diff --git a/B4A/B4XMainPage.bas b/B4A/B4XMainPage.bas index d186df4..be2986e 100644 --- a/B4A/B4XMainPage.bas +++ b/B4A/B4XMainPage.bas @@ -38,8 +38,11 @@ Sub Class_Globals Public pedidos As C_Pedidos Public promos As C_Promos Public historico As C_Historico + Public Clientes_Completos As C_ClientesCompletos + Public Tclientes As V_Tclientes Public historicobat As C_historicobat + Dim reqManager As DBRequestManager Dim v As String = Application.VersionName Dim ruta As String @@ -143,9 +146,17 @@ Private Sub B4XPage_Created (Root1 As B4XView) B4XPages.AddPage("Promos", promos) historico.Initialize B4XPages.AddPage("Historico", historico) + historicobat.Initialize B4XPages.AddPage("historicobat", historicobat) + Clientes_Completos.Initialize + B4XPages.AddPage("Clientes_Completos", Clientes_Completos) + + Tclientes.Initialize + B4XPages.AddPage("Tclientes", Tclientes) + + p_Main.Height = Root.Height p_Main.Width = Root.Width @@ -171,6 +182,10 @@ Private Sub B4XPage_Created (Root1 As B4XView) skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_OBJETIVO_BAT (COB_VOLUMEN TEXT, COB_MARCAE TEXT, COB_PORTAFOLIO TEXT, COB_OBJPP TEXT, COB_GEV TEXT )") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_CATCLIENTESTODOS (CAT_CL_TIPO_RUTA TEXT, CAT_CL_DIAS_VISITA TEXT, CAT_CL_CODIGO TEXT, CAT_CL_FOTO TEXT, CAT_CL_CLASIFICADOR3 TEXT, CAT_CL_CLASIFICADOR4 TEXT, CAT_CL_CLASIFICADOR2 TEXT, CAT_CL_RUTA TEXT, CAT_CL_NOMBRE TEXT, CAT_CL_ATIENDE1 TEXT, CAT_CL_ATIENTE2 TEXT, CAT_CL_TELEFONO TEXT, CAT_CL_EMAIL TEXT, CAT_CL_CALLE TEXT, CAT_CL_NOEXT TEXT, CAT_CL_NOINT TEXT, CAT_CL_CALLE1 TEXT, CAT_CL_CALLE2 TEXT, CAT_CL_COLONIA TEXT, CAT_CL_MUNI TEXT, CAT_CL_EDO TEXT, CAT_CL_CP TEXT, CAT_CL_LONG TEXT, CAT_CL_LAT TEXT, CAT_CL_MTOCOMPRA TEXT, CAT_CL_NUM_SERIEFISICO TEXT, CAT_CL_BCREDITO TEXT, CAT_CL_DIASCREDITO TEXT, CAT_CL_TIPOCLIENTE TEXT, CAT_CL_LIMITECREDITO TEXT)") + + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS hist_ventastodos (HVD_CLIENTE TEX, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT, HVD_FECHA TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)") skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)") skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_PROMOS_DESCUENTOS (CAT_PD_ALMACEN TEXT, CAT_PD_COD_PROMO TEXT, CAT_PD_RANGO INT, CAT_PD_VIGENCIA TEXT, CAT_PD_DESCUENTO TEXT, CAT_PD_PRODUCTO TEXT, CAT_PD_TIER TEXT)") diff --git a/B4A/C_ClientesCompletos.bas b/B4A/C_ClientesCompletos.bas new file mode 100644 index 0000000..975fdfc --- /dev/null +++ b/B4A/C_ClientesCompletos.bas @@ -0,0 +1,79 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.8 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim q_buscar As String + Dim c2 As Cursor + Dim ListView1 As ListView + Dim lfila As Label + Private BUSCA As EditText + Dim STIME As String + Dim S As Cursor +End Sub + +'You can add more parameters here. +Public Sub Initialize As Object + Return Me +End Sub + +'This event will be called once, before the page becomes visible. +Private Sub B4XPage_Created (Root1 As B4XView) + Root = Root1 + 'load the layout to Root + + Root.LoadLayout("Clientes_completos") +End Sub + +Sub BUSCA_TextChanged (Old As String, New As String) + If New = "" Then + ListView1.Clear + Else + q_buscar = "%" & BUSCA.Text & "%" + c2=B4XPages.MainPage.skmt.ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from CAT_CATCLIENTESTODOS where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?) order by CAT_CL_NOMBRE ", Array As String(q_buscar,q_buscar,q_buscar)) + ListView1.Clear + Subs.SetDivider(ListView1, Colors.White, 2) + lfila.text = "Nombre y Calle" + If c2.RowCount>0 Then + For i=0 To c2.RowCount -1 + c2.Position=i + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 20 + label1.TextColor = Colors.White + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 20 + label2.TextColor = Colors.White + label1.Height = 25dip + label2.Height = 60dip + + ListView1.TwoLinesLayout.ItemHeight = 95dip + label1.Typeface = Typeface.CreateNew(Typeface.DEFAULT_BOLD, Typeface.STYLE_BOLD) + label2.Typeface = Typeface.CreateNew(Typeface.DEFAULT_BOLD, Typeface.STYLE_BOLD) + ListView1.AddTwoLines(c2.GetString("CAT_CL_CODIGO"), c2.GetString("CAT_CL_NOMBRE")& CRLF &"CALLE: "& c2.GetString("CAT_CL_CALLE")) + Next + End If +' entro = "4" + c2.Close + End If +End Sub + +Sub ListView1_ItemClick (Position As Int, Value As Object) + + B4XPages.MainPage.skmt.ExecNonQuery("delete from CUENTAA") + Log(Value) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(Value)) +' DateTime.TimeFormat = "HHmmss" +' STIME=DateTime.Time(DateTime.Now) + + + B4XPages.ShowPage("Tclientes") + +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. \ No newline at end of file diff --git a/B4A/C_Principal.bas b/B4A/C_Principal.bas index 0bcdd2c..e7e038d 100644 --- a/B4A/C_Principal.bas +++ b/B4A/C_Principal.bas @@ -262,6 +262,7 @@ Sub Class_Globals Private l_visitas As Label Private l_visitartotal As Label Private de As Label + Private B_traec As Button End Sub 'You can add more parameters here. @@ -1268,6 +1269,8 @@ Sub cargar_Click B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_MARCAS_CUOTAS") B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_ENCUESTA_CLIENTE") B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM CAT_ENCUESTA_PREGUNTA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM CAT_CATCLIENTESTODOS") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM hist_ventastodos") c = B4XPages.MainPage.skmt.ExecQuery2("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ", Array As String("HoraIngreso")) c.Position = 0 @@ -1444,6 +1447,16 @@ Sub cargar_Click cmd.Name = "select_cat_encuesta_p_GUNA" cmd.Parameters = Array As Object( ALMACEN,e_ruta.text ) B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0, "carga_encuesta") + + cmd.Initialize + cmd.Name = "select_cat_clientes_guna_todos" + cmd.Parameters = Array As Object( e_ruta.text,ALMACEN ) + B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0, "kmt_CAT_CATCLIENTESTODOS") + + cmd.Initialize + cmd.Name = "select_hist_ventastodos_guna" + cmd.Parameters = Array As Object( e_ruta.text,ALMACEN,e_ruta.text,ALMACEN) + B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0, "hist_ventastodos") ' cmd.Initialize ' cmd.Name = "SELECT_HIST_ENCUESTA_GUNA" @@ -1616,7 +1629,7 @@ Sub JobDone(Job As HttpJob) If n = "OKActivo" Then Dim cmd As DBCommand cmd.Initialize - cmd.Name = "select_ruta_GV2_70_13" + cmd.Name = "select_ruta_GV2_70_14" cmd.Parameters = Array As Object(ALMACEN,e_ruta.text, usuario) B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0, "ruta") 'Log("Usuario guardado en BD es 'Valido'") @@ -1849,6 +1862,56 @@ Sub JobDone(Job As HttpJob) End If End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = B4XPages.MainPage.reqManager.HandleJob(Job) + If RESULT.Tag = "kmt_CAT_CATCLIENTESTODOS" Then 'query tag + + For Each records() As Object In RESULT.Rows + Dim CAT_CL_TIPO_RUTA As String = records(RESULT.Columns.Get("CAT_CL_TIPO_RUTA")) + Dim CAT_CL_DIAS_VISITA As String = records(RESULT.Columns.Get("CAT_CL_DIAS_VISITA")) + Dim CAT_CL_CODIGO As String = records(RESULT.Columns.Get("CAT_CL_CODIGO")) +' Dim CAT_CL_FOTO As String = records(RESULT.Columns.Get("CAT_CL_FOTO")) + Dim CAT_CL_CLASIFICADOR3 As String = records(RESULT.Columns.Get("CAT_CL_CLASIFICADOR3")) + Dim CAT_CL_CLASIFICADOR4 As String = records(RESULT.Columns.Get("CAT_CL_CLASIFICADOR4")) + Dim CAT_CL_CLASIFICADOR2 As String = records(RESULT.Columns.Get("CAT_CL_CLASIFICADOR2")) + Dim CAT_CL_RUTA As String = records(RESULT.Columns.Get("CAT_CL_RUTA")) + Dim CAT_CL_NOMBRE As String = records(RESULT.Columns.Get("CAT_CL_NOMBRE")) + Dim CAT_CL_ATIENDE1 As String = records(RESULT.Columns.Get("CAT_CL_ATIENDE1")) + Dim CAT_CL_ATIENTE2 As String = records(RESULT.Columns.Get("CAT_CL_ATIENTE2")) + Dim CAT_CL_TELEFONO As String = records(RESULT.Columns.Get("CAT_CL_TELEFONO")) + Dim CAT_CL_EMAIL As String = records(RESULT.Columns.Get("CAT_CL_EMAIL")) + Dim CAT_CL_CALLE As String = records(RESULT.Columns.Get("CAT_CL_CALLE")) + Dim CAT_CL_NOEXT As String = records(RESULT.Columns.Get("CAT_CL_NOEXT")) + Dim CAT_CL_NOINT As String = records(RESULT.Columns.Get("CAT_CL_NOINT")) + Dim CAT_CL_CALLE1 As String = records(RESULT.Columns.Get("CAT_CL_CALLE1")) + Dim CAT_CL_CALLE2 As String = records(RESULT.Columns.Get("CAT_CL_CALLE2")) + Dim CAT_CL_COLONIA As String = records(RESULT.Columns.Get("CAT_CL_COLONIA")) + Dim CAT_CL_MUNI As String = records(RESULT.Columns.Get("CAT_CL_MUNI")) + Dim CAT_CL_EDO As String = records(RESULT.Columns.Get("CAT_CL_EDO")) + Dim CAT_CL_CP As String = records(RESULT.Columns.Get("CAT_CL_CP")) + Dim CAT_CL_LONG As String = records(RESULT.Columns.Get("CAT_CL_LONG")) + Dim CAT_CL_LAT As String = records(RESULT.Columns.Get("CAT_CL_LAT")) + Dim CAT_CL_MTOCOMPRA As String = records(RESULT.Columns.Get("CAT_CL_MTOCOMPRA")) + Dim CAT_CL_NUM_SERIEFISICO As String = records(RESULT.Columns.Get("CAT_CL_NUM_SERIEFISICO")) + Dim CAT_CL_BCREDITO As String = records(RESULT.Columns.Get("CAT_CL_BCREDITO")) + Dim CAT_CL_DIASCREDITO As String = records(RESULT.Columns.Get("CAT_CL_DIASCREDITO")) + Dim CAT_CL_TIPOCLIENTE As String = records(RESULT.Columns.Get("CAT_CL_TIPOCLIENTE")) + Dim CAT_CL_LIMITECREDITO As String = records(RESULT.Columns.Get("CAT_CL_LIMITECREDITO")) + + + + '########################## INICIA CODIGO PARA CREDITOS #################### + Dim CAT_CL_BCREDITO As String = records(RESULT.Columns.Get("CAT_CL_BCREDITO")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_CATCLIENTESTODOS(CAT_CL_TIPO_RUTA,CAT_CL_DIAS_VISITA,CAT_CL_CODIGO,CAT_CL_FOTO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR4,CAT_CL_CLASIFICADOR2,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,CAT_CL_BCREDITO,CAT_CL_DIASCREDITO,CAT_CL_TIPOCLIENTE,CAT_CL_LIMITECREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", Array As Object (CAT_CL_TIPO_RUTA, CAT_CL_DIAS_VISITA, CAT_CL_CODIGO, CAT_CL_FOTO, CAT_CL_CLASIFICADOR3, CAT_CL_CLASIFICADOR4, CAT_CL_CLASIFICADOR2, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_ATIENDE1, CAT_CL_ATIENTE2, CAT_CL_TELEFONO, CAT_CL_EMAIL, CAT_CL_CALLE, CAT_CL_NOEXT, CAT_CL_NOINT, CAT_CL_CALLE1, CAT_CL_CALLE2, CAT_CL_COLONIA, CAT_CL_MUNI, CAT_CL_EDO, CAT_CL_CP, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_MTOCOMPRA, CAT_CL_NUM_SERIEFISICO, CAT_CL_BCREDITO, CAT_CL_DIASCREDITO, CAT_CL_TIPOCLIENTE, CAT_CL_LIMITECREDITO)) + '########################## TERMINA CODIGO PARA CREDITOS #################### + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)", Array As Object (CAT_CL_CODIGO)) + Next +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO kmt_cat_clientestodos(CAT_CL_TIPO_RUTA,CAT_CL_DIAS_VISITA,CAT_CL_CODIGO,CAT_CL_FOTO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR4,CAT_CL_CLASIFICADOR2,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,CAT_CL_BCREDITO,CAT_CL_DIASCREDITO,CAT_CL_TIPOCLIENTE,CAT_CL_LIMITECREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", Array As Object (CAT_CL_TIPO_RUTA, CAT_CL_DIAS_VISITA, CAT_CL_CODIGO, CAT_CL_FOTO, CAT_CL_CLASIFICADOR3, CAT_CL_CLASIFICADOR4, CAT_CL_CLASIFICADOR2, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_ATIENDE1, CAT_CL_ATIENTE2, CAT_CL_TELEFONO, CAT_CL_EMAIL, CAT_CL_CALLE, CAT_CL_NOEXT, CAT_CL_NOINT, CAT_CL_CALLE1, CAT_CL_CALLE2, CAT_CL_COLONIA, CAT_CL_MUNI, CAT_CL_EDO, CAT_CL_CP, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_MTOCOMPRA, CAT_CL_NUM_SERIEFISICO, CAT_CL_BCREDITO, CAT_CL_DIASCREDITO, CAT_CL_TIPOCLIENTE, CAT_CL_LIMITECREDITO)) + + End If + End If + If Job.JobName = "DBRequest" Then Dim RESULT As DBResult = B4XPages.MainPage.reqManager.HandleJob(Job) If RESULT.Tag = "kmt_datos2" Then 'query tag @@ -2464,6 +2527,24 @@ Sub JobDone(Job As HttpJob) End If End If + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = B4XPages.MainPage.reqManager.HandleJob(Job) + If RESULT.Tag = "hist_ventastodos" Then 'query tag + + For Each records() As Object In RESULT.Rows +' Log ("NO HACE NADA") + Dim HVD_CLIENTE As String = records(RESULT.Columns.Get("HVD_CLIENTE")) + Dim HVD_PRONOMBRE As String = records(RESULT.Columns.Get("HVD_PRONOMBRE")) + Dim HVD_CANT As String = records(RESULT.Columns.Get("HVD_CANT")) + Dim HVD_COSTO_TOT As String = records(RESULT.Columns.Get("HVD_COSTO_TOT")) + Dim HVD_FECHA As String = records(RESULT.Columns.Get("HVD_FECHA")) + Log(HVD_CLIENTE&"--"&HVD_PRONOMBRE&"--"&HVD_CANT&"--"&HVD_COSTO_TOT) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO hist_ventastodos(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA) VALUES (?,?,?,?,?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA)) + Next + + End If + End If + If Job.JobName = "DBRequest" Then Dim RESULT As DBResult = B4XPages.MainPage.reqManager.HandleJob(Job) If RESULT.Tag = "variables" Then 'query tag @@ -3917,6 +3998,10 @@ Private Sub b_resdia_Click resdia_Click End Sub +Private Sub B_traec_click + B4XPages.ShowPage("Clientes_Completos") +End Sub + Sub checaPedido Private c As Cursor = Starter.skmt.ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE") If c.RowCount > 0 Then diff --git a/B4A/Files/cliente.bal b/B4A/Files/cliente.bal index 830ec05..0e26b1b 100644 Binary files a/B4A/Files/cliente.bal and b/B4A/Files/cliente.bal differ diff --git a/B4A/Files/clientes.bal b/B4A/Files/clientes.bal index 75e1c6a..580855a 100644 Binary files a/B4A/Files/clientes.bal and b/B4A/Files/clientes.bal differ diff --git a/B4A/Files/clientes_completos.bal b/B4A/Files/clientes_completos.bal new file mode 100644 index 0000000..54d52a2 Binary files /dev/null and b/B4A/Files/clientes_completos.bal differ diff --git a/B4A/Files/principal.bal b/B4A/Files/principal.bal index bb78c38..65dc92c 100644 Binary files a/B4A/Files/principal.bal and b/B4A/Files/principal.bal differ diff --git a/B4A/Files/vista_todoslosclientes.bal b/B4A/Files/vista_todoslosclientes.bal new file mode 100644 index 0000000..465723a Binary files /dev/null and b/B4A/Files/vista_todoslosclientes.bal differ diff --git a/B4A/Guna Vistas V3.1.b4a b/B4A/Guna Vistas V3.1.b4a index 48f5500..d4760f6 100644 --- a/B4A/Guna Vistas V3.1.b4a +++ b/B4A/Guna Vistas V3.1.b4a @@ -1,115 +1,117 @@ Build1=Default,gunav2.keymon.com.mx File1=alert2.png File10=clientes.bal -File100=salma.png -File101=seleccion.bal -File102=senial.jpg -File103=sync.png -File104=tache_rojo.png -File105=telefonos.bal -File106=Ticket dia.jpg -File107=ticketdia20.png -File108=ticketsdia.bal -File109=Tiendita.jpg -File11=comis.bal -File110=usuario.png -File111=verde.png -File12=contrasena.png -File13=datoscliente.bal -File14=detalle_promo.bal -File15=durakelo.png -File16=durakelo1.png -File17=ENCUESSTA_M3.bal -File18=ENCUESTA.bal -File19=ENCUESTA_M4.bal +File100=salma.jpg +File101=salma.png +File102=seleccion.bal +File103=senial.jpg +File104=sync.png +File105=tache_rojo.png +File106=telefonos.bal +File107=Ticket dia.jpg +File108=ticketdia20.png +File109=ticketsdia.bal +File11=Clientes_Completos.bal +File110=Tiendita.jpg +File111=usuario.png +File112=verde.png +File113=Vista_todoslosclientes.bal +File12=comis.bal +File13=contrasena.png +File14=datoscliente.bal +File15=detalle_promo.bal +File16=durakelo.png +File17=durakelo1.png +File18=ENCUESSTA_M3.bal +File19=ENCUESTA.bal File2=alerta.jpg -File20=ENCUESTA_M5.bal -File21=ENCUESTA_PED.bal -File22=engrane.jpg -File23=engrane.png -File24=engrane18.png -File25=engraneactual.png -File26=errormanager.bal -File27=ESNCUESTA_M2.bal -File28=fondo_kmt.jpg -File29=fondo-rojo.jpg +File20=ENCUESTA_M4.bal +File21=ENCUESTA_M5.bal +File22=ENCUESTA_PED.bal +File23=engrane.jpg +File24=engrane.png +File25=engrane18.png +File26=engraneactual.png +File27=errormanager.bal +File28=ESNCUESTA_M2.bal +File29=fondo_kmt.jpg File3=alerta_amarilla.png -File30=fondo-rojo.png -File31=foto.bal -File32=gps20.png -File33=guardagestion.bal -File34=guna.png -File35=guna_192x192.jpg -File36=guna_viejo.png -File37=guna18.png -File38=guna-fondo.jpg -File39=guna-fondo.png +File30=fondo-rojo.jpg +File31=fondo-rojo.png +File32=foto.bal +File33=gps20.png +File34=guardagestion.bal +File35=guna.png +File36=guna_192x192.jpg +File37=guna_viejo.png +File38=guna18.png +File39=guna-fondo.jpg File4=amarillo.png -File40=Hacer pedido.jpg -File41=hacerpedido30.png -File42=historicobat.bal -File43=historicobat2.bal -File44=ic_cloud_download_white_24dp.png -File45=images.png -File46=infonavit1.jpg -File47=inicioFinVenta.bal -File48=intmex_logo_192x192.jpg -File49=itembuttonblue.png +File40=guna-fondo.png +File41=Hacer pedido.jpg +File42=hacerpedido30.png +File43=historicobat.bal +File44=historicobat2.bal +File45=ic_cloud_download_white_24dp.png +File46=images.png +File47=infonavit1.jpg +File48=inicioFinVenta.bal +File49=intmex_logo_192x192.jpg File5=anterior.jpg -File50=keymon_logo.png -File51=kmt.db -File52=login.bal -File53=Logo Guna_192x192.png -File54=Logo Guna-01.png -File55=logo sanfer.jpg -File56=Logo_192x192.jpg -File57=logo_exitus1.jpg -File58=logo-guna-18.png -File59=logo-guna-contorno.png +File50=itembuttonblue.png +File51=keymon_logo.png +File52=kmt.db +File53=login.bal +File54=Logo Guna_192x192.png +File55=Logo Guna-01.png +File56=logo sanfer.jpg +File57=Logo_192x192.jpg +File58=logo_exitus1.jpg +File59=logo-guna-18.png File6=bus-ar.png -File60=MainPage.bal -File61=Malo.jpg -File62=mapa.bal -File63=mapa_rutas.bal -File64=maparutas.bal -File65=mas-azul.png -File66=mas-azul-red.png -File67=mas-azul-red1.png -File68=menos.png -File69=menosred.png +File60=logo-guna-contorno.png +File61=MainPage.bal +File62=Malo.jpg +File63=mapa.bal +File64=mapa_rutas.bal +File65=maparutas.bal +File66=mas-azul.png +File67=mas-azul-red.png +File68=mas-azul-red1.png +File69=menos.png File7=carrito.png -File70=menos-red.png -File71=nota (conflict 2022-07-08-00-16-40).bal -File72=nota.bal -File73=nota2.bal -File74=noventa.bal -File75=nuevocliente.bal -File76=nuevo-cliente20.png -File77=Nvo Cliente.jpg -File78=p&g.png -File79=palomita_verde.png +File70=menosred.png +File71=menos-red.png +File72=nota (conflict 2022-07-08-00-16-40).bal +File73=nota.bal +File74=nota2.bal +File75=noventa.bal +File76=nuevocliente.bal +File77=nuevo-cliente20.png +File78=Nvo Cliente.jpg +File79=p&g.png File8=celltitle.bal -File80=Panel_Nuevocliente.bal -File81=pedido.bal -File82=planfia_logo.png -File83=planfia_logo_old.png -File84=planfia_logo_old2.png -File85=principal.bal -File86=proditem.bal -File87=proditem1.bal -File88=proditem2.bal -File89=productos.bal +File80=palomita_verde.png +File81=Panel_Nuevocliente.bal +File82=pedido.bal +File83=planfia_logo.png +File84=planfia_logo_old.png +File85=planfia_logo_old2.png +File86=principal.bal +File87=proditem.bal +File88=proditem1.bal +File89=proditem2.bal File9=cliente.bal -File90=productos_.bal -File91=promociones.bal -File92=qr.bal -File93=qr_gallina.jpg -File94=QRPlanLealtad.png -File95=resdia.bal -File96=ResDia.jpg -File97=resdia20.png -File98=rojo.png -File99=salma.jpg +File90=productos.bal +File91=productos_.bal +File92=promociones.bal +File93=qr.bal +File94=qr_gallina.jpg +File95=QRPlanLealtad.png +File96=resdia.bal +File97=ResDia.jpg +File98=resdia20.png +File99=rojo.png FileGroup1=Default Group FileGroup10=Default Group FileGroup100=Default Group @@ -125,6 +127,8 @@ FileGroup109=Default Group FileGroup11=Default Group FileGroup110=Default Group FileGroup111=Default Group +FileGroup112=Default Group +FileGroup113=Default Group FileGroup12=Default Group FileGroup13=Default Group FileGroup14=Default Group @@ -260,43 +264,45 @@ Library8=clipboard Library9=compressstrings ManifestCode='This code will be applied to the manifest file during compilation.~\n~'You do not need to modify it in most cases.~\n~'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136~\n~AddManifestText(~\n~~\n~)~\n~SetApplicationAttribute(android:icon, "@drawable/icon")~\n~SetApplicationAttribute(android:label, "$LABEL$")~\n~CreateResourceFromFile(Macro, Themes.LightTheme)~\n~AddApplicationText(~\n~)~\n~CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)~\n~ 'End of default text.~\n~ ~\n~ ''''' CAMBIA LA CLAVE API~\n~AddApplicationText(~\n~~\n~ ~\n~)~\n~AddApplicationText(~\n~~\n~)~\n~AddManifestText(~\n~~\n~)~\n~~\n~''CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)~\n~ 'End of default text.~\n~ ~\n~SetApplicationAttribute(android:usesCleartextTraffic, "true")~\n~ AddManifestText(~\n~~\n~)~\n~AddPermission(android.permission.ACCESS_BACKGROUND_LOCATION)~\n~AddManifestText(~\n~~\n~)~\n~AddManifestText(~\n~~\n~) 'in order to access the device non-resettable identifiers such as IMEI and serial number.~\n~~\n~'///////////////////////// FLP Y PUSH /////////////~\n~ CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)~\n~ CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)~\n~ CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics)~\n~ CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)~\n~ SetServiceAttribute(Tracker, android:foregroundServiceType, "location")~\n~'//////////////////////////////////////////////////////~\n~~\n~'/////////////////////// App Updating ////////////////~\n~ AddManifestText(~\n~ )~\n~ AddApplicationText(~\n~ ~\n~ ~\n~ ~\n~ )~\n~ CreateResource(xml, provider_paths,~\n~ ~\n~ ~\n~ ~\n~ ~\n~ ~\n~ )~\n~AddManifestText()~\n~AddManifestText()~\n~AddManifestText()~\n~AddManifestText()~\n~~\n~AddPermission(android.permission.REQUEST_INSTALL_PACKAGES)~\n~AddPermission(android.permission.INTERNET)~\n~AddPermission(android.permission.INSTALL_PACKAGES)~\n~AddPermission(android.permission.READ_EXTERNAL_STORAGE)~\n~AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)~\n~AddPermission(android.permission.READ_PHONE_STATE)~\n~AddPermission(android.permission.WAKE_LOCK)~\n~CreateResourceFromFile(Macro, JhsIceZxing1.CaturePortrait)~\n~ ~\n~SetApplicationAttribute(android:largeHeap, "true")~\n~SetApplicationAttribute(android:allowBackup, "false")~\n~AddPermission(android.permission.BLUETOOTH_ADVERTISE)~\n~AddPermission(android.permission.BLUETOOTH_CONNECT)~\n~AddPermission(android.permission.BLUETOOTH_SCAN)~\n~AddManifestText(~\n~ ~\n~ )~\n~AddManifestText()~\n~~\n~AddManifestText(~\n~ ~\n~ )~\n~ AddPermission(android.permission.MANAGE_EXTERNAL_STORAGE)~\n~ SetApplicationAttribute(android:allowBackup, "false")~\n~ ~\n~ ~\n~ AddManifestText(~\n~ )~\n~ AddPermission(android.permission.READ_EXTERNAL_STORAGE)~\n~~\n~ 'Para que se registre para abrir bases de datos~\n~' AddActivityText(main,~\n~'~\n~'~\n~'~\n~'~\n~')~\n~~\n~ 'Para que se registre para abrir bases de datos~\n~ AddActivityText(main,~\n~~\n~~\n~~\n~~\n~~\n~)~\n~AddPermission(android.permission.CALL_PHONE)~\n~AddPermission(android.permission.READ_EXTERNAL_STORAGE)~\n~AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)~\n~AddPermission("android.permission.MANAGE_EXTERNAL_STORAGE")~\n~AddPermission(android.permission.READ_PHONE_STATE)~\n~ Module1=appUpdater -Module10=C_historicobat -Module11=C_Mapas -Module12=C_Nota -Module13=C_NoVenta -Module14=C_NuevoCliente -Module15=C_Pedidos -Module16=C_Principal -Module17=C_Productos -Module18=C_Promos -Module19=C_TicketsDia +Module10=C_Historico2 +Module11=C_historicobat +Module12=C_Mapas +Module13=C_Nota +Module14=C_NoVenta +Module15=C_NuevoCliente +Module16=C_Pedidos +Module17=C_Principal +Module18=C_Productos +Module19=C_Promos Module2=B4XMainPage -Module20=C_UpdateAvailable -Module21=CameraExClass -Module22=cPDF -Module23=DBRequestManager -Module24=EscPosPrinter -Module25=FirebaseMessaging -Module26=MAPA_RUTAS -Module27=Starter -Module28=Subs -Module29=Tracker +Module20=C_TicketsDia +Module21=C_UpdateAvailable +Module22=CameraExClass +Module23=cPDF +Module24=DBRequestManager +Module25=EscPosPrinter +Module26=FirebaseMessaging +Module27=MAPA_RUTAS +Module28=Starter +Module29=Subs Module3=BatteryUtilities +Module30=Tracker +Module31=V_Tclientes Module4=C_Bitacora Module5=C_Cliente Module6=C_Clientes -Module7=C_Cuestionario -Module8=C_Historico -Module9=C_Historico2 -NumberOfFiles=111 +Module7=C_ClientesCompletos +Module8=C_Cuestionario +Module9=C_Historico +NumberOfFiles=113 NumberOfLibraries=36 -NumberOfModules=29 +NumberOfModules=31 Version=12.8 @EndOfDesignText@ #Region Project Attributes #ApplicationLabel: Guna Preventa #VersionCode: 1 - #VersionName: 6.02.13 + #VersionName: 6.02.14 'SupportedOrientations possible values: unspecified, landscape or portrait. #SupportedOrientations: portrait #CanInstallToExternalStorage: False diff --git a/B4A/Guna Vistas V3.1.b4a.meta b/B4A/Guna Vistas V3.1.b4a.meta index 15b1f2a..640ef79 100644 --- a/B4A/Guna Vistas V3.1.b4a.meta +++ b/B4A/Guna Vistas V3.1.b4a.meta @@ -22,6 +22,8 @@ ModuleBookmarks27= ModuleBookmarks28= ModuleBookmarks29= ModuleBookmarks3= +ModuleBookmarks30= +ModuleBookmarks31= ModuleBookmarks4= ModuleBookmarks5=7767 ModuleBookmarks6= @@ -52,6 +54,8 @@ ModuleBreakpoints27= ModuleBreakpoints28= ModuleBreakpoints29= ModuleBreakpoints3= +ModuleBreakpoints30= +ModuleBreakpoints31= ModuleBreakpoints4= ModuleBreakpoints5= ModuleBreakpoints6= @@ -71,23 +75,25 @@ ModuleClosedNodes17= ModuleClosedNodes18= ModuleClosedNodes19= ModuleClosedNodes2= -ModuleClosedNodes20=4 -ModuleClosedNodes21= +ModuleClosedNodes20= +ModuleClosedNodes21=4 ModuleClosedNodes22= ModuleClosedNodes23= ModuleClosedNodes24= ModuleClosedNodes25= ModuleClosedNodes26= -ModuleClosedNodes27=3,4,8,9 -ModuleClosedNodes28= -ModuleClosedNodes29=20 +ModuleClosedNodes27= +ModuleClosedNodes28=4,8,9 +ModuleClosedNodes29= ModuleClosedNodes3= +ModuleClosedNodes30=20 +ModuleClosedNodes31= ModuleClosedNodes4= ModuleClosedNodes5= ModuleClosedNodes6= -ModuleClosedNodes7=6,8,9,10,11 -ModuleClosedNodes8= +ModuleClosedNodes7= +ModuleClosedNodes8=6,8,9,10,11 ModuleClosedNodes9= -NavigationStack=Diseñador Visual,principal.bal,-100,2,C_Cliente,Class_Globals,463,0,C_Principal,e_ruta_EnterPressed,2929,0,B4XMainPage,B4XPage_Created,165,0,C_Principal,cargar_Click,1330,1,C_NuevoCliente,B4XPage_Appear,248,0,Diseñador Visual,resdia.bal,-100,6,C_Principal,resdia_Click,3218,6,C_Principal,connecta_Click,2833,0,C_Principal,JobDone,1598,0 +NavigationStack=Subs,pedidoGuardado,709,0,V_Tclientes,B4XPage_Created,24,0,C_Cliente,B4XPage_Appear,1083,0,Diseñador Visual,celltitle.bal,-100,1,Diseñador Visual,Clientes_Completos.bal,-100,2,Diseñador Visual,cliente.bal,-100,4,Diseñador Visual,clientes.bal,-100,4,V_Tclientes,Class_Globals,13,1,Diseñador Visual,Vista_todoslosclientes.bal,-100,6,V_Tclientes,B4XPage_Appear,31,6 SelectedBuild=0 -VisibleModules=27,2,16,28,5,13,17,19,4,1,14 +VisibleModules=28,2,17,29,5,14,18,20,4,1,31 diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml index 2721337..febf83e 100644 --- a/B4A/Objects/AndroidManifest.xml +++ b/B4A/Objects/AndroidManifest.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" package="gunav2.keymon.com.mx" android:versionCode="1" - android:versionName="6.02.13" + android:versionName="6.02.14" android:installLocation="internalOnly"> @@ -64,11 +64,11 @@ + - @@ -265,6 +265,18 @@ android:name=".appupdater$appupdater_BR" android:exported="true"> + + + + + + + @@ -281,18 +293,6 @@ android:screenOrientation="portrait" android:exported="true"> - - - - - - - diff --git a/B4A/Objects/AppGunaBat.apk b/B4A/Objects/AppGunaBat.apk deleted file mode 100644 index f55dd57..0000000 Binary files a/B4A/Objects/AppGunaBat.apk and /dev/null differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/animatedcounter.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/animatedcounter.class index 2027a44..8f05633 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/animatedcounter.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/animatedcounter.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class index 033c1c6..d46518a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/anotherprogressbar.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/anotherprogressbar.class index e7bcca8..9f0e365 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/anotherprogressbar.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/anotherprogressbar.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$ResumableSub_Service_Start.class index 828951e..ec433df 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$ResumableSub_Service_Start.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$ResumableSub_download_newApk.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$ResumableSub_download_newApk.class index 1060be8..3907983 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$ResumableSub_download_newApk.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$_mnewversion.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$_mnewversion.class index 37f78a9..fcaa152 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$_mnewversion.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$_mnewversion.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$appupdater_BR.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$appupdater_BR.class index cd56f78..54cecc4 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$appupdater_BR.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater$appupdater_BR.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater.class index 7a7c600..2bf42f0 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/appupdater.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbitset.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbitset.class index 9393611..0b47730 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbitset.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbitset.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb.class index bb9baa9..ab8f6d0 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder.class index 6573634..bd9a178 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcache$_b4xcacheitem.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcache$_b4xcacheitem.class index e97f207..29bce57 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcache$_b4xcacheitem.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcache$_b4xcacheitem.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcache.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcache.class index 155501c..f3746a5 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcache.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcache.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcollections.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcollections.class index c46b01c..f2482a7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcollections.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcollections.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class index eb97b11..e3fa1f7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class index b198dfa..58e4f7a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate.class index 582af3b..c30b47f 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class index a1ae371..71bf842 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcombobox.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcombobox.class index 8c419e2..f62a6ec 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcombobox.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcombobox.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort.class index bdfbdaf..b18ff4e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class index bdc32df..81a949f 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate.class index ba5ef7b..4b35f0a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_Show.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_Show.class index 75e6394..7bfd720 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_Show.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class index a4b0ee9..4a7d287 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class index 310d2e5..1d70b10 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog.class index 50bcd93..d0f81dc 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xdialog.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class index 74cdb71..3db0010 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield.class index 044708b..8c04965 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xformatter$_b4xformatdata.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xformatter$_b4xformatdata.class index a6adc38..bf493d9 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xformatter$_b4xformatdata.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xformatter$_b4xformatdata.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xformatter.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xformatter.class index eb11528..0f27dc0 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xformatter.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xformatter.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4ximageview.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4ximageview.class index af7e48f..14d0278 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4ximageview.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4ximageview.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class index a9af7d6..f15d579 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate.class index 4ea3dd0..30ed591 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class index f4e5226..3c4afec 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate.class index 291ce8e..6118258 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class index af0b73d..5a85bcf 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator.class index 1aaa75c..cfd977c 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate.class index 1d46e4c..562f976 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class index 5b82ddf..68b6537 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class index 069d361..3399b5a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class index f59ebbd..52adc01 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class index 5e4a3b8..36adfa4 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_revisaActualizacion.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_revisaActualizacion.class index 8a5396c..f01eedc 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_revisaActualizacion.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_revisaActualizacion.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage.class index 5b46b4a..4fcc6f7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xmainpage.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xorderedmap.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xorderedmap.class index 905679a..aba2f99 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xorderedmap.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xorderedmap.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpages.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpages.class index d37c408..a433ecb 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpages.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpages.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator.class index 1509289..925b29a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class index f9ae1c0..410f58e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class index c3d5bf4..6d0a1be 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class index d4d4250..cbf3456 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class index 0299ddd..f2b4b4e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class index 9a0d75b..486cbfa 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager.class index b5d8ed2..01a3866 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class index e9ea894..f0bf3bc 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xplusminus.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xplusminus.class index 78a10c5..471579a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xplusminus.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xplusminus.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class index 7c63d58..8a01c6e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xradiobutton.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xradiobutton.class index e6217f9..efad04a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xradiobutton.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xradiobutton.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class index be6cbd9..fcd1388 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate.class index 25c5b66..27f3228 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xseekbar.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xseekbar.class index 069f553..8ef2eff 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xseekbar.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xseekbar.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xset.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xset.class index 74b717d..b5c3154 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xset.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xset.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate.class index d3d6dea..83583ca 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class index ef15bf5..187a484 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xswitch.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xswitch.class index bbf7d1d..51304ed 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xswitch.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xswitch.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class index d576f73..72c8f84 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate.class index 6572ad4..c40c512 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/batteryutilities.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/batteryutilities.class index 63e724f..5a25466 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/batteryutilities.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/batteryutilities.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_bitacora.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_bitacora.class index be69a62..fc22ea7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_bitacora.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_bitacora.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Appear.class index f961673..6fa89ef 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class index 23feaa8..fcc9222 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B_IMP_Click.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B_IMP_Click.class index cff754e..0fa95fc 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B_IMP_Click.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_B_IMP_Click.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Cuestionario.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Cuestionario.class index 8b50417..b14309a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Cuestionario.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Cuestionario.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.class index d226d6f..eb8ffd2 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.class index 0966b49..92b59b2 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion.class index 48f1786..c55ecfb 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion2.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion2.class index 4d01990..5f64b12 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion2.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion2.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion3.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion3.class index 9636c46..78306a5 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion3.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion3.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion4.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion4.class index b7db9bd..f7720c0 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion4.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion4.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion5.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion5.class index a80187f..6b19656 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion5.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion5.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera2.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera2.class index b748b69..0bc7f3b 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera2.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera2.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_MejorarPrecisionGPS.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_MejorarPrecisionGPS.class index c02e38c..16a7d0f 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_MejorarPrecisionGPS.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_MejorarPrecisionGPS.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_envioPDF_Click.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_envioPDF_Click.class index 4e0403c..957851c 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_envioPDF_Click.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_envioPDF_Click.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_preventa2_Click.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_preventa2_Click.class index 2cb2a51..049a1eb 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_preventa2_Click.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_preventa2_Click.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_enviaTicket.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_enviaTicket.class index 8ed8d73..c900d51 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_enviaTicket.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_enviaTicket.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_gest_Click.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_gest_Click.class index 37633a2..4d49315 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_gest_Click.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_gest_Click.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_mandaWAMsgCredito.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_mandaWAMsgCredito.class index eb23163..ac6f12a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_mandaWAMsgCredito.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_mandaWAMsgCredito.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_sc_result.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_sc_result.class index e88626c..72aee77 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_sc_result.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente$ResumableSub_sc_result.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente.class index 5aa11d3..a633ec7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cliente.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class index d313ed2..6134c34 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientes.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientes.class index 599b3f0..a1ea618 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientes.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientes.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientescompletos.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientescompletos.class new file mode 100644 index 0000000..6168fe5 Binary files /dev/null and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_clientescompletos.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cuestionario.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cuestionario.class index 7578c32..4eb16e2 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cuestionario.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_cuestionario.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class index e74faa0..59ca97c 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico.class index 96d4aaa..f7e158e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico2$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico2$ResumableSub_B4XPage_CloseRequest.class index d9c5774..b59b0d6 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico2$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico2$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico2.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico2.class index 1584135..4e38fa5 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico2.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historico2.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historicobat.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historicobat.class index a7f90f5..06efd7e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historicobat.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_historicobat.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_mapas.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_mapas.class index acc9528..01b7fa3 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_mapas.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_mapas.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class index 48e925e..49bc24b 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nota.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nota.class index d8cf288..2da6e8e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nota.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nota.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_noventa.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_noventa.class index 6633191..ade0494 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_noventa.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_noventa.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class index 3965551..22094a4 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nuevocliente.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nuevocliente.class index 432b633..ceb2dec 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nuevocliente.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_nuevocliente.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class index 083b4c3..8627d9c 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_pedidos.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_pedidos.class index a9ac5e8..7bfd7e0 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_pedidos.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_pedidos.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class index d3c0434..b7cf556 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$ResumableSub_connecta_Click.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$ResumableSub_connecta_Click.class index eb1d89c..5f6bd6e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$ResumableSub_connecta_Click.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$ResumableSub_connecta_Click.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$_titledata.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$_titledata.class index b97b054..d5f75fc 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$_titledata.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal$_titledata.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal.class index e16d60e..a11283b 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_principal.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class index f7f9fca..1b2f14f 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class index b92b965..44ce1b3 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.class index b74dc7c..d83bffe 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class index 63a6af0..3f20bc6 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos.class index 20a0018..2272c36 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_productos.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_promos.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_promos.class index 2a45a7f..7a7065e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_promos.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_promos.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_ticketsdia.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_ticketsdia.class index d2e7eb8..46af3c7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_ticketsdia.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_ticketsdia.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class index bc92c9e..f01939a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_updateavailable.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_updateavailable.class index e368c4a..139d16f 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_updateavailable.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/c_updateavailable.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass$_camerainfoandid.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass$_camerainfoandid.class index a60519d..113504f 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass$_camerainfoandid.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass$_camerainfoandid.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass$_camerasize.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass$_camerasize.class index 124a67d..ecc2f2d 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass$_camerasize.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass$_camerasize.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass.class index 38c9a15..92c76b3 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cameraexclass.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class index 6155951..f946394 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class index 11fe019..1baa31b 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class index 30a01fb..25b0e8e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class index 6351f77..e748dba 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class index 2a0aedc..1e29944 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate.class index b002b9d..5383c1e 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cl_appupdate.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfcontext.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfcontext.class index 34feea3..b911070 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfcontext.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfcontext.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdffontinfo.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdffontinfo.class index f8f45b3..29ee5f4 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdffontinfo.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdffontinfo.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfimageinfo.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfimageinfo.class index 59b480b..251c7b9 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfimageinfo.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfimageinfo.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfmultilinetextsize.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfmultilinetextsize.class index 1150bf6..cee7ac5 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfmultilinetextsize.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfmultilinetextsize.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfpage.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfpage.class index ca818d7..9ff04fb 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfpage.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdfpage.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdftextsize.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdftextsize.class index f0b472c..5443ff6 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdftextsize.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf$_tpdftextsize.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf.class index 65aff5f..0ccc318 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/cpdf.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager$_dbcommand.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager$_dbcommand.class index 5bee4ba..e4e6eb1 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager$_dbcommand.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager$_dbcommand.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager$_dbresult.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager$_dbresult.class index d5eeb8c..7e08c99 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager$_dbresult.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager$_dbresult.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager.class index 26e04d2..bf858c7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/dbrequestmanager.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.class new file mode 100644 index 0000000..7428fde Binary files /dev/null and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_principal.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_principal.class index b759443..312c8c7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_principal.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_principal.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.class new file mode 100644 index 0000000..f91803a Binary files /dev/null and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/escposprinter$_animage.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/escposprinter$_animage.class index a65181a..7f496c7 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/escposprinter$_animage.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/escposprinter$_animage.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/escposprinter.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/escposprinter.class index 1620d2e..3fc1165 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/escposprinter.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/escposprinter.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/fileprovider.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/fileprovider.class index 82e69f9..7611213 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/fileprovider.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/fileprovider.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging$ResumableSub_Service_Start.class index 1e11533..d8d6539 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging$ResumableSub_Service_Start.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging$firebasemessaging_BR.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging$firebasemessaging_BR.class index 86f2589..1592593 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging$firebasemessaging_BR.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging$firebasemessaging_BR.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging.class index 4ea7539..c8bc3d3 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/firebasemessaging.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httpjob$_multipartfiledata.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httpjob$_multipartfiledata.class index a64258b..78a6dac 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httpjob$_multipartfiledata.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httpjob$_multipartfiledata.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httpjob.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httpjob.class index 6fa1c2c..0428297 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httpjob.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httpjob.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httputils2service.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httputils2service.class index 3a08129..bf96886 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httputils2service.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/httputils2service.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/madewithlove.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/madewithlove.class index 0662f9b..cde11f9 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/madewithlove.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/madewithlove.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/main.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/main.class index 3e02e50..12294bd 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/main.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/main.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class index 2e67967..c8a6d82 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/mapa_rutas.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/mapa_rutas.class index c412948..126b9a6 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/mapa_rutas.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/mapa_rutas.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/newinst2$newinst2_BR.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/newinst2$newinst2_BR.class index 45b92a8..54944f5 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/newinst2$newinst2_BR.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/newinst2$newinst2_BR.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/newinst2.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/newinst2.class index 9ff9b43..80d1483 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/newinst2.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/newinst2.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class index 570e1f5..51be7a6 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class index 34aadb8..94f7748 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv.class index c17f5e8..51295a4 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/preoptimizedclv.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/roundslider.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/roundslider.class index af89325..7182ff0 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/roundslider.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/roundslider.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class index c2ed282..b955137 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/scrollinglabel.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/scrollinglabel.class index 6020f47..1662d19 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/scrollinglabel.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/scrollinglabel.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/starter$starter_BR.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/starter$starter_BR.class index cc3970b..a2eb15a 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/starter$starter_BR.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/starter$starter_BR.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/starter.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/starter.class index 7e0f78d..67943e5 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/starter.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/starter.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/subs.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/subs.class index b3d2d4e..e4e7410 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/subs.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/subs.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/swiftbutton.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/swiftbutton.class index 68ff2f0..4e20473 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/swiftbutton.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/swiftbutton.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP.class index c3191ef..8b79af4 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP2.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP2.class index 29026a3..daba589 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP2.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP2.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class index ca95df6..55edcf0 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$tracker_BR.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$tracker_BR.class index 224f2ec..389d32d 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$tracker_BR.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker$tracker_BR.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker.class index 6308389..ebc6316 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/tracker.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/v_tclientes.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/v_tclientes.class new file mode 100644 index 0000000..8e8aba8 Binary files /dev/null and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/v_tclientes.class differ diff --git a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/xuiviewsutils.class b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/xuiviewsutils.class index 907de75..5e7df73 100644 Binary files a/B4A/Objects/bin/classes/gunav2/keymon/com/mx/xuiviewsutils.class and b/B4A/Objects/bin/classes/gunav2/keymon/com/mx/xuiviewsutils.class differ diff --git a/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf b/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf deleted file mode 100644 index 401ec0f..0000000 Binary files a/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf and /dev/null differ diff --git a/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf b/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf deleted file mode 100644 index 7015564..0000000 Binary files a/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf and /dev/null differ diff --git a/B4A/Objects/bin/temp.ap_ b/B4A/Objects/bin/temp.ap_ deleted file mode 100644 index b6cfe54..0000000 Binary files a/B4A/Objects/bin/temp.ap_ and /dev/null differ diff --git a/B4A/Objects/classes.dex b/B4A/Objects/classes.dex deleted file mode 100644 index b2b3a91..0000000 Binary files a/B4A/Objects/classes.dex and /dev/null differ diff --git a/B4A/Objects/d8_arguments.txt b/B4A/Objects/d8_arguments.txt deleted file mode 100644 index 3196c18..0000000 --- a/B4A/Objects/d8_arguments.txt +++ /dev/null @@ -1,480 +0,0 @@ ---release ---output -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects ---lib -C:\Android\platforms\android-30\android.jar ---min-api -21 -C:\Android\tools\..\extras\b4a_local\unpacked-b4ashared-63837499356000\dex_v1\b4ashared.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement\19.0.0\unpacked-play-services-measurement-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-core-utils\1.0.0\unpacked-legacy-support-core-utils-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.3.1\unpacked-core-1.3.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-runtime\2.2.0\unpacked-lifecycle-runtime-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\versionedparcelable\versionedparcelable\1.1.1\unpacked-versionedparcelable-1.1.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\documentfile\documentfile\1.0.1\unpacked-documentfile-1.0.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\loader\loader\1.1.0\unpacked-loader-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-livedata-core\2.2.0\unpacked-lifecycle-livedata-core-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\arch\core\core-runtime\2.1.0\unpacked-core-runtime-2.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-viewmodel\2.2.0\unpacked-lifecycle-viewmodel-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\localbroadcastmanager\localbroadcastmanager\1.0.0\unpacked-localbroadcastmanager-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\print\print\1.0.0\unpacked-print-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-ads-identifier\17.0.1\unpacked-play-services-ads-identifier-17.0.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-basement\17.6.0\unpacked-play-services-basement-17.6.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\fragment\fragment\1.2.5\unpacked-fragment-1.2.5\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\viewpager\viewpager\1.0.0\unpacked-viewpager-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\customview\customview\1.1.0\unpacked-customview-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\activity\activity\1.1.0\unpacked-activity-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\savedstate\savedstate\1.0.0\unpacked-savedstate-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-viewmodel-savedstate\2.2.0\unpacked-lifecycle-viewmodel-savedstate-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-base\19.0.0\unpacked-play-services-measurement-base-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-impl\19.0.0\unpacked-play-services-measurement-impl-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-stats\17.0.1\unpacked-play-services-stats-17.0.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-common\19.3.1\unpacked-firebase-common-19.3.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-tasks\17.2.1\unpacked-play-services-tasks-17.2.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-components\16.0.0\unpacked-firebase-components-16.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-api\19.0.0\unpacked-play-services-measurement-api-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-sdk-api\19.0.0\unpacked-play-services-measurement-sdk-api-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-installations\16.3.3\unpacked-firebase-installations-16.3.3\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-installations-interop\16.0.0\unpacked-firebase-installations-interop-16.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-measurement-connector\18.0.0\unpacked-firebase-measurement-connector-18.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-messaging\20.3.0\unpacked-firebase-messaging-20.3.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-api\2.2.1\unpacked-transport-api-2.2.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-backend-cct\2.3.3\unpacked-transport-backend-cct-2.3.3\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-runtime\2.2.6\unpacked-transport-runtime-2.2.6\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-encoders-json\17.1.0\unpacked-firebase-encoders-json-17.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-cloud-messaging\16.0.0\unpacked-play-services-cloud-messaging-16.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-datatransport\17.0.8\unpacked-firebase-datatransport-17.0.8\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-iid\20.2.4\unpacked-firebase-iid-20.2.4\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-iid-interop\17.0.0\unpacked-firebase-iid-interop-17.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-base\17.6.0\unpacked-play-services-base-17.6.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-core\17.5.1\unpacked-firebase-core-17.5.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-analytics\17.6.0\unpacked-firebase-analytics-17.6.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-sdk\19.0.0\unpacked-play-services-measurement-sdk-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-maps\17.0.1\unpacked-play-services-maps-17.0.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-v4\1.0.0\unpacked-legacy-support-v4-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\media\media\1.1.0\unpacked-media-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-core-ui\1.0.0\unpacked-legacy-support-core-ui-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.1.0\unpacked-coordinatorlayout-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\drawerlayout\drawerlayout\1.1.0\unpacked-drawerlayout-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\slidingpanelayout\slidingpanelayout\1.1.0\unpacked-slidingpanelayout-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\interpolator\interpolator\1.0.0\unpacked-interpolator-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\swiperefreshlayout\swiperefreshlayout\1.1.0\unpacked-swiperefreshlayout-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\asynclayoutinflater\asynclayoutinflater\1.0.0\unpacked-asynclayoutinflater-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\cursoradapter\cursoradapter\1.0.0\unpacked-cursoradapter-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-location\18.0.0\unpacked-play-services-location-18.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-places-placereport\17.0.0\unpacked-play-services-places-placereport-17.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\multidex\multidex\2.0.1\unpacked-multidex-2.0.1\jars\classes.zip -C:\Android\tools\..\extras\b4a_local\unpacked-baqrcode-63580278352000\dex_v1\baqrcode.zip -C:\Android\tools\..\extras\b4a_local\unpacked-batteryprogressview-63728354598000\dex_v1\batteryprogressview.zip -C:\Android\tools\..\extras\b4a_local\unpacked-bitmapcreator-63837499358000\dex_v1\bitmapcreator.zip -C:\Android\tools\..\extras\b4a_local\unpacked-byteconverter-63837499358000\dex_v1\byteconverter.zip -C:\Android\tools\..\extras\b4a_local\unpacked-camera-63837499358000\dex_v1\camera.zip -C:\Android\tools\..\extras\b4a_local\unpacked-clipboard-63430833632000\dex_v1\clipboard.zip -C:\Android\tools\..\extras\b4a_local\unpacked-compressstrings-63690670984758\dex_v1\compressstrings.zip -C:\Android\tools\..\extras\b4a_local\unpacked-contentresolver-63837499358000\dex_v1\contentresolver.zip -C:\Android\tools\..\extras\b4a_local\unpacked-core-63837499358000\dex_v1\core.zip -C:\Android\tools\..\extras\b4a_local\unpacked-firebaseanalytics-63837499358000\dex_v1\firebaseanalytics.zip -C:\Android\tools\..\extras\b4a_local\unpacked-firebasenotifications-63837499358000\dex_v1\firebasenotifications.zip -C:\Android\tools\..\extras\b4a_local\unpacked-fusedlocationprovider-63591657828000\dex_v1\fusedlocationprovider.zip -C:\Android\tools\..\extras\b4a_local\unpacked-googlemaps-63702010524000\dex_v1\googlemaps.zip -C:\Android\tools\..\extras\b4a_local\unpacked-googlemapsextras-63717303676000\dex_v1\googlemapsextras.zip -C:\Android\tools\..\extras\b4a_local\unpacked-gps-63837499358000\dex_v1\gps.zip -C:\Android\tools\..\extras\b4a_local\unpacked-ime-63837499358000\dex_v1\ime.zip -C:\Android\tools\..\extras\b4a_local\unpacked-javaobject-63837499358000\dex_v1\javaobject.zip -C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663757248000\dex_v1\jhsicezxing1.zip -C:\Android\tools\..\extras\b4a_local\unpacked-json-63837499358000\dex_v1\json.zip -C:\Android\tools\..\extras\b4a_local\unpacked-locationmanager-63460624784000\dex_v1\locationmanager.zip -C:\Android\tools\..\extras\b4a_local\unpacked-phone-63837499358000\dex_v1\phone.zip -C:\Android\tools\..\extras\b4a_local\unpacked-randomaccessfile-63837499358000\dex_v1\randomaccessfile.zip -C:\Android\tools\..\extras\b4a_local\unpacked-rspopupmenu-63542938804000\dex_v1\rspopupmenu.zip -C:\Android\tools\..\extras\b4a_local\unpacked-runtimepermissions.androidx-63822351362000\dex_v1\runtimepermissions.zip -C:\Android\tools\..\extras\b4a_local\unpacked-serial-63837499358000\dex_v1\serial.zip -C:\Android\tools\..\extras\b4a_local\unpacked-sql-63837499358000\dex_v1\sql.zip -C:\Android\tools\..\extras\b4a_local\unpacked-togglelibrary-63627631314000\dex_v1\togglelibrary.zip -C:\Android\tools\..\extras\b4a_local\unpacked-xcustomlistview-63837499358000\dex_v1\xcustomlistview.zip -C:\Android\tools\..\extras\b4a_local\unpacked-xui-63837499358000\dex_v1\xui.zip -C:\Android\tools\..\extras\b4a_local\unpacked-dateutils-63837499358000\dex_v1\dateutils.zip -C:\Android\tools\..\extras\b4a_local\unpacked-android-support-annotations-63728354598000\dex_v1\android-support-annotations.zip -C:\Android\tools\..\extras\b4a_local\unpacked-stringutils-63837499358000\dex_v1\stringutils.zip -C:\Android\tools\..\extras\b4a_local\unpacked-reflection-63837499358000\dex_v1\reflection.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-63837499358000\dex_v1\okhttp.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-4.9.0-63837499358000\dex_v1\okhttp-4.9.0.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okio-2.8.0-63837499358000\dex_v1\okio-2.8.0.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-urlconnection-4.9.3-63837499358000\dex_v1\okhttp-urlconnection-4.9.3.zip -C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63837499358000\dex_v1\kotlin-stdlib-1.6.10.zip -C:\Android\tools\..\extras\b4a_local\unpacked-remotelogger-63837499358000\dex_v1\remotelogger.zip -c:\android\tools\..\extras\b4a_remote\androidx\collection\collection\1.1.0\collection-1.1.0.zip -c:\android\tools\..\extras\b4a_remote\androidx\annotation\annotation\1.1.0\annotation-1.1.0.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-common\2.2.0\lifecycle-common-2.2.0.zip -c:\android\tools\..\extras\b4a_remote\androidx\arch\core\core-common\2.1.0\core-common-2.1.0.zip -C:\Android\tools\..\extras\b4a_local\unpacked-javax.inject-javax.inject-63837499358000\dex_v1\javax.inject-javax.inject.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-encoders\16.0.0\firebase-encoders-16.0.0.zip -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\coordinatorlayout\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\core\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\drawerlayout\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\fragment\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\media\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\androidx\swiperefreshlayout\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\base\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\common\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\android\gms\maps\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\com\google\firebase\messaging\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\animatedcounter.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\anotherprogressbar$ResumableSub_BusyLoop.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\anotherprogressbar.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\appupdater$1.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\appupdater$2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\appupdater$appupdater_BR.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\appupdater$ResumableSub_download_newApk.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\appupdater$ResumableSub_Service_Start.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\appupdater$_mnewversion.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\appupdater.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xbitset.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xbreadcrumb.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xbytesbuilder.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcache$_b4xcacheitem.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcache.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcollections.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcolortemplate$ResumableSub_Show.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcolortemplate$_colorpickerpart.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcolortemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcombobox$ResumableSub_RaiseEvent.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcombobox.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xcomparatorsort.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xdatetemplate$ResumableSub_Show.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xdatetemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xdialog$ResumableSub_Show.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xdialog$ResumableSub_ShowCustom.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xdialog$ResumableSub_ShowTemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xdialog.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xfloattextfield.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xformatter$_b4xformatdata.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xformatter.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4ximageview.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xinputtemplate$ResumableSub_Show.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xinputtemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xlisttemplate$ResumableSub_Show.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xlisttemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xloadingindicator$ResumableSub_MainLoop.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xloadingindicator.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xlongtexttemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xmainpage$ResumableSub_B4XPage_Appear.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xmainpage$ResumableSub_b_envioBD_Click.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xmainpage$ResumableSub_copiaDB.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xmainpage$ResumableSub_revisaActualizacion.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xmainpage.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xorderedmap.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xpages.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xpagesdelegator.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xpagesmanager$PagesMenuListener.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xpagesmanager$ResumableSub_HandleCloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xpagesmanager$_b4amenuitem.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xpagesmanager$_b4xpageinfo.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xpagesmanager$_b4xpageparent.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xpagesmanager.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xplusminus$ResumableSub_StartDownLoop.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xplusminus.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xradiobutton$ResumableSub_SetValueImpl.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xradiobutton.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xsearchtemplate$ResumableSub_Show.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xsearchtemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xseekbar.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xset.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xsignaturetemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xswitch$ResumableSub_SetValueImpl.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xswitch.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xtimedtemplate$ResumableSub_Show.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\b4xtimedtemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\batteryutilities.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cameraexclass$_camerainfoandid.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cameraexclass$_camerasize.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cameraexclass.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cl_appupdate$ResumableSub_DownloadApk.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cl_appupdate$ResumableSub_IsvalidWV.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cl_appupdate$ResumableSub_ReadWebVN.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cl_appupdate$ResumableSub_TryApkUpdate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cl_appupdate$ResumableSub_UpdateApk.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cl_appupdate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cpdf$_tpdfcontext.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cpdf$_tpdffontinfo.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cpdf$_tpdfimageinfo.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cpdf$_tpdfmultilinetextsize.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cpdf$_tpdfpage.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cpdf$_tpdftextsize.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\cpdf.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_bitacora.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_B4XPage_Appear.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_b_envioPDF_Click.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_B_IMP_Click.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_b_preventa2_Click.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_Cuestionario.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_enviaTicket.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_gest_Click.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_Impresion.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_Impresion2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_Impresion3.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_Impresion4.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_Impresion5.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_InitializeCamera2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_mandaWAMsgCredito.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_MejorarPrecisionGPS.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente$ResumableSub_sc_result.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cliente.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_clientes$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_clientes.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_cuestionario.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_historico$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_historico.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_historico2$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_historico2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_historicobat.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_mapas.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_nota$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_nota.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_noventa.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_nuevocliente$ResumableSub_B4XPage_Created.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_nuevocliente.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_pedidos$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_pedidos.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_principal$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_principal$ResumableSub_connecta_Click.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_principal$_titledata.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_principal.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_productos$ResumableSub_B4XPage_Appear.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_productos$ResumableSub_B4XPage_CloseRequest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_productos$ResumableSub_Busca_TextChanged.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_productos$ResumableSub_lv_catalogos2_ItemClick.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_productos.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_promos.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_ticketsdia.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_updateavailable$ResumableSub_B4XPage_Appear.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\c_updateavailable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\dbrequestmanager$_dbcommand.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\dbrequestmanager$_dbresult.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\dbrequestmanager.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\escposprinter$_animage.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\escposprinter.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\fileprovider.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\firebasemessaging$1.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\firebasemessaging$2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\firebasemessaging$firebasemessaging_BR.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\firebasemessaging$ResumableSub_Service_Start.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\firebasemessaging.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\httpjob$_multipartfiledata.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\httpjob.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\httputils2service.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\madewithlove.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\main$1.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\main$B4AMenuItemsClickListener.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\main$HandleKeyDelayed.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\main$ResumeMessage.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\main$WaitForLayout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\main.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\Manifest$permission.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\Manifest.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\mapa_rutas$1.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\mapa_rutas$B4AMenuItemsClickListener.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\mapa_rutas$HandleKeyDelayed.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\mapa_rutas$ResumableSub_MapFragment1_Ready.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\mapa_rutas$ResumeMessage.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\mapa_rutas$WaitForLayout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\mapa_rutas.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\newinst2$1.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\newinst2$2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\newinst2$newinst2_BR.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\newinst2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\preoptimizedclv$ResumableSub_ListChangedExternally.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\preoptimizedclv.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$anim.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$attr.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$color.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$dimen.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$drawable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$id.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$integer.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$layout.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$string.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$style.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$styleable.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R$xml.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\R.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\roundslider.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\scrollinglabel$ResumableSub_StartScrolling.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\scrollinglabel.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\starter$1.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\starter$2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\starter$starter_BR.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\starter.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\subs.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\swiftbutton.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\tracker$1.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\tracker$2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\tracker$ResumableSub_StartFLP.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\tracker$ResumableSub_StartFLP2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\tracker$ResumableSub_StartFLPSmall.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\tracker$tracker_BR.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\tracker.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\xuiviewsutils.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_celltitle.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_cliente.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_clientes.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_comis.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_datoscliente.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_detalle_promo.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_encuessta_m3.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_encuesta.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_encuesta_m4.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_encuesta_m5.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_encuesta_ped.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_errormanager.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_esncuesta_m2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_historicobat.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_historicobat2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_iniciofinventa.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_login.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_mainpage.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_maparutas.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_mapa_rutas.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_nota.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_nota2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_noventa.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_panel_nuevocliente.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_pclvseekbar.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_pedido.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_principal.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_proditem.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_proditem1.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_proditem2.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_productos.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_productos_.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_promociones.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_resdia.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_searchtemplate.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_seleccion.dex -C:\Users\carlo\OneDrive\Escritorio\Guna_BAT-main\B4A\Objects\dexed\gunav2\keymon\com\mx\designerscripts\LS_ticketsdia.dex diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/animatedcounter.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/animatedcounter.dex index 0b00156..d22a338 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/animatedcounter.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/animatedcounter.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex index 7449da3..fac769a 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/anotherprogressbar.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/anotherprogressbar.dex index 700fdcc..c2d5551 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/anotherprogressbar.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/anotherprogressbar.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex index 6db2df9..bcdb549 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex index 56b03d5..74e81db 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$_mnewversion.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$_mnewversion.dex index 2059d52..871d847 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$_mnewversion.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$_mnewversion.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$appupdater_BR.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$appupdater_BR.dex index 1aaa417..9dfafc2 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$appupdater_BR.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater$appupdater_BR.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater.dex index 4dcaa09..67c1ad0 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/appupdater.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbitset.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbitset.dex index be1735d..41b833f 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbitset.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbitset.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbreadcrumb.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbreadcrumb.dex index c96f06e..98fee25 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbreadcrumb.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbreadcrumb.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbytesbuilder.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbytesbuilder.dex index 5231ae8..7b4e498 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbytesbuilder.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xbytesbuilder.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcache$_b4xcacheitem.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcache$_b4xcacheitem.dex index 5714cfe..f9fd9d4 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcache$_b4xcacheitem.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcache$_b4xcacheitem.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcache.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcache.dex index 765aaa2..dba7986 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcache.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcache.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcollections.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcollections.dex index e0d2df9..02307a2 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcollections.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcollections.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex index 67efe3c..9e2e2b0 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex index e77f937..5f18029 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate.dex index e15c779..ca025b0 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcolortemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex index 64ee917..80d3563 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcombobox.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcombobox.dex index 0158512..6896c07 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcombobox.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcombobox.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcomparatorsort.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcomparatorsort.dex index c17e8c9..762c2fd 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcomparatorsort.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xcomparatorsort.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex index df5658b..47405bf 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdatetemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdatetemplate.dex index 328ab73..db7ae6e 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdatetemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdatetemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_Show.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_Show.dex index d7e92e8..b84570d 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_Show.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex index f34f7a5..5b879df 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex index a167ce0..330213d 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog.dex index b6e45ac..0082526 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xdialog.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex index 3e6704f..6537c2a 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xfloattextfield.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xfloattextfield.dex index 30a4d6e..e313768 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xfloattextfield.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xfloattextfield.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xformatter$_b4xformatdata.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xformatter$_b4xformatdata.dex index 3734067..564d8a6 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xformatter$_b4xformatdata.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xformatter$_b4xformatdata.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xformatter.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xformatter.dex index fb72a1a..c9d350b 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xformatter.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xformatter.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4ximageview.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4ximageview.dex index 69ff047..de44288 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4ximageview.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4ximageview.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex index 7d0e5c6..12bc70a 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xinputtemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xinputtemplate.dex index 2c6f53f..482865b 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xinputtemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xinputtemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex index 5c097c1..fd824d8 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlisttemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlisttemplate.dex index 64e23cf..6b179f9 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlisttemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlisttemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex index 200b010..39b01d5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xloadingindicator.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xloadingindicator.dex index a737eb0..72d6500 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xloadingindicator.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xloadingindicator.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlongtexttemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlongtexttemplate.dex index f7996a8..5daf92b 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlongtexttemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xlongtexttemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex index 844ea6b..d4e52e0 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex index 335a3a7..df535de 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex index d28f4c1..2af2c5a 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex index 43dc2fa..d99a765 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_revisaActualizacion.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_revisaActualizacion.dex index c5515c0..cc61b51 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_revisaActualizacion.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage$ResumableSub_revisaActualizacion.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage.dex index 4f8b524..0ee1fd7 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xmainpage.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xorderedmap.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xorderedmap.dex index 19827ea..d5940c9 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xorderedmap.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xorderedmap.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpages.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpages.dex index 497d2ec..b828848 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpages.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpages.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesdelegator.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesdelegator.dex index 6c3bc13..5033818 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesdelegator.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesdelegator.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex index cabbd9b..6716959 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex index 760fd15..c33ef8b 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex index d0f99df..881f63a 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex index 14fcec1..cc0fce3 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex index 57ac3d9..c8ada59 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager.dex index a2eb4e1..3e5d5c5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xpagesmanager.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex index e2a1b29..1385c50 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xplusminus.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xplusminus.dex index 506a6b2..643ea59 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xplusminus.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xplusminus.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex index b99b9f7..6c9aa6e 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xradiobutton.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xradiobutton.dex index 1cf31b3..27742bf 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xradiobutton.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xradiobutton.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex index b13eb79..5b5441c 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsearchtemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsearchtemplate.dex index 44b1ba0..5c006ee 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsearchtemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsearchtemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xseekbar.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xseekbar.dex index face21f..a56c11d 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xseekbar.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xseekbar.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xset.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xset.dex index 3ad8b90..ea60336 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xset.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xset.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsignaturetemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsignaturetemplate.dex index 3558cf7..7886cf3 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsignaturetemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xsignaturetemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex index 52e0326..df9729e 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xswitch.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xswitch.dex index b736c83..3426d71 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xswitch.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xswitch.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex index f26cfea..545939a 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xtimedtemplate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xtimedtemplate.dex index c7ba4a6..262bd9e 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xtimedtemplate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/b4xtimedtemplate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/batteryutilities.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/batteryutilities.dex index 924e30a..f3a18d5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/batteryutilities.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/batteryutilities.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_bitacora.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_bitacora.dex index 3c03bb3..3bcee88 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_bitacora.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_bitacora.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Appear.dex index 3bfeb29..25f5f26 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex index e454731..ad4bf07 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B_IMP_Click.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B_IMP_Click.dex index fa3893a..b6d672f 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B_IMP_Click.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_B_IMP_Click.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Cuestionario.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Cuestionario.dex index 0895200..9d9ea71 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Cuestionario.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Cuestionario.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.dex index fee96c8..eb27b86 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.dex index bdb6ca1..c4697fa 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_EnviarPDFWhatsAppNumero2.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion.dex index 345b65e..ab2a3ce 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion2.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion2.dex index 4b290f7..e17a26b 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion2.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion2.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion3.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion3.dex index de8b9d7..7eb0cd4 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion3.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion3.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion4.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion4.dex index 8a6da6c..cb7aea6 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion4.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion4.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion5.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion5.dex index 60aa40a..cd3dd3f 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion5.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_Impresion5.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera2.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera2.dex index cf88cb8..def5735 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera2.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera2.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_MejorarPrecisionGPS.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_MejorarPrecisionGPS.dex index eecc604..4a4e112 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_MejorarPrecisionGPS.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_MejorarPrecisionGPS.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_envioPDF_Click.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_envioPDF_Click.dex index f753d3a..234048f 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_envioPDF_Click.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_envioPDF_Click.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_preventa2_Click.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_preventa2_Click.dex index 17a182e..5870c71 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_preventa2_Click.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_b_preventa2_Click.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_enviaTicket.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_enviaTicket.dex index 6867c57..1a29cd8 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_enviaTicket.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_enviaTicket.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_gest_Click.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_gest_Click.dex index 298d75d..8b4295b 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_gest_Click.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_gest_Click.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_mandaWAMsgCredito.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_mandaWAMsgCredito.dex index 66b35d8..96bb1c1 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_mandaWAMsgCredito.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_mandaWAMsgCredito.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex index 9de45f4..2c160eb 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente.dex index c10b483..c3fde69 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cliente.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex index 4184f8b..a56ef7d 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientes.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientes.dex index a54fedc..e9bf5d8 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientes.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientes.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientescompletos.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientescompletos.dex new file mode 100644 index 0000000..dfe8c9e Binary files /dev/null and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_clientescompletos.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cuestionario.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cuestionario.dex index be304eb..f403d19 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cuestionario.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_cuestionario.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex index 0664433..8ff5d75 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico.dex index 2e3bdcc..496d7e4 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico2$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico2$ResumableSub_B4XPage_CloseRequest.dex index 9a48970..a184266 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico2$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico2$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico2.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico2.dex index 8f30ff6..40d0784 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico2.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historico2.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historicobat.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historicobat.dex index e88a742..3b8edb7 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historicobat.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_historicobat.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_mapas.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_mapas.dex index 9d4bb2d..8891fec 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_mapas.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_mapas.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex index 9f173a8..30309fd 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nota.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nota.dex index 962bd2f..6508fff 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nota.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nota.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_noventa.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_noventa.dex index b68d8d7..8f87232 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_noventa.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_noventa.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex index 3d03934..9c7ece2 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nuevocliente.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nuevocliente.dex index 7b6cd80..1e029a4 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nuevocliente.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_nuevocliente.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex index 4638cce..091ba37 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_pedidos.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_pedidos.dex index 55f16b5..3bfe837 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_pedidos.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_pedidos.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex index 995b2ed..d9238c2 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$ResumableSub_connecta_Click.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$ResumableSub_connecta_Click.dex index dbdafcb..e290b6f 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$ResumableSub_connecta_Click.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$ResumableSub_connecta_Click.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$_titledata.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$_titledata.dex index df9ded2..7921c84 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$_titledata.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal$_titledata.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal.dex index aa588fb..347f78e 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_principal.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex index 1b9dde7..2425047 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex index 0bcf3c4..66026b5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.dex index 46f46c0..6bc828e 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex index ef411ac..7920686 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos.dex index 3bb80e4..a063245 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_productos.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_promos.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_promos.dex index e25501b..fa6ecfa 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_promos.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_promos.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_ticketsdia.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_ticketsdia.dex index 35a887b..c84f5f5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_ticketsdia.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_ticketsdia.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex index 22c0c45..6c052c5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_updateavailable.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_updateavailable.dex index c63e8a4..794dba0 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/c_updateavailable.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/c_updateavailable.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass$_camerainfoandid.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass$_camerainfoandid.dex index 515048d..aee2eb7 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass$_camerainfoandid.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass$_camerainfoandid.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass$_camerasize.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass$_camerasize.dex index f6784c1..c4240fb 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass$_camerasize.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass$_camerasize.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass.dex index 908f050..2c2dfe8 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cameraexclass.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex index 98eb49b..76267c5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex index 4269837..0be6866 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex index 04c2206..d9671f0 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex index c9c83fe..350e236 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex index f81cc3e..666a282 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate.dex index 780704b..da954a0 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cl_appupdate.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfcontext.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfcontext.dex index 0779147..2904bc1 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfcontext.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfcontext.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdffontinfo.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdffontinfo.dex index ec3cd48..03ef9ce 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdffontinfo.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdffontinfo.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfimageinfo.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfimageinfo.dex index 10680f0..f14eb03 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfimageinfo.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfimageinfo.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfmultilinetextsize.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfmultilinetextsize.dex index ff7a20d..59456fd 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfmultilinetextsize.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfmultilinetextsize.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfpage.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfpage.dex index b645206..195b916 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfpage.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdfpage.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdftextsize.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdftextsize.dex index 664bfaf..fb7e435 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdftextsize.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf$_tpdftextsize.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf.dex index de43700..e0a1a6c 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/cpdf.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager$_dbcommand.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager$_dbcommand.dex index 4d428ff..f6b76d2 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager$_dbcommand.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager$_dbcommand.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager$_dbresult.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager$_dbresult.dex index c486879..fb1be5d 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager$_dbresult.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager$_dbresult.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager.dex index 66bab8a..900d4cd 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/dbrequestmanager.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.dex new file mode 100644 index 0000000..2333cb2 Binary files /dev/null and b/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_principal.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_principal.dex index fb451b5..342ecef 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_principal.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_principal.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.dex new file mode 100644 index 0000000..5f2085a Binary files /dev/null and b/B4A/Objects/dexed/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/escposprinter$_animage.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/escposprinter$_animage.dex index 87dbfb1..52bbf1d 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/escposprinter$_animage.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/escposprinter$_animage.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/escposprinter.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/escposprinter.dex index f6c0ba6..f1c5a83 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/escposprinter.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/escposprinter.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/fileprovider.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/fileprovider.dex index 85aa20b..a855d88 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/fileprovider.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/fileprovider.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging$ResumableSub_Service_Start.dex index 7ecdefe..51b045c 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging$ResumableSub_Service_Start.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging$ResumableSub_Service_Start.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging$firebasemessaging_BR.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging$firebasemessaging_BR.dex index 141b183..91edbcd 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging$firebasemessaging_BR.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging$firebasemessaging_BR.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging.dex index a9fe61e..bcbcffa 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/firebasemessaging.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/httpjob$_multipartfiledata.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/httpjob$_multipartfiledata.dex index 2951292..0f60ba9 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/httpjob$_multipartfiledata.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/httpjob$_multipartfiledata.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/httpjob.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/httpjob.dex index 150f1c9..482c1e4 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/httpjob.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/httpjob.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/httputils2service.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/httputils2service.dex index 0bce2a0..19cd3aa 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/httputils2service.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/httputils2service.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/madewithlove.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/madewithlove.dex index c201da3..68fbed5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/madewithlove.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/madewithlove.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/main.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/main.dex index ea417b4..69f4236 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/main.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/main.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex index 391c7d1..7aa3f8f 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/mapa_rutas.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/mapa_rutas.dex index 86ec2c9..1d3f8dc 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/mapa_rutas.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/mapa_rutas.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/newinst2$newinst2_BR.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/newinst2$newinst2_BR.dex index 4c3600a..f0fe376 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/newinst2$newinst2_BR.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/newinst2$newinst2_BR.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/newinst2.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/newinst2.dex index 26920e6..79f7e0d 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/newinst2.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/newinst2.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex index 03afa67..8e921f3 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex index 3ddf40d..4cd311f 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv.dex index a10a69b..f4507c2 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/preoptimizedclv.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/roundslider.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/roundslider.dex index 65fc42d..1fd8e67 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/roundslider.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/roundslider.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex index d97f02e..6f274b5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/scrollinglabel.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/scrollinglabel.dex index e850f85..102017e 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/scrollinglabel.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/scrollinglabel.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/starter$starter_BR.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/starter$starter_BR.dex index 8d4d130..6d78b1e 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/starter$starter_BR.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/starter$starter_BR.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/starter.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/starter.dex index 32313e0..8e9597c 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/starter.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/starter.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/subs.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/subs.dex index b7b1d30..ff6c085 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/subs.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/subs.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/swiftbutton.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/swiftbutton.dex index 1fbc6db..0abbbc5 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/swiftbutton.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/swiftbutton.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP.dex index 9257218..1129ce1 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP2.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP2.dex index 27b0c79..6151dc6 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP2.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLP2.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex index 856f40c..9793c3d 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$tracker_BR.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$tracker_BR.dex index 060fa85..3959816 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$tracker_BR.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker$tracker_BR.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker.dex index 7ea227f..d326858 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/tracker.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/v_tclientes.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/v_tclientes.dex new file mode 100644 index 0000000..4862103 Binary files /dev/null and b/B4A/Objects/dexed/gunav2/keymon/com/mx/v_tclientes.dex differ diff --git a/B4A/Objects/dexed/gunav2/keymon/com/mx/xuiviewsutils.dex b/B4A/Objects/dexed/gunav2/keymon/com/mx/xuiviewsutils.dex index d85d28a..43bc269 100644 Binary files a/B4A/Objects/dexed/gunav2/keymon/com/mx/xuiviewsutils.dex and b/B4A/Objects/dexed/gunav2/keymon/com/mx/xuiviewsutils.dex differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/animatedcounter.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/animatedcounter.class index 552236b..89f5c26 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/animatedcounter.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/animatedcounter.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/animatedcounter_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/animatedcounter_subs_0.class index 8f5d645..484922e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/animatedcounter_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/animatedcounter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar.class index 54df7bb..d7b4f87 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class index 8819cfd..97b20e3 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar_subs_0.class index 7e5d362..8ca864d 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/anotherprogressbar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater.class index 7b6c640..a70cd12 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class index cb0f34f..4771054 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class index 50ad72d..b0566bf 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0.class index c53fe02..22bcd60 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/appupdater_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbitset.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbitset.class index 01e6a2e..0688018 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbitset.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbitset.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbitset_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbitset_subs_0.class index 6f98425..ddc379f 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbitset_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbitset_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb.class index 02a8d9c..17fe976 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb_subs_0.class index 2aad38a..8349c9a 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbreadcrumb_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder.class index 0c80693..6479ccc 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder_subs_0.class index 9c70368..2774cb6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xbytesbuilder_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcache.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcache.class index 989ca86..90595d1 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcache.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcache.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcache_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcache_subs_0.class index cc1859c..87109d7 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcache_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcache_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcollections.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcollections.class index 36e93f9..393fcf6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcollections.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcollections.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcollections_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcollections_subs_0.class index ed979aa..a4d52fc 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcollections_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcollections_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate.class index 57f075a..6a4b457 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class index ed9631a..52e82b3 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate_subs_0.class index 58dd028..16d3735 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcolortemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox.class index 37d5c37..76bc151 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class index c80c3e8..ef582bb 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox_subs_0.class index 04486ed..1d53cd4 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcombobox_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort.class index c6a0c54..1706c70 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort_subs_0.class index 4a93470..96cf684 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xcomparatorsort_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate.class index 578be1e..86f22c5 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class index faf5cc4..99b3a67 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate_subs_0.class index 79634ef..a4a7118 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdatetemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog.class index 695bade..8132497 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class index 04054d2..0478fd7 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class index 4798ff7..d9d9b25 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class index 165d25c..2bb0bef 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0.class index 6c0d70c..9d46e61 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xdialog_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield.class index d401bce..674c533 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class index 2304360..c13040e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield_subs_0.class index 0b700f5..834abcf 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xfloattextfield_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xformatter.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xformatter.class index 596bbec..325d42e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xformatter.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xformatter.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xformatter_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xformatter_subs_0.class index 8037364..b16d6a7 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xformatter_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xformatter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4ximageview.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4ximageview.class index a60fa27..d54568e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4ximageview.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4ximageview.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4ximageview_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4ximageview_subs_0.class index b25bc2b..f10340a 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4ximageview_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4ximageview_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate.class index 4fca543..4a0d49d 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class index 0a84a6b..a3a4ad0 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate_subs_0.class index 51517de..17c0061 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xinputtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate.class index 001cbf1..0317100 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class index 66b6f3a..d4c23b1 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate_subs_0.class index 0cc8e8f..2750418 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlisttemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator.class index 69f8d19..ef441e1 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class index af5f87d..d684491 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator_subs_0.class index 8025594..f97bab7 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xloadingindicator_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate.class index bd5a2c5..9a66bef 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate_subs_0.class index f5636fe..6e02e18 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xlongtexttemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage.class index 209a92e..703238f 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class index 7001a4f..7edc4a0 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class index a6955bc..d1bcf97 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class index b075f5b..7e027f3 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class index 85de090..9fee2c8 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_revisaActualizacion.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_revisaActualizacion.class index de86fb7..1defb94 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_revisaActualizacion.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_revisaActualizacion.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0.class index c475555..caff3d0 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xmainpage_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xorderedmap.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xorderedmap.class index ff63fef..d70e73e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xorderedmap.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xorderedmap.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xorderedmap_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xorderedmap_subs_0.class index fbdb72a..3c86f7d 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xorderedmap_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xorderedmap_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpages.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpages.class index 4c08df8..35aaa6a 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpages.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpages.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpages_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpages_subs_0.class index cd76018..021aee1 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpages_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpages_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator.class index 9de7cbe..e1959b0 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator_subs_0.class index 9bdbb02..5b1ae8e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesdelegator_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager.class index 0614a2b..41fd010 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class index 0fcc73b..1ae4116 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager_subs_0.class index 6624726..5cfee17 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xpagesmanager_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus.class index 009907c..85609c4 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class index 37fc49e..b523de6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus_subs_0.class index 9e41bc6..fa1de59 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xplusminus_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton.class index c450268..85bc63e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class index 5da94f0..a9808af 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton_subs_0.class index 0c3ee5a..e11d2f2 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xradiobutton_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate.class index def5d11..da84715 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class index 2011f60..83c6d8b 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0.class index 2c99b83..8e30a4d 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xseekbar.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xseekbar.class index 9c4ab48..a3479b3 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xseekbar.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xseekbar.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xseekbar_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xseekbar_subs_0.class index e57bd9a..b63830a 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xseekbar_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xseekbar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xset.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xset.class index 6293b69..18b15e6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xset.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xset.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xset_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xset_subs_0.class index 27f7c28..0ce0cbf 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xset_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xset_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate.class index e776ba5..b4712fe 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate_subs_0.class index f990310..dcc22c6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xsignaturetemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch.class index be3e21c..050c62f 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class index 8719614..d85367e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch_subs_0.class index 6910b13..6043863 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xswitch_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate.class index d69773d..42ed807 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class index 4e6e21b..001b71c 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0.class index 9315a9d..294a27c 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/batteryutilities.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/batteryutilities.class index cf56d91..7eb43af 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/batteryutilities.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/batteryutilities.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/batteryutilities_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/batteryutilities_subs_0.class index a5adfb4..23f29c7 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/batteryutilities_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/batteryutilities_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_bitacora.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_bitacora.class index eef817e..32f19aa 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_bitacora.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_bitacora.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_bitacora_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_bitacora_subs_0.class index 68804b2..11bc023 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_bitacora_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_bitacora_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente.class index b9b1e72..9e07644 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Appear.class index 87c895e..51908d0 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B_IMP_Click.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B_IMP_Click.class index 2f38e93..6e2b7e9 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B_IMP_Click.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B_IMP_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Cuestionario.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Cuestionario.class index ef4b373..8902cf7 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Cuestionario.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Cuestionario.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_EnviarPDFWhatsAppNumero.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_EnviarPDFWhatsAppNumero.class index 3d30070..492de43 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_EnviarPDFWhatsAppNumero.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_EnviarPDFWhatsAppNumero.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_EnviarPDFWhatsAppNumero2.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_EnviarPDFWhatsAppNumero2.class index e89aaba..380e0a5 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_EnviarPDFWhatsAppNumero2.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_EnviarPDFWhatsAppNumero2.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion3.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion3.class index fdf3548..8ff8584 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion3.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion3.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion4.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion4.class index 23b568f..5ae7558 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion4.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion4.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion5.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion5.class index 69156eb..52bd277 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion5.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Impresion5.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_InitializeCamera2.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_InitializeCamera2.class index 4e31b0d..69749bb 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_InitializeCamera2.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_InitializeCamera2.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_envioPDF_Click.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_envioPDF_Click.class index a5a18ed..16ca91e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_envioPDF_Click.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_envioPDF_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_preventa2_Click.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_preventa2_Click.class index 97fe62e..942e3bf 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_preventa2_Click.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_preventa2_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_gest_Click.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_gest_Click.class index 1ab0523..09b2053 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_gest_Click.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_gest_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_mandaWAMsgCredito.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_mandaWAMsgCredito.class index f623b30..f4cf054 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_mandaWAMsgCredito.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0$ResumableSub_mandaWAMsgCredito.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0.class index d9e2209..987c3a7 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientes.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientes.class index 7aa1848..d3ea21e 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientes.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientes.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientes_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientes_subs_0.class index 62c2592..b55d664 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientes_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientes_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientescompletos.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientescompletos.class new file mode 100644 index 0000000..c56aec7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientescompletos.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientescompletos_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientescompletos_subs_0.class new file mode 100644 index 0000000..d08eb9e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_clientescompletos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cuestionario.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cuestionario.class index 43825c1..04f95c9 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cuestionario.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cuestionario.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cuestionario_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cuestionario_subs_0.class index ebee1cf..6c39a8b 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cuestionario_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_cuestionario_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico.class index 725b118..2526ab5 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2.class index 6952ea3..2f5cf36 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2_subs_0$ResumableSub_B4XPage_CloseRequest.class index 54e3000..a878231 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2_subs_0$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2_subs_0.class index 20f54d5..2b85ff1 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico2_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class index cba00cd..6c757ff 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico_subs_0.class index dd58a20..ca1ae99 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historico_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historicobat.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historicobat.class index 9fb19d2..bae2368 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historicobat.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historicobat.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historicobat_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historicobat_subs_0.class index 8f4f6e2..bb5226c 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historicobat_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_historicobat_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_mapas.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_mapas.class index f70ea66..b4aa9f9 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_mapas.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_mapas.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_mapas_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_mapas_subs_0.class index e4ec72e..35f412c 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_mapas_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_mapas_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota.class index 5ec91d2..57002bf 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class index fc1911b..142de62 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota_subs_0.class index a1b100c..bf02fb6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nota_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_noventa.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_noventa.class index 1579eb7..f59caac 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_noventa.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_noventa.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente.class index 217a6d5..9c35275 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class index 7257fec..eeea600 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente_subs_0.class index b8734b9..bc22d35 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_nuevocliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos.class index 11d52b7..9c8c171 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class index 68f6ea7..99ccc9b 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos_subs_0.class index e286d0f..d3dde30 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_pedidos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal.class index 4bd847b..7545067 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class index f527d07..c8720dc 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0$ResumableSub_connecta_Click.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0$ResumableSub_connecta_Click.class index 173a2f9..adc61fd 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0$ResumableSub_connecta_Click.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0$ResumableSub_connecta_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0.class index 664079a..d082873 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index dbbea8c..0000000 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1$ResumableSub_connecta_Click.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1$ResumableSub_connecta_Click.class deleted file mode 100644 index ce0acc4..0000000 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1$ResumableSub_connecta_Click.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1.class deleted file mode 100644 index d25d589..0000000 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_principal_subs_1.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos.class index 8e2eb35..9954e43 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class index 479f022..bf7220a 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class index a00edd9..f00def9 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_Busca_TextChanged.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_Busca_TextChanged.class index 8f99c40..43e78ab 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_Busca_TextChanged.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_Busca_TextChanged.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class index 1fbf936..25fcf5c 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0.class index bbcf9cf..5251c15 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_productos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_promos.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_promos.class index fa8d605..e931071 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_promos.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_promos.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_promos_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_promos_subs_0.class index b37e6e8..83806b8 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_promos_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_promos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_ticketsdia.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_ticketsdia.class index c046f9a..da47af9 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_ticketsdia.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_ticketsdia.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_ticketsdia_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_ticketsdia_subs_0.class index 8f0dac7..ffd7630 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_ticketsdia_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_ticketsdia_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable.class index 5c1f21a..0441562 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class index 788a744..73ec1c6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable_subs_0.class index 1a9bbba..786bd4c 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/c_updateavailable_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cameraexclass.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cameraexclass.class index 2455012..9d8b3a7 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cameraexclass.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cameraexclass.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cameraexclass_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cameraexclass_subs_0.class index e1caf40..e4dea0a 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cameraexclass_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cameraexclass_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate.class index d97b639..ef183ea 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class index 13eb5c3..908db29 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class index f78fd39..99f1115 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class index ac66bf4..289441f 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class index 63aa02e..6684792 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class index 3d9b838..7f171fc 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0.class index 2285b49..e5c0498 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cl_appupdate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cpdf.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cpdf.class index ad68e2c..4ca15b9 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cpdf.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cpdf.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cpdf_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cpdf_subs_0.class index 8ceab3f..32454e0 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cpdf_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/cpdf_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/dbrequestmanager.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/dbrequestmanager.class index f133ab3..82acffd 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/dbrequestmanager.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/dbrequestmanager.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/dbrequestmanager_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/dbrequestmanager_subs_0.class index e97f5f4..2066cc6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/dbrequestmanager_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/dbrequestmanager_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/escposprinter.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/escposprinter.class index 27705b7..1e84b18 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/escposprinter.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/escposprinter.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/escposprinter_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/escposprinter_subs_0.class index d5bcf14..379001f 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/escposprinter_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/escposprinter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/fileprovider.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/fileprovider.class index 5dc2a3f..14ff0e1 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/fileprovider.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/fileprovider.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/fileprovider_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/fileprovider_subs_0.class index 6c7f493..93d1079 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/fileprovider_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/fileprovider_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging.class index 75f33d7..5776eae 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging_subs_0$ResumableSub_Service_Start.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging_subs_0$ResumableSub_Service_Start.class index 4548999..af047f6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging_subs_0$ResumableSub_Service_Start.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging_subs_0$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging_subs_0.class index 6d280ce..d54f8a9 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/firebasemessaging_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httpjob.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httpjob.class index 7645d3a..8e1d16b 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httpjob.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httpjob.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httpjob_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httpjob_subs_0.class index 8a06deb..63c1d49 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httpjob_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httpjob_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httputils2service.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httputils2service.class index 446bfc3..b959634 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httputils2service.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httputils2service.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httputils2service_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httputils2service_subs_0.class index 56033bf..df16cb5 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httputils2service_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/httputils2service_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/madewithlove.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/madewithlove.class index 1e91423..39c2e82 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/madewithlove.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/madewithlove.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/madewithlove_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/madewithlove_subs_0.class index 14b6817..57be1ab 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/madewithlove_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/madewithlove_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main.class index 4e70a62..74111bc 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main_subs_0.class index 3008cb3..e945367 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main_subs_1.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main_subs_1.class new file mode 100644 index 0000000..d9ab63f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/main_subs_1.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas.class index cf6e88c..8c3598d 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class index 05803c3..0e3b041 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas_subs_0.class index 905989f..2432269 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/mapa_rutas_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/newinst2.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/newinst2.class index 8bfd317..f1b1e37 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/newinst2.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/newinst2.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/newinst2_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/newinst2_subs_0.class index 0c36130..c0908fd 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/newinst2_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/newinst2_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv.class index 7140a07..767c7a1 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class index dff1df3..863046a 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class index bda1de5..a59d455 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0.class index e4061aa..fcc8f71 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/preoptimizedclv_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/roundslider.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/roundslider.class index 84fc46a..b57b468 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/roundslider.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/roundslider.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/roundslider_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/roundslider_subs_0.class index cff800e..a87805d 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/roundslider_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/roundslider_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel.class index d845f67..a5f9562 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class index b4d0212..a4d4c28 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel_subs_0.class index 721fb1e..0bce111 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/scrollinglabel_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/starter.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/starter.class index 614a6bb..ade16c8 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/starter.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/starter.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/starter_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/starter_subs_0.class index 788bca3..fa9eda6 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/starter_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/starter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/subs.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/subs.class index d987569..2ba634f 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/subs.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/subs.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/subs_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/subs_subs_0.class index d089730..094d078 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/subs_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/subs_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/swiftbutton.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/swiftbutton.class index 2887ce8..fb6dedd 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/swiftbutton.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/swiftbutton.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/swiftbutton_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/swiftbutton_subs_0.class index 5a6049a..db0848d 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/swiftbutton_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/swiftbutton_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class index f9e8e49..b6c6ea2 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP2.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP2.class index ce20f1b..5e25aba 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP2.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP2.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class index 1a3daf8..032aecc 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0.class index 162f67d..508627a 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/tracker_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/v_tclientes.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/v_tclientes.class new file mode 100644 index 0000000..f9000d0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/v_tclientes.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/v_tclientes_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/v_tclientes_subs_0.class new file mode 100644 index 0000000..81b6e7b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/v_tclientes_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/xuiviewsutils.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/xuiviewsutils.class index 933af53..4a4f578 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/xuiviewsutils.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/xuiviewsutils.class differ diff --git a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/xuiviewsutils_subs_0.class b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/xuiviewsutils_subs_0.class index ea259f1..ca6a095 100644 Binary files a/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/xuiviewsutils_subs_0.class and b/B4A/Objects/shell/bin/classes/gunav2/keymon/com/mx/xuiviewsutils_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/subs.txt b/B4A/Objects/shell/bin/classes/subs.txt new file mode 100644 index 0000000..cce2bea --- /dev/null +++ b/B4A/Objects/shell/bin/classes/subs.txt @@ -0,0 +1,5826 @@ +gunav2.keymon.com.mx +0 +62 +b4xmainpage +c_principal +c_cliente +c_noventa +c_productos +c_ticketsdia +c_bitacora +c_clientescompletos +c_clientes +v_tclientes +batteryutilities +c_cuestionario +c_historico +c_historico2 +c_historicobat +c_mapas +c_nota +c_nuevocliente +c_pedidos +c_promos +c_updateavailable +cameraexclass +cpdf +dbrequestmanager +escposprinter +cl_appupdate +b4xbitset +b4xbytesbuilder +b4xcache +b4xcomparatorsort +b4xorderedmap +b4xset +b4xpagesdelegator +b4xpagesmanager +fileprovider +httpjob +preoptimizedclv +animatedcounter +anotherprogressbar +b4xbreadcrumb +b4xcolortemplate +b4xcombobox +b4xdatetemplate +b4xdialog +b4xfloattextfield +b4ximageview +b4xinputtemplate +b4xlisttemplate +b4xloadingindicator +b4xlongtexttemplate +b4xplusminus +b4xradiobutton +b4xsearchtemplate +b4xseekbar +b4xsignaturetemplate +b4xswitch +b4xtimedtemplate +madewithlove +b4xformatter +roundslider +scrollinglabel +swiftbutton +40 +cl_appupdate +b4xpages +b4xbitset +b4xbytesbuilder +b4xcache +b4xcollections +b4xcomparatorsort +b4xorderedmap +b4xset +b4xpagesdelegator +b4xpagesmanager +fileprovider +httpjob +preoptimizedclv +animatedcounter +anotherprogressbar +b4xbreadcrumb +b4xcolortemplate +b4xcombobox +b4xdatetemplate +b4xdialog +b4xfloattextfield +b4ximageview +b4xinputtemplate +b4xlisttemplate +b4xloadingindicator +b4xlongtexttemplate +b4xplusminus +b4xradiobutton +b4xsearchtemplate +b4xseekbar +b4xsignaturetemplate +b4xswitch +b4xtimedtemplate +madewithlove +b4xformatter +roundslider +scrollinglabel +swiftbutton +xuiviewsutils +main,activity_actionbarhomeclick,1,0,35,39 +,actionbarhomeclicked,b4xpages,delegate,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp,starter,encliente +,actionbarhomeclicked,subs,in,starter,encliente +b4xpagesdelegator,activity_actionbarhomeclick,b4xpages,getmanager,b4xpagesmanager,activity_actionbarhomeclick,b4xpagesmanager,gettoppage,b4xpagesmanager,closerequestexists,b4xpagesmanager,handlecloserequest,b4xpagesmanager,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xpagesmanager,logevent,b4xmainpage,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_historico2,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_principal,b_ok_res_click,b4xpages,showpage,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cuestionario,ocultpanelpregunta,subs,haypedido,subs,traecliente,b4xset,contains,b4xpagesmanager,closepageimpl +main,activity_create,1,0,27,30 +b4xpages,delegate,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +b4xpages,mpm,subs,in +b4xpagesmanager,initialize,b4xorderedmap,initialize,b4xset,initialize,b4xpagesmanager,checkmainactivityorientations,b4xpages,internalsetpagesmanager,b4xmainpage,initialize,b4xorderedmap,getsize,b4xorderedmap,put,b4xpagesmanager,createb4xpageinfo,b4xpagesmanager,backgroundstatechanged,b4xorderedmap,remove,b4xpagesmanager,addpageandcreate,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xpagesdelegator,initialize,b4xorderedmap,getvalues,b4xpagesmanager,logevent,b4xpagesmanager,addpage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,getpagefromid,b4xorderedmap,containskey,b4xpagesmanager,showpage,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xpagesmanager,createpageimpl,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,getmanager,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +main,activity_keypress,1,0,41,43 +b4xpages,delegate,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp,starter,encliente +subs,in,starter,encliente +b4xpagesdelegator,activity_keypress,b4xpages,getmanager,b4xpagesmanager,activity_keypress,b4xpagesmanager,gettoppage,b4xpagesmanager,closerequestexists,b4xpagesmanager,handlecloserequest,b4xpagesmanager,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xpagesmanager,logevent,b4xmainpage,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_historico2,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_principal,b_ok_res_click,b4xpages,showpage,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cuestionario,ocultpanelpregunta,subs,haypedido,subs,traecliente,b4xset,contains,b4xpagesmanager,closepageimpl +main,activity_pause,1,0,49,51 +b4xpages,delegate,b4xpages,mpm + +b4xpagesdelegator,activity_pause,b4xpages,getmanager,b4xpagesmanager,activity_pause,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,gettoppage,b4xpagesmanager,backgroundstatechanged,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xorderedmap,getvalues +main,activity_permissionresult,0,0,53,55 +b4xpages,delegate,b4xpages,mpm + +b4xpagesdelegator,activity_permissionresult,b4xpages,getmanager,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +main,activity_resume,1,0,45,47 +b4xpages,delegate,b4xpages,mpm + +b4xpagesdelegator,activity_resume,b4xpages,getmanager,b4xpagesmanager,activity_resume,b4xpagesmanager,backgroundstatechanged,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xorderedmap,getvalues,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +main,create_menu,0,0,57,59 +b4xpages,delegate,b4xpages,mpm + +b4xpagesdelegator,create_menu,b4xpages,getmanager,b4xpagesmanager,createmenu,b4xpagesmanager,gettoppage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +main,globals,0,1,23,25 + + + +main,process_globals,0,1,19,21 + + + +b4xpagesdelegator,activity_actionbarhomeclick,1,0,35,37 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp,starter,encliente +subs,in,starter,encliente +b4xpages,getmanager,b4xpagesmanager,activity_actionbarhomeclick,b4xpagesmanager,gettoppage,b4xpagesmanager,closerequestexists,b4xpagesmanager,handlecloserequest,b4xpagesmanager,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xpagesmanager,logevent,b4xmainpage,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_historico2,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_principal,b_ok_res_click,b4xpages,showpage,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cuestionario,ocultpanelpregunta,subs,haypedido,subs,traecliente,b4xset,contains,b4xpagesmanager,closepageimpl +b4xpagesdelegator,activity_keypress,1,0,27,29 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp,starter,encliente +subs,in,starter,encliente +b4xpages,getmanager,b4xpagesmanager,activity_keypress,b4xpagesmanager,gettoppage,b4xpagesmanager,closerequestexists,b4xpagesmanager,handlecloserequest,b4xpagesmanager,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xpagesmanager,logevent,b4xmainpage,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_historico2,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_principal,b_ok_res_click,b4xpages,showpage,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cuestionario,ocultpanelpregunta,subs,haypedido,subs,traecliente,b4xset,contains,b4xpagesmanager,closepageimpl +b4xpagesdelegator,activity_pause,1,0,52,54 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,activity_pause,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,gettoppage,b4xpagesmanager,backgroundstatechanged,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xorderedmap,getvalues +b4xpagesdelegator,activity_permissionresult,0,0,31,33 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesdelegator,activity_resume,1,0,48,50 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,activity_resume,b4xpagesmanager,backgroundstatechanged,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xorderedmap,getvalues,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesdelegator,create_menu,0,0,39,41 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,createmenu,b4xpagesmanager,gettoppage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesdelegator,initialize,0,0,4,6 + + + +b4xpagesdelegator,class_globals,0,0,1,2 + + + +b4xpagesdelegator,mainform_resize,0,0,44,46 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,mainform_resize,b4xpagesmanager,raiseevent,b4xpagesmanager,getpageinfofromroot,b4xpagesmanager,logevent,b4xorderedmap,get +b4xpagesmanager,initialize,1,0,59,93 +b4xpages,delegate,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +b4xpages,mpm,subs,in +b4xorderedmap,initialize,b4xset,initialize,,checkmainactivityorientations,b4xpages,internalsetpagesmanager,b4xmainpage,initialize,b4xorderedmap,getsize,b4xorderedmap,put,,createb4xpageinfo,,backgroundstatechanged,b4xorderedmap,remove,,addpageandcreate,,raiseevent,,gettoppage,b4xpagesdelegator,initialize,b4xorderedmap,getvalues,,logevent,,addpage,,createpageifneeded,,getpagefromid,b4xorderedmap,containskey,,showpage,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,,createpageimpl,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,subs,calculatotalconpromoxrango,,raiseeventwithresult,,updatemenuitems,,updatestackstring +b4xpagesmanager,addmenuitem,0,0,481,488 + + +,findpifromb4xpage,b4xorderedmap,getvalues +b4xpagesmanager,addpage,1,0,141,149 +starter,ruta,b4xpages,mpm,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xorderedmap,containskey,b4xorderedmap,put,,createb4xpageinfo,b4xorderedmap,getsize,,showpage,,getpagefromid,,gettoppage,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,,createpageimpl,,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,addpage,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,addpageandcreate,1,0,151,154 +starter,ruta,b4xpages,mpm,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,addpage,,createpageifneeded,,getpagefromid,b4xorderedmap,containskey,b4xorderedmap,put,,createb4xpageinfo,b4xorderedmap,getsize,,showpage,,gettoppage,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,,createpageimpl,,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,closepage,1,0,209,230 + + +,findpifromb4xpage,b4xset,contains,,gettoppage,b4xset,getsize,,closepageimpl,,toppagedisappear,b4xset,remove,,showpageimpl,,toppageappear,b4xorderedmap,getvalues,b4xorderedmap,containskey,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,raiseeventwithresult,,logevent,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,findpifromb4xpage,0,0,306,313 + + +b4xorderedmap,getvalues +b4xpagesmanager,getpage,0,0,394,396 + + +,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys +b4xpagesmanager,settitle,0,0,363,367 + + +,findpifromb4xpage,b4xorderedmap,getvalues +b4xpagesmanager,showpage,1,0,156,178 +starter,ruta,b4xpages,mpm,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,getpagefromid,,gettoppage,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,,createpageimpl,b4xorderedmap,put,,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,,showpage,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,showpageandremovepreviouspages,1,0,180,207 +starter,ruta,b4xpages,mpm,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,gettoppage,,showpage,,getpagefromid,,createpageifneeded,,toppagedisappear,b4xset,aslist,b4xset,clear,b4xset,add,,showpageimpl,,toppageappear,b4xset,getsize,b4xorderedmap,get,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xset,remove,,createpageimpl,b4xorderedmap,put,,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,b4xorderedmap,clear +b4xpagesmanager,activity_actionbarhomeclick,1,0,129,138 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp,starter,encliente +subs,in,starter,encliente +,gettoppage,,closerequestexists,,handlecloserequest,,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,logevent,b4xmainpage,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_historico2,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_principal,b_ok_res_click,b4xpages,showpage,b4xpages,getmanager,,showpage,,getpagefromid,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cuestionario,ocultpanelpregunta,subs,haypedido,subs,traecliente,b4xset,contains,,closepageimpl +b4xpagesmanager,activity_keypress,1,0,468,479 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp,starter,encliente +subs,in,starter,encliente +,gettoppage,,closerequestexists,,handlecloserequest,,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,logevent,b4xmainpage,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_historico2,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_principal,b_ok_res_click,b4xpages,showpage,b4xpages,getmanager,,showpage,,getpagefromid,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cuestionario,ocultpanelpregunta,subs,haypedido,subs,traecliente,b4xset,contains,,closepageimpl +b4xpagesmanager,activity_pause,1,0,635,638 + + +,raiseeventwithresult,,gettoppage,,backgroundstatechanged,,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xorderedmap,getvalues +b4xpagesmanager,raiseevent,0,0,548,564 + + +,logevent +b4xpagesmanager,gettoppage,0,0,592,595 + + +b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesmanager,activity_resume,1,0,610,616 + + +,backgroundstatechanged,,raiseevent,,gettoppage,b4xorderedmap,getvalues,,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesmanager,createmenu,0,0,494,512 + + +,gettoppage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesmanager,mainform_resize,0,0,585,589 + + +,raiseevent,,getpageinfofromroot,,logevent,b4xorderedmap,get +b4xpagesmanager,closerequestexists,0,0,534,536 + + + +b4xpagesmanager,handlecloserequest,1,0,538,545 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp,starter,encliente +subs,in,starter,encliente +,logevent,b4xmainpage,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_historico2,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,,closepage,c_principal,b_ok_res_click,b4xpages,showpage,b4xpages,getmanager,,showpage,,getpagefromid,,gettoppage,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cuestionario,ocultpanelpregunta,subs,haypedido,subs,traecliente,b4xset,contains,,closepageimpl +b4xpagesmanager,raiseeventwithresult,1,0,566,583 + + +,logevent +b4xpagesmanager,backgroundstatechanged,1,0,618,633 + + +b4xorderedmap,getvalues,,logevent +b4xpagesmanager,createb4xpageinfo,0,0,420,428 + + + +b4xpagesmanager,createpageifneeded,1,0,352,361 +starter,ruta,b4xpages,mpm,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xorderedmap,getsize,,createpageimpl,b4xorderedmap,put,,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,,showpage,,getpagefromid,,gettoppage,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xpages,mainpage,b4xpages,getnativeparent,,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,getpagefromid,0,0,398,405 + + +b4xorderedmap,get,b4xorderedmap,getkeys +b4xpagesmanager,logevent,0,0,640,645 + + + +b4xpagesmanager,checkmainactivityorientations,0,0,96,121 + + + +b4xpagesmanager,class_globals,0,0,22,54 + + + +b4xpagesmanager,closepageimpl,0,0,315,331 + + +b4xset,getsize,b4xorderedmap,getsize +b4xpagesmanager,toppagedisappear,1,0,277,286 + + +,gettoppage,,raiseeventwithresult,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,logevent +b4xpagesmanager,showpageimpl,0,0,333,350 + + + +b4xpagesmanager,toppageappear,0,0,288,304 + + +,gettoppage,,raiseevent,b4xset,getsize,,updatemenuitems,,updatestackstring,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,logevent +b4xpagesmanager,createb4xpageparent,0,0,598,608 + + + +b4xpagesmanager,createpageimpl,0,0,369,392 + + +,createb4xpageparent +b4xpagesmanager,getpageinfofromroot,0,0,407,409 + + +b4xorderedmap,get +b4xpagesmanager,updatemenuitems,0,0,490,492 + + + +b4xpagesmanager,updatestackstring,0,0,647,659 + + +b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +starter,application_error,0,0,149,158 +,logcat,,logs,subs,errorlog,,ruta,subs,kmt + +subs,revisabd,subs,fechakmt +starter,btadmin_statechanged,0,0,63,67 +,logger,,bluetoothstate,,btadmin +,bluetoothstate + +starter,envia_ultima_gps,0,0,101,138 +,skmt,,ruta,,encuesta,,reqmanager,,timer1,,interval,b4xpages,mpm +,skmt +b4xpages,mainpage,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +starter,gps_locationchanged,0,0,89,91 + + + +starter,jobdone,0,0,160,173 +b4xpages,mpm,httputils2service,tempfolder + +b4xpages,mainpage,dbrequestmanager,handlejob,b4xpages,getmanager,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully +starter,logcat_logcatdata,0,0,141,146 +,logs + + +starter,process_globals,0,1,6,39 +,server,,interval,,ruta,,logger,,marcacel,,ph,,enventa,,muestraprogreso,,idcliente,,encuesta,,encliente +,server,,interval,,ruta,,logger,,marcacel,,enventa,,muestraprogreso,,idcliente,,encuesta,,encliente + +starter,service_create,0,0,41,61 +,gps,,btadmin,,timer1,,interval,,logs,,ffileprovider,,ubicacionactual,,skmt + +fileprovider,initialize +starter,service_destroy,0,0,97,99 + + + +starter,service_start,0,0,69,82 +,marcacel,,skmt,,server,,reqmanager,,ruta,subs,kmt,subs,errorlog +,server +subs,revisabd,dbrequestmanager,initialize +starter,service_taskremoved,0,0,93,95 + + + +starter,timer1_tick,0,0,84,87 +,skmt,,ruta,,encuesta,,reqmanager,,timer1,,interval,b4xpages,mpm +,skmt +,envia_ultima_gps,b4xpages,mainpage,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +subs,revisabd,0,0,202,212 +starter,ruta,,kmt,,errorlog + + +subs,fechakmt,0,0,81,89 + + + +subs,traeusarintentbdwa,0,0,1751,1760 +starter,skmt + + +subs,guardaappinfo,0,0,1314,1318 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,agregacolumna,0,0,1293,1311 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,importabddesdewhatsapp,1,0,1708,1748 +,in,starter,skmt,b4xpages,mpm +,in +b4xpages,mainpage,b4xpages,getnativeparent,b4xpages,getmanager,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +subs,panelvisible,0,0,564,569 + + + +subs,traetipoventadebd,0,0,1876,1887 +starter,skmt,starter,idcliente + + +subs,traealmacen,0,0,643,653 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,parsehttperror,0,0,1695,1705 + + + +subs,traeruta,0,0,673,704 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traetablaprods,0,0,1853,1859 + + + +subs,fechanormal,0,0,214,222 + + + +subs,validapromoprocterpro3009,1,0,1602,1629 +starter,skmt + + +subs,calculatotalconpromoxrango,0,0,2232,2264 +starter,skmt + + +subs,centrapanel,0,0,577,579 + + + +subs,centrapanelv,0,0,582,584 + + + +subs,guardavariable,0,0,1890,1893 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,revisaforzaractualizacion,0,0,1666,1693 +starter,skmt + + +subs,logjobdoneresultados,0,0,2488,2495 + + + +subs,traetipocliente,0,0,1967,1978 +starter,skmt + + +subs,calculatotalconpromoxrango1,0,0,2267,2299 +starter,skmt + + +subs,calculatotalconpromoxrango2,0,0,2303,2335 +starter,skmt + + +subs,traecliente,0,0,819,830 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,calculatotalconpromoxrango5,0,0,2417,2449 +starter,skmt + + +subs,calculatotalconpromoxrango6,0,0,2453,2485 +starter,skmt + + +subs,traeruta2,0,0,773,784 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traenombrecliente,0,0,1506,1513 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traerutassup,0,0,800,817 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,deletefolder,0,0,1913,1923 + + +,deletefolder +subs,actualizaproducto,0,0,1762,1827 +starter,skmt,b4xpages,mpm + +,traetablaprods,,traecliente,,guardaproductosingestion,b4xpages,mainpage,b4xpages,getmanager +subs,guardaproductosingestion,0,0,1833,1850 +starter,skmt,b4xpages,mpm + +,traetablaprods,,traecliente,b4xpages,mainpage,b4xpages,getmanager +subs,alcanzanlosvariablesparapromo,0,0,2178,2229 + + + +subs,bitacora,0,0,1415,1457 + + + +subs,borraarribade100errores,0,0,434,440 +,errorlog,starter,ruta,,kmt + +,revisabd +subs,borraarribade600renglonesbitacora,0,0,443,455 +starter,logger,starter,ruta,,kmt,,errorlog,b4xpages,mpm + +,revisabd,b4xpages,mainpage,b4xpages,getmanager +subs,borralogdb,0,0,318,322 +,kmt + + +subs,borramosarchivogps,0,0,193,199 + + + +subs,borrapedidoclienteactual,0,0,722,752 +starter,skmt + +,traetablaprods +subs,buscadbusuario,0,0,596,603 +,kmt + + +subs,calculatotalconpromoxrango3,0,0,2338,2374 +starter,skmt + + +subs,calculatotalconpromoxrango4,0,0,2377,2414 +starter,skmt + + +subs,centraedittext,0,0,591,593 + + + +subs,centraetiqueta,0,0,572,574 + + + +subs,centralistview,0,0,52,54 + + + +subs,centraprogressbar,0,0,587,589 + + + +subs,compress,0,0,58,67 +,gzip,,su + + +subs,copiadb,0,0,530,561 + + + +subs,cuantosvariablestengobd,0,0,1244,1255 + + + +subs,dameerroresjson,0,0,468,495 +,gzip,,su + +,compress +subs,dameruta,0,0,149,176 +,subslogs,,rutahrsatras,,kmt,starter,ruta,,rutamaxpoints,b4xpages,mpm,,gzip,,su + +,fechakmt,,fechainiciohoy,b4xpages,mainpage,,compress,b4xpages,getmanager +subs,fechainiciohoy,0,0,277,284 + + + +subs,dameusuariodedb,0,0,606,615 +,kmt,starter,ruta,,errorlog + +,revisabd +subs,decompress,0,0,70,78 +,su + + +subs,deleteerrorlog_db,0,0,186,190 +,errorlog + + +subs,deletegps_db,0,0,179,183 +,kmt + + +subs,enviawhatsappmsg,0,0,1925,1960 + + + +subs,fechakmt2ticks,0,0,498,518 + + + +subs,getphnid,0,0,23,40 +,devmodel,,phn +,devmodel + +subs,getssid,0,0,225,230 + + + +subs,guardainfoenarchivo,0,0,120,133 + + + +subs,guardainfoenbd,0,0,136,146 +,subslogs,,kmt + + +subs,guardaproducto,0,0,861,871 +b4xpages,mpm,starter,skmt,starter,idcliente + +b4xpages,mainpage,,traerutabitacora,,traetablaprods,,traetipoventadebd,b4xpages,getmanager +subs,traerutabitacora,0,0,786,797 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,guardaproductosin,0,0,626,640 + + + +subs,guardaproductox,0,0,618,624 + + + +subs,haypedido,0,0,852,859 +b4xpages,mpm + +b4xpages,mainpage,,traecliente,b4xpages,getmanager +subs,iniciaactividad,1,0,1516,1524 +b4xpages,mpm,starter,ruta,starter,skmt,,in,starter,reqmanager,starter,idcliente,starter,rp +,in +b4xpages,mainpage,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,,agregacolumna,,traeusarintentbdwa,,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,,traetipoventadebd,,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +subs,insertarenglonespruebaenerrorlog,0,0,458,465 +,errorlog,starter,ruta,,kmt + +,revisabd,,fechakmt +subs,installapk,0,0,520,527 + + + +subs,invsuficientepromoesp,0,0,1374,1394 +b4xpages,mpm,starter,skmt,starter,idcliente + +b4xpages,mainpage,,traetablaprods,,traetipoventadebd,b4xpages,getmanager +subs,json2map,0,0,233,245 +,kmt + +,log2db,,fechakmt +subs,log2db,0,0,287,290 +,kmt + +,fechakmt +subs,map2json,0,0,248,255 + + + +subs,masdexxmins,0,0,293,299 + + + +subs,masdexxminskmt,0,0,302,315 + + +,fechakmt2ticks +subs,notihigh,0,0,92,103 + + + +subs,notilowreturn,0,0,106,117 + + + +subs,pedidoguardado,0,0,708,717 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,procesapromocion,0,0,1074,1107 +starter,tabla,b4xpages,mpm,starter,skmt,starter,idcliente + +,traepromo,,traemaxpromos,,traepromosvendidas,,restafijospromo,,alcanzanlosvariablesparapromo,b4xpages,mainpage,b4xpages,getmanager,,traecliente,,traemosinventariodisponibleparapromo,,traetablaprods,,traetipoventadebd +subs,traepromo,0,0,2013,2096 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traemaxpromos,0,0,1029,1056 +b4xpages,mpm + +b4xpages,mainpage,,traecliente,b4xpages,getmanager +subs,traepromosvendidas,0,0,1059,1072 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,restafijospromo,0,0,973,1004 +b4xpages,mpm,starter,skmt,starter,idcliente + +,traemosinventariodisponibleparapromo,b4xpages,mainpage,,traetablaprods,,traetipoventadebd,b4xpages,getmanager +subs,process_globals,0,1,3,20 +,rutamaxpoints,,rutahrsatras,,subslogs,,intentusado +,rutamaxpoints,,rutahrsatras,,subslogs,,intentusado + +subs,traemosinventariodisponibleparapromo,0,0,952,968 +b4xpages,mpm,starter,skmt,starter,idcliente + +b4xpages,mainpage,,traetablaprods,,traetipoventadebd,b4xpages,getmanager +subs,revisaflp,0,0,365,406 +tracker,flp,tracker,uugcoords,,kmt + +,log2db,,fechakmt +subs,revisaimpreso,0,0,1906,1911 +starter,skmt + + +subs,revisamaxpromosprodsfijosporinventario,0,0,1153,1178 +b4xpages,mpm,starter,skmt,starter,idcliente + +,traemaxpromos,,traemosinventariodisponibleparapromo,b4xpages,mainpage,,traecliente,b4xpages,getmanager,,traetablaprods,,traetipoventadebd +subs,revisamaxpromosprodsfijosporinventario2,0,0,1110,1150 +b4xpages,mpm,starter,skmt,starter,idcliente + +,traemosinventariodisponibleparapromo,,traemaxpromos,b4xpages,mainpage,,traetablaprods,,traetipoventadebd,b4xpages,getmanager,,traecliente +subs,revisamaxpromosprodsvariablesporinventario,0,0,2103,2174 +b4xpages,mpm,starter,skmt,starter,idcliente + +,traemosinventariodisponibleparapromo,,traemaxpromos,,revisamaxpromosprodsfijosporinventario,b4xpages,mainpage,,traetablaprods,,traetipoventadebd,b4xpages,getmanager,,traecliente +subs,revisapro2265,0,0,1632,1640 +starter,skmt + + +subs,revisapro3054,0,0,1643,1651 +starter,skmt + + +subs,revisapro3055,0,0,1654,1662 +starter,skmt + + +subs,revisaprodfueradepromo,0,0,1863,1873 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,revisapromoprocterpro3009,1,0,1527,1599 +starter,skmt,b4xpages,mpm,starter,idcliente,,kmt,starter,ruta,,errorlog + +,traealmacen,,traetablaprods,,traetipoventadebd,,traecliente,,guardaproducto,,traeprodnombre,,traefecha,,traeusuariodebd,,traeruta,b4xpages,mainpage,b4xpages,getmanager,,traerutabitacora,,revisabd +subs,traeprodnombre,0,0,656,669 +b4xpages,mpm,starter,skmt,starter,idcliente + +b4xpages,mainpage,,traetablaprods,,traetipoventadebd,b4xpages,getmanager +subs,traefecha,0,0,832,837 + + + +subs,traeusuariodebd,0,0,840,849 +,kmt,starter,ruta,,errorlog + +,revisabd +subs,revisauug,0,0,347,362 +tracker,flp,tracker,uugcoords,starter,logger,,kmt +tracker,uugcoords +,fechakmt +subs,setdivider,0,0,42,49 + + + +subs,totalpedido,0,0,755,770 +starter,skmt,b4xpages,mpm + +,traecliente,b4xpages,mainpage,b4xpages,getmanager +subs,traeinventario,0,0,1980,1991 +b4xpages,mpm + +b4xpages,mainpage,,traetablaprods,b4xpages,getmanager +subs,traemontoprod,0,0,1321,1339 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traemontoprod2,0,0,1343,1372 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traeprodiddebd,0,0,1259,1271 +b4xpages,mpm,starter,skmt,starter,idcliente + +b4xpages,mainpage,,traetablaprods,,traetipoventadebd,b4xpages,getmanager +subs,traepromoiddebd,0,0,1276,1291 +b4xpages,mpm,starter,skmt,starter,idcliente + +b4xpages,mainpage,,traetablaprods,,traetipoventadebd,b4xpages,getmanager +subs,traetotalesclienteactual,0,0,1994,2002 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traevariable,0,0,1896,1904 +starter,skmt + + +subs,vendidopromoesp,0,0,1396,1411 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +b4xpages,mainpage,0,0,73,75 +,mpm + +,getmanager +b4xpages,getmanager,0,0,14,16 +,mpm + + +b4xpages,addpage,1,0,37,39 +,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,getmanager,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xorderedmap,put,b4xpagesmanager,createb4xpageinfo,b4xorderedmap,getsize,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xpagesmanager,createpageimpl,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,mainpage,,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,showpage,1,0,50,52 +,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,,mainpage,,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,getpage,0,0,27,29 +,mpm + +,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys +b4xpages,getnativeparent,0,0,79,88 +,mpm + +,getmanager,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,showpageandremovepreviouspages,1,0,56,58 +,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,getmanager,b4xpagesmanager,showpageandremovepreviouspages,b4xpagesmanager,gettoppage,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,aslist,b4xset,clear,b4xset,add,b4xpagesmanager,showpageimpl,b4xpagesmanager,toppageappear,b4xset,getsize,b4xorderedmap,get,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xset,remove,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,,mainpage,,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xorderedmap,clear +b4xpages,addmenuitem,0,0,91,93 +,mpm + +,getmanager,b4xpagesmanager,addmenuitem,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,addpageandcreate,1,0,42,44 +,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,getmanager,b4xpagesmanager,addpageandcreate,b4xpagesmanager,addpage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,getpagefromid,b4xorderedmap,containskey,b4xorderedmap,put,b4xpagesmanager,createb4xpageinfo,b4xorderedmap,getsize,b4xpagesmanager,showpage,b4xpagesmanager,gettoppage,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xpagesmanager,createpageimpl,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,,mainpage,,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,closepage,1,0,62,64 +,mpm + +,getmanager,b4xpagesmanager,closepage,b4xpagesmanager,findpifromb4xpage,b4xset,contains,b4xpagesmanager,gettoppage,b4xset,getsize,b4xpagesmanager,closepageimpl,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xpagesmanager,toppageappear,b4xorderedmap,getvalues,b4xorderedmap,containskey,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,logevent,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,getpageid,0,0,32,34 +,mpm + +,getmanager,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,internalsetpagesmanager,0,0,19,22 +,delegate,,mpm +,mpm +b4xpagesdelegator,initialize +b4xpages,isinitialized,0,0,9,11 +,mpm + + +b4xpages,process_globals,0,1,1,5 + + + +b4xpages,settitle,0,0,68,70 +,mpm + +,getmanager,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +dbrequestmanager,executecommand,0,0,78,82 + + +,executebatch,,startjob,,writeint,,writeobject,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,handlejob,0,0,210,255 +httputils2service,tempfolder + +httpjob,getinputstream,,readobject,,readint,,readbyte,,readbytesfully +dbrequestmanager,initialize,0,0,21,24 + + + +dbrequestmanager,executequery,0,0,30,42 + + +,startjob,,writeobject,,writeint,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,tracknext,0,0,339,354 + + + +dbrequestmanager,trackinit,0,0,331,337 + + + +dbrequestmanager,bytestoimage,0,0,277,283 + + + +dbrequestmanager,class_globals,0,0,2,17 + + + +dbrequestmanager,executebatch,0,0,64,75 + + +,startjob,,writeint,,writeobject,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,startjob,0,0,84,95 + + +httpjob,initialize,,writeobject,,writeint +dbrequestmanager,writeint,0,0,192,196 + + + +dbrequestmanager,writeobject,0,0,110,145 + + +,writeint +dbrequestmanager,writelist,0,0,97,108 + + +,writeobject,,writeint +dbrequestmanager,executequery3,0,0,49,59 + + +,startjob,,writeobject,,writeint,,writelist,httpjob,postbytes,httpjob,getrequest,httpjob,initialize,httpjob,addscheme +dbrequestmanager,filetobytes,0,0,258,265 + + + +dbrequestmanager,readobject,0,0,147,181 + + +,readbytesfully,,readbyte,,readint +dbrequestmanager,readint,0,0,198,201 + + +,readbytesfully +dbrequestmanager,readbyte,0,0,203,207 + + + +dbrequestmanager,imagetobytes,0,0,268,274 + + + +dbrequestmanager,printtable,0,0,286,302 + + + +dbrequestmanager,readbytesfully,0,0,183,190 + + + +dbrequestmanager,requesttimes,0,0,304,328 + + + +fileprovider,initialize,0,0,8,19 + + + +fileprovider,getfileuri,0,0,22,36 + + + +fileprovider,setfileuriasintentdata,0,0,40,44 + + +,getfileuri +fileprovider,class_globals,0,0,2,6 + + + +b4xmainpage,b_aceptar_click,1,0,996,1044 + + +dbrequestmanager,executequery,b4xswitch,setvalue,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,b4xswitch,setvalueimpl,b4xswitch,draw,xuiviewsutils,setalpha +b4xmainpage,b_actualizacion_click,0,0,1129,1131 + + + +b4xmainpage,b_apk_click,0,0,872,874 + + + +b4xmainpage,b_cancelarcodigo_click,1,0,990,994 + + +b4xswitch,setvalue,b4xswitch,setvalueimpl,b4xswitch,draw,xuiviewsutils,setalpha +b4xmainpage,b_enviobd_click,0,0,935,951 + + +fileprovider,getfileuri +b4xmainpage,b_menu_click,0,0,809,811 + + + +b4xmainpage,b_regesar_click,0,0,911,918 +starter,server,starter,reqmanager +starter,server +dbrequestmanager,initialize +b4xmainpage,b4xpage_appear,1,0,326,438 +starter,server,starter,muestraprogreso,starter,rp,starter,gps,starter,skmt,b4xpages,mpm +starter,muestraprogreso +subs,traeusarintentbdwa,dbrequestmanager,initialize,,muestraprogreso,dbrequestmanager,executequery,,b4xpage_appear,batteryutilities,initialize,batteryutilities,getbatteryinformation,,dameusuario,b4xswitch,setvalue,subs,guardaappinfo,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,b4xswitch,setvalueimpl,b4xswitch,draw,xuiviewsutils,setalpha,b4xpages,mainpage,b4xpages,getmanager +b4xmainpage,muestraprogreso,0,0,877,879 + + + +b4xmainpage,dameusuario,0,0,817,829 + + + +b4xmainpage,b4xpage_closerequest,0,0,779,791 + + + +b4xmainpage,b4xpage_created,1,0,107,324 +starter,ruta,b4xpages,mpm,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,getmanager,,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xorderedmap,put,b4xpagesmanager,createb4xpageinfo,b4xorderedmap,getsize,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xpagesmanager,createpageimpl,b4xpagesmanager,logevent,,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xmainpage,initialize,0,0,102,104 + + + +b4xmainpage,b4xswitch1_valuechanged,0,0,953,961 + + + +b4xmainpage,b4xswitch2_valuechanged,0,0,963,985 + + +subs,panelvisible,b4xswitch,setvalue,b4xswitch,setvalueimpl,b4xswitch,draw,xuiviewsutils,setalpha +b4xmainpage,cb_importarbdwa_checkedchange,0,0,1133,1137 +starter,skmt + + +b4xmainpage,class_globals,0,0,18,100 +starter,skmt,starter,idcliente + +subs,traetipoventadebd +b4xmainpage,copiadb,0,0,847,870 +starter,rp + + +b4xmainpage,entrar_click,1,0,441,552 +starter,server,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,subs,traealmacen,dbrequestmanager,executequery,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +b4xmainpage,entrar_longclick,0,0,554,556 + + + +b4xmainpage,gps_locationchanged,1,0,793,798 + + + +b4xmainpage,i_engrane_click,1,0,886,909 +starter,server + +subs,panelvisible +b4xmainpage,jobdone,1,0,562,777 +starter,encuesta,httputils2service,tempfolder,b4xpages,mpm,starter,skmt,starter,ruta,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,parsehttperror,dbrequestmanager,handlejob,b4xpages,mainpage,subs,traeruta,dbrequestmanager,executecommand,b4xswitch,setvalue,httpjob,release,b4xpages,showpage,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,b4xswitch,setvalueimpl,b4xswitch,draw,xuiviewsutils,setalpha,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xmainpage,lv_server_itemclick,1,0,924,932 +starter,server,starter,reqmanager +starter,server +dbrequestmanager,initialize +b4xmainpage,ocultaprogreso,0,0,882,884 + + + +b4xmainpage,p_validacion_click,0,0,987,988 + + + +b4xmainpage,pdf_click,0,0,813,815 + + + +b4xmainpage,popupmenu_dismiss,0,0,800,802 + + + +b4xmainpage,popupmenu_menuitemclick,0,0,804,807 + + + +b4xmainpage,revisaactualizacion,1,0,1046,1094 +starter,newapp,httputils2service,tempfolder,b4xpages,mpm + +,traearchivover,httpjob,getstring,b4xpages,mainpage,httpjob,release,httpjob,initialize,httpjob,getrequest,httpjob,download,httpjob,addscheme,httpjob,getstring2,b4xpages,getmanager +b4xmainpage,traearchivover,0,0,1102,1108 + + +httpjob,initialize,httpjob,getrequest,httpjob,download,httpjob,addscheme +b4xmainpage,user_enterpressed,0,0,558,560 + + + +b4xmainpage,versionrevisadahoy,0,0,1111,1127 + + + +b4xswitch,setvalue,0,0,108,111 + + +,setvalueimpl,,draw,xuiviewsutils,setalpha +b4xswitch,base_resize,0,0,148,150 + + + +b4xswitch,class_globals,0,0,7,25 + + + +b4xswitch,designercreateview,0,0,33,58 + + +,setvalueimpl,,draw,xuiviewsutils,setalpha +b4xswitch,setvalueimpl,0,0,81,106 + + +,draw,xuiviewsutils,setalpha +b4xswitch,draw,0,0,126,146 + + + +b4xswitch,getenabled,0,0,122,124 + + + +b4xswitch,getvalue,0,0,113,115 + + + +b4xswitch,initialize,0,0,27,30 + + + +b4xswitch,pnl_click,0,0,70,79 +xuiviewsutils,utilsinitialized +xuiviewsutils,utilsinitialized +xuiviewsutils,performhapticfeedback,,setvalueimpl,xuiviewsutils,initialize,,draw,xuiviewsutils,setalpha +b4xswitch,setenabled,0,0,117,120 + + +,setvalueimpl,,draw,xuiviewsutils,setalpha +batteryutilities,initialize,0,0,7,9 + + + +batteryutilities,getbatteryinformation,0,0,22,28 + + + +batteryutilities,class_globals,0,0,2,5 + + + +batteryutilities,getbatterytechnolgy,0,0,30,36 + + + +c_principal,initialize,0,0,263,265 + + + +c_principal,addtitle,1,0,3915,3923 + + + +c_principal,b_abordo_click,1,0,3965,3969 +starter,skmt,b4xpages,mpm,starter,ruta,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_clientesvisitados_click,1,0,3975,3977 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,tickets_dia_click,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,tickets_dia_click,1,0,3756,3758 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_comm_click,1,0,3796,3833 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_principal,b_hacerpedido_click,1,0,3987,3989 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,hacer_ped_click,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,hacer_ped_click,1,0,3748,3750 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_mapa_click,0,0,2954,2957 +b4xpages,mpm + +b4xpages,getpage,b4xpages,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys +c_principal,b_marcas_click,1,0,3848,3913 +b4xpages,mpm + +subs,panelvisible,b4xpages,mainpage,,addtitle,subs,traetablaprods,b4xpages,getmanager +c_principal,b_nuevocliente_click,1,0,3983,3985 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,nvo_cliente_click,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,nvo_cliente_click,1,0,3752,3754 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_ok_comiss_click,0,0,3835,3846 + + + +c_principal,b_ok_panel5_click,0,0,3925,3937 + + + +c_principal,b_ok_pas_click,1,0,3117,3259 +starter,skmt,starter,gps,starter,marcacel,b4xpages,mpm,starter,ruta,starter,encuesta,starter,reqmanager,starter,timer1,starter,interval,starter,idcliente +starter,skmt +,b4xpage_appear,b4xpages,mainpage,c_bitacora,mandabitacora,subs,fechanormal,subs,traealmacen,subs,traeruta,,checapedido,subs,traetipoventadebd,subs,validapromoprocterpro3009,dbrequestmanager,executequery,batteryutilities,initialize,batteryutilities,getbatteryinformation,subs,calculatotalconpromoxrango,starter,envia_ultima_gps,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,c_bitacora,traenombrecliente,c_bitacora,traerutassup +c_principal,b4xpage_appear,1,0,382,580 +starter,gps,starter,marcacel,starter,skmt,b4xpages,mpm,starter,ruta,starter,encuesta,starter,reqmanager,starter,timer1,starter,interval +starter,skmt +subs,validapromoprocterpro3009,b4xpages,mainpage,dbrequestmanager,executequery,,b4xpage_appear,batteryutilities,initialize,batteryutilities,getbatteryinformation,subs,calculatotalconpromoxrango,starter,envia_ultima_gps,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch +c_principal,checapedido,0,0,3999,4028 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_principal,b_ok_res_click,0,0,3265,3276 + + + +c_principal,b_resdia_click,1,0,3991,3993 +b4xpages,mpm,starter,skmt + +,resdia_click,b4xpages,mainpage,subs,traetablaprods,subs,calculatotalconpromoxrango,subs,calculatotalconpromoxrango1,subs,calculatotalconpromoxrango2,subs,traecliente,subs,calculatotalconpromoxrango5,subs,calculatotalconpromoxrango6,b4xpages,getmanager +c_principal,resdia_click,1,0,3297,3746 +b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,traetablaprods,subs,calculatotalconpromoxrango,subs,calculatotalconpromoxrango1,subs,calculatotalconpromoxrango2,subs,traecliente,subs,calculatotalconpromoxrango5,subs,calculatotalconpromoxrango6,b4xpages,getmanager +c_principal,b_traec_click,1,0,3995,3997 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_ubicar_click,0,0,3979,3981 + + +,btn_ubicar_click +c_principal,btn_ubicar_click,0,0,3764,3766 + + + +c_principal,b4xpage_closerequest,1,0,2845,2855 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,b_ok_res_click,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b4xpage_created,1,0,268,378 +starter,reqmanager,b4xpages,mpm,starter,skmt,starter,idcliente + +c_bitacora,initialize,b4xpages,mainpage,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,b4xpages,getmanager +c_principal,busca_click,1,0,2950,2952 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,carga_click,1,0,3293,3295 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,cargar_click,1,0,1138,1588 +starter,skmt,starter,marcacel,b4xpages,mpm + +b4xpages,mainpage,subs,panelvisible,subs,centrapanel,subs,centrapanelv,dbrequestmanager,executequery,subs,guardavariable,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch +c_principal,class_globals,0,0,1,260 +starter,skmt,starter,idcliente + +subs,traetipoventadebd +c_principal,connecta_click,1,0,2857,2948 +starter,server,starter,nuevolink,starter,newapp,starter,skmt,b4xpages,mpm,starter,ruta,subs,in,starter,reqmanager,starter,idcliente,starter,rp +starter,nuevolink,subs,in +subs,revisaforzaractualizacion,b4xpages,mainpage,dbrequestmanager,initialize,b4xpages,showpage,dbrequestmanager,executequery,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,connecta_longclick,0,0,2808,2843 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,e_ruta_click,0,0,3939,3949 +starter,skmt,b4xpages,mpm + +subs,revisaforzaractualizacion,b4xpages,mainpage,dbrequestmanager,executequery,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,e_ruta_enterpressed,1,0,3023,3052 +b4xpages,mpm,starter,skmt + +c_bitacora,mandabitacora,subs,fechanormal,subs,traealmacen,subs,traeruta,b4xpages,mainpage,c_bitacora,traenombrecliente,c_bitacora,traerutassup,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,e_ruta_textchanged,1,0,3769,3783 + + + +c_principal,e_ruta2_textchanged,0,0,3785,3794 + + + +c_principal,gps_locationchanged,0,0,3760,3762 + + + +c_principal,inv_click,0,0,3054,3088 +b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executequery,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,jobdone,1,0,1592,2806 +starter,skmt,starter,encuesta,starter,marcacel,b4xpages,mpm,httputils2service,tempfolder + +b4xpages,mainpage,dbrequestmanager,tracknext,subs,parsehttperror,dbrequestmanager,handlejob,dbrequestmanager,executequery,dbrequestmanager,executecommand,subs,logjobdoneresultados,httpjob,release,b4xpages,getmanager,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch +c_principal,nuevo_click,1,0,3261,3263 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,p_marcasres_click,0,0,3953,3955 + + + +c_principal,p_resumen_click,0,0,3289,3291 + + + +c_principal,p_sombra_click,0,0,3957,3959 + + + +c_principal,p_transparenteactualizacion_click,0,0,3961,3963 + + + +c_principal,p1_click,0,0,3971,3973 + + + +c_principal,recalculoxcant,0,0,582,634 +b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,traealmacen,subs,traetipocliente,b4xpages,getmanager +c_principal,resumen_click,0,0,3278,3287 + + + +c_principal,subir_click,0,0,636,1136 +starter,skmt,starter,marcacel,b4xpages,mpm + +,checapedido,subs,panelvisible,subs,centrapanel,subs,centrapanelv,b4xpages,mainpage,dbrequestmanager,trackinit,dbrequestmanager,executecommand,subs,traealmacen,subs,traeruta,subs,traeruta2,subs,traenombrecliente,subs,traerutassup,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,t1_tick,0,0,3090,3115 +b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executequery,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,t2_tick,1,0,2959,3021 +starter,skmt,starter,ffileprovider,b4xpages,mpm,starter,gps,starter,marcacel,starter,ruta,starter,encuesta,starter,reqmanager,starter,timer1,starter,interval +starter,skmt +b4xpages,mainpage,subs,deletefolder,,b4xpage_appear,b4xpages,getmanager,subs,validapromoprocterpro3009,dbrequestmanager,executequery,batteryutilities,initialize,batteryutilities,getbatteryinformation,subs,calculatotalconpromoxrango,starter,envia_ultima_gps,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch +c_clientes,initialize,0,0,30,32 + + + +c_clientes,b_qr_click,0,0,197,202 + + + +c_clientes,b4xpage_appear,1,0,64,99 +starter,server,b4xpages,mpm + +dbrequestmanager,initialize,b4xpages,mainpage,subs,setdivider,b4xpages,getmanager +c_clientes,b4xpage_closerequest,0,0,157,165 + + + +c_clientes,b4xpage_created,1,0,35,62 + + + +c_clientes,busca_textchanged,0,0,167,195 +b4xpages,mpm + +b4xpages,mainpage,subs,setdivider,b4xpages,getmanager +c_clientes,calc_ean_checksum,0,0,225,238 + + + +c_clientes,class_globals,0,0,1,27 + + + +c_clientes,listview1_itemclick,1,0,101,155 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,c_bitacora,iniciamosventa,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_clientes,p_clientes_click,0,0,242,244 + + + +c_clientes,sc_noscan,0,0,221,223 + + + +c_clientes,sc_result,1,0,204,219 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,initialize,0,0,483,485 + + + +c_cliente,b_acepatiende_click,1,0,7939,7966 +b4xpages,mpm + +b4xpages,mainpage,subs,traecliente,b4xpages,getmanager +c_cliente,b_acepta_gallina_click,0,0,5446,5487 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,b_aceptelefono_click,1,0,7986,8017 +b4xpages,mpm + +b4xpages,mainpage,subs,traecliente,b4xpages,getmanager +c_cliente,b_agregarcom_click,1,0,7634,7675 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,subs,traecliente,b4xpages,getmanager +c_cliente,b_cancela_gallina_click,0,0,5489,5502 + + + +c_cliente,b_cancelarcodigoautorizacion_click,0,0,6771,6773 + + + +c_cliente,b_cancelarenviopdf_click,0,0,7501,7503 + + + +c_cliente,b_cancelatiende_click,1,0,7968,7972 + + + +c_cliente,b_canceltelefono_click,1,0,8019,8023 + + + +c_cliente,b_cerarcom_click,1,0,7629,7632 + + + +c_cliente,b_chk_e_click,0,0,6518,6520 + + + +c_cliente,b_codigoautorizacion_click,1,0,6753,6769 +starter,skmt,b4xpages,mpm + +subs,traeruta,subs,traealmacen,dbrequestmanager,executequery,b4xpages,mainpage,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_cliente,b_comentarios_click,1,0,7593,7627 +starter,skmt + + +c_cliente,b_e_next_click,1,0,4658,4666 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_encuesta_1_click,0,0,6442,6450 + + +,ocultapanelencuesta +c_cliente,ocultapanelencuesta,0,0,6425,6433 + + + +c_cliente,b_encuesta_2_click,0,0,6452,6460 + + +,ocultapanelencuesta +c_cliente,b_encuesta_3_click,0,0,6462,6470 + + +,ocultapanelencuesta +c_cliente,b_encuesta_continuar_click,1,0,6472,6482 + + +,ocultapanelencuesta +c_cliente,b_enviarticket_click,1,0,7324,7335 + + + +c_cliente,b_enviarticket_longclick,0,0,7337,7343 + + + +c_cliente,b_enviopdf_click,0,0,7466,7499 +b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog,starter,ffileprovider,starter,skmt + +subs,traemontoprod,,pdfgenerar2,,pdfgenerar,,enviarpdfwhatsappnumero,b4xpages,mainpage,subs,traecliente,subs,traeusuariodebd,dbrequestmanager,executecommand,subs,traealmacen,subs,traeruta,,guardar_click,b4xpages,getmanager,cpdf,initialize,cpdf,sproperty,cpdf,pageadd,cpdf,sfont,cpdf,outimage,cpdf,outtext,,savepdf,cpdf,sunit,cpdf,gcreationdate,cpdf,initfontsinfos,cpdf,calcfontkey,cpdf,createfontinfo,cpdf,createpage,cpdf,sdrawcolor,cpdf,sdrawwidth,cpdf,sfillcolor,cpdf,contentadd,cpdf,convertimage,cpdf,imagekey,cpdf,findimagekey,cpdf,imageinfo,b4xbytesbuilder,initialize,cpdf,rafreadstring,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2,cpdf,escapetext,cpdf,gtextsize,b4xbytesbuilder,getlength,cpdf,tounsigned,b4xbytesbuilder,getinternalbuffer,subs,revisabd,cpdf,savetofile,cpdf,savetostream,cpdf,headerwrite,cpdf,catalogwrite,cpdf,kidswrite,cpdf,pageswrite,cpdf,contentswrite,cpdf,resourceswrite,cpdf,fontswrite,cpdf,imageswrite,cpdf,propertieswrite,cpdf,xrefwrite,cpdf,trailerwrite,cpdf,footerwrite,cpdf,pagewrite,cpdf,contentwrite,cpdf,fontwrite,cpdf,imagewrite,cpdf,palettewrite,cpdf,refwrite,subs,calculatotalconpromoxrango,httpjob,initialize,httpjob,postmultipart,httpjob,multipartstartsection,httpjob,postbytes,httpjob,addscheme,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,c_bitacora,iniciofin +c_cliente,pdfgenerar2,0,0,7109,7289 +subs,kmt,starter,ruta,subs,errorlog,starter,ffileprovider + +cpdf,initialize,cpdf,sproperty,cpdf,pageadd,cpdf,sfont,cpdf,outimage,cpdf,outtext,subs,traeusuariodebd,,savepdf,cpdf,sunit,cpdf,gcreationdate,cpdf,initfontsinfos,cpdf,calcfontkey,cpdf,createfontinfo,cpdf,createpage,cpdf,sdrawcolor,cpdf,sdrawwidth,cpdf,sfillcolor,cpdf,contentadd,cpdf,convertimage,cpdf,imagekey,cpdf,findimagekey,cpdf,imageinfo,b4xbytesbuilder,initialize,cpdf,rafreadstring,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2,cpdf,escapetext,cpdf,gtextsize,b4xbytesbuilder,getlength,cpdf,tounsigned,b4xbytesbuilder,getinternalbuffer,subs,revisabd,cpdf,savetofile,cpdf,savetostream,cpdf,headerwrite,cpdf,catalogwrite,cpdf,kidswrite,cpdf,pageswrite,cpdf,contentswrite,cpdf,resourceswrite,cpdf,fontswrite,cpdf,imageswrite,cpdf,propertieswrite,cpdf,xrefwrite,cpdf,trailerwrite,cpdf,footerwrite,cpdf,pagewrite,cpdf,contentwrite,cpdf,fontwrite,cpdf,imagewrite,cpdf,palettewrite,cpdf,refwrite +c_cliente,pdfgenerar,0,0,6775,7107 +subs,kmt,starter,ruta,subs,errorlog,starter,skmt,b4xpages,mpm,starter,ffileprovider + +cpdf,initialize,cpdf,sproperty,cpdf,pageadd,cpdf,sfont,cpdf,outimage,cpdf,outtext,subs,traeusuariodebd,subs,calculatotalconpromoxrango,subs,traecliente,,savepdf,cpdf,sunit,cpdf,gcreationdate,cpdf,initfontsinfos,cpdf,calcfontkey,cpdf,createfontinfo,cpdf,createpage,cpdf,sdrawcolor,cpdf,sdrawwidth,cpdf,sfillcolor,cpdf,contentadd,cpdf,convertimage,cpdf,imagekey,cpdf,findimagekey,cpdf,imageinfo,b4xbytesbuilder,initialize,cpdf,rafreadstring,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2,cpdf,escapetext,cpdf,gtextsize,b4xbytesbuilder,getlength,cpdf,tounsigned,b4xbytesbuilder,getinternalbuffer,subs,revisabd,b4xpages,mainpage,b4xpages,getmanager,cpdf,savetofile,cpdf,savetostream,cpdf,headerwrite,cpdf,catalogwrite,cpdf,kidswrite,cpdf,pageswrite,cpdf,contentswrite,cpdf,resourceswrite,cpdf,fontswrite,cpdf,imageswrite,cpdf,propertieswrite,cpdf,xrefwrite,cpdf,trailerwrite,cpdf,footerwrite,cpdf,pagewrite,cpdf,contentwrite,cpdf,fontwrite,cpdf,imagewrite,cpdf,palettewrite,cpdf,refwrite +c_cliente,enviarpdfwhatsappnumero,0,0,7357,7413 +starter,ffileprovider + +httpjob,initialize,httpjob,postmultipart,httpjob,multipartstartsection,httpjob,postbytes,httpjob,addscheme +c_cliente,guardar_click,0,0,2976,3061 +b4xpages,mpm,starter,skmt + +c_bitacora,iniciofin,b4xpages,mainpage,subs,traealmacen,subs,traeruta,b4xpages,getmanager +c_cliente,b_foto_click,0,0,7786,7813 + + +cameraexclass,takepicture +c_cliente,b_gallina_click,0,0,5504,5518 + + + +c_cliente,b_geopass_click,1,0,1915,1938 +starter,ubicacionactual,starter,server,b4xpages,mpm,tracker,flp,starter,skmt + +b4xpages,mainpage,,gps_locationchanged,subs,traecliente,subs,traealmacen,subs,traeruta,dbrequestmanager,executequery,b4xpages,getmanager,,mejorarprecisiongps,,iniciofin,c_bitacora,iniciofin,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_cliente,gps_locationchanged,0,0,1520,1894 +tracker,flp,b4xpages,mpm + +,mejorarprecisiongps,b4xpages,mainpage,,iniciofin,c_bitacora,iniciofin,b4xpages,getmanager +c_cliente,b_gps_click,1,0,4702,4709 +b4xpages,mpm,starter,encliente,starter,idcliente,starter,rp,starter,gps,starter,server,starter,skmt,tracker,flp,starter,mac_impresora,starter,ruta,subs,in,starter,reqmanager,subs,kmt,subs,errorlog +starter,encliente,starter,idcliente,starter,mac_impresora,subs,in +b4xpages,mainpage,,b4xpage_appear,b4xpages,getmanager,,recalculoxcant,c_bitacora,iniciofin,subs,centrapanel,,cuestionario,subs,traecliente,subs,traetipoventadebd,subs,haypedido,dbrequestmanager,initialize,subs,traetipocliente,,gps_locationchanged,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,subs,traemontoprod,subs,invsuficientepromoesp,subs,vendidopromoesp,c_productos,terminarpromoesp,subs,traetablaprods,subs,traemontoprod2,subs,traeruta,subs,calculatotalconpromoxrango,subs,traealmacen,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,b4xpages,showpage,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,,mejorarprecisiongps,,iniciofin,subs,guardaproducto,subs,traefecha,subs,traeusuariodebd,subs,traeprodnombre,subs,traerutabitacora,subs,revisabd +c_cliente,b4xpage_appear,1,0,551,1374 +starter,encliente,starter,idcliente,starter,rp,starter,gps,starter,server,starter,skmt,tracker,flp,starter,mac_impresora,b4xpages,mpm,starter,ruta,subs,in,starter,reqmanager,subs,kmt,subs,errorlog +starter,encliente,starter,idcliente,starter,mac_impresora,subs,in +,recalculoxcant,c_bitacora,iniciofin,subs,centrapanel,,cuestionario,subs,traecliente,subs,traetipoventadebd,b4xpages,mainpage,subs,haypedido,dbrequestmanager,initialize,subs,traetipocliente,,gps_locationchanged,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,subs,traemontoprod,subs,invsuficientepromoesp,subs,vendidopromoesp,c_productos,terminarpromoesp,subs,traetablaprods,subs,traemontoprod2,subs,traeruta,subs,calculatotalconpromoxrango,subs,traealmacen,b4xpages,getmanager,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,b4xpages,showpage,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,,mejorarprecisiongps,,iniciofin,subs,guardaproducto,subs,traefecha,subs,traeusuariodebd,subs,traeprodnombre,subs,traerutabitacora,subs,revisabd +c_cliente,b_guarda_c_click,0,0,4593,4623 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,b_guarda_ce_ped_click,1,0,5633,5697 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_guardaencuesta_click,1,0,2826,2931 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,traecliente,b4xpages,showpage,b4xpages,mainpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_guardaencuesta_m2_click,1,0,4966,5158 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,traecliente,subs,traealmacen,b4xpages,showpage,b4xpages,mainpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_guardaencuesta_m3_click,1,0,5170,5313 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,traecliente,b4xcombobox,setitems,b4xpages,showpage,b4xpages,mainpage,b4xpages,getmanager,b4xcombobox,setselectedindex,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_guardaencuesta_m4_click,1,0,5315,5399 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,traecliente,b4xcombobox,setitems,b4xpages,mainpage,b4xpages,showpage,b4xpages,getmanager,b4xcombobox,setselectedindex,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_guardaencuesta_m5_click,1,0,5401,5443 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,traecliente,b4xpages,mainpage,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_imp_click,1,0,3142,3227 +starter,skmt,b4xpages,mpm,starter,mac_impresora +starter,mac_impresora +subs,traemontoprod,,impresion2,,impresion,,impresion4,b4xpages,mainpage,subs,traecliente,b4xpages,getmanager,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,escposprinter,writestring2,escposprinter,astream_error,,mandap,subs,traealmacen,subs,traetipocliente,subs,calculatotalconpromoxrango3,subs,calculatotalconpromoxrango2,,impresion5,dbrequestmanager,executecommand,subs,traeruta,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,calculatotalconpromoxrango4,subs,calculatotalconpromoxrango1 +c_cliente,impresion2,1,0,4105,4274 +starter,mac_impresora +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,escposprinter,writestring2,escposprinter,astream_error +c_cliente,impresion,1,0,4276,4471 +starter,mac_impresora +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,escposprinter,writestring2,escposprinter,astream_error +c_cliente,impresion4,1,0,3229,3525 +starter,skmt,b4xpages,mpm,starter,mac_impresora +starter,mac_impresora +,mandap,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traealmacen,subs,traetipocliente,subs,calculatotalconpromoxrango3,subs,traecliente,subs,calculatotalconpromoxrango2,,impresion5,b4xpages,mainpage,dbrequestmanager,executecommand,subs,traeruta,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,escposprinter,writestring2,escposprinter,astream_error,subs,calculatotalconpromoxrango4,subs,calculatotalconpromoxrango1 +c_cliente,b_inicio_fin_venta_click,0,0,6690,6725 + + + +c_cliente,b_like_click,0,0,4692,4700 + + + +c_cliente,b_mapa_click,1,0,3138,3140 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_okdeuda_click,0,0,7884,7886 + + + +c_cliente,b_preguntag_click,1,0,2408,2733 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,b4xcombobox,setitems,b4xpages,showpage,b4xpages,getmanager,b4xcombobox,setselectedindex,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_preventa_click,0,0,6745,6747 + + + +c_cliente,b_preventa2_click,1,0,7892,7931 +b4xpages,mpm,starter,encuesta,starter,skmt,starter,rp,starter,ruta,subs,in,starter,reqmanager,starter,idcliente +starter,encuesta,subs,in +b4xpages,mainpage,,gestionar,b4xpages,getmanager,subs,revisaimpreso,subs,traeruta,,compra,subs,traealmacen,,cuestionario,b4xcombobox,setitems,b4xpages,showpage,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xcombobox,setselectedindex +c_cliente,gestionar,1,0,2133,2225 +starter,encuesta,starter,skmt,b4xpages,mpm,starter,rp,starter,ruta,subs,in,starter,reqmanager,starter,idcliente +starter,encuesta,subs,in +subs,revisaimpreso,b4xpages,mainpage,subs,traeruta,,compra,subs,traealmacen,b4xpages,getmanager,,cuestionario,b4xcombobox,setitems,b4xpages,showpage,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xcombobox,setselectedindex +c_cliente,b_preventa2_longclick,0,0,3854,3862 +starter,skmt,b4xpages,mpm + +subs,calculatotalconpromoxrango4,subs,traecliente,subs,calculatotalconpromoxrango1,b4xpages,mainpage,b4xpages,getmanager +c_cliente,b_venta_click,0,0,4625,4656 + + + +c_cliente,recalculoxcant,0,0,1399,1451 +b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,traealmacen,subs,traetipocliente,b4xpages,getmanager +c_cliente,cuestionario,1,0,6194,6408 +b4xpages,mpm,starter,rp,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente +subs,in +b4xpages,mainpage,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,b4xpages,showpage,b4xpages,getmanager,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b4xpage_closerequest,1,0,2937,2966 +starter,encliente,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +starter,encliente,subs,in +c_cuestionario,ocultpanelpregunta,subs,haypedido,b4xpages,showpage,b4xpages,mainpage,subs,traecliente,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b4xpage_created,1,0,488,547 +b4xpages,mpm + +b4xpages,mainpage,subs,centrapanel,c_cuestionario,initialize,c_bitacora,initialize,b4xpages,getmanager,c_cuestionario,agregacolumna,c_bitacora,agregacolumna,c_bitacora,cargamospanel +c_cliente,bt_qr_click,0,0,3080,3088 + + + +c_cliente,btnaceptaplanlealtad_click,1,0,7522,7538 +starter,skmt,b4xpages,mpm,starter,encliente,starter,idcliente,starter,rp,starter,gps,starter,server,tracker,flp,starter,mac_impresora,starter,ruta,subs,in,starter,reqmanager,subs,kmt,subs,errorlog +starter,encliente,starter,idcliente,starter,mac_impresora,subs,in +b4xpages,mainpage,subs,traecliente,,b4xpage_appear,b4xpages,getmanager,,recalculoxcant,c_bitacora,iniciofin,subs,centrapanel,,cuestionario,subs,traetipoventadebd,subs,haypedido,dbrequestmanager,initialize,subs,traetipocliente,,gps_locationchanged,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,subs,traemontoprod,subs,invsuficientepromoesp,subs,vendidopromoesp,c_productos,terminarpromoesp,subs,traetablaprods,subs,traemontoprod2,subs,traeruta,subs,calculatotalconpromoxrango,subs,traealmacen,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,b4xpages,showpage,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,,mejorarprecisiongps,,iniciofin,subs,guardaproducto,subs,traefecha,subs,traeusuariodebd,subs,traeprodnombre,subs,traerutabitacora,subs,revisabd +c_cliente,btncancelarplanlealtad_click,0,0,7518,7520 + + + +c_cliente,btnplanlealtad_click,0,0,7513,7516 + + +subs,centrapanel +c_cliente,calc_ean_checksum,0,0,3123,3136 + + + +c_cliente,camera1_picturetaken,0,0,7730,7780 + + +cameraexclass,savepicturetofile,cameraexclass,startpreview,,stopcamera2,cameraexclass,release +c_cliente,stopcamera2,0,0,7815,7820 + + +cameraexclass,release +c_cliente,camera1_ready,0,0,7716,7728 + + +cameraexclass,setjpegquality,cameraexclass,setcontinuousautofocus,cameraexclass,commitparameters,cameraexclass,startpreview,cameraexclass,getpreviewsize,cameraexclass,getsupportedfocusmodes,cameraexclass,setfocusmode +c_cliente,cb_p1_m5_selectedindexchanged,0,0,2771,2775 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p2_m5_selectedindexchanged,0,0,2777,2781 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p3_m4_selectedindexchanged,0,0,2735,2739 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p3_m5_selectedindexchanged,0,0,2783,2787 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p4_1_m4_selectedindexchanged,0,0,2741,2745 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p4_2_m4_selectedindexchanged,0,0,2747,2751 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p4_3_m4_selectedindexchanged,0,0,2753,2757 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p4_4_m4_selectedindexchanged,0,0,2759,2763 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p4_5_m4_selectedindexchanged,0,0,2765,2769 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p4_m5_selectedindexchanged,0,0,2789,2793 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p5_m5_selectedindexchanged,0,0,2795,2799 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p6_m5_selectedindexchanged,0,0,2801,2805 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p7_m5_selectedindexchanged,0,0,2807,2811 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p8_m5_selectedindexchanged,0,0,2813,2817 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_p9_m5_selectedindexchanged,0,0,2819,2823 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb_pregunta_selectedindexchanged,0,0,2402,2406 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,cb1_p3_m2_checkedchange,0,0,5708,5720 + + + +c_cliente,cb1_p3_m3_checkedchange,0,0,5835,5847 + + + +c_cliente,cb1_p4_m2_checkedchange,0,0,5780,5791 + + + +c_cliente,cb1_p4_m3_checkedchange,1,0,5907,5920 + + + +c_cliente,cb1_p6_m3_checkedchange,0,0,5988,6002 + + + +c_cliente,cb1_p7_m3_checkedchange,0,0,6100,6111 + + + +c_cliente,cb1_p8_m3_checkedchange,0,0,6157,6164 + + + +c_cliente,cb2_p3_m2_checkedchange,0,0,5722,5734 + + + +c_cliente,cb2_p3_m3_checkedchange,0,0,5849,5861 + + + +c_cliente,cb2_p4_m2_checkedchange,0,0,5793,5804 + + + +c_cliente,cb2_p4_m3_checkedchange,1,0,5922,5935 + + + +c_cliente,cb2_p6_m3_checkedchange,0,0,6004,6018 + + + +c_cliente,cb2_p7_m3_checkedchange,0,0,6113,6124 + + + +c_cliente,cb2_p8_m3_checkedchange,0,0,6166,6173 + + + +c_cliente,cb3_p3_m2_checkedchange,0,0,5736,5748 + + + +c_cliente,cb3_p3_m3_checkedchange,0,0,5863,5875 + + + +c_cliente,cb3_p4_m2_checkedchange,0,0,5806,5817 + + + +c_cliente,cb3_p4_m3_checkedchange,1,0,5937,5950 + + + +c_cliente,cb3_p6_m3_checkedchange,0,0,6020,6034 + + + +c_cliente,cb3_p7_m3_checkedchange,0,0,6126,6137 + + + +c_cliente,cb3_p8_m3_checkedchange,0,0,6175,6182 + + + +c_cliente,cb4_p3_m2_checkedchange,0,0,5750,5762 + + + +c_cliente,cb4_p3_m3_checkedchange,0,0,5877,5889 + + + +c_cliente,cb4_p4_m2_checkedchange,0,0,5819,5830 + + + +c_cliente,cb4_p4_m3_checkedchange,1,0,5952,5965 + + + +c_cliente,cb4_p6_m3_checkedchange,0,0,6036,6050 + + + +c_cliente,cb4_p7_m3_checkedchange,0,0,6139,6150 + + + +c_cliente,cb4_p8_m3_checkedchange,0,0,6184,6191 + + + +c_cliente,cb5_p3_m2_checkedchange,0,0,5764,5776 + + + +c_cliente,cb5_p3_m3_checkedchange,0,0,5891,5903 + + + +c_cliente,cb5_p4_m3_checkedchange,1,0,5967,5983 + + + +c_cliente,cb5_p6_m3_checkedchange,0,0,6052,6066 + + + +c_cliente,cb6_p3_m2_checkedchange,0,0,5160,5168 + + + +c_cliente,cb6_p6_m3_checkedchange,0,0,6068,6082 + + + +c_cliente,cb7_p6_m3_checkedchange,0,0,6084,6098 + + + +c_cliente,centropantalla,0,0,6436,6440 + + + +c_cliente,ch_factura_checkedchange,0,0,7830,7832 + + + +c_cliente,chb_com_checkedchange,0,0,8029,8031 + + + +c_cliente,checkbox1_checkedchange,0,0,4854,4866 + + + +c_cliente,checkbox2_checkedchange,0,0,4868,4880 + + + +c_cliente,checkbox3_checkedchange,0,0,4882,4894 + + + +c_cliente,checkbox4_checkedchange,0,0,4896,4908 + + + +c_cliente,checkbox5_checkedchange,0,0,4910,4922 + + + +c_cliente,checkbox6_checkedchange,0,0,4924,4936 + + + +c_cliente,checkbox7_checkedchange,0,0,4938,4950 + + + +c_cliente,checkbox8_checkedchange,0,0,4952,4964 + + + +c_cliente,class_globals,0,0,1,480 + + + +c_cliente,compra,1,0,2227,2399 +b4xpages,mpm,starter,rp,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente +subs,in +,cuestionario,b4xcombobox,setitems,subs,traealmacen,b4xpages,showpage,b4xpages,mainpage,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,b4xpages,getmanager,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xcombobox,setselectedindex +c_cliente,cuest_preguntacontestada,1,0,6530,6580 +b4xpages,mpm,starter,skmt,starter,encliente,starter,idcliente,starter,rp,starter,gps,starter,server,tracker,flp,starter,mac_impresora,starter,ruta,subs,in,starter,reqmanager,subs,kmt,subs,errorlog +starter,encliente,starter,idcliente,starter,mac_impresora,subs,in +b4xpages,mainpage,subs,traecliente,subs,traeruta,subs,traealmacen,c_cuestionario,agregapreguntacheckbox,c_cuestionario,agregapreguntaabierta,c_cuestionario,strtolist,,b4xpage_appear,b4xpages,getmanager,,recalculoxcant,c_bitacora,iniciofin,subs,centrapanel,,cuestionario,subs,traetipoventadebd,subs,haypedido,dbrequestmanager,initialize,subs,traetipocliente,,gps_locationchanged,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,subs,traemontoprod,subs,invsuficientepromoesp,subs,vendidopromoesp,c_productos,terminarpromoesp,subs,traetablaprods,subs,traemontoprod2,subs,calculatotalconpromoxrango,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,b4xpages,showpage,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,,mejorarprecisiongps,,iniciofin,subs,guardaproducto,subs,traefecha,subs,traeusuariodebd,subs,traeprodnombre,subs,traerutabitacora,subs,revisabd +c_cliente,initializecamera2,0,0,7704,7714 +starter,rp + +cameraexclass,initialize,cameraexclass,findcamera +c_cliente,muestraboton,0,0,6491,6499 + + + +c_cliente,muestraencuesta,0,0,6411,6422 + + + +c_cliente,datos_click,1,0,2972,2974 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,enviarpdfwhatsappnumero2,0,0,7415,7464 +starter,ffileprovider + +fileprovider,getfileuri +c_cliente,enviaticket,0,0,7345,7355 +starter,ffileprovider + +fileprovider,getfileuri +c_cliente,et_encuesta_textchanged,0,0,6484,6488 + + + +c_cliente,et_numeropdf_textchanged,0,0,7509,7511 + + + +c_cliente,et_p1_m2_textchanged,1,0,5567,5573 + + + +c_cliente,et_p1_m4_textchanged,1,0,5592,5598 + + + +c_cliente,et_p2_m2_textchanged,1,0,5575,5582 + + + +c_cliente,et_p5_m2_textchanged,1,0,5584,5590 + + + +c_cliente,gest_click,1,0,2078,2131 +b4xpages,mpm,starter,encuesta,starter,skmt,starter,rp,starter,ruta,subs,in,starter,reqmanager,starter,idcliente +starter,encuesta,subs,in +b4xpages,mainpage,,gestionar,b4xpages,getmanager,subs,revisaimpreso,subs,traeruta,,compra,subs,traealmacen,,cuestionario,b4xcombobox,setitems,b4xpages,showpage,,initializecamera2,subs,centraetiqueta,,muestraboton,,centropantalla,,muestraencuesta,,ocultapanelencuesta,subs,centraedittext,cameraexclass,initialize,cameraexclass,findcamera,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xcombobox,setselectedindex +c_cliente,mejorarprecisiongps,0,0,1376,1396 +tracker,flp + + +c_cliente,iniciofin,0,0,1901,1913 + + + +c_cliente,guardadoventa,0,0,3068,3070 + + + +c_cliente,guardar_longclick,0,0,3063,3066 + + + +c_cliente,habilitarbotones,0,0,1481,1509 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,hist_click,1,0,3076,3078 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,imageview4_click,0,0,7695,7701 +starter,rp + +,initializecamera2,subs,centrapanel,cameraexclass,initialize,cameraexclass,findcamera +c_cliente,impresion3,1,0,3864,4103 +starter,skmt,starter,mac_impresora,b4xpages,mpm +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traealmacen,subs,traetipocliente,subs,calculatotalconpromoxrango,subs,traecliente,escposprinter,writestring2,escposprinter,astream_error,b4xpages,mainpage,b4xpages,getmanager +c_cliente,mandap,0,0,3527,3587 +b4xpages,mpm,starter,skmt + +b4xpages,mainpage,dbrequestmanager,executecommand,subs,traeruta,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_cliente,impresion5,1,0,3589,3852 +starter,skmt,starter,mac_impresora,b4xpages,mpm +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traealmacen,subs,traetipocliente,subs,calculatotalconpromoxrango4,subs,traecliente,subs,calculatotalconpromoxrango1,escposprinter,writestring2,escposprinter,astream_error,b4xpages,mainpage,b4xpages,getmanager +c_cliente,inicializarlocalizacionmejorada,1,0,1511,1518 + + + +c_cliente,jobdone,1,0,1947,2072 +starter,ubicacionactual,starter,skmt,httputils2service,tempfolder,b4xpages,mpm,tracker,flp,subs,kmt,starter,ruta,subs,errorlog + +subs,parsehttperror,dbrequestmanager,handlejob,b4xpages,mainpage,,gps_locationchanged,subs,traecliente,subs,traealmacen,subs,traeruta,dbrequestmanager,executequery,dbrequestmanager,executecommand,subs,traeusuariodebd,httpjob,release,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully,b4xpages,getmanager,,mejorarprecisiongps,,iniciofin,c_bitacora,iniciofin,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch,subs,revisabd +c_cliente,l_atiende_longclick,0,0,7933,7937 + + + +c_cliente,l_chk_e_click,0,0,6514,6516 + + + +c_cliente,l_limite_click,0,0,7834,7882 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,la_geo_click,0,0,6727,6739 + + +subs,centrapanel +c_cliente,la_geo_longclick,0,0,1940,1945 + + + +c_cliente,la_gps_click,0,0,1453,1458 +tracker,flp + +,mejorarprecisiongps +c_cliente,label19_click,0,0,7677,7691 + + + +c_cliente,label19_longclick,0,0,7978,7984 + + + +c_cliente,listview1_itemlongclick,0,0,2074,2076 + + + +c_cliente,mandawamsgcredito,0,0,7541,7579 +b4xpages,mpm,starter,skmt + +subs,traecliente,subs,traeruta,subs,traealmacen,httpjob,initialize,httpjob,poststring,httpjob,getrequest,b4xpages,mainpage,b4xpages,getmanager,httpjob,postbytes,httpjob,addscheme +c_cliente,muestrabotoncentrado,0,0,6502,6512 + + + +c_cliente,nuevo_click,1,0,3072,3074 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,openpdf,0,0,7307,7322 +starter,ffileprovider + +fileprovider,setfileuriasintentdata,fileprovider,getfileuri +c_cliente,p_atiende_click,0,0,7974,7976 + + + +c_cliente,p_camara_click,0,0,7782,7784 + + + +c_cliente,p_cliente__click,0,0,7822,7824 + + + +c_cliente,p_cliente_click,0,0,4711,4713 + + + +c_cliente,p_comentario_click,0,0,7585,7587 + + + +c_cliente,p_comentarios_click,0,0,7589,7591 + + + +c_cliente,p_deuda_click,0,0,7888,7890 + + + +c_cliente,p_encuesta_click,0,0,6526,6528 + + + +c_cliente,p_modulo5_click,0,0,5700,5702 + + + +c_cliente,p_pidegeopass_click,0,0,1896,1898 + + + +c_cliente,p_telefono_click,0,0,8025,8027 + + + +c_cliente,p_transparenteiniciofin_click,0,0,6741,6743 + + + +c_cliente,p_transparentepdf_click,0,0,7505,7507 + + + +c_cliente,p_transparenteticketimpreso_click,0,0,6749,6751 + + + +c_cliente,p6_textchanged,1,0,5521,5526 + + + +c_cliente,p7_textchanged,1,0,5530,5535 + + + +c_cliente,p8_textchanged,1,0,5539,5545 + + + +c_cliente,panel10_click,0,0,6522,6524 + + + +c_cliente,panel4_click,0,0,5704,5706 + + + +c_cliente,panel5_click,0,0,4715,4717 + + + +c_cliente,savepdf,0,0,7291,7305 +starter,ffileprovider + +cpdf,savetofile,cpdf,savetostream,cpdf,headerwrite,cpdf,catalogwrite,cpdf,kidswrite,cpdf,pageswrite,cpdf,contentswrite,cpdf,resourceswrite,cpdf,fontswrite,cpdf,imageswrite,cpdf,propertieswrite,cpdf,xrefwrite,cpdf,trailerwrite,cpdf,footerwrite,b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2,b4xbytesbuilder,getlength,cpdf,pagewrite,cpdf,contentwrite,cpdf,fontwrite,cpdf,imagewrite,cpdf,palettewrite,cpdf,escapetext,cpdf,refwrite +c_cliente,pnlplanlealtad_click,0,0,7826,7828 + + + +c_cliente,printer_connected,1,0,4542,4552 + + +,startprinter +c_cliente,startprinter,1,0,4554,4591 + + + +c_cliente,printer1_connected,0,0,4517,4536 +starter,skmt,starter,mac_impresora +starter,mac_impresora + +c_cliente,printer1_error,0,0,4538,4540 + + + +c_cliente,radiobutton1_checkedchange,0,0,4775,4778 + + + +c_cliente,radiobutton10_checkedchange,0,0,4827,4830 + + + +c_cliente,radiobutton11_checkedchange,0,0,4832,4835 + + + +c_cliente,radiobutton12_checkedchange,0,0,4837,4840 + + + +c_cliente,radiobutton13_checkedchange,0,0,4842,4845 + + + +c_cliente,radiobutton14_checkedchange,0,0,4847,4850 + + + +c_cliente,radiobutton15_checkedchange,0,0,4767,4770 + + + +c_cliente,radiobutton16_checkedchange,0,0,4762,4765 + + + +c_cliente,radiobutton17_checkedchange,0,0,4757,4760 + + + +c_cliente,radiobutton2_checkedchange,0,0,4780,4783 + + + +c_cliente,radiobutton3_checkedchange,0,0,4785,4788 + + + +c_cliente,radiobutton4_checkedchange,0,0,4790,4793 + + + +c_cliente,radiobutton5_checkedchange,0,0,4798,4801 + + + +c_cliente,radiobutton6_checkedchange,0,0,4803,4806 + + + +c_cliente,radiobutton7_checkedchange,0,0,4808,4811 + + + +c_cliente,radiobutton8_checkedchange,0,0,4813,4816 + + + +c_cliente,radiobutton9_checkedchange,0,0,4818,4821 + + + +c_cliente,rb1_checkedchange,1,0,4668,4672 + + + +c_cliente,rb1_e1_checkedchange,1,0,4721,4731 + + + +c_cliente,rb1_p4_m2_checkedchange,0,0,5601,5610 + + + +c_cliente,rb2_checkedchange,1,0,4674,4678 + + + +c_cliente,rb2_e1_checkedchange,1,0,4733,4744 + + + +c_cliente,rb2_p4_m2_checkedchange,1,0,5612,5631 + + + +c_cliente,rb3_checkedchange,1,0,4680,4684 + + + +c_cliente,rb3_e1_checkedchange,0,0,4746,4752 + + + +c_cliente,rb4_checkedchange,1,0,4686,4690 + + + +c_cliente,revisargeocerca,0,0,1466,1479 +b4xpages,mpm + +,habilitarbotones,b4xpages,mainpage,b4xpages,getmanager +c_cliente,sc_result,0,0,3090,3113 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,sc_timedout,0,0,3115,3117 + + + +c_cliente,sc_usercancelled,0,0,3119,3121 + + + +c_cliente,tar_click,1,0,2968,2970 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,tels_click,1,0,2933,2935 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,initialize,0,0,108,110 + + + +c_productos,terminarpromoesp,0,0,2278,2294 +b4xpages,mpm,starter,skmt,starter,idcliente,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,subs,traetablaprods,subs,guardaproducto,subs,traecliente,subs,traefecha,subs,traeusuariodebd,subs,traeprodnombre,b4xpages,getmanager,subs,traerutabitacora,subs,traetipoventadebd,subs,revisabd +c_productos,b_acep_dev_click,0,0,2383,2385 + + + +c_productos,b_aceptar_click,1,0,1349,1352 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,b_continuar_click,0,0,1239,1261 +b4xpages,mpm + +,cuentaprods,subs,traetotalesclienteactual,b4xpages,mainpage,b4xpages,getmanager +c_productos,cuentaprods,0,0,1153,1165 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_productos,b_devmas_click,0,0,2404,2439 +b4xpages,mpm,starter,skmt,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,subs,actualizaproducto,subs,traefecha,subs,traeusuariodebd,b4xpages,getmanager,subs,traetablaprods,subs,traecliente,subs,guardaproductosingestion,subs,revisabd +c_productos,b_devmenos_click,0,0,2387,2402 +b4xpages,mpm,starter,skmt,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,subs,actualizaproducto,subs,traefecha,subs,traeusuariodebd,b4xpages,getmanager,subs,traetablaprods,subs,traecliente,subs,guardaproductosingestion,subs,revisabd +c_productos,b_okpromodesc_click,0,0,2296,2298 + + + +c_productos,b_prodmas_click,0,0,878,981 +starter,skmt,b4xpages,mpm,starter,idcliente,subs,kmt,starter,ruta,subs,errorlog + +subs,traeinventario,subs,traeprodnombre,b4xpages,mainpage,subs,actualizaproducto,subs,traealmacen,subs,traefecha,subs,traeusuariodebd,,cuentaprods,subs,traetablaprods,b4xpages,getmanager,subs,traetipoventadebd,subs,traecliente,subs,guardaproductosingestion,subs,revisabd +c_productos,b_prodmenos_click,0,0,734,876 +starter,skmt,b4xpages,mpm,starter,idcliente,subs,kmt,starter,ruta,subs,errorlog + +subs,traealmacen,subs,traeprodnombre,b4xpages,mainpage,subs,actualizaproducto,subs,traefecha,subs,traeusuariodebd,,cuentaprods,subs,traetablaprods,subs,totalpedido,subs,traeinventario,b4xpages,getmanager,subs,traetipoventadebd,subs,traecliente,subs,guardaproductosingestion,subs,revisabd +c_productos,b_qr_click,1,0,690,712 +starter,tabla,starter,skmt,starter,idcliente,b4xpages,mpm +starter,tabla +,b4xpage_appear,subs,traetipoventadebd,b4xpages,mainpage,subs,traecliente,subs,traeruta,subs,traetablaprods,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,,llenaprodsll,b4xseekbar,update,b4xpages,getmanager,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,subs,traealmacen,subs,traetipocliente,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +c_productos,b4xpage_appear,1,0,154,269 +starter,tabla,starter,skmt,starter,idcliente,b4xpages,mpm +starter,tabla +subs,traetipoventadebd,b4xpages,mainpage,subs,traecliente,subs,traeruta,subs,traetablaprods,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,,llenaprodsll,b4xseekbar,update,b4xpages,getmanager,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,subs,traealmacen,subs,traetipocliente,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +c_productos,b_rechazar_click,1,0,1326,1347 +starter,skmt,b4xpages,mpm,starter,ruta,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,borrapedidoclienteactual,b4xpages,showpage,subs,traetablaprods,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,b_terminar1_click,0,0,1167,1237 +b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,calculatotalconpromoxrango,subs,traecliente,subs,centrapanel,b4xpages,getmanager +c_productos,llenaprodsll,0,0,1785,1969 +starter,tabla,b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,traealmacen,subs,traetipocliente,subs,traetablaprods,preoptimizedclv,commit,b4xseekbar,setvalue,b4xseekbar,update,b4xpages,getmanager,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +c_productos,b4xpage_closerequest,1,0,632,686 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,b4xpage_created,1,0,113,150 +b4xpages,mpm + +preoptimizedclv,initialize,b4xpages,mainpage,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xset,add,b4xorderedmap,initialize,b4xorderedmap,put,b4xpages,getmanager +c_productos,busca_textchanged,0,0,1748,1783 +starter,tabla,b4xpages,mpm,starter,skmt + +b4xpages,mainpage,,llenaprodsll,b4xpages,getmanager,subs,traealmacen,subs,traetipocliente,subs,traetablaprods,preoptimizedclv,commit,b4xseekbar,setvalue,b4xseekbar,update,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +c_productos,class_globals,0,0,1,105 +starter,skmt,starter,idcliente + +subs,traetipoventadebd +c_productos,clv_prods_ll_itemclick,0,0,1529,1531 + + + +c_productos,clv_prods_ll_visiblerangechanged,1,0,1579,1746 +b4xpages,mpm + +subs,pedidoguardado,b4xseekbar,setvalue,b4xpages,mainpage,b4xpages,getmanager,b4xseekbar,update +c_productos,createlistitem,0,0,717,732 + + + +c_productos,et_pcant_focuschanged,1,0,983,1004 +b4xpages,mpm + +subs,traeinventario,,cuentaprods,b4xpages,mainpage,subs,traetablaprods,b4xpages,getmanager +c_productos,et_pcant_textchanged,1,0,1006,1151 +starter,skmt,starter,tabla,b4xpages,mpm,starter,idcliente,subs,kmt,starter,ruta,subs,errorlog + +subs,traeinventario,subs,traeprodnombre,b4xpages,mainpage,subs,actualizaproducto,subs,traealmacen,subs,traefecha,subs,traeusuariodebd,,cuentaprods,subs,traetablaprods,b4xpages,getmanager,subs,traetipoventadebd,subs,traecliente,subs,guardaproductosingestion,subs,revisabd +c_productos,l_info_click,0,0,1265,1267 + + + +c_productos,l_prodx_click,0,0,1533,1577 +starter,skmt + +subs,traetipocliente +c_productos,l_prodx_longclick,0,0,2306,2380 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_productos,llenacatalogo,0,0,607,630 + + + +c_productos,lv_catalogos_itemclick,0,0,275,444 +starter,tabla,b4xpages,mpm,starter,skmt,starter,idcliente + +,llenaprodsll,b4xpages,mainpage,subs,revisapro2265,subs,traecliente,subs,revisapro3054,subs,revisapro3055,subs,traetipocliente,subs,procesapromocion,subs,traealmacen,subs,traemontoprod,subs,setdivider,subs,traetablaprods,preoptimizedclv,commit,b4xseekbar,setvalue,b4xseekbar,update,b4xpages,getmanager,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,subs,traetipoventadebd +c_productos,lv_catalogos2_itemclick,1,0,446,579 +starter,tabla,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,getpage,b4xpages,showpage,b4xpages,mainpage,,llenacatalogo,subs,procesapromocion,b4xpages,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys,b4xpagesmanager,showpage,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traecliente,subs,traemosinventariodisponibleparapromo,subs,traetablaprods +c_productos,lv_prodspedido_itemlongclick,1,0,1354,1527 +starter,tabla,b4xpages,mpm,starter,skmt +starter,tabla +b4xpages,mainpage,subs,traealmacen,subs,traetablaprods,,b_terminar1_click,b4xpages,getmanager,subs,calculatotalconpromoxrango,subs,traecliente,subs,centrapanel +c_productos,lv_promos_itemclick,1,0,581,604 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp,subs,kmt,subs,errorlog +subs,in +b4xpages,getpage,b4xpages,showpage,b4xpages,mainpage,subs,traeprodiddebd,subs,traeusuariodebd,b4xpages,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys,b4xpagesmanager,showpage,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traetablaprods,subs,revisabd +c_productos,lv_promos_itemlongclick,0,0,1269,1279 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_productos,lv_subtipo_itemclick,0,0,1306,1320 + + + +c_productos,lv_tipo_itemclick,0,0,1286,1304 + + + +c_productos,p_devo_click,0,0,2441,2443 + + + +c_productos,p_promodesc_click,0,0,2300,2302 + + + +c_productos,p_vistapreviatrans_click,0,0,1322,1324 + + + +c_productos,pclv_addprods,0,0,271,273 + + + +c_productos,pclv_hintrequested,0,0,1972,1975 + + + +c_updateavailable,initialize,0,0,7,9 + + + +c_updateavailable,b4xpage_appear,1,0,18,35 +appupdater,newapp,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,canrequestpackageinstalls,,ofreceactualizacion,,sinactualizacion,b4xpages,mainpage,b4xmainpage,ocultaprogreso,b4xpages,getmanager,b4xpages,showpage,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_updateavailable,canrequestpackageinstalls,0,0,42,48 + + + +c_updateavailable,ofreceactualizacion,1,0,50,61 +appupdater,newapp,b4xpages,mpm + +b4xpages,mainpage,b4xmainpage,ocultaprogreso,b4xpages,getmanager +c_updateavailable,sinactualizacion,1,0,63,79 +appupdater,newapp,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,b4xmainpage,ocultaprogreso,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_updateavailable,b4xpage_created,0,0,12,16 + + + +c_updateavailable,class_globals,0,0,1,4 + + + +c_mapas,initialize,0,0,7,9 + + + +c_mapas,b4xpage_created,0,0,12,16 + + + +c_mapas,class_globals,0,0,1,4 + + + +c_nuevocliente,initialize,0,0,199,201 + + + +c_nuevocliente,gps_locationchanged,0,0,336,358 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_nuevocliente,b4xpage_appear,1,0,247,334 +starter,gps,tracker,flp,starter,skmt,b4xpages,mpm + +subs,panelvisible,subs,centraetiqueta,subs,centrapanel,b4xpages,mainpage,,gps_locationchanged,b4xcombobox,setitems,b4xpages,getmanager,b4xcombobox,setselectedindex +c_nuevocliente,b4xpage_created,1,0,204,243 +starter,rp + + +c_nuevocliente,cancela_click,1,0,360,363 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_nuevocliente,cb_giro_selectedindexchanged,0,0,633,635 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_nuevocliente,class_globals,0,0,140,196 + + + +c_nuevocliente,et_cp_textchanged,1,0,637,646 + + + +c_nuevocliente,et_telefono_textchanged,1,0,648,657 + + + +c_nuevocliente,guarda_click,1,0,391,529 +starter,skmt,b4xpages,mpm,starter,ruta,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xcombobox,getselecteditem,b4xpages,mainpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_nuevocliente,p_nuevocliente_click,0,0,534,536 + + + +c_nuevocliente,pointinpolygon,0,0,365,389 + + + +c_ticketsdia,initialize,0,0,18,20 + + + +c_ticketsdia,activity_keypress,1,0,135,144 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_ticketsdia,b_noventa_click,0,0,162,251 +b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,calculatotalconpromoxrango,b4xpages,getmanager +c_ticketsdia,b4xpage_appear,0,0,58,130 +b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,calculatotalconpromoxrango,b4xpages,getmanager +c_ticketsdia,b4xpage_created,1,0,23,54 +b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,calculatotalconpromoxrango,b4xpages,getmanager +c_ticketsdia,class_globals,0,0,1,15 + + + +c_ticketsdia,listview1_itemlongclick,1,0,145,160 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_ticketsdia,p_ticketsdia_click,0,0,253,255 + + + +c_ticketsdia,regresar_click,1,0,132,134 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,initialize,0,0,34,36 + + + +c_noventa,b4xpage_appear,1,0,55,70 +starter,gps + +subs,centrapanel,subs,centrapanelv +c_noventa,b4xpage_created,1,0,39,51 +starter,reqmanager,b4xpages,mpm + +c_bitacora,initialize,b4xpages,mainpage,c_bitacora,agregacolumna,c_bitacora,cargamospanel,b4xpages,getmanager +c_noventa,cancela_click,1,0,77,79 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,class_globals,0,0,1,31 +starter,skmt,starter,idcliente + +subs,traetipoventadebd +c_noventa,gps_locationchanged,0,0,72,75 + + + +c_noventa,guarda_click,1,0,81,139 +starter,enventa,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +starter,enventa,subs,in +b4xpages,mainpage,subs,traetablaprods,c_bitacora,mandabitacora,subs,fechanormal,subs,traealmacen,subs,traerutabitacora,subs,traecliente,b4xpages,showpage,b4xpages,getmanager,c_bitacora,traenombrecliente,c_bitacora,traerutassup,dbrequestmanager,executecommand,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_nota,initialize,0,0,43,45 + + + +c_nota,gps_locationchanged,0,0,397,400 + + + +c_nota,activity_pause,0,0,393,395 + + + +c_nota,b_desc_click,1,0,1060,1106 +b4xpages,mpm,starter,gps,starter,skmt + +b4xpages,mainpage,,b4xpage_appear,b4xpages,getmanager,subs,calculatotalconpromoxrango,subs,traecliente,subs,calculatotalconpromoxrango4,subs,calculatotalconpromoxrango1,subs,calculatotalconpromoxrango3,subs,calculatotalconpromoxrango2 +c_nota,b4xpage_appear,0,0,250,391 +starter,gps,b4xpages,mpm,starter,skmt + +b4xpages,mainpage,subs,calculatotalconpromoxrango,subs,traecliente,subs,calculatotalconpromoxrango4,subs,calculatotalconpromoxrango1,subs,calculatotalconpromoxrango3,subs,calculatotalconpromoxrango2,b4xpages,getmanager +c_nota,b4xpage_closerequest,1,0,406,411 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_nota,b4xpage_created,1,0,48,60 + + + +c_nota,borra_click,1,0,413,513 +starter,skmt,b4xpages,mpm,starter,gps,starter,ruta,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,revisaimpreso,b4xpages,mainpage,subs,traetablaprods,,b4xpage_appear,subs,traealmacen,b4xpages,showpage,b4xpages,getmanager,subs,calculatotalconpromoxrango,subs,traecliente,subs,calculatotalconpromoxrango4,subs,calculatotalconpromoxrango1,subs,calculatotalconpromoxrango3,subs,calculatotalconpromoxrango2,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_nota,class_globals,0,0,1,40 +starter,skmt,starter,idcliente + +subs,traetipoventadebd +c_nota,listview1_itemlongclick,1,0,515,1058 +starter,skmt,b4xpages,mpm,starter,gps,starter,ruta,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +subs,traetablaprods,b4xpages,mainpage,,b4xpage_appear,subs,revisaimpreso,subs,traealmacen,b4xpages,showpage,b4xpages,getmanager,subs,calculatotalconpromoxrango,subs,traecliente,subs,calculatotalconpromoxrango4,subs,calculatotalconpromoxrango1,subs,calculatotalconpromoxrango3,subs,calculatotalconpromoxrango2,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_nota,p_nota_click,0,0,1108,1110 + + + +c_nota,regresar_click,1,0,402,404 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,initialize,0,0,60,62 + + + +c_pedidos,gps_locationchanged,0,0,360,363 + + + +c_pedidos,b4xpage_appear,1,0,80,197 +starter,gps,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,subs,traetablaprods,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,b4xpage_closerequest,1,0,532,537 + + + +c_pedidos,b4xpage_created,1,0,65,76 + + + +c_pedidos,class_globals,0,0,1,57 +starter,skmt,starter,idcliente + +subs,traetipoventadebd +c_pedidos,desc_promo_click,1,0,549,553 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,guardar_click,1,0,199,358 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,mainpage,subs,traetablaprods,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,i_fotol_click,0,0,544,547 + + + +c_pedidos,img_prod_click,0,0,539,543 + + + +c_pedidos,nopromo_click,1,0,555,575 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,subs,traetablaprods,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,p_pedido_click,0,0,577,579 + + + +c_pedidos,terminar_click,1,0,365,530 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,mainpage,subs,traetablaprods,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_promos,initialize,0,0,445,447 + + + +c_promos,agregafijosalista,0,0,638,676 +b4xpages,mpm,starter,skmt,starter,idcliente + +subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_promos,b_continuar_click,1,0,1011,1053 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla,subs,kmt,starter,ruta,subs,errorlog,subs,in,starter,reqmanager,starter,rp +subs,in +,cuentaprods,subs,traeprodnombre,b4xpages,mainpage,subs,guardaproductosingestion,subs,traecliente,subs,traefecha,subs,traeusuariodebd,subs,traeruta,b4xpages,showpage,,agregafijosalista,subs,traepromo,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager,subs,revisabd,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_promos,cuentaprods,0,0,836,914 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_promos,b_prodmas_click,0,0,743,772 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_promos,b_prodmas2_click,0,0,799,828 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_promos,b_prodmenos_click,0,0,719,741 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_promos,b_prodmenos2_click,0,0,775,797 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_promos,b_promomas_click,1,0,935,970 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +b4xpages,mainpage,,cuentaprods,b4xpages,getmanager,,agregafijosalista,subs,traepromo,subs,traeprodnombre,subs,traetablaprods,subs,traetipoventadebd +c_promos,b_promomenos_click,1,0,921,933 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_promos,b_terminar1_click,1,0,972,1009 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla,subs,kmt,starter,ruta,subs,errorlog,subs,in,starter,reqmanager,starter,rp +subs,in +,cuentaprods,subs,traeprodnombre,b4xpages,mainpage,subs,guardaproductosingestion,subs,traecliente,subs,traefecha,subs,traeusuariodebd,subs,traeruta,b4xpages,showpage,c_productos,b_terminar1_click,,agregafijosalista,subs,traepromo,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager,subs,revisabd,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_promos,b4xpage_appear,1,0,465,479 +b4xpages,mpm,starter,tabla,starter,skmt,starter,idcliente + +subs,traetotalesclienteactual,,muestrapromo,b4xpages,mainpage,b4xpages,getmanager,subs,traepromo,subs,traemosinventariodisponibleparapromo,subs,revisamaxpromosprodsfijosporinventario,subs,revisamaxpromosprodsvariablesporinventario,,agregafijosalista,,createlistitem,subs,traeprodnombre,,createlistitem2,,cuentaprods,subs,traetablaprods,subs,traetipoventadebd,subs,traemaxpromos,subs,traecliente +c_promos,muestrapromo,1,0,482,635 +starter,tabla,b4xpages,mpm,starter,skmt,starter,idcliente + +subs,traepromo,subs,traemosinventariodisponibleparapromo,subs,revisamaxpromosprodsfijosporinventario,subs,revisamaxpromosprodsvariablesporinventario,b4xpages,mainpage,,agregafijosalista,,createlistitem,subs,traeprodnombre,,createlistitem2,,cuentaprods,b4xpages,getmanager,subs,traetablaprods,subs,traetipoventadebd,subs,traemaxpromos,subs,traecliente +c_promos,b4xpage_created,1,0,450,463 + + +subs,centrapanel +c_promos,class_globals,0,0,398,442 + + + +c_promos,createlistitem,1,0,678,696 + + + +c_promos,createlistitem2,1,0,698,717 + + + +c_promos,et_pcant_focuschanged,0,0,916,919 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_promos,et_pcant_textchanged,0,0,831,834 +b4xpages,mpm,starter,skmt,starter,idcliente,starter,tabla + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,subs,traetablaprods,subs,traetipoventadebd,b4xpages,getmanager +c_historico,initialize,0,0,32,34 + + + +c_historico,gps_locationchanged,0,0,95,98 + + + +c_historico,b4xpage_appear,0,0,53,93 +starter,gps,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_historico,b4xpage_closerequest,1,0,104,109 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_historico,b4xpage_created,1,0,37,49 + + + +c_historico,class_globals,0,0,1,29 + + + +c_historico,listview1_itemclick,0,0,116,126 + + + +c_historico,listview2_itemclick,0,0,111,114 + + + +c_historico,regresar_click,1,0,100,102 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_historicobat,initialize,0,0,39,41 + + + +c_historicobat,b4xpage_appear,1,0,54,235 +starter,gps,b4xpages,mpm + +b4xpages,mainpage,,createlistitem,b4xpages,getmanager +c_historicobat,createlistitem,1,0,253,281 + + + +c_historicobat,b4xpage_created,1,0,44,51 + + + +c_historicobat,class_globals,0,0,1,36 + + + +c_clientescompletos,initialize,0,0,14,16 + + + +c_clientescompletos,b4xpage_created,1,0,19,24 + + + +c_clientescompletos,busca_textchanged,0,0,26,58 +b4xpages,mpm + +b4xpages,mainpage,subs,setdivider,b4xpages,getmanager +c_clientescompletos,class_globals,0,0,1,11 + + + +c_clientescompletos,listview1_itemclick,1,0,60,71 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,mainpage,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +v_tclientes,initialize,0,0,16,18 + + + +v_tclientes,b4xpage_appear,0,0,27,42 +starter,skmt + + +v_tclientes,b4xpage_created,1,0,21,25 + + + +v_tclientes,class_globals,0,0,1,13 + + + +httpjob,release,0,0,284,288 +httputils2service,tempfolder + + +httpjob,getstring,0,0,291,293 +httputils2service,tempfolder + +,getstring2 +httpjob,initialize,0,0,38,48 + + + +httpjob,getrequest,0,0,310,312 + + + +httpjob,download,0,0,219,228 + + +,addscheme +httpjob,postmultipart,0,0,133,177 + + +,multipartstartsection,,postbytes,,addscheme +httpjob,poststring,0,0,58,60 + + +,postbytes,,addscheme +httpjob,getinputstream,0,0,347,351 +httputils2service,tempfolder + + +httpjob,postbytes,0,0,63,72 + + +,addscheme +httpjob,complete,0,0,315,318 + + + +httpjob,addscheme,0,0,52,55 + + + +httpjob,class_globals,0,0,2,32 + + + +httpjob,delete,0,0,261,270 + + +,addscheme +httpjob,delete2,0,0,272,281 + + +,addscheme,,escapelink +httpjob,escapelink,0,0,246,258 + + + +httpjob,download2,0,0,235,244 + + +,addscheme,,escapelink +httpjob,getbitmap,0,0,330,334 +httputils2service,tempfolder + + +httpjob,getbitmapresize,0,0,341,343 +httputils2service,tempfolder + + +httpjob,getbitmapsample,0,0,337,339 +httputils2service,tempfolder + + +httpjob,getstring2,0,0,296,306 +httputils2service,tempfolder + + +httpjob,head,0,0,119,128 + + +,addscheme +httpjob,multipartstartsection,0,0,179,186 + + + +httpjob,patchbytes,0,0,97,115 + + +,addscheme +httpjob,patchstring,0,0,92,94 + + +,patchbytes,,addscheme +httpjob,postfile,0,0,190,216 + + +,addscheme,,postbytes +httpjob,putbytes,0,0,80,89 + + +,addscheme +httpjob,putstring,0,0,75,77 + + +,putbytes,,addscheme +c_bitacora,mandabitacora,0,0,37,79 +b4xpages,mpm + +,traenombrecliente,,traerutassup,dbrequestmanager,executecommand,b4xpages,mainpage,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_bitacora,initialize,1,0,16,25 +b4xpages,mpm + +,agregacolumna,,cargamospanel,b4xpages,mainpage,b4xpages,getmanager +c_bitacora,iniciofin,0,0,112,126 + + + +c_bitacora,agregacolumna,0,0,196,214 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_bitacora,b_inicio_fin_venta2_click,1,0,128,167 +b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +,mandabitacora,subs,fechanormal,subs,traeusuariodebd,subs,traealmacen,subs,traerutabitacora,subs,traecliente,b4xpages,mainpage,,iniciamosventa,b4xpages,showpageandremovepreviouspages,,traenombrecliente,,traerutassup,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,showpageandremovepreviouspages,b4xpagesmanager,gettoppage,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,aslist,b4xset,clear,b4xset,add,b4xpagesmanager,showpageimpl,b4xpagesmanager,toppageappear,b4xset,getsize,b4xorderedmap,get,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xset,remove,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,,initialize,subs,traetipoventadebd,subs,centrapanel,,agregacolumna,,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xorderedmap,clear +c_bitacora,iniciamosventa,0,0,191,194 + + + +c_bitacora,b4xpage_created,0,0,28,31 + + + +c_bitacora,borradatosbitacora,0,0,217,219 + + + +c_bitacora,cargamospanel,1,0,170,184 + + + +c_bitacora,class_globals,0,0,1,13 + + + +c_bitacora,jobdone,0,0,221,234 +httputils2service,tempfolder + +dbrequestmanager,handlejob,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully +c_bitacora,traenombrecliente,0,0,82,89 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_bitacora,traerutassup,0,0,92,109 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_bitacora,p_transparenteiniciofin2_click,0,0,186,188 + + + +cameraexclass,takepicture,0,0,100,102 + + + +cameraexclass,savepicturetofile,0,0,121,125 + + + +cameraexclass,startpreview,0,0,108,110 + + + +cameraexclass,setjpegquality,0,0,172,175 + + + +cameraexclass,setcontinuousautofocus,0,0,242,251 + + +,getsupportedfocusmodes,,setfocusmode +cameraexclass,commitparameters,0,0,137,145 + + + +cameraexclass,getpreviewsize,0,0,197,204 + + + +cameraexclass,initialize,0,0,19,34 + + +,findcamera +cameraexclass,release,0,0,116,118 + + + +cameraexclass,camera_focusdone,0,0,275,281 + + +,takepicture +cameraexclass,camera_picturetaken,1,0,104,106 + + + +cameraexclass,camera_preview,1,0,95,99 + + + +cameraexclass,camera_ready,1,0,82,93 + + +,setdisplayorientation,,findcamera,,commitparameters +cameraexclass,setdisplayorientation,0,0,57,80 + + +,findcamera,,commitparameters +cameraexclass,class_globals,0,0,7,17 + + + +cameraexclass,closenow,0,0,266,270 + + + +cameraexclass,findcamera,0,0,36,55 + + + +cameraexclass,focusandtakepicture,0,0,272,274 + + + +cameraexclass,getcoloreffect,0,0,147,149 + + +,getparameter +cameraexclass,getparameter,0,0,132,135 + + + +cameraexclass,getflashmode,0,0,182,185 + + + +cameraexclass,getfocusdistances,0,0,258,263 + + + +cameraexclass,getpicturesize,0,0,206,213 + + + +cameraexclass,getsupportedcoloreffects,0,0,192,195 + + + +cameraexclass,getsupportedflashmodes,0,0,187,190 + + + +cameraexclass,getsupportedfocusmodes,0,0,237,240 + + + +cameraexclass,getsupportedpicturessizes,0,0,155,165 + + + +cameraexclass,previewimagetojpeg,0,0,217,235 + + + +cameraexclass,setcoloreffect,0,0,151,153 + + +,setparameter +cameraexclass,setparameter,0,0,127,130 + + + +cameraexclass,setfocusmode,0,0,253,256 + + + +cameraexclass,setflashmode,0,0,177,180 + + + +cameraexclass,setpicturesize,0,0,167,170 + + + +cameraexclass,stoppreview,0,0,112,114 + + + +b4xcombobox,setitems,0,0,59,73 + + +,setselectedindex +b4xcombobox,getselecteditem,0,0,121,125 + + +,getselectedindex,,getitem +b4xcombobox,base_resize,0,0,55,57 + + + +b4xcombobox,class_globals,0,0,2,22 + + + +b4xcombobox,cmbbox_itemclick,1,0,157,159 + + +,raiseevent,,getselectedindex +b4xcombobox,raiseevent,1,0,137,150 + + +,getselectedindex +b4xcombobox,designercreateview,0,0,32,53 + + + +b4xcombobox,getitem,0,0,127,135 + + + +b4xcombobox,getselectedindex,0,0,98,104 + + + +b4xcombobox,getsize,0,0,76,84 + + + +b4xcombobox,indexof,0,0,87,95 + + + +b4xcombobox,initialize,0,0,24,29 + + + +b4xcombobox,setselectedindex,0,0,106,118 + + + +escposprinter,initialize,0,0,75,81 + + + +escposprinter,isconnected,0,0,89,91 + + + +escposprinter,disconnect,0,0,143,146 + + + +escposprinter,connect,1,0,100,139 +starter,mac_impresora +starter,mac_impresora +,disconnect +escposprinter,writestring,1,0,291,293 + + +,writestring2,,astream_error +escposprinter,astream_error,1,0,1141,1145 + + + +escposprinter,astream_newdata,1,0,1134,1139 + + + +escposprinter,astream_terminated,1,0,1147,1152 + + + +escposprinter,class_globals,0,0,4,68 + + + +escposprinter,connectederrormsg,0,0,84,86 + + + +escposprinter,createbox,0,0,520,528 + + + +escposprinter,createcircle,0,0,490,498 + + + +escposprinter,createcustomcharacter,0,0,404,472 + + +,plottriangle,,plotcircle,,plotbox,,plotline,,filltriangle,,plotlinelow,,plotlinehigh +escposprinter,plottriangle,0,0,534,542 + + +,plotline,,filltriangle,,plotlinelow,,plotlinehigh +escposprinter,plotcircle,0,0,625,643 + + +,plotline,,plotlinelow,,plotlinehigh +escposprinter,plotbox,0,0,611,622 + + +,plotline,,plotlinelow,,plotlinehigh +escposprinter,plotline,0,0,646,660 + + +,plotlinelow,,plotlinehigh +escposprinter,createline,0,0,477,484 + + + +escposprinter,createtriangle,0,0,504,515 + + + +escposprinter,definecustomcharacter,1,0,352,365 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,writebytes,0,0,281,285 + + + +escposprinter,deletecustomcharacter,1,0,317,322 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,ditherimage1d,0,0,763,786 + + + +escposprinter,ditherimage2d,0,0,794,823 + + + +escposprinter,filltriangle,0,0,544,609 + + + +escposprinter,imagetobwimage,0,0,713,736 + + + +escposprinter,isbluetoothon,0,0,94,96 + + + +escposprinter,packimage,0,0,865,897 + + + +escposprinter,packimageslice,0,0,963,1011 + + + +escposprinter,plotlinelow,0,0,682,700 + + + +escposprinter,plotlinehigh,0,0,662,680 + + + +escposprinter,printandfeedpaper,1,0,160,165 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,printimage,1,0,837,858 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,printimage2,1,0,927,956 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,reset,1,0,149,151 + + +,writestring,,writestring2,,astream_error +escposprinter,serial1_connected,1,0,1115,1128 + + + +escposprinter,setbarcodeheight,1,0,1019,1024 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setbarcodeleft,1,0,1028,1033 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setbarcodewidth,1,0,1038,1043 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setcharacterfont,1,0,247,249 + + +,writestring,,writestring2,,astream_error +escposprinter,setcharacterspacing,1,0,168,173 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setcodepage,1,0,236,241 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,sethrifont,1,0,1060,1062 + + +,writestring,,writestring2,,astream_error +escposprinter,sethriposn,1,0,1049,1054 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setjustify,1,0,230,232 + + +,writestring,,writestring2,,astream_error +escposprinter,setleftinset,1,0,178,186 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setleftmargin,1,0,191,199 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setlinespacing,1,0,217,226 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setprintwidth,1,0,205,213 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setrelativeprintposn,1,0,269,277 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,settabpositions,1,0,255,263 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setusecustomcharacters,1,0,329,335 + + +,writestring,,writestring2,,astream_error +escposprinter,thresholdimage,0,0,740,756 + + + +escposprinter,writebarcode,1,0,1076,1085 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,writeqrcode,1,0,1092,1104 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,writestring2,1,0,299,308 + + +,astream_error +c_cuestionario,ocultpanelpregunta,0,0,366,368 + + + +c_cuestionario,initialize,0,0,19,29 + + +,agregacolumna +c_cuestionario,agregapreguntacheckbox,0,0,63,110 + + + +c_cuestionario,agregapreguntaabierta,1,0,161,240 + + + +c_cuestionario,strtolist,0,0,403,411 + + + +c_cuestionario,agregacolumna,0,0,373,389 + + + +c_cuestionario,agregapreguntaradio,1,0,112,158 + + + +c_cuestionario,b4xpage_created,0,0,32,35 + + + +c_cuestionario,baceptarpregunta_click,0,0,338,354 + + +,preguntacontestada +c_cuestionario,preguntacontestada,0,0,242,246 + + + +c_cuestionario,cb_checkedchange,1,0,255,307 + + +,getviewtype +c_cuestionario,getviewtype,0,0,391,400 + + + +c_cuestionario,class_globals,0,0,1,16 + + + +c_cuestionario,clienteconcuestionario,0,0,357,363 + + + +c_cuestionario,et_textchanged,0,0,309,336 + + +,getviewtype +c_cuestionario,preguntaactual,0,0,43,45 + + + +c_cuestionario,psombra_click,0,0,248,249 + + + +c_cuestionario,r_checkedchange,0,0,251,253 + + + +cpdf,initialize,0,0,121,134 + + +,sunit,,gcreationdate,,initfontsinfos,,calcfontkey,,createfontinfo +cpdf,sproperty,0,0,889,892 + + + +cpdf,pageadd,0,0,648,656 + + +,createpage,,sfont,,sdrawcolor,,sdrawwidth,,sfillcolor,,calcfontkey,,contentadd +cpdf,sfont,0,0,698,711 + + +,calcfontkey,,contentadd +cpdf,outimage,0,0,817,864 + + +,convertimage,,imagekey,,findimagekey,,imageinfo,,contentadd,b4xbytesbuilder,initialize,,rafreadstring,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,outtext,0,0,716,730 + + +,contentadd,,escapetext,,calcfontkey,,gtextsize,b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,,tounsigned,b4xbytesbuilder,getinternalbuffer,b4xbytesbuilder,append2,b4xbytesbuilder,changelength +cpdf,savetofile,0,0,605,612 + + +,savetostream,,headerwrite,,catalogwrite,,kidswrite,,pageswrite,,contentswrite,,resourceswrite,,fontswrite,,imageswrite,,propertieswrite,,xrefwrite,,trailerwrite,,footerwrite,b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2,b4xbytesbuilder,getlength,,pagewrite,,contentwrite,,fontwrite,,imagewrite,,palettewrite,,escapetext,,refwrite +cpdf,calcfontkey,0,0,421,438 + + + +cpdf,catalogwrite,0,0,209,215 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,class_globals,0,0,12,118 + + + +cpdf,contentadd,0,0,441,447 + + + +cpdf,contentswrite,0,0,248,255 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,,contentwrite,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,getlength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,contentwrite,0,0,257,279 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,convertimage,0,0,796,813 + + + +cpdf,createfontinfo,0,0,136,154 + + + +cpdf,createpage,0,0,455,462 + + + +cpdf,escapetext,0,0,450,452 + + + +cpdf,findimagekey,0,0,617,624 + + + +cpdf,fontswrite,0,0,305,312 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,,fontwrite,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,getlength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,fontwrite,0,0,314,321 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,footerwrite,0,0,416,418 + + + +cpdf,gcreationdate,0,0,192,199 + + + +cpdf,glibversion,0,0,996,998 + + + +cpdf,gmultilinetextsize,0,0,943,975 + + +,gtextsize,,multilinetextsizeaddline,b4xbytesbuilder,initialize,b4xbytesbuilder,append,,calcfontkey,b4xbytesbuilder,getlength,,tounsigned,b4xbytesbuilder,getinternalbuffer,b4xbytesbuilder,append2,b4xbytesbuilder,changelength +cpdf,gtextsize,0,0,904,920 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,,calcfontkey,b4xbytesbuilder,getlength,,tounsigned,b4xbytesbuilder,getinternalbuffer,b4xbytesbuilder,append2,b4xbytesbuilder,changelength +cpdf,multilinetextsizeaddline,0,0,925,940 + + + +cpdf,gpage,0,0,659,661 + + + +cpdf,gpageheight,0,0,640,642 + + + +cpdf,gpagescount,0,0,628,630 + + + +cpdf,gpagewidth,0,0,634,636 + + + +cpdf,tounsigned,0,0,895,897 + + + +cpdf,gx,0,0,987,989 + + + +cpdf,gy,0,0,991,993 + + + +cpdf,headerwrite,0,0,202,207 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,imageinfo,0,0,478,571 + + +b4xbytesbuilder,initialize,,rafreadstring,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,rafreadstring,0,0,464,470 + + + +cpdf,imagekey,0,0,473,475 + + + +cpdf,imageswrite,0,0,323,330 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,,imagewrite,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,getlength,,palettewrite,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,imagewrite,0,0,332,352 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,,palettewrite,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,palettewrite,0,0,354,362 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,initfontsinfos,0,0,156,172 + + +,calcfontkey,,createfontinfo +cpdf,sunit,0,0,175,189 + + + +cpdf,kidswrite,0,0,217,227 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,outline,0,0,779,782 + + +,contentadd +cpdf,outraw,0,0,869,885 + + +,contentadd +cpdf,outrectangle,0,0,788,794 + + +,contentadd +cpdf,outtextflow,0,0,737,774 + + +,gmultilinetextsize,,gtextsize,,outtext,,multilinetextsizeaddline,b4xbytesbuilder,initialize,b4xbytesbuilder,append,,calcfontkey,b4xbytesbuilder,getlength,,tounsigned,b4xbytesbuilder,getinternalbuffer,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,,contentadd,,escapetext +cpdf,sdrawcolor,0,0,673,677 + + +,contentadd +cpdf,sdrawwidth,0,0,680,684 + + +,contentadd +cpdf,sfillcolor,0,0,689,692 + + + +cpdf,pageswrite,0,0,229,237 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,,pagewrite,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,getlength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,pagewrite,0,0,239,246 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,propertieswrite,0,0,364,374 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,,escapetext,b4xbytesbuilder,getlength,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,refwrite,0,0,376,381 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,resourceswrite,0,0,281,303 + + +b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,getlength,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,savetostream,0,0,576,602 + + +,headerwrite,,catalogwrite,,kidswrite,,pageswrite,,contentswrite,,resourceswrite,,fontswrite,,imageswrite,,propertieswrite,,xrefwrite,,trailerwrite,,footerwrite,b4xbytesbuilder,initialize,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2,b4xbytesbuilder,getlength,,pagewrite,,contentwrite,,fontwrite,,imagewrite,,palettewrite,,escapetext,,refwrite +cpdf,xrefwrite,0,0,383,396 + + +b4xbytesbuilder,initialize,,headerwrite,b4xbytesbuilder,append,,refwrite,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,trailerwrite,0,0,398,414 + + +b4xbytesbuilder,initialize,,headerwrite,b4xbytesbuilder,append,b4xbytesbuilder,toarray,b4xbytesbuilder,append2,b4xbytesbuilder,changelength,b4xbytesbuilder,subarray,b4xbytesbuilder,subarray2 +cpdf,spage,0,0,665,668 + + + +cpdf,sx,0,0,977,980 + + + +cpdf,sy,0,0,982,985 + + + +b4xseekbar,update,0,0,61,86 + + + +b4xseekbar,setvalue,0,0,125,128 + + +,update +b4xseekbar,base_resize,0,0,52,58 + + +,update +b4xseekbar,class_globals,0,0,11,27 + + + +b4xseekbar,designercreateview,0,0,35,50 + + +,base_resize,,update +b4xseekbar,getvalue,0,0,130,132 + + + +b4xseekbar,initialize,0,0,29,32 + + + +b4xseekbar,raisetouchstateevent,0,0,102,106 + + + +b4xseekbar,setvaluebasedontouch,0,0,108,123 + + + +b4xseekbar,touchpanel_touch,0,0,88,100 + + +,raisetouchstateevent,,setvaluebasedontouch,,update +preoptimizedclv,initialize,1,0,29,51 + + +,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xset,add,b4xorderedmap,initialize,b4xorderedmap,put +preoptimizedclv,commit,0,0,62,83 + + +,clearassigneditems,,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +preoptimizedclv,additem,0,0,53,60 + + + +preoptimizedclv,b4xseekbar1_touchstatechanged,0,0,163,175 + + + +preoptimizedclv,b4xseekbar1_valuechanged,1,0,177,187 + + +,internalsettextorcsbuildertolabel +preoptimizedclv,internalsettextorcsbuildertolabel,0,0,189,201 + + + +preoptimizedclv,class_globals,0,0,2,27 + + + +preoptimizedclv,clearassigneditems,0,0,151,155 + + +b4xset,clear,b4xorderedmap,clear +preoptimizedclv,raisevisiblerangeevent,0,0,85,88 + + + +preoptimizedclv,createpanel,0,0,90,96 + + + +preoptimizedclv,getpanel,0,0,144,149 + + +,createpanel +preoptimizedclv,handlescrollbar,0,0,139,142 + + +b4xseekbar,setvalue,b4xseekbar,update +preoptimizedclv,listchangedexternally,0,0,157,161 + + +,clearassigneditems,,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +preoptimizedclv,visiblerangechanged,0,0,98,137 + + +b4xset,clear,,getpanel,b4xset,add,b4xset,contains,b4xset,aslist,,handlescrollbar,b4xorderedmap,clear,,createpanel,b4xorderedmap,put,b4xorderedmap,containskey,b4xorderedmap,getkeys,b4xseekbar,setvalue,b4xseekbar,update +appupdater,createnotification,0,0,242,251 +,n2,,nnewappnid + + +appupdater,createnotification2,0,0,226,240 + + + +appupdater,download,0,0,219,224 + + +httpjob,initialize,httpjob,download,httpjob,addscheme +appupdater,download_destroy,0,0,214,217 +,n2,,n2id + + +appupdater,download_newapk,0,0,159,212 +starter,muestraprogreso,starter,nuevolink,,newapp,,sharedfolder,,n2,,nnewappnid,b4xpages,mpm,httputils2service,tempfolder,,usefileprovider +starter,muestraprogreso +b4xpages,mainpage,b4xmainpage,muestraprogreso,httpjob,release,httpjob,initialize,httpjob,download,httpjob,getinputstream,b4xmainpage,ocultaprogreso,,setfileuriasintentdata,b4xpages,getmanager,httpjob,addscheme,,getfileuri +appupdater,setfileuriasintentdata,0,0,294,298 +,usefileprovider,,sharedfolder + +,getfileuri +appupdater,download_start,0,0,155,157 +starter,muestraprogreso,starter,nuevolink,,newapp,,sharedfolder,,n2,,nnewappnid,b4xpages,mpm,httputils2service,tempfolder,,usefileprovider +starter,muestraprogreso +,download_newapk,b4xpages,mainpage,b4xmainpage,muestraprogreso,httpjob,release,httpjob,initialize,httpjob,download,httpjob,getinputstream,b4xmainpage,ocultaprogreso,,setfileuriasintentdata,b4xpages,getmanager,httpjob,addscheme,,getfileuri +appupdater,fileprovider_init,0,0,257,270 +,usefileprovider,,sharedfolder,,rp +,usefileprovider,,sharedfolder + +appupdater,getfileuri,0,0,273,290 +,usefileprovider,,sharedfolder + + +appupdater,process_globals,0,1,70,102 +,lnk,,nnewappnid,,n2id +,lnk,,nnewappnid,,n2id + +appupdater,service_create,0,0,104,110 +,newapp,,n2,,nativeme + + +appupdater,service_destroy,0,0,253,255 + + + +appupdater,service_start,1,0,112,153 +,lnk,,newapp,b4xpages,mpm,,usefileprovider,,sharedfolder,,rp,httputils2service,tempfolder,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +,usefileprovider,,sharedfolder,subs,in +b4xpages,mainpage,b4xmainpage,muestraprogreso,,fileprovider_init,,download,httpjob,getstring,b4xpages,showpage,httpjob,release,b4xpages,getmanager,httpjob,initialize,httpjob,download,httpjob,addscheme,httpjob,getstring2,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +tracker,createlocationrequest,0,0,430,440 +,actuallr +,actuallr + +tracker,createlocationrequest2,0,0,455,467 +,actuallr +,actuallr + +tracker,createlocationrequestsmalld,0,0,442,453 +,actuallr +,actuallr + +tracker,createnotification,0,0,534,540 + + + +tracker,dameultimaubicacionconocida,0,0,469,477 +,flp,starter,logger + +subs,fechakmt,,formatofecha +tracker,formatofecha,0,0,550,558 + + + +tracker,flp_connectionfailed,0,0,360,362 + + + +tracker,flp_connectionsuccess,0,0,355,358 + + + +tracker,flp_locationchanged,1,0,487,532 +,uugcoords,starter,ruta,starter,encliente,b4xpages,mpm,,flp,mapa_rutas,mark_cedis +,uugcoords +b4xpages,mainpage,,formatofecha,starter,gps_locationchanged,b4xmainpage,gps_locationchanged,c_principal,gps_locationchanged,c_cliente,gps_locationchanged,c_noventa,gps_locationchanged,c_historico,gps_locationchanged,c_historico2,gps_locationchanged,c_nota,gps_locationchanged,c_nuevocliente,gps_locationchanged,c_pedidos,gps_locationchanged,mapa_rutas,gps_locationchanged,b4xpages,getpage,b4xpages,getmanager,c_cliente,mejorarprecisiongps,c_cliente,iniciofin,c_bitacora,iniciofin,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys +tracker,process_globals,0,1,334,344 +,nid +,nid + +tracker,revisaflp,0,0,561,602 +,flp,,uugcoords,subs,kmt,,flpstarted,,actuallr +,flpstarted,,actuallr +subs,log2db,,startflp,subs,fechakmt,,createlocationrequest +tracker,startflp,0,0,389,402 +,flpstarted,,flp,,actuallr +,flpstarted,,actuallr +,createlocationrequest +tracker,revisauug,0,0,606,631 +,flp,,uugcoords,starter,logger,b4xpages,mpm,,flpstarted,,actuallr +,uugcoords,,flpstarted,,actuallr +subs,fechakmt,b4xpages,mainpage,,startflp,b4xpages,getmanager,,createlocationrequest +tracker,service_create,0,0,346,353 +,flp,,lock,,flpstarted,,actuallr +,flpstarted,,actuallr +,startflp,,createlocationrequest +tracker,service_destroy,0,0,542,548 +,tracking,,lock,,flpstarted,,flp +,tracking,,flpstarted +,stopflp +tracker,stopflp,0,0,479,485 +,flpstarted,,flp +,flpstarted + +tracker,service_start,0,0,364,371 +,nid,,flp,,tracking,,actuallr,starter,rp,,flpstarted +,tracking,,flpstarted,,actuallr +,createnotification,,track,,startflp,,createlocationrequest +tracker,track,0,0,373,387 +,tracking,,flp,,actuallr,starter,rp,,flpstarted +,tracking,,flpstarted,,actuallr +,startflp,,createlocationrequest +tracker,startflp2,0,0,404,416 +,flpstarted,,flp,,actuallr,starter,logger +,actuallr +,dameultimaubicacionconocida,,createlocationrequest2,subs,fechakmt,,formatofecha +tracker,startflpsmall,0,0,418,428 +,flpstarted,,flp,starter,logger,,actuallr +,actuallr +,dameultimaubicacionconocida,,createlocationrequestsmalld,subs,fechakmt,,formatofecha +c_historico2,gps_locationchanged,0,0,130,133 + + + +c_historico2,b4xpage_appear,1,0,60,107 +starter,gps,b4xpages,mpm + +b4xpages,mainpage,,createlistitem,b4xpages,getmanager +c_historico2,createlistitem,1,0,110,128 + + + +c_historico2,b4xpage_closerequest,1,0,139,144 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_historico2,b4xpage_created,1,0,44,56 + + + +c_historico2,class_globals,0,0,1,36 + + + +c_historico2,listview1_itemclick,0,0,151,161 + + + +c_historico2,listview2_itemclick,0,0,146,149 + + + +c_historico2,regresar_click,1,0,135,137 +b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_rutas,gps_locationchanged,0,0,238,257 +,mark_cedis + + +mapa_rutas,activity_create,1,0,56,109 +,b_azul,,b_rojo,,b_todos,,b_verde,,mapfragment1,,ruta,,skmt,,gps,,mark_azul,,mark_rojo,,mark_verde,,list_azul,,list_rojo,,list_verde,,verde,,azul,,rojo,,todos,,c,,semana +,b_azul,,b_rojo,,b_todos,,b_verde,,mapfragment1,,ruta,,verde,,azul,,rojo,,todos,,c,,semana + +mapa_rutas,activity_pause,0,0,269,271 +,gps + + +mapa_rutas,activity_resume,1,0,259,267 +,gps + + +mapa_rutas,b_azul_click,0,0,305,314 +,azul,,verde,,rojo,,todos,,gmap,,mapfragment1,,rp,,c,,skmt,,ruta,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,azul,,verde,,rojo,,todos,,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready +mapa_rutas,mapfragment1_ready,0,0,111,225 +,gmap,,mapfragment1,,rp,,azul,,todos,,c,,skmt,,ruta,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,verde,,c2,,mark_verde,,list_verde,,rojo,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 + +mapa_rutas,b_rojo_click,0,0,294,303 +,rojo,,verde,,azul,,todos,,gmap,,mapfragment1,,rp,,c,,skmt,,ruta,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,rojo,,verde,,azul,,todos,,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready +mapa_rutas,b_todos_click,0,0,274,282 +,todos,,verde,,azul,,rojo,,gmap,,mapfragment1,,rp,,c,,skmt,,ruta,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,todos,,verde,,azul,,rojo,,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready +mapa_rutas,b_verde_click,0,0,284,292 +,verde,,azul,,rojo,,todos,,gmap,,mapfragment1,,rp,,c,,skmt,,ruta,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,verde,,azul,,rojo,,todos,,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready +mapa_rutas,globals,0,1,18,54 +,latitud,,longitud,,lat2,,lon2 +,latitud,,longitud,,lat2,,lon2 + +mapa_rutas,oninfowindowclicklistener1_click,1,0,230,235 +,skmt,b4xpages,mpm,starter,ruta,starter,skmt,subs,in,starter,reqmanager,starter,idcliente,starter,rp +subs,in +b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_principal,b4xpage_created,c_cliente,b4xpage_created,c_noventa,b4xpage_created,c_productos,b4xpage_created,c_ticketsdia,b4xpage_created,c_bitacora,b4xpage_created,c_clientescompletos,b4xpage_created,c_clientes,b4xpage_created,v_tclientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_historico2,b4xpage_created,c_historicobat,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_promos,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,c_nuevocliente,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_historicobat,initialize,c_clientescompletos,initialize,v_tclientes,initialize,fileprovider,initialize,subs,agregacolumna,subs,traeusarintentbdwa,subs,importabddesdewhatsapp,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,b4xpages,getnativeparent,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,c_bitacora,initialize,subs,traetipoventadebd,subs,centrapanel,c_bitacora,agregacolumna,c_bitacora,cargamospanel,c_cuestionario,initialize,c_cuestionario,agregacolumna,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,subs,calculatotalconpromoxrango,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_rutas,process_globals,0,1,7,16 + + + +b4xbytesbuilder,initialize,0,0,6,9 + + + +b4xbytesbuilder,append,0,0,24,26 + + +,append2,,changelength +b4xbytesbuilder,getlength,0,0,92,94 + + + +b4xbytesbuilder,toarray,0,0,97,99 + + +,subarray,,subarray2 +b4xbytesbuilder,getinternalbuffer,0,0,127,129 + + + +b4xbytesbuilder,append2,0,0,31,35 + + +,changelength +b4xbytesbuilder,changelength,0,0,12,21 + + + +b4xbytesbuilder,class_globals,0,0,1,4 + + + +b4xbytesbuilder,clear,0,0,37,39 + + +,changelength +b4xbytesbuilder,getbuffer,0,0,103,104 + + + +b4xbytesbuilder,indexof,0,0,107,109 + + +,indexof2 +b4xbytesbuilder,indexof2,0,0,112,124 + + + +b4xbytesbuilder,insert,0,0,43,53 + + +,append,,subarray,,changelength,,append2,,subarray2 +b4xbytesbuilder,subarray,0,0,80,82 + + +,subarray2 +b4xbytesbuilder,remove,0,0,69,77 + + +,subarray2,,subarray,,changelength +b4xbytesbuilder,subarray2,0,0,86,90 + + + +b4xbytesbuilder,set,0,0,56,66 + + +,append,,changelength,,append2 +firebasemessaging,borragpshist,0,0,218,220 +,c,b4xpages,mpm +,c +b4xpages,mainpage,b4xpages,getmanager +firebasemessaging,borramosarchivogps,0,0,167,173 + + + +firebasemessaging,compress,0,0,179,188 +,gzip + + +firebasemessaging,dameruta,0,0,202,216 +,c,b4xpages,mpm,,gzip +,c +b4xpages,mainpage,,compress,b4xpages,getmanager +firebasemessaging,decompress,0,0,190,200 + + + +firebasemessaging,fm_messagearrived,0,0,72,119 +,locrequest,,au,,sprvsr,b4xpages,mpm,,api_key,,c,,gzip +,locrequest,,au,,c +b4xpages,mainpage,,sendmessage,,borramosarchivogps,,dameruta,,borragpshist,b4xpages,getmanager,httpjob,initialize,httpjob,poststring,httpjob,getrequest,httpjob,postbytes,httpjob,addscheme,,compress +firebasemessaging,sendmessage,0,0,125,148 +,api_key,b4xpages,mpm + +httpjob,initialize,b4xpages,mainpage,httpjob,poststring,httpjob,getrequest,b4xpages,getmanager,httpjob,postbytes,httpjob,addscheme +firebasemessaging,guardainfoenarchivo,0,0,161,165 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +firebasemessaging,mandamosloc,0,0,150,159 +,locrequest,,sprvsr,,api_key,b4xpages,mpm +,locrequest +,sendmessage,httpjob,initialize,b4xpages,mainpage,httpjob,poststring,httpjob,getrequest,b4xpages,getmanager,httpjob,postbytes,httpjob,addscheme +firebasemessaging,pe_batterychanged,0,0,175,177 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +firebasemessaging,process_globals,0,1,32,43 +,api_key,,sprvsr +,api_key,,sprvsr + +firebasemessaging,service_create,0,0,45,48 +,fm,,pe + + +firebasemessaging,service_destroy,0,0,121,123 + + + +firebasemessaging,service_start,0,0,65,70 +,fm + + +firebasemessaging,subscribetotopics,0,0,50,63 +,fm,,subscrito,b4xpages,mpm +,subscrito +b4xpages,mainpage,b4xpages,getmanager +cl_appupdate,canrequestpackageinstalls,0,0,448,453 + + + +cl_appupdate,checknonmarketappsenabled,0,0,471,483 + + + +cl_appupdate,class_globals,0,0,6,45 + + + +cl_appupdate,downloadapk,1,0,158,192 +httputils2service,tempfolder + +,finito,httpjob,initialize,httpjob,download,httpjob,getinputstream,httpjob,release,httpjob,addscheme +cl_appupdate,finito,1,0,290,294 + + + +cl_appupdate,extractcl,0,0,381,395 + + + +cl_appupdate,extractsz,0,0,399,417 + + + +cl_appupdate,extractvn,0,0,360,376 + + + +cl_appupdate,getavailablespace,0,0,137,139 + + +,getfreespace +cl_appupdate,getfreespace,0,0,421,425 + + + +cl_appupdate,getcurvn,0,0,114,116 + + + +cl_appupdate,getfileuri,0,0,503,516 + + + +cl_appupdate,getnmappinst,0,0,435,442 + + + +cl_appupdate,getpackagename,0,0,79,81 + + + +cl_appupdate,getsdkversion,0,0,428,432 + + + +cl_appupdate,getstatus,0,0,108,110 + + + +cl_appupdate,getwebchangelog,0,0,126,128 + + + +cl_appupdate,getwebfilesize,0,0,132,134 + + + +cl_appupdate,getwebvn,0,0,120,122 + + + +cl_appupdate,initialize,0,0,48,70 + + + +cl_appupdate,installapk,1,0,195,206 + + +,sendinstallintent,,finito,,getfileuri +cl_appupdate,sendinstallintent,0,0,487,498 + + +,getfileuri +cl_appupdate,isvalidcv,0,0,297,309 + + + +cl_appupdate,isvalidwv,0,0,312,354 +httputils2service,tempfolder + +httpjob,initialize,httpjob,download,httpjob,getstring,,extractvn,,extractcl,,extractsz,httpjob,release,httpjob,addscheme,httpjob,getstring2 +cl_appupdate,readcurvn,1,0,143,147 + + +,isvalidcv,,finito +cl_appupdate,readwebvn,1,0,151,155 +httputils2service,tempfolder + +,isvalidwv,,finito,httpjob,initialize,httpjob,download,httpjob,getstring,,extractvn,,extractcl,,extractsz,httpjob,release,httpjob,addscheme,httpjob,getstring2 +cl_appupdate,setandstartsplashscreen,0,0,532,544 + + + +cl_appupdate,setcredentials,0,0,96,99 + + + +cl_appupdate,setfileuriasintentdata,0,0,520,524 + + +,getfileuri +cl_appupdate,setnewverapk,0,0,91,93 + + + +cl_appupdate,setnewvertxt,0,0,86,88 + + + +cl_appupdate,setpackagename,0,0,74,76 + + + +cl_appupdate,setverbose,0,0,102,105 +newinst2,svcverbose +newinst2,svcverbose + +cl_appupdate,stopsplashscreen,0,0,547,552 + + + +cl_appupdate,tryapkupdate,1,0,245,287 +httputils2service,tempfolder + +httpjob,initialize,httpjob,download,httpjob,getinputstream,httpjob,release,,sendinstallintent,,finito,httpjob,addscheme,,getfileuri +cl_appupdate,updateapk,1,0,210,242 +httputils2service,tempfolder + +,isvalidwv,,isvalidcv,,getfreespace,,tryapkupdate,httpjob,initialize,httpjob,download,httpjob,getstring,,extractvn,,extractcl,,extractsz,httpjob,release,httpjob,addscheme,httpjob,getstring2,httpjob,getinputstream,,sendinstallintent,,finito,,getfileuri +newinst2,getpackagename,0,0,38,41 + + + +newinst2,myappreload,0,0,43,50 +,svcverbose + + +newinst2,process_globals,0,1,5,11 +,logcolor1 +,logcolor1 + +newinst2,service_create,0,0,13,17 +,logcolor1,,pkg,,svcverbose +,pkg,,svcverbose + +newinst2,service_destroy,0,0,35,36 + + + +newinst2,service_start,0,0,19,33 +,logcolor1,,svcverbose,,pkg +,pkg +,getpackagename,,myappreload +b4xbitset,class_globals,0,0,1,8 + + + +b4xbitset,clear,0,0,54,60 + + + +b4xbitset,get,0,0,38,47 + + + +b4xbitset,getsize,0,0,49,51 + + + +b4xbitset,initialize,0,0,10,13 + + +,clear +b4xbitset,set,0,0,16,35 + + + +b4xcache,class_globals,0,0,1,7 + + + +b4xcache,containskey,0,0,66,68 + + +b4xorderedmap,containskey +b4xcache,createb4xcacheitem,0,0,102,109 + + + +b4xcache,get,0,0,24,31 + + +b4xorderedmap,get +b4xcache,getmaxsize,0,0,19,21 + + + +b4xcache,initialize,0,0,9,11 + + +b4xorderedmap,initialize +b4xcache,iseternal,0,0,60,63 + + +b4xorderedmap,get +b4xcache,keys,0,0,98,100 + + +b4xorderedmap,getkeys +b4xcache,put,0,0,35,40 + + +,iseternal,b4xorderedmap,put,,createb4xcacheitem,,trimifoversize,b4xorderedmap,get,b4xorderedmap,getsize,b4xorderedmap,getvalues,b4xorderedmap,remove +b4xcache,trimifoversize,0,0,70,79 + + +b4xorderedmap,getsize,b4xorderedmap,getvalues,b4xorderedmap,remove +b4xcache,puteternal,0,0,44,52 + + +,iseternal,,createb4xcacheitem,b4xorderedmap,put,b4xorderedmap,get +b4xcache,remove,0,0,55,58 + + +,iseternal,b4xorderedmap,remove,b4xorderedmap,get +b4xcache,removeolditems,0,0,82,90 + + +b4xorderedmap,getvalues,b4xorderedmap,remove +b4xcache,setmaxsize,0,0,14,17 + + +,trimifoversize,b4xorderedmap,getsize,b4xorderedmap,getvalues,b4xorderedmap,remove +b4xcache,size,0,0,93,95 + + +b4xorderedmap,getsize +b4xorderedmap,containskey,0,0,46,48 + + + +b4xorderedmap,get,0,0,37,39 + + + +b4xorderedmap,initialize,0,0,6,9 + + + +b4xorderedmap,getkeys,0,0,32,34 + + + +b4xorderedmap,put,0,0,12,17 + + + +b4xorderedmap,remove,0,0,20,24 + + + +b4xorderedmap,getvalues,0,0,55,62 + + + +b4xorderedmap,getsize,0,0,50,52 + + + +b4xorderedmap,class_globals,0,0,1,4 + + + +b4xorderedmap,clear,0,0,26,29 + + + +b4xorderedmap,getdataforserializator,0,0,65,67 + + + +b4xorderedmap,getdefault,0,0,42,44 + + + +b4xorderedmap,setdatafromserializator,0,0,70,74 + + + +b4xcollections,createbitset,0,0,52,56 + + +b4xbitset,initialize,b4xbitset,clear +b4xcollections,createorderedmap,0,0,30,32 + + +,createorderedmap2,b4xorderedmap,initialize,b4xorderedmap,put +b4xcollections,createorderedmap2,0,0,38,47 + + +b4xorderedmap,initialize,b4xorderedmap,put +b4xcollections,createset,0,0,9,11 + + +,createset2,b4xset,initialize,b4xset,add,b4xorderedmap,initialize,b4xorderedmap,put +b4xcollections,createset2,0,0,16,25 + + +b4xset,initialize,b4xset,add,b4xorderedmap,initialize,b4xorderedmap,put +b4xcollections,process_globals,0,1,2,4 + + + +b4xset,initialize,0,0,5,7 + + +b4xorderedmap,initialize +b4xset,add,0,0,9,11 + + +b4xorderedmap,put +b4xset,aslist,0,0,29,31 + + +b4xorderedmap,getkeys +b4xset,class_globals,0,0,1,3 + + + +b4xset,clear,0,0,25,27 + + +b4xorderedmap,clear +b4xset,contains,0,0,17,19 + + +b4xorderedmap,containskey +b4xset,getsize,0,0,21,23 + + +b4xorderedmap,getsize +b4xset,remove,0,0,13,15 + + +b4xorderedmap,remove +b4xcomparatorsort,class_globals,0,0,1,2 + + + +b4xcomparatorsort,initialize,0,0,4,5 + + + +b4xcomparatorsort,partition,0,0,30,42 + + +,swap +b4xcomparatorsort,swap,0,0,44,48 + + + +b4xcomparatorsort,quicksort,0,0,21,28 + + +,partition,,quicksort,,swap +b4xcomparatorsort,sort,0,0,12,18 + + +,quicksort,,partition,,swap +httputils2service,completejob,0,0,152,169 +,taskidtojob + +httpjob,complete +httputils2service,hc_responseerror,0,0,115,131 +,taskidtojob + +,completejob,httpjob,complete +httputils2service,hc_responsesuccess,0,0,92,105 +,taskidtojob,,tempfolder + + +httputils2service,process_globals,0,1,2,25 + + + +httputils2service,receiver_receive,0,0,58,62 +,tempfolder,,hc,,taskidtojob +,tempfolder +,service_create +httputils2service,service_create,0,0,27,56 +,tempfolder,,hc,,taskidtojob +,tempfolder + +httputils2service,response_streamfinish,0,0,107,113 +,taskidtojob + +,completejob,httpjob,complete +httputils2service,service_destroy,0,0,68,70 + + + +httputils2service,service_start,0,0,64,66 + + + +httputils2service,submitjob,0,0,74,88 +,taskidtojob,,taskcounter,,hc,,tempfolder +,taskcounter,,tempfolder +,service_create,httpjob,getrequest +animatedcounter,base_resize,0,0,70,86 + + +,createbitmap,,topfromvalue +animatedcounter,createbitmap,0,0,93,107 + + + +animatedcounter,topfromvalue,0,0,88,91 + + + +animatedcounter,class_globals,0,0,5,20 + + + +animatedcounter,createfadebitmap,0,0,56,67 + + + +animatedcounter,designercreateview,0,0,30,54 + + +,createfadebitmap,,setvalue,,base_resize,,getvalue,,topfromvalue,,createbitmap +animatedcounter,setvalue,0,0,109,118 + + +,topfromvalue +animatedcounter,getvalue,0,0,120,126 + + + +animatedcounter,initialize,0,0,22,27 + + + +anotherprogressbar,base_resize,0,0,49,57 + + +,updategraphics,,setvisible,,busyloop +anotherprogressbar,updategraphics,0,0,112,142 + + +,setvisible,,busyloop +anotherprogressbar,busyloop,0,0,59,101 + + + +anotherprogressbar,class_globals,0,0,4,24 + + + +anotherprogressbar,designercreateview,0,0,32,47 + + +,setvalue,,base_resize,,updategraphics,,setvisible,,busyloop +anotherprogressbar,setvalue,0,0,161,163 + + + +anotherprogressbar,getprogresscolor,0,0,103,105 + + + +anotherprogressbar,getvalue,0,0,157,159 + + + +anotherprogressbar,getvisible,0,0,153,155 + + + +anotherprogressbar,initialize,0,0,26,29 + + + +anotherprogressbar,setprogresscolor,0,0,107,110 + + +,updategraphics,,setvisible,,busyloop +anotherprogressbar,setvaluenoanimation,0,0,165,168 + + +,setvalue +anotherprogressbar,setvisible,0,0,145,151 + + +,busyloop +b4xbreadcrumb,base_resize,0,0,51,55 + + +,draw,,drawitem +b4xbreadcrumb,draw,0,0,57,83 + + +,drawitem +b4xbreadcrumb,class_globals,0,0,5,22 + + + +b4xbreadcrumb,designercreateview,0,0,33,49 + + +,draw,,drawitem +b4xbreadcrumb,drawitem,0,0,85,112 + + + +b4xbreadcrumb,finditem,0,0,136,146 + + + +b4xbreadcrumb,getitems,0,0,153,155 + + + +b4xbreadcrumb,initialize,0,0,24,30 + + + +b4xbreadcrumb,setitems,0,0,148,151 + + +,draw,,drawitem +b4xbreadcrumb,touch_touch,1,0,114,134 +xuiviewsutils,utilsinitialized +xuiviewsutils,utilsinitialized +,finditem,,draw,xuiviewsutils,performhapticfeedback,,drawitem,xuiviewsutils,initialize +xuiviewsutils,performhapticfeedback,0,0,21,31 +,utilsinitialized +,utilsinitialized +,initialize +xuiviewsutils,settextorcsbuildertolabel,0,0,50,62 + + + +xuiviewsutils,addstubtoclvifneeded,0,0,34,47 +,xui + + +xuiviewsutils,setbitmapandfill,0,0,65,75 + + + +xuiviewsutils,setalpha,0,0,95,107 + + + +xuiviewsutils,createb4ximageview,0,0,85,92 +,xui + +b4ximageview,initialize,b4ximageview,designercreateview,b4ximageview,update,b4ximageview,updateclip +xuiviewsutils,createlabel,0,0,78,82 + + + +xuiviewsutils,initialize,0,0,10,19 +,utilsinitialized +,utilsinitialized + +xuiviewsutils,process_globals,0,1,2,8 + + + +b4xcolortemplate,alpha_touch,0,0,263,266 + + +,alphabarselectedchange,,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,alphabarselectedchange,0,0,147,156 + + +,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,update,0,0,158,161 + + +,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,base_resize,0,0,51,77 + + +,drawcheckers,,drawhuebar,,drawalphabar,,huebarselectedchanged,,alphabarselectedchange,,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,drawcheckers,0,0,79,96 + + + +b4xcolortemplate,drawhuebar,0,0,98,107 + + + +b4xcolortemplate,drawalphabar,0,0,109,124 + + + +b4xcolortemplate,huebarselectedchanged,0,0,136,145 + + +,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,class_globals,0,0,1,15 + + + +b4xcolortemplate,colors_touch,0,0,253,256 + + +,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,handleselectedcolorchanged,0,0,163,173 + + +,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,colortohsv,0,0,199,228 + + + +b4xcolortemplate,createpanelforbitmapcreator,0,0,30,49 + + + +b4xcolortemplate,dialogclosed,0,0,241,245 + + +,setselectedhsvcolor,,huebarselectedchanged,,alphabarselectedchange,,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,setselectedhsvcolor,0,0,190,197 + + +,huebarselectedchanged,,alphabarselectedchange,,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,drawcolors,0,0,126,134 + + + +b4xcolortemplate,getpanel,0,0,230,232 + + + +b4xcolortemplate,getselectedcolor,0,0,175,179 + + +,getselectedhsvcolor +b4xcolortemplate,getselectedhsvcolor,0,0,186,188 + + + +b4xcolortemplate,updatebarcolor,0,0,247,251 + + +,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,huebar_touch,0,0,258,261 + + +,huebarselectedchanged,,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,initialize,0,0,17,28 + + +,createpanelforbitmapcreator,,base_resize,,drawcheckers,,drawhuebar,,drawalphabar,,huebarselectedchanged,,alphabarselectedchange,,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,setselectedcolor,0,0,181,183 + + +,setselectedhsvcolor,,colortohsv,,huebarselectedchanged,,alphabarselectedchange,,update,,drawcolors,,handleselectedcolorchanged,,updatebarcolor,,getselectedcolor,,getselectedhsvcolor +b4xcolortemplate,show,0,0,234,239 + + +,getselectedhsvcolor,,updatebarcolor,,getselectedcolor +b4xdatetemplate,btnmonth_click,0,0,160,165 + + +,drawdays,,setyearsbuttonstate,,drawbox +b4xdatetemplate,drawdays,0,0,62,84 + + +,setyearsbuttonstate,,drawbox +b4xdatetemplate,btnyear_click,0,0,154,158 + + +,drawdays,,setyearsbuttonstate,,drawbox +b4xdatetemplate,class_globals,0,0,1,35 + + + +b4xdatetemplate,dayspanefg_touch,0,0,167,170 + + +,handlemouse,,drawbox,,selectday,,hide,,drawdays,b4xdialog,close,b4xdialog,getvisible,,setyearsbuttonstate +b4xdatetemplate,handlemouse,0,0,123,147 + + +,drawbox,,selectday,,hide,,drawdays,b4xdialog,close,b4xdialog,getvisible,,setyearsbuttonstate +b4xdatetemplate,dialogclosed,0,0,193,197 + + +,setdate,,selectday +b4xdatetemplate,setdate,0,0,102,113 + + +,selectday +b4xdatetemplate,drawbox,0,0,91,95 + + + +b4xdatetemplate,setyearsbuttonstate,0,0,86,89 + + + +b4xdatetemplate,getdate,0,0,98,100 + + + +b4xdatetemplate,getpanel,0,0,172,174 + + + +b4xdatetemplate,selectday,0,0,115,120 + + + +b4xdatetemplate,hide,0,0,149,151 + + +b4xdialog,close,b4xdialog,getvisible +b4xdatetemplate,initialize,1,0,37,60 + + +,setdate,,selectday +b4xdatetemplate,show,0,0,176,191 + + +,drawdays,,setyearsbuttonstate,,drawbox +b4xdialog,close,0,0,239,245 + + +,getvisible +b4xdialog,background_click,0,0,258,260 + + + +b4xdialog,background_touch,0,0,253,255 + + + +b4xdialog,blur,0,0,287,323 + + +,setavg +b4xdialog,setavg,0,0,325,337 + + + +b4xdialog,button_click,0,0,233,237 + + +,close,,getvisible +b4xdialog,class_globals,0,0,4,34 + + + +b4xdialog,getvisible,0,0,189,191 + + + +b4xdialog,createbutton,0,0,193,212 + + +xuiviewsutils,settextorcsbuildertolabel +b4xdialog,getbutton,0,0,215,220 + + + +b4xdialog,initialize,0,0,36,55 + + + +b4xdialog,internaladdstubtoclvifneeded,0,0,343,345 +xuiviewsutils,xui + +xuiviewsutils,addstubtoclvifneeded +b4xdialog,internalsettextorcsbuildertolabel,0,0,339,341 + + +xuiviewsutils,settextorcsbuildertolabel +b4xdialog,resize,0,0,263,272 + + +,updateblur,,blur,,setavg +b4xdialog,updateblur,0,0,274,285 + + +,blur,,setavg +b4xdialog,setbuttonstate,0,0,223,230 + + +,getbutton +b4xdialog,show,0,0,74,95 + + +xuiviewsutils,settextorcsbuildertolabel,,showcustom,,updateblur,,createbutton,,blur,,setavg +b4xdialog,showcustom,0,0,97,187 + + +,updateblur,,createbutton,xuiviewsutils,settextorcsbuildertolabel,,blur,,setavg +b4xdialog,showtemplate,1,0,65,72 +xuiviewsutils,xui + +b4xcolortemplate,getpanel,b4xdatetemplate,getpanel,b4xinputtemplate,getpanel,b4xlisttemplate,getpanel,b4xlongtexttemplate,getpanel,b4xsearchtemplate,getpanel,b4xsignaturetemplate,getpanel,b4xtimedtemplate,getpanel,b4xcolortemplate,show,b4xdatetemplate,show,b4xinputtemplate,show,b4xlisttemplate,show,b4xlongtexttemplate,show,b4xsearchtemplate,show,b4xsignaturetemplate,show,b4xtimedtemplate,show,,showcustom,b4xcolortemplate,dialogclosed,b4xdatetemplate,dialogclosed,b4xinputtemplate,dialogclosed,b4xlisttemplate,dialogclosed,b4xlongtexttemplate,dialogclosed,b4xsearchtemplate,dialogclosed,b4xsignaturetemplate,dialogclosed,b4xtimedtemplate,dialogclosed,b4xcolortemplate,getselectedhsvcolor,b4xcolortemplate,updatebarcolor,b4xcolortemplate,getselectedcolor,b4xdatetemplate,drawdays,b4xdatetemplate,setyearsbuttonstate,b4xdatetemplate,drawbox,b4xinputtemplate,validate,b4xinputtemplate,isvalid,,setbuttonstate,b4xinputtemplate,setborder,,getbutton,b4xlisttemplate,selectitem,xuiviewsutils,addstubtoclvifneeded,b4xsearchtemplate,update,b4xfloattextfield,settext,b4xfloattextfield,gettextfield,b4xsearchtemplate,additemstolist,b4xfloattextfield,tf_textchanged,b4xfloattextfield,updatelabel,anotherprogressbar,setvaluenoanimation,anotherprogressbar,setvalue,,close,,getvisible,,updateblur,,createbutton,xuiviewsutils,settextorcsbuildertolabel,,blur,,setavg,b4xcolortemplate,setselectedhsvcolor,b4xcolortemplate,huebarselectedchanged,b4xcolortemplate,alphabarselectedchange,b4xcolortemplate,update,b4xcolortemplate,drawcolors,b4xcolortemplate,handleselectedcolorchanged,b4xdatetemplate,setdate,b4xdatetemplate,selectday +b4xdialog,stub_click,0,0,349,351 + + + +b4xinputtemplate,getpanel,0,0,116,118 + + + +b4xinputtemplate,show,0,0,120,135 + + +,validate,,isvalid,b4xdialog,setbuttonstate,,setborder,b4xdialog,getbutton +b4xinputtemplate,dialogclosed,0,0,137,141 + + + +b4xinputtemplate,class_globals,0,0,1,14 + + + +b4xinputtemplate,configurefornumbers,0,0,40,69 + + + +b4xinputtemplate,initialize,1,0,16,31 + + +,setborder +b4xinputtemplate,setborder,0,0,99,101 + + + +b4xinputtemplate,isvalid,0,0,103,105 + + + +b4xinputtemplate,setbordercolor,0,0,34,38 + + +,setborder +b4xinputtemplate,validate,0,0,86,97 + + +,isvalid,b4xdialog,setbuttonstate,,setborder,b4xdialog,getbutton +b4xinputtemplate,textfield1_action,0,0,107,109 + + +,textfield1_enterpressed,,isvalid,b4xdialog,close,b4xdialog,getvisible +b4xinputtemplate,textfield1_enterpressed,0,0,111,113 + + +,isvalid,b4xdialog,close,b4xdialog,getvisible +b4xinputtemplate,textfield1_textchanged,0,0,71,84 + + +,validate,,isvalid,b4xdialog,setbuttonstate,,setborder,b4xdialog,getbutton +b4xlisttemplate,getpanel,0,0,37,39 + + + +b4xlisttemplate,show,0,0,41,57 +xuiviewsutils,xui + +,selectitem,xuiviewsutils,addstubtoclvifneeded,b4xdialog,setbuttonstate,b4xdialog,getbutton +b4xlisttemplate,dialogclosed,0,0,89,91 + + + +b4xlisttemplate,class_globals,0,0,1,12 + + + +b4xlisttemplate,customlistview1_itemclick,0,0,76,87 + + +,selectitem,b4xdialog,close,b4xdialog,setbuttonstate,b4xdialog,getbutton,b4xdialog,getvisible +b4xlisttemplate,selectitem,0,0,59,73 + + +b4xdialog,setbuttonstate,b4xdialog,getbutton +b4xlisttemplate,initialize,1,0,14,28 + + + +b4xlisttemplate,resize,0,0,31,34 + + + +b4xlongtexttemplate,getpanel,0,0,30,32 + + + +b4xlongtexttemplate,show,0,0,34,39 +xuiviewsutils,xui + +xuiviewsutils,addstubtoclvifneeded +b4xlongtexttemplate,dialogclosed,0,0,41,43 + + + +b4xlongtexttemplate,class_globals,0,0,1,6 + + + +b4xlongtexttemplate,initialize,1,0,8,21 + + + +b4xlongtexttemplate,resize,0,0,23,27 + + + +b4xsearchtemplate,getpanel,0,0,61,63 + + + +b4xsearchtemplate,show,1,0,65,79 + + +,update,b4xfloattextfield,settext,b4xfloattextfield,gettextfield,,additemstolist,b4xfloattextfield,tf_textchanged,b4xfloattextfield,updatelabel +b4xsearchtemplate,dialogclosed,0,0,241,243 + + + +b4xsearchtemplate,additemstolist,0,0,128,191 + + + +b4xsearchtemplate,class_globals,0,0,1,22 + + + +b4xsearchtemplate,customlistview1_itemclick,0,0,122,126 + + +b4xdialog,close,b4xdialog,getvisible +b4xsearchtemplate,initialize,1,0,24,52 + + +b4xfloattextfield,gettextfield +b4xsearchtemplate,resize,0,0,54,59 + + + +b4xsearchtemplate,searchfield_enterpressed,0,0,112,119 + + +b4xdialog,close,,customlistview1_itemclick,b4xdialog,getvisible +b4xsearchtemplate,searchfield_textchanged,0,0,81,83 + + +,update,,additemstolist +b4xsearchtemplate,update,0,0,85,110 + + +,additemstolist +b4xsearchtemplate,setindex,0,0,233,239 + + + +b4xsearchtemplate,setitems,0,0,196,230 + + + +b4xsignaturetemplate,getpanel,0,0,28,30 + + + +b4xsignaturetemplate,show,0,0,32,36 + + + +b4xsignaturetemplate,dialogclosed,0,0,56,62 + + + +b4xsignaturetemplate,class_globals,0,0,1,13 + + + +b4xsignaturetemplate,getbitmap,0,0,52,54 + + + +b4xsignaturetemplate,initialize,0,0,15,20 + + + +b4xsignaturetemplate,mbase_touch,0,0,38,50 + + + +b4xsignaturetemplate,resize,0,0,22,25 + + + +b4xtimedtemplate,getpanel,1,0,16,26 + + +b4xcolortemplate,getpanel,b4xdatetemplate,getpanel,b4xinputtemplate,getpanel,b4xlisttemplate,getpanel,b4xlongtexttemplate,getpanel,b4xsearchtemplate,getpanel,b4xsignaturetemplate,getpanel,,getpanel +b4xtimedtemplate,show,1,0,28,39 +xuiviewsutils,xui + +b4xcolortemplate,show,b4xdatetemplate,show,b4xinputtemplate,show,b4xlisttemplate,show,b4xlongtexttemplate,show,b4xsearchtemplate,show,b4xsignaturetemplate,show,,show,anotherprogressbar,setvaluenoanimation,anotherprogressbar,setvalue,b4xdialog,close,b4xcolortemplate,getselectedhsvcolor,b4xcolortemplate,updatebarcolor,b4xcolortemplate,getselectedcolor,b4xdatetemplate,drawdays,b4xdatetemplate,setyearsbuttonstate,b4xdatetemplate,drawbox,b4xinputtemplate,validate,b4xinputtemplate,isvalid,b4xdialog,setbuttonstate,b4xinputtemplate,setborder,b4xdialog,getbutton,b4xlisttemplate,selectitem,xuiviewsutils,addstubtoclvifneeded,b4xsearchtemplate,update,b4xfloattextfield,settext,b4xfloattextfield,gettextfield,b4xsearchtemplate,additemstolist,b4xfloattextfield,tf_textchanged,b4xfloattextfield,updatelabel,b4xdialog,getvisible +b4xtimedtemplate,dialogclosed,0,0,41,44 + + +b4xcolortemplate,dialogclosed,b4xdatetemplate,dialogclosed,b4xinputtemplate,dialogclosed,b4xlisttemplate,dialogclosed,b4xlongtexttemplate,dialogclosed,b4xsearchtemplate,dialogclosed,b4xsignaturetemplate,dialogclosed,,dialogclosed,b4xcolortemplate,setselectedhsvcolor,b4xcolortemplate,huebarselectedchanged,b4xcolortemplate,alphabarselectedchange,b4xcolortemplate,update,b4xcolortemplate,drawcolors,b4xcolortemplate,handleselectedcolorchanged,b4xcolortemplate,updatebarcolor,b4xcolortemplate,getselectedcolor,b4xcolortemplate,getselectedhsvcolor,b4xdatetemplate,setdate,b4xdatetemplate,selectday +b4xtimedtemplate,class_globals,0,0,1,8 + + + +b4xtimedtemplate,initialize,0,0,10,14 + + + +b4xfloattextfield,base_resize,0,0,196,208 + + +,updatelabel +b4xfloattextfield,updatelabel,0,0,210,232 + + + +b4xfloattextfield,class_globals,0,0,16,48 + + + +b4xfloattextfield,createacceptbutton,0,0,125,129 + + +,createbutton +b4xfloattextfield,createbutton,0,0,182,194 + + + +b4xfloattextfield,createbitmap,0,0,257,267 + + + +b4xfloattextfield,createclearbutton,0,0,117,123 + + +,createbutton +b4xfloattextfield,createrevealbutton,0,0,132,135 + + +,createbutton +b4xfloattextfield,createtextfield,0,0,328,386 + + + +b4xfloattextfield,createtextfieldall,0,0,109,115 + + +,createtextfield,,setnextfield +b4xfloattextfield,setnextfield,0,0,299,312 + + + +b4xfloattextfield,designercreateview,0,0,67,107 + + +,createtextfieldall,,update,,createrevealbutton,,createclearbutton,,createacceptbutton,,base_resize,,createtextfield,,setnextfield,,createbitmap,,updatelabel,,createbutton +b4xfloattextfield,update,0,0,245,255 + + +,createbitmap,,updatelabel +b4xfloattextfield,getnextfield,0,0,295,297 + + + +b4xfloattextfield,gettext,0,0,388,390 + + + +b4xfloattextfield,gettextfield,0,0,445,447 + + + +b4xfloattextfield,ime_handleaction,0,0,314,318 + + +,tf_enterpressed,,tf_action,,gettextfield +b4xfloattextfield,tf_enterpressed,0,0,320,326 + + +,tf_action,,gettextfield +b4xfloattextfield,initialize,0,0,50,65 + + + +b4xfloattextfield,lc_click,1,0,403,422 + + +,settext,,switchfrompasswordtoregular,,tf_enterpressed,,tf_textchanged,,updatelabel,,createtextfieldall,,base_resize,,createtextfield,,setnextfield,,tf_action,,gettextfield +b4xfloattextfield,settext,1,0,392,400 + + +,tf_textchanged,,updatelabel +b4xfloattextfield,switchfrompasswordtoregular,0,0,137,180 + + +,createtextfieldall,,base_resize,,createtextfield,,setnextfield,,updatelabel +b4xfloattextfield,requestfocusandshowkeyboard,0,0,450,455 + + + +b4xfloattextfield,tf_textchanged,1,0,287,292 + + +,updatelabel +b4xfloattextfield,tf_action,0,0,277,284 + + +,gettextfield +b4xfloattextfield,tf_beginedit,0,0,269,271 + + +,tf_focuschanged,,updatelabel +b4xfloattextfield,tf_focuschanged,0,0,234,242 + + +,updatelabel +b4xfloattextfield,tf_endedit,0,0,273,275 + + +,tf_focuschanged,,updatelabel +b4ximageview,base_resize,0,0,40,42 + + +,update,,updateclip +b4ximageview,update,0,0,77,107 + + +,updateclip +b4ximageview,class_globals,0,0,5,17 + + + +b4ximageview,clear,0,0,119,122 + + + +b4ximageview,designercreateview,0,0,25,38 + + +,update,,updateclip +b4ximageview,getbitmap,0,0,130,132 + + + +b4ximageview,getcornersradius,0,0,56,58 + + + +b4ximageview,getresizemode,0,0,67,69 + + + +b4ximageview,getroundedimage,0,0,45,47 + + + +b4ximageview,initialize,0,0,19,22 + + + +b4ximageview,load,0,0,110,116 + + +,setbitmap,xuiviewsutils,setbitmapandfill,,update,,updateclip +b4ximageview,setbitmap,0,0,124,128 + + +xuiviewsutils,setbitmapandfill,,update,,updateclip +b4ximageview,setcornersradius,0,0,60,63 + + +,updateclip +b4ximageview,updateclip,0,0,135,164 + + + +b4ximageview,setresizemode,0,0,71,75 + + +,update,,updateclip +b4ximageview,setroundedimage,0,0,49,53 + + +,updateclip +b4xloadingindicator,base_resize,0,0,37,40 + + +,mainloop,,draw_arc1,,draw_arc2,,draw_fivelines1,,draw_pacman,,draw_singlecircle,,draw_threecircles1,,draw_threecircles2,,setalpha +b4xloadingindicator,mainloop,0,0,42,54 + + +,draw_arc1,,draw_arc2,,draw_fivelines1,,draw_pacman,,draw_singlecircle,,draw_threecircles1,,draw_threecircles2,,setalpha +b4xloadingindicator,class_globals,0,0,7,18 + + + +b4xloadingindicator,designercreateview,0,0,26,35 + + +,mainloop,,draw_arc1,,draw_arc2,,draw_fivelines1,,draw_pacman,,draw_singlecircle,,draw_threecircles1,,draw_threecircles2,,setalpha +b4xloadingindicator,draw_arc1,0,0,105,116 + + + +b4xloadingindicator,draw_arc2,0,0,118,129 + + + +b4xloadingindicator,draw_fivelines1,0,0,95,103 + + + +b4xloadingindicator,draw_pacman,0,0,131,148 + + +,setalpha +b4xloadingindicator,setalpha,0,0,91,93 + + + +b4xloadingindicator,draw_singlecircle,0,0,85,89 + + +,setalpha +b4xloadingindicator,draw_threecircles1,0,0,66,74 + + + +b4xloadingindicator,draw_threecircles2,0,0,76,83 + + + +b4xloadingindicator,hide,0,0,61,64 + + + +b4xloadingindicator,initialize,0,0,20,23 + + + +b4xloadingindicator,show,0,0,56,59 + + +,mainloop,,draw_arc1,,draw_arc2,,draw_fivelines1,,draw_pacman,,draw_singlecircle,,draw_threecircles1,,draw_threecircles2,,setalpha +b4xplusminus,base_resize,0,0,83,99 + + + +b4xplusminus,class_globals,0,0,6,29 + + + +b4xplusminus,createlabel,0,0,247,255 + + + +b4xplusminus,decrement,1,0,182,193 + + +,setindex,,getvalueimpl,,internalsettextorcsbuildertolabel,b4xformatter,format,b4xformatter,getformatdata +b4xplusminus,setindex,1,0,142,160 + + +,getvalueimpl,,internalsettextorcsbuildertolabel,b4xformatter,format,b4xformatter,getformatdata +b4xplusminus,designercreateview,1,0,38,81 + + +b4xformatter,getdefaultformat,,createlabel,,setindex,,base_resize,,getvalueimpl,,internalsettextorcsbuildertolabel,b4xformatter,format,b4xformatter,getformatdata +b4xplusminus,getselectedvalue,0,0,117,119 + + +,getvalueimpl +b4xplusminus,getvalueimpl,0,0,130,140 + + + +b4xplusminus,increment,1,0,162,180 + + +,getvalueimpl,b4xformatter,format,,setindex,b4xformatter,getformatdata,,internalsettextorcsbuildertolabel +b4xplusminus,initialize,0,0,31,35 + + +b4xformatter,initialize,b4xformatter,createdefaultformat,b4xformatter,addformatdata +b4xplusminus,internalsettextorcsbuildertolabel,0,0,257,269 + + + +b4xplusminus,pnlarrow_touch,1,0,195,197 +xuiviewsutils,utilsinitialized +xuiviewsutils,utilsinitialized +,touch,xuiviewsutils,performhapticfeedback,,increment,,startdownloop,,decrement,xuiviewsutils,initialize,,getvalueimpl,b4xformatter,format,,setindex,b4xformatter,getformatdata,,internalsettextorcsbuildertolabel +b4xplusminus,touch,1,0,199,213 +xuiviewsutils,utilsinitialized +xuiviewsutils,utilsinitialized +xuiviewsutils,performhapticfeedback,,increment,,startdownloop,,decrement,xuiviewsutils,initialize,,getvalueimpl,b4xformatter,format,,setindex,b4xformatter,getformatdata,,internalsettextorcsbuildertolabel +b4xplusminus,setnumericrange,1,0,108,115 + + +,setindex,,getvalueimpl,,internalsettextorcsbuildertolabel,b4xformatter,format,b4xformatter,getformatdata +b4xplusminus,setselectedvalue,1,0,121,128 + + +,setindex,,getvalueimpl,,internalsettextorcsbuildertolabel,b4xformatter,format,b4xformatter,getformatdata +b4xplusminus,setstringitems,1,0,101,106 + + +,setindex,,getvalueimpl,,internalsettextorcsbuildertolabel,b4xformatter,format,b4xformatter,getformatdata +b4xplusminus,startdownloop,1,0,234,243 + + +,increment,,decrement,,getvalueimpl,b4xformatter,format,,setindex,b4xformatter,getformatdata,,internalsettextorcsbuildertolabel +b4xformatter,getdefaultformat,0,0,78,80 + + + +b4xformatter,format,0,0,92,146 + + +,getformatdata +b4xformatter,initialize,0,0,13,17 + + +,createdefaultformat,,addformatdata +b4xformatter,addformatdata,0,0,65,76 + + + +b4xformatter,class_globals,0,0,1,11 + + + +b4xformatter,copyformatdata,0,0,38,60 + + + +b4xformatter,createdefaultformat,0,0,19,29 + + + +b4xformatter,getformatdata,0,0,83,89 + + + +b4xformatter,formatlabel,0,0,150,155 + + +,format,,getformatdata +b4xformatter,newformatdata,0,0,32,34 + + +,copyformatdata,,getdefaultformat +b4xradiobutton,base_resize,0,0,59,78 + + +,setvalueimpl,,setchecked,,draw,xuiviewsutils,setalpha +b4xradiobutton,setvalueimpl,0,0,98,133 + + +,setchecked,,draw,xuiviewsutils,setalpha,,setvalueimpl +b4xradiobutton,class_globals,0,0,6,25 + + + +b4xradiobutton,designercreateview,0,0,33,56 + + +,base_resize,,setvalueimpl,,setchecked,,draw,xuiviewsutils,setalpha +b4xradiobutton,draw,0,0,153,159 + + + +b4xradiobutton,getchecked,0,0,140,142 + + + +b4xradiobutton,getenabled,0,0,149,151 + + + +b4xradiobutton,gettext,0,0,165,167 + + + +b4xradiobutton,initialize,0,0,27,30 + + + +b4xradiobutton,pnl_click,0,0,86,96 +xuiviewsutils,utilsinitialized +xuiviewsutils,utilsinitialized +xuiviewsutils,performhapticfeedback,,setvalueimpl,xuiviewsutils,initialize,,setchecked,,draw,xuiviewsutils,setalpha +b4xradiobutton,setchecked,0,0,135,138 + + +,setvalueimpl,,setchecked,,draw,xuiviewsutils,setalpha +b4xradiobutton,setenabled,0,0,144,147 + + +,setvalueimpl,,setchecked,,draw,xuiviewsutils,setalpha +b4xradiobutton,settext,0,0,161,163 + + +xuiviewsutils,settextorcsbuildertolabel +madewithlove,base_resize,0,0,47,49 + + + +madewithlove,class_globals,0,0,1,7 + + + +madewithlove,designercreateview,0,0,15,45 + + + +madewithlove,initialize,0,0,9,12 + + + +roundslider,base_resize,0,0,89,96 + + +,createthumb,,draw +roundslider,createthumb,0,0,70,87 + + + +roundslider,draw,0,0,98,121 + + + +roundslider,class_globals,0,0,6,27 + + + +roundslider,designercreateview,0,0,35,55 + + +,base_resize,,createthumb,,draw +roundslider,getvalue,0,0,182,184 + + + +roundslider,initialize,0,0,29,32 + + + +roundslider,pnl_touch,1,0,123,154 + + +,draw +roundslider,setcirclecolor,0,0,64,68 + + +,draw +roundslider,setrange,0,0,176,180 + + +,setvalue,,draw +roundslider,setvalue,0,0,170,173 + + +,draw +roundslider,setthumbcolor,0,0,57,62 + + +,createthumb,,draw +scrollinglabel,base_resize,0,0,40,43 + + +,settext,,measuretextwidth,,stopscrolling,,startscrolling +scrollinglabel,settext,0,0,45,91 + + +,measuretextwidth,,stopscrolling,,startscrolling +scrollinglabel,class_globals,0,0,2,15 + + + +scrollinglabel,designercreateview,0,0,23,38 + + +,settext,,measuretextwidth,,stopscrolling,,startscrolling +scrollinglabel,gettext,0,0,93,95 + + + +scrollinglabel,gettextcolor,0,0,126,128 + + + +scrollinglabel,initialize,0,0,18,21 + + + +scrollinglabel,measuretextwidth,0,0,117,119 + + + +scrollinglabel,stopscrolling,0,0,97,99 + + + +scrollinglabel,startscrolling,0,0,101,115 + + + +scrollinglabel,settextcolor,0,0,121,124 + + +,settext,,measuretextwidth,,stopscrolling,,startscrolling +swiftbutton,base_resize,0,0,54,60 + + +,draw +swiftbutton,draw,0,0,121,142 + + + +swiftbutton,class_globals,0,0,12,25 + + + +swiftbutton,designercreateview,0,0,32,52 + + +,base_resize,,draw +swiftbutton,getenabled,0,0,62,64 + + + +swiftbutton,initialize,0,0,27,30 + + + +swiftbutton,p_touch,0,0,72,92 +xuiviewsutils,utilsinitialized +xuiviewsutils,utilsinitialized +,setpressedstate,,draw,xuiviewsutils,performhapticfeedback,xuiviewsutils,initialize +swiftbutton,setpressedstate,0,0,94,103 + + + +swiftbutton,setcolors,0,0,111,115 + + +,draw +swiftbutton,setenabled,0,0,66,70 + + +,draw +swiftbutton,update,0,0,117,119 + + +,draw diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/animatedcounter.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/animatedcounter.java new file mode 100644 index 0000000..bc72883 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/animatedcounter.java @@ -0,0 +1,44 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class animatedcounter { + public static RemoteObject myClass; + public animatedcounter() { + } + public static PCBA staticBA = new PCBA(null, animatedcounter.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _imageviews = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mdigits = RemoteObject.createImmutable(0); +public static RemoteObject _lbltemplate = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mvalue = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _digitheight = RemoteObject.createImmutable(0); +public static RemoteObject _digitwidth = RemoteObject.createImmutable(0); +public static RemoteObject _mduration = RemoteObject.createImmutable(0); +public static RemoteObject _fade = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _xfadeiv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"DigitHeight",_ref.getField(false, "_digitheight"),"DigitWidth",_ref.getField(false, "_digitwidth"),"fade",_ref.getField(false, "_fade"),"ImageViews",_ref.getField(false, "_imageviews"),"lblTemplate",_ref.getField(false, "_lbltemplate"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mdigits",_ref.getField(false, "_mdigits"),"mDuration",_ref.getField(false, "_mduration"),"mEventName",_ref.getField(false, "_meventname"),"mValue",_ref.getField(false, "_mvalue"),"Tag",_ref.getField(false, "_tag"),"xfadeIv",_ref.getField(false, "_xfadeiv"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/animatedcounter_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/animatedcounter_subs_0.java new file mode 100644 index 0000000..3555747 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/animatedcounter_subs_0.java @@ -0,0 +1,471 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class animatedcounter_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (animatedcounter) ","animatedcounter",48,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "animatedcounter","base_resize", __ref, _width, _height);} +RemoteObject _columns = RemoteObject.createImmutable(0); +RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +RemoteObject _left = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 70;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 71;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 72;BA.debugLine="xfadeIv.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xfadeiv" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 73;BA.debugLine="xfadeIv.SetBitmap(fade.Resize(Width, Height, Fals"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xfadeiv" /*RemoteObject*/ ).runVoidMethod ("SetBitmap",(Object)((__ref.getField(false,"_fade" /*RemoteObject*/ ).runMethod(false,"Resize",(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height)),(Object)(animatedcounter.__c.getField(true,"False"))).getObject()))); + BA.debugLineNum = 74;BA.debugLine="DigitHeight = Height"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_digitheight" /*RemoteObject*/ ,BA.numberCast(int.class, _height)); + BA.debugLineNum = 75;BA.debugLine="Dim Columns As Int = mdigits"; +Debug.JustUpdateDeviceLine(); +_columns = __ref.getField(true,"_mdigits" /*RemoteObject*/ );Debug.locals.put("Columns", _columns);Debug.locals.put("Columns", _columns); + BA.debugLineNum = 76;BA.debugLine="DigitWidth = Width / Columns"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_digitwidth" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,_columns}, "/",0, 0))); + BA.debugLineNum = 77;BA.debugLine="Dim bmp As B4XBitmap = CreateBitmap(lblTemplate)"; +Debug.JustUpdateDeviceLine(); +_bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_bmp = __ref.runClassMethod (gunav2.keymon.com.mx.animatedcounter.class, "_createbitmap" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_lbltemplate" /*RemoteObject*/ )));Debug.locals.put("bmp", _bmp);Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 78;BA.debugLine="Dim left As Int = Width"; +Debug.JustUpdateDeviceLine(); +_left = BA.numberCast(int.class, _width);Debug.locals.put("left", _left);Debug.locals.put("left", _left); + BA.debugLineNum = 79;BA.debugLine="For i = 0 To ImageViews.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_imageviews" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 80;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_iv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_imageviews" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("iv", _iv);Debug.locals.put("iv", _iv); + BA.debugLineNum = 82;BA.debugLine="left = left - DigitWidth"; +Debug.JustUpdateDeviceLine(); +_left = RemoteObject.solve(new RemoteObject[] {_left,__ref.getField(true,"_digitwidth" /*RemoteObject*/ )}, "-",1, 1);Debug.locals.put("left", _left); + BA.debugLineNum = 83;BA.debugLine="iv.SetLayoutAnimated(0, left, TopFromValue(i), D"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(_left),(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.animatedcounter.class, "_topfromvalue" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _i)))),(Object)(__ref.getField(true,"_digitwidth" /*RemoteObject*/ )),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_digitheight" /*RemoteObject*/ ),RemoteObject.createImmutable(10)}, "*",0, 1))); + BA.debugLineNum = 84;BA.debugLine="iv.SetBitmap(bmp)"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("SetBitmap",(Object)((_bmp.getObject()))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 86;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; +animatedcounter._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",animatedcounter._meventname); + //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; +animatedcounter._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",animatedcounter._mcallback); + //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; +animatedcounter._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",animatedcounter._mbase); + //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; +animatedcounter._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",animatedcounter._xui); + //BA.debugLineNum = 10;BA.debugLine="Private ImageViews As List"; +animatedcounter._imageviews = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_imageviews",animatedcounter._imageviews); + //BA.debugLineNum = 11;BA.debugLine="Private mdigits As Int"; +animatedcounter._mdigits = RemoteObject.createImmutable(0);__ref.setField("_mdigits",animatedcounter._mdigits); + //BA.debugLineNum = 12;BA.debugLine="Private lblTemplate As B4XView"; +animatedcounter._lbltemplate = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lbltemplate",animatedcounter._lbltemplate); + //BA.debugLineNum = 13;BA.debugLine="Private mValue As List"; +animatedcounter._mvalue = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_mvalue",animatedcounter._mvalue); + //BA.debugLineNum = 14;BA.debugLine="Private DigitHeight, DigitWidth As Int"; +animatedcounter._digitheight = RemoteObject.createImmutable(0);__ref.setField("_digitheight",animatedcounter._digitheight); +animatedcounter._digitwidth = RemoteObject.createImmutable(0);__ref.setField("_digitwidth",animatedcounter._digitwidth); + //BA.debugLineNum = 15;BA.debugLine="Private mDuration As Int"; +animatedcounter._mduration = RemoteObject.createImmutable(0);__ref.setField("_mduration",animatedcounter._mduration); + //BA.debugLineNum = 16;BA.debugLine="Private fade As B4XBitmap"; +animatedcounter._fade = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_fade",animatedcounter._fade); + //BA.debugLineNum = 17;BA.debugLine="Private xfadeIv As B4XView"; +animatedcounter._xfadeiv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_xfadeiv",animatedcounter._xfadeiv); + //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; +animatedcounter._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",animatedcounter._tag); + //BA.debugLineNum = 20;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createbitmap(RemoteObject __ref,RemoteObject _lbl) throws Exception{ +try { + Debug.PushSubsStack("CreateBitmap (animatedcounter) ","animatedcounter",48,__ref.getField(false, "ba"),__ref,93); +if (RapidSub.canDelegate("createbitmap")) { return __ref.runUserSub(false, "animatedcounter","createbitmap", __ref, _lbl);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _baseline = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _res = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 93;BA.debugLine="Private Sub CreateBitmap (lbl As B4XView) As B4XBi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 94;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 95;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, DigitWidth, DigitHei"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_digitwidth" /*RemoteObject*/ )),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_digitheight" /*RemoteObject*/ ),RemoteObject.createImmutable(10)}, "*",0, 1))); + BA.debugLineNum = 96;BA.debugLine="Dim cvs As B4XCanvas"; +Debug.JustUpdateDeviceLine(); +_cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");Debug.locals.put("cvs", _cvs); + BA.debugLineNum = 97;BA.debugLine="cvs.Initialize(p)"; +Debug.JustUpdateDeviceLine(); +_cvs.runVoidMethod ("Initialize",(Object)(_p)); + BA.debugLineNum = 98;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"5\", lbl.Font)"; +Debug.JustUpdateDeviceLine(); +_r = _cvs.runMethod(false,"MeasureText",(Object)(BA.ObjectToString("5")),(Object)(_lbl.runMethod(false,"getFont")));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 99;BA.debugLine="Dim BaseLine As Int = DigitHeight / 2 - r.Height"; +Debug.JustUpdateDeviceLine(); +_baseline = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_digitheight" /*RemoteObject*/ ),RemoteObject.createImmutable(2),_r.runMethod(true,"getHeight"),RemoteObject.createImmutable(2),_r.runMethod(true,"getTop")}, "/-/-",2, 0));Debug.locals.put("BaseLine", _baseline);Debug.locals.put("BaseLine", _baseline); + BA.debugLineNum = 100;BA.debugLine="For i = 0 To 9"; +Debug.JustUpdateDeviceLine(); +{ +final int step7 = 1; +final int limit7 = 9; +_i = 0 ; +for (;(step7 > 0 && _i <= limit7) || (step7 < 0 && _i >= limit7) ;_i = ((int)(0 + _i + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 101;BA.debugLine="cvs.DrawText(i, DigitWidth / 2, i * DigitHeight"; +Debug.JustUpdateDeviceLine(); +_cvs.runVoidMethod ("DrawText",__ref.getField(false, "ba"),(Object)(BA.NumberToString(_i)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_digitwidth" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),__ref.getField(true,"_digitheight" /*RemoteObject*/ ),_baseline}, "*+",1, 1))),(Object)(_lbl.runMethod(false,"getFont")),(Object)(_lbl.runMethod(true,"getTextColor")),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Paint.Align"),RemoteObject.createImmutable("CENTER")))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 103;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +_cvs.runVoidMethod ("Invalidate"); + BA.debugLineNum = 104;BA.debugLine="Dim res As B4XBitmap = cvs.CreateBitmap"; +Debug.JustUpdateDeviceLine(); +_res = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_res = _cvs.runMethod(false,"CreateBitmap");Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 105;BA.debugLine="cvs.Release"; +Debug.JustUpdateDeviceLine(); +_cvs.runVoidMethod ("Release"); + BA.debugLineNum = 106;BA.debugLine="Return res"; +Debug.JustUpdateDeviceLine(); +if (true) return _res; + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createfadebitmap(RemoteObject __ref,RemoteObject _clr) throws Exception{ +try { + Debug.PushSubsStack("CreateFadeBitmap (animatedcounter) ","animatedcounter",48,__ref.getField(false, "ba"),__ref,56); +if (RapidSub.canDelegate("createfadebitmap")) { return __ref.runUserSub(false, "animatedcounter","createfadebitmap", __ref, _clr);} +RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _tclr = RemoteObject.createImmutable(0); +Debug.locals.put("clr", _clr); + BA.debugLineNum = 56;BA.debugLine="Private Sub CreateFadeBitmap (clr As Int) As B4XBi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 57;BA.debugLine="Dim bc As BitmapCreator"; +Debug.JustUpdateDeviceLine(); +_bc = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("bc", _bc); + BA.debugLineNum = 58;BA.debugLine="bc.Initialize(200, 50)"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, 200)),(Object)(BA.numberCast(int.class, 50))); + BA.debugLineNum = 59;BA.debugLine="Dim r As B4XRect"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("r", _r); + BA.debugLineNum = 60;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight / 3)"; +Debug.JustUpdateDeviceLine(); +_r.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, _bc.getField(true,"_mwidth"))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mheight"),RemoteObject.createImmutable(3)}, "/",0, 0)))); + BA.debugLineNum = 61;BA.debugLine="Dim tclr As Int = Bit.And(0x00ffffff, clr)"; +Debug.JustUpdateDeviceLine(); +_tclr = animatedcounter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x00ffffff))),(Object)(_clr));Debug.locals.put("tclr", _tclr);Debug.locals.put("tclr", _tclr); + BA.debugLineNum = 62;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"TOP_"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_fillgradient",(Object)(RemoteObject.createNewArray("int",new int[] {2},new Object[] {_clr,_tclr})),(Object)(_r),(Object)(RemoteObject.createImmutable("TOP_BOTTOM"))); + BA.debugLineNum = 63;BA.debugLine="r.Top = bc.mHeight * 2 / 3"; +Debug.JustUpdateDeviceLine(); +_r.runMethod(true,"setTop",BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mheight"),RemoteObject.createImmutable(2),RemoteObject.createImmutable(3)}, "*/",0, 0))); + BA.debugLineNum = 64;BA.debugLine="r.Bottom = bc.mHeight"; +Debug.JustUpdateDeviceLine(); +_r.runMethod(true,"setBottom",BA.numberCast(float.class, _bc.getField(true,"_mheight"))); + BA.debugLineNum = 65;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"BOTT"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_fillgradient",(Object)(RemoteObject.createNewArray("int",new int[] {2},new Object[] {_clr,_tclr})),(Object)(_r),(Object)(RemoteObject.createImmutable("BOTTOM_TOP"))); + BA.debugLineNum = 66;BA.debugLine="Return bc.Bitmap"; +Debug.JustUpdateDeviceLine(); +if (true) return _bc.runMethod(false,"_getbitmap"); + BA.debugLineNum = 67;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (animatedcounter) ","animatedcounter",48,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "animatedcounter","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +int _i = 0; +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +RemoteObject _fadeiv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 30;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 31;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 32;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 32;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 33;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\") 'needed"; +Debug.JustUpdateDeviceLine(); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 34;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_pnl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 35;BA.debugLine="mdigits = Props.Get(\"Digits\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mdigits" /*RemoteObject*/ ,BA.numberCast(int.class, _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Digits")))))); + BA.debugLineNum = 36;BA.debugLine="mDuration = Props.Get(\"Duration\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mduration" /*RemoteObject*/ ,BA.numberCast(int.class, _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Duration")))))); + BA.debugLineNum = 37;BA.debugLine="lblTemplate = lbl"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lbltemplate" /*RemoteObject*/ ).setObject (_lbl.getObject()); + BA.debugLineNum = 38;BA.debugLine="fade = CreateFadeBitmap(xui.PaintOrColorToColor(P"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_fade" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.animatedcounter.class, "_createfadebitmap" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("FadeColor"))),(Object)((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White"))))))))); + BA.debugLineNum = 39;BA.debugLine="For i = 0 To mdigits - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mdigits" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step10 > 0 && _i <= limit10) || (step10 < 0 && _i >= limit10) ;_i = ((int)(0 + _i + step10)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iv", _iv); + BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 42;BA.debugLine="ImageViews.Add(iv)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_imageviews" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_iv.getObject()))); + BA.debugLineNum = 43;BA.debugLine="mBase.GetView(0).AddView(iv, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("AddView",(Object)((_iv.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 45;BA.debugLine="Dim fadeIv As ImageView"; +Debug.JustUpdateDeviceLine(); +_fadeiv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("fadeIv", _fadeiv); + BA.debugLineNum = 46;BA.debugLine="fadeIv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_fadeiv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 47;BA.debugLine="xfadeIv = fadeIv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xfadeiv" /*RemoteObject*/ ).setObject (_fadeiv.getObject()); + BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).AddView(fadeIv, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("AddView",(Object)((_fadeiv.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 49;BA.debugLine="setValue(0)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.animatedcounter.class, "_setvalue" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 50;BA.debugLine="If xui.IsB4A Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A").get().booleanValue()) { + BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.animatedcounter.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 52;BA.debugLine="setValue(getValue)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.animatedcounter.class, "_setvalue" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.animatedcounter.class, "_getvalue" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 54;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValue (animatedcounter) ","animatedcounter",48,__ref.getField(false, "ba"),__ref,120); +if (RapidSub.canDelegate("getvalue")) { return __ref.runUserSub(false, "animatedcounter","getvalue", __ref);} +RemoteObject _res = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 120;BA.debugLine="Public Sub getValue As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 121;BA.debugLine="Dim res As Int"; +Debug.JustUpdateDeviceLine(); +_res = RemoteObject.createImmutable(0);Debug.locals.put("res", _res); + BA.debugLineNum = 122;BA.debugLine="For i = 0 To mValue.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step2 = 1; +final int limit2 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mvalue" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2) ;_i = ((int)(0 + _i + step2)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 123;BA.debugLine="res = res + mValue.Get(i) * Power(10, i)"; +Debug.JustUpdateDeviceLine(); +_res = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_res,BA.numberCast(double.class, __ref.getField(false,"_mvalue" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i)))),animatedcounter.__c.runMethod(true,"Power",(Object)(BA.numberCast(double.class, 10)),(Object)(BA.numberCast(double.class, _i)))}, "+*",1, 0));Debug.locals.put("res", _res); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 125;BA.debugLine="Return res"; +Debug.JustUpdateDeviceLine(); +if (true) return _res; + BA.debugLineNum = 126;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (animatedcounter) ","animatedcounter",48,__ref.getField(false, "ba"),__ref,22); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "animatedcounter","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 22;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 23;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 24;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 25;BA.debugLine="ImageViews.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_imageviews" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 26;BA.debugLine="mValue.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mvalue" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 27;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvalue(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("setValue (animatedcounter) ","animatedcounter",48,__ref.getField(false, "ba"),__ref,109); +if (RapidSub.canDelegate("setvalue")) { return __ref.runUserSub(false, "animatedcounter","setvalue", __ref, _v);} +int _i = 0; +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("v", _v); + BA.debugLineNum = 109;BA.debugLine="Public Sub setValue(v As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 110;BA.debugLine="mValue.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mvalue" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 111;BA.debugLine="For i = 0 To mdigits - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step2 = 1; +final int limit2 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mdigits" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2) ;_i = ((int)(0 + _i + step2)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 112;BA.debugLine="mValue.Add(v Mod 10)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mvalue" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.solve(new RemoteObject[] {_v,RemoteObject.createImmutable(10)}, "%",0, 1)))); + BA.debugLineNum = 113;BA.debugLine="v = v / 10"; +Debug.JustUpdateDeviceLine(); +_v = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_v,RemoteObject.createImmutable(10)}, "/",0, 0));Debug.locals.put("v", _v); + BA.debugLineNum = 114;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_iv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_imageviews" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("iv", _iv);Debug.locals.put("iv", _iv); + BA.debugLineNum = 115;BA.debugLine="iv.SetLayoutAnimated(mDuration, iv.Left, TopFrom"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("SetLayoutAnimated",(Object)(__ref.getField(true,"_mduration" /*RemoteObject*/ )),(Object)(_iv.runMethod(true,"getLeft")),(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.animatedcounter.class, "_topfromvalue" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _i)))),(Object)(BA.numberCast(int.class, animatedcounter.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(BA.numberCast(double.class, _iv.runMethod(true,"getWidth")))))),(Object)(BA.numberCast(int.class, animatedcounter.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(BA.numberCast(double.class, _iv.runMethod(true,"getHeight"))))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 118;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _topfromvalue(RemoteObject __ref,RemoteObject _digit) throws Exception{ +try { + Debug.PushSubsStack("TopFromValue (animatedcounter) ","animatedcounter",48,__ref.getField(false, "ba"),__ref,88); +if (RapidSub.canDelegate("topfromvalue")) { return __ref.runUserSub(false, "animatedcounter","topfromvalue", __ref, _digit);} +RemoteObject _d = RemoteObject.createImmutable(0); +Debug.locals.put("Digit", _digit); + BA.debugLineNum = 88;BA.debugLine="Private Sub TopFromValue (Digit As Int) As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 89;BA.debugLine="Dim d As Int = mValue.Get(Digit)"; +Debug.JustUpdateDeviceLine(); +_d = BA.numberCast(int.class, __ref.getField(false,"_mvalue" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_digit)));Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 90;BA.debugLine="Return -d * DigitHeight"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(int.class, -(double) (0 + _d.get().intValue())*(double) (0 + __ref.getField(true,"_digitheight" /*RemoteObject*/ ).get().intValue())); + BA.debugLineNum = 91;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/anotherprogressbar.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/anotherprogressbar.java new file mode 100644 index 0000000..c1bdcbc --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/anotherprogressbar.java @@ -0,0 +1,49 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class anotherprogressbar { + public static RemoteObject myClass; + public anotherprogressbar() { + } + public static PCBA staticBA = new PCBA(null, anotherprogressbar.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _busybrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _backgroundcolor = RemoteObject.createImmutable(0); +public static RemoteObject _busyindex = RemoteObject.createImmutable(0); +public static RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _miv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _transparentbrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _vertical = RemoteObject.createImmutable(false); +public static RemoteObject _currentvalue = RemoteObject.createImmutable(0f); +public static RemoteObject _emptycolor = RemoteObject.createImmutable(0); +public static RemoteObject _emptybrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _valuechangepersecond = RemoteObject.createImmutable(0f); +public static RemoteObject _cornerradius = RemoteObject.createImmutable(0); +public static RemoteObject _brushoffsetdelta = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"BackgroundColor",_ref.getField(false, "_backgroundcolor"),"bc",_ref.getField(false, "_bc"),"BrushOffsetDelta",_ref.getField(false, "_brushoffsetdelta"),"BusyBrush",_ref.getField(false, "_busybrush"),"BusyIndex",_ref.getField(false, "_busyindex"),"CornerRadius",_ref.getField(false, "_cornerradius"),"CurrentValue",_ref.getField(false, "_currentvalue"),"DateUtils",_ref.getField(false, "_dateutils"),"EmptyBrush",_ref.getField(false, "_emptybrush"),"EmptyColor",_ref.getField(false, "_emptycolor"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"mIV",_ref.getField(false, "_miv"),"mValue",_ref.getField(false, "_mvalue"),"Tag",_ref.getField(false, "_tag"),"TransparentBrush",_ref.getField(false, "_transparentbrush"),"ValueChangePerSecond",_ref.getField(false, "_valuechangepersecond"),"Vertical",_ref.getField(false, "_vertical"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/anotherprogressbar_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/anotherprogressbar_subs_0.java new file mode 100644 index 0000000..a5c0de6 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/anotherprogressbar_subs_0.java @@ -0,0 +1,740 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class anotherprogressbar_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,49); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "anotherprogressbar","base_resize", __ref, _width, _height);} +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 49;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 50;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; +Debug.JustUpdateDeviceLine(); +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +{ +final RemoteObject group1 = __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group1.runMethod(false,"Get",index1));Debug.locals.put("v", _v); +Debug.locals.put("v", _v); + BA.debugLineNum = 51;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +_v.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + } +}Debug.locals.put("v", _v); +; + BA.debugLineNum = 53;BA.debugLine="bc.Initialize(mBase.Width / xui.Scale, mBase.Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getScale")}, "/",0, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getScale")}, "/",0, 0)))); + BA.debugLineNum = 54;BA.debugLine="Vertical = mBase.Height > mBase.Width"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_vertical" /*RemoteObject*/ ,BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))))); + BA.debugLineNum = 55;BA.debugLine="UpdateGraphics"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_updategraphics" /*RemoteObject*/ ); + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _busyloop(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("BusyLoop (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("busyloop")) { __ref.runUserSub(false, "anotherprogressbar","busyloop", __ref); return;} +ResumableSub_BusyLoop rsub = new ResumableSub_BusyLoop(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_BusyLoop extends BA.ResumableSub { +public ResumableSub_BusyLoop(gunav2.keymon.com.mx.anotherprogressbar parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.anotherprogressbar parent; +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _lasttime = RemoteObject.createImmutable(0L); +RemoteObject _tasks = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _delta = RemoteObject.createImmutable(0f); +RemoteObject _change = RemoteObject.createImmutable(0f); +RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("BusyLoop (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,59); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 60;BA.debugLine="Dim MyIndex As Int = BusyIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_busyindex" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 61;BA.debugLine="Dim r As B4XRect"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("r", _r); + BA.debugLineNum = 62;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight)"; +Debug.JustUpdateDeviceLine(); +_r.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, __ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mwidth"))),(Object)(BA.numberCast(float.class, __ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mheight")))); + BA.debugLineNum = 63;BA.debugLine="Dim LastTime As Long = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_lasttime = parent.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("LastTime", _lasttime);Debug.locals.put("LastTime", _lasttime); + BA.debugLineNum = 64;BA.debugLine="Do While MyIndex = BusyIndex"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//do while +this.state = 37; +while (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_busyindex" /*RemoteObject*/ )))) { +this.state = 3; +if (true) break; +} +if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 65;BA.debugLine="If Vertical Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 9; +if (__ref.getField(true,"_vertical" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; + BA.debugLineNum = 66;BA.debugLine="BusyBrush.SrcOffsetY = BusyBrush.SrcOffsetY + B"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_busybrush" /*RemoteObject*/ ).setField ("SrcOffsetY",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_busybrush" /*RemoteObject*/ ).getField(true,"SrcOffsetY"),__ref.getField(true,"_brushoffsetdelta" /*RemoteObject*/ )}, "+",1, 1)); + if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 68;BA.debugLine="BusyBrush.SrcOffsetX = BusyBrush.SrcOffsetX + B"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_busybrush" /*RemoteObject*/ ).setField ("SrcOffsetX",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_busybrush" /*RemoteObject*/ ).getField(true,"SrcOffsetX"),__ref.getField(true,"_brushoffsetdelta" /*RemoteObject*/ )}, "+",1, 1)); + if (true) break; + +case 9: +//C +this.state = 10; +; + BA.debugLineNum = 70;BA.debugLine="Dim tasks As List"; +Debug.JustUpdateDeviceLine(); +_tasks = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("tasks", _tasks); + BA.debugLineNum = 71;BA.debugLine="tasks.Initialize"; +Debug.JustUpdateDeviceLine(); +_tasks.runVoidMethod ("Initialize"); + BA.debugLineNum = 72;BA.debugLine="tasks.Add(bc.AsyncDrawRect(bc.TargetRect, Transp"; +Debug.JustUpdateDeviceLine(); +_tasks.runVoidMethod ("Add",(Object)((__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_asyncdrawrect",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(false,"_targetrect")),(Object)(__ref.getField(false,"_transparentbrush" /*RemoteObject*/ )),(Object)(parent.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0)))))); + BA.debugLineNum = 73;BA.debugLine="Dim delta As Float = mValue - CurrentValue"; +Debug.JustUpdateDeviceLine(); +_delta = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mvalue" /*RemoteObject*/ ),__ref.getField(true,"_currentvalue" /*RemoteObject*/ )}, "-",1, 0));Debug.locals.put("delta", _delta);Debug.locals.put("delta", _delta); + BA.debugLineNum = 74;BA.debugLine="If Abs(delta) <= 1 Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 10: +//if +this.state = 21; +if (RemoteObject.solveBoolean("k",parent.__c.runMethod(true,"Abs",(Object)(BA.numberCast(double.class, _delta))),BA.numberCast(double.class, 1))) { +this.state = 12; +}else { +this.state = 14; +}if (true) break; + +case 12: +//C +this.state = 21; + BA.debugLineNum = 75;BA.debugLine="CurrentValue = mValue"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_currentvalue" /*RemoteObject*/ ,BA.numberCast(float.class, __ref.getField(true,"_mvalue" /*RemoteObject*/ ))); + if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 77;BA.debugLine="Dim change As Float = (DateTime.Now - LastTime)"; +Debug.JustUpdateDeviceLine(); +_change = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),_lasttime}, "-",1, 2)),RemoteObject.createImmutable(1000),__ref.getField(true,"_valuechangepersecond" /*RemoteObject*/ )}, "/*",0, 0));Debug.locals.put("change", _change);Debug.locals.put("change", _change); + BA.debugLineNum = 78;BA.debugLine="If delta > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 15: +//if +this.state = 20; +if (RemoteObject.solveBoolean(">",_delta,BA.numberCast(double.class, 0))) { +this.state = 17; +}else { +this.state = 19; +}if (true) break; + +case 17: +//C +this.state = 20; + BA.debugLineNum = 79;BA.debugLine="CurrentValue = CurrentValue + Min(change, mVal"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_currentvalue" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_currentvalue" /*RemoteObject*/ ),parent.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, _change)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mvalue" /*RemoteObject*/ ),__ref.getField(true,"_currentvalue" /*RemoteObject*/ )}, "-",1, 0)))}, "+",1, 0))); + if (true) break; + +case 19: +//C +this.state = 20; + BA.debugLineNum = 81;BA.debugLine="CurrentValue = CurrentValue - Min(change, Curr"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_currentvalue" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_currentvalue" /*RemoteObject*/ ),parent.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, _change)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_currentvalue" /*RemoteObject*/ ),__ref.getField(true,"_mvalue" /*RemoteObject*/ )}, "-",1, 0)))}, "-",1, 0))); + if (true) break; + +case 20: +//C +this.state = 21; +; + if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 84;BA.debugLine="LastTime = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_lasttime = parent.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("LastTime", _lasttime); + BA.debugLineNum = 85;BA.debugLine="If CurrentValue < 100 Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 22: +//if +this.state = 25; +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_currentvalue" /*RemoteObject*/ ),BA.numberCast(double.class, 100))) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 86;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(bc.TargetRect"; +Debug.JustUpdateDeviceLine(); +_tasks.runVoidMethod ("Add",(Object)((__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_asyncdrawrectrounded",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(false,"_targetrect")),(Object)(__ref.getField(false,"_emptybrush" /*RemoteObject*/ )),(Object)(parent.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_cornerradius" /*RemoteObject*/ )))))); + if (true) break; +; + BA.debugLineNum = 88;BA.debugLine="If Vertical Then"; +Debug.JustUpdateDeviceLine(); + +case 25: +//if +this.state = 30; +if (__ref.getField(true,"_vertical" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 27; +}else { +this.state = 29; +}if (true) break; + +case 27: +//C +this.state = 30; + BA.debugLineNum = 89;BA.debugLine="r.Bottom = Round(CurrentValue / 100 * bc.mHeigh"; +Debug.JustUpdateDeviceLine(); +_r.runMethod(true,"setBottom",BA.numberCast(float.class, parent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_currentvalue" /*RemoteObject*/ ),RemoteObject.createImmutable(100),__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mheight")}, "/*",0, 0))))); + if (true) break; + +case 29: +//C +this.state = 30; + BA.debugLineNum = 91;BA.debugLine="r.Right = Round(CurrentValue / 100 * bc.mWidth)"; +Debug.JustUpdateDeviceLine(); +_r.runMethod(true,"setRight",BA.numberCast(float.class, parent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_currentvalue" /*RemoteObject*/ ),RemoteObject.createImmutable(100),__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mwidth")}, "/*",0, 0))))); + if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 94;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(r, BusyBrush,"; +Debug.JustUpdateDeviceLine(); +_tasks.runVoidMethod ("Add",(Object)((__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_asyncdrawrectrounded",(Object)(_r),(Object)(__ref.getField(false,"_busybrush" /*RemoteObject*/ )),(Object)(parent.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_cornerradius" /*RemoteObject*/ )))))); + BA.debugLineNum = 95;BA.debugLine="bc.DrawBitmapCreatorsAsync(Me, \"BC\", tasks)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawbitmapcreatorsasync",(Object)(__ref),(Object)(BA.ObjectToString("BC")),(Object)(_tasks)); + BA.debugLineNum = 96;BA.debugLine="Wait For BC_BitmapReady (bmp As B4XBitmap)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","bc_bitmapready", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "anotherprogressbar", "busyloop"), null); +this.state = 38; +return; +case 38: +//C +this.state = 31; +_bmp = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("bmp", _bmp); +; + BA.debugLineNum = 97;BA.debugLine="If xui.IsB4J Then bmp = bc.Bitmap"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 31: +//if +this.state = 36; +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J").get().booleanValue()) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +_bmp = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_getbitmap");Debug.locals.put("bmp", _bmp); +if (true) break; + +case 36: +//C +this.state = 1; +; + BA.debugLineNum = 98;BA.debugLine="bc.SetBitmapToImageView(bmp, mIV)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_setbitmaptoimageview",(Object)(_bmp),(Object)(__ref.getField(false,"_miv" /*RemoteObject*/ ))); + BA.debugLineNum = 99;BA.debugLine="Sleep(30)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "anotherprogressbar", "busyloop"),BA.numberCast(int.class, 30)); +this.state = 39; +return; +case 39: +//C +this.state = 1; +; + if (true) break; + +case 37: +//C +this.state = -1; +; + BA.debugLineNum = 101;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _bc_bitmapready(RemoteObject __ref,RemoteObject _bmp) throws Exception{ +} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 5;BA.debugLine="Private mEventName As String 'ignore"; +anotherprogressbar._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",anotherprogressbar._meventname); + //BA.debugLineNum = 6;BA.debugLine="Private mCallBack As Object 'ignore"; +anotherprogressbar._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",anotherprogressbar._mcallback); + //BA.debugLineNum = 7;BA.debugLine="Public mBase As B4XView 'ignore"; +anotherprogressbar._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",anotherprogressbar._mbase); + //BA.debugLineNum = 8;BA.debugLine="Private xui As XUI 'ignore"; +anotherprogressbar._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",anotherprogressbar._xui); + //BA.debugLineNum = 9;BA.debugLine="Private BusyBrush As BCBrush"; +anotherprogressbar._busybrush = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_busybrush",anotherprogressbar._busybrush); + //BA.debugLineNum = 10;BA.debugLine="Private BackgroundColor As Int"; +anotherprogressbar._backgroundcolor = RemoteObject.createImmutable(0);__ref.setField("_backgroundcolor",anotherprogressbar._backgroundcolor); + //BA.debugLineNum = 11;BA.debugLine="Private BusyIndex As Int"; +anotherprogressbar._busyindex = RemoteObject.createImmutable(0);__ref.setField("_busyindex",anotherprogressbar._busyindex); + //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; +anotherprogressbar._bc = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_bc",anotherprogressbar._bc); + //BA.debugLineNum = 13;BA.debugLine="Private mIV As B4XView"; +anotherprogressbar._miv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_miv",anotherprogressbar._miv); + //BA.debugLineNum = 14;BA.debugLine="Private TransparentBrush As BCBrush"; +anotherprogressbar._transparentbrush = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_transparentbrush",anotherprogressbar._transparentbrush); + //BA.debugLineNum = 15;BA.debugLine="Private Vertical As Boolean"; +anotherprogressbar._vertical = RemoteObject.createImmutable(false);__ref.setField("_vertical",anotherprogressbar._vertical); + //BA.debugLineNum = 16;BA.debugLine="Private CurrentValue As Float"; +anotherprogressbar._currentvalue = RemoteObject.createImmutable(0f);__ref.setField("_currentvalue",anotherprogressbar._currentvalue); + //BA.debugLineNum = 17;BA.debugLine="Public EmptyColor As Int = xui.Color_White"; +anotherprogressbar._emptycolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_emptycolor",anotherprogressbar._emptycolor); + //BA.debugLineNum = 18;BA.debugLine="Private EmptyBrush As BCBrush"; +anotherprogressbar._emptybrush = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_emptybrush",anotherprogressbar._emptybrush); + //BA.debugLineNum = 19;BA.debugLine="Private mValue As Int"; +anotherprogressbar._mvalue = RemoteObject.createImmutable(0);__ref.setField("_mvalue",anotherprogressbar._mvalue); + //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; +anotherprogressbar._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",anotherprogressbar._tag); + //BA.debugLineNum = 21;BA.debugLine="Public ValueChangePerSecond As Float = 60"; +anotherprogressbar._valuechangepersecond = BA.numberCast(float.class, 60);__ref.setField("_valuechangepersecond",anotherprogressbar._valuechangepersecond); + //BA.debugLineNum = 22;BA.debugLine="Public CornerRadius As Int"; +anotherprogressbar._cornerradius = RemoteObject.createImmutable(0);__ref.setField("_cornerradius",anotherprogressbar._cornerradius); + //BA.debugLineNum = 23;BA.debugLine="Public BrushOffsetDelta As Int = 3"; +anotherprogressbar._brushoffsetdelta = BA.numberCast(int.class, 3);__ref.setField("_brushoffsetdelta",anotherprogressbar._brushoffsetdelta); + //BA.debugLineNum = 24;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "anotherprogressbar","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 35;BA.debugLine="Dim iv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iv", _iv); + BA.debugLineNum = 36;BA.debugLine="iv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 37;BA.debugLine="mIV = iv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_miv" /*RemoteObject*/ ).setObject (_iv.getObject()); + BA.debugLineNum = 38;BA.debugLine="mIV.Color = xui.Color_Transparent"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_miv" /*RemoteObject*/ ).runMethod(true,"setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + BA.debugLineNum = 39;BA.debugLine="setValue(Props.GetDefault(\"Value\", 100))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_setvalue" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("Value"))),(Object)(RemoteObject.createImmutable((100))))))); + BA.debugLineNum = 40;BA.debugLine="CurrentValue = mValue"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_currentvalue" /*RemoteObject*/ ,BA.numberCast(float.class, __ref.getField(true,"_mvalue" /*RemoteObject*/ ))); + BA.debugLineNum = 41;BA.debugLine="mBase.AddView(mIV, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_miv" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 42;BA.debugLine="mBase.AddView(lbl, 0, 0, mBase.Width, mBase.Heigh"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 43;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 44;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_backgroundcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ProgressColor"))))))); + BA.debugLineNum = 45;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_cornerradius" /*RemoteObject*/ ,BA.numberCast(int.class, _props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("CornerRadius"))),(Object)(RemoteObject.createImmutable((15)))))); + BA.debugLineNum = 46;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getprogresscolor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getProgressColor (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,103); +if (RapidSub.canDelegate("getprogresscolor")) { return __ref.runUserSub(false, "anotherprogressbar","getprogresscolor", __ref);} + BA.debugLineNum = 103;BA.debugLine="Public Sub getProgressColor As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 104;BA.debugLine="Return BackgroundColor"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_backgroundcolor" /*RemoteObject*/ ); + BA.debugLineNum = 105;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValue (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,157); +if (RapidSub.canDelegate("getvalue")) { return __ref.runUserSub(false, "anotherprogressbar","getvalue", __ref);} + BA.debugLineNum = 157;BA.debugLine="Public Sub getValue As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 158;BA.debugLine="Return mValue"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mvalue" /*RemoteObject*/ ); + BA.debugLineNum = 159;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvisible(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getVisible (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,153); +if (RapidSub.canDelegate("getvisible")) { return __ref.runUserSub(false, "anotherprogressbar","getvisible", __ref);} + BA.debugLineNum = 153;BA.debugLine="Public Sub getVisible As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 154;BA.debugLine="Return mBase.Visible"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getVisible"); + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,26); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "anotherprogressbar","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 26;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 27;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 28;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setprogresscolor(RemoteObject __ref,RemoteObject _c) throws Exception{ +try { + Debug.PushSubsStack("setProgressColor (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,107); +if (RapidSub.canDelegate("setprogresscolor")) { return __ref.runUserSub(false, "anotherprogressbar","setprogresscolor", __ref, _c);} +Debug.locals.put("c", _c); + BA.debugLineNum = 107;BA.debugLine="Public Sub setProgressColor (c As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 108;BA.debugLine="BackgroundColor = c"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_backgroundcolor" /*RemoteObject*/ ,_c); + BA.debugLineNum = 109;BA.debugLine="UpdateGraphics"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_updategraphics" /*RemoteObject*/ ); + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvalue(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("setValue (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,161); +if (RapidSub.canDelegate("setvalue")) { return __ref.runUserSub(false, "anotherprogressbar","setvalue", __ref, _v);} +Debug.locals.put("v", _v); + BA.debugLineNum = 161;BA.debugLine="Public Sub setValue (v As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 162;BA.debugLine="mValue = Max(0, Min(100, v))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,BA.numberCast(int.class, anotherprogressbar.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(anotherprogressbar.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 100)),(Object)(BA.numberCast(double.class, _v))))))); + BA.debugLineNum = 163;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvaluenoanimation(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("SetValueNoAnimation (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,165); +if (RapidSub.canDelegate("setvaluenoanimation")) { return __ref.runUserSub(false, "anotherprogressbar","setvaluenoanimation", __ref, _v);} +Debug.locals.put("v", _v); + BA.debugLineNum = 165;BA.debugLine="Public Sub SetValueNoAnimation (v As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 166;BA.debugLine="setValue(v)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_setvalue" /*RemoteObject*/ ,(Object)(_v)); + BA.debugLineNum = 167;BA.debugLine="CurrentValue = mValue"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_currentvalue" /*RemoteObject*/ ,BA.numberCast(float.class, __ref.getField(true,"_mvalue" /*RemoteObject*/ ))); + BA.debugLineNum = 168;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvisible(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setVisible (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,145); +if (RapidSub.canDelegate("setvisible")) { return __ref.runUserSub(false, "anotherprogressbar","setvisible", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 145;BA.debugLine="Public Sub setVisible(b As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 146;BA.debugLine="BusyIndex = BusyIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_busyindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_busyindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 147;BA.debugLine="If b Then"; +Debug.JustUpdateDeviceLine(); +if (_b.get().booleanValue()) { + BA.debugLineNum = 148;BA.debugLine="BusyLoop"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_busyloop" /*void*/ ); + }; + BA.debugLineNum = 150;BA.debugLine="mBase.Visible = b"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setVisible",_b); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updategraphics(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateGraphics (anotherprogressbar) ","anotherprogressbar",49,__ref.getField(false, "ba"),__ref,112); +if (RapidSub.canDelegate("updategraphics")) { return __ref.runUserSub(false, "anotherprogressbar","updategraphics", __ref);} +RemoteObject _width = RemoteObject.createImmutable(0); +RemoteObject _template = RemoteObject.declareNull("b4a.example.bitmapcreator"); +RemoteObject _bcolor = RemoteObject.declareNull("b4a.example.bitmapcreator._argbcolor"); + BA.debugLineNum = 112;BA.debugLine="Public Sub UpdateGraphics"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 113;BA.debugLine="EmptyBrush = bc.CreateBrushFromColor(EmptyColor)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_emptybrush" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(true,"_emptycolor" /*RemoteObject*/ )))); + BA.debugLineNum = 114;BA.debugLine="TransparentBrush = bc.CreateBrushFromColor(xui.Co"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_transparentbrush" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")))); + BA.debugLineNum = 115;BA.debugLine="Dim Width As Int = 40"; +Debug.JustUpdateDeviceLine(); +_width = BA.numberCast(int.class, 40);Debug.locals.put("Width", _width);Debug.locals.put("Width", _width); + BA.debugLineNum = 116;BA.debugLine="Dim Template As BitmapCreator"; +Debug.JustUpdateDeviceLine(); +_template = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("Template", _template); + BA.debugLineNum = 117;BA.debugLine="Dim bcolor As ARGBColor"; +Debug.JustUpdateDeviceLine(); +_bcolor = RemoteObject.createNew ("b4a.example.bitmapcreator._argbcolor");Debug.locals.put("bcolor", _bcolor); + BA.debugLineNum = 118;BA.debugLine="bc.ColorToARGB(BackgroundColor, bcolor)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_colortoargb",(Object)(__ref.getField(true,"_backgroundcolor" /*RemoteObject*/ )),(Object)(_bcolor)); + BA.debugLineNum = 119;BA.debugLine="bcolor.r = Min(255, bcolor.r * 1.5)"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("r",BA.numberCast(int.class, anotherprogressbar.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 255)),(Object)(RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"r"),RemoteObject.createImmutable(1.5)}, "*",0, 0))))); + BA.debugLineNum = 120;BA.debugLine="bcolor.g = Min(255, bcolor.g * 1.5)"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("g",BA.numberCast(int.class, anotherprogressbar.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 255)),(Object)(RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"g"),RemoteObject.createImmutable(1.5)}, "*",0, 0))))); + BA.debugLineNum = 121;BA.debugLine="bcolor.b = Min(255, bcolor.b * 1.5)"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("b",BA.numberCast(int.class, anotherprogressbar.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 255)),(Object)(RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"b"),RemoteObject.createImmutable(1.5)}, "*",0, 0))))); + BA.debugLineNum = 122;BA.debugLine="If Vertical Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_vertical" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 123;BA.debugLine="Template.Initialize(mBase.Width / xui.Scale, mBa"; +Debug.JustUpdateDeviceLine(); +_template.runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getScale")}, "/",0, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getScale"),_width}, "/+",1, 0)))); + }else { + BA.debugLineNum = 125;BA.debugLine="Template.Initialize(mBase.Height / xui.Scale + W"; +Debug.JustUpdateDeviceLine(); +_template.runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getScale"),_width}, "/+",1, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getScale")}, "/",0, 0)))); + }; + BA.debugLineNum = 128;BA.debugLine="Template.DrawRect(Template.TargetRect, Background"; +Debug.JustUpdateDeviceLine(); +_template.runVoidMethod ("_drawrect",(Object)(_template.getField(false,"_targetrect")),(Object)(__ref.getField(true,"_backgroundcolor" /*RemoteObject*/ )),(Object)(anotherprogressbar.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 129;BA.debugLine="If Vertical Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_vertical" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 130;BA.debugLine="Template.DrawLine(-Width / 2, Width / 2, Templat"; +Debug.JustUpdateDeviceLine(); +_template.runVoidMethod ("_drawline",(Object)(BA.numberCast(float.class, -(double) (0 + _width.get().intValue())/(double)(double) (0 + 2))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(2)}, "/",0, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_template.getField(true,"_mwidth"),_width,RemoteObject.createImmutable(2)}, "+/",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_template.getField(true,"_mheight"),_width,RemoteObject.createImmutable(2)}, "-/",1, 0))),(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(true,"_argbtocolor",(Object)(_bcolor))),(Object)(_width)); + }else { + BA.debugLineNum = 132;BA.debugLine="Template.DrawLine(Width / 2, -Width / 2, Templat"; +Debug.JustUpdateDeviceLine(); +_template.runVoidMethod ("_drawline",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(2)}, "/",0, 0))),(Object)(BA.numberCast(float.class, -(double) (0 + _width.get().intValue())/(double)(double) (0 + 2))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_template.getField(true,"_mwidth"),_width,RemoteObject.createImmutable(2)}, "-/",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_template.getField(true,"_mheight"),_width,RemoteObject.createImmutable(2)}, "+/",1, 0))),(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(true,"_argbtocolor",(Object)(_bcolor))),(Object)(_width)); + }; + BA.debugLineNum = 134;BA.debugLine="BusyBrush = bc.CreateBrushFromBitmapCreator(Templ"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_busybrush" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfrombitmapcreator",(Object)(_template))); + BA.debugLineNum = 135;BA.debugLine="If mValue = 100 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mvalue" /*RemoteObject*/ ),BA.numberCast(double.class, 100))) { + BA.debugLineNum = 136;BA.debugLine="bc.DrawRectRounded(bc.TargetRect, BackgroundColo"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawrectrounded",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(false,"_targetrect")),(Object)(__ref.getField(true,"_backgroundcolor" /*RemoteObject*/ )),(Object)(anotherprogressbar.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 15))); + }else { + BA.debugLineNum = 138;BA.debugLine="bc.DrawRectRounded2(bc.TargetRect, EmptyBrush, T"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawrectrounded2",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(false,"_targetrect")),(Object)(__ref.getField(false,"_emptybrush" /*RemoteObject*/ )),(Object)(anotherprogressbar.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 15))); + }; + BA.debugLineNum = 140;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, mIV)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_setbitmaptoimageview",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_getbitmap")),(Object)(__ref.getField(false,"_miv" /*RemoteObject*/ ))); + BA.debugLineNum = 141;BA.debugLine="setVisible(mBase.Visible)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_setvisible" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getVisible"))); + BA.debugLineNum = 142;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/appupdater.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/appupdater.java new file mode 100644 index 0000000..2ba6913 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/appupdater.java @@ -0,0 +1,74 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class appupdater implements IRemote{ + public static appupdater mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public appupdater() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("appupdater"), "gunav2.keymon.com.mx.appupdater"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.appupdater"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, appupdater.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _lnk = RemoteObject.createImmutable(""); +public static RemoteObject _nnewapp = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +public static RemoteObject _nnewappnid = RemoteObject.createImmutable(0); +public static RemoteObject _nativeme = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _n2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +public static RemoteObject _n2id = RemoteObject.createImmutable(0); +public static RemoteObject _sharedfolder = RemoteObject.createImmutable(""); +public static RemoteObject _usefileprovider = RemoteObject.createImmutable(false); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _newapp = RemoteObject.declareNull("gunav2.keymon.com.mx.appupdater._mnewversion"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"DateUtils",appupdater.mostCurrent._dateutils,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"lnk",appupdater._lnk,"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"n2",appupdater._n2,"n2ID",appupdater._n2id,"nativeMe",appupdater._nativeme,"newApp",appupdater._newapp,"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"nNewApp",appupdater._nnewapp,"nNewAppnID",appupdater._nnewappnid,"rp",appupdater._rp,"Service",appupdater.mostCurrent._service,"SharedFolder",appupdater._sharedfolder,"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"UseFileProvider",appupdater._usefileprovider,"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/appupdater_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/appupdater_subs_0.java new file mode 100644 index 0000000..1692e76 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/appupdater_subs_0.java @@ -0,0 +1,893 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class appupdater_subs_0 { + + +public static RemoteObject _createnotification(RemoteObject _title,RemoteObject _content,RemoteObject _icon,RemoteObject _targetactivity,RemoteObject _sound,RemoteObject _vibrate) throws Exception{ +try { + Debug.PushSubsStack("CreateNotification (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,242); +if (RapidSub.canDelegate("createnotification")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","createnotification", _title, _content, _icon, _targetactivity, _sound, _vibrate);} +Debug.locals.put("Title", _title); +Debug.locals.put("Content", _content); +Debug.locals.put("Icon", _icon); +Debug.locals.put("TargetActivity", _targetactivity); +Debug.locals.put("Sound", _sound); +Debug.locals.put("Vibrate", _vibrate); + BA.debugLineNum = 242;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; +Debug.ShouldStop(131072); + BA.debugLineNum = 243;BA.debugLine="n2.Initialize"; +Debug.ShouldStop(262144); +appupdater._n2.runVoidMethod ("Initialize"); + BA.debugLineNum = 244;BA.debugLine="n2.Light = False"; +Debug.ShouldStop(524288); +appupdater._n2.runVoidMethod ("setLight",appupdater.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 245;BA.debugLine="n2.Vibrate = Vibrate"; +Debug.ShouldStop(1048576); +appupdater._n2.runVoidMethod ("setVibrate",_vibrate); + BA.debugLineNum = 246;BA.debugLine="n2.Sound = Sound"; +Debug.ShouldStop(2097152); +appupdater._n2.runVoidMethod ("setSound",_sound); + BA.debugLineNum = 247;BA.debugLine="n2.OnGoingEvent = True"; +Debug.ShouldStop(4194304); +appupdater._n2.runVoidMethod ("setOnGoingEvent",appupdater.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 248;BA.debugLine="n2.Icon = Icon"; +Debug.ShouldStop(8388608); +appupdater._n2.runVoidMethod ("setIcon",_icon); + BA.debugLineNum = 249;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; +Debug.ShouldStop(16777216); +appupdater._n2.runVoidMethod ("SetInfoNew",appupdater.processBA,(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_content)),(Object)(_targetactivity)); + BA.debugLineNum = 250;BA.debugLine="n2.Notify(nNewAppnID)"; +Debug.ShouldStop(33554432); +appupdater._n2.runVoidMethod ("Notify",(Object)(appupdater._nnewappnid)); + BA.debugLineNum = 251;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createnotification2(RemoteObject _title,RemoteObject _content,RemoteObject _icon,RemoteObject _targetactivity,RemoteObject _sound,RemoteObject _vibrate,RemoteObject _pn,RemoteObject _pnid) throws Exception{ +try { + Debug.PushSubsStack("CreateNotification2 (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,226); +if (RapidSub.canDelegate("createnotification2")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","createnotification2", _title, _content, _icon, _targetactivity, _sound, _vibrate, _pn, _pnid);} +Debug.locals.put("Title", _title); +Debug.locals.put("Content", _content); +Debug.locals.put("Icon", _icon); +Debug.locals.put("TargetActivity", _targetactivity); +Debug.locals.put("Sound", _sound); +Debug.locals.put("Vibrate", _vibrate); +Debug.locals.put("pN", _pn); +Debug.locals.put("pNID", _pnid); + BA.debugLineNum = 226;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; +Debug.ShouldStop(2); + BA.debugLineNum = 229;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; +Debug.ShouldStop(16); +_pn.runVoidMethod ("Initialize2",(Object)(_pn.getField(true,"IMPORTANCE_HIGH"))); + BA.debugLineNum = 232;BA.debugLine="pN.Vibrate = Vibrate"; +Debug.ShouldStop(128); +_pn.runVoidMethod ("setVibrate",_vibrate); + BA.debugLineNum = 233;BA.debugLine="pN.Sound = Sound"; +Debug.ShouldStop(256); +_pn.runVoidMethod ("setSound",_sound); + BA.debugLineNum = 235;BA.debugLine="pN.Icon = Icon"; +Debug.ShouldStop(1024); +_pn.runVoidMethod ("setIcon",_icon); + BA.debugLineNum = 236;BA.debugLine="pN.AutoCancel = True"; +Debug.ShouldStop(2048); +_pn.runVoidMethod ("setAutoCancel",appupdater.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 237;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; +Debug.ShouldStop(4096); +_pn.runVoidMethod ("SetInfoNew",appupdater.processBA,(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_content)),(Object)(_targetactivity)); + BA.debugLineNum = 238;BA.debugLine="pN.Notify(pNID)"; +Debug.ShouldStop(8192); +_pn.runVoidMethod ("Notify",(Object)(_pnid)); + BA.debugLineNum = 239;BA.debugLine="Return pN"; +Debug.ShouldStop(16384); +if (true) return _pn; + BA.debugLineNum = 240;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _download(RemoteObject _callback,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("Download (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,219); +if (RapidSub.canDelegate("download")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","download", _callback, _link);} +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +Debug.locals.put("Callback", _callback); +Debug.locals.put("link", _link); + BA.debugLineNum = 219;BA.debugLine="Sub Download (Callback As Object, link As String)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 220;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(134217728); +_j = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 221;BA.debugLine="j.Initialize(\"\", Callback)"; +Debug.ShouldStop(268435456); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,appupdater.processBA,(Object)(BA.ObjectToString("")),(Object)(_callback)); + BA.debugLineNum = 222;BA.debugLine="j.Download(link)"; +Debug.ShouldStop(536870912); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(_link)); + BA.debugLineNum = 223;BA.debugLine="Return j"; +Debug.ShouldStop(1073741824); +if (true) return _j; + BA.debugLineNum = 224;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _download_destroy() throws Exception{ +try { + Debug.PushSubsStack("download_Destroy (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,214); +if (RapidSub.canDelegate("download_destroy")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","download_destroy");} + BA.debugLineNum = 214;BA.debugLine="Sub download_Destroy"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 215;BA.debugLine="n2.Cancel(n2ID)"; +Debug.ShouldStop(4194304); +appupdater._n2.runVoidMethod ("Cancel",(Object)(appupdater._n2id)); + BA.debugLineNum = 216;BA.debugLine="Service.StopForeground(n2ID)"; +Debug.ShouldStop(8388608); +appupdater.mostCurrent._service.runVoidMethod ("StopForeground",(Object)(appupdater._n2id)); + BA.debugLineNum = 217;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _download_newapk() throws Exception{ +try { + Debug.PushSubsStack("download_newApk (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,159); +if (RapidSub.canDelegate("download_newapk")) { gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","download_newapk"); return;} +ResumableSub_download_newApk rsub = new ResumableSub_download_newApk(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_download_newApk extends BA.ResumableSub { +public ResumableSub_download_newApk(gunav2.keymon.com.mx.appupdater parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +gunav2.keymon.com.mx.appupdater parent; +RemoteObject _job_newapp = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _downladsuccess = RemoteObject.createImmutable(false); +RemoteObject _outnewapk = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("download_newApk (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,159); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 162;BA.debugLine="Log(\"Descargando actualización\")"; +Debug.ShouldStop(2); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","070057987",RemoteObject.createImmutable("Descargando actualización"),0); + BA.debugLineNum = 164;BA.debugLine="Starter.muestraProgreso = 1"; +Debug.ShouldStop(8); +parent.mostCurrent._starter._muestraprogreso /*RemoteObject*/ = BA.NumberToString(1); + BA.debugLineNum = 165;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando nu"; +Debug.ShouldStop(16); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Descargando nueva versión, un momento por favor."))); + BA.debugLineNum = 166;BA.debugLine="Dim job_newAPP As HttpJob"; +Debug.ShouldStop(32); +_job_newapp = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("job_newAPP", _job_newapp); + BA.debugLineNum = 167;BA.debugLine="If job_newAPP.IsInitialized Then job_newAPP.Relea"; +Debug.ShouldStop(64); +if (true) break; + +case 1: +//if +this.state = 6; +if (_job_newapp.runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +_job_newapp.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 168;BA.debugLine="Log(\">>>> LOGIN LINK2: \" & Starter.nuevoLink)"; +Debug.ShouldStop(128); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","070057993",RemoteObject.concat(RemoteObject.createImmutable(">>>> LOGIN LINK2: "),parent.mostCurrent._starter._nuevolink /*RemoteObject*/ ),0); + BA.debugLineNum = 169;BA.debugLine="If Starter.nuevoLink <> \"\" Then newApp.appLink ="; +Debug.ShouldStop(256); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("!",parent.mostCurrent._starter._nuevolink /*RemoteObject*/ ,BA.ObjectToString(""))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +parent._newapp.setField ("appLink" /*RemoteObject*/ ,parent.mostCurrent._starter._nuevolink /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 170;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; +Debug.ShouldStop(512); +_job_newapp.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,appupdater.processBA,(Object)(BA.ObjectToString("job_newAPP")),(Object)(appupdater.getObject())); + BA.debugLineNum = 171;BA.debugLine="Log(newApp.appLink & \"?dummy=\" & DateTime.Now)"; +Debug.ShouldStop(1024); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","070057996",RemoteObject.concat(parent._newapp.getField(true,"appLink" /*RemoteObject*/ ),RemoteObject.createImmutable("?dummy="),parent.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")),0); + BA.debugLineNum = 172;BA.debugLine="job_newAPP.Download(newApp.appLink & \"?dummy=\" &"; +Debug.ShouldStop(2048); +_job_newapp.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(RemoteObject.concat(parent._newapp.getField(true,"appLink" /*RemoteObject*/ ),RemoteObject.createImmutable("?dummy="),parent.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 173;BA.debugLine="Log(\"Vamos a descargar: \" & newApp.appLink & \"?du"; +Debug.ShouldStop(4096); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","070057998",RemoteObject.concat(RemoteObject.createImmutable("Vamos a descargar: "),parent._newapp.getField(true,"appLink" /*RemoteObject*/ ),RemoteObject.createImmutable("?dummy="),parent.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")),0); + BA.debugLineNum = 174;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; +Debug.ShouldStop(8192); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","jobdone", appupdater.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "appupdater", "download_newapk"), (_job_newapp)); +this.state = 27; +return; +case 27: +//C +this.state = 13; +_job_newapp = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(0));Debug.locals.put("job_newAPP", _job_newapp); +; + BA.debugLineNum = 175;BA.debugLine="Private downladSuccess As Boolean = False"; +Debug.ShouldStop(16384); +_downladsuccess = parent.mostCurrent.__c.getField(true,"False");Debug.locals.put("downladSuccess", _downladsuccess);Debug.locals.put("downladSuccess", _downladsuccess); + BA.debugLineNum = 176;BA.debugLine="If job_newAPP.Success = True Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 13: +//if +this.state = 20; +if (RemoteObject.solveBoolean("=",_job_newapp.getField(true,"_success" /*RemoteObject*/ ),parent.mostCurrent.__c.getField(true,"True"))) { +this.state = 15; +}if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 178;BA.debugLine="downladSuccess = True"; +Debug.ShouldStop(131072); +_downladsuccess = parent.mostCurrent.__c.getField(true,"True");Debug.locals.put("downladSuccess", _downladsuccess); + BA.debugLineNum = 179;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 16: +//if +this.state = 19; +if (parent.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(parent._sharedfolder),(Object)(RemoteObject.createImmutable("newapp.apk"))).get().booleanValue()) { +this.state = 18; +}if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 181;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; +Debug.ShouldStop(1048576); +parent.mostCurrent.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(parent._sharedfolder),(Object)(RemoteObject.createImmutable("newapp.apk"))); + if (true) break; + +case 19: +//C +this.state = 20; +; + BA.debugLineNum = 184;BA.debugLine="Dim outNewAPK As OutputStream = File.OpenOutput("; +Debug.ShouldStop(8388608); +_outnewapk = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_outnewapk = parent.mostCurrent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(parent._sharedfolder),(Object)(BA.ObjectToString("newapp.apk")),(Object)(parent.mostCurrent.__c.getField(true,"False")));Debug.locals.put("outNewAPK", _outnewapk);Debug.locals.put("outNewAPK", _outnewapk); + BA.debugLineNum = 185;BA.debugLine="File.Copy2(job_newAPP.GetInputStream, outNewAPK)"; +Debug.ShouldStop(16777216); +parent.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_job_newapp.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getinputstream" /*RemoteObject*/ ).getObject())),(Object)((_outnewapk.getObject()))); + BA.debugLineNum = 186;BA.debugLine="outNewAPK.Close"; +Debug.ShouldStop(33554432); +_outnewapk.runVoidMethod ("Close"); + BA.debugLineNum = 187;BA.debugLine="Log(\"APK dir: \"&SharedFolder)"; +Debug.ShouldStop(67108864); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","070058012",RemoteObject.concat(RemoteObject.createImmutable("APK dir: "),parent._sharedfolder),0); + if (true) break; + +case 20: +//C +this.state = 21; +; + BA.debugLineNum = 189;BA.debugLine="job_newAPP.Release"; +Debug.ShouldStop(268435456); +_job_newapp.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 190;BA.debugLine="n2.Cancel(nNewAppnID)"; +Debug.ShouldStop(536870912); +parent._n2.runVoidMethod ("Cancel",(Object)(parent._nnewappnid)); + BA.debugLineNum = 191;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(1073741824); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 192;BA.debugLine="If downladSuccess Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 21: +//if +this.state = 26; +if (_downladsuccess.get().booleanValue()) { +this.state = 23; +}else { +this.state = 25; +}if (true) break; + +case 23: +//C +this.state = 26; + BA.debugLineNum = 194;BA.debugLine="Dim in As Intent"; +Debug.ShouldStop(2); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 195;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; +Debug.ShouldStop(4); +_in.runVoidMethod ("Initialize",(Object)(_in.getField(true,"ACTION_VIEW")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 196;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; +Debug.ShouldStop(8); +_setfileuriasintentdata(_in,RemoteObject.createImmutable("newapp.apk")); + BA.debugLineNum = 198;BA.debugLine="in.SetType(\"application/vnd.android.package-arch"; +Debug.ShouldStop(32); +_in.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + BA.debugLineNum = 199;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(64); +parent.mostCurrent.__c.runVoidMethod ("StartActivity",appupdater.processBA,(Object)((_in.getObject()))); + if (true) break; + +case 25: +//C +this.state = 26; + BA.debugLineNum = 201;BA.debugLine="B4XPages.MainPage.principal.l_forzarActualizacio"; +Debug.ShouldStop(256); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).getField(false,"_principal" /*RemoteObject*/ ).getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 202;BA.debugLine="B4XPages.MainPage.principal.l_forzarActualizacio"; +Debug.ShouldStop(512); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).getField(false,"_principal" /*RemoteObject*/ ).getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Hubo un error en la descarga, por favor revise que tenga conexion a internet e intente de nuevo.")); + BA.debugLineNum = 203;BA.debugLine="Log(\"ERROR EN CONEXION\")"; +Debug.ShouldStop(1024); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","070058028",RemoteObject.createImmutable("ERROR EN CONEXION"),0); + BA.debugLineNum = 204;BA.debugLine="Sleep(5000)"; +Debug.ShouldStop(2048); +parent.mostCurrent.__c.runVoidMethod ("Sleep",appupdater.processBA,anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "appupdater", "download_newapk"),BA.numberCast(int.class, 5000)); +this.state = 28; +return; +case 28: +//C +this.state = 26; +; + BA.debugLineNum = 205;BA.debugLine="ExitApplication"; +Debug.ShouldStop(4096); +parent.mostCurrent.__c.runVoidMethod ("ExitApplication"); + if (true) break; + +case 26: +//C +this.state = -1; +; + BA.debugLineNum = 207;BA.debugLine="Starter.muestraProgreso = 0"; +Debug.ShouldStop(16384); +parent.mostCurrent._starter._muestraprogreso /*RemoteObject*/ = BA.NumberToString(0); + BA.debugLineNum = 208;BA.debugLine="B4XPages.MainPage.principal.p_transparenteActuali"; +Debug.ShouldStop(32768); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).getField(false,"_principal" /*RemoteObject*/ ).getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 210;BA.debugLine="StopService(Me)"; +Debug.ShouldStop(131072); +parent.mostCurrent.__c.runVoidMethod ("StopService",appupdater.processBA,(Object)(appupdater.getObject())); + BA.debugLineNum = 212;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _jobdone(RemoteObject _job_newapp) throws Exception{ +} +public static RemoteObject _download_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("download_Start (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,155); +if (RapidSub.canDelegate("download_start")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","download_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 155;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 156;BA.debugLine="download_newApk"; +Debug.ShouldStop(134217728); +_download_newapk(); + BA.debugLineNum = 157;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fileprovider_init() throws Exception{ +try { + Debug.PushSubsStack("fileProvider_init (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,257); +if (RapidSub.canDelegate("fileprovider_init")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","fileprovider_init");} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); + BA.debugLineNum = 257;BA.debugLine="Sub fileProvider_init"; +Debug.ShouldStop(1); + BA.debugLineNum = 258;BA.debugLine="Dim p As Phone"; +Debug.ShouldStop(2); +_p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("p", _p); + BA.debugLineNum = 259;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("g",_p.runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 24)) || RemoteObject.solveBoolean("=",appupdater.mostCurrent.__c.getField(false,"File").runMethod(true,"getExternalWritable"),appupdater.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 260;BA.debugLine="UseFileProvider = True"; +Debug.ShouldStop(8); +appupdater._usefileprovider = appupdater.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 261;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +Debug.ShouldStop(16); +appupdater._sharedfolder = appupdater.mostCurrent.__c.getField(false,"File").runMethod(true,"Combine",(Object)(appupdater.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("shared"))); + BA.debugLineNum = 262;BA.debugLine="If Not(File.IsDirectory(File.DirInternal,\"shared"; +Debug.ShouldStop(32); +if (appupdater.mostCurrent.__c.runMethod(true,"Not",(Object)(appupdater.mostCurrent.__c.getField(false,"File").runMethod(true,"IsDirectory",(Object)(appupdater.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("shared"))))).get().booleanValue()) { + BA.debugLineNum = 263;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +Debug.ShouldStop(64); +appupdater.mostCurrent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(BA.ObjectToString("")),(Object)(appupdater._sharedfolder)); + }; + }else { + BA.debugLineNum = 266;BA.debugLine="UseFileProvider = False"; +Debug.ShouldStop(512); +appupdater._usefileprovider = appupdater.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 267;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +Debug.ShouldStop(1024); +appupdater._sharedfolder = appupdater._rp.runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable("shared"))); + }; + BA.debugLineNum = 269;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +Debug.ShouldStop(4096); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","070451212",(RemoteObject.concat(RemoteObject.createImmutable("Using FileProvider? "),appupdater.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((appupdater._usefileprovider))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 270;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getfileuri(RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("GetFileUri (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,273); +if (RapidSub.canDelegate("getfileuri")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","getfileuri", _filename);} +RemoteObject _uri = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _fp = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 273;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; +Debug.ShouldStop(65536); + BA.debugLineNum = 274;BA.debugLine="Try"; +Debug.ShouldStop(131072); +try { BA.debugLineNum = 275;BA.debugLine="If Not(UseFileProvider) Then"; +Debug.ShouldStop(262144); +if (appupdater.mostCurrent.__c.runMethod(true,"Not",(Object)(appupdater._usefileprovider)).get().booleanValue()) { + BA.debugLineNum = 276;BA.debugLine="Dim uri As JavaObject"; +Debug.ShouldStop(524288); +_uri = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("uri", _uri); + BA.debugLineNum = 277;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\")."; +Debug.ShouldStop(1048576); +Debug.CheckDeviceExceptions();if (true) return _uri.runMethod(false,"InitializeStatic",(Object)(RemoteObject.createImmutable("android.net.Uri"))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("parse")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.concat(RemoteObject.createImmutable("file://"),appupdater.mostCurrent.__c.getField(false,"File").runMethod(true,"Combine",(Object)(appupdater._sharedfolder),(Object)(_filename))))}))); + }; + BA.debugLineNum = 279;BA.debugLine="Dim f As JavaObject"; +Debug.ShouldStop(4194304); +_f = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("f", _f); + BA.debugLineNum = 280;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.ShouldStop(8388608); +_f.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(appupdater._sharedfolder),(_filename)}))); + BA.debugLineNum = 281;BA.debugLine="Dim fp As JavaObject"; +Debug.ShouldStop(16777216); +_fp = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("fp", _fp); + BA.debugLineNum = 282;BA.debugLine="Dim context As JavaObject"; +Debug.ShouldStop(33554432); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 283;BA.debugLine="context.InitializeContext"; +Debug.ShouldStop(67108864); +_context.runVoidMethod ("InitializeContext",appupdater.processBA); + BA.debugLineNum = 284;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +Debug.ShouldStop(134217728); +_fp.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("androidx.core.content.FileProvider"))); + BA.debugLineNum = 285;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +Debug.ShouldStop(268435456); +Debug.CheckDeviceExceptions();if (true) return _fp.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getUriForFile")),(Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_context.getObject()),(RemoteObject.concat(appupdater.mostCurrent.__c.getField(false,"Application").runMethod(true,"getPackageName"),RemoteObject.createImmutable(".provider"))),(_f.getObject())}))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",appupdater.processBA, e14.toString()); BA.debugLineNum = 287;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; +Debug.ShouldStop(1073741824); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","070516750",RemoteObject.concat(RemoteObject.createImmutable("FileProvider::GetFileUri - error - "),appupdater.mostCurrent.__c.runMethod(false,"LastException",appupdater.processBA).runMethod(true,"getMessage")),0); + BA.debugLineNum = 288;BA.debugLine="Return \"\""; +Debug.ShouldStop(-2147483648); +if (true) return RemoteObject.createImmutable(("")); + }; + BA.debugLineNum = 290;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 70;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 75;BA.debugLine="Public lnk As String = \"https://keymon.net/movil/"; +appupdater._lnk = BA.ObjectToString("https://keymon.net/movil/guna/gunaPreventa.ver"); + //BA.debugLineNum = 89;BA.debugLine="Public nNewApp As Notification"; +appupdater._nnewapp = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper"); + //BA.debugLineNum = 90;BA.debugLine="Public nNewAppnID As Int = 16"; +appupdater._nnewappnid = BA.numberCast(int.class, 16); + //BA.debugLineNum = 92;BA.debugLine="Dim nativeMe As JavaObject"; +appupdater._nativeme = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); + //BA.debugLineNum = 93;BA.debugLine="Dim n2 As Notification"; +appupdater._n2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper"); + //BA.debugLineNum = 94;BA.debugLine="Dim n2ID As Int = 16"; +appupdater._n2id = BA.numberCast(int.class, 16); + //BA.debugLineNum = 96;BA.debugLine="Public SharedFolder As String"; +appupdater._sharedfolder = RemoteObject.createImmutable(""); + //BA.debugLineNum = 97;BA.debugLine="Public UseFileProvider As Boolean"; +appupdater._usefileprovider = RemoteObject.createImmutable(false); + //BA.debugLineNum = 98;BA.debugLine="Private rp As RuntimePermissions"; +appupdater._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 99;BA.debugLine="Type mNewVersion(update As Boolean, nonewAPP As B"; +; + //BA.debugLineNum = 101;BA.debugLine="Public newApp As mNewVersion"; +appupdater._newapp = RemoteObject.createNew ("gunav2.keymon.com.mx.appupdater._mnewversion"); + //BA.debugLineNum = 102;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,104); +if (RapidSub.canDelegate("service_create")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","service_create");} + BA.debugLineNum = 104;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(128); + BA.debugLineNum = 105;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; +Debug.ShouldStop(256); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","069861377",RemoteObject.createImmutable("appUpdater(), Service_Create"),0); + BA.debugLineNum = 106;BA.debugLine="newApp.Initialize"; +Debug.ShouldStop(512); +appupdater._newapp.runVoidMethod ("Initialize"); + BA.debugLineNum = 107;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +Debug.ShouldStop(1024); +appupdater.mostCurrent._service.setField ("AutomaticForegroundMode",appupdater.mostCurrent._service.getField(true,"AUTOMATIC_FOREGROUND_NEVER")); + BA.debugLineNum = 108;BA.debugLine="n2.Initialize"; +Debug.ShouldStop(2048); +appupdater._n2.runVoidMethod ("Initialize"); + BA.debugLineNum = 109;BA.debugLine="nativeMe.InitializeContext"; +Debug.ShouldStop(4096); +appupdater._nativeme.runVoidMethod ("InitializeContext",appupdater.processBA); + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,253); +if (RapidSub.canDelegate("service_destroy")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","service_destroy");} + BA.debugLineNum = 253;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 254;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; +Debug.ShouldStop(536870912); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","070385665",RemoteObject.createImmutable("appUpdater(), Service_Destroy"),0); + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,112); +if (RapidSub.canDelegate("service_start")) { gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","service_start", _startingintent); return;} +ResumableSub_Service_Start rsub = new ResumableSub_Service_Start(null,_startingintent); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Service_Start extends BA.ResumableSub { +public ResumableSub_Service_Start(gunav2.keymon.com.mx.appupdater parent,RemoteObject _startingintent) { +this.parent = parent; +this._startingintent = _startingintent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +gunav2.keymon.com.mx.appupdater parent; +RemoteObject _startingintent; +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _app = null; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,112); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 113;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; +Debug.ShouldStop(65536); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","069926913",RemoteObject.createImmutable("appUpdater(), Service_Start"),0); + BA.debugLineNum = 115;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; +Debug.ShouldStop(262144); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Buscando actualizaciones, un momento por favor."))); + BA.debugLineNum = 116;BA.debugLine="Log(\"Buscando actualización\")"; +Debug.ShouldStop(524288); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","069926916",RemoteObject.createImmutable("Buscando actualización"),0); + BA.debugLineNum = 117;BA.debugLine="fileProvider_init"; +Debug.ShouldStop(1048576); +_fileprovider_init(); + BA.debugLineNum = 118;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; +Debug.ShouldStop(2097152); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","jobdone", appupdater.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "appupdater", "service_start"), (_download(appupdater.getObject(),parent._lnk))); +this.state = 20; +return; +case 20: +//C +this.state = 1; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(0));Debug.locals.put("j", _j); +; + BA.debugLineNum = 119;BA.debugLine="If j.Success Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 1: +//if +this.state = 19; +if (_j.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 3; +}else { +this.state = 18; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 120;BA.debugLine="Try"; +Debug.ShouldStop(8388608); +if (true) break; + +case 4: +//try +this.state = 16; +this.catchState = 15; +this.state = 6; +if (true) break; + +case 6: +//C +this.state = 7; +this.catchState = 15; + BA.debugLineNum = 121;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; +Debug.ShouldStop(16777216); +_app = parent.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(parent.mostCurrent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 9))))),(Object)(_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )));Debug.locals.put("app", _app);Debug.locals.put("app", _app); + BA.debugLineNum = 123;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; +Debug.ShouldStop(67108864); +parent._newapp.setField ("appLink" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 3))); + BA.debugLineNum = 124;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; +Debug.ShouldStop(134217728); +parent._newapp.setField ("newMsg" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 1))); + BA.debugLineNum = 125;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; +Debug.ShouldStop(268435456); +parent._newapp.setField ("okMsg" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 2))); + BA.debugLineNum = 126;BA.debugLine="newApp.version = app(0) 'Version actual"; +Debug.ShouldStop(536870912); +parent._newapp.setField ("version" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 0))); + BA.debugLineNum = 128;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +Debug.ShouldStop(-2147483648); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","069926928",(RemoteObject.concat(RemoteObject.createImmutable("Application.VersionName="),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.mostCurrent.__c.getField(false,"Application").runMethod(true,"getVersionName")))),RemoteObject.createImmutable(", newApp="),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._newapp))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 131;BA.debugLine="If newApp.version = Application.VersionName Th"; +Debug.ShouldStop(4); +if (true) break; + +case 7: +//if +this.state = 10; +if (RemoteObject.solveBoolean("=",parent._newapp.getField(true,"version" /*RemoteObject*/ ),parent.mostCurrent.__c.getField(false,"Application").runMethod(true,"getVersionName"))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 132;BA.debugLine="newApp.update = False"; +Debug.ShouldStop(8); +parent._newapp.setField ("update" /*RemoteObject*/ ,parent.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 133;BA.debugLine="Log(\"No new app\")"; +Debug.ShouldStop(16); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","069926933",RemoteObject.createImmutable("No new app"),0); + BA.debugLineNum = 134;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +Debug.ShouldStop(32); +parent.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,appupdater.processBA,(Object)(RemoteObject.createImmutable("updateAvailable"))); + if (true) break; +; + BA.debugLineNum = 138;BA.debugLine="If newApp.version <> Application.VersionName T"; +Debug.ShouldStop(512); + +case 10: +//if +this.state = 13; +if (RemoteObject.solveBoolean("!",parent._newapp.getField(true,"version" /*RemoteObject*/ ),parent.mostCurrent.__c.getField(false,"Application").runMethod(true,"getVersionName"))) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; + BA.debugLineNum = 139;BA.debugLine="newApp.update = True"; +Debug.ShouldStop(1024); +parent._newapp.setField ("update" /*RemoteObject*/ ,parent.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 140;BA.debugLine="Log(\"New app true\")"; +Debug.ShouldStop(2048); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","069926940",RemoteObject.createImmutable("New app true"),0); + BA.debugLineNum = 141;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +Debug.ShouldStop(4096); +parent.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,appupdater.processBA,(Object)(RemoteObject.createImmutable("updateAvailable"))); + if (true) break; + +case 13: +//C +this.state = 16; +; + Debug.CheckDeviceExceptions(); +if (true) break; + +case 15: +//C +this.state = 16; +this.catchState = 0; + BA.debugLineNum = 146;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; +Debug.ShouldStop(131072); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","069926946",RemoteObject.concat(RemoteObject.createImmutable("appUpdater(), Job Failed, error "),parent.mostCurrent.__c.runMethod(false,"LastException",appupdater.processBA).runMethod(true,"getMessage")),0); + if (true) break; +if (true) break; + +case 16: +//C +this.state = 19; +this.catchState = 0; +; + if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 149;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; +Debug.ShouldStop(1048576); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","069926949",RemoteObject.concat(RemoteObject.createImmutable("appUpdater(), Job Failed "),parent._lnk),0); + if (true) break; + +case 19: +//C +this.state = -1; +; + BA.debugLineNum = 151;BA.debugLine="j.Release"; +Debug.ShouldStop(4194304); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 152;BA.debugLine="StopService(Me)"; +Debug.ShouldStop(8388608); +parent.mostCurrent.__c.runVoidMethod ("StopService",appupdater.processBA,(Object)(appupdater.getObject())); + BA.debugLineNum = 153;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",appupdater.processBA, e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _setfileuriasintentdata(RemoteObject _intent,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("SetFileUriAsIntentData (appupdater) ","appupdater",10,appupdater.processBA,appupdater.mostCurrent,294); +if (RapidSub.canDelegate("setfileuriasintentdata")) { return gunav2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","setfileuriasintentdata", _intent, _filename);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("Intent", _intent); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 294;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; +Debug.ShouldStop(32); + BA.debugLineNum = 295;BA.debugLine="Dim jo As JavaObject = Intent"; +Debug.ShouldStop(64); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _intent.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 296;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +Debug.ShouldStop(128); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setData")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_getfileuri(_filename)}))); + BA.debugLineNum = 297;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +Debug.ShouldStop(256); +_intent.runMethod(true,"setFlags",appupdater.mostCurrent.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_intent.runMethod(true,"getFlags")),(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 298;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbitset.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbitset.java new file mode 100644 index 0000000..604c8f5 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbitset.java @@ -0,0 +1,32 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xbitset { + public static RemoteObject myClass; + public b4xbitset() { + } + public static PCBA staticBA = new PCBA(null, b4xbitset.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _data = null; +public static RemoteObject _msize = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"data",_ref.getField(false, "_data"),"DateUtils",_ref.getField(false, "_dateutils"),"mSize",_ref.getField(false, "_msize")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbitset_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbitset_subs_0.java new file mode 100644 index 0000000..5784073 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbitset_subs_0.java @@ -0,0 +1,161 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xbitset_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 5;BA.debugLine="Private data() As Int"; +b4xbitset._data = RemoteObject.createNewArray ("int", new int[] {0}, new Object[]{});__ref.setField("_data",b4xbitset._data); + //BA.debugLineNum = 7;BA.debugLine="Private mSize As Int"; +b4xbitset._msize = RemoteObject.createImmutable(0);__ref.setField("_msize",b4xbitset._msize); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,54); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4xbitset","clear", __ref);} + BA.debugLineNum = 54;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 58;BA.debugLine="Dim data(Bit.ShiftRight(mSize, 5) + 1) As Int"; +Debug.JustUpdateDeviceLine(); +b4xbitset._data = RemoteObject.createNewArray ("int", new int[] {RemoteObject.solve(new RemoteObject[] {b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftRight",(Object)(__ref.getField(true,"_msize" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 5))),RemoteObject.createImmutable(1)}, "+",1, 1).get().intValue()}, new Object[]{});__ref.setField("_data",b4xbitset._data); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _get(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("Get (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("get")) { return __ref.runUserSub(false, "b4xbitset","get", __ref, _index);} +RemoteObject _dindex = RemoteObject.createImmutable(0); +RemoteObject _offset = RemoteObject.createImmutable(0); +RemoteObject _blockvalue = RemoteObject.createImmutable(0); +Debug.locals.put("Index", _index); + BA.debugLineNum = 38;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +Debug.JustUpdateDeviceLine(); +_dindex = b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftRight",(Object)(_index),(Object)(BA.numberCast(int.class, 5)));Debug.locals.put("dindex", _dindex);Debug.locals.put("dindex", _dindex); + BA.debugLineNum = 40;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +Debug.JustUpdateDeviceLine(); +_offset = b4xbitset.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0000001f))),(Object)(_index));Debug.locals.put("offset", _offset);Debug.locals.put("offset", _offset); + BA.debugLineNum = 44;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +Debug.JustUpdateDeviceLine(); +_blockvalue = __ref.getField(false,"_data" /*RemoteObject*/ ).getArrayElement(true,_dindex);Debug.locals.put("BlockValue", _blockvalue);Debug.locals.put("BlockValue", _blockvalue); + BA.debugLineNum = 46;BA.debugLine="Return Bit.And(BlockValue, Bit.ShiftLeft(1, offse"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("!",b4xbitset.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_blockvalue),(Object)(b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(BA.numberCast(int.class, 1)),(Object)(_offset)))),BA.numberCast(double.class, 0))); + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSize (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,49); +if (RapidSub.canDelegate("getsize")) { return __ref.runUserSub(false, "b4xbitset","getsize", __ref);} + BA.debugLineNum = 49;BA.debugLine="Public Sub getSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 50;BA.debugLine="Return mSize"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_msize" /*RemoteObject*/ ); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _size) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,10); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xbitset","initialize", __ref, _ba, _size);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Size", _size); + BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (Size As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 11;BA.debugLine="mSize = Size"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_msize" /*RemoteObject*/ ,_size); + BA.debugLineNum = 12;BA.debugLine="Clear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbitset.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 13;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _set(RemoteObject __ref,RemoteObject _index,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Set (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("set")) { return __ref.runUserSub(false, "b4xbitset","set", __ref, _index, _value);} +RemoteObject _dindex = RemoteObject.createImmutable(0); +RemoteObject _offset = RemoteObject.createImmutable(0); +RemoteObject _blockvalue = RemoteObject.createImmutable(0); +RemoteObject _newblockvalue = RemoteObject.createImmutable(0); +Debug.locals.put("Index", _index); +Debug.locals.put("Value", _value); + BA.debugLineNum = 16;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 17;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +Debug.JustUpdateDeviceLine(); +_dindex = b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftRight",(Object)(_index),(Object)(BA.numberCast(int.class, 5)));Debug.locals.put("dindex", _dindex);Debug.locals.put("dindex", _dindex); + BA.debugLineNum = 18;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +Debug.JustUpdateDeviceLine(); +_offset = b4xbitset.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0000001f))),(Object)(_index));Debug.locals.put("offset", _offset);Debug.locals.put("offset", _offset); + BA.debugLineNum = 22;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +Debug.JustUpdateDeviceLine(); +_blockvalue = __ref.getField(false,"_data" /*RemoteObject*/ ).getArrayElement(true,_dindex);Debug.locals.put("BlockValue", _blockvalue);Debug.locals.put("BlockValue", _blockvalue); + BA.debugLineNum = 24;BA.debugLine="Dim NewBlockValue As Int"; +Debug.JustUpdateDeviceLine(); +_newblockvalue = RemoteObject.createImmutable(0);Debug.locals.put("NewBlockValue", _newblockvalue); + BA.debugLineNum = 25;BA.debugLine="If Value Then"; +Debug.JustUpdateDeviceLine(); +if (_value.get().booleanValue()) { + BA.debugLineNum = 26;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; +Debug.JustUpdateDeviceLine(); +_newblockvalue = b4xbitset.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_blockvalue),(Object)(b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(BA.numberCast(int.class, 1)),(Object)(_offset))));Debug.locals.put("NewBlockValue", _newblockvalue); + }else { + BA.debugLineNum = 28;BA.debugLine="NewBlockValue = Bit.And(BlockValue, Bit.Not(Bit."; +Debug.JustUpdateDeviceLine(); +_newblockvalue = b4xbitset.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_blockvalue),(Object)(b4xbitset.__c.getField(false,"Bit").runMethod(true,"Not",(Object)(b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(BA.numberCast(int.class, 1)),(Object)(_offset))))));Debug.locals.put("NewBlockValue", _newblockvalue); + }; + BA.debugLineNum = 33;BA.debugLine="data(dindex) = NewBlockValue"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).setArrayElement (_newblockvalue,_dindex); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbreadcrumb.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbreadcrumb.java new file mode 100644 index 0000000..829232d --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbreadcrumb.java @@ -0,0 +1,46 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xbreadcrumb { + public static RemoteObject myClass; + public b4xbreadcrumb() { + } + public static PCBA staticBA = new PCBA(null, b4xbreadcrumb.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _mitems = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _rightpositions = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _textcolor = RemoteObject.createImmutable(0); +public static RemoteObject _fnt = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _offset = RemoteObject.createImmutable(0); +public static RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _crumbcolor = RemoteObject.createImmutable(0); +public static RemoteObject _touchpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _presseditem = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"CrumbColor",_ref.getField(false, "_crumbcolor"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"fnt",_ref.getField(false, "_fnt"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"mItems",_ref.getField(false, "_mitems"),"offset",_ref.getField(false, "_offset"),"PressedItem",_ref.getField(false, "_presseditem"),"RightPositions",_ref.getField(false, "_rightpositions"),"Tag",_ref.getField(false, "_tag"),"TextColor",_ref.getField(false, "_textcolor"),"TouchPanel",_ref.getField(false, "_touchpanel"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbreadcrumb_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbreadcrumb_subs_0.java new file mode 100644 index 0000000..6f6bc2c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbreadcrumb_subs_0.java @@ -0,0 +1,562 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xbreadcrumb_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,51); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xbreadcrumb","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 51;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 52;BA.debugLine="cvs.Resize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _width)),(Object)(BA.numberCast(float.class, _height))); + BA.debugLineNum = 53;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_touchpanel" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 54;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; +b4xbreadcrumb._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xbreadcrumb._meventname); + //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xbreadcrumb._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xbreadcrumb._mcallback); + //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xbreadcrumb._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xbreadcrumb._mbase); + //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; +b4xbreadcrumb._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xbreadcrumb._xui); + //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; +b4xbreadcrumb._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xbreadcrumb._cvs); + //BA.debugLineNum = 11;BA.debugLine="Private mItems As List"; +b4xbreadcrumb._mitems = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_mitems",b4xbreadcrumb._mitems); + //BA.debugLineNum = 12;BA.debugLine="Private RightPositions As List"; +b4xbreadcrumb._rightpositions = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_rightpositions",b4xbreadcrumb._rightpositions); + //BA.debugLineNum = 13;BA.debugLine="Public TextColor As Int"; +b4xbreadcrumb._textcolor = RemoteObject.createImmutable(0);__ref.setField("_textcolor",b4xbreadcrumb._textcolor); + //BA.debugLineNum = 14;BA.debugLine="Public fnt As B4XFont"; +b4xbreadcrumb._fnt = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_fnt",b4xbreadcrumb._fnt); + //BA.debugLineNum = 15;BA.debugLine="Private offset As Int = 10dip"; +b4xbreadcrumb._offset = b4xbreadcrumb.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)));__ref.setField("_offset",b4xbreadcrumb._offset); + //BA.debugLineNum = 16;BA.debugLine="Private bc As BitmapCreator"; +b4xbreadcrumb._bc = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_bc",b4xbreadcrumb._bc); + //BA.debugLineNum = 17;BA.debugLine="Public CrumbColor As Int"; +b4xbreadcrumb._crumbcolor = RemoteObject.createImmutable(0);__ref.setField("_crumbcolor",b4xbreadcrumb._crumbcolor); + //BA.debugLineNum = 18;BA.debugLine="Private TouchPanel As B4XView"; +b4xbreadcrumb._touchpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_touchpanel",b4xbreadcrumb._touchpanel); + //BA.debugLineNum = 19;BA.debugLine="Private PressedItem As Int = -1"; +b4xbreadcrumb._presseditem = BA.numberCast(int.class, -(double) (0 + 1));__ref.setField("_presseditem",b4xbreadcrumb._presseditem); + //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; +b4xbreadcrumb._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xbreadcrumb._tag); + //BA.debugLineNum = 21;BA.debugLine="Public mHaptic As Boolean"; +b4xbreadcrumb._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",b4xbreadcrumb._mhaptic); + //BA.debugLineNum = 22;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,33); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4xbreadcrumb","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _items = RemoteObject.createImmutable(""); +RemoteObject _s = RemoteObject.createImmutable(""); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 34;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 36;BA.debugLine="cvs.Initialize(mBase)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ))); + BA.debugLineNum = 37;BA.debugLine="Dim xlbl As B4XView = Lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 38;BA.debugLine="fnt = xlbl.Font"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_fnt" /*RemoteObject*/ ,_xlbl.runMethod(false,"getFont")); + BA.debugLineNum = 39;BA.debugLine="TextColor = xlbl.TextColor"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_textcolor" /*RemoteObject*/ ,_xlbl.runMethod(true,"getTextColor")); + BA.debugLineNum = 40;BA.debugLine="CrumbColor = xui.PaintOrColorToColor(Props.Get(\"C"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_crumbcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CrumbColor"))))))); + BA.debugLineNum = 41;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mhaptic" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("HapticFeedback"))),(Object)((b4xbreadcrumb.__c.getField(true,"False")))))); + BA.debugLineNum = 42;BA.debugLine="TouchPanel = xui.CreatePanel(\"Touch\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_touchpanel" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Touch")))); + BA.debugLineNum = 43;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 44;BA.debugLine="Dim items As String = Props.Get(\"Items\")"; +Debug.JustUpdateDeviceLine(); +_items = BA.ObjectToString(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Items")))));Debug.locals.put("items", _items);Debug.locals.put("items", _items); + BA.debugLineNum = 45;BA.debugLine="For Each s As String In Regex.Split(\"\\|\", items)"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group13 = b4xbreadcrumb.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(_items)); +final int groupLen13 = group13.getField(true,"length").get() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_s = group13.getArrayElement(true,RemoteObject.createImmutable(index13));Debug.locals.put("s", _s); +Debug.locals.put("s", _s); + BA.debugLineNum = 46;BA.debugLine="mItems.Add(s)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mitems" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_s))); + } +}Debug.locals.put("s", _s); +; + BA.debugLineNum = 48;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 49;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Draw (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,57); +if (RapidSub.canDelegate("draw")) { return __ref.runUserSub(false, "b4xbreadcrumb","draw", __ref);} +RemoteObject _bcolor = RemoteObject.declareNull("b4a.example.bitmapcreator._argbcolor"); +RemoteObject _strokecolor = RemoteObject.createImmutable(0); +RemoteObject _clrs = null; +RemoteObject _left = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _sc = RemoteObject.createImmutable(0); +RemoteObject _width = RemoteObject.createImmutable(0); + BA.debugLineNum = 57;BA.debugLine="Private Sub Draw"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 58;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 59;BA.debugLine="Dim bcolor As ARGBColor"; +Debug.JustUpdateDeviceLine(); +_bcolor = RemoteObject.createNew ("b4a.example.bitmapcreator._argbcolor");Debug.locals.put("bcolor", _bcolor); + BA.debugLineNum = 60;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_colortoargb",(Object)(__ref.getField(true,"_crumbcolor" /*RemoteObject*/ )),(Object)(_bcolor)); + BA.debugLineNum = 61;BA.debugLine="bcolor.r = Min(255, bcolor.r * 2)"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("r",BA.numberCast(int.class, b4xbreadcrumb.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 255)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"r"),RemoteObject.createImmutable(2)}, "*",0, 1)))))); + BA.debugLineNum = 62;BA.debugLine="bcolor.g = Min(255, bcolor.g * 2)"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("g",BA.numberCast(int.class, b4xbreadcrumb.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 255)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"g"),RemoteObject.createImmutable(2)}, "*",0, 1)))))); + BA.debugLineNum = 63;BA.debugLine="bcolor.b = Min(255, bcolor.b * 2)"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("b",BA.numberCast(int.class, b4xbreadcrumb.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 255)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"b"),RemoteObject.createImmutable(2)}, "*",0, 1)))))); + BA.debugLineNum = 64;BA.debugLine="Dim strokeColor As Int = bc.ARGBToColor(bcolor)"; +Debug.JustUpdateDeviceLine(); +_strokecolor = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(true,"_argbtocolor",(Object)(_bcolor));Debug.locals.put("strokeColor", _strokecolor);Debug.locals.put("strokeColor", _strokecolor); + BA.debugLineNum = 66;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_colortoargb",(Object)(__ref.getField(true,"_crumbcolor" /*RemoteObject*/ )),(Object)(_bcolor)); + BA.debugLineNum = 67;BA.debugLine="bcolor.r = bcolor.r * 0.8"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("r",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"r"),RemoteObject.createImmutable(0.8)}, "*",0, 0))); + BA.debugLineNum = 68;BA.debugLine="bcolor.g = bcolor.g * 0.8"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("g",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"g"),RemoteObject.createImmutable(0.8)}, "*",0, 0))); + BA.debugLineNum = 69;BA.debugLine="bcolor.b = bcolor.b * 0.8"; +Debug.JustUpdateDeviceLine(); +_bcolor.setField ("b",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_bcolor.getField(true,"b"),RemoteObject.createImmutable(0.8)}, "*",0, 0))); + BA.debugLineNum = 70;BA.debugLine="Dim Clrs() As Int = Array As Int(CrumbColor, bc.A"; +Debug.JustUpdateDeviceLine(); +_clrs = RemoteObject.createNewArray("int",new int[] {2},new Object[] {__ref.getField(true,"_crumbcolor" /*RemoteObject*/ ),__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(true,"_argbtocolor",(Object)(_bcolor))});Debug.locals.put("Clrs", _clrs);Debug.locals.put("Clrs", _clrs); + BA.debugLineNum = 72;BA.debugLine="RightPositions.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 73;BA.debugLine="If mItems.Size = 0 Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mitems" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 74;BA.debugLine="Dim Left As Int = 0"; +Debug.JustUpdateDeviceLine(); +_left = BA.numberCast(int.class, 0);Debug.locals.put("Left", _left);Debug.locals.put("Left", _left); + BA.debugLineNum = 75;BA.debugLine="For i = 0 To mItems.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mitems" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16) ;_i = ((int)(0 + _i + step16)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 76;BA.debugLine="Dim sc As Int"; +Debug.JustUpdateDeviceLine(); +_sc = RemoteObject.createImmutable(0);Debug.locals.put("sc", _sc); + BA.debugLineNum = 77;BA.debugLine="If PressedItem = i Then sc = strokeColor Else sc"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_presseditem" /*RemoteObject*/ ),BA.numberCast(double.class, _i))) { +_sc = _strokecolor;Debug.locals.put("sc", _sc);} +else { +_sc = BA.numberCast(int.class, 0);Debug.locals.put("sc", _sc);}; + BA.debugLineNum = 78;BA.debugLine="Dim width As Int = DrawItem(Left, mItems.Get(i),"; +Debug.JustUpdateDeviceLine(); +_width = __ref.runClassMethod (gunav2.keymon.com.mx.b4xbreadcrumb.class, "_drawitem" /*RemoteObject*/ ,(Object)(_left),(Object)(BA.ObjectToString(__ref.getField(false,"_mitems" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, 0)))),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mitems" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))))),(Object)(_clrs.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),_clrs.getField(true,"length")}, "%",0, 1))),(Object)(_sc));Debug.locals.put("width", _width);Debug.locals.put("width", _width); + BA.debugLineNum = 79;BA.debugLine="Left = Left + width + offset + 2dip"; +Debug.JustUpdateDeviceLine(); +_left = RemoteObject.solve(new RemoteObject[] {_left,_width,__ref.getField(true,"_offset" /*RemoteObject*/ ),b4xbreadcrumb.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "+++",3, 1);Debug.locals.put("Left", _left); + BA.debugLineNum = 80;BA.debugLine="RightPositions.Add(Left)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_left))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 82;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawitem(RemoteObject __ref,RemoteObject _left,RemoteObject _text,RemoteObject _first,RemoteObject _last,RemoteObject _clr,RemoteObject _strokecolor) throws Exception{ +try { + Debug.PushSubsStack("DrawItem (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,85); +if (RapidSub.canDelegate("drawitem")) { return __ref.runUserSub(false, "b4xbreadcrumb","drawitem", __ref, _left, _text, _first, _last, _clr, _strokecolor);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _itemwidth = RemoteObject.createImmutable(0); +RemoteObject _itemheight = RemoteObject.createImmutable(0); +RemoteObject _baseline = RemoteObject.createImmutable(0); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XPath"); +Debug.locals.put("Left", _left); +Debug.locals.put("Text", _text); +Debug.locals.put("First", _first); +Debug.locals.put("Last", _last); +Debug.locals.put("clr", _clr); +Debug.locals.put("strokeColor", _strokecolor); + BA.debugLineNum = 85;BA.debugLine="Private Sub DrawItem(Left As Int, Text As String,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 86;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(Text, fnt)"; +Debug.JustUpdateDeviceLine(); +_r = __ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"MeasureText",(Object)(_text),(Object)(__ref.getField(false,"_fnt" /*RemoteObject*/ )));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 87;BA.debugLine="Dim ItemWidth As Int = r.Width + 30dip"; +Debug.JustUpdateDeviceLine(); +_itemwidth = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_r.runMethod(true,"getWidth"),b4xbreadcrumb.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)))}, "+",1, 0));Debug.locals.put("ItemWidth", _itemwidth);Debug.locals.put("ItemWidth", _itemwidth); + BA.debugLineNum = 88;BA.debugLine="Dim ItemHeight As Int = cvs.TargetRect.Height"; +Debug.JustUpdateDeviceLine(); +_itemheight = BA.numberCast(int.class, __ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getHeight"));Debug.locals.put("ItemHeight", _itemheight);Debug.locals.put("ItemHeight", _itemheight); + BA.debugLineNum = 89;BA.debugLine="Dim BaseLine As Int = cvs.TargetRect.CenterY - r."; +Debug.JustUpdateDeviceLine(); +_baseline = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY"),_r.runMethod(true,"getHeight"),RemoteObject.createImmutable(2),_r.runMethod(true,"getTop")}, "-/-",2, 0));Debug.locals.put("BaseLine", _baseline);Debug.locals.put("BaseLine", _baseline); + BA.debugLineNum = 90;BA.debugLine="Dim p As B4XPath"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XPath");Debug.locals.put("p", _p); + BA.debugLineNum = 91;BA.debugLine="p.Initialize(Left, 0)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, _left)),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 92;BA.debugLine="p.LineTo(Left + ItemWidth, 0)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("LineTo",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_left,_itemwidth}, "+",1, 1))),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 93;BA.debugLine="If Last = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_last,b4xbreadcrumb.__c.getField(true,"False"))) { + BA.debugLineNum = 94;BA.debugLine="p.LineTo(Left + ItemWidth + offset, ItemHeight /"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("LineTo",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_left,_itemwidth,__ref.getField(true,"_offset" /*RemoteObject*/ )}, "++",2, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_itemheight,RemoteObject.createImmutable(2)}, "/",0, 0)))); + }; + BA.debugLineNum = 96;BA.debugLine="p.LineTo(Left + ItemWidth, ItemHeight)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("LineTo",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_left,_itemwidth}, "+",1, 1))),(Object)(BA.numberCast(float.class, _itemheight))); + BA.debugLineNum = 97;BA.debugLine="If First = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_first,b4xbreadcrumb.__c.getField(true,"False"))) { + BA.debugLineNum = 98;BA.debugLine="p.LineTo(Left - offset, ItemHeight)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("LineTo",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_left,__ref.getField(true,"_offset" /*RemoteObject*/ )}, "-",1, 1))),(Object)(BA.numberCast(float.class, _itemheight))); + BA.debugLineNum = 99;BA.debugLine="p.LineTo(Left, ItemHeight / 2)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("LineTo",(Object)(BA.numberCast(float.class, _left)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_itemheight,RemoteObject.createImmutable(2)}, "/",0, 0)))); + BA.debugLineNum = 100;BA.debugLine="p.LineTo(Left - offset, 0)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("LineTo",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_left,__ref.getField(true,"_offset" /*RemoteObject*/ )}, "-",1, 1))),(Object)(BA.numberCast(float.class, 0))); + }else { + BA.debugLineNum = 102;BA.debugLine="p.LineTo(Left, ItemHeight)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("LineTo",(Object)(BA.numberCast(float.class, _left)),(Object)(BA.numberCast(float.class, _itemheight))); + }; + BA.debugLineNum = 104;BA.debugLine="p.LineTo(Left, 0)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("LineTo",(Object)(BA.numberCast(float.class, _left)),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 105;BA.debugLine="cvs.DrawPath(p, clr, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawPath",(Object)(_p),(Object)(_clr),(Object)(b4xbreadcrumb.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 106;BA.debugLine="If strokeColor <> 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_strokecolor,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 107;BA.debugLine="cvs.DrawPath(p, strokeColor, False, 3dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawPath",(Object)(_p),(Object)(_strokecolor),(Object)(b4xbreadcrumb.__c.getField(true,"False")),(Object)(BA.numberCast(float.class, b4xbreadcrumb.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))))); + }; + BA.debugLineNum = 110;BA.debugLine="cvs.DrawText(Text, Left + ItemWidth / 2, BaseLine"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawText",__ref.getField(false, "ba"),(Object)(_text),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_left,_itemwidth,RemoteObject.createImmutable(2)}, "+/",1, 0))),(Object)(BA.numberCast(float.class, _baseline)),(Object)(__ref.getField(false,"_fnt" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_textcolor" /*RemoteObject*/ )),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Paint.Align"),RemoteObject.createImmutable("CENTER")))); + BA.debugLineNum = 111;BA.debugLine="Return ItemWidth"; +Debug.JustUpdateDeviceLine(); +if (true) return _itemwidth; + BA.debugLineNum = 112;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _finditem(RemoteObject __ref,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("FindItem (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,136); +if (RapidSub.canDelegate("finditem")) { return __ref.runUserSub(false, "b4xbreadcrumb","finditem", __ref, _x, _y);} +RemoteObject _r = RemoteObject.createImmutable(0); +int _i = 0; +Debug.locals.put("x", _x); +Debug.locals.put("y", _y); + BA.debugLineNum = 136;BA.debugLine="Private Sub FindItem (x As Int, y As Int) As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 137;BA.debugLine="If RightPositions.Size = 0 Then Return -1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 138;BA.debugLine="If y < 0 Or y > cvs.TargetRect.Height Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_y,BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean(">",_y,BA.numberCast(double.class, __ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getHeight")))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 139;BA.debugLine="Dim r As Int = RightPositions.Get(RightPositions."; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(int.class, __ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 140;BA.debugLine="If x > r Then Return -1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_x,BA.numberCast(double.class, _r))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 141;BA.debugLine="For i = RightPositions.Size - 2 To 0 Step -1"; +Debug.JustUpdateDeviceLine(); +{ +final int step5 = -1; +final int limit5 = 0; +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(2)}, "-",1, 1).get().intValue() ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 142;BA.debugLine="Dim r As Int = RightPositions.Get(i)"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(int.class, __ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 143;BA.debugLine="If x > r Then Return i + 1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_x,BA.numberCast(double.class, _r))) { +if (true) return RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1);}; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 145;BA.debugLine="Return 0"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 146;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getitems(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getItems (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,153); +if (RapidSub.canDelegate("getitems")) { return __ref.runUserSub(false, "b4xbreadcrumb","getitems", __ref);} + BA.debugLineNum = 153;BA.debugLine="Public Sub getItems As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 154;BA.debugLine="Return mItems"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mitems" /*RemoteObject*/ ); + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,24); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xbreadcrumb","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 25;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 27;BA.debugLine="mItems.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mitems" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 28;BA.debugLine="RightPositions.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 29;BA.debugLine="bc.Initialize(1, 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 30;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setitems(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("setItems (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,148); +if (RapidSub.canDelegate("setitems")) { return __ref.runUserSub(false, "b4xbreadcrumb","setitems", __ref, _i);} +Debug.locals.put("i", _i); + BA.debugLineNum = 148;BA.debugLine="Public Sub setItems (i As List)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 149;BA.debugLine="mItems = i"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mitems" /*RemoteObject*/ ,_i); + BA.debugLineNum = 150;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _touch_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("Touch_Touch (b4xbreadcrumb) ","b4xbreadcrumb",50,__ref.getField(false, "ba"),__ref,114); +if (RapidSub.canDelegate("touch_touch")) { return __ref.runUserSub(false, "b4xbreadcrumb","touch_touch", __ref, _action, _x, _y);} +RemoteObject _prev = RemoteObject.createImmutable(0); +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 114;BA.debugLine="Private Sub Touch_Touch (Action As Int, X As Float"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 115;BA.debugLine="Select Action"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(_action,__ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_DOWN"),__ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE"),__ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_UP"))) { +case 0: +case 1: { + BA.debugLineNum = 117;BA.debugLine="Dim prev As Int = PressedItem"; +Debug.JustUpdateDeviceLine(); +_prev = __ref.getField(true,"_presseditem" /*RemoteObject*/ );Debug.locals.put("prev", _prev);Debug.locals.put("prev", _prev); + BA.debugLineNum = 118;BA.debugLine="PressedItem = FindItem(X, Y)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_presseditem" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xbreadcrumb.class, "_finditem" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)))); + BA.debugLineNum = 119;BA.debugLine="If prev <> PressedItem Then Draw"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_prev,BA.numberCast(double.class, __ref.getField(true,"_presseditem" /*RemoteObject*/ )))) { +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ );}; + break; } +case 2: { + BA.debugLineNum = 121;BA.debugLine="Dim index As Int = FindItem(X, Y)"; +Debug.JustUpdateDeviceLine(); +_index = __ref.runClassMethod (gunav2.keymon.com.mx.b4xbreadcrumb.class, "_finditem" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 122;BA.debugLine="If index = PressedItem And index > -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_index,BA.numberCast(double.class, __ref.getField(true,"_presseditem" /*RemoteObject*/ ))) && RemoteObject.solveBoolean(">",_index,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 123;BA.debugLine="Dim Items As List"; +Debug.JustUpdateDeviceLine(); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items); + BA.debugLineNum = 124;BA.debugLine="Items.Initialize"; +Debug.JustUpdateDeviceLine(); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 125;BA.debugLine="For i = 0 To index"; +Debug.JustUpdateDeviceLine(); +{ +final int step11 = 1; +final int limit11 = _index.get().intValue(); +_i = 0 ; +for (;(step11 > 0 && _i <= limit11) || (step11 < 0 && _i >= limit11) ;_i = ((int)(0 + _i + step11)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 126;BA.debugLine="Items.Add(mItems.Get(i))"; +Debug.JustUpdateDeviceLine(); +_items.runVoidMethod ("Add",(Object)(__ref.getField(false,"_mitems" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 128;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mhaptic" /*RemoteObject*/ ).get().booleanValue()) { +b4xbreadcrumb._xuiviewsutils.runVoidMethod ("_performhapticfeedback" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )));}; + BA.debugLineNum = 129;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; +Debug.JustUpdateDeviceLine(); +b4xbreadcrumb.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_CrumbClick"))),(Object)((_items))); + }; + BA.debugLineNum = 131;BA.debugLine="PressedItem = -1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_presseditem" /*RemoteObject*/ ,BA.numberCast(int.class, -(double) (0 + 1))); + BA.debugLineNum = 132;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ ); + break; } +} +; + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbytesbuilder.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbytesbuilder.java new file mode 100644 index 0000000..94f6fee --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbytesbuilder.java @@ -0,0 +1,32 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xbytesbuilder { + public static RemoteObject myClass; + public b4xbytesbuilder() { + } + public static PCBA staticBA = new PCBA(null, b4xbytesbuilder.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mbuffer = null; +public static RemoteObject _mlength = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"mBuffer",_ref.getField(false, "_mbuffer"),"mLength",_ref.getField(false, "_mlength")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbytesbuilder_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbytesbuilder_subs_0.java new file mode 100644 index 0000000..4567ff1 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xbytesbuilder_subs_0.java @@ -0,0 +1,473 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xbytesbuilder_subs_0 { + + +public static RemoteObject _append(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Append (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,24); +if (RapidSub.canDelegate("append")) { return __ref.runUserSub(false, "b4xbytesbuilder","append", __ref, _data);} +Debug.locals.put("Data", _data); + BA.debugLineNum = 24;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 25;BA.debugLine="Return Append2(Data, 0, Data.Length)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append2" /*RemoteObject*/ ,(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 26;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _append2(RemoteObject __ref,RemoteObject _data,RemoteObject _startindex,RemoteObject _length) throws Exception{ +try { + Debug.PushSubsStack("Append2 (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,31); +if (RapidSub.canDelegate("append2")) { return __ref.runUserSub(false, "b4xbytesbuilder","append2", __ref, _data, _startindex, _length);} +RemoteObject _oldlength = RemoteObject.createImmutable(0); +Debug.locals.put("Data", _data); +Debug.locals.put("StartIndex", _startindex); +Debug.locals.put("Length", _length); + BA.debugLineNum = 31;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 32;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; +Debug.JustUpdateDeviceLine(); +_oldlength = __ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mlength" /*RemoteObject*/ ),_length}, "+",1, 1)));Debug.locals.put("OldLength", _oldlength);Debug.locals.put("OldLength", _oldlength); + BA.debugLineNum = 33;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_data)),(Object)(_startindex),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_oldlength),(Object)(_length)); + BA.debugLineNum = 34;BA.debugLine="Return Me"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _changelength(RemoteObject __ref,RemoteObject _newlength) throws Exception{ +try { + Debug.PushSubsStack("ChangeLength (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("changelength")) { return __ref.runUserSub(false, "b4xbytesbuilder","changelength", __ref, _newlength);} +RemoteObject _oldlength = RemoteObject.createImmutable(0); +RemoteObject _b = null; +Debug.locals.put("NewLength", _newlength); + BA.debugLineNum = 12;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 13;BA.debugLine="Dim OldLength As Int = mLength"; +Debug.JustUpdateDeviceLine(); +_oldlength = __ref.getField(true,"_mlength" /*RemoteObject*/ );Debug.locals.put("OldLength", _oldlength);Debug.locals.put("OldLength", _oldlength); + BA.debugLineNum = 14;BA.debugLine="mLength = NewLength"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mlength" /*RemoteObject*/ ,_newlength); + BA.debugLineNum = 15;BA.debugLine="If mBuffer.Length < mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_mbuffer" /*RemoteObject*/ ).getField(true,"length"),BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 16;BA.debugLine="Dim b(Max(mBuffer.Length * 2, NewLength)) As Byt"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNewArray ("byte", new int[] {(int) (0 + b4xbytesbuilder.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbuffer" /*RemoteObject*/ ).getField(true,"length"),RemoteObject.createImmutable(2)}, "*",0, 1))),(Object)(BA.numberCast(double.class, _newlength))).get().doubleValue())}, new Object[]{});Debug.locals.put("b", _b); + BA.debugLineNum = 17;BA.debugLine="Bit.ArrayCopy(mBuffer, 0, b, 0, mBuffer.Length)"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)((_b)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbuffer" /*RemoteObject*/ ).getField(true,"length"))); + BA.debugLineNum = 18;BA.debugLine="mBuffer = b"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbuffer" /*RemoteObject*/ ,_b); + }; + BA.debugLineNum = 20;BA.debugLine="Return OldLength"; +Debug.JustUpdateDeviceLine(); +if (true) return _oldlength; + BA.debugLineNum = 21;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private mBuffer() As Byte"; +b4xbytesbuilder._mbuffer = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_mbuffer",b4xbytesbuilder._mbuffer); + //BA.debugLineNum = 3;BA.debugLine="Private mLength As Int"; +b4xbytesbuilder._mlength = RemoteObject.createImmutable(0);__ref.setField("_mlength",b4xbytesbuilder._mlength); + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4xbytesbuilder","clear", __ref);} + BA.debugLineNum = 37;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="ChangeLength(0)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbuffer(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBuffer (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,103); +if (RapidSub.canDelegate("getbuffer")) { return __ref.runUserSub(false, "b4xbytesbuilder","getbuffer", __ref);} + BA.debugLineNum = 103;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 104;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getinternalbuffer(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getInternalBuffer (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,127); +if (RapidSub.canDelegate("getinternalbuffer")) { return __ref.runUserSub(false, "b4xbytesbuilder","getinternalbuffer", __ref);} + BA.debugLineNum = 127;BA.debugLine="Public Sub getInternalBuffer As Byte()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 128;BA.debugLine="Return mBuffer"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbuffer" /*RemoteObject*/ ); + BA.debugLineNum = 129;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getlength(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getLength (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("getlength")) { return __ref.runUserSub(false, "b4xbytesbuilder","getlength", __ref);} + BA.debugLineNum = 92;BA.debugLine="Public Sub getLength As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 93;BA.debugLine="Return mLength"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mlength" /*RemoteObject*/ ); + BA.debugLineNum = 94;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _indexof(RemoteObject __ref,RemoteObject _searchfor) throws Exception{ +try { + Debug.PushSubsStack("IndexOf (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,107); +if (RapidSub.canDelegate("indexof")) { return __ref.runUserSub(false, "b4xbytesbuilder","indexof", __ref, _searchfor);} +Debug.locals.put("SearchFor", _searchfor); + BA.debugLineNum = 107;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 108;BA.debugLine="Return IndexOf2(SearchFor, 0)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_indexof2" /*RemoteObject*/ ,(Object)(_searchfor),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _indexof2(RemoteObject __ref,RemoteObject _searchfor,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("IndexOf2 (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,112); +if (RapidSub.canDelegate("indexof2")) { return __ref.runUserSub(false, "b4xbytesbuilder","indexof2", __ref, _searchfor, _index);} +int _i1 = 0; +int _i2 = 0; +Debug.locals.put("SearchFor", _searchfor); +Debug.locals.put("Index", _index); + BA.debugLineNum = 112;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 113;BA.debugLine="For i1 = Index To mLength - SearchFor.Length"; +Debug.JustUpdateDeviceLine(); +{ +final int step1 = 1; +final int limit1 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mlength" /*RemoteObject*/ ),_searchfor.getField(true,"length")}, "-",1, 1).get().intValue(); +_i1 = _index.get().intValue() ; +for (;(step1 > 0 && _i1 <= limit1) || (step1 < 0 && _i1 >= limit1) ;_i1 = ((int)(0 + _i1 + step1)) ) { +Debug.locals.put("i1", _i1); + BA.debugLineNum = 114;BA.debugLine="For i2 = 0 To SearchFor.Length - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step2 = 1; +final int limit2 = RemoteObject.solve(new RemoteObject[] {_searchfor.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i2 = 0 ; +for (;(step2 > 0 && _i2 <= limit2) || (step2 < 0 && _i2 >= limit2) ;_i2 = ((int)(0 + _i2 + step2)) ) { +Debug.locals.put("i2", _i2); + BA.debugLineNum = 115;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_searchfor.getArrayElement(true,BA.numberCast(int.class, _i2)),BA.numberCast(double.class, __ref.getField(false,"_mbuffer" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i1),RemoteObject.createImmutable(_i2)}, "+",1, 1))))) { + BA.debugLineNum = 116;BA.debugLine="Exit"; +Debug.JustUpdateDeviceLine(); +if (true) break; + }; + } +}Debug.locals.put("i2", _i2); +; + BA.debugLineNum = 119;BA.debugLine="If i2 = SearchFor.Length Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i2),BA.numberCast(double.class, _searchfor.getField(true,"length")))) { + BA.debugLineNum = 120;BA.debugLine="Return i1"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(int.class, _i1); + }; + } +}Debug.locals.put("i1", _i1); +; + BA.debugLineNum = 123;BA.debugLine="Return -1"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(int.class, -(double) (0 + 1)); + BA.debugLineNum = 124;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,6); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xbytesbuilder","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 7;BA.debugLine="Dim mBuffer(100) As Byte"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder._mbuffer = RemoteObject.createNewArray ("byte", new int[] {100}, new Object[]{});__ref.setField("_mbuffer",b4xbytesbuilder._mbuffer); + BA.debugLineNum = 8;BA.debugLine="mLength = 0"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mlength" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 9;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _insert(RemoteObject __ref,RemoteObject _index,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Insert (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,43); +if (RapidSub.canDelegate("insert")) { return __ref.runUserSub(false, "b4xbytesbuilder","insert", __ref, _index, _data);} +RemoteObject _afterindex = null; +Debug.locals.put("Index", _index); +Debug.locals.put("Data", _data); + BA.debugLineNum = 43;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 44;BA.debugLine="If Index >= mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_index,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_index,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { +b4xbytesbuilder.__c.runVoidMethod ("LogImpl","911010050",RemoteObject.createImmutable("Index too large"),0);}; + BA.debugLineNum = 46;BA.debugLine="Append(Data)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_data)); + }else { + BA.debugLineNum = 48;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; +Debug.JustUpdateDeviceLine(); +_afterindex = __ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_subarray" /*RemoteObject*/ ,(Object)(_index));Debug.locals.put("AfterIndex", _afterindex);Debug.locals.put("AfterIndex", _afterindex); + BA.debugLineNum = 49;BA.debugLine="ChangeLength(mLength + Data.Length)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mlength" /*RemoteObject*/ ),_data.getField(true,"length")}, "+",1, 1))); + BA.debugLineNum = 50;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_data)),(Object)(BA.numberCast(int.class, 0)),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_index),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 51;BA.debugLine="Bit.ArrayCopy(AfterIndex, 0, mBuffer, Index + Da"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_afterindex)),(Object)(BA.numberCast(int.class, 0)),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(RemoteObject.solve(new RemoteObject[] {_index,_data.getField(true,"length")}, "+",1, 1)),(Object)(_afterindex.getField(true,"length"))); + }; + BA.debugLineNum = 53;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _remove(RemoteObject __ref,RemoteObject _beginindex,RemoteObject _endindex) throws Exception{ +try { + Debug.PushSubsStack("Remove (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,69); +if (RapidSub.canDelegate("remove")) { return __ref.runUserSub(false, "b4xbytesbuilder","remove", __ref, _beginindex, _endindex);} +RemoteObject _res = null; +RemoteObject _afterendindex = null; +Debug.locals.put("BeginIndex", _beginindex); +Debug.locals.put("EndIndex", _endindex); + BA.debugLineNum = 69;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 70;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; +Debug.JustUpdateDeviceLine(); +_res = __ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_subarray2" /*RemoteObject*/ ,(Object)(_beginindex),(Object)(_endindex));Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 71;BA.debugLine="If EndIndex <= mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",_endindex,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 72;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; +Debug.JustUpdateDeviceLine(); +_afterendindex = __ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_subarray" /*RemoteObject*/ ,(Object)(_endindex));Debug.locals.put("AfterEndIndex", _afterendindex);Debug.locals.put("AfterEndIndex", _afterendindex); + BA.debugLineNum = 73;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_afterendindex)),(Object)(BA.numberCast(int.class, 0)),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_beginindex),(Object)(_afterendindex.getField(true,"length"))); + }; + BA.debugLineNum = 75;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mlength" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {_endindex,_beginindex}, "-",1, 1))}, "-",1, 1))); + BA.debugLineNum = 76;BA.debugLine="Return res"; +Debug.JustUpdateDeviceLine(); +if (true) return _res; + BA.debugLineNum = 77;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _set(RemoteObject __ref,RemoteObject _index,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Set (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,56); +if (RapidSub.canDelegate("set")) { return __ref.runUserSub(false, "b4xbytesbuilder","set", __ref, _index, _data);} +Debug.locals.put("Index", _index); +Debug.locals.put("Data", _data); + BA.debugLineNum = 56;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 57;BA.debugLine="If Index >= mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_index,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_index,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { +b4xbytesbuilder.__c.runVoidMethod ("LogImpl","911075586",RemoteObject.createImmutable("Index too large"),0);}; + BA.debugLineNum = 59;BA.debugLine="Append(Data)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_data)); + }else { + BA.debugLineNum = 61;BA.debugLine="If Data.Length + Index > mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_data.getField(true,"length"),_index}, "+",1, 1),BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 62;BA.debugLine="ChangeLength(Data.Length + Index)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {_data.getField(true,"length"),_index}, "+",1, 1))); + }; + BA.debugLineNum = 64;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_data)),(Object)(BA.numberCast(int.class, 0)),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_index),(Object)(_data.getField(true,"length"))); + }; + BA.debugLineNum = 66;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _subarray(RemoteObject __ref,RemoteObject _beginindex) throws Exception{ +try { + Debug.PushSubsStack("SubArray (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,80); +if (RapidSub.canDelegate("subarray")) { return __ref.runUserSub(false, "b4xbytesbuilder","subarray", __ref, _beginindex);} +Debug.locals.put("BeginIndex", _beginindex); + BA.debugLineNum = 80;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 81;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_subarray2" /*RemoteObject*/ ,(Object)(_beginindex),(Object)(__ref.getField(true,"_mlength" /*RemoteObject*/ ))); + BA.debugLineNum = 82;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _subarray2(RemoteObject __ref,RemoteObject _beginindex,RemoteObject _endindex) throws Exception{ +try { + Debug.PushSubsStack("SubArray2 (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,86); +if (RapidSub.canDelegate("subarray2")) { return __ref.runUserSub(false, "b4xbytesbuilder","subarray2", __ref, _beginindex, _endindex);} +RemoteObject _b = null; +Debug.locals.put("BeginIndex", _beginindex); +Debug.locals.put("EndIndex", _endindex); + BA.debugLineNum = 86;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_endindex,_beginindex}, "-",1, 1).get().intValue()}, new Object[]{});Debug.locals.put("b", _b); + BA.debugLineNum = 88;BA.debugLine="Bit.ArrayCopy(mBuffer, BeginIndex, b, 0, b.Length"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_beginindex),(Object)((_b)),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 89;BA.debugLine="Return b"; +Debug.JustUpdateDeviceLine(); +if (true) return _b; + BA.debugLineNum = 90;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _toarray(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ToArray (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,97); +if (RapidSub.canDelegate("toarray")) { return __ref.runUserSub(false, "b4xbytesbuilder","toarray", __ref);} + BA.debugLineNum = 97;BA.debugLine="Public Sub ToArray() As Byte()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 98;BA.debugLine="Return SubArray(0)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_subarray" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcache.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcache.java new file mode 100644 index 0000000..ae91752 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcache.java @@ -0,0 +1,34 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xcache { + public static RemoteObject myClass; + public b4xcache() { + } + public static PCBA staticBA = new PCBA(null, b4xcache.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _data = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xorderedmap"); +public static RemoteObject _mmaxsize = RemoteObject.createImmutable(0); +public static RemoteObject _removethreshold = RemoteObject.createImmutable(0f); +public static RemoteObject _eternalcounts = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Data",_ref.getField(false, "_data"),"DateUtils",_ref.getField(false, "_dateutils"),"EternalCounts",_ref.getField(false, "_eternalcounts"),"mMaxSize",_ref.getField(false, "_mmaxsize"),"RemoveThreshold",_ref.getField(false, "_removethreshold")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcache_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcache_subs_0.java new file mode 100644 index 0000000..c2eaa45 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcache_subs_0.java @@ -0,0 +1,431 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcache_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; +; + //BA.debugLineNum = 3;BA.debugLine="Private Data As B4XOrderedMap"; +b4xcache._data = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xorderedmap");__ref.setField("_data",b4xcache._data); + //BA.debugLineNum = 4;BA.debugLine="Private mMaxSize As Int = 100"; +b4xcache._mmaxsize = BA.numberCast(int.class, 100);__ref.setField("_mmaxsize",b4xcache._mmaxsize); + //BA.debugLineNum = 5;BA.debugLine="Private RemoveThreshold As Float = 0.3"; +b4xcache._removethreshold = BA.numberCast(float.class, 0.3);__ref.setField("_removethreshold",b4xcache._removethreshold); + //BA.debugLineNum = 6;BA.debugLine="Private EternalCounts As Int"; +b4xcache._eternalcounts = RemoteObject.createImmutable(0);__ref.setField("_eternalcounts",b4xcache._eternalcounts); + //BA.debugLineNum = 7;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _containskey(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("ContainsKey (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,66); +if (RapidSub.canDelegate("containskey")) { return __ref.runUserSub(false, "b4xcache","containskey", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 66;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 67;BA.debugLine="Return Data.ContainsKey(Key)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_containskey" /*RemoteObject*/ ,(Object)((_key))); + BA.debugLineNum = 68;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createb4xcacheitem(RemoteObject __ref,RemoteObject _value,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("CreateB4XCacheItem (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("createb4xcacheitem")) { return __ref.runUserSub(false, "b4xcache","createb4xcacheitem", __ref, _value, _key);} +RemoteObject _t1 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("Value", _value); +Debug.locals.put("Key", _key); + BA.debugLineNum = 102;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 103;BA.debugLine="Dim t1 As B4XCacheItem"; +Debug.JustUpdateDeviceLine(); +_t1 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcache._b4xcacheitem");Debug.locals.put("t1", _t1); + BA.debugLineNum = 104;BA.debugLine="t1.Initialize"; +Debug.JustUpdateDeviceLine(); +_t1.runVoidMethod ("Initialize"); + BA.debugLineNum = 105;BA.debugLine="t1.Value = Value"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Value" /*RemoteObject*/ ,_value); + BA.debugLineNum = 106;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("LastAccessedTime" /*RemoteObject*/ ,b4xcache.__c.getField(false,"DateTime").runMethod(true,"getNow")); + BA.debugLineNum = 107;BA.debugLine="t1.Key = Key"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Key" /*RemoteObject*/ ,_key); + BA.debugLineNum = 108;BA.debugLine="Return t1"; +Debug.JustUpdateDeviceLine(); +if (true) return _t1; + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _get(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Get (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,24); +if (RapidSub.canDelegate("get")) { return __ref.runUserSub(false, "b4xcache","get", __ref, _key);} +RemoteObject _ci = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("Key", _key); + BA.debugLineNum = 24;BA.debugLine="Public Sub Get (Key As String) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 25;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +Debug.JustUpdateDeviceLine(); +_ci = (__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_key))));Debug.locals.put("ci", _ci);Debug.locals.put("ci", _ci); + BA.debugLineNum = 26;BA.debugLine="If ci <> Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_ci)) { + BA.debugLineNum = 27;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_ci.getField(true,"Eternal" /*RemoteObject*/ ),b4xcache.__c.getField(true,"False"))) { +_ci.setField ("LastAccessedTime" /*RemoteObject*/ ,b4xcache.__c.getField(false,"DateTime").runMethod(true,"getNow"));}; + BA.debugLineNum = 28;BA.debugLine="Return ci.Value"; +Debug.JustUpdateDeviceLine(); +if (true) return _ci.getField(false,"Value" /*RemoteObject*/ ); + }; + BA.debugLineNum = 30;BA.debugLine="Return Null"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xcache.__c.getField(false,"Null"); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getmaxsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getMaxSize (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("getmaxsize")) { return __ref.runUserSub(false, "b4xcache","getmaxsize", __ref);} + BA.debugLineNum = 19;BA.debugLine="Public Sub getMaxSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 20;BA.debugLine="Return mMaxSize"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mmaxsize" /*RemoteObject*/ ); + BA.debugLineNum = 21;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,9); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xcache","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="Data.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 11;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _iseternal(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("IsEternal (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("iseternal")) { return __ref.runUserSub(false, "b4xcache","iseternal", __ref, _key);} +RemoteObject _ci = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("Key", _key); + BA.debugLineNum = 60;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 61;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +Debug.JustUpdateDeviceLine(); +_ci = (__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_key))));Debug.locals.put("ci", _ci);Debug.locals.put("ci", _ci); + BA.debugLineNum = 62;BA.debugLine="Return IIf(ci = Null, False, ci.Eternal)"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(((RemoteObject.solveBoolean("n",_ci)) ? ((b4xcache.__c.getField(true,"False"))) : ((_ci.getField(true,"Eternal" /*RemoteObject*/ ))))); + BA.debugLineNum = 63;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _keys(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Keys (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("keys")) { return __ref.runUserSub(false, "b4xcache","keys", __ref);} + BA.debugLineNum = 98;BA.debugLine="Public Sub Keys As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 99;BA.debugLine="Return Data.Keys"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); + BA.debugLineNum = 100;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _put(RemoteObject __ref,RemoteObject _key,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Put (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("put")) { return __ref.runUserSub(false, "b4xcache","put", __ref, _key, _value);} +Debug.locals.put("Key", _key); +Debug.locals.put("Value", _value); + BA.debugLineNum = 35;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 36;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (gunav2.keymon.com.mx.b4xcache.class, "_iseternal" /*RemoteObject*/ ,(Object)(_key)).get().booleanValue()) { +__ref.setField ("_eternalcounts" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_eternalcounts" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1));}; + BA.debugLineNum = 37;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_key)),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.b4xcache.class, "_createb4xcacheitem" /*RemoteObject*/ ,(Object)(_value),(Object)(_key))))); + BA.debugLineNum = 38;BA.debugLine="TrimIfOversize"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcache.class, "_trimifoversize" /*RemoteObject*/ ); + BA.debugLineNum = 39;BA.debugLine="Return Value"; +Debug.JustUpdateDeviceLine(); +if (true) return _value; + BA.debugLineNum = 40;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _puteternal(RemoteObject __ref,RemoteObject _key,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("PutEternal (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("puteternal")) { return __ref.runUserSub(false, "b4xcache","puteternal", __ref, _key, _value);} +RemoteObject _ci = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("Key", _key); +Debug.locals.put("Value", _value); + BA.debugLineNum = 44;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 45;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (gunav2.keymon.com.mx.b4xcache.class, "_iseternal" /*RemoteObject*/ ,(Object)(_key)).get().booleanValue()) { +__ref.setField ("_eternalcounts" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_eternalcounts" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1));}; + BA.debugLineNum = 46;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; +Debug.JustUpdateDeviceLine(); +_ci = __ref.runClassMethod (gunav2.keymon.com.mx.b4xcache.class, "_createb4xcacheitem" /*RemoteObject*/ ,(Object)(_value),(Object)(_key));Debug.locals.put("ci", _ci);Debug.locals.put("ci", _ci); + BA.debugLineNum = 47;BA.debugLine="ci.Eternal = True"; +Debug.JustUpdateDeviceLine(); +_ci.setField ("Eternal" /*RemoteObject*/ ,b4xcache.__c.getField(true,"True")); + BA.debugLineNum = 48;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; +Debug.JustUpdateDeviceLine(); +_ci.setField ("LastAccessedTime" /*RemoteObject*/ ,BA.numberCast(long.class, 9223372036854775807L)); + BA.debugLineNum = 49;BA.debugLine="EternalCounts = EternalCounts + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_eternalcounts" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_eternalcounts" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 50;BA.debugLine="Data.Put(Key, ci)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_key)),(Object)((_ci))); + BA.debugLineNum = 51;BA.debugLine="Return Value"; +Debug.JustUpdateDeviceLine(); +if (true) return _value; + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _remove(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Remove (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,55); +if (RapidSub.canDelegate("remove")) { return __ref.runUserSub(false, "b4xcache","remove", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 55;BA.debugLine="Public Sub Remove (Key As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 56;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (gunav2.keymon.com.mx.b4xcache.class, "_iseternal" /*RemoteObject*/ ,(Object)(_key)).get().booleanValue()) { +__ref.setField ("_eternalcounts" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_eternalcounts" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1));}; + BA.debugLineNum = 57;BA.debugLine="Data.Remove(Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((_key))); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _removeolditems(RemoteObject __ref,RemoteObject _agems) throws Exception{ +try { + Debug.PushSubsStack("RemoveOldItems (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,82); +if (RapidSub.canDelegate("removeolditems")) { return __ref.runUserSub(false, "b4xcache","removeolditems", __ref, _agems);} +RemoteObject _values = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _level = RemoteObject.createImmutable(0L); +RemoteObject _ci = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("AgeMs", _agems); + BA.debugLineNum = 82;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 83;BA.debugLine="Dim values As List = Data.Values"; +Debug.JustUpdateDeviceLine(); +_values = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_values = __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getvalues" /*RemoteObject*/ );Debug.locals.put("values", _values);Debug.locals.put("values", _values); + BA.debugLineNum = 84;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; +Debug.JustUpdateDeviceLine(); +_level = RemoteObject.solve(new RemoteObject[] {b4xcache.__c.getField(false,"DateTime").runMethod(true,"getNow"),_agems}, "-",1, 2);Debug.locals.put("level", _level);Debug.locals.put("level", _level); + BA.debugLineNum = 85;BA.debugLine="For Each ci As B4XCacheItem In values"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group3 = _values; +final int groupLen3 = group3.runMethod(true,"getSize").get() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_ci = (group3.runMethod(false,"Get",index3));Debug.locals.put("ci", _ci); +Debug.locals.put("ci", _ci); + BA.debugLineNum = 86;BA.debugLine="If ci.LastAccessedTime <= level Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",_ci.getField(true,"LastAccessedTime" /*RemoteObject*/ ),_level)) { + BA.debugLineNum = 87;BA.debugLine="Data.Remove(ci.Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((_ci.getField(true,"Key" /*RemoteObject*/ )))); + }; + } +}Debug.locals.put("ci", _ci); +; + BA.debugLineNum = 90;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setmaxsize(RemoteObject __ref,RemoteObject _s) throws Exception{ +try { + Debug.PushSubsStack("setMaxSize (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,14); +if (RapidSub.canDelegate("setmaxsize")) { return __ref.runUserSub(false, "b4xcache","setmaxsize", __ref, _s);} +Debug.locals.put("s", _s); + BA.debugLineNum = 14;BA.debugLine="Public Sub setMaxSize(s As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 15;BA.debugLine="mMaxSize = s"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mmaxsize" /*RemoteObject*/ ,_s); + BA.debugLineNum = 16;BA.debugLine="TrimIfOversize"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcache.class, "_trimifoversize" /*RemoteObject*/ ); + BA.debugLineNum = 17;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _size(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Size (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,93); +if (RapidSub.canDelegate("size")) { return __ref.runUserSub(false, "b4xcache","size", __ref);} + BA.debugLineNum = 93;BA.debugLine="Public Sub Size As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 94;BA.debugLine="Return Data.Size"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ); + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _trimifoversize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TrimIfOversize (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("trimifoversize")) { return __ref.runUserSub(false, "b4xcache","trimifoversize", __ref);} +RemoteObject _values = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _numberofitemstoremove = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 70;BA.debugLine="Private Sub TrimIfOversize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 71;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),__ref.getField(true,"_eternalcounts" /*RemoteObject*/ )}, "-",1, 1),BA.numberCast(double.class, __ref.getField(true,"_mmaxsize" /*RemoteObject*/ )))) { + BA.debugLineNum = 72;BA.debugLine="Dim values As List = Data.Values"; +Debug.JustUpdateDeviceLine(); +_values = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_values = __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getvalues" /*RemoteObject*/ );Debug.locals.put("values", _values);Debug.locals.put("values", _values); + BA.debugLineNum = 73;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; +Debug.JustUpdateDeviceLine(); +_values.runVoidMethod ("SortType",(Object)(BA.ObjectToString("LastAccessedTime")),(Object)(b4xcache.__c.getField(true,"True"))); + BA.debugLineNum = 74;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; +Debug.JustUpdateDeviceLine(); +_numberofitemstoremove = BA.numberCast(int.class, b4xcache.__c.runMethod(true,"Ceil",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mmaxsize" /*RemoteObject*/ ),__ref.getField(true,"_removethreshold" /*RemoteObject*/ )}, "*",0, 0))));Debug.locals.put("NumberOfItemsToRemove", _numberofitemstoremove);Debug.locals.put("NumberOfItemsToRemove", _numberofitemstoremove); + BA.debugLineNum = 75;BA.debugLine="For i = 0 To NumberOfItemsToRemove"; +Debug.JustUpdateDeviceLine(); +{ +final int step5 = 1; +final int limit5 = _numberofitemstoremove.get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 76;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((((_values.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))).getField(true,"Key" /*RemoteObject*/ )))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcollections.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcollections.java new file mode 100644 index 0000000..9a00977 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcollections.java @@ -0,0 +1,63 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class b4xcollections implements IRemote{ + public static b4xcollections mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public b4xcollections() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, b4xcollections.class); + static { + mostCurrent = new b4xcollections(); + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcollections"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("b4xcollections"), "gunav2.keymon.com.mx.b4xcollections"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("gunav2.keymon.com.mx.b4xcollections"), new java.lang.ref.WeakReference (pcBA)); + } + + public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } + public PCBA create(Object[] args) throws ClassNotFoundException{ + throw new RuntimeException("CREATE is not supported."); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"DateUtils",b4xcollections.mostCurrent._dateutils,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcollections_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcollections_subs_0.java new file mode 100644 index 0000000..a4cecd4 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcollections_subs_0.java @@ -0,0 +1,179 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcollections_subs_0 { + + +public static RemoteObject _createbitset(RemoteObject _ba,RemoteObject _size) throws Exception{ +try { + Debug.PushSubsStack("CreateBitSet (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,52); +if (RapidSub.canDelegate("createbitset")) { return gunav2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createbitset", _ba, _size);} +RemoteObject _s = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbitset"); +; +Debug.locals.put("Size", _size); + BA.debugLineNum = 52;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="Dim s As B4XBitSet"; +Debug.JustUpdateDeviceLine(); +_s = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbitset");Debug.locals.put("s", _s); + BA.debugLineNum = 54;BA.debugLine="s.Initialize(Size)"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (gunav2.keymon.com.mx.b4xbitset.class, "_initialize" /*RemoteObject*/ ,BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(_size)); + BA.debugLineNum = 55;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + BA.debugLineNum = 56;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createorderedmap(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("CreateOrderedMap (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,30); +if (RapidSub.canDelegate("createorderedmap")) { return gunav2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createorderedmap", _ba);} +; + BA.debugLineNum = 30;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 31;BA.debugLine="Return CreateOrderedMap2(Null, Null)"; +Debug.JustUpdateDeviceLine(); +if (true) return _createorderedmap2(_ba,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), b4xcollections.mostCurrent.__c.getField(false,"Null")),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), b4xcollections.mostCurrent.__c.getField(false,"Null"))); + BA.debugLineNum = 32;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createorderedmap2(RemoteObject _ba,RemoteObject _keys,RemoteObject _values) throws Exception{ +try { + Debug.PushSubsStack("CreateOrderedMap2 (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,38); +if (RapidSub.canDelegate("createorderedmap2")) { return gunav2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createorderedmap2", _ba, _keys, _values);} +RemoteObject _m = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xorderedmap"); +int _i = 0; +; +Debug.locals.put("Keys", _keys); +Debug.locals.put("Values", _values); + BA.debugLineNum = 38;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="Dim m As B4XOrderedMap"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xorderedmap");Debug.locals.put("m", _m); + BA.debugLineNum = 40;BA.debugLine="m.Initialize"; +Debug.JustUpdateDeviceLine(); +_m.runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba)); + BA.debugLineNum = 41;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_keys) && RemoteObject.solveBoolean("N",_values) && RemoteObject.solveBoolean(".",_keys.runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",_values.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 42;BA.debugLine="For i = 0 To Keys.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_keys.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 43;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; +Debug.JustUpdateDeviceLine(); +_m.runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)(_keys.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i)))),(Object)(_values.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 46;BA.debugLine="Return m"; +Debug.JustUpdateDeviceLine(); +if (true) return _m; + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createset(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("CreateSet (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,9); +if (RapidSub.canDelegate("createset")) { return gunav2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createset", _ba);} +; + BA.debugLineNum = 9;BA.debugLine="Public Sub CreateSet As B4XSet"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="Return CreateSet2(Null)"; +Debug.JustUpdateDeviceLine(); +if (true) return _createset2(_ba,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), b4xcollections.mostCurrent.__c.getField(false,"Null"))); + BA.debugLineNum = 11;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createset2(RemoteObject _ba,RemoteObject _values) throws Exception{ +try { + Debug.PushSubsStack("CreateSet2 (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,16); +if (RapidSub.canDelegate("createset2")) { return gunav2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createset2", _ba, _values);} +RemoteObject _s = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xset"); +RemoteObject _v = RemoteObject.declareNull("Object"); +; +Debug.locals.put("Values", _values); + BA.debugLineNum = 16;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 17;BA.debugLine="Dim s As B4XSet"; +Debug.JustUpdateDeviceLine(); +_s = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xset");Debug.locals.put("s", _s); + BA.debugLineNum = 18;BA.debugLine="s.Initialize"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_initialize" /*RemoteObject*/ ,BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba)); + BA.debugLineNum = 19;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_values) && RemoteObject.solveBoolean(".",_values.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 20;BA.debugLine="For Each v As Object In Values"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group4 = _values; +final int groupLen4 = group4.runMethod(true,"getSize").get() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_v = group4.runMethod(false,"Get",index4);Debug.locals.put("v", _v); +Debug.locals.put("v", _v); + BA.debugLineNum = 21;BA.debugLine="s.Add(v)"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)(_v)); + } +}Debug.locals.put("v", _v); +; + }; + BA.debugLineNum = 24;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + BA.debugLineNum = 25;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcolortemplate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcolortemplate.java new file mode 100644 index 0000000..4175ad8 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcolortemplate.java @@ -0,0 +1,47 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xcolortemplate { + public static RemoteObject myClass; + public b4xcolortemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xcolortemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _selectedalpha = RemoteObject.createImmutable(0); +public static RemoteObject _bccolors = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _selectedh = RemoteObject.createImmutable(0f); +public static RemoteObject _selecteds = RemoteObject.createImmutable(0f); +public static RemoteObject _selectedv = RemoteObject.createImmutable(0f); +public static RemoteObject _devicescale = RemoteObject.createImmutable(0f); +public static RemoteObject _colorscale = RemoteObject.createImmutable(0f); +public static RemoteObject _tempbc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _dont_change = RemoteObject.createImmutable(0); +public static RemoteObject _huebar = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _colorpicker = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _alphabar = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _borderscolor = RemoteObject.createImmutable(0); +public static RemoteObject _xdialog = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xdialog"); +public static RemoteObject _initialcolor = null; +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AlphaBar",_ref.getField(false, "_alphabar"),"bcColors",_ref.getField(false, "_bccolors"),"BordersColor",_ref.getField(false, "_borderscolor"),"ColorPicker",_ref.getField(false, "_colorpicker"),"ColorScale",_ref.getField(false, "_colorscale"),"DateUtils",_ref.getField(false, "_dateutils"),"DeviceScale",_ref.getField(false, "_devicescale"),"DONT_CHANGE",_ref.getField(false, "_dont_change"),"HueBar",_ref.getField(false, "_huebar"),"InitialColor",_ref.getField(false, "_initialcolor"),"mBase",_ref.getField(false, "_mbase"),"SelectedAlpha",_ref.getField(false, "_selectedalpha"),"selectedH",_ref.getField(false, "_selectedh"),"selectedS",_ref.getField(false, "_selecteds"),"selectedV",_ref.getField(false, "_selectedv"),"tempBC",_ref.getField(false, "_tempbc"),"xDialog",_ref.getField(false, "_xdialog"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcolortemplate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcolortemplate_subs_0.java new file mode 100644 index 0000000..796875a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcolortemplate_subs_0.java @@ -0,0 +1,1090 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcolortemplate_subs_0 { + + +public static RemoteObject _alpha_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("Alpha_Touch (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,263); +if (RapidSub.canDelegate("alpha_touch")) { return __ref.runUserSub(false, "b4xcolortemplate","alpha_touch", __ref, _action, _x, _y);} +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 263;BA.debugLine="Private Sub Alpha_Touch (Action As Int, X As Float"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 264;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE_NOTOUCH")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 265;BA.debugLine="AlphaBarSelectedChange(x)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_alphabarselectedchange" /*RemoteObject*/ ,(Object)(_x)); + BA.debugLineNum = 266;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _alphabarselectedchange(RemoteObject __ref,RemoteObject _x) throws Exception{ +try { + Debug.PushSubsStack("AlphaBarSelectedChange (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,147); +if (RapidSub.canDelegate("alphabarselectedchange")) { return __ref.runUserSub(false, "b4xcolortemplate","alphabarselectedchange", __ref, _x);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +Debug.locals.put("x", _x); + BA.debugLineNum = 147;BA.debugLine="Private Sub AlphaBarSelectedChange(x As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 148;BA.debugLine="SelectedAlpha = 255 * Max(0, Min(1, x / AlphaBar."; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedalpha" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(255),b4xcolortemplate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_x,__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/",0, 0)))))}, "*",0, 0))); + BA.debugLineNum = 149;BA.debugLine="x = SelectedAlpha / 255 * AlphaBar.pnl.Width"; +Debug.JustUpdateDeviceLine(); +_x = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedalpha" /*RemoteObject*/ ),RemoteObject.createImmutable(255),__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/*",0, 0));Debug.locals.put("x", _x); + BA.debugLineNum = 150;BA.debugLine="AlphaBar.cvs.ClearRect(AlphaBar.cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 151;BA.debugLine="Dim r As B4XRect"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("r", _r); + BA.debugLineNum = 152;BA.debugLine="r.Initialize(x - 3dip, 1dip, x + 3dip, AlphaBar.c"; +Debug.JustUpdateDeviceLine(); +_r.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_x,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "-",1, 0))),(Object)(BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1))))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_x,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "+",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getBottom"),b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))}, "-",1, 0)))); + BA.debugLineNum = 153;BA.debugLine="AlphaBar.cvs.DrawRect(r, xui.Color_Black, True, 2"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("DrawRect",(Object)(_r),(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black")),(Object)(b4xcolortemplate.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 154;BA.debugLine="AlphaBar.cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 155;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 156;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,51); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xcolortemplate","base_resize", __ref, _width, _height);} +RemoteObject _r = RemoteObject.createImmutable(0); +RemoteObject _w = RemoteObject.createImmutable(0); +RemoteObject _cpp = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +int _i = 0; +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 51;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="ColorScale = Max(1, Max(Width, Height) / 100 / De"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_colorscale" /*RemoteObject*/ ,BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {b4xcolortemplate.__c.runMethod(true,"Max",(Object)(_width),(Object)(_height)),RemoteObject.createImmutable(100),__ref.getField(true,"_devicescale" /*RemoteObject*/ )}, "//",0, 0))))); + BA.debugLineNum = 54;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "-",1, 0)))); + BA.debugLineNum = 55;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getLeft"),b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))}, "++",2, 1);Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 56;BA.debugLine="Dim w As Int = Width - r - 1dip"; +Debug.JustUpdateDeviceLine(); +_w = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,_r,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))}, "--",2, 0));Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 57;BA.debugLine="If xui.IsB4i Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i").get().booleanValue()) { + BA.debugLineNum = 58;BA.debugLine="r = r - 1"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.solve(new RemoteObject[] {_r,RemoteObject.createImmutable(1)}, "-",1, 1);Debug.locals.put("r", _r); + BA.debugLineNum = 59;BA.debugLine="w = w + 1"; +Debug.JustUpdateDeviceLine(); +_w = RemoteObject.solve(new RemoteObject[] {_w,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("w", _w); + }; + BA.debugLineNum = 61;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(_r),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 31)))}, "-",1, 0))),(Object)(_w),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30))))); + BA.debugLineNum = 62;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(_r),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(_w),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3))),__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "--",2, 0)))); + BA.debugLineNum = 63;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bccolors" /*RemoteObject*/ ).runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(true,"_colorscale" /*RemoteObject*/ )}, "/",0, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_colorscale" /*RemoteObject*/ )}, "/",0, 0)))); + BA.debugLineNum = 64;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group12 = RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_huebar" /*RemoteObject*/ )),(__ref.getField(false,"_colorpicker" /*RemoteObject*/ )),(__ref.getField(false,"_alphabar" /*RemoteObject*/ ))}); +final int groupLen12 = group12.getField(true,"length").get() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_cpp = (group12.getArrayElement(false,RemoteObject.createImmutable(index12)));Debug.locals.put("cpp", _cpp); +Debug.locals.put("cpp", _cpp); + BA.debugLineNum = 65;BA.debugLine="For i = 0 To cpp.pnl.NumberOfViews - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step13 = 1; +final int limit13 = RemoteObject.solve(new RemoteObject[] {_cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getNumberOfViews"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step13 > 0 && _i <= limit13) || (step13 < 0 && _i >= limit13) ;_i = ((int)(0 + _i + step13)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 66;BA.debugLine="cpp.pnl.GetView(i).SetLayoutAnimated(0, 0, 0, c"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, _i))).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(_cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 68;BA.debugLine="cpp.cvs.Resize(cpp.pnl.Width, cpp.pnl.Height)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(float.class, _cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 69;BA.debugLine="If cpp.DrawCheckers Then"; +Debug.JustUpdateDeviceLine(); +if (_cpp.getField(true,"DrawCheckers" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 70;BA.debugLine="DrawCheckers(cpp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_drawcheckers" /*RemoteObject*/ ,(Object)(_cpp)); + }; + } +}Debug.locals.put("cpp", _cpp); +; + BA.debugLineNum = 73;BA.debugLine="DrawHueBar"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_drawhuebar" /*RemoteObject*/ ); + BA.debugLineNum = 74;BA.debugLine="DrawAlphaBar"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_drawalphabar" /*RemoteObject*/ ); + BA.debugLineNum = 75;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_huebarselectedchanged" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedh" /*RemoteObject*/ ),RemoteObject.createImmutable(360),__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/*",0, 0)))); + BA.debugLineNum = 76;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_alphabarselectedchange" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedalpha" /*RemoteObject*/ ),RemoteObject.createImmutable(255),__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/*",0, 0)))); + BA.debugLineNum = 77;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xcolortemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xcolortemplate._mbase); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +b4xcolortemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xcolortemplate._xui); + //BA.debugLineNum = 4;BA.debugLine="Private SelectedAlpha As Int = 255"; +b4xcolortemplate._selectedalpha = BA.numberCast(int.class, 255);__ref.setField("_selectedalpha",b4xcolortemplate._selectedalpha); + //BA.debugLineNum = 5;BA.debugLine="Private bcColors As BitmapCreator"; +b4xcolortemplate._bccolors = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_bccolors",b4xcolortemplate._bccolors); + //BA.debugLineNum = 6;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; +b4xcolortemplate._selectedh = BA.numberCast(float.class, 60);__ref.setField("_selectedh",b4xcolortemplate._selectedh); +b4xcolortemplate._selecteds = BA.numberCast(float.class, 0.5);__ref.setField("_selecteds",b4xcolortemplate._selecteds); +b4xcolortemplate._selectedv = BA.numberCast(float.class, 0.5);__ref.setField("_selectedv",b4xcolortemplate._selectedv); + //BA.debugLineNum = 7;BA.debugLine="Private DeviceScale, ColorScale As Float"; +b4xcolortemplate._devicescale = RemoteObject.createImmutable(0f);__ref.setField("_devicescale",b4xcolortemplate._devicescale); +b4xcolortemplate._colorscale = RemoteObject.createImmutable(0f);__ref.setField("_colorscale",b4xcolortemplate._colorscale); + //BA.debugLineNum = 8;BA.debugLine="Private tempBC As BitmapCreator"; +b4xcolortemplate._tempbc = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_tempbc",b4xcolortemplate._tempbc); + //BA.debugLineNum = 9;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; +b4xcolortemplate._dont_change = BA.numberCast(int.class, -(double) (0 + 999999999));__ref.setField("_dont_change",b4xcolortemplate._dont_change); + //BA.debugLineNum = 10;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; +; + //BA.debugLineNum = 11;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; +b4xcolortemplate._huebar = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart");__ref.setField("_huebar",b4xcolortemplate._huebar); +b4xcolortemplate._colorpicker = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart");__ref.setField("_colorpicker",b4xcolortemplate._colorpicker); +b4xcolortemplate._alphabar = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart");__ref.setField("_alphabar",b4xcolortemplate._alphabar); + //BA.debugLineNum = 12;BA.debugLine="Private BordersColor As Int"; +b4xcolortemplate._borderscolor = RemoteObject.createImmutable(0);__ref.setField("_borderscolor",b4xcolortemplate._borderscolor); + //BA.debugLineNum = 13;BA.debugLine="Private xDialog As B4XDialog"; +b4xcolortemplate._xdialog = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xdialog");__ref.setField("_xdialog",b4xcolortemplate._xdialog); + //BA.debugLineNum = 14;BA.debugLine="Private InitialColor() As Object"; +b4xcolortemplate._initialcolor = RemoteObject.createNewArray ("Object", new int[] {0}, new Object[]{});__ref.setField("_initialcolor",b4xcolortemplate._initialcolor); + //BA.debugLineNum = 15;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _colors_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("Colors_Touch (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,253); +if (RapidSub.canDelegate("colors_touch")) { return __ref.runUserSub(false, "b4xcolortemplate","colors_touch", __ref, _action, _x, _y);} +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 253;BA.debugLine="Private Sub Colors_Touch (Action As Int, X As Floa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 254;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE_NOTOUCH")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 255;BA.debugLine="HandleSelectedColorChanged(X, Y)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_handleselectedcolorchanged" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y))); + BA.debugLineNum = 256;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _colortohsv(RemoteObject __ref,RemoteObject _clr) throws Exception{ +try { + Debug.PushSubsStack("ColorToHSV (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,199); +if (RapidSub.canDelegate("colortohsv")) { return __ref.runUserSub(false, "b4xcolortemplate","colortohsv", __ref, _clr);} +RemoteObject _a = RemoteObject.createImmutable(0); +RemoteObject _r = RemoteObject.createImmutable(0); +RemoteObject _g = RemoteObject.createImmutable(0); +RemoteObject _b = RemoteObject.createImmutable(0); +RemoteObject _h = RemoteObject.createImmutable(0f); +RemoteObject _s = RemoteObject.createImmutable(0f); +RemoteObject _v = RemoteObject.createImmutable(0f); +RemoteObject _cmax = RemoteObject.createImmutable(0); +RemoteObject _cmin = RemoteObject.createImmutable(0); +RemoteObject _rc = RemoteObject.createImmutable(0f); +RemoteObject _gc = RemoteObject.createImmutable(0f); +RemoteObject _bc = RemoteObject.createImmutable(0f); +Debug.locals.put("clr", _clr); + BA.debugLineNum = 199;BA.debugLine="Public Sub ColorToHSV(clr As Int) As Object()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 200;BA.debugLine="Dim a As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +Debug.JustUpdateDeviceLine(); +_a = b4xcolortemplate.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xff))),(Object)(b4xcolortemplate.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(_clr),(Object)(BA.numberCast(int.class, 24)))));Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 201;BA.debugLine="Dim r As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +Debug.JustUpdateDeviceLine(); +_r = b4xcolortemplate.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xff))),(Object)(b4xcolortemplate.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(_clr),(Object)(BA.numberCast(int.class, 16)))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 202;BA.debugLine="Dim g As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +Debug.JustUpdateDeviceLine(); +_g = b4xcolortemplate.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xff))),(Object)(b4xcolortemplate.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(_clr),(Object)(BA.numberCast(int.class, 8)))));Debug.locals.put("g", _g);Debug.locals.put("g", _g); + BA.debugLineNum = 203;BA.debugLine="Dim b As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +Debug.JustUpdateDeviceLine(); +_b = b4xcolortemplate.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xff))),(Object)(b4xcolortemplate.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(_clr),(Object)(BA.numberCast(int.class, 0)))));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 204;BA.debugLine="Dim h, s, v As Float"; +Debug.JustUpdateDeviceLine(); +_h = RemoteObject.createImmutable(0f);Debug.locals.put("h", _h); +_s = RemoteObject.createImmutable(0f);Debug.locals.put("s", _s); +_v = RemoteObject.createImmutable(0f);Debug.locals.put("v", _v); + BA.debugLineNum = 205;BA.debugLine="Dim cmax As Int = Max(Max(r, g), b)"; +Debug.JustUpdateDeviceLine(); +_cmax = BA.numberCast(int.class, b4xcolortemplate.__c.runMethod(true,"Max",(Object)(b4xcolortemplate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, _r)),(Object)(BA.numberCast(double.class, _g)))),(Object)(BA.numberCast(double.class, _b))));Debug.locals.put("cmax", _cmax);Debug.locals.put("cmax", _cmax); + BA.debugLineNum = 206;BA.debugLine="Dim cmin As Int = Min(Min(r, g), b)"; +Debug.JustUpdateDeviceLine(); +_cmin = BA.numberCast(int.class, b4xcolortemplate.__c.runMethod(true,"Min",(Object)(b4xcolortemplate.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, _r)),(Object)(BA.numberCast(double.class, _g)))),(Object)(BA.numberCast(double.class, _b))));Debug.locals.put("cmin", _cmin);Debug.locals.put("cmin", _cmin); + BA.debugLineNum = 207;BA.debugLine="v = cmax / 255"; +Debug.JustUpdateDeviceLine(); +_v = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cmax,RemoteObject.createImmutable(255)}, "/",0, 0));Debug.locals.put("v", _v); + BA.debugLineNum = 208;BA.debugLine="If cmax <> 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_cmax,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 209;BA.debugLine="s = (cmax - cmin) / cmax"; +Debug.JustUpdateDeviceLine(); +_s = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_cmax,_cmin}, "-",1, 1)),_cmax}, "/",0, 0));Debug.locals.put("s", _s); + }; + BA.debugLineNum = 211;BA.debugLine="If s = 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_s,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 212;BA.debugLine="h = 0"; +Debug.JustUpdateDeviceLine(); +_h = BA.numberCast(float.class, 0);Debug.locals.put("h", _h); + }else { + BA.debugLineNum = 214;BA.debugLine="Dim rc As Float = (cmax - r) / (cmax - cmin)"; +Debug.JustUpdateDeviceLine(); +_rc = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_cmax,_r}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_cmax,_cmin}, "-",1, 1))}, "/",0, 0));Debug.locals.put("rc", _rc);Debug.locals.put("rc", _rc); + BA.debugLineNum = 215;BA.debugLine="Dim gc As Float = (cmax - g) / (cmax - cmin)"; +Debug.JustUpdateDeviceLine(); +_gc = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_cmax,_g}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_cmax,_cmin}, "-",1, 1))}, "/",0, 0));Debug.locals.put("gc", _gc);Debug.locals.put("gc", _gc); + BA.debugLineNum = 216;BA.debugLine="Dim bc As Float = (cmax - b) / (cmax - cmin)"; +Debug.JustUpdateDeviceLine(); +_bc = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_cmax,_b}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_cmax,_cmin}, "-",1, 1))}, "/",0, 0));Debug.locals.put("bc", _bc);Debug.locals.put("bc", _bc); + BA.debugLineNum = 217;BA.debugLine="If r = cmax Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_r,BA.numberCast(double.class, _cmax))) { + BA.debugLineNum = 218;BA.debugLine="h = bc - gc"; +Debug.JustUpdateDeviceLine(); +_h = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_bc,_gc}, "-",1, 0));Debug.locals.put("h", _h); + }else +{ BA.debugLineNum = 219;BA.debugLine="Else If g = cmax Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_g,BA.numberCast(double.class, _cmax))) { + BA.debugLineNum = 220;BA.debugLine="h = 2 + rc - bc"; +Debug.JustUpdateDeviceLine(); +_h = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_rc,_bc}, "+-",2, 0));Debug.locals.put("h", _h); + }else { + BA.debugLineNum = 222;BA.debugLine="h = 4 + gc - rc"; +Debug.JustUpdateDeviceLine(); +_h = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(4),_gc,_rc}, "+-",2, 0));Debug.locals.put("h", _h); + }} +; + BA.debugLineNum = 224;BA.debugLine="h = h / 6"; +Debug.JustUpdateDeviceLine(); +_h = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_h,RemoteObject.createImmutable(6)}, "/",0, 0));Debug.locals.put("h", _h); + BA.debugLineNum = 225;BA.debugLine="If h < 0 Then h = h + 1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_h,BA.numberCast(double.class, 0))) { +_h = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_h,RemoteObject.createImmutable(1)}, "+",1, 0));Debug.locals.put("h", _h);}; + }; + BA.debugLineNum = 227;BA.debugLine="Return Array (h * 360, s, v, a)"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(RemoteObject.solve(new RemoteObject[] {_h,RemoteObject.createImmutable(360)}, "*",0, 0)),(_s),(_v),(_a)}); + BA.debugLineNum = 228;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createpanelforbitmapcreator(RemoteObject __ref,RemoteObject _eventname,RemoteObject _withcheckers) throws Exception{ +try { + Debug.PushSubsStack("CreatePanelForBitmapCreator (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("createpanelforbitmapcreator")) { return __ref.runUserSub(false, "b4xcolortemplate","createpanelforbitmapcreator", __ref, _eventname, _withcheckers);} +RemoteObject _cpp = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +RemoteObject _overlay = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("EventName", _eventname); +Debug.locals.put("WithCheckers", _withcheckers); + BA.debugLineNum = 30;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 31;BA.debugLine="Dim cpp As ColorPickerPart"; +Debug.JustUpdateDeviceLine(); +_cpp = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart");Debug.locals.put("cpp", _cpp); + BA.debugLineNum = 32;BA.debugLine="cpp.Initialize"; +Debug.JustUpdateDeviceLine(); +_cpp.runVoidMethod ("Initialize"); + BA.debugLineNum = 33;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_cpp.setField ("pnl" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")))); + BA.debugLineNum = 34;BA.debugLine="cpp.pnl.SetColorAndBorder(BordersColor, 1dip, Bor"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(true,"_borderscolor" /*RemoteObject*/ )),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(__ref.getField(true,"_borderscolor" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 35;BA.debugLine="cpp.pnl.SetLayoutAnimated(0, 1dip, 1dip, 1dip, 1d"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1))))); + BA.debugLineNum = 36;BA.debugLine="If WithCheckers Then"; +Debug.JustUpdateDeviceLine(); +if (_withcheckers.get().booleanValue()) { + BA.debugLineNum = 37;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_cpp.getField(false,"pnl" /*RemoteObject*/ ))); + BA.debugLineNum = 38;BA.debugLine="cpp.DrawCheckers = True"; +Debug.JustUpdateDeviceLine(); +_cpp.setField ("DrawCheckers" /*RemoteObject*/ ,b4xcolortemplate.__c.getField(true,"True")); + }; + BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iv", _iv); + BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 42;BA.debugLine="cpp.iv = iv"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"iv" /*RemoteObject*/ ).setObject (_iv.getObject()); + BA.debugLineNum = 43;BA.debugLine="Dim overlay As B4XView = xui.CreatePanel(EventNam"; +Debug.JustUpdateDeviceLine(); +_overlay = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_overlay = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(_eventname));Debug.locals.put("overlay", _overlay);Debug.locals.put("overlay", _overlay); + BA.debugLineNum = 44;BA.debugLine="cpp.pnl.AddView(iv, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_iv.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 45;BA.debugLine="cpp.pnl.AddView(overlay, 1dip, 1dip, 1dip, 1dip)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_overlay.getObject())),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1))))); + BA.debugLineNum = 46;BA.debugLine="cpp.cvs.Initialize(overlay)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_overlay)); + BA.debugLineNum = 47;BA.debugLine="mBase.AddView(cpp.pnl, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_cpp.getField(false,"pnl" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 48;BA.debugLine="Return cpp"; +Debug.JustUpdateDeviceLine(); +if (true) return _cpp; + BA.debugLineNum = 49;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,241); +if (RapidSub.canDelegate("dialogclosed")) { return __ref.runUserSub(false, "b4xcolortemplate","dialogclosed", __ref, _result);} +Debug.locals.put("Result", _result); + BA.debugLineNum = 241;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 242;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_result,BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")))) { + BA.debugLineNum = 243;BA.debugLine="setSelectedHSVColor(InitialColor)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_setselectedhsvcolor" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_initialcolor" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 245;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawalphabar(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DrawAlphaBar (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,109); +if (RapidSub.canDelegate("drawalphabar")) { return __ref.runUserSub(false, "b4xcolortemplate","drawalphabar", __ref);} +RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +RemoteObject _argb = RemoteObject.declareNull("b4a.example.bitmapcreator._argbcolor"); +int _y = 0; +int _x = 0; + BA.debugLineNum = 109;BA.debugLine="Private Sub DrawAlphaBar"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 110;BA.debugLine="Dim bc As BitmapCreator"; +Debug.JustUpdateDeviceLine(); +_bc = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("bc", _bc); + BA.debugLineNum = 111;BA.debugLine="bc.Initialize(AlphaBar.pnl.Width / DeviceScale, A"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(true,"_devicescale" /*RemoteObject*/ )}, "/",0, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_devicescale" /*RemoteObject*/ )}, "/",0, 0)))); + BA.debugLineNum = 112;BA.debugLine="Dim argb As ARGBColor"; +Debug.JustUpdateDeviceLine(); +_argb = RemoteObject.createNew ("b4a.example.bitmapcreator._argbcolor");Debug.locals.put("argb", _argb); + BA.debugLineNum = 113;BA.debugLine="argb.r = 0xcc"; +Debug.JustUpdateDeviceLine(); +_argb.setField ("r",BA.numberCast(int.class, ((int)0xcc))); + BA.debugLineNum = 114;BA.debugLine="argb.g = 0xcc"; +Debug.JustUpdateDeviceLine(); +_argb.setField ("g",BA.numberCast(int.class, ((int)0xcc))); + BA.debugLineNum = 115;BA.debugLine="argb.b = 0xcc"; +Debug.JustUpdateDeviceLine(); +_argb.setField ("b",BA.numberCast(int.class, ((int)0xcc))); + BA.debugLineNum = 117;BA.debugLine="For y = 0 To bc.mHeight - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mheight"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step7 > 0 && _y <= limit7) || (step7 < 0 && _y >= limit7) ;_y = ((int)(0 + _y + step7)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 118;BA.debugLine="For x = 0 To bc.mWidth - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step8 = 1; +final int limit8 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mwidth"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step8 > 0 && _x <= limit8) || (step8 < 0 && _x >= limit8) ;_x = ((int)(0 + _x + step8)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 119;BA.debugLine="argb.a = x / bc.mWidth * 255"; +Debug.JustUpdateDeviceLine(); +_argb.setField ("a",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),_bc.getField(true,"_mwidth"),RemoteObject.createImmutable(255)}, "/*",0, 0))); + BA.debugLineNum = 120;BA.debugLine="bc.SetARGB(x, y, argb)"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_setargb",(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_argb)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 123;BA.debugLine="AlphaBar.iv.SetBitmap(bc.Bitmap)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"iv" /*RemoteObject*/ ).runVoidMethod ("SetBitmap",(Object)((_bc.runMethod(false,"_getbitmap").getObject()))); + BA.debugLineNum = 124;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawcheckers(RemoteObject __ref,RemoteObject _cpp) throws Exception{ +try { + Debug.PushSubsStack("DrawCheckers (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,79); +if (RapidSub.canDelegate("drawcheckers")) { return __ref.runUserSub(false, "b4xcolortemplate","drawcheckers", __ref, _cpp);} +RemoteObject _size = RemoteObject.createImmutable(0); +RemoteObject _clrs = null; +RemoteObject _clr = RemoteObject.createImmutable(0); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +int _x = 0; +RemoteObject _xx = RemoteObject.createImmutable(0); +int _y = 0; +Debug.locals.put("cpp", _cpp); + BA.debugLineNum = 79;BA.debugLine="Private Sub DrawCheckers (cpp As ColorPickerPart)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 80;BA.debugLine="cpp.checkersCanvas.Resize(cpp.pnl.Width, cpp.pnl."; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(float.class, _cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 81;BA.debugLine="cpp.checkersCanvas.ClearRect(cpp.checkersCanvas.T"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 82;BA.debugLine="Dim size As Int = 10dip"; +Debug.JustUpdateDeviceLine(); +_size = b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)));Debug.locals.put("size", _size);Debug.locals.put("size", _size); + BA.debugLineNum = 83;BA.debugLine="Dim clrs() As Int = Array As Int(0xFFC0C0C0, 0xFF"; +Debug.JustUpdateDeviceLine(); +_clrs = RemoteObject.createNewArray("int",new int[] {2},new Object[] {BA.numberCast(int.class, ((int)0xffc0c0c0)),BA.numberCast(int.class, ((int)0xff757575))});Debug.locals.put("clrs", _clrs);Debug.locals.put("clrs", _clrs); + BA.debugLineNum = 84;BA.debugLine="Dim clr As Int = 0"; +Debug.JustUpdateDeviceLine(); +_clr = BA.numberCast(int.class, 0);Debug.locals.put("clr", _clr);Debug.locals.put("clr", _clr); + BA.debugLineNum = 85;BA.debugLine="Dim r As B4XRect"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("r", _r); + BA.debugLineNum = 86;BA.debugLine="For x = 0 To cpp.checkersCanvas.TargetRect.Right"; +Debug.JustUpdateDeviceLine(); +{ +final int step7 = _size.get().intValue(); +final int limit7 = (int) (0 + RemoteObject.solve(new RemoteObject[] {_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getRight"),b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))}, "-",1, 0).get().doubleValue()); +_x = 0 ; +for (;(step7 > 0 && _x <= limit7) || (step7 < 0 && _x >= limit7) ;_x = ((int)(0 + _x + step7)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 87;BA.debugLine="Dim xx As Int = x / size"; +Debug.JustUpdateDeviceLine(); +_xx = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),_size}, "/",0, 0));Debug.locals.put("xx", _xx);Debug.locals.put("xx", _xx); + BA.debugLineNum = 88;BA.debugLine="clr = xx Mod 2"; +Debug.JustUpdateDeviceLine(); +_clr = RemoteObject.solve(new RemoteObject[] {_xx,RemoteObject.createImmutable(2)}, "%",0, 1);Debug.locals.put("clr", _clr); + BA.debugLineNum = 89;BA.debugLine="For y = 0 To cpp.checkersCanvas.TargetRect.Botto"; +Debug.JustUpdateDeviceLine(); +{ +final int step10 = _size.get().intValue(); +final int limit10 = (int) (0 + RemoteObject.solve(new RemoteObject[] {_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getBottom"),b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))}, "-",1, 0).get().doubleValue()); +_y = 0 ; +for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 90;BA.debugLine="clr = (clr + 1) Mod 2"; +Debug.JustUpdateDeviceLine(); +_clr = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_clr,RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(2)}, "%",0, 1);Debug.locals.put("clr", _clr); + BA.debugLineNum = 91;BA.debugLine="r.Initialize(x, y, x + size, y + size)"; +Debug.JustUpdateDeviceLine(); +_r.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, _x)),(Object)(BA.numberCast(float.class, _y)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),_size}, "+",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_size}, "+",1, 1)))); + BA.debugLineNum = 92;BA.debugLine="cpp.checkersCanvas.DrawRect(r, clrs(clr), True,"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runVoidMethod ("DrawRect",(Object)(_r),(Object)(_clrs.getArrayElement(true,_clr)),(Object)(b4xcolortemplate.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + } +}Debug.locals.put("y", _y); +; + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 95;BA.debugLine="cpp.checkersCanvas.Invalidate"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawcolors(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DrawColors (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,126); +if (RapidSub.canDelegate("drawcolors")) { return __ref.runUserSub(false, "b4xcolortemplate","drawcolors", __ref);} +int _x = 0; +int _y = 0; + BA.debugLineNum = 126;BA.debugLine="Private Sub DrawColors"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 127;BA.debugLine="For x = 0 To bcColors.mWidth - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step1 = 1; +final int limit1 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bccolors" /*RemoteObject*/ ).getField(true,"_mwidth"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step1 > 0 && _x <= limit1) || (step1 < 0 && _x >= limit1) ;_x = ((int)(0 + _x + step1)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 128;BA.debugLine="For y = 0 To bcColors.mHeight - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step2 = 1; +final int limit2 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bccolors" /*RemoteObject*/ ).getField(true,"_mheight"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step2 > 0 && _y <= limit2) || (step2 < 0 && _y >= limit2) ;_y = ((int)(0 + _y + step2)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 129;BA.debugLine="bcColors.SetHSV(x, y, SelectedAlpha, selectedH,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bccolors" /*RemoteObject*/ ).runVoidMethod ("_sethsv",(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(__ref.getField(true,"_selectedalpha" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, __ref.getField(true,"_selectedh" /*RemoteObject*/ ))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),__ref.getField(false,"_bccolors" /*RemoteObject*/ ).getField(true,"_mwidth")}, "/",0, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bccolors" /*RemoteObject*/ ).getField(true,"_mheight"),RemoteObject.createImmutable(_y)}, "-",1, 1)),__ref.getField(false,"_bccolors" /*RemoteObject*/ ).getField(true,"_mheight")}, "/",0, 0)))); + } +}Debug.locals.put("y", _y); +; + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 133;BA.debugLine="ColorPicker.iv.SetBitmap(bcColors.Bitmap.Resize(C"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"iv" /*RemoteObject*/ ).runVoidMethod ("SetBitmap",(Object)((__ref.getField(false,"_bccolors" /*RemoteObject*/ ).runMethod(false,"_getbitmap").runMethod(false,"Resize",(Object)(__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"iv" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"iv" /*RemoteObject*/ ).runMethod(true,"getHeight")),(Object)(b4xcolortemplate.__c.getField(true,"False"))).getObject()))); + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawhuebar(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DrawHueBar (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("drawhuebar")) { return __ref.runUserSub(false, "b4xcolortemplate","drawhuebar", __ref);} +RemoteObject _bchue = RemoteObject.declareNull("b4a.example.bitmapcreator"); +int _y = 0; +int _x = 0; + BA.debugLineNum = 98;BA.debugLine="Private Sub DrawHueBar"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 99;BA.debugLine="Dim bcHue As BitmapCreator"; +Debug.JustUpdateDeviceLine(); +_bchue = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("bcHue", _bchue); + BA.debugLineNum = 100;BA.debugLine="bcHue.Initialize(HueBar.pnl.Width / DeviceScale,"; +Debug.JustUpdateDeviceLine(); +_bchue.runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(true,"_devicescale" /*RemoteObject*/ )}, "/",0, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_devicescale" /*RemoteObject*/ )}, "/",0, 0)))); + BA.debugLineNum = 101;BA.debugLine="For y = 0 To bcHue.mHeight - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_bchue.getField(true,"_mheight"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step3 > 0 && _y <= limit3) || (step3 < 0 && _y >= limit3) ;_y = ((int)(0 + _y + step3)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 102;BA.debugLine="For x = 0 To bcHue.mWidth - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_bchue.getField(true,"_mwidth"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step4 > 0 && _x <= limit4) || (step4 < 0 && _x >= limit4) ;_x = ((int)(0 + _x + step4)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 103;BA.debugLine="bcHue.SetHSV(x, y, 255, 360 / bcHue.mHeight * y"; +Debug.JustUpdateDeviceLine(); +_bchue.runVoidMethod ("_sethsv",(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(360),_bchue.getField(true,"_mheight"),RemoteObject.createImmutable(_y)}, "/*",0, 0))),(Object)(BA.numberCast(float.class, 1)),(Object)(BA.numberCast(float.class, 1))); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 106;BA.debugLine="HueBar.iv.SetBitmap(bcHue.Bitmap)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"iv" /*RemoteObject*/ ).runVoidMethod ("SetBitmap",(Object)((_bchue.runMethod(false,"_getbitmap").getObject()))); + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,230); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "b4xcolortemplate","getpanel", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 230;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 231;BA.debugLine="Return mBase"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbase" /*RemoteObject*/ ); + BA.debugLineNum = 232;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getselectedcolor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSelectedColor (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,175); +if (RapidSub.canDelegate("getselectedcolor")) { return __ref.runUserSub(false, "b4xcolortemplate","getselectedcolor", __ref);} +RemoteObject _hsv = null; + BA.debugLineNum = 175;BA.debugLine="Public Sub getSelectedColor As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 176;BA.debugLine="Dim hsv() As Object = getSelectedHSVColor"; +Debug.JustUpdateDeviceLine(); +_hsv = __ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_getselectedhsvcolor" /*RemoteObject*/ );Debug.locals.put("hsv", _hsv);Debug.locals.put("hsv", _hsv); + BA.debugLineNum = 177;BA.debugLine="tempBC.SetHSV(0, 0, SelectedAlpha, hsv(0), hsv(1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_tempbc" /*RemoteObject*/ ).runVoidMethod ("_sethsv",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_selectedalpha" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 0)))),(Object)(BA.numberCast(float.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 1)))),(Object)(BA.numberCast(float.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 2))))); + BA.debugLineNum = 178;BA.debugLine="Return tempBC.GetColor(0, 0)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_tempbc" /*RemoteObject*/ ).runMethod(true,"_getcolor",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 179;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getselectedhsvcolor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSelectedHSVColor (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,186); +if (RapidSub.canDelegate("getselectedhsvcolor")) { return __ref.runUserSub(false, "b4xcolortemplate","getselectedhsvcolor", __ref);} + BA.debugLineNum = 186;BA.debugLine="Public Sub getSelectedHSVColor As Object()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 187;BA.debugLine="Return Array (selectedH, selectedS, selectedV, Se"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(true,"_selectedh" /*RemoteObject*/ )),(__ref.getField(true,"_selecteds" /*RemoteObject*/ )),(__ref.getField(true,"_selectedv" /*RemoteObject*/ )),(__ref.getField(true,"_selectedalpha" /*RemoteObject*/ ))}); + BA.debugLineNum = 188;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _handleselectedcolorchanged(RemoteObject __ref,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("HandleSelectedColorChanged (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,163); +if (RapidSub.canDelegate("handleselectedcolorchanged")) { return __ref.runUserSub(false, "b4xcolortemplate","handleselectedcolorchanged", __ref, _x, _y);} +Debug.locals.put("x", _x); +Debug.locals.put("y", _y); + BA.debugLineNum = 163;BA.debugLine="Private Sub HandleSelectedColorChanged (x As Int,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 164;BA.debugLine="If x <> DONT_CHANGE Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_x,BA.numberCast(double.class, __ref.getField(true,"_dont_change" /*RemoteObject*/ )))) { + BA.debugLineNum = 165;BA.debugLine="selectedS = Max(0, Min(1, x / ColorPicker.pnl.Wi"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteds" /*RemoteObject*/ ,BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_x,__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/",0, 0))))))); + BA.debugLineNum = 166;BA.debugLine="selectedV = Max(0, Min(1, (ColorPicker.pnl.Heigh"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedv" /*RemoteObject*/ ,BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"),_y}, "-",1, 1)),__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/",0, 0))))))); + }; + BA.debugLineNum = 168;BA.debugLine="ColorPicker.cvs.ClearRect(ColorPicker.cvs.TargetR"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 169;BA.debugLine="ColorPicker.cvs.DrawCircle(selectedS * ColorPicke"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selecteds" /*RemoteObject*/ ),__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "*",0, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_selectedv" /*RemoteObject*/ ),__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "-*",1, 0))),(Object)(BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10))))),(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White")),(Object)(b4xcolortemplate.__c.getField(true,"False")),(Object)(BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 171;BA.debugLine="ColorPicker.cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 172;BA.debugLine="UpdateBarColor"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_updatebarcolor" /*RemoteObject*/ ); + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _huebar_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("HueBar_Touch (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,258); +if (RapidSub.canDelegate("huebar_touch")) { return __ref.runUserSub(false, "b4xcolortemplate","huebar_touch", __ref, _action, _x, _y);} +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 258;BA.debugLine="Private Sub HueBar_Touch (Action As Int, X As Floa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 259;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE_NOTOUCH")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 260;BA.debugLine="HueBarSelectedChanged(Y)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_huebarselectedchanged" /*RemoteObject*/ ,(Object)(_y)); + BA.debugLineNum = 261;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _huebarselectedchanged(RemoteObject __ref,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("HueBarSelectedChanged (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,136); +if (RapidSub.canDelegate("huebarselectedchanged")) { return __ref.runUserSub(false, "b4xcolortemplate","huebarselectedchanged", __ref, _y);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +Debug.locals.put("y", _y); + BA.debugLineNum = 136;BA.debugLine="Private Sub HueBarSelectedChanged (y As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 137;BA.debugLine="selectedH = Max(0, Min(360, 360 * y / HueBar.pnl."; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedh" /*RemoteObject*/ ,BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, 360)),(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(360),_y,__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "*/",0, 0))))))); + BA.debugLineNum = 138;BA.debugLine="y = selectedH * HueBar.pnl.Height / 360"; +Debug.JustUpdateDeviceLine(); +_y = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedh" /*RemoteObject*/ ),__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(360)}, "*/",0, 0));Debug.locals.put("y", _y); + BA.debugLineNum = 139;BA.debugLine="HueBar.cvs.ClearRect(HueBar.cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 140;BA.debugLine="Dim r As B4XRect"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("r", _r); + BA.debugLineNum = 141;BA.debugLine="r.Initialize(0, y - 3dip, HueBar.cvs.TargetRect.R"; +Debug.JustUpdateDeviceLine(); +_r.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_y,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "-",1, 0))),(Object)(__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getRight")),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_y,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "+",1, 0)))); + BA.debugLineNum = 142;BA.debugLine="HueBar.cvs.DrawRect(r, xui.Color_White, False, 2d"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("DrawRect",(Object)(_r),(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White")),(Object)(b4xcolortemplate.__c.getField(true,"False")),(Object)(BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 143;BA.debugLine="HueBar.cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 144;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 145;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,17); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xcolortemplate","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 18;BA.debugLine="tempBC.Initialize(1, 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_tempbc" /*RemoteObject*/ ).runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 19;BA.debugLine="DeviceScale = 100dip / 100"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_devicescale" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100))),RemoteObject.createImmutable(100)}, "/",0, 0))); + BA.debugLineNum = 20;BA.debugLine="mBase = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbase" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")))); + BA.debugLineNum = 21;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 250dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 250))))); + BA.debugLineNum = 22;BA.debugLine="BordersColor = xui.Color_Black"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_borderscolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black")); + BA.debugLineNum = 23;BA.debugLine="mBase.SetColorAndBorder(BordersColor, 1dip, Borde"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(true,"_borderscolor" /*RemoteObject*/ )),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(__ref.getField(true,"_borderscolor" /*RemoteObject*/ )),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 24;BA.debugLine="HueBar = CreatePanelForBitmapCreator(\"hueBar\", Fa"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_huebar" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_createpanelforbitmapcreator" /*RemoteObject*/ ,(Object)(BA.ObjectToString("hueBar")),(Object)(b4xcolortemplate.__c.getField(true,"False")))); + BA.debugLineNum = 25;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_colorpicker" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_createpanelforbitmapcreator" /*RemoteObject*/ ,(Object)(BA.ObjectToString("colors")),(Object)(b4xcolortemplate.__c.getField(true,"True")))); + BA.debugLineNum = 26;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_alphabar" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_createpanelforbitmapcreator" /*RemoteObject*/ ,(Object)(BA.ObjectToString("alpha")),(Object)(b4xcolortemplate.__c.getField(true,"True")))); + BA.debugLineNum = 27;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 28;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setselectedcolor(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("setSelectedColor (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,181); +if (RapidSub.canDelegate("setselectedcolor")) { return __ref.runUserSub(false, "b4xcolortemplate","setselectedcolor", __ref, _i);} +Debug.locals.put("i", _i); + BA.debugLineNum = 181;BA.debugLine="Public Sub setSelectedColor(i As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 182;BA.debugLine="setSelectedHSVColor(ColorToHSV(i))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_setselectedhsvcolor" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_colortohsv" /*RemoteObject*/ ,(Object)(_i)))); + BA.debugLineNum = 183;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setselectedhsvcolor(RemoteObject __ref,RemoteObject _hsv) throws Exception{ +try { + Debug.PushSubsStack("setSelectedHSVColor (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,190); +if (RapidSub.canDelegate("setselectedhsvcolor")) { return __ref.runUserSub(false, "b4xcolortemplate","setselectedhsvcolor", __ref, _hsv);} +Debug.locals.put("HSV", _hsv); + BA.debugLineNum = 190;BA.debugLine="Public Sub setSelectedHSVColor (HSV() As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 191;BA.debugLine="selectedH = HSV(0)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedh" /*RemoteObject*/ ,BA.numberCast(float.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 0)))); + BA.debugLineNum = 192;BA.debugLine="selectedS = HSV(1)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteds" /*RemoteObject*/ ,BA.numberCast(float.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 1)))); + BA.debugLineNum = 193;BA.debugLine="selectedV = HSV(2)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedv" /*RemoteObject*/ ,BA.numberCast(float.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 2)))); + BA.debugLineNum = 194;BA.debugLine="SelectedAlpha = HSV(3)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedalpha" /*RemoteObject*/ ,BA.numberCast(int.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 3)))); + BA.debugLineNum = 195;BA.debugLine="HueBarSelectedChanged(selectedH / 360 * HueBar.pn"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_huebarselectedchanged" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedh" /*RemoteObject*/ ),RemoteObject.createImmutable(360),__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/*",0, 0)))); + BA.debugLineNum = 196;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_alphabarselectedchange" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedalpha" /*RemoteObject*/ ),RemoteObject.createImmutable(255),__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/*",0, 0)))); + BA.debugLineNum = 197;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,234); +if (RapidSub.canDelegate("show")) { __ref.runUserSub(false, "b4xcolortemplate","show", __ref, _dialog); return;} +ResumableSub_Show rsub = new ResumableSub_Show(null,__ref,_dialog); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xcolortemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xcolortemplate parent; +RemoteObject _dialog; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,234); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 235;BA.debugLine="InitialColor = getSelectedHSVColor"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_initialcolor" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_getselectedhsvcolor" /*RemoteObject*/ )); + BA.debugLineNum = 236;BA.debugLine="xDialog = Dialog"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_xdialog" /*RemoteObject*/ ,_dialog); + BA.debugLineNum = 237;BA.debugLine="Sleep(0)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xcolortemplate", "show"),BA.numberCast(int.class, 0)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; + BA.debugLineNum = 238;BA.debugLine="UpdateBarColor"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_updatebarcolor" /*RemoteObject*/ ); + BA.debugLineNum = 239;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,158); +if (RapidSub.canDelegate("update")) { return __ref.runUserSub(false, "b4xcolortemplate","update", __ref);} + BA.debugLineNum = 158;BA.debugLine="Private Sub Update"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 159;BA.debugLine="DrawColors"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_drawcolors" /*RemoteObject*/ ); + BA.debugLineNum = 160;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_handleselectedcolorchanged" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_dont_change" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_dont_change" /*RemoteObject*/ ))); + BA.debugLineNum = 161;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updatebarcolor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateBarColor (b4xcolortemplate) ","b4xcolortemplate",51,__ref.getField(false, "ba"),__ref,247); +if (RapidSub.canDelegate("updatebarcolor")) { return __ref.runUserSub(false, "b4xcolortemplate","updatebarcolor", __ref);} + BA.debugLineNum = 247;BA.debugLine="Private Sub UpdateBarColor"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 248;BA.debugLine="If xDialog.IsInitialized And xDialog.TitleBar.IsI"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",__ref.getField(false,"_xdialog" /*RemoteObject*/ ).getField(false,"_titlebar" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 249;BA.debugLine="xDialog.TitleBar.Color = getSelectedColor"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).getField(false,"_titlebar" /*RemoteObject*/ ).runMethod(true,"setColor",__ref.runClassMethod (gunav2.keymon.com.mx.b4xcolortemplate.class, "_getselectedcolor" /*RemoteObject*/ )); + }; + BA.debugLineNum = 251;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcombobox.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcombobox.java new file mode 100644 index 0000000..c3fcff8 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcombobox.java @@ -0,0 +1,40 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xcombobox { + public static RemoteObject myClass; + public b4xcombobox() { + } + public static PCBA staticBA = new PCBA(null, b4xcombobox.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _lastselectedindex = RemoteObject.createImmutable(0); +public static RemoteObject _cmbbox = RemoteObject.declareNull("anywheresoftware.b4a.objects.SpinnerWrapper"); +public static RemoteObject _delaybeforechangeevent = RemoteObject.createImmutable(0); +public static RemoteObject _delayindex = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _b4icancelbutton = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"B4iCancelButton",_ref.getField(false, "_b4icancelbutton"),"cmbBox",_ref.getField(false, "_cmbbox"),"DateUtils",_ref.getField(false, "_dateutils"),"DelayBeforeChangeEvent",_ref.getField(false, "_delaybeforechangeevent"),"DelayIndex",_ref.getField(false, "_delayindex"),"LastSelectedIndex",_ref.getField(false, "_lastselectedindex"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcombobox_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcombobox_subs_0.java new file mode 100644 index 0000000..98f5c5c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcombobox_subs_0.java @@ -0,0 +1,465 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcombobox_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,55); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xcombobox","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 55;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 56;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; +b4xcombobox._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xcombobox._meventname); + //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xcombobox._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xcombobox._mcallback); + //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; +b4xcombobox._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xcombobox._mbase); + //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; +b4xcombobox._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xcombobox._xui); + //BA.debugLineNum = 7;BA.debugLine="Private LastSelectedIndex As Int"; +b4xcombobox._lastselectedindex = RemoteObject.createImmutable(0);__ref.setField("_lastselectedindex",b4xcombobox._lastselectedindex); + //BA.debugLineNum = 11;BA.debugLine="Public cmbBox As Spinner"; +b4xcombobox._cmbbox = RemoteObject.createNew ("anywheresoftware.b4a.objects.SpinnerWrapper");__ref.setField("_cmbbox",b4xcombobox._cmbbox); + //BA.debugLineNum = 17;BA.debugLine="Public DelayBeforeChangeEvent As Int"; +b4xcombobox._delaybeforechangeevent = RemoteObject.createImmutable(0);__ref.setField("_delaybeforechangeevent",b4xcombobox._delaybeforechangeevent); + //BA.debugLineNum = 19;BA.debugLine="Private DelayIndex As Int"; +b4xcombobox._delayindex = RemoteObject.createImmutable(0);__ref.setField("_delayindex",b4xcombobox._delayindex); + //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; +b4xcombobox._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xcombobox._tag); + //BA.debugLineNum = 21;BA.debugLine="Public B4iCancelButton As String = \"Cancel\""; +b4xcombobox._b4icancelbutton = BA.ObjectToString("Cancel");__ref.setField("_b4icancelbutton",b4xcombobox._b4icancelbutton); + //BA.debugLineNum = 22;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _cmbbox_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("CmbBox_ItemClick (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,157); +if (RapidSub.canDelegate("cmbbox_itemclick")) { return __ref.runUserSub(false, "b4xcombobox","cmbbox_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 157;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 158;BA.debugLine="RaiseEvent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_raiseevent" /*void*/ ); + BA.debugLineNum = 159;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4xcombobox","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 35;BA.debugLine="Dim xlbl As B4XView = Lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 42;BA.debugLine="cmbBox.Initialize(\"cmbBox\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cmbBox"))); + BA.debugLineNum = 43;BA.debugLine="cmbBox.TextSize = xlbl.TextSize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runMethod(true,"setTextSize",_xlbl.runMethod(true,"getTextSize")); + BA.debugLineNum = 44;BA.debugLine="mBase.AddView(cmbBox, 0, 0, mBase.Width, mBase.He"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_cmbbox" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 53;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getitem(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("GetItem (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,127); +if (RapidSub.canDelegate("getitem")) { return __ref.runUserSub(false, "b4xcombobox","getitem", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 127;BA.debugLine="Public Sub GetItem(Index As Int) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 131;BA.debugLine="Return cmbBox.GetItem(Index)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runMethod(true,"GetItem",(Object)(_index)); + BA.debugLineNum = 135;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getselectedindex(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSelectedIndex (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("getselectedindex")) { return __ref.runUserSub(false, "b4xcombobox","getselectedindex", __ref);} + BA.debugLineNum = 98;BA.debugLine="Public Sub getSelectedIndex As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 100;BA.debugLine="Return cmbBox.SelectedIndex"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runMethod(true,"getSelectedIndex"); + BA.debugLineNum = 104;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getselecteditem(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSelectedItem (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,121); +if (RapidSub.canDelegate("getselecteditem")) { return __ref.runUserSub(false, "b4xcombobox","getselecteditem", __ref);} +RemoteObject _i = RemoteObject.createImmutable(0); + BA.debugLineNum = 121;BA.debugLine="Public Sub getSelectedItem As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 122;BA.debugLine="Dim i As Int = getSelectedIndex"; +Debug.JustUpdateDeviceLine(); +_i = __ref.runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselectedindex" /*RemoteObject*/ );Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 123;BA.debugLine="If i = -1 Then Return \"\""; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { +if (true) return BA.ObjectToString("");}; + BA.debugLineNum = 124;BA.debugLine="Return GetItem(i)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getitem" /*RemoteObject*/ ,(Object)(_i)); + BA.debugLineNum = 125;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSize (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,76); +if (RapidSub.canDelegate("getsize")) { return __ref.runUserSub(false, "b4xcombobox","getsize", __ref);} + BA.debugLineNum = 76;BA.debugLine="Public Sub getSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 80;BA.debugLine="Return cmbBox.Size"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runMethod(true,"getSize"); + BA.debugLineNum = 84;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _indexof(RemoteObject __ref,RemoteObject _item) throws Exception{ +try { + Debug.PushSubsStack("IndexOf (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,87); +if (RapidSub.canDelegate("indexof")) { return __ref.runUserSub(false, "b4xcombobox","indexof", __ref, _item);} +Debug.locals.put("Item", _item); + BA.debugLineNum = 87;BA.debugLine="Public Sub IndexOf(Item As String) As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 91;BA.debugLine="Return cmbBox.IndexOf(Item)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_item)); + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,24); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xcombobox","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 25;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 27;BA.debugLine="LastSelectedIndex = -1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastselectedindex" /*RemoteObject*/ ,BA.numberCast(int.class, -(double) (0 + 1))); + BA.debugLineNum = 28;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J").get().booleanValue()) { +__ref.setField ("_delaybeforechangeevent" /*RemoteObject*/ ,BA.numberCast(int.class, 500));}; + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _raiseevent(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("RaiseEvent (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,137); +if (RapidSub.canDelegate("raiseevent")) { __ref.runUserSub(false, "b4xcombobox","raiseevent", __ref); return;} +ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_RaiseEvent extends BA.ResumableSub { +public ResumableSub_RaiseEvent(gunav2.keymon.com.mx.b4xcombobox parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xcombobox parent; +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _myindex = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("RaiseEvent (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,137); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 138;BA.debugLine="Dim index As Int = getSelectedIndex"; +Debug.JustUpdateDeviceLine(); +_index = __ref.runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselectedindex" /*RemoteObject*/ );Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 139;BA.debugLine="If LastSelectedIndex = index Then Return"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_lastselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, _index))) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +if (true) return ; +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 140;BA.debugLine="If DelayBeforeChangeEvent > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 7: +//if +this.state = 16; +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_delaybeforechangeevent" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 141;BA.debugLine="DelayIndex = DelayIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_delayindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_delayindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 142;BA.debugLine="Dim MyIndex As Int = DelayIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_delayindex" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 143;BA.debugLine="Sleep(DelayBeforeChangeEvent)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xcombobox", "raiseevent"),__ref.getField(true,"_delaybeforechangeevent" /*RemoteObject*/ )); +this.state = 21; +return; +case 21: +//C +this.state = 10; +; + BA.debugLineNum = 144;BA.debugLine="If MyIndex <> DelayIndex Then Return"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 10: +//if +this.state = 15; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_delayindex" /*RemoteObject*/ )))) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +if (true) return ; +if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; + +case 16: +//C +this.state = 17; +; + BA.debugLineNum = 146;BA.debugLine="LastSelectedIndex = index"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastselectedindex" /*RemoteObject*/ ,_index); + BA.debugLineNum = 147;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 17: +//if +this.state = 20; +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_SelectedIndexChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { +this.state = 19; +}if (true) break; + +case 19: +//C +this.state = 20; + BA.debugLineNum = 148;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex"; +Debug.JustUpdateDeviceLine(); +parent.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_SelectedIndexChanged"))),(Object)((_index))); + if (true) break; + +case 20: +//C +this.state = -1; +; + BA.debugLineNum = 150;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _setitems(RemoteObject __ref,RemoteObject _items) throws Exception{ +try { + Debug.PushSubsStack("SetItems (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("setitems")) { return __ref.runUserSub(false, "b4xcombobox","setitems", __ref, _items);} +Debug.locals.put("Items", _items); + BA.debugLineNum = 59;BA.debugLine="Public Sub SetItems(Items As List)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 64;BA.debugLine="cmbBox.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 65;BA.debugLine="cmbBox.AddAll(Items)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runVoidMethod ("AddAll",(Object)(_items)); + BA.debugLineNum = 72;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_items.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setselectedindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0)));}; + BA.debugLineNum = 73;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setselectedindex(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("setSelectedIndex (b4xcombobox) ","b4xcombobox",52,__ref.getField(false, "ba"),__ref,106); +if (RapidSub.canDelegate("setselectedindex")) { return __ref.runUserSub(false, "b4xcombobox","setselectedindex", __ref, _i);} +Debug.locals.put("i", _i); + BA.debugLineNum = 106;BA.debugLine="Public Sub setSelectedIndex(i As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 107;BA.debugLine="LastSelectedIndex = i"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastselectedindex" /*RemoteObject*/ ,_i); + BA.debugLineNum = 109;BA.debugLine="cmbBox.SelectedIndex = i"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cmbbox" /*RemoteObject*/ ).runMethod(true,"setSelectedIndex",_i); + BA.debugLineNum = 118;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcomparatorsort.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcomparatorsort.java new file mode 100644 index 0000000..81cedd5 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcomparatorsort.java @@ -0,0 +1,30 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xcomparatorsort { + public static RemoteObject myClass; + public b4xcomparatorsort() { + } + public static PCBA staticBA = new PCBA(null, b4xcomparatorsort.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcomparatorsort_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcomparatorsort_subs_0.java new file mode 100644 index 0000000..716bad5 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xcomparatorsort_subs_0.java @@ -0,0 +1,181 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcomparatorsort_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,4); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xcomparatorsort","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 5;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _partition(RemoteObject __ref,RemoteObject _data,RemoteObject _startindex,RemoteObject _length,RemoteObject _pivotindex,RemoteObject _comparator) throws Exception{ +try { + Debug.PushSubsStack("Partition (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("partition")) { return __ref.runUserSub(false, "b4xcomparatorsort","partition", __ref, _data, _startindex, _length, _pivotindex, _comparator);} +RemoteObject _pivotvalue = RemoteObject.declareNull("Object"); +RemoteObject _l = RemoteObject.createImmutable(0); +int _i = 0; +Debug.locals.put("Data", _data); +Debug.locals.put("StartIndex", _startindex); +Debug.locals.put("Length", _length); +Debug.locals.put("PivotIndex", _pivotindex); +Debug.locals.put("Comparator", _comparator); + BA.debugLineNum = 30;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 31;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; +Debug.JustUpdateDeviceLine(); +_pivotvalue = _data.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_pivotindex}, "+",1, 1)));Debug.locals.put("PivotValue", _pivotvalue);Debug.locals.put("PivotValue", _pivotvalue); + BA.debugLineNum = 32;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcomparatorsort.class, "_swap" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(_pivotindex),(Object)(RemoteObject.solve(new RemoteObject[] {_length,RemoteObject.createImmutable(1)}, "-",1, 1))); + BA.debugLineNum = 33;BA.debugLine="Dim L As Int = 0"; +Debug.JustUpdateDeviceLine(); +_l = BA.numberCast(int.class, 0);Debug.locals.put("L", _l);Debug.locals.put("L", _l); + BA.debugLineNum = 34;BA.debugLine="For i = 0 To Length - 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_length,RemoteObject.createImmutable(2)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 35;BA.debugLine="If CallSub3(Comparator, \"Compare\", Data.Get(Star"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",(BA.numberCast(int.class, b4xcomparatorsort.__c.runMethodAndSync(false,"CallSubNew3",__ref.getField(false, "ba"),(Object)(_comparator),(Object)(BA.ObjectToString("Compare")),(Object)(_data.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,RemoteObject.createImmutable(_i)}, "+",1, 1)))),(Object)(_pivotvalue)))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 36;BA.debugLine="L = L + 1"; +Debug.JustUpdateDeviceLine(); +_l = RemoteObject.solve(new RemoteObject[] {_l,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("L", _l); + BA.debugLineNum = 37;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcomparatorsort.class, "_swap" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(RemoteObject.solve(new RemoteObject[] {_l,RemoteObject.createImmutable(1)}, "-",1, 1)),(Object)(BA.numberCast(int.class, _i))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 40;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcomparatorsort.class, "_swap" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(RemoteObject.solve(new RemoteObject[] {_length,RemoteObject.createImmutable(1)}, "-",1, 1)),(Object)(_l)); + BA.debugLineNum = 41;BA.debugLine="Return L"; +Debug.JustUpdateDeviceLine(); +if (true) return _l; + BA.debugLineNum = 42;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _quicksort(RemoteObject __ref,RemoteObject _data,RemoteObject _startindex,RemoteObject _length,RemoteObject _comparator) throws Exception{ +try { + Debug.PushSubsStack("QuickSort (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,21); +if (RapidSub.canDelegate("quicksort")) { return __ref.runUserSub(false, "b4xcomparatorsort","quicksort", __ref, _data, _startindex, _length, _comparator);} +RemoteObject _pivotindex = RemoteObject.createImmutable(0); +RemoteObject _r = RemoteObject.createImmutable(0); +Debug.locals.put("Data", _data); +Debug.locals.put("StartIndex", _startindex); +Debug.locals.put("Length", _length); +Debug.locals.put("Comparator", _comparator); + BA.debugLineNum = 21;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 22;BA.debugLine="If Length > 1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_length,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 23;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; +Debug.JustUpdateDeviceLine(); +_pivotindex = b4xcomparatorsort.__c.runMethod(true,"Rnd",(Object)(BA.numberCast(int.class, 0)),(Object)(_length));Debug.locals.put("PivotIndex", _pivotindex);Debug.locals.put("PivotIndex", _pivotindex); + BA.debugLineNum = 24;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; +Debug.JustUpdateDeviceLine(); +_r = __ref.runClassMethod (gunav2.keymon.com.mx.b4xcomparatorsort.class, "_partition" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(_length),(Object)(_pivotindex),(Object)(_comparator));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 25;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcomparatorsort.class, "_quicksort" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(_r),(Object)(_comparator)); + BA.debugLineNum = 26;BA.debugLine="QuickSort(Data, StartIndex + r + 1, Length - r -"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcomparatorsort.class, "_quicksort" /*RemoteObject*/ ,(Object)(_data),(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_r,RemoteObject.createImmutable(1)}, "++",2, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_length,_r,RemoteObject.createImmutable(1)}, "--",2, 1)),(Object)(_comparator)); + }; + BA.debugLineNum = 28;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sort(RemoteObject __ref,RemoteObject _data,RemoteObject _comparator) throws Exception{ +try { + Debug.PushSubsStack("Sort (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("sort")) { return __ref.runUserSub(false, "b4xcomparatorsort","sort", __ref, _data, _comparator);} +Debug.locals.put("Data", _data); +Debug.locals.put("Comparator", _comparator); + BA.debugLineNum = 12;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 14;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xcomparatorsort.class, "_quicksort" /*RemoteObject*/ ,(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.runMethod(true,"getSize")),(Object)(_comparator)); + BA.debugLineNum = 18;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _swap(RemoteObject __ref,RemoteObject _data,RemoteObject _startindex,RemoteObject _i1,RemoteObject _i2) throws Exception{ +try { + Debug.PushSubsStack("Swap (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("swap")) { return __ref.runUserSub(false, "b4xcomparatorsort","swap", __ref, _data, _startindex, _i1, _i2);} +RemoteObject _o = RemoteObject.declareNull("Object"); +Debug.locals.put("Data", _data); +Debug.locals.put("StartIndex", _startindex); +Debug.locals.put("i1", _i1); +Debug.locals.put("i2", _i2); + BA.debugLineNum = 44;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 45;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; +Debug.JustUpdateDeviceLine(); +_o = _data.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_i1}, "+",1, 1)));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 46;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; +Debug.JustUpdateDeviceLine(); +_data.runVoidMethod ("Set",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_i1}, "+",1, 1)),(Object)(_data.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_i2}, "+",1, 1))))); + BA.debugLineNum = 47;BA.debugLine="Data.Set(StartIndex + i2, o)"; +Debug.JustUpdateDeviceLine(); +_data.runVoidMethod ("Set",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_i2}, "+",1, 1)),(Object)(_o)); + BA.debugLineNum = 48;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdatetemplate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdatetemplate.java new file mode 100644 index 0000000..9bc9102 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdatetemplate.java @@ -0,0 +1,68 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xdatetemplate { + public static RemoteObject myClass; + public b4xdatetemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xdatetemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _month = RemoteObject.createImmutable(0); +public static RemoteObject _year = RemoteObject.createImmutable(0); +public static RemoteObject _boxw = RemoteObject.createImmutable(0f); +public static RemoteObject _boxh = RemoteObject.createImmutable(0f); +public static RemoteObject _vcorrection = RemoteObject.createImmutable(0f); +public static RemoteObject _tempselectedday = RemoteObject.createImmutable(0); +public static RemoteObject _dayofweekoffset = RemoteObject.createImmutable(0); +public static RemoteObject _daysinmonth = RemoteObject.createImmutable(0); +public static RemoteObject _dayspanebg = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _dayspanefg = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _cvsbackground = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _selecteddate = RemoteObject.createImmutable(0L); +public static RemoteObject _previousselecteddate = RemoteObject.createImmutable(0L); +public static RemoteObject _selectedyear = RemoteObject.createImmutable(0); +public static RemoteObject _selectedmonth = RemoteObject.createImmutable(0); +public static RemoteObject _selectedday = RemoteObject.createImmutable(0); +public static RemoteObject _highlightedcolor = RemoteObject.createImmutable(0); +public static RemoteObject _selectedcolor = RemoteObject.createImmutable(0); +public static RemoteObject _daysinmonthcolor = RemoteObject.createImmutable(0); +public static RemoteObject _daysinweekcolor = RemoteObject.createImmutable(0); +public static RemoteObject _cvsdays = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _daystitlespane = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _firstday = RemoteObject.createImmutable(0); +public static RemoteObject _minyear = RemoteObject.createImmutable(0); +public static RemoteObject _maxyear = RemoteObject.createImmutable(0); +public static RemoteObject _btnmonthleft = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _btnmonthright = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _btnyearleft = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _btnyearright = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblmonth = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblyear = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _pnldialog = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _months = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mdialog = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xdialog"); +public static RemoteObject _closeonselection = RemoteObject.createImmutable(false); +public static RemoteObject _daysofweeknames = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"boxH",_ref.getField(false, "_boxh"),"boxW",_ref.getField(false, "_boxw"),"btnMonthLeft",_ref.getField(false, "_btnmonthleft"),"btnMonthRight",_ref.getField(false, "_btnmonthright"),"btnYearLeft",_ref.getField(false, "_btnyearleft"),"btnYearRight",_ref.getField(false, "_btnyearright"),"CloseOnSelection",_ref.getField(false, "_closeonselection"),"cvs",_ref.getField(false, "_cvs"),"cvsBackground",_ref.getField(false, "_cvsbackground"),"cvsDays",_ref.getField(false, "_cvsdays"),"DateUtils",_ref.getField(false, "_dateutils"),"dayOfWeekOffset",_ref.getField(false, "_dayofweekoffset"),"daysInMonth",_ref.getField(false, "_daysinmonth"),"DaysInMonthColor",_ref.getField(false, "_daysinmonthcolor"),"DaysInWeekColor",_ref.getField(false, "_daysinweekcolor"),"DaysOfWeekNames",_ref.getField(false, "_daysofweeknames"),"DaysPaneBg",_ref.getField(false, "_dayspanebg"),"DaysPaneFg",_ref.getField(false, "_dayspanefg"),"DaysTitlesPane",_ref.getField(false, "_daystitlespane"),"FirstDay",_ref.getField(false, "_firstday"),"HighlightedColor",_ref.getField(false, "_highlightedcolor"),"lblMonth",_ref.getField(false, "_lblmonth"),"lblYear",_ref.getField(false, "_lblyear"),"MaxYear",_ref.getField(false, "_maxyear"),"mDialog",_ref.getField(false, "_mdialog"),"MinYear",_ref.getField(false, "_minyear"),"month",_ref.getField(false, "_month"),"months",_ref.getField(false, "_months"),"pnlDialog",_ref.getField(false, "_pnldialog"),"PreviousSelectedDate",_ref.getField(false, "_previousselecteddate"),"SelectedColor",_ref.getField(false, "_selectedcolor"),"selectedDate",_ref.getField(false, "_selecteddate"),"selectedDay",_ref.getField(false, "_selectedday"),"selectedMonth",_ref.getField(false, "_selectedmonth"),"selectedYear",_ref.getField(false, "_selectedyear"),"tempSelectedDay",_ref.getField(false, "_tempselectedday"),"vCorrection",_ref.getField(false, "_vcorrection"),"xui",_ref.getField(false, "_xui"),"year",_ref.getField(false, "_year")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdatetemplate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdatetemplate_subs_0.java new file mode 100644 index 0000000..1970e14 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdatetemplate_subs_0.java @@ -0,0 +1,759 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xdatetemplate_subs_0 { + + +public static RemoteObject _btnmonth_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnMonth_Click (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,160); +if (RapidSub.canDelegate("btnmonth_click")) { return __ref.runUserSub(false, "b4xdatetemplate","btnmonth_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _m = RemoteObject.createImmutable(0); + BA.debugLineNum = 160;BA.debugLine="Private Sub btnMonth_Click"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 161;BA.debugLine="Dim btn As B4XView = Sender"; +Debug.JustUpdateDeviceLine(); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xdatetemplate.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 162;BA.debugLine="Dim m As Int = 12 + month - 1 + btn.Tag"; +Debug.JustUpdateDeviceLine(); +_m = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(12),__ref.getField(true,"_month" /*RemoteObject*/ ),RemoteObject.createImmutable(1),BA.numberCast(double.class, _btn.runMethod(false,"getTag"))}, "+-+",3, 0));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 163;BA.debugLine="month = (m Mod 12) + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_month" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_m,RemoteObject.createImmutable(12)}, "%",0, 1)),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 164;BA.debugLine="DrawDays"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_drawdays" /*RemoteObject*/ ); + BA.debugLineNum = 165;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnyear_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnYear_Click (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,154); +if (RapidSub.canDelegate("btnyear_click")) { return __ref.runUserSub(false, "b4xdatetemplate","btnyear_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); + BA.debugLineNum = 154;BA.debugLine="Private Sub btnYear_Click"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 155;BA.debugLine="Dim btn As B4XView = Sender"; +Debug.JustUpdateDeviceLine(); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xdatetemplate.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 156;BA.debugLine="year = year + btn.Tag"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_year" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_year" /*RemoteObject*/ ),BA.numberCast(double.class, _btn.runMethod(false,"getTag"))}, "+",1, 0))); + BA.debugLineNum = 157;BA.debugLine="DrawDays"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_drawdays" /*RemoteObject*/ ); + BA.debugLineNum = 158;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xdatetemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xdatetemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Private month, year As Int"; +b4xdatetemplate._month = RemoteObject.createImmutable(0);__ref.setField("_month",b4xdatetemplate._month); +b4xdatetemplate._year = RemoteObject.createImmutable(0);__ref.setField("_year",b4xdatetemplate._year); + //BA.debugLineNum = 4;BA.debugLine="Private boxW, boxH As Float"; +b4xdatetemplate._boxw = RemoteObject.createImmutable(0f);__ref.setField("_boxw",b4xdatetemplate._boxw); +b4xdatetemplate._boxh = RemoteObject.createImmutable(0f);__ref.setField("_boxh",b4xdatetemplate._boxh); + //BA.debugLineNum = 5;BA.debugLine="Private vCorrection As Float"; +b4xdatetemplate._vcorrection = RemoteObject.createImmutable(0f);__ref.setField("_vcorrection",b4xdatetemplate._vcorrection); + //BA.debugLineNum = 6;BA.debugLine="Private tempSelectedDay As Int"; +b4xdatetemplate._tempselectedday = RemoteObject.createImmutable(0);__ref.setField("_tempselectedday",b4xdatetemplate._tempselectedday); + //BA.debugLineNum = 7;BA.debugLine="Private dayOfWeekOffset As Int"; +b4xdatetemplate._dayofweekoffset = RemoteObject.createImmutable(0);__ref.setField("_dayofweekoffset",b4xdatetemplate._dayofweekoffset); + //BA.debugLineNum = 8;BA.debugLine="Private daysInMonth As Int"; +b4xdatetemplate._daysinmonth = RemoteObject.createImmutable(0);__ref.setField("_daysinmonth",b4xdatetemplate._daysinmonth); + //BA.debugLineNum = 9;BA.debugLine="Private DaysPaneBg As B4XView"; +b4xdatetemplate._dayspanebg = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_dayspanebg",b4xdatetemplate._dayspanebg); + //BA.debugLineNum = 10;BA.debugLine="Private DaysPaneFg As B4XView"; +b4xdatetemplate._dayspanefg = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_dayspanefg",b4xdatetemplate._dayspanefg); + //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; +b4xdatetemplate._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xdatetemplate._cvs); + //BA.debugLineNum = 12;BA.debugLine="Private cvsBackground As B4XCanvas"; +b4xdatetemplate._cvsbackground = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvsbackground",b4xdatetemplate._cvsbackground); + //BA.debugLineNum = 13;BA.debugLine="Private selectedDate As Long"; +b4xdatetemplate._selecteddate = RemoteObject.createImmutable(0L);__ref.setField("_selecteddate",b4xdatetemplate._selecteddate); + //BA.debugLineNum = 14;BA.debugLine="Private PreviousSelectedDate As Long"; +b4xdatetemplate._previousselecteddate = RemoteObject.createImmutable(0L);__ref.setField("_previousselecteddate",b4xdatetemplate._previousselecteddate); + //BA.debugLineNum = 15;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; +b4xdatetemplate._selectedyear = RemoteObject.createImmutable(0);__ref.setField("_selectedyear",b4xdatetemplate._selectedyear); +b4xdatetemplate._selectedmonth = RemoteObject.createImmutable(0);__ref.setField("_selectedmonth",b4xdatetemplate._selectedmonth); +b4xdatetemplate._selectedday = RemoteObject.createImmutable(0);__ref.setField("_selectedday",b4xdatetemplate._selectedday); + //BA.debugLineNum = 16;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; +b4xdatetemplate._highlightedcolor = BA.numberCast(int.class, ((int)0xff001bbd));__ref.setField("_highlightedcolor",b4xdatetemplate._highlightedcolor); + //BA.debugLineNum = 17;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; +b4xdatetemplate._selectedcolor = BA.numberCast(int.class, ((int)0xff0ba29b));__ref.setField("_selectedcolor",b4xdatetemplate._selectedcolor); + //BA.debugLineNum = 18;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; +b4xdatetemplate._daysinmonthcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_daysinmonthcolor",b4xdatetemplate._daysinmonthcolor); + //BA.debugLineNum = 19;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; +b4xdatetemplate._daysinweekcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Gray");__ref.setField("_daysinweekcolor",b4xdatetemplate._daysinweekcolor); + //BA.debugLineNum = 20;BA.debugLine="Private cvsDays As B4XCanvas"; +b4xdatetemplate._cvsdays = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvsdays",b4xdatetemplate._cvsdays); + //BA.debugLineNum = 21;BA.debugLine="Private DaysTitlesPane As B4XView"; +b4xdatetemplate._daystitlespane = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_daystitlespane",b4xdatetemplate._daystitlespane); + //BA.debugLineNum = 22;BA.debugLine="Public FirstDay As Int = 0"; +b4xdatetemplate._firstday = BA.numberCast(int.class, 0);__ref.setField("_firstday",b4xdatetemplate._firstday); + //BA.debugLineNum = 23;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; +b4xdatetemplate._minyear = BA.numberCast(int.class, 1970);__ref.setField("_minyear",b4xdatetemplate._minyear); +b4xdatetemplate._maxyear = BA.numberCast(int.class, 2030);__ref.setField("_maxyear",b4xdatetemplate._maxyear); + //BA.debugLineNum = 24;BA.debugLine="Public btnMonthLeft As B4XView"; +b4xdatetemplate._btnmonthleft = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_btnmonthleft",b4xdatetemplate._btnmonthleft); + //BA.debugLineNum = 25;BA.debugLine="Public btnMonthRight As B4XView"; +b4xdatetemplate._btnmonthright = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_btnmonthright",b4xdatetemplate._btnmonthright); + //BA.debugLineNum = 26;BA.debugLine="Public btnYearLeft As B4XView"; +b4xdatetemplate._btnyearleft = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_btnyearleft",b4xdatetemplate._btnyearleft); + //BA.debugLineNum = 27;BA.debugLine="Public btnYearRight As B4XView"; +b4xdatetemplate._btnyearright = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_btnyearright",b4xdatetemplate._btnyearright); + //BA.debugLineNum = 28;BA.debugLine="Public lblMonth As B4XView"; +b4xdatetemplate._lblmonth = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblmonth",b4xdatetemplate._lblmonth); + //BA.debugLineNum = 29;BA.debugLine="Public lblYear As B4XView"; +b4xdatetemplate._lblyear = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblyear",b4xdatetemplate._lblyear); + //BA.debugLineNum = 30;BA.debugLine="Private pnlDialog As B4XView"; +b4xdatetemplate._pnldialog = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnldialog",b4xdatetemplate._pnldialog); + //BA.debugLineNum = 31;BA.debugLine="Private months As List"; +b4xdatetemplate._months = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_months",b4xdatetemplate._months); + //BA.debugLineNum = 32;BA.debugLine="Private mDialog As B4XDialog"; +b4xdatetemplate._mdialog = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xdialog");__ref.setField("_mdialog",b4xdatetemplate._mdialog); + //BA.debugLineNum = 33;BA.debugLine="Public CloseOnSelection As Boolean = True"; +b4xdatetemplate._closeonselection = b4xdatetemplate.__c.getField(true,"True");__ref.setField("_closeonselection",b4xdatetemplate._closeonselection); + //BA.debugLineNum = 34;BA.debugLine="Public DaysOfWeekNames As List"; +b4xdatetemplate._daysofweeknames = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_daysofweeknames",b4xdatetemplate._daysofweeknames); + //BA.debugLineNum = 35;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _dayspanefg_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("DaysPaneFg_Touch (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,167); +if (RapidSub.canDelegate("dayspanefg_touch")) { return __ref.runUserSub(false, "b4xdatetemplate","dayspanefg_touch", __ref, _action, _x, _y);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 167;BA.debugLine="Private Sub DaysPaneFg_Touch (Action As Int, X As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 168;BA.debugLine="Dim p As B4XView = DaysPaneFg"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_dayspanefg" /*RemoteObject*/ );Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 169;BA.debugLine="HandleMouse(X, Y, Action <> p.TOUCH_ACTION_UP)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_handlemouse" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, _x)),(Object)(BA.numberCast(double.class, _y)),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("!",_action,BA.numberCast(double.class, _p.getField(true,"TOUCH_ACTION_UP")))))); + BA.debugLineNum = 170;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,193); +if (RapidSub.canDelegate("dialogclosed")) { return __ref.runUserSub(false, "b4xdatetemplate","dialogclosed", __ref, _result);} +Debug.locals.put("Result", _result); + BA.debugLineNum = 193;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 194;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_result,BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")))) { + BA.debugLineNum = 195;BA.debugLine="setDate(PreviousSelectedDate)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_setdate" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_previousselecteddate" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 197;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawbox(RemoteObject __ref,RemoteObject _c,RemoteObject _clr,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("DrawBox (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,91); +if (RapidSub.canDelegate("drawbox")) { return __ref.runUserSub(false, "b4xdatetemplate","drawbox", __ref, _c, _clr, _x, _y);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +Debug.locals.put("c", _c); +Debug.locals.put("clr", _clr); +Debug.locals.put("x", _x); +Debug.locals.put("y", _y); + BA.debugLineNum = 91;BA.debugLine="Private Sub DrawBox(c As B4XCanvas, clr As Int, x"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 92;BA.debugLine="Dim r As B4XRect"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("r", _r); + BA.debugLineNum = 93;BA.debugLine="r.Initialize(x * boxW, y * boxH, x * boxW + boxW,"; +Debug.JustUpdateDeviceLine(); +_r.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_x,__ref.getField(true,"_boxw" /*RemoteObject*/ )}, "*",0, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_y,__ref.getField(true,"_boxh" /*RemoteObject*/ )}, "*",0, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_x,__ref.getField(true,"_boxw" /*RemoteObject*/ ),__ref.getField(true,"_boxw" /*RemoteObject*/ )}, "*+",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_y,__ref.getField(true,"_boxh" /*RemoteObject*/ ),__ref.getField(true,"_boxh" /*RemoteObject*/ )}, "*+",1, 0)))); + BA.debugLineNum = 94;BA.debugLine="c.DrawRect(r, clr, True, 1dip)"; +Debug.JustUpdateDeviceLine(); +_c.runVoidMethod ("DrawRect",(Object)(_r),(Object)(_clr),(Object)(b4xdatetemplate.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, b4xdatetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))))); + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawdays(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DrawDays (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,62); +if (RapidSub.canDelegate("drawdays")) { return __ref.runUserSub(false, "b4xdatetemplate","drawdays", __ref);} +RemoteObject _firstdayofmonth = RemoteObject.createImmutable(0L); +RemoteObject _daysfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +int _day = 0; +RemoteObject _row = RemoteObject.createImmutable(0); + BA.debugLineNum = 62;BA.debugLine="Private Sub DrawDays"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblmonth" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_months" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_month" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1))))); + BA.debugLineNum = 64;BA.debugLine="lblYear.Text = year"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblyear" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_year" /*RemoteObject*/ ))); + BA.debugLineNum = 65;BA.debugLine="SetYearsButtonState"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_setyearsbuttonstate" /*RemoteObject*/ ); + BA.debugLineNum = 66;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 67;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 68;BA.debugLine="Dim firstDayOfMonth As Long = DateUtils.setDate(y"; +Debug.JustUpdateDeviceLine(); +_firstdayofmonth = RemoteObject.solve(new RemoteObject[] {b4xdatetemplate._dateutils.runMethod(true,"_setdate",__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_year" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_month" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 1))),RemoteObject.createImmutable(1)}, "-",1, 2);Debug.locals.put("firstDayOfMonth", _firstdayofmonth);Debug.locals.put("firstDayOfMonth", _firstdayofmonth); + BA.debugLineNum = 69;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_dayofweekoffset" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(7),b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"GetDayOfWeek",(Object)(_firstdayofmonth)),__ref.getField(true,"_firstday" /*RemoteObject*/ )}, "+-",2, 1)),RemoteObject.createImmutable(7)}, "%",0, 1)); + BA.debugLineNum = 70;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_daysinmonth" /*RemoteObject*/ ,b4xdatetemplate._dateutils.runMethod(true,"_numberofdaysinmonth",__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_month" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_year" /*RemoteObject*/ )))); + BA.debugLineNum = 71;BA.debugLine="If year = selectedYear And month = selectedMonth"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_year" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_selectedyear" /*RemoteObject*/ ))) && RemoteObject.solveBoolean("=",__ref.getField(true,"_month" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_selectedmonth" /*RemoteObject*/ )))) { + BA.debugLineNum = 73;BA.debugLine="DrawBox(cvs, SelectedColor, (selectedDay - 1 + d"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_drawbox" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_selectedcolor" /*RemoteObject*/ )),(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedday" /*RemoteObject*/ ),RemoteObject.createImmutable(1),__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ )}, "-+",2, 1)),RemoteObject.createImmutable(7)}, "%",0, 1)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedday" /*RemoteObject*/ ),RemoteObject.createImmutable(1),__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ )}, "-+",2, 1)),RemoteObject.createImmutable(7)}, "/",0, 0)))); + }; + BA.debugLineNum = 76;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +Debug.JustUpdateDeviceLine(); +_daysfont = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateDefaultBoldFont",(Object)(BA.numberCast(float.class, 14)));Debug.locals.put("daysFont", _daysfont);Debug.locals.put("daysFont", _daysfont); + BA.debugLineNum = 77;BA.debugLine="For day = 1 To daysInMonth"; +Debug.JustUpdateDeviceLine(); +{ +final int step13 = 1; +final int limit13 = __ref.getField(true,"_daysinmonth" /*RemoteObject*/ ).get().intValue(); +_day = 1 ; +for (;(step13 > 0 && _day <= limit13) || (step13 < 0 && _day >= limit13) ;_day = ((int)(0 + _day + step13)) ) { +Debug.locals.put("day", _day); + BA.debugLineNum = 78;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; +Debug.JustUpdateDeviceLine(); +_row = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_day),RemoteObject.createImmutable(1),__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ )}, "-+",2, 1)),RemoteObject.createImmutable(7)}, "/",0, 0));Debug.locals.put("row", _row);Debug.locals.put("row", _row); + BA.debugLineNum = 79;BA.debugLine="cvs.DrawText(day, (((dayOfWeekOffset + day - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawText",__ref.getField(false, "ba"),(Object)(BA.NumberToString(_day)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ ),RemoteObject.createImmutable(_day),RemoteObject.createImmutable(1)}, "+-",2, 1)),RemoteObject.createImmutable(7)}, "%",0, 1)),RemoteObject.createImmutable(0.5)}, "+",1, 0)),__ref.getField(true,"_boxw" /*RemoteObject*/ )}, "*",0, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_row,RemoteObject.createImmutable(0.5)}, "+",1, 0)),__ref.getField(true,"_boxh" /*RemoteObject*/ ),__ref.getField(true,"_vcorrection" /*RemoteObject*/ )}, "*+",1, 0))),(Object)(_daysfont),(Object)(__ref.getField(true,"_daysinmonthcolor" /*RemoteObject*/ )),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Paint.Align"),RemoteObject.createImmutable("CENTER")))); + } +}Debug.locals.put("day", _day); +; + BA.debugLineNum = 82;BA.debugLine="cvsBackground.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 83;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 84;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getdate(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getDate (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("getdate")) { return __ref.runUserSub(false, "b4xdatetemplate","getdate", __ref);} + BA.debugLineNum = 98;BA.debugLine="Public Sub getDate As Long"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 99;BA.debugLine="Return selectedDate"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_selecteddate" /*RemoteObject*/ ); + BA.debugLineNum = 100;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0L); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,172); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "b4xdatetemplate","getpanel", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 172;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 173;BA.debugLine="Return pnlDialog"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_pnldialog" /*RemoteObject*/ ); + BA.debugLineNum = 174;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _handlemouse(RemoteObject __ref,RemoteObject _x,RemoteObject _y,RemoteObject _move) throws Exception{ +try { + Debug.PushSubsStack("HandleMouse (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,123); +if (RapidSub.canDelegate("handlemouse")) { return __ref.runUserSub(false, "b4xdatetemplate","handlemouse", __ref, _x, _y, _move);} +RemoteObject _boxx = RemoteObject.createImmutable(0); +RemoteObject _boxy = RemoteObject.createImmutable(0); +RemoteObject _newselectedday = RemoteObject.createImmutable(0); +RemoteObject _validday = RemoteObject.createImmutable(false); +Debug.locals.put("x", _x); +Debug.locals.put("y", _y); +Debug.locals.put("move", _move); + BA.debugLineNum = 123;BA.debugLine="Private Sub HandleMouse(x As Double, y As Double,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 124;BA.debugLine="Dim boxX = x / boxW, boxY = y / boxH As Int"; +Debug.JustUpdateDeviceLine(); +_boxx = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_x,__ref.getField(true,"_boxw" /*RemoteObject*/ )}, "/",0, 0));Debug.locals.put("boxX", _boxx);Debug.locals.put("boxX", _boxx); +_boxy = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_y,__ref.getField(true,"_boxh" /*RemoteObject*/ )}, "/",0, 0));Debug.locals.put("boxY", _boxy);Debug.locals.put("boxY", _boxy); + BA.debugLineNum = 125;BA.debugLine="Dim newSelectedDay As Int = boxY * 7 + boxX + 1 -"; +Debug.JustUpdateDeviceLine(); +_newselectedday = RemoteObject.solve(new RemoteObject[] {_boxy,RemoteObject.createImmutable(7),_boxx,RemoteObject.createImmutable(1),__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ )}, "*++-",3, 1);Debug.locals.put("newSelectedDay", _newselectedday);Debug.locals.put("newSelectedDay", _newselectedday); + BA.debugLineNum = 126;BA.debugLine="Dim validDay As Boolean = newSelectedDay > 0 And"; +Debug.JustUpdateDeviceLine(); +_validday = BA.ObjectToBoolean(RemoteObject.solveBoolean(">",_newselectedday,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("k",_newselectedday,BA.numberCast(double.class, __ref.getField(true,"_daysinmonth" /*RemoteObject*/ ))));Debug.locals.put("validDay", _validday);Debug.locals.put("validDay", _validday); + BA.debugLineNum = 127;BA.debugLine="If move Then"; +Debug.JustUpdateDeviceLine(); +if (_move.get().booleanValue()) { + BA.debugLineNum = 128;BA.debugLine="If newSelectedDay = tempSelectedDay Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_newselectedday,BA.numberCast(double.class, __ref.getField(true,"_tempselectedday" /*RemoteObject*/ )))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 129;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 130;BA.debugLine="tempSelectedDay = newSelectedDay"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tempselectedday" /*RemoteObject*/ ,_newselectedday); + BA.debugLineNum = 131;BA.debugLine="If validDay Then"; +Debug.JustUpdateDeviceLine(); +if (_validday.get().booleanValue()) { + BA.debugLineNum = 132;BA.debugLine="DrawBox(cvsBackground, HighlightedColor, boxX,"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_drawbox" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cvsbackground" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_highlightedcolor" /*RemoteObject*/ )),(Object)(_boxx),(Object)(_boxy)); + }; + }else { + BA.debugLineNum = 135;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 136;BA.debugLine="If validDay Then"; +Debug.JustUpdateDeviceLine(); +if (_validday.get().booleanValue()) { + BA.debugLineNum = 137;BA.debugLine="SelectDay(newSelectedDay)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_selectday" /*RemoteObject*/ ,(Object)(_newselectedday)); + BA.debugLineNum = 138;BA.debugLine="If CloseOnSelection Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_closeonselection" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 139;BA.debugLine="Hide"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_hide" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 141;BA.debugLine="DrawDays"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_drawdays" /*RemoteObject*/ ); + }; + }; + }; + BA.debugLineNum = 146;BA.debugLine="cvsBackground.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 147;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hide(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Hide (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,149); +if (RapidSub.canDelegate("hide")) { return __ref.runUserSub(false, "b4xdatetemplate","hide", __ref);} + BA.debugLineNum = 149;BA.debugLine="Private Sub Hide"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 150;BA.debugLine="mDialog.Close(xui.DialogResponse_Positive)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mdialog" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xdatetemplate","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 37;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="pnlDialog = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pnldialog" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")))); + BA.debugLineNum = 39;BA.debugLine="pnlDialog.SetLayoutAnimated(0, 0, 0, 320dip,300di"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnldialog" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xdatetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 320)))),(Object)(b4xdatetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300))))); + BA.debugLineNum = 40;BA.debugLine="pnlDialog.LoadLayout(\"DateTemplate\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnldialog" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("DateTemplate")),__ref.getField(false, "ba")); + BA.debugLineNum = 41;BA.debugLine="pnlDialog.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnldialog" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 42;BA.debugLine="month = DateTime.GetMonth(DateTime.Now)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_month" /*RemoteObject*/ ,b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 43;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_year" /*RemoteObject*/ ,b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"GetYear",(Object)(b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 44;BA.debugLine="months = DateUtils.GetMonthsNames"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_months" /*RemoteObject*/ ,b4xdatetemplate._dateutils.runMethod(false,"_getmonthsnames",__ref.getField(false, "ba"))); + BA.debugLineNum = 45;BA.debugLine="selectedDate = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteddate" /*RemoteObject*/ ,b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"getNow")); + BA.debugLineNum = 46;BA.debugLine="setDate(selectedDate)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_setdate" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_selecteddate" /*RemoteObject*/ ))); + BA.debugLineNum = 47;BA.debugLine="cvs.Initialize(DaysPaneFg)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_dayspanefg" /*RemoteObject*/ ))); + BA.debugLineNum = 48;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_dayspanebg" /*RemoteObject*/ ))); + BA.debugLineNum = 49;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_boxw" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getWidth"),RemoteObject.createImmutable(7)}, "/",0, 0))); + BA.debugLineNum = 50;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_boxh" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getHeight"),RemoteObject.createImmutable(6)}, "/",0, 0))); + BA.debugLineNum = 51;BA.debugLine="vCorrection = 5dip"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_vcorrection" /*RemoteObject*/ ,BA.numberCast(float.class, b4xdatetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5))))); + BA.debugLineNum = 52;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsdays" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_daystitlespane" /*RemoteObject*/ ))); + BA.debugLineNum = 58;BA.debugLine="DaysOfWeekNames.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_daysofweeknames" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 59;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_daysofweeknames" /*RemoteObject*/ ).runVoidMethod ("AddAll",(Object)(b4xdatetemplate._dateutils.runMethod(false,"_getdaysnames",__ref.getField(false, "ba")))); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _selectday(RemoteObject __ref,RemoteObject _day) throws Exception{ +try { + Debug.PushSubsStack("SelectDay (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,115); +if (RapidSub.canDelegate("selectday")) { return __ref.runUserSub(false, "b4xdatetemplate","selectday", __ref, _day);} +Debug.locals.put("day", _day); + BA.debugLineNum = 115;BA.debugLine="Private Sub SelectDay(day As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 116;BA.debugLine="selectedDate = DateUtils.setDate(year, month, day"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteddate" /*RemoteObject*/ ,b4xdatetemplate._dateutils.runMethod(true,"_setdate",__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_year" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_month" /*RemoteObject*/ )),(Object)(_day))); + BA.debugLineNum = 117;BA.debugLine="selectedDay = day"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedday" /*RemoteObject*/ ,_day); + BA.debugLineNum = 118;BA.debugLine="selectedMonth = month"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedmonth" /*RemoteObject*/ ,__ref.getField(true,"_month" /*RemoteObject*/ )); + BA.debugLineNum = 119;BA.debugLine="selectedYear = year"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selectedyear" /*RemoteObject*/ ,__ref.getField(true,"_year" /*RemoteObject*/ )); + BA.debugLineNum = 120;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setdate(RemoteObject __ref,RemoteObject _date) throws Exception{ +try { + Debug.PushSubsStack("setDate (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("setdate")) { return __ref.runUserSub(false, "b4xdatetemplate","setdate", __ref, _date);} +Debug.locals.put("date", _date); + BA.debugLineNum = 102;BA.debugLine="Public Sub setDate(date As Long)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 104;BA.debugLine="If lblYear.IsInitialized = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_lblyear" /*RemoteObject*/ ).runMethod(true,"IsInitialized"),b4xdatetemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 105;BA.debugLine="selectedDate = date"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteddate" /*RemoteObject*/ ,_date); + BA.debugLineNum = 106;BA.debugLine="Return 'the date will be set after the layout is"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 108;BA.debugLine="year = DateTime.GetYear(date)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_year" /*RemoteObject*/ ,b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"GetYear",(Object)(_date))); + BA.debugLineNum = 109;BA.debugLine="month = DateTime.GetMonth(date)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_month" /*RemoteObject*/ ,b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(_date))); + BA.debugLineNum = 110;BA.debugLine="SelectDay(DateTime.GetDayOfMonth(date))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_selectday" /*RemoteObject*/ ,(Object)(b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(_date)))); + BA.debugLineNum = 111;BA.debugLine="lblYear.Text = year"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblyear" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_year" /*RemoteObject*/ ))); + BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblmonth" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_months" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_month" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1))))); + BA.debugLineNum = 113;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setyearsbuttonstate(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("SetYearsButtonState (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,86); +if (RapidSub.canDelegate("setyearsbuttonstate")) { return __ref.runUserSub(false, "b4xdatetemplate","setyearsbuttonstate", __ref);} + BA.debugLineNum = 86;BA.debugLine="Private Sub SetYearsButtonState"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="btnYearLeft.Enabled = year > MinYear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_btnyearleft" /*RemoteObject*/ ).runMethod(true,"setEnabled",BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(true,"_year" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_minyear" /*RemoteObject*/ ))))); + BA.debugLineNum = 88;BA.debugLine="btnYearRight.Enabled = year < MaxYear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_btnyearright" /*RemoteObject*/ ).runMethod(true,"setEnabled",BA.ObjectToBoolean(RemoteObject.solveBoolean("<",__ref.getField(true,"_year" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_maxyear" /*RemoteObject*/ ))))); + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,176); +if (RapidSub.canDelegate("show")) { __ref.runUserSub(false, "b4xdatetemplate","show", __ref, _dialog); return;} +ResumableSub_Show rsub = new ResumableSub_Show(null,__ref,_dialog); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xdatetemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xdatetemplate parent; +RemoteObject _dialog; +RemoteObject _days = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _daysfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +int _i = 0; +RemoteObject _d = RemoteObject.createImmutable(""); +int step4; +int limit4; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xdatetemplate) ","b4xdatetemplate",53,__ref.getField(false, "ba"),__ref,176); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 177;BA.debugLine="Dim days As List = DaysOfWeekNames"; +Debug.JustUpdateDeviceLine(); +_days = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_days = __ref.getField(false,"_daysofweeknames" /*RemoteObject*/ );Debug.locals.put("days", _days);Debug.locals.put("days", _days); + BA.debugLineNum = 178;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +Debug.JustUpdateDeviceLine(); +_daysfont = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateDefaultBoldFont",(Object)(BA.numberCast(float.class, 14)));Debug.locals.put("daysFont", _daysfont);Debug.locals.put("daysFont", _daysfont); + BA.debugLineNum = 179;BA.debugLine="cvsDays.ClearRect(cvsDays.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsdays" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvsdays" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 180;BA.debugLine="For i = FirstDay To FirstDay + 7 - 1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//for +this.state = 10; +step4 = 1; +limit4 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_firstday" /*RemoteObject*/ ),RemoteObject.createImmutable(7),RemoteObject.createImmutable(1)}, "+-",2, 1).get().intValue(); +_i = __ref.getField(true,"_firstday" /*RemoteObject*/ ).get().intValue() ; +Debug.locals.put("i", _i); +this.state = 11; +if (true) break; + +case 11: +//C +this.state = 10; +if ((step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4)) this.state = 3; +if (true) break; + +case 12: +//C +this.state = 11; +_i = ((int)(0 + _i + step4)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 181;BA.debugLine="Dim d As String = days.Get(i Mod 7)"; +Debug.JustUpdateDeviceLine(); +_d = BA.ObjectToString(_days.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(7)}, "%",0, 1))));Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 182;BA.debugLine="If d.Length > 2 Then d = d.SubString2(0, 2)"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 9; +if (RemoteObject.solveBoolean(">",_d.runMethod(true,"length"),BA.numberCast(double.class, 2))) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +_d = _d.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("d", _d); +if (true) break; + +case 9: +//C +this.state = 12; +; + BA.debugLineNum = 183;BA.debugLine="cvsDays.DrawText(d, (i - FirstDay + 0.5) * boxW,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsdays" /*RemoteObject*/ ).runVoidMethod ("DrawText",__ref.getField(false, "ba"),(Object)(_d),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),__ref.getField(true,"_firstday" /*RemoteObject*/ ),RemoteObject.createImmutable(0.5)}, "-+",2, 0)),__ref.getField(true,"_boxw" /*RemoteObject*/ )}, "*",0, 0))),(Object)(BA.numberCast(float.class, parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20))))),(Object)(_daysfont),(Object)(__ref.getField(true,"_daysinweekcolor" /*RemoteObject*/ )),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Paint.Align"),RemoteObject.createImmutable("CENTER")))); + if (true) break; +if (true) break; + +case 10: +//C +this.state = -1; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 185;BA.debugLine="cvsDays.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsdays" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 186;BA.debugLine="mDialog = Dialog"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mdialog" /*RemoteObject*/ ,_dialog); + BA.debugLineNum = 187;BA.debugLine="DrawDays"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_drawdays" /*RemoteObject*/ ); + BA.debugLineNum = 188;BA.debugLine="PreviousSelectedDate = selectedDate"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_previousselecteddate" /*RemoteObject*/ ,__ref.getField(true,"_selecteddate" /*RemoteObject*/ )); + BA.debugLineNum = 189;BA.debugLine="Sleep(0)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xdatetemplate", "show"),BA.numberCast(int.class, 0)); +this.state = 13; +return; +case 13: +//C +this.state = -1; +; + BA.debugLineNum = 190;BA.debugLine="SetYearsButtonState"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdatetemplate.class, "_setyearsbuttonstate" /*RemoteObject*/ ); + BA.debugLineNum = 191;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdialog.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdialog.java new file mode 100644 index 0000000..084b74c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdialog.java @@ -0,0 +1,59 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xdialog { + public static RemoteObject myClass; + public b4xdialog() { + } + public static PCBA staticBA = new PCBA(null, b4xdialog.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _buttonsheight = RemoteObject.createImmutable(0); +public static RemoteObject _titlebarheight = RemoteObject.createImmutable(0); +public static RemoteObject _buttonwidth = RemoteObject.createImmutable(0); +public static RemoteObject _base = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _backgroundcolor = RemoteObject.createImmutable(0); +public static RemoteObject _overlaycolor = RemoteObject.createImmutable(0); +public static RemoteObject _bordercolor = RemoteObject.createImmutable(0); +public static RemoteObject _bordercornersradius = RemoteObject.createImmutable(0); +public static RemoteObject _borderwidth = RemoteObject.createImmutable(0); +public static RemoteObject _buttonscolor = RemoteObject.createImmutable(0); +public static RemoteObject _buttonstextcolor = RemoteObject.createImmutable(0); +public static RemoteObject _background = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _blurimageview = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _blurbackground = RemoteObject.createImmutable(false); +public static RemoteObject _blurreducescale = RemoteObject.createImmutable(0); +public static RemoteObject _mparent = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _title = RemoteObject.declareNull("Object"); +public static RemoteObject _titlebarcolor = RemoteObject.createImmutable(0); +public static RemoteObject _titlebartextcolor = RemoteObject.createImmutable(0); +public static RemoteObject _bodytextcolor = RemoteObject.createImmutable(0); +public static RemoteObject _titlebar = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _putattop = RemoteObject.createImmutable(false); +public static RemoteObject _titlebarfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _buttonsfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _buttonstextcolordisabled = RemoteObject.createImmutable(0); +public static RemoteObject _visibleanimationduration = RemoteObject.createImmutable(0); +public static RemoteObject _buttonsorder = null; +public static RemoteObject _buttonsstate = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Background",_ref.getField(false, "_background"),"BackgroundColor",_ref.getField(false, "_backgroundcolor"),"Base",_ref.getField(false, "_base"),"BlurBackground",_ref.getField(false, "_blurbackground"),"BlurImageView",_ref.getField(false, "_blurimageview"),"BlurReduceScale",_ref.getField(false, "_blurreducescale"),"BodyTextColor",_ref.getField(false, "_bodytextcolor"),"BorderColor",_ref.getField(false, "_bordercolor"),"BorderCornersRadius",_ref.getField(false, "_bordercornersradius"),"BorderWidth",_ref.getField(false, "_borderwidth"),"ButtonsColor",_ref.getField(false, "_buttonscolor"),"ButtonsFont",_ref.getField(false, "_buttonsfont"),"ButtonsHeight",_ref.getField(false, "_buttonsheight"),"ButtonsOrder",_ref.getField(false, "_buttonsorder"),"ButtonsState",_ref.getField(false, "_buttonsstate"),"ButtonsTextColor",_ref.getField(false, "_buttonstextcolor"),"ButtonsTextColorDisabled",_ref.getField(false, "_buttonstextcolordisabled"),"ButtonWidth",_ref.getField(false, "_buttonwidth"),"DateUtils",_ref.getField(false, "_dateutils"),"mParent",_ref.getField(false, "_mparent"),"OverlayColor",_ref.getField(false, "_overlaycolor"),"PutAtTop",_ref.getField(false, "_putattop"),"Title",_ref.getField(false, "_title"),"TitleBar",_ref.getField(false, "_titlebar"),"TitleBarColor",_ref.getField(false, "_titlebarcolor"),"TitleBarFont",_ref.getField(false, "_titlebarfont"),"TitleBarHeight",_ref.getField(false, "_titlebarheight"),"TitleBarTextColor",_ref.getField(false, "_titlebartextcolor"),"VisibleAnimationDuration",_ref.getField(false, "_visibleanimationduration"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdialog_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdialog_subs_0.java new file mode 100644 index 0000000..6606ba7 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xdialog_subs_0.java @@ -0,0 +1,1620 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xdialog_subs_0 { + + +public static RemoteObject _background_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Background_Click (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,258); +if (RapidSub.canDelegate("background_click")) { return __ref.runUserSub(false, "b4xdialog","background_click", __ref);} + BA.debugLineNum = 258;BA.debugLine="Private Sub Background_Click"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 260;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _background_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("Background_Touch (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,253); +if (RapidSub.canDelegate("background_touch")) { return __ref.runUserSub(false, "b4xdialog","background_touch", __ref, _action, _x, _y);} +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 253;BA.debugLine="Private Sub Background_Touch (Action As Int, X As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _blur(RemoteObject __ref,RemoteObject _bmp) throws Exception{ +try { + Debug.PushSubsStack("Blur (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,287); +if (RapidSub.canDelegate("blur")) { return __ref.runUserSub(false, "b4xdialog","blur", __ref, _bmp);} +RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +RemoteObject _reducescale = RemoteObject.createImmutable(0); +RemoteObject _count = RemoteObject.createImmutable(0); +RemoteObject _clrs = null; +RemoteObject _temp = RemoteObject.declareNull("b4a.example.bitmapcreator._argbcolor"); +RemoteObject _m = RemoteObject.createImmutable(0); +int _steps = 0; +int _y = 0; +int _x = 0; +Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 287;BA.debugLine="Private Sub Blur (bmp As B4XBitmap) As BitmapCreat"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 288;BA.debugLine="Dim bc As BitmapCreator"; +Debug.JustUpdateDeviceLine(); +_bc = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("bc", _bc); + BA.debugLineNum = 289;BA.debugLine="Dim ReduceScale As Int = BlurReduceScale"; +Debug.JustUpdateDeviceLine(); +_reducescale = __ref.getField(true,"_blurreducescale" /*RemoteObject*/ );Debug.locals.put("ReduceScale", _reducescale);Debug.locals.put("ReduceScale", _reducescale); + BA.debugLineNum = 290;BA.debugLine="bc.Initialize(bmp.Width / ReduceScale / bmp.Scale"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_bmp.runMethod(true,"getWidth"),_reducescale,_bmp.runMethod(true,"getScale")}, "//",0, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_bmp.runMethod(true,"getHeight"),_reducescale,_bmp.runMethod(true,"getScale")}, "//",0, 0)))); + BA.debugLineNum = 291;BA.debugLine="bc.CopyPixelsFromBitmap(bmp)"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_copypixelsfrombitmap",(Object)(_bmp)); + BA.debugLineNum = 292;BA.debugLine="Dim count As Int = 2"; +Debug.JustUpdateDeviceLine(); +_count = BA.numberCast(int.class, 2);Debug.locals.put("count", _count);Debug.locals.put("count", _count); + BA.debugLineNum = 293;BA.debugLine="Dim clrs(3) As ARGBColor"; +Debug.JustUpdateDeviceLine(); +_clrs = RemoteObject.createNewArray ("b4a.example.bitmapcreator._argbcolor", new int[] {3}, new Object[]{});Debug.locals.put("clrs", _clrs); + BA.debugLineNum = 294;BA.debugLine="Dim temp As ARGBColor"; +Debug.JustUpdateDeviceLine(); +_temp = RemoteObject.createNew ("b4a.example.bitmapcreator._argbcolor");Debug.locals.put("temp", _temp); + BA.debugLineNum = 295;BA.debugLine="Dim m As Int"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.createImmutable(0);Debug.locals.put("m", _m); + BA.debugLineNum = 296;BA.debugLine="For steps = 1 To count"; +Debug.JustUpdateDeviceLine(); +{ +final int step9 = 1; +final int limit9 = _count.get().intValue(); +_steps = 1 ; +for (;(step9 > 0 && _steps <= limit9) || (step9 < 0 && _steps >= limit9) ;_steps = ((int)(0 + _steps + step9)) ) { +Debug.locals.put("steps", _steps); + BA.debugLineNum = 297;BA.debugLine="For y = 0 To bc.mHeight - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mheight"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 298;BA.debugLine="For x = 0 To 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step11 = 1; +final int limit11 = 2; +_x = 0 ; +for (;(step11 > 0 && _x <= limit11) || (step11 < 0 && _x >= limit11) ;_x = ((int)(0 + _x + step11)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 299;BA.debugLine="bc.GetARGB(x, y, clrs(x))"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_getargb",(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs.getArrayElement(false,BA.numberCast(int.class, _x)))); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 301;BA.debugLine="SetAvg(bc, 1, y, clrs, temp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_setavg" /*RemoteObject*/ ,(Object)(_bc),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs),(Object)(_temp)); + BA.debugLineNum = 302;BA.debugLine="m = 0"; +Debug.JustUpdateDeviceLine(); +_m = BA.numberCast(int.class, 0);Debug.locals.put("m", _m); + BA.debugLineNum = 303;BA.debugLine="For x = 2 To bc.mWidth - 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mwidth"),RemoteObject.createImmutable(2)}, "-",1, 1).get().intValue(); +_x = 2 ; +for (;(step16 > 0 && _x <= limit16) || (step16 < 0 && _x >= limit16) ;_x = ((int)(0 + _x + step16)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 304;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_getargb",(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),RemoteObject.createImmutable(1)}, "+",1, 1)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs.getArrayElement(false,_m))); + BA.debugLineNum = 305;BA.debugLine="m = (m + 1) Mod 3"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_m,RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(3)}, "%",0, 1);Debug.locals.put("m", _m); + BA.debugLineNum = 306;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_setavg" /*RemoteObject*/ ,(Object)(_bc),(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs),(Object)(_temp)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 309;BA.debugLine="For x = 0 To bc.mWidth - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step22 = 1; +final int limit22 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mwidth"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step22 > 0 && _x <= limit22) || (step22 < 0 && _x >= limit22) ;_x = ((int)(0 + _x + step22)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 310;BA.debugLine="For y = 0 To 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step23 = 1; +final int limit23 = 2; +_y = 0 ; +for (;(step23 > 0 && _y <= limit23) || (step23 < 0 && _y >= limit23) ;_y = ((int)(0 + _y + step23)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 311;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_getargb",(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs.getArrayElement(false,BA.numberCast(int.class, _y)))); + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 313;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_setavg" /*RemoteObject*/ ,(Object)(_bc),(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, 1)),(Object)(_clrs),(Object)(_temp)); + BA.debugLineNum = 314;BA.debugLine="m = 0"; +Debug.JustUpdateDeviceLine(); +_m = BA.numberCast(int.class, 0);Debug.locals.put("m", _m); + BA.debugLineNum = 315;BA.debugLine="For y = 2 To bc.mHeight - 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step28 = 1; +final int limit28 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mheight"),RemoteObject.createImmutable(2)}, "-",1, 1).get().intValue(); +_y = 2 ; +for (;(step28 > 0 && _y <= limit28) || (step28 < 0 && _y >= limit28) ;_y = ((int)(0 + _y + step28)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 316;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_getargb",(Object)(BA.numberCast(int.class, _x)),(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),RemoteObject.createImmutable(1)}, "+",1, 1)),(Object)(_clrs.getArrayElement(false,_m))); + BA.debugLineNum = 317;BA.debugLine="m = (m + 1) Mod 3"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_m,RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(3)}, "%",0, 1);Debug.locals.put("m", _m); + BA.debugLineNum = 318;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_setavg" /*RemoteObject*/ ,(Object)(_bc),(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs),(Object)(_temp)); + } +}Debug.locals.put("y", _y); +; + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("steps", _steps); +; + BA.debugLineNum = 322;BA.debugLine="Return bc"; +Debug.JustUpdateDeviceLine(); +if (true) return _bc; + BA.debugLineNum = 323;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _button_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Button_Click (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,233); +if (RapidSub.canDelegate("button_click")) { return __ref.runUserSub(false, "b4xdialog","button_click", __ref);} +RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); + BA.debugLineNum = 233;BA.debugLine="Private Sub Button_Click"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 234;BA.debugLine="Dim b As B4XView = Sender"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_b = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xdialog.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 235;BA.debugLine="If ButtonsState.GetDefault(b.Tag, True) = False T"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_buttonsstate" /*RemoteObject*/ ).runMethod(false,"GetDefault",(Object)(_b.runMethod(false,"getTag")),(Object)((b4xdialog.__c.getField(true,"True")))),(b4xdialog.__c.getField(true,"False")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 236;BA.debugLine="Close(b.Tag)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _b.runMethod(false,"getTag")))); + BA.debugLineNum = 237;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI"; +b4xdialog._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xdialog._xui); + //BA.debugLineNum = 6;BA.debugLine="Public ButtonsHeight As Int = 40dip"; +b4xdialog._buttonsheight = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40)));__ref.setField("_buttonsheight",b4xdialog._buttonsheight); + //BA.debugLineNum = 7;BA.debugLine="Public TitleBarHeight As Int = 30dip"; +b4xdialog._titlebarheight = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)));__ref.setField("_titlebarheight",b4xdialog._titlebarheight); + //BA.debugLineNum = 8;BA.debugLine="Private ButtonWidth As Int = 80dip"; +b4xdialog._buttonwidth = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80)));__ref.setField("_buttonwidth",b4xdialog._buttonwidth); + //BA.debugLineNum = 9;BA.debugLine="Public Base As B4XView"; +b4xdialog._base = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_base",b4xdialog._base); + //BA.debugLineNum = 10;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; +b4xdialog._backgroundcolor = BA.numberCast(int.class, ((int)0xff555555));__ref.setField("_backgroundcolor",b4xdialog._backgroundcolor); + //BA.debugLineNum = 11;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; +b4xdialog._overlaycolor = BA.numberCast(int.class, ((int)0xaa000000));__ref.setField("_overlaycolor",b4xdialog._overlaycolor); + //BA.debugLineNum = 12;BA.debugLine="Public BorderColor As Int = 0xff000000"; +b4xdialog._bordercolor = BA.numberCast(int.class, ((int)0xff000000));__ref.setField("_bordercolor",b4xdialog._bordercolor); + //BA.debugLineNum = 13;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; +b4xdialog._bordercornersradius = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_bordercornersradius",b4xdialog._bordercornersradius); + //BA.debugLineNum = 14;BA.debugLine="Public BorderWidth As Int = 2dip"; +b4xdialog._borderwidth = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_borderwidth",b4xdialog._borderwidth); + //BA.debugLineNum = 15;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; +b4xdialog._buttonscolor = BA.numberCast(int.class, ((int)0xff555555));__ref.setField("_buttonscolor",b4xdialog._buttonscolor); + //BA.debugLineNum = 16;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; +b4xdialog._buttonstextcolor = BA.numberCast(int.class, ((int)0xff89d5ff));__ref.setField("_buttonstextcolor",b4xdialog._buttonstextcolor); + //BA.debugLineNum = 17;BA.debugLine="Private Background As B4XView"; +b4xdialog._background = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_background",b4xdialog._background); + //BA.debugLineNum = 18;BA.debugLine="Private BlurImageView As B4XView"; +b4xdialog._blurimageview = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_blurimageview",b4xdialog._blurimageview); + //BA.debugLineNum = 19;BA.debugLine="Public BlurBackground As Boolean"; +b4xdialog._blurbackground = RemoteObject.createImmutable(false);__ref.setField("_blurbackground",b4xdialog._blurbackground); + //BA.debugLineNum = 20;BA.debugLine="Private BlurReduceScale As Int"; +b4xdialog._blurreducescale = RemoteObject.createImmutable(0);__ref.setField("_blurreducescale",b4xdialog._blurreducescale); + //BA.debugLineNum = 21;BA.debugLine="Public mParent As B4XView"; +b4xdialog._mparent = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mparent",b4xdialog._mparent); + //BA.debugLineNum = 22;BA.debugLine="Public Title As Object = \"\""; +b4xdialog._title = RemoteObject.createImmutable((""));__ref.setField("_title",b4xdialog._title); + //BA.debugLineNum = 23;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; +b4xdialog._titlebarcolor = BA.numberCast(int.class, ((int)0xff0083b8));__ref.setField("_titlebarcolor",b4xdialog._titlebarcolor); + //BA.debugLineNum = 24;BA.debugLine="Public TitleBarTextColor As Int"; +b4xdialog._titlebartextcolor = RemoteObject.createImmutable(0);__ref.setField("_titlebartextcolor",b4xdialog._titlebartextcolor); + //BA.debugLineNum = 25;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; +b4xdialog._bodytextcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_bodytextcolor",b4xdialog._bodytextcolor); + //BA.debugLineNum = 26;BA.debugLine="Public TitleBar As B4XView"; +b4xdialog._titlebar = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_titlebar",b4xdialog._titlebar); + //BA.debugLineNum = 27;BA.debugLine="Public PutAtTop As Boolean"; +b4xdialog._putattop = RemoteObject.createImmutable(false);__ref.setField("_putattop",b4xdialog._putattop); + //BA.debugLineNum = 28;BA.debugLine="Public TitleBarFont As B4XFont"; +b4xdialog._titlebarfont = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_titlebarfont",b4xdialog._titlebarfont); + //BA.debugLineNum = 29;BA.debugLine="Public ButtonsFont As B4XFont"; +b4xdialog._buttonsfont = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_buttonsfont",b4xdialog._buttonsfont); + //BA.debugLineNum = 30;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; +b4xdialog._buttonstextcolordisabled = BA.numberCast(int.class, ((int)0xff808080));__ref.setField("_buttonstextcolordisabled",b4xdialog._buttonstextcolordisabled); + //BA.debugLineNum = 31;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; +b4xdialog._visibleanimationduration = BA.numberCast(int.class, 100);__ref.setField("_visibleanimationduration",b4xdialog._visibleanimationduration); + //BA.debugLineNum = 32;BA.debugLine="Public ButtonsOrder() As Int = Array As Int(xui.D"; +b4xdialog._buttonsorder = RemoteObject.createNewArray("int",new int[] {3},new Object[] {__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Negative"),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel")});__ref.setField("_buttonsorder",b4xdialog._buttonsorder); + //BA.debugLineNum = 33;BA.debugLine="Public ButtonsState As Map"; +b4xdialog._buttonsstate = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_buttonsstate",b4xdialog._buttonsstate); + //BA.debugLineNum = 34;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _close(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("Close (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,239); +if (RapidSub.canDelegate("close")) { return __ref.runUserSub(false, "b4xdialog","close", __ref, _result);} +Debug.locals.put("Result", _result); + BA.debugLineNum = 239;BA.debugLine="Public Sub Close (Result As Int) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 240;BA.debugLine="If getVisible Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_getvisible" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 241;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; +Debug.JustUpdateDeviceLine(); +b4xdialog.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString("CloseMessage")),(Object)((_result))); + BA.debugLineNum = 242;BA.debugLine="Return True"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xdialog.__c.getField(true,"True"); + }; + BA.debugLineNum = 244;BA.debugLine="Return False"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xdialog.__c.getField(true,"False"); + BA.debugLineNum = 245;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createbutton(RemoteObject __ref,RemoteObject _text,RemoteObject _code) throws Exception{ +try { + Debug.PushSubsStack("CreateButton (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,193); +if (RapidSub.canDelegate("createbutton")) { return __ref.runUserSub(false, "b4xdialog","createbutton", __ref, _text, _code);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _xbtn = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _numberofbuttons = RemoteObject.createImmutable(0); +Debug.locals.put("Text", _text); +Debug.locals.put("Code", _code); + BA.debugLineNum = 193;BA.debugLine="Private Sub CreateButton (Text As Object, Code As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 194;BA.debugLine="If Text = \"\" Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_text,RemoteObject.createImmutable(("")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 198;BA.debugLine="Dim btn As Label"; +Debug.JustUpdateDeviceLine(); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("btn", _btn); + BA.debugLineNum = 200;BA.debugLine="btn.Initialize(\"Button\")"; +Debug.JustUpdateDeviceLine(); +_btn.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Button"))); + BA.debugLineNum = 201;BA.debugLine="Dim xbtn As B4XView = btn"; +Debug.JustUpdateDeviceLine(); +_xbtn = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xbtn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _btn.getObject());Debug.locals.put("xbtn", _xbtn);Debug.locals.put("xbtn", _xbtn); + BA.debugLineNum = 202;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xbtn, Tex"; +Debug.JustUpdateDeviceLine(); +b4xdialog._xuiviewsutils.runVoidMethod ("_settextorcsbuildertolabel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_xbtn),(Object)(_text)); + BA.debugLineNum = 203;BA.debugLine="xbtn.Tag = Code"; +Debug.JustUpdateDeviceLine(); +_xbtn.runMethod(false,"setTag",(_code)); + BA.debugLineNum = 204;BA.debugLine="xbtn.SetColorAndBorder(ButtonsColor, 0dip, Border"; +Debug.JustUpdateDeviceLine(); +_xbtn.runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(true,"_buttonscolor" /*RemoteObject*/ )),(Object)(b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(__ref.getField(true,"_bordercolor" /*RemoteObject*/ )),(Object)(b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5))))); + BA.debugLineNum = 205;BA.debugLine="xbtn.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +_xbtn.runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 206;BA.debugLine="xbtn.TextColor = ButtonsTextColor"; +Debug.JustUpdateDeviceLine(); +_xbtn.runMethod(true,"setTextColor",__ref.getField(true,"_buttonstextcolor" /*RemoteObject*/ )); + BA.debugLineNum = 207;BA.debugLine="xbtn.Font = ButtonsFont"; +Debug.JustUpdateDeviceLine(); +_xbtn.runMethod(false,"setFont",__ref.getField(false,"_buttonsfont" /*RemoteObject*/ )); + BA.debugLineNum = 208;BA.debugLine="Dim numberOfButtons As Int = Base.NumberOfViews '"; +Debug.JustUpdateDeviceLine(); +_numberofbuttons = __ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"getNumberOfViews");Debug.locals.put("numberOfButtons", _numberofbuttons);Debug.locals.put("numberOfButtons", _numberofbuttons); + BA.debugLineNum = 209;BA.debugLine="Base.AddView(xbtn, Base.Width - 4dip - numberOfBu"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_xbtn.getObject())),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"getWidth"),b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4))),_numberofbuttons,(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_buttonwidth" /*RemoteObject*/ ),b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))}, "+",1, 1)),__ref.getField(true,"_buttonwidth" /*RemoteObject*/ )}, "--*-",3, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_buttonsheight" /*RemoteObject*/ ),b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4)))}, "--",2, 1)),(Object)(__ref.getField(true,"_buttonwidth" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_buttonsheight" /*RemoteObject*/ ))); + BA.debugLineNum = 211;BA.debugLine="If Code = xui.DialogResponse_Cancel Then xbtn.Req"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_code,BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel")))) { +_xbtn.runVoidMethod ("RequestFocus");}; + BA.debugLineNum = 212;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbutton(RemoteObject __ref,RemoteObject _resultcode) throws Exception{ +try { + Debug.PushSubsStack("GetButton (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,215); +if (RapidSub.canDelegate("getbutton")) { return __ref.runUserSub(false, "b4xdialog","getbutton", __ref, _resultcode);} +RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("ResultCode", _resultcode); + BA.debugLineNum = 215;BA.debugLine="Public Sub GetButton (ResultCode As Int) As B4XVie"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 216;BA.debugLine="For Each b As B4XView In Base.GetAllViewsRecursiv"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +{ +final RemoteObject group1 = __ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_b = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group1.runMethod(false,"Get",index1));Debug.locals.put("b", _b); +Debug.locals.put("b", _b); + BA.debugLineNum = 217;BA.debugLine="If b.Tag = ResultCode Then Return b 'ignore"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_b.runMethod(false,"getTag"),(_resultcode))) { +if (true) return _b;}; + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 219;BA.debugLine="Return Null"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xdialog.__c.getField(false,"Null")); + BA.debugLineNum = 220;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvisible(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getVisible (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,189); +if (RapidSub.canDelegate("getvisible")) { return __ref.runUserSub(false, "b4xdialog","getvisible", __ref);} + BA.debugLineNum = 189;BA.debugLine="Public Sub getVisible As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 190;BA.debugLine="Return Background.IsInitialized And Background.Pa"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean(".",__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(false,"getParent").runMethod(true,"IsInitialized"))); + BA.debugLineNum = 191;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _parent) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,36); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xdialog","initialize", __ref, _ba, _parent);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Parent", _parent); + BA.debugLineNum = 36;BA.debugLine="Public Sub Initialize (Parent As B4XView)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 37;BA.debugLine="BlurBackground = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_blurbackground" /*RemoteObject*/ ,b4xdialog.__c.getField(true,"False")); + BA.debugLineNum = 38;BA.debugLine="If xui.IsB4i Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i").get().booleanValue()) { + BA.debugLineNum = 39;BA.debugLine="BlurReduceScale = 3"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_blurreducescale" /*RemoteObject*/ ,BA.numberCast(int.class, 3)); + }else +{ BA.debugLineNum = 40;BA.debugLine="Else If xui.IsB4J Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J").get().booleanValue()) { + BA.debugLineNum = 41;BA.debugLine="BlurReduceScale = 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_blurreducescale" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + }else +{ BA.debugLineNum = 42;BA.debugLine="Else if xui.IsB4A Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A").get().booleanValue()) { + BA.debugLineNum = 43;BA.debugLine="BlurReduceScale = 3"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_blurreducescale" /*RemoteObject*/ ,BA.numberCast(int.class, 3)); + }}} +; + BA.debugLineNum = 45;BA.debugLine="mParent = Parent"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mparent" /*RemoteObject*/ ,_parent); + BA.debugLineNum = 51;BA.debugLine="TitleBarFont = xui.CreateDefaultBoldFont(16)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_titlebarfont" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateDefaultBoldFont",(Object)(BA.numberCast(float.class, 16)))); + BA.debugLineNum = 52;BA.debugLine="ButtonsFont = xui.CreateDefaultBoldFont(15)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_buttonsfont" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateDefaultBoldFont",(Object)(BA.numberCast(float.class, 15)))); + BA.debugLineNum = 53;BA.debugLine="TitleBarTextColor = xui.Color_White"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_titlebartextcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White")); + BA.debugLineNum = 54;BA.debugLine="ButtonsState.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_buttonsstate" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _internaladdstubtoclvifneeded(RemoteObject __ref,RemoteObject _customlistview1,RemoteObject _color) throws Exception{ +try { + Debug.PushSubsStack("InternalAddStubToCLVIfNeeded (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,343); +if (RapidSub.canDelegate("internaladdstubtoclvifneeded")) { return __ref.runUserSub(false, "b4xdialog","internaladdstubtoclvifneeded", __ref, _customlistview1, _color);} +Debug.locals.put("CustomListView1", _customlistview1); +Debug.locals.put("Color", _color); + BA.debugLineNum = 343;BA.debugLine="Public Sub InternalAddStubToCLVIfNeeded(CustomList"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 344;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +Debug.JustUpdateDeviceLine(); +b4xdialog._xuiviewsutils.runVoidMethod ("_addstubtoclvifneeded" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_customlistview1),(Object)(_color)); + BA.debugLineNum = 345;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _internalsettextorcsbuildertolabel(RemoteObject __ref,RemoteObject _xlbl,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("InternalSetTextOrCSBuilderToLabel (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,339); +if (RapidSub.canDelegate("internalsettextorcsbuildertolabel")) { return __ref.runUserSub(false, "b4xdialog","internalsettextorcsbuildertolabel", __ref, _xlbl, _text);} +Debug.locals.put("xlbl", _xlbl); +Debug.locals.put("Text", _text); + BA.debugLineNum = 339;BA.debugLine="Public Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 340;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +Debug.JustUpdateDeviceLine(); +b4xdialog._xuiviewsutils.runVoidMethod ("_settextorcsbuildertolabel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_xlbl),(Object)(_text)); + BA.debugLineNum = 341;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Resize (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,263); +if (RapidSub.canDelegate("resize")) { return __ref.runUserSub(false, "b4xdialog","resize", __ref, _width, _height);} +RemoteObject _top = RemoteObject.createImmutable(0); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 263;BA.debugLine="Public Sub Resize (Width As Int, Height As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 265;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - Ba"; +Debug.JustUpdateDeviceLine(); +_top = BA.numberCast(int.class, b4xdialog.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2),__ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/-/",1, 0))));Debug.locals.put("Top", _top);Debug.locals.put("Top", _top); + BA.debugLineNum = 266;BA.debugLine="If PutAtTop Then Top = 20dip"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_putattop" /*RemoteObject*/ ).get().booleanValue()) { +_top = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)));Debug.locals.put("Top", _top);}; + BA.debugLineNum = 267;BA.debugLine="Background.SetLayoutAnimated(0, 0, 0, Width, Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 268;BA.debugLine="Base.SetLayoutAnimated(200, Round(Background.Widt"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 200)),(Object)(BA.numberCast(int.class, b4xdialog.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2),__ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/-/",1, 0))))),(Object)(_top),(Object)(__ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 269;BA.debugLine="If xui.IsB4J Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J").get().booleanValue()) { + BA.debugLineNum = 270;BA.debugLine="UpdateBlur"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_updateblur" /*RemoteObject*/ ); + }; + BA.debugLineNum = 272;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setavg(RemoteObject __ref,RemoteObject _bc,RemoteObject _x,RemoteObject _y,RemoteObject _clrs,RemoteObject _temp) throws Exception{ +try { + Debug.PushSubsStack("SetAvg (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,325); +if (RapidSub.canDelegate("setavg")) { return __ref.runUserSub(false, "b4xdialog","setavg", __ref, _bc, _x, _y, _clrs, _temp);} +RemoteObject _c = RemoteObject.declareNull("b4a.example.bitmapcreator._argbcolor"); +Debug.locals.put("bc", _bc); +Debug.locals.put("x", _x); +Debug.locals.put("y", _y); +Debug.locals.put("clrs", _clrs); +Debug.locals.put("temp", _temp); + BA.debugLineNum = 325;BA.debugLine="Private Sub SetAvg(bc As BitmapCreator, x As Int,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 326;BA.debugLine="temp.Initialize"; +Debug.JustUpdateDeviceLine(); +_temp.runVoidMethod ("Initialize"); + BA.debugLineNum = 327;BA.debugLine="For Each c As ARGBColor In clrs"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group2 = _clrs; +final int groupLen2 = group2.getField(true,"length").get() +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_c = group2.getArrayElement(false,RemoteObject.createImmutable(index2));Debug.locals.put("c", _c); +Debug.locals.put("c", _c); + BA.debugLineNum = 328;BA.debugLine="temp.r = temp.r + c.r"; +Debug.JustUpdateDeviceLine(); +_temp.setField ("r",RemoteObject.solve(new RemoteObject[] {_temp.getField(true,"r"),_c.getField(true,"r")}, "+",1, 1)); + BA.debugLineNum = 329;BA.debugLine="temp.g = temp.g + c.g"; +Debug.JustUpdateDeviceLine(); +_temp.setField ("g",RemoteObject.solve(new RemoteObject[] {_temp.getField(true,"g"),_c.getField(true,"g")}, "+",1, 1)); + BA.debugLineNum = 330;BA.debugLine="temp.b = temp.b + c.b"; +Debug.JustUpdateDeviceLine(); +_temp.setField ("b",RemoteObject.solve(new RemoteObject[] {_temp.getField(true,"b"),_c.getField(true,"b")}, "+",1, 1)); + } +}Debug.locals.put("c", _c); +; + BA.debugLineNum = 332;BA.debugLine="temp.a = 255"; +Debug.JustUpdateDeviceLine(); +_temp.setField ("a",BA.numberCast(int.class, 255)); + BA.debugLineNum = 333;BA.debugLine="temp.r = temp.r / 3"; +Debug.JustUpdateDeviceLine(); +_temp.setField ("r",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_temp.getField(true,"r"),RemoteObject.createImmutable(3)}, "/",0, 0))); + BA.debugLineNum = 334;BA.debugLine="temp.g = temp.g / 3"; +Debug.JustUpdateDeviceLine(); +_temp.setField ("g",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_temp.getField(true,"g"),RemoteObject.createImmutable(3)}, "/",0, 0))); + BA.debugLineNum = 335;BA.debugLine="temp.b = temp.b / 3"; +Debug.JustUpdateDeviceLine(); +_temp.setField ("b",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_temp.getField(true,"b"),RemoteObject.createImmutable(3)}, "/",0, 0))); + BA.debugLineNum = 336;BA.debugLine="bc.SetARGB(x, y, temp)"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_setargb",(Object)(_x),(Object)(_y),(Object)(_temp)); + BA.debugLineNum = 337;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbuttonstate(RemoteObject __ref,RemoteObject _resultcode,RemoteObject _enabled) throws Exception{ +try { + Debug.PushSubsStack("SetButtonState (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,223); +if (RapidSub.canDelegate("setbuttonstate")) { return __ref.runUserSub(false, "b4xdialog","setbuttonstate", __ref, _resultcode, _enabled);} +RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("ResultCode", _resultcode); +Debug.locals.put("Enabled", _enabled); + BA.debugLineNum = 223;BA.debugLine="Public Sub SetButtonState (ResultCode As Int, Enab"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 224;BA.debugLine="Dim b As B4XView = GetButton(ResultCode)"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_getbutton" /*RemoteObject*/ ,(Object)(_resultcode));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 225;BA.debugLine="If b.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_b.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 226;BA.debugLine="b.Enabled = Enabled"; +Debug.JustUpdateDeviceLine(); +_b.runMethod(true,"setEnabled",_enabled); + BA.debugLineNum = 227;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; +Debug.JustUpdateDeviceLine(); +if (_enabled.get().booleanValue()) { +_b.runMethod(true,"setTextColor",__ref.getField(true,"_buttonstextcolor" /*RemoteObject*/ ));} +else { +_b.runMethod(true,"setTextColor",__ref.getField(true,"_buttonstextcolordisabled" /*RemoteObject*/ ));}; + BA.debugLineNum = 228;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_buttonsstate" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_resultcode)),(Object)((_enabled))); + }; + BA.debugLineNum = 230;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _show(RemoteObject __ref,RemoteObject _text,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,74); +if (RapidSub.canDelegate("show")) { return __ref.runUserSub(false, "b4xdialog","show", __ref, _text, _yes, _no, _cancel);} +ResumableSub_Show rsub = new ResumableSub_Show(null,__ref,_text,_yes,_no,_cancel); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xdialog parent,RemoteObject __ref,RemoteObject _text,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) { +this.parent = parent; +this.__ref = __ref; +this._text = _text; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xdialog parent; +RemoteObject _text; +RemoteObject _yes; +RemoteObject _no; +RemoteObject _cancel; +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _result = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,74); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Text", _text); +Debug.locals.put("Yes", _yes); +Debug.locals.put("No", _no); +Debug.locals.put("Cancel", _cancel); + BA.debugLineNum = 75;BA.debugLine="Dim p As B4XView"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");Debug.locals.put("p", _p); + BA.debugLineNum = 76;BA.debugLine="p = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p); + BA.debugLineNum = 77;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 300dip, 100dip)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)))),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100))))); + BA.debugLineNum = 78;BA.debugLine="Dim lbl As Label"; +Debug.JustUpdateDeviceLine(); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 79;BA.debugLine="lbl.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 83;BA.debugLine="lbl.SingleLine = False"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("setSingleLine",parent.__c.getField(true,"False")); + BA.debugLineNum = 87;BA.debugLine="Dim xlbl As B4XView = lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 88;BA.debugLine="p.AddView(xlbl, 5dip, 0, p.Width - 10dip, p.Heigh"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("AddView",(Object)((_xlbl.getObject())),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))),(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {_p.runMethod(true,"getWidth"),parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))}, "-",1, 1)),(Object)(_p.runMethod(true,"getHeight"))); + BA.debugLineNum = 89;BA.debugLine="xlbl.TextColor = BodyTextColor"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setTextColor",__ref.getField(true,"_bodytextcolor" /*RemoteObject*/ )); + BA.debugLineNum = 90;BA.debugLine="xlbl.Font = TitleBarFont"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(false,"setFont",__ref.getField(false,"_titlebarfont" /*RemoteObject*/ )); + BA.debugLineNum = 91;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_settextorcsbuildertolabel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_xlbl),(Object)(_text)); + BA.debugLineNum = 92;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +Debug.JustUpdateDeviceLine(); +_xlbl.runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("LEFT"))); + BA.debugLineNum = 93;BA.debugLine="Wait For (ShowCustom(p, Yes, No, Cancel)) Complet"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xdialog", "show"), __ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_showcustom" /*RemoteObject*/ ,(Object)(_p),(Object)(_yes),(Object)(_no),(Object)(_cancel))); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 94;BA.debugLine="Return Result"; +Debug.JustUpdateDeviceLine(); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(_result));return;}; + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _complete(RemoteObject __ref,RemoteObject _result) throws Exception{ +} +public static RemoteObject _showcustom(RemoteObject __ref,RemoteObject _content,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) throws Exception{ +try { + Debug.PushSubsStack("ShowCustom (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,97); +if (RapidSub.canDelegate("showcustom")) { return __ref.runUserSub(false, "b4xdialog","showcustom", __ref, _content, _yes, _no, _cancel);} +ResumableSub_ShowCustom rsub = new ResumableSub_ShowCustom(null,__ref,_content,_yes,_no,_cancel); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_ShowCustom extends BA.ResumableSub { +public ResumableSub_ShowCustom(gunav2.keymon.com.mx.b4xdialog parent,RemoteObject __ref,RemoteObject _content,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) { +this.parent = parent; +this.__ref = __ref; +this._content = _content; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xdialog parent; +RemoteObject _content; +RemoteObject _yes; +RemoteObject _no; +RemoteObject _cancel; +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +RemoteObject _includetitle = RemoteObject.createImmutable(false); +RemoteObject _temptitlebarheight = RemoteObject.createImmutable(0); +RemoteObject _height = RemoteObject.createImmutable(0); +RemoteObject _width = RemoteObject.createImmutable(0); +RemoteObject _top = RemoteObject.createImmutable(0); +RemoteObject _removetitle = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _btype = RemoteObject.createImmutable(0); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _result = RemoteObject.createImmutable(0); +RemoteObject group1; +int index1; +int groupLen1; +int step46; +int limit46; +RemoteObject group74; +int index74; +int groupLen74; +RemoteObject group78; +int index78; +int groupLen78; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ShowCustom (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,97); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Content", _content); +Debug.locals.put("Yes", _yes); +Debug.locals.put("No", _no); +Debug.locals.put("Cancel", _cancel); + BA.debugLineNum = 98;BA.debugLine="For Each v As B4XView In mParent.GetAllViewsRecur"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//for +this.state = 8; +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +group1 = __ref.getField(false,"_mparent" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +index1 = 0; +groupLen1 = group1.runMethod(true,"getSize").get(); +Debug.locals.put("v", _v); +this.state = 60; +if (true) break; + +case 60: +//C +this.state = 8; +if (index1 < groupLen1) { +this.state = 3; +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group1.runMethod(false,"Get",index1));Debug.locals.put("v", _v);} +if (true) break; + +case 61: +//C +this.state = 60; +index1++; +Debug.locals.put("v", _v); +if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 99;BA.debugLine="If v.Tag <> Null And v.Tag = \"b4xdialog_backgrou"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 7; +if (RemoteObject.solveBoolean("N",_v.runMethod(false,"getTag")) && RemoteObject.solveBoolean("=",_v.runMethod(false,"getTag"),RemoteObject.createImmutable(("b4xdialog_background")))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 100;BA.debugLine="v.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_v.runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 101;BA.debugLine="Exit"; +Debug.JustUpdateDeviceLine(); +this.state = 8; +if (true) break; + if (true) break; + +case 7: +//C +this.state = 61; +; + if (true) break; +if (true) break; + +case 8: +//C +this.state = 9; +Debug.locals.put("v", _v); +; + BA.debugLineNum = 104;BA.debugLine="ButtonsState.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_buttonsstate" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 105;BA.debugLine="Dim Background As B4XView = xui.CreatePanel(\"back"; +Debug.JustUpdateDeviceLine(); +parent._background = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +parent._background = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("background")));__ref.setField("_background",parent._background); + BA.debugLineNum = 106;BA.debugLine="Background.Tag = \"b4xdialog_background\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("b4xdialog_background"))); + BA.debugLineNum = 107;BA.debugLine="If BlurBackground Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 9: +//if +this.state = 14; +if (__ref.getField(true,"_blurbackground" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 11; +}else { +this.state = 13; +}if (true) break; + +case 11: +//C +this.state = 14; + BA.debugLineNum = 108;BA.debugLine="Dim iv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iv", _iv); + BA.debugLineNum = 109;BA.debugLine="iv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 110;BA.debugLine="BlurImageView = iv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_blurimageview" /*RemoteObject*/ ).setObject (_iv.getObject()); + BA.debugLineNum = 111;BA.debugLine="Background.AddView(BlurImageView, 0, 0, Backgrou"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_blurimageview" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 112;BA.debugLine="Background.Color = xui.Color_Transparent"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 114;BA.debugLine="Background.Color = OverlayColor"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"setColor",__ref.getField(true,"_overlaycolor" /*RemoteObject*/ )); + if (true) break; + +case 14: +//C +this.state = 15; +; + BA.debugLineNum = 117;BA.debugLine="Dim p As Panel = Background"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), __ref.getField(false,"_background" /*RemoteObject*/ ).getObject());Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 118;BA.debugLine="p.Elevation = 4dip"; +Debug.JustUpdateDeviceLine(); +_p.runMethod(true,"setElevation",BA.numberCast(float.class, parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4))))); + BA.debugLineNum = 120;BA.debugLine="mParent.AddView(Background, 0, 0, mParent.Width,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mparent" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_background" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mparent" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mparent" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 121;BA.debugLine="UpdateBlur"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_updateblur" /*RemoteObject*/ ); + BA.debugLineNum = 122;BA.debugLine="Base = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_base" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")))); + BA.debugLineNum = 123;BA.debugLine="Base.SetColorAndBorder(BackgroundColor, BorderWid"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(true,"_backgroundcolor" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_borderwidth" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_bordercolor" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_bordercornersradius" /*RemoteObject*/ ))); + BA.debugLineNum = 124;BA.debugLine="Base.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 125;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; +Debug.JustUpdateDeviceLine(); +_includetitle = BA.ObjectToBoolean(RemoteObject.solveBoolean("!",__ref.getField(false,"_title" /*RemoteObject*/ ),RemoteObject.createImmutable((""))));Debug.locals.put("IncludeTitle", _includetitle);Debug.locals.put("IncludeTitle", _includetitle); + BA.debugLineNum = 126;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; +Debug.JustUpdateDeviceLine(); +_temptitlebarheight = BA.numberCast(int.class, 0);Debug.locals.put("TempTitleBarHeight", _temptitlebarheight);Debug.locals.put("TempTitleBarHeight", _temptitlebarheight); + BA.debugLineNum = 127;BA.debugLine="If IncludeTitle Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 15: +//if +this.state = 18; +if (_includetitle.get().booleanValue()) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 128;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; +Debug.JustUpdateDeviceLine(); +_temptitlebarheight = __ref.getField(true,"_titlebarheight" /*RemoteObject*/ );Debug.locals.put("TempTitleBarHeight", _temptitlebarheight); + if (true) break; + +case 18: +//C +this.state = 19; +; + BA.debugLineNum = 130;BA.debugLine="Dim height As Int = Content.Height + ButtonsHeigh"; +Debug.JustUpdateDeviceLine(); +_height = RemoteObject.solve(new RemoteObject[] {_content.runMethod(true,"getHeight"),__ref.getField(true,"_buttonsheight" /*RemoteObject*/ ),parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3))),parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3))),_temptitlebarheight}, "++++",4, 1);Debug.locals.put("height", _height);Debug.locals.put("height", _height); + BA.debugLineNum = 131;BA.debugLine="Dim width As Int = Content.Width + 4dip"; +Debug.JustUpdateDeviceLine(); +_width = RemoteObject.solve(new RemoteObject[] {_content.runMethod(true,"getWidth"),parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4)))}, "+",1, 1);Debug.locals.put("width", _width);Debug.locals.put("width", _width); + BA.debugLineNum = 132;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - he"; +Debug.JustUpdateDeviceLine(); +_top = BA.numberCast(int.class, parent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2),_height,RemoteObject.createImmutable(2)}, "/-/",1, 0))));Debug.locals.put("Top", _top);Debug.locals.put("Top", _top); + BA.debugLineNum = 133;BA.debugLine="Dim RemoveTitle As Boolean"; +Debug.JustUpdateDeviceLine(); +_removetitle = RemoteObject.createImmutable(false);Debug.locals.put("RemoveTitle", _removetitle); + BA.debugLineNum = 134;BA.debugLine="If PutAtTop Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 19: +//if +this.state = 28; +if (__ref.getField(true,"_putattop" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 21; +}if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 135;BA.debugLine="Top = 20dip"; +Debug.JustUpdateDeviceLine(); +_top = parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)));Debug.locals.put("Top", _top); + BA.debugLineNum = 136;BA.debugLine="If Background.Height - Top - height < 200dip The"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 22: +//if +this.state = 27; +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"),_top,_height}, "--",2, 1),BA.numberCast(double.class, parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200)))))) { +this.state = 24; +;}if (true) break; + +case 24: +//C +this.state = 27; +_removetitle = parent.__c.getField(true,"True");Debug.locals.put("RemoveTitle", _removetitle); +if (true) break; + +case 27: +//C +this.state = 28; +; + if (true) break; +; + BA.debugLineNum = 138;BA.debugLine="If RemoveTitle Or Background.Height < height Then"; +Debug.JustUpdateDeviceLine(); + +case 28: +//if +this.state = 31; +if (RemoteObject.solveBoolean(".",_removetitle) || RemoteObject.solveBoolean("<",__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"),BA.numberCast(double.class, _height))) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; + BA.debugLineNum = 139;BA.debugLine="Top = 1dip"; +Debug.JustUpdateDeviceLine(); +_top = parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("Top", _top); + BA.debugLineNum = 140;BA.debugLine="IncludeTitle = False"; +Debug.JustUpdateDeviceLine(); +_includetitle = parent.__c.getField(true,"False");Debug.locals.put("IncludeTitle", _includetitle); + BA.debugLineNum = 141;BA.debugLine="height = height - TempTitleBarHeight - 3dip"; +Debug.JustUpdateDeviceLine(); +_height = RemoteObject.solve(new RemoteObject[] {_height,_temptitlebarheight,parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "--",2, 1);Debug.locals.put("height", _height); + BA.debugLineNum = 142;BA.debugLine="TempTitleBarHeight = 0"; +Debug.JustUpdateDeviceLine(); +_temptitlebarheight = BA.numberCast(int.class, 0);Debug.locals.put("TempTitleBarHeight", _temptitlebarheight); + if (true) break; + +case 31: +//C +this.state = 32; +; + BA.debugLineNum = 144;BA.debugLine="Background.AddView(Base, Round(Background.Width /"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_base" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, parent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2),_width,RemoteObject.createImmutable(2)}, "/-/",1, 0))))),(Object)(_top),(Object)(BA.numberCast(int.class, parent.__c.runMethod(true,"Round",(Object)(BA.numberCast(double.class, _width))))),(Object)(BA.numberCast(int.class, parent.__c.runMethod(true,"Round",(Object)(BA.numberCast(double.class, _height)))))); + BA.debugLineNum = 146;BA.debugLine="For i = ButtonsOrder.Length - 1 To 0 Step - 1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 32: +//for +this.state = 43; +step46 = -1; +limit46 = 0; +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_buttonsorder" /*RemoteObject*/ ).getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue() ; +Debug.locals.put("i", _i); +this.state = 62; +if (true) break; + +case 62: +//C +this.state = 43; +if ((step46 > 0 && _i <= limit46) || (step46 < 0 && _i >= limit46)) this.state = 34; +if (true) break; + +case 63: +//C +this.state = 62; +_i = ((int)(0 + _i + step46)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 34: +//C +this.state = 35; + BA.debugLineNum = 147;BA.debugLine="Dim btype As Int = ButtonsOrder(i)"; +Debug.JustUpdateDeviceLine(); +_btype = __ref.getField(false,"_buttonsorder" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, _i));Debug.locals.put("btype", _btype);Debug.locals.put("btype", _btype); + BA.debugLineNum = 148;BA.debugLine="Select btype"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 35: +//select +this.state = 42; +switch (BA.switchObjectToInt(_btype,__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel"),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Negative"),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))) { +case 0: { +this.state = 37; +if (true) break; +} +case 1: { +this.state = 39; +if (true) break; +} +case 2: { +this.state = 41; +if (true) break; +} +} +if (true) break; + +case 37: +//C +this.state = 42; + BA.debugLineNum = 150;BA.debugLine="CreateButton(Cancel, btype)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_createbutton" /*RemoteObject*/ ,(Object)(_cancel),(Object)(_btype)); + if (true) break; + +case 39: +//C +this.state = 42; + BA.debugLineNum = 152;BA.debugLine="CreateButton(No, btype)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_createbutton" /*RemoteObject*/ ,(Object)(_no),(Object)(_btype)); + if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 154;BA.debugLine="CreateButton(Yes, btype)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_createbutton" /*RemoteObject*/ ,(Object)(_yes),(Object)(_btype)); + if (true) break; + +case 42: +//C +this.state = 63; +; + if (true) break; +if (true) break; + +case 43: +//C +this.state = 44; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 157;BA.debugLine="Base.Visible = False"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 158;BA.debugLine="If IncludeTitle Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 44: +//if +this.state = 47; +if (_includetitle.get().booleanValue()) { +this.state = 46; +}if (true) break; + +case 46: +//C +this.state = 47; + BA.debugLineNum = 159;BA.debugLine="TitleBar = xui.CreatePanel(\"TitleBar\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_titlebar" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TitleBar")))); + BA.debugLineNum = 160;BA.debugLine="TitleBar.Color = TitleBarColor"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_titlebar" /*RemoteObject*/ ).runMethod(true,"setColor",__ref.getField(true,"_titlebarcolor" /*RemoteObject*/ )); + BA.debugLineNum = 161;BA.debugLine="Base.AddView(TitleBar, 2dip, 2dip, Content.Width"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_titlebar" /*RemoteObject*/ ).getObject())),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(_content.runMethod(true,"getWidth")),(Object)(_temptitlebarheight)); + BA.debugLineNum = 162;BA.debugLine="Dim lbl As Label"; +Debug.JustUpdateDeviceLine(); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 163;BA.debugLine="lbl.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 164;BA.debugLine="Dim xlbl As B4XView = lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 165;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Ti"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_settextorcsbuildertolabel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_xlbl),(Object)(__ref.getField(false,"_title" /*RemoteObject*/ ))); + BA.debugLineNum = 166;BA.debugLine="xlbl.TextColor = TitleBarTextColor"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setTextColor",__ref.getField(true,"_titlebartextcolor" /*RemoteObject*/ )); + BA.debugLineNum = 167;BA.debugLine="xlbl.Font = TitleBarFont"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(false,"setFont",__ref.getField(false,"_titlebarfont" /*RemoteObject*/ )); + BA.debugLineNum = 168;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +_xlbl.runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 169;BA.debugLine="TitleBar.AddView(xlbl, 0, 0, TitleBar.Width, Tit"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_titlebar" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_xlbl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_titlebar" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_titlebar" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + if (true) break; + +case 47: +//C +this.state = 48; +; + BA.debugLineNum = 171;BA.debugLine="Content.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_content.runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 172;BA.debugLine="Base.AddView(Content, 2dip, 2dip + TempTitleBarHe"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_content.getObject())),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(RemoteObject.solve(new RemoteObject[] {parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))),_temptitlebarheight}, "+",1, 1)),(Object)(_content.runMethod(true,"getWidth")),(Object)(_content.runMethod(true,"getHeight"))); + BA.debugLineNum = 173;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("SetVisibleAnimated",(Object)(__ref.getField(true,"_visibleanimationduration" /*RemoteObject*/ )),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 174;BA.debugLine="For Each v As B4XView In Background.GetAllViewsRe"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 48: +//for +this.state = 51; +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +group74 = __ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +index74 = 0; +groupLen74 = group74.runMethod(true,"getSize").get(); +Debug.locals.put("v", _v); +this.state = 64; +if (true) break; + +case 64: +//C +this.state = 51; +if (index74 < groupLen74) { +this.state = 50; +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group74.runMethod(false,"Get",index74));Debug.locals.put("v", _v);} +if (true) break; + +case 65: +//C +this.state = 64; +index74++; +Debug.locals.put("v", _v); +if (true) break; + +case 50: +//C +this.state = 65; + BA.debugLineNum = 175;BA.debugLine="v.Enabled = True"; +Debug.JustUpdateDeviceLine(); +_v.runMethod(true,"setEnabled",parent.__c.getField(true,"True")); + if (true) break; +if (true) break; + +case 51: +//C +this.state = 52; +Debug.locals.put("v", _v); +; + BA.debugLineNum = 177;BA.debugLine="Wait For CloseMessage (Result As Int)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","closemessage", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xdialog", "showcustom"), null); +this.state = 66; +return; +case 66: +//C +this.state = 52; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 178;BA.debugLine="For Each v As B4XView In Background.GetAllViewsRe"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 52: +//for +this.state = 55; +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +group78 = __ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +index78 = 0; +groupLen78 = group78.runMethod(true,"getSize").get(); +Debug.locals.put("v", _v); +this.state = 67; +if (true) break; + +case 67: +//C +this.state = 55; +if (index78 < groupLen78) { +this.state = 54; +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group78.runMethod(false,"Get",index78));Debug.locals.put("v", _v);} +if (true) break; + +case 68: +//C +this.state = 67; +index78++; +Debug.locals.put("v", _v); +if (true) break; + +case 54: +//C +this.state = 68; + BA.debugLineNum = 179;BA.debugLine="v.Enabled = False"; +Debug.JustUpdateDeviceLine(); +_v.runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + if (true) break; +if (true) break; + +case 55: +//C +this.state = 56; +Debug.locals.put("v", _v); +; + BA.debugLineNum = 181;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("SetVisibleAnimated",(Object)(__ref.getField(true,"_visibleanimationduration" /*RemoteObject*/ )),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 182;BA.debugLine="If VisibleAnimationDuration > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 56: +//if +this.state = 59; +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_visibleanimationduration" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 58; +}if (true) break; + +case 58: +//C +this.state = 59; + BA.debugLineNum = 183;BA.debugLine="Sleep(VisibleAnimationDuration)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xdialog", "showcustom"),__ref.getField(true,"_visibleanimationduration" /*RemoteObject*/ )); +this.state = 69; +return; +case 69: +//C +this.state = 59; +; + if (true) break; + +case 59: +//C +this.state = -1; +; + BA.debugLineNum = 185;BA.debugLine="Background.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 186;BA.debugLine="Return Result"; +Debug.JustUpdateDeviceLine(); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(_result));return;}; + BA.debugLineNum = 187;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _closemessage(RemoteObject __ref,RemoteObject _result) throws Exception{ +} +public static RemoteObject _showtemplate(RemoteObject __ref,RemoteObject _dialogtemplate,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) throws Exception{ +try { + Debug.PushSubsStack("ShowTemplate (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,65); +if (RapidSub.canDelegate("showtemplate")) { return __ref.runUserSub(false, "b4xdialog","showtemplate", __ref, _dialogtemplate, _yes, _no, _cancel);} +ResumableSub_ShowTemplate rsub = new ResumableSub_ShowTemplate(null,__ref,_dialogtemplate,_yes,_no,_cancel); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_ShowTemplate extends BA.ResumableSub { +public ResumableSub_ShowTemplate(gunav2.keymon.com.mx.b4xdialog parent,RemoteObject __ref,RemoteObject _dialogtemplate,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) { +this.parent = parent; +this.__ref = __ref; +this._dialogtemplate = _dialogtemplate; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xdialog parent; +RemoteObject _dialogtemplate; +RemoteObject _yes; +RemoteObject _no; +RemoteObject _cancel; +RemoteObject _content = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _result = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ShowTemplate (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,65); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("DialogTemplate", _dialogtemplate); +Debug.locals.put("Yes", _yes); +Debug.locals.put("No", _no); +Debug.locals.put("Cancel", _cancel); + BA.debugLineNum = 66;BA.debugLine="Dim content As B4XView = CallSub2(DialogTemplate,"; +Debug.JustUpdateDeviceLine(); +_content = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_content = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), parent.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(_dialogtemplate),(Object)(BA.ObjectToString("GetPanel")),(Object)(__ref)));Debug.locals.put("content", _content);Debug.locals.put("content", _content); + BA.debugLineNum = 67;BA.debugLine="CallSub2(DialogTemplate, \"Show\", Me)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(_dialogtemplate),(Object)(BA.ObjectToString("Show")),(Object)(__ref)); + BA.debugLineNum = 68;BA.debugLine="Wait For (ShowCustom(content , Yes, No, Cancel))"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xdialog", "showtemplate"), __ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_showcustom" /*RemoteObject*/ ,(Object)(_content),(Object)(_yes),(Object)(_no),(Object)(_cancel))); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 69;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(_dialogtemplate),(Object)(BA.ObjectToString("DialogClosed")),(Object)((_result))); + BA.debugLineNum = 70;BA.debugLine="PutAtTop = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_putattop" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + BA.debugLineNum = 71;BA.debugLine="Return Result"; +Debug.JustUpdateDeviceLine(); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(_result));return;}; + BA.debugLineNum = 72;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _stub_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Stub_Click (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,349); +if (RapidSub.canDelegate("stub_click")) { return __ref.runUserSub(false, "b4xdialog","stub_click", __ref);} + BA.debugLineNum = 349;BA.debugLine="Private Sub Stub_Click"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 351;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updateblur(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateBlur (b4xdialog) ","b4xdialog",54,__ref.getField(false, "ba"),__ref,274); +if (RapidSub.canDelegate("updateblur")) { return __ref.runUserSub(false, "b4xdialog","updateblur", __ref);} +RemoteObject _source = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +RemoteObject _blurred = RemoteObject.declareNull("b4a.example.bitmapcreator"); + BA.debugLineNum = 274;BA.debugLine="Private Sub UpdateBlur"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 275;BA.debugLine="If BlurBackground = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_blurbackground" /*RemoteObject*/ ),b4xdialog.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 276;BA.debugLine="Background.Visible = False"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xdialog.__c.getField(true,"False")); + BA.debugLineNum = 277;BA.debugLine="Dim source As B4XBitmap = Background.Parent.Snaps"; +Debug.JustUpdateDeviceLine(); +_source = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_source = __ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(false,"getParent").runMethod(false,"Snapshot");Debug.locals.put("source", _source);Debug.locals.put("source", _source); + BA.debugLineNum = 278;BA.debugLine="If source.Width > Background.Width Or source.Heig"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_source.runMethod(true,"getWidth"),BA.numberCast(double.class, __ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getWidth"))) || RemoteObject.solveBoolean(">",_source.runMethod(true,"getHeight"),BA.numberCast(double.class, __ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight")))) { + BA.debugLineNum = 279;BA.debugLine="source = source.Crop(0, 0, Background.Width, Bac"; +Debug.JustUpdateDeviceLine(); +_source = _source.runMethod(false,"Crop",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight")));Debug.locals.put("source", _source); + }; + BA.debugLineNum = 281;BA.debugLine="Background.Visible = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xdialog.__c.getField(true,"True")); + BA.debugLineNum = 282;BA.debugLine="BlurImageView.SetLayoutAnimated(0, 0, 0, Backgrou"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_blurimageview" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 283;BA.debugLine="Dim blurred As BitmapCreator = Blur(source)"; +Debug.JustUpdateDeviceLine(); +_blurred = __ref.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_blur" /*RemoteObject*/ ,(Object)(_source));Debug.locals.put("blurred", _blurred);Debug.locals.put("blurred", _blurred); + BA.debugLineNum = 284;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; +Debug.JustUpdateDeviceLine(); +_blurred.runVoidMethod ("_setbitmaptoimageview",(Object)(_blurred.runMethod(false,"_getbitmap")),(Object)(__ref.getField(false,"_blurimageview" /*RemoteObject*/ ))); + BA.debugLineNum = 285;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xfloattextfield.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xfloattextfield.java new file mode 100644 index 0000000..dcf7f40 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xfloattextfield.java @@ -0,0 +1,62 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xfloattextfield { + public static RemoteObject myClass; + public b4xfloattextfield() { + } + public static PCBA staticBA = new PCBA(null, b4xfloattextfield.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mtextfield = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _animationduration = RemoteObject.createImmutable(0); +public static RemoteObject _largelabeltextsize = RemoteObject.createImmutable(0f); +public static RemoteObject _smalllabeltextsize = RemoteObject.createImmutable(0f); +public static RemoteObject _largelabel = RemoteObject.createImmutable(false); +public static RemoteObject _measuringcanvas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _hintcolor = RemoteObject.createImmutable(0); +public static RemoteObject _nonfocusedhintcolor = RemoteObject.createImmutable(0); +public static RemoteObject _hintimageview = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _hinttext = RemoteObject.createImmutable(""); +public static RemoteObject _hintfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _largefocused = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _largenotfocused = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _smallfocused = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _smallnotfocused = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _focused = RemoteObject.createImmutable(false); +public static RemoteObject _lblclear = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mprops = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _keyboardtype = RemoteObject.createImmutable(""); +public static RemoteObject _multiline = RemoteObject.createImmutable(false); +public static RemoteObject _mnexttextfield = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xfloattextfield"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _hintlabellargeoffsetx = RemoteObject.createImmutable(0); +public static RemoteObject _hintlabelsmalloffsety = RemoteObject.createImmutable(0); +public static RemoteObject _hintlabelsmalloffsetx = RemoteObject.createImmutable(0); +public static RemoteObject _lastswitchtextfieldtime = RemoteObject.createImmutable(0L); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AnimationDuration",_ref.getField(false, "_animationduration"),"DateUtils",_ref.getField(false, "_dateutils"),"Focused",_ref.getField(false, "_focused"),"HintColor",_ref.getField(false, "_hintcolor"),"HintFont",_ref.getField(false, "_hintfont"),"HintImageView",_ref.getField(false, "_hintimageview"),"HintLabelLargeOffsetX",_ref.getField(false, "_hintlabellargeoffsetx"),"HintLabelSmallOffsetX",_ref.getField(false, "_hintlabelsmalloffsetx"),"HintLabelSmallOffsetY",_ref.getField(false, "_hintlabelsmalloffsety"),"HintText",_ref.getField(false, "_hinttext"),"IME",_ref.getField(false, "_ime"),"KeyboardType",_ref.getField(false, "_keyboardtype"),"LargeFocused",_ref.getField(false, "_largefocused"),"LargeLabel",_ref.getField(false, "_largelabel"),"LargeLabelTextSize",_ref.getField(false, "_largelabeltextsize"),"LargeNotFocused",_ref.getField(false, "_largenotfocused"),"LastSwitchTextFieldTime",_ref.getField(false, "_lastswitchtextfieldtime"),"lblClear",_ref.getField(false, "_lblclear"),"lblV",_ref.getField(false, "_lblv"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"MeasuringCanvas",_ref.getField(false, "_measuringcanvas"),"mEventName",_ref.getField(false, "_meventname"),"mNextTextField",_ref.getField(false, "_mnexttextfield"),"mProps",_ref.getField(false, "_mprops"),"mTextField",_ref.getField(false, "_mtextfield"),"Multiline",_ref.getField(false, "_multiline"),"NonFocusedHintColor",_ref.getField(false, "_nonfocusedhintcolor"),"SmallFocused",_ref.getField(false, "_smallfocused"),"SmallLabelTextSize",_ref.getField(false, "_smalllabeltextsize"),"SmallNotFocused",_ref.getField(false, "_smallnotfocused"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xfloattextfield_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xfloattextfield_subs_0.java new file mode 100644 index 0000000..5a5d587 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xfloattextfield_subs_0.java @@ -0,0 +1,1310 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xfloattextfield_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,196); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xfloattextfield","base_resize", __ref, _width, _height);} +RemoteObject _firstdistance = RemoteObject.createImmutable(0); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 196;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 197;BA.debugLine="mTextField.SetLayoutAnimated(0, 0, 0, Width, Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 198;BA.debugLine="Dim FirstDistance As Int = 2dip"; +Debug.JustUpdateDeviceLine(); +_firstdistance = b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("FirstDistance", _firstdistance);Debug.locals.put("FirstDistance", _firstdistance); + BA.debugLineNum = 199;BA.debugLine="If Multiline And xui.IsB4J Then FirstDistance = 2"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(true,"_multiline" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J"))) { +_firstdistance = b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 22)));Debug.locals.put("FirstDistance", _firstdistance);}; + BA.debugLineNum = 200;BA.debugLine="If lblV.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_lblv" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 201;BA.debugLine="lblV.SetLayoutAnimated(0, Width - lblV.Width - F"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblv" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,__ref.getField(false,"_lblv" /*RemoteObject*/ ).runMethod(true,"getWidth"),_firstdistance}, "--",2, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_lblv" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 202;BA.debugLine="FirstDistance = FirstDistance + lblV.Width + 2di"; +Debug.JustUpdateDeviceLine(); +_firstdistance = RemoteObject.solve(new RemoteObject[] {_firstdistance,__ref.getField(false,"_lblv" /*RemoteObject*/ ).runMethod(true,"getWidth"),b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "++",2, 1);Debug.locals.put("FirstDistance", _firstdistance); + }; + BA.debugLineNum = 204;BA.debugLine="If lblClear.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 205;BA.debugLine="lblClear.SetLayoutAnimated(0, Width - lblClear.W"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"getWidth"),_firstdistance}, "--",2, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(BA.numberCast(int.class, _height))); + }; + BA.debugLineNum = 207;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_updatelabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(b4xfloattextfield.__c.getField(true,"True"))); + BA.debugLineNum = 208;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 16;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 17;BA.debugLine="Private mEventName As String 'ignore"; +b4xfloattextfield._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xfloattextfield._meventname); + //BA.debugLineNum = 18;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xfloattextfield._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xfloattextfield._mcallback); + //BA.debugLineNum = 19;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xfloattextfield._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xfloattextfield._mbase); + //BA.debugLineNum = 20;BA.debugLine="Private xui As XUI 'ignore"; +b4xfloattextfield._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xfloattextfield._xui); + //BA.debugLineNum = 21;BA.debugLine="Private mTextField As B4XView"; +b4xfloattextfield._mtextfield = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mtextfield",b4xfloattextfield._mtextfield); + //BA.debugLineNum = 22;BA.debugLine="Public AnimationDuration As Int = 200"; +b4xfloattextfield._animationduration = BA.numberCast(int.class, 200);__ref.setField("_animationduration",b4xfloattextfield._animationduration); + //BA.debugLineNum = 23;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; +b4xfloattextfield._largelabeltextsize = BA.numberCast(float.class, 18);__ref.setField("_largelabeltextsize",b4xfloattextfield._largelabeltextsize); +b4xfloattextfield._smalllabeltextsize = BA.numberCast(float.class, 14);__ref.setField("_smalllabeltextsize",b4xfloattextfield._smalllabeltextsize); + //BA.debugLineNum = 24;BA.debugLine="Private LargeLabel As Boolean"; +b4xfloattextfield._largelabel = RemoteObject.createImmutable(false);__ref.setField("_largelabel",b4xfloattextfield._largelabel); + //BA.debugLineNum = 25;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; +b4xfloattextfield._measuringcanvas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_measuringcanvas",b4xfloattextfield._measuringcanvas); + //BA.debugLineNum = 26;BA.debugLine="Public HintColor As Int"; +b4xfloattextfield._hintcolor = RemoteObject.createImmutable(0);__ref.setField("_hintcolor",b4xfloattextfield._hintcolor); + //BA.debugLineNum = 27;BA.debugLine="Public NonFocusedHintColor As Int"; +b4xfloattextfield._nonfocusedhintcolor = RemoteObject.createImmutable(0);__ref.setField("_nonfocusedhintcolor",b4xfloattextfield._nonfocusedhintcolor); + //BA.debugLineNum = 28;BA.debugLine="Private HintImageView As B4XView"; +b4xfloattextfield._hintimageview = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_hintimageview",b4xfloattextfield._hintimageview); + //BA.debugLineNum = 29;BA.debugLine="Public HintText As String"; +b4xfloattextfield._hinttext = RemoteObject.createImmutable("");__ref.setField("_hinttext",b4xfloattextfield._hinttext); + //BA.debugLineNum = 30;BA.debugLine="Public HintFont As B4XFont"; +b4xfloattextfield._hintfont = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_hintfont",b4xfloattextfield._hintfont); + //BA.debugLineNum = 31;BA.debugLine="Private LargeFocused, LargeNotFocused, SmallFocus"; +b4xfloattextfield._largefocused = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_largefocused",b4xfloattextfield._largefocused); +b4xfloattextfield._largenotfocused = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_largenotfocused",b4xfloattextfield._largenotfocused); +b4xfloattextfield._smallfocused = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_smallfocused",b4xfloattextfield._smallfocused); +b4xfloattextfield._smallnotfocused = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_smallnotfocused",b4xfloattextfield._smallnotfocused); + //BA.debugLineNum = 32;BA.debugLine="Public Focused As Boolean"; +b4xfloattextfield._focused = RemoteObject.createImmutable(false);__ref.setField("_focused",b4xfloattextfield._focused); + //BA.debugLineNum = 33;BA.debugLine="Public lblClear As B4XView"; +b4xfloattextfield._lblclear = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblclear",b4xfloattextfield._lblclear); + //BA.debugLineNum = 34;BA.debugLine="Public lblV As B4XView"; +b4xfloattextfield._lblv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblv",b4xfloattextfield._lblv); + //BA.debugLineNum = 35;BA.debugLine="Private mProps As Map"; +b4xfloattextfield._mprops = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_mprops",b4xfloattextfield._mprops); + //BA.debugLineNum = 36;BA.debugLine="Public Tag As Object"; +b4xfloattextfield._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xfloattextfield._tag); + //BA.debugLineNum = 37;BA.debugLine="Private KeyboardType As String 'ignore"; +b4xfloattextfield._keyboardtype = RemoteObject.createImmutable("");__ref.setField("_keyboardtype",b4xfloattextfield._keyboardtype); + //BA.debugLineNum = 38;BA.debugLine="Private Multiline As Boolean"; +b4xfloattextfield._multiline = RemoteObject.createImmutable(false);__ref.setField("_multiline",b4xfloattextfield._multiline); + //BA.debugLineNum = 39;BA.debugLine="Private mNextTextField As B4XFloatTextField"; +b4xfloattextfield._mnexttextfield = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xfloattextfield");__ref.setField("_mnexttextfield",b4xfloattextfield._mnexttextfield); + //BA.debugLineNum = 41;BA.debugLine="Private IME As IME"; +b4xfloattextfield._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",b4xfloattextfield._ime); + //BA.debugLineNum = 46;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; +b4xfloattextfield._hintlabellargeoffsetx = RemoteObject.createImmutable(0);__ref.setField("_hintlabellargeoffsetx",b4xfloattextfield._hintlabellargeoffsetx); +b4xfloattextfield._hintlabelsmalloffsety = b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_hintlabelsmalloffsety",b4xfloattextfield._hintlabelsmalloffsety); +b4xfloattextfield._hintlabelsmalloffsetx = b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_hintlabelsmalloffsetx",b4xfloattextfield._hintlabelsmalloffsetx); + //BA.debugLineNum = 47;BA.debugLine="Private LastSwitchTextFieldTime As Long"; +b4xfloattextfield._lastswitchtextfieldtime = RemoteObject.createImmutable(0L);__ref.setField("_lastswitchtextfieldtime",b4xfloattextfield._lastswitchtextfieldtime); + //BA.debugLineNum = 48;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createacceptbutton(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateAcceptButton (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,125); +if (RapidSub.canDelegate("createacceptbutton")) { return __ref.runUserSub(false, "b4xfloattextfield","createacceptbutton", __ref);} + BA.debugLineNum = 125;BA.debugLine="Private Sub CreateAcceptButton"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 126;BA.debugLine="If mProps.GetDefault(\"ShowAccept\", True) = False"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mprops" /*RemoteObject*/ ).runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("ShowAccept"))),(Object)((b4xfloattextfield.__c.getField(true,"True")))),(b4xfloattextfield.__c.getField(true,"False")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 127;BA.debugLine="lblV = CreateButton(Chr(0xE5CA))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblv" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createbutton" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xfloattextfield.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe5ca)))))))); + BA.debugLineNum = 128;BA.debugLine="lblV.Tag = \"v\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblv" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("v"))); + BA.debugLineNum = 129;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createbitmap(RemoteObject __ref,RemoteObject _r,RemoteObject _color,RemoteObject _fnt) throws Exception{ +try { + Debug.PushSubsStack("CreateBitmap (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,257); +if (RapidSub.canDelegate("createbitmap")) { return __ref.runUserSub(false, "b4xfloattextfield","createbitmap", __ref, _r, _color, _fnt);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +RemoteObject _baseline = RemoteObject.createImmutable(0); +RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +Debug.locals.put("r", _r); +Debug.locals.put("Color", _color); +Debug.locals.put("Fnt", _fnt); + BA.debugLineNum = 257;BA.debugLine="Private Sub CreateBitmap(r As B4XRect, Color As In"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 258;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 259;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Max(1, r.Width + 2di"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, b4xfloattextfield.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_r.runMethod(true,"getWidth"),b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "+",1, 0))))),(Object)(BA.numberCast(int.class, b4xfloattextfield.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_r.runMethod(true,"getHeight"),b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "+",1, 0)))))); + BA.debugLineNum = 260;BA.debugLine="Dim c As B4XCanvas"; +Debug.JustUpdateDeviceLine(); +_c = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");Debug.locals.put("c", _c); + BA.debugLineNum = 261;BA.debugLine="c.Initialize(p)"; +Debug.JustUpdateDeviceLine(); +_c.runVoidMethod ("Initialize",(Object)(_p)); + BA.debugLineNum = 262;BA.debugLine="Dim BaseLine As Int = p.Height / 2 - r.Height / 2"; +Debug.JustUpdateDeviceLine(); +_baseline = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_p.runMethod(true,"getHeight"),RemoteObject.createImmutable(2),_r.runMethod(true,"getHeight"),RemoteObject.createImmutable(2),_r.runMethod(true,"getTop")}, "/-/-",2, 0));Debug.locals.put("BaseLine", _baseline);Debug.locals.put("BaseLine", _baseline); + BA.debugLineNum = 263;BA.debugLine="c.DrawText(HintText, p.Width / 2, BaseLine, Fnt,"; +Debug.JustUpdateDeviceLine(); +_c.runVoidMethod ("DrawText",__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_hinttext" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_p.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(Object)(BA.numberCast(float.class, _baseline)),(Object)(_fnt),(Object)(_color),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Paint.Align"),RemoteObject.createImmutable("CENTER")))); + BA.debugLineNum = 264;BA.debugLine="Dim bmp As B4XBitmap = c.CreateBitmap"; +Debug.JustUpdateDeviceLine(); +_bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_bmp = _c.runMethod(false,"CreateBitmap");Debug.locals.put("bmp", _bmp);Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 265;BA.debugLine="c.Release"; +Debug.JustUpdateDeviceLine(); +_c.runVoidMethod ("Release"); + BA.debugLineNum = 266;BA.debugLine="Return bmp"; +Debug.JustUpdateDeviceLine(); +if (true) return _bmp; + BA.debugLineNum = 267;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createbutton(RemoteObject __ref,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("CreateButton (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,182); +if (RapidSub.canDelegate("createbutton")) { return __ref.runUserSub(false, "b4xfloattextfield","createbutton", __ref, _text);} +RemoteObject _lc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Text", _text); + BA.debugLineNum = 182;BA.debugLine="Private Sub CreateButton (Text As String) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 183;BA.debugLine="Dim lc As Label"; +Debug.JustUpdateDeviceLine(); +_lc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lc", _lc); + BA.debugLineNum = 184;BA.debugLine="lc.Initialize(\"lc\")"; +Debug.JustUpdateDeviceLine(); +_lc.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("lc"))); + BA.debugLineNum = 185;BA.debugLine="Dim x As B4XView = lc"; +Debug.JustUpdateDeviceLine(); +_x = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lc.getObject());Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 186;BA.debugLine="x = lc"; +Debug.JustUpdateDeviceLine(); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lc.getObject());Debug.locals.put("x", _x); + BA.debugLineNum = 187;BA.debugLine="x.Font = xui.CreateMaterialIcons(20)"; +Debug.JustUpdateDeviceLine(); +_x.runMethod(false,"setFont",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateMaterialIcons",(Object)(BA.numberCast(float.class, 20)))); + BA.debugLineNum = 188;BA.debugLine="x.Text = Text"; +Debug.JustUpdateDeviceLine(); +_x.runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 189;BA.debugLine="x.TextColor = mTextField.TextColor"; +Debug.JustUpdateDeviceLine(); +_x.runMethod(true,"setTextColor",__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getTextColor")); + BA.debugLineNum = 190;BA.debugLine="x.Visible = False"; +Debug.JustUpdateDeviceLine(); +_x.runMethod(true,"setVisible",b4xfloattextfield.__c.getField(true,"False")); + BA.debugLineNum = 191;BA.debugLine="x.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +_x.runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 192;BA.debugLine="mBase.AddView(x, 0, 0, 30dip, 30dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_x.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)))),(Object)(b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30))))); + BA.debugLineNum = 193;BA.debugLine="Return x"; +Debug.JustUpdateDeviceLine(); +if (true) return _x; + BA.debugLineNum = 194;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createclearbutton(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateClearButton (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,117); +if (RapidSub.canDelegate("createclearbutton")) { return __ref.runUserSub(false, "b4xfloattextfield","createclearbutton", __ref);} + BA.debugLineNum = 117;BA.debugLine="Private Sub CreateClearButton"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 118;BA.debugLine="If mProps.GetDefault(\"ShowClear\", True) = False T"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mprops" /*RemoteObject*/ ).runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("ShowClear"))),(Object)((b4xfloattextfield.__c.getField(true,"True")))),(b4xfloattextfield.__c.getField(true,"False")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 119;BA.debugLine="If lblClear.IsInitialized And lblClear.Parent.IsI"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"getParent").runMethod(true,"IsInitialized"))) { +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent");}; + BA.debugLineNum = 120;BA.debugLine="lblClear = CreateButton(Chr(0xE14C))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblclear" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createbutton" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xfloattextfield.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe14c)))))))); + BA.debugLineNum = 121;BA.debugLine="lblClear.Tag = \"clear\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("clear"))); + BA.debugLineNum = 123;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createrevealbutton(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateRevealButton (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,132); +if (RapidSub.canDelegate("createrevealbutton")) { return __ref.runUserSub(false, "b4xfloattextfield","createrevealbutton", __ref);} + BA.debugLineNum = 132;BA.debugLine="Private Sub CreateRevealButton"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 133;BA.debugLine="lblClear = CreateButton(Chr(0xE8F4))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblclear" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createbutton" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xfloattextfield.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe8f4)))))))); + BA.debugLineNum = 134;BA.debugLine="lblClear.Tag = \"reveal\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("reveal"))); + BA.debugLineNum = 135;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createtextfield(RemoteObject __ref,RemoteObject _password) throws Exception{ +try { + Debug.PushSubsStack("CreateTextField (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,328); +if (RapidSub.canDelegate("createtextfield")) { return __ref.runUserSub(false, "b4xfloattextfield","createtextfield", __ref, _password);} +RemoteObject _tf = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +Debug.locals.put("Password", _password); + BA.debugLineNum = 328;BA.debugLine="Private Sub CreateTextField (Password As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 344;BA.debugLine="Dim tf As EditText"; +Debug.JustUpdateDeviceLine(); +_tf = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");Debug.locals.put("tf", _tf); + BA.debugLineNum = 345;BA.debugLine="tf.Initialize(\"tf\")"; +Debug.JustUpdateDeviceLine(); +_tf.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("tf"))); + BA.debugLineNum = 346;BA.debugLine="tf.SingleLine = Not(Multiline)"; +Debug.JustUpdateDeviceLine(); +_tf.runVoidMethod ("setSingleLine",b4xfloattextfield.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_multiline" /*RemoteObject*/ )))); + BA.debugLineNum = 347;BA.debugLine="tf.PasswordMode = Password"; +Debug.JustUpdateDeviceLine(); +_tf.runVoidMethod ("setPasswordMode",_password); + BA.debugLineNum = 348;BA.debugLine="If Password Then"; +Debug.JustUpdateDeviceLine(); +if (_password.get().booleanValue()) { + BA.debugLineNum = 349;BA.debugLine="If KeyboardType <> \"Text\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_keyboardtype" /*RemoteObject*/ ),BA.ObjectToString("Text"))) { + BA.debugLineNum = 350;BA.debugLine="tf.InputType = Bit.Or(tf.INPUT_TYPE_NUMBERS, 16"; +Debug.JustUpdateDeviceLine(); +_tf.runMethod(true,"setInputType",b4xfloattextfield.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_tf.getField(true,"INPUT_TYPE_NUMBERS")),(Object)(BA.numberCast(int.class, 16)))); + }else { + BA.debugLineNum = 352;BA.debugLine="tf.InputType = Bit.Or(0x00000080, 0x00080000) '"; +Debug.JustUpdateDeviceLine(); +_tf.runMethod(true,"setInputType",b4xfloattextfield.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(BA.numberCast(int.class, ((int)0x00000080))),(Object)(BA.numberCast(int.class, ((int)0x00080000))))); + }; + }else { + BA.debugLineNum = 355;BA.debugLine="Select KeyboardType"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(__ref.getField(true,"_keyboardtype" /*RemoteObject*/ ),BA.ObjectToString("Numbers"),BA.ObjectToString("Decimal"))) { +case 0: { + BA.debugLineNum = 357;BA.debugLine="tf.InputType = tf.INPUT_TYPE_NUMBERS"; +Debug.JustUpdateDeviceLine(); +_tf.runMethod(true,"setInputType",_tf.getField(true,"INPUT_TYPE_NUMBERS")); + break; } +case 1: { + BA.debugLineNum = 359;BA.debugLine="tf.InputType = tf.INPUT_TYPE_DECIMAL_NUMBERS"; +Debug.JustUpdateDeviceLine(); +_tf.runMethod(true,"setInputType",_tf.getField(true,"INPUT_TYPE_DECIMAL_NUMBERS")); + break; } +} +; + }; + BA.debugLineNum = 362;BA.debugLine="Return tf"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _tf.getObject()); + BA.debugLineNum = 386;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createtextfieldall(RemoteObject __ref,RemoteObject _passwordmode,RemoteObject _font1,RemoteObject _textcolor) throws Exception{ +try { + Debug.PushSubsStack("CreateTextFieldAll (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,109); +if (RapidSub.canDelegate("createtextfieldall")) { return __ref.runUserSub(false, "b4xfloattextfield","createtextfieldall", __ref, _passwordmode, _font1, _textcolor);} +Debug.locals.put("PasswordMode", _passwordmode); +Debug.locals.put("Font1", _font1); +Debug.locals.put("TextColor", _textcolor); + BA.debugLineNum = 109;BA.debugLine="Private Sub CreateTextFieldAll (PasswordMode As Bo"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 110;BA.debugLine="mTextField = CreateTextField (PasswordMode)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mtextfield" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createtextfield" /*RemoteObject*/ ,(Object)(_passwordmode))); + BA.debugLineNum = 111;BA.debugLine="mTextField.Font = Font1"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(false,"setFont",_font1); + BA.debugLineNum = 112;BA.debugLine="mTextField.TextColor = TextColor"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"setTextColor",_textcolor); + BA.debugLineNum = 113;BA.debugLine="setNextField(mNextTextField)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_setnextfield" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ))); + BA.debugLineNum = 114;BA.debugLine="mBase.AddView(mTextField, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,67); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4xfloattextfield","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _passedlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +RemoteObject _passwordmode = RemoteObject.createImmutable(false); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 67;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 68;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 69;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 69;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 70;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 71;BA.debugLine="mProps = Props"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mprops" /*RemoteObject*/ ,_props); + BA.debugLineNum = 72;BA.debugLine="Dim PassedLabel As B4XView = lbl"; +Debug.JustUpdateDeviceLine(); +_passedlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_passedlabel = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("PassedLabel", _passedlabel);Debug.locals.put("PassedLabel", _passedlabel); + BA.debugLineNum = 73;BA.debugLine="Dim iv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iv", _iv); + BA.debugLineNum = 74;BA.debugLine="iv.Initialize(\"HintImageView\")"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("HintImageView"))); + BA.debugLineNum = 75;BA.debugLine="HintImageView = iv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_hintimageview" /*RemoteObject*/ ).setObject (_iv.getObject()); + BA.debugLineNum = 76;BA.debugLine="KeyboardType = Props.GetDefault(\"KeyboardType\", \""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_keyboardtype" /*RemoteObject*/ ,BA.ObjectToString(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("KeyboardType"))),(Object)((RemoteObject.createImmutable("Text")))))); + BA.debugLineNum = 82;BA.debugLine="HintColor = xui.PaintOrColorToColor(Props.Get(\"Hi"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_hintcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HintColor"))))))); + BA.debugLineNum = 83;BA.debugLine="NonFocusedHintColor = xui.PaintOrColorToColor(Pro"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_nonfocusedhintcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("NonFocusedHintColor"))))))); + BA.debugLineNum = 85;BA.debugLine="HintText = Props.Get(\"Hint\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_hinttext" /*RemoteObject*/ ,BA.ObjectToString(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Hint")))))); + BA.debugLineNum = 86;BA.debugLine="HintFont = PassedLabel.Font"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_hintfont" /*RemoteObject*/ ,_passedlabel.runMethod(false,"getFont")); + BA.debugLineNum = 87;BA.debugLine="Dim PasswordMode As Boolean = Props.GetDefault(\"P"; +Debug.JustUpdateDeviceLine(); +_passwordmode = BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("PasswordField"))),(Object)((b4xfloattextfield.__c.getField(true,"False")))));Debug.locals.put("PasswordMode", _passwordmode);Debug.locals.put("PasswordMode", _passwordmode); + BA.debugLineNum = 88;BA.debugLine="Multiline = Props.GetDefault(\"Multiline\", False)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_multiline" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("Multiline"))),(Object)((b4xfloattextfield.__c.getField(true,"False")))))); + BA.debugLineNum = 89;BA.debugLine="If PasswordMode And Multiline Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_passwordmode) && RemoteObject.solveBoolean(".",__ref.getField(true,"_multiline" /*RemoteObject*/ ))) { + BA.debugLineNum = 90;BA.debugLine="Multiline = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_multiline" /*RemoteObject*/ ,b4xfloattextfield.__c.getField(true,"False")); + BA.debugLineNum = 91;BA.debugLine="Log(\"Multiline not supported with password mode."; +Debug.JustUpdateDeviceLine(); +b4xfloattextfield.__c.runVoidMethod ("LogImpl","928508184",RemoteObject.createImmutable("Multiline not supported with password mode."),0); + }; + BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createtextfieldall" /*RemoteObject*/ ,(Object)(_passwordmode),(Object)(_passedlabel.runMethod(false,"getFont")),(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)((_lbl.runMethod(true,"getTextColor")))))); + BA.debugLineNum = 95;BA.debugLine="mBase.AddView(HintImageView, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_hintimageview" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 96;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 97;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 98;BA.debugLine="MeasuringCanvas.Initialize(p)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_measuringcanvas" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_p)); + BA.debugLineNum = 99;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 100;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_passwordmode) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("ShowRevealButton"))),(Object)((b4xfloattextfield.__c.getField(true,"False"))))))) { + BA.debugLineNum = 101;BA.debugLine="CreateRevealButton"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createrevealbutton" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 103;BA.debugLine="CreateClearButton"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createclearbutton" /*RemoteObject*/ ); + }; + BA.debugLineNum = 105;BA.debugLine="CreateAcceptButton"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createacceptbutton" /*RemoteObject*/ ); + BA.debugLineNum = 106;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getnextfield(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getNextField (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,295); +if (RapidSub.canDelegate("getnextfield")) { return __ref.runUserSub(false, "b4xfloattextfield","getnextfield", __ref);} + BA.debugLineNum = 295;BA.debugLine="Public Sub getNextField As B4XFloatTextField"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 296;BA.debugLine="Return mNextTextField"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ); + BA.debugLineNum = 297;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettext(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getText (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,388); +if (RapidSub.canDelegate("gettext")) { return __ref.runUserSub(false, "b4xfloattextfield","gettext", __ref);} + BA.debugLineNum = 388;BA.debugLine="Public Sub getText As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 389;BA.debugLine="Return mTextField.Text"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText"); + BA.debugLineNum = 390;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettextfield(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getTextField (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,445); +if (RapidSub.canDelegate("gettextfield")) { return __ref.runUserSub(false, "b4xfloattextfield","gettextfield", __ref);} + BA.debugLineNum = 445;BA.debugLine="Public Sub getTextField As B4XView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 446;BA.debugLine="Return mTextField"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mtextfield" /*RemoteObject*/ ); + BA.debugLineNum = 447;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ime_handleaction(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ime_HandleAction (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,314); +if (RapidSub.canDelegate("ime_handleaction")) { return __ref.runUserSub(false, "b4xfloattextfield","ime_handleaction", __ref);} + BA.debugLineNum = 314;BA.debugLine="Private Sub ime_HandleAction As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 315;BA.debugLine="tf_EnterPressed"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_tf_enterpressed" /*RemoteObject*/ ); + BA.debugLineNum = 316;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { +if (true) return b4xfloattextfield.__c.getField(true,"True");}; + BA.debugLineNum = 317;BA.debugLine="Return False"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xfloattextfield.__c.getField(true,"False"); + BA.debugLineNum = 318;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,50); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xfloattextfield","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 50;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 51;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 52;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 53;BA.debugLine="If xui.IsB4A Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A").get().booleanValue()) { + BA.debugLineNum = 54;BA.debugLine="HintLabelLargeOffsetX = 6dip"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_hintlabellargeoffsetx" /*RemoteObject*/ ,b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 6)))); + }else { + BA.debugLineNum = 56;BA.debugLine="HintLabelLargeOffsetX = 12dip"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_hintlabellargeoffsetx" /*RemoteObject*/ ,b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 12)))); + }; + BA.debugLineNum = 59;BA.debugLine="IME.Initialize(\"ime\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("ime"))); + BA.debugLineNum = 65;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("lc_Click (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,403); +if (RapidSub.canDelegate("lc_click")) { return __ref.runUserSub(false, "b4xfloattextfield","lc_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); + BA.debugLineNum = 403;BA.debugLine="Private Sub lc_Click"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 404;BA.debugLine="Dim btn As B4XView = Sender"; +Debug.JustUpdateDeviceLine(); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xfloattextfield.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 405;BA.debugLine="Select btn.Tag"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(_btn.runMethod(false,"getTag"),RemoteObject.createImmutable(("clear")),RemoteObject.createImmutable(("reveal")),RemoteObject.createImmutable(("hide")),RemoteObject.createImmutable(("v")))) { +case 0: { + BA.debugLineNum = 407;BA.debugLine="setText(\"\")"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_settext" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable(""))); + break; } +case 1: { + BA.debugLineNum = 409;BA.debugLine="SwitchFromPasswordToRegular (True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_switchfrompasswordtoregular" /*void*/ ,(Object)(b4xfloattextfield.__c.getField(true,"True"))); + break; } +case 2: { + BA.debugLineNum = 411;BA.debugLine="SwitchFromPasswordToRegular(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_switchfrompasswordtoregular" /*void*/ ,(Object)(b4xfloattextfield.__c.getField(true,"False"))); + break; } +case 3: { + BA.debugLineNum = 413;BA.debugLine="tf_EnterPressed"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_tf_enterpressed" /*RemoteObject*/ ); + BA.debugLineNum = 414;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ),b4xfloattextfield.__c.getField(true,"False")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ),(__ref))) { + BA.debugLineNum = 416;BA.debugLine="IME.HideKeyboard"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + }; + break; } +} +; + BA.debugLineNum = 422;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _requestfocusandshowkeyboard(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("RequestFocusAndShowKeyboard (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,450); +if (RapidSub.canDelegate("requestfocusandshowkeyboard")) { return __ref.runUserSub(false, "b4xfloattextfield","requestfocusandshowkeyboard", __ref);} + BA.debugLineNum = 450;BA.debugLine="Public Sub RequestFocusAndShowKeyboard"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 451;BA.debugLine="mTextField.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 453;BA.debugLine="IME.ShowKeyboard(mTextField)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("ShowKeyboard",(Object)((__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 455;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setnextfield(RemoteObject __ref,RemoteObject _field) throws Exception{ +try { + Debug.PushSubsStack("setNextField (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,299); +if (RapidSub.canDelegate("setnextfield")) { return __ref.runUserSub(false, "b4xfloattextfield","setnextfield", __ref, _field);} +RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +RemoteObject _o = RemoteObject.declareNull("Object"); +Debug.locals.put("Field", _field); + BA.debugLineNum = 299;BA.debugLine="Public Sub setNextField (Field As B4XFloatTextFiel"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 300;BA.debugLine="If Field.IsInitialized = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_field.runMethod(true,"IsInitialized" /*RemoteObject*/ ),b4xfloattextfield.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 302;BA.debugLine="If Multiline = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_multiline" /*RemoteObject*/ ),b4xfloattextfield.__c.getField(true,"False"))) { + BA.debugLineNum = 303;BA.debugLine="If Field <> Me Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_field,(__ref))) { + BA.debugLineNum = 304;BA.debugLine="IME.AddHandleActionEvent(mTextField)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("AddHandleActionEvent",(Object)((__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject())),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 306;BA.debugLine="Dim et As EditText = mTextField"; +Debug.JustUpdateDeviceLine(); +_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_et = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), __ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject());Debug.locals.put("et", _et);Debug.locals.put("et", _et); + BA.debugLineNum = 307;BA.debugLine="et.ForceDoneButton = True"; +Debug.JustUpdateDeviceLine(); +_et.runVoidMethod ("setForceDoneButton",b4xfloattextfield.__c.getField(true,"True")); + }; + BA.debugLineNum = 310;BA.debugLine="Dim o As Object = Field"; +Debug.JustUpdateDeviceLine(); +_o = (_field);Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 311;BA.debugLine="mNextTextField = o"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mnexttextfield" /*RemoteObject*/ ,(_o)); + BA.debugLineNum = 312;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settext(RemoteObject __ref,RemoteObject _s) throws Exception{ +try { + Debug.PushSubsStack("setText (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,392); +if (RapidSub.canDelegate("settext")) { return __ref.runUserSub(false, "b4xfloattextfield","settext", __ref, _s);} +RemoteObject _old = RemoteObject.createImmutable(""); +Debug.locals.put("s", _s); + BA.debugLineNum = 392;BA.debugLine="Public Sub setText(s As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 393;BA.debugLine="Dim old As String = mTextField.Text 'ignore"; +Debug.JustUpdateDeviceLine(); +_old = __ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("old", _old);Debug.locals.put("old", _old); + BA.debugLineNum = 394;BA.debugLine="mTextField.Text = s"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s)); + BA.debugLineNum = 396;BA.debugLine="If IsPaused(Me) Then tf_TextChanged(old, s)"; +Debug.JustUpdateDeviceLine(); +if (b4xfloattextfield.__c.runMethod(true,"IsPaused",__ref.getField(false, "ba"),(Object)(__ref)).get().booleanValue()) { +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_tf_textchanged" /*RemoteObject*/ ,(Object)(_old),(Object)(_s));}; + BA.debugLineNum = 400;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _switchfrompasswordtoregular(RemoteObject __ref,RemoteObject _toregular) throws Exception{ +try { + Debug.PushSubsStack("SwitchFromPasswordToRegular (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,137); +if (RapidSub.canDelegate("switchfrompasswordtoregular")) { __ref.runUserSub(false, "b4xfloattextfield","switchfrompasswordtoregular", __ref, _toregular); return;} +ResumableSub_SwitchFromPasswordToRegular rsub = new ResumableSub_SwitchFromPasswordToRegular(null,__ref,_toregular); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_SwitchFromPasswordToRegular extends BA.ResumableSub { +public ResumableSub_SwitchFromPasswordToRegular(gunav2.keymon.com.mx.b4xfloattextfield parent,RemoteObject __ref,RemoteObject _toregular) { +this.parent = parent; +this.__ref = __ref; +this._toregular = _toregular; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xfloattextfield parent; +RemoteObject _toregular; +RemoteObject _text = RemoteObject.createImmutable(""); +RemoteObject _textcolor = RemoteObject.createImmutable(0); +RemoteObject _font1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +RemoteObject _oldfield = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("SwitchFromPasswordToRegular (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,137); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("ToRegular", _toregular); + BA.debugLineNum = 138;BA.debugLine="Dim text As String = mTextField.Text"; +Debug.JustUpdateDeviceLine(); +_text = __ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("text", _text);Debug.locals.put("text", _text); + BA.debugLineNum = 139;BA.debugLine="Dim textcolor As Int = mTextField.TextColor"; +Debug.JustUpdateDeviceLine(); +_textcolor = __ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getTextColor");Debug.locals.put("textcolor", _textcolor);Debug.locals.put("textcolor", _textcolor); + BA.debugLineNum = 140;BA.debugLine="Dim Font1 As B4XFont = mTextField.Font"; +Debug.JustUpdateDeviceLine(); +_font1 = __ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(false,"getFont");Debug.locals.put("Font1", _font1);Debug.locals.put("Font1", _font1); + BA.debugLineNum = 141;BA.debugLine="Dim oldfield As B4XView = mTextField"; +Debug.JustUpdateDeviceLine(); +_oldfield = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_oldfield = __ref.getField(false,"_mtextfield" /*RemoteObject*/ );Debug.locals.put("oldfield", _oldfield);Debug.locals.put("oldfield", _oldfield); + BA.debugLineNum = 143;BA.debugLine="CreateTextFieldAll(Not(ToRegular), Font1, textcol"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createtextfieldall" /*RemoteObject*/ ,(Object)(parent.__c.runMethod(true,"Not",(Object)(_toregular))),(Object)(_font1),(Object)(_textcolor)); + BA.debugLineNum = 144;BA.debugLine="mTextField.Text = text"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 145;BA.debugLine="If lblClear.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 10; +if (__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 146;BA.debugLine="If ToRegular = False Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 9; +if (RemoteObject.solveBoolean("=",_toregular,parent.__c.getField(true,"False"))) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; + BA.debugLineNum = 147;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe8f4)))))); + BA.debugLineNum = 148;BA.debugLine="lblClear.Tag = \"reveal\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("reveal"))); + if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 150;BA.debugLine="lblClear.Tag = \"hide\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("hide"))); + BA.debugLineNum = 151;BA.debugLine="lblClear.Text = Chr(0xE8F5)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe8f5)))))); + if (true) break; + +case 9: +//C +this.state = 10; +; + BA.debugLineNum = 153;BA.debugLine="lblClear.BringToFront"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + if (true) break; +; + BA.debugLineNum = 155;BA.debugLine="If lblV.IsInitialized Then lblV.BringToFront"; +Debug.JustUpdateDeviceLine(); + +case 10: +//if +this.state = 15; +if (__ref.getField(false,"_lblv" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +__ref.getField(false,"_lblv" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); +if (true) break; + +case 15: +//C +this.state = 16; +; + BA.debugLineNum = 156;BA.debugLine="HintImageView.BringToFront"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_hintimageview" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 157;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 162;BA.debugLine="Dim et As EditText = mTextField"; +Debug.JustUpdateDeviceLine(); +_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_et = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), __ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject());Debug.locals.put("et", _et);Debug.locals.put("et", _et); + BA.debugLineNum = 163;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; +Debug.JustUpdateDeviceLine(); +_et.runMethod(true,"setSelectionStart",__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length")); + BA.debugLineNum = 165;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastswitchtextfieldtime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"getNow")); + BA.debugLineNum = 166;BA.debugLine="mTextField.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 167;BA.debugLine="oldfield.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_oldfield.runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 169;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastswitchtextfieldtime" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable(200)}, "+",1, 2)); + BA.debugLineNum = 170;BA.debugLine="et.Enabled = False"; +Debug.JustUpdateDeviceLine(); +_et.runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + BA.debugLineNum = 171;BA.debugLine="Sleep(50)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xfloattextfield", "switchfrompasswordtoregular"),BA.numberCast(int.class, 50)); +this.state = 20; +return; +case 20: +//C +this.state = 16; +; + BA.debugLineNum = 172;BA.debugLine="et.Enabled = True"; +Debug.JustUpdateDeviceLine(); +_et.runMethod(true,"setEnabled",parent.__c.getField(true,"True")); + BA.debugLineNum = 173;BA.debugLine="Sleep(50)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xfloattextfield", "switchfrompasswordtoregular"),BA.numberCast(int.class, 50)); +this.state = 21; +return; +case 21: +//C +this.state = 16; +; + BA.debugLineNum = 174;BA.debugLine="et.RequestFocus"; +Debug.JustUpdateDeviceLine(); +_et.runVoidMethod ("RequestFocus"); + BA.debugLineNum = 175;BA.debugLine="IME.ShowKeyboard(mTextField)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("ShowKeyboard",(Object)((__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 177;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Passwo"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 16: +//if +this.state = 19; +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_PasswordRevealChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { +this.state = 18; +}if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 178;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Passwo"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_PasswordRevealChanged"))),(Object)((_toregular))); + if (true) break; + +case 19: +//C +this.state = -1; +; + BA.debugLineNum = 180;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _tf_action(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tf_Action (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,277); +if (RapidSub.canDelegate("tf_action")) { return __ref.runUserSub(false, "b4xfloattextfield","tf_action", __ref);} + BA.debugLineNum = 277;BA.debugLine="Private Sub tf_Action"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 278;BA.debugLine="If mNextTextField.IsInitialized And mNextTextFiel"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ )) && RemoteObject.solveBoolean("!",__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ),(__ref))) { + BA.debugLineNum = 279;BA.debugLine="mNextTextField.TextField.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_gettextfield" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + }; + BA.debugLineNum = 281;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_EnterP"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_EnterPressed"))),(Object)(BA.numberCast(int.class, 0))).get().booleanValue()) { + BA.debugLineNum = 282;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; +Debug.JustUpdateDeviceLine(); +b4xfloattextfield.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_EnterPressed")))); + }; + BA.debugLineNum = 284;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_beginedit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tf_BeginEdit (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,269); +if (RapidSub.canDelegate("tf_beginedit")) { return __ref.runUserSub(false, "b4xfloattextfield","tf_beginedit", __ref);} + BA.debugLineNum = 269;BA.debugLine="Private Sub tf_BeginEdit"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 270;BA.debugLine="tf_FocusChanged(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_tf_focuschanged" /*RemoteObject*/ ,(Object)(b4xfloattextfield.__c.getField(true,"True"))); + BA.debugLineNum = 271;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_endedit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tf_EndEdit (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,273); +if (RapidSub.canDelegate("tf_endedit")) { return __ref.runUserSub(false, "b4xfloattextfield","tf_endedit", __ref);} + BA.debugLineNum = 273;BA.debugLine="Private Sub tf_EndEdit"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 274;BA.debugLine="tf_FocusChanged(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_tf_focuschanged" /*RemoteObject*/ ,(Object)(b4xfloattextfield.__c.getField(true,"False"))); + BA.debugLineNum = 275;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_enterpressed(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tf_EnterPressed (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,320); +if (RapidSub.canDelegate("tf_enterpressed")) { return __ref.runUserSub(false, "b4xfloattextfield","tf_enterpressed", __ref);} + BA.debugLineNum = 320;BA.debugLine="Private Sub tf_EnterPressed"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 321;BA.debugLine="tf_Action"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_tf_action" /*RemoteObject*/ ); + BA.debugLineNum = 326;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_focuschanged(RemoteObject __ref,RemoteObject _hasfocus) throws Exception{ +try { + Debug.PushSubsStack("tf_FocusChanged (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,234); +if (RapidSub.canDelegate("tf_focuschanged")) { return __ref.runUserSub(false, "b4xfloattextfield","tf_focuschanged", __ref, _hasfocus);} +Debug.locals.put("HasFocus", _hasfocus); + BA.debugLineNum = 234;BA.debugLine="Private Sub tf_FocusChanged (HasFocus As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 235;BA.debugLine="Focused = HasFocus"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_focused" /*RemoteObject*/ ,_hasfocus); + BA.debugLineNum = 236;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_updatelabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(b4xfloattextfield.__c.getField(true,"True"))); + BA.debugLineNum = 237;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_FocusC"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_FocusChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 238;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_lastswitchtextfieldtime" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "+",1, 2),b4xfloattextfield.__c.getField(false,"DateTime").runMethod(true,"getNow"))) { + BA.debugLineNum = 239;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; +Debug.JustUpdateDeviceLine(); +b4xfloattextfield.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_FocusChanged"))),(Object)((__ref.getField(true,"_focused" /*RemoteObject*/ )))); + }; + }; + BA.debugLineNum = 242;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("tf_TextChanged (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,287); +if (RapidSub.canDelegate("tf_textchanged")) { return __ref.runUserSub(false, "b4xfloattextfield","tf_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 287;BA.debugLine="Private Sub tf_TextChanged (Old As String, New As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 288;BA.debugLine="UpdateLabel(New, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_updatelabel" /*RemoteObject*/ ,(Object)(_new),(Object)(b4xfloattextfield.__c.getField(true,"False"))); + BA.debugLineNum = 289;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TextCh"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_TextChanged"))),(Object)(BA.numberCast(int.class, 2)))) && RemoteObject.solveBoolean(".",__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 290;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; +Debug.JustUpdateDeviceLine(); +b4xfloattextfield.__c.runMethodAndSync(false,"CallSubNew3",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_TextChanged"))),(Object)((_old)),(Object)((_new))); + }; + BA.debugLineNum = 292;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,245); +if (RapidSub.canDelegate("update")) { return __ref.runUserSub(false, "b4xfloattextfield","update", __ref);} +RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); + BA.debugLineNum = 245;BA.debugLine="Public Sub Update"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 246;BA.debugLine="Dim f As B4XFont = xui.CreateFont2(HintFont, Lar"; +Debug.JustUpdateDeviceLine(); +_f = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateFont2",(Object)(__ref.getField(false,"_hintfont" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_largelabeltextsize" /*RemoteObject*/ )));Debug.locals.put("f", _f);Debug.locals.put("f", _f); + BA.debugLineNum = 247;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +Debug.JustUpdateDeviceLine(); +_r = __ref.getField(false,"_measuringcanvas" /*RemoteObject*/ ).runMethod(false,"MeasureText",(Object)(__ref.getField(true,"_hinttext" /*RemoteObject*/ )),(Object)(_f));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 248;BA.debugLine="LargeFocused = CreateBitmap(r, HintColor, f)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_largefocused" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createbitmap" /*RemoteObject*/ ,(Object)(_r),(Object)(__ref.getField(true,"_hintcolor" /*RemoteObject*/ )),(Object)(_f))); + BA.debugLineNum = 249;BA.debugLine="LargeNotFocused = CreateBitmap(r, NonFocusedHintC"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_largenotfocused" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createbitmap" /*RemoteObject*/ ,(Object)(_r),(Object)(__ref.getField(true,"_nonfocusedhintcolor" /*RemoteObject*/ )),(Object)(_f))); + BA.debugLineNum = 250;BA.debugLine="f = xui.CreateFont2(HintFont, SmallLabelTextSize)"; +Debug.JustUpdateDeviceLine(); +_f = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateFont2",(Object)(__ref.getField(false,"_hintfont" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_smalllabeltextsize" /*RemoteObject*/ )));Debug.locals.put("f", _f); + BA.debugLineNum = 251;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +Debug.JustUpdateDeviceLine(); +_r = __ref.getField(false,"_measuringcanvas" /*RemoteObject*/ ).runMethod(false,"MeasureText",(Object)(__ref.getField(true,"_hinttext" /*RemoteObject*/ )),(Object)(_f));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 252;BA.debugLine="SmallFocused = CreateBitmap(r, HintColor, f)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_smallfocused" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createbitmap" /*RemoteObject*/ ,(Object)(_r),(Object)(__ref.getField(true,"_hintcolor" /*RemoteObject*/ )),(Object)(_f))); + BA.debugLineNum = 253;BA.debugLine="SmallNotFocused = CreateBitmap(r, NonFocusedHintC"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_smallnotfocused" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_createbitmap" /*RemoteObject*/ ,(Object)(_r),(Object)(__ref.getField(true,"_nonfocusedhintcolor" /*RemoteObject*/ )),(Object)(_f))); + BA.debugLineNum = 254;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_updatelabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(b4xfloattextfield.__c.getField(true,"True"))); + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updatelabel(RemoteObject __ref,RemoteObject _txt,RemoteObject _force) throws Exception{ +try { + Debug.PushSubsStack("UpdateLabel (b4xfloattextfield) ","b4xfloattextfield",55,__ref.getField(false, "ba"),__ref,210); +if (RapidSub.canDelegate("updatelabel")) { return __ref.runUserSub(false, "b4xfloattextfield","updatelabel", __ref, _txt, _force);} +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _goingtolarge = RemoteObject.createImmutable(false); +RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +Debug.locals.put("txt", _txt); +Debug.locals.put("force", _force); + BA.debugLineNum = 210;BA.debugLine="Private Sub UpdateLabel (txt As String, force As B"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 211;BA.debugLine="For Each lbl As B4XView In Array As B4XView(lblCl"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group1 = RemoteObject.createNewArray("anywheresoftware.b4a.objects.B4XViewWrapper",new int[] {2},new Object[] {__ref.getField(false,"_lblclear" /*RemoteObject*/ ),__ref.getField(false,"_lblv" /*RemoteObject*/ )}); +final int groupLen1 = group1.getField(true,"length").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_lbl = group1.getArrayElement(false,RemoteObject.createImmutable(index1));Debug.locals.put("lbl", _lbl); +Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 212;BA.debugLine="If lbl.IsInitialized Then lbl.Visible = Focused"; +Debug.JustUpdateDeviceLine(); +if (_lbl.runMethod(true,"IsInitialized").get().booleanValue()) { +_lbl.runMethod(true,"setVisible",BA.ObjectToBoolean(RemoteObject.solveBoolean(".",__ref.getField(true,"_focused" /*RemoteObject*/ )) && RemoteObject.solveBoolean(">",_txt.runMethod(true,"length"),BA.numberCast(double.class, 0))));}; + } +}Debug.locals.put("lbl", _lbl); +; + BA.debugLineNum = 215;BA.debugLine="Dim GoingToLarge As Boolean = txt.Length = 0"; +Debug.JustUpdateDeviceLine(); +_goingtolarge = BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_txt.runMethod(true,"length"),BA.numberCast(double.class, 0)));Debug.locals.put("GoingToLarge", _goingtolarge);Debug.locals.put("GoingToLarge", _goingtolarge); + BA.debugLineNum = 216;BA.debugLine="If GoingToLarge = LargeLabel And force = False Th"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_goingtolarge,__ref.getField(true,"_largelabel" /*RemoteObject*/ )) && RemoteObject.solveBoolean("=",_force,b4xfloattextfield.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 217;BA.debugLine="Dim b As B4XBitmap"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");Debug.locals.put("b", _b); + BA.debugLineNum = 218;BA.debugLine="If Focused Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_focused" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 219;BA.debugLine="If GoingToLarge Then b = LargeFocused Else b = S"; +Debug.JustUpdateDeviceLine(); +if (_goingtolarge.get().booleanValue()) { +_b = __ref.getField(false,"_largefocused" /*RemoteObject*/ );Debug.locals.put("b", _b);} +else { +_b = __ref.getField(false,"_smallfocused" /*RemoteObject*/ );Debug.locals.put("b", _b);}; + }else { + BA.debugLineNum = 221;BA.debugLine="If GoingToLarge Then b = LargeNotFocused Else b"; +Debug.JustUpdateDeviceLine(); +if (_goingtolarge.get().booleanValue()) { +_b = __ref.getField(false,"_largenotfocused" /*RemoteObject*/ );Debug.locals.put("b", _b);} +else { +_b = __ref.getField(false,"_smallnotfocused" /*RemoteObject*/ );Debug.locals.put("b", _b);}; + }; + BA.debugLineNum = 223;BA.debugLine="If b.IsInitialized = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_b.runMethod(true,"IsInitialized"),b4xfloattextfield.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 224;BA.debugLine="HintImageView.SetBitmap(b)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_hintimageview" /*RemoteObject*/ ).runVoidMethod ("SetBitmap",(Object)((_b.getObject()))); + BA.debugLineNum = 225;BA.debugLine="If GoingToLarge Then"; +Debug.JustUpdateDeviceLine(); +if (_goingtolarge.get().booleanValue()) { + BA.debugLineNum = 226;BA.debugLine="HintImageView.SetLayoutAnimated (AnimationDurati"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_hintimageview" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(__ref.getField(true,"_animationduration" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_hintlabellargeoffsetx" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2),_b.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/-/",1, 0))),(Object)(BA.numberCast(int.class, _b.runMethod(true,"getWidth"))),(Object)(BA.numberCast(int.class, _b.runMethod(true,"getHeight")))); + BA.debugLineNum = 227;BA.debugLine="LargeLabel = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_largelabel" /*RemoteObject*/ ,b4xfloattextfield.__c.getField(true,"True")); + }else { + BA.debugLineNum = 229;BA.debugLine="HintImageView.SetLayoutAnimated(AnimationDuratio"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_hintimageview" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(__ref.getField(true,"_animationduration" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_hintlabelsmalloffsetx" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_hintlabelsmalloffsety" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, _b.runMethod(true,"getWidth"))),(Object)(BA.numberCast(int.class, _b.runMethod(true,"getHeight")))); + BA.debugLineNum = 230;BA.debugLine="LargeLabel = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_largelabel" /*RemoteObject*/ ,b4xfloattextfield.__c.getField(true,"False")); + }; + BA.debugLineNum = 232;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xformatter.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xformatter.java new file mode 100644 index 0000000..3a81f95 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xformatter.java @@ -0,0 +1,34 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xformatter { + public static RemoteObject myClass; + public b4xformatter() { + } + public static PCBA staticBA = new PCBA(null, b4xformatter.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _formats = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _max_value = RemoteObject.createImmutable(0); +public static RemoteObject _min_value = RemoteObject.createImmutable(0); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"formats",_ref.getField(false, "_formats"),"MAX_VALUE",_ref.getField(false, "_max_value"),"MIN_VALUE",_ref.getField(false, "_min_value"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xformatter_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xformatter_subs_0.java new file mode 100644 index 0000000..3841e37 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xformatter_subs_0.java @@ -0,0 +1,506 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xformatter_subs_0 { + + +public static RemoteObject _addformatdata(RemoteObject __ref,RemoteObject _data,RemoteObject _rangestart,RemoteObject _rangeend,RemoteObject _includeedges) throws Exception{ +try { + Debug.PushSubsStack("AddFormatData (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,65); +if (RapidSub.canDelegate("addformatdata")) { return __ref.runUserSub(false, "b4xformatter","addformatdata", __ref, _data, _rangestart, _rangeend, _includeedges);} +RemoteObject _factor = RemoteObject.createImmutable(0); +Debug.locals.put("Data", _data); +Debug.locals.put("RangeStart", _rangestart); +Debug.locals.put("RangeEnd", _rangeend); +Debug.locals.put("IncludeEdges", _includeedges); + BA.debugLineNum = 65;BA.debugLine="Public Sub AddFormatData (Data As B4XFormatData, R"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 66;BA.debugLine="Dim factor As Double = Power(10, -Data.MaximumFra"; +Debug.JustUpdateDeviceLine(); +_factor = b4xformatter.__c.runMethod(true,"Power",(Object)(BA.numberCast(double.class, 10)),(Object)(BA.numberCast(double.class, -(double) (0 + _data.getField(true,"MaximumFractions" /*RemoteObject*/ ).get().intValue()))));Debug.locals.put("factor", _factor);Debug.locals.put("factor", _factor); + BA.debugLineNum = 67;BA.debugLine="If IncludeEdges = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_includeedges,b4xformatter.__c.getField(true,"False"))) { + BA.debugLineNum = 68;BA.debugLine="RangeStart = RangeStart + factor"; +Debug.JustUpdateDeviceLine(); +_rangestart = RemoteObject.solve(new RemoteObject[] {_rangestart,_factor}, "+",1, 0);Debug.locals.put("RangeStart", _rangestart); + BA.debugLineNum = 69;BA.debugLine="RangeEnd = RangeEnd - factor"; +Debug.JustUpdateDeviceLine(); +_rangeend = RemoteObject.solve(new RemoteObject[] {_rangeend,_factor}, "-",1, 0);Debug.locals.put("RangeEnd", _rangeend); + }; + BA.debugLineNum = 71;BA.debugLine="RangeStart = RangeStart - factor / 2"; +Debug.JustUpdateDeviceLine(); +_rangestart = RemoteObject.solve(new RemoteObject[] {_rangestart,_factor,RemoteObject.createImmutable(2)}, "-/",1, 0);Debug.locals.put("RangeStart", _rangestart); + BA.debugLineNum = 72;BA.debugLine="RangeEnd = RangeEnd + factor / 2"; +Debug.JustUpdateDeviceLine(); +_rangeend = RemoteObject.solve(new RemoteObject[] {_rangeend,_factor,RemoteObject.createImmutable(2)}, "+/",1, 0);Debug.locals.put("RangeEnd", _rangeend); + BA.debugLineNum = 73;BA.debugLine="Data.RangeStart = RangeStart"; +Debug.JustUpdateDeviceLine(); +_data.setField ("RangeStart" /*RemoteObject*/ ,_rangestart); + BA.debugLineNum = 74;BA.debugLine="Data.RangeEnd = RangeEnd"; +Debug.JustUpdateDeviceLine(); +_data.setField ("RangeEnd" /*RemoteObject*/ ,_rangeend); + BA.debugLineNum = 75;BA.debugLine="formats.Add(Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_formats" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_data))); + BA.debugLineNum = 76;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Type B4XFormatData (Prefix As String, Postfix As"; +; + //BA.debugLineNum = 6;BA.debugLine="Private formats As List"; +b4xformatter._formats = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_formats",b4xformatter._formats); + //BA.debugLineNum = 7;BA.debugLine="Public Const MAX_VALUE = 0x7fffffff, MIN_VALUE ="; +b4xformatter._max_value = BA.numberCast(int.class, ((int)0x7fffffff));__ref.setField("_max_value",b4xformatter._max_value); +b4xformatter._min_value = BA.numberCast(int.class, ((int)0x80000000));__ref.setField("_min_value",b4xformatter._min_value); + //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI"; +b4xformatter._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xformatter._xui); + //BA.debugLineNum = 11;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _copyformatdata(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("CopyFormatData (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("copyformatdata")) { return __ref.runUserSub(false, "b4xformatter","copyformatdata", __ref, _data);} +RemoteObject _d = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xformatter._b4xformatdata"); +Debug.locals.put("Data", _data); + BA.debugLineNum = 38;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="Dim d As B4XFormatData"; +Debug.JustUpdateDeviceLine(); +_d = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xformatter._b4xformatdata");Debug.locals.put("d", _d); + BA.debugLineNum = 40;BA.debugLine="d.Initialize"; +Debug.JustUpdateDeviceLine(); +_d.runVoidMethod ("Initialize"); + BA.debugLineNum = 41;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; +Debug.JustUpdateDeviceLine(); +_d.setField ("DecimalPoint" /*RemoteObject*/ ,_data.getField(true,"DecimalPoint" /*RemoteObject*/ )); + BA.debugLineNum = 42;BA.debugLine="If Data.FormatFont.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_data.getField(false,"FormatFont" /*RemoteObject*/ ).runMethod(true,"getIsInitialized").get().booleanValue()) { + BA.debugLineNum = 44;BA.debugLine="d.FormatFont = xui.CreateFont(Data.FormatFont.To"; +Debug.JustUpdateDeviceLine(); +_d.setField ("FormatFont" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateFont",(Object)((_data.getField(false,"FormatFont" /*RemoteObject*/ ).runMethod(false,"ToNativeFont").getObject())),(Object)(_data.getField(false,"FormatFont" /*RemoteObject*/ ).runMethod(true,"getSize")))); + }; + BA.debugLineNum = 47;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; +Debug.JustUpdateDeviceLine(); +_d.setField ("GroupingCharacter" /*RemoteObject*/ ,_data.getField(true,"GroupingCharacter" /*RemoteObject*/ )); + BA.debugLineNum = 48;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MaximumFractions" /*RemoteObject*/ ,_data.getField(true,"MaximumFractions" /*RemoteObject*/ )); + BA.debugLineNum = 49;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MinimumFractions" /*RemoteObject*/ ,_data.getField(true,"MinimumFractions" /*RemoteObject*/ )); + BA.debugLineNum = 50;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MinimumIntegers" /*RemoteObject*/ ,_data.getField(true,"MinimumIntegers" /*RemoteObject*/ )); + BA.debugLineNum = 51;BA.debugLine="d.Postfix = Data.Postfix"; +Debug.JustUpdateDeviceLine(); +_d.setField ("Postfix" /*RemoteObject*/ ,_data.getField(true,"Postfix" /*RemoteObject*/ )); + BA.debugLineNum = 52;BA.debugLine="d.Prefix = Data.Prefix"; +Debug.JustUpdateDeviceLine(); +_d.setField ("Prefix" /*RemoteObject*/ ,_data.getField(true,"Prefix" /*RemoteObject*/ )); + BA.debugLineNum = 53;BA.debugLine="d.RangeEnd = Data.RangeEnd"; +Debug.JustUpdateDeviceLine(); +_d.setField ("RangeEnd" /*RemoteObject*/ ,_data.getField(true,"RangeEnd" /*RemoteObject*/ )); + BA.debugLineNum = 54;BA.debugLine="d.RangeStart = Data.RangeStart"; +Debug.JustUpdateDeviceLine(); +_d.setField ("RangeStart" /*RemoteObject*/ ,_data.getField(true,"RangeStart" /*RemoteObject*/ )); + BA.debugLineNum = 55;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; +Debug.JustUpdateDeviceLine(); +_d.setField ("RemoveMinusSign" /*RemoteObject*/ ,_data.getField(true,"RemoveMinusSign" /*RemoteObject*/ )); + BA.debugLineNum = 56;BA.debugLine="d.TextColor = Data.TextColor"; +Debug.JustUpdateDeviceLine(); +_d.setField ("TextColor" /*RemoteObject*/ ,_data.getField(true,"TextColor" /*RemoteObject*/ )); + BA.debugLineNum = 57;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; +Debug.JustUpdateDeviceLine(); +_d.setField ("FractionPaddingChar" /*RemoteObject*/ ,_data.getField(true,"FractionPaddingChar" /*RemoteObject*/ )); + BA.debugLineNum = 58;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; +Debug.JustUpdateDeviceLine(); +_d.setField ("IntegerPaddingChar" /*RemoteObject*/ ,_data.getField(true,"IntegerPaddingChar" /*RemoteObject*/ )); + BA.debugLineNum = 59;BA.debugLine="Return d"; +Debug.JustUpdateDeviceLine(); +if (true) return _d; + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createdefaultformat(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateDefaultFormat (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("createdefaultformat")) { return __ref.runUserSub(false, "b4xformatter","createdefaultformat", __ref);} +RemoteObject _d = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xformatter._b4xformatdata"); + BA.debugLineNum = 19;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 20;BA.debugLine="Dim d As B4XFormatData"; +Debug.JustUpdateDeviceLine(); +_d = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xformatter._b4xformatdata");Debug.locals.put("d", _d); + BA.debugLineNum = 21;BA.debugLine="d.Initialize"; +Debug.JustUpdateDeviceLine(); +_d.runVoidMethod ("Initialize"); + BA.debugLineNum = 22;BA.debugLine="d.GroupingCharacter = \",\""; +Debug.JustUpdateDeviceLine(); +_d.setField ("GroupingCharacter" /*RemoteObject*/ ,BA.ObjectToString(",")); + BA.debugLineNum = 23;BA.debugLine="d.DecimalPoint = \".\""; +Debug.JustUpdateDeviceLine(); +_d.setField ("DecimalPoint" /*RemoteObject*/ ,BA.ObjectToString(".")); + BA.debugLineNum = 24;BA.debugLine="d.MaximumFractions = 3"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MaximumFractions" /*RemoteObject*/ ,BA.numberCast(int.class, 3)); + BA.debugLineNum = 25;BA.debugLine="d.MinimumIntegers = 1"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MinimumIntegers" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + BA.debugLineNum = 26;BA.debugLine="d.IntegerPaddingChar = \"0\""; +Debug.JustUpdateDeviceLine(); +_d.setField ("IntegerPaddingChar" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 27;BA.debugLine="d.FractionPaddingChar = \"0\""; +Debug.JustUpdateDeviceLine(); +_d.setField ("FractionPaddingChar" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 28;BA.debugLine="Return d"; +Debug.JustUpdateDeviceLine(); +if (true) return _d; + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _format(RemoteObject __ref,RemoteObject _number) throws Exception{ +try { + Debug.PushSubsStack("Format (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("format")) { return __ref.runUserSub(false, "b4xformatter","format", __ref, _number);} +RemoteObject _data = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xformatter._b4xformatdata"); +RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +RemoteObject _numberstartindex = RemoteObject.createImmutable(0); +RemoteObject _factor = RemoteObject.createImmutable(0); +RemoteObject _whole = RemoteObject.createImmutable(0); +RemoteObject _frac = RemoteObject.createImmutable(0); +RemoteObject _g = RemoteObject.createImmutable(0); +RemoteObject _fracstartindex = RemoteObject.createImmutable(0); +RemoteObject _lastzerocount = RemoteObject.createImmutable(0); +RemoteObject _multipler = RemoteObject.createImmutable(0); +RemoteObject _w = RemoteObject.createImmutable(0); +Debug.locals.put("Number", _number); + BA.debugLineNum = 92;BA.debugLine="Public Sub Format (Number As Double) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 93;BA.debugLine="If Number < MIN_VALUE Or Number > MAX_VALUE Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_number,BA.numberCast(double.class, __ref.getField(true,"_min_value" /*RemoteObject*/ ))) || RemoteObject.solveBoolean(">",_number,BA.numberCast(double.class, __ref.getField(true,"_max_value" /*RemoteObject*/ )))) { +if (true) return BA.ObjectToString("OVERFLOW");}; + BA.debugLineNum = 94;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; +Debug.JustUpdateDeviceLine(); +_data = __ref.runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_getformatdata" /*RemoteObject*/ ,(Object)(_number));Debug.locals.put("data", _data);Debug.locals.put("data", _data); + BA.debugLineNum = 95;BA.debugLine="Dim sb As StringBuilder"; +Debug.JustUpdateDeviceLine(); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 96;BA.debugLine="sb.Initialize"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 97;BA.debugLine="sb.Append(data.Prefix)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_data.getField(true,"Prefix" /*RemoteObject*/ ))); + BA.debugLineNum = 98;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; +Debug.JustUpdateDeviceLine(); +_numberstartindex = _sb.runMethod(true,"getLength");Debug.locals.put("NumberStartIndex", _numberstartindex);Debug.locals.put("NumberStartIndex", _numberstartindex); + BA.debugLineNum = 99;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; +Debug.JustUpdateDeviceLine(); +_factor = RemoteObject.solve(new RemoteObject[] {b4xformatter.__c.runMethod(true,"Power",(Object)(BA.numberCast(double.class, 10)),(Object)(BA.numberCast(double.class, -(double) (0 + _data.getField(true,"MaximumFractions" /*RemoteObject*/ ).get().intValue())-(double) (0 + 1)))),RemoteObject.createImmutable(5)}, "*",0, 0);Debug.locals.put("factor", _factor);Debug.locals.put("factor", _factor); + BA.debugLineNum = 100;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_number,BA.numberCast(double.class, -_factor.get().doubleValue())) && RemoteObject.solveBoolean("=",_data.getField(true,"RemoveMinusSign" /*RemoteObject*/ ),b4xformatter.__c.getField(true,"False"))) { + BA.debugLineNum = 101;BA.debugLine="sb.Append(\"-\")"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("-"))); + BA.debugLineNum = 102;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; +Debug.JustUpdateDeviceLine(); +_numberstartindex = RemoteObject.solve(new RemoteObject[] {_numberstartindex,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("NumberStartIndex", _numberstartindex); + }; + BA.debugLineNum = 104;BA.debugLine="Number = Abs(Number) + factor"; +Debug.JustUpdateDeviceLine(); +_number = RemoteObject.solve(new RemoteObject[] {b4xformatter.__c.runMethod(true,"Abs",(Object)(_number)),_factor}, "+",1, 0);Debug.locals.put("Number", _number); + BA.debugLineNum = 105;BA.debugLine="Dim whole As Int = Number"; +Debug.JustUpdateDeviceLine(); +_whole = BA.numberCast(int.class, _number);Debug.locals.put("whole", _whole);Debug.locals.put("whole", _whole); + BA.debugLineNum = 106;BA.debugLine="Dim frac As Double = Number - whole"; +Debug.JustUpdateDeviceLine(); +_frac = RemoteObject.solve(new RemoteObject[] {_number,_whole}, "-",1, 0);Debug.locals.put("frac", _frac);Debug.locals.put("frac", _frac); + BA.debugLineNum = 107;BA.debugLine="Dim g As Int"; +Debug.JustUpdateDeviceLine(); +_g = RemoteObject.createImmutable(0);Debug.locals.put("g", _g); + BA.debugLineNum = 108;BA.debugLine="Do While whole > 0"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean(">",_whole,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 109;BA.debugLine="If g > 0 And g Mod 3 = 0 And data.GroupingCharac"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_g,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",RemoteObject.solve(new RemoteObject[] {_g,RemoteObject.createImmutable(3)}, "%",0, 1),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",_data.getField(true,"GroupingCharacter" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 110;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Insert",(Object)(_numberstartindex),(Object)(_data.getField(true,"GroupingCharacter" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 112;BA.debugLine="g = g + 1"; +Debug.JustUpdateDeviceLine(); +_g = RemoteObject.solve(new RemoteObject[] {_g,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("g", _g); + BA.debugLineNum = 113;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Insert",(Object)(_numberstartindex),(Object)(BA.NumberToString(RemoteObject.solve(new RemoteObject[] {_whole,RemoteObject.createImmutable(10)}, "%",0, 1)))); + BA.debugLineNum = 114;BA.debugLine="whole = whole / 10"; +Debug.JustUpdateDeviceLine(); +_whole = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_whole,RemoteObject.createImmutable(10)}, "/",0, 0));Debug.locals.put("whole", _whole); + } +; + BA.debugLineNum = 116;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_numberstartindex}, "-",1, 1),BA.numberCast(double.class, _data.getField(true,"MinimumIntegers" /*RemoteObject*/ )))) { + BA.debugLineNum = 117;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Insert",(Object)(_numberstartindex),(Object)(_data.getField(true,"IntegerPaddingChar" /*RemoteObject*/ ))); + } +; + BA.debugLineNum = 119;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_data.getField(true,"MaximumFractions" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(">",_data.getField(true,"MinimumFractions" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean(">",_frac,BA.numberCast(double.class, 0)))))) { + BA.debugLineNum = 120;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; +Debug.JustUpdateDeviceLine(); +_fracstartindex = _sb.runMethod(true,"getLength");Debug.locals.put("FracStartIndex", _fracstartindex);Debug.locals.put("FracStartIndex", _fracstartindex); + BA.debugLineNum = 121;BA.debugLine="Dim LastZeroCount As Int"; +Debug.JustUpdateDeviceLine(); +_lastzerocount = RemoteObject.createImmutable(0);Debug.locals.put("LastZeroCount", _lastzerocount); + BA.debugLineNum = 122;BA.debugLine="Dim Multipler As Int = 10"; +Debug.JustUpdateDeviceLine(); +_multipler = BA.numberCast(int.class, 10);Debug.locals.put("Multipler", _multipler);Debug.locals.put("Multipler", _multipler); + BA.debugLineNum = 123;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean("g",_frac,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_factor}, "*",0, 0)) && RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_fracstartindex}, "-",1, 1),BA.numberCast(double.class, _data.getField(true,"MaximumFractions" /*RemoteObject*/ )))) { + BA.debugLineNum = 124;BA.debugLine="Dim w As Int = (frac * Multipler)"; +Debug.JustUpdateDeviceLine(); +_w = BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_frac,_multipler}, "*",0, 0)));Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 125;BA.debugLine="w = w Mod 10"; +Debug.JustUpdateDeviceLine(); +_w = RemoteObject.solve(new RemoteObject[] {_w,RemoteObject.createImmutable(10)}, "%",0, 1);Debug.locals.put("w", _w); + BA.debugLineNum = 126;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_w,BA.numberCast(double.class, 0))) { +_lastzerocount = RemoteObject.solve(new RemoteObject[] {_lastzerocount,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("LastZeroCount", _lastzerocount);} +else { +_lastzerocount = BA.numberCast(int.class, 0);Debug.locals.put("LastZeroCount", _lastzerocount);}; + BA.debugLineNum = 127;BA.debugLine="sb.Append(w)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(BA.NumberToString(_w))); + BA.debugLineNum = 128;BA.debugLine="Multipler = Multipler * 10"; +Debug.JustUpdateDeviceLine(); +_multipler = RemoteObject.solve(new RemoteObject[] {_multipler,RemoteObject.createImmutable(10)}, "*",0, 1);Debug.locals.put("Multipler", _multipler); + } +; + BA.debugLineNum = 130;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_data.getField(true,"FractionPaddingChar" /*RemoteObject*/ ),BA.ObjectToString("0")) && RemoteObject.solveBoolean(">",_lastzerocount,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 131;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Remove",(Object)(RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_lastzerocount}, "-",1, 1)),(Object)(_sb.runMethod(true,"getLength"))); + BA.debugLineNum = 132;BA.debugLine="LastZeroCount = 0"; +Debug.JustUpdateDeviceLine(); +_lastzerocount = BA.numberCast(int.class, 0);Debug.locals.put("LastZeroCount", _lastzerocount); + }; + BA.debugLineNum = 134;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_fracstartindex}, "-",1, 1),BA.numberCast(double.class, _data.getField(true,"MinimumFractions" /*RemoteObject*/ )))) { + BA.debugLineNum = 135;BA.debugLine="sb.Append(data.FractionPaddingChar)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_data.getField(true,"FractionPaddingChar" /*RemoteObject*/ ))); + BA.debugLineNum = 136;BA.debugLine="LastZeroCount = 0"; +Debug.JustUpdateDeviceLine(); +_lastzerocount = BA.numberCast(int.class, 0);Debug.locals.put("LastZeroCount", _lastzerocount); + } +; + BA.debugLineNum = 138;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; +Debug.JustUpdateDeviceLine(); +_lastzerocount = BA.numberCast(int.class, b4xformatter.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, _lastzerocount)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_fracstartindex,_data.getField(true,"MinimumFractions" /*RemoteObject*/ )}, "--",2, 1)))));Debug.locals.put("LastZeroCount", _lastzerocount); + BA.debugLineNum = 139;BA.debugLine="If LastZeroCount > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_lastzerocount,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 140;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Remove",(Object)(RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_lastzerocount}, "-",1, 1)),(Object)(_sb.runMethod(true,"getLength"))); + }; + BA.debugLineNum = 142;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_sb.runMethod(true,"getLength"),BA.numberCast(double.class, _fracstartindex))) { +_sb.runVoidMethod ("Insert",(Object)(_fracstartindex),(Object)(_data.getField(true,"DecimalPoint" /*RemoteObject*/ )));}; + }; + BA.debugLineNum = 144;BA.debugLine="sb.Append(data.Postfix)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_data.getField(true,"Postfix" /*RemoteObject*/ ))); + BA.debugLineNum = 145;BA.debugLine="Return sb.ToString"; +Debug.JustUpdateDeviceLine(); +if (true) return _sb.runMethod(true,"ToString"); + BA.debugLineNum = 146;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _formatlabel(RemoteObject __ref,RemoteObject _number,RemoteObject _label) throws Exception{ +try { + Debug.PushSubsStack("FormatLabel (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,150); +if (RapidSub.canDelegate("formatlabel")) { return __ref.runUserSub(false, "b4xformatter","formatlabel", __ref, _number, _label);} +RemoteObject _data = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xformatter._b4xformatdata"); +Debug.locals.put("Number", _number); +Debug.locals.put("Label", _label); + BA.debugLineNum = 150;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 151;BA.debugLine="Label.Text = Format(Number)"; +Debug.JustUpdateDeviceLine(); +_label.runMethod(true,"setText",BA.ObjectToCharSequence(__ref.runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(_number)))); + BA.debugLineNum = 152;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; +Debug.JustUpdateDeviceLine(); +_data = __ref.runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_getformatdata" /*RemoteObject*/ ,(Object)(_number));Debug.locals.put("data", _data);Debug.locals.put("data", _data); + BA.debugLineNum = 153;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_data.getField(true,"TextColor" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +_label.runMethod(true,"setTextColor",_data.getField(true,"TextColor" /*RemoteObject*/ ));}; + BA.debugLineNum = 154;BA.debugLine="If data.FormatFont.IsInitialized Then Label.Font"; +Debug.JustUpdateDeviceLine(); +if (_data.getField(false,"FormatFont" /*RemoteObject*/ ).runMethod(true,"getIsInitialized").get().booleanValue()) { +_label.runMethod(false,"setFont",_data.getField(false,"FormatFont" /*RemoteObject*/ ));}; + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getdefaultformat(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetDefaultFormat (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,78); +if (RapidSub.canDelegate("getdefaultformat")) { return __ref.runUserSub(false, "b4xformatter","getdefaultformat", __ref);} + BA.debugLineNum = 78;BA.debugLine="Public Sub GetDefaultFormat As B4XFormatData"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 79;BA.debugLine="Return formats.Get(0)"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_formats" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 80;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getformatdata(RemoteObject __ref,RemoteObject _number) throws Exception{ +try { + Debug.PushSubsStack("GetFormatData (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,83); +if (RapidSub.canDelegate("getformatdata")) { return __ref.runUserSub(false, "b4xformatter","getformatdata", __ref, _number);} +int _i = 0; +RemoteObject _d = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xformatter._b4xformatdata"); +Debug.locals.put("Number", _number); + BA.debugLineNum = 83;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 84;BA.debugLine="For i = formats.Size - 1 To 1 Step - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step1 = -1; +final int limit1 = 1; +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_formats" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue() ; +for (;(step1 > 0 && _i <= limit1) || (step1 < 0 && _i >= limit1) ;_i = ((int)(0 + _i + step1)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 85;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; +Debug.JustUpdateDeviceLine(); +_d = (__ref.getField(false,"_formats" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 86;BA.debugLine="If Number <= d.RangeEnd And Number >= d.RangeSta"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",_number,_d.getField(true,"RangeEnd" /*RemoteObject*/ )) && RemoteObject.solveBoolean("g",_number,_d.getField(true,"RangeStart" /*RemoteObject*/ ))) { +if (true) return _d;}; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 88;BA.debugLine="Return formats.Get(0)"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_formats" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,13); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xformatter","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _d = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xformatter._b4xformatdata"); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 13;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 14;BA.debugLine="formats.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_formats" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 15;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; +Debug.JustUpdateDeviceLine(); +_d = __ref.runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_createdefaultformat" /*RemoteObject*/ );Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 16;BA.debugLine="AddFormatData(d, MIN_VALUE, MAX_VALUE, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_addformatdata" /*RemoteObject*/ ,(Object)(_d),(Object)(BA.numberCast(double.class, __ref.getField(true,"_min_value" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, __ref.getField(true,"_max_value" /*RemoteObject*/ ))),(Object)(b4xformatter.__c.getField(true,"True"))); + BA.debugLineNum = 17;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _newformatdata(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("NewFormatData (b4xformatter) ","b4xformatter",69,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("newformatdata")) { return __ref.runUserSub(false, "b4xformatter","newformatdata", __ref);} + BA.debugLineNum = 32;BA.debugLine="Public Sub NewFormatData As B4XFormatData"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="Return CopyFormatData(GetDefaultFormat)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_copyformatdata" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_getdefaultformat" /*RemoteObject*/ ))); + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4ximageview.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4ximageview.java new file mode 100644 index 0000000..f73c68c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4ximageview.java @@ -0,0 +1,41 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4ximageview { + public static RemoteObject myClass; + public b4ximageview() { + } + public static PCBA staticBA = new PCBA(null, b4ximageview.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mresizemode = RemoteObject.createImmutable(""); +public static RemoteObject _mround = RemoteObject.createImmutable(false); +public static RemoteObject _mbitmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _mbackgroundcolor = RemoteObject.createImmutable(0); +public static RemoteObject _mcornersradius = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"iv",_ref.getField(false, "_iv"),"mBackgroundColor",_ref.getField(false, "_mbackgroundcolor"),"mBase",_ref.getField(false, "_mbase"),"mBitmap",_ref.getField(false, "_mbitmap"),"mCallBack",_ref.getField(false, "_mcallback"),"mCornersRadius",_ref.getField(false, "_mcornersradius"),"mEventName",_ref.getField(false, "_meventname"),"mResizeMode",_ref.getField(false, "_mresizemode"),"mRound",_ref.getField(false, "_mround"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4ximageview_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4ximageview_subs_0.java new file mode 100644 index 0000000..27a6b78 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4ximageview_subs_0.java @@ -0,0 +1,497 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4ximageview_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,40); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4ximageview","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 41;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 42;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; +b4ximageview._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4ximageview._meventname); + //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; +b4ximageview._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4ximageview._mcallback); + //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView"; +b4ximageview._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4ximageview._mbase); + //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; +b4ximageview._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4ximageview._xui); + //BA.debugLineNum = 10;BA.debugLine="Public Tag As Object"; +b4ximageview._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4ximageview._tag); + //BA.debugLineNum = 11;BA.debugLine="Private iv As B4XView"; +b4ximageview._iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_iv",b4ximageview._iv); + //BA.debugLineNum = 12;BA.debugLine="Private mResizeMode As String"; +b4ximageview._mresizemode = RemoteObject.createImmutable("");__ref.setField("_mresizemode",b4ximageview._mresizemode); + //BA.debugLineNum = 13;BA.debugLine="Private mRound As Boolean"; +b4ximageview._mround = RemoteObject.createImmutable(false);__ref.setField("_mround",b4ximageview._mround); + //BA.debugLineNum = 14;BA.debugLine="Private mBitmap As B4XBitmap"; +b4ximageview._mbitmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_mbitmap",b4ximageview._mbitmap); + //BA.debugLineNum = 15;BA.debugLine="Public mBackgroundColor As Int"; +b4ximageview._mbackgroundcolor = RemoteObject.createImmutable(0);__ref.setField("_mbackgroundcolor",b4ximageview._mbackgroundcolor); + //BA.debugLineNum = 16;BA.debugLine="Private mCornersRadius As Int"; +b4ximageview._mcornersradius = RemoteObject.createImmutable(0);__ref.setField("_mcornersradius",b4ximageview._mcornersradius); + //BA.debugLineNum = 17;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,119); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4ximageview","clear", __ref);} + BA.debugLineNum = 119;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 120;BA.debugLine="mBitmap = Null"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).setObject (b4ximageview.__c.getField(false,"Null")); + BA.debugLineNum = 121;BA.debugLine="iv.SetBitmap(Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_iv" /*RemoteObject*/ ).runVoidMethod ("SetBitmap",(Object)((b4ximageview.__c.getField(false,"Null")))); + BA.debugLineNum = 122;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,25); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4ximageview","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _iiv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 25;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 26;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 27;BA.debugLine="Tag = mBase.Tag"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 28;BA.debugLine="mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 29;BA.debugLine="Dim iiv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iiv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iiv", _iiv); + BA.debugLineNum = 30;BA.debugLine="iiv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_iiv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 31;BA.debugLine="iv = iiv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_iv" /*RemoteObject*/ ).setObject (_iiv.getObject()); + BA.debugLineNum = 32;BA.debugLine="mRound =Props.Get(\"Round\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mround" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Round")))))); + BA.debugLineNum = 33;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mresizemode" /*RemoteObject*/ ,BA.ObjectToString(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ResizeMode")))))); + BA.debugLineNum = 34;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props."; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbackgroundcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("BackgroundColor"))))))); + BA.debugLineNum = 35;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcornersradius" /*RemoteObject*/ ,b4ximageview.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, _props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("CornersRadius"))),(Object)(RemoteObject.createImmutable((0)))))))); + BA.debugLineNum = 36;BA.debugLine="mBase.AddView(iv, 0, 0, mBase.Width, mBase.Height"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_iv" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 37;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 38;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmap(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBitmap (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,130); +if (RapidSub.canDelegate("getbitmap")) { return __ref.runUserSub(false, "b4ximageview","getbitmap", __ref);} + BA.debugLineNum = 130;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 131;BA.debugLine="Return mBitmap"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbitmap" /*RemoteObject*/ ); + BA.debugLineNum = 132;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getcornersradius(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getCornersRadius (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,56); +if (RapidSub.canDelegate("getcornersradius")) { return __ref.runUserSub(false, "b4ximageview","getcornersradius", __ref);} + BA.debugLineNum = 56;BA.debugLine="Public Sub getCornersRadius As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 57;BA.debugLine="Return mCornersRadius"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mcornersradius" /*RemoteObject*/ ); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getresizemode(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getResizeMode (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,67); +if (RapidSub.canDelegate("getresizemode")) { return __ref.runUserSub(false, "b4ximageview","getresizemode", __ref);} + BA.debugLineNum = 67;BA.debugLine="Public Sub getResizeMode As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 68;BA.debugLine="Return mResizeMode"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mresizemode" /*RemoteObject*/ ); + BA.debugLineNum = 69;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getroundedimage(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getRoundedImage (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,45); +if (RapidSub.canDelegate("getroundedimage")) { return __ref.runUserSub(false, "b4ximageview","getroundedimage", __ref);} + BA.debugLineNum = 45;BA.debugLine="Public Sub getRoundedImage As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 46;BA.debugLine="Return mRound"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mround" /*RemoteObject*/ ); + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4ximageview","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 20;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 21;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 22;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _load(RemoteObject __ref,RemoteObject _dir,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("Load (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,110); +if (RapidSub.canDelegate("load")) { return __ref.runUserSub(false, "b4ximageview","load", __ref, _dir, _filename);} +Debug.locals.put("Dir", _dir); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 110;BA.debugLine="Public Sub Load (Dir As String, FileName As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 112;BA.debugLine="setBitmap(LoadBitmapSample(Dir, FileName, mBase.W"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_setbitmap" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"), b4ximageview.__c.runMethod(false,"LoadBitmapSample",(Object)(_dir),(Object)(_filename),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))).getObject())); + BA.debugLineNum = 116;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbitmap(RemoteObject __ref,RemoteObject _bmp) throws Exception{ +try { + Debug.PushSubsStack("setBitmap (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,124); +if (RapidSub.canDelegate("setbitmap")) { return __ref.runUserSub(false, "b4ximageview","setbitmap", __ref, _bmp);} +Debug.locals.put("Bmp", _bmp); + BA.debugLineNum = 124;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 125;BA.debugLine="mBitmap = Bmp"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbitmap" /*RemoteObject*/ ,_bmp); + BA.debugLineNum = 126;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)"; +Debug.JustUpdateDeviceLine(); +b4ximageview._xuiviewsutils.runVoidMethod ("_setbitmapandfill" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_iv" /*RemoteObject*/ )),(Object)(_bmp)); + BA.debugLineNum = 127;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcornersradius(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("setCornersRadius (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("setcornersradius")) { return __ref.runUserSub(false, "b4ximageview","setcornersradius", __ref, _i);} +Debug.locals.put("i", _i); + BA.debugLineNum = 60;BA.debugLine="Public Sub setCornersRadius (i As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 61;BA.debugLine="mCornersRadius = i"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcornersradius" /*RemoteObject*/ ,_i); + BA.debugLineNum = 62;BA.debugLine="UpdateClip"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_updateclip" /*RemoteObject*/ ); + BA.debugLineNum = 63;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setresizemode(RemoteObject __ref,RemoteObject _s) throws Exception{ +try { + Debug.PushSubsStack("setResizeMode (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,71); +if (RapidSub.canDelegate("setresizemode")) { return __ref.runUserSub(false, "b4ximageview","setresizemode", __ref, _s);} +Debug.locals.put("s", _s); + BA.debugLineNum = 71;BA.debugLine="Public Sub setResizeMode(s As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 72;BA.debugLine="If s = mResizeMode Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_s,__ref.getField(true,"_mresizemode" /*RemoteObject*/ ))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 73;BA.debugLine="mResizeMode = s"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mresizemode" /*RemoteObject*/ ,_s); + BA.debugLineNum = 74;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 75;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setroundedimage(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setRoundedImage (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,49); +if (RapidSub.canDelegate("setroundedimage")) { return __ref.runUserSub(false, "b4ximageview","setroundedimage", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 49;BA.debugLine="Public Sub setRoundedImage (b As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 50;BA.debugLine="If b = mRound Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_b,__ref.getField(true,"_mround" /*RemoteObject*/ ))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 51;BA.debugLine="mRound = b"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mround" /*RemoteObject*/ ,_b); + BA.debugLineNum = 52;BA.debugLine="UpdateClip"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_updateclip" /*RemoteObject*/ ); + BA.debugLineNum = 53;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,77); +if (RapidSub.canDelegate("update")) { return __ref.runUserSub(false, "b4ximageview","update", __ref);} +RemoteObject _imageviewwidth = RemoteObject.createImmutable(0f); +RemoteObject _imageviewheight = RemoteObject.createImmutable(0f); +RemoteObject _bmpratio = RemoteObject.createImmutable(0f); +RemoteObject _r = RemoteObject.createImmutable(0f); + BA.debugLineNum = 77;BA.debugLine="Public Sub Update"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 78;BA.debugLine="If mBitmap.IsInitialized = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"IsInitialized"),b4ximageview.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 79;BA.debugLine="UpdateClip"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_updateclip" /*RemoteObject*/ ); + BA.debugLineNum = 80;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = RemoteObject.createImmutable(0f);Debug.locals.put("ImageViewWidth", _imageviewwidth); +_imageviewheight = RemoteObject.createImmutable(0f);Debug.locals.put("ImageViewHeight", _imageviewheight); + BA.debugLineNum = 81;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H"; +Debug.JustUpdateDeviceLine(); +_bmpratio = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/",0, 0));Debug.locals.put("bmpRatio", _bmpratio);Debug.locals.put("bmpRatio", _bmpratio); + BA.debugLineNum = 82;BA.debugLine="Select mResizeMode"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(__ref.getField(true,"_mresizemode" /*RemoteObject*/ ),BA.ObjectToString("FILL"),BA.ObjectToString("FIT"),BA.ObjectToString("FILL_WIDTH"),BA.ObjectToString("FILL_HEIGHT"),BA.ObjectToString("FILL_NO_DISTORTIONS"),BA.ObjectToString("NONE"))) { +case 0: { + BA.debugLineNum = 84;BA.debugLine="ImageViewWidth = mBase.Width"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 85;BA.debugLine="ImageViewHeight = mBase.Height"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +case 1: { + BA.debugLineNum = 87;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, b4ximageview.__c.runMethod(true,"Min",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/",0, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/",0, 0))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 88;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth"),_r}, "*",0, 0));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 89;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight"),_r}, "*",0, 0));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +case 2: { + BA.debugLineNum = 91;BA.debugLine="ImageViewWidth = mBase.Width"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 92;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_imageviewwidth,_bmpratio}, "/",0, 0));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +case 3: { + BA.debugLineNum = 94;BA.debugLine="ImageViewHeight = mBase.Height"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"));Debug.locals.put("ImageViewHeight", _imageviewheight); + BA.debugLineNum = 95;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_imageviewheight,_bmpratio}, "*",0, 0));Debug.locals.put("ImageViewWidth", _imageviewwidth); + break; } +case 4: { + BA.debugLineNum = 97;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, b4ximageview.__c.runMethod(true,"Max",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/",0, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/",0, 0))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 98;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth"),_r}, "*",0, 0));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 99;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight"),_r}, "*",0, 0));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +case 5: { + BA.debugLineNum = 101;BA.debugLine="ImageViewWidth = mBitmap.Width"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, __ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth"));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 102;BA.debugLine="ImageViewHeight = mBitmap.Height"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, __ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight"));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +default: { + BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; +Debug.JustUpdateDeviceLine(); +b4ximageview.__c.runVoidMethod ("LogImpl","930867483",RemoteObject.concat(RemoteObject.createImmutable("Invalid resize mode: "),__ref.getField(true,"_mresizemode" /*RemoteObject*/ )),0); + break; } +} +; + BA.debugLineNum = 106;BA.debugLine="iv.SetLayoutAnimated(0, Round(mBase.Width / 2 - I"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_iv" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, b4ximageview.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2),_imageviewwidth,RemoteObject.createImmutable(2)}, "/-/",1, 0))))),(Object)(BA.numberCast(int.class, b4ximageview.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2),_imageviewheight,RemoteObject.createImmutable(2)}, "/-/",1, 0))))),(Object)(BA.numberCast(int.class, b4ximageview.__c.runMethod(true,"Round",(Object)(BA.numberCast(double.class, _imageviewwidth))))),(Object)(BA.numberCast(int.class, b4ximageview.__c.runMethod(true,"Round",(Object)(BA.numberCast(double.class, _imageviewheight)))))); + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updateclip(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateClip (b4ximageview) ","b4ximageview",56,__ref.getField(false, "ba"),__ref,135); +if (RapidSub.canDelegate("updateclip")) { return __ref.runUserSub(false, "b4ximageview","updateclip", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 135;BA.debugLine="Private Sub UpdateClip"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 136;BA.debugLine="If mRound Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mround" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 137;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(true,"_mbackgroundcolor" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, b4ximageview.__c.runMethod(true,"Min",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0)))))); + }else { + BA.debugLineNum = 139;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(true,"_mbackgroundcolor" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_mcornersradius" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 161;BA.debugLine="Dim jo As JavaObject = mBase"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref.getField(false,"_mbase" /*RemoteObject*/ ).getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 162;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setClipToOutline")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((RemoteObject.solveBoolean(".",__ref.getField(true,"_mround" /*RemoteObject*/ )) || RemoteObject.solveBoolean(">",__ref.getField(true,"_mcornersradius" /*RemoteObject*/ ),BA.numberCast(double.class, 0))))}))); + BA.debugLineNum = 164;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xinputtemplate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xinputtemplate.java new file mode 100644 index 0000000..8caa637 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xinputtemplate.java @@ -0,0 +1,41 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xinputtemplate { + public static RemoteObject myClass; + public b4xinputtemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xinputtemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _text = RemoteObject.createImmutable(""); +public static RemoteObject _xdialog = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xdialog"); +public static RemoteObject _regexpattern = RemoteObject.createImmutable(""); +public static RemoteObject _textfield1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lbltitle = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _mallowdecimals = RemoteObject.createImmutable(false); +public static RemoteObject _bordercolor = RemoteObject.createImmutable(0); +public static RemoteObject _bordercolorinvalid = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"BorderColor",_ref.getField(false, "_bordercolor"),"BorderColorInvalid",_ref.getField(false, "_bordercolorinvalid"),"DateUtils",_ref.getField(false, "_dateutils"),"IME",_ref.getField(false, "_ime"),"lblTitle",_ref.getField(false, "_lbltitle"),"mAllowDecimals",_ref.getField(false, "_mallowdecimals"),"mBase",_ref.getField(false, "_mbase"),"RegexPattern",_ref.getField(false, "_regexpattern"),"Text",_ref.getField(false, "_text"),"TextField1",_ref.getField(false, "_textfield1"),"xDialog",_ref.getField(false, "_xdialog"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xinputtemplate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xinputtemplate_subs_0.java new file mode 100644 index 0000000..4e4a38d --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xinputtemplate_subs_0.java @@ -0,0 +1,457 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xinputtemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xinputtemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xinputtemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xinputtemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xinputtemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Public Text As String"; +b4xinputtemplate._text = RemoteObject.createImmutable("");__ref.setField("_text",b4xinputtemplate._text); + //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; +b4xinputtemplate._xdialog = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xdialog");__ref.setField("_xdialog",b4xinputtemplate._xdialog); + //BA.debugLineNum = 6;BA.debugLine="Public RegexPattern As String"; +b4xinputtemplate._regexpattern = RemoteObject.createImmutable("");__ref.setField("_regexpattern",b4xinputtemplate._regexpattern); + //BA.debugLineNum = 7;BA.debugLine="Public TextField1 As B4XView"; +b4xinputtemplate._textfield1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_textfield1",b4xinputtemplate._textfield1); + //BA.debugLineNum = 8;BA.debugLine="Public lblTitle As B4XView"; +b4xinputtemplate._lbltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lbltitle",b4xinputtemplate._lbltitle); + //BA.debugLineNum = 10;BA.debugLine="Private IME As IME"; +b4xinputtemplate._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",b4xinputtemplate._ime); + //BA.debugLineNum = 12;BA.debugLine="Private mAllowDecimals As Boolean"; +b4xinputtemplate._mallowdecimals = RemoteObject.createImmutable(false);__ref.setField("_mallowdecimals",b4xinputtemplate._mallowdecimals); + //BA.debugLineNum = 13;BA.debugLine="Private BorderColor = xui.Color_White, BorderColo"; +b4xinputtemplate._bordercolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_bordercolor",b4xinputtemplate._bordercolor); +b4xinputtemplate._bordercolorinvalid = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Red");__ref.setField("_bordercolorinvalid",b4xinputtemplate._bordercolorinvalid); + //BA.debugLineNum = 14;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _configurefornumbers(RemoteObject __ref,RemoteObject _allowdecimals,RemoteObject _allownegative) throws Exception{ +try { + Debug.PushSubsStack("ConfigureForNumbers (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,40); +if (RapidSub.canDelegate("configurefornumbers")) { return __ref.runUserSub(false, "b4xinputtemplate","configurefornumbers", __ref, _allowdecimals, _allownegative);} +RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +Debug.locals.put("AllowDecimals", _allowdecimals); +Debug.locals.put("AllowNegative", _allownegative); + BA.debugLineNum = 40;BA.debugLine="Public Sub ConfigureForNumbers (AllowDecimals As B"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 42;BA.debugLine="Dim et As EditText = TextField1"; +Debug.JustUpdateDeviceLine(); +_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_et = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), __ref.getField(false,"_textfield1" /*RemoteObject*/ ).getObject());Debug.locals.put("et", _et);Debug.locals.put("et", _et); + BA.debugLineNum = 43;BA.debugLine="If AllowDecimals Or AllowNegative Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_allowdecimals) || RemoteObject.solveBoolean(".",_allownegative)) { + BA.debugLineNum = 44;BA.debugLine="et.InputType = et.INPUT_TYPE_DECIMAL_NUMBERS"; +Debug.JustUpdateDeviceLine(); +_et.runMethod(true,"setInputType",_et.getField(true,"INPUT_TYPE_DECIMAL_NUMBERS")); + }else { + BA.debugLineNum = 46;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; +Debug.JustUpdateDeviceLine(); +_et.runMethod(true,"setInputType",_et.getField(true,"INPUT_TYPE_NUMBERS")); + }; + BA.debugLineNum = 59;BA.debugLine="If AllowDecimals And AllowNegative Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_allowdecimals) && RemoteObject.solveBoolean(".",_allownegative)) { + BA.debugLineNum = 60;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_regexpattern" /*RemoteObject*/ ,BA.ObjectToString("^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$")); + }else +{ BA.debugLineNum = 61;BA.debugLine="Else If AllowDecimals And AllowNegative = False T"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_allowdecimals) && RemoteObject.solveBoolean("=",_allownegative,b4xinputtemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 62;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_regexpattern" /*RemoteObject*/ ,BA.ObjectToString("^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$")); + }else +{ BA.debugLineNum = 63;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_allowdecimals,b4xinputtemplate.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",_allownegative,b4xinputtemplate.__c.getField(true,"True"))) { + BA.debugLineNum = 64;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)$\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_regexpattern" /*RemoteObject*/ ,BA.ObjectToString("^-?(0|[1-9]\\d*)$")); + }else +{ BA.debugLineNum = 65;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_allowdecimals,b4xinputtemplate.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",_allownegative,b4xinputtemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 66;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)$\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_regexpattern" /*RemoteObject*/ ,BA.ObjectToString("^(0|[1-9]\\d*)$")); + }}}} +; + BA.debugLineNum = 68;BA.debugLine="mAllowDecimals = AllowDecimals"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mallowdecimals" /*RemoteObject*/ ,_allowdecimals); + BA.debugLineNum = 69;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,137); +if (RapidSub.canDelegate("dialogclosed")) { return __ref.runUserSub(false, "b4xinputtemplate","dialogclosed", __ref, _result);} +Debug.locals.put("Result", _result); + BA.debugLineNum = 137;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 138;BA.debugLine="If Result = xui.DialogResponse_Positive Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_result,BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")))) { + BA.debugLineNum = 139;BA.debugLine="Text = TextField1.Text"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_text" /*RemoteObject*/ ,__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runMethod(true,"getText")); + }; + BA.debugLineNum = 141;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,116); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "b4xinputtemplate","getpanel", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 116;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 117;BA.debugLine="Return mBase"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbase" /*RemoteObject*/ ); + BA.debugLineNum = 118;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xinputtemplate","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 17;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbase" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mBase")))); + BA.debugLineNum = 18;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 80dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xinputtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)))),(Object)(b4xinputtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80))))); + BA.debugLineNum = 19;BA.debugLine="mBase.LoadLayout(\"B4XInputTemplate\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("B4XInputTemplate")),__ref.getField(false, "ba")); + BA.debugLineNum = 20;BA.debugLine="TextField1.TextColor = xui.Color_White"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runMethod(true,"setTextColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White")); + BA.debugLineNum = 22;BA.debugLine="IME.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 23;BA.debugLine="Dim jo As JavaObject = TextField1"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref.getField(false,"_textfield1" /*RemoteObject*/ ).getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 24;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setImeOptions")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(b4xinputtemplate.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(BA.numberCast(int.class, 33554432)),(Object)(BA.numberCast(int.class, 6))))}))); + BA.debugLineNum = 26;BA.debugLine="Dim jo As JavaObject = Me"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref);Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 27;BA.debugLine="jo.RunMethod(\"RemoveWarning\", Null)"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("RemoveWarning")),(Object)((b4xinputtemplate.__c.getField(false,"Null")))); + BA.debugLineNum = 30;BA.debugLine="SetBorder(BorderColor)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xinputtemplate.class, "_setborder" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_bordercolor" /*RemoteObject*/ ))); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isvalid(RemoteObject __ref,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("IsValid (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,103); +if (RapidSub.canDelegate("isvalid")) { return __ref.runUserSub(false, "b4xinputtemplate","isvalid", __ref, _new);} +Debug.locals.put("New", _new); + BA.debugLineNum = 103;BA.debugLine="Private Sub IsValid(New As String) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 104;BA.debugLine="Return RegexPattern = \"\" Or Regex.IsMatch(RegexPa"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("=",__ref.getField(true,"_regexpattern" /*RemoteObject*/ ),BA.ObjectToString("")) || RemoteObject.solveBoolean(".",b4xinputtemplate.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(__ref.getField(true,"_regexpattern" /*RemoteObject*/ )),(Object)(_new)))); + BA.debugLineNum = 105;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setborder(RemoteObject __ref,RemoteObject _bc) throws Exception{ +try { + Debug.PushSubsStack("SetBorder (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,99); +if (RapidSub.canDelegate("setborder")) { return __ref.runUserSub(false, "b4xinputtemplate","setborder", __ref, _bc);} +Debug.locals.put("bc", _bc); + BA.debugLineNum = 99;BA.debugLine="Private Sub SetBorder(bc As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 100;BA.debugLine="TextField1.SetColorAndBorder(xui.Color_Transparen"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(b4xinputtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(_bc),(Object)(b4xinputtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 101;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbordercolor(RemoteObject __ref,RemoteObject _valid,RemoteObject _invalid) throws Exception{ +try { + Debug.PushSubsStack("SetBorderColor (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,34); +if (RapidSub.canDelegate("setbordercolor")) { return __ref.runUserSub(false, "b4xinputtemplate","setbordercolor", __ref, _valid, _invalid);} +Debug.locals.put("Valid", _valid); +Debug.locals.put("Invalid", _invalid); + BA.debugLineNum = 34;BA.debugLine="Public Sub SetBorderColor(Valid As Int, Invalid As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 35;BA.debugLine="BorderColor = Valid"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_bordercolor" /*RemoteObject*/ ,_valid); + BA.debugLineNum = 36;BA.debugLine="BorderColorInvalid = Invalid"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_bordercolorinvalid" /*RemoteObject*/ ,_invalid); + BA.debugLineNum = 37;BA.debugLine="SetBorder(BorderColor)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xinputtemplate.class, "_setborder" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_bordercolor" /*RemoteObject*/ ))); + BA.debugLineNum = 38;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,120); +if (RapidSub.canDelegate("show")) { __ref.runUserSub(false, "b4xinputtemplate","show", __ref, _dialog); return;} +ResumableSub_Show rsub = new ResumableSub_Show(null,__ref,_dialog); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xinputtemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xinputtemplate parent; +RemoteObject _dialog; +RemoteObject _tf = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,120); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 121;BA.debugLine="xDialog = Dialog"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_xdialog" /*RemoteObject*/ ,_dialog); + BA.debugLineNum = 122;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).setField ("_putattop" /*RemoteObject*/ ,BA.ObjectToBoolean(RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i")))); + BA.debugLineNum = 123;BA.debugLine="Sleep(20)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xinputtemplate", "show"),BA.numberCast(int.class, 20)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; + BA.debugLineNum = 124;BA.debugLine="TextField1.Text = Text"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_text" /*RemoteObject*/ ))); + BA.debugLineNum = 125;BA.debugLine="Validate(Text)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xinputtemplate.class, "_validate" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_text" /*RemoteObject*/ ))); + BA.debugLineNum = 126;BA.debugLine="TextField1.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 128;BA.debugLine="Dim tf As EditText = TextField1"; +Debug.JustUpdateDeviceLine(); +_tf = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_tf = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), __ref.getField(false,"_textfield1" /*RemoteObject*/ ).getObject());Debug.locals.put("tf", _tf);Debug.locals.put("tf", _tf); + BA.debugLineNum = 129;BA.debugLine="tf.SelectAll"; +Debug.JustUpdateDeviceLine(); +_tf.runVoidMethod ("SelectAll"); + BA.debugLineNum = 130;BA.debugLine="IME.ShowKeyboard(TextField1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("ShowKeyboard",(Object)((__ref.getField(false,"_textfield1" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 135;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _textfield1_action(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TextField1_Action (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,107); +if (RapidSub.canDelegate("textfield1_action")) { return __ref.runUserSub(false, "b4xinputtemplate","textfield1_action", __ref);} + BA.debugLineNum = 107;BA.debugLine="Private Sub TextField1_Action"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 108;BA.debugLine="TextField1_EnterPressed"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xinputtemplate.class, "_textfield1_enterpressed" /*RemoteObject*/ ); + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _textfield1_enterpressed(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TextField1_EnterPressed (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,111); +if (RapidSub.canDelegate("textfield1_enterpressed")) { return __ref.runUserSub(false, "b4xinputtemplate","textfield1_enterpressed", __ref);} + BA.debugLineNum = 111;BA.debugLine="Private Sub TextField1_EnterPressed"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 112;BA.debugLine="If IsValid(TextField1.Text) Then xDialog.Close(xu"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (gunav2.keymon.com.mx.b4xinputtemplate.class, "_isvalid" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runMethod(true,"getText"))).get().booleanValue()) { +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")));}; + BA.debugLineNum = 113;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _textfield1_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("TextField1_TextChanged (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,71); +if (RapidSub.canDelegate("textfield1_textchanged")) { return __ref.runUserSub(false, "b4xinputtemplate","textfield1_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 71;BA.debugLine="Private Sub TextField1_TextChanged (Old As String,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 83;BA.debugLine="Validate (New)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xinputtemplate.class, "_validate" /*RemoteObject*/ ,(Object)(_new)); + BA.debugLineNum = 84;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _validate(RemoteObject __ref,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("Validate (b4xinputtemplate) ","b4xinputtemplate",57,__ref.getField(false, "ba"),__ref,86); +if (RapidSub.canDelegate("validate")) { return __ref.runUserSub(false, "b4xinputtemplate","validate", __ref, _new);} +RemoteObject _bc = RemoteObject.createImmutable(0); +RemoteObject _enabled = RemoteObject.createImmutable(false); +Debug.locals.put("New", _new); + BA.debugLineNum = 86;BA.debugLine="Private Sub Validate (New As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="Dim bc As Int = BorderColor"; +Debug.JustUpdateDeviceLine(); +_bc = __ref.getField(true,"_bordercolor" /*RemoteObject*/ );Debug.locals.put("bc", _bc);Debug.locals.put("bc", _bc); + BA.debugLineNum = 88;BA.debugLine="Dim enabled As Boolean = True"; +Debug.JustUpdateDeviceLine(); +_enabled = b4xinputtemplate.__c.getField(true,"True");Debug.locals.put("enabled", _enabled);Debug.locals.put("enabled", _enabled); + BA.debugLineNum = 89;BA.debugLine="If IsValid(New) = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.b4xinputtemplate.class, "_isvalid" /*RemoteObject*/ ,(Object)(_new)),b4xinputtemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 90;BA.debugLine="If New.Length > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 91;BA.debugLine="bc = BorderColorInvalid"; +Debug.JustUpdateDeviceLine(); +_bc = __ref.getField(true,"_bordercolorinvalid" /*RemoteObject*/ );Debug.locals.put("bc", _bc); + }; + BA.debugLineNum = 93;BA.debugLine="enabled = False"; +Debug.JustUpdateDeviceLine(); +_enabled = b4xinputtemplate.__c.getField(true,"False");Debug.locals.put("enabled", _enabled); + }; + BA.debugLineNum = 95;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_setbuttonstate" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")),(Object)(_enabled)); + BA.debugLineNum = 96;BA.debugLine="SetBorder(bc)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xinputtemplate.class, "_setborder" /*RemoteObject*/ ,(Object)(_bc)); + BA.debugLineNum = 97;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlisttemplate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlisttemplate.java new file mode 100644 index 0000000..15301a9 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlisttemplate.java @@ -0,0 +1,40 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xlisttemplate { + public static RemoteObject myClass; + public b4xlisttemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xlisttemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _options = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _selecteditem = RemoteObject.createImmutable(""); +public static RemoteObject _xdialog = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xdialog"); +public static RemoteObject _allowmultiselection = RemoteObject.createImmutable(false); +public static RemoteObject _selectioncolor = RemoteObject.createImmutable(0); +public static RemoteObject _selecteditems = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _multiselectionminimum = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AllowMultiSelection",_ref.getField(false, "_allowmultiselection"),"CustomListView1",_ref.getField(false, "_customlistview1"),"DateUtils",_ref.getField(false, "_dateutils"),"mBase",_ref.getField(false, "_mbase"),"MultiSelectionMinimum",_ref.getField(false, "_multiselectionminimum"),"Options",_ref.getField(false, "_options"),"SelectedItem",_ref.getField(false, "_selecteditem"),"SelectedItems",_ref.getField(false, "_selecteditems"),"SelectionColor",_ref.getField(false, "_selectioncolor"),"xDialog",_ref.getField(false, "_xdialog"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlisttemplate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlisttemplate_subs_0.java new file mode 100644 index 0000000..e061f3a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlisttemplate_subs_0.java @@ -0,0 +1,431 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xlisttemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xlisttemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xlisttemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xlisttemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xlisttemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; +b4xlisttemplate._customlistview1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_customlistview1",b4xlisttemplate._customlistview1); + //BA.debugLineNum = 5;BA.debugLine="Public Options As List"; +b4xlisttemplate._options = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_options",b4xlisttemplate._options); + //BA.debugLineNum = 6;BA.debugLine="Public SelectedItem As String"; +b4xlisttemplate._selecteditem = RemoteObject.createImmutable("");__ref.setField("_selecteditem",b4xlisttemplate._selecteditem); + //BA.debugLineNum = 7;BA.debugLine="Private xDialog As B4XDialog"; +b4xlisttemplate._xdialog = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xdialog");__ref.setField("_xdialog",b4xlisttemplate._xdialog); + //BA.debugLineNum = 8;BA.debugLine="Public AllowMultiSelection As Boolean"; +b4xlisttemplate._allowmultiselection = RemoteObject.createImmutable(false);__ref.setField("_allowmultiselection",b4xlisttemplate._allowmultiselection); + //BA.debugLineNum = 9;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; +b4xlisttemplate._selectioncolor = BA.numberCast(int.class, ((int)0xaa0086ff));__ref.setField("_selectioncolor",b4xlisttemplate._selectioncolor); + //BA.debugLineNum = 10;BA.debugLine="Public SelectedItems As List"; +b4xlisttemplate._selecteditems = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_selecteditems",b4xlisttemplate._selecteditems); + //BA.debugLineNum = 11;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; +b4xlisttemplate._multiselectionminimum = BA.numberCast(int.class, 0);__ref.setField("_multiselectionminimum",b4xlisttemplate._multiselectionminimum); + //BA.debugLineNum = 12;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _customlistview1_itemclick(RemoteObject __ref,RemoteObject _index,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("CustomListView1_ItemClick (b4xlisttemplate) ","b4xlisttemplate",58,__ref.getField(false, "ba"),__ref,76); +if (RapidSub.canDelegate("customlistview1_itemclick")) { return __ref.runUserSub(false, "b4xlisttemplate","customlistview1_itemclick", __ref, _index, _value);} +RemoteObject _item = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +Debug.locals.put("Index", _index); +Debug.locals.put("Value", _value); + BA.debugLineNum = 76;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 77;BA.debugLine="If Value = \"\" Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 78;BA.debugLine="If AllowMultiSelection Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_allowmultiselection" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 79;BA.debugLine="Dim Item As CLVItem = CustomListView1.GetRawList"; +Debug.JustUpdateDeviceLine(); +_item = __ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_getrawlistitem",(Object)(_index));Debug.locals.put("Item", _item);Debug.locals.put("Item", _item); + BA.debugLineNum = 80;BA.debugLine="SelectItem (Item, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xlisttemplate.class, "_selectitem" /*RemoteObject*/ ,(Object)(_item),(Object)(b4xlisttemplate.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 82;BA.debugLine="SelectedItem = Value"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteditem" /*RemoteObject*/ ,BA.ObjectToString(_value)); + BA.debugLineNum = 83;BA.debugLine="SelectedItems.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 84;BA.debugLine="SelectedItems.Add(Value)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_value)); + BA.debugLineNum = 85;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))); + }; + BA.debugLineNum = 87;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xlisttemplate) ","b4xlisttemplate",58,__ref.getField(false, "ba"),__ref,89); +if (RapidSub.canDelegate("dialogclosed")) { return __ref.runUserSub(false, "b4xlisttemplate","dialogclosed", __ref, _result);} +Debug.locals.put("Result", _result); + BA.debugLineNum = 89;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 91;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (b4xlisttemplate) ","b4xlisttemplate",58,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "b4xlisttemplate","getpanel", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 37;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="Return mBase"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbase" /*RemoteObject*/ ); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xlisttemplate) ","b4xlisttemplate",58,__ref.getField(false, "ba"),__ref,14); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xlisttemplate","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 14;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 15;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbase" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mBase")))); + BA.debugLineNum = 16;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xlisttemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)))),(Object)(b4xlisttemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300))))); + BA.debugLineNum = 17;BA.debugLine="mBase.LoadLayout(\"ListTemplate\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("ListTemplate")),__ref.getField(false, "ba")); + BA.debugLineNum = 18;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 19;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(false,"_sv").runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 20;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).setField ("_defaulttextbackgroundcolor",BA.numberCast(int.class, ((int)0xff555555))); + BA.debugLineNum = 21;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).setField ("_defaulttextcolor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White")); + BA.debugLineNum = 26;BA.debugLine="Options.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_options" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 27;BA.debugLine="SelectedItems.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 28;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Resize (b4xlisttemplate) ","b4xlisttemplate",58,__ref.getField(false, "ba"),__ref,31); +if (RapidSub.canDelegate("resize")) { return __ref.runUserSub(false, "b4xlisttemplate","resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 31;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 32;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 33;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, _width)),(Object)(BA.numberCast(double.class, _height))); + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _selectitem(RemoteObject __ref,RemoteObject _item,RemoteObject _toggle) throws Exception{ +try { + Debug.PushSubsStack("SelectItem (b4xlisttemplate) ","b4xlisttemplate",58,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("selectitem")) { return __ref.runUserSub(false, "b4xlisttemplate","selectitem", __ref, _item, _toggle);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _selected = RemoteObject.createImmutable(false); +Debug.locals.put("Item", _item); +Debug.locals.put("Toggle", _toggle); + BA.debugLineNum = 59;BA.debugLine="Private Sub SelectItem (Item As CLVItem, Toggle As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 60;BA.debugLine="Dim index As Int = SelectedItems.IndexOf(Item.Val"; +Debug.JustUpdateDeviceLine(); +_index = __ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_item.getField(false,"Value")));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 61;BA.debugLine="Dim Selected As Boolean = index > -1"; +Debug.JustUpdateDeviceLine(); +_selected = BA.ObjectToBoolean(RemoteObject.solveBoolean(">",_index,BA.numberCast(double.class, -(double) (0 + 1))));Debug.locals.put("Selected", _selected);Debug.locals.put("Selected", _selected); + BA.debugLineNum = 62;BA.debugLine="If Toggle Then Selected = Not(Selected)"; +Debug.JustUpdateDeviceLine(); +if (_toggle.get().booleanValue()) { +_selected = b4xlisttemplate.__c.runMethod(true,"Not",(Object)(_selected));Debug.locals.put("Selected", _selected);}; + BA.debugLineNum = 63;BA.debugLine="If Selected Then"; +Debug.JustUpdateDeviceLine(); +if (_selected.get().booleanValue()) { + BA.debugLineNum = 64;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = Selection"; +Debug.JustUpdateDeviceLine(); +if (b4xlisttemplate.__c.runMethod(true,"Not",(Object)(_toggle)).get().booleanValue()) { +_item.getField(false,"Panel").runMethod(true,"setColor",__ref.getField(true,"_selectioncolor" /*RemoteObject*/ ));}; + BA.debugLineNum = 65;BA.debugLine="Item.Color = CustomListView1.DefaultTextBackgrou"; +Debug.JustUpdateDeviceLine(); +_item.setField ("Color",__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(true,"_defaulttextbackgroundcolor")); + BA.debugLineNum = 66;BA.debugLine="If index = -1 Then SelectedItems.Add(Item.Value)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_index,BA.numberCast(double.class, -(double) (0 + 1)))) { +__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_item.getField(false,"Value")));}; + }else { + BA.debugLineNum = 68;BA.debugLine="Item.Color = SelectionColor"; +Debug.JustUpdateDeviceLine(); +_item.setField ("Color",__ref.getField(true,"_selectioncolor" /*RemoteObject*/ )); + BA.debugLineNum = 69;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = CustomLis"; +Debug.JustUpdateDeviceLine(); +if (b4xlisttemplate.__c.runMethod(true,"Not",(Object)(_toggle)).get().booleanValue()) { +_item.getField(false,"Panel").runMethod(true,"setColor",__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(true,"_defaulttextbackgroundcolor"));}; + BA.debugLineNum = 70;BA.debugLine="If index > -1 Then SelectedItems.RemoveAt(index)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_index,BA.numberCast(double.class, -(double) (0 + 1)))) { +__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(_index));}; + }; + BA.debugLineNum = 72;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_setbuttonstate" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("g",__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, __ref.getField(true,"_multiselectionminimum" /*RemoteObject*/ )))))); + BA.debugLineNum = 73;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xlisttemplate) ","b4xlisttemplate",58,__ref.getField(false, "ba"),__ref,41); +if (RapidSub.canDelegate("show")) { __ref.runUserSub(false, "b4xlisttemplate","show", __ref, _dialog); return;} +ResumableSub_Show rsub = new ResumableSub_Show(null,__ref,_dialog); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xlisttemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xlisttemplate parent; +RemoteObject _dialog; +RemoteObject _opt = RemoteObject.declareNull("Object"); +int _i = 0; +RemoteObject _item = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +RemoteObject group3; +int index3; +int groupLen3; +int step8; +int limit8; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xlisttemplate) ","b4xlisttemplate",58,__ref.getField(false, "ba"),__ref,41); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 42;BA.debugLine="xDialog = Dialog"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_xdialog" /*RemoteObject*/ ,_dialog); + BA.debugLineNum = 43;BA.debugLine="CustomListView1.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 44;BA.debugLine="For Each opt As Object In Options"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//for +this.state = 4; +group3 = __ref.getField(false,"_options" /*RemoteObject*/ ); +index3 = 0; +groupLen3 = group3.runMethod(true,"getSize").get(); +Debug.locals.put("opt", _opt); +this.state = 12; +if (true) break; + +case 12: +//C +this.state = 4; +if (index3 < groupLen3) { +this.state = 3; +_opt = group3.runMethod(false,"Get",index3);Debug.locals.put("opt", _opt);} +if (true) break; + +case 13: +//C +this.state = 12; +index3++; +Debug.locals.put("opt", _opt); +if (true) break; + +case 3: +//C +this.state = 13; + BA.debugLineNum = 45;BA.debugLine="CustomListView1.AddTextItem(opt, opt)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)(_opt),(Object)(_opt)); + if (true) break; +if (true) break; +Debug.locals.put("opt", _opt); +; + BA.debugLineNum = 47;BA.debugLine="If AllowMultiSelection Then"; +Debug.JustUpdateDeviceLine(); + +case 4: +//if +this.state = 11; +if (__ref.getField(true,"_allowmultiselection" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 48;BA.debugLine="Sleep(20)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xlisttemplate", "show"),BA.numberCast(int.class, 20)); +this.state = 14; +return; +case 14: +//C +this.state = 7; +; + BA.debugLineNum = 49;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 7: +//for +this.state = 10; +step8 = 1; +limit8 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 15; +if (true) break; + +case 15: +//C +this.state = 10; +if ((step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8)) this.state = 9; +if (true) break; + +case 16: +//C +this.state = 15; +_i = ((int)(0 + _i + step8)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 9: +//C +this.state = 16; + BA.debugLineNum = 50;BA.debugLine="Dim item As CLVItem = CustomListView1.GetRawLis"; +Debug.JustUpdateDeviceLine(); +_item = __ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_getrawlistitem",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("item", _item);Debug.locals.put("item", _item); + BA.debugLineNum = 51;BA.debugLine="SelectItem (item, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xlisttemplate.class, "_selectitem" /*RemoteObject*/ ,(Object)(_item),(Object)(parent.__c.getField(true,"False"))); + if (true) break; +if (true) break; + +case 10: +//C +this.state = 11; +Debug.locals.put("i", _i); +; + if (true) break; + +case 11: +//C +this.state = -1; +; + BA.debugLineNum = 54;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_addstubtoclvifneeded" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_customlistview1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(true,"_defaulttextbackgroundcolor"))); + BA.debugLineNum = 55;BA.debugLine="SelectedItem = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteditem" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xloadingindicator.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xloadingindicator.java new file mode 100644 index 0000000..dc6e013 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xloadingindicator.java @@ -0,0 +1,40 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xloadingindicator { + public static RemoteObject myClass; + public b4xloadingindicator() { + } + public static PCBA staticBA = new PCBA(null, b4xloadingindicator.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _clr = RemoteObject.createImmutable(0); +public static RemoteObject _index = RemoteObject.createImmutable(0); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _duration = RemoteObject.createImmutable(0); +public static RemoteObject _drawingsubname = RemoteObject.createImmutable(""); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"clr",_ref.getField(false, "_clr"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"DrawingSubName",_ref.getField(false, "_drawingsubname"),"duration",_ref.getField(false, "_duration"),"index",_ref.getField(false, "_index"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xloadingindicator_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xloadingindicator_subs_0.java new file mode 100644 index 0000000..0a9d751 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xloadingindicator_subs_0.java @@ -0,0 +1,627 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xloadingindicator_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xloadingindicator","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 37;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="cvs.Resize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _width)),(Object)(BA.numberCast(float.class, _height))); + BA.debugLineNum = 39;BA.debugLine="MainLoop"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xloadingindicator.class, "_mainloop" /*void*/ ); + BA.debugLineNum = 40;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; +b4xloadingindicator._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xloadingindicator._meventname); + //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xloadingindicator._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xloadingindicator._mcallback); + //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xloadingindicator._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xloadingindicator._mbase); + //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; +b4xloadingindicator._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xloadingindicator._xui); + //BA.debugLineNum = 12;BA.debugLine="Private clr As Int"; +b4xloadingindicator._clr = RemoteObject.createImmutable(0);__ref.setField("_clr",b4xloadingindicator._clr); + //BA.debugLineNum = 13;BA.debugLine="Private index As Int"; +b4xloadingindicator._index = RemoteObject.createImmutable(0);__ref.setField("_index",b4xloadingindicator._index); + //BA.debugLineNum = 14;BA.debugLine="Private cvs As B4XCanvas"; +b4xloadingindicator._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xloadingindicator._cvs); + //BA.debugLineNum = 15;BA.debugLine="Private duration As Int"; +b4xloadingindicator._duration = RemoteObject.createImmutable(0);__ref.setField("_duration",b4xloadingindicator._duration); + //BA.debugLineNum = 16;BA.debugLine="Private DrawingSubName As String"; +b4xloadingindicator._drawingsubname = RemoteObject.createImmutable("");__ref.setField("_drawingsubname",b4xloadingindicator._drawingsubname); + //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; +b4xloadingindicator._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xloadingindicator._tag); + //BA.debugLineNum = 18;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,26); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4xloadingindicator","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _style = RemoteObject.createImmutable(""); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 26;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 27;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 28;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 28;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 29;BA.debugLine="clr = xui.PaintOrColorToColor(Props.Get(\"Color\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_clr" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Color"))))))); + BA.debugLineNum = 30;BA.debugLine="Dim style As String= Props.Get(\"IndicatorStyle\")"; +Debug.JustUpdateDeviceLine(); +_style = BA.ObjectToString(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("IndicatorStyle")))));Debug.locals.put("style", _style);Debug.locals.put("style", _style); + BA.debugLineNum = 31;BA.debugLine="Dim duration As Int = Props.Get(\"Duration\")"; +Debug.JustUpdateDeviceLine(); +b4xloadingindicator._duration = BA.numberCast(int.class, _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Duration")))));__ref.setField("_duration",b4xloadingindicator._duration); + BA.debugLineNum = 32;BA.debugLine="DrawingSubName = \"Draw_\" & style.Replace(\" \", \"\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_drawingsubname" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("Draw_"),_style.runMethod(true,"replace",(Object)(BA.ObjectToString(" ")),(Object)(RemoteObject.createImmutable(""))))); + BA.debugLineNum = 33;BA.debugLine="cvs.Initialize(mBase)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ))); + BA.debugLineNum = 34;BA.debugLine="MainLoop"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xloadingindicator.class, "_mainloop" /*void*/ ); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_arc1(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_Arc1 (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,105); +if (RapidSub.canDelegate("draw_arc1")) { return __ref.runUserSub(false, "b4xloadingindicator","draw_arc1", __ref, _progress);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XPath"); +RemoteObject _r = RemoteObject.createImmutable(0f); +Debug.locals.put("Progress", _progress); + BA.debugLineNum = 105;BA.debugLine="Private Sub Draw_Arc1 (Progress As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 106;BA.debugLine="Dim p As B4XPath"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XPath");Debug.locals.put("p", _p); + BA.debugLineNum = 107;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX"),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))}, "-",1, 0));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 108;BA.debugLine="If Progress < 0.5 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_progress,BA.numberCast(double.class, 0.5))) { + BA.debugLineNum = 109;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeArc",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY")),(Object)(_r),(Object)(BA.numberCast(float.class, -(double) (0 + 90))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_progress,RemoteObject.createImmutable(2),RemoteObject.createImmutable(360)}, "**",0, 0)))); + }else { + BA.debugLineNum = 111;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeArc",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY")),(Object)(_r),(Object)(BA.numberCast(float.class, -(double) (0 + 90))),(Object)(BA.numberCast(float.class, -(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),_progress}, "-",1, 0)).get().doubleValue()*(double) (0 + 2)*(double) (0 + 360)))); + }; + BA.debugLineNum = 113;BA.debugLine="cvs.ClipPath(p)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClipPath",(Object)(_p)); + BA.debugLineNum = 114;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect")),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 115;BA.debugLine="cvs.RemoveClip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("RemoveClip"); + BA.debugLineNum = 116;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_arc2(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_Arc2 (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,118); +if (RapidSub.canDelegate("draw_arc2")) { return __ref.runUserSub(false, "b4xloadingindicator","draw_arc2", __ref, _progress);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XPath"); +RemoteObject _r = RemoteObject.createImmutable(0f); +Debug.locals.put("Progress", _progress); + BA.debugLineNum = 118;BA.debugLine="Private Sub Draw_Arc2 (Progress As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 119;BA.debugLine="Dim p As B4XPath"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XPath");Debug.locals.put("p", _p); + BA.debugLineNum = 120;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX"),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))}, "-",1, 0));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 121;BA.debugLine="If Progress < 0.5 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_progress,BA.numberCast(double.class, 0.5))) { + BA.debugLineNum = 122;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeArc",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY")),(Object)(_r),(Object)(BA.numberCast(float.class, -(double) (0 + 90))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_progress,RemoteObject.createImmutable(2),RemoteObject.createImmutable(360)}, "**",0, 0)))); + }else { + BA.debugLineNum = 124;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeArc",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY")),(Object)(_r),(Object)(BA.numberCast(float.class, -(double) (0 + 90))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(360),(RemoteObject.solve(new RemoteObject[] {_progress,RemoteObject.createImmutable(0.5)}, "-",1, 0)),RemoteObject.createImmutable(2),RemoteObject.createImmutable(360)}, "-**",1, 0)))); + }; + BA.debugLineNum = 126;BA.debugLine="cvs.ClipPath(p)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClipPath",(Object)(_p)); + BA.debugLineNum = 127;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect")),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 128;BA.debugLine="cvs.RemoveClip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("RemoveClip"); + BA.debugLineNum = 129;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_fivelines1(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_FiveLines1 (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,95); +if (RapidSub.canDelegate("draw_fivelines1")) { return __ref.runUserSub(false, "b4xloadingindicator","draw_fivelines1", __ref, _progress);} +RemoteObject _minr = RemoteObject.createImmutable(0); +RemoteObject _maxr = RemoteObject.createImmutable(0); +RemoteObject _dx = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _r = RemoteObject.createImmutable(0f); +Debug.locals.put("Progress", _progress); + BA.debugLineNum = 95;BA.debugLine="Private Sub Draw_FiveLines1(Progress As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 96;BA.debugLine="Dim MinR As Int = 10dip"; +Debug.JustUpdateDeviceLine(); +_minr = b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)));Debug.locals.put("MinR", _minr);Debug.locals.put("MinR", _minr); + BA.debugLineNum = 97;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Height / 2"; +Debug.JustUpdateDeviceLine(); +_maxr = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("MaxR", _maxr);Debug.locals.put("MaxR", _maxr); + BA.debugLineNum = 98;BA.debugLine="Dim dx As Int = (cvs.TargetRect.Width - 2dip) / 5"; +Debug.JustUpdateDeviceLine(); +_dx = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getWidth"),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "-",1, 0)),RemoteObject.createImmutable(5)}, "/",0, 0));Debug.locals.put("dx", _dx);Debug.locals.put("dx", _dx); + BA.debugLineNum = 99;BA.debugLine="For i = 0 To 4"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = 4; +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 100;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_minr,_maxr,RemoteObject.createImmutable(2),_maxr,RemoteObject.createImmutable(2),b4xloadingindicator.__c.runMethod(true,"SinD",(Object)(RemoteObject.solve(new RemoteObject[] {_progress,RemoteObject.createImmutable(360),RemoteObject.createImmutable(30),RemoteObject.createImmutable(_i)}, "*-*",1, 0)))}, "+/+/*",2, 0));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 101;BA.debugLine="cvs.DrawLine(2dip + i * dx, cvs.TargetRect.Cente"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawLine",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable(_i),_dx}, "+*",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY"),_r}, "-",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable(_i),_dx}, "+*",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY"),_r}, "+",1, 0))),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4)))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 103;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_pacman(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_PacMan (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,131); +if (RapidSub.canDelegate("draw_pacman")) { return __ref.runUserSub(false, "b4xloadingindicator","draw_pacman", __ref, _progress);} +RemoteObject _dotr = RemoteObject.createImmutable(0); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XPath"); +RemoteObject _angle = RemoteObject.createImmutable(0); +RemoteObject _cx = RemoteObject.createImmutable(0); +RemoteObject _cy = RemoteObject.createImmutable(0); +RemoteObject _r = RemoteObject.createImmutable(0); +Debug.locals.put("Progress", _progress); + BA.debugLineNum = 131;BA.debugLine="Private Sub Draw_PacMan(Progress As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 132;BA.debugLine="Dim DotR As Int = 5dip"; +Debug.JustUpdateDeviceLine(); +_dotr = b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)));Debug.locals.put("DotR", _dotr);Debug.locals.put("DotR", _dotr); + BA.debugLineNum = 133;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.Width - DotR - Prog"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getWidth"),_dotr,_progress,(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX"),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))}, "-",1, 0))}, "--*",2, 0))),(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY")),(Object)(BA.numberCast(float.class, _dotr)),(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xloadingindicator.class, "_setalpha" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(255),RemoteObject.createImmutable(200),_progress}, "-*",1, 0))))),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 134;BA.debugLine="Dim p As B4XPath"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XPath");Debug.locals.put("p", _p); + BA.debugLineNum = 135;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; +Debug.JustUpdateDeviceLine(); +_angle = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),b4xloadingindicator.__c.runMethod(true,"SinD",(Object)(RemoteObject.solve(new RemoteObject[] {_progress,RemoteObject.createImmutable(180)}, "*",0, 0)))}, "*",0, 0));Debug.locals.put("angle", _angle);Debug.locals.put("angle", _angle); + BA.debugLineNum = 136;BA.debugLine="Dim cx As Int = cvs.TargetRect.CenterX - 5dip"; +Debug.JustUpdateDeviceLine(); +_cx = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX"),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))}, "-",1, 0));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 137;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; +Debug.JustUpdateDeviceLine(); +_cy = BA.numberCast(int.class, __ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY"));Debug.locals.put("cy", _cy);Debug.locals.put("cy", _cy); + BA.debugLineNum = 138;BA.debugLine="Dim r As Int = cvs.TargetRect.CenterY - 5dip"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY"),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))}, "-",1, 0));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 139;BA.debugLine="If angle = 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_angle,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 140;BA.debugLine="cvs.DrawCircle(cx, cy, r, clr, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, _cx)),(Object)(BA.numberCast(float.class, _cy)),(Object)(BA.numberCast(float.class, _r)),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + }else { + BA.debugLineNum = 142;BA.debugLine="p.InitializeArc(cx, cy , r, -angle / 2, -(360-an"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeArc",(Object)(BA.numberCast(float.class, _cx)),(Object)(BA.numberCast(float.class, _cy)),(Object)(BA.numberCast(float.class, _r)),(Object)(BA.numberCast(float.class, -(double) (0 + _angle.get().intValue())/(double)(double) (0 + 2))),(Object)(BA.numberCast(float.class, -(double) (0 + (RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(360),_angle}, "-",1, 1)).get().intValue())))); + BA.debugLineNum = 143;BA.debugLine="cvs.ClipPath(p)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClipPath",(Object)(_p)); + BA.debugLineNum = 144;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect")),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 145;BA.debugLine="cvs.RemoveClip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("RemoveClip"); + }; + BA.debugLineNum = 148;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_singlecircle(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_SingleCircle (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,85); +if (RapidSub.canDelegate("draw_singlecircle")) { return __ref.runUserSub(false, "b4xloadingindicator","draw_singlecircle", __ref, _progress);} +int _i = 0; +Debug.locals.put("Progress", _progress); + BA.debugLineNum = 85;BA.debugLine="Private Sub Draw_SingleCircle(Progress As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 86;BA.debugLine="For i = 0 To 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step1 = 1; +final int limit1 = 2; +_i = 0 ; +for (;(step1 > 0 && _i <= limit1) || (step1 < 0 && _i >= limit1) ;_i = ((int)(0 + _i + step1)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 87;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX, cvs.Targe"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY")),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX"),_progress}, "*",0, 0))),(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xloadingindicator.class, "_setalpha" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(255),RemoteObject.createImmutable(255),_progress}, "-*",1, 0))))),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_threecircles1(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_ThreeCircles1 (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,66); +if (RapidSub.canDelegate("draw_threecircles1")) { return __ref.runUserSub(false, "b4xloadingindicator","draw_threecircles1", __ref, _progress);} +RemoteObject _maxr = RemoteObject.createImmutable(0f); +RemoteObject _r = RemoteObject.createImmutable(0f); +int _i = 0; +RemoteObject _alpha = RemoteObject.createImmutable(0); +Debug.locals.put("Progress", _progress); + BA.debugLineNum = 66;BA.debugLine="Private Sub Draw_ThreeCircles1 (Progress As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 67;BA.debugLine="Dim MaxR As Float = (cvs.TargetRect.Width / 2 - 2"; +Debug.JustUpdateDeviceLine(); +_maxr = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getWidth"),RemoteObject.createImmutable(2),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))}, "/-",1, 0)),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("MaxR", _maxr);Debug.locals.put("MaxR", _maxr); + BA.debugLineNum = 68;BA.debugLine="Dim r As Float = 10dip + MaxR + MaxR * Sin(Progre"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10))),_maxr,_maxr,b4xloadingindicator.__c.runMethod(true,"Sin",(Object)(RemoteObject.solve(new RemoteObject[] {_progress,RemoteObject.createImmutable(2),b4xloadingindicator.__c.getField(true,"cPI")}, "**",0, 0)))}, "++*",2, 0));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 69;BA.debugLine="For i = 0 To 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step3 = 1; +final int limit3 = 2; +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 70;BA.debugLine="Dim alpha As Int = i * 120 + Progress * 360"; +Debug.JustUpdateDeviceLine(); +_alpha = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(120),_progress,RemoteObject.createImmutable(360)}, "*+*",1, 0));Debug.locals.put("alpha", _alpha);Debug.locals.put("alpha", _alpha); + BA.debugLineNum = 72;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX + r * SinD"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX"),_r,b4xloadingindicator.__c.runMethod(true,"SinD",(Object)(BA.numberCast(double.class, _alpha)))}, "+*",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY"),_r,b4xloadingindicator.__c.runMethod(true,"CosD",(Object)(BA.numberCast(double.class, _alpha)))}, "+*",1, 0))),(Object)(BA.numberCast(float.class, b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 7))))),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 74;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_threecircles2(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_ThreeCircles2 (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,76); +if (RapidSub.canDelegate("draw_threecircles2")) { return __ref.runUserSub(false, "b4xloadingindicator","draw_threecircles2", __ref, _progress);} +RemoteObject _minr = RemoteObject.createImmutable(0); +RemoteObject _maxr = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _r = RemoteObject.createImmutable(0f); +Debug.locals.put("Progress", _progress); + BA.debugLineNum = 76;BA.debugLine="Private Sub Draw_ThreeCircles2 (Progress As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 77;BA.debugLine="Dim MinR As Int = 5dip"; +Debug.JustUpdateDeviceLine(); +_minr = b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)));Debug.locals.put("MinR", _minr);Debug.locals.put("MinR", _minr); + BA.debugLineNum = 78;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Width / 2 / 3 -"; +Debug.JustUpdateDeviceLine(); +_maxr = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getWidth"),RemoteObject.createImmutable(2),RemoteObject.createImmutable(3),_minr,b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "//--",2, 0));Debug.locals.put("MaxR", _maxr);Debug.locals.put("MaxR", _maxr); + BA.debugLineNum = 79;BA.debugLine="For i = 0 To 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step3 = 1; +final int limit3 = 2; +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 80;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_minr,_maxr,RemoteObject.createImmutable(2),_maxr,RemoteObject.createImmutable(2),b4xloadingindicator.__c.runMethod(true,"SinD",(Object)(RemoteObject.solve(new RemoteObject[] {_progress,RemoteObject.createImmutable(360),RemoteObject.createImmutable(60),RemoteObject.createImmutable(_i)}, "*-*",1, 0)))}, "+/+/*",2, 0));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 81;BA.debugLine="cvs.DrawCircle(MaxR + MinR + (MinR + MaxR + 2dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_maxr,_minr,(RemoteObject.solve(new RemoteObject[] {_minr,_maxr,b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "++",2, 1)),RemoteObject.createImmutable(2),RemoteObject.createImmutable(_i)}, "++**",2, 1))),(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY")),(Object)(_r),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hide(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Hide (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,61); +if (RapidSub.canDelegate("hide")) { return __ref.runUserSub(false, "b4xloadingindicator","hide", __ref);} + BA.debugLineNum = 61;BA.debugLine="Public Sub Hide"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 62;BA.debugLine="mBase.Visible = False"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xloadingindicator.__c.getField(true,"False")); + BA.debugLineNum = 63;BA.debugLine="index = index + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_index" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_index" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 64;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,20); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xloadingindicator","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 20;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 21;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 22;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 23;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _mainloop(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("MainLoop (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,42); +if (RapidSub.canDelegate("mainloop")) { __ref.runUserSub(false, "b4xloadingindicator","mainloop", __ref); return;} +ResumableSub_MainLoop rsub = new ResumableSub_MainLoop(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_MainLoop extends BA.ResumableSub { +public ResumableSub_MainLoop(gunav2.keymon.com.mx.b4xloadingindicator parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xloadingindicator parent; +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _n = RemoteObject.createImmutable(0L); +RemoteObject _progress = RemoteObject.createImmutable(0f); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("MainLoop (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,42); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 43;BA.debugLine="index = index + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_index" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_index" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 44;BA.debugLine="Dim MyIndex As Int = index"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_index" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 45;BA.debugLine="Dim n As Long = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_n = parent.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("n", _n);Debug.locals.put("n", _n); + BA.debugLineNum = 46;BA.debugLine="Do While MyIndex = index"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//do while +this.state = 4; +while (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_index" /*RemoteObject*/ )))) { +this.state = 3; +if (true) break; +} +if (true) break; + +case 3: +//C +this.state = 1; + BA.debugLineNum = 47;BA.debugLine="Dim progress As Float = (DateTime.Now - n) / dur"; +Debug.JustUpdateDeviceLine(); +_progress = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),_n}, "-",1, 2)),__ref.getField(true,"_duration" /*RemoteObject*/ )}, "/",0, 0));Debug.locals.put("progress", _progress);Debug.locals.put("progress", _progress); + BA.debugLineNum = 48;BA.debugLine="progress = progress - Floor(progress)"; +Debug.JustUpdateDeviceLine(); +_progress = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_progress,parent.__c.runMethod(true,"Floor",(Object)(BA.numberCast(double.class, _progress)))}, "-",1, 0));Debug.locals.put("progress", _progress); + BA.debugLineNum = 49;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 50;BA.debugLine="CallSub2(Me, DrawingSubName, progress)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref),(Object)(__ref.getField(true,"_drawingsubname" /*RemoteObject*/ )),(Object)((_progress))); + BA.debugLineNum = 51;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 52;BA.debugLine="Sleep(10)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xloadingindicator", "mainloop"),BA.numberCast(int.class, 10)); +this.state = 5; +return; +case 5: +//C +this.state = 1; +; + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 54;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _setalpha(RemoteObject __ref,RemoteObject _c,RemoteObject _alpha) throws Exception{ +try { + Debug.PushSubsStack("SetAlpha (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,91); +if (RapidSub.canDelegate("setalpha")) { return __ref.runUserSub(false, "b4xloadingindicator","setalpha", __ref, _c, _alpha);} +Debug.locals.put("c", _c); +Debug.locals.put("alpha", _alpha); + BA.debugLineNum = 91;BA.debugLine="Private Sub SetAlpha (c As Int, alpha As Int) As I"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 92;BA.debugLine="Return Bit.And(0xffffff, c) + Bit.ShiftLeft(alpha"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.solve(new RemoteObject[] {b4xloadingindicator.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xffffff))),(Object)(_c)),b4xloadingindicator.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_alpha),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1); + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _show(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xloadingindicator) ","b4xloadingindicator",59,__ref.getField(false, "ba"),__ref,56); +if (RapidSub.canDelegate("show")) { return __ref.runUserSub(false, "b4xloadingindicator","show", __ref);} + BA.debugLineNum = 56;BA.debugLine="Public Sub Show"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 57;BA.debugLine="mBase.Visible = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xloadingindicator.__c.getField(true,"True")); + BA.debugLineNum = 58;BA.debugLine="MainLoop"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xloadingindicator.class, "_mainloop" /*void*/ ); + BA.debugLineNum = 59;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java new file mode 100644 index 0000000..93305b0 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java @@ -0,0 +1,34 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xlongtexttemplate { + public static RemoteObject myClass; + public b4xlongtexttemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xlongtexttemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _text = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"CustomListView1",_ref.getField(false, "_customlistview1"),"DateUtils",_ref.getField(false, "_dateutils"),"mBase",_ref.getField(false, "_mbase"),"Text",_ref.getField(false, "_text"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlongtexttemplate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlongtexttemplate_subs_0.java new file mode 100644 index 0000000..7a8337e --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xlongtexttemplate_subs_0.java @@ -0,0 +1,157 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xlongtexttemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xlongtexttemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xlongtexttemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xlongtexttemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xlongtexttemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; +b4xlongtexttemplate._customlistview1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_customlistview1",b4xlongtexttemplate._customlistview1); + //BA.debugLineNum = 5;BA.debugLine="Public Text As Object"; +b4xlongtexttemplate._text = RemoteObject.createNew ("Object");__ref.setField("_text",b4xlongtexttemplate._text); + //BA.debugLineNum = 6;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xlongtexttemplate) ","b4xlongtexttemplate",60,__ref.getField(false, "ba"),__ref,41); +if (RapidSub.canDelegate("dialogclosed")) { return __ref.runUserSub(false, "b4xlongtexttemplate","dialogclosed", __ref, _result);} +Debug.locals.put("Result", _result); + BA.debugLineNum = 41;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 43;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (b4xlongtexttemplate) ","b4xlongtexttemplate",60,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "b4xlongtexttemplate","getpanel", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 30;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 31;BA.debugLine="Return mBase"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbase" /*RemoteObject*/ ); + BA.debugLineNum = 32;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xlongtexttemplate) ","b4xlongtexttemplate",60,__ref.getField(false, "ba"),__ref,8); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xlongtexttemplate","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 9;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbase" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mBase")))); + BA.debugLineNum = 10;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xlongtexttemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)))),(Object)(b4xlongtexttemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300))))); + BA.debugLineNum = 11;BA.debugLine="mBase.LoadLayout(\"LongTextTemplate\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("LongTextTemplate")),__ref.getField(false, "ba")); + BA.debugLineNum = 12;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 13;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(false,"_sv").runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 14;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).setField ("_defaulttextbackgroundcolor",BA.numberCast(int.class, ((int)0xff555555))); + BA.debugLineNum = 15;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).setField ("_defaulttextcolor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White")); + BA.debugLineNum = 16;BA.debugLine="CustomListView1.sv.Color = 0xFF464646"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"setColor",BA.numberCast(int.class, ((int)0xff464646))); + BA.debugLineNum = 21;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Resize (b4xlongtexttemplate) ","b4xlongtexttemplate",60,__ref.getField(false, "ba"),__ref,23); +if (RapidSub.canDelegate("resize")) { return __ref.runUserSub(false, "b4xlongtexttemplate","resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 23;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 24;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 25;BA.debugLine="CustomListView1.AsView.SetLayoutAnimated(0, 0, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_asview").runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 26;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, _width)),(Object)(BA.numberCast(double.class, _height))); + BA.debugLineNum = 27;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xlongtexttemplate) ","b4xlongtexttemplate",60,__ref.getField(false, "ba"),__ref,34); +if (RapidSub.canDelegate("show")) { return __ref.runUserSub(false, "b4xlongtexttemplate","show", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 34;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 35;BA.debugLine="CustomListView1.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 36;BA.debugLine="CustomListView1.AddTextItem(Text, \"\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)(__ref.getField(false,"_text" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("")))); + BA.debugLineNum = 37;BA.debugLine="CustomListView1.GetPanel(0).GetView(0).SetTextAli"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, 0))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("TOP")),(Object)(RemoteObject.createImmutable("LEFT"))); + BA.debugLineNum = 38;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +Debug.JustUpdateDeviceLine(); +b4xlongtexttemplate._xuiviewsutils.runVoidMethod ("_addstubtoclvifneeded" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_customlistview1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(true,"_defaulttextbackgroundcolor"))); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xmainpage.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xmainpage.java new file mode 100644 index 0000000..b80be04 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xmainpage.java @@ -0,0 +1,113 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xmainpage { + public static RemoteObject myClass; + public b4xmainpage() { + } + public static PCBA staticBA = new PCBA(null, b4xmainpage.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _login = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xmainpage"); +public static RemoteObject _principal = RemoteObject.declareNull("gunav2.keymon.com.mx.c_principal"); +public static RemoteObject _clientes = RemoteObject.declareNull("gunav2.keymon.com.mx.c_clientes"); +public static RemoteObject _cliente = RemoteObject.declareNull("gunav2.keymon.com.mx.c_cliente"); +public static RemoteObject _productos = RemoteObject.declareNull("gunav2.keymon.com.mx.c_productos"); +public static RemoteObject _updateavailable = RemoteObject.declareNull("gunav2.keymon.com.mx.c_updateavailable"); +public static RemoteObject _mapas = RemoteObject.declareNull("gunav2.keymon.com.mx.c_mapas"); +public static RemoteObject _nuevocliente = RemoteObject.declareNull("gunav2.keymon.com.mx.c_nuevocliente"); +public static RemoteObject _ticketsdia = RemoteObject.declareNull("gunav2.keymon.com.mx.c_ticketsdia"); +public static RemoteObject _noventa = RemoteObject.declareNull("gunav2.keymon.com.mx.c_noventa"); +public static RemoteObject _nota = RemoteObject.declareNull("gunav2.keymon.com.mx.c_nota"); +public static RemoteObject _pedidos = RemoteObject.declareNull("gunav2.keymon.com.mx.c_pedidos"); +public static RemoteObject _promos = RemoteObject.declareNull("gunav2.keymon.com.mx.c_promos"); +public static RemoteObject _historico = RemoteObject.declareNull("gunav2.keymon.com.mx.c_historico"); +public static RemoteObject _clientes_completos = RemoteObject.declareNull("gunav2.keymon.com.mx.c_clientescompletos"); +public static RemoteObject _tclientes = RemoteObject.declareNull("gunav2.keymon.com.mx.v_tclientes"); +public static RemoteObject _historicobat = RemoteObject.declareNull("gunav2.keymon.com.mx.c_historicobat"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _v = RemoteObject.createImmutable(""); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _lat_gps = RemoteObject.createImmutable(""); +public static RemoteObject _lon_gps = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _batt = RemoteObject.createImmutable(0); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _montoactual = RemoteObject.createImmutable(""); +public static RemoteObject _clientestotal = RemoteObject.createImmutable(""); +public static RemoteObject _clientesventa = RemoteObject.createImmutable(""); +public static RemoteObject _clientesvisitados = RemoteObject.createImmutable(""); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _rutapreventa = RemoteObject.createImmutable(""); +public static RemoteObject _server = RemoteObject.createImmutable(""); +public static RemoteObject _fecharuta = RemoteObject.createImmutable(""); +public static RemoteObject _logger = RemoteObject.createImmutable(false); +public static RemoteObject _mac_impresora = RemoteObject.createImmutable(""); +public static RemoteObject _phn = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.PhoneId"); +public static RemoteObject _user = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _pass = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _paso1 = RemoteObject.createImmutable(""); +public static RemoteObject _imen = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _imei = RemoteObject.createImmutable(""); +public static RemoteObject _alterno = RemoteObject.createImmutable(""); +public static RemoteObject _b_menu = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _popupmenu = RemoteObject.declareNull("com.rootsoft.rspopupmenu.RSPopupMenu"); +public static RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); +public static RemoteObject _pdf = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _bpv1 = RemoteObject.declareNull("batteryprogressviewwrapper.batteryprogressviewWrapper"); +public static RemoteObject _batterystatus = null; +public static RemoteObject _bu = RemoteObject.declareNull("gunav2.keymon.com.mx.batteryutilities"); +public static RemoteObject _b_apk = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _i_engrane = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _p_main = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_appupdate = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_regesar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_version = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _imageview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _entrar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _bterminarclicked = RemoteObject.createImmutable(false); +public static RemoteObject _lv_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _l_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_enviobd = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _provider = RemoteObject.declareNull("gunav2.keymon.com.mx.fileprovider"); +public static RemoteObject _rutabdbackup = RemoteObject.createImmutable(""); +public static RemoteObject _b4xswitch1 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xswitch"); +public static RemoteObject _p_validacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b4xswitch2 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xswitch"); +public static RemoteObject _x = RemoteObject.createImmutable(0); +public static RemoteObject _et_codigo = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _buscandoactualizacion = RemoteObject.createImmutable(false); +public static RemoteObject _actualizacionrevisada = RemoteObject.createImmutable(false); +public static RemoteObject _b_actualizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _intentusado = RemoteObject.createImmutable(false); +public static RemoteObject _p_importarbdwa = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _cb_importarbdwa = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pkg = RemoteObject.declareNull("anywheresoftware.b4a.phone.PackageManagerWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"actualizacionRevisada",_ref.getField(false, "_actualizacionrevisada"),"almacen",_ref.getField(false, "_almacen"),"alterno",_ref.getField(false, "_alterno"),"b_actualizacion",_ref.getField(false, "_b_actualizacion"),"b_apk",_ref.getField(false, "_b_apk"),"b_envioBD",_ref.getField(false, "_b_enviobd"),"b_menu",_ref.getField(false, "_b_menu"),"b_regesar",_ref.getField(false, "_b_regesar"),"B4XSwitch1",_ref.getField(false, "_b4xswitch1"),"B4XSwitch2",_ref.getField(false, "_b4xswitch2"),"batt",_ref.getField(false, "_batt"),"batterystatus",_ref.getField(false, "_batterystatus"),"bpv1",_ref.getField(false, "_bpv1"),"bTerminarClicked",_ref.getField(false, "_bterminarclicked"),"bu",_ref.getField(false, "_bu"),"buscandoActualizacion",_ref.getField(false, "_buscandoactualizacion"),"c",_ref.getField(false, "_c"),"cb_importarBDWA",_ref.getField(false, "_cb_importarbdwa"),"cliente",_ref.getField(false, "_cliente"),"clientes",_ref.getField(false, "_clientes"),"Clientes_Completos",_ref.getField(false, "_clientes_completos"),"clientesTotal",_ref.getField(false, "_clientestotal"),"clientesVenta",_ref.getField(false, "_clientesventa"),"clientesVisitados",_ref.getField(false, "_clientesvisitados"),"cmd",_ref.getField(false, "_cmd"),"DateUtils",_ref.getField(false, "_dateutils"),"Entrar",_ref.getField(false, "_entrar"),"et_codigo",_ref.getField(false, "_et_codigo"),"et_server",_ref.getField(false, "_et_server"),"existe",_ref.getField(false, "_existe"),"fechaRuta",_ref.getField(false, "_fecharuta"),"historico",_ref.getField(false, "_historico"),"historicobat",_ref.getField(false, "_historicobat"),"i_engrane",_ref.getField(false, "_i_engrane"),"ImageView1",_ref.getField(false, "_imageview1"),"IMEI",_ref.getField(false, "_imei"),"IMEN",_ref.getField(false, "_imen"),"intentUsado",_ref.getField(false, "_intentusado"),"l_server",_ref.getField(false, "_l_server"),"l_version",_ref.getField(false, "_l_version"),"Label2",_ref.getField(false, "_label2"),"lat_gps",_ref.getField(false, "_lat_gps"),"Logger",_ref.getField(false, "_logger"),"login",_ref.getField(false, "_login"),"lon_gps",_ref.getField(false, "_lon_gps"),"lv_server",_ref.getField(false, "_lv_server"),"mac_impresora",_ref.getField(false, "_mac_impresora"),"mapas",_ref.getField(false, "_mapas"),"montoActual",_ref.getField(false, "_montoactual"),"nota",_ref.getField(false, "_nota"),"noVenta",_ref.getField(false, "_noventa"),"nuevoCliente",_ref.getField(false, "_nuevocliente"),"p_appUpdate",_ref.getField(false, "_p_appupdate"),"p_importarBDWA",_ref.getField(false, "_p_importarbdwa"),"p_Main",_ref.getField(false, "_p_main"),"p_validacion",_ref.getField(false, "_p_validacion"),"paso1",_ref.getField(false, "_paso1"),"pass",_ref.getField(false, "_pass"),"PDF",_ref.getField(false, "_pdf"),"pedidos",_ref.getField(false, "_pedidos"),"Phn",_ref.getField(false, "_phn"),"pkg",_ref.getField(false, "_pkg"),"PopupMenu",_ref.getField(false, "_popupmenu"),"principal",_ref.getField(false, "_principal"),"productos",_ref.getField(false, "_productos"),"promos",_ref.getField(false, "_promos"),"Provider",_ref.getField(false, "_provider"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"rutaBDBackup",_ref.getField(false, "_rutabdbackup"),"rutaPreventa",_ref.getField(false, "_rutapreventa"),"server",_ref.getField(false, "_server"),"skmt",_ref.getField(false, "_skmt"),"Tclientes",_ref.getField(false, "_tclientes"),"tgl",_ref.getField(false, "_tgl"),"ticketsDia",_ref.getField(false, "_ticketsdia"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"updateAvailable",_ref.getField(false, "_updateavailable"),"user",_ref.getField(false, "_user"),"usuario",_ref.getField(false, "_usuario"),"v",_ref.getField(false, "_v"),"x",_ref.getField(false, "_x"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xmainpage_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xmainpage_subs_0.java new file mode 100644 index 0000000..05c5bce --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xmainpage_subs_0.java @@ -0,0 +1,3653 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xmainpage_subs_0 { + + +public static RemoteObject _b_aceptar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_aceptar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,996); +if (RapidSub.canDelegate("b_aceptar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_aceptar_click", __ref);} +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rutades = RemoteObject.createImmutable(""); +RemoteObject _almacendes = RemoteObject.createImmutable(""); + BA.debugLineNum = 996;BA.debugLine="Private Sub b_aceptar_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 997;BA.debugLine="If et_codigo.Text <> \"\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 998;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select di"; +Debug.ShouldStop(32); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 999;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(64); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1000;BA.debugLine="Private rutades As String = c2.GetString(\"CAT_CL"; +Debug.ShouldStop(128); +_rutades = _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutades", _rutades);Debug.locals.put("rutades", _rutades); + BA.debugLineNum = 1001;BA.debugLine="c2.Close"; +Debug.ShouldStop(256); +_c2.runVoidMethod ("Close"); + BA.debugLineNum = 1002;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT ID"; +Debug.ShouldStop(512); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ID_ALMACEN FROM CAT_ALMACEN"))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 1003;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(1024); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1004;BA.debugLine="Private almacendes As String = c2.GetString(\"ID_"; +Debug.ShouldStop(2048); +_almacendes = _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")));Debug.locals.put("almacendes", _almacendes);Debug.locals.put("almacendes", _almacendes); + BA.debugLineNum = 1005;BA.debugLine="c2.Close"; +Debug.ShouldStop(4096); +_c2.runVoidMethod ("Close"); + BA.debugLineNum = 1006;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8192); +b4xmainpage._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 1007;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1008;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_geoPass_GUNA")); + BA.debugLineNum = 1009;BA.debugLine="cmd.Parameters = Array As Object(et_codigo.Text,"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethod(true,"getText")),(_almacendes),(_rutades)})); + BA.debugLineNum = 1010;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"geopass\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("geopass")))); + }else +{ BA.debugLineNum = 1011;BA.debugLine="Else If et_codigo.Text = \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 1012;BA.debugLine="MsgboxAsync(\"Ingresa un codigo\",\"Atención\")"; +Debug.ShouldStop(524288); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Ingresa un codigo")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 1013;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 1014;BA.debugLine="B4XSwitch2.Value = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 1015;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO ="; +Debug.ShouldStop(4194304); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + BA.debugLineNum = 1016;BA.debugLine="et_codigo.Text = \"\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }} +; + BA.debugLineNum = 1044;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_actualizacion_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_actualizacion_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1129); +if (RapidSub.canDelegate("b_actualizacion_click")) { return __ref.runUserSub(false, "b4xmainpage","b_actualizacion_click", __ref);} + BA.debugLineNum = 1129;BA.debugLine="Private Sub b_actualizacion_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 1130;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +Debug.ShouldStop(512); +b4xmainpage.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((b4xmainpage._appupdater.getObject())),(Object)(RemoteObject.createImmutable("download_newApk"))); + BA.debugLineNum = 1131;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_apk_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_apk_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,872); +if (RapidSub.canDelegate("b_apk_click")) { return __ref.runUserSub(false, "b4xmainpage","b_apk_click", __ref);} + BA.debugLineNum = 872;BA.debugLine="Sub b_apk_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 873;BA.debugLine="StartService(appUpdater)"; +Debug.ShouldStop(256); +b4xmainpage.__c.runVoidMethod ("StartService",__ref.getField(false, "ba"),(Object)((b4xmainpage._appupdater.getObject()))); + BA.debugLineNum = 874;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancelarcodigo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancelarcodigo_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,990); +if (RapidSub.canDelegate("b_cancelarcodigo_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cancelarcodigo_click", __ref);} + BA.debugLineNum = 990;BA.debugLine="Private Sub b_cancelarcodigo_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 991;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 992;BA.debugLine="et_codigo.Text = \"\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 993;BA.debugLine="B4XSwitch2.Value = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 994;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_enviobd_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_envioBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,935); +if (RapidSub.canDelegate("b_enviobd_click")) { __ref.runUserSub(false, "b4xmainpage","b_enviobd_click", __ref); return;} +ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_envioBD_Click extends BA.ResumableSub { +public ResumableSub_b_envioBD_Click(gunav2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xmainpage parent; +RemoteObject _filename = RemoteObject.createImmutable(""); +RemoteObject _email = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.Email"); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_envioBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,935); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 938;BA.debugLine="Dim FileName As String = \"kmt.db\""; +Debug.ShouldStop(512); +_filename = BA.ObjectToString("kmt.db");Debug.locals.put("FileName", _filename);Debug.locals.put("FileName", _filename); + BA.debugLineNum = 940;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("LogImpl","02555909",RemoteObject.concat(RemoteObject.createImmutable("xxxxxx:"),__ref.getField(false,"_provider" /*RemoteObject*/ ).getField(true,"_sharedfolder" /*RemoteObject*/ )),0); + BA.debugLineNum = 941;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_enviobd_click"),BA.numberCast(int.class, 1000)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; + BA.debugLineNum = 942;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; +Debug.ShouldStop(8192); +parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(_filename),(Object)(__ref.getField(false,"_provider" /*RemoteObject*/ ).getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_filename)); + BA.debugLineNum = 943;BA.debugLine="Dim email As Email"; +Debug.ShouldStop(16384); +_email = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.Email");Debug.locals.put("email", _email); + BA.debugLineNum = 944;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")"; +Debug.ShouldStop(32768); +_email.getField(false,"To").runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("cheveguerra@gmail.com")))); + BA.debugLineNum = 945;BA.debugLine="email.Subject = \"subject\""; +Debug.ShouldStop(65536); +_email.setField ("Subject",BA.ObjectToString("subject")); + BA.debugLineNum = 946;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; +Debug.ShouldStop(131072); +_email.getField(false,"Attachments").runVoidMethod ("Add",(Object)(__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename)))); + BA.debugLineNum = 948;BA.debugLine="Dim in As Intent = email.GetIntent"; +Debug.ShouldStop(524288); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper"); +_in = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.IntentWrapper"), _email.runMethod(false,"GetIntent"));Debug.locals.put("in", _in);Debug.locals.put("in", _in); + BA.debugLineNum = 949;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +Debug.ShouldStop(1048576); +_in.runMethod(true,"setFlags",BA.numberCast(int.class, 1)); + BA.debugLineNum = 950;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject()))); + BA.debugLineNum = 951;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b_menu_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_menu_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,809); +if (RapidSub.canDelegate("b_menu_click")) { return __ref.runUserSub(false, "b4xmainpage","b_menu_click", __ref);} + BA.debugLineNum = 809;BA.debugLine="Sub b_menu_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 810;BA.debugLine="PopupMenu.Show"; +Debug.ShouldStop(512); +__ref.getField(false,"_popupmenu" /*RemoteObject*/ ).runVoidMethod ("Show"); + BA.debugLineNum = 811;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_regesar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_regesar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,911); +if (RapidSub.canDelegate("b_regesar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_regesar_click", __ref);} + BA.debugLineNum = 911;BA.debugLine="Sub b_regesar_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 913;BA.debugLine="p_appUpdate.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 914;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; +Debug.ShouldStop(131072); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("DBReqServer"))}))))); + BA.debugLineNum = 915;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; +Debug.ShouldStop(262144); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("DBReqServer")),(__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 916;BA.debugLine="Starter.server = et_server.Text"; +Debug.ShouldStop(524288); +b4xmainpage._starter._server /*RemoteObject*/ = __ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText"); + BA.debugLineNum = 917;BA.debugLine="Starter.reqManager.Initialize(Me, et_server.Text)"; +Debug.ShouldStop(1048576); +b4xmainpage._starter._reqmanager /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 918;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,326); +if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "b4xmainpage","b4xpage_appear", __ref); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { +public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xmainpage parent; +RemoteObject _ph = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +RemoteObject _deviceid = RemoteObject.createImmutable(""); +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,326); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 335;BA.debugLine="cb_importarBDWA.Checked = Subs.traeUsarIntentBDWA"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cb_importarbdwa" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",parent._subs.runMethod(true,"_traeusarintentbdwa" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 336;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"),BA.ObjectToString("KMTS1"))) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 337;BA.debugLine="p_importarBDWA.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_importarbdwa" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 339;BA.debugLine="p_importarBDWA.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_importarbdwa" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 341;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ )); + BA.debugLineNum = 342;BA.debugLine="If Starter.muestraProgreso = 1 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 7: +//if +this.state = 10; +if (RemoteObject.solveBoolean("=",parent._starter._muestraprogreso /*RemoteObject*/ ,BA.NumberToString(1))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 343;BA.debugLine="muestraProgreso(\"Descargando nueva versión, un m"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Descargando nueva versión, un momento por favor."))); + BA.debugLineNum = 344;BA.debugLine="Starter.muestraProgreso = 0"; +Debug.ShouldStop(8388608); +parent._starter._muestraprogreso /*RemoteObject*/ = BA.NumberToString(0); + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 346;BA.debugLine="Dim ph As Phone 'Get Id Device"; +Debug.ShouldStop(33554432); +_ph = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("ph", _ph); + BA.debugLineNum = 347;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_"; +Debug.ShouldStop(67108864); +_deviceid = _ph.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id"))).runMethod(true,"toUpperCase");Debug.locals.put("DeviceID", _deviceid);Debug.locals.put("DeviceID", _deviceid); + BA.debugLineNum = 349;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("LogImpl","01310743",BA.ObjectToString("Revisa permisos Phone_State"),parent.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 350;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(536870912); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_READ_PHONE_STATE"))); + BA.debugLineNum = 351;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_appear"), null); +this.state = 63; +return; +case 63: +//C +this.state = 11; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 352;BA.debugLine="If Result Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 11: +//if +this.state = 14; +if (_result.get().booleanValue()) { +this.state = 13; +}if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 353;BA.debugLine="IMEN.Text =\"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_imen" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 354;BA.debugLine="IMEI = \"\""; +Debug.ShouldStop(2); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 356;BA.debugLine="IMEI=\"\" 'Pruebas"; +Debug.ShouldStop(8); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("")); + if (true) break; + +case 14: +//C +this.state = 15; +; + BA.debugLineNum = 358;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(32); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 359;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_appear"), null); +this.state = 64; +return; +case 64: +//C +this.state = 15; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 360;BA.debugLine="If Result Then"; +Debug.ShouldStop(128); +if (true) break; + +case 15: +//if +this.state = 20; +if (_result.get().booleanValue()) { +this.state = 17; +}else { +this.state = 19; +}if (true) break; + +case 17: +//C +this.state = 20; + BA.debugLineNum = 361;BA.debugLine="StartService(Tracker)"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("StartService",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject()))); + BA.debugLineNum = 362;BA.debugLine="Log(\"Start Tracker\")"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("LogImpl","01310756",RemoteObject.createImmutable("Start Tracker"),0); + if (true) break; + +case 19: +//C +this.state = 20; + BA.debugLineNum = 364;BA.debugLine="ToastMessageShow(\"Sin permisos de ubicacion\", Tr"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos de ubicacion")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 20: +//C +this.state = 21; +; + BA.debugLineNum = 366;BA.debugLine="server = Starter.server"; +Debug.ShouldStop(8192); +__ref.setField ("_server" /*RemoteObject*/ ,parent._starter._server /*RemoteObject*/ ); + BA.debugLineNum = 367;BA.debugLine="tgl.Initialize()"; +Debug.ShouldStop(16384); +__ref.getField(false,"_tgl" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba")); + BA.debugLineNum = 368;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 21: +//if +this.state = 24; +if (parent.__c.runMethod(true,"Not",(Object)(parent._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 369;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 370;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_appear"),BA.numberCast(int.class, 500)); +this.state = 65; +return; +case 65: +//C +this.state = 24; +; + BA.debugLineNum = 371;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((parent._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + if (true) break; + +case 24: +//C +this.state = 25; +; + BA.debugLineNum = 373;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")})))); + BA.debugLineNum = 374;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 375;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 25: +//if +this.state = 34; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { +this.state = 27; +}else { +this.state = 29; +}if (true) break; + +case 27: +//C +this.state = 34; + BA.debugLineNum = 376;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\""; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("LogImpl","01310770",(RemoteObject.concat(RemoteObject.createImmutable("No hay fecha: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 377;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 378;BA.debugLine="cmd.Name = \"select_fecha\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha")); + BA.debugLineNum = 379;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("fecha")))); + BA.debugLineNum = 380;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR FECHA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + BA.debugLineNum = 381;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_b4xpage_appear" /*void*/ ); + if (true) break; + +case 29: +//C +this.state = 30; + BA.debugLineNum = 383;BA.debugLine="LogColor($\"Si hay fecha: ${c.GetString(\"CUANTOS\""; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","01310777",(RemoteObject.concat(RemoteObject.createImmutable("Si hay fecha: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 384;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")})))); + BA.debugLineNum = 385;BA.debugLine="c.Position =0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 386;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(2); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 387;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +Debug.ShouldStop(4); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 388;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8); +_sdate = parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 393;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; +Debug.ShouldStop(256); +if (true) break; + +case 30: +//if +this.state = 33; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))),BA.numberCast(double.class, _sdate))) { +this.state = 32; +}if (true) break; + +case 32: +//C +this.state = 33; + BA.debugLineNum = 394;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; +Debug.ShouldStop(512); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + BA.debugLineNum = 395;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_b4xpage_appear" /*void*/ ); + if (true) break; + +case 33: +//C +this.state = 34; +; + if (true) break; + +case 34: +//C +this.state = 35; +; + BA.debugLineNum = 398;BA.debugLine="bu.Initialize"; +Debug.ShouldStop(8192); +__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 399;BA.debugLine="batterystatus = bu.BatteryInformation"; +Debug.ShouldStop(16384); +__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ )); + BA.debugLineNum = 401;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._firebasemessaging.getObject())),(Object)(RemoteObject.createImmutable("SubscribeToTopics"))); + BA.debugLineNum = 402;BA.debugLine="dameUsuario"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_dameusuario" /*RemoteObject*/ ); + BA.debugLineNum = 403;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADA FROM IMPRESORA")))); + BA.debugLineNum = 404;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 35: +//if +this.state = 46; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 37; +}else { +this.state = 45; +}if (true) break; + +case 37: +//C +this.state = 38; + BA.debugLineNum = 405;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 406;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 38: +//if +this.state = 43; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADA"))),BA.NumberToString(1))) { +this.state = 40; +}else +{ BA.debugLineNum = 408;BA.debugLine="Else If c.GetString(\"HABILITADA\") = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADA"))),BA.NumberToString(0))) { +this.state = 42; +}} +if (true) break; + +case 40: +//C +this.state = 43; + BA.debugLineNum = 407;BA.debugLine="B4XSwitch1.Value = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b4xswitch1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,parent.__c.getField(true,"True")); + if (true) break; + +case 42: +//C +this.state = 43; + BA.debugLineNum = 409;BA.debugLine="B4XSwitch1.Value = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b4xswitch1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 43: +//C +this.state = 46; +; + if (true) break; + +case 45: +//C +this.state = 46; + BA.debugLineNum = 412;BA.debugLine="B4XSwitch1.Value = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b4xswitch1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 46: +//C +this.state = 47; +; + BA.debugLineNum = 414;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS")))); + BA.debugLineNum = 415;BA.debugLine="If c.RowCount = 0 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 47: +//if +this.state = 50; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 49; +}if (true) break; + +case 49: +//C +this.state = 50; + BA.debugLineNum = 416;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\","; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO GPS VALUES (?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + if (true) break; + +case 50: +//C +this.state = 51; +; + BA.debugLineNum = 418;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS")))); + BA.debugLineNum = 419;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (true) break; + +case 51: +//if +this.state = 62; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 53; +}else { +this.state = 61; +}if (true) break; + +case 53: +//C +this.state = 54; + BA.debugLineNum = 420;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 421;BA.debugLine="If c.GetString(\"HABILITADO\") = 1 Then"; +Debug.ShouldStop(16); +if (true) break; + +case 54: +//if +this.state = 59; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADO"))),BA.NumberToString(1))) { +this.state = 56; +}else +{ BA.debugLineNum = 423;BA.debugLine="Else If c.GetString(\"HABILITADO\") = 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADO"))),BA.NumberToString(0))) { +this.state = 58; +}} +if (true) break; + +case 56: +//C +this.state = 59; + BA.debugLineNum = 422;BA.debugLine="B4XSwitch2.Value = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,parent.__c.getField(true,"True")); + if (true) break; + +case 58: +//C +this.state = 59; + BA.debugLineNum = 424;BA.debugLine="B4XSwitch2.Value = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 59: +//C +this.state = 62; +; + if (true) break; + +case 61: +//C +this.state = 62; + BA.debugLineNum = 427;BA.debugLine="B4XSwitch2.Value = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 62: +//C +this.state = -1; +; + BA.debugLineNum = 429;BA.debugLine="Subs.guardaAppInfo"; +Debug.ShouldStop(4096); +parent._subs.runVoidMethod ("_guardaappinfo" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 438;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{ +} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,779); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "b4xmainpage","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xmainpage parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,779); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 780;BA.debugLine="Log(\"closreq\")"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("LogImpl","01638401",RemoteObject.createImmutable("closreq"),0); + BA.debugLineNum = 781;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_closerequest"),BA.numberCast(int.class, 0)); +this.state = 8; +return; +case 8: +//C +this.state = 1; +; + BA.debugLineNum = 782;BA.debugLine="If p_appUpdate.IsInitialized And p_appUpdate.Visi"; +Debug.ShouldStop(8192); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 783;BA.debugLine="p_appUpdate.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 784;BA.debugLine="Return False"; +Debug.ShouldStop(32768); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; +; + BA.debugLineNum = 786;BA.debugLine="If Not(p_appUpdate.Visible) Then"; +Debug.ShouldStop(131072); + +case 4: +//if +this.state = 7; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getVisible"))).get().booleanValue()) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 787;BA.debugLine="Log(\"ExitApplication\")"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","01638408",RemoteObject.createImmutable("ExitApplication"),0); + BA.debugLineNum = 788;BA.debugLine="ExitApplication"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("ExitApplication"); + if (true) break; + +case 7: +//C +this.state = -1; +; + BA.debugLineNum = 790;BA.debugLine="Return True"; +Debug.ShouldStop(2097152); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;}; + BA.debugLineNum = 791;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,107); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "b4xmainpage","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 107;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 108;BA.debugLine="Log(\"##### CREAMOS MAINPAGE LOGIN\")"; +Debug.ShouldStop(2048); +b4xmainpage.__c.runVoidMethod ("LogImpl","01245185",RemoteObject.createImmutable("##### CREAMOS MAINPAGE LOGIN"),0); + BA.debugLineNum = 109;BA.debugLine="B4XPages.GetManager.LogEvents = True"; +Debug.ShouldStop(4096); +b4xmainpage._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_logevents" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True")); + BA.debugLineNum = 110;BA.debugLine="Root = Root1"; +Debug.ShouldStop(8192); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 111;BA.debugLine="Root.LoadLayout(\"login\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("login")),__ref.getField(false, "ba")); + BA.debugLineNum = 115;BA.debugLine="login.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_login" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 116;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; +Debug.ShouldStop(524288); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Login")),(Object)((__ref.getField(false,"_login" /*RemoteObject*/ )))); + BA.debugLineNum = 117;BA.debugLine="principal.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_principal" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 118;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; +Debug.ShouldStop(2097152); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Principal")),(Object)((__ref.getField(false,"_principal" /*RemoteObject*/ )))); + BA.debugLineNum = 119;BA.debugLine="clientes.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_clientes" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_clientes.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 120;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; +Debug.ShouldStop(8388608); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Clientes")),(Object)((__ref.getField(false,"_clientes" /*RemoteObject*/ )))); + BA.debugLineNum = 121;BA.debugLine="cliente.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cliente" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 122;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; +Debug.ShouldStop(33554432); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Cliente")),(Object)((__ref.getField(false,"_cliente" /*RemoteObject*/ )))); + BA.debugLineNum = 123;BA.debugLine="productos.Initialize"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_productos" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 124;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; +Debug.ShouldStop(134217728); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Productos")),(Object)((__ref.getField(false,"_productos" /*RemoteObject*/ )))); + BA.debugLineNum = 125;BA.debugLine="updateAvailable.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_updateavailable" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_updateavailable.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 126;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; +Debug.ShouldStop(536870912); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("updateAvailable")),(Object)((__ref.getField(false,"_updateavailable" /*RemoteObject*/ )))); + BA.debugLineNum = 127;BA.debugLine="mapas.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_mapas" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_mapas.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 128;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; +Debug.ShouldStop(-2147483648); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Mapas")),(Object)((__ref.getField(false,"_mapas" /*RemoteObject*/ )))); + BA.debugLineNum = 129;BA.debugLine="nuevoCliente.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_nuevocliente" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_nuevocliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 130;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; +Debug.ShouldStop(2); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NuevoCliente")),(Object)((__ref.getField(false,"_nuevocliente" /*RemoteObject*/ )))); + BA.debugLineNum = 131;BA.debugLine="ticketsDia.Initialize"; +Debug.ShouldStop(4); +__ref.getField(false,"_ticketsdia" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_ticketsdia.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 132;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; +Debug.ShouldStop(8); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("TicketsDia")),(Object)((__ref.getField(false,"_ticketsdia" /*RemoteObject*/ )))); + BA.debugLineNum = 133;BA.debugLine="noVenta.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_noventa" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_noventa.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 134;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; +Debug.ShouldStop(32); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NoVenta")),(Object)((__ref.getField(false,"_noventa" /*RemoteObject*/ )))); + BA.debugLineNum = 135;BA.debugLine="nota.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_nota" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 136;BA.debugLine="B4XPages.AddPage(\"Nota\", nota)"; +Debug.ShouldStop(128); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Nota")),(Object)((__ref.getField(false,"_nota" /*RemoteObject*/ )))); + BA.debugLineNum = 137;BA.debugLine="pedidos.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_pedidos" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_pedidos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 138;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; +Debug.ShouldStop(512); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Pedidos")),(Object)((__ref.getField(false,"_pedidos" /*RemoteObject*/ )))); + BA.debugLineNum = 139;BA.debugLine="promos.Initialize"; +Debug.ShouldStop(1024); +__ref.getField(false,"_promos" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 140;BA.debugLine="B4XPages.AddPage(\"Promos\", promos)"; +Debug.ShouldStop(2048); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Promos")),(Object)((__ref.getField(false,"_promos" /*RemoteObject*/ )))); + BA.debugLineNum = 141;BA.debugLine="historico.Initialize"; +Debug.ShouldStop(4096); +__ref.getField(false,"_historico" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_historico.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 142;BA.debugLine="B4XPages.AddPage(\"Historico\", historico)"; +Debug.ShouldStop(8192); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Historico")),(Object)((__ref.getField(false,"_historico" /*RemoteObject*/ )))); + BA.debugLineNum = 144;BA.debugLine="historicobat.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_historicobat" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_historicobat.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 145;BA.debugLine="B4XPages.AddPage(\"historicobat\", historicobat)"; +Debug.ShouldStop(65536); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("historicobat")),(Object)((__ref.getField(false,"_historicobat" /*RemoteObject*/ )))); + BA.debugLineNum = 147;BA.debugLine="Clientes_Completos.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_clientes_completos" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_clientescompletos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 148;BA.debugLine="B4XPages.AddPage(\"Clientes_Completos\", Clientes_C"; +Debug.ShouldStop(524288); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Clientes_Completos")),(Object)((__ref.getField(false,"_clientes_completos" /*RemoteObject*/ )))); + BA.debugLineNum = 150;BA.debugLine="Tclientes.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_tclientes" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.v_tclientes.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 151;BA.debugLine="B4XPages.AddPage(\"Tclientes\", Tclientes)"; +Debug.ShouldStop(4194304); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Tclientes")),(Object)((__ref.getField(false,"_tclientes" /*RemoteObject*/ )))); + BA.debugLineNum = 155;BA.debugLine="p_Main.Height = Root.Height"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p_main" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 156;BA.debugLine="p_Main.Width = Root.Width"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_main" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 157;BA.debugLine="ruta = Starter.ruta"; +Debug.ShouldStop(268435456); +__ref.setField ("_ruta" /*RemoteObject*/ ,b4xmainpage._starter._ruta /*RemoteObject*/ ); + BA.debugLineNum = 158;BA.debugLine="Provider.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.fileprovider.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 159;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",b4xmainpage.__c.getField(false,"File").runMethod(true,"Exists",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db"))),b4xmainpage.__c.getField(true,"False"))) { + BA.debugLineNum = 160;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", File.DirInte"; +Debug.ShouldStop(-2147483648); +b4xmainpage.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 162;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", True)"; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(b4xmainpage.__c.getField(true,"True"))); + BA.debugLineNum = 163;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS IMP"; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS IMPRESORA (HABILITADA)"))); + BA.debugLineNum = 165;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS FOT"; +Debug.ShouldStop(16); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS FOTOS (CLIENTE TEXT, FOTO BLOB, MOVIMIENTO TEXT)"))); + BA.debugLineNum = 166;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PLA"; +Debug.ShouldStop(32); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PLAN_LEALTAD (PL_CLIENTE TEXT, PL_BANDERA TEXT)"))); + BA.debugLineNum = 168;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO"; +Debug.ShouldStop(128); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT, FECHA TEXT)"))); + BA.debugLineNum = 171;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COM"; +Debug.ShouldStop(1024); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS COMENTARIOS (COMENTARTIO TEXT, CLIENTE TEXT, DESCARGADO TEXT)"))); + BA.debugLineNum = 173;BA.debugLine="Subs.agregaColumna(\"PLAN_LEALTAD\", \"DESCARGADO\","; +Debug.ShouldStop(4096); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PLAN_LEALTAD")),(Object)(BA.ObjectToString("DESCARGADO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 174;BA.debugLine="Subs.agregaColumna(\"PEDIDO_CLIENTE\", \"PC_FACTURA\""; +Debug.ShouldStop(8192); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO_CLIENTE")),(Object)(BA.ObjectToString("PC_FACTURA")),(Object)(RemoteObject.createImmutable("INTEGER"))); + BA.debugLineNum = 175;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS GPS"; +Debug.ShouldStop(16384); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS GPS (HABILITADO)"))); + BA.debugLineNum = 177;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_OBJETIVO_BAT (COB_VOLUMEN TEXT, COB_MARCAE TEXT, COB_PORTAFOLIO TEXT, COB_OBJPP TEXT, COB_GEV TEXT )"))); + BA.debugLineNum = 179;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(262144); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_CATCLIENTESTODOS (CAT_CL_TIPO_RUTA TEXT, CAT_CL_DIAS_VISITA TEXT, CAT_CL_CODIGO TEXT, CAT_CL_FOTO TEXT, CAT_CL_CLASIFICADOR3 TEXT, CAT_CL_CLASIFICADOR4 TEXT, CAT_CL_CLASIFICADOR2 TEXT, CAT_CL_RUTA TEXT, CAT_CL_NOMBRE TEXT, CAT_CL_ATIENDE1 TEXT, CAT_CL_ATIENTE2 TEXT, CAT_CL_TELEFONO TEXT, CAT_CL_EMAIL TEXT, CAT_CL_CALLE TEXT, CAT_CL_NOEXT TEXT, CAT_CL_NOINT TEXT, CAT_CL_CALLE1 TEXT, CAT_CL_CALLE2 TEXT, CAT_CL_COLONIA TEXT, CAT_CL_MUNI TEXT, CAT_CL_EDO TEXT, CAT_CL_CP TEXT, CAT_CL_LONG TEXT, CAT_CL_LAT TEXT, CAT_CL_MTOCOMPRA TEXT, CAT_CL_NUM_SERIEFISICO TEXT, CAT_CL_BCREDITO TEXT, CAT_CL_DIASCREDITO TEXT, CAT_CL_TIPOCLIENTE TEXT, CAT_CL_LIMITECREDITO TEXT)"))); + BA.debugLineNum = 181;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS his"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS hist_ventastodos (HVD_CLIENTE TEX, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT, HVD_FECHA TEXT)"))); + BA.debugLineNum = 183;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)"))); + BA.debugLineNum = 184;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)"))); + BA.debugLineNum = 185;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_PROMOS_DESCUENTOS (CAT_PD_ALMACEN TEXT, CAT_PD_COD_PROMO TEXT, CAT_PD_RANGO INT, CAT_PD_VIGENCIA TEXT, CAT_PD_DESCUENTO TEXT, CAT_PD_PRODUCTO TEXT, CAT_PD_TIER TEXT)"))); + BA.debugLineNum = 186;BA.debugLine="Subs.agregaColumna(\"CAT_PROMOS_DESCUENTOS\", \"CAT_"; +Debug.ShouldStop(33554432); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_PROMOS_DESCUENTOS")),(Object)(BA.ObjectToString("CAT_PD_RANGO2")),(Object)(RemoteObject.createImmutable("INT"))); + BA.debugLineNum = 187;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_CODPROMO TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUM, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG )"))); + BA.debugLineNum = 188;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PRO"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PROMO_ESP (HVD_CLIENTE)"))); + BA.debugLineNum = 189;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_PROMO_ESP(CAT_PE_ID TEXT,CAT_PE_IDPROMO TEXT,CAT_PE_MONTO TEXT)"))); + BA.debugLineNum = 190;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)"))); + BA.debugLineNum = 191;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"))); + BA.debugLineNum = 192;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)"))); + BA.debugLineNum = 193;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)"))); + BA.debugLineNum = 194;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV"; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)"))); + BA.debugLineNum = 195;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)"))); + BA.debugLineNum = 196;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(8); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_COMISIONES_MOVIL (HCM_IDALMACEN TEXT, HCM_RUTA TEXT, HCM_TOTAL_V TEXT, HCM_TOTAL_VIVE TEXT, HCM_TOTAL_GUNA TEXT, HCM_TOTAL_BEB TEXT)"))); + BA.debugLineNum = 197;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(16); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"))); + BA.debugLineNum = 198;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(32); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)"))); + BA.debugLineNum = 199;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; +Debug.ShouldStop(64); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"))); + BA.debugLineNum = 200;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA"; +Debug.ShouldStop(128); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID"))); + BA.debugLineNum = 201;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota"; +Debug.ShouldStop(256); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE VIEW IF NOT EXISTS total_marcas AS Select cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif"))); + BA.debugLineNum = 202;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(512); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)"))); + BA.debugLineNum = 203;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(1024); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)"))); + BA.debugLineNum = 204;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +Debug.ShouldStop(2048); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO1(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)"))); + BA.debugLineNum = 205;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +Debug.ShouldStop(4096); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO2 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT)"))); + BA.debugLineNum = 206;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(8192); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_ENCUESTA_PREGUNTA (CAT_EP_ID TEXT,CAT_EP_IDTIPOPREGUNTA TEXT,CAT_CE_DESCRIPCION TEXT,CAT_EP_PREGUNTA TEXT,CAT_EP_RES1_PRED TEXT,CAT_EP_RES2_PRED TEXT,CAT_EP_RES3_PRED TEXT,CAT_EP_ORDEN_PREGUNTA TEXT)"))); + BA.debugLineNum = 207;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +Debug.ShouldStop(16384); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO3(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT, P10 TEXT, P11 TEXT)"))); + BA.debugLineNum = 208;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +Debug.ShouldStop(32768); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO4 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT)"))); + BA.debugLineNum = 209;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO5 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)"))); + BA.debugLineNum = 210;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(131072); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA2(HE_CLIENTE TEXT)"))); + BA.debugLineNum = 211;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(262144); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_CLIENTE (HEC_CLIENTE TEXT, HEC_MODULO TEXT)"))); + BA.debugLineNum = 212;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(524288); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_AVISO_GIRO (HEAV_CLIENTE TEXT, HEAV_MODULO TEXT, HEAV_AVISO TEXT, HEAV_GIRO TEXT)"))); + BA.debugLineNum = 213;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA (HE_CLIE TEXT, HE_RES TEXT, HE_FECHA TEXT, HE_TIPO TEXT, HE_LAT TEXT, HE_LON TEXT)"))); + BA.debugLineNum = 214;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS kmt"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS kmt_info3(CAT_CL_FOTO BLOB, CAT_CL_NUM_SERIEFISICO TEXT, CAT_CL_MTOCOMPRA TEXT, CAT_CL_CEDIS TEXT, CAT_CL_LAT TEXT, CAT_CL_LONG TEXT, CAT_CL_FBAJA TEXT, CAT_CL_FALTA TEXT, CAT_CL_CP TEXT, CAT_CL_EDO TEXT, CAT_CL_MUNI TEXT, CAT_CL_COLONIA TEXT, CAT_CL_CALLE2 TEXT, CAT_CL_CALLE1 TEXT, CAT_CL_NOINT TEXT, CAT_CL_NOEXT TEXT, CAT_CL_CALLE TEXT, CAT_CL_EMAIL TEXT, CAT_CL_TELEFONO TEXT, CAT_CL_ATIENTE2 TEXT, CAT_CL_ATIENDE1 TEXT, CAT_CL_NOMBRE TEXT, CAT_CL_GIRO TEXT, CAT_CL_DIAS_VISITA TEXT, CAT_CL_TIPO_RUTA TEXT, CAT_CL_RUTA TEXT, CAT_CL_CODIGO TEXT, gestion NUMERIC)"))); + BA.debugLineNum = 215;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_PRO2265(H_IDCLIENTE TEXT)"))); + BA.debugLineNum = 216;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ATI"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)"))); + BA.debugLineNum = 218;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COD"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CODIGOS_CREDITO(CODIGO TEXT, BANDERA TEXT)"))); + BA.debugLineNum = 220;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TEL"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS TELEFONO(TELEFONO TEXT, CLIENTE TEXT)"))); + BA.debugLineNum = 221;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_PRO3054(H_IDCLIENTE TEXT)"))); + BA.debugLineNum = 222;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_PRO3055(H_IDCLIENTE TEXT)"))); + BA.debugLineNum = 223;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTA_SUPLENCIA(RS_RUTA TEXT)"))); + BA.debugLineNum = 224;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TIC"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS TICKET_IMPRESO (idCliente TEXT)"))); + BA.debugLineNum = 226;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LAT\", \"TE"; +Debug.ShouldStop(2); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_ENCUESTA")),(Object)(BA.ObjectToString("HE_LAT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 227;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_FOTO\", \"B"; +Debug.ShouldStop(4); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_ENCUESTA")),(Object)(BA.ObjectToString("HE_FOTO")),(Object)(RemoteObject.createImmutable("BLOB"))); + BA.debugLineNum = 228;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"foto\", \"BLOB\")"; +Debug.ShouldStop(8); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("foto")),(Object)(RemoteObject.createImmutable("BLOB"))); + BA.debugLineNum = 229;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULO\", \"TEX"; +Debug.ShouldStop(16); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_RECALCULO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 230;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULADO\", \"T"; +Debug.ShouldStop(32); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_RECALCULADO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 231;BA.debugLine="Subs.agregaColumna(\"CODIGOS_CREDITO\", \"CLIENTE\","; +Debug.ShouldStop(64); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CODIGOS_CREDITO")),(Object)(BA.ObjectToString("CLIENTE")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 232;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCEDIS\", \"TEXT"; +Debug.ShouldStop(128); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_RECCEDIS")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 233;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_FUTURO\", \"TEXT\")"; +Debug.ShouldStop(256); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_FUTURO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 234;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULOTOT\", \""; +Debug.ShouldStop(512); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_RECALCULOTOT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 235;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LON\", \"TE"; +Debug.ShouldStop(1024); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_ENCUESTA")),(Object)(BA.ObjectToString("HE_LON")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 236;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\", \"HVD_FECHA\", \"T"; +Debug.ShouldStop(2048); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_FECHA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 237;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROINT"; +Debug.ShouldStop(4096); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_NUMEROINT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 238;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROEXT"; +Debug.ShouldStop(8192); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_NUMEROEXT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 239;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_REFERENCI"; +Debug.ShouldStop(16384); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_REFERENCIA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 240;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROI"; +Debug.ShouldStop(32768); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_NUMEROINT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 241;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROE"; +Debug.ShouldStop(65536); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_NUMEROEXT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 242;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_REFEREN"; +Debug.ShouldStop(131072); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_REFERENCIA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 243;BA.debugLine="Subs.agregaColumna(\"COMENTARIOS\", \"comentario_tmp"; +Debug.ShouldStop(262144); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("COMENTARIOS")),(Object)(BA.ObjectToString("comentario_tmp")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 245;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"encuesta\", \"TEXT"; +Debug.ShouldStop(1048576); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("encuesta")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 246;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; +Debug.ShouldStop(2097152); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_CLASIFICADOR4")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 247;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER"; +Debug.ShouldStop(4194304); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_CONVERSION3")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 248;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER"; +Debug.ShouldStop(8388608); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_CONVERSION2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 249;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; +Debug.ShouldStop(16777216); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_CLASIFICADOR3")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 250;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; +Debug.ShouldStop(33554432); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_CLASIFICADOR2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 251;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_TIPOCLIEN"; +Debug.ShouldStop(67108864); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_TIPOCLIENTE")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 252;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_LIMITECRE"; +Debug.ShouldStop(134217728); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_LIMITECREDITO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 253;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_DIASCREDI"; +Debug.ShouldStop(268435456); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_DIASCREDITO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 254;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CONFIRMADO\", \"TE"; +Debug.ShouldStop(536870912); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CONFIRMADO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 255;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_BCREDITO\""; +Debug.ShouldStop(1073741824); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info3")),(Object)(BA.ObjectToString("CAT_CL_BCREDITO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 256;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DEV\","; +Debug.ShouldStop(-2147483648); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DEV")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 257;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_BSEGME"; +Debug.ShouldStop(1); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_PA_BSEGMENTA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 258;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_LISTAPREC"; +Debug.ShouldStop(2); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_LISTAPRECIO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 259;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_SEGMEN"; +Debug.ShouldStop(4); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_PA_SEGMENTAV")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 260;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_BSEGM"; +Debug.ShouldStop(8); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_PA_BSEGMENTA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 261;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_SEGME"; +Debug.ShouldStop(16); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_PA_SEGMENTAV")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 262;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT"; +Debug.ShouldStop(32); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_SOLICITA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 263;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_COLONIA"; +Debug.ShouldStop(64); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_COLONIA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 264;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_TELEFON"; +Debug.ShouldStop(128); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_TELEFONO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 265;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CP\", \"T"; +Debug.ShouldStop(256); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_CP")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 266;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE1\""; +Debug.ShouldStop(512); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_CALLE1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 267;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE2\""; +Debug.ShouldStop(1024); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_CALLE2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 268;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCANT\", \"TEXT\""; +Debug.ShouldStop(2048); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_RECCANT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 269;BA.debugLine="Subs.agregaColumna(\"FOTOS\", \"FECHA\", \"TEXT\")"; +Debug.ShouldStop(4096); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("FOTOS")),(Object)(BA.ObjectToString("FECHA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 270;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(8192); +try { BA.debugLineNum = 271;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('ENCUESTA_MODULO3') WHERE name='P10'")))); + BA.debugLineNum = 272;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 273;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 274;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; +Debug.ShouldStop(131072); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P10 TEXT"))); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e148) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e148.toString()); BA.debugLineNum = 277;BA.debugLine="Try"; +Debug.ShouldStop(1048576); +try { BA.debugLineNum = 278;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P10 TEXT"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e151) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e151.toString()); BA.debugLineNum = 280;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(8388608); +b4xmainpage.__c.runVoidMethod ("LogImpl","01245357",BA.ObjectToString(b4xmainpage.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + }; + BA.debugLineNum = 283;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(67108864); +try { BA.debugLineNum = 284;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('ENCUESTA_MODULO3') WHERE name='P11'")))); + BA.debugLineNum = 285;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 286;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 287;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P11 TEXT"))); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e161) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e161.toString()); BA.debugLineNum = 290;BA.debugLine="Try"; +Debug.ShouldStop(2); +try { BA.debugLineNum = 291;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P11 TEXT"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e164) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e164.toString()); BA.debugLineNum = 293;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(16); +b4xmainpage.__c.runVoidMethod ("LogImpl","01245370",BA.ObjectToString(b4xmainpage.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + }; + BA.debugLineNum = 296;BA.debugLine="c=skmt.ExecQuery(\"select COUNT(*) AS CUANTOS fro"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CUANTOS from HIST_STAY_OUT ")))); + BA.debugLineNum = 297;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 298;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 299;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO"; +Debug.ShouldStop(1024); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"))); + }; + BA.debugLineNum = 301;BA.debugLine="C.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 305;BA.debugLine="l_version.Text = Application.VersionName"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(b4xmainpage.__c.getField(false,"Application").runMethod(true,"getVersionName"))); + BA.debugLineNum = 307;BA.debugLine="PopupMenu.Initialize(\"PopupMenu\", b_menu)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_popupmenu" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PopupMenu")),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), __ref.getField(false,"_b_menu" /*RemoteObject*/ ).getObject())); + BA.debugLineNum = 308;BA.debugLine="PopupMenu.AddMenuItem(0, 0, \"View\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_popupmenu" /*RemoteObject*/ ).runVoidMethod ("AddMenuItem",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.createImmutable("View"))); + BA.debugLineNum = 309;BA.debugLine="PopupMenu.AddMenuItem(1, 1, \"Edit\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_popupmenu" /*RemoteObject*/ ).runVoidMethod ("AddMenuItem",(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 1)),(Object)(RemoteObject.createImmutable("Edit"))); + BA.debugLineNum = 310;BA.debugLine="PopupMenu.AddMenuItem(2, 2, \"Details\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_popupmenu" /*RemoteObject*/ ).runVoidMethod ("AddMenuItem",(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(RemoteObject.createImmutable("Details"))); + BA.debugLineNum = 311;BA.debugLine="PopupMenu.AddMenuItem(3, 3, \"Remove\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_popupmenu" /*RemoteObject*/ ).runVoidMethod ("AddMenuItem",(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(RemoteObject.createImmutable("Remove"))); + BA.debugLineNum = 313;BA.debugLine="montoActual = 0"; +Debug.ShouldStop(16777216); +__ref.setField ("_montoactual" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 314;BA.debugLine="clientesTotal = 0"; +Debug.ShouldStop(33554432); +__ref.setField ("_clientestotal" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 315;BA.debugLine="clientesVenta = 0"; +Debug.ShouldStop(67108864); +__ref.setField ("_clientesventa" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 316;BA.debugLine="clientesVisitados = 0"; +Debug.ShouldStop(134217728); +__ref.setField ("_clientesvisitados" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 317;BA.debugLine="almacen = 0"; +Debug.ShouldStop(268435456); +__ref.setField ("_almacen" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 318;BA.debugLine="rutaPreventa = 0"; +Debug.ShouldStop(536870912); +__ref.setField ("_rutapreventa" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 319;BA.debugLine="p_appUpdate.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 321;BA.debugLine="If Subs.traeUsarIntentBDWA Then"; +Debug.ShouldStop(1); +if (b4xmainpage._subs.runMethod(true,"_traeusarintentbdwa" /*RemoteObject*/ ,__ref.getField(false, "ba")).get().booleanValue()) { + BA.debugLineNum = 322;BA.debugLine="Subs.importaBDDesdeWhatsApp"; +Debug.ShouldStop(2); +b4xmainpage._subs.runVoidMethod ("_importabddesdewhatsapp" /*RemoteObject*/ ,__ref.getField(false, "ba")); + }; + BA.debugLineNum = 324;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xswitch1_valuechanged(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("B4XSwitch1_ValueChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,953); +if (RapidSub.canDelegate("b4xswitch1_valuechanged")) { return __ref.runUserSub(false, "b4xmainpage","b4xswitch1_valuechanged", __ref, _value);} +Debug.locals.put("Value", _value); + BA.debugLineNum = 953;BA.debugLine="Private Sub B4XSwitch1_ValueChanged (Value As Bool"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 954;BA.debugLine="If Value Then"; +Debug.ShouldStop(33554432); +if (_value.get().booleanValue()) { + BA.debugLineNum = 955;BA.debugLine="Log(\"1\")"; +Debug.ShouldStop(67108864); +b4xmainpage.__c.runVoidMethod ("LogImpl","02621442",RemoteObject.createImmutable("1"),0); + BA.debugLineNum = 956;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE IMPRESORA SET HABILITADA = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))))); + }else { + BA.debugLineNum = 958;BA.debugLine="Log(\"desactivado\")"; +Debug.ShouldStop(536870912); +b4xmainpage.__c.runVoidMethod ("LogImpl","02621445",RemoteObject.createImmutable("desactivado"),0); + BA.debugLineNum = 959;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE IMPRESORA SET HABILITADA = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + }; + BA.debugLineNum = 961;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xswitch2_valuechanged(RemoteObject __ref,RemoteObject _value2) throws Exception{ +try { + Debug.PushSubsStack("B4XSwitch2_ValueChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,963); +if (RapidSub.canDelegate("b4xswitch2_valuechanged")) { return __ref.runUserSub(false, "b4xmainpage","b4xswitch2_valuechanged", __ref, _value2);} +Debug.locals.put("Value2", _value2); + BA.debugLineNum = 963;BA.debugLine="Private Sub B4XSwitch2_ValueChanged (Value2 As Boo"; +Debug.ShouldStop(4); + BA.debugLineNum = 964;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CAT"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")})))); + BA.debugLineNum = 965;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 966;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 967;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.NumberToString(1))) { + BA.debugLineNum = 968;BA.debugLine="If Value2 Then"; +Debug.ShouldStop(128); +if (_value2.get().booleanValue()) { + BA.debugLineNum = 969;BA.debugLine="p_validacion.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"True")); + BA.debugLineNum = 970;BA.debugLine="p_validacion.Left = (Root.Width/2) - (p_appUpd"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 971;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; +Debug.ShouldStop(1024); +b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_validacion" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 972;BA.debugLine="p_validacion.Height = Root.Height"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 973;BA.debugLine="p_validacion.Width = Root.Width"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + }else { + BA.debugLineNum = 975;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; +Debug.ShouldStop(16384); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + }; + }else { + BA.debugLineNum = 978;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día"; +Debug.ShouldStop(131072); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor primero haz carga de día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 979;BA.debugLine="B4XSwitch2.Value = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"False")); + }; + }else { + BA.debugLineNum = 982;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día\""; +Debug.ShouldStop(2097152); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor primero haz carga de día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 983;BA.debugLine="B4XSwitch2.Value = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"False")); + }; + BA.debugLineNum = 985;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_importarbdwa_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("cb_importarBDWA_CheckedChange (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1133); +if (RapidSub.canDelegate("cb_importarbdwa_checkedchange")) { return __ref.runUserSub(false, "b4xmainpage","cb_importarbdwa_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 1133;BA.debugLine="Private Sub cb_importarBDWA_CheckedChange(Checked"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1135;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_VARIAB"; +Debug.ShouldStop(16384); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'IMPORTAR_BD_WA'"))); + BA.debugLineNum = 1136;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CAT_VARIA"; +Debug.ShouldStop(32768); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('IMPORTAR_BD_WA', '"),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_checked))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1137;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 18;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 19;BA.debugLine="Private Root As B4XView"; +b4xmainpage._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",b4xmainpage._root); + //BA.debugLineNum = 20;BA.debugLine="Private xui As XUI"; +b4xmainpage._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xmainpage._xui); + //BA.debugLineNum = 21;BA.debugLine="Public login As B4XMainPage"; +b4xmainpage._login = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xmainpage");__ref.setField("_login",b4xmainpage._login); + //BA.debugLineNum = 22;BA.debugLine="Public principal As C_Principal"; +b4xmainpage._principal = RemoteObject.createNew ("gunav2.keymon.com.mx.c_principal");__ref.setField("_principal",b4xmainpage._principal); + //BA.debugLineNum = 23;BA.debugLine="Public clientes As C_Clientes"; +b4xmainpage._clientes = RemoteObject.createNew ("gunav2.keymon.com.mx.c_clientes");__ref.setField("_clientes",b4xmainpage._clientes); + //BA.debugLineNum = 24;BA.debugLine="Public cliente As C_Cliente"; +b4xmainpage._cliente = RemoteObject.createNew ("gunav2.keymon.com.mx.c_cliente");__ref.setField("_cliente",b4xmainpage._cliente); + //BA.debugLineNum = 25;BA.debugLine="Public productos As C_Productos"; +b4xmainpage._productos = RemoteObject.createNew ("gunav2.keymon.com.mx.c_productos");__ref.setField("_productos",b4xmainpage._productos); + //BA.debugLineNum = 26;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; +b4xmainpage._updateavailable = RemoteObject.createNew ("gunav2.keymon.com.mx.c_updateavailable");__ref.setField("_updateavailable",b4xmainpage._updateavailable); + //BA.debugLineNum = 27;BA.debugLine="Public mapas As C_Mapas"; +b4xmainpage._mapas = RemoteObject.createNew ("gunav2.keymon.com.mx.c_mapas");__ref.setField("_mapas",b4xmainpage._mapas); + //BA.debugLineNum = 28;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; +b4xmainpage._nuevocliente = RemoteObject.createNew ("gunav2.keymon.com.mx.c_nuevocliente");__ref.setField("_nuevocliente",b4xmainpage._nuevocliente); + //BA.debugLineNum = 29;BA.debugLine="Public ticketsDia As C_TicketsDia"; +b4xmainpage._ticketsdia = RemoteObject.createNew ("gunav2.keymon.com.mx.c_ticketsdia");__ref.setField("_ticketsdia",b4xmainpage._ticketsdia); + //BA.debugLineNum = 30;BA.debugLine="Public noVenta As C_NoVenta"; +b4xmainpage._noventa = RemoteObject.createNew ("gunav2.keymon.com.mx.c_noventa");__ref.setField("_noventa",b4xmainpage._noventa); + //BA.debugLineNum = 31;BA.debugLine="Public nota As C_Nota"; +b4xmainpage._nota = RemoteObject.createNew ("gunav2.keymon.com.mx.c_nota");__ref.setField("_nota",b4xmainpage._nota); + //BA.debugLineNum = 32;BA.debugLine="Public pedidos As C_Pedidos"; +b4xmainpage._pedidos = RemoteObject.createNew ("gunav2.keymon.com.mx.c_pedidos");__ref.setField("_pedidos",b4xmainpage._pedidos); + //BA.debugLineNum = 33;BA.debugLine="Public promos As C_Promos"; +b4xmainpage._promos = RemoteObject.createNew ("gunav2.keymon.com.mx.c_promos");__ref.setField("_promos",b4xmainpage._promos); + //BA.debugLineNum = 34;BA.debugLine="Public historico As C_Historico"; +b4xmainpage._historico = RemoteObject.createNew ("gunav2.keymon.com.mx.c_historico");__ref.setField("_historico",b4xmainpage._historico); + //BA.debugLineNum = 35;BA.debugLine="Public Clientes_Completos As C_ClientesCompletos"; +b4xmainpage._clientes_completos = RemoteObject.createNew ("gunav2.keymon.com.mx.c_clientescompletos");__ref.setField("_clientes_completos",b4xmainpage._clientes_completos); + //BA.debugLineNum = 36;BA.debugLine="Public Tclientes As V_Tclientes"; +b4xmainpage._tclientes = RemoteObject.createNew ("gunav2.keymon.com.mx.v_tclientes");__ref.setField("_tclientes",b4xmainpage._tclientes); + //BA.debugLineNum = 38;BA.debugLine="Public historicobat As C_historicobat"; +b4xmainpage._historicobat = RemoteObject.createNew ("gunav2.keymon.com.mx.c_historicobat");__ref.setField("_historicobat",b4xmainpage._historicobat); + //BA.debugLineNum = 40;BA.debugLine="Dim reqManager As DBRequestManager"; +b4xmainpage._reqmanager = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",b4xmainpage._reqmanager); + //BA.debugLineNum = 41;BA.debugLine="Dim v As String = Application.VersionName"; +b4xmainpage._v = b4xmainpage.__c.getField(false,"Application").runMethod(true,"getVersionName");__ref.setField("_v",b4xmainpage._v); + //BA.debugLineNum = 42;BA.debugLine="Dim ruta As String"; +b4xmainpage._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",b4xmainpage._ruta); + //BA.debugLineNum = 43;BA.debugLine="Dim tgl As Toggle"; +b4xmainpage._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",b4xmainpage._tgl); + //BA.debugLineNum = 44;BA.debugLine="Dim lat_gps, lon_gps As String"; +b4xmainpage._lat_gps = RemoteObject.createImmutable("");__ref.setField("_lat_gps",b4xmainpage._lat_gps); +b4xmainpage._lon_gps = RemoteObject.createImmutable("");__ref.setField("_lon_gps",b4xmainpage._lon_gps); + //BA.debugLineNum = 45;BA.debugLine="Dim usuario As String"; +b4xmainpage._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",b4xmainpage._usuario); + //BA.debugLineNum = 46;BA.debugLine="Dim batt As Int"; +b4xmainpage._batt = RemoteObject.createImmutable(0);__ref.setField("_batt",b4xmainpage._batt); + //BA.debugLineNum = 47;BA.debugLine="Dim skmt As SQL"; +b4xmainpage._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",b4xmainpage._skmt); + //BA.debugLineNum = 48;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; +b4xmainpage._montoactual = RemoteObject.createImmutable("");__ref.setField("_montoactual",b4xmainpage._montoactual); +b4xmainpage._clientestotal = RemoteObject.createImmutable("");__ref.setField("_clientestotal",b4xmainpage._clientestotal); +b4xmainpage._clientesventa = RemoteObject.createImmutable("");__ref.setField("_clientesventa",b4xmainpage._clientesventa); +b4xmainpage._clientesvisitados = RemoteObject.createImmutable("");__ref.setField("_clientesvisitados",b4xmainpage._clientesvisitados); +b4xmainpage._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",b4xmainpage._almacen); +b4xmainpage._rutapreventa = RemoteObject.createImmutable("");__ref.setField("_rutapreventa",b4xmainpage._rutapreventa); + //BA.debugLineNum = 49;BA.debugLine="Dim server, fechaRuta As String"; +b4xmainpage._server = RemoteObject.createImmutable("");__ref.setField("_server",b4xmainpage._server); +b4xmainpage._fecharuta = RemoteObject.createImmutable("");__ref.setField("_fecharuta",b4xmainpage._fecharuta); + //BA.debugLineNum = 50;BA.debugLine="Dim Logger As Boolean"; +b4xmainpage._logger = RemoteObject.createImmutable(false);__ref.setField("_logger",b4xmainpage._logger); + //BA.debugLineNum = 51;BA.debugLine="Dim mac_impresora As String"; +b4xmainpage._mac_impresora = RemoteObject.createImmutable("");__ref.setField("_mac_impresora",b4xmainpage._mac_impresora); + //BA.debugLineNum = 52;BA.debugLine="Dim Phn As PhoneId"; +b4xmainpage._phn = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_phn",b4xmainpage._phn); + //BA.debugLineNum = 54;BA.debugLine="Dim user As EditText"; +b4xmainpage._user = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_user",b4xmainpage._user); + //BA.debugLineNum = 55;BA.debugLine="Dim pass As EditText"; +b4xmainpage._pass = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_pass",b4xmainpage._pass); + //BA.debugLineNum = 56;BA.debugLine="Dim c As Cursor"; +b4xmainpage._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",b4xmainpage._c); + //BA.debugLineNum = 57;BA.debugLine="Dim existe As String"; +b4xmainpage._existe = RemoteObject.createImmutable("");__ref.setField("_existe",b4xmainpage._existe); + //BA.debugLineNum = 58;BA.debugLine="Dim paso1 As String"; +b4xmainpage._paso1 = RemoteObject.createImmutable("");__ref.setField("_paso1",b4xmainpage._paso1); + //BA.debugLineNum = 59;BA.debugLine="Private IMEN As Label"; +b4xmainpage._imen = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_imen",b4xmainpage._imen); + //BA.debugLineNum = 60;BA.debugLine="Dim IMEI As String = \"\""; +b4xmainpage._imei = BA.ObjectToString("");__ref.setField("_imei",b4xmainpage._imei); + //BA.debugLineNum = 61;BA.debugLine="Dim alterno As String"; +b4xmainpage._alterno = RemoteObject.createImmutable("");__ref.setField("_alterno",b4xmainpage._alterno); + //BA.debugLineNum = 62;BA.debugLine="Private b_menu As Button"; +b4xmainpage._b_menu = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_menu",b4xmainpage._b_menu); + //BA.debugLineNum = 63;BA.debugLine="Dim PopupMenu As RSPopupMenu"; +b4xmainpage._popupmenu = RemoteObject.createNew ("com.rootsoft.rspopupmenu.RSPopupMenu");__ref.setField("_popupmenu",b4xmainpage._popupmenu); + //BA.debugLineNum = 64;BA.debugLine="Dim cmd As DBCommand"; +b4xmainpage._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + //BA.debugLineNum = 65;BA.debugLine="Private PDF As Button"; +b4xmainpage._pdf = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pdf",b4xmainpage._pdf); + //BA.debugLineNum = 66;BA.debugLine="Private bpv1 As BatteryProgressView"; +b4xmainpage._bpv1 = RemoteObject.createNew ("batteryprogressviewwrapper.batteryprogressviewWrapper");__ref.setField("_bpv1",b4xmainpage._bpv1); + //BA.debugLineNum = 67;BA.debugLine="Dim batterystatus(11) As Int"; +b4xmainpage._batterystatus = RemoteObject.createNewArray ("int", new int[] {11}, new Object[]{});__ref.setField("_batterystatus",b4xmainpage._batterystatus); + //BA.debugLineNum = 68;BA.debugLine="Private bu As BatteryUtilities"; +b4xmainpage._bu = RemoteObject.createNew ("gunav2.keymon.com.mx.batteryutilities");__ref.setField("_bu",b4xmainpage._bu); + //BA.debugLineNum = 69;BA.debugLine="Private b_apk As Button"; +b4xmainpage._b_apk = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_apk",b4xmainpage._b_apk); + //BA.debugLineNum = 70;BA.debugLine="Private i_engrane As ImageView"; +b4xmainpage._i_engrane = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_engrane",b4xmainpage._i_engrane); + //BA.debugLineNum = 71;BA.debugLine="Private p_Main As Panel"; +b4xmainpage._p_main = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_main",b4xmainpage._p_main); + //BA.debugLineNum = 72;BA.debugLine="Private p_appUpdate As Panel"; +b4xmainpage._p_appupdate = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_appupdate",b4xmainpage._p_appupdate); + //BA.debugLineNum = 73;BA.debugLine="Private b_regesar As Button"; +b4xmainpage._b_regesar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regesar",b4xmainpage._b_regesar); + //BA.debugLineNum = 74;BA.debugLine="Private l_version As Label"; +b4xmainpage._l_version = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_version",b4xmainpage._l_version); + //BA.debugLineNum = 75;BA.debugLine="Private ImageView1 As ImageView"; +b4xmainpage._imageview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview1",b4xmainpage._imageview1); + //BA.debugLineNum = 76;BA.debugLine="Private Label2 As Label"; +b4xmainpage._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",b4xmainpage._label2); + //BA.debugLineNum = 77;BA.debugLine="Dim Entrar As Button"; +b4xmainpage._entrar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_entrar",b4xmainpage._entrar); + //BA.debugLineNum = 78;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; +b4xmainpage._tipo_venta = b4xmainpage._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_tipo_venta",b4xmainpage._tipo_venta); + //BA.debugLineNum = 79;BA.debugLine="Dim bTerminarClicked As Boolean = False"; +b4xmainpage._bterminarclicked = b4xmainpage.__c.getField(true,"False");__ref.setField("_bterminarclicked",b4xmainpage._bterminarclicked); + //BA.debugLineNum = 80;BA.debugLine="Private lv_server As ListView"; +b4xmainpage._lv_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_server",b4xmainpage._lv_server); + //BA.debugLineNum = 81;BA.debugLine="Private l_server As Label"; +b4xmainpage._l_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_server",b4xmainpage._l_server); + //BA.debugLineNum = 82;BA.debugLine="Private b_envioBD As Button"; +b4xmainpage._b_enviobd = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_enviobd",b4xmainpage._b_enviobd); + //BA.debugLineNum = 83;BA.debugLine="Public Provider As FileProvider"; +b4xmainpage._provider = RemoteObject.createNew ("gunav2.keymon.com.mx.fileprovider");__ref.setField("_provider",b4xmainpage._provider); + //BA.debugLineNum = 84;BA.debugLine="Public rutaBDBackup = \"\""; +b4xmainpage._rutabdbackup = BA.ObjectToString("");__ref.setField("_rutabdbackup",b4xmainpage._rutabdbackup); + //BA.debugLineNum = 85;BA.debugLine="Private B4XSwitch1 As B4XSwitch"; +b4xmainpage._b4xswitch1 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xswitch");__ref.setField("_b4xswitch1",b4xmainpage._b4xswitch1); + //BA.debugLineNum = 86;BA.debugLine="Private p_validacion As Panel"; +b4xmainpage._p_validacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_validacion",b4xmainpage._p_validacion); + //BA.debugLineNum = 87;BA.debugLine="Private B4XSwitch2 As B4XSwitch"; +b4xmainpage._b4xswitch2 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xswitch");__ref.setField("_b4xswitch2",b4xmainpage._b4xswitch2); + //BA.debugLineNum = 88;BA.debugLine="Dim x As Int"; +b4xmainpage._x = RemoteObject.createImmutable(0);__ref.setField("_x",b4xmainpage._x); + //BA.debugLineNum = 89;BA.debugLine="Private et_codigo As EditText"; +b4xmainpage._et_codigo = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_codigo",b4xmainpage._et_codigo); + //BA.debugLineNum = 90;BA.debugLine="Dim buscandoActualizacion As Boolean = False"; +b4xmainpage._buscandoactualizacion = b4xmainpage.__c.getField(true,"False");__ref.setField("_buscandoactualizacion",b4xmainpage._buscandoactualizacion); + //BA.debugLineNum = 91;BA.debugLine="Dim actualizacionRevisada As Boolean = False 'Par"; +b4xmainpage._actualizacionrevisada = b4xmainpage.__c.getField(true,"False");__ref.setField("_actualizacionrevisada",b4xmainpage._actualizacionrevisada); + //BA.debugLineNum = 92;BA.debugLine="Private b_actualizacion As Button"; +b4xmainpage._b_actualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_actualizacion",b4xmainpage._b_actualizacion); + //BA.debugLineNum = 93;BA.debugLine="Private et_server As EditText"; +b4xmainpage._et_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_server",b4xmainpage._et_server); + //BA.debugLineNum = 94;BA.debugLine="Dim intentUsado As Boolean = False"; +b4xmainpage._intentusado = b4xmainpage.__c.getField(true,"False");__ref.setField("_intentusado",b4xmainpage._intentusado); + //BA.debugLineNum = 95;BA.debugLine="Private p_importarBDWA As Panel"; +b4xmainpage._p_importarbdwa = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_importarbdwa",b4xmainpage._p_importarbdwa); + //BA.debugLineNum = 96;BA.debugLine="Private cb_importarBDWA As CheckBox"; +b4xmainpage._cb_importarbdwa = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb_importarbdwa",b4xmainpage._cb_importarbdwa); + //BA.debugLineNum = 98;BA.debugLine="Dim pkg As PackageManager"; +b4xmainpage._pkg = RemoteObject.createNew ("anywheresoftware.b4a.phone.PackageManagerWrapper");__ref.setField("_pkg",b4xmainpage._pkg); + //BA.debugLineNum = 100;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static void _copiadb(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("copiaDB (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,847); +if (RapidSub.canDelegate("copiadb")) { __ref.runUserSub(false, "b4xmainpage","copiadb", __ref); return;} +ResumableSub_copiaDB rsub = new ResumableSub_copiaDB(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_copiaDB extends BA.ResumableSub { +public ResumableSub_copiaDB(gunav2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xmainpage parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); +RemoteObject _thedir = RemoteObject.createImmutable(""); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("copiaDB (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,847); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 848;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(32768); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE"))); + BA.debugLineNum = 849;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "copiadb"), null); +this.state = 19; +return; +case 19: +//C +this.state = 1; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 850;BA.debugLine="Dim theDir As String = \"\""; +Debug.ShouldStop(131072); +_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir);Debug.locals.put("theDir", _thedir); + BA.debugLineNum = 851;BA.debugLine="If Result Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 1: +//if +this.state = 18; +if (_result.get().booleanValue()) { +this.state = 3; +}else { +this.state = 17; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 852;BA.debugLine="Dim theDir As String"; +Debug.ShouldStop(524288); +_thedir = RemoteObject.createImmutable("");Debug.locals.put("theDir", _thedir); + BA.debugLineNum = 853;BA.debugLine="Try"; +Debug.ShouldStop(1048576); +if (true) break; + +case 4: +//try +this.state = 9; +this.catchState = 8; +this.state = 6; +if (true) break; + +case 6: +//C +this.state = 9; +this.catchState = 8; + BA.debugLineNum = 854;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")"; +Debug.ShouldStop(2097152); +parent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirRootExternal")),(Object)(RemoteObject.createImmutable("kmts"))); + BA.debugLineNum = 855;BA.debugLine="theDir = \"/kmts\""; +Debug.ShouldStop(4194304); +_thedir = BA.ObjectToString("/kmts");Debug.locals.put("theDir", _thedir); + Debug.CheckDeviceExceptions(); +if (true) break; + +case 8: +//C +this.state = 9; +this.catchState = 0; + BA.debugLineNum = 857;BA.debugLine="theDir = \"\""; +Debug.ShouldStop(16777216); +_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir); + if (true) break; +if (true) break; + +case 9: +//C +this.state = 10; +this.catchState = 0; +; + BA.debugLineNum = 859;BA.debugLine="rutaBDBackup = File.DirRootExternal&theDir"; +Debug.ShouldStop(67108864); +__ref.setField ("_rutabdbackup" /*RemoteObject*/ ,RemoteObject.concat(parent.__c.getField(false,"File").runMethod(true,"getDirRootExternal"),_thedir)); + BA.debugLineNum = 860;BA.debugLine="Try"; +Debug.ShouldStop(134217728); +if (true) break; + +case 10: +//try +this.state = 15; +this.catchState = 14; +this.state = 12; +if (true) break; + +case 12: +//C +this.state = 15; +this.catchState = 14; + BA.debugLineNum = 861;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo"; +Debug.ShouldStop(268435456); +parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(RemoteObject.concat(parent.__c.getField(false,"File").runMethod(true,"getDirRootExternal"),_thedir)),(Object)(RemoteObject.createImmutable("cedex_kmt.db"))); + BA.debugLineNum = 862;BA.debugLine="ToastMessageShow(\"Listo\", False)"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Listo")),(Object)(parent.__c.getField(true,"False"))); + Debug.CheckDeviceExceptions(); +if (true) break; + +case 14: +//C +this.state = 15; +this.catchState = 0; + BA.debugLineNum = 864;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se pudo hacer la copia: "),parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))))),(Object)(parent.__c.getField(true,"True"))); + if (true) break; +if (true) break; + +case 15: +//C +this.state = 18; +this.catchState = 0; +; + if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 867;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos")),(Object)(parent.__c.getField(true,"False"))); + if (true) break; + +case 18: +//C +this.state = -1; +; + BA.debugLineNum = 869;BA.debugLine="Log(rutaBDBackup)"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("LogImpl","02097174",__ref.getField(true,"_rutabdbackup" /*RemoteObject*/ ),0); + BA.debugLineNum = 870;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _dameusuario(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("dameUsuario (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,817); +if (RapidSub.canDelegate("dameusuario")) { return __ref.runUserSub(false, "b4xmainpage","dameusuario", __ref);} + BA.debugLineNum = 817;BA.debugLine="Sub dameUsuario"; +Debug.ShouldStop(65536); + BA.debugLineNum = 818;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as EXISTE1 from usuarioa where usuario = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")})))); + BA.debugLineNum = 819;BA.debugLine="c.Position=0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 820;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +Debug.ShouldStop(524288); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE1")))); + BA.debugLineNum = 821;BA.debugLine="c.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 822;BA.debugLine="If existe > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_existe" /*RemoteObject*/ )),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 823;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 824;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 825;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(16777216); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + }else { + BA.debugLineNum = 827;BA.debugLine="usuario = \"SINUSUARIO\""; +Debug.ShouldStop(67108864); +__ref.setField ("_usuario" /*RemoteObject*/ ,BA.ObjectToString("SINUSUARIO")); + }; + BA.debugLineNum = 829;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _entrar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Entrar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,441); +if (RapidSub.canDelegate("entrar_click")) { return __ref.runUserSub(false, "b4xmainpage","entrar_click", __ref);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); +RemoteObject _api = RemoteObject.createImmutable(0); +RemoteObject _pp = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +RemoteObject _id = RemoteObject.createImmutable(0); + BA.debugLineNum = 441;BA.debugLine="Sub Entrar_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 442;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(33554432); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 443;BA.debugLine="Dim Api As Int"; +Debug.ShouldStop(67108864); +_api = RemoteObject.createImmutable(0);Debug.locals.put("Api", _api); + BA.debugLineNum = 444;BA.debugLine="Dim PP As Phone"; +Debug.ShouldStop(134217728); +_pp = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("PP", _pp); + BA.debugLineNum = 445;BA.debugLine="user.Text = user.Text.trim"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))); + BA.debugLineNum = 446;BA.debugLine="LogColor(Starter.server, Colors.Blue)"; +Debug.ShouldStop(536870912); +b4xmainpage.__c.runVoidMethod ("LogImpl","01376261",b4xmainpage._starter._server /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 447;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\""; +Debug.ShouldStop(1073741824); +_api = BA.numberCast(int.class, _r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("android.os.Build$VERSION")),(Object)(RemoteObject.createImmutable("SDK_INT"))));Debug.locals.put("Api", _api); + BA.debugLineNum = 448;BA.debugLine="If Api < 9 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("<",_api,BA.numberCast(double.class, 9))) { + BA.debugLineNum = 450;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then"; +Debug.ShouldStop(2); +if (b4xmainpage.__c.getField(false,"File").runMethod(true,"Exists",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("__id"))).get().booleanValue()) { + BA.debugLineNum = 451;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id"; +Debug.ShouldStop(4); +__ref.setField ("_imei" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"File").runMethod(true,"ReadString",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("__id")))); + BA.debugLineNum = 452;BA.debugLine="Log(1&\"-\"&IMEI)"; +Debug.ShouldStop(8); +b4xmainpage.__c.runVoidMethod ("LogImpl","01376267",RemoteObject.concat(RemoteObject.createImmutable(1),RemoteObject.createImmutable("-"),__ref.getField(true,"_imei" /*RemoteObject*/ )),0); + }else { + BA.debugLineNum = 454;BA.debugLine="Dim id As Int"; +Debug.ShouldStop(32); +_id = RemoteObject.createImmutable(0);Debug.locals.put("id", _id); + BA.debugLineNum = 455;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)"; +Debug.ShouldStop(64); +_id = b4xmainpage.__c.runMethod(true,"Rnd",(Object)(BA.numberCast(int.class, ((int)0x10000000))),(Object)(BA.numberCast(int.class, ((int)0x7fffffff))));Debug.locals.put("id", _id); + BA.debugLineNum = 456;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)"; +Debug.ShouldStop(128); +b4xmainpage.__c.getField(false,"File").runVoidMethod ("WriteString",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("__id")),(Object)(BA.NumberToString(_id))); + BA.debugLineNum = 457;BA.debugLine="IMEI = id"; +Debug.ShouldStop(256); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.NumberToString(_id)); + BA.debugLineNum = 458;BA.debugLine="Log(2&\"-\"&IMEI)"; +Debug.ShouldStop(512); +b4xmainpage.__c.runVoidMethod ("LogImpl","01376273",RemoteObject.concat(RemoteObject.createImmutable(2),RemoteObject.createImmutable("-"),__ref.getField(true,"_imei" /*RemoteObject*/ )),0); + }; + }else { + BA.debugLineNum = 462;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE"; +Debug.ShouldStop(8192); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString(_r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("android.os.Build")),(Object)(RemoteObject.createImmutable("SERIAL"))))); + BA.debugLineNum = 463;BA.debugLine="Log(3&\"-\"&IMEI)"; +Debug.ShouldStop(16384); +b4xmainpage.__c.runVoidMethod ("LogImpl","01376278",RemoteObject.concat(RemoteObject.createImmutable(3),RemoteObject.createImmutable("-"),__ref.getField(true,"_imei" /*RemoteObject*/ )),0); + }; + BA.debugLineNum = 465;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ).runMethod(true,"toLowerCase"),BA.ObjectToString("unknown"))) { + BA.debugLineNum = 466;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")"; +Debug.ShouldStop(131072); +__ref.setField ("_imei" /*RemoteObject*/ ,_pp.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id")))); + }; + BA.debugLineNum = 468;BA.debugLine="Log(\"IMEI = \" & IMEI)"; +Debug.ShouldStop(524288); +b4xmainpage.__c.runVoidMethod ("LogImpl","01376283",RemoteObject.concat(RemoteObject.createImmutable("IMEI = "),__ref.getField(true,"_imei" /*RemoteObject*/ )),0); + BA.debugLineNum = 469;BA.debugLine="If user.Text = \"ALTERNO\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("ALTERNO"))) { + BA.debugLineNum = 470;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")})))); + BA.debugLineNum = 471;BA.debugLine="c.Position =0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 472;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")"; +Debug.ShouldStop(8388608); +__ref.setField ("_server" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_CONFIGURACION")))); + BA.debugLineNum = 473;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")"; +Debug.ShouldStop(16777216); +__ref.setField ("_alterno" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_RESULTADO")))); + BA.debugLineNum = 474;BA.debugLine="c.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 475;BA.debugLine="If alterno = 1 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_alterno" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 476;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))))); + BA.debugLineNum = 477;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))))); + }else +{ BA.debugLineNum = 478;BA.debugLine="Else if alterno = 2 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_alterno" /*RemoteObject*/ ),BA.NumberToString(2))) { + BA.debugLineNum = 479;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))))); + BA.debugLineNum = 480;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))))); + }} +; + BA.debugLineNum = 482;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")})))); + BA.debugLineNum = 483;BA.debugLine="c.Position =0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 484;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")"; +Debug.ShouldStop(8); +__ref.setField ("_server" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_CONFIGURACION")))); + BA.debugLineNum = 485;BA.debugLine="user.Text = server"; +Debug.ShouldStop(16); +__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 486;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 488;BA.debugLine="else if user.Text = \"KMTS1\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 489;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 490;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; +Debug.ShouldStop(512); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 491;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +Debug.ShouldStop(1024); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 492;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; +Debug.ShouldStop(2048); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 493;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 494;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; +Debug.ShouldStop(8192); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("2.1"))}))))); + BA.debugLineNum = 495;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(16384); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else +{ BA.debugLineNum = 496;BA.debugLine="else if user.Text = \"BERNA1\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("BERNA1"))) { + BA.debugLineNum = 497;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 498;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; +Debug.ShouldStop(131072); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 499;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 500;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; +Debug.ShouldStop(524288); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 501;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 502;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("2.1"))}))))); + BA.debugLineNum = 503;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(4194304); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else +{ BA.debugLineNum = 504;BA.debugLine="else if user.Text = \"IMEI\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("IMEI"))) { + BA.debugLineNum = 505;BA.debugLine="user.Text = IMEI"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_imei" /*RemoteObject*/ ))); + }}}} +; + BA.debugLineNum = 507;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as EXISTE1 from usuarioa where usuario = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")})))); + BA.debugLineNum = 508;BA.debugLine="c.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 509;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE1")))); + BA.debugLineNum = 510;BA.debugLine="If Subs.traeAlmacen <> \"NA\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",b4xmainpage._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("NA"))) { + BA.debugLineNum = 511;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 512;BA.debugLine="cmd.Name = \"selectVersionAppGuna\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectVersionAppGuna")); + BA.debugLineNum = 513;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmace"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(b4xmainpage._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))})); + BA.debugLineNum = 514;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeVersion\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traeVersion")))); + }; + BA.debugLineNum = 516;BA.debugLine="If existe = 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 517;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(16); +b4xmainpage._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 518;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 519;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\" 'Antes s"; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_guna_GV2_10")); + BA.debugLineNum = 520;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim,"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))})); + BA.debugLineNum = 521;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario_10")))); + BA.debugLineNum = 544;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(-2147483648); +b4xmainpage._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 545;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 546;BA.debugLine="cmd.Name = \"select_version_GV2\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_version_GV2")); + BA.debugLineNum = 547;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("version")))); + }else { + BA.debugLineNum = 549;BA.debugLine="usuario = user.Text"; +Debug.ShouldStop(16); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 550;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(32); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }; + BA.debugLineNum = 552;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _entrar_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Entrar_LongClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,554); +if (RapidSub.canDelegate("entrar_longclick")) { return __ref.runUserSub(false, "b4xmainpage","entrar_longclick", __ref);} + BA.debugLineNum = 554;BA.debugLine="Sub Entrar_LongClick"; +Debug.ShouldStop(512); + BA.debugLineNum = 556;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,793); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "b4xmainpage","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 793;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 794;BA.debugLine="If user.text = \"GPS\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("GPS"))) { + BA.debugLineNum = 795;BA.debugLine="user.Text=Location1.Latitude"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_location1.runMethod(true,"getLatitude"))); + BA.debugLineNum = 796;BA.debugLine="pass.text=Location1.Longitude"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_location1.runMethod(true,"getLongitude"))); + }; + BA.debugLineNum = 798;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _i_engrane_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("i_engrane_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,886); +if (RapidSub.canDelegate("i_engrane_click")) { return __ref.runUserSub(false, "b4xmainpage","i_engrane_click", __ref);} + BA.debugLineNum = 886;BA.debugLine="Sub i_engrane_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 887;BA.debugLine="p_appUpdate.Left = (Root.Width/2) - (p_appUpdate."; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 888;BA.debugLine="lv_server.Clear"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 889;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1782\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("http://keymon.net:1782")))); + BA.debugLineNum = 890;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { +__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("http://10.0.0.205:1782"))));}; + BA.debugLineNum = 891;BA.debugLine="l_server.Text = Starter.server"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_server" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(b4xmainpage._starter._server /*RemoteObject*/ )); + BA.debugLineNum = 892;BA.debugLine="et_server.Text = Starter.server"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(b4xmainpage._starter._server /*RemoteObject*/ )); + BA.debugLineNum = 893;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)"; +Debug.ShouldStop(268435456); +b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_appupdate" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 894;BA.debugLine="p_appUpdate.Height = Root.Height"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 895;BA.debugLine="p_appUpdate.Width = Root.Width"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 896;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADA FROM IMPRESORA")))); + BA.debugLineNum = 897;BA.debugLine="If c.RowCount = 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 898;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO IMPRESORA VALUES"; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO IMPRESORA VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + }; + BA.debugLineNum = 900;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS")))); + BA.debugLineNum = 901;BA.debugLine="If c.RowCount = 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 902;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\","; +Debug.ShouldStop(32); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO GPS VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + }; + BA.debugLineNum = 904;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"),BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 905;BA.debugLine="p_importarBDWA.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_importarbdwa" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"True")); + }else { + BA.debugLineNum = 907;BA.debugLine="p_importarBDWA.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_importarbdwa" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + }; + BA.debugLineNum = 909;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xmainpage","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 102;BA.debugLine="Public Sub Initialize"; +Debug.ShouldStop(32); + BA.debugLineNum = 104;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,562); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "b4xmainpage","jobdone", __ref, _job);} +RemoteObject _result = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _records = null; +RemoteObject _cat_ve_version = RemoteObject.createImmutable(""); +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _id_almacen = RemoteObject.createImmutable(""); +RemoteObject _result1 = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _cuantosencuesta = RemoteObject.createImmutable(""); +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +RemoteObject _fecha_hoy = RemoteObject.createImmutable(""); +RemoteObject _name = RemoteObject.createImmutable(""); +RemoteObject _imei_base = RemoteObject.createImmutable(""); +RemoteObject _version = RemoteObject.createImmutable(""); +RemoteObject _versionador = RemoteObject.createImmutable(""); +RemoteObject _actualizaraplicacion = RemoteObject.createImmutable(""); +RemoteObject _cuenta = RemoteObject.createImmutable(""); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rutades = RemoteObject.createImmutable(""); +RemoteObject _almacendes = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_id = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_idtipopregunta = RemoteObject.createImmutable(""); +RemoteObject _cat_ce_descripcion = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_pregunta = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_res1_pred = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_res2_pred = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_res3_pred = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_orden_pregunta = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 562;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 563;BA.debugLine="Log(\"JOBDONE MAINPAGE\")"; +Debug.ShouldStop(262144); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572865",RemoteObject.createImmutable("JOBDONE MAINPAGE"),0); + BA.debugLineNum = 564;BA.debugLine="Log(Job.Success)"; +Debug.ShouldStop(524288); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572866",BA.ObjectToString(_job.getField(true,"_success" /*RemoteObject*/ )),0); + BA.debugLineNum = 565;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),b4xmainpage.__c.getField(true,"False"))) { + BA.debugLineNum = 566;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars"; +Debug.ShouldStop(2097152); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572868",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),b4xmainpage._subs.runMethod(true,"_parsehttperror" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_job.getField(true,"_errormessage" /*RemoteObject*/ )))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red")); + }else { + BA.debugLineNum = 569;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(16777216); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572871",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),b4xmainpage.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 570;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 571;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(67108864); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 572;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { + BA.debugLineNum = 573;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(268435456); +{ +final RemoteObject group10 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen10 = group10.runMethod(true,"getSize").get() +;int index10 = 0; +; +for (; index10 < groupLen10;index10++){ +_records = (group10.runMethod(false,"Get",index10));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 574;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 575;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; +Debug.ShouldStop(1073741824); +_cat_ve_version = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_VERSION")))))));Debug.locals.put("CAT_VE_VERSION", _cat_ve_version);Debug.locals.put("CAT_VE_VERSION", _cat_ve_version); + BA.debugLineNum = 576;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_ve_version)}))))); + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 580;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("select_fechat")))) { + BA.debugLineNum = 581;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(16); +{ +final RemoteObject group17 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen17 = group17.runMethod(true,"getSize").get() +;int index17 = 0; +; +for (; index17 < groupLen17;index17++){ +_records = (group17.runMethod(false,"Get",index17));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 582;BA.debugLine="For Each k As String In result.Columns.Keys"; +Debug.ShouldStop(32); +{ +final RemoteObject group18 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen18 = group18.runMethod(true,"getSize").get() +;int index18 = 0; +; +for (; index18 < groupLen18;index18++){ +_k = BA.ObjectToString(group18.runMethod(false,"Get",index18));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 583;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r"; +Debug.ShouldStop(64); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572885",RemoteObject.concat(RemoteObject.createImmutable("select_fechat: "),_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 589;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 590;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(8192); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 591;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("agencia")))) { + BA.debugLineNum = 592;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group27 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen27 = group27.runMethod(true,"getSize").get() +;int index27 = 0; +; +for (; index27 < groupLen27;index27++){ +_records = (group27.runMethod(false,"Get",index27));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 593;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +Debug.ShouldStop(65536); +_id_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ID_ALMACEN")))))));Debug.locals.put("ID_ALMACEN", _id_almacen);Debug.locals.put("ID_ALMACEN", _id_almacen); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 598;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 599;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req"; +Debug.ShouldStop(4194304); +_result1 = b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result1", _result1);Debug.locals.put("result1", _result1); + BA.debugLineNum = 600;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CHECAENCUESTA")))) { + BA.debugLineNum = 601;BA.debugLine="For Each records() As Object In result1.Rows"; +Debug.ShouldStop(16777216); +{ +final RemoteObject group35 = _result1.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen35 = group35.runMethod(true,"getSize").get() +;int index35 = 0; +; +for (; index35 < groupLen35;index35++){ +_records = (group35.runMethod(false,"Get",index35));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 602;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul"; +Debug.ShouldStop(33554432); +_cuantosencuesta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOS")))))));Debug.locals.put("CUANTOSENCUESTA", _cuantosencuesta);Debug.locals.put("CUANTOSENCUESTA", _cuantosencuesta); + BA.debugLineNum = 603;BA.debugLine="Log(CUANTOSENCUESTA)"; +Debug.ShouldStop(67108864); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572905",_cuantosencuesta,0); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 605;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(268435456); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 606;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(536870912); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 607;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1073741824); +_sdate = b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 608;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(-2147483648); +_stime = b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 609;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_cuantosencuesta,BA.ObjectToString("0"))) { + BA.debugLineNum = 610;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 611;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_GV2_4")); + BA.debugLineNum = 612;BA.debugLine="cmd.Parameters = Array As Object(usuario,Subs"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(b4xmainpage._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(_sdate),RemoteObject.createImmutable(("")),(_stime),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("ENCUESTA")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(b4xmainpage.__c.getField(false,"Application").runMethod(true,"getVersionName")),(b4xmainpage._starter._encuesta /*RemoteObject*/ )})); + BA.debugLineNum = 613;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +Debug.ShouldStop(16); +b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop")))); + }; + }; + }; + BA.debugLineNum = 618;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 619;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(1024); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 620;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("fecha")))) { + BA.debugLineNum = 621;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(4096); +{ +final RemoteObject group54 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen54 = group54.runMethod(true,"getSize").get() +;int index54 = 0; +; +for (; index54 < groupLen54;index54++){ +_records = (group54.runMethod(false,"Get",index54));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 622;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu"; +Debug.ShouldStop(8192); +_fecha_hoy = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("FECHA")))))));Debug.locals.put("FECHA_HOY", _fecha_hoy);Debug.locals.put("FECHA_HOY", _fecha_hoy); + BA.debugLineNum = 623;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +Debug.ShouldStop(16384); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FECHA"))}))))); + BA.debugLineNum = 624;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES"; +Debug.ShouldStop(32768); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("FECHA")),(_fecha_hoy)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 629;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 630;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2097152); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 631;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { + BA.debugLineNum = 632;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(8388608); +{ +final RemoteObject group64 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen64 = group64.runMethod(true,"getSize").get() +;int index64 = 0; +; +for (; index64 < groupLen64;index64++){ +_records = (group64.runMethod(false,"Get",index64));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 633;BA.debugLine="Dim name As String = records(result.Columns.G"; +Debug.ShouldStop(16777216); +_name = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("USUARIO")))))));Debug.locals.put("name", _name);Debug.locals.put("name", _name); + BA.debugLineNum = 634;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +Debug.ShouldStop(33554432); +_id_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_AGENCIA")))))));Debug.locals.put("ID_ALMACEN", _id_almacen);Debug.locals.put("ID_ALMACEN", _id_almacen); + BA.debugLineNum = 635;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; +Debug.ShouldStop(67108864); +_imei_base = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))))));Debug.locals.put("IMEI_BASE", _imei_base);Debug.locals.put("IMEI_BASE", _imei_base); + BA.debugLineNum = 636;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE"; +Debug.ShouldStop(134217728); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572938",BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO"))))))),0); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 638;BA.debugLine="paso1 = 1"; +Debug.ShouldStop(536870912); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 639;BA.debugLine="ToastMessageShow(name, False)"; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_name)),(Object)(b4xmainpage.__c.getField(true,"False"))); + }; + }; + BA.debugLineNum = 643;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 644;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(8); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 645;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario_10")))) { + BA.debugLineNum = 646;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(32); +{ +final RemoteObject group77 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen77 = group77.runMethod(true,"getSize").get() +;int index77 = 0; +; +for (; index77 < groupLen77;index77++){ +_records = (group77.runMethod(false,"Get",index77));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 647;BA.debugLine="Dim name As String = records(result.Columns.G"; +Debug.ShouldStop(64); +_name = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("USUARIO")))))));Debug.locals.put("name", _name);Debug.locals.put("name", _name); + BA.debugLineNum = 648;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +Debug.ShouldStop(128); +_id_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_AGENCIA")))))));Debug.locals.put("ID_ALMACEN", _id_almacen);Debug.locals.put("ID_ALMACEN", _id_almacen); + BA.debugLineNum = 649;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; +Debug.ShouldStop(256); +_imei_base = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))))));Debug.locals.put("IMEI_BASE", _imei_base);Debug.locals.put("IMEI_BASE", _imei_base); + BA.debugLineNum = 650;BA.debugLine="Private version As String = records(result.C"; +Debug.ShouldStop(512); +_version = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_VERSION")))))));Debug.locals.put("version", _version);Debug.locals.put("version", _version); + BA.debugLineNum = 651;BA.debugLine="Private versionador As String = records(resu"; +Debug.ShouldStop(1024); +_versionador = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_VERSIONADOR")))))));Debug.locals.put("versionador", _versionador);Debug.locals.put("versionador", _versionador); + BA.debugLineNum = 652;BA.debugLine="Private actualizarAplicacion As String = rec"; +Debug.ShouldStop(2048); +_actualizaraplicacion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_ACTUALIZACION")))))));Debug.locals.put("actualizarAplicacion", _actualizaraplicacion);Debug.locals.put("actualizarAplicacion", _actualizaraplicacion); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 654;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +Debug.ShouldStop(8192); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("VERSION_NUEVA"))}))))); + BA.debugLineNum = 655;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; +Debug.ShouldStop(16384); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("VERSION_NUEVA")),(_version)}))))); + BA.debugLineNum = 656;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +Debug.ShouldStop(32768); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FORZAR_ACTUALIZACION"))}))))); + BA.debugLineNum = 657;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("FORZAR_ACTUALIZACION")),(_actualizaraplicacion)}))))); + BA.debugLineNum = 660;BA.debugLine="Log(\"|\"&name&\"|\")"; +Debug.ShouldStop(524288); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572962",RemoteObject.concat(RemoteObject.createImmutable("|"),_name,RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 661;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; +Debug.ShouldStop(1048576); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572963",(RemoteObject.concat(RemoteObject.createImmutable(">>>> GUARDAMOS NUEVA VERSION: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_version))),RemoteObject.createImmutable(", "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_actualizaraplicacion))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 662;BA.debugLine="paso1 = 1"; +Debug.ShouldStop(2097152); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 663;BA.debugLine="IMEI_BASE = \"\""; +Debug.ShouldStop(4194304); +_imei_base = BA.ObjectToString("");Debug.locals.put("IMEI_BASE", _imei_base); + BA.debugLineNum = 664;BA.debugLine="IMEI = \"\""; +Debug.ShouldStop(8388608); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 667;BA.debugLine="If result.Tag = \"traeVersion\" Then 'query tag"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("traeVersion")))) { + BA.debugLineNum = 668;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(134217728); +{ +final RemoteObject group96 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen96 = group96.runMethod(true,"getSize").get() +;int index96 = 0; +; +for (; index96 < groupLen96;index96++){ +_records = (group96.runMethod(false,"Get",index96));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 669;BA.debugLine="Private version As String = records(result.C"; +Debug.ShouldStop(268435456); +_version = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_VERSION")))))));Debug.locals.put("version", _version);Debug.locals.put("version", _version); + BA.debugLineNum = 670;BA.debugLine="Private actualizarAplicacion As String = rec"; +Debug.ShouldStop(536870912); +_actualizaraplicacion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_ACTUALIZACION")))))));Debug.locals.put("actualizarAplicacion", _actualizaraplicacion);Debug.locals.put("actualizarAplicacion", _actualizaraplicacion); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 672;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("VERSION_NUEVA"))}))))); + BA.debugLineNum = 673;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("VERSION_NUEVA")),(_version)}))))); + BA.debugLineNum = 674;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FORZAR_ACTUALIZACION"))}))))); + BA.debugLineNum = 675;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("FORZAR_ACTUALIZACION")),(_actualizaraplicacion)}))))); + BA.debugLineNum = 676;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; +Debug.ShouldStop(8); +b4xmainpage.__c.runVoidMethod ("LogImpl","01572978",(RemoteObject.concat(RemoteObject.createImmutable(">>>> GUARDAMOS NUEVA VERSION: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_version))),RemoteObject.createImmutable(", "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_actualizaraplicacion))),RemoteObject.createImmutable(""))),0); + }; + }; + BA.debugLineNum = 680;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 681;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(256); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 682;BA.debugLine="If result.Tag = \"geopass\" Then 'query tag"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("geopass")))) { + BA.debugLineNum = 683;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1024); +{ +final RemoteObject group110 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen110 = group110.runMethod(true,"getSize").get() +;int index110 = 0; +; +for (; index110 < groupLen110;index110++){ +_records = (group110.runMethod(false,"Get",index110));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 684;BA.debugLine="Dim cuenta As String = records(result.Columns"; +Debug.ShouldStop(2048); +_cuenta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUENTA")))))));Debug.locals.put("cuenta", _cuenta);Debug.locals.put("cuenta", _cuenta); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 686;BA.debugLine="If cuenta = \"1\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_cuenta,BA.ObjectToString("1"))) { + BA.debugLineNum = 687;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 688;BA.debugLine="B4XSwitch2.Value = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True")); + BA.debugLineNum = 689;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))))); + BA.debugLineNum = 690;BA.debugLine="et_codigo.Text = \"\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 691;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select"; +Debug.ShouldStop(262144); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 692;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(524288); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 693;BA.debugLine="Private rutades As String = c2.GetString(\"CAT"; +Debug.ShouldStop(1048576); +_rutades = _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutades", _rutades);Debug.locals.put("rutades", _rutades); + BA.debugLineNum = 694;BA.debugLine="c2.Close"; +Debug.ShouldStop(2097152); +_c2.runVoidMethod ("Close"); + BA.debugLineNum = 695;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(4194304); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ID_ALMACEN FROM CAT_ALMACEN"))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 696;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(8388608); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 697;BA.debugLine="Private almacendes As String = c2.GetString(\""; +Debug.ShouldStop(16777216); +_almacendes = _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")));Debug.locals.put("almacendes", _almacendes);Debug.locals.put("almacendes", _almacendes); + BA.debugLineNum = 698;BA.debugLine="c2.Close"; +Debug.ShouldStop(33554432); +_c2.runVoidMethod ("Close"); + BA.debugLineNum = 699;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(67108864); +b4xmainpage._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 700;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 701;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("delete_geoPass_GUNA")); + BA.debugLineNum = 703;BA.debugLine="cmd.Parameters = Array As Object( almacendes,"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_almacendes),(_rutades)})); + BA.debugLineNum = 704;BA.debugLine="reqManager.ExecuteCommand(cmd , \"traeGeoPass\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("traeGeoPass")))); + }else +{ BA.debugLineNum = 705;BA.debugLine="Else If cuenta = \"0\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_cuenta,BA.ObjectToString("0"))) { + BA.debugLineNum = 706;BA.debugLine="MsgboxAsync(\"Codigo incorrecto\",\"Atención\")"; +Debug.ShouldStop(2); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Codigo incorrecto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 707;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 708;BA.debugLine="B4XSwitch2.Value = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 709;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; +Debug.ShouldStop(16); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + BA.debugLineNum = 710;BA.debugLine="et_codigo.Text = \"\""; +Debug.ShouldStop(32); +__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }} +; + }; + }; + BA.debugLineNum = 715;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 716;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2048); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 717;BA.debugLine="If result.Tag = \"carga_encuesta\" Then 'query ta"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("carga_encuesta")))) { + BA.debugLineNum = 718;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(8192); +{ +final RemoteObject group143 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen143 = group143.runMethod(true,"getSize").get() +;int index143 = 0; +; +for (; index143 < groupLen143;index143++){ +_records = (group143.runMethod(false,"Get",index143));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 719;BA.debugLine="Dim CAT_EP_ID As String = records(result.COLU"; +Debug.ShouldStop(16384); +_cat_ep_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_ID")))))));Debug.locals.put("CAT_EP_ID", _cat_ep_id);Debug.locals.put("CAT_EP_ID", _cat_ep_id); + BA.debugLineNum = 720;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records"; +Debug.ShouldStop(32768); +_cat_ep_idtipopregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA")))))));Debug.locals.put("CAT_EP_IDTIPOPREGUNTA", _cat_ep_idtipopregunta);Debug.locals.put("CAT_EP_IDTIPOPREGUNTA", _cat_ep_idtipopregunta); + BA.debugLineNum = 721;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(re"; +Debug.ShouldStop(65536); +_cat_ce_descripcion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CE_DESCRIPCION")))))));Debug.locals.put("CAT_CE_DESCRIPCION", _cat_ce_descripcion);Debug.locals.put("CAT_CE_DESCRIPCION", _cat_ce_descripcion); + BA.debugLineNum = 722;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(resul"; +Debug.ShouldStop(131072); +_cat_ep_pregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_PREGUNTA")))))));Debug.locals.put("CAT_EP_PREGUNTA", _cat_ep_pregunta);Debug.locals.put("CAT_EP_PREGUNTA", _cat_ep_pregunta); + BA.debugLineNum = 723;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(resu"; +Debug.ShouldStop(262144); +_cat_ep_res1_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES1_PRED")))))));Debug.locals.put("CAT_EP_RES1_PRED", _cat_ep_res1_pred);Debug.locals.put("CAT_EP_RES1_PRED", _cat_ep_res1_pred); + BA.debugLineNum = 724;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(resu"; +Debug.ShouldStop(524288); +_cat_ep_res2_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES2_PRED")))))));Debug.locals.put("CAT_EP_RES2_PRED", _cat_ep_res2_pred);Debug.locals.put("CAT_EP_RES2_PRED", _cat_ep_res2_pred); + BA.debugLineNum = 725;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(resu"; +Debug.ShouldStop(1048576); +_cat_ep_res3_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES3_PRED")))))));Debug.locals.put("CAT_EP_RES3_PRED", _cat_ep_res3_pred);Debug.locals.put("CAT_EP_RES3_PRED", _cat_ep_res3_pred); + BA.debugLineNum = 726;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records"; +Debug.ShouldStop(2097152); +_cat_ep_orden_pregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_ORDEN_PREGUNTA")))))));Debug.locals.put("CAT_EP_ORDEN_PREGUNTA", _cat_ep_orden_pregunta);Debug.locals.put("CAT_EP_ORDEN_PREGUNTA", _cat_ep_orden_pregunta); + BA.debugLineNum = 727;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ENCUESTA_"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ENCUESTA_PREGUNTA (CAT_EP_ID ,CAT_EP_IDTIPOPREGUNTA ,CAT_CE_DESCRIPCION ,CAT_EP_PREGUNTA ,CAT_EP_RES1_PRED ,CAT_EP_RES2_PRED ,CAT_EP_RES3_PRED ,CAT_EP_ORDEN_PREGUNTA ) VALUES (?,?,?,?,?,?,?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(_cat_ep_id),(_cat_ep_idtipopregunta),(_cat_ce_descripcion),(_cat_ep_pregunta),(_cat_ep_res1_pred),(_cat_ep_res2_pred),(_cat_ep_res3_pred),(_cat_ep_orden_pregunta)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 731;BA.debugLine="Job.Release"; +Debug.ShouldStop(67108864); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 734;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${"; +Debug.ShouldStop(536870912); +b4xmainpage.__c.runVoidMethod ("LogImpl","01573036",(RemoteObject.concat(RemoteObject.createImmutable("Paso1 = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_paso1" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - Name: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_name))),RemoteObject.createImmutable(" - IMEI: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_imei" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - IMEI_BASE: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_imei_base))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 735;BA.debugLine="If paso1 = 1 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso1" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 736;BA.debugLine="If IMEI = \"\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 737;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\""; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { +_name = BA.ObjectToString("OKActivo");Debug.locals.put("name", _name);}; + BA.debugLineNum = 738;BA.debugLine="If name = \"OKActivo\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKActivo"))) { + BA.debugLineNum = 739;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 740;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE"; +Debug.ShouldStop(8); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 741;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 742;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID"; +Debug.ShouldStop(32); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_id_almacen)}))))); + BA.debugLineNum = 743;BA.debugLine="usuario = user.Text"; +Debug.ShouldStop(64); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 744;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(128); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else +{ BA.debugLineNum = 745;BA.debugLine="Else If name = \"OKExpirado\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKExpirado"))) { + BA.debugLineNum = 746;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad"; +Debug.ShouldStop(512); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 747;BA.debugLine="Else If name = \"OKCancelado\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKCancelado"))) { + BA.debugLineNum = 748;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra"; +Debug.ShouldStop(2048); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 750;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig"; +Debug.ShouldStop(8192); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }}} +; + BA.debugLineNum = 752;BA.debugLine="paso1 = 0"; +Debug.ShouldStop(32768); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(0)); + }else { + BA.debugLineNum = 754;BA.debugLine="If name = \"OKActivo\" & IMEI And IMEI = IMEI_BA"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKActivo"),__ref.getField(true,"_imei" /*RemoteObject*/ ))) && RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),_imei_base)) { + BA.debugLineNum = 755;BA.debugLine="If name = \"OKActivo\" & IMEI Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKActivo"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { + BA.debugLineNum = 756;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 757;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 758;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 759;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_id_almacen)}))))); + BA.debugLineNum = 760;BA.debugLine="usuario = user.Text"; +Debug.ShouldStop(8388608); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 761;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(16777216); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else +{ BA.debugLineNum = 762;BA.debugLine="Else If name = \"OKExpirado\"& IMEI Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKExpirado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { + BA.debugLineNum = 763;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; +Debug.ShouldStop(67108864); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 764;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKCancelado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { + BA.debugLineNum = 765;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; +Debug.ShouldStop(268435456); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 767;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }}} +; + BA.debugLineNum = 769;BA.debugLine="paso1 = 0"; +Debug.ShouldStop(1); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 770;BA.debugLine="Else IF name = \"OKActivo\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKActivo"))) { + BA.debugLineNum = 771;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore"; +Debug.ShouldStop(4); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Telefono no VALIDO!")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 773;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig"; +Debug.ShouldStop(16); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }} +; + }; + }; + BA.debugLineNum = 777;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_server_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_server_ItemClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,924); +if (RapidSub.canDelegate("lv_server_itemclick")) { return __ref.runUserSub(false, "b4xmainpage","lv_server_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 924;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 925;BA.debugLine="Starter.server = Value"; +Debug.ShouldStop(268435456); +b4xmainpage._starter._server /*RemoteObject*/ = BA.ObjectToString(_value); + BA.debugLineNum = 926;BA.debugLine="l_server.Text = Value"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_server" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_value)); + BA.debugLineNum = 927;BA.debugLine="et_server.Text = Value"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_value)); + BA.debugLineNum = 928;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("DBReqServer"))}))))); + BA.debugLineNum = 929;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("DBReqServer")),_value}))))); + BA.debugLineNum = 930;BA.debugLine="Starter.reqManager.Initialize(Me, Value)"; +Debug.ShouldStop(2); +b4xmainpage._starter._reqmanager /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString(_value))); + BA.debugLineNum = 931;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; +Debug.ShouldStop(4); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Servidor modificado")),(Object)(b4xmainpage.__c.getField(true,"False"))); + BA.debugLineNum = 932;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _muestraprogreso(RemoteObject __ref,RemoteObject _mensaje) throws Exception{ +try { + Debug.PushSubsStack("muestraProgreso (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,877); +if (RapidSub.canDelegate("muestraprogreso")) { return __ref.runUserSub(false, "b4xmainpage","muestraprogreso", __ref, _mensaje);} +Debug.locals.put("mensaje", _mensaje); + BA.debugLineNum = 877;BA.debugLine="Sub muestraProgreso(mensaje As String)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 878;BA.debugLine="ProgressDialogShow(mensaje)"; +Debug.ShouldStop(8192); +b4xmainpage.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(_mensaje))); + BA.debugLineNum = 879;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ocultaprogreso(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ocultaProgreso (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,882); +if (RapidSub.canDelegate("ocultaprogreso")) { return __ref.runUserSub(false, "b4xmainpage","ocultaprogreso", __ref);} + BA.debugLineNum = 882;BA.debugLine="Sub ocultaProgreso"; +Debug.ShouldStop(131072); + BA.debugLineNum = 883;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(262144); +b4xmainpage.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 884;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_validacion_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_validacion_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,987); +if (RapidSub.canDelegate("p_validacion_click")) { return __ref.runUserSub(false, "b4xmainpage","p_validacion_click", __ref);} + BA.debugLineNum = 987;BA.debugLine="Private Sub p_validacion_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 988;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pdf_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("PDF_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,813); +if (RapidSub.canDelegate("pdf_click")) { return __ref.runUserSub(false, "b4xmainpage","pdf_click", __ref);} + BA.debugLineNum = 813;BA.debugLine="Sub PDF_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 815;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _popupmenu_dismiss(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("PopupMenu_Dismiss (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,800); +if (RapidSub.canDelegate("popupmenu_dismiss")) { return __ref.runUserSub(false, "b4xmainpage","popupmenu_dismiss", __ref);} + BA.debugLineNum = 800;BA.debugLine="Sub PopupMenu_Dismiss"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 801;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)"; +Debug.ShouldStop(1); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("PopupMenu dismissed")),(Object)(b4xmainpage.__c.getField(true,"False"))); + BA.debugLineNum = 802;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _popupmenu_menuitemclick(RemoteObject __ref,RemoteObject _itemid) throws Exception{ +try { + Debug.PushSubsStack("PopupMenu_MenuItemClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,804); +if (RapidSub.canDelegate("popupmenu_menuitemclick")) { return __ref.runUserSub(false, "b4xmainpage","popupmenu_menuitemclick", __ref, _itemid);} +Debug.locals.put("ItemId", _itemid); + BA.debugLineNum = 804;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo"; +Debug.ShouldStop(8); + BA.debugLineNum = 805;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\","; +Debug.ShouldStop(16); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Item "),_itemid,RemoteObject.createImmutable(" clicked.")))),(Object)(b4xmainpage.__c.getField(true,"False"))); + BA.debugLineNum = 806;BA.debugLine="Return False"; +Debug.ShouldStop(32); +if (true) return b4xmainpage.__c.getField(true,"False"); + BA.debugLineNum = 807;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _revisaactualizacion(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("revisaActualizacion (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1046); +if (RapidSub.canDelegate("revisaactualizacion")) { __ref.runUserSub(false, "b4xmainpage","revisaactualizacion", __ref); return;} +ResumableSub_revisaActualizacion rsub = new ResumableSub_revisaActualizacion(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_revisaActualizacion extends BA.ResumableSub { +public ResumableSub_revisaActualizacion(gunav2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xmainpage parent; +RemoteObject _link = RemoteObject.createImmutable(""); +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _app = null; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("revisaActualizacion (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1046); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 1052;BA.debugLine="LogColor(\"Buscarmos archivo Ver\", Colors.red)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","02949126",BA.ObjectToString("Buscarmos archivo Ver"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1053;BA.debugLine="Private link As String = \"https://keymon.net/movi"; +Debug.ShouldStop(268435456); +_link = BA.ObjectToString("https://keymon.net/movil/guna/gunaPreventa.ver");Debug.locals.put("link", _link);Debug.locals.put("link", _link); + BA.debugLineNum = 1054;BA.debugLine="Wait For (traeArchivoVer(Me, link)) JobDone (j As"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "revisaactualizacion"), (__ref.runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_traearchivover" /*RemoteObject*/ ,(Object)(__ref),(Object)(_link)))); +this.state = 28; +return; +case 28: +//C +this.state = 1; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 1055;BA.debugLine="If j.Success Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 1: +//if +this.state = 27; +if (_j.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 3; +}else { +this.state = 22; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 1056;BA.debugLine="LogColor(\"Archivo .VER encontrado.\", Colors.red)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("LogImpl","02949130",BA.ObjectToString("Archivo .VER encontrado."),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1057;BA.debugLine="Try"; +Debug.ShouldStop(1); +if (true) break; + +case 4: +//try +this.state = 20; +this.catchState = 15; +this.state = 6; +if (true) break; + +case 6: +//C +this.state = 7; +this.catchState = 15; + BA.debugLineNum = 1058;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; +Debug.ShouldStop(2); +_app = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 9))))),(Object)(_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )));Debug.locals.put("app", _app);Debug.locals.put("app", _app); + BA.debugLineNum = 1060;BA.debugLine="Starter.newApp.appLink = app(3) 'Liga a nuevo"; +Debug.ShouldStop(8); +parent._starter._newapp /*RemoteObject*/ .setField ("appLink" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 3))); + BA.debugLineNum = 1061;BA.debugLine="Starter.newApp.newMsg = app(1) 'Texto de que h"; +Debug.ShouldStop(16); +parent._starter._newapp /*RemoteObject*/ .setField ("newMsg" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 1))); + BA.debugLineNum = 1062;BA.debugLine="Starter.newApp.okMsg = app(2) 'Texto de app"; +Debug.ShouldStop(32); +parent._starter._newapp /*RemoteObject*/ .setField ("okMsg" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 2))); + BA.debugLineNum = 1063;BA.debugLine="Starter.newApp.version = app(0) 'Version actu"; +Debug.ShouldStop(64); +parent._starter._newapp /*RemoteObject*/ .setField ("version" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 0))); + BA.debugLineNum = 1064;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("LogImpl","02949138",(RemoteObject.concat(RemoteObject.createImmutable("Application.VersionName="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(false,"Application").runMethod(true,"getVersionName")))),RemoteObject.createImmutable(", newApp="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._newapp /*RemoteObject*/ ))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1066;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +Debug.ShouldStop(512); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 1067;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES w"; +Debug.ShouldStop(1024); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("REVISION_APK"))}))))); + BA.debugLineNum = 1068;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(C"; +Debug.ShouldStop(2048); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("REVISION_APK")),(parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))}))))); + BA.debugLineNum = 1070;BA.debugLine="If Starter.newApp.version = Application.Version"; +Debug.ShouldStop(8192); +if (true) break; + +case 7: +//if +this.state = 10; +if (RemoteObject.solveBoolean("=",parent._starter._newapp /*RemoteObject*/ .getField(true,"version" /*RemoteObject*/ ),parent.__c.getField(false,"Application").runMethod(true,"getVersionName"))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 1071;BA.debugLine="Starter.newApp.update = False"; +Debug.ShouldStop(16384); +parent._starter._newapp /*RemoteObject*/ .setField ("update" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + BA.debugLineNum = 1072;BA.debugLine="LogColor(\"No hay nuevo APK\", Colors.red)"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","02949146",BA.ObjectToString("No hay nuevo APK"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1073;BA.debugLine="B4XPages.MainPage.Entrar.Enabled = True"; +Debug.ShouldStop(65536); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_entrar" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"True")); + if (true) break; +; + BA.debugLineNum = 1075;BA.debugLine="If Starter.newApp.version <> Application.Versio"; +Debug.ShouldStop(262144); + +case 10: +//if +this.state = 13; +if (RemoteObject.solveBoolean("!",parent._starter._newapp /*RemoteObject*/ .getField(true,"version" /*RemoteObject*/ ),parent.__c.getField(false,"Application").runMethod(true,"getVersionName"))) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; + BA.debugLineNum = 1076;BA.debugLine="Starter.newApp.update = True"; +Debug.ShouldStop(524288); +parent._starter._newapp /*RemoteObject*/ .setField ("update" /*RemoteObject*/ ,parent.__c.getField(true,"True")); + BA.debugLineNum = 1077;BA.debugLine="LogColor(\"Hay nuevo APK\", Colors.red)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","02949151",BA.ObjectToString("Hay nuevo APK"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1078;BA.debugLine="b_actualizacion.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b_actualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 1079;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._appupdater.getObject())),(Object)(RemoteObject.createImmutable("download_newApk"))); + if (true) break; + +case 13: +//C +this.state = 20; +; + Debug.CheckDeviceExceptions(); +if (true) break; + +case 15: +//C +this.state = 16; +this.catchState = 0; + BA.debugLineNum = 1082;BA.debugLine="LogColor(\"appUpdater(), Job Failed, error \" &"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","02949156",RemoteObject.concat(RemoteObject.createImmutable("appUpdater(), Job Failed, error "),parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba")).runMethod(true,"getMessage")),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1083;BA.debugLine="If Msgbox2(\"Hubo un error: \" & LastException.Me"; +Debug.ShouldStop(67108864); +if (true) break; + +case 16: +//if +this.state = 19; +if (RemoteObject.solveBoolean("=",parent.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Hubo un error: "),parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba")).runMethod(true,"getMessage")))),(Object)(BA.ObjectToCharSequence("FALLO LA ACTUALIZACIÓN")),(Object)(BA.ObjectToString("OK")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(false,"Null"))),__ref.getField(false, "ba")),BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 18; +}if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 1084;BA.debugLine="ExitApplication"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("ExitApplication"); + if (true) break; + +case 19: +//C +this.state = 20; +; + if (true) break; +if (true) break; + +case 20: +//C +this.state = 27; +this.catchState = 0; +; + if (true) break; + +case 22: +//C +this.state = 23; + BA.debugLineNum = 1089;BA.debugLine="If Msgbox2(\"Es necesaria una conexión a internet"; +Debug.ShouldStop(1); +if (true) break; + +case 23: +//if +this.state = 26; +if (RemoteObject.solveBoolean("=",parent.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Es necesaria una conexión a internet, por favor revise su conexión y vuelva a intentar")),(Object)(BA.ObjectToCharSequence("ATENCIÓN")),(Object)(BA.ObjectToString("OK")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(false,"Null"))),__ref.getField(false, "ba")),BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 25; +}if (true) break; + +case 25: +//C +this.state = 26; + BA.debugLineNum = 1090;BA.debugLine="ExitApplication"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("ExitApplication"); + if (true) break; + +case 26: +//C +this.state = 27; +; + if (true) break; + +case 27: +//C +this.state = -1; +; + BA.debugLineNum = 1093;BA.debugLine="j.Release"; +Debug.ShouldStop(16); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 1094;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _traearchivover(RemoteObject __ref,RemoteObject _callback,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("traeArchivoVer (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1102); +if (RapidSub.canDelegate("traearchivover")) { return __ref.runUserSub(false, "b4xmainpage","traearchivover", __ref, _callback, _link);} +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +Debug.locals.put("Callback", _callback); +Debug.locals.put("link", _link); + BA.debugLineNum = 1102;BA.debugLine="Sub traeArchivoVer (Callback As Object, link As St"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1103;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(16384); +_j = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 1104;BA.debugLine="j.Initialize(\"\", Callback)"; +Debug.ShouldStop(32768); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(_callback)); + BA.debugLineNum = 1105;BA.debugLine="j.GetRequest.Timeout = 5000"; +Debug.ShouldStop(65536); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ ).runMethod(true,"setTimeout",BA.numberCast(int.class, 5000)); + BA.debugLineNum = 1106;BA.debugLine="j.Download(link)"; +Debug.ShouldStop(131072); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(_link)); + BA.debugLineNum = 1107;BA.debugLine="Return j"; +Debug.ShouldStop(262144); +if (true) return _j; + BA.debugLineNum = 1108;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _user_enterpressed(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("user_EnterPressed (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,558); +if (RapidSub.canDelegate("user_enterpressed")) { return __ref.runUserSub(false, "b4xmainpage","user_enterpressed", __ref);} + BA.debugLineNum = 558;BA.debugLine="Private Sub user_EnterPressed"; +Debug.ShouldStop(8192); + BA.debugLineNum = 559;BA.debugLine="If user.text = \"KMTS1\" Then Entrar.Enabled = True"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { +__ref.getField(false,"_entrar" /*RemoteObject*/ ).runMethod(true,"setEnabled",b4xmainpage.__c.getField(true,"True"));}; + BA.debugLineNum = 560;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _versionrevisadahoy(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("versionRevisadaHoy (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1111); +if (RapidSub.canDelegate("versionrevisadahoy")) { return __ref.runUserSub(false, "b4xmainpage","versionrevisadahoy", __ref);} +RemoteObject _revisada = RemoteObject.createImmutable(false); + BA.debugLineNum = 1111;BA.debugLine="Sub versionRevisadaHoy As Boolean"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1112;BA.debugLine="Private revisada As Boolean = False"; +Debug.ShouldStop(8388608); +_revisada = b4xmainpage.__c.getField(true,"False");Debug.locals.put("revisada", _revisada);Debug.locals.put("revisada", _revisada); + BA.debugLineNum = 1113;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("REVISION_APK")})))); + BA.debugLineNum = 1114;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1115;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1116;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +Debug.ShouldStop(134217728); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 1117;BA.debugLine="If DateTime.Date(DateTime.Now) = c.GetString(\"CA"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))))) { + BA.debugLineNum = 1118;BA.debugLine="revisada = True"; +Debug.ShouldStop(536870912); +_revisada = b4xmainpage.__c.getField(true,"True");Debug.locals.put("revisada", _revisada); + BA.debugLineNum = 1119;BA.debugLine="LogColor(\"La versión ya se revisó el día de hoy"; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.runVoidMethod ("LogImpl","03080200",BA.ObjectToString("La versión ya se revisó el día de hoy."),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 1125;BA.debugLine="Return False"; +Debug.ShouldStop(16); +if (true) return b4xmainpage.__c.getField(true,"False"); + BA.debugLineNum = 1127;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xorderedmap.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xorderedmap.java new file mode 100644 index 0000000..03feb43 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xorderedmap.java @@ -0,0 +1,32 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xorderedmap { + public static RemoteObject myClass; + public b4xorderedmap() { + } + public static PCBA staticBA = new PCBA(null, b4xorderedmap.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _map = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _list = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"list",_ref.getField(false, "_list"),"map",_ref.getField(false, "_map")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xorderedmap_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xorderedmap_subs_0.java new file mode 100644 index 0000000..71501f2 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xorderedmap_subs_0.java @@ -0,0 +1,307 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xorderedmap_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private map As Map"; +b4xorderedmap._map = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_map",b4xorderedmap._map); + //BA.debugLineNum = 3;BA.debugLine="Private list As List"; +b4xorderedmap._list = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_list",b4xorderedmap._list); + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,26); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4xorderedmap","clear", __ref);} + BA.debugLineNum = 26;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 27;BA.debugLine="list.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 28;BA.debugLine="map.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _containskey(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("ContainsKey (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,46); +if (RapidSub.canDelegate("containskey")) { return __ref.runUserSub(false, "b4xorderedmap","containskey", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 46;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 47;BA.debugLine="Return map.ContainsKey(Key)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(true,"ContainsKey",(Object)(_key)); + BA.debugLineNum = 48;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _get(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Get (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("get")) { return __ref.runUserSub(false, "b4xorderedmap","get", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 37;BA.debugLine="Public Sub Get (Key As Object) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="Return map.Get(Key)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_key)); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getdataforserializator(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetDataForSerializator (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,65); +if (RapidSub.canDelegate("getdataforserializator")) { return __ref.runUserSub(false, "b4xorderedmap","getdataforserializator", __ref);} + BA.debugLineNum = 65;BA.debugLine="Public Sub GetDataForSerializator As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 66;BA.debugLine="Return Array(map, list)"; +Debug.JustUpdateDeviceLine(); +if (true) return (RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_map" /*RemoteObject*/ ).getObject()),(__ref.getField(false,"_list" /*RemoteObject*/ ).getObject())})); + BA.debugLineNum = 67;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getdefault(RemoteObject __ref,RemoteObject _key,RemoteObject _defaultvalue) throws Exception{ +try { + Debug.PushSubsStack("GetDefault (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,42); +if (RapidSub.canDelegate("getdefault")) { return __ref.runUserSub(false, "b4xorderedmap","getdefault", __ref, _key, _defaultvalue);} +Debug.locals.put("Key", _key); +Debug.locals.put("DefaultValue", _defaultvalue); + BA.debugLineNum = 42;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 43;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(false,"GetDefault",(Object)(_key),(Object)(_defaultvalue)); + BA.debugLineNum = 44;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getkeys(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getKeys (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("getkeys")) { return __ref.runUserSub(false, "b4xorderedmap","getkeys", __ref);} + BA.debugLineNum = 32;BA.debugLine="Public Sub getKeys As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="Return list"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_list" /*RemoteObject*/ ); + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSize (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,50); +if (RapidSub.canDelegate("getsize")) { return __ref.runUserSub(false, "b4xorderedmap","getsize", __ref);} + BA.debugLineNum = 50;BA.debugLine="Public Sub getSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 51;BA.debugLine="Return map.Size"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(true,"getSize"); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalues(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValues (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,55); +if (RapidSub.canDelegate("getvalues")) { return __ref.runUserSub(false, "b4xorderedmap","getvalues", __ref);} +RemoteObject _res = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _key = RemoteObject.declareNull("Object"); + BA.debugLineNum = 55;BA.debugLine="Public Sub getValues As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 56;BA.debugLine="Dim res As List"; +Debug.JustUpdateDeviceLine(); +_res = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("res", _res); + BA.debugLineNum = 57;BA.debugLine="res.Initialize"; +Debug.JustUpdateDeviceLine(); +_res.runVoidMethod ("Initialize"); + BA.debugLineNum = 58;BA.debugLine="For Each key As Object In list"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group3 = __ref.getField(false,"_list" /*RemoteObject*/ ); +final int groupLen3 = group3.runMethod(true,"getSize").get() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_key = group3.runMethod(false,"Get",index3);Debug.locals.put("key", _key); +Debug.locals.put("key", _key); + BA.debugLineNum = 59;BA.debugLine="res.Add(map.Get(key))"; +Debug.JustUpdateDeviceLine(); +_res.runVoidMethod ("Add",(Object)(__ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_key)))); + } +}Debug.locals.put("key", _key); +; + BA.debugLineNum = 61;BA.debugLine="Return res"; +Debug.JustUpdateDeviceLine(); +if (true) return _res; + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,6); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xorderedmap","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 7;BA.debugLine="map.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 8;BA.debugLine="list.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 9;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _put(RemoteObject __ref,RemoteObject _key,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Put (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("put")) { return __ref.runUserSub(false, "b4xorderedmap","put", __ref, _key, _value);} +Debug.locals.put("Key", _key); +Debug.locals.put("Value", _value); + BA.debugLineNum = 12;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 13;BA.debugLine="If map.ContainsKey(Key) = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(true,"ContainsKey",(Object)(_key)),b4xorderedmap.__c.getField(true,"False"))) { + BA.debugLineNum = 14;BA.debugLine="list.Add(Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_key)); + }; + BA.debugLineNum = 16;BA.debugLine="map.Put(Key, Value)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(_key),(Object)(_value)); + BA.debugLineNum = 17;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _remove(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Remove (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,20); +if (RapidSub.canDelegate("remove")) { return __ref.runUserSub(false, "b4xorderedmap","remove", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 20;BA.debugLine="Public Sub Remove (Key As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 21;BA.debugLine="If map.ContainsKey(Key) = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(true,"ContainsKey",(Object)(_key)),b4xorderedmap.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 22;BA.debugLine="list.RemoveAt(list.IndexOf(Key))"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_list" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_key)))); + BA.debugLineNum = 23;BA.debugLine="map.Remove(Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)(_key)); + BA.debugLineNum = 24;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setdatafromserializator(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("SetDataFromSerializator (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("setdatafromserializator")) { return __ref.runUserSub(false, "b4xorderedmap","setdatafromserializator", __ref, _data);} +RemoteObject _o = null; +Debug.locals.put("Data", _data); + BA.debugLineNum = 70;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 71;BA.debugLine="Dim o() As Object = Data"; +Debug.JustUpdateDeviceLine(); +_o = (_data);Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 72;BA.debugLine="map = o(0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).setObject (_o.getArrayElement(false,BA.numberCast(int.class, 0))); + BA.debugLineNum = 73;BA.debugLine="list = o(1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).setObject (_o.getArrayElement(false,BA.numberCast(int.class, 1))); + BA.debugLineNum = 74;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpages.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpages.java new file mode 100644 index 0000000..c3f40c9 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpages.java @@ -0,0 +1,66 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class b4xpages implements IRemote{ + public static b4xpages mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public b4xpages() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, b4xpages.class); + static { + mostCurrent = new b4xpages(); + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpages"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("b4xpages"), "gunav2.keymon.com.mx.b4xpages"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("gunav2.keymon.com.mx.b4xpages"), new java.lang.ref.WeakReference (pcBA)); + } + + public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } + public PCBA create(Object[] args) throws ClassNotFoundException{ + throw new RuntimeException("CREATE is not supported."); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mpm = RemoteObject.declareNull("Object"); +public static RemoteObject _delegate = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesdelegator"); +public static RemoteObject _globalcontext = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"DateUtils",b4xpages.mostCurrent._dateutils,"Delegate",b4xpages._delegate,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"GlobalContext",b4xpages._globalcontext,"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"mPM",b4xpages._mpm,"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpages_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpages_subs_0.java new file mode 100644 index 0000000..bdf258a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpages_subs_0.java @@ -0,0 +1,318 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xpages_subs_0 { + + +public static RemoteObject _addmenuitem(RemoteObject _ba,RemoteObject _b4xpage,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("AddMenuItem (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,91); +if (RapidSub.canDelegate("addmenuitem")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","addmenuitem", _ba, _b4xpage, _title);} +; +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Title", _title); + BA.debugLineNum = 91;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 92;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_addmenuitem" /*RemoteObject*/ ,(Object)(_b4xpage),(Object)(_title)); + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addpage(RemoteObject _ba,RemoteObject _id,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("AddPage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,37); +if (RapidSub.canDelegate("addpage")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","addpage", _ba, _id, _b4xpage);} +; +Debug.locals.put("Id", _id); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 37;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_addpage" /*RemoteObject*/ ,(Object)(_id),(Object)(_b4xpage)); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addpageandcreate(RemoteObject _ba,RemoteObject _id,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("AddPageAndCreate (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,42); +if (RapidSub.canDelegate("addpageandcreate")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","addpageandcreate", _ba, _id, _b4xpage);} +; +Debug.locals.put("Id", _id); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 42;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 43;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_addpageandcreate" /*RemoteObject*/ ,(Object)(_id),(Object)(_b4xpage)); + BA.debugLineNum = 44;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _closepage(RemoteObject _ba,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("ClosePage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,62); +if (RapidSub.canDelegate("closepage")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","closepage", _ba, _b4xpage);} +; +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 62;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="GetManager.ClosePage (B4XPage)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_closepage" /*RemoteObject*/ ,(Object)(_b4xpage)); + BA.debugLineNum = 64;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getmanager(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("GetManager (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,14); +if (RapidSub.canDelegate("getmanager")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","getmanager", _ba);} +; + BA.debugLineNum = 14;BA.debugLine="Public Sub GetManager As B4XPagesManager"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 15;BA.debugLine="Return mPM"; +Debug.JustUpdateDeviceLine(); +if (true) return (b4xpages._mpm); + BA.debugLineNum = 16;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getnativeparent(RemoteObject _ba,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("GetNativeParent (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,79); +if (RapidSub.canDelegate("getnativeparent")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","getnativeparent", _ba, _b4xpage);} +; +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 79;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage)).getField(false,"Parent" /*RemoteObject*/ ).getField(false,"NativeType" /*RemoteObject*/ ); + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpage(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("GetPage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,27); +if (RapidSub.canDelegate("getpage")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","getpage", _ba, _id);} +; +Debug.locals.put("Id", _id); + BA.debugLineNum = 27;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 28;BA.debugLine="Return GetManager.GetPage(Id)"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_getpage" /*RemoteObject*/ ,(Object)(_id)); + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpageid(RemoteObject _ba,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("GetPageId (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,32); +if (RapidSub.canDelegate("getpageid")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","getpageid", _ba, _b4xpage);} +; +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 32;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage)).getField(true,"Id" /*RemoteObject*/ ); + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _internalsetpagesmanager(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("InternalSetPagesManager (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,19); +if (RapidSub.canDelegate("internalsetpagesmanager")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","internalsetpagesmanager", _ba, _pm);} +; +Debug.locals.put("PM", _pm); + BA.debugLineNum = 19;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 20;BA.debugLine="Delegate.Initialize"; +Debug.JustUpdateDeviceLine(); +b4xpages._delegate.runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_initialize" /*RemoteObject*/ ,BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba)); + BA.debugLineNum = 21;BA.debugLine="mPM = PM"; +Debug.JustUpdateDeviceLine(); +b4xpages._mpm = _pm; + BA.debugLineNum = 22;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isinitialized(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("IsInitialized (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,9); +if (RapidSub.canDelegate("isinitialized")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","isinitialized", _ba);} +; + BA.debugLineNum = 9;BA.debugLine="Public Sub IsInitialized As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="Return mPM Is B4XPagesManager"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("i",b4xpages._mpm, RemoteObject.createImmutable("gunav2.keymon.com.mx.b4xpagesmanager"))); + BA.debugLineNum = 11;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mainpage(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("MainPage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,73); +if (RapidSub.canDelegate("mainpage")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","mainpage", _ba);} +; + BA.debugLineNum = 73;BA.debugLine="Public Sub MainPage As B4XMainPage"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 74;BA.debugLine="Return GetManager.MainPage"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).getField(false,"_mainpage" /*RemoteObject*/ ); + BA.debugLineNum = 75;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private mPM As Object"; +b4xpages._mpm = RemoteObject.createNew ("Object"); + //BA.debugLineNum = 3;BA.debugLine="Public Delegate As B4XPagesDelegator"; +b4xpages._delegate = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xpagesdelegator"); + //BA.debugLineNum = 4;BA.debugLine="Public GlobalContext As Object"; +b4xpages._globalcontext = RemoteObject.createNew ("Object"); + //BA.debugLineNum = 5;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _settitle(RemoteObject _ba,RemoteObject _b4xpage,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("SetTitle (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,68); +if (RapidSub.canDelegate("settitle")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","settitle", _ba, _b4xpage, _title);} +; +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Title", _title); + BA.debugLineNum = 68;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 69;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_settitle" /*RemoteObject*/ ,(Object)(_b4xpage),(Object)(_title)); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpage(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("ShowPage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,50); +if (RapidSub.canDelegate("showpage")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","showpage", _ba, _id);} +; +Debug.locals.put("Id", _id); + BA.debugLineNum = 50;BA.debugLine="Public Sub ShowPage (Id As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 51;BA.debugLine="GetManager.ShowPage(Id)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_showpage" /*RemoteObject*/ ,(Object)(_id)); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpageandremovepreviouspages(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("ShowPageAndRemovePreviousPages (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,56); +if (RapidSub.canDelegate("showpageandremovepreviouspages")) { return gunav2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","showpageandremovepreviouspages", _ba, _id);} +; +Debug.locals.put("Id", _id); + BA.debugLineNum = 56;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 57;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_showpageandremovepreviouspages" /*RemoteObject*/ ,(Object)(_id)); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesdelegator.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesdelegator.java new file mode 100644 index 0000000..0d7ea0e --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesdelegator.java @@ -0,0 +1,30 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xpagesdelegator { + public static RemoteObject myClass; + public b4xpagesdelegator() { + } + public static PCBA staticBA = new PCBA(null, b4xpagesdelegator.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesdelegator_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesdelegator_subs_0.java new file mode 100644 index 0000000..d22613b --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesdelegator_subs_0.java @@ -0,0 +1,171 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xpagesdelegator_subs_0 { + + +public static RemoteObject _activity_actionbarhomeclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_ActionBarHomeClick (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_actionbarhomeclick", __ref);} + BA.debugLineNum = 35;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 36;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_activity_actionbarhomeclick" /*RemoteObject*/ ); + BA.debugLineNum = 37;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_keypress(RemoteObject __ref,RemoteObject _keycode) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,27); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_keypress", __ref, _keycode);} +Debug.locals.put("KeyCode", _keycode); + BA.debugLineNum = 27;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 28;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_activity_keypress" /*RemoteObject*/ ,(Object)(_keycode)); + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,52); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_pause", __ref);} + BA.debugLineNum = 52;BA.debugLine="Public Sub Activity_Pause"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="B4XPages.GetManager.Activity_Pause"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_activity_pause" /*RemoteObject*/ ); + BA.debugLineNum = 54;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("Activity_PermissionResult (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,31); +if (RapidSub.canDelegate("activity_permissionresult")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_permissionresult", __ref, _permission, _result);} +Debug.locals.put("Permission", _permission); +Debug.locals.put("Result", _result); + BA.debugLineNum = 31;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 32;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_PermissionResult")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_permission),(_result)}))); + BA.debugLineNum = 33;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_resume(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,48); +if (RapidSub.canDelegate("activity_resume")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_resume", __ref);} + BA.debugLineNum = 48;BA.debugLine="Public Sub Activity_Resume"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 49;BA.debugLine="B4XPages.GetManager.Activity_Resume"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_activity_resume" /*RemoteObject*/ ); + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _create_menu(RemoteObject __ref,RemoteObject _menu) throws Exception{ +try { + Debug.PushSubsStack("Create_Menu (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,39); +if (RapidSub.canDelegate("create_menu")) { return __ref.runUserSub(false, "b4xpagesdelegator","create_menu", __ref, _menu);} +Debug.locals.put("Menu", _menu); + BA.debugLineNum = 39;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 40;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_createmenu" /*RemoteObject*/ ,(Object)(_menu)); + BA.debugLineNum = 41;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,4); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xpagesdelegator","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 6;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mainform_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("MainForm_Resize (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("mainform_resize")) { return __ref.runUserSub(false, "b4xpagesdelegator","mainform_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 44;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 45;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_mainform_resize" /*RemoteObject*/ ,(Object)(_width),(Object)(_height)); + BA.debugLineNum = 46;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesmanager.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesmanager.java new file mode 100644 index 0000000..d882c28 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesmanager.java @@ -0,0 +1,43 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xpagesmanager { + public static RemoteObject myClass; + public b4xpagesmanager() { + } + public static PCBA staticBA = new PCBA(null, b4xpagesmanager.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _idtob4xpage = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xorderedmap"); +public static RemoteObject _rootb4xtopage = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xorderedmap"); +public static RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _mstackofpageids = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xset"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mmainform = RemoteObject.declareNull("anywheresoftware.b4a.objects.ActivityWrapper"); +public static RemoteObject _showupindicator = RemoteObject.createImmutable(false); +public static RemoteObject _actionbar = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _isforeground = RemoteObject.createImmutable(false); +public static RemoteObject _transitionanimationduration = RemoteObject.createImmutable(0); +public static RemoteObject _mainpage = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xmainpage"); +public static RemoteObject _stackstring = RemoteObject.createImmutable(""); +public static RemoteObject _logevents = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ActionBar",_ref.getField(false, "_actionbar"),"Context",_ref.getField(false, "_context"),"DateUtils",_ref.getField(false, "_dateutils"),"IdToB4XPage",_ref.getField(false, "_idtob4xpage"),"IsForeground",_ref.getField(false, "_isforeground"),"LogEvents",_ref.getField(false, "_logevents"),"MainPage",_ref.getField(false, "_mainpage"),"mMainForm",_ref.getField(false, "_mmainform"),"mStackOfPageIds",_ref.getField(false, "_mstackofpageids"),"RootB4XToPage",_ref.getField(false, "_rootb4xtopage"),"ShowUpIndicator",_ref.getField(false, "_showupindicator"),"StackString",_ref.getField(false, "_stackstring"),"TransitionAnimationDuration",_ref.getField(false, "_transitionanimationduration"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesmanager_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesmanager_subs_0.java new file mode 100644 index 0000000..7620d96 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xpagesmanager_subs_0.java @@ -0,0 +1,1665 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xpagesmanager_subs_0 { + + +public static RemoteObject _activity_actionbarhomeclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_ActionBarHomeClick (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,129); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_actionbarhomeclick", __ref);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); + BA.debugLineNum = 129;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 130;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 131;BA.debugLine="If pi <> Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_pi)) { + BA.debugLineNum = 132;BA.debugLine="If CloseRequestExists (pi) Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_closerequestexists" /*RemoteObject*/ ,(Object)(_pi)).get().booleanValue()) { + BA.debugLineNum = 133;BA.debugLine="HandleCloseRequest(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_handlecloserequest" /*void*/ ,(Object)(_pi)); + }else { + BA.debugLineNum = 135;BA.debugLine="ClosePage(pi.B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_closepage" /*RemoteObject*/ ,(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ ))); + }; + }; + BA.debugLineNum = 138;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_keypress(RemoteObject __ref,RemoteObject _keycode) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,468); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_keypress", __ref, _keycode);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("KeyCode", _keycode); + BA.debugLineNum = 468;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 469;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_keycode,BA.numberCast(double.class, b4xpagesmanager.__c.getField(false,"KeyCodes").getField(true,"KEYCODE_BACK")))) { + BA.debugLineNum = 470;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 471;BA.debugLine="If CloseRequestExists(pi) Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_closerequestexists" /*RemoteObject*/ ,(Object)(_pi)).get().booleanValue()) { + BA.debugLineNum = 472;BA.debugLine="HandleCloseRequest(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_handlecloserequest" /*void*/ ,(Object)(_pi)); + }else { + BA.debugLineNum = 474;BA.debugLine="ClosePage(pi.B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_closepage" /*RemoteObject*/ ,(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 476;BA.debugLine="Return True"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.getField(true,"True"); + }; + BA.debugLineNum = 478;BA.debugLine="Return False"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.getField(true,"False"); + BA.debugLineNum = 479;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,635); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_pause", __ref);} + BA.debugLineNum = 635;BA.debugLine="Public Sub Activity_Pause"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 636;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_raiseeventwithresult" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_Disappear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + BA.debugLineNum = 637;BA.debugLine="BackgroundStateChanged(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_backgroundstatechanged" /*RemoteObject*/ ,(Object)(b4xpagesmanager.__c.getField(true,"False"))); + BA.debugLineNum = 638;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_resume(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,610); +if (RapidSub.canDelegate("activity_resume")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_resume", __ref);} +RemoteObject _shouldraise = RemoteObject.createImmutable(false); + BA.debugLineNum = 610;BA.debugLine="Public Sub Activity_Resume"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 611;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; +Debug.JustUpdateDeviceLine(); +_shouldraise = BA.ObjectToBoolean(RemoteObject.solveBoolean("=",__ref.getField(true,"_isforeground" /*RemoteObject*/ ),b4xpagesmanager.__c.getField(true,"False")));Debug.locals.put("ShouldRaise", _shouldraise);Debug.locals.put("ShouldRaise", _shouldraise); + BA.debugLineNum = 612;BA.debugLine="BackgroundStateChanged(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_backgroundstatechanged" /*RemoteObject*/ ,(Object)(b4xpagesmanager.__c.getField(true,"True"))); + BA.debugLineNum = 613;BA.debugLine="If ShouldRaise Then"; +Debug.JustUpdateDeviceLine(); +if (_shouldraise.get().booleanValue()) { + BA.debugLineNum = 614;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_Appear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + }; + BA.debugLineNum = 616;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addmenuitem(RemoteObject __ref,RemoteObject _b4xpage,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("AddMenuItem (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,481); +if (RapidSub.canDelegate("addmenuitem")) { return __ref.runUserSub(false, "b4xpagesmanager","addmenuitem", __ref, _b4xpage, _title);} +RemoteObject _mi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem"); +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Title", _title); + BA.debugLineNum = 481;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 482;BA.debugLine="Dim mi As B4AMenuItem"; +Debug.JustUpdateDeviceLine(); +_mi = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem");Debug.locals.put("mi", _mi); + BA.debugLineNum = 483;BA.debugLine="mi.Initialize"; +Debug.JustUpdateDeviceLine(); +_mi.runVoidMethod ("Initialize"); + BA.debugLineNum = 484;BA.debugLine="mi.Title = Title"; +Debug.JustUpdateDeviceLine(); +_mi.setField ("Title" /*RemoteObject*/ ,_title); + BA.debugLineNum = 485;BA.debugLine="mi.Tag = Title"; +Debug.JustUpdateDeviceLine(); +_mi.setField ("Tag" /*RemoteObject*/ ,BA.ObjectToString(_title)); + BA.debugLineNum = 486;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage)).getField(false,"Parent" /*RemoteObject*/ ).getField(false,"MenuItems" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_mi))); + BA.debugLineNum = 487;BA.debugLine="Return mi"; +Debug.JustUpdateDeviceLine(); +if (true) return _mi; + BA.debugLineNum = 488;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addpage(RemoteObject __ref,RemoteObject _id,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("AddPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,141); +if (RapidSub.canDelegate("addpage")) { return __ref.runUserSub(false, "b4xpagesmanager","addpage", __ref, _id, _b4xpage);} +RemoteObject _idtolower = RemoteObject.createImmutable(""); +Debug.locals.put("Id", _id); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 141;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 142;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; +Debug.JustUpdateDeviceLine(); +_idtolower = _id.runMethod(true,"toLowerCase");Debug.locals.put("IdToLower", _idtolower);Debug.locals.put("IdToLower", _idtolower); + BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_containskey" /*RemoteObject*/ ,(Object)((_idtolower))).get().booleanValue()) { + BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","915728643",(RemoteObject.concat(RemoteObject.createImmutable("Page with this id already exists: "),b4xpagesmanager.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idtolower))),RemoteObject.createImmutable("!"))),0); + BA.debugLineNum = 145;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 147;BA.debugLine="IdToB4XPage.Put(IdToLower, CreateB4XPageInfo(B4XP"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_idtolower)),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_createb4xpageinfo" /*RemoteObject*/ ,(Object)(_b4xpage),(Object)(_idtolower),(Object)(b4xpagesmanager.__c.getField(true,"False")),(Object)((_id)))))); + BA.debugLineNum = 148;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_showpage" /*RemoteObject*/ ,(Object)(_idtolower));}; + BA.debugLineNum = 149;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addpageandcreate(RemoteObject __ref,RemoteObject _id,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("AddPageAndCreate (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,151); +if (RapidSub.canDelegate("addpageandcreate")) { return __ref.runUserSub(false, "b4xpagesmanager","addpageandcreate", __ref, _id, _b4xpage);} +Debug.locals.put("Id", _id); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 151;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 152;BA.debugLine="AddPage (Id, B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_addpage" /*RemoteObject*/ ,(Object)(_id),(Object)(_b4xpage)); + BA.debugLineNum = 153;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id)))); + BA.debugLineNum = 154;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _backgroundstatechanged(RemoteObject __ref,RemoteObject _newstate) throws Exception{ +try { + Debug.PushSubsStack("BackgroundStateChanged (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,618); +if (RapidSub.canDelegate("backgroundstatechanged")) { return __ref.runUserSub(false, "b4xpagesmanager","backgroundstatechanged", __ref, _newstate);} +RemoteObject _ev = RemoteObject.createImmutable(""); +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("NewState", _newstate); + BA.debugLineNum = 618;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 619;BA.debugLine="If IsForeground = NewState Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_isforeground" /*RemoteObject*/ ),_newstate)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 620;BA.debugLine="IsForeground = NewState"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_isforeground" /*RemoteObject*/ ,_newstate); + BA.debugLineNum = 621;BA.debugLine="Dim ev As String"; +Debug.JustUpdateDeviceLine(); +_ev = RemoteObject.createImmutable("");Debug.locals.put("ev", _ev); + BA.debugLineNum = 622;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_isforeground" /*RemoteObject*/ ).get().booleanValue()) { +_ev = BA.ObjectToString("B4XPage_Foreground");Debug.locals.put("ev", _ev);} +else { +_ev = BA.ObjectToString("B4XPage_Background");Debug.locals.put("ev", _ev);}; + BA.debugLineNum = 623;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group5 = __ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getvalues" /*RemoteObject*/ ); +final int groupLen5 = group5.runMethod(true,"getSize").get() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_pi = (group5.runMethod(false,"Get",index5));Debug.locals.put("pi", _pi); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 624;BA.debugLine="If xui.SubExists(pi.B4XPage, ev, 0) Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_ev),(Object)(BA.numberCast(int.class, 0))).get().booleanValue()) { + BA.debugLineNum = 625;BA.debugLine="LogEvent(pi, ev)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_pi),(Object)(_ev)); + BA.debugLineNum = 626;BA.debugLine="If IsForeground Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_isforeground" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 627;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_ev)); + }else { + BA.debugLineNum = 629;BA.debugLine="CallSub(pi.B4XPage, ev)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_ev)); + }; + }; + } +}Debug.locals.put("pi", _pi); +; + BA.debugLineNum = 633;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkmainactivityorientations(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CheckMainActivityOrientations (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,96); +if (RapidSub.canDelegate("checkmainactivityorientations")) { return __ref.runUserSub(false, "b4xpagesmanager","checkmainactivityorientations", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _jme = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _isappcompat = RemoteObject.createImmutable(false); +RemoteObject _pi = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _activities = null; +RemoteObject _act = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _name = RemoteObject.createImmutable(""); +RemoteObject _screenorientation = RemoteObject.createImmutable(0); + BA.debugLineNum = 96;BA.debugLine="Private Sub CheckMainActivityOrientations"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 98;BA.debugLine="Dim jo As JavaObject"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 99;BA.debugLine="jo.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 101;BA.debugLine="ActionBar = jo.RunMethod(\"getActionBar\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_actionbar" /*RemoteObject*/ ).setObject (_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getActionBar")),(Object)((b4xpagesmanager.__c.getField(false,"Null"))))); + BA.debugLineNum = 102;BA.debugLine="If ActionBar.IsInitialized = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_actionbar" /*RemoteObject*/ ).runMethod(true,"IsInitialized"),b4xpagesmanager.__c.getField(true,"False"))) { + BA.debugLineNum = 103;BA.debugLine="Dim jme As JavaObject = Me"; +Debug.JustUpdateDeviceLine(); +_jme = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jme = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref);Debug.locals.put("jme", _jme);Debug.locals.put("jme", _jme); + BA.debugLineNum = 104;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; +Debug.JustUpdateDeviceLine(); +_isappcompat = BA.ObjectToBoolean(_jme.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("checkIfAppCompat")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_jo.getObject())}))));Debug.locals.put("IsAppCompat", _isappcompat);Debug.locals.put("IsAppCompat", _isappcompat); + BA.debugLineNum = 105;BA.debugLine="If IsAppCompat Then"; +Debug.JustUpdateDeviceLine(); +if (_isappcompat.get().booleanValue()) { + BA.debugLineNum = 106;BA.debugLine="ActionBar = jo.RunMethod(\"getSupportActionBar\","; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_actionbar" /*RemoteObject*/ ).setObject (_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getSupportActionBar")),(Object)((b4xpagesmanager.__c.getField(false,"Null"))))); + }; + }; + BA.debugLineNum = 110;BA.debugLine="Dim pi As JavaObject = jo.RunMethodJO(\"getPackage"; +Debug.JustUpdateDeviceLine(); +_pi = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_pi = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _jo.runMethod(false,"RunMethodJO",(Object)(BA.ObjectToString("getPackageManager")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getPackageInfo")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(b4xpagesmanager.__c.getField(false,"Application").runMethod(true,"getPackageName")),RemoteObject.createImmutable((1))}))));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 111;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; +Debug.JustUpdateDeviceLine(); +_activities = (_pi.runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("activities"))));Debug.locals.put("activities", _activities);Debug.locals.put("activities", _activities); + BA.debugLineNum = 112;BA.debugLine="For Each Act As JavaObject In activities"; +Debug.JustUpdateDeviceLine(); +_act = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +{ +final RemoteObject group13 = _activities; +final int groupLen13 = group13.getField(true,"length").get() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_act = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), group13.getArrayElement(false,RemoteObject.createImmutable(index13)));Debug.locals.put("Act", _act); +Debug.locals.put("Act", _act); + BA.debugLineNum = 113;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; +Debug.JustUpdateDeviceLine(); +_name = BA.ObjectToString(_act.runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("name"))));Debug.locals.put("name", _name);Debug.locals.put("name", _name); + BA.debugLineNum = 114;BA.debugLine="If name.EndsWith(\".main\") Then"; +Debug.JustUpdateDeviceLine(); +if (_name.runMethod(true,"endsWith",(Object)(RemoteObject.createImmutable(".main"))).get().booleanValue()) { + BA.debugLineNum = 115;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; +Debug.JustUpdateDeviceLine(); +_screenorientation = BA.numberCast(int.class, _act.runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("screenOrientation"))));Debug.locals.put("screenOrientation", _screenorientation);Debug.locals.put("screenOrientation", _screenorientation); + BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_screenorientation,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","915597589",BA.ObjectToString("#SupportedOrientations attribute must be set to landscape or portrait."),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Red")); + }; + }; + } +}Debug.locals.put("Act", _act); +; + BA.debugLineNum = 121;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 22;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 23;BA.debugLine="Private IdToB4XPage As B4XOrderedMap"; +b4xpagesmanager._idtob4xpage = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xorderedmap");__ref.setField("_idtob4xpage",b4xpagesmanager._idtob4xpage); + //BA.debugLineNum = 24;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; +b4xpagesmanager._rootb4xtopage = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xorderedmap");__ref.setField("_rootb4xtopage",b4xpagesmanager._rootb4xtopage); + //BA.debugLineNum = 26;BA.debugLine="Private Context As JavaObject"; +b4xpagesmanager._context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");__ref.setField("_context",b4xpagesmanager._context); + //BA.debugLineNum = 27;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; +; + //BA.debugLineNum = 28;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; +; + //BA.debugLineNum = 34;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; +; + //BA.debugLineNum = 38;BA.debugLine="Public mStackOfPageIds As B4XSet"; +b4xpagesmanager._mstackofpageids = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xset");__ref.setField("_mstackofpageids",b4xpagesmanager._mstackofpageids); + //BA.debugLineNum = 39;BA.debugLine="Private xui As XUI 'ignore"; +b4xpagesmanager._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xpagesmanager._xui); + //BA.debugLineNum = 43;BA.debugLine="Private mMainForm As Activity"; +b4xpagesmanager._mmainform = RemoteObject.createNew ("anywheresoftware.b4a.objects.ActivityWrapper");__ref.setField("_mmainform",b4xpagesmanager._mmainform); + //BA.debugLineNum = 44;BA.debugLine="Public ShowUpIndicator As Boolean = True"; +b4xpagesmanager._showupindicator = b4xpagesmanager.__c.getField(true,"True");__ref.setField("_showupindicator",b4xpagesmanager._showupindicator); + //BA.debugLineNum = 45;BA.debugLine="Public ActionBar As JavaObject"; +b4xpagesmanager._actionbar = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");__ref.setField("_actionbar",b4xpagesmanager._actionbar); + //BA.debugLineNum = 49;BA.debugLine="Public IsForeground As Boolean"; +b4xpagesmanager._isforeground = RemoteObject.createImmutable(false);__ref.setField("_isforeground",b4xpagesmanager._isforeground); + //BA.debugLineNum = 50;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; +b4xpagesmanager._transitionanimationduration = BA.numberCast(int.class, 100);__ref.setField("_transitionanimationduration",b4xpagesmanager._transitionanimationduration); + //BA.debugLineNum = 51;BA.debugLine="Public MainPage As B4XMainPage"; +b4xpagesmanager._mainpage = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xmainpage");__ref.setField("_mainpage",b4xpagesmanager._mainpage); + //BA.debugLineNum = 52;BA.debugLine="Private StackString As String"; +b4xpagesmanager._stackstring = RemoteObject.createImmutable("");__ref.setField("_stackstring",b4xpagesmanager._stackstring); + //BA.debugLineNum = 53;BA.debugLine="Public LogEvents As Boolean = False"; +b4xpagesmanager._logevents = b4xpagesmanager.__c.getField(true,"False");__ref.setField("_logevents",b4xpagesmanager._logevents); + //BA.debugLineNum = 54;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _closepage(RemoteObject __ref,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("ClosePage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,209); +if (RapidSub.canDelegate("closepage")) { return __ref.runUserSub(false, "b4xpagesmanager","closepage", __ref, _b4xpage);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +RemoteObject _isclosingtoppage = RemoteObject.createImmutable(false); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 209;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 210;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 211;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))),b4xpagesmanager.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i")) && RemoteObject.solveBoolean("!",__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ),_pi)) { + BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","915990788",RemoteObject.createImmutable("Only top page can be closed"),0); + BA.debugLineNum = 214;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }else +{ BA.debugLineNum = 215;BA.debugLine="Else If xui.IsB4i And mStackOfPageIds.Size = 1 Th"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 216;BA.debugLine="Log(\"First page cannot be closed\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","915990791",RemoteObject.createImmutable("First page cannot be closed"),0); + BA.debugLineNum = 217;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }} +; + BA.debugLineNum = 219;BA.debugLine="Dim IsClosingTopPage As Boolean = GetTopPage = pi"; +Debug.JustUpdateDeviceLine(); +_isclosingtoppage = BA.ObjectToBoolean(RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ),_pi));Debug.locals.put("IsClosingTopPage", _isclosingtoppage);Debug.locals.put("IsClosingTopPage", _isclosingtoppage); + BA.debugLineNum = 220;BA.debugLine="ClosePageImpl(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_closepageimpl" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 221;BA.debugLine="If IsClosingTopPage Then"; +Debug.JustUpdateDeviceLine(); +if (_isclosingtoppage.get().booleanValue()) { + BA.debugLineNum = 222;BA.debugLine="TopPageDisappear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_toppagedisappear" /*RemoteObject*/ ); + }; + BA.debugLineNum = 224;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 225;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_remove" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 226;BA.debugLine="If IsClosingTopPage Then"; +Debug.JustUpdateDeviceLine(); +if (_isclosingtoppage.get().booleanValue()) { + BA.debugLineNum = 227;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A").get().booleanValue()) { +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )));}; + BA.debugLineNum = 228;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_toppageappear" /*RemoteObject*/ ); + }; + BA.debugLineNum = 230;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _closepageimpl(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("ClosePageImpl (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,315); +if (RapidSub.canDelegate("closepageimpl")) { return __ref.runUserSub(false, "b4xpagesmanager","closepageimpl", __ref, _pi);} +RemoteObject _i = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 315;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 317;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 318;BA.debugLine="Dim i As Intent"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("i", _i); + BA.debugLineNum = 319;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("Initialize",(Object)(_i.getField(true,"ACTION_MAIN")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 320;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("AddCategory",(Object)(RemoteObject.createImmutable("android.intent.category.HOME"))); + BA.debugLineNum = 321;BA.debugLine="i.Flags = 0x10000000"; +Debug.JustUpdateDeviceLine(); +_i.runMethod(true,"setFlags",BA.numberCast(int.class, ((int)0x10000000))); + BA.debugLineNum = 322;BA.debugLine="StartActivity(i)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_i.getObject()))); + }else { + BA.debugLineNum = 324;BA.debugLine="pi.Root.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent"); + }; + BA.debugLineNum = 331;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _closerequestexists(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("CloseRequestExists (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,534); +if (RapidSub.canDelegate("closerequestexists")) { return __ref.runUserSub(false, "b4xpagesmanager","closerequestexists", __ref, _pi);} +Debug.locals.put("pi", _pi); + BA.debugLineNum = 534;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 535;BA.debugLine="Return xui.SubExists(pi.B4XPage, \"B4XPage_CloseRe"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_CloseRequest")),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 536;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createb4xpageinfo(RemoteObject __ref,RemoteObject _b4xpage,RemoteObject _id,RemoteObject _created,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("CreateB4XPageInfo (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,420); +if (RapidSub.canDelegate("createb4xpageinfo")) { return __ref.runUserSub(false, "b4xpagesmanager","createb4xpageinfo", __ref, _b4xpage, _id, _created, _title);} +RemoteObject _t1 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Id", _id); +Debug.locals.put("Created", _created); +Debug.locals.put("Title", _title); + BA.debugLineNum = 420;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 421;BA.debugLine="Dim t1 As B4XPageInfo"; +Debug.JustUpdateDeviceLine(); +_t1 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo");Debug.locals.put("t1", _t1); + BA.debugLineNum = 422;BA.debugLine="t1.Initialize"; +Debug.JustUpdateDeviceLine(); +_t1.runVoidMethod ("Initialize"); + BA.debugLineNum = 423;BA.debugLine="t1.B4XPage = B4XPage"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("B4XPage" /*RemoteObject*/ ,_b4xpage); + BA.debugLineNum = 424;BA.debugLine="t1.Id = Id"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Id" /*RemoteObject*/ ,_id); + BA.debugLineNum = 425;BA.debugLine="t1.Created = Created"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Created" /*RemoteObject*/ ,_created); + BA.debugLineNum = 426;BA.debugLine="t1.Title = Title"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Title" /*RemoteObject*/ ,_title); + BA.debugLineNum = 427;BA.debugLine="Return t1"; +Debug.JustUpdateDeviceLine(); +if (true) return _t1; + BA.debugLineNum = 428;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createb4xpageparent(RemoteObject __ref,RemoteObject _nativetype) throws Exception{ +try { + Debug.PushSubsStack("CreateB4XPageParent (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,598); +if (RapidSub.canDelegate("createb4xpageparent")) { return __ref.runUserSub(false, "b4xpagesmanager","createb4xpageparent", __ref, _nativetype);} +RemoteObject _t1 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent"); +Debug.locals.put("NativeType", _nativetype); + BA.debugLineNum = 598;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 604;BA.debugLine="Dim t1 As B4XPageParent"; +Debug.JustUpdateDeviceLine(); +_t1 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent");Debug.locals.put("t1", _t1); + BA.debugLineNum = 605;BA.debugLine="t1.Initialize"; +Debug.JustUpdateDeviceLine(); +_t1.runVoidMethod ("Initialize"); + BA.debugLineNum = 606;BA.debugLine="t1.NativeType = NativeType"; +Debug.JustUpdateDeviceLine(); +_t1.getField(false,"NativeType" /*RemoteObject*/ ).setObject (_nativetype); + BA.debugLineNum = 607;BA.debugLine="Return t1"; +Debug.JustUpdateDeviceLine(); +if (true) return _t1; + BA.debugLineNum = 608;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createmenu(RemoteObject __ref,RemoteObject _menu) throws Exception{ +try { + Debug.PushSubsStack("CreateMenu (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,494); +if (RapidSub.canDelegate("createmenu")) { return __ref.runUserSub(false, "b4xpagesmanager","createmenu", __ref, _menu);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _mi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem"); +RemoteObject _nativemenuitem = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _bd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.BitmapDrawable"); +RemoteObject _listener = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("Menu", _menu); + BA.debugLineNum = 494;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 495;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 496;BA.debugLine="If pi = Null Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_pi)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 497;BA.debugLine="Dim jo As JavaObject = Menu"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _menu);Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 498;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group4 = _pi.getField(false,"Parent" /*RemoteObject*/ ).getField(false,"MenuItems" /*RemoteObject*/ ); +final int groupLen4 = group4.runMethod(true,"getSize").get() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_mi = (group4.runMethod(false,"Get",index4));Debug.locals.put("mi", _mi); +Debug.locals.put("mi", _mi); + BA.debugLineNum = 499;BA.debugLine="Dim NativeMenuItem As JavaObject = jo.RunMethod("; +Debug.JustUpdateDeviceLine(); +_nativemenuitem = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_nativemenuitem = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("add")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_mi.getField(false,"Title" /*RemoteObject*/ )}))));Debug.locals.put("NativeMenuItem", _nativemenuitem);Debug.locals.put("NativeMenuItem", _nativemenuitem); + BA.debugLineNum = 500;BA.debugLine="If mi.Bitmap.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_mi.getField(false,"Bitmap" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 501;BA.debugLine="Dim bd As BitmapDrawable"; +Debug.JustUpdateDeviceLine(); +_bd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.BitmapDrawable");Debug.locals.put("bd", _bd); + BA.debugLineNum = 502;BA.debugLine="bd.Initialize(mi.Bitmap)"; +Debug.JustUpdateDeviceLine(); +_bd.runVoidMethod ("Initialize",(Object)((_mi.getField(false,"Bitmap" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 503;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; +Debug.JustUpdateDeviceLine(); +_nativemenuitem.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setIcon")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_bd.getObject())}))); + }; + BA.debugLineNum = 505;BA.debugLine="If mi.AddToBar Then"; +Debug.JustUpdateDeviceLine(); +if (_mi.getField(true,"AddToBar" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 506;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; +Debug.JustUpdateDeviceLine(); +_nativemenuitem.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setShowAsAction")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))); + }; + BA.debugLineNum = 508;BA.debugLine="Dim listener As JavaObject"; +Debug.JustUpdateDeviceLine(); +_listener = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("listener", _listener); + BA.debugLineNum = 509;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; +Debug.JustUpdateDeviceLine(); +_listener.runVoidMethod ("InitializeNewInstance",(Object)(RemoteObject.concat(b4xpagesmanager.__c.getField(false,"Application").runMethod(true,"getPackageName"),RemoteObject.createImmutable(".b4xpagesmanager$PagesMenuListener"))),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {_pi.getField(false,"B4XPage" /*RemoteObject*/ ),(_mi.getField(true,"Tag" /*RemoteObject*/ ))}))); + BA.debugLineNum = 510;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; +Debug.JustUpdateDeviceLine(); +_nativemenuitem.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setOnMenuItemClickListener")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_listener.getObject())}))); + } +}Debug.locals.put("mi", _mi); +; + BA.debugLineNum = 512;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createpageifneeded(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("CreatePageIfNeeded (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,352); +if (RapidSub.canDelegate("createpageifneeded")) { return __ref.runUserSub(false, "b4xpagesmanager","createpageifneeded", __ref, _pi);} +Debug.locals.put("pi", _pi); + BA.debugLineNum = 352;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 353;BA.debugLine="If pi.Created Then Return"; +Debug.JustUpdateDeviceLine(); +if (_pi.getField(true,"Created" /*RemoteObject*/ ).get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 354;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("IsFirst" /*RemoteObject*/ ,BA.ObjectToBoolean(RemoteObject.solveBoolean("=",__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1)))); + BA.debugLineNum = 355;BA.debugLine="CreatePageImpl (pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_createpageimpl" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 356;BA.debugLine="pi.Created = True"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("Created" /*RemoteObject*/ ,b4xpagesmanager.__c.getField(true,"True")); + BA.debugLineNum = 357;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rootb4xtopage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_pi.getField(false,"Root" /*RemoteObject*/ ).getObject())),(Object)((_pi))); + BA.debugLineNum = 358;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_pi),(Object)(RemoteObject.createImmutable("B4XPage_Created"))); + BA.debugLineNum = 359;BA.debugLine="CallSub2(pi.B4XPage, \"B4XPage_Created\", pi.root)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_Created")),(Object)((_pi.getField(false,"Root" /*RemoteObject*/ )))); + BA.debugLineNum = 361;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createpageimpl(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("CreatePageImpl (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,369); +if (RapidSub.canDelegate("createpageimpl")) { return __ref.runUserSub(false, "b4xpagesmanager","createpageimpl", __ref, _pi);} +Debug.locals.put("pi", _pi); + BA.debugLineNum = 369;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 381;BA.debugLine="pi.Root = xui.CreatePanel(\"root\")"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("Root" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("root")))); + BA.debugLineNum = 382;BA.debugLine="pi.root.SetLayoutAnimated(0, 0, 0, 100%x, 100%y)"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xpagesmanager.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(b4xpagesmanager.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + BA.debugLineNum = 383;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("Parent" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_createb4xpageparent" /*RemoteObject*/ ,(Object)((__ref.getField(false,"_mmainform" /*RemoteObject*/ ).getObject())))); + BA.debugLineNum = 384;BA.debugLine="pi.Parent.MenuItems.Initialize"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Parent" /*RemoteObject*/ ).getField(false,"MenuItems" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 392;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _findpifromb4xpage(RemoteObject __ref,RemoteObject _page) throws Exception{ +try { + Debug.PushSubsStack("FindPIFromB4XPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,306); +if (RapidSub.canDelegate("findpifromb4xpage")) { return __ref.runUserSub(false, "b4xpagesmanager","findpifromb4xpage", __ref, _page);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("Page", _page); + BA.debugLineNum = 306;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 307;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group1 = __ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getvalues" /*RemoteObject*/ ); +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_pi = (group1.runMethod(false,"Get",index1));Debug.locals.put("pi", _pi); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 308;BA.debugLine="If pi.B4XPage = Page Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_pi.getField(false,"B4XPage" /*RemoteObject*/ ),_page)) { + BA.debugLineNum = 309;BA.debugLine="Return pi"; +Debug.JustUpdateDeviceLine(); +if (true) return _pi; + }; + } +}Debug.locals.put("pi", _pi); +; + BA.debugLineNum = 312;BA.debugLine="Return Null"; +Debug.JustUpdateDeviceLine(); +if (true) return (b4xpagesmanager.__c.getField(false,"Null")); + BA.debugLineNum = 313;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpage(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("GetPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,394); +if (RapidSub.canDelegate("getpage")) { return __ref.runUserSub(false, "b4xpagesmanager","getpage", __ref, _id);} +Debug.locals.put("Id", _id); + BA.debugLineNum = 394;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 395;BA.debugLine="Return GetPageFromId(Id).B4XPage"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id)).getField(false,"B4XPage" /*RemoteObject*/ ); + BA.debugLineNum = 396;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpagefromid(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("GetPageFromId (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,398); +if (RapidSub.canDelegate("getpagefromid")) { return __ref.runUserSub(false, "b4xpagesmanager","getpagefromid", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("id", _id); + BA.debugLineNum = 398;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 399;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; +Debug.JustUpdateDeviceLine(); +_pi = (__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_id.runMethod(true,"toLowerCase")))));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 400;BA.debugLine="If pi = Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_pi)) { + BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","916646147",RemoteObject.concat(RemoteObject.createImmutable("Error: page id not found: "),_id),0); + BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","916646148",RemoteObject.concat(RemoteObject.createImmutable("Ids: "),__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ )),0); + }; + BA.debugLineNum = 404;BA.debugLine="Return pi"; +Debug.JustUpdateDeviceLine(); +if (true) return _pi; + BA.debugLineNum = 405;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpageinfofromroot(RemoteObject __ref,RemoteObject _root) throws Exception{ +try { + Debug.PushSubsStack("GetPageInfoFromRoot (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,407); +if (RapidSub.canDelegate("getpageinfofromroot")) { return __ref.runUserSub(false, "b4xpagesmanager","getpageinfofromroot", __ref, _root);} +Debug.locals.put("Root", _root); + BA.debugLineNum = 407;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 408;BA.debugLine="Return RootB4XToPage.Get(Root)"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_rootb4xtopage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_root.getObject())))); + BA.debugLineNum = 409;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettoppage(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetTopPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,592); +if (RapidSub.canDelegate("gettoppage")) { return __ref.runUserSub(false, "b4xpagesmanager","gettoppage", __ref);} + BA.debugLineNum = 592;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 593;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +if (true) return (b4xpagesmanager.__c.getField(false,"Null"));}; + BA.debugLineNum = 594;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_aslist" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)))))); + BA.debugLineNum = 595;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _handlecloserequest(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("HandleCloseRequest (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,538); +if (RapidSub.canDelegate("handlecloserequest")) { __ref.runUserSub(false, "b4xpagesmanager","handlecloserequest", __ref, _pi); return;} +ResumableSub_HandleCloseRequest rsub = new ResumableSub_HandleCloseRequest(null,__ref,_pi); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_HandleCloseRequest extends BA.ResumableSub { +public ResumableSub_HandleCloseRequest(gunav2.keymon.com.mx.b4xpagesmanager parent,RemoteObject __ref,RemoteObject _pi) { +this.parent = parent; +this.__ref = __ref; +this._pi = _pi; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xpagesmanager parent; +RemoteObject _pi; +RemoteObject _rs = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"); +RemoteObject _shouldclose = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("HandleCloseRequest (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,538); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 539;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_pi),(Object)(RemoteObject.createImmutable("B4XPage_CloseRequest"))); + BA.debugLineNum = 540;BA.debugLine="Dim rs As ResumableSub = CallSub(pi.B4XPage, \"B4X"; +Debug.JustUpdateDeviceLine(); +_rs = RemoteObject.createNew ("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"); +_rs = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), parent.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("B4XPage_CloseRequest"))));Debug.locals.put("rs", _rs);Debug.locals.put("rs", _rs); + BA.debugLineNum = 541;BA.debugLine="Wait For (rs) Complete (ShouldClose As Boolean)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xpagesmanager", "handlecloserequest"), _rs); +this.state = 5; +return; +case 5: +//C +this.state = 1; +_shouldclose = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("ShouldClose", _shouldclose); +; + BA.debugLineNum = 542;BA.debugLine="If ShouldClose Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 4; +if (_shouldclose.get().booleanValue()) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 543;BA.debugLine="ClosePage(pi.B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_closepage" /*RemoteObject*/ ,(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ ))); + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 545;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _complete(RemoteObject __ref,RemoteObject _shouldclose) throws Exception{ +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _activity) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xpagesmanager","initialize", __ref, _ba, _activity);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _module = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _nonmainpagewasadded = RemoteObject.createImmutable(false); +Debug.locals.put("ba", _ba); +Debug.locals.put("Activity", _activity); + BA.debugLineNum = 59;BA.debugLine="Public Sub Initialize (Activity As Activity)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="IdToB4XPage.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 64;BA.debugLine="RootB4XToPage.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rootb4xtopage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 65;BA.debugLine="mStackOfPageIds.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 69;BA.debugLine="Context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_context" /*RemoteObject*/ ).runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 70;BA.debugLine="mMainForm = Activity"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mmainform" /*RemoteObject*/ ,_activity); + BA.debugLineNum = 71;BA.debugLine="CheckMainActivityOrientations"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_checkmainactivityorientations" /*RemoteObject*/ ); + BA.debugLineNum = 72;BA.debugLine="Dim jo As JavaObject = Me"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref);Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 73;BA.debugLine="Dim module As JavaObject"; +Debug.JustUpdateDeviceLine(); +_module = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("module", _module); + BA.debugLineNum = 74;BA.debugLine="module.InitializeStatic(jo.RunMethodJO(\"getActivi"; +Debug.JustUpdateDeviceLine(); +_module.runMethod(false,"InitializeStatic",(Object)(BA.ObjectToString(_jo.runMethod(false,"RunMethodJO",(Object)(BA.ObjectToString("getActivityBA")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("className")))))).runVoidMethod ("SetField",(Object)(BA.ObjectToString("dontPause")),(Object)((b4xpagesmanager.__c.getField(true,"True")))); + BA.debugLineNum = 78;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager._b4xpages.runVoidMethod ("_internalsetpagesmanager" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref)); + BA.debugLineNum = 79;BA.debugLine="MainPage.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 80;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; +Debug.JustUpdateDeviceLine(); +_nonmainpagewasadded = BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 0)));Debug.locals.put("NonMainPageWasAdded", _nonmainpagewasadded);Debug.locals.put("NonMainPageWasAdded", _nonmainpagewasadded); + BA.debugLineNum = 81;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable(("~~~~~temp~~~~"))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_createb4xpageinfo" /*RemoteObject*/ ,(Object)((__ref.getField(false,"_mainpage" /*RemoteObject*/ ))),(Object)(BA.ObjectToString("")),(Object)(b4xpagesmanager.__c.getField(true,"False")),(Object)((RemoteObject.createImmutable(""))))))); + BA.debugLineNum = 82;BA.debugLine="BackgroundStateChanged(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_backgroundstatechanged" /*RemoteObject*/ ,(Object)(b4xpagesmanager.__c.getField(true,"True"))); + BA.debugLineNum = 83;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((RemoteObject.createImmutable("~~~~~temp~~~~")))); + BA.debugLineNum = 84;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_addpageandcreate" /*RemoteObject*/ ,(Object)(BA.ObjectToString("MainPage")),(Object)((__ref.getField(false,"_mainpage" /*RemoteObject*/ )))); + BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_logevents" /*RemoteObject*/ ),b4xpagesmanager.__c.getField(true,"False"))) { + BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","915532059",RemoteObject.createImmutable("Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events."),0); + }; + BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then"; +Debug.JustUpdateDeviceLine(); +if (_nonmainpagewasadded.get().booleanValue()) { + BA.debugLineNum = 89;BA.debugLine="If Not(xui.IsB4i) Then"; +Debug.JustUpdateDeviceLine(); +if (b4xpagesmanager.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i"))).get().booleanValue()) { + BA.debugLineNum = 90;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_Appear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + }; + }; + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _logevent(RemoteObject __ref,RemoteObject _pi,RemoteObject _ev) throws Exception{ +try { + Debug.PushSubsStack("LogEvent (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,640); +if (RapidSub.canDelegate("logevent")) { return __ref.runUserSub(false, "b4xpagesmanager","logevent", __ref, _pi, _ev);} +RemoteObject _msg = RemoteObject.createImmutable(""); +Debug.locals.put("pi", _pi); +Debug.locals.put("ev", _ev); + BA.debugLineNum = 640;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 641;BA.debugLine="If LogEvents Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_logevents" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac"; +Debug.JustUpdateDeviceLine(); +_msg = (RemoteObject.concat(RemoteObject.createImmutable("*** "),b4xpagesmanager.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))),RemoteObject.createImmutable(": "),b4xpagesmanager.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ev))),RemoteObject.createImmutable(" "),b4xpagesmanager.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_stackstring" /*RemoteObject*/ )))),RemoteObject.createImmutable("")));Debug.locals.put("msg", _msg);Debug.locals.put("msg", _msg); + BA.debugLineNum = 643;BA.debugLine="Log(msg)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","917760259",_msg,0); + }; + BA.debugLineNum = 645;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mainform_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("MainForm_Resize (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,585); +if (RapidSub.canDelegate("mainform_resize")) { return __ref.runUserSub(false, "b4xpagesmanager","mainform_resize", __ref, _width, _height);} +RemoteObject _w = RemoteObject.createImmutable(0); +RemoteObject _h = RemoteObject.createImmutable(0); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 585;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 586;BA.debugLine="Dim w As Int = Width"; +Debug.JustUpdateDeviceLine(); +_w = BA.numberCast(int.class, _width);Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 587;BA.debugLine="Dim h As Int = Height"; +Debug.JustUpdateDeviceLine(); +_h = BA.numberCast(int.class, _height);Debug.locals.put("h", _h);Debug.locals.put("h", _h); + BA.debugLineNum = 588;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_getpageinfofromroot" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xpagesmanager.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))))),(Object)(BA.ObjectToString("B4XPage_Resize")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_w),(_h)}))); + BA.debugLineNum = 589;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _raiseevent(RemoteObject __ref,RemoteObject _targetpage,RemoteObject _subname,RemoteObject _params) throws Exception{ +try { + Debug.PushSubsStack("RaiseEvent (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,548); +if (RapidSub.canDelegate("raiseevent")) { return __ref.runUserSub(false, "b4xpagesmanager","raiseevent", __ref, _targetpage, _subname, _params);} +RemoteObject _length = RemoteObject.createImmutable(0); +Debug.locals.put("TargetPage", _targetpage); +Debug.locals.put("SubName", _subname); +Debug.locals.put("Params", _params); + BA.debugLineNum = 548;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 549;BA.debugLine="If TargetPage = Null Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_targetpage)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 550;BA.debugLine="Dim length As Int"; +Debug.JustUpdateDeviceLine(); +_length = RemoteObject.createImmutable(0);Debug.locals.put("length", _length); + BA.debugLineNum = 551;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_params)) { +_length = BA.numberCast(int.class, 0);Debug.locals.put("length", _length);} +else { +_length = _params.getField(true,"length");Debug.locals.put("length", _length);}; + BA.debugLineNum = 552;BA.debugLine="LogEvent(TargetPage, SubName)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_targetpage),(Object)(_subname)); + BA.debugLineNum = 553;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_length)),b4xpagesmanager.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 554;BA.debugLine="Select length"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(_length,BA.numberCast(int.class, 0),BA.numberCast(int.class, 1),BA.numberCast(int.class, 2))) { +case 0: { + BA.debugLineNum = 556;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname)); + break; } +case 1: { + BA.debugLineNum = 558;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 0)))); + break; } +case 2: { + BA.debugLineNum = 560;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("CallSubDelayed3",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 0))),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 1)))); + break; } +default: { + BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","917235982",RemoteObject.createImmutable("Too many parameters"),0); + break; } +} +; + BA.debugLineNum = 564;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _raiseeventwithresult(RemoteObject __ref,RemoteObject _targetpage,RemoteObject _subname,RemoteObject _params) throws Exception{ +try { + Debug.PushSubsStack("RaiseEventWithResult (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,566); +if (RapidSub.canDelegate("raiseeventwithresult")) { return __ref.runUserSub(false, "b4xpagesmanager","raiseeventwithresult", __ref, _targetpage, _subname, _params);} +RemoteObject _length = RemoteObject.createImmutable(0); +Debug.locals.put("TargetPage", _targetpage); +Debug.locals.put("SubName", _subname); +Debug.locals.put("Params", _params); + BA.debugLineNum = 566;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 567;BA.debugLine="If TargetPage = Null Then Return Null"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_targetpage)) { +if (true) return b4xpagesmanager.__c.getField(false,"Null");}; + BA.debugLineNum = 568;BA.debugLine="Dim length As Int"; +Debug.JustUpdateDeviceLine(); +_length = RemoteObject.createImmutable(0);Debug.locals.put("length", _length); + BA.debugLineNum = 569;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_params)) { +_length = BA.numberCast(int.class, 0);Debug.locals.put("length", _length);} +else { +_length = _params.getField(true,"length");Debug.locals.put("length", _length);}; + BA.debugLineNum = 570;BA.debugLine="LogEvent(TargetPage, SubName)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_targetpage),(Object)(_subname)); + BA.debugLineNum = 571;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_length)),b4xpagesmanager.__c.getField(true,"False"))) { +if (true) return b4xpagesmanager.__c.getField(false,"Null");}; + BA.debugLineNum = 572;BA.debugLine="Select length"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(_length,BA.numberCast(int.class, 0),BA.numberCast(int.class, 1),BA.numberCast(int.class, 2))) { +case 0: { + BA.debugLineNum = 574;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname)); + break; } +case 1: { + BA.debugLineNum = 576;BA.debugLine="Return CallSub2(TargetPage.B4XPage, SubName, Pa"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 0)))); + break; } +case 2: { + BA.debugLineNum = 578;BA.debugLine="Return CallSub3(TargetPage.B4XPage, SubName, Pa"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew3",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 0))),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 1)))); + break; } +default: { + BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","917301518",RemoteObject.createImmutable("Too many parameters"),0); + break; } +} +; + BA.debugLineNum = 582;BA.debugLine="Return Null"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.getField(false,"Null"); + BA.debugLineNum = 583;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settitle(RemoteObject __ref,RemoteObject _b4xpage,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("SetTitle (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,363); +if (RapidSub.canDelegate("settitle")) { return __ref.runUserSub(false, "b4xpagesmanager","settitle", __ref, _b4xpage, _title);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Title", _title); + BA.debugLineNum = 363;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 364;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 365;BA.debugLine="pi.Title = Title"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("Title" /*RemoteObject*/ ,_title); + BA.debugLineNum = 366;BA.debugLine="pi.Parent.NativeType.Title = Title"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Parent" /*RemoteObject*/ ).getField(false,"NativeType" /*RemoteObject*/ ).runMethod(false,"setTitle",BA.ObjectToCharSequence(_title)); + BA.debugLineNum = 367;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpage(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("ShowPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,156); +if (RapidSub.canDelegate("showpage")) { return __ref.runUserSub(false, "b4xpagesmanager","showpage", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +RemoteObject _top = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("Id", _id); + BA.debugLineNum = 156;BA.debugLine="Public Sub ShowPage (Id As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 157;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 158;BA.debugLine="If pi = GetTopPage Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_pi,__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 159;BA.debugLine="CreatePageIfNeeded(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 160;BA.debugLine="TopPageDisappear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_toppagedisappear" /*RemoteObject*/ ); + BA.debugLineNum = 162;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_top = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("Top", _top);Debug.locals.put("Top", _top); + BA.debugLineNum = 163;BA.debugLine="If Top <> Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_top)) { + BA.debugLineNum = 164;BA.debugLine="Top.Root.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_top.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent"); + }; + BA.debugLineNum = 174;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_remove" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 175;BA.debugLine="ShowPageImpl(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 176;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 177;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_toppageappear" /*RemoteObject*/ ); + BA.debugLineNum = 178;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpageandremovepreviouspages(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("ShowPageAndRemovePreviousPages (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,180); +if (RapidSub.canDelegate("showpageandremovepreviouspages")) { return __ref.runUserSub(false, "b4xpagesmanager","showpageandremovepreviouspages", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +RemoteObject _pagetoremove = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("Id", _id); + BA.debugLineNum = 180;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 181;BA.debugLine="If GetTopPage = Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ))) { + BA.debugLineNum = 182;BA.debugLine="ShowPage(Id)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_showpage" /*RemoteObject*/ ,(Object)(_id)); + BA.debugLineNum = 183;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 185;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 186;BA.debugLine="CreatePageIfNeeded(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 187;BA.debugLine="TopPageDisappear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_toppagedisappear" /*RemoteObject*/ ); + BA.debugLineNum = 191;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group8 = __ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_aslist" /*RemoteObject*/ ); +final int groupLen8 = group8.runMethod(true,"getSize").get() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_id = BA.ObjectToString(group8.runMethod(false,"Get",index8));Debug.locals.put("Id", _id); +Debug.locals.put("Id", _id); + BA.debugLineNum = 192;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; +Debug.JustUpdateDeviceLine(); +_pagetoremove = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id));Debug.locals.put("PageToRemove", _pagetoremove);Debug.locals.put("PageToRemove", _pagetoremove); + BA.debugLineNum = 194;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_pagetoremove.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent"); + } +}Debug.locals.put("Id", _id); +; + BA.debugLineNum = 201;BA.debugLine="mStackOfPageIds.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 202;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 203;BA.debugLine="If xui.IsB4A Or xui.IsB4J Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J"))) { + BA.debugLineNum = 204;BA.debugLine="ShowPageImpl(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(_pi)); + }; + BA.debugLineNum = 206;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_toppageappear" /*RemoteObject*/ ); + BA.debugLineNum = 207;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpageimpl(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("ShowPageImpl (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,333); +if (RapidSub.canDelegate("showpageimpl")) { return __ref.runUserSub(false, "b4xpagesmanager","showpageimpl", __ref, _pi);} +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 333;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 339;BA.debugLine="If pi.Root.Parent.IsInitialized Then pi.Root.Remo"; +Debug.JustUpdateDeviceLine(); +if (_pi.getField(false,"Root" /*RemoteObject*/ ).runMethod(false,"getParent").runMethod(true,"IsInitialized").get().booleanValue()) { +_pi.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent");}; + BA.debugLineNum = 340;BA.debugLine="Dim pnl As Panel = pi.Root"; +Debug.JustUpdateDeviceLine(); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper"); +_pnl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pi.getField(false,"Root" /*RemoteObject*/ ).getObject());Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 341;BA.debugLine="If TransitionAnimationDuration > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_transitionanimationduration" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 342;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 20dip, 20dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mmainform" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_pnl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xpagesmanager.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(b4xpagesmanager.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20))))); + BA.debugLineNum = 343;BA.debugLine="pnl.SetLayoutAnimated(TransitionAnimationDuratio"; +Debug.JustUpdateDeviceLine(); +_pnl.runVoidMethod ("SetLayoutAnimated",(Object)(__ref.getField(true,"_transitionanimationduration" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xpagesmanager.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(b4xpagesmanager.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + }else { + BA.debugLineNum = 345;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 100%x, 100%y)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mmainform" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_pnl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xpagesmanager.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(b4xpagesmanager.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + }; + BA.debugLineNum = 350;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _toppageappear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TopPageAppear (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,288); +if (RapidSub.canDelegate("toppageappear")) { return __ref.runUserSub(false, "b4xpagesmanager","toppageappear", __ref);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); + BA.debugLineNum = 288;BA.debugLine="Private Sub TopPageAppear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 289;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 290;BA.debugLine="If pi = Null Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_pi)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 291;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Parent" /*RemoteObject*/ ).getField(false,"NativeType" /*RemoteObject*/ ).runMethod(false,"setTitle",BA.ObjectToCharSequence(_pi.getField(false,"Title" /*RemoteObject*/ ))); + BA.debugLineNum = 292;BA.debugLine="If Not(xui.IsB4i) Then"; +Debug.JustUpdateDeviceLine(); +if (b4xpagesmanager.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i"))).get().booleanValue()) { + BA.debugLineNum = 293;BA.debugLine="If IsForeground Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_isforeground" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 294;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(_pi),(Object)(BA.ObjectToString("B4XPage_Appear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + }; + }; + BA.debugLineNum = 298;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(true,"_showupindicator" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",__ref.getField(false,"_actionbar" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 299;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_actionbar" /*RemoteObject*/ ).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setDisplayHomeAsUpEnabled")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((RemoteObject.solveBoolean(">",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))))}))); + }; + BA.debugLineNum = 301;BA.debugLine="UpdateMenuItems"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_updatemenuitems" /*RemoteObject*/ ); + BA.debugLineNum = 303;BA.debugLine="UpdateStackString"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_updatestackstring" /*RemoteObject*/ ); + BA.debugLineNum = 304;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _toppagedisappear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TopPageDisappear (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,277); +if (RapidSub.canDelegate("toppagedisappear")) { return __ref.runUserSub(false, "b4xpagesmanager","toppagedisappear", __ref);} +RemoteObject _pi = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); + BA.debugLineNum = 277;BA.debugLine="Private Sub TopPageDisappear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 278;BA.debugLine="If xui.IsB4J Then Return"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J").get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 279;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 280;BA.debugLine="If pi = Null Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_pi)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 281;BA.debugLine="If Not(xui.IsB4i) Then"; +Debug.JustUpdateDeviceLine(); +if (b4xpagesmanager.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i"))).get().booleanValue()) { + BA.debugLineNum = 282;BA.debugLine="If IsForeground Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_isforeground" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 283;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_raiseeventwithresult" /*RemoteObject*/ ,(Object)(_pi),(Object)(BA.ObjectToString("B4XPage_Disappear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + }; + }; + BA.debugLineNum = 286;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updatemenuitems(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateMenuItems (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,490); +if (RapidSub.canDelegate("updatemenuitems")) { return __ref.runUserSub(false, "b4xpagesmanager","updatemenuitems", __ref);} + BA.debugLineNum = 490;BA.debugLine="Private Sub UpdateMenuItems"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 491;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_context" /*RemoteObject*/ ).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("invalidateOptionsMenu")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + BA.debugLineNum = 492;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updatestackstring(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateStackString (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,647); +if (RapidSub.canDelegate("updatestackstring")) { return __ref.runUserSub(false, "b4xpagesmanager","updatestackstring", __ref);} +RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); + BA.debugLineNum = 647;BA.debugLine="Public Sub UpdateStackString"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 648;BA.debugLine="Dim sb As StringBuilder"; +Debug.JustUpdateDeviceLine(); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 649;BA.debugLine="sb.Initialize"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 650;BA.debugLine="sb.Append(\"[\")"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("["))); + BA.debugLineNum = 651;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 652;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group5 = __ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_aslist" /*RemoteObject*/ ); +final int groupLen5 = group5.runMethod(true,"getSize").get() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_id = BA.ObjectToString(group5.runMethod(false,"Get",index5));Debug.locals.put("id", _id); +Debug.locals.put("id", _id); + BA.debugLineNum = 653;BA.debugLine="sb.Append(id).Append(\", \")"; +Debug.JustUpdateDeviceLine(); +_sb.runMethod(false,"Append",(Object)(_id)).runVoidMethod ("Append",(Object)(RemoteObject.createImmutable(", "))); + } +}Debug.locals.put("id", _id); +; + BA.debugLineNum = 655;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Remove",(Object)(RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),RemoteObject.createImmutable(2)}, "-",1, 1)),(Object)(_sb.runMethod(true,"getLength"))); + }; + BA.debugLineNum = 657;BA.debugLine="sb.Append(\"]\")"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("]"))); + BA.debugLineNum = 658;BA.debugLine="StackString = sb.ToString"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_stackstring" /*RemoteObject*/ ,_sb.runMethod(true,"ToString")); + BA.debugLineNum = 659;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xplusminus.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xplusminus.java new file mode 100644 index 0000000..45940b9 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xplusminus.java @@ -0,0 +1,56 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xplusminus { + public static RemoteObject myClass; + public b4xplusminus() { + } + public static PCBA staticBA = new PCBA(null, b4xplusminus.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _pnlplus = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _pnlminus = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblplus = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblminus = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _formation = RemoteObject.createImmutable(""); +public static RemoteObject _mcyclic = RemoteObject.createImmutable(false); +public static RemoteObject _mrapid = RemoteObject.createImmutable(false); +public static RemoteObject _mainlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _arrowssize = RemoteObject.createImmutable(0); +public static RemoteObject _mstringitems = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mstartrange = RemoteObject.createImmutable(0); +public static RemoteObject _minterval = RemoteObject.createImmutable(0); +public static RemoteObject _mendrange = RemoteObject.createImmutable(0); +public static RemoteObject _mselectedindex = RemoteObject.createImmutable(0); +public static RemoteObject _loopindex = RemoteObject.createImmutable(0); +public static RemoteObject _rapidperiod1 = RemoteObject.createImmutable(0); +public static RemoteObject _rapidperiod2 = RemoteObject.createImmutable(0); +public static RemoteObject _formatter = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xformatter"); +public static RemoteObject _stringmode = RemoteObject.createImmutable(false); +public static RemoteObject _size = RemoteObject.createImmutable(0); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ArrowsSize",_ref.getField(false, "_arrowssize"),"DateUtils",_ref.getField(false, "_dateutils"),"Formation",_ref.getField(false, "_formation"),"Formatter",_ref.getField(false, "_formatter"),"lblMinus",_ref.getField(false, "_lblminus"),"lblPlus",_ref.getField(false, "_lblplus"),"LoopIndex",_ref.getField(false, "_loopindex"),"MainLabel",_ref.getField(false, "_mainlabel"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mCyclic",_ref.getField(false, "_mcyclic"),"mEndRange",_ref.getField(false, "_mendrange"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"mInterval",_ref.getField(false, "_minterval"),"mRapid",_ref.getField(false, "_mrapid"),"mSelectedIndex",_ref.getField(false, "_mselectedindex"),"mStartRange",_ref.getField(false, "_mstartrange"),"mStringItems",_ref.getField(false, "_mstringitems"),"pnlMinus",_ref.getField(false, "_pnlminus"),"pnlPlus",_ref.getField(false, "_pnlplus"),"RapidPeriod1",_ref.getField(false, "_rapidperiod1"),"RapidPeriod2",_ref.getField(false, "_rapidperiod2"),"Size",_ref.getField(false, "_size"),"StringMode",_ref.getField(false, "_stringmode"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xplusminus_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xplusminus_subs_0.java new file mode 100644 index 0000000..9fda135 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xplusminus_subs_0.java @@ -0,0 +1,873 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xplusminus_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,83); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xplusminus","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 83;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 84;BA.debugLine="If Formation = \"Horizontal\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_formation" /*RemoteObject*/ ),BA.ObjectToString("Horizontal"))) { + BA.debugLineNum = 85;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, 0, ArrowsSize,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_arrowssize" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 86;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width - ArrowsSize,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,__ref.getField(true,"_arrowssize" /*RemoteObject*/ )}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_arrowssize" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 87;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + }else +{ BA.debugLineNum = 88;BA.debugLine="Else if Formation = \"Vertical\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_formation" /*RemoteObject*/ ),BA.ObjectToString("Vertical"))) { + BA.debugLineNum = 89;BA.debugLine="pnlPlus.SetLayoutAnimated(0, 0, 0, Width, Arrows"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(__ref.getField(true,"_arrowssize" /*RemoteObject*/ ))); + BA.debugLineNum = 90;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,__ref.getField(true,"_arrowssize" /*RemoteObject*/ )}, "-",1, 0))),(Object)(BA.numberCast(int.class, _width)),(Object)(__ref.getField(true,"_arrowssize" /*RemoteObject*/ ))); + BA.debugLineNum = 91;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + }else { + BA.debugLineNum = 93;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,__ref.getField(true,"_arrowssize" /*RemoteObject*/ )}, "-",1, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(2)}, "/",0, 0))),(Object)(__ref.getField(true,"_arrowssize" /*RemoteObject*/ ))); + BA.debugLineNum = 94;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width / 2, pnlMinus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(2)}, "/",0, 0))),(Object)(__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runMethod(true,"getTop")),(Object)(__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 95;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,__ref.getField(true,"_arrowssize" /*RemoteObject*/ ),b4xplusminus.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))}, "-+",2, 0)))); + }} +; + BA.debugLineNum = 97;BA.debugLine="lblMinus.SetLayoutAnimated(0, 0, 0, pnlMinus.Widt"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblminus" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 98;BA.debugLine="lblPlus.SetLayoutAnimated(0, 0, 0, pnlPlus.Width,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblplus" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; +b4xplusminus._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xplusminus._meventname); + //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xplusminus._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xplusminus._mcallback); + //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xplusminus._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xplusminus._mbase); + //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; +b4xplusminus._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xplusminus._xui); + //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; +b4xplusminus._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xplusminus._tag); + //BA.debugLineNum = 12;BA.debugLine="Public pnlPlus, pnlMinus As B4XView"; +b4xplusminus._pnlplus = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnlplus",b4xplusminus._pnlplus); +b4xplusminus._pnlminus = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnlminus",b4xplusminus._pnlminus); + //BA.debugLineNum = 13;BA.debugLine="Public lblPlus, lblMinus As B4XView"; +b4xplusminus._lblplus = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblplus",b4xplusminus._lblplus); +b4xplusminus._lblminus = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblminus",b4xplusminus._lblminus); + //BA.debugLineNum = 14;BA.debugLine="Public Formation As String"; +b4xplusminus._formation = RemoteObject.createImmutable("");__ref.setField("_formation",b4xplusminus._formation); + //BA.debugLineNum = 15;BA.debugLine="Public mCyclic As Boolean"; +b4xplusminus._mcyclic = RemoteObject.createImmutable(false);__ref.setField("_mcyclic",b4xplusminus._mcyclic); + //BA.debugLineNum = 16;BA.debugLine="Public mRapid As Boolean"; +b4xplusminus._mrapid = RemoteObject.createImmutable(false);__ref.setField("_mrapid",b4xplusminus._mrapid); + //BA.debugLineNum = 17;BA.debugLine="Public MainLabel As B4XView"; +b4xplusminus._mainlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mainlabel",b4xplusminus._mainlabel); + //BA.debugLineNum = 18;BA.debugLine="Public ArrowsSize As Int = 30dip"; +b4xplusminus._arrowssize = b4xplusminus.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)));__ref.setField("_arrowssize",b4xplusminus._arrowssize); + //BA.debugLineNum = 19;BA.debugLine="Private mStringItems As List"; +b4xplusminus._mstringitems = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_mstringitems",b4xplusminus._mstringitems); + //BA.debugLineNum = 20;BA.debugLine="Private mStartRange, mInterval, mEndRange As Doub"; +b4xplusminus._mstartrange = RemoteObject.createImmutable(0);__ref.setField("_mstartrange",b4xplusminus._mstartrange); +b4xplusminus._minterval = RemoteObject.createImmutable(0);__ref.setField("_minterval",b4xplusminus._minterval); +b4xplusminus._mendrange = RemoteObject.createImmutable(0);__ref.setField("_mendrange",b4xplusminus._mendrange); + //BA.debugLineNum = 21;BA.debugLine="Private mSelectedIndex As Int = -1"; +b4xplusminus._mselectedindex = BA.numberCast(int.class, -(double) (0 + 1));__ref.setField("_mselectedindex",b4xplusminus._mselectedindex); + //BA.debugLineNum = 22;BA.debugLine="Private LoopIndex As Int"; +b4xplusminus._loopindex = RemoteObject.createImmutable(0);__ref.setField("_loopindex",b4xplusminus._loopindex); + //BA.debugLineNum = 23;BA.debugLine="Public RapidPeriod1 As Int = 1000"; +b4xplusminus._rapidperiod1 = BA.numberCast(int.class, 1000);__ref.setField("_rapidperiod1",b4xplusminus._rapidperiod1); + //BA.debugLineNum = 24;BA.debugLine="Public RapidPeriod2 As Int = 30"; +b4xplusminus._rapidperiod2 = BA.numberCast(int.class, 30);__ref.setField("_rapidperiod2",b4xplusminus._rapidperiod2); + //BA.debugLineNum = 25;BA.debugLine="Public Formatter As B4XFormatter"; +b4xplusminus._formatter = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xformatter");__ref.setField("_formatter",b4xplusminus._formatter); + //BA.debugLineNum = 26;BA.debugLine="Private StringMode As Boolean"; +b4xplusminus._stringmode = RemoteObject.createImmutable(false);__ref.setField("_stringmode",b4xplusminus._stringmode); + //BA.debugLineNum = 27;BA.debugLine="Private Size As Int"; +b4xplusminus._size = RemoteObject.createImmutable(0);__ref.setField("_size",b4xplusminus._size); + //BA.debugLineNum = 28;BA.debugLine="Public mHaptic As Boolean"; +b4xplusminus._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",b4xplusminus._mhaptic); + //BA.debugLineNum = 29;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlabel(RemoteObject __ref,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("CreateLabel (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,247); +if (RapidSub.canDelegate("createlabel")) { return __ref.runUserSub(false, "b4xplusminus","createlabel", __ref, _text);} +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("text", _text); + BA.debugLineNum = 247;BA.debugLine="Private Sub CreateLabel (text As String) As B4XVie"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 248;BA.debugLine="Dim lbl As Label"; +Debug.JustUpdateDeviceLine(); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 249;BA.debugLine="lbl.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 250;BA.debugLine="Dim xlbl As B4XView = lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 251;BA.debugLine="xlbl.Font = xui.CreateMaterialIcons(30)"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(false,"setFont",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateMaterialIcons",(Object)(BA.numberCast(float.class, 30)))); + BA.debugLineNum = 252;BA.debugLine="xlbl.Text = text"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 253;BA.debugLine="xlbl.TextColor = MainLabel.TextColor"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setTextColor",__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runMethod(true,"getTextColor")); + BA.debugLineNum = 254;BA.debugLine="Return xlbl"; +Debug.JustUpdateDeviceLine(); +if (true) return _xlbl; + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _decrement(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Decrement (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,182); +if (RapidSub.canDelegate("decrement")) { return __ref.runUserSub(false, "b4xplusminus","decrement", __ref);} + BA.debugLineNum = 182;BA.debugLine="Public Sub Decrement"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 183;BA.debugLine="If mSelectedIndex <= 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 184;BA.debugLine="If mCyclic Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mcyclic" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 185;BA.debugLine="mSelectedIndex = Size"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,__ref.getField(true,"_size" /*RemoteObject*/ )); + }else { + BA.debugLineNum = 187;BA.debugLine="mSelectedIndex = 0"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 188;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 189;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + }; + BA.debugLineNum = 192;BA.debugLine="SetIndex(mSelectedIndex - 1, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)),(Object)(b4xplusminus.__c.getField(true,"True"))); + BA.debugLineNum = 193;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4xplusminus","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 38;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 40;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 40;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 41;BA.debugLine="MainLabel = lbl"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).setObject (_lbl.getObject()); + BA.debugLineNum = 42;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 43;BA.debugLine="Dim pnl As B4XView = Props.Get(\"page\")"; +Debug.JustUpdateDeviceLine(); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("page")))));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 53;BA.debugLine="pnlPlus = xui.CreatePanel(\"pnlArrow\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pnlplus" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pnlArrow")))); + BA.debugLineNum = 54;BA.debugLine="pnlMinus = xui.CreatePanel(\"pnlArrow\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pnlminus" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pnlArrow")))); + BA.debugLineNum = 56;BA.debugLine="pnlPlus.Tag = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).runMethod(false,"setTag",(b4xplusminus.__c.getField(true,"True"))); + BA.debugLineNum = 57;BA.debugLine="pnlMinus.Tag = False"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runMethod(false,"setTag",(b4xplusminus.__c.getField(true,"False"))); + BA.debugLineNum = 58;BA.debugLine="Formation = Props.Get(\"Orientation\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_formation" /*RemoteObject*/ ,BA.ObjectToString(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Orientation")))))); + BA.debugLineNum = 59;BA.debugLine="mCyclic = Props.Get(\"Cyclic\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcyclic" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Cyclic")))))); + BA.debugLineNum = 60;BA.debugLine="mRapid = Props.Get(\"Rapid\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mrapid" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Rapid")))))); + BA.debugLineNum = 61;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mhaptic" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("HapticFeedback"))),(Object)((b4xplusminus.__c.getField(true,"False")))))); + BA.debugLineNum = 62;BA.debugLine="Formatter.GetDefaultFormat.FormatFont = MainLabel"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_getdefaultformat" /*RemoteObject*/ ).setField ("FormatFont" /*RemoteObject*/ ,__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runMethod(false,"getFont")); + BA.debugLineNum = 63;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_getdefaultformat" /*RemoteObject*/ ).setField ("TextColor" /*RemoteObject*/ ,__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runMethod(true,"getTextColor")); + BA.debugLineNum = 64;BA.debugLine="If Formation = \"Horizontal\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_formation" /*RemoteObject*/ ),BA.ObjectToString("Horizontal"))) { + BA.debugLineNum = 65;BA.debugLine="lblPlus = CreateLabel(Chr(0xE315))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblplus" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_createlabel" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xplusminus.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe315)))))))); + BA.debugLineNum = 66;BA.debugLine="lblMinus = CreateLabel(Chr(0xE314))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblminus" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_createlabel" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xplusminus.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe314)))))))); + }else { + BA.debugLineNum = 68;BA.debugLine="lblPlus = CreateLabel(Chr(0xE316))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblplus" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_createlabel" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xplusminus.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe316)))))))); + BA.debugLineNum = 69;BA.debugLine="lblMinus = CreateLabel(Chr(0xE313))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblminus" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_createlabel" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xplusminus.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe313)))))))); + }; + BA.debugLineNum = 71;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblminus" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 72;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblplus" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 73;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 74;BA.debugLine="mBase.AddView(MainLabel, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 75;BA.debugLine="mBase.AddView(pnlPlus, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 76;BA.debugLine="mBase.AddView(pnlMinus, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 77;BA.debugLine="pnlPlus.AddView(lblPlus, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_lblplus" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 78;BA.debugLine="pnlMinus.AddView(lblMinus, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_lblminus" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 79;BA.debugLine="SetIndex(-1, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, -(double) (0 + 1))),(Object)(b4xplusminus.__c.getField(true,"False"))); + BA.debugLineNum = 80;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 81;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getselectedvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSelectedValue (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,117); +if (RapidSub.canDelegate("getselectedvalue")) { return __ref.runUserSub(false, "b4xplusminus","getselectedvalue", __ref);} + BA.debugLineNum = 117;BA.debugLine="Public Sub getSelectedValue As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 118;BA.debugLine="Return GetValueImpl (mSelectedIndex)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_getvalueimpl" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ))); + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalueimpl(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("GetValueImpl (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,130); +if (RapidSub.canDelegate("getvalueimpl")) { return __ref.runUserSub(false, "b4xplusminus","getvalueimpl", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 130;BA.debugLine="Private Sub GetValueImpl (Index As Int) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 131;BA.debugLine="If StringMode Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_stringmode" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 132;BA.debugLine="Return mStringItems.Get(Index)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mstringitems" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_index)); + }else { + BA.debugLineNum = 134;BA.debugLine="If Index = Size - 1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_index,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)))) { + BA.debugLineNum = 135;BA.debugLine="Return mEndRange"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(true,"_mendrange" /*RemoteObject*/ )); + }else { + BA.debugLineNum = 137;BA.debugLine="Return mStartRange + Index * mInterval"; +Debug.JustUpdateDeviceLine(); +if (true) return (RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mstartrange" /*RemoteObject*/ ),_index,__ref.getField(true,"_minterval" /*RemoteObject*/ )}, "+*",1, 0)); + }; + }; + BA.debugLineNum = 140;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _increment(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Increment (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,162); +if (RapidSub.canDelegate("increment")) { return __ref.runUserSub(false, "b4xplusminus","increment", __ref);} +RemoteObject _v1 = RemoteObject.createImmutable(0); +RemoteObject _v2 = RemoteObject.createImmutable(0); + BA.debugLineNum = 162;BA.debugLine="Public Sub Increment"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 163;BA.debugLine="If mSelectedIndex = Size - 3 And StringMode = Fal"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(3)}, "-",1, 1))) && RemoteObject.solveBoolean("=",__ref.getField(true,"_stringmode" /*RemoteObject*/ ),b4xplusminus.__c.getField(true,"False"))) { + BA.debugLineNum = 164;BA.debugLine="Dim v1 As Double = GetValueImpl(mSelectedIndex +"; +Debug.JustUpdateDeviceLine(); +_v1 = BA.numberCast(double.class, __ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_getvalueimpl" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1))));Debug.locals.put("v1", _v1);Debug.locals.put("v1", _v1); + BA.debugLineNum = 165;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; +Debug.JustUpdateDeviceLine(); +_v2 = BA.numberCast(double.class, __ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_getvalueimpl" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "+",1, 1))));Debug.locals.put("v2", _v2);Debug.locals.put("v2", _v2); + BA.debugLineNum = 166;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(_v1)),__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(_v2)))) { + BA.debugLineNum = 167;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + }; + }; + BA.debugLineNum = 170;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)))) { + BA.debugLineNum = 171;BA.debugLine="If mCyclic Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mcyclic" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 172;BA.debugLine="mSelectedIndex = -1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,BA.numberCast(int.class, -(double) (0 + 1))); + }else { + BA.debugLineNum = 174;BA.debugLine="mSelectedIndex = Size - 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)); + BA.debugLineNum = 175;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 176;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + }; + BA.debugLineNum = 179;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)),(Object)(b4xplusminus.__c.getField(true,"True"))); + BA.debugLineNum = 180;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,31); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xplusminus","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 31;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 32;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 33;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 34;BA.debugLine="Formatter.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _internalsettextorcsbuildertolabel(RemoteObject __ref,RemoteObject _xlbl,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("InternalSetTextOrCSBuilderToLabel (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,257); +if (RapidSub.canDelegate("internalsettextorcsbuildertolabel")) { return __ref.runUserSub(false, "b4xplusminus","internalsettextorcsbuildertolabel", __ref, _xlbl, _text);} +Debug.locals.put("xlbl", _xlbl); +Debug.locals.put("Text", _text); + BA.debugLineNum = 257;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 259;BA.debugLine="xlbl.Text = Text"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 269;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pnlarrow_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("pnlArrow_Touch (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,195); +if (RapidSub.canDelegate("pnlarrow_touch")) { return __ref.runUserSub(false, "b4xplusminus","pnlarrow_touch", __ref, _action, _x, _y);} +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 195;BA.debugLine="Private Sub pnlArrow_Touch (Action As Int, X As Fl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 196;BA.debugLine="Touch(Action = lblPlus.TOUCH_ACTION_DOWN, Action"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_touch" /*RemoteObject*/ ,(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_lblplus" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_DOWN"))))),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("!",_action,BA.numberCast(double.class, __ref.getField(false,"_lblplus" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE"))))),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xplusminus.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))); + BA.debugLineNum = 197;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setindex(RemoteObject __ref,RemoteObject _i,RemoteObject _raiseevent) throws Exception{ +try { + Debug.PushSubsStack("SetIndex (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,142); +if (RapidSub.canDelegate("setindex")) { return __ref.runUserSub(false, "b4xplusminus","setindex", __ref, _i, _raiseevent);} +RemoteObject _value = RemoteObject.declareNull("Object"); +Debug.locals.put("i", _i); +Debug.locals.put("RaiseEvent", _raiseevent); + BA.debugLineNum = 142;BA.debugLine="Private Sub SetIndex(i As Int, RaiseEvent As Boole"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 143;BA.debugLine="If i >= Size Then i = -1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_i,BA.numberCast(double.class, __ref.getField(true,"_size" /*RemoteObject*/ )))) { +_i = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("i", _i);}; + BA.debugLineNum = 144;BA.debugLine="mSelectedIndex = i"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,_i); + BA.debugLineNum = 145;BA.debugLine="If mSelectedIndex = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 146;BA.debugLine="MainLabel.Text = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + }else { + BA.debugLineNum = 148;BA.debugLine="Dim value As Object = GetValueImpl (mSelectedInd"; +Debug.JustUpdateDeviceLine(); +_value = __ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_getvalueimpl" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mselectedindex" /*RemoteObject*/ )));Debug.locals.put("value", _value);Debug.locals.put("value", _value); + BA.debugLineNum = 149;BA.debugLine="If StringMode Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_stringmode" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 150;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_internalsettextorcsbuildertolabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mainlabel" /*RemoteObject*/ )),(Object)(_value)); + }else { + BA.debugLineNum = 152;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, _value))))); + }; + BA.debugLineNum = 154;BA.debugLine="If RaiseEvent And xui.SubExists(mCallBack, mEven"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_raiseevent) && RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_valuechanged"))),(Object)(BA.numberCast(int.class, 1))))) { + BA.debugLineNum = 155;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; +Debug.JustUpdateDeviceLine(); +b4xplusminus.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_valuechanged"))),(Object)(_value)); + }; + }; + BA.debugLineNum = 158;BA.debugLine="lblPlus.Enabled = Size > 0 And (mCyclic Or mSelec"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblplus" /*RemoteObject*/ ).runMethod(true,"setEnabled",BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(true,"_size" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(true,"_mcyclic" /*RemoteObject*/ )) || RemoteObject.solveBoolean("<",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)))))))); + BA.debugLineNum = 159;BA.debugLine="lblMinus.Enabled = Size > 0 And (mCyclic Or mSele"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblminus" /*RemoteObject*/ ).runMethod(true,"setEnabled",BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(true,"_size" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(true,"_mcyclic" /*RemoteObject*/ )) || RemoteObject.solveBoolean(">",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, 0))))))); + BA.debugLineNum = 160;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setnumericrange(RemoteObject __ref,RemoteObject _startrange,RemoteObject _endrange,RemoteObject _interval) throws Exception{ +try { + Debug.PushSubsStack("SetNumericRange (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,108); +if (RapidSub.canDelegate("setnumericrange")) { return __ref.runUserSub(false, "b4xplusminus","setnumericrange", __ref, _startrange, _endrange, _interval);} +Debug.locals.put("StartRange", _startrange); +Debug.locals.put("EndRange", _endrange); +Debug.locals.put("Interval", _interval); + BA.debugLineNum = 108;BA.debugLine="Public Sub SetNumericRange (StartRange As Double,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 109;BA.debugLine="Size = Ceil((EndRange - StartRange) / Interval) +"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_size" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {b4xplusminus.__c.runMethod(true,"Ceil",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_endrange,_startrange}, "-",1, 0)),_interval}, "/",0, 0))),RemoteObject.createImmutable(1)}, "+",1, 0))); + BA.debugLineNum = 110;BA.debugLine="mStartRange = StartRange"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mstartrange" /*RemoteObject*/ ,_startrange); + BA.debugLineNum = 111;BA.debugLine="mEndRange = EndRange"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mendrange" /*RemoteObject*/ ,_endrange); + BA.debugLineNum = 112;BA.debugLine="mInterval = Interval"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_minterval" /*RemoteObject*/ ,_interval); + BA.debugLineNum = 113;BA.debugLine="StringMode = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_stringmode" /*RemoteObject*/ ,b4xplusminus.__c.getField(true,"False")); + BA.debugLineNum = 114;BA.debugLine="SetIndex(0, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0)),(Object)(b4xplusminus.__c.getField(true,"False"))); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setselectedvalue(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("setSelectedValue (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,121); +if (RapidSub.canDelegate("setselectedvalue")) { return __ref.runUserSub(false, "b4xplusminus","setselectedvalue", __ref, _v);} +RemoteObject _n = RemoteObject.createImmutable(0); +Debug.locals.put("v", _v); + BA.debugLineNum = 121;BA.debugLine="Public Sub setSelectedValue (v As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 122;BA.debugLine="If StringMode Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_stringmode" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 123;BA.debugLine="SetIndex(mStringItems.IndexOf(v), False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mstringitems" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_v))),(Object)(b4xplusminus.__c.getField(true,"False"))); + }else { + BA.debugLineNum = 125;BA.debugLine="Dim n As Double = v"; +Debug.JustUpdateDeviceLine(); +_n = BA.numberCast(double.class, _v);Debug.locals.put("n", _n);Debug.locals.put("n", _n); + BA.debugLineNum = 126;BA.debugLine="SetIndex(Min(Size - 1, Max(0, Round((n - mStartR"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, b4xplusminus.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1))),(Object)(b4xplusminus.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(BA.numberCast(double.class, b4xplusminus.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_n,__ref.getField(true,"_mstartrange" /*RemoteObject*/ )}, "-",1, 0)),__ref.getField(true,"_minterval" /*RemoteObject*/ )}, "/",0, 0)))))))))),(Object)(b4xplusminus.__c.getField(true,"False"))); + }; + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setstringitems(RemoteObject __ref,RemoteObject _list) throws Exception{ +try { + Debug.PushSubsStack("SetStringItems (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,101); +if (RapidSub.canDelegate("setstringitems")) { return __ref.runUserSub(false, "b4xplusminus","setstringitems", __ref, _list);} +Debug.locals.put("list", _list); + BA.debugLineNum = 101;BA.debugLine="Public Sub SetStringItems (list As List)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 102;BA.debugLine="mStringItems = list"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mstringitems" /*RemoteObject*/ ,_list); + BA.debugLineNum = 103;BA.debugLine="StringMode = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_stringmode" /*RemoteObject*/ ,b4xplusminus.__c.getField(true,"True")); + BA.debugLineNum = 104;BA.debugLine="Size = mStringItems.Size"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_size" /*RemoteObject*/ ,__ref.getField(false,"_mstringitems" /*RemoteObject*/ ).runMethod(true,"getSize")); + BA.debugLineNum = 105;BA.debugLine="SetIndex(-1, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, -(double) (0 + 1))),(Object)(b4xplusminus.__c.getField(true,"False"))); + BA.debugLineNum = 106;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _startdownloop(RemoteObject __ref,RemoteObject _up) throws Exception{ +try { + Debug.PushSubsStack("StartDownLoop (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,234); +if (RapidSub.canDelegate("startdownloop")) { __ref.runUserSub(false, "b4xplusminus","startdownloop", __ref, _up); return;} +ResumableSub_StartDownLoop rsub = new ResumableSub_StartDownLoop(null,__ref,_up); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_StartDownLoop extends BA.ResumableSub { +public ResumableSub_StartDownLoop(gunav2.keymon.com.mx.b4xplusminus parent,RemoteObject __ref,RemoteObject _up) { +this.parent = parent; +this.__ref = __ref; +this._up = _up; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xplusminus parent; +RemoteObject _up; +RemoteObject _myindex = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartDownLoop (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,234); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Up", _up); + BA.debugLineNum = 235;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 236;BA.debugLine="If mRapid = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mrapid" /*RemoteObject*/ ),parent.__c.getField(true,"False"))) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +if (true) return ; +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 237;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_loopindex" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 238;BA.debugLine="Sleep(RapidPeriod1)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xplusminus", "startdownloop"),__ref.getField(true,"_rapidperiod1" /*RemoteObject*/ )); +this.state = 19; +return; +case 19: +//C +this.state = 7; +; + BA.debugLineNum = 239;BA.debugLine="Do While MyIndex = LoopIndex"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 7: +//do while +this.state = 18; +while (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 9; +if (true) break; +} +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 240;BA.debugLine="If Up Then Increment Else Decrement"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 10: +//if +this.state = 17; +if (_up.get().booleanValue()) { +this.state = 12; +;} +else { +this.state = 14; +;}if (true) break; + +case 12: +//C +this.state = 17; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_increment" /*RemoteObject*/ ); +if (true) break; + +case 14: +//C +this.state = 17; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_decrement" /*RemoteObject*/ ); +if (true) break; + +case 17: +//C +this.state = 7; +; + BA.debugLineNum = 241;BA.debugLine="Sleep(RapidPeriod2)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xplusminus", "startdownloop"),__ref.getField(true,"_rapidperiod2" /*RemoteObject*/ )); +this.state = 20; +return; +case 20: +//C +this.state = 7; +; + if (true) break; + +case 18: +//C +this.state = -1; +; + BA.debugLineNum = 243;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _touch(RemoteObject __ref,RemoteObject _start,RemoteObject _stop,RemoteObject _pnl) throws Exception{ +try { + Debug.PushSubsStack("Touch (b4xplusminus) ","b4xplusminus",61,__ref.getField(false, "ba"),__ref,199); +if (RapidSub.canDelegate("touch")) { return __ref.runUserSub(false, "b4xplusminus","touch", __ref, _start, _stop, _pnl);} +Debug.locals.put("Start", _start); +Debug.locals.put("Stop", _stop); +Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 199;BA.debugLine="Private Sub Touch (Start As Boolean, Stop As Boole"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 200;BA.debugLine="If pnl.GetView(0).Enabled = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runMethod(true,"getEnabled"),b4xplusminus.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 201;BA.debugLine="If Start Then"; +Debug.JustUpdateDeviceLine(); +if (_start.get().booleanValue()) { + BA.debugLineNum = 202;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mhaptic" /*RemoteObject*/ ).get().booleanValue()) { +b4xplusminus._xuiviewsutils.runVoidMethod ("_performhapticfeedback" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_pnl));}; + BA.debugLineNum = 203;BA.debugLine="If pnl.Tag = True Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_pnl.runMethod(false,"getTag"),(b4xplusminus.__c.getField(true,"True")))) { + BA.debugLineNum = 204;BA.debugLine="Increment"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_increment" /*RemoteObject*/ ); + BA.debugLineNum = 205;BA.debugLine="StartDownLoop(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_startdownloop" /*void*/ ,(Object)(b4xplusminus.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 207;BA.debugLine="Decrement"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_decrement" /*RemoteObject*/ ); + BA.debugLineNum = 208;BA.debugLine="StartDownLoop(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xplusminus.class, "_startdownloop" /*void*/ ,(Object)(b4xplusminus.__c.getField(true,"False"))); + }; + }else +{ BA.debugLineNum = 210;BA.debugLine="Else If Stop Then"; +Debug.JustUpdateDeviceLine(); +if (_stop.get().booleanValue()) { + BA.debugLineNum = 211;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + }} +; + BA.debugLineNum = 213;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xradiobutton.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xradiobutton.java new file mode 100644 index 0000000..38d5750 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xradiobutton.java @@ -0,0 +1,50 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xradiobutton { + public static RemoteObject myClass; + public b4xradiobutton() { + } + public static PCBA staticBA = new PCBA(null, b4xradiobutton.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _oncolor = RemoteObject.createImmutable(0); +public static RemoteObject _offcolor = RemoteObject.createImmutable(0); +public static RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(false); +public static RemoteObject _transparent = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _loopindex = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _onbrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _offbrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _menabled = RemoteObject.createImmutable(false); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _size = RemoteObject.createImmutable(0); +public static RemoteObject _mlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _scale = RemoteObject.createImmutable(0f); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"DateUtils",_ref.getField(false, "_dateutils"),"iv",_ref.getField(false, "_iv"),"LoopIndex",_ref.getField(false, "_loopindex"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEnabled",_ref.getField(false, "_menabled"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"mLabel",_ref.getField(false, "_mlabel"),"mValue",_ref.getField(false, "_mvalue"),"OffBrush",_ref.getField(false, "_offbrush"),"OffColor",_ref.getField(false, "_offcolor"),"OnBrush",_ref.getField(false, "_onbrush"),"OnColor",_ref.getField(false, "_oncolor"),"pnl",_ref.getField(false, "_pnl"),"Scale",_ref.getField(false, "_scale"),"Size",_ref.getField(false, "_size"),"Tag",_ref.getField(false, "_tag"),"transparent",_ref.getField(false, "_transparent"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xradiobutton_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xradiobutton_subs_0.java new file mode 100644 index 0000000..daaa50c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xradiobutton_subs_0.java @@ -0,0 +1,797 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xradiobutton_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width1,RemoteObject _height1) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xradiobutton","base_resize", __ref, _width1, _height1);} +RemoteObject _newsize = RemoteObject.createImmutable(0); +RemoteObject _gap = RemoteObject.createImmutable(0); +Debug.locals.put("Width1", _width1); +Debug.locals.put("Height1", _height1); + BA.debugLineNum = 59;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 60;BA.debugLine="Dim NewSize As Int = Max(5dip, Height1)"; +Debug.JustUpdateDeviceLine(); +_newsize = BA.numberCast(int.class, b4xradiobutton.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, b4xradiobutton.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5))))),(Object)(_height1)));Debug.locals.put("NewSize", _newsize);Debug.locals.put("NewSize", _newsize); + BA.debugLineNum = 61;BA.debugLine="If NewSize = Size Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_newsize,BA.numberCast(double.class, __ref.getField(true,"_size" /*RemoteObject*/ )))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 62;BA.debugLine="Size = NewSize"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_size" /*RemoteObject*/ ,_newsize); + BA.debugLineNum = 63;BA.debugLine="Dim gap As Int = 3dip"; +Debug.JustUpdateDeviceLine(); +_gap = b4xradiobutton.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("gap", _gap);Debug.locals.put("gap", _gap); + BA.debugLineNum = 65;BA.debugLine="bc.Initialize(NewSize - 2 * gap, NewSize - 2 * ga"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.solve(new RemoteObject[] {_newsize,RemoteObject.createImmutable(2),_gap}, "-*",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_newsize,RemoteObject.createImmutable(2),_gap}, "-*",1, 1))); + BA.debugLineNum = 66;BA.debugLine="Scale = xui.Scale"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_scale" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getScale")); + BA.debugLineNum = 71;BA.debugLine="iv.SetLayoutAnimated(0, gap, gap, Size - 2 * gap,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_iv" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(_gap),(Object)(_gap),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(2),_gap}, "-*",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(2),_gap}, "-*",1, 1))); + BA.debugLineNum = 72;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width1, Height1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width1)),(Object)(BA.numberCast(int.class, _height1))); + BA.debugLineNum = 73;BA.debugLine="mLabel.SetLayoutAnimated(0, Size + gap, 0, Width1"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mlabel" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),_gap}, "+",1, 1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width1,__ref.getField(true,"_size" /*RemoteObject*/ ),_gap}, "--",2, 0))),(Object)(BA.numberCast(int.class, _height1))); + BA.debugLineNum = 74;BA.debugLine="OnBrush = bc.CreateBrushFromColor(OnColor)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_onbrush" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(true,"_oncolor" /*RemoteObject*/ )))); + BA.debugLineNum = 75;BA.debugLine="OffBrush = bc.CreateBrushFromColor(OffColor)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_offbrush" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(true,"_offcolor" /*RemoteObject*/ )))); + BA.debugLineNum = 76;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_transparent" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")))); + BA.debugLineNum = 77;BA.debugLine="SetValueImpl(mValue, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_setvalueimpl" /*void*/ ,(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )),(Object)(b4xradiobutton.__c.getField(true,"True"))); + BA.debugLineNum = 78;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; +b4xradiobutton._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xradiobutton._meventname); + //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xradiobutton._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xradiobutton._mcallback); + //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xradiobutton._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xradiobutton._mbase); + //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; +b4xradiobutton._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xradiobutton._xui); + //BA.debugLineNum = 11;BA.debugLine="Public OnColor, OffColor As Int"; +b4xradiobutton._oncolor = RemoteObject.createImmutable(0);__ref.setField("_oncolor",b4xradiobutton._oncolor); +b4xradiobutton._offcolor = RemoteObject.createImmutable(0);__ref.setField("_offcolor",b4xradiobutton._offcolor); + //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; +b4xradiobutton._bc = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_bc",b4xradiobutton._bc); + //BA.debugLineNum = 13;BA.debugLine="Private iv As B4XView"; +b4xradiobutton._iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_iv",b4xradiobutton._iv); + //BA.debugLineNum = 14;BA.debugLine="Private mValue As Boolean"; +b4xradiobutton._mvalue = RemoteObject.createImmutable(false);__ref.setField("_mvalue",b4xradiobutton._mvalue); + //BA.debugLineNum = 15;BA.debugLine="Private transparent As BCBrush"; +b4xradiobutton._transparent = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_transparent",b4xradiobutton._transparent); + //BA.debugLineNum = 16;BA.debugLine="Private LoopIndex As Int"; +b4xradiobutton._loopindex = RemoteObject.createImmutable(0);__ref.setField("_loopindex",b4xradiobutton._loopindex); + //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; +b4xradiobutton._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xradiobutton._tag); + //BA.debugLineNum = 18;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; +b4xradiobutton._onbrush = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_onbrush",b4xradiobutton._onbrush); +b4xradiobutton._offbrush = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_offbrush",b4xradiobutton._offbrush); + //BA.debugLineNum = 19;BA.debugLine="Private mEnabled As Boolean = True"; +b4xradiobutton._menabled = b4xradiobutton.__c.getField(true,"True");__ref.setField("_menabled",b4xradiobutton._menabled); + //BA.debugLineNum = 20;BA.debugLine="Public mHaptic As Boolean"; +b4xradiobutton._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",b4xradiobutton._mhaptic); + //BA.debugLineNum = 21;BA.debugLine="Private Size As Int"; +b4xradiobutton._size = RemoteObject.createImmutable(0);__ref.setField("_size",b4xradiobutton._size); + //BA.debugLineNum = 22;BA.debugLine="Public mLabel As B4XView"; +b4xradiobutton._mlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mlabel",b4xradiobutton._mlabel); + //BA.debugLineNum = 23;BA.debugLine="Private pnl As B4XView"; +b4xradiobutton._pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnl",b4xradiobutton._pnl); + //BA.debugLineNum = 24;BA.debugLine="Private Scale As Float 'ignore"; +b4xradiobutton._scale = RemoteObject.createImmutable(0f);__ref.setField("_scale",b4xradiobutton._scale); + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,33); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4xradiobutton","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _iiv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 34;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 36;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 37;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pnl" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pnl")))); + BA.debugLineNum = 38;BA.debugLine="pnl.Color = xui.Color_Transparent"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnl" /*RemoteObject*/ ).runMethod(true,"setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + BA.debugLineNum = 39;BA.debugLine="Dim iiv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iiv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iiv", _iiv); + BA.debugLineNum = 40;BA.debugLine="iiv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_iiv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 41;BA.debugLine="iv = iiv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_iv" /*RemoteObject*/ ).setObject (_iiv.getObject()); + BA.debugLineNum = 42;BA.debugLine="mBase.AddView(iv, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_iv" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 43;BA.debugLine="mLabel = Lbl"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mlabel" /*RemoteObject*/ ).setObject (_lbl.getObject()); + BA.debugLineNum = 44;BA.debugLine="mLabel.SetTextAlignment(\"CENTER\", \"LEFT\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mlabel" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("LEFT"))); + BA.debugLineNum = 45;BA.debugLine="mBase.AddView(mLabel, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_mlabel" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 46;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_pnl" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 48;BA.debugLine="OnColor = xui.PaintOrColorToColor(Props.Get(\"OnCo"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_oncolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("OnColor"))))))); + BA.debugLineNum = 49;BA.debugLine="OffColor = xui.PaintOrColorToColor(Props.Get(\"Off"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_offcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("OffColor"))))))); + BA.debugLineNum = 50;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mhaptic" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("HapticFeedback"))),(Object)((b4xradiobutton.__c.getField(true,"False")))))); + BA.debugLineNum = 52;BA.debugLine="mEnabled = mBase.Enabled"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_menabled" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getEnabled")); + BA.debugLineNum = 53;BA.debugLine="mBase.Enabled = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setEnabled",b4xradiobutton.__c.getField(true,"True")); + BA.debugLineNum = 54;BA.debugLine="mValue = Props.Get(\"Value\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Value")))))); + BA.debugLineNum = 55;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 56;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref,RemoteObject _state) throws Exception{ +try { + Debug.PushSubsStack("Draw (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,153); +if (RapidSub.canDelegate("draw")) { return __ref.runUserSub(false, "b4xradiobutton","draw", __ref, _state);} +RemoteObject _r = RemoteObject.createImmutable(0f); +Debug.locals.put("State", _state); + BA.debugLineNum = 153;BA.debugLine="Private Sub Draw (State As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 154;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawrect2",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(false,"_targetrect")),(Object)(__ref.getField(false,"_transparent" /*RemoteObject*/ )),(Object)(b4xradiobutton.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 155;BA.debugLine="Dim r As Float = Floor(bc.mHeight / 2)"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, b4xradiobutton.__c.runMethod(true,"Floor",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mheight"),RemoteObject.createImmutable(2)}, "/",0, 0))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 156;BA.debugLine="If State < 1 Then bc.DrawCircle2(r, r, r, OffBrus"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_state,BA.numberCast(double.class, 1))) { +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawcircle2",(Object)(_r),(Object)(_r),(Object)(_r),(Object)(__ref.getField(false,"_offbrush" /*RemoteObject*/ )),(Object)(b4xradiobutton.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0)));}; + BA.debugLineNum = 157;BA.debugLine="If State > 0 Then bc.DrawCircle2(r, r, r * State,"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_state,BA.numberCast(double.class, 0))) { +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawcircle2",(Object)(_r),(Object)(_r),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_state}, "*",0, 0))),(Object)(__ref.getField(false,"_onbrush" /*RemoteObject*/ )),(Object)(b4xradiobutton.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0)));}; + BA.debugLineNum = 158;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_setbitmaptoimageview",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_getbitmap")),(Object)(__ref.getField(false,"_iv" /*RemoteObject*/ ))); + BA.debugLineNum = 159;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getchecked(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getChecked (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,140); +if (RapidSub.canDelegate("getchecked")) { return __ref.runUserSub(false, "b4xradiobutton","getchecked", __ref);} + BA.debugLineNum = 140;BA.debugLine="Public Sub getChecked As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 141;BA.debugLine="Return mValue"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mvalue" /*RemoteObject*/ ); + BA.debugLineNum = 142;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getenabled(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getEnabled (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,149); +if (RapidSub.canDelegate("getenabled")) { return __ref.runUserSub(false, "b4xradiobutton","getenabled", __ref);} + BA.debugLineNum = 149;BA.debugLine="Public Sub getEnabled As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 150;BA.debugLine="Return mEnabled"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_menabled" /*RemoteObject*/ ); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettext(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getText (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,165); +if (RapidSub.canDelegate("gettext")) { return __ref.runUserSub(false, "b4xradiobutton","gettext", __ref);} + BA.debugLineNum = 165;BA.debugLine="Public Sub getText As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 166;BA.debugLine="Return mLabel.Text"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_mlabel" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 167;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,27); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xradiobutton","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 30;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pnl_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("pnl_Click (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,86); +if (RapidSub.canDelegate("pnl_click")) { return __ref.runUserSub(false, "b4xradiobutton","pnl_click", __ref);} + BA.debugLineNum = 86;BA.debugLine="Private Sub pnl_Click"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 88;BA.debugLine="If mValue Then Return"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mvalue" /*RemoteObject*/ ).get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 89;BA.debugLine="If mEnabled Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_menabled" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 90;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mhaptic" /*RemoteObject*/ ).get().booleanValue()) { +b4xradiobutton._xuiviewsutils.runVoidMethod ("_performhapticfeedback" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )));}; + BA.debugLineNum = 91;BA.debugLine="SetValueImpl(Not(mValue), False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_setvalueimpl" /*void*/ ,(Object)(b4xradiobutton.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )))),(Object)(b4xradiobutton.__c.getField(true,"False"))); + BA.debugLineNum = 92;BA.debugLine="If mValue And xui.SubExists(mCallBack, mEventNam"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(true,"_mvalue" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Checked"))),(Object)(BA.numberCast(int.class, 0))))) { + BA.debugLineNum = 93;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; +Debug.JustUpdateDeviceLine(); +b4xradiobutton.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Checked")))); + }; + }; + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setchecked(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setChecked (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,135); +if (RapidSub.canDelegate("setchecked")) { return __ref.runUserSub(false, "b4xradiobutton","setchecked", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 135;BA.debugLine="Public Sub setChecked(b As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 136;BA.debugLine="If b = mValue Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_b,__ref.getField(true,"_mvalue" /*RemoteObject*/ ))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 137;BA.debugLine="SetValueImpl(b, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_setvalueimpl" /*void*/ ,(Object)(_b),(Object)(b4xradiobutton.__c.getField(true,"False"))); + BA.debugLineNum = 138;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setenabled(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setEnabled (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,144); +if (RapidSub.canDelegate("setenabled")) { return __ref.runUserSub(false, "b4xradiobutton","setenabled", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 144;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 145;BA.debugLine="mEnabled = b"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_menabled" /*RemoteObject*/ ,_b); + BA.debugLineNum = 146;BA.debugLine="SetValueImpl(mValue, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_setvalueimpl" /*void*/ ,(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )),(Object)(b4xradiobutton.__c.getField(true,"True"))); + BA.debugLineNum = 147;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settext(RemoteObject __ref,RemoteObject _t) throws Exception{ +try { + Debug.PushSubsStack("setText (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,161); +if (RapidSub.canDelegate("settext")) { return __ref.runUserSub(false, "b4xradiobutton","settext", __ref, _t);} +Debug.locals.put("t", _t); + BA.debugLineNum = 161;BA.debugLine="Public Sub setText (t As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 162;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(mLabel, t"; +Debug.JustUpdateDeviceLine(); +b4xradiobutton._xuiviewsutils.runVoidMethod ("_settextorcsbuildertolabel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mlabel" /*RemoteObject*/ )),(Object)(_t)); + BA.debugLineNum = 163;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _setvalueimpl(RemoteObject __ref,RemoteObject _b,RemoteObject _immediate) throws Exception{ +try { + Debug.PushSubsStack("SetValueImpl (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("setvalueimpl")) { __ref.runUserSub(false, "b4xradiobutton","setvalueimpl", __ref, _b, _immediate); return;} +ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(null,__ref,_b,_immediate); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_SetValueImpl extends BA.ResumableSub { +public ResumableSub_SetValueImpl(gunav2.keymon.com.mx.b4xradiobutton parent,RemoteObject __ref,RemoteObject _b,RemoteObject _immediate) { +this.parent = parent; +this.__ref = __ref; +this._b = _b; +this._immediate = _immediate; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xradiobutton parent; +RemoteObject _b; +RemoteObject _immediate; +int _i = 0; +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _rb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xradiobutton"); +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _start = RemoteObject.createImmutable(0L); +RemoteObject _duration = RemoteObject.createImmutable(0); +RemoteObject _state1 = RemoteObject.createImmutable(0f); +int step3; +int limit3; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("SetValueImpl (b4xradiobutton) ","b4xradiobutton",62,__ref.getField(false, "ba"),__ref,98); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("b", _b); +Debug.locals.put("Immediate", _immediate); + BA.debugLineNum = 99;BA.debugLine="mValue = b"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,_b); + BA.debugLineNum = 100;BA.debugLine="If b = True Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_b,parent.__c.getField(true,"True"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 101;BA.debugLine="For i = 0 To mBase.Parent.NumberOfViews - 1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//for +this.state = 11; +step3 = 1; +limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getParent").runMethod(true,"getNumberOfViews"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 59; +if (true) break; + +case 59: +//C +this.state = 11; +if ((step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3)) this.state = 6; +if (true) break; + +case 60: +//C +this.state = 59; +_i = ((int)(0 + _i + step3)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 102;BA.debugLine="Dim v As B4XView = mBase.Parent.GetView(i)"; +Debug.JustUpdateDeviceLine(); +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_v = __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getParent").runMethod(false,"GetView",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("v", _v);Debug.locals.put("v", _v); + BA.debugLineNum = 103;BA.debugLine="If v <> mBase And v.Tag Is B4XRadioButton Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 7: +//if +this.state = 10; +if (RemoteObject.solveBoolean("!",_v,__ref.getField(false,"_mbase" /*RemoteObject*/ )) && RemoteObject.solveBoolean("i",_v.runMethod(false,"getTag"), RemoteObject.createImmutable("gunav2.keymon.com.mx.b4xradiobutton"))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 104;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; +Debug.JustUpdateDeviceLine(); +_rb = (_v.runMethod(false,"getTag"));Debug.locals.put("rb", _rb);Debug.locals.put("rb", _rb); + BA.debugLineNum = 105;BA.debugLine="rb.Checked = False"; +Debug.JustUpdateDeviceLine(); +_rb.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_setchecked" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 10: +//C +this.state = 60; +; + if (true) break; +if (true) break; + +case 11: +//C +this.state = 12; +Debug.locals.put("i", _i); +; + if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 109;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 110;BA.debugLine="If Immediate Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 13: +//if +this.state = 53; +if (_immediate.get().booleanValue()) { +this.state = 15; +}else { +this.state = 25; +}if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 111;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 16: +//if +this.state = 23; +if (__ref.getField(true,"_mvalue" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 18; +;} +else { +this.state = 20; +;}if (true) break; + +case 18: +//C +this.state = 23; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 20: +//C +this.state = 23; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 0))); +if (true) break; + +case 23: +//C +this.state = 53; +; + if (true) break; + +case 25: +//C +this.state = 26; + BA.debugLineNum = 113;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_loopindex" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 114;BA.debugLine="Dim start As Long = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_start = parent.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("start", _start);Debug.locals.put("start", _start); + BA.debugLineNum = 115;BA.debugLine="Dim duration As Int = 200"; +Debug.JustUpdateDeviceLine(); +_duration = BA.numberCast(int.class, 200);Debug.locals.put("duration", _duration);Debug.locals.put("duration", _duration); + BA.debugLineNum = 116;BA.debugLine="Do While DateTime.Now < start + duration"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 26: +//do while +this.state = 41; +while (RemoteObject.solveBoolean("<",parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.solve(new RemoteObject[] {_start,_duration}, "+",1, 2))) { +this.state = 28; +if (true) break; +} +if (true) break; + +case 28: +//C +this.state = 29; + BA.debugLineNum = 117;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +Debug.JustUpdateDeviceLine(); +_state1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),_start}, "-",1, 2)),_duration}, "/",0, 0));Debug.locals.put("state1", _state1);Debug.locals.put("state1", _state1); + BA.debugLineNum = 118;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 29: +//if +this.state = 34; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mvalue" /*RemoteObject*/ ),parent.__c.getField(true,"False"))) { +this.state = 31; +;}if (true) break; + +case 31: +//C +this.state = 34; +_state1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),_state1}, "-",1, 0));Debug.locals.put("state1", _state1); +if (true) break; + +case 34: +//C +this.state = 35; +; + BA.debugLineNum = 119;BA.debugLine="Draw(state1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(_state1)); + BA.debugLineNum = 120;BA.debugLine="Sleep(16)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xradiobutton", "setvalueimpl"),BA.numberCast(int.class, 16)); +this.state = 61; +return; +case 61: +//C +this.state = 35; +; + BA.debugLineNum = 121;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 35: +//if +this.state = 40; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 37; +;}if (true) break; + +case 37: +//C +this.state = 40; +this.state = 41; +if (true) break; +if (true) break; + +case 40: +//C +this.state = 26; +; + if (true) break; +; + BA.debugLineNum = 123;BA.debugLine="If MyIndex = LoopIndex Then"; +Debug.JustUpdateDeviceLine(); + +case 41: +//if +this.state = 52; +if (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 43; +}if (true) break; + +case 43: +//C +this.state = 44; + BA.debugLineNum = 124;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 44: +//if +this.state = 51; +if (__ref.getField(true,"_mvalue" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 46; +;} +else { +this.state = 48; +;}if (true) break; + +case 46: +//C +this.state = 51; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 48: +//C +this.state = 51; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 0))); +if (true) break; + +case 51: +//C +this.state = 52; +; + if (true) break; + +case 52: +//C +this.state = 53; +; + if (true) break; +; + BA.debugLineNum = 127;BA.debugLine="If mEnabled Then"; +Debug.JustUpdateDeviceLine(); + +case 53: +//if +this.state = 58; +if (__ref.getField(true,"_menabled" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 55; +}else { +this.state = 57; +}if (true) break; + +case 55: +//C +this.state = 58; + BA.debugLineNum = 128;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_setalpha" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, 1))); + if (true) break; + +case 57: +//C +this.state = 58; + BA.debugLineNum = 130;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.4)"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_setalpha" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, 0.4))); + if (true) break; + +case 58: +//C +this.state = -1; +; + BA.debugLineNum = 133;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsearchtemplate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsearchtemplate.java new file mode 100644 index 0000000..e234ce9 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsearchtemplate.java @@ -0,0 +1,48 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xsearchtemplate { + public static RemoteObject myClass; + public b4xsearchtemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xsearchtemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _xdialog = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xdialog"); +public static RemoteObject _searchfield = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xfloattextfield"); +public static RemoteObject _prefixlist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _substringlist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _texthighlightcolor = RemoteObject.createImmutable(0); +public static RemoteObject _itemhightlightcolor = RemoteObject.createImmutable(0); +public static RemoteObject _max_limit = RemoteObject.createImmutable(0); +public static RemoteObject _maxnumberofitemstoshow = RemoteObject.createImmutable(0); +public static RemoteObject _itemscache = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _allitems = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _selecteditem = RemoteObject.createImmutable(""); +public static RemoteObject _lastterm = RemoteObject.createImmutable(""); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _allowunlistedtext = RemoteObject.createImmutable(false); +public static RemoteObject _prefixonly = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AllItems",_ref.getField(false, "_allitems"),"AllowUnlistedText",_ref.getField(false, "_allowunlistedtext"),"CustomListView1",_ref.getField(false, "_customlistview1"),"DateUtils",_ref.getField(false, "_dateutils"),"IME",_ref.getField(false, "_ime"),"ItemHightlightColor",_ref.getField(false, "_itemhightlightcolor"),"ItemsCache",_ref.getField(false, "_itemscache"),"LastTerm",_ref.getField(false, "_lastterm"),"MAX_LIMIT",_ref.getField(false, "_max_limit"),"MaxNumberOfItemsToShow",_ref.getField(false, "_maxnumberofitemstoshow"),"mBase",_ref.getField(false, "_mbase"),"prefixList",_ref.getField(false, "_prefixlist"),"PrefixOnly",_ref.getField(false, "_prefixonly"),"SearchField",_ref.getField(false, "_searchfield"),"SelectedItem",_ref.getField(false, "_selecteditem"),"substringList",_ref.getField(false, "_substringlist"),"TextHighlightColor",_ref.getField(false, "_texthighlightcolor"),"xDialog",_ref.getField(false, "_xdialog"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0.java new file mode 100644 index 0000000..e88ad9a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsearchtemplate_subs_0.java @@ -0,0 +1,748 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xsearchtemplate_subs_0 { + + +public static RemoteObject _additemstolist(RemoteObject __ref,RemoteObject _li,RemoteObject _full) throws Exception{ +try { + Debug.PushSubsStack("AddItemsToList (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,128); +if (RapidSub.canDelegate("additemstolist")) { return __ref.runUserSub(false, "b4xsearchtemplate","additemstolist", __ref, _li, _full);} +int _i = 0; +RemoteObject _item = RemoteObject.createImmutable(""); +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _pnlcolor = RemoteObject.createImmutable(0); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("li", _li); +Debug.locals.put("full", _full); + BA.debugLineNum = 128;BA.debugLine="Private Sub AddItemsToList(li As List, full As Str"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 129;BA.debugLine="If li.IsInitialized = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_li.runMethod(true,"IsInitialized"),b4xsearchtemplate.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 134;BA.debugLine="For i = 0 To li.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step2 = 1; +final int limit2 = RemoteObject.solve(new RemoteObject[] {_li.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2) ;_i = ((int)(0 + _i + step2)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 135;BA.debugLine="If CustomListView1.Size >= MaxNumberOfItemsToSho"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(true,"_getsize"),BA.numberCast(double.class, __ref.getField(true,"_maxnumberofitemstoshow" /*RemoteObject*/ )))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 136;BA.debugLine="Dim item As String = li.Get(i)"; +Debug.JustUpdateDeviceLine(); +_item = BA.ObjectToString(_li.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("item", _item);Debug.locals.put("item", _item); + BA.debugLineNum = 137;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +Debug.JustUpdateDeviceLine(); +_x = _item.runMethod(true,"toLowerCase").runMethod(true,"indexOf",(Object)(_full));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 138;BA.debugLine="If x = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_x,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 139;BA.debugLine="Continue"; +Debug.JustUpdateDeviceLine(); +if (true) continue; + }; + BA.debugLineNum = 141;BA.debugLine="Dim pnlColor As Int"; +Debug.JustUpdateDeviceLine(); +_pnlcolor = RemoteObject.createImmutable(0);Debug.locals.put("pnlColor", _pnlcolor); + BA.debugLineNum = 142;BA.debugLine="If CustomListView1.Size = 0 And full.Length > 0"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(true,"_getsize"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",_full.runMethod(true,"length"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_allowunlistedtext" /*RemoteObject*/ ),b4xsearchtemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 143;BA.debugLine="pnlColor = ItemHightlightColor"; +Debug.JustUpdateDeviceLine(); +_pnlcolor = __ref.getField(true,"_itemhightlightcolor" /*RemoteObject*/ );Debug.locals.put("pnlColor", _pnlcolor); + }else { + BA.debugLineNum = 145;BA.debugLine="pnlColor = CustomListView1.DefaultTextBackgroun"; +Debug.JustUpdateDeviceLine(); +_pnlcolor = __ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(true,"_defaulttextbackgroundcolor");Debug.locals.put("pnlColor", _pnlcolor); + }; + BA.debugLineNum = 148;BA.debugLine="Dim cs As CSBuilder"; +Debug.JustUpdateDeviceLine(); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 149;BA.debugLine="cs.Initialize.Append(item.SubString2(0, x)).Colo"; +Debug.JustUpdateDeviceLine(); +_cs.runMethod(false,"Initialize").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_item.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(_x))))).runMethod(false,"Color",(Object)(__ref.getField(true,"_texthighlightcolor" /*RemoteObject*/ ))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_item.runMethod(true,"substring",(Object)(_x),(Object)(RemoteObject.solve(new RemoteObject[] {_x,_full.runMethod(true,"length")}, "+",1, 1)))))).runVoidMethod ("Pop"); + BA.debugLineNum = 150;BA.debugLine="cs.Append(item.SubString(x + full.Length))"; +Debug.JustUpdateDeviceLine(); +_cs.runVoidMethod ("Append",(Object)(BA.ObjectToCharSequence(_item.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_x,_full.runMethod(true,"length")}, "+",1, 1)))))); + BA.debugLineNum = 151;BA.debugLine="If ItemsCache.Size > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_itemscache" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 152;BA.debugLine="Dim p As B4XView = ItemsCache.Get(ItemsCache.Si"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_itemscache" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_itemscache" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 153;BA.debugLine="ItemsCache.RemoveAt(ItemsCache.Size - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_itemscache" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_itemscache" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))); + BA.debugLineNum = 155;BA.debugLine="p.GetView(0).Text = cs"; +Debug.JustUpdateDeviceLine(); +_p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.getObject())); + BA.debugLineNum = 160;BA.debugLine="p.Color = pnlColor"; +Debug.JustUpdateDeviceLine(); +_p.runMethod(true,"setColor",_pnlcolor); + BA.debugLineNum = 161;BA.debugLine="CustomListView1.Add(p, item)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_p),(Object)((_item))); + }else { + BA.debugLineNum = 163;BA.debugLine="CustomListView1.AddTextItem(cs, item)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((_cs.getObject())),(Object)((_item))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 184;BA.debugLine="For i = 0 To li.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step28 = 1; +final int limit28 = RemoteObject.solve(new RemoteObject[] {_li.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step28 > 0 && _i <= limit28) || (step28 < 0 && _i >= limit28) ;_i = ((int)(0 + _i + step28)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 185;BA.debugLine="Dim item As String = li.Get(i)"; +Debug.JustUpdateDeviceLine(); +_item = BA.ObjectToString(_li.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("item", _item);Debug.locals.put("item", _item); + BA.debugLineNum = 186;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +Debug.JustUpdateDeviceLine(); +_x = _item.runMethod(true,"toLowerCase").runMethod(true,"indexOf",(Object)(_full));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 187;BA.debugLine="If x = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_x,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 188;BA.debugLine="Continue"; +Debug.JustUpdateDeviceLine(); +if (true) continue; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 191;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xsearchtemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xsearchtemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xsearchtemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xsearchtemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; +b4xsearchtemplate._customlistview1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_customlistview1",b4xsearchtemplate._customlistview1); + //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; +b4xsearchtemplate._xdialog = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xdialog");__ref.setField("_xdialog",b4xsearchtemplate._xdialog); + //BA.debugLineNum = 6;BA.debugLine="Public SearchField As B4XFloatTextField"; +b4xsearchtemplate._searchfield = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xfloattextfield");__ref.setField("_searchfield",b4xsearchtemplate._searchfield); + //BA.debugLineNum = 7;BA.debugLine="Private prefixList As Map"; +b4xsearchtemplate._prefixlist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_prefixlist",b4xsearchtemplate._prefixlist); + //BA.debugLineNum = 8;BA.debugLine="Private substringList As Map"; +b4xsearchtemplate._substringlist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_substringlist",b4xsearchtemplate._substringlist); + //BA.debugLineNum = 9;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; +b4xsearchtemplate._texthighlightcolor = BA.numberCast(int.class, ((int)0xfffd5c5c));__ref.setField("_texthighlightcolor",b4xsearchtemplate._texthighlightcolor); + //BA.debugLineNum = 10;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; +b4xsearchtemplate._itemhightlightcolor = BA.numberCast(int.class, ((int)0x7e008eff));__ref.setField("_itemhightlightcolor",b4xsearchtemplate._itemhightlightcolor); + //BA.debugLineNum = 11;BA.debugLine="Private MAX_LIMIT = 4 As Int"; +b4xsearchtemplate._max_limit = BA.numberCast(int.class, 4);__ref.setField("_max_limit",b4xsearchtemplate._max_limit); + //BA.debugLineNum = 12;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; +b4xsearchtemplate._maxnumberofitemstoshow = BA.numberCast(int.class, 100);__ref.setField("_maxnumberofitemstoshow",b4xsearchtemplate._maxnumberofitemstoshow); + //BA.debugLineNum = 13;BA.debugLine="Private ItemsCache As List"; +b4xsearchtemplate._itemscache = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_itemscache",b4xsearchtemplate._itemscache); + //BA.debugLineNum = 14;BA.debugLine="Private AllItems As List"; +b4xsearchtemplate._allitems = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_allitems",b4xsearchtemplate._allitems); + //BA.debugLineNum = 15;BA.debugLine="Public SelectedItem As String"; +b4xsearchtemplate._selecteditem = RemoteObject.createImmutable("");__ref.setField("_selecteditem",b4xsearchtemplate._selecteditem); + //BA.debugLineNum = 16;BA.debugLine="Private LastTerm As String"; +b4xsearchtemplate._lastterm = RemoteObject.createImmutable("");__ref.setField("_lastterm",b4xsearchtemplate._lastterm); + //BA.debugLineNum = 18;BA.debugLine="Private IME As IME"; +b4xsearchtemplate._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",b4xsearchtemplate._ime); + //BA.debugLineNum = 20;BA.debugLine="Public AllowUnlistedText As Boolean"; +b4xsearchtemplate._allowunlistedtext = RemoteObject.createImmutable(false);__ref.setField("_allowunlistedtext",b4xsearchtemplate._allowunlistedtext); + //BA.debugLineNum = 21;BA.debugLine="Public PrefixOnly As Boolean"; +b4xsearchtemplate._prefixonly = RemoteObject.createImmutable(false);__ref.setField("_prefixonly",b4xsearchtemplate._prefixonly); + //BA.debugLineNum = 22;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _customlistview1_itemclick(RemoteObject __ref,RemoteObject _index,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("CustomListView1_ItemClick (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,122); +if (RapidSub.canDelegate("customlistview1_itemclick")) { return __ref.runUserSub(false, "b4xsearchtemplate","customlistview1_itemclick", __ref, _index, _value);} +Debug.locals.put("Index", _index); +Debug.locals.put("Value", _value); + BA.debugLineNum = 122;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 123;BA.debugLine="If Value = \"\" Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 124;BA.debugLine="SelectedItem = Value"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteditem" /*RemoteObject*/ ,BA.ObjectToString(_value)); + BA.debugLineNum = 125;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))); + BA.debugLineNum = 126;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,241); +if (RapidSub.canDelegate("dialogclosed")) { return __ref.runUserSub(false, "b4xsearchtemplate","dialogclosed", __ref, _result);} +Debug.locals.put("Result", _result); + BA.debugLineNum = 241;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 243;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,61); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "b4xsearchtemplate","getpanel", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 61;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 62;BA.debugLine="Return mBase"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbase" /*RemoteObject*/ ); + BA.debugLineNum = 63;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,24); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xsearchtemplate","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _height = RemoteObject.createImmutable(0); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 25;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbase" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mBase")))); + BA.debugLineNum = 27;BA.debugLine="Dim height As Int"; +Debug.JustUpdateDeviceLine(); +_height = RemoteObject.createImmutable(0);Debug.locals.put("height", _height); + BA.debugLineNum = 28;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then height = 220dip El"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i"))) { +_height = b4xsearchtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 220)));Debug.locals.put("height", _height);} +else { +_height = b4xsearchtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)));Debug.locals.put("height", _height);}; + BA.debugLineNum = 29;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xsearchtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)))),(Object)(_height)); + BA.debugLineNum = 30;BA.debugLine="mBase.LoadLayout(\"SearchTemplate\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("SearchTemplate")),__ref.getField(false, "ba")); + BA.debugLineNum = 31;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 32;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(false,"_sv").runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 33;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).setField ("_defaulttextbackgroundcolor",BA.numberCast(int.class, ((int)0xff555555))); + BA.debugLineNum = 34;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).setField ("_defaulttextcolor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White")); + BA.debugLineNum = 44;BA.debugLine="ItemsCache.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_itemscache" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 45;BA.debugLine="prefixList.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_prefixlist" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 46;BA.debugLine="substringList.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_substringlist" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 48;BA.debugLine="IME.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 49;BA.debugLine="Dim jo As JavaObject = SearchField.TextField"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref.getField(false,"_searchfield" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_gettextfield" /*RemoteObject*/ ).getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 50;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setImeOptions")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(b4xsearchtemplate.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(BA.numberCast(int.class, 33554432)),(Object)(BA.numberCast(int.class, 6))))}))); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Resize (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,54); +if (RapidSub.canDelegate("resize")) { return __ref.runUserSub(false, "b4xsearchtemplate","resize", __ref, _width, _height);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 54;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 55;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 56;BA.debugLine="Dim c As B4XView = CustomListView1.AsView"; +Debug.JustUpdateDeviceLine(); +_c = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_c = __ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_asview");Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 57;BA.debugLine="c.SetLayoutAnimated(0, 0, c.Top, Width, Height -"; +Debug.JustUpdateDeviceLine(); +_c.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_c.runMethod(true,"getTop")),(Object)(_width),(Object)(RemoteObject.solve(new RemoteObject[] {_height,_c.runMethod(true,"getTop")}, "-",1, 1))); + BA.debugLineNum = 58;BA.debugLine="CustomListView1.Base_Resize(Width, c.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, _width)),(Object)(BA.numberCast(double.class, _c.runMethod(true,"getHeight")))); + BA.debugLineNum = 59;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _searchfield_enterpressed(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("SearchField_EnterPressed (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,112); +if (RapidSub.canDelegate("searchfield_enterpressed")) { return __ref.runUserSub(false, "b4xsearchtemplate","searchfield_enterpressed", __ref);} + BA.debugLineNum = 112;BA.debugLine="Private Sub SearchField_EnterPressed"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 113;BA.debugLine="If AllowUnlistedText Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_allowunlistedtext" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 114;BA.debugLine="SelectedItem = LastTerm"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteditem" /*RemoteObject*/ ,__ref.getField(true,"_lastterm" /*RemoteObject*/ )); + BA.debugLineNum = 115;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))); + }else +{ BA.debugLineNum = 116;BA.debugLine="Else If CustomListView1.Size > 0 And LastTerm.Len"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(true,"_getsize"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",__ref.getField(true,"_lastterm" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 117;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xsearchtemplate.class, "_customlistview1_itemclick" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, 0))))); + }} +; + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _searchfield_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("SearchField_TextChanged (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,81); +if (RapidSub.canDelegate("searchfield_textchanged")) { return __ref.runUserSub(false, "b4xsearchtemplate","searchfield_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 81;BA.debugLine="Private Sub SearchField_TextChanged (Old As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 82;BA.debugLine="Update(New, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xsearchtemplate.class, "_update" /*RemoteObject*/ ,(Object)(_new),(Object)(b4xsearchtemplate.__c.getField(true,"False"))); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setindex(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("SetIndex (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,233); +if (RapidSub.canDelegate("setindex")) { return __ref.runUserSub(false, "b4xsearchtemplate","setindex", __ref, _index);} +RemoteObject _obj = null; +Debug.locals.put("Index", _index); + BA.debugLineNum = 233;BA.debugLine="Public Sub SetIndex(Index As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 234;BA.debugLine="Dim obj() As Object"; +Debug.JustUpdateDeviceLine(); +_obj = RemoteObject.createNewArray ("Object", new int[] {0}, new Object[]{});Debug.locals.put("obj", _obj); + BA.debugLineNum = 235;BA.debugLine="obj = Index"; +Debug.JustUpdateDeviceLine(); +_obj = (_index);Debug.locals.put("obj", _obj); + BA.debugLineNum = 236;BA.debugLine="prefixList = obj(0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_prefixlist" /*RemoteObject*/ ).setObject (_obj.getArrayElement(false,BA.numberCast(int.class, 0))); + BA.debugLineNum = 237;BA.debugLine="substringList = obj(1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_substringlist" /*RemoteObject*/ ).setObject (_obj.getArrayElement(false,BA.numberCast(int.class, 1))); + BA.debugLineNum = 238;BA.debugLine="Dim AllItems As List = obj(2)"; +Debug.JustUpdateDeviceLine(); +b4xsearchtemplate._allitems = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +b4xsearchtemplate._allitems = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _obj.getArrayElement(false,BA.numberCast(int.class, 2)));__ref.setField("_allitems",b4xsearchtemplate._allitems); + BA.debugLineNum = 239;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setitems(RemoteObject __ref,RemoteObject _items) throws Exception{ +try { + Debug.PushSubsStack("SetItems (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,196); +if (RapidSub.canDelegate("setitems")) { return __ref.runUserSub(false, "b4xsearchtemplate","setitems", __ref, _items);} +RemoteObject _starttime = RemoteObject.createImmutable(0L); +RemoteObject _noduplicates = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _li = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; +RemoteObject _itemnotlower = RemoteObject.createImmutable(""); +RemoteObject _itemtolower = RemoteObject.createImmutable(""); +int _start = 0; +RemoteObject _count = RemoteObject.createImmutable(0); +RemoteObject _str = RemoteObject.createImmutable(""); +Debug.locals.put("Items", _items); + BA.debugLineNum = 196;BA.debugLine="Public Sub SetItems(Items As List) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 197;BA.debugLine="Dim startTime As Long"; +Debug.JustUpdateDeviceLine(); +_starttime = RemoteObject.createImmutable(0L);Debug.locals.put("startTime", _starttime); + BA.debugLineNum = 198;BA.debugLine="startTime = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_starttime = b4xsearchtemplate.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("startTime", _starttime); + BA.debugLineNum = 199;BA.debugLine="Dim noDuplicates As Map"; +Debug.JustUpdateDeviceLine(); +_noduplicates = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("noDuplicates", _noduplicates); + BA.debugLineNum = 200;BA.debugLine="noDuplicates.Initialize"; +Debug.JustUpdateDeviceLine(); +_noduplicates.runVoidMethod ("Initialize"); + BA.debugLineNum = 201;BA.debugLine="prefixList.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_prefixlist" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 202;BA.debugLine="substringList.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_substringlist" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 203;BA.debugLine="Dim m As Map"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 204;BA.debugLine="Dim li As List"; +Debug.JustUpdateDeviceLine(); +_li = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("li", _li); + BA.debugLineNum = 205;BA.debugLine="For i = 0 To Items.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {_items.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 206;BA.debugLine="Dim itemNotLower As String = Items.Get(i)"; +Debug.JustUpdateDeviceLine(); +_itemnotlower = BA.ObjectToString(_items.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("itemNotLower", _itemnotlower);Debug.locals.put("itemNotLower", _itemnotlower); + BA.debugLineNum = 207;BA.debugLine="Dim itemToLower As String = itemNotLower.ToLower"; +Debug.JustUpdateDeviceLine(); +_itemtolower = _itemnotlower.runMethod(true,"toLowerCase");Debug.locals.put("itemToLower", _itemtolower);Debug.locals.put("itemToLower", _itemtolower); + BA.debugLineNum = 208;BA.debugLine="noDuplicates.Clear"; +Debug.JustUpdateDeviceLine(); +_noduplicates.runVoidMethod ("Clear"); + BA.debugLineNum = 209;BA.debugLine="For start = 0 To IIf(PrefixOnly, 0, itemToLower."; +Debug.JustUpdateDeviceLine(); +{ +final int step13 = 1; +final int limit13 = (int)(BA.ObjectToNumber(((__ref.getField(true,"_prefixonly" /*RemoteObject*/ ).get().booleanValue()) ? (RemoteObject.createImmutable((0))) : ((RemoteObject.solve(new RemoteObject[] {_itemtolower.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))))).get().doubleValue()); +_start = 0 ; +for (;(step13 > 0 && _start <= limit13) || (step13 < 0 && _start >= limit13) ;_start = ((int)(0 + _start + step13)) ) { +Debug.locals.put("start", _start); + BA.debugLineNum = 210;BA.debugLine="Dim count As Int = 1"; +Debug.JustUpdateDeviceLine(); +_count = BA.numberCast(int.class, 1);Debug.locals.put("count", _count);Debug.locals.put("count", _count); + BA.debugLineNum = 211;BA.debugLine="Do While count <= MAX_LIMIT And start + count <"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean("k",_count,BA.numberCast(double.class, __ref.getField(true,"_max_limit" /*RemoteObject*/ ))) && RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_start),_count}, "+",1, 1),BA.numberCast(double.class, _itemtolower.runMethod(true,"length")))) { + BA.debugLineNum = 212;BA.debugLine="Dim str As String = itemToLower.SubString2(sta"; +Debug.JustUpdateDeviceLine(); +_str = _itemtolower.runMethod(true,"substring",(Object)(BA.numberCast(int.class, _start)),(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_start),_count}, "+",1, 1)));Debug.locals.put("str", _str);Debug.locals.put("str", _str); + BA.debugLineNum = 213;BA.debugLine="If noDuplicates.ContainsKey(str) = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_noduplicates.runMethod(true,"ContainsKey",(Object)((_str))),b4xsearchtemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 214;BA.debugLine="noDuplicates.Put(str, \"\")"; +Debug.JustUpdateDeviceLine(); +_noduplicates.runVoidMethod ("Put",(Object)((_str)),(Object)((RemoteObject.createImmutable("")))); + BA.debugLineNum = 215;BA.debugLine="If start = 0 Then m = prefixList Else m = sub"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_start),BA.numberCast(double.class, 0))) { +_m = __ref.getField(false,"_prefixlist" /*RemoteObject*/ );Debug.locals.put("m", _m);} +else { +_m = __ref.getField(false,"_substringlist" /*RemoteObject*/ );Debug.locals.put("m", _m);}; + BA.debugLineNum = 216;BA.debugLine="li = m.Get(str)"; +Debug.JustUpdateDeviceLine(); +_li = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _m.runMethod(false,"Get",(Object)((_str))));Debug.locals.put("li", _li); + BA.debugLineNum = 217;BA.debugLine="If li.IsInitialized = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_li.runMethod(true,"IsInitialized"),b4xsearchtemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 218;BA.debugLine="li.Initialize"; +Debug.JustUpdateDeviceLine(); +_li.runVoidMethod ("Initialize"); + BA.debugLineNum = 219;BA.debugLine="m.Put(str, li)"; +Debug.JustUpdateDeviceLine(); +_m.runVoidMethod ("Put",(Object)((_str)),(Object)((_li.getObject()))); + }; + BA.debugLineNum = 221;BA.debugLine="li.Add(itemNotLower)"; +Debug.JustUpdateDeviceLine(); +_li.runVoidMethod ("Add",(Object)((_itemnotlower))); + }; + BA.debugLineNum = 223;BA.debugLine="count = count + 1"; +Debug.JustUpdateDeviceLine(); +_count = RemoteObject.solve(new RemoteObject[] {_count,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("count", _count); + } +; + } +}Debug.locals.put("start", _start); +; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; +Debug.JustUpdateDeviceLine(); +b4xsearchtemplate.__c.runVoidMethod ("LogImpl","936634655",RemoteObject.concat(RemoteObject.createImmutable("Index time: "),(RemoteObject.solve(new RemoteObject[] {b4xsearchtemplate.__c.getField(false,"DateTime").runMethod(true,"getNow"),_starttime}, "-",1, 2)),RemoteObject.createImmutable(" ms ("),_items.runMethod(true,"getSize"),RemoteObject.createImmutable(" Items)")),0); + BA.debugLineNum = 228;BA.debugLine="AllItems = Items"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_allitems" /*RemoteObject*/ ,_items); + BA.debugLineNum = 229;BA.debugLine="Return Array(prefixList, substringList, AllItems)"; +Debug.JustUpdateDeviceLine(); +if (true) return (RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_prefixlist" /*RemoteObject*/ ).getObject()),(__ref.getField(false,"_substringlist" /*RemoteObject*/ ).getObject()),(__ref.getField(false,"_allitems" /*RemoteObject*/ ).getObject())})); + BA.debugLineNum = 230;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,65); +if (RapidSub.canDelegate("show")) { __ref.runUserSub(false, "b4xsearchtemplate","show", __ref, _dialog); return;} +ResumableSub_Show rsub = new ResumableSub_Show(null,__ref,_dialog); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xsearchtemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xsearchtemplate parent; +RemoteObject _dialog; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,65); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 66;BA.debugLine="xDialog = Dialog"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_xdialog" /*RemoteObject*/ ,_dialog); + BA.debugLineNum = 67;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).setField ("_putattop" /*RemoteObject*/ ,BA.ObjectToBoolean(RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i")))); + BA.debugLineNum = 68;BA.debugLine="CustomListView1.AsView.Color = xui.Color_Transpar"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + BA.debugLineNum = 69;BA.debugLine="CustomListView1.sv.Color = xui.Color_Transparent"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + BA.debugLineNum = 70;BA.debugLine="mBase.Color = xui.Color_Transparent"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + BA.debugLineNum = 71;BA.debugLine="Sleep(20)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xsearchtemplate", "show"),BA.numberCast(int.class, 20)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; + BA.debugLineNum = 72;BA.debugLine="Update(\"\", True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xsearchtemplate.class, "_update" /*RemoteObject*/ ,(Object)(BA.ObjectToString("")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 73;BA.debugLine="CustomListView1.JumpToItem(0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_jumptoitem",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 74;BA.debugLine="SearchField.Text = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_searchfield" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_settext" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 75;BA.debugLine="SearchField.TextField.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_searchfield" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_gettextfield" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 77;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("ShowKeyboard",(Object)((__ref.getField(false,"_searchfield" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xfloattextfield.class, "_gettextfield" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _update(RemoteObject __ref,RemoteObject _term,RemoteObject _force) throws Exception{ +try { + Debug.PushSubsStack("Update (b4xsearchtemplate) ","b4xsearchtemplate",63,__ref.getField(false, "ba"),__ref,85); +if (RapidSub.canDelegate("update")) { return __ref.runUserSub(false, "b4xsearchtemplate","update", __ref, _term, _force);} +int _i = 0; +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _str1 = RemoteObject.createImmutable(""); +RemoteObject _str2 = RemoteObject.createImmutable(""); +Debug.locals.put("Term", _term); +Debug.locals.put("Force", _force); + BA.debugLineNum = 85;BA.debugLine="Private Sub Update(Term As String, Force As Boolea"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 86;BA.debugLine="If Term = LastTerm And Force = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_term,__ref.getField(true,"_lastterm" /*RemoteObject*/ )) && RemoteObject.solveBoolean("=",_force,b4xsearchtemplate.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 87;BA.debugLine="LastTerm = Term"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastterm" /*RemoteObject*/ ,_term); + BA.debugLineNum = 88;BA.debugLine="If xui.IsB4J = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J"),b4xsearchtemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 89;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 90;BA.debugLine="Dim p As B4XView = CustomListView1.GetPanel(i)"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 91;BA.debugLine="p.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 92;BA.debugLine="ItemsCache.Add(p)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_itemscache" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_p.getObject()))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 95;BA.debugLine="CustomListView1.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 97;BA.debugLine="Dim str1, str2 As String"; +Debug.JustUpdateDeviceLine(); +_str1 = RemoteObject.createImmutable("");Debug.locals.put("str1", _str1); +_str2 = RemoteObject.createImmutable("");Debug.locals.put("str2", _str2); + BA.debugLineNum = 98;BA.debugLine="str1 = Term.ToLowerCase"; +Debug.JustUpdateDeviceLine(); +_str1 = _term.runMethod(true,"toLowerCase");Debug.locals.put("str1", _str1); + BA.debugLineNum = 99;BA.debugLine="If Term = \"\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_term,BA.ObjectToString(""))) { + BA.debugLineNum = 100;BA.debugLine="AddItemsToList(AllItems, str1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xsearchtemplate.class, "_additemstolist" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_allitems" /*RemoteObject*/ )),(Object)(_str1)); + }else { + BA.debugLineNum = 102;BA.debugLine="If str1.Length > MAX_LIMIT Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_str1.runMethod(true,"length"),BA.numberCast(double.class, __ref.getField(true,"_max_limit" /*RemoteObject*/ )))) { + BA.debugLineNum = 103;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; +Debug.JustUpdateDeviceLine(); +_str2 = _str1.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_max_limit" /*RemoteObject*/ )));Debug.locals.put("str2", _str2); + }else { + BA.debugLineNum = 105;BA.debugLine="str2 = str1"; +Debug.JustUpdateDeviceLine(); +_str2 = _str1;Debug.locals.put("str2", _str2); + }; + BA.debugLineNum = 107;BA.debugLine="AddItemsToList(prefixList.Get(str2), str1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xsearchtemplate.class, "_additemstolist" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), __ref.getField(false,"_prefixlist" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_str2)))),(Object)(_str1)); + BA.debugLineNum = 108;BA.debugLine="AddItemsToList(substringList.Get(str2), str1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xsearchtemplate.class, "_additemstolist" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), __ref.getField(false,"_substringlist" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_str2)))),(Object)(_str1)); + }; + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xseekbar.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xseekbar.java new file mode 100644 index 0000000..5839c7f --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xseekbar.java @@ -0,0 +1,51 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xseekbar { + public static RemoteObject myClass; + public b4xseekbar() { + } + public static PCBA staticBA = new PCBA(null, b4xseekbar.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _color1 = RemoteObject.createImmutable(0); +public static RemoteObject _color2 = RemoteObject.createImmutable(0); +public static RemoteObject _thumbcolor = RemoteObject.createImmutable(0); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _touchpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(0); +public static RemoteObject _minvalue = RemoteObject.createImmutable(0); +public static RemoteObject _maxvalue = RemoteObject.createImmutable(0); +public static RemoteObject _interval = RemoteObject.createImmutable(0); +public static RemoteObject _vertical = RemoteObject.createImmutable(false); +public static RemoteObject _size1 = RemoteObject.createImmutable(0); +public static RemoteObject _size2 = RemoteObject.createImmutable(0); +public static RemoteObject _radius1 = RemoteObject.createImmutable(0); +public static RemoteObject _radius2 = RemoteObject.createImmutable(0); +public static RemoteObject _pressed = RemoteObject.createImmutable(false); +public static RemoteObject _size = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Color1",_ref.getField(false, "_color1"),"Color2",_ref.getField(false, "_color2"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"Interval",_ref.getField(false, "_interval"),"MaxValue",_ref.getField(false, "_maxvalue"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"MinValue",_ref.getField(false, "_minvalue"),"mValue",_ref.getField(false, "_mvalue"),"Pressed",_ref.getField(false, "_pressed"),"Radius1",_ref.getField(false, "_radius1"),"Radius2",_ref.getField(false, "_radius2"),"size",_ref.getField(false, "_size"),"Size1",_ref.getField(false, "_size1"),"Size2",_ref.getField(false, "_size2"),"Tag",_ref.getField(false, "_tag"),"ThumbColor",_ref.getField(false, "_thumbcolor"),"TouchPanel",_ref.getField(false, "_touchpanel"),"Vertical",_ref.getField(false, "_vertical"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xseekbar_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xseekbar_subs_0.java new file mode 100644 index 0000000..3f4d4a2 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xseekbar_subs_0.java @@ -0,0 +1,425 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xseekbar_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,52); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xseekbar","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 52;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="cvs.Resize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _width)),(Object)(BA.numberCast(float.class, _height))); + BA.debugLineNum = 54;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_touchpanel" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 55;BA.debugLine="Vertical = mBase.Height > mBase.Width"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_vertical" /*RemoteObject*/ ,BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))))); + BA.debugLineNum = 56;BA.debugLine="size = Max(mBase.Height, mBase.Width) - 2 * Radiu"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_size" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {b4xseekbar.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")))),RemoteObject.createImmutable(2),__ref.getField(true,"_radius2" /*RemoteObject*/ )}, "-*",1, 0))); + BA.debugLineNum = 57;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 11;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 12;BA.debugLine="Private mEventName As String 'ignore"; +b4xseekbar._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xseekbar._meventname); + //BA.debugLineNum = 13;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xseekbar._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xseekbar._mcallback); + //BA.debugLineNum = 14;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xseekbar._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xseekbar._mbase); + //BA.debugLineNum = 15;BA.debugLine="Private xui As XUI 'ignore"; +b4xseekbar._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xseekbar._xui); + //BA.debugLineNum = 16;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; +b4xseekbar._color1 = RemoteObject.createImmutable(0);__ref.setField("_color1",b4xseekbar._color1); +b4xseekbar._color2 = RemoteObject.createImmutable(0);__ref.setField("_color2",b4xseekbar._color2); +b4xseekbar._thumbcolor = RemoteObject.createImmutable(0);__ref.setField("_thumbcolor",b4xseekbar._thumbcolor); + //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; +b4xseekbar._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xseekbar._cvs); + //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; +b4xseekbar._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xseekbar._tag); + //BA.debugLineNum = 19;BA.debugLine="Private TouchPanel As B4XView"; +b4xseekbar._touchpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_touchpanel",b4xseekbar._touchpanel); + //BA.debugLineNum = 20;BA.debugLine="Private mValue As Int"; +b4xseekbar._mvalue = RemoteObject.createImmutable(0);__ref.setField("_mvalue",b4xseekbar._mvalue); + //BA.debugLineNum = 21;BA.debugLine="Public MinValue, MaxValue As Int"; +b4xseekbar._minvalue = RemoteObject.createImmutable(0);__ref.setField("_minvalue",b4xseekbar._minvalue); +b4xseekbar._maxvalue = RemoteObject.createImmutable(0);__ref.setField("_maxvalue",b4xseekbar._maxvalue); + //BA.debugLineNum = 22;BA.debugLine="Public Interval As Int = 1"; +b4xseekbar._interval = BA.numberCast(int.class, 1);__ref.setField("_interval",b4xseekbar._interval); + //BA.debugLineNum = 23;BA.debugLine="Private Vertical As Boolean"; +b4xseekbar._vertical = RemoteObject.createImmutable(false);__ref.setField("_vertical",b4xseekbar._vertical); + //BA.debugLineNum = 24;BA.debugLine="Public Size1 = 4dip, Size2 = 2dip, Radius1 = 6dip"; +b4xseekbar._size1 = b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4)));__ref.setField("_size1",b4xseekbar._size1); +b4xseekbar._size2 = b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_size2",b4xseekbar._size2); +b4xseekbar._radius1 = b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 6)));__ref.setField("_radius1",b4xseekbar._radius1); +b4xseekbar._radius2 = b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 12)));__ref.setField("_radius2",b4xseekbar._radius2); + //BA.debugLineNum = 25;BA.debugLine="Private Pressed As Boolean"; +b4xseekbar._pressed = RemoteObject.createImmutable(false);__ref.setField("_pressed",b4xseekbar._pressed); + //BA.debugLineNum = 26;BA.debugLine="Private size As Int"; +b4xseekbar._size = RemoteObject.createImmutable(0);__ref.setField("_size",b4xseekbar._size); + //BA.debugLineNum = 27;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4xseekbar","designercreateview", __ref, _base, _lbl, _props);} +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 35;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 36;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 38;BA.debugLine="Color1 = xui.PaintOrColorToColor(Props.Get(\"Color"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_color1" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Color1"))))))); + BA.debugLineNum = 39;BA.debugLine="Color2 = xui.PaintOrColorToColor(Props.Get(\"Color"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_color2" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Color2"))))))); + BA.debugLineNum = 40;BA.debugLine="ThumbColor = xui.PaintOrColorToColor(Props.Get(\"T"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_thumbcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ThumbColor"))))))); + BA.debugLineNum = 41;BA.debugLine="Interval = Max(1, Props.GetDefault(\"Interval\", 1)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_interval" /*RemoteObject*/ ,BA.numberCast(int.class, b4xseekbar.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(BA.numberCast(double.class, _props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("Interval"))),(Object)(RemoteObject.createImmutable((1))))))))); + BA.debugLineNum = 42;BA.debugLine="MinValue = Props.Get(\"Min\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_minvalue" /*RemoteObject*/ ,BA.numberCast(int.class, _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Min")))))); + BA.debugLineNum = 43;BA.debugLine="MaxValue = Props.Get(\"Max\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_maxvalue" /*RemoteObject*/ ,BA.numberCast(int.class, _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Max")))))); + BA.debugLineNum = 44;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, Props.Get(\"V"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,BA.numberCast(int.class, b4xseekbar.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, __ref.getField(true,"_minvalue" /*RemoteObject*/ ))),(Object)(b4xseekbar.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, __ref.getField(true,"_maxvalue" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Value"))))))))))); + BA.debugLineNum = 45;BA.debugLine="cvs.Initialize(mBase)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ))); + BA.debugLineNum = 46;BA.debugLine="TouchPanel = xui.CreatePanel(\"TouchPanel\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_touchpanel" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TouchPanel")))); + BA.debugLineNum = 47;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 48;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then Radius2 = 20dip"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i"))) { +__ref.setField ("_radius2" /*RemoteObject*/ ,b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20))));}; + BA.debugLineNum = 49;BA.debugLine="If xui.IsB4A Then Base_Resize(mBase.Width, mBase."; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A").get().booleanValue()) { +__ref.runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))));}; + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValue (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,130); +if (RapidSub.canDelegate("getvalue")) { return __ref.runUserSub(false, "b4xseekbar","getvalue", __ref);} + BA.debugLineNum = 130;BA.debugLine="Public Sub getValue As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 131;BA.debugLine="Return mValue"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mvalue" /*RemoteObject*/ ); + BA.debugLineNum = 132;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,29); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xseekbar","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 30;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 31;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 32;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _raisetouchstateevent(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("RaiseTouchStateEvent (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("raisetouchstateevent")) { return __ref.runUserSub(false, "b4xseekbar","raisetouchstateevent", __ref);} + BA.debugLineNum = 102;BA.debugLine="Private Sub RaiseTouchStateEvent"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 103;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TouchS"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_TouchStateChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 104;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_TouchS"; +Debug.JustUpdateDeviceLine(); +b4xseekbar.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_TouchStateChanged"))),(Object)((__ref.getField(true,"_pressed" /*RemoteObject*/ )))); + }; + BA.debugLineNum = 106;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvalue(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("setValue (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,125); +if (RapidSub.canDelegate("setvalue")) { return __ref.runUserSub(false, "b4xseekbar","setvalue", __ref, _v);} +Debug.locals.put("v", _v); + BA.debugLineNum = 125;BA.debugLine="Public Sub setValue(v As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 126;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, v))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,BA.numberCast(int.class, b4xseekbar.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, __ref.getField(true,"_minvalue" /*RemoteObject*/ ))),(Object)(b4xseekbar.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, __ref.getField(true,"_maxvalue" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, _v))))))); + BA.debugLineNum = 127;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvaluebasedontouch(RemoteObject __ref,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("SetValueBasedOnTouch (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,108); +if (RapidSub.canDelegate("setvaluebasedontouch")) { return __ref.runUserSub(false, "b4xseekbar","setvaluebasedontouch", __ref, _x, _y);} +RemoteObject _v = RemoteObject.createImmutable(0); +RemoteObject _newvalue = RemoteObject.createImmutable(0); +Debug.locals.put("x", _x); +Debug.locals.put("y", _y); + BA.debugLineNum = 108;BA.debugLine="Private Sub SetValueBasedOnTouch(x As Int, y As In"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 109;BA.debugLine="Dim v As Int"; +Debug.JustUpdateDeviceLine(); +_v = RemoteObject.createImmutable(0);Debug.locals.put("v", _v); + BA.debugLineNum = 110;BA.debugLine="If Vertical Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_vertical" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 111;BA.debugLine="v = (mBase.Height - Radius2 - y) / size * (MaxVa"; +Debug.JustUpdateDeviceLine(); +_v = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_radius2" /*RemoteObject*/ ),_y}, "--",2, 1)),__ref.getField(true,"_size" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_maxvalue" /*RemoteObject*/ ),__ref.getField(true,"_minvalue" /*RemoteObject*/ )}, "-",1, 1)),__ref.getField(true,"_minvalue" /*RemoteObject*/ )}, "/*+",1, 0));Debug.locals.put("v", _v); + }else { + BA.debugLineNum = 113;BA.debugLine="v = (x - Radius2) / size * (MaxValue - MinValue)"; +Debug.JustUpdateDeviceLine(); +_v = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_x,__ref.getField(true,"_radius2" /*RemoteObject*/ )}, "-",1, 1)),__ref.getField(true,"_size" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_maxvalue" /*RemoteObject*/ ),__ref.getField(true,"_minvalue" /*RemoteObject*/ )}, "-",1, 1)),__ref.getField(true,"_minvalue" /*RemoteObject*/ )}, "/*+",1, 0));Debug.locals.put("v", _v); + }; + BA.debugLineNum = 115;BA.debugLine="v = Round (v / Interval) * Interval"; +Debug.JustUpdateDeviceLine(); +_v = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {b4xseekbar.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_v,__ref.getField(true,"_interval" /*RemoteObject*/ )}, "/",0, 0))),__ref.getField(true,"_interval" /*RemoteObject*/ )}, "*",0, 2));Debug.locals.put("v", _v); + BA.debugLineNum = 116;BA.debugLine="Dim NewValue As Int = Max(MinValue, Min(MaxValue,"; +Debug.JustUpdateDeviceLine(); +_newvalue = BA.numberCast(int.class, b4xseekbar.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, __ref.getField(true,"_minvalue" /*RemoteObject*/ ))),(Object)(b4xseekbar.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, __ref.getField(true,"_maxvalue" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, _v))))));Debug.locals.put("NewValue", _newvalue);Debug.locals.put("NewValue", _newvalue); + BA.debugLineNum = 117;BA.debugLine="If NewValue <> mValue Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_newvalue,BA.numberCast(double.class, __ref.getField(true,"_mvalue" /*RemoteObject*/ )))) { + BA.debugLineNum = 118;BA.debugLine="mValue = NewValue"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,_newvalue); + BA.debugLineNum = 119;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ValueChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 120;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +Debug.JustUpdateDeviceLine(); +b4xseekbar.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ValueChanged"))),(Object)((__ref.getField(true,"_mvalue" /*RemoteObject*/ )))); + }; + }; + BA.debugLineNum = 123;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _touchpanel_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("TouchPanel_Touch (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,88); +if (RapidSub.canDelegate("touchpanel_touch")) { return __ref.runUserSub(false, "b4xseekbar","touchpanel_touch", __ref, _action, _x, _y);} +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 88;BA.debugLine="Private Sub TouchPanel_Touch (Action As Int, X As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 89;BA.debugLine="If Action = TouchPanel.TOUCH_ACTION_DOWN Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_DOWN")))) { + BA.debugLineNum = 90;BA.debugLine="Pressed = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pressed" /*RemoteObject*/ ,b4xseekbar.__c.getField(true,"True")); + BA.debugLineNum = 91;BA.debugLine="RaiseTouchStateEvent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_raisetouchstateevent" /*RemoteObject*/ ); + BA.debugLineNum = 92;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_setvaluebasedontouch" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y))); + }else +{ BA.debugLineNum = 93;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_MOVE The"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE")))) { + BA.debugLineNum = 94;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_setvaluebasedontouch" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y))); + }else +{ BA.debugLineNum = 95;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_UP Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_UP")))) { + BA.debugLineNum = 96;BA.debugLine="Pressed = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pressed" /*RemoteObject*/ ,b4xseekbar.__c.getField(true,"False")); + BA.debugLineNum = 97;BA.debugLine="RaiseTouchStateEvent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_raisetouchstateevent" /*RemoteObject*/ ); + }}} +; + BA.debugLineNum = 99;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 100;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (b4xseekbar) ","b4xseekbar",64,__ref.getField(false, "ba"),__ref,61); +if (RapidSub.canDelegate("update")) { return __ref.runUserSub(false, "b4xseekbar","update", __ref);} +RemoteObject _s1 = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +RemoteObject _x = RemoteObject.createImmutable(0); + BA.debugLineNum = 61;BA.debugLine="Public Sub Update"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 64;BA.debugLine="If size > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_size" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 65;BA.debugLine="If Vertical = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_vertical" /*RemoteObject*/ ),b4xseekbar.__c.getField(true,"False"))) { + BA.debugLineNum = 66;BA.debugLine="Dim s1 As Int = Radius2 + (mValue - MinValue) /"; +Debug.JustUpdateDeviceLine(); +_s1 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_radius2" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mvalue" /*RemoteObject*/ ),__ref.getField(true,"_minvalue" /*RemoteObject*/ )}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_maxvalue" /*RemoteObject*/ ),__ref.getField(true,"_minvalue" /*RemoteObject*/ )}, "-",1, 1)),__ref.getField(true,"_size" /*RemoteObject*/ )}, "+/*",1, 0));Debug.locals.put("s1", _s1);Debug.locals.put("s1", _s1); + BA.debugLineNum = 67;BA.debugLine="Dim y As Int = mBase.Height / 2"; +Debug.JustUpdateDeviceLine(); +_y = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 68;BA.debugLine="cvs.DrawLine(Radius2, y, s1, y, Color1, Size1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawLine",(Object)(BA.numberCast(float.class, __ref.getField(true,"_radius2" /*RemoteObject*/ ))),(Object)(BA.numberCast(float.class, _y)),(Object)(BA.numberCast(float.class, _s1)),(Object)(BA.numberCast(float.class, _y)),(Object)(__ref.getField(true,"_color1" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, __ref.getField(true,"_size1" /*RemoteObject*/ )))); + BA.debugLineNum = 69;BA.debugLine="cvs.DrawLine(s1, y, mBase.Width - Radius2, y, C"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawLine",(Object)(BA.numberCast(float.class, _s1)),(Object)(BA.numberCast(float.class, _y)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(true,"_radius2" /*RemoteObject*/ )}, "-",1, 1))),(Object)(BA.numberCast(float.class, _y)),(Object)(__ref.getField(true,"_color2" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, __ref.getField(true,"_size2" /*RemoteObject*/ )))); + BA.debugLineNum = 70;BA.debugLine="cvs.DrawCircle(s1, y, Radius1, Color1, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, _s1)),(Object)(BA.numberCast(float.class, _y)),(Object)(BA.numberCast(float.class, __ref.getField(true,"_radius1" /*RemoteObject*/ ))),(Object)(__ref.getField(true,"_color1" /*RemoteObject*/ )),(Object)(b4xseekbar.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 71;BA.debugLine="If Pressed Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_pressed" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 72;BA.debugLine="cvs.DrawCircle(s1, y, Radius2, ThumbColor, Tru"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, _s1)),(Object)(BA.numberCast(float.class, _y)),(Object)(BA.numberCast(float.class, __ref.getField(true,"_radius2" /*RemoteObject*/ ))),(Object)(__ref.getField(true,"_thumbcolor" /*RemoteObject*/ )),(Object)(b4xseekbar.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + }; + }else { + BA.debugLineNum = 75;BA.debugLine="Dim s1 As Int = Radius2 + (MaxValue - mValue) /"; +Debug.JustUpdateDeviceLine(); +_s1 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_radius2" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_maxvalue" /*RemoteObject*/ ),__ref.getField(true,"_mvalue" /*RemoteObject*/ )}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_maxvalue" /*RemoteObject*/ ),__ref.getField(true,"_minvalue" /*RemoteObject*/ )}, "-",1, 1)),__ref.getField(true,"_size" /*RemoteObject*/ )}, "+/*",1, 0));Debug.locals.put("s1", _s1);Debug.locals.put("s1", _s1); + BA.debugLineNum = 76;BA.debugLine="Dim x As Int = mBase.Width / 2"; +Debug.JustUpdateDeviceLine(); +_x = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 77;BA.debugLine="cvs.DrawLine(x, Radius2, x, s1, Color2, Size2)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawLine",(Object)(BA.numberCast(float.class, _x)),(Object)(BA.numberCast(float.class, __ref.getField(true,"_radius2" /*RemoteObject*/ ))),(Object)(BA.numberCast(float.class, _x)),(Object)(BA.numberCast(float.class, _s1)),(Object)(__ref.getField(true,"_color2" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, __ref.getField(true,"_size2" /*RemoteObject*/ )))); + BA.debugLineNum = 78;BA.debugLine="cvs.DrawLine(x, s1, x, mBase.Height - Radius2,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawLine",(Object)(BA.numberCast(float.class, _x)),(Object)(BA.numberCast(float.class, _s1)),(Object)(BA.numberCast(float.class, _x)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_radius2" /*RemoteObject*/ )}, "-",1, 1))),(Object)(__ref.getField(true,"_color1" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, __ref.getField(true,"_size1" /*RemoteObject*/ )))); + BA.debugLineNum = 79;BA.debugLine="cvs.DrawCircle(x, s1, Radius1, Color1, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, _x)),(Object)(BA.numberCast(float.class, _s1)),(Object)(BA.numberCast(float.class, __ref.getField(true,"_radius1" /*RemoteObject*/ ))),(Object)(__ref.getField(true,"_color1" /*RemoteObject*/ )),(Object)(b4xseekbar.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 80;BA.debugLine="If Pressed Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_pressed" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 81;BA.debugLine="cvs.DrawCircle(x, s1, Radius2, ThumbColor, Tru"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, _x)),(Object)(BA.numberCast(float.class, _s1)),(Object)(BA.numberCast(float.class, __ref.getField(true,"_radius2" /*RemoteObject*/ ))),(Object)(__ref.getField(true,"_thumbcolor" /*RemoteObject*/ )),(Object)(b4xseekbar.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + }; + }; + }; + BA.debugLineNum = 85;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 86;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xset.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xset.java new file mode 100644 index 0000000..1d0df10 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xset.java @@ -0,0 +1,31 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xset { + public static RemoteObject myClass; + public b4xset() { + } + public static PCBA staticBA = new PCBA(null, b4xset.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _map = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xorderedmap"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"map",_ref.getField(false, "_map")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xset_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xset_subs_0.java new file mode 100644 index 0000000..50691db --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xset_subs_0.java @@ -0,0 +1,154 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xset_subs_0 { + + +public static RemoteObject _add(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Add (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,9); +if (RapidSub.canDelegate("add")) { return __ref.runUserSub(false, "b4xset","add", __ref, _value);} +Debug.locals.put("Value", _value); + BA.debugLineNum = 9;BA.debugLine="Public Sub Add(Value As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="map.Put(Value, \"\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)(_value),(Object)((RemoteObject.createImmutable("")))); + BA.debugLineNum = 11;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _aslist(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("AsList (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,29); +if (RapidSub.canDelegate("aslist")) { return __ref.runUserSub(false, "b4xset","aslist", __ref);} + BA.debugLineNum = 29;BA.debugLine="Public Sub AsList As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 30;BA.debugLine="Return map.Keys"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private map As B4XOrderedMap"; +b4xset._map = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xorderedmap");__ref.setField("_map",b4xset._map); + //BA.debugLineNum = 3;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,25); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4xset","clear", __ref);} + BA.debugLineNum = 25;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 26;BA.debugLine="map.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 27;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _contains(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Contains (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,17); +if (RapidSub.canDelegate("contains")) { return __ref.runUserSub(false, "b4xset","contains", __ref, _value);} +Debug.locals.put("Value", _value); + BA.debugLineNum = 17;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 18;BA.debugLine="Return map.ContainsKey(Value)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_containskey" /*RemoteObject*/ ,(Object)(_value)); + BA.debugLineNum = 19;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSize (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,21); +if (RapidSub.canDelegate("getsize")) { return __ref.runUserSub(false, "b4xset","getsize", __ref);} + BA.debugLineNum = 21;BA.debugLine="Public Sub getSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 22;BA.debugLine="Return map.Size"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ); + BA.debugLineNum = 23;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,5); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xset","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 5;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 6;BA.debugLine="map.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 7;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _remove(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Remove (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,13); +if (RapidSub.canDelegate("remove")) { return __ref.runUserSub(false, "b4xset","remove", __ref, _value);} +Debug.locals.put("Value", _value); + BA.debugLineNum = 13;BA.debugLine="Public Sub Remove(Value As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 14;BA.debugLine="map.Remove(Value)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)(_value)); + BA.debugLineNum = 15;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java new file mode 100644 index 0000000..0ee52dd --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java @@ -0,0 +1,42 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xsignaturetemplate { + public static RemoteObject myClass; + public b4xsignaturetemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xsignaturetemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _lastx = RemoteObject.createImmutable(0f); +public static RemoteObject _lasty = RemoteObject.createImmutable(0f); +public static RemoteObject _strokewidth = RemoteObject.createImmutable(0f); +public static RemoteObject _strokecolor = RemoteObject.createImmutable(0); +public static RemoteObject _textcolor = RemoteObject.createImmutable(0); +public static RemoteObject _backgroundcolor = RemoteObject.createImmutable(0); +public static RemoteObject _adddateandtime = RemoteObject.createImmutable(false); +public static RemoteObject _textfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _numberofpoints = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AddDateAndTime",_ref.getField(false, "_adddateandtime"),"BackgroundColor",_ref.getField(false, "_backgroundcolor"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"LastX",_ref.getField(false, "_lastx"),"LastY",_ref.getField(false, "_lasty"),"mBase",_ref.getField(false, "_mbase"),"NumberOfPoints",_ref.getField(false, "_numberofpoints"),"StrokeColor",_ref.getField(false, "_strokecolor"),"StrokeWidth",_ref.getField(false, "_strokewidth"),"TextColor",_ref.getField(false, "_textcolor"),"TextFont",_ref.getField(false, "_textfont"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsignaturetemplate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsignaturetemplate_subs_0.java new file mode 100644 index 0000000..7865a34 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xsignaturetemplate_subs_0.java @@ -0,0 +1,237 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xsignaturetemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xsignaturetemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xsignaturetemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xsignaturetemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xsignaturetemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Private cvs As B4XCanvas"; +b4xsignaturetemplate._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xsignaturetemplate._cvs); + //BA.debugLineNum = 5;BA.debugLine="Private LastX, LastY As Float"; +b4xsignaturetemplate._lastx = RemoteObject.createImmutable(0f);__ref.setField("_lastx",b4xsignaturetemplate._lastx); +b4xsignaturetemplate._lasty = RemoteObject.createImmutable(0f);__ref.setField("_lasty",b4xsignaturetemplate._lasty); + //BA.debugLineNum = 6;BA.debugLine="Public StrokeWidth As Float = 2dip"; +b4xsignaturetemplate._strokewidth = BA.numberCast(float.class, b4xsignaturetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))));__ref.setField("_strokewidth",b4xsignaturetemplate._strokewidth); + //BA.debugLineNum = 7;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; +b4xsignaturetemplate._strokecolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black");__ref.setField("_strokecolor",b4xsignaturetemplate._strokecolor); + //BA.debugLineNum = 8;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; +b4xsignaturetemplate._textcolor = BA.numberCast(int.class, ((int)0xffff8800));__ref.setField("_textcolor",b4xsignaturetemplate._textcolor); + //BA.debugLineNum = 9;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; +b4xsignaturetemplate._backgroundcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_backgroundcolor",b4xsignaturetemplate._backgroundcolor); + //BA.debugLineNum = 10;BA.debugLine="Public AddDateAndTime As Boolean = True"; +b4xsignaturetemplate._adddateandtime = b4xsignaturetemplate.__c.getField(true,"True");__ref.setField("_adddateandtime",b4xsignaturetemplate._adddateandtime); + //BA.debugLineNum = 11;BA.debugLine="Public TextFont As B4XFont"; +b4xsignaturetemplate._textfont = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_textfont",b4xsignaturetemplate._textfont); + //BA.debugLineNum = 12;BA.debugLine="Public NumberOfPoints As Int"; +b4xsignaturetemplate._numberofpoints = RemoteObject.createImmutable(0);__ref.setField("_numberofpoints",b4xsignaturetemplate._numberofpoints); + //BA.debugLineNum = 13;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xsignaturetemplate) ","b4xsignaturetemplate",65,__ref.getField(false, "ba"),__ref,56); +if (RapidSub.canDelegate("dialogclosed")) { return __ref.runUserSub(false, "b4xsignaturetemplate","dialogclosed", __ref, _result);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _baseline = RemoteObject.createImmutable(0); +Debug.locals.put("Result", _result); + BA.debugLineNum = 56;BA.debugLine="Private Sub DialogClosed (Result As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 57;BA.debugLine="If Result = xui.DialogResponse_Positive And AddDa"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_result,BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))) && RemoteObject.solveBoolean(".",__ref.getField(true,"_adddateandtime" /*RemoteObject*/ ))) { + BA.debugLineNum = 58;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"M\", TextFont"; +Debug.JustUpdateDeviceLine(); +_r = __ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"MeasureText",(Object)(BA.ObjectToString("M")),(Object)(__ref.getField(false,"_textfont" /*RemoteObject*/ )));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 59;BA.debugLine="Dim Baseline As Int = cvs.TargetRect.Bottom - r."; +Debug.JustUpdateDeviceLine(); +_baseline = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getBottom"),_r.runMethod(true,"getHeight"),_r.runMethod(true,"getTop"),b4xsignaturetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "---",3, 0));Debug.locals.put("Baseline", _baseline);Debug.locals.put("Baseline", _baseline); + BA.debugLineNum = 60;BA.debugLine="cvs.DrawText($\"$DateTime{DateTime.Now}\"$, 2dip,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawText",__ref.getField(false, "ba"),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),b4xsignaturetemplate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("datetime")),(Object)((b4xsignaturetemplate.__c.getField(false,"DateTime").runMethod(true,"getNow")))),RemoteObject.createImmutable("")))),(Object)(BA.numberCast(float.class, b4xsignaturetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))))),(Object)(BA.numberCast(float.class, _baseline)),(Object)(__ref.getField(false,"_textfont" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_textcolor" /*RemoteObject*/ )),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Paint.Align"),RemoteObject.createImmutable("LEFT")))); + }; + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmap(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBitmap (b4xsignaturetemplate) ","b4xsignaturetemplate",65,__ref.getField(false, "ba"),__ref,52); +if (RapidSub.canDelegate("getbitmap")) { return __ref.runUserSub(false, "b4xsignaturetemplate","getbitmap", __ref);} + BA.debugLineNum = 52;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="Return cvs.CreateBitmap"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"CreateBitmap"); + BA.debugLineNum = 54;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (b4xsignaturetemplate) ","b4xsignaturetemplate",65,__ref.getField(false, "ba"),__ref,28); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "b4xsignaturetemplate","getpanel", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 28;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 29;BA.debugLine="Return mBase"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbase" /*RemoteObject*/ ); + BA.debugLineNum = 30;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xsignaturetemplate) ","b4xsignaturetemplate",65,__ref.getField(false, "ba"),__ref,15); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xsignaturetemplate","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 15;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 16;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbase" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mBase")))); + BA.debugLineNum = 17;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 200dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xsignaturetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)))),(Object)(b4xsignaturetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200))))); + BA.debugLineNum = 18;BA.debugLine="cvs.Initialize(mBase)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ))); + BA.debugLineNum = 19;BA.debugLine="TextFont = xui.CreateDefaultFont(14)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_textfont" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateDefaultFont",(Object)(BA.numberCast(float.class, 14)))); + BA.debugLineNum = 20;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mbase_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("mBase_Touch (b4xsignaturetemplate) ","b4xsignaturetemplate",65,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("mbase_touch")) { return __ref.runUserSub(false, "b4xsignaturetemplate","mbase_touch", __ref, _action, _x, _y);} +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 38;BA.debugLine="Private Sub mBase_Touch (Action As Int, X As Float"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="Select Action"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(_action,__ref.getField(false,"_mbase" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_DOWN"),__ref.getField(false,"_mbase" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE"))) { +case 0: { + BA.debugLineNum = 41;BA.debugLine="LastX = X"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastx" /*RemoteObject*/ ,_x); + BA.debugLineNum = 42;BA.debugLine="LastY = Y"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lasty" /*RemoteObject*/ ,_y); + break; } +case 1: { + BA.debugLineNum = 44;BA.debugLine="cvs.DrawLine(LastX, LastY, X, Y, StrokeColor, S"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawLine",(Object)(__ref.getField(true,"_lastx" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_lasty" /*RemoteObject*/ )),(Object)(_x),(Object)(_y),(Object)(__ref.getField(true,"_strokecolor" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_strokewidth" /*RemoteObject*/ ))); + BA.debugLineNum = 45;BA.debugLine="LastX = X"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastx" /*RemoteObject*/ ,_x); + BA.debugLineNum = 46;BA.debugLine="LastY = Y"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lasty" /*RemoteObject*/ ,_y); + BA.debugLineNum = 47;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 48;BA.debugLine="NumberOfPoints = NumberOfPoints + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_numberofpoints" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_numberofpoints" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + break; } +} +; + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Resize (b4xsignaturetemplate) ","b4xsignaturetemplate",65,__ref.getField(false, "ba"),__ref,22); +if (RapidSub.canDelegate("resize")) { return __ref.runUserSub(false, "b4xsignaturetemplate","resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 22;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 23;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 24;BA.debugLine="cvs.Resize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _width)),(Object)(BA.numberCast(float.class, _height))); + BA.debugLineNum = 25;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xsignaturetemplate) ","b4xsignaturetemplate",65,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("show")) { return __ref.runUserSub(false, "b4xsignaturetemplate","show", __ref, _dialog);} +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 32;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="cvs.DrawRect(cvs.TargetRect, BackgroundColor, Tru"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect")),(Object)(__ref.getField(true,"_backgroundcolor" /*RemoteObject*/ )),(Object)(b4xsignaturetemplate.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 34;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 35;BA.debugLine="NumberOfPoints = 0"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_numberofpoints" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xswitch.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xswitch.java new file mode 100644 index 0000000..ab4bb15 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xswitch.java @@ -0,0 +1,48 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xswitch { + public static RemoteObject myClass; + public b4xswitch() { + } + public static PCBA staticBA = new PCBA(null, b4xswitch.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _oncolor = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _offcolor = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _width = RemoteObject.createImmutable(0); +public static RemoteObject _height = RemoteObject.createImmutable(0); +public static RemoteObject _thumbcolor = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(false); +public static RemoteObject _transparent = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _loopindex = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _scale = RemoteObject.createImmutable(0f); +public static RemoteObject _menabled = RemoteObject.createImmutable(false); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"DateUtils",_ref.getField(false, "_dateutils"),"Height",_ref.getField(false, "_height"),"iv",_ref.getField(false, "_iv"),"LoopIndex",_ref.getField(false, "_loopindex"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEnabled",_ref.getField(false, "_menabled"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"mValue",_ref.getField(false, "_mvalue"),"OffColor",_ref.getField(false, "_offcolor"),"OnColor",_ref.getField(false, "_oncolor"),"Scale",_ref.getField(false, "_scale"),"Tag",_ref.getField(false, "_tag"),"ThumbColor",_ref.getField(false, "_thumbcolor"),"transparent",_ref.getField(false, "_transparent"),"Width",_ref.getField(false, "_width"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xswitch_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xswitch_subs_0.java new file mode 100644 index 0000000..7a2ac87 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xswitch_subs_0.java @@ -0,0 +1,659 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xswitch_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width1,RemoteObject _height1) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,148); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "b4xswitch","base_resize", __ref, _width1, _height1);} +Debug.locals.put("Width1", _width1); +Debug.locals.put("Height1", _height1); + BA.debugLineNum = 148;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 150;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; +b4xswitch._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xswitch._meventname); + //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xswitch._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xswitch._mcallback); + //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xswitch._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xswitch._mbase); + //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; +b4xswitch._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xswitch._xui); + //BA.debugLineNum = 12;BA.debugLine="Private OnColor, OffColor As BCBrush"; +b4xswitch._oncolor = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_oncolor",b4xswitch._oncolor); +b4xswitch._offcolor = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_offcolor",b4xswitch._offcolor); + //BA.debugLineNum = 13;BA.debugLine="Private bc As BitmapCreator"; +b4xswitch._bc = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_bc",b4xswitch._bc); + //BA.debugLineNum = 14;BA.debugLine="Private Width As Int = 55dip"; +b4xswitch._width = b4xswitch.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)));__ref.setField("_width",b4xswitch._width); + //BA.debugLineNum = 15;BA.debugLine="Private Height As Int = 31dip"; +b4xswitch._height = b4xswitch.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 31)));__ref.setField("_height",b4xswitch._height); + //BA.debugLineNum = 16;BA.debugLine="Private ThumbColor As BCBrush"; +b4xswitch._thumbcolor = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_thumbcolor",b4xswitch._thumbcolor); + //BA.debugLineNum = 17;BA.debugLine="Private iv As ImageView"; +b4xswitch._iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_iv",b4xswitch._iv); + //BA.debugLineNum = 18;BA.debugLine="Private mValue As Boolean"; +b4xswitch._mvalue = RemoteObject.createImmutable(false);__ref.setField("_mvalue",b4xswitch._mvalue); + //BA.debugLineNum = 19;BA.debugLine="Private transparent As BCBrush"; +b4xswitch._transparent = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_transparent",b4xswitch._transparent); + //BA.debugLineNum = 20;BA.debugLine="Private LoopIndex As Int"; +b4xswitch._loopindex = RemoteObject.createImmutable(0);__ref.setField("_loopindex",b4xswitch._loopindex); + //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; +b4xswitch._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xswitch._tag); + //BA.debugLineNum = 22;BA.debugLine="Private Scale As Float"; +b4xswitch._scale = RemoteObject.createImmutable(0f);__ref.setField("_scale",b4xswitch._scale); + //BA.debugLineNum = 23;BA.debugLine="Private mEnabled As Boolean = True"; +b4xswitch._menabled = b4xswitch.__c.getField(true,"True");__ref.setField("_menabled",b4xswitch._menabled); + //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; +b4xswitch._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",b4xswitch._mhaptic); + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,33); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "b4xswitch","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 34;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 36;BA.debugLine="mBase.SetLayoutAnimated(0, mBase.Left, mBase.Top,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getLeft")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getTop")),(Object)(__ref.getField(true,"_width" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_height" /*RemoteObject*/ ))); + BA.debugLineNum = 37;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 38;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"pnl\")"; +Debug.JustUpdateDeviceLine(); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pnl")));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 39;BA.debugLine="pnl.Color = xui.Color_Transparent"; +Debug.JustUpdateDeviceLine(); +_pnl.runMethod(true,"setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + BA.debugLineNum = 40;BA.debugLine="iv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_iv" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 41;BA.debugLine="mBase.AddView(iv, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_iv" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_width" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_height" /*RemoteObject*/ ))); + BA.debugLineNum = 42;BA.debugLine="mBase.AddView(pnl, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_pnl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_width" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_height" /*RemoteObject*/ ))); + BA.debugLineNum = 44;BA.debugLine="bc.Initialize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_width" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_height" /*RemoteObject*/ ))); + BA.debugLineNum = 45;BA.debugLine="Scale = xui.Scale"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_scale" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getScale")); + BA.debugLineNum = 50;BA.debugLine="OnColor = bc.CreateBrushFromColor(xui.PaintOrColo"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_oncolor" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("OnColor"))))))))); + BA.debugLineNum = 51;BA.debugLine="OffColor = bc.CreateBrushFromColor(xui.PaintOrCol"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_offcolor" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("OffColor"))))))))); + BA.debugLineNum = 52;BA.debugLine="ThumbColor = bc.CreateBrushFromColor(xui.PaintOrC"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_thumbcolor" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ThumbColor"))))))))); + BA.debugLineNum = 53;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mhaptic" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("HapticFeedback"))),(Object)((b4xswitch.__c.getField(true,"False")))))); + BA.debugLineNum = 54;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_transparent" /*RemoteObject*/ ,__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_createbrushfromcolor",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")))); + BA.debugLineNum = 55;BA.debugLine="mEnabled = mBase.Enabled"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_menabled" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getEnabled")); + BA.debugLineNum = 56;BA.debugLine="mBase.Enabled = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setEnabled",b4xswitch.__c.getField(true,"True")); + BA.debugLineNum = 57;BA.debugLine="SetValueImpl(Props.Get(\"Value\"), True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalueimpl" /*void*/ ,(Object)(BA.ObjectToBoolean(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Value")))))),(Object)(b4xswitch.__c.getField(true,"True"))); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref,RemoteObject _state) throws Exception{ +try { + Debug.PushSubsStack("Draw (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,126); +if (RapidSub.canDelegate("draw")) { return __ref.runUserSub(false, "b4xswitch","draw", __ref, _state);} +RemoteObject _r = RemoteObject.createImmutable(0f); +RemoteObject _cx = RemoteObject.createImmutable(0f); +RemoteObject _cy = RemoteObject.createImmutable(0); +RemoteObject _smallrect = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _w = RemoteObject.createImmutable(0f); +RemoteObject _h = RemoteObject.createImmutable(0f); +Debug.locals.put("State", _state); + BA.debugLineNum = 126;BA.debugLine="Private Sub Draw (State As Float)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 127;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawrect2",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(false,"_targetrect")),(Object)(__ref.getField(false,"_transparent" /*RemoteObject*/ )),(Object)(b4xswitch.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 128;BA.debugLine="Dim r As Float = Round(bc.mHeight / 2)"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, b4xswitch.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mheight"),RemoteObject.createImmutable(2)}, "/",0, 0))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 129;BA.debugLine="Dim cx As Float = r - 1 * Scale + (bc.mWidth - 2"; +Debug.JustUpdateDeviceLine(); +_cx = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,RemoteObject.createImmutable(1),__ref.getField(true,"_scale" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mwidth"),RemoteObject.createImmutable(2),_r}, "-*",1, 0)),_state}, "-*+*",2, 0));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 130;BA.debugLine="If State = 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_state,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 131;BA.debugLine="cx = r"; +Debug.JustUpdateDeviceLine(); +_cx = _r;Debug.locals.put("cx", _cx); + }else +{ BA.debugLineNum = 132;BA.debugLine="Else If State = 1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_state,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 133;BA.debugLine="cx = Round(bc.mWidth - 1 * Scale - r)"; +Debug.JustUpdateDeviceLine(); +_cx = BA.numberCast(float.class, b4xswitch.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mwidth"),RemoteObject.createImmutable(1),__ref.getField(true,"_scale" /*RemoteObject*/ ),_r}, "-*-",2, 0))));Debug.locals.put("cx", _cx); + }} +; + BA.debugLineNum = 135;BA.debugLine="Dim cy As Int = bc.mHeight / 2"; +Debug.JustUpdateDeviceLine(); +_cy = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mheight"),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("cy", _cy);Debug.locals.put("cy", _cy); + BA.debugLineNum = 136;BA.debugLine="Dim smallrect As B4XRect"; +Debug.JustUpdateDeviceLine(); +_smallrect = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("smallrect", _smallrect); + BA.debugLineNum = 137;BA.debugLine="Dim w As Float = State * bc.mWidth"; +Debug.JustUpdateDeviceLine(); +_w = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_state,__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mwidth")}, "*",0, 0));Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 138;BA.debugLine="Dim h As Float = State * bc.mHeight"; +Debug.JustUpdateDeviceLine(); +_h = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_state,__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mheight")}, "*",0, 0));Debug.locals.put("h", _h);Debug.locals.put("h", _h); + BA.debugLineNum = 139;BA.debugLine="If State < 1 Then bc.DrawRectRounded2(bc.TargetRe"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_state,BA.numberCast(double.class, 1))) { +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawrectrounded2",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(false,"_targetrect")),(Object)(__ref.getField(false,"_offcolor" /*RemoteObject*/ )),(Object)(b4xswitch.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),__ref.getField(true,"_scale" /*RemoteObject*/ )}, "*",0, 0))),(Object)(BA.numberCast(int.class, _r)));}; + BA.debugLineNum = 140;BA.debugLine="smallrect.Initialize(bc.mWidth / 2 - w / 2, cy -"; +Debug.JustUpdateDeviceLine(); +_smallrect.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mwidth"),RemoteObject.createImmutable(2),_w,RemoteObject.createImmutable(2)}, "/-/",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cy,_h,RemoteObject.createImmutable(2)}, "-/",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_bc" /*RemoteObject*/ ).getField(true,"_mwidth"),RemoteObject.createImmutable(2),_w,RemoteObject.createImmutable(2)}, "/+/",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cy,_h,RemoteObject.createImmutable(2)}, "+/",1, 0)))); + BA.debugLineNum = 141;BA.debugLine="If State > 0 Then bc.DrawRectRounded2(smallrect,"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_state,BA.numberCast(double.class, 0))) { +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawrectrounded2",(Object)(_smallrect),(Object)(__ref.getField(false,"_oncolor" /*RemoteObject*/ )),(Object)(b4xswitch.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),__ref.getField(true,"_scale" /*RemoteObject*/ )}, "*",0, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_smallrect.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))));}; + BA.debugLineNum = 142;BA.debugLine="If mEnabled Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_menabled" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 143;BA.debugLine="bc.DrawCircle2(cx, cy, r - 2 * Scale, ThumbColor"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_drawcircle2",(Object)(_cx),(Object)(BA.numberCast(float.class, _cy)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,RemoteObject.createImmutable(2),__ref.getField(true,"_scale" /*RemoteObject*/ )}, "-*",1, 0))),(Object)(__ref.getField(false,"_thumbcolor" /*RemoteObject*/ )),(Object)(b4xswitch.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0))); + }; + BA.debugLineNum = 145;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bc" /*RemoteObject*/ ).runVoidMethod ("_setbitmaptoimageview",(Object)(__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"_getbitmap")),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_iv" /*RemoteObject*/ ).getObject())); + BA.debugLineNum = 146;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getenabled(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getEnabled (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,122); +if (RapidSub.canDelegate("getenabled")) { return __ref.runUserSub(false, "b4xswitch","getenabled", __ref);} + BA.debugLineNum = 122;BA.debugLine="Public Sub getEnabled As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 123;BA.debugLine="Return mEnabled"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_menabled" /*RemoteObject*/ ); + BA.debugLineNum = 124;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValue (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,113); +if (RapidSub.canDelegate("getvalue")) { return __ref.runUserSub(false, "b4xswitch","getvalue", __ref);} + BA.debugLineNum = 113;BA.debugLine="Public Sub getValue As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 114;BA.debugLine="Return mValue"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mvalue" /*RemoteObject*/ ); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,27); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xswitch","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 30;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pnl_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("pnl_Click (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("pnl_click")) { return __ref.runUserSub(false, "b4xswitch","pnl_click", __ref);} + BA.debugLineNum = 70;BA.debugLine="Private Sub pnl_Click"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 72;BA.debugLine="If mEnabled Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_menabled" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 73;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mhaptic" /*RemoteObject*/ ).get().booleanValue()) { +b4xswitch._xuiviewsutils.runVoidMethod ("_performhapticfeedback" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )));}; + BA.debugLineNum = 74;BA.debugLine="SetValueImpl(Not(mValue), False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalueimpl" /*void*/ ,(Object)(b4xswitch.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )))),(Object)(b4xswitch.__c.getField(true,"False"))); + BA.debugLineNum = 75;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ValueChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 76;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +Debug.JustUpdateDeviceLine(); +b4xswitch.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ValueChanged"))),(Object)((__ref.getField(true,"_mvalue" /*RemoteObject*/ )))); + }; + }; + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setenabled(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setEnabled (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,117); +if (RapidSub.canDelegate("setenabled")) { return __ref.runUserSub(false, "b4xswitch","setenabled", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 117;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 118;BA.debugLine="mEnabled = b"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_menabled" /*RemoteObject*/ ,_b); + BA.debugLineNum = 119;BA.debugLine="SetValueImpl(mValue, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalueimpl" /*void*/ ,(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )),(Object)(b4xswitch.__c.getField(true,"True"))); + BA.debugLineNum = 120;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvalue(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setValue (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,108); +if (RapidSub.canDelegate("setvalue")) { return __ref.runUserSub(false, "b4xswitch","setvalue", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 108;BA.debugLine="Public Sub setValue(b As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 109;BA.debugLine="If b = mValue Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_b,__ref.getField(true,"_mvalue" /*RemoteObject*/ ))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 110;BA.debugLine="SetValueImpl(b, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_setvalueimpl" /*void*/ ,(Object)(_b),(Object)(b4xswitch.__c.getField(true,"False"))); + BA.debugLineNum = 111;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _setvalueimpl(RemoteObject __ref,RemoteObject _b,RemoteObject _immediate) throws Exception{ +try { + Debug.PushSubsStack("SetValueImpl (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,81); +if (RapidSub.canDelegate("setvalueimpl")) { __ref.runUserSub(false, "b4xswitch","setvalueimpl", __ref, _b, _immediate); return;} +ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(null,__ref,_b,_immediate); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_SetValueImpl extends BA.ResumableSub { +public ResumableSub_SetValueImpl(gunav2.keymon.com.mx.b4xswitch parent,RemoteObject __ref,RemoteObject _b,RemoteObject _immediate) { +this.parent = parent; +this.__ref = __ref; +this._b = _b; +this._immediate = _immediate; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xswitch parent; +RemoteObject _b; +RemoteObject _immediate; +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _start = RemoteObject.createImmutable(0L); +RemoteObject _duration = RemoteObject.createImmutable(0); +RemoteObject _state1 = RemoteObject.createImmutable(0f); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("SetValueImpl (b4xswitch) ","b4xswitch",66,__ref.getField(false, "ba"),__ref,81); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("b", _b); +Debug.locals.put("Immediate", _immediate); + BA.debugLineNum = 82;BA.debugLine="mValue = b"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,_b); + BA.debugLineNum = 83;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 84;BA.debugLine="If Immediate Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 41; +if (_immediate.get().booleanValue()) { +this.state = 3; +}else { +this.state = 13; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 85;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 11; +if (__ref.getField(true,"_mvalue" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 6; +;} +else { +this.state = 8; +;}if (true) break; + +case 6: +//C +this.state = 11; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 8: +//C +this.state = 11; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 0))); +if (true) break; + +case 11: +//C +this.state = 41; +; + if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 87;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_loopindex" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 88;BA.debugLine="Dim start As Long = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_start = parent.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("start", _start);Debug.locals.put("start", _start); + BA.debugLineNum = 89;BA.debugLine="Dim duration As Int = 200"; +Debug.JustUpdateDeviceLine(); +_duration = BA.numberCast(int.class, 200);Debug.locals.put("duration", _duration);Debug.locals.put("duration", _duration); + BA.debugLineNum = 90;BA.debugLine="Do While DateTime.Now < start + duration"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 14: +//do while +this.state = 29; +while (RemoteObject.solveBoolean("<",parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.solve(new RemoteObject[] {_start,_duration}, "+",1, 2))) { +this.state = 16; +if (true) break; +} +if (true) break; + +case 16: +//C +this.state = 17; + BA.debugLineNum = 91;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +Debug.JustUpdateDeviceLine(); +_state1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),_start}, "-",1, 2)),_duration}, "/",0, 0));Debug.locals.put("state1", _state1);Debug.locals.put("state1", _state1); + BA.debugLineNum = 92;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 17: +//if +this.state = 22; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mvalue" /*RemoteObject*/ ),parent.__c.getField(true,"False"))) { +this.state = 19; +;}if (true) break; + +case 19: +//C +this.state = 22; +_state1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),_state1}, "-",1, 0));Debug.locals.put("state1", _state1); +if (true) break; + +case 22: +//C +this.state = 23; +; + BA.debugLineNum = 93;BA.debugLine="Draw(state1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(_state1)); + BA.debugLineNum = 94;BA.debugLine="Sleep(16)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xswitch", "setvalueimpl"),BA.numberCast(int.class, 16)); +this.state = 47; +return; +case 47: +//C +this.state = 23; +; + BA.debugLineNum = 95;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 23: +//if +this.state = 28; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 25; +;}if (true) break; + +case 25: +//C +this.state = 28; +this.state = 29; +if (true) break; +if (true) break; + +case 28: +//C +this.state = 14; +; + if (true) break; +; + BA.debugLineNum = 97;BA.debugLine="If MyIndex = LoopIndex Then"; +Debug.JustUpdateDeviceLine(); + +case 29: +//if +this.state = 40; +if (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 31; +}if (true) break; + +case 31: +//C +this.state = 32; + BA.debugLineNum = 98;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 32: +//if +this.state = 39; +if (__ref.getField(true,"_mvalue" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 34; +;} +else { +this.state = 36; +;}if (true) break; + +case 34: +//C +this.state = 39; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 36: +//C +this.state = 39; +__ref.runClassMethod (gunav2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 0))); +if (true) break; + +case 39: +//C +this.state = 40; +; + if (true) break; + +case 40: +//C +this.state = 41; +; + if (true) break; +; + BA.debugLineNum = 101;BA.debugLine="If mEnabled Then"; +Debug.JustUpdateDeviceLine(); + +case 41: +//if +this.state = 46; +if (__ref.getField(true,"_menabled" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 43; +}else { +this.state = 45; +}if (true) break; + +case 43: +//C +this.state = 46; + BA.debugLineNum = 102;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_setalpha" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, 1))); + if (true) break; + +case 45: +//C +this.state = 46; + BA.debugLineNum = 104;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.6)"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_setalpha" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, 0.6))); + if (true) break; + +case 46: +//C +this.state = -1; +; + BA.debugLineNum = 106;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xtimedtemplate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xtimedtemplate.java new file mode 100644 index 0000000..25e2649 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xtimedtemplate.java @@ -0,0 +1,36 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xtimedtemplate { + public static RemoteObject myClass; + public b4xtimedtemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xtimedtemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _anotherprogressbar1 = RemoteObject.declareNull("gunav2.keymon.com.mx.anotherprogressbar"); +public static RemoteObject _mtemplate = RemoteObject.declareNull("Object"); +public static RemoteObject _timeoutmilliseconds = RemoteObject.createImmutable(0); +public static RemoteObject _index = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AnotherProgressBar1",_ref.getField(false, "_anotherprogressbar1"),"DateUtils",_ref.getField(false, "_dateutils"),"Index",_ref.getField(false, "_index"),"mBase",_ref.getField(false, "_mbase"),"mTemplate",_ref.getField(false, "_mtemplate"),"TimeoutMilliseconds",_ref.getField(false, "_timeoutmilliseconds"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0.java new file mode 100644 index 0000000..c078179 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/b4xtimedtemplate_subs_0.java @@ -0,0 +1,224 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xtimedtemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xtimedtemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xtimedtemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xtimedtemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xtimedtemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; +b4xtimedtemplate._anotherprogressbar1 = RemoteObject.createNew ("gunav2.keymon.com.mx.anotherprogressbar");__ref.setField("_anotherprogressbar1",b4xtimedtemplate._anotherprogressbar1); + //BA.debugLineNum = 5;BA.debugLine="Private mTemplate As Object"; +b4xtimedtemplate._mtemplate = RemoteObject.createNew ("Object");__ref.setField("_mtemplate",b4xtimedtemplate._mtemplate); + //BA.debugLineNum = 6;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; +b4xtimedtemplate._timeoutmilliseconds = BA.numberCast(int.class, 10000);__ref.setField("_timeoutmilliseconds",b4xtimedtemplate._timeoutmilliseconds); + //BA.debugLineNum = 7;BA.debugLine="Private Index As Int"; +b4xtimedtemplate._index = RemoteObject.createImmutable(0);__ref.setField("_index",b4xtimedtemplate._index); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xtimedtemplate) ","b4xtimedtemplate",67,__ref.getField(false, "ba"),__ref,41); +if (RapidSub.canDelegate("dialogclosed")) { return __ref.runUserSub(false, "b4xtimedtemplate","dialogclosed", __ref, _result);} +Debug.locals.put("Result", _result); + BA.debugLineNum = 41;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 42;BA.debugLine="Index = Index + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_index" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_index" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 43;BA.debugLine="CallSub2(mTemplate, \"DialogClosed\", Result)"; +Debug.JustUpdateDeviceLine(); +b4xtimedtemplate.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mtemplate" /*RemoteObject*/ )),(Object)(BA.ObjectToString("DialogClosed")),(Object)((_result))); + BA.debugLineNum = 44;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (b4xtimedtemplate) ","b4xtimedtemplate",67,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "b4xtimedtemplate","getpanel", __ref, _dialog);} +RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 16;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 17;BA.debugLine="If mBase.NumberOfViews = 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getNumberOfViews"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 18;BA.debugLine="Dim InnerPanel As B4XView = CallSub2(mTemplate,"; +Debug.JustUpdateDeviceLine(); +_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xtimedtemplate.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mtemplate" /*RemoteObject*/ )),(Object)(BA.ObjectToString("GetPanel")),(Object)((_dialog))));Debug.locals.put("InnerPanel", _innerpanel);Debug.locals.put("InnerPanel", _innerpanel); + BA.debugLineNum = 19;BA.debugLine="If InnerPanel.Parent.IsInitialized Then InnerPan"; +Debug.JustUpdateDeviceLine(); +if (_innerpanel.runMethod(false,"getParent").runMethod(true,"IsInitialized").get().booleanValue()) { +_innerpanel.runVoidMethod ("RemoveViewFromParent");}; + BA.debugLineNum = 20;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, InnerPanel.Widt"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_innerpanel.runMethod(true,"getWidth")),(Object)(RemoteObject.solve(new RemoteObject[] {_innerpanel.runMethod(true,"getHeight"),b4xtimedtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 19)))}, "+",1, 1))); + BA.debugLineNum = 21;BA.debugLine="mBase.LoadLayout(\"TimedDialogTemplate\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("TimedDialogTemplate")),__ref.getField(false, "ba")); + BA.debugLineNum = 22;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 23;BA.debugLine="mBase.AddView(InnerPanel, 0, 19dip, InnerPanel.W"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_innerpanel.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xtimedtemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 19)))),(Object)(_innerpanel.runMethod(true,"getWidth")),(Object)(_innerpanel.runMethod(true,"getHeight"))); + }; + BA.debugLineNum = 25;BA.debugLine="Return mBase"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbase" /*RemoteObject*/ ); + BA.debugLineNum = 26;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _innertemplate) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xtimedtemplate) ","b4xtimedtemplate",67,__ref.getField(false, "ba"),__ref,10); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xtimedtemplate","initialize", __ref, _ba, _innertemplate);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("InnerTemplate", _innertemplate); + BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (InnerTemplate As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 11;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbase" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mBase")))); + BA.debugLineNum = 12;BA.debugLine="mTemplate = InnerTemplate"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mtemplate" /*RemoteObject*/ ,_innertemplate); + BA.debugLineNum = 14;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xtimedtemplate) ","b4xtimedtemplate",67,__ref.getField(false, "ba"),__ref,28); +if (RapidSub.canDelegate("show")) { __ref.runUserSub(false, "b4xtimedtemplate","show", __ref, _dialog); return;} +ResumableSub_Show rsub = new ResumableSub_Show(null,__ref,_dialog); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xtimedtemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.b4xtimedtemplate parent; +RemoteObject _dialog; +RemoteObject _myindex = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xtimedtemplate) ","b4xtimedtemplate",67,__ref.getField(false, "ba"),__ref,28); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Dialog", _dialog); + BA.debugLineNum = 29;BA.debugLine="CallSub2(mTemplate, \"Show\", Dialog)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mtemplate" /*RemoteObject*/ )),(Object)(BA.ObjectToString("Show")),(Object)((_dialog))); + BA.debugLineNum = 30;BA.debugLine="AnotherProgressBar1.SetValueNoAnimation(0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_anotherprogressbar1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_setvaluenoanimation" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 31;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_anotherprogressbar1" /*RemoteObject*/ ).setField ("_valuechangepersecond" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(100),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_timeoutmilliseconds" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "/",0, 0))}, "/",0, 0))); + BA.debugLineNum = 32;BA.debugLine="AnotherProgressBar1.Value = 100"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_anotherprogressbar1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.anotherprogressbar.class, "_setvalue" /*RemoteObject*/ ,BA.numberCast(int.class, 100)); + BA.debugLineNum = 33;BA.debugLine="Index = Index + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_index" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_index" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 34;BA.debugLine="Dim MyIndex As Int = Index"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_index" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 35;BA.debugLine="Sleep(TimeoutMilliseconds)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xtimedtemplate", "show"),__ref.getField(true,"_timeoutmilliseconds" /*RemoteObject*/ )); +this.state = 5; +return; +case 5: +//C +this.state = 1; +; + BA.debugLineNum = 36;BA.debugLine="If MyIndex = Index Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_index" /*RemoteObject*/ )))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 37;BA.debugLine="Dialog.Close(xui.DialogResponse_Cancel)"; +Debug.JustUpdateDeviceLine(); +_dialog.runClassMethod (gunav2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel"))); + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/batteryutilities.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/batteryutilities.java new file mode 100644 index 0000000..45482af --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/batteryutilities.java @@ -0,0 +1,31 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class batteryutilities { + public static RemoteObject myClass; + public batteryutilities() { + } + public static PCBA staticBA = new PCBA(null, batteryutilities.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _nativeme = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"nativeMe",_ref.getField(false, "_nativeme")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/batteryutilities_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/batteryutilities_subs_0.java new file mode 100644 index 0000000..7eab154 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/batteryutilities_subs_0.java @@ -0,0 +1,89 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class batteryutilities_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private nativeMe As JavaObject"; +batteryutilities._nativeme = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");__ref.setField("_nativeme",batteryutilities._nativeme); + //BA.debugLineNum = 5;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _getbatteryinformation(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBatteryInformation (batteryutilities) ","batteryutilities",15,__ref.getField(false, "ba"),__ref,22); +if (RapidSub.canDelegate("getbatteryinformation")) { return __ref.runUserSub(false, "batteryutilities","getbatteryinformation", __ref);} +RemoteObject _batteryinfo = null; + BA.debugLineNum = 22;BA.debugLine="Public Sub getBatteryInformation () As Int()"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 24;BA.debugLine="Dim batteryInfo(11) As Int"; +Debug.ShouldStop(8388608); +_batteryinfo = RemoteObject.createNewArray ("int", new int[] {11}, new Object[]{});Debug.locals.put("batteryInfo", _batteryinfo); + BA.debugLineNum = 25;BA.debugLine="batteryInfo = nativeMe.RunMethod(\"getBatteryInfor"; +Debug.ShouldStop(16777216); +_batteryinfo = (__ref.getField(false,"_nativeme" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getBatteryInformation")),(Object)((batteryutilities.__c.getField(false,"Null")))));Debug.locals.put("batteryInfo", _batteryinfo); + BA.debugLineNum = 26;BA.debugLine="Return batteryInfo"; +Debug.ShouldStop(33554432); +if (true) return _batteryinfo; + BA.debugLineNum = 28;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbatterytechnolgy(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBatteryTechnolgy (batteryutilities) ","batteryutilities",15,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("getbatterytechnolgy")) { return __ref.runUserSub(false, "batteryutilities","getbatterytechnolgy", __ref);} +RemoteObject _batterytech = RemoteObject.createImmutable(""); + BA.debugLineNum = 30;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 32;BA.debugLine="Dim batterytech As String"; +Debug.ShouldStop(-2147483648); +_batterytech = RemoteObject.createImmutable("");Debug.locals.put("batterytech", _batterytech); + BA.debugLineNum = 33;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; +Debug.ShouldStop(1); +_batterytech = BA.ObjectToString(__ref.getField(false,"_nativeme" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getBatteryTechnology")),(Object)((batteryutilities.__c.getField(false,"Null")))));Debug.locals.put("batterytech", _batterytech); + BA.debugLineNum = 34;BA.debugLine="Return batterytech"; +Debug.ShouldStop(2); +if (true) return _batterytech; + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (batteryutilities) ","batteryutilities",15,__ref.getField(false, "ba"),__ref,7); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "batteryutilities","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize"; +Debug.ShouldStop(64); + BA.debugLineNum = 8;BA.debugLine="nativeMe = Me"; +Debug.ShouldStop(128); +__ref.getField(false,"_nativeme" /*RemoteObject*/ ).setObject (__ref); + BA.debugLineNum = 9;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_bitacora.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_bitacora.java new file mode 100644 index 0000000..7157d1a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_bitacora.java @@ -0,0 +1,45 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_bitacora { + public static RemoteObject myClass; + public c_bitacora() { + } + public static PCBA staticBA = new PCBA(null, c_bitacora.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _db = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _root2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _p_transparenteiniciofin2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_inicio_fin_venta2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _contadoriniciarventa = RemoteObject.createImmutable(0); +public static RemoteObject _precision = RemoteObject.createImmutable(0); +public static RemoteObject _inivenno = RemoteObject.createImmutable(false); +public static RemoteObject _dentrodegeocerca = RemoteObject.createImmutable(false); +public static RemoteObject _enventa = RemoteObject.createImmutable(false); +public static RemoteObject _motivonoventa = RemoteObject.createImmutable(""); +public static RemoteObject _motivonovisita = RemoteObject.createImmutable(""); +public static RemoteObject _banderageocerca = RemoteObject.createImmutable(""); +public static RemoteObject _reqmanager = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_Inicio_Fin_venta2",_ref.getField(false, "_b_inicio_fin_venta2"),"banderaGeoCerca",_ref.getField(false, "_banderageocerca"),"contadorIniciarVenta",_ref.getField(false, "_contadoriniciarventa"),"DateUtils",_ref.getField(false, "_dateutils"),"db",_ref.getField(false, "_db"),"dentroDeGeocerca",_ref.getField(false, "_dentrodegeocerca"),"enVenta",_ref.getField(false, "_enventa"),"IniVenNO",_ref.getField(false, "_inivenno"),"motivoNoVenta",_ref.getField(false, "_motivonoventa"),"motivoNoVisita",_ref.getField(false, "_motivonovisita"),"p_transparenteInicioFin2",_ref.getField(false, "_p_transparenteiniciofin2"),"precision",_ref.getField(false, "_precision"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"Root2",_ref.getField(false, "_root2"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_bitacora_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_bitacora_subs_0.java new file mode 100644 index 0000000..d867fb2 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_bitacora_subs_0.java @@ -0,0 +1,712 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_bitacora_subs_0 { + + +public static RemoteObject _agregacolumna(RemoteObject __ref,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,196); +if (RapidSub.canDelegate("agregacolumna")) { return __ref.runUserSub(false, "c_bitacora","agregacolumna", __ref, _tabla, _columna, _tipo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("tabla", _tabla); +Debug.locals.put("columna", _columna); +Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 196;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +Debug.ShouldStop(8); + BA.debugLineNum = 197;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(16); +try { BA.debugLineNum = 198;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(32); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 199;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(64); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 200;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +Debug.ShouldStop(256); +c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 202;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(512); +c_bitacora.__c.runVoidMethod ("LogImpl","069599238",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\"."))),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 206;BA.debugLine="Try"; +Debug.ShouldStop(8192); +try { BA.debugLineNum = 207;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +Debug.ShouldStop(16384); +c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 208;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(32768); +c_bitacora.__c.runVoidMethod ("LogImpl","069599244",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\".."))),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e13.toString()); BA.debugLineNum = 210;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(131072); +c_bitacora.__c.runVoidMethod ("LogImpl","069599246",BA.ObjectToString(c_bitacora.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + BA.debugLineNum = 212;BA.debugLine="Log(2)"; +Debug.ShouldStop(524288); +c_bitacora.__c.runVoidMethod ("LogImpl","069599248",BA.NumberToString(2),0); + }; + BA.debugLineNum = 214;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_inicio_fin_venta2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_Inicio_Fin_venta2_Click (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,128); +if (RapidSub.canDelegate("b_inicio_fin_venta2_click")) { return __ref.runUserSub(false, "c_bitacora","b_inicio_fin_venta2_click", __ref);} + BA.debugLineNum = 128;BA.debugLine="Private Sub b_Inicio_Fin_venta2_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 131;BA.debugLine="contadorIniciarVenta = 0"; +Debug.ShouldStop(4); +__ref.setField ("_contadoriniciarventa" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 132;BA.debugLine="IniVenNO = False"; +Debug.ShouldStop(8); +__ref.setField ("_inivenno" /*RemoteObject*/ ,c_bitacora.__c.getField(true,"False")); + BA.debugLineNum = 133;BA.debugLine="If dentroDeGeocerca Then precision = 1"; +Debug.ShouldStop(16); +if (__ref.getField(true,"_dentrodegeocerca" /*RemoteObject*/ ).get().booleanValue()) { +__ref.setField ("_precision" /*RemoteObject*/ ,BA.numberCast(int.class, 1));}; + BA.debugLineNum = 135;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}"; +Debug.ShouldStop(64); +c_bitacora.__c.runVoidMethod ("LogImpl","069337095",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>>>>>>>> EN VENTA : "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_enventa" /*RemoteObject*/ )))),RemoteObject.createImmutable(" <<<<<<<<<<<<"))),c_bitacora.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 136;BA.debugLine="motivoNoVenta = \"\""; +Debug.ShouldStop(128); +__ref.setField ("_motivonoventa" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 137;BA.debugLine="motivoNoVisita = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_motivonovisita" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 138;BA.debugLine="p_transparenteInicioFin2.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_bitacora.__c.getField(true,"False")); + BA.debugLineNum = 139;BA.debugLine="If b_Inicio_Fin_venta2.Text = \"TERMINAR VISITA\" T"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("TERMINAR VISITA"))) { + BA.debugLineNum = 140;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), Su"; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_bitacora._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_bitacora.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_bitacora._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_bitacora._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_bitacora._subs.runMethod(true,"_traerutabitacora" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Termina Venta")),(Object)(c_bitacora._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("")),(Object)(c_bitacora._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_bitacora.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.NumberToString(__ref.getField(true,"_precision" /*RemoteObject*/ ))),(Object)(__ref.getField(true,"_motivonoventa" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_motivonovisita" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_banderageocerca" /*RemoteObject*/ ))); + BA.debugLineNum = 141;BA.debugLine="enVenta = False"; +Debug.ShouldStop(4096); +__ref.setField ("_enventa" /*RemoteObject*/ ,c_bitacora.__c.getField(true,"False")); + BA.debugLineNum = 142;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Colors"; +Debug.ShouldStop(8192); +c_bitacora.__c.runVoidMethod ("LogImpl","069337102",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>> EN VENTA: "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_enventa" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_bitacora.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 143;BA.debugLine="iniciamosVenta"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_iniciamosventa" /*RemoteObject*/ ); + BA.debugLineNum = 144;BA.debugLine="B4XPages.ShowPageAndRemovePreviousPages(\"Princip"; +Debug.ShouldStop(32768); +c_bitacora._b4xpages.runVoidMethod ("_showpageandremovepreviouspages" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else +{ BA.debugLineNum = 146;BA.debugLine="Else if b_Inicio_Fin_venta2.Text = \"INICIAR VISIT"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("INICIAR VISITA"))) { + BA.debugLineNum = 147;BA.debugLine="contadorIniciarVenta = 0"; +Debug.ShouldStop(262144); +__ref.setField ("_contadoriniciarventa" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 148;BA.debugLine="IniVenNO = False"; +Debug.ShouldStop(524288); +__ref.setField ("_inivenno" /*RemoteObject*/ ,c_bitacora.__c.getField(true,"False")); + BA.debugLineNum = 149;BA.debugLine="contadorIniciarVenta = contadorIniciarVenta + 1"; +Debug.ShouldStop(1048576); +__ref.setField ("_contadoriniciarventa" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_contadoriniciarventa" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 150;BA.debugLine="If contadorIniciarVenta = 1 And IniVenNO = False"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_contadoriniciarventa" /*RemoteObject*/ ),BA.numberCast(double.class, 1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inivenno" /*RemoteObject*/ ),c_bitacora.__c.getField(true,"False")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_motivonoventa" /*RemoteObject*/ ),BA.ObjectToString("NO VENTA"))) { + BA.debugLineNum = 151;BA.debugLine="IniVenNO = True"; +Debug.ShouldStop(4194304); +__ref.setField ("_inivenno" /*RemoteObject*/ ,c_bitacora.__c.getField(true,"True")); + BA.debugLineNum = 152;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), S"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_bitacora._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_bitacora.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_bitacora._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_bitacora._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_bitacora._subs.runMethod(true,"_traerutabitacora" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Inicia Venta")),(Object)(c_bitacora._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_bitacora._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_bitacora.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(BA.ObjectToString("")),(Object)(c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.NumberToString(__ref.getField(true,"_precision" /*RemoteObject*/ ))),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(__ref.getField(true,"_banderageocerca" /*RemoteObject*/ ))); + BA.debugLineNum = 153;BA.debugLine="enVenta = True"; +Debug.ShouldStop(16777216); +__ref.setField ("_enventa" /*RemoteObject*/ ,c_bitacora.__c.getField(true,"True")); + BA.debugLineNum = 154;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color"; +Debug.ShouldStop(33554432); +c_bitacora.__c.runVoidMethod ("LogImpl","069337114",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>> EN VENTA: "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_enventa" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_bitacora.__c.getField(false,"Colors").getField(true,"Red")); + }else +{ BA.debugLineNum = 156;BA.debugLine="Else If contadorIniciarVenta = 1 And IniVenNO ="; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_contadoriniciarventa" /*RemoteObject*/ ),BA.numberCast(double.class, 1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inivenno" /*RemoteObject*/ ),c_bitacora.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_motivonoventa" /*RemoteObject*/ ),BA.ObjectToString("NO VENTA"))) { + BA.debugLineNum = 157;BA.debugLine="IniVenNO = True"; +Debug.ShouldStop(268435456); +__ref.setField ("_inivenno" /*RemoteObject*/ ,c_bitacora.__c.getField(true,"True")); + BA.debugLineNum = 158;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), S"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_bitacora._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_bitacora.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_bitacora._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_bitacora._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_bitacora._subs.runMethod(true,"_traerutabitacora" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Inicia Venta")),(Object)(c_bitacora._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_bitacora._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_bitacora.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(BA.ObjectToString("")),(Object)(c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.NumberToString(__ref.getField(true,"_precision" /*RemoteObject*/ ))),(Object)(__ref.getField(true,"_motivonoventa" /*RemoteObject*/ )),(Object)(BA.ObjectToString("")),(Object)(__ref.getField(true,"_banderageocerca" /*RemoteObject*/ ))); + BA.debugLineNum = 159;BA.debugLine="enVenta = True"; +Debug.ShouldStop(1073741824); +__ref.setField ("_enventa" /*RemoteObject*/ ,c_bitacora.__c.getField(true,"True")); + BA.debugLineNum = 160;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color"; +Debug.ShouldStop(-2147483648); +c_bitacora.__c.runVoidMethod ("LogImpl","069337120",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>> EN VENTA: "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_enventa" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_bitacora.__c.getField(false,"Colors").getField(true,"Red")); + }else +{ BA.debugLineNum = 161;BA.debugLine="Else If contadorIniciarVenta > 1 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_contadoriniciarventa" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 162;BA.debugLine="p_transparenteInicioFin2.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_bitacora.__c.getField(true,"False")); + }}} +; + }} +; + BA.debugLineNum = 165;BA.debugLine="p_transparenteInicioFin2.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_bitacora.__c.getField(true,"False")); + BA.debugLineNum = 166;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}"; +Debug.ShouldStop(32); +c_bitacora.__c.runVoidMethod ("LogImpl","069337126",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>>>>>>>> EN VENTA : "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_enventa" /*RemoteObject*/ )))),RemoteObject.createImmutable(" <<<<<<<<<<<<"))),c_bitacora.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 167;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,28); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_bitacora","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 28;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 29;BA.debugLine="Root = Root1"; +Debug.ShouldStop(268435456); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borradatosbitacora(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("borraDatosBitacora (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,217); +if (RapidSub.canDelegate("borradatosbitacora")) { return __ref.runUserSub(false, "c_bitacora","borradatosbitacora", __ref);} + BA.debugLineNum = 217;BA.debugLine="Sub borraDatosBitacora"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 218;BA.debugLine="db.ExecNonQuery(\"DELETE FROM BITACORAGPS\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM BITACORAGPS"))); + BA.debugLineNum = 219;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cargamospanel(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("cargamosPanel (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,170); +if (RapidSub.canDelegate("cargamospanel")) { return __ref.runUserSub(false, "c_bitacora","cargamospanel", __ref);} + BA.debugLineNum = 170;BA.debugLine="private Sub cargamosPanel"; +Debug.ShouldStop(512); + BA.debugLineNum = 171;BA.debugLine="Log(p_transparenteInicioFin2.IsInitialized)"; +Debug.ShouldStop(1024); +c_bitacora.__c.runVoidMethod ("LogImpl","069402625",BA.ObjectToString(__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"IsInitialized")),0); + BA.debugLineNum = 173;BA.debugLine="If Not(p_transparenteInicioFin2.IsInitialized) Th"; +Debug.ShouldStop(4096); +if (c_bitacora.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))).get().booleanValue()) { + BA.debugLineNum = 174;BA.debugLine="LogColor(\">>>>>>> CARGAMOS PANEL BITACORA\", Co"; +Debug.ShouldStop(8192); +c_bitacora.__c.runVoidMethod ("LogImpl","069402628",BA.ObjectToString(">>>>>>> CARGAMOS PANEL BITACORA"),c_bitacora.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 175;BA.debugLine="Root2.LoadLayout(\"inicioFinVenta\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_root2" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("inicioFinVenta")),__ref.getField(false, "ba")); + BA.debugLineNum = 176;BA.debugLine="p_transparenteInicioFin2.Width = Root2.Width"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 177;BA.debugLine="p_transparenteInicioFin2.Height = Root2.Height"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 178;BA.debugLine="b_Inicio_Fin_venta2.top = 700"; +Debug.ShouldStop(131072); +__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 700)); + BA.debugLineNum = 179;BA.debugLine="b_Inicio_Fin_venta2.Left = 5"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 5)); + BA.debugLineNum = 180;BA.debugLine="b_Inicio_Fin_venta2.Width = Root2.Width - 20"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"setWidth",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(20)}, "-",1, 1)); + BA.debugLineNum = 181;BA.debugLine="b_Inicio_Fin_venta2.Text = \"INICIAR VISITA\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("INICIAR VISITA")); + BA.debugLineNum = 182;BA.debugLine="p_transparenteInicioFin2.BringToFront"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + }; + BA.debugLineNum = 184;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_bitacora._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_bitacora._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_bitacora._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_bitacora._xui); + //BA.debugLineNum = 4;BA.debugLine="Dim db As SQL"; +c_bitacora._db = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_db",c_bitacora._db); + //BA.debugLineNum = 5;BA.debugLine="Private Root2 As B4XView"; +c_bitacora._root2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root2",c_bitacora._root2); + //BA.debugLineNum = 6;BA.debugLine="Dim p_transparenteInicioFin2 As Panel"; +c_bitacora._p_transparenteiniciofin2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_transparenteiniciofin2",c_bitacora._p_transparenteiniciofin2); + //BA.debugLineNum = 7;BA.debugLine="Dim b_Inicio_Fin_venta2 As Button"; +c_bitacora._b_inicio_fin_venta2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_inicio_fin_venta2",c_bitacora._b_inicio_fin_venta2); + //BA.debugLineNum = 8;BA.debugLine="Dim contadorIniciarVenta, precision As Int"; +c_bitacora._contadoriniciarventa = RemoteObject.createImmutable(0);__ref.setField("_contadoriniciarventa",c_bitacora._contadoriniciarventa); +c_bitacora._precision = RemoteObject.createImmutable(0);__ref.setField("_precision",c_bitacora._precision); + //BA.debugLineNum = 9;BA.debugLine="Dim IniVenNO, dentroDeGeocerca, enVenta As Boolea"; +c_bitacora._inivenno = RemoteObject.createImmutable(false);__ref.setField("_inivenno",c_bitacora._inivenno); +c_bitacora._dentrodegeocerca = RemoteObject.createImmutable(false);__ref.setField("_dentrodegeocerca",c_bitacora._dentrodegeocerca); +c_bitacora._enventa = RemoteObject.createImmutable(false);__ref.setField("_enventa",c_bitacora._enventa); + //BA.debugLineNum = 10;BA.debugLine="Dim motivoNoVenta, motivoNoVisita As String"; +c_bitacora._motivonoventa = RemoteObject.createImmutable("");__ref.setField("_motivonoventa",c_bitacora._motivonoventa); +c_bitacora._motivonovisita = RemoteObject.createImmutable("");__ref.setField("_motivonovisita",c_bitacora._motivonovisita); + //BA.debugLineNum = 11;BA.debugLine="Dim banderaGeoCerca As String"; +c_bitacora._banderageocerca = RemoteObject.createImmutable("");__ref.setField("_banderageocerca",c_bitacora._banderageocerca); + //BA.debugLineNum = 12;BA.debugLine="Private reqManager As DBRequestManager"; +c_bitacora._reqmanager = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",c_bitacora._reqmanager); + //BA.debugLineNum = 13;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _iniciamosventa(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("iniciamosVenta (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,191); +if (RapidSub.canDelegate("iniciamosventa")) { return __ref.runUserSub(false, "c_bitacora","iniciamosventa", __ref);} + BA.debugLineNum = 191;BA.debugLine="Sub iniciamosVenta"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 192;BA.debugLine="enVenta = False"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_enventa" /*RemoteObject*/ ,c_bitacora.__c.getField(true,"False")); + BA.debugLineNum = 193;BA.debugLine="b_Inicio_Fin_venta2.Text = \"INICIAR VISITA\""; +Debug.ShouldStop(1); +__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("INICIAR VISITA")); + BA.debugLineNum = 194;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _iniciofin(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("inicioFin (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,112); +if (RapidSub.canDelegate("iniciofin")) { return __ref.runUserSub(false, "c_bitacora","iniciofin", __ref);} + BA.debugLineNum = 112;BA.debugLine="Sub inicioFin"; +Debug.ShouldStop(32768); + BA.debugLineNum = 113;BA.debugLine="LogColor($\">>>>>>>>>>>> XX EN VENTA : ${enVenta"; +Debug.ShouldStop(65536); +c_bitacora.__c.runVoidMethod ("LogImpl","069271553",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>>>>>>>> XX EN VENTA : "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_enventa" /*RemoteObject*/ )))),RemoteObject.createImmutable(" <<<<<<<<<<<<"))),c_bitacora.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 114;BA.debugLine="Log(b_Inicio_Fin_venta2.Text)"; +Debug.ShouldStop(131072); +c_bitacora.__c.runVoidMethod ("LogImpl","069271554",__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"getText"),0); + BA.debugLineNum = 115;BA.debugLine="If enVenta = False Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_enventa" /*RemoteObject*/ ),c_bitacora.__c.getField(true,"False"))) { + BA.debugLineNum = 116;BA.debugLine="p_transparenteInicioFin2.BringToFront"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 117;BA.debugLine="p_transparenteInicioFin2.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_bitacora.__c.getField(true,"True")); + }else { + BA.debugLineNum = 121;BA.debugLine="If b_Inicio_Fin_venta2.Text <> \"TERMINAR VISITA\""; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("TERMINAR VISITA"))) { + BA.debugLineNum = 122;BA.debugLine="p_transparenteInicioFin2.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_bitacora.__c.getField(true,"False")); + }; + }; + BA.debugLineNum = 126;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _vcallback,RemoteObject _veventname,RemoteObject _vroot,RemoteObject _db1,RemoteObject _dbreq) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_bitacora","initialize", __ref, _ba, _vcallback, _veventname, _vroot, _db1, _dbreq);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("vCallback", _vcallback); +Debug.locals.put("vEventName", _veventname); +Debug.locals.put("vRoot", _vroot); +Debug.locals.put("db1", _db1); +Debug.locals.put("DBReq", _dbreq); + BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; +Debug.ShouldStop(32768); + BA.debugLineNum = 17;BA.debugLine="db = db1"; +Debug.ShouldStop(65536); +__ref.setField ("_db" /*RemoteObject*/ ,_db1); + BA.debugLineNum = 18;BA.debugLine="Root2 = vRoot"; +Debug.ShouldStop(131072); +__ref.setField ("_root2" /*RemoteObject*/ ,_vroot); + BA.debugLineNum = 19;BA.debugLine="reqManager = DBReq"; +Debug.ShouldStop(262144); +__ref.setField ("_reqmanager" /*RemoteObject*/ ,_dbreq); + BA.debugLineNum = 20;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS BITAC"; +Debug.ShouldStop(524288); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS BITACORAGPS(fechab TEXT, usuariob TEXT, almacenb TEXT, rutab TEXT, eventob TEXT, clienteb TEXT, iniciob TEXT, finb TEXT, latitudb TEXT, longitudb TEXT, precision TEXT, motivonoventa TEXT, motivonovisita TEXT, BAN_GEOB TEXT)"))); + BA.debugLineNum = 21;BA.debugLine="agregaColumna(\"BITACORAGPS\", \"BAN_GEOB\", \"TEXT\")"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_agregacolumna" /*RemoteObject*/ ,(Object)(BA.ObjectToString("BITACORAGPS")),(Object)(BA.ObjectToString("BAN_GEOB")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 22;BA.debugLine="contadorIniciarVenta = 0"; +Debug.ShouldStop(2097152); +__ref.setField ("_contadoriniciarventa" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 23;BA.debugLine="cargamosPanel"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_cargamospanel" /*RemoteObject*/ ); + BA.debugLineNum = 24;BA.debugLine="Return Me"; +Debug.ShouldStop(8388608); +if (true) return __ref; + BA.debugLineNum = 25;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,221); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_bitacora","jobdone", __ref, _job);} +RemoteObject _result = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult"); +Debug.locals.put("Job", _job); + BA.debugLineNum = 221;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 222;BA.debugLine="Log(\"JOBDONE BITACORA\")"; +Debug.ShouldStop(536870912); +c_bitacora.__c.runVoidMethod ("LogImpl","069730305",RemoteObject.createImmutable("JOBDONE BITACORA"),0); + BA.debugLineNum = 223;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 224;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +Debug.ShouldStop(-2147483648); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 225;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success}"; +Debug.ShouldStop(1); +c_bitacora.__c.runVoidMethod ("LogImpl","069730308",(RemoteObject.concat(RemoteObject.createImmutable("Tag: "),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_result.getField(false,"Tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(", success="),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_job.getField(true,"_success" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + }; + BA.debugLineNum = 228;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_bitacora.__c.getField(true,"False"))) { + BA.debugLineNum = 230;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re"; +Debug.ShouldStop(32); +c_bitacora.__c.runVoidMethod ("LogImpl","069730313",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),c_bitacora.__c.getField(false,"Colors").getField(true,"Red")); + }else { + }; + BA.debugLineNum = 234;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandabitacora(RemoteObject __ref,RemoteObject _fechab,RemoteObject _usuariob,RemoteObject _almacenb,RemoteObject _rutab,RemoteObject _eventob,RemoteObject _clienteb,RemoteObject _iniciob,RemoteObject _finb,RemoteObject _latitudb,RemoteObject _longitudb,RemoteObject _precisionb,RemoteObject _motivonoventab,RemoteObject _motivonovisitab,RemoteObject _ban_geob) throws Exception{ +try { + Debug.PushSubsStack("mandaBitacora (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("mandabitacora")) { return __ref.runUserSub(false, "c_bitacora","mandabitacora", __ref, _fechab, _usuariob, _almacenb, _rutab, _eventob, _clienteb, _iniciob, _finb, _latitudb, _longitudb, _precisionb, _motivonoventab, _motivonovisitab, _ban_geob);} +RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); +RemoteObject _nombrecliente = RemoteObject.createImmutable(""); +RemoteObject _e = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("fechab", _fechab); +Debug.locals.put("usuariob", _usuariob); +Debug.locals.put("almacenb", _almacenb); +Debug.locals.put("rutab", _rutab); +Debug.locals.put("eventob", _eventob); +Debug.locals.put("clienteb", _clienteb); +Debug.locals.put("iniciob", _iniciob); +Debug.locals.put("finb", _finb); +Debug.locals.put("latitudb", _latitudb); +Debug.locals.put("longitudb", _longitudb); +Debug.locals.put("precisionb", _precisionb); +Debug.locals.put("motivoNoVentab", _motivonoventab); +Debug.locals.put("motivoNoVisitab", _motivonovisitab); +Debug.locals.put("BAN_GEOB", _ban_geob); + BA.debugLineNum = 37;BA.debugLine="Sub mandaBitacora(fechab As String, usuariob As St"; +Debug.ShouldStop(16); + BA.debugLineNum = 38;BA.debugLine="Log(motivoNoVisitab)"; +Debug.ShouldStop(32); +c_bitacora.__c.runVoidMethod ("LogImpl","069074945",_motivonovisitab,0); + BA.debugLineNum = 40;BA.debugLine="Private cmd As DBCommand"; +Debug.ShouldStop(128); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 41;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 42;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\""; +Debug.ShouldStop(512); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("mandaBitacora3_GUNA")); + BA.debugLineNum = 44;BA.debugLine="Private nombreCliente As String = traeNombreClien"; +Debug.ShouldStop(2048); +_nombrecliente = __ref.runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_traenombrecliente" /*RemoteObject*/ ,(Object)(_clienteb));Debug.locals.put("nombreCliente", _nombrecliente);Debug.locals.put("nombreCliente", _nombrecliente); + BA.debugLineNum = 45;BA.debugLine="If eventob = \"Llega a almacen\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Llega a almacen"))) { + BA.debugLineNum = 46;BA.debugLine="nombreCliente = \"BOLETA\""; +Debug.ShouldStop(8192); +_nombrecliente = BA.ObjectToString("BOLETA");Debug.locals.put("nombreCliente", _nombrecliente); + BA.debugLineNum = 47;BA.debugLine="clienteb = \"\""; +Debug.ShouldStop(16384); +_clienteb = BA.ObjectToString("");Debug.locals.put("clienteb", _clienteb); + BA.debugLineNum = 48;BA.debugLine="finb = iniciob"; +Debug.ShouldStop(32768); +_finb = _iniciob;Debug.locals.put("finb", _finb); + }; + BA.debugLineNum = 50;BA.debugLine="If eventob = \"Salida almacen\" Then nombreCliente"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Salida almacen"))) { +_nombrecliente = BA.ObjectToString("CHECKLIST");Debug.locals.put("nombreCliente", _nombrecliente);}; + BA.debugLineNum = 51;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FIN"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Fin Día"))) { +_nombrecliente = BA.ObjectToString("FIN DIA");Debug.locals.put("nombreCliente", _nombrecliente);}; + BA.debugLineNum = 52;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \"CA"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Carga día"))) { +_nombrecliente = BA.ObjectToString("CARGA DIA");Debug.locals.put("nombreCliente", _nombrecliente);}; + BA.debugLineNum = 53;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreCli"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Carga día suplencia"))) { +_nombrecliente = __ref.runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_traerutassup" /*RemoteObject*/ );Debug.locals.put("nombreCliente", _nombrecliente);}; + BA.debugLineNum = 54;BA.debugLine="If eventob <> \"Termina Venta\" And eventob <> \"No"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",_eventob,BA.ObjectToString("Termina Venta")) && RemoteObject.solveBoolean("!",_eventob,BA.ObjectToString("No Venta"))) { + BA.debugLineNum = 55;BA.debugLine="db.ExecNonQuery($\"INSERT INTO BITACORAGPS (fecha"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO BITACORAGPS (fechab, usuariob , almacenb , rutab , eventob , clienteb , iniciob , finb , latitudb, longitudb , precision , motivonoventa , motivonovisita, BAN_GEOB) VALUES ('"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fechab))),RemoteObject.createImmutable("' ,'"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_usuariob))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_almacenb))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutab))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_eventob))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteb))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_iniciob))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_finb))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_latitudb))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_longitudb))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precisionb))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_motivonoventab))),RemoteObject.createImmutable("' , '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_motivonovisitab))),RemoteObject.createImmutable("', '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ban_geob))),RemoteObject.createImmutable("')"))))); + }else { + BA.debugLineNum = 57;BA.debugLine="Private e As Cursor = db.ExecQuery($\"select fech"; +Debug.ShouldStop(16777216); +_e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_e = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select fechab from BITACORAGPS where usuariob = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_usuariob))),RemoteObject.createImmutable("' and almacenb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_almacenb))),RemoteObject.createImmutable("' and rutab = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutab))),RemoteObject.createImmutable("' and clienteb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteb))),RemoteObject.createImmutable("' and eventob = 'Inicia Venta' order by fechab desc"))))));Debug.locals.put("e", _e);Debug.locals.put("e", _e); + BA.debugLineNum = 58;BA.debugLine="If e.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_e.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 59;BA.debugLine="e.Position = 0"; +Debug.ShouldStop(67108864); +_e.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 60;BA.debugLine="Log(\"ACTUALIZA BITACORA\")"; +Debug.ShouldStop(134217728); +c_bitacora.__c.runVoidMethod ("LogImpl","069074967",RemoteObject.createImmutable("ACTUALIZA BITACORA"),0); + BA.debugLineNum = 61;BA.debugLine="If eventob = \"Termina Venta\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Termina Venta"))) { + BA.debugLineNum = 62;BA.debugLine="db.ExecNonQuery($\"update BITACORAGPS set finb"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update BITACORAGPS set finb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_finb))),RemoteObject.createImmutable("' where rutab = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutab))),RemoteObject.createImmutable("' and almacenb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_almacenb))),RemoteObject.createImmutable("' and usuariob = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_usuariob))),RemoteObject.createImmutable("' and clienteb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteb))),RemoteObject.createImmutable("' and fechab = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_e.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fechab")))))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 63;BA.debugLine="cmd.Parameters = Array As Object(finb, rutab,"; +Debug.ShouldStop(1073741824); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(_finb),(_rutab),(_almacenb),(_usuariob),(_clienteb),RemoteObject.createImmutable(("Inicia Venta")),(_e.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fechab"))))})); + }else +{ BA.debugLineNum = 64;BA.debugLine="else if eventob = \"No Venta\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("No Venta"))) { + BA.debugLineNum = 65;BA.debugLine="db.ExecNonQuery($\"update BITACORAGPS set finb"; +Debug.ShouldStop(1); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update BITACORAGPS set finb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_finb))),RemoteObject.createImmutable("', motivonoventa = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_motivonoventab))),RemoteObject.createImmutable("', motivonovisita = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_motivonovisitab))),RemoteObject.createImmutable("' where rutab = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutab))),RemoteObject.createImmutable("' and almacenb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_almacenb))),RemoteObject.createImmutable("' and usuariob = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_usuariob))),RemoteObject.createImmutable("' and clienteb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteb))),RemoteObject.createImmutable("' and fechab = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_e.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fechab")))))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 66;BA.debugLine="cmd.Parameters = Array As Object(finb, motivoN"; +Debug.ShouldStop(2); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(_finb),(_motivonoventab),(_motivonovisitab),(_rutab),(_almacenb),(_usuariob),(_clienteb),RemoteObject.createImmutable(("Inicia Venta")),(_e.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fechab"))))})); + }} +; + }; + }; + BA.debugLineNum = 70;BA.debugLine="If eventob <> \"Inicia Venta\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("!",_eventob,BA.ObjectToString("Inicia Venta"))) { + BA.debugLineNum = 71;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select * fr"; +Debug.ShouldStop(64); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from BITACORAGPS where usuariob = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_usuariob))),RemoteObject.createImmutable("' and almacenb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_almacenb))),RemoteObject.createImmutable("' and rutab = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutab))),RemoteObject.createImmutable("' and clienteb = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteb))),RemoteObject.createImmutable("' order by fechab desc"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 72;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 73;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 74;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"a"; +Debug.ShouldStop(512); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {15},new Object[] {(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("almacenb")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("usuariob")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("rutab")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("eventob")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("clienteb")))),(_nombrecliente),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("iniciob")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("finb")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("latitudb")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("longitudb")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("precision")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("motivonoventa")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("motivonovisita")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fechab")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BAN_GEOB"))))})); + BA.debugLineNum = 75;BA.debugLine="reqManager.ExecuteCommand(cmd , \"mandaBitacora\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("mandaBitacora")))); + }; + }; + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_transparenteiniciofin2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_transparenteInicioFin2_click (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,186); +if (RapidSub.canDelegate("p_transparenteiniciofin2_click")) { return __ref.runUserSub(false, "c_bitacora","p_transparenteiniciofin2_click", __ref);} + BA.debugLineNum = 186;BA.debugLine="Sub p_transparenteInicioFin2_click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 188;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traenombrecliente(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traeNombreCliente (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,82); +if (RapidSub.canDelegate("traenombrecliente")) { return __ref.runUserSub(false, "c_bitacora","traenombrecliente", __ref, _id);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _n = RemoteObject.createImmutable(""); +Debug.locals.put("id", _id); + BA.debugLineNum = 82;BA.debugLine="Sub traeNombreCliente(id As String) As String"; +Debug.ShouldStop(131072); + BA.debugLineNum = 83;BA.debugLine="Private c As ResultSet = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(262144); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_NOMBRE from kmt_info3 where CAT_CL_CODIGO = '"),c_bitacora.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 84;BA.debugLine="Private n As String = \"N/A\""; +Debug.ShouldStop(524288); +_n = BA.ObjectToString("N/A");Debug.locals.put("n", _n);Debug.locals.put("n", _n); + BA.debugLineNum = 85;BA.debugLine="Do While c.NextRow"; +Debug.ShouldStop(1048576); +while (_c.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 86;BA.debugLine="n = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(2097152); +_n = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")));Debug.locals.put("n", _n); + } +; + BA.debugLineNum = 88;BA.debugLine="Return n"; +Debug.ShouldStop(8388608); +if (true) return _n; + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traerutassup(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("traeRutasSup (c_bitacora) ","c_bitacora",9,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("traerutassup")) { return __ref.runUserSub(false, "c_bitacora","traerutassup", __ref);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rutas = RemoteObject.createImmutable(""); +int _i = 0; + BA.debugLineNum = 92;BA.debugLine="Sub traeRutasSup As String"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 93;BA.debugLine="Dim c As Cursor"; +Debug.ShouldStop(268435456); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 94;BA.debugLine="Dim rutas As String"; +Debug.ShouldStop(536870912); +_rutas = RemoteObject.createImmutable("");Debug.locals.put("rutas", _rutas); + BA.debugLineNum = 95;BA.debugLine="rutas = \"\""; +Debug.ShouldStop(1073741824); +_rutas = BA.ObjectToString("");Debug.locals.put("rutas", _rutas); + BA.debugLineNum = 97;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_"; +Debug.ShouldStop(1); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_bitacora._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info3"))));Debug.locals.put("c", _c); + BA.debugLineNum = 99;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 100;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(8); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {_c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 101;BA.debugLine="c.Position = i"; +Debug.ShouldStop(16); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 102;BA.debugLine="rutas = rutas & c.GetString(\"CAT_CL_RUTA\") & \","; +Debug.ShouldStop(32); +_rutas = RemoteObject.concat(_rutas,_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),RemoteObject.createImmutable(", "));Debug.locals.put("rutas", _rutas); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 104;BA.debugLine="If rutas.Length > 0 Then rutas = rutas.SubString"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_rutas.runMethod(true,"length"),BA.numberCast(double.class, 0))) { +_rutas = _rutas.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {_rutas.runMethod(true,"length"),RemoteObject.createImmutable(2)}, "-",1, 1)));Debug.locals.put("rutas", _rutas);}; + }; + BA.debugLineNum = 107;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 108;BA.debugLine="Return rutas"; +Debug.ShouldStop(2048); +if (true) return _rutas; + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cliente.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cliente.java new file mode 100644 index 0000000..4300204 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cliente.java @@ -0,0 +1,480 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_cliente { + public static RemoteObject myClass; + public c_cliente() { + } + public static PCBA staticBA = new PCBA(null, c_cliente.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _p_cliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _cuest = RemoteObject.declareNull("gunav2.keymon.com.mx.c_cuestionario"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _total_cliente = RemoteObject.createImmutable(""); +public static RemoteObject _m_lat = RemoteObject.createImmutable(""); +public static RemoteObject _m_lon = RemoteObject.createImmutable(""); +public static RemoteObject _btadmin = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); +public static RemoteObject _cmp20 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial"); +public static RemoteObject _printer = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.TextWriterWrapper"); +public static RemoteObject _paireddevices = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _tamano = RemoteObject.createImmutable(0); +public static RemoteObject _espacio = RemoteObject.createImmutable(0); +public static RemoteObject _blanco = RemoteObject.createImmutable(""); +public static RemoteObject _cuenta = RemoteObject.createImmutable(""); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _mac_impresora = RemoteObject.createImmutable(""); +public static RemoteObject _printer1 = RemoteObject.declareNull("gunav2.keymon.com.mx.escposprinter"); +public static RemoteObject _location2 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _dd = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _la_cuenta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_nombre = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_calle = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_numero = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_nint = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_edo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_pob = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_col = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_cp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_zona = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _gest = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _la_saldotot = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_saldooper = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cajetillas = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _tels = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _label10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _tar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _t1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _t2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _la_comm = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_actdte = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_usuario = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_resultado = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_entre1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_entre2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_atiende2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _datos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _nuevo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _s2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _res = RemoteObject.createImmutable(""); +public static RemoteObject _hist = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _monto_compra = RemoteObject.createImmutable(""); +public static RemoteObject _meta = RemoteObject.createImmutable(""); +public static RemoteObject _meta2 = RemoteObject.createImmutable(""); +public static RemoteObject _verifica = RemoteObject.createImmutable(""); +public static RemoteObject _l_qr = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _bt_qr = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _codigo = RemoteObject.createImmutable(""); +public static RemoteObject _b_mapa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cuantos = RemoteObject.createImmutable(""); +public static RemoteObject _b_imp = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _toggla = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _i_compra = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_guarda_c = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_venta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _la_gps = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_e_next = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _e_res_e = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _t_tenc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _panel2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _contador_e = RemoteObject.createImmutable(""); +public static RemoteObject _hr_res1 = RemoteObject.createImmutable(""); +public static RemoteObject _hr_res2 = RemoteObject.createImmutable(""); +public static RemoteObject _hr_res3 = RemoteObject.createImmutable(""); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _telefono = RemoteObject.createImmutable(""); +public static RemoteObject _rb1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _stay_hh = RemoteObject.createImmutable(""); +public static RemoteObject _stay_mi = RemoteObject.createImmutable(""); +public static RemoteObject _stay_ss = RemoteObject.createImmutable(""); +public static RemoteObject _la_geo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _result = RemoteObject.createImmutable(0); +public static RemoteObject _cercavalor = RemoteObject.createImmutable(""); +public static RemoteObject _la_ruta = RemoteObject.createImmutable(""); +public static RemoteObject _b_like = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_gps = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _sc = RemoteObject.declareNull("ice.zxing.b4aZXingLib"); +public static RemoteObject _sv_encuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ScrollViewWrapper"); +public static RemoteObject _rb1_e1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2_e1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb3_e1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _chb1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _chb2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _chb3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _panel5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_guardaencuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _radiobutton1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton6 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton7 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton8 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton9 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton12 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton14 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _checkbox1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _checkbox2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _checkbox3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _checkbox4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _checkbox5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _checkbox6 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _checkbox7 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _checkbox8 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _encuentasmapa = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _p6 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _p7 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _p8 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _panel7 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _radiobutton17 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton16 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _radiobutton15 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _b_guardaencuesta_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_p1_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_p2_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _rb7_p6_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb6_p6_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb5_p6_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb4_p6_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb3_p6_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2_p6_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb1_p6_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _et_p5_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _rd3_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rd2_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rd1_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb1_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb3_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb4_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _et_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _panel7_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p4_m2 = RemoteObject.createImmutable(""); +public static RemoteObject _p3_m2 = RemoteObject.createImmutable(""); +public static RemoteObject _p6_m2 = RemoteObject.createImmutable(""); +public static RemoteObject _cb1_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb2_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb3_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb4_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb5_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb6_p3_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _existe2 = RemoteObject.createImmutable(""); +public static RemoteObject _existe3 = RemoteObject.createImmutable(""); +public static RemoteObject _existe4 = RemoteObject.createImmutable(""); +public static RemoteObject _existe5 = RemoteObject.createImmutable(""); +public static RemoteObject _et_p1_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_p2_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _cb1_p3_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb2_p3_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb3_p3_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb4_p3_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb5_p3_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb1_p4_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb2_p4_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb3_p4_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb4_p4_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb5_p4_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _rd1_p5_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rd2_p5_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _cb1_p6_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb2_p6_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb3_p6_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb4_p6_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb5_p6_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb6_p6_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _et_p6_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _cb1_p7_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb2_p7_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb3_p7_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb4_p7_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb1_p8_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb2_p8_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb4_p8_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _rb1_p9_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2_p9_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb3_p9_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb4_p9_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb5_p9_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _b_guardaencuesta_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_gallina = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_acepta_gallina = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_cancela_gallina = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_gallina = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _la_cuenta_gallina = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _cb_pregunta = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _girotienda = RemoteObject.createImmutable(""); +public static RemoteObject _p_pregunta1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_preguntag = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _en_que_encuesta = RemoteObject.createImmutable(""); +public static RemoteObject _encuesta = RemoteObject.createImmutable(""); +public static RemoteObject _et_p1_m4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_p2_m4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _cb_p3_m4 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p4_1_m4 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p4_2_m4 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p4_3_m4 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p4_4_m4 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p4_5_m4 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _itemselect2 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect3 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect4 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect5 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect6 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect7 = RemoteObject.createImmutable(""); +public static RemoteObject _b_guardaencuesta_m4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_modulo5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _cb_p1_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p2_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p3_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p4_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p5_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p6_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p7_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p8_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _cb_p9_m5 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _itemselect8 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect9 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect10 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect11 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect12 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect13 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect14 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect15 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect16 = RemoteObject.createImmutable(""); +public static RemoteObject _b_guardaencuesta_m5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _pasa = RemoteObject.createImmutable(""); +public static RemoteObject _rb1_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _panel7_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _cb1_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb2_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb3_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb4_p4_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _panel4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_guarda_ce_ped = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _kp_01 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_02 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_03 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_04 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_05 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_06 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_07 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_08 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_09 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_12 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_14 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_15 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_16 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_17 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_18 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_19 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kp_20 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kg_01 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kg_02 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kg_03 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kg_04 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kg_05 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _kg_06 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pk_01 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pk_02 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pk_03 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pk_04 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pk_05 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pk_06 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pk_07 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _pk_08 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_01 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_02 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_03 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_04 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_05 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_06 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_07 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_08 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_09 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hpg_10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hc_01 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hc_02 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hc_03 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _hc_04 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _b_01 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _b_02 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _ch_factura = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _que_modulo = RemoteObject.createImmutable(""); +public static RemoteObject _cuenta_modulo = RemoteObject.createImmutable(""); +public static RemoteObject _rb1_m3_p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2_m3_p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb3_m3_p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb4_m3_p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb1_m3_p2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2_m3_p2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb3_m3_p2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb4_m3_p2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _et_p2_m3_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _textemp2 = RemoteObject.createImmutable(""); +public static RemoteObject _textemp3 = RemoteObject.createImmutable(""); +public static RemoteObject _textemp4 = RemoteObject.createImmutable(""); +public static RemoteObject _textemp5 = RemoteObject.createImmutable(""); +public static RemoteObject _textemp6 = RemoteObject.createImmutable(""); +public static RemoteObject _textemp7 = RemoteObject.createImmutable(""); +public static RemoteObject _textemp8 = RemoteObject.createImmutable(""); +public static RemoteObject _cb3_p8_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _cb7_p6_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _p_m1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_m4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _impresoraconectada = RemoteObject.createImmutable(false); +public static RemoteObject _errorimpresora = RemoteObject.createImmutable(0); +public static RemoteObject _idencuestaaguardar = RemoteObject.createImmutable(""); +public static RemoteObject _botonpresionado = RemoteObject.createImmutable(0); +public static RemoteObject _encuestares = RemoteObject.createImmutable(""); +public static RemoteObject _indicepregunta = RemoteObject.createImmutable(0); +public static RemoteObject _tomar_foto = RemoteObject.createImmutable(""); +public static RemoteObject _cursor_foto = RemoteObject.createImmutable(0); +public static RemoteObject _id_encuesta = RemoteObject.createImmutable(""); +public static RemoteObject _chk_1_valor = RemoteObject.createImmutable(""); +public static RemoteObject _chk_2_valor = RemoteObject.createImmutable(""); +public static RemoteObject _chk_3_valor = RemoteObject.createImmutable(""); +public static RemoteObject _panel10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_chk_e = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _chk_3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _chk_2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _chk_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _l_chk_e = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label28 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_encuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_encuesta_continuar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_encuesta_3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_encuesta_2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_encuesta_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_encuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _l_txtencuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_titencuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _imageview11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _distance = RemoteObject.createImmutable(0L); +public static RemoteObject _distancealm = RemoteObject.createImmutable(0L); +public static RemoteObject _p_pidegeopass = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_geopass = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_geopass = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _l_geopass = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _camex = RemoteObject.declareNull("gunav2.keymon.com.mx.cameraexclass"); +public static RemoteObject _frontcamera = RemoteObject.createImmutable(false); +public static RemoteObject _p_cam = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _nombrefoto = RemoteObject.createImmutable(""); +public static RemoteObject _p_camara = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _teclado = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _fototomada = RemoteObject.createImmutable(""); +public static RemoteObject _b_foto = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _precision = RemoteObject.createImmutable(""); +public static RemoteObject _b_inicio_fin_venta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _dentrodegeocerca = RemoteObject.createImmutable(false); +public static RemoteObject _motivonoventa = RemoteObject.createImmutable(""); +public static RemoteObject _motivonovisita = RemoteObject.createImmutable(""); +public static RemoteObject _contadoriniciarventa = RemoteObject.createImmutable(0); +public static RemoteObject _inivenno = RemoteObject.createImmutable(false); +public static RemoteObject _geocont = RemoteObject.createImmutable(0); +public static RemoteObject _l_version = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_preventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _bitacora = RemoteObject.declareNull("gunav2.keymon.com.mx.c_bitacora"); +public static RemoteObject _p_transparenteticketimpreso = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _et_codigoautorizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_codigoautorizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_cancelarcodigoautorizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_ticketimpreso = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_enviarticket = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _archivoticketpdf = RemoteObject.createImmutable(""); +public static RemoteObject _p_transparentepdf = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_enviopdf = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_cancelarenviopdf = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_enviopdf = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_numeropdf = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _btnplanlealtad = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _pnl_btns = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _pnlplanlealtad = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _imgplanlealtad = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _btnaceptaplanlealtad = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _btncancelarplanlealtad = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _bcredito = RemoteObject.createImmutable(""); +public static RemoteObject _p_comentarios = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_comentario = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_agregarcom = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_cerarcom = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _label19 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_comentario = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _lv_comentarios = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _imageview4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _p_cliente_ = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_limite = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_credito = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_tipocliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_deuda = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_deuda = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _label22 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_animal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _contiguales = RemoteObject.createImmutable(0); +public static RemoteObject _b_preventa2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _et_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_cancelatiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_acepatiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_telefono = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_canceltelefono = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_aceptelefono = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_telefono = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _totalpromos = RemoteObject.createImmutable(0); +public static RemoteObject _totalpromostotal = RemoteObject.createImmutable(0); +public static RemoteObject _chb_com = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ALMACEN",_ref.getField(false, "_almacen"),"archivoTicketPDF",_ref.getField(false, "_archivoticketpdf"),"B_01",_ref.getField(false, "_b_01"),"B_02",_ref.getField(false, "_b_02"),"b_acepatiende",_ref.getField(false, "_b_acepatiende"),"b_acepta_gallina",_ref.getField(false, "_b_acepta_gallina"),"b_aceptelefono",_ref.getField(false, "_b_aceptelefono"),"b_agregarcom",_ref.getField(false, "_b_agregarcom"),"B_CANCELA_GALLINA",_ref.getField(false, "_b_cancela_gallina"),"b_cancelarCodigoAutorizacion",_ref.getField(false, "_b_cancelarcodigoautorizacion"),"b_cancelarEnvioPDF",_ref.getField(false, "_b_cancelarenviopdf"),"b_cancelatiende",_ref.getField(false, "_b_cancelatiende"),"b_canceltelefono",_ref.getField(false, "_b_canceltelefono"),"b_cerarcom",_ref.getField(false, "_b_cerarcom"),"b_chk_e",_ref.getField(false, "_b_chk_e"),"b_codigoAutorizacion",_ref.getField(false, "_b_codigoautorizacion"),"B_E_NEXT",_ref.getField(false, "_b_e_next"),"b_encuesta_1",_ref.getField(false, "_b_encuesta_1"),"b_encuesta_2",_ref.getField(false, "_b_encuesta_2"),"b_encuesta_3",_ref.getField(false, "_b_encuesta_3"),"b_encuesta_continuar",_ref.getField(false, "_b_encuesta_continuar"),"b_enviarTicket",_ref.getField(false, "_b_enviarticket"),"b_envioPDF",_ref.getField(false, "_b_enviopdf"),"b_foto",_ref.getField(false, "_b_foto"),"B_GALLINA",_ref.getField(false, "_b_gallina"),"b_geopass",_ref.getField(false, "_b_geopass"),"B_GPS",_ref.getField(false, "_b_gps"),"B_GUARDA_C",_ref.getField(false, "_b_guarda_c"),"B_GUARDA_CE_PED",_ref.getField(false, "_b_guarda_ce_ped"),"B_guardaencuesta",_ref.getField(false, "_b_guardaencuesta"),"B_guardaencuesta_m2",_ref.getField(false, "_b_guardaencuesta_m2"),"B_guardaencuesta_m3",_ref.getField(false, "_b_guardaencuesta_m3"),"B_guardaencuesta_m4",_ref.getField(false, "_b_guardaencuesta_m4"),"B_guardaencuesta_m5",_ref.getField(false, "_b_guardaencuesta_m5"),"B_IMP",_ref.getField(false, "_b_imp"),"b_Inicio_Fin_venta",_ref.getField(false, "_b_inicio_fin_venta"),"b_like",_ref.getField(false, "_b_like"),"b_mapa",_ref.getField(false, "_b_mapa"),"b_preguntag",_ref.getField(false, "_b_preguntag"),"b_preventa",_ref.getField(false, "_b_preventa"),"b_preventa2",_ref.getField(false, "_b_preventa2"),"b_venta",_ref.getField(false, "_b_venta"),"BCREDITO",_ref.getField(false, "_bcredito"),"bitacora",_ref.getField(false, "_bitacora"),"BLANCO",_ref.getField(false, "_blanco"),"botonPresionado",_ref.getField(false, "_botonpresionado"),"BT_QR",_ref.getField(false, "_bt_qr"),"btAdmin",_ref.getField(false, "_btadmin"),"btnAceptaPlanLealtad",_ref.getField(false, "_btnaceptaplanlealtad"),"btnCancelarPlanLealtad",_ref.getField(false, "_btncancelarplanlealtad"),"btnPlanLealtad",_ref.getField(false, "_btnplanlealtad"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"camEx",_ref.getField(false, "_camex"),"cb_p1_m5",_ref.getField(false, "_cb_p1_m5"),"cb_p2_m5",_ref.getField(false, "_cb_p2_m5"),"cb_p3_m4",_ref.getField(false, "_cb_p3_m4"),"cb_p3_m5",_ref.getField(false, "_cb_p3_m5"),"cb_p4_1_m4",_ref.getField(false, "_cb_p4_1_m4"),"cb_p4_2_m4",_ref.getField(false, "_cb_p4_2_m4"),"cb_p4_3_m4",_ref.getField(false, "_cb_p4_3_m4"),"cb_p4_4_m4",_ref.getField(false, "_cb_p4_4_m4"),"cb_p4_5_m4",_ref.getField(false, "_cb_p4_5_m4"),"cb_p4_m5",_ref.getField(false, "_cb_p4_m5"),"cb_p5_m5",_ref.getField(false, "_cb_p5_m5"),"cb_p6_m5",_ref.getField(false, "_cb_p6_m5"),"cb_p7_m5",_ref.getField(false, "_cb_p7_m5"),"cb_p8_m5",_ref.getField(false, "_cb_p8_m5"),"cb_p9_m5",_ref.getField(false, "_cb_p9_m5"),"cb_pregunta",_ref.getField(false, "_cb_pregunta"),"CB1_P3_M2",_ref.getField(false, "_cb1_p3_m2"),"CB1_P3_M3",_ref.getField(false, "_cb1_p3_m3"),"CB1_P4_M2",_ref.getField(false, "_cb1_p4_m2"),"CB1_P4_M3",_ref.getField(false, "_cb1_p4_m3"),"CB1_P6_M3",_ref.getField(false, "_cb1_p6_m3"),"CB1_P7_M3",_ref.getField(false, "_cb1_p7_m3"),"CB1_P8_M3",_ref.getField(false, "_cb1_p8_m3"),"CB2_P3_M2",_ref.getField(false, "_cb2_p3_m2"),"CB2_P3_M3",_ref.getField(false, "_cb2_p3_m3"),"CB2_P4_M2",_ref.getField(false, "_cb2_p4_m2"),"CB2_P4_M3",_ref.getField(false, "_cb2_p4_m3"),"CB2_P6_M3",_ref.getField(false, "_cb2_p6_m3"),"CB2_P7_M3",_ref.getField(false, "_cb2_p7_m3"),"CB2_P8_M3",_ref.getField(false, "_cb2_p8_m3"),"CB3_P3_M2",_ref.getField(false, "_cb3_p3_m2"),"CB3_P3_M3",_ref.getField(false, "_cb3_p3_m3"),"CB3_P4_M2",_ref.getField(false, "_cb3_p4_m2"),"CB3_P4_M3",_ref.getField(false, "_cb3_p4_m3"),"CB3_P6_M3",_ref.getField(false, "_cb3_p6_m3"),"CB3_P7_M3",_ref.getField(false, "_cb3_p7_m3"),"CB3_P8_M3",_ref.getField(false, "_cb3_p8_m3"),"CB4_P3_M2",_ref.getField(false, "_cb4_p3_m2"),"CB4_P3_M3",_ref.getField(false, "_cb4_p3_m3"),"CB4_P4_M2",_ref.getField(false, "_cb4_p4_m2"),"CB4_P4_M3",_ref.getField(false, "_cb4_p4_m3"),"CB4_P6_M3",_ref.getField(false, "_cb4_p6_m3"),"CB4_P7_M3",_ref.getField(false, "_cb4_p7_m3"),"CB4_P8_M3",_ref.getField(false, "_cb4_p8_m3"),"CB5_P3_M2",_ref.getField(false, "_cb5_p3_m2"),"CB5_P3_M3",_ref.getField(false, "_cb5_p3_m3"),"CB5_P4_M3",_ref.getField(false, "_cb5_p4_m3"),"CB5_P6_M3",_ref.getField(false, "_cb5_p6_m3"),"CB6_P3_M2",_ref.getField(false, "_cb6_p3_m2"),"CB6_P6_M3",_ref.getField(false, "_cb6_p6_m3"),"CB7_P6_M3",_ref.getField(false, "_cb7_p6_m3"),"cercavalor",_ref.getField(false, "_cercavalor"),"CH_FACTURA",_ref.getField(false, "_ch_factura"),"chb_com",_ref.getField(false, "_chb_com"),"CHB1",_ref.getField(false, "_chb1"),"CHB2",_ref.getField(false, "_chb2"),"CHB3",_ref.getField(false, "_chb3"),"CheckBox1",_ref.getField(false, "_checkbox1"),"CheckBox2",_ref.getField(false, "_checkbox2"),"CheckBox3",_ref.getField(false, "_checkbox3"),"CheckBox4",_ref.getField(false, "_checkbox4"),"CheckBox5",_ref.getField(false, "_checkbox5"),"CheckBox6",_ref.getField(false, "_checkbox6"),"CheckBox7",_ref.getField(false, "_checkbox7"),"CheckBox8",_ref.getField(false, "_checkbox8"),"Chk_1",_ref.getField(false, "_chk_1"),"chk_1_valor",_ref.getField(false, "_chk_1_valor"),"chk_2",_ref.getField(false, "_chk_2"),"chk_2_valor",_ref.getField(false, "_chk_2_valor"),"chk_3",_ref.getField(false, "_chk_3"),"chk_3_valor",_ref.getField(false, "_chk_3_valor"),"clie_id",_ref.getField(false, "_clie_id"),"cmp20",_ref.getField(false, "_cmp20"),"CODIGO",_ref.getField(false, "_codigo"),"CONTADOR_E",_ref.getField(false, "_contador_e"),"contadorIniciarVenta",_ref.getField(false, "_contadoriniciarventa"),"contIguales",_ref.getField(false, "_contiguales"),"CUANTOS",_ref.getField(false, "_cuantos"),"cuenta",_ref.getField(false, "_cuenta"),"CUENTA_MODULO",_ref.getField(false, "_cuenta_modulo"),"cuest",_ref.getField(false, "_cuest"),"CURSOR_FOTO",_ref.getField(false, "_cursor_foto"),"DateUtils",_ref.getField(false, "_dateutils"),"DATOS",_ref.getField(false, "_datos"),"DD",_ref.getField(false, "_dd"),"dentroDeGeocerca",_ref.getField(false, "_dentrodegeocerca"),"distance",_ref.getField(false, "_distance"),"distancealm",_ref.getField(false, "_distancealm"),"E_RES_E",_ref.getField(false, "_e_res_e"),"EN_QUE_ENCUESTA",_ref.getField(false, "_en_que_encuesta"),"encuentasmapa",_ref.getField(false, "_encuentasmapa"),"ENCUESTA",_ref.getField(false, "_encuesta"),"encuestaRes",_ref.getField(false, "_encuestares"),"errorImpresora",_ref.getField(false, "_errorimpresora"),"ESPACIO",_ref.getField(false, "_espacio"),"et_atiende",_ref.getField(false, "_et_atiende"),"et_codigoAutorizacion",_ref.getField(false, "_et_codigoautorizacion"),"et_comentario",_ref.getField(false, "_et_comentario"),"et_encuesta",_ref.getField(false, "_et_encuesta"),"et_geopass",_ref.getField(false, "_et_geopass"),"et_numeroPDF",_ref.getField(false, "_et_numeropdf"),"et_p1_m2",_ref.getField(false, "_et_p1_m2"),"et_p1_m3",_ref.getField(false, "_et_p1_m3"),"et_p1_m4",_ref.getField(false, "_et_p1_m4"),"et_p2_m2",_ref.getField(false, "_et_p2_m2"),"et_p2_m3",_ref.getField(false, "_et_p2_m3"),"et_p2_m3_1",_ref.getField(false, "_et_p2_m3_1"),"et_p2_m4",_ref.getField(false, "_et_p2_m4"),"ET_P3_M2",_ref.getField(false, "_et_p3_m2"),"et_p5_m2",_ref.getField(false, "_et_p5_m2"),"ET_P6_M3",_ref.getField(false, "_et_p6_m3"),"et_telefono",_ref.getField(false, "_et_telefono"),"EXISTE",_ref.getField(false, "_existe"),"EXISTE2",_ref.getField(false, "_existe2"),"EXISTE3",_ref.getField(false, "_existe3"),"EXISTE4",_ref.getField(false, "_existe4"),"EXISTE5",_ref.getField(false, "_existe5"),"fototomada",_ref.getField(false, "_fototomada"),"frontCamera",_ref.getField(false, "_frontcamera"),"g",_ref.getField(false, "_g"),"geoCont",_ref.getField(false, "_geocont"),"gest",_ref.getField(false, "_gest"),"girotienda",_ref.getField(false, "_girotienda"),"Guardar",_ref.getField(false, "_guardar"),"HC_01",_ref.getField(false, "_hc_01"),"HC_02",_ref.getField(false, "_hc_02"),"HC_03",_ref.getField(false, "_hc_03"),"HC_04",_ref.getField(false, "_hc_04"),"HIST",_ref.getField(false, "_hist"),"HPG_01",_ref.getField(false, "_hpg_01"),"HPG_02",_ref.getField(false, "_hpg_02"),"HPG_03",_ref.getField(false, "_hpg_03"),"HPG_04",_ref.getField(false, "_hpg_04"),"HPG_05",_ref.getField(false, "_hpg_05"),"HPG_06",_ref.getField(false, "_hpg_06"),"HPG_07",_ref.getField(false, "_hpg_07"),"HPG_08",_ref.getField(false, "_hpg_08"),"HPG_09",_ref.getField(false, "_hpg_09"),"HPG_10",_ref.getField(false, "_hpg_10"),"HR_RES1",_ref.getField(false, "_hr_res1"),"HR_RES2",_ref.getField(false, "_hr_res2"),"HR_RES3",_ref.getField(false, "_hr_res3"),"I_COMPRA",_ref.getField(false, "_i_compra"),"id_encuesta",_ref.getField(false, "_id_encuesta"),"idencuestaaguardar",_ref.getField(false, "_idencuestaaguardar"),"ImageView11",_ref.getField(false, "_imageview11"),"ImageView4",_ref.getField(false, "_imageview4"),"ime",_ref.getField(false, "_ime"),"imgPlanLealtad",_ref.getField(false, "_imgplanlealtad"),"impresoraConectada",_ref.getField(false, "_impresoraconectada"),"indicePregunta",_ref.getField(false, "_indicepregunta"),"IniVenNO",_ref.getField(false, "_inivenno"),"itemselect10",_ref.getField(false, "_itemselect10"),"itemselect11",_ref.getField(false, "_itemselect11"),"itemselect12",_ref.getField(false, "_itemselect12"),"itemselect13",_ref.getField(false, "_itemselect13"),"itemselect14",_ref.getField(false, "_itemselect14"),"itemselect15",_ref.getField(false, "_itemselect15"),"itemselect16",_ref.getField(false, "_itemselect16"),"itemselect2",_ref.getField(false, "_itemselect2"),"itemselect3",_ref.getField(false, "_itemselect3"),"itemselect4",_ref.getField(false, "_itemselect4"),"itemselect5",_ref.getField(false, "_itemselect5"),"itemselect6",_ref.getField(false, "_itemselect6"),"itemselect7",_ref.getField(false, "_itemselect7"),"itemselect8",_ref.getField(false, "_itemselect8"),"itemselect9",_ref.getField(false, "_itemselect9"),"KG_01",_ref.getField(false, "_kg_01"),"KG_02",_ref.getField(false, "_kg_02"),"KG_03",_ref.getField(false, "_kg_03"),"KG_04",_ref.getField(false, "_kg_04"),"KG_05",_ref.getField(false, "_kg_05"),"KG_06",_ref.getField(false, "_kg_06"),"KP_01",_ref.getField(false, "_kp_01"),"KP_02",_ref.getField(false, "_kp_02"),"KP_03",_ref.getField(false, "_kp_03"),"KP_04",_ref.getField(false, "_kp_04"),"KP_05",_ref.getField(false, "_kp_05"),"KP_06",_ref.getField(false, "_kp_06"),"KP_07",_ref.getField(false, "_kp_07"),"KP_08",_ref.getField(false, "_kp_08"),"KP_09",_ref.getField(false, "_kp_09"),"KP_10",_ref.getField(false, "_kp_10"),"KP_11",_ref.getField(false, "_kp_11"),"KP_12",_ref.getField(false, "_kp_12"),"KP_13",_ref.getField(false, "_kp_13"),"KP_14",_ref.getField(false, "_kp_14"),"KP_15",_ref.getField(false, "_kp_15"),"KP_16",_ref.getField(false, "_kp_16"),"KP_17",_ref.getField(false, "_kp_17"),"KP_18",_ref.getField(false, "_kp_18"),"KP_19",_ref.getField(false, "_kp_19"),"KP_20",_ref.getField(false, "_kp_20"),"L",_ref.getField(false, "_l"),"l_animal",_ref.getField(false, "_l_animal"),"l_atiende",_ref.getField(false, "_l_atiende"),"l_atiende2",_ref.getField(false, "_l_atiende2"),"l_cajetillas",_ref.getField(false, "_l_cajetillas"),"l_chk_e",_ref.getField(false, "_l_chk_e"),"l_credito",_ref.getField(false, "_l_credito"),"l_deuda",_ref.getField(false, "_l_deuda"),"l_entre1",_ref.getField(false, "_l_entre1"),"l_entre2",_ref.getField(false, "_l_entre2"),"l_geopass",_ref.getField(false, "_l_geopass"),"l_limite",_ref.getField(false, "_l_limite"),"L_QR",_ref.getField(false, "_l_qr"),"l_tipocliente",_ref.getField(false, "_l_tipocliente"),"l_titEncuesta",_ref.getField(false, "_l_titencuesta"),"l_total",_ref.getField(false, "_l_total"),"l_txtEncuesta",_ref.getField(false, "_l_txtencuesta"),"l_version",_ref.getField(false, "_l_version"),"la_actdte",_ref.getField(false, "_la_actdte"),"la_Calle",_ref.getField(false, "_la_calle"),"la_col",_ref.getField(false, "_la_col"),"la_comm",_ref.getField(false, "_la_comm"),"la_cp",_ref.getField(false, "_la_cp"),"la_cuenta",_ref.getField(false, "_la_cuenta"),"la_cuenta_gallina",_ref.getField(false, "_la_cuenta_gallina"),"la_edo",_ref.getField(false, "_la_edo"),"LA_GEO",_ref.getField(false, "_la_geo"),"LA_GPS",_ref.getField(false, "_la_gps"),"la_nint",_ref.getField(false, "_la_nint"),"La_nombre",_ref.getField(false, "_la_nombre"),"la_numero",_ref.getField(false, "_la_numero"),"la_pob",_ref.getField(false, "_la_pob"),"la_resultado",_ref.getField(false, "_la_resultado"),"LA_RUTA",_ref.getField(false, "_la_ruta"),"la_saldooper",_ref.getField(false, "_la_saldooper"),"la_saldotot",_ref.getField(false, "_la_saldotot"),"la_usuario",_ref.getField(false, "_la_usuario"),"la_zona",_ref.getField(false, "_la_zona"),"Label10",_ref.getField(false, "_label10"),"Label11",_ref.getField(false, "_label11"),"Label19",_ref.getField(false, "_label19"),"Label22",_ref.getField(false, "_label22"),"Label28",_ref.getField(false, "_label28"),"ListView1",_ref.getField(false, "_listview1"),"location2",_ref.getField(false, "_location2"),"lv_comentarios",_ref.getField(false, "_lv_comentarios"),"m_lat",_ref.getField(false, "_m_lat"),"m_lon",_ref.getField(false, "_m_lon"),"MAC_IMPRESORA",_ref.getField(false, "_mac_impresora"),"META",_ref.getField(false, "_meta"),"META2",_ref.getField(false, "_meta2"),"MONTO_COMPRA",_ref.getField(false, "_monto_compra"),"motivoNoVenta",_ref.getField(false, "_motivonoventa"),"motivoNoVisita",_ref.getField(false, "_motivonovisita"),"nombrefoto",_ref.getField(false, "_nombrefoto"),"NUEVO",_ref.getField(false, "_nuevo"),"p_atiende",_ref.getField(false, "_p_atiende"),"p_cam",_ref.getField(false, "_p_cam"),"p_camara",_ref.getField(false, "_p_camara"),"p_cliente",_ref.getField(false, "_p_cliente"),"p_cliente_",_ref.getField(false, "_p_cliente_"),"p_comentario",_ref.getField(false, "_p_comentario"),"p_comentarios",_ref.getField(false, "_p_comentarios"),"p_deuda",_ref.getField(false, "_p_deuda"),"p_encuesta",_ref.getField(false, "_p_encuesta"),"p_envioPDF",_ref.getField(false, "_p_enviopdf"),"P_gallina",_ref.getField(false, "_p_gallina"),"p_m1",_ref.getField(false, "_p_m1"),"p_m2",_ref.getField(false, "_p_m2"),"p_m3",_ref.getField(false, "_p_m3"),"p_m4",_ref.getField(false, "_p_m4"),"p_modulo5",_ref.getField(false, "_p_modulo5"),"p_pideGeoPass",_ref.getField(false, "_p_pidegeopass"),"p_pregunta1",_ref.getField(false, "_p_pregunta1"),"p_telefono",_ref.getField(false, "_p_telefono"),"p_ticketImpreso",_ref.getField(false, "_p_ticketimpreso"),"p_transparentePDF",_ref.getField(false, "_p_transparentepdf"),"p_transparenteTicketImpreso",_ref.getField(false, "_p_transparenteticketimpreso"),"P3_M2",_ref.getField(false, "_p3_m2"),"P4_M2",_ref.getField(false, "_p4_m2"),"p6",_ref.getField(false, "_p6"),"P6_M2",_ref.getField(false, "_p6_m2"),"p7",_ref.getField(false, "_p7"),"p8",_ref.getField(false, "_p8"),"PairedDevices",_ref.getField(false, "_paireddevices"),"Panel1",_ref.getField(false, "_panel1"),"Panel10",_ref.getField(false, "_panel10"),"Panel2",_ref.getField(false, "_panel2"),"Panel4",_ref.getField(false, "_panel4"),"Panel5",_ref.getField(false, "_panel5"),"Panel7",_ref.getField(false, "_panel7"),"Panel7_M2",_ref.getField(false, "_panel7_m2"),"panel7_p4_m2",_ref.getField(false, "_panel7_p4_m2"),"PASA",_ref.getField(false, "_pasa"),"PK_01",_ref.getField(false, "_pk_01"),"PK_02",_ref.getField(false, "_pk_02"),"PK_03",_ref.getField(false, "_pk_03"),"PK_04",_ref.getField(false, "_pk_04"),"PK_05",_ref.getField(false, "_pk_05"),"PK_06",_ref.getField(false, "_pk_06"),"PK_07",_ref.getField(false, "_pk_07"),"PK_08",_ref.getField(false, "_pk_08"),"pnl_btns",_ref.getField(false, "_pnl_btns"),"pnlPlanLealtad",_ref.getField(false, "_pnlplanlealtad"),"precision",_ref.getField(false, "_precision"),"printer",_ref.getField(false, "_printer"),"Printer1",_ref.getField(false, "_printer1"),"que_modulo",_ref.getField(false, "_que_modulo"),"RadioButton1",_ref.getField(false, "_radiobutton1"),"RadioButton10",_ref.getField(false, "_radiobutton10"),"RadioButton11",_ref.getField(false, "_radiobutton11"),"RadioButton12",_ref.getField(false, "_radiobutton12"),"RadioButton13",_ref.getField(false, "_radiobutton13"),"RadioButton14",_ref.getField(false, "_radiobutton14"),"RadioButton15",_ref.getField(false, "_radiobutton15"),"RadioButton16",_ref.getField(false, "_radiobutton16"),"RadioButton17",_ref.getField(false, "_radiobutton17"),"RadioButton2",_ref.getField(false, "_radiobutton2"),"RadioButton3",_ref.getField(false, "_radiobutton3"),"RadioButton4",_ref.getField(false, "_radiobutton4"),"RadioButton5",_ref.getField(false, "_radiobutton5"),"RadioButton6",_ref.getField(false, "_radiobutton6"),"RadioButton7",_ref.getField(false, "_radiobutton7"),"RadioButton8",_ref.getField(false, "_radiobutton8"),"RadioButton9",_ref.getField(false, "_radiobutton9"),"RB1",_ref.getField(false, "_rb1"),"RB1_E1",_ref.getField(false, "_rb1_e1"),"rb1_m3_p1",_ref.getField(false, "_rb1_m3_p1"),"RB1_M3_P2",_ref.getField(false, "_rb1_m3_p2"),"RB1_P3_M2",_ref.getField(false, "_rb1_p3_m2"),"RB1_P4_M2",_ref.getField(false, "_rb1_p4_m2"),"RB1_P6_M2",_ref.getField(false, "_rb1_p6_m2"),"RB1_P9_M3",_ref.getField(false, "_rb1_p9_m3"),"RB2",_ref.getField(false, "_rb2"),"RB2_E1",_ref.getField(false, "_rb2_e1"),"RB2_M3_P1",_ref.getField(false, "_rb2_m3_p1"),"RB2_M3_P2",_ref.getField(false, "_rb2_m3_p2"),"RB2_P3_M2",_ref.getField(false, "_rb2_p3_m2"),"RB2_P4_M2",_ref.getField(false, "_rb2_p4_m2"),"RB2_P6_M2",_ref.getField(false, "_rb2_p6_m2"),"RB2_P9_M3",_ref.getField(false, "_rb2_p9_m3"),"RB3",_ref.getField(false, "_rb3"),"RB3_E1",_ref.getField(false, "_rb3_e1"),"RB3_M3_P1",_ref.getField(false, "_rb3_m3_p1"),"RB3_M3_P2",_ref.getField(false, "_rb3_m3_p2"),"RB3_P3_M2",_ref.getField(false, "_rb3_p3_m2"),"RB3_P6_M2",_ref.getField(false, "_rb3_p6_m2"),"RB3_P9_M3",_ref.getField(false, "_rb3_p9_m3"),"RB4",_ref.getField(false, "_rb4"),"RB4_M3_P1",_ref.getField(false, "_rb4_m3_p1"),"RB4_M3_P2",_ref.getField(false, "_rb4_m3_p2"),"RB4_P3_M2",_ref.getField(false, "_rb4_p3_m2"),"RB4_P6_M2",_ref.getField(false, "_rb4_p6_m2"),"RB4_P9_M3",_ref.getField(false, "_rb4_p9_m3"),"RB5",_ref.getField(false, "_rb5"),"RB5_P6_M2",_ref.getField(false, "_rb5_p6_m2"),"RB5_P9_M3",_ref.getField(false, "_rb5_p9_m3"),"RB6_P6_M2",_ref.getField(false, "_rb6_p6_m2"),"RB7_P6_M2",_ref.getField(false, "_rb7_p6_m2"),"rd1_p4_m2",_ref.getField(false, "_rd1_p4_m2"),"rd1_p5_m3",_ref.getField(false, "_rd1_p5_m3"),"rd2_p4_m2",_ref.getField(false, "_rd2_p4_m2"),"rd2_p5_m3",_ref.getField(false, "_rd2_p5_m3"),"rd3_p4_m2",_ref.getField(false, "_rd3_p4_m2"),"reqManager",_ref.getField(false, "_reqmanager"),"res",_ref.getField(false, "_res"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"s",_ref.getField(false, "_s"),"S2",_ref.getField(false, "_s2"),"sc",_ref.getField(false, "_sc"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"stay_hh",_ref.getField(false, "_stay_hh"),"stay_mi",_ref.getField(false, "_stay_mi"),"stay_ss",_ref.getField(false, "_stay_ss"),"sTime",_ref.getField(false, "_stime"),"SV_ENCUESTA",_ref.getField(false, "_sv_encuesta"),"t_tenc",_ref.getField(false, "_t_tenc"),"t1",_ref.getField(false, "_t1"),"t2",_ref.getField(false, "_t2"),"TAMANO",_ref.getField(false, "_tamano"),"Tar",_ref.getField(false, "_tar"),"teclado",_ref.getField(false, "_teclado"),"telefono",_ref.getField(false, "_telefono"),"Tels",_ref.getField(false, "_tels"),"textemp2",_ref.getField(false, "_textemp2"),"textemp3",_ref.getField(false, "_textemp3"),"textemp4",_ref.getField(false, "_textemp4"),"textemp5",_ref.getField(false, "_textemp5"),"textemp6",_ref.getField(false, "_textemp6"),"textemp7",_ref.getField(false, "_textemp7"),"textemp8",_ref.getField(false, "_textemp8"),"tgl",_ref.getField(false, "_tgl"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"Toggla",_ref.getField(false, "_toggla"),"TOMAR_FOTO",_ref.getField(false, "_tomar_foto"),"total_cliente",_ref.getField(false, "_total_cliente"),"totalpromos",_ref.getField(false, "_totalpromos"),"totalpromostotal",_ref.getField(false, "_totalpromostotal"),"usuario",_ref.getField(false, "_usuario"),"VERIFICA",_ref.getField(false, "_verifica"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cliente_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cliente_subs_0.java new file mode 100644 index 0000000..aa45eca --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cliente_subs_0.java @@ -0,0 +1,26018 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_cliente_subs_0 { + + +public static RemoteObject _b_acepatiende_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_acepatiende_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7939); +if (RapidSub.canDelegate("b_acepatiende_click")) { return __ref.runUserSub(false, "c_cliente","b_acepatiende_click", __ref);} +RemoteObject _coord = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 7939;BA.debugLine="Private Sub b_acepatiende_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 7940;BA.debugLine="If et_atiende.Text <> \"\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 7942;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(32); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * from ATIENDE where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 7944;BA.debugLine="If coord.RowCount = 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7945;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ATIENDE(ATIENDE"; +Debug.ShouldStop(256); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ATIENDE(ATIENDE,CLIENTE) VALUES (?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"),c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))))); + BA.debugLineNum = 7946;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +Debug.ShouldStop(512); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 7947;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Datos actualizados.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 7948;BA.debugLine="l_atiende.Text = et_atiende.Text"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 7949;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(4096); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 7950;BA.debugLine="p_atiende.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7951;BA.debugLine="et_atiende.Text = \"\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }else { + BA.debugLineNum = 7953;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE ATIENDE SET ATIENDE"; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE ATIENDE SET ATIENDE = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText")}))))); + BA.debugLineNum = 7954;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +Debug.ShouldStop(131072); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 7955;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Datos actualizados.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 7956;BA.debugLine="l_atiende.Text = et_atiende.Text"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 7957;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 7958;BA.debugLine="p_atiende.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7959;BA.debugLine="et_atiende.Text = \"\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + }else { + BA.debugLineNum = 7964;BA.debugLine="MsgboxAsync(\"Por favor captura un nombre valido."; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura un nombre valido.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 7966;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_acepta_gallina_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_ACEPTA_GALLINA_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5446); +if (RapidSub.canDelegate("b_acepta_gallina_click")) { return __ref.runUserSub(false, "c_cliente","b_acepta_gallina_click", __ref);} + BA.debugLineNum = 5446;BA.debugLine="Private Sub B_ACEPTA_GALLINA_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 5449;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(256); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 5450;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(512); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 5451;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1024); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 5452;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 5453;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 5454;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(8192); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 5455;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 5456;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 5457;BA.debugLine="c.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 5458;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(131072); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 5459;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 5460;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 5461;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 5462;BA.debugLine="C.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 5463;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + }; + BA.debugLineNum = 5465;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 5466;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {RemoteObject.createImmutable(("PRO1771")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((1)),RemoteObject.createImmutable(("1 KNORR SUIZA EXH C/50/22 GR +1 KNORR SUIZA GALLINA $279.00")),RemoteObject.createImmutable(("PRO1771")),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 5467;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {RemoteObject.createImmutable(("PRO1771")),RemoteObject.createImmutable((139.5)),RemoteObject.createImmutable((139.5)),RemoteObject.createImmutable((1)),RemoteObject.createImmutable(("KNORR SUIZA EXH C/50/22 GR")),RemoteObject.createImmutable(("UNI047")),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 5468;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {RemoteObject.createImmutable(("PRO1771")),RemoteObject.createImmutable((139.5)),RemoteObject.createImmutable((139.5)),RemoteObject.createImmutable((1)),RemoteObject.createImmutable(("KNORR SUIZA GALLINA")),RemoteObject.createImmutable(("UNI860")),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 5470;BA.debugLine="c=skmt.ExecQuery(\"select sum(pe_costo_tot) as TOT"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 5471;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 5472;BA.debugLine="skmt.ExecNonQuery(\"delete from pedido_cliente whe"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 5473;BA.debugLine="skmt.ExecNonQuery2(\"insert into pedido_cliente(PC"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 5474;BA.debugLine="skmt.ExecNonQuery(\"UPDATE kmt_info3 set gestion ="; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 5478;BA.debugLine="B_GALLINA.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_b_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5479;BA.debugLine="b_like.Visible = True"; +Debug.ShouldStop(64); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5480;BA.debugLine="Tar.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5481;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5482;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5484;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5485;BA.debugLine="Guardar.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5486;BA.debugLine="P_gallina.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5487;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_aceptelefono_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_aceptelefono_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7986); +if (RapidSub.canDelegate("b_aceptelefono_click")) { return __ref.runUserSub(false, "c_cliente","b_aceptelefono_click", __ref);} +RemoteObject _coord = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 7986;BA.debugLine="Private Sub b_aceptelefono_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 7987;BA.debugLine="If et_telefono.Text <> \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 7988;BA.debugLine="If et_telefono.Text.Length = 10 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 10))) { + BA.debugLineNum = 7990;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skm"; +Debug.ShouldStop(2097152); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * from TELEFONO where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 7992;BA.debugLine="If coord.RowCount = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7993;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO TELEFONO(TELEF"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO TELEFONO(TELEFONO,CLIENTE) VALUES (?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText"),c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))))); + BA.debugLineNum = 7994;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k"; +Debug.ShouldStop(33554432); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 7995;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Datos actualizados.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 7996;BA.debugLine="Label19.Text = et_telefono.Text"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_label19" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 7997;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 7998;BA.debugLine="p_telefono.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_telefono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7999;BA.debugLine="et_telefono.Text = \"\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }else { + BA.debugLineNum = 8001;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE TELEFONO SET TELEFO"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE TELEFONO SET TELEFONO = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText")}))))); + BA.debugLineNum = 8002;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k"; +Debug.ShouldStop(2); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 8003;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Datos actualizados.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 8004;BA.debugLine="Label19.Text = et_telefono.Text"; +Debug.ShouldStop(8); +__ref.getField(false,"_label19" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 8006;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(32); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 8007;BA.debugLine="p_telefono.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_telefono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 8008;BA.debugLine="et_telefono.Text = \"\""; +Debug.ShouldStop(128); +__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + }else { + BA.debugLineNum = 8012;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de tel"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura un numero de teléfono valido.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 8015;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de telé"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura un numero de teléfono valido.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 8017;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_agregarcom_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_agregarcom_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7634); +if (RapidSub.canDelegate("b_agregarcom_click")) { return __ref.runUserSub(false, "c_cliente","b_agregarcom_click", __ref);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _itemtext = RemoteObject.createImmutable(""); + BA.debugLineNum = 7634;BA.debugLine="Private Sub b_agregarcom_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 7636;BA.debugLine="If et_comentario.Text <> \"\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_comentario" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 7637;BA.debugLine="If chb_com.Checked Then"; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_chb_com" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 7638;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in"; +Debug.ShouldStop(2097152); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_comentario" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("','"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("',1)"))))); + }else +{ BA.debugLineNum = 7639;BA.debugLine="Else If chb_com.Checked = False Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_chb_com" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 7640;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in"; +Debug.ShouldStop(8388608); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_comentario" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("','"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("',0)"))))); + }} +; + BA.debugLineNum = 7643;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(67108864); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 7644;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label"; +Debug.ShouldStop(134217728); +_label1 = __ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 7645;BA.debugLine="label1.TextSize = 16"; +Debug.ShouldStop(268435456); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 7646;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(536870912); +_label1.runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 7651;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DE"; +Debug.ShouldStop(4); +_label1.runMethod(false,"setTypeface",c_cliente.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_cliente.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_cliente.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 7656;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"se"; +Debug.ShouldStop(128); +c_cliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_cliente._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COMENTARTIO FROM COMENTARIOS WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));__ref.setField("_c",c_cliente._c); + BA.debugLineNum = 7657;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor"; +Debug.ShouldStop(256); +__ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label").runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 7658;BA.debugLine="lv_comentarios.Clear"; +Debug.ShouldStop(512); +__ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 7659;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7660;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(2048); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16) ;_i = ((int)(0 + _i + step16)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 7661;BA.debugLine="c.Position = i"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 7662;BA.debugLine="Dim itemText As String"; +Debug.ShouldStop(8192); +_itemtext = RemoteObject.createImmutable("");Debug.locals.put("itemText", _itemtext); + BA.debugLineNum = 7664;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$"; +Debug.ShouldStop(32768); +_itemtext = (RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COMENTARTIO")))))),RemoteObject.createImmutable("")));Debug.locals.put("itemText", _itemtext); + BA.debugLineNum = 7665;BA.debugLine="lv_comentarios.AddSingleLine(itemText)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_itemtext))); + } +}Debug.locals.put("i", _i); +; + }else { + BA.debugLineNum = 7669;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos disp"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("No hay datos disponibles.")))); + }; + BA.debugLineNum = 7671;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 7672;BA.debugLine="et_comentario.Text = \"\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_et_comentario" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 7675;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancela_gallina_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_CANCELA_GALLINA_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5489); +if (RapidSub.canDelegate("b_cancela_gallina_click")) { return __ref.runUserSub(false, "c_cliente","b_cancela_gallina_click", __ref);} + BA.debugLineNum = 5489;BA.debugLine="Private Sub B_CANCELA_GALLINA_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 5490;BA.debugLine="P_gallina.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5492;BA.debugLine="B_GALLINA.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5493;BA.debugLine="b_like.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5494;BA.debugLine="Tar.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5495;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5496;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5498;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5499;BA.debugLine="Guardar.Visible = True"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5502;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancelarcodigoautorizacion_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancelarCodigoAutorizacion_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6771); +if (RapidSub.canDelegate("b_cancelarcodigoautorizacion_click")) { return __ref.runUserSub(false, "c_cliente","b_cancelarcodigoautorizacion_click", __ref);} + BA.debugLineNum = 6771;BA.debugLine="Private Sub b_cancelarCodigoAutorizacion_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 6772;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6773;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancelarenviopdf_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancelarEnvioPDF_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7501); +if (RapidSub.canDelegate("b_cancelarenviopdf_click")) { return __ref.runUserSub(false, "c_cliente","b_cancelarenviopdf_click", __ref);} + BA.debugLineNum = 7501;BA.debugLine="Private Sub b_cancelarEnvioPDF_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 7502;BA.debugLine="p_transparentePDF.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7503;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancelatiende_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancelatiende_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7968); +if (RapidSub.canDelegate("b_cancelatiende_click")) { return __ref.runUserSub(false, "c_cliente","b_cancelatiende_click", __ref);} + BA.debugLineNum = 7968;BA.debugLine="Private Sub b_cancelatiende_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 7969;BA.debugLine="p_atiende.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7970;BA.debugLine="et_atiende.Text = \"\""; +Debug.ShouldStop(2); +__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 7971;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(4); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 7972;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_canceltelefono_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_canceltelefono_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,8019); +if (RapidSub.canDelegate("b_canceltelefono_click")) { return __ref.runUserSub(false, "c_cliente","b_canceltelefono_click", __ref);} + BA.debugLineNum = 8019;BA.debugLine="Private Sub b_canceltelefono_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 8020;BA.debugLine="p_telefono.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_telefono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 8021;BA.debugLine="et_telefono.Text = \"\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 8022;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 8023;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cerarcom_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cerarcom_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7629); +if (RapidSub.canDelegate("b_cerarcom_click")) { return __ref.runUserSub(false, "c_cliente","b_cerarcom_click", __ref);} + BA.debugLineNum = 7629;BA.debugLine="Private Sub b_cerarcom_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 7630;BA.debugLine="p_comentario.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_comentario" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7631;BA.debugLine="et_comentario.Text = \"\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_et_comentario" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 7632;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_chk_e_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_chk_e_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6518); +if (RapidSub.canDelegate("b_chk_e_click")) { return __ref.runUserSub(false, "c_cliente","b_chk_e_click", __ref);} + BA.debugLineNum = 6518;BA.debugLine="Private Sub b_chk_e_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 6520;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_codigoautorizacion_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_codigoAutorizacion_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6753); +if (RapidSub.canDelegate("b_codigoautorizacion_click")) { return __ref.runUserSub(false, "c_cliente","b_codigoautorizacion_click", __ref);} +RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); + BA.debugLineNum = 6753;BA.debugLine="Private Sub b_codigoAutorizacion_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 6754;BA.debugLine="If et_codigoAutorizacion.Text <> \"KMTS1\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_codigoautorizacion" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 6755;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 6756;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 6757;BA.debugLine="cmd.Name = \"select_codigoAutorizacion\""; +Debug.ShouldStop(16); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_codigoAutorizacion")); + BA.debugLineNum = 6758;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAutori"; +Debug.ShouldStop(32); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_et_codigoautorizacion" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))})); + BA.debugLineNum = 6759;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"codigoAutoriza"; +Debug.ShouldStop(64); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("codigoAutorizacion")))); + }else { + BA.debugLineNum = 6761;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket_im"; +Debug.ShouldStop(256); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)"))); + BA.debugLineNum = 6762;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6763;BA.debugLine="et_codigoAutorizacion.Text = \"\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_et_codigoautorizacion" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 6764;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; +Debug.ShouldStop(2048); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 6765;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CREDIT"; +Debug.ShouldStop(4096); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + }; + BA.debugLineNum = 6767;BA.debugLine="teclado.HideKeyboard"; +Debug.ShouldStop(16384); +__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 6769;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_comentarios_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_comentarios_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7593); +if (RapidSub.canDelegate("b_comentarios_click")) { return __ref.runUserSub(false, "c_cliente","b_comentarios_click", __ref);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _itemtext = RemoteObject.createImmutable(""); + BA.debugLineNum = 7593;BA.debugLine="Private Sub b_comentarios_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 7594;BA.debugLine="p_comentario.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_comentario" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7595;BA.debugLine="et_comentario.Text = \"\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_et_comentario" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 7596;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(2048); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 7597;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label"; +Debug.ShouldStop(4096); +_label1 = __ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 7598;BA.debugLine="label1.TextSize = 16"; +Debug.ShouldStop(8192); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 7599;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(16384); +_label1.runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 7604;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF"; +Debug.ShouldStop(524288); +_label1.runMethod(false,"setTypeface",c_cliente.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_cliente.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_cliente.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 7609;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +Debug.ShouldStop(16777216); +c_cliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_cliente._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COMENTARTIO FROM COMENTARIOS WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));__ref.setField("_c",c_cliente._c); + BA.debugLineNum = 7610;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor ="; +Debug.ShouldStop(33554432); +__ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label").runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 7611;BA.debugLine="lv_comentarios.Clear"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 7612;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7613;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(268435456); +{ +final int step12 = 1; +final int limit12 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step12 > 0 && _i <= limit12) || (step12 < 0 && _i >= limit12) ;_i = ((int)(0 + _i + step12)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 7614;BA.debugLine="c.Position = i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 7615;BA.debugLine="Dim itemText As String"; +Debug.ShouldStop(1073741824); +_itemtext = RemoteObject.createImmutable("");Debug.locals.put("itemText", _itemtext); + BA.debugLineNum = 7617;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$"; +Debug.ShouldStop(1); +_itemtext = (RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COMENTARTIO")))))),RemoteObject.createImmutable("")));Debug.locals.put("itemText", _itemtext); + BA.debugLineNum = 7618;BA.debugLine="lv_comentarios.AddSingleLine(itemText)"; +Debug.ShouldStop(2); +__ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_itemtext))); + } +}Debug.locals.put("i", _i); +; + }else { + BA.debugLineNum = 7622;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos dispo"; +Debug.ShouldStop(32); +__ref.getField(false,"_lv_comentarios" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("No hay datos disponibles.")))); + }; + BA.debugLineNum = 7627;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_e_next_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_E_NEXT_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4658); +if (RapidSub.canDelegate("b_e_next_click")) { return __ref.runUserSub(false, "c_cliente","b_e_next_click", __ref);} + BA.debugLineNum = 4658;BA.debugLine="Sub B_E_NEXT_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 4659;BA.debugLine="If E_RES_E.Text <> \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 4660;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(524288); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(RemoteObject.createImmutable("DONDE"))}))))); + BA.debugLineNum = 4661;BA.debugLine="Panel2.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_panel2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4662;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(2097152); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else { + BA.debugLineNum = 4664;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("SIN RESPUESTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 4666;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_encuesta_1_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_encuesta_1_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6442); +if (RapidSub.canDelegate("b_encuesta_1_click")) { return __ref.runUserSub(false, "c_cliente","b_encuesta_1_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); + BA.debugLineNum = 6442;BA.debugLine="Private Sub b_encuesta_1_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 6443;BA.debugLine="Log(\"BOTON 1 CLICK\")"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","060882945",RemoteObject.createImmutable("BOTON 1 CLICK"),0); + BA.debugLineNum = 6444;BA.debugLine="Dim btn As Button = Sender"; +Debug.ShouldStop(2048); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 6445;BA.debugLine="Log(\"BOTON 1 CLICKED \"& \" clicked - \" & btn.Text"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("LogImpl","060882947",RemoteObject.concat(RemoteObject.createImmutable("BOTON 1 CLICKED "),RemoteObject.createImmutable(" clicked - "),_btn.runMethod(true,"getText"),RemoteObject.createImmutable(" - "),_btn.runMethod(false,"getTag")),0); + BA.debugLineNum = 6446;BA.debugLine="encuestaRes = btn.Text"; +Debug.ShouldStop(8192); +__ref.setField ("_encuestares" /*RemoteObject*/ ,_btn.runMethod(true,"getText")); + BA.debugLineNum = 6447;BA.debugLine="indicePregunta = btn.Tag"; +Debug.ShouldStop(16384); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,BA.numberCast(int.class, _btn.runMethod(false,"getTag"))); + BA.debugLineNum = 6448;BA.debugLine="ocultaPanelEncuesta"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_ocultapanelencuesta" /*RemoteObject*/ ); + BA.debugLineNum = 6449;BA.debugLine="botonPresionado = 1"; +Debug.ShouldStop(65536); +__ref.setField ("_botonpresionado" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + BA.debugLineNum = 6450;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_encuesta_2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_encuesta_2_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6452); +if (RapidSub.canDelegate("b_encuesta_2_click")) { return __ref.runUserSub(false, "c_cliente","b_encuesta_2_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); + BA.debugLineNum = 6452;BA.debugLine="Private Sub b_encuesta_2_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 6453;BA.debugLine="Log(\"BOTON 2 CLICK\")"; +Debug.ShouldStop(1048576); +c_cliente.__c.runVoidMethod ("LogImpl","060948481",RemoteObject.createImmutable("BOTON 2 CLICK"),0); + BA.debugLineNum = 6454;BA.debugLine="Dim btn As Button = Sender"; +Debug.ShouldStop(2097152); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 6455;BA.debugLine="Log(\"BOTON 2 CLICKED \"& \" clicked - \" & btn.Text"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","060948483",RemoteObject.concat(RemoteObject.createImmutable("BOTON 2 CLICKED "),RemoteObject.createImmutable(" clicked - "),_btn.runMethod(true,"getText"),RemoteObject.createImmutable(" - "),_btn.runMethod(false,"getTag")),0); + BA.debugLineNum = 6456;BA.debugLine="encuestaRes = btn.Text"; +Debug.ShouldStop(8388608); +__ref.setField ("_encuestares" /*RemoteObject*/ ,_btn.runMethod(true,"getText")); + BA.debugLineNum = 6457;BA.debugLine="indicePregunta = btn.Tag"; +Debug.ShouldStop(16777216); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,BA.numberCast(int.class, _btn.runMethod(false,"getTag"))); + BA.debugLineNum = 6458;BA.debugLine="ocultaPanelEncuesta"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_ocultapanelencuesta" /*RemoteObject*/ ); + BA.debugLineNum = 6459;BA.debugLine="botonPresionado = 1"; +Debug.ShouldStop(67108864); +__ref.setField ("_botonpresionado" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + BA.debugLineNum = 6460;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_encuesta_3_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_encuesta_3_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6462); +if (RapidSub.canDelegate("b_encuesta_3_click")) { return __ref.runUserSub(false, "c_cliente","b_encuesta_3_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); + BA.debugLineNum = 6462;BA.debugLine="Private Sub b_encuesta_3_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 6463;BA.debugLine="Log(\"BOTON 3 CLICK\")"; +Debug.ShouldStop(1073741824); +c_cliente.__c.runVoidMethod ("LogImpl","061014017",RemoteObject.createImmutable("BOTON 3 CLICK"),0); + BA.debugLineNum = 6464;BA.debugLine="Dim btn As Button = Sender"; +Debug.ShouldStop(-2147483648); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 6465;BA.debugLine="Log(\"BOTON 3 CLICKED \"& \" clicked - \" & btn.Text"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","061014019",RemoteObject.concat(RemoteObject.createImmutable("BOTON 3 CLICKED "),RemoteObject.createImmutable(" clicked - "),_btn.runMethod(true,"getText"),RemoteObject.createImmutable(" - "),_btn.runMethod(false,"getTag")),0); + BA.debugLineNum = 6466;BA.debugLine="encuestaRes = btn.Text"; +Debug.ShouldStop(2); +__ref.setField ("_encuestares" /*RemoteObject*/ ,_btn.runMethod(true,"getText")); + BA.debugLineNum = 6467;BA.debugLine="indicePregunta = btn.Tag"; +Debug.ShouldStop(4); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,BA.numberCast(int.class, _btn.runMethod(false,"getTag"))); + BA.debugLineNum = 6468;BA.debugLine="ocultaPanelEncuesta"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_ocultapanelencuesta" /*RemoteObject*/ ); + BA.debugLineNum = 6469;BA.debugLine="botonPresionado = 1"; +Debug.ShouldStop(16); +__ref.setField ("_botonpresionado" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + BA.debugLineNum = 6470;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_encuesta_continuar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_encuesta_continuar_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6472); +if (RapidSub.canDelegate("b_encuesta_continuar_click")) { return __ref.runUserSub(false, "c_cliente","b_encuesta_continuar_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); + BA.debugLineNum = 6472;BA.debugLine="Private Sub b_encuesta_continuar_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 6473;BA.debugLine="Dim btn As Button = Sender"; +Debug.ShouldStop(256); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 6474;BA.debugLine="Log(\"BOTON CONTINUAR CLICK - \" & btn.Text & \" - \""; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","061079554",RemoteObject.concat(RemoteObject.createImmutable("BOTON CONTINUAR CLICK - "),_btn.runMethod(true,"getText"),RemoteObject.createImmutable(" - "),_btn.runMethod(false,"getTag")),0); + BA.debugLineNum = 6475;BA.debugLine="encuestaRes = et_encuesta.Text"; +Debug.ShouldStop(1024); +__ref.setField ("_encuestares" /*RemoteObject*/ ,__ref.getField(false,"_et_encuesta" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 6476;BA.debugLine="indicePregunta = btn.Tag"; +Debug.ShouldStop(2048); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,BA.numberCast(int.class, _btn.runMethod(false,"getTag"))); + BA.debugLineNum = 6477;BA.debugLine="et_encuesta.Text = \"\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_et_encuesta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 6478;BA.debugLine="et_encuesta.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6479;BA.debugLine="b_encuesta_continuar.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_b_encuesta_continuar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6480;BA.debugLine="ocultaPanelEncuesta"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_ocultapanelencuesta" /*RemoteObject*/ ); + BA.debugLineNum = 6481;BA.debugLine="botonPresionado = 1"; +Debug.ShouldStop(65536); +__ref.setField ("_botonpresionado" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + BA.debugLineNum = 6482;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_enviarticket_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_enviarTicket_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7324); +if (RapidSub.canDelegate("b_enviarticket_click")) { return __ref.runUserSub(false, "c_cliente","b_enviarticket_click", __ref);} + BA.debugLineNum = 7324;BA.debugLine="Private Sub b_enviarTicket_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 7325;BA.debugLine="et_numeroPDF.Text = telefono.trim"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_et_numeropdf" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_telefono" /*RemoteObject*/ ).runMethod(true,"trim"))); + BA.debugLineNum = 7326;BA.debugLine="p_transparentePDF.Visible = True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7334;BA.debugLine="Log(\"Progress 2\")"; +Debug.ShouldStop(32); +c_cliente.__c.runVoidMethod ("LogImpl","062390282",RemoteObject.createImmutable("Progress 2"),0); + BA.debugLineNum = 7335;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_enviarticket_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_enviarTicket_LongClick (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7337); +if (RapidSub.canDelegate("b_enviarticket_longclick")) { return __ref.runUserSub(false, "c_cliente","b_enviarticket_longclick", __ref);} + BA.debugLineNum = 7337;BA.debugLine="Private Sub b_enviarTicket_LongClick"; +Debug.ShouldStop(256); + BA.debugLineNum = 7343;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_enviopdf_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_envioPDF_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7466); +if (RapidSub.canDelegate("b_enviopdf_click")) { __ref.runUserSub(false, "c_cliente","b_enviopdf_click", __ref); return;} +ResumableSub_b_envioPDF_Click rsub = new ResumableSub_b_envioPDF_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_envioPDF_Click extends BA.ResumableSub { +public ResumableSub_b_envioPDF_Click(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_envioPDF_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7466); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 7467;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 1: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(87)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { +this.state = 3; +}else { +this.state = 11; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 7468;BA.debugLine="If Subs.traemontoprod Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 4: +//if +this.state = 9; +if (parent._subs.runMethod(true,"_traemontoprod" /*RemoteObject*/ ,__ref.getField(false, "ba")).get().booleanValue()) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; + BA.debugLineNum = 7469;BA.debugLine="PDFGENERAR2"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_pdfgenerar2" /*RemoteObject*/ ); + if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 7471;BA.debugLine="PDFGENERAR"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_pdfgenerar" /*RemoteObject*/ ); + if (true) break; + +case 9: +//C +this.state = 12; +; + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 7474;BA.debugLine="PDFGENERAR"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_pdfgenerar" /*RemoteObject*/ ); + if (true) break; + +case 12: +//C +this.state = -1; +; + BA.debugLineNum = 7477;BA.debugLine="Sleep(3000)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_enviopdf_click"),BA.numberCast(int.class, 3000)); +this.state = 13; +return; +case 13: +//C +this.state = -1; +; + BA.debugLineNum = 7478;BA.debugLine="EnviarPDFWhatsAppNumero(et_numeroPDF.Text)"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_enviarpdfwhatsappnumero" /*void*/ ,(Object)(__ref.getField(false,"_et_numeropdf" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 7480;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(8388608); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)"))); + BA.debugLineNum = 7481;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +Debug.ShouldStop(16777216); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into TICKET_IMPRESO (idCliente) values ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 7483;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; +Debug.ShouldStop(67108864); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("YYYY/MM/dd HH:mm:ss")); + BA.debugLineNum = 7484;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(134217728); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 7485;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 7486;BA.debugLine="cmd.Name = \"insertEnvioTicketPDF\""; +Debug.ShouldStop(536870912); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insertEnvioTicketPDF")); + BA.debugLineNum = 7487;BA.debugLine="Log(DateTime.Date(DateTime.Now))"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","062717973",parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))),0); + BA.debugLineNum = 7488;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeCliente"; +Debug.ShouldStop(-2147483648); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(parent._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_et_numeropdf" /*RemoteObject*/ ).runMethod(true,"getText")),(parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))})); + BA.debugLineNum = 7489;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertEnvioTicke"; +Debug.ShouldStop(1); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("insertEnvioTicketPDF")))); + BA.debugLineNum = 7491;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 7492;BA.debugLine="cmd.Name = \"insertaTelefonoTicketPDF\""; +Debug.ShouldStop(8); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insertaTelefonoTicketPDF")); + BA.debugLineNum = 7493;BA.debugLine="Log(DateTime.Date(DateTime.Now))"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("LogImpl","062717979",parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))),0); + BA.debugLineNum = 7494;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmacen"; +Debug.ShouldStop(32); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_et_numeropdf" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 7495;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertTelefonoTi"; +Debug.ShouldStop(64); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("insertTelefonoTicketPDF")))); + BA.debugLineNum = 7497;BA.debugLine="Guardar_Click"; +Debug.ShouldStop(256); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_guardar_click" /*RemoteObject*/ ); + BA.debugLineNum = 7498;BA.debugLine="p_transparentePDF.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 7499;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b_foto_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_foto_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7786); +if (RapidSub.canDelegate("b_foto_click")) { return __ref.runUserSub(false, "c_cliente","b_foto_click", __ref);} + BA.debugLineNum = 7786;BA.debugLine="Private Sub b_foto_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 7808;BA.debugLine="camEx.TakePicture"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_takepicture" /*RemoteObject*/ ); + BA.debugLineNum = 7809;BA.debugLine="p_camara.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7813;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_gallina_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_GALLINA_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5504); +if (RapidSub.canDelegate("b_gallina_click")) { return __ref.runUserSub(false, "c_cliente","b_gallina_click", __ref);} + BA.debugLineNum = 5504;BA.debugLine="Private Sub B_GALLINA_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 5505;BA.debugLine="P_gallina.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5507;BA.debugLine="B_GALLINA.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_b_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5508;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5509;BA.debugLine="BT_QR.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5511;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5512;BA.debugLine="Tar.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5513;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5514;BA.debugLine="gest.Visible = False ': ToastMessageShow(\"ccc\", F"; +Debug.ShouldStop(512); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5515;BA.debugLine="b_venta.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_b_venta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5516;BA.debugLine="Guardar.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5517;BA.debugLine="HIST.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_hist" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5518;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_geopass_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_geopass_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1915); +if (RapidSub.canDelegate("b_geopass_click")) { return __ref.runUserSub(false, "c_cliente","b_geopass_click", __ref);} +RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); + BA.debugLineNum = 1915;BA.debugLine="Private Sub b_geopass_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1916;BA.debugLine="If et_geopass.Text.trim = \"KMTS1\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_geopass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"),BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 1917;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps"; +Debug.ShouldStop(268435456); +__ref.setField ("_m_lat" /*RemoteObject*/ ,c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )); + BA.debugLineNum = 1918;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps"; +Debug.ShouldStop(536870912); +__ref.setField ("_m_lon" /*RemoteObject*/ ,c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )); + BA.debugLineNum = 1919;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(c_cliente._starter._ubicacionactual /*RemoteObject*/ )); + BA.debugLineNum = 1920;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT_CL_"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update kmt_info3 set CAT_CL_LAT = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )))),RemoteObject.createImmutable("', CAT_CL_LONG = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )))),RemoteObject.createImmutable("' where CAT_CL_CODIGO = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1921;BA.debugLine="et_geopass.Text = \"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_et_geopass" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }else { + BA.debugLineNum = 1923;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 1924;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 1925;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\""; +Debug.ShouldStop(16); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_geoPass_GUNA")); + BA.debugLineNum = 1926;BA.debugLine="cmd.Parameters = Array As Object(et_geopass.Text"; +Debug.ShouldStop(32); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_et_geopass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")))})); + BA.debugLineNum = 1927;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPass\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traeGeoPass")))); + BA.debugLineNum = 1928;BA.debugLine="Log($\"${Starter.server}, ${et_geopass.Text}, ${S"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("LogImpl","051118093",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._starter._server /*RemoteObject*/ ))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_geopass" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1929;BA.debugLine="et_geopass.Text = \"\""; +Debug.ShouldStop(256); +__ref.getField(false,"_et_geopass" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 1931;BA.debugLine="p_pideGeoPass.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_pidegeopass" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1938;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_gps_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_GPS_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4702); +if (RapidSub.canDelegate("b_gps_click")) { return __ref.runUserSub(false, "c_cliente","b_gps_click", __ref);} + BA.debugLineNum = 4702;BA.debugLine="Sub B_GPS_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 4703;BA.debugLine="Dim result As Int"; +Debug.ShouldStop(1073741824); +c_cliente._result = RemoteObject.createImmutable(0);__ref.setField("_result",c_cliente._result); + BA.debugLineNum = 4704;BA.debugLine="result = Msgbox2(\"Esta seguro de cambiar las coor"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_result" /*RemoteObject*/ ,c_cliente.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Esta seguro de cambiar las coordenadas de este cliente")),(Object)(BA.ObjectToCharSequence("Aviso GPS")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)((c_cliente.__c.runMethod(false,"LoadBitmap",(Object)(c_cliente.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alerta.jpg"))).getObject())),__ref.getField(false, "ba"))); + BA.debugLineNum = 4705;BA.debugLine="If result = DialogResponse.Positive Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 4706;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt"; +Debug.ShouldStop(2); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 SET CAT_CL_LAT = ?, CAT_CL_LONG = ? where CAT_CL_CODIGO In (Select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 4707;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(4); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_b4xpage_appear" /*void*/ ); + }; + BA.debugLineNum = 4709;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guarda_c_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_GUARDA_C_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4593); +if (RapidSub.canDelegate("b_guarda_c_click")) { return __ref.runUserSub(false, "c_cliente","b_guarda_c_click", __ref);} +RemoteObject _future = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 4593;BA.debugLine="Sub B_GUARDA_C_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 4594;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(131072); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 4595;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(262144); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 4596;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(524288); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 4597;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 4598;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4599;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 4600;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4601;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 4602;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4603;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 4604;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4605;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(268435456); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {RemoteObject.createImmutable(("4")),RemoteObject.createImmutable((.01)),RemoteObject.createImmutable((.01)),RemoteObject.createImmutable((2)),RemoteObject.createImmutable(("KNORR RINDE MAS 70 GR")),RemoteObject.createImmutable(("GUNA2")),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 4606;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(536870912); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_i_compra" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 4607;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4608;BA.debugLine="b_like.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 4609;BA.debugLine="Tar.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 4610;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 4611;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(4); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 4612;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(8); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 4613;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 4614;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(32); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4615;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 4616;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 4617;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 4618;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 4621;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4622;BA.debugLine="Guardar.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 4623;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guarda_ce_ped_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_GUARDA_CE_PED_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5633); +if (RapidSub.canDelegate("b_guarda_ce_ped_click")) { return __ref.runUserSub(false, "c_cliente","b_guarda_ce_ped_click", __ref);} + BA.debugLineNum = 5633;BA.debugLine="Private Sub B_GUARDA_CE_PED_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 5635;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 5636;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 5637;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 5638;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 5639;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 5640;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(128); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 5641;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 5642;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 5643;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 5644;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(2048); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 5645;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 5646;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 5647;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 5648;BA.debugLine="C.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 5649;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(65536); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + }; + BA.debugLineNum = 5651;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 5668;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED"; +Debug.ShouldStop(8); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_ENCUESTA_PED_DIST_1(ALMACEN , TIENDA , KP_01 , KP_02 , KP_03 , KP_04 , KP_05 , KP_06 , KP_07 , KP_08 , KP_09 , KP_10 , KP_11 , KP_12 , KP_13 , KP_14 , KP_15 , KP_16 , KP_17 , KP_18 , KP_19 , KP_20 , KG_01 , KG_02 , KG_03 , KG_04 , KG_05 , KG_06 , PK_01 , PK_02 , PK_03 , PK_04 , PK_05 , PK_06 , PK_07 , PK_08) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {36},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(__ref.getField(false,"_kp_01" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_02" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_03" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_04" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_05" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_06" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_07" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_08" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_09" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_10" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_11" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_12" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_13" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_14" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_15" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_16" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_17" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_18" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_19" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kp_20" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kg_01" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kg_02" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kg_03" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kg_04" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kg_05" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_kg_06" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_pk_01" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_pk_02" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_pk_03" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_pk_04" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_pk_05" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_pk_06" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_pk_07" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_pk_08" /*RemoteObject*/ ).runMethod(true,"getChecked"))}))))); + BA.debugLineNum = 5670;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED"; +Debug.ShouldStop(32); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_ENCUESTA_PED_DIST_2(ALMACEN , TIENDA , HPG_01 , HPG_02 , HPG_03 , HPG_04 , HPG_05 , HPG_06 , HPG_07 , HPG_08 , HPG_09 , HPG_10 , HC_01 , HC_02 , HC_03 , HC_04 , B_01 , B_02) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(__ref.getField(false,"_hpg_01" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_02" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_03" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_04" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_05" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_06" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_07" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_08" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_09" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hpg_10" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hc_01" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hc_02" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hc_03" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_hc_04" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_b_01" /*RemoteObject*/ ).runMethod(true,"getChecked")),(__ref.getField(false,"_b_02" /*RemoteObject*/ ).runMethod(true,"getChecked"))}))))); + BA.debugLineNum = 5683;BA.debugLine="I_COMPRA.TEXT = \"\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_i_compra" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5684;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5685;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5687;BA.debugLine="b_like.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5688;BA.debugLine="Tar.Visible = True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5689;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5690;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5692;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5693;BA.debugLine="Guardar.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5695;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(1073741824); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 5697;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guardaencuesta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_guardaencuesta_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2826); +if (RapidSub.canDelegate("b_guardaencuesta_click")) { return __ref.runUserSub(false, "c_cliente","b_guardaencuesta_click", __ref);} +RemoteObject _si_guardar = RemoteObject.createImmutable(""); + BA.debugLineNum = 2826;BA.debugLine="Sub B_guardaencuesta_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 2827;BA.debugLine="Dim SI_GUARDAR As String"; +Debug.ShouldStop(1024); +_si_guardar = RemoteObject.createImmutable("");Debug.locals.put("SI_GUARDAR", _si_guardar); + BA.debugLineNum = 2828;BA.debugLine="SI_GUARDAR = 1"; +Debug.ShouldStop(2048); +_si_guardar = BA.NumberToString(1);Debug.locals.put("SI_GUARDAR", _si_guardar); + BA.debugLineNum = 2830;BA.debugLine="If RB1_E1.Checked = False And RB2_E1.Checked = Fa"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb1_e1" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_rb2_e1" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_rb3_e1" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 2831;BA.debugLine="SI_GUARDAR = 0"; +Debug.ShouldStop(16384); +_si_guardar = BA.NumberToString(0);Debug.locals.put("SI_GUARDAR", _si_guardar); + }; + BA.debugLineNum = 2834;BA.debugLine="If Panel7.Visible = True Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_panel7" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 2835;BA.debugLine="If RadioButton15.Checked = False And RadioButton"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton15" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton16" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton17" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 2836;BA.debugLine="SI_GUARDAR = 0"; +Debug.ShouldStop(524288); +_si_guardar = BA.NumberToString(0);Debug.locals.put("SI_GUARDAR", _si_guardar); + }; + }; + BA.debugLineNum = 2840;BA.debugLine="If RadioButton1.Checked = False And RadioButton2"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton1" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton4" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 2841;BA.debugLine="SI_GUARDAR = 0"; +Debug.ShouldStop(16777216); +_si_guardar = BA.NumberToString(0);Debug.locals.put("SI_GUARDAR", _si_guardar); + }; + BA.debugLineNum = 2844;BA.debugLine="If RadioButton5.Checked = False And RadioButton6"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton5" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton6" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton7" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton8" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton9" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 2845;BA.debugLine="SI_GUARDAR = 0"; +Debug.ShouldStop(268435456); +_si_guardar = BA.NumberToString(0);Debug.locals.put("SI_GUARDAR", _si_guardar); + }; + BA.debugLineNum = 2848;BA.debugLine="If RadioButton10.Checked = False And RadioButton"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton10" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton11" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton12" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton13" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_radiobutton14" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 2849;BA.debugLine="SI_GUARDAR = 0"; +Debug.ShouldStop(1); +_si_guardar = BA.NumberToString(0);Debug.locals.put("SI_GUARDAR", _si_guardar); + }; + BA.debugLineNum = 2852;BA.debugLine="If p6.Text = \"\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_p6" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 2853;BA.debugLine="SI_GUARDAR = 0"; +Debug.ShouldStop(16); +_si_guardar = BA.NumberToString(0);Debug.locals.put("SI_GUARDAR", _si_guardar); + }; + BA.debugLineNum = 2855;BA.debugLine="If p7.Text = \"\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_p7" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 2856;BA.debugLine="SI_GUARDAR = 0"; +Debug.ShouldStop(128); +_si_guardar = BA.NumberToString(0);Debug.locals.put("SI_GUARDAR", _si_guardar); + }; + BA.debugLineNum = 2858;BA.debugLine="If p8.Text = \"\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_p8" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 2859;BA.debugLine="SI_GUARDAR = 0"; +Debug.ShouldStop(1024); +_si_guardar = BA.NumberToString(0);Debug.locals.put("SI_GUARDAR", _si_guardar); + }; + BA.debugLineNum = 2862;BA.debugLine="If CheckBox1.Checked = False And CheckBox2.Checke"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 2863;BA.debugLine="encuentasmapa.Put(\"P9\", \"\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((RemoteObject.createImmutable("")))); + BA.debugLineNum = 2864;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(32768); +c_cliente.__c.runVoidMethod ("LogImpl","052690982",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + }; + BA.debugLineNum = 2867;BA.debugLine="If SI_GUARDAR = 1 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_si_guardar,BA.NumberToString(1))) { + BA.debugLineNum = 2868;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO1"; +Debug.ShouldStop(524288); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ENCUESTA_MODULO1 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("P3")))),__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("P1")))),__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("P2")))),__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("P4")))),__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("P5")))),(__ref.getField(false,"_p6" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_p7" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_p8" /*RemoteObject*/ ).runMethod(true,"getText")),__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("P9"))))}))))); + BA.debugLineNum = 2874;BA.debugLine="RB1_E1.Checked = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_rb1_e1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2875;BA.debugLine="RB2_E1.Checked = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_rb2_e1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2876;BA.debugLine="RB3_E1.Checked = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_rb3_e1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2877;BA.debugLine="RadioButton15.Checked = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_radiobutton15" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2878;BA.debugLine="RadioButton16.Checked = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_radiobutton16" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2879;BA.debugLine="RadioButton17.Checked = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_radiobutton17" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2880;BA.debugLine="RadioButton1.Checked = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_radiobutton1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2881;BA.debugLine="RadioButton2.Checked = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_radiobutton2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2882;BA.debugLine="RadioButton3.Checked = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_radiobutton3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2883;BA.debugLine="RadioButton4.Checked = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_radiobutton4" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2884;BA.debugLine="RadioButton5.Checked = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_radiobutton5" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2885;BA.debugLine="RadioButton6.Checked = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_radiobutton6" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2886;BA.debugLine="RadioButton7.Checked = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_radiobutton7" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2887;BA.debugLine="RadioButton8.Checked = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_radiobutton8" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2888;BA.debugLine="RadioButton9.Checked = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_radiobutton9" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2889;BA.debugLine="RadioButton10.Checked = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_radiobutton10" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2890;BA.debugLine="RadioButton11.Checked = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_radiobutton11" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2891;BA.debugLine="RadioButton12.Checked = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_radiobutton12" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2892;BA.debugLine="RadioButton13.Checked = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_radiobutton13" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2893;BA.debugLine="RadioButton14.Checked = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_radiobutton14" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2894;BA.debugLine="p6.Text = \"\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_p6" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2895;BA.debugLine="p7.Text = \"\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_p7" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2896;BA.debugLine="p8.Text = \"\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_p8" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2897;BA.debugLine="CheckBox1.Checked = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2898;BA.debugLine="CheckBox2.Checked = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2899;BA.debugLine="CheckBox3.Checked = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2900;BA.debugLine="CheckBox4.Checked = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2901;BA.debugLine="CheckBox5.Checked = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2902;BA.debugLine="CheckBox6.Checked = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2903;BA.debugLine="CheckBox7.Checked = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2904;BA.debugLine="CheckBox8.Checked = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2906;BA.debugLine="If ENCUESTA > 1 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_encuesta" /*RemoteObject*/ )),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2908;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m1" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m1" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2909;BA.debugLine="p_m1.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_m1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }; + BA.debugLineNum = 2913;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2914;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2915;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(4); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2916;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ESNCUESTA_m2")),__ref.getField(false, "ba")); + BA.debugLineNum = 2917;BA.debugLine="p_m2.Width = Root.Width * 0.94"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 2918;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 60"; +Debug.ShouldStop(32); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(60)}, "+",1, 1)); + BA.debugLineNum = 2919;BA.debugLine="Panel7_M2.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + BA.debugLineNum = 2921;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2922;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2923;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2926;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(8192); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + }; + }else { + BA.debugLineNum = 2929;BA.debugLine="Msgbox(\"FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 2931;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guardaencuesta_m2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_guardaencuesta_m2_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4966); +if (RapidSub.canDelegate("b_guardaencuesta_m2_click")) { return __ref.runUserSub(false, "c_cliente","b_guardaencuesta_m2_click", __ref);} + BA.debugLineNum = 4966;BA.debugLine="Private Sub B_guardaencuesta_m2_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 4967;BA.debugLine="P3_M2 = \"\""; +Debug.ShouldStop(64); +__ref.setField ("_p3_m2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 4968;BA.debugLine="P6_M2 = \"\""; +Debug.ShouldStop(128); +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 4969;BA.debugLine="P4_M2 = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_p4_m2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 4971;BA.debugLine="PASA = \"1\""; +Debug.ShouldStop(1024); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 4972;BA.debugLine="If et_p1_m2.Text = \"\" Then PASA = \"0\""; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_p1_m2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 4973;BA.debugLine="If et_p2_m2.Text = \"\" Then PASA = \"0\""; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_p2_m2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 4974;BA.debugLine="P4_M2 = \"\""; +Debug.ShouldStop(8192); +__ref.setField ("_p4_m2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 4975;BA.debugLine="If rd1_p4_m2.Checked Then P4_M2 = \"ALTO\""; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_rd1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p4_m2" /*RemoteObject*/ ,BA.ObjectToString("ALTO"));}; + BA.debugLineNum = 4976;BA.debugLine="If rd2_p4_m2.Checked Then P4_M2 = \"MEDIO\""; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_rd2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p4_m2" /*RemoteObject*/ ,BA.ObjectToString("MEDIO"));}; + BA.debugLineNum = 4977;BA.debugLine="If rd3_p4_m2.Checked Then P4_M2 = \"BAJO\""; +Debug.ShouldStop(65536); +if (__ref.getField(false,"_rd3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p4_m2" /*RemoteObject*/ ,BA.ObjectToString("BAJO"));}; + BA.debugLineNum = 4979;BA.debugLine="If P4_M2 = \"\" Then PASA = \"0\""; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_p4_m2" /*RemoteObject*/ ),BA.ObjectToString(""))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 4981;BA.debugLine="P6_M2 = \"\""; +Debug.ShouldStop(1048576); +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 4982;BA.debugLine="If RB1_P6_M2.Checked Then P6_M2 = \"LUNES\""; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_rb1_p6_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("LUNES"));}; + BA.debugLineNum = 4983;BA.debugLine="If RB2_P6_M2.Checked Then P6_M2 = \"MARTES\""; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_rb2_p6_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("MARTES"));}; + BA.debugLineNum = 4984;BA.debugLine="If RB3_P6_M2.Checked Then P6_M2 = \"MIERCOLES\""; +Debug.ShouldStop(8388608); +if (__ref.getField(false,"_rb3_p6_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("MIERCOLES"));}; + BA.debugLineNum = 4985;BA.debugLine="If RB4_P6_M2.Checked Then P6_M2 = \"JUEVES\""; +Debug.ShouldStop(16777216); +if (__ref.getField(false,"_rb4_p6_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("JUEVES"));}; + BA.debugLineNum = 4986;BA.debugLine="If RB5_P6_M2.Checked Then P6_M2 = \"VIERNES\""; +Debug.ShouldStop(33554432); +if (__ref.getField(false,"_rb5_p6_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("VIERNES"));}; + BA.debugLineNum = 4987;BA.debugLine="If RB6_P6_M2.Checked Then P6_M2 = \"SABADO\""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_rb6_p6_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("SABADO"));}; + BA.debugLineNum = 4988;BA.debugLine="If RB7_P6_M2.Checked Then P6_M2 = \"DOMINGO\""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_rb7_p6_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("DOMINGO"));}; + BA.debugLineNum = 4990;BA.debugLine="If P6_M2 = \"\" Then PASA = \"0\""; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_p6_m2" /*RemoteObject*/ ),BA.ObjectToString(""))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 4993;BA.debugLine="If CB1_P3_M2.Checked = False And CB2_P3_M2.Chec"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb6_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_rb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_rb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_rb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_et_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(c_cliente.__c.getField(true,"False"))) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 4994;BA.debugLine="If et_p5_m2.Text = \"\" Then PASA = \"0\""; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_p5_m2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 4995;BA.debugLine="Log(textemp2)"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","057081885",__ref.getField(true,"_textemp2" /*RemoteObject*/ ),0); + BA.debugLineNum = 4996;BA.debugLine="If textemp2 <> \"\" And textemp2.SubString2(0,2) ="; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_textemp2" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_textemp2" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),BA.ObjectToString(", "))) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,__ref.getField(true,"_textemp2" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2))));}; + BA.debugLineNum = 4997;BA.debugLine="Log(textemp2)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","057081887",__ref.getField(true,"_textemp2" /*RemoteObject*/ ),0); + BA.debugLineNum = 4998;BA.debugLine="P3_M2 = textemp2"; +Debug.ShouldStop(32); +__ref.setField ("_p3_m2" /*RemoteObject*/ ,__ref.getField(true,"_textemp2" /*RemoteObject*/ )); + BA.debugLineNum = 4999;BA.debugLine="If RB2_P4_M2.Checked Then"; +Debug.ShouldStop(64); +if (__ref.getField(false,"_rb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5000;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"NO\""; +Debug.ShouldStop(128); +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("NO"))); + }else +{ BA.debugLineNum = 5002;BA.debugLine="Else if RB1_P4_M2.Checked Then"; +Debug.ShouldStop(512); +if (__ref.getField(false,"_rb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5003;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"SI\""; +Debug.ShouldStop(1024); +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("SI"))); + BA.debugLineNum = 5004;BA.debugLine="If ET_P3_M2.Text = \"\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 5005;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_rb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Rappi")));}; + BA.debugLineNum = 5006;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_rb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Coca Cola")));}; + BA.debugLineNum = 5007;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_rb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Modelo")));}; + BA.debugLineNum = 5008;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_rb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Rabbit")));}; + }else +{ BA.debugLineNum = 5009;BA.debugLine="Else If ET_P3_M2.Text <> \"\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 5010;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_rb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Rappi")));}; + BA.debugLineNum = 5011;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +Debug.ShouldStop(262144); +if (__ref.getField(false,"_rb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Coca Cola")));}; + BA.debugLineNum = 5012;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +Debug.ShouldStop(524288); +if (__ref.getField(false,"_rb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Modelo")));}; + BA.debugLineNum = 5013;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_rb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Rabbit")));}; + BA.debugLineNum = 5014;BA.debugLine="P3_M2 = P3_M2 &\", \" & ET_P3_M2.Text"; +Debug.ShouldStop(2097152); +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_et_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText"))); + }} +; + }} +; + BA.debugLineNum = 5017;BA.debugLine="If textemp3 <> \"\" And textemp3.SubString2(0,2) ="; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_textemp3" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_textemp3" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),BA.ObjectToString(", "))) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,__ref.getField(true,"_textemp3" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2))));}; + BA.debugLineNum = 5019;BA.debugLine="P3_M2 = P3_M2 &\"|\" & textemp3"; +Debug.ShouldStop(67108864); +__ref.setField ("_p3_m2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),__ref.getField(true,"_textemp3" /*RemoteObject*/ ))); + BA.debugLineNum = 5021;BA.debugLine="If P3_M2 <> \"\" And P3_M2.SubString2(0,2) = \", \" T"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_p3_m2" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),BA.ObjectToString(", "))) { +__ref.setField ("_p3_m2" /*RemoteObject*/ ,__ref.getField(true,"_p3_m2" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2))));}; + BA.debugLineNum = 5022;BA.debugLine="LogColor(P3_M2,Colors.BlUE)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","057081912",__ref.getField(true,"_p3_m2" /*RemoteObject*/ ),c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 5023;BA.debugLine="If PASA = \"1\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_pasa" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 5024;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO2"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ENCUESTA_MODULO2 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6) VALUES (?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_et_p1_m2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_p2_m2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_p3_m2" /*RemoteObject*/ )),(__ref.getField(true,"_p4_m2" /*RemoteObject*/ )),(__ref.getField(false,"_et_p5_m2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_p6_m2" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 5025;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5026;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5027;BA.debugLine="et_p1_m2.Text = \"\""; +Debug.ShouldStop(4); +__ref.getField(false,"_et_p1_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5028;BA.debugLine="et_p2_m2.TEXT = \"\""; +Debug.ShouldStop(8); +__ref.getField(false,"_et_p2_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5029;BA.debugLine="RB7_P6_M2.Checked = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_rb7_p6_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5030;BA.debugLine="RB6_P6_M2.Checked = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_rb6_p6_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5031;BA.debugLine="RB5_P6_M2.Checked = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_rb5_p6_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5032;BA.debugLine="RB4_P6_M2.Checked = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_rb4_p6_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5033;BA.debugLine="RB3_P6_M2.Checked = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_rb3_p6_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5034;BA.debugLine="RB2_P6_M2.Checked = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_rb2_p6_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5035;BA.debugLine="RB1_P6_M2.Checked = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_rb1_p6_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5036;BA.debugLine="et_p5_m2.Text = \"\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_et_p5_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5037;BA.debugLine="rd3_p4_m2.Checked = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_rd3_p4_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5038;BA.debugLine="rd2_p4_m2.Checked = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_rd2_p4_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5039;BA.debugLine="rd1_p4_m2.Checked = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_rd1_p4_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5040;BA.debugLine="RB1_P3_M2.Checked = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_rb1_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5041;BA.debugLine="RB2_P3_M2.Checked = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_rb2_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5042;BA.debugLine="RB3_P3_M2.Checked = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_rb3_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5043;BA.debugLine="RB4_P3_M2.Checked = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_rb4_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5045;BA.debugLine="CB1_P3_M2.Checked = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5046;BA.debugLine="CB2_P3_M2.Checked = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5047;BA.debugLine="CB3_P3_M2.Checked = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5048;BA.debugLine="CB4_P3_M2.Checked = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5049;BA.debugLine="CB5_P3_M2.Checked = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5050;BA.debugLine="CB6_P3_M2.Checked = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cb6_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5052;BA.debugLine="ET_P3_M2.Text = \"\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5053;BA.debugLine="P3_M2 = \"\""; +Debug.ShouldStop(268435456); +__ref.setField ("_p3_m2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5054;BA.debugLine="P4_M2 = \"\""; +Debug.ShouldStop(536870912); +__ref.setField ("_p4_m2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5055;BA.debugLine="P6_M2 = \"\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_p6_m2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5057;BA.debugLine="Panel7_M2.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5062;BA.debugLine="If ENCUESTA > 2 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_encuesta" /*RemoteObject*/ )),BA.numberCast(double.class, 2))) { + BA.debugLineNum = 5063;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 5064;BA.debugLine="p_m2.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }; + BA.debugLineNum = 5068;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5069;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5070;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5071;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ENCUESSTA_M3")),__ref.getField(false, "ba")); + BA.debugLineNum = 5072;BA.debugLine="p_m3.Width = Root.Width * 0.94"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 5073;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 60"; +Debug.ShouldStop(65536); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(60)}, "+",1, 1)); + BA.debugLineNum = 5075;BA.debugLine="If Subs.traeAlmacen = 1 Or Subs.traeAlmacen"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(1)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(2)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(4)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(5)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(35)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(36)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(45)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(46)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(47)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(54)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(64)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(65)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(71)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(3)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(25)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(27)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(38))) { + BA.debugLineNum = 5076;BA.debugLine="CB1_P6_M3.Text = \"GARIS\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("GARIS")); + BA.debugLineNum = 5077;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5078;BA.debugLine="CB3_P6_M3.Text = \"ZORRO\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZORRO")); + BA.debugLineNum = 5079;BA.debugLine="CB4_P6_M3.Text = \"ESCORPION\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ESCORPION")); + BA.debugLineNum = 5080;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("RABBIT")); + BA.debugLineNum = 5081;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAMS")); + }else +{ BA.debugLineNum = 5083;BA.debugLine="else If Subs.traeAlmacen = 12 Then '"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(12))) { + BA.debugLineNum = 5084;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DECASA")); + BA.debugLineNum = 5085;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZETA")); + BA.debugLineNum = 5086;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5087;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DUERO")); + BA.debugLineNum = 5088;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("HUGOSS")); + BA.debugLineNum = 5089;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZORRO")); + }else +{ BA.debugLineNum = 5090;BA.debugLine="else If Subs.traeAlmacen = 13 Then '"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(13))) { + BA.debugLineNum = 5091;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DECASA")); + BA.debugLineNum = 5092;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +Debug.ShouldStop(8); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZETA")); + BA.debugLineNum = 5093;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(16); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5094;BA.debugLine="CB4_P6_M3.Text = \"SCORPION\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SCORPION")); + BA.debugLineNum = 5095;BA.debugLine="CB5_P6_M3.Text = \"ZORRO\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZORRO")); + BA.debugLineNum = 5096;BA.debugLine="CB6_P6_M3.Text = \"GARIS\""; +Debug.ShouldStop(128); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("GARIS")); + }else +{ BA.debugLineNum = 5097;BA.debugLine="else If Subs.traeAlmacen = 14 Or Subs.traeA"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(14)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(69)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(37))) { + BA.debugLineNum = 5098;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DECASA")); + BA.debugLineNum = 5099;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZETA")); + BA.debugLineNum = 5100;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5101;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DUERO")); + BA.debugLineNum = 5102;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); + BA.debugLineNum = 5103;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZORRO")); + }else +{ BA.debugLineNum = 5104;BA.debugLine="else If Subs.traeAlmacen = 16 Or Subs.traeAl"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(16)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(70))) { + BA.debugLineNum = 5105;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DECASA")); + BA.debugLineNum = 5106;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZETA")); + BA.debugLineNum = 5107;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5108;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DUERO")); + BA.debugLineNum = 5109;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); + BA.debugLineNum = 5110;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAMS")); + }else +{ BA.debugLineNum = 5111;BA.debugLine="else If Subs.traeAlmacen = 17 Then '"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(17))) { + BA.debugLineNum = 5112;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DECASA")); + BA.debugLineNum = 5113;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5114;BA.debugLine="CB3_P6_M3.Text = \"\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5115;BA.debugLine="CB4_P6_M3.Text = \"\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5116;BA.debugLine="CB5_P6_M3.Text = \"\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5117;BA.debugLine="CB6_P6_M3.Text = \"\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + }else +{ BA.debugLineNum = 5118;BA.debugLine="else If Subs.traeAlmacen = 29 Or Subs.traeAl"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(29)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(31))) { + BA.debugLineNum = 5119;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DECASA")); + BA.debugLineNum = 5120;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZETA")); + BA.debugLineNum = 5121;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5122;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DUERO")); + BA.debugLineNum = 5123;BA.debugLine="CB5_P6_M3.Text = \"SAMS\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAMS")); + BA.debugLineNum = 5124;BA.debugLine="CB6_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; +Debug.ShouldStop(8); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); + }else +{ BA.debugLineNum = 5125;BA.debugLine="else If Subs.traeAlmacen = 32 Or Subs.traeAl"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(32)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(33))) { + BA.debugLineNum = 5126;BA.debugLine="CB1_P6_M3.Text = \"MAS BODEGA\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("MAS BODEGA")); + BA.debugLineNum = 5127;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5128;BA.debugLine="CB3_P6_M3.Text = \"TREVIÑO\""; +Debug.ShouldStop(128); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("TREVIÑO")); + BA.debugLineNum = 5129;BA.debugLine="CB4_P6_M3.Text = \"HUGOSS\""; +Debug.ShouldStop(256); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("HUGOSS")); + BA.debugLineNum = 5130;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("RABBIT")); + BA.debugLineNum = 5131;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAMS")); + }else +{ BA.debugLineNum = 5132;BA.debugLine="else If Subs.traeAlmacen = 66 Or Subs.traeAl"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(66)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(67))) { + BA.debugLineNum = 5133;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DECASA")); + BA.debugLineNum = 5134;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZETA")); + BA.debugLineNum = 5135;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5136;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DUERO")); + BA.debugLineNum = 5137;BA.debugLine="CB5_P6_M3.Text = \"SCORPION\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SCORPION")); + BA.debugLineNum = 5138;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAMS")); + }else +{ BA.debugLineNum = 5140;BA.debugLine="else If Subs.traeAlmacen = 22 Or Subs.traeAl"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(22)) || RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(34))) { + BA.debugLineNum = 5141;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("DECASA")); + BA.debugLineNum = 5142;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ZETA")); + BA.debugLineNum = 5143;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SAHUAYO")); + BA.debugLineNum = 5144;BA.debugLine="CB4_P6_M3.Text = \"MERZA/DUERO\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("MERZA/DUERO")); + BA.debugLineNum = 5145;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("HUGOSS")); + }}}}}}}}}} +; + }else { + BA.debugLineNum = 5148;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5149;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5150;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5152;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(-2147483648); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 5153;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Encuesta guardada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 5156;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 5158;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guardaencuesta_m3_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_guardaencuesta_m3_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5170); +if (RapidSub.canDelegate("b_guardaencuesta_m3_click")) { return __ref.runUserSub(false, "c_cliente","b_guardaencuesta_m3_click", __ref);} +RemoteObject _p3_m3 = RemoteObject.createImmutable(""); +RemoteObject _p4_m3 = RemoteObject.createImmutable(""); +RemoteObject _p5_m3 = RemoteObject.createImmutable(""); +RemoteObject _p6_m3 = RemoteObject.createImmutable(""); +RemoteObject _p7_m3 = RemoteObject.createImmutable(""); +RemoteObject _p8_m3 = RemoteObject.createImmutable(""); +RemoteObject _p9_m3 = RemoteObject.createImmutable(""); +RemoteObject _items2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _items3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); + BA.debugLineNum = 5170;BA.debugLine="Private Sub B_guardaencuesta_m3_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 5172;BA.debugLine="PASA = \"1\""; +Debug.ShouldStop(524288); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 5178;BA.debugLine="Private P3_M3 As String = \"\""; +Debug.ShouldStop(33554432); +_p3_m3 = BA.ObjectToString("");Debug.locals.put("P3_M3", _p3_m3);Debug.locals.put("P3_M3", _p3_m3); + BA.debugLineNum = 5179;BA.debugLine="Private P4_M3 As String = \"\""; +Debug.ShouldStop(67108864); +_p4_m3 = BA.ObjectToString("");Debug.locals.put("P4_M3", _p4_m3);Debug.locals.put("P4_M3", _p4_m3); + BA.debugLineNum = 5180;BA.debugLine="Private P5_M3 As String = \"\""; +Debug.ShouldStop(134217728); +_p5_m3 = BA.ObjectToString("");Debug.locals.put("P5_M3", _p5_m3);Debug.locals.put("P5_M3", _p5_m3); + BA.debugLineNum = 5181;BA.debugLine="Private P6_M3 As String = \"\""; +Debug.ShouldStop(268435456); +_p6_m3 = BA.ObjectToString("");Debug.locals.put("P6_M3", _p6_m3);Debug.locals.put("P6_M3", _p6_m3); + BA.debugLineNum = 5182;BA.debugLine="Private P7_M3 As String = \"\""; +Debug.ShouldStop(536870912); +_p7_m3 = BA.ObjectToString("");Debug.locals.put("P7_M3", _p7_m3);Debug.locals.put("P7_M3", _p7_m3); + BA.debugLineNum = 5183;BA.debugLine="Private P8_M3 As String = \"\""; +Debug.ShouldStop(1073741824); +_p8_m3 = BA.ObjectToString("");Debug.locals.put("P8_M3", _p8_m3);Debug.locals.put("P8_M3", _p8_m3); + BA.debugLineNum = 5184;BA.debugLine="Private P9_M3 As String = \"\""; +Debug.ShouldStop(-2147483648); +_p9_m3 = BA.ObjectToString("");Debug.locals.put("P9_M3", _p9_m3);Debug.locals.put("P9_M3", _p9_m3); + BA.debugLineNum = 5190;BA.debugLine="If rd1_p5_m3.Checked Then P5_M3 = \"SI\""; +Debug.ShouldStop(32); +if (__ref.getField(false,"_rd1_p5_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p5_m3 = BA.ObjectToString("SI");Debug.locals.put("P5_M3", _p5_m3);}; + BA.debugLineNum = 5191;BA.debugLine="If rd2_p5_m3.Checked Then P5_M3 = \"NO\""; +Debug.ShouldStop(64); +if (__ref.getField(false,"_rd2_p5_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p5_m3 = BA.ObjectToString("NO");Debug.locals.put("P5_M3", _p5_m3);}; + BA.debugLineNum = 5193;BA.debugLine="If RB1_P9_M3.Checked Then P9_M3 = \"DIARIO\""; +Debug.ShouldStop(256); +if (__ref.getField(false,"_rb1_p9_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p9_m3 = BA.ObjectToString("DIARIO");Debug.locals.put("P9_M3", _p9_m3);}; + BA.debugLineNum = 5194;BA.debugLine="If RB2_P9_M3.Checked Then P9_M3 = \"BISEMANAL\""; +Debug.ShouldStop(512); +if (__ref.getField(false,"_rb2_p9_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p9_m3 = BA.ObjectToString("BISEMANAL");Debug.locals.put("P9_M3", _p9_m3);}; + BA.debugLineNum = 5195;BA.debugLine="If RB3_P9_M3.Checked Then P9_M3 = \"SEMANAL\""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_rb3_p9_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p9_m3 = BA.ObjectToString("SEMANAL");Debug.locals.put("P9_M3", _p9_m3);}; + BA.debugLineNum = 5196;BA.debugLine="If RB4_P9_M3.Checked Then P9_M3 = \"QUINCENAL\""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_rb4_p9_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p9_m3 = BA.ObjectToString("QUINCENAL");Debug.locals.put("P9_M3", _p9_m3);}; + BA.debugLineNum = 5197;BA.debugLine="If RB5_P9_M3.Checked Then P9_M3 = \"MENSUAL\""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_rb5_p9_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p9_m3 = BA.ObjectToString("MENSUAL");Debug.locals.put("P9_M3", _p9_m3);}; + BA.debugLineNum = 5198;BA.debugLine="If P9_M3 = \"\" Then PASA = \"0\""; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_p9_m3,BA.ObjectToString(""))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 5199;BA.debugLine="If P5_M3 = \"\" Then PASA = \"0\""; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_p5_m3,BA.ObjectToString(""))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 5202;BA.debugLine="If CB1_P3_M3.Checked = False And CB2_P3_M3.Check"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 5204;BA.debugLine="If CB1_P4_M3.Checked = False And CB2_P4_M3.Che"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 5209;BA.debugLine="If CB1_P7_M3.Checked = False And CB2_P7_M3.Chec"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 5212;BA.debugLine="If CB1_P8_M3.Checked = False And CB2_P8_M3.Check"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cb1_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb2_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb3_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_cb4_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"False"))) { +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 5213;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_rb1_m3_p1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p3_m3 = BA.ObjectToString("7 A 9");Debug.locals.put("P3_M3", _p3_m3);}; + BA.debugLineNum = 5214;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\""; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_rb2_m3_p1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p3_m3 = BA.ObjectToString("9 A 11");Debug.locals.put("P3_M3", _p3_m3);}; + BA.debugLineNum = 5215;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\""; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_rb3_m3_p1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p3_m3 = BA.ObjectToString("11 A 13");Debug.locals.put("P3_M3", _p3_m3);}; + BA.debugLineNum = 5216;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\""; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_rb4_m3_p1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p3_m3 = BA.ObjectToString("13 +");Debug.locals.put("P3_M3", _p3_m3);}; + BA.debugLineNum = 5218;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\""; +Debug.ShouldStop(2); +if (__ref.getField(false,"_rb1_m3_p2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p4_m3 = BA.ObjectToString("2 A 4");Debug.locals.put("P4_M3", _p4_m3);}; + BA.debugLineNum = 5219;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\""; +Debug.ShouldStop(4); +if (__ref.getField(false,"_rb2_m3_p2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p4_m3 = BA.ObjectToString("4 A 6");Debug.locals.put("P4_M3", _p4_m3);}; + BA.debugLineNum = 5220;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\""; +Debug.ShouldStop(8); +if (__ref.getField(false,"_rb3_m3_p2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p4_m3 = BA.ObjectToString("6 A 8");Debug.locals.put("P4_M3", _p4_m3);}; + BA.debugLineNum = 5221;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\""; +Debug.ShouldStop(16); +if (__ref.getField(false,"_rb4_m3_p2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p4_m3 = BA.ObjectToString("8 +");Debug.locals.put("P4_M3", _p4_m3);}; + BA.debugLineNum = 5223;BA.debugLine="If CB5_P4_M3.Checked = True And ( CB2_P4_M3.Chec"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True")) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("=",__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True")))))) { + BA.debugLineNum = 5224;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(128); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 5225;BA.debugLine="CB5_P4_M3.Checked = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5226;BA.debugLine="CB2_P4_M3.Checked = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5227;BA.debugLine="CB3_P4_M3.Checked = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5228;BA.debugLine="CB4_P4_M3.Checked = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5229;BA.debugLine="CB1_P4_M3.Checked = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + }; + BA.debugLineNum = 5233;BA.debugLine="If PASA = \"1\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_pasa" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 5234;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\""; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_rb1_m3_p1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p3_m3 = BA.ObjectToString("7 A 9");Debug.locals.put("P3_M3", _p3_m3);}; + BA.debugLineNum = 5235;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\""; +Debug.ShouldStop(262144); +if (__ref.getField(false,"_rb2_m3_p1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p3_m3 = BA.ObjectToString("9 A 11");Debug.locals.put("P3_M3", _p3_m3);}; + BA.debugLineNum = 5236;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\""; +Debug.ShouldStop(524288); +if (__ref.getField(false,"_rb3_m3_p1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p3_m3 = BA.ObjectToString("11 A 13");Debug.locals.put("P3_M3", _p3_m3);}; + BA.debugLineNum = 5237;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\""; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_rb4_m3_p1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p3_m3 = BA.ObjectToString("13 +");Debug.locals.put("P3_M3", _p3_m3);}; + BA.debugLineNum = 5239;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\""; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_rb1_m3_p2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p4_m3 = BA.ObjectToString("2 A 4");Debug.locals.put("P4_M3", _p4_m3);}; + BA.debugLineNum = 5240;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\""; +Debug.ShouldStop(8388608); +if (__ref.getField(false,"_rb2_m3_p2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p4_m3 = BA.ObjectToString("4 A 6");Debug.locals.put("P4_M3", _p4_m3);}; + BA.debugLineNum = 5241;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\""; +Debug.ShouldStop(16777216); +if (__ref.getField(false,"_rb3_m3_p2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p4_m3 = BA.ObjectToString("6 A 8");Debug.locals.put("P4_M3", _p4_m3);}; + BA.debugLineNum = 5242;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\""; +Debug.ShouldStop(33554432); +if (__ref.getField(false,"_rb4_m3_p2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_p4_m3 = BA.ObjectToString("8 +");Debug.locals.put("P4_M3", _p4_m3);}; + BA.debugLineNum = 5244;BA.debugLine="If ET_P6_M3.Text <> \"\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 5245;BA.debugLine="textemp6 = textemp6 & \", \" & ET_P6_M3.Text"; +Debug.ShouldStop(268435456); +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_et_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText"))); + }; + BA.debugLineNum = 5248;BA.debugLine="If textemp4 <> \"\" And textemp4.SubString2(0,2) ="; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_textemp4" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_textemp4" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),BA.ObjectToString(", "))) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,__ref.getField(true,"_textemp4" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2))));}; + BA.debugLineNum = 5249;BA.debugLine="If textemp5 <> \"\" And textemp5.SubString2(0,2) ="; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_textemp5" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_textemp5" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),BA.ObjectToString(", "))) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,__ref.getField(true,"_textemp5" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2))));}; + BA.debugLineNum = 5250;BA.debugLine="If textemp6 <> \"\" And textemp6.SubString2(0,2) ="; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_textemp6" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_textemp6" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),BA.ObjectToString(", "))) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,__ref.getField(true,"_textemp6" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2))));}; + BA.debugLineNum = 5251;BA.debugLine="If textemp7 <> \"\" And textemp7.SubString2(0,2) ="; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_textemp7" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_textemp7" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),BA.ObjectToString(", "))) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,__ref.getField(true,"_textemp7" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2))));}; + BA.debugLineNum = 5252;BA.debugLine="If textemp8 <> \"\" And textemp8.SubString2(0,2) ="; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_textemp8" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_textemp8" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),BA.ObjectToString(", "))) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,__ref.getField(true,"_textemp8" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2))));}; + BA.debugLineNum = 5256;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO3"; +Debug.ShouldStop(128); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ENCUESTA_MODULO3 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6,P7,P8,P9,P10,P11) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),RemoteObject.createImmutable(("x")),RemoteObject.createImmutable(("x")),(_p3_m3),(_p4_m3),(__ref.getField(true,"_textemp4" /*RemoteObject*/ )),(__ref.getField(true,"_textemp5" /*RemoteObject*/ )),(_p5_m3),(__ref.getField(true,"_textemp6" /*RemoteObject*/ )),(__ref.getField(true,"_textemp7" /*RemoteObject*/ )),(__ref.getField(true,"_textemp8" /*RemoteObject*/ )),(_p9_m3)}))))); + BA.debugLineNum = 5257;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5258;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5261;BA.debugLine="If ENCUESTA > 3 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_encuesta" /*RemoteObject*/ )),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 5262;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 5263;BA.debugLine="p_m3.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }; + BA.debugLineNum = 5267;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5268;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5269;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5270;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5271;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ENCUESTA_M4")),__ref.getField(false, "ba")); + BA.debugLineNum = 5272;BA.debugLine="p_m4.Width = Root.Width * 0.94"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 5273;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 60"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(60)}, "+",1, 1)); + BA.debugLineNum = 5275;BA.debugLine="Dim Items2 As List"; +Debug.ShouldStop(67108864); +_items2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items2", _items2); + BA.debugLineNum = 5276;BA.debugLine="Items2.Initialize"; +Debug.ShouldStop(134217728); +_items2.runVoidMethod ("Initialize"); + BA.debugLineNum = 5277;BA.debugLine="Items2.Add(\"Selecciona una opcion\")"; +Debug.ShouldStop(268435456); +_items2.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Selecciona una opcion")))); + BA.debugLineNum = 5278;BA.debugLine="Items2.Add(\"Propio\")"; +Debug.ShouldStop(536870912); +_items2.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Propio")))); + BA.debugLineNum = 5279;BA.debugLine="Items2.Add(\"Rentado\")"; +Debug.ShouldStop(1073741824); +_items2.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Rentado")))); + BA.debugLineNum = 5280;BA.debugLine="cb_p3_m4.SetItems(Items2)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cb_p3_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items2)); + BA.debugLineNum = 5281;BA.debugLine="itemselect2 = \"Selecciona una opcion\""; +Debug.ShouldStop(1); +__ref.setField ("_itemselect2" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5284;BA.debugLine="Dim Items3 As List"; +Debug.ShouldStop(8); +_items3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items3", _items3); + BA.debugLineNum = 5285;BA.debugLine="Items3.Initialize"; +Debug.ShouldStop(16); +_items3.runVoidMethod ("Initialize"); + BA.debugLineNum = 5286;BA.debugLine="Items3.Add(\"Selecciona una opcion\")"; +Debug.ShouldStop(32); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Selecciona una opcion")))); + BA.debugLineNum = 5287;BA.debugLine="Items3.Add(\"Completamente Surtido\")"; +Debug.ShouldStop(64); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Completamente Surtido")))); + BA.debugLineNum = 5288;BA.debugLine="Items3.Add(\"Bien Surtido\")"; +Debug.ShouldStop(128); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Bien Surtido")))); + BA.debugLineNum = 5289;BA.debugLine="Items3.Add(\"Poco Surtido\")"; +Debug.ShouldStop(256); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Poco Surtido")))); + BA.debugLineNum = 5290;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")"; +Debug.ShouldStop(512); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Muy Poco Surtido")))); + BA.debugLineNum = 5291;BA.debugLine="Items3.Add(\"Sin Existencias\")"; +Debug.ShouldStop(1024); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Sin Existencias")))); + BA.debugLineNum = 5292;BA.debugLine="cb_p4_1_m4.SetItems(Items3)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cb_p4_1_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 5293;BA.debugLine="itemselect3 = \"Selecciona una opcion\""; +Debug.ShouldStop(4096); +__ref.setField ("_itemselect3" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5294;BA.debugLine="cb_p4_2_m4.SetItems(Items3)"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cb_p4_2_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 5295;BA.debugLine="itemselect4 = \"Selecciona una opcion\""; +Debug.ShouldStop(16384); +__ref.setField ("_itemselect4" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5296;BA.debugLine="cb_p4_3_m4.SetItems(Items3)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cb_p4_3_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 5297;BA.debugLine="itemselect5 = \"Selecciona una opcion\""; +Debug.ShouldStop(65536); +__ref.setField ("_itemselect5" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5298;BA.debugLine="cb_p4_4_m4.SetItems(Items3)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cb_p4_4_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 5299;BA.debugLine="itemselect6 = \"Selecciona una opcion\""; +Debug.ShouldStop(262144); +__ref.setField ("_itemselect6" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5300;BA.debugLine="cb_p4_5_m4.SetItems(Items3)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cb_p4_5_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 5301;BA.debugLine="itemselect7 = \"Selecciona una opcion\""; +Debug.ShouldStop(1048576); +__ref.setField ("_itemselect7" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + }else { + BA.debugLineNum = 5303;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5304;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5305;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5307;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(67108864); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 5308;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Encuesta guardada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 5311;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; +Debug.ShouldStop(1073741824); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 5313;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guardaencuesta_m4_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_guardaencuesta_m4_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5315); +if (RapidSub.canDelegate("b_guardaencuesta_m4_click")) { return __ref.runUserSub(false, "c_cliente","b_guardaencuesta_m4_click", __ref);} +RemoteObject _items8 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); + BA.debugLineNum = 5315;BA.debugLine="Private Sub B_guardaencuesta_m4_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 5317;BA.debugLine="PASA = \"1\""; +Debug.ShouldStop(16); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 5319;BA.debugLine="If itemselect2 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect2" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5320;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(128); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5322;BA.debugLine="If itemselect3 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect3" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5323;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(1024); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5325;BA.debugLine="If itemselect4 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect4" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5326;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(8192); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5328;BA.debugLine="If itemselect5 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect5" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5329;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(65536); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5331;BA.debugLine="If itemselect6 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect6" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5332;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(524288); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5334;BA.debugLine="If itemselect7 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect7" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5335;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(4194304); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5337;BA.debugLine="If et_p1_m4.Text.Length < 2 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_et_p1_m4" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 2))) { + BA.debugLineNum = 5339;BA.debugLine="et_p1_m4.Text = \"\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_et_p1_m4" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5340;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(134217728); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5342;BA.debugLine="If PASA = \"1\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_pasa" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 5343;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO4"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ENCUESTA_MODULO4 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_et_p1_m4" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_p2_m4" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_itemselect2" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect3" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect4" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect5" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect6" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect7" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 5344;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5345;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5347;BA.debugLine="If ENCUESTA > 4 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_encuesta" /*RemoteObject*/ )),BA.numberCast(double.class, 4))) { + BA.debugLineNum = 5348;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 5349;BA.debugLine="p_m4.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }; + BA.debugLineNum = 5353;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5354;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5355;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5356;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ENCUESTA_M5")),__ref.getField(false, "ba")); + BA.debugLineNum = 5357;BA.debugLine="p_modulo5.Width = Root.Width * 0.94"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_modulo5" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 5358;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Height + 6"; +Debug.ShouldStop(8192); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_modulo5" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(60)}, "+",1, 1)); + BA.debugLineNum = 5360;BA.debugLine="Dim Items8 As List"; +Debug.ShouldStop(32768); +_items8 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items8", _items8); + BA.debugLineNum = 5361;BA.debugLine="Items8.Initialize"; +Debug.ShouldStop(65536); +_items8.runVoidMethod ("Initialize"); + BA.debugLineNum = 5362;BA.debugLine="Items8.Add(\"Selecciona una opcion\")"; +Debug.ShouldStop(131072); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Selecciona una opcion")))); + BA.debugLineNum = 5363;BA.debugLine="Items8.Add(\"Completamente Surtido\")"; +Debug.ShouldStop(262144); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Completamente Surtido")))); + BA.debugLineNum = 5364;BA.debugLine="Items8.Add(\"Bien Surtido\")"; +Debug.ShouldStop(524288); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Bien Surtido")))); + BA.debugLineNum = 5365;BA.debugLine="Items8.Add(\"Poco Surtido\")"; +Debug.ShouldStop(1048576); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Poco Surtido")))); + BA.debugLineNum = 5366;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")"; +Debug.ShouldStop(2097152); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Muy Poco Surtido")))); + BA.debugLineNum = 5367;BA.debugLine="Items8.Add(\"Sin Existencias\")"; +Debug.ShouldStop(4194304); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Sin Existencias")))); + BA.debugLineNum = 5368;BA.debugLine="cb_p1_m5.SetItems(Items8)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb_p1_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5369;BA.debugLine="itemselect8 = \"Selecciona una opcion\""; +Debug.ShouldStop(16777216); +__ref.setField ("_itemselect8" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5370;BA.debugLine="cb_p2_m5.SetItems(Items8)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cb_p2_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5371;BA.debugLine="itemselect9 = \"Selecciona una opcion\""; +Debug.ShouldStop(67108864); +__ref.setField ("_itemselect9" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5372;BA.debugLine="cb_p3_m5.SetItems(Items8)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cb_p3_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5373;BA.debugLine="itemselect10 = \"Selecciona una opcion\""; +Debug.ShouldStop(268435456); +__ref.setField ("_itemselect10" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5374;BA.debugLine="cb_p4_m5.SetItems(Items8)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cb_p4_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5375;BA.debugLine="itemselect11 = \"Selecciona una opcion\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_itemselect11" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5376;BA.debugLine="cb_p5_m5.SetItems(Items8)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cb_p5_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5377;BA.debugLine="itemselect12 = \"Selecciona una opcion\""; +Debug.ShouldStop(1); +__ref.setField ("_itemselect12" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5378;BA.debugLine="cb_p6_m5.SetItems(Items8)"; +Debug.ShouldStop(2); +__ref.getField(false,"_cb_p6_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5379;BA.debugLine="itemselect13 = \"Selecciona una opcion\""; +Debug.ShouldStop(4); +__ref.setField ("_itemselect13" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5380;BA.debugLine="cb_p7_m5.SetItems(Items8)"; +Debug.ShouldStop(8); +__ref.getField(false,"_cb_p7_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5381;BA.debugLine="itemselect14 = \"Selecciona una opcion\""; +Debug.ShouldStop(16); +__ref.setField ("_itemselect14" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5382;BA.debugLine="cb_p8_m5.SetItems(Items8)"; +Debug.ShouldStop(32); +__ref.getField(false,"_cb_p8_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5383;BA.debugLine="itemselect15 = \"Selecciona una opcion\""; +Debug.ShouldStop(64); +__ref.setField ("_itemselect15" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5384;BA.debugLine="cb_p9_m5.SetItems(Items8)"; +Debug.ShouldStop(128); +__ref.getField(false,"_cb_p9_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 5385;BA.debugLine="itemselect16 = \"Selecciona una opcion\""; +Debug.ShouldStop(256); +__ref.setField ("_itemselect16" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 5386;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Encuesta guardada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 5388;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; +Debug.ShouldStop(2048); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )); + BA.debugLineNum = 5390;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5391;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5392;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5393;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(65536); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + }; + }else { + BA.debugLineNum = 5396;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 5399;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guardaencuesta_m5_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_guardaencuesta_m5_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5401); +if (RapidSub.canDelegate("b_guardaencuesta_m5_click")) { return __ref.runUserSub(false, "c_cliente","b_guardaencuesta_m5_click", __ref);} + BA.debugLineNum = 5401;BA.debugLine="Private Sub B_guardaencuesta_m5_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 5403;BA.debugLine="PASA = \"1\""; +Debug.ShouldStop(67108864); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 5405;BA.debugLine="If itemselect8 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect8" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5406;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(536870912); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5408;BA.debugLine="If itemselect9 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect9" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5409;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(1); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5411;BA.debugLine="If itemselect10 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect10" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5412;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(8); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5414;BA.debugLine="If itemselect11 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect11" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5415;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(64); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5417;BA.debugLine="If itemselect12 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect12" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5418;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(512); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5420;BA.debugLine="If itemselect13 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect13" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5421;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(4096); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5423;BA.debugLine="If itemselect14 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect14" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5424;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(32768); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5426;BA.debugLine="If itemselect15 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect15" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5427;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(262144); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5429;BA.debugLine="If itemselect16 = \"Selecciona una opcion\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect16" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 5430;BA.debugLine="PASA = \"0\""; +Debug.ShouldStop(2097152); +__ref.setField ("_pasa" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 5433;BA.debugLine="If PASA = \"1\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_pasa" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 5434;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO5"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ENCUESTA_MODULO5 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect8" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect9" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect10" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect11" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect12" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect13" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect14" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect15" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect16" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 5435;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5436;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5437;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; +Debug.ShouldStop(268435456); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )); + BA.debugLineNum = 5438;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(536870912); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 5439;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; +Debug.ShouldStop(1073741824); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Encuesta guardada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 5441;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 5443;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_imp_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_IMP_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3142); +if (RapidSub.canDelegate("b_imp_click")) { __ref.runUserSub(false, "c_cliente","b_imp_click", __ref); return;} +ResumableSub_B_IMP_Click rsub = new ResumableSub_B_IMP_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B_IMP_Click extends BA.ResumableSub { +public ResumableSub_B_IMP_Click(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _resultado = RemoteObject.createImmutable(0); +RemoteObject _creditocod = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B_IMP_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3142); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 3159;BA.debugLine="If ALMACEN = 87 Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 1: +//if +this.state = 44; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(87))) { +this.state = 3; +}else +{ BA.debugLineNum = 3165;BA.debugLine="Else If ALMACEN = 88 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(88))) { +this.state = 11; +}else +{ BA.debugLineNum = 3168;BA.debugLine="Else If ALMACEN = 81 Or ALMACEN = 102 Or ALMACEN"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(81)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(102)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(94))) { +this.state = 13; +}else { +this.state = 43; +}}} +if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 3160;BA.debugLine="If Subs.traemontoprod Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 4: +//if +this.state = 9; +if (parent._subs.runMethod(true,"_traemontoprod" /*RemoteObject*/ ,__ref.getField(false, "ba")).get().booleanValue()) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; + BA.debugLineNum = 3161;BA.debugLine="Impresion2"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion2" /*void*/ ); + if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 3163;BA.debugLine="Impresion"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion" /*void*/ ); + if (true) break; + +case 9: +//C +this.state = 44; +; + if (true) break; + +case 11: +//C +this.state = 44; + BA.debugLineNum = 3167;BA.debugLine="Impresion4"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion4" /*void*/ ); + if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 3170;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, IFNULL(CONFIRMADO,0) AS CONFIRMADO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 3171;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3173;BA.debugLine="If c.GetString(\"CAT_CL_BCREDITO\") = 0 Then"; +Debug.ShouldStop(16); +if (true) break; + +case 14: +//if +this.state = 41; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.NumberToString(0))) { +this.state = 16; +}else +{ BA.debugLineNum = 3176;BA.debugLine="Else If c.GetString(\"CAT_CL_BCREDITO\") = 1 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.NumberToString(1))) { +this.state = 18; +}} +if (true) break; + +case 16: +//C +this.state = 41; + BA.debugLineNum = 3174;BA.debugLine="Impresion4"; +Debug.ShouldStop(32); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion4" /*void*/ ); + if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 3177;BA.debugLine="If c.GetString(\"CONFIRMADO\") = 0 Then"; +Debug.ShouldStop(256); +if (true) break; + +case 19: +//if +this.state = 40; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONFIRMADO"))),BA.NumberToString(0))) { +this.state = 21; +}else { +this.state = 39; +}if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 3179;BA.debugLine="Msgbox2Async(\"La entrega sera a credito o de c"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("La entrega sera a credito o de contado?")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("Credito")),(Object)(BA.ObjectToString("Contado")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 3180;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"), null); +this.state = 45; +return; +case 45: +//C +this.state = 22; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 3181;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 22: +//if +this.state = 37; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 24; +}else +{ BA.debugLineNum = 3212;BA.debugLine="Else If resultado = DialogResponse.CANCEL Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { +this.state = 36; +}} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 3182;BA.debugLine="Dim creditocod As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(8192); +_creditocod = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_creditocod = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("creditocod", _creditocod);Debug.locals.put("creditocod", _creditocod); + BA.debugLineNum = 3183;BA.debugLine="Log(creditocod.RowCount)"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","053739561",BA.NumberToString(_creditocod.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 3184;BA.debugLine="If creditocod.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 25: +//if +this.state = 34; +if (RemoteObject.solveBoolean(">",_creditocod.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 27; +}else { +this.state = 33; +}if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 3185;BA.debugLine="creditocod.Position = 0"; +Debug.ShouldStop(65536); +_creditocod.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3186;BA.debugLine="Dim cs As CSBuilder"; +Debug.ShouldStop(131072); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 3187;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(262144); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 3190;BA.debugLine="cs.Size(16).Append(\"Proporciona el siguiente"; +Debug.ShouldStop(2097152); +_cs.runMethod(false,"Size",(Object)(BA.numberCast(int.class, 16))).runVoidMethod ("Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Proporciona el siguiente codigo al cliente '")))); + BA.debugLineNum = 3193;BA.debugLine="cs.Bold.Append(creditocod.GetString(\"CODIGO\""; +Debug.ShouldStop(16777216); +_cs.runMethod(false,"Bold").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_creditocod.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CODIGO")))))).runVoidMethod ("Pop"); + BA.debugLineNum = 3196;BA.debugLine="cs.Append(\"' para su entrega\").PopAll"; +Debug.ShouldStop(134217728); +_cs.runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("' para su entrega")))).runVoidMethod ("PopAll"); + BA.debugLineNum = 3199;BA.debugLine="Msgbox2Async(cs, \"Atención\", \"Ok\", \"\", \"\", L"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence(_cs.getObject())),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("Ok")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 3200;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"), null); +this.state = 46; +return; +case 46: +//C +this.state = 28; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 3201;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(1); +if (true) break; + +case 28: +//if +this.state = 31; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; + BA.debugLineNum = 3202;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; +Debug.ShouldStop(2); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set CONFIRMADO = 1 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 3203;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_C"; +Debug.ShouldStop(4); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update CODIGOS_CREDITO set BANDERA = 1 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 3205;BA.debugLine="Impresion4"; +Debug.ShouldStop(16); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion4" /*void*/ ); + if (true) break; + +case 31: +//C +this.state = 34; +; + if (true) break; + +case 33: +//C +this.state = 34; + BA.debugLineNum = 3208;BA.debugLine="Impresion4"; +Debug.ShouldStop(128); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion4" /*void*/ ); + if (true) break; + +case 34: +//C +this.state = 37; +; + if (true) break; + +case 36: +//C +this.state = 37; + BA.debugLineNum = 3213;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; +Debug.ShouldStop(4096); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set CONFIRMADO = 1 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 3214;BA.debugLine="Impresion4"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion4" /*void*/ ); + if (true) break; + +case 37: +//C +this.state = 40; +; + if (true) break; + +case 39: +//C +this.state = 40; + BA.debugLineNum = 3217;BA.debugLine="Impresion4"; +Debug.ShouldStop(65536); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion4" /*void*/ ); + if (true) break; + +case 40: +//C +this.state = 41; +; + if (true) break; + +case 41: +//C +this.state = 44; +; + if (true) break; + +case 43: +//C +this.state = 44; + BA.debugLineNum = 3222;BA.debugLine="Impresion"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion" /*void*/ ); + if (true) break; + +case 44: +//C +this.state = -1; +; + BA.debugLineNum = 3225;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(16777216); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)"))); + BA.debugLineNum = 3226;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +Debug.ShouldStop(33554432); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into TICKET_IMPRESO (idCliente) values ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 3227;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _msgbox_result(RemoteObject __ref,RemoteObject _resultado) throws Exception{ +} +public static RemoteObject _b_inicio_fin_venta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_Inicio_Fin_venta_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6690); +if (RapidSub.canDelegate("b_inicio_fin_venta_click")) { return __ref.runUserSub(false, "c_cliente","b_inicio_fin_venta_click", __ref);} + BA.debugLineNum = 6690;BA.debugLine="Private Sub b_Inicio_Fin_venta_Click"; +Debug.ShouldStop(2); + BA.debugLineNum = 6725;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_like_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_like_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4692); +if (RapidSub.canDelegate("b_like_click")) { return __ref.runUserSub(false, "c_cliente","b_like_click", __ref);} + BA.debugLineNum = 4692;BA.debugLine="Sub b_like_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 4693;BA.debugLine="Panel1.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 4694;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4695;BA.debugLine="Tar.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4696;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4697;BA.debugLine="gest.Visible = False ' : ToastMessageShow(\"bbbb\","; +Debug.ShouldStop(16777216); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4698;BA.debugLine="b_venta.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_b_venta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4699;BA.debugLine="Guardar.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4700;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_mapa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_mapa_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3138); +if (RapidSub.canDelegate("b_mapa_click")) { return __ref.runUserSub(false, "c_cliente","b_mapa_click", __ref);} + BA.debugLineNum = 3138;BA.debugLine="Sub b_mapa_Click"; +Debug.ShouldStop(2); + BA.debugLineNum = 3139;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; +Debug.ShouldStop(4); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mapas"))); + BA.debugLineNum = 3140;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_okdeuda_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_okdeuda_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7884); +if (RapidSub.canDelegate("b_okdeuda_click")) { return __ref.runUserSub(false, "c_cliente","b_okdeuda_click", __ref);} + BA.debugLineNum = 7884;BA.debugLine="Private Sub b_okdeuda_Click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 7885;BA.debugLine="p_deuda.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_deuda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7886;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_preguntag_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_preguntag_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2408); +if (RapidSub.canDelegate("b_preguntag_click")) { return __ref.runUserSub(false, "c_cliente","b_preguntag_click", __ref);} +RemoteObject _items2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _items3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _items8 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); + BA.debugLineNum = 2408;BA.debugLine="Private Sub b_preguntag_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 2409;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt_"; +Debug.ShouldStop(256); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 SET CAT_CL_GIRO = ? WHERE CAT_CL_CODIGO = ? And CAT_CL_NOMBRE = ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_girotienda" /*RemoteObject*/ )),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 2410;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_AVI"; +Debug.ShouldStop(512); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_ENCUESTA_AVISO_GIRO(HEAV_CLIENTE , HEAV_MODULO , HEAV_AVISO ,HEAV_GIRO ) VALUES (?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(__ref.getField(true,"_encuesta" /*RemoteObject*/ )),RemoteObject.createImmutable(("ACEPTA")),(__ref.getField(true,"_girotienda" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 2411;BA.debugLine="If girotienda <> \"Selecciona una opcion\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_girotienda" /*RemoteObject*/ ),BA.ObjectToString("Selecciona una opcion"))) { + BA.debugLineNum = 2412;BA.debugLine="If girotienda = \"Tienda de Abarrotes (Abarrotes,"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_girotienda" /*RemoteObject*/ ),BA.ObjectToString("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)"))) { + BA.debugLineNum = 2413;BA.debugLine="Dim result As Int= -3"; +Debug.ShouldStop(4096); +c_cliente._result = BA.numberCast(int.class, -(double) (0 + 3));__ref.setField("_result",c_cliente._result); + BA.debugLineNum = 2414;BA.debugLine="Do While result=-3"; +Debug.ShouldStop(8192); +while (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.numberCast(double.class, -(double) (0 + 3)))) { + BA.debugLineNum = 2415;BA.debugLine="result = Msgbox2(\"Entiendo, acepto y consient"; +Debug.ShouldStop(16384); +__ref.setField ("_result" /*RemoteObject*/ ,c_cliente.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Entiendo, acepto y consiento que GUNA usará mis datos Personales y serán tratados acorde con lo establecido en la Ley Federal de Protección de Datos Personales en Posesión de los Particulares (en lo sucesivo la “Ley”), y su respectivo Reglamento; bajo lo manifestado en el Aviso de Privacidad – Texto Completo – que se encuentra en la página www.guna.com.mx")),(Object)(BA.ObjectToCharSequence("AVISO DE PRIVACIDAD")),(Object)(BA.ObjectToString("ACEPTO")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO ACEPTO")),(Object)((c_cliente.__c.runMethod(false,"LoadBitmap",(Object)(c_cliente.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba"))); + BA.debugLineNum = 2416;BA.debugLine="Select Case result"; +Debug.ShouldStop(32768); +switch (BA.switchObjectToInt(__ref.getField(true,"_result" /*RemoteObject*/ ),c_cliente.__c.getField(false,"DialogResponse").getField(true,"POSITIVE"),c_cliente.__c.getField(false,"DialogResponse").getField(true,"NEGATIVE"))) { +case 0: { + BA.debugLineNum = 2435;BA.debugLine="Log(que_modulo)"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","051642395",__ref.getField(true,"_que_modulo" /*RemoteObject*/ ),0); + BA.debugLineNum = 2436;BA.debugLine="If que_modulo = Null Or que_modulo = \" \" The"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("n",__ref.getField(true,"_que_modulo" /*RemoteObject*/ )) || RemoteObject.solveBoolean("=",__ref.getField(true,"_que_modulo" /*RemoteObject*/ ),BA.ObjectToString(" "))) { +__ref.setField ("_que_modulo" /*RemoteObject*/ ,BA.ObjectToString("1"));}; + BA.debugLineNum = 2438;BA.debugLine="If que_modulo < = ENCUESTA Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("k",BA.numberCast(double.class, __ref.getField(true,"_que_modulo" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_encuesta" /*RemoteObject*/ )))) { + BA.debugLineNum = 2439;BA.debugLine="If que_modulo = \"1\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_que_modulo" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 2442;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2443;BA.debugLine="p_m2.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 2444;BA.debugLine="Else If p_m3.IsInitialized And p_m3.Visibl"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2445;BA.debugLine="p_m3.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 2446;BA.debugLine="Else If p_m4.IsInitialized And p_m4.Visibl"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2447;BA.debugLine="p_m4.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 2448;BA.debugLine="Else If p_modulo5.IsInitialized And p_modu"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_modulo5" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_modulo5" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2449;BA.debugLine="p_modulo5.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_modulo5" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }}}} +; + BA.debugLineNum = 2453;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2454;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2455;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2456;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ENCUESTA")),__ref.getField(false, "ba")); + BA.debugLineNum = 2457;BA.debugLine="p_m1.Width = Root.Width * 0.94"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_m1" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 2458;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m1.Height + 6"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_m1" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(60)}, "+",1, 1)); + BA.debugLineNum = 2459;BA.debugLine="Panel7.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_panel7" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 2461;BA.debugLine="else if que_modulo = \"2\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_que_modulo" /*RemoteObject*/ ),BA.ObjectToString("2"))) { + BA.debugLineNum = 2463;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible The"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m1" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m1" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2464;BA.debugLine="p_m1.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_m1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }; + BA.debugLineNum = 2468;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2469;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2470;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2471;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2"; +Debug.ShouldStop(64); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ESNCUESTA_m2")),__ref.getField(false, "ba")); + BA.debugLineNum = 2472;BA.debugLine="p_m2.Width = Root.Width * 0.94"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 2473;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 6"; +Debug.ShouldStop(256); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(60)}, "+",1, 1)); + BA.debugLineNum = 2474;BA.debugLine="Panel7_M2.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 2475;BA.debugLine="else if que_modulo = \"3\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_que_modulo" /*RemoteObject*/ ),BA.ObjectToString("3"))) { + BA.debugLineNum = 2477;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2478;BA.debugLine="p_m2.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }; + BA.debugLineNum = 2482;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2483;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2484;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2485;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ENCUESSTA_M3")),__ref.getField(false, "ba")); + BA.debugLineNum = 2487;BA.debugLine="p_m3.Width = Root.Width * 0.94"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 2488;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 6"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(60)}, "+",1, 1)); + }else +{ BA.debugLineNum = 2489;BA.debugLine="else if que_modulo = \"4\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_que_modulo" /*RemoteObject*/ ),BA.ObjectToString("4"))) { + BA.debugLineNum = 2491;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible The"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2493;BA.debugLine="p_m3.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_m3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }; + BA.debugLineNum = 2496;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2497;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2498;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2499;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2500;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\""; +Debug.ShouldStop(8); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ENCUESTA_M4")),__ref.getField(false, "ba")); + BA.debugLineNum = 2501;BA.debugLine="p_m4.Width = Root.Width * 0.94"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 2502;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 6"; +Debug.ShouldStop(32); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(60)}, "+",1, 1)); + BA.debugLineNum = 2504;BA.debugLine="Dim Items2 As List"; +Debug.ShouldStop(128); +_items2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items2", _items2); + BA.debugLineNum = 2505;BA.debugLine="Items2.Initialize"; +Debug.ShouldStop(256); +_items2.runVoidMethod ("Initialize"); + BA.debugLineNum = 2506;BA.debugLine="Items2.Add(\"Selecciona una opcion\")"; +Debug.ShouldStop(512); +_items2.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Selecciona una opcion")))); + BA.debugLineNum = 2507;BA.debugLine="Items2.Add(\"Propio\")"; +Debug.ShouldStop(1024); +_items2.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Propio")))); + BA.debugLineNum = 2508;BA.debugLine="Items2.Add(\"Rentado\")"; +Debug.ShouldStop(2048); +_items2.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Rentado")))); + BA.debugLineNum = 2509;BA.debugLine="cb_p3_m4.SetItems(Items2)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cb_p3_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items2)); + BA.debugLineNum = 2510;BA.debugLine="itemselect2 = \"Selecciona una opcion\""; +Debug.ShouldStop(8192); +__ref.setField ("_itemselect2" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2512;BA.debugLine="Dim Items3 As List"; +Debug.ShouldStop(32768); +_items3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items3", _items3); + BA.debugLineNum = 2513;BA.debugLine="Items3.Initialize"; +Debug.ShouldStop(65536); +_items3.runVoidMethod ("Initialize"); + BA.debugLineNum = 2514;BA.debugLine="Items3.Add(\"Selecciona una opcion\")"; +Debug.ShouldStop(131072); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Selecciona una opcion")))); + BA.debugLineNum = 2515;BA.debugLine="Items3.Add(\"Completamente Surtido\")"; +Debug.ShouldStop(262144); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Completamente Surtido")))); + BA.debugLineNum = 2516;BA.debugLine="Items3.Add(\"Bien Surtido\")"; +Debug.ShouldStop(524288); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Bien Surtido")))); + BA.debugLineNum = 2517;BA.debugLine="Items3.Add(\"Poco Surtido\")"; +Debug.ShouldStop(1048576); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Poco Surtido")))); + BA.debugLineNum = 2518;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")"; +Debug.ShouldStop(2097152); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Muy Poco Surtido")))); + BA.debugLineNum = 2519;BA.debugLine="Items3.Add(\"Sin Existencias\")"; +Debug.ShouldStop(4194304); +_items3.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Sin Existencias")))); + BA.debugLineNum = 2520;BA.debugLine="cb_p4_1_m4.SetItems(Items3)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb_p4_1_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 2521;BA.debugLine="itemselect3 = \"Selecciona una opcion\""; +Debug.ShouldStop(16777216); +__ref.setField ("_itemselect3" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2522;BA.debugLine="cb_p4_2_m4.SetItems(Items3)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cb_p4_2_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 2523;BA.debugLine="itemselect4 = \"Selecciona una opcion\""; +Debug.ShouldStop(67108864); +__ref.setField ("_itemselect4" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2524;BA.debugLine="cb_p4_3_m4.SetItems(Items3)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cb_p4_3_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 2525;BA.debugLine="itemselect5 = \"Selecciona una opcion\""; +Debug.ShouldStop(268435456); +__ref.setField ("_itemselect5" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2526;BA.debugLine="cb_p4_4_m4.SetItems(Items3)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cb_p4_4_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 2527;BA.debugLine="itemselect6 = \"Selecciona una opcion\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_itemselect6" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2528;BA.debugLine="cb_p4_5_m4.SetItems(Items3)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cb_p4_5_m4" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items3)); + BA.debugLineNum = 2529;BA.debugLine="itemselect7 = \"Selecciona una opcion\""; +Debug.ShouldStop(1); +__ref.setField ("_itemselect7" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + }else +{ BA.debugLineNum = 2530;BA.debugLine="else if que_modulo = \"5\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_que_modulo" /*RemoteObject*/ ),BA.ObjectToString("5"))) { + BA.debugLineNum = 2532;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible The"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { + BA.debugLineNum = 2533;BA.debugLine="p_m4.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_m4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + }; + BA.debugLineNum = 2536;BA.debugLine="p_cliente.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2537;BA.debugLine="SV_ENCUESTA.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2538;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2539;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("ENCUESTA_M5")),__ref.getField(false, "ba")); + BA.debugLineNum = 2540;BA.debugLine="p_modulo5.Width = Root.Width * 0.94"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_modulo5" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.94)}, "*",0, 0))); + BA.debugLineNum = 2541;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Heigh"; +Debug.ShouldStop(4096); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_modulo5" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(30)}, "+",1, 1)); + BA.debugLineNum = 2542;BA.debugLine="Dim Items8 As List"; +Debug.ShouldStop(8192); +_items8 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items8", _items8); + BA.debugLineNum = 2543;BA.debugLine="Items8.Initialize"; +Debug.ShouldStop(16384); +_items8.runVoidMethod ("Initialize"); + BA.debugLineNum = 2544;BA.debugLine="Items8.Add(\"Selecciona una opcion\")"; +Debug.ShouldStop(32768); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Selecciona una opcion")))); + BA.debugLineNum = 2545;BA.debugLine="Items8.Add(\"Completamente Surtido\")"; +Debug.ShouldStop(65536); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Completamente Surtido")))); + BA.debugLineNum = 2546;BA.debugLine="Items8.Add(\"Bien Surtido\")"; +Debug.ShouldStop(131072); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Bien Surtido")))); + BA.debugLineNum = 2547;BA.debugLine="Items8.Add(\"Poco Surtido\")"; +Debug.ShouldStop(262144); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Poco Surtido")))); + BA.debugLineNum = 2548;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")"; +Debug.ShouldStop(524288); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Muy Poco Surtido")))); + BA.debugLineNum = 2549;BA.debugLine="Items8.Add(\"Sin Existencias\")"; +Debug.ShouldStop(1048576); +_items8.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Sin Existencias")))); + BA.debugLineNum = 2550;BA.debugLine="cb_p1_m5.SetItems(Items8)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cb_p1_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2551;BA.debugLine="itemselect8 = \"Selecciona una opcion\""; +Debug.ShouldStop(4194304); +__ref.setField ("_itemselect8" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2552;BA.debugLine="cb_p2_m5.SetItems(Items8)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb_p2_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2553;BA.debugLine="itemselect9 = \"Selecciona una opcion\""; +Debug.ShouldStop(16777216); +__ref.setField ("_itemselect9" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2554;BA.debugLine="cb_p3_m5.SetItems(Items8)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cb_p3_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2555;BA.debugLine="itemselect10 = \"Selecciona una opcion\""; +Debug.ShouldStop(67108864); +__ref.setField ("_itemselect10" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2556;BA.debugLine="cb_p4_m5.SetItems(Items8)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cb_p4_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2557;BA.debugLine="itemselect11 = \"Selecciona una opcion\""; +Debug.ShouldStop(268435456); +__ref.setField ("_itemselect11" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2558;BA.debugLine="cb_p5_m5.SetItems(Items8)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cb_p5_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2559;BA.debugLine="itemselect12 = \"Selecciona una opcion\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_itemselect12" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2560;BA.debugLine="cb_p6_m5.SetItems(Items8)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cb_p6_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2561;BA.debugLine="itemselect13 = \"Selecciona una opcion\""; +Debug.ShouldStop(1); +__ref.setField ("_itemselect13" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2562;BA.debugLine="cb_p7_m5.SetItems(Items8)"; +Debug.ShouldStop(2); +__ref.getField(false,"_cb_p7_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2563;BA.debugLine="itemselect14 = \"Selecciona una opcion\""; +Debug.ShouldStop(4); +__ref.setField ("_itemselect14" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2564;BA.debugLine="cb_p8_m5.SetItems(Items8)"; +Debug.ShouldStop(8); +__ref.getField(false,"_cb_p8_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2565;BA.debugLine="itemselect15 = \"Selecciona una opcion\""; +Debug.ShouldStop(16); +__ref.setField ("_itemselect15" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2566;BA.debugLine="cb_p9_m5.SetItems(Items8)"; +Debug.ShouldStop(32); +__ref.getField(false,"_cb_p9_m5" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items8)); + BA.debugLineNum = 2567;BA.debugLine="itemselect16 = \"Selecciona una opcion\""; +Debug.ShouldStop(64); +__ref.setField ("_itemselect16" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + }}}}} +; + }else { + BA.debugLineNum = 2570;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2571;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(1024); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + }; + break; } +case 1: { + BA.debugLineNum = 2575;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(16384); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + break; } +} +; + } +; + }else { + BA.debugLineNum = 2727;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2728;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(128); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + }; + }else { + BA.debugLineNum = 2731;BA.debugLine="Msgbox(\"Contesta la pregunta por favor\",\"AVISO\")"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Contesta la pregunta por favor")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 2733;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_preventa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_preventa_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6745); +if (RapidSub.canDelegate("b_preventa_click")) { return __ref.runUserSub(false, "c_cliente","b_preventa_click", __ref);} + BA.debugLineNum = 6745;BA.debugLine="Private Sub b_preventa_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 6747;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_preventa2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_preventa2_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7892); +if (RapidSub.canDelegate("b_preventa2_click")) { __ref.runUserSub(false, "c_cliente","b_preventa2_click", __ref); return;} +ResumableSub_b_preventa2_Click rsub = new ResumableSub_b_preventa2_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_preventa2_Click extends BA.ResumableSub { +public ResumableSub_b_preventa2_Click(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _pagarepen = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fechainicio = RemoteObject.createImmutable(""); +RemoteObject _ticksinicio = RemoteObject.createImmutable(0L); +RemoteObject _tickshoy = RemoteObject.createImmutable(0L); +RemoteObject _diferenciadias = RemoteObject.createImmutable(0); +RemoteObject _resultado = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_preventa2_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7892); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 7896;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTURA\""; +Debug.ShouldStop(8388608); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("PREVENTA_FUTURA")); + BA.debugLineNum = 7897;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; +Debug.ShouldStop(16777216); +_pagarepen = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pagarepen = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pagarepen", _pagarepen);Debug.locals.put("pagarepen", _pagarepen); + BA.debugLineNum = 7898;BA.debugLine="If pagarepen.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 1: +//if +this.state = 16; +if (RemoteObject.solveBoolean(">",_pagarepen.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 3; +}else { +this.state = 15; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 7899;BA.debugLine="pagarepen.Position = 0"; +Debug.ShouldStop(67108864); +_pagarepen.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7900;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +Debug.ShouldStop(134217728); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 7901;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; +Debug.ShouldStop(268435456); +_fechainicio = _pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA")));Debug.locals.put("FechaInicio", _fechainicio);Debug.locals.put("FechaInicio", _fechainicio); + BA.debugLineNum = 7903;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","064487435",_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA"))),0); + BA.debugLineNum = 7906;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; +Debug.ShouldStop(2); +_ticksinicio = parent.__c.getField(false,"DateTime").runMethod(true,"DateParse",(Object)(_fechainicio));Debug.locals.put("TicksInicio", _ticksinicio);Debug.locals.put("TicksInicio", _ticksinicio); + BA.debugLineNum = 7907;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; +Debug.ShouldStop(4); +_tickshoy = parent.__c.getField(false,"DateTime").runMethod(true,"DateParse",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))));Debug.locals.put("TicksHoy", _tickshoy);Debug.locals.put("TicksHoy", _tickshoy); + BA.debugLineNum = 7910;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; +Debug.ShouldStop(32); +_diferenciadias = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_tickshoy,_ticksinicio}, "-",1, 2)),parent.__c.getField(false,"DateTime").getField(true,"TicksPerDay")}, "/",0, 0));Debug.locals.put("DiferenciaDias", _diferenciadias);Debug.locals.put("DiferenciaDias", _diferenciadias); + BA.debugLineNum = 7913;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("LogImpl","064487445",(RemoteObject.concat(RemoteObject.createImmutable("Días transcurridos: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_diferenciadias))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 7915;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 7916;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7918;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT"; +Debug.ShouldStop(8192); +if (true) break; + +case 4: +//if +this.state = 13; +if (RemoteObject.solveBoolean("k",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { +this.state = 6; +}else +{ BA.debugLineNum = 7925;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASCR"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { +this.state = 12; +}} +if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 7920;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el día"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Favor de pagar su credito el día de mañana por un monto de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))),RemoteObject.createImmutable(""))))),(Object)(BA.ObjectToCharSequence("Recordatorio")),(Object)(BA.ObjectToString("Ok")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 7921;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_preventa2_click"), null); +this.state = 17; +return; +case 17: +//C +this.state = 7; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 7922;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 7: +//if +this.state = 10; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 7923;BA.debugLine="gestionar"; +Debug.ShouldStop(262144); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_gestionar" /*RemoteObject*/ ); + if (true) break; + +case 10: +//C +this.state = 13; +; + if (true) break; + +case 12: +//C +this.state = 13; + BA.debugLineNum = 7926;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por qu"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("No se puede realizar venta por que presenta "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {_diferenciadias,(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1))}, "-",1, 1))))),RemoteObject.createImmutable(" días de atraso en el credito, por un monto de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))),RemoteObject.createImmutable(""))))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 13: +//C +this.state = 16; +; + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 7929;BA.debugLine="gestionar"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_gestionar" /*RemoteObject*/ ); + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 7931;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b_preventa2_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_preventa2_LongClick (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3854); +if (RapidSub.canDelegate("b_preventa2_longclick")) { return __ref.runUserSub(false, "c_cliente","b_preventa2_longclick", __ref);} + BA.debugLineNum = 3854;BA.debugLine="Private Sub b_preventa2_LongClick"; +Debug.ShouldStop(8192); + BA.debugLineNum = 3856;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango"; +Debug.ShouldStop(32768); +c_cliente.__c.runVoidMethod ("LogImpl","054001666",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango4" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),0); + BA.debugLineNum = 3857;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","054001667",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),0); + BA.debugLineNum = 3858;BA.debugLine="Log(NumberFormat2( (Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","054001668",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango4" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),0); + BA.debugLineNum = 3859;BA.debugLine="Log(NumberFormat2( (((Subs.calculaTotalConPromoXR"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","054001669",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango4" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0)),RemoteObject.createImmutable(100)}, "*",0, 0)),BA.numberCast(double.class, c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango4" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))))}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),0); + BA.debugLineNum = 3862;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_venta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_venta_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4625); +if (RapidSub.canDelegate("b_venta_click")) { return __ref.runUserSub(false, "c_cliente","b_venta_click", __ref);} + BA.debugLineNum = 4625;BA.debugLine="Sub b_venta_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 4626;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(131072); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 4627;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(262144); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 4628;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(524288); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 4656;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,551); +if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "c_cliente","b4xpage_appear", __ref); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { +public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _resultc = RemoteObject.createImmutable(false); +RemoteObject _fotomostrar1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fotomostrar = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fotomostrarfinal = null; +RemoteObject _inputstream1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +RemoteObject _bitmap1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +RemoteObject _future = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _resultado = RemoteObject.createImmutable(0); +RemoteObject _j3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +RemoteObject _des = RemoteObject.createImmutable(0f); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rec = RemoteObject.createImmutable(0f); +RemoteObject _cantres = RemoteObject.createImmutable(0f); +RemoteObject _c5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _recalculo = RemoteObject.createImmutable(0f); +RemoteObject _recalculototal = RemoteObject.createImmutable(0f); +RemoteObject _c6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rec1 = RemoteObject.createImmutable(0f); +RemoteObject _cantres1 = RemoteObject.createImmutable(0f); +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _s5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _geo = RemoteObject.createImmutable(""); +RemoteObject _fac = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _factura = RemoteObject.createImmutable(""); +RemoteObject _pagarepen = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fechainicio = RemoteObject.createImmutable(""); +RemoteObject _ticksinicio = RemoteObject.createImmutable(0L); +RemoteObject _tickshoy = RemoteObject.createImmutable(0L); +RemoteObject _diferenciadias = RemoteObject.createImmutable(0); +RemoteObject _coloressaldo = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int step266; +int limit266; +int step307; +int limit307; +int step327; +int limit327; +int step374; +int limit374; +int step395; +int limit395; +int step418; +int limit418; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,551); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 552;BA.debugLine="Starter.enCliente = True"; +Debug.ShouldStop(128); +parent._starter._encliente /*RemoteObject*/ = parent.__c.getField(true,"True"); + BA.debugLineNum = 553;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 554;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 555;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 562;BA.debugLine="recalculoXcant"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_recalculoxcant" /*RemoteObject*/ ); + BA.debugLineNum = 564;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"im"; +Debug.ShouldStop(524288); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("images.png"))).getObject())); + BA.debugLineNum = 565;BA.debugLine="btnPlanLealtad.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_btnplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 566;BA.debugLine="bitacora.inicioFin"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_iniciofin" /*RemoteObject*/ ); + BA.debugLineNum = 568;BA.debugLine="que_modulo = 1"; +Debug.ShouldStop(8388608); +__ref.setField ("_que_modulo" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 569;BA.debugLine="dentroDeGeocerca = False"; +Debug.ShouldStop(16777216); +__ref.setField ("_dentrodegeocerca" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + BA.debugLineNum = 570;BA.debugLine="indicePregunta = 0"; +Debug.ShouldStop(33554432); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 571;BA.debugLine="l_credito.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 572;BA.debugLine="l_limite.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_limite" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 573;BA.debugLine="pnlPlanLealtad.Top = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 574;BA.debugLine="pnlPlanLealtad.Left = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 575;BA.debugLine="pnlPlanLealtad.Width = Root.Width"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 576;BA.debugLine="pnlPlanLealtad.Height = Root.Height"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 577;BA.debugLine="p_cliente.Width = Root.Width"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 578;BA.debugLine="p_cliente.Height = Root.Height"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 579;BA.debugLine="p_cliente_.Width = Root.Width"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_cliente_" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 580;BA.debugLine="Subs.centraPanel(p_atiende, Root.Width)"; +Debug.ShouldStop(8); +parent._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_atiende" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 581;BA.debugLine="Subs.centraPanel(p_telefono, Root.Width)"; +Debug.ShouldStop(16); +parent._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_telefono" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 584;BA.debugLine="If TOMAR_FOTO <> 0 Then Cuestionario"; +Debug.ShouldStop(128); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_tomar_foto" /*RemoteObject*/ ),BA.NumberToString(0))) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_cuestionario" /*void*/ ); +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 585;BA.debugLine="Starter.idCliente = Subs.traeCliente"; +Debug.ShouldStop(256); +parent._starter._idcliente /*RemoteObject*/ = parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 587;BA.debugLine="If Subs.traeCliente = \"0\" Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("0"))) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 12; + BA.debugLineNum = 588;BA.debugLine="tipo_venta = \"ABORDO\""; +Debug.ShouldStop(2048); +__ref.setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("ABORDO")); + BA.debugLineNum = 589;BA.debugLine="Log(1)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","050462758",BA.NumberToString(1),0); + BA.debugLineNum = 590;BA.debugLine="Log(\"ABORDO\")"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","050462759",RemoteObject.createImmutable("ABORDO"),0); + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 592;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD"; +Debug.ShouldStop(32768); +__ref.setField ("_tipo_venta" /*RemoteObject*/ ,parent._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 594;BA.debugLine="Log(Subs.traeTipoVentaDeBD)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("LogImpl","050462763",parent._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 596;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; +Debug.ShouldStop(524288); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )); + BA.debugLineNum = 597;BA.debugLine="Log($\"TIPO_VENTA: ${tipo_venta}\"$)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","050462766",(RemoteObject.concat(RemoteObject.createImmutable("TIPO_VENTA: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 598;BA.debugLine="encuentasmapa.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 599;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(4194304); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_CAMERA"))); + BA.debugLineNum = 600;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b4xpage_appear"), null); +this.state = 554; +return; +case 554: +//C +this.state = 13; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_resultc = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("resultC", _resultc); +; + BA.debugLineNum = 601;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(16777216); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE"))); + BA.debugLineNum = 602;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b4xpage_appear"), null); +this.state = 555; +return; +case 555: +//C +this.state = 13; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_resultc = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("resultC", _resultc); +; + BA.debugLineNum = 603;BA.debugLine="LA_GPS.TextColor = Colors.Red"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 604;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SIN UBICACION GPS")); + BA.debugLineNum = 605;BA.debugLine="cercavalor = 0"; +Debug.ShouldStop(268435456); +__ref.setField ("_cercavalor" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 606;BA.debugLine="l_version.Text = Application.VersionName"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.getField(false,"Application").runMethod(true,"getVersionName"))); + BA.debugLineNum = 607;BA.debugLine="b_preventa.left = (Root.Width / 2) - (b_preventa."; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b_preventa" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_b_preventa" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 622;BA.debugLine="If Subs.hayPedido Then 'Si hay pedido, deshabilit"; +Debug.ShouldStop(8192); +if (true) break; + +case 13: +//if +this.state = 18; +if (parent._subs.runMethod(true,"_haypedido" /*RemoteObject*/ ,__ref.getField(false, "ba")).get().booleanValue()) { +this.state = 15; +}else { +this.state = 17; +}if (true) break; + +case 15: +//C +this.state = 18; + BA.debugLineNum = 623;BA.debugLine="Log(\">>>>> HAY PEDIDO\")"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","050462792",RemoteObject.createImmutable(">>>>> HAY PEDIDO"),0); + BA.debugLineNum = 624;BA.debugLine="Tels.Enabled = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 626;BA.debugLine="Tels.Enabled = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"True")); + if (true) break; +; + BA.debugLineNum = 629;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(1048576); + +case 18: +//if +this.state = 21; +if (parent.__c.runMethod(true,"Not",(Object)(parent._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; + BA.debugLineNum = 630;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 631;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((parent._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 633;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 634;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ )); + BA.debugLineNum = 657;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQue"; +Debug.ShouldStop(65536); +_fotomostrar1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fotomostrar1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NOT NULL"))));Debug.locals.put("fotomostrar1", _fotomostrar1);Debug.locals.put("fotomostrar1", _fotomostrar1); + BA.debugLineNum = 658;BA.debugLine="If fotomostrar1.RowCount = 0 Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 22: +//if +this.state = 33; +if (RemoteObject.solveBoolean("=",_fotomostrar1.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 24; +}else { +this.state = 32; +}if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 660;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQue"; +Debug.ShouldStop(524288); +_fotomostrar = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fotomostrar = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("fotomostrar", _fotomostrar);Debug.locals.put("fotomostrar", _fotomostrar); + BA.debugLineNum = 661;BA.debugLine="If fotomostrar.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 25: +//if +this.state = 30; +if (RemoteObject.solveBoolean(">",_fotomostrar.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 27; +}else { +this.state = 29; +}if (true) break; + +case 27: +//C +this.state = 30; + BA.debugLineNum = 663;BA.debugLine="fotomostrar.Position = 0"; +Debug.ShouldStop(4194304); +_fotomostrar.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 664;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostra"; +Debug.ShouldStop(8388608); +_fotomostrarfinal = _fotomostrar.runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO")));Debug.locals.put("fotomostrarfinal", _fotomostrarfinal);Debug.locals.put("fotomostrarfinal", _fotomostrarfinal); + BA.debugLineNum = 665;BA.debugLine="Dim InputStream1 As InputStream"; +Debug.ShouldStop(16777216); +_inputstream1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("InputStream1", _inputstream1); + BA.debugLineNum = 666;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostr"; +Debug.ShouldStop(33554432); +_inputstream1.runVoidMethod ("InitializeFromBytesArray",(Object)(_fotomostrarfinal),(Object)(BA.numberCast(int.class, 0)),(Object)(_fotomostrarfinal.getField(true,"length"))); + BA.debugLineNum = 667;BA.debugLine="Dim Bitmap1 As Bitmap"; +Debug.ShouldStop(67108864); +_bitmap1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("Bitmap1", _bitmap1); + BA.debugLineNum = 668;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; +Debug.ShouldStop(134217728); +_bitmap1.runVoidMethod ("Initialize2",(Object)((_inputstream1.getObject()))); + BA.debugLineNum = 669;BA.debugLine="InputStream1.Close"; +Debug.ShouldStop(268435456); +_inputstream1.runVoidMethod ("Close"); + BA.debugLineNum = 670;BA.debugLine="ImageView4.Bitmap = Bitmap1"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(_bitmap1.getObject())); + BA.debugLineNum = 671;BA.debugLine="Log(\"aqui si hay foto\")"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","050462840",RemoteObject.createImmutable("aqui si hay foto"),0); + if (true) break; + +case 29: +//C +this.state = 30; + BA.debugLineNum = 673;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\""; +Debug.ShouldStop(1); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("images.png"))).getObject())); + BA.debugLineNum = 674;BA.debugLine="Log(\"aqui no hay foto\")"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","050462843",RemoteObject.createImmutable("aqui no hay foto"),0); + if (true) break; + +case 30: +//C +this.state = 33; +; + if (true) break; + +case 32: +//C +this.state = 33; + BA.debugLineNum = 678;BA.debugLine="fotomostrar1.Position = 0"; +Debug.ShouldStop(32); +_fotomostrar1.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 679;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostrar"; +Debug.ShouldStop(64); +_fotomostrarfinal = _fotomostrar1.runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("foto")));Debug.locals.put("fotomostrarfinal", _fotomostrarfinal);Debug.locals.put("fotomostrarfinal", _fotomostrarfinal); + BA.debugLineNum = 680;BA.debugLine="Dim InputStream1 As InputStream"; +Debug.ShouldStop(128); +_inputstream1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("InputStream1", _inputstream1); + BA.debugLineNum = 681;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostra"; +Debug.ShouldStop(256); +_inputstream1.runVoidMethod ("InitializeFromBytesArray",(Object)(_fotomostrarfinal),(Object)(BA.numberCast(int.class, 0)),(Object)(_fotomostrarfinal.getField(true,"length"))); + BA.debugLineNum = 682;BA.debugLine="Dim Bitmap1 As Bitmap"; +Debug.ShouldStop(512); +_bitmap1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("Bitmap1", _bitmap1); + BA.debugLineNum = 683;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; +Debug.ShouldStop(1024); +_bitmap1.runVoidMethod ("Initialize2",(Object)((_inputstream1.getObject()))); + BA.debugLineNum = 684;BA.debugLine="InputStream1.Close"; +Debug.ShouldStop(2048); +_inputstream1.runVoidMethod ("Close"); + BA.debugLineNum = 685;BA.debugLine="ImageView4.Bitmap = Bitmap1"; +Debug.ShouldStop(4096); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(_bitmap1.getObject())); + BA.debugLineNum = 686;BA.debugLine="Log(\"aqui si hay foto\")"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","050462855",RemoteObject.createImmutable("aqui si hay foto"),0); + if (true) break; + +case 33: +//C +this.state = 34; +; + BA.debugLineNum = 694;BA.debugLine="l_tipocliente.Text = Subs.traeTipoCliente"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_tipocliente" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))); + BA.debugLineNum = 695;BA.debugLine="p_camara.Width = Root.Width"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 696;BA.debugLine="p_camara.Height = Root.Height"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 697;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 698;BA.debugLine="S2.Position =0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_s2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 699;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_s2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 700;BA.debugLine="S2.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_s2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 701;BA.debugLine="If CUANTOS > 0 Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 34: +//if +this.state = 39; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_cuantos" /*RemoteObject*/ )),BA.numberCast(double.class, 0))) { +this.state = 36; +}else { +this.state = 38; +}if (true) break; + +case 36: +//C +this.state = 39; + BA.debugLineNum = 702;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 703;BA.debugLine="c2.Position =0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 704;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_monto_compra" /*RemoteObject*/ ,__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))); + BA.debugLineNum = 705;BA.debugLine="c2.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 38: +//C +this.state = 39; + BA.debugLineNum = 707;BA.debugLine="MONTO_COMPRA = \"0\""; +Debug.ShouldStop(4); +__ref.setField ("_monto_compra" /*RemoteObject*/ ,BA.ObjectToString("0")); + if (true) break; + +case 39: +//C +this.state = 40; +; + BA.debugLineNum = 709;BA.debugLine="la_saldotot.Text = MONTO_COMPRA"; +Debug.ShouldStop(16); +__ref.getField(false,"_la_saldotot" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_monto_compra" /*RemoteObject*/ ))); + BA.debugLineNum = 710;BA.debugLine="If MONTO_COMPRA <> \"0\" Then"; +Debug.ShouldStop(32); +if (true) break; + +case 40: +//if +this.state = 45; +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_monto_compra" /*RemoteObject*/ ),BA.ObjectToString("0"))) { +this.state = 42; +}else { +this.state = 44; +}if (true) break; + +case 42: +//C +this.state = 45; + BA.debugLineNum = 711;BA.debugLine="META2 = 300 - MONTO_COMPRA"; +Debug.ShouldStop(64); +__ref.setField ("_meta2" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(300),BA.numberCast(double.class, __ref.getField(true,"_monto_compra" /*RemoteObject*/ ))}, "-",1, 0))); + if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 713;BA.debugLine="META2 = 300"; +Debug.ShouldStop(256); +__ref.setField ("_meta2" /*RemoteObject*/ ,BA.NumberToString(300)); + if (true) break; +; + BA.debugLineNum = 715;BA.debugLine="If META2 < 1 Then"; +Debug.ShouldStop(1024); + +case 45: +//if +this.state = 48; +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(true,"_meta2" /*RemoteObject*/ )),BA.numberCast(double.class, 1))) { +this.state = 47; +}if (true) break; + +case 47: +//C +this.state = 48; + BA.debugLineNum = 716;BA.debugLine="META2 = \"CUBIERTO\""; +Debug.ShouldStop(2048); +__ref.setField ("_meta2" /*RemoteObject*/ ,BA.ObjectToString("CUBIERTO")); + if (true) break; +; + BA.debugLineNum = 718;BA.debugLine="If IsNumber(META2) Then META2 = NumberFormat2(MET"; +Debug.ShouldStop(8192); + +case 48: +//if +this.state = 53; +if (parent.__c.runMethod(true,"IsNumber",(Object)(__ref.getField(true,"_meta2" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 50; +;}if (true) break; + +case 50: +//C +this.state = 53; +__ref.setField ("_meta2" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, __ref.getField(true,"_meta2" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"True")))); +if (true) break; + +case 53: +//C +this.state = 54; +; + BA.debugLineNum = 719;BA.debugLine="la_saldooper.Text = META2"; +Debug.ShouldStop(16384); +__ref.getField(false,"_la_saldooper" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_meta2" /*RemoteObject*/ ))); + BA.debugLineNum = 720;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 721;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 54: +//if +this.state = 57; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 56; +}if (true) break; + +case 56: +//C +this.state = 57; + BA.debugLineNum = 722;BA.debugLine="C.Position=0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 723;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(262144); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + if (true) break; + +case 57: +//C +this.state = 58; +; + BA.debugLineNum = 725;BA.debugLine="c.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 727;BA.debugLine="If ALMACEN = \"1\" Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 58: +//if +this.state = 61; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1"))) { +this.state = 60; +}if (true) break; + +case 60: +//C +this.state = 61; + BA.debugLineNum = 728;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 729;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 730;BA.debugLine="B_GPS.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_b_gps" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; +; + BA.debugLineNum = 732;BA.debugLine="If ALMACEN = \"4\" Then"; +Debug.ShouldStop(134217728); + +case 61: +//if +this.state = 78; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("4"))) { +this.state = 63; +}else { +this.state = 77; +}if (true) break; + +case 63: +//C +this.state = 64; + BA.debugLineNum = 733;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 734;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("KNORR RINDE MAS 70 GR")})))); + BA.debugLineNum = 735;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 736;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 64: +//if +this.state = 75; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { +this.state = 66; +}else { +this.state = 74; +}if (true) break; + +case 66: +//C +this.state = 67; + BA.debugLineNum = 737;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("KNORR RINDE MAS 70 GR")})))); + BA.debugLineNum = 738;BA.debugLine="c.Position =0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 739;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(4); +if (true) break; + +case 67: +//if +this.state = 72; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { +this.state = 69; +}else { +this.state = 71; +}if (true) break; + +case 69: +//C +this.state = 72; + BA.debugLineNum = 740;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 71: +//C +this.state = 72; + BA.debugLineNum = 742;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 72: +//C +this.state = 75; +; + BA.debugLineNum = 744;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 74: +//C +this.state = 75; + BA.debugLineNum = 746;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 75: +//C +this.state = 78; +; + BA.debugLineNum = 748;BA.debugLine="DD.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 77: +//C +this.state = 78; + BA.debugLineNum = 750;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; +; + BA.debugLineNum = 752;BA.debugLine="If ALMACEN = \"16\" Or ALMACEN = \"13\" Then"; +Debug.ShouldStop(32768); + +case 78: +//if +this.state = 81; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("16")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("13"))) { +this.state = 80; +}if (true) break; + +case 80: +//C +this.state = 81; + BA.debugLineNum = 753;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 754;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 81: +//C +this.state = 82; +; + BA.debugLineNum = 756;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM PEDID"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 757;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 82: +//if +this.state = 121; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 84; +}else +{ BA.debugLineNum = 770;BA.debugLine="Else If c.RowCount = 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 96; +}} +if (true) break; + +case 84: +//C +this.state = 85; + BA.debugLineNum = 758;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 759;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 760;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(8388608); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 761;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (true) break; + +case 85: +//if +this.state = 94; +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 87; +}if (true) break; + +case 87: +//C +this.state = 88; + BA.debugLineNum = 762;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(33554432); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 763;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 88: +//if +this.state = 93; +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { +this.state = 90; +}else +{ BA.debugLineNum = 765;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { +this.state = 92; +}} +if (true) break; + +case 90: +//C +this.state = 93; + BA.debugLineNum = 764;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 92: +//C +this.state = 93; + BA.debugLineNum = 766;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 93: +//C +this.state = 94; +; + if (true) break; + +case 94: +//C +this.state = 121; +; + if (true) break; + +case 96: +//C +this.state = 97; + BA.debugLineNum = 771;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 772;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 774;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 776;BA.debugLine="c = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM NOVEN"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 777;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (true) break; + +case 97: +//if +this.state = 116; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 99; +}else +{ BA.debugLineNum = 789;BA.debugLine="Else If c.RowCount = 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 111; +}} +if (true) break; + +case 99: +//C +this.state = 100; + BA.debugLineNum = 778;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 779;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 780;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(2048); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 781;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 100: +//if +this.state = 109; +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 102; +}if (true) break; + +case 102: +//C +this.state = 103; + BA.debugLineNum = 782;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(8192); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 783;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 103: +//if +this.state = 108; +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { +this.state = 105; +}else +{ BA.debugLineNum = 785;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { +this.state = 107; +}} +if (true) break; + +case 105: +//C +this.state = 108; + BA.debugLineNum = 784;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 107: +//C +this.state = 108; + BA.debugLineNum = 786;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 108: +//C +this.state = 109; +; + if (true) break; + +case 109: +//C +this.state = 116; +; + if (true) break; + +case 111: +//C +this.state = 112; + BA.debugLineNum = 790;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 791;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 792;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 793;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 794;BA.debugLine="If ALMACEN = \"1\" Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 112: +//if +this.state = 115; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1"))) { +this.state = 114; +}if (true) break; + +case 114: +//C +this.state = 115; + BA.debugLineNum = 795;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 796;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 115: +//C +this.state = 116; +; + if (true) break; + +case 116: +//C +this.state = 117; +; + BA.debugLineNum = 799;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 800;BA.debugLine="If ALMACEN = \"1\" Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 117: +//if +this.state = 120; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1"))) { +this.state = 119; +}if (true) break; + +case 119: +//C +this.state = 120; + BA.debugLineNum = 801;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 802;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 120: +//C +this.state = 121; +; + if (true) break; + +case 121: +//C +this.state = 122; +; + BA.debugLineNum = 806;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 808;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +Debug.ShouldStop(128); +if (true) break; + +case 122: +//if +this.state = 125; +if (parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 124; +}if (true) break; + +case 124: +//C +this.state = 125; + BA.debugLineNum = 809;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(256); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"))); + BA.debugLineNum = 810;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(512); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))); + BA.debugLineNum = 811;BA.debugLine="Log($\"Tenemos UUC: ${Tracker.FLP.GetLastKnownLoc"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","050462980",(RemoteObject.concat(RemoteObject.createImmutable("Tenemos UUC: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 812;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"))); + if (true) break; +; + BA.debugLineNum = 814;BA.debugLine="If ALMACEN = \"1\" Or ALMACEN = \"2\" Or ALMACEN = \"4"; +Debug.ShouldStop(8192); + +case 125: +//if +this.state = 142; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("2")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("4")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("5")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("25"))) { +this.state = 127; +}else { +this.state = 141; +}if (true) break; + +case 127: +//C +this.state = 128; + BA.debugLineNum = 815;BA.debugLine="DD=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F"; +Debug.ShouldStop(16384); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("KNORR SUIZA GALLINA")})))); + BA.debugLineNum = 816;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 817;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 128: +//if +this.state = 139; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { +this.state = 130; +}else { +this.state = 138; +}if (true) break; + +case 130: +//C +this.state = 131; + BA.debugLineNum = 818;BA.debugLine="c=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("KNORR SUIZA GALLINA")})))); + BA.debugLineNum = 819;BA.debugLine="c.Position =0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 820;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 131: +//if +this.state = 136; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { +this.state = 133; +}else { +this.state = 135; +}if (true) break; + +case 133: +//C +this.state = 136; + BA.debugLineNum = 821;BA.debugLine="B_GALLINA.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 135: +//C +this.state = 136; + BA.debugLineNum = 823;BA.debugLine="B_GALLINA.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 136: +//C +this.state = 139; +; + BA.debugLineNum = 825;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 138: +//C +this.state = 139; + BA.debugLineNum = 827;BA.debugLine="B_GALLINA.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_b_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 139: +//C +this.state = 142; +; + BA.debugLineNum = 829;BA.debugLine="DD.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 141: +//C +this.state = 142; + BA.debugLineNum = 831;BA.debugLine="B_GALLINA.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 142: +//C +this.state = 143; +; + BA.debugLineNum = 833;BA.debugLine="P_gallina.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 834;BA.debugLine="B_GALLINA.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_b_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 835;BA.debugLine="que_modulo = 1"; +Debug.ShouldStop(4); +__ref.setField ("_que_modulo" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 836;BA.debugLine="If ALMACEN = \"2\" Or ALMACEN = \"4\" Or ALMACEN = \""; +Debug.ShouldStop(8); +if (true) break; + +case 143: +//if +this.state = 148; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("2")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("4")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("5")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("4")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("53")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("64")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("25"))) { +this.state = 145; +}else { +this.state = 147; +}if (true) break; + +case 145: +//C +this.state = 148; + BA.debugLineNum = 837;BA.debugLine="b_like.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 147: +//C +this.state = 148; + BA.debugLineNum = 839;BA.debugLine="b_like.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_b_like" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 148: +//C +this.state = 149; +; + BA.debugLineNum = 841;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("MACIMP")})))); + BA.debugLineNum = 842;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (true) break; + +case 149: +//if +this.state = 152; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 151; +}if (true) break; + +case 151: +//C +this.state = 152; + BA.debugLineNum = 843;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 844;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; +Debug.ShouldStop(2048); +parent._starter._mac_impresora /*RemoteObject*/ = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))); + if (true) break; +; + BA.debugLineNum = 846;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +Debug.ShouldStop(8192); + +case 152: +//if +this.state = 157; +if (RemoteObject.solveBoolean("=",parent._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString(""))) { +this.state = 154; +;}if (true) break; + +case 154: +//C +this.state = 157; +parent._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0"); +if (true) break; + +case 157: +//C +this.state = 158; +; + BA.debugLineNum = 848;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Printer1"))); + BA.debugLineNum = 850;BA.debugLine="If Printer1.IsConnected = False Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 158: +//if +this.state = 163; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ),parent.__c.getField(true,"False"))) { +this.state = 160; +}else { +this.state = 162; +}if (true) break; + +case 160: +//C +this.state = 163; + if (true) break; + +case 162: +//C +this.state = 163; + BA.debugLineNum = 854;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 855;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 856;BA.debugLine="Log(\"2\")"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("LogImpl","050463025",RemoteObject.createImmutable("2"),0); + if (true) break; + +case 163: +//C +this.state = 164; +; + BA.debugLineNum = 858;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADA FROM IMPRESORA")))); + BA.debugLineNum = 859;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 164: +//if +this.state = 175; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 166; +}else +{ BA.debugLineNum = 866;BA.debugLine="Else If c.RowCount = 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 174; +}} +if (true) break; + +case 166: +//C +this.state = 167; + BA.debugLineNum = 860;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 861;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 167: +//if +this.state = 172; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADA"))),BA.NumberToString(1))) { +this.state = 169; +}else +{ BA.debugLineNum = 863;BA.debugLine="Else If c.GetString(\"HABILITADA\") = 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADA"))),BA.NumberToString(0))) { +this.state = 171; +}} +if (true) break; + +case 169: +//C +this.state = 172; + BA.debugLineNum = 862;BA.debugLine="B_IMP.Visible = True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_b_imp" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 171: +//C +this.state = 172; + BA.debugLineNum = 864;BA.debugLine="B_IMP.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_b_imp" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 172: +//C +this.state = 175; +; + if (true) break; + +case 174: +//C +this.state = 175; + BA.debugLineNum = 867;BA.debugLine="B_IMP.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_b_imp" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; +; + BA.debugLineNum = 873;BA.debugLine="If ALMACEN = 32 Then"; +Debug.ShouldStop(256); + +case 175: +//if +this.state = 201; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(32))) { +this.state = 177; +}if (true) break; + +case 177: +//C +this.state = 178; + BA.debugLineNum = 874;BA.debugLine="If Subs.traemontoprod And Subs.InvSuficienteProm"; +Debug.ShouldStop(512); +if (true) break; + +case 178: +//if +this.state = 187; +if (RemoteObject.solveBoolean(".",parent._subs.runMethod(true,"_traemontoprod" /*RemoteObject*/ ,__ref.getField(false, "ba"))) && RemoteObject.solveBoolean(".",parent._subs.runMethod(true,"_invsuficientepromoesp" /*RemoteObject*/ ,__ref.getField(false, "ba"))) && RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(parent._subs.runMethod(true,"_vendidopromoesp" /*RemoteObject*/ ,__ref.getField(false, "ba")))))) { +this.state = 180; +}else { +this.state = 186; +}if (true) break; + +case 180: +//C +this.state = 181; + BA.debugLineNum = 875;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a una pr"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("El cliente tiene derecho a una promo por la compra de mas de $120 en productos Helmanns, Maizena y/o Knorr")),(Object)(BA.ObjectToCharSequence("Promo disponible")),(Object)(BA.ObjectToString("Aceptar")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 876;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b4xpage_appear"), null); +this.state = 556; +return; +case 556: +//C +this.state = 181; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 877;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 181: +//if +this.state = 184; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 183; +}if (true) break; + +case 183: +//C +this.state = 184; + BA.debugLineNum = 878;BA.debugLine="B4XPages.MainPage.productos.terminarpromoesp"; +Debug.ShouldStop(8192); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_terminarpromoesp" /*RemoteObject*/ ); + if (true) break; + +case 184: +//C +this.state = 187; +; + if (true) break; + +case 186: +//C +this.state = 187; + if (true) break; +; + BA.debugLineNum = 882;BA.debugLine="If Not(Subs.traemontoprod) And Subs.vendidoPromo"; +Debug.ShouldStop(131072); + +case 187: +//if +this.state = 200; +if (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(parent._subs.runMethod(true,"_traemontoprod" /*RemoteObject*/ ,__ref.getField(false, "ba"))))) && RemoteObject.solveBoolean(".",parent._subs.runMethod(true,"_vendidopromoesp" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 189; +}else { +this.state = 199; +}if (true) break; + +case 189: +//C +this.state = 190; + BA.debugLineNum = 883;BA.debugLine="Private j3 As Cursor"; +Debug.ShouldStop(262144); +_j3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("j3", _j3); + BA.debugLineNum = 884;BA.debugLine="Log(\"SI PROMO\")"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("LogImpl","050463053",RemoteObject.createImmutable("SI PROMO"),0); + BA.debugLineNum = 885;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +Debug.ShouldStop(1048576); +_j3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PROID = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PROUNI01")}))));Debug.locals.put("j3", _j3); + BA.debugLineNum = 886;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("LogImpl","050463055",BA.NumberToString(_j3.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 887;BA.debugLine="If j3.RowCount = 0 Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 190: +//if +this.state = 197; +if (RemoteObject.solveBoolean("=",_j3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 192; +}if (true) break; + +case 192: +//C +this.state = 193; + BA.debugLineNum = 888;BA.debugLine="Log(\"estoy aqui\")"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("LogImpl","050463057",RemoteObject.createImmutable("estoy aqui"),0); + BA.debugLineNum = 889;BA.debugLine="For i = 0 To j3.RowCount -1"; +Debug.ShouldStop(16777216); +if (true) break; + +case 193: +//for +this.state = 196; +step266 = 1; +limit266 = RemoteObject.solve(new RemoteObject[] {_j3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 557; +if (true) break; + +case 557: +//C +this.state = 196; +if ((step266 > 0 && _i <= limit266) || (step266 < 0 && _i >= limit266)) this.state = 195; +if (true) break; + +case 558: +//C +this.state = 557; +_i = ((int)(0 + _i + step266)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 195: +//C +this.state = 558; + BA.debugLineNum = 890;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","050463059",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 891;BA.debugLine="j3.Position = i"; +Debug.ShouldStop(67108864); +_j3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +Debug.ShouldStop(134217728); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 893;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +Debug.ShouldStop(268435456); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_j3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + if (true) break; +if (true) break; + +case 196: +//C +this.state = 197; +Debug.locals.put("i", _i); +; + if (true) break; + +case 197: +//C +this.state = 200; +; + BA.debugLineNum = 896;BA.debugLine="j3.Close"; +Debug.ShouldStop(-2147483648); +_j3.runVoidMethod ("Close"); + if (true) break; + +case 199: +//C +this.state = 200; + if (true) break; + +case 200: +//C +this.state = 201; +; + if (true) break; +; + BA.debugLineNum = 901;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; +Debug.ShouldStop(16); + +case 201: +//if +this.state = 321; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(87)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { +this.state = 203; +}if (true) break; + +case 203: +//C +this.state = 204; + BA.debugLineNum = 902;BA.debugLine="If Subs.traemontoprod And Subs.traeCliente <> \"0"; +Debug.ShouldStop(32); +if (true) break; + +case 204: +//if +this.state = 301; +if (RemoteObject.solveBoolean(".",parent._subs.runMethod(true,"_traemontoprod" /*RemoteObject*/ ,__ref.getField(false, "ba"))) && RemoteObject.solveBoolean("!",parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("0"))) { +this.state = 206; +}else +{ BA.debugLineNum = 971;BA.debugLine="Else If Subs.traemontoprod2 And Subs.traeCliente"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(".",parent._subs.runMethod(true,"_traemontoprod2" /*RemoteObject*/ ,__ref.getField(false, "ba"))) && RemoteObject.solveBoolean("!",parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("0"))) { +this.state = 254; +}} +if (true) break; + +case 206: +//C +this.state = 207; + BA.debugLineNum = 903;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("El cliente tiene derecho a un descuento de 150 pesos por la compra de mas de $500 en productos participantes")),(Object)(BA.ObjectToCharSequence("Descuento disponible")),(Object)(BA.ObjectToString("Aceptar")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 904;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b4xpage_appear"), null); +this.state = 559; +return; +case 559: +//C +this.state = 207; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 905;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(256); +if (true) break; + +case 207: +//if +this.state = 252; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 209; +}if (true) break; + +case 209: +//C +this.state = 210; + BA.debugLineNum = 906;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(512); +parent._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +parent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT SUM(PE_CANT) AS PIEZAS FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))));__ref.setField("_c",parent._c); + BA.debugLineNum = 907;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 210: +//if +this.state = 251; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 212; +}if (true) break; + +case 212: +//C +this.state = 213; + BA.debugLineNum = 908;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 909;BA.debugLine="Private des As Float = NumberFormat2(150/c.Ge"; +Debug.ShouldStop(4096); +_des = BA.numberCast(float.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(150),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PIEZAS"))))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))));Debug.locals.put("des", _des);Debug.locals.put("des", _des); + BA.debugLineNum = 910;BA.debugLine="Log( NumberFormat2(des,0,2,2,False))"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","050463079",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _des)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 911;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(16384); +parent._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +parent._c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU < ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.NumberToString(_des)}))));__ref.setField("_c2",parent._c2); + BA.debugLineNum = 912;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 213: +//if +this.state = 216; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 215; +}if (true) break; + +case 215: +//C +this.state = 216; + BA.debugLineNum = 913;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 914;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("LogImpl","050463083",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + if (true) break; + +case 216: +//C +this.state = 217; +; + BA.debugLineNum = 916;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(524288); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.NumberToString(_des)}))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 917;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 217: +//if +this.state = 250; +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 219; +}if (true) break; + +case 219: +//C +this.state = 220; + BA.debugLineNum = 918;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(2097152); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 919;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("LogImpl","050463088",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 920;BA.debugLine="Private rec As Float = (des * c2.GetString(\""; +Debug.ShouldStop(8388608); +_rec = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_des,BA.numberCast(double.class, __ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "*",0, 0)),BA.numberCast(double.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "/",0, 0));Debug.locals.put("rec", _rec);Debug.locals.put("rec", _rec); + BA.debugLineNum = 921;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("LogImpl","050463090",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _rec)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 922;BA.debugLine="Private cantres As Float = des + rec"; +Debug.ShouldStop(33554432); +_cantres = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_des,_rec}, "+",1, 0));Debug.locals.put("cantres", _cantres);Debug.locals.put("cantres", _cantres); + BA.debugLineNum = 923;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("LogImpl","050463092",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 924;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm"; +Debug.ShouldStop(134217728); +_c5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU > ? and PE_COSTOU < ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.NumberToString(_des),BA.NumberToString(_cantres)}))));Debug.locals.put("c5", _c5);Debug.locals.put("c5", _c5); + BA.debugLineNum = 925;BA.debugLine="If c5.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 220: +//if +this.state = 249; +if (RemoteObject.solveBoolean(">",_c5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 222; +}if (true) break; + +case 222: +//C +this.state = 223; + BA.debugLineNum = 926;BA.debugLine="c5.Position = 0"; +Debug.ShouldStop(536870912); +_c5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 927;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","050463096",_c5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 928;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 223: +//if +this.state = 248; +if (RemoteObject.solveBoolean("=",_c5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.ObjectToString("0"))) { +this.state = 225; +}else { +this.state = 235; +}if (true) break; + +case 225: +//C +this.state = 226; + BA.debugLineNum = 929;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s"; +Debug.ShouldStop(1); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")))}))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 930;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 226: +//if +this.state = 233; +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 228; +}if (true) break; + +case 228: +//C +this.state = 229; + BA.debugLineNum = 931;BA.debugLine="For i = 0 To c4.RowCount -1"; +Debug.ShouldStop(4); +if (true) break; + +case 229: +//for +this.state = 232; +step307 = 1; +limit307 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 560; +if (true) break; + +case 560: +//C +this.state = 232; +if ((step307 > 0 && _i <= limit307) || (step307 < 0 && _i >= limit307)) this.state = 231; +if (true) break; + +case 561: +//C +this.state = 560; +_i = ((int)(0 + _i + step307)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 231: +//C +this.state = 561; + BA.debugLineNum = 932;BA.debugLine="c4.Position = i"; +Debug.ShouldStop(8); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 933;BA.debugLine="Private recalculo As Float = c4.GetStrin"; +Debug.ShouldStop(16); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 934;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","050463103",BA.NumberToString(_recalculo),parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 935;BA.debugLine="Private recalculototal As Float = c4.Get"; +Debug.ShouldStop(64); +_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal); + BA.debugLineNum = 937;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE"; +Debug.ShouldStop(256); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))}))))); + if (true) break; +if (true) break; + +case 232: +//C +this.state = 233; +Debug.locals.put("i", _i); +; + if (true) break; + +case 233: +//C +this.state = 248; +; + BA.debugLineNum = 940;BA.debugLine="c4.Close"; +Debug.ShouldStop(2048); +_c4.runVoidMethod ("Close"); + if (true) break; + +case 235: +//C +this.state = 236; + BA.debugLineNum = 942;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s"; +Debug.ShouldStop(8192); +_c6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.NumberToString(_cantres)}))));Debug.locals.put("c6", _c6);Debug.locals.put("c6", _c6); + BA.debugLineNum = 943;BA.debugLine="If c6.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 236: +//if +this.state = 247; +if (RemoteObject.solveBoolean(">",_c6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 238; +}if (true) break; + +case 238: +//C +this.state = 239; + BA.debugLineNum = 944;BA.debugLine="c6.Position = 0"; +Debug.ShouldStop(32768); +_c6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 945;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","050463114",_c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 946;BA.debugLine="Private rec1 As Float = (cantres * c5.Get"; +Debug.ShouldStop(131072); +_rec1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_cantres,BA.numberCast(double.class, _c5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "*",0, 0)),BA.numberCast(double.class, _c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "/",0, 0));Debug.locals.put("rec1", _rec1);Debug.locals.put("rec1", _rec1); + BA.debugLineNum = 947;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","050463116",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _rec1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 948;BA.debugLine="Private cantres1 As Float = cantres + rec"; +Debug.ShouldStop(524288); +_cantres1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cantres,_rec1}, "+",1, 0));Debug.locals.put("cantres1", _cantres1);Debug.locals.put("cantres1", _cantres1); + BA.debugLineNum = 949;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","050463118",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 950;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage."; +Debug.ShouldStop(2097152); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")))}))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 951;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 239: +//if +this.state = 246; +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 241; +}if (true) break; + +case 241: +//C +this.state = 242; + BA.debugLineNum = 952;BA.debugLine="For i = 0 To c4.RowCount -1"; +Debug.ShouldStop(8388608); +if (true) break; + +case 242: +//for +this.state = 245; +step327 = 1; +limit327 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 562; +if (true) break; + +case 562: +//C +this.state = 245; +if ((step327 > 0 && _i <= limit327) || (step327 < 0 && _i >= limit327)) this.state = 244; +if (true) break; + +case 563: +//C +this.state = 562; +_i = ((int)(0 + _i + step327)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 244: +//C +this.state = 563; + BA.debugLineNum = 953;BA.debugLine="c4.Position = i"; +Debug.ShouldStop(16777216); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 954;BA.debugLine="Private recalculo As Float = c4.GetStri"; +Debug.ShouldStop(33554432); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 955;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("LogImpl","050463124",BA.NumberToString(_recalculo),parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 956;BA.debugLine="Private recalculototal As Float = c4.Ge"; +Debug.ShouldStop(134217728); +_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal); + BA.debugLineNum = 958;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))}))))); + if (true) break; +if (true) break; + +case 245: +//C +this.state = 246; +Debug.locals.put("i", _i); +; + if (true) break; + +case 246: +//C +this.state = 247; +; + BA.debugLineNum = 961;BA.debugLine="c4.Close"; +Debug.ShouldStop(1); +_c4.runVoidMethod ("Close"); + if (true) break; + +case 247: +//C +this.state = 248; +; + if (true) break; + +case 248: +//C +this.state = 249; +; + if (true) break; + +case 249: +//C +this.state = 250; +; + if (true) break; + +case 250: +//C +this.state = 251; +; + if (true) break; + +case 251: +//C +this.state = 252; +; + if (true) break; + +case 252: +//C +this.state = 301; +; + BA.debugLineNum = 968;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 969;BA.debugLine="c2.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 970;BA.debugLine="c3.Close"; +Debug.ShouldStop(512); +_c3.runVoidMethod ("Close"); + if (true) break; + +case 254: +//C +this.state = 255; + BA.debugLineNum = 972;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("El cliente tiene derecho a un descuento de 70 pesos por la compra de mas de $350 en productos participantes")),(Object)(BA.ObjectToCharSequence("Descuento disponible")),(Object)(BA.ObjectToString("Aceptar")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 973;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b4xpage_appear"), null); +this.state = 564; +return; +case 564: +//C +this.state = 255; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 974;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 255: +//if +this.state = 300; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 257; +}if (true) break; + +case 257: +//C +this.state = 258; + BA.debugLineNum = 975;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(16384); +parent._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +parent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT SUM(PE_CANT) AS PIEZAS FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))));__ref.setField("_c",parent._c); + BA.debugLineNum = 976;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 258: +//if +this.state = 299; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 260; +}if (true) break; + +case 260: +//C +this.state = 261; + BA.debugLineNum = 977;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 978;BA.debugLine="Private des As Float = NumberFormat2(70/c.Get"; +Debug.ShouldStop(131072); +_des = BA.numberCast(float.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PIEZAS"))))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 5)),(Object)(BA.numberCast(int.class, 5)),(Object)(parent.__c.getField(true,"False"))));Debug.locals.put("des", _des);Debug.locals.put("des", _des); + BA.debugLineNum = 979;BA.debugLine="Log(des)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","050463148",BA.NumberToString(_des),0); + BA.debugLineNum = 980;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(524288); +parent._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +parent._c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU < ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.NumberToString(_des)}))));__ref.setField("_c2",parent._c2); + BA.debugLineNum = 981;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 261: +//if +this.state = 264; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 263; +}if (true) break; + +case 263: +//C +this.state = 264; + BA.debugLineNum = 982;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 983;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("LogImpl","050463152",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + if (true) break; + +case 264: +//C +this.state = 265; +; + BA.debugLineNum = 985;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(16777216); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.NumberToString(_des)}))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 986;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 265: +//if +this.state = 298; +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 267; +}if (true) break; + +case 267: +//C +this.state = 268; + BA.debugLineNum = 987;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(67108864); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 988;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","050463157",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 989;BA.debugLine="Private rec As Float = (des * c2.GetString(\""; +Debug.ShouldStop(268435456); +_rec = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_des,BA.numberCast(double.class, __ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "*",0, 0)),BA.numberCast(double.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "/",0, 0));Debug.locals.put("rec", _rec);Debug.locals.put("rec", _rec); + BA.debugLineNum = 990;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("LogImpl","050463159",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _rec)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 991;BA.debugLine="Private cantres As Float = des + rec"; +Debug.ShouldStop(1073741824); +_cantres = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_des,_rec}, "+",1, 0));Debug.locals.put("cantres", _cantres);Debug.locals.put("cantres", _cantres); + BA.debugLineNum = 992;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("LogImpl","050463161",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 993;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm"; +Debug.ShouldStop(1); +_c5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU > ? and PE_COSTOU < ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.NumberToString(_des),BA.NumberToString(_cantres)}))));Debug.locals.put("c5", _c5);Debug.locals.put("c5", _c5); + BA.debugLineNum = 994;BA.debugLine="If c5.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 268: +//if +this.state = 297; +if (RemoteObject.solveBoolean(">",_c5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 270; +}if (true) break; + +case 270: +//C +this.state = 271; + BA.debugLineNum = 995;BA.debugLine="c5.Position = 0"; +Debug.ShouldStop(4); +_c5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 996;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(8); +parent.__c.runVoidMethod ("LogImpl","050463165",_c5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 997;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then"; +Debug.ShouldStop(16); +if (true) break; + +case 271: +//if +this.state = 296; +if (RemoteObject.solveBoolean("=",_c5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.ObjectToString("0"))) { +this.state = 273; +}else { +this.state = 283; +}if (true) break; + +case 273: +//C +this.state = 274; + BA.debugLineNum = 998;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s"; +Debug.ShouldStop(32); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")))}))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 999;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (true) break; + +case 274: +//if +this.state = 281; +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 276; +}if (true) break; + +case 276: +//C +this.state = 277; + BA.debugLineNum = 1000;BA.debugLine="For i = 0 To c4.RowCount -1"; +Debug.ShouldStop(128); +if (true) break; + +case 277: +//for +this.state = 280; +step374 = 1; +limit374 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 565; +if (true) break; + +case 565: +//C +this.state = 280; +if ((step374 > 0 && _i <= limit374) || (step374 < 0 && _i >= limit374)) this.state = 279; +if (true) break; + +case 566: +//C +this.state = 565; +_i = ((int)(0 + _i + step374)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 279: +//C +this.state = 566; + BA.debugLineNum = 1001;BA.debugLine="c4.Position = i"; +Debug.ShouldStop(256); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1002;BA.debugLine="Private recalculo As Float = c4.GetStrin"; +Debug.ShouldStop(512); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 1003;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","050463172",BA.NumberToString(_recalculo),parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1004;BA.debugLine="Private recalculototal As Float = c4.Get"; +Debug.ShouldStop(2048); +_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal); + BA.debugLineNum = 1005;BA.debugLine="Log(recalculo&\"|||||\"&recalculototal&\"||"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","050463174",RemoteObject.concat(_recalculo,RemoteObject.createImmutable("|||||"),_recalculototal,RemoteObject.createImmutable("|||||||||||||||||||"),_c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),0); + BA.debugLineNum = 1006;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE"; +Debug.ShouldStop(8192); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))}))))); + if (true) break; +if (true) break; + +case 280: +//C +this.state = 281; +Debug.locals.put("i", _i); +; + if (true) break; + +case 281: +//C +this.state = 296; +; + BA.debugLineNum = 1009;BA.debugLine="c4.Close"; +Debug.ShouldStop(65536); +_c4.runVoidMethod ("Close"); + if (true) break; + +case 283: +//C +this.state = 284; + BA.debugLineNum = 1011;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s"; +Debug.ShouldStop(262144); +_c6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.NumberToString(_cantres)}))));Debug.locals.put("c6", _c6);Debug.locals.put("c6", _c6); + BA.debugLineNum = 1012;BA.debugLine="If c6.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 284: +//if +this.state = 295; +if (RemoteObject.solveBoolean(">",_c6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 286; +}if (true) break; + +case 286: +//C +this.state = 287; + BA.debugLineNum = 1013;BA.debugLine="c6.Position = 0"; +Debug.ShouldStop(1048576); +_c6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1014;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("LogImpl","050463183",_c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 1015;BA.debugLine="Private rec1 As Float = (cantres * c5.Get"; +Debug.ShouldStop(4194304); +_rec1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_cantres,BA.numberCast(double.class, _c5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "*",0, 0)),BA.numberCast(double.class, _c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "/",0, 0));Debug.locals.put("rec1", _rec1);Debug.locals.put("rec1", _rec1); + BA.debugLineNum = 1016;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("LogImpl","050463185",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _rec1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 1017;BA.debugLine="Private cantres1 As Float = cantres + rec"; +Debug.ShouldStop(16777216); +_cantres1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cantres,_rec1}, "+",1, 0));Debug.locals.put("cantres1", _cantres1);Debug.locals.put("cantres1", _cantres1); + BA.debugLineNum = 1018;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","050463187",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0); + BA.debugLineNum = 1019;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage."; +Debug.ShouldStop(67108864); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")))}))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 1020;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (true) break; + +case 287: +//if +this.state = 294; +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 289; +}if (true) break; + +case 289: +//C +this.state = 290; + BA.debugLineNum = 1021;BA.debugLine="For i = 0 To c4.RowCount -1"; +Debug.ShouldStop(268435456); +if (true) break; + +case 290: +//for +this.state = 293; +step395 = 1; +limit395 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 567; +if (true) break; + +case 567: +//C +this.state = 293; +if ((step395 > 0 && _i <= limit395) || (step395 < 0 && _i >= limit395)) this.state = 292; +if (true) break; + +case 568: +//C +this.state = 567; +_i = ((int)(0 + _i + step395)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 292: +//C +this.state = 568; + BA.debugLineNum = 1022;BA.debugLine="c4.Position = i"; +Debug.ShouldStop(536870912); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1023;BA.debugLine="Private recalculo As Float = c4.GetStri"; +Debug.ShouldStop(1073741824); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _cantres1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 1024;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("LogImpl","050463193",BA.NumberToString(_recalculo),parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1025;BA.debugLine="Private recalculototal As Float = c4.Ge"; +Debug.ShouldStop(1); +_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal); + BA.debugLineNum = 1027;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P"; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))}))))); + if (true) break; +if (true) break; + +case 293: +//C +this.state = 294; +Debug.locals.put("i", _i); +; + if (true) break; + +case 294: +//C +this.state = 295; +; + BA.debugLineNum = 1030;BA.debugLine="c4.Close"; +Debug.ShouldStop(32); +_c4.runVoidMethod ("Close"); + if (true) break; + +case 295: +//C +this.state = 296; +; + if (true) break; + +case 296: +//C +this.state = 297; +; + if (true) break; + +case 297: +//C +this.state = 298; +; + if (true) break; + +case 298: +//C +this.state = 299; +; + if (true) break; + +case 299: +//C +this.state = 300; +; + if (true) break; + +case 300: +//C +this.state = 301; +; + BA.debugLineNum = 1037;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1038;BA.debugLine="c2.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1039;BA.debugLine="c3.Close"; +Debug.ShouldStop(16384); +_c3.runVoidMethod ("Close"); + if (true) break; +; + BA.debugLineNum = 1041;BA.debugLine="If Not(Subs.traemontoprod) Then"; +Debug.ShouldStop(65536); + +case 301: +//if +this.state = 320; +if (parent.__c.runMethod(true,"Not",(Object)(parent._subs.runMethod(true,"_traemontoprod" /*RemoteObject*/ ,__ref.getField(false, "ba")))).get().booleanValue()) { +this.state = 303; +}else { +this.state = 319; +}if (true) break; + +case 303: +//C +this.state = 304; + BA.debugLineNum = 1042;BA.debugLine="If Not(Subs.traemontoprod2) Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 304: +//if +this.state = 317; +if (parent.__c.runMethod(true,"Not",(Object)(parent._subs.runMethod(true,"_traemontoprod2" /*RemoteObject*/ ,__ref.getField(false, "ba")))).get().booleanValue()) { +this.state = 306; +}else { +this.state = 316; +}if (true) break; + +case 306: +//C +this.state = 307; + BA.debugLineNum = 1043;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.skmt."; +Debug.ShouldStop(262144); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND (PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("null")}))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 1044;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 307: +//if +this.state = 314; +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 309; +}if (true) break; + +case 309: +//C +this.state = 310; + BA.debugLineNum = 1045;BA.debugLine="For i = 0 To c4.RowCount -1"; +Debug.ShouldStop(1048576); +if (true) break; + +case 310: +//for +this.state = 313; +step418 = 1; +limit418 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 569; +if (true) break; + +case 569: +//C +this.state = 313; +if ((step418 > 0 && _i <= limit418) || (step418 < 0 && _i >= limit418)) this.state = 312; +if (true) break; + +case 570: +//C +this.state = 569; +_i = ((int)(0 + _i + step418)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 312: +//C +this.state = 570; + BA.debugLineNum = 1046;BA.debugLine="c4.Position = i"; +Debug.ShouldStop(2097152); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1050;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(33554432); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID = ? ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString(""),BA.ObjectToString(""),_c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))}))))); + if (true) break; +if (true) break; + +case 313: +//C +this.state = 314; +Debug.locals.put("i", _i); +; + if (true) break; + +case 314: +//C +this.state = 317; +; + if (true) break; + +case 316: +//C +this.state = 317; + if (true) break; + +case 317: +//C +this.state = 320; +; + if (true) break; + +case 319: +//C +this.state = 320; + if (true) break; + +case 320: +//C +this.state = 321; +; + if (true) break; + +case 321: +//C +this.state = 322; +; + BA.debugLineNum = 1061;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ"; +Debug.ShouldStop(16); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 1063;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (true) break; + +case 322: +//if +this.state = 419; +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 324; +}else +{ BA.debugLineNum = 1114;BA.debugLine="Else If s3.RowCount = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 372; +}} +if (true) break; + +case 324: +//C +this.state = 325; + BA.debugLineNum = 1065;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 1066;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iFNU"; +Debug.ShouldStop(512); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")})))); + BA.debugLineNum = 1067;BA.debugLine="s.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1068;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(2048); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 1069;BA.debugLine="s5.Position = 0"; +Debug.ShouldStop(4096); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1070;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 325: +//if +this.state = 370; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 327; +}if (true) break; + +case 327: +//C +this.state = 328; + BA.debugLineNum = 1071;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1072;BA.debugLine="Log(\">>>>>> \" & c.GetString(\"CAT_CL_CODIGO\"))"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","050463241",RemoteObject.concat(RemoteObject.createImmutable(">>>>>> "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),0); + BA.debugLineNum = 1073;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))); + BA.debugLineNum = 1074;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO"; +Debug.ShouldStop(131072); +__ref.getField(false,"_la_cuenta_gallina" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))); + BA.debugLineNum = 1075;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))))); + BA.debugLineNum = 1076;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; +Debug.ShouldStop(524288); +__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT")))))); + BA.debugLineNum = 1077;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_COLONIA"))))); + BA.debugLineNum = 1078;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_la_edo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EDO"))))); + BA.debugLineNum = 1079;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1"))))); + BA.debugLineNum = 1080;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2"))))); + BA.debugLineNum = 1081;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))))); + BA.debugLineNum = 1082;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))))); + BA.debugLineNum = 1083;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_telefono" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))); + BA.debugLineNum = 1084;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_label19" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO"))))); + BA.debugLineNum = 1085;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '####"; +Debug.ShouldStop(268435456); +__ref.setField ("_bcredito" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO")))); + BA.debugLineNum = 1087;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 328: +//if +this.state = 333; +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))) { +this.state = 330; +}else { +this.state = 332; +}if (true) break; + +case 330: +//C +this.state = 333; + BA.debugLineNum = 1088;BA.debugLine="l_total.Text = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + if (true) break; + +case 332: +//C +this.state = 333; + BA.debugLineNum = 1090;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TOTA"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),BA.numberCast(double.class, _s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))}, "+",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))); + if (true) break; + +case 333: +//C +this.state = 334; +; + BA.debugLineNum = 1092;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s5."; +Debug.ShouldStop(8); +__ref.setField ("_total_cliente" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),BA.numberCast(double.class, _s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))}, "+",1, 0))); + BA.debugLineNum = 1093;BA.debugLine="m_lat = \"0\""; +Debug.ShouldStop(16); +__ref.setField ("_m_lat" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1094;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat ="; +Debug.ShouldStop(32); +if (true) break; + +case 334: +//if +this.state = 339; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))),BA.ObjectToString(""))) { +this.state = 336; +;}if (true) break; + +case 336: +//C +this.state = 339; +__ref.setField ("_m_lat" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); +if (true) break; + +case 339: +//C +this.state = 340; +; + BA.debugLineNum = 1095;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; +Debug.ShouldStop(64); +if (true) break; + +case 340: +//if +this.state = 345; +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_m_lat" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 5))) { +this.state = 342; +;}if (true) break; + +case 342: +//C +this.state = 345; +__ref.setField ("_m_lat" /*RemoteObject*/ ,BA.ObjectToString("0")); +if (true) break; + +case 345: +//C +this.state = 346; +; + BA.debugLineNum = 1096;BA.debugLine="m_lon = \"0\""; +Debug.ShouldStop(128); +__ref.setField ("_m_lon" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1097;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon"; +Debug.ShouldStop(256); +if (true) break; + +case 346: +//if +this.state = 351; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))),BA.ObjectToString(""))) { +this.state = 348; +;}if (true) break; + +case 348: +//C +this.state = 351; +__ref.setField ("_m_lon" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); +if (true) break; + +case 351: +//C +this.state = 352; +; + BA.debugLineNum = 1098;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; +Debug.ShouldStop(512); +if (true) break; + +case 352: +//if +this.state = 357; +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_m_lon" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 5))) { +this.state = 354; +;}if (true) break; + +case 354: +//C +this.state = 357; +__ref.setField ("_m_lon" /*RemoteObject*/ ,BA.ObjectToString("0")); +if (true) break; + +case 357: +//C +this.state = 358; +; + BA.debugLineNum = 1099;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(1024); +__ref.setField ("_la_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 1101;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; +Debug.ShouldStop(4096); +if (true) break; + +case 358: +//if +this.state = 369; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO"))),BA.ObjectToString("0"))) { +this.state = 360; +}else { +this.state = 368; +}if (true) break; + +case 360: +//C +this.state = 361; + BA.debugLineNum = 1102;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SIN CODIGO")); + BA.debugLineNum = 1103;BA.debugLine="L_QR.TextColor = Colors.Red"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1104;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM"; +Debug.ShouldStop(32768); +if (true) break; + +case 361: +//if +this.state = 366; +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("32")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("33")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { +this.state = 363; +;}if (true) break; + +case 363: +//C +this.state = 366; +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",BA.ObjectToBoolean(RemoteObject.solveBoolean(".",parent.__c.getField(true,"True")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"getVisible"),parent.__c.getField(true,"True")))); +if (true) break; + +case 366: +//C +this.state = 369; +; + BA.debugLineNum = 1105;BA.debugLine="BT_QR.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 368: +//C +this.state = 369; + BA.debugLineNum = 1107;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO"))))); + BA.debugLineNum = 1108;BA.debugLine="L_QR.TextColor = Colors.Blue"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1109;BA.debugLine="BT_QR.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 369: +//C +this.state = 370; +; + if (true) break; + +case 370: +//C +this.state = 419; +; + BA.debugLineNum = 1112;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1113;BA.debugLine="s.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 372: +//C +this.state = 373; + BA.debugLineNum = 1116;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 1117;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1118;BA.debugLine="s.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1119;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 373: +//if +this.state = 418; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 375; +}if (true) break; + +case 375: +//C +this.state = 376; + BA.debugLineNum = 1120;BA.debugLine="c.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1121;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))); + BA.debugLineNum = 1122;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO"; +Debug.ShouldStop(2); +__ref.getField(false,"_la_cuenta_gallina" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))); + BA.debugLineNum = 1123;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))))); + BA.debugLineNum = 1124;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; +Debug.ShouldStop(8); +__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT")))))); + BA.debugLineNum = 1125;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_COLONIA"))))); + BA.debugLineNum = 1126;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_la_edo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EDO"))))); + BA.debugLineNum = 1127;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1"))))); + BA.debugLineNum = 1128;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2"))))); + BA.debugLineNum = 1129;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))))); + BA.debugLineNum = 1130;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\""; +Debug.ShouldStop(512); +__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))))); + BA.debugLineNum = 1131;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(1024); +__ref.setField ("_telefono" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))); + BA.debugLineNum = 1132;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_label19" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO"))))); + BA.debugLineNum = 1133;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '###"; +Debug.ShouldStop(4096); +__ref.setField ("_bcredito" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO")))); + BA.debugLineNum = 1136;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 376: +//if +this.state = 381; +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))) { +this.state = 378; +}else { +this.state = 380; +}if (true) break; + +case 378: +//C +this.state = 381; + BA.debugLineNum = 1137;BA.debugLine="l_total.Text = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + if (true) break; + +case 380: +//C +this.state = 381; + BA.debugLineNum = 1139;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOTAL"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))); + if (true) break; + +case 381: +//C +this.state = 382; +; + BA.debugLineNum = 1141;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_total_cliente" /*RemoteObject*/ ,__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))); + BA.debugLineNum = 1142;BA.debugLine="m_lat = \"0\""; +Debug.ShouldStop(2097152); +__ref.setField ("_m_lat" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1143;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat ="; +Debug.ShouldStop(4194304); +if (true) break; + +case 382: +//if +this.state = 387; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))),BA.ObjectToString(""))) { +this.state = 384; +;}if (true) break; + +case 384: +//C +this.state = 387; +__ref.setField ("_m_lat" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); +if (true) break; + +case 387: +//C +this.state = 388; +; + BA.debugLineNum = 1144;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; +Debug.ShouldStop(8388608); +if (true) break; + +case 388: +//if +this.state = 393; +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_m_lat" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 5))) { +this.state = 390; +;}if (true) break; + +case 390: +//C +this.state = 393; +__ref.setField ("_m_lat" /*RemoteObject*/ ,BA.ObjectToString("0")); +if (true) break; + +case 393: +//C +this.state = 394; +; + BA.debugLineNum = 1145;BA.debugLine="m_lon = \"0\""; +Debug.ShouldStop(16777216); +__ref.setField ("_m_lon" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1146;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon"; +Debug.ShouldStop(33554432); +if (true) break; + +case 394: +//if +this.state = 399; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))),BA.ObjectToString(""))) { +this.state = 396; +;}if (true) break; + +case 396: +//C +this.state = 399; +__ref.setField ("_m_lon" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); +if (true) break; + +case 399: +//C +this.state = 400; +; + BA.debugLineNum = 1147;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; +Debug.ShouldStop(67108864); +if (true) break; + +case 400: +//if +this.state = 405; +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_m_lon" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 5))) { +this.state = 402; +;}if (true) break; + +case 402: +//C +this.state = 405; +__ref.setField ("_m_lon" /*RemoteObject*/ ,BA.ObjectToString("0")); +if (true) break; + +case 405: +//C +this.state = 406; +; + BA.debugLineNum = 1148;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(134217728); +__ref.setField ("_la_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 1150;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; +Debug.ShouldStop(536870912); +if (true) break; + +case 406: +//if +this.state = 417; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO"))),BA.ObjectToString("0"))) { +this.state = 408; +}else { +this.state = 416; +}if (true) break; + +case 408: +//C +this.state = 409; + BA.debugLineNum = 1151;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SIN CODIGO")); + BA.debugLineNum = 1152;BA.debugLine="L_QR.TextColor = Colors.Red"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1153;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM"; +Debug.ShouldStop(1); +if (true) break; + +case 409: +//if +this.state = 414; +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("32")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("33")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { +this.state = 411; +;}if (true) break; + +case 411: +//C +this.state = 414; +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",BA.ObjectToBoolean(RemoteObject.solveBoolean(".",parent.__c.getField(true,"True")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"getVisible"),parent.__c.getField(true,"True")))); +if (true) break; + +case 414: +//C +this.state = 417; +; + BA.debugLineNum = 1154;BA.debugLine="BT_QR.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 416: +//C +this.state = 417; + BA.debugLineNum = 1156;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO"))))); + BA.debugLineNum = 1157;BA.debugLine="L_QR.TextColor = Colors.Blue"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1158;BA.debugLine="BT_QR.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 417: +//C +this.state = 418; +; + if (true) break; + +case 418: +//C +this.state = 419; +; + BA.debugLineNum = 1161;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1162;BA.debugLine="s.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 419: +//C +this.state = 420; +; + BA.debugLineNum = 1166;BA.debugLine="Starter.idCliente = la_cuenta.text"; +Debug.ShouldStop(8192); +parent._starter._idcliente /*RemoteObject*/ = __ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"); + BA.debugLineNum = 1167;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CAT_"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'")))); + BA.debugLineNum = 1168;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 420: +//if +this.state = 423; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 422; +}if (true) break; + +case 422: +//C +this.state = 423; + BA.debugLineNum = 1169;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1170;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(131072); +_geo = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("geo", _geo);Debug.locals.put("geo", _geo); + if (true) break; + +case 423: +//C +this.state = 424; +; + BA.debugLineNum = 1172;BA.debugLine="c.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1174;BA.debugLine="If geo = \"0\" Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 424: +//if +this.state = 443; +if (RemoteObject.solveBoolean("=",_geo,BA.ObjectToString("0"))) { +this.state = 426; +}else +{ BA.debugLineNum = 1189;BA.debugLine="Else If geo = \"1\" And distance > 100 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_geo,BA.ObjectToString("1")) && RemoteObject.solveBoolean(">",__ref.getField(true,"_distance" /*RemoteObject*/ ),BA.numberCast(long.class, 100))) { +this.state = 438; +}} +if (true) break; + +case 426: +//C +this.state = 427; + BA.debugLineNum = 1175;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 1176;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 1177;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(16777216); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1178;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 427: +//if +this.state = 436; +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 429; +}if (true) break; + +case 429: +//C +this.state = 430; + BA.debugLineNum = 1179;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(67108864); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1180;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(134217728); +if (true) break; + +case 430: +//if +this.state = 435; +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { +this.state = 432; +}else +{ BA.debugLineNum = 1182;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { +this.state = 434; +}} +if (true) break; + +case 432: +//C +this.state = 435; + BA.debugLineNum = 1181;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 434: +//C +this.state = 435; + BA.debugLineNum = 1183;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 435: +//C +this.state = 436; +; + if (true) break; + +case 436: +//C +this.state = 443; +; + BA.debugLineNum = 1187;BA.debugLine="precision = \"1\""; +Debug.ShouldStop(4); +__ref.setField ("_precision" /*RemoteObject*/ ,BA.ObjectToString("1")); + if (true) break; + +case 438: +//C +this.state = 439; + BA.debugLineNum = 1190;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1191;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1192;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1193;BA.debugLine="If b_Inicio_Fin_venta.IsInitialized Then"; +Debug.ShouldStop(256); +if (true) break; + +case 439: +//if +this.state = 442; +if (__ref.getField(false,"_b_inicio_fin_venta" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 441; +}if (true) break; + +case 441: +//C +this.state = 442; + BA.debugLineNum = 1195;BA.debugLine="b_Inicio_Fin_venta.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_b_inicio_fin_venta" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 442: +//C +this.state = 443; +; + if (true) break; + +case 443: +//C +this.state = 444; +; + BA.debugLineNum = 1199;BA.debugLine="gest.Typeface =Typeface.CreateNew(Typeface.FONTAW"; +Debug.ShouldStop(16384); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(false,"setTypeface",parent.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(parent.__c.getField(false,"Typeface").runMethod(false,"getFONTAWESOME")),(Object)(parent.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 1200;BA.debugLine="gest.Text = \" Preventa\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" Preventa")); + BA.debugLineNum = 1201;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Then gest.Tex"; +Debug.ShouldStop(65536); +if (true) break; + +case 444: +//if +this.state = 449; +if (RemoteObject.solveBoolean("=",parent._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("VENTA"))) { +this.state = 446; +;}if (true) break; + +case 446: +//C +this.state = 449; +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" Venta")); +if (true) break; + +case 449: +//C +this.state = 450; +; + BA.debugLineNum = 1203;BA.debugLine="If la_cuenta.Text.trim = \"0\" Then gest.Text = \"Ca"; +Debug.ShouldStop(262144); +if (true) break; + +case 450: +//if +this.state = 455; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"),BA.ObjectToString("0"))) { +this.state = 452; +;}if (true) break; + +case 452: +//C +this.state = 455; +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Carga Abordo")); +if (true) break; + +case 455: +//C +this.state = 456; +; + BA.debugLineNum = 1205;BA.debugLine="Log(Subs.traeRuta)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","050463374",parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 1206;BA.debugLine="If Subs.hayPedido Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 456: +//if +this.state = 461; +if (parent._subs.runMethod(true,"_haypedido" /*RemoteObject*/ ,__ref.getField(false, "ba")).get().booleanValue()) { +this.state = 458; +}else { +this.state = 460; +}if (true) break; + +case 458: +//C +this.state = 461; + BA.debugLineNum = 1207;BA.debugLine="B_IMP.Enabled = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_imp" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"True")); + BA.debugLineNum = 1208;BA.debugLine="b_enviarTicket.Enabled = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_b_enviarticket" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + if (true) break; + +case 460: +//C +this.state = 461; + BA.debugLineNum = 1210;BA.debugLine="B_IMP.Enabled = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_b_imp" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + BA.debugLineNum = 1211;BA.debugLine="b_enviarTicket.Enabled = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_b_enviarticket" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + if (true) break; +; + BA.debugLineNum = 1214;BA.debugLine="If ALMACEN = 46 Or ALMACEN = 6 Then"; +Debug.ShouldStop(536870912); + +case 461: +//if +this.state = 478; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(46)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { +this.state = 463; +}else { +this.state = 477; +}if (true) break; + +case 463: +//C +this.state = 464; + BA.debugLineNum = 1215;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IfNull(PL_BAN"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT IfNull(PL_BANDERA, 0) AS PL_BANDERA FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 1216;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 464: +//if +this.state = 475; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 466; +}else { +this.state = 474; +}if (true) break; + +case 466: +//C +this.state = 467; + BA.debugLineNum = 1217;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1218;BA.debugLine="If c.GetString(\"PL_BANDERA\") = 0 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 467: +//if +this.state = 472; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PL_BANDERA"))),BA.NumberToString(0))) { +this.state = 469; +}else { +this.state = 471; +}if (true) break; + +case 469: +//C +this.state = 472; + BA.debugLineNum = 1219;BA.debugLine="btnPlanLealtad.Visible = True"; +Debug.ShouldStop(4); +__ref.getField(false,"_btnplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 471: +//C +this.state = 472; + BA.debugLineNum = 1221;BA.debugLine="btnPlanLealtad.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_btnplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 472: +//C +this.state = 475; +; + if (true) break; + +case 474: +//C +this.state = 475; + BA.debugLineNum = 1224;BA.debugLine="btnPlanLealtad.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_btnplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 475: +//C +this.state = 478; +; + if (true) break; + +case 477: +//C +this.state = 478; + BA.debugLineNum = 1227;BA.debugLine="btnPlanLealtad.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_btnplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; +; + BA.debugLineNum = 1238;BA.debugLine="If ALMACEN = 88 Then"; +Debug.ShouldStop(2097152); + +case 478: +//if +this.state = 511; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(88))) { +this.state = 480; +}if (true) break; + +case 480: +//C +this.state = 481; + BA.debugLineNum = 1239;BA.debugLine="If Not(Subs.TraeMontoProd) Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 481: +//if +this.state = 510; +if (parent.__c.runMethod(true,"Not",(Object)(parent._subs.runMethod(true,"_traemontoprod" /*RemoteObject*/ ,__ref.getField(false, "ba")))).get().booleanValue()) { +this.state = 483; +}if (true) break; + +case 483: +//C +this.state = 484; + BA.debugLineNum = 1240;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr"; +Debug.ShouldStop(8388608); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis = 'MYKONOS_01' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1242;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(33554432); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 1244;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (true) break; + +case 484: +//if +this.state = 509; +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 486; +}else { +this.state = 498; +}if (true) break; + +case 486: +//C +this.state = 487; + BA.debugLineNum = 1245;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 1246;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iF"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")})))); + BA.debugLineNum = 1247;BA.debugLine="s.Position=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1248;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt."; +Debug.ShouldStop(-2147483648); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 1249;BA.debugLine="s5.Position = 0"; +Debug.ShouldStop(1); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1250;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 487: +//if +this.state = 496; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 489; +}if (true) break; + +case 489: +//C +this.state = 490; + BA.debugLineNum = 1251;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1252;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; +Debug.ShouldStop(8); +if (true) break; + +case 490: +//if +this.state = 495; +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))) { +this.state = 492; +}else { +this.state = 494; +}if (true) break; + +case 492: +//C +this.state = 495; + BA.debugLineNum = 1253;BA.debugLine="l_total.Text = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + if (true) break; + +case 494: +//C +this.state = 495; + BA.debugLineNum = 1255;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TO"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),BA.numberCast(double.class, _s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))}, "+",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))); + if (true) break; + +case 495: +//C +this.state = 496; +; + BA.debugLineNum = 1257;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s"; +Debug.ShouldStop(256); +__ref.setField ("_total_cliente" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),BA.numberCast(double.class, _s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))}, "+",1, 0))); + if (true) break; + +case 496: +//C +this.state = 509; +; + if (true) break; + +case 498: +//C +this.state = 499; + BA.debugLineNum = 1260;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 1261;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum"; +Debug.ShouldStop(4096); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1262;BA.debugLine="s.Position=0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1263;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 499: +//if +this.state = 508; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 501; +}if (true) break; + +case 501: +//C +this.state = 502; + BA.debugLineNum = 1264;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1265;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 502: +//if +this.state = 507; +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))) { +this.state = 504; +}else { +this.state = 506; +}if (true) break; + +case 504: +//C +this.state = 507; + BA.debugLineNum = 1266;BA.debugLine="l_total.Text = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + if (true) break; + +case 506: +//C +this.state = 507; + BA.debugLineNum = 1268;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOT"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))); + if (true) break; + +case 507: +//C +this.state = 508; +; + BA.debugLineNum = 1270;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_total_cliente" /*RemoteObject*/ ,__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))); + if (true) break; + +case 508: +//C +this.state = 509; +; + if (true) break; + +case 509: +//C +this.state = 510; +; + if (true) break; + +case 510: +//C +this.state = 511; +; + if (true) break; + +case 511: +//C +this.state = 512; +; + BA.debugLineNum = 1276;BA.debugLine="Log(\"============================================"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","050463445",RemoteObject.createImmutable("============================================================"),0); + BA.debugLineNum = 1277;BA.debugLine="Log(\"============================================"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("LogImpl","050463446",RemoteObject.createImmutable("============================================================"),0); + BA.debugLineNum = 1278;BA.debugLine="Log(\"============================================"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("LogImpl","050463447",RemoteObject.createImmutable("============================================================"),0); + BA.debugLineNum = 1280;BA.debugLine="l_total.Text = Subs.calculaTotalConPromoXRango(Su"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + BA.debugLineNum = 1283;BA.debugLine="SV_ENCUESTA.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1284;BA.debugLine="P_gallina.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_gallina" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1285;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1286;BA.debugLine="p_camara.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1287;BA.debugLine="Panel2.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_panel2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1288;BA.debugLine="p_comentario.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_comentario" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1289;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1290;BA.debugLine="p_encuesta.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1291;BA.debugLine="pnlPlanLealtad.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1292;BA.debugLine="Panel10.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_panel10" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1293;BA.debugLine="p_transparentePDF.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1294;BA.debugLine="CH_FACTURA.Checked = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_ch_factura" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",parent.__c.getField(true,"False")); + BA.debugLineNum = 1295;BA.debugLine="Dim fac As Cursor=B4XPages.MainPage.skmt.ExecQuer"; +Debug.ShouldStop(16384); +_fac = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fac = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select ifnull(SUM(PE_COSTO_TOT), 0) As TOTAL_CLIE, SUM(PE_CANT) As CANT_CLIE, PC_FACTURA FROM PEDIDO_CLIENTE INNER JOIN PEDIDO ON PEDIDO_CLIENTE.PC_CLIENTE = PEDIDO.PE_CLIENTE WHERE (PE_CLIENTE IN (Select cuenta from cuentaa))"))));Debug.locals.put("fac", _fac);Debug.locals.put("fac", _fac); + BA.debugLineNum = 1296;BA.debugLine="fac.Position = 0"; +Debug.ShouldStop(32768); +_fac.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1297;BA.debugLine="Private factura As String = 0"; +Debug.ShouldStop(65536); +_factura = BA.NumberToString(0);Debug.locals.put("factura", _factura);Debug.locals.put("factura", _factura); + BA.debugLineNum = 1298;BA.debugLine="If fac.GetString(\"PC_FACTURA\") <> Null And IsNumb"; +Debug.ShouldStop(131072); +if (true) break; + +case 512: +//if +this.state = 517; +if (RemoteObject.solveBoolean("N",_fac.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA")))) && RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"IsNumber",(Object)(_fac.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA"))))))) { +this.state = 514; +;}if (true) break; + +case 514: +//C +this.state = 517; +_factura = _fac.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA")));Debug.locals.put("factura", _factura); +if (true) break; + +case 517: +//C +this.state = 518; +; + BA.debugLineNum = 1299;BA.debugLine="If factura = \"1\" Then CH_FACTURA.Checked = True"; +Debug.ShouldStop(262144); +if (true) break; + +case 518: +//if +this.state = 523; +if (RemoteObject.solveBoolean("=",_factura,BA.ObjectToString("1"))) { +this.state = 520; +;}if (true) break; + +case 520: +//C +this.state = 523; +__ref.getField(false,"_ch_factura" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",parent.__c.getField(true,"True")); +if (true) break; + +case 523: +//C +this.state = 524; +; + BA.debugLineNum = 1302;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 1303;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1304;BA.debugLine="If c.GetInt(\"CAT_CL_BCREDITO\") = 1 Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 524: +//if +this.state = 541; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.numberCast(double.class, 1))) { +this.state = 526; +}else +{ BA.debugLineNum = 1340;BA.debugLine="Else If c.GetInt(\"CAT_CL_BCREDITO\") = 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.numberCast(double.class, 0))) { +this.state = 540; +}} +if (true) break; + +case 526: +//C +this.state = 527; + BA.debugLineNum = 1306;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(33554432); +_pagarepen = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pagarepen = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pagarepen", _pagarepen);Debug.locals.put("pagarepen", _pagarepen); + BA.debugLineNum = 1307;BA.debugLine="If pagarepen.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 527: +//if +this.state = 538; +if (RemoteObject.solveBoolean(">",_pagarepen.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 529; +}else { +this.state = 537; +}if (true) break; + +case 529: +//C +this.state = 530; + BA.debugLineNum = 1308;BA.debugLine="pagarepen.Position = 0"; +Debug.ShouldStop(134217728); +_pagarepen.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1309;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +Debug.ShouldStop(268435456); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 1310;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString"; +Debug.ShouldStop(536870912); +_fechainicio = _pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA")));Debug.locals.put("FechaInicio", _fechainicio);Debug.locals.put("FechaInicio", _fechainicio); + BA.debugLineNum = 1312;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("LogImpl","050463481",_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA"))),0); + BA.debugLineNum = 1314;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fe"; +Debug.ShouldStop(2); +_ticksinicio = parent.__c.getField(false,"DateTime").runMethod(true,"DateParse",(Object)(_fechainicio));Debug.locals.put("TicksInicio", _ticksinicio);Debug.locals.put("TicksInicio", _ticksinicio); + BA.debugLineNum = 1315;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateT"; +Debug.ShouldStop(4); +_tickshoy = parent.__c.getField(false,"DateTime").runMethod(true,"DateParse",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))));Debug.locals.put("TicksHoy", _tickshoy);Debug.locals.put("TicksHoy", _tickshoy); + BA.debugLineNum = 1318;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIn"; +Debug.ShouldStop(32); +_diferenciadias = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_tickshoy,_ticksinicio}, "-",1, 2)),parent.__c.getField(false,"DateTime").getField(true,"TicksPerDay")}, "/",0, 0));Debug.locals.put("DiferenciaDias", _diferenciadias);Debug.locals.put("DiferenciaDias", _diferenciadias); + BA.debugLineNum = 1321;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("LogImpl","050463490",(RemoteObject.concat(RemoteObject.createImmutable("Días transcurridos: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_diferenciadias))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1323;BA.debugLine="Dim c4 As Cursor=B4XPages.MainPage.skmt.ExecQue"; +Debug.ShouldStop(1024); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 1324;BA.debugLine="c4.Position = 0"; +Debug.ShouldStop(2048); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1326;BA.debugLine="If DiferenciaDias <= c4.GetInt(\"CAT_CL_DIASCRED"; +Debug.ShouldStop(8192); +if (true) break; + +case 530: +//if +this.state = 535; +if (RemoteObject.solveBoolean("k",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { +this.state = 532; +}else +{ BA.debugLineNum = 1329;BA.debugLine="Else If DiferenciaDias > c4.GetInt(\"CAT_CL_DIAS"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { +this.state = 534; +}} +if (true) break; + +case 532: +//C +this.state = 535; + BA.debugLineNum = 1327;BA.debugLine="l_credito.Color = Colors.Green"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_credito" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 1328;BA.debugLine="l_limite.Color = Colors.Green"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_limite" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").getField(true,"Green")); + if (true) break; + +case 534: +//C +this.state = 535; + BA.debugLineNum = 1330;BA.debugLine="l_credito.Color = Colors.Red"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_credito" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1331;BA.debugLine="l_limite.Color = Colors.Red"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_limite" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").getField(true,"Red")); + if (true) break; + +case 535: +//C +this.state = 538; +; + if (true) break; + +case 537: +//C +this.state = 538; + BA.debugLineNum = 1334;BA.debugLine="l_credito.Color = Colors.Transparent"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_credito" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").getField(true,"Transparent")); + BA.debugLineNum = 1335;BA.debugLine="l_limite.Color = Colors.Transparent"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_limite" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").getField(true,"Transparent")); + if (true) break; + +case 538: +//C +this.state = 541; +; + BA.debugLineNum = 1337;BA.debugLine="l_credito.Visible = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 1338;BA.debugLine="l_limite.Visible = True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_limite" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 1339;BA.debugLine="l_limite.Text = c.GetInt(\"CAT_CL_LIMITECREDITO\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_limite" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_LIMITECREDITO"))))); + if (true) break; + +case 540: +//C +this.state = 541; + BA.debugLineNum = 1341;BA.debugLine="l_credito.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1342;BA.debugLine="l_limite.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_limite" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 541: +//C +this.state = 542; +; + BA.debugLineNum = 1346;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1347;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1348;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1350;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt"; +Debug.ShouldStop(32); +_coloressaldo = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coloressaldo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_CLASIFICADOR3,0) AS CAT_CL_CLASIFICADOR3, IFNULL(CAT_CL_CLASIFICADOR4,0) AS CAT_CL_CLASIFICADOR4, IFNULL(CAT_CL_CLASIFICADOR2,'') AS CAT_CL_CLASIFICADOR2 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))));Debug.locals.put("coloressaldo", _coloressaldo);Debug.locals.put("coloressaldo", _coloressaldo); + BA.debugLineNum = 1351;BA.debugLine="coloressaldo.Position = 0"; +Debug.ShouldStop(64); +_coloressaldo.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1352;BA.debugLine="la_saldooper.Text = NumberFormat2(coloressaldo.Ge"; +Debug.ShouldStop(128); +__ref.getField(false,"_la_saldooper" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"NumberFormat2",(Object)(_coloressaldo.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_CLASIFICADOR3")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(parent.__c.getField(true,"False"))))); + BA.debugLineNum = 1353;BA.debugLine="l_cajetillas.Text = NumberFormat2(coloressaldo.Ge"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_cajetillas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"NumberFormat2",(Object)(_coloressaldo.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_CLASIFICADOR4")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(parent.__c.getField(true,"False"))))); + BA.debugLineNum = 1354;BA.debugLine="l_animal.Text = coloressaldo.GetString(\"CAT_CL_CL"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_animal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_coloressaldo.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2"))))); + BA.debugLineNum = 1355;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\")"; +Debug.ShouldStop(1024); +if (true) break; + +case 542: +//if +this.state = 553; +if (RemoteObject.solveBoolean("=",_coloressaldo.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2"))),BA.ObjectToString("Chimpancé KIN"))) { +this.state = 544; +}else +{ BA.debugLineNum = 1358;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_coloressaldo.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2"))),BA.ObjectToString("Delfín Niky"))) { +this.state = 546; +}else +{ BA.debugLineNum = 1361;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_coloressaldo.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2"))),BA.ObjectToString("Tortuga KOPI"))) { +this.state = 548; +}else +{ BA.debugLineNum = 1364;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_coloressaldo.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2"))),BA.ObjectToString("Lechuza MON"))) { +this.state = 550; +}else { +this.state = 552; +}}}} +if (true) break; + +case 544: +//C +this.state = 553; + BA.debugLineNum = 1356;BA.debugLine="l_animal.Color = Colors.RGB(84,255,172)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_animal" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 84)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 172)))); + BA.debugLineNum = 1357;BA.debugLine="Label22.Color = Colors.RGB(84,255,172)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 84)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 172)))); + if (true) break; + +case 546: +//C +this.state = 553; + BA.debugLineNum = 1359;BA.debugLine="l_animal.Color = Colors.RGB(84,255,245)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_animal" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 84)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 245)))); + BA.debugLineNum = 1360;BA.debugLine="Label22.Color = Colors.RGB(84,255,245)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 84)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 245)))); + if (true) break; + +case 548: +//C +this.state = 553; + BA.debugLineNum = 1362;BA.debugLine="l_animal.Color = Colors.RGB(255,123,84)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_animal" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 123)),(Object)(BA.numberCast(int.class, 84)))); + BA.debugLineNum = 1363;BA.debugLine="Label22.Color = Colors.RGB(255,123,84)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 123)),(Object)(BA.numberCast(int.class, 84)))); + if (true) break; + +case 550: +//C +this.state = 553; + BA.debugLineNum = 1365;BA.debugLine="l_animal.Color = Colors.RGB(255,250,140)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_animal" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 250)),(Object)(BA.numberCast(int.class, 140)))); + BA.debugLineNum = 1366;BA.debugLine="Label22.Color = Colors.RGB(255,250,140)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 250)),(Object)(BA.numberCast(int.class, 140)))); + if (true) break; + +case 552: +//C +this.state = 553; + BA.debugLineNum = 1368;BA.debugLine="l_animal.Color = Colors.Transparent"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_animal" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").getField(true,"Transparent")); + BA.debugLineNum = 1369;BA.debugLine="Label22.Color = Colors.Transparent"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runVoidMethod ("setColor",parent.__c.getField(false,"Colors").getField(true,"Transparent")); + if (true) break; + +case 553: +//C +this.state = -1; +; + BA.debugLineNum = 1374;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _resultc) throws Exception{ +} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2937); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_cliente","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2937); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 2940;BA.debugLine="cuest.encuestaIniciada = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).setField ("_encuestainiciada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + BA.debugLineNum = 2941;BA.debugLine="cuest.ocultPanelPregunta"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_ocultpanelpregunta" /*RemoteObject*/ ); + BA.debugLineNum = 2942;BA.debugLine="If bitacora.p_transparenteInicioFin2.Visible And"; +Debug.ShouldStop(536870912); +if (true) break; + +case 1: +//if +this.state = 16; +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_bitacora" /*RemoteObject*/ ).getField(false,"_p_transparenteiniciofin2" /*RemoteObject*/ ).runMethod(true,"getVisible")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_bitacora" /*RemoteObject*/ ).getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("TERMINAR VISITA"))) { +this.state = 3; +}else +{ BA.debugLineNum = 2945;BA.debugLine="Else if Subs.hayPedido Then"; +Debug.ShouldStop(1); +if (parent._subs.runMethod(true,"_haypedido" /*RemoteObject*/ ,__ref.getField(false, "ba")).get().booleanValue()) { +this.state = 5; +}else +{ BA.debugLineNum = 2948;BA.debugLine="else If p_encuesta.Visible Then"; +Debug.ShouldStop(8); +if (__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 7; +}else +{ BA.debugLineNum = 2950;BA.debugLine="Else iF p_camara.Visible Then"; +Debug.ShouldStop(32); +if (__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 9; +}else +{ BA.debugLineNum = 2954;BA.debugLine="else If p_pregunta1.Visible Then"; +Debug.ShouldStop(512); +if (__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 11; +}else +{ BA.debugLineNum = 2956;BA.debugLine="Else if SV_ENCUESTA.Visible Then"; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 13; +}else { +this.state = 15; +}}}}}} +if (true) break; + +case 3: +//C +this.state = 16; + BA.debugLineNum = 2943;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Por favor presione el botón de TERMINAR VISITA")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 2944;BA.debugLine="Return False"; +Debug.ShouldStop(-2147483648); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 5: +//C +this.state = 16; + BA.debugLineNum = 2946;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Por favor presione el botón de GUARDAR")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 2947;BA.debugLine="Return False"; +Debug.ShouldStop(4); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 7: +//C +this.state = 16; + BA.debugLineNum = 2949;BA.debugLine="p_encuesta.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 9: +//C +this.state = 16; + BA.debugLineNum = 2951;BA.debugLine="Return False"; +Debug.ShouldStop(64); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 11: +//C +this.state = 16; + BA.debugLineNum = 2955;BA.debugLine="p_pregunta1.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 13: +//C +this.state = 16; + BA.debugLineNum = 2957;BA.debugLine="SV_ENCUESTA.visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2958;BA.debugLine="p_cliente.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_cliente" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 2961;BA.debugLine="Starter.enCliente = False"; +Debug.ShouldStop(65536); +parent._starter._encliente /*RemoteObject*/ = parent.__c.getField(true,"False"); + BA.debugLineNum = 2962;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(131072); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 2965;BA.debugLine="Return False"; +Debug.ShouldStop(1048576); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 2966;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,488); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_cliente","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 488;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(128); + BA.debugLineNum = 489;BA.debugLine="Root = Root1"; +Debug.ShouldStop(256); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 492;BA.debugLine="Root.LoadLayout(\"cliente\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("cliente")),__ref.getField(false, "ba")); + BA.debugLineNum = 493;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(4096); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_cliente.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 494;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",c_cliente.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 495;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(16384); +c_cliente.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_cliente.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 497;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 498;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 499;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +Debug.ShouldStop(262144); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 500;BA.debugLine="s.Position=0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 501;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 502;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 503;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))); + BA.debugLineNum = 504;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(8388608); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))); + BA.debugLineNum = 505;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))))); + BA.debugLineNum = 506;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c."; +Debug.ShouldStop(33554432); +__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT")))))); + BA.debugLineNum = 507;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_COLONIA"))))); + BA.debugLineNum = 508;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_la_edo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EDO"))))); + BA.debugLineNum = 510;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1"))))); + BA.debugLineNum = 511;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2"))))); + BA.debugLineNum = 512;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))))); + BA.debugLineNum = 513;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))))); + BA.debugLineNum = 514;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\""; +Debug.ShouldStop(2); +__ref.getField(false,"_la_saldotot" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO"))))); + BA.debugLineNum = 515;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_la_saldooper" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EMAIL"))))); + BA.debugLineNum = 516;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))); + BA.debugLineNum = 517;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(16); +__ref.setField ("_total_cliente" /*RemoteObject*/ ,__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))); + BA.debugLineNum = 518;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")"; +Debug.ShouldStop(32); +__ref.setField ("_monto_compra" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))); + }; + BA.debugLineNum = 520;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 521;BA.debugLine="s.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 522;BA.debugLine="File.Copy(File.DirAssets,\"guna-fondo.jpg\",xui.Def"; +Debug.ShouldStop(512); +c_cliente.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_cliente.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("guna-fondo.jpg")),(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getDefaultFolder")),(Object)(RemoteObject.createImmutable("guna-fondo.jpg"))); + BA.debugLineNum = 523;BA.debugLine="TOMAR_FOTO = 0"; +Debug.ShouldStop(1024); +__ref.setField ("_tomar_foto" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 524;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_btadmin" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("BlueTeeth"))); + BA.debugLineNum = 525;BA.debugLine="cmp20.Initialize(\"Printer\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Printer"))); + BA.debugLineNum = 526;BA.debugLine="SV_ENCUESTA.Height = Root.Height"; +Debug.ShouldStop(8192); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 527;BA.debugLine="SV_ENCUESTA.Width = Root.Height"; +Debug.ShouldStop(16384); +__ref.getField(false,"_sv_encuesta" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 528;BA.debugLine="p_pregunta1.Height = Root.Height"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 529;BA.debugLine="p_pregunta1.Width = Root.Height"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_pregunta1" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 530;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 530;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 531;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 531;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 532;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 532;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 533;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 533;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 534;BA.debugLine="Subs.centraPanel(p_ticketImpreso, p_transparenteT"; +Debug.ShouldStop(2097152); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_ticketimpreso" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 535;BA.debugLine="Subs.centraPanel(p_envioPDF, p_transparentePDF.Wi"; +Debug.ShouldStop(4194304); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_enviopdf" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_transparentepdf" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 536;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_p_comentario" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 536;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_p_comentario" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 537;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_comentario" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 537;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_comentario" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 538;BA.debugLine="Subs.centraPanel(p_comentarios, p_comentario.Widt"; +Debug.ShouldStop(33554432); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_comentarios" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_comentario" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 539;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 540;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 541;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 542;BA.debugLine="l_version.Left = Root.Width - (l_version.Width +"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(10)}, "+",1, 1))}, "-",1, 1)); + BA.debugLineNum = 543;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, B4XPages.Main"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString("cuest")),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ )),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ))); + BA.debugLineNum = 544;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(("bitacora"))),(Object)(BA.ObjectToString("bitacora")),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ )),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_reqmanager" /*RemoteObject*/ ))); + BA.debugLineNum = 545;BA.debugLine="l_version.Left = Root.Width - l_version.Width"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "-",1, 1)); + BA.debugLineNum = 547;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _bt_qr_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("BT_QR_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3080); +if (RapidSub.canDelegate("bt_qr_click")) { return __ref.runUserSub(false, "c_cliente","bt_qr_click", __ref);} + BA.debugLineNum = 3080;BA.debugLine="Sub BT_QR_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 3081;BA.debugLine="sc.isportrait = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_sc" /*RemoteObject*/ ).setField ("isportrait",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 3082;BA.debugLine="sc.timeoutDuration = 45"; +Debug.ShouldStop(512); +__ref.getField(false,"_sc" /*RemoteObject*/ ).setField ("timeoutDuration",BA.numberCast(int.class, 45)); + BA.debugLineNum = 3083;BA.debugLine="sc.theViewFinderXfactor = 0.7"; +Debug.ShouldStop(1024); +__ref.getField(false,"_sc" /*RemoteObject*/ ).setField ("theViewFinderXfactor",BA.numberCast(double.class, 0.7)); + BA.debugLineNum = 3084;BA.debugLine="sc.theViewFinderYfactor = 0.5"; +Debug.ShouldStop(2048); +__ref.getField(false,"_sc" /*RemoteObject*/ ).setField ("theViewFinderYfactor",BA.numberCast(double.class, 0.5)); + BA.debugLineNum = 3085;BA.debugLine="sc.theResultColor = Colors.Green"; +Debug.ShouldStop(4096); +__ref.getField(false,"_sc" /*RemoteObject*/ ).setField ("theResultColor",c_cliente.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 3086;BA.debugLine="sc.mustVibrate = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_sc" /*RemoteObject*/ ).setField ("mustVibrate",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 3087;BA.debugLine="sc.BeginScan(\"sc\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_sc" /*RemoteObject*/ ).runVoidMethod ("BeginScan",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("sc"))); + BA.debugLineNum = 3088;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnaceptaplanlealtad_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnAceptaPlanLealtad_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7522); +if (RapidSub.canDelegate("btnaceptaplanlealtad_click")) { return __ref.runUserSub(false, "c_cliente","btnaceptaplanlealtad_click", __ref);} + BA.debugLineNum = 7522;BA.debugLine="Private Sub btnAceptaPlanLealtad_Click"; +Debug.ShouldStop(2); + BA.debugLineNum = 7524;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM PLAN_LE"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 7525;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7526;BA.debugLine="If c.RowCount = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7528;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert int"; +Debug.ShouldStop(128); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into PLAN_LEALTAD (PL_BANDERA, PL_CLIENTE) values ('1','"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 7529;BA.debugLine="pnlPlanLealtad.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7530;BA.debugLine="Log(\"AQUI\")"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","063111176",RemoteObject.createImmutable("AQUI"),0); + BA.debugLineNum = 7531;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_b4xpage_appear" /*void*/ ); + }else { + BA.debugLineNum = 7533;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE PLAN_LEALTAD"; +Debug.ShouldStop(4096); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("UPDATE PLAN_LEALTAD SET PL_BANDERA = 1 where PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 7534;BA.debugLine="pnlPlanLealtad.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7535;BA.debugLine="Log(\"AQUI2\")"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","063111181",RemoteObject.createImmutable("AQUI2"),0); + BA.debugLineNum = 7536;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_b4xpage_appear" /*void*/ ); + }; + BA.debugLineNum = 7538;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btncancelarplanlealtad_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnCancelarPlanLealtad_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7518); +if (RapidSub.canDelegate("btncancelarplanlealtad_click")) { return __ref.runUserSub(false, "c_cliente","btncancelarplanlealtad_click", __ref);} + BA.debugLineNum = 7518;BA.debugLine="Private Sub btnCancelarPlanLealtad_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 7519;BA.debugLine="pnlPlanLealtad.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7520;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnplanlealtad_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnPlanLealtad_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7513); +if (RapidSub.canDelegate("btnplanlealtad_click")) { return __ref.runUserSub(false, "c_cliente","btnplanlealtad_click", __ref);} + BA.debugLineNum = 7513;BA.debugLine="Private Sub btnPlanLealtad_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 7514;BA.debugLine="Subs.centraPanel(pnl_btns, pnlPlanLealtad.Width)"; +Debug.ShouldStop(33554432); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_pnl_btns" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 7515;BA.debugLine="pnlPlanLealtad.Visible = True"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_pnlplanlealtad" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7516;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calc_ean_checksum(RemoteObject __ref,RemoteObject _number) throws Exception{ +try { + Debug.PushSubsStack("calc_ean_checksum (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3123); +if (RapidSub.canDelegate("calc_ean_checksum")) { return __ref.runUserSub(false, "c_cliente","calc_ean_checksum", __ref, _number);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _co = RemoteObject.createImmutable('\0'); +RemoteObject _soma = RemoteObject.createImmutable(0); +RemoteObject _n = RemoteObject.createImmutable(0); +RemoteObject _digit = RemoteObject.createImmutable(0f); +Debug.locals.put("number", _number); + BA.debugLineNum = 3123;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; +Debug.ShouldStop(262144); + BA.debugLineNum = 3124;BA.debugLine="Dim i As Int"; +Debug.ShouldStop(524288); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 3125;BA.debugLine="Dim cO As Char"; +Debug.ShouldStop(1048576); +_co = RemoteObject.createImmutable('\0');Debug.locals.put("cO", _co); + BA.debugLineNum = 3126;BA.debugLine="Dim soma As Int"; +Debug.ShouldStop(2097152); +_soma = RemoteObject.createImmutable(0);Debug.locals.put("soma", _soma); + BA.debugLineNum = 3127;BA.debugLine="Dim n As Int"; +Debug.ShouldStop(4194304); +_n = RemoteObject.createImmutable(0);Debug.locals.put("n", _n); + BA.debugLineNum = 3128;BA.debugLine="Dim digit As Float"; +Debug.ShouldStop(8388608); +_digit = RemoteObject.createImmutable(0f);Debug.locals.put("digit", _digit); + BA.debugLineNum = 3129;BA.debugLine="soma = 0"; +Debug.ShouldStop(16777216); +_soma = BA.numberCast(int.class, 0);Debug.locals.put("soma", _soma); + BA.debugLineNum = 3130;BA.debugLine="For i=0 To number.Length - 1"; +Debug.ShouldStop(33554432); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_number.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = BA.numberCast(int.class, 0) ; +for (;(step7 > 0 && _i.get().intValue() <= limit7) || (step7 < 0 && _i.get().intValue() >= limit7) ;_i = RemoteObject.createImmutable((int)(0 + _i.get().intValue() + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3131;BA.debugLine="digit = number.SubString2(i,i+1)"; +Debug.ShouldStop(67108864); +_digit = BA.numberCast(float.class, _number.runMethod(true,"substring",(Object)(_i),(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1))));Debug.locals.put("digit", _digit); + BA.debugLineNum = 3132;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; +Debug.ShouldStop(134217728); +_n = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_digit,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(2)}, "%",0, 1)),RemoteObject.createImmutable(2),RemoteObject.createImmutable(1)}, "*+",1, 1))}, "*",0, 0));Debug.locals.put("n", _n); + BA.debugLineNum = 3133;BA.debugLine="soma=soma+n"; +Debug.ShouldStop(268435456); +_soma = RemoteObject.solve(new RemoteObject[] {_soma,_n}, "+",1, 1);Debug.locals.put("soma", _soma); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3135;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; +Debug.ShouldStop(1073741824); +if (true) return RemoteObject.concat(_number,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(10),(RemoteObject.solve(new RemoteObject[] {_soma,RemoteObject.createImmutable(10)}, "%",0, 1))}, "-",1, 1)),RemoteObject.createImmutable(10)}, "%",0, 1))); + BA.debugLineNum = 3136;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _camera1_picturetaken(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Camera1_PictureTaken (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7730); +if (RapidSub.canDelegate("camera1_picturetaken")) { return __ref.runUserSub(false, "c_cliente","camera1_picturetaken", __ref, _data);} +RemoteObject _filename = RemoteObject.createImmutable(""); +RemoteObject _dirp = RemoteObject.createImmutable(""); +RemoteObject _dir = RemoteObject.createImmutable(""); +RemoteObject _dir2 = RemoteObject.createImmutable(""); +RemoteObject _img = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Data", _data); + BA.debugLineNum = 7730;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 7732;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +Debug.ShouldStop(524288); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyyHHmmss")); + BA.debugLineNum = 7733;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\""; +Debug.ShouldStop(1048576); +__ref.setField ("_nombrefoto" /*RemoteObject*/ ,RemoteObject.concat(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable("_FOTO1.jpg"))); + BA.debugLineNum = 7734;BA.debugLine="teclado.HideKeyboard"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 7735;BA.debugLine="fototomada = nombrefoto"; +Debug.ShouldStop(4194304); +__ref.setField ("_fototomada" /*RemoteObject*/ ,__ref.getField(true,"_nombrefoto" /*RemoteObject*/ )); + BA.debugLineNum = 7738;BA.debugLine="Log(\"tome foto\")"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","063832072",RemoteObject.createImmutable("tome foto"),0); + BA.debugLineNum = 7739;BA.debugLine="Dim filename As String = fototomada"; +Debug.ShouldStop(67108864); +_filename = __ref.getField(true,"_fototomada" /*RemoteObject*/ );Debug.locals.put("filename", _filename);Debug.locals.put("filename", _filename); + BA.debugLineNum = 7740;BA.debugLine="Dim Dirp As String = File.DirInternal"; +Debug.ShouldStop(134217728); +_dirp = c_cliente.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("Dirp", _dirp);Debug.locals.put("Dirp", _dirp); + BA.debugLineNum = 7741;BA.debugLine="Dim Dir As String"; +Debug.ShouldStop(268435456); +_dir = RemoteObject.createImmutable("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 7742;BA.debugLine="Dim Dir2 As String"; +Debug.ShouldStop(536870912); +_dir2 = RemoteObject.createImmutable("");Debug.locals.put("Dir2", _dir2); + BA.debugLineNum = 7743;BA.debugLine="Try"; +Debug.ShouldStop(1073741824); +try { BA.debugLineNum = 7744;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(_dirp),(Object)(RemoteObject.createImmutable("/md"))); + BA.debugLineNum = 7745;BA.debugLine="Dir = \"/md\""; +Debug.ShouldStop(1); +_dir = BA.ObjectToString("/md");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 7746;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("LogImpl","063832080",RemoteObject.concat(RemoteObject.createImmutable("creado en promotoria "),_dirp,_dir),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e15) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e15.toString()); BA.debugLineNum = 7748;BA.debugLine="Dir = \"\""; +Debug.ShouldStop(8); +_dir = BA.ObjectToString("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 7749;BA.debugLine="Log(\"creado en raiz\")"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","063832083",RemoteObject.createImmutable("creado en raiz"),0); + }; + BA.debugLineNum = 7752;BA.debugLine="Try"; +Debug.ShouldStop(128); +try { BA.debugLineNum = 7753;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; +Debug.ShouldStop(256); +c_cliente.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(RemoteObject.concat(_dirp,_dir)),(Object)(RemoteObject.createImmutable("/reduccion"))); + BA.debugLineNum = 7754;BA.debugLine="Dir2 = \"/reduccion\""; +Debug.ShouldStop(512); +_dir2 = BA.ObjectToString("/reduccion");Debug.locals.put("Dir2", _dir2); + BA.debugLineNum = 7755;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","063832089",RemoteObject.concat(RemoteObject.createImmutable("creado en promotoria "),_dirp,_dir,_dir2),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e23) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e23.toString()); BA.debugLineNum = 7757;BA.debugLine="Dir = \"\""; +Debug.ShouldStop(4096); +_dir = BA.ObjectToString("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 7758;BA.debugLine="Log(\"creado en raiz\")"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","063832092",RemoteObject.createImmutable("creado en raiz"),0); + }; + BA.debugLineNum = 7761;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_savepicturetofile" /*RemoteObject*/ ,(Object)(_data),(Object)(RemoteObject.concat(_dirp,_dir)),(Object)(_filename)); + BA.debugLineNum = 7762;BA.debugLine="camEx.StartPreview 'restart preview"; +Debug.ShouldStop(131072); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_startpreview" /*RemoteObject*/ ); + BA.debugLineNum = 7764;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","063832098",RemoteObject.concat(RemoteObject.createImmutable("Picture saved."),c_cliente.__c.getField(true,"CRLF"),RemoteObject.createImmutable("File size: "),c_cliente.__c.getField(false,"File").runMethod(true,"Size",(Object)(_dir),(Object)(_filename)),_dir,RemoteObject.createImmutable(","),_filename),0); + BA.debugLineNum = 7765;BA.debugLine="p_camara.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7767;BA.debugLine="Log(nombrefoto)"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","063832101",__ref.getField(true,"_nombrefoto" /*RemoteObject*/ ),0); + BA.debugLineNum = 7769;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File."; +Debug.ShouldStop(16777216); +_img = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_img = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"LoadBitmapResize",(Object)(RemoteObject.concat(c_cliente.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir)),(Object)(_filename),(Object)(BA.numberCast(int.class, 225)),(Object)(BA.numberCast(int.class, 300)),(Object)(c_cliente.__c.getField(true,"True")));Debug.locals.put("img", _img);Debug.locals.put("img", _img); + BA.debugLineNum = 7770;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(33554432); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = c_cliente.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(RemoteObject.concat(c_cliente.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(_filename),(Object)(c_cliente.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 7771;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +Debug.ShouldStop(67108864); +_img.runVoidMethod ("WriteToStream",(Object)((_out.getObject())),(Object)(BA.numberCast(int.class, 100)),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Bitmap.CompressFormat"),RemoteObject.createImmutable("PNG")))); + BA.debugLineNum = 7774;BA.debugLine="out.Close"; +Debug.ShouldStop(536870912); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 7775;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal &"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cliente.__c.runMethod(false,"LoadBitmap",(Object)(RemoteObject.concat(c_cliente.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto" /*RemoteObject*/ ))).getObject())); + BA.debugLineNum = 7777;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET foto = ("; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(c_cliente.__c.getField(false,"File").runMethod(false,"ReadBytes",(Object)(RemoteObject.concat(c_cliente.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto" /*RemoteObject*/ ))))}))))); + BA.debugLineNum = 7778;BA.debugLine="StopCamera2"; +Debug.ShouldStop(2); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_stopcamera2" /*RemoteObject*/ ); + BA.debugLineNum = 7780;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _camera1_ready(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Camera1_Ready (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7716); +if (RapidSub.canDelegate("camera1_ready")) { return __ref.runUserSub(false, "c_cliente","camera1_ready", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 7716;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +Debug.ShouldStop(8); + BA.debugLineNum = 7717;BA.debugLine="Log(\"Camara ready\")"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","063766529",RemoteObject.createImmutable("Camara ready"),0); + BA.debugLineNum = 7718;BA.debugLine="If Success Then"; +Debug.ShouldStop(32); +if (_success.get().booleanValue()) { + BA.debugLineNum = 7719;BA.debugLine="camEx.SetJpegQuality(90)"; +Debug.ShouldStop(64); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_setjpegquality" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 90))); + BA.debugLineNum = 7720;BA.debugLine="camEx.SetContinuousAutoFocus"; +Debug.ShouldStop(128); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_setcontinuousautofocus" /*RemoteObject*/ ); + BA.debugLineNum = 7721;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(256); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 7722;BA.debugLine="camEx.StartPreview"; +Debug.ShouldStop(512); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_startpreview" /*RemoteObject*/ ); + BA.debugLineNum = 7723;BA.debugLine="Log(camEx.GetPreviewSize)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","063766535",BA.ObjectToString(__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_getpreviewsize" /*RemoteObject*/ )),0); + }else { + BA.debugLineNum = 7725;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Cannot open camera.")),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 7726;BA.debugLine="Log(\"Cannot open camera\")"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","063766538",RemoteObject.createImmutable("Cannot open camera"),0); + }; + BA.debugLineNum = 7728;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p1_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p1_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2771); +if (RapidSub.canDelegate("cb_p1_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p1_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2771;BA.debugLine="Private Sub cb_p1_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(262144); + BA.debugLineNum = 2772;BA.debugLine="itemselect8 = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(524288); +__ref.setField ("_itemselect8" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2773;BA.debugLine="Log(itemselect8)"; +Debug.ShouldStop(1048576); +c_cliente.__c.runVoidMethod ("LogImpl","052101122",__ref.getField(true,"_itemselect8" /*RemoteObject*/ ),0); + BA.debugLineNum = 2774;BA.debugLine="Log(Index)"; +Debug.ShouldStop(2097152); +c_cliente.__c.runVoidMethod ("LogImpl","052101123",BA.NumberToString(_index),0); + BA.debugLineNum = 2775;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p2_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p2_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2777); +if (RapidSub.canDelegate("cb_p2_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p2_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2777;BA.debugLine="Private Sub cb_p2_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 2778;BA.debugLine="itemselect9 = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(33554432); +__ref.setField ("_itemselect9" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2779;BA.debugLine="Log(itemselect9)"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("LogImpl","052166658",__ref.getField(true,"_itemselect9" /*RemoteObject*/ ),0); + BA.debugLineNum = 2780;BA.debugLine="Log(Index)"; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethod ("LogImpl","052166659",BA.NumberToString(_index),0); + BA.debugLineNum = 2781;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p3_m4_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p3_m4_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2735); +if (RapidSub.canDelegate("cb_p3_m4_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p3_m4_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2735;BA.debugLine="Private Sub cb_p3_m4_SelectedIndexChanged (Index A"; +Debug.ShouldStop(16384); + BA.debugLineNum = 2736;BA.debugLine="itemselect2 = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(32768); +__ref.setField ("_itemselect2" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2737;BA.debugLine="Log(itemselect2)"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","051707906",__ref.getField(true,"_itemselect2" /*RemoteObject*/ ),0); + BA.debugLineNum = 2738;BA.debugLine="Log(Index)"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","051707907",BA.NumberToString(_index),0); + BA.debugLineNum = 2739;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p3_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p3_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2783); +if (RapidSub.canDelegate("cb_p3_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p3_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2783;BA.debugLine="Private Sub cb_p3_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 2784;BA.debugLine="itemselect10 = Sender.As(B4XComboBox).SelectedIte"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_itemselect10" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2785;BA.debugLine="Log(itemselect10)"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","052232194",__ref.getField(true,"_itemselect10" /*RemoteObject*/ ),0); + BA.debugLineNum = 2786;BA.debugLine="Log(Index)"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("LogImpl","052232195",BA.NumberToString(_index),0); + BA.debugLineNum = 2787;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p4_1_m4_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p4_1_m4_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2741); +if (RapidSub.canDelegate("cb_p4_1_m4_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p4_1_m4_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2741;BA.debugLine="Private Sub cb_p4_1_m4_SelectedIndexChanged (Index"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 2742;BA.debugLine="itemselect3 = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(2097152); +__ref.setField ("_itemselect3" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2743;BA.debugLine="Log(itemselect3)"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","051773442",__ref.getField(true,"_itemselect3" /*RemoteObject*/ ),0); + BA.debugLineNum = 2744;BA.debugLine="Log(Index)"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethod ("LogImpl","051773443",BA.NumberToString(_index),0); + BA.debugLineNum = 2745;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p4_2_m4_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p4_2_m4_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2747); +if (RapidSub.canDelegate("cb_p4_2_m4_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p4_2_m4_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2747;BA.debugLine="Private Sub cb_p4_2_m4_SelectedIndexChanged (Index"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 2748;BA.debugLine="itemselect4 = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(134217728); +__ref.setField ("_itemselect4" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2749;BA.debugLine="Log(itemselect4)"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("LogImpl","051838978",__ref.getField(true,"_itemselect4" /*RemoteObject*/ ),0); + BA.debugLineNum = 2750;BA.debugLine="Log(Index)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","051838979",BA.NumberToString(_index),0); + BA.debugLineNum = 2751;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p4_3_m4_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p4_3_m4_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2753); +if (RapidSub.canDelegate("cb_p4_3_m4_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p4_3_m4_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2753;BA.debugLine="Private Sub cb_p4_3_m4_SelectedIndexChanged (Index"; +Debug.ShouldStop(1); + BA.debugLineNum = 2754;BA.debugLine="itemselect5 = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(2); +__ref.setField ("_itemselect5" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2755;BA.debugLine="Log(itemselect5)"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","051904514",__ref.getField(true,"_itemselect5" /*RemoteObject*/ ),0); + BA.debugLineNum = 2756;BA.debugLine="Log(Index)"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethod ("LogImpl","051904515",BA.NumberToString(_index),0); + BA.debugLineNum = 2757;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p4_4_m4_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p4_4_m4_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2759); +if (RapidSub.canDelegate("cb_p4_4_m4_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p4_4_m4_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2759;BA.debugLine="Private Sub cb_p4_4_m4_SelectedIndexChanged (Index"; +Debug.ShouldStop(64); + BA.debugLineNum = 2760;BA.debugLine="itemselect6 = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(128); +__ref.setField ("_itemselect6" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2761;BA.debugLine="Log(itemselect6)"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("LogImpl","051970050",__ref.getField(true,"_itemselect6" /*RemoteObject*/ ),0); + BA.debugLineNum = 2762;BA.debugLine="Log(Index)"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","051970051",BA.NumberToString(_index),0); + BA.debugLineNum = 2763;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p4_5_m4_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p4_5_m4_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2765); +if (RapidSub.canDelegate("cb_p4_5_m4_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p4_5_m4_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2765;BA.debugLine="Private Sub cb_p4_5_m4_SelectedIndexChanged (Index"; +Debug.ShouldStop(4096); + BA.debugLineNum = 2766;BA.debugLine="itemselect7 = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(8192); +__ref.setField ("_itemselect7" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2767;BA.debugLine="Log(itemselect7)"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","052035586",__ref.getField(true,"_itemselect7" /*RemoteObject*/ ),0); + BA.debugLineNum = 2768;BA.debugLine="Log(Index)"; +Debug.ShouldStop(32768); +c_cliente.__c.runVoidMethod ("LogImpl","052035587",BA.NumberToString(_index),0); + BA.debugLineNum = 2769;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p4_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p4_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2789); +if (RapidSub.canDelegate("cb_p4_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p4_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2789;BA.debugLine="Private Sub cb_p4_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(16); + BA.debugLineNum = 2790;BA.debugLine="itemselect11 = Sender.As(B4XComboBox).SelectedIte"; +Debug.ShouldStop(32); +__ref.setField ("_itemselect11" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2791;BA.debugLine="Log(itemselect11)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","052297730",__ref.getField(true,"_itemselect11" /*RemoteObject*/ ),0); + BA.debugLineNum = 2792;BA.debugLine="Log(Index)"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("LogImpl","052297731",BA.NumberToString(_index),0); + BA.debugLineNum = 2793;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p5_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p5_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2795); +if (RapidSub.canDelegate("cb_p5_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p5_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2795;BA.debugLine="Private Sub cb_p5_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(1024); + BA.debugLineNum = 2796;BA.debugLine="itemselect12 = Sender.As(B4XComboBox).SelectedIte"; +Debug.ShouldStop(2048); +__ref.setField ("_itemselect12" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2797;BA.debugLine="Log(itemselect12)"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("LogImpl","052363266",__ref.getField(true,"_itemselect12" /*RemoteObject*/ ),0); + BA.debugLineNum = 2798;BA.debugLine="Log(Index)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","052363267",BA.NumberToString(_index),0); + BA.debugLineNum = 2799;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p6_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p6_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2801); +if (RapidSub.canDelegate("cb_p6_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p6_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2801;BA.debugLine="Private Sub cb_p6_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(65536); + BA.debugLineNum = 2802;BA.debugLine="itemselect13 = Sender.As(B4XComboBox).SelectedIte"; +Debug.ShouldStop(131072); +__ref.setField ("_itemselect13" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2803;BA.debugLine="Log(itemselect13)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","052428802",__ref.getField(true,"_itemselect13" /*RemoteObject*/ ),0); + BA.debugLineNum = 2804;BA.debugLine="Log(Index)"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","052428803",BA.NumberToString(_index),0); + BA.debugLineNum = 2805;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p7_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p7_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2807); +if (RapidSub.canDelegate("cb_p7_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p7_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2807;BA.debugLine="Private Sub cb_p7_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 2808;BA.debugLine="itemselect14 = Sender.As(B4XComboBox).SelectedIte"; +Debug.ShouldStop(8388608); +__ref.setField ("_itemselect14" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2809;BA.debugLine="Log(itemselect14)"; +Debug.ShouldStop(16777216); +c_cliente.__c.runVoidMethod ("LogImpl","052494338",__ref.getField(true,"_itemselect14" /*RemoteObject*/ ),0); + BA.debugLineNum = 2810;BA.debugLine="Log(Index)"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","052494339",BA.NumberToString(_index),0); + BA.debugLineNum = 2811;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p8_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p8_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2813); +if (RapidSub.canDelegate("cb_p8_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p8_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2813;BA.debugLine="Private Sub cb_p8_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 2814;BA.debugLine="itemselect15 = Sender.As(B4XComboBox).SelectedIte"; +Debug.ShouldStop(536870912); +__ref.setField ("_itemselect15" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2815;BA.debugLine="Log(itemselect15)"; +Debug.ShouldStop(1073741824); +c_cliente.__c.runVoidMethod ("LogImpl","052559874",__ref.getField(true,"_itemselect15" /*RemoteObject*/ ),0); + BA.debugLineNum = 2816;BA.debugLine="Log(Index)"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","052559875",BA.NumberToString(_index),0); + BA.debugLineNum = 2817;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_p9_m5_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_p9_m5_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2819); +if (RapidSub.canDelegate("cb_p9_m5_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_p9_m5_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2819;BA.debugLine="Private Sub cb_p9_m5_SelectedIndexChanged (Index A"; +Debug.ShouldStop(4); + BA.debugLineNum = 2820;BA.debugLine="itemselect16 = Sender.As(B4XComboBox).SelectedIte"; +Debug.ShouldStop(8); +__ref.setField ("_itemselect16" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2821;BA.debugLine="Log(itemselect16)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","052625410",__ref.getField(true,"_itemselect16" /*RemoteObject*/ ),0); + BA.debugLineNum = 2822;BA.debugLine="Log(Index)"; +Debug.ShouldStop(32); +c_cliente.__c.runVoidMethod ("LogImpl","052625411",BA.NumberToString(_index),0); + BA.debugLineNum = 2823;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_pregunta_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_pregunta_SelectedIndexChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2402); +if (RapidSub.canDelegate("cb_pregunta_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_pregunta_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2402;BA.debugLine="Private Sub cb_pregunta_SelectedIndexChanged (Inde"; +Debug.ShouldStop(2); + BA.debugLineNum = 2403;BA.debugLine="girotienda = Sender.As(B4XComboBox).SelectedItem"; +Debug.ShouldStop(4); +__ref.setField ("_girotienda" /*RemoteObject*/ ,((c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2404;BA.debugLine="Log(girotienda)"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethod ("LogImpl","051576834",__ref.getField(true,"_girotienda" /*RemoteObject*/ ),0); + BA.debugLineNum = 2405;BA.debugLine="Log(Index)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","051576835",BA.NumberToString(_index),0); + BA.debugLineNum = 2406;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb1_p3_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB1_P3_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5708); +if (RapidSub.canDelegate("cb1_p3_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb1_p3_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5708;BA.debugLine="Private Sub CB1_P3_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(2048); + BA.debugLineNum = 5709;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(4096); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5710;BA.debugLine="If CB1_P3_M2.Checked Then"; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5711;BA.debugLine="textemp2 = CB1_P3_M2.Text"; +Debug.ShouldStop(16384); +__ref.setField ("_textemp2" /*RemoteObject*/ ,__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5713;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(65536); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5715;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(262144); +if (__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5716;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(524288); +if (__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5717;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5718;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5719;BA.debugLine="Log(textemp2)"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","058392587",__ref.getField(true,"_textemp2" /*RemoteObject*/ ),0); + BA.debugLineNum = 5720;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb1_p3_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB1_P3_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5835); +if (RapidSub.canDelegate("cb1_p3_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb1_p3_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5835;BA.debugLine="Private Sub CB1_P3_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1024); + BA.debugLineNum = 5836;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(2048); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5837;BA.debugLine="If CB1_P3_M3.Checked Then"; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5838;BA.debugLine="textemp4 = CB1_P3_M3.Text"; +Debug.ShouldStop(8192); +__ref.setField ("_textemp4" /*RemoteObject*/ ,__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5840;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(32768); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5842;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5843;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(262144); +if (__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5844;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(524288); +if (__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5845;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5846;BA.debugLine="Log(textemp4)"; +Debug.ShouldStop(2097152); +c_cliente.__c.runVoidMethod ("LogImpl","058982411",__ref.getField(true,"_textemp4" /*RemoteObject*/ ),0); + BA.debugLineNum = 5847;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb1_p4_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB1_P4_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5780); +if (RapidSub.canDelegate("cb1_p4_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb1_p4_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5780;BA.debugLine="Private Sub CB1_P4_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(524288); + BA.debugLineNum = 5781;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(1048576); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5782;BA.debugLine="If CB1_P4_M2.Checked Then"; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5783;BA.debugLine="textemp3 = CB1_P4_M2.Text"; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp3" /*RemoteObject*/ ,__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5785;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(16777216); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5787;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5788;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5789;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5790;BA.debugLine="Log(textemp3)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","058720266",__ref.getField(true,"_textemp3" /*RemoteObject*/ ),0); + BA.debugLineNum = 5791;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb1_p4_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB1_P4_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5907); +if (RapidSub.canDelegate("cb1_p4_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb1_p4_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5907;BA.debugLine="Private Sub CB1_P4_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(262144); + BA.debugLineNum = 5908;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(524288); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5909;BA.debugLine="CB5_P4_M3.Checked = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5910;BA.debugLine="If CB1_P4_M3.Checked Then"; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5911;BA.debugLine="textemp5 = CB1_P4_M3.Text"; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp5" /*RemoteObject*/ ,__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5913;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(16777216); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5915;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5916;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5917;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5918;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5919;BA.debugLine="Log(textemp5)"; +Debug.ShouldStop(1073741824); +c_cliente.__c.runVoidMethod ("LogImpl","059310092",__ref.getField(true,"_textemp5" /*RemoteObject*/ ),0); + BA.debugLineNum = 5920;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb1_p6_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB1_P6_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5988); +if (RapidSub.canDelegate("cb1_p6_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb1_p6_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5988;BA.debugLine="Private Sub CB1_P6_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8); + BA.debugLineNum = 5989;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(16); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5990;BA.debugLine="If CB1_P6_M3.Checked Then"; +Debug.ShouldStop(32); +if (__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5991;BA.debugLine="textemp6 = CB1_P6_M3.Text"; +Debug.ShouldStop(64); +__ref.setField ("_textemp6" /*RemoteObject*/ ,__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5993;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5995;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5996;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5997;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5998;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5999;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6000;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6001;BA.debugLine="Log(textemp6)"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","059637773",__ref.getField(true,"_textemp6" /*RemoteObject*/ ),0); + BA.debugLineNum = 6002;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb1_p7_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB1_P7_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6100); +if (RapidSub.canDelegate("cb1_p7_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb1_p7_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6100;BA.debugLine="Private Sub CB1_P7_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(524288); + BA.debugLineNum = 6101;BA.debugLine="textemp7 = \"\""; +Debug.ShouldStop(1048576); +__ref.setField ("_textemp7" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6102;BA.debugLine="If CB1_P7_M3.Checked Then"; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6103;BA.debugLine="textemp7 = CB1_P7_M3.Text"; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp7" /*RemoteObject*/ ,__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6105;BA.debugLine="textemp7 = \"\""; +Debug.ShouldStop(16777216); +__ref.setField ("_textemp7" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6107;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6108;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6109;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6110;BA.debugLine="Log(textemp7)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","060096522",__ref.getField(true,"_textemp7" /*RemoteObject*/ ),0); + BA.debugLineNum = 6111;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb1_p8_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB1_P8_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6157); +if (RapidSub.canDelegate("cb1_p8_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb1_p8_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6157;BA.debugLine="Private Sub CB1_P8_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(4096); + BA.debugLineNum = 6158;BA.debugLine="textemp8 = \"\""; +Debug.ShouldStop(8192); +__ref.setField ("_textemp8" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6159;BA.debugLine="textemp8 = CB1_P8_M3.Text"; +Debug.ShouldStop(16384); +__ref.setField ("_textemp8" /*RemoteObject*/ ,__ref.getField(false,"_cb1_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 6160;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb2_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6161;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(65536); +if (__ref.getField(false,"_cb3_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6162;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_cb4_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6163;BA.debugLine="Log(textemp8)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","060358662",__ref.getField(true,"_textemp8" /*RemoteObject*/ ),0); + BA.debugLineNum = 6164;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb2_p3_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB2_P3_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5722); +if (RapidSub.canDelegate("cb2_p3_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb2_p3_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5722;BA.debugLine="Private Sub CB2_P3_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 5723;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(67108864); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5724;BA.debugLine="If CB2_P3_M2.Checked Then"; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5725;BA.debugLine="textemp2 = CB2_P3_M2.Text"; +Debug.ShouldStop(268435456); +__ref.setField ("_textemp2" /*RemoteObject*/ ,__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5727;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5729;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(1); +if (__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5730;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(2); +if (__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5731;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(4); +if (__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5732;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(8); +if (__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5733;BA.debugLine="Log(textemp2)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","058458123",__ref.getField(true,"_textemp2" /*RemoteObject*/ ),0); + BA.debugLineNum = 5734;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb2_p3_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB2_P3_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5849); +if (RapidSub.canDelegate("cb2_p3_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb2_p3_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5849;BA.debugLine="Private Sub CB2_P3_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 5850;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(33554432); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5851;BA.debugLine="If CB2_P3_M3.Checked Then"; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5852;BA.debugLine="textemp4 = CB2_P3_M3.Text"; +Debug.ShouldStop(134217728); +__ref.setField ("_textemp4" /*RemoteObject*/ ,__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5854;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(536870912); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5856;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5857;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(1); +if (__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5858;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(2); +if (__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5859;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(4); +if (__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5860;BA.debugLine="Log(textemp4)"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethod ("LogImpl","059047947",__ref.getField(true,"_textemp4" /*RemoteObject*/ ),0); + BA.debugLineNum = 5861;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb2_p4_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB2_P4_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5793); +if (RapidSub.canDelegate("cb2_p4_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb2_p4_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5793;BA.debugLine="Private Sub CB2_P4_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1); + BA.debugLineNum = 5794;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(2); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5795;BA.debugLine="If CB2_P4_M2.Checked Then"; +Debug.ShouldStop(4); +if (__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5796;BA.debugLine="textemp3 = CB2_P4_M2.Text"; +Debug.ShouldStop(8); +__ref.setField ("_textemp3" /*RemoteObject*/ ,__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5798;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(32); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5800;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(128); +if (__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5801;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(256); +if (__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5802;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(512); +if (__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5803;BA.debugLine="Log(textemp3)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","058785802",__ref.getField(true,"_textemp3" /*RemoteObject*/ ),0); + BA.debugLineNum = 5804;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb2_p4_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB2_P4_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5922); +if (RapidSub.canDelegate("cb2_p4_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb2_p4_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5922;BA.debugLine="Private Sub CB2_P4_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(2); + BA.debugLineNum = 5923;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(4); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5924;BA.debugLine="CB5_P4_M3.Checked = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5925;BA.debugLine="If CB2_P4_M3.Checked Then"; +Debug.ShouldStop(16); +if (__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5926;BA.debugLine="textemp5 = CB2_P4_M3.Text"; +Debug.ShouldStop(32); +__ref.setField ("_textemp5" /*RemoteObject*/ ,__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5928;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(128); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5930;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(512); +if (__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5931;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5932;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5933;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5934;BA.debugLine="Log(textemp5)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","059375628",__ref.getField(true,"_textemp5" /*RemoteObject*/ ),0); + BA.debugLineNum = 5935;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb2_p6_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB2_P6_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6004); +if (RapidSub.canDelegate("cb2_p6_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb2_p6_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6004;BA.debugLine="Private Sub CB2_P6_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(524288); + BA.debugLineNum = 6005;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(1048576); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6006;BA.debugLine="If CB2_P6_M3.Checked Then"; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6007;BA.debugLine="textemp6 = CB2_P6_M3.Text"; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp6" /*RemoteObject*/ ,__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6009;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(16777216); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6011;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6012;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6013;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6014;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6015;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6016;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6017;BA.debugLine="Log(textemp6)"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","059703309",__ref.getField(true,"_textemp6" /*RemoteObject*/ ),0); + BA.debugLineNum = 6018;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb2_p7_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB2_P7_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6113); +if (RapidSub.canDelegate("cb2_p7_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb2_p7_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6113;BA.debugLine="Private Sub CB2_P7_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1); + BA.debugLineNum = 6114;BA.debugLine="textemp7 = \"\""; +Debug.ShouldStop(2); +__ref.setField ("_textemp7" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6115;BA.debugLine="If CB2_P7_M3.Checked Then"; +Debug.ShouldStop(4); +if (__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6116;BA.debugLine="textemp7 = CB2_P7_M3.Text"; +Debug.ShouldStop(8); +__ref.setField ("_textemp7" /*RemoteObject*/ ,__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6118;BA.debugLine="textemp7 = \"\""; +Debug.ShouldStop(32); +__ref.setField ("_textemp7" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6120;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(128); +if (__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6121;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(256); +if (__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6122;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(512); +if (__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6123;BA.debugLine="Log(textemp7)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","060162058",__ref.getField(true,"_textemp7" /*RemoteObject*/ ),0); + BA.debugLineNum = 6124;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb2_p8_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB2_P8_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6166); +if (RapidSub.canDelegate("cb2_p8_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb2_p8_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6166;BA.debugLine="Private Sub CB2_P8_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 6167;BA.debugLine="textemp8 = \"\""; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp8" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6168;BA.debugLine="textemp8 = CB2_P8_M3.Text"; +Debug.ShouldStop(8388608); +__ref.setField ("_textemp8" /*RemoteObject*/ ,__ref.getField(false,"_cb2_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 6169;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(16777216); +if (__ref.getField(false,"_cb1_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6170;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(33554432); +if (__ref.getField(false,"_cb3_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6171;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb4_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6172;BA.debugLine="Log(textemp8)"; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethod ("LogImpl","060424198",__ref.getField(true,"_textemp8" /*RemoteObject*/ ),0); + BA.debugLineNum = 6173;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb3_p3_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB3_P3_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5736); +if (RapidSub.canDelegate("cb3_p3_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb3_p3_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5736;BA.debugLine="Private Sub CB3_P3_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(128); + BA.debugLineNum = 5737;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5738;BA.debugLine="If CB3_P3_M2.Checked Then"; +Debug.ShouldStop(512); +if (__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5739;BA.debugLine="textemp2 = CB3_P3_M2.Text"; +Debug.ShouldStop(1024); +__ref.setField ("_textemp2" /*RemoteObject*/ ,__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5741;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(4096); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5743;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5744;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5745;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(65536); +if (__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5746;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5747;BA.debugLine="Log(textemp2)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","058523659",__ref.getField(true,"_textemp2" /*RemoteObject*/ ),0); + BA.debugLineNum = 5748;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb3_p3_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB3_P3_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5863); +if (RapidSub.canDelegate("cb3_p3_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb3_p3_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5863;BA.debugLine="Private Sub CB3_P3_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(64); + BA.debugLineNum = 5864;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(128); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5865;BA.debugLine="If CB3_P3_M3.Checked Then"; +Debug.ShouldStop(256); +if (__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5866;BA.debugLine="textemp4 = CB3_P3_M3.Text"; +Debug.ShouldStop(512); +__ref.setField ("_textemp4" /*RemoteObject*/ ,__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5868;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(2048); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5870;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5871;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5872;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5873;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(65536); +if (__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5874;BA.debugLine="Log(textemp4)"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","059113483",__ref.getField(true,"_textemp4" /*RemoteObject*/ ),0); + BA.debugLineNum = 5875;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb3_p4_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB3_P4_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5806); +if (RapidSub.canDelegate("cb3_p4_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb3_p4_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5806;BA.debugLine="Private Sub CB3_P4_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8192); + BA.debugLineNum = 5807;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(16384); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5808;BA.debugLine="If CB3_P4_M2.Checked Then"; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5809;BA.debugLine="textemp3 = CB3_P4_M2.Text"; +Debug.ShouldStop(65536); +__ref.setField ("_textemp3" /*RemoteObject*/ ,__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5811;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(262144); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5813;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5814;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5815;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5816;BA.debugLine="Log(textemp3)"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethod ("LogImpl","058851338",__ref.getField(true,"_textemp3" /*RemoteObject*/ ),0); + BA.debugLineNum = 5817;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb3_p4_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB3_P4_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5937); +if (RapidSub.canDelegate("cb3_p4_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb3_p4_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5937;BA.debugLine="Private Sub CB3_P4_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(65536); + BA.debugLineNum = 5938;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(131072); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5939;BA.debugLine="CB5_P4_M3.Checked = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5940;BA.debugLine="If CB3_P4_M3.Checked Then"; +Debug.ShouldStop(524288); +if (__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5941;BA.debugLine="textemp5 = CB3_P4_M3.Text"; +Debug.ShouldStop(1048576); +__ref.setField ("_textemp5" /*RemoteObject*/ ,__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5943;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5945;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(16777216); +if (__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5946;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(33554432); +if (__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5947;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5948;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5949;BA.debugLine="Log(textemp5)"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("LogImpl","059441164",__ref.getField(true,"_textemp5" /*RemoteObject*/ ),0); + BA.debugLineNum = 5950;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb3_p6_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB3_P6_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6020); +if (RapidSub.canDelegate("cb3_p6_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb3_p6_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6020;BA.debugLine="Private Sub CB3_P6_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8); + BA.debugLineNum = 6021;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(16); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6022;BA.debugLine="If CB3_P6_M3.Checked Then"; +Debug.ShouldStop(32); +if (__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6023;BA.debugLine="textemp6 = CB3_P6_M3.Text"; +Debug.ShouldStop(64); +__ref.setField ("_textemp6" /*RemoteObject*/ ,__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6025;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6027;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6028;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6029;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6030;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6031;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6032;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6033;BA.debugLine="Log(textemp6)"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","059768845",__ref.getField(true,"_textemp6" /*RemoteObject*/ ),0); + BA.debugLineNum = 6034;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb3_p7_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB3_P7_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6126); +if (RapidSub.canDelegate("cb3_p7_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb3_p7_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6126;BA.debugLine="Private Sub CB3_P7_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8192); + BA.debugLineNum = 6127;BA.debugLine="textemp7 = \"\""; +Debug.ShouldStop(16384); +__ref.setField ("_textemp7" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6128;BA.debugLine="If CB3_P7_M3.Checked Then"; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6129;BA.debugLine="textemp7 = CB3_P7_M3.Text"; +Debug.ShouldStop(65536); +__ref.setField ("_textemp7" /*RemoteObject*/ ,__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6131;BA.debugLine="textemp7 = \"\""; +Debug.ShouldStop(262144); +__ref.setField ("_textemp7" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6133;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6134;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6135;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6136;BA.debugLine="Log(textemp7)"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethod ("LogImpl","060227594",__ref.getField(true,"_textemp7" /*RemoteObject*/ ),0); + BA.debugLineNum = 6137;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb3_p8_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB3_P8_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6175); +if (RapidSub.canDelegate("cb3_p8_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb3_p8_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6175;BA.debugLine="Private Sub CB3_P8_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 6176;BA.debugLine="textemp8 = \"\""; +Debug.ShouldStop(-2147483648); +__ref.setField ("_textemp8" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6177;BA.debugLine="textemp8 = CB3_P8_M3.Text"; +Debug.ShouldStop(1); +__ref.setField ("_textemp8" /*RemoteObject*/ ,__ref.getField(false,"_cb3_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 6178;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(2); +if (__ref.getField(false,"_cb1_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6179;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(4); +if (__ref.getField(false,"_cb2_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6180;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(8); +if (__ref.getField(false,"_cb4_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6181;BA.debugLine="Log(textemp8)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","060489734",__ref.getField(true,"_textemp8" /*RemoteObject*/ ),0); + BA.debugLineNum = 6182;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb4_p3_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB4_P3_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5750); +if (RapidSub.canDelegate("cb4_p3_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb4_p3_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5750;BA.debugLine="Private Sub CB4_P3_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 5751;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5752;BA.debugLine="If CB4_P3_M2.Checked Then"; +Debug.ShouldStop(8388608); +if (__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5753;BA.debugLine="textemp2 = CB4_P3_M2.Text"; +Debug.ShouldStop(16777216); +__ref.setField ("_textemp2" /*RemoteObject*/ ,__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5755;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(67108864); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5757;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5758;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5759;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5760;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5761;BA.debugLine="Log(textemp2)"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","058589195",__ref.getField(true,"_textemp2" /*RemoteObject*/ ),0); + BA.debugLineNum = 5762;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb4_p3_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB4_P3_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5877); +if (RapidSub.canDelegate("cb4_p3_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb4_p3_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5877;BA.debugLine="Private Sub CB4_P3_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 5878;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(2097152); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5879;BA.debugLine="If CB4_P3_M3.Checked Then"; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5880;BA.debugLine="textemp4 = CB4_P3_M3.Text"; +Debug.ShouldStop(8388608); +__ref.setField ("_textemp4" /*RemoteObject*/ ,__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5882;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(33554432); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5884;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5885;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5886;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5887;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5888;BA.debugLine="Log(textemp4)"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","059179019",__ref.getField(true,"_textemp4" /*RemoteObject*/ ),0); + BA.debugLineNum = 5889;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb4_p4_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB4_P4_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5819); +if (RapidSub.canDelegate("cb4_p4_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb4_p4_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5819;BA.debugLine="Private Sub CB4_P4_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 5820;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(134217728); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5821;BA.debugLine="If CB4_P4_M2.Checked Then"; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5822;BA.debugLine="textemp3 = CB4_P4_M2.Text"; +Debug.ShouldStop(536870912); +__ref.setField ("_textemp3" /*RemoteObject*/ ,__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5824;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(-2147483648); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5826;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(2); +if (__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5827;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(4); +if (__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5828;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; +Debug.ShouldStop(8); +if (__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp3" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp3" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5829;BA.debugLine="Log(textemp3)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","058916874",__ref.getField(true,"_textemp3" /*RemoteObject*/ ),0); + BA.debugLineNum = 5830;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb4_p4_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB4_P4_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5952); +if (RapidSub.canDelegate("cb4_p4_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb4_p4_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5952;BA.debugLine="Private Sub CB4_P4_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 5953;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(1); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5954;BA.debugLine="CB5_P4_M3.Checked = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5955;BA.debugLine="If CB4_P4_M3.Checked Then"; +Debug.ShouldStop(4); +if (__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5956;BA.debugLine="textemp5 = CB4_P4_M3.Text"; +Debug.ShouldStop(8); +__ref.setField ("_textemp5" /*RemoteObject*/ ,__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5958;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(32); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5960;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(128); +if (__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5961;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(256); +if (__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5962;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(512); +if (__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5963;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5964;BA.debugLine="Log(textemp5)"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","059506700",__ref.getField(true,"_textemp5" /*RemoteObject*/ ),0); + BA.debugLineNum = 5965;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb4_p6_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB4_P6_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6036); +if (RapidSub.canDelegate("cb4_p6_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb4_p6_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6036;BA.debugLine="Private Sub CB4_P6_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(524288); + BA.debugLineNum = 6037;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(1048576); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6038;BA.debugLine="If CB4_P6_M3.Checked Then"; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6039;BA.debugLine="textemp6 = CB4_P6_M3.Text"; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp6" /*RemoteObject*/ ,__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6041;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(16777216); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6043;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6044;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6045;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6046;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6047;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6048;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6049;BA.debugLine="Log(textemp6)"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","059834381",__ref.getField(true,"_textemp6" /*RemoteObject*/ ),0); + BA.debugLineNum = 6050;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb4_p7_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB4_P7_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6139); +if (RapidSub.canDelegate("cb4_p7_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb4_p7_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6139;BA.debugLine="Private Sub CB4_P7_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 6140;BA.debugLine="textemp7 = \"\""; +Debug.ShouldStop(134217728); +__ref.setField ("_textemp7" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6141;BA.debugLine="If CB4_P7_M3.Checked Then"; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6142;BA.debugLine="textemp7 = CB4_P7_M3.Text"; +Debug.ShouldStop(536870912); +__ref.setField ("_textemp7" /*RemoteObject*/ ,__ref.getField(false,"_cb4_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6144;BA.debugLine="textemp7 = \"\""; +Debug.ShouldStop(-2147483648); +__ref.setField ("_textemp7" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6146;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(2); +if (__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6147;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(4); +if (__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6148;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; +Debug.ShouldStop(8); +if (__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp7" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp7" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p7_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6149;BA.debugLine="Log(textemp7)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","060293130",__ref.getField(true,"_textemp7" /*RemoteObject*/ ),0); + BA.debugLineNum = 6150;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb4_p8_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB4_P8_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6184); +if (RapidSub.canDelegate("cb4_p8_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb4_p8_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6184;BA.debugLine="Private Sub CB4_P8_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(128); + BA.debugLineNum = 6185;BA.debugLine="textemp8 = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_textemp8" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6186;BA.debugLine="textemp8 = CB4_P8_M3.Text"; +Debug.ShouldStop(512); +__ref.setField ("_textemp8" /*RemoteObject*/ ,__ref.getField(false,"_cb4_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 6187;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb1_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6188;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_cb2_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6189;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb3_p8_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp8" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp8" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p8_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6190;BA.debugLine="Log(textemp8)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","060555270",__ref.getField(true,"_textemp8" /*RemoteObject*/ ),0); + BA.debugLineNum = 6191;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb5_p3_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB5_P3_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5764); +if (RapidSub.canDelegate("cb5_p3_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb5_p3_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5764;BA.debugLine="Private Sub CB5_P3_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8); + BA.debugLineNum = 5765;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(16); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5766;BA.debugLine="If CB5_P3_M2.Checked Then"; +Debug.ShouldStop(32); +if (__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5767;BA.debugLine="textemp2 = CB5_P3_M2.Text"; +Debug.ShouldStop(64); +__ref.setField ("_textemp2" /*RemoteObject*/ ,__ref.getField(false,"_cb5_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5769;BA.debugLine="textemp2 = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_textemp2" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5771;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5772;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5773;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5774;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp2" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp2" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p3_m2" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5775;BA.debugLine="Log(textemp2)"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","058654731",__ref.getField(true,"_textemp2" /*RemoteObject*/ ),0); + BA.debugLineNum = 5776;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb5_p3_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB5_P3_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5891); +if (RapidSub.canDelegate("cb5_p3_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb5_p3_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5891;BA.debugLine="Private Sub CB5_P3_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(4); + BA.debugLineNum = 5892;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(8); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5893;BA.debugLine="If CB5_P3_M3.Checked Then"; +Debug.ShouldStop(16); +if (__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5894;BA.debugLine="textemp4 = CB5_P3_M3.Text"; +Debug.ShouldStop(32); +__ref.setField ("_textemp4" /*RemoteObject*/ ,__ref.getField(false,"_cb5_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5896;BA.debugLine="textemp4 = \"\""; +Debug.ShouldStop(128); +__ref.setField ("_textemp4" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5898;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(512); +if (__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5899;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5900;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5901;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp4" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp4" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p3_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5902;BA.debugLine="Log(textemp4)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","059244555",__ref.getField(true,"_textemp4" /*RemoteObject*/ ),0); + BA.debugLineNum = 5903;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb5_p4_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB5_P4_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5967); +if (RapidSub.canDelegate("cb5_p4_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb5_p4_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5967;BA.debugLine="Private Sub CB5_P4_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(16384); + BA.debugLineNum = 5968;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(32768); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 5969;BA.debugLine="CB1_P4_M3.Checked = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5970;BA.debugLine="CB2_P4_M3.Checked = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5971;BA.debugLine="CB3_P4_M3.Checked = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5972;BA.debugLine="CB4_P4_M3.Checked = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5973;BA.debugLine="If CB5_P4_M3.Checked Then"; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 5974;BA.debugLine="textemp5 = CB5_P4_M3.Text"; +Debug.ShouldStop(2097152); +__ref.setField ("_textemp5" /*RemoteObject*/ ,__ref.getField(false,"_cb5_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 5976;BA.debugLine="textemp5 = \"\""; +Debug.ShouldStop(8388608); +__ref.setField ("_textemp5" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 5978;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(33554432); +if (__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5979;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5980;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5981;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp5" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp5" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p4_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 5982;BA.debugLine="Log(textemp5)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","059572239",__ref.getField(true,"_textemp5" /*RemoteObject*/ ),0); + BA.debugLineNum = 5983;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb5_p6_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB5_P6_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6052); +if (RapidSub.canDelegate("cb5_p6_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb5_p6_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6052;BA.debugLine="Private Sub CB5_P6_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8); + BA.debugLineNum = 6053;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(16); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6054;BA.debugLine="If CB5_P6_M3.Checked Then"; +Debug.ShouldStop(32); +if (__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6055;BA.debugLine="textemp6 = CB5_P6_M3.Text"; +Debug.ShouldStop(64); +__ref.setField ("_textemp6" /*RemoteObject*/ ,__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6057;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6059;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6060;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6061;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6062;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6063;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6064;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6065;BA.debugLine="Log(textemp6)"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","059899917",__ref.getField(true,"_textemp6" /*RemoteObject*/ ),0); + BA.debugLineNum = 6066;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb6_p3_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB6_P3_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5160); +if (RapidSub.canDelegate("cb6_p3_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb6_p3_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5160;BA.debugLine="Private Sub CB6_P3_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(128); + BA.debugLineNum = 5161;BA.debugLine="If CB6_P3_M2.Checked = True Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cb6_p3_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 5162;BA.debugLine="Panel7_M2.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 5164;BA.debugLine="Panel7_M2.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + BA.debugLineNum = 5168;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb6_p6_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB6_P6_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6068); +if (RapidSub.canDelegate("cb6_p6_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb6_p6_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6068;BA.debugLine="Private Sub CB6_P6_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(524288); + BA.debugLineNum = 6069;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(1048576); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6070;BA.debugLine="If CB6_P6_M3.Checked Then"; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6071;BA.debugLine="textemp6 = CB6_P6_M3.Text"; +Debug.ShouldStop(4194304); +__ref.setField ("_textemp6" /*RemoteObject*/ ,__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6073;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(16777216); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6075;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6076;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6077;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6078;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6079;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6080;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6081;BA.debugLine="Log(textemp6)"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","059965453",__ref.getField(true,"_textemp6" /*RemoteObject*/ ),0); + BA.debugLineNum = 6082;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb7_p6_m3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CB7_P6_M3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6084); +if (RapidSub.canDelegate("cb7_p6_m3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb7_p6_m3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 6084;BA.debugLine="Private Sub CB7_P6_M3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8); + BA.debugLineNum = 6085;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(16); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 6086;BA.debugLine="If CB7_P6_M3.Checked Then"; +Debug.ShouldStop(32); +if (__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 6087;BA.debugLine="textemp6 = CB7_P6_M3.Text"; +Debug.ShouldStop(64); +__ref.setField ("_textemp6" /*RemoteObject*/ ,__ref.getField(false,"_cb7_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")); + }else { + BA.debugLineNum = 6089;BA.debugLine="textemp6 = \"\""; +Debug.ShouldStop(256); +__ref.setField ("_textemp6" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 6091;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb1_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6092;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb2_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6093;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb3_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6094;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb4_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6095;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb5_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6096;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_textemp6" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_textemp6" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(false,"_cb6_p6_m3" /*RemoteObject*/ ).runMethod(true,"getText")));}; + BA.debugLineNum = 6097;BA.debugLine="Log(textemp6)"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","060030989",__ref.getField(true,"_textemp6" /*RemoteObject*/ ),0); + BA.debugLineNum = 6098;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centropantalla(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("centroPantalla (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6436); +if (RapidSub.canDelegate("centropantalla")) { return __ref.runUserSub(false, "c_cliente","centropantalla", __ref);} +RemoteObject _anchopantalla = RemoteObject.createImmutable(0); + BA.debugLineNum = 6436;BA.debugLine="Sub centroPantalla As Int"; +Debug.ShouldStop(8); + BA.debugLineNum = 6437;BA.debugLine="Private anchoPantalla As Int = GetDeviceLayoutVal"; +Debug.ShouldStop(16); +_anchopantalla = c_cliente.__c.runMethod(false,"GetDeviceLayoutValues",__ref.getField(false, "ba")).getField(true,"Width");Debug.locals.put("anchoPantalla", _anchopantalla);Debug.locals.put("anchoPantalla", _anchopantalla); + BA.debugLineNum = 6438;BA.debugLine="Private anchoPantalla As Int = Root.Width"; +Debug.ShouldStop(32); +_anchopantalla = __ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth");Debug.locals.put("anchoPantalla", _anchopantalla);Debug.locals.put("anchoPantalla", _anchopantalla); + BA.debugLineNum = 6439;BA.debugLine="Return anchoPantalla/2"; +Debug.ShouldStop(64); +if (true) return BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_anchopantalla,RemoteObject.createImmutable(2)}, "/",0, 0)); + BA.debugLineNum = 6440;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ch_factura_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CH_FACTURA_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7830); +if (RapidSub.canDelegate("ch_factura_checkedchange")) { return __ref.runUserSub(false, "c_cliente","ch_factura_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 7830;BA.debugLine="Private Sub CH_FACTURA_CheckedChange(Checked As Bo"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 7832;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _chb_com_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("chb_com_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,8029); +if (RapidSub.canDelegate("chb_com_checkedchange")) { return __ref.runUserSub(false, "c_cliente","chb_com_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 8029;BA.debugLine="Private Sub chb_com_CheckedChange(Checked As Boole"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 8031;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkbox1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CheckBox1_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4854); +if (RapidSub.canDelegate("checkbox1_checkedchange")) { return __ref.runUserSub(false, "c_cliente","checkbox1_checkedchange", __ref, _checked);} +RemoteObject _textemp = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4854;BA.debugLine="Private Sub CheckBox1_CheckedChange(Checked As Boo"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 4855;BA.debugLine="Dim textemp As String =\"\""; +Debug.ShouldStop(4194304); +_textemp = BA.ObjectToString("");Debug.locals.put("textemp", _textemp);Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4856;BA.debugLine="textemp = CheckBox1.Text"; +Debug.ShouldStop(8388608); +_textemp = __ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4857;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +Debug.ShouldStop(16777216); +if (__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4858;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +Debug.ShouldStop(33554432); +if (__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4859;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4860;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4861;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4862;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4863;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4864;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((_textemp))); + BA.debugLineNum = 4865;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","056557579",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4866;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkbox2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CheckBox2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4868); +if (RapidSub.canDelegate("checkbox2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","checkbox2_checkedchange", __ref, _checked);} +RemoteObject _textemp = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4868;BA.debugLine="Private Sub CheckBox2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8); + BA.debugLineNum = 4869;BA.debugLine="Dim textemp As String =\"\""; +Debug.ShouldStop(16); +_textemp = BA.ObjectToString("");Debug.locals.put("textemp", _textemp);Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4870;BA.debugLine="textemp = CheckBox2.Text"; +Debug.ShouldStop(32); +_textemp = __ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4871;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +Debug.ShouldStop(64); +if (__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4872;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +Debug.ShouldStop(128); +if (__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4873;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +Debug.ShouldStop(256); +if (__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4874;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +Debug.ShouldStop(512); +if (__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4875;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4876;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4877;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4878;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +Debug.ShouldStop(8192); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((_textemp))); + BA.debugLineNum = 4879;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","056623115",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4880;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkbox3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CheckBox3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4882); +if (RapidSub.canDelegate("checkbox3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","checkbox3_checkedchange", __ref, _checked);} +RemoteObject _textemp = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4882;BA.debugLine="Private Sub CheckBox3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(131072); + BA.debugLineNum = 4883;BA.debugLine="Dim textemp As String =\"\""; +Debug.ShouldStop(262144); +_textemp = BA.ObjectToString("");Debug.locals.put("textemp", _textemp);Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4884;BA.debugLine="textemp = CheckBox3.Text"; +Debug.ShouldStop(524288); +_textemp = __ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4885;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4886;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4887;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4888;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +Debug.ShouldStop(8388608); +if (__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4889;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +Debug.ShouldStop(16777216); +if (__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4890;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +Debug.ShouldStop(33554432); +if (__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4891;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4892;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((_textemp))); + BA.debugLineNum = 4893;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("LogImpl","056688651",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4894;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkbox4_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CheckBox4_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4896); +if (RapidSub.canDelegate("checkbox4_checkedchange")) { return __ref.runUserSub(false, "c_cliente","checkbox4_checkedchange", __ref, _checked);} +RemoteObject _textemp = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4896;BA.debugLine="Private Sub CheckBox4_CheckedChange(Checked As Boo"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 4897;BA.debugLine="Dim textemp As String =\"\""; +Debug.ShouldStop(1); +_textemp = BA.ObjectToString("");Debug.locals.put("textemp", _textemp);Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4898;BA.debugLine="textemp = CheckBox4.Text"; +Debug.ShouldStop(2); +_textemp = __ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4899;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +Debug.ShouldStop(4); +if (__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4900;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +Debug.ShouldStop(8); +if (__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4901;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +Debug.ShouldStop(16); +if (__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4902;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +Debug.ShouldStop(32); +if (__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4903;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +Debug.ShouldStop(64); +if (__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4904;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +Debug.ShouldStop(128); +if (__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4905;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +Debug.ShouldStop(256); +if (__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4906;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +Debug.ShouldStop(512); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((_textemp))); + BA.debugLineNum = 4907;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","056754187",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4908;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkbox5_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CheckBox5_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4910); +if (RapidSub.canDelegate("checkbox5_checkedchange")) { return __ref.runUserSub(false, "c_cliente","checkbox5_checkedchange", __ref, _checked);} +RemoteObject _textemp = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4910;BA.debugLine="Private Sub CheckBox5_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8192); + BA.debugLineNum = 4911;BA.debugLine="Dim textemp As String =\"\""; +Debug.ShouldStop(16384); +_textemp = BA.ObjectToString("");Debug.locals.put("textemp", _textemp);Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4912;BA.debugLine="textemp = CheckBox5.Text"; +Debug.ShouldStop(32768); +_textemp = __ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4913;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +Debug.ShouldStop(65536); +if (__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4914;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4915;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +Debug.ShouldStop(262144); +if (__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4916;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +Debug.ShouldStop(524288); +if (__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4917;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4918;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4919;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4920;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((_textemp))); + BA.debugLineNum = 4921;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(16777216); +c_cliente.__c.runVoidMethod ("LogImpl","056819723",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4922;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkbox6_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CheckBox6_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4924); +if (RapidSub.canDelegate("checkbox6_checkedchange")) { return __ref.runUserSub(false, "c_cliente","checkbox6_checkedchange", __ref, _checked);} +RemoteObject _textemp = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4924;BA.debugLine="Private Sub CheckBox6_CheckedChange(Checked As Boo"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 4925;BA.debugLine="Dim textemp As String =\"\""; +Debug.ShouldStop(268435456); +_textemp = BA.ObjectToString("");Debug.locals.put("textemp", _textemp);Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4926;BA.debugLine="textemp = CheckBox6.Text"; +Debug.ShouldStop(536870912); +_textemp = __ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4927;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4928;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4929;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +Debug.ShouldStop(1); +if (__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4930;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +Debug.ShouldStop(2); +if (__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4931;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +Debug.ShouldStop(4); +if (__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4932;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +Debug.ShouldStop(8); +if (__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4933;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +Debug.ShouldStop(16); +if (__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4934;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +Debug.ShouldStop(32); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((_textemp))); + BA.debugLineNum = 4935;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","056885259",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4936;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkbox7_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CheckBox7_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4938); +if (RapidSub.canDelegate("checkbox7_checkedchange")) { return __ref.runUserSub(false, "c_cliente","checkbox7_checkedchange", __ref, _checked);} +RemoteObject _textemp = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4938;BA.debugLine="Private Sub CheckBox7_CheckedChange(Checked As Boo"; +Debug.ShouldStop(512); + BA.debugLineNum = 4939;BA.debugLine="Dim textemp As String =\"\""; +Debug.ShouldStop(1024); +_textemp = BA.ObjectToString("");Debug.locals.put("textemp", _textemp);Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4940;BA.debugLine="textemp = CheckBox7.Text"; +Debug.ShouldStop(2048); +_textemp = __ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4941;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4942;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4943;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4944;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4945;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +Debug.ShouldStop(65536); +if (__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4946;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4947;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +Debug.ShouldStop(262144); +if (__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4948;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((_textemp))); + BA.debugLineNum = 4949;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(1048576); +c_cliente.__c.runVoidMethod ("LogImpl","056950795",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4950;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkbox8_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("CheckBox8_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4952); +if (RapidSub.canDelegate("checkbox8_checkedchange")) { return __ref.runUserSub(false, "c_cliente","checkbox8_checkedchange", __ref, _checked);} +RemoteObject _textemp = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4952;BA.debugLine="Private Sub CheckBox8_CheckedChange(Checked As Boo"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 4953;BA.debugLine="Dim textemp As String =\"\""; +Debug.ShouldStop(16777216); +_textemp = BA.ObjectToString("");Debug.locals.put("textemp", _textemp);Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4954;BA.debugLine="textemp = CheckBox8.Text"; +Debug.ShouldStop(33554432); +_textemp = __ref.getField(false,"_checkbox8" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("textemp", _textemp); + BA.debugLineNum = 4955;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox1" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4956;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox2" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4957;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +Debug.ShouldStop(268435456); +if (__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox3" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4958;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox4" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4959;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox5" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4960;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox6" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4961;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +Debug.ShouldStop(1); +if (__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_textemp = RemoteObject.concat(_textemp,RemoteObject.createImmutable(", "),__ref.getField(false,"_checkbox7" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textemp", _textemp);}; + BA.debugLineNum = 4962;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +Debug.ShouldStop(2); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P9"))),(Object)((_textemp))); + BA.debugLineNum = 4963;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","057016331",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4964;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_cliente._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_cliente._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_cliente._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_cliente._xui); + //BA.debugLineNum = 4;BA.debugLine="Private p_cliente As Panel"; +c_cliente._p_cliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_cliente",c_cliente._p_cliente); + //BA.debugLineNum = 5;BA.debugLine="Dim cuest As C_Cuestionario"; +c_cliente._cuest = RemoteObject.createNew ("gunav2.keymon.com.mx.c_cuestionario");__ref.setField("_cuest",c_cliente._cuest); + //BA.debugLineNum = 6;BA.debugLine="Dim g As GPS"; +c_cliente._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_cliente._g); + //BA.debugLineNum = 7;BA.debugLine="Dim ruta As String"; +c_cliente._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_cliente._ruta); + //BA.debugLineNum = 8;BA.debugLine="Dim skmt As SQL"; +c_cliente._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_cliente._skmt); + //BA.debugLineNum = 9;BA.debugLine="Dim clie_id As String"; +c_cliente._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_cliente._clie_id); + //BA.debugLineNum = 10;BA.debugLine="Dim sDate,sTime As String"; +c_cliente._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_cliente._sdate); +c_cliente._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_cliente._stime); + //BA.debugLineNum = 11;BA.debugLine="Dim usuario As String"; +c_cliente._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_cliente._usuario); + //BA.debugLineNum = 12;BA.debugLine="Dim total_cliente As String"; +c_cliente._total_cliente = RemoteObject.createImmutable("");__ref.setField("_total_cliente",c_cliente._total_cliente); + //BA.debugLineNum = 13;BA.debugLine="Dim m_lat, m_lon As String"; +c_cliente._m_lat = RemoteObject.createImmutable("");__ref.setField("_m_lat",c_cliente._m_lat); +c_cliente._m_lon = RemoteObject.createImmutable("");__ref.setField("_m_lon",c_cliente._m_lon); + //BA.debugLineNum = 14;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +c_cliente._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_cliente._btadmin); + //BA.debugLineNum = 15;BA.debugLine="Dim cmp20 As Serial"; +c_cliente._cmp20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_cmp20",c_cliente._cmp20); + //BA.debugLineNum = 16;BA.debugLine="Dim printer As TextWriter"; +c_cliente._printer = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.TextWriterWrapper");__ref.setField("_printer",c_cliente._printer); + //BA.debugLineNum = 17;BA.debugLine="Dim PairedDevices As Map"; +c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices); + //BA.debugLineNum = 18;BA.debugLine="Dim L As List"; +c_cliente._l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_l",c_cliente._l); + //BA.debugLineNum = 19;BA.debugLine="Dim TAMANO As Int"; +c_cliente._tamano = RemoteObject.createImmutable(0);__ref.setField("_tamano",c_cliente._tamano); + //BA.debugLineNum = 20;BA.debugLine="Dim ESPACIO As Int"; +c_cliente._espacio = RemoteObject.createImmutable(0);__ref.setField("_espacio",c_cliente._espacio); + //BA.debugLineNum = 21;BA.debugLine="Dim BLANCO As String"; +c_cliente._blanco = RemoteObject.createImmutable("");__ref.setField("_blanco",c_cliente._blanco); + //BA.debugLineNum = 22;BA.debugLine="Dim cuenta As String"; +c_cliente._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_cliente._cuenta); + //BA.debugLineNum = 23;BA.debugLine="Dim tipo_venta As String"; +c_cliente._tipo_venta = RemoteObject.createImmutable("");__ref.setField("_tipo_venta",c_cliente._tipo_venta); + //BA.debugLineNum = 24;BA.debugLine="Dim MAC_IMPRESORA As String"; +c_cliente._mac_impresora = RemoteObject.createImmutable("");__ref.setField("_mac_impresora",c_cliente._mac_impresora); + //BA.debugLineNum = 25;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +c_cliente._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_cliente._btadmin); + //BA.debugLineNum = 26;BA.debugLine="Dim Printer1 As EscPosPrinter"; +c_cliente._printer1 = RemoteObject.createNew ("gunav2.keymon.com.mx.escposprinter");__ref.setField("_printer1",c_cliente._printer1); + //BA.debugLineNum = 27;BA.debugLine="Private location2 As Location"; +c_cliente._location2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");__ref.setField("_location2",c_cliente._location2); + //BA.debugLineNum = 28;BA.debugLine="Dim c As Cursor"; +c_cliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_cliente._c); + //BA.debugLineNum = 29;BA.debugLine="Dim s As Cursor"; +c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_cliente._s); + //BA.debugLineNum = 30;BA.debugLine="Dim DD As Cursor"; +c_cliente._dd = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_dd",c_cliente._dd); + //BA.debugLineNum = 31;BA.debugLine="Dim c2 As Cursor"; +c_cliente._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_cliente._c2); + //BA.debugLineNum = 32;BA.debugLine="Dim ListView1 As ListView"; +c_cliente._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_cliente._listview1); + //BA.debugLineNum = 33;BA.debugLine="Dim la_cuenta As Label"; +c_cliente._la_cuenta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_cuenta",c_cliente._la_cuenta); + //BA.debugLineNum = 34;BA.debugLine="Dim La_nombre As Label"; +c_cliente._la_nombre = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_nombre",c_cliente._la_nombre); + //BA.debugLineNum = 35;BA.debugLine="Dim la_Calle As Label"; +c_cliente._la_calle = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_calle",c_cliente._la_calle); + //BA.debugLineNum = 36;BA.debugLine="Dim la_numero As Label"; +c_cliente._la_numero = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_numero",c_cliente._la_numero); + //BA.debugLineNum = 37;BA.debugLine="Dim la_nint As Label"; +c_cliente._la_nint = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_nint",c_cliente._la_nint); + //BA.debugLineNum = 38;BA.debugLine="Dim la_edo As Label"; +c_cliente._la_edo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_edo",c_cliente._la_edo); + //BA.debugLineNum = 39;BA.debugLine="Dim la_pob As Label"; +c_cliente._la_pob = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_pob",c_cliente._la_pob); + //BA.debugLineNum = 40;BA.debugLine="Dim la_col As Label"; +c_cliente._la_col = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_col",c_cliente._la_col); + //BA.debugLineNum = 41;BA.debugLine="Dim la_cp As Label"; +c_cliente._la_cp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_cp",c_cliente._la_cp); + //BA.debugLineNum = 42;BA.debugLine="Dim la_zona As Label"; +c_cliente._la_zona = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_zona",c_cliente._la_zona); + //BA.debugLineNum = 43;BA.debugLine="Dim gest As Button"; +c_cliente._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_cliente._gest); + //BA.debugLineNum = 44;BA.debugLine="Dim la_saldotot As Label"; +c_cliente._la_saldotot = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_saldotot",c_cliente._la_saldotot); + //BA.debugLineNum = 45;BA.debugLine="Dim la_saldooper As Label"; +c_cliente._la_saldooper = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_saldooper",c_cliente._la_saldooper); + //BA.debugLineNum = 46;BA.debugLine="Private l_cajetillas As Label"; +c_cliente._l_cajetillas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cajetillas",c_cliente._l_cajetillas); + //BA.debugLineNum = 47;BA.debugLine="Dim Tels As Button"; +c_cliente._tels = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_tels",c_cliente._tels); + //BA.debugLineNum = 48;BA.debugLine="Dim Label10 As Label"; +c_cliente._label10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label10",c_cliente._label10); + //BA.debugLineNum = 49;BA.debugLine="Dim Label11 As Label"; +c_cliente._label11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label11",c_cliente._label11); + //BA.debugLineNum = 51;BA.debugLine="Dim Tar As Button"; +c_cliente._tar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_tar",c_cliente._tar); + //BA.debugLineNum = 52;BA.debugLine="Dim t1, t2 As Timer"; +c_cliente._t1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t1",c_cliente._t1); +c_cliente._t2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t2",c_cliente._t2); + //BA.debugLineNum = 53;BA.debugLine="Dim la_comm As Label"; +c_cliente._la_comm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_comm",c_cliente._la_comm); + //BA.debugLineNum = 54;BA.debugLine="Dim la_actdte As Label"; +c_cliente._la_actdte = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_actdte",c_cliente._la_actdte); + //BA.debugLineNum = 55;BA.debugLine="Dim la_usuario As Label"; +c_cliente._la_usuario = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_usuario",c_cliente._la_usuario); + //BA.debugLineNum = 56;BA.debugLine="Dim la_resultado As Label"; +c_cliente._la_resultado = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_resultado",c_cliente._la_resultado); + //BA.debugLineNum = 57;BA.debugLine="Dim l_entre1 As Label"; +c_cliente._l_entre1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_entre1",c_cliente._l_entre1); + //BA.debugLineNum = 58;BA.debugLine="Dim l_entre2 As Label"; +c_cliente._l_entre2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_entre2",c_cliente._l_entre2); + //BA.debugLineNum = 59;BA.debugLine="Dim l_atiende As Label"; +c_cliente._l_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende",c_cliente._l_atiende); + //BA.debugLineNum = 60;BA.debugLine="Dim l_atiende2 As Label"; +c_cliente._l_atiende2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende2",c_cliente._l_atiende2); + //BA.debugLineNum = 61;BA.debugLine="Dim DATOS As Button"; +c_cliente._datos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_datos",c_cliente._datos); + //BA.debugLineNum = 62;BA.debugLine="Dim Guardar As Button"; +c_cliente._guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guardar",c_cliente._guardar); + //BA.debugLineNum = 63;BA.debugLine="Dim NUEVO As Button"; +c_cliente._nuevo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nuevo",c_cliente._nuevo); + //BA.debugLineNum = 66;BA.debugLine="Dim l_total As Label"; +c_cliente._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_cliente._l_total); + //BA.debugLineNum = 67;BA.debugLine="Dim c2 As Cursor"; +c_cliente._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_cliente._c2); + //BA.debugLineNum = 68;BA.debugLine="Dim S2 As Cursor"; +c_cliente._s2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s2",c_cliente._s2); + //BA.debugLineNum = 69;BA.debugLine="Private s As Cursor"; +c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_cliente._s); + //BA.debugLineNum = 70;BA.debugLine="Dim res As String"; +c_cliente._res = RemoteObject.createImmutable("");__ref.setField("_res",c_cliente._res); + //BA.debugLineNum = 71;BA.debugLine="Private HIST As Button"; +c_cliente._hist = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_hist",c_cliente._hist); + //BA.debugLineNum = 72;BA.debugLine="Private MONTO_COMPRA As String"; +c_cliente._monto_compra = RemoteObject.createImmutable("");__ref.setField("_monto_compra",c_cliente._monto_compra); + //BA.debugLineNum = 73;BA.debugLine="Private META As String"; +c_cliente._meta = RemoteObject.createImmutable("");__ref.setField("_meta",c_cliente._meta); + //BA.debugLineNum = 74;BA.debugLine="Private META2 As String"; +c_cliente._meta2 = RemoteObject.createImmutable("");__ref.setField("_meta2",c_cliente._meta2); + //BA.debugLineNum = 75;BA.debugLine="Private VERIFICA As String"; +c_cliente._verifica = RemoteObject.createImmutable("");__ref.setField("_verifica",c_cliente._verifica); + //BA.debugLineNum = 76;BA.debugLine="Private L_QR As Label"; +c_cliente._l_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_qr",c_cliente._l_qr); + //BA.debugLineNum = 77;BA.debugLine="Private BT_QR As Button"; +c_cliente._bt_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_bt_qr",c_cliente._bt_qr); + //BA.debugLineNum = 79;BA.debugLine="Dim CODIGO As String"; +c_cliente._codigo = RemoteObject.createImmutable("");__ref.setField("_codigo",c_cliente._codigo); + //BA.debugLineNum = 81;BA.debugLine="Private b_mapa As Button"; +c_cliente._b_mapa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_mapa",c_cliente._b_mapa); + //BA.debugLineNum = 82;BA.debugLine="Dim CUANTOS As String"; +c_cliente._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_cliente._cuantos); + //BA.debugLineNum = 83;BA.debugLine="Private B_IMP As Button"; +c_cliente._b_imp = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_imp",c_cliente._b_imp); + //BA.debugLineNum = 84;BA.debugLine="Dim Toggla As Toggle"; +c_cliente._toggla = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_toggla",c_cliente._toggla); + //BA.debugLineNum = 85;BA.debugLine="Dim tgl As Toggle"; +c_cliente._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_cliente._tgl); + //BA.debugLineNum = 86;BA.debugLine="Private Panel1 As Panel"; +c_cliente._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_cliente._panel1); + //BA.debugLineNum = 87;BA.debugLine="Private I_COMPRA As EditText"; +c_cliente._i_compra = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_i_compra",c_cliente._i_compra); + //BA.debugLineNum = 88;BA.debugLine="Private B_GUARDA_C As Button"; +c_cliente._b_guarda_c = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guarda_c",c_cliente._b_guarda_c); + //BA.debugLineNum = 89;BA.debugLine="Private b_venta As Button"; +c_cliente._b_venta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_venta",c_cliente._b_venta); + //BA.debugLineNum = 90;BA.debugLine="Dim ALMACEN As String"; +c_cliente._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_cliente._almacen); + //BA.debugLineNum = 91;BA.debugLine="Dim LA_GPS As Label"; +c_cliente._la_gps = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_gps",c_cliente._la_gps); + //BA.debugLineNum = 92;BA.debugLine="Private B_E_NEXT As Button"; +c_cliente._b_e_next = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_e_next",c_cliente._b_e_next); + //BA.debugLineNum = 93;BA.debugLine="Private E_RES_E As EditText"; +c_cliente._e_res_e = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_res_e",c_cliente._e_res_e); + //BA.debugLineNum = 94;BA.debugLine="Private t_tenc As Label"; +c_cliente._t_tenc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_t_tenc",c_cliente._t_tenc); + //BA.debugLineNum = 95;BA.debugLine="Private Panel2 As Panel"; +c_cliente._panel2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel2",c_cliente._panel2); + //BA.debugLineNum = 96;BA.debugLine="Private CONTADOR_E As String"; +c_cliente._contador_e = RemoteObject.createImmutable("");__ref.setField("_contador_e",c_cliente._contador_e); + //BA.debugLineNum = 97;BA.debugLine="Private HR_RES1 As String"; +c_cliente._hr_res1 = RemoteObject.createImmutable("");__ref.setField("_hr_res1",c_cliente._hr_res1); + //BA.debugLineNum = 98;BA.debugLine="Private HR_RES2 As String"; +c_cliente._hr_res2 = RemoteObject.createImmutable("");__ref.setField("_hr_res2",c_cliente._hr_res2); + //BA.debugLineNum = 99;BA.debugLine="Private HR_RES3 As String"; +c_cliente._hr_res3 = RemoteObject.createImmutable("");__ref.setField("_hr_res3",c_cliente._hr_res3); + //BA.debugLineNum = 100;BA.debugLine="Private EXISTE As String"; +c_cliente._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_cliente._existe); + //BA.debugLineNum = 101;BA.debugLine="Private telefono As String"; +c_cliente._telefono = RemoteObject.createImmutable("");__ref.setField("_telefono",c_cliente._telefono); + //BA.debugLineNum = 104;BA.debugLine="Private RB1 As RadioButton"; +c_cliente._rb1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1",c_cliente._rb1); + //BA.debugLineNum = 105;BA.debugLine="Private RB2 As RadioButton"; +c_cliente._rb2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2",c_cliente._rb2); + //BA.debugLineNum = 106;BA.debugLine="Private RB3 As RadioButton"; +c_cliente._rb3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb3",c_cliente._rb3); + //BA.debugLineNum = 107;BA.debugLine="Private RB4 As RadioButton"; +c_cliente._rb4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb4",c_cliente._rb4); + //BA.debugLineNum = 108;BA.debugLine="Private RB5 As RadioButton"; +c_cliente._rb5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb5",c_cliente._rb5); + //BA.debugLineNum = 110;BA.debugLine="Private stay_hh As String"; +c_cliente._stay_hh = RemoteObject.createImmutable("");__ref.setField("_stay_hh",c_cliente._stay_hh); + //BA.debugLineNum = 111;BA.debugLine="Private stay_mi As String"; +c_cliente._stay_mi = RemoteObject.createImmutable("");__ref.setField("_stay_mi",c_cliente._stay_mi); + //BA.debugLineNum = 112;BA.debugLine="Private stay_ss As String"; +c_cliente._stay_ss = RemoteObject.createImmutable("");__ref.setField("_stay_ss",c_cliente._stay_ss); + //BA.debugLineNum = 114;BA.debugLine="Private LA_GEO As Label"; +c_cliente._la_geo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_geo",c_cliente._la_geo); + //BA.debugLineNum = 115;BA.debugLine="Dim result As Int"; +c_cliente._result = RemoteObject.createImmutable(0);__ref.setField("_result",c_cliente._result); + //BA.debugLineNum = 116;BA.debugLine="Private cercavalor As String"; +c_cliente._cercavalor = RemoteObject.createImmutable("");__ref.setField("_cercavalor",c_cliente._cercavalor); + //BA.debugLineNum = 117;BA.debugLine="Private LA_RUTA As String"; +c_cliente._la_ruta = RemoteObject.createImmutable("");__ref.setField("_la_ruta",c_cliente._la_ruta); + //BA.debugLineNum = 119;BA.debugLine="Private b_like As Button"; +c_cliente._b_like = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_like",c_cliente._b_like); + //BA.debugLineNum = 120;BA.debugLine="Private B_GPS As Button"; +c_cliente._b_gps = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_gps",c_cliente._b_gps); + //BA.debugLineNum = 121;BA.debugLine="Dim sc As JhsIceZxing1"; +c_cliente._sc = RemoteObject.createNew ("ice.zxing.b4aZXingLib");__ref.setField("_sc",c_cliente._sc); + //BA.debugLineNum = 122;BA.debugLine="Dim CODIGO As String"; +c_cliente._codigo = RemoteObject.createImmutable("");__ref.setField("_codigo",c_cliente._codigo); + //BA.debugLineNum = 123;BA.debugLine="Private SV_ENCUESTA As ScrollView"; +c_cliente._sv_encuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");__ref.setField("_sv_encuesta",c_cliente._sv_encuesta); + //BA.debugLineNum = 124;BA.debugLine="Private RB1_E1 As RadioButton"; +c_cliente._rb1_e1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1_e1",c_cliente._rb1_e1); + //BA.debugLineNum = 125;BA.debugLine="Private RB2_E1 As RadioButton"; +c_cliente._rb2_e1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2_e1",c_cliente._rb2_e1); + //BA.debugLineNum = 126;BA.debugLine="Private RB3_E1 As RadioButton"; +c_cliente._rb3_e1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb3_e1",c_cliente._rb3_e1); + //BA.debugLineNum = 127;BA.debugLine="Private CHB1 As CheckBox"; +c_cliente._chb1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_chb1",c_cliente._chb1); + //BA.debugLineNum = 128;BA.debugLine="Private CHB2 As CheckBox"; +c_cliente._chb2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_chb2",c_cliente._chb2); + //BA.debugLineNum = 129;BA.debugLine="Private CHB3 As CheckBox"; +c_cliente._chb3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_chb3",c_cliente._chb3); + //BA.debugLineNum = 130;BA.debugLine="Private Panel5 As Panel"; +c_cliente._panel5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel5",c_cliente._panel5); + //BA.debugLineNum = 131;BA.debugLine="Private B_guardaencuesta As Button"; +c_cliente._b_guardaencuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardaencuesta",c_cliente._b_guardaencuesta); + //BA.debugLineNum = 132;BA.debugLine="Private RadioButton1 As RadioButton"; +c_cliente._radiobutton1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton1",c_cliente._radiobutton1); + //BA.debugLineNum = 133;BA.debugLine="Private RadioButton2 As RadioButton"; +c_cliente._radiobutton2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton2",c_cliente._radiobutton2); + //BA.debugLineNum = 134;BA.debugLine="Private RadioButton3 As RadioButton"; +c_cliente._radiobutton3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton3",c_cliente._radiobutton3); + //BA.debugLineNum = 135;BA.debugLine="Private RadioButton4 As RadioButton"; +c_cliente._radiobutton4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton4",c_cliente._radiobutton4); + //BA.debugLineNum = 136;BA.debugLine="Private RadioButton5 As RadioButton"; +c_cliente._radiobutton5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton5",c_cliente._radiobutton5); + //BA.debugLineNum = 137;BA.debugLine="Private RadioButton6 As RadioButton"; +c_cliente._radiobutton6 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton6",c_cliente._radiobutton6); + //BA.debugLineNum = 138;BA.debugLine="Private RadioButton7 As RadioButton"; +c_cliente._radiobutton7 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton7",c_cliente._radiobutton7); + //BA.debugLineNum = 139;BA.debugLine="Private RadioButton8 As RadioButton"; +c_cliente._radiobutton8 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton8",c_cliente._radiobutton8); + //BA.debugLineNum = 140;BA.debugLine="Private RadioButton9 As RadioButton"; +c_cliente._radiobutton9 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton9",c_cliente._radiobutton9); + //BA.debugLineNum = 141;BA.debugLine="Private RadioButton10 As RadioButton"; +c_cliente._radiobutton10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton10",c_cliente._radiobutton10); + //BA.debugLineNum = 142;BA.debugLine="Private RadioButton11 As RadioButton"; +c_cliente._radiobutton11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton11",c_cliente._radiobutton11); + //BA.debugLineNum = 143;BA.debugLine="Private RadioButton12 As RadioButton"; +c_cliente._radiobutton12 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton12",c_cliente._radiobutton12); + //BA.debugLineNum = 144;BA.debugLine="Private RadioButton13 As RadioButton"; +c_cliente._radiobutton13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton13",c_cliente._radiobutton13); + //BA.debugLineNum = 145;BA.debugLine="Private RadioButton14 As RadioButton"; +c_cliente._radiobutton14 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton14",c_cliente._radiobutton14); + //BA.debugLineNum = 146;BA.debugLine="Private CheckBox1 As CheckBox"; +c_cliente._checkbox1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_checkbox1",c_cliente._checkbox1); + //BA.debugLineNum = 147;BA.debugLine="Private CheckBox2 As CheckBox"; +c_cliente._checkbox2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_checkbox2",c_cliente._checkbox2); + //BA.debugLineNum = 148;BA.debugLine="Private CheckBox3 As CheckBox"; +c_cliente._checkbox3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_checkbox3",c_cliente._checkbox3); + //BA.debugLineNum = 149;BA.debugLine="Private CheckBox4 As CheckBox"; +c_cliente._checkbox4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_checkbox4",c_cliente._checkbox4); + //BA.debugLineNum = 150;BA.debugLine="Private CheckBox5 As CheckBox"; +c_cliente._checkbox5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_checkbox5",c_cliente._checkbox5); + //BA.debugLineNum = 151;BA.debugLine="Private CheckBox6 As CheckBox"; +c_cliente._checkbox6 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_checkbox6",c_cliente._checkbox6); + //BA.debugLineNum = 152;BA.debugLine="Private CheckBox7 As CheckBox"; +c_cliente._checkbox7 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_checkbox7",c_cliente._checkbox7); + //BA.debugLineNum = 153;BA.debugLine="Private CheckBox8 As CheckBox"; +c_cliente._checkbox8 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_checkbox8",c_cliente._checkbox8); + //BA.debugLineNum = 154;BA.debugLine="Dim encuentasmapa As Map"; +c_cliente._encuentasmapa = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_encuentasmapa",c_cliente._encuentasmapa); + //BA.debugLineNum = 155;BA.debugLine="Private p6 As EditText"; +c_cliente._p6 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_p6",c_cliente._p6); + //BA.debugLineNum = 156;BA.debugLine="Private p7 As EditText"; +c_cliente._p7 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_p7",c_cliente._p7); + //BA.debugLineNum = 157;BA.debugLine="Private p8 As EditText"; +c_cliente._p8 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_p8",c_cliente._p8); + //BA.debugLineNum = 158;BA.debugLine="Private Panel7 As Panel"; +c_cliente._panel7 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel7",c_cliente._panel7); + //BA.debugLineNum = 159;BA.debugLine="Private RadioButton17 As RadioButton"; +c_cliente._radiobutton17 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton17",c_cliente._radiobutton17); + //BA.debugLineNum = 160;BA.debugLine="Private RadioButton16 As RadioButton"; +c_cliente._radiobutton16 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton16",c_cliente._radiobutton16); + //BA.debugLineNum = 161;BA.debugLine="Private RadioButton15 As RadioButton"; +c_cliente._radiobutton15 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_radiobutton15",c_cliente._radiobutton15); + //BA.debugLineNum = 162;BA.debugLine="Private B_guardaencuesta_m2 As Button"; +c_cliente._b_guardaencuesta_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardaencuesta_m2",c_cliente._b_guardaencuesta_m2); + //BA.debugLineNum = 163;BA.debugLine="Private et_p1_m2 As EditText"; +c_cliente._et_p1_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p1_m2",c_cliente._et_p1_m2); + //BA.debugLineNum = 164;BA.debugLine="Private et_p2_m2 As EditText"; +c_cliente._et_p2_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p2_m2",c_cliente._et_p2_m2); + //BA.debugLineNum = 165;BA.debugLine="Private RB7_P6_M2 As RadioButton"; +c_cliente._rb7_p6_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb7_p6_m2",c_cliente._rb7_p6_m2); + //BA.debugLineNum = 166;BA.debugLine="Private RB6_P6_M2 As RadioButton"; +c_cliente._rb6_p6_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb6_p6_m2",c_cliente._rb6_p6_m2); + //BA.debugLineNum = 167;BA.debugLine="Private RB5_P6_M2 As RadioButton"; +c_cliente._rb5_p6_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb5_p6_m2",c_cliente._rb5_p6_m2); + //BA.debugLineNum = 168;BA.debugLine="Private RB4_P6_M2 As RadioButton"; +c_cliente._rb4_p6_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb4_p6_m2",c_cliente._rb4_p6_m2); + //BA.debugLineNum = 169;BA.debugLine="Private RB3_P6_M2 As RadioButton"; +c_cliente._rb3_p6_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb3_p6_m2",c_cliente._rb3_p6_m2); + //BA.debugLineNum = 170;BA.debugLine="Private RB2_P6_M2 As RadioButton"; +c_cliente._rb2_p6_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2_p6_m2",c_cliente._rb2_p6_m2); + //BA.debugLineNum = 171;BA.debugLine="Private RB1_P6_M2 As RadioButton"; +c_cliente._rb1_p6_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1_p6_m2",c_cliente._rb1_p6_m2); + //BA.debugLineNum = 172;BA.debugLine="Private et_p5_m2 As EditText"; +c_cliente._et_p5_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p5_m2",c_cliente._et_p5_m2); + //BA.debugLineNum = 173;BA.debugLine="Private rd3_p4_m2 As RadioButton"; +c_cliente._rd3_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rd3_p4_m2",c_cliente._rd3_p4_m2); + //BA.debugLineNum = 174;BA.debugLine="Private rd2_p4_m2 As RadioButton"; +c_cliente._rd2_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rd2_p4_m2",c_cliente._rd2_p4_m2); + //BA.debugLineNum = 175;BA.debugLine="Private rd1_p4_m2 As RadioButton"; +c_cliente._rd1_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rd1_p4_m2",c_cliente._rd1_p4_m2); + //BA.debugLineNum = 176;BA.debugLine="Private RB1_P3_M2 As RadioButton"; +c_cliente._rb1_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1_p3_m2",c_cliente._rb1_p3_m2); + //BA.debugLineNum = 177;BA.debugLine="Private RB2_P3_M2 As RadioButton"; +c_cliente._rb2_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2_p3_m2",c_cliente._rb2_p3_m2); + //BA.debugLineNum = 178;BA.debugLine="Private RB3_P3_M2 As RadioButton"; +c_cliente._rb3_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb3_p3_m2",c_cliente._rb3_p3_m2); + //BA.debugLineNum = 179;BA.debugLine="Private RB4_P3_M2 As RadioButton"; +c_cliente._rb4_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb4_p3_m2",c_cliente._rb4_p3_m2); + //BA.debugLineNum = 180;BA.debugLine="Private ET_P3_M2 As EditText"; +c_cliente._et_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p3_m2",c_cliente._et_p3_m2); + //BA.debugLineNum = 181;BA.debugLine="Private Panel7_M2 As Panel"; +c_cliente._panel7_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel7_m2",c_cliente._panel7_m2); + //BA.debugLineNum = 182;BA.debugLine="Private P4_M2 As String"; +c_cliente._p4_m2 = RemoteObject.createImmutable("");__ref.setField("_p4_m2",c_cliente._p4_m2); + //BA.debugLineNum = 183;BA.debugLine="Private P3_M2 As String"; +c_cliente._p3_m2 = RemoteObject.createImmutable("");__ref.setField("_p3_m2",c_cliente._p3_m2); + //BA.debugLineNum = 184;BA.debugLine="Private P6_M2 As String"; +c_cliente._p6_m2 = RemoteObject.createImmutable("");__ref.setField("_p6_m2",c_cliente._p6_m2); + //BA.debugLineNum = 186;BA.debugLine="Private CB1_P3_M2 As CheckBox"; +c_cliente._cb1_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb1_p3_m2",c_cliente._cb1_p3_m2); + //BA.debugLineNum = 187;BA.debugLine="Private CB2_P3_M2 As CheckBox"; +c_cliente._cb2_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb2_p3_m2",c_cliente._cb2_p3_m2); + //BA.debugLineNum = 188;BA.debugLine="Private CB3_P3_M2 As CheckBox"; +c_cliente._cb3_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb3_p3_m2",c_cliente._cb3_p3_m2); + //BA.debugLineNum = 189;BA.debugLine="Private CB4_P3_M2 As CheckBox"; +c_cliente._cb4_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb4_p3_m2",c_cliente._cb4_p3_m2); + //BA.debugLineNum = 190;BA.debugLine="Private CB5_P3_M2 As CheckBox"; +c_cliente._cb5_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb5_p3_m2",c_cliente._cb5_p3_m2); + //BA.debugLineNum = 191;BA.debugLine="Private CB6_P3_M2 As CheckBox"; +c_cliente._cb6_p3_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb6_p3_m2",c_cliente._cb6_p3_m2); + //BA.debugLineNum = 192;BA.debugLine="Private EXISTE2 As String"; +c_cliente._existe2 = RemoteObject.createImmutable("");__ref.setField("_existe2",c_cliente._existe2); + //BA.debugLineNum = 193;BA.debugLine="Private EXISTE3 As String"; +c_cliente._existe3 = RemoteObject.createImmutable("");__ref.setField("_existe3",c_cliente._existe3); + //BA.debugLineNum = 194;BA.debugLine="Private EXISTE4 As String"; +c_cliente._existe4 = RemoteObject.createImmutable("");__ref.setField("_existe4",c_cliente._existe4); + //BA.debugLineNum = 195;BA.debugLine="Private EXISTE5 As String"; +c_cliente._existe5 = RemoteObject.createImmutable("");__ref.setField("_existe5",c_cliente._existe5); + //BA.debugLineNum = 196;BA.debugLine="Private et_p1_m3 As EditText"; +c_cliente._et_p1_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p1_m3",c_cliente._et_p1_m3); + //BA.debugLineNum = 197;BA.debugLine="Private et_p2_m3 As EditText"; +c_cliente._et_p2_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p2_m3",c_cliente._et_p2_m3); + //BA.debugLineNum = 198;BA.debugLine="Private CB1_P3_M3 As CheckBox"; +c_cliente._cb1_p3_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb1_p3_m3",c_cliente._cb1_p3_m3); + //BA.debugLineNum = 199;BA.debugLine="Private CB2_P3_M3 As CheckBox"; +c_cliente._cb2_p3_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb2_p3_m3",c_cliente._cb2_p3_m3); + //BA.debugLineNum = 200;BA.debugLine="Private CB3_P3_M3 As CheckBox"; +c_cliente._cb3_p3_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb3_p3_m3",c_cliente._cb3_p3_m3); + //BA.debugLineNum = 201;BA.debugLine="Private CB4_P3_M3 As CheckBox"; +c_cliente._cb4_p3_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb4_p3_m3",c_cliente._cb4_p3_m3); + //BA.debugLineNum = 202;BA.debugLine="Private CB5_P3_M3 As CheckBox"; +c_cliente._cb5_p3_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb5_p3_m3",c_cliente._cb5_p3_m3); + //BA.debugLineNum = 203;BA.debugLine="Private CB1_P4_M3 As CheckBox"; +c_cliente._cb1_p4_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb1_p4_m3",c_cliente._cb1_p4_m3); + //BA.debugLineNum = 204;BA.debugLine="Private CB2_P4_M3 As CheckBox"; +c_cliente._cb2_p4_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb2_p4_m3",c_cliente._cb2_p4_m3); + //BA.debugLineNum = 205;BA.debugLine="Private CB3_P4_M3 As CheckBox"; +c_cliente._cb3_p4_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb3_p4_m3",c_cliente._cb3_p4_m3); + //BA.debugLineNum = 206;BA.debugLine="Private CB4_P4_M3 As CheckBox"; +c_cliente._cb4_p4_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb4_p4_m3",c_cliente._cb4_p4_m3); + //BA.debugLineNum = 207;BA.debugLine="Private CB5_P4_M3 As CheckBox"; +c_cliente._cb5_p4_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb5_p4_m3",c_cliente._cb5_p4_m3); + //BA.debugLineNum = 208;BA.debugLine="Private rd1_p5_m3 As RadioButton"; +c_cliente._rd1_p5_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rd1_p5_m3",c_cliente._rd1_p5_m3); + //BA.debugLineNum = 209;BA.debugLine="Private rd2_p5_m3 As RadioButton"; +c_cliente._rd2_p5_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rd2_p5_m3",c_cliente._rd2_p5_m3); + //BA.debugLineNum = 210;BA.debugLine="Private CB1_P6_M3 As CheckBox"; +c_cliente._cb1_p6_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb1_p6_m3",c_cliente._cb1_p6_m3); + //BA.debugLineNum = 211;BA.debugLine="Private CB2_P6_M3 As CheckBox"; +c_cliente._cb2_p6_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb2_p6_m3",c_cliente._cb2_p6_m3); + //BA.debugLineNum = 212;BA.debugLine="Private CB3_P6_M3 As CheckBox"; +c_cliente._cb3_p6_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb3_p6_m3",c_cliente._cb3_p6_m3); + //BA.debugLineNum = 213;BA.debugLine="Private CB4_P6_M3 As CheckBox"; +c_cliente._cb4_p6_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb4_p6_m3",c_cliente._cb4_p6_m3); + //BA.debugLineNum = 214;BA.debugLine="Private CB5_P6_M3 As CheckBox"; +c_cliente._cb5_p6_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb5_p6_m3",c_cliente._cb5_p6_m3); + //BA.debugLineNum = 215;BA.debugLine="Private CB6_P6_M3 As CheckBox"; +c_cliente._cb6_p6_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb6_p6_m3",c_cliente._cb6_p6_m3); + //BA.debugLineNum = 216;BA.debugLine="Private ET_P6_M3 As EditText"; +c_cliente._et_p6_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p6_m3",c_cliente._et_p6_m3); + //BA.debugLineNum = 217;BA.debugLine="Private CB1_P7_M3 As CheckBox"; +c_cliente._cb1_p7_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb1_p7_m3",c_cliente._cb1_p7_m3); + //BA.debugLineNum = 218;BA.debugLine="Private CB2_P7_M3 As CheckBox"; +c_cliente._cb2_p7_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb2_p7_m3",c_cliente._cb2_p7_m3); + //BA.debugLineNum = 219;BA.debugLine="Private CB3_P7_M3 As CheckBox"; +c_cliente._cb3_p7_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb3_p7_m3",c_cliente._cb3_p7_m3); + //BA.debugLineNum = 220;BA.debugLine="Private CB4_P7_M3 As CheckBox"; +c_cliente._cb4_p7_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb4_p7_m3",c_cliente._cb4_p7_m3); + //BA.debugLineNum = 221;BA.debugLine="Private CB1_P8_M3 As CheckBox"; +c_cliente._cb1_p8_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb1_p8_m3",c_cliente._cb1_p8_m3); + //BA.debugLineNum = 222;BA.debugLine="Private CB2_P8_M3 As CheckBox"; +c_cliente._cb2_p8_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb2_p8_m3",c_cliente._cb2_p8_m3); + //BA.debugLineNum = 223;BA.debugLine="Private CB4_P8_M3 As CheckBox"; +c_cliente._cb4_p8_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb4_p8_m3",c_cliente._cb4_p8_m3); + //BA.debugLineNum = 224;BA.debugLine="Private RB1_P9_M3 As RadioButton"; +c_cliente._rb1_p9_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1_p9_m3",c_cliente._rb1_p9_m3); + //BA.debugLineNum = 225;BA.debugLine="Private RB2_P9_M3 As RadioButton"; +c_cliente._rb2_p9_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2_p9_m3",c_cliente._rb2_p9_m3); + //BA.debugLineNum = 226;BA.debugLine="Private RB3_P9_M3 As RadioButton"; +c_cliente._rb3_p9_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb3_p9_m3",c_cliente._rb3_p9_m3); + //BA.debugLineNum = 227;BA.debugLine="Private RB4_P9_M3 As RadioButton"; +c_cliente._rb4_p9_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb4_p9_m3",c_cliente._rb4_p9_m3); + //BA.debugLineNum = 228;BA.debugLine="Private RB5_P9_M3 As RadioButton"; +c_cliente._rb5_p9_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb5_p9_m3",c_cliente._rb5_p9_m3); + //BA.debugLineNum = 229;BA.debugLine="Private B_guardaencuesta_m3 As Button"; +c_cliente._b_guardaencuesta_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardaencuesta_m3",c_cliente._b_guardaencuesta_m3); + //BA.debugLineNum = 230;BA.debugLine="Private P_gallina As Panel"; +c_cliente._p_gallina = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_gallina",c_cliente._p_gallina); + //BA.debugLineNum = 231;BA.debugLine="Private b_acepta_gallina As Button"; +c_cliente._b_acepta_gallina = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_acepta_gallina",c_cliente._b_acepta_gallina); + //BA.debugLineNum = 232;BA.debugLine="Private B_CANCELA_GALLINA As Button"; +c_cliente._b_cancela_gallina = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancela_gallina",c_cliente._b_cancela_gallina); + //BA.debugLineNum = 233;BA.debugLine="Private B_GALLINA As Button"; +c_cliente._b_gallina = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_gallina",c_cliente._b_gallina); + //BA.debugLineNum = 234;BA.debugLine="Private la_cuenta_gallina As Label"; +c_cliente._la_cuenta_gallina = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_cuenta_gallina",c_cliente._la_cuenta_gallina); + //BA.debugLineNum = 235;BA.debugLine="Private cb_pregunta As B4XComboBox"; +c_cliente._cb_pregunta = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_pregunta",c_cliente._cb_pregunta); + //BA.debugLineNum = 236;BA.debugLine="Dim girotienda As String"; +c_cliente._girotienda = RemoteObject.createImmutable("");__ref.setField("_girotienda",c_cliente._girotienda); + //BA.debugLineNum = 237;BA.debugLine="Private p_pregunta1 As Panel"; +c_cliente._p_pregunta1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_pregunta1",c_cliente._p_pregunta1); + //BA.debugLineNum = 238;BA.debugLine="Private b_preguntag As Button"; +c_cliente._b_preguntag = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_preguntag",c_cliente._b_preguntag); + //BA.debugLineNum = 239;BA.debugLine="Private EN_QUE_ENCUESTA As String"; +c_cliente._en_que_encuesta = RemoteObject.createImmutable("");__ref.setField("_en_que_encuesta",c_cliente._en_que_encuesta); + //BA.debugLineNum = 240;BA.debugLine="Private ENCUESTA As String"; +c_cliente._encuesta = RemoteObject.createImmutable("");__ref.setField("_encuesta",c_cliente._encuesta); + //BA.debugLineNum = 241;BA.debugLine="Private et_p1_m4 As EditText"; +c_cliente._et_p1_m4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p1_m4",c_cliente._et_p1_m4); + //BA.debugLineNum = 242;BA.debugLine="Private et_p2_m4 As EditText"; +c_cliente._et_p2_m4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p2_m4",c_cliente._et_p2_m4); + //BA.debugLineNum = 243;BA.debugLine="Private cb_p3_m4 As B4XComboBox"; +c_cliente._cb_p3_m4 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p3_m4",c_cliente._cb_p3_m4); + //BA.debugLineNum = 244;BA.debugLine="Private cb_p4_1_m4 As B4XComboBox"; +c_cliente._cb_p4_1_m4 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p4_1_m4",c_cliente._cb_p4_1_m4); + //BA.debugLineNum = 245;BA.debugLine="Private cb_p4_2_m4 As B4XComboBox"; +c_cliente._cb_p4_2_m4 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p4_2_m4",c_cliente._cb_p4_2_m4); + //BA.debugLineNum = 246;BA.debugLine="Private cb_p4_3_m4 As B4XComboBox"; +c_cliente._cb_p4_3_m4 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p4_3_m4",c_cliente._cb_p4_3_m4); + //BA.debugLineNum = 247;BA.debugLine="Private cb_p4_4_m4 As B4XComboBox"; +c_cliente._cb_p4_4_m4 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p4_4_m4",c_cliente._cb_p4_4_m4); + //BA.debugLineNum = 248;BA.debugLine="Private cb_p4_5_m4 As B4XComboBox"; +c_cliente._cb_p4_5_m4 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p4_5_m4",c_cliente._cb_p4_5_m4); + //BA.debugLineNum = 249;BA.debugLine="Dim itemselect2 As String"; +c_cliente._itemselect2 = RemoteObject.createImmutable("");__ref.setField("_itemselect2",c_cliente._itemselect2); + //BA.debugLineNum = 250;BA.debugLine="Dim itemselect3 As String"; +c_cliente._itemselect3 = RemoteObject.createImmutable("");__ref.setField("_itemselect3",c_cliente._itemselect3); + //BA.debugLineNum = 251;BA.debugLine="Dim itemselect4 As String"; +c_cliente._itemselect4 = RemoteObject.createImmutable("");__ref.setField("_itemselect4",c_cliente._itemselect4); + //BA.debugLineNum = 252;BA.debugLine="Dim itemselect5 As String"; +c_cliente._itemselect5 = RemoteObject.createImmutable("");__ref.setField("_itemselect5",c_cliente._itemselect5); + //BA.debugLineNum = 253;BA.debugLine="Dim itemselect6 As String"; +c_cliente._itemselect6 = RemoteObject.createImmutable("");__ref.setField("_itemselect6",c_cliente._itemselect6); + //BA.debugLineNum = 254;BA.debugLine="Dim itemselect7 As String"; +c_cliente._itemselect7 = RemoteObject.createImmutable("");__ref.setField("_itemselect7",c_cliente._itemselect7); + //BA.debugLineNum = 255;BA.debugLine="Private B_guardaencuesta_m4 As Button"; +c_cliente._b_guardaencuesta_m4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardaencuesta_m4",c_cliente._b_guardaencuesta_m4); + //BA.debugLineNum = 256;BA.debugLine="Private p_modulo5 As Panel"; +c_cliente._p_modulo5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_modulo5",c_cliente._p_modulo5); + //BA.debugLineNum = 257;BA.debugLine="Private cb_p1_m5 As B4XComboBox"; +c_cliente._cb_p1_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p1_m5",c_cliente._cb_p1_m5); + //BA.debugLineNum = 258;BA.debugLine="Private cb_p2_m5 As B4XComboBox"; +c_cliente._cb_p2_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p2_m5",c_cliente._cb_p2_m5); + //BA.debugLineNum = 259;BA.debugLine="Private cb_p3_m5 As B4XComboBox"; +c_cliente._cb_p3_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p3_m5",c_cliente._cb_p3_m5); + //BA.debugLineNum = 260;BA.debugLine="Private cb_p4_m5 As B4XComboBox"; +c_cliente._cb_p4_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p4_m5",c_cliente._cb_p4_m5); + //BA.debugLineNum = 261;BA.debugLine="Private cb_p5_m5 As B4XComboBox"; +c_cliente._cb_p5_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p5_m5",c_cliente._cb_p5_m5); + //BA.debugLineNum = 262;BA.debugLine="Private cb_p6_m5 As B4XComboBox"; +c_cliente._cb_p6_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p6_m5",c_cliente._cb_p6_m5); + //BA.debugLineNum = 263;BA.debugLine="Private cb_p7_m5 As B4XComboBox"; +c_cliente._cb_p7_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p7_m5",c_cliente._cb_p7_m5); + //BA.debugLineNum = 264;BA.debugLine="Private cb_p8_m5 As B4XComboBox"; +c_cliente._cb_p8_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p8_m5",c_cliente._cb_p8_m5); + //BA.debugLineNum = 265;BA.debugLine="Private cb_p9_m5 As B4XComboBox"; +c_cliente._cb_p9_m5 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_p9_m5",c_cliente._cb_p9_m5); + //BA.debugLineNum = 266;BA.debugLine="Dim itemselect8 As String"; +c_cliente._itemselect8 = RemoteObject.createImmutable("");__ref.setField("_itemselect8",c_cliente._itemselect8); + //BA.debugLineNum = 267;BA.debugLine="Dim itemselect9 As String"; +c_cliente._itemselect9 = RemoteObject.createImmutable("");__ref.setField("_itemselect9",c_cliente._itemselect9); + //BA.debugLineNum = 268;BA.debugLine="Dim itemselect10 As String"; +c_cliente._itemselect10 = RemoteObject.createImmutable("");__ref.setField("_itemselect10",c_cliente._itemselect10); + //BA.debugLineNum = 269;BA.debugLine="Dim itemselect11 As String"; +c_cliente._itemselect11 = RemoteObject.createImmutable("");__ref.setField("_itemselect11",c_cliente._itemselect11); + //BA.debugLineNum = 270;BA.debugLine="Dim itemselect12 As String"; +c_cliente._itemselect12 = RemoteObject.createImmutable("");__ref.setField("_itemselect12",c_cliente._itemselect12); + //BA.debugLineNum = 271;BA.debugLine="Dim itemselect13 As String"; +c_cliente._itemselect13 = RemoteObject.createImmutable("");__ref.setField("_itemselect13",c_cliente._itemselect13); + //BA.debugLineNum = 272;BA.debugLine="Dim itemselect14 As String"; +c_cliente._itemselect14 = RemoteObject.createImmutable("");__ref.setField("_itemselect14",c_cliente._itemselect14); + //BA.debugLineNum = 273;BA.debugLine="Dim itemselect15 As String"; +c_cliente._itemselect15 = RemoteObject.createImmutable("");__ref.setField("_itemselect15",c_cliente._itemselect15); + //BA.debugLineNum = 274;BA.debugLine="Dim itemselect16 As String"; +c_cliente._itemselect16 = RemoteObject.createImmutable("");__ref.setField("_itemselect16",c_cliente._itemselect16); + //BA.debugLineNum = 275;BA.debugLine="Private B_guardaencuesta_m5 As Button"; +c_cliente._b_guardaencuesta_m5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardaencuesta_m5",c_cliente._b_guardaencuesta_m5); + //BA.debugLineNum = 276;BA.debugLine="Dim PASA As String"; +c_cliente._pasa = RemoteObject.createImmutable("");__ref.setField("_pasa",c_cliente._pasa); + //BA.debugLineNum = 277;BA.debugLine="Private RB1_P4_M2 As RadioButton"; +c_cliente._rb1_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1_p4_m2",c_cliente._rb1_p4_m2); + //BA.debugLineNum = 278;BA.debugLine="Private RB2_P4_M2 As RadioButton"; +c_cliente._rb2_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2_p4_m2",c_cliente._rb2_p4_m2); + //BA.debugLineNum = 279;BA.debugLine="Private panel7_p4_m2 As Panel"; +c_cliente._panel7_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel7_p4_m2",c_cliente._panel7_p4_m2); + //BA.debugLineNum = 280;BA.debugLine="Private CB1_P4_M2 As CheckBox"; +c_cliente._cb1_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb1_p4_m2",c_cliente._cb1_p4_m2); + //BA.debugLineNum = 281;BA.debugLine="Private CB2_P4_M2 As CheckBox"; +c_cliente._cb2_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb2_p4_m2",c_cliente._cb2_p4_m2); + //BA.debugLineNum = 282;BA.debugLine="Private CB3_P4_M2 As CheckBox"; +c_cliente._cb3_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb3_p4_m2",c_cliente._cb3_p4_m2); + //BA.debugLineNum = 283;BA.debugLine="Private CB4_P4_M2 As CheckBox"; +c_cliente._cb4_p4_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb4_p4_m2",c_cliente._cb4_p4_m2); + //BA.debugLineNum = 284;BA.debugLine="Private Panel4 As Panel"; +c_cliente._panel4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel4",c_cliente._panel4); + //BA.debugLineNum = 285;BA.debugLine="Private B_GUARDA_CE_PED As Button"; +c_cliente._b_guarda_ce_ped = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guarda_ce_ped",c_cliente._b_guarda_ce_ped); + //BA.debugLineNum = 288;BA.debugLine="Private KP_01 As CheckBox"; +c_cliente._kp_01 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_01",c_cliente._kp_01); + //BA.debugLineNum = 289;BA.debugLine="Private KP_02 As CheckBox"; +c_cliente._kp_02 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_02",c_cliente._kp_02); + //BA.debugLineNum = 290;BA.debugLine="Private KP_03 As CheckBox"; +c_cliente._kp_03 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_03",c_cliente._kp_03); + //BA.debugLineNum = 291;BA.debugLine="Private KP_04 As CheckBox"; +c_cliente._kp_04 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_04",c_cliente._kp_04); + //BA.debugLineNum = 292;BA.debugLine="Private KP_05 As CheckBox"; +c_cliente._kp_05 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_05",c_cliente._kp_05); + //BA.debugLineNum = 293;BA.debugLine="Private KP_06 As CheckBox"; +c_cliente._kp_06 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_06",c_cliente._kp_06); + //BA.debugLineNum = 294;BA.debugLine="Private KP_07 As CheckBox"; +c_cliente._kp_07 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_07",c_cliente._kp_07); + //BA.debugLineNum = 295;BA.debugLine="Private KP_08 As CheckBox"; +c_cliente._kp_08 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_08",c_cliente._kp_08); + //BA.debugLineNum = 296;BA.debugLine="Private KP_09 As CheckBox"; +c_cliente._kp_09 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_09",c_cliente._kp_09); + //BA.debugLineNum = 297;BA.debugLine="Private KP_10 As CheckBox"; +c_cliente._kp_10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_10",c_cliente._kp_10); + //BA.debugLineNum = 298;BA.debugLine="Private KP_11 As CheckBox"; +c_cliente._kp_11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_11",c_cliente._kp_11); + //BA.debugLineNum = 299;BA.debugLine="Private KP_12 As CheckBox"; +c_cliente._kp_12 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_12",c_cliente._kp_12); + //BA.debugLineNum = 300;BA.debugLine="Private KP_13 As CheckBox"; +c_cliente._kp_13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_13",c_cliente._kp_13); + //BA.debugLineNum = 301;BA.debugLine="Private KP_14 As CheckBox"; +c_cliente._kp_14 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_14",c_cliente._kp_14); + //BA.debugLineNum = 302;BA.debugLine="Private KP_15 As CheckBox"; +c_cliente._kp_15 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_15",c_cliente._kp_15); + //BA.debugLineNum = 303;BA.debugLine="Private KP_16 As CheckBox"; +c_cliente._kp_16 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_16",c_cliente._kp_16); + //BA.debugLineNum = 304;BA.debugLine="Private KP_17 As CheckBox"; +c_cliente._kp_17 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_17",c_cliente._kp_17); + //BA.debugLineNum = 305;BA.debugLine="Private KP_18 As CheckBox"; +c_cliente._kp_18 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_18",c_cliente._kp_18); + //BA.debugLineNum = 306;BA.debugLine="Private KP_19 As CheckBox"; +c_cliente._kp_19 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_19",c_cliente._kp_19); + //BA.debugLineNum = 307;BA.debugLine="Private KP_20 As CheckBox"; +c_cliente._kp_20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kp_20",c_cliente._kp_20); + //BA.debugLineNum = 309;BA.debugLine="Private KG_01 As CheckBox"; +c_cliente._kg_01 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kg_01",c_cliente._kg_01); + //BA.debugLineNum = 310;BA.debugLine="Private KG_02 As CheckBox"; +c_cliente._kg_02 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kg_02",c_cliente._kg_02); + //BA.debugLineNum = 311;BA.debugLine="Private KG_03 As CheckBox"; +c_cliente._kg_03 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kg_03",c_cliente._kg_03); + //BA.debugLineNum = 312;BA.debugLine="Private KG_04 As CheckBox"; +c_cliente._kg_04 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kg_04",c_cliente._kg_04); + //BA.debugLineNum = 313;BA.debugLine="Private KG_05 As CheckBox"; +c_cliente._kg_05 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kg_05",c_cliente._kg_05); + //BA.debugLineNum = 314;BA.debugLine="Private KG_06 As CheckBox"; +c_cliente._kg_06 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_kg_06",c_cliente._kg_06); + //BA.debugLineNum = 316;BA.debugLine="Private PK_01 As CheckBox"; +c_cliente._pk_01 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_pk_01",c_cliente._pk_01); + //BA.debugLineNum = 317;BA.debugLine="Private PK_02 As CheckBox"; +c_cliente._pk_02 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_pk_02",c_cliente._pk_02); + //BA.debugLineNum = 318;BA.debugLine="Private PK_03 As CheckBox"; +c_cliente._pk_03 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_pk_03",c_cliente._pk_03); + //BA.debugLineNum = 319;BA.debugLine="Private PK_04 As CheckBox"; +c_cliente._pk_04 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_pk_04",c_cliente._pk_04); + //BA.debugLineNum = 320;BA.debugLine="Private PK_05 As CheckBox"; +c_cliente._pk_05 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_pk_05",c_cliente._pk_05); + //BA.debugLineNum = 321;BA.debugLine="Private PK_06 As CheckBox"; +c_cliente._pk_06 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_pk_06",c_cliente._pk_06); + //BA.debugLineNum = 322;BA.debugLine="Private PK_07 As CheckBox"; +c_cliente._pk_07 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_pk_07",c_cliente._pk_07); + //BA.debugLineNum = 323;BA.debugLine="Private PK_08 As CheckBox"; +c_cliente._pk_08 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_pk_08",c_cliente._pk_08); + //BA.debugLineNum = 325;BA.debugLine="Private HPG_01 As CheckBox"; +c_cliente._hpg_01 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_01",c_cliente._hpg_01); + //BA.debugLineNum = 326;BA.debugLine="Private HPG_02 As CheckBox"; +c_cliente._hpg_02 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_02",c_cliente._hpg_02); + //BA.debugLineNum = 327;BA.debugLine="Private HPG_03 As CheckBox"; +c_cliente._hpg_03 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_03",c_cliente._hpg_03); + //BA.debugLineNum = 328;BA.debugLine="Private HPG_04 As CheckBox"; +c_cliente._hpg_04 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_04",c_cliente._hpg_04); + //BA.debugLineNum = 329;BA.debugLine="Private HPG_05 As CheckBox"; +c_cliente._hpg_05 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_05",c_cliente._hpg_05); + //BA.debugLineNum = 330;BA.debugLine="Private HPG_06 As CheckBox"; +c_cliente._hpg_06 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_06",c_cliente._hpg_06); + //BA.debugLineNum = 331;BA.debugLine="Private HPG_07 As CheckBox"; +c_cliente._hpg_07 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_07",c_cliente._hpg_07); + //BA.debugLineNum = 332;BA.debugLine="Private HPG_08 As CheckBox"; +c_cliente._hpg_08 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_08",c_cliente._hpg_08); + //BA.debugLineNum = 333;BA.debugLine="Private HPG_09 As CheckBox"; +c_cliente._hpg_09 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_09",c_cliente._hpg_09); + //BA.debugLineNum = 334;BA.debugLine="Private HPG_10 As CheckBox"; +c_cliente._hpg_10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hpg_10",c_cliente._hpg_10); + //BA.debugLineNum = 336;BA.debugLine="Private HC_01 As CheckBox"; +c_cliente._hc_01 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hc_01",c_cliente._hc_01); + //BA.debugLineNum = 337;BA.debugLine="Private HC_02 As CheckBox"; +c_cliente._hc_02 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hc_02",c_cliente._hc_02); + //BA.debugLineNum = 338;BA.debugLine="Private HC_03 As CheckBox"; +c_cliente._hc_03 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hc_03",c_cliente._hc_03); + //BA.debugLineNum = 339;BA.debugLine="Private HC_04 As CheckBox"; +c_cliente._hc_04 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_hc_04",c_cliente._hc_04); + //BA.debugLineNum = 341;BA.debugLine="Private B_01 As CheckBox"; +c_cliente._b_01 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_b_01",c_cliente._b_01); + //BA.debugLineNum = 342;BA.debugLine="Private B_02 As CheckBox"; +c_cliente._b_02 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_b_02",c_cliente._b_02); + //BA.debugLineNum = 344;BA.debugLine="Private CH_FACTURA As CheckBox"; +c_cliente._ch_factura = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_ch_factura",c_cliente._ch_factura); + //BA.debugLineNum = 345;BA.debugLine="Private que_modulo As String"; +c_cliente._que_modulo = RemoteObject.createImmutable("");__ref.setField("_que_modulo",c_cliente._que_modulo); + //BA.debugLineNum = 346;BA.debugLine="Private CUENTA_MODULO As String"; +c_cliente._cuenta_modulo = RemoteObject.createImmutable("");__ref.setField("_cuenta_modulo",c_cliente._cuenta_modulo); + //BA.debugLineNum = 347;BA.debugLine="Private rb1_m3_p1 As RadioButton"; +c_cliente._rb1_m3_p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1_m3_p1",c_cliente._rb1_m3_p1); + //BA.debugLineNum = 348;BA.debugLine="Private RB2_M3_P1 As RadioButton"; +c_cliente._rb2_m3_p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2_m3_p1",c_cliente._rb2_m3_p1); + //BA.debugLineNum = 349;BA.debugLine="Private RB3_M3_P1 As RadioButton"; +c_cliente._rb3_m3_p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb3_m3_p1",c_cliente._rb3_m3_p1); + //BA.debugLineNum = 350;BA.debugLine="Private RB4_M3_P1 As RadioButton"; +c_cliente._rb4_m3_p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb4_m3_p1",c_cliente._rb4_m3_p1); + //BA.debugLineNum = 351;BA.debugLine="Private RB1_M3_P2 As RadioButton"; +c_cliente._rb1_m3_p2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1_m3_p2",c_cliente._rb1_m3_p2); + //BA.debugLineNum = 352;BA.debugLine="Private RB2_M3_P2 As RadioButton"; +c_cliente._rb2_m3_p2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2_m3_p2",c_cliente._rb2_m3_p2); + //BA.debugLineNum = 353;BA.debugLine="Private RB3_M3_P2 As RadioButton"; +c_cliente._rb3_m3_p2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb3_m3_p2",c_cliente._rb3_m3_p2); + //BA.debugLineNum = 354;BA.debugLine="Private RB4_M3_P2 As RadioButton"; +c_cliente._rb4_m3_p2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb4_m3_p2",c_cliente._rb4_m3_p2); + //BA.debugLineNum = 355;BA.debugLine="Private et_p2_m3_1 As EditText"; +c_cliente._et_p2_m3_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_p2_m3_1",c_cliente._et_p2_m3_1); + //BA.debugLineNum = 356;BA.debugLine="Dim textemp2 As String =\"\""; +c_cliente._textemp2 = BA.ObjectToString("");__ref.setField("_textemp2",c_cliente._textemp2); + //BA.debugLineNum = 357;BA.debugLine="Dim textemp3 As String =\"\""; +c_cliente._textemp3 = BA.ObjectToString("");__ref.setField("_textemp3",c_cliente._textemp3); + //BA.debugLineNum = 358;BA.debugLine="Dim textemp4 As String =\"\""; +c_cliente._textemp4 = BA.ObjectToString("");__ref.setField("_textemp4",c_cliente._textemp4); + //BA.debugLineNum = 359;BA.debugLine="Dim textemp5 As String =\"\""; +c_cliente._textemp5 = BA.ObjectToString("");__ref.setField("_textemp5",c_cliente._textemp5); + //BA.debugLineNum = 360;BA.debugLine="Dim textemp6 As String =\"\""; +c_cliente._textemp6 = BA.ObjectToString("");__ref.setField("_textemp6",c_cliente._textemp6); + //BA.debugLineNum = 361;BA.debugLine="Dim textemp7 As String =\"\""; +c_cliente._textemp7 = BA.ObjectToString("");__ref.setField("_textemp7",c_cliente._textemp7); + //BA.debugLineNum = 362;BA.debugLine="Dim textemp8 As String =\"\""; +c_cliente._textemp8 = BA.ObjectToString("");__ref.setField("_textemp8",c_cliente._textemp8); + //BA.debugLineNum = 363;BA.debugLine="Private CB3_P8_M3 As CheckBox"; +c_cliente._cb3_p8_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb3_p8_m3",c_cliente._cb3_p8_m3); + //BA.debugLineNum = 364;BA.debugLine="Private CB7_P6_M3 As CheckBox"; +c_cliente._cb7_p6_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb7_p6_m3",c_cliente._cb7_p6_m3); + //BA.debugLineNum = 365;BA.debugLine="Private p_m1 As Panel"; +c_cliente._p_m1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_m1",c_cliente._p_m1); + //BA.debugLineNum = 366;BA.debugLine="Private p_m2 As Panel"; +c_cliente._p_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_m2",c_cliente._p_m2); + //BA.debugLineNum = 367;BA.debugLine="Private p_m3 As Panel"; +c_cliente._p_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_m3",c_cliente._p_m3); + //BA.debugLineNum = 368;BA.debugLine="Private p_m4 As Panel"; +c_cliente._p_m4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_m4",c_cliente._p_m4); + //BA.debugLineNum = 369;BA.debugLine="Dim impresoraConectada As Boolean = False"; +c_cliente._impresoraconectada = c_cliente.__c.getField(true,"False");__ref.setField("_impresoraconectada",c_cliente._impresoraconectada); + //BA.debugLineNum = 370;BA.debugLine="Dim errorImpresora As Int = 0"; +c_cliente._errorimpresora = BA.numberCast(int.class, 0);__ref.setField("_errorimpresora",c_cliente._errorimpresora); + //BA.debugLineNum = 371;BA.debugLine="Dim idencuestaaguardar As String"; +c_cliente._idencuestaaguardar = RemoteObject.createImmutable("");__ref.setField("_idencuestaaguardar",c_cliente._idencuestaaguardar); + //BA.debugLineNum = 373;BA.debugLine="Private botonPresionado As Int"; +c_cliente._botonpresionado = RemoteObject.createImmutable(0);__ref.setField("_botonpresionado",c_cliente._botonpresionado); + //BA.debugLineNum = 374;BA.debugLine="Private encuestaRes As String"; +c_cliente._encuestares = RemoteObject.createImmutable("");__ref.setField("_encuestares",c_cliente._encuestares); + //BA.debugLineNum = 375;BA.debugLine="Dim indicePregunta As Int"; +c_cliente._indicepregunta = RemoteObject.createImmutable(0);__ref.setField("_indicepregunta",c_cliente._indicepregunta); + //BA.debugLineNum = 376;BA.debugLine="Dim TOMAR_FOTO As String"; +c_cliente._tomar_foto = RemoteObject.createImmutable("");__ref.setField("_tomar_foto",c_cliente._tomar_foto); + //BA.debugLineNum = 377;BA.debugLine="Dim CURSOR_FOTO As Int"; +c_cliente._cursor_foto = RemoteObject.createImmutable(0);__ref.setField("_cursor_foto",c_cliente._cursor_foto); + //BA.debugLineNum = 378;BA.debugLine="Dim id_encuesta As String"; +c_cliente._id_encuesta = RemoteObject.createImmutable("");__ref.setField("_id_encuesta",c_cliente._id_encuesta); + //BA.debugLineNum = 379;BA.debugLine="Private chk_1_valor As String"; +c_cliente._chk_1_valor = RemoteObject.createImmutable("");__ref.setField("_chk_1_valor",c_cliente._chk_1_valor); + //BA.debugLineNum = 380;BA.debugLine="Private chk_2_valor As String"; +c_cliente._chk_2_valor = RemoteObject.createImmutable("");__ref.setField("_chk_2_valor",c_cliente._chk_2_valor); + //BA.debugLineNum = 381;BA.debugLine="Private chk_3_valor As String"; +c_cliente._chk_3_valor = RemoteObject.createImmutable("");__ref.setField("_chk_3_valor",c_cliente._chk_3_valor); + //BA.debugLineNum = 382;BA.debugLine="Private Panel10 As Panel"; +c_cliente._panel10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel10",c_cliente._panel10); + //BA.debugLineNum = 383;BA.debugLine="Private b_chk_e As Button"; +c_cliente._b_chk_e = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_chk_e",c_cliente._b_chk_e); + //BA.debugLineNum = 384;BA.debugLine="Private chk_3 As CheckBox"; +c_cliente._chk_3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_chk_3",c_cliente._chk_3); + //BA.debugLineNum = 385;BA.debugLine="Private chk_2 As CheckBox"; +c_cliente._chk_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_chk_2",c_cliente._chk_2); + //BA.debugLineNum = 386;BA.debugLine="Private Chk_1 As CheckBox"; +c_cliente._chk_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_chk_1",c_cliente._chk_1); + //BA.debugLineNum = 387;BA.debugLine="Private l_chk_e As Label"; +c_cliente._l_chk_e = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_chk_e",c_cliente._l_chk_e); + //BA.debugLineNum = 388;BA.debugLine="Private Label28 As Label"; +c_cliente._label28 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label28",c_cliente._label28); + //BA.debugLineNum = 389;BA.debugLine="Private p_encuesta As Panel"; +c_cliente._p_encuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_encuesta",c_cliente._p_encuesta); + //BA.debugLineNum = 390;BA.debugLine="Private b_encuesta_continuar As Button"; +c_cliente._b_encuesta_continuar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_encuesta_continuar",c_cliente._b_encuesta_continuar); + //BA.debugLineNum = 391;BA.debugLine="Private b_encuesta_3 As Button"; +c_cliente._b_encuesta_3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_encuesta_3",c_cliente._b_encuesta_3); + //BA.debugLineNum = 392;BA.debugLine="Private b_encuesta_2 As Button"; +c_cliente._b_encuesta_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_encuesta_2",c_cliente._b_encuesta_2); + //BA.debugLineNum = 393;BA.debugLine="Private b_encuesta_1 As Button"; +c_cliente._b_encuesta_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_encuesta_1",c_cliente._b_encuesta_1); + //BA.debugLineNum = 394;BA.debugLine="Private et_encuesta As EditText"; +c_cliente._et_encuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_encuesta",c_cliente._et_encuesta); + //BA.debugLineNum = 395;BA.debugLine="Private l_txtEncuesta As Label"; +c_cliente._l_txtencuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_txtencuesta",c_cliente._l_txtencuesta); + //BA.debugLineNum = 396;BA.debugLine="Private l_titEncuesta As Label"; +c_cliente._l_titencuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_titencuesta",c_cliente._l_titencuesta); + //BA.debugLineNum = 397;BA.debugLine="Private ImageView11 As ImageView"; +c_cliente._imageview11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview11",c_cliente._imageview11); + //BA.debugLineNum = 398;BA.debugLine="Dim distance As Long"; +c_cliente._distance = RemoteObject.createImmutable(0L);__ref.setField("_distance",c_cliente._distance); + //BA.debugLineNum = 399;BA.debugLine="Dim distancealm As Long"; +c_cliente._distancealm = RemoteObject.createImmutable(0L);__ref.setField("_distancealm",c_cliente._distancealm); + //BA.debugLineNum = 400;BA.debugLine="Private p_pideGeoPass As Panel"; +c_cliente._p_pidegeopass = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_pidegeopass",c_cliente._p_pidegeopass); + //BA.debugLineNum = 401;BA.debugLine="Private b_geopass As Button"; +c_cliente._b_geopass = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_geopass",c_cliente._b_geopass); + //BA.debugLineNum = 402;BA.debugLine="Private et_geopass As EditText"; +c_cliente._et_geopass = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_geopass",c_cliente._et_geopass); + //BA.debugLineNum = 403;BA.debugLine="Private l_geopass As Label"; +c_cliente._l_geopass = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_geopass",c_cliente._l_geopass); + //BA.debugLineNum = 404;BA.debugLine="Dim reqManager As DBRequestManager"; +c_cliente._reqmanager = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",c_cliente._reqmanager); + //BA.debugLineNum = 405;BA.debugLine="Dim ime As IME"; +c_cliente._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",c_cliente._ime); + //BA.debugLineNum = 406;BA.debugLine="Private camEx As CameraExClass"; +c_cliente._camex = RemoteObject.createNew ("gunav2.keymon.com.mx.cameraexclass");__ref.setField("_camex",c_cliente._camex); + //BA.debugLineNum = 407;BA.debugLine="Dim frontCamera As Boolean = False"; +c_cliente._frontcamera = c_cliente.__c.getField(true,"False");__ref.setField("_frontcamera",c_cliente._frontcamera); + //BA.debugLineNum = 408;BA.debugLine="Private p_cam As Panel"; +c_cliente._p_cam = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_cam",c_cliente._p_cam); + //BA.debugLineNum = 409;BA.debugLine="Dim nombrefoto As String = \"0\""; +c_cliente._nombrefoto = BA.ObjectToString("0");__ref.setField("_nombrefoto",c_cliente._nombrefoto); + //BA.debugLineNum = 410;BA.debugLine="Private p_camara As Panel"; +c_cliente._p_camara = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_camara",c_cliente._p_camara); + //BA.debugLineNum = 411;BA.debugLine="Private teclado As IME"; +c_cliente._teclado = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_teclado",c_cliente._teclado); + //BA.debugLineNum = 412;BA.debugLine="Dim fototomada As String"; +c_cliente._fototomada = RemoteObject.createImmutable("");__ref.setField("_fototomada",c_cliente._fototomada); + //BA.debugLineNum = 413;BA.debugLine="Private b_foto As Button"; +c_cliente._b_foto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_foto",c_cliente._b_foto); + //BA.debugLineNum = 414;BA.debugLine="Dim precision As String"; +c_cliente._precision = RemoteObject.createImmutable("");__ref.setField("_precision",c_cliente._precision); + //BA.debugLineNum = 415;BA.debugLine="Dim b_Inicio_Fin_venta As Button"; +c_cliente._b_inicio_fin_venta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_inicio_fin_venta",c_cliente._b_inicio_fin_venta); + //BA.debugLineNum = 417;BA.debugLine="Dim dentroDeGeocerca As Boolean = False"; +c_cliente._dentrodegeocerca = c_cliente.__c.getField(true,"False");__ref.setField("_dentrodegeocerca",c_cliente._dentrodegeocerca); + //BA.debugLineNum = 418;BA.debugLine="Dim motivoNoVenta, motivoNoVisita As String"; +c_cliente._motivonoventa = RemoteObject.createImmutable("");__ref.setField("_motivonoventa",c_cliente._motivonoventa); +c_cliente._motivonovisita = RemoteObject.createImmutable("");__ref.setField("_motivonovisita",c_cliente._motivonovisita); + //BA.debugLineNum = 419;BA.debugLine="Dim contadorIniciarVenta As Int = 0"; +c_cliente._contadoriniciarventa = BA.numberCast(int.class, 0);__ref.setField("_contadoriniciarventa",c_cliente._contadoriniciarventa); + //BA.debugLineNum = 420;BA.debugLine="Dim IniVenNO As Boolean = False"; +c_cliente._inivenno = c_cliente.__c.getField(true,"False");__ref.setField("_inivenno",c_cliente._inivenno); + //BA.debugLineNum = 421;BA.debugLine="Private geoCont As Int = 0"; +c_cliente._geocont = BA.numberCast(int.class, 0);__ref.setField("_geocont",c_cliente._geocont); + //BA.debugLineNum = 422;BA.debugLine="Private l_version As Label"; +c_cliente._l_version = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_version",c_cliente._l_version); + //BA.debugLineNum = 427;BA.debugLine="Private b_preventa As Button"; +c_cliente._b_preventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_preventa",c_cliente._b_preventa); + //BA.debugLineNum = 428;BA.debugLine="Dim bitacora As C_Bitacora"; +c_cliente._bitacora = RemoteObject.createNew ("gunav2.keymon.com.mx.c_bitacora");__ref.setField("_bitacora",c_cliente._bitacora); + //BA.debugLineNum = 429;BA.debugLine="Dim p_transparenteTicketImpreso As Panel"; +c_cliente._p_transparenteticketimpreso = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_transparenteticketimpreso",c_cliente._p_transparenteticketimpreso); + //BA.debugLineNum = 430;BA.debugLine="Private et_codigoAutorizacion As EditText"; +c_cliente._et_codigoautorizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_codigoautorizacion",c_cliente._et_codigoautorizacion); + //BA.debugLineNum = 431;BA.debugLine="Private b_codigoAutorizacion As Button"; +c_cliente._b_codigoautorizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_codigoautorizacion",c_cliente._b_codigoautorizacion); + //BA.debugLineNum = 432;BA.debugLine="Private b_cancelarCodigoAutorizacion As Button"; +c_cliente._b_cancelarcodigoautorizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelarcodigoautorizacion",c_cliente._b_cancelarcodigoautorizacion); + //BA.debugLineNum = 433;BA.debugLine="Private p_ticketImpreso As Panel"; +c_cliente._p_ticketimpreso = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ticketimpreso",c_cliente._p_ticketimpreso); + //BA.debugLineNum = 434;BA.debugLine="Private b_enviarTicket As Button"; +c_cliente._b_enviarticket = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_enviarticket",c_cliente._b_enviarticket); + //BA.debugLineNum = 435;BA.debugLine="Dim archivoTicketPDF As String"; +c_cliente._archivoticketpdf = RemoteObject.createImmutable("");__ref.setField("_archivoticketpdf",c_cliente._archivoticketpdf); + //BA.debugLineNum = 436;BA.debugLine="Private p_transparentePDF As Panel"; +c_cliente._p_transparentepdf = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_transparentepdf",c_cliente._p_transparentepdf); + //BA.debugLineNum = 437;BA.debugLine="Private p_envioPDF As Panel"; +c_cliente._p_enviopdf = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_enviopdf",c_cliente._p_enviopdf); + //BA.debugLineNum = 438;BA.debugLine="Private b_cancelarEnvioPDF As Button"; +c_cliente._b_cancelarenviopdf = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelarenviopdf",c_cliente._b_cancelarenviopdf); + //BA.debugLineNum = 439;BA.debugLine="Private b_envioPDF As Button"; +c_cliente._b_enviopdf = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_enviopdf",c_cliente._b_enviopdf); + //BA.debugLineNum = 440;BA.debugLine="Private et_numeroPDF As EditText"; +c_cliente._et_numeropdf = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_numeropdf",c_cliente._et_numeropdf); + //BA.debugLineNum = 441;BA.debugLine="Private btnPlanLealtad As Button"; +c_cliente._btnplanlealtad = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btnplanlealtad",c_cliente._btnplanlealtad); + //BA.debugLineNum = 442;BA.debugLine="Private pnl_btns As Panel"; +c_cliente._pnl_btns = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnl_btns",c_cliente._pnl_btns); + //BA.debugLineNum = 443;BA.debugLine="Private pnlPlanLealtad As Panel"; +c_cliente._pnlplanlealtad = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlplanlealtad",c_cliente._pnlplanlealtad); + //BA.debugLineNum = 444;BA.debugLine="Private imgPlanLealtad As ImageView"; +c_cliente._imgplanlealtad = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imgplanlealtad",c_cliente._imgplanlealtad); + //BA.debugLineNum = 445;BA.debugLine="Private btnAceptaPlanLealtad As Button"; +c_cliente._btnaceptaplanlealtad = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btnaceptaplanlealtad",c_cliente._btnaceptaplanlealtad); + //BA.debugLineNum = 446;BA.debugLine="Private btnCancelarPlanLealtad As Button"; +c_cliente._btncancelarplanlealtad = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btncancelarplanlealtad",c_cliente._btncancelarplanlealtad); + //BA.debugLineNum = 447;BA.debugLine="Private BCREDITO As String"; +c_cliente._bcredito = RemoteObject.createImmutable("");__ref.setField("_bcredito",c_cliente._bcredito); + //BA.debugLineNum = 450;BA.debugLine="Private p_comentarios As Panel"; +c_cliente._p_comentarios = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_comentarios",c_cliente._p_comentarios); + //BA.debugLineNum = 451;BA.debugLine="Private p_comentario As Panel"; +c_cliente._p_comentario = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_comentario",c_cliente._p_comentario); + //BA.debugLineNum = 452;BA.debugLine="Private b_agregarcom As Button"; +c_cliente._b_agregarcom = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_agregarcom",c_cliente._b_agregarcom); + //BA.debugLineNum = 453;BA.debugLine="Private b_cerarcom As Button"; +c_cliente._b_cerarcom = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cerarcom",c_cliente._b_cerarcom); + //BA.debugLineNum = 454;BA.debugLine="Private Label19 As Label"; +c_cliente._label19 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label19",c_cliente._label19); + //BA.debugLineNum = 455;BA.debugLine="Private et_comentario As EditText"; +c_cliente._et_comentario = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_comentario",c_cliente._et_comentario); + //BA.debugLineNum = 456;BA.debugLine="Private lv_comentarios As ListView"; +c_cliente._lv_comentarios = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_comentarios",c_cliente._lv_comentarios); + //BA.debugLineNum = 457;BA.debugLine="Private ImageView4 As ImageView"; +c_cliente._imageview4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview4",c_cliente._imageview4); + //BA.debugLineNum = 458;BA.debugLine="Private p_cliente_ As Panel"; +c_cliente._p_cliente_ = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_cliente_",c_cliente._p_cliente_); + //BA.debugLineNum = 459;BA.debugLine="Private l_limite As Label"; +c_cliente._l_limite = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_limite",c_cliente._l_limite); + //BA.debugLineNum = 460;BA.debugLine="Private l_credito As Label"; +c_cliente._l_credito = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_credito",c_cliente._l_credito); + //BA.debugLineNum = 461;BA.debugLine="Private l_tipocliente As Label"; +c_cliente._l_tipocliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tipocliente",c_cliente._l_tipocliente); + //BA.debugLineNum = 462;BA.debugLine="Private l_deuda As Label"; +c_cliente._l_deuda = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_deuda",c_cliente._l_deuda); + //BA.debugLineNum = 463;BA.debugLine="Private p_deuda As Panel"; +c_cliente._p_deuda = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_deuda",c_cliente._p_deuda); + //BA.debugLineNum = 464;BA.debugLine="Private Label22 As Label"; +c_cliente._label22 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label22",c_cliente._label22); + //BA.debugLineNum = 465;BA.debugLine="Private l_animal As Label"; +c_cliente._l_animal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_animal",c_cliente._l_animal); + //BA.debugLineNum = 466;BA.debugLine="Private contIguales As Int = 0"; +c_cliente._contiguales = BA.numberCast(int.class, 0);__ref.setField("_contiguales",c_cliente._contiguales); + //BA.debugLineNum = 467;BA.debugLine="Private b_preventa2 As Button"; +c_cliente._b_preventa2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_preventa2",c_cliente._b_preventa2); + //BA.debugLineNum = 468;BA.debugLine="Private p_atiende As Panel"; +c_cliente._p_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_atiende",c_cliente._p_atiende); + //BA.debugLineNum = 469;BA.debugLine="Private et_atiende As EditText"; +c_cliente._et_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_atiende",c_cliente._et_atiende); + //BA.debugLineNum = 470;BA.debugLine="Private b_cancelatiende As Button"; +c_cliente._b_cancelatiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelatiende",c_cliente._b_cancelatiende); + //BA.debugLineNum = 471;BA.debugLine="Private b_acepatiende As Button"; +c_cliente._b_acepatiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_acepatiende",c_cliente._b_acepatiende); + //BA.debugLineNum = 472;BA.debugLine="Private p_telefono As Panel"; +c_cliente._p_telefono = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_telefono",c_cliente._p_telefono); + //BA.debugLineNum = 473;BA.debugLine="Private b_canceltelefono As Button"; +c_cliente._b_canceltelefono = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_canceltelefono",c_cliente._b_canceltelefono); + //BA.debugLineNum = 474;BA.debugLine="Private b_aceptelefono As Button"; +c_cliente._b_aceptelefono = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptelefono",c_cliente._b_aceptelefono); + //BA.debugLineNum = 475;BA.debugLine="Private et_telefono As EditText"; +c_cliente._et_telefono = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_telefono",c_cliente._et_telefono); + //BA.debugLineNum = 477;BA.debugLine="Dim totalpromos As Double"; +c_cliente._totalpromos = RemoteObject.createImmutable(0);__ref.setField("_totalpromos",c_cliente._totalpromos); + //BA.debugLineNum = 478;BA.debugLine="Dim totalpromostotal As Double"; +c_cliente._totalpromostotal = RemoteObject.createImmutable(0);__ref.setField("_totalpromostotal",c_cliente._totalpromostotal); + //BA.debugLineNum = 479;BA.debugLine="Private chb_com As CheckBox"; +c_cliente._chb_com = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_chb_com",c_cliente._chb_com); + //BA.debugLineNum = 480;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _compra(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("compra (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2227); +if (RapidSub.canDelegate("compra")) { return __ref.runUserSub(false, "c_cliente","compra", __ref);} +RemoteObject _rutasencuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _alamcenesencuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); + BA.debugLineNum = 2227;BA.debugLine="Sub compra"; +Debug.ShouldStop(262144); + BA.debugLineNum = 2242;BA.debugLine="Private rutasEncuesta As List"; +Debug.ShouldStop(2); +_rutasencuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("rutasEncuesta", _rutasencuesta); + BA.debugLineNum = 2243;BA.debugLine="rutasEncuesta.Initialize2(Array As Int(702, 703,"; +Debug.ShouldStop(4); +_rutasencuesta.runVoidMethod ("Initialize2",(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("int",new int[] {8},new Object[] {BA.numberCast(int.class, 702),BA.numberCast(int.class, 703),BA.numberCast(int.class, 707),BA.numberCast(int.class, 718),BA.numberCast(int.class, 730),BA.numberCast(int.class, 732),BA.numberCast(int.class, 733),BA.numberCast(int.class, 734)}))))); + BA.debugLineNum = 2244;BA.debugLine="Private alamcenesEncuesta As List"; +Debug.ShouldStop(8); +_alamcenesencuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("alamcenesEncuesta", _alamcenesencuesta); + BA.debugLineNum = 2245;BA.debugLine="alamcenesEncuesta.Initialize2(Array As Int(15, 35"; +Debug.ShouldStop(16); +_alamcenesencuesta.runVoidMethod ("Initialize2",(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("int",new int[] {8},new Object[] {BA.numberCast(int.class, 15),BA.numberCast(int.class, 35),BA.numberCast(int.class, 43),BA.numberCast(int.class, 54),BA.numberCast(int.class, 56),BA.numberCast(int.class, 73),BA.numberCast(int.class, 75),BA.numberCast(int.class, 79)}))))); + BA.debugLineNum = 2260;BA.debugLine="If TOMAR_FOTO = 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tomar_foto" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 2261;BA.debugLine="Cuestionario"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_cuestionario" /*void*/ ); + }else { + BA.debugLineNum = 2263;BA.debugLine="Dim Items As List"; +Debug.ShouldStop(4194304); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items); + BA.debugLineNum = 2264;BA.debugLine="Items.Initialize"; +Debug.ShouldStop(8388608); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 2265;BA.debugLine="Items.Add(\"Selecciona una opción\")"; +Debug.ShouldStop(16777216); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Selecciona una opción")))); + BA.debugLineNum = 2266;BA.debugLine="Items.Add(\"Tienda de Abarrotes (Abarrotes, Misce"; +Debug.ShouldStop(33554432); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)")))); + BA.debugLineNum = 2267;BA.debugLine="Items.Add(\"Recaudería (Frutas y Verduras)\")"; +Debug.ShouldStop(67108864); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Recaudería (Frutas y Verduras)")))); + BA.debugLineNum = 2268;BA.debugLine="Items.Add(\"Vinos y Licores\")"; +Debug.ShouldStop(134217728); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Vinos y Licores")))); + BA.debugLineNum = 2269;BA.debugLine="Items.Add(\"Carnicería o Pollería\")"; +Debug.ShouldStop(268435456); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Carnicería o Pollería")))); + BA.debugLineNum = 2270;BA.debugLine="Items.Add(\"Farmacia\")"; +Debug.ShouldStop(536870912); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Farmacia")))); + BA.debugLineNum = 2271;BA.debugLine="Items.Add(\"Jarciería (Productos de Limpieza)\")"; +Debug.ShouldStop(1073741824); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Jarciería (Productos de Limpieza)")))); + BA.debugLineNum = 2272;BA.debugLine="Items.Add(\"Papelería y Regalos\")"; +Debug.ShouldStop(-2147483648); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Papelería y Regalos")))); + BA.debugLineNum = 2273;BA.debugLine="Items.Add(\"Tortillería\")"; +Debug.ShouldStop(1); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Tortillería")))); + BA.debugLineNum = 2274;BA.debugLine="Items.Add(\"Escuelas\")"; +Debug.ShouldStop(2); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Escuelas")))); + BA.debugLineNum = 2275;BA.debugLine="Items.Add(\"Estanquillos (Puestos Semifijos)\")"; +Debug.ShouldStop(4); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Estanquillos (Puestos Semifijos)")))); + BA.debugLineNum = 2276;BA.debugLine="Items.Add(\"Fonda, Cocina Económica, Cafetería)\")"; +Debug.ShouldStop(8); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Fonda, Cocina Económica, Cafetería)")))); + BA.debugLineNum = 2277;BA.debugLine="Items.Add(\"Tlapalería, Ferretería\")"; +Debug.ShouldStop(16); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Tlapalería, Ferretería")))); + BA.debugLineNum = 2278;BA.debugLine="Items.Add(\"Dulcería, Materias Primas\")"; +Debug.ShouldStop(32); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Dulcería, Materias Primas")))); + BA.debugLineNum = 2279;BA.debugLine="Items.Add(\"Semillas y Chiles Secos\")"; +Debug.ShouldStop(64); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Semillas y Chiles Secos")))); + BA.debugLineNum = 2280;BA.debugLine="Items.Add(\"Cybercafé\")"; +Debug.ShouldStop(128); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Cybercafé")))); + BA.debugLineNum = 2281;BA.debugLine="Items.Add(\"Hotel\")"; +Debug.ShouldStop(256); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Hotel")))); + BA.debugLineNum = 2282;BA.debugLine="Items.Add(\"Veterinaria\")"; +Debug.ShouldStop(512); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Veterinaria")))); + BA.debugLineNum = 2283;BA.debugLine="Items.Add(\"Tienda de Mascotas\")"; +Debug.ShouldStop(1024); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Tienda de Mascotas")))); + BA.debugLineNum = 2284;BA.debugLine="Items.Add(\"Otros\")"; +Debug.ShouldStop(2048); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Otros")))); + BA.debugLineNum = 2285;BA.debugLine="cb_pregunta.SetItems(Items)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cb_pregunta" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + BA.debugLineNum = 2286;BA.debugLine="girotienda = \"Selecciona una opcion\""; +Debug.ShouldStop(8192); +__ref.setField ("_girotienda" /*RemoteObject*/ ,BA.ObjectToString("Selecciona una opcion")); + BA.debugLineNum = 2287;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 2288;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2289;BA.debugLine="CUENTA_MODULO = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(65536); +__ref.setField ("_cuenta_modulo" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 2290;BA.debugLine="c.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2291;BA.debugLine="If CUENTA_MODULO > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_cuenta_modulo" /*RemoteObject*/ )),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2292;BA.debugLine="c=skmt.ExecQuery(\"SELECT HEC_MODULO FROM HIST_E"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HEC_MODULO FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 2293;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2294;BA.debugLine="que_modulo = c.GetString(\"HEC_MODULO\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_que_modulo" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HEC_MODULO")))); + BA.debugLineNum = 2295;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 2297;BA.debugLine="Log(Subs.traeAlmacen)"; +Debug.ShouldStop(16777216); +c_cliente.__c.runVoidMethod ("LogImpl","051511366",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 2298;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO1 WHERE CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 2299;BA.debugLine="c.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2300;BA.debugLine="EXISTE = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(134217728); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 2301;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2303;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO2 WHERE CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 2304;BA.debugLine="c.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2305;BA.debugLine="EXISTE2 = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(1); +__ref.setField ("_existe2" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 2306;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2308;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO3 WHERE CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 2309;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2310;BA.debugLine="EXISTE3 = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(32); +__ref.setField ("_existe3" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 2311;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2313;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO4 WHERE CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 2314;BA.debugLine="c.Position=0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2315;BA.debugLine="EXISTE4 = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(1024); +__ref.setField ("_existe4" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 2316;BA.debugLine="c.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2318;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO5 WHERE CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 2319;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2320;BA.debugLine="EXISTE5 = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(32768); +__ref.setField ("_existe5" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 2321;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2346;BA.debugLine="If EXISTE = 0 And EXISTE2 = 0 And EXISTE3 = 0 An"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_existe2" /*RemoteObject*/ ),BA.NumberToString(0)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_existe3" /*RemoteObject*/ ),BA.NumberToString(0)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_existe4" /*RemoteObject*/ ),BA.NumberToString(0)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_existe5" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 2347;BA.debugLine="S = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM C"; +Debug.ShouldStop(1024); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CUESTIONARIO")})))); + BA.debugLineNum = 2348;BA.debugLine="S.Position = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2349;BA.debugLine="If s.GetString(\"CAT_VA_VALOR\") > \"0\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))),BA.numberCast(double.class, "0"))) { + BA.debugLineNum = 2351;BA.debugLine="ENCUESTA = s.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(16384); +__ref.setField ("_encuesta" /*RemoteObject*/ ,__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))); + BA.debugLineNum = 2352;BA.debugLine="ENCUESTA = \"3\""; +Debug.ShouldStop(32768); +__ref.setField ("_encuesta" /*RemoteObject*/ ,BA.ObjectToString("3")); + }else { + BA.debugLineNum = 2385;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(65536); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + }; + }else { + BA.debugLineNum = 2388;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(524288); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + }; + BA.debugLineNum = 2390;BA.debugLine="s.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 2399;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuest_preguntacontestada(RemoteObject __ref,RemoteObject _m) throws Exception{ +try { + Debug.PushSubsStack("cuest_preguntaContestada (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6530); +if (RapidSub.canDelegate("cuest_preguntacontestada")) { return __ref.runUserSub(false, "c_cliente","cuest_preguntacontestada", __ref, _m);} +Debug.locals.put("m", _m); + BA.debugLineNum = 6530;BA.debugLine="Sub cuest_preguntaContestada(m As Map)"; +Debug.ShouldStop(2); + BA.debugLineNum = 6532;BA.debugLine="Log(m)"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethod ("LogImpl","061603842",BA.ObjectToString(_m),0); + BA.debugLineNum = 6535;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le"; +Debug.ShouldStop(64); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel")))))).runVoidMethod ("RemoveView"); + BA.debugLineNum = 6536;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(128); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 6537;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(256); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 6538;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from"; +Debug.ShouldStop(512); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from CUESTIONARIO where Q_IDCLIENTE = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and Q_IDPREGUNTA = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idPregunta")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 6539;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +Debug.ShouldStop(1024); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idPregunta")))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))))),RemoteObject.createImmutable(" "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 6540;BA.debugLine="Log(\">> RESP: \" & m.Get(\"respuesta\"))"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","061603850",RemoteObject.concat(RemoteObject.createImmutable(">> RESP: "),_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta"))))),0); + BA.debugLineNum = 6541;BA.debugLine="Select Case m.Get(\"idPregunta\")"; +Debug.ShouldStop(4096); +switch (BA.switchObjectToInt(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idPregunta")))),RemoteObject.createImmutable(("1")),RemoteObject.createImmutable(("2")),RemoteObject.createImmutable(("3")),RemoteObject.createImmutable(("4")),RemoteObject.createImmutable(("5")),RemoteObject.createImmutable(("6")),RemoteObject.createImmutable(("7")))) { +case 0: { + BA.debugLineNum = 6543;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("Ninguno de los anteriores")))) { + BA.debugLineNum = 6546;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué produc"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregapreguntacheckbox" /*RemoteObject*/ ,(Object)(BA.ObjectToString("3")),(Object)(BA.ObjectToString("¿Qué productos de Kileo Gato encuentras en esta tienda?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {9},new Object[] {BA.ObjectToString("Whiskas"),BA.ObjectToString("KITEKAT"),BA.ObjectToString("PAL GATO"),BA.ObjectToString("CAT CHOW"),BA.ObjectToString("GATINA"),BA.ObjectToString("MININO"),BA.ObjectToString("MI MISHI"),BA.ObjectToString("OTROS"),RemoteObject.createImmutable("Ninguno de los anteriores")}))))); + }else { + BA.debugLineNum = 6549;BA.debugLine="cuest.agregaPreguntaAbierta(\"2\", \"Captura el p"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregapreguntaabierta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("2")),(Object)(BA.ObjectToString("Captura el precio por kilo de los articulos seleccionados anteriormente")),(Object)(__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_strtolist" /*RemoteObject*/ ,(Object)(BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))))))),(Object)(__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_strtolist" /*RemoteObject*/ ,(Object)(BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta"))))))))); + }; + break; } +case 1: { + BA.debugLineNum = 6553;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué product"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregapreguntacheckbox" /*RemoteObject*/ ,(Object)(BA.ObjectToString("3")),(Object)(BA.ObjectToString("¿Qué productos de Kileo Gato encuentras en esta tienda?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {9},new Object[] {BA.ObjectToString("Whiskas"),BA.ObjectToString("KITEKAT"),BA.ObjectToString("PAL GATO"),BA.ObjectToString("CAT CHOW"),BA.ObjectToString("GATINA"),BA.ObjectToString("MININO"),BA.ObjectToString("MI MISHI"),BA.ObjectToString("OTROS"),RemoteObject.createImmutable("Ninguno de los anteriores")}))))); + break; } +case 2: { + BA.debugLineNum = 6556;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("Ninguno de los anteriores")))) { + BA.debugLineNum = 6559;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué produc"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregapreguntacheckbox" /*RemoteObject*/ ,(Object)(BA.ObjectToString("5")),(Object)(BA.ObjectToString("¿Qué productos de húmedo MARS encuentras en esta tienda?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {BA.ObjectToString("Pedigree Adulto res"),BA.ObjectToString("Pedigree Adulto Pollo"),BA.ObjectToString("Pedigree Cachorro res"),BA.ObjectToString("Pedigree Cachorro Pollo"),BA.ObjectToString("Pedigree Raz Peq res"),BA.ObjectToString("Pedigree Raz Peq Pollo"),BA.ObjectToString("Pedigree Adulto Cordero"),BA.ObjectToString("Pedigree Adulto Lata res"),BA.ObjectToString("Whiskas Atún"),BA.ObjectToString("Whiskas Pollo"),BA.ObjectToString("Whiskas res"),BA.ObjectToString("Whiskas Salmón"),BA.ObjectToString("Whiskas Parrillada Mixta"),BA.ObjectToString("Whiskas Pescado BLANCO"),BA.ObjectToString("Whiskas Souffle"),RemoteObject.createImmutable("Ninguno de los anteriores")}))))); + }else { + BA.debugLineNum = 6561;BA.debugLine="cuest.agregaPreguntaAbierta(\"4\", \"Captura el p"; +Debug.ShouldStop(1); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregapreguntaabierta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("4")),(Object)(BA.ObjectToString("Captura el precio por kilo de los articulos seleccionados anteriormente")),(Object)(__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_strtolist" /*RemoteObject*/ ,(Object)(BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))))))),(Object)(__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_strtolist" /*RemoteObject*/ ,(Object)(BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta"))))))))); + }; + break; } +case 3: { + BA.debugLineNum = 6564;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué product"; +Debug.ShouldStop(8); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregapreguntacheckbox" /*RemoteObject*/ ,(Object)(BA.ObjectToString("5")),(Object)(BA.ObjectToString("¿Qué productos de húmedo MARS encuentras en esta tienda?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {BA.ObjectToString("Pedigree Adulto res"),BA.ObjectToString("Pedigree Adulto Pollo"),BA.ObjectToString("Pedigree Cachorro res"),BA.ObjectToString("Pedigree Cachorro Pollo"),BA.ObjectToString("Pedigree Raz Peq res"),BA.ObjectToString("Pedigree Raz Peq Pollo"),BA.ObjectToString("Pedigree Adulto Cordero"),BA.ObjectToString("Pedigree Adulto Lata res"),BA.ObjectToString("Whiskas Atún"),BA.ObjectToString("Whiskas Pollo"),BA.ObjectToString("Whiskas res"),BA.ObjectToString("Whiskas Salmón"),BA.ObjectToString("Whiskas Parrillada Mixta"),BA.ObjectToString("Whiskas Pescado BLANCO"),BA.ObjectToString("Whiskas Souffle"),RemoteObject.createImmutable("Ninguno de los anteriores")}))))); + break; } +case 4: { + BA.debugLineNum = 6566;BA.debugLine="cuest.agregaPreguntaCheckbox(\"6\", \"¿Qué product"; +Debug.ShouldStop(32); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregapreguntacheckbox" /*RemoteObject*/ ,(Object)(BA.ObjectToString("6")),(Object)(BA.ObjectToString("¿Qué productos de húmedo otros encuentras en esta tienda?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {BA.ObjectToString("Dog Chow (cualquier sabor)"),BA.ObjectToString("Ganador (cualquier sabor)"),BA.ObjectToString("Felix (cualquier sabor)"),BA.ObjectToString("Minino plus (cualquier sabor)"),BA.ObjectToString("Cat Chow (cualquier sabor)"),BA.ObjectToString("Beneful (cualquier sabor)"),BA.ObjectToString("Amigo Gourmet (cualquier sabor)"),RemoteObject.createImmutable("Ninguno de los anteriores")}))))); + break; } +case 5: { + BA.debugLineNum = 6568;BA.debugLine="cuest.agregaPreguntaCheckbox(\"7\", \"¿Qué product"; +Debug.ShouldStop(128); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregapreguntacheckbox" /*RemoteObject*/ ,(Object)(BA.ObjectToString("7")),(Object)(BA.ObjectToString("¿Qué productos de botanas encuentras en esta tienda?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString("Dentastix"),BA.ObjectToString("Biscrok"),RemoteObject.createImmutable("Ninguno de los anteriores")}))))); + break; } +case 6: { + BA.debugLineNum = 6571;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))))),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 6572;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","061603882",RemoteObject.concat(RemoteObject.createImmutable(">>>>>>>>>> "),__ref.getField(false,"_cuest" /*RemoteObject*/ ).getField(true,"_encuestainiciada" /*RemoteObject*/ )),0); + BA.debugLineNum = 6573;BA.debugLine="cuest.encuestaIniciada = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).setField ("_encuestainiciada" /*RemoteObject*/ ,c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6574;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","061603884",RemoteObject.concat(RemoteObject.createImmutable(">>>>>>>>>> "),__ref.getField(false,"_cuest" /*RemoteObject*/ ).getField(true,"_encuestainiciada" /*RemoteObject*/ )),0); + BA.debugLineNum = 6577;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(65536); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_b4xpage_appear" /*void*/ ); + break; } +} +; + BA.debugLineNum = 6580;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _cuestionario(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Cuestionario (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6194); +if (RapidSub.canDelegate("cuestionario")) { __ref.runUserSub(false, "c_cliente","cuestionario", __ref); return;} +ResumableSub_Cuestionario rsub = new ResumableSub_Cuestionario(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Cuestionario extends BA.ResumableSub { +public ResumableSub_Cuestionario(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _logger = RemoteObject.createImmutable(false); +RemoteObject _fecha = RemoteObject.createImmutable(""); +RemoteObject _cuantos2 = RemoteObject.createImmutable(0); +RemoteObject _enc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _listapreguntas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _j = 0; +int _i = 0; +RemoteObject _btop = RemoteObject.createImmutable(""); +int step29; +int limit29; +int step35; +int limit35; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Cuestionario (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6194); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 6195;BA.debugLine="Log(\"Entramos a Cuestionario\")"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","060620801",RemoteObject.createImmutable("Entramos a Cuestionario"),0); + BA.debugLineNum = 6196;BA.debugLine="Private logger As Boolean = True"; +Debug.ShouldStop(524288); +_logger = parent.__c.getField(true,"True");Debug.locals.put("logger", _logger);Debug.locals.put("logger", _logger); + BA.debugLineNum = 6197;BA.debugLine="b_encuesta_continuar.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_encuesta_continuar" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 6198;BA.debugLine="et_encuesta.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_et_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 6199;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4194304); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 6200;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8388608); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 6201;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16777216); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 6202;BA.debugLine="Private fecha As String = $\"${DateTime.Date(DateT"; +Debug.ShouldStop(33554432); +_fecha = (RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))))),RemoteObject.createImmutable(" "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))))),RemoteObject.createImmutable("")));Debug.locals.put("fecha", _fecha);Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 6203;BA.debugLine="CUANTOS = 0"; +Debug.ShouldStop(67108864); +__ref.setField ("_cuantos" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 6205;BA.debugLine="If logger Then Log($\"Tomar_Foto = ${TOMAR_FOTO}\"$"; +Debug.ShouldStop(268435456); +if (true) break; + +case 1: +//if +this.state = 6; +if (_logger.get().booleanValue()) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +parent.__c.runVoidMethod ("LogImpl","060620811",(RemoteObject.concat(RemoteObject.createImmutable("Tomar_Foto = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tomar_foto" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 6206;BA.debugLine="If TOMAR_FOTO = 0 Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 7: +//if +this.state = 16; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tomar_foto" /*RemoteObject*/ ),BA.NumberToString(0))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 6207;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CUANTOS from HIST_ENCUESTA where HE_CLIE In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 6208;BA.debugLine="s.Position= 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 6209;BA.debugLine="CUANTOS = s.GetString(\"CUANTOS\")"; +Debug.ShouldStop(1); +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 6210;BA.debugLine="Private CUANTOS2 As Int = 0"; +Debug.ShouldStop(2); +_cuantos2 = BA.numberCast(int.class, 0);Debug.locals.put("CUANTOS2", _cuantos2);Debug.locals.put("CUANTOS2", _cuantos2); + BA.debugLineNum = 6211;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU"; +Debug.ShouldStop(4); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CUANTOS2 from HIST_ENCUESTA2 where HE_CLIENTE In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 6212;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 6213;BA.debugLine="CUANTOS2 = s.GetString(\"CUANTOS2\")"; +Debug.ShouldStop(16); +_cuantos2 = BA.numberCast(int.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS2"))));Debug.locals.put("CUANTOS2", _cuantos2); + BA.debugLineNum = 6214;BA.debugLine="If logger Then LogColor($\"Hist:encuesta=${CUANTO"; +Debug.ShouldStop(32); +if (true) break; + +case 10: +//if +this.state = 15; +if (_logger.get().booleanValue()) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent.__c.runVoidMethod ("LogImpl","060620820",(RemoteObject.concat(RemoteObject.createImmutable("Hist:encuesta="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_cuantos" /*RemoteObject*/ )))),RemoteObject.createImmutable(", hist_encuesta2 = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cuantos2))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Magenta")); +if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; +; + BA.debugLineNum = 6218;BA.debugLine="If logger Then Log(CUANTOS & \"|\" & CUANTOS2)"; +Debug.ShouldStop(512); + +case 16: +//if +this.state = 21; +if (_logger.get().booleanValue()) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +parent.__c.runVoidMethod ("LogImpl","060620824",RemoteObject.concat(__ref.getField(true,"_cuantos" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),_cuantos2),0); +if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 6219;BA.debugLine="If CUANTOS = 0 And CUANTOS2 = 0 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 22: +//if +this.state = 224; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0)) && RemoteObject.solveBoolean("=",_cuantos2,BA.numberCast(double.class, 0))) { +this.state = 24; +}else { +this.state = 223; +}if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 6220;BA.debugLine="Private enc As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(2048); +_enc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_enc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_EP_ID, CAT_EP_IDTIPOPREGUNTA, CAT_CE_DESCRIPCION, CAT_EP_PREGUNTA, CAT_EP_RES1_PRED, CAT_EP_RES2_PRED, CAT_EP_RES3_PRED, CAT_EP_ORDEN_PREGUNTA FROM CAT_ENCUESTA_PREGUNTA ORDER BY CAT_CE_DESCRIPCION, CAST(CAT_EP_ORDEN_PREGUNTA AS DECIMAL)"))));Debug.locals.put("enc", _enc);Debug.locals.put("enc", _enc); + BA.debugLineNum = 6221;BA.debugLine="If enc.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 25: +//if +this.state = 221; +if (RemoteObject.solveBoolean(">",_enc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 27; +}else { +this.state = 220; +}if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 6222;BA.debugLine="enc.position = 0"; +Debug.ShouldStop(8192); +_enc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 6223;BA.debugLine="If logger Then Log($\"CAT_EP_ID=${enc.GetString("; +Debug.ShouldStop(16384); +if (true) break; + +case 28: +//if +this.state = 33; +if (_logger.get().booleanValue()) { +this.state = 30; +;}if (true) break; + +case 30: +//C +this.state = 33; +parent.__c.runVoidMethod ("LogImpl","060620829",(RemoteObject.concat(RemoteObject.createImmutable("CAT_EP_ID="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))))),RemoteObject.createImmutable(""))),0); +if (true) break; + +case 33: +//C +this.state = 34; +; + BA.debugLineNum = 6224;BA.debugLine="Private listaPreguntas As List"; +Debug.ShouldStop(32768); +_listapreguntas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("listaPreguntas", _listapreguntas); + BA.debugLineNum = 6225;BA.debugLine="listaPreguntas.Initialize"; +Debug.ShouldStop(65536); +_listapreguntas.runVoidMethod ("Initialize"); + BA.debugLineNum = 6226;BA.debugLine="For j = 0 To enc.RowCount - 1 'Ponemos en una l"; +Debug.ShouldStop(131072); +if (true) break; + +case 34: +//for +this.state = 37; +step29 = 1; +limit29 = RemoteObject.solve(new RemoteObject[] {_enc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +Debug.locals.put("j", _j); +this.state = 225; +if (true) break; + +case 225: +//C +this.state = 37; +if ((step29 > 0 && _j <= limit29) || (step29 < 0 && _j >= limit29)) this.state = 36; +if (true) break; + +case 226: +//C +this.state = 225; +_j = ((int)(0 + _j + step29)) ; +Debug.locals.put("j", _j); +if (true) break; + +case 36: +//C +this.state = 226; + BA.debugLineNum = 6227;BA.debugLine="enc.Position = j"; +Debug.ShouldStop(262144); +_enc.runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 6228;BA.debugLine="listaPreguntas.Add(enc.GetString(\"CAT_EP_ID\"))"; +Debug.ShouldStop(524288); +_listapreguntas.runVoidMethod ("Add",(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))))); + if (true) break; +if (true) break; +Debug.locals.put("j", _j); +; + BA.debugLineNum = 6230;BA.debugLine="If logger Then Log(listaPreguntas)"; +Debug.ShouldStop(2097152); + +case 37: +//if +this.state = 42; +if (_logger.get().booleanValue()) { +this.state = 39; +;}if (true) break; + +case 39: +//C +this.state = 42; +parent.__c.runVoidMethod ("LogImpl","060620836",BA.ObjectToString(_listapreguntas),0); +if (true) break; + +case 42: +//C +this.state = 43; +; + BA.debugLineNum = 6231;BA.debugLine="enc.position = 0"; +Debug.ShouldStop(4194304); +_enc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 6232;BA.debugLine="For i = 0 To enc.RowCount - 1"; +Debug.ShouldStop(8388608); +if (true) break; + +case 43: +//for +this.state = 218; +step35 = 1; +limit35 = RemoteObject.solve(new RemoteObject[] {_enc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 227; +if (true) break; + +case 227: +//C +this.state = 218; +if ((step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35)) this.state = 45; +if (true) break; + +case 228: +//C +this.state = 227; +_i = ((int)(0 + _i + step35)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 45: +//C +this.state = 46; + BA.debugLineNum = 6233;BA.debugLine="Log(\"#########################################"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("LogImpl","060620839",RemoteObject.createImmutable("########################################################"),0); + BA.debugLineNum = 6236;BA.debugLine="If logger Then Log($\"Tipo: ${enc.GetString(\"CA"; +Debug.ShouldStop(134217728); +if (true) break; + +case 46: +//if +this.state = 51; +if (_logger.get().booleanValue()) { +this.state = 48; +;}if (true) break; + +case 48: +//C +this.state = 51; +parent.__c.runVoidMethod ("LogImpl","060620842",(RemoteObject.concat(RemoteObject.createImmutable("Tipo: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA")))))),RemoteObject.createImmutable(", CAT_EP_ID="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))))),RemoteObject.createImmutable(", CAT_EP_PREGUNTA="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA")))))),RemoteObject.createImmutable(""))),0); +if (true) break; + +case 51: +//C +this.state = 52; +; + BA.debugLineNum = 6237;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") <> 4"; +Debug.ShouldStop(268435456); +if (true) break; + +case 52: +//if +this.state = 55; +if (RemoteObject.solveBoolean("!",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA"))),BA.NumberToString(4)) && RemoteObject.solveBoolean("!",__ref.getField(true,"_indicepregunta" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 54; +}if (true) break; + +case 54: +//C +this.state = 55; + BA.debugLineNum = 6238;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G"; +Debug.ShouldStop(536870912); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_listapreguntas.runMethod(true,"IndexOf",(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))))),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 6239;BA.debugLine="i = indicePregunta"; +Debug.ShouldStop(1073741824); +_i = __ref.getField(true,"_indicepregunta" /*RemoteObject*/ ).get().intValue();Debug.locals.put("i", _i); + BA.debugLineNum = 6240;BA.debugLine="Log($\"i = ${i}\"$)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("LogImpl","060620846",(RemoteObject.concat(RemoteObject.createImmutable("i = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((_i)))),RemoteObject.createImmutable(""))),0); + if (true) break; +; + BA.debugLineNum = 6242;BA.debugLine="If logger Then Log(\"indicePregunta: \" & indice"; +Debug.ShouldStop(2); + +case 55: +//if +this.state = 60; +if (_logger.get().booleanValue()) { +this.state = 57; +;}if (true) break; + +case 57: +//C +this.state = 60; +parent.__c.runVoidMethod ("LogImpl","060620848",RemoteObject.concat(RemoteObject.createImmutable("indicePregunta: "),__ref.getField(true,"_indicepregunta" /*RemoteObject*/ ),RemoteObject.createImmutable(", TIPO: "),_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA")))),0); +if (true) break; + +case 60: +//C +this.state = 61; +; + BA.debugLineNum = 6244;BA.debugLine="If logger Then Log($\"EncuestaRes = ${encuestaR"; +Debug.ShouldStop(8); +if (true) break; + +case 61: +//if +this.state = 66; +if (_logger.get().booleanValue()) { +this.state = 63; +;}if (true) break; + +case 63: +//C +this.state = 66; +parent.__c.runVoidMethod ("LogImpl","060620850",(RemoteObject.concat(RemoteObject.createImmutable("EncuestaRes = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_encuestares" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); +if (true) break; + +case 66: +//C +this.state = 67; +; + BA.debugLineNum = 6245;BA.debugLine="If logger Then Log(listaPreguntas)"; +Debug.ShouldStop(16); +if (true) break; + +case 67: +//if +this.state = 72; +if (_logger.get().booleanValue()) { +this.state = 69; +;}if (true) break; + +case 69: +//C +this.state = 72; +parent.__c.runVoidMethod ("LogImpl","060620851",BA.ObjectToString(_listapreguntas),0); +if (true) break; + +case 72: +//C +this.state = 73; +; + BA.debugLineNum = 6246;BA.debugLine="If TOMAR_FOTO = 1 Then"; +Debug.ShouldStop(32); +if (true) break; + +case 73: +//if +this.state = 87; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tomar_foto" /*RemoteObject*/ ),BA.NumberToString(1))) { +this.state = 75; +}if (true) break; + +case 75: +//C +this.state = 76; + BA.debugLineNum = 6247;BA.debugLine="If CURSOR_FOTO + 1 > enc.RowCount -1 Then"; +Debug.ShouldStop(64); +if (true) break; + +case 76: +//if +this.state = 81; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_cursor_foto" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_enc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1)))) { +this.state = 78; +}else { +this.state = 80; +}if (true) break; + +case 78: +//C +this.state = 81; + BA.debugLineNum = 6248;BA.debugLine="TOMAR_FOTO = 0"; +Debug.ShouldStop(128); +__ref.setField ("_tomar_foto" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 6249;BA.debugLine="LogColor(\"TOMAR FOTO = 1\", Colors.Red)"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("LogImpl","060620855",BA.ObjectToString("TOMAR FOTO = 1"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 6250;BA.debugLine="Exit"; +Debug.ShouldStop(512); +this.state = 218; +if (true) break; + if (true) break; + +case 80: +//C +this.state = 81; + BA.debugLineNum = 6252;BA.debugLine="i = CURSOR_FOTO + 1"; +Debug.ShouldStop(2048); +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_cursor_foto" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1).get().intValue();Debug.locals.put("i", _i); + if (true) break; +; + BA.debugLineNum = 6254;BA.debugLine="If logger Then Log($\"i = ${i}\"$)"; +Debug.ShouldStop(8192); + +case 81: +//if +this.state = 86; +if (_logger.get().booleanValue()) { +this.state = 83; +;}if (true) break; + +case 83: +//C +this.state = 86; +parent.__c.runVoidMethod ("LogImpl","060620860",(RemoteObject.concat(RemoteObject.createImmutable("i = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((_i)))),RemoteObject.createImmutable(""))),0); +if (true) break; + +case 86: +//C +this.state = 87; +; + BA.debugLineNum = 6255;BA.debugLine="TOMAR_FOTO = 0"; +Debug.ShouldStop(16384); +__ref.setField ("_tomar_foto" /*RemoteObject*/ ,BA.NumberToString(0)); + if (true) break; +; + BA.debugLineNum = 6257;BA.debugLine="If i > (enc.RowCount - 1) Then"; +Debug.ShouldStop(65536); + +case 87: +//if +this.state = 90; +if (RemoteObject.solveBoolean(">",RemoteObject.createImmutable(_i),BA.numberCast(double.class, (RemoteObject.solve(new RemoteObject[] {_enc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1))))) { +this.state = 89; +}if (true) break; + +case 89: +//C +this.state = 90; + BA.debugLineNum = 6258;BA.debugLine="LogColor(\"MAS DE ${enc.RowCount - 1}\", Colors"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("LogImpl","060620864",BA.ObjectToString("MAS DE ${enc.RowCount - 1}"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 6259;BA.debugLine="Exit ' Si se contestó la ultima pregunta, ent"; +Debug.ShouldStop(262144); +this.state = 218; +if (true) break; + if (true) break; + +case 90: +//C +this.state = 91; +; + BA.debugLineNum = 6263;BA.debugLine="i = indicePregunta"; +Debug.ShouldStop(4194304); +_i = __ref.getField(true,"_indicepregunta" /*RemoteObject*/ ).get().intValue();Debug.locals.put("i", _i); + BA.debugLineNum = 6265;BA.debugLine="enc.Position = i"; +Debug.ShouldStop(16777216); +_enc.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 6266;BA.debugLine="Log($\"POSICION = ${enc.Position}\"$)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","060620872",(RemoteObject.concat(RemoteObject.createImmutable("POSICION = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_enc.runMethod(true,"getPosition")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 6267;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") = 5"; +Debug.ShouldStop(67108864); +if (true) break; + +case 91: +//if +this.state = 214; +if (RemoteObject.solveBoolean("=",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA"))),BA.NumberToString(5))) { +this.state = 93; +}else +{ BA.debugLineNum = 6280;BA.debugLine="ELSE IF enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA"))),BA.NumberToString(3))) { +this.state = 101; +}else +{ BA.debugLineNum = 6297;BA.debugLine="ELSE IF enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA"))),BA.NumberToString(4))) { +this.state = 124; +}else +{ BA.debugLineNum = 6328;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA"))),BA.NumberToString(2))) { +this.state = 163; +}else +{ BA.debugLineNum = 6351;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA"))),BA.NumberToString(6))) { +this.state = 187; +}else +{ BA.debugLineNum = 6370;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA"))),BA.NumberToString(1))) { +this.state = 195; +}else { +this.state = 213; +}}}}}} +if (true) break; + +case 93: +//C +this.state = 94; + BA.debugLineNum = 6268;BA.debugLine="If logger Then Log(\"Pregunta tipo 5\")"; +Debug.ShouldStop(134217728); +if (true) break; + +case 94: +//if +this.state = 99; +if (_logger.get().booleanValue()) { +this.state = 96; +;}if (true) break; + +case 96: +//C +this.state = 99; +parent.__c.runVoidMethod ("LogImpl","060620874",RemoteObject.createImmutable("Pregunta tipo 5"),0); +if (true) break; + +case 99: +//C +this.state = 214; +; + BA.debugLineNum = 6269;BA.debugLine="id_encuesta = enc.GetString(\"CAT_EP_ID\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_id_encuesta" /*RemoteObject*/ ,_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))); + BA.debugLineNum = 6270;BA.debugLine="idencuestaaguardar = enc.GetString(\"CAT_EP_ID"; +Debug.ShouldStop(536870912); +__ref.setField ("_idencuestaaguardar" /*RemoteObject*/ ,_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))); + BA.debugLineNum = 6271;BA.debugLine="LogColor(idencuestaaguardar,Colors.Blue)"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","060620877",__ref.getField(true,"_idencuestaaguardar" /*RemoteObject*/ ),parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 6272;BA.debugLine="TOMAR_FOTO = 1"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_tomar_foto" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 6273;BA.debugLine="CURSOR_FOTO = i"; +Debug.ShouldStop(1); +__ref.setField ("_cursor_foto" /*RemoteObject*/ ,BA.numberCast(int.class, _i)); + BA.debugLineNum = 6274;BA.debugLine="LogColor(\"PREGUNTA TIPO 5 SALIMOS\", Colors.Re"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","060620880",BA.ObjectToString("PREGUNTA TIPO 5 SALIMOS"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 6276;BA.debugLine="InitializeCamera2"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_initializecamera2" /*void*/ ); + BA.debugLineNum = 6277;BA.debugLine="p_camara.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 101: +//C +this.state = 102; + BA.debugLineNum = 6281;BA.debugLine="If logger Then Log(\"Pregunta tipo 3\")"; +Debug.ShouldStop(256); +if (true) break; + +case 102: +//if +this.state = 107; +if (_logger.get().booleanValue()) { +this.state = 104; +;}if (true) break; + +case 104: +//C +this.state = 107; +parent.__c.runVoidMethod ("LogImpl","060620887",RemoteObject.createImmutable("Pregunta tipo 3"),0); +if (true) break; + +case 107: +//C +this.state = 108; +; + BA.debugLineNum = 6282;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; +Debug.ShouldStop(512); +__ref.setField ("_botonpresionado" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 6283;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_titencuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CE_DESCRIPCION"))))); + BA.debugLineNum = 6284;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_txtencuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA"))))); + BA.debugLineNum = 6285;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width"; +Debug.ShouldStop(4096); +parent._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_l_txtencuesta" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 6286;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraboton" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_b_encuesta_1" /*RemoteObject*/ )),(Object)(BA.ObjectToString("SI")),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_centropantalla" /*RemoteObject*/ ),RemoteObject.createImmutable(350)}, "-",1, 1)),(Object)(BA.numberCast(int.class, 580)),(Object)(BA.numberCast(int.class, 300)),(Object)(BA.numberCast(int.class, 160))); + BA.debugLineNum = 6287;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraboton" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_b_encuesta_2" /*RemoteObject*/ )),(Object)(BA.ObjectToString("NO")),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_centropantalla" /*RemoteObject*/ ),RemoteObject.createImmutable(50)}, "+",1, 1)),(Object)(BA.numberCast(int.class, 580)),(Object)(BA.numberCast(int.class, 300)),(Object)(BA.numberCast(int.class, 160))); + BA.debugLineNum = 6288;BA.debugLine="muestraEncuesta"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraencuesta" /*RemoteObject*/ ); + BA.debugLineNum = 6289;BA.debugLine="Log(\"Esperamos respuesta\")"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","060620895",RemoteObject.createImmutable("Esperamos respuesta"),0); + BA.debugLineNum = 6290;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; +Debug.ShouldStop(131072); +if (true) break; + +case 108: +//do until +this.state = 111; +while (!(RemoteObject.solveBoolean("=",__ref.getField(true,"_botonpresionado" /*RemoteObject*/ ),BA.numberCast(double.class, 1)))) { +this.state = 110; +if (true) break; +} +if (true) break; + +case 110: +//C +this.state = 108; + BA.debugLineNum = 6291;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "cuestionario"),BA.numberCast(int.class, 0)); +this.state = 229; +return; +case 229: +//C +this.state = 108; +; + if (true) break; +; + BA.debugLineNum = 6293;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta"; +Debug.ShouldStop(1048576); + +case 111: +//if +this.state = 116; +if (_logger.get().booleanValue()) { +this.state = 113; +;}if (true) break; + +case 113: +//C +this.state = 116; +parent.__c.runVoidMethod ("LogImpl","060620899",RemoteObject.concat(RemoteObject.createImmutable("encuestaRes: "),__ref.getField(true,"_encuestares" /*RemoteObject*/ )),0); +if (true) break; + +case 116: +//C +this.state = 117; +; + BA.debugLineNum = 6294;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 3 :"; +Debug.ShouldStop(2097152); +if (true) break; + +case 117: +//if +this.state = 122; +if (_logger.get().booleanValue()) { +this.state = 119; +;}if (true) break; + +case 119: +//C +this.state = 122; +parent.__c.runVoidMethod ("LogImpl","060620900",(RemoteObject.concat(RemoteObject.createImmutable("Guardamos tipo 3 : "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_encuestares" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Green")); +if (true) break; + +case 122: +//C +this.state = 214; +; + BA.debugLineNum = 6295;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(4194304); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_encuestares" /*RemoteObject*/ )),(_fecha),(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 6296;BA.debugLine="ocultaPanelEncuesta"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_ocultapanelencuesta" /*RemoteObject*/ ); + if (true) break; + +case 124: +//C +this.state = 125; + BA.debugLineNum = 6298;BA.debugLine="If logger Then Log(\"Pregunta tipo 4\")"; +Debug.ShouldStop(33554432); +if (true) break; + +case 125: +//if +this.state = 130; +if (_logger.get().booleanValue()) { +this.state = 127; +;}if (true) break; + +case 127: +//C +this.state = 130; +parent.__c.runVoidMethod ("LogImpl","060620904",RemoteObject.createImmutable("Pregunta tipo 4"),0); +if (true) break; + +case 130: +//C +this.state = 131; +; + BA.debugLineNum = 6299;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; +Debug.ShouldStop(67108864); +__ref.setField ("_botonpresionado" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 6300;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_titencuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CE_DESCRIPCION"))))); + BA.debugLineNum = 6301;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_txtencuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA"))))); + BA.debugLineNum = 6302;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; +Debug.ShouldStop(536870912); +if (true) break; + +case 131: +//if +this.state = 136; +if (_logger.get().booleanValue()) { +this.state = 133; +;}if (true) break; + +case 133: +//C +this.state = 136; +parent.__c.runVoidMethod ("LogImpl","060620908",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA"))),0); +if (true) break; + +case 136: +//C +this.state = 137; +; + BA.debugLineNum = 6303;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width"; +Debug.ShouldStop(1073741824); +parent._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_l_txtencuesta" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 6304;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraboton" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_b_encuesta_1" /*RemoteObject*/ )),(Object)(BA.ObjectToString("SI")),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_centropantalla" /*RemoteObject*/ ),RemoteObject.createImmutable(350)}, "-",1, 1)),(Object)(BA.numberCast(int.class, 580)),(Object)(BA.numberCast(int.class, 300)),(Object)(BA.numberCast(int.class, 160))); + BA.debugLineNum = 6305;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraboton" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_b_encuesta_2" /*RemoteObject*/ )),(Object)(BA.ObjectToString("NO")),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_centropantalla" /*RemoteObject*/ ),RemoteObject.createImmutable(50)}, "+",1, 1)),(Object)(BA.numberCast(int.class, 580)),(Object)(BA.numberCast(int.class, 300)),(Object)(BA.numberCast(int.class, 160))); + BA.debugLineNum = 6306;BA.debugLine="muestraEncuesta"; +Debug.ShouldStop(2); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraencuesta" /*RemoteObject*/ ); + BA.debugLineNum = 6307;BA.debugLine="Log(\"Esperamos respuesta\")"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","060620913",RemoteObject.createImmutable("Esperamos respuesta"),0); + BA.debugLineNum = 6308;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; +Debug.ShouldStop(8); +if (true) break; + +case 137: +//do until +this.state = 140; +while (!(RemoteObject.solveBoolean("=",__ref.getField(true,"_botonpresionado" /*RemoteObject*/ ),BA.numberCast(double.class, 1)))) { +this.state = 139; +if (true) break; +} +if (true) break; + +case 139: +//C +this.state = 137; + BA.debugLineNum = 6309;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "cuestionario"),BA.numberCast(int.class, 0)); +this.state = 230; +return; +case 230: +//C +this.state = 137; +; + if (true) break; +; + BA.debugLineNum = 6311;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta"; +Debug.ShouldStop(64); + +case 140: +//if +this.state = 145; +if (_logger.get().booleanValue()) { +this.state = 142; +;}if (true) break; + +case 142: +//C +this.state = 145; +parent.__c.runVoidMethod ("LogImpl","060620917",RemoteObject.concat(RemoteObject.createImmutable("encuestaRes: "),__ref.getField(true,"_encuestares" /*RemoteObject*/ )),0); +if (true) break; + +case 145: +//C +this.state = 146; +; + BA.debugLineNum = 6312;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 4 :"; +Debug.ShouldStop(128); +if (true) break; + +case 146: +//if +this.state = 151; +if (_logger.get().booleanValue()) { +this.state = 148; +;}if (true) break; + +case 148: +//C +this.state = 151; +parent.__c.runVoidMethod ("LogImpl","060620918",(RemoteObject.concat(RemoteObject.createImmutable("Guardamos tipo 4 : "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_encuestares" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Green")); +if (true) break; + +case 151: +//C +this.state = 152; +; + BA.debugLineNum = 6313;BA.debugLine="If encuestaRes = \"SI\" Then"; +Debug.ShouldStop(256); +if (true) break; + +case 152: +//if +this.state = 161; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_encuestares" /*RemoteObject*/ ),BA.ObjectToString("SI"))) { +this.state = 154; +}else +{ BA.debugLineNum = 6318;BA.debugLine="else if encuestaRes = \"NO\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_encuestares" /*RemoteObject*/ ),BA.ObjectToString("NO"))) { +this.state = 156; +}} +if (true) break; + +case 154: +//C +this.state = 161; + BA.debugLineNum = 6314;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(512); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("SI")),(_fecha),(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 6315;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc."; +Debug.ShouldStop(1024); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,_listapreguntas.runMethod(true,"IndexOf",(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES1_PRED"))))))); + BA.debugLineNum = 6316;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("LogImpl","060620922",(RemoteObject.concat(RemoteObject.createImmutable("IndicePreg = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_indicepregunta" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 6317;BA.debugLine="i = indicePregunta"; +Debug.ShouldStop(4096); +_i = __ref.getField(true,"_indicepregunta" /*RemoteObject*/ ).get().intValue();Debug.locals.put("i", _i); + if (true) break; + +case 156: +//C +this.state = 157; + BA.debugLineNum = 6319;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(16384); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("NO")),(_fecha),(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 6320;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc."; +Debug.ShouldStop(32768); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,_listapreguntas.runMethod(true,"IndexOf",(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES2_PRED"))))))); + BA.debugLineNum = 6321;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","060620927",(RemoteObject.concat(RemoteObject.createImmutable("IndicePreg = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_indicepregunta" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 6322;BA.debugLine="i = indicePregunta"; +Debug.ShouldStop(131072); +_i = __ref.getField(true,"_indicepregunta" /*RemoteObject*/ ).get().intValue();Debug.locals.put("i", _i); + BA.debugLineNum = 6323;BA.debugLine="Log($\"I = ${i}\"$)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","060620929",(RemoteObject.concat(RemoteObject.createImmutable("I = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((_i)))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 6324;BA.debugLine="If enc.GetString(\"CAT_EP_RES2_PRED\") = \"null"; +Debug.ShouldStop(524288); +if (true) break; + +case 157: +//if +this.state = 160; +if (RemoteObject.solveBoolean("=",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES2_PRED"))),BA.ObjectToString("null")) || RemoteObject.solveBoolean("n",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES2_PRED"))))) { +this.state = 159; +}if (true) break; + +case 159: +//C +this.state = 160; + BA.debugLineNum = 6325;BA.debugLine="Exit"; +Debug.ShouldStop(1048576); +this.state = 218; +if (true) break; + if (true) break; + +case 160: +//C +this.state = 161; +; + if (true) break; + +case 161: +//C +this.state = 214; +; + if (true) break; + +case 163: +//C +this.state = 164; + BA.debugLineNum = 6329;BA.debugLine="Log(\"Pregunta tipo 2\")"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("LogImpl","060620935",RemoteObject.createImmutable("Pregunta tipo 2"),0); + BA.debugLineNum = 6330;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; +Debug.ShouldStop(33554432); +__ref.setField ("_botonpresionado" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 6331;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_titencuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CE_DESCRIPCION"))))); + BA.debugLineNum = 6332;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_txtencuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA"))))); + BA.debugLineNum = 6333;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; +Debug.ShouldStop(268435456); +if (true) break; + +case 164: +//if +this.state = 169; +if (_logger.get().booleanValue()) { +this.state = 166; +;}if (true) break; + +case 166: +//C +this.state = 169; +parent.__c.runVoidMethod ("LogImpl","060620939",_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA"))),0); +if (true) break; + +case 169: +//C +this.state = 170; +; + BA.debugLineNum = 6334;BA.debugLine="muestraBoton(b_encuesta_1, enc.GetString(\"CAT"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraboton" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_b_encuesta_1" /*RemoteObject*/ )),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES1_PRED")))),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_centropantalla" /*RemoteObject*/ ),RemoteObject.createImmutable(250)}, "-",1, 1)),(Object)(BA.numberCast(int.class, 580)),(Object)(BA.numberCast(int.class, 500)),(Object)(BA.numberCast(int.class, 160))); + BA.debugLineNum = 6335;BA.debugLine="muestraBoton(b_encuesta_2, enc.GetString(\"CAT"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraboton" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_b_encuesta_2" /*RemoteObject*/ )),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES2_PRED")))),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_centropantalla" /*RemoteObject*/ ),RemoteObject.createImmutable(250)}, "-",1, 1)),(Object)(BA.numberCast(int.class, 740)),(Object)(BA.numberCast(int.class, 500)),(Object)(BA.numberCast(int.class, 160))); + BA.debugLineNum = 6336;BA.debugLine="muestraBoton(b_encuesta_3, enc.GetString(\"CAT"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraboton" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_b_encuesta_3" /*RemoteObject*/ )),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES3_PRED")))),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_centropantalla" /*RemoteObject*/ ),RemoteObject.createImmutable(250)}, "-",1, 1)),(Object)(BA.numberCast(int.class, 900)),(Object)(BA.numberCast(int.class, 500)),(Object)(BA.numberCast(int.class, 160))); + BA.debugLineNum = 6337;BA.debugLine="muestraEncuesta"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraencuesta" /*RemoteObject*/ ); + BA.debugLineNum = 6338;BA.debugLine="Log(\"Esperamos respuesta\")"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","060620944",RemoteObject.createImmutable("Esperamos respuesta"),0); + BA.debugLineNum = 6339;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; +Debug.ShouldStop(4); +if (true) break; + +case 170: +//do until +this.state = 173; +while (!(RemoteObject.solveBoolean("=",__ref.getField(true,"_botonpresionado" /*RemoteObject*/ ),BA.numberCast(double.class, 1)))) { +this.state = 172; +if (true) break; +} +if (true) break; + +case 172: +//C +this.state = 170; + BA.debugLineNum = 6340;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(8); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "cuestionario"),BA.numberCast(int.class, 0)); +this.state = 231; +return; +case 231: +//C +this.state = 170; +; + if (true) break; + +case 173: +//C +this.state = 174; +; + BA.debugLineNum = 6342;BA.debugLine="Log(\"encuestaRes: \" & encuestaRes)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","060620948",RemoteObject.concat(RemoteObject.createImmutable("encuestaRes: "),__ref.getField(true,"_encuestares" /*RemoteObject*/ )),0); + BA.debugLineNum = 6343;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 2 :"; +Debug.ShouldStop(64); +if (true) break; + +case 174: +//if +this.state = 179; +if (_logger.get().booleanValue()) { +this.state = 176; +;}if (true) break; + +case 176: +//C +this.state = 179; +parent.__c.runVoidMethod ("LogImpl","060620949",(RemoteObject.concat(RemoteObject.createImmutable("Guardamos tipo 2 : "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_encuestares" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Green")); +if (true) break; + +case 179: +//C +this.state = 180; +; + BA.debugLineNum = 6344;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(128); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_encuestares" /*RemoteObject*/ )),(_fecha),(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 6346;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G"; +Debug.ShouldStop(512); +__ref.setField ("_indicepregunta" /*RemoteObject*/ ,_listapreguntas.runMethod(true,"IndexOf",(Object)((_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID"))))))); + BA.debugLineNum = 6347;BA.debugLine="i = indicePregunta + 1"; +Debug.ShouldStop(1024); +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_indicepregunta" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1).get().intValue();Debug.locals.put("i", _i); + BA.debugLineNum = 6348;BA.debugLine="If i = enc.RowCount - 1 Then i = i - 1"; +Debug.ShouldStop(2048); +if (true) break; + +case 180: +//if +this.state = 185; +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_enc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1)))) { +this.state = 182; +;}if (true) break; + +case 182: +//C +this.state = 185; +_i = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue();Debug.locals.put("i", _i); +if (true) break; + +case 185: +//C +this.state = 214; +; + BA.debugLineNum = 6349;BA.debugLine="Log($\"i = ${i}\"$)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","060620955",(RemoteObject.concat(RemoteObject.createImmutable("i = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((_i)))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 6350;BA.debugLine="ocultaPanelEncuesta"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_ocultapanelencuesta" /*RemoteObject*/ ); + if (true) break; + +case 187: +//C +this.state = 188; + BA.debugLineNum = 6352;BA.debugLine="If logger Then Log(\"Pregunta tipo 6\")"; +Debug.ShouldStop(32768); +if (true) break; + +case 188: +//if +this.state = 193; +if (_logger.get().booleanValue()) { +this.state = 190; +;}if (true) break; + +case 190: +//C +this.state = 193; +parent.__c.runVoidMethod ("LogImpl","060620958",RemoteObject.createImmutable("Pregunta tipo 6"),0); +if (true) break; + +case 193: +//C +this.state = 214; +; + BA.debugLineNum = 6353;BA.debugLine="Panel10.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_panel10" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 6354;BA.debugLine="l_chk_e.Text = enc.GetString(\"CAT_EP_PREGUNT"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_chk_e" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA"))))); + BA.debugLineNum = 6355;BA.debugLine="Chk_1.Checked = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_chk_1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",parent.__c.getField(true,"False")); + BA.debugLineNum = 6356;BA.debugLine="chk_2.Checked = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_chk_2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",parent.__c.getField(true,"False")); + BA.debugLineNum = 6357;BA.debugLine="chk_3.Checked = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_chk_3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",parent.__c.getField(true,"False")); + BA.debugLineNum = 6358;BA.debugLine="Chk_1.Text = enc.GetString(\"CAT_EP_RES1_PRED\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_chk_1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES1_PRED"))))); + BA.debugLineNum = 6359;BA.debugLine="chk_2.Text = enc.GetString(\"CAT_EP_RES2_PRED"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_chk_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES2_PRED"))))); + BA.debugLineNum = 6360;BA.debugLine="chk_3.Text = enc.GetString(\"CAT_EP_RES3_PRED"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_chk_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES3_PRED"))))); + BA.debugLineNum = 6361;BA.debugLine="chk_1_valor = enc.GetString(\"CAT_EP_RES1_PRE"; +Debug.ShouldStop(16777216); +__ref.setField ("_chk_1_valor" /*RemoteObject*/ ,_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES1_PRED")))); + BA.debugLineNum = 6362;BA.debugLine="chk_2_valor = enc.GetString(\"CAT_EP_RES2_PRE"; +Debug.ShouldStop(33554432); +__ref.setField ("_chk_2_valor" /*RemoteObject*/ ,_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES2_PRED")))); + BA.debugLineNum = 6363;BA.debugLine="chk_3_valor = enc.GetString(\"CAT_EP_RES3_PRE"; +Debug.ShouldStop(67108864); +__ref.setField ("_chk_3_valor" /*RemoteObject*/ ,_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_RES3_PRED")))); + BA.debugLineNum = 6364;BA.debugLine="Chk_1.Tag = enc.GetString(\"CAT_EP_ID\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_chk_1" /*RemoteObject*/ ).runMethod(false,"setTag",(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID"))))); + BA.debugLineNum = 6365;BA.debugLine="chk_2.Tag = enc.GetString(\"CAT_EP_ID\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_chk_2" /*RemoteObject*/ ).runMethod(false,"setTag",(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID"))))); + BA.debugLineNum = 6366;BA.debugLine="chk_3.Tag = enc.GetString(\"CAT_EP_ID\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_chk_3" /*RemoteObject*/ ).runMethod(false,"setTag",(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID"))))); + BA.debugLineNum = 6367;BA.debugLine="TOMAR_FOTO = 1"; +Debug.ShouldStop(1073741824); +__ref.setField ("_tomar_foto" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 6368;BA.debugLine="CURSOR_FOTO = i"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_cursor_foto" /*RemoteObject*/ ,BA.numberCast(int.class, _i)); + BA.debugLineNum = 6369;BA.debugLine="Exit"; +Debug.ShouldStop(1); +this.state = 218; +if (true) break; + if (true) break; + +case 195: +//C +this.state = 196; + BA.debugLineNum = 6371;BA.debugLine="Log(\"Pregunta tipo 1\")"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","060620977",RemoteObject.createImmutable("Pregunta tipo 1"),0); + BA.debugLineNum = 6372;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; +Debug.ShouldStop(8); +__ref.setField ("_botonpresionado" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 6373;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_titencuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CE_DESCRIPCION"))))); + BA.debugLineNum = 6374;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_txtencuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA"))))); + BA.debugLineNum = 6375;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; +Debug.ShouldStop(64); +if (true) break; + +case 196: +//if +this.state = 201; +if (_logger.get().booleanValue()) { +this.state = 198; +;}if (true) break; + +case 198: +//C +this.state = 201; +parent.__c.runVoidMethod ("LogImpl","060620981",RemoteObject.concat(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_PREGUNTA"))),RemoteObject.createImmutable("|"),_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ORDEN_PREGUNTA")))),0); +if (true) break; + +case 201: +//C +this.state = 202; +; + BA.debugLineNum = 6376;BA.debugLine="Subs.centraEditText(et_encuesta, Root.Width)"; +Debug.ShouldStop(128); +parent._subs.runVoidMethod ("_centraedittext" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_et_encuesta" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 6377;BA.debugLine="et_encuesta.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_et_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 6378;BA.debugLine="b_encuesta_continuar.Enabled = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_encuesta_continuar" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + BA.debugLineNum = 6379;BA.debugLine="Private bTop = et_encuesta.Top + 130"; +Debug.ShouldStop(1024); +_btop = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_et_encuesta" /*RemoteObject*/ ).runMethod(true,"getTop"),RemoteObject.createImmutable(130)}, "+",1, 1));Debug.locals.put("bTop", _btop);Debug.locals.put("bTop", _btop); + BA.debugLineNum = 6380;BA.debugLine="muestraBoton(b_encuesta_continuar,\"Continuar\""; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraboton" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_b_encuesta_continuar" /*RemoteObject*/ )),(Object)(BA.ObjectToString("Continuar")),(Object)(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_centropantalla" /*RemoteObject*/ ),RemoteObject.createImmutable(250)}, "-",1, 1)),(Object)(BA.numberCast(int.class, _btop)),(Object)(BA.numberCast(int.class, 500)),(Object)(BA.numberCast(int.class, 160))); + BA.debugLineNum = 6381;BA.debugLine="muestraEncuesta"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_muestraencuesta" /*RemoteObject*/ ); + BA.debugLineNum = 6382;BA.debugLine="Log(\"Esperamos respuesta\")"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","060620988",RemoteObject.createImmutable("Esperamos respuesta"),0); + BA.debugLineNum = 6383;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; +Debug.ShouldStop(16384); +if (true) break; + +case 202: +//do until +this.state = 205; +while (!(RemoteObject.solveBoolean("=",__ref.getField(true,"_botonpresionado" /*RemoteObject*/ ),BA.numberCast(double.class, 1)))) { +this.state = 204; +if (true) break; +} +if (true) break; + +case 204: +//C +this.state = 202; + BA.debugLineNum = 6384;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "cuestionario"),BA.numberCast(int.class, 0)); +this.state = 232; +return; +case 232: +//C +this.state = 202; +; + if (true) break; + +case 205: +//C +this.state = 206; +; + BA.debugLineNum = 6386;BA.debugLine="Log($\"Respuesta: ${encuestaRes}\"$)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("LogImpl","060620992",(RemoteObject.concat(RemoteObject.createImmutable("Respuesta: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_encuestares" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 6387;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 1 :"; +Debug.ShouldStop(262144); +if (true) break; + +case 206: +//if +this.state = 211; +if (_logger.get().booleanValue()) { +this.state = 208; +;}if (true) break; + +case 208: +//C +this.state = 211; +parent.__c.runVoidMethod ("LogImpl","060620993",(RemoteObject.concat(RemoteObject.createImmutable("Guardamos tipo 1 : "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_encuestares" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Green")); +if (true) break; + +case 211: +//C +this.state = 214; +; + BA.debugLineNum = 6388;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(524288); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_encuestares" /*RemoteObject*/ )),(_fecha),(_enc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_EP_ID")))),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 6389;BA.debugLine="ocultaPanelEncuesta"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_ocultapanelencuesta" /*RemoteObject*/ ); + if (true) break; + +case 213: +//C +this.state = 214; + BA.debugLineNum = 6392;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(8388608); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + if (true) break; +; + BA.debugLineNum = 6394;BA.debugLine="If i = enc.RowCount - 1 Then"; +Debug.ShouldStop(33554432); + +case 214: +//if +this.state = 217; +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_enc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1)))) { +this.state = 216; +}if (true) break; + +case 216: +//C +this.state = 217; + BA.debugLineNum = 6395;BA.debugLine="i = i - 1"; +Debug.ShouldStop(67108864); +_i = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue();Debug.locals.put("i", _i); + if (true) break; + +case 217: +//C +this.state = 228; +; + if (true) break; +if (true) break; + +case 218: +//C +this.state = 221; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 6398;BA.debugLine="enc.Close"; +Debug.ShouldStop(536870912); +_enc.runVoidMethod ("Close"); + if (true) break; + +case 220: +//C +this.state = 221; + BA.debugLineNum = 6401;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(1); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + if (true) break; + +case 221: +//C +this.state = 224; +; + if (true) break; + +case 223: +//C +this.state = 224; + BA.debugLineNum = 6405;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(16); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + if (true) break; + +case 224: +//C +this.state = -1; +; + BA.debugLineNum = 6408;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _datos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DATOS_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2972); +if (RapidSub.canDelegate("datos_click")) { return __ref.runUserSub(false, "c_cliente","datos_click", __ref);} + BA.debugLineNum = 2972;BA.debugLine="Sub DATOS_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 2973;BA.debugLine="B4XPages.ShowPage(\"telefonos\")"; +Debug.ShouldStop(268435456); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("telefonos"))); + BA.debugLineNum = 2974;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _enviarpdfwhatsappnumero(RemoteObject __ref,RemoteObject _numerotelefono) throws Exception{ +try { + Debug.PushSubsStack("EnviarPDFWhatsAppNumero (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7357); +if (RapidSub.canDelegate("enviarpdfwhatsappnumero")) { __ref.runUserSub(false, "c_cliente","enviarpdfwhatsappnumero", __ref, _numerotelefono); return;} +ResumableSub_EnviarPDFWhatsAppNumero rsub = new ResumableSub_EnviarPDFWhatsAppNumero(null,__ref,_numerotelefono); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_EnviarPDFWhatsAppNumero extends BA.ResumableSub { +public ResumableSub_EnviarPDFWhatsAppNumero(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref,RemoteObject _numerotelefono) { +this.parent = parent; +this.__ref = __ref; +this._numerotelefono = _numerotelefono; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _numerotelefono; +RemoteObject _fd = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob._multipartfiledata"); +RemoteObject _link = RemoteObject.createImmutable(""); +RemoteObject _campos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _job = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("EnviarPDFWhatsAppNumero (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7357); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("NumeroTelefono", _numerotelefono); + BA.debugLineNum = 7358;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono"; +Debug.ShouldStop(536870912); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",_numerotelefono.runMethod(true,"length"),BA.numberCast(double.class, 10))) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +_numerotelefono = RemoteObject.concat(RemoteObject.createImmutable("521"),_numerotelefono);Debug.locals.put("NumeroTelefono", _numerotelefono); +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 7364;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder"; +Debug.ShouldStop(8); +if (true) break; + +case 7: +//if +this.state = 12; +if (parent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(parent._starter._ffileprovider /*RemoteObject*/ .getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_archivoticketpdf" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 12; + BA.debugLineNum = 7366;BA.debugLine="Dim fd As MultipartFileData"; +Debug.ShouldStop(32); +_fd = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob._multipartfiledata");Debug.locals.put("fd", _fd); + BA.debugLineNum = 7367;BA.debugLine="fd.Initialize"; +Debug.ShouldStop(64); +_fd.runVoidMethod ("Initialize"); + BA.debugLineNum = 7368;BA.debugLine="fd.KeyName = \"file\""; +Debug.ShouldStop(128); +_fd.setField ("KeyName" /*RemoteObject*/ ,BA.ObjectToString("file")); + BA.debugLineNum = 7369;BA.debugLine="fd.Dir = Starter.fFileProvider.SharedFolder"; +Debug.ShouldStop(256); +_fd.setField ("Dir" /*RemoteObject*/ ,parent._starter._ffileprovider /*RemoteObject*/ .getField(true,"_sharedfolder" /*RemoteObject*/ )); + BA.debugLineNum = 7370;BA.debugLine="fd.FileName = archivoTicketPDF"; +Debug.ShouldStop(512); +_fd.setField ("FileName" /*RemoteObject*/ ,__ref.getField(true,"_archivoticketpdf" /*RemoteObject*/ )); + BA.debugLineNum = 7371;BA.debugLine="fd.ContentType = \"application/pdf\""; +Debug.ShouldStop(1024); +_fd.setField ("ContentType" /*RemoteObject*/ ,BA.ObjectToString("application/pdf")); + BA.debugLineNum = 7372;BA.debugLine="Private link As String = \"http://keymon.net:9001"; +Debug.ShouldStop(2048); +_link = BA.ObjectToString("http://keymon.net:9001/v1/ticketpdf");Debug.locals.put("link", _link);Debug.locals.put("link", _link); + BA.debugLineNum = 7373;BA.debugLine="Private campos As Map = CreateMap( \"message\":\"Tu"; +Debug.ShouldStop(4096); +_campos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_campos = parent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("message")),(RemoteObject.createImmutable("Tu compra de Guna va ser a *crédito* por el monto de $${NumberFormat2(monto, 1, 2, 2, True)}\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)"))}));Debug.locals.put("campos", _campos);Debug.locals.put("campos", _campos); + BA.debugLineNum = 7374;BA.debugLine="campos.Put(\"number\", NumeroTelefono)"; +Debug.ShouldStop(8192); +_campos.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("number"))),(Object)((_numerotelefono))); + BA.debugLineNum = 7375;BA.debugLine="Log(NumeroTelefono)"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","062586898",_numerotelefono,0); + BA.debugLineNum = 7376;BA.debugLine="campos.Put(\"message\",\"Tu recibo\")"; +Debug.ShouldStop(32768); +_campos.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("message"))),(Object)((RemoteObject.createImmutable("Tu recibo")))); + BA.debugLineNum = 7377;BA.debugLine="Log(campos)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","062586900",BA.ObjectToString(_campos),0); + BA.debugLineNum = 7378;BA.debugLine="Private job As HttpJob"; +Debug.ShouldStop(131072); +_job = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("job", _job); + BA.debugLineNum = 7379;BA.debugLine="job.Initialize(\"\", Me)"; +Debug.ShouldStop(262144); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 7380;BA.debugLine="job.PostMultipart(link, campos, Array(fd))"; +Debug.ShouldStop(524288); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_postmultipart" /*RemoteObject*/ ,(Object)(_link),(Object)(_campos),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_fd)}))))); + BA.debugLineNum = 7382;BA.debugLine="Log(5555)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("LogImpl","062586905",BA.NumberToString(5555),0); + BA.debugLineNum = 7383;BA.debugLine="Wait For (job) JobDone(job As HttpJob)"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "enviarpdfwhatsappnumero"), (_job)); +this.state = 13; +return; +case 13: +//C +this.state = 12; +_job = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("job", _job); +; + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 7411;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe.\", Tr"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El archivo PDF no existe.")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 12: +//C +this.state = -1; +; + BA.debugLineNum = 7413;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _enviarpdfwhatsappnumero2(RemoteObject __ref,RemoteObject _numerotelefono) throws Exception{ +try { + Debug.PushSubsStack("EnviarPDFWhatsAppNumero2 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7415); +if (RapidSub.canDelegate("enviarpdfwhatsappnumero2")) { __ref.runUserSub(false, "c_cliente","enviarpdfwhatsappnumero2", __ref, _numerotelefono); return;} +ResumableSub_EnviarPDFWhatsAppNumero2 rsub = new ResumableSub_EnviarPDFWhatsAppNumero2(null,__ref,_numerotelefono); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_EnviarPDFWhatsAppNumero2 extends BA.ResumableSub { +public ResumableSub_EnviarPDFWhatsAppNumero2(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref,RemoteObject _numerotelefono) { +this.parent = parent; +this.__ref = __ref; +this._numerotelefono = _numerotelefono; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _numerotelefono; +RemoteObject _rutaarchivo = RemoteObject.createImmutable(""); +RemoteObject _uriwhatsapp = RemoteObject.createImmutable(""); +RemoteObject _intentwhatsapp = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +RemoteObject _uri0 = RemoteObject.declareNull("Object"); +RemoteObject _intent1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("EnviarPDFWhatsAppNumero2 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7415); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("NumeroTelefono", _numerotelefono); + BA.debugLineNum = 7416;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono"; +Debug.ShouldStop(8388608); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",_numerotelefono.runMethod(true,"length"),BA.numberCast(double.class, 10))) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +_numerotelefono = RemoteObject.concat(RemoteObject.createImmutable("521"),_numerotelefono);Debug.locals.put("NumeroTelefono", _numerotelefono); +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 7418;BA.debugLine="Dim RutaArchivo As String = Starter.fFileProvi"; +Debug.ShouldStop(33554432); +_rutaarchivo = RemoteObject.concat(parent._starter._ffileprovider /*RemoteObject*/ .getField(true,"_sharedfolder" /*RemoteObject*/ ),RemoteObject.createImmutable("/"),__ref.getField(true,"_archivoticketpdf" /*RemoteObject*/ ));Debug.locals.put("RutaArchivo", _rutaarchivo);Debug.locals.put("RutaArchivo", _rutaarchivo); + BA.debugLineNum = 7419;BA.debugLine="Log(RutaArchivo)"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("LogImpl","062652420",_rutaarchivo,0); + BA.debugLineNum = 7422;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder"; +Debug.ShouldStop(536870912); +if (true) break; + +case 7: +//if +this.state = 12; +if (parent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(parent._starter._ffileprovider /*RemoteObject*/ .getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_archivoticketpdf" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 12; + BA.debugLineNum = 7424;BA.debugLine="Dim UriWhatsApp As String = \"https://wa.me"; +Debug.ShouldStop(-2147483648); +_uriwhatsapp = RemoteObject.concat(RemoteObject.createImmutable("https://wa.me/"),_numerotelefono);Debug.locals.put("UriWhatsApp", _uriwhatsapp);Debug.locals.put("UriWhatsApp", _uriwhatsapp); + BA.debugLineNum = 7425;BA.debugLine="Dim IntentWhatsApp As Intent"; +Debug.ShouldStop(1); +_intentwhatsapp = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("IntentWhatsApp", _intentwhatsapp); + BA.debugLineNum = 7426;BA.debugLine="IntentWhatsApp.Initialize(IntentWhatsApp.A"; +Debug.ShouldStop(2); +_intentwhatsapp.runVoidMethod ("Initialize",(Object)(_intentwhatsapp.getField(true,"ACTION_VIEW")),(Object)(_uriwhatsapp)); + BA.debugLineNum = 7435;BA.debugLine="StartActivity(IntentWhatsApp)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_intentwhatsapp.getObject()))); + BA.debugLineNum = 7438;BA.debugLine="ToastMessageShow(\"Por favor, comparte el a"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Por favor, comparte el archivo manualmente en WhatsApp.")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 7441;BA.debugLine="Sleep(3000)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "enviarpdfwhatsappnumero2"),BA.numberCast(int.class, 3000)); +this.state = 13; +return; +case 13: +//C +this.state = 12; +; + BA.debugLineNum = 7444;BA.debugLine="Dim Uri0 As Object = Starter.fFileProvider.GetFi"; +Debug.ShouldStop(524288); +_uri0 = parent._starter._ffileprovider /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_archivoticketpdf" /*RemoteObject*/ )));Debug.locals.put("Uri0", _uri0);Debug.locals.put("Uri0", _uri0); + BA.debugLineNum = 7447;BA.debugLine="Dim Intent1 As Intent"; +Debug.ShouldStop(4194304); +_intent1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("Intent1", _intent1); + BA.debugLineNum = 7448;BA.debugLine="Intent1.Initialize(Intent1.ACTION_SEND, \"\""; +Debug.ShouldStop(8388608); +_intent1.runVoidMethod ("Initialize",(Object)(_intent1.getField(true,"ACTION_SEND")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 7451;BA.debugLine="Intent1.SetType(\"application/pdf\")"; +Debug.ShouldStop(67108864); +_intent1.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/pdf"))); + BA.debugLineNum = 7454;BA.debugLine="Intent1.PutExtra(\"android.intent.extra.STR"; +Debug.ShouldStop(536870912); +_intent1.runVoidMethod ("PutExtra",(Object)(BA.ObjectToString("android.intent.extra.STREAM")),(Object)(_uri0)); + BA.debugLineNum = 7457;BA.debugLine="Intent1.Flags = 1 ' FLAG_GRANT_READ_URI_PE"; +Debug.ShouldStop(1); +_intent1.runMethod(true,"setFlags",BA.numberCast(int.class, 1)); + BA.debugLineNum = 7460;BA.debugLine="StartActivity(Intent1)"; +Debug.ShouldStop(8); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_intent1.getObject()))); + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 7462;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El archivo PDF no existe.")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 12: +//C +this.state = -1; +; + BA.debugLineNum = 7464;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _enviaticket(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("enviaTicket (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7345); +if (RapidSub.canDelegate("enviaticket")) { __ref.runUserSub(false, "c_cliente","enviaticket", __ref); return;} +ResumableSub_enviaTicket rsub = new ResumableSub_enviaTicket(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_enviaTicket extends BA.ResumableSub { +public ResumableSub_enviaTicket(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _email = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.Email"); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("enviaTicket (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7345); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 7347;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "enviaticket"),BA.numberCast(int.class, 1000)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; + BA.debugLineNum = 7348;BA.debugLine="Dim email As Email"; +Debug.ShouldStop(524288); +_email = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.Email");Debug.locals.put("email", _email); + BA.debugLineNum = 7349;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")"; +Debug.ShouldStop(1048576); +_email.getField(false,"To").runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("cheveguerra@gmail.com")))); + BA.debugLineNum = 7350;BA.debugLine="email.Subject = \"subject\""; +Debug.ShouldStop(2097152); +_email.setField ("Subject",BA.ObjectToString("subject")); + BA.debugLineNum = 7351;BA.debugLine="email.Attachments.Add(Starter.fFileProvider.GetFi"; +Debug.ShouldStop(4194304); +_email.getField(false,"Attachments").runVoidMethod ("Add",(Object)(parent._starter._ffileprovider /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_archivoticketpdf" /*RemoteObject*/ ))))); + BA.debugLineNum = 7352;BA.debugLine="Dim in As Intent = email.GetIntent"; +Debug.ShouldStop(8388608); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper"); +_in = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.IntentWrapper"), _email.runMethod(false,"GetIntent"));Debug.locals.put("in", _in);Debug.locals.put("in", _in); + BA.debugLineNum = 7353;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +Debug.ShouldStop(16777216); +_in.runMethod(true,"setFlags",BA.numberCast(int.class, 1)); + BA.debugLineNum = 7354;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject()))); + BA.debugLineNum = 7355;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _et_encuesta_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_encuesta_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6484); +if (RapidSub.canDelegate("et_encuesta_textchanged")) { return __ref.runUserSub(false, "c_cliente","et_encuesta_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 6484;BA.debugLine="Private Sub et_encuesta_TextChanged (Old As String"; +Debug.ShouldStop(524288); + BA.debugLineNum = 6486;BA.debugLine="If New.Length > 0 Then b_encuesta_continuar.Enabl"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 0))) { +__ref.getField(false,"_b_encuesta_continuar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True"));}; + BA.debugLineNum = 6487;BA.debugLine="If New.Length < 1 Then b_encuesta_continuar.Enabl"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("<",_new.runMethod(true,"length"),BA.numberCast(double.class, 1))) { +__ref.getField(false,"_b_encuesta_continuar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False"));}; + BA.debugLineNum = 6488;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_numeropdf_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_numeroPDF_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7509); +if (RapidSub.canDelegate("et_numeropdf_textchanged")) { return __ref.runUserSub(false, "c_cliente","et_numeropdf_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 7509;BA.debugLine="Private Sub et_numeroPDF_TextChanged (Old As Strin"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 7510;BA.debugLine="If New.Length = 10 Then b_envioPDF.Enabled = True"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_new.runMethod(true,"length"),BA.numberCast(double.class, 10))) { +__ref.getField(false,"_b_enviopdf" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True"));} +else { +__ref.getField(false,"_b_enviopdf" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False"));}; + BA.debugLineNum = 7511;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_p1_m2_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_p1_m2_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5567); +if (RapidSub.canDelegate("et_p1_m2_textchanged")) { return __ref.runUserSub(false, "c_cliente","et_p1_m2_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 5567;BA.debugLine="Private Sub et_p1_m2_TextChanged (Old As String, N"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 5568;BA.debugLine="If et_p1_m2.Text.Length > 2 Or et_p1_m2.Text = 0"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_et_p1_m2" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 2)) || RemoteObject.solveBoolean("=",__ref.getField(false,"_et_p1_m2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 5570;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aviso"))),__ref.getField(false, "ba")); + BA.debugLineNum = 5571;BA.debugLine="et_p1_m2.Text = \"\""; +Debug.ShouldStop(4); +__ref.getField(false,"_et_p1_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 5573;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_p1_m4_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_p1_m4_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5592); +if (RapidSub.canDelegate("et_p1_m4_textchanged")) { return __ref.runUserSub(false, "c_cliente","et_p1_m4_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 5592;BA.debugLine="Private Sub et_p1_m4_TextChanged (Old As String, N"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 5593;BA.debugLine="If et_p1_m4.Text.Length > 5 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_et_p1_m4" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 5))) { + BA.debugLineNum = 5595;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aviso"))),__ref.getField(false, "ba")); + BA.debugLineNum = 5596;BA.debugLine="et_p1_m4.Text = \"\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_p1_m4" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 5598;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_p2_m2_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_p2_m2_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5575); +if (RapidSub.canDelegate("et_p2_m2_textchanged")) { return __ref.runUserSub(false, "c_cliente","et_p2_m2_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 5575;BA.debugLine="Private Sub et_p2_m2_TextChanged (Old As String, N"; +Debug.ShouldStop(64); + BA.debugLineNum = 5576;BA.debugLine="If et_p2_m2.Text.Length > 2 Or et_p2_m2.Text = 0"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_et_p2_m2" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 2)) || RemoteObject.solveBoolean("=",__ref.getField(false,"_et_p2_m2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 5578;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aviso"))),__ref.getField(false, "ba")); + BA.debugLineNum = 5579;BA.debugLine="et_p2_m2.Text = \"\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_et_p2_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 5582;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_p5_m2_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_p5_m2_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5584); +if (RapidSub.canDelegate("et_p5_m2_textchanged")) { return __ref.runUserSub(false, "c_cliente","et_p5_m2_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 5584;BA.debugLine="Private Sub et_p5_m2_TextChanged (Old As String, N"; +Debug.ShouldStop(32768); + BA.debugLineNum = 5585;BA.debugLine="If et_p5_m2.Text.Length > 4 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_et_p5_m2" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 4))) { + BA.debugLineNum = 5587;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aviso"))),__ref.getField(false, "ba")); + BA.debugLineNum = 5588;BA.debugLine="et_p5_m2.Text = \"\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_et_p5_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 5590;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _gest_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gest_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2078); +if (RapidSub.canDelegate("gest_click")) { __ref.runUserSub(false, "c_cliente","gest_click", __ref); return;} +ResumableSub_gest_Click rsub = new ResumableSub_gest_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_gest_Click extends BA.ResumableSub { +public ResumableSub_gest_Click(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _pagarepen = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fechainicio = RemoteObject.createImmutable(""); +RemoteObject _ticksinicio = RemoteObject.createImmutable(0L); +RemoteObject _tickshoy = RemoteObject.createImmutable(0L); +RemoteObject _diferenciadias = RemoteObject.createImmutable(0); +RemoteObject _resultado = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("gest_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2078); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 2083;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; +Debug.ShouldStop(4); +_pagarepen = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pagarepen = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pagarepen", _pagarepen);Debug.locals.put("pagarepen", _pagarepen); + BA.debugLineNum = 2084;BA.debugLine="If pagarepen.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (true) break; + +case 1: +//if +this.state = 32; +if (RemoteObject.solveBoolean(">",_pagarepen.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 3; +}else { +this.state = 31; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 2085;BA.debugLine="pagarepen.Position = 0"; +Debug.ShouldStop(16); +_pagarepen.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2086;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +Debug.ShouldStop(32); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 2087;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; +Debug.ShouldStop(64); +_fechainicio = _pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA")));Debug.locals.put("FechaInicio", _fechainicio);Debug.locals.put("FechaInicio", _fechainicio); + BA.debugLineNum = 2089;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("LogImpl","051380235",_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA"))),0); + BA.debugLineNum = 2092;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; +Debug.ShouldStop(2048); +_ticksinicio = parent.__c.getField(false,"DateTime").runMethod(true,"DateParse",(Object)(_fechainicio));Debug.locals.put("TicksInicio", _ticksinicio);Debug.locals.put("TicksInicio", _ticksinicio); + BA.debugLineNum = 2093;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; +Debug.ShouldStop(4096); +_tickshoy = parent.__c.getField(false,"DateTime").runMethod(true,"DateParse",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))));Debug.locals.put("TicksHoy", _tickshoy);Debug.locals.put("TicksHoy", _tickshoy); + BA.debugLineNum = 2096;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; +Debug.ShouldStop(32768); +_diferenciadias = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_tickshoy,_ticksinicio}, "-",1, 2)),parent.__c.getField(false,"DateTime").getField(true,"TicksPerDay")}, "/",0, 0));Debug.locals.put("DiferenciaDias", _diferenciadias);Debug.locals.put("DiferenciaDias", _diferenciadias); + BA.debugLineNum = 2099;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","051380245",(RemoteObject.concat(RemoteObject.createImmutable("Días transcurridos: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_diferenciadias))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2101;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 2102;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2104;BA.debugLine="If ALMACEN = 81 Or ALMACEN = 94 Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 4: +//if +this.state = 29; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(81)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(94))) { +this.state = 6; +}else { +this.state = 18; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 2105;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI"; +Debug.ShouldStop(16777216); +if (true) break; + +case 7: +//if +this.state = 16; +if (RemoteObject.solveBoolean("k",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(8)}, "+",1, 1)))) { +this.state = 9; +}else +{ BA.debugLineNum = 2112;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASC"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { +this.state = 15; +}} +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 2107;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Favor de pagar su credito el día de mañana por un monto de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))),RemoteObject.createImmutable(""))))),(Object)(BA.ObjectToCharSequence("Recordatorio")),(Object)(BA.ObjectToString("Ok")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 2108;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "gest_click"), null); +this.state = 33; +return; +case 33: +//C +this.state = 10; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2109;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 10: +//if +this.state = 13; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; + BA.debugLineNum = 2110;BA.debugLine="gestionar"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_gestionar" /*RemoteObject*/ ); + if (true) break; + +case 13: +//C +this.state = 16; +; + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 2113;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("No se puede realizar venta por que presenta "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {_diferenciadias,(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1))}, "-",1, 1))))),RemoteObject.createImmutable(" días de atraso en el credito, por un monto de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))),RemoteObject.createImmutable(""))))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 16: +//C +this.state = 29; +; + if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 2116;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI"; +Debug.ShouldStop(8); +if (true) break; + +case 19: +//if +this.state = 28; +if (RemoteObject.solveBoolean("k",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { +this.state = 21; +}else +{ BA.debugLineNum = 2123;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASC"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { +this.state = 27; +}} +if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 2118;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Favor de pagar su credito el día de mañana por un monto de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))),RemoteObject.createImmutable(""))))),(Object)(BA.ObjectToCharSequence("Recordatorio")),(Object)(BA.ObjectToString("Ok")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 2119;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "gest_click"), null); +this.state = 34; +return; +case 34: +//C +this.state = 22; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2120;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(128); +if (true) break; + +case 22: +//if +this.state = 25; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 2121;BA.debugLine="gestionar"; +Debug.ShouldStop(256); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_gestionar" /*RemoteObject*/ ); + if (true) break; + +case 25: +//C +this.state = 28; +; + if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 2124;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("No se puede realizar venta por que presenta "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {_diferenciadias,(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1))}, "-",1, 1))))),RemoteObject.createImmutable(" días de atraso en el credito, por un monto de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))),RemoteObject.createImmutable(""))))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 28: +//C +this.state = 29; +; + if (true) break; + +case 29: +//C +this.state = 32; +; + if (true) break; + +case 31: +//C +this.state = 32; + BA.debugLineNum = 2129;BA.debugLine="gestionar"; +Debug.ShouldStop(65536); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_gestionar" /*RemoteObject*/ ); + if (true) break; + +case 32: +//C +this.state = -1; +; + BA.debugLineNum = 2131;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _gestionar(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gestionar (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2133); +if (RapidSub.canDelegate("gestionar")) { return __ref.runUserSub(false, "c_cliente","gestionar", __ref);} +RemoteObject _intent1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +RemoteObject _enviorutas = RemoteObject.createImmutable(""); +RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); + BA.debugLineNum = 2133;BA.debugLine="Sub gestionar"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 2134;BA.debugLine="If B_IMP.Visible = True Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_imp" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 2135;BA.debugLine="If Not(Subs.revisaImpreso) Then"; +Debug.ShouldStop(4194304); +if (c_cliente.__c.runMethod(true,"Not",(Object)(c_cliente._subs.runMethod(true,"_revisaimpreso" /*RemoteObject*/ ,__ref.getField(false, "ba")))).get().booleanValue()) { + BA.debugLineNum = 2136;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 2137;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2138;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("encuesta"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 2139;BA.debugLine="Dim Intent1 As Intent"; +Debug.ShouldStop(67108864); +_intent1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("Intent1", _intent1); + BA.debugLineNum = 2140;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/c"; +Debug.ShouldStop(134217728); +_enviorutas = RemoteObject.concat(RemoteObject.createImmutable("guna://tienda360/config?clienteId="),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("&almacen="),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable("&ruta="),c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")));Debug.locals.put("enviorutas", _enviorutas);Debug.locals.put("enviorutas", _enviorutas); + BA.debugLineNum = 2141;BA.debugLine="Log(enviorutas)"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("LogImpl","051445768",_enviorutas,0); + BA.debugLineNum = 2142;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envior"; +Debug.ShouldStop(536870912); +_intent1.runVoidMethod ("Initialize",(Object)(_intent1.getField(true,"ACTION_VIEW")),(Object)(_enviorutas)); + BA.debugLineNum = 2143;BA.debugLine="Try"; +Debug.ShouldStop(1073741824); +try { BA.debugLineNum = 2144;BA.debugLine="Starter.encuesta = 1"; +Debug.ShouldStop(-2147483648); +c_cliente._starter._encuesta /*RemoteObject*/ = BA.NumberToString(1); + BA.debugLineNum = 2145;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 2146;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encu"; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))))); + BA.debugLineNum = 2147;BA.debugLine="StartActivity(Intent1)"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_intent1.getObject()))); + BA.debugLineNum = 2148;BA.debugLine="compra"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + Debug.CheckDeviceExceptions(); +} + catch (Exception e17) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e17.toString()); BA.debugLineNum = 2150;BA.debugLine="Starter.encuesta = 0"; +Debug.ShouldStop(32); +c_cliente._starter._encuesta /*RemoteObject*/ = BA.NumberToString(0); + BA.debugLineNum = 2154;BA.debugLine="compra"; +Debug.ShouldStop(512); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 2161;BA.debugLine="compra"; +Debug.ShouldStop(65536); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 2164;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(94))) { + BA.debugLineNum = 2165;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 2166;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2167;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("encuesta"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 2168;BA.debugLine="Dim Intent1 As Intent"; +Debug.ShouldStop(8388608); +_intent1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("Intent1", _intent1); + BA.debugLineNum = 2169;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/"; +Debug.ShouldStop(16777216); +_enviorutas = RemoteObject.concat(RemoteObject.createImmutable("guna://tienda360/config?clienteId="),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("&almacen="),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable("&ruta="),c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")));Debug.locals.put("enviorutas", _enviorutas);Debug.locals.put("enviorutas", _enviorutas); + BA.debugLineNum = 2170;BA.debugLine="Log(enviorutas)"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","051445797",_enviorutas,0); + BA.debugLineNum = 2171;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envio"; +Debug.ShouldStop(67108864); +_intent1.runVoidMethod ("Initialize",(Object)(_intent1.getField(true,"ACTION_VIEW")),(Object)(_enviorutas)); + BA.debugLineNum = 2172;BA.debugLine="Try"; +Debug.ShouldStop(134217728); +try { BA.debugLineNum = 2173;BA.debugLine="Starter.encuesta = 1"; +Debug.ShouldStop(268435456); +c_cliente._starter._encuesta /*RemoteObject*/ = BA.NumberToString(1); + BA.debugLineNum = 2174;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(536870912); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 2175;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET enc"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))))); + BA.debugLineNum = 2176;BA.debugLine="StartActivity(Intent1)"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_intent1.getObject()))); + BA.debugLineNum = 2177;BA.debugLine="compra"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + Debug.CheckDeviceExceptions(); +} + catch (Exception e39) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e39.toString()); BA.debugLineNum = 2179;BA.debugLine="Starter.encuesta = 0"; +Debug.ShouldStop(4); +c_cliente._starter._encuesta /*RemoteObject*/ = BA.NumberToString(0); + BA.debugLineNum = 2183;BA.debugLine="compra"; +Debug.ShouldStop(64); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 2190;BA.debugLine="compra"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 2193;BA.debugLine="p_transparenteTicketImpreso.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }; + }; + }else { + BA.debugLineNum = 2197;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 2198;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2199;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("encuesta"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 2200;BA.debugLine="Dim Intent1 As Intent"; +Debug.ShouldStop(8388608); +_intent1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("Intent1", _intent1); + BA.debugLineNum = 2201;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/co"; +Debug.ShouldStop(16777216); +_enviorutas = RemoteObject.concat(RemoteObject.createImmutable("guna://tienda360/config?clienteId="),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("&almacen="),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable("&ruta="),c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")));Debug.locals.put("enviorutas", _enviorutas);Debug.locals.put("enviorutas", _enviorutas); + BA.debugLineNum = 2202;BA.debugLine="Log(enviorutas)"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","051445829",_enviorutas,0); + BA.debugLineNum = 2203;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envioru"; +Debug.ShouldStop(67108864); +_intent1.runVoidMethod ("Initialize",(Object)(_intent1.getField(true,"ACTION_VIEW")),(Object)(_enviorutas)); + BA.debugLineNum = 2204;BA.debugLine="Try"; +Debug.ShouldStop(134217728); +try { BA.debugLineNum = 2205;BA.debugLine="Starter.encuesta = 1"; +Debug.ShouldStop(268435456); +c_cliente._starter._encuesta /*RemoteObject*/ = BA.NumberToString(1); + BA.debugLineNum = 2206;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(536870912); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 2207;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encue"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))))); + BA.debugLineNum = 2208;BA.debugLine="StartActivity(Intent1)"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_intent1.getObject()))); + BA.debugLineNum = 2209;BA.debugLine="compra"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + Debug.CheckDeviceExceptions(); +} + catch (Exception e64) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e64.toString()); BA.debugLineNum = 2211;BA.debugLine="Starter.encuesta = 0"; +Debug.ShouldStop(4); +c_cliente._starter._encuesta /*RemoteObject*/ = BA.NumberToString(0); + BA.debugLineNum = 2215;BA.debugLine="compra"; +Debug.ShouldStop(64); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 2222;BA.debugLine="compra"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_compra" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 2225;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1520); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_cliente","gps_locationchanged", __ref, _location1);} +RemoteObject _ultimasubicaciones = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _latpromedio = RemoteObject.createImmutable(0); +RemoteObject _lonpromedio = RemoteObject.createImmutable(0); +RemoteObject _loc = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _al_longitud = RemoteObject.createImmutable(""); +RemoteObject _al_latitud = RemoteObject.createImmutable(""); +RemoteObject _ubi1 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _ubi2 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _l1 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _l2 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _habi = RemoteObject.createImmutable(""); +RemoteObject _geo = RemoteObject.createImmutable(""); +RemoteObject _future = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 1520;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1521;BA.debugLine="LogColor($\"Entrando a Cliente.GPS_LocationChanged"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","050921473",(RemoteObject.createImmutable("Entrando a Cliente.GPS_LocationChanged")),c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1524;BA.debugLine="If Location1 = location2 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_location1,__ref.getField(false,"_location2" /*RemoteObject*/ ))) { + BA.debugLineNum = 1525;BA.debugLine="contIguales = contIguales + 1"; +Debug.ShouldStop(1048576); +__ref.setField ("_contiguales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_contiguales" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 1526;BA.debugLine="Log(\"Coords Iguales\")"; +Debug.ShouldStop(2097152); +c_cliente.__c.runVoidMethod ("LogImpl","050921478",RemoteObject.createImmutable("Coords Iguales"),0); + BA.debugLineNum = 1527;BA.debugLine="If contIguales >= 3 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("g",__ref.getField(true,"_contiguales" /*RemoteObject*/ ),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 1530;BA.debugLine="CallSubDelayed(Tracker, \"StopFLP\")"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_cliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StopFLP"))); + BA.debugLineNum = 1531;BA.debugLine="Return"; +Debug.ShouldStop(67108864); +if (true) return RemoteObject.createImmutable(""); + }; + }else { + BA.debugLineNum = 1534;BA.debugLine="contIguales = 0"; +Debug.ShouldStop(536870912); +__ref.setField ("_contiguales" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 1536;BA.debugLine="Log(\"############################################"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","050921488",RemoteObject.createImmutable("################################################################################"),0); + BA.debugLineNum = 1537;BA.debugLine="Log(\"############################################"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","050921489",RemoteObject.createImmutable("################################################################################"),0); + BA.debugLineNum = 1538;BA.debugLine="Log(\"############################################"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("LogImpl","050921490",RemoteObject.createImmutable("################################################################################"),0); + BA.debugLineNum = 1539;BA.debugLine="location2 = Location1"; +Debug.ShouldStop(4); +__ref.setField ("_location2" /*RemoteObject*/ ,_location1); + BA.debugLineNum = 1549;BA.debugLine="If Location1.Accuracy > 50 Then ' Mayor a 50 metr"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 50))) { + BA.debugLineNum = 1550;BA.debugLine="MejorarPrecisionGPS"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_mejorarprecisiongps" /*RemoteObject*/ ); + BA.debugLineNum = 1551;BA.debugLine="Return ' Esperar siguiente lectura"; +Debug.ShouldStop(16384); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 1555;BA.debugLine="If Location1.Accuracy > 50 Then ' Si la precisión"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 50))) { + BA.debugLineNum = 1556;BA.debugLine="Return"; +Debug.ShouldStop(524288); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 1560;BA.debugLine="Dim ultimasUbicaciones As List"; +Debug.ShouldStop(8388608); +_ultimasubicaciones = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("ultimasUbicaciones", _ultimasubicaciones); + BA.debugLineNum = 1561;BA.debugLine="If ultimasUbicaciones.IsInitialized = False Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_ultimasubicaciones.runMethod(true,"IsInitialized"),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 1562;BA.debugLine="ultimasUbicaciones.Initialize"; +Debug.ShouldStop(33554432); +_ultimasubicaciones.runVoidMethod ("Initialize"); + }; + BA.debugLineNum = 1565;BA.debugLine="ultimasUbicaciones.Add(Location1)"; +Debug.ShouldStop(268435456); +_ultimasubicaciones.runVoidMethod ("Add",(Object)((_location1.getObject()))); + BA.debugLineNum = 1566;BA.debugLine="If ultimasUbicaciones.Size > 5 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_ultimasubicaciones.runMethod(true,"getSize"),BA.numberCast(double.class, 5))) { + BA.debugLineNum = 1567;BA.debugLine="ultimasUbicaciones.RemoveAt(0)"; +Debug.ShouldStop(1073741824); +_ultimasubicaciones.runVoidMethod ("RemoveAt",(Object)(BA.numberCast(int.class, 0))); + }; + BA.debugLineNum = 1571;BA.debugLine="Dim latPromedio, lonPromedio As Double"; +Debug.ShouldStop(4); +_latpromedio = RemoteObject.createImmutable(0);Debug.locals.put("latPromedio", _latpromedio); +_lonpromedio = RemoteObject.createImmutable(0);Debug.locals.put("lonPromedio", _lonpromedio); + BA.debugLineNum = 1572;BA.debugLine="For Each loc As Location In ultimasUbicaciones"; +Debug.ShouldStop(8); +_loc = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); +{ +final RemoteObject group32 = _ultimasubicaciones; +final int groupLen32 = group32.runMethod(true,"getSize").get() +;int index32 = 0; +; +for (; index32 < groupLen32;index32++){ +_loc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.gps.LocationWrapper"), group32.runMethod(false,"Get",index32));Debug.locals.put("loc", _loc); +Debug.locals.put("loc", _loc); + BA.debugLineNum = 1573;BA.debugLine="Log(\"***\")"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","050921525",RemoteObject.createImmutable("***"),0); + BA.debugLineNum = 1574;BA.debugLine="latPromedio = latPromedio + loc.Latitude"; +Debug.ShouldStop(32); +_latpromedio = RemoteObject.solve(new RemoteObject[] {_latpromedio,_loc.runMethod(true,"getLatitude")}, "+",1, 0);Debug.locals.put("latPromedio", _latpromedio); + BA.debugLineNum = 1575;BA.debugLine="lonPromedio = lonPromedio + loc.Longitude"; +Debug.ShouldStop(64); +_lonpromedio = RemoteObject.solve(new RemoteObject[] {_lonpromedio,_loc.runMethod(true,"getLongitude")}, "+",1, 0);Debug.locals.put("lonPromedio", _lonpromedio); + } +}Debug.locals.put("loc", _loc); +; + BA.debugLineNum = 1577;BA.debugLine="latPromedio = latPromedio / ultimasUbicaciones.Si"; +Debug.ShouldStop(256); +_latpromedio = RemoteObject.solve(new RemoteObject[] {_latpromedio,_ultimasubicaciones.runMethod(true,"getSize")}, "/",0, 0);Debug.locals.put("latPromedio", _latpromedio); + BA.debugLineNum = 1578;BA.debugLine="lonPromedio = lonPromedio / ultimasUbicaciones.Si"; +Debug.ShouldStop(512); +_lonpromedio = RemoteObject.solve(new RemoteObject[] {_lonpromedio,_ultimasubicaciones.runMethod(true,"getSize")}, "/",0, 0);Debug.locals.put("lonPromedio", _lonpromedio); + BA.debugLineNum = 1581;BA.debugLine="B4XPages.MainPage.lat_gps = latPromedio"; +Debug.ShouldStop(4096); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(_latpromedio)); + BA.debugLineNum = 1582;BA.debugLine="B4XPages.MainPage.lon_gps = lonPromedio"; +Debug.ShouldStop(8192); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(_lonpromedio)); + BA.debugLineNum = 1584;BA.debugLine="If Tels.IsInitialized Then"; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 1585;BA.debugLine="Dim al_longitud As String = 0"; +Debug.ShouldStop(65536); +_al_longitud = BA.NumberToString(0);Debug.locals.put("al_longitud", _al_longitud);Debug.locals.put("al_longitud", _al_longitud); + BA.debugLineNum = 1586;BA.debugLine="Dim al_latitud As String = 0"; +Debug.ShouldStop(131072); +_al_latitud = BA.NumberToString(0);Debug.locals.put("al_latitud", _al_latitud);Debug.locals.put("al_latitud", _al_latitud); + BA.debugLineNum = 1587;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LATITUD")})))); + BA.debugLineNum = 1588;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1589;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1590;BA.debugLine="Dim al_latitud As String = c.GetString(\"CAT_VA_"; +Debug.ShouldStop(2097152); +_al_latitud = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("al_latitud", _al_latitud);Debug.locals.put("al_latitud", _al_latitud); + }; + BA.debugLineNum = 1592;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1593;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LONGITUD")})))); + BA.debugLineNum = 1594;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1595;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1596;BA.debugLine="Dim al_longitud As String = c.GetString(\"CAT_VA"; +Debug.ShouldStop(134217728); +_al_longitud = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("al_longitud", _al_longitud);Debug.locals.put("al_longitud", _al_longitud); + }; + BA.debugLineNum = 1598;BA.debugLine="c.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1599;BA.debugLine="Dim ubi1, ubi2 As Location"; +Debug.ShouldStop(1073741824); +_ubi1 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("ubi1", _ubi1); +_ubi2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("ubi2", _ubi2); + BA.debugLineNum = 1600;BA.debugLine="ubi1.Initialize2(B4XPages.MainPage.lat_gps, B4XP"; +Debug.ShouldStop(-2147483648); +_ubi1.runVoidMethod ("Initialize2",(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))); + BA.debugLineNum = 1601;BA.debugLine="ubi2.Initialize2(al_latitud, al_longitud)"; +Debug.ShouldStop(1); +_ubi2.runVoidMethod ("Initialize2",(Object)(_al_latitud),(Object)(_al_longitud)); + BA.debugLineNum = 1602;BA.debugLine="distancealm = ubi1.DistanceTo(ubi2)"; +Debug.ShouldStop(2); +__ref.setField ("_distancealm" /*RemoteObject*/ ,BA.numberCast(long.class, _ubi1.runMethod(true,"DistanceTo",(Object)((_ubi2.getObject()))))); + }; + BA.debugLineNum = 1605;BA.debugLine="If LA_GPS.IsInitialized Then"; +Debug.ShouldStop(16); +if (__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 1606;BA.debugLine="LA_GPS.Text = $\"UBICACIÓN - Precisión: ${NumberF"; +Debug.ShouldStop(32); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("UBICACIÓN - Precisión: "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _location1.runMethod(true,"getAccuracy"))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cliente.__c.getField(true,"False")))))),RemoteObject.createImmutable("m"))))); + }; + BA.debugLineNum = 1609;BA.debugLine="If Location1.Accuracy < 30 Then ' Menos de 30 met"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("<",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 1611;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +Debug.ShouldStop(1024); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(_location1.runMethod(true,"getLatitude"))); + BA.debugLineNum = 1612;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +Debug.ShouldStop(2048); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(_location1.runMethod(true,"getLongitude"))); + BA.debugLineNum = 1614;BA.debugLine="If m_lat.Length > 0 And B4XPages.MainPage.lat_gp"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_m_lat" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 1615;BA.debugLine="Dim l1, l2 As Location"; +Debug.ShouldStop(16384); +_l1 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("l1", _l1); +_l2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("l2", _l2); + BA.debugLineNum = 1616;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPa"; +Debug.ShouldStop(32768); +_l1.runVoidMethod ("Initialize2",(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))); + BA.debugLineNum = 1618;BA.debugLine="l2.Initialize2(m_lat, m_lon)"; +Debug.ShouldStop(131072); +_l2.runVoidMethod ("Initialize2",(Object)(__ref.getField(true,"_m_lat" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_m_lon" /*RemoteObject*/ ))); + BA.debugLineNum = 1619;BA.debugLine="BT_QR.Enabled = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1622;BA.debugLine="B_GPS.Enabled = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b_gps" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1624;BA.debugLine="Dim distance As Long"; +Debug.ShouldStop(8388608); +c_cliente._distance = RemoteObject.createImmutable(0L);__ref.setField("_distance",c_cliente._distance); + BA.debugLineNum = 1625;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is in"; +Debug.ShouldStop(16777216); +__ref.setField ("_distance" /*RemoteObject*/ ,BA.numberCast(long.class, _l1.runMethod(true,"DistanceTo",(Object)((_l2.getObject()))))); + BA.debugLineNum = 1626;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS")))); + BA.debugLineNum = 1627;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1628;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1629;BA.debugLine="Dim habi As String = c.GetString(\"HABILITADO\")"; +Debug.ShouldStop(268435456); +_habi = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADO")));Debug.locals.put("habi", _habi);Debug.locals.put("habi", _habi); + }; + BA.debugLineNum = 1631;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1632;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CA"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'")))); + BA.debugLineNum = 1633;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1634;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1635;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\""; +Debug.ShouldStop(4); +_geo = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("geo", _geo);Debug.locals.put("geo", _geo); + }; + BA.debugLineNum = 1637;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1638;BA.debugLine="If gest.IsInitialized And Tels.IsInitialized Th"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 1639;BA.debugLine="If geo = \"0\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_geo,BA.ObjectToString("0"))) { + BA.debugLineNum = 1640;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1641;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1642;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(512); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1643;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1644;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(2048); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1645;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1646;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 1647;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Th"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1648;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1651;BA.debugLine="iniciofin"; +Debug.ShouldStop(262144); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + BA.debugLineNum = 1653;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + }else +{ BA.debugLineNum = 1654;BA.debugLine="Else If geo = \"1\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_geo,BA.ObjectToString("1"))) { + BA.debugLineNum = 1655;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1656;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1657;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1663;BA.debugLine="If geo = \"1\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_geo,BA.ObjectToString("1"))) { + BA.debugLineNum = 1664;BA.debugLine="If distance < 100 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_distance" /*RemoteObject*/ ),BA.numberCast(long.class, 100))) { + BA.debugLineNum = 1665;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +Debug.ShouldStop(1); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1666;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1667;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(4); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1668;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(8); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1669;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1670;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(32); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1671;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1672;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 1673;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Th"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1674;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1677;BA.debugLine="bitacora.inicioFin"; +Debug.ShouldStop(4096); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_iniciofin" /*RemoteObject*/ ); + BA.debugLineNum = 1678;BA.debugLine="precision = \"1\""; +Debug.ShouldStop(8192); +__ref.setField ("_precision" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 1680;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + }else +{ BA.debugLineNum = 1682;BA.debugLine="Else If habi = \"1\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_habi,BA.ObjectToString("1"))) { + BA.debugLineNum = 1683;BA.debugLine="If distancealm < 50 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_distancealm" /*RemoteObject*/ ),BA.numberCast(long.class, 50))) { + BA.debugLineNum = 1684;BA.debugLine="precision = \"0\""; +Debug.ShouldStop(524288); +__ref.setField ("_precision" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1685;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1686;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1687;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1688;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm"; +Debug.ShouldStop(8388608); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1689;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1690;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(33554432); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1691;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1692;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 1693;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 T"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1694;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1698;BA.debugLine="bitacora.banderaGeoCerca = \"1\""; +Debug.ShouldStop(2); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 1699;BA.debugLine="iniciofin"; +Debug.ShouldStop(4); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 1701;BA.debugLine="Else If distancealm > 50 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_distancealm" /*RemoteObject*/ ),BA.numberCast(long.class, 50))) { + BA.debugLineNum = 1702;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1703;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1704;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1706;BA.debugLine="Log(998)"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","050921658",BA.NumberToString(998),0); + BA.debugLineNum = 1708;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1709;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1710;BA.debugLine="precision = \"0\""; +Debug.ShouldStop(8192); +__ref.setField ("_precision" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1711;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1712;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1713;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk"; +Debug.ShouldStop(65536); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1714;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1715;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(262144); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1716;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1717;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 1718;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1719;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1723;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1724;BA.debugLine="iniciofin"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 1725;BA.debugLine="Else If c.RowCount = 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1726;BA.debugLine="Private c5 As Cursor = skmt.ExecQuery(\"SELE"; +Debug.ShouldStop(536870912); +_c5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("c5", _c5);Debug.locals.put("c5", _c5); + BA.debugLineNum = 1727;BA.debugLine="If c5.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_c5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1728;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1729;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1730;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.s"; +Debug.ShouldStop(2); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1731;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1732;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(8); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1733;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1734;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 1735;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1736;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1739;BA.debugLine="precision = \"0\""; +Debug.ShouldStop(1024); +__ref.setField ("_precision" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1741;BA.debugLine="iniciofin"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 1742;BA.debugLine="Else If c5.RowCount = 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_c5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1743;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1744;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1746;BA.debugLine="Log(997)"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","050921698",BA.NumberToString(997),0); + BA.debugLineNum = 1748;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +Debug.ShouldStop(524288); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1749;BA.debugLine="If ALMACEN = \"1\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 1750;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1751;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1752;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1754;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1755;BA.debugLine="iniciofin"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }; + }} +; + BA.debugLineNum = 1758;BA.debugLine="c5.Close"; +Debug.ShouldStop(536870912); +_c5.runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 1760;BA.debugLine="c.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1761;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +Debug.ShouldStop(1); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1762;BA.debugLine="If ALMACEN = \"1\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 1763;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1764;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1766;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(32); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1767;BA.debugLine="iniciofin"; +Debug.ShouldStop(64); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }; + }} +; + }else +{ BA.debugLineNum = 1770;BA.debugLine="Else If habi = 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_habi,BA.NumberToString(0))) { + BA.debugLineNum = 1771;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1772;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1773;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1774;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1775;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm"; +Debug.ShouldStop(16384); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1776;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1777;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(65536); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1778;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1779;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 1780;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 T"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1781;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1785;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1786;BA.debugLine="iniciofin"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 1787;BA.debugLine="Else If c.RowCount = 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1788;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1789;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1790;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1792;BA.debugLine="Log(996)"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","050921744",BA.NumberToString(996),0); + BA.debugLineNum = 1794;BA.debugLine="c2 = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM"; +Debug.ShouldStop(2); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1795;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1796;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1797;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1798;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk"; +Debug.ShouldStop(32); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1799;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1800;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(128); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1801;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1802;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 1803;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1804;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1808;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1809;BA.debugLine="iniciofin"; +Debug.ShouldStop(65536); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 1810;BA.debugLine="Else If c2.RowCount = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1811;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1812;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1813;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1815;BA.debugLine="Log(995)"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","050921767",BA.NumberToString(995),0); + BA.debugLineNum = 1817;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1818;BA.debugLine="If ALMACEN = \"1\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 1819;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1820;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1821;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1823;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1824;BA.debugLine="iniciofin"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }; + }} +; + BA.debugLineNum = 1827;BA.debugLine="c2.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1828;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +Debug.ShouldStop(8); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1829;BA.debugLine="If ALMACEN = \"1\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 1830;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1831;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1832;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1834;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(512); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1835;BA.debugLine="iniciofin"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }; + }} +; + BA.debugLineNum = 1838;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 1840;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1841;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1842;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1844;BA.debugLine="Log(994)"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","050921796",BA.NumberToString(994),0); + BA.debugLineNum = 1846;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1847;BA.debugLine="If ALMACEN = \"1\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 1848;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1849;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1850;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1852;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1853;BA.debugLine="iniciofin"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }; + }}} +; + }; + }; + }else { + BA.debugLineNum = 1860;BA.debugLine="If LA_GPS.IsInitialized Then"; +Debug.ShouldStop(8); +if (__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 1862;BA.debugLine="LA_GPS.Text = $\"BAJA PRECISIÓN (${NumberFormat2"; +Debug.ShouldStop(32); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("BAJA PRECISIÓN ("),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _location1.runMethod(true,"getAccuracy"))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cliente.__c.getField(true,"False")))))),RemoteObject.createImmutable("m)"))))); + BA.debugLineNum = 1863;BA.debugLine="LA_GPS.TextColor = Colors.Red"; +Debug.ShouldStop(64); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 1867;BA.debugLine="If cuenta.StartsWith(\"N\") Then"; +Debug.ShouldStop(1024); +if (__ref.getField(true,"_cuenta" /*RemoteObject*/ ).runMethod(true,"startsWith",(Object)(RemoteObject.createImmutable("N"))).get().booleanValue()) { + BA.debugLineNum = 1868;BA.debugLine="precision = \"0\""; +Debug.ShouldStop(2048); +__ref.setField ("_precision" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 1869;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +Debug.ShouldStop(4096); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1870;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1871;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1872;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(32768); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1873;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1874;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(131072); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1875;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1876;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 1877;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1878;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 1882;BA.debugLine="bitacora.banderaGeoCerca = \"1\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_banderageocerca" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 1883;BA.debugLine="iniciofin"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_iniciofin" /*RemoteObject*/ ); + }; + BA.debugLineNum = 1888;BA.debugLine="If LA_GEO.IsInitialized Then LA_GEO.Text= $\"$1.2{"; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_distance" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "/",0, 0)))),RemoteObject.createImmutable(" kms")))));}; + BA.debugLineNum = 1891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(4); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS"))); + BA.debugLineNum = 1892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(8); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1894;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardadoventa(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("guardadoventa (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3068); +if (RapidSub.canDelegate("guardadoventa")) { return __ref.runUserSub(false, "c_cliente","guardadoventa", __ref);} + BA.debugLineNum = 3068;BA.debugLine="Sub guardadoventa"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 3070;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Guardar_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2976); +if (RapidSub.canDelegate("guardar_click")) { return __ref.runUserSub(false, "c_cliente","guardar_click", __ref);} +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _suma = RemoteObject.createImmutable(0f); +RemoteObject _s5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cbfactura = RemoteObject.createImmutable(0); + BA.debugLineNum = 2976;BA.debugLine="Sub Guardar_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 2977;BA.debugLine="Guardar.SendToBack"; +Debug.ShouldStop(1); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runVoidMethod ("SendToBack"); + BA.debugLineNum = 2978;BA.debugLine="bitacora.b_Inicio_Fin_venta2.Text = \"TERMINAR VIS"; +Debug.ShouldStop(2); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).getField(false,"_b_inicio_fin_venta2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("TERMINAR VISITA")); + BA.debugLineNum = 2979;BA.debugLine="bitacora.enVenta = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).setField ("_enventa" /*RemoteObject*/ ,c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2980;BA.debugLine="bitacora.inicioFin"; +Debug.ShouldStop(8); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_iniciofin" /*RemoteObject*/ ); + BA.debugLineNum = 2981;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(16); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 2982;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(32); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2983;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(64); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2984;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 2985;BA.debugLine="c.Position=0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2986;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(512); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 2987;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2988;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 2989;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2990;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8192); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 2991;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2992;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 2993;BA.debugLine="c.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2996;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ"; +Debug.ShouldStop(524288); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString(""),BA.ObjectToString("null"),BA.ObjectToString(c_cliente.__c.getField(false,"Null"))}))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 2998;BA.debugLine="Private suma As Float = 0"; +Debug.ShouldStop(2097152); +_suma = BA.numberCast(float.class, 0);Debug.locals.put("suma", _suma);Debug.locals.put("suma", _suma); + BA.debugLineNum = 2999;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3000;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ"; +Debug.ShouldStop(8388608); +c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_cliente._s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO = ? AND PE_RECALCULO = ? AND PE_RECALCULO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString(""),BA.ObjectToString("null"),BA.ObjectToString(c_cliente.__c.getField(false,"Null"))}))));__ref.setField("_s",c_cliente._s); + BA.debugLineNum = 3001;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3002;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(33554432); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString(""),BA.ObjectToString("null"),BA.ObjectToString(c_cliente.__c.getField(false,"Null"))}))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 3003;BA.debugLine="s5.Position = 0"; +Debug.ShouldStop(67108864); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3004;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\") + s5.GetString("; +Debug.ShouldStop(134217728); +_suma = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),BA.numberCast(double.class, _s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))}, "+",1, 0));Debug.locals.put("suma", _suma); + BA.debugLineNum = 3005;BA.debugLine="s.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 3006;BA.debugLine="Else If s3.RowCount = 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3007;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ"; +Debug.ShouldStop(1073741824); +c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_cliente._s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));__ref.setField("_s",c_cliente._s); + BA.debugLineNum = 3008;BA.debugLine="s.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3009;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(1); +_suma = BA.numberCast(float.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))));Debug.locals.put("suma", _suma); + BA.debugLineNum = 3010;BA.debugLine="s.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 3013;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3014;BA.debugLine="Private cbFactura As Int = 0"; +Debug.ShouldStop(32); +_cbfactura = BA.numberCast(int.class, 0);Debug.locals.put("cbFactura", _cbfactura);Debug.locals.put("cbFactura", _cbfactura); + BA.debugLineNum = 3015;BA.debugLine="If CH_FACTURA.Checked Then cbFactura = 1"; +Debug.ShouldStop(64); +if (__ref.getField(false,"_ch_factura" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_cbfactura = BA.numberCast(int.class, 1);Debug.locals.put("cbFactura", _cbfactura);}; + BA.debugLineNum = 3016;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(128); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 3017;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(256); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 3018;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(512); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_FACTURA,PC_ALMACEN,PC_RUTA) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _suma)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(_cbfactura),(c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")))}))))); + BA.debugLineNum = 3019;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(1024); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 3023;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3024;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(32768); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 3025;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(65536); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 3026;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +Debug.ShouldStop(131072); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 3028;BA.debugLine="Try"; +Debug.ShouldStop(524288); +try { BA.debugLineNum = 3029;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (sub"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "),RemoteObject.createImmutable("Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "),RemoteObject.createImmutable(" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "),RemoteObject.createImmutable("Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "),RemoteObject.createImmutable(" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "),RemoteObject.createImmutable(" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))))); + BA.debugLineNum = 3035;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3036;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; +Debug.ShouldStop(134217728); +__ref.setField ("_stay_hh" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HORAS_TOTALES")))),RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "**",0, 0))); + BA.debugLineNum = 3037;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; +Debug.ShouldStop(268435456); +__ref.setField ("_stay_mi" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MINUTOS_TOTALES")))),RemoteObject.createImmutable(60)}, "*",0, 0))); + BA.debugLineNum = 3038;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; +Debug.ShouldStop(536870912); +__ref.setField ("_stay_ss" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SEGUNDOS_TOTALES")))); + BA.debugLineNum = 3039;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(1073741824); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_stay_hh" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_stay_mi" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_stay_ss" /*RemoteObject*/ ))}, "++",2, 0))}))))); + BA.debugLineNum = 3040;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(-2147483648); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_OUT set HSO_FIN = ? ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 3041;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + Debug.CheckDeviceExceptions(); +} + catch (Exception e55) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e55.toString()); BA.debugLineNum = 3043;BA.debugLine="ToastMessageShow(\".\",True)"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(".")),(Object)(c_cliente.__c.getField(true,"True"))); + }; + BA.debugLineNum = 3045;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(16); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 3047;BA.debugLine="Log(BCREDITO)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","053018695",__ref.getField(true,"_bcredito" /*RemoteObject*/ ),0); + BA.debugLineNum = 3061;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardar_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Guardar_LongClick (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3063); +if (RapidSub.canDelegate("guardar_longclick")) { return __ref.runUserSub(false, "c_cliente","guardar_longclick", __ref);} + BA.debugLineNum = 3063;BA.debugLine="Sub Guardar_LongClick"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 3066;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _habilitarbotones(RemoteObject __ref,RemoteObject _dentroderango) throws Exception{ +try { + Debug.PushSubsStack("HabilitarBotones (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1481); +if (RapidSub.canDelegate("habilitarbotones")) { return __ref.runUserSub(false, "c_cliente","habilitarbotones", __ref, _dentroderango);} +RemoteObject _future = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("dentroDeRango", _dentroderango); + BA.debugLineNum = 1481;BA.debugLine="Sub HabilitarBotones(dentroDeRango As Boolean)"; +Debug.ShouldStop(256); + BA.debugLineNum = 1482;BA.debugLine="If dentroDeRango Then"; +Debug.ShouldStop(512); +if (_dentroderango.get().booleanValue()) { + BA.debugLineNum = 1483;BA.debugLine="If Tels.IsInitialized Then"; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 1484;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1485;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1486;BA.debugLine="Tels.Enabled = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1487;BA.debugLine="gest.Enabled = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1488;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(32768); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 1489;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1490;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(131072); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1491;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1492;BA.debugLine="b_preventa2.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1493;BA.debugLine="b_preventa2.Enabled = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 1494;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1495;BA.debugLine="b_preventa2.Enabled = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1496;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + }; + }else { + BA.debugLineNum = 1502;BA.debugLine="If Tels.IsInitialized Then"; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 1503;BA.debugLine="b_preventa2.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b_preventa2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1504;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1505;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + }; + BA.debugLineNum = 1509;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hist_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("HIST_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3076); +if (RapidSub.canDelegate("hist_click")) { return __ref.runUserSub(false, "c_cliente","hist_click", __ref);} + BA.debugLineNum = 3076;BA.debugLine="Sub HIST_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 3077;BA.debugLine="B4XPages.ShowPage(\"historicobat\")"; +Debug.ShouldStop(16); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("historicobat"))); + BA.debugLineNum = 3078;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imageview4_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ImageView4_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7695); +if (RapidSub.canDelegate("imageview4_click")) { return __ref.runUserSub(false, "c_cliente","imageview4_click", __ref);} + BA.debugLineNum = 7695;BA.debugLine="Private Sub ImageView4_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 7696;BA.debugLine="InitializeCamera2"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_initializecamera2" /*void*/ ); + BA.debugLineNum = 7697;BA.debugLine="p_camara.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7698;BA.debugLine="Subs.centraPanel(p_cam,p_camara.Width)"; +Debug.ShouldStop(131072); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_cam" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 7700;BA.debugLine="p_camara.BringToFront"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 7701;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _impresion(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Impresion (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4276); +if (RapidSub.canDelegate("impresion")) { __ref.runUserSub(false, "c_cliente","impresion", __ref); return;} +ResumableSub_Impresion rsub = new ResumableSub_Impresion(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Impresion extends BA.ResumableSub { +public ResumableSub_Impresion(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _elinefeed = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +int _i = 0; +int _e = 0; +int step50; +int limit50; +int step57; +int limit57; +int step71; +int limit71; +int step78; +int limit78; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Impresion (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4276); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 4277;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 4278;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4279;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 4281;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(16777216); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 4282;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(33554432); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 4283;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(67108864); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 4284;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4289;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +Debug.ShouldStop(1); +_elinefeed = RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0d)))),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0a)))));Debug.locals.put("eLINEFEED", _elinefeed);Debug.locals.put("eLINEFEED", _elinefeed); + BA.debugLineNum = 4290;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 4291;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 4292;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(8); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 4294;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 4295;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(64); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 4296;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(128); +if (true) break; + +case 4: +//do while +this.state = 19; +while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 4297;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion"),BA.numberCast(int.class, 1000)); +this.state = 63; +return; +case 63: +//C +this.state = 7; +; + BA.debugLineNum = 4298;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(512); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 4299;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(1024); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 7))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 4300;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(2048); +if (true) break; + +case 13: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 15))) { +this.state = 15; +;}if (true) break; + +case 15: +//C +this.state = 18; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 18: +//C +this.state = 4; +; + if (true) break; + +case 19: +//C +this.state = 38; +; + BA.debugLineNum = 4302;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion"),BA.numberCast(int.class, 500)); +this.state = 64; +return; +case 64: +//C +this.state = 38; +; + BA.debugLineNum = 4303;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(16384); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 4306;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 4307;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(262144); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 4308;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(524288); +if (true) break; + +case 22: +//do while +this.state = 37; +while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 4309;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion"),BA.numberCast(int.class, 1000)); +this.state = 65; +return; +case 65: +//C +this.state = 25; +; + BA.debugLineNum = 4310;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(2097152); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 4311;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(4194304); +if (true) break; + +case 25: +//if +this.state = 30; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { +this.state = 27; +;}if (true) break; + +case 27: +//C +this.state = 30; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 4312;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(8388608); +if (true) break; + +case 31: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 4))) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 36: +//C +this.state = 22; +; + if (true) break; + +case 37: +//C +this.state = 38; +; + BA.debugLineNum = 4314;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion"),BA.numberCast(int.class, 500)); +this.state = 66; +return; +case 66: +//C +this.state = 38; +; + BA.debugLineNum = 4315;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(67108864); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 4318;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(536870912); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 4319;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(1073741824); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 4320;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(-2147483648); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 4337;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("RFC: DRT-110316-9J1"),_elinefeed))); + BA.debugLineNum = 4339;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 4340;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 4341;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 4342;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4343;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4344;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4345;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4347;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre calle1: "),__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4348;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre Calle2: "),__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4350;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------PREVENTA-----------"),_elinefeed))); + BA.debugLineNum = 4353;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA"; +Debug.ShouldStop(1); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU > 0.01 GROUP by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("DUR")})))); + BA.debugLineNum = 4354;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 39: +//if +this.state = 50; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 4355;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(4); +if (true) break; + +case 42: +//for +this.state = 49; +step50 = 1; +limit50 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 67; +if (true) break; + +case 67: +//C +this.state = 49; +if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44; +if (true) break; + +case 68: +//C +this.state = 67; +_i = ((int)(0 + _i + step50)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 4356;BA.debugLine="S.Position=i"; +Debug.ShouldStop(8); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 4358;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 4363;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(1024); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4364;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4365;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(4096); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4367;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 4369;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(65536); +if (true) break; + +case 45: +//for +this.state = 48; +step57 = 1; +limit57 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 69; +if (true) break; + +case 69: +//C +this.state = 48; +if ((step57 > 0 && _e <= limit57) || (step57 < 0 && _e >= limit57)) this.state = 47; +if (true) break; + +case 70: +//C +this.state = 69; +_e = ((int)(0 + _e + step57)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 47: +//C +this.state = 70; + BA.debugLineNum = 4370;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(131072); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 48: +//C +this.state = 68; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 4372;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed))); + BA.debugLineNum = 4373;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(1048576); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 4374;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(2097152); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 4375;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(4194304); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; +if (true) break; + +case 49: +//C +this.state = 50; +Debug.locals.put("i", _i); +; + if (true) break; + +case 50: +//C +this.state = 51; +; + BA.debugLineNum = 4379;BA.debugLine="s.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4380;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4382;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU = 0.01 GROUP by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("DUR")})))); + BA.debugLineNum = 4384;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 51: +//if +this.state = 62; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 53; +}if (true) break; + +case 53: +//C +this.state = 54; + BA.debugLineNum = 4385;BA.debugLine="Printer1.WriteString(\"--------BONIFICACIONES----"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------BONIFICACIONES--------"),_elinefeed))); + BA.debugLineNum = 4386;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(2); +if (true) break; + +case 54: +//for +this.state = 61; +step71 = 1; +limit71 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 71; +if (true) break; + +case 71: +//C +this.state = 61; +if ((step71 > 0 && _i <= limit71) || (step71 < 0 && _i >= limit71)) this.state = 56; +if (true) break; + +case 72: +//C +this.state = 71; +_i = ((int)(0 + _i + step71)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 56: +//C +this.state = 57; + BA.debugLineNum = 4387;BA.debugLine="S.Position=i"; +Debug.ShouldStop(4); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 4389;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 4394;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(512); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4395;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(1024); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4396;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4398;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(8192); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 4400;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(32768); +if (true) break; + +case 57: +//for +this.state = 60; +step78 = 1; +limit78 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 73; +if (true) break; + +case 73: +//C +this.state = 60; +if ((step78 > 0 && _e <= limit78) || (step78 < 0 && _e >= limit78)) this.state = 59; +if (true) break; + +case 74: +//C +this.state = 73; +_e = ((int)(0 + _e + step78)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 59: +//C +this.state = 74; + BA.debugLineNum = 4401;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(65536); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 60: +//C +this.state = 72; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 4403;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed))); + BA.debugLineNum = 4404;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 4405;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(1048576); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 4406;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(2097152); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; +if (true) break; + +case 61: +//C +this.state = 62; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 4409;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 62: +//C +this.state = -1; +; + BA.debugLineNum = 4411;BA.debugLine="s.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4443;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 4444;BA.debugLine="s.Position =0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4448;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & s.Ge"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Preventa: $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))),_elinefeed))); + BA.debugLineNum = 4449;BA.debugLine="s.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4450;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")))); + BA.debugLineNum = 4451;BA.debugLine="C.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4452;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Articulos: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))),_elinefeed))); + BA.debugLineNum = 4453;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4455;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4456;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 4457;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ENTREGA EN :"),_elinefeed))); + BA.debugLineNum = 4458;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4459;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),_elinefeed))); + BA.debugLineNum = 4460;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE FISCAL, SOLO ES-"),_elinefeed))); + BA.debugLineNum = 4461;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),_elinefeed))); + BA.debugLineNum = 4462;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 4463;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4465;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion"),BA.numberCast(int.class, 1000)); +this.state = 75; +return; +case 75: +//C +this.state = -1; +; + BA.debugLineNum = 4466;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 4468;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 4471;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _impresion2(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Impresion2 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4105); +if (RapidSub.canDelegate("impresion2")) { __ref.runUserSub(false, "c_cliente","impresion2", __ref); return;} +ResumableSub_Impresion2 rsub = new ResumableSub_Impresion2(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Impresion2 extends BA.ResumableSub { +public ResumableSub_Impresion2(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _elinefeed = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +int _i = 0; +int _e = 0; +int step50; +int limit50; +int step60; +int limit60; +int step75; +int limit75; +int step85; +int limit85; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Impresion2 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4105); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 4106;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 4107;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4108;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(2048); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 4109;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(4096); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 4111;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16384); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 4112;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(32768); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 4113;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4118;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +Debug.ShouldStop(2097152); +_elinefeed = RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0d)))),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0a)))));Debug.locals.put("eLINEFEED", _elinefeed);Debug.locals.put("eLINEFEED", _elinefeed); + BA.debugLineNum = 4119;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 4120;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 4121;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(16777216); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 4123;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 4124;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(134217728); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 4125;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(268435456); +if (true) break; + +case 4: +//do while +this.state = 19; +while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 4126;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion2"),BA.numberCast(int.class, 1000)); +this.state = 75; +return; +case 75: +//C +this.state = 7; +; + BA.debugLineNum = 4127;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(1073741824); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 4128;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 7))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 4129;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(1); +if (true) break; + +case 13: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 15))) { +this.state = 15; +;}if (true) break; + +case 15: +//C +this.state = 18; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 18: +//C +this.state = 4; +; + if (true) break; + +case 19: +//C +this.state = 38; +; + BA.debugLineNum = 4131;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion2"),BA.numberCast(int.class, 500)); +this.state = 76; +return; +case 76: +//C +this.state = 38; +; + BA.debugLineNum = 4132;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(8); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 4135;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 4136;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(128); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 4137;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(256); +if (true) break; + +case 22: +//do while +this.state = 37; +while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 4138;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion2"),BA.numberCast(int.class, 1000)); +this.state = 77; +return; +case 77: +//C +this.state = 25; +; + BA.debugLineNum = 4139;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(1024); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 4140;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(2048); +if (true) break; + +case 25: +//if +this.state = 30; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { +this.state = 27; +;}if (true) break; + +case 27: +//C +this.state = 30; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 4141;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(4096); +if (true) break; + +case 31: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 4))) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 36: +//C +this.state = 22; +; + if (true) break; + +case 37: +//C +this.state = 38; +; + BA.debugLineNum = 4143;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion2"),BA.numberCast(int.class, 500)); +this.state = 78; +return; +case 78: +//C +this.state = 38; +; + BA.debugLineNum = 4144;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(32768); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 4147;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(262144); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 4148;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(524288); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 4149;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1048576); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 4166;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("RFC: DRT-110316-9J1"),_elinefeed))); + BA.debugLineNum = 4168;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 4169;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 4170;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 4171;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4172;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4173;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4174;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4176;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre calle1: "),__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4177;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre Calle2: "),__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4179;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------PREVENTA-----------"),_elinefeed))); + BA.debugLineNum = 4181;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("DUR")})))); + BA.debugLineNum = 4182;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 39: +//if +this.state = 56; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 4183;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(4194304); +if (true) break; + +case 42: +//for +this.state = 55; +step50 = 1; +limit50 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 79; +if (true) break; + +case 79: +//C +this.state = 55; +if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44; +if (true) break; + +case 80: +//C +this.state = 79; +_i = ((int)(0 + _i + step50)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 4184;BA.debugLine="S.Position=i"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 4185;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +Debug.ShouldStop(16777216); +if (true) break; + +case 45: +//if +this.state = 54; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 47; +}else { +this.state = 49; +}if (true) break; + +case 47: +//C +this.state = 54; + BA.debugLineNum = 4186;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + if (true) break; + +case 49: +//C +this.state = 50; + BA.debugLineNum = 4190;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 4191;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(1073741824); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4192;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4193;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(1); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4195;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(4); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 4197;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(16); +if (true) break; + +case 50: +//for +this.state = 53; +step60 = 1; +limit60 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 81; +if (true) break; + +case 81: +//C +this.state = 53; +if ((step60 > 0 && _e <= limit60) || (step60 < 0 && _e >= limit60)) this.state = 52; +if (true) break; + +case 82: +//C +this.state = 81; +_e = ((int)(0 + _e + step60)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 52: +//C +this.state = 82; + BA.debugLineNum = 4198;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(32); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 53: +//C +this.state = 54; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 4200;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed))); + BA.debugLineNum = 4201;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(256); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 4202;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(512); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 4203;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1024); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 54: +//C +this.state = 80; +; + if (true) break; +if (true) break; + +case 55: +//C +this.state = 56; +Debug.locals.put("i", _i); +; + if (true) break; + +case 56: +//C +this.state = 57; +; + BA.debugLineNum = 4207;BA.debugLine="s.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4208;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4209;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; +Debug.ShouldStop(65536); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")))); + BA.debugLineNum = 4210;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 57: +//if +this.state = 74; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 59; +}if (true) break; + +case 59: +//C +this.state = 60; + BA.debugLineNum = 4211;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------PROMOS------------"),_elinefeed))); + BA.debugLineNum = 4212;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(524288); +if (true) break; + +case 60: +//for +this.state = 73; +step75 = 1; +limit75 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 83; +if (true) break; + +case 83: +//C +this.state = 73; +if ((step75 > 0 && _i <= limit75) || (step75 < 0 && _i >= limit75)) this.state = 62; +if (true) break; + +case 84: +//C +this.state = 83; +_i = ((int)(0 + _i + step75)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 62: +//C +this.state = 63; + BA.debugLineNum = 4213;BA.debugLine="S.Position=i"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 4214;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +Debug.ShouldStop(2097152); +if (true) break; + +case 63: +//if +this.state = 72; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 65; +}else { +this.state = 67; +}if (true) break; + +case 65: +//C +this.state = 72; + BA.debugLineNum = 4215;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + if (true) break; + +case 67: +//C +this.state = 68; + BA.debugLineNum = 4219;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 4220;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4221;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4222;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(536870912); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4224;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 4226;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(2); +if (true) break; + +case 68: +//for +this.state = 71; +step85 = 1; +limit85 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 85; +if (true) break; + +case 85: +//C +this.state = 71; +if ((step85 > 0 && _e <= limit85) || (step85 < 0 && _e >= limit85)) this.state = 70; +if (true) break; + +case 86: +//C +this.state = 85; +_e = ((int)(0 + _e + step85)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 70: +//C +this.state = 86; + BA.debugLineNum = 4227;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(4); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 71: +//C +this.state = 72; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 4229;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed))); + BA.debugLineNum = 4230;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(32); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 4231;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(64); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 4232;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(128); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 72: +//C +this.state = 84; +; + if (true) break; +if (true) break; + +case 73: +//C +this.state = 74; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 4235;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 74: +//C +this.state = -1; +; + BA.debugLineNum = 4237;BA.debugLine="s.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4239;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; +Debug.ShouldStop(16384); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 4240;BA.debugLine="s.Position =0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4244;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Subtotal Preventa: $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))),_elinefeed))); + BA.debugLineNum = 4245;BA.debugLine="s.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4246;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")))); + BA.debugLineNum = 4247;BA.debugLine="C.Position=0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4248;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Articulos: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))),_elinefeed))); + BA.debugLineNum = 4249;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4250;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 4251;BA.debugLine="s.Position =0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4255;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & 150 & eL"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Descuento: $"),RemoteObject.createImmutable(150),_elinefeed))); + BA.debugLineNum = 4256;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & (s.G"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Preventa: $"),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),RemoteObject.createImmutable(150)}, "-",1, 0)),_elinefeed))); + BA.debugLineNum = 4258;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4259;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 4260;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ENTREGA EN :"),_elinefeed))); + BA.debugLineNum = 4261;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4262;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),_elinefeed))); + BA.debugLineNum = 4263;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE FISCAL, SOLO ES-"),_elinefeed))); + BA.debugLineNum = 4264;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),_elinefeed))); + BA.debugLineNum = 4265;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 4266;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4268;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion2"),BA.numberCast(int.class, 1000)); +this.state = 87; +return; +case 87: +//C +this.state = -1; +; + BA.debugLineNum = 4269;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 4271;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 4274;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _impresion3(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Impresion3 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3864); +if (RapidSub.canDelegate("impresion3")) { __ref.runUserSub(false, "c_cliente","impresion3", __ref); return;} +ResumableSub_Impresion3 rsub = new ResumableSub_Impresion3(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Impresion3 extends BA.ResumableSub { +public ResumableSub_Impresion3(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _elinefeed = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +int _i = 0; +int _e = 0; +RemoteObject _descpro = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _subtot = RemoteObject.createImmutable(""); +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int step50; +int limit50; +int step61; +int limit61; +int step74; +int limit74; +int step93; +int limit93; +int step105; +int limit105; +int step122; +int limit122; +int step132; +int limit132; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Impresion3 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3864); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 3865;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 3866;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3867;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 3869;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(268435456); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 3870;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(536870912); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 3871;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1073741824); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 3872;BA.debugLine="c.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3877;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +Debug.ShouldStop(16); +_elinefeed = RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0d)))),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0a)))));Debug.locals.put("eLINEFEED", _elinefeed);Debug.locals.put("eLINEFEED", _elinefeed); + BA.debugLineNum = 3878;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 3879;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3880;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(128); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 3882;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3883;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(1024); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3884;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(2048); +if (true) break; + +case 4: +//do while +this.state = 19; +while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 3885;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion3"),BA.numberCast(int.class, 1000)); +this.state = 99; +return; +case 99: +//C +this.state = 7; +; + BA.debugLineNum = 3886;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(8192); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3887;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(16384); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 7))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 3888;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(32768); +if (true) break; + +case 13: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 15))) { +this.state = 15; +;}if (true) break; + +case 15: +//C +this.state = 18; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 18: +//C +this.state = 4; +; + if (true) break; + +case 19: +//C +this.state = 38; +; + BA.debugLineNum = 3890;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion3"),BA.numberCast(int.class, 500)); +this.state = 100; +return; +case 100: +//C +this.state = 38; +; + BA.debugLineNum = 3891;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(262144); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 3894;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3895;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(4194304); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3896;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(8388608); +if (true) break; + +case 22: +//do while +this.state = 37; +while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 3897;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion3"),BA.numberCast(int.class, 1000)); +this.state = 101; +return; +case 101: +//C +this.state = 25; +; + BA.debugLineNum = 3898;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(33554432); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3899;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(67108864); +if (true) break; + +case 25: +//if +this.state = 30; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { +this.state = 27; +;}if (true) break; + +case 27: +//C +this.state = 30; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 3900;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(134217728); +if (true) break; + +case 31: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 4))) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 36: +//C +this.state = 22; +; + if (true) break; + +case 37: +//C +this.state = 38; +; + BA.debugLineNum = 3902;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion3"),BA.numberCast(int.class, 500)); +this.state = 102; +return; +case 102: +//C +this.state = 38; +; + BA.debugLineNum = 3903;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(1073741824); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 3906;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(2); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3907;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(4); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3908;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(8); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 3925;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("RFC: DRT-110316-9J1"),_elinefeed))); + BA.debugLineNum = 3927;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3928;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3929;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3930;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3931;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3932;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3933;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3935;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre calle1: "),__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3936;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre Calle2: "),__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3938;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------PREVENTA-----------"),_elinefeed))); + BA.debugLineNum = 3940;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +Debug.ShouldStop(8); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))})))); + BA.debugLineNum = 3941;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(16); +if (true) break; + +case 39: +//if +this.state = 76; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 3942;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(32); +if (true) break; + +case 42: +//for +this.state = 75; +step50 = 1; +limit50 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 103; +if (true) break; + +case 103: +//C +this.state = 75; +if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44; +if (true) break; + +case 104: +//C +this.state = 103; +_i = ((int)(0 + _i + step50)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 3943;BA.debugLine="S.Position=i"; +Debug.ShouldStop(64); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3944;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +Debug.ShouldStop(128); +if (true) break; + +case 45: +//if +this.state = 74; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 47; +}else { +this.state = 49; +}if (true) break; + +case 47: +//C +this.state = 74; + BA.debugLineNum = 3945;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + if (true) break; + +case 49: +//C +this.state = 50; + BA.debugLineNum = 3947;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 50: +//if +this.state = 73; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),BA.numberCast(double.class, 0))) { +this.state = 52; +}else +{ BA.debugLineNum = 3962;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))))) { +this.state = 58; +}else +{ BA.debugLineNum = 3983;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))))) { +this.state = 64; +}}} +if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 3948;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3949;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(4096); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3950;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(8192); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3951;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3953;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(65536); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3955;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(262144); +if (true) break; + +case 53: +//for +this.state = 56; +step61 = 1; +limit61 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 105; +if (true) break; + +case 105: +//C +this.state = 56; +if ((step61 > 0 && _e <= limit61) || (step61 < 0 && _e >= limit61)) this.state = 55; +if (true) break; + +case 106: +//C +this.state = 105; +_e = ((int)(0 + _e + step61)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 55: +//C +this.state = 106; + BA.debugLineNum = 3956;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(524288); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 56: +//C +this.state = 73; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3958;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3959;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(4194304); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3960;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(8388608); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3961;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(16777216); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 58: +//C +this.state = 59; + BA.debugLineNum = 3963;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3964;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3965;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3966;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +Debug.ShouldStop(536870912); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3968;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3970;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(2); +if (true) break; + +case 59: +//for +this.state = 62; +step74 = 1; +limit74 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 107; +if (true) break; + +case 107: +//C +this.state = 62; +if ((step74 > 0 && _e <= limit74) || (step74 < 0 && _e >= limit74)) this.state = 61; +if (true) break; + +case 108: +//C +this.state = 107; +_e = ((int)(0 + _e + step74)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 61: +//C +this.state = 108; + BA.debugLineNum = 3971;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(4); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 62: +//C +this.state = 73; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3974;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(32); +_descpro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_descpro = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("') AND INSTR(',' || CAT_PD_TIER || ',' , ',"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(",') > 0 "))))));Debug.locals.put("descpro", _descpro);Debug.locals.put("descpro", _descpro); + BA.debugLineNum = 3975;BA.debugLine="descpro.Position = 0"; +Debug.ShouldStop(64); +_descpro.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3977;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOTREC"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3979;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),RemoteObject.createImmutable("PL $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" Desc.: "),_descpro.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),RemoteObject.createImmutable("%"),_elinefeed,_elinefeed))); + BA.debugLineNum = 3980;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3981;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(4096); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3982;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(8192); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 64: +//C +this.state = 65; + BA.debugLineNum = 3984;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","054067320",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),0); + BA.debugLineNum = 3985;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","054067321",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))),0); + BA.debugLineNum = 3986;BA.debugLine="Log(\"aqui\")"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("LogImpl","054067322",RemoteObject.createImmutable("aqui"),0); + BA.debugLineNum = 3987;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3988;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(524288); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3989;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(1048576); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3990;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +Debug.ShouldStop(2097152); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3992;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(8388608); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3994;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(33554432); +if (true) break; + +case 65: +//for +this.state = 68; +step93 = 1; +limit93 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 109; +if (true) break; + +case 109: +//C +this.state = 68; +if ((step93 > 0 && _e <= limit93) || (step93 < 0 && _e >= limit93)) this.state = 67; +if (true) break; + +case 110: +//C +this.state = 109; +_e = ((int)(0 + _e + step93)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 67: +//C +this.state = 110; + BA.debugLineNum = 3995;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(67108864); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3999;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(1073741824); +_descpro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_descpro = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("') AND INSTR(',' || CAT_PD_TIER || ',' , ',"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(",') > 0 "))))));Debug.locals.put("descpro", _descpro);Debug.locals.put("descpro", _descpro); + BA.debugLineNum = 4000;BA.debugLine="descpro.Position = 0"; +Debug.ShouldStop(-2147483648); +_descpro.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4002;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),RemoteObject.createImmutable(" $"),parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))))}, "*",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 4003;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),RemoteObject.createImmutable("PL $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" Desc.: "),_descpro.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),RemoteObject.createImmutable("%"),_elinefeed,_elinefeed))); + BA.debugLineNum = 4005;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; +Debug.ShouldStop(16); +_subtot = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0));Debug.locals.put("subTot", _subtot);Debug.locals.put("subTot", _subtot); + BA.debugLineNum = 4006;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(32); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4007;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(64); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4008;BA.debugLine="TAMANO = subTot + TAMANO"; +Debug.ShouldStop(128); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _subtot),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 0))); + BA.debugLineNum = 4010;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(512); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 4012;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(2048); +if (true) break; + +case 69: +//for +this.state = 72; +step105 = 1; +limit105 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 111; +if (true) break; + +case 111: +//C +this.state = 72; +if ((step105 > 0 && _e <= limit105) || (step105 < 0 && _e >= limit105)) this.state = 71; +if (true) break; + +case 112: +//C +this.state = 111; +_e = ((int)(0 + _e + step105)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 71: +//C +this.state = 112; + BA.debugLineNum = 4013;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(4096); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 72: +//C +this.state = 73; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 4016;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 4017;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _subtot)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 4020;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 4021;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(1048576); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 4022;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(2097152); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 73: +//C +this.state = 74; +; + if (true) break; + +case 74: +//C +this.state = 104; +; + if (true) break; +if (true) break; + +case 75: +//C +this.state = 76; +Debug.locals.put("i", _i); +; + if (true) break; + +case 76: +//C +this.state = 77; +; + BA.debugLineNum = 4027;BA.debugLine="s.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4028;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4029;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")))); + BA.debugLineNum = 4030;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 77: +//if +this.state = 94; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 79; +}if (true) break; + +case 79: +//C +this.state = 80; + BA.debugLineNum = 4031;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------PROMOS------------"),_elinefeed))); + BA.debugLineNum = 4032;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 80: +//for +this.state = 93; +step122 = 1; +limit122 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 113; +if (true) break; + +case 113: +//C +this.state = 93; +if ((step122 > 0 && _i <= limit122) || (step122 < 0 && _i >= limit122)) this.state = 82; +if (true) break; + +case 114: +//C +this.state = 113; +_i = ((int)(0 + _i + step122)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 82: +//C +this.state = 83; + BA.debugLineNum = 4033;BA.debugLine="S.Position=i"; +Debug.ShouldStop(1); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 4034;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +Debug.ShouldStop(2); +if (true) break; + +case 83: +//if +this.state = 92; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 85; +}else { +this.state = 87; +}if (true) break; + +case 85: +//C +this.state = 92; + BA.debugLineNum = 4035;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + if (true) break; + +case 87: +//C +this.state = 88; + BA.debugLineNum = 4039;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 4040;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(128); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4041;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(256); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4042;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(512); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 4044;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(2048); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 4046;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(8192); +if (true) break; + +case 88: +//for +this.state = 91; +step132 = 1; +limit132 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 115; +if (true) break; + +case 115: +//C +this.state = 91; +if ((step132 > 0 && _e <= limit132) || (step132 < 0 && _e >= limit132)) this.state = 90; +if (true) break; + +case 116: +//C +this.state = 115; +_e = ((int)(0 + _e + step132)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 90: +//C +this.state = 116; + BA.debugLineNum = 4047;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(16384); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 91: +//C +this.state = 92; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 4049;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed))); + BA.debugLineNum = 4050;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 4051;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(262144); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 4052;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(524288); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 92: +//C +this.state = 114; +; + if (true) break; +if (true) break; + +case 93: +//C +this.state = 94; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 4055;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 94: +//C +this.state = 95; +; + BA.debugLineNum = 4057;BA.debugLine="s.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4059;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 4060;BA.debugLine="s.Position =0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4064;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Subtotal Preventa: $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))),_elinefeed))); + BA.debugLineNum = 4067;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")))); + BA.debugLineNum = 4068;BA.debugLine="C.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4069;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Articulos: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))),_elinefeed))); + BA.debugLineNum = 4070;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4071;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(S"; +Debug.ShouldStop(64); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0"))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 4072;BA.debugLine="s3.Position =0"; +Debug.ShouldStop(128); +_s3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4073;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCULO"; +Debug.ShouldStop(256); +__ref.getField(false,"_s2" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0")))); + BA.debugLineNum = 4074;BA.debugLine="S2.Position =0"; +Debug.ShouldStop(512); +__ref.getField(false,"_s2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 4076;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.GetS"; +Debug.ShouldStop(2048); +if (true) break; + +case 95: +//if +this.state = 98; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _s3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),BA.numberCast(double.class, __ref.getField(false,"_s2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "+",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))) { +this.state = 97; +}if (true) break; + +case 97: +//C +this.state = 98; + BA.debugLineNum = 4078;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Descuento: $"),parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed))); + if (true) break; + +case 98: +//C +this.state = -1; +; + BA.debugLineNum = 4085;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Preventa: $"),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed))); + BA.debugLineNum = 4087;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4088;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 4089;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ENTREGA EN :"),_elinefeed))); + BA.debugLineNum = 4090;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 4091;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),_elinefeed))); + BA.debugLineNum = 4092;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE FISCAL, SOLO ES-"),_elinefeed))); + BA.debugLineNum = 4093;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),_elinefeed))); + BA.debugLineNum = 4094;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 4095;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 4097;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion3"),BA.numberCast(int.class, 1000)); +this.state = 117; +return; +case 117: +//C +this.state = -1; +; + BA.debugLineNum = 4098;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 4100;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(8); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 4103;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _impresion4(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Impresion4 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3229); +if (RapidSub.canDelegate("impresion4")) { __ref.runUserSub(false, "c_cliente","impresion4", __ref); return;} +ResumableSub_Impresion4 rsub = new ResumableSub_Impresion4(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Impresion4 extends BA.ResumableSub { +public ResumableSub_Impresion4(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _pedinow = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _elinefeed = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +int _i = 0; +int _e = 0; +RemoteObject _descpro = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _subtot = RemoteObject.createImmutable(""); +RemoteObject _precioprom = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _contadocredito = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _pedifutu = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int step58; +int limit58; +int step68; +int limit68; +int step81; +int limit81; +int step102; +int limit102; +int step114; +int limit114; +int step131; +int limit131; +int step140; +int limit140; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Impresion4 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3229); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 3230;BA.debugLine="Dim pedinow As Cursor = skmt.ExecQuery(\"select *"; +Debug.ShouldStop(536870912); +_pedinow = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pedinow = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '0' "))));Debug.locals.put("pedinow", _pedinow);Debug.locals.put("pedinow", _pedinow); + BA.debugLineNum = 3231;BA.debugLine="If pedinow.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 1: +//if +this.state = 125; +if (RemoteObject.solveBoolean(">",_pedinow.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 3232;BA.debugLine="Mandap"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_mandap" /*RemoteObject*/ ); + BA.debugLineNum = 3234;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 3235;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3236;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 3238;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(32); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 3239;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(64); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 3240;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(128); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 3241;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3246;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +Debug.ShouldStop(8192); +_elinefeed = RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0d)))),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0a)))));Debug.locals.put("eLINEFEED", _elinefeed);Debug.locals.put("eLINEFEED", _elinefeed); + BA.debugLineNum = 3247;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 3248;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3249;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 4: +//if +this.state = 41; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 6; +}else { +this.state = 24; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 3251;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3252;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(524288); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3253;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(1048576); +if (true) break; + +case 7: +//do while +this.state = 22; +while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 9; +if (true) break; +} +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 3254;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion4"),BA.numberCast(int.class, 1000)); +this.state = 130; +return; +case 130: +//C +this.state = 10; +; + BA.debugLineNum = 3255;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(4194304); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3256;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(8388608); +if (true) break; + +case 10: +//if +this.state = 15; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 7))) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 15: +//C +this.state = 16; +; + BA.debugLineNum = 3257;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(16777216); +if (true) break; + +case 16: +//if +this.state = 21; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 15))) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 21: +//C +this.state = 7; +; + if (true) break; + +case 22: +//C +this.state = 41; +; + BA.debugLineNum = 3259;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion4"),BA.numberCast(int.class, 500)); +this.state = 131; +return; +case 131: +//C +this.state = 41; +; + BA.debugLineNum = 3260;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(134217728); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 3263;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3264;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(-2147483648); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3265;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(1); +if (true) break; + +case 25: +//do while +this.state = 40; +while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 27; +if (true) break; +} +if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 3266;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion4"),BA.numberCast(int.class, 1000)); +this.state = 132; +return; +case 132: +//C +this.state = 28; +; + BA.debugLineNum = 3267;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(4); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3268;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(8); +if (true) break; + +case 28: +//if +this.state = 33; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { +this.state = 30; +;}if (true) break; + +case 30: +//C +this.state = 33; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 33: +//C +this.state = 34; +; + BA.debugLineNum = 3269;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(16); +if (true) break; + +case 34: +//if +this.state = 39; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 4))) { +this.state = 36; +;}if (true) break; + +case 36: +//C +this.state = 39; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 39: +//C +this.state = 25; +; + if (true) break; + +case 40: +//C +this.state = 41; +; + BA.debugLineNum = 3271;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion4"),BA.numberCast(int.class, 500)); +this.state = 133; +return; +case 133: +//C +this.state = 41; +; + BA.debugLineNum = 3272;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(128); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 41: +//C +this.state = 42; +; + BA.debugLineNum = 3275;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(1024); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3276;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(2048); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3277;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(4096); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 3293;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Centro de atencion a Clientes Bat"),_elinefeed))); + BA.debugLineNum = 3294;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Telefono: 800 400 5000"),_elinefeed))); + BA.debugLineNum = 3295;BA.debugLine="Printer1.WriteString(eLINEFEED)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(_elinefeed)); + BA.debugLineNum = 3296;BA.debugLine="Printer1.WriteString(eLINEFEED)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(_elinefeed)); + BA.debugLineNum = 3299;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("DISTRIBUIDORA ROCHA TULA PACHUCA"),_elinefeed))); + BA.debugLineNum = 3300;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("RFC: DRT-110316-9J1"),_elinefeed))); + BA.debugLineNum = 3302;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3303;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3304;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3305;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3306;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3307;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3308;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3310;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre calle1: "),__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3311;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre Calle2: "),__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3313;BA.debugLine="Printer1.WriteString(\"--------------------PREVENT"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------------------PREVENTA--------------------"),_elinefeed))); + BA.debugLineNum = 3315;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +Debug.ShouldStop(262144); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))})))); + BA.debugLineNum = 3316;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 42: +//if +this.state = 79; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 44; +}if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 3317;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(1048576); +if (true) break; + +case 45: +//for +this.state = 78; +step58 = 1; +limit58 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 134; +if (true) break; + +case 134: +//C +this.state = 78; +if ((step58 > 0 && _i <= limit58) || (step58 < 0 && _i >= limit58)) this.state = 47; +if (true) break; + +case 135: +//C +this.state = 134; +_i = ((int)(0 + _i + step58)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 47: +//C +this.state = 48; + BA.debugLineNum = 3318;BA.debugLine="S.Position=i"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3319;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +Debug.ShouldStop(4194304); +if (true) break; + +case 48: +//if +this.state = 77; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 50; +}else { +this.state = 52; +}if (true) break; + +case 50: +//C +this.state = 77; + if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 3322;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 53: +//if +this.state = 76; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),BA.numberCast(double.class, 0))) { +this.state = 55; +}else +{ BA.debugLineNum = 3337;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))))) { +this.state = 61; +}else +{ BA.debugLineNum = 3360;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))))) { +this.state = 67; +}}} +if (true) break; + +case 55: +//C +this.state = 56; + BA.debugLineNum = 3323;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3324;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3325;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3326;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(536870912); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3328;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3330;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(2); +if (true) break; + +case 56: +//for +this.state = 59; +step68 = 1; +limit68 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 136; +if (true) break; + +case 136: +//C +this.state = 59; +if ((step68 > 0 && _e <= limit68) || (step68 < 0 && _e >= limit68)) this.state = 58; +if (true) break; + +case 137: +//C +this.state = 136; +_e = ((int)(0 + _e + step68)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 58: +//C +this.state = 137; + BA.debugLineNum = 3331;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(4); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 59: +//C +this.state = 76; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3333;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3334;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(32); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3335;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(64); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3336;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(128); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 61: +//C +this.state = 62; + BA.debugLineNum = 3338;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3339;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(1024); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3340;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3341;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +Debug.ShouldStop(4096); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3343;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3345;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(65536); +if (true) break; + +case 62: +//for +this.state = 65; +step81 = 1; +limit81 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 138; +if (true) break; + +case 138: +//C +this.state = 65; +if ((step81 > 0 && _e <= limit81) || (step81 < 0 && _e >= limit81)) this.state = 64; +if (true) break; + +case 139: +//C +this.state = 138; +_e = ((int)(0 + _e + step81)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 64: +//C +this.state = 139; + BA.debugLineNum = 3346;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(131072); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 65: +//C +this.state = 76; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3349;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(1048576); +_descpro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_descpro = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("') AND INSTR(',' || CAT_PD_TIER || ',' , ',"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(",') > 0 "))))));Debug.locals.put("descpro", _descpro);Debug.locals.put("descpro", _descpro); + BA.debugLineNum = 3350;BA.debugLine="descpro.Position = 0"; +Debug.ShouldStop(2097152); +_descpro.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3352;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOTREC"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3354;BA.debugLine="Log(s.GetString(\"PE_PRONOMBRE\"))"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","053805181",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),0); + BA.debugLineNum = 3355;BA.debugLine="Log(descpro.GetDouble(\"CAT_PD_DESCUENTO\"))"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("LogImpl","053805182",BA.NumberToString(_descpro.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO")))),0); + BA.debugLineNum = 3356;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),RemoteObject.createImmutable("PL $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" Desc.: "),_descpro.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),RemoteObject.createImmutable("%"),_elinefeed,_elinefeed))); + BA.debugLineNum = 3357;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3358;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(536870912); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3359;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1073741824); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 67: +//C +this.state = 68; + BA.debugLineNum = 3361;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("LogImpl","053805188",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),0); + BA.debugLineNum = 3362;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","053805189",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))),0); + BA.debugLineNum = 3363;BA.debugLine="Log(\"aqui\")"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","053805190",RemoteObject.createImmutable("aqui"),0); + BA.debugLineNum = 3364;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3365;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(16); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3366;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(32); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3367;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +Debug.ShouldStop(64); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3369;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(256); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3371;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(1024); +if (true) break; + +case 68: +//for +this.state = 71; +step102 = 1; +limit102 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 140; +if (true) break; + +case 140: +//C +this.state = 71; +if ((step102 > 0 && _e <= limit102) || (step102 < 0 && _e >= limit102)) this.state = 70; +if (true) break; + +case 141: +//C +this.state = 140; +_e = ((int)(0 + _e + step102)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 70: +//C +this.state = 141; + BA.debugLineNum = 3372;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(2048); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 71: +//C +this.state = 72; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3376;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(32768); +_descpro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_descpro = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("') AND INSTR(',' || CAT_PD_TIER || ',' , ',"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(",') > 0 "))))));Debug.locals.put("descpro", _descpro);Debug.locals.put("descpro", _descpro); + BA.debugLineNum = 3377;BA.debugLine="descpro.Position = 0"; +Debug.ShouldStop(65536); +_descpro.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3379;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),RemoteObject.createImmutable(" $"),parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))))}, "*",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3380;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),RemoteObject.createImmutable("PL $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" Desc.: "),_descpro.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),RemoteObject.createImmutable("%"),_elinefeed,_elinefeed))); + BA.debugLineNum = 3382;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; +Debug.ShouldStop(2097152); +_subtot = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0));Debug.locals.put("subTot", _subtot);Debug.locals.put("subTot", _subtot); + BA.debugLineNum = 3383;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(4194304); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3384;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(8388608); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3385;BA.debugLine="TAMANO = subTot + TAMANO"; +Debug.ShouldStop(16777216); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _subtot),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 0))); + BA.debugLineNum = 3387;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(67108864); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3389;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(268435456); +if (true) break; + +case 72: +//for +this.state = 75; +step114 = 1; +limit114 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 142; +if (true) break; + +case 142: +//C +this.state = 75; +if ((step114 > 0 && _e <= limit114) || (step114 < 0 && _e >= limit114)) this.state = 74; +if (true) break; + +case 143: +//C +this.state = 142; +_e = ((int)(0 + _e + step114)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 74: +//C +this.state = 143; + BA.debugLineNum = 3390;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(536870912); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 75: +//C +this.state = 76; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3393;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3394;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _subtot)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3397;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(16); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3398;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(32); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3399;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(64); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 76: +//C +this.state = 77; +; + if (true) break; + +case 77: +//C +this.state = 135; +; + if (true) break; +if (true) break; + +case 78: +//C +this.state = 79; +Debug.locals.put("i", _i); +; + if (true) break; + +case 79: +//C +this.state = 80; +; + BA.debugLineNum = 3404;BA.debugLine="s.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3407;BA.debugLine="totalpromos = 0"; +Debug.ShouldStop(16384); +__ref.setField ("_totalpromos" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 3408;BA.debugLine="totalpromostotal = 0"; +Debug.ShouldStop(32768); +__ref.setField ("_totalpromostotal" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 3409;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; +Debug.ShouldStop(65536); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by PE_CEDIS, PE_COSTOU")))); + BA.debugLineNum = 3410;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 80: +//if +this.state = 110; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 82; +}if (true) break; + +case 82: +//C +this.state = 83; + BA.debugLineNum = 3412;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(524288); +if (true) break; + +case 83: +//for +this.state = 109; +step131 = 1; +limit131 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 144; +if (true) break; + +case 144: +//C +this.state = 109; +if ((step131 > 0 && _i <= limit131) || (step131 < 0 && _i >= limit131)) this.state = 85; +if (true) break; + +case 145: +//C +this.state = 144; +_i = ((int)(0 + _i + step131)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 85: +//C +this.state = 86; + BA.debugLineNum = 3413;BA.debugLine="S.Position=i"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3414;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +Debug.ShouldStop(2097152); +if (true) break; + +case 86: +//if +this.state = 108; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 88; +}else { +this.state = 90; +}if (true) break; + +case 88: +//C +this.state = 108; + if (true) break; + +case 90: +//C +this.state = 91; + BA.debugLineNum = 3419;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3420;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3421;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3422;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(536870912); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3424;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3426;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(2); +if (true) break; + +case 91: +//for +this.state = 94; +step140 = 1; +limit140 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 146; +if (true) break; + +case 146: +//C +this.state = 94; +if ((step140 > 0 && _e <= limit140) || (step140 < 0 && _e >= limit140)) this.state = 93; +if (true) break; + +case 147: +//C +this.state = 146; +_e = ((int)(0 + _e + step140)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 93: +//C +this.state = 147; + BA.debugLineNum = 3427;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(4); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 94: +//C +this.state = 95; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3429;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed))); + BA.debugLineNum = 3432;BA.debugLine="If Subs.traeTipoCliente= 5 Then"; +Debug.ShouldStop(128); +if (true) break; + +case 95: +//if +this.state = 100; +if (RemoteObject.solveBoolean("=",parent._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.numberCast(double.class, 5))) { +this.state = 97; +}else { +this.state = 99; +}if (true) break; + +case 97: +//C +this.state = 100; + BA.debugLineNum = 3433;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec"; +Debug.ShouldStop(256); +_precioprom = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_precioprom = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_LISTAPRECIO AS CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("precioprom", _precioprom);Debug.locals.put("precioprom", _precioprom); + if (true) break; + +case 99: +//C +this.state = 100; + BA.debugLineNum = 3435;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec"; +Debug.ShouldStop(1024); +_precioprom = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_precioprom = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("precioprom", _precioprom);Debug.locals.put("precioprom", _precioprom); + if (true) break; +; + BA.debugLineNum = 3438;BA.debugLine="If precioprom.RowCount > 0 Then"; +Debug.ShouldStop(8192); + +case 100: +//if +this.state = 107; +if (RemoteObject.solveBoolean(">",_precioprom.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 102; +}if (true) break; + +case 102: +//C +this.state = 103; + BA.debugLineNum = 3439;BA.debugLine="precioprom.Position = 0"; +Debug.ShouldStop(16384); +_precioprom.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3440;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","053805267",_precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),0); + BA.debugLineNum = 3441;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","053805268",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 3442;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP"; +Debug.ShouldStop(131072); +if (true) break; + +case 103: +//if +this.state = 106; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))),(Object)(BA.numberCast(int.class, 0.)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))),(Object)(BA.numberCast(int.class, 0.)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))) { +this.state = 105; +}if (true) break; + +case 105: +//C +this.state = 106; + BA.debugLineNum = 3444;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & prec"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),RemoteObject.createImmutable("PL $"),_precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),RemoteObject.createImmutable(" Desc.: "),parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "-",1, 0)),RemoteObject.createImmutable(100)}, "*",0, 0)),BA.numberCast(double.class, _precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0.)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),RemoteObject.createImmutable("%"),_elinefeed,_elinefeed))); + if (true) break; + +case 106: +//C +this.state = 107; +; + if (true) break; + +case 107: +//C +this.state = 108; +; + BA.debugLineNum = 3448;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(8388608); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3449;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(16777216); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3450;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(33554432); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 108: +//C +this.state = 145; +; + if (true) break; +if (true) break; + +case 109: +//C +this.state = 110; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 3453;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 110: +//C +this.state = 111; +; + BA.debugLineNum = 3455;BA.debugLine="s.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3485;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" &"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Subtotal Preventa: $"),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango3" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed))); + BA.debugLineNum = 3486;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango"; +Debug.ShouldStop(536870912); +if (true) break; + +case 111: +//if +this.state = 114; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango3" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))) { +this.state = 113; +}if (true) break; + +case 113: +//C +this.state = 114; + BA.debugLineNum = 3487;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberF"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Descuento: $"),parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango3" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed))); + if (true) break; + +case 114: +//C +this.state = 115; +; + BA.debugLineNum = 3490;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Num"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Preventa: $"),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed))); + BA.debugLineNum = 3491;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 3493;BA.debugLine="Private contadocredito As Cursor = Starter.skmt."; +Debug.ShouldStop(16); +_contadocredito = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_contadocredito = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT BANDERA FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA) ")))));Debug.locals.put("contadocredito", _contadocredito);Debug.locals.put("contadocredito", _contadocredito); + BA.debugLineNum = 3494;BA.debugLine="If contadocredito.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (true) break; + +case 115: +//if +this.state = 124; +if (RemoteObject.solveBoolean(">",_contadocredito.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 117; +}if (true) break; + +case 117: +//C +this.state = 118; + BA.debugLineNum = 3495;BA.debugLine="contadocredito.Position = 0"; +Debug.ShouldStop(64); +_contadocredito.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3496;BA.debugLine="If contadocredito.getstring(\"BANDERA\") = \"1\" Th"; +Debug.ShouldStop(128); +if (true) break; + +case 118: +//if +this.state = 123; +if (RemoteObject.solveBoolean("=",_contadocredito.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BANDERA"))),BA.ObjectToString("1"))) { +this.state = 120; +}else { +this.state = 122; +}if (true) break; + +case 120: +//C +this.state = 123; + BA.debugLineNum = 3497;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CREDI"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tipo de entrega: CREDITO"),_elinefeed))); + if (true) break; + +case 122: +//C +this.state = 123; + BA.debugLineNum = 3499;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CONTA"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tipo de entrega: CONTADO"),_elinefeed))); + if (true) break; + +case 123: +//C +this.state = 124; +; + if (true) break; + +case 124: +//C +this.state = 125; +; + BA.debugLineNum = 3503;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 3504;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------------------------"),_elinefeed))); + BA.debugLineNum = 3505;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ENTREGA EN :"),_elinefeed))); + BA.debugLineNum = 3506;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3507;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------------ESTE TICKET NO ES UN--------------"),_elinefeed))); + BA.debugLineNum = 3508;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISC"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----------COMPROBANTE FISCAL, SOLO ES-----------"),_elinefeed))); + BA.debugLineNum = 3509;BA.debugLine="Printer1.WriteString(\"------------------INFORMAT"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------INFORMATIVO-------------------"),_elinefeed))); + BA.debugLineNum = 3510;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------------------------"),_elinefeed))); + BA.debugLineNum = 3511;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 3513;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion4"),BA.numberCast(int.class, 1000)); +this.state = 148; +return; +case 148: +//C +this.state = 125; +; + BA.debugLineNum = 3514;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3516;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("ProgressDialogHide"); + if (true) break; + +case 125: +//C +this.state = 126; +; + BA.debugLineNum = 3520;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion4"),BA.numberCast(int.class, 1000)); +this.state = 149; +return; +case 149: +//C +this.state = 126; +; + BA.debugLineNum = 3521;BA.debugLine="Dim pedifutu As Cursor = skmt.ExecQuery(\"select *"; +Debug.ShouldStop(1); +_pedifutu = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pedifutu = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '1' "))));Debug.locals.put("pedifutu", _pedifutu);Debug.locals.put("pedifutu", _pedifutu); + BA.debugLineNum = 3522;BA.debugLine="If pedifutu.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 126: +//if +this.state = 129; +if (RemoteObject.solveBoolean(">",_pedifutu.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 128; +}if (true) break; + +case 128: +//C +this.state = 129; + BA.debugLineNum = 3523;BA.debugLine="Impresion5"; +Debug.ShouldStop(4); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_impresion5" /*void*/ ); + if (true) break; + +case 129: +//C +this.state = -1; +; + BA.debugLineNum = 3525;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _impresion5(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Impresion5 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3589); +if (RapidSub.canDelegate("impresion5")) { __ref.runUserSub(false, "c_cliente","impresion5", __ref); return;} +ResumableSub_Impresion5 rsub = new ResumableSub_Impresion5(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Impresion5 extends BA.ResumableSub { +public ResumableSub_Impresion5(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _elinefeed = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +int _i = 0; +int _e = 0; +RemoteObject _descpro = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _subtot = RemoteObject.createImmutable(""); +RemoteObject _precioprom = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int step55; +int limit55; +int step66; +int limit66; +int step79; +int limit79; +int step98; +int limit98; +int step110; +int limit110; +int step125; +int limit125; +int step134; +int limit134; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Impresion5 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3589); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 3590;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 3591;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3592;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(128); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 3594;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(512); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 3595;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1024); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 3596;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(2048); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 3597;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3602;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +Debug.ShouldStop(131072); +_elinefeed = RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0d)))),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0a)))));Debug.locals.put("eLINEFEED", _elinefeed);Debug.locals.put("eLINEFEED", _elinefeed); + BA.debugLineNum = 3603;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 3604;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3605;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 3607;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3608;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(8388608); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3609;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(16777216); +if (true) break; + +case 4: +//do while +this.state = 19; +while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 3610;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion5"),BA.numberCast(int.class, 1000)); +this.state = 107; +return; +case 107: +//C +this.state = 7; +; + BA.debugLineNum = 3611;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(67108864); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3612;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(134217728); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 7))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 3613;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(268435456); +if (true) break; + +case 13: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 15))) { +this.state = 15; +;}if (true) break; + +case 15: +//C +this.state = 18; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 18: +//C +this.state = 4; +; + if (true) break; + +case 19: +//C +this.state = 38; +; + BA.debugLineNum = 3615;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion5"),BA.numberCast(int.class, 500)); +this.state = 108; +return; +case 108: +//C +this.state = 38; +; + BA.debugLineNum = 3616;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 3619;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3620;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(8); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3621;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(16); +if (true) break; + +case 22: +//do while +this.state = 37; +while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 3622;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion5"),BA.numberCast(int.class, 1000)); +this.state = 109; +return; +case 109: +//C +this.state = 25; +; + BA.debugLineNum = 3623;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(64); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3624;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(128); +if (true) break; + +case 25: +//if +this.state = 30; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { +this.state = 27; +;}if (true) break; + +case 27: +//C +this.state = 30; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 3625;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(256); +if (true) break; + +case 31: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 4))) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); +if (true) break; + +case 36: +//C +this.state = 22; +; + if (true) break; + +case 37: +//C +this.state = 38; +; + BA.debugLineNum = 3627;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion5"),BA.numberCast(int.class, 500)); +this.state = 110; +return; +case 110: +//C +this.state = 38; +; + BA.debugLineNum = 3628;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(2048); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 3631;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3632;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(32768); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3633;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(65536); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 3649;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Centro de atencion a Clientes Bat"),_elinefeed))); + BA.debugLineNum = 3650;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Telefono: 800 400 5000"),_elinefeed))); + BA.debugLineNum = 3651;BA.debugLine="Printer1.WriteString(eLINEFEED)"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(_elinefeed)); + BA.debugLineNum = 3652;BA.debugLine="Printer1.WriteString(eLINEFEED)"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(_elinefeed)); + BA.debugLineNum = 3653;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("DISTRIBUIDORA ROCHA TULA PACHUCA"),_elinefeed))); + BA.debugLineNum = 3654;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("RFC: DRT-110316-9J1"),_elinefeed))); + BA.debugLineNum = 3656;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3657;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3658;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 3659;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3660;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3661;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3662;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3664;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre calle1: "),__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3665;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Entre Calle2: "),__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3667;BA.debugLine="Printer1.WriteString(\"--------------PEDIDO PREACO"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------------PEDIDO PREACORDADO----------------"),_elinefeed))); + BA.debugLineNum = 3669;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))})))); + BA.debugLineNum = 3670;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 39: +//if +this.state = 76; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 3671;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(4194304); +if (true) break; + +case 42: +//for +this.state = 75; +step55 = 1; +limit55 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 111; +if (true) break; + +case 111: +//C +this.state = 75; +if ((step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55)) this.state = 44; +if (true) break; + +case 112: +//C +this.state = 111; +_i = ((int)(0 + _i + step55)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 3672;BA.debugLine="S.Position=i"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3673;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +Debug.ShouldStop(16777216); +if (true) break; + +case 45: +//if +this.state = 74; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 47; +}else { +this.state = 49; +}if (true) break; + +case 47: +//C +this.state = 74; + BA.debugLineNum = 3674;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + if (true) break; + +case 49: +//C +this.state = 50; + BA.debugLineNum = 3676;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; +Debug.ShouldStop(134217728); +if (true) break; + +case 50: +//if +this.state = 73; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),BA.numberCast(double.class, 0))) { +this.state = 52; +}else +{ BA.debugLineNum = 3691;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))))) { +this.state = 58; +}else +{ BA.debugLineNum = 3712;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))))) { +this.state = 64; +}}} +if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 3677;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3678;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(536870912); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3679;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(1073741824); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3680;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3682;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(2); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3684;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(8); +if (true) break; + +case 53: +//for +this.state = 56; +step66 = 1; +limit66 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 113; +if (true) break; + +case 113: +//C +this.state = 56; +if ((step66 > 0 && _e <= limit66) || (step66 < 0 && _e >= limit66)) this.state = 55; +if (true) break; + +case 114: +//C +this.state = 113; +_e = ((int)(0 + _e + step66)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 55: +//C +this.state = 114; + BA.debugLineNum = 3685;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(16); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 56: +//C +this.state = 73; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3687;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3688;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(128); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3689;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(256); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3690;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(512); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 58: +//C +this.state = 59; + BA.debugLineNum = 3692;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3693;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(4096); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3694;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(8192); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3695;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3697;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(65536); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3699;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(262144); +if (true) break; + +case 59: +//for +this.state = 62; +step79 = 1; +limit79 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 115; +if (true) break; + +case 115: +//C +this.state = 62; +if ((step79 > 0 && _e <= limit79) || (step79 < 0 && _e >= limit79)) this.state = 61; +if (true) break; + +case 116: +//C +this.state = 115; +_e = ((int)(0 + _e + step79)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 61: +//C +this.state = 116; + BA.debugLineNum = 3700;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(524288); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 62: +//C +this.state = 73; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3703;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(4194304); +_descpro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_descpro = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("') AND INSTR(',' || CAT_PD_TIER || ',' , ',"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(",') > 0 "))))));Debug.locals.put("descpro", _descpro);Debug.locals.put("descpro", _descpro); + BA.debugLineNum = 3704;BA.debugLine="descpro.Position = 0"; +Debug.ShouldStop(8388608); +_descpro.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3706;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOTREC"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3708;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),RemoteObject.createImmutable("PL $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" Desc.: "),_descpro.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),RemoteObject.createImmutable("%"),_elinefeed,_elinefeed))); + BA.debugLineNum = 3709;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3710;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(536870912); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3711;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1073741824); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 64: +//C +this.state = 65; + BA.debugLineNum = 3713;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("LogImpl","053936252",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),0); + BA.debugLineNum = 3714;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","053936253",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))),0); + BA.debugLineNum = 3715;BA.debugLine="Log(\"aqui\")"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","053936254",RemoteObject.createImmutable("aqui"),0); + BA.debugLineNum = 3716;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3717;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(16); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3718;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(32); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3719;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +Debug.ShouldStop(64); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3721;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(256); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3723;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(1024); +if (true) break; + +case 65: +//for +this.state = 68; +step98 = 1; +limit98 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 117; +if (true) break; + +case 117: +//C +this.state = 68; +if ((step98 > 0 && _e <= limit98) || (step98 < 0 && _e >= limit98)) this.state = 67; +if (true) break; + +case 118: +//C +this.state = 117; +_e = ((int)(0 + _e + step98)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 67: +//C +this.state = 118; + BA.debugLineNum = 3724;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(2048); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3728;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(32768); +_descpro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_descpro = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("') AND INSTR(',' || CAT_PD_TIER || ',' , ',"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(",') > 0 "))))));Debug.locals.put("descpro", _descpro);Debug.locals.put("descpro", _descpro); + BA.debugLineNum = 3729;BA.debugLine="descpro.Position = 0"; +Debug.ShouldStop(65536); +_descpro.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3731;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),RemoteObject.createImmutable(" $"),parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))))}, "*",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3732;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),RemoteObject.createImmutable("PL $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" Desc.: "),_descpro.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),RemoteObject.createImmutable("%"),_elinefeed,_elinefeed))); + BA.debugLineNum = 3734;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; +Debug.ShouldStop(2097152); +_subtot = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0));Debug.locals.put("subTot", _subtot);Debug.locals.put("subTot", _subtot); + BA.debugLineNum = 3735;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(4194304); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3736;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +Debug.ShouldStop(8388608); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3737;BA.debugLine="TAMANO = subTot + TAMANO"; +Debug.ShouldStop(16777216); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _subtot),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 0))); + BA.debugLineNum = 3739;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(67108864); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3741;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(268435456); +if (true) break; + +case 69: +//for +this.state = 72; +step110 = 1; +limit110 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 119; +if (true) break; + +case 119: +//C +this.state = 72; +if ((step110 > 0 && _e <= limit110) || (step110 < 0 && _e >= limit110)) this.state = 71; +if (true) break; + +case 120: +//C +this.state = 119; +_e = ((int)(0 + _e + step110)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 71: +//C +this.state = 120; + BA.debugLineNum = 3742;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(536870912); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 72: +//C +this.state = 73; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3745;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3746;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _subtot)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed,_elinefeed))); + BA.debugLineNum = 3749;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(16); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3750;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(32); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3751;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(64); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 73: +//C +this.state = 74; +; + if (true) break; + +case 74: +//C +this.state = 112; +; + if (true) break; +if (true) break; + +case 75: +//C +this.state = 76; +Debug.locals.put("i", _i); +; + if (true) break; + +case 76: +//C +this.state = 77; +; + BA.debugLineNum = 3756;BA.debugLine="s.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3758;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; +Debug.ShouldStop(8192); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by PE_CEDIS, PE_COSTOU")))); + BA.debugLineNum = 3759;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 77: +//if +this.state = 102; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 79; +}if (true) break; + +case 79: +//C +this.state = 80; + BA.debugLineNum = 3761;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(65536); +if (true) break; + +case 80: +//for +this.state = 101; +step125 = 1; +limit125 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 121; +if (true) break; + +case 121: +//C +this.state = 101; +if ((step125 > 0 && _i <= limit125) || (step125 < 0 && _i >= limit125)) this.state = 82; +if (true) break; + +case 122: +//C +this.state = 121; +_i = ((int)(0 + _i + step125)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 82: +//C +this.state = 83; + BA.debugLineNum = 3762;BA.debugLine="S.Position=i"; +Debug.ShouldStop(131072); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3763;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +Debug.ShouldStop(262144); +if (true) break; + +case 83: +//if +this.state = 100; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 85; +}else { +this.state = 87; +}if (true) break; + +case 85: +//C +this.state = 100; + if (true) break; + +case 87: +//C +this.state = 88; + BA.debugLineNum = 3768;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 3769;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +Debug.ShouldStop(16777216); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3770;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +Debug.ShouldStop(33554432); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3771;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +Debug.ShouldStop(67108864); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT"))),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 2))); + BA.debugLineNum = 3773;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(268435456); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 3775;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 88: +//for +this.state = 91; +step134 = 1; +limit134 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 123; +if (true) break; + +case 123: +//C +this.state = 91; +if ((step134 > 0 && _e <= limit134) || (step134 < 0 && _e >= limit134)) this.state = 90; +if (true) break; + +case 124: +//C +this.state = 123; +_e = ((int)(0 + _e + step134)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 90: +//C +this.state = 124; + BA.debugLineNum = 3776;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 91: +//C +this.state = 92; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 3778;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),RemoteObject.createImmutable(" X $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),RemoteObject.createImmutable(" $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))),_elinefeed))); + BA.debugLineNum = 3780;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(8); +_precioprom = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_precioprom = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("precioprom", _precioprom);Debug.locals.put("precioprom", _precioprom); + BA.debugLineNum = 3781;BA.debugLine="If precioprom.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (true) break; + +case 92: +//if +this.state = 99; +if (RemoteObject.solveBoolean(">",_precioprom.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 94; +}if (true) break; + +case 94: +//C +this.state = 95; + BA.debugLineNum = 3782;BA.debugLine="precioprom.Position = 0"; +Debug.ShouldStop(32); +_precioprom.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3783;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("LogImpl","053936322",_precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),0); + BA.debugLineNum = 3784;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("LogImpl","053936323",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 3785;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP"; +Debug.ShouldStop(256); +if (true) break; + +case 95: +//if +this.state = 98; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))),(Object)(BA.numberCast(int.class, 0.)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))),(Object)(BA.numberCast(int.class, 0.)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))) { +this.state = 97; +}if (true) break; + +case 97: +//C +this.state = 98; + BA.debugLineNum = 3787;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & preci"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_blanco" /*RemoteObject*/ ),RemoteObject.createImmutable("PL $"),_precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),RemoteObject.createImmutable(" Desc.: "),parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "-",1, 0)),RemoteObject.createImmutable(100)}, "*",0, 0)),BA.numberCast(double.class, _precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0.)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),RemoteObject.createImmutable("%"),_elinefeed,_elinefeed))); + if (true) break; + +case 98: +//C +this.state = 99; +; + if (true) break; + +case 99: +//C +this.state = 100; +; + BA.debugLineNum = 3791;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3792;BA.debugLine="ESPACIO = 21"; +Debug.ShouldStop(32768); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 21)); + BA.debugLineNum = 3793;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(65536); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 100: +//C +this.state = 122; +; + if (true) break; +if (true) break; + +case 101: +//C +this.state = 102; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 3796;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 102: +//C +this.state = 103; +; + BA.debugLineNum = 3798;BA.debugLine="s.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3829;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & N"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Subtotal Preventa: $"),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango4" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed))); + BA.debugLineNum = 3830;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango4"; +Debug.ShouldStop(2097152); +if (true) break; + +case 103: +//if +this.state = 106; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango4" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))))) { +this.state = 105; +}if (true) break; + +case 105: +//C +this.state = 106; + BA.debugLineNum = 3831;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Descuento: $"),parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango4" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed))); + if (true) break; + +case 106: +//C +this.state = -1; +; + BA.debugLineNum = 3834;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Preventa: $"),parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, parent._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),_elinefeed))); + BA.debugLineNum = 3836;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 3837;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------------------------"),_elinefeed))); + BA.debugLineNum = 3838;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ENTREGA EN :"),_elinefeed))); + BA.debugLineNum = 3839;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 3840;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET N"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------------ESTE TICKET NO ES UN--------------"),_elinefeed))); + BA.debugLineNum = 3841;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISCA"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----------COMPROBANTE FISCAL, SOLO ES-----------"),_elinefeed))); + BA.debugLineNum = 3842;BA.debugLine="Printer1.WriteString(\"------------------INFORMATI"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------INFORMATIVO-------------------"),_elinefeed))); + BA.debugLineNum = 3843;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------------------------"),_elinefeed))); + BA.debugLineNum = 3844;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 3846;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "impresion5"),BA.numberCast(int.class, 1000)); +this.state = 125; +return; +case 125: +//C +this.state = -1; +; + BA.debugLineNum = 3847;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3849;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 3852;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _inicializarlocalizacionmejorada(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("InicializarLocalizacionMejorada (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1511); +if (RapidSub.canDelegate("inicializarlocalizacionmejorada")) { return __ref.runUserSub(false, "c_cliente","inicializarlocalizacionmejorada", __ref);} +RemoteObject _locationmanager = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 1511;BA.debugLine="Sub InicializarLocalizacionMejorada"; +Debug.ShouldStop(64); + BA.debugLineNum = 1513;BA.debugLine="Dim LocationManager As JavaObject"; +Debug.ShouldStop(256); +_locationmanager = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("LocationManager", _locationmanager); + BA.debugLineNum = 1514;BA.debugLine="LocationManager.InitializeStatic(\"android.locatio"; +Debug.ShouldStop(512); +_locationmanager.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.location.LocationManager"))); + BA.debugLineNum = 1516;BA.debugLine="g.Start(0, 0) ' GPS"; +Debug.ShouldStop(2048); +__ref.getField(false,"_g" /*RemoteObject*/ ).runVoidMethodAndSync ("Start",__ref.getField(false, "ba"),(Object)(BA.numberCast(long.class, 0)),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 1518;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _iniciofin(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("iniciofin (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1901); +if (RapidSub.canDelegate("iniciofin")) { return __ref.runUserSub(false, "c_cliente","iniciofin", __ref);} + BA.debugLineNum = 1901;BA.debugLine="Private Sub iniciofin"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1913;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,483); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cliente","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 483;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(4); + BA.debugLineNum = 484;BA.debugLine="Return Me"; +Debug.ShouldStop(8); +if (true) return __ref; + BA.debugLineNum = 485;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _initializecamera2(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("InitializeCamera2 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7704); +if (RapidSub.canDelegate("initializecamera2")) { __ref.runUserSub(false, "c_cliente","initializecamera2", __ref); return;} +ResumableSub_InitializeCamera2 rsub = new ResumableSub_InitializeCamera2(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_InitializeCamera2 extends BA.ResumableSub { +public ResumableSub_InitializeCamera2(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _resultc = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("InitializeCamera2 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7704); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 7705;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(16777216); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_CAMERA"))); + BA.debugLineNum = 7706;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "initializecamera2"), null); +this.state = 7; +return; +case 7: +//C +this.state = 1; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_resultc = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("resultC", _resultc); +; + BA.debugLineNum = 7707;BA.debugLine="If resultC Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 1: +//if +this.state = 6; +if (_resultc.get().booleanValue()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 7708;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_cam" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_frontcamera" /*RemoteObject*/ )),(Object)(__ref),(Object)(RemoteObject.createImmutable("Camera1"))); + BA.debugLineNum = 7709;BA.debugLine="frontCamera = camEx.Front"; +Debug.ShouldStop(268435456); +__ref.setField ("_frontcamera" /*RemoteObject*/ ,__ref.getField(false,"_camex" /*RemoteObject*/ ).getField(true,"_front" /*RemoteObject*/ )); + BA.debugLineNum = 7710;BA.debugLine="Log(\"inicializamos Camara\")"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("LogImpl","063700998",RemoteObject.createImmutable("inicializamos Camara"),0); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 7712;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("No permission Camara!!!")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 7714;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1947); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_cliente","jobdone", __ref, _job);} +RemoteObject _result1 = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _permiso_geopass = RemoteObject.createImmutable(""); +RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); +RemoteObject _cat_cl_foto = null; +RemoteObject _fotomostrar = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fotomostrar1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fotomostrarfinal = null; +RemoteObject _inputstream1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +RemoteObject _bitmap1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +Debug.locals.put("Job", _job); + BA.debugLineNum = 1947;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1948;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { + BA.debugLineNum = 1950;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","051249155",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),c_cliente._subs.runMethod(true,"_parsehttperror" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_job.getField(true,"_errormessage" /*RemoteObject*/ )))),c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + }else { + BA.debugLineNum = 1953;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","051249158",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_cliente.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 1954;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1955;BA.debugLine="Dim result1 As DBResult = reqManager.HandleJob("; +Debug.ShouldStop(4); +_result1 = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result1", _result1);Debug.locals.put("result1", _result1); + BA.debugLineNum = 1956;BA.debugLine="If result1.Tag = \"traeGeoPass\" Then 'query tag"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("traeGeoPass")))) { + BA.debugLineNum = 1957;BA.debugLine="Log(\"SIN REGISTROS \" & result1.Rows.Size)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","051249162",RemoteObject.concat(RemoteObject.createImmutable("SIN REGISTROS "),_result1.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + BA.debugLineNum = 1958;BA.debugLine="If result1.Rows.Size = 0 Then MsgboxAsync(\"Con"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ATENCION"))),__ref.getField(false, "ba"));}; + BA.debugLineNum = 1959;BA.debugLine="For Each records() As Object In result1.Rows"; +Debug.ShouldStop(64); +{ +final RemoteObject group10 = _result1.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen10 = group10.runMethod(true,"getSize").get() +;int index10 = 0; +; +for (; index10 < groupLen10;index10++){ +_records = (group10.runMethod(false,"Get",index10));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1960;BA.debugLine="For Each k As String In result1.Columns.Keys"; +Debug.ShouldStop(128); +{ +final RemoteObject group11 = _result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen11 = group11.runMethod(true,"getSize").get() +;int index11 = 0; +; +for (; index11 < groupLen11;index11++){ +_k = BA.ObjectToString(group11.runMethod(false,"Get",index11));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 1961;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(k"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("LogImpl","051249166",RemoteObject.concat(_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0); + } +}Debug.locals.put("k", _k); +; + BA.debugLineNum = 1963;BA.debugLine="Private permiso_geoPass As String = \"KO\""; +Debug.ShouldStop(1024); +_permiso_geopass = BA.ObjectToString("KO");Debug.locals.put("permiso_geoPass", _permiso_geopass);Debug.locals.put("permiso_geoPass", _permiso_geopass); + BA.debugLineNum = 1964;BA.debugLine="Log($\"|${result1.Columns.Get(\"'OK'\")}|\"$)"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","051249169",(RemoteObject.concat(RemoteObject.createImmutable("|"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("'OK'")))))),RemoteObject.createImmutable("|"))),0); + BA.debugLineNum = 1967;BA.debugLine="permiso_geoPass = result1.Columns.Get(\"'OK'\""; +Debug.ShouldStop(16384); +_permiso_geopass = BA.ObjectToString(_result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("'OK'")))));Debug.locals.put("permiso_geoPass", _permiso_geopass); + BA.debugLineNum = 1969;BA.debugLine="If permiso_geoPass = \"OK\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_permiso_geopass,BA.ObjectToString("OK"))) { + BA.debugLineNum = 1970;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps"; +Debug.ShouldStop(131072); +__ref.setField ("_m_lat" /*RemoteObject*/ ,c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )); + BA.debugLineNum = 1971;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps"; +Debug.ShouldStop(262144); +__ref.setField ("_m_lon" /*RemoteObject*/ ,c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )); + BA.debugLineNum = 1972;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)"; +Debug.ShouldStop(524288); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(c_cliente._starter._ubicacionactual /*RemoteObject*/ )); + BA.debugLineNum = 1973;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update kmt_info3 set CAT_CL_LAT = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )))),RemoteObject.createImmutable("', CAT_CL_LONG = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )))),RemoteObject.createImmutable("' where CAT_CL_CODIGO = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1974;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2097152); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 1975;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 1976;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\""; +Debug.ShouldStop(8388608); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("delete_geoPass_GUNA")); + BA.debugLineNum = 1977;BA.debugLine="cmd.Parameters = Array As Object( Subs.traeA"; +Debug.ShouldStop(16777216); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")))})); + BA.debugLineNum = 1978;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPas"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traeGeoPass")))); + }else { + BA.debugLineNum = 1980;BA.debugLine="MsgboxAsync(\"Contraseña equivocada, por favo"; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ATENCION"))),__ref.getField(false, "ba")); + }; + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 1985;BA.debugLine="If result1.Tag = \"codigoAutorizacion\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("codigoAutorizacion")))) { + BA.debugLineNum = 1986;BA.debugLine="If result1.Rows.Size > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_result1.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1987;BA.debugLine="Log(\"Si hay codigo de autorizaion\")"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","051249192",RemoteObject.createImmutable("Si hay codigo de autorizaion"),0); + BA.debugLineNum = 1988;BA.debugLine="For Each records() As Object In result1.Rows"; +Debug.ShouldStop(8); +{ +final RemoteObject group35 = _result1.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen35 = group35.runMethod(true,"getSize").get() +;int index35 = 0; +; +for (; index35 < groupLen35;index35++){ +_records = (group35.runMethod(false,"Get",index35));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1989;BA.debugLine="For Each k As String In result1.Columns.Keys"; +Debug.ShouldStop(16); +{ +final RemoteObject group36 = _result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen36 = group36.runMethod(true,"getSize").get() +;int index36 = 0; +; +for (; index36 < groupLen36;index36++){ +_k = BA.ObjectToString(group36.runMethod(false,"Get",index36));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 1990;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get("; +Debug.ShouldStop(32); +c_cliente.__c.runVoidMethod ("LogImpl","051249195",RemoteObject.concat(_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1993;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(256); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 1994;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(512); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 1995;BA.debugLine="cmd.Name = \"delete_codigoAutorizacion\""; +Debug.ShouldStop(1024); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("delete_codigoAutorizacion")); + BA.debugLineNum = 1996;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAut"; +Debug.ShouldStop(2048); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_et_codigoautorizacion" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))})); + BA.debugLineNum = 1997;BA.debugLine="reqManager.ExecuteCommand(cmd , \"deleteCodigo"; +Debug.ShouldStop(4096); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("deleteCodigoAutorizacion")))); + BA.debugLineNum = 1998;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; +Debug.ShouldStop(8192); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("YYYY/MM/dd HH:mm:ss")); + BA.debugLineNum = 1999;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 2000;BA.debugLine="cmd.Name = \"update_codigoAutorizacion\""; +Debug.ShouldStop(32768); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_codigoAutorizacion")); + BA.debugLineNum = 2002;BA.debugLine="cmd.Parameters = Array As Object(DateTime.Dat"; +Debug.ShouldStop(131072); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))),(c_cliente._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_et_codigoautorizacion" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))})); + BA.debugLineNum = 2003;BA.debugLine="reqManager.ExecuteCommand(cmd , \"updateCodigo"; +Debug.ShouldStop(262144); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("updateCodigoAutorizacion")))); + BA.debugLineNum = 2004;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket"; +Debug.ShouldStop(524288); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)"))); + BA.debugLineNum = 2005;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2006;BA.debugLine="et_codigoAutorizacion.Text = \"\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_et_codigoautorizacion" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2007;BA.debugLine="teclado.HideKeyboard"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2008;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; +Debug.ShouldStop(8388608); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 2009;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE"; +Debug.ShouldStop(16777216); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 2010;BA.debugLine="ToastMessageShow(\"Listo, ya se puede modifica"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Listo, ya se puede modificar la venta.")),(Object)(c_cliente.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 2012;BA.debugLine="ToastMessageShow(\"El codigo es incorrecto, po"; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El codigo es incorrecto, por favor revise y vuelva a intentar!!")),(Object)(c_cliente.__c.getField(true,"True"))); + }; + }; + BA.debugLineNum = 2015;BA.debugLine="If result1.Tag = \"delete_codigoAutorizacion\" Th"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("delete_codigoAutorizacion")))) { + BA.debugLineNum = 2016;BA.debugLine="Log(\"Codigo Borrado!!\")"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","051249221",RemoteObject.createImmutable("Codigo Borrado!!"),0); + }; + BA.debugLineNum = 2018;BA.debugLine="If result1.Tag = \"updateCodigoAutorizacion\" The"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("updateCodigoAutorizacion")))) { + BA.debugLineNum = 2019;BA.debugLine="Log(\"Codigo Actualizado\")"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","051249224",RemoteObject.createImmutable("Codigo Actualizado"),0); + }; + BA.debugLineNum = 2021;BA.debugLine="If result1.Tag = \"insertEnvioTicketPDF\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("insertEnvioTicketPDF")))) { + BA.debugLineNum = 2022;BA.debugLine="Log(\"Información de ticket enviada a web!!\")"; +Debug.ShouldStop(32); +c_cliente.__c.runVoidMethod ("LogImpl","051249227",RemoteObject.createImmutable("Información de ticket enviada a web!!"),0); + }; + }; + BA.debugLineNum = 2044;BA.debugLine="If result1.Tag = \"kmt_datos_foto\" Then 'query ta"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos_foto")))) { + BA.debugLineNum = 2045;BA.debugLine="For Each records() As Object In result1.Rows"; +Debug.ShouldStop(268435456); +{ +final RemoteObject group72 = _result1.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen72 = group72.runMethod(true,"getSize").get() +;int index72 = 0; +; +for (; index72 < groupLen72;index72++){ +_records = (group72.runMethod(false,"Get",index72));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2046;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(result1.Co"; +Debug.ShouldStop(536870912); +_cat_cl_foto = (_records.getArrayElement(false,BA.numberCast(int.class, _result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto);Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2048;BA.debugLine="Log(\"si paso\")"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","051249253",RemoteObject.createImmutable("si paso"),0); + BA.debugLineNum = 2049;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +Debug.ShouldStop(1); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_cl_foto)}))))); + BA.debugLineNum = 2051;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(4); +_fotomostrar = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fotomostrar = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("fotomostrar", _fotomostrar);Debug.locals.put("fotomostrar", _fotomostrar); + BA.debugLineNum = 2052;BA.debugLine="If fotomostrar.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_fotomostrar.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2053;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.Exec"; +Debug.ShouldStop(16); +_fotomostrar1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fotomostrar1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NULL"))));Debug.locals.put("fotomostrar1", _fotomostrar1);Debug.locals.put("fotomostrar1", _fotomostrar1); + BA.debugLineNum = 2054;BA.debugLine="If fotomostrar1.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_fotomostrar1.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2055;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets"; +Debug.ShouldStop(64); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cliente.__c.runMethod(false,"LoadBitmap",(Object)(c_cliente.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("images.png"))).getObject())); + BA.debugLineNum = 2056;BA.debugLine="Log(\"aqui no hay foto\")"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("LogImpl","051249261",RemoteObject.createImmutable("aqui no hay foto"),0); + }else { + BA.debugLineNum = 2058;BA.debugLine="fotomostrar.Position = 0"; +Debug.ShouldStop(512); +_fotomostrar.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2059;BA.debugLine="Private fotomostrarfinal() As Byte = fotomost"; +Debug.ShouldStop(1024); +_fotomostrarfinal = _fotomostrar.runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("foto")));Debug.locals.put("fotomostrarfinal", _fotomostrarfinal);Debug.locals.put("fotomostrarfinal", _fotomostrarfinal); + BA.debugLineNum = 2060;BA.debugLine="Dim InputStream1 As InputStream"; +Debug.ShouldStop(2048); +_inputstream1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("InputStream1", _inputstream1); + BA.debugLineNum = 2061;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomos"; +Debug.ShouldStop(4096); +_inputstream1.runVoidMethod ("InitializeFromBytesArray",(Object)(_fotomostrarfinal),(Object)(BA.numberCast(int.class, 0)),(Object)(_fotomostrarfinal.getField(true,"length"))); + BA.debugLineNum = 2062;BA.debugLine="Dim Bitmap1 As Bitmap"; +Debug.ShouldStop(8192); +_bitmap1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("Bitmap1", _bitmap1); + BA.debugLineNum = 2063;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; +Debug.ShouldStop(16384); +_bitmap1.runVoidMethod ("Initialize2",(Object)((_inputstream1.getObject()))); + BA.debugLineNum = 2064;BA.debugLine="InputStream1.Close"; +Debug.ShouldStop(32768); +_inputstream1.runVoidMethod ("Close"); + BA.debugLineNum = 2065;BA.debugLine="ImageView4.Bitmap = Bitmap1"; +Debug.ShouldStop(65536); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(_bitmap1.getObject())); + BA.debugLineNum = 2066;BA.debugLine="Log(\"aqui si hay foto\")"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","051249271",RemoteObject.createImmutable("aqui si hay foto"),0); + }; + }; + }; + }; + BA.debugLineNum = 2071;BA.debugLine="Job.Release"; +Debug.ShouldStop(4194304); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 2072;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_atiende_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_atiende_LongClick (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7933); +if (RapidSub.canDelegate("l_atiende_longclick")) { return __ref.runUserSub(false, "c_cliente","l_atiende_longclick", __ref);} + BA.debugLineNum = 7933;BA.debugLine="Private Sub l_atiende_LongClick"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 7934;BA.debugLine="p_atiende.Height = Root.Height"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 7935;BA.debugLine="p_atiende.Width = Root.Width"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 7936;BA.debugLine="p_atiende.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7937;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_chk_e_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_chk_e_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6514); +if (RapidSub.canDelegate("l_chk_e_click")) { return __ref.runUserSub(false, "c_cliente","l_chk_e_click", __ref);} + BA.debugLineNum = 6514;BA.debugLine="Private Sub l_chk_e_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 6516;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_limite_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_limite_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7834); +if (RapidSub.canDelegate("l_limite_click")) { return __ref.runUserSub(false, "c_cliente","l_limite_click", __ref);} +RemoteObject _pagarepen = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _fechainicio = RemoteObject.createImmutable(""); +RemoteObject _ticksinicio = RemoteObject.createImmutable(0L); +RemoteObject _tickshoy = RemoteObject.createImmutable(0L); +RemoteObject _diferenciadias = RemoteObject.createImmutable(0); + BA.debugLineNum = 7834;BA.debugLine="Private Sub l_limite_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 7837;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; +Debug.ShouldStop(268435456); +_pagarepen = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pagarepen = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pagarepen", _pagarepen);Debug.locals.put("pagarepen", _pagarepen); + BA.debugLineNum = 7838;BA.debugLine="If pagarepen.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_pagarepen.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7839;BA.debugLine="Dim cs As CSBuilder"; +Debug.ShouldStop(1073741824); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 7840;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(-2147483648); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 7841;BA.debugLine="p_deuda.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_deuda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7842;BA.debugLine="p_deuda.Width = Root.Width"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_deuda" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 7843;BA.debugLine="p_deuda.Height = Root.Height"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_deuda" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 7845;BA.debugLine="pagarepen.Position = 0"; +Debug.ShouldStop(16); +_pagarepen.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7846;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +Debug.ShouldStop(32); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 7847;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; +Debug.ShouldStop(64); +_fechainicio = _pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA")));Debug.locals.put("FechaInicio", _fechainicio);Debug.locals.put("FechaInicio", _fechainicio); + BA.debugLineNum = 7849;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("LogImpl","064290831",_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA"))),0); + BA.debugLineNum = 7852;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; +Debug.ShouldStop(2048); +_ticksinicio = c_cliente.__c.getField(false,"DateTime").runMethod(true,"DateParse",(Object)(_fechainicio));Debug.locals.put("TicksInicio", _ticksinicio);Debug.locals.put("TicksInicio", _ticksinicio); + BA.debugLineNum = 7853;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; +Debug.ShouldStop(4096); +_tickshoy = c_cliente.__c.getField(false,"DateTime").runMethod(true,"DateParse",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))));Debug.locals.put("TicksHoy", _tickshoy);Debug.locals.put("TicksHoy", _tickshoy); + BA.debugLineNum = 7856;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; +Debug.ShouldStop(32768); +_diferenciadias = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_tickshoy,_ticksinicio}, "-",1, 2)),c_cliente.__c.getField(false,"DateTime").getField(true,"TicksPerDay")}, "/",0, 0));Debug.locals.put("DiferenciaDias", _diferenciadias);Debug.locals.put("DiferenciaDias", _diferenciadias); + BA.debugLineNum = 7859;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","064290841",(RemoteObject.concat(RemoteObject.createImmutable("Días transcurridos: "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_diferenciadias))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 7861;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 7862;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7864;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("k",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { + BA.debugLineNum = 7868;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_deuda" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_cliente.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Monto de la deuda:"),c_cliente.__c.getField(true,"CRLF"),c_cliente.__c.getField(true,"CRLF"))))).runMethod(false,"Pop").runMethod(false,"Size",(Object)(BA.numberCast(int.class, 18))).runMethod(false,"Color",(Object)(c_cliente.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 48)),(Object)(BA.numberCast(int.class, 109)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$ "),_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))))))).runMethod(false,"PopAll").getObject())); + }else +{ BA.debugLineNum = 7869;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASCR"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",_diferenciadias,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1)))) { + BA.debugLineNum = 7871;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_deuda" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_cliente.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Monto de la deuda:"),c_cliente.__c.getField(true,"CRLF"),c_cliente.__c.getField(true,"CRLF"))))).runMethod(false,"Pop").runMethod(false,"Color",(Object)(c_cliente.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 18))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$ "),_pagarepen.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),c_cliente.__c.getField(true,"CRLF"),c_cliente.__c.getField(true,"CRLF"))))).runMethod(false,"Pop").runMethod(false,"Size",(Object)(BA.numberCast(int.class, 14))).runMethod(false,"Color",(Object)(c_cliente.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Dias de atraso:"),c_cliente.__c.getField(true,"CRLF"),c_cliente.__c.getField(true,"CRLF"))))).runMethod(false,"Pop").runMethod(false,"Size",(Object)(BA.numberCast(int.class, 18))).runMethod(false,"Color",(Object)(c_cliente.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.solve(new RemoteObject[] {_diferenciadias,(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_DIASCREDITO"))),RemoteObject.createImmutable(1)}, "+",1, 1))}, "-",1, 1))))).runMethod(false,"PopAll").getObject())); + }} +; + }else { + BA.debugLineNum = 7874;BA.debugLine="p_deuda.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_deuda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7876;BA.debugLine="p_deuda.Width = Root.Width"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_deuda" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 7877;BA.debugLine="p_deuda.Height = Root.Height"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_deuda" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 7879;BA.debugLine="l_deuda.Text = \"No tiene adeudo\""; +Debug.ShouldStop(64); +__ref.getField(false,"_l_deuda" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("No tiene adeudo")); + }; + BA.debugLineNum = 7882;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _la_geo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("LA_GEO_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6727); +if (RapidSub.canDelegate("la_geo_click")) { return __ref.runUserSub(false, "c_cliente","la_geo_click", __ref);} + BA.debugLineNum = 6727;BA.debugLine="Private Sub LA_GEO_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 6728;BA.debugLine="Log(geoCont)"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("LogImpl","061734913",BA.NumberToString(__ref.getField(true,"_geocont" /*RemoteObject*/ )),0); + BA.debugLineNum = 6729;BA.debugLine="If geoCont = 3 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_geocont" /*RemoteObject*/ ),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 6730;BA.debugLine="Subs.centraPanel(p_pideGeoPass, Root.Width)"; +Debug.ShouldStop(512); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_pidegeopass" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 6731;BA.debugLine="geoCont = 0"; +Debug.ShouldStop(1024); +__ref.setField ("_geocont" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 6732;BA.debugLine="If distance > 99 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_distance" /*RemoteObject*/ ),BA.numberCast(long.class, 99))) { + BA.debugLineNum = 6733;BA.debugLine="p_pideGeoPass.BringToFront"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_pidegeopass" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 6734;BA.debugLine="et_geopass.RequestFocus"; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_geopass" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 6735;BA.debugLine="p_pideGeoPass.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_pidegeopass" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }; + }; + BA.debugLineNum = 6738;BA.debugLine="geoCont = geoCont + 1"; +Debug.ShouldStop(131072); +__ref.setField ("_geocont" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_geocont" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 6739;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _la_geo_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("LA_GEO_LongClick (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1940); +if (RapidSub.canDelegate("la_geo_longclick")) { return __ref.runUserSub(false, "c_cliente","la_geo_longclick", __ref);} + BA.debugLineNum = 1940;BA.debugLine="Private Sub LA_GEO_LongClick"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1945;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _la_gps_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("LA_GPS_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1453); +if (RapidSub.canDelegate("la_gps_click")) { return __ref.runUserSub(false, "c_cliente","la_gps_click", __ref);} + BA.debugLineNum = 1453;BA.debugLine="Private Sub LA_GPS_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1455;BA.debugLine="MejorarPrecisionGPS"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_mejorarprecisiongps" /*RemoteObject*/ ); + BA.debugLineNum = 1457;BA.debugLine="ToastMessageShow(\"Mejorando precisión GPS...\", Fa"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Mejorando precisión GPS...")),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 1458;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _label19_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Label19_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7677); +if (RapidSub.canDelegate("label19_click")) { return __ref.runUserSub(false, "c_cliente","label19_click", __ref);} +RemoteObject _numerotel = RemoteObject.createImmutable(""); +RemoteObject _intent1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + BA.debugLineNum = 7677;BA.debugLine="Private Sub Label19_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 7678;BA.debugLine="Dim numeroTel As String = Label19.Text"; +Debug.ShouldStop(536870912); +_numerotel = __ref.getField(false,"_label19" /*RemoteObject*/ ).runMethod(true,"getText");Debug.locals.put("numeroTel", _numerotel);Debug.locals.put("numeroTel", _numerotel); + BA.debugLineNum = 7680;BA.debugLine="numeroTel = numeroTel.Replace(\" \", \"\").Replace(\"-"; +Debug.ShouldStop(-2147483648); +_numerotel = _numerotel.runMethod(true,"replace",(Object)(BA.ObjectToString(" ")),(Object)(RemoteObject.createImmutable(""))).runMethod(true,"replace",(Object)(BA.ObjectToString("-")),(Object)(RemoteObject.createImmutable(""))).runMethod(true,"replace",(Object)(BA.ObjectToString("(")),(Object)(RemoteObject.createImmutable(""))).runMethod(true,"replace",(Object)(BA.ObjectToString(")")),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("numeroTel", _numerotel); + BA.debugLineNum = 7682;BA.debugLine="If numeroTel.Length > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_numerotel.runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7683;BA.debugLine="Dim Intent1 As Intent"; +Debug.ShouldStop(4); +_intent1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("Intent1", _intent1); + BA.debugLineNum = 7684;BA.debugLine="Intent1.Initialize(\"android.intent.action.DIAL\","; +Debug.ShouldStop(8); +_intent1.runVoidMethod ("Initialize",(Object)(BA.ObjectToString("android.intent.action.DIAL")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("tel:"),_numerotel))); + BA.debugLineNum = 7685;BA.debugLine="StartActivity(Intent1)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_intent1.getObject()))); + }else { + BA.debugLineNum = 7687;BA.debugLine="ToastMessageShow(\"Número no válido\", False)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Número no válido")),(Object)(c_cliente.__c.getField(true,"False"))); + }; + BA.debugLineNum = 7690;BA.debugLine="Return True"; +Debug.ShouldStop(512); +if (true) return BA.ObjectToString(c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7691;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _label19_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Label19_LongClick (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7978); +if (RapidSub.canDelegate("label19_longclick")) { return __ref.runUserSub(false, "c_cliente","label19_longclick", __ref);} + BA.debugLineNum = 7978;BA.debugLine="Private Sub Label19_LongClick"; +Debug.ShouldStop(512); + BA.debugLineNum = 7979;BA.debugLine="p_telefono.Height = Root.Height"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_telefono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 7980;BA.debugLine="p_telefono.Width = Root.Width"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_telefono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 7981;BA.debugLine="p_telefono.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_telefono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 7984;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemLongClick (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2074); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_cliente","listview1_itemlongclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 2074;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 2076;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandap(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Mandap (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3527); +if (RapidSub.canDelegate("mandap")) { return __ref.runUserSub(false, "c_cliente","mandap", __ref);} +RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); + BA.debugLineNum = 3527;BA.debugLine="Sub Mandap"; +Debug.ShouldStop(64); + BA.debugLineNum = 3529;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_CE"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")})))); + BA.debugLineNum = 3530;BA.debugLine="Dim d As Cursor=B4XPages.MainPage.skmt.ExecQuery("; +Debug.ShouldStop(512); +_d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_d = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO"))));Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 3531;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3532;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(2048); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3533;BA.debugLine="c.Position=i"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3534;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8192); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 3535;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 3536;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(32768); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 3537;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"P"; +Debug.ShouldStop(65536); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 3538;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(131072); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("ins_pedido")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3541;BA.debugLine="c.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3542;BA.debugLine="d.Position=0"; +Debug.ShouldStop(2097152); +_d.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3545;BA.debugLine="d.Close"; +Debug.ShouldStop(16777216); +_d.runVoidMethod ("Close"); + BA.debugLineNum = 3548;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_RE"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")})))); + BA.debugLineNum = 3549;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUNT"; +Debug.ShouldStop(268435456); +_d = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("d", _d); + BA.debugLineNum = 3550;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3551;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(1073741824); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step19 > 0 && _i <= limit19) || (step19 < 0 && _i >= limit19) ;_i = ((int)(0 + _i + step19)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3552;BA.debugLine="c.Position=i"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3553;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS"))),BA.ObjectToString(""))) { + BA.debugLineNum = 3554;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 3555;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 3556;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(8); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 3557;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(16); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 3558;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(32); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("ins_pedido")))); + }else { + BA.debugLineNum = 3560;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"PE"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))) { + BA.debugLineNum = 3561;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(256); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 3562;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(512); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 3563;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(1024); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 3564;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; +Debug.ShouldStop(2048); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 3565;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +Debug.ShouldStop(4096); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("ins_pedido")))); + }else { + BA.debugLineNum = 3568;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(32768); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 3569;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(65536); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 3570;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(131072); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 3571;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; +Debug.ShouldStop(262144); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 3572;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +Debug.ShouldStop(524288); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("ins_pedido")))); + BA.debugLineNum = 3574;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2097152); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 3575;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 3576;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(8388608); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 3577;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; +Debug.ShouldStop(16777216); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 3578;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +Debug.ShouldStop(33554432); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("ins_pedido")))); + }; + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3583;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3584;BA.debugLine="d.Position=0"; +Debug.ShouldStop(-2147483648); +_d.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3586;BA.debugLine="d.Close"; +Debug.ShouldStop(2); +_d.runVoidMethod ("Close"); + BA.debugLineNum = 3587;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _mandawamsgcredito(RemoteObject __ref,RemoteObject _numtel,RemoteObject _monto) throws Exception{ +try { + Debug.PushSubsStack("mandaWAMsgCredito (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7541); +if (RapidSub.canDelegate("mandawamsgcredito")) { __ref.runUserSub(false, "c_cliente","mandawamsgcredito", __ref, _numtel, _monto); return;} +ResumableSub_mandaWAMsgCredito rsub = new ResumableSub_mandaWAMsgCredito(null,__ref,_numtel,_monto); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_mandaWAMsgCredito extends BA.ResumableSub { +public ResumableSub_mandaWAMsgCredito(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref,RemoteObject _numtel,RemoteObject _monto) { +this.parent = parent; +this.__ref = __ref; +this._numtel = _numtel; +this._monto = _monto; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _numtel; +RemoteObject _monto; +RemoteObject _fecha = RemoteObject.createImmutable(""); +RemoteObject _idcliente = RemoteObject.createImmutable(""); +RemoteObject _link = RemoteObject.createImmutable(""); +RemoteObject _eljson = RemoteObject.createImmutable(""); +RemoteObject _job = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("mandaWAMsgCredito (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7541); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("numTel", _numtel); +Debug.locals.put("monto", _monto); + BA.debugLineNum = 7542;BA.debugLine="DateTime.DateFormat=\"MM/dd/yyyy HH:mm:ss\""; +Debug.ShouldStop(2097152); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy HH:mm:ss")); + BA.debugLineNum = 7543;BA.debugLine="Private Fecha As String=DateTime.Date(DateTime.no"; +Debug.ShouldStop(4194304); +_fecha = parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("Fecha", _fecha);Debug.locals.put("Fecha", _fecha); + BA.debugLineNum = 7544;BA.debugLine="numTel = \"521\" & numTel"; +Debug.ShouldStop(8388608); +_numtel = RemoteObject.concat(RemoteObject.createImmutable("521"),_numtel);Debug.locals.put("numTel", _numtel); + BA.debugLineNum = 7545;BA.debugLine="Private numTel As String = \"5215554192439\""; +Debug.ShouldStop(16777216); +_numtel = BA.ObjectToString("5215554192439");Debug.locals.put("numTel", _numtel);Debug.locals.put("numTel", _numtel); + BA.debugLineNum = 7547;BA.debugLine="Private idCliente As String = Subs.traeCliente '\""; +Debug.ShouldStop(67108864); +_idcliente = parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("idCliente", _idcliente);Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 7548;BA.debugLine="Private ruta As String = Subs.traeRuta '\"333\""; +Debug.ShouldStop(134217728); +parent._ruta = parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_ruta",parent._ruta); + BA.debugLineNum = 7549;BA.debugLine="Private ALMACEN As String = Subs.traeAlmacen '\"1\""; +Debug.ShouldStop(268435456); +parent._almacen = parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_almacen",parent._almacen); + BA.debugLineNum = 7552;BA.debugLine="Private link As String = \"http://keymon.net:9000/"; +Debug.ShouldStop(-2147483648); +_link = BA.ObjectToString("http://keymon.net:9000/v1/messages");Debug.locals.put("link", _link);Debug.locals.put("link", _link); + BA.debugLineNum = 7553;BA.debugLine="Private elJSON As String = $\"{ \"number\":\"${numT"; +Debug.ShouldStop(1); +_eljson = (RemoteObject.concat(RemoteObject.createImmutable("{\n"),RemoteObject.createImmutable(" \"number\":\""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_numtel))),RemoteObject.createImmutable("\",\n"),RemoteObject.createImmutable(" \"message\":\"Tu compra de Guna va ser a *crédito* por el monto de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _monto)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"True")))))),RemoteObject.createImmutable("\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)\",\n"),RemoteObject.createImmutable(" \"monto\":\""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_monto))),RemoteObject.createImmutable("\",\n"),RemoteObject.createImmutable(" \"idcliente\":\""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("\",\n"),RemoteObject.createImmutable(" \"almacen\":\""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_almacen" /*RemoteObject*/ )))),RemoteObject.createImmutable("\",\n"),RemoteObject.createImmutable(" \"ruta\": \""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_ruta" /*RemoteObject*/ )))),RemoteObject.createImmutable("\",\n"),RemoteObject.createImmutable(" \"fecha\":\""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fecha))),RemoteObject.createImmutable("\"\n"),RemoteObject.createImmutable(" }")));Debug.locals.put("elJSON", _eljson);Debug.locals.put("elJSON", _eljson); + BA.debugLineNum = 7562;BA.debugLine="Private job As HttpJob"; +Debug.ShouldStop(512); +_job = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("job", _job); + BA.debugLineNum = 7563;BA.debugLine="job.Initialize(\"\", Me)"; +Debug.ShouldStop(1024); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 7564;BA.debugLine="job.PostString(link, elJSON)"; +Debug.ShouldStop(2048); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_poststring" /*RemoteObject*/ ,(Object)(_link),(Object)(_eljson)); + BA.debugLineNum = 7565;BA.debugLine="job.GetRequest.SetContentType(\"application/json\")"; +Debug.ShouldStop(4096); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ ).runVoidMethod ("SetContentType",(Object)(RemoteObject.createImmutable("application/json"))); + BA.debugLineNum = 7566;BA.debugLine="Wait For (job) JobDone(job As HttpJob)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "mandawamsgcredito"), (_job)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_job = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("job", _job); +; + BA.debugLineNum = 7578;BA.debugLine="Log(\"Whatsapp enviado con exito: \" & job.Success)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","063176741",RemoteObject.concat(RemoteObject.createImmutable("Whatsapp enviado con exito: "),_job.getField(true,"_success" /*RemoteObject*/ )),0); + BA.debugLineNum = 7579;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _mejorarprecisiongps(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("MejorarPrecisionGPS (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1376); +if (RapidSub.canDelegate("mejorarprecisiongps")) { return __ref.runUserSub(false, "c_cliente","mejorarprecisiongps", __ref);} +ResumableSub_MejorarPrecisionGPS rsub = new ResumableSub_MejorarPrecisionGPS(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_MejorarPrecisionGPS extends BA.ResumableSub { +public ResumableSub_MejorarPrecisionGPS(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +int _i = 0; +RemoteObject _loc = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +int step2; +int limit2; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("MejorarPrecisionGPS (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1376); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 1384;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP2\")"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP2"))); + BA.debugLineNum = 1386;BA.debugLine="For i = 1 To 10"; +Debug.ShouldStop(512); +if (true) break; + +case 1: +//for +this.state = 12; +step2 = 1; +limit2 = 10; +_i = 1 ; +Debug.locals.put("i", _i); +this.state = 13; +if (true) break; + +case 13: +//C +this.state = 12; +if ((step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2)) this.state = 3; +if (true) break; + +case 14: +//C +this.state = 13; +_i = ((int)(0 + _i + step2)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 1387;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "mejorarprecisiongps"),BA.numberCast(int.class, 1000)); +this.state = 15; +return; +case 15: +//C +this.state = 4; +; + BA.debugLineNum = 1388;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; +Debug.ShouldStop(2048); +if (true) break; + +case 4: +//if +this.state = 11; +if (parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 1389;BA.debugLine="Dim loc As Location = Tracker.FLP.GetLastKnownL"; +Debug.ShouldStop(4096); +_loc = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); +_loc = parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation");Debug.locals.put("loc", _loc);Debug.locals.put("loc", _loc); + BA.debugLineNum = 1390;BA.debugLine="If loc.Accuracy < 25 Then ' Buena precisión"; +Debug.ShouldStop(8192); +if (true) break; + +case 7: +//if +this.state = 10; +if (RemoteObject.solveBoolean("<",_loc.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 25))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 1391;BA.debugLine="Return True"; +Debug.ShouldStop(16384); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;}; + if (true) break; + +case 10: +//C +this.state = 11; +; + if (true) break; + +case 11: +//C +this.state = 14; +; + if (true) break; +if (true) break; + +case 12: +//C +this.state = -1; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 1395;BA.debugLine="Return False ' No se logró buena precisión"; +Debug.ShouldStop(262144); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 1396;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _muestraboton(RemoteObject __ref,RemoteObject _thisbutton,RemoteObject _thetext,RemoteObject _thetag,RemoteObject _left,RemoteObject _top,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("muestraBoton (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6491); +if (RapidSub.canDelegate("muestraboton")) { return __ref.runUserSub(false, "c_cliente","muestraboton", __ref, _thisbutton, _thetext, _thetag, _left, _top, _width, _height);} +Debug.locals.put("thisButton", _thisbutton); +Debug.locals.put("theText", _thetext); +Debug.locals.put("theTag", _thetag); +Debug.locals.put("Left", _left); +Debug.locals.put("Top", _top); +Debug.locals.put("width", _width); +Debug.locals.put("height", _height); + BA.debugLineNum = 6491;BA.debugLine="Sub muestraBoton (thisButton As Button, theText As"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 6492;BA.debugLine="thisButton.Text = theText"; +Debug.ShouldStop(134217728); +_thisbutton.runMethod(true,"setText",BA.ObjectToCharSequence(_thetext)); + BA.debugLineNum = 6493;BA.debugLine="thisButton.Tag = theTag"; +Debug.ShouldStop(268435456); +_thisbutton.runMethod(false,"setTag",(_thetag)); + BA.debugLineNum = 6494;BA.debugLine="thisButton.Left = Left"; +Debug.ShouldStop(536870912); +_thisbutton.runMethod(true,"setLeft",_left); + BA.debugLineNum = 6495;BA.debugLine="thisButton.Top = Top"; +Debug.ShouldStop(1073741824); +_thisbutton.runMethod(true,"setTop",_top); + BA.debugLineNum = 6496;BA.debugLine="thisButton.Width = width"; +Debug.ShouldStop(-2147483648); +_thisbutton.runMethod(true,"setWidth",_width); + BA.debugLineNum = 6497;BA.debugLine="thisButton.Height = height"; +Debug.ShouldStop(1); +_thisbutton.runMethod(true,"setHeight",_height); + BA.debugLineNum = 6498;BA.debugLine="thisButton.Visible = True"; +Debug.ShouldStop(2); +_thisbutton.runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 6499;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _muestrabotoncentrado(RemoteObject __ref,RemoteObject _thisbutton,RemoteObject _thetext,RemoteObject _thetag,RemoteObject _top,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("muestraBotonCentrado (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6502); +if (RapidSub.canDelegate("muestrabotoncentrado")) { return __ref.runUserSub(false, "c_cliente","muestrabotoncentrado", __ref, _thisbutton, _thetext, _thetag, _top, _width, _height);} +RemoteObject _anchopantalla = RemoteObject.createImmutable(0); +Debug.locals.put("thisButton", _thisbutton); +Debug.locals.put("theText", _thetext); +Debug.locals.put("theTag", _thetag); +Debug.locals.put("Top", _top); +Debug.locals.put("width", _width); +Debug.locals.put("height", _height); + BA.debugLineNum = 6502;BA.debugLine="Sub muestraBotonCentrado (thisButton As Button, th"; +Debug.ShouldStop(32); + BA.debugLineNum = 6503;BA.debugLine="Private anchoPantalla As Int"; +Debug.ShouldStop(64); +_anchopantalla = RemoteObject.createImmutable(0);Debug.locals.put("anchoPantalla", _anchopantalla); + BA.debugLineNum = 6504;BA.debugLine="thisButton.Text = theText"; +Debug.ShouldStop(128); +_thisbutton.runMethod(true,"setText",BA.ObjectToCharSequence(_thetext)); + BA.debugLineNum = 6505;BA.debugLine="thisButton.Tag = theTag"; +Debug.ShouldStop(256); +_thisbutton.runMethod(false,"setTag",(_thetag)); + BA.debugLineNum = 6506;BA.debugLine="anchoPantalla = GetDeviceLayoutValues.Width"; +Debug.ShouldStop(512); +_anchopantalla = c_cliente.__c.runMethod(false,"GetDeviceLayoutValues",__ref.getField(false, "ba")).getField(true,"Width");Debug.locals.put("anchoPantalla", _anchopantalla); + BA.debugLineNum = 6507;BA.debugLine="thisButton.Left = (anchoPantalla/2) - (width/2)"; +Debug.ShouldStop(1024); +_thisbutton.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_anchopantalla,RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 6508;BA.debugLine="thisButton.Top = Top"; +Debug.ShouldStop(2048); +_thisbutton.runMethod(true,"setTop",_top); + BA.debugLineNum = 6509;BA.debugLine="thisButton.Width = width"; +Debug.ShouldStop(4096); +_thisbutton.runMethod(true,"setWidth",_width); + BA.debugLineNum = 6510;BA.debugLine="thisButton.Height = height"; +Debug.ShouldStop(8192); +_thisbutton.runMethod(true,"setHeight",_height); + BA.debugLineNum = 6511;BA.debugLine="thisButton.Visible = True"; +Debug.ShouldStop(16384); +_thisbutton.runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 6512;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _muestraencuesta(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("muestraEncuesta (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6411); +if (RapidSub.canDelegate("muestraencuesta")) { return __ref.runUserSub(false, "c_cliente","muestraencuesta", __ref);} + BA.debugLineNum = 6411;BA.debugLine="Sub muestraEncuesta"; +Debug.ShouldStop(1024); + BA.debugLineNum = 6412;BA.debugLine="Log(\"Muestra Encuesta\")"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","060686337",RemoteObject.createImmutable("Muestra Encuesta"),0); + BA.debugLineNum = 6413;BA.debugLine="p_encuesta.Top = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 6414;BA.debugLine="p_encuesta.left = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 6415;BA.debugLine="p_encuesta.Height = GetDeviceLayoutValues.Height"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"setHeight",c_cliente.__c.runMethod(false,"GetDeviceLayoutValues",__ref.getField(false, "ba")).getField(true,"Height")); + BA.debugLineNum = 6416;BA.debugLine="p_encuesta.Width = GetDeviceLayoutValues.Width"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"setWidth",c_cliente.__c.runMethod(false,"GetDeviceLayoutValues",__ref.getField(false, "ba")).getField(true,"Width")); + BA.debugLineNum = 6417;BA.debugLine="p_encuesta.SetVisibleAnimated(200, True)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runVoidMethod ("SetVisibleAnimated",(Object)(BA.numberCast(int.class, 200)),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 6418;BA.debugLine="p_encuesta.Elevation = 90 'ignore"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"setElevation",BA.numberCast(float.class, 90)); + BA.debugLineNum = 6419;BA.debugLine="p_encuesta.BringToFront"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 6422;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _nuevo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("NUEVO_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3072); +if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_cliente","nuevo_click", __ref);} + BA.debugLineNum = 3072;BA.debugLine="Sub NUEVO_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 3073;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +Debug.ShouldStop(1); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente"))); + BA.debugLineNum = 3074;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ocultapanelencuesta(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ocultaPanelEncuesta (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6425); +if (RapidSub.canDelegate("ocultapanelencuesta")) { return __ref.runUserSub(false, "c_cliente","ocultapanelencuesta", __ref);} + BA.debugLineNum = 6425;BA.debugLine="Sub ocultaPanelEncuesta"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 6427;BA.debugLine="b_encuesta_1.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_b_encuesta_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6428;BA.debugLine="b_encuesta_2.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b_encuesta_2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6429;BA.debugLine="b_encuesta_3.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b_encuesta_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6430;BA.debugLine="p_encuesta.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_encuesta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 6433;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _openpdf(RemoteObject __ref,RemoteObject _afile) throws Exception{ +try { + Debug.PushSubsStack("openPDF (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7307); +if (RapidSub.canDelegate("openpdf")) { return __ref.runUserSub(false, "c_cliente","openpdf", __ref, _afile);} +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +Debug.locals.put("afile", _afile); + BA.debugLineNum = 7307;BA.debugLine="private Sub openPDF(afile As String)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 7312;BA.debugLine="Dim in As Intent"; +Debug.ShouldStop(32768); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 7313;BA.debugLine="in.Initialize(in.ACTION_VIEW, \"\")"; +Debug.ShouldStop(65536); +_in.runVoidMethod ("Initialize",(Object)(_in.getField(true,"ACTION_VIEW")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 7314;BA.debugLine="Starter.ffileProvider.SetFileUriAsIntentData(in,"; +Debug.ShouldStop(131072); +c_cliente._starter._ffileprovider /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.fileprovider.class, "_setfileuriasintentdata" /*RemoteObject*/ ,(Object)(_in),(Object)(_afile)); + BA.debugLineNum = 7315;BA.debugLine="in.SetComponent(\"android/com.android.internal.app"; +Debug.ShouldStop(262144); +_in.runVoidMethod ("SetComponent",(Object)(RemoteObject.createImmutable("android/com.android.internal.app.ResolverActivity"))); + BA.debugLineNum = 7316;BA.debugLine="in.SetType(\"application/pdf\")"; +Debug.ShouldStop(524288); +_in.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/pdf"))); + BA.debugLineNum = 7317;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(1048576); +c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject()))); + BA.debugLineNum = 7322;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_atiende_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_atiende_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7974); +if (RapidSub.canDelegate("p_atiende_click")) { return __ref.runUserSub(false, "c_cliente","p_atiende_click", __ref);} + BA.debugLineNum = 7974;BA.debugLine="Private Sub p_atiende_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 7976;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_camara_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_camara_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7782); +if (RapidSub.canDelegate("p_camara_click")) { return __ref.runUserSub(false, "c_cliente","p_camara_click", __ref);} + BA.debugLineNum = 7782;BA.debugLine="Private Sub p_camara_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 7784;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_cliente__click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_cliente__Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7822); +if (RapidSub.canDelegate("p_cliente__click")) { return __ref.runUserSub(false, "c_cliente","p_cliente__click", __ref);} + BA.debugLineNum = 7822;BA.debugLine="Private Sub p_cliente__Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 7824;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_cliente_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_cliente_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4711); +if (RapidSub.canDelegate("p_cliente_click")) { return __ref.runUserSub(false, "c_cliente","p_cliente_click", __ref);} + BA.debugLineNum = 4711;BA.debugLine="Private Sub p_cliente_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 4713;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_comentario_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_comentario_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7585); +if (RapidSub.canDelegate("p_comentario_click")) { return __ref.runUserSub(false, "c_cliente","p_comentario_click", __ref);} + BA.debugLineNum = 7585;BA.debugLine="Private Sub p_comentario_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 7587;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_comentarios_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_comentarios_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7589); +if (RapidSub.canDelegate("p_comentarios_click")) { return __ref.runUserSub(false, "c_cliente","p_comentarios_click", __ref);} + BA.debugLineNum = 7589;BA.debugLine="Private Sub p_comentarios_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 7591;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_deuda_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_deuda_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7888); +if (RapidSub.canDelegate("p_deuda_click")) { return __ref.runUserSub(false, "c_cliente","p_deuda_click", __ref);} + BA.debugLineNum = 7888;BA.debugLine="Private Sub p_deuda_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 7889;BA.debugLine="p_deuda.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_deuda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 7890;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_encuesta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_encuesta_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6526); +if (RapidSub.canDelegate("p_encuesta_click")) { return __ref.runUserSub(false, "c_cliente","p_encuesta_click", __ref);} + BA.debugLineNum = 6526;BA.debugLine="Private Sub p_encuesta_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 6528;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_modulo5_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_modulo5_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5700); +if (RapidSub.canDelegate("p_modulo5_click")) { return __ref.runUserSub(false, "c_cliente","p_modulo5_click", __ref);} + BA.debugLineNum = 5700;BA.debugLine="Private Sub p_modulo5_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 5702;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_pidegeopass_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_pideGeoPass_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1896); +if (RapidSub.canDelegate("p_pidegeopass_click")) { return __ref.runUserSub(false, "c_cliente","p_pidegeopass_click", __ref);} + BA.debugLineNum = 1896;BA.debugLine="Private Sub p_pideGeoPass_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 1898;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_telefono_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_telefono_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,8025); +if (RapidSub.canDelegate("p_telefono_click")) { return __ref.runUserSub(false, "c_cliente","p_telefono_click", __ref);} + BA.debugLineNum = 8025;BA.debugLine="Private Sub p_telefono_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 8027;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_transparenteiniciofin_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_transparenteInicioFin_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6741); +if (RapidSub.canDelegate("p_transparenteiniciofin_click")) { return __ref.runUserSub(false, "c_cliente","p_transparenteiniciofin_click", __ref);} + BA.debugLineNum = 6741;BA.debugLine="Private Sub p_transparenteInicioFin_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 6743;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_transparentepdf_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_transparentePDF_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7505); +if (RapidSub.canDelegate("p_transparentepdf_click")) { return __ref.runUserSub(false, "c_cliente","p_transparentepdf_click", __ref);} + BA.debugLineNum = 7505;BA.debugLine="Private Sub p_transparentePDF_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 7507;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_transparenteticketimpreso_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_transparenteTicketImpreso_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6749); +if (RapidSub.canDelegate("p_transparenteticketimpreso_click")) { return __ref.runUserSub(false, "c_cliente","p_transparenteticketimpreso_click", __ref);} + BA.debugLineNum = 6749;BA.debugLine="Private Sub p_transparenteTicketImpreso_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 6751;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p6_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("p6_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5521); +if (RapidSub.canDelegate("p6_textchanged")) { return __ref.runUserSub(false, "c_cliente","p6_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 5521;BA.debugLine="Private Sub p6_TextChanged (Old As String, New As"; +Debug.ShouldStop(65536); + BA.debugLineNum = 5522;BA.debugLine="If p6.Text.Length > 2 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_p6" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 2))) { + BA.debugLineNum = 5523;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido1\",\"A"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido1")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aviso"))),__ref.getField(false, "ba")); + BA.debugLineNum = 5524;BA.debugLine="p6.Text = \"\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_p6" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 5526;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p7_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("p7_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5530); +if (RapidSub.canDelegate("p7_textchanged")) { return __ref.runUserSub(false, "c_cliente","p7_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 5530;BA.debugLine="Private Sub p7_TextChanged (Old As String, New As"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 5531;BA.debugLine="If p7.Text.Length > 2 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_p7" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 2))) { + BA.debugLineNum = 5532;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido2\",\"A"; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido2")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aviso"))),__ref.getField(false, "ba")); + BA.debugLineNum = 5533;BA.debugLine="p7.Text = \"\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p7" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 5535;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p8_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("p8_TextChanged (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5539); +if (RapidSub.canDelegate("p8_textchanged")) { return __ref.runUserSub(false, "c_cliente","p8_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 5539;BA.debugLine="Private Sub p8_TextChanged (Old As String, New As"; +Debug.ShouldStop(4); + BA.debugLineNum = 5540;BA.debugLine="If p8.Text.Length > 2 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_p8" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 2))) { + BA.debugLineNum = 5542;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido3\",\"A"; +Debug.ShouldStop(32); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido3")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aviso"))),__ref.getField(false, "ba")); + BA.debugLineNum = 5543;BA.debugLine="p8.Text = \"\""; +Debug.ShouldStop(64); +__ref.getField(false,"_p8" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 5545;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _panel10_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Panel10_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6522); +if (RapidSub.canDelegate("panel10_click")) { return __ref.runUserSub(false, "c_cliente","panel10_click", __ref);} + BA.debugLineNum = 6522;BA.debugLine="Private Sub Panel10_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 6524;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _panel4_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Panel4_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5704); +if (RapidSub.canDelegate("panel4_click")) { return __ref.runUserSub(false, "c_cliente","panel4_click", __ref);} + BA.debugLineNum = 5704;BA.debugLine="Private Sub Panel4_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 5706;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _panel5_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Panel5_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4715); +if (RapidSub.canDelegate("panel5_click")) { return __ref.runUserSub(false, "c_cliente","panel5_click", __ref);} + BA.debugLineNum = 4715;BA.debugLine="Private Sub Panel5_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 4717;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pdfgenerar(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("PDFGENERAR (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,6775); +if (RapidSub.canDelegate("pdfgenerar")) { return __ref.runUserSub(false, "c_cliente","pdfgenerar", __ref);} +RemoteObject _pdf = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf"); +RemoteObject _s56 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _s57 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _pagina = RemoteObject.createImmutable(0); +RemoteObject _multiplicador = RemoteObject.createImmutable(0); +int _i = 0; +int _e = 0; +RemoteObject _subtot = RemoteObject.createImmutable(""); +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 6775;BA.debugLine="Private Sub PDFGENERAR"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 6776;BA.debugLine="ESPACIO = 0"; +Debug.ShouldStop(8388608); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 6778;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(33554432); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 6779;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(67108864); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 6780;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(134217728); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 6781;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 6782;BA.debugLine="Dim PDF As cPDF"; +Debug.ShouldStop(536870912); +_pdf = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf");Debug.locals.put("PDF", _pdf); + BA.debugLineNum = 6784;BA.debugLine="PDF.Initialize(\"mm\")"; +Debug.ShouldStop(-2147483648); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mm"))); + BA.debugLineNum = 6786;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _"; +Debug.ShouldStop(2); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sproperty" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_propertyauthor" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("Keymonsoft"))).runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sproperty" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_propertytitle" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("Ticket"))).runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sproperty" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_propertykeywords" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("B4X,PDF,Cross platform"))); + BA.debugLineNum = 6793;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON"; +Debug.ShouldStop(256); +_s56 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s56 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")}))));Debug.locals.put("s56", _s56);Debug.locals.put("s56", _s56); + BA.debugLineNum = 6794;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR"; +Debug.ShouldStop(512); +_s57 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s57 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")}))));Debug.locals.put("s57", _s57);Debug.locals.put("s57", _s57); + BA.debugLineNum = 6796;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +"; +Debug.ShouldStop(2048); +_pagina = BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(18),(RemoteObject.solve(new RemoteObject[] {_s56.runMethod(true,"getRowCount"),RemoteObject.createImmutable(2)}, "*",0, 1)),(RemoteObject.solve(new RemoteObject[] {_s57.runMethod(true,"getRowCount"),RemoteObject.createImmutable(2)}, "*",0, 1))}, "++",2, 1)),RemoteObject.createImmutable((6))}, "*",0, 1)),RemoteObject.createImmutable(25)}, "+",1, 1));Debug.locals.put("pagina", _pagina);Debug.locals.put("pagina", _pagina); + BA.debugLineNum = 6798;BA.debugLine="Dim multiplicador As Int = 0"; +Debug.ShouldStop(8192); +_multiplicador = BA.numberCast(int.class, 0);Debug.locals.put("multiplicador", _multiplicador);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6799;BA.debugLine="PDF.pageAdd(-300,pagina)"; +Debug.ShouldStop(16384); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_pageadd" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, -(double) (0 + 300))),(Object)(_pagina)); + BA.debugLineNum = 6802;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)"; +Debug.ShouldStop(131072); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6804;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1"; +Debug.ShouldStop(524288); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outimage" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getDefaultFolder")),(Object)(BA.ObjectToString("guna-fondo.jpg")),(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,RemoteObject.createImmutable(45)}, "-",1, 0)),(Object)(BA.numberCast(double.class, 45)),(Object)(BA.numberCast(double.class, 0))); + BA.debugLineNum = 6805;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1048576); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6806;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")"; +Debug.ShouldStop(2097152); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("GUNA"))); + BA.debugLineNum = 6807;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4194304); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6808;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &"; +Debug.ShouldStop(8388608); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))); + BA.debugLineNum = 6809;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16777216); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6810;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\""; +Debug.ShouldStop(33554432); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),c_cliente._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))); + BA.debugLineNum = 6811;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(67108864); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6812;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &"; +Debug.ShouldStop(134217728); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 6813;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(268435456); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6814;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:"; +Debug.ShouldStop(536870912); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 6815;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1073741824); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6816;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &"; +Debug.ShouldStop(-2147483648); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 6817;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6818;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \""; +Debug.ShouldStop(2); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 6819;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6820;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; +Debug.ShouldStop(8); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 6821;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6822;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; +Debug.ShouldStop(32); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 6823;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 6824;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 6827;BA.debugLine="If ALMACEN = 88 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(88))) { + BA.debugLineNum = 6829;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; +Debug.ShouldStop(4096); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 6830;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 6831;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16384); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6832;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +Debug.ShouldStop(32768); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("------------------------------------PREVENTA-----------------------------------------"))); + BA.debugLineNum = 6833;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(65536); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6834;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +Debug.ShouldStop(131072); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("Cant. Precio Importe"))); + BA.debugLineNum = 6835;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(262144); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6836;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +Debug.ShouldStop(524288); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 6837;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(1048576); +{ +final int step45 = 1; +final int limit45 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step45 > 0 && _i <= limit45) || (step45 < 0 && _i >= limit45) ;_i = ((int)(0 + _i + step45)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 6838;BA.debugLine="S.Position=i"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 6840;BA.debugLine="If s.GetDouble(\"PE_RECALCULO\") = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 6841;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { + BA.debugLineNum = 6842;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(33554432); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6843;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +Debug.ShouldStop(67108864); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + }else { + BA.debugLineNum = 6845;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; +Debug.ShouldStop(268435456); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 7)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6846;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(536870912); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6847;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +Debug.ShouldStop(1073741824); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + BA.debugLineNum = 6851;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; +Debug.ShouldStop(4); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT")))}, "++",2, 2))); + BA.debugLineNum = 6852;BA.debugLine="ESPACIO = 92"; +Debug.ShouldStop(8); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 92)); + BA.debugLineNum = 6853;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(16); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 6854;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(32); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 6855;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(64); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 6856;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(128); +{ +final int step60 = 1; +final int limit60 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +for (;(step60 > 0 && _e <= limit60) || (step60 < 0 && _e >= limit60) ;_e = ((int)(0 + _e + step60)) ) { +Debug.locals.put("E", _e); + BA.debugLineNum = 6857;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(256); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + } +}Debug.locals.put("E", _e); +; + BA.debugLineNum = 6859;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; +Debug.ShouldStop(1024); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6860;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2048); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6861;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; +Debug.ShouldStop(4096); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))))); + }; + }else +{ BA.debugLineNum = 6866;BA.debugLine="Else if s.GetDouble(\"PE_CANT\") = s.GetDouble("; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))) { + BA.debugLineNum = 6867;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { + BA.debugLineNum = 6868;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(524288); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6869;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +Debug.ShouldStop(1048576); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + }else { + BA.debugLineNum = 6871;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; +Debug.ShouldStop(4194304); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 7)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6872;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(8388608); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6873;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +Debug.ShouldStop(16777216); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + BA.debugLineNum = 6877;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC")))}, "++",2, 2))); + BA.debugLineNum = 6878;BA.debugLine="ESPACIO = 92"; +Debug.ShouldStop(536870912); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 92)); + BA.debugLineNum = 6879;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1073741824); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 6880;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 6881;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(1); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 6882;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(2); +{ +final int step80 = 1; +final int limit80 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +for (;(step80 > 0 && _e <= limit80) || (step80 < 0 && _e >= limit80) ;_e = ((int)(0 + _e + step80)) ) { +Debug.locals.put("E", _e); + BA.debugLineNum = 6883;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(4); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + } +}Debug.locals.put("E", _e); +; + BA.debugLineNum = 6885;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; +Debug.ShouldStop(16); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6886;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(32); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6887;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; +Debug.ShouldStop(64); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOTREC")))))); + }; + }else +{ BA.debugLineNum = 6892;BA.debugLine="Else if s.GetDouble(\"PE_CANT\") <> s.GetDouble"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))) { + BA.debugLineNum = 6895;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { + BA.debugLineNum = 6896;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(32768); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6897;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +Debug.ShouldStop(65536); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + }else { + BA.debugLineNum = 6899;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; +Debug.ShouldStop(262144); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 7)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6900;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(524288); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6901;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +Debug.ShouldStop(1048576); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + BA.debugLineNum = 6902;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; +Debug.ShouldStop(2097152); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOREC"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC")))}, "++",2, 2))); + BA.debugLineNum = 6903;BA.debugLine="ESPACIO = 92"; +Debug.ShouldStop(4194304); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 92)); + BA.debugLineNum = 6904;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(8388608); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 6905;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(16777216); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 6906;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(33554432); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 6907;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(67108864); +{ +final int step100 = 1; +final int limit100 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +for (;(step100 > 0 && _e <= limit100) || (step100 < 0 && _e >= limit100) ;_e = ((int)(0 + _e + step100)) ) { +Debug.locals.put("E", _e); + BA.debugLineNum = 6908;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(134217728); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + } +}Debug.locals.put("E", _e); +; + BA.debugLineNum = 6910;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; +Debug.ShouldStop(536870912); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6911;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1073741824); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6912;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; +Debug.ShouldStop(-2147483648); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO"))))}, "*",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))))); + }; + BA.debugLineNum = 6916;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { + BA.debugLineNum = 6917;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6918;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +Debug.ShouldStop(32); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + }else { + BA.debugLineNum = 6920;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE"; +Debug.ShouldStop(128); +_subtot = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0));Debug.locals.put("subTot", _subtot);Debug.locals.put("subTot", _subtot); + BA.debugLineNum = 6921;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; +Debug.ShouldStop(256); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 7)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6922;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(512); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6923;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +Debug.ShouldStop(1024); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + BA.debugLineNum = 6924;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOTREC")))}, "++",2, 2))); + BA.debugLineNum = 6925;BA.debugLine="ESPACIO = 92"; +Debug.ShouldStop(4096); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 92)); + BA.debugLineNum = 6926;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(8192); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 6927;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 6928;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(32768); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 6929;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(65536); +{ +final int step120 = 1; +final int limit120 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +for (;(step120 > 0 && _e <= limit120) || (step120 < 0 && _e >= limit120) ;_e = ((int)(0 + _e + step120)) ) { +Debug.locals.put("E", _e); + BA.debugLineNum = 6930;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(131072); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + } +}Debug.locals.put("E", _e); +; + BA.debugLineNum = 6932;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; +Debug.ShouldStop(524288); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6933;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1048576); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6934;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, (s.GE"; +Debug.ShouldStop(2097152); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _subtot)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))))); + }; + }}} +; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 6940;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; +Debug.ShouldStop(134217728); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(108),RemoteObject.createImmutable(9),RemoteObject.createImmutable(6)}, "-*",1, 1))),(Object)(RemoteObject.createImmutable(" "))); + }; + BA.debugLineNum = 6942;BA.debugLine="s.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 6945;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; +Debug.ShouldStop(1); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 6946;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 6947;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6948;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +Debug.ShouldStop(8); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("------------------------------------PREVENTA-----------------------------------------"))); + BA.debugLineNum = 6949;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6950;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +Debug.ShouldStop(32); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("Cant. Precio Importe"))); + BA.debugLineNum = 6951;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(64); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6952;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +Debug.ShouldStop(128); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 6953;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(256); +{ +final int step141 = 1; +final int limit141 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step141 > 0 && _i <= limit141) || (step141 < 0 && _i >= limit141) ;_i = ((int)(0 + _i + step141)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 6954;BA.debugLine="S.Position=i"; +Debug.ShouldStop(512); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 6955;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { + BA.debugLineNum = 6956;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2048); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6957;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; +Debug.ShouldStop(4096); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + }else { + BA.debugLineNum = 6959;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla"; +Debug.ShouldStop(16384); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 7)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6960;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(32768); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6961;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; +Debug.ShouldStop(65536); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + BA.debugLineNum = 6965;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_"; +Debug.ShouldStop(1048576); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT")))}, "++",2, 2))); + BA.debugLineNum = 6966;BA.debugLine="ESPACIO = 92"; +Debug.ShouldStop(2097152); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 92)); + BA.debugLineNum = 6967;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(4194304); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 6968;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(8388608); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 6969;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(16777216); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 6970;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(33554432); +{ +final int step155 = 1; +final int limit155 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +for (;(step155 > 0 && _e <= limit155) || (step155 < 0 && _e >= limit155) ;_e = ((int)(0 + _e + step155)) ) { +Debug.locals.put("E", _e); + BA.debugLineNum = 6971;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(67108864); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + } +}Debug.locals.put("E", _e); +; + BA.debugLineNum = 6973;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl"; +Debug.ShouldStop(268435456); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6974;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(536870912); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6975;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS"; +Debug.ShouldStop(1073741824); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 6981;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; +Debug.ShouldStop(16); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(108),RemoteObject.createImmutable(9),RemoteObject.createImmutable(6)}, "-*",1, 1))),(Object)(RemoteObject.createImmutable(" "))); + }; + BA.debugLineNum = 6983;BA.debugLine="s.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 6984;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; +Debug.ShouldStop(128); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 6985;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 6986;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(512); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6987;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +Debug.ShouldStop(1024); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("--------------------------PROMOS PREVENTA-------------------------------------"))); + BA.debugLineNum = 6988;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2048); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6989;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +Debug.ShouldStop(4096); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("Cant. Precio Importe"))); + BA.debugLineNum = 6990;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(8192); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6991;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +Debug.ShouldStop(16384); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 6992;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(32768); +{ +final int step174 = 1; +final int limit174 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step174 > 0 && _i <= limit174) || (step174 < 0 && _i >= limit174) ;_i = ((int)(0 + _i + step174)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 6993;BA.debugLine="S.Position=i"; +Debug.ShouldStop(65536); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 6994;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { + BA.debugLineNum = 6995;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(262144); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 6996;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; +Debug.ShouldStop(524288); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + }else { + BA.debugLineNum = 6998;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla"; +Debug.ShouldStop(2097152); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 7)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 6999;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4194304); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7000;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; +Debug.ShouldStop(8388608); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + BA.debugLineNum = 7001;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; +Debug.ShouldStop(16777216); +c_cliente.__c.runVoidMethod ("LogImpl","062128354",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT")))),c_cliente.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 7002;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magent"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","062128355",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU")))),c_cliente.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 7003;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mag"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("LogImpl","062128356",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT")))),c_cliente.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 7004;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT")))}, "++",2, 2))); + BA.debugLineNum = 7005;BA.debugLine="ESPACIO = 92"; +Debug.ShouldStop(268435456); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 92)); + BA.debugLineNum = 7006;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(536870912); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 7007;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(1073741824); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 7008;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 7009;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(1); +{ +final int step191 = 1; +final int limit191 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +for (;(step191 > 0 && _e <= limit191) || (step191 < 0 && _e >= limit191) ;_e = ((int)(0 + _e + step191)) ) { +Debug.locals.put("E", _e); + BA.debugLineNum = 7010;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(2); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + } +}Debug.locals.put("E", _e); +; + BA.debugLineNum = 7012;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl"; +Debug.ShouldStop(8); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 7013;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7014;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS"; +Debug.ShouldStop(32); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))))); + }; + } +}Debug.locals.put("i", _i); +; + }; + }; + BA.debugLineNum = 7020;BA.debugLine="s.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 7023;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16384); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7024;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(32768); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7025;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(65536); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7026;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; +Debug.ShouldStop(131072); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7035;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TO"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 7036;BA.debugLine="s.Position =0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7037;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(268435456); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7038;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Subtotal p"; +Debug.ShouldStop(536870912); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Subtotal preventa: $"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))))); + BA.debugLineNum = 7040;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 7041;BA.debugLine="C.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7042;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7043;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti"; +Debug.ShouldStop(4); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total articulos preventa: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))); + BA.debugLineNum = 7046;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL("; +Debug.ShouldStop(32); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0"))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 7047;BA.debugLine="s3.Position =0"; +Debug.ShouldStop(64); +_s3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7048;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCUL"; +Debug.ShouldStop(128); +__ref.getField(false,"_s2" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0")))); + BA.debugLineNum = 7049;BA.debugLine="S2.Position =0"; +Debug.ShouldStop(256); +__ref.getField(false,"_s2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7051;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.Get"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("!",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _s3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),BA.numberCast(double.class, __ref.getField(false,"_s2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "+",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))) { + BA.debugLineNum = 7052;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2048); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7053;BA.debugLine="Log(s.GetString(\"TOTAL\") & \"|\" & Subs.calculaTo"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("LogImpl","062128406",RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))),RemoteObject.createImmutable("|"),c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),0); + BA.debugLineNum = 7054;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento"; +Debug.ShouldStop(8192); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Descuento: $"),c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))))); + }; + BA.debugLineNum = 7057;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(65536); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7059;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total Prev"; +Debug.ShouldStop(262144); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Preventa: $"),c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, c_cliente._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))))); + }; + BA.debugLineNum = 7067;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(67108864); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7068;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(134217728); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7069;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(268435456); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7070;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(536870912); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("--------------------------ESTE TICKET NO ES UN ---------------------------"))); + BA.debugLineNum = 7071;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1073741824); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7072;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(-2147483648); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-------------------COMPROBANTE FISCAL, SOLO ES--------------------"))); + BA.debugLineNum = 7073;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7074;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(2); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("---------------------------------INFORMATIVO-----------------------------------"))); + BA.debugLineNum = 7075;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7076;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(8); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7077;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7078;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(32); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7079;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(64); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7080;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(128); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7081;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(256); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7082;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(512); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7083;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1024); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7084;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(2048); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7085;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4096); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7086;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(8192); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7087;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16384); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7088;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(32768); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7098;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\""; +Debug.ShouldStop(33554432); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddmmyyyy")); + BA.debugLineNum = 7099;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(67108864); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 7100;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(134217728); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 7101;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 7102;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\""; +Debug.ShouldStop(536870912); +__ref.setField ("_archivoticketpdf" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ),RemoteObject.createImmutable(".pdf"))); + BA.debugLineNum = 7104;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_savepdf" /*RemoteObject*/ ,(Object)(_pdf),(Object)(__ref.getField(true,"_archivoticketpdf" /*RemoteObject*/ )),(Object)(_pdf.getField(true,"_compressalways" /*RemoteObject*/ ))); + BA.debugLineNum = 7107;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pdfgenerar2(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("PDFGENERAR2 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7109); +if (RapidSub.canDelegate("pdfgenerar2")) { return __ref.runUserSub(false, "c_cliente","pdfgenerar2", __ref);} +RemoteObject _pdf = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf"); +RemoteObject _s56 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _s57 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _pagina = RemoteObject.createImmutable(0); +RemoteObject _multiplicador = RemoteObject.createImmutable(0); +int _i = 0; +int _e = 0; + BA.debugLineNum = 7109;BA.debugLine="Private Sub PDFGENERAR2"; +Debug.ShouldStop(16); + BA.debugLineNum = 7110;BA.debugLine="ESPACIO = 0"; +Debug.ShouldStop(32); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 7111;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(64); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 7112;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(128); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 7113;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(256); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 7114;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(512); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 7115;BA.debugLine="Dim PDF As cPDF"; +Debug.ShouldStop(1024); +_pdf = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf");Debug.locals.put("PDF", _pdf); + BA.debugLineNum = 7117;BA.debugLine="PDF.Initialize(\"mm\")"; +Debug.ShouldStop(4096); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mm"))); + BA.debugLineNum = 7119;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _"; +Debug.ShouldStop(16384); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sproperty" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_propertyauthor" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("Keymonsoft"))).runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sproperty" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_propertytitle" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("Ticket"))).runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sproperty" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_propertykeywords" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("B4X,PDF,Cross platform"))); + BA.debugLineNum = 7124;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON"; +Debug.ShouldStop(524288); +_s56 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s56 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")}))));Debug.locals.put("s56", _s56);Debug.locals.put("s56", _s56); + BA.debugLineNum = 7125;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR"; +Debug.ShouldStop(1048576); +_s57 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s57 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")}))));Debug.locals.put("s57", _s57);Debug.locals.put("s57", _s57); + BA.debugLineNum = 7127;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +"; +Debug.ShouldStop(4194304); +_pagina = BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(18),(RemoteObject.solve(new RemoteObject[] {_s56.runMethod(true,"getRowCount"),RemoteObject.createImmutable(2)}, "*",0, 1)),(RemoteObject.solve(new RemoteObject[] {_s57.runMethod(true,"getRowCount"),RemoteObject.createImmutable(2)}, "*",0, 1))}, "++",2, 1)),RemoteObject.createImmutable((6))}, "*",0, 1)),RemoteObject.createImmutable(12)}, "+",1, 1));Debug.locals.put("pagina", _pagina);Debug.locals.put("pagina", _pagina); + BA.debugLineNum = 7129;BA.debugLine="Dim multiplicador As Int = 0"; +Debug.ShouldStop(16777216); +_multiplicador = BA.numberCast(int.class, 0);Debug.locals.put("multiplicador", _multiplicador);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7130;BA.debugLine="PDF.pageAdd(-300,pagina)"; +Debug.ShouldStop(33554432); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_pageadd" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, -(double) (0 + 300))),(Object)(_pagina)); + BA.debugLineNum = 7133;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)"; +Debug.ShouldStop(268435456); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 7135;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1"; +Debug.ShouldStop(1073741824); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outimage" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getDefaultFolder")),(Object)(BA.ObjectToString("guna-fondo.jpg")),(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,RemoteObject.createImmutable(45)}, "-",1, 0)),(Object)(BA.numberCast(double.class, 45)),(Object)(BA.numberCast(double.class, 0))); + BA.debugLineNum = 7136;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(-2147483648); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7137;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")"; +Debug.ShouldStop(1); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("GUNA"))); + BA.debugLineNum = 7138;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7139;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &"; +Debug.ShouldStop(4); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))); + BA.debugLineNum = 7140;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(8); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7141;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\""; +Debug.ShouldStop(16); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),c_cliente._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))); + BA.debugLineNum = 7142;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(32); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7143;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &"; +Debug.ShouldStop(64); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 7144;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(128); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7145;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:"; +Debug.ShouldStop(256); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 7146;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(512); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7147;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &"; +Debug.ShouldStop(1024); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 7148;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2048); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7149;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \""; +Debug.ShouldStop(4096); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 7150;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(8192); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7151;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; +Debug.ShouldStop(16384); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7152;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(32768); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7153;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; +Debug.ShouldStop(65536); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7154;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 7155;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7156;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +Debug.ShouldStop(524288); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 7157;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7158;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2097152); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7159;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; +Debug.ShouldStop(4194304); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("------------------------------------PREVENTA-----------------------------------------"))); + BA.debugLineNum = 7160;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(8388608); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7161;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +Debug.ShouldStop(16777216); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("Cant. Precio Importe"))); + BA.debugLineNum = 7162;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(33554432); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7163;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; +Debug.ShouldStop(67108864); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7164;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(134217728); +{ +final int step44 = 1; +final int limit44 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step44 > 0 && _i <= limit44) || (step44 < 0 && _i >= limit44) ;_i = ((int)(0 + _i + step44)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 7165;BA.debugLine="S.Position=i"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 7166;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { + BA.debugLineNum = 7167;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1073741824); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7168;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; +Debug.ShouldStop(-2147483648); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + }else { + BA.debugLineNum = 7170;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; +Debug.ShouldStop(2); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 7)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 7171;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7172;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; +Debug.ShouldStop(8); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + BA.debugLineNum = 7176;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; +Debug.ShouldStop(128); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT")))}, "++",2, 2))); + BA.debugLineNum = 7177;BA.debugLine="ESPACIO = 92"; +Debug.ShouldStop(256); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 92)); + BA.debugLineNum = 7178;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(512); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 7179;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(1024); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 7180;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(2048); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 7181;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(4096); +{ +final int step58 = 1; +final int limit58 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +for (;(step58 > 0 && _e <= limit58) || (step58 < 0 && _e >= limit58) ;_e = ((int)(0 + _e + step58)) ) { +Debug.locals.put("E", _e); + BA.debugLineNum = 7182;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(8192); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + } +}Debug.locals.put("E", _e); +; + BA.debugLineNum = 7184;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; +Debug.ShouldStop(32768); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 7185;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(65536); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7186;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; +Debug.ShouldStop(131072); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 7192;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; +Debug.ShouldStop(8388608); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(108),RemoteObject.createImmutable(9),RemoteObject.createImmutable(6)}, "-*",1, 1))),(Object)(RemoteObject.createImmutable(" "))); + }; + BA.debugLineNum = 7194;BA.debugLine="s.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 7195;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 7196;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 7197;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(268435456); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7198;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; +Debug.ShouldStop(536870912); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("--------------------------PROMOS PREVENTA-------------------------------------"))); + BA.debugLineNum = 7199;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1073741824); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7200;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +Debug.ShouldStop(-2147483648); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("Cant. Precio Importe"))); + BA.debugLineNum = 7201;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7202;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; +Debug.ShouldStop(2); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7203;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(4); +{ +final int step77 = 1; +final int limit77 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step77 > 0 && _i <= limit77) || (step77 < 0 && _i >= limit77) ;_i = ((int)(0 + _i + step77)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 7204;BA.debugLine="S.Position=i"; +Debug.ShouldStop(8); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 7205;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { + BA.debugLineNum = 7206;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(32); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7207;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; +Debug.ShouldStop(64); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + }else { + BA.debugLineNum = 7209;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; +Debug.ShouldStop(256); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 7)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 7210;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(512); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7211;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; +Debug.ShouldStop(1024); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))))); + BA.debugLineNum = 7212;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","062193767",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT")))),c_cliente.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 7213;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("LogImpl","062193768",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU")))),c_cliente.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 7214;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","062193769",BA.NumberToString(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT")))),c_cliente.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 7215;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTOU"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_COSTO_TOT")))}, "++",2, 2))); + BA.debugLineNum = 7216;BA.debugLine="ESPACIO = 92"; +Debug.ShouldStop(32768); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 92)); + BA.debugLineNum = 7217;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(65536); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 7218;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(131072); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 7219;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(262144); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 7220;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(524288); +{ +final int step94 = 1; +final int limit94 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +for (;(step94 > 0 && _e <= limit94) || (step94 < 0 && _e >= limit94) ;_e = ((int)(0 + _e + step94)) ) { +Debug.locals.put("E", _e); + BA.debugLineNum = 7221;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(1048576); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + } +}Debug.locals.put("E", _e); +; + BA.debugLineNum = 7223;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; +Debug.ShouldStop(4194304); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(_pdf.getField(true,"_fonthelvetica" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(double.class, 10)),(Object)(_pdf.getField(false,"_colorblack" /*RemoteObject*/ ))); + BA.debugLineNum = 7224;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(8388608); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7225;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; +Debug.ShouldStop(16777216); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))))); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 7229;BA.debugLine="s.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 7232;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(-2147483648); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7233;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(1); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7234;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(2); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7235;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; +Debug.ShouldStop(4); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7236;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; +Debug.ShouldStop(8); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 7237;BA.debugLine="s.Position =0"; +Debug.ShouldStop(16); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7240;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(128); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7241;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento:"; +Debug.ShouldStop(256); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Descuento: $"),RemoteObject.createImmutable(150)))); + BA.debugLineNum = 7242;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(512); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7243;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total prev"; +Debug.ShouldStop(1024); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total preventa: $"),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),RemoteObject.createImmutable(150)}, "-",1, 0))))); + BA.debugLineNum = 7244;BA.debugLine="s.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 7245;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 7246;BA.debugLine="C.Position=0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 7247;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16384); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7248;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti"; +Debug.ShouldStop(32768); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total articulos preventa: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))); + BA.debugLineNum = 7249;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 7253;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1048576); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7254;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(2097152); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7255;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4194304); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7256;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(8388608); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("--------------------------ESTE TICKET NO ES UN ---------------------------"))); + BA.debugLineNum = 7257;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16777216); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7258;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(33554432); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-------------------COMPROBANTE FISCAL, SOLO ES--------------------"))); + BA.debugLineNum = 7259;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(67108864); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7260;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(134217728); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("---------------------------------INFORMATIVO-----------------------------------"))); + BA.debugLineNum = 7261;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(268435456); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7262;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(536870912); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7263;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1073741824); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7264;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(-2147483648); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7265;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(1); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7266;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(2); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7267;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(4); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7268;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(8); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7269;BA.debugLine="multiplicador = multiplicador +1"; +Debug.ShouldStop(16); +_multiplicador = RemoteObject.solve(new RemoteObject[] {_multiplicador,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("multiplicador", _multiplicador); + BA.debugLineNum = 7270;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +Debug.ShouldStop(32); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable(" "))); + BA.debugLineNum = 7272;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +Debug.ShouldStop(128); +_pdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pagina,_multiplicador,RemoteObject.createImmutable(6)}, "-*",1, 0)),(Object)(RemoteObject.createImmutable("-----------------------------------------------------------------------------------------"))); + BA.debugLineNum = 7280;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\""; +Debug.ShouldStop(32768); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddmmyyyy")); + BA.debugLineNum = 7281;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(65536); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 7282;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(131072); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 7283;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(262144); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 7284;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\""; +Debug.ShouldStop(524288); +__ref.setField ("_archivoticketpdf" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ),RemoteObject.createImmutable(".pdf"))); + BA.debugLineNum = 7286;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_savepdf" /*RemoteObject*/ ,(Object)(_pdf),(Object)(__ref.getField(true,"_archivoticketpdf" /*RemoteObject*/ )),(Object)(_pdf.getField(true,"_compressalways" /*RemoteObject*/ ))); + BA.debugLineNum = 7289;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pnlplanlealtad_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("pnlPlanLealtad_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7826); +if (RapidSub.canDelegate("pnlplanlealtad_click")) { return __ref.runUserSub(false, "c_cliente","pnlplanlealtad_click", __ref);} + BA.debugLineNum = 7826;BA.debugLine="Private Sub pnlPlanLealtad_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 7828;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printer_connected(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Printer_Connected (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4542); +if (RapidSub.canDelegate("printer_connected")) { return __ref.runUserSub(false, "c_cliente","printer_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 4542;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 4543;BA.debugLine="If Success Then"; +Debug.ShouldStop(1073741824); +if (_success.get().booleanValue()) { + }else { + BA.debugLineNum = 4548;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",c_cliente.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("")),(Object)(BA.ObjectToCharSequence("Printer Error")),(Object)(BA.ObjectToString("Reprint")),(Object)(BA.ObjectToString("Cancel")),(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.getField(false,"Null"))),__ref.getField(false, "ba")),BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 4549;BA.debugLine="StartPrinter"; +Debug.ShouldStop(16); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_startprinter" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 4552;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printer1_connected(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Printer1_Connected (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4517); +if (RapidSub.canDelegate("printer1_connected")) { return __ref.runUserSub(false, "c_cliente","printer1_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 4517;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +Debug.ShouldStop(16); + BA.debugLineNum = 4519;BA.debugLine="If Success Then"; +Debug.ShouldStop(64); +if (_success.get().booleanValue()) { + BA.debugLineNum = 4520;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Impresora conectada")),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 4521;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; +Debug.ShouldStop(256); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("MACIMP"))}))))); + BA.debugLineNum = 4522;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; +Debug.ShouldStop(512); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("MACIMP")),(c_cliente._starter._mac_impresora /*RemoteObject*/ )}))))); + BA.debugLineNum = 4525;BA.debugLine="impresoraConectada = True"; +Debug.ShouldStop(4096); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 4529;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","054263820",BA.ObjectToString("Error conectando la impresora"),c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 4530;BA.debugLine="errorImpresora = errorImpresora + 1"; +Debug.ShouldStop(131072); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 4531;BA.debugLine="If errorImpresora > 1 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 4532;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +Debug.ShouldStop(524288); +c_cliente._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0"); + BA.debugLineNum = 4533;BA.debugLine="errorImpresora = 0"; +Debug.ShouldStop(1048576); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + }; + }; + BA.debugLineNum = 4536;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printer1_error(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Printer1_Error (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4538); +if (RapidSub.canDelegate("printer1_error")) { return __ref.runUserSub(false, "c_cliente","printer1_error", __ref);} + BA.debugLineNum = 4538;BA.debugLine="Sub Printer1_Error"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 4539;BA.debugLine="Log(\"error printer\")"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("LogImpl","054329345",RemoteObject.createImmutable("error printer"),0); + BA.debugLineNum = 4540;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton1_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4775); +if (RapidSub.canDelegate("radiobutton1_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton1_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4775;BA.debugLine="Private Sub RadioButton1_CheckedChange(Checked As"; +Debug.ShouldStop(64); + BA.debugLineNum = 4776;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; +Debug.ShouldStop(128); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P3"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4777;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("LogImpl","055640066",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4778;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton10_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton10_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4827); +if (RapidSub.canDelegate("radiobutton10_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton10_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4827;BA.debugLine="Private Sub RadioButton10_CheckedChange(Checked As"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 4828;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P5"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4829;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("LogImpl","056229890",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4830;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton11_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton11_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4832); +if (RapidSub.canDelegate("radiobutton11_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton11_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4832;BA.debugLine="Private Sub RadioButton11_CheckedChange(Checked As"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 4833;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +Debug.ShouldStop(1); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P5"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4834;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("LogImpl","056295426",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4835;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton12_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton12_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4837); +if (RapidSub.canDelegate("radiobutton12_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton12_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4837;BA.debugLine="Private Sub RadioButton12_CheckedChange(Checked As"; +Debug.ShouldStop(16); + BA.debugLineNum = 4838;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +Debug.ShouldStop(32); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P5"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4839;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","056360962",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4840;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton13_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton13_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4842); +if (RapidSub.canDelegate("radiobutton13_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton13_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4842;BA.debugLine="Private Sub RadioButton13_CheckedChange(Checked As"; +Debug.ShouldStop(512); + BA.debugLineNum = 4843;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +Debug.ShouldStop(1024); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P5"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4844;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","056426498",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4845;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton14_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton14_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4847); +if (RapidSub.canDelegate("radiobutton14_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton14_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4847;BA.debugLine="Private Sub RadioButton14_CheckedChange(Checked As"; +Debug.ShouldStop(16384); + BA.debugLineNum = 4848;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +Debug.ShouldStop(32768); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P5"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4849;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","056492034",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4850;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton15_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton15_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4767); +if (RapidSub.canDelegate("radiobutton15_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton15_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4767;BA.debugLine="Private Sub RadioButton15_CheckedChange(Checked As"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 4768;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P2"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4769;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","055574530",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4770;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton16_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton16_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4762); +if (RapidSub.canDelegate("radiobutton16_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton16_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4762;BA.debugLine="Private Sub RadioButton16_CheckedChange(Checked As"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 4763;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P2"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4764;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethod ("LogImpl","055508994",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4765;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton17_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton17_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4757); +if (RapidSub.canDelegate("radiobutton17_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton17_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4757;BA.debugLine="Private Sub RadioButton17_CheckedChange(Checked As"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 4758;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P2"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4759;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","055443458",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4760;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4780); +if (RapidSub.canDelegate("radiobutton2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4780;BA.debugLine="Private Sub RadioButton2_CheckedChange(Checked As"; +Debug.ShouldStop(2048); + BA.debugLineNum = 4781;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; +Debug.ShouldStop(4096); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P3"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4782;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","055705602",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4783;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4785); +if (RapidSub.canDelegate("radiobutton3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4785;BA.debugLine="Private Sub RadioButton3_CheckedChange(Checked As"; +Debug.ShouldStop(65536); + BA.debugLineNum = 4786;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; +Debug.ShouldStop(131072); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P3"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4787;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","055771138",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4788;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton4_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton4_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4790); +if (RapidSub.canDelegate("radiobutton4_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton4_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4790;BA.debugLine="Private Sub RadioButton4_CheckedChange(Checked As"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 4791;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P3"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4792;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethod ("LogImpl","055836674",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4793;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton5_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton5_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4798); +if (RapidSub.canDelegate("radiobutton5_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton5_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4798;BA.debugLine="Private Sub RadioButton5_CheckedChange(Checked As"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 4799;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P4"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4800;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","055902210",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4801;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton6_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton6_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4803); +if (RapidSub.canDelegate("radiobutton6_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton6_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4803;BA.debugLine="Private Sub RadioButton6_CheckedChange(Checked As"; +Debug.ShouldStop(4); + BA.debugLineNum = 4804;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +Debug.ShouldStop(8); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P4"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4805;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","055967746",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4806;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton7_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton7_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4808); +if (RapidSub.canDelegate("radiobutton7_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton7_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4808;BA.debugLine="Private Sub RadioButton7_CheckedChange(Checked As"; +Debug.ShouldStop(128); + BA.debugLineNum = 4809;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +Debug.ShouldStop(256); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P4"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4810;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","056033282",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4811;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton8_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton8_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4813); +if (RapidSub.canDelegate("radiobutton8_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton8_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4813;BA.debugLine="Private Sub RadioButton8_CheckedChange(Checked As"; +Debug.ShouldStop(4096); + BA.debugLineNum = 4814;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +Debug.ShouldStop(8192); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P4"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4815;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","056098818",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4816;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _radiobutton9_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RadioButton9_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4818); +if (RapidSub.canDelegate("radiobutton9_checkedchange")) { return __ref.runUserSub(false, "c_cliente","radiobutton9_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4818;BA.debugLine="Private Sub RadioButton9_CheckedChange(Checked As"; +Debug.ShouldStop(131072); + BA.debugLineNum = 4819;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +Debug.ShouldStop(262144); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P4"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4820;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","056164354",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4821;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB1_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4668); +if (RapidSub.canDelegate("rb1_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb1_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4668;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 4669;BA.debugLine="If RB1.Checked = True Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb1" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 4670;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("CENTRAL DE ABASTOS")); + }; + BA.debugLineNum = 4672;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb1_e1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB1_E1_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4721); +if (RapidSub.canDelegate("rb1_e1_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb1_e1_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4721;BA.debugLine="Private Sub RB1_E1_CheckedChange(Checked As Boolea"; +Debug.ShouldStop(65536); + BA.debugLineNum = 4722;BA.debugLine="Log($\"RB1 Clicked - chk:${Sender.As(RadioButton)."; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","055246849",(RemoteObject.concat(RemoteObject.createImmutable("RB1 Clicked - chk:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getChecked")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 4723;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; +Debug.ShouldStop(262144); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P1"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4724;BA.debugLine="encuentasmapa.Remove(\"P2\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("P2")))); + BA.debugLineNum = 4725;BA.debugLine="Panel7.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_panel7" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4726;BA.debugLine="RadioButton17.Checked = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_radiobutton17" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4727;BA.debugLine="RadioButton16.Checked = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_radiobutton16" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4728;BA.debugLine="RadioButton15.Checked = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_radiobutton15" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4729;BA.debugLine="encuentasmapa.Remove(\"P2\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("P2")))); + BA.debugLineNum = 4730;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","055246857",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4731;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb1_p4_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB1_P4_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5601); +if (RapidSub.canDelegate("rb1_p4_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb1_p4_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5601;BA.debugLine="Private Sub RB1_P4_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1); + BA.debugLineNum = 5602;BA.debugLine="If RB1_P4_M2.Checked = True Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb1_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 5603;BA.debugLine="Panel7_M2.Visible = True"; +Debug.ShouldStop(4); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5604;BA.debugLine="panel7_p4_m2.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_panel7_p4_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 5606;BA.debugLine="Panel7_M2.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5607;BA.debugLine="panel7_p4_m2.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_panel7_p4_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + BA.debugLineNum = 5610;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4674); +if (RapidSub.canDelegate("rb2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4674;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(2); + BA.debugLineNum = 4675;BA.debugLine="If RB2.Checked = True Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 4676;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\""; +Debug.ShouldStop(8); +__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("AUTOSERVICIO")); + }; + BA.debugLineNum = 4678;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb2_e1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB2_E1_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4733); +if (RapidSub.canDelegate("rb2_e1_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb2_e1_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4733;BA.debugLine="Private Sub RB2_E1_CheckedChange(Checked As Boolea"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 4734;BA.debugLine="Log($\"RB2 Clicked - chk:${Sender.As(RadioButton)."; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","055312385",(RemoteObject.concat(RemoteObject.createImmutable("RB2 Clicked - chk:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getChecked")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 4735;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P1"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4736;BA.debugLine="RadioButton17.Checked = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_radiobutton17" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4737;BA.debugLine="encuentasmapa.Remove(\"P2\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("P2")))); + BA.debugLineNum = 4738;BA.debugLine="RadioButton17.Checked = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_radiobutton17" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4739;BA.debugLine="RadioButton16.Checked = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_radiobutton16" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4740;BA.debugLine="RadioButton15.Checked = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_radiobutton15" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4741;BA.debugLine="Panel7.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_panel7" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 4742;BA.debugLine="encuentasmapa.Remove(\"P2\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("P2")))); + BA.debugLineNum = 4743;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","055312394",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4744;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb2_p4_m2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB2_P4_M2_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,5612); +if (RapidSub.canDelegate("rb2_p4_m2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb2_p4_m2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 5612;BA.debugLine="Private Sub RB2_P4_M2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(2048); + BA.debugLineNum = 5613;BA.debugLine="If RB2_P4_M2.Checked = True Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb2_p4_m2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 5614;BA.debugLine="Panel7_M2.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5615;BA.debugLine="panel7_p4_m2.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_panel7_p4_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5616;BA.debugLine="RB1_P3_M2.Checked = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_rb1_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5617;BA.debugLine="RB2_P3_M2.Checked = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_rb2_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5618;BA.debugLine="RB3_P3_M2.Checked = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_rb3_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5619;BA.debugLine="RB4_P3_M2.Checked = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_rb4_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5620;BA.debugLine="ET_P3_M2.Text = \"\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_et_p3_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 5621;BA.debugLine="CB1_P4_M2.Checked = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cb1_p4_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5622;BA.debugLine="CB2_P4_M2.Checked = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cb2_p4_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5623;BA.debugLine="CB3_P4_M2.Checked = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cb3_p4_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5624;BA.debugLine="CB4_P4_M2.Checked = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb4_p4_m2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 5625;BA.debugLine="textemp3 = \"\""; +Debug.ShouldStop(16777216); +__ref.setField ("_textemp3" /*RemoteObject*/ ,BA.ObjectToString("")); + }else { + BA.debugLineNum = 5627;BA.debugLine="Panel7_M2.Visible = True"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_panel7_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 5628;BA.debugLine="panel7_p4_m2.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_panel7_p4_m2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }; + BA.debugLineNum = 5631;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB3_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4680); +if (RapidSub.canDelegate("rb3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4680;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(128); + BA.debugLineNum = 4681;BA.debugLine="If RB3.Checked = True Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 4682;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\""; +Debug.ShouldStop(512); +__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("CLUB DE PRECIO")); + }; + BA.debugLineNum = 4684;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb3_e1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB3_E1_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4746); +if (RapidSub.canDelegate("rb3_e1_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb3_e1_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4746;BA.debugLine="Private Sub RB3_E1_CheckedChange(Checked As Boolea"; +Debug.ShouldStop(512); + BA.debugLineNum = 4747;BA.debugLine="Log($\"RB3 Clicked - chk:${Sender.As(RadioButton)."; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","055377921",(RemoteObject.concat(RemoteObject.createImmutable("RB3 Clicked - chk:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getChecked")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 4748;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; +Debug.ShouldStop(2048); +__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("P1"))),(Object)(((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cliente.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")))); + BA.debugLineNum = 4750;BA.debugLine="Panel7.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_panel7" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 4751;BA.debugLine="Log(encuentasmapa)"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","055377925",BA.ObjectToString(__ref.getField(false,"_encuentasmapa" /*RemoteObject*/ )),0); + BA.debugLineNum = 4752;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb4_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB4_CheckedChange (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4686); +if (RapidSub.canDelegate("rb4_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb4_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 4686;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 4687;BA.debugLine="If RB4.Checked = True Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb4" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 4688;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("DIRECTO PEDEGREE")); + }; + BA.debugLineNum = 4690;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _recalculoxcant(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("recalculoXcant (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1399); +if (RapidSub.canDelegate("recalculoxcant")) { return __ref.runUserSub(false, "c_cliente","recalculoxcant", __ref);} +int _promespdes = 0; +RemoteObject _rangosel = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _hjh = 0; +RemoteObject _recalculo = RemoteObject.createImmutable(0f); +RemoteObject _recalculototal = RemoteObject.createImmutable(0f); +RemoteObject _rangosel2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 1399;BA.debugLine="Sub recalculoXcant"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1401;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(16777216); +c_cliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_cliente._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_CEDIS = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))));__ref.setField("_c",c_cliente._c); + BA.debugLineNum = 1402;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1403;BA.debugLine="For promespdes = 0 To c.RowCount -1"; +Debug.ShouldStop(67108864); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_promespdes = 0 ; +for (;(step3 > 0 && _promespdes <= limit3) || (step3 < 0 && _promespdes >= limit3) ;_promespdes = ((int)(0 + _promespdes + step3)) ) { +Debug.locals.put("promespdes", _promespdes); + BA.debugLineNum = 1404;BA.debugLine="c.Position = promespdes"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _promespdes)); + BA.debugLineNum = 1405;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt."; +Debug.ShouldStop(268435456); +_rangosel = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rangosel = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))))}))));Debug.locals.put("rangosel", _rangosel);Debug.locals.put("rangosel", _rangosel); + BA.debugLineNum = 1406;BA.debugLine="If rangosel.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_rangosel.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1407;BA.debugLine="For hjh = 0 To rangosel.RowCount-1"; +Debug.ShouldStop(1073741824); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_rangosel.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_hjh = 0 ; +for (;(step7 > 0 && _hjh <= limit7) || (step7 < 0 && _hjh >= limit7) ;_hjh = ((int)(0 + _hjh + step7)) ) { +Debug.locals.put("hjh", _hjh); + BA.debugLineNum = 1408;BA.debugLine="rangosel.Position = hjh"; +Debug.ShouldStop(-2147483648); +_rangosel.runMethod(true,"setPosition",BA.numberCast(int.class, _hjh)); + BA.debugLineNum = 1409;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains"; +Debug.ShouldStop(1); +if (_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_TIER"))).runMethod(true,"contains",(Object)(BA.NumberToString(c_cliente._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))).get().booleanValue()) { + BA.debugLineNum = 1410;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("LogImpl","050593803",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 1411;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","050593804",_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0); + BA.debugLineNum = 1412;BA.debugLine="Private recalculo As Float = c.GetString(\"PE"; +Debug.ShouldStop(8); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 1413;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","050593806",BA.NumberToString(_recalculo),c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1414;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +Debug.ShouldStop(32); +c_cliente.__c.runVoidMethod ("LogImpl","050593807",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 1415;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","050593808",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),0); + BA.debugLineNum = 1416;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("LogImpl","050593809",_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0); + BA.debugLineNum = 1417;BA.debugLine="Private recalculototal As Float =c.GetString"; +Debug.ShouldStop(256); +_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),_recalculo}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal); + BA.debugLineNum = 1418;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_REC"; +Debug.ShouldStop(512); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? and PE_FOLIO = ? ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {6},new Object[] {c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_COD_PROMO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))}))))); + }; + } +}Debug.locals.put("hjh", _hjh); +; + }else { + BA.debugLineNum = 1422;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm"; +Debug.ShouldStop(8192); +_rangosel2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rangosel2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))))}))));Debug.locals.put("rangosel2", _rangosel2);Debug.locals.put("rangosel2", _rangosel2); + BA.debugLineNum = 1424;BA.debugLine="If rangosel2.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",_rangosel2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1426;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1"; +Debug.ShouldStop(131072); +{ +final int step24 = 1; +final int limit24 = RemoteObject.solve(new RemoteObject[] {_rangosel2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_hjh = 0 ; +for (;(step24 > 0 && _hjh <= limit24) || (step24 < 0 && _hjh >= limit24) ;_hjh = ((int)(0 + _hjh + step24)) ) { +Debug.locals.put("hjh", _hjh); + BA.debugLineNum = 1427;BA.debugLine="rangosel2.Position = hjh"; +Debug.ShouldStop(262144); +_rangosel2.runMethod(true,"setPosition",BA.numberCast(int.class, _hjh)); + BA.debugLineNum = 1428;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai"; +Debug.ShouldStop(524288); +if (_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_TIER"))).runMethod(true,"contains",(Object)(BA.NumberToString(c_cliente._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))).get().booleanValue()) { + BA.debugLineNum = 1429;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +Debug.ShouldStop(1048576); +c_cliente.__c.runVoidMethod ("LogImpl","050593822",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 1430;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; +Debug.ShouldStop(2097152); +c_cliente.__c.runVoidMethod ("LogImpl","050593823",_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0); + BA.debugLineNum = 1431;BA.debugLine="Private recalculo As Float = c.GetString(\"P"; +Debug.ShouldStop(4194304); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 1432;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethod ("LogImpl","050593825",BA.NumberToString(_recalculo),c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1433;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +Debug.ShouldStop(16777216); +c_cliente.__c.runVoidMethod ("LogImpl","050593826",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 1434;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\""; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","050593827",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),0); + BA.debugLineNum = 1435;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("LogImpl","050593828",_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0); + BA.debugLineNum = 1436;BA.debugLine="Private recalculototal As Float = rangosel2"; +Debug.ShouldStop(134217728); +_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_RANGO2")))),_recalculo}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal); + BA.debugLineNum = 1439;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RE"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {7},new Object[] {c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_COD_PROMO"))),_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_RANGO2"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))}))))); + }; + } +}Debug.locals.put("hjh", _hjh); +; + }else { + BA.debugLineNum = 1443;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECA"; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))}))))); + }; + BA.debugLineNum = 1445;BA.debugLine="rangosel2.Close"; +Debug.ShouldStop(16); +_rangosel2.runVoidMethod ("Close"); + }; + BA.debugLineNum = 1447;BA.debugLine="rangosel.Close"; +Debug.ShouldStop(64); +_rangosel.runVoidMethod ("Close"); + } +}Debug.locals.put("promespdes", _promespdes); +; + }; + BA.debugLineNum = 1450;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECALCUL"; +Debug.ShouldStop(512); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS <> ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))))); + BA.debugLineNum = 1451;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisargeocerca(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("RevisarGeocerca (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,1466); +if (RapidSub.canDelegate("revisargeocerca")) { return __ref.runUserSub(false, "c_cliente","revisargeocerca", __ref);} + BA.debugLineNum = 1466;BA.debugLine="Private Sub RevisarGeocerca"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 1469;BA.debugLine="Log(distancealm)"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("LogImpl","050724867",BA.NumberToString(__ref.getField(true,"_distancealm" /*RemoteObject*/ )),0); + BA.debugLineNum = 1470;BA.debugLine="Log(distance)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","050724868",BA.NumberToString(__ref.getField(true,"_distance" /*RemoteObject*/ )),0); + BA.debugLineNum = 1472;BA.debugLine="If distancealm > 0 Or distance > 50 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_distancealm" /*RemoteObject*/ ),BA.numberCast(long.class, 0)) || RemoteObject.solveBoolean(">",__ref.getField(true,"_distance" /*RemoteObject*/ ),BA.numberCast(long.class, 50))) { + BA.debugLineNum = 1473;BA.debugLine="If distancealm < 100 Or distance < 50 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_distancealm" /*RemoteObject*/ ),BA.numberCast(long.class, 100)) || RemoteObject.solveBoolean("<",__ref.getField(true,"_distance" /*RemoteObject*/ ),BA.numberCast(long.class, 50))) { + BA.debugLineNum = 1474;BA.debugLine="HabilitarBotones(True)"; +Debug.ShouldStop(2); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_habilitarbotones" /*RemoteObject*/ ,(Object)(c_cliente.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 1476;BA.debugLine="HabilitarBotones(True)"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cliente.class, "_habilitarbotones" /*RemoteObject*/ ,(Object)(c_cliente.__c.getField(true,"True"))); + }; + }; + BA.debugLineNum = 1479;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _savepdf(RemoteObject __ref,RemoteObject _apdf,RemoteObject _afile,RemoteObject _acompress) throws Exception{ +try { + Debug.PushSubsStack("savePDF (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7291); +if (RapidSub.canDelegate("savepdf")) { return __ref.runUserSub(false, "c_cliente","savepdf", __ref, _apdf, _afile, _acompress);} +RemoteObject _folder = RemoteObject.createImmutable(""); +Debug.locals.put("apdf", _apdf); +Debug.locals.put("afile", _afile); +Debug.locals.put("acompress", _acompress); + BA.debugLineNum = 7291;BA.debugLine="private Sub savePDF(apdf As cPDF,afile As String,a"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 7292;BA.debugLine="Dim folder As String"; +Debug.ShouldStop(134217728); +_folder = RemoteObject.createImmutable("");Debug.locals.put("folder", _folder); + BA.debugLineNum = 7297;BA.debugLine="folder = Starter.fFileProvider.SharedFolder"; +Debug.ShouldStop(1); +_folder = c_cliente._starter._ffileprovider /*RemoteObject*/ .getField(true,"_sharedfolder" /*RemoteObject*/ );Debug.locals.put("folder", _folder); + BA.debugLineNum = 7304;BA.debugLine="apdf.saveToFile(folder, afile, acompress)"; +Debug.ShouldStop(128); +_apdf.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_savetofile" /*RemoteObject*/ ,(Object)(_folder),(Object)(_afile),(Object)(_acompress)); + BA.debugLineNum = 7305;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _sc_result(RemoteObject __ref,RemoteObject _atype,RemoteObject _values,RemoteObject _image) throws Exception{ +try { + Debug.PushSubsStack("sc_result (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3090); +if (RapidSub.canDelegate("sc_result")) { __ref.runUserSub(false, "c_cliente","sc_result", __ref, _atype, _values, _image); return;} +ResumableSub_sc_result rsub = new ResumableSub_sc_result(null,__ref,_atype,_values,_image); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_sc_result extends BA.ResumableSub { +public ResumableSub_sc_result(gunav2.keymon.com.mx.c_cliente parent,RemoteObject __ref,RemoteObject _atype,RemoteObject _values,RemoteObject _image) { +this.parent = parent; +this.__ref = __ref; +this._atype = _atype; +this._values = _values; +this._image = _image; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_cliente parent; +RemoteObject _atype; +RemoteObject _values; +RemoteObject _image; +RemoteObject _resultado = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("sc_result (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3090); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("atype", _atype); +Debug.locals.put("Values", _values); +Debug.locals.put("image", _image); + BA.debugLineNum = 3093;BA.debugLine="CODIGO = Values"; +Debug.ShouldStop(1048576); +__ref.setField ("_codigo" /*RemoteObject*/ ,_values); + BA.debugLineNum = 3094;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM kmt_info3 WHERE CAT_CL_NUM_SERIEFISICO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_codigo" /*RemoteObject*/ )})))); + BA.debugLineNum = 3095;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3096;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 1: +//if +this.state = 16; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 16; + BA.debugLineNum = 3097;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Código ya asignado")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 3099;BA.debugLine="If CODIGO.Length = 7 Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 6: +//if +this.state = 15; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_codigo" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 7))) { +this.state = 8; +}else { +this.state = 14; +}if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 3100;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("El código "),__ref.getField(true,"_codigo" /*RemoteObject*/ ),RemoteObject.createImmutable(" es correcto?")))),(Object)(BA.ObjectToCharSequence("Title")),(Object)(BA.ObjectToString("Yes")),(Object)(BA.ObjectToString("Cancel")),(Object)(BA.ObjectToString("No")),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"), parent.__c.getField(false,"Null")),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 3101;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "sc_result"), null); +this.state = 17; +return; +case 17: +//C +this.state = 9; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 3102;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 9: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 3103;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k"; +Debug.ShouldStop(1073741824); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_codigo" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 3104;BA.debugLine="L_QR.TEXT =CODIGO"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_codigo" /*RemoteObject*/ ))); + BA.debugLineNum = 3105;BA.debugLine="L_QR.TextColor = Colors.Blue"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 3106;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i"; +Debug.ShouldStop(2); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_codigo" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + if (true) break; + +case 12: +//C +this.state = 15; +; + if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 3109;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Código No Valido")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 3112;BA.debugLine="DD.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3113;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _sc_timedout(RemoteObject __ref,RemoteObject _timedout) throws Exception{ +try { + Debug.PushSubsStack("sc_timedout (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3115); +if (RapidSub.canDelegate("sc_timedout")) { return __ref.runUserSub(false, "c_cliente","sc_timedout", __ref, _timedout);} +Debug.locals.put("timedOut", _timedout); + BA.debugLineNum = 3115;BA.debugLine="Sub sc_timedout(timedOut As Boolean)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 3116;BA.debugLine="Log(\"timedOut \" & timedOut)"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","053477377",RemoteObject.concat(RemoteObject.createImmutable("timedOut "),_timedout),0); + BA.debugLineNum = 3117;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sc_usercancelled(RemoteObject __ref,RemoteObject _usercancelled) throws Exception{ +try { + Debug.PushSubsStack("sc_usercancelled (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,3119); +if (RapidSub.canDelegate("sc_usercancelled")) { return __ref.runUserSub(false, "c_cliente","sc_usercancelled", __ref, _usercancelled);} +Debug.locals.put("userCancelled", _usercancelled); + BA.debugLineNum = 3119;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)"; +Debug.ShouldStop(16384); + BA.debugLineNum = 3120;BA.debugLine="Log(\"userCancelled \" & userCancelled)"; +Debug.ShouldStop(32768); +c_cliente.__c.runVoidMethod ("LogImpl","053542913",RemoteObject.concat(RemoteObject.createImmutable("userCancelled "),_usercancelled),0); + BA.debugLineNum = 3121;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _startprinter(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StartPrinter (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,4554); +if (RapidSub.canDelegate("startprinter")) { return __ref.runUserSub(false, "c_cliente","startprinter", __ref);} +RemoteObject _l1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _resimp = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 4554;BA.debugLine="Sub StartPrinter"; +Debug.ShouldStop(512); + BA.debugLineNum = 4555;BA.debugLine="Dim PairedDevices As Map"; +Debug.ShouldStop(1024); +c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices); + BA.debugLineNum = 4556;BA.debugLine="Dim L1 As List"; +Debug.ShouldStop(2048); +_l1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("L1", _l1); + BA.debugLineNum = 4557;BA.debugLine="Dim resimp As Int"; +Debug.ShouldStop(4096); +_resimp = RemoteObject.createImmutable(0);Debug.locals.put("resimp", _resimp); + BA.debugLineNum = 4558;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Printing.....")),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 4559;BA.debugLine="PairedDevices.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 4560;BA.debugLine="Try"; +Debug.ShouldStop(32768); +try { BA.debugLineNum = 4561;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +Debug.ShouldStop(65536); +__ref.setField ("_paireddevices" /*RemoteObject*/ ,__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runMethod(false,"GetPairedDevices")); + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 4563;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Getting Paired Devices")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 4564;BA.debugLine="printer.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4565;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + BA.debugLineNum = 4568;BA.debugLine="If PairedDevices.Size = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 4569;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; +Debug.ShouldStop(16777216); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + BA.debugLineNum = 4570;BA.debugLine="Return"; +Debug.ShouldStop(33554432); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 4573;BA.debugLine="If PairedDevices.Size = 1 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 4574;BA.debugLine="Try"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 4575;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, 0)))))))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e21.toString()); BA.debugLineNum = 4577;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Connecting")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 4578;BA.debugLine="printer.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 4579;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(4); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + }else { + BA.debugLineNum = 4582;BA.debugLine="L1.Initialize"; +Debug.ShouldStop(32); +_l1.runVoidMethod ("Initialize"); + BA.debugLineNum = 4583;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +Debug.ShouldStop(64); +{ +final int step27 = 1; +final int limit27 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step27 > 0 && _i <= limit27) || (step27 < 0 && _i >= limit27) ;_i = ((int)(0 + _i + step27)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 4584;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +Debug.ShouldStop(128); +_l1.runVoidMethod ("Add",(Object)(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 4586;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +Debug.ShouldStop(512); +_resimp = c_cliente.__c.runMethodAndSync(true,"InputList",(Object)(_l1),(Object)(BA.ObjectToCharSequence("Choose device")),(Object)(BA.numberCast(int.class, -(double) (0 + 1))),__ref.getField(false, "ba"));Debug.locals.put("resimp", _resimp); + BA.debugLineNum = 4587;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("!",_resimp,BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { + BA.debugLineNum = 4588;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_l1.runMethod(false,"Get",(Object)(_resimp))))))); + }; + }; + BA.debugLineNum = 4591;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _stopcamera2(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StopCamera2 (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,7815); +if (RapidSub.canDelegate("stopcamera2")) { return __ref.runUserSub(false, "c_cliente","stopcamera2", __ref);} + BA.debugLineNum = 7815;BA.debugLine="Private Sub StopCamera2"; +Debug.ShouldStop(64); + BA.debugLineNum = 7817;BA.debugLine="If camEx.IsInitialized Then"; +Debug.ShouldStop(256); +if (__ref.getField(false,"_camex" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 7818;BA.debugLine="camEx.Release"; +Debug.ShouldStop(512); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 7820;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Tar_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2968); +if (RapidSub.canDelegate("tar_click")) { return __ref.runUserSub(false, "c_cliente","tar_click", __ref);} + BA.debugLineNum = 2968;BA.debugLine="Sub Tar_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 2969;BA.debugLine="B4XPages.ShowPage(\"Nota\")"; +Debug.ShouldStop(16777216); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Nota"))); + BA.debugLineNum = 2970;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tels_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Tels_Click (c_cliente) ","c_cliente",5,__ref.getField(false, "ba"),__ref,2933); +if (RapidSub.canDelegate("tels_click")) { return __ref.runUserSub(false, "c_cliente","tels_click", __ref);} + BA.debugLineNum = 2933;BA.debugLine="Sub Tels_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 2934;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")"; +Debug.ShouldStop(2097152); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NoVenta"))); + BA.debugLineNum = 2935;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientes.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientes.java new file mode 100644 index 0000000..5826d73 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientes.java @@ -0,0 +1,50 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_clientes { + public static RemoteObject myClass; + public c_clientes() { + } + public static PCBA staticBA = new PCBA(null, c_clientes.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _entro = RemoteObject.createImmutable(""); +public static RemoteObject _gest = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _lfila = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _busca = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _colonia = RemoteObject.createImmutable(""); +public static RemoteObject _b_qr = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _qr = RemoteObject.declareNull("com.inforpires.baQRCode.baQRCode"); +public static RemoteObject _codigo = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _p_clientes = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_qr",_ref.getField(false, "_b_qr"),"busca",_ref.getField(false, "_busca"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"CODIGO",_ref.getField(false, "_codigo"),"colonia",_ref.getField(false, "_colonia"),"DateUtils",_ref.getField(false, "_dateutils"),"entro",_ref.getField(false, "_entro"),"gest",_ref.getField(false, "_gest"),"lfila",_ref.getField(false, "_lfila"),"ListView1",_ref.getField(false, "_listview1"),"p_clientes",_ref.getField(false, "_p_clientes"),"Panel4",_ref.getField(false, "_panel4"),"q_buscar",_ref.getField(false, "_q_buscar"),"qr",_ref.getField(false, "_qr"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"s",_ref.getField(false, "_s"),"STIME",_ref.getField(false, "_stime"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientes_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientes_subs_0.java new file mode 100644 index 0000000..ac7d035 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientes_subs_0.java @@ -0,0 +1,747 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_clientes_subs_0 { + + +public static RemoteObject _b_qr_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_qr_Click (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,197); +if (RapidSub.canDelegate("b_qr_click")) { return __ref.runUserSub(false, "c_clientes","b_qr_click", __ref);} +RemoteObject _scan_width = RemoteObject.createImmutable(0); +RemoteObject _scan_height = RemoteObject.createImmutable(0); + BA.debugLineNum = 197;BA.debugLine="Sub b_qr_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 198;BA.debugLine="Dim scan_width As Int"; +Debug.ShouldStop(32); +_scan_width = RemoteObject.createImmutable(0);Debug.locals.put("scan_width", _scan_width); + BA.debugLineNum = 199;BA.debugLine="Dim scan_height As Int"; +Debug.ShouldStop(64); +_scan_height = RemoteObject.createImmutable(0);Debug.locals.put("scan_height", _scan_height); + BA.debugLineNum = 200;BA.debugLine="scan_width = 400"; +Debug.ShouldStop(128); +_scan_width = BA.numberCast(int.class, 400);Debug.locals.put("scan_width", _scan_width); + BA.debugLineNum = 201;BA.debugLine="scan_height = 400"; +Debug.ShouldStop(256); +_scan_height = BA.numberCast(int.class, 400);Debug.locals.put("scan_height", _scan_height); + BA.debugLineNum = 202;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,64); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_clientes","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 64;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 65;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; +Debug.ShouldStop(1); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_clientes._starter._server /*RemoteObject*/ )); + BA.debugLineNum = 66;BA.debugLine="busca.Text = \"\""; +Debug.ShouldStop(2); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 67;BA.debugLine="entro = \"2\""; +Debug.ShouldStop(4); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("2")); + BA.debugLineNum = 68;BA.debugLine="colonia = 0"; +Debug.ShouldStop(8); +__ref.setField ("_colonia" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 69;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where gestion = 0 ORDER BY CAT_CL_CODIGO")))); + BA.debugLineNum = 70;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(32); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 71;BA.debugLine="lfila.Text = \"NOMBRE\""; +Debug.ShouldStop(64); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("NOMBRE")); + BA.debugLineNum = 72;BA.debugLine="Subs.SetDivider(ListView1, Colors.White, 2)"; +Debug.ShouldStop(128); +c_clientes._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_clientes.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 73;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 74;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(512); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step10 > 0 && _i <= limit10) || (step10 < 0 && _i >= limit10) ;_i = ((int)(0 + _i + step10)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 75;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 76;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(2048); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 77;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(4096); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 78;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(8192); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 79;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(16384); +_label1.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 80;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(32768); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 81;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(65536); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 82;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(131072); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 83;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(262144); +_label2.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 84;BA.debugLine="label1.Height = 25dip"; +Debug.ShouldStop(524288); +_label1.runMethod(true,"setHeight",c_clientes.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 85;BA.debugLine="label2.Height = 60dip"; +Debug.ShouldStop(1048576); +_label2.runMethod(true,"setHeight",c_clientes.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 87;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_clientes.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 88;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.D"; +Debug.ShouldStop(8388608); +_label1.runMethod(false,"setTypeface",c_clientes.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_clientes.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_clientes.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 89;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; +Debug.ShouldStop(16777216); +_label2.runMethod(false,"setTypeface",c_clientes.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_clientes.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_clientes.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 90;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODIG"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 93;BA.debugLine="If B4XPages.MainPage.cliente.cuest.IsInitialized"; +Debug.ShouldStop(268435456); +if (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_cuest" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 95;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1073741824); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUESTIONARIO where Q_IDCLIENTE not in (select Q_IDCLIENTE from CUESTIONARIO where Q_IDPREGUNTA = '7')"))); + BA.debugLineNum = 96;BA.debugLine="Log(\"Borramos encuestas incompletas\")"; +Debug.ShouldStop(-2147483648); +c_clientes.__c.runVoidMethod ("LogImpl","071172128",RemoteObject.createImmutable("Borramos encuestas incompletas"),0); + }; + BA.debugLineNum = 98;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(2); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,157); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_clientes","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_clientes parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_clientes parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,157); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 164;BA.debugLine="Return True"; +Debug.ShouldStop(8); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;}; + BA.debugLineNum = 165;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_clientes","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 35;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(4); + BA.debugLineNum = 36;BA.debugLine="Root = Root1"; +Debug.ShouldStop(8); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 38;BA.debugLine="Root.LoadLayout(\"clientes\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("clientes")),__ref.getField(false, "ba")); + BA.debugLineNum = 40;BA.debugLine="entro =\"2\""; +Debug.ShouldStop(128); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("2")); + BA.debugLineNum = 41;BA.debugLine="p_clientes.Height = Root.Height"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_clientes" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 42;BA.debugLine="p_clientes.Width = Root.Width"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_clientes" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 43;BA.debugLine="Panel4.Left = Round(Root.Width/2)-(Panel4.Width/2"; +Debug.ShouldStop(1024); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_clientes.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 44;BA.debugLine="Panel4.Height = Root.Height * 0.70"; +Debug.ShouldStop(2048); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.70)}, "*",0, 0))); + BA.debugLineNum = 45;BA.debugLine="ListView1.Height = Panel4.Height * 0.95"; +Debug.ShouldStop(4096); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.95)}, "*",0, 0))); + BA.debugLineNum = 51;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(262144); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_clientes.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 58;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",c_clientes.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_clientes.__c.getField(true,"False"))) { + BA.debugLineNum = 59;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(67108864); +c_clientes.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_clientes.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 61;BA.debugLine="qr.initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_qr" /*RemoteObject*/ ).runVoidMethod ("initialize"); + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _busca_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("BUSCA_TextChanged (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,167); +if (RapidSub.canDelegate("busca_textchanged")) { return __ref.runUserSub(false, "c_clientes","busca_textchanged", __ref, _old, _new);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 167;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +Debug.ShouldStop(64); + BA.debugLineNum = 168;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; +Debug.ShouldStop(128); +__ref.setField ("_q_buscar" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("%"),__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("%"))); + BA.debugLineNum = 169;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +Debug.ShouldStop(256); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )})))); + BA.debugLineNum = 170;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(512); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 171;BA.debugLine="Subs.SetDivider(ListView1, Colors.White, 2)"; +Debug.ShouldStop(1024); +c_clientes._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_clientes.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 172;BA.debugLine="lfila.text = \"Nombre y Calle\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Nombre y Calle")); + BA.debugLineNum = 173;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 174;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(8192); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step7 > 0 && _i <= limit7) || (step7 < 0 && _i >= limit7) ;_i = ((int)(0 + _i + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 175;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 176;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(32768); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 177;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(65536); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 178;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(131072); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 179;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(262144); +_label1.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 180;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(524288); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 181;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(1048576); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 182;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(2097152); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 183;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(4194304); +_label2.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 184;BA.debugLine="label1.Height = 25dip"; +Debug.ShouldStop(8388608); +_label1.runMethod(true,"setHeight",c_clientes.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 185;BA.debugLine="label2.Height = 60dip"; +Debug.ShouldStop(16777216); +_label2.runMethod(true,"setHeight",c_clientes.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 187;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_clientes.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 188;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.D"; +Debug.ShouldStop(134217728); +_label1.runMethod(false,"setTypeface",c_clientes.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_clientes.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_clientes.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 189;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; +Debug.ShouldStop(268435456); +_label2.runMethod(false,"setTypeface",c_clientes.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_clientes.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_clientes.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 190;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))),c_clientes.__c.getField(true,"CRLF"),RemoteObject.createImmutable("CALLE: "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 193;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(1); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + BA.debugLineNum = 194;BA.debugLine="c2.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 195;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calc_ean_checksum(RemoteObject __ref,RemoteObject _number) throws Exception{ +try { + Debug.PushSubsStack("calc_ean_checksum (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,225); +if (RapidSub.canDelegate("calc_ean_checksum")) { return __ref.runUserSub(false, "c_clientes","calc_ean_checksum", __ref, _number);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _co = RemoteObject.createImmutable('\0'); +RemoteObject _soma = RemoteObject.createImmutable(0); +RemoteObject _n = RemoteObject.createImmutable(0); +RemoteObject _digit = RemoteObject.createImmutable(0f); +Debug.locals.put("number", _number); + BA.debugLineNum = 225;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; +Debug.ShouldStop(1); + BA.debugLineNum = 226;BA.debugLine="Dim i As Int"; +Debug.ShouldStop(2); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 227;BA.debugLine="Dim cO As Char"; +Debug.ShouldStop(4); +_co = RemoteObject.createImmutable('\0');Debug.locals.put("cO", _co); + BA.debugLineNum = 228;BA.debugLine="Dim soma As Int"; +Debug.ShouldStop(8); +_soma = RemoteObject.createImmutable(0);Debug.locals.put("soma", _soma); + BA.debugLineNum = 229;BA.debugLine="Dim n As Int"; +Debug.ShouldStop(16); +_n = RemoteObject.createImmutable(0);Debug.locals.put("n", _n); + BA.debugLineNum = 230;BA.debugLine="Dim digit As Float"; +Debug.ShouldStop(32); +_digit = RemoteObject.createImmutable(0f);Debug.locals.put("digit", _digit); + BA.debugLineNum = 231;BA.debugLine="soma = 0"; +Debug.ShouldStop(64); +_soma = BA.numberCast(int.class, 0);Debug.locals.put("soma", _soma); + BA.debugLineNum = 232;BA.debugLine="For i=0 To number.Length - 1"; +Debug.ShouldStop(128); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_number.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = BA.numberCast(int.class, 0) ; +for (;(step7 > 0 && _i.get().intValue() <= limit7) || (step7 < 0 && _i.get().intValue() >= limit7) ;_i = RemoteObject.createImmutable((int)(0 + _i.get().intValue() + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 233;BA.debugLine="digit = number.SubString2(i,i+1)"; +Debug.ShouldStop(256); +_digit = BA.numberCast(float.class, _number.runMethod(true,"substring",(Object)(_i),(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1))));Debug.locals.put("digit", _digit); + BA.debugLineNum = 234;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; +Debug.ShouldStop(512); +_n = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_digit,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(2)}, "%",0, 1)),RemoteObject.createImmutable(2),RemoteObject.createImmutable(1)}, "*+",1, 1))}, "*",0, 0));Debug.locals.put("n", _n); + BA.debugLineNum = 235;BA.debugLine="soma=soma+n"; +Debug.ShouldStop(1024); +_soma = RemoteObject.solve(new RemoteObject[] {_soma,_n}, "+",1, 1);Debug.locals.put("soma", _soma); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 237;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; +Debug.ShouldStop(4096); +if (true) return RemoteObject.concat(_number,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(10),(RemoteObject.solve(new RemoteObject[] {_soma,RemoteObject.createImmutable(10)}, "%",0, 1))}, "-",1, 1)),RemoteObject.createImmutable(10)}, "%",0, 1))); + BA.debugLineNum = 238;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_clientes._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_clientes._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_clientes._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_clientes._xui); + //BA.debugLineNum = 6;BA.debugLine="Dim c As Cursor"; +c_clientes._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_clientes._c); + //BA.debugLineNum = 7;BA.debugLine="Dim c2 As Cursor"; +c_clientes._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_clientes._c2); + //BA.debugLineNum = 8;BA.debugLine="Dim s As Cursor"; +c_clientes._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_clientes._s); + //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; +c_clientes._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_clientes._listview1); + //BA.debugLineNum = 10;BA.debugLine="Dim entro As String"; +c_clientes._entro = RemoteObject.createImmutable("");__ref.setField("_entro",c_clientes._entro); + //BA.debugLineNum = 11;BA.debugLine="Dim gest As Button"; +c_clientes._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_clientes._gest); + //BA.debugLineNum = 12;BA.debugLine="Dim lfila As Label"; +c_clientes._lfila = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lfila",c_clientes._lfila); + //BA.debugLineNum = 13;BA.debugLine="Dim busca As EditText"; +c_clientes._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_busca",c_clientes._busca); + //BA.debugLineNum = 14;BA.debugLine="Dim colonia As String"; +c_clientes._colonia = RemoteObject.createImmutable("");__ref.setField("_colonia",c_clientes._colonia); + //BA.debugLineNum = 15;BA.debugLine="Private b_qr As Button"; +c_clientes._b_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_qr",c_clientes._b_qr); + //BA.debugLineNum = 16;BA.debugLine="Private qr As QRCode"; +c_clientes._qr = RemoteObject.createNew ("com.inforpires.baQRCode.baQRCode");__ref.setField("_qr",c_clientes._qr); + //BA.debugLineNum = 18;BA.debugLine="Dim CODIGO As String"; +c_clientes._codigo = RemoteObject.createImmutable("");__ref.setField("_codigo",c_clientes._codigo); + //BA.debugLineNum = 19;BA.debugLine="Dim STIME As String"; +c_clientes._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_clientes._stime); + //BA.debugLineNum = 21;BA.debugLine="Dim ruta As String"; +c_clientes._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_clientes._ruta); + //BA.debugLineNum = 22;BA.debugLine="Dim q_buscar As String"; +c_clientes._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",c_clientes._q_buscar); + //BA.debugLineNum = 23;BA.debugLine="Private p_clientes As Panel"; +c_clientes._p_clientes = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_clientes",c_clientes._p_clientes); + //BA.debugLineNum = 24;BA.debugLine="Private Panel4 As Panel"; +c_clientes._panel4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel4",c_clientes._panel4); + //BA.debugLineNum = 26;BA.debugLine="Dim reqManager As DBRequestManager"; +c_clientes._reqmanager = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",c_clientes._reqmanager); + //BA.debugLineNum = 27;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_clientes","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 30;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 31;BA.debugLine="Return Me"; +Debug.ShouldStop(1073741824); +if (true) return __ref; + BA.debugLineNum = 32;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemClick (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,101); +if (RapidSub.canDelegate("listview1_itemclick")) { return __ref.runUserSub(false, "c_clientes","listview1_itemclick", __ref, _position, _value);} +int _i = 0; +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 101;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(16); + BA.debugLineNum = 102;BA.debugLine="If colonia = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_colonia" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 103;BA.debugLine="colonia = Value"; +Debug.ShouldStop(64); +__ref.setField ("_colonia" /*RemoteObject*/ ,BA.ObjectToString(_value)); + }; + BA.debugLineNum = 105;BA.debugLine="If entro = \"2\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("2"))) { + BA.debugLineNum = 106;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +Debug.ShouldStop(512); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info3 where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_value)})))); + BA.debugLineNum = 107;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1024); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 108;BA.debugLine="lfila.text = \"Calle\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Calle")); + BA.debugLineNum = 109;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 110;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(8192); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 111;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 112;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; +Debug.ShouldStop(32768); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantos")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 115;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(262144); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + }else +{ BA.debugLineNum = 116;BA.debugLine="Else If entro = \"3\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("3"))) { + BA.debugLineNum = 117;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_value),__ref.getField(true,"_colonia" /*RemoteObject*/ )})))); + BA.debugLineNum = 118;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 119;BA.debugLine="lfila.text = \"Nombre\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Nombre")); + BA.debugLineNum = 120;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 121;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(16777216); +{ +final int step20 = 1; +final int limit20 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step20 > 0 && _i <= limit20) || (step20 < 0 && _i >= limit20) ;_i = ((int)(0 + _i + step20)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 122;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 123;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 126;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(536870912); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + }else +{ BA.debugLineNum = 127;BA.debugLine="Else If entro = \"4\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("4"))) { + BA.debugLineNum = 128;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(-2147483648); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 129;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(1); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 130;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(2); +c_clientes.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 131;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4); +__ref.setField ("_stime" /*RemoteObject*/ ,c_clientes.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_clientes.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 133;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +Debug.ShouldStop(16); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("0")})))); + BA.debugLineNum = 134;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 135;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(1))) { + BA.debugLineNum = 136;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +Debug.ShouldStop(128); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }else { + BA.debugLineNum = 138;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(512); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 139;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +Debug.ShouldStop(1024); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }; + BA.debugLineNum = 141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(4096); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 142;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(8192); +c_clientes.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 144;BA.debugLine="If B4XPages.MainPage.cliente.bitacora.IsInitiali"; +Debug.ShouldStop(32768); +if (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_bitacora" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 145;BA.debugLine="Log(\"VAMOS A CLIENTE CON ENVENTA = FALSO\")"; +Debug.ShouldStop(65536); +c_clientes.__c.runVoidMethod ("LogImpl","071237676",RemoteObject.createImmutable("VAMOS A CLIENTE CON ENVENTA = FALSO"),0); + BA.debugLineNum = 146;BA.debugLine="B4XPages.MainPage.cliente.bitacora.iniciamosVen"; +Debug.ShouldStop(131072); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_iniciamosventa" /*RemoteObject*/ ); + BA.debugLineNum = 147;BA.debugLine="Log(B4XPages.MainPage.cliente.bitacora.enVenta)"; +Debug.ShouldStop(262144); +c_clientes.__c.runVoidMethod ("LogImpl","071237678",BA.ObjectToString(c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_bitacora" /*RemoteObject*/ ).getField(true,"_enventa" /*RemoteObject*/ )),0); + }; + BA.debugLineNum = 149;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(1048576); +c_clientes._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }}} +; + BA.debugLineNum = 154;BA.debugLine="Log(entro)"; +Debug.ShouldStop(33554432); +c_clientes.__c.runVoidMethod ("LogImpl","071237685",__ref.getField(true,"_entro" /*RemoteObject*/ ),0); + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_clientes_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_clientes_Click (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,242); +if (RapidSub.canDelegate("p_clientes_click")) { return __ref.runUserSub(false, "c_clientes","p_clientes_click", __ref);} + BA.debugLineNum = 242;BA.debugLine="Private Sub p_clientes_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 244;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sc_noscan(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("sc_noScan (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,221); +if (RapidSub.canDelegate("sc_noscan")) { return __ref.runUserSub(false, "c_clientes","sc_noscan", __ref);} + BA.debugLineNum = 221;BA.debugLine="Sub sc_noScan"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 222;BA.debugLine="Log(\"nothing returned from the scan !!!!!\")"; +Debug.ShouldStop(536870912); +c_clientes.__c.runVoidMethod ("LogImpl","071565313",RemoteObject.createImmutable("nothing returned from the scan !!!!!"),0); + BA.debugLineNum = 223;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sc_result(RemoteObject __ref,RemoteObject _atype,RemoteObject _values) throws Exception{ +try { + Debug.PushSubsStack("sc_result (c_clientes) ","c_clientes",12,__ref.getField(false, "ba"),__ref,204); +if (RapidSub.canDelegate("sc_result")) { return __ref.runUserSub(false, "c_clientes","sc_result", __ref, _atype, _values);} +Debug.locals.put("atype", _atype); +Debug.locals.put("Values", _values); + BA.debugLineNum = 204;BA.debugLine="Sub sc_result(atype As String,Values As String)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 205;BA.debugLine="CODIGO = Values"; +Debug.ShouldStop(4096); +__ref.setField ("_codigo" /*RemoteObject*/ ,_values); + BA.debugLineNum = 206;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select COUNT(*) AS ENCONTRADO from kmt_info3 where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_codigo" /*RemoteObject*/ )})))); + BA.debugLineNum = 207;BA.debugLine="c2.Position =0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 208;BA.debugLine="If c2.GetString(\"ENCONTRADO\") > 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ENCONTRADO")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 209;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(65536); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_CODIGO from kmt_info3 where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_codigo" /*RemoteObject*/ )})))); + BA.debugLineNum = 210;BA.debugLine="s.Position =0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 211;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(262144); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 212;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(524288); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))}))))); + BA.debugLineNum = 213;BA.debugLine="s.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 215;BA.debugLine="B4XPages.ShowPage(\"clientes\")"; +Debug.ShouldStop(4194304); +c_clientes._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("clientes"))); + }else { + BA.debugLineNum = 217;BA.debugLine="Msgbox(\"CODIGO \" & CODIGO & \" NO ENCONTRADO\",\"AV"; +Debug.ShouldStop(16777216); +c_clientes.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("CODIGO "),__ref.getField(true,"_codigo" /*RemoteObject*/ ),RemoteObject.createImmutable(" NO ENCONTRADO")))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 219;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientescompletos.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientescompletos.java new file mode 100644 index 0000000..bd8a4b8 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientescompletos.java @@ -0,0 +1,39 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_clientescompletos { + public static RemoteObject myClass; + public c_clientescompletos() { + } + public static PCBA staticBA = new PCBA(null, c_clientescompletos.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _lfila = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _busca = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"BUSCA",_ref.getField(false, "_busca"),"c2",_ref.getField(false, "_c2"),"DateUtils",_ref.getField(false, "_dateutils"),"lfila",_ref.getField(false, "_lfila"),"ListView1",_ref.getField(false, "_listview1"),"q_buscar",_ref.getField(false, "_q_buscar"),"Root",_ref.getField(false, "_root"),"S",_ref.getField(false, "_s"),"STIME",_ref.getField(false, "_stime"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientescompletos_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientescompletos_subs_0.java new file mode 100644 index 0000000..3458705 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_clientescompletos_subs_0.java @@ -0,0 +1,213 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_clientescompletos_subs_0 { + + +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_clientescompletos) ","c_clientescompletos",11,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_clientescompletos","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 19;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 20;BA.debugLine="Root = Root1"; +Debug.ShouldStop(524288); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 23;BA.debugLine="Root.LoadLayout(\"Clientes_completos\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("Clientes_completos")),__ref.getField(false, "ba")); + BA.debugLineNum = 24;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _busca_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("BUSCA_TextChanged (c_clientescompletos) ","c_clientescompletos",11,__ref.getField(false, "ba"),__ref,26); +if (RapidSub.canDelegate("busca_textchanged")) { return __ref.runUserSub(false, "c_clientescompletos","busca_textchanged", __ref, _old, _new);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 26;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 27;BA.debugLine="If New = \"\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { + BA.debugLineNum = 28;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + }else { + BA.debugLineNum = 30;BA.debugLine="q_buscar = \"%\" & BUSCA.Text & \"%\""; +Debug.ShouldStop(536870912); +__ref.setField ("_q_buscar" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("%"),__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("%"))); + BA.debugLineNum = 31;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientescompletos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from CAT_CATCLIENTESTODOS where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?) order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )})))); + BA.debugLineNum = 32;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 33;BA.debugLine="Subs.SetDivider(ListView1, Colors.White, 2)"; +Debug.ShouldStop(1); +c_clientescompletos._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_clientescompletos.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 34;BA.debugLine="lfila.text = \"Nombre y Calle\""; +Debug.ShouldStop(2); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Nombre y Calle")); + BA.debugLineNum = 35;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 36;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(8); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step10 > 0 && _i <= limit10) || (step10 < 0 && _i >= limit10) ;_i = ((int)(0 + _i + step10)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 37;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(16); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 38;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(32); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 39;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(64); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 40;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(128); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 41;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(256); +_label1.runMethod(true,"setTextColor",c_clientescompletos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 42;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(512); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 43;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(1024); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 44;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(2048); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 45;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(4096); +_label2.runMethod(true,"setTextColor",c_clientescompletos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 46;BA.debugLine="label1.Height = 25dip"; +Debug.ShouldStop(8192); +_label1.runMethod(true,"setHeight",c_clientescompletos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 47;BA.debugLine="label2.Height = 60dip"; +Debug.ShouldStop(16384); +_label2.runMethod(true,"setHeight",c_clientescompletos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 49;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(65536); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_clientescompletos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 50;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.D"; +Debug.ShouldStop(131072); +_label1.runMethod(false,"setTypeface",c_clientescompletos.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_clientescompletos.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_clientescompletos.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 51;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; +Debug.ShouldStop(262144); +_label2.runMethod(false,"setTypeface",c_clientescompletos.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_clientescompletos.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_clientescompletos.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 52;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; +Debug.ShouldStop(524288); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))),c_clientescompletos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("CALLE: "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 56;BA.debugLine="c2.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_clientescompletos._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_clientescompletos._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_clientescompletos._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_clientescompletos._xui); + //BA.debugLineNum = 4;BA.debugLine="Dim q_buscar As String"; +c_clientescompletos._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",c_clientescompletos._q_buscar); + //BA.debugLineNum = 5;BA.debugLine="Dim c2 As Cursor"; +c_clientescompletos._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_clientescompletos._c2); + //BA.debugLineNum = 6;BA.debugLine="Dim ListView1 As ListView"; +c_clientescompletos._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_clientescompletos._listview1); + //BA.debugLineNum = 7;BA.debugLine="Dim lfila As Label"; +c_clientescompletos._lfila = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lfila",c_clientescompletos._lfila); + //BA.debugLineNum = 8;BA.debugLine="Private BUSCA As EditText"; +c_clientescompletos._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_busca",c_clientescompletos._busca); + //BA.debugLineNum = 9;BA.debugLine="Dim STIME As String"; +c_clientescompletos._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_clientescompletos._stime); + //BA.debugLineNum = 10;BA.debugLine="Dim S As Cursor"; +c_clientescompletos._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_clientescompletos._s); + //BA.debugLineNum = 11;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_clientescompletos) ","c_clientescompletos",11,__ref.getField(false, "ba"),__ref,14); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_clientescompletos","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 14;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(8192); + BA.debugLineNum = 15;BA.debugLine="Return Me"; +Debug.ShouldStop(16384); +if (true) return __ref; + BA.debugLineNum = 16;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemClick (c_clientescompletos) ","c_clientescompletos",11,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("listview1_itemclick")) { return __ref.runUserSub(false, "c_clientescompletos","listview1_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 60;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 62;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(536870912); +c_clientescompletos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 63;BA.debugLine="Log(Value)"; +Debug.ShouldStop(1073741824); +c_clientescompletos.__c.runVoidMethod ("LogImpl","070909955",BA.ObjectToString(_value),0); + BA.debugLineNum = 64;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(-2147483648); +c_clientescompletos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_clientescompletos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 69;BA.debugLine="B4XPages.ShowPage(\"Tclientes\")"; +Debug.ShouldStop(16); +c_clientescompletos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Tclientes"))); + BA.debugLineNum = 71;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cuestionario.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cuestionario.java new file mode 100644 index 0000000..2399a9b --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cuestionario.java @@ -0,0 +1,43 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_cuestionario { + public static RemoteObject myClass; + public c_cuestionario() { + } + public static PCBA staticBA = new PCBA(null, c_cuestionario.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _baceptarpregunta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _encuestainiciada = RemoteObject.createImmutable(false); +public static RemoteObject _root2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _eventname = RemoteObject.createImmutable(""); +public static RemoteObject _callback = RemoteObject.declareNull("Object"); +public static RemoteObject _vpreguntaactual = RemoteObject.createImmutable(""); +public static RemoteObject _db = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _panelsombra = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _cb_respuestas = RemoteObject.createImmutable(""); +public static RemoteObject _panelactual = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _bringtofrontcont = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bAceptarPregunta",_ref.getField(false, "_baceptarpregunta"),"bringToFrontCont",_ref.getField(false, "_bringtofrontcont"),"CallBack",_ref.getField(false, "_callback"),"cb_respuestas",_ref.getField(false, "_cb_respuestas"),"DateUtils",_ref.getField(false, "_dateutils"),"db",_ref.getField(false, "_db"),"encuestaIniciada",_ref.getField(false, "_encuestainiciada"),"EventName",_ref.getField(false, "_eventname"),"panelActual",_ref.getField(false, "_panelactual"),"panelSombra",_ref.getField(false, "_panelsombra"),"Root",_ref.getField(false, "_root"),"Root2",_ref.getField(false, "_root2"),"vPreguntaActual",_ref.getField(false, "_vpreguntaactual"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cuestionario_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cuestionario_subs_0.java new file mode 100644 index 0000000..2f74d63 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_cuestionario_subs_0.java @@ -0,0 +1,1251 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_cuestionario_subs_0 { + + +public static RemoteObject _agregacolumna(RemoteObject __ref,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,373); +if (RapidSub.canDelegate("agregacolumna")) { return __ref.runUserSub(false, "c_cuestionario","agregacolumna", __ref, _tabla, _columna, _tipo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("tabla", _tabla); +Debug.locals.put("columna", _columna); +Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 373;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 374;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(2097152); +try { BA.debugLineNum = 375;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; +Debug.ShouldStop(4194304); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 376;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8388608); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 377;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 378;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 379;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(67108864); +c_cuestionario.__c.runVoidMethod ("LogImpl","074579974",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\"."))),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 382;BA.debugLine="Try"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 383;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 384;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(-2147483648); +c_cuestionario.__c.runVoidMethod ("LogImpl","074579979",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\".."))),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e13.toString()); BA.debugLineNum = 386;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(2); +c_cuestionario.__c.runVoidMethod ("LogImpl","074579981",BA.ObjectToString(c_cuestionario.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + }; + BA.debugLineNum = 389;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _agregapreguntaabierta(RemoteObject __ref,RemoteObject _id,RemoteObject _pregunta,RemoteObject _ids,RemoteObject _respuestas) throws Exception{ +try { + Debug.PushSubsStack("agregaPreguntaAbierta (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,161); +if (RapidSub.canDelegate("agregapreguntaabierta")) { return __ref.runUserSub(false, "c_cuestionario","agregapreguntaabierta", __ref, _id, _pregunta, _ids, _respuestas);} +RemoteObject _sv_cuest = RemoteObject.declareNull("anywheresoftware.b4a.objects.ScrollViewWrapper"); +RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable"); +RemoteObject _panelx = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +RemoteObject _panel2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _et = null; +RemoteObject _labelx = null; +int _p = 0; +RemoteObject _lx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _newtop = RemoteObject.createImmutable(0); +Debug.locals.put("id", _id); +Debug.locals.put("pregunta", _pregunta); +Debug.locals.put("ids", _ids); +Debug.locals.put("respuestas", _respuestas); + BA.debugLineNum = 161;BA.debugLine="Sub agregaPreguntaAbierta(id As String, pregunta A"; +Debug.ShouldStop(1); + BA.debugLineNum = 162;BA.debugLine="Log(\"Iniciamos PreguntaAbierta\")"; +Debug.ShouldStop(2); +c_cuestionario.__c.runVoidMethod ("LogImpl","073990145",RemoteObject.createImmutable("Iniciamos PreguntaAbierta"),0); + BA.debugLineNum = 163;BA.debugLine="Log(ids)"; +Debug.ShouldStop(4); +c_cuestionario.__c.runVoidMethod ("LogImpl","073990146",BA.ObjectToString(_ids),0); + BA.debugLineNum = 164;BA.debugLine="Log(respuestas)"; +Debug.ShouldStop(8); +c_cuestionario.__c.runVoidMethod ("LogImpl","073990147",BA.ObjectToString(_respuestas),0); + BA.debugLineNum = 165;BA.debugLine="Private sv_cuest As ScrollView"; +Debug.ShouldStop(16); +_sv_cuest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");Debug.locals.put("sv_cuest", _sv_cuest); + BA.debugLineNum = 166;BA.debugLine="sv_cuest.Initialize(500dip)"; +Debug.ShouldStop(32); +_sv_cuest.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 500))))); + BA.debugLineNum = 167;BA.debugLine="encuestaIniciada = True"; +Debug.ShouldStop(64); +__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 168;BA.debugLine="vPreguntaActual = id"; +Debug.ShouldStop(128); +__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,_id); + BA.debugLineNum = 169;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("bAceptarPregunta"))); + BA.debugLineNum = 170;BA.debugLine="Private su As StringUtils"; +Debug.ShouldStop(512); +_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su); + BA.debugLineNum = 171;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; +Debug.ShouldStop(1024); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pSombra"))); + BA.debugLineNum = 172;BA.debugLine="Private cd As ColorDrawable"; +Debug.ShouldStop(2048); +_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("cd", _cd); + BA.debugLineNum = 173;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; +Debug.ShouldStop(4096); +_cd.runVoidMethod ("Initialize",(Object)(c_cuestionario.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 125)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)))),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 174;BA.debugLine="panelSombra.Background = cd"; +Debug.ShouldStop(8192); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(false,"setBackground",(_cd.getObject())); + BA.debugLineNum = 175;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; +Debug.ShouldStop(16384); +_panelx = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panelX", _panelx); + BA.debugLineNum = 176;BA.debugLine="panelX.Initialize(\"pQuest\")"; +Debug.ShouldStop(32768); +_panelx.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pQuest"))); + BA.debugLineNum = 177;BA.debugLine="Private sv_cuest As ScrollView"; +Debug.ShouldStop(65536); +_sv_cuest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");Debug.locals.put("sv_cuest", _sv_cuest); + BA.debugLineNum = 178;BA.debugLine="sv_cuest.Initialize(100dip)"; +Debug.ShouldStop(131072); +_sv_cuest.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100))))); + BA.debugLineNum = 179;BA.debugLine="Private panel2 As Panel 'Panel de la pregunta."; +Debug.ShouldStop(262144); +_panel2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panel2", _panel2); + BA.debugLineNum = 180;BA.debugLine="panel2.Initialize(\"panel2\")"; +Debug.ShouldStop(524288); +_panel2.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("panel2"))); + BA.debugLineNum = 181;BA.debugLine="panel2.Color = Colors.Yellow"; +Debug.ShouldStop(1048576); +_panel2.runVoidMethod ("setColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Yellow")); + BA.debugLineNum = 182;BA.debugLine="panelActual = panelX"; +Debug.ShouldStop(2097152); +__ref.setField ("_panelactual" /*RemoteObject*/ ,_panelx); + BA.debugLineNum = 183;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; +Debug.ShouldStop(4194304); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 184;BA.debugLine="lbl.Initialize(\"\")"; +Debug.ShouldStop(8388608); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 185;BA.debugLine="lbl.Text = pregunta"; +Debug.ShouldStop(16777216); +_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(_pregunta)); + BA.debugLineNum = 186;BA.debugLine="lbl.TextSize = 16"; +Debug.ShouldStop(33554432); +_lbl.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 187;BA.debugLine="lbl.TextColor = Colors.Black"; +Debug.ShouldStop(67108864); +_lbl.runMethod(true,"setTextColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 188;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; +Debug.ShouldStop(134217728); +_cd.runVoidMethod ("Initialize2",(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 20)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"Gray"))); + BA.debugLineNum = 189;BA.debugLine="panelX.Background = cd"; +Debug.ShouldStop(268435456); +_panelx.runMethod(false,"setBackground",(_cd.getObject())); + BA.debugLineNum = 190;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_panelx.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 80)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200))))); + BA.debugLineNum = 191;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_root2" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + BA.debugLineNum = 192;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; +Debug.ShouldStop(-2147483648); +_panelx.runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40))))); + BA.debugLineNum = 193;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; +Debug.ShouldStop(1); +_lbl.runMethod(true,"setHeight",_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_lbl.getObject())),(Object)(BA.ObjectToCharSequence(_lbl.runMethod(true,"getText"))))); + BA.debugLineNum = 194;BA.debugLine="Private et(respuestas.Size) As EditText"; +Debug.ShouldStop(2); +_et = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.EditTextWrapper", new int[] {_respuestas.runMethod(true,"getSize").get().intValue()}, new Object[]{});Debug.locals.put("et", _et); + BA.debugLineNum = 195;BA.debugLine="Private labelX(respuestas.Size) As Label"; +Debug.ShouldStop(4); +_labelx = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.LabelWrapper", new int[] {_respuestas.runMethod(true,"getSize").get().intValue()}, new Object[]{});Debug.locals.put("labelX", _labelx); + BA.debugLineNum = 196;BA.debugLine="For p = 0 To respuestas.Size - 1"; +Debug.ShouldStop(8); +{ +final int step35 = 1; +final int limit35 = RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step35 > 0 && _p <= limit35) || (step35 < 0 && _p >= limit35) ;_p = ((int)(0 + _p + step35)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 197;BA.debugLine="et(p).Initialize(\"et\")"; +Debug.ShouldStop(16); +_et.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("et"))); + BA.debugLineNum = 198;BA.debugLine="labelX(p).Initialize(\"labelX\")"; +Debug.ShouldStop(32); +_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("labelX"))); + BA.debugLineNum = 199;BA.debugLine="labelX(p).Height = 60dip"; +Debug.ShouldStop(64); +_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setHeight",c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 202;BA.debugLine="et(p).As(B4XView).SetTextAlignment(\"CENTER\", \"CE"; +Debug.ShouldStop(512); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _et.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 203;BA.debugLine="labelX(p).As(B4XView).SetTextAlignment(\"CENTER\","; +Debug.ShouldStop(1024); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _labelx.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 204;BA.debugLine="et(p).SetTextSizeAnimated(0, 10)"; +Debug.ShouldStop(2048); +_et.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("SetTextSizeAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(float.class, 10))); + BA.debugLineNum = 205;BA.debugLine="et(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregun"; +Debug.ShouldStop(4096); +_et.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_id),RemoteObject.createImmutable(("pregunta")),(_pregunta),RemoteObject.createImmutable(("panel")),(__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject()),RemoteObject.createImmutable(("idRespuesta")),_ids.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))})).getObject())); + BA.debugLineNum = 206;BA.debugLine="labelX(p).Text = respuestas.Get(p)"; +Debug.ShouldStop(8192); +_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setText",BA.ObjectToCharSequence(_respuestas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))); + BA.debugLineNum = 207;BA.debugLine="Private lx As Label = labelX(p)"; +Debug.ShouldStop(16384); +_lx = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper"); +_lx = _labelx.getArrayElement(false,BA.numberCast(int.class, _p));Debug.locals.put("lx", _lx);Debug.locals.put("lx", _lx); + BA.debugLineNum = 208;BA.debugLine="et(p).Text = \"\""; +Debug.ShouldStop(32768); +_et.getArrayElement(false,BA.numberCast(int.class, _p)).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 209;BA.debugLine="Log($\"Agregamos ET ${labelX(p).text} - ${(70*p)}"; +Debug.ShouldStop(65536); +c_cuestionario.__c.runVoidMethod ("LogImpl","073990192",(RemoteObject.concat(RemoteObject.createImmutable("Agregamos ET "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getText")))),RemoteObject.createImmutable(" - "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),RemoteObject.createImmutable(_p)}, "*",0, 1))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 211;BA.debugLine="Log(labelX(p).Height)"; +Debug.ShouldStop(262144); +c_cuestionario.__c.runVoidMethod ("LogImpl","073990194",BA.NumberToString(_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getHeight")),0); + BA.debugLineNum = 212;BA.debugLine="sv_cuest.panel.AddView(labelX(p), 0, (70 * p), ("; +Debug.ShouldStop(524288); +_sv_cuest.runMethod(false,"getPanel").runVoidMethod ("AddView",(Object)((_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),RemoteObject.createImmutable(_p)}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.72)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 60))); + BA.debugLineNum = 213;BA.debugLine="sv_cuest.panel.AddView(et(p), (labelX(p).Width +"; +Debug.ShouldStop(1048576); +_sv_cuest.runMethod(false,"getPanel").runVoidMethod ("AddView",(Object)((_et.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)((RemoteObject.solve(new RemoteObject[] {_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getWidth"),RemoteObject.createImmutable(5)}, "+",1, 1))),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),RemoteObject.createImmutable(_p)}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.2)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 115))); + BA.debugLineNum = 214;BA.debugLine="Private newTop As Int = 0 'lbl.top + lbl.Height"; +Debug.ShouldStop(2097152); +_newtop = BA.numberCast(int.class, 0);Debug.locals.put("newTop", _newtop);Debug.locals.put("newTop", _newtop); + BA.debugLineNum = 215;BA.debugLine="If p <> 0 Then newTop = et(p - 1).Top + et(p - 1"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("!",RemoteObject.createImmutable(_p),BA.numberCast(double.class, 0))) { +_newtop = RemoteObject.solve(new RemoteObject[] {_et.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getTop"),_et.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(5)}, "++",2, 1);Debug.locals.put("newTop", _newtop);}; + BA.debugLineNum = 216;BA.debugLine="et(p).Top = newTop"; +Debug.ShouldStop(8388608); +_et.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop); + BA.debugLineNum = 217;BA.debugLine="labelX(p).Top = newTop"; +Debug.ShouldStop(16777216); +_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 219;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Continuar")); + BA.debugLineNum = 220;BA.debugLine="panelX.AddView(sv_cuest, 10, lbl.top + lbl.Height"; +Debug.ShouldStop(134217728); +_panelx.runVoidMethod ("AddView",(Object)((_sv_cuest.getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)(RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "++",2, 1)),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.95)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300))))); + BA.debugLineNum = 221;BA.debugLine="sv_cuest.panel.Height = newTop + 40dip"; +Debug.ShouldStop(268435456); +_sv_cuest.runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_newtop,c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40)))}, "+",1, 1)); + BA.debugLineNum = 222;BA.debugLine="panelX.Height = newTop + 80dip + 35dip 'Calculamo"; +Debug.ShouldStop(536870912); +_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_newtop,c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80))),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 35)))}, "++",2, 1)); + BA.debugLineNum = 223;BA.debugLine="panelX.Height = 150dip + (respuestas.Size * 80) '"; +Debug.ShouldStop(1073741824); +_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150))),(RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(80)}, "*",0, 1))}, "+",1, 1)); + BA.debugLineNum = 225;BA.debugLine="If panelX.Height > (Root2.Height * 0.7) Then ' Si"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_panelx.runMethod(true,"getHeight"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.7)}, "*",0, 0)))) { + BA.debugLineNum = 226;BA.debugLine="panelX.Height = Root2.Height * 0.7"; +Debug.ShouldStop(2); +_panelx.runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.7)}, "*",0, 0))); + }; + BA.debugLineNum = 228;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, (panelX.Heig"; +Debug.ShouldStop(8); +_panelx.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)((RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))}, "-",1, 1))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50))))); + BA.debugLineNum = 229;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; +Debug.ShouldStop(16); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 230;BA.debugLine="bAceptarPregunta.Enabled = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False")); + BA.debugLineNum = 231;BA.debugLine="sv_cuest.Height = panelX.Height - (lbl.Top + lbl."; +Debug.ShouldStop(64); +_sv_cuest.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),(RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight")}, "+",1, 1)),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))}, "--",2, 1)); + BA.debugLineNum = 232;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; +Debug.ShouldStop(128); +_panelx.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 233;BA.debugLine="panelX.top = (Root2.Height / 2) - (panelX.Height"; +Debug.ShouldStop(256); +_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 234;BA.debugLine="If respuestas.Size < 10 Then panelX.top = (Root2."; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("<",_respuestas.runMethod(true,"getSize"),BA.numberCast(double.class, 10))) { +_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));}; + BA.debugLineNum = 235;BA.debugLine="panelSombra.Width = Root2.Width"; +Debug.ShouldStop(1024); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 236;BA.debugLine="panelSombra.Height = Root2.Height"; +Debug.ShouldStop(2048); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 237;BA.debugLine="panelSombra.Elevation = 100dip"; +Debug.ShouldStop(4096); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setElevation",BA.numberCast(float.class, c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100))))); + BA.debugLineNum = 238;BA.debugLine="panelSombra.BringToFront"; +Debug.ShouldStop(8192); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 239;BA.debugLine="bringToFrontCont = 0"; +Debug.ShouldStop(16384); +__ref.setField ("_bringtofrontcont" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 240;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _agregapreguntacheckbox(RemoteObject __ref,RemoteObject _id,RemoteObject _pregunta,RemoteObject _respuestas) throws Exception{ +try { + Debug.PushSubsStack("agregaPreguntaCheckbox (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,63); +if (RapidSub.canDelegate("agregapreguntacheckbox")) { return __ref.runUserSub(false, "c_cuestionario","agregapreguntacheckbox", __ref, _id, _pregunta, _respuestas);} +RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable"); +RemoteObject _panelx = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _cb = null; +int _p = 0; +RemoteObject _newtop = RemoteObject.createImmutable(0); +Debug.locals.put("id", _id); +Debug.locals.put("pregunta", _pregunta); +Debug.locals.put("respuestas", _respuestas); + BA.debugLineNum = 63;BA.debugLine="Sub agregaPreguntaCheckbox(id As String, pregunta"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 64;BA.debugLine="encuestaIniciada = True"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 65;BA.debugLine="vPreguntaActual = id"; +Debug.ShouldStop(1); +__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,_id); + BA.debugLineNum = 66;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("bAceptarPregunta"))); + BA.debugLineNum = 67;BA.debugLine="bAceptarPregunta.Enabled = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False")); + BA.debugLineNum = 68;BA.debugLine="Private su As StringUtils"; +Debug.ShouldStop(8); +_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su); + BA.debugLineNum = 69;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pSombra"))); + BA.debugLineNum = 70;BA.debugLine="Private cd As ColorDrawable"; +Debug.ShouldStop(32); +_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("cd", _cd); + BA.debugLineNum = 71;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; +Debug.ShouldStop(64); +_cd.runVoidMethod ("Initialize",(Object)(c_cuestionario.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 125)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)))),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 72;BA.debugLine="panelSombra.Background = cd"; +Debug.ShouldStop(128); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(false,"setBackground",(_cd.getObject())); + BA.debugLineNum = 73;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; +Debug.ShouldStop(256); +_panelx = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panelX", _panelx); + BA.debugLineNum = 74;BA.debugLine="panelX.Initialize(\"pQuest\")"; +Debug.ShouldStop(512); +_panelx.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pQuest"))); + BA.debugLineNum = 75;BA.debugLine="panelActual = panelX"; +Debug.ShouldStop(1024); +__ref.setField ("_panelactual" /*RemoteObject*/ ,_panelx); + BA.debugLineNum = 76;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; +Debug.ShouldStop(2048); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 77;BA.debugLine="lbl.Initialize(\"\")"; +Debug.ShouldStop(4096); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 78;BA.debugLine="lbl.Text = pregunta"; +Debug.ShouldStop(8192); +_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(_pregunta)); + BA.debugLineNum = 79;BA.debugLine="lbl.TextSize = 16"; +Debug.ShouldStop(16384); +_lbl.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 80;BA.debugLine="lbl.TextColor = Colors.Black"; +Debug.ShouldStop(32768); +_lbl.runMethod(true,"setTextColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 81;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; +Debug.ShouldStop(65536); +_cd.runVoidMethod ("Initialize2",(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 20)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"Gray"))); + BA.debugLineNum = 82;BA.debugLine="panelX.Background = cd"; +Debug.ShouldStop(131072); +_panelx.runMethod(false,"setBackground",(_cd.getObject())); + BA.debugLineNum = 83;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; +Debug.ShouldStop(262144); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_panelx.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 80)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200))))); + BA.debugLineNum = 84;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; +Debug.ShouldStop(524288); +__ref.getField(false,"_root2" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + BA.debugLineNum = 85;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; +Debug.ShouldStop(1048576); +_panelx.runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40))))); + BA.debugLineNum = 86;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; +Debug.ShouldStop(2097152); +_lbl.runMethod(true,"setHeight",_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_lbl.getObject())),(Object)(BA.ObjectToCharSequence(_lbl.runMethod(true,"getText"))))); + BA.debugLineNum = 87;BA.debugLine="Private cb(respuestas.Size) As CheckBox"; +Debug.ShouldStop(4194304); +_cb = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper", new int[] {_respuestas.runMethod(true,"getSize").get().intValue()}, new Object[]{});Debug.locals.put("cb", _cb); + BA.debugLineNum = 88;BA.debugLine="For p = 0 To respuestas.Size - 1"; +Debug.ShouldStop(8388608); +{ +final int step25 = 1; +final int limit25 = RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step25 > 0 && _p <= limit25) || (step25 < 0 && _p >= limit25) ;_p = ((int)(0 + _p + step25)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 89;BA.debugLine="cb(p).Initialize(\"cb\")"; +Debug.ShouldStop(16777216); +_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cb"))); + BA.debugLineNum = 90;BA.debugLine="cb(p).Text = respuestas.Get(p)"; +Debug.ShouldStop(33554432); +_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setText",BA.ObjectToCharSequence(_respuestas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))); + BA.debugLineNum = 91;BA.debugLine="cb(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregun"; +Debug.ShouldStop(67108864); +_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_id),RemoteObject.createImmutable(("pregunta")),(_pregunta),RemoteObject.createImmutable(("panel")),(__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject()),RemoteObject.createImmutable(("idRespuesta")),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))})).getObject())); + BA.debugLineNum = 92;BA.debugLine="panelX.AddView(cb(p), 10dip, (70 * (p + 1)), (pa"; +Debug.ShouldStop(134217728); +_panelx.runVoidMethod ("AddView",(Object)((_cb.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 10))); + BA.debugLineNum = 93;BA.debugLine="cb(p).Height = su.MeasureMultilineTextHeight(cb("; +Debug.ShouldStop(268435456); +_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_cb.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(BA.ObjectToCharSequence(_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getText")))),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 94;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; +Debug.ShouldStop(536870912); +_newtop = RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "++",2, 1);Debug.locals.put("newTop", _newtop);Debug.locals.put("newTop", _newtop); + BA.debugLineNum = 95;BA.debugLine="If p <> 0 Then newTop =cb(p - 1).Top + cb(p - 1)"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("!",RemoteObject.createImmutable(_p),BA.numberCast(double.class, 0))) { +_newtop = RemoteObject.solve(new RemoteObject[] {_cb.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getTop"),_cb.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "++",2, 1);Debug.locals.put("newTop", _newtop);}; + BA.debugLineNum = 96;BA.debugLine="cb(p).Top = newTop"; +Debug.ShouldStop(-2147483648); +_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 98;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; +Debug.ShouldStop(2); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Continuar")); + BA.debugLineNum = 100;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + cb("; +Debug.ShouldStop(8); +_panelx.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)(RemoteObject.solve(new RemoteObject[] {_newtop,_cb.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "++",2, 1)),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50))))); + BA.debugLineNum = 101;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; +Debug.ShouldStop(16); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 102;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; +Debug.ShouldStop(32); +_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getTop"),__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getHeight"),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 15)))}, "++",2, 1)); + BA.debugLineNum = 103;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; +Debug.ShouldStop(64); +_panelx.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 104;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; +Debug.ShouldStop(128); +_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 105;BA.debugLine="panelSombra.Width = Root2.Width"; +Debug.ShouldStop(256); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 106;BA.debugLine="panelSombra.Height = Root2.Height"; +Debug.ShouldStop(512); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 107;BA.debugLine="panelSombra.Elevation = 100"; +Debug.ShouldStop(1024); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setElevation",BA.numberCast(float.class, 100)); + BA.debugLineNum = 108;BA.debugLine="panelSombra.BringToFront"; +Debug.ShouldStop(2048); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _agregapreguntaradio(RemoteObject __ref,RemoteObject _id,RemoteObject _pregunta,RemoteObject _respuestas) throws Exception{ +try { + Debug.PushSubsStack("agregaPreguntaRadio (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,112); +if (RapidSub.canDelegate("agregapreguntaradio")) { return __ref.runUserSub(false, "c_cuestionario","agregapreguntaradio", __ref, _id, _pregunta, _respuestas);} +RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable"); +RemoteObject _panelx = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _r = null; +int _p = 0; +RemoteObject _newtop = RemoteObject.createImmutable(0); +Debug.locals.put("id", _id); +Debug.locals.put("pregunta", _pregunta); +Debug.locals.put("respuestas", _respuestas); + BA.debugLineNum = 112;BA.debugLine="Sub agregaPreguntaRadio(id As String, pregunta As"; +Debug.ShouldStop(32768); + BA.debugLineNum = 113;BA.debugLine="encuestaIniciada = True"; +Debug.ShouldStop(65536); +__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 114;BA.debugLine="vPreguntaActual = id"; +Debug.ShouldStop(131072); +__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,_id); + BA.debugLineNum = 115;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("bAceptarPregunta"))); + BA.debugLineNum = 116;BA.debugLine="Private su As StringUtils"; +Debug.ShouldStop(524288); +_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su); + BA.debugLineNum = 117;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pSombra"))); + BA.debugLineNum = 118;BA.debugLine="Private cd As ColorDrawable"; +Debug.ShouldStop(2097152); +_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("cd", _cd); + BA.debugLineNum = 119;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; +Debug.ShouldStop(4194304); +_cd.runVoidMethod ("Initialize",(Object)(c_cuestionario.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 125)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)))),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 120;BA.debugLine="panelSombra.Background = cd"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(false,"setBackground",(_cd.getObject())); + BA.debugLineNum = 121;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; +Debug.ShouldStop(16777216); +_panelx = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panelX", _panelx); + BA.debugLineNum = 122;BA.debugLine="panelX.Initialize(\"pQuest\")"; +Debug.ShouldStop(33554432); +_panelx.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pQuest"))); + BA.debugLineNum = 123;BA.debugLine="panelActual = panelX"; +Debug.ShouldStop(67108864); +__ref.setField ("_panelactual" /*RemoteObject*/ ,_panelx); + BA.debugLineNum = 124;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; +Debug.ShouldStop(134217728); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 125;BA.debugLine="lbl.Initialize(\"\")"; +Debug.ShouldStop(268435456); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 126;BA.debugLine="lbl.Text = pregunta"; +Debug.ShouldStop(536870912); +_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(_pregunta)); + BA.debugLineNum = 127;BA.debugLine="lbl.TextSize = 16"; +Debug.ShouldStop(1073741824); +_lbl.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 128;BA.debugLine="lbl.TextColor = Colors.Black"; +Debug.ShouldStop(-2147483648); +_lbl.runMethod(true,"setTextColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 129;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; +Debug.ShouldStop(1); +_cd.runVoidMethod ("Initialize2",(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 20)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"Gray"))); + BA.debugLineNum = 130;BA.debugLine="panelX.Background = cd"; +Debug.ShouldStop(2); +_panelx.runMethod(false,"setBackground",(_cd.getObject())); + BA.debugLineNum = 131;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; +Debug.ShouldStop(4); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_panelx.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 80)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200))))); + BA.debugLineNum = 132;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; +Debug.ShouldStop(8); +__ref.getField(false,"_root2" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + BA.debugLineNum = 133;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; +Debug.ShouldStop(16); +_panelx.runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40))))); + BA.debugLineNum = 134;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; +Debug.ShouldStop(32); +_lbl.runMethod(true,"setHeight",_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_lbl.getObject())),(Object)(BA.ObjectToCharSequence(_lbl.runMethod(true,"getText"))))); + BA.debugLineNum = 135;BA.debugLine="Private r(respuestas.Size) As RadioButton"; +Debug.ShouldStop(64); +_r = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper", new int[] {_respuestas.runMethod(true,"getSize").get().intValue()}, new Object[]{});Debug.locals.put("r", _r); + BA.debugLineNum = 136;BA.debugLine="For p = 0 To respuestas.Size - 1"; +Debug.ShouldStop(128); +{ +final int step24 = 1; +final int limit24 = RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step24 > 0 && _p <= limit24) || (step24 < 0 && _p >= limit24) ;_p = ((int)(0 + _p + step24)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 137;BA.debugLine="r(p).Initialize(\"r\")"; +Debug.ShouldStop(256); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("r"))); + BA.debugLineNum = 138;BA.debugLine="r(p).Text = respuestas.Get(p)"; +Debug.ShouldStop(512); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setText",BA.ObjectToCharSequence(_respuestas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))); + BA.debugLineNum = 139;BA.debugLine="r(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregunt"; +Debug.ShouldStop(1024); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_id),RemoteObject.createImmutable(("pregunta")),(_pregunta),RemoteObject.createImmutable(("panel")),(__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject()),RemoteObject.createImmutable(("idRespuesta")),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))})).getObject())); + BA.debugLineNum = 140;BA.debugLine="panelX.AddView(r(p), 10dip, (70 * (p + 1)), (pan"; +Debug.ShouldStop(2048); +_panelx.runVoidMethod ("AddView",(Object)((_r.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 10))); + BA.debugLineNum = 141;BA.debugLine="r(p).Height = su.MeasureMultilineTextHeight(r(p)"; +Debug.ShouldStop(4096); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_r.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(BA.ObjectToCharSequence(_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getText")))),RemoteObject.createImmutable(25)}, "+",1, 1)); + BA.debugLineNum = 142;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; +Debug.ShouldStop(8192); +_newtop = RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "++",2, 1);Debug.locals.put("newTop", _newtop);Debug.locals.put("newTop", _newtop); + BA.debugLineNum = 143;BA.debugLine="If p <> 0 Then newTop = r(p - 1).Top + r(p - 1)."; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",RemoteObject.createImmutable(_p),BA.numberCast(double.class, 0))) { +_newtop = RemoteObject.solve(new RemoteObject[] {_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getTop"),_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(5)}, "++",2, 1);Debug.locals.put("newTop", _newtop);}; + BA.debugLineNum = 144;BA.debugLine="r(p).Top = newTop"; +Debug.ShouldStop(32768); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 146;BA.debugLine="r(0).Checked = True"; +Debug.ShouldStop(131072); +_r.getArrayElement(false,BA.numberCast(int.class, 0)).runMethodAndSync(true,"setChecked",c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 147;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Continuar")); + BA.debugLineNum = 149;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + r(r"; +Debug.ShouldStop(1048576); +_panelx.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)(RemoteObject.solve(new RemoteObject[] {_newtop,_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "++",2, 1)),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50))))); + BA.debugLineNum = 150;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 151;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; +Debug.ShouldStop(4194304); +_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getTop"),__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getHeight"),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 15)))}, "++",2, 1)); + BA.debugLineNum = 152;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; +Debug.ShouldStop(8388608); +_panelx.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 153;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; +Debug.ShouldStop(16777216); +_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 154;BA.debugLine="panelSombra.Width = Root2.Width"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 155;BA.debugLine="panelSombra.Height = Root2.Height"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 156;BA.debugLine="panelSombra.Elevation = 100"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setElevation",BA.numberCast(float.class, 100)); + BA.debugLineNum = 157;BA.debugLine="panelSombra.BringToFront"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 158;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_cuestionario","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 32;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 33;BA.debugLine="Root = Root1"; +Debug.ShouldStop(1); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _baceptarpregunta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("bAceptarPregunta_Click (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,338); +if (RapidSub.canDelegate("baceptarpregunta_click")) { return __ref.runUserSub(false, "c_cuestionario","baceptarpregunta_click", __ref);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 338;BA.debugLine="Private Sub bAceptarPregunta_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 339;BA.debugLine="encuestaIniciada = True"; +Debug.ShouldStop(262144); +__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 340;BA.debugLine="Private m As Map = Sender.As(Button).tag.As(Map)"; +Debug.ShouldStop(524288); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 341;BA.debugLine="preguntaContestada(m)"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_preguntacontestada" /*RemoteObject*/ ,(Object)(_m)); + BA.debugLineNum = 354;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("cb_CheckedChange (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,255); +if (RapidSub.canDelegate("cb_checkedchange")) { return __ref.runUserSub(false, "c_cuestionario","cb_checkedchange", __ref, _checked);} +RemoteObject _elcb = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +RemoteObject _elcbmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _cuantoschks = RemoteObject.createImmutable(0); +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.ConcreteViewWrapper"); +RemoteObject _cb_idrespuestas = RemoteObject.createImmutable(""); +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 255;BA.debugLine="private Sub cb_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 256;BA.debugLine="Private elCB As CheckBox = Sender.As(CheckBox)"; +Debug.ShouldStop(-2147483648); +_elcb = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +_elcb = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("elCB", _elcb);Debug.locals.put("elCB", _elcb); + BA.debugLineNum = 257;BA.debugLine="Private elCBMap As Map = elCB.tag.As(Map)"; +Debug.ShouldStop(1); +_elcbmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_elcbmap = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _elcb.runMethod(false,"getTag")));Debug.locals.put("elCBMap", _elcbmap);Debug.locals.put("elCBMap", _elcbmap); + BA.debugLineNum = 258;BA.debugLine="Private cuantosChks As Int = 0"; +Debug.ShouldStop(2); +_cuantoschks = BA.numberCast(int.class, 0);Debug.locals.put("cuantosChks", _cuantoschks);Debug.locals.put("cuantosChks", _cuantoschks); + BA.debugLineNum = 260;BA.debugLine="If elCB.Text = \"Ninguno de los anteriores\" And el"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_elcb.runMethod(true,"getText"),BA.ObjectToString("Ninguno de los anteriores")) && RemoteObject.solveBoolean("=",_elcb.runMethod(true,"getChecked"),c_cuestionario.__c.getField(true,"True"))) { + BA.debugLineNum = 261;BA.debugLine="For Each v As View In panelActual.GetAllViewsRec"; +Debug.ShouldStop(16); +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper"); +{ +final RemoteObject group5 = __ref.getField(false,"_panelactual" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +final int groupLen5 = group5.runMethod(true,"getSize").get() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), group5.runMethod(false,"Get",index5));Debug.locals.put("v", _v); +Debug.locals.put("v", _v); + BA.debugLineNum = 262;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_getviewtype" /*RemoteObject*/ ,(Object)(_v)),BA.ObjectToString("CheckBox"))) { + BA.debugLineNum = 263;BA.debugLine="cuantosChks = cuantosChks + 1"; +Debug.ShouldStop(64); +_cuantoschks = RemoteObject.solve(new RemoteObject[] {_cuantoschks,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cuantosChks", _cuantoschks); + BA.debugLineNum = 264;BA.debugLine="v.As(CheckBox).Checked = False"; +Debug.ShouldStop(128); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethodAndSync(true,"setChecked",c_cuestionario.__c.getField(true,"False")); + BA.debugLineNum = 265;BA.debugLine="v.As(CheckBox).Enabled = False"; +Debug.ShouldStop(256); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False")); + BA.debugLineNum = 268;BA.debugLine="If v.As(CheckBox).Text = \"Ninguno de los anter"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getText"),BA.ObjectToString("Ninguno de los anteriores"))) { + BA.debugLineNum = 269;BA.debugLine="v.As(CheckBox).Enabled = True"; +Debug.ShouldStop(4096); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 270;BA.debugLine="v.As(CheckBox).Checked = True"; +Debug.ShouldStop(8192); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethodAndSync(true,"setChecked",c_cuestionario.__c.getField(true,"True")); + }; + BA.debugLineNum = 272;BA.debugLine="If v.As(CheckBox).Checked Then cb_respuestas ="; +Debug.ShouldStop(32768); +if ((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getChecked").get().booleanValue()) { +__ref.setField ("_cb_respuestas" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_cb_respuestas" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getText")));}; + }; + } +}Debug.locals.put("v", _v); +; + }else +{ BA.debugLineNum = 275;BA.debugLine="else if elCB.Text = \"Ninguno de los anteriores\" A"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_elcb.runMethod(true,"getText"),BA.ObjectToString("Ninguno de los anteriores")) && RemoteObject.solveBoolean("=",_elcb.runMethod(true,"getChecked"),c_cuestionario.__c.getField(true,"False"))) { + BA.debugLineNum = 276;BA.debugLine="For Each v As View In panelActual.GetAllViewsRec"; +Debug.ShouldStop(524288); +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper"); +{ +final RemoteObject group18 = __ref.getField(false,"_panelactual" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +final int groupLen18 = group18.runMethod(true,"getSize").get() +;int index18 = 0; +; +for (; index18 < groupLen18;index18++){ +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), group18.runMethod(false,"Get",index18));Debug.locals.put("v", _v); +Debug.locals.put("v", _v); + BA.debugLineNum = 277;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_getviewtype" /*RemoteObject*/ ,(Object)(_v)),BA.ObjectToString("CheckBox"))) { + BA.debugLineNum = 278;BA.debugLine="v.As(CheckBox).Enabled = True"; +Debug.ShouldStop(2097152); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"True")); + }; + } +}Debug.locals.put("v", _v); +; + }} +; + BA.debugLineNum = 282;BA.debugLine="If cuantosChks = 0 Then bAceptarPregunta.Enabled"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_cuantoschks,BA.numberCast(double.class, 0))) { +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False"));}; + BA.debugLineNum = 283;BA.debugLine="cb_respuestas = \"\""; +Debug.ShouldStop(67108864); +__ref.setField ("_cb_respuestas" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 284;BA.debugLine="Private cb_idRespuestas As String= \"\""; +Debug.ShouldStop(134217728); +_cb_idrespuestas = BA.ObjectToString("");Debug.locals.put("cb_idRespuestas", _cb_idrespuestas);Debug.locals.put("cb_idRespuestas", _cb_idrespuestas); + BA.debugLineNum = 285;BA.debugLine="For Each v As View In panelActual.GetAllViewsRecu"; +Debug.ShouldStop(268435456); +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper"); +{ +final RemoteObject group27 = __ref.getField(false,"_panelactual" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +final int groupLen27 = group27.runMethod(true,"getSize").get() +;int index27 = 0; +; +for (; index27 < groupLen27;index27++){ +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), group27.runMethod(false,"Get",index27));Debug.locals.put("v", _v); +Debug.locals.put("v", _v); + BA.debugLineNum = 287;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_getviewtype" /*RemoteObject*/ ,(Object)(_v)),BA.ObjectToString("CheckBox"))) { + BA.debugLineNum = 290;BA.debugLine="If v.As(CheckBox).Checked Then"; +Debug.ShouldStop(2); +if ((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 292;BA.debugLine="If cb_respuestas = \"\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cb_respuestas" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 293;BA.debugLine="cb_respuestas = v.As(CheckBox).Text"; +Debug.ShouldStop(16); +__ref.setField ("_cb_respuestas" /*RemoteObject*/ ,(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getText")); + BA.debugLineNum = 294;BA.debugLine="cb_idRespuestas = v.As(CheckBox).Tag.As(Map)."; +Debug.ShouldStop(32); +_cb_idrespuestas = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))));Debug.locals.put("cb_idRespuestas", _cb_idrespuestas); + }else { + BA.debugLineNum = 296;BA.debugLine="cb_respuestas = cb_respuestas &\"|\" & v.As(Che"; +Debug.ShouldStop(128); +__ref.setField ("_cb_respuestas" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_cb_respuestas" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getText"))); + BA.debugLineNum = 297;BA.debugLine="cb_idRespuestas = cb_idRespuestas &\"|\" & v.As"; +Debug.ShouldStop(256); +_cb_idrespuestas = RemoteObject.concat(_cb_idrespuestas,RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))));Debug.locals.put("cb_idRespuestas", _cb_idrespuestas); + }; + BA.debugLineNum = 299;BA.debugLine="bAceptarPregunta.Enabled = True ' Si hay opcio"; +Debug.ShouldStop(1024); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"True")); + }; + }; + } +}Debug.locals.put("v", _v); +; + BA.debugLineNum = 306;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":elC"; +Debug.ShouldStop(131072); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idPregunta")),((BA.ObjectToString(_elcbmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))))),RemoteObject.createImmutable(("pregunta")),_elcbmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))),RemoteObject.createImmutable(("idRespuesta")),(_cb_idrespuestas),RemoteObject.createImmutable(("respuesta")),(__ref.getField(true,"_cb_respuestas" /*RemoteObject*/ )),RemoteObject.createImmutable(("panel")),_elcbmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel"))))})).getObject())); + BA.debugLineNum = 307;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_cuestionario._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_cuestionario._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_cuestionario._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_cuestionario._xui); + //BA.debugLineNum = 4;BA.debugLine="Private bAceptarPregunta As Button"; +c_cuestionario._baceptarpregunta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_baceptarpregunta",c_cuestionario._baceptarpregunta); + //BA.debugLineNum = 5;BA.debugLine="Dim encuestaIniciada As Boolean = False"; +c_cuestionario._encuestainiciada = c_cuestionario.__c.getField(true,"False");__ref.setField("_encuestainiciada",c_cuestionario._encuestainiciada); + //BA.debugLineNum = 6;BA.debugLine="Private Root2 As B4XView"; +c_cuestionario._root2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root2",c_cuestionario._root2); + //BA.debugLineNum = 7;BA.debugLine="Private EventName As String 'ignore"; +c_cuestionario._eventname = RemoteObject.createImmutable("");__ref.setField("_eventname",c_cuestionario._eventname); + //BA.debugLineNum = 8;BA.debugLine="Private CallBack As Object 'ignore"; +c_cuestionario._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",c_cuestionario._callback); + //BA.debugLineNum = 9;BA.debugLine="Private vPreguntaActual As String"; +c_cuestionario._vpreguntaactual = RemoteObject.createImmutable("");__ref.setField("_vpreguntaactual",c_cuestionario._vpreguntaactual); + //BA.debugLineNum = 10;BA.debugLine="Private db As SQL"; +c_cuestionario._db = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_db",c_cuestionario._db); + //BA.debugLineNum = 12;BA.debugLine="Dim panelSombra As Panel 'Panel de sombra."; +c_cuestionario._panelsombra = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panelsombra",c_cuestionario._panelsombra); + //BA.debugLineNum = 13;BA.debugLine="Dim cb_respuestas As String = \"\""; +c_cuestionario._cb_respuestas = BA.ObjectToString("");__ref.setField("_cb_respuestas",c_cuestionario._cb_respuestas); + //BA.debugLineNum = 14;BA.debugLine="Dim panelActual As Panel"; +c_cuestionario._panelactual = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panelactual",c_cuestionario._panelactual); + //BA.debugLineNum = 15;BA.debugLine="Dim bringToFrontCont As Int = 0"; +c_cuestionario._bringtofrontcont = BA.numberCast(int.class, 0);__ref.setField("_bringtofrontcont",c_cuestionario._bringtofrontcont); + //BA.debugLineNum = 16;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clienteconcuestionario(RemoteObject __ref,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("clienteConCuestionario (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,357); +if (RapidSub.canDelegate("clienteconcuestionario")) { return __ref.runUserSub(false, "c_cuestionario","clienteconcuestionario", __ref, _idcliente);} +RemoteObject _r = RemoteObject.createImmutable(false); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 357;BA.debugLine="Sub clienteConCuestionario(idCliente As String) As"; +Debug.ShouldStop(16); + BA.debugLineNum = 358;BA.debugLine="Private r As Boolean = False"; +Debug.ShouldStop(32); +_r = c_cuestionario.__c.getField(true,"False");Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 359;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select count"; +Debug.ShouldStop(64); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(*) as q from CUESTIONARIO where Q_IDCLIENTE = '"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 360;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(128); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 361;BA.debugLine="If c.GetInt(\"q\") > 0 Then r = True"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("q"))),BA.numberCast(double.class, 0))) { +_r = c_cuestionario.__c.getField(true,"True");Debug.locals.put("r", _r);}; + BA.debugLineNum = 362;BA.debugLine="Return r"; +Debug.ShouldStop(512); +if (true) return _r; + BA.debugLineNum = 363;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_TextChanged (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,309); +if (RapidSub.canDelegate("et_textchanged")) { return __ref.runUserSub(false, "c_cuestionario","et_textchanged", __ref, _old, _new);} +RemoteObject _ettotales = RemoteObject.createImmutable(0); +RemoteObject _etcont = RemoteObject.createImmutable(0); +RemoteObject _etresps = RemoteObject.createImmutable(""); +RemoteObject _etidresps = RemoteObject.createImmutable(""); +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.ConcreteViewWrapper"); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 309;BA.debugLine="Private Sub et_TextChanged(Old As String, New As S"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 310;BA.debugLine="Log($\"${Old}, ${New}\"$)"; +Debug.ShouldStop(2097152); +c_cuestionario.__c.runVoidMethod ("LogImpl","074317825",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_old))),RemoteObject.createImmutable(", "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_new))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 311;BA.debugLine="Private etTotales As Int = 0"; +Debug.ShouldStop(4194304); +_ettotales = BA.numberCast(int.class, 0);Debug.locals.put("etTotales", _ettotales);Debug.locals.put("etTotales", _ettotales); + BA.debugLineNum = 312;BA.debugLine="Private etCont As Int = 0"; +Debug.ShouldStop(8388608); +_etcont = BA.numberCast(int.class, 0);Debug.locals.put("etCont", _etcont);Debug.locals.put("etCont", _etcont); + BA.debugLineNum = 313;BA.debugLine="Private etResps As String = \"\""; +Debug.ShouldStop(16777216); +_etresps = BA.ObjectToString("");Debug.locals.put("etResps", _etresps);Debug.locals.put("etResps", _etresps); + BA.debugLineNum = 314;BA.debugLine="Private etIdResps As String = \"\""; +Debug.ShouldStop(33554432); +_etidresps = BA.ObjectToString("");Debug.locals.put("etIdResps", _etidresps);Debug.locals.put("etIdResps", _etidresps); + BA.debugLineNum = 315;BA.debugLine="For Each v As View In panelActual.GetAllViewsRecu"; +Debug.ShouldStop(67108864); +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper"); +{ +final RemoteObject group6 = __ref.getField(false,"_panelactual" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +final int groupLen6 = group6.runMethod(true,"getSize").get() +;int index6 = 0; +; +for (; index6 < groupLen6;index6++){ +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), group6.runMethod(false,"Get",index6));Debug.locals.put("v", _v); +Debug.locals.put("v", _v); + BA.debugLineNum = 317;BA.debugLine="If getViewType(v) = \"EditText\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_getviewtype" /*RemoteObject*/ ,(Object)(_v)),BA.ObjectToString("EditText"))) { + BA.debugLineNum = 318;BA.debugLine="etTotales = etTotales + 1"; +Debug.ShouldStop(536870912); +_ettotales = RemoteObject.solve(new RemoteObject[] {_ettotales,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("etTotales", _ettotales); + BA.debugLineNum = 320;BA.debugLine="If v.As(EditText).text <> \"\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 321;BA.debugLine="etCont = etCont + 1"; +Debug.ShouldStop(1); +_etcont = RemoteObject.solve(new RemoteObject[] {_etcont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("etCont", _etcont); + BA.debugLineNum = 322;BA.debugLine="If etResps = \"\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_etresps,BA.ObjectToString(""))) { + BA.debugLineNum = 323;BA.debugLine="etResps = v.As(EditText).Text"; +Debug.ShouldStop(4); +_etresps = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(true,"getText");Debug.locals.put("etResps", _etresps); + BA.debugLineNum = 324;BA.debugLine="etIdResps = v.As(EditText).Tag.As(Map).Get(\"i"; +Debug.ShouldStop(8); +_etidresps = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))));Debug.locals.put("etIdResps", _etidresps); + }else { + BA.debugLineNum = 326;BA.debugLine="etResps = etResps &\"|\" & v.As(EditText).Text"; +Debug.ShouldStop(32); +_etresps = RemoteObject.concat(_etresps,RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(true,"getText"));Debug.locals.put("etResps", _etresps); + BA.debugLineNum = 327;BA.debugLine="etIdResps = etIdResps &\"|\" & v.As(EditText).T"; +Debug.ShouldStop(64); +_etidresps = RemoteObject.concat(_etidresps,RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))));Debug.locals.put("etIdResps", _etidresps); + }; + }; + }; + } +}Debug.locals.put("v", _v); +; + BA.debugLineNum = 333;BA.debugLine="Log($\"${etCont}, ${etTotales}\"$)"; +Debug.ShouldStop(4096); +c_cuestionario.__c.runVoidMethod ("LogImpl","074317848",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_etcont))),RemoteObject.createImmutable(", "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ettotales))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 334;BA.debugLine="bAceptarPregunta.Tag = CreateMap(\"idPregunta\":Sen"; +Debug.ShouldStop(8192); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idPregunta")),((BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))))),RemoteObject.createImmutable(("pregunta")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))),RemoteObject.createImmutable(("idRespuesta")),(_etidresps),RemoteObject.createImmutable(("respuesta")),(_etresps),RemoteObject.createImmutable(("panel")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel"))))})).getObject())); + BA.debugLineNum = 335;BA.debugLine="If etCont = etTotales Then bAceptarPregunta.Enabl"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_etcont,BA.numberCast(double.class, _ettotales))) { +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"True"));} +else { +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False"));}; + BA.debugLineNum = 336;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getviewtype(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("getViewType (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,391); +if (RapidSub.canDelegate("getviewtype")) { return __ref.runUserSub(false, "c_cuestionario","getviewtype", __ref, _v);} +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _t2 = null; +Debug.locals.put("v", _v); + BA.debugLineNum = 391;BA.debugLine="Sub getViewType (v As View) As String 'ignore"; +Debug.ShouldStop(64); + BA.debugLineNum = 392;BA.debugLine="Private t As String = GetType(v)"; +Debug.ShouldStop(128); +_t = c_cuestionario.__c.runMethod(true,"GetType",(Object)((_v.getObject())));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 394;BA.debugLine="Private t2() As String = Regex.Split(\"\\.\", t)"; +Debug.ShouldStop(512); +_t2 = c_cuestionario.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)(_t));Debug.locals.put("t2", _t2);Debug.locals.put("t2", _t2); + BA.debugLineNum = 396;BA.debugLine="If t2.Length = 3 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_t2.getField(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 397;BA.debugLine="t = t2(2)"; +Debug.ShouldStop(4096); +_t = _t2.getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("t", _t); + }; + BA.debugLineNum = 399;BA.debugLine="Return t"; +Debug.ShouldStop(16384); +if (true) return _t; + BA.debugLineNum = 400;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _vcallback,RemoteObject _veventname,RemoteObject _vroot,RemoteObject _skmt) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cuestionario","initialize", __ref, _ba, _vcallback, _veventname, _vroot, _skmt);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("vCallback", _vcallback); +Debug.locals.put("vEventName", _veventname); +Debug.locals.put("vRoot", _vroot); +Debug.locals.put("skmt", _skmt); + BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; +Debug.ShouldStop(262144); + BA.debugLineNum = 20;BA.debugLine="Root2 = vRoot"; +Debug.ShouldStop(524288); +__ref.setField ("_root2" /*RemoteObject*/ ,_vroot); + BA.debugLineNum = 21;BA.debugLine="EventName = vEventName"; +Debug.ShouldStop(1048576); +__ref.setField ("_eventname" /*RemoteObject*/ ,_veventname); + BA.debugLineNum = 22;BA.debugLine="CallBack = vCallback"; +Debug.ShouldStop(2097152); +__ref.setField ("_callback" /*RemoteObject*/ ,_vcallback); + BA.debugLineNum = 23;BA.debugLine="db = skmt"; +Debug.ShouldStop(4194304); +__ref.setField ("_db" /*RemoteObject*/ ,_skmt); + BA.debugLineNum = 24;BA.debugLine="vPreguntaActual = 0"; +Debug.ShouldStop(8388608); +__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 25;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CUEST"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CUESTIONARIO (Q_RUTA TEXT, Q_ALMACEN TEXT, Q_IDCLIENTE TEXT, Q_IDPREGUNTA TEXT, Q_PREGUNTA TEXT, Q_IDRESPUESTA TEXT, Q_RESPUESTA TEXT, Q_FECHA TEXT, Q_ENVIO_OK INTEGER DEFAULT 0)"))); + BA.debugLineNum = 26;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_RUTA\", \"TEXT\")"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregacolumna" /*RemoteObject*/ ,(Object)(BA.ObjectToString("CUESTIONARIO")),(Object)(BA.ObjectToString("Q_RUTA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 27;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ALMACEN\", \"TEXT\""; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregacolumna" /*RemoteObject*/ ,(Object)(BA.ObjectToString("CUESTIONARIO")),(Object)(BA.ObjectToString("Q_ALMACEN")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 28;BA.debugLine="Return Me"; +Debug.ShouldStop(134217728); +if (true) return __ref; + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ocultpanelpregunta(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ocultPanelPregunta (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,366); +if (RapidSub.canDelegate("ocultpanelpregunta")) { return __ref.runUserSub(false, "c_cuestionario","ocultpanelpregunta", __ref);} + BA.debugLineNum = 366;BA.debugLine="Sub ocultPanelPregunta"; +Debug.ShouldStop(8192); + BA.debugLineNum = 367;BA.debugLine="If panelSombra.IsInitialized Then panelSombra.Rem"; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("RemoveView");}; + BA.debugLineNum = 368;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _preguntaactual(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("preguntaActual (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,43); +if (RapidSub.canDelegate("preguntaactual")) { return __ref.runUserSub(false, "c_cuestionario","preguntaactual", __ref);} + BA.debugLineNum = 43;BA.debugLine="Sub preguntaActual As String 'ignore"; +Debug.ShouldStop(1024); + BA.debugLineNum = 44;BA.debugLine="Return vPreguntaActual"; +Debug.ShouldStop(2048); +if (true) return __ref.getField(true,"_vpreguntaactual" /*RemoteObject*/ ); + BA.debugLineNum = 45;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _preguntacontestada(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("preguntaContestada (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,242); +if (RapidSub.canDelegate("preguntacontestada")) { return __ref.runUserSub(false, "c_cuestionario","preguntacontestada", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 242;BA.debugLine="private Sub preguntaContestada(Success As Map) 'ig"; +Debug.ShouldStop(131072); + BA.debugLineNum = 243;BA.debugLine="If SubExists(CallBack, EventName & \"_preguntaCont"; +Debug.ShouldStop(262144); +if (c_cuestionario.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_preguntaContestada")))).get().booleanValue()) { + BA.debugLineNum = 244;BA.debugLine="CallSubDelayed2(CallBack, EventName & \"_pregunta"; +Debug.ShouldStop(524288); +c_cuestionario.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_preguntaContestada"))),(Object)((_success))); + }; + BA.debugLineNum = 246;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _psombra_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("pSombra_Click (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,248); +if (RapidSub.canDelegate("psombra_click")) { return __ref.runUserSub(false, "c_cuestionario","psombra_click", __ref);} + BA.debugLineNum = 248;BA.debugLine="private Sub pSombra_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 249;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _r_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("r_CheckedChange (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,251); +if (RapidSub.canDelegate("r_checkedchange")) { return __ref.runUserSub(false, "c_cuestionario","r_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 251;BA.debugLine="private Sub r_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 252;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":Sen"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idPregunta")),((BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))))),RemoteObject.createImmutable(("pregunta")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))),RemoteObject.createImmutable(("idRespuesta")),((BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta"))))))),RemoteObject.createImmutable(("respuesta")),((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")),RemoteObject.createImmutable(("panel")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel"))))})).getObject())); + BA.debugLineNum = 253;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _strtolist(RemoteObject __ref,RemoteObject _str) throws Exception{ +try { + Debug.PushSubsStack("strToList (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,403); +if (RapidSub.canDelegate("strtolist")) { return __ref.runUserSub(false, "c_cuestionario","strtolist", __ref, _str);} +RemoteObject _resps = null; +RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _r = 0; +Debug.locals.put("str", _str); + BA.debugLineNum = 403;BA.debugLine="Sub strToList(str As String) As List 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 404;BA.debugLine="Private resps() As String = Regex.Split(\"\\|\", str"; +Debug.ShouldStop(524288); +_resps = c_cuestionario.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(_str));Debug.locals.put("resps", _resps);Debug.locals.put("resps", _resps); + BA.debugLineNum = 405;BA.debugLine="Private l As List"; +Debug.ShouldStop(1048576); +_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("l", _l); + BA.debugLineNum = 406;BA.debugLine="l.Initialize"; +Debug.ShouldStop(2097152); +_l.runVoidMethod ("Initialize"); + BA.debugLineNum = 407;BA.debugLine="For r = 0 To resps.Length - 1"; +Debug.ShouldStop(4194304); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_resps.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_r = 0 ; +for (;(step4 > 0 && _r <= limit4) || (step4 < 0 && _r >= limit4) ;_r = ((int)(0 + _r + step4)) ) { +Debug.locals.put("r", _r); + BA.debugLineNum = 408;BA.debugLine="l.Add(resps(r))"; +Debug.ShouldStop(8388608); +_l.runVoidMethod ("Add",(Object)((_resps.getArrayElement(true,BA.numberCast(int.class, _r))))); + } +}Debug.locals.put("r", _r); +; + BA.debugLineNum = 410;BA.debugLine="Return l"; +Debug.ShouldStop(33554432); +if (true) return _l; + BA.debugLineNum = 411;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico.java new file mode 100644 index 0000000..c8208c7 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico.java @@ -0,0 +1,52 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_historico { + public static RemoteObject myClass; + public c_historico() { + } + public static PCBA staticBA = new PCBA(null, c_historico.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _regresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_desc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _p_nota = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_desc",_ref.getField(false, "_b_desc"),"borra",_ref.getField(false, "_borra"),"c",_ref.getField(false, "_c"),"clie_id",_ref.getField(false, "_clie_id"),"DateUtils",_ref.getField(false, "_dateutils"),"Existe",_ref.getField(false, "_existe"),"g",_ref.getField(false, "_g"),"L_CANT",_ref.getField(false, "_l_cant"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"ListView2",_ref.getField(false, "_listview2"),"p_nota",_ref.getField(false, "_p_nota"),"Panel1",_ref.getField(false, "_panel1"),"Regresar",_ref.getField(false, "_regresar"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"tgl",_ref.getField(false, "_tgl"),"Titulo",_ref.getField(false, "_titulo"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico2.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico2.java new file mode 100644 index 0000000..77e0f4c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico2.java @@ -0,0 +1,58 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_historico2 { + public static RemoteObject myClass; + public c_historico2() { + } + public static PCBA staticBA = new PCBA(null, c_historico2.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _regresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_desc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _p_nota = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_productohist = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_s1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_s2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_s3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_s4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_desc",_ref.getField(false, "_b_desc"),"borra",_ref.getField(false, "_borra"),"c",_ref.getField(false, "_c"),"clie_id",_ref.getField(false, "_clie_id"),"CustomListView1",_ref.getField(false, "_customlistview1"),"DateUtils",_ref.getField(false, "_dateutils"),"Existe",_ref.getField(false, "_existe"),"g",_ref.getField(false, "_g"),"L_CANT",_ref.getField(false, "_l_cant"),"l_productohist",_ref.getField(false, "_l_productohist"),"l_s1",_ref.getField(false, "_l_s1"),"l_s2",_ref.getField(false, "_l_s2"),"l_s3",_ref.getField(false, "_l_s3"),"l_s4",_ref.getField(false, "_l_s4"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"ListView2",_ref.getField(false, "_listview2"),"p_nota",_ref.getField(false, "_p_nota"),"Panel1",_ref.getField(false, "_panel1"),"Regresar",_ref.getField(false, "_regresar"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"tgl",_ref.getField(false, "_tgl"),"Titulo",_ref.getField(false, "_titulo"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico2_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico2_subs_0.java new file mode 100644 index 0000000..5d6c075 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico2_subs_0.java @@ -0,0 +1,458 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_historico2_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_historico2","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _sfdf = 0; + BA.debugLineNum = 60;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 61;BA.debugLine="p_nota.Height = Root.Height * 0.9"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_nota" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.9)}, "*",0, 0))); + BA.debugLineNum = 62;BA.debugLine="p_nota.Width = Root.Width * 0.9"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_nota" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0))); + BA.debugLineNum = 63;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico2.__c.getField(true,"False")); + BA.debugLineNum = 64;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(-2147483648); +if (c_historico2.__c.runMethod(true,"Not",(Object)(c_historico2._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 65;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(1); +c_historico2.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_historico2.__c.getField(true,"True"))); + BA.debugLineNum = 66;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(2); +c_historico2.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_historico2._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 68;BA.debugLine="L_CANT.Text =\"\""; +Debug.ShouldStop(8); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 69;BA.debugLine="L_TOTAL.Text=\"\""; +Debug.ShouldStop(16); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 70;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico2._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 71;BA.debugLine="C.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 72;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(128); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 73;BA.debugLine="C.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 74;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico2._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc")))); + BA.debugLineNum = 75;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1024); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 76;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 77;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(4096); +{ +final int step17 = 1; +final int limit17 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step17 > 0 && _i <= limit17) || (step17 < 0 && _i >= limit17) ;_i = ((int)(0 + _i + step17)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 78;BA.debugLine="c.Position=i"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 79;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(16384); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 80;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(32768); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 81;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(65536); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 82;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(131072); +_label1.runMethod(true,"setTextColor",c_historico2.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 83;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(262144); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 84;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(524288); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 85;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(1048576); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 86;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(2097152); +_label2.runMethod(true,"setTextColor",c_historico2.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 87;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))),RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))),RemoteObject.createImmutable(" Fecha: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 90;BA.debugLine="If Existe <> 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 91;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico2._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 92;BA.debugLine="C.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 93;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 94;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))); + }; + BA.debugLineNum = 100;BA.debugLine="For sfdf = 0 To 1"; +Debug.ShouldStop(8); +{ +final int step36 = 1; +final int limit36 = 1; +_sfdf = 0 ; +for (;(step36 > 0 && _sfdf <= limit36) || (step36 < 0 && _sfdf >= limit36) ;_sfdf = ((int)(0 + _sfdf + step36)) ) { +Debug.locals.put("sfdf", _sfdf); + BA.debugLineNum = 101;BA.debugLine="CustomListView1.Add(CreateListItem(\"ejemplo\",\"1\""; +Debug.ShouldStop(16); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (gunav2.keymon.com.mx.c_historico2.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ejemplo")),(Object)(BA.numberCast(int.class, "1")),(Object)(BA.numberCast(int.class, "2")),(Object)(BA.numberCast(int.class, "3")),(Object)(BA.numberCast(int.class, "4")),(Object)(BA.numberCast(int.class, 284)),(Object)(BA.numberCast(int.class, 144))).getObject()),(Object)(RemoteObject.createImmutable((_sfdf)))); + } +}Debug.locals.put("sfdf", _sfdf); +; + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,139); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_historico2","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_historico2 parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_historico2 parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,139); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 142;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(8192); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 143;BA.debugLine="Return False"; +Debug.ShouldStop(16384); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 144;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_historico2","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 44;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 45;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4096); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 47;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(16384); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_historico2.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 48;BA.debugLine="Root.LoadLayout(\"nota2\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("nota2")),__ref.getField(false, "ba")); + BA.debugLineNum = 49;BA.debugLine="borra.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico2.__c.getField(true,"False")); + BA.debugLineNum = 50;BA.debugLine="Titulo.Text = \"Acumulado\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Acumulado")); + BA.debugLineNum = 51;BA.debugLine="b_desc.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b_desc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico2.__c.getField(true,"False")); + BA.debugLineNum = 52;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",c_historico2.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_historico2.__c.getField(true,"False"))) { + BA.debugLineNum = 53;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(1048576); +c_historico2.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_historico2.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 56;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_historico2._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_historico2._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_historico2._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_historico2._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_historico2._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_historico2._g); + //BA.debugLineNum = 6;BA.debugLine="Dim clie_id As String"; +c_historico2._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_historico2._clie_id); + //BA.debugLineNum = 7;BA.debugLine="Dim sDate,sTime As String"; +c_historico2._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_historico2._sdate); +c_historico2._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_historico2._stime); + //BA.debugLineNum = 8;BA.debugLine="Dim usuario As String"; +c_historico2._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_historico2._usuario); + //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; +c_historico2._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_historico2._c); + //BA.debugLineNum = 11;BA.debugLine="Dim ruta As String"; +c_historico2._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_historico2._ruta); + //BA.debugLineNum = 12;BA.debugLine="Dim Regresar As Button"; +c_historico2._regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_regresar",c_historico2._regresar); + //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +c_historico2._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_historico2._listview1); + //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +c_historico2._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_historico2._l_cant); + //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +c_historico2._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_historico2._l_total); + //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +c_historico2._borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_borra",c_historico2._borra); + //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +c_historico2._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_historico2._existe); + //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +c_historico2._result = RemoteObject.createImmutable("");__ref.setField("_result",c_historico2._result); + //BA.debugLineNum = 23;BA.debugLine="Private Titulo As Label"; +c_historico2._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_historico2._titulo); + //BA.debugLineNum = 24;BA.debugLine="Private b_desc As Button"; +c_historico2._b_desc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_desc",c_historico2._b_desc); + //BA.debugLineNum = 25;BA.debugLine="Private ListView2 As ListView"; +c_historico2._listview2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview2",c_historico2._listview2); + //BA.debugLineNum = 26;BA.debugLine="Dim tgl As Toggle"; +c_historico2._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_historico2._tgl); + //BA.debugLineNum = 27;BA.debugLine="Private p_nota As Panel"; +c_historico2._p_nota = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_nota",c_historico2._p_nota); + //BA.debugLineNum = 28;BA.debugLine="Private Panel1 As Panel"; +c_historico2._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_historico2._panel1); + //BA.debugLineNum = 29;BA.debugLine="Private l_productohist As Label"; +c_historico2._l_productohist = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_productohist",c_historico2._l_productohist); + //BA.debugLineNum = 30;BA.debugLine="Private l_s1 As Label"; +c_historico2._l_s1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_s1",c_historico2._l_s1); + //BA.debugLineNum = 31;BA.debugLine="Private l_s2 As Label"; +c_historico2._l_s2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_s2",c_historico2._l_s2); + //BA.debugLineNum = 32;BA.debugLine="Private l_s3 As Label"; +c_historico2._l_s3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_s3",c_historico2._l_s3); + //BA.debugLineNum = 33;BA.debugLine="Private l_s4 As Label"; +c_historico2._l_s4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_s4",c_historico2._l_s4); + //BA.debugLineNum = 34;BA.debugLine="Private CustomListView1 As CustomListView"; +c_historico2._customlistview1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_customlistview1",c_historico2._customlistview1); + //BA.debugLineNum = 36;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _prodhis,RemoteObject _s1,RemoteObject _s2,RemoteObject _s3,RemoteObject _s4,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,110); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_historico2","createlistitem", __ref, _prodhis, _s1, _s2, _s3, _s4, _width, _height);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("prodhis", _prodhis); +Debug.locals.put("s1", _s1); +Debug.locals.put("s2", _s2); +Debug.locals.put("s3", _s3); +Debug.locals.put("s4", _s4); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 110;BA.debugLine="Sub CreateListItem(prodhis As String, s1 As Int, s"; +Debug.ShouldStop(8192); + BA.debugLineNum = 111;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(16384); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 112;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(32768); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 113;BA.debugLine="p.LoadLayout(\"historicobat\")"; +Debug.ShouldStop(65536); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("historicobat")),__ref.getField(false, "ba")); + BA.debugLineNum = 127;BA.debugLine="Return p"; +Debug.ShouldStop(1073741824); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,130); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_historico2","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 130;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(2); + BA.debugLineNum = 133;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemClick (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,151); +if (RapidSub.canDelegate("listview1_itemclick")) { return __ref.runUserSub(false, "c_historico2","listview1_itemclick", __ref, _position, _value);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 151;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 152;BA.debugLine="ListView2.Visible = True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico2.__c.getField(true,"True")); + BA.debugLineNum = 153;BA.debugLine="ListView1.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico2.__c.getField(true,"False")); + BA.debugLineNum = 154;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(33554432); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 155;BA.debugLine="For i=0 To 20"; +Debug.ShouldStop(67108864); +{ +final int step4 = 1; +final int limit4 = 20; +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 156;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; +Debug.ShouldStop(134217728); +_label1 = __ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 157;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(268435456); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 158;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(536870912); +_label1.runMethod(true,"setTextColor",c_historico2.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 159;BA.debugLine="ListView2.AddSingleLine(i)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_i))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 161;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview2_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView2_ItemClick (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,146); +if (RapidSub.canDelegate("listview2_itemclick")) { return __ref.runUserSub(false, "c_historico2","listview2_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 146;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(131072); + BA.debugLineNum = 147;BA.debugLine="ListView2.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico2.__c.getField(true,"False")); + BA.debugLineNum = 148;BA.debugLine="ListView1.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico2.__c.getField(true,"True")); + BA.debugLineNum = 149;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Regresar_Click (c_historico2) ","c_historico2",18,__ref.getField(false, "ba"),__ref,135); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_historico2","regresar_click", __ref);} + BA.debugLineNum = 135;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 136;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(128); +c_historico2._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 137;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico_subs_0.java new file mode 100644 index 0000000..31a0a61 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historico_subs_0.java @@ -0,0 +1,415 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_historico_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,53); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_historico","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 53;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 54;BA.debugLine="p_nota.Height = Root.Height * 0.9"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_nota" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.9)}, "*",0, 0))); + BA.debugLineNum = 55;BA.debugLine="p_nota.Width = Root.Width * 0.9"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_nota" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0))); + BA.debugLineNum = 56;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 57;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(16777216); +if (c_historico.__c.runMethod(true,"Not",(Object)(c_historico._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 58;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(33554432); +c_historico.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_historico.__c.getField(true,"True"))); + BA.debugLineNum = 59;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(67108864); +c_historico.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_historico._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 61;BA.debugLine="L_CANT.Text =\"\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 62;BA.debugLine="L_TOTAL.Text=\"\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 63;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 64;BA.debugLine="C.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 65;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(1); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 66;BA.debugLine="C.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 67;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc")))); + BA.debugLineNum = 68;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(8); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 69;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 70;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(32); +{ +final int step17 = 1; +final int limit17 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step17 > 0 && _i <= limit17) || (step17 < 0 && _i >= limit17) ;_i = ((int)(0 + _i + step17)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 71;BA.debugLine="c.Position=i"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 72;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(128); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 73;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(256); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 74;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(512); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 75;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(1024); +_label1.runMethod(true,"setTextColor",c_historico.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 76;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(2048); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 77;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(4096); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 78;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(8192); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 79;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(16384); +_label2.runMethod(true,"setTextColor",c_historico.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 80;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; +Debug.ShouldStop(32768); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))),RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))),RemoteObject.createImmutable(" Fecha: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 83;BA.debugLine="If Existe <> 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 84;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 85;BA.debugLine="C.Position=0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 86;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 87;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))); + }; + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,104); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_historico","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_historico parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_historico parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,104); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 107;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(1024); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 108;BA.debugLine="Return False"; +Debug.ShouldStop(2048); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_historico","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 37;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(16); + BA.debugLineNum = 38;BA.debugLine="Root = Root1"; +Debug.ShouldStop(32); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 40;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(128); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_historico.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 41;BA.debugLine="Root.LoadLayout(\"nota\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("nota")),__ref.getField(false, "ba")); + BA.debugLineNum = 42;BA.debugLine="borra.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 43;BA.debugLine="Titulo.Text = \"Acumulado\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Acumulado")); + BA.debugLineNum = 44;BA.debugLine="b_desc.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_b_desc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 45;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",c_historico.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_historico.__c.getField(true,"False"))) { + BA.debugLineNum = 46;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(8192); +c_historico.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_historico.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 49;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_historico._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_historico._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_historico._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_historico._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_historico._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_historico._g); + //BA.debugLineNum = 6;BA.debugLine="Dim clie_id As String"; +c_historico._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_historico._clie_id); + //BA.debugLineNum = 7;BA.debugLine="Dim sDate,sTime As String"; +c_historico._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_historico._sdate); +c_historico._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_historico._stime); + //BA.debugLineNum = 8;BA.debugLine="Dim usuario As String"; +c_historico._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_historico._usuario); + //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; +c_historico._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_historico._c); + //BA.debugLineNum = 11;BA.debugLine="Dim ruta As String"; +c_historico._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_historico._ruta); + //BA.debugLineNum = 12;BA.debugLine="Dim Regresar As Button"; +c_historico._regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_regresar",c_historico._regresar); + //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +c_historico._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_historico._listview1); + //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +c_historico._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_historico._l_cant); + //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +c_historico._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_historico._l_total); + //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +c_historico._borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_borra",c_historico._borra); + //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +c_historico._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_historico._existe); + //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +c_historico._result = RemoteObject.createImmutable("");__ref.setField("_result",c_historico._result); + //BA.debugLineNum = 23;BA.debugLine="Private Titulo As Label"; +c_historico._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_historico._titulo); + //BA.debugLineNum = 24;BA.debugLine="Private b_desc As Button"; +c_historico._b_desc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_desc",c_historico._b_desc); + //BA.debugLineNum = 25;BA.debugLine="Private ListView2 As ListView"; +c_historico._listview2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview2",c_historico._listview2); + //BA.debugLineNum = 26;BA.debugLine="Dim tgl As Toggle"; +c_historico._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_historico._tgl); + //BA.debugLineNum = 27;BA.debugLine="Private p_nota As Panel"; +c_historico._p_nota = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_nota",c_historico._p_nota); + //BA.debugLineNum = 28;BA.debugLine="Private Panel1 As Panel"; +c_historico._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_historico._panel1); + //BA.debugLineNum = 29;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,95); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_historico","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 95;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 98;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_historico","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 32;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 33;BA.debugLine="Return Me"; +Debug.ShouldStop(1); +if (true) return __ref; + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemClick (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,116); +if (RapidSub.canDelegate("listview1_itemclick")) { return __ref.runUserSub(false, "c_historico","listview1_itemclick", __ref, _position, _value);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 116;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(524288); + BA.debugLineNum = 117;BA.debugLine="ListView2.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"True")); + BA.debugLineNum = 118;BA.debugLine="ListView1.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 119;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(4194304); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 120;BA.debugLine="For i=0 To 20"; +Debug.ShouldStop(8388608); +{ +final int step4 = 1; +final int limit4 = 20; +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 121;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; +Debug.ShouldStop(16777216); +_label1 = __ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 122;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(33554432); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 123;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(67108864); +_label1.runMethod(true,"setTextColor",c_historico.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 124;BA.debugLine="ListView2.AddSingleLine(i)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_i))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 126;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview2_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView2_ItemClick (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,111); +if (RapidSub.canDelegate("listview2_itemclick")) { return __ref.runUserSub(false, "c_historico","listview2_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 111;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(16384); + BA.debugLineNum = 112;BA.debugLine="ListView2.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 113;BA.debugLine="ListView1.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"True")); + BA.debugLineNum = 114;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Regresar_Click (c_historico) ","c_historico",17,__ref.getField(false, "ba"),__ref,100); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_historico","regresar_click", __ref);} + BA.debugLineNum = 100;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 101;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(16); +c_historico._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 102;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historicobat.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historicobat.java new file mode 100644 index 0000000..9863152 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historicobat.java @@ -0,0 +1,59 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_historicobat { + public static RemoteObject myClass; + public c_historicobat() { + } + public static PCBA staticBA = new PCBA(null, c_historicobat.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _regresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_desc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _p_nota = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_productohist = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_s1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_s2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_s3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_s4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _l_promediohist = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_desc",_ref.getField(false, "_b_desc"),"borra",_ref.getField(false, "_borra"),"c",_ref.getField(false, "_c"),"clie_id",_ref.getField(false, "_clie_id"),"CustomListView1",_ref.getField(false, "_customlistview1"),"DateUtils",_ref.getField(false, "_dateutils"),"Existe",_ref.getField(false, "_existe"),"g",_ref.getField(false, "_g"),"L_CANT",_ref.getField(false, "_l_cant"),"l_productohist",_ref.getField(false, "_l_productohist"),"L_PROMEDIOHIST",_ref.getField(false, "_l_promediohist"),"l_s1",_ref.getField(false, "_l_s1"),"l_s2",_ref.getField(false, "_l_s2"),"l_s3",_ref.getField(false, "_l_s3"),"l_s4",_ref.getField(false, "_l_s4"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"ListView2",_ref.getField(false, "_listview2"),"p_nota",_ref.getField(false, "_p_nota"),"Panel1",_ref.getField(false, "_panel1"),"Regresar",_ref.getField(false, "_regresar"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"tgl",_ref.getField(false, "_tgl"),"Titulo",_ref.getField(false, "_titulo"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historicobat_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historicobat_subs_0.java new file mode 100644 index 0000000..0380921 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_historicobat_subs_0.java @@ -0,0 +1,452 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_historicobat_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_historicobat) ","c_historicobat",19,__ref.getField(false, "ba"),__ref,54); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_historicobat","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _prohit = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _sfdf = 0; +RemoteObject _nombreproducto = RemoteObject.createImmutable(""); +RemoteObject _cant_sem4 = RemoteObject.createImmutable(""); +RemoteObject _cant_sem3 = RemoteObject.createImmutable(""); +RemoteObject _cant_sem2 = RemoteObject.createImmutable(""); +RemoteObject _cant_sem1 = RemoteObject.createImmutable(""); +RemoteObject _sql = RemoteObject.createImmutable(""); +RemoteObject _prohit2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _promx = RemoteObject.createImmutable(0); +RemoteObject _c1 = RemoteObject.createImmutable(0); +RemoteObject _c2 = RemoteObject.createImmutable(0); +RemoteObject _c3 = RemoteObject.createImmutable(0); +RemoteObject _c4 = RemoteObject.createImmutable(0); + BA.debugLineNum = 54;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 57;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historicobat.__c.getField(true,"False")); + BA.debugLineNum = 58;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(33554432); +if (c_historicobat.__c.runMethod(true,"Not",(Object)(c_historicobat._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 59;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(67108864); +c_historicobat.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_historicobat.__c.getField(true,"True"))); + BA.debugLineNum = 60;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(134217728); +c_historicobat.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_historicobat._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 62;BA.debugLine="L_CANT.Text =\"\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 63;BA.debugLine="L_TOTAL.Text=\"\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 64;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historicobat._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 65;BA.debugLine="C.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 66;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(2); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 67;BA.debugLine="C.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 68;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historicobat._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc")))); + BA.debugLineNum = 69;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(16); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 70;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 71;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(64); +{ +final int step15 = 1; +final int limit15 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15) ;_i = ((int)(0 + _i + step15)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 72;BA.debugLine="c.Position=i"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 73;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(256); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 74;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(512); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 75;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(1024); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 76;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(2048); +_label1.runMethod(true,"setTextColor",c_historicobat.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 77;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(4096); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 78;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(8192); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 79;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(16384); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 80;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(32768); +_label2.runMethod(true,"setTextColor",c_historicobat.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 81;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; +Debug.ShouldStop(65536); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))),RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))),RemoteObject.createImmutable(" Fecha: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 84;BA.debugLine="If Existe <> 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 85;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historicobat._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 86;BA.debugLine="C.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 87;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 88;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))); + }; + BA.debugLineNum = 90;BA.debugLine="ListView1.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historicobat.__c.getField(true,"False")); + BA.debugLineNum = 92;BA.debugLine="CustomListView1.AsView.Height = Root.Height * 0.4"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.45)}, "*",0, 0))); + BA.debugLineNum = 93;BA.debugLine="CustomListView1.Clear"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 94;BA.debugLine="Dim prohit As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(536870912); +_prohit = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_prohit = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_historicobat._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct HVD_PRONOMBRE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))));Debug.locals.put("prohit", _prohit);Debug.locals.put("prohit", _prohit); + BA.debugLineNum = 96;BA.debugLine="If prohit.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_prohit.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 99;BA.debugLine="For sfdf = 0 To prohit.RowCount - 1"; +Debug.ShouldStop(4); +{ +final int step39 = 1; +final int limit39 = RemoteObject.solve(new RemoteObject[] {_prohit.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_sfdf = 0 ; +for (;(step39 > 0 && _sfdf <= limit39) || (step39 < 0 && _sfdf >= limit39) ;_sfdf = ((int)(0 + _sfdf + step39)) ) { +Debug.locals.put("sfdf", _sfdf); + BA.debugLineNum = 100;BA.debugLine="prohit.Position = sfdf"; +Debug.ShouldStop(8); +_prohit.runMethod(true,"setPosition",BA.numberCast(int.class, _sfdf)); + BA.debugLineNum = 101;BA.debugLine="Dim nombreProducto As String = prohit.GetString"; +Debug.ShouldStop(16); +_nombreproducto = _prohit.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")));Debug.locals.put("nombreProducto", _nombreproducto);Debug.locals.put("nombreProducto", _nombreproducto); + BA.debugLineNum = 105;BA.debugLine="Dim cant_sem4 As String = \"0\""; +Debug.ShouldStop(256); +_cant_sem4 = BA.ObjectToString("0");Debug.locals.put("cant_sem4", _cant_sem4);Debug.locals.put("cant_sem4", _cant_sem4); + BA.debugLineNum = 106;BA.debugLine="Dim cant_sem3 As String = \"0\""; +Debug.ShouldStop(512); +_cant_sem3 = BA.ObjectToString("0");Debug.locals.put("cant_sem3", _cant_sem3);Debug.locals.put("cant_sem3", _cant_sem3); + BA.debugLineNum = 107;BA.debugLine="Dim cant_sem2 As String = \"0\""; +Debug.ShouldStop(1024); +_cant_sem2 = BA.ObjectToString("0");Debug.locals.put("cant_sem2", _cant_sem2);Debug.locals.put("cant_sem2", _cant_sem2); + BA.debugLineNum = 108;BA.debugLine="Dim cant_sem1 As String = \"0\""; +Debug.ShouldStop(2048); +_cant_sem1 = BA.ObjectToString("0");Debug.locals.put("cant_sem1", _cant_sem1);Debug.locals.put("cant_sem1", _cant_sem1); + BA.debugLineNum = 141;BA.debugLine="Dim sql As String = $\" WITH FechasObjetivo"; +Debug.ShouldStop(4096); +_sql = (RemoteObject.concat(RemoteObject.createImmutable("\n"),RemoteObject.createImmutable(" WITH FechasObjetivo (Fecha) AS (\n"),RemoteObject.createImmutable(" SELECT strftime('%d/%m/%Y', date('now', 'localtime', '-28 days'))\n"),RemoteObject.createImmutable(" UNION ALL\n"),RemoteObject.createImmutable(" SELECT strftime('%d/%m/%Y', date('now', 'localtime', '-21 days'))\n"),RemoteObject.createImmutable(" UNION ALL\n"),RemoteObject.createImmutable(" SELECT strftime('%d/%m/%Y', date('now', 'localtime', '-14 days'))\n"),RemoteObject.createImmutable(" UNION ALL\n"),RemoteObject.createImmutable(" SELECT strftime('%d/%m/%Y', date('now', 'localtime', '-7 days'))\n"),RemoteObject.createImmutable(" )\n"),RemoteObject.createImmutable(" SELECT \n"),RemoteObject.createImmutable(" COALESCE(SUM(H.HVD_CANT), 0) AS HVD_CANT_TOTAL,\n"),RemoteObject.createImmutable(" -- Si el mes de la fecha es igual al mes actual, devuelve 1, si no 0\n"),RemoteObject.createImmutable(" CASE WHEN SUBSTR(F.Fecha, 4, 2) = strftime('%m', 'now', 'localtime') THEN 1 ELSE 0 END AS EsMesActual\n"),RemoteObject.createImmutable(" FROM \n"),RemoteObject.createImmutable(" FechasObjetivo AS F\n"),RemoteObject.createImmutable(" LEFT JOIN \n"),RemoteObject.createImmutable(" HIST_VENTAS AS H \n"),RemoteObject.createImmutable(" ON F.Fecha = H.HVD_FECHA\n"),RemoteObject.createImmutable(" AND H.HVD_CLIENTE IN (SELECT CUENTA FROM cuentaa)\n"),RemoteObject.createImmutable(" AND H.HVD_PRONOMBRE = '"),c_historicobat.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nombreproducto))),RemoteObject.createImmutable("'\n"),RemoteObject.createImmutable(" GROUP BY F.Fecha\n"),RemoteObject.createImmutable(" ORDER BY SUBSTR(F.Fecha, 7, 4), SUBSTR(F.Fecha, 4, 2), SUBSTR(F.Fecha, 1, 2)\n"),RemoteObject.createImmutable("")));Debug.locals.put("sql", _sql);Debug.locals.put("sql", _sql); + BA.debugLineNum = 169;BA.debugLine="Dim prohit2 As Cursor = B4XPages.MainPage.skmt."; +Debug.ShouldStop(256); +_prohit2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_prohit2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_historicobat._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(_sql)));Debug.locals.put("prohit2", _prohit2);Debug.locals.put("prohit2", _prohit2); + BA.debugLineNum = 193;BA.debugLine="Dim promx As Double = (cant_sem4 + cant_sem3 +"; +Debug.ShouldStop(1); +_promx = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant_sem4),BA.numberCast(double.class, _cant_sem3),BA.numberCast(double.class, _cant_sem2),BA.numberCast(double.class, _cant_sem1)}, "+++",3, 0)),RemoteObject.createImmutable(4)}, "/",0, 0);Debug.locals.put("promx", _promx);Debug.locals.put("promx", _promx); + BA.debugLineNum = 200;BA.debugLine="Dim c1, c2, c3, c4 As Int"; +Debug.ShouldStop(128); +_c1 = RemoteObject.createImmutable(0);Debug.locals.put("c1", _c1); +_c2 = RemoteObject.createImmutable(0);Debug.locals.put("c2", _c2); +_c3 = RemoteObject.createImmutable(0);Debug.locals.put("c3", _c3); +_c4 = RemoteObject.createImmutable(0);Debug.locals.put("c4", _c4); + BA.debugLineNum = 202;BA.debugLine="If prohit2.RowCount = 4 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_prohit2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 4))) { + BA.debugLineNum = 203;BA.debugLine="prohit2.Position = 0"; +Debug.ShouldStop(1024); +_prohit2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 204;BA.debugLine="cant_sem4 = prohit2.GetString(\"HVD_CANT_TOTAL\""; +Debug.ShouldStop(2048); +_cant_sem4 = _prohit2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT_TOTAL")));Debug.locals.put("cant_sem4", _cant_sem4); + BA.debugLineNum = 205;BA.debugLine="c1 = prohit2.GetInt(\"EsMesActual\")"; +Debug.ShouldStop(4096); +_c1 = _prohit2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("EsMesActual")));Debug.locals.put("c1", _c1); + BA.debugLineNum = 207;BA.debugLine="prohit2.Position = 1"; +Debug.ShouldStop(16384); +_prohit2.runMethod(true,"setPosition",BA.numberCast(int.class, 1)); + BA.debugLineNum = 208;BA.debugLine="cant_sem3 = prohit2.GetString(\"HVD_CANT_TOTAL\""; +Debug.ShouldStop(32768); +_cant_sem3 = _prohit2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT_TOTAL")));Debug.locals.put("cant_sem3", _cant_sem3); + BA.debugLineNum = 209;BA.debugLine="c2 = prohit2.GetInt(\"EsMesActual\")"; +Debug.ShouldStop(65536); +_c2 = _prohit2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("EsMesActual")));Debug.locals.put("c2", _c2); + BA.debugLineNum = 211;BA.debugLine="prohit2.Position = 2"; +Debug.ShouldStop(262144); +_prohit2.runMethod(true,"setPosition",BA.numberCast(int.class, 2)); + BA.debugLineNum = 212;BA.debugLine="cant_sem2 = prohit2.GetString(\"HVD_CANT_TOTAL\""; +Debug.ShouldStop(524288); +_cant_sem2 = _prohit2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT_TOTAL")));Debug.locals.put("cant_sem2", _cant_sem2); + BA.debugLineNum = 213;BA.debugLine="c3 = prohit2.GetInt(\"EsMesActual\")"; +Debug.ShouldStop(1048576); +_c3 = _prohit2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("EsMesActual")));Debug.locals.put("c3", _c3); + BA.debugLineNum = 215;BA.debugLine="prohit2.Position = 3"; +Debug.ShouldStop(4194304); +_prohit2.runMethod(true,"setPosition",BA.numberCast(int.class, 3)); + BA.debugLineNum = 216;BA.debugLine="cant_sem1 = prohit2.GetString(\"HVD_CANT_TOTAL\""; +Debug.ShouldStop(8388608); +_cant_sem1 = _prohit2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT_TOTAL")));Debug.locals.put("cant_sem1", _cant_sem1); + BA.debugLineNum = 217;BA.debugLine="c4 = prohit2.GetInt(\"EsMesActual\")"; +Debug.ShouldStop(16777216); +_c4 = _prohit2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("EsMesActual")));Debug.locals.put("c4", _c4); + }else { + BA.debugLineNum = 219;BA.debugLine="Log(\"Error en filas\")"; +Debug.ShouldStop(67108864); +c_historicobat.__c.runVoidMethod ("LogImpl","076152997",RemoteObject.createImmutable("Error en filas"),0); + }; + BA.debugLineNum = 221;BA.debugLine="prohit2.Close"; +Debug.ShouldStop(268435456); +_prohit2.runVoidMethod ("Close"); + BA.debugLineNum = 224;BA.debugLine="CustomListView1.Add(CreateListItem(nombreProduc"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (gunav2.keymon.com.mx.c_historicobat.class, "_createlistitem" /*RemoteObject*/ ,(Object)(_nombreproducto),(Object)(BA.numberCast(int.class, _cant_sem4)),(Object)(BA.numberCast(int.class, _cant_sem3)),(Object)(BA.numberCast(int.class, _cant_sem2)),(Object)(BA.numberCast(int.class, _cant_sem1)),(Object)(_promx),(Object)(_c1),(Object)(_c2),(Object)(_c3),(Object)(_c4)).getObject()),(Object)(RemoteObject.createImmutable((1)))); + } +}Debug.locals.put("sfdf", _sfdf); +; + BA.debugLineNum = 228;BA.debugLine="prohit.Close ' Cerramos el cursor externo"; +Debug.ShouldStop(8); +_prohit.runVoidMethod ("Close"); + }; + BA.debugLineNum = 235;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_historicobat) ","c_historicobat",19,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_historicobat","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 44;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 45;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4096); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 47;BA.debugLine="Root.LoadLayout(\"nota2\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("nota2")),__ref.getField(false, "ba")); + BA.debugLineNum = 48;BA.debugLine="borra.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historicobat.__c.getField(true,"False")); + BA.debugLineNum = 49;BA.debugLine="Titulo.Text = \"Acumulado\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Acumulado")); + BA.debugLineNum = 50;BA.debugLine="b_desc.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_b_desc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historicobat.__c.getField(true,"False")); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_historicobat._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_historicobat._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_historicobat._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_historicobat._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_historicobat._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_historicobat._g); + //BA.debugLineNum = 6;BA.debugLine="Dim clie_id As String"; +c_historicobat._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_historicobat._clie_id); + //BA.debugLineNum = 7;BA.debugLine="Dim sDate,sTime As String"; +c_historicobat._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_historicobat._sdate); +c_historicobat._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_historicobat._stime); + //BA.debugLineNum = 8;BA.debugLine="Dim usuario As String"; +c_historicobat._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_historicobat._usuario); + //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; +c_historicobat._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_historicobat._c); + //BA.debugLineNum = 11;BA.debugLine="Dim ruta As String"; +c_historicobat._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_historicobat._ruta); + //BA.debugLineNum = 12;BA.debugLine="Dim Regresar As Button"; +c_historicobat._regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_regresar",c_historicobat._regresar); + //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +c_historicobat._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_historicobat._listview1); + //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +c_historicobat._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_historicobat._l_cant); + //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +c_historicobat._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_historicobat._l_total); + //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +c_historicobat._borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_borra",c_historicobat._borra); + //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +c_historicobat._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_historicobat._existe); + //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +c_historicobat._result = RemoteObject.createImmutable("");__ref.setField("_result",c_historicobat._result); + //BA.debugLineNum = 23;BA.debugLine="Private Titulo As Label"; +c_historicobat._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_historicobat._titulo); + //BA.debugLineNum = 24;BA.debugLine="Private b_desc As Button"; +c_historicobat._b_desc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_desc",c_historicobat._b_desc); + //BA.debugLineNum = 25;BA.debugLine="Private ListView2 As ListView"; +c_historicobat._listview2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview2",c_historicobat._listview2); + //BA.debugLineNum = 26;BA.debugLine="Dim tgl As Toggle"; +c_historicobat._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_historicobat._tgl); + //BA.debugLineNum = 27;BA.debugLine="Private p_nota As Panel"; +c_historicobat._p_nota = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_nota",c_historicobat._p_nota); + //BA.debugLineNum = 28;BA.debugLine="Private Panel1 As Panel"; +c_historicobat._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_historicobat._panel1); + //BA.debugLineNum = 29;BA.debugLine="Private l_productohist As Label"; +c_historicobat._l_productohist = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_productohist",c_historicobat._l_productohist); + //BA.debugLineNum = 30;BA.debugLine="Private l_s1 As Label"; +c_historicobat._l_s1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_s1",c_historicobat._l_s1); + //BA.debugLineNum = 31;BA.debugLine="Private l_s2 As Label"; +c_historicobat._l_s2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_s2",c_historicobat._l_s2); + //BA.debugLineNum = 32;BA.debugLine="Private l_s3 As Label"; +c_historicobat._l_s3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_s3",c_historicobat._l_s3); + //BA.debugLineNum = 33;BA.debugLine="Private l_s4 As Label"; +c_historicobat._l_s4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_s4",c_historicobat._l_s4); + //BA.debugLineNum = 34;BA.debugLine="Private CustomListView1 As CustomListView"; +c_historicobat._customlistview1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_customlistview1",c_historicobat._customlistview1); + //BA.debugLineNum = 35;BA.debugLine="Private L_PROMEDIOHIST As Label"; +c_historicobat._l_promediohist = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_promediohist",c_historicobat._l_promediohist); + //BA.debugLineNum = 36;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _prodhis,RemoteObject _s1,RemoteObject _s2,RemoteObject _s3,RemoteObject _s4,RemoteObject _prom,RemoteObject _m1,RemoteObject _m2,RemoteObject _m3,RemoteObject _m4) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_historicobat) ","c_historicobat",19,__ref.getField(false, "ba"),__ref,253); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_historicobat","createlistitem", __ref, _prodhis, _s1, _s2, _s3, _s4, _prom, _m1, _m2, _m3, _m4);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("prodhis", _prodhis); +Debug.locals.put("s1", _s1); +Debug.locals.put("s2", _s2); +Debug.locals.put("s3", _s3); +Debug.locals.put("s4", _s4); +Debug.locals.put("prom", _prom); +Debug.locals.put("m1", _m1); +Debug.locals.put("m2", _m2); +Debug.locals.put("m3", _m3); +Debug.locals.put("m4", _m4); + BA.debugLineNum = 253;BA.debugLine="Sub CreateListItem(prodhis As String, s1 As Int, s"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 254;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(536870912); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 256;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 288dip, 170dip)"; +Debug.ShouldStop(-2147483648); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_historicobat.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 288)))),(Object)(c_historicobat.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 170))))); + BA.debugLineNum = 257;BA.debugLine="p.LoadLayout(\"historicobat\")"; +Debug.ShouldStop(1); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("historicobat")),__ref.getField(false, "ba")); + BA.debugLineNum = 259;BA.debugLine="l_productohist.Text = prodhis"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_productohist" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_prodhis)); + BA.debugLineNum = 260;BA.debugLine="l_s1.Text = s1"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_s1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s1)); + BA.debugLineNum = 261;BA.debugLine="l_s2.Text = s2"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_s2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s2)); + BA.debugLineNum = 262;BA.debugLine="l_s3.Text = s3"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_s3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s3)); + BA.debugLineNum = 263;BA.debugLine="l_s4.Text = s4"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_s4" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s4)); + BA.debugLineNum = 267;BA.debugLine="l_s1.Color = IIf(m1 = 1, xui.Color_Blue, xui.Colo"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_s1" /*RemoteObject*/ ).runVoidMethod ("setColor",BA.numberCast(int.class, ((RemoteObject.solveBoolean("=",_m1,BA.numberCast(double.class, 1))) ? ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Blue"))) : ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Yellow")))))); + BA.debugLineNum = 268;BA.debugLine="l_s2.Color = IIf(m2 = 1, xui.Color_Blue, xui.Colo"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_s2" /*RemoteObject*/ ).runVoidMethod ("setColor",BA.numberCast(int.class, ((RemoteObject.solveBoolean("=",_m2,BA.numberCast(double.class, 1))) ? ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Blue"))) : ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Yellow")))))); + BA.debugLineNum = 269;BA.debugLine="l_s3.Color = IIf(m3 = 1, xui.Color_Blue, xui.Colo"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_s3" /*RemoteObject*/ ).runVoidMethod ("setColor",BA.numberCast(int.class, ((RemoteObject.solveBoolean("=",_m3,BA.numberCast(double.class, 1))) ? ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Blue"))) : ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Yellow")))))); + BA.debugLineNum = 270;BA.debugLine="l_s4.Color = IIf(m4 = 1, xui.Color_Blue, xui.Colo"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_s4" /*RemoteObject*/ ).runVoidMethod ("setColor",BA.numberCast(int.class, ((RemoteObject.solveBoolean("=",_m4,BA.numberCast(double.class, 1))) ? ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Blue"))) : ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Yellow")))))); + BA.debugLineNum = 273;BA.debugLine="l_s1.TextColor = IIf(m1 = 1, xui.Color_White, xui"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_s1" /*RemoteObject*/ ).runMethod(true,"setTextColor",BA.numberCast(int.class, ((RemoteObject.solveBoolean("=",_m1,BA.numberCast(double.class, 1))) ? ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White"))) : ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black")))))); + BA.debugLineNum = 274;BA.debugLine="l_s2.TextColor = IIf(m2 = 1, xui.Color_White, xui"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_s2" /*RemoteObject*/ ).runMethod(true,"setTextColor",BA.numberCast(int.class, ((RemoteObject.solveBoolean("=",_m2,BA.numberCast(double.class, 1))) ? ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White"))) : ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black")))))); + BA.debugLineNum = 275;BA.debugLine="l_s3.TextColor = IIf(m3 = 1, xui.Color_White, xui"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_s3" /*RemoteObject*/ ).runMethod(true,"setTextColor",BA.numberCast(int.class, ((RemoteObject.solveBoolean("=",_m3,BA.numberCast(double.class, 1))) ? ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White"))) : ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black")))))); + BA.debugLineNum = 276;BA.debugLine="l_s4.TextColor = IIf(m4 = 1, xui.Color_White, xui"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_s4" /*RemoteObject*/ ).runMethod(true,"setTextColor",BA.numberCast(int.class, ((RemoteObject.solveBoolean("=",_m4,BA.numberCast(double.class, 1))) ? ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White"))) : ((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black")))))); + BA.debugLineNum = 278;BA.debugLine="L_PROMEDIOHIST.Text = \"Promedio \" & NumberFormat("; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_promediohist" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Promedio "),c_historicobat.__c.runMethod(true,"NumberFormat",(Object)(_prom),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 280;BA.debugLine="Return p"; +Debug.ShouldStop(8388608); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 281;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_historicobat) ","c_historicobat",19,__ref.getField(false, "ba"),__ref,39); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_historicobat","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 39;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(64); + BA.debugLineNum = 40;BA.debugLine="Return Me"; +Debug.ShouldStop(128); +if (true) return __ref; + BA.debugLineNum = 41;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_mapas.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_mapas.java new file mode 100644 index 0000000..45d6946 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_mapas.java @@ -0,0 +1,32 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_mapas { + public static RemoteObject myClass; + public c_mapas() { + } + public static PCBA staticBA = new PCBA(null, c_mapas.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"Root",_ref.getField(false, "_root"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_mapas_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_mapas_subs_0.java new file mode 100644 index 0000000..66e5756 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_mapas_subs_0.java @@ -0,0 +1,59 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_mapas_subs_0 { + + +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_mapas) ","c_mapas",20,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_mapas","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 13;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4096); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 16;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_mapas._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_mapas._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_mapas._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_mapas._xui); + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_mapas) ","c_mapas",20,__ref.getField(false, "ba"),__ref,7); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_mapas","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(64); + BA.debugLineNum = 8;BA.debugLine="Return Me"; +Debug.ShouldStop(128); +if (true) return __ref; + BA.debugLineNum = 9;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nota.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nota.java new file mode 100644 index 0000000..38aa2f5 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nota.java @@ -0,0 +1,66 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_nota { + public static RemoteObject myClass; + public c_nota() { + } + public static PCBA staticBA = new PCBA(null, c_nota.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _regresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _desc = RemoteObject.createImmutable(""); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _j3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_desc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _descuento = RemoteObject.createImmutable(""); +public static RemoteObject _folio = RemoteObject.createImmutable(""); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _p_nota = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_futuro = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_preventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_descacor = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_descpre = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ocul = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_desct = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"almacen",_ref.getField(false, "_almacen"),"b_desc",_ref.getField(false, "_b_desc"),"borra",_ref.getField(false, "_borra"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"clie_id",_ref.getField(false, "_clie_id"),"DateUtils",_ref.getField(false, "_dateutils"),"DESC",_ref.getField(false, "_desc"),"DESCUENTO",_ref.getField(false, "_descuento"),"Existe",_ref.getField(false, "_existe"),"folio",_ref.getField(false, "_folio"),"g",_ref.getField(false, "_g"),"j3",_ref.getField(false, "_j3"),"L_CANT",_ref.getField(false, "_l_cant"),"l_descacor",_ref.getField(false, "_l_descacor"),"l_descpre",_ref.getField(false, "_l_descpre"),"l_desct",_ref.getField(false, "_l_desct"),"L_FUTURO",_ref.getField(false, "_l_futuro"),"l_ocul",_ref.getField(false, "_l_ocul"),"L_PREVENTA",_ref.getField(false, "_l_preventa"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"p_nota",_ref.getField(false, "_p_nota"),"Panel1",_ref.getField(false, "_panel1"),"Panel3",_ref.getField(false, "_panel3"),"Regresar",_ref.getField(false, "_regresar"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"sTime",_ref.getField(false, "_stime"),"tgl",_ref.getField(false, "_tgl"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"Titulo",_ref.getField(false, "_titulo"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nota_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nota_subs_0.java new file mode 100644 index 0000000..44442b3 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nota_subs_0.java @@ -0,0 +1,2168 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_nota_subs_0 { + + +public static RemoteObject _activity_pause(RemoteObject __ref,RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,393); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "c_nota","activity_pause", __ref, _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 393;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(256); + BA.debugLineNum = 395;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_desc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_desc_Click (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,1060); +if (RapidSub.canDelegate("b_desc_click")) { return __ref.runUserSub(false, "c_nota","b_desc_click", __ref);} + BA.debugLineNum = 1060;BA.debugLine="Sub b_desc_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 1061;BA.debugLine="If DESCUENTO = \"MENOS\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_descuento" /*RemoteObject*/ ),BA.ObjectToString("MENOS"))) { + BA.debugLineNum = 1062;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(32); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1063;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(64); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1064;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(128); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1065;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 1066;BA.debugLine="c.Position=0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1067;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(1024); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 1068;BA.debugLine="c.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1069;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1070;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1071;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(16384); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 1072;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1073;BA.debugLine="result = Msgbox2(\"Seguro que desa dar descuento"; +Debug.ShouldStop(65536); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa dar descuento del 5%?")),(Object)(BA.ObjectToCharSequence("Dar descuento")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 1074;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 1075;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; +Debug.ShouldStop(262144); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT * .95, PE_DESC = 5 WHERE PE_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1076;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1077;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1078;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(2097152); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1079;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +Debug.ShouldStop(4194304); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1080;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1081;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else +{ BA.debugLineNum = 1083;BA.debugLine="ELSE IF DESCUENTO = \"MAS\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_descuento" /*RemoteObject*/ ),BA.ObjectToString("MAS"))) { + BA.debugLineNum = 1084;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(134217728); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1085;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1086;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(536870912); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1087;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 1088;BA.debugLine="c.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1089;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(1); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 1090;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1091;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1092;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1093;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(16); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 1094;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1095;BA.debugLine="result = Msgbox2(\"Seguro que desa CANCELAR el d"; +Debug.ShouldStop(64); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa CANCELAR el descuento?")),(Object)(BA.ObjectToCharSequence("Cancelar descuento")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 1096;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 1097;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; +Debug.ShouldStop(256); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT / .95, PE_DESC = 0 WHERE PE_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1098;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1099;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1100;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(2048); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1101;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +Debug.ShouldStop(4096); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1102;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1103;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }} +; + BA.debugLineNum = 1106;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,250); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_nota","b4xpage_appear", __ref);} +RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable"); +int _i = 0; +RemoteObject _nombre = RemoteObject.createImmutable(""); +RemoteObject _cantidad = RemoteObject.createImmutable(""); +RemoteObject _folioitem = RemoteObject.createImmutable(""); +RemoteObject _cedis = RemoteObject.createImmutable(""); +RemoteObject _precio = RemoteObject.createImmutable(0); +RemoteObject _colortitulo = RemoteObject.createImmutable(0); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _s5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _future = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 250;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 253;BA.debugLine="b_desc.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b_desc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"False")); + BA.debugLineNum = 255;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(1073741824); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 256;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(-2147483648); +c_nota.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_nota.__c.getField(true,"True"))); + BA.debugLineNum = 257;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(1); +c_nota.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_nota._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 260;BA.debugLine="p_nota.Height = Root.Height * 0.9"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_nota" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.9)}, "*",0, 0))); + BA.debugLineNum = 261;BA.debugLine="p_nota.Width = Root.Width * 0.9"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_nota" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0))); + BA.debugLineNum = 262;BA.debugLine="Panel1.Visible = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 266;BA.debugLine="ListView1.Color = Colors.White"; +Debug.ShouldStop(512); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("setColor",c_nota.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 269;BA.debugLine="Dim cd As ColorDrawable"; +Debug.ShouldStop(4096); +_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("cd", _cd); + BA.debugLineNum = 270;BA.debugLine="cd.Initialize(Colors.White, 0)"; +Debug.ShouldStop(8192); +_cd.runVoidMethod ("Initialize",(Object)(c_nota.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 271;BA.debugLine="ListView1.SingleLineLayout.Background = cd"; +Debug.ShouldStop(16384); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").setField ("Background",(_cd.getObject())); + BA.debugLineNum = 274;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(131072); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 275;BA.debugLine="ListView1.Height = Root.Height * 0.55"; +Debug.ShouldStop(262144); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.55)}, "*",0, 0))); + BA.debugLineNum = 276;BA.debugLine="ListView1.SingleLineLayout.ItemHeight = 110dip"; +Debug.ShouldStop(524288); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").runMethod(true,"setItemHeight",c_nota.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 110)))); + BA.debugLineNum = 277;BA.debugLine="ListView1.SingleLineLayout.Label.Left = 15dip"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label").runMethod(true,"setLeft",c_nota.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 15)))); + BA.debugLineNum = 278;BA.debugLine="ListView1.SingleLineLayout.Label.Width = ListView"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label").runMethod(true,"setWidth",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"getWidth"),c_nota.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)))}, "-",1, 1)); + BA.debugLineNum = 282;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +Debug.ShouldStop(33554432); +c_nota._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_nota._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, IFNULL(PE_RECALCULOTOT,0) AS PE_RECALCULOTOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS desc"))));__ref.setField("_c",c_nota._c); + BA.debugLineNum = 284;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 285;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(268435456); +{ +final int step20 = 1; +final int limit20 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step20 > 0 && _i <= limit20) || (step20 < 0 && _i >= limit20) ;_i = ((int)(0 + _i + step20)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 286;BA.debugLine="c.Position = i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 288;BA.debugLine="Dim Nombre As String = c.GetString(\"PE_PRONOMBR"; +Debug.ShouldStop(-2147483648); +_nombre = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")));Debug.locals.put("Nombre", _nombre);Debug.locals.put("Nombre", _nombre); + BA.debugLineNum = 289;BA.debugLine="Dim Cantidad As String = c.GetString(\"PE_CANT\")"; +Debug.ShouldStop(1); +_cantidad = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("Cantidad", _cantidad);Debug.locals.put("Cantidad", _cantidad); + BA.debugLineNum = 290;BA.debugLine="Dim FolioItem As String = c.GetString(\"PE_FOLIO"; +Debug.ShouldStop(2); +_folioitem = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")));Debug.locals.put("FolioItem", _folioitem);Debug.locals.put("FolioItem", _folioitem); + BA.debugLineNum = 291;BA.debugLine="Dim Cedis As String = c.GetString(\"PE_CEDIS\")"; +Debug.ShouldStop(4); +_cedis = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")));Debug.locals.put("Cedis", _cedis);Debug.locals.put("Cedis", _cedis); + BA.debugLineNum = 293;BA.debugLine="Dim Precio As Double = IIf(c.GetDouble(\"PE_RECA"; +Debug.ShouldStop(16); +_precio = BA.numberCast(double.class, ((RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT"))),BA.numberCast(double.class, 0))) ? ((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))) : ((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))))));Debug.locals.put("Precio", _precio);Debug.locals.put("Precio", _precio); + BA.debugLineNum = 296;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_FUTURA\""; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 297;BA.debugLine="Dim ColorTitulo As Int = Colors.Red"; +Debug.ShouldStop(256); +_colortitulo = c_nota.__c.getField(false,"Colors").getField(true,"Red");Debug.locals.put("ColorTitulo", _colortitulo);Debug.locals.put("ColorTitulo", _colortitulo); + }else { + BA.debugLineNum = 299;BA.debugLine="Dim ColorTitulo As Int = Colors.Black"; +Debug.ShouldStop(1024); +_colortitulo = c_nota.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("ColorTitulo", _colortitulo);Debug.locals.put("ColorTitulo", _colortitulo); + }; + BA.debugLineNum = 301;BA.debugLine="If Cedis.Contains(\"PRO\") Or Not(IsNumber(Cedis)"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(".",_cedis.runMethod(true,"contains",(Object)(RemoteObject.createImmutable("PRO")))) || RemoteObject.solveBoolean(".",c_nota.__c.runMethod(true,"Not",(Object)(c_nota.__c.runMethod(true,"IsNumber",(Object)(_cedis)))))) { + BA.debugLineNum = 303;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_FUTURA\""; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 305;BA.debugLine="ColorTitulo = Colors.RGB(166, 0, 0) ' Azul Fu"; +Debug.ShouldStop(65536); +_colortitulo = c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 166)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("ColorTitulo", _colortitulo); + }else { + BA.debugLineNum = 307;BA.debugLine="ColorTitulo = Colors.RGB(0, 70, 180) ' Azul F"; +Debug.ShouldStop(262144); +_colortitulo = c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 70)),(Object)(BA.numberCast(int.class, 180)));Debug.locals.put("ColorTitulo", _colortitulo); + }; + }; + BA.debugLineNum = 311;BA.debugLine="Dim cs As CSBuilder"; +Debug.ShouldStop(4194304); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 312;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(8388608); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 314;BA.debugLine="cs.Size(19).Typeface(Typeface.DEFAULT_BOLD).Col"; +Debug.ShouldStop(33554432); +_cs.runMethod(false,"Size",(Object)(BA.numberCast(int.class, 19))).runMethod(false,"Typeface",(Object)(c_nota.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD"))).runMethod(false,"Color",(Object)(_colortitulo)).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombre))).runMethod(false,"Pop").runVoidMethod ("Pop"); + BA.debugLineNum = 315;BA.debugLine="cs.Append(CRLF)"; +Debug.ShouldStop(67108864); +_cs.runVoidMethod ("Append",(Object)(BA.ObjectToCharSequence(c_nota.__c.getField(true,"CRLF")))); + BA.debugLineNum = 318;BA.debugLine="cs.Size(15).Color(Colors.RGB(50, 50, 50)).Appen"; +Debug.ShouldStop(536870912); +_cs.runMethod(false,"Size",(Object)(BA.numberCast(int.class, 15))).runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 50)),(Object)(BA.numberCast(int.class, 50)),(Object)(BA.numberCast(int.class, 50))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(" Cant: ")))).runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_cantidad))).runVoidMethod ("Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(" ")))); + BA.debugLineNum = 319;BA.debugLine="cs.Color(Colors.RGB(50, 50, 50)).Append(\"Total:"; +Debug.ShouldStop(1073741824); +_cs.runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 50)),(Object)(BA.numberCast(int.class, 50)),(Object)(BA.numberCast(int.class, 50))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Total: ")))).runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 120)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Typeface",(Object)(c_nota.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_nota.__c.runMethod(true,"NumberFormat2",(Object)(_precio),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_nota.__c.getField(true,"True"))))))).runMethod(false,"Pop").runMethod(false,"Pop").runVoidMethod ("Pop"); + BA.debugLineNum = 320;BA.debugLine="cs.Append(CRLF)"; +Debug.ShouldStop(-2147483648); +_cs.runVoidMethod ("Append",(Object)(BA.ObjectToCharSequence(c_nota.__c.getField(true,"CRLF")))); + BA.debugLineNum = 323;BA.debugLine="cs.Size(13).Color(Colors.RGB(100, 100, 100)).Ap"; +Debug.ShouldStop(4); +_cs.runMethod(false,"Size",(Object)(BA.numberCast(int.class, 13))).runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 100)),(Object)(BA.numberCast(int.class, 100)),(Object)(BA.numberCast(int.class, 100))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable(" Folio: "),_folioitem,RemoteObject.createImmutable(" | "),_cedis)))).runVoidMethod ("PopAll"); + BA.debugLineNum = 325;BA.debugLine="ListView1.AddSingleLine(cs)"; +Debug.ShouldStop(16); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_cs.getObject()))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 328;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 330;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from pedido_cliente WHERE pc_cliente IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 331;BA.debugLine="C.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 332;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(2048); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 333;BA.debugLine="L_CANT.Text = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 334;BA.debugLine="If Existe <> 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 335;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(P"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_CANT) AS PE_CANT from pedido where pe_cliente in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) ")))); + BA.debugLineNum = 336;BA.debugLine="C.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 337;BA.debugLine="L_CANT.Text = c.GetString(\"PE_CANT\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))); + BA.debugLineNum = 339;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 340;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(I"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(IFNULL(PE_DESC,0)) AS DESCUENTO FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 341;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 342;BA.debugLine="DESC = c.GetString(\"DESCUENTO\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_desc" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DESCUENTO")))); + BA.debugLineNum = 343;BA.debugLine="b_desc.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_desc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"False")); + BA.debugLineNum = 346;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(33554432); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 347;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; +Debug.ShouldStop(67108864); +c_nota.__c.runVoidMethod ("LogImpl","076677217",BA.NumberToString(_s3.runMethod(true,"getRowCount")),c_nota.__c.getField(false,"Colors").getField(true,"Yellow")); + BA.debugLineNum = 348;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 349;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(268435456); +_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 350;BA.debugLine="s.Position=0"; +Debug.ShouldStop(536870912); +_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 351;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(1073741824); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 352;BA.debugLine="s5.Position = 0"; +Debug.ShouldStop(-2147483648); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 353;BA.debugLine="L_TOTAL.Text =NumberFormat2(s.GetString(\"TOTAL_"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),BA.numberCast(double.class, _s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))}, "+",1, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_nota.__c.getField(true,"True"))))); + BA.debugLineNum = 354;BA.debugLine="s.Close"; +Debug.ShouldStop(2); +_s.runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 355;BA.debugLine="Else If s3.RowCount = 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 356;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(8); +_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 357;BA.debugLine="s.Position=0"; +Debug.ShouldStop(16); +_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 358;BA.debugLine="L_TOTAL.Text =NumberFormat2(s.GetString(\"TOTAL_"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_nota.__c.getField(true,"True"))))); + BA.debugLineNum = 359;BA.debugLine="s.Close"; +Debug.ShouldStop(64); +_s.runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 362;BA.debugLine="L_TOTAL.text = Subs.calculaTotalConPromoXRango(S"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + }; + BA.debugLineNum = 368;BA.debugLine="L_TOTAL.Text = Subs.calculaTotalConPromoXRango(Su"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + BA.debugLineNum = 370;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(131072); +_future = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_future = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))));Debug.locals.put("future", _future);Debug.locals.put("future", _future); + BA.debugLineNum = 371;BA.debugLine="If future.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_future.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 372;BA.debugLine="future.Position = 0"; +Debug.ShouldStop(524288); +_future.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 373;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 374;BA.debugLine="Panel3.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_panel3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 375;BA.debugLine="l_ocul.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_ocul" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"False")); + BA.debugLineNum = 376;BA.debugLine="l_desct.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_desct" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"False")); + BA.debugLineNum = 377;BA.debugLine="l_descacor.Text = NumberFormat2( (Subs.calculaT"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_descacor" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_nota._subs.runMethod(true,"_calculatotalconpromoxrango4" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),BA.numberCast(double.class, c_nota._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_nota.__c.getField(true,"False"))))); + BA.debugLineNum = 378;BA.debugLine="l_descpre.Text = NumberFormat2( (Subs.calculaTo"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_descpre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_nota._subs.runMethod(true,"_calculatotalconpromoxrango3" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),BA.numberCast(double.class, c_nota._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_nota.__c.getField(true,"False"))))); + BA.debugLineNum = 379;BA.debugLine="L_PREVENTA.Text = Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + BA.debugLineNum = 380;BA.debugLine="L_FUTURO.Text = Subs.calculaTotalConPromoXRango"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_futuro" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + }else +{ BA.debugLineNum = 381;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_future.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 382;BA.debugLine="Panel3.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_panel3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"False")); + BA.debugLineNum = 383;BA.debugLine="l_ocul.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_ocul" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 384;BA.debugLine="l_desct.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_desct" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 385;BA.debugLine="l_desct.Text = NumberFormat2( (Subs.calculaTota"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_desct" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_nota._subs.runMethod(true,"_calculatotalconpromoxrango3" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),BA.numberCast(double.class, c_nota._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_nota.__c.getField(true,"False"))))); + BA.debugLineNum = 386;BA.debugLine="L_PREVENTA.Text = Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + BA.debugLineNum = 387;BA.debugLine="L_FUTURO.Text = Subs.calculaTotalConPromoXRango"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_futuro" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_nota._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_nota._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + }} +; + }; + BA.debugLineNum = 391;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,406); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_nota","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_nota parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_nota parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,406); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 409;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(16777216); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 410;BA.debugLine="Return False"; +Debug.ShouldStop(33554432); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 411;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,48); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_nota","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 48;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(32768); + BA.debugLineNum = 49;BA.debugLine="Root = Root1"; +Debug.ShouldStop(65536); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 50;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(131072); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_nota.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 51;BA.debugLine="Root.LoadLayout(\"nota\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("nota")),__ref.getField(false, "ba")); + BA.debugLineNum = 52;BA.debugLine="borra.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 53;BA.debugLine="Titulo.Text = \"Pedido Actual\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Pedido Actual")); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borra_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("borra_Click (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,413); +if (RapidSub.canDelegate("borra_click")) { return __ref.runUserSub(false, "c_nota","borra_click", __ref);} +int _i = 0; + BA.debugLineNum = 413;BA.debugLine="Sub borra_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 418;BA.debugLine="If Not(Subs.revisaImpreso) Then"; +Debug.ShouldStop(2); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota._subs.runMethod(true,"_revisaimpreso" /*RemoteObject*/ ,__ref.getField(false, "ba")))).get().booleanValue()) { + BA.debugLineNum = 420;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el pe"; +Debug.ShouldStop(8); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?")),(Object)(BA.ObjectToCharSequence("Cancelar pedido")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 421;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 422;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'")))); + BA.debugLineNum = 423;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 424;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(128); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 425;BA.debugLine="c.Position=i"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 426;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"updat"; +Debug.ShouldStop(512); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?")))),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))}))))); + BA.debugLineNum = 427;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1024); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(((double)(Double.parseDouble(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).get()))*-(double) (0 + 1)))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 430;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; +Debug.ShouldStop(8192); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 431;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; +Debug.ShouldStop(16384); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 432;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE km"; +Debug.ShouldStop(32768); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 433;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(65536); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 439;BA.debugLine="Log(\"Aqui\")"; +Debug.ShouldStop(4194304); +c_nota.__c.runVoidMethod ("LogImpl","077004826",RemoteObject.createImmutable("Aqui"),0); + BA.debugLineNum = 440;BA.debugLine="Log(Subs.traeAlmacen)"; +Debug.ShouldStop(8388608); +c_nota.__c.runVoidMethod ("LogImpl","077004827",c_nota._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 441;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",c_nota._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(94))) { + BA.debugLineNum = 442;BA.debugLine="Log(\"Aqui\")"; +Debug.ShouldStop(33554432); +c_nota.__c.runVoidMethod ("LogImpl","077004829",RemoteObject.createImmutable("Aqui"),0); + BA.debugLineNum = 444;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el p"; +Debug.ShouldStop(134217728); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?")),(Object)(BA.ObjectToCharSequence("Cancelar pedido")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 445;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 446;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'")))); + BA.debugLineNum = 447;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 448;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(-2147483648); +{ +final int step26 = 1; +final int limit26 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step26 > 0 && _i <= limit26) || (step26 < 0 && _i >= limit26) ;_i = ((int)(0 + _i + step26)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 449;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 450;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"upda"; +Debug.ShouldStop(2); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?")))),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))}))))); + BA.debugLineNum = 451;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +Debug.ShouldStop(4); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(((double)(Double.parseDouble(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).get()))*-(double) (0 + 1)))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 454;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +Debug.ShouldStop(32); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 455;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +Debug.ShouldStop(64); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 456;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; +Debug.ShouldStop(128); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 457;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 se"; +Debug.ShouldStop(256); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 458;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRED"; +Debug.ShouldStop(512); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 459;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 465;BA.debugLine="Log(\"aqui\")"; +Debug.ShouldStop(65536); +c_nota.__c.runVoidMethod ("LogImpl","077004852",RemoteObject.createImmutable("aqui"),0); + BA.debugLineNum = 466;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, no"; +Debug.ShouldStop(131072); +c_nota.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!")),(Object)(c_nota.__c.getField(true,"True"))); + BA.debugLineNum = 467;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicketI"; +Debug.ShouldStop(262144); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 468;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +Debug.ShouldStop(524288); +c_nota._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cliente"))); + }; + }; + BA.debugLineNum = 513;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_nota._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_nota._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_nota._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_nota._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim skmt As SQL"; +c_nota._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_nota._skmt); + //BA.debugLineNum = 6;BA.debugLine="Dim g As GPS"; +c_nota._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_nota._g); + //BA.debugLineNum = 7;BA.debugLine="Dim clie_id As String"; +c_nota._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_nota._clie_id); + //BA.debugLineNum = 8;BA.debugLine="Dim sDate,sTime As String"; +c_nota._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_nota._sdate); +c_nota._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_nota._stime); + //BA.debugLineNum = 9;BA.debugLine="Dim usuario As String"; +c_nota._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_nota._usuario); + //BA.debugLineNum = 11;BA.debugLine="Dim c As Cursor"; +c_nota._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_nota._c); + //BA.debugLineNum = 12;BA.debugLine="Dim ruta As String"; +c_nota._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_nota._ruta); + //BA.debugLineNum = 13;BA.debugLine="Dim Regresar As Button"; +c_nota._regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_regresar",c_nota._regresar); + //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +c_nota._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_nota._listview1); + //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +c_nota._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_nota._l_cant); + //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +c_nota._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_nota._l_total); + //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +c_nota._borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_borra",c_nota._borra); + //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +c_nota._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_nota._existe); + //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +c_nota._result = RemoteObject.createImmutable("");__ref.setField("_result",c_nota._result); + //BA.debugLineNum = 22;BA.debugLine="Dim DESC As String"; +c_nota._desc = RemoteObject.createImmutable("");__ref.setField("_desc",c_nota._desc); + //BA.debugLineNum = 23;BA.debugLine="Dim c2, j3 As Cursor"; +c_nota._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_nota._c2); +c_nota._j3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_j3",c_nota._j3); + //BA.debugLineNum = 24;BA.debugLine="Private Titulo As Label"; +c_nota._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_nota._titulo); + //BA.debugLineNum = 25;BA.debugLine="Private b_desc As Button"; +c_nota._b_desc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_desc",c_nota._b_desc); + //BA.debugLineNum = 26;BA.debugLine="Dim DESCUENTO As String"; +c_nota._descuento = RemoteObject.createImmutable("");__ref.setField("_descuento",c_nota._descuento); + //BA.debugLineNum = 27;BA.debugLine="Dim folio As String"; +c_nota._folio = RemoteObject.createImmutable("");__ref.setField("_folio",c_nota._folio); + //BA.debugLineNum = 28;BA.debugLine="Dim tgl As Toggle"; +c_nota._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_nota._tgl); + //BA.debugLineNum = 29;BA.debugLine="Private almacen As String"; +c_nota._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_nota._almacen); + //BA.debugLineNum = 30;BA.debugLine="Private p_nota As Panel"; +c_nota._p_nota = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_nota",c_nota._p_nota); + //BA.debugLineNum = 31;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; +c_nota._tipo_venta = c_nota._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_tipo_venta",c_nota._tipo_venta); + //BA.debugLineNum = 32;BA.debugLine="Private Panel1 As Panel"; +c_nota._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_nota._panel1); + //BA.debugLineNum = 33;BA.debugLine="Private Panel3 As Panel"; +c_nota._panel3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel3",c_nota._panel3); + //BA.debugLineNum = 34;BA.debugLine="Private L_FUTURO As Label"; +c_nota._l_futuro = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_futuro",c_nota._l_futuro); + //BA.debugLineNum = 35;BA.debugLine="Private L_PREVENTA As Label"; +c_nota._l_preventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_preventa",c_nota._l_preventa); + //BA.debugLineNum = 36;BA.debugLine="Private l_descacor As Label"; +c_nota._l_descacor = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_descacor",c_nota._l_descacor); + //BA.debugLineNum = 37;BA.debugLine="Private l_descpre As Label"; +c_nota._l_descpre = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_descpre",c_nota._l_descpre); + //BA.debugLineNum = 38;BA.debugLine="Private l_ocul As Label"; +c_nota._l_ocul = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ocul",c_nota._l_ocul); + //BA.debugLineNum = 39;BA.debugLine="Private l_desct As Label"; +c_nota._l_desct = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_desct",c_nota._l_desct); + //BA.debugLineNum = 40;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,397); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_nota","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 397;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 400;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,43); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_nota","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 43;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(1024); + BA.debugLineNum = 44;BA.debugLine="Return Me"; +Debug.ShouldStop(2048); +if (true) return __ref; + BA.debugLineNum = 45;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemLongClick (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,515); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_nota","listview1_itemlongclick", __ref, _position, _value);} +RemoteObject _x = null; +RemoteObject _nom = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _palabrafinal = RemoteObject.createImmutable(""); +RemoteObject _cedis = RemoteObject.createImmutable(""); +RemoteObject _foliu = RemoteObject.createImmutable(""); +RemoteObject _cx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _j = 0; +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 515;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(4); + BA.debugLineNum = 516;BA.debugLine="Log(Subs.traeTablaProds(tipo_venta))"; +Debug.ShouldStop(8); +c_nota.__c.runVoidMethod ("LogImpl","077070337",c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ ))),0); + BA.debugLineNum = 517;BA.debugLine="Log(Value)"; +Debug.ShouldStop(16); +c_nota.__c.runVoidMethod ("LogImpl","077070338",BA.ObjectToString(_value),0); + BA.debugLineNum = 518;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)"; +Debug.ShouldStop(32); +_x = c_nota.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(BA.ObjectToString(_value)));Debug.locals.put("X", _x);Debug.locals.put("X", _x); + BA.debugLineNum = 519;BA.debugLine="Private nom As String = \"\""; +Debug.ShouldStop(64); +_nom = BA.ObjectToString("");Debug.locals.put("nom", _nom);Debug.locals.put("nom", _nom); + BA.debugLineNum = 521;BA.debugLine="For i = 0 To X.Length - 1"; +Debug.ShouldStop(256); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 522;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +Debug.ShouldStop(512); +if (c_nota.__c.runMethod(true,"Not",(Object)(_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))))).get().booleanValue()) { + BA.debugLineNum = 524;BA.debugLine="nom = nom & \" \" & X(i)"; +Debug.ShouldStop(2048); +_nom = RemoteObject.concat(_nom,RemoteObject.createImmutable(" "),_x.getArrayElement(true,BA.numberCast(int.class, _i)));Debug.locals.put("nom", _nom); + }else { + BA.debugLineNum = 528;BA.debugLine="Dim palabraFinal As String = X(i).Replace(CRLF,"; +Debug.ShouldStop(32768); +_palabrafinal = _x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"replace",(Object)(c_nota.__c.getField(true,"CRLF")),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("palabraFinal", _palabrafinal);Debug.locals.put("palabraFinal", _palabrafinal); + BA.debugLineNum = 531;BA.debugLine="nom = nom & \" \" & palabraFinal"; +Debug.ShouldStop(262144); +_nom = RemoteObject.concat(_nom,RemoteObject.createImmutable(" "),_palabrafinal);Debug.locals.put("nom", _nom); + BA.debugLineNum = 533;BA.debugLine="Exit"; +Debug.ShouldStop(1048576); +if (true) break; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 536;BA.debugLine="nom = nom.Trim"; +Debug.ShouldStop(8388608); +_nom = _nom.runMethod(true,"trim");Debug.locals.put("nom", _nom); + BA.debugLineNum = 537;BA.debugLine="Private cedis As String = X(X.Length-1)"; +Debug.ShouldStop(16777216); +_cedis = _x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + BA.debugLineNum = 538;BA.debugLine="Private foliu As String = X(X.Length-3)"; +Debug.ShouldStop(33554432); +_foliu = _x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(3)}, "-",1, 1));Debug.locals.put("foliu", _foliu);Debug.locals.put("foliu", _foliu); + BA.debugLineNum = 539;BA.debugLine="Log(nom)"; +Debug.ShouldStop(67108864); +c_nota.__c.runVoidMethod ("LogImpl","077070360",_nom,0); + BA.debugLineNum = 540;BA.debugLine="Log(cedis)"; +Debug.ShouldStop(134217728); +c_nota.__c.runVoidMethod ("LogImpl","077070361",_cedis,0); + BA.debugLineNum = 541;BA.debugLine="Log(foliu)"; +Debug.ShouldStop(268435456); +c_nota.__c.runVoidMethod ("LogImpl","077070362",_foliu,0); + BA.debugLineNum = 542;BA.debugLine="Dim cx As Cursor = B4XPages.MainPage.skmt.ExecQue"; +Debug.ShouldStop(536870912); +_cx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE, PE_CEDIS/1 AS is_numeric FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and is_numeric > 0 and pe_cliente in (Select CUENTA from cuentaa) and PE_RECALCULO > 0"))))));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 543;BA.debugLine="Log(\"Recalculados: \" & cx.RowCount)"; +Debug.ShouldStop(1073741824); +c_nota.__c.runVoidMethod ("LogImpl","077070364",RemoteObject.concat(RemoteObject.createImmutable("Recalculados: "),_cx.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 544;BA.debugLine="If cx.RowCount > 0 Then ' Si hay recalculo (produ"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_cx.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 545;BA.debugLine="result = Msgbox2(\"Si se borra este producto, se"; +Debug.ShouldStop(1); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Si se borra este producto, se va a borrar el pedido COMPLETO, ¿desea continuar?")),(Object)(BA.ObjectToCharSequence("Borrar pedido completo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 546;BA.debugLine="If result = DialogResponse.NEGATIVE Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"NEGATIVE")))) { + BA.debugLineNum = 547;BA.debugLine="Return"; +Debug.ShouldStop(4); +if (true) return RemoteObject.createImmutable(""); + }else { + BA.debugLineNum = 549;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido w"; +Debug.ShouldStop(16); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 550;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; +Debug.ShouldStop(32); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 551;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(64); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 552;BA.debugLine="Return"; +Debug.ShouldStop(128); +if (true) return RemoteObject.createImmutable(""); + }; + }; + BA.debugLineNum = 555;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT HABI"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADA FROM IMPRESORA")))); + BA.debugLineNum = 556;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 557;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 558;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADA"))),BA.NumberToString(1))) { + BA.debugLineNum = 559;BA.debugLine="If Not(Subs.revisaImpreso) Then"; +Debug.ShouldStop(16384); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota._subs.runMethod(true,"_revisaimpreso" /*RemoteObject*/ ,__ref.getField(false, "ba")))).get().booleanValue()) { + BA.debugLineNum = 560;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; +Debug.ShouldStop(32768); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?")),(Object)(BA.ObjectToCharSequence("Borrar Articulo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 561;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 562;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)")))))); + BA.debugLineNum = 563;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; +Debug.ShouldStop(262144); +c_nota.__c.runVoidMethod ("LogImpl","077070384",(RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)"))),0); + BA.debugLineNum = 564;BA.debugLine="Log(c.RowCount)"; +Debug.ShouldStop(524288); +c_nota.__c.runVoidMethod ("LogImpl","077070385",BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 565;BA.debugLine="Log(\"AQUI ESTOY\")"; +Debug.ShouldStop(1048576); +c_nota.__c.runVoidMethod ("LogImpl","077070386",RemoteObject.createImmutable("AQUI ESTOY"),0); + BA.debugLineNum = 566;BA.debugLine="Log(cedis)"; +Debug.ShouldStop(2097152); +c_nota.__c.runVoidMethod ("LogImpl","077070387",_cedis,0); + BA.debugLineNum = 567;BA.debugLine="Log(foliu)"; +Debug.ShouldStop(4194304); +c_nota.__c.runVoidMethod ("LogImpl","077070388",_foliu,0); + BA.debugLineNum = 568;BA.debugLine="Log(nom)"; +Debug.ShouldStop(8388608); +c_nota.__c.runVoidMethod ("LogImpl","077070389",_nom,0); + BA.debugLineNum = 570;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 573;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(268435456); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(((double)(Double.parseDouble(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).get()))*-(double) (0 + 1)))}))))); + BA.debugLineNum = 580;BA.debugLine="If Not(IsNumber(cedis)) Then"; +Debug.ShouldStop(8); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota.__c.runMethod(true,"IsNumber",(Object)(_cedis)))).get().booleanValue()) { + BA.debugLineNum = 581;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; +Debug.ShouldStop(16); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cedis})))); + BA.debugLineNum = 582;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(32); +c_nota.__c.runVoidMethod ("LogImpl","077070403",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 583;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 584;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(128); +c_nota.__c.runVoidMethod ("LogImpl","077070405",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 585;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(256); +{ +final int step54 = 1; +final int limit54 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step54 > 0 && _j <= limit54) || (step54 < 0 && _j >= limit54) ;_j = ((int)(0 + _j + step54)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 586;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(512); +c_nota.__c.runVoidMethod ("LogImpl","077070407",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 587;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(1024); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 589;BA.debugLine="Log(nom)"; +Debug.ShouldStop(4096); +c_nota.__c.runVoidMethod ("LogImpl","077070410",_nom,0); + BA.debugLineNum = 590;BA.debugLine="If cedis <> \"DUR\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",_cedis,BA.ObjectToString("DUR"))) { + BA.debugLineNum = 592;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upd"; +Debug.ShouldStop(32768); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 593;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"del"; +Debug.ShouldStop(65536); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 594;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; +Debug.ShouldStop(131072); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cedis),(_foliu)}))))); + }else { + BA.debugLineNum = 596;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; +Debug.ShouldStop(524288); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cedis),(_foliu)}))))); + }; + } +}Debug.locals.put("j", _j); +; + }; + BA.debugLineNum = 600;BA.debugLine="j3.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 602;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +Debug.ShouldStop(33554432); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +Debug.ShouldStop(67108864); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_nom),(_cedis),(_foliu)}))))); + }; + BA.debugLineNum = 605;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 607;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1073741824); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 608;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 609;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 610;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 611;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 612;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(8); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 613;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 614;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 615;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(64); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 616;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 617;BA.debugLine="c.Position=0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 618;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 619;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(1024); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 620;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(2048); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 621;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(4096); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }else { + BA.debugLineNum = 623;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(16384); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 624;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(32768); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 626;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 630;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",c_nota._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(94))) { + BA.debugLineNum = 631;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar es"; +Debug.ShouldStop(4194304); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?")),(Object)(BA.ObjectToCharSequence("Borrar Articulo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 632;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 633;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)")))))); + BA.debugLineNum = 634;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_"; +Debug.ShouldStop(33554432); +c_nota.__c.runVoidMethod ("LogImpl","077070455",(RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)"))),0); + BA.debugLineNum = 635;BA.debugLine="Log(c.RowCount)"; +Debug.ShouldStop(67108864); +c_nota.__c.runVoidMethod ("LogImpl","077070456",BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 636;BA.debugLine="Log(\"AQUI ESTOY\")"; +Debug.ShouldStop(134217728); +c_nota.__c.runVoidMethod ("LogImpl","077070457",RemoteObject.createImmutable("AQUI ESTOY"),0); + BA.debugLineNum = 637;BA.debugLine="Log(cedis)"; +Debug.ShouldStop(268435456); +c_nota.__c.runVoidMethod ("LogImpl","077070458",_cedis,0); + BA.debugLineNum = 638;BA.debugLine="Log(foliu)"; +Debug.ShouldStop(536870912); +c_nota.__c.runVoidMethod ("LogImpl","077070459",_foliu,0); + BA.debugLineNum = 639;BA.debugLine="Log(nom)"; +Debug.ShouldStop(1073741824); +c_nota.__c.runVoidMethod ("LogImpl","077070460",_nom,0); + BA.debugLineNum = 641;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 644;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(8); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(((double)(Double.parseDouble(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).get()))*-(double) (0 + 1)))}))))); + BA.debugLineNum = 651;BA.debugLine="If Not(IsNumber(cedis)) Then"; +Debug.ShouldStop(1024); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota.__c.runMethod(true,"IsNumber",(Object)(_cedis)))).get().booleanValue()) { + BA.debugLineNum = 652;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SEL"; +Debug.ShouldStop(2048); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cedis})))); + BA.debugLineNum = 653;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(4096); +c_nota.__c.runVoidMethod ("LogImpl","077070474",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 654;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 655;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(16384); +c_nota.__c.runVoidMethod ("LogImpl","077070476",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 656;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(32768); +{ +final int step112 = 1; +final int limit112 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step112 > 0 && _j <= limit112) || (step112 < 0 && _j >= limit112) ;_j = ((int)(0 + _j + step112)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 657;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(65536); +c_nota.__c.runVoidMethod ("LogImpl","077070478",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 658;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(131072); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 660;BA.debugLine="Log(nom)"; +Debug.ShouldStop(524288); +c_nota.__c.runVoidMethod ("LogImpl","077070481",_nom,0); + BA.debugLineNum = 661;BA.debugLine="If cedis <> \"DUR\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("!",_cedis,BA.ObjectToString("DUR"))) { + BA.debugLineNum = 663;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"up"; +Debug.ShouldStop(4194304); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 664;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"de"; +Debug.ShouldStop(8388608); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 665;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; +Debug.ShouldStop(16777216); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cedis),(_foliu)}))))); + }else { + BA.debugLineNum = 667;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; +Debug.ShouldStop(67108864); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cedis),(_foliu)}))))); + }; + } +}Debug.locals.put("j", _j); +; + }; + BA.debugLineNum = 671;BA.debugLine="j3.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 673;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; +Debug.ShouldStop(1); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 674;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delet"; +Debug.ShouldStop(2); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_nom),(_cedis),(_foliu)}))))); + }; + BA.debugLineNum = 676;BA.debugLine="c.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 678;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(32); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 679;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(64); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 680;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(128); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 681;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select C"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 682;BA.debugLine="c.Position=0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 683;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(1024); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 684;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select U"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 685;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 686;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8192); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 687;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select s"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 688;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 689;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 690;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(131072); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 691;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"inser"; +Debug.ShouldStop(262144); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 692;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(524288); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }else { + BA.debugLineNum = 694;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(2097152); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 695;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(4194304); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 697;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; +Debug.ShouldStop(16777216); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 698;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CR"; +Debug.ShouldStop(33554432); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 699;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 702;BA.debugLine="Log(\"aqui\")"; +Debug.ShouldStop(536870912); +c_nota.__c.runVoidMethod ("LogImpl","077070523",RemoteObject.createImmutable("aqui"),0); + BA.debugLineNum = 703;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicke"; +Debug.ShouldStop(1073741824); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 704;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +Debug.ShouldStop(-2147483648); +c_nota._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cliente"))); + BA.debugLineNum = 705;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, n"; +Debug.ShouldStop(1); +c_nota.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!")),(Object)(c_nota.__c.getField(true,"True"))); + }; + }; + }else +{ BA.debugLineNum = 708;BA.debugLine="Else If c.GetString(\"HABILITADA\") = 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADA"))),BA.NumberToString(0))) { + BA.debugLineNum = 709;BA.debugLine="If Not(Subs.revisaImpreso) Then"; +Debug.ShouldStop(16); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota._subs.runMethod(true,"_revisaimpreso" /*RemoteObject*/ ,__ref.getField(false, "ba")))).get().booleanValue()) { + BA.debugLineNum = 710;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; +Debug.ShouldStop(32); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?")),(Object)(BA.ObjectToCharSequence("Borrar Articulo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 711;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 712;BA.debugLine="Private X() As String = Regex.Split(\" \", Valu"; +Debug.ShouldStop(128); +_x = c_nota.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(BA.ObjectToString(_value)));Debug.locals.put("X", _x);Debug.locals.put("X", _x); + BA.debugLineNum = 713;BA.debugLine="Log(X)"; +Debug.ShouldStop(256); +c_nota.__c.runVoidMethod ("LogImpl","077070534",BA.ObjectToString(_x),0); + BA.debugLineNum = 714;BA.debugLine="Log(X.Length)"; +Debug.ShouldStop(512); +c_nota.__c.runVoidMethod ("LogImpl","077070535",BA.NumberToString(_x.getField(true,"length")),0); + BA.debugLineNum = 715;BA.debugLine="Private nom As String = \"\""; +Debug.ShouldStop(1024); +_nom = BA.ObjectToString("");Debug.locals.put("nom", _nom);Debug.locals.put("nom", _nom); + BA.debugLineNum = 716;BA.debugLine="For i = 0 To X.Length -1"; +Debug.ShouldStop(2048); +{ +final int step169 = 1; +final int limit169 = RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step169 > 0 && _i <= limit169) || (step169 < 0 && _i >= limit169) ;_i = ((int)(0 + _i + step169)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 718;BA.debugLine="If X(i).Contains(CRLF) Then"; +Debug.ShouldStop(8192); +if (_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))).get().booleanValue()) { + }; + BA.debugLineNum = 721;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +Debug.ShouldStop(65536); +if (c_nota.__c.runMethod(true,"Not",(Object)(_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))))).get().booleanValue()) { + BA.debugLineNum = 722;BA.debugLine="nom = nom & \" \" & X(i)"; +Debug.ShouldStop(131072); +_nom = RemoteObject.concat(_nom,RemoteObject.createImmutable(" "),_x.getArrayElement(true,BA.numberCast(int.class, _i)));Debug.locals.put("nom", _nom); + }else { + BA.debugLineNum = 724;BA.debugLine="Exit"; +Debug.ShouldStop(524288); +if (true) break; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 729;BA.debugLine="nom = nom.Trim"; +Debug.ShouldStop(16777216); +_nom = _nom.runMethod(true,"trim");Debug.locals.put("nom", _nom); + BA.debugLineNum = 730;BA.debugLine="If X(X.Length-1) <> \".01\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("!",_x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1)),BA.ObjectToString(".01"))) { + BA.debugLineNum = 731;BA.debugLine="Private cedis As String = X(X.Length-1)"; +Debug.ShouldStop(67108864); +_cedis = _x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + }else { + BA.debugLineNum = 733;BA.debugLine="Private cedis As String = (X(X.Length-2) &\""; +Debug.ShouldStop(268435456); +_cedis = (RemoteObject.concat(_x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(2)}, "-",1, 1)),RemoteObject.createImmutable(" "),_x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + }; + BA.debugLineNum = 735;BA.debugLine="Log(nom)"; +Debug.ShouldStop(1073741824); +c_nota.__c.runVoidMethod ("LogImpl","077070556",_nom,0); + BA.debugLineNum = 736;BA.debugLine="Log(cedis)"; +Debug.ShouldStop(-2147483648); +c_nota.__c.runVoidMethod ("LogImpl","077070557",_cedis,0); + BA.debugLineNum = 737;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)")))))); + BA.debugLineNum = 738;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; +Debug.ShouldStop(2); +c_nota.__c.runVoidMethod ("LogImpl","077070559",(RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)"))),0); + BA.debugLineNum = 739;BA.debugLine="Log(c.RowCount)"; +Debug.ShouldStop(4); +c_nota.__c.runVoidMethod ("LogImpl","077070560",BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 740;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 750;BA.debugLine="If Not(IsNumber(cedis)) Then"; +Debug.ShouldStop(8192); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota.__c.runMethod(true,"IsNumber",(Object)(_cedis)))).get().booleanValue()) { + BA.debugLineNum = 751;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; +Debug.ShouldStop(16384); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cedis})))); + BA.debugLineNum = 752;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(32768); +c_nota.__c.runVoidMethod ("LogImpl","077070573",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 753;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 754;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(131072); +c_nota.__c.runVoidMethod ("LogImpl","077070575",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 755;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(262144); +{ +final int step195 = 1; +final int limit195 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step195 > 0 && _j <= limit195) || (step195 < 0 && _j >= limit195) ;_j = ((int)(0 + _j + step195)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 756;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(524288); +c_nota.__c.runVoidMethod ("LogImpl","077070577",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 757;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 759;BA.debugLine="If cedis <> \"DUR\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("!",_cedis,BA.ObjectToString("DUR"))) { + BA.debugLineNum = 760;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upd"; +Debug.ShouldStop(8388608); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 761;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"del"; +Debug.ShouldStop(16777216); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 762;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; +Debug.ShouldStop(33554432); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cedis),(_foliu)}))))); + }else { + BA.debugLineNum = 764;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; +Debug.ShouldStop(134217728); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cedis),(_foliu)}))))); + }; + } +}Debug.locals.put("j", _j); +; + }; + BA.debugLineNum = 768;BA.debugLine="j3.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 770;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +Debug.ShouldStop(2); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 771;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +Debug.ShouldStop(4); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_nom),(_cedis),(_foliu)}))))); + }; + BA.debugLineNum = 773;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 775;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(64); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 776;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(128); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 777;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(256); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 778;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 779;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 780;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(2048); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 781;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 782;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 783;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(16384); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 784;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 785;BA.debugLine="c.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 786;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 787;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(262144); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 788;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(524288); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 789;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(1048576); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }else { + BA.debugLineNum = 791;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(4194304); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 792;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(8388608); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 794;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 797;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",c_nota._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(94))) { + BA.debugLineNum = 798;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar es"; +Debug.ShouldStop(536870912); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?")),(Object)(BA.ObjectToCharSequence("Borrar Articulo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 799;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 800;BA.debugLine="Private X() As String = Regex.Split(\" \", Val"; +Debug.ShouldStop(-2147483648); +_x = c_nota.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(BA.ObjectToString(_value)));Debug.locals.put("X", _x);Debug.locals.put("X", _x); + BA.debugLineNum = 801;BA.debugLine="Log(X)"; +Debug.ShouldStop(1); +c_nota.__c.runVoidMethod ("LogImpl","077070622",BA.ObjectToString(_x),0); + BA.debugLineNum = 802;BA.debugLine="Log(X.Length)"; +Debug.ShouldStop(2); +c_nota.__c.runVoidMethod ("LogImpl","077070623",BA.NumberToString(_x.getField(true,"length")),0); + BA.debugLineNum = 803;BA.debugLine="Private nom As String = \"\""; +Debug.ShouldStop(4); +_nom = BA.ObjectToString("");Debug.locals.put("nom", _nom);Debug.locals.put("nom", _nom); + BA.debugLineNum = 804;BA.debugLine="For i = 0 To X.Length -1"; +Debug.ShouldStop(8); +{ +final int step242 = 1; +final int limit242 = RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step242 > 0 && _i <= limit242) || (step242 < 0 && _i >= limit242) ;_i = ((int)(0 + _i + step242)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 806;BA.debugLine="If X(i).Contains(CRLF) Then"; +Debug.ShouldStop(32); +if (_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))).get().booleanValue()) { + }; + BA.debugLineNum = 809;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +Debug.ShouldStop(256); +if (c_nota.__c.runMethod(true,"Not",(Object)(_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))))).get().booleanValue()) { + BA.debugLineNum = 810;BA.debugLine="nom = nom & \" \" & X(i)"; +Debug.ShouldStop(512); +_nom = RemoteObject.concat(_nom,RemoteObject.createImmutable(" "),_x.getArrayElement(true,BA.numberCast(int.class, _i)));Debug.locals.put("nom", _nom); + }else { + BA.debugLineNum = 812;BA.debugLine="Exit"; +Debug.ShouldStop(2048); +if (true) break; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 817;BA.debugLine="nom = nom.Trim"; +Debug.ShouldStop(65536); +_nom = _nom.runMethod(true,"trim");Debug.locals.put("nom", _nom); + BA.debugLineNum = 818;BA.debugLine="If X(X.Length-1) <> \".01\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",_x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1)),BA.ObjectToString(".01"))) { + BA.debugLineNum = 819;BA.debugLine="Private cedis As String = X(X.Length-1)"; +Debug.ShouldStop(262144); +_cedis = _x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + }else { + BA.debugLineNum = 821;BA.debugLine="Private cedis As String = (X(X.Length-2) &\""; +Debug.ShouldStop(1048576); +_cedis = (RemoteObject.concat(_x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(2)}, "-",1, 1)),RemoteObject.createImmutable(" "),_x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + }; + BA.debugLineNum = 823;BA.debugLine="Log(nom)"; +Debug.ShouldStop(4194304); +c_nota.__c.runVoidMethod ("LogImpl","077070644",_nom,0); + BA.debugLineNum = 824;BA.debugLine="Log(cedis)"; +Debug.ShouldStop(8388608); +c_nota.__c.runVoidMethod ("LogImpl","077070645",_cedis,0); + BA.debugLineNum = 825;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)")))))); + BA.debugLineNum = 826;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_"; +Debug.ShouldStop(33554432); +c_nota.__c.runVoidMethod ("LogImpl","077070647",(RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)"))),0); + BA.debugLineNum = 827;BA.debugLine="Log(c.RowCount)"; +Debug.ShouldStop(67108864); +c_nota.__c.runVoidMethod ("LogImpl","077070648",BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 828;BA.debugLine="c.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 838;BA.debugLine="If Not(IsNumber(cedis)) Then"; +Debug.ShouldStop(32); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota.__c.runMethod(true,"IsNumber",(Object)(_cedis)))).get().booleanValue()) { + BA.debugLineNum = 839;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SEL"; +Debug.ShouldStop(64); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cedis})))); + BA.debugLineNum = 840;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(128); +c_nota.__c.runVoidMethod ("LogImpl","077070661",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 841;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 842;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(512); +c_nota.__c.runVoidMethod ("LogImpl","077070663",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 843;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(1024); +{ +final int step268 = 1; +final int limit268 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step268 > 0 && _j <= limit268) || (step268 < 0 && _j >= limit268) ;_j = ((int)(0 + _j + step268)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 844;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(2048); +c_nota.__c.runVoidMethod ("LogImpl","077070665",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 845;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(4096); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 847;BA.debugLine="If cedis <> \"DUR\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",_cedis,BA.ObjectToString("DUR"))) { + BA.debugLineNum = 848;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"up"; +Debug.ShouldStop(32768); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 849;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"de"; +Debug.ShouldStop(65536); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 850;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; +Debug.ShouldStop(131072); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cedis),(_foliu)}))))); + }else { + BA.debugLineNum = 852;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; +Debug.ShouldStop(524288); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cedis),(_foliu)}))))); + }; + } +}Debug.locals.put("j", _j); +; + }; + BA.debugLineNum = 856;BA.debugLine="j3.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 858;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; +Debug.ShouldStop(33554432); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 859;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delet"; +Debug.ShouldStop(67108864); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_nom),(_cedis),(_foliu)}))))); + }; + BA.debugLineNum = 861;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 863;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1073741824); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 864;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 865;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 866;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select C"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 867;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 868;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(8); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 869;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select U"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 870;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 871;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(64); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 872;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select s"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 873;BA.debugLine="c.Position=0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 874;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 875;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(1024); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 876;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"inser"; +Debug.ShouldStop(2048); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 877;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(4096); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }else { + BA.debugLineNum = 879;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(16384); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 880;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(32768); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 882;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; +Debug.ShouldStop(131072); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 883;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CR"; +Debug.ShouldStop(262144); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 884;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(524288); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 887;BA.debugLine="Log(\"aqui\")"; +Debug.ShouldStop(4194304); +c_nota.__c.runVoidMethod ("LogImpl","077070708",RemoteObject.createImmutable("aqui"),0); + BA.debugLineNum = 888;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicke"; +Debug.ShouldStop(8388608); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 889;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +Debug.ShouldStop(16777216); +c_nota._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cliente"))); + BA.debugLineNum = 890;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, n"; +Debug.ShouldStop(33554432); +c_nota.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!")),(Object)(c_nota.__c.getField(true,"True"))); + }; + }; + }} +; + }else +{ BA.debugLineNum = 894;BA.debugLine="Else If c.RowCount = 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 895;BA.debugLine="If Not(Subs.revisaImpreso) Then"; +Debug.ShouldStop(1073741824); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota._subs.runMethod(true,"_revisaimpreso" /*RemoteObject*/ ,__ref.getField(false, "ba")))).get().booleanValue()) { + BA.debugLineNum = 896;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?")),(Object)(BA.ObjectToCharSequence("Borrar Articulo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 897;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 898;BA.debugLine="Private X() As String = Regex.Split(\" \", Value"; +Debug.ShouldStop(2); +_x = c_nota.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(BA.ObjectToString(_value)));Debug.locals.put("X", _x);Debug.locals.put("X", _x); + BA.debugLineNum = 899;BA.debugLine="Log(X)"; +Debug.ShouldStop(4); +c_nota.__c.runVoidMethod ("LogImpl","077070720",BA.ObjectToString(_x),0); + BA.debugLineNum = 900;BA.debugLine="Log(X.Length)"; +Debug.ShouldStop(8); +c_nota.__c.runVoidMethod ("LogImpl","077070721",BA.NumberToString(_x.getField(true,"length")),0); + BA.debugLineNum = 901;BA.debugLine="Private nom As String = \"\""; +Debug.ShouldStop(16); +_nom = BA.ObjectToString("");Debug.locals.put("nom", _nom);Debug.locals.put("nom", _nom); + BA.debugLineNum = 902;BA.debugLine="For i = 0 To X.Length -1"; +Debug.ShouldStop(32); +{ +final int step325 = 1; +final int limit325 = RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step325 > 0 && _i <= limit325) || (step325 < 0 && _i >= limit325) ;_i = ((int)(0 + _i + step325)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 904;BA.debugLine="If X(i).Contains(CRLF) Then"; +Debug.ShouldStop(128); +if (_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))).get().booleanValue()) { + }; + BA.debugLineNum = 907;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +Debug.ShouldStop(1024); +if (c_nota.__c.runMethod(true,"Not",(Object)(_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))))).get().booleanValue()) { + BA.debugLineNum = 908;BA.debugLine="nom = nom & \" \" & X(i)"; +Debug.ShouldStop(2048); +_nom = RemoteObject.concat(_nom,RemoteObject.createImmutable(" "),_x.getArrayElement(true,BA.numberCast(int.class, _i)));Debug.locals.put("nom", _nom); + }else { + BA.debugLineNum = 910;BA.debugLine="Exit"; +Debug.ShouldStop(8192); +if (true) break; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 915;BA.debugLine="nom = nom.Trim"; +Debug.ShouldStop(262144); +_nom = _nom.runMethod(true,"trim");Debug.locals.put("nom", _nom); + BA.debugLineNum = 916;BA.debugLine="Private cedis As String = X(X.Length-1)"; +Debug.ShouldStop(524288); +_cedis = _x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + BA.debugLineNum = 917;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)")))))); + BA.debugLineNum = 918;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_CE"; +Debug.ShouldStop(2097152); +c_nota.__c.runVoidMethod ("LogImpl","077070739",(RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)"))),0); + BA.debugLineNum = 919;BA.debugLine="Log(c.RowCount)"; +Debug.ShouldStop(4194304); +c_nota.__c.runVoidMethod ("LogImpl","077070740",BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 920;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 923;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(67108864); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(((double)(Double.parseDouble(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).get()))*-(double) (0 + 1)))}))))); + BA.debugLineNum = 930;BA.debugLine="If Not(IsNumber(cedis)) Then"; +Debug.ShouldStop(2); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota.__c.runMethod(true,"IsNumber",(Object)(_cedis)))).get().booleanValue()) { + BA.debugLineNum = 931;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELEC"; +Debug.ShouldStop(4); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cedis})))); + BA.debugLineNum = 932;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(8); +c_nota.__c.runVoidMethod ("LogImpl","077070753",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 933;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 934;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(32); +c_nota.__c.runVoidMethod ("LogImpl","077070755",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 935;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(64); +{ +final int step346 = 1; +final int limit346 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step346 > 0 && _j <= limit346) || (step346 < 0 && _j >= limit346) ;_j = ((int)(0 + _j + step346)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 936;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(128); +c_nota.__c.runVoidMethod ("LogImpl","077070757",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 937;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(256); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 938;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; +Debug.ShouldStop(512); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 939;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delet"; +Debug.ShouldStop(1024); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("j", _j); +; + }; + BA.debugLineNum = 943;BA.debugLine="j3.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 945;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +Debug.ShouldStop(65536); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 946;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +Debug.ShouldStop(131072); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_nom),(_cedis),(_foliu)}))))); + }; + BA.debugLineNum = 948;BA.debugLine="c.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 950;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(2097152); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 951;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(4194304); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 952;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(8388608); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 953;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 954;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 955;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 956;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 957;BA.debugLine="c.Position=0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 958;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(536870912); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 959;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 960;BA.debugLine="c.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 961;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 962;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +Debug.ShouldStop(2); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 963;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(4); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 964;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; +Debug.ShouldStop(8); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }else { + BA.debugLineNum = 966;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +Debug.ShouldStop(32); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 967;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; +Debug.ShouldStop(64); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 969;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(256); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 972;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",c_nota._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(94))) { + BA.debugLineNum = 973;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; +Debug.ShouldStop(4096); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?")),(Object)(BA.ObjectToCharSequence("Borrar Articulo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 974;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 975;BA.debugLine="Private X() As String = Regex.Split(\" \", Valu"; +Debug.ShouldStop(16384); +_x = c_nota.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(BA.ObjectToString(_value)));Debug.locals.put("X", _x);Debug.locals.put("X", _x); + BA.debugLineNum = 976;BA.debugLine="Log(X)"; +Debug.ShouldStop(32768); +c_nota.__c.runVoidMethod ("LogImpl","077070797",BA.ObjectToString(_x),0); + BA.debugLineNum = 977;BA.debugLine="Log(X.Length)"; +Debug.ShouldStop(65536); +c_nota.__c.runVoidMethod ("LogImpl","077070798",BA.NumberToString(_x.getField(true,"length")),0); + BA.debugLineNum = 978;BA.debugLine="Private nom As String = \"\""; +Debug.ShouldStop(131072); +_nom = BA.ObjectToString("");Debug.locals.put("nom", _nom);Debug.locals.put("nom", _nom); + BA.debugLineNum = 979;BA.debugLine="For i = 0 To X.Length -1"; +Debug.ShouldStop(262144); +{ +final int step388 = 1; +final int limit388 = RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step388 > 0 && _i <= limit388) || (step388 < 0 && _i >= limit388) ;_i = ((int)(0 + _i + step388)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 981;BA.debugLine="If X(i).Contains(CRLF) Then"; +Debug.ShouldStop(1048576); +if (_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))).get().booleanValue()) { + }; + BA.debugLineNum = 984;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +Debug.ShouldStop(8388608); +if (c_nota.__c.runMethod(true,"Not",(Object)(_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_nota.__c.getField(true,"CRLF"))))).get().booleanValue()) { + BA.debugLineNum = 985;BA.debugLine="nom = nom & \" \" & X(i)"; +Debug.ShouldStop(16777216); +_nom = RemoteObject.concat(_nom,RemoteObject.createImmutable(" "),_x.getArrayElement(true,BA.numberCast(int.class, _i)));Debug.locals.put("nom", _nom); + }else { + BA.debugLineNum = 987;BA.debugLine="Exit"; +Debug.ShouldStop(67108864); +if (true) break; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 992;BA.debugLine="nom = nom.Trim"; +Debug.ShouldStop(-2147483648); +_nom = _nom.runMethod(true,"trim");Debug.locals.put("nom", _nom); + BA.debugLineNum = 993;BA.debugLine="Private cedis As String = X(X.Length-1)"; +Debug.ShouldStop(1); +_cedis = _x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + BA.debugLineNum = 994;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)")))))); + BA.debugLineNum = 995;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; +Debug.ShouldStop(4); +c_nota.__c.runVoidMethod ("LogImpl","077070816",(RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' AND PE_CEDIS = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)"))),0); + BA.debugLineNum = 996;BA.debugLine="Log(c.RowCount)"; +Debug.ShouldStop(8); +c_nota.__c.runVoidMethod ("LogImpl","077070817",BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 997;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1000;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(128); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(((double)(Double.parseDouble(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).get()))*-(double) (0 + 1)))}))))); + BA.debugLineNum = 1007;BA.debugLine="If Not(IsNumber(cedis)) Then"; +Debug.ShouldStop(16384); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota.__c.runMethod(true,"IsNumber",(Object)(_cedis)))).get().booleanValue()) { + BA.debugLineNum = 1008;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; +Debug.ShouldStop(32768); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cedis})))); + BA.debugLineNum = 1009;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(65536); +c_nota.__c.runVoidMethod ("LogImpl","077070830",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1010;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1011;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(262144); +c_nota.__c.runVoidMethod ("LogImpl","077070832",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 1012;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(524288); +{ +final int step409 = 1; +final int limit409 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step409 > 0 && _j <= limit409) || (step409 < 0 && _j >= limit409) ;_j = ((int)(0 + _j + step409)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 1013;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(1048576); +c_nota.__c.runVoidMethod ("LogImpl","077070834",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 1014;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 1015;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upda"; +Debug.ShouldStop(4194304); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1016;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"dele"; +Debug.ShouldStop(8388608); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_foliu))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("j", _j); +; + }; + BA.debugLineNum = 1020;BA.debugLine="j3.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 1022;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +Debug.ShouldStop(536870912); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_nota._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1023;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +Debug.ShouldStop(1073741824); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_nom),(_cedis),(_foliu)}))))); + }; + BA.debugLineNum = 1025;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1027;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1028;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1029;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1030;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 1031;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1032;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(128); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 1033;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1034;BA.debugLine="c.Position=0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1035;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(1024); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 1036;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1037;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1038;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1039;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(16384); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1040;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +Debug.ShouldStop(32768); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(65536); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }else { + BA.debugLineNum = 1043;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +Debug.ShouldStop(262144); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1044;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +Debug.ShouldStop(524288); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 1046;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; +Debug.ShouldStop(2097152); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 1047;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE"; +Debug.ShouldStop(4194304); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 1048;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 1051;BA.debugLine="Log(\"aqui\")"; +Debug.ShouldStop(67108864); +c_nota.__c.runVoidMethod ("LogImpl","077070872",RemoteObject.createImmutable("aqui"),0); + BA.debugLineNum = 1052;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicket"; +Debug.ShouldStop(134217728); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_p_transparenteticketimpreso" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 1053;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +Debug.ShouldStop(268435456); +c_nota._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cliente"))); + BA.debugLineNum = 1054;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, no"; +Debug.ShouldStop(536870912); +c_nota.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!")),(Object)(c_nota.__c.getField(true,"True"))); + }; + }; + }} +; + BA.debugLineNum = 1058;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_nota_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_nota_Click (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,1108); +if (RapidSub.canDelegate("p_nota_click")) { return __ref.runUserSub(false, "c_nota","p_nota_click", __ref);} + BA.debugLineNum = 1108;BA.debugLine="Private Sub p_nota_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1110;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Regresar_Click (c_nota) ","c_nota",21,__ref.getField(false, "ba"),__ref,402); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_nota","regresar_click", __ref);} + BA.debugLineNum = 402;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 403;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(262144); +c_nota._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 404;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_noventa.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_noventa.java new file mode 100644 index 0000000..c630701 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_noventa.java @@ -0,0 +1,56 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_noventa { + public static RemoteObject myClass; + public c_noventa() { + } + public static PCBA staticBA = new PCBA(null, c_noventa.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _cancela = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _guarda = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _r_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _r_2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _r_3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _e_comm = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _motivo = RemoteObject.createImmutable(""); +public static RemoteObject _cuenta = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _r_4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _stay_hh = RemoteObject.createImmutable(""); +public static RemoteObject _stay_mi = RemoteObject.createImmutable(""); +public static RemoteObject _stay_ss = RemoteObject.createImmutable(""); +public static RemoteObject _p_noventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _bitacora = RemoteObject.declareNull("gunav2.keymon.com.mx.c_bitacora"); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bitacora",_ref.getField(false, "_bitacora"),"c",_ref.getField(false, "_c"),"CANCELA",_ref.getField(false, "_cancela"),"cuenta",_ref.getField(false, "_cuenta"),"DateUtils",_ref.getField(false, "_dateutils"),"e_comm",_ref.getField(false, "_e_comm"),"g",_ref.getField(false, "_g"),"GUARDA",_ref.getField(false, "_guarda"),"motivo",_ref.getField(false, "_motivo"),"p_NoVenta",_ref.getField(false, "_p_noventa"),"Panel1",_ref.getField(false, "_panel1"),"r_1",_ref.getField(false, "_r_1"),"r_2",_ref.getField(false, "_r_2"),"r_3",_ref.getField(false, "_r_3"),"r_4",_ref.getField(false, "_r_4"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"stay_hh",_ref.getField(false, "_stay_hh"),"stay_mi",_ref.getField(false, "_stay_mi"),"stay_ss",_ref.getField(false, "_stay_ss"),"sTime",_ref.getField(false, "_stime"),"tgl",_ref.getField(false, "_tgl"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_noventa_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_noventa_subs_0.java new file mode 100644 index 0000000..fe5512f --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_noventa_subs_0.java @@ -0,0 +1,369 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_noventa_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_noventa) ","c_noventa",6,__ref.getField(false, "ba"),__ref,55); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_noventa","b4xpage_appear", __ref);} + BA.debugLineNum = 55;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 56;BA.debugLine="Panel1.Height = Root.Height"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 57;BA.debugLine="Panel1.Width = Root.Width"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 58;BA.debugLine="Subs.centraPanel(Panel1, Root.Width)"; +Debug.ShouldStop(33554432); +c_noventa._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_panel1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 59;BA.debugLine="Subs.centraPanelV(Panel1, Root.Height)"; +Debug.ShouldStop(67108864); +c_noventa._subs.runVoidMethod ("_centrapanelv" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_panel1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 60;BA.debugLine="e_comm.Text=\"\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_e_comm" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 61;BA.debugLine="tgl.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_tgl" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba")); + BA.debugLineNum = 62;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(536870912); +if (c_noventa.__c.runMethod(true,"Not",(Object)(c_noventa._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 63;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(1073741824); +c_noventa.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_noventa.__c.getField(true,"True"))); + BA.debugLineNum = 64;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(-2147483648); +c_noventa.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_noventa._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 66;BA.debugLine="r_1.Checked = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 67;BA.debugLine="r_2.Checked = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_r_2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 68;BA.debugLine="r_3.Checked = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_r_3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 69;BA.debugLine="r_4.Checked = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_r_4" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_noventa) ","c_noventa",6,__ref.getField(false, "ba"),__ref,39); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_noventa","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 39;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(64); + BA.debugLineNum = 40;BA.debugLine="Root = Root1"; +Debug.ShouldStop(128); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 42;BA.debugLine="Root.LoadLayout(\"noventa\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("noventa")),__ref.getField(false, "ba")); + BA.debugLineNum = 44;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(2048); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_noventa.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 46;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",c_noventa.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_noventa.__c.getField(true,"False"))) { + BA.debugLineNum = 47;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(16384); +c_noventa.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_noventa.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 50;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; +Debug.ShouldStop(131072); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(("bitacora"))),(Object)(BA.ObjectToString("bitacora")),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ )),(Object)(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ )),(Object)(c_noventa._starter._reqmanager /*RemoteObject*/ )); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cancela_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CANCELA_Click (c_noventa) ","c_noventa",6,__ref.getField(false, "ba"),__ref,77); +if (RapidSub.canDelegate("cancela_click")) { return __ref.runUserSub(false, "c_noventa","cancela_click", __ref);} + BA.debugLineNum = 77;BA.debugLine="Sub CANCELA_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 78;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(8192); +c_noventa._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_noventa._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_noventa._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_noventa._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_noventa._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_noventa._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_noventa._g); + //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; +c_noventa._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_noventa._ruta); + //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +c_noventa._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_noventa._skmt); + //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +c_noventa._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_noventa._c); + //BA.debugLineNum = 10;BA.debugLine="Dim CANCELA As Button"; +c_noventa._cancela = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cancela",c_noventa._cancela); + //BA.debugLineNum = 11;BA.debugLine="Dim GUARDA As Button"; +c_noventa._guarda = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guarda",c_noventa._guarda); + //BA.debugLineNum = 12;BA.debugLine="Dim r_1 As RadioButton"; +c_noventa._r_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_1",c_noventa._r_1); + //BA.debugLineNum = 13;BA.debugLine="Dim r_2 As RadioButton"; +c_noventa._r_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_2",c_noventa._r_2); + //BA.debugLineNum = 14;BA.debugLine="Dim r_3 As RadioButton"; +c_noventa._r_3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_3",c_noventa._r_3); + //BA.debugLineNum = 15;BA.debugLine="Dim e_comm As EditText"; +c_noventa._e_comm = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_comm",c_noventa._e_comm); + //BA.debugLineNum = 16;BA.debugLine="Dim motivo As String"; +c_noventa._motivo = RemoteObject.createImmutable("");__ref.setField("_motivo",c_noventa._motivo); + //BA.debugLineNum = 17;BA.debugLine="Dim cuenta As String"; +c_noventa._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_noventa._cuenta); + //BA.debugLineNum = 18;BA.debugLine="Dim usuario As String"; +c_noventa._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_noventa._usuario); + //BA.debugLineNum = 19;BA.debugLine="Dim sDate,sTime As String"; +c_noventa._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_noventa._sdate); +c_noventa._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_noventa._stime); + //BA.debugLineNum = 21;BA.debugLine="Dim tgl As Toggle"; +c_noventa._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_noventa._tgl); + //BA.debugLineNum = 22;BA.debugLine="Dim r_4 As RadioButton"; +c_noventa._r_4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_4",c_noventa._r_4); + //BA.debugLineNum = 24;BA.debugLine="Private stay_hh As String"; +c_noventa._stay_hh = RemoteObject.createImmutable("");__ref.setField("_stay_hh",c_noventa._stay_hh); + //BA.debugLineNum = 25;BA.debugLine="Private stay_mi As String"; +c_noventa._stay_mi = RemoteObject.createImmutable("");__ref.setField("_stay_mi",c_noventa._stay_mi); + //BA.debugLineNum = 26;BA.debugLine="Private stay_ss As String"; +c_noventa._stay_ss = RemoteObject.createImmutable("");__ref.setField("_stay_ss",c_noventa._stay_ss); + //BA.debugLineNum = 27;BA.debugLine="Private p_NoVenta As Panel"; +c_noventa._p_noventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_noventa",c_noventa._p_noventa); + //BA.debugLineNum = 28;BA.debugLine="Dim tipo_venta = Subs.traeTipoVentaDeBD"; +c_noventa._tipo_venta = c_noventa._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_tipo_venta",c_noventa._tipo_venta); + //BA.debugLineNum = 29;BA.debugLine="Dim bitacora As C_Bitacora"; +c_noventa._bitacora = RemoteObject.createNew ("gunav2.keymon.com.mx.c_bitacora");__ref.setField("_bitacora",c_noventa._bitacora); + //BA.debugLineNum = 30;BA.debugLine="Private Panel1 As Panel"; +c_noventa._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_noventa._panel1); + //BA.debugLineNum = 31;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_noventa) ","c_noventa",6,__ref.getField(false, "ba"),__ref,72); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_noventa","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 72;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(128); + BA.debugLineNum = 75;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guarda_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GUARDA_Click (c_noventa) ","c_noventa",6,__ref.getField(false, "ba"),__ref,81); +if (RapidSub.canDelegate("guarda_click")) { return __ref.runUserSub(false, "c_noventa","guarda_click", __ref);} +int _i = 0; + BA.debugLineNum = 81;BA.debugLine="Sub GUARDA_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 82;BA.debugLine="If r_1.Checked Then"; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 83;BA.debugLine="motivo = \"CERRADO\""; +Debug.ShouldStop(262144); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("CERRADO")); + }else +{ BA.debugLineNum = 84;BA.debugLine="Else If r_2.Checked Then"; +Debug.ShouldStop(524288); +if (__ref.getField(false,"_r_2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 85;BA.debugLine="motivo = \"NO COMPRA\""; +Debug.ShouldStop(1048576); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("NO COMPRA")); + }else +{ BA.debugLineNum = 86;BA.debugLine="Else If r_3.Checked Then"; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_r_3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 87;BA.debugLine="motivo = \"CON PRODUCTO\""; +Debug.ShouldStop(4194304); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("CON PRODUCTO")); + }else { + BA.debugLineNum = 89;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +Debug.ShouldStop(16777216); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("NO ESTA EL ENCARGADO")); + }}} +; + BA.debugLineNum = 91;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(67108864); +c_noventa.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 92;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(134217728); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_noventa.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_noventa.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 93;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_stime" /*RemoteObject*/ ,c_noventa.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_noventa.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 94;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CUENTA"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa")))); + BA.debugLineNum = 95;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 96;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 97;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 98;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 99;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(4); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 100;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PRO"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) ")))); + BA.debugLineNum = 101;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 102;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(32); +{ +final int step21 = 1; +final int limit21 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step21 > 0 && _i <= limit21) || (step21 < 0 && _i >= limit21) ;_i = ((int)(0 + _i + step21)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 103;BA.debugLine="c.Position=i"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 104;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update $"; +Debug.ShouldStop(128); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_noventa._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?")))),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 108;BA.debugLine="If B4XPages.MainPage.cliente.IsInitialized Then"; +Debug.ShouldStop(2048); +if (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 109;BA.debugLine="B4XPages.MainPage.cliente.motivoNoVenta = motivo"; +Debug.ShouldStop(4096); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).setField ("_motivonoventa" /*RemoteObject*/ ,__ref.getField(true,"_motivo" /*RemoteObject*/ )); + BA.debugLineNum = 111;BA.debugLine="Starter.enVenta = False"; +Debug.ShouldStop(16384); +c_noventa._starter._enventa /*RemoteObject*/ = c_noventa.__c.getField(true,"False"); + }; + BA.debugLineNum = 114;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(131072); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 115;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(262144); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 117;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(1048576); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_motivo" /*RemoteObject*/ )),(__ref.getField(false,"_e_comm" /*RemoteObject*/ ).runMethod(true,"getText")),(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 118;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; +Debug.ShouldStop(2097152); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 119;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(4194304); +c_noventa.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 120;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(8388608); +__ref.setField ("_stime" /*RemoteObject*/ ,c_noventa.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_noventa.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 121;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +Debug.ShouldStop(16777216); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 124;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (subs"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "),RemoteObject.createImmutable("Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "),RemoteObject.createImmutable(" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "),RemoteObject.createImmutable("Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "),RemoteObject.createImmutable(" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "),RemoteObject.createImmutable(" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))))); + BA.debugLineNum = 130;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 131;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; +Debug.ShouldStop(4); +__ref.setField ("_stay_hh" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HORAS_TOTALES")))),RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "**",0, 0))); + BA.debugLineNum = 132;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; +Debug.ShouldStop(8); +__ref.setField ("_stay_mi" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MINUTOS_TOTALES")))),RemoteObject.createImmutable(60)}, "*",0, 0))); + BA.debugLineNum = 133;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; +Debug.ShouldStop(16); +__ref.setField ("_stay_ss" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SEGUNDOS_TOTALES")))); + BA.debugLineNum = 134;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +Debug.ShouldStop(32); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_stay_hh" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_stay_mi" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_stay_ss" /*RemoteObject*/ ))}, "++",2, 0))}))))); + BA.debugLineNum = 135;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +Debug.ShouldStop(64); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_OUT set HSO_FIN = ? ")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 136;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(128); +c_noventa.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 137;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTime."; +Debug.ShouldStop(256); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_noventa._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_noventa.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(Object)(c_noventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_noventa._subs.runMethod(true,"_traerutabitacora" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("NO VENTA")),(Object)(c_noventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_noventa._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_noventa.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_noventa._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_noventa.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.NumberToString(2)),(Object)(__ref.getField(true,"_motivo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethod(true,"getChecked"))),(Object)(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_bitacora" /*RemoteObject*/ ).getField(true,"_banderageocerca" /*RemoteObject*/ ))); + BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(512); +c_noventa._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 139;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_noventa) ","c_noventa",6,__ref.getField(false, "ba"),__ref,34); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_noventa","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 34;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(2); + BA.debugLineNum = 35;BA.debugLine="Return Me"; +Debug.ShouldStop(4); +if (true) return __ref; + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nuevocliente.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nuevocliente.java new file mode 100644 index 0000000..1216723 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nuevocliente.java @@ -0,0 +1,84 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_nuevocliente { + public static RemoteObject myClass; + public c_nuevocliente() { + } + public static PCBA staticBA = new PCBA(null, c_nuevocliente.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _cancela = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _guarda = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cuenta = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _sdate2 = RemoteObject.createImmutable(""); +public static RemoteObject _stime2 = RemoteObject.createImmutable(""); +public static RemoteObject _no_cliente = RemoteObject.createImmutable(""); +public static RemoteObject _no_ruta = RemoteObject.createImmutable(""); +public static RemoteObject _lista_punta = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _r_4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _e_nombre = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _l_sinubicacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_nuevocliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_botones = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_cam = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_camara = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_foto_inci = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _frontcamera = RemoteObject.createImmutable(false); +public static RemoteObject _fototomada = RemoteObject.createImmutable(""); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _et_direccion = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lat = RemoteObject.createImmutable(0); +public static RemoteObject _lon = RemoteObject.createImmutable(0); +public static RemoteObject _b_ubicacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _cb_giro = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _giros = RemoteObject.createImmutable(""); +public static RemoteObject _l_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_colonia = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_telefono = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_cp = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label6 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _et_calle1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_calle2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _scv_nuevocliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.ScrollViewWrapper"); +public static RemoteObject _label9 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_numeroint = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_numeroext = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_referencia = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ALMACEN",_ref.getField(false, "_almacen"),"b_foto_inci",_ref.getField(false, "_b_foto_inci"),"b_ubicacion",_ref.getField(false, "_b_ubicacion"),"c",_ref.getField(false, "_c"),"CANCELA",_ref.getField(false, "_cancela"),"cb_giro",_ref.getField(false, "_cb_giro"),"cuenta",_ref.getField(false, "_cuenta"),"DateUtils",_ref.getField(false, "_dateutils"),"E_NOMBRE",_ref.getField(false, "_e_nombre"),"ET_Atiende",_ref.getField(false, "_et_atiende"),"et_calle1",_ref.getField(false, "_et_calle1"),"et_calle2",_ref.getField(false, "_et_calle2"),"et_colonia",_ref.getField(false, "_et_colonia"),"et_cp",_ref.getField(false, "_et_cp"),"et_direccion",_ref.getField(false, "_et_direccion"),"et_numeroext",_ref.getField(false, "_et_numeroext"),"et_numeroint",_ref.getField(false, "_et_numeroint"),"et_referencia",_ref.getField(false, "_et_referencia"),"et_telefono",_ref.getField(false, "_et_telefono"),"fototomada",_ref.getField(false, "_fototomada"),"frontCamera",_ref.getField(false, "_frontcamera"),"g",_ref.getField(false, "_g"),"giros",_ref.getField(false, "_giros"),"GUARDA",_ref.getField(false, "_guarda"),"L_Atiende",_ref.getField(false, "_l_atiende"),"l_sinUbicacion",_ref.getField(false, "_l_sinubicacion"),"Label1",_ref.getField(false, "_label1"),"Label10",_ref.getField(false, "_label10"),"Label11",_ref.getField(false, "_label11"),"Label2",_ref.getField(false, "_label2"),"Label3",_ref.getField(false, "_label3"),"Label5",_ref.getField(false, "_label5"),"Label6",_ref.getField(false, "_label6"),"Label9",_ref.getField(false, "_label9"),"lat",_ref.getField(false, "_lat"),"lista_punta",_ref.getField(false, "_lista_punta"),"lon",_ref.getField(false, "_lon"),"no_cliente",_ref.getField(false, "_no_cliente"),"no_ruta",_ref.getField(false, "_no_ruta"),"p_botones",_ref.getField(false, "_p_botones"),"p_cam",_ref.getField(false, "_p_cam"),"p_camara",_ref.getField(false, "_p_camara"),"p_nuevoCliente",_ref.getField(false, "_p_nuevocliente"),"Panel1",_ref.getField(false, "_panel1"),"r_4",_ref.getField(false, "_r_4"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"scv_nuevocliente",_ref.getField(false, "_scv_nuevocliente"),"sDate",_ref.getField(false, "_sdate"),"sDate2",_ref.getField(false, "_sdate2"),"sTime",_ref.getField(false, "_stime"),"sTime2",_ref.getField(false, "_stime2"),"tgl",_ref.getField(false, "_tgl"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nuevocliente_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nuevocliente_subs_0.java new file mode 100644 index 0000000..ca69bd3 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_nuevocliente_subs_0.java @@ -0,0 +1,1060 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_nuevocliente_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,247); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_nuevocliente","b4xpage_appear", __ref);} +RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; + BA.debugLineNum = 247;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 249;BA.debugLine="scv_nuevocliente.Panel.RemoveAllViews"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_scv_nuevocliente" /*RemoteObject*/ ).runMethod(false,"getPanel").runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 250;BA.debugLine="scv_nuevocliente.Panel.LoadLayout(\"Panel_Nuevocli"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_scv_nuevocliente" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("Panel_Nuevocliente")),__ref.getField(false, "ba")); + BA.debugLineNum = 251;BA.debugLine="scv_nuevocliente.Panel.Height = 1100dip"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_scv_nuevocliente" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",c_nuevocliente.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1100)))); + BA.debugLineNum = 253;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"False")); + BA.debugLineNum = 254;BA.debugLine="p_nuevoCliente.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_nuevocliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"False")); + BA.debugLineNum = 255;BA.debugLine="p_nuevoCliente.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_nuevocliente" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + BA.debugLineNum = 256;BA.debugLine="Panel1.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + BA.debugLineNum = 257;BA.debugLine="et_direccion.Text = \"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 258;BA.debugLine="E_NOMBRE.Text = \"\""; +Debug.ShouldStop(2); +__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 259;BA.debugLine="ET_Atiende.Text = \"\""; +Debug.ShouldStop(4); +__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 260;BA.debugLine="et_colonia.Text = \"\""; +Debug.ShouldStop(8); +__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 261;BA.debugLine="et_telefono.Text = \"\""; +Debug.ShouldStop(16); +__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 262;BA.debugLine="et_cp.Text = \"\""; +Debug.ShouldStop(32); +__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 263;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(64); +if (c_nuevocliente.__c.runMethod(true,"Not",(Object)(c_nuevocliente._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 264;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(128); +c_nuevocliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_nuevocliente.__c.getField(true,"True"))); + BA.debugLineNum = 265;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(256); +c_nuevocliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_nuevocliente._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 267;BA.debugLine="GUARDA.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_guarda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"False")); + BA.debugLineNum = 268;BA.debugLine="Subs.panelVisible(p_nuevoCliente, 0, 0)"; +Debug.ShouldStop(2048); +c_nuevocliente._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_nuevocliente" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 269;BA.debugLine="Subs.panelVisible(Panel1, 0, 0)"; +Debug.ShouldStop(4096); +c_nuevocliente._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_panel1" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 271;BA.debugLine="p_nuevoCliente.Width = Root.Width"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_nuevocliente" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 272;BA.debugLine="Panel1.Width = Root.Width"; +Debug.ShouldStop(32768); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 273;BA.debugLine="Panel1.Height = p_nuevoCliente.Height"; +Debug.ShouldStop(65536); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_p_nuevocliente" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 274;BA.debugLine="Subs.centraEtiqueta(Label1, Root.Width)"; +Debug.ShouldStop(131072); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 275;BA.debugLine="Subs.centraEtiqueta(Label5, Root.Width)"; +Debug.ShouldStop(262144); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label5" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 276;BA.debugLine="Subs.centraEtiqueta(Label6, Root.Width)"; +Debug.ShouldStop(524288); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label6" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 277;BA.debugLine="Subs.centraEtiqueta(Label2, Root.Width)"; +Debug.ShouldStop(1048576); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label2" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 278;BA.debugLine="Subs.centraEtiqueta(Label3, Root.Width)"; +Debug.ShouldStop(2097152); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label3" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 279;BA.debugLine="Subs.centraEtiqueta(l_sinUbicacion, Root.Width)"; +Debug.ShouldStop(4194304); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_l_sinubicacion" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 280;BA.debugLine="Subs.centraEtiqueta(b_ubicacion, Root.Width)"; +Debug.ShouldStop(8388608); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 281;BA.debugLine="Subs.centraPanel(p_botones, Root.Width)"; +Debug.ShouldStop(16777216); +c_nuevocliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_botones" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 282;BA.debugLine="E_NOMBRE.Left = Round(Root.Width/2)-(E_NOMBRE.Wid"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_nuevocliente.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 283;BA.debugLine="et_cp.Left = Round(Root.Width/2)-(E_NOMBRE.Width/"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_nuevocliente.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 284;BA.debugLine="et_colonia.Left = Round(Root.Width/2)-(et_colonia"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_nuevocliente.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 285;BA.debugLine="et_direccion.Left = Round(Root.Width/2)-(et_direc"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_nuevocliente.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 286;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),BA.ObjectToString("0.0"))) { + BA.debugLineNum = 287;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_guarda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + BA.debugLineNum = 288;BA.debugLine="l_sinUbicacion.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_sinubicacion" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + }; + BA.debugLineNum = 291;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +Debug.ShouldStop(4); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("Track"))); + BA.debugLineNum = 292;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(8); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 293;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(".",c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 294;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(32); +c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"))); + BA.debugLineNum = 295;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(64); +c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))); + BA.debugLineNum = 297;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +Debug.ShouldStop(256); +__ref.runClassMethod (gunav2.keymon.com.mx.c_nuevocliente.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"))); + }; + BA.debugLineNum = 312;BA.debugLine="If Not(Starter.GPS.GPSEnabled) Then"; +Debug.ShouldStop(8388608); +if (c_nuevocliente.__c.runMethod(true,"Not",(Object)(c_nuevocliente._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 313;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +Debug.ShouldStop(16777216); +c_nuevocliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo.")),(Object)(c_nuevocliente.__c.getField(true,"True"))); + BA.debugLineNum = 314;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsIntent"; +Debug.ShouldStop(33554432); +c_nuevocliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_nuevocliente._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }else { + BA.debugLineNum = 316;BA.debugLine="Starter.GPS.Start(0, 0)"; +Debug.ShouldStop(134217728); +c_nuevocliente._starter._gps /*RemoteObject*/ .runVoidMethodAndSync ("Start",__ref.getField(false, "ba"),(Object)(BA.numberCast(long.class, 0)),(Object)(BA.numberCast(float.class, 0))); + }; + BA.debugLineNum = 319;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(1073741824); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 321;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT GIRO FROM CAT_"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT GIRO FROM CAT_GIRO order by 1")))); + BA.debugLineNum = 322;BA.debugLine="Dim Items As List"; +Debug.ShouldStop(2); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items); + BA.debugLineNum = 323;BA.debugLine="Items.Initialize"; +Debug.ShouldStop(4); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 324;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCIÓN\")"; +Debug.ShouldStop(8); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("SELECCIONA UNA OPCIÓN")))); + BA.debugLineNum = 325;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 326;BA.debugLine="For i = 0 To c.RowCount-1"; +Debug.ShouldStop(32); +{ +final int step59 = 1; +final int limit59 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step59 > 0 && _i <= limit59) || (step59 < 0 && _i >= limit59) ;_i = ((int)(0 + _i + step59)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 327;BA.debugLine="c.Position = i"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 328;BA.debugLine="Items.Add(c.GetString(\"GIRO\"))"; +Debug.ShouldStop(128); +_items.runVoidMethod ("Add",(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("GIRO")))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 330;BA.debugLine="cb_giro.SetItems(Items)"; +Debug.ShouldStop(512); +__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + }; + BA.debugLineNum = 332;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +Debug.ShouldStop(2048); +__ref.setField ("_giros" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCIÓN")); + BA.debugLineNum = 333;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 334;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,204); +if (RapidSub.canDelegate("b4xpage_created")) { __ref.runUserSub(false, "c_nuevocliente","b4xpage_created", __ref, _root1); return;} +ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(null,__ref,_root1); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { +public ResumableSub_B4XPage_Created(gunav2.keymon.com.mx.c_nuevocliente parent,RemoteObject __ref,RemoteObject _root1) { +this.parent = parent; +this.__ref = __ref; +this._root1 = _root1; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_nuevocliente parent; +RemoteObject _root1; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,204); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 206;BA.debugLine="Root = Root1"; +Debug.ShouldStop(8192); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 208;BA.debugLine="Root.LoadLayout(\"nuevocliente\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("nuevocliente")),__ref.getField(false, "ba")); + BA.debugLineNum = 209;BA.debugLine="scv_nuevocliente.Height = Root.Height"; +Debug.ShouldStop(65536); +__ref.getField(false,"_scv_nuevocliente" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 210;BA.debugLine="scv_nuevocliente.Width = Root.Width"; +Debug.ShouldStop(131072); +__ref.getField(false,"_scv_nuevocliente" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 212;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(524288); +__ref.setField ("_ruta" /*RemoteObject*/ ,parent.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 213;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",parent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),parent.__c.getField(true,"False"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 214;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(2097152); +parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + if (true) break; + +case 4: +//C +this.state = 5; +; + BA.debugLineNum = 228;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(8); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE"))); + BA.debugLineNum = 229;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_nuevocliente", "b4xpage_created"), null); +this.state = 17; +return; +case 17: +//C +this.state = 5; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 230;BA.debugLine="If Result Then"; +Debug.ShouldStop(32); +if (true) break; + +case 5: +//if +this.state = 10; +if (_result.get().booleanValue()) { +this.state = 7; +}else { +this.state = 9; +}if (true) break; + +case 7: +//C +this.state = 10; + BA.debugLineNum = 231;BA.debugLine="Log(\"Con permisos para escritura\")"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("LogImpl","077398043",RemoteObject.createImmutable("Con permisos para escritura"),0); + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 233;BA.debugLine="ToastMessageShow(\"Sin permisos de escritura!!!\","; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos de escritura!!!")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 236;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(2048); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_READ_EXTERNAL_STORAGE"))); + BA.debugLineNum = 237;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_nuevocliente", "b4xpage_created"), null); +this.state = 18; +return; +case 18: +//C +this.state = 11; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 238;BA.debugLine="If Result Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 11: +//if +this.state = 16; +if (_result.get().booleanValue()) { +this.state = 13; +}else { +this.state = 15; +}if (true) break; + +case 13: +//C +this.state = 16; + BA.debugLineNum = 239;BA.debugLine="Log(\"Con permisos para escritura\")"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","077398051",RemoteObject.createImmutable("Con permisos para escritura"),0); + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 241;BA.debugLine="ToastMessageShow(\"Sin permisos de lectura!!!\", T"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos de lectura!!!")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 243;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{ +} +public static RemoteObject _cancela_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CANCELA_Click (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,360); +if (RapidSub.canDelegate("cancela_click")) { return __ref.runUserSub(false, "c_nuevocliente","cancela_click", __ref);} + BA.debugLineNum = 360;BA.debugLine="Sub CANCELA_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 361;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(256); +c_nuevocliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 362;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +Debug.ShouldStop(512); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP"))); + BA.debugLineNum = 363;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_giro_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_giro_SelectedIndexChanged (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,633); +if (RapidSub.canDelegate("cb_giro_selectedindexchanged")) { return __ref.runUserSub(false, "c_nuevocliente","cb_giro_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 633;BA.debugLine="Private Sub cb_giro_SelectedIndexChanged (Index As"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 634;BA.debugLine="giros = cb_giro.SelectedItem"; +Debug.ShouldStop(33554432); +__ref.setField ("_giros" /*RemoteObject*/ ,__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 635;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 140;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 141;BA.debugLine="Private Root As B4XView 'ignore"; +c_nuevocliente._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_nuevocliente._root); + //BA.debugLineNum = 142;BA.debugLine="Private xui As XUI 'ignore"; +c_nuevocliente._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_nuevocliente._xui); + //BA.debugLineNum = 144;BA.debugLine="Dim g As GPS"; +c_nuevocliente._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_nuevocliente._g); + //BA.debugLineNum = 145;BA.debugLine="Dim ruta As String"; +c_nuevocliente._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_nuevocliente._ruta); + //BA.debugLineNum = 146;BA.debugLine="Dim c As Cursor"; +c_nuevocliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_nuevocliente._c); + //BA.debugLineNum = 148;BA.debugLine="Dim CANCELA As Button"; +c_nuevocliente._cancela = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cancela",c_nuevocliente._cancela); + //BA.debugLineNum = 149;BA.debugLine="Dim GUARDA As Button"; +c_nuevocliente._guarda = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guarda",c_nuevocliente._guarda); + //BA.debugLineNum = 150;BA.debugLine="Dim cuenta As String"; +c_nuevocliente._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_nuevocliente._cuenta); + //BA.debugLineNum = 151;BA.debugLine="Dim usuario As String"; +c_nuevocliente._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_nuevocliente._usuario); + //BA.debugLineNum = 152;BA.debugLine="Dim sDate,sTime As String"; +c_nuevocliente._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_nuevocliente._sdate); +c_nuevocliente._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_nuevocliente._stime); + //BA.debugLineNum = 153;BA.debugLine="Dim sDate2,sTime2 As String"; +c_nuevocliente._sdate2 = RemoteObject.createImmutable("");__ref.setField("_sdate2",c_nuevocliente._sdate2); +c_nuevocliente._stime2 = RemoteObject.createImmutable("");__ref.setField("_stime2",c_nuevocliente._stime2); + //BA.debugLineNum = 154;BA.debugLine="Dim no_cliente As String"; +c_nuevocliente._no_cliente = RemoteObject.createImmutable("");__ref.setField("_no_cliente",c_nuevocliente._no_cliente); + //BA.debugLineNum = 155;BA.debugLine="Dim no_ruta As String"; +c_nuevocliente._no_ruta = RemoteObject.createImmutable("");__ref.setField("_no_ruta",c_nuevocliente._no_ruta); + //BA.debugLineNum = 156;BA.debugLine="Dim lista_punta As List"; +c_nuevocliente._lista_punta = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_lista_punta",c_nuevocliente._lista_punta); + //BA.debugLineNum = 157;BA.debugLine="Dim r_4 As RadioButton"; +c_nuevocliente._r_4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_4",c_nuevocliente._r_4); + //BA.debugLineNum = 158;BA.debugLine="Dim E_NOMBRE As EditText"; +c_nuevocliente._e_nombre = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_nombre",c_nuevocliente._e_nombre); + //BA.debugLineNum = 159;BA.debugLine="Dim tgl As Toggle"; +c_nuevocliente._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_nuevocliente._tgl); + //BA.debugLineNum = 160;BA.debugLine="Private l_sinUbicacion As Label"; +c_nuevocliente._l_sinubicacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_sinubicacion",c_nuevocliente._l_sinubicacion); + //BA.debugLineNum = 161;BA.debugLine="Private p_nuevoCliente As Panel"; +c_nuevocliente._p_nuevocliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_nuevocliente",c_nuevocliente._p_nuevocliente); + //BA.debugLineNum = 162;BA.debugLine="Private Label1 As Label"; +c_nuevocliente._label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label1",c_nuevocliente._label1); + //BA.debugLineNum = 163;BA.debugLine="Private p_botones As Panel"; +c_nuevocliente._p_botones = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_botones",c_nuevocliente._p_botones); + //BA.debugLineNum = 164;BA.debugLine="Private p_cam As Panel"; +c_nuevocliente._p_cam = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_cam",c_nuevocliente._p_cam); + //BA.debugLineNum = 165;BA.debugLine="Private p_camara As Panel"; +c_nuevocliente._p_camara = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_camara",c_nuevocliente._p_camara); + //BA.debugLineNum = 166;BA.debugLine="Private b_foto_inci As Button"; +c_nuevocliente._b_foto_inci = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_foto_inci",c_nuevocliente._b_foto_inci); + //BA.debugLineNum = 168;BA.debugLine="Dim frontCamera As Boolean = False"; +c_nuevocliente._frontcamera = c_nuevocliente.__c.getField(true,"False");__ref.setField("_frontcamera",c_nuevocliente._frontcamera); + //BA.debugLineNum = 169;BA.debugLine="Dim fototomada As String = \"0\""; +c_nuevocliente._fototomada = BA.ObjectToString("0");__ref.setField("_fototomada",c_nuevocliente._fototomada); + //BA.debugLineNum = 170;BA.debugLine="Dim ALMACEN As String"; +c_nuevocliente._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_nuevocliente._almacen); + //BA.debugLineNum = 171;BA.debugLine="Private et_direccion As EditText"; +c_nuevocliente._et_direccion = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_direccion",c_nuevocliente._et_direccion); + //BA.debugLineNum = 172;BA.debugLine="Private Label2 As Label"; +c_nuevocliente._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_nuevocliente._label2); + //BA.debugLineNum = 173;BA.debugLine="Dim lat As Double = 0"; +c_nuevocliente._lat = BA.numberCast(double.class, 0);__ref.setField("_lat",c_nuevocliente._lat); + //BA.debugLineNum = 174;BA.debugLine="Dim lon As Double = 0"; +c_nuevocliente._lon = BA.numberCast(double.class, 0);__ref.setField("_lon",c_nuevocliente._lon); + //BA.debugLineNum = 175;BA.debugLine="Private b_ubicacion As Label"; +c_nuevocliente._b_ubicacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_b_ubicacion",c_nuevocliente._b_ubicacion); + //BA.debugLineNum = 176;BA.debugLine="Private Label3 As Label"; +c_nuevocliente._label3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label3",c_nuevocliente._label3); + //BA.debugLineNum = 177;BA.debugLine="Private cb_giro As B4XComboBox"; +c_nuevocliente._cb_giro = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_giro",c_nuevocliente._cb_giro); + //BA.debugLineNum = 178;BA.debugLine="Dim giros As String"; +c_nuevocliente._giros = RemoteObject.createImmutable("");__ref.setField("_giros",c_nuevocliente._giros); + //BA.debugLineNum = 179;BA.debugLine="Private L_Atiende As Label"; +c_nuevocliente._l_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende",c_nuevocliente._l_atiende); + //BA.debugLineNum = 180;BA.debugLine="Private ET_Atiende As EditText"; +c_nuevocliente._et_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_atiende",c_nuevocliente._et_atiende); + //BA.debugLineNum = 181;BA.debugLine="Private Label5 As Label"; +c_nuevocliente._label5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label5",c_nuevocliente._label5); + //BA.debugLineNum = 182;BA.debugLine="Private et_colonia As EditText"; +c_nuevocliente._et_colonia = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_colonia",c_nuevocliente._et_colonia); + //BA.debugLineNum = 183;BA.debugLine="Private et_telefono As EditText"; +c_nuevocliente._et_telefono = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_telefono",c_nuevocliente._et_telefono); + //BA.debugLineNum = 184;BA.debugLine="Private et_cp As EditText"; +c_nuevocliente._et_cp = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_cp",c_nuevocliente._et_cp); + //BA.debugLineNum = 185;BA.debugLine="Private Label6 As Label"; +c_nuevocliente._label6 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label6",c_nuevocliente._label6); + //BA.debugLineNum = 186;BA.debugLine="Private Panel1 As Panel"; +c_nuevocliente._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_nuevocliente._panel1); + //BA.debugLineNum = 187;BA.debugLine="Private et_calle1 As EditText"; +c_nuevocliente._et_calle1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_calle1",c_nuevocliente._et_calle1); + //BA.debugLineNum = 188;BA.debugLine="Private et_calle2 As EditText"; +c_nuevocliente._et_calle2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_calle2",c_nuevocliente._et_calle2); + //BA.debugLineNum = 189;BA.debugLine="Private scv_nuevocliente As ScrollView"; +c_nuevocliente._scv_nuevocliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");__ref.setField("_scv_nuevocliente",c_nuevocliente._scv_nuevocliente); + //BA.debugLineNum = 190;BA.debugLine="Private Label9 As Label"; +c_nuevocliente._label9 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label9",c_nuevocliente._label9); + //BA.debugLineNum = 191;BA.debugLine="Private et_numeroint As EditText"; +c_nuevocliente._et_numeroint = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_numeroint",c_nuevocliente._et_numeroint); + //BA.debugLineNum = 192;BA.debugLine="Private Label10 As Label"; +c_nuevocliente._label10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label10",c_nuevocliente._label10); + //BA.debugLineNum = 193;BA.debugLine="Private et_numeroext As EditText"; +c_nuevocliente._et_numeroext = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_numeroext",c_nuevocliente._et_numeroext); + //BA.debugLineNum = 194;BA.debugLine="Private Label11 As Label"; +c_nuevocliente._label11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label11",c_nuevocliente._label11); + //BA.debugLineNum = 195;BA.debugLine="Private et_referencia As EditText"; +c_nuevocliente._et_referencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_referencia",c_nuevocliente._et_referencia); + //BA.debugLineNum = 196;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _et_cp_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_cp_TextChanged (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,637); +if (RapidSub.canDelegate("et_cp_textchanged")) { return __ref.runUserSub(false, "c_nuevocliente","et_cp_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 637;BA.debugLine="Private Sub et_cp_TextChanged (Old As String, New"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 638;BA.debugLine="If New.Length > 5 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 5))) { + BA.debugLineNum = 639;BA.debugLine="et_cp.Text = Old"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_old)); + }else +{ BA.debugLineNum = 640;BA.debugLine="Else If New.Length > 1 And New.Length <= 5 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 1)) && RemoteObject.solveBoolean("k",_new.runMethod(true,"length"),BA.numberCast(double.class, 5))) { + BA.debugLineNum = 641;BA.debugLine="If New.Contains(Chr(10)) Or New.Contains(Chr(13)"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(".",_new.runMethod(true,"contains",(Object)(BA.ObjectToString(c_nuevocliente.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10))))))) || RemoteObject.solveBoolean(".",_new.runMethod(true,"contains",(Object)(BA.ObjectToString(c_nuevocliente.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))))))) || RemoteObject.solveBoolean(".",_new.runMethod(true,"contains",(Object)(BA.ObjectToString(c_nuevocliente.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 34)))))))) { + BA.debugLineNum = 642;BA.debugLine="et_cp.Text = Old"; +Debug.ShouldStop(2); +__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_old)); + }; + }} +; + BA.debugLineNum = 646;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_telefono_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_telefono_TextChanged (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,648); +if (RapidSub.canDelegate("et_telefono_textchanged")) { return __ref.runUserSub(false, "c_nuevocliente","et_telefono_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 648;BA.debugLine="Private Sub et_telefono_TextChanged (Old As String"; +Debug.ShouldStop(128); + BA.debugLineNum = 649;BA.debugLine="If New.Length > 10 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 10))) { + BA.debugLineNum = 650;BA.debugLine="et_telefono.Text = Old"; +Debug.ShouldStop(512); +__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_old)); + }else +{ BA.debugLineNum = 651;BA.debugLine="Else If New.Length > 1 And New.Length <= 10 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 1)) && RemoteObject.solveBoolean("k",_new.runMethod(true,"length"),BA.numberCast(double.class, 10))) { + BA.debugLineNum = 652;BA.debugLine="If New.Contains(Chr(10)) Or New.Contains(Chr(13)"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(".",_new.runMethod(true,"contains",(Object)(BA.ObjectToString(c_nuevocliente.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10))))))) || RemoteObject.solveBoolean(".",_new.runMethod(true,"contains",(Object)(BA.ObjectToString(c_nuevocliente.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))))))) || RemoteObject.solveBoolean(".",_new.runMethod(true,"contains",(Object)(BA.ObjectToString(c_nuevocliente.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 34)))))))) { + BA.debugLineNum = 653;BA.debugLine="et_telefono.Text = Old"; +Debug.ShouldStop(4096); +__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_old)); + }; + }} +; + BA.debugLineNum = 657;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,336); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_nuevocliente","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 336;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(32768); + BA.debugLineNum = 337;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("!",c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),BA.ObjectToString("0.0"))) { + BA.debugLineNum = 338;BA.debugLine="If GUARDA.IsInitialized Then"; +Debug.ShouldStop(131072); +if (__ref.getField(false,"_guarda" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 339;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostr"; +Debug.ShouldStop(262144); +__ref.getField(false,"_guarda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + BA.debugLineNum = 340;BA.debugLine="l_sinUbicacion.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_sinubicacion" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + BA.debugLineNum = 342;BA.debugLine="lat = Location1.Latitude"; +Debug.ShouldStop(2097152); +__ref.setField ("_lat" /*RemoteObject*/ ,_location1.runMethod(true,"getLatitude")); + BA.debugLineNum = 343;BA.debugLine="lon = Location1.Longitude"; +Debug.ShouldStop(4194304); +__ref.setField ("_lon" /*RemoteObject*/ ,_location1.runMethod(true,"getLongitude")); + BA.debugLineNum = 344;BA.debugLine="l_sinUbicacion.Text = (\"Latitud: \" & lat & \", L"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_sinubicacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Latitud: "),__ref.getField(true,"_lat" /*RemoteObject*/ ),RemoteObject.createImmutable(", Longotud: "),__ref.getField(true,"_lon" /*RemoteObject*/ ))))); + }; + }; + BA.debugLineNum = 348;BA.debugLine="If b_ubicacion.IsInitialized Then"; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 349;BA.debugLine="b_ubicacion.TextSize = 13"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 350;BA.debugLine="b_ubicacion.Text = $\"Precisión GPS $1.0{Location"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Precisión GPS "),c_nuevocliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((_location1.runMethod(true,"getAccuracy")))),RemoteObject.createImmutable(" m"))))); + BA.debugLineNum = 351;BA.debugLine="If Location1.Accuracy > 200 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 200))) { + BA.debugLineNum = 352;BA.debugLine="b_ubicacion.TextColor = Colors.Red"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_nuevocliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 353;BA.debugLine="b_ubicacion.TextSize = 16"; +Debug.ShouldStop(1); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 354;BA.debugLine="b_ubicacion.Text = $\"Mala señal $1.0{Location1."; +Debug.ShouldStop(2); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Mala señal "),c_nuevocliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((_location1.runMethod(true,"getAccuracy")))),RemoteObject.createImmutable(" m"))))); + }; + }; + BA.debugLineNum = 358;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guarda_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GUARDA_Click (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,391); +if (RapidSub.canDelegate("guarda_click")) { return __ref.runUserSub(false, "c_nuevocliente","guarda_click", __ref);} +RemoteObject _hora = RemoteObject.createImmutable(""); +RemoteObject _mins = RemoteObject.createImmutable(""); +RemoteObject _segs = RemoteObject.createImmutable(""); +RemoteObject _fechacliente = null; + BA.debugLineNum = 391;BA.debugLine="Sub GUARDA_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 401;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +Debug.ShouldStop(65536); +c_nuevocliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente"))); + BA.debugLineNum = 419;BA.debugLine="If E_NOMBRE.Text = \"\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 420;BA.debugLine="MsgboxAsync(\"Por favor captura el nombre de la T"; +Debug.ShouldStop(8); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura el nombre de la Tienda")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 422;BA.debugLine="Else If et_direccion.Text.Length > 3 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 424;BA.debugLine="If lat <> 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_lat" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 426;BA.debugLine="If giros <> \"SELECCIONA UNA OPCIÓN\" Or cb_giro."; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_giros" /*RemoteObject*/ ),BA.ObjectToString("SELECCIONA UNA OPCIÓN")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ ),BA.ObjectToString("SELECCIONA UNA OPCIÓN"))) { + BA.debugLineNum = 428;BA.debugLine="If ET_Atiende.Text <> \"\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 429;BA.debugLine="If et_telefono.Text <> \"\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 430;BA.debugLine="If et_colonia.Text <> \"\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 431;BA.debugLine="If et_cp.Text <> \"\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 432;BA.debugLine="If et_calle1.Text <> \"\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_calle1" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 433;BA.debugLine="If et_calle2.Text <> \"\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_calle2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 434;BA.debugLine="If et_numeroint.Text <> \"\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_numeroint" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 435;BA.debugLine="If et_numeroext.Text <> \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_numeroext" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 436;BA.debugLine="If et_referencia.Text <> \"\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_referencia" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 440;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(8388608); +c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 441;BA.debugLine="DateTime.Timeformat = \"HHmmss\""; +Debug.ShouldStop(16777216); +c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 442;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(33554432); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 443;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(67108864); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 444;BA.debugLine="Log($\" //////////// Date: ${sDate} - T"; +Debug.ShouldStop(134217728); +c_nuevocliente.__c.runVoidMethod ("LogImpl","077725749",(RemoteObject.concat(RemoteObject.createImmutable(" //////////// Date: "),c_nuevocliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_sdate" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - Time: "),c_nuevocliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_stime" /*RemoteObject*/ )))),RemoteObject.createImmutable(" ////////////////"))),0); + BA.debugLineNum = 446;BA.debugLine="Private hora As String = sTime.SubString"; +Debug.ShouldStop(536870912); +_hora = __ref.getField(true,"_stime" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("hora", _hora);Debug.locals.put("hora", _hora); + BA.debugLineNum = 447;BA.debugLine="Private mins As String = sTime.SubString"; +Debug.ShouldStop(1073741824); +_mins = __ref.getField(true,"_stime" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("mins", _mins);Debug.locals.put("mins", _mins); + BA.debugLineNum = 448;BA.debugLine="Private segs As String = sTime.SubString"; +Debug.ShouldStop(-2147483648); +_segs = __ref.getField(true,"_stime" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("segs", _segs);Debug.locals.put("segs", _segs); + BA.debugLineNum = 449;BA.debugLine="sTime = hora & \":\" & mins & \":\" & segs"; +Debug.ShouldStop(1); +__ref.setField ("_stime" /*RemoteObject*/ ,RemoteObject.concat(_hora,RemoteObject.createImmutable(":"),_mins,RemoteObject.createImmutable(":"),_segs)); + BA.debugLineNum = 450;BA.debugLine="Dim Fechacliente() As String = Regex.Spl"; +Debug.ShouldStop(2); +_fechacliente = c_nuevocliente.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("/")),(Object)(__ref.getField(true,"_sdate" /*RemoteObject*/ )));Debug.locals.put("Fechacliente", _fechacliente);Debug.locals.put("Fechacliente", _fechacliente); + BA.debugLineNum = 451;BA.debugLine="Log(\"////////////// sTime: \"&sTime&\" ///"; +Debug.ShouldStop(4); +c_nuevocliente.__c.runVoidMethod ("LogImpl","077725756",RemoteObject.concat(RemoteObject.createImmutable("////////////// sTime: "),__ref.getField(true,"_stime" /*RemoteObject*/ ),RemoteObject.createImmutable(" ////////////////")),0); + BA.debugLineNum = 452;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA FROM kmt_info3")))); + BA.debugLineNum = 453;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 454;BA.debugLine="no_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(32); +__ref.setField ("_no_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 455;BA.debugLine="no_cliente = \"N\" & sTime & no_ruta"; +Debug.ShouldStop(64); +__ref.setField ("_no_cliente" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("N"),__ref.getField(true,"_stime" /*RemoteObject*/ ),__ref.getField(true,"_no_ruta" /*RemoteObject*/ ))); + BA.debugLineNum = 456;BA.debugLine="Log(\"++ ++ no_cliente = \"&no_cliente)"; +Debug.ShouldStop(128); +c_nuevocliente.__c.runVoidMethod ("LogImpl","077725761",RemoteObject.concat(RemoteObject.createImmutable("++ ++ no_cliente = "),__ref.getField(true,"_no_cliente" /*RemoteObject*/ )),0); + BA.debugLineNum = 457;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 459;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(1024); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_nuevocliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_no_cliente" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 460;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from C"; +Debug.ShouldStop(2048); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 461;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(4096); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_nuevocliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_no_cliente" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 462;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 463;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 464;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 465;BA.debugLine="ALMACEN = c.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(65536); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + }; + BA.debugLineNum = 467;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 468;BA.debugLine="c = Starter.skmt.ExecQuery(\"select usuar"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 469;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 470;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 471;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 475;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(67108864); +c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 476;BA.debugLine="DateTime.Timeformat = \"HH:mm:ss\""; +Debug.ShouldStop(134217728); +c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 477;BA.debugLine="sDate2 = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_sdate2" /*RemoteObject*/ ,c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 478;BA.debugLine="sTime2 = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(536870912); +__ref.setField ("_stime2" /*RemoteObject*/ ,c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 480;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(-2147483648); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_CP,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_NUMEROINT,CAT_CL_NUMEROEXT,CAT_CL_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?,?,?,?,?,?) ")),(Object)(c_nuevocliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {25},new Object[] {(__ref.getField(true,"_no_cliente" /*RemoteObject*/ )),(__ref.getField(true,"_no_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),(c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )),(__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_calle1" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_calle2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_numeroint" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_numeroext" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_referencia" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 481;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(1); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CLIENTES_NUEVOS(CN_ID, CN_FECHA, CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA,CN_COLONIA, CN_TELEFONO,CN_CP,CN_CALLE1,CN_CALLE2,CN_NUMEROINT,CN_NUMEROEXT,CN_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_nuevocliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {19},new Object[] {__ref.getField(true,"_no_cliente" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate2" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime2" /*RemoteObject*/ )),__ref.getField(true,"_usuario" /*RemoteObject*/ ),BA.NumberToString(__ref.getField(true,"_lat" /*RemoteObject*/ )),BA.NumberToString(__ref.getField(true,"_lon" /*RemoteObject*/ )),__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(true,"_almacen" /*RemoteObject*/ ),__ref.getField(true,"_no_ruta" /*RemoteObject*/ ),__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ ),__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_calle1" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_calle2" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_numeroint" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_numeroext" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_referencia" /*RemoteObject*/ ).runMethod(true,"getText")}))))); + BA.debugLineNum = 483;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(4); +c_nuevocliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 484;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +Debug.ShouldStop(8); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP"))); + }else { + BA.debugLineNum = 486;BA.debugLine="MsgboxAsync(\"Por favor, captura la re"; +Debug.ShouldStop(32); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, captura la referencia")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 489;BA.debugLine="MsgboxAsync(\"Por favor, captura el nú"; +Debug.ShouldStop(256); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, captura el número ext")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 492;BA.debugLine="MsgboxAsync(\"Por favor, captura el núm"; +Debug.ShouldStop(2048); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, captura el número int")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 496;BA.debugLine="MsgboxAsync(\"Por favor, captura Entre c"; +Debug.ShouldStop(32768); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, captura Entre calle2")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 499;BA.debugLine="MsgboxAsync(\"Por favor, captura Entre ca"; +Debug.ShouldStop(262144); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, captura Entre calle1")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 503;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el C"; +Debug.ShouldStop(4194304); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, debe capturar el C.P. el negocio.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 506;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar la co"; +Debug.ShouldStop(33554432); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, debe capturar la colonia el negocio.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 509;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el tel"; +Debug.ShouldStop(268435456); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, debe capturar el telefono.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 513;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar al enca"; +Debug.ShouldStop(1); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, debe capturar al encargado que atiende el negocio.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 516;BA.debugLine="MsgboxAsync(\"Por favor captura el giro del cli"; +Debug.ShouldStop(8); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura el giro del cliente")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 519;BA.debugLine="MsgboxAsync(\"Por favor revisa que tengas señal"; +Debug.ShouldStop(64); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor revisa que tengas señal GPS")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 522;BA.debugLine="MsgboxAsync(\"Por favor captura la dirección del"; +Debug.ShouldStop(512); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura la dirección del cliente")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }} +; + BA.debugLineNum = 529;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,199); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_nuevocliente","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 199;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(64); + BA.debugLineNum = 200;BA.debugLine="Return Me"; +Debug.ShouldStop(128); +if (true) return __ref; + BA.debugLineNum = 201;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_nuevocliente_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_nuevoCliente_Click (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,534); +if (RapidSub.canDelegate("p_nuevocliente_click")) { return __ref.runUserSub(false, "c_nuevocliente","p_nuevocliente_click", __ref);} + BA.debugLineNum = 534;BA.debugLine="Private Sub p_nuevoCliente_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 536;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pointinpolygon(RemoteObject __ref,RemoteObject _point,RemoteObject _polygon) throws Exception{ +try { + Debug.PushSubsStack("PointInPolygon (c_nuevocliente) ","c_nuevocliente",22,__ref.getField(false, "ba"),__ref,365); +if (RapidSub.canDelegate("pointinpolygon")) { return __ref.runUserSub(false, "c_nuevocliente","pointinpolygon", __ref, _point, _polygon);} +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +RemoteObject _inside = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _xi = RemoteObject.createImmutable(0); +RemoteObject _yi = RemoteObject.createImmutable(0); +RemoteObject _xj = RemoteObject.createImmutable(0); +RemoteObject _yj = RemoteObject.createImmutable(0); +RemoteObject _intersect = RemoteObject.createImmutable(false); +Debug.locals.put("point", _point); +Debug.locals.put("polygon", _polygon); + BA.debugLineNum = 365;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +Debug.ShouldStop(4096); + BA.debugLineNum = 366;BA.debugLine="Dim x As Double = point.Longitude"; +Debug.ShouldStop(8192); +_x = _point.runMethod(true,"getLongitude");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 367;BA.debugLine="Dim y As Double = point.Latitude"; +Debug.ShouldStop(16384); +_y = _point.runMethod(true,"getLatitude");Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 369;BA.debugLine="Dim inside As Boolean = False"; +Debug.ShouldStop(65536); +_inside = c_nuevocliente.__c.getField(true,"False");Debug.locals.put("inside", _inside);Debug.locals.put("inside", _inside); + BA.debugLineNum = 370;BA.debugLine="For i = 0 To polygon.Size - 1"; +Debug.ShouldStop(131072); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_polygon.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 371;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +Debug.ShouldStop(262144); +_j = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1)),_polygon.runMethod(true,"getSize")}, "%",0, 1);Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 372;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +Debug.ShouldStop(524288); +_p1_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("p1_1", _p1_1);Debug.locals.put("p1_1", _p1_1); + BA.debugLineNum = 373;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +Debug.ShouldStop(1048576); +_p2_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(_j)));Debug.locals.put("p2_1", _p2_1);Debug.locals.put("p2_1", _p2_1); + BA.debugLineNum = 375;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +Debug.ShouldStop(4194304); +_xi = _p1_1.runMethod(true,"getLongitude");Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi); + BA.debugLineNum = 376;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +Debug.ShouldStop(8388608); +_yi = _p1_1.runMethod(true,"getLatitude");Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi); + BA.debugLineNum = 377;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +Debug.ShouldStop(16777216); +_xj = _p2_1.runMethod(true,"getLongitude");Debug.locals.put("xj", _xj);Debug.locals.put("xj", _xj); + BA.debugLineNum = 378;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +Debug.ShouldStop(33554432); +_yj = _p2_1.runMethod(true,"getLatitude");Debug.locals.put("yj", _yj);Debug.locals.put("yj", _yj); + BA.debugLineNum = 380;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +Debug.ShouldStop(134217728); +_intersect = BA.ObjectToBoolean(RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",RemoteObject.createImmutable((RemoteObject.solveBoolean(">",_yi,_y))),BA.ObjectToBoolean((RemoteObject.solveBoolean(">",_yj,_y))))))) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("<",_x,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_xj,_xi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_y,_yi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_yj,_yi}, "-",1, 0)),_xi}, "*/+",1, 0))))));Debug.locals.put("intersect", _intersect);Debug.locals.put("intersect", _intersect); + BA.debugLineNum = 381;BA.debugLine="If intersect Then"; +Debug.ShouldStop(268435456); +if (_intersect.get().booleanValue()) { + BA.debugLineNum = 382;BA.debugLine="inside = Not(inside)"; +Debug.ShouldStop(536870912); +_inside = c_nuevocliente.__c.runMethod(true,"Not",(Object)(_inside));Debug.locals.put("inside", _inside); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 386;BA.debugLine="Return inside"; +Debug.ShouldStop(2); +if (true) return _inside; + BA.debugLineNum = 389;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_pedidos.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_pedidos.java new file mode 100644 index 0000000..5d8ab17 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_pedidos.java @@ -0,0 +1,83 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_pedidos { + public static RemoteObject myClass; + public c_pedidos() { + } + public static PCBA staticBA = new PCBA(null, c_pedidos.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _t3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _e = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _cc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _dd = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _l_tipo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_sub = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_marca = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_desc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_precio = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_bodega = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _cantidad = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _terminar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _img_prod = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _img_paso = null; +public static RemoteObject _l_proid = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _t_venta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _promo_c = RemoteObject.createImmutable(""); +public static RemoteObject _i_fotol = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _desc_promo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _nopromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _tot_art_promo = RemoteObject.createImmutable(""); +public static RemoteObject _cambio = RemoteObject.createImmutable(""); +public static RemoteObject _costo_tot = RemoteObject.createImmutable(""); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _preciosin = RemoteObject.createImmutable(""); +public static RemoteObject _cl_ruta = RemoteObject.createImmutable(""); +public static RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _tot_art_promor = RemoteObject.createImmutable(""); +public static RemoteObject _promo_cr = RemoteObject.createImmutable(""); +public static RemoteObject _total_promo = RemoteObject.createImmutable(""); +public static RemoteObject _hccp_cant = RemoteObject.createImmutable(""); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _precio_cero = RemoteObject.createImmutable(""); +public static RemoteObject _bonsabor = RemoteObject.createImmutable(""); +public static RemoteObject _bonsabor2 = RemoteObject.createImmutable(""); +public static RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); +public static RemoteObject _p_pedido = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ALMACEN",_ref.getField(false, "_almacen"),"BONSABOR",_ref.getField(false, "_bonsabor"),"BONSABOR2",_ref.getField(false, "_bonsabor2"),"c",_ref.getField(false, "_c"),"cambio",_ref.getField(false, "_cambio"),"cantidad",_ref.getField(false, "_cantidad"),"CC",_ref.getField(false, "_cc"),"cl_ruta",_ref.getField(false, "_cl_ruta"),"clie_id",_ref.getField(false, "_clie_id"),"cmd",_ref.getField(false, "_cmd"),"COSTO_TOT",_ref.getField(false, "_costo_tot"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"DD",_ref.getField(false, "_dd"),"DESC_PROMO",_ref.getField(false, "_desc_promo"),"e",_ref.getField(false, "_e"),"f",_ref.getField(false, "_f"),"g",_ref.getField(false, "_g"),"guardar",_ref.getField(false, "_guardar"),"h",_ref.getField(false, "_h"),"HCCP_CANT",_ref.getField(false, "_hccp_cant"),"i_fotol",_ref.getField(false, "_i_fotol"),"IMG_PASO",_ref.getField(false, "_img_paso"),"img_prod",_ref.getField(false, "_img_prod"),"l_bodega",_ref.getField(false, "_l_bodega"),"l_desc",_ref.getField(false, "_l_desc"),"l_marca",_ref.getField(false, "_l_marca"),"l_precio",_ref.getField(false, "_l_precio"),"L_PROID",_ref.getField(false, "_l_proid"),"l_sub",_ref.getField(false, "_l_sub"),"l_tipo",_ref.getField(false, "_l_tipo"),"nopromo",_ref.getField(false, "_nopromo"),"p",_ref.getField(false, "_p"),"p_pedido",_ref.getField(false, "_p_pedido"),"precio_Cero",_ref.getField(false, "_precio_cero"),"preciosin",_ref.getField(false, "_preciosin"),"PROMO_C",_ref.getField(false, "_promo_c"),"PROMO_CR",_ref.getField(false, "_promo_cr"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sb",_ref.getField(false, "_sb"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"sTime",_ref.getField(false, "_stime"),"t_venta",_ref.getField(false, "_t_venta"),"t3",_ref.getField(false, "_t3"),"Terminar",_ref.getField(false, "_terminar"),"tgl",_ref.getField(false, "_tgl"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"TOT_ART_PROMO",_ref.getField(false, "_tot_art_promo"),"TOT_ART_PROMOR",_ref.getField(false, "_tot_art_promor"),"TOTAL_PROMO",_ref.getField(false, "_total_promo"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_pedidos_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_pedidos_subs_0.java new file mode 100644 index 0000000..c1e417c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_pedidos_subs_0.java @@ -0,0 +1,1688 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_pedidos_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,80); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_pedidos","b4xpage_appear", __ref);} +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); + BA.debugLineNum = 80;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(32768); + BA.debugLineNum = 81;BA.debugLine="tgl.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_tgl" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba")); + BA.debugLineNum = 82;BA.debugLine="BONSABOR = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_bonsabor" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 83;BA.debugLine="BONSABOR2 = 0"; +Debug.ShouldStop(262144); +__ref.setField ("_bonsabor2" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 84;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(524288); +if (c_pedidos.__c.runMethod(true,"Not",(Object)(c_pedidos._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 85;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(1048576); +c_pedidos.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_pedidos.__c.getField(true,"True"))); + BA.debugLineNum = 86;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(2097152); +c_pedidos.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_pedidos._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 88;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 89;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 90;BA.debugLine="C.Position =0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 91;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + BA.debugLineNum = 92;BA.debugLine="C.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 93;BA.debugLine="i_fotol.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + BA.debugLineNum = 94;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_sb" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 95;BA.debugLine="p.Shell(\"ping -c1 -W1 177.244.63.54\",Null, sb,Nul"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p" /*RemoteObject*/ ).runVoidMethod ("Shell",(Object)(BA.ObjectToString("ping -c1 -W1 177.244.63.54")),(Object)((c_pedidos.__c.getField(false,"Null"))),(Object)((__ref.getField(false,"_sb" /*RemoteObject*/ ).getObject())),(Object)((c_pedidos.__c.getField(false,"Null")))); + BA.debugLineNum = 96;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_pedidos.__c.getField(true,"True"))); + BA.debugLineNum = 97;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_DEV from "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_NOMBRE In (Select PDESC from PROID)")))))); + BA.debugLineNum = 98;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 99;BA.debugLine="L_PROID.Text = c.GetString(\"CAT_GP_ID\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))))); + BA.debugLineNum = 100;BA.debugLine="l_tipo.Text = c.GetString(\"CAT_GP_TIPO\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPO"))))); + BA.debugLineNum = 101;BA.debugLine="l_sub.Text = c.GetString(\"CAT_GP_SUBTIPO\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_sub" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_SUBTIPO"))))); + BA.debugLineNum = 102;BA.debugLine="l_marca.Text = c.GetString(\"CAT_GP_CLASIF\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF"))))); + BA.debugLineNum = 103;BA.debugLine="l_desc.Text = c.GetString(\"CAT_GP_NOMBRE\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))); + BA.debugLineNum = 104;BA.debugLine="l_precio.Text = c.GetDouble(\"CAT_GP_PRECIO\")"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))); + BA.debugLineNum = 105;BA.debugLine="l_bodega.Text = c.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))))); + BA.debugLineNum = 106;BA.debugLine="IMG_PASO = c.GetBlob(\"CAT_GP_IMG\")"; +Debug.ShouldStop(512); +__ref.setField ("_img_paso" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("CAT_GP_IMG")))); + BA.debugLineNum = 107;BA.debugLine="PROMO_C = c.GetString(\"CAT_GP_STS\")"; +Debug.ShouldStop(1024); +__ref.setField ("_promo_c" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_STS")))); + BA.debugLineNum = 108;BA.debugLine="cambio = c.GetString(\"CAT_GP_DEV\")"; +Debug.ShouldStop(2048); +__ref.setField ("_cambio" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_DEV")))); + BA.debugLineNum = 109;BA.debugLine="preciosin = c.GetString(\"CAT_GP_IMP2\")"; +Debug.ShouldStop(4096); +__ref.setField ("_preciosin" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_IMP2")))); + BA.debugLineNum = 110;BA.debugLine="PROMO_CR = c.GetString(\"CAT_GP_IMP1\")"; +Debug.ShouldStop(8192); +__ref.setField ("_promo_cr" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_IMP1")))); + BA.debugLineNum = 111;BA.debugLine="cambio = \"0\""; +Debug.ShouldStop(16384); +__ref.setField ("_cambio" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 113;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; +Debug.ShouldStop(65536); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS FROM pedido WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select cuenta from cuentaa) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 114;BA.debugLine="e.Position =0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 115;BA.debugLine="If e.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 116;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS"))) { + BA.debugLineNum = 117;BA.debugLine="DESC_PROMO.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_desc_promo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 118;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select co"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cc" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS FROM PROMOS_COMP WHERE CAT_PA_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 119;BA.debugLine="CC.Position =0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 120;BA.debugLine="If CC.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 121;BA.debugLine="l_bodega.Text = \"0\" ' se modifica a cero para"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }else { + BA.debugLineNum = 123;BA.debugLine="CC.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cc" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 124;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select C"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cc" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE FROM PROMOS_COMP WHERE CAT_PA_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 125;BA.debugLine="CC.Position =0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 127;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 128;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 129;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 130;BA.debugLine="HCCP_CANT = 0"; +Debug.ShouldStop(2); +__ref.setField ("_hccp_cant" /*RemoteObject*/ ,BA.NumberToString(0)); + }else { + BA.debugLineNum = 132;BA.debugLine="DD.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 133;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +Debug.ShouldStop(16); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT HCCP_CANT FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 134;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(32); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 135;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; +Debug.ShouldStop(64); +__ref.setField ("_hccp_cant" /*RemoteObject*/ ,__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCCP_CANT")))); + BA.debugLineNum = 136;BA.debugLine="DD.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 138;BA.debugLine="BONSABOR = HCCP_CANT"; +Debug.ShouldStop(512); +__ref.setField ("_bonsabor" /*RemoteObject*/ ,__ref.getField(true,"_hccp_cant" /*RemoteObject*/ )); + BA.debugLineNum = 139;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; +Debug.ShouldStop(1024); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))})))); + BA.debugLineNum = 140;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 141;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 142;BA.debugLine="HCCP_CANT = 0"; +Debug.ShouldStop(8192); +__ref.setField ("_hccp_cant" /*RemoteObject*/ ,BA.NumberToString(0)); + }else { + BA.debugLineNum = 144;BA.debugLine="DD.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 145;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +Debug.ShouldStop(65536); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT SUM(HVD_CANT) AS HCCP_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))})))); + BA.debugLineNum = 146;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 147;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; +Debug.ShouldStop(262144); +__ref.setField ("_hccp_cant" /*RemoteObject*/ ,__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCCP_CANT")))); + BA.debugLineNum = 148;BA.debugLine="DD.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 150;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2($\"Select"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PROID IN (select CAT_GP_ID from "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_CLASIF = ?) ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))})))); + BA.debugLineNum = 151;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 152;BA.debugLine="BONSABOR2 = DD.GetString(\"CUANTOS\")"; +Debug.ShouldStop(8388608); +__ref.setField ("_bonsabor2" /*RemoteObject*/ ,__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 153;BA.debugLine="DD.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 154;BA.debugLine="TOTAL_PROMO = CC.GetString(\"CAT_PA_MAXPROMCLIE"; +Debug.ShouldStop(33554432); +__ref.setField ("_total_promo" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMCLIE")))),BA.numberCast(double.class, __ref.getField(true,"_hccp_cant" /*RemoteObject*/ ))}, "-",1, 0))); + BA.debugLineNum = 155;BA.debugLine="If HCCP_CANT = 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_hccp_cant" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 156;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROM"))))); + }else +{ BA.debugLineNum = 157;BA.debugLine="Else IF TOTAL_PROMO > CC.GetString(\"CAT_PA_MAX"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_total_promo" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMREC")))))) { + BA.debugLineNum = 158;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMREC"))))); + }else { + BA.debugLineNum = 160;BA.debugLine="l_bodega.Text = TOTAL_PROMO"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_total_promo" /*RemoteObject*/ ))); + }} +; + }; + }else { + BA.debugLineNum = 164;BA.debugLine="DESC_PROMO.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_desc_promo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + }; + BA.debugLineNum = 166;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 167;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CASE"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CASE WHEN pe_costo_tot is null then 0 else sum( pe_costo_tot ) end as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 168;BA.debugLine="c.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 169;BA.debugLine="t_venta.Text = c.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_t_venta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))); + BA.debugLineNum = 170;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 171;BA.debugLine="Terminar.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_terminar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 172;BA.debugLine="guardar.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 173;BA.debugLine="cantidad.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 174;BA.debugLine="If cambio = \"1\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cambio" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 175;BA.debugLine="nopromo.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_nopromo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + }else { + BA.debugLineNum = 177;BA.debugLine="nopromo.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_nopromo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + }; + BA.debugLineNum = 179;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(262144); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 180;BA.debugLine="out = File.OpenOutput(ruta, \"1.jpg\", False)"; +Debug.ShouldStop(524288); +_out = c_pedidos.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("1.jpg")),(Object)(c_pedidos.__c.getField(true,"False")));Debug.locals.put("out", _out); + BA.debugLineNum = 181;BA.debugLine="out.WriteBytes(IMG_PASO, 0, IMG_PASO.Length)"; +Debug.ShouldStop(1048576); +_out.runVoidMethod ("WriteBytes",(Object)(__ref.getField(false,"_img_paso" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_img_paso" /*RemoteObject*/ ).getField(true,"length"))); + BA.debugLineNum = 182;BA.debugLine="out.Close"; +Debug.ShouldStop(2097152); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 183;BA.debugLine="img_prod.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_img_prod" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_pedidos.__c.runMethod(false,"LoadBitmap",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("1.jpg"))).getObject())); + BA.debugLineNum = 184;BA.debugLine="TOT_ART_PROMO = \"0\""; +Debug.ShouldStop(8388608); +__ref.setField ("_tot_art_promo" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 185;BA.debugLine="TOT_ART_PROMOR = \"0\""; +Debug.ShouldStop(16777216); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 186;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 187;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; +Debug.ShouldStop(67108864); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("ALERTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"))),__ref.getField(false, "ba")); + BA.debugLineNum = 188;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(134217728); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else +{ BA.debugLineNum = 189;BA.debugLine="ELSE IF l_marca.text = \"PROMOS\" And l_tipo.Text"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROUNI1")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_bonsabor" /*RemoteObject*/ ),BA.ObjectToString("1")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_bonsabor2" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 190;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; +Debug.ShouldStop(536870912); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("ALERTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"))),__ref.getField(false, "ba")); + BA.debugLineNum = 191;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(1073741824); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }} +; + }else { + BA.debugLineNum = 194;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE YA COMPRO ESTE PRODU"; +Debug.ShouldStop(2); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("ALERTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("EL CLIENTE YA COMPRO ESTE PRODUCTO REVISAR NOTA"))),__ref.getField(false, "ba")); + BA.debugLineNum = 195;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(4); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }; + BA.debugLineNum = 197;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,532); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_pedidos","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_pedidos parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_pedidos parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,532); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 535;BA.debugLine="Msgbox(\"Presione Boton Terminar.\",\"ADVERTENCIA\")"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Presione Boton Terminar.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + BA.debugLineNum = 536;BA.debugLine="Return False"; +Debug.ShouldStop(8388608); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 537;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,65); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_pedidos","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 65;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(1); + BA.debugLineNum = 66;BA.debugLine="Root = Root1"; +Debug.ShouldStop(2); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 68;BA.debugLine="Root.LoadLayout(\"pedido\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("pedido")),__ref.getField(false, "ba")); + BA.debugLineNum = 69;BA.debugLine="i_fotol.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + BA.debugLineNum = 71;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(64); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 72;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",c_pedidos.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_pedidos.__c.getField(true,"False"))) { + BA.debugLineNum = 73;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(256); +c_pedidos.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_pedidos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 76;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_pedidos._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_pedidos._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_pedidos._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_pedidos._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_pedidos._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_pedidos._g); + //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; +c_pedidos._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_pedidos._ruta); + //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +c_pedidos._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_pedidos._skmt); + //BA.debugLineNum = 8;BA.debugLine="Private t3 As Timer"; +c_pedidos._t3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t3",c_pedidos._t3); + //BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; +c_pedidos._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_p",c_pedidos._p); + //BA.debugLineNum = 10;BA.debugLine="Dim sb As StringBuilder"; +c_pedidos._sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");__ref.setField("_sb",c_pedidos._sb); + //BA.debugLineNum = 12;BA.debugLine="Dim c As Cursor"; +c_pedidos._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_pedidos._c); + //BA.debugLineNum = 13;BA.debugLine="Dim e As Cursor"; +c_pedidos._e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_e",c_pedidos._e); + //BA.debugLineNum = 14;BA.debugLine="Dim f As Cursor"; +c_pedidos._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_pedidos._f); + //BA.debugLineNum = 15;BA.debugLine="Dim h As Cursor"; +c_pedidos._h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_h",c_pedidos._h); + //BA.debugLineNum = 16;BA.debugLine="Dim CC As Cursor"; +c_pedidos._cc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_cc",c_pedidos._cc); + //BA.debugLineNum = 17;BA.debugLine="Dim DD As Cursor"; +c_pedidos._dd = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_dd",c_pedidos._dd); + //BA.debugLineNum = 18;BA.debugLine="Dim l_tipo As Label"; +c_pedidos._l_tipo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tipo",c_pedidos._l_tipo); + //BA.debugLineNum = 19;BA.debugLine="Dim l_sub As Label"; +c_pedidos._l_sub = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_sub",c_pedidos._l_sub); + //BA.debugLineNum = 20;BA.debugLine="Dim l_marca As Label"; +c_pedidos._l_marca = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_marca",c_pedidos._l_marca); + //BA.debugLineNum = 21;BA.debugLine="Dim l_desc As Label"; +c_pedidos._l_desc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_desc",c_pedidos._l_desc); + //BA.debugLineNum = 22;BA.debugLine="Dim l_precio As Label"; +c_pedidos._l_precio = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_precio",c_pedidos._l_precio); + //BA.debugLineNum = 23;BA.debugLine="Dim l_bodega As Label"; +c_pedidos._l_bodega = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_bodega",c_pedidos._l_bodega); + //BA.debugLineNum = 24;BA.debugLine="Dim cantidad As EditText"; +c_pedidos._cantidad = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_cantidad",c_pedidos._cantidad); + //BA.debugLineNum = 25;BA.debugLine="Dim guardar As Button"; +c_pedidos._guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guardar",c_pedidos._guardar); + //BA.debugLineNum = 26;BA.debugLine="Dim Terminar As Button"; +c_pedidos._terminar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_terminar",c_pedidos._terminar); + //BA.debugLineNum = 27;BA.debugLine="Dim img_prod As ImageView"; +c_pedidos._img_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img_prod",c_pedidos._img_prod); + //BA.debugLineNum = 28;BA.debugLine="Dim IMG_PASO() As Byte"; +c_pedidos._img_paso = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_img_paso",c_pedidos._img_paso); + //BA.debugLineNum = 29;BA.debugLine="Dim L_PROID As Label"; +c_pedidos._l_proid = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_proid",c_pedidos._l_proid); + //BA.debugLineNum = 30;BA.debugLine="Dim clie_id As String"; +c_pedidos._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_pedidos._clie_id); + //BA.debugLineNum = 31;BA.debugLine="Dim sDate,sTime As String"; +c_pedidos._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_pedidos._sdate); +c_pedidos._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_pedidos._stime); + //BA.debugLineNum = 32;BA.debugLine="Dim usuario As String"; +c_pedidos._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_pedidos._usuario); + //BA.debugLineNum = 34;BA.debugLine="Dim t_venta As Label"; +c_pedidos._t_venta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_t_venta",c_pedidos._t_venta); + //BA.debugLineNum = 35;BA.debugLine="Dim PROMO_C As String"; +c_pedidos._promo_c = RemoteObject.createImmutable("");__ref.setField("_promo_c",c_pedidos._promo_c); + //BA.debugLineNum = 36;BA.debugLine="Dim i_fotol As ImageView"; +c_pedidos._i_fotol = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_fotol",c_pedidos._i_fotol); + //BA.debugLineNum = 37;BA.debugLine="Private DESC_PROMO As Button"; +c_pedidos._desc_promo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_desc_promo",c_pedidos._desc_promo); + //BA.debugLineNum = 38;BA.debugLine="Private nopromo As Button"; +c_pedidos._nopromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nopromo",c_pedidos._nopromo); + //BA.debugLineNum = 39;BA.debugLine="Dim TOT_ART_PROMO As String"; +c_pedidos._tot_art_promo = RemoteObject.createImmutable("");__ref.setField("_tot_art_promo",c_pedidos._tot_art_promo); + //BA.debugLineNum = 40;BA.debugLine="Dim cambio As String"; +c_pedidos._cambio = RemoteObject.createImmutable("");__ref.setField("_cambio",c_pedidos._cambio); + //BA.debugLineNum = 41;BA.debugLine="Dim COSTO_TOT As String"; +c_pedidos._costo_tot = RemoteObject.createImmutable("");__ref.setField("_costo_tot",c_pedidos._costo_tot); + //BA.debugLineNum = 42;BA.debugLine="Dim ALMACEN As String"; +c_pedidos._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_pedidos._almacen); + //BA.debugLineNum = 43;BA.debugLine="Dim preciosin As String"; +c_pedidos._preciosin = RemoteObject.createImmutable("");__ref.setField("_preciosin",c_pedidos._preciosin); + //BA.debugLineNum = 44;BA.debugLine="Dim cl_ruta As String"; +c_pedidos._cl_ruta = RemoteObject.createImmutable("");__ref.setField("_cl_ruta",c_pedidos._cl_ruta); + //BA.debugLineNum = 45;BA.debugLine="Dim d As Cursor"; +c_pedidos._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_pedidos._d); + //BA.debugLineNum = 46;BA.debugLine="Dim TOT_ART_PROMOR As String"; +c_pedidos._tot_art_promor = RemoteObject.createImmutable("");__ref.setField("_tot_art_promor",c_pedidos._tot_art_promor); + //BA.debugLineNum = 47;BA.debugLine="Dim PROMO_CR As String"; +c_pedidos._promo_cr = RemoteObject.createImmutable("");__ref.setField("_promo_cr",c_pedidos._promo_cr); + //BA.debugLineNum = 48;BA.debugLine="Dim TOTAL_PROMO As String"; +c_pedidos._total_promo = RemoteObject.createImmutable("");__ref.setField("_total_promo",c_pedidos._total_promo); + //BA.debugLineNum = 49;BA.debugLine="Dim HCCP_CANT As String"; +c_pedidos._hccp_cant = RemoteObject.createImmutable("");__ref.setField("_hccp_cant",c_pedidos._hccp_cant); + //BA.debugLineNum = 50;BA.debugLine="Dim tgl As Toggle"; +c_pedidos._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_pedidos._tgl); + //BA.debugLineNum = 51;BA.debugLine="Dim precio_Cero As String"; +c_pedidos._precio_cero = RemoteObject.createImmutable("");__ref.setField("_precio_cero",c_pedidos._precio_cero); + //BA.debugLineNum = 52;BA.debugLine="Private BONSABOR As String"; +c_pedidos._bonsabor = RemoteObject.createImmutable("");__ref.setField("_bonsabor",c_pedidos._bonsabor); + //BA.debugLineNum = 53;BA.debugLine="Private BONSABOR2 As String"; +c_pedidos._bonsabor2 = RemoteObject.createImmutable("");__ref.setField("_bonsabor2",c_pedidos._bonsabor2); + //BA.debugLineNum = 54;BA.debugLine="Dim cmd As DBCommand"; +c_pedidos._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_pedidos._cmd); + //BA.debugLineNum = 55;BA.debugLine="Private p_pedido As Panel"; +c_pedidos._p_pedido = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_pedido",c_pedidos._p_pedido); + //BA.debugLineNum = 56;BA.debugLine="dim tipo_venta as string = Subs.traeTipoVentaDeBD"; +c_pedidos._tipo_venta = c_pedidos._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_tipo_venta",c_pedidos._tipo_venta); + //BA.debugLineNum = 57;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _desc_promo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DESC_PROMO_Click (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,549); +if (RapidSub.canDelegate("desc_promo_click")) { return __ref.runUserSub(false, "c_pedidos","desc_promo_click", __ref);} + BA.debugLineNum = 549;BA.debugLine="Sub DESC_PROMO_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 550;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(32); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 551;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(64); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 552;BA.debugLine="B4XPages.ShowPage(\"detalle_promo\")"; +Debug.ShouldStop(128); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("detalle_promo"))); + BA.debugLineNum = 553;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,360); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_pedidos","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 360;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(128); + BA.debugLineNum = 363;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("guardar_Click (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,199); +if (RapidSub.canDelegate("guardar_click")) { return __ref.runUserSub(false, "c_pedidos","guardar_click", __ref);} +int _i = 0; + BA.debugLineNum = 199;BA.debugLine="Sub guardar_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 200;BA.debugLine="If cantidad.Text = \"\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 201;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(256); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else +{ BA.debugLineNum = 202;BA.debugLine="ELSE If cantidad.Text > l_bodega.Text Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"getText")))) { + BA.debugLineNum = 203;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +Debug.ShouldStop(1024); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Exede la existencia")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 204;BA.debugLine="Else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_promo_c" /*RemoteObject*/ )),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 205;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4096); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 206;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(8192); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 207;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 208;BA.debugLine="c.Position =0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 209;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOSD"))),BA.NumberToString(0))) { + BA.debugLineNum = 210;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; +Debug.ShouldStop(131072); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("No tiene venta el cliente para la promo")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 212;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)")))); + BA.debugLineNum = 213;BA.debugLine="C.Position =0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 214;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_tot_art_promo" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOT_ART_PROMO")))); + BA.debugLineNum = 215;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_costo_tot" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO_TOT")))); + BA.debugLineNum = 216;BA.debugLine="C.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 217;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 218;BA.debugLine="c.Position =0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 219;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOSD"))),BA.NumberToString(0))) { + BA.debugLineNum = 220;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; +Debug.ShouldStop(134217728); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,BA.ObjectToString("0")); + }else { + BA.debugLineNum = 222;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 223;BA.debugLine="C.Position =0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 224;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOT_ART_PROMO")))); + }; + BA.debugLineNum = 226;BA.debugLine="C.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 227;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; +Debug.ShouldStop(4); +__ref.setField ("_promo_c" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_promo_c" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0))); + BA.debugLineNum = 228;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; +Debug.ShouldStop(8); +__ref.setField ("_promo_cr" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_promo_cr" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0))); + BA.debugLineNum = 229;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tot_art_promo" /*RemoteObject*/ ),__ref.getField(true,"_promo_c" /*RemoteObject*/ )) && RemoteObject.solveBoolean("=",__ref.getField(true,"_tot_art_promor" /*RemoteObject*/ ),__ref.getField(true,"_promo_cr" /*RemoteObject*/ ))) { + BA.debugLineNum = 230;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +Debug.ShouldStop(32); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 231;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1")))); + BA.debugLineNum = 232;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 233;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(256); +{ +final int step34 = 1; +final int limit34 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step34 > 0 && _i <= limit34) || (step34 < 0 && _i >= limit34) ;_i = ((int)(0 + _i + step34)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 234;BA.debugLine="D.Position=i"; +Debug.ShouldStop(512); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 235;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(1024); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 238;BA.debugLine="D.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 239;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1")))); + BA.debugLineNum = 240;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 241;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(65536); +{ +final int step42 = 1; +final int limit42 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step42 > 0 && _i <= limit42) || (step42 < 0 && _i >= limit42) ;_i = ((int)(0 + _i + step42)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 242;BA.debugLine="D.Position=i"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 243;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(262144); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 246;BA.debugLine="D.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 247;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4194304); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 248;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8388608); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 249;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16777216); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 250;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 251;BA.debugLine="c.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 252;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(134217728); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 253;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 254;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 255;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 256;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 257;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 258;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 259;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 260;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 261;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; +Debug.ShouldStop(16); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ")))); + BA.debugLineNum = 263;BA.debugLine="e.Position =0"; +Debug.ShouldStop(64); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 264;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 265;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +Debug.ShouldStop(256); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ")))); + BA.debugLineNum = 268;BA.debugLine="If f.RowCount>0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 269;BA.debugLine="For i=0 To f.RowCount -1"; +Debug.ShouldStop(4096); +{ +final int step67 = 1; +final int limit67 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step67 > 0 && _i <= limit67) || (step67 < 0 && _i >= limit67) ;_i = ((int)(0 + _i + step67)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 270;BA.debugLine="f.Position=i"; +Debug.ShouldStop(8192); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 271;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; +Debug.ShouldStop(16384); +__ref.setField ("_precio_cero" /*RemoteObject*/ ,__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))); + BA.debugLineNum = 272;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"selec"; +Debug.ShouldStop(32768); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_NOMBRE from "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_ID = ? ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 273;BA.debugLine="h.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 275;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +Debug.ShouldStop(262144); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_precio_cero" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "**",0, 0)),(__ref.getField(true,"_precio_cero" /*RemoteObject*/ )),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 276;BA.debugLine="h.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 279;BA.debugLine="f.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 281;BA.debugLine="e.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 282;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(33554432); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 283;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update"; +Debug.ShouldStop(67108864); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + }else { + BA.debugLineNum = 285;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; +Debug.ShouldStop(268435456); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Tiene "),__ref.getField(true,"_tot_art_promo" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_tot_art_promor" /*RemoteObject*/ ),RemoteObject.createImmutable(" y necesita "),__ref.getField(true,"_promo_c" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_promo_cr" /*RemoteObject*/ ),RemoteObject.createImmutable(" Para la Promo. ")))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }; + }; + BA.debugLineNum = 288;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 289;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(1); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else +{ BA.debugLineNum = 290;BA.debugLine="else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_promo_c" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 291;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 292;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(8); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 293;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 294;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 295;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(64); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 296;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 297;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(256); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 298;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(512); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 299;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1024); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 300;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 301;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 302;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(8192); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 303;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 304;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 305;BA.debugLine="c.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 306;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(131072); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 309;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) ")))); + BA.debugLineNum = 310;BA.debugLine="e.Position =0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 311;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 312;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)")))); + BA.debugLineNum = 313;BA.debugLine="For i =0 To f.RowCount -1"; +Debug.ShouldStop(16777216); +{ +final int step108 = 1; +final int limit108 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step108 > 0 && _i <= limit108) || (step108 < 0 && _i >= limit108) ;_i = ((int)(0 + _i + step108)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 314;BA.debugLine="F.Position =i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 315;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_NOMBRE from "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_ID = ? ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 316;BA.debugLine="h.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 317;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(268435456); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS"))))}, "**",0, 0)),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 318;BA.debugLine="h.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 320;BA.debugLine="f.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 322;BA.debugLine="e.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 324;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(8); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 325;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +Debug.ShouldStop(16); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 326;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 327;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 328;BA.debugLine="c.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 329;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(256); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 330;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(512); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 331;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(1024); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 332;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(2048); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else { + BA.debugLineNum = 334;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(8192); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 335;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16384); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 336;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(32768); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 337;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 338;BA.debugLine="c.Position=0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 339;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(262144); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 340;BA.debugLine="c.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 341;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 342;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 343;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 344;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 345;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 346;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 347;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 348;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(134217728); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(true,"_preciosin" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 349;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +Debug.ShouldStop(268435456); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 350;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 351;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 352;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(-2147483648); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 353;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(1); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 354;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(2); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 355;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(4); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 356;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(8); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }}}} +; + BA.debugLineNum = 358;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _i_fotol_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("i_fotol_Click (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,544); +if (RapidSub.canDelegate("i_fotol_click")) { return __ref.runUserSub(false, "c_pedidos","i_fotol_click", __ref);} + BA.debugLineNum = 544;BA.debugLine="Sub i_fotol_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 545;BA.debugLine="i_fotol.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + BA.debugLineNum = 547;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _img_prod_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("img_prod_Click (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,539); +if (RapidSub.canDelegate("img_prod_click")) { return __ref.runUserSub(false, "c_pedidos","img_prod_click", __ref);} + BA.debugLineNum = 539;BA.debugLine="Sub img_prod_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 540;BA.debugLine="i_fotol.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 541;BA.debugLine="i_fotol.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_pedidos.__c.runMethod(false,"LoadBitmap",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("1.jpg"))).getObject())); + BA.debugLineNum = 543;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_pedidos","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 60;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 61;BA.debugLine="Return Me"; +Debug.ShouldStop(268435456); +if (true) return __ref; + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _nopromo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("nopromo_Click (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,555); +if (RapidSub.canDelegate("nopromo_click")) { return __ref.runUserSub(false, "c_pedidos","nopromo_click", __ref);} + BA.debugLineNum = 555;BA.debugLine="Sub nopromo_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 556;BA.debugLine="If cantidad.Text = \"\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 557;BA.debugLine="Msgbox(\"Cantidad no puede ser 0\",\"Cantidad\") 'ig"; +Debug.ShouldStop(4096); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Cantidad no puede ser 0")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Cantidad"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 558;BA.debugLine="Else If cantidad.Text > l_bodega.Text Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"getText")))) { + BA.debugLineNum = 559;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +Debug.ShouldStop(16384); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Exede la existencia")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 561;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(65536); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 562;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(131072); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 563;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(262144); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 564;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 565;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 566;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 567;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 568;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 569;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(16777216); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 570;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(33554432); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {RemoteObject.createImmutable(("COACALCO")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 571;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +Debug.ShouldStop(67108864); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 572;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 573;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(268435456); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }} +; + BA.debugLineNum = 575;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_pedido_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_pedido_Click (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,577); +if (RapidSub.canDelegate("p_pedido_click")) { return __ref.runUserSub(false, "c_pedidos","p_pedido_click", __ref);} + BA.debugLineNum = 577;BA.debugLine="Private Sub p_pedido_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 579;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _terminar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Terminar_Click (c_pedidos) ","c_pedidos",23,__ref.getField(false, "ba"),__ref,365); +if (RapidSub.canDelegate("terminar_click")) { return __ref.runUserSub(false, "c_pedidos","terminar_click", __ref);} +int _i = 0; + BA.debugLineNum = 365;BA.debugLine="Sub Terminar_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 366;BA.debugLine="If cantidad.Text = \"\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 367;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(16384); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else +{ BA.debugLineNum = 368;BA.debugLine="ELSE If cantidad.Text > l_bodega.Text Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"getText")))) { + BA.debugLineNum = 369;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +Debug.ShouldStop(65536); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Exede la existencia")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 370;BA.debugLine="Else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_promo_c" /*RemoteObject*/ )),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 371;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(262144); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 372;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(524288); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 373;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 374;BA.debugLine="c.Position =0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 375;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOSD"))),BA.NumberToString(0))) { + BA.debugLineNum = 376;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; +Debug.ShouldStop(8388608); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("No tiene venta el cliente para la promo")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 378;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)")))); + BA.debugLineNum = 379;BA.debugLine="C.Position =0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 380;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; +Debug.ShouldStop(134217728); +__ref.setField ("_tot_art_promo" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOT_ART_PROMO")))); + BA.debugLineNum = 381;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_costo_tot" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO_TOT")))); + BA.debugLineNum = 382;BA.debugLine="C.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 383;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 384;BA.debugLine="c.Position =0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 385;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOSD"))),BA.NumberToString(0))) { + BA.debugLineNum = 386;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; +Debug.ShouldStop(2); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,BA.ObjectToString("0")); + }else { + BA.debugLineNum = 388;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 389;BA.debugLine="C.Position =0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 390;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; +Debug.ShouldStop(32); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOT_ART_PROMO")))); + }; + BA.debugLineNum = 392;BA.debugLine="C.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 393;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; +Debug.ShouldStop(256); +__ref.setField ("_promo_c" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_promo_c" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0))); + BA.debugLineNum = 394;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; +Debug.ShouldStop(512); +__ref.setField ("_promo_cr" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_promo_cr" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0))); + BA.debugLineNum = 395;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tot_art_promo" /*RemoteObject*/ ),__ref.getField(true,"_promo_c" /*RemoteObject*/ )) && RemoteObject.solveBoolean("=",__ref.getField(true,"_tot_art_promor" /*RemoteObject*/ ),__ref.getField(true,"_promo_cr" /*RemoteObject*/ ))) { + BA.debugLineNum = 399;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +Debug.ShouldStop(16384); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 400;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1")))); + BA.debugLineNum = 401;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 402;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(131072); +{ +final int step34 = 1; +final int limit34 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step34 > 0 && _i <= limit34) || (step34 < 0 && _i >= limit34) ;_i = ((int)(0 + _i + step34)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 403;BA.debugLine="D.Position=i"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 404;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(524288); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 407;BA.debugLine="D.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 408;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1")))); + BA.debugLineNum = 409;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 410;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(33554432); +{ +final int step42 = 1; +final int limit42 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step42 > 0 && _i <= limit42) || (step42 < 0 && _i >= limit42) ;_i = ((int)(0 + _i + step42)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 411;BA.debugLine="D.Position=i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 412;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(134217728); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 415;BA.debugLine="D.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 416;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(-2147483648); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 417;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 418;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(2); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 419;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 420;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 421;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(16); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 422;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 423;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 424;BA.debugLine="c.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 425;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(256); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 426;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 427;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 428;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 429;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(4096); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 431;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; +Debug.ShouldStop(16384); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ")))); + BA.debugLineNum = 433;BA.debugLine="e.Position =0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 434;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 435;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +Debug.ShouldStop(262144); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ")))); + BA.debugLineNum = 438;BA.debugLine="If f.RowCount>0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 439;BA.debugLine="For i=0 To f.RowCount -1"; +Debug.ShouldStop(4194304); +{ +final int step67 = 1; +final int limit67 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step67 > 0 && _i <= limit67) || (step67 < 0 && _i >= limit67) ;_i = ((int)(0 + _i + step67)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 440;BA.debugLine="f.Position=i"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 441;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; +Debug.ShouldStop(16777216); +__ref.setField ("_precio_cero" /*RemoteObject*/ ,__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))); + BA.debugLineNum = 442;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"selec"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_NOMBRE from "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_ID = ? ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 443;BA.debugLine="h.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 444;BA.debugLine="Log(111)"; +Debug.ShouldStop(134217728); +c_pedidos.__c.runVoidMethod ("LogImpl","078446671",BA.NumberToString(111),0); + BA.debugLineNum = 445;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +Debug.ShouldStop(268435456); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_precio_cero" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "**",0, 0)),(__ref.getField(true,"_precio_cero" /*RemoteObject*/ )),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 446;BA.debugLine="h.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 449;BA.debugLine="f.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 451;BA.debugLine="e.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 452;BA.debugLine="Log(222)"; +Debug.ShouldStop(8); +c_pedidos.__c.runVoidMethod ("LogImpl","078446679",BA.NumberToString(222),0); + BA.debugLineNum = 453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(16); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 454;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update"; +Debug.ShouldStop(32); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + }else { + BA.debugLineNum = 456;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; +Debug.ShouldStop(128); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Tiene "),__ref.getField(true,"_tot_art_promo" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_tot_art_promor" /*RemoteObject*/ ),RemoteObject.createImmutable(" y necesita "),__ref.getField(true,"_promo_c" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_promo_cr" /*RemoteObject*/ ),RemoteObject.createImmutable(" Para la Promo. ")))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }; + }; + BA.debugLineNum = 459;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 460;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(2048); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else +{ BA.debugLineNum = 461;BA.debugLine="else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_promo_c" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 462;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(8192); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 463;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(16384); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 464;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 465;BA.debugLine="c.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 466;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(131072); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 467;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 468;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(524288); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 469;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1048576); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 470;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(2097152); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 471;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 472;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 473;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(16777216); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 474;BA.debugLine="c.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 475;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 476;BA.debugLine="c.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 477;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 479;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) ")))); + BA.debugLineNum = 480;BA.debugLine="e.Position =0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 481;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 482;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; +Debug.ShouldStop(2); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)")))); + BA.debugLineNum = 483;BA.debugLine="For i =0 To f.RowCount -1"; +Debug.ShouldStop(4); +{ +final int step110 = 1; +final int limit110 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step110 > 0 && _i <= limit110) || (step110 < 0 && _i >= limit110) ;_i = ((int)(0 + _i + step110)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 484;BA.debugLine="F.Position =i"; +Debug.ShouldStop(8); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 485;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +Debug.ShouldStop(16); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_NOMBRE from "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_ID = ? ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 486;BA.debugLine="h.Position=0"; +Debug.ShouldStop(32); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 487;BA.debugLine="Log(333)"; +Debug.ShouldStop(64); +c_pedidos.__c.runVoidMethod ("LogImpl","078446714",BA.NumberToString(333),0); + BA.debugLineNum = 488;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(128); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS"))))}, "**",0, 0)),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 489;BA.debugLine="h.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 491;BA.debugLine="f.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 493;BA.debugLine="e.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 494;BA.debugLine="Log(444)"; +Debug.ShouldStop(8192); +c_pedidos.__c.runVoidMethod ("LogImpl","078446721",BA.NumberToString(444),0); + BA.debugLineNum = 495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(16384); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 496;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +Debug.ShouldStop(32768); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 497;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 498;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 499;BA.debugLine="c.Position=0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 500;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(524288); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 501;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(1048576); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 502;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(2097152); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 503;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(4194304); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else { + BA.debugLineNum = 505;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(16777216); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 506;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(33554432); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 507;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(67108864); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 508;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 509;BA.debugLine="c.Position=0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 510;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(536870912); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 511;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 512;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 513;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 514;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(2); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 515;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 516;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 517;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 518;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(32); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 519;BA.debugLine="Log(555)"; +Debug.ShouldStop(64); +c_pedidos.__c.runVoidMethod ("LogImpl","078446746",BA.NumberToString(555),0); + BA.debugLineNum = 520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(128); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(true,"_preciosin" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 521;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +Debug.ShouldStop(256); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_pedidos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_pedidos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 522;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 523;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 524;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(2048); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 525;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(4096); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 526;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(8192); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 527;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(16384); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 528;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(32768); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }}}} +; + BA.debugLineNum = 530;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_principal.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_principal.java new file mode 100644 index 0000000..b5bce35 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_principal.java @@ -0,0 +1,264 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_principal { + public static RemoteObject myClass; + public c_principal() { + } + public static PCBA staticBA = new PCBA(null, c_principal.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _conectado = RemoteObject.createImmutable(""); +public static RemoteObject _t1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _t2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +public static RemoteObject _phone = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _trabajar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _e = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ro = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _d2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _lv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _cargar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _pendiente = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _foto1 = null; +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _connecta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _conn = RemoteObject.createImmutable(""); +public static RemoteObject _subir = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); +public static RemoteObject _tope = RemoteObject.createImmutable(0); +public static RemoteObject _count_clie = RemoteObject.createImmutable(0); +public static RemoteObject _fecha = RemoteObject.createImmutable(""); +public static RemoteObject _drop = RemoteObject.createImmutable(0); +public static RemoteObject _efectiva = RemoteObject.createImmutable(0); +public static RemoteObject _l_montod = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cuantosc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_drop = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efectiva = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ctast = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _busca = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cuantos = RemoteObject.createImmutable(""); +public static RemoteObject _l_cuantosn = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _e_ruta = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _rut_rep = RemoteObject.createImmutable(""); +public static RemoteObject _l_porvisitar = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_mapa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_ruta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _img2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _listo1 = RemoteObject.createImmutable(""); +public static RemoteObject _listo2 = RemoteObject.createImmutable(""); +public static RemoteObject _listo3 = RemoteObject.createImmutable(""); +public static RemoteObject _listo4 = RemoteObject.createImmutable(""); +public static RemoteObject _listo5 = RemoteObject.createImmutable(""); +public static RemoteObject _ejecutando = RemoteObject.createImmutable(""); +public static RemoteObject _res = RemoteObject.createImmutable(""); +public static RemoteObject _inve = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_pedidosc = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_pedido = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_noventa = RemoteObject.createImmutable(""); +public static RemoteObject _datos_iguales = RemoteObject.createImmutable(""); +public static RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.PhoneId"); +public static RemoteObject _imei = RemoteObject.createImmutable(""); +public static RemoteObject _inv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clave = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_ok_pas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _paso = RemoteObject.createImmutable(""); +public static RemoteObject _usuario1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _connecta1 = RemoteObject.createImmutable(0); +public static RemoteObject _armafolio = RemoteObject.createImmutable(""); +public static RemoteObject _nuevo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _s_cc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _s_cp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _s_ch = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _pb2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ProgressBarWrapper"); +public static RemoteObject _pb1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ProgressBarWrapper"); +public static RemoteObject _l_p_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_p_2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_p_3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _carga = RemoteObject.createImmutable(""); +public static RemoteObject _porcentaje = RemoteObject.createImmutable(""); +public static RemoteObject _p_resumen = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_ok_res = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _resumen = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_cuantost = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _img3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _imageview3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _imageview5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_tickprom = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_marcas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _p_ruta2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _e_ruta2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _resdia = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _hacer_ped = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _nvo_cliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _tickets_dia = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_monto_ks = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_kp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_k = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_c1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_c2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_c3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_encuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _bpv1 = RemoteObject.declareNull("batteryprogressviewwrapper.batteryprogressviewWrapper"); +public static RemoteObject _batterystatus = null; +public static RemoteObject _bu = RemoteObject.declareNull("gunav2.keymon.com.mx.batteryutilities"); +public static RemoteObject _panel4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_nes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_real = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_alcance = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vplan = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vreal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efec_vis = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_visitcc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efec_pv = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efec_pura = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cte_promo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_reden_promo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_lin_tick = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _scroll_resdia = RemoteObject.declareNull("anywheresoftware.b4a.objects.ScrollViewWrapper"); +public static RemoteObject _l_acumulado = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_unilever = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_rechazop = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_rechazom = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vta_3mes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vta_2mes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vta_1mes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_mes_py = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_frec_de_creal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_frec_de_cobj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cob_visit = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_visit_real = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_visit_plan = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_eco = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cob_ccc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ctes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vpo_vta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vpo_obj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ds_vta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ds_obj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_dra_vta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_dra_obj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_alcancem = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_tendencia = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vta_acum = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_obj_mes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ds_objd = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ds_vtad = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lpt = RemoteObject.createImmutable(""); +public static RemoteObject _steyin = RemoteObject.createImmutable(""); +public static RemoteObject _steyout = RemoteObject.createImmutable(""); +public static RemoteObject _l_prio = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_secund = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_comp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _stay_hh = RemoteObject.createImmutable(""); +public static RemoteObject _stay_mi = RemoteObject.createImmutable(""); +public static RemoteObject _stay_ss = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _horaingreso = RemoteObject.createImmutable(""); +public static RemoteObject _l_quala = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ferrero = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_sanmarcos = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_campari = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_iberia = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_bepensa = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_scj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_medj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_duracell = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_guna = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_kimb = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_tresm = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_redb = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _btn_ubicar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_comm = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_total_mm = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_vive = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_guna = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_ba = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_comis = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_mm_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_vive_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_guna_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_ba_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_comis_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_ok_comiss = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _panel_c = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _titleheight = RemoteObject.createImmutable(0); +public static RemoteObject _title2height = RemoteObject.createImmutable(0); +public static RemoteObject _dividerheight = RemoteObject.createImmutable(0); +public static RemoteObject _clv1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _pnltitle = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _b_marcas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _lbltitle = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_ok_panel5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _teclado = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _panel5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel_5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_marcasres = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_sombra = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _label22 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_rutasuplencia = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ru_pri = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ru_sup = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label25 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_transparenteactualizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_forzaractualizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_forzaractualizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _b_abordo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _bitacora = RemoteObject.declareNull("gunav2.keymon.com.mx.c_bitacora"); +public static RemoteObject _l_version = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _contadorsubir = RemoteObject.createImmutable(0); +public static RemoteObject _p_somvra_2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_resdia = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_hacerpedido = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_nuevocliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_clientesvisitados = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_futura = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_preventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_preacordada = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_prevtotal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label19 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label21 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label33 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label35 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label43 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label51 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_faltan = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_visitas = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_visitartotal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _de = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_traec = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ALMACEN",_ref.getField(false, "_almacen"),"armafolio",_ref.getField(false, "_armafolio"),"b",_ref.getField(false, "_b"),"b_abordo",_ref.getField(false, "_b_abordo"),"b_clientesvisitados",_ref.getField(false, "_b_clientesvisitados"),"B_COMM",_ref.getField(false, "_b_comm"),"b_hacerpedido",_ref.getField(false, "_b_hacerpedido"),"b_mapa",_ref.getField(false, "_b_mapa"),"B_MARCAS",_ref.getField(false, "_b_marcas"),"b_nuevocliente",_ref.getField(false, "_b_nuevocliente"),"B_OK_COMISS",_ref.getField(false, "_b_ok_comiss"),"B_OK_PANEL5",_ref.getField(false, "_b_ok_panel5"),"B_OK_PAS",_ref.getField(false, "_b_ok_pas"),"B_OK_RES",_ref.getField(false, "_b_ok_res"),"b_resdia",_ref.getField(false, "_b_resdia"),"B_traec",_ref.getField(false, "_b_traec"),"batterystatus",_ref.getField(false, "_batterystatus"),"bitacora",_ref.getField(false, "_bitacora"),"bpv1",_ref.getField(false, "_bpv1"),"Btn_Ubicar",_ref.getField(false, "_btn_ubicar"),"bu",_ref.getField(false, "_bu"),"BUSCA",_ref.getField(false, "_busca"),"c",_ref.getField(false, "_c"),"CARGA",_ref.getField(false, "_carga"),"cargar",_ref.getField(false, "_cargar"),"CLAVE",_ref.getField(false, "_clave"),"CLV1",_ref.getField(false, "_clv1"),"cmd",_ref.getField(false, "_cmd"),"conectado",_ref.getField(false, "_conectado"),"conn",_ref.getField(false, "_conn"),"connecta",_ref.getField(false, "_connecta"),"connecta1",_ref.getField(false, "_connecta1"),"contadorSubir",_ref.getField(false, "_contadorsubir"),"COUNT_CLIE",_ref.getField(false, "_count_clie"),"Cuantos",_ref.getField(false, "_cuantos"),"cuantos_noventa",_ref.getField(false, "_cuantos_noventa"),"cuantos_pedido",_ref.getField(false, "_cuantos_pedido"),"cuantos_pedidosc",_ref.getField(false, "_cuantos_pedidosc"),"d",_ref.getField(false, "_d"),"D2",_ref.getField(false, "_d2"),"DateUtils",_ref.getField(false, "_dateutils"),"datos_iguales",_ref.getField(false, "_datos_iguales"),"de",_ref.getField(false, "_de"),"DividerHeight",_ref.getField(false, "_dividerheight"),"drop",_ref.getField(false, "_drop"),"e",_ref.getField(false, "_e"),"e_ruta",_ref.getField(false, "_e_ruta"),"E_RUTA2",_ref.getField(false, "_e_ruta2"),"efectiva",_ref.getField(false, "_efectiva"),"EJECUTANDO",_ref.getField(false, "_ejecutando"),"f",_ref.getField(false, "_f"),"fecha",_ref.getField(false, "_fecha"),"foto1",_ref.getField(false, "_foto1"),"g",_ref.getField(false, "_g"),"hacer_ped",_ref.getField(false, "_hacer_ped"),"HORAINGRESO",_ref.getField(false, "_horaingreso"),"ImageView3",_ref.getField(false, "_imageview3"),"ImageView5",_ref.getField(false, "_imageview5"),"imei",_ref.getField(false, "_imei"),"img2",_ref.getField(false, "_img2"),"img3",_ref.getField(false, "_img3"),"inv",_ref.getField(false, "_inv"),"inve",_ref.getField(false, "_inve"),"L_ACUMULADO",_ref.getField(false, "_l_acumulado"),"L_ALCANCE",_ref.getField(false, "_l_alcance"),"L_ALCANCEM",_ref.getField(false, "_l_alcancem"),"L_BEPENSA",_ref.getField(false, "_l_bepensa"),"L_CAMPARI",_ref.getField(false, "_l_campari"),"L_COB_CCC",_ref.getField(false, "_l_cob_ccc"),"L_COB_VISIT",_ref.getField(false, "_l_cob_visit"),"L_COMP",_ref.getField(false, "_l_comp"),"l_ctast",_ref.getField(false, "_l_ctast"),"L_CTE_PROMO",_ref.getField(false, "_l_cte_promo"),"L_CTES",_ref.getField(false, "_l_ctes"),"l_cuantosc",_ref.getField(false, "_l_cuantosc"),"l_cuantosn",_ref.getField(false, "_l_cuantosn"),"L_CUANTOST",_ref.getField(false, "_l_cuantost"),"L_DRA_OBJ",_ref.getField(false, "_l_dra_obj"),"L_DRA_VTA",_ref.getField(false, "_l_dra_vta"),"l_drop",_ref.getField(false, "_l_drop"),"L_DS_OBJ",_ref.getField(false, "_l_ds_obj"),"L_DS_OBJD",_ref.getField(false, "_l_ds_objd"),"L_DS_VTA",_ref.getField(false, "_l_ds_vta"),"L_DS_VTAD",_ref.getField(false, "_l_ds_vtad"),"L_DURACELL",_ref.getField(false, "_l_duracell"),"L_ECO",_ref.getField(false, "_l_eco"),"L_EFEC_PURA",_ref.getField(false, "_l_efec_pura"),"L_EFEC_PV",_ref.getField(false, "_l_efec_pv"),"L_EFEC_VIS",_ref.getField(false, "_l_efec_vis"),"l_efectiva",_ref.getField(false, "_l_efectiva"),"l_encuesta",_ref.getField(false, "_l_encuesta"),"l_faltan",_ref.getField(false, "_l_faltan"),"L_FERRERO",_ref.getField(false, "_l_ferrero"),"l_forzarActualizacion",_ref.getField(false, "_l_forzaractualizacion"),"L_FREC_DE_COBJ",_ref.getField(false, "_l_frec_de_cobj"),"L_FREC_DE_CREAL",_ref.getField(false, "_l_frec_de_creal"),"l_futura",_ref.getField(false, "_l_futura"),"L_GUNA",_ref.getField(false, "_l_guna"),"L_IBERIA",_ref.getField(false, "_l_iberia"),"L_KIMB",_ref.getField(false, "_l_kimb"),"L_LIN_TICK",_ref.getField(false, "_l_lin_tick"),"L_MARCAS",_ref.getField(false, "_l_marcas"),"L_MEDJ",_ref.getField(false, "_l_medj"),"L_MES_PY",_ref.getField(false, "_l_mes_py"),"l_monto_c1",_ref.getField(false, "_l_monto_c1"),"l_monto_c2",_ref.getField(false, "_l_monto_c2"),"l_monto_c3",_ref.getField(false, "_l_monto_c3"),"l_monto_k",_ref.getField(false, "_l_monto_k"),"l_monto_kp",_ref.getField(false, "_l_monto_kp"),"l_monto_ks",_ref.getField(false, "_l_monto_ks"),"L_MONTOD",_ref.getField(false, "_l_montod"),"L_NES",_ref.getField(false, "_l_nes"),"L_OBJ_MES",_ref.getField(false, "_l_obj_mes"),"L_P_1",_ref.getField(false, "_l_p_1"),"L_P_2",_ref.getField(false, "_l_p_2"),"L_P_3",_ref.getField(false, "_l_p_3"),"l_porvisitar",_ref.getField(false, "_l_porvisitar"),"l_preacordada",_ref.getField(false, "_l_preacordada"),"l_preventa",_ref.getField(false, "_l_preventa"),"l_prevtotal",_ref.getField(false, "_l_prevtotal"),"L_PRIO",_ref.getField(false, "_l_prio"),"L_QUALA",_ref.getField(false, "_l_quala"),"L_REAL",_ref.getField(false, "_l_real"),"L_RECHAZOM",_ref.getField(false, "_l_rechazom"),"L_RECHAZOP",_ref.getField(false, "_l_rechazop"),"L_REDB",_ref.getField(false, "_l_redb"),"L_REDEN_PROMO",_ref.getField(false, "_l_reden_promo"),"l_ru_pri",_ref.getField(false, "_l_ru_pri"),"l_ru_sup",_ref.getField(false, "_l_ru_sup"),"l_ruta",_ref.getField(false, "_l_ruta"),"l_rutasuplencia",_ref.getField(false, "_l_rutasuplencia"),"L_SANMARCOS",_ref.getField(false, "_l_sanmarcos"),"L_SCJ",_ref.getField(false, "_l_scj"),"L_SECUND",_ref.getField(false, "_l_secund"),"L_TENDENCIA",_ref.getField(false, "_l_tendencia"),"L_TICKPROM",_ref.getField(false, "_l_tickprom"),"L_TOTAL_BA",_ref.getField(false, "_l_total_ba"),"L_TOTAL_BA_1",_ref.getField(false, "_l_total_ba_1"),"L_TOTAL_COMIS",_ref.getField(false, "_l_total_comis"),"L_TOTAL_COMIS_1",_ref.getField(false, "_l_total_comis_1"),"L_TOTAL_GUNA",_ref.getField(false, "_l_total_guna"),"L_TOTAL_GUNA_1",_ref.getField(false, "_l_total_guna_1"),"L_TOTAL_MM",_ref.getField(false, "_l_total_mm"),"L_TOTAL_MM_1",_ref.getField(false, "_l_total_mm_1"),"L_TOTAL_VIVE",_ref.getField(false, "_l_total_vive"),"L_TOTAL_VIVE_1",_ref.getField(false, "_l_total_vive_1"),"L_TRESM",_ref.getField(false, "_l_tresm"),"L_UNILEVER",_ref.getField(false, "_l_unilever"),"l_version",_ref.getField(false, "_l_version"),"L_VISIT_PLAN",_ref.getField(false, "_l_visit_plan"),"L_VISIT_REAL",_ref.getField(false, "_l_visit_real"),"l_visitartotal",_ref.getField(false, "_l_visitartotal"),"l_visitas",_ref.getField(false, "_l_visitas"),"L_VISITCC",_ref.getField(false, "_l_visitcc"),"L_VPLAN",_ref.getField(false, "_l_vplan"),"L_VPO_OBJ",_ref.getField(false, "_l_vpo_obj"),"L_VPO_VTA",_ref.getField(false, "_l_vpo_vta"),"L_VREAL",_ref.getField(false, "_l_vreal"),"L_VTA_1MES",_ref.getField(false, "_l_vta_1mes"),"L_VTA_2MES",_ref.getField(false, "_l_vta_2mes"),"L_VTA_3MES",_ref.getField(false, "_l_vta_3mes"),"L_VTA_ACUM",_ref.getField(false, "_l_vta_acum"),"Label13",_ref.getField(false, "_label13"),"Label19",_ref.getField(false, "_label19"),"Label2",_ref.getField(false, "_label2"),"Label21",_ref.getField(false, "_label21"),"Label22",_ref.getField(false, "_label22"),"Label25",_ref.getField(false, "_label25"),"Label33",_ref.getField(false, "_label33"),"Label35",_ref.getField(false, "_label35"),"Label4",_ref.getField(false, "_label4"),"Label43",_ref.getField(false, "_label43"),"Label51",_ref.getField(false, "_label51"),"lblTitle",_ref.getField(false, "_lbltitle"),"Listo1",_ref.getField(false, "_listo1"),"Listo2",_ref.getField(false, "_listo2"),"Listo3",_ref.getField(false, "_listo3"),"Listo4",_ref.getField(false, "_listo4"),"Listo5",_ref.getField(false, "_listo5"),"LPT",_ref.getField(false, "_lpt"),"lv",_ref.getField(false, "_lv"),"NUEVO",_ref.getField(false, "_nuevo"),"nvo_cliente",_ref.getField(false, "_nvo_cliente"),"p",_ref.getField(false, "_p"),"p_forzarActualizacion",_ref.getField(false, "_p_forzaractualizacion"),"p_marcasRes",_ref.getField(false, "_p_marcasres"),"p_principal",_ref.getField(false, "_p_principal"),"P_RESUMEN",_ref.getField(false, "_p_resumen"),"p_ruta2",_ref.getField(false, "_p_ruta2"),"p_sombra",_ref.getField(false, "_p_sombra"),"p_somvra_2",_ref.getField(false, "_p_somvra_2"),"p_transparenteActualizacion",_ref.getField(false, "_p_transparenteactualizacion"),"P1",_ref.getField(false, "_p1"),"panel_5",_ref.getField(false, "_panel_5"),"Panel_C",_ref.getField(false, "_panel_c"),"Panel4",_ref.getField(false, "_panel4"),"panel5",_ref.getField(false, "_panel5"),"PASO",_ref.getField(false, "_paso"),"PB1",_ref.getField(false, "_pb1"),"PB2",_ref.getField(false, "_pb2"),"pendiente",_ref.getField(false, "_pendiente"),"PHONE",_ref.getField(false, "_phone"),"pnlTitle",_ref.getField(false, "_pnltitle"),"PORCENTAJE",_ref.getField(false, "_porcentaje"),"RES",_ref.getField(false, "_res"),"resdia",_ref.getField(false, "_resdia"),"Resumen",_ref.getField(false, "_resumen"),"ro",_ref.getField(false, "_ro"),"Root",_ref.getField(false, "_root"),"Rut_Rep",_ref.getField(false, "_rut_rep"),"S_CC",_ref.getField(false, "_s_cc"),"S_CH",_ref.getField(false, "_s_ch"),"S_CP",_ref.getField(false, "_s_cp"),"sb",_ref.getField(false, "_sb"),"SCROLL_RESDIA",_ref.getField(false, "_scroll_resdia"),"sDate",_ref.getField(false, "_sdate"),"stay_hh",_ref.getField(false, "_stay_hh"),"stay_mi",_ref.getField(false, "_stay_mi"),"stay_ss",_ref.getField(false, "_stay_ss"),"STEYIN",_ref.getField(false, "_steyin"),"STEYOUT",_ref.getField(false, "_steyout"),"sTime",_ref.getField(false, "_stime"),"Subir",_ref.getField(false, "_subir"),"t1",_ref.getField(false, "_t1"),"t2",_ref.getField(false, "_t2"),"teclado",_ref.getField(false, "_teclado"),"tickets_dia",_ref.getField(false, "_tickets_dia"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"Title2Height",_ref.getField(false, "_title2height"),"TitleHeight",_ref.getField(false, "_titleheight"),"TOPE",_ref.getField(false, "_tope"),"trabajar",_ref.getField(false, "_trabajar"),"usuario",_ref.getField(false, "_usuario"),"USUARIO1",_ref.getField(false, "_usuario1"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_principal_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_principal_subs_0.java new file mode 100644 index 0000000..7a7cc67 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_principal_subs_0.java @@ -0,0 +1,10321 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_principal_subs_0 { + + +public static RemoteObject _addtitle(RemoteObject __ref,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("AddTitle (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3915); +if (RapidSub.canDelegate("addtitle")) { return __ref.runUserSub(false, "c_principal","addtitle", __ref, _title);} +RemoteObject _p_marcas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _td = RemoteObject.declareNull("gunav2.keymon.com.mx.c_principal._titledata"); +Debug.locals.put("Title", _title); + BA.debugLineNum = 3915;BA.debugLine="Sub AddTitle (Title As String)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 3916;BA.debugLine="Dim p_marcas As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(2048); +_p_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p_marcas = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p_marcas", _p_marcas);Debug.locals.put("p_marcas", _p_marcas); + BA.debugLineNum = 3917;BA.debugLine="p_marcas.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; +Debug.ShouldStop(4096); +_p_marcas.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv1" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(__ref.getField(true,"_titleheight" /*RemoteObject*/ ))); + BA.debugLineNum = 3918;BA.debugLine="p_marcas.LoadLayout(\"CellTitle\")"; +Debug.ShouldStop(8192); +_p_marcas.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("CellTitle")),__ref.getField(false, "ba")); + BA.debugLineNum = 3919;BA.debugLine="lblTitle.Text = Title"; +Debug.ShouldStop(16384); +__ref.getField(false,"_lbltitle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_title)); + BA.debugLineNum = 3920;BA.debugLine="Dim td As TitleData"; +Debug.ShouldStop(32768); +_td = RemoteObject.createNew ("gunav2.keymon.com.mx.c_principal._titledata");Debug.locals.put("td", _td); + BA.debugLineNum = 3921;BA.debugLine="td.Title = Title"; +Debug.ShouldStop(65536); +_td.setField ("Title" /*RemoteObject*/ ,_title); + BA.debugLineNum = 3922;BA.debugLine="CLV1.Add(p_marcas, td)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_p_marcas),(Object)((_td))); + BA.debugLineNum = 3923;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_abordo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_abordo_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3965); +if (RapidSub.canDelegate("b_abordo_click")) { return __ref.runUserSub(false, "c_principal","b_abordo_click", __ref);} + BA.debugLineNum = 3965;BA.debugLine="Private Sub b_abordo_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 3966;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from cuentaa\"$"; +Debug.ShouldStop(536870912); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("delete from cuentaa")))); + BA.debugLineNum = 3967;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into cuentaa ("; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("insert into cuentaa (cuenta) values ('0')")))); + BA.debugLineNum = 3968;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 3969;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_clientesvisitados_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_clientesvisitados_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3975); +if (RapidSub.canDelegate("b_clientesvisitados_click")) { return __ref.runUserSub(false, "c_principal","b_clientesvisitados_click", __ref);} + BA.debugLineNum = 3975;BA.debugLine="Private Sub b_clientesvisitados_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 3976;BA.debugLine="tickets_dia_Click"; +Debug.ShouldStop(128); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_tickets_dia_click" /*RemoteObject*/ ); + BA.debugLineNum = 3977;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_comm_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_COMM_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3796); +if (RapidSub.canDelegate("b_comm_click")) { return __ref.runUserSub(false, "c_principal","b_comm_click", __ref);} + BA.debugLineNum = 3796;BA.debugLine="Sub B_COMM_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 3797;BA.debugLine="Btn_Ubicar.Visible=False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3798;BA.debugLine="SCROLL_RESDIA.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3799;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("COMIS")),__ref.getField(false, "ba")); + BA.debugLineNum = 3800;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 3801;BA.debugLine="Panel4.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3802;BA.debugLine="Panel_C.Visible = True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3803;BA.debugLine="Panel_C.Width = Root.Width * 0.90"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.90)}, "*",0, 0))); + BA.debugLineNum = 3807;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3808;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3809;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(1); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3810;BA.debugLine="Subir.Visible=False"; +Debug.ShouldStop(2); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3811;BA.debugLine="cargar.Visible=False"; +Debug.ShouldStop(4); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3812;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(8); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3814;BA.debugLine="If l_ruta.Text <> 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 3815;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HCM_T"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select HCM_TOTAL_V, HCM_TOTAL_VIVE, HCM_TOTAL_GUNA, HCM_TOTAL_BEB from HIST_COMISIONES_MOVIL")))); + BA.debugLineNum = 3816;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3817;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3818;BA.debugLine="L_TOTAL_BA.Text = c.GetString(\"HCM_TOTAL_BEB\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_total_ba" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCM_TOTAL_BEB"))))); + BA.debugLineNum = 3819;BA.debugLine="L_TOTAL_GUNA.Text = c.GetString(\"HCM_TOTAL_GUNA"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_total_guna" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCM_TOTAL_GUNA"))))); + BA.debugLineNum = 3820;BA.debugLine="L_TOTAL_MM.Text = c.GetString(\"HCM_TOTAL_V\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_total_mm" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCM_TOTAL_V"))))); + BA.debugLineNum = 3821;BA.debugLine="L_TOTAL_VIVE.Text = c.GetString(\"HCM_TOTAL_VIVE"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_total_vive" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCM_TOTAL_VIVE"))))); + BA.debugLineNum = 3822;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3823;BA.debugLine="L_TOTAL_COMIS.Text = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_total_comis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + }else { + BA.debugLineNum = 3826;BA.debugLine="L_TOTAL_BA.Text = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_total_ba" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3827;BA.debugLine="L_TOTAL_GUNA.Text = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_total_guna" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3828;BA.debugLine="L_TOTAL_MM.Text = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_total_mm" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3829;BA.debugLine="L_TOTAL_VIVE.Text = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_total_vive" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3830;BA.debugLine="L_TOTAL_COMIS.Text = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_total_comis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3833;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_hacerpedido_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_hacerpedido_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3987); +if (RapidSub.canDelegate("b_hacerpedido_click")) { return __ref.runUserSub(false, "c_principal","b_hacerpedido_click", __ref);} + BA.debugLineNum = 3987;BA.debugLine="Private Sub b_hacerpedido_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 3988;BA.debugLine="hacer_ped_Click"; +Debug.ShouldStop(524288); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_hacer_ped_click" /*RemoteObject*/ ); + BA.debugLineNum = 3989;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_mapa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_mapa_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2954); +if (RapidSub.canDelegate("b_mapa_click")) { return __ref.runUserSub(false, "c_principal","b_mapa_click", __ref);} + BA.debugLineNum = 2954;BA.debugLine="Sub b_mapa_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 2956;BA.debugLine="B4XPages.GetPage(\"Mapas\")"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runVoidMethod ("_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Mapas"))); + BA.debugLineNum = 2957;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_marcas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_MARCAS_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3848); +if (RapidSub.canDelegate("b_marcas_click")) { return __ref.runUserSub(false, "c_principal","b_marcas_click", __ref);} +int _i = 0; + BA.debugLineNum = 3848;BA.debugLine="Sub B_MARCAS_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 3849;BA.debugLine="SCROLL_RESDIA.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3850;BA.debugLine="p_sombra.Width = Root.Width"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_sombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 3851;BA.debugLine="p_sombra.Height = Root.Height"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_sombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 3852;BA.debugLine="Subs.panelVisible(p_sombra, 0, 0)"; +Debug.ShouldStop(2048); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_sombra" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 3853;BA.debugLine="p_marcasRes.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3854;BA.debugLine="p_marcasRes.Height = Root.Height * 0.8"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.8)}, "*",0, 0))); + BA.debugLineNum = 3855;BA.debugLine="p_marcasRes.BringToFront"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 3857;BA.debugLine="pnlTitle.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_pnltitle" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3861;BA.debugLine="B_OK_PANEL5.Top = p_marcasRes.Height - (B_OK_PANE"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_ok_panel5" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runMethod(true,"getHeight"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_b_ok_panel5" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "+",1, 1))}, "-",1, 1)); + BA.debugLineNum = 3862;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF")))); + BA.debugLineNum = 3863;BA.debugLine="CLV1.Clear"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 3864;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3865;BA.debugLine="For i=0 To c.RowCount - 1"; +Debug.ShouldStop(16777216); +{ +final int step13 = 1; +final int limit13 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step13 > 0 && _i <= limit13) || (step13 < 0 && _i >= limit13) ;_i = ((int)(0 + _i + step13)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3866;BA.debugLine="c.Position=i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3867;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_addtitle" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF"))))); + BA.debugLineNum = 3868;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF"))),BA.ObjectToString("PROMOS"))) { + BA.debugLineNum = 3869;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID")))); + BA.debugLineNum = 3870;BA.debugLine="d.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3871;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CANTIDAD DE PROMOS = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3872;BA.debugLine="d.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 3874;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; +Debug.ShouldStop(2); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))})))); + BA.debugLineNum = 3875;BA.debugLine="f.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3876;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3877;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H"; +Debug.ShouldStop(16); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))})))); + BA.debugLineNum = 3878;BA.debugLine="e.Position=0"; +Debug.ShouldStop(32); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3879;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" WHERE CAT_GP_CLASIF =?)")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))})))); + BA.debugLineNum = 3880;BA.debugLine="d.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3881;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; +Debug.ShouldStop(256); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("TOTAL PREVENTA = $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3882;BA.debugLine="CLV1.AddTextItem(\"META MES= $\" & e.GetString("; +Debug.ShouldStop(512); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("META MES= $"),__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3883;BA.debugLine="CLV1.AddTextItem(\"META DIA= $\" & Round(e.GetS"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("META DIA= $"),c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))),RemoteObject.createImmutable(25)}, "/",0, 0)))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3884;BA.debugLine="CLV1.AddTextItem(\"FALTA DIA= $\" & Round((e.Ge"; +Debug.ShouldStop(2048); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("FALTA DIA= $"),c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))),RemoteObject.createImmutable(25)}, "/",0, 0)),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "-",1, 0)))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3885;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; +Debug.ShouldStop(4096); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CLIENTES = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3886;BA.debugLine="d.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3887;BA.debugLine="e.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 3889;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" WHERE CAT_GP_CLASIF =?)")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))})))); + BA.debugLineNum = 3890;BA.debugLine="d.Position=0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3891;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; +Debug.ShouldStop(262144); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("TOTAL PREVENTA = $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3892;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & \"1000\",\"1\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("M E T A = $"),RemoteObject.createImmutable("1000")))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3893;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (1000 - c.Get"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("FALTA = $"),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1000),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "-",1, 0))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3894;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CLIENTES = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3895;BA.debugLine="d.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 3897;BA.debugLine="f.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3901;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3913;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_nuevocliente_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_nuevocliente_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3983); +if (RapidSub.canDelegate("b_nuevocliente_click")) { return __ref.runUserSub(false, "c_principal","b_nuevocliente_click", __ref);} + BA.debugLineNum = 3983;BA.debugLine="Private Sub b_nuevocliente_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 3984;BA.debugLine="nvo_cliente_Click"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_nvo_cliente_click" /*RemoteObject*/ ); + BA.debugLineNum = 3985;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ok_comiss_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_OK_COMISS_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3835); +if (RapidSub.canDelegate("b_ok_comiss_click")) { return __ref.runUserSub(false, "c_principal","b_ok_comiss_click", __ref);} + BA.debugLineNum = 3835;BA.debugLine="Sub B_OK_COMISS_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 3836;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3837;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3838;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3839;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3840;BA.debugLine="P_RESUMEN.Visible=False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3841;BA.debugLine="Panel_C.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3842;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3843;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(4); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3844;BA.debugLine="p_principal.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3845;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews"; +Debug.ShouldStop(16); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 3846;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ok_panel5_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_OK_PANEL5_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3925); +if (RapidSub.canDelegate("b_ok_panel5_click")) { return __ref.runUserSub(false, "c_principal","b_ok_panel5_click", __ref);} + BA.debugLineNum = 3925;BA.debugLine="Sub B_OK_PANEL5_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 3926;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3927;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3928;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3929;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3930;BA.debugLine="P_RESUMEN.Visible=False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3931;BA.debugLine="Panel4.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3932;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3933;BA.debugLine="p_marcasRes.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3934;BA.debugLine="p_sombra.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_sombra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3935;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3936;BA.debugLine="p_principal.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3937;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ok_pas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_OK_PAS_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3117); +if (RapidSub.canDelegate("b_ok_pas_click")) { return __ref.runUserSub(false, "c_principal","b_ok_pas_click", __ref);} +RemoteObject _cn = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _gh = 0; +RemoteObject _c11 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +RemoteObject _c12 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c13 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 3117;BA.debugLine="Sub B_OK_PAS_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 3118;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("INFO OK"))) { + BA.debugLineNum = 3119;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3120;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3122;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3123;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3124;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3125;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3126;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3127;BA.debugLine="CARGA = \"\""; +Debug.ShouldStop(4194304); +__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 3129;BA.debugLine="E_RUTA2.Text = \"\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 3130;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 3131;BA.debugLine="Label4.Visible = True"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_label4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3132;BA.debugLine="l_ruta.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3133;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 3134;BA.debugLine="Else If CARGA = \"SUBIR\" And S_CP.Text = \"ERROR\" T"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("ERROR"))) { + BA.debugLineNum = 3135;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\""; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Tiene que subir de nuevo la información")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 3136;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3138;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(2); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3139;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(4); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3140;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(8); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3141;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(16); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3142;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(32); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 3144;BA.debugLine="Else if CARGA = \"SUBIR\" And S_CP.Text <> \"INFO OK"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("INFO OK"))) { + BA.debugLineNum = 3145;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce"; +Debug.ShouldStop(256); +__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa abortar el proceso")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 3146;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 3147;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3149;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3150;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3151;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3152;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3153;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3154;BA.debugLine="l_visitartotal.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_visitartotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3155;BA.debugLine="de.Visible = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_de" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3156;BA.debugLine="l_faltan.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3157;BA.debugLine="l_visitas.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3159;BA.debugLine="ExitApplication"; +Debug.ShouldStop(4194304); +c_principal.__c.runVoidMethod ("ExitApplication"); + }; + }}} +; + BA.debugLineNum = 3162;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("CARGAR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO"))) { + BA.debugLineNum = 3163;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3164;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3166;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3167;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3168;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3169;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(1); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3170;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(2); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3172;BA.debugLine="Label4.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_label4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3173;BA.debugLine="l_ruta.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3174;BA.debugLine="l_visitartotal.Visible = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_visitartotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3175;BA.debugLine="de.Visible = True"; +Debug.ShouldStop(64); +__ref.getField(false,"_de" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3176;BA.debugLine="l_faltan.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3177;BA.debugLine="l_visitas.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3178;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(512); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 3180;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(2048); +_cn = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CLIENTES_NUEVOS"))));Debug.locals.put("cn", _cn);Debug.locals.put("cn", _cn); + BA.debugLineNum = 3181;BA.debugLine="If cn.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_cn.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3182;BA.debugLine="For gh = 0 To cn.RowCount -1"; +Debug.ShouldStop(8192); +{ +final int step56 = 1; +final int limit56 = RemoteObject.solve(new RemoteObject[] {_cn.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_gh = 0 ; +for (;(step56 > 0 && _gh <= limit56) || (step56 < 0 && _gh >= limit56) ;_gh = ((int)(0 + _gh + step56)) ) { +Debug.locals.put("gh", _gh); + BA.debugLineNum = 3183;BA.debugLine="cn.Position = gh"; +Debug.ShouldStop(16384); +_cn.runMethod(true,"setPosition",BA.numberCast(int.class, _gh)); + BA.debugLineNum = 3184;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; +Debug.ShouldStop(32768); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_NUMEROINT,CAT_CL_NUMEROEXT,CAT_CL_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?,?,?) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {22},new Object[] {(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE")))),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE1")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE2")))),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NUMEROINT")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NUMEROEXT")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_REFERENCIA"))))}))))); + } +}Debug.locals.put("gh", _gh); +; + }; + BA.debugLineNum = 3188;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")}))))); + BA.debugLineNum = 3189;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("CARGA_DIA")),RemoteObject.createImmutable((1))}))))); + BA.debugLineNum = 3190;BA.debugLine="If E_RUTA2.Visible = True Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { + BA.debugLineNum = 3191;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(Object)(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Carga día suplencia")),(Object)(BA.ObjectToString("")),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.ObjectToString("2")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(""))); + }else { + BA.debugLineNum = 3193;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(Object)(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Carga día")),(Object)(BA.ObjectToString("")),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.ObjectToString("2")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(""))); + }; + BA.debugLineNum = 3195;BA.debugLine="Dim c11 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +Debug.ShouldStop(67108864); +_c11 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c11 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'PREVENTA'"))));Debug.locals.put("c11", _c11);Debug.locals.put("c11", _c11); + BA.debugLineNum = 3196;BA.debugLine="If c11.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_c11.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3197;BA.debugLine="For i = 0 To c11.RowCount - 1"; +Debug.ShouldStop(268435456); +{ +final int step70 = 1; +final int limit70 = RemoteObject.solve(new RemoteObject[] {_c11.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step70 > 0 && _i <= limit70) || (step70 < 0 && _i >= limit70) ;_i = ((int)(0 + _i + step70)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3198;BA.debugLine="c11.Position = i"; +Debug.ShouldStop(536870912); +_c11.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3199;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c11.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c11.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3202;BA.debugLine="c11.Close"; +Debug.ShouldStop(2); +_c11.runVoidMethod ("Close"); + BA.debugLineNum = 3204;BA.debugLine="Dim c12 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +Debug.ShouldStop(8); +_c12 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c12 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'ABORDO'"))));Debug.locals.put("c12", _c12);Debug.locals.put("c12", _c12); + BA.debugLineNum = 3205;BA.debugLine="If c12.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_c12.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3206;BA.debugLine="For i = 0 To c12.RowCount - 1"; +Debug.ShouldStop(32); +{ +final int step78 = 1; +final int limit78 = RemoteObject.solve(new RemoteObject[] {_c12.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step78 > 0 && _i <= limit78) || (step78 < 0 && _i >= limit78) ;_i = ((int)(0 + _i + step78)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3207;BA.debugLine="c12.Position = i"; +Debug.ShouldStop(64); +_c12.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3208;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +Debug.ShouldStop(128); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c12.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c12.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3211;BA.debugLine="c12.Close"; +Debug.ShouldStop(1024); +_c12.runVoidMethod ("Close"); + BA.debugLineNum = 3213;BA.debugLine="Dim c13 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +Debug.ShouldStop(4096); +_c13 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c13 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'VENTA'"))));Debug.locals.put("c13", _c13);Debug.locals.put("c13", _c13); + BA.debugLineNum = 3214;BA.debugLine="If c13.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_c13.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3215;BA.debugLine="For i = 0 To c13.RowCount - 1"; +Debug.ShouldStop(16384); +{ +final int step86 = 1; +final int limit86 = RemoteObject.solve(new RemoteObject[] {_c13.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step86 > 0 && _i <= limit86) || (step86 < 0 && _i >= limit86) ;_i = ((int)(0 + _i + step86)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3216;BA.debugLine="c13.Position = i"; +Debug.ShouldStop(32768); +_c13.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3217;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +Debug.ShouldStop(65536); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CAT_GUNAPROD2 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c13.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c13.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3220;BA.debugLine="c13.Close"; +Debug.ShouldStop(524288); +_c13.runVoidMethod ("Close"); + BA.debugLineNum = 3224;BA.debugLine="checaPedido"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_checapedido" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 3225;BA.debugLine="Else if CARGA = \"CARGAR\" And (S_CP.Text <> \"LISTO"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("CARGAR")) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("LISTO")))))) { + BA.debugLineNum = 3226;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce"; +Debug.ShouldStop(33554432); +__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa abortar el proceso")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 3227;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 3228;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3230;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3231;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3232;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3233;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(1); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3234;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(2); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3236;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 3237;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info3"))); + BA.debugLineNum = 3238;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result"))); + BA.debugLineNum = 3239;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest"))); + BA.debugLineNum = 3240;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 3241;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 3242;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos"))); + BA.debugLineNum = 3243;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 3244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PROMOS"))); + BA.debugLineNum = 3245;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_CLIENTE_CANT_PROMOS"))); + BA.debugLineNum = 3246;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROMOS_COMP"))); + BA.debugLineNum = 3247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VERIFICACION"))); + BA.debugLineNum = 3248;BA.debugLine="ExitApplication"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("ExitApplication"); + }; + }} +; + BA.debugLineNum = 3251;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("VENTA")) || RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("ABORDO"))) { + BA.debugLineNum = 3252;BA.debugLine="If l_ruta.Text <> \"0\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 3253;BA.debugLine="Log(888 & \"|\" & l_ruta.Text & \"|\")"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("LogImpl","04391048",RemoteObject.concat(RemoteObject.createImmutable(888),RemoteObject.createImmutable("|"),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 3254;BA.debugLine="b_abordo.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + }else { + BA.debugLineNum = 3257;BA.debugLine="b_abordo.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + BA.debugLineNum = 3259;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ok_res_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_OK_RES_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3265); +if (RapidSub.canDelegate("b_ok_res_click")) { return __ref.runUserSub(false, "c_principal","b_ok_res_click", __ref);} + BA.debugLineNum = 3265;BA.debugLine="Sub B_OK_RES_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 3267;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(4); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3268;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(8); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3269;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(16); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3270;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(32); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3271;BA.debugLine="P_RESUMEN.Visible=False"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3272;BA.debugLine="Panel4.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3273;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3274;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(512); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3275;BA.debugLine="p_principal.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3276;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_resdia_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_resdia_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3991); +if (RapidSub.canDelegate("b_resdia_click")) { return __ref.runUserSub(false, "c_principal","b_resdia_click", __ref);} + BA.debugLineNum = 3991;BA.debugLine="Private Sub b_resdia_Click"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 3992;BA.debugLine="resdia_Click"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_resdia_click" /*RemoteObject*/ ); + BA.debugLineNum = 3993;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_traec_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_traec_click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3995); +if (RapidSub.canDelegate("b_traec_click")) { return __ref.runUserSub(false, "c_principal","b_traec_click", __ref);} + BA.debugLineNum = 3995;BA.debugLine="Private Sub B_traec_click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 3996;BA.debugLine="B4XPages.ShowPage(\"Clientes_Completos\")"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes_Completos"))); + BA.debugLineNum = 3997;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ubicar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_ubicar_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3979); +if (RapidSub.canDelegate("b_ubicar_click")) { return __ref.runUserSub(false, "c_principal","b_ubicar_click", __ref);} + BA.debugLineNum = 3979;BA.debugLine="Private Sub b_ubicar_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 3980;BA.debugLine="Btn_Ubicar_Click"; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_btn_ubicar_click" /*RemoteObject*/ ); + BA.debugLineNum = 3981;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,382); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_principal","b4xpage_appear", __ref);} +RemoteObject _totalcisitas = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _visitasfaltantes = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _total7 = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 382;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 386;BA.debugLine="p_principal.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 387;BA.debugLine="E_RUTA2.Text = \"\""; +Debug.ShouldStop(4); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 388;BA.debugLine="p_ruta2.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 389;BA.debugLine="E_RUTA2.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 390;BA.debugLine="p_somvra_2.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_somvra_2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 391;BA.debugLine="Subs.validaPromoProcterPRO3009"; +Debug.ShouldStop(64); +c_principal._subs.runVoidMethod ("_validapromoprocterpro3009" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 392;BA.debugLine="HORAINGRESO =\"000000\""; +Debug.ShouldStop(128); +__ref.setField ("_horaingreso" /*RemoteObject*/ ,BA.ObjectToString("000000")); + BA.debugLineNum = 393;BA.debugLine="Btn_Ubicar.Left = (Panel4.Width/2) - (Btn_Ubicar."; +Debug.ShouldStop(256); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 395;BA.debugLine="PASO = 0"; +Debug.ShouldStop(1024); +__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 396;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(2048); +if (c_principal.__c.runMethod(true,"Not",(Object)(c_principal._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 397;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 398;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_principal._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 400;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")})))); + BA.debugLineNum = 401;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 402;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 403;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 404;BA.debugLine="cmd.Name = \"select_fecha\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha")); + BA.debugLineNum = 405;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("fecha")))); + BA.debugLineNum = 406;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR FECHA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + BA.debugLineNum = 407;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 409;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")})))); + BA.debugLineNum = 410;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 411;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(67108864); +c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate); +c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime); + BA.debugLineNum = 412;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +Debug.ShouldStop(134217728); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 413;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 414;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))),BA.numberCast(double.class, __ref.getField(true,"_sdate" /*RemoteObject*/ )))) { + BA.debugLineNum = 415;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + BA.debugLineNum = 416;BA.debugLine="c.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 417;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + BA.debugLineNum = 419;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 421;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 422;BA.debugLine="If EJECUTANDO = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ejecutando" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 423;BA.debugLine="Listo1 = 0"; +Debug.ShouldStop(64); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 424;BA.debugLine="Listo2 = 0"; +Debug.ShouldStop(128); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 425;BA.debugLine="Listo3 = 0"; +Debug.ShouldStop(256); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 426;BA.debugLine="Listo4 = 0"; +Debug.ShouldStop(512); +__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 427;BA.debugLine="Listo5 = 0"; +Debug.ShouldStop(1024); +__ref.setField ("_listo5" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 428;BA.debugLine="inve = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 429;BA.debugLine="img2.Visible =False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + BA.debugLineNum = 431;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(16384); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 432;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(32768); +__ref.setField ("_fecha" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 433;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; +Debug.ShouldStop(65536); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from pedido_cliente")))); + BA.debugLineNum = 434;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 435;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(262144); +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 436;BA.debugLine="b.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 437;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageSh"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(__ref.getField(true,"_cuantos" /*RemoteObject*/ ))),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 438;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as TOTAL_VISITAR from kmt_info3 where gestion = 0")))); + BA.debugLineNum = 439;BA.debugLine="d.Position=0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 440;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(8388608); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as POR_VISITAR from kmt_info3")))); + BA.debugLineNum = 441;BA.debugLine="e.Position=0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 442;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(33554432); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CAT_CL_RUTA from kmt_info3")))); + BA.debugLineNum = 443;BA.debugLine="f.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 444;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + BA.debugLineNum = 445;BA.debugLine="f.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 446;BA.debugLine="If l_ruta.Text = 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 447;BA.debugLine="l_ruta.Text =0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 448;BA.debugLine="l_visitas.Text = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 449;BA.debugLine="l_faltan.Text = 0"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }else { + BA.debugLineNum = 451;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select disti"; +Debug.ShouldStop(4); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)")))); + BA.debugLineNum = 452;BA.debugLine="f.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 453;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + BA.debugLineNum = 454;BA.debugLine="f.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 456;BA.debugLine="Dim totalcisitas As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(128); +_totalcisitas = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_totalcisitas = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUENTA FROM KMT_INFO3 where cat_cl_codigo <> 0"))));Debug.locals.put("totalcisitas", _totalcisitas);Debug.locals.put("totalcisitas", _totalcisitas); + BA.debugLineNum = 457;BA.debugLine="totalcisitas.Position = 0"; +Debug.ShouldStop(256); +_totalcisitas.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 458;BA.debugLine="l_visitas.Text = totalcisitas.GetInt(\"CUENTA\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_totalcisitas.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CUENTA"))))); + BA.debugLineNum = 459;BA.debugLine="Dim visitasfaltantes As Cursor = Starter.skmt.Ex"; +Debug.ShouldStop(1024); +_visitasfaltantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_visitasfaltantes = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUENTA FROM KMT_INFO3 WHERE gestion = 0 and cat_cl_codigo <> 0"))));Debug.locals.put("visitasfaltantes", _visitasfaltantes);Debug.locals.put("visitasfaltantes", _visitasfaltantes); + BA.debugLineNum = 460;BA.debugLine="visitasfaltantes.Position = 0"; +Debug.ShouldStop(2048); +_visitasfaltantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 461;BA.debugLine="l_faltan.Text = visitasfaltantes.GetInt(\"CUENTA\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_visitasfaltantes.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CUENTA"))))); + }; + BA.debugLineNum = 463;BA.debugLine="If Cuantos = 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 464;BA.debugLine="L_MONTOD.Text =0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 465;BA.debugLine="l_cuantosc.Text = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 466;BA.debugLine="l_cuantosn.Text = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 467;BA.debugLine="L_CUANTOST.Text = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 468;BA.debugLine="drop = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 469;BA.debugLine="l_drop.Text = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 470;BA.debugLine="efectiva = 0"; +Debug.ShouldStop(2097152); +__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 471;BA.debugLine="l_efectiva.text =0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 472;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_VISITAR"))))); + BA.debugLineNum = 473;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))); + BA.debugLineNum = 474;BA.debugLine="d.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 475;BA.debugLine="e.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 476;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count( distinct NV_CLIENTE) as CUANTOS from noventa")))); + BA.debugLineNum = 477;BA.debugLine="b.Position=0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 478;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 479;BA.debugLine="b.close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 481;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(P"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_COSTO_TOT) as MONTO_DIA, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA from PEDIDO")))); + BA.debugLineNum = 482;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(2); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count( distinct NV_CLIENTE) as CUANTOS from noventa")))); + BA.debugLineNum = 483;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 484;BA.debugLine="b.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 485;BA.debugLine="L_MONTOD.Text = NumberFormat2(c.GetDouble(\"MONTO"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("MONTO_DIA")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + BA.debugLineNum = 486;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA"))))); + BA.debugLineNum = 487;BA.debugLine="D2=B4XPages.MainPage.skmt.ExecQuery(\"select COU"; +Debug.ShouldStop(64); +__ref.getField(false,"_d2" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CUANTOS from PEDIDO ")))); + BA.debugLineNum = 488;BA.debugLine="D2.Position = 0"; +Debug.ShouldStop(128); +__ref.getField(false,"_d2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 489;BA.debugLine="LPT = D2.GetString(\"CUANTOS\") / l_cuantosc.Text"; +Debug.ShouldStop(256); +__ref.setField ("_lpt" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_d2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, __ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0))); + BA.debugLineNum = 490;BA.debugLine="D2.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_d2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 491;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 492;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; +Debug.ShouldStop(2048); +__ref.setField ("_efectiva" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))),BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))}, "/",0, 0)); + BA.debugLineNum = 493;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_efectiva" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 494;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_VISITAR"))))); + BA.debugLineNum = 495;BA.debugLine="d.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 496;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))); + BA.debugLineNum = 497;BA.debugLine="L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.T"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 498;BA.debugLine="drop = L_CUANTOST.Text / l_porvisitar.Text"; +Debug.ShouldStop(131072); +__ref.setField ("_drop" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)); + BA.debugLineNum = 499;BA.debugLine="l_drop.Text = Round(drop * 100)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_drop" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0))))); + BA.debugLineNum = 500;BA.debugLine="If L_CUANTOST.Text < 40 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 40))) { + BA.debugLineNum = 501;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("tache_rojo.png"))).getObject())); + }else +{ BA.debugLineNum = 502;BA.debugLine="Else If L_CUANTOST.Text > = 40 And L_CUANTOST."; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 40)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 50))) { + BA.debugLineNum = 503;BA.debugLine="ImageView3.bitmap = LoadBitmap(File.DirAssets,"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alerta_amarilla.png"))).getObject())); + }else { + BA.debugLineNum = 505;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("palomita_verde.png"))).getObject())); + }} +; + BA.debugLineNum = 507;BA.debugLine="Log(\"|\" & c.GetString(\"MONTO_DIA\") & \"|\")"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","03473533",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))),RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 508;BA.debugLine="Log(\"|\" & c.GetString(\"CLIENTES_DIA\") & \"|\")"; +Debug.ShouldStop(134217728); +c_principal.__c.runVoidMethod ("LogImpl","03473534",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA"))),RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 517;BA.debugLine="b.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 518;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 520;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 521;BA.debugLine="b.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 522;BA.debugLine="e.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 523;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 524;BA.debugLine="C.Position =0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 525;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(4096); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + BA.debugLineNum = 526;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 527;BA.debugLine="bu.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 528;BA.debugLine="batterystatus = bu.BatteryInformation"; +Debug.ShouldStop(32768); +__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ )); + BA.debugLineNum = 529;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 530;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 531;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(262144); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 532;BA.debugLine="c.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 534;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(2097152); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 536;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 537;BA.debugLine="Private total7 As String = 0"; +Debug.ShouldStop(16777216); +_total7 = BA.NumberToString(0);Debug.locals.put("total7", _total7);Debug.locals.put("total7", _total7); + BA.debugLineNum = 538;BA.debugLine="For i = 0 To s3.RowCount - 1"; +Debug.ShouldStop(33554432); +{ +final int step141 = 1; +final int limit141 = RemoteObject.solve(new RemoteObject[] {_s3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step141 > 0 && _i <= limit141) || (step141 < 0 && _i >= limit141) ;_i = ((int)(0 + _i + step141)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 539;BA.debugLine="s3.Position = i"; +Debug.ShouldStop(67108864); +_s3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 541;BA.debugLine="total7 = total7 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(268435456); +_total7 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total7),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total7", _total7); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 546;BA.debugLine="B4XPages.MainPage.montoActual = NumberFormat2(to"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoactual" /*RemoteObject*/ ,c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total7)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))); + }else { + BA.debugLineNum = 548;BA.debugLine="B4XPages.MainPage.montoActual = 0"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoactual" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + BA.debugLineNum = 552;BA.debugLine="B4XPages.MainPage.clientestotal = L_CUANTOST.Text"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientestotal" /*RemoteObject*/ ,__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 553;BA.debugLine="B4XPages.MainPage.clientesventa = l_cuantosc.Tex"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesventa" /*RemoteObject*/ ,__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 554;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesvisitados" /*RemoteObject*/ ,__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 555;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_almacen" /*RemoteObject*/ ,__ref.getField(true,"_almacen" /*RemoteObject*/ )); + BA.debugLineNum = 556;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.text"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 559;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 560;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 561;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(65536); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 562;BA.debugLine="B4XPages.MainPage.usuario = usuario"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_usuario" /*RemoteObject*/ ,__ref.getField(true,"_usuario" /*RemoteObject*/ )); + BA.debugLineNum = 563;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 565;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")"; +Debug.ShouldStop(1048576); +c_principal.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)((c_principal._starter.getObject())),(Object)(RemoteObject.createImmutable("ENVIA_ULTIMA_GPS"))); + BA.debugLineNum = 569;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(16777216); +_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(RS_RUTA) as cuenta, RS_RUTA FROM RUTA_SUPLENCIA"))));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 570;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(33554432); +_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 571;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta"))),BA.NumberToString(0))) { + BA.debugLineNum = 572;BA.debugLine="Label22.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 573;BA.debugLine="l_rutasuplencia.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 574;BA.debugLine="l_rutasuplencia.Text = \"\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + }else +{ BA.debugLineNum = 575;BA.debugLine="Else If s.GetString(\"cuenta\") > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 576;BA.debugLine="Label22.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 577;BA.debugLine="l_rutasuplencia.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 578;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA"))))); + }} +; + BA.debugLineNum = 580;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2845); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_principal","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_principal parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_principal parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2845); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 2847;BA.debugLine="If SCROLL_RESDIA.Visible Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 2848;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2849;BA.debugLine="B_OK_RES_Click"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b_ok_res_click" /*RemoteObject*/ ); + BA.debugLineNum = 2850;BA.debugLine="Return False"; +Debug.ShouldStop(2); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 2852;BA.debugLine="B4XPages.ShowPage(\"login\")"; +Debug.ShouldStop(8); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("login"))); + if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 2854;BA.debugLine="Return False"; +Debug.ShouldStop(32); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 2855;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,268); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_principal","b4xpage_created", __ref, _root1);} +RemoteObject _ruta = RemoteObject.createImmutable(""); +RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 268;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 269;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4096); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 270;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; +Debug.ShouldStop(8192); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(("bitacora"))),(Object)(BA.ObjectToString("bitacora")),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ )),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ )),(Object)(c_principal._starter._reqmanager /*RemoteObject*/ )); + BA.debugLineNum = 272;BA.debugLine="Root.LoadLayout(\"principal\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("principal")),__ref.getField(false, "ba")); + BA.debugLineNum = 273;BA.debugLine="SCROLL_RESDIA.Width = Root.Width"; +Debug.ShouldStop(65536); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 274;BA.debugLine="SCROLL_RESDIA.Height = Root.Height"; +Debug.ShouldStop(131072); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 275;BA.debugLine="B_OK_RES.color = Colors.Red"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b_ok_res" /*RemoteObject*/ ).runVoidMethod ("setColor",c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 276;BA.debugLine="B_OK_RES.TextColor = Colors.White"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b_ok_res" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 277;BA.debugLine="l_version.Left = Root.Width - l_version.Width"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "-",1, 1)); + BA.debugLineNum = 278;BA.debugLine="l_version.Text = Application.VersionName"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))); + BA.debugLineNum = 279;BA.debugLine="EJECUTANDO=1"; +Debug.ShouldStop(4194304); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 280;BA.debugLine="Dim ruta As String"; +Debug.ShouldStop(8388608); +_ruta = RemoteObject.createImmutable("");Debug.locals.put("ruta", _ruta); + BA.debugLineNum = 281;BA.debugLine="img2.Visible =False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 282;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(33554432); +_ruta = c_principal.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("ruta", _ruta); + BA.debugLineNum = 283;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",c_principal.__c.getField(false,"File").runMethod(true,"Exists",(Object)(_ruta),(Object)(RemoteObject.createImmutable("kmt.db"))),c_principal.__c.getField(true,"False"))) { + BA.debugLineNum = 284;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(134217728); +c_principal.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(_ruta),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 286;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(536870912); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 287;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1073741824); +__ref.setField ("_fecha" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 288;BA.debugLine="B4XPages.MainPage.skmt.Initialize(ruta,\"kmt.db\","; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 289;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; +Debug.ShouldStop(1); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from pedido_cliente")))); + BA.debugLineNum = 290;BA.debugLine="b.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 291;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(4); +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 292;BA.debugLine="b.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 293;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(16); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as TOTAL_VISITAR from kmt_info3 where gestion = 0")))); + BA.debugLineNum = 294;BA.debugLine="d.Position=0"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 295;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(64); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as POR_VISITAR from kmt_info3")))); + BA.debugLineNum = 296;BA.debugLine="e.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 297;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(256); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CAT_CL_RUTA from kmt_info3")))); + BA.debugLineNum = 298;BA.debugLine="f.Position=0"; +Debug.ShouldStop(512); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 299;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + BA.debugLineNum = 300;BA.debugLine="f.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 301;BA.debugLine="b_abordo.Left = (Root.Width / 2) - (b_abordo.Widt"; +Debug.ShouldStop(4096); +__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 302;BA.debugLine="p_principal.Width = Root.Width : p_principal.Heig"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 302;BA.debugLine="p_principal.Width = Root.Width : p_principal.Heig"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 310;BA.debugLine="If l_ruta.Text = 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 311;BA.debugLine="l_ruta.Text = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }else +{ BA.debugLineNum = 312;BA.debugLine="Else If l_ruta.Text > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 313;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select disti"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)")))); + BA.debugLineNum = 314;BA.debugLine="f.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 315;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + BA.debugLineNum = 316;BA.debugLine="f.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 319;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("VENTA")) || RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("ABORDO"))) { + BA.debugLineNum = 320;BA.debugLine="If l_ruta.Text <> \"0\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 321;BA.debugLine="Log(999 & \"|\" & l_ruta.Text & \"|\")"; +Debug.ShouldStop(1); +c_principal.__c.runVoidMethod ("LogImpl","03407925",RemoteObject.concat(RemoteObject.createImmutable(999),RemoteObject.createImmutable("|"),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 322;BA.debugLine="b_abordo.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + }else { + BA.debugLineNum = 325;BA.debugLine="b_abordo.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + BA.debugLineNum = 332;BA.debugLine="If Cuantos = 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 333;BA.debugLine="L_MONTOD.Text =0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 334;BA.debugLine="l_cuantosc.Text = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 335;BA.debugLine="l_cuantosn.Text = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 336;BA.debugLine="drop = 0"; +Debug.ShouldStop(32768); +__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 337;BA.debugLine="l_drop.Text = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 338;BA.debugLine="efectiva = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 339;BA.debugLine="l_efectiva.text =0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 340;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_VISITAR"))))); + BA.debugLineNum = 341;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))); + }else { + BA.debugLineNum = 343;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA from pedido_cliente ")))); + BA.debugLineNum = 344;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(distinct NV_CLIENTE) as CUANTOS from noventa")))); + BA.debugLineNum = 346;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 347;BA.debugLine="b.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 348;BA.debugLine="L_MONTOD.Text = NumberFormat2(c.GetDouble(\"MONTO"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("MONTO_DIA")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + BA.debugLineNum = 349;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA"))))); + BA.debugLineNum = 350;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 351;BA.debugLine="drop = c.GetString(\"MONTO_DIA\") / c.GetString(\"C"; +Debug.ShouldStop(1073741824); +__ref.setField ("_drop" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA"))))}, "/",0, 0)); + BA.debugLineNum = 352;BA.debugLine="l_drop.Text = Round2(drop,2)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(__ref.getField(true,"_drop" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 353;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; +Debug.ShouldStop(1); +__ref.setField ("_efectiva" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))),BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))}, "/",0, 0)); + BA.debugLineNum = 354;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_efectiva" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 355;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_VISITAR"))))); + BA.debugLineNum = 356;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))); + BA.debugLineNum = 357;BA.debugLine="b.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 358;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 360;BA.debugLine="d.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 361;BA.debugLine="e.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 362;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_principal._firebasemessaging.getObject())),(Object)(RemoteObject.createImmutable("SubscribeToTopics"))); + BA.debugLineNum = 364;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(2048); +_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(RS_RUTA) as cuenta, RS_RUTA FROM RUTA_SUPLENCIA"))));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 365;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(4096); +_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 366;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta"))),BA.NumberToString(0))) { + BA.debugLineNum = 367;BA.debugLine="Label22.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 368;BA.debugLine="l_rutasuplencia.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 369;BA.debugLine="Else If s.GetString(\"cuenta\") > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 370;BA.debugLine="Label22.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 371;BA.debugLine="l_rutasuplencia.Visible = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 372;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA"))))); + }} +; + BA.debugLineNum = 374;BA.debugLine="p_transparenteActualizacion.Width = Root.Width"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 375;BA.debugLine="p_transparenteActualizacion.Height = Root.Height"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 376;BA.debugLine="Subs.centraPanel(p_forzarActualizacion, p_transpa"; +Debug.ShouldStop(8388608); +c_principal._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_forzaractualizacion" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 378;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btn_ubicar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Btn_Ubicar_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3764); +if (RapidSub.canDelegate("btn_ubicar_click")) { return __ref.runUserSub(false, "c_principal","btn_ubicar_click", __ref);} + BA.debugLineNum = 3764;BA.debugLine="Sub Btn_Ubicar_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 3765;BA.debugLine="StartActivity(MAPA_RUTAS)"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_principal._mapa_rutas.getObject()))); + BA.debugLineNum = 3766;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _busca_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("BUSCA_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2950); +if (RapidSub.canDelegate("busca_click")) { return __ref.runUserSub(false, "c_principal","busca_click", __ref);} + BA.debugLineNum = 2950;BA.debugLine="Sub BUSCA_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 2951;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; +Debug.ShouldStop(64); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TicketsDia"))); + BA.debugLineNum = 2952;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _carga_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CARGA_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3293); +if (RapidSub.canDelegate("carga_click")) { return __ref.runUserSub(false, "c_principal","carga_click", __ref);} + BA.debugLineNum = 3293;BA.debugLine="Sub CARGA_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 3294;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + BA.debugLineNum = 3295;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cargar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("cargar_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,1138); +if (RapidSub.canDelegate("cargar_click")) { return __ref.runUserSub(false, "c_principal","cargar_click", __ref);} +RemoteObject _pedidodiaanterior = RemoteObject.createImmutable(false); +RemoteObject _cp = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fecha2 = null; +RemoteObject _fecha5 = null; +RemoteObject _dia = RemoteObject.createImmutable(""); +RemoteObject _mescom = RemoteObject.createImmutable(""); +RemoteObject _mescom2 = RemoteObject.createImmutable(""); +RemoteObject _diacom = RemoteObject.createImmutable(""); +RemoteObject _diacom2 = RemoteObject.createImmutable(""); +RemoteObject _dia2 = RemoteObject.createImmutable(""); +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _sup = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _i2 = RemoteObject.createImmutable(0); + BA.debugLineNum = 1138;BA.debugLine="Sub cargar_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1140;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +Debug.ShouldStop(524288); +_pedidodiaanterior = c_principal.__c.getField(true,"False");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);Debug.locals.put("pedidodiaanterior", _pedidodiaanterior); + BA.debugLineNum = 1141;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue"; +Debug.ShouldStop(1048576); +_cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cp = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from PEDIDO"))));Debug.locals.put("cp", _cp);Debug.locals.put("cp", _cp); + BA.debugLineNum = 1142;BA.debugLine="If cp.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_cp.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1143;BA.debugLine="cp.Position = 0"; +Debug.ShouldStop(4194304); +_cp.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1144;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA"; +Debug.ShouldStop(8388608); +c_principal._fecha = _cp.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")));__ref.setField("_fecha",c_principal._fecha); + BA.debugLineNum = 1145;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)"; +Debug.ShouldStop(16777216); +_fecha2 = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("/")),(Object)(__ref.getField(true,"_fecha" /*RemoteObject*/ )));Debug.locals.put("fecha2", _fecha2);Debug.locals.put("fecha2", _fecha2); + BA.debugLineNum = 1146;BA.debugLine="Dim fecha5() As String = Regex.Split(\"\\:\",fecha2"; +Debug.ShouldStop(33554432); +_fecha5 = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\:")),(Object)(_fecha2.getArrayElement(true,BA.numberCast(int.class, 2))));Debug.locals.put("fecha5", _fecha5);Debug.locals.put("fecha5", _fecha5); + BA.debugLineNum = 1147;BA.debugLine="Dim dia As String = fecha5(0).SubString2(0,4)&fe"; +Debug.ShouldStop(67108864); +_dia = RemoteObject.concat(_fecha5.getArrayElement(true,BA.numberCast(int.class, 0)).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 4))),_fecha2.getArrayElement(true,BA.numberCast(int.class, 0)),_fecha2.getArrayElement(true,BA.numberCast(int.class, 1)));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia); + BA.debugLineNum = 1148;BA.debugLine="Log(fecha5(0))"; +Debug.ShouldStop(134217728); +c_principal.__c.runVoidMethod ("LogImpl","03670026",_fecha5.getArrayElement(true,BA.numberCast(int.class, 0)),0); + BA.debugLineNum = 1149;BA.debugLine="Log(dia)"; +Debug.ShouldStop(268435456); +c_principal.__c.runVoidMethod ("LogImpl","03670027",_dia,0); + BA.debugLineNum = 1150;BA.debugLine="Dim mescom As String = DateTime.GetMonth(DateTim"; +Debug.ShouldStop(536870912); +_mescom = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("mescom", _mescom);Debug.locals.put("mescom", _mescom); + BA.debugLineNum = 1151;BA.debugLine="Dim mescom2 As String"; +Debug.ShouldStop(1073741824); +_mescom2 = RemoteObject.createImmutable("");Debug.locals.put("mescom2", _mescom2); + BA.debugLineNum = 1152;BA.debugLine="If mescom.Length = 1 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_mescom.runMethod(true,"length"),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1153;BA.debugLine="mescom2 = \"0\"&DateTime.GetMonth(DateTime.Now)"; +Debug.ShouldStop(1); +_mescom2 = RemoteObject.concat(RemoteObject.createImmutable("0"),c_principal.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("mescom2", _mescom2); + }else { + BA.debugLineNum = 1155;BA.debugLine="mescom2 = DateTime.GetMonth(DateTime.Now)"; +Debug.ShouldStop(4); +_mescom2 = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("mescom2", _mescom2); + }; + BA.debugLineNum = 1158;BA.debugLine="Dim diacom As String = DateTime.GetDayOfMonth(Da"; +Debug.ShouldStop(32); +_diacom = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("diacom", _diacom);Debug.locals.put("diacom", _diacom); + BA.debugLineNum = 1159;BA.debugLine="Log(DateTime.GetMonth(DateTime.Now))"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","03670037",BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))),0); + BA.debugLineNum = 1160;BA.debugLine="Dim diacom2 As String"; +Debug.ShouldStop(128); +_diacom2 = RemoteObject.createImmutable("");Debug.locals.put("diacom2", _diacom2); + BA.debugLineNum = 1161;BA.debugLine="If diacom.Length = 1 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_diacom.runMethod(true,"length"),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1162;BA.debugLine="diacom2 = \"0\"&DateTime.GetDayOfMonth(DateTime.N"; +Debug.ShouldStop(512); +_diacom2 = RemoteObject.concat(RemoteObject.createImmutable("0"),c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("diacom2", _diacom2); + }else { + BA.debugLineNum = 1164;BA.debugLine="diacom2 = DateTime.GetDayOfMonth(DateTime.Now)"; +Debug.ShouldStop(2048); +_diacom2 = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("diacom2", _diacom2); + }; + BA.debugLineNum = 1168;BA.debugLine="Dim dia2 As String = DateTime.GetYear(DateTime.N"; +Debug.ShouldStop(32768); +_dia2 = RemoteObject.concat(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetYear",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))),_mescom2,_diacom2);Debug.locals.put("dia2", _dia2);Debug.locals.put("dia2", _dia2); + BA.debugLineNum = 1169;BA.debugLine="Log(dia & \" , \" & dia2)"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","03670047",RemoteObject.concat(_dia,RemoteObject.createImmutable(" , "),_dia2),0); + BA.debugLineNum = 1170;BA.debugLine="Log(\"SI PASO\")"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("LogImpl","03670048",RemoteObject.createImmutable("SI PASO"),0); + BA.debugLineNum = 1171;BA.debugLine="If dia < dia2 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _dia),BA.numberCast(double.class, _dia2))) { + BA.debugLineNum = 1172;BA.debugLine="pedidodiaanterior = True"; +Debug.ShouldStop(524288); +_pedidodiaanterior = c_principal.__c.getField(true,"True");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior); + }; + }; + BA.debugLineNum = 1175;BA.debugLine="If Not (pedidodiaanterior) Then"; +Debug.ShouldStop(4194304); +if (c_principal.__c.runMethod(true,"Not",(Object)(_pedidodiaanterior)).get().booleanValue()) { + BA.debugLineNum = 1178;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e_ru"; +Debug.ShouldStop(33554432); +_i = BA.numberCast(int.class, c_principal.__c.getField(false,"Regex").runMethod(true,"Replace",(Object)(BA.ObjectToString("[^0-9.]")),(Object)(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(RemoteObject.createImmutable(""))));Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 1179;BA.debugLine="e_ruta.text = i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_i)); + BA.debugLineNum = 1181;BA.debugLine="Private sup As Cursor = Starter.skmt.ExecQuery(\""; +Debug.ShouldStop(268435456); +_sup = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_sup = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RS_RUTA FROM RUTA_SUPLENCIA"))));Debug.locals.put("sup", _sup);Debug.locals.put("sup", _sup); + BA.debugLineNum = 1182;BA.debugLine="If E_RUTA2.Visible = False And E_RUTA2.text = \"\""; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(">",_sup.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1183;BA.debugLine="sup.Position = 0"; +Debug.ShouldStop(1073741824); +_sup.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1184;BA.debugLine="E_RUTA2.text = sup.GetString(\"RS_RUTA\")"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_sup.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA"))))); + BA.debugLineNum = 1185;BA.debugLine="E_RUTA2.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + }; + BA.debugLineNum = 1188;BA.debugLine="If E_RUTA2.Visible = True Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { + BA.debugLineNum = 1189;BA.debugLine="Private i2 As Int = Regex.Replace(\"[^0-9.]\", E_"; +Debug.ShouldStop(16); +_i2 = BA.numberCast(int.class, c_principal.__c.getField(false,"Regex").runMethod(true,"Replace",(Object)(BA.ObjectToString("[^0-9.]")),(Object)(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(RemoteObject.createImmutable(""))));Debug.locals.put("i2", _i2);Debug.locals.put("i2", _i2); + BA.debugLineNum = 1190;BA.debugLine="E_RUTA2.text = i2"; +Debug.ShouldStop(32); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_i2)); + BA.debugLineNum = 1191;BA.debugLine="Rut_Rep = e_ruta.Text & \" \" & E_RUTA2.Text"; +Debug.ShouldStop(64); +__ref.setField ("_rut_rep" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(" "),__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"))); + }else { + BA.debugLineNum = 1193;BA.debugLine="Rut_Rep = e_ruta.Text"; +Debug.ShouldStop(256); +__ref.setField ("_rut_rep" /*RemoteObject*/ ,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")); + }; + BA.debugLineNum = 1195;BA.debugLine="Log(Rut_Rep)"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","03670073",__ref.getField(true,"_rut_rep" /*RemoteObject*/ ),0); + BA.debugLineNum = 1196;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + BA.debugLineNum = 1197;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")}))))); + BA.debugLineNum = 1198;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("pasword")}))))); + BA.debugLineNum = 1199;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))))); + BA.debugLineNum = 1200;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LATITUD")}))))); + BA.debugLineNum = 1201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("GEOCERCA")}))))); + BA.debugLineNum = 1202;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LONGITUD")}))))); + BA.debugLineNum = 1203;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + BA.debugLineNum = 1204;BA.debugLine="CARGA = \"CARGAR\""; +Debug.ShouldStop(524288); +__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("CARGAR")); + BA.debugLineNum = 1206;BA.debugLine="L_P_1.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1207;BA.debugLine="S_CC.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1208;BA.debugLine="Btn_Ubicar.Visible=False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1210;BA.debugLine="p_principal.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1211;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; +Debug.ShouldStop(67108864); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 1212;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; +Debug.ShouldStop(134217728); +c_principal._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 1213;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; +Debug.ShouldStop(268435456); +c_principal._subs.runVoidMethod ("_centrapanelv" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 1214;BA.debugLine="Label4.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_label4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1215;BA.debugLine="l_ruta.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1216;BA.debugLine="Label22.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1217;BA.debugLine="l_rutasuplencia.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1218;BA.debugLine="l_visitartotal.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_visitartotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1219;BA.debugLine="de.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_de" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1220;BA.debugLine="l_faltan.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1221;BA.debugLine="l_visitas.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1223;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(64); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1224;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(128); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1225;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(256); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1226;BA.debugLine="L_P_3.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1227;BA.debugLine="S_CH.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1228;BA.debugLine="PB1.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1229;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1231;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogo de Clientes")); + BA.debugLineNum = 1232;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_p_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogos de Productos")); + BA.debugLineNum = 1233;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogos Historicos")); + BA.debugLineNum = 1234;BA.debugLine="S_CC.Text = \"EN PROCESO\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 1235;BA.debugLine="S_CH.Text = \"EN PROCESO\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 1236;BA.debugLine="S_CP.Text = \"EN PROCESO\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 1237;BA.debugLine="PB1.Progress = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1238;BA.debugLine="PB2.Progress = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1239;BA.debugLine="EJECUTANDO = 1"; +Debug.ShouldStop(4194304); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1242;BA.debugLine="TOPE = 0"; +Debug.ShouldStop(33554432); +__ref.setField ("_tope" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1245;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info3"))); + BA.debugLineNum = 1246;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROMO_ESP"))); + BA.debugLineNum = 1247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1073741824); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result"))); + BA.debugLineNum = 1248;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from ABONOSP"))); + BA.debugLineNum = 1249;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest"))); + BA.debugLineNum = 1250;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 1251;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2"))); + BA.debugLineNum = 1252;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 1253;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos"))); + BA.debugLineNum = 1254;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 1255;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PROMOS"))); + BA.debugLineNum = 1256;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_CLIENTE_CANT_PROMOS"))); + BA.debugLineNum = 1257;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROMOS_COMP"))); + BA.debugLineNum = 1258;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VERIFICACION"))); + BA.debugLineNum = 1259;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_PROMOS_DESCUENTOS"))); + BA.debugLineNum = 1260;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM MARCAS_RUTAS"))); + BA.debugLineNum = 1261;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_STAY_STORE"))); + BA.debugLineNum = 1262;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GEOCERCA"))); + BA.debugLineNum = 1263;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_MARCAS_CUOTAS"))); + BA.debugLineNum = 1264;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_ENCUESTA_CLIENTE"))); + BA.debugLineNum = 1265;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM CAT_ENCUESTA_PREGUNTA"))); + BA.debugLineNum = 1266;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM CAT_CATCLIENTESTODOS"))); + BA.debugLineNum = 1267;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM hist_ventastodos"))); + BA.debugLineNum = 1269;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("HoraIngreso")})))); + BA.debugLineNum = 1270;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1271;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(4194304); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 1273;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HoraIngreso")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1274;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("HoraIngreso")}))))); + }else { + BA.debugLineNum = 1276;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_VALOR,CAT_VA_DESCRIPCION) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("HoraIngreso")}))))); + }; + BA.debugLineNum = 1278;BA.debugLine="c.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1279;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(1073741824); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1280;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 1281;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1282;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(2); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 1283;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1285;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(16); +c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate); +c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime); + BA.debugLineNum = 1286;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(32); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1287;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(64); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1288;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(128); +__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1289;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1290;BA.debugLine="cmd.Name = \"select_planLealtad_GUNA\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_planLealtad_GUNA")); + BA.debugLineNum = 1291;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1292;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("planLealtad")))); + BA.debugLineNum = 1294;BA.debugLine="Subs.guardaVariable(\"RUTA\", e_ruta.text)"; +Debug.ShouldStop(8192); +c_principal._subs.runVoidMethod ("_guardavariable" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("RUTA")),(Object)(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 1296;BA.debugLine="Dim P As PhoneId"; +Debug.ShouldStop(32768); +c_principal._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_p",c_principal._p); + BA.debugLineNum = 1297;BA.debugLine="imei = \"\""; +Debug.ShouldStop(65536); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 1298;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1299;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_GV2_3")); + BA.debugLineNum = 1300;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta."; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_sdate" /*RemoteObject*/ )),(__ref.getField(true,"_imei" /*RemoteObject*/ )),(__ref.getField(true,"_stime" /*RemoteObject*/ )),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("CARGA")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))})); + BA.debugLineNum = 1301;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop")))); + BA.debugLineNum = 1303;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1304;BA.debugLine="cmd.Name = \"select_TipoVenta\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_TipoVenta")); + BA.debugLineNum = 1305;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1306;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("tipoVenta")))); + BA.debugLineNum = 1308;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1309;BA.debugLine="cmd.Name = \"select_cat_GIRO_GUNA\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_GIRO_GUNA")); + BA.debugLineNum = 1310;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("giro")))); + BA.debugLineNum = 1312;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1313;BA.debugLine="cmd.Name = \"select_coments_GUNA\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coments_GUNA")); + BA.debugLineNum = 1314;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1315;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coments")))); + BA.debugLineNum = 1322;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1323;BA.debugLine="cmd.Name = \"traeFechaFotosGuna\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("traeFechaFotosGuna")); + BA.debugLineNum = 1324;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1325;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traeFechaFotosGuna")))); + BA.debugLineNum = 1327;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1328;BA.debugLine="cmd.Name = \"traecodigosGUNA\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("traecodigosGUNA")); + BA.debugLineNum = 1329;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1330;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traecodigos")))); + BA.debugLineNum = 1332;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1333;BA.debugLine="cmd.Name = \"select_objetivosbat_GUNA_VN\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_objetivosbat_GUNA_VN")); + BA.debugLineNum = 1334;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1335;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("objetivos")))); + BA.debugLineNum = 1338;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1339;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod_GV2")); + BA.debugLineNum = 1340;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1341;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 1343;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1344;BA.debugLine="cmd.Name = \"Select_promo_descuento_guna\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("Select_promo_descuento_guna")); + BA.debugLineNum = 1345;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1346;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("promodesp")))); + BA.debugLineNum = 1348;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1349;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\""; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod2_GV2")); + BA.debugLineNum = 1350;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1351;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod2")))); + BA.debugLineNum = 1353;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1354;BA.debugLine="cmd.Name = \"select_abonosp_GUNA_pre\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_abonosp_GUNA_pre")); + BA.debugLineNum = 1355;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1356;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("select_abonosp")))); + BA.debugLineNum = 1358;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1359;BA.debugLine="cmd.Name = \"select_HIST_ESPECIAL_GUNA\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_HIST_ESPECIAL_GUNA")); + BA.debugLineNum = 1361;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("histespecial")))); + BA.debugLineNum = 1368;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1369;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV6\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetes_GV6")); + BA.debugLineNum = 1370;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1371;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprodp")))); + BA.debugLineNum = 1373;BA.debugLine="If ALMACEN = 32 Then 'Or ALMACEN = 6"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(32))) { + BA.debugLineNum = 1375;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1376;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_promoesp_GUNA")); + BA.debugLineNum = 1377;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1378;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("promoesp")))); + }; + BA.debugLineNum = 1382;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(87)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { + BA.debugLineNum = 1384;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1385;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA2\""; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_promoesp_GUNA2")); + BA.debugLineNum = 1386;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1387;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("promoesp")))); + }; + BA.debugLineNum = 1391;BA.debugLine="If ALMACEN = 88 Or ALMACEN = 6 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(88)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { + BA.debugLineNum = 1393;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1394;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA3\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_promoesp_GUNA3")); + BA.debugLineNum = 1395;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1396;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("promoesp")))); + }; + BA.debugLineNum = 1400;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1401;BA.debugLine="cmd.Name = \"select_cat_paquetess_GV2\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetess_GV2")); + BA.debugLineNum = 1402;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1403;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprodp")))); + BA.debugLineNum = 1405;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1406;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_detallepa_GV2")); + BA.debugLineNum = 1407;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1408;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("detallepaq")))); + BA.debugLineNum = 1410;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1411;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '####"; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes2_guna_GV2")); + BA.debugLineNum = 1412;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1413;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1415;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1416;BA.debugLine="cmd.Name = \"select_preventa_futura\""; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_preventa_futura")); + BA.debugLineNum = 1417;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1418;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("KMT_VENTAFUTURA")))); + BA.debugLineNum = 1420;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1421;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_datos_GV2_3")); + BA.debugLineNum = 1422;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1423;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1425;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1426;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_promos_GV2")); + BA.debugLineNum = 1427;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1428;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_promos")))); + BA.debugLineNum = 1430;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1431;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_cliente_promos_GV2")); + BA.debugLineNum = 1432;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1433;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_cliente_promos")))); + BA.debugLineNum = 1435;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1436;BA.debugLine="cmd.Name = \"select_HIST_MARCAS_CUOTAS\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_HIST_MARCAS_CUOTAS")); + BA.debugLineNum = 1437;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1438;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("HIST_MARCAS_CUOTAS")))); + BA.debugLineNum = 1440;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1441;BA.debugLine="cmd.Name = \"select_cat_encuesta_p_GUNA\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_encuesta_p_GUNA")); + BA.debugLineNum = 1442;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1443;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("carga_encuesta")))); + BA.debugLineNum = 1445;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1446;BA.debugLine="cmd.Name = \"select_cat_clientes_guna_todos\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_guna_todos")); + BA.debugLineNum = 1447;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL"; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1448;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_CAT_CATCLIENTESTODOS")))); + BA.debugLineNum = 1450;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1451;BA.debugLine="cmd.Name = \"select_hist_ventastodos_guna\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_ventastodos_guna")); + BA.debugLineNum = 1452;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1453;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_ventastodos")))); + BA.debugLineNum = 1460;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1461;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("SELECT_HIST_PRODPROM_GUNA")); + BA.debugLineNum = 1462;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1463;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("HIST_PROM")))); + BA.debugLineNum = 1467;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1468;BA.debugLine="cmd.Name = \"selectPromo2265JulAgo_Guna\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectPromo2265JulAgo_Guna")); + BA.debugLineNum = 1469;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1470;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_pro2265")))); + BA.debugLineNum = 1477;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1478;BA.debugLine="cmd.Name = \"selectPromo3054Jul-Sep_Guna\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectPromo3054Jul-Sep_Guna")); + BA.debugLineNum = 1479;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1480;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_pro3054")))); + BA.debugLineNum = 1484;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1485;BA.debugLine="cmd.Name = \"selectPromo3055Jul-Sep_Guna\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectPromo3055Jul-Sep_Guna")); + BA.debugLineNum = 1486;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1487;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_pro3055")))); + BA.debugLineNum = 1490;BA.debugLine="If E_RUTA2.text <> \"\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 1491;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")}))))); + BA.debugLineNum = 1492;BA.debugLine="E_RUTA2.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1493;BA.debugLine="p_ruta2.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1494;BA.debugLine="p_somvra_2.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_somvra_2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1496;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1497;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '###"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes2_guna_GV2")); + BA.debugLineNum = 1498;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1499;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos2")))); + BA.debugLineNum = 1501;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1502;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_datos_GV2_3")); + BA.debugLineNum = 1503;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1504;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1506;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1507;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_promos_GV2")); + BA.debugLineNum = 1508;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1509;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_promos")))); + BA.debugLineNum = 1511;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1512;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\""; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_cliente_promos_GV2")); + BA.debugLineNum = 1513;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1514;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_cliente_promos")))); + BA.debugLineNum = 1516;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1517;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("SELECT_HIST_PRODPROM_GUNA")); + BA.debugLineNum = 1518;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,E_RUTA"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1519;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("HIST_PROM")))); + }; + BA.debugLineNum = 1522;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1523;BA.debugLine="cmd.Name = \"select_promo_comp_GV2\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_promo_comp_GV2")); + BA.debugLineNum = 1524;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1525;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_comp_promos")))); + BA.debugLineNum = 1527;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1528;BA.debugLine="cmd.Name = \"select_coordenadas_GUNA\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coordenadas_GUNA")); + BA.debugLineNum = 1529;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1530;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coordenadas")))); + BA.debugLineNum = 1532;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1533;BA.debugLine="cmd.Name = \"select_PASS_GUNA\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_PASS_GUNA")); + BA.debugLineNum = 1534;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1535;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(1073741824); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("password")))); + BA.debugLineNum = 1542;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1543;BA.debugLine="cmd.Name = \"select_fecha\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha")); + BA.debugLineNum = 1544;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1545;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("fecha")))); + BA.debugLineNum = 1552;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1553;BA.debugLine="cmd.Name = \"select_marcas_rutas\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_marcas_rutas")); + BA.debugLineNum = 1554;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1555;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("marcas_rutas")))); + BA.debugLineNum = 1557;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1558;BA.debugLine="cmd.Name = \"select_CUEST2_GV2\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_CUEST2_GV2")); + BA.debugLineNum = 1559;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1560;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("CUESTIONARIO")))); + BA.debugLineNum = 1573;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1574;BA.debugLine="cmd.Name = \"select_comis_cedex\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_comis_cedex")); + BA.debugLineNum = 1575;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta"; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1576;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("COMISIONES")))); + BA.debugLineNum = 1578;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1579;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1580;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1581;BA.debugLine="E_RUTA2.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1582;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias")),(Object)(c_principal.__c.getField(true,"True")));}; + }else { + BA.debugLineNum = 1585;BA.debugLine="Log(\"XXXX\")"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","03670463",RemoteObject.createImmutable("XXXX"),0); + BA.debugLineNum = 1586;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 1588;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checapedido(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("checaPedido (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3999); +if (RapidSub.canDelegate("checapedido")) { return __ref.runUserSub(false, "c_principal","checapedido", __ref);} +RemoteObject _coord = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _cor = 0; + BA.debugLineNum = 3999;BA.debugLine="Sub checaPedido"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 4000;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +Debug.ShouldStop(-2147483648); +c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE"))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 4001;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 4002;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; +Debug.ShouldStop(2); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)"))); + }; + BA.debugLineNum = 4004;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +Debug.ShouldStop(8); +c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE FROM NOVENTA"))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 4005;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 4006;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; +Debug.ShouldStop(32); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA)"))); + }; + BA.debugLineNum = 4009;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_ID IN (SELECT CAT_PD_PRODUCTO FROM CAT_PROMOS_DESCUENTOS) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("PRIORITARIO"))}))))); + BA.debugLineNum = 4012;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(2048); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ATIENDE"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 4013;BA.debugLine="If coord.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 4014;BA.debugLine="For cor = 0 To coord.RowCount -1"; +Debug.ShouldStop(8192); +{ +final int step12 = 1; +final int limit12 = RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_cor = 0 ; +for (;(step12 > 0 && _cor <= limit12) || (step12 < 0 && _cor >= limit12) ;_cor = ((int)(0 + _cor + step12)) ) { +Debug.locals.put("cor", _cor); + BA.debugLineNum = 4015;BA.debugLine="coord.Position = cor"; +Debug.ShouldStop(16384); +_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor)); + BA.debugLineNum = 4016;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = ? where CAT_CL_CODIGO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ATIENDE")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))}))))); + } +}Debug.locals.put("cor", _cor); +; + }; + BA.debugLineNum = 4020;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(524288); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM TELEFONO"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 4021;BA.debugLine="If coord.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 4022;BA.debugLine="For cor = 0 To coord.RowCount -1"; +Debug.ShouldStop(2097152); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_cor = 0 ; +for (;(step19 > 0 && _cor <= limit19) || (step19 < 0 && _cor >= limit19) ;_cor = ((int)(0 + _cor + step19)) ) { +Debug.locals.put("cor", _cor); + BA.debugLineNum = 4023;BA.debugLine="coord.Position = cor"; +Debug.ShouldStop(4194304); +_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor)); + BA.debugLineNum = 4024;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 set CAT_CL_TELEFONO = ? where CAT_CL_CODIGO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TELEFONO")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))}))))); + } +}Debug.locals.put("cor", _cor); +; + }; + BA.debugLineNum = 4028;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_principal._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_principal._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_principal._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_principal._xui); + //BA.debugLineNum = 4;BA.debugLine="Dim conectado As String"; +c_principal._conectado = RemoteObject.createImmutable("");__ref.setField("_conectado",c_principal._conectado); + //BA.debugLineNum = 5;BA.debugLine="Dim t1, t2 As Timer"; +c_principal._t1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t1",c_principal._t1); +c_principal._t2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t2",c_principal._t2); + //BA.debugLineNum = 6;BA.debugLine="Dim sb As StringBuilder"; +c_principal._sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");__ref.setField("_sb",c_principal._sb); + //BA.debugLineNum = 7;BA.debugLine="Dim PHONE As Phone"; +c_principal._phone = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phone",c_principal._phone); + //BA.debugLineNum = 8;BA.debugLine="Dim g As GPS"; +c_principal._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_principal._g); + //BA.debugLineNum = 9;BA.debugLine="Dim trabajar As Button"; +c_principal._trabajar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_trabajar",c_principal._trabajar); + //BA.debugLineNum = 11;BA.debugLine="Dim c As Cursor"; +c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_principal._c); + //BA.debugLineNum = 12;BA.debugLine="Dim d As Cursor"; +c_principal._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_principal._d); + //BA.debugLineNum = 13;BA.debugLine="Dim b As Cursor"; +c_principal._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_principal._b); + //BA.debugLineNum = 14;BA.debugLine="Dim e As Cursor"; +c_principal._e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_e",c_principal._e); + //BA.debugLineNum = 15;BA.debugLine="Dim f As Cursor"; +c_principal._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_principal._f); + //BA.debugLineNum = 16;BA.debugLine="Dim ro As Cursor"; +c_principal._ro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_ro",c_principal._ro); + //BA.debugLineNum = 17;BA.debugLine="Dim D2 As Cursor"; +c_principal._d2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d2",c_principal._d2); + //BA.debugLineNum = 18;BA.debugLine="Dim lv As ListView"; +c_principal._lv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv",c_principal._lv); + //BA.debugLineNum = 19;BA.debugLine="Dim cargar As Button"; +c_principal._cargar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cargar",c_principal._cargar); + //BA.debugLineNum = 20;BA.debugLine="Dim pendiente As Button"; +c_principal._pendiente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pendiente",c_principal._pendiente); + //BA.debugLineNum = 21;BA.debugLine="Dim foto1() As Byte"; +c_principal._foto1 = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_foto1",c_principal._foto1); + //BA.debugLineNum = 22;BA.debugLine="Dim usuario As String"; +c_principal._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_principal._usuario); + //BA.debugLineNum = 23;BA.debugLine="Dim connecta As Button"; +c_principal._connecta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_connecta",c_principal._connecta); + //BA.debugLineNum = 24;BA.debugLine="Dim conn As String"; +c_principal._conn = RemoteObject.createImmutable("");__ref.setField("_conn",c_principal._conn); + //BA.debugLineNum = 25;BA.debugLine="Dim Subir As Button"; +c_principal._subir = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_subir",c_principal._subir); + //BA.debugLineNum = 26;BA.debugLine="Dim cmd As DBCommand"; +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + //BA.debugLineNum = 27;BA.debugLine="Dim TOPE As Int"; +c_principal._tope = RemoteObject.createImmutable(0);__ref.setField("_tope",c_principal._tope); + //BA.debugLineNum = 28;BA.debugLine="Dim COUNT_CLIE As Int"; +c_principal._count_clie = RemoteObject.createImmutable(0);__ref.setField("_count_clie",c_principal._count_clie); + //BA.debugLineNum = 29;BA.debugLine="Dim fecha As String"; +c_principal._fecha = RemoteObject.createImmutable("");__ref.setField("_fecha",c_principal._fecha); + //BA.debugLineNum = 30;BA.debugLine="Dim drop As Double"; +c_principal._drop = RemoteObject.createImmutable(0);__ref.setField("_drop",c_principal._drop); + //BA.debugLineNum = 31;BA.debugLine="Dim efectiva As Double"; +c_principal._efectiva = RemoteObject.createImmutable(0);__ref.setField("_efectiva",c_principal._efectiva); + //BA.debugLineNum = 33;BA.debugLine="Dim L_MONTOD As Label"; +c_principal._l_montod = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montod",c_principal._l_montod); + //BA.debugLineNum = 34;BA.debugLine="Dim l_cuantosc As Label"; +c_principal._l_cuantosc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuantosc",c_principal._l_cuantosc); + //BA.debugLineNum = 35;BA.debugLine="Dim l_drop As Label"; +c_principal._l_drop = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_drop",c_principal._l_drop); + //BA.debugLineNum = 36;BA.debugLine="Dim l_efectiva As Label"; +c_principal._l_efectiva = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efectiva",c_principal._l_efectiva); + //BA.debugLineNum = 37;BA.debugLine="Dim l_ctast As Label"; +c_principal._l_ctast = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ctast",c_principal._l_ctast); + //BA.debugLineNum = 38;BA.debugLine="Dim BUSCA As Button"; +c_principal._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_busca",c_principal._busca); + //BA.debugLineNum = 39;BA.debugLine="Dim Cuantos As String"; +c_principal._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_principal._cuantos); + //BA.debugLineNum = 40;BA.debugLine="Dim l_cuantosn As Label"; +c_principal._l_cuantosn = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuantosn",c_principal._l_cuantosn); + //BA.debugLineNum = 41;BA.debugLine="Dim e_ruta As EditText"; +c_principal._e_ruta = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_ruta",c_principal._e_ruta); + //BA.debugLineNum = 42;BA.debugLine="Dim Rut_Rep As String"; +c_principal._rut_rep = RemoteObject.createImmutable("");__ref.setField("_rut_rep",c_principal._rut_rep); + //BA.debugLineNum = 43;BA.debugLine="Dim l_porvisitar As Label"; +c_principal._l_porvisitar = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_porvisitar",c_principal._l_porvisitar); + //BA.debugLineNum = 44;BA.debugLine="Dim b_mapa As Button"; +c_principal._b_mapa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_mapa",c_principal._b_mapa); + //BA.debugLineNum = 45;BA.debugLine="Dim l_ruta As Label"; +c_principal._l_ruta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ruta",c_principal._l_ruta); + //BA.debugLineNum = 46;BA.debugLine="Dim ALMACEN As String"; +c_principal._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_principal._almacen); + //BA.debugLineNum = 47;BA.debugLine="Private img2 As ImageView"; +c_principal._img2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img2",c_principal._img2); + //BA.debugLineNum = 48;BA.debugLine="Dim Listo1 As String"; +c_principal._listo1 = RemoteObject.createImmutable("");__ref.setField("_listo1",c_principal._listo1); + //BA.debugLineNum = 49;BA.debugLine="Dim Listo2 As String"; +c_principal._listo2 = RemoteObject.createImmutable("");__ref.setField("_listo2",c_principal._listo2); + //BA.debugLineNum = 50;BA.debugLine="Dim Listo3 As String"; +c_principal._listo3 = RemoteObject.createImmutable("");__ref.setField("_listo3",c_principal._listo3); + //BA.debugLineNum = 51;BA.debugLine="Dim Listo4 As String"; +c_principal._listo4 = RemoteObject.createImmutable("");__ref.setField("_listo4",c_principal._listo4); + //BA.debugLineNum = 52;BA.debugLine="Dim Listo5 As String"; +c_principal._listo5 = RemoteObject.createImmutable("");__ref.setField("_listo5",c_principal._listo5); + //BA.debugLineNum = 53;BA.debugLine="Dim EJECUTANDO As String"; +c_principal._ejecutando = RemoteObject.createImmutable("");__ref.setField("_ejecutando",c_principal._ejecutando); + //BA.debugLineNum = 54;BA.debugLine="Dim RES As String"; +c_principal._res = RemoteObject.createImmutable("");__ref.setField("_res",c_principal._res); + //BA.debugLineNum = 55;BA.debugLine="Dim inve As String"; +c_principal._inve = RemoteObject.createImmutable("");__ref.setField("_inve",c_principal._inve); + //BA.debugLineNum = 56;BA.debugLine="Dim cuantos_pedidosc As String"; +c_principal._cuantos_pedidosc = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedidosc",c_principal._cuantos_pedidosc); + //BA.debugLineNum = 57;BA.debugLine="Dim cuantos_pedido As String"; +c_principal._cuantos_pedido = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedido",c_principal._cuantos_pedido); + //BA.debugLineNum = 58;BA.debugLine="Dim cuantos_noventa As String"; +c_principal._cuantos_noventa = RemoteObject.createImmutable("");__ref.setField("_cuantos_noventa",c_principal._cuantos_noventa); + //BA.debugLineNum = 59;BA.debugLine="Dim datos_iguales As String"; +c_principal._datos_iguales = RemoteObject.createImmutable("");__ref.setField("_datos_iguales",c_principal._datos_iguales); + //BA.debugLineNum = 60;BA.debugLine="Dim p As PhoneId"; +c_principal._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_p",c_principal._p); + //BA.debugLineNum = 61;BA.debugLine="Dim imei As String"; +c_principal._imei = RemoteObject.createImmutable("");__ref.setField("_imei",c_principal._imei); + //BA.debugLineNum = 65;BA.debugLine="Private inv As Button"; +c_principal._inv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_inv",c_principal._inv); + //BA.debugLineNum = 66;BA.debugLine="Private P1 As Panel"; +c_principal._p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p1",c_principal._p1); + //BA.debugLineNum = 67;BA.debugLine="Private CLAVE As EditText"; +c_principal._clave = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_clave",c_principal._clave); + //BA.debugLineNum = 68;BA.debugLine="Private B_OK_PAS As Button"; +c_principal._b_ok_pas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_pas",c_principal._b_ok_pas); + //BA.debugLineNum = 69;BA.debugLine="Dim PASO As String"; +c_principal._paso = RemoteObject.createImmutable("");__ref.setField("_paso",c_principal._paso); + //BA.debugLineNum = 70;BA.debugLine="Private USUARIO1 As EditText"; +c_principal._usuario1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_usuario1",c_principal._usuario1); + //BA.debugLineNum = 71;BA.debugLine="Dim connecta1 As Double"; +c_principal._connecta1 = RemoteObject.createImmutable(0);__ref.setField("_connecta1",c_principal._connecta1); + //BA.debugLineNum = 72;BA.debugLine="Dim armafolio As String"; +c_principal._armafolio = RemoteObject.createImmutable("");__ref.setField("_armafolio",c_principal._armafolio); + //BA.debugLineNum = 73;BA.debugLine="Private NUEVO As Button"; +c_principal._nuevo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nuevo",c_principal._nuevo); + //BA.debugLineNum = 74;BA.debugLine="Private S_CC As Label"; +c_principal._s_cc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_cc",c_principal._s_cc); + //BA.debugLineNum = 75;BA.debugLine="Private S_CP As Label"; +c_principal._s_cp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_cp",c_principal._s_cp); + //BA.debugLineNum = 76;BA.debugLine="Private S_CH As Label"; +c_principal._s_ch = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_ch",c_principal._s_ch); + //BA.debugLineNum = 77;BA.debugLine="Private PB2 As ProgressBar"; +c_principal._pb2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pb2",c_principal._pb2); + //BA.debugLineNum = 78;BA.debugLine="Private PB1 As ProgressBar"; +c_principal._pb1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pb1",c_principal._pb1); + //BA.debugLineNum = 79;BA.debugLine="Private L_P_1 As Label"; +c_principal._l_p_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_1",c_principal._l_p_1); + //BA.debugLineNum = 80;BA.debugLine="Private L_P_2 As Label"; +c_principal._l_p_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_2",c_principal._l_p_2); + //BA.debugLineNum = 81;BA.debugLine="Private L_P_3 As Label"; +c_principal._l_p_3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_3",c_principal._l_p_3); + //BA.debugLineNum = 82;BA.debugLine="Private CARGA As String"; +c_principal._carga = RemoteObject.createImmutable("");__ref.setField("_carga",c_principal._carga); + //BA.debugLineNum = 83;BA.debugLine="Private PORCENTAJE As String"; +c_principal._porcentaje = RemoteObject.createImmutable("");__ref.setField("_porcentaje",c_principal._porcentaje); + //BA.debugLineNum = 84;BA.debugLine="Private P_RESUMEN As Panel"; +c_principal._p_resumen = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_resumen",c_principal._p_resumen); + //BA.debugLineNum = 85;BA.debugLine="Private B_OK_RES As Button"; +c_principal._b_ok_res = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_res",c_principal._b_ok_res); + //BA.debugLineNum = 86;BA.debugLine="Private Resumen As Button"; +c_principal._resumen = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_resumen",c_principal._resumen); + //BA.debugLineNum = 87;BA.debugLine="Private L_CUANTOST As Label"; +c_principal._l_cuantost = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuantost",c_principal._l_cuantost); + //BA.debugLineNum = 88;BA.debugLine="Private img3 As ImageView"; +c_principal._img3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img3",c_principal._img3); + //BA.debugLineNum = 90;BA.debugLine="Private ImageView3 As ImageView"; +c_principal._imageview3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview3",c_principal._imageview3); + //BA.debugLineNum = 91;BA.debugLine="Private ImageView5 As ImageView"; +c_principal._imageview5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview5",c_principal._imageview5); + //BA.debugLineNum = 92;BA.debugLine="Private L_TICKPROM As Label"; +c_principal._l_tickprom = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tickprom",c_principal._l_tickprom); + //BA.debugLineNum = 93;BA.debugLine="Private L_MARCAS As ListView"; +c_principal._l_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_l_marcas",c_principal._l_marcas); + //BA.debugLineNum = 94;BA.debugLine="Private p_ruta2 As Panel"; +c_principal._p_ruta2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ruta2",c_principal._p_ruta2); + //BA.debugLineNum = 95;BA.debugLine="Private E_RUTA2 As EditText"; +c_principal._e_ruta2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_ruta2",c_principal._e_ruta2); + //BA.debugLineNum = 96;BA.debugLine="Private resdia As ImageView"; +c_principal._resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_resdia",c_principal._resdia); + //BA.debugLineNum = 97;BA.debugLine="Private hacer_ped As ImageView"; +c_principal._hacer_ped = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_hacer_ped",c_principal._hacer_ped); + //BA.debugLineNum = 98;BA.debugLine="Private nvo_cliente As ImageView"; +c_principal._nvo_cliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_nvo_cliente",c_principal._nvo_cliente); + //BA.debugLineNum = 99;BA.debugLine="Private tickets_dia As ImageView"; +c_principal._tickets_dia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_tickets_dia",c_principal._tickets_dia); + //BA.debugLineNum = 101;BA.debugLine="Private l_monto_ks As Label"; +c_principal._l_monto_ks = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_ks",c_principal._l_monto_ks); + //BA.debugLineNum = 102;BA.debugLine="Private l_monto_kp As Label"; +c_principal._l_monto_kp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_kp",c_principal._l_monto_kp); + //BA.debugLineNum = 103;BA.debugLine="Private l_monto_k As Label"; +c_principal._l_monto_k = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_k",c_principal._l_monto_k); + //BA.debugLineNum = 105;BA.debugLine="Private l_monto_c1 As Label"; +c_principal._l_monto_c1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c1",c_principal._l_monto_c1); + //BA.debugLineNum = 106;BA.debugLine="Private l_monto_c2 As Label"; +c_principal._l_monto_c2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c2",c_principal._l_monto_c2); + //BA.debugLineNum = 107;BA.debugLine="Private l_monto_c3 As Label"; +c_principal._l_monto_c3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c3",c_principal._l_monto_c3); + //BA.debugLineNum = 109;BA.debugLine="Private l_encuesta As Label"; +c_principal._l_encuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_encuesta",c_principal._l_encuesta); + //BA.debugLineNum = 112;BA.debugLine="Private bpv1 As BatteryProgressView"; +c_principal._bpv1 = RemoteObject.createNew ("batteryprogressviewwrapper.batteryprogressviewWrapper");__ref.setField("_bpv1",c_principal._bpv1); + //BA.debugLineNum = 113;BA.debugLine="Dim batterystatus(11) As Int"; +c_principal._batterystatus = RemoteObject.createNewArray ("int", new int[] {11}, new Object[]{});__ref.setField("_batterystatus",c_principal._batterystatus); + //BA.debugLineNum = 114;BA.debugLine="Private bu As BatteryUtilities"; +c_principal._bu = RemoteObject.createNew ("gunav2.keymon.com.mx.batteryutilities");__ref.setField("_bu",c_principal._bu); + //BA.debugLineNum = 117;BA.debugLine="Private Panel4 As Panel"; +c_principal._panel4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel4",c_principal._panel4); + //BA.debugLineNum = 118;BA.debugLine="Private L_NES As Label"; +c_principal._l_nes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_nes",c_principal._l_nes); + //BA.debugLineNum = 119;BA.debugLine="Private L_REAL As Label"; +c_principal._l_real = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_real",c_principal._l_real); + //BA.debugLineNum = 120;BA.debugLine="Private L_ALCANCE As Label"; +c_principal._l_alcance = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_alcance",c_principal._l_alcance); + //BA.debugLineNum = 121;BA.debugLine="Private L_VPLAN As Label"; +c_principal._l_vplan = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vplan",c_principal._l_vplan); + //BA.debugLineNum = 122;BA.debugLine="Private L_VREAL As Label"; +c_principal._l_vreal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vreal",c_principal._l_vreal); + //BA.debugLineNum = 123;BA.debugLine="Private L_EFEC_VIS As Label"; +c_principal._l_efec_vis = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_vis",c_principal._l_efec_vis); + //BA.debugLineNum = 124;BA.debugLine="Private L_VISITCC As Label"; +c_principal._l_visitcc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visitcc",c_principal._l_visitcc); + //BA.debugLineNum = 125;BA.debugLine="Private L_EFEC_PV As Label"; +c_principal._l_efec_pv = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_pv",c_principal._l_efec_pv); + //BA.debugLineNum = 126;BA.debugLine="Private L_EFEC_PURA As Label"; +c_principal._l_efec_pura = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_pura",c_principal._l_efec_pura); + //BA.debugLineNum = 127;BA.debugLine="Private L_CTE_PROMO As Label"; +c_principal._l_cte_promo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cte_promo",c_principal._l_cte_promo); + //BA.debugLineNum = 128;BA.debugLine="Private L_REDEN_PROMO As Label"; +c_principal._l_reden_promo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_reden_promo",c_principal._l_reden_promo); + //BA.debugLineNum = 129;BA.debugLine="Private L_LIN_TICK As Label"; +c_principal._l_lin_tick = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_lin_tick",c_principal._l_lin_tick); + //BA.debugLineNum = 130;BA.debugLine="Private SCROLL_RESDIA As ScrollView"; +c_principal._scroll_resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");__ref.setField("_scroll_resdia",c_principal._scroll_resdia); + //BA.debugLineNum = 131;BA.debugLine="Private L_ACUMULADO As Label"; +c_principal._l_acumulado = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_acumulado",c_principal._l_acumulado); + //BA.debugLineNum = 132;BA.debugLine="Private L_UNILEVER As Label"; +c_principal._l_unilever = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_unilever",c_principal._l_unilever); + //BA.debugLineNum = 133;BA.debugLine="Private L_RECHAZOP As Label"; +c_principal._l_rechazop = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rechazop",c_principal._l_rechazop); + //BA.debugLineNum = 134;BA.debugLine="Private L_RECHAZOM As Label"; +c_principal._l_rechazom = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rechazom",c_principal._l_rechazom); + //BA.debugLineNum = 135;BA.debugLine="Private L_VTA_3MES As Label"; +c_principal._l_vta_3mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_3mes",c_principal._l_vta_3mes); + //BA.debugLineNum = 136;BA.debugLine="Private L_VTA_2MES As Label"; +c_principal._l_vta_2mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_2mes",c_principal._l_vta_2mes); + //BA.debugLineNum = 137;BA.debugLine="Private L_VTA_1MES As Label"; +c_principal._l_vta_1mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_1mes",c_principal._l_vta_1mes); + //BA.debugLineNum = 138;BA.debugLine="Private L_MES_PY As Label"; +c_principal._l_mes_py = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_mes_py",c_principal._l_mes_py); + //BA.debugLineNum = 139;BA.debugLine="Private L_FREC_DE_CREAL As Label"; +c_principal._l_frec_de_creal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_frec_de_creal",c_principal._l_frec_de_creal); + //BA.debugLineNum = 140;BA.debugLine="Private L_FREC_DE_COBJ As Label"; +c_principal._l_frec_de_cobj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_frec_de_cobj",c_principal._l_frec_de_cobj); + //BA.debugLineNum = 141;BA.debugLine="Private L_COB_VISIT As Label"; +c_principal._l_cob_visit = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cob_visit",c_principal._l_cob_visit); + //BA.debugLineNum = 142;BA.debugLine="Private L_VISIT_REAL As Label"; +c_principal._l_visit_real = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visit_real",c_principal._l_visit_real); + //BA.debugLineNum = 143;BA.debugLine="Private L_VISIT_PLAN As Label"; +c_principal._l_visit_plan = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visit_plan",c_principal._l_visit_plan); + //BA.debugLineNum = 144;BA.debugLine="Private L_ECO As Label"; +c_principal._l_eco = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_eco",c_principal._l_eco); + //BA.debugLineNum = 145;BA.debugLine="Private L_COB_CCC As Label"; +c_principal._l_cob_ccc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cob_ccc",c_principal._l_cob_ccc); + //BA.debugLineNum = 146;BA.debugLine="Private L_CTES As Label"; +c_principal._l_ctes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ctes",c_principal._l_ctes); + //BA.debugLineNum = 147;BA.debugLine="Private L_VPO_VTA As Label"; +c_principal._l_vpo_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vpo_vta",c_principal._l_vpo_vta); + //BA.debugLineNum = 148;BA.debugLine="Private L_VPO_OBJ As Label"; +c_principal._l_vpo_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vpo_obj",c_principal._l_vpo_obj); + //BA.debugLineNum = 149;BA.debugLine="Private L_DS_VTA As Label"; +c_principal._l_ds_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_vta",c_principal._l_ds_vta); + //BA.debugLineNum = 150;BA.debugLine="Private L_DS_OBJ As Label"; +c_principal._l_ds_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_obj",c_principal._l_ds_obj); + //BA.debugLineNum = 151;BA.debugLine="Private L_DRA_VTA As Label"; +c_principal._l_dra_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_dra_vta",c_principal._l_dra_vta); + //BA.debugLineNum = 152;BA.debugLine="Private L_DRA_OBJ As Label"; +c_principal._l_dra_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_dra_obj",c_principal._l_dra_obj); + //BA.debugLineNum = 153;BA.debugLine="Private L_ALCANCEM As Label"; +c_principal._l_alcancem = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_alcancem",c_principal._l_alcancem); + //BA.debugLineNum = 154;BA.debugLine="Private L_TENDENCIA As Label"; +c_principal._l_tendencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tendencia",c_principal._l_tendencia); + //BA.debugLineNum = 155;BA.debugLine="Private L_VTA_ACUM As Label"; +c_principal._l_vta_acum = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_acum",c_principal._l_vta_acum); + //BA.debugLineNum = 156;BA.debugLine="Private L_OBJ_MES As Label"; +c_principal._l_obj_mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_obj_mes",c_principal._l_obj_mes); + //BA.debugLineNum = 157;BA.debugLine="Private L_DS_OBJD As Label"; +c_principal._l_ds_objd = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_objd",c_principal._l_ds_objd); + //BA.debugLineNum = 158;BA.debugLine="Private L_DS_VTAD As Label"; +c_principal._l_ds_vtad = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_vtad",c_principal._l_ds_vtad); + //BA.debugLineNum = 159;BA.debugLine="Private LPT As String"; +c_principal._lpt = RemoteObject.createImmutable("");__ref.setField("_lpt",c_principal._lpt); + //BA.debugLineNum = 160;BA.debugLine="Private STEYIN As String"; +c_principal._steyin = RemoteObject.createImmutable("");__ref.setField("_steyin",c_principal._steyin); + //BA.debugLineNum = 161;BA.debugLine="Private STEYOUT As String"; +c_principal._steyout = RemoteObject.createImmutable("");__ref.setField("_steyout",c_principal._steyout); + //BA.debugLineNum = 163;BA.debugLine="Private L_PRIO As Label"; +c_principal._l_prio = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prio",c_principal._l_prio); + //BA.debugLineNum = 164;BA.debugLine="Private L_SECUND As Label"; +c_principal._l_secund = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_secund",c_principal._l_secund); + //BA.debugLineNum = 165;BA.debugLine="Private L_COMP As Label"; +c_principal._l_comp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_comp",c_principal._l_comp); + //BA.debugLineNum = 168;BA.debugLine="Private stay_hh As String"; +c_principal._stay_hh = RemoteObject.createImmutable("");__ref.setField("_stay_hh",c_principal._stay_hh); + //BA.debugLineNum = 169;BA.debugLine="Private stay_mi As String"; +c_principal._stay_mi = RemoteObject.createImmutable("");__ref.setField("_stay_mi",c_principal._stay_mi); + //BA.debugLineNum = 170;BA.debugLine="Private stay_ss As String"; +c_principal._stay_ss = RemoteObject.createImmutable("");__ref.setField("_stay_ss",c_principal._stay_ss); + //BA.debugLineNum = 172;BA.debugLine="Dim sDate,sTime As String"; +c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate); +c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime); + //BA.debugLineNum = 173;BA.debugLine="Dim HORAINGRESO As String"; +c_principal._horaingreso = RemoteObject.createImmutable("");__ref.setField("_horaingreso",c_principal._horaingreso); + //BA.debugLineNum = 175;BA.debugLine="Private L_QUALA As Label"; +c_principal._l_quala = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_quala",c_principal._l_quala); + //BA.debugLineNum = 176;BA.debugLine="Private L_FERRERO As Label"; +c_principal._l_ferrero = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ferrero",c_principal._l_ferrero); + //BA.debugLineNum = 177;BA.debugLine="Private L_SANMARCOS As Label"; +c_principal._l_sanmarcos = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_sanmarcos",c_principal._l_sanmarcos); + //BA.debugLineNum = 178;BA.debugLine="Private L_CAMPARI As Label"; +c_principal._l_campari = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_campari",c_principal._l_campari); + //BA.debugLineNum = 179;BA.debugLine="Private L_IBERIA As Label"; +c_principal._l_iberia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_iberia",c_principal._l_iberia); + //BA.debugLineNum = 180;BA.debugLine="Private L_BEPENSA As Label"; +c_principal._l_bepensa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_bepensa",c_principal._l_bepensa); + //BA.debugLineNum = 181;BA.debugLine="Private L_SCJ As Label"; +c_principal._l_scj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_scj",c_principal._l_scj); + //BA.debugLineNum = 182;BA.debugLine="Private L_MEDJ As Label"; +c_principal._l_medj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_medj",c_principal._l_medj); + //BA.debugLineNum = 183;BA.debugLine="Private L_DURACELL As Label"; +c_principal._l_duracell = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_duracell",c_principal._l_duracell); + //BA.debugLineNum = 184;BA.debugLine="Private L_GUNA As Label"; +c_principal._l_guna = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_guna",c_principal._l_guna); + //BA.debugLineNum = 185;BA.debugLine="Private L_KIMB As Label"; +c_principal._l_kimb = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_kimb",c_principal._l_kimb); + //BA.debugLineNum = 186;BA.debugLine="Private L_TRESM As Label"; +c_principal._l_tresm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tresm",c_principal._l_tresm); + //BA.debugLineNum = 187;BA.debugLine="Private L_REDB As Label"; +c_principal._l_redb = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_redb",c_principal._l_redb); + //BA.debugLineNum = 188;BA.debugLine="Private Btn_Ubicar As Button"; +c_principal._btn_ubicar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btn_ubicar",c_principal._btn_ubicar); + //BA.debugLineNum = 189;BA.debugLine="Private B_COMM As Button"; +c_principal._b_comm = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_comm",c_principal._b_comm); + //BA.debugLineNum = 190;BA.debugLine="Private L_TOTAL_MM As Label"; +c_principal._l_total_mm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_mm",c_principal._l_total_mm); + //BA.debugLineNum = 191;BA.debugLine="Private L_TOTAL_VIVE As Label"; +c_principal._l_total_vive = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_vive",c_principal._l_total_vive); + //BA.debugLineNum = 192;BA.debugLine="Private L_TOTAL_GUNA As Label"; +c_principal._l_total_guna = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_guna",c_principal._l_total_guna); + //BA.debugLineNum = 193;BA.debugLine="Private L_TOTAL_BA As Label"; +c_principal._l_total_ba = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_ba",c_principal._l_total_ba); + //BA.debugLineNum = 194;BA.debugLine="Private L_TOTAL_COMIS As Label"; +c_principal._l_total_comis = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_comis",c_principal._l_total_comis); + //BA.debugLineNum = 195;BA.debugLine="Private L_TOTAL_MM_1 As Label"; +c_principal._l_total_mm_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_mm_1",c_principal._l_total_mm_1); + //BA.debugLineNum = 196;BA.debugLine="Private L_TOTAL_VIVE_1 As Label"; +c_principal._l_total_vive_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_vive_1",c_principal._l_total_vive_1); + //BA.debugLineNum = 197;BA.debugLine="Private L_TOTAL_GUNA_1 As Label"; +c_principal._l_total_guna_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_guna_1",c_principal._l_total_guna_1); + //BA.debugLineNum = 198;BA.debugLine="Private L_TOTAL_BA_1 As Label"; +c_principal._l_total_ba_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_ba_1",c_principal._l_total_ba_1); + //BA.debugLineNum = 199;BA.debugLine="Private L_TOTAL_COMIS_1 As Label"; +c_principal._l_total_comis_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_comis_1",c_principal._l_total_comis_1); + //BA.debugLineNum = 200;BA.debugLine="Private B_OK_COMISS As Button"; +c_principal._b_ok_comiss = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_comiss",c_principal._b_ok_comiss); + //BA.debugLineNum = 201;BA.debugLine="Private Panel_C As Panel"; +c_principal._panel_c = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel_c",c_principal._panel_c); + //BA.debugLineNum = 203;BA.debugLine="Private TitleHeight As Int = 50dip"; +c_principal._titleheight = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)));__ref.setField("_titleheight",c_principal._titleheight); + //BA.debugLineNum = 204;BA.debugLine="Private Title2Height As Int = 100dip"; +c_principal._title2height = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)));__ref.setField("_title2height",c_principal._title2height); + //BA.debugLineNum = 206;BA.debugLine="Private DividerHeight As Int = 5dip"; +c_principal._dividerheight = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)));__ref.setField("_dividerheight",c_principal._dividerheight); + //BA.debugLineNum = 207;BA.debugLine="Private CLV1 As CustomListView"; +c_principal._clv1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv1",c_principal._clv1); + //BA.debugLineNum = 208;BA.debugLine="Private pnlTitle As B4XView"; +c_principal._pnltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnltitle",c_principal._pnltitle); + //BA.debugLineNum = 209;BA.debugLine="Private xui As XUI"; +c_principal._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_principal._xui); + //BA.debugLineNum = 210;BA.debugLine="Type TitleData (Title As String)"; +; + //BA.debugLineNum = 212;BA.debugLine="Private B_MARCAS As Button"; +c_principal._b_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_marcas",c_principal._b_marcas); + //BA.debugLineNum = 213;BA.debugLine="Private lblTitle As Label"; +c_principal._lbltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lbltitle",c_principal._lbltitle); + //BA.debugLineNum = 214;BA.debugLine="Private B_OK_PANEL5 As Button"; +c_principal._b_ok_panel5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_panel5",c_principal._b_ok_panel5); + //BA.debugLineNum = 215;BA.debugLine="Private p_principal As Panel"; +c_principal._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_principal._p_principal); + //BA.debugLineNum = 217;BA.debugLine="Private teclado As IME"; +c_principal._teclado = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_teclado",c_principal._teclado); + //BA.debugLineNum = 218;BA.debugLine="Private panel5 As Panel"; +c_principal._panel5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel5",c_principal._panel5); + //BA.debugLineNum = 219;BA.debugLine="Private panel_5 As Panel"; +c_principal._panel_5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel_5",c_principal._panel_5); + //BA.debugLineNum = 220;BA.debugLine="Private p_marcasRes As Panel"; +c_principal._p_marcasres = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_marcasres",c_principal._p_marcasres); + //BA.debugLineNum = 221;BA.debugLine="Private p_sombra As Panel"; +c_principal._p_sombra = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_sombra",c_principal._p_sombra); + //BA.debugLineNum = 223;BA.debugLine="Private Label22 As Label"; +c_principal._label22 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label22",c_principal._label22); + //BA.debugLineNum = 224;BA.debugLine="Private l_rutasuplencia As Label"; +c_principal._l_rutasuplencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rutasuplencia",c_principal._l_rutasuplencia); + //BA.debugLineNum = 225;BA.debugLine="Dim l_ru_pri As Label"; +c_principal._l_ru_pri = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ru_pri",c_principal._l_ru_pri); + //BA.debugLineNum = 226;BA.debugLine="Private l_ru_sup As Label"; +c_principal._l_ru_sup = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ru_sup",c_principal._l_ru_sup); + //BA.debugLineNum = 227;BA.debugLine="Private Label4 As Label"; +c_principal._label4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label4",c_principal._label4); + //BA.debugLineNum = 228;BA.debugLine="Private Label2 As Label"; +c_principal._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_principal._label2); + //BA.debugLineNum = 229;BA.debugLine="Private Label25 As Label"; +c_principal._label25 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label25",c_principal._label25); + //BA.debugLineNum = 230;BA.debugLine="Dim p_transparenteActualizacion As Panel"; +c_principal._p_transparenteactualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_transparenteactualizacion",c_principal._p_transparenteactualizacion); + //BA.debugLineNum = 231;BA.debugLine="Private p_forzarActualizacion As Panel"; +c_principal._p_forzaractualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_forzaractualizacion",c_principal._p_forzaractualizacion); + //BA.debugLineNum = 232;BA.debugLine="Dim l_forzarActualizacion As Label"; +c_principal._l_forzaractualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_forzaractualizacion",c_principal._l_forzaractualizacion); + //BA.debugLineNum = 233;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; +c_principal._tipo_venta = c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_tipo_venta",c_principal._tipo_venta); + //BA.debugLineNum = 234;BA.debugLine="Private b_abordo As Button"; +c_principal._b_abordo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_abordo",c_principal._b_abordo); + //BA.debugLineNum = 235;BA.debugLine="Dim bitacora As C_Bitacora"; +c_principal._bitacora = RemoteObject.createNew ("gunav2.keymon.com.mx.c_bitacora");__ref.setField("_bitacora",c_principal._bitacora); + //BA.debugLineNum = 236;BA.debugLine="Private l_version As Label"; +c_principal._l_version = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_version",c_principal._l_version); + //BA.debugLineNum = 237;BA.debugLine="Dim contadorSubir As Int = 0"; +c_principal._contadorsubir = BA.numberCast(int.class, 0);__ref.setField("_contadorsubir",c_principal._contadorsubir); + //BA.debugLineNum = 239;BA.debugLine="Private p_somvra_2 As Panel"; +c_principal._p_somvra_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_somvra_2",c_principal._p_somvra_2); + //BA.debugLineNum = 240;BA.debugLine="Private b_resdia As Button"; +c_principal._b_resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_resdia",c_principal._b_resdia); + //BA.debugLineNum = 241;BA.debugLine="Private b_hacerpedido As Button"; +c_principal._b_hacerpedido = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_hacerpedido",c_principal._b_hacerpedido); + //BA.debugLineNum = 242;BA.debugLine="Private b_nuevocliente As Button"; +c_principal._b_nuevocliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_nuevocliente",c_principal._b_nuevocliente); + //BA.debugLineNum = 243;BA.debugLine="Private b_clientesvisitados As Button"; +c_principal._b_clientesvisitados = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_clientesvisitados",c_principal._b_clientesvisitados); + //BA.debugLineNum = 244;BA.debugLine="Private l_futura As Label"; +c_principal._l_futura = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_futura",c_principal._l_futura); + //BA.debugLineNum = 245;BA.debugLine="Private l_preventa As Label"; +c_principal._l_preventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_preventa",c_principal._l_preventa); + //BA.debugLineNum = 246;BA.debugLine="Private l_preacordada As Label"; +c_principal._l_preacordada = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_preacordada",c_principal._l_preacordada); + //BA.debugLineNum = 247;BA.debugLine="Private l_prevtotal As Label"; +c_principal._l_prevtotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prevtotal",c_principal._l_prevtotal); + //BA.debugLineNum = 248;BA.debugLine="Private Label13 As Label"; +c_principal._label13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label13",c_principal._label13); + //BA.debugLineNum = 249;BA.debugLine="Private Label19 As Label"; +c_principal._label19 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label19",c_principal._label19); + //BA.debugLineNum = 250;BA.debugLine="Private Label21 As Label"; +c_principal._label21 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label21",c_principal._label21); + //BA.debugLineNum = 251;BA.debugLine="Private Label33 As Label"; +c_principal._label33 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label33",c_principal._label33); + //BA.debugLineNum = 252;BA.debugLine="Private Label35 As Label"; +c_principal._label35 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label35",c_principal._label35); + //BA.debugLineNum = 253;BA.debugLine="Private Label43 As Label"; +c_principal._label43 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label43",c_principal._label43); + //BA.debugLineNum = 254;BA.debugLine="Private Label51 As Label"; +c_principal._label51 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label51",c_principal._label51); + //BA.debugLineNum = 255;BA.debugLine="Private l_faltan As Label"; +c_principal._l_faltan = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_faltan",c_principal._l_faltan); + //BA.debugLineNum = 256;BA.debugLine="Private l_visitas As Label"; +c_principal._l_visitas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visitas",c_principal._l_visitas); + //BA.debugLineNum = 257;BA.debugLine="Private l_visitartotal As Label"; +c_principal._l_visitartotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visitartotal",c_principal._l_visitartotal); + //BA.debugLineNum = 258;BA.debugLine="Private de As Label"; +c_principal._de = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_de",c_principal._de); + //BA.debugLineNum = 259;BA.debugLine="Private B_traec As Button"; +c_principal._b_traec = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_traec",c_principal._b_traec); + //BA.debugLineNum = 260;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static void _connecta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("connecta_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2857); +if (RapidSub.canDelegate("connecta_click")) { __ref.runUserSub(false, "c_principal","connecta_click", __ref); return;} +ResumableSub_connecta_Click rsub = new ResumableSub_connecta_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_connecta_Click extends BA.ResumableSub { +public ResumableSub_connecta_Click(gunav2.keymon.com.mx.c_principal parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_principal parent; +RemoteObject _revisaactualizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _usrt = RemoteObject.createImmutable(""); +RemoteObject _passt = RemoteObject.createImmutable(""); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("connecta_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2857); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 2858;BA.debugLine="Log(\">>> REVISAMOS ACTUALIZACION\")"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("LogImpl","03932161",RemoteObject.createImmutable(">>> REVISAMOS ACTUALIZACION"),0); + BA.debugLineNum = 2859;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF"; +Debug.ShouldStop(1024); +_revisaactualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_revisaactualizacion = parent._subs.runMethod(false,"_revisaforzaractualizacion" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("revisaActualizacion", _revisaactualizacion);Debug.locals.put("revisaActualizacion", _revisaactualizacion); + BA.debugLineNum = 2860;BA.debugLine="Log(revisaActualizacion)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("LogImpl","03932163",BA.ObjectToString(_revisaactualizacion),0); + BA.debugLineNum = 2861;BA.debugLine="If E_RUTA2.Text = e_ruta.Text And e_ruta.Text <>"; +Debug.ShouldStop(4096); +if (true) break; + +case 1: +//if +this.state = 40; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 40; + BA.debugLineNum = 2862;BA.debugLine="Msgbox(\"La ruta principal y la de suplencia NO p"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("La ruta principal y la de suplencia NO pueden ser la misma.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ERROR"))),__ref.getField(false, "ba")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 2864;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 6: +//if +this.state = 39; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { +this.state = 8; +}else { +this.state = 10; +}if (true) break; + +case 8: +//C +this.state = 39; + BA.debugLineNum = 2865;BA.debugLine="cargar.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 2866;BA.debugLine="Subir.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 2867;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2868;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, Sta"; +Debug.ShouldStop(524288); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ )); + if (true) break; + +case 10: +//C +this.state = 11; + BA.debugLineNum = 2870;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 1 Then '"; +Debug.ShouldStop(2097152); +if (true) break; + +case 11: +//if +this.state = 38; +if (RemoteObject.solveBoolean("=",_revisaactualizacion.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("forzar")))),RemoteObject.createImmutable((1)))) { +this.state = 13; +}else +{ BA.debugLineNum = 2882;BA.debugLine="else if revisaActualizacion.Get(\"forzar\") = 2 T"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_revisaactualizacion.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("forzar")))),RemoteObject.createImmutable((2)))) { +this.state = 15; +}else { +this.state = 17; +}} +if (true) break; + +case 13: +//C +this.state = 38; + BA.debugLineNum = 2875;BA.debugLine="l_forzarActualizacion.TextColor = Colors.black"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 2876;BA.debugLine="l_forzarActualizacion.Text = \"Hay una nueva ac"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Hay una nueva actualización para la aplicación, por favor revise que tenga DATOS y espere mientras se descarga.")); + BA.debugLineNum = 2877;BA.debugLine="p_transparenteActualizacion.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 2878;BA.debugLine="p_transparenteActualizacion.BringToFront"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 2879;BA.debugLine="Starter.nuevoLink = $\"https://keymon.net/movil"; +Debug.ShouldStop(1073741824); +parent._starter._nuevolink /*RemoteObject*/ = (RemoteObject.concat(RemoteObject.createImmutable("https://keymon.net/movil/guna/GP_"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_revisaactualizacion.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nuevaVersion")))))),RemoteObject.createImmutable(".apk"))); + BA.debugLineNum = 2880;BA.debugLine="Log(\"Descargar: GP_\" & Starter.newApp.appLink)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("LogImpl","03932183",RemoteObject.concat(RemoteObject.createImmutable("Descargar: GP_"),parent._starter._newapp /*RemoteObject*/ .getField(true,"appLink" /*RemoteObject*/ )),0); + BA.debugLineNum = 2881;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._appupdater.getObject())),(Object)(RemoteObject.createImmutable("download_newApk"))); + if (true) break; + +case 15: +//C +this.state = 38; + BA.debugLineNum = 2883;BA.debugLine="l_forzarActualizacion.TextColor = Colors.red"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 2884;BA.debugLine="l_forzarActualizacion.Text = \"Es necesaria una"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Es necesaria una conexión a internet, por favor revise su conexión y vuelva a intentar.")); + BA.debugLineNum = 2885;BA.debugLine="p_transparenteActualizacion.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 2886;BA.debugLine="p_transparenteActualizacion.BringToFront"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 2887;BA.debugLine="Sleep(4500)"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "connecta_click"),BA.numberCast(int.class, 4500)); +this.state = 41; +return; +case 41: +//C +this.state = 38; +; + BA.debugLineNum = 2888;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuario"; +Debug.ShouldStop(128); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 2889;BA.debugLine="p_transparenteActualizacion.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2890;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +Debug.ShouldStop(512); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Login"))); + if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 2892;BA.debugLine="Try"; +Debug.ShouldStop(2048); +if (true) break; + +case 18: +//try +this.state = 37; +this.catchState = 36; +this.state = 20; +if (true) break; + +case 20: +//C +this.state = 21; +this.catchState = 36; + BA.debugLineNum = 2893;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e"; +Debug.ShouldStop(4096); +_i = BA.numberCast(int.class, parent.__c.getField(false,"Regex").runMethod(true,"Replace",(Object)(BA.ObjectToString("[^0-9.]")),(Object)(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(RemoteObject.createImmutable(""))));Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 2894;BA.debugLine="Log($\"|${i}|\"$)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","03932197",(RemoteObject.concat(RemoteObject.createImmutable("|"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_i))),RemoteObject.createImmutable("|"))),0); + BA.debugLineNum = 2895;BA.debugLine="e_ruta.text = i"; +Debug.ShouldStop(16384); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_i)); + BA.debugLineNum = 2896;BA.debugLine="p_transparenteActualizacion.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2897;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, S"; +Debug.ShouldStop(65536); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ )); + BA.debugLineNum = 2898;BA.debugLine="teclado.HideKeyboard"; +Debug.ShouldStop(131072); +__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2899;BA.debugLine="connecta1 = connecta1 + 1"; +Debug.ShouldStop(262144); +__ref.setField ("_connecta1" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_connecta1" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 0)); + BA.debugLineNum = 2901;BA.debugLine="conn = \"1\""; +Debug.ShouldStop(1048576); +__ref.setField ("_conn" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 2902;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2097152); +parent._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd); + BA.debugLineNum = 2903;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2904;BA.debugLine="cmd.Name = \"select_version_GV2\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_version_GV2")); + BA.debugLineNum = 2905;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd"; +Debug.ShouldStop(16777216); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("version")))); + BA.debugLineNum = 2907;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO, PASS from usuarioa")))); + BA.debugLineNum = 2908;BA.debugLine="c.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2909;BA.debugLine="If c.RowCount > 0 And c.GetString(\"USUARIO\")"; +Debug.ShouldStop(268435456); +if (true) break; + +case 21: +//if +this.state = 24; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))),BA.ObjectToString("KMTS1"))) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 2910;BA.debugLine="Private usrT As String = c.GetString(\"USUARI"; +Debug.ShouldStop(536870912); +_usrt = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("usrT", _usrt);Debug.locals.put("usrT", _usrt); + BA.debugLineNum = 2911;BA.debugLine="Private passT As String = c.GetString(\"PASS\""; +Debug.ShouldStop(1073741824); +_passt = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PASS")));Debug.locals.put("passT", _passt);Debug.locals.put("passT", _passt); + BA.debugLineNum = 2912;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2913;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_guna_GV2_10")); + BA.debugLineNum = 2914;BA.debugLine="cmd.Parameters = Array As Object(usrT, passT"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_usrt),(_passt)})); + BA.debugLineNum = 2915;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm"; +Debug.ShouldStop(4); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuarioA")))); + if (true) break; + +case 24: +//C +this.state = 25; +; + BA.debugLineNum = 2917;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2918;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then"; +Debug.ShouldStop(32); +if (true) break; + +case 25: +//if +this.state = 28; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("BERNA1"))) { +this.state = 27; +}if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 2919;BA.debugLine="cargar.Visible = True"; +Debug.ShouldStop(64); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 2920;BA.debugLine="Subir.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 2921;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(256); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + if (true) break; + +case 28: +//C +this.state = 29; +; + BA.debugLineNum = 2923;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Validando Conexión.")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 2924;BA.debugLine="If connecta1 / 2 = 1 Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 29: +//if +this.state = 34; +if (RemoteObject.solveBoolean("=",RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_connecta1" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0),BA.numberCast(double.class, 1))) { +this.state = 31; +}else { +this.state = 33; +}if (true) break; + +case 31: +//C +this.state = 34; + BA.debugLineNum = 2930;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,"; +Debug.ShouldStop(131072); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ )); + if (true) break; + +case 33: +//C +this.state = 34; + BA.debugLineNum = 2937;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,"; +Debug.ShouldStop(16777216); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ )); + if (true) break; + +case 34: +//C +this.state = 37; +; + Debug.CheckDeviceExceptions(); +if (true) break; + +case 36: +//C +this.state = 37; +this.catchState = 0; + BA.debugLineNum = 2940;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","03932243",BA.ObjectToString(parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + if (true) break; +if (true) break; + +case 37: +//C +this.state = 38; +this.catchState = 0; +; + if (true) break; + +case 38: +//C +this.state = 39; +; + if (true) break; + +case 39: +//C +this.state = 40; +; + if (true) break; + +case 40: +//C +this.state = -1; +; + BA.debugLineNum = 2948;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _connecta_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("connecta_LongClick (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2808); +if (RapidSub.canDelegate("connecta_longclick")) { return __ref.runUserSub(false, "c_principal","connecta_longclick", __ref);} +int _i = 0; +RemoteObject _dia = RemoteObject.createImmutable(0); +RemoteObject _dialetra = RemoteObject.createImmutable(""); + BA.debugLineNum = 2808;BA.debugLine="Private Sub connecta_LongClick"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 2816;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS")))); + BA.debugLineNum = 2817;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2818;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(2); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2819;BA.debugLine="c.Position = i"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2820;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTime"; +Debug.ShouldStop(8); +_dia = c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfWeek",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia); + BA.debugLineNum = 2821;BA.debugLine="If dia = 2 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 2))) { + BA.debugLineNum = 2822;BA.debugLine="Dim dialetra As String = \"LUNES\""; +Debug.ShouldStop(32); +_dialetra = BA.ObjectToString("LUNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 2823;BA.debugLine="Else If dia = 3 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 3))) { + BA.debugLineNum = 2824;BA.debugLine="Dim dialetra As String = \"MARTES\""; +Debug.ShouldStop(128); +_dialetra = BA.ObjectToString("MARTES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 2825;BA.debugLine="Else If dia = 4 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 4))) { + BA.debugLineNum = 2826;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; +Debug.ShouldStop(512); +_dialetra = BA.ObjectToString("MIERCOLES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 2827;BA.debugLine="Else If dia = 5 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 5))) { + BA.debugLineNum = 2828;BA.debugLine="Dim dialetra As String = \"JUEVES\""; +Debug.ShouldStop(2048); +_dialetra = BA.ObjectToString("JUEVES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 2829;BA.debugLine="Else If dia = 6 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 6))) { + BA.debugLineNum = 2830;BA.debugLine="Dim dialetra As String = \"VIERNES\""; +Debug.ShouldStop(8192); +_dialetra = BA.ObjectToString("VIERNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 2831;BA.debugLine="Else If dia = 7 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 7))) { + BA.debugLineNum = 2832;BA.debugLine="Dim dialetra As String = \"SABADO\""; +Debug.ShouldStop(32768); +_dialetra = BA.ObjectToString("SABADO");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }}}}}} +; + BA.debugLineNum = 2834;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(131072); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 2835;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2836;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_clientesnuevos_GUNA")); + BA.debugLineNum = 2837;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString(\""; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("LogImpl","03801117",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_FECHA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_USER"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_DIRECCION"))),RemoteObject.createImmutable(" ,"),__ref.getField(true,"_almacen" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA"))),RemoteObject.createImmutable(" ,"),RemoteObject.createImmutable("En espera"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO"))),RemoteObject.createImmutable(" ,"),_dialetra,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_SOLICITA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_COLONIA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_TELEFONO")))),0); + BA.debugLineNum = 2838;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {16},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_DIRECCION")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA")))),RemoteObject.createImmutable(("En espera")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO")))),(_dialetra),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_SOLICITA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_COLONIA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_TELEFONO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CP"))))})); + BA.debugLineNum = 2839;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_clientesn")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2842;BA.debugLine="c.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2843;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _e_ruta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("e_ruta_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3939); +if (RapidSub.canDelegate("e_ruta_click")) { return __ref.runUserSub(false, "c_principal","e_ruta_click", __ref);} +RemoteObject _revisaactualizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 3939;BA.debugLine="Sub e_ruta_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 3940;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF"; +Debug.ShouldStop(8); +_revisaactualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_revisaactualizacion = c_principal._subs.runMethod(false,"_revisaforzaractualizacion" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("revisaActualizacion", _revisaactualizacion);Debug.locals.put("revisaActualizacion", _revisaactualizacion); + BA.debugLineNum = 3941;BA.debugLine="Log(\"revisaActualizacion = \" & revisaActualizacio"; +Debug.ShouldStop(16); +c_principal.__c.runVoidMethod ("LogImpl","05636098",RemoteObject.concat(RemoteObject.createImmutable("revisaActualizacion = "),_revisaactualizacion),0); + BA.debugLineNum = 3942;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 2 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_revisaactualizacion.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("forzar")))),RemoteObject.createImmutable((2)))) { + BA.debugLineNum = 3943;BA.debugLine="LogColor(\"No hay info de versión para actualizar"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","05636100",BA.ObjectToString("No hay info de versión para actualizar en CAT_VARIABLES, traemos la información!"),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 3944;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 3945;BA.debugLine="cmd.Name = \"selectVersionAppGuna\""; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectVersionAppGuna")); + BA.debugLineNum = 3946;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 3947;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traeVersion")))); + }; + BA.debugLineNum = 3949;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _e_ruta_enterpressed(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("e_ruta_EnterPressed (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3023); +if (RapidSub.canDelegate("e_ruta_enterpressed")) { return __ref.runUserSub(false, "c_principal","e_ruta_enterpressed", __ref);} + BA.debugLineNum = 3023;BA.debugLine="Sub e_ruta_EnterPressed"; +Debug.ShouldStop(16384); + BA.debugLineNum = 3024;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("FIN DIA"))) { + BA.debugLineNum = 3025;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre?"; +Debug.ShouldStop(65536); +__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea hacer el cierre? Todos los datos se borrarán.")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 3026;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 3027;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; +Debug.ShouldStop(262144); +__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(Object)(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Fin Día")),(Object)(BA.ObjectToString("")),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.ObjectToString("2")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 3028;BA.debugLine="Label22.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3029;BA.debugLine="l_rutasuplencia.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3030;BA.debugLine="l_rutasuplencia.Text = \"\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 3031;BA.debugLine="b_abordo.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3032;BA.debugLine="t2.Initialize(\"t2\", 1000) ' 1000 ms = 1 segund"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_t2" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("t2")),(Object)(BA.numberCast(long.class, 1000))); + BA.debugLineNum = 3033;BA.debugLine="t2.Enabled = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_t2" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True")); + }; + }; + BA.debugLineNum = 3037;BA.debugLine="If e_ruta.Text = \"IWL\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("IWL"))) { + BA.debugLineNum = 3039;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3040;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3041;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(1); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3042;BA.debugLine="img3.Visible =True"; +Debug.ShouldStop(2); +__ref.getField(false,"_img3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3043;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(4); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + BA.debugLineNum = 3046;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("SUPLENCIA"))) { + BA.debugLineNum = 3047;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(64); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 3048;BA.debugLine="E_RUTA2.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3049;BA.debugLine="p_ruta2.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3050;BA.debugLine="p_somvra_2.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_somvra_2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + BA.debugLineNum = 3052;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _e_ruta_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("e_ruta_TextChanged (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3769); +if (RapidSub.canDelegate("e_ruta_textchanged")) { return __ref.runUserSub(false, "c_principal","e_ruta_textchanged", __ref, _old, _new);} +RemoteObject _validchars = RemoteObject.createImmutable(""); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 3769;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 3770;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV"; +Debug.ShouldStop(33554432); +_validchars = BA.ObjectToString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ");Debug.locals.put("validChars", _validchars);Debug.locals.put("validChars", _validchars); + BA.debugLineNum = 3772;BA.debugLine="If Old <> \"KMTS1\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("!",_old,BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 3774;BA.debugLine="Try"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 3775;BA.debugLine="If validChars.Contains(New.SubString(New.Length"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_validchars.runMethod(true,"contains",(Object)(_new.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_new.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))))),c_principal.__c.getField(true,"False"))) { + BA.debugLineNum = 3776;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_new.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {_new.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))))); + BA.debugLineNum = 3777;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length"; +Debug.ShouldStop(1); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"setSelectionStart",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length")); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); }; + }; + BA.debugLineNum = 3783;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _e_ruta2_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("e_ruta2_TextChanged (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3785); +if (RapidSub.canDelegate("e_ruta2_textchanged")) { return __ref.runUserSub(false, "c_principal","e_ruta2_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 3785;BA.debugLine="Sub e_ruta2_TextChanged (Old As String, New As Str"; +Debug.ShouldStop(256); + BA.debugLineNum = 3788;BA.debugLine="If New = e_ruta.text And New <> \"\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_new,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")) && RemoteObject.solveBoolean("!",_new,BA.ObjectToString(""))) { + BA.debugLineNum = 3789;BA.debugLine="cargar.Enabled = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3790;BA.debugLine="ToastMessageShow(\"Las rutas NO PUEDEN ser iguale"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Las rutas NO PUEDEN ser iguales!!")),(Object)(c_principal.__c.getField(true,"False"))); + }else { + BA.debugLineNum = 3792;BA.debugLine="cargar.Enabled = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True")); + }; + BA.debugLineNum = 3794;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3760); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_principal","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 3760;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(32768); + BA.debugLineNum = 3762;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hacer_ped_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("hacer_ped_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3748); +if (RapidSub.canDelegate("hacer_ped_click")) { return __ref.runUserSub(false, "c_principal","hacer_ped_click", __ref);} + BA.debugLineNum = 3748;BA.debugLine="Sub hacer_ped_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 3749;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(16); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + BA.debugLineNum = 3750;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,263); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_principal","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 263;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(64); + BA.debugLineNum = 264;BA.debugLine="Return Me"; +Debug.ShouldStop(128); +if (true) return __ref; + BA.debugLineNum = 265;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _inv_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("inv_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3054); +if (RapidSub.canDelegate("inv_click")) { return __ref.runUserSub(false, "c_principal","inv_click", __ref);} + BA.debugLineNum = 3054;BA.debugLine="Sub inv_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 3055;BA.debugLine="img2.Visible =True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3056;BA.debugLine="EJECUTANDO = 1"; +Debug.ShouldStop(32768); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 3057;BA.debugLine="inve = 1"; +Debug.ShouldStop(65536); +__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 3058;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 3059;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2"))); + BA.debugLineNum = 3060;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 3061;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 3062;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3063;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 3064;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3065;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 3066;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod_GV2")); + BA.debugLineNum = 3067;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 3068;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 3069;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 3070;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod2_GV2")); + BA.debugLineNum = 3071;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta."; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 3072;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod2")))); + BA.debugLineNum = 3073;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 3074;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV2\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetes_GV2")); + BA.debugLineNum = 3075;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 3076;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprodp")))); + BA.debugLineNum = 3078;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 3079;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_detallepa_GV2")); + BA.debugLineNum = 3080;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 3081;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("detallepaq")))); + BA.debugLineNum = 3083;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3084;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3085;BA.debugLine="connecta.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3086;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3087;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; +Debug.ShouldStop(16384); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 3088;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,1592); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_principal","jobdone", __ref, _job);} +RemoteObject _result = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _n = RemoteObject.createImmutable(""); +RemoteObject _records = null; +RemoteObject _codigo = RemoteObject.createImmutable(""); +RemoteObject _fotos = RemoteObject.createImmutable(""); +RemoteObject _bandera = RemoteObject.createImmutable(""); +RemoteObject _fot = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _giro = RemoteObject.createImmutable(""); +RemoteObject _nota = RemoteObject.createImmutable(""); +RemoteObject _cliente = RemoteObject.createImmutable(""); +RemoteObject _saldo_pendiente = RemoteObject.createImmutable(""); +RemoteObject _fecha_pagare = RemoteObject.createImmutable(""); +RemoteObject _result1 = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _cuantosencuesta = RemoteObject.createImmutable(""); +RemoteObject _foto = null; +RemoteObject _codigocredito = RemoteObject.createImmutable(""); +RemoteObject _banderacredito = RemoteObject.createImmutable(""); +RemoteObject _clientecredito = RemoteObject.createImmutable(""); +RemoteObject _hdsgf = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cat_cl_codigo = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_ruta = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_nombre = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_atiende1 = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_atiente2 = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_telefono = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_email = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_calle = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_noext = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_noint = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_calle1 = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_calle2 = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_colonia = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_muni = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_edo = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_cp = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_long = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_lat = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_foto = null; +RemoteObject _cat_cl_mtocompra = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_num_seriefisico = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_tipocliente = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_limitecredito = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_diascredito = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_clasificador4 = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_clasificador3 = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_clasificador2 = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_bcredito = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_tipo_ruta = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_dias_visita = RemoteObject.createImmutable(""); +RemoteObject _hp_cliente = RemoteObject.createImmutable(""); +RemoteObject _hp_codigo_promocion = RemoteObject.createImmutable(""); +RemoteObject _promocion = RemoteObject.createImmutable(""); +RemoteObject _hccp_cliente = RemoteObject.createImmutable(""); +RemoteObject _hccp_promo = RemoteObject.createImmutable(""); +RemoteObject _hccp_cant = RemoteObject.createImmutable(""); +RemoteObject _cat_pd_almacen = RemoteObject.createImmutable(""); +RemoteObject _cat_pd_cod_promo = RemoteObject.createImmutable(""); +RemoteObject _cat_pd_rango = RemoteObject.createImmutable(""); +RemoteObject _cat_pd_rango2 = RemoteObject.createImmutable(""); +RemoteObject _cat_pd_vigencia = RemoteObject.createImmutable(""); +RemoteObject _cat_pd_descuento = RemoteObject.createImmutable(""); +RemoteObject _cat_pd_producto = RemoteObject.createImmutable(""); +RemoteObject _cat_pd_tier = RemoteObject.createImmutable(""); +RemoteObject _hvd_cliente2 = RemoteObject.createImmutable(""); +RemoteObject _hmc_marca = RemoteObject.createImmutable(""); +RemoteObject _hmc_total = RemoteObject.createImmutable(""); +RemoteObject _latitud = RemoteObject.createImmutable(""); +RemoteObject _longitud = RemoteObject.createImmutable(""); +RemoteObject _geocerca = RemoteObject.createImmutable(""); +RemoteObject _password = RemoteObject.createImmutable(""); +RemoteObject _cat_ru_ventaf = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_id = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_maxprom = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_maxpromrec = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_maxpromclie = RemoteObject.createImmutable(""); +RemoteObject _hvd_marca = RemoteObject.createImmutable(""); +RemoteObject _clientes = RemoteObject.createImmutable(""); +RemoteObject _hcm_total_v = RemoteObject.createImmutable(""); +RemoteObject _hcm_total_vive = RemoteObject.createImmutable(""); +RemoteObject _hcm_total_guna = RemoteObject.createImmutable(""); +RemoteObject _hcm_total_beb = RemoteObject.createImmutable(""); +RemoteObject _hec_cliente = RemoteObject.createImmutable(""); +RemoteObject _hec_modulo = RemoteObject.createImmutable(""); +RemoteObject _cat_pe_id = RemoteObject.createImmutable(""); +RemoteObject _cat_pe_idpromo = RemoteObject.createImmutable(""); +RemoteObject _cat_pe_monto = RemoteObject.createImmutable(""); +RemoteObject _he_cliente = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_id = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_nombre = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_imp1 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_imp2 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_clasif = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_sts = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_tipo = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_subtipo = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_img = null; +RemoteObject _cat_gp_almacen = RemoteObject.createImmutable(0); +RemoteObject _cat_gp_dev = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_tipoprod = RemoteObject.createImmutable(0); +RemoteObject _cat_gp_iniciativa = RemoteObject.createImmutable(0); +RemoteObject _cat_listaprecio = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_conversion3 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_conversion2 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_codpromo = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_bsegmenta = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_segmentav = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_almacen = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_id = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_idprod = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_tipo = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_pzas = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_usuario = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_fecha = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_regalo = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_clasif = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_precio = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_precio_simptos = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _hvd_cliente = RemoteObject.createImmutable(""); +RemoteObject _hvd_pronombre = RemoteObject.createImmutable(""); +RemoteObject _hvd_cant = RemoteObject.createImmutable(""); +RemoteObject _hvd_costo_tot = RemoteObject.createImmutable(""); +RemoteObject _hvd_fecha = RemoteObject.createImmutable(""); +RemoteObject _cat_va_descripcion = RemoteObject.createImmutable(""); +RemoteObject _cat_va_valor = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_id = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_idtipopregunta = RemoteObject.createImmutable(""); +RemoteObject _cat_ce_descripcion = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_pregunta = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_res1_pred = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_res2_pred = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_res3_pred = RemoteObject.createImmutable(""); +RemoteObject _cat_ep_orden_pregunta = RemoteObject.createImmutable(""); +RemoteObject _cuantosp = RemoteObject.createImmutable(0); +RemoteObject _cuantosc = RemoteObject.createImmutable(0); +RemoteObject _cuantosn = RemoteObject.createImmutable(0); +RemoteObject _cat_ve_version = RemoteObject.createImmutable(""); +RemoteObject _valido = RemoteObject.createImmutable(""); +RemoteObject _name2 = RemoteObject.createImmutable(""); +RemoteObject _fecha_hoy = RemoteObject.createImmutable(""); +RemoteObject _version = RemoteObject.createImmutable(""); +RemoteObject _actualizaraplicacion = RemoteObject.createImmutable(""); +RemoteObject _tipoventa = RemoteObject.createImmutable(""); +RemoteObject _pl_cliente = RemoteObject.createImmutable(""); +RemoteObject _pl_bandera = RemoteObject.createImmutable(""); +RemoteObject _comentario = RemoteObject.createImmutable(""); +RemoteObject _clientecom = RemoteObject.createImmutable(""); +RemoteObject _cob_volumen = RemoteObject.createImmutable(""); +RemoteObject _cob_marcae = RemoteObject.createImmutable(""); +RemoteObject _cob_portafolio = RemoteObject.createImmutable(""); +RemoteObject _cob_objpp = RemoteObject.createImmutable(""); +RemoteObject _cob_gev = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 1592;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 1593;BA.debugLine="B4XPages.MainPage.reqManager.trackNext(Job)"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_tracknext" /*RemoteObject*/ ,(Object)(_job)); + BA.debugLineNum = 1594;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")"; +Debug.ShouldStop(33554432); +c_principal.__c.runVoidMethod ("LogImpl","03735554",RemoteObject.createImmutable("JOBDONE PRINCIPAL"),0); + BA.debugLineNum = 1600;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_principal.__c.getField(true,"False"))) { + BA.debugLineNum = 1601;BA.debugLine="If Job.ErrorMessage <> \"STREAM\" Then LogColor(\"E"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",_job.getField(true,"_errormessage" /*RemoteObject*/ ),BA.ObjectToString("STREAM"))) { +c_principal.__c.runVoidMethod ("LogImpl","03735561",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),c_principal._subs.runMethod(true,"_parsehttperror" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_job.getField(true,"_errormessage" /*RemoteObject*/ )))),c_principal.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 1603;BA.debugLine="If Job.ErrorMessage = \"STREAM\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_errormessage" /*RemoteObject*/ ),BA.ObjectToString("STREAM"))) { + BA.debugLineNum = 1604;BA.debugLine="If CARGA = \"SUBIR\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR"))) { + BA.debugLineNum = 1605;BA.debugLine="PB2.Progress = PB2.Progress + PORCENTAJE"; +Debug.ShouldStop(16); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, __ref.getField(true,"_porcentaje" /*RemoteObject*/ ))}, "+",1, 0))); + BA.debugLineNum = 1606;BA.debugLine="S_CP.Text = \"SUBIENDO\""; +Debug.ShouldStop(32); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SUBIENDO")); + BA.debugLineNum = 1607;BA.debugLine="If PB2.Progress > 99 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 99))) { + BA.debugLineNum = 1608;BA.debugLine="S_CP.Text = \"VALIDANDO\""; +Debug.ShouldStop(128); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("VALIDANDO")); + }; + }; + }; + }else { + BA.debugLineNum = 1613;BA.debugLine="LogColor(\"JobDone: '\" & B4XPages.MainPage.reqMan"; +Debug.ShouldStop(4096); +c_principal.__c.runVoidMethod ("LogImpl","03735573",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_principal.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 1615;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1616;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(32768); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1617;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuarioA")))) { + BA.debugLineNum = 1618;BA.debugLine="Private n As String = \"Sin Usuario\""; +Debug.ShouldStop(131072); +_n = BA.ObjectToString("Sin Usuario");Debug.locals.put("n", _n);Debug.locals.put("n", _n); + BA.debugLineNum = 1619;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(262144); +{ +final RemoteObject group20 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen20 = group20.runMethod(true,"getSize").get() +;int index20 = 0; +; +for (; index20 < groupLen20;index20++){ +_records = (group20.runMethod(false,"Get",index20));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1620;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))"; +Debug.ShouldStop(524288); +_n = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("USUARIO")))))));Debug.locals.put("n", _n); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1622;BA.debugLine="LogColor(\"************************** \" & n, C"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","03735582",RemoteObject.concat(RemoteObject.createImmutable("************************** "),_n),c_principal.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 1623;BA.debugLine="If n = \"OKActivo\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_n,BA.ObjectToString("OKActivo"))) { + BA.debugLineNum = 1624;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8388608); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1625;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1626;BA.debugLine="cmd.Name = \"select_ruta_GV2_70_14\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ruta_GV2_70_14")); + BA.debugLineNum = 1627;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ru"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_usuario" /*RemoteObject*/ ))})); + BA.debugLineNum = 1628;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("ruta")))); + }else { + BA.debugLineNum = 1631;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + BA.debugLineNum = 1632;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 1633;BA.debugLine="ExitApplication"; +Debug.ShouldStop(1); +c_principal.__c.runVoidMethod ("ExitApplication"); + }; + }; + }; + BA.debugLineNum = 1639;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1640;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(128); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1641;BA.debugLine="If RESULT.Tag = \"FOTO\" Then 'query tag"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("FOTO")))) { + BA.debugLineNum = 1643;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1024); +{ +final RemoteObject group40 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen40 = group40.runMethod(true,"getSize").get() +;int index40 = 0; +; +for (; index40 < groupLen40;index40++){ +_records = (group40.runMethod(false,"Get",index40));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1646;BA.debugLine="Dim CODIGO As String = records(RESULT.Columns"; +Debug.ShouldStop(8192); +_codigo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("CODIGO", _codigo);Debug.locals.put("CODIGO", _codigo); + BA.debugLineNum = 1647;BA.debugLine="Dim FOTOS As String = records(RESULT.Columns."; +Debug.ShouldStop(16384); +_fotos = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLIENTE")))))));Debug.locals.put("FOTOS", _fotos);Debug.locals.put("FOTOS", _fotos); + BA.debugLineNum = 1648;BA.debugLine="Dim BANDERA As String = records(RESULT.Column"; +Debug.ShouldStop(32768); +_bandera = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_BFOTO")))))));Debug.locals.put("BANDERA", _bandera);Debug.locals.put("BANDERA", _bandera); + BA.debugLineNum = 1650;BA.debugLine="Dim fot As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(131072); +_fot = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fot = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT * FROM FOTOS WHERE CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_codigo))),RemoteObject.createImmutable("'"))))));Debug.locals.put("fot", _fot);Debug.locals.put("fot", _fot); + BA.debugLineNum = 1651;BA.debugLine="If fot.RowCount = 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_fot.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1652;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTO"; +Debug.ShouldStop(524288); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO FOTOS(CLIENTE,FOTO,MOVIMIENTO) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_codigo),(_fotos),(_bandera)}))))); + }else { + BA.debugLineNum = 1654;BA.debugLine="fot.Position = 0"; +Debug.ShouldStop(2097152); +_fot.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1655;BA.debugLine="If fot.GetString(\"MOVIMIENTO\") > BANDERA The"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _fot.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MOVIMIENTO")))),BA.numberCast(double.class, _bandera))) { + BA.debugLineNum = 1656;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE FOTOS SE"; +Debug.ShouldStop(8388608); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE FOTOS SET FOTO = ?, MOVIMIENTO = ? IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_fotos),(_bandera)}))))); + }; + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1664;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1665;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(1); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1666;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("giro")))) { + BA.debugLineNum = 1667;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(4); +{ +final RemoteObject group59 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen59 = group59.runMethod(true,"getSize").get() +;int index59 = 0; +; +for (; index59 < groupLen59;index59++){ +_records = (group59.runMethod(false,"Get",index59));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1668;BA.debugLine="Dim giro As String = records(RESULT.Columns."; +Debug.ShouldStop(8); +_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GR_DESCRIPCION")))))));Debug.locals.put("giro", _giro);Debug.locals.put("giro", _giro); + BA.debugLineNum = 1670;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +Debug.ShouldStop(32); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GIRO(GIRO) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_giro)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1676;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1677;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(4096); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1678;BA.debugLine="If RESULT.Tag = \"select_abonosp\" Then 'query ta"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("select_abonosp")))) { + BA.debugLineNum = 1679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from ABONOSP"))); + BA.debugLineNum = 1680;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group69 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen69 = group69.runMethod(true,"getSize").get() +;int index69 = 0; +; +for (; index69 < groupLen69;index69++){ +_records = (group69.runMethod(false,"Get",index69));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1681;BA.debugLine="Dim NOTA As String = records(RESULT.Columns.G"; +Debug.ShouldStop(65536); +_nota = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("NOTA")))))));Debug.locals.put("NOTA", _nota);Debug.locals.put("NOTA", _nota); + BA.debugLineNum = 1682;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column"; +Debug.ShouldStop(131072); +_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CLIENTE")))))));Debug.locals.put("CLIENTE", _cliente);Debug.locals.put("CLIENTE", _cliente); + BA.debugLineNum = 1683;BA.debugLine="Dim SALDO_PENDIENTE As String = records(RESUL"; +Debug.ShouldStop(262144); +_saldo_pendiente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("SALDO_PENDIENTE")))))));Debug.locals.put("SALDO_PENDIENTE", _saldo_pendiente);Debug.locals.put("SALDO_PENDIENTE", _saldo_pendiente); + BA.debugLineNum = 1685;BA.debugLine="Dim FECHA_PAGARE As String = records(RESULT.C"; +Debug.ShouldStop(1048576); +_fecha_pagare = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("FECHA_PREVENTA")))))));Debug.locals.put("FECHA_PAGARE", _fecha_pagare);Debug.locals.put("FECHA_PAGARE", _fecha_pagare); + BA.debugLineNum = 1686;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; +Debug.ShouldStop(2097152); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE,FECHA) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_nota),(_cliente),(_saldo_pendiente),(_fecha_pagare)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1691;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1692;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req"; +Debug.ShouldStop(134217728); +_result1 = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result1", _result1);Debug.locals.put("result1", _result1); + BA.debugLineNum = 1693;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CHECAENCUESTA")))) { + BA.debugLineNum = 1694;BA.debugLine="For Each records() As Object In result1.Rows"; +Debug.ShouldStop(536870912); +{ +final RemoteObject group81 = _result1.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen81 = group81.runMethod(true,"getSize").get() +;int index81 = 0; +; +for (; index81 < groupLen81;index81++){ +_records = (group81.runMethod(false,"Get",index81));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1695;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul"; +Debug.ShouldStop(1073741824); +_cuantosencuesta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOS")))))));Debug.locals.put("CUANTOSENCUESTA", _cuantosencuesta);Debug.locals.put("CUANTOSENCUESTA", _cuantosencuesta); + BA.debugLineNum = 1696;BA.debugLine="Log(CUANTOSENCUESTA)"; +Debug.ShouldStop(-2147483648); +c_principal.__c.runVoidMethod ("LogImpl","03735656",_cuantosencuesta,0); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1698;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(2); +c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate); +c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime); + BA.debugLineNum = 1699;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1700;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1701;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16); +__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1702;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_cuantosencuesta,BA.ObjectToString("0"))) { + BA.debugLineNum = 1703;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1704;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\""; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_GV2_4")); + BA.debugLineNum = 1705;BA.debugLine="cmd.Parameters = Array As Object(usuario,B4XP"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_principal" /*RemoteObject*/ ).getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_sdate" /*RemoteObject*/ )),RemoteObject.createImmutable(("")),(__ref.getField(true,"_stime" /*RemoteObject*/ )),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("ENCUESTA")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName")),(c_principal._starter._encuesta /*RemoteObject*/ )})); + BA.debugLineNum = 1706;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop")))); + }; + }; + }; + BA.debugLineNum = 1711;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1712;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(32768); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1713;BA.debugLine="If RESULT.Tag = \"traeFechaFotosGuna\" Then 'quer"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("traeFechaFotosGuna")))) { + BA.debugLineNum = 1714;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; +Debug.ShouldStop(131072); +c_principal._subs.runVoidMethod ("_logjobdoneresultados" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_result)); + BA.debugLineNum = 1716;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(524288); +{ +final RemoteObject group101 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen101 = group101.runMethod(true,"getSize").get() +;int index101 = 0; +; +for (; index101 < groupLen101;index101++){ +_records = (group101.runMethod(false,"Get",index101));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1717;BA.debugLine="Private fecha As String = records(RESULT.Colu"; +Debug.ShouldStop(1048576); +c_principal._fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO_FECHA")))))));__ref.setField("_fecha",c_principal._fecha); + BA.debugLineNum = 1718;BA.debugLine="Private CLIENTE As String = records(RESULT.Co"; +Debug.ShouldStop(2097152); +_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CODIGO")))))));Debug.locals.put("CLIENTE", _cliente);Debug.locals.put("CLIENTE", _cliente); + BA.debugLineNum = 1719;BA.debugLine="Private f As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(4194304); +c_principal._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_principal._f = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from fotos where cliente = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' and fecha = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_fecha" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));__ref.setField("_f",c_principal._f); + BA.debugLineNum = 1720;BA.debugLine="Log(\"==> EXISTE LA FOTO:\" & f.RowCount)"; +Debug.ShouldStop(8388608); +c_principal.__c.runVoidMethod ("LogImpl","03735680",RemoteObject.concat(RemoteObject.createImmutable("==> EXISTE LA FOTO:"),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1721;BA.debugLine="If f.RowCount = 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1722;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1723;BA.debugLine="cmd.Name = \"traeFotoGuna\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("traeFotoGuna")); + BA.debugLineNum = 1724;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(_cliente)})); + BA.debugLineNum = 1725;BA.debugLine="Log(\"BUSCAMOS FOTO: \" & ALMACEN &\"|\" & e_rut"; +Debug.ShouldStop(268435456); +c_principal.__c.runVoidMethod ("LogImpl","03735685",RemoteObject.concat(RemoteObject.createImmutable("BUSCAMOS FOTO: "),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("|"),_cliente),0); + BA.debugLineNum = 1726;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("traeFotoGuna_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 1727;BA.debugLine="Log($\"==>> traeFotoGuna_${CLIENTE}\"$)"; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethod ("LogImpl","03735687",(RemoteObject.concat(RemoteObject.createImmutable("==>> traeFotoGuna_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1769;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1770;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(512); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1771;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traeFotoGuna"; +Debug.ShouldStop(1024); +if ((BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"contains",(Object)(RemoteObject.createImmutable("traeFotoGuna_"))).get().booleanValue()) { + BA.debugLineNum = 1772;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(2048); +{ +final RemoteObject group120 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen120 = group120.runMethod(true,"getSize").get() +;int index120 = 0; +; +for (; index120 < groupLen120;index120++){ +_records = (group120.runMethod(false,"Get",index120));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1773;BA.debugLine="Private FOTO() As Byte = records(RESULT.Colum"; +Debug.ShouldStop(4096); +_foto = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("FOTO", _foto);Debug.locals.put("FOTO", _foto); + BA.debugLineNum = 1774;BA.debugLine="Private CLIENTE As String = records(RESULT.Co"; +Debug.ShouldStop(8192); +_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CODIGO")))))));Debug.locals.put("CLIENTE", _cliente);Debug.locals.put("CLIENTE", _cliente); + BA.debugLineNum = 1775;BA.debugLine="Private fecha As String = records(RESULT.Colu"; +Debug.ShouldStop(16384); +c_principal._fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO_FECHA")))))));__ref.setField("_fecha",c_principal._fecha); + BA.debugLineNum = 1776;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE from FOTOS"; +Debug.ShouldStop(32768); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("DELETE from FOTOS where CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1777;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTOS"; +Debug.ShouldStop(65536); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO FOTOS(CLIENTE,FOTO,FECHA) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_cliente),(_foto),(__ref.getField(true,"_fecha" /*RemoteObject*/ ))}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1782;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1783;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(4194304); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1784;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traecodigos\""; +Debug.ShouldStop(8388608); +if ((BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"contains",(Object)(RemoteObject.createImmutable("traecodigos"))).get().booleanValue()) { + BA.debugLineNum = 1785;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16777216); +{ +final RemoteObject group132 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen132 = group132.runMethod(true,"getSize").get() +;int index132 = 0; +; +for (; index132 < groupLen132;index132++){ +_records = (group132.runMethod(false,"Get",index132));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1786;BA.debugLine="Private CODIGOCREDITO As String = records(RES"; +Debug.ShouldStop(33554432); +_codigocredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLABE")))))));Debug.locals.put("CODIGOCREDITO", _codigocredito);Debug.locals.put("CODIGOCREDITO", _codigocredito); + BA.debugLineNum = 1787;BA.debugLine="Private BANDERACREDITO As String = records(RE"; +Debug.ShouldStop(67108864); +_banderacredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CTA")))))));Debug.locals.put("BANDERACREDITO", _banderacredito);Debug.locals.put("BANDERACREDITO", _banderacredito); + BA.debugLineNum = 1788;BA.debugLine="Private CLIENTECREDITO As String = records(RE"; +Debug.ShouldStop(134217728); +_clientecredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CODIGO")))))));Debug.locals.put("CLIENTECREDITO", _clientecredito);Debug.locals.put("CLIENTECREDITO", _clientecredito); + BA.debugLineNum = 1790;BA.debugLine="If l_ruta.Text = \"0\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 1791;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CODI"; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CODIGOS_CREDITO(CODIGO,BANDERA,CLIENTE) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_codigocredito),(_banderacredito),(_clientecredito)}))))); + }else { + BA.debugLineNum = 1793;BA.debugLine="Private hdsgf As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(1); +_hdsgf = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_hdsgf = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT * FROM CODIGOS_CREDITO where CODIGO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_codigocredito))),RemoteObject.createImmutable("' and BANDERA = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_banderacredito))),RemoteObject.createImmutable("' and CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clientecredito))),RemoteObject.createImmutable("' "))))));Debug.locals.put("hdsgf", _hdsgf);Debug.locals.put("hdsgf", _hdsgf); + BA.debugLineNum = 1794;BA.debugLine="If hdsgf.RowCount = 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_hdsgf.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1795;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO COD"; +Debug.ShouldStop(4); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CODIGOS_CREDITO(CODIGO,BANDERA,CLIENTE) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_codigocredito),(_banderacredito),(_clientecredito)}))))); + }else { + BA.debugLineNum = 1797;BA.debugLine="Log(\"NO ENTRO\")"; +Debug.ShouldStop(16); +c_principal.__c.runVoidMethod ("LogImpl","03735757",RemoteObject.createImmutable("NO ENTRO"),0); + }; + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1807;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1808;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(32768); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1809;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos")))) { + BA.debugLineNum = 1810;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + BA.debugLineNum = 1811;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(262144); +{ +final RemoteObject group153 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen153 = group153.runMethod(true,"getSize").get() +;int index153 = 0; +; +for (; index153 < groupLen153;index153++){ +_records = (group153.runMethod(false,"Get",index153));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1812;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; +Debug.ShouldStop(524288); +_cat_cl_codigo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CODIGO")))))));Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo);Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo); + BA.debugLineNum = 1813;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; +Debug.ShouldStop(1048576); +_cat_cl_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_RUTA")))))));Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta);Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta); + BA.debugLineNum = 1814;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(2097152); +_cat_cl_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOMBRE")))))));Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre);Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre); + BA.debugLineNum = 1815;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; +Debug.ShouldStop(4194304); +_cat_cl_atiende1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENDE1")))))));Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1);Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1); + BA.debugLineNum = 1816;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; +Debug.ShouldStop(8388608); +_cat_cl_atiente2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENTE2")))))));Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2);Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2); + BA.debugLineNum = 1817;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; +Debug.ShouldStop(16777216); +_cat_cl_telefono = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TELEFONO")))))));Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono);Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono); + BA.debugLineNum = 1818;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; +Debug.ShouldStop(33554432); +_cat_cl_email = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EMAIL")))))));Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email);Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email); + BA.debugLineNum = 1819;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; +Debug.ShouldStop(67108864); +_cat_cl_calle = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE")))))));Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle);Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle); + BA.debugLineNum = 1820;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; +Debug.ShouldStop(134217728); +_cat_cl_noext = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOEXT")))))));Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext);Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext); + BA.debugLineNum = 1821;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; +Debug.ShouldStop(268435456); +_cat_cl_noint = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOINT")))))));Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint);Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint); + BA.debugLineNum = 1822;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; +Debug.ShouldStop(536870912); +_cat_cl_calle1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE1")))))));Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1);Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1); + BA.debugLineNum = 1823;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; +Debug.ShouldStop(1073741824); +_cat_cl_calle2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE2")))))));Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2);Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2); + BA.debugLineNum = 1824;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; +Debug.ShouldStop(-2147483648); +_cat_cl_colonia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_COLONIA")))))));Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia);Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia); + BA.debugLineNum = 1825;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; +Debug.ShouldStop(1); +_cat_cl_muni = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MUNI")))))));Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni);Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni); + BA.debugLineNum = 1826;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; +Debug.ShouldStop(2); +_cat_cl_edo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EDO")))))));Debug.locals.put("CAT_CL_EDO", _cat_cl_edo);Debug.locals.put("CAT_CL_EDO", _cat_cl_edo); + BA.debugLineNum = 1827;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; +Debug.ShouldStop(4); +_cat_cl_cp = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CP")))))));Debug.locals.put("CAT_CL_CP", _cat_cl_cp);Debug.locals.put("CAT_CL_CP", _cat_cl_cp); + BA.debugLineNum = 1828;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; +Debug.ShouldStop(8); +_cat_cl_long = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LONG")))))));Debug.locals.put("CAT_CL_LONG", _cat_cl_long);Debug.locals.put("CAT_CL_LONG", _cat_cl_long); + BA.debugLineNum = 1829;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; +Debug.ShouldStop(16); +_cat_cl_lat = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LAT")))))));Debug.locals.put("CAT_CL_LAT", _cat_cl_lat);Debug.locals.put("CAT_CL_LAT", _cat_cl_lat); + BA.debugLineNum = 1830;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co"; +Debug.ShouldStop(32); +_cat_cl_foto = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto);Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto); + BA.debugLineNum = 1831;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +Debug.ShouldStop(64); +_cat_cl_mtocompra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))))));Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra); + BA.debugLineNum = 1832;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +Debug.ShouldStop(128); +_cat_cl_num_seriefisico = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))))));Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico); + BA.debugLineNum = 1833;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; +Debug.ShouldStop(256); +_cat_cl_tipocliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")))))));Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente);Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente); + BA.debugLineNum = 1834;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; +Debug.ShouldStop(512); +_cat_cl_limitecredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))));Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito);Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito); + BA.debugLineNum = 1835;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE"; +Debug.ShouldStop(1024); +_cat_cl_diascredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_DIASCREDITO")))))));Debug.locals.put("CAT_CL_DIASCREDITO", _cat_cl_diascredito);Debug.locals.put("CAT_CL_DIASCREDITO", _cat_cl_diascredito); + BA.debugLineNum = 1836;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records("; +Debug.ShouldStop(2048); +_cat_cl_clasificador4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR4")))))));Debug.locals.put("CAT_CL_CLASIFICADOR4", _cat_cl_clasificador4);Debug.locals.put("CAT_CL_CLASIFICADOR4", _cat_cl_clasificador4); + BA.debugLineNum = 1837;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records("; +Debug.ShouldStop(4096); +_cat_cl_clasificador3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR3")))))));Debug.locals.put("CAT_CL_CLASIFICADOR3", _cat_cl_clasificador3);Debug.locals.put("CAT_CL_CLASIFICADOR3", _cat_cl_clasificador3); + BA.debugLineNum = 1838;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records("; +Debug.ShouldStop(8192); +_cat_cl_clasificador2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2")))))));Debug.locals.put("CAT_CL_CLASIFICADOR2", _cat_cl_clasificador2);Debug.locals.put("CAT_CL_CLASIFICADOR2", _cat_cl_clasificador2); + BA.debugLineNum = 1842;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +Debug.ShouldStop(131072); +_cat_cl_bcredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_BCREDITO")))))));Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito);Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito); + BA.debugLineNum = 1843;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {28},new Object[] {(_cat_cl_codigo),(_cat_cl_ruta),(_cat_cl_nombre),(_cat_cl_atiende1),(_cat_cl_atiente2),(_cat_cl_telefono),(_cat_cl_email),(_cat_cl_calle),(_cat_cl_noext),(_cat_cl_noint),(_cat_cl_calle1),(_cat_cl_calle2),(_cat_cl_colonia),(_cat_cl_muni),(_cat_cl_edo),(_cat_cl_cp),(_cat_cl_long),(_cat_cl_lat),(_cat_cl_mtocompra),(_cat_cl_num_seriefisico),(_cat_cl_bcredito),(_cat_cl_tipocliente),(_cat_cl_foto),(_cat_cl_limitecredito),(_cat_cl_diascredito),(_cat_cl_clasificador3),(_cat_cl_clasificador2),(_cat_cl_clasificador4)}))))); + BA.debugLineNum = 1845;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_cl_codigo)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1847;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info3(CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_NUM_SERIEFISICO) VALUES (?,?,?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {RemoteObject.createImmutable(("0")),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.createImmutable("ABORDO"))}))))); + BA.debugLineNum = 1848;BA.debugLine="Listo1 = 1"; +Debug.ShouldStop(8388608); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1849;BA.debugLine="S_CC.Text = \"LISTO\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + BA.debugLineNum = 1851;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 1853;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1854;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(536870912); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 1860;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1861;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(16); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1862;BA.debugLine="If RESULT.Tag = \"kmt_CAT_CATCLIENTESTODOS\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_CAT_CATCLIENTESTODOS")))) { + BA.debugLineNum = 1864;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(128); +{ +final RemoteObject group197 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen197 = group197.runMethod(true,"getSize").get() +;int index197 = 0; +; +for (; index197 < groupLen197;index197++){ +_records = (group197.runMethod(false,"Get",index197));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1865;BA.debugLine="Dim CAT_CL_TIPO_RUTA As String = records(RESU"; +Debug.ShouldStop(256); +_cat_cl_tipo_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TIPO_RUTA")))))));Debug.locals.put("CAT_CL_TIPO_RUTA", _cat_cl_tipo_ruta);Debug.locals.put("CAT_CL_TIPO_RUTA", _cat_cl_tipo_ruta); + BA.debugLineNum = 1866;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE"; +Debug.ShouldStop(512); +_cat_cl_dias_visita = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_DIAS_VISITA")))))));Debug.locals.put("CAT_CL_DIAS_VISITA", _cat_cl_dias_visita);Debug.locals.put("CAT_CL_DIAS_VISITA", _cat_cl_dias_visita); + BA.debugLineNum = 1867;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; +Debug.ShouldStop(1024); +_cat_cl_codigo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CODIGO")))))));Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo);Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo); + BA.debugLineNum = 1869;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records("; +Debug.ShouldStop(4096); +_cat_cl_clasificador3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR3")))))));Debug.locals.put("CAT_CL_CLASIFICADOR3", _cat_cl_clasificador3);Debug.locals.put("CAT_CL_CLASIFICADOR3", _cat_cl_clasificador3); + BA.debugLineNum = 1870;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records("; +Debug.ShouldStop(8192); +_cat_cl_clasificador4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR4")))))));Debug.locals.put("CAT_CL_CLASIFICADOR4", _cat_cl_clasificador4);Debug.locals.put("CAT_CL_CLASIFICADOR4", _cat_cl_clasificador4); + BA.debugLineNum = 1871;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records("; +Debug.ShouldStop(16384); +_cat_cl_clasificador2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2")))))));Debug.locals.put("CAT_CL_CLASIFICADOR2", _cat_cl_clasificador2);Debug.locals.put("CAT_CL_CLASIFICADOR2", _cat_cl_clasificador2); + BA.debugLineNum = 1872;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; +Debug.ShouldStop(32768); +_cat_cl_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_RUTA")))))));Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta);Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta); + BA.debugLineNum = 1873;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(65536); +_cat_cl_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOMBRE")))))));Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre);Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre); + BA.debugLineNum = 1874;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; +Debug.ShouldStop(131072); +_cat_cl_atiende1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENDE1")))))));Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1);Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1); + BA.debugLineNum = 1875;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; +Debug.ShouldStop(262144); +_cat_cl_atiente2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENTE2")))))));Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2);Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2); + BA.debugLineNum = 1876;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; +Debug.ShouldStop(524288); +_cat_cl_telefono = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TELEFONO")))))));Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono);Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono); + BA.debugLineNum = 1877;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; +Debug.ShouldStop(1048576); +_cat_cl_email = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EMAIL")))))));Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email);Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email); + BA.debugLineNum = 1878;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; +Debug.ShouldStop(2097152); +_cat_cl_calle = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE")))))));Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle);Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle); + BA.debugLineNum = 1879;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; +Debug.ShouldStop(4194304); +_cat_cl_noext = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOEXT")))))));Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext);Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext); + BA.debugLineNum = 1880;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; +Debug.ShouldStop(8388608); +_cat_cl_noint = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOINT")))))));Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint);Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint); + BA.debugLineNum = 1881;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; +Debug.ShouldStop(16777216); +_cat_cl_calle1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE1")))))));Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1);Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1); + BA.debugLineNum = 1882;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; +Debug.ShouldStop(33554432); +_cat_cl_calle2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE2")))))));Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2);Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2); + BA.debugLineNum = 1883;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; +Debug.ShouldStop(67108864); +_cat_cl_colonia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_COLONIA")))))));Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia);Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia); + BA.debugLineNum = 1884;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; +Debug.ShouldStop(134217728); +_cat_cl_muni = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MUNI")))))));Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni);Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni); + BA.debugLineNum = 1885;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; +Debug.ShouldStop(268435456); +_cat_cl_edo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EDO")))))));Debug.locals.put("CAT_CL_EDO", _cat_cl_edo);Debug.locals.put("CAT_CL_EDO", _cat_cl_edo); + BA.debugLineNum = 1886;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; +Debug.ShouldStop(536870912); +_cat_cl_cp = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CP")))))));Debug.locals.put("CAT_CL_CP", _cat_cl_cp);Debug.locals.put("CAT_CL_CP", _cat_cl_cp); + BA.debugLineNum = 1887;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; +Debug.ShouldStop(1073741824); +_cat_cl_long = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LONG")))))));Debug.locals.put("CAT_CL_LONG", _cat_cl_long);Debug.locals.put("CAT_CL_LONG", _cat_cl_long); + BA.debugLineNum = 1888;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; +Debug.ShouldStop(-2147483648); +_cat_cl_lat = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LAT")))))));Debug.locals.put("CAT_CL_LAT", _cat_cl_lat);Debug.locals.put("CAT_CL_LAT", _cat_cl_lat); + BA.debugLineNum = 1889;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +Debug.ShouldStop(1); +_cat_cl_mtocompra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))))));Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra); + BA.debugLineNum = 1890;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +Debug.ShouldStop(2); +_cat_cl_num_seriefisico = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))))));Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico); + BA.debugLineNum = 1891;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +Debug.ShouldStop(4); +_cat_cl_bcredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_BCREDITO")))))));Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito);Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito); + BA.debugLineNum = 1892;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE"; +Debug.ShouldStop(8); +_cat_cl_diascredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_DIASCREDITO")))))));Debug.locals.put("CAT_CL_DIASCREDITO", _cat_cl_diascredito);Debug.locals.put("CAT_CL_DIASCREDITO", _cat_cl_diascredito); + BA.debugLineNum = 1893;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; +Debug.ShouldStop(16); +_cat_cl_tipocliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")))))));Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente);Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente); + BA.debugLineNum = 1894;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; +Debug.ShouldStop(32); +_cat_cl_limitecredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))));Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito);Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito); + BA.debugLineNum = 1899;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +Debug.ShouldStop(1024); +_cat_cl_bcredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_BCREDITO")))))));Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito);Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito); + BA.debugLineNum = 1900;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_CATCLIENTESTODOS(CAT_CL_TIPO_RUTA,CAT_CL_DIAS_VISITA,CAT_CL_CODIGO,CAT_CL_FOTO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR4,CAT_CL_CLASIFICADOR2,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,CAT_CL_BCREDITO,CAT_CL_DIASCREDITO,CAT_CL_TIPOCLIENTE,CAT_CL_LIMITECREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {30},new Object[] {(_cat_cl_tipo_ruta),(_cat_cl_dias_visita),(_cat_cl_codigo),(_cat_cl_foto),(_cat_cl_clasificador3),(_cat_cl_clasificador4),(_cat_cl_clasificador2),(_cat_cl_ruta),(_cat_cl_nombre),(_cat_cl_atiende1),(_cat_cl_atiente2),(_cat_cl_telefono),(_cat_cl_email),(_cat_cl_calle),(_cat_cl_noext),(_cat_cl_noint),(_cat_cl_calle1),(_cat_cl_calle2),(_cat_cl_colonia),(_cat_cl_muni),(_cat_cl_edo),(_cat_cl_cp),(_cat_cl_long),(_cat_cl_lat),(_cat_cl_mtocompra),(_cat_cl_num_seriefisico),(_cat_cl_bcredito),(_cat_cl_diascredito),(_cat_cl_tipocliente),(_cat_cl_limitecredito)}))))); + BA.debugLineNum = 1902;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_cl_codigo)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1909;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1910;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(2097152); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1911;BA.debugLine="If RESULT.Tag = \"kmt_datos2\" Then 'query tag"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos2")))) { + BA.debugLineNum = 1912;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + BA.debugLineNum = 1913;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16777216); +{ +final RemoteObject group237 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen237 = group237.runMethod(true,"getSize").get() +;int index237 = 0; +; +for (; index237 < groupLen237;index237++){ +_records = (group237.runMethod(false,"Get",index237));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1914;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; +Debug.ShouldStop(33554432); +_cat_cl_codigo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CODIGO")))))));Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo);Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo); + BA.debugLineNum = 1915;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; +Debug.ShouldStop(67108864); +_cat_cl_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_RUTA")))))));Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta);Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta); + BA.debugLineNum = 1916;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(134217728); +_cat_cl_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOMBRE")))))));Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre);Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre); + BA.debugLineNum = 1917;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; +Debug.ShouldStop(268435456); +_cat_cl_atiende1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENDE1")))))));Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1);Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1); + BA.debugLineNum = 1918;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; +Debug.ShouldStop(536870912); +_cat_cl_atiente2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENTE2")))))));Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2);Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2); + BA.debugLineNum = 1919;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; +Debug.ShouldStop(1073741824); +_cat_cl_telefono = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TELEFONO")))))));Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono);Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono); + BA.debugLineNum = 1920;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; +Debug.ShouldStop(-2147483648); +_cat_cl_email = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EMAIL")))))));Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email);Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email); + BA.debugLineNum = 1921;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; +Debug.ShouldStop(1); +_cat_cl_calle = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE")))))));Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle);Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle); + BA.debugLineNum = 1922;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; +Debug.ShouldStop(2); +_cat_cl_noext = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOEXT")))))));Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext);Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext); + BA.debugLineNum = 1923;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; +Debug.ShouldStop(4); +_cat_cl_noint = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOINT")))))));Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint);Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint); + BA.debugLineNum = 1924;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; +Debug.ShouldStop(8); +_cat_cl_calle1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE1")))))));Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1);Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1); + BA.debugLineNum = 1925;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; +Debug.ShouldStop(16); +_cat_cl_calle2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE2")))))));Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2);Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2); + BA.debugLineNum = 1926;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; +Debug.ShouldStop(32); +_cat_cl_colonia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_COLONIA")))))));Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia);Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia); + BA.debugLineNum = 1927;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; +Debug.ShouldStop(64); +_cat_cl_muni = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MUNI")))))));Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni);Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni); + BA.debugLineNum = 1928;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; +Debug.ShouldStop(128); +_cat_cl_edo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EDO")))))));Debug.locals.put("CAT_CL_EDO", _cat_cl_edo);Debug.locals.put("CAT_CL_EDO", _cat_cl_edo); + BA.debugLineNum = 1929;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; +Debug.ShouldStop(256); +_cat_cl_cp = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CP")))))));Debug.locals.put("CAT_CL_CP", _cat_cl_cp);Debug.locals.put("CAT_CL_CP", _cat_cl_cp); + BA.debugLineNum = 1930;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; +Debug.ShouldStop(512); +_cat_cl_long = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LONG")))))));Debug.locals.put("CAT_CL_LONG", _cat_cl_long);Debug.locals.put("CAT_CL_LONG", _cat_cl_long); + BA.debugLineNum = 1931;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; +Debug.ShouldStop(1024); +_cat_cl_lat = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LAT")))))));Debug.locals.put("CAT_CL_LAT", _cat_cl_lat);Debug.locals.put("CAT_CL_LAT", _cat_cl_lat); + BA.debugLineNum = 1932;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +Debug.ShouldStop(2048); +_cat_cl_mtocompra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))))));Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra); + BA.debugLineNum = 1933;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +Debug.ShouldStop(4096); +_cat_cl_num_seriefisico = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))))));Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico); + BA.debugLineNum = 1934;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; +Debug.ShouldStop(8192); +_cat_cl_tipocliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")))))));Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente);Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente); + BA.debugLineNum = 1935;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co"; +Debug.ShouldStop(16384); +_cat_cl_foto = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto);Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto); + BA.debugLineNum = 1938;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +Debug.ShouldStop(131072); +_cat_cl_bcredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_BCREDITO")))))));Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito);Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito); + BA.debugLineNum = 1939;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {23},new Object[] {(_cat_cl_codigo),(_cat_cl_ruta),(_cat_cl_nombre),(_cat_cl_atiende1),(_cat_cl_atiente2),(_cat_cl_telefono),(_cat_cl_email),(_cat_cl_calle),(_cat_cl_noext),(_cat_cl_noint),(_cat_cl_calle1),(_cat_cl_calle2),(_cat_cl_colonia),(_cat_cl_muni),(_cat_cl_edo),(_cat_cl_cp),(_cat_cl_long),(_cat_cl_lat),(_cat_cl_mtocompra),(_cat_cl_num_seriefisico),(_cat_cl_bcredito),(_cat_cl_tipocliente),(_cat_cl_foto)}))))); + BA.debugLineNum = 1942;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_cl_codigo)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1944;BA.debugLine="Listo1 = 1"; +Debug.ShouldStop(8388608); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1945;BA.debugLine="S_CC.Text = \"LISTO\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + BA.debugLineNum = 1947;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 1949;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1950;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(536870912); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 2014;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2015;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(1073741824); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2016;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_promos")))) { + BA.debugLineNum = 2017;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1); +{ +final RemoteObject group275 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen275 = group275.runMethod(true,"getSize").get() +;int index275 = 0; +; +for (; index275 < groupLen275;index275++){ +_records = (group275.runMethod(false,"Get",index275));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2018;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col"; +Debug.ShouldStop(2); +_hp_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HP_CLIENTE")))))));Debug.locals.put("HP_CLIENTE", _hp_cliente);Debug.locals.put("HP_CLIENTE", _hp_cliente); + BA.debugLineNum = 2019;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R"; +Debug.ShouldStop(4); +_hp_codigo_promocion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HP_CODIGO_PROMOCION")))))));Debug.locals.put("HP_CODIGO_PROMOCION", _hp_codigo_promocion);Debug.locals.put("HP_CODIGO_PROMOCION", _hp_codigo_promocion); + BA.debugLineNum = 2020;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hp_cliente),(_hp_codigo_promocion)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2023;BA.debugLine="If PB1.Progress = 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2024;BA.debugLine="PB1.Progress = 30"; +Debug.ShouldStop(128); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2025;BA.debugLine="S_CH.Text = \"CARGANDO\""; +Debug.ShouldStop(256); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2026;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2027;BA.debugLine="PB1.Progress = 60"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2028;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2029;BA.debugLine="PB1.Progress = 100"; +Debug.ShouldStop(4096); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2030;BA.debugLine="S_CH.Text = \"LISTO\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + }; + }; + BA.debugLineNum = 2035;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2036;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(524288); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2037;BA.debugLine="If RESULT.Tag = \"histespecial\" Then 'query tag"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("histespecial")))) { + BA.debugLineNum = 2038;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(2097152); +{ +final RemoteObject group294 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen294 = group294.runMethod(true,"getSize").get() +;int index294 = 0; +; +for (; index294 < groupLen294;index294++){ +_records = (group294.runMethod(false,"Get",index294));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2039;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column"; +Debug.ShouldStop(4194304); +_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CLIENTE")))))));Debug.locals.put("CLIENTE", _cliente);Debug.locals.put("CLIENTE", _cliente); + BA.debugLineNum = 2040;BA.debugLine="Dim PROMOCION As String = records(RESULT.Colu"; +Debug.ShouldStop(8388608); +_promocion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("PRMOCION")))))));Debug.locals.put("PROMOCION", _promocion);Debug.locals.put("PROMOCION", _promocion); + BA.debugLineNum = 2041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cliente),(_promocion)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2044;BA.debugLine="If PB1.Progress = 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2045;BA.debugLine="PB1.Progress = 30"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2046;BA.debugLine="S_CH.Text = \"CARGANDO\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2047;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2048;BA.debugLine="PB1.Progress = 60"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2049;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2050;BA.debugLine="PB1.Progress = 100"; +Debug.ShouldStop(2); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2051;BA.debugLine="S_CH.Text = \"LISTO\""; +Debug.ShouldStop(4); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + }; + }; + BA.debugLineNum = 2056;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2057;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(256); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2058;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_cliente_promos")))) { + BA.debugLineNum = 2059;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1024); +{ +final RemoteObject group313 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen313 = group313.runMethod(true,"getSize").get() +;int index313 = 0; +; +for (; index313 < groupLen313;index313++){ +_records = (group313.runMethod(false,"Get",index313));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2060;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C"; +Debug.ShouldStop(2048); +_hccp_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_CLIENTE")))))));Debug.locals.put("HCCP_CLIENTE", _hccp_cliente);Debug.locals.put("HCCP_CLIENTE", _hccp_cliente); + BA.debugLineNum = 2061;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col"; +Debug.ShouldStop(4096); +_hccp_promo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_PROMO")))))));Debug.locals.put("HCCP_PROMO", _hccp_promo);Debug.locals.put("HCCP_PROMO", _hccp_promo); + BA.debugLineNum = 2062;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu"; +Debug.ShouldStop(8192); +_hccp_cant = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_CANT")))))));Debug.locals.put("HCCP_CANT", _hccp_cant);Debug.locals.put("HCCP_CANT", _hccp_cant); + BA.debugLineNum = 2063;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_CLIENTE_CANT_PROMOS(HCCP_CLIENTE, HCCP_PROMO, HCCP_CANT) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_hccp_cliente),(_hccp_promo),(_hccp_cant)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2069;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2070;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(2097152); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2071;BA.debugLine="If RESULT.Tag = \"promodesp\" Then 'query tag"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("promodesp")))) { + BA.debugLineNum = 2072;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8388608); +{ +final RemoteObject group324 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen324 = group324.runMethod(true,"getSize").get() +;int index324 = 0; +; +for (; index324 < groupLen324;index324++){ +_records = (group324.runMethod(false,"Get",index324));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2073;BA.debugLine="Dim CAT_PD_ALMACEN As String = records(RESULT"; +Debug.ShouldStop(16777216); +_cat_pd_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_ALMACEN")))))));Debug.locals.put("CAT_PD_ALMACEN", _cat_pd_almacen);Debug.locals.put("CAT_PD_ALMACEN", _cat_pd_almacen); + BA.debugLineNum = 2074;BA.debugLine="Dim CAT_PD_COD_PROMO As String = records(RESU"; +Debug.ShouldStop(33554432); +_cat_pd_cod_promo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_COD_PROMO")))))));Debug.locals.put("CAT_PD_COD_PROMO", _cat_pd_cod_promo);Debug.locals.put("CAT_PD_COD_PROMO", _cat_pd_cod_promo); + BA.debugLineNum = 2075;BA.debugLine="Dim CAT_PD_RANGO As String = records(RESULT.C"; +Debug.ShouldStop(67108864); +_cat_pd_rango = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_RANGO")))))));Debug.locals.put("CAT_PD_RANGO", _cat_pd_rango);Debug.locals.put("CAT_PD_RANGO", _cat_pd_rango); + BA.debugLineNum = 2076;BA.debugLine="Dim CAT_PD_RANGO2 As String = records(RESULT."; +Debug.ShouldStop(134217728); +_cat_pd_rango2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_RANGO2")))))));Debug.locals.put("CAT_PD_RANGO2", _cat_pd_rango2);Debug.locals.put("CAT_PD_RANGO2", _cat_pd_rango2); + BA.debugLineNum = 2077;BA.debugLine="Dim CAT_PD_VIGENCIA As String = records(RESUL"; +Debug.ShouldStop(268435456); +_cat_pd_vigencia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_VIGENCIA")))))));Debug.locals.put("CAT_PD_VIGENCIA", _cat_pd_vigencia);Debug.locals.put("CAT_PD_VIGENCIA", _cat_pd_vigencia); + BA.debugLineNum = 2078;BA.debugLine="Dim CAT_PD_DESCUENTO As String = records(RESU"; +Debug.ShouldStop(536870912); +_cat_pd_descuento = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_DESCUENTO")))))));Debug.locals.put("CAT_PD_DESCUENTO", _cat_pd_descuento);Debug.locals.put("CAT_PD_DESCUENTO", _cat_pd_descuento); + BA.debugLineNum = 2079;BA.debugLine="Dim CAT_PD_PRODUCTO As String = records(RESUL"; +Debug.ShouldStop(1073741824); +_cat_pd_producto = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_PRODUCTO")))))));Debug.locals.put("CAT_PD_PRODUCTO", _cat_pd_producto);Debug.locals.put("CAT_PD_PRODUCTO", _cat_pd_producto); + BA.debugLineNum = 2080;BA.debugLine="Dim CAT_PD_TIER As String = records(RESULT.Co"; +Debug.ShouldStop(-2147483648); +_cat_pd_tier = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_TIER")))))));Debug.locals.put("CAT_PD_TIER", _cat_pd_tier);Debug.locals.put("CAT_PD_TIER", _cat_pd_tier); + BA.debugLineNum = 2081;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_PROMOS_DESCUENTOS(CAT_PD_ALMACEN, CAT_PD_COD_PROMO, CAT_PD_RANGO, CAT_PD_VIGENCIA, CAT_PD_DESCUENTO, CAT_PD_PRODUCTO, CAT_PD_TIER,CAT_PD_RANGO2) VALUES (?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(_cat_pd_almacen),(_cat_pd_cod_promo),(_cat_pd_rango),(_cat_pd_vigencia),(_cat_pd_descuento),(_cat_pd_producto),(_cat_pd_tier),(_cat_pd_rango2)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2086;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2087;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(64); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2088;BA.debugLine="If RESULT.Tag = \"HIST_PROM\" Then 'query tag"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("HIST_PROM")))) { + BA.debugLineNum = 2090;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(512); +{ +final RemoteObject group340 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen340 = group340.runMethod(true,"getSize").get() +;int index340 = 0; +; +for (; index340 < groupLen340;index340++){ +_records = (group340.runMethod(false,"Get",index340));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2091;BA.debugLine="Dim HVD_CLIENTE2 As String = records(RESULT.C"; +Debug.ShouldStop(1024); +_hvd_cliente2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE")))))));Debug.locals.put("HVD_CLIENTE2", _hvd_cliente2);Debug.locals.put("HVD_CLIENTE2", _hvd_cliente2); + BA.debugLineNum = 2092;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROMO_ESP(HVD_CLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_hvd_cliente2)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2098;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2099;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(262144); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2100;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("HIST_MARCAS_CUOTAS")))) { + BA.debugLineNum = 2101;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1048576); +{ +final RemoteObject group349 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen349 = group349.runMethod(true,"getSize").get() +;int index349 = 0; +; +for (; index349 < groupLen349;index349++){ +_records = (group349.runMethod(false,"Get",index349));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2102;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu"; +Debug.ShouldStop(2097152); +_hmc_marca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HMC_MARCA")))))));Debug.locals.put("HMC_MARCA", _hmc_marca);Debug.locals.put("HMC_MARCA", _hmc_marca); + BA.debugLineNum = 2103;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu"; +Debug.ShouldStop(4194304); +_hmc_total = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HMC_TOTAL")))))));Debug.locals.put("HMC_TOTAL", _hmc_total);Debug.locals.put("HMC_TOTAL", _hmc_total); + BA.debugLineNum = 2104;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_MARCAS_CUOTAS(HMC_MARCA, HMC_TOTAL) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hmc_marca),(_hmc_total)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2110;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2111;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(1073741824); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2112;BA.debugLine="If RESULT.Tag = \"coordenadas\" Then 'query tag"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coordenadas")))) { + BA.debugLineNum = 2113;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1); +{ +final RemoteObject group359 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen359 = group359.runMethod(true,"getSize").get() +;int index359 = 0; +; +for (; index359 < groupLen359;index359++){ +_records = (group359.runMethod(false,"Get",index359));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2114;BA.debugLine="Dim latitud As String = records(RESULT.Column"; +Debug.ShouldStop(2); +_latitud = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))));Debug.locals.put("latitud", _latitud);Debug.locals.put("latitud", _latitud); + BA.debugLineNum = 2115;BA.debugLine="Dim longitud As String = records(RESULT.Colum"; +Debug.ShouldStop(4); +_longitud = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD")))))));Debug.locals.put("longitud", _longitud);Debug.locals.put("longitud", _longitud); + BA.debugLineNum = 2116;BA.debugLine="Dim GEOCERCA As String = records(RESULT.Colum"; +Debug.ShouldStop(8); +_geocerca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_GEOCERCA")))))));Debug.locals.put("GEOCERCA", _geocerca);Debug.locals.put("GEOCERCA", _geocerca); + BA.debugLineNum = 2117;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("LATITUD")),(_latitud)}))))); + BA.debugLineNum = 2118;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("LONGITUD")),(_longitud)}))))); + BA.debugLineNum = 2119;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("GEOCERCA")),(_geocerca)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2125;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2126;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(8192); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2127;BA.debugLine="If RESULT.Tag = \"password\" Then 'query tag"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("password")))) { + BA.debugLineNum = 2128;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group372 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen372 = group372.runMethod(true,"getSize").get() +;int index372 = 0; +; +for (; index372 < groupLen372;index372++){ +_records = (group372.runMethod(false,"Get",index372));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2129;BA.debugLine="Dim password As String = records(RESULT.Colum"; +Debug.ShouldStop(65536); +_password = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VA_VALOR")))))));Debug.locals.put("password", _password);Debug.locals.put("password", _password); + BA.debugLineNum = 2130;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("pasword")),(_password)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2136;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2137;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(16777216); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2138;BA.debugLine="If RESULT.Tag = \"KMT_VENTAFUTURA\" Then 'query t"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("KMT_VENTAFUTURA")))) { + BA.debugLineNum = 2139;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group381 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen381 = group381.runMethod(true,"getSize").get() +;int index381 = 0; +; +for (; index381 < groupLen381;index381++){ +_records = (group381.runMethod(false,"Get",index381));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2140;BA.debugLine="Dim CAT_RU_VENTAF As String = records(RESULT."; +Debug.ShouldStop(134217728); +_cat_ru_ventaf = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_RU_VENTAF")))))));Debug.locals.put("CAT_RU_VENTAF", _cat_ru_ventaf);Debug.locals.put("CAT_RU_VENTAF", _cat_ru_ventaf); + BA.debugLineNum = 2141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("VENTAFUTURA")),(_cat_ru_ventaf)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2148;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2149;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(16); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2150;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_comp_promos")))) { + BA.debugLineNum = 2151;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(64); +{ +final RemoteObject group390 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen390 = group390.runMethod(true,"getSize").get() +;int index390 = 0; +; +for (; index390 < groupLen390;index390++){ +_records = (group390.runMethod(false,"Get",index390));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2152;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(128); +_cat_pa_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_ID")))))));Debug.locals.put("CAT_PA_ID", _cat_pa_id);Debug.locals.put("CAT_PA_ID", _cat_pa_id); + BA.debugLineNum = 2153;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT"; +Debug.ShouldStop(256); +_cat_pa_maxprom = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROM")))))));Debug.locals.put("CAT_PA_MAXPROM", _cat_pa_maxprom);Debug.locals.put("CAT_PA_MAXPROM", _cat_pa_maxprom); + BA.debugLineNum = 2154;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES"; +Debug.ShouldStop(512); +_cat_pa_maxpromrec = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROMREC")))))));Debug.locals.put("CAT_PA_MAXPROMREC", _cat_pa_maxpromrec);Debug.locals.put("CAT_PA_MAXPROMREC", _cat_pa_maxpromrec); + BA.debugLineNum = 2155;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE"; +Debug.ShouldStop(1024); +_cat_pa_maxpromclie = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROMCLIE")))))));Debug.locals.put("CAT_PA_MAXPROMCLIE", _cat_pa_maxpromclie);Debug.locals.put("CAT_PA_MAXPROMCLIE", _cat_pa_maxpromclie); + BA.debugLineNum = 2156;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_cat_pa_id),(_cat_pa_maxprom),(_cat_pa_maxpromrec),(_cat_pa_maxpromclie)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2158;BA.debugLine="If PB1.Progress = 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2159;BA.debugLine="PB1.Progress = 30"; +Debug.ShouldStop(16384); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2160;BA.debugLine="S_CH.Text = \"CARGANDO\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2161;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2162;BA.debugLine="PB1.Progress = 60"; +Debug.ShouldStop(131072); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2163;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2164;BA.debugLine="PB1.Progress = 100"; +Debug.ShouldStop(524288); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2165;BA.debugLine="S_CH.Text = \"LISTO\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + }; + }; + BA.debugLineNum = 2182;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2183;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(64); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2184;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("marcas_rutas")))) { + BA.debugLineNum = 2185;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(256); +{ +final RemoteObject group411 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen411 = group411.runMethod(true,"getSize").get() +;int index411 = 0; +; +for (; index411 < groupLen411;index411++){ +_records = (group411.runMethod(false,"Get",index411));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2186;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu"; +Debug.ShouldStop(512); +_hvd_marca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_MARCA")))))));Debug.locals.put("HVD_MARCA", _hvd_marca);Debug.locals.put("HVD_MARCA", _hvd_marca); + BA.debugLineNum = 2187;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum"; +Debug.ShouldStop(1024); +_clientes = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CLIENTES")))))));Debug.locals.put("CLIENTES", _clientes);Debug.locals.put("CLIENTES", _clientes); + BA.debugLineNum = 2188;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO MARCAS_RUTAS(HVD_MARCA, CLIENTES) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hvd_marca),(_clientes)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2217;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2218;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(512); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2219;BA.debugLine="If RESULT.Tag = \"COMISIONES\" Then 'query tag"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("COMISIONES")))) { + BA.debugLineNum = 2220;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(2048); +{ +final RemoteObject group421 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen421 = group421.runMethod(true,"getSize").get() +;int index421 = 0; +; +for (; index421 < groupLen421;index421++){ +_records = (group421.runMethod(false,"Get",index421));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2221;BA.debugLine="Dim HCM_TOTAL_V As String = records(RESULT.Co"; +Debug.ShouldStop(4096); +_hcm_total_v = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCM_TOTAL_V")))))));Debug.locals.put("HCM_TOTAL_V", _hcm_total_v);Debug.locals.put("HCM_TOTAL_V", _hcm_total_v); + BA.debugLineNum = 2222;BA.debugLine="Dim HCM_TOTAL_VIVE As String = records(RESULT"; +Debug.ShouldStop(8192); +_hcm_total_vive = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCM_TOTAL_VIVE")))))));Debug.locals.put("HCM_TOTAL_VIVE", _hcm_total_vive);Debug.locals.put("HCM_TOTAL_VIVE", _hcm_total_vive); + BA.debugLineNum = 2223;BA.debugLine="Dim HCM_TOTAL_GUNA As String = records(RESULT"; +Debug.ShouldStop(16384); +_hcm_total_guna = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCM_TOTAL_GUNA")))))));Debug.locals.put("HCM_TOTAL_GUNA", _hcm_total_guna);Debug.locals.put("HCM_TOTAL_GUNA", _hcm_total_guna); + BA.debugLineNum = 2224;BA.debugLine="Dim HCM_TOTAL_BEB As String = records(RESULT."; +Debug.ShouldStop(32768); +_hcm_total_beb = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCM_TOTAL_BEB")))))));Debug.locals.put("HCM_TOTAL_BEB", _hcm_total_beb);Debug.locals.put("HCM_TOTAL_BEB", _hcm_total_beb); + BA.debugLineNum = 2225;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_COMISIONES_MOVIL (HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA , HCM_TOTAL_BEB) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_hcm_total_v),(_hcm_total_vive),(_hcm_total_guna),(_hcm_total_beb)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2230;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2231;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(4194304); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2232;BA.debugLine="If RESULT.Tag = \"ENCUESTA_CLIENTE\" Then 'query"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ENCUESTA_CLIENTE")))) { + BA.debugLineNum = 2233;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16777216); +{ +final RemoteObject group433 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen433 = group433.runMethod(true,"getSize").get() +;int index433 = 0; +; +for (; index433 < groupLen433;index433++){ +_records = (group433.runMethod(false,"Get",index433));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2234;BA.debugLine="Dim HEC_CLIENTE As String = records(RESULT.Co"; +Debug.ShouldStop(33554432); +_hec_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HEC_CLIENTE")))))));Debug.locals.put("HEC_CLIENTE", _hec_cliente);Debug.locals.put("HEC_CLIENTE", _hec_cliente); + BA.debugLineNum = 2235;BA.debugLine="Dim HEC_MODULO As String = records(RESULT.Col"; +Debug.ShouldStop(67108864); +_hec_modulo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HEC_MODULO")))))));Debug.locals.put("HEC_MODULO", _hec_modulo);Debug.locals.put("HEC_MODULO", _hec_modulo); + BA.debugLineNum = 2236;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_ENCUESTA_CLIENTE (HEC_CLIENTE , HEC_MODULO) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hec_cliente),(_hec_modulo)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2241;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2242;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(2); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2243;BA.debugLine="If RESULT.Tag = \"promoesp\" Then 'query tag"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("promoesp")))) { + BA.debugLineNum = 2244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_PROMO_ESP"))); + BA.debugLineNum = 2245;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16); +{ +final RemoteObject group444 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen444 = group444.runMethod(true,"getSize").get() +;int index444 = 0; +; +for (; index444 < groupLen444;index444++){ +_records = (group444.runMethod(false,"Get",index444));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2246;BA.debugLine="Dim CAT_PE_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(32); +_cat_pe_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PE_ID")))))));Debug.locals.put("CAT_PE_ID", _cat_pe_id);Debug.locals.put("CAT_PE_ID", _cat_pe_id); + BA.debugLineNum = 2247;BA.debugLine="Dim CAT_PE_IDPROMO As String = records(RESULT"; +Debug.ShouldStop(64); +_cat_pe_idpromo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PE_IDPROMO")))))));Debug.locals.put("CAT_PE_IDPROMO", _cat_pe_idpromo);Debug.locals.put("CAT_PE_IDPROMO", _cat_pe_idpromo); + BA.debugLineNum = 2248;BA.debugLine="Dim CAT_PE_MONTO As String = records(RESULT.C"; +Debug.ShouldStop(128); +_cat_pe_monto = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PE_MONTO")))))));Debug.locals.put("CAT_PE_MONTO", _cat_pe_monto);Debug.locals.put("CAT_PE_MONTO", _cat_pe_monto); + BA.debugLineNum = 2249;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_PROMO_ESP(CAT_PE_ID, CAT_PE_IDPROMO, CAT_PE_MONTO) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_cat_pe_id),(_cat_pe_idpromo),(_cat_pe_monto)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2255;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2256;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(32768); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2257;BA.debugLine="If RESULT.Tag = \"HIST_ENCUESTA2\" Then 'query ta"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("HIST_ENCUESTA2")))) { + BA.debugLineNum = 2258;BA.debugLine="B4XPages.MainPage.skmt.BeginTransaction"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 2259;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(262144); +{ +final RemoteObject group456 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen456 = group456.runMethod(true,"getSize").get() +;int index456 = 0; +; +for (; index456 < groupLen456;index456++){ +_records = (group456.runMethod(false,"Get",index456));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2260;BA.debugLine="Dim HE_CLIENTE As String = records(RESULT.Col"; +Debug.ShouldStop(524288); +_he_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HE_CLIENTE")))))));Debug.locals.put("HE_CLIENTE", _he_cliente);Debug.locals.put("HE_CLIENTE", _he_cliente); + BA.debugLineNum = 2261;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_ENCUESTA2(HE_CLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_he_cliente)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2263;BA.debugLine="B4XPages.MainPage.skmt.TransactionSuccessful"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 2264;BA.debugLine="B4XPages.MainPage.skmt.EndTransaction"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("EndTransaction"); + }; + }; + BA.debugLineNum = 2268;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2269;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(268435456); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2270;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod")))) { + BA.debugLineNum = 2271;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));}; + BA.debugLineNum = 2272;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group468 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen468 = group468.runMethod(true,"getSize").get() +;int index468 = 0; +; +for (; index468 < groupLen468;index468++){ +_records = (group468.runMethod(false,"Get",index468));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2273;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(1); +_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id); + BA.debugLineNum = 2274;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(2); +_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 2275;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(4); +_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1); + BA.debugLineNum = 2276;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(8); +_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2); + BA.debugLineNum = 2277;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(16); +_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio); + BA.debugLineNum = 2278;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(32); +_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif); + BA.debugLineNum = 2279;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(64); +_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts); + BA.debugLineNum = 2280;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(128); +_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo); + BA.debugLineNum = 2281;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(256); +_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo); + BA.debugLineNum = 2282;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(512); +_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img); + BA.debugLineNum = 2283;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(1024); +_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + BA.debugLineNum = 2284;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col"; +Debug.ShouldStop(2048); +_cat_gp_dev = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_DEV")))))));Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);Debug.locals.put("CAT_GP_DEV", _cat_gp_dev); + BA.debugLineNum = 2285;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(4096); +_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 2286;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; +Debug.ShouldStop(8192); +_cat_gp_iniciativa = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa); + BA.debugLineNum = 2287;BA.debugLine="Dim CAT_LISTAPRECIO As String = records(RESUL"; +Debug.ShouldStop(16384); +_cat_listaprecio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LISTAPRECIO")))))));Debug.locals.put("CAT_LISTAPRECIO", _cat_listaprecio);Debug.locals.put("CAT_LISTAPRECIO", _cat_listaprecio); + BA.debugLineNum = 2288;BA.debugLine="Dim CAT_GP_CONVERSION3 As String = records(RE"; +Debug.ShouldStop(32768); +_cat_gp_conversion3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CONVERSION3")))))));Debug.locals.put("CAT_GP_CONVERSION3", _cat_gp_conversion3);Debug.locals.put("CAT_GP_CONVERSION3", _cat_gp_conversion3); + BA.debugLineNum = 2289;BA.debugLine="Dim CAT_GP_CONVERSION2 As String = records(RE"; +Debug.ShouldStop(65536); +_cat_gp_conversion2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CONVERSION2")))))));Debug.locals.put("CAT_GP_CONVERSION2", _cat_gp_conversion2);Debug.locals.put("CAT_GP_CONVERSION2", _cat_gp_conversion2); + BA.debugLineNum = 2293;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_LISTAPRECIO, CAT_GP_DEV, CAT_GP_CONVERSION3,CAT_GP_CONVERSION2) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {17},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod),(_cat_gp_iniciativa),(_cat_listaprecio),(_cat_gp_dev),(_cat_gp_conversion3),(_cat_gp_conversion2)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2295;BA.debugLine="Listo2=1"; +Debug.ShouldStop(4194304); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2296;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2297;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2298;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2299;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2300;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2301;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2302;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2303;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2306;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2308;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(8); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2309;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(16); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 2314;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2315;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(1024); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2316;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod2")))) { + BA.debugLineNum = 2317;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));}; + BA.debugLineNum = 2318;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8192); +{ +final RemoteObject group508 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen508 = group508.runMethod(true,"getSize").get() +;int index508 = 0; +; +for (; index508 < groupLen508;index508++){ +_records = (group508.runMethod(false,"Get",index508));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2319;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(16384); +_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id); + BA.debugLineNum = 2320;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(32768); +_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 2321;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(65536); +_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1); + BA.debugLineNum = 2322;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(131072); +_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2); + BA.debugLineNum = 2323;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(262144); +_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio); + BA.debugLineNum = 2324;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(524288); +_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif); + BA.debugLineNum = 2325;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(1048576); +_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts); + BA.debugLineNum = 2326;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(2097152); +_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo); + BA.debugLineNum = 2327;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(4194304); +_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo); + BA.debugLineNum = 2328;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(8388608); +_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img); + BA.debugLineNum = 2329;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(16777216); +_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + BA.debugLineNum = 2331;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(67108864); +_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 2332;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; +Debug.ShouldStop(134217728); +_cat_gp_iniciativa = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa); + BA.debugLineNum = 2333;BA.debugLine="Dim CAT_GP_CODPROMO As String = records(RESUL"; +Debug.ShouldStop(268435456); +_cat_gp_codpromo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CODPROMO")))))));Debug.locals.put("CAT_GP_CODPROMO", _cat_gp_codpromo);Debug.locals.put("CAT_GP_CODPROMO", _cat_gp_codpromo); + BA.debugLineNum = 2336;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_GP_CODPROMO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod),(_cat_gp_iniciativa),(_cat_gp_codpromo)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2338;BA.debugLine="Listo2=1"; +Debug.ShouldStop(2); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2339;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2340;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(8); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2341;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(16); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2342;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2343;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(64); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2344;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2345;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(256); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2346;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(512); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2349;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2351;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2352;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(32768); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 2357;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2358;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(2097152); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2359;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodp")))) { + BA.debugLineNum = 2360;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8388608); +{ +final RemoteObject group544 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen544 = group544.runMethod(true,"getSize").get() +;int index544 = 0; +; +for (; index544 < groupLen544;index544++){ +_records = (group544.runMethod(false,"Get",index544));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2361;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(16777216); +_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id); + BA.debugLineNum = 2362;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(33554432); +_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 2363;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(67108864); +_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1); + BA.debugLineNum = 2364;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(134217728); +_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2); + BA.debugLineNum = 2365;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(268435456); +_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio); + BA.debugLineNum = 2366;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(536870912); +_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif); + BA.debugLineNum = 2367;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(1073741824); +_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts); + BA.debugLineNum = 2368;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(-2147483648); +_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo); + BA.debugLineNum = 2369;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(1); +_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo); + BA.debugLineNum = 2370;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(2); +_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img); + BA.debugLineNum = 2371;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(4); +_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + BA.debugLineNum = 2372;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(8); +_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 2373;BA.debugLine="Dim CAT_PA_BSEGMENTA As String = records(RESU"; +Debug.ShouldStop(16); +_cat_pa_bsegmenta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_BSEGMENTA")))))));Debug.locals.put("CAT_PA_BSEGMENTA", _cat_pa_bsegmenta);Debug.locals.put("CAT_PA_BSEGMENTA", _cat_pa_bsegmenta); + BA.debugLineNum = 2374;BA.debugLine="Dim CAT_PA_SEGMENTAV As String = records(RESU"; +Debug.ShouldStop(32); +_cat_pa_segmentav = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_SEGMENTAV")))))));Debug.locals.put("CAT_PA_SEGMENTAV", _cat_pa_segmentav);Debug.locals.put("CAT_PA_SEGMENTAV", _cat_pa_segmentav); + BA.debugLineNum = 2375;BA.debugLine="CAT_GP_TIPOPROD = \"5\""; +Debug.ShouldStop(64); +_cat_gp_tipoprod = BA.numberCast(int.class, "5");Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 2376;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_cat_gp_id,BA.ObjectToString("PAQUNI003"))) { + BA.debugLineNum = 2377;BA.debugLine="CAT_GP_ALMACEN = 60"; +Debug.ShouldStop(256); +_cat_gp_almacen = BA.numberCast(int.class, 60);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + }; + BA.debugLineNum = 2379;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_PA_BSEGMENTA,CAT_PA_SEGMENTAV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod),(_cat_pa_bsegmenta),(_cat_pa_segmentav)}))))); + BA.debugLineNum = 2383;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_PA_BSEGMENTA,CAT_PA_SEGMENTAV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod),(_cat_pa_bsegmenta),(_cat_pa_segmentav)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2386;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2387;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(262144); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2388;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2389;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2390;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2391;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2392;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2393;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2396;BA.debugLine="Listo4=1"; +Debug.ShouldStop(134217728); +__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2397;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2399;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2400;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 2401;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inve" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2403;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(4); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2404;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(8); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 2409;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2410;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(512); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2411;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodps")))) { + BA.debugLineNum = 2412;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(2048); +{ +final RemoteObject group588 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen588 = group588.runMethod(true,"getSize").get() +;int index588 = 0; +; +for (; index588 < groupLen588;index588++){ +_records = (group588.runMethod(false,"Get",index588));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2413;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(4096); +_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id); + BA.debugLineNum = 2414;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(8192); +_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 2415;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(16384); +_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1); + BA.debugLineNum = 2416;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(32768); +_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2); + BA.debugLineNum = 2417;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(65536); +_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio); + BA.debugLineNum = 2418;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(131072); +_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif); + BA.debugLineNum = 2419;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(262144); +_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts); + BA.debugLineNum = 2420;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(524288); +_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo); + BA.debugLineNum = 2421;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(1048576); +_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo); + BA.debugLineNum = 2422;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(2097152); +_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img); + BA.debugLineNum = 2423;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(4194304); +_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + BA.debugLineNum = 2424;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(8388608); +_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 2425;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2427;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2428;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2429;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2431;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2432;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2433;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2434;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(2); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2435;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(4); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2439;BA.debugLine="Listo4=1"; +Debug.ShouldStop(64); +__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2440;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2442;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(512); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2443;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(1024); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 2444;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inve" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2446;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2447;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(16384); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 2452;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2453;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(1048576); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2454;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("detallepaq")))) { + BA.debugLineNum = 2455;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(4194304); +{ +final RemoteObject group625 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen625 = group625.runMethod(true,"getSize").get() +;int index625 = 0; +; +for (; index625 < groupLen625;index625++){ +_records = (group625.runMethod(false,"Get",index625));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2456;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(RESUL"; +Debug.ShouldStop(8388608); +_cat_dp_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ALMACEN")))))));Debug.locals.put("CAT_DP_ALMACEN", _cat_dp_almacen);Debug.locals.put("CAT_DP_ALMACEN", _cat_dp_almacen); + BA.debugLineNum = 2457;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(16777216); +_cat_dp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ID")))))));Debug.locals.put("CAT_DP_ID", _cat_dp_id);Debug.locals.put("CAT_DP_ID", _cat_dp_id); + BA.debugLineNum = 2458;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT."; +Debug.ShouldStop(33554432); +_cat_dp_idprod = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IDPROD")))))));Debug.locals.put("CAT_DP_IDPROD", _cat_dp_idprod);Debug.locals.put("CAT_DP_IDPROD", _cat_dp_idprod); + BA.debugLineNum = 2459;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(67108864); +_cat_dp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPO")))))));Debug.locals.put("CAT_DP_TIPO", _cat_dp_tipo);Debug.locals.put("CAT_DP_TIPO", _cat_dp_tipo); + BA.debugLineNum = 2460;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co"; +Debug.ShouldStop(134217728); +_cat_dp_pzas = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PZAS")))))));Debug.locals.put("CAT_DP_PZAS", _cat_dp_pzas);Debug.locals.put("CAT_DP_PZAS", _cat_dp_pzas); + BA.debugLineNum = 2461;BA.debugLine="Dim CAT_DP_USUARIO As String = records(RESUL"; +Debug.ShouldStop(268435456); +_cat_dp_usuario = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_USUARIO")))))));Debug.locals.put("CAT_DP_USUARIO", _cat_dp_usuario);Debug.locals.put("CAT_DP_USUARIO", _cat_dp_usuario); + BA.debugLineNum = 2462;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C"; +Debug.ShouldStop(536870912); +_cat_dp_fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_FECHA")))))));Debug.locals.put("CAT_DP_FECHA", _cat_dp_fecha);Debug.locals.put("CAT_DP_FECHA", _cat_dp_fecha); + BA.debugLineNum = 2463;BA.debugLine="Dim CAT_DP_REGALO As String = records(RESULT"; +Debug.ShouldStop(1073741824); +_cat_dp_regalo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_REGALO")))))));Debug.locals.put("CAT_DP_REGALO", _cat_dp_regalo);Debug.locals.put("CAT_DP_REGALO", _cat_dp_regalo); + BA.debugLineNum = 2464;BA.debugLine="Dim CAT_DP_CLASIF As String = records(RESULT"; +Debug.ShouldStop(-2147483648); +_cat_dp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CLASIF")))))));Debug.locals.put("CAT_DP_CLASIF", _cat_dp_clasif);Debug.locals.put("CAT_DP_CLASIF", _cat_dp_clasif); + BA.debugLineNum = 2465;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(1); +_cat_dp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO")))))));Debug.locals.put("CAT_DP_PRECIO", _cat_dp_precio);Debug.locals.put("CAT_DP_PRECIO", _cat_dp_precio); + BA.debugLineNum = 2466;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; +Debug.ShouldStop(2); +_cat_dp_precio_simptos = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))))));Debug.locals.put("CAT_DP_PRECIO_SIMPTOS", _cat_dp_precio_simptos);Debug.locals.put("CAT_DP_PRECIO_SIMPTOS", _cat_dp_precio_simptos); + BA.debugLineNum = 2467;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(_cat_dp_almacen),(_cat_dp_id),(_cat_dp_idprod),(_cat_dp_tipo),(_cat_dp_pzas),(_cat_dp_usuario),(_cat_dp_fecha),(_cat_dp_regalo),(_cat_dp_clasif),(_cat_dp_precio),(_cat_dp_precio_simptos)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2469;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2470;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(32); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2471;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(64); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2472;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2473;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(256); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2474;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2475;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2476;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2478;BA.debugLine="Listo3 =1"; +Debug.ShouldStop(8192); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2479;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2481;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2482;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(131072); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 2483;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inve" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2485;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2486;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(2097152); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 2491;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2492;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(134217728); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2493;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_datos")))) { + BA.debugLineNum = 2494;BA.debugLine="Dim cont As Int = 0"; +Debug.ShouldStop(536870912); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2495;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1073741824); +{ +final RemoteObject group662 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen662 = group662.runMethod(true,"getSize").get() +;int index662 = 0; +; +for (; index662 < groupLen662;index662++){ +_records = (group662.runMethod(false,"Get",index662));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2496;BA.debugLine="cont = cont +1"; +Debug.ShouldStop(-2147483648); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2497;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co"; +Debug.ShouldStop(1); +_hvd_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE")))))));Debug.locals.put("HVD_CLIENTE", _hvd_cliente);Debug.locals.put("HVD_CLIENTE", _hvd_cliente); + BA.debugLineNum = 2498;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT."; +Debug.ShouldStop(2); +_hvd_pronombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_PRONOMBRE")))))));Debug.locals.put("HVD_PRONOMBRE", _hvd_pronombre);Debug.locals.put("HVD_PRONOMBRE", _hvd_pronombre); + BA.debugLineNum = 2499;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum"; +Debug.ShouldStop(4); +_hvd_cant = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CANT")))))));Debug.locals.put("HVD_CANT", _hvd_cant);Debug.locals.put("HVD_CANT", _hvd_cant); + BA.debugLineNum = 2500;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT."; +Debug.ShouldStop(8); +_hvd_costo_tot = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_COSTO_TOT")))))));Debug.locals.put("HVD_COSTO_TOT", _hvd_costo_tot);Debug.locals.put("HVD_COSTO_TOT", _hvd_costo_tot); + BA.debugLineNum = 2501;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu"; +Debug.ShouldStop(16); +_hvd_fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_FECHA")))))));Debug.locals.put("HVD_FECHA", _hvd_fecha);Debug.locals.put("HVD_FECHA", _hvd_fecha); + BA.debugLineNum = 2503;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA) VALUES (?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2505;BA.debugLine="Listo3 =1"; +Debug.ShouldStop(256); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2506;BA.debugLine="If PB1.Progress = 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2507;BA.debugLine="PB1.Progress = 30"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2508;BA.debugLine="S_CH.Text = \"CARGANDO\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2509;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2510;BA.debugLine="PB1.Progress = 60"; +Debug.ShouldStop(8192); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2511;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2512;BA.debugLine="PB1.Progress = 100"; +Debug.ShouldStop(32768); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2513;BA.debugLine="S_CH.Text = \"LISTO\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2516;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2518;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2519;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(4194304); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 2524;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2525;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(268435456); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2526;BA.debugLine="If RESULT.Tag = \"hist_ventastodos\" Then 'query"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_ventastodos")))) { + BA.debugLineNum = 2528;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group690 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen690 = group690.runMethod(true,"getSize").get() +;int index690 = 0; +; +for (; index690 < groupLen690;index690++){ +_records = (group690.runMethod(false,"Get",index690));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2530;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co"; +Debug.ShouldStop(2); +_hvd_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE")))))));Debug.locals.put("HVD_CLIENTE", _hvd_cliente);Debug.locals.put("HVD_CLIENTE", _hvd_cliente); + BA.debugLineNum = 2531;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT."; +Debug.ShouldStop(4); +_hvd_pronombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_PRONOMBRE")))))));Debug.locals.put("HVD_PRONOMBRE", _hvd_pronombre);Debug.locals.put("HVD_PRONOMBRE", _hvd_pronombre); + BA.debugLineNum = 2532;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum"; +Debug.ShouldStop(8); +_hvd_cant = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CANT")))))));Debug.locals.put("HVD_CANT", _hvd_cant);Debug.locals.put("HVD_CANT", _hvd_cant); + BA.debugLineNum = 2533;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT."; +Debug.ShouldStop(16); +_hvd_costo_tot = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_COSTO_TOT")))))));Debug.locals.put("HVD_COSTO_TOT", _hvd_costo_tot);Debug.locals.put("HVD_COSTO_TOT", _hvd_costo_tot); + BA.debugLineNum = 2534;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu"; +Debug.ShouldStop(32); +_hvd_fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_FECHA")))))));Debug.locals.put("HVD_FECHA", _hvd_fecha);Debug.locals.put("HVD_FECHA", _hvd_fecha); + BA.debugLineNum = 2535;BA.debugLine="Log(HVD_CLIENTE&\"--\"&HVD_PRONOMBRE&\"--\"&HVD_C"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","03736495",RemoteObject.concat(_hvd_cliente,RemoteObject.createImmutable("--"),_hvd_pronombre,RemoteObject.createImmutable("--"),_hvd_cant,RemoteObject.createImmutable("--"),_hvd_costo_tot),0); + BA.debugLineNum = 2536;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO hist_ventastodos(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA) VALUES (?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2542;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2543;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(16384); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2544;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("variables")))) { + BA.debugLineNum = 2545;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(65536); +{ +final RemoteObject group704 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen704 = group704.runMethod(true,"getSize").get() +;int index704 = 0; +; +for (; index704 < groupLen704;index704++){ +_records = (group704.runMethod(false,"Get",index704));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2546;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE"; +Debug.ShouldStop(131072); +_cat_va_descripcion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VA_DESCRIPCION")))))));Debug.locals.put("Cat_Va_Descripcion", _cat_va_descripcion);Debug.locals.put("Cat_Va_Descripcion", _cat_va_descripcion); + BA.debugLineNum = 2547;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; +Debug.ShouldStop(262144); +_cat_va_valor = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VA_VALOR")))))));Debug.locals.put("Cat_Va_Valor", _cat_va_valor);Debug.locals.put("Cat_Va_Valor", _cat_va_valor); + BA.debugLineNum = 2548;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cat_va_descripcion),(_cat_va_valor)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2553;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2554;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(33554432); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2555;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CUESTIONARIO")))) { + BA.debugLineNum = 2556;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(134217728); +{ +final RemoteObject group714 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen714 = group714.runMethod(true,"getSize").get() +;int index714 = 0; +; +for (; index714 < groupLen714;index714++){ +_records = (group714.runMethod(false,"Get",index714));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2557;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; +Debug.ShouldStop(268435456); +_cat_va_valor = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VALOR")))))));Debug.locals.put("Cat_Va_Valor", _cat_va_valor);Debug.locals.put("Cat_Va_Valor", _cat_va_valor); + BA.debugLineNum = 2558;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("CUESTIONARIO"))}))))); + BA.debugLineNum = 2559;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1073741824); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("CUESTIONARIO")),(_cat_va_valor)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2564;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2565;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(16); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2566;BA.debugLine="If RESULT.Tag = \"carga_encuesta\" Then 'query ta"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("carga_encuesta")))) { + BA.debugLineNum = 2567;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(64); +{ +final RemoteObject group724 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen724 = group724.runMethod(true,"getSize").get() +;int index724 = 0; +; +for (; index724 < groupLen724;index724++){ +_records = (group724.runMethod(false,"Get",index724));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2568;BA.debugLine="Dim CAT_EP_ID As String = records(RESULT.COLU"; +Debug.ShouldStop(128); +_cat_ep_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_ID")))))));Debug.locals.put("CAT_EP_ID", _cat_ep_id);Debug.locals.put("CAT_EP_ID", _cat_ep_id); + BA.debugLineNum = 2569;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records"; +Debug.ShouldStop(256); +_cat_ep_idtipopregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA")))))));Debug.locals.put("CAT_EP_IDTIPOPREGUNTA", _cat_ep_idtipopregunta);Debug.locals.put("CAT_EP_IDTIPOPREGUNTA", _cat_ep_idtipopregunta); + BA.debugLineNum = 2570;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(RE"; +Debug.ShouldStop(512); +_cat_ce_descripcion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CE_DESCRIPCION")))))));Debug.locals.put("CAT_CE_DESCRIPCION", _cat_ce_descripcion);Debug.locals.put("CAT_CE_DESCRIPCION", _cat_ce_descripcion); + BA.debugLineNum = 2571;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(RESUL"; +Debug.ShouldStop(1024); +_cat_ep_pregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_PREGUNTA")))))));Debug.locals.put("CAT_EP_PREGUNTA", _cat_ep_pregunta);Debug.locals.put("CAT_EP_PREGUNTA", _cat_ep_pregunta); + BA.debugLineNum = 2572;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(RESU"; +Debug.ShouldStop(2048); +_cat_ep_res1_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES1_PRED")))))));Debug.locals.put("CAT_EP_RES1_PRED", _cat_ep_res1_pred);Debug.locals.put("CAT_EP_RES1_PRED", _cat_ep_res1_pred); + BA.debugLineNum = 2573;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(RESU"; +Debug.ShouldStop(4096); +_cat_ep_res2_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES2_PRED")))))));Debug.locals.put("CAT_EP_RES2_PRED", _cat_ep_res2_pred);Debug.locals.put("CAT_EP_RES2_PRED", _cat_ep_res2_pred); + BA.debugLineNum = 2574;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(RESU"; +Debug.ShouldStop(8192); +_cat_ep_res3_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES3_PRED")))))));Debug.locals.put("CAT_EP_RES3_PRED", _cat_ep_res3_pred);Debug.locals.put("CAT_EP_RES3_PRED", _cat_ep_res3_pred); + BA.debugLineNum = 2575;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records"; +Debug.ShouldStop(16384); +_cat_ep_orden_pregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_ORDEN_PREGUNTA")))))));Debug.locals.put("CAT_EP_ORDEN_PREGUNTA", _cat_ep_orden_pregunta);Debug.locals.put("CAT_EP_ORDEN_PREGUNTA", _cat_ep_orden_pregunta); + BA.debugLineNum = 2576;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ENCUESTA_PREGUNTA (CAT_EP_ID ,CAT_EP_IDTIPOPREGUNTA ,CAT_CE_DESCRIPCION ,CAT_EP_PREGUNTA ,CAT_EP_RES1_PRED ,CAT_EP_RES2_PRED ,CAT_EP_RES3_PRED ,CAT_EP_ORDEN_PREGUNTA ) VALUES (?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(_cat_ep_id),(_cat_ep_idtipopregunta),(_cat_ce_descripcion),(_cat_ep_pregunta),(_cat_ep_res1_pred),(_cat_ep_res2_pred),(_cat_ep_res3_pred),(_cat_ep_orden_pregunta)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2581;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2582;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(2097152); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2583;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedido")))) { + BA.debugLineNum = 2584;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8388608); +{ +final RemoteObject group740 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen740 = group740.runMethod(true,"getSize").get() +;int index740 = 0; +; +for (; index740 < groupLen740;index740++){ +_records = (group740.runMethod(false,"Get",index740));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2585;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns."; +Debug.ShouldStop(16777216); +_cuantosp = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOSP")))))));Debug.locals.put("CUANTOSP", _cuantosp);Debug.locals.put("CUANTOSP", _cuantosp); + BA.debugLineNum = 2588;BA.debugLine="If cuantos_pedido < = CUANTOSP Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("k",BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )),BA.numberCast(double.class, _cuantosp))) { + BA.debugLineNum = 2590;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(536870912); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + BA.debugLineNum = 2591;BA.debugLine="S_CP.Text = \"INFO OK\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("INFO OK")); + BA.debugLineNum = 2592;BA.debugLine="B_OK_PAS.Text = \"OK\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_b_ok_pas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("OK")); + }else { + BA.debugLineNum = 2594;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info P. Sync Nuevamente"),_cuantosp,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 2595;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\""; +Debug.ShouldStop(4); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIAR DATOS (K-2)")); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2601;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2602;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(512); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2603;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedidoc")))) { + BA.debugLineNum = 2604;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(2048); +{ +final RemoteObject group756 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen756 = group756.runMethod(true,"getSize").get() +;int index756 = 0; +; +for (; index756 < groupLen756;index756++){ +_records = (group756.runMethod(false,"Get",index756));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2605;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns."; +Debug.ShouldStop(4096); +_cuantosc = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOSC")))))));Debug.locals.put("CUANTOSC", _cuantosc);Debug.locals.put("CUANTOSC", _cuantosc); + BA.debugLineNum = 2606;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ ),BA.NumberToString(_cuantosc))) { + BA.debugLineNum = 2608;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(32768); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + }else { + BA.debugLineNum = 2610;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info C. Sync Nuevamente"),_cuantosc,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));}; + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2616;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2617;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(16777216); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2618;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_noventa")))) { + BA.debugLineNum = 2619;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group769 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen769 = group769.runMethod(true,"getSize").get() +;int index769 = 0; +; +for (; index769 < groupLen769;index769++){ +_records = (group769.runMethod(false,"Get",index769));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2620;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns."; +Debug.ShouldStop(134217728); +_cuantosn = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOSN")))))));Debug.locals.put("CUANTOSN", _cuantosn);Debug.locals.put("CUANTOSN", _cuantosn); + BA.debugLineNum = 2621;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ ),BA.NumberToString(_cuantosn))) { + BA.debugLineNum = 2623;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + }else { + BA.debugLineNum = 2625;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info N. Sync Nuevamente"),_cuantosn,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));}; + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2631;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2632;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(128); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2633;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_pedido")))) { + BA.debugLineNum = 2634;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(512); +{ +final RemoteObject group782 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen782 = group782.runMethod(true,"getSize").get() +;int index782 = 0; +; +for (; index782 < groupLen782;index782++){ +_records = (group782.runMethod(false,"Get",index782));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2635;BA.debugLine="PB2.Progress = PB2.Progress + 5"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),RemoteObject.createImmutable(5)}, "+",1, 1)); + BA.debugLineNum = 2636;BA.debugLine="S_CP.Text = \"SUBIENDO\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SUBIENDO")); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2638;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(8192); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2639;BA.debugLine="S_CP.Text = \"ENVIANDO\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIANDO")); + }; + }; + BA.debugLineNum = 2644;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2645;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(1048576); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2646;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { + BA.debugLineNum = 2647;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(4194304); +{ +final RemoteObject group793 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen793 = group793.runMethod(true,"getSize").get() +;int index793 = 0; +; +for (; index793 < groupLen793;index793++){ +_records = (group793.runMethod(false,"Get",index793));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2648;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 2649;BA.debugLine="Dim CAT_VE_VERSION As String = records(RESULT"; +Debug.ShouldStop(16777216); +_cat_ve_version = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_VERSION")))))));Debug.locals.put("CAT_VE_VERSION", _cat_ve_version);Debug.locals.put("CAT_VE_VERSION", _cat_ve_version); + BA.debugLineNum = 2650;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_ve_version)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2655;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2656;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(-2147483648); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2657;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("count_cli")))) { + BA.debugLineNum = 2658;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(2); +{ +final RemoteObject group803 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen803 = group803.runMethod(true,"getSize").get() +;int index803 = 0; +; +for (; index803 < groupLen803;index803++){ +_records = (group803.runMethod(false,"Get",index803));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2659;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN"; +Debug.ShouldStop(4); +__ref.setField ("_count_clie" /*RemoteObject*/ ,BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COUNT_CLIE")))))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2664;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2665;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(256); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2666;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ruta")))) { + BA.debugLineNum = 2667;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1024); +{ +final RemoteObject group811 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen811 = group811.runMethod(true,"getSize").get() +;int index811 = 0; +; +for (; index811 < groupLen811;index811++){ +_records = (group811.runMethod(false,"Get",index811));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2668;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns"; +Debug.ShouldStop(2048); +_valido = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("VALIDO")))))));Debug.locals.put("VALIDO", _valido);Debug.locals.put("VALIDO", _valido); + BA.debugLineNum = 2669;BA.debugLine="If VALIDO = \"OK\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_valido,BA.ObjectToString("OK"))) { + BA.debugLineNum = 2670;BA.debugLine="cargar.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2671;BA.debugLine="Subir.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2672;BA.debugLine="inv.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2673;BA.debugLine="connecta.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2674;BA.debugLine="If conn = \"1\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_conn" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 2675;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; +Debug.ShouldStop(262144); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Existe Conexión con el Servidor.")),(Object)(c_principal.__c.getField(true,"True"))); + }; + }else { + BA.debugLineNum = 2678;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2679;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2680;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2681;BA.debugLine="connecta.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2682;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)"; +Debug.ShouldStop(33554432); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Ruta invalida.")),(Object)(c_principal.__c.getField(true,"True"))); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2688;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2689;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(1); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2690;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { + BA.debugLineNum = 2691;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(4); +{ +final RemoteObject group834 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen834 = group834.runMethod(true,"getSize").get() +;int index834 = 0; +; +for (; index834 < groupLen834;index834++){ +_records = (group834.runMethod(false,"Get",index834));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2692;BA.debugLine="Dim name2 As String = records(RESULT.Columns."; +Debug.ShouldStop(8); +_name2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("VALIDO")))))));Debug.locals.put("name2", _name2);Debug.locals.put("name2", _name2); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2694;BA.debugLine="If name2 = \"OK\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_name2,BA.ObjectToString("OK"))) { + BA.debugLineNum = 2695;BA.debugLine="PASO = 1"; +Debug.ShouldStop(64); +__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(1)); + }; + BA.debugLineNum = 2697;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + }; + BA.debugLineNum = 2701;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2702;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(8192); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2703;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("fecha")))) { + BA.debugLineNum = 2704;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group846 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen846 = group846.runMethod(true,"getSize").get() +;int index846 = 0; +; +for (; index846 < groupLen846;index846++){ +_records = (group846.runMethod(false,"Get",index846));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2705;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu"; +Debug.ShouldStop(65536); +_fecha_hoy = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("FECHA")))))));Debug.locals.put("FECHA_HOY", _fecha_hoy);Debug.locals.put("FECHA_HOY", _fecha_hoy); + BA.debugLineNum = 2706;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FECHA"))}))))); + BA.debugLineNum = 2707;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("FECHA")),(_fecha_hoy)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2712;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2713;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(16777216); +_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2722;BA.debugLine="If RESULT.Tag = \"hist_pro2265\" Then 'query tag"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_pro2265")))) { + BA.debugLineNum = 2723;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; +Debug.ShouldStop(4); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PRO2265"))); + BA.debugLineNum = 2724;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8); +{ +final RemoteObject group857 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen857 = group857.runMethod(true,"getSize").get() +;int index857 = 0; +; +for (; index857 < groupLen857;index857++){ +_records = (group857.runMethod(false,"Get",index857));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2725;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; +Debug.ShouldStop(16); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PRO2265(H_IDCLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE"))))))}))))); + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 2728;BA.debugLine="If RESULT.Tag = \"hist_pro3054\" Then 'query tag"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_pro3054")))) { + BA.debugLineNum = 2729;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; +Debug.ShouldStop(256); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PRO3054"))); + BA.debugLineNum = 2730;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(512); +{ +final RemoteObject group863 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen863 = group863.runMethod(true,"getSize").get() +;int index863 = 0; +; +for (; index863 < groupLen863;index863++){ +_records = (group863.runMethod(false,"Get",index863));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2731;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; +Debug.ShouldStop(1024); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PRO3054(H_IDCLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE"))))))}))))); + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 2734;BA.debugLine="If RESULT.Tag = \"hist_pro3055\" Then 'query tag"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_pro3055")))) { + BA.debugLineNum = 2735;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; +Debug.ShouldStop(16384); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PRO3055"))); + BA.debugLineNum = 2736;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group869 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen869 = group869.runMethod(true,"getSize").get() +;int index869 = 0; +; +for (; index869 < groupLen869;index869++){ +_records = (group869.runMethod(false,"Get",index869));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2737;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; +Debug.ShouldStop(65536); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PRO3055(H_IDCLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE"))))))}))))); + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 2740;BA.debugLine="If RESULT.Tag = \"traeVersion\" Then 'query tag"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("traeVersion")))) { + BA.debugLineNum = 2741;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1048576); +{ +final RemoteObject group874 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen874 = group874.runMethod(true,"getSize").get() +;int index874 = 0; +; +for (; index874 < groupLen874;index874++){ +_records = (group874.runMethod(false,"Get",index874));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2742;BA.debugLine="Private version As String = records(RESULT.C"; +Debug.ShouldStop(2097152); +_version = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_VERSION")))))));Debug.locals.put("version", _version);Debug.locals.put("version", _version); + BA.debugLineNum = 2743;BA.debugLine="Private actualizarAplicacion As String = rec"; +Debug.ShouldStop(4194304); +_actualizaraplicacion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_ACTUALIZACION")))))));Debug.locals.put("actualizarAplicacion", _actualizaraplicacion);Debug.locals.put("actualizarAplicacion", _actualizaraplicacion); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2745;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; +Debug.ShouldStop(16777216); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("VERSION_NUEVA"))}))))); + BA.debugLineNum = 2746;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; +Debug.ShouldStop(33554432); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("VERSION_NUEVA")),(_version)}))))); + BA.debugLineNum = 2747;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; +Debug.ShouldStop(67108864); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FORZAR_ACTUALIZACION"))}))))); + BA.debugLineNum = 2748;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; +Debug.ShouldStop(134217728); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("FORZAR_ACTUALIZACION")),(_actualizaraplicacion)}))))); + BA.debugLineNum = 2749;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; +Debug.ShouldStop(268435456); +c_principal.__c.runVoidMethod ("LogImpl","03736709",(RemoteObject.concat(RemoteObject.createImmutable(">>>> GUARDAMOS NUEVA VERSION: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_version))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_actualizaraplicacion))),RemoteObject.createImmutable(""))),0); + }; + BA.debugLineNum = 2751;BA.debugLine="If RESULT.Tag = \"tipoVenta\" Then 'query tag"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("tipoVenta")))) { + BA.debugLineNum = 2752;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group885 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen885 = group885.runMethod(true,"getSize").get() +;int index885 = 0; +; +for (; index885 < groupLen885;index885++){ +_records = (group885.runMethod(false,"Get",index885));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2753;BA.debugLine="Private tipoVenta As String = records(RESULT"; +Debug.ShouldStop(1); +_tipoventa = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_RU_CATEGORIA")))))));Debug.locals.put("tipoVenta", _tipoventa);Debug.locals.put("tipoVenta", _tipoventa); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2755;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; +Debug.ShouldStop(4); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("TIPO_VENTA"))}))))); + BA.debugLineNum = 2756;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; +Debug.ShouldStop(8); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("TIPO_VENTA")),(_tipoventa)}))))); + BA.debugLineNum = 2757;BA.debugLine="Log($\">>>> GUARDAMOS TIPO_VENTA: ${tipoVenta}"; +Debug.ShouldStop(16); +c_principal.__c.runVoidMethod ("LogImpl","03736717",(RemoteObject.concat(RemoteObject.createImmutable(">>>> GUARDAMOS TIPO_VENTA: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipoventa))),RemoteObject.createImmutable(""))),0); + }; + BA.debugLineNum = 2759;BA.debugLine="If RESULT.Tag = \"planLealtad\" Then 'query tag"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("planLealtad")))) { + BA.debugLineNum = 2760;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PLAN_LEALTAD WHERE DESCARGADO = 1"))); + BA.debugLineNum = 2761;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(256); +{ +final RemoteObject group894 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen894 = group894.runMethod(true,"getSize").get() +;int index894 = 0; +; +for (; index894 < groupLen894;index894++){ +_records = (group894.runMethod(false,"Get",index894));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2762;BA.debugLine="Dim PL_CLIENTE As String = records(RESULT.Col"; +Debug.ShouldStop(512); +_pl_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_PL_CLIENTE")))))));Debug.locals.put("PL_CLIENTE", _pl_cliente);Debug.locals.put("PL_CLIENTE", _pl_cliente); + BA.debugLineNum = 2763;BA.debugLine="Dim PL_BANDERA As String = records(RESULT.Col"; +Debug.ShouldStop(1024); +_pl_bandera = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_PL_BANDERA")))))));Debug.locals.put("PL_BANDERA", _pl_bandera);Debug.locals.put("PL_BANDERA", _pl_bandera); + BA.debugLineNum = 2764;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PLAN_LEALTAD(PL_CLIENTE, PL_BANDERA, DESCARGADO) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_pl_cliente),(_pl_bandera),RemoteObject.createImmutable((1))}))))); + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 2768;BA.debugLine="If RESULT.Tag = \"coments\" Then 'query tag"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coments")))) { + BA.debugLineNum = 2769;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM COMENTARIOS WHERE DESCARGADO = 1"))); + BA.debugLineNum = 2770;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(131072); +{ +final RemoteObject group902 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen902 = group902.runMethod(true,"getSize").get() +;int index902 = 0; +; +for (; index902 < groupLen902;index902++){ +_records = (group902.runMethod(false,"Get",index902));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2771;BA.debugLine="Dim COMENTARIO As String = records(RESULT.Col"; +Debug.ShouldStop(262144); +_comentario = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_COM_COMENTARIO")))))));Debug.locals.put("COMENTARIO", _comentario);Debug.locals.put("COMENTARIO", _comentario); + BA.debugLineNum = 2772;BA.debugLine="Dim CLIENTECOM As String = records(RESULT.Col"; +Debug.ShouldStop(524288); +_clientecom = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_COM_CLIENTE")))))));Debug.locals.put("CLIENTECOM", _clientecom);Debug.locals.put("CLIENTECOM", _clientecom); + BA.debugLineNum = 2773;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO COMENTARIOS(COMENTARTIO, CLIENTE, DESCARGADO) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_comentario),(_clientecom),RemoteObject.createImmutable((1))}))))); + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 2777;BA.debugLine="If RESULT.Tag = \"objetivos\" Then 'query tag"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("objetivos")))) { + BA.debugLineNum = 2778;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM CAT_OBJETIVO_BAT"))); + BA.debugLineNum = 2779;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group910 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen910 = group910.runMethod(true,"getSize").get() +;int index910 = 0; +; +for (; index910 < groupLen910;index910++){ +_records = (group910.runMethod(false,"Get",index910));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2780;BA.debugLine="Dim COB_VOLUMEN As String = records(RESULT.Co"; +Debug.ShouldStop(134217728); +_cob_volumen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_VOLUMEN")))))));Debug.locals.put("COB_VOLUMEN", _cob_volumen);Debug.locals.put("COB_VOLUMEN", _cob_volumen); + BA.debugLineNum = 2781;BA.debugLine="Dim COB_MARCAE As String = records(RESULT.Col"; +Debug.ShouldStop(268435456); +_cob_marcae = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_MARCAE")))))));Debug.locals.put("COB_MARCAE", _cob_marcae);Debug.locals.put("COB_MARCAE", _cob_marcae); + BA.debugLineNum = 2782;BA.debugLine="Dim COB_PORTAFOLIO As String = records(RESULT"; +Debug.ShouldStop(536870912); +_cob_portafolio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_PORTAFOLIO")))))));Debug.locals.put("COB_PORTAFOLIO", _cob_portafolio);Debug.locals.put("COB_PORTAFOLIO", _cob_portafolio); + BA.debugLineNum = 2783;BA.debugLine="Dim COB_OBJPP As String = records(RESULT.Colu"; +Debug.ShouldStop(1073741824); +_cob_objpp = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_OBJPP")))))));Debug.locals.put("COB_OBJPP", _cob_objpp);Debug.locals.put("COB_OBJPP", _cob_objpp); + BA.debugLineNum = 2784;BA.debugLine="Dim COB_GEV As String = records(RESULT.Column"; +Debug.ShouldStop(-2147483648); +_cob_gev = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_GEV")))))));Debug.locals.put("COB_GEV", _cob_gev);Debug.locals.put("COB_GEV", _cob_gev); + BA.debugLineNum = 2785;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_OBJETIVO_BAT(COB_VOLUMEN, COB_MARCAE, COB_PORTAFOLIO, COB_OBJPP, COB_GEV) VALUES (?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_cob_volumen),(_cob_marcae),(_cob_portafolio),(_cob_objpp),(_cob_gev)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + }; + BA.debugLineNum = 2791;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia"; +Debug.ShouldStop(64); +if (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 2792;BA.debugLine="LogColor($\"REQUESTS: ${B4XPages.MainPage.reqMana"; +Debug.ShouldStop(128); +c_principal.__c.runVoidMethod ("LogImpl","03736752",(RemoteObject.concat(RemoteObject.createImmutable("REQUESTS: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 2794;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.Size ="; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR"))) { + BA.debugLineNum = 2795;BA.debugLine="t1.Enabled = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2796;BA.debugLine="t1.Initialize(\"T1\", 3000) ' 1000 = 1 second"; +Debug.ShouldStop(2048); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("T1")),(Object)(BA.numberCast(long.class, 3000))); + BA.debugLineNum = 2798;BA.debugLine="If contadorSubir < 3 Then ' Si no hacen click e"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_contadorsubir" /*RemoteObject*/ ),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 2799;BA.debugLine="t1.Enabled = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2800;BA.debugLine="Log(\"TIMER ENABLED\")"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("LogImpl","03736760",RemoteObject.createImmutable("TIMER ENABLED"),0); + }; + BA.debugLineNum = 2802;BA.debugLine="contadorSubir = contadorSubir + 1"; +Debug.ShouldStop(131072); +__ref.setField ("_contadorsubir" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_contadorsubir" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + }; + }; + BA.debugLineNum = 2805;BA.debugLine="Job.Release"; +Debug.ShouldStop(1048576); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 2806;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _nuevo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("NUEVO_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3261); +if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_principal","nuevo_click", __ref);} + BA.debugLineNum = 3261;BA.debugLine="Sub NUEVO_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 3262;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente"))); + BA.debugLineNum = 3263;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _nvo_cliente_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("nvo_cliente_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3752); +if (RapidSub.canDelegate("nvo_cliente_click")) { return __ref.runUserSub(false, "c_principal","nvo_cliente_click", __ref);} + BA.debugLineNum = 3752;BA.debugLine="Sub nvo_cliente_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 3753;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +Debug.ShouldStop(256); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente"))); + BA.debugLineNum = 3754;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_marcasres_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_marcasRes_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3953); +if (RapidSub.canDelegate("p_marcasres_click")) { return __ref.runUserSub(false, "c_principal","p_marcasres_click", __ref);} + BA.debugLineNum = 3953;BA.debugLine="Private Sub p_marcasRes_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 3955;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_resumen_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("P_RESUMEN_click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3289); +if (RapidSub.canDelegate("p_resumen_click")) { return __ref.runUserSub(false, "c_principal","p_resumen_click", __ref);} + BA.debugLineNum = 3289;BA.debugLine="Sub P_RESUMEN_click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 3291;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_sombra_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_sombra_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3957); +if (RapidSub.canDelegate("p_sombra_click")) { return __ref.runUserSub(false, "c_principal","p_sombra_click", __ref);} + BA.debugLineNum = 3957;BA.debugLine="Private Sub p_sombra_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 3959;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_transparenteactualizacion_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_transparenteActualizacion_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3961); +if (RapidSub.canDelegate("p_transparenteactualizacion_click")) { return __ref.runUserSub(false, "c_principal","p_transparenteactualizacion_click", __ref);} + BA.debugLineNum = 3961;BA.debugLine="Private Sub p_transparenteActualizacion_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 3963;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p1_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("P1_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3971); +if (RapidSub.canDelegate("p1_click")) { return __ref.runUserSub(false, "c_principal","p1_click", __ref);} + BA.debugLineNum = 3971;BA.debugLine="Private Sub P1_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 3973;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _recalculoxcant(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("recalculoXcant (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,582); +if (RapidSub.canDelegate("recalculoxcant")) { return __ref.runUserSub(false, "c_principal","recalculoxcant", __ref);} +int _promespdes = 0; +RemoteObject _rangosel = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _hjh = 0; +RemoteObject _recalculo = RemoteObject.createImmutable(0f); +RemoteObject _recalculototal = RemoteObject.createImmutable(0f); +RemoteObject _rangosel2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 582;BA.debugLine="Sub recalculoXcant"; +Debug.ShouldStop(32); + BA.debugLineNum = 584;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(128); +c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_CEDIS = ? and PE_RECCEDIS IS NOT NULL AND PE_RECALCULADO IS NULL ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 585;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 586;BA.debugLine="For promespdes = 0 To c.RowCount -1"; +Debug.ShouldStop(512); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_promespdes = 0 ; +for (;(step3 > 0 && _promespdes <= limit3) || (step3 < 0 && _promespdes >= limit3) ;_promespdes = ((int)(0 + _promespdes + step3)) ) { +Debug.locals.put("promespdes", _promespdes); + BA.debugLineNum = 587;BA.debugLine="c.Position = promespdes"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _promespdes)); + BA.debugLineNum = 588;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt."; +Debug.ShouldStop(2048); +_rangosel = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rangosel = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))))}))));Debug.locals.put("rangosel", _rangosel);Debug.locals.put("rangosel", _rangosel); + BA.debugLineNum = 589;BA.debugLine="If rangosel.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_rangosel.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 590;BA.debugLine="For hjh = 0 To rangosel.RowCount-1"; +Debug.ShouldStop(8192); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_rangosel.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_hjh = 0 ; +for (;(step7 > 0 && _hjh <= limit7) || (step7 < 0 && _hjh >= limit7) ;_hjh = ((int)(0 + _hjh + step7)) ) { +Debug.locals.put("hjh", _hjh); + BA.debugLineNum = 591;BA.debugLine="rangosel.Position = hjh"; +Debug.ShouldStop(16384); +_rangosel.runMethod(true,"setPosition",BA.numberCast(int.class, _hjh)); + BA.debugLineNum = 592;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains"; +Debug.ShouldStop(32768); +if (_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_TIER"))).runMethod(true,"contains",(Object)(BA.NumberToString(c_principal._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))).get().booleanValue()) { + BA.debugLineNum = 593;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","03538955",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 594;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("LogImpl","03538956",_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0); + BA.debugLineNum = 595;BA.debugLine="Private recalculo As Float = c.GetString(\"PE"; +Debug.ShouldStop(262144); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 596;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +Debug.ShouldStop(524288); +c_principal.__c.runVoidMethod ("LogImpl","03538958",BA.NumberToString(_recalculo),c_principal.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 597;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("LogImpl","03538959",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 598;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","03538960",c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),0); + BA.debugLineNum = 599;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; +Debug.ShouldStop(4194304); +c_principal.__c.runVoidMethod ("LogImpl","03538961",_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0); + BA.debugLineNum = 600;BA.debugLine="Private recalculototal As Float =c.GetString"; +Debug.ShouldStop(8388608); +_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),_recalculo}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal); + BA.debugLineNum = 601;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? and PE_FOLIO = ? ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {7},new Object[] {c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_COD_PROMO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))}))))); + }; + } +}Debug.locals.put("hjh", _hjh); +; + }else { + BA.debugLineNum = 605;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm"; +Debug.ShouldStop(268435456); +_rangosel2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rangosel2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))))}))));Debug.locals.put("rangosel2", _rangosel2);Debug.locals.put("rangosel2", _rangosel2); + BA.debugLineNum = 607;BA.debugLine="If rangosel2.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_rangosel2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 609;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1"; +Debug.ShouldStop(1); +{ +final int step24 = 1; +final int limit24 = RemoteObject.solve(new RemoteObject[] {_rangosel2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_hjh = 0 ; +for (;(step24 > 0 && _hjh <= limit24) || (step24 < 0 && _hjh >= limit24) ;_hjh = ((int)(0 + _hjh + step24)) ) { +Debug.locals.put("hjh", _hjh); + BA.debugLineNum = 610;BA.debugLine="rangosel2.Position = hjh"; +Debug.ShouldStop(2); +_rangosel2.runMethod(true,"setPosition",BA.numberCast(int.class, _hjh)); + BA.debugLineNum = 611;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai"; +Debug.ShouldStop(4); +if (_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_TIER"))).runMethod(true,"contains",(Object)(BA.NumberToString(c_principal._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))).get().booleanValue()) { + BA.debugLineNum = 612;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +Debug.ShouldStop(8); +c_principal.__c.runVoidMethod ("LogImpl","03538974",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 613;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; +Debug.ShouldStop(16); +c_principal.__c.runVoidMethod ("LogImpl","03538975",_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0); + BA.debugLineNum = 614;BA.debugLine="Private recalculo As Float = c.GetString(\"P"; +Debug.ShouldStop(32); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 615;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","03538977",BA.NumberToString(_recalculo),c_principal.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 616;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +Debug.ShouldStop(128); +c_principal.__c.runVoidMethod ("LogImpl","03538978",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0); + BA.debugLineNum = 617;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\""; +Debug.ShouldStop(256); +c_principal.__c.runVoidMethod ("LogImpl","03538979",c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),0); + BA.debugLineNum = 618;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","03538980",_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0); + BA.debugLineNum = 619;BA.debugLine="Private recalculototal As Float = rangosel2"; +Debug.ShouldStop(1024); +_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_RANGO2")))),_recalculo}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal); + BA.debugLineNum = 622;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDAT"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? , PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_COD_PROMO"))),_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_RANGO2"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))}))))); + }; + } +}Debug.locals.put("hjh", _hjh); +; + }else { + BA.debugLineNum = 626;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {4},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))}))))); + }; + BA.debugLineNum = 628;BA.debugLine="rangosel2.Close"; +Debug.ShouldStop(524288); +_rangosel2.runVoidMethod ("Close"); + }; + BA.debugLineNum = 630;BA.debugLine="rangosel.Close"; +Debug.ShouldStop(2097152); +_rangosel.runVoidMethod ("Close"); + } +}Debug.locals.put("promespdes", _promespdes); +; + }; + BA.debugLineNum = 633;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE PEDI"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_CEDIS <> ? AND PE_RECALCULADO IS NULL ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))))); + BA.debugLineNum = 634;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resdia_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("resdia_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3297); +if (RapidSub.canDelegate("resdia_click")) { return __ref.runUserSub(false, "c_principal","resdia_click", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _total1 = RemoteObject.createImmutable(""); +RemoteObject _s5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _total4 = RemoteObject.createImmutable(""); +RemoteObject _s6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _total3 = RemoteObject.createImmutable(""); +RemoteObject _ru_o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _total2 = RemoteObject.createImmutable(""); +int _i2 = 0; +RemoteObject _rutor = RemoteObject.createImmutable(""); +RemoteObject _ru_s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rusu = RemoteObject.createImmutable(""); +RemoteObject _cuantos_obj = RemoteObject.createImmutable(""); +RemoteObject _s7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totalstick = RemoteObject.createImmutable(0); +int _sfsdf = 0; +RemoteObject _s8 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totaltotaltot = RemoteObject.createImmutable(0); +RemoteObject _s0 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 3297;BA.debugLine="Sub resdia_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 3299;BA.debugLine="Btn_Ubicar.Visible=False"; +Debug.ShouldStop(4); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3300;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews"; +Debug.ShouldStop(8); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 3301;BA.debugLine="SCROLL_RESDIA.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3302;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("RESDIA")),__ref.getField(false, "ba")); + BA.debugLineNum = 3303;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height"; +Debug.ShouldStop(64); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 3304;BA.debugLine="Panel4.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3306;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(512); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3307;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3308;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3309;BA.debugLine="Subir.Visible=False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3310;BA.debugLine="cargar.Visible=False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3311;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3313;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("TELEFONO")})))); + BA.debugLineNum = 3314;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3315;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_encuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 3316;BA.debugLine="d.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3318;BA.debugLine="L_MARCAS.CLEAR"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 3319;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("TELEFONO")})))); + BA.debugLineNum = 3320;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3321;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(16777216); +{ +final int step20 = 1; +final int limit20 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step20 > 0 && _i <= limit20) || (step20 < 0 && _i >= limit20) ;_i = ((int)(0 + _i + step20)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3322;BA.debugLine="D.Position=i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3323;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select HE"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select HE_RES from HIST_ENCUESTA where HE_CLIE = ? AND HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))),RemoteObject.createImmutable("TELEFONO")})))); + BA.debugLineNum = 3324;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3325;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(268435456); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 3326;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label"; +Debug.ShouldStop(536870912); +_label1 = __ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 3327;BA.debugLine="label1.TextSize = 13"; +Debug.ShouldStop(1073741824); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 3328;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(-2147483648); +_label1.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 3329;BA.debugLine="Dim Label2 As Label"; +Debug.ShouldStop(1); +c_principal._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_principal._label2); + BA.debugLineNum = 3330;BA.debugLine="Label2 = L_MARCAS.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(2); +__ref.setField ("_label2" /*RemoteObject*/ ,__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel")); + BA.debugLineNum = 3331;BA.debugLine="Label2.TextSize = 13"; +Debug.ShouldStop(4); +__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 3332;BA.debugLine="Label2.TextColor = Colors.Black"; +Debug.ShouldStop(8); +__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 3333;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("TELEFONO :"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_RES"))))))); + BA.debugLineNum = 3334;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3337;BA.debugLine="d.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3339;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_TIPO = ? )")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("RTEC")})))); + BA.debugLineNum = 3340;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3341;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3342;BA.debugLine="If l_monto_k.Text = \"null\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 3343;BA.debugLine="l_monto_k.Text = \"0\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + BA.debugLineNum = 3345;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3347;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_TIPO = ? )")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PING")})))); + BA.debugLineNum = 3348;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3349;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3350;BA.debugLine="If l_monto_kp.Text = \"null\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 3351;BA.debugLine="l_monto_kp.Text = \"0\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + BA.debugLineNum = 3353;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3363;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(P"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 ")))); + BA.debugLineNum = 3364;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3365;BA.debugLine="l_monto_ks.Text = c.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3366;BA.debugLine="If l_monto_ks.Text = \"null\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 3367;BA.debugLine="l_monto_ks.Text = \"0\""; +Debug.ShouldStop(64); +__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + BA.debugLineNum = 3369;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3394;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(2); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 3396;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3397;BA.debugLine="Private total1 As String = 0"; +Debug.ShouldStop(16); +_total1 = BA.NumberToString(0);Debug.locals.put("total1", _total1);Debug.locals.put("total1", _total1); + BA.debugLineNum = 3398;BA.debugLine="For i = 0 To s3.RowCount - 1"; +Debug.ShouldStop(32); +{ +final int step61 = 1; +final int limit61 = RemoteObject.solve(new RemoteObject[] {_s3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step61 > 0 && _i <= limit61) || (step61 < 0 && _i >= limit61) ;_i = ((int)(0 + _i + step61)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3399;BA.debugLine="s3.Position = i"; +Debug.ShouldStop(64); +_s3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3401;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(256); +_total1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total1),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total1", _total1); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3405;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3407;BA.debugLine="L_REAL.Text = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3411;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(262144); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 3413;BA.debugLine="If s5.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_s5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3414;BA.debugLine="Private total4 As String = 0"; +Debug.ShouldStop(2097152); +_total4 = BA.NumberToString(0);Debug.locals.put("total4", _total4);Debug.locals.put("total4", _total4); + BA.debugLineNum = 3415;BA.debugLine="For i = 0 To s5.RowCount - 1"; +Debug.ShouldStop(4194304); +{ +final int step72 = 1; +final int limit72 = RemoteObject.solve(new RemoteObject[] {_s5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step72 > 0 && _i <= limit72) || (step72 < 0 && _i >= limit72) ;_i = ((int)(0 + _i + step72)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3416;BA.debugLine="s5.Position = i"; +Debug.ShouldStop(8388608); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3418;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(33554432); +_total4 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total4),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total4", _total4); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3422;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_preacordada" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total4)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3424;BA.debugLine="l_preacordada.Text = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_preacordada" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3427;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(4); +_s6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s6", _s6);Debug.locals.put("s6", _s6); + BA.debugLineNum = 3429;BA.debugLine="If s6.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_s6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3430;BA.debugLine="Private total3 As String = 0"; +Debug.ShouldStop(32); +_total3 = BA.NumberToString(0);Debug.locals.put("total3", _total3);Debug.locals.put("total3", _total3); + BA.debugLineNum = 3431;BA.debugLine="For i = 0 To s6.RowCount - 1"; +Debug.ShouldStop(64); +{ +final int step83 = 1; +final int limit83 = RemoteObject.solve(new RemoteObject[] {_s6.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step83 > 0 && _i <= limit83) || (step83 < 0 && _i >= limit83) ;_i = ((int)(0 + _i + step83)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3432;BA.debugLine="s6.Position = i"; +Debug.ShouldStop(128); +_s6.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3434;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(512); +_total3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total3),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total3", _total3); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3438;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_prevtotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total3)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3440;BA.debugLine="l_prevtotal.Text = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_prevtotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3457;BA.debugLine="Private ru_o As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(1); +_ru_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ru_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT distinct pe_cliente, pe_ruta FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA IS NULL")),(Object)((c_principal.__c.getField(false,"Null")))));Debug.locals.put("ru_o", _ru_o);Debug.locals.put("ru_o", _ru_o); + BA.debugLineNum = 3459;BA.debugLine="Log(\"##### \" & ru_o.RowCount)"; +Debug.ShouldStop(4); +c_principal.__c.runVoidMethod ("LogImpl","04784290",RemoteObject.concat(RemoteObject.createImmutable("##### "),_ru_o.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 3460;BA.debugLine="Private total2 As String = 0"; +Debug.ShouldStop(8); +_total2 = BA.NumberToString(0);Debug.locals.put("total2", _total2);Debug.locals.put("total2", _total2); + BA.debugLineNum = 3461;BA.debugLine="If ru_o.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_ru_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3462;BA.debugLine="For i2 = 0 To ru_o.RowCount - 1"; +Debug.ShouldStop(32); +{ +final int step95 = 1; +final int limit95 = RemoteObject.solve(new RemoteObject[] {_ru_o.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i2 = 0 ; +for (;(step95 > 0 && _i2 <= limit95) || (step95 < 0 && _i2 >= limit95) ;_i2 = ((int)(0 + _i2 + step95)) ) { +Debug.locals.put("i2", _i2); + BA.debugLineNum = 3463;BA.debugLine="ru_o.Position = i2"; +Debug.ShouldStop(64); +_ru_o.runMethod(true,"setPosition",BA.numberCast(int.class, _i2)); + BA.debugLineNum = 3465;BA.debugLine="Private rutOr As String = ru_o.GetString(\"PE_RU"; +Debug.ShouldStop(256); +_rutor = _ru_o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")));Debug.locals.put("rutOr", _rutor);Debug.locals.put("rutOr", _rutor); + BA.debugLineNum = 3467;BA.debugLine="total2 = total2 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(1024); +_total2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total2),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_ru_o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total2", _total2); + } +}Debug.locals.put("i2", _i2); +; + }; + BA.debugLineNum = 3471;BA.debugLine="l_ru_pri.Text = NumberFormat2(total2,0,2,2,False)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_ru_pri" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total2)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + BA.debugLineNum = 3474;BA.debugLine="Private ru_s As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(131072); +_ru_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ru_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(PE_RUTA, 0) As PE_RUTA, IFNULL(SUM(PE_COSTO_TOT), 0) As TOTAL_CLIE FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA Is Not Null")),(Object)((c_principal.__c.getField(false,"Null")))));Debug.locals.put("ru_s", _ru_s);Debug.locals.put("ru_s", _ru_s); + BA.debugLineNum = 3475;BA.debugLine="ru_s.Position = 0"; +Debug.ShouldStop(262144); +_ru_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3476;BA.debugLine="If ru_s.GetString(\"PE_RUTA\") = 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_ru_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA"))),BA.NumberToString(0))) { + }else { + BA.debugLineNum = 3479;BA.debugLine="Private RuSu As String = ru_s.GetString(\"PE_RUTA"; +Debug.ShouldStop(4194304); +_rusu = _ru_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")));Debug.locals.put("RuSu", _rusu);Debug.locals.put("RuSu", _rusu); + BA.debugLineNum = 3481;BA.debugLine="ru_s.Position = 0"; +Debug.ShouldStop(16777216); +_ru_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3482;BA.debugLine="l_ru_sup.Text = NumberFormat2(ru_s.GetDouble(\"TO"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_ru_sup" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(_ru_s.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }; + BA.debugLineNum = 3484;BA.debugLine="ru_s.Close"; +Debug.ShouldStop(134217728); +_ru_s.runVoidMethod ("Close"); + BA.debugLineNum = 3486;BA.debugLine="Dim cuantos_obj As String"; +Debug.ShouldStop(536870912); +_cuantos_obj = RemoteObject.createImmutable("");Debug.locals.put("cuantos_obj", _cuantos_obj); + BA.debugLineNum = 3487;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) AS TOTAL from HIST_MARCAS_CUOTAS ")))); + BA.debugLineNum = 3488;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3489;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")"; +Debug.ShouldStop(1); +_cuantos_obj = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")));Debug.locals.put("cuantos_obj", _cuantos_obj); + BA.debugLineNum = 3490;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3492;BA.debugLine="If cuantos_obj > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuantos_obj),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3493;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM("; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select SUM(HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS ")))); + BA.debugLineNum = 3494;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3495;BA.debugLine="If c.GetString(\"TOTAL\") > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3496;BA.debugLine="L_NES.Text = Round(c.GetString(\"TOTAL\") / 25)"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),RemoteObject.createImmutable(25)}, "/",0, 0))))); + }else { + BA.debugLineNum = 3498;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))); + }; + BA.debugLineNum = 3500;BA.debugLine="c.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 3503;BA.debugLine="Log(L_NES.Text)"; +Debug.ShouldStop(16384); +c_principal.__c.runVoidMethod ("LogImpl","04784334",__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"getText"),0); + BA.debugLineNum = 3504;BA.debugLine="Log(L_REAL.Text)"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("LogImpl","04784335",__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"getText"),0); + BA.debugLineNum = 3508;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_alcance" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "/+",1, 0))),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 3509;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 3510;BA.debugLine="L_VREAL.Text = L_CUANTOST.text"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 3511;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_efec_vis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 3512;BA.debugLine="L_VISITCC.Text = l_cuantosc.text"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 3513;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL."; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_efec_pv" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 3514;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 3515;BA.debugLine="l_preventa.Text = Subs.calculaTotalConPromoXRango"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + BA.debugLineNum = 3516;BA.debugLine="l_futura.Text = Subs.calculaTotalConPromoXRango1("; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_futura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + BA.debugLineNum = 3517;BA.debugLine="L_LIN_TICK.Text = LPT"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_lin_tick" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_lpt" /*RemoteObject*/ ))); + BA.debugLineNum = 3518;BA.debugLine="If l_monto_ks.Text <> \"0\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 3519;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select COU"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_almacen" /*RemoteObject*/ )})))); + BA.debugLineNum = 3520;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3521;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 3522;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3523;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +Debug.ShouldStop(4); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_TIPOPROD = ?) ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PRIORITARIO")})))); + BA.debugLineNum = 3524;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3533;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_prio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3534;BA.debugLine="d.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3536;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_TIPOPROD = ?) ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("ESTRATEGICO")})))); + BA.debugLineNum = 3537;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3538;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_secund" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3539;BA.debugLine="d.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3541;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_TIPOPROD = ?) ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("COMPLEMENTARIO")})))); + BA.debugLineNum = 3542;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3543;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_comp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3544;BA.debugLine="d.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 3546;BA.debugLine="L_PRIO.Text = \"0\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_prio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + BA.debugLineNum = 3547;BA.debugLine="L_SECUND.Text = \"0\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_secund" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + BA.debugLineNum = 3548;BA.debugLine="L_COMP.Text = \"0\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_comp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + BA.debugLineNum = 3551;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID ")))); + BA.debugLineNum = 3552;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3553;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3554;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +Debug.ShouldStop(2); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID ")))); + BA.debugLineNum = 3555;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3556;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 3557;BA.debugLine="d.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3558;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_reden_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + }else { + BA.debugLineNum = 3560;BA.debugLine="L_CTE_PROMO.Text = 0"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3561;BA.debugLine="L_REDEN_PROMO.Text = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_reden_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3563;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3564;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select COUNT(*) AS CUANTOS FROM PEDIDO ")))); + BA.debugLineNum = 3565;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3566;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_lin_tick" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 3567;BA.debugLine="d.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3569;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from HIST_CUOTAS ")))); + BA.debugLineNum = 3570;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3571;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + }else { + BA.debugLineNum = 3579;BA.debugLine="l_monto_c1.Text = 4000"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_monto_c1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(4000)); + BA.debugLineNum = 3580;BA.debugLine="l_monto_c2.Text = 2000"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_monto_c2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(2000)); + BA.debugLineNum = 3581;BA.debugLine="l_monto_c3.Text = 1000"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_monto_c3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(1000)); + }; + BA.debugLineNum = 3583;BA.debugLine="d.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3588;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(8); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 3590;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3591;BA.debugLine="Private total1 As String = 0"; +Debug.ShouldStop(64); +_total1 = BA.NumberToString(0);Debug.locals.put("total1", _total1);Debug.locals.put("total1", _total1); + BA.debugLineNum = 3592;BA.debugLine="For i = 0 To s3.RowCount - 1"; +Debug.ShouldStop(128); +{ +final int step189 = 1; +final int limit189 = RemoteObject.solve(new RemoteObject[] {_s3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step189 > 0 && _i <= limit189) || (step189 < 0 && _i >= limit189) ;_i = ((int)(0 + _i + step189)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3593;BA.debugLine="s3.Position = i"; +Debug.ShouldStop(256); +_s3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3595;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(1024); +_total1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total1),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total1", _total1); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3599;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3601;BA.debugLine="L_REAL.Text = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3605;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(1048576); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 3607;BA.debugLine="If s5.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_s5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3608;BA.debugLine="Private total4 As String = 0"; +Debug.ShouldStop(8388608); +_total4 = BA.NumberToString(0);Debug.locals.put("total4", _total4);Debug.locals.put("total4", _total4); + BA.debugLineNum = 3609;BA.debugLine="For i = 0 To s5.RowCount - 1"; +Debug.ShouldStop(16777216); +{ +final int step200 = 1; +final int limit200 = RemoteObject.solve(new RemoteObject[] {_s5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step200 > 0 && _i <= limit200) || (step200 < 0 && _i >= limit200) ;_i = ((int)(0 + _i + step200)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3610;BA.debugLine="s5.Position = i"; +Debug.ShouldStop(33554432); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3612;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(134217728); +_total4 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total4),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total4", _total4); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3616;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_preacordada" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total4)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3618;BA.debugLine="l_preacordada.Text = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_preacordada" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3621;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(16); +_s6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s6", _s6);Debug.locals.put("s6", _s6); + BA.debugLineNum = 3623;BA.debugLine="If s6.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_s6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3624;BA.debugLine="Private total3 As String = 0"; +Debug.ShouldStop(128); +_total3 = BA.NumberToString(0);Debug.locals.put("total3", _total3);Debug.locals.put("total3", _total3); + BA.debugLineNum = 3625;BA.debugLine="For i = 0 To s6.RowCount - 1"; +Debug.ShouldStop(256); +{ +final int step211 = 1; +final int limit211 = RemoteObject.solve(new RemoteObject[] {_s6.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step211 > 0 && _i <= limit211) || (step211 < 0 && _i >= limit211) ;_i = ((int)(0 + _i + step211)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3626;BA.debugLine="s6.Position = i"; +Debug.ShouldStop(512); +_s6.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3628;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(2048); +_total3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total3),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total3", _total3); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3632;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_prevtotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total3)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3634;BA.debugLine="l_prevtotal.Text = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_prevtotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3638;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(2097152); +_s7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s7 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select Ifnull(SUM(PE_CANT),0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO') GROUP BY PE_PROID"))));Debug.locals.put("s7", _s7);Debug.locals.put("s7", _s7); + BA.debugLineNum = 3639;BA.debugLine="If s7.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_s7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3640;BA.debugLine="Dim totalstick As Int = 0"; +Debug.ShouldStop(8388608); +_totalstick = BA.numberCast(int.class, 0);Debug.locals.put("totalstick", _totalstick);Debug.locals.put("totalstick", _totalstick); + BA.debugLineNum = 3641;BA.debugLine="For sfsdf = 0 To s7.RowCount -1"; +Debug.ShouldStop(16777216); +{ +final int step222 = 1; +final int limit222 = RemoteObject.solve(new RemoteObject[] {_s7.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_sfsdf = 0 ; +for (;(step222 > 0 && _sfsdf <= limit222) || (step222 < 0 && _sfsdf >= limit222) ;_sfsdf = ((int)(0 + _sfsdf + step222)) ) { +Debug.locals.put("sfsdf", _sfsdf); + BA.debugLineNum = 3642;BA.debugLine="s7.Position= sfsdf"; +Debug.ShouldStop(33554432); +_s7.runMethod(true,"setPosition",BA.numberCast(int.class, _sfsdf)); + BA.debugLineNum = 3643;BA.debugLine="Log(\"ENTRE AQUI\")"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","04784474",RemoteObject.createImmutable("ENTRE AQUI"),0); + BA.debugLineNum = 3644;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ"; +Debug.ShouldStop(134217728); +_s8 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s8 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_s7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("s8", _s8);Debug.locals.put("s8", _s8); + BA.debugLineNum = 3645;BA.debugLine="s8.Position = 0"; +Debug.ShouldStop(268435456); +_s8.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3646;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN"; +Debug.ShouldStop(536870912); +_totalstick = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalstick,(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _s7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _s8.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CONVERSION3"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("totalstick", _totalstick); + } +}Debug.locals.put("sfsdf", _sfsdf); +; + BA.debugLineNum = 3648;BA.debugLine="Dim totaltotaltot As Int = totalstick/200"; +Debug.ShouldStop(-2147483648); +_totaltotaltot = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalstick,RemoteObject.createImmutable(200)}, "/",0, 0));Debug.locals.put("totaltotaltot", _totaltotaltot);Debug.locals.put("totaltotaltot", _totaltotaltot); + BA.debugLineNum = 3649;BA.debugLine="l_ru_pri.Text = totaltotaltot"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_ru_pri" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_totaltotaltot)); + }else { + BA.debugLineNum = 3651;BA.debugLine="l_ru_pri.Text = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_ru_pri" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3654;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(32); +_s0 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s0 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')"))));Debug.locals.put("s0", _s0);Debug.locals.put("s0", _s0); + BA.debugLineNum = 3655;BA.debugLine="If s0.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_s0.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3657;BA.debugLine="s0.Position = 0"; +Debug.ShouldStop(256); +_s0.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3658;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","04784489",_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 3659;BA.debugLine="L_REAL.Text = s0.GetString(\"PE_CANT\")"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))); + }else { + BA.debugLineNum = 3661;BA.debugLine="L_REAL.Text = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3664;BA.debugLine="L_NES.Text = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3665;BA.debugLine="l_ru_sup.Text = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_ru_sup" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3666;BA.debugLine="L_ALCANCE.Text = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_alcance" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3667;BA.debugLine="L_VPLAN.Text = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3668;BA.debugLine="L_VREAL.Text = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3669;BA.debugLine="L_EFEC_VIS.Text = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_efec_vis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3670;BA.debugLine="L_VISITCC.Text = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3671;BA.debugLine="L_EFEC_PV.Text = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_efec_pv" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3672;BA.debugLine="L_EFEC_PURA.Text = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3673;BA.debugLine="l_preventa.Text = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3674;BA.debugLine="l_futura.Text = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_futura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3675;BA.debugLine="Label13.Text = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_label13" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3676;BA.debugLine="Label19.Text = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_label19" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3677;BA.debugLine="Label21.Text = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_label21" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3680;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(-2147483648); +_s0 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s0 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')"))));Debug.locals.put("s0", _s0);Debug.locals.put("s0", _s0); + BA.debugLineNum = 3681;BA.debugLine="If s0.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_s0.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3682;BA.debugLine="s0.Position = 0"; +Debug.ShouldStop(2); +_s0.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3683;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(4); +c_principal.__c.runVoidMethod ("LogImpl","04784514",_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 3684;BA.debugLine="Label33.Text = s0.GetString(\"PE_CANT\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_label33" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))); + }else { + BA.debugLineNum = 3686;BA.debugLine="Label33.Text = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_label33" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3689;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(256); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 3691;BA.debugLine="If s5.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_s5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3692;BA.debugLine="Private total4 As String = 0"; +Debug.ShouldStop(2048); +_total4 = BA.NumberToString(0);Debug.locals.put("total4", _total4);Debug.locals.put("total4", _total4); + BA.debugLineNum = 3693;BA.debugLine="For i = 0 To s5.RowCount - 1"; +Debug.ShouldStop(4096); +{ +final int step267 = 1; +final int limit267 = RemoteObject.solve(new RemoteObject[] {_s5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step267 > 0 && _i <= limit267) || (step267 < 0 && _i >= limit267) ;_i = ((int)(0 + _i + step267)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3694;BA.debugLine="s5.Position = i"; +Debug.ShouldStop(8192); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3696;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(32768); +_total4 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total4),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango5" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total4", _total4); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3700;BA.debugLine="Label35.Text = NumberFormat2(total4,0,2,2,False)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_label35" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total4)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3702;BA.debugLine="Label35.Text = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_label35" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3705;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(16777216); +_s0 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s0 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')"))));Debug.locals.put("s0", _s0);Debug.locals.put("s0", _s0); + BA.debugLineNum = 3706;BA.debugLine="If s0.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_s0.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3707;BA.debugLine="s0.Position = 0"; +Debug.ShouldStop(67108864); +_s0.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3708;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(134217728); +c_principal.__c.runVoidMethod ("LogImpl","04784539",_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 3709;BA.debugLine="Label43.Text = s0.GetString(\"PE_CANT\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_label43" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))); + }else { + BA.debugLineNum = 3711;BA.debugLine="Label43.Text = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_label43" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3714;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(2); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 3716;BA.debugLine="If s5.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_s5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3717;BA.debugLine="Private total4 As String = 0"; +Debug.ShouldStop(16); +_total4 = BA.NumberToString(0);Debug.locals.put("total4", _total4);Debug.locals.put("total4", _total4); + BA.debugLineNum = 3718;BA.debugLine="For i = 0 To s5.RowCount - 1"; +Debug.ShouldStop(32); +{ +final int step286 = 1; +final int limit286 = RemoteObject.solve(new RemoteObject[] {_s5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step286 > 0 && _i <= limit286) || (step286 < 0 && _i >= limit286) ;_i = ((int)(0 + _i + step286)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3719;BA.debugLine="s5.Position = i"; +Debug.ShouldStop(64); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3721;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; +Debug.ShouldStop(256); +_total4 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total4),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango6" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total4", _total4); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3725;BA.debugLine="Label51.Text = NumberFormat2(total4,0,2,2,False)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_label51" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total4)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3727;BA.debugLine="Label51.Text = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_label51" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3730;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(131072); +_s6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(COB_VOLUMEN,0) AS COB_VOLUMEN, IFNULL(COB_MARCAE,0) AS COB_MARCAE, IFNULL(COB_PORTAFOLIO,0) AS COB_PORTAFOLIO, IFNULL(COB_OBJPP,0) AS COB_OBJPP, IFNULL(COB_GEV,0) as COB_GEV FROM CAT_OBJETIVO_BAT"))));Debug.locals.put("s6", _s6);Debug.locals.put("s6", _s6); + BA.debugLineNum = 3731;BA.debugLine="If s6.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_s6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3732;BA.debugLine="s6.Position = 0"; +Debug.ShouldStop(524288); +_s6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3733;BA.debugLine="L_NES.Text = NumberFormat2(s6.GetString(\"COB_VOL"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_VOLUMEN"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False"))))); + BA.debugLineNum = 3734;BA.debugLine="L_EFEC_PURA.Text = NumberFormat2(s6.GetString(\"C"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_MARCAE"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False"))))); + BA.debugLineNum = 3735;BA.debugLine="L_VISITCC.Text = NumberFormat2(s6.GetString(\"COB"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_PORTAFOLIO"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False"))))); + BA.debugLineNum = 3736;BA.debugLine="l_ru_sup.Text = NumberFormat2(s6.GetString(\"COB_"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_ru_sup" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_OBJPP"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False"))))); + BA.debugLineNum = 3737;BA.debugLine="l_futura.Text = NumberFormat2(s6.GetString(\"COB_"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_futura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_GEV"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 3739;BA.debugLine="L_NES.Text = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3740;BA.debugLine="L_EFEC_PURA.Text = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3741;BA.debugLine="L_VISITCC.Text = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3742;BA.debugLine="l_ru_sup.Text = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_ru_sup" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3743;BA.debugLine="l_futura.Text = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_futura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3746;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resumen_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Resumen_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3278); +if (RapidSub.canDelegate("resumen_click")) { return __ref.runUserSub(false, "c_principal","resumen_click", __ref);} + BA.debugLineNum = 3278;BA.debugLine="Sub Resumen_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 3279;BA.debugLine="P_RESUMEN.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3287;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _subir_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Subir_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,636); +if (RapidSub.canDelegate("subir_click")) { return __ref.runUserSub(false, "c_principal","subir_click", __ref);} +int _i = 0; +RemoteObject _dia = RemoteObject.createImmutable(0); +RemoteObject _dialetra = RemoteObject.createImmutable(""); +RemoteObject _fotomostrar1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fotoenvio = null; +RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _eventob = RemoteObject.createImmutable(""); +RemoteObject _clienteb = RemoteObject.createImmutable(""); +RemoteObject _finb = RemoteObject.createImmutable(""); +RemoteObject _nombrecliente = RemoteObject.createImmutable(""); +RemoteObject _rutaactual = RemoteObject.createImmutable(""); +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _x1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _x2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 636;BA.debugLine="Sub Subir_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 637;BA.debugLine="checaPedido"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_checapedido" /*RemoteObject*/ ); + BA.debugLineNum = 638;BA.debugLine="CARGA = \"SUBIR\""; +Debug.ShouldStop(536870912); +__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("SUBIR")); + BA.debugLineNum = 639;BA.debugLine="P1.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 640;BA.debugLine="P1.BringToFront"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 642;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(2); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 643;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(4); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 644;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(8); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 645;BA.debugLine="Subir.Visible=False"; +Debug.ShouldStop(16); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 646;BA.debugLine="cargar.Visible=False"; +Debug.ShouldStop(32); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 647;BA.debugLine="L_P_1.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 648;BA.debugLine="S_CC.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 649;BA.debugLine="L_P_3.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 650;BA.debugLine="S_CH.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 651;BA.debugLine="PB1.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 652;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 653;BA.debugLine="l_visitartotal.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_visitartotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 654;BA.debugLine="de.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_de" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 655;BA.debugLine="l_faltan.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 656;BA.debugLine="l_visitas.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 658;BA.debugLine="p_principal.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 659;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; +Debug.ShouldStop(262144); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 660;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; +Debug.ShouldStop(524288); +c_principal._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 661;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; +Debug.ShouldStop(1048576); +c_principal._subs.runVoidMethod ("_centrapanelv" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 662;BA.debugLine="B4XPages.MainPage.reqManager.trackInit"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_trackinit" /*RemoteObject*/ ); + BA.debugLineNum = 664;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_p_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Envio de Pedidos")); + BA.debugLineNum = 665;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Envio de Pedidos")); + BA.debugLineNum = 666;BA.debugLine="S_CH.Text = \"EN PROCESO\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 667;BA.debugLine="S_CP.Text = \"EN PROCESO\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 668;BA.debugLine="B_OK_PAS.Text = \"ENVIANDO\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b_ok_pas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIANDO")); + BA.debugLineNum = 669;BA.debugLine="PB1.Progress = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 670;BA.debugLine="PB2.Progress = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 676;BA.debugLine="PASO = 1"; +Debug.ShouldStop(8); +__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 678;BA.debugLine="If PASO =1 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)"))); + BA.debugLineNum = 680;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 681;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 682;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(512); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 683;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 684;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HGDATE, HGLAT, HGLON from HIST_GPS")))); + BA.debugLineNum = 685;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 686;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(8192); +{ +final int step41 = 1; +final int limit41 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step41 > 0 && _i <= limit41) || (step41 < 0 && _i >= limit41) ;_i = ((int)(0 + _i + step41)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 687;BA.debugLine="c.Position=i"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 688;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(32768); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 689;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 690;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_GUNA_ACTUAL2_GPS")); + BA.debugLineNum = 691;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_montoactual" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))),(__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hglat")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hglon")))),(__ref.getField(false,"_batterystatus" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 0))),(__ref.getField(true,"_lpt" /*RemoteObject*/ )),(__ref.getField(true,"_steyin" /*RemoteObject*/ )),(__ref.getField(true,"_steyout" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 692;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_visitas")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 695;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 698;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_CL"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE ")))); + BA.debugLineNum = 699;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE ")))); + BA.debugLineNum = 700;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 701;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(268435456); +{ +final int step54 = 1; +final int limit54 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step54 > 0 && _i <= limit54) || (step54 < 0 && _i >= limit54) ;_i = ((int)(0 + _i + step54)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 702;BA.debugLine="c.Position=i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 703;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1073741824); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 704;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 705;BA.debugLine="cmd.Name = \"insert_pedidos_GV3\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedidos_GV3")); + BA.debugLineNum = 706;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_LAT")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA"))))})); + BA.debugLineNum = 707;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedidos")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 710;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 711;BA.debugLine="d.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 712;BA.debugLine="cuantos_pedidosc = D.GetString(\"CUANTOS_PEDIDOSC"; +Debug.ShouldStop(128); +__ref.setField ("_cuantos_pedidosc" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDOSC")))); + BA.debugLineNum = 713;BA.debugLine="d.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 717;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CODIG"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CODIGOKMTS, CODIGOB, LAT, LON FROM HIST_CODIGO_BARRAS")))); + BA.debugLineNum = 718;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 719;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(16384); +{ +final int step69 = 1; +final int limit69 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step69 > 0 && _i <= limit69) || (step69 < 0 && _i >= limit69) ;_i = ((int)(0 + _i + step69)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 720;BA.debugLine="c.Position=i"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 721;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(65536); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 722;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 723;BA.debugLine="cmd.Name = \"insert_QR_2_GV2\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_QR_2_GV2")); + BA.debugLineNum = 724;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CODIGOKMTS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CODIGOB")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 725;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_QR2")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 728;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 731;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PLAN_LEALTAD WHERE DESCARGADO IS NULL")))); + BA.debugLineNum = 732;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 733;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(268435456); +{ +final int step81 = 1; +final int limit81 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step81 > 0 && _i <= limit81) || (step81 < 0 && _i >= limit81) ;_i = ((int)(0 + _i + step81)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 734;BA.debugLine="c.Position=i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 735;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1073741824); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 736;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 737;BA.debugLine="cmd.Name = \"insert_plan_lealtad_GUNA\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_plan_lealtad_GUNA")); + BA.debugLineNum = 738;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PL_BANDERA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PL_CLIENTE")))),(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")))})); + BA.debugLineNum = 739;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insPlanLealtad")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 742;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 745;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM COMENTARIOS WHERE DESCARGADO IS NULL")))); + BA.debugLineNum = 746;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 747;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(1024); +{ +final int step93 = 1; +final int limit93 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step93 > 0 && _i <= limit93) || (step93 < 0 && _i >= limit93) ;_i = ((int)(0 + _i + step93)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 748;BA.debugLine="c.Position=i"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 749;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4096); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 750;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 751;BA.debugLine="cmd.Name = \"insert_coments_GUNA2\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_coments_GUNA2")); + BA.debugLineNum = 752;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COMENTARTIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("comentario_tmp"))))})); + BA.debugLineNum = 753;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("INS_coment")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 756;BA.debugLine="c.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 758;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT * FROM CLIENTES"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CLIENTES_NUEVOS")))); + BA.debugLineNum = 759;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 760;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(8388608); +{ +final int step105 = 1; +final int limit105 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step105 > 0 && _i <= limit105) || (step105 < 0 && _i >= limit105) ;_i = ((int)(0 + _i + step105)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 761;BA.debugLine="c.Position = i"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 762;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim"; +Debug.ShouldStop(33554432); +_dia = c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfWeek",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia); + BA.debugLineNum = 763;BA.debugLine="If dia = 2 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 2))) { + BA.debugLineNum = 764;BA.debugLine="Dim dialetra As String = \"LUNES\""; +Debug.ShouldStop(134217728); +_dialetra = BA.ObjectToString("LUNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 765;BA.debugLine="Else If dia = 3 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 3))) { + BA.debugLineNum = 766;BA.debugLine="Dim dialetra As String = \"MARTES\""; +Debug.ShouldStop(536870912); +_dialetra = BA.ObjectToString("MARTES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 767;BA.debugLine="Else If dia = 4 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 4))) { + BA.debugLineNum = 768;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; +Debug.ShouldStop(-2147483648); +_dialetra = BA.ObjectToString("MIERCOLES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 769;BA.debugLine="Else If dia = 5 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 5))) { + BA.debugLineNum = 770;BA.debugLine="Dim dialetra As String = \"JUEVES\""; +Debug.ShouldStop(2); +_dialetra = BA.ObjectToString("JUEVES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 771;BA.debugLine="Else If dia = 6 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 6))) { + BA.debugLineNum = 772;BA.debugLine="Dim dialetra As String = \"VIERNES\""; +Debug.ShouldStop(8); +_dialetra = BA.ObjectToString("VIERNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 773;BA.debugLine="Else If dia = 7 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 7))) { + BA.debugLineNum = 774;BA.debugLine="Dim dialetra As String = \"SABADO\""; +Debug.ShouldStop(32); +_dialetra = BA.ObjectToString("SABADO");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }}}}}} +; + BA.debugLineNum = 776;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(128); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 777;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 778;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA2\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_clientesnuevos_GUNA2")); + BA.debugLineNum = 779;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString("; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","03604623",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_FECHA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_USER"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_DIRECCION"))),RemoteObject.createImmutable(" ,"),__ref.getField(true,"_almacen" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA"))),RemoteObject.createImmutable(" ,"),RemoteObject.createImmutable("En espera"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO"))),RemoteObject.createImmutable(" ,"),_dialetra,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_SOLICITA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_COLONIA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_TELEFONO"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE1"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE2")))),0); + BA.debugLineNum = 780;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {21},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_DIRECCION")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA")))),RemoteObject.createImmutable(("En espera")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO")))),(_dialetra),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_SOLICITA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_COLONIA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_TELEFONO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CP")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE1")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE2")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NUMEROINT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NUMEROEXT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_REFERENCIA"))))})); + BA.debugLineNum = 781;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_clientesn")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 784;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 786;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(131072); +_fotomostrar1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fotomostrar1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM kmt_info3 where foto is not NULL"))));Debug.locals.put("fotomostrar1", _fotomostrar1);Debug.locals.put("fotomostrar1", _fotomostrar1); + BA.debugLineNum = 787;BA.debugLine="If fotomostrar1.RowCount>0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_fotomostrar1.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 788;BA.debugLine="For i=0 To fotomostrar1.RowCount -1"; +Debug.ShouldStop(524288); +{ +final int step132 = 1; +final int limit132 = RemoteObject.solve(new RemoteObject[] {_fotomostrar1.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step132 > 0 && _i <= limit132) || (step132 < 0 && _i >= limit132) ;_i = ((int)(0 + _i + step132)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 789;BA.debugLine="fotomostrar1.Position=i"; +Debug.ShouldStop(1048576); +_fotomostrar1.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 790;BA.debugLine="Dim fotoenvio() As Byte = fotomostrar1.GetBlob"; +Debug.ShouldStop(2097152); +_fotoenvio = _fotomostrar1.runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("foto")));Debug.locals.put("fotoenvio", _fotoenvio);Debug.locals.put("fotoenvio", _fotoenvio); + BA.debugLineNum = 791;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4194304); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 792;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 793;BA.debugLine="cmd.Name = \"UPDATE_FOTO_GUNA\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_FOTO_GUNA")); + BA.debugLineNum = 794;BA.debugLine="cmd.Parameters = Array As Object(fotoenvio,fot"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_fotoenvio),(_fotomostrar1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")))})); + BA.debugLineNum = 795;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("INS_coment")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 798;BA.debugLine="fotomostrar1.Close"; +Debug.ShouldStop(536870912); +_fotomostrar1.runVoidMethod ("Close"); + BA.debugLineNum = 800;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_C"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_NUM_SERIEFISICO,CAT_CL_CODIGO ,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info3 where CAT_CL_NUM_SERIEFISICO IS NOT NULL and gestion <> '0'")))); + BA.debugLineNum = 801;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 802;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(2); +{ +final int step145 = 1; +final int limit145 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step145 > 0 && _i <= limit145) || (step145 < 0 && _i >= limit145) ;_i = ((int)(0 + _i + step145)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 803;BA.debugLine="c.Position=i"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 806;BA.debugLine="foto1 = c.GetBlob(\"CAT_CL_FOTO\")"; +Debug.ShouldStop(32); +__ref.setField ("_foto1" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("CAT_CL_FOTO")))); + BA.debugLineNum = 807;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(64); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 808;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 809;BA.debugLine="cmd.Name = \"insert_QR_GV2\""; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_QR_GV2")); + BA.debugLineNum = 810;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_foto1" /*RemoteObject*/ ))})); + BA.debugLineNum = 811;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_QR")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 814;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 817;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CAT_CL_ATIENDE1, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)")))); + BA.debugLineNum = 818;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 819;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(262144); +{ +final int step158 = 1; +final int limit158 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step158 > 0 && _i <= limit158) || (step158 < 0 && _i >= limit158) ;_i = ((int)(0 + _i + step158)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 820;BA.debugLine="c.Position=i"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 821;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1048576); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 822;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 823;BA.debugLine="cmd.Name = \"update_atiende_guna\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_atiende_guna")); + BA.debugLineNum = 824;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))))})); + BA.debugLineNum = 825;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("up_coordenadas")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 828;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 832;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select * fro"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select * from CODIGOS_CREDITO where BANDERA = 1")))); + BA.debugLineNum = 833;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 834;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(2); +{ +final int step170 = 1; +final int limit170 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step170 > 0 && _i <= limit170) || (step170 < 0 && _i >= limit170) ;_i = ((int)(0 + _i + step170)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 835;BA.debugLine="c.Position=i"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 836;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 837;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 838;BA.debugLine="cmd.Name = \"update_ventacredito_guna\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_ventacredito_guna")); + BA.debugLineNum = 839;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BANDERA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))))})); + BA.debugLineNum = 840;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("up_coordenadas")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 843;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 846;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CAT_CL_TELEFONO, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)")))); + BA.debugLineNum = 847;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 848;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(32768); +{ +final int step182 = 1; +final int limit182 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step182 > 0 && _i <= limit182) || (step182 < 0 && _i >= limit182) ;_i = ((int)(0 + _i + step182)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 849;BA.debugLine="c.Position=i"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 850;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(131072); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 851;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 852;BA.debugLine="cmd.Name = \"update_telefono_guna\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_telefono_guna")); + BA.debugLineNum = 853;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))))})); + BA.debugLineNum = 854;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("up_coordenadas")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 857;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 860;BA.debugLine="Private h As ResultSet = B4XPages.MainPage.skmt."; +Debug.ShouldStop(134217728); +_h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_h = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select * from bitacoraGPS")))));Debug.locals.put("h", _h);Debug.locals.put("h", _h); + BA.debugLineNum = 861;BA.debugLine="Do While h.nextrow"; +Debug.ShouldStop(268435456); +while (_h.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 862;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 863;BA.debugLine="Private eventob As String = h.GetString(\"evento"; +Debug.ShouldStop(1073741824); +_eventob = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("eventob")));Debug.locals.put("eventob", _eventob);Debug.locals.put("eventob", _eventob); + BA.debugLineNum = 864;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("mandaBitacora3_GUNA")); + BA.debugLineNum = 866;BA.debugLine="Private clienteb As String = h.GetString(\"clien"; +Debug.ShouldStop(2); +_clienteb = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("clienteb")));Debug.locals.put("clienteb", _clienteb);Debug.locals.put("clienteb", _clienteb); + BA.debugLineNum = 867;BA.debugLine="Private finb As String = h.GetString(\"finb\")"; +Debug.ShouldStop(4); +_finb = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("finb")));Debug.locals.put("finb", _finb);Debug.locals.put("finb", _finb); + BA.debugLineNum = 868;BA.debugLine="Private nombreCliente As String =Subs. traeNomb"; +Debug.ShouldStop(8); +_nombrecliente = c_principal._subs.runMethod(true,"_traenombrecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("clienteb")))));Debug.locals.put("nombreCliente", _nombrecliente);Debug.locals.put("nombreCliente", _nombrecliente); + BA.debugLineNum = 869;BA.debugLine="If eventob = \"Llega a almacen\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Llega a almacen"))) { + BA.debugLineNum = 870;BA.debugLine="nombreCliente = \"BOLETA\""; +Debug.ShouldStop(32); +_nombrecliente = BA.ObjectToString("BOLETA");Debug.locals.put("nombreCliente", _nombrecliente); + BA.debugLineNum = 871;BA.debugLine="clienteb = \"\""; +Debug.ShouldStop(64); +_clienteb = BA.ObjectToString("");Debug.locals.put("clienteb", _clienteb); + BA.debugLineNum = 872;BA.debugLine="finb = h.GetString(\"iniciob\")"; +Debug.ShouldStop(128); +_finb = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("iniciob")));Debug.locals.put("finb", _finb); + }; + BA.debugLineNum = 876;BA.debugLine="If eventob = \"Salida almacen\" Then nombreClient"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Salida almacen"))) { +_nombrecliente = BA.ObjectToString("CHECKLIST");Debug.locals.put("nombreCliente", _nombrecliente);}; + BA.debugLineNum = 877;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FI"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Fin Día"))) { +_nombrecliente = BA.ObjectToString("FIN DIA");Debug.locals.put("nombreCliente", _nombrecliente);}; + BA.debugLineNum = 878;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \""; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Carga día"))) { +_nombrecliente = BA.ObjectToString("CARGA DIA");Debug.locals.put("nombreCliente", _nombrecliente);}; + BA.debugLineNum = 879;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreC"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Carga día suplencia"))) { +_nombrecliente = c_principal._subs.runMethod(true,"_traerutassup" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("nombreCliente", _nombrecliente);}; + BA.debugLineNum = 883;BA.debugLine="cmd.Parameters = Array As Object(h.GetString(\"a"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {15},new Object[] {(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("almacenb")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("usuariob")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("rutab")))),(_eventob),(_clienteb),(_nombrecliente),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("iniciob")))),(_finb),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("latitudb")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("longitudb")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("precision")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("motivonoventa")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("motivonovisita")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fechab")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BAN_GEOB"))))})); + BA.debugLineNum = 884;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("mandaBitacora")))); + } +; + BA.debugLineNum = 886;BA.debugLine="Log(\"MANDAMOS BITACORA\")"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","03604730",RemoteObject.createImmutable("MANDAMOS BITACORA"),0); + BA.debugLineNum = 888;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT HE_CL"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON, HE_FOTO FROM HIST_ENCUESTA")))); + BA.debugLineNum = 889;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 890;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(33554432); +{ +final int step215 = 1; +final int limit215 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step215 > 0 && _i <= limit215) || (step215 < 0 && _i >= limit215) ;_i = ((int)(0 + _i + step215)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 891;BA.debugLine="c.Position=i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 892;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(134217728); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 893;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 894;BA.debugLine="cmd.Name = \"insert_encuesta2_GUNA\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_encuesta2_GUNA")); + BA.debugLineNum = 896;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_RES")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_TIPO")))),(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_LON")))),RemoteObject.createImmutable(("")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("HE_FOTO"))))})); + BA.debugLineNum = 897;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_encuesta")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 900;BA.debugLine="c.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 903;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_C"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")})))); + BA.debugLineNum = 904;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO")))); + BA.debugLineNum = 905;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 906;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(512); +{ +final int step228 = 1; +final int limit228 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step228 > 0 && _i <= limit228) || (step228 < 0 && _i >= limit228) ;_i = ((int)(0 + _i + step228)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 907;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 908;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2048); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 909;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 910;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 911;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 912;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 915;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 916;BA.debugLine="d.Position=0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 918;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_cuantos_pedido" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDO")))); + BA.debugLineNum = 919;BA.debugLine="d.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 922;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_R"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")})))); + BA.debugLineNum = 923;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUN"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 924;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 925;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(268435456); +{ +final int step244 = 1; +final int limit244 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step244 > 0 && _i <= limit244) || (step244 < 0 && _i >= limit244) ;_i = ((int)(0 + _i + step244)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 926;BA.debugLine="c.Position=i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 927;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS"))),BA.ObjectToString(""))) { + BA.debugLineNum = 928;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(-2147483648); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 929;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 930;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 931;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 932;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido")))); + }else { + BA.debugLineNum = 934;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"P"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))) { + BA.debugLineNum = 935;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(64); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 936;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 937;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 938;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 939;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido")))); + }else { + BA.debugLineNum = 942;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8192); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 943;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 944;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 945;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 946;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido")))); + BA.debugLineNum = 948;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(524288); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 949;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 950;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2")); + BA.debugLineNum = 951;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))})); + BA.debugLineNum = 952;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido")))); + }; + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 957;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 958;BA.debugLine="d.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 959;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; +Debug.ShouldStop(1073741824); +__ref.setField ("_cuantos_pedido" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDO")))); + BA.debugLineNum = 960;BA.debugLine="d.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 982;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select *"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select * from cuestionario"))))); + BA.debugLineNum = 983;BA.debugLine="Private rutaActual As String = Subs.traeRuta"; +Debug.ShouldStop(4194304); +_rutaactual = c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("rutaActual", _rutaactual);Debug.locals.put("rutaActual", _rutaactual); + BA.debugLineNum = 984;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 985;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(16777216); +{ +final int step281 = 1; +final int limit281 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step281 > 0 && _i <= limit281) || (step281 < 0 && _i >= limit281) ;_i = ((int)(0 + _i + step281)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 986;BA.debugLine="c.Position = i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 987;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(67108864); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 988;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 989;BA.debugLine="cmd.Name = \"insert_CUESTIONARIO_GUNA\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_CUESTIONARIO_GUNA")); + BA.debugLineNum = 990;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_IDCLIENTE")))),(_rutaactual),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_IDPREGUNTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_PREGUNTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_IDRESPUESTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_RESPUESTA"))))})); + BA.debugLineNum = 991;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(1073741824); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_cuestionario")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 994;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 997;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_CL"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA")))); + BA.debugLineNum = 998;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA")))); + BA.debugLineNum = 999;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1000;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(128); +{ +final int step294 = 1; +final int limit294 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step294 > 0 && _i <= limit294) || (step294 < 0 && _i >= limit294) ;_i = ((int)(0 + _i + step294)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1001;BA.debugLine="c.Position=i"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1002;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(512); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1003;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1004;BA.debugLine="cmd.Name = \"insert_noventa_GV2\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_noventa_GV2")); + BA.debugLineNum = 1005;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_MOTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_COMM")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_LON")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1006;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1009;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1010;BA.debugLine="d.Position=0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1011;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +Debug.ShouldStop(262144); +__ref.setField ("_cuantos_noventa" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_NOVENTA")))); + BA.debugLineNum = 1012;BA.debugLine="d.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1030;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HGCLI"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select HGCLIENTE, HGDATE, HGLAT, HGLON from HIST_GEOCERCA")))); + BA.debugLineNum = 1031;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1032;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(128); +{ +final int step309 = 1; +final int limit309 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step309 > 0 && _i <= limit309) || (step309 < 0 && _i >= limit309) ;_i = ((int)(0 + _i + step309)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1033;BA.debugLine="c.Position=i"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1034;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(512); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1035;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1036;BA.debugLine="cmd.Name = \"insert_geocerca_GV2\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_geocerca_GV2")); + BA.debugLineNum = 1037;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HGCLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HGDATE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HGLAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HGLON"))))})); + BA.debugLineNum = 1038;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_hist_geo")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1041;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1044;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HFCLI"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN from HIST_FACE")))); + BA.debugLineNum = 1045;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1046;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(2097152); +{ +final int step321 = 1; +final int limit321 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step321 > 0 && _i <= limit321) || (step321 < 0 && _i >= limit321) ;_i = ((int)(0 + _i + step321)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1047;BA.debugLine="c.Position=i"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1048;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8388608); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1049;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1050;BA.debugLine="cmd.Name = \"insert_face_like_GV2\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_face_like_GV2")); + BA.debugLineNum = 1051;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HFCLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HFALIAS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HFRUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HFALMACEN"))))})); + BA.debugLineNum = 1052;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_hist_face")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1055;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1058;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second"; +Debug.ShouldStop(2); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("T1")),(Object)(BA.numberCast(long.class, 30000))); + BA.debugLineNum = 1059;BA.debugLine="t1.Enabled = True"; +Debug.ShouldStop(4); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1060;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(8); +c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate); +c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime); + BA.debugLineNum = 1061;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(16); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1062;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(32); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1063;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(64); +__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1064;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(128); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1065;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1066;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_GV2_3")); + BA.debugLineNum = 1067;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta."; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText")),(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_montoactual" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))),RemoteObject.createImmutable(("ENVIO")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))})); + BA.debugLineNum = 1068;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop")))); + BA.debugLineNum = 1069;BA.debugLine="img2.Visible =False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1070;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant"; +Debug.ShouldStop(8192); +__ref.setField ("_porcentaje" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(100),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ )),RemoteObject.createImmutable(1)}, "+++",3, 0))}, "/",0, 0))))); + BA.debugLineNum = 1071;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")))),(Object)(c_principal.__c.getField(true,"True")));}; + }; + BA.debugLineNum = 1074;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(131072); +_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO1"))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1075;BA.debugLine="If x.RowCount>0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1076;BA.debugLine="For i=0 To x.RowCount -1"; +Debug.ShouldStop(524288); +{ +final int step348 = 1; +final int limit348 = RemoteObject.solve(new RemoteObject[] {_x.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step348 > 0 && _i <= limit348) || (step348 < 0 && _i >= limit348) ;_i = ((int)(0 + _i + step348)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1077;BA.debugLine="x.Position=i"; +Debug.ShouldStop(1048576); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1078;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2097152); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1079;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1080;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO1\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO1")); + BA.debugLineNum = 1081;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P7")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P8")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P9"))))})); + BA.debugLineNum = 1082;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO1")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1085;BA.debugLine="x.Close"; +Debug.ShouldStop(268435456); +_x.runVoidMethod ("Close"); + BA.debugLineNum = 1087;BA.debugLine="Private x1 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(1073741824); +_x1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_x1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6 from ENCUESTA_MODULO2"))));Debug.locals.put("x1", _x1);Debug.locals.put("x1", _x1); + BA.debugLineNum = 1088;BA.debugLine="If x1.RowCount>0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_x1.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1089;BA.debugLine="For i=0 To x1.RowCount -1"; +Debug.ShouldStop(1); +{ +final int step360 = 1; +final int limit360 = RemoteObject.solve(new RemoteObject[] {_x1.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step360 > 0 && _i <= limit360) || (step360 < 0 && _i >= limit360) ;_i = ((int)(0 + _i + step360)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1090;BA.debugLine="x1.Position=i"; +Debug.ShouldStop(2); +_x1.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1091;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1092;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1093;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO2\""; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO2")); + BA.debugLineNum = 1094;BA.debugLine="cmd.Parameters = Array As Object(x1.GetString(\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6"))))})); + BA.debugLineNum = 1095;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO2")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1098;BA.debugLine="x1.Close"; +Debug.ShouldStop(512); +_x1.runVoidMethod ("Close"); + BA.debugLineNum = 1099;BA.debugLine="Private x2 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(1024); +_x2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_x2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 from ENCUESTA_MODULO3"))));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2); + BA.debugLineNum = 1100;BA.debugLine="If x2.RowCount>0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_x2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1101;BA.debugLine="For i=0 To x2.RowCount -1"; +Debug.ShouldStop(4096); +{ +final int step372 = 1; +final int limit372 = RemoteObject.solve(new RemoteObject[] {_x2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step372 > 0 && _i <= limit372) || (step372 < 0 && _i >= limit372) ;_i = ((int)(0 + _i + step372)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1102;BA.debugLine="x2.Position=i"; +Debug.ShouldStop(8192); +_x2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1104;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(32768); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1105;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1106;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO3\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO3")); + BA.debugLineNum = 1107;BA.debugLine="cmd.Parameters = Array As Object(x2.GetString(\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P7")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P8")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P9")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P10")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P11"))))})); + BA.debugLineNum = 1108;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO3")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1111;BA.debugLine="x2.Close"; +Debug.ShouldStop(4194304); +_x2.runVoidMethod ("Close"); + BA.debugLineNum = 1112;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(8388608); +_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8 from ENCUESTA_MODULO4"))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1113;BA.debugLine="If x.RowCount>0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1114;BA.debugLine="For i=0 To x.RowCount -1"; +Debug.ShouldStop(33554432); +{ +final int step384 = 1; +final int limit384 = RemoteObject.solve(new RemoteObject[] {_x.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step384 > 0 && _i <= limit384) || (step384 < 0 && _i >= limit384) ;_i = ((int)(0 + _i + step384)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1115;BA.debugLine="x.Position=i"; +Debug.ShouldStop(67108864); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1116;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(134217728); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1117;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1118;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO4\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO4")); + BA.debugLineNum = 1119;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P7")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P8"))))})); + BA.debugLineNum = 1120;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO4")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1123;BA.debugLine="x.Close"; +Debug.ShouldStop(4); +_x.runVoidMethod ("Close"); + BA.debugLineNum = 1124;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(8); +_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO5"))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1125;BA.debugLine="If x.RowCount>0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1126;BA.debugLine="For i=0 To x.RowCount -1"; +Debug.ShouldStop(32); +{ +final int step396 = 1; +final int limit396 = RemoteObject.solve(new RemoteObject[] {_x.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step396 > 0 && _i <= limit396) || (step396 < 0 && _i >= limit396) ;_i = ((int)(0 + _i + step396)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1127;BA.debugLine="x.Position=i"; +Debug.ShouldStop(64); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1128;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(128); +c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1129;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1130;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO5\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO5")); + BA.debugLineNum = 1131;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P7")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P8")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P9"))))})); + BA.debugLineNum = 1132;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO5")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1135;BA.debugLine="x.Close"; +Debug.ShouldStop(16384); +_x.runVoidMethod ("Close"); + BA.debugLineNum = 1136;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _t1_tick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("t1_tick (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3090); +if (RapidSub.canDelegate("t1_tick")) { return __ref.runUserSub(false, "c_principal","t1_tick", __ref);} + BA.debugLineNum = 3090;BA.debugLine="Sub t1_tick"; +Debug.ShouldStop(131072); + BA.debugLineNum = 3092;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 3093;BA.debugLine="cmd.Name = \"select_cuantos_pedido_GV2\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedido_GV2")); + BA.debugLineNum = 3094;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 3095;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_pedido")))); + BA.debugLineNum = 3097;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 3098;BA.debugLine="cmd.Name = \"select_cuantos_noventa_GV2\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_noventa_GV2")); + BA.debugLineNum = 3099;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 3100;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_noventa")))); + BA.debugLineNum = 3102;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 3103;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_GV2\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedidoc_GV2")); + BA.debugLineNum = 3104;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 3105;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_pedidoc")))); + BA.debugLineNum = 3107;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3108;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\""; +Debug.ShouldStop(8); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIAR DATOS (K-1)")); + }; + BA.debugLineNum = 3110;BA.debugLine="Log(\"TIMER DISABLED\")"; +Debug.ShouldStop(32); +c_principal.__c.runVoidMethod ("LogImpl","04325396",RemoteObject.createImmutable("TIMER DISABLED"),0); + BA.debugLineNum = 3111;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(64); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3112;BA.debugLine="t1.Enabled = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3115;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _t2_tick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("t2_tick (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2959); +if (RapidSub.canDelegate("t2_tick")) { return __ref.runUserSub(false, "c_principal","t2_tick", __ref);} + BA.debugLineNum = 2959;BA.debugLine="Sub t2_tick"; +Debug.ShouldStop(16384); + BA.debugLineNum = 2961;BA.debugLine="Log(\"--------> BORRAMOS\")"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","04128770",RemoteObject.createImmutable("--------> BORRAMOS"),0); + BA.debugLineNum = 2962;BA.debugLine="If B4XPages.MainPage.productos.lv_catalogos.IsIni"; +Debug.ShouldStop(131072); +if (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("Clear");}; + BA.debugLineNum = 2963;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente"))); + BA.debugLineNum = 2964;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido"))); + BA.debugLineNum = 2965;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from noventa"))); + BA.debugLineNum = 2966;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from COMENTARIOS"))); + BA.debugLineNum = 2967;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_PROMOS_DESCUENTOS"))); + BA.debugLineNum = 2968;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from TELEFONO"))); + BA.debugLineNum = 2969;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from ATIENDE"))); + BA.debugLineNum = 2970;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PLAN_LEALTAD"))); + BA.debugLineNum = 2971;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from clie_act"))); + BA.debugLineNum = 2972;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info3"))); + BA.debugLineNum = 2973;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM CLIENTES_NUEVOS"))); + BA.debugLineNum = 2974;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\")"; +Debug.ShouldStop(536870912); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_GIRO"))); + BA.debugLineNum = 2975;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1073741824); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 2976;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2"))); + BA.debugLineNum = 2977;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 2978;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 2979;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VERIFICACION"))); + BA.debugLineNum = 2980;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_ENCUESTA"))); + BA.debugLineNum = 2981;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_ENCUESTA2"))); + BA.debugLineNum = 2982;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_STAY_OUT"))); + BA.debugLineNum = 2983;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS"))); + BA.debugLineNum = 2984;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE from"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE from CODIGOS_CREDITO"))); + BA.debugLineNum = 2985;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_FACE"))); + BA.debugLineNum = 2986;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INTO"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"))); + BA.debugLineNum = 2987;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_CODIGO_BARRAS"))); + BA.debugLineNum = 2988;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ENCUESTA_MODULO1"))); + BA.debugLineNum = 2989;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ENCUESTA_MODULO2"))); + BA.debugLineNum = 2990;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ENCUESTA_MODULO3"))); + BA.debugLineNum = 2991;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ENCUESTA_MODULO4"))); + BA.debugLineNum = 2992;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ENCUESTA_MODULO5"))); + BA.debugLineNum = 2993;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM BITACORAGPS"))); + BA.debugLineNum = 2994;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTA_SUPLENCIA"))); + BA.debugLineNum = 2995;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TICKET_IMPRESO"))); + BA.debugLineNum = 2996;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")}))))); + BA.debugLineNum = 2997;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")}))))); + BA.debugLineNum = 2998;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("pasword")}))))); + BA.debugLineNum = 2999;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LATITUD")}))))); + BA.debugLineNum = 3000;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LONGITUD")}))))); + BA.debugLineNum = 3001;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("RUTA")}))))); + BA.debugLineNum = 3004;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))))); + BA.debugLineNum = 3005;BA.debugLine="Subs.deleteFolder(Starter.fFileProvider.SharedFol"; +Debug.ShouldStop(268435456); +c_principal._subs.runVoidMethod ("_deletefolder" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_principal._starter._ffileprovider /*RemoteObject*/ .getField(true,"_sharedfolder" /*RemoteObject*/ ))); + BA.debugLineNum = 3007;BA.debugLine="E_RUTA2.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3009;BA.debugLine="b_abordo.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3010;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3011;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3012;BA.debugLine="connecta.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3018;BA.debugLine="t2.Enabled = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_t2" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3019;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 3020;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 3021;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tickets_dia_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tickets_dia_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3756); +if (RapidSub.canDelegate("tickets_dia_click")) { return __ref.runUserSub(false, "c_principal","tickets_dia_click", __ref);} + BA.debugLineNum = 3756;BA.debugLine="Sub tickets_dia_Click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 3757;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TicketsDia"))); + BA.debugLineNum = 3758;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_productos.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_productos.java new file mode 100644 index 0000000..1d6b209 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_productos.java @@ -0,0 +1,128 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_productos { + public static RemoteObject myClass; + public c_productos() { + } + public static PCBA staticBA = new PCBA(null, c_productos.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _forzarbusqueda = RemoteObject.createImmutable(false); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _lv_catalogos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _lv_promos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _entro = RemoteObject.createImmutable(""); +public static RemoteObject _gest = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _lfila = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _marca = RemoteObject.createImmutable(""); +public static RemoteObject _tipo = RemoteObject.createImmutable(""); +public static RemoteObject _subtipo = RemoteObject.createImmutable(""); +public static RemoteObject _busca = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _ya_entro = RemoteObject.createImmutable(""); +public static RemoteObject _tiene_promos = RemoteObject.createImmutable(""); +public static RemoteObject _res = RemoteObject.createImmutable(""); +public static RemoteObject _s1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +public static RemoteObject _ciclo = RemoteObject.createImmutable(""); +public static RemoteObject _b_qr = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_productos = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clv_productos = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _imageview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _panel3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _i_prod = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_prodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_prodmas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_pcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_pcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_prodmenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_terminar1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_continuar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_totprods = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _totalprods = RemoteObject.createImmutable(0); +public static RemoteObject _totalcompra = RemoteObject.createImmutable(0f); +public static RemoteObject _etcanthasfocus = RemoteObject.createImmutable(false); +public static RemoteObject _prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _l_cargando = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_info = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_buscar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_botonesventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv_tipo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _lv_subtipo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _p_vistapreviatrans = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv_prodspedido = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _b_rechazar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_aceptar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_vistaprevia = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _folio = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _prodspedidoactual = RemoteObject.createImmutable(""); +public static RemoteObject _montopedidoactual = RemoteObject.createImmutable(""); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _clv_prods_ll = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _pclv = RemoteObject.declareNull("gunav2.keymon.com.mx.preoptimizedclv"); +public static RemoteObject _listaprods = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _pedidomap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _p_botmasmen = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _reiniciarlistaprods = RemoteObject.createImmutable(false); +public static RemoteObject _listatiempos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _clienteid = RemoteObject.createImmutable(""); +public static RemoteObject _rutausuario = RemoteObject.createImmutable(""); +public static RemoteObject _haypedido = RemoteObject.createImmutable(false); +public static RemoteObject _listahints = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _vamoaver = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _j3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _invtotal = RemoteObject.createImmutable(0); +public static RemoteObject _et_pcantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_prodmenosc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmasc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _totalcajasmaspiezas = RemoteObject.createImmutable(0); +public static RemoteObject _cajas = RemoteObject.createImmutable(0); +public static RemoteObject _piezas = RemoteObject.createImmutable(0); +public static RemoteObject _p_calatolos = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_botmasmenc = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_promodesc = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_promodesc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_okpromodesc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_devo = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_proddev = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_devmas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_cantdev = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_devmenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_acep_dev = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _preciodev = RemoteObject.createImmutable(0); +public static RemoteObject _nombredev = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_acep_dev",_ref.getField(false, "_b_acep_dev"),"b_aceptar",_ref.getField(false, "_b_aceptar"),"b_buscar",_ref.getField(false, "_b_buscar"),"b_continuar",_ref.getField(false, "_b_continuar"),"b_devmas",_ref.getField(false, "_b_devmas"),"b_devmenos",_ref.getField(false, "_b_devmenos"),"b_okpromodesc",_ref.getField(false, "_b_okpromodesc"),"b_prodMas",_ref.getField(false, "_b_prodmas"),"b_prodMasc",_ref.getField(false, "_b_prodmasc"),"b_prodMenos",_ref.getField(false, "_b_prodmenos"),"b_prodMenosc",_ref.getField(false, "_b_prodmenosc"),"b_qr",_ref.getField(false, "_b_qr"),"b_rechazar",_ref.getField(false, "_b_rechazar"),"b_terminar1",_ref.getField(false, "_b_terminar1"),"bmp",_ref.getField(false, "_bmp"),"BUSCA",_ref.getField(false, "_busca"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"C3",_ref.getField(false, "_c3"),"cajas",_ref.getField(false, "_cajas"),"ciclo",_ref.getField(false, "_ciclo"),"clienteId",_ref.getField(false, "_clienteid"),"clv_prods_ll",_ref.getField(false, "_clv_prods_ll"),"clv_productos",_ref.getField(false, "_clv_productos"),"DateUtils",_ref.getField(false, "_dateutils"),"entro",_ref.getField(false, "_entro"),"et_pCant",_ref.getField(false, "_et_pcant"),"et_pCantc",_ref.getField(false, "_et_pcantc"),"etCantHasFocus",_ref.getField(false, "_etcanthasfocus"),"folio",_ref.getField(false, "_folio"),"forzarBusqueda",_ref.getField(false, "_forzarbusqueda"),"gest",_ref.getField(false, "_gest"),"hayPedido",_ref.getField(false, "_haypedido"),"i_prod",_ref.getField(false, "_i_prod"),"ImageView1",_ref.getField(false, "_imageview1"),"invTotal",_ref.getField(false, "_invtotal"),"j3",_ref.getField(false, "_j3"),"l_cant",_ref.getField(false, "_l_cant"),"l_cantdev",_ref.getField(false, "_l_cantdev"),"l_Cargando",_ref.getField(false, "_l_cargando"),"l_info",_ref.getField(false, "_l_info"),"l_pCant",_ref.getField(false, "_l_pcant"),"l_proddev",_ref.getField(false, "_l_proddev"),"l_prodX",_ref.getField(false, "_l_prodx"),"l_promodesc",_ref.getField(false, "_l_promodesc"),"l_total",_ref.getField(false, "_l_total"),"l_total2",_ref.getField(false, "_l_total2"),"l_totProds",_ref.getField(false, "_l_totprods"),"lfila",_ref.getField(false, "_lfila"),"listaHints",_ref.getField(false, "_listahints"),"listaProds",_ref.getField(false, "_listaprods"),"listaTiempos",_ref.getField(false, "_listatiempos"),"lv_catalogos",_ref.getField(false, "_lv_catalogos"),"lv_prodsPedido",_ref.getField(false, "_lv_prodspedido"),"lv_promos",_ref.getField(false, "_lv_promos"),"lv_subtipo",_ref.getField(false, "_lv_subtipo"),"lv_tipo",_ref.getField(false, "_lv_tipo"),"marca",_ref.getField(false, "_marca"),"montoPedidoActual",_ref.getField(false, "_montopedidoactual"),"nombredev",_ref.getField(false, "_nombredev"),"p_botMasMen",_ref.getField(false, "_p_botmasmen"),"p_botMasMenc",_ref.getField(false, "_p_botmasmenc"),"p_botonesVenta",_ref.getField(false, "_p_botonesventa"),"P_CALATOLOS",_ref.getField(false, "_p_calatolos"),"p_devo",_ref.getField(false, "_p_devo"),"p_prods",_ref.getField(false, "_p_prods"),"p_productos",_ref.getField(false, "_p_productos"),"p_promodesc",_ref.getField(false, "_p_promodesc"),"p_vistaPrevia",_ref.getField(false, "_p_vistaprevia"),"p_vistaPreviaTrans",_ref.getField(false, "_p_vistapreviatrans"),"Panel2",_ref.getField(false, "_panel2"),"Panel3",_ref.getField(false, "_panel3"),"PCLV",_ref.getField(false, "_pclv"),"pedidoMap",_ref.getField(false, "_pedidomap"),"piezas",_ref.getField(false, "_piezas"),"preciodev",_ref.getField(false, "_preciodev"),"prodsMap",_ref.getField(false, "_prodsmap"),"prodsPedidoActual",_ref.getField(false, "_prodspedidoactual"),"q_buscar",_ref.getField(false, "_q_buscar"),"r",_ref.getField(false, "_r"),"reiniciarlistaProds",_ref.getField(false, "_reiniciarlistaprods"),"RES",_ref.getField(false, "_res"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"rutaUsuario",_ref.getField(false, "_rutausuario"),"s",_ref.getField(false, "_s"),"S1",_ref.getField(false, "_s1"),"skmt",_ref.getField(false, "_skmt"),"subtipo",_ref.getField(false, "_subtipo"),"TIENE_PROMOS",_ref.getField(false, "_tiene_promos"),"tipo",_ref.getField(false, "_tipo"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"totalcajasmaspiezas",_ref.getField(false, "_totalcajasmaspiezas"),"totalCompra",_ref.getField(false, "_totalcompra"),"totalProds",_ref.getField(false, "_totalprods"),"vamoaver",_ref.getField(false, "_vamoaver"),"xui",_ref.getField(false, "_xui"),"ya_entro",_ref.getField(false, "_ya_entro")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_productos_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_productos_subs_0.java new file mode 100644 index 0000000..40ba36c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_productos_subs_0.java @@ -0,0 +1,4698 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_productos_subs_0 { + + +public static RemoteObject _b_acep_dev_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_acep_dev_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,2383); +if (RapidSub.canDelegate("b_acep_dev_click")) { return __ref.runUserSub(false, "c_productos","b_acep_dev_click", __ref);} + BA.debugLineNum = 2383;BA.debugLine="Private Sub b_acep_dev_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 2384;BA.debugLine="p_devo.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_devo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 2385;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_aceptar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_aceptar_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1349); +if (RapidSub.canDelegate("b_aceptar_click")) { return __ref.runUserSub(false, "c_productos","b_aceptar_click", __ref);} + BA.debugLineNum = 1349;BA.debugLine="Private Sub b_aceptar_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 1350;BA.debugLine="p_vistaPreviaTrans.Visible=False"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1351;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(64); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 1352;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_continuar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_continuar_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1239); +if (RapidSub.canDelegate("b_continuar_click")) { return __ref.runUserSub(false, "c_productos","b_continuar_click", __ref);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 1239;BA.debugLine="Private Sub b_continuar_Click"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1240;BA.debugLine="Log(\"b_continuar_Click\")"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","066781185",RemoteObject.createImmutable("b_continuar_Click"),0); + BA.debugLineNum = 1241;BA.debugLine="cuentaProds"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 1243;BA.debugLine="Log($\"prodsMap=${prodsMap}\"$)"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","066781188",(RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1251;BA.debugLine="Log(\"promos-inv, prods-inv, cat-vis\")"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","066781196",RemoteObject.createImmutable("promos-inv, prods-inv, cat-vis"),0); + BA.debugLineNum = 1252;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1253;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1254;BA.debugLine="lv_subtipo.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_lv_subtipo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1255;BA.debugLine="lv_tipo.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1256;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1257;BA.debugLine="Log(\"Continuar\")"; +Debug.ShouldStop(256); +c_productos.__c.runVoidMethod ("LogImpl","066781202",RemoteObject.createImmutable("Continuar"),0); + BA.debugLineNum = 1258;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +Debug.ShouldStop(512); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = c_productos._subs.runMethod(false,"_traetotalesclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 1259;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +Debug.ShouldStop(1024); +__ref.setField ("_prodspedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))))); + BA.debugLineNum = 1260;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +Debug.ShouldStop(2048); +__ref.setField ("_montopedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))); + BA.debugLineNum = 1261;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_devmas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_devmas_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,2404); +if (RapidSub.canDelegate("b_devmas_click")) { return __ref.runUserSub(false, "c_productos","b_devmas_click", __ref);} +RemoteObject _c6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _dev2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2404;BA.debugLine="Private Sub b_devmas_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 2406;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQue"; +Debug.ShouldStop(32); +_c6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS <> 'DUR' "))));Debug.locals.put("c6", _c6);Debug.locals.put("c6", _c6); + BA.debugLineNum = 2407;BA.debugLine="If c6.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_c6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2408;BA.debugLine="c6.Position = 0"; +Debug.ShouldStop(128); +_c6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2412;BA.debugLine="Log(((l_cantdev.Text + 1)* preciodev))"; +Debug.ShouldStop(2048); +c_productos.__c.runVoidMethod ("LogImpl","068157448",BA.NumberToString((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)),__ref.getField(true,"_preciodev" /*RemoteObject*/ )}, "*",0, 0))),0); + BA.debugLineNum = 2413;BA.debugLine="If c6.GetString(\"PC_MONTO\")- ((l_cantdev.Text +"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("g",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)),__ref.getField(true,"_preciodev" /*RemoteObject*/ )}, "*",0, 0))}, "-",1, 0),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2414;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(8192); +_dev2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_dev2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_NOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_nombredev" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));Debug.locals.put("dev2", _dev2);Debug.locals.put("dev2", _dev2); + BA.debugLineNum = 2415;BA.debugLine="dev2.Position = 0"; +Debug.ShouldStop(16384); +_dev2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2416;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False"))))); + BA.debugLineNum = 2418;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 2420;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1"; +Debug.ShouldStop(524288); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DUR")),(Object)(BA.NumberToString((__ref.getField(true,"_preciodev" /*RemoteObject*/ ).get().doubleValue()*-(double) (0 + 1)))),(Object)(__ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(__ref.getField(true,"_nombredev" /*RemoteObject*/ )),(Object)(_dev2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(1)),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 2422;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1"; +Debug.ShouldStop(2097152); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DUR")),(Object)(BA.NumberToString((__ref.getField(true,"_preciodev" /*RemoteObject*/ ).get().doubleValue()*-(double) (0 + 1)))),(Object)(__ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(__ref.getField(true,"_nombredev" /*RemoteObject*/ )),(Object)(_dev2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(1)),(Object)(BA.NumberToString(0))); + }; + }else { + BA.debugLineNum = 2428;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al prec"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El monto de venta es menor al precio de este producto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }; + BA.debugLineNum = 2439;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_devmenos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_devmenos_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,2387); +if (RapidSub.canDelegate("b_devmenos_click")) { return __ref.runUserSub(false, "c_productos","b_devmenos_click", __ref);} +RemoteObject _dev2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2387;BA.debugLine="Private Sub b_devmenos_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 2388;BA.debugLine="If NumberFormat2((l_cantdev.Text - 1),0,0,0, Fals"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2390;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(2097152); +_dev2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_dev2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_NOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_nombredev" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));Debug.locals.put("dev2", _dev2);Debug.locals.put("dev2", _dev2); + BA.debugLineNum = 2391;BA.debugLine="dev2.Position = 0"; +Debug.ShouldStop(4194304); +_dev2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2392;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text -"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False"))))); + BA.debugLineNum = 2393;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 2395;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)"; +Debug.ShouldStop(67108864); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DUR")),(Object)(BA.NumberToString((__ref.getField(true,"_preciodev" /*RemoteObject*/ ).get().doubleValue()*-(double) (0 + 1)))),(Object)(__ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(__ref.getField(true,"_nombredev" /*RemoteObject*/ )),(Object)(_dev2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(1)),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 2397;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)"; +Debug.ShouldStop(268435456); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DUR")),(Object)(BA.NumberToString((__ref.getField(true,"_preciodev" /*RemoteObject*/ ).get().doubleValue()*-(double) (0 + 1)))),(Object)(__ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(__ref.getField(true,"_nombredev" /*RemoteObject*/ )),(Object)(_dev2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(1)),(Object)(BA.NumberToString(0))); + }; + }; + BA.debugLineNum = 2402;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_okpromodesc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_okpromodesc_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,2296); +if (RapidSub.canDelegate("b_okpromodesc_click")) { return __ref.runUserSub(false, "c_productos","b_okpromodesc_click", __ref);} + BA.debugLineNum = 2296;BA.debugLine="Private Sub b_okpromodesc_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 2297;BA.debugLine="p_promodesc.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_promodesc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 2298;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMas_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,878); +if (RapidSub.canDelegate("b_prodmas_click")) { return __ref.runUserSub(false, "c_productos","b_prodmas_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _inv = RemoteObject.createImmutable(""); +RemoteObject _existencias = RemoteObject.createImmutable(""); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); + BA.debugLineNum = 878;BA.debugLine="Sub b_prodMas_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 879;BA.debugLine="totalcajasmaspiezas = 0"; +Debug.ShouldStop(16384); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 880;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(32768); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 881;BA.debugLine="Root.RequestFocus"; +Debug.ShouldStop(65536); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 884;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(524288); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 885;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(1048576); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 886;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(2097152); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 887;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(4194304); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 889;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(16777216); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 891;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(67108864); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 894;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +Debug.ShouldStop(536870912); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 895;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; +Debug.ShouldStop(1073741824); +_inv = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 896;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; +Debug.ShouldStop(-2147483648); +_existencias = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("existencias", _existencias);Debug.locals.put("existencias", _existencias); + BA.debugLineNum = 897;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","066453523",(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_existencias))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 898;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 899;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(4); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 916;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","066453542",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 918;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text <"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("k",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))))))) { + BA.debugLineNum = 920;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almace"; +Debug.ShouldStop(8388608); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("almacen"))),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),RemoteObject.createImmutable(1)}, "-",1, 0))))); + BA.debugLineNum = 921;BA.debugLine="inv = inv - 1"; +Debug.ShouldStop(16777216); +_inv = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),RemoteObject.createImmutable(1)}, "-",1, 0));Debug.locals.put("inv", _inv); + BA.debugLineNum = 923;BA.debugLine="laCant.Text = NumberFormat2((laCant.Text + 1), 1"; +Debug.ShouldStop(67108864); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False"))))); + }; + BA.debugLineNum = 926;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; +Debug.ShouldStop(536870912); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 935;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(64); +c_productos.__c.runVoidMethod ("LogImpl","066453561",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 941;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","066453567",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),0); + BA.debugLineNum = 942;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 943;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +Debug.ShouldStop(16384); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(_lacant.runMethod(true,"getText")),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 945;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +Debug.ShouldStop(65536); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(_lacant.runMethod(true,"getText")),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + }; + BA.debugLineNum = 948;BA.debugLine="cuentaProds"; +Debug.ShouldStop(524288); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 951;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(4194304); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 952;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(8388608); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 953;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"se"; +Debug.ShouldStop(16777216); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 954;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(33554432); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 955;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 956;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(134217728); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 957;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(268435456); +_invactualizado = _o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("invActualizado", _invactualizado); + }; + BA.debugLineNum = 966;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)."; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(2),BA.numberCast(double.class, 2))) { +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_invactualizado)))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject()));}; + BA.debugLineNum = 969;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +Debug.ShouldStop(256); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + BA.debugLineNum = 971;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) ")))); + BA.debugLineNum = 972;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 973;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 974;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr"; +Debug.ShouldStop(8192); +c_productos.__c.runVoidMethod ("LogImpl","066453600",(RemoteObject.concat(RemoteObject.createImmutable("registros: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(", arts: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))),RemoteObject.createImmutable(", monto:"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 975;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_NO"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Prods: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))); + BA.debugLineNum = 976;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MONT"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Total: $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))); + BA.debugLineNum = 977;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("Total: $null"))) { +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Total: $0.0"));}; + BA.debugLineNum = 978;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text = \""; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("Prods: null"))) { +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Prods: 0"));}; + }; + BA.debugLineNum = 981;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmenos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenos_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,734); +if (RapidSub.canDelegate("b_prodmenos_click")) { return __ref.runUserSub(false, "c_productos","b_prodmenos_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelbotonesc = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _tmpmap1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); +RemoteObject _c7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totaldev = RemoteObject.createImmutable(0); +RemoteObject _c6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totalprod = RemoteObject.createImmutable(0); + BA.debugLineNum = 734;BA.debugLine="Sub b_prodMenos_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 735;BA.debugLine="totalcajasmaspiezas = 0"; +Debug.ShouldStop(1073741824); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 736;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 737;BA.debugLine="Root.RequestFocus"; +Debug.ShouldStop(1); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 739;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(4); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 740;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(8); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 741;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(16); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 742;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(32); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 744;BA.debugLine="Dim panelbotonesc As B4XView = pnl.GetView(3)"; +Debug.ShouldStop(128); +_panelbotonesc = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelbotonesc = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("panelbotonesc", _panelbotonesc);Debug.locals.put("panelbotonesc", _panelbotonesc); + BA.debugLineNum = 745;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(256); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 747;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(1024); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 749;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 751;BA.debugLine="laCant.Text = $\"${NumberFormat2(laCant.Text-1,0,0"; +Debug.ShouldStop(16384); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 752;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 753;BA.debugLine="Private tmpMap1 As Map = clv_prods_ll.GetValue(in"; +Debug.ShouldStop(65536); +_tmpmap1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap1 = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index))));Debug.locals.put("tmpMap1", _tmpmap1);Debug.locals.put("tmpMap1", _tmpmap1); + BA.debugLineNum = 754;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +Debug.ShouldStop(131072); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 755;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(262144); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 756;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +Debug.ShouldStop(524288); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 757;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; +Debug.ShouldStop(1048576); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 758;BA.debugLine="LogColor(tmpMap1,Colors.Magenta)"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","066387992",BA.ObjectToString(_tmpmap1),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 759;BA.debugLine="prodsMap.Put(id, tmpMap)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_id)),(Object)((_tmpmap.getObject()))); + BA.debugLineNum = 760;BA.debugLine="If laCant.Text = 0 Then prodsMap.Remove(id)"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((_id)));}; + BA.debugLineNum = 772;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","066388006",RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 774;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant.te"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("LogImpl","066388008",(RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precio))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_lacant.runMethod(true,"getText")))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_clienteid" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 775;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 776;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +Debug.ShouldStop(128); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(_lacant.runMethod(true,"getText")),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 778;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +Debug.ShouldStop(512); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(_lacant.runMethod(true,"getText")),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + }; + BA.debugLineNum = 780;BA.debugLine="cuentaProds"; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 781;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","066388015",RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 782;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +Debug.ShouldStop(8192); +c_productos.__c.runVoidMethod ("LogImpl","066388016",(RemoteObject.concat(RemoteObject.createImmutable("Total Prods: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Total Compra: $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 783;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 784;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(32768); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 785;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(65536); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 786;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(131072); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 787;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(262144); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 788;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 789;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(1048576); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 790;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(2097152); +_invactualizado = _o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("invActualizado", _invactualizado); + }; + BA.debugLineNum = 800;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(2),BA.numberCast(double.class, 2))) { +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_invactualizado)))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject()));}; + }; + BA.debugLineNum = 814;BA.debugLine="If Subs.totalPedido < 1 Then laCant.Text = \"0\""; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, c_productos._subs.runMethod(true,"_totalpedido" /*RemoteObject*/ ,__ref.getField(false, "ba"))),BA.numberCast(double.class, 1))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 815;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +Debug.ShouldStop(16384); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + BA.debugLineNum = 834;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) ")))); + BA.debugLineNum = 837;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 838;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 839;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr"; +Debug.ShouldStop(64); +c_productos.__c.runVoidMethod ("LogImpl","066388073",(RemoteObject.concat(RemoteObject.createImmutable("registros: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(", arts: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))),RemoteObject.createImmutable(", monto:"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 840;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_NO"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Prods: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))); + BA.debugLineNum = 841;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MONT"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Total: $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))); + BA.debugLineNum = 842;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Total: $0.0"));}; + BA.debugLineNum = 843;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text = \""; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Prods: 0"));}; + }; + BA.debugLineNum = 849;BA.debugLine="Dim c7 As Cursor = B4XPages.MainPage.skmt.ExecQue"; +Debug.ShouldStop(65536); +_c7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c7 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS = 'DUR'"))));Debug.locals.put("c7", _c7);Debug.locals.put("c7", _c7); + BA.debugLineNum = 850;BA.debugLine="If c7.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_c7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 851;BA.debugLine="c7.Position = 0"; +Debug.ShouldStop(262144); +_c7.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 853;BA.debugLine="Dim totaldev As Double = c7.GetString(\"PC_MONTO\""; +Debug.ShouldStop(1048576); +_totaldev = BA.numberCast(double.class, _c7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))));Debug.locals.put("totaldev", _totaldev);Debug.locals.put("totaldev", _totaldev); + }; + BA.debugLineNum = 857;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQue"; +Debug.ShouldStop(16777216); +_c6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS <> 'DUR' "))));Debug.locals.put("c6", _c6);Debug.locals.put("c6", _c6); + BA.debugLineNum = 858;BA.debugLine="If c6.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_c6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 859;BA.debugLine="c6.Position = 0"; +Debug.ShouldStop(67108864); +_c6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 861;BA.debugLine="Dim totalprod As Double = c6.GetString(\"PC_MONTO"; +Debug.ShouldStop(268435456); +_totalprod = BA.numberCast(double.class, _c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))));Debug.locals.put("totalprod", _totalprod);Debug.locals.put("totalprod", _totalprod); + }; + BA.debugLineNum = 865;BA.debugLine="Log(totaldev &\" \" & totalprod)"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","066388099",RemoteObject.concat(_totaldev,RemoteObject.createImmutable(" "),_totalprod),0); + BA.debugLineNum = 866;BA.debugLine="If totalprod = 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_totalprod,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 867;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CEDIS = 'DUR'"))); + BA.debugLineNum = 868;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Las devloluciones se elimanron por que no hay venta.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 869;BA.debugLine="Else If totalprod < (totaldev * -1) Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("<",_totalprod,BA.numberCast(double.class, (_totaldev.get().doubleValue()*-(double) (0 + 1))))) { + BA.debugLineNum = 870;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(32); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CEDIS = 'DUR'"))); + BA.debugLineNum = 871;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; +Debug.ShouldStop(64); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Las devloluciones se elimanron por que el monto de la devolucion es mayor al monto de la venta.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }} +; + BA.debugLineNum = 876;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_qr_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_QR_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,690); +if (RapidSub.canDelegate("b_qr_click")) { return __ref.runUserSub(false, "c_productos","b_qr_click", __ref);} + BA.debugLineNum = 690;BA.debugLine="Sub b_QR_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 691;BA.debugLine="If ciclo = 1 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 692;BA.debugLine="ciclo = 2"; +Debug.ShouldStop(524288); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(2)); + BA.debugLineNum = 693;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(1048576); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 694;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 695;BA.debugLine="else if ciclo = 2 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(2))) { + BA.debugLineNum = 696;BA.debugLine="ciclo = 3"; +Debug.ShouldStop(8388608); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(3)); + BA.debugLineNum = 697;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(16777216); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 698;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 699;BA.debugLine="else if ciclo = 3 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(3))) { + BA.debugLineNum = 700;BA.debugLine="ciclo = 4"; +Debug.ShouldStop(134217728); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(4)); + BA.debugLineNum = 701;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(268435456); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 702;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 703;BA.debugLine="else if ciclo = 4 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(4))) { + BA.debugLineNum = 704;BA.debugLine="ciclo = 5"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(5)); + BA.debugLineNum = 705;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(1); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 706;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(2); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 707;BA.debugLine="else if ciclo = 5 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(5))) { + BA.debugLineNum = 708;BA.debugLine="ciclo = 1"; +Debug.ShouldStop(8); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 709;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(16); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 710;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(32); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }}}}} +; + BA.debugLineNum = 712;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_rechazar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_rechazar_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1326); +if (RapidSub.canDelegate("b_rechazar_click")) { return __ref.runUserSub(false, "c_productos","b_rechazar_click", __ref);} + BA.debugLineNum = 1326;BA.debugLine="Private Sub b_rechazar_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1328;BA.debugLine="result = Msgbox2($\"Seguro que desea borrar el pe"; +Debug.ShouldStop(32768); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_productos.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Seguro que desea borrar el pedido completo?"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Haciendo clic largo sobre un producto se pueden borrar articulos independientes."))))),(Object)(BA.ObjectToCharSequence("Rechazar Pedido")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_productos.__c.runMethod(false,"LoadBitmap",(Object)(c_productos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 1329;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_productos.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 1330;BA.debugLine="Subs.borraPedidoClienteActual"; +Debug.ShouldStop(131072); +c_productos._subs.runVoidMethod ("_borrapedidoclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 1331;BA.debugLine="prodsMap.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1335;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1336;BA.debugLine="Log(\"Positivo\")"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","067174410",RemoteObject.createImmutable("Positivo"),0); + BA.debugLineNum = 1337;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(16777216); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else { + BA.debugLineNum = 1339;BA.debugLine="Log(\"NO Positivo\")"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","067174413",RemoteObject.createImmutable("NO Positivo"),0); + BA.debugLineNum = 1340;BA.debugLine="p_vistaPreviaTrans.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }; + BA.debugLineNum = 1345;BA.debugLine="p_vistaPreviaTrans.Visible=False"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1346;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(2); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 1347;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_terminar1_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_terminar1_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1167); +if (RapidSub.canDelegate("b_terminar1_click")) { return __ref.runUserSub(false, "c_productos","b_terminar1_click", __ref);} +RemoteObject _c_prods = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _textcolor = RemoteObject.createImmutable(0); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 1167;BA.debugLine="Sub b_terminar1_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 1170;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete from"; +Debug.ShouldStop(131072); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from PEDIDO WHERE PE_PRONOMBRE = ? ")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("N/A"))}))))); + BA.debugLineNum = 1172;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1173;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1174;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1175;BA.debugLine="lv_prodsPedido.Clear"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 1176;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Height = 35di"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(true,"setHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 35)))); + BA.debugLineNum = 1177;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.Height"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel").runMethod(true,"setHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 1178;BA.debugLine="Private c_prods As Cursor=B4XPages.MainPage.skmt."; +Debug.ShouldStop(33554432); +_c_prods = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c_prods = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PRONOMBRE,PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_PRONOMBRE"))));Debug.locals.put("c_prods", _c_prods);Debug.locals.put("c_prods", _c_prods); + BA.debugLineNum = 1179;BA.debugLine="If c_prods.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_c_prods.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1180;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(134217728); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 1182;BA.debugLine="vamoaver.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1183;BA.debugLine="For i=0 To c_prods.RowCount -1"; +Debug.ShouldStop(1073741824); +{ +final int step12 = 1; +final int limit12 = RemoteObject.solve(new RemoteObject[] {_c_prods.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step12 > 0 && _i <= limit12) || (step12 < 0 && _i >= limit12) ;_i = ((int)(0 + _i + step12)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1184;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(-2147483648); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 1185;BA.debugLine="c_prods.Position=i"; +Debug.ShouldStop(1); +_c_prods.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1186;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(2); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 1187;BA.debugLine="label1 = lv_prodsPedido.TwoLinesLayout.Label"; +Debug.ShouldStop(4); +_label1 = __ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 1188;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(8); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 1189;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(16); +_label1.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 1190;BA.debugLine="label1.color = Colors.White"; +Debug.ShouldStop(32); +_label1.runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 1191;BA.debugLine="Private textColor As Int = Colors.black"; +Debug.ShouldStop(64); +_textcolor = c_productos.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 1193;BA.debugLine="If c_prods.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 1194;BA.debugLine="textColor = Colors.RGB(48,3,195)"; +Debug.ShouldStop(512); +_textcolor = c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 48)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 195)));Debug.locals.put("textColor", _textcolor); + }else +{ BA.debugLineNum = 1195;BA.debugLine="Else If c_prods.GetString(\"PE_FOLIO\") = \"PREVEN"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA")) || RemoteObject.solveBoolean("=",_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("ABORDO")) || RemoteObject.solveBoolean("=",_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("RECARGA"))) { + BA.debugLineNum = 1196;BA.debugLine="textColor = Colors.RGB(166,0,0)"; +Debug.ShouldStop(2048); +_textcolor = c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 166)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("textColor", _textcolor); + }} +; + BA.debugLineNum = 1198;BA.debugLine="If Not(IsNumber(c_prods.GetString(\"PE_CEDIS\")))"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(".",c_productos.__c.runMethod(true,"Not",(Object)(c_productos.__c.runMethod(true,"IsNumber",(Object)(_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))))))) && RemoteObject.solveBoolean("=",_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 1199;BA.debugLine="textColor = Colors.RGB(154,131,231) 'Si es pro"; +Debug.ShouldStop(16384); +_textcolor = c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 154)),(Object)(BA.numberCast(int.class, 131)),(Object)(BA.numberCast(int.class, 231)));Debug.locals.put("textColor", _textcolor); + }else +{ BA.debugLineNum = 1200;BA.debugLine="Else If Not(IsNumber(c_prods.GetString(\"PE_CEDI"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(".",c_productos.__c.runMethod(true,"Not",(Object)(c_productos.__c.runMethod(true,"IsNumber",(Object)(_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))))))) && RemoteObject.solveBoolean("=",_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA"))) { + BA.debugLineNum = 1201;BA.debugLine="textColor = Colors.RGB(255,111,111) 'Si es pro"; +Debug.ShouldStop(65536); +_textcolor = c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 111)),(Object)(BA.numberCast(int.class, 111)));Debug.locals.put("textColor", _textcolor); + }} +; + BA.debugLineNum = 1203;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(262144); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 1204;BA.debugLine="label2 = lv_prodsPedido.TwoLinesLayout.SecondLa"; +Debug.ShouldStop(524288); +_label2 = __ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 1205;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(1048576); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 1206;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(2097152); +_label2.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1209;BA.debugLine="lv_prodsPedido.AddSingleLine(cs.Color(textColor"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(_textcolor)).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 15))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),RemoteObject.createImmutable(" "))))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 10))).runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad #"),_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable(" SubTotal $"),_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable(" "),_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),RemoteObject.createImmutable(" "),_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))))))).runMethod(false,"PopAll").getObject()))); + BA.debugLineNum = 1210;BA.debugLine="label1.Height = 120dip"; +Debug.ShouldStop(33554432); +_label1.runMethod(true,"setHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 120)))); + BA.debugLineNum = 1211;BA.debugLine="lv_prodsPedido.SingleLineLayout.ItemHeight = 90"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").runMethod(true,"setItemHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 90)))); + BA.debugLineNum = 1212;BA.debugLine="vamoaver.Add(c_prods.GetString(\"PE_FOLIO\"))"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))))); + BA.debugLineNum = 1213;BA.debugLine="folio = c_prods.GetString(\"PE_FOLIO\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_folio" /*RemoteObject*/ ,_c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1219;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select sum"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")))); + BA.debugLineNum = 1220;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1221;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 1222;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))); + BA.debugLineNum = 1223;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 1226;BA.debugLine="c_prods.Close"; +Debug.ShouldStop(512); +_c_prods.runVoidMethod ("Close"); + BA.debugLineNum = 1228;BA.debugLine="l_total2.Text = Subs.calculaTotalConPromoXRango(S"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_productos._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))))); + BA.debugLineNum = 1231;BA.debugLine="p_vistaPreviaTrans.Width = Root.Width"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1232;BA.debugLine="p_vistaPreviaTrans.Height = Root.Height"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1233;BA.debugLine="Subs.centraPanel(p_vistaPrevia, Root.Width)"; +Debug.ShouldStop(65536); +c_productos._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_vistaprevia" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 1235;BA.debugLine="p_vistaPrevia.Visible=True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_vistaprevia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1236;BA.debugLine="p_vistaPreviaTrans.Visible=True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1237;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,154); +if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "c_productos","b4xpage_appear", __ref); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { +public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_productos parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_productos parent; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _haypromos = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _tm = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int step59; +int limit59; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,154); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 155;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD"; +Debug.ShouldStop(67108864); +__ref.setField ("_tipo_venta" /*RemoteObject*/ ,parent._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 156;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA\" Or B"; +Debug.ShouldStop(134217728); +if (true) break; + +case 1: +//if +this.state = 8; +if (RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA")) || RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("ABORDO")) || RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { +this.state = 3; +}else +{ BA.debugLineNum = 158;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"VENTA\" Th"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("VENTA"))) { +this.state = 5; +}else +{ BA.debugLineNum = 160;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"RECARGA\""; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("RECARGA"))) { +this.state = 7; +}}} +if (true) break; + +case 3: +//C +this.state = 8; + BA.debugLineNum = 157;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; +Debug.ShouldStop(268435456); +parent._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD"); + if (true) break; + +case 5: +//C +this.state = 8; + BA.debugLineNum = 159;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; +Debug.ShouldStop(1073741824); +parent._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD2"); + if (true) break; + +case 7: +//C +this.state = 8; + BA.debugLineNum = 161;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD3\""; +Debug.ShouldStop(1); +parent._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD3"); + if (true) break; + +case 8: +//C +this.state = 9; +; + BA.debugLineNum = 163;BA.debugLine="Log(Starter.tabla)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","065798153",parent._starter._tabla /*RemoteObject*/ ,0); + BA.debugLineNum = 164;BA.debugLine="clienteId = Subs.traeCliente"; +Debug.ShouldStop(8); +__ref.setField ("_clienteid" /*RemoteObject*/ ,parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 165;BA.debugLine="rutaUsuario = Subs.traeRuta"; +Debug.ShouldStop(16); +__ref.setField ("_rutausuario" /*RemoteObject*/ ,parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 166;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(32); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("PRIORITARIO")),(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 167;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(64); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("ESTRATEGICO")),(RemoteObject.createImmutable("2"))}))))); + BA.debugLineNum = 168;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(128); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("COMPLEMENTARIO")),(RemoteObject.createImmutable("3"))}))))); + BA.debugLineNum = 169;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(256); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("CATALOGO REGULAR")),(RemoteObject.createImmutable("0"))}))))); + BA.debugLineNum = 170;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(512); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_CLASIF = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("PROMOS")),(RemoteObject.createImmutable("PROMOS"))}))))); + BA.debugLineNum = 171;BA.debugLine="clv_prods_ll.GetBase.SetLayoutAnimated(0, 5dip, 1"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getbase").runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 130)))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(10)}, "+",1, 1)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.74)}, "*",0, 0)))); + BA.debugLineNum = 172;BA.debugLine="clv_prods_ll.Base_Resize(clv_prods_ll.GetBase.Wid"; +Debug.ShouldStop(2048); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getHeight")))); + BA.debugLineNum = 173;BA.debugLine="If B4XPages.MainPage.bTerminarClicked Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 9: +//if +this.state = 12; +if (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_bterminarclicked" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 174;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 175;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 176;BA.debugLine="lv_tipo.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 177;BA.debugLine="lv_subtipo.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_lv_subtipo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 178;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 179;BA.debugLine="B4XPages.MainPage.bTerminarClicked = False"; +Debug.ShouldStop(262144); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_bterminarclicked" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; +; + BA.debugLineNum = 181;BA.debugLine="If ya_entro <> \"1\" Then"; +Debug.ShouldStop(1048576); + +case 12: +//if +this.state = 21; +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_ya_entro" /*RemoteObject*/ ),BA.ObjectToString("1"))) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 182;BA.debugLine="If BUSCA.Text <> \"\" Then BUSCA.Text =\"\""; +Debug.ShouldStop(2097152); +if (true) break; + +case 15: +//if +this.state = 20; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +this.state = 17; +;}if (true) break; + +case 17: +//C +this.state = 20; +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); +if (true) break; + +case 20: +//C +this.state = 21; +; + BA.debugLineNum = 183;BA.debugLine="entro =\"3\""; +Debug.ShouldStop(4194304); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + BA.debugLineNum = 184;BA.debugLine="lv_catalogos.Clear"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 185;BA.debugLine="Sleep(100)"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_productos", "b4xpage_appear"),BA.numberCast(int.class, 100)); +this.state = 56; +return; +case 56: +//C +this.state = 21; +; + BA.debugLineNum = 186;BA.debugLine="lfila.Text = \"PORTAFOLIO\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PORTAFOLIO")); + BA.debugLineNum = 187;BA.debugLine="p_productos.Height = Root.Height"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p_productos" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 188;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 189;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 190;BA.debugLine="p_botonesVenta.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 191;BA.debugLine="p_botonesVenta.Top = clv_prods_ll.AsView.top + c"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getTop"),__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "+-",2, 1)); + BA.debugLineNum = 192;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 194;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(2); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 195;BA.debugLine="label1 = lv_catalogos.SingleLineLayout.Label"; +Debug.ShouldStop(4); +_label1 = __ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 196;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(8); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 197;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(16); +_label1.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 198;BA.debugLine="label1.Color = Colors.ARGB(58,255,255,255)"; +Debug.ShouldStop(32); +_label1.runVoidMethod ("setColor",parent.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 58)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)))); + BA.debugLineNum = 199;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF"; +Debug.ShouldStop(64); +_label1.runMethod(false,"setTypeface",parent.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(parent.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(parent.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 200;BA.debugLine="lv_catalogos.Width = Root.Width * 0.99"; +Debug.ShouldStop(128); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.99)}, "*",0, 0))); + BA.debugLineNum = 201;BA.debugLine="lv_catalogos.Clear"; +Debug.ShouldStop(256); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 202;BA.debugLine="lv_catalogos.AddSingleLine(\"PORTAFOLIO\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("PORTAFOLIO")))); + BA.debugLineNum = 204;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select cou"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(*) as hayPromos from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_TIPO = 'PROMOS'")))))); + BA.debugLineNum = 205;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 207;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT CUE"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA"))))); + BA.debugLineNum = 208;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 209;BA.debugLine="If c.GetString(\"CUENTA\") <> \"0\" And c.GetString(\""; +Debug.ShouldStop(65536); +if (true) break; + +case 22: +//if +this.state = 44; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),BA.ObjectToString("0")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),BA.ObjectToString("1"))) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 210;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))")))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("PROMOS"),RemoteObject.createImmutable("PROMOS")})))); + BA.debugLineNum = 211;BA.debugLine="LogColor($\"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","065798201",(RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"))),parent.__c.getField(false,"Colors").getField(true,"Cyan")); + BA.debugLineNum = 213;BA.debugLine="Private hayPromos As Boolean = False"; +Debug.ShouldStop(1048576); +_haypromos = parent.__c.getField(true,"False");Debug.locals.put("hayPromos", _haypromos);Debug.locals.put("hayPromos", _haypromos); + BA.debugLineNum = 214;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 25: +//if +this.state = 43; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 27; +}else { +this.state = 42; +}if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 215;BA.debugLine="Log(\"Esto es un conteo --->\"&c2.RowCount) 'Isaa"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("LogImpl","065798205",RemoteObject.concat(RemoteObject.createImmutable("Esto es un conteo --->"),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 216;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(8388608); +if (true) break; + +case 28: +//for +this.state = 35; +step59 = 1; +limit59 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 57; +if (true) break; + +case 57: +//C +this.state = 35; +if ((step59 > 0 && _i <= limit59) || (step59 < 0 && _i >= limit59)) this.state = 30; +if (true) break; + +case 58: +//C +this.state = 57; +_i = ((int)(0 + _i + step59)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 30: +//C +this.state = 31; + BA.debugLineNum = 217;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 218;BA.debugLine="Log(\"Esto es i----->\"& i)'Isaac"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","065798208",RemoteObject.concat(RemoteObject.createImmutable("Esto es i----->"),RemoteObject.createImmutable(_i)),0); + BA.debugLineNum = 219;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +Debug.ShouldStop(67108864); +_tm = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tm = parent._subs.runMethod(false,"_procesapromocion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )));Debug.locals.put("tm", _tm);Debug.locals.put("tm", _tm); + BA.debugLineNum = 220;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; +Debug.ShouldStop(134217728); +if (true) break; + +case 31: +//if +this.state = 34; +if (RemoteObject.solveBoolean("=",_tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("status")))),RemoteObject.createImmutable(("ok")))) { +this.state = 33; +}if (true) break; + +case 33: +//C +this.state = 34; + BA.debugLineNum = 221;BA.debugLine="hayPromos = True"; +Debug.ShouldStop(268435456); +_haypromos = parent.__c.getField(true,"True");Debug.locals.put("hayPromos", _haypromos); + if (true) break; + +case 34: +//C +this.state = 58; +; + if (true) break; +if (true) break; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 224;BA.debugLine="If hayPromos Then lv_catalogos.AddSingleLine(\"P"; +Debug.ShouldStop(-2147483648); + +case 35: +//if +this.state = 40; +if (_haypromos.get().booleanValue()) { +this.state = 37; +;}if (true) break; + +case 37: +//C +this.state = 40; +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("PROMOCIONES")))); +if (true) break; + +case 40: +//C +this.state = 43; +; + if (true) break; + +case 42: +//C +this.state = 43; + BA.debugLineNum = 226;BA.debugLine="Log(\"NO HAY PROMOS\")"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","065798216",RemoteObject.createImmutable("NO HAY PROMOS"),0); + if (true) break; + +case 43: +//C +this.state = 44; +; + BA.debugLineNum = 228;BA.debugLine="c2.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 44: +//C +this.state = 45; +; + BA.debugLineNum = 231;BA.debugLine="Sleep(100)"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_productos", "b4xpage_appear"),BA.numberCast(int.class, 100)); +this.state = 59; +return; +case 59: +//C +this.state = 45; +; + BA.debugLineNum = 232;BA.debugLine="l_total.Visible =False"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 233;BA.debugLine="l_totProds.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 234;BA.debugLine="l_total.Left = 5dip"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setLeft",parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))); + BA.debugLineNum = 235;BA.debugLine="l_totProds.Width = Root.Width * 0.19"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.19)}, "*",0, 0))); + BA.debugLineNum = 236;BA.debugLine="l_total.Left = l_totProds.Width + 20"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(20)}, "+",1, 1)); + BA.debugLineNum = 237;BA.debugLine="l_total.Width = Root.Width * 0.25"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.25)}, "*",0, 0))); + BA.debugLineNum = 239;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +Debug.ShouldStop(16384); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = parent._subs.runMethod(false,"_traetotalesclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 240;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +Debug.ShouldStop(32768); +__ref.setField ("_prodspedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))))); + BA.debugLineNum = 241;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +Debug.ShouldStop(65536); +__ref.setField ("_montopedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))); + BA.debugLineNum = 242;BA.debugLine="hayPedido = Subs.hayPedido"; +Debug.ShouldStop(131072); +__ref.setField ("_haypedido" /*RemoteObject*/ ,parent._subs.runMethod(true,"_haypedido" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 244;BA.debugLine="B4XPages.MainPage.productos.clv_prods_ll.Clear"; +Debug.ShouldStop(524288); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 245;BA.debugLine="If reiniciarlistaProds Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 45: +//if +this.state = 50; +if (__ref.getField(true,"_reiniciarlistaprods" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 47; +}else +{ BA.debugLineNum = 249;BA.debugLine="else If hayPedido Then"; +Debug.ShouldStop(16777216); +if (__ref.getField(true,"_haypedido" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 49; +}} +if (true) break; + +case 47: +//C +this.state = 50; + BA.debugLineNum = 248;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + if (true) break; + +case 49: +//C +this.state = 50; + BA.debugLineNum = 253;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + if (true) break; +; + BA.debugLineNum = 255;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; +Debug.ShouldStop(1073741824); + +case 50: +//if +this.state = 55; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),BA.numberCast(double.class, 0))) { +this.state = 52; +;}if (true) break; + +case 52: +//C +this.state = 55; +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_llenaprodsll" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), parent.__c.getField(false,"Null"))); +if (true) break; + +case 55: +//C +this.state = -1; +; + BA.debugLineNum = 256;BA.debugLine="clv_prods_ll.JumpToItem(0) 'Vamos al primer artíc"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_jumptoitem",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 257;BA.debugLine="PCLV.lblHint.SetTextSizeAnimated(0,13)"; +Debug.ShouldStop(1); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_lblhint" /*RemoteObject*/ ).runVoidMethod ("SetTextSizeAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(float.class, 13))); + BA.debugLineNum = 258;BA.debugLine="PCLV.B4XSeekBar1.Color1=Colors.DarkGray"; +Debug.ShouldStop(2); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_color1" /*RemoteObject*/ ,parent.__c.getField(false,"Colors").getField(true,"DarkGray")); + BA.debugLineNum = 259;BA.debugLine="PCLV.B4XSeekBar1.Color2=Colors.DarkGray"; +Debug.ShouldStop(4); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_color2" /*RemoteObject*/ ,parent.__c.getField(false,"Colors").getField(true,"DarkGray")); + BA.debugLineNum = 260;BA.debugLine="PCLV.B4XSeekBar1.ThumbColor=Colors.red"; +Debug.ShouldStop(8); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_thumbcolor" /*RemoteObject*/ ,parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 261;BA.debugLine="PCLV.B4XSeekBar1.mBase.Left=Root.Width *0.91"; +Debug.ShouldStop(16); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.91)}, "*",0, 0))); + BA.debugLineNum = 263;BA.debugLine="PCLV.B4XSeekBar1.mBase.Height=clv_prods_ll.AsView"; +Debug.ShouldStop(64); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getHeight")); + BA.debugLineNum = 264;BA.debugLine="PCLV.pnlOverlay.Height = clv_prods_ll.AsView.Heig"; +Debug.ShouldStop(128); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_pnloverlay" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getHeight")); + BA.debugLineNum = 265;BA.debugLine="PCLV.B4XSeekBar1.Update"; +Debug.ShouldStop(256); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 269;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,632); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_productos","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_productos parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_productos parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,632); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 635;BA.debugLine="If l_info.Visible Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 1: +//if +this.state = 16; +if (__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 3; +}else +{ BA.debugLineNum = 639;BA.debugLine="else if p_vistaPreviaTrans.Visible Then"; +Debug.ShouldStop(1073741824); +if (__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 5; +}else +{ BA.debugLineNum = 643;BA.debugLine="else if lv_promos.visible Then"; +Debug.ShouldStop(4); +if (__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 7; +}else +{ BA.debugLineNum = 651;BA.debugLine="else if clv_prods_ll.AsView.Visible Then"; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getVisible").get().booleanValue()) { +this.state = 9; +}else +{ BA.debugLineNum = 671;BA.debugLine="else If entro = \"4\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("4"))) { +this.state = 11; +}else +{ BA.debugLineNum = 677;BA.debugLine="Else If entro = \"3\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("3"))) { +this.state = 13; +}else { +this.state = 15; +}}}}}} +if (true) break; + +case 3: +//C +this.state = 16; + BA.debugLineNum = 636;BA.debugLine="l_info.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 637;BA.debugLine="Log(\"AQUI\")"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("LogImpl","066191365",RemoteObject.createImmutable("AQUI"),0); + BA.debugLineNum = 638;BA.debugLine="Return False"; +Debug.ShouldStop(536870912); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 5: +//C +this.state = 16; + BA.debugLineNum = 640;BA.debugLine="p_vistaPreviaTrans.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 641;BA.debugLine="Log(\"AQUI\")"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("LogImpl","066191369",RemoteObject.createImmutable("AQUI"),0); + BA.debugLineNum = 642;BA.debugLine="Return False"; +Debug.ShouldStop(2); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 7: +//C +this.state = 16; + BA.debugLineNum = 644;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 645;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 646;BA.debugLine="p_botonesVenta.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 647;BA.debugLine="l_total.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 648;BA.debugLine="l_totProds.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 649;BA.debugLine="Log(\"AQUI\")"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("LogImpl","066191377",RemoteObject.createImmutable("AQUI"),0); + BA.debugLineNum = 650;BA.debugLine="Return False"; +Debug.ShouldStop(512); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 9: +//C +this.state = 16; + BA.debugLineNum = 652;BA.debugLine="lfila.text = \"PORTAFOLIO\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PORTAFOLIO")); + BA.debugLineNum = 653;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 654;BA.debugLine="lv_subtipo.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_lv_subtipo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 655;BA.debugLine="p_botonesVenta.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 656;BA.debugLine="l_total.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 657;BA.debugLine="l_totProds.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 658;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 659;BA.debugLine="Log(\"AQUI\")"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","066191387",RemoteObject.createImmutable("AQUI"),0); + BA.debugLineNum = 660;BA.debugLine="Return False"; +Debug.ShouldStop(524288); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 11: +//C +this.state = 16; + BA.debugLineNum = 673;BA.debugLine="Log(\"AQUI\")"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("LogImpl","066191401",RemoteObject.createImmutable("AQUI"),0); + BA.debugLineNum = 675;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(4); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 676;BA.debugLine="Return True"; +Debug.ShouldStop(8); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;}; + if (true) break; + +case 13: +//C +this.state = 16; + BA.debugLineNum = 678;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(32); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 679;BA.debugLine="Log(\"AQUI\")"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("LogImpl","066191407",RemoteObject.createImmutable("AQUI"),0); + BA.debugLineNum = 680;BA.debugLine="Return False"; +Debug.ShouldStop(128); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 682;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(512); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 683;BA.debugLine="Log(\"AQUI\")"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","066191411",RemoteObject.createImmutable("AQUI"),0); + BA.debugLineNum = 684;BA.debugLine="Return False"; +Debug.ShouldStop(2048); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 686;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,113); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_productos","b4xpage_created", __ref, _root1);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 113;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 114;BA.debugLine="Root = Root1"; +Debug.ShouldStop(131072); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 117;BA.debugLine="Root.LoadLayout(\"productos\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("productos")),__ref.getField(false, "ba")); + BA.debugLineNum = 118;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(2097152); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_productos.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 119;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",c_productos.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_productos.__c.getField(true,"False"))) { + BA.debugLineNum = 120;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(8388608); +c_productos.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_productos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 122;BA.debugLine="PCLV.Initialize(Me, \"PCLV\", clv_prods_ll)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString("PCLV")),(Object)(__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ))); + BA.debugLineNum = 123;BA.debugLine="ciclo = 1"; +Debug.ShouldStop(67108864); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 124;BA.debugLine="l_info.Width = Root.Width * 0.8"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.8)}, "*",0, 0))); + BA.debugLineNum = 125;BA.debugLine="l_info.Left = (Root.Width/2) - (l_info.Width/2)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 126;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select dist"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_GP_TIPO from cat_gunaprod where CAT_GP_TIPO <> 'PROMOS' order by CAT_GP_TIPO")))); + BA.debugLineNum = 127;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 128;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(-2147483648); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 129;BA.debugLine="label1 = lv_tipo.SingleLineLayout.Label"; +Debug.ShouldStop(1); +_label1 = __ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 130;BA.debugLine="label1.TextSize = 17"; +Debug.ShouldStop(2); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 17)); + BA.debugLineNum = 131;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(4); +_label1.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 132;BA.debugLine="lv_tipo.Clear"; +Debug.ShouldStop(8); +__ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 133;BA.debugLine="For i=0 To c.RowCount-1"; +Debug.ShouldStop(16); +{ +final int step18 = 1; +final int limit18 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step18 > 0 && _i <= limit18) || (step18 < 0 && _i >= limit18) ;_i = ((int)(0 + _i + step18)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 134;BA.debugLine="c.Position=i"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 135;BA.debugLine="Log(\"ENTRE AQUI EN PROMOS create\")"; +Debug.ShouldStop(64); +c_productos.__c.runVoidMethod ("LogImpl","065732630",RemoteObject.createImmutable("ENTRE AQUI EN PROMOS create"),0); + BA.debugLineNum = 136;BA.debugLine="lv_tipo.AddSingleLine(c.GetString(\"CAT_GP_TIPO\""; +Debug.ShouldStop(128); +__ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPO")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 139;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 142;BA.debugLine="listaTiempos.Initialize"; +Debug.ShouldStop(8192); +__ref.getField(false,"_listatiempos" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 143;BA.debugLine="listaProds.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 144;BA.debugLine="pedidoMap.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_pedidomap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 145;BA.debugLine="listaHints.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_listahints" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 148;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(524288); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 149;BA.debugLine="prodsMap.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 150;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _busca_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("Busca_TextChanged (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1748); +if (RapidSub.canDelegate("busca_textchanged")) { __ref.runUserSub(false, "c_productos","busca_textchanged", __ref, _old, _new); return;} +ResumableSub_Busca_TextChanged rsub = new ResumableSub_Busca_TextChanged(null,__ref,_old,_new); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Busca_TextChanged extends BA.ResumableSub { +public ResumableSub_Busca_TextChanged(gunav2.keymon.com.mx.c_productos parent,RemoteObject __ref,RemoteObject _old,RemoteObject _new) { +this.parent = parent; +this.__ref = __ref; +this._old = _old; +this._new = _new; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_productos parent; +RemoteObject _old; +RemoteObject _new; +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Busca_TextChanged (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1748); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 1750;BA.debugLine="If Not(clv_prods_ll.AsView.Visible) Then clv_prod"; +Debug.ShouldStop(2097152); +if (true) break; + +case 1: +//if +this.state = 6; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getVisible"))).get().booleanValue()) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"True")); +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 1751;BA.debugLine="If (New.Length = 1 Or New.Length = 2) And Not(for"; +Debug.ShouldStop(4194304); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("=",_new.runMethod(true,"length"),BA.numberCast(double.class, 1)) || RemoteObject.solveBoolean("=",_new.runMethod(true,"length"),BA.numberCast(double.class, 2))))) && RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_forzarbusqueda" /*RemoteObject*/ ))))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +if (true) return ; +if (true) break; + +case 12: +//C +this.state = -1; +; + BA.debugLineNum = 1752;BA.debugLine="forzarBusqueda = False"; +Debug.ShouldStop(8388608); +__ref.setField ("_forzarbusqueda" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + BA.debugLineNum = 1753;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1754;BA.debugLine="listaProds.Initialize"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1755;BA.debugLine="listaHints.Initialize"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listahints" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1756;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_productos", "busca_textchanged"),BA.numberCast(int.class, 0)); +this.state = 13; +return; +case 13: +//C +this.state = -1; +; + BA.debugLineNum = 1761;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(1); +_p = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_LISTAPRECIO from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_new))),RemoteObject.createImmutable("%' AND CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' AND CAT_GP_TIPO <> 'PROMOCION' union all select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_LISTAPRECIO from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2"))))));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 1763;BA.debugLine="Log(\"Llamamos LlenaProdsLL\")"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","067567631",RemoteObject.createImmutable("Llamamos LlenaProdsLL"),0); + BA.debugLineNum = 1764;BA.debugLine="LlenaProdsLL(p)"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_llenaprodsll" /*RemoteObject*/ ,(Object)(_p)); + BA.debugLineNum = 1783;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_productos._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_productos._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_productos._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_productos._xui); + //BA.debugLineNum = 4;BA.debugLine="Dim ruta As String"; +c_productos._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_productos._ruta); + //BA.debugLineNum = 5;BA.debugLine="Dim q_buscar As String"; +c_productos._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",c_productos._q_buscar); + //BA.debugLineNum = 6;BA.debugLine="Dim forzarBusqueda As Boolean = False"; +c_productos._forzarbusqueda = c_productos.__c.getField(true,"False");__ref.setField("_forzarbusqueda",c_productos._forzarbusqueda); + //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +c_productos._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_productos._skmt); + //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +c_productos._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_productos._c); + //BA.debugLineNum = 9;BA.debugLine="Dim c2 As Cursor"; +c_productos._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_productos._c2); + //BA.debugLineNum = 10;BA.debugLine="Dim C3 As Cursor"; +c_productos._c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c3",c_productos._c3); + //BA.debugLineNum = 11;BA.debugLine="Dim s As Cursor"; +c_productos._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_productos._s); + //BA.debugLineNum = 12;BA.debugLine="Dim lv_catalogos As ListView"; +c_productos._lv_catalogos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_catalogos",c_productos._lv_catalogos); + //BA.debugLineNum = 13;BA.debugLine="Dim lv_promos As ListView"; +c_productos._lv_promos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_promos",c_productos._lv_promos); + //BA.debugLineNum = 14;BA.debugLine="Dim entro As String"; +c_productos._entro = RemoteObject.createImmutable("");__ref.setField("_entro",c_productos._entro); + //BA.debugLineNum = 15;BA.debugLine="Dim gest As Button"; +c_productos._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_productos._gest); + //BA.debugLineNum = 16;BA.debugLine="Dim lfila As Label"; +c_productos._lfila = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lfila",c_productos._lfila); + //BA.debugLineNum = 17;BA.debugLine="Dim marca As String"; +c_productos._marca = RemoteObject.createImmutable("");__ref.setField("_marca",c_productos._marca); + //BA.debugLineNum = 18;BA.debugLine="Dim tipo As String"; +c_productos._tipo = RemoteObject.createImmutable("");__ref.setField("_tipo",c_productos._tipo); + //BA.debugLineNum = 19;BA.debugLine="Dim subtipo As String"; +c_productos._subtipo = RemoteObject.createImmutable("");__ref.setField("_subtipo",c_productos._subtipo); + //BA.debugLineNum = 20;BA.debugLine="Private BUSCA As EditText"; +c_productos._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_busca",c_productos._busca); + //BA.debugLineNum = 21;BA.debugLine="Dim ya_entro As String"; +c_productos._ya_entro = RemoteObject.createImmutable("");__ref.setField("_ya_entro",c_productos._ya_entro); + //BA.debugLineNum = 22;BA.debugLine="Dim TIENE_PROMOS As String"; +c_productos._tiene_promos = RemoteObject.createImmutable("");__ref.setField("_tiene_promos",c_productos._tiene_promos); + //BA.debugLineNum = 23;BA.debugLine="Dim RES As String"; +c_productos._res = RemoteObject.createImmutable("");__ref.setField("_res",c_productos._res); + //BA.debugLineNum = 24;BA.debugLine="Dim S1 As Cursor"; +c_productos._s1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s1",c_productos._s1); + //BA.debugLineNum = 25;BA.debugLine="Dim bmp As Bitmap"; +c_productos._bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");__ref.setField("_bmp",c_productos._bmp); + //BA.debugLineNum = 26;BA.debugLine="Dim ciclo As String"; +c_productos._ciclo = RemoteObject.createImmutable("");__ref.setField("_ciclo",c_productos._ciclo); + //BA.debugLineNum = 27;BA.debugLine="Private b_qr As Button"; +c_productos._b_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_qr",c_productos._b_qr); + //BA.debugLineNum = 28;BA.debugLine="Private p_productos As Panel"; +c_productos._p_productos = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_productos",c_productos._p_productos); + //BA.debugLineNum = 29;BA.debugLine="Dim clv_productos As CustomListView"; +c_productos._clv_productos = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_productos",c_productos._clv_productos); + //BA.debugLineNum = 30;BA.debugLine="Private ImageView1 As ImageView"; +c_productos._imageview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview1",c_productos._imageview1); + //BA.debugLineNum = 31;BA.debugLine="Private Panel3 As Panel"; +c_productos._panel3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel3",c_productos._panel3); + //BA.debugLineNum = 32;BA.debugLine="Private p_prods As Panel"; +c_productos._p_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prods",c_productos._p_prods); + //BA.debugLineNum = 33;BA.debugLine="Private i_prod As ImageView"; +c_productos._i_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_prod",c_productos._i_prod); + //BA.debugLineNum = 34;BA.debugLine="Private l_prodX As Label"; +c_productos._l_prodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodx",c_productos._l_prodx); + //BA.debugLineNum = 35;BA.debugLine="Private b_prodMas As Button"; +c_productos._b_prodmas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmas",c_productos._b_prodmas); + //BA.debugLineNum = 36;BA.debugLine="Private l_pCant As Label"; +c_productos._l_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pcant",c_productos._l_pcant); + //BA.debugLineNum = 37;BA.debugLine="Private et_pCant As EditText"; +c_productos._et_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pcant",c_productos._et_pcant); + //BA.debugLineNum = 38;BA.debugLine="Private b_prodMenos As Button"; +c_productos._b_prodmenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenos",c_productos._b_prodmenos); + //BA.debugLineNum = 39;BA.debugLine="Dim b_terminar1 As Button"; +c_productos._b_terminar1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_terminar1",c_productos._b_terminar1); + //BA.debugLineNum = 40;BA.debugLine="Dim b_continuar As Button"; +c_productos._b_continuar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_continuar",c_productos._b_continuar); + //BA.debugLineNum = 41;BA.debugLine="Private l_total As Label"; +c_productos._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_productos._l_total); + //BA.debugLineNum = 42;BA.debugLine="Private l_totProds As Label"; +c_productos._l_totprods = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_totprods",c_productos._l_totprods); + //BA.debugLineNum = 43;BA.debugLine="Dim totalProds As Int = 0"; +c_productos._totalprods = BA.numberCast(int.class, 0);__ref.setField("_totalprods",c_productos._totalprods); + //BA.debugLineNum = 44;BA.debugLine="Dim totalCompra As Float = 0"; +c_productos._totalcompra = BA.numberCast(float.class, 0);__ref.setField("_totalcompra",c_productos._totalcompra); + //BA.debugLineNum = 45;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +c_productos._etcanthasfocus = c_productos.__c.getField(true,"False");__ref.setField("_etcanthasfocus",c_productos._etcanthasfocus); + //BA.debugLineNum = 46;BA.debugLine="Dim prodsMap As Map"; +c_productos._prodsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_prodsmap",c_productos._prodsmap); + //BA.debugLineNum = 47;BA.debugLine="Private l_Cargando As Label"; +c_productos._l_cargando = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cargando",c_productos._l_cargando); + //BA.debugLineNum = 48;BA.debugLine="Private l_info As Label"; +c_productos._l_info = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_info",c_productos._l_info); + //BA.debugLineNum = 49;BA.debugLine="Private b_buscar As Button"; +c_productos._b_buscar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_buscar",c_productos._b_buscar); + //BA.debugLineNum = 50;BA.debugLine="Private p_botonesVenta As Panel"; +c_productos._p_botonesventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_botonesventa",c_productos._p_botonesventa); + //BA.debugLineNum = 51;BA.debugLine="Private lv_tipo As ListView"; +c_productos._lv_tipo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_tipo",c_productos._lv_tipo); + //BA.debugLineNum = 52;BA.debugLine="Private lv_subtipo As ListView"; +c_productos._lv_subtipo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_subtipo",c_productos._lv_subtipo); + //BA.debugLineNum = 53;BA.debugLine="Private p_vistaPreviaTrans As Panel"; +c_productos._p_vistapreviatrans = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_vistapreviatrans",c_productos._p_vistapreviatrans); + //BA.debugLineNum = 54;BA.debugLine="Private lv_prodsPedido As ListView"; +c_productos._lv_prodspedido = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_prodspedido",c_productos._lv_prodspedido); + //BA.debugLineNum = 55;BA.debugLine="Private b_rechazar As Button"; +c_productos._b_rechazar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_rechazar",c_productos._b_rechazar); + //BA.debugLineNum = 56;BA.debugLine="Private b_aceptar As Button"; +c_productos._b_aceptar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptar",c_productos._b_aceptar); + //BA.debugLineNum = 57;BA.debugLine="Private p_vistaPrevia As Panel"; +c_productos._p_vistaprevia = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_vistaprevia",c_productos._p_vistaprevia); + //BA.debugLineNum = 58;BA.debugLine="Dim folio As String"; +c_productos._folio = RemoteObject.createImmutable("");__ref.setField("_folio",c_productos._folio); + //BA.debugLineNum = 59;BA.debugLine="Dim result As String"; +c_productos._result = RemoteObject.createImmutable("");__ref.setField("_result",c_productos._result); + //BA.debugLineNum = 60;BA.debugLine="Private l_cant As Label"; +c_productos._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_productos._l_cant); + //BA.debugLineNum = 61;BA.debugLine="Private l_total2 As Label"; +c_productos._l_total2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total2",c_productos._l_total2); + //BA.debugLineNum = 62;BA.debugLine="Dim prodsPedidoActual As String"; +c_productos._prodspedidoactual = RemoteObject.createImmutable("");__ref.setField("_prodspedidoactual",c_productos._prodspedidoactual); + //BA.debugLineNum = 63;BA.debugLine="Dim montoPedidoActual As String"; +c_productos._montopedidoactual = RemoteObject.createImmutable("");__ref.setField("_montopedidoactual",c_productos._montopedidoactual); + //BA.debugLineNum = 64;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; +c_productos._tipo_venta = c_productos._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_tipo_venta",c_productos._tipo_venta); + //BA.debugLineNum = 65;BA.debugLine="Dim clv_prods_ll As CustomListView"; +c_productos._clv_prods_ll = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_prods_ll",c_productos._clv_prods_ll); + //BA.debugLineNum = 66;BA.debugLine="Private PCLV As PreoptimizedCLV"; +c_productos._pclv = RemoteObject.createNew ("gunav2.keymon.com.mx.preoptimizedclv");__ref.setField("_pclv",c_productos._pclv); + //BA.debugLineNum = 67;BA.debugLine="Dim listaProds As List"; +c_productos._listaprods = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listaprods",c_productos._listaprods); + //BA.debugLineNum = 69;BA.debugLine="Dim pedidoMap As Map"; +c_productos._pedidomap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_pedidomap",c_productos._pedidomap); + //BA.debugLineNum = 70;BA.debugLine="Private p_botMasMen As Panel"; +c_productos._p_botmasmen = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_botmasmen",c_productos._p_botmasmen); + //BA.debugLineNum = 71;BA.debugLine="Dim reiniciarlistaProds As Boolean= False"; +c_productos._reiniciarlistaprods = c_productos.__c.getField(true,"False");__ref.setField("_reiniciarlistaprods",c_productos._reiniciarlistaprods); + //BA.debugLineNum = 73;BA.debugLine="Dim listaTiempos As List"; +c_productos._listatiempos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listatiempos",c_productos._listatiempos); + //BA.debugLineNum = 74;BA.debugLine="Dim clienteId As String"; +c_productos._clienteid = RemoteObject.createImmutable("");__ref.setField("_clienteid",c_productos._clienteid); + //BA.debugLineNum = 75;BA.debugLine="Dim rutaUsuario As String"; +c_productos._rutausuario = RemoteObject.createImmutable("");__ref.setField("_rutausuario",c_productos._rutausuario); + //BA.debugLineNum = 76;BA.debugLine="Dim hayPedido As Boolean"; +c_productos._haypedido = RemoteObject.createImmutable(false);__ref.setField("_haypedido",c_productos._haypedido); + //BA.debugLineNum = 77;BA.debugLine="Dim listaHints As List"; +c_productos._listahints = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listahints",c_productos._listahints); + //BA.debugLineNum = 78;BA.debugLine="Dim r As Cursor"; +c_productos._r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_r",c_productos._r); + //BA.debugLineNum = 79;BA.debugLine="Dim vamoaver As List"; +c_productos._vamoaver = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_vamoaver",c_productos._vamoaver); + //BA.debugLineNum = 80;BA.debugLine="Dim j3 As Cursor"; +c_productos._j3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_j3",c_productos._j3); + //BA.debugLineNum = 81;BA.debugLine="Dim invTotal As Int"; +c_productos._invtotal = RemoteObject.createImmutable(0);__ref.setField("_invtotal",c_productos._invtotal); + //BA.debugLineNum = 82;BA.debugLine="Private et_pCantc As EditText"; +c_productos._et_pcantc = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pcantc",c_productos._et_pcantc); + //BA.debugLineNum = 83;BA.debugLine="Private b_prodMenosc As Button"; +c_productos._b_prodmenosc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenosc",c_productos._b_prodmenosc); + //BA.debugLineNum = 84;BA.debugLine="Private b_prodMasc As Button"; +c_productos._b_prodmasc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmasc",c_productos._b_prodmasc); + //BA.debugLineNum = 85;BA.debugLine="Dim totalcajasmaspiezas As Int"; +c_productos._totalcajasmaspiezas = RemoteObject.createImmutable(0);__ref.setField("_totalcajasmaspiezas",c_productos._totalcajasmaspiezas); + //BA.debugLineNum = 86;BA.debugLine="Dim cajas As Int"; +c_productos._cajas = RemoteObject.createImmutable(0);__ref.setField("_cajas",c_productos._cajas); + //BA.debugLineNum = 87;BA.debugLine="Dim piezas As Int"; +c_productos._piezas = RemoteObject.createImmutable(0);__ref.setField("_piezas",c_productos._piezas); + //BA.debugLineNum = 88;BA.debugLine="Dim P_CALATOLOS As Panel"; +c_productos._p_calatolos = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_calatolos",c_productos._p_calatolos); + //BA.debugLineNum = 90;BA.debugLine="Dim Panel2 As Panel"; +c_productos._panel2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel2",c_productos._panel2); + //BA.debugLineNum = 91;BA.debugLine="Private p_botMasMenc As Panel"; +c_productos._p_botmasmenc = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_botmasmenc",c_productos._p_botmasmenc); + //BA.debugLineNum = 92;BA.debugLine="Private p_promodesc As Panel"; +c_productos._p_promodesc = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_promodesc",c_productos._p_promodesc); + //BA.debugLineNum = 93;BA.debugLine="Private l_promodesc As Label"; +c_productos._l_promodesc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_promodesc",c_productos._l_promodesc); + //BA.debugLineNum = 94;BA.debugLine="Private b_okpromodesc As Button"; +c_productos._b_okpromodesc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_okpromodesc",c_productos._b_okpromodesc); + //BA.debugLineNum = 95;BA.debugLine="Private p_devo As Panel"; +c_productos._p_devo = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_devo",c_productos._p_devo); + //BA.debugLineNum = 96;BA.debugLine="Private l_proddev As Label"; +c_productos._l_proddev = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_proddev",c_productos._l_proddev); + //BA.debugLineNum = 97;BA.debugLine="Private b_devmas As Button"; +c_productos._b_devmas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_devmas",c_productos._b_devmas); + //BA.debugLineNum = 98;BA.debugLine="Private l_cantdev As Label"; +c_productos._l_cantdev = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cantdev",c_productos._l_cantdev); + //BA.debugLineNum = 99;BA.debugLine="Private b_devmenos As Button"; +c_productos._b_devmenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_devmenos",c_productos._b_devmenos); + //BA.debugLineNum = 100;BA.debugLine="Private b_acep_dev As Button"; +c_productos._b_acep_dev = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_acep_dev",c_productos._b_acep_dev); + //BA.debugLineNum = 103;BA.debugLine="Dim preciodev As Double"; +c_productos._preciodev = RemoteObject.createImmutable(0);__ref.setField("_preciodev",c_productos._preciodev); + //BA.debugLineNum = 104;BA.debugLine="Dim nombredev As String"; +c_productos._nombredev = RemoteObject.createImmutable("");__ref.setField("_nombredev",c_productos._nombredev); + //BA.debugLineNum = 105;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clv_prods_ll_itemclick(RemoteObject __ref,RemoteObject _index,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("clv_prods_ll_ItemClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1529); +if (RapidSub.canDelegate("clv_prods_ll_itemclick")) { return __ref.runUserSub(false, "c_productos","clv_prods_ll_itemclick", __ref, _index, _value);} +Debug.locals.put("Index", _index); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1529;BA.debugLine="Private Sub clv_prods_ll_ItemClick (Index As Int,"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 1531;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _clv_prods_ll_visiblerangechanged(RemoteObject __ref,RemoteObject _firstindex,RemoteObject _lastindex) throws Exception{ +try { + Debug.PushSubsStack("clv_prods_ll_VisibleRangeChanged (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1579); +if (RapidSub.canDelegate("clv_prods_ll_visiblerangechanged")) { return __ref.runUserSub(false, "c_productos","clv_prods_ll_visiblerangechanged", __ref, _firstindex, _lastindex);} +RemoteObject _extrasize = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _precio = RemoteObject.createImmutable(""); +Debug.locals.put("FirstIndex", _firstindex); +Debug.locals.put("LastIndex", _lastindex); + BA.debugLineNum = 1579;BA.debugLine="Private Sub clv_prods_ll_VisibleRangeChanged (Firs"; +Debug.ShouldStop(1024); + BA.debugLineNum = 1623;BA.debugLine="Dim ExtraSize As Int = 15 'List size"; +Debug.ShouldStop(4194304); +_extrasize = BA.numberCast(int.class, 15);Debug.locals.put("ExtraSize", _extrasize);Debug.locals.put("ExtraSize", _extrasize); + BA.debugLineNum = 1624;BA.debugLine="For i = Max(0, FirstIndex - ExtraSize) To Min(Las"; +Debug.ShouldStop(8388608); +{ +final int step2 = 1; +final int limit2 = (int) (0 + c_productos.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_lastindex,_extrasize}, "+",1, 1))),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1)))).get().doubleValue()); +_i = (int) (0 + c_productos.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_firstindex,_extrasize}, "-",1, 1)))).get().doubleValue()) ; +for (;(step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2) ;_i = ((int)(0 + _i + step2)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1625;BA.debugLine="Dim Pnl As B4XView = clv_prods_ll.GetPanel(i)"; +Debug.ShouldStop(16777216); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("Pnl", _pnl);Debug.locals.put("Pnl", _pnl); + BA.debugLineNum = 1626;BA.debugLine="If i > FirstIndex - ExtraSize And i < LastIndex"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",RemoteObject.createImmutable(_i),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_firstindex,_extrasize}, "-",1, 1))) && RemoteObject.solveBoolean("<",RemoteObject.createImmutable(_i),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_lastindex,_extrasize}, "+",1, 1)))) { + BA.debugLineNum = 1628;BA.debugLine="If Pnl.NumberOfViews = 0 Then 'Add each item/la"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_pnl.runMethod(true,"getNumberOfViews"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1629;BA.debugLine="Pnl.LoadLayout(\"proditem\")"; +Debug.ShouldStop(268435456); +_pnl.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("proditem")),__ref.getField(false, "ba")); + BA.debugLineNum = 1631;BA.debugLine="p_prods.Width = Root.Width * 0.92"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.92)}, "*",0, 0))); + BA.debugLineNum = 1632;BA.debugLine="p_botMasMen.Left = p_prods.Width - (p_botMasMe"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_botmasmen" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getWidth"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_botmasmen" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(5)}, "+",1, 1))}, "-",1, 1)); + BA.debugLineNum = 1633;BA.debugLine="p_botMasMenc.Left = p_prods.Width - (p_botMasM"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_botmasmenc" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getWidth"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_botmasmen" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(5)}, "+",1, 1))}, "-",1, 1)); + BA.debugLineNum = 1634;BA.debugLine="p_prods.Height = 134dip"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 134)))); + BA.debugLineNum = 1642;BA.debugLine="Pnl.SetLayoutAnimated(0,0,0,Pnl.Width,145dip)"; +Debug.ShouldStop(512); +_pnl.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_pnl.runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 145))))); + BA.debugLineNum = 1643;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(1024); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 1644;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(2048); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 1645;BA.debugLine="l_prodX.SetTextSizeAnimated(0, 13)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runVoidMethod ("SetTextSizeAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(float.class, 13))); + BA.debugLineNum = 1646;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant\""; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("N",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant"))))) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant"))))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1647;BA.debugLine="p_prods.Color=0xFFE2EEFF"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",BA.numberCast(int.class, ((int)0xffe2eeff))); + BA.debugLineNum = 1652;BA.debugLine="et_pCant.TextColor=Colors.Red"; +Debug.ShouldStop(524288); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1653;BA.debugLine="et_pCantc.TextColor=Colors.Red"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_et_pcantc" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1654;BA.debugLine="If Subs.pedidoGuardado Then"; +Debug.ShouldStop(2097152); +if (c_productos._subs.runMethod(true,"_pedidoguardado" /*RemoteObject*/ ,__ref.getField(false, "ba")).get().booleanValue()) { + BA.debugLineNum = 1656;BA.debugLine="et_pCant.Enabled = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1658;BA.debugLine="b_prodMenos.Enabled = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_b_prodmenos" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_productos.__c.getField(true,"False")); + }; + }else { + BA.debugLineNum = 1661;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"prio"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prioridad")))),RemoteObject.createImmutable(("PRIORITARIO")))) { + BA.debugLineNum = 1662;BA.debugLine="p_prods.Color = Colors.RGB(255, 212, 163) 'n"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 212)),(Object)(BA.numberCast(int.class, 163)))); + }else +{ BA.debugLineNum = 1664;BA.debugLine="Else If clv_prods_ll.GetValue(i).As(Map).Get("; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prioridad")))),RemoteObject.createImmutable(("COMPLEMENTARIO")))) { + BA.debugLineNum = 1665;BA.debugLine="p_prods.Color = Colors.RGB(177, 200, 249)'az"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 177)),(Object)(BA.numberCast(int.class, 200)),(Object)(BA.numberCast(int.class, 249)))); + }else +{ BA.debugLineNum = 1667;BA.debugLine="else If clv_prods_ll.GetValue(i).As(Map).Get("; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prioridad")))),RemoteObject.createImmutable(("CATALOGO REGULAR")))) { + BA.debugLineNum = 1668;BA.debugLine="p_prods.Color = Colors.White"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").getField(true,"White")); + }else +{ BA.debugLineNum = 1670;BA.debugLine="else If clv_prods_ll.GetValue(i).As(Map).Get("; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prioridad")))),RemoteObject.createImmutable(("ESTRATEGICO")))) { + BA.debugLineNum = 1671;BA.debugLine="p_prods.Color = Colors.RGB(241, 255, 163) 'a"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 241)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 163)))); + }}}} +; + }; + BA.debugLineNum = 1675;BA.debugLine="Private precio As String=NumberFormat2(clv_pro"; +Debug.ShouldStop(1024); +_precio = c_productos.__c.runMethod(true,"NumberFormat2",(Object)((BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio"))))))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 1686;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("N",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant")))))) { +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant"))))));}; + BA.debugLineNum = 1718;BA.debugLine="l_prodX.Text = cs.Color(Colors.red).append(clv"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prod"))))))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))))))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precio))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject())); + }; + }else { + }; + BA.debugLineNum = 1743;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size - Fir"; +Debug.ShouldStop(16384); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_setvalue" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),_firstindex}, "-",1, 1)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1746;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid,RemoteObject _bc,RemoteObject _tc) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,717); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_productos","createlistitem", __ref, _text, _preciou, _inv, _width, _height, _img, _prodid, _bc, _tc);} +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); +Debug.locals.put("img", _img); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("bc", _bc); +Debug.locals.put("tc", _tc); + BA.debugLineNum = 717;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +Debug.ShouldStop(4096); + BA.debugLineNum = 732;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuentaprods(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("cuentaProds (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1153); +if (RapidSub.canDelegate("cuentaprods")) { return __ref.runUserSub(false, "c_productos","cuentaprods", __ref);} + BA.debugLineNum = 1153;BA.debugLine="Sub cuentaProds"; +Debug.ShouldStop(1); + BA.debugLineNum = 1155;BA.debugLine="Log(\"===========================\")"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","066650114",RemoteObject.createImmutable("==========================="),0); + BA.debugLineNum = 1156;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(8); +c_productos._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_productos._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_clienteid" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));__ref.setField("_c",c_productos._c); + BA.debugLineNum = 1159;BA.debugLine="p_botonesVenta.Visible = True"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1160;BA.debugLine="p_botonesVenta.BringToFront"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 1161;BA.debugLine="c.Position=0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1163;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1165;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcant_focuschanged(RemoteObject __ref,RemoteObject _hasfocus) throws Exception{ +try { + Debug.PushSubsStack("et_pCant_FocusChanged (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,983); +if (RapidSub.canDelegate("et_pcant_focuschanged")) { return __ref.runUserSub(false, "c_productos","et_pcant_focuschanged", __ref, _hasfocus);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); +Debug.locals.put("HasFocus", _hasfocus); + BA.debugLineNum = 983;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 984;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","066519041",(RemoteObject.concat(RemoteObject.createImmutable("focus changed="),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hasfocus))),RemoteObject.createImmutable(""))),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 985;BA.debugLine="If et_pCant.Text = \"\" Then et_pCant.Text = \"0\""; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 986;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(33554432); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 987;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(67108864); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 988;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(134217728); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 989;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(268435456); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 990;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +Debug.ShouldStop(536870912); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 991;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(1073741824); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 992;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = \"0\""; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 993;BA.debugLine="etCantHasFocus = HasFocus"; +Debug.ShouldStop(1); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,_hasfocus); + BA.debugLineNum = 994;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","066519051",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 995;BA.debugLine="If laCant2.IsInitialized Then"; +Debug.ShouldStop(4); +if (_lacant2.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 996;BA.debugLine="totalcajasmaspiezas = laCant.Text + laCant2.Text"; +Debug.ShouldStop(8); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, _lacant2.runMethod(true,"getText"))}, "+",1, 0))); + }else { + BA.debugLineNum = 998;BA.debugLine="totalcajasmaspiezas = laCant.Text"; +Debug.ShouldStop(32); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, _lacant.runMethod(true,"getText"))); + }; + BA.debugLineNum = 1000;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +Debug.ShouldStop(128); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + BA.debugLineNum = 1003;BA.debugLine="cuentaProds"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 1004;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcant_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_pCant_TextChanged (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1006); +if (RapidSub.canDelegate("et_pcant_textchanged")) { return __ref.runUserSub(false, "c_productos","et_pcant_textchanged", __ref, _old, _new);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _inv = RemoteObject.createImmutable(""); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); +RemoteObject _c7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totaldev = RemoteObject.createImmutable(0); +RemoteObject _c6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totalprod = RemoteObject.createImmutable(0); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 1006;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1009;BA.debugLine="If etCantHasFocus = True Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ ),c_productos.__c.getField(true,"True"))) { + BA.debugLineNum = 1010;BA.debugLine="LogColor($\"txt changed: ${Old}|${New}, hasfocus="; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","066584580",(RemoteObject.concat(RemoteObject.createImmutable("txt changed: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_old))),RemoteObject.createImmutable("|"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_new))),RemoteObject.createImmutable(", hasfocus="),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 1011;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; +Debug.ShouldStop(262144); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 1012;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; +Debug.ShouldStop(524288); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 1013;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(1048576); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 1014;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; +Debug.ShouldStop(2097152); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 1016;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(8388608); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 1017;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; +Debug.ShouldStop(16777216); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 1018;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; +Debug.ShouldStop(33554432); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 1019;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; +Debug.ShouldStop(67108864); +_inv = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 1020;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; +Debug.ShouldStop(134217728); +_inv = c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 1021;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +Debug.ShouldStop(268435456); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 1023;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(1073741824); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 1026;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; +Debug.ShouldStop(2); +if ((RemoteObject.solveBoolean("=",_new,BA.ObjectToString("")) || RemoteObject.solveBoolean("n",_new) || RemoteObject.solveBoolean("=",_new,RemoteObject.createImmutable("-")))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 1028;BA.debugLine="If(New > invTotal) Then"; +Debug.ShouldStop(8); +if ((RemoteObject.solveBoolean(">",BA.numberCast(double.class, _new),BA.numberCast(double.class, __ref.getField(true,"_invtotal" /*RemoteObject*/ ))))) { + BA.debugLineNum = 1029;BA.debugLine="Sender.As(EditText).text = invTotal"; +Debug.ShouldStop(16); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_invtotal" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 1033;BA.debugLine="If New = \"\" Then New = 0"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 1034;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 1035;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","066584605",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1049;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Text <"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(".",c_productos.__c.runMethod(true,"Not",(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_old,BA.ObjectToString("0")) && RemoteObject.solveBoolean("=",_new,RemoteObject.createImmutable("")))))) && RemoteObject.solveBoolean("N",_lacant.runMethod(true,"getText")) && RemoteObject.solveBoolean("!",_lacant.runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(".",__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ ))) { + BA.debugLineNum = 1050;BA.debugLine="Log(\"actualizamos producto\")"; +Debug.ShouldStop(33554432); +c_productos.__c.runVoidMethod ("LogImpl","066584620",RemoteObject.createImmutable("actualizamos producto"),0); + BA.debugLineNum = 1051;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 1052;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, preci"; +Debug.ShouldStop(134217728); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(_lacant.runMethod(true,"getText")),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 1054;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, preci"; +Debug.ShouldStop(536870912); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(_lacant.runMethod(true,"getText")),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + }; + BA.debugLineNum = 1057;BA.debugLine="cuentaProds"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + }; + BA.debugLineNum = 1070;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1071;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(16384); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 1072;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(32768); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 1073;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(65536); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 1074;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(131072); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 1076;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(524288); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1077;BA.debugLine="invActualizado = Subs.traeinventario(id)"; +Debug.ShouldStop(1048576); +_invactualizado = c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 1078;BA.debugLine="Log(Subs.traeinventario(id))"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","066584648",c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)),0); + BA.debugLineNum = 1089;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr"; +Debug.ShouldStop(1); +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),(c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))))))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject())); + }; + BA.debugLineNum = 1103;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) ")))); + BA.debugLineNum = 1104;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1105;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1106;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","066584676",(RemoteObject.concat(RemoteObject.createImmutable("registros: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(", arts: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))),RemoteObject.createImmutable(", monto:"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1107;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Prods: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))); + BA.debugLineNum = 1108;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Total: $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))); + BA.debugLineNum = 1109;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Total: $0.0"));}; + BA.debugLineNum = 1110;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Prods: 0"));}; + }; + BA.debugLineNum = 1113;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) ")))); + BA.debugLineNum = 1114;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1115;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1116;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("LogImpl","066584686",(RemoteObject.concat(RemoteObject.createImmutable("registros: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(", arts: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))),RemoteObject.createImmutable(", monto:"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1117;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Prods: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))); + BA.debugLineNum = 1118;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Total: $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))); + BA.debugLineNum = 1119;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Total: $0.0"));}; + BA.debugLineNum = 1120;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Prods: 0"));}; + }; + BA.debugLineNum = 1126;BA.debugLine="Dim c7 As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(32); +_c7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c7 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS = 'DUR'"))));Debug.locals.put("c7", _c7);Debug.locals.put("c7", _c7); + BA.debugLineNum = 1127;BA.debugLine="If c7.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_c7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1128;BA.debugLine="c7.Position = 0"; +Debug.ShouldStop(128); +_c7.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1130;BA.debugLine="Dim totaldev As Double = c7.GetString(\"PC_MONTO"; +Debug.ShouldStop(512); +_totaldev = BA.numberCast(double.class, _c7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))));Debug.locals.put("totaldev", _totaldev);Debug.locals.put("totaldev", _totaldev); + }; + BA.debugLineNum = 1134;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(8192); +_c6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS <> 'DUR' "))));Debug.locals.put("c6", _c6);Debug.locals.put("c6", _c6); + BA.debugLineNum = 1135;BA.debugLine="If c6.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_c6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1136;BA.debugLine="c6.Position = 0"; +Debug.ShouldStop(32768); +_c6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1138;BA.debugLine="Dim totalprod As Double = c6.GetString(\"PC_MONT"; +Debug.ShouldStop(131072); +_totalprod = BA.numberCast(double.class, _c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))));Debug.locals.put("totalprod", _totalprod);Debug.locals.put("totalprod", _totalprod); + }; + BA.debugLineNum = 1143;BA.debugLine="If totalprod = 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_totalprod,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1144;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(8388608); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CEDIS = 'DUR'"))); + BA.debugLineNum = 1145;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Las devloluciones se elimanron por que no hay venta.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 1146;BA.debugLine="Else If totalprod < totaldev Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("<",_totalprod,_totaldev)) { + BA.debugLineNum = 1147;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(67108864); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CEDIS = 'DUR'"))); + BA.debugLineNum = 1148;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Las devloluciones se elimanron por que el monto de la devolucion es mayor al monto de la venta.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }} +; + }; + BA.debugLineNum = 1151;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,108); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_productos","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 108;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(2048); + BA.debugLineNum = 109;BA.debugLine="Return Me"; +Debug.ShouldStop(4096); +if (true) return __ref; + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_info_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_info_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1265); +if (RapidSub.canDelegate("l_info_click")) { return __ref.runUserSub(false, "c_productos","l_info_click", __ref);} + BA.debugLineNum = 1265;BA.debugLine="Private Sub l_info_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 1266;BA.debugLine="l_info.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1267;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_prodx_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_prodx_click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1533); +if (RapidSub.canDelegate("l_prodx_click")) { return __ref.runUserSub(false, "c_productos","l_prodx_click", __ref);} +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _p0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cant1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _prdox = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _prodx1 = null; +RemoteObject _textprom = RemoteObject.createImmutable(""); +RemoteObject _descpro = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _hgfd = 0; +RemoteObject _preciocat = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _recalculo = RemoteObject.createImmutable(0f); + BA.debugLineNum = 1533;BA.debugLine="Sub l_prodx_click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 1535;BA.debugLine="Dim cs As CSBuilder"; +Debug.ShouldStop(1073741824); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 1536;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(-2147483648); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 1537;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(1); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("Index", _index);Debug.locals.put("Index", _index); + BA.debugLineNum = 1538;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(Ind"; +Debug.ShouldStop(2); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 1539;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +Debug.ShouldStop(4); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = _p0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 1540;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView(2"; +Debug.ShouldStop(8); +_cant1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_cant1 = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("cant1", _cant1);Debug.locals.put("cant1", _cant1); + BA.debugLineNum = 1541;BA.debugLine="Private PRDOX As B4XView = p.GetView(1)"; +Debug.ShouldStop(16); +_prdox = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_prdox = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("PRDOX", _prdox);Debug.locals.put("PRDOX", _prdox); + BA.debugLineNum = 1542;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(32); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("Index", _index);Debug.locals.put("Index", _index); + BA.debugLineNum = 1545;BA.debugLine="Log(cant1.Text)"; +Debug.ShouldStop(256); +c_productos.__c.runVoidMethod ("LogImpl","067436556",_cant1.runMethod(true,"getText"),0); + BA.debugLineNum = 1546;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Tex"; +Debug.ShouldStop(512); +_prodx1 = c_productos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(c_productos.__c.getField(true,"CRLF")),(Object)(_prdox.runMethod(true,"getText")));Debug.locals.put("prodx1", _prodx1);Debug.locals.put("prodx1", _prodx1); + BA.debugLineNum = 1547;BA.debugLine="Log(prodx1(1))"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","067436558",_prodx1.getArrayElement(true,BA.numberCast(int.class, 1)),0); + BA.debugLineNum = 1548;BA.debugLine="p_promodesc.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_promodesc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1549;BA.debugLine="p_promodesc.Height = Root.Height"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_promodesc" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1550;BA.debugLine="p_promodesc.Width = Root.Width"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_promodesc" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1551;BA.debugLine="Dim textprom As String = \"\""; +Debug.ShouldStop(16384); +_textprom = BA.ObjectToString("");Debug.locals.put("textprom", _textprom);Debug.locals.put("textprom", _textprom); + BA.debugLineNum = 1552;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(32768); +_descpro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_descpro = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodx1.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("') AND INSTR(',' || CAT_PD_TIER || ',' , ',"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(",') > 0 "))))));Debug.locals.put("descpro", _descpro);Debug.locals.put("descpro", _descpro); + BA.debugLineNum = 1553;BA.debugLine="Log($\"SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","067436564",(RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodx1.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("') AND INSTR(',' || CAT_DP_TIER || ',' , ',"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(",') > 0 "))),0); + BA.debugLineNum = 1554;BA.debugLine="Log(descpro.RowCount)"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","067436565",BA.NumberToString(_descpro.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1555;BA.debugLine="If descpro.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_descpro.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1556;BA.debugLine="l_promodesc.Text = \"\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_promodesc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1557;BA.debugLine="For hgfd = 0 To descpro.RowCount -1"; +Debug.ShouldStop(1048576); +{ +final int step21 = 1; +final int limit21 = RemoteObject.solve(new RemoteObject[] {_descpro.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_hgfd = 0 ; +for (;(step21 > 0 && _hgfd <= limit21) || (step21 < 0 && _hgfd >= limit21) ;_hgfd = ((int)(0 + _hgfd + step21)) ) { +Debug.locals.put("hgfd", _hgfd); + BA.debugLineNum = 1558;BA.debugLine="descpro.Position = hgfd"; +Debug.ShouldStop(2097152); +_descpro.runMethod(true,"setPosition",BA.numberCast(int.class, _hgfd)); + BA.debugLineNum = 1560;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(8388608); +_preciocat = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_preciocat = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodx1.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 1561;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(16777216); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1562;BA.debugLine="textprom = \"\""; +Debug.ShouldStop(33554432); +_textprom = BA.ObjectToString("");Debug.locals.put("textprom", _textprom); + BA.debugLineNum = 1563;BA.debugLine="Private recalculo As Float = preciocat.GetStrin"; +Debug.ShouldStop(67108864); +_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))),BA.numberCast(double.class, c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))),BA.numberCast(double.class, _descpro.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo); + BA.debugLineNum = 1565;BA.debugLine="textprom = cs.Color(Colors.Black).Append(\"Descu"; +Debug.ShouldStop(268435456); +_textprom = BA.ObjectToString(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Descuento "),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_hgfd),RemoteObject.createImmutable(1)}, "+",1, 1)),c_productos.__c.getField(true,"CRLF"),c_productos.__c.getField(true,"CRLF"),RemoteObject.createImmutable(" Min: "),_descpro.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_PD_RANGO"))),RemoteObject.createImmutable(" Max: "),_descpro.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_PD_RANGO2"))),c_productos.__c.getField(true,"CRLF"),c_productos.__c.getField(true,"CRLF"))))).runMethod(false,"Pop").runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 18))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Descuento: "),_descpro.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),RemoteObject.createImmutable("%"),c_productos.__c.getField(true,"CRLF"),c_productos.__c.getField(true,"CRLF"))))).runMethod(false,"Pop").runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 18))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Precio: "),c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False"))),c_productos.__c.getField(true,"CRLF"),c_productos.__c.getField(true,"CRLF"))))).runMethod(false,"PopAll"));Debug.locals.put("textprom", _textprom); + BA.debugLineNum = 1566;BA.debugLine="l_promodesc.Text = \"\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_promodesc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1567;BA.debugLine="l_promodesc.Text = textprom"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_promodesc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_textprom)); + } +}Debug.locals.put("hgfd", _hgfd); +; + }else { + BA.debugLineNum = 1573;BA.debugLine="l_promodesc.Text = \"El producto no tiene descuen"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_promodesc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("El producto no tiene descuento o el tipo de cliente no es apto para este descuento.")); + }; + BA.debugLineNum = 1577;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_prodx_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_prodX_LongClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,2306); +if (RapidSub.canDelegate("l_prodx_longclick")) { return __ref.runUserSub(false, "c_productos","l_prodx_longclick", __ref);} +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _p0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cant1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _prdox = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _prodx1 = null; +RemoteObject _prodx3 = null; +RemoteObject _dev = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _devo = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2306;BA.debugLine="Private Sub l_prodX_LongClick"; +Debug.ShouldStop(2); + BA.debugLineNum = 2307;BA.debugLine="If tipo_venta <> \"PREVENTA_FUTURA\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 2310;BA.debugLine="Log(l_total.Text)"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("LogImpl","067960836",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),0); + BA.debugLineNum = 2311;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CEDIS <> 'DUR'")))); + BA.debugLineNum = 2313;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2314;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2316;BA.debugLine="If c.GetString(\"PC_MONTO\") > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2319;BA.debugLine="Dim cs As CSBuilder"; +Debug.ShouldStop(16384); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 2320;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(32768); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 2321;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView("; +Debug.ShouldStop(65536); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("Index", _index);Debug.locals.put("Index", _index); + BA.debugLineNum = 2322;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(In"; +Debug.ShouldStop(131072); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 2323;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +Debug.ShouldStop(262144); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = _p0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 2324;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; +Debug.ShouldStop(524288); +_cant1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_cant1 = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("cant1", _cant1);Debug.locals.put("cant1", _cant1); + BA.debugLineNum = 2325;BA.debugLine="Private PRDOX As B4XView = p.GetView(1)"; +Debug.ShouldStop(1048576); +_prdox = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_prdox = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("PRDOX", _prdox);Debug.locals.put("PRDOX", _prdox); + BA.debugLineNum = 2326;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView("; +Debug.ShouldStop(2097152); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("Index", _index);Debug.locals.put("Index", _index); + BA.debugLineNum = 2329;BA.debugLine="Log(cant1.Text)"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("LogImpl","067960855",_cant1.runMethod(true,"getText"),0); + BA.debugLineNum = 2330;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Te"; +Debug.ShouldStop(33554432); +_prodx1 = c_productos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(c_productos.__c.getField(true,"CRLF")),(Object)(_prdox.runMethod(true,"getText")));Debug.locals.put("prodx1", _prodx1);Debug.locals.put("prodx1", _prodx1); + BA.debugLineNum = 2331;BA.debugLine="Dim prodx3() As String=Regex.Split(\"\\$\",prodx1(1"; +Debug.ShouldStop(67108864); +_prodx3 = c_productos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\$")),(Object)(_prodx1.getArrayElement(true,BA.numberCast(int.class, 1))));Debug.locals.put("prodx3", _prodx3);Debug.locals.put("prodx3", _prodx3); + BA.debugLineNum = 2332;BA.debugLine="Log(prodx1(1))"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("LogImpl","067960858",_prodx1.getArrayElement(true,BA.numberCast(int.class, 1)),0); + BA.debugLineNum = 2334;BA.debugLine="preciodev = prodx3(1)"; +Debug.ShouldStop(536870912); +__ref.setField ("_preciodev" /*RemoteObject*/ ,BA.numberCast(double.class, _prodx3.getArrayElement(true,BA.numberCast(int.class, 1)))); + BA.debugLineNum = 2335;BA.debugLine="nombredev = prodx1(0)"; +Debug.ShouldStop(1073741824); +__ref.setField ("_nombredev" /*RemoteObject*/ ,_prodx1.getArrayElement(true,BA.numberCast(int.class, 0))); + BA.debugLineNum = 2337;BA.debugLine="Dim dev As Cursor = B4XPages.MainPage.skmt.ExecQ"; +Debug.ShouldStop(1); +_dev = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_dev = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_GP_DEV, 0) AS CAT_GP_DEV, CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_NOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodx1.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("dev", _dev);Debug.locals.put("dev", _dev); + BA.debugLineNum = 2338;BA.debugLine="dev.Position = 0"; +Debug.ShouldStop(2); +_dev.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2339;BA.debugLine="If dev.GetInt(\"CAT_GP_DEV\") = 1 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_dev.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_GP_DEV"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2342;BA.debugLine="c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))); + BA.debugLineNum = 2345;BA.debugLine="If c.GetString(\"PC_MONTO\") < dev.GetInt(\"CAT_G"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))),BA.numberCast(double.class, _dev.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))))) { + BA.debugLineNum = 2346;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al pr"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El monto de venta es menor al precio de este producto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2347;BA.debugLine="Log(1)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","067960873",BA.NumberToString(1),0); + }else { + BA.debugLineNum = 2349;BA.debugLine="p_devo.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_devo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 2350;BA.debugLine="p_devo.Height = Root.Height"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_devo" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 2351;BA.debugLine="p_devo.Width = Root.Width"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_devo" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 2352;BA.debugLine="l_proddev.Text = prodx1(0)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_proddev" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_prodx1.getArrayElement(true,BA.numberCast(int.class, 0)))); + BA.debugLineNum = 2355;BA.debugLine="Dim devo As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(262144); +_devo = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_devo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select SUM(IFNULL(PE_CANT,0)) as suma from PEDIDO where PE_PRONOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodx1.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' AND PE_CEDIS = 'DUR'"))))));Debug.locals.put("devo", _devo);Debug.locals.put("devo", _devo); + BA.debugLineNum = 2356;BA.debugLine="devo.Position = 0"; +Debug.ShouldStop(524288); +_devo.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2358;BA.debugLine="l_cantdev.Text = devo.GetInt(\"suma\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_cantdev" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_devo.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("suma"))))); + }; + }else +{ BA.debugLineNum = 2367;BA.debugLine="Else If dev.GetInt(\"CAT_GP_DEV\") = 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_dev.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_GP_DEV"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2368;BA.debugLine="MsgboxAsync(\"El producto no se puede devolver\","; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El producto no se puede devolver")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }} +; + }else { + BA.debugLineNum = 2374;BA.debugLine="MsgboxAsync(\"El Cliente no tiene venta para mete"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El Cliente no tiene venta para meter devoluciones")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }; + }; + BA.debugLineNum = 2380;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _llenacatalogo(RemoteObject __ref,RemoteObject _subtipo1) throws Exception{ +try { + Debug.PushSubsStack("llenaCatalogo (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,607); +if (RapidSub.canDelegate("llenacatalogo")) { return __ref.runUserSub(false, "c_productos","llenacatalogo", __ref, _subtipo1);} +Debug.locals.put("subtipo1", _subtipo1); + BA.debugLineNum = 607;BA.debugLine="Sub llenaCatalogo(subtipo1 As String)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 630;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _llenaprodsll(RemoteObject __ref,RemoteObject _p) throws Exception{ +try { + Debug.PushSubsStack("LlenaProdsLL (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1785); +if (RapidSub.canDelegate("llenaprodsll")) { return __ref.runUserSub(false, "c_productos","llenaprodsll", __ref, _p);} +RemoteObject _cantsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _pe = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _tempmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _listaprodsconcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _listaprodsconcantindex = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _q = 0; +RemoteObject _cont = RemoteObject.createImmutable(0); +int _pr0 = 0; +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +int _pr = 0; + BA.debugLineNum = 1785;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 1786;BA.debugLine="Log(\"Iniciamos LlenaProdsLL\")"; +Debug.ShouldStop(33554432); +c_productos.__c.runVoidMethod ("LogImpl","067633153",RemoteObject.createImmutable("Iniciamos LlenaProdsLL"),0); + BA.debugLineNum = 1787;BA.debugLine="listaProds.Initialize"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1788;BA.debugLine="If hayPedido Then 'Si hay pedido obtenemos las ca"; +Debug.ShouldStop(134217728); +if (__ref.getField(true,"_haypedido" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 1789;BA.debugLine="Dim cantsMap As Map"; +Debug.ShouldStop(268435456); +_cantsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("cantsMap", _cantsmap); + BA.debugLineNum = 1790;BA.debugLine="cantsMap.Initialize"; +Debug.ShouldStop(536870912); +_cantsmap.runVoidMethod ("Initialize"); + BA.debugLineNum = 1791;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 1792;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(-2147483648); +_pe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_pe = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID, PE_CANT from PEDIDO where PE_CLIENTE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_clienteid" /*RemoteObject*/ )))),RemoteObject.createImmutable("' and PE_CEDIS = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and PE_FOLIO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("' AND PE_FUTURO = '1' "))))));Debug.locals.put("pe", _pe);Debug.locals.put("pe", _pe); + }else { + BA.debugLineNum = 1794;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(2); +_pe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_pe = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID, PE_CANT from PEDIDO where PE_CLIENTE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_clienteid" /*RemoteObject*/ )))),RemoteObject.createImmutable("' and PE_CEDIS = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and PE_FOLIO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("' AND PE_FUTURO = '0' "))))));Debug.locals.put("pe", _pe);Debug.locals.put("pe", _pe); + }; + BA.debugLineNum = 1797;BA.debugLine="Do While pe.NextRow"; +Debug.ShouldStop(16); +while (_pe.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1798;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(32); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 1800;BA.debugLine="cantsMap.put(pe.GetString(\"PE_PROID\"), pe.GetS"; +Debug.ShouldStop(128); +_cantsmap.runVoidMethod ("Put",(Object)((_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))),(Object)((_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))); + BA.debugLineNum = 1804;BA.debugLine="Log(clienteId &\"|||||\"&pe.GetString(\"PE_PROID\")"; +Debug.ShouldStop(2048); +c_productos.__c.runVoidMethod ("LogImpl","067633171",RemoteObject.concat(__ref.getField(true,"_clienteid" /*RemoteObject*/ ),RemoteObject.createImmutable("|||||"),_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),RemoteObject.createImmutable("|||||"),_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),0); + } +; + BA.debugLineNum = 1806;BA.debugLine="pe.Close"; +Debug.ShouldStop(8192); +_pe.runVoidMethod ("Close"); + }; + BA.debugLineNum = 1809;BA.debugLine="If p.IsInitialized Then"; +Debug.ShouldStop(65536); +if (_p.runMethod(true,"IsInitialized").get().booleanValue()) { + }else { + BA.debugLineNum = 1816;BA.debugLine="LogColor(Starter.tabla,Colors.blue)"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","067633183",c_productos._starter._tabla /*RemoteObject*/ ,c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1840;BA.debugLine="If Subs.traeTipoCliente = 5 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",c_productos._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.numberCast(double.class, 5))) { + BA.debugLineNum = 1841;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(65536); +_p = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_LISTAPRECIO, CAT_LISTAPRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPO <> 'PROMOS' and CAT_GP_TIPO <> 'PROMOCION'\n"),RemoteObject.createImmutable(" order by\n"),RemoteObject.createImmutable(" Case CAT_GP_TIPOPROD when 'PRIORITARIO' THEN 0\n"),RemoteObject.createImmutable(" WHEN 'ESTRATEGICO' THEN 1\n"),RemoteObject.createImmutable(" WHEN 'COMPLEMENTARIO' then 2\n"),RemoteObject.createImmutable(" Else 3\n"),RemoteObject.createImmutable(" End, CAT_GP_NOMBRE"))))));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + }else { + BA.debugLineNum = 1849;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(16777216); +_p = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_LISTAPRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPO <> 'PROMOS' and CAT_GP_TIPO <> 'PROMOCION'\n"),RemoteObject.createImmutable(" order by\n"),RemoteObject.createImmutable(" Case CAT_GP_TIPOPROD when 'PRIORITARIO' THEN 0\n"),RemoteObject.createImmutable(" WHEN 'ESTRATEGICO' THEN 1\n"),RemoteObject.createImmutable(" WHEN 'COMPLEMENTARIO' then 2\n"),RemoteObject.createImmutable(" Else 3\n"),RemoteObject.createImmutable(" End, CAT_GP_NOMBRE"))))));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + }; + }; + BA.debugLineNum = 1876;BA.debugLine="Do While p.NextRow"; +Debug.ShouldStop(524288); +while (_p.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1877;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(1048576); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 1878;BA.debugLine="If hayPedido And cantsMap.ContainsKey(p.GetStrin"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(".",__ref.getField(true,"_haypedido" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",_cantsmap.runMethod(true,"ContainsKey",(Object)((_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))))))) { + BA.debugLineNum = 1879;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","067633246",_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),0); + BA.debugLineNum = 1880;BA.debugLine="cant = cantsMap.Get(p.GetString(\"CAT_GP_ID\"))"; +Debug.ShouldStop(8388608); +_cant = BA.numberCast(int.class, _cantsmap.runMethod(false,"Get",(Object)((_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))))));Debug.locals.put("cant", _cant); + }; + BA.debugLineNum = 1882;BA.debugLine="If Subs.traeTipoCliente = 5 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",c_productos._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.numberCast(double.class, 5))) { + BA.debugLineNum = 1883;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("!",_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),BA.ObjectToString("GUN141")) && RemoteObject.solveBoolean("!",_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),BA.ObjectToString("GUN142"))) { + BA.debugLineNum = 1886;BA.debugLine="Dim tempMap As Map = CreateMap( _"; +Debug.ShouldStop(536870912); +_tempmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tempmap = c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("prod")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),RemoteObject.createImmutable(("precio")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_LISTAPRECIO")))),RemoteObject.createImmutable(("prioridad")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPOPROD")))),RemoteObject.createImmutable(("almacen")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")))),RemoteObject.createImmutable(("id")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),RemoteObject.createImmutable(("cant")),(_cant),RemoteObject.createImmutable(("conversion")),RemoteObject.createImmutable((1)),RemoteObject.createImmutable(("precio_caja")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable(("b_caja")),RemoteObject.createImmutable((0))}));Debug.locals.put("tempMap", _tempmap);Debug.locals.put("tempMap", _tempmap); + BA.debugLineNum = 1897;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map"; +Debug.ShouldStop(256); +__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_tempmap.getObject()))); + }; + }else { + BA.debugLineNum = 1900;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),BA.ObjectToString("GUN141")) && RemoteObject.solveBoolean("!",_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),BA.ObjectToString("GUN142"))) { + BA.debugLineNum = 1903;BA.debugLine="Dim tempMap As Map = CreateMap( _"; +Debug.ShouldStop(16384); +_tempmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tempmap = c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("prod")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),RemoteObject.createImmutable(("precio")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))),RemoteObject.createImmutable(("prioridad")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPOPROD")))),RemoteObject.createImmutable(("almacen")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")))),RemoteObject.createImmutable(("id")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),RemoteObject.createImmutable(("cant")),(_cant),RemoteObject.createImmutable(("conversion")),RemoteObject.createImmutable((1)),RemoteObject.createImmutable(("precio_caja")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable(("b_caja")),RemoteObject.createImmutable((0))}));Debug.locals.put("tempMap", _tempmap);Debug.locals.put("tempMap", _tempmap); + BA.debugLineNum = 1914;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_tempmap.getObject()))); + }; + }; + } +; + BA.debugLineNum = 1921;BA.debugLine="PCLV.Commit"; +Debug.ShouldStop(1); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_commit" /*RemoteObject*/ ); + BA.debugLineNum = 1922;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(2); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1923;BA.debugLine="Private listaProdsConCant, listaProdsConCantIndex"; +Debug.ShouldStop(4); +_listaprodsconcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("listaProdsConCant", _listaprodsconcant); +_listaprodsconcantindex = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("listaProdsConCantIndex", _listaprodsconcantindex); + BA.debugLineNum = 1924;BA.debugLine="listaProdsConCant.Initialize"; +Debug.ShouldStop(8); +_listaprodsconcant.runVoidMethod ("Initialize"); + BA.debugLineNum = 1925;BA.debugLine="listaProdsConCantIndex.Initialize"; +Debug.ShouldStop(16); +_listaprodsconcantindex.runVoidMethod ("Initialize"); + BA.debugLineNum = 1926;BA.debugLine="listaHints.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_listahints" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1927;BA.debugLine="For q=0 To listaProds.Size-1' quitamos los produc"; +Debug.ShouldStop(64); +{ +final int step51 = 1; +final int limit51 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_q = 0 ; +for (;(step51 > 0 && _q <= limit51) || (step51 < 0 && _q >= limit51) ;_q = ((int)(0 + _q + step51)) ) { +Debug.locals.put("q", _q); + BA.debugLineNum = 1928;BA.debugLine="If listaProds.Get(q).As(Map).Get(\"cant\").As(Int)"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_listaprods" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _q))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant")))))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1930;BA.debugLine="listaProdsConCant.Add(listaProds.Get(q))"; +Debug.ShouldStop(512); +_listaprodsconcant.runVoidMethod ("Add",(Object)(__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _q))))); + BA.debugLineNum = 1931;BA.debugLine="listaProdsConCantIndex.Add(q)"; +Debug.ShouldStop(1024); +_listaprodsconcantindex.runVoidMethod ("Add",(Object)(RemoteObject.createImmutable((_q)))); + }; + } +}Debug.locals.put("q", _q); +; + BA.debugLineNum = 1935;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(16384); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1936;BA.debugLine="For pr0=0 To listaProdsConCant.Size - 1 'Agregamo"; +Debug.ShouldStop(32768); +{ +final int step58 = 1; +final int limit58 = RemoteObject.solve(new RemoteObject[] {_listaprodsconcant.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_pr0 = 0 ; +for (;(step58 > 0 && _pr0 <= limit58) || (step58 < 0 && _pr0 >= limit58) ;_pr0 = ((int)(0 + _pr0 + step58)) ) { +Debug.locals.put("pr0", _pr0); + BA.debugLineNum = 1937;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(65536); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("Pnl", _pnl);Debug.locals.put("Pnl", _pnl); + BA.debugLineNum = 1939;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsVi"; +Debug.ShouldStop(262144); +_pnl.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 65))))); + BA.debugLineNum = 1940;BA.debugLine="clv_prods_ll.Add(Pnl, listaProdsConCant.Get(pr0)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_pnl),(Object)(_listaprodsconcant.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pr0))))); + BA.debugLineNum = 1941;BA.debugLine="listaHints.Add(listaProdsConCant.get(pr0).As(Map"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_listahints" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _listaprodsconcant.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pr0))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prod")))))); + BA.debugLineNum = 1942;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(2097152); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + } +}Debug.locals.put("pr0", _pr0); +; + BA.debugLineNum = 1946;BA.debugLine="For pr=0 To listaProds.Size-1"; +Debug.ShouldStop(33554432); +{ +final int step65 = 1; +final int limit65 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_pr = 0 ; +for (;(step65 > 0 && _pr <= limit65) || (step65 < 0 && _pr >= limit65) ;_pr = ((int)(0 + _pr + step65)) ) { +Debug.locals.put("pr", _pr); + BA.debugLineNum = 1947;BA.debugLine="If listaProdsConCantIndex.IndexOf(pr) = -1 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_listaprodsconcantindex.runMethod(true,"IndexOf",(Object)(RemoteObject.createImmutable((_pr)))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1948;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(134217728); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("Pnl", _pnl);Debug.locals.put("Pnl", _pnl); + BA.debugLineNum = 1949;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsV"; +Debug.ShouldStop(268435456); +_pnl.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 65))))); + BA.debugLineNum = 1952;BA.debugLine="listaHints.Add(listaProds.get(pr).As(Map).Get(\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_listahints" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_listaprods" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pr))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prod")))))); + BA.debugLineNum = 1953;BA.debugLine="clv_prods_ll.Add(Pnl, listaProds.Get(pr))"; +Debug.ShouldStop(1); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_pnl),(Object)(__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pr))))); + BA.debugLineNum = 1955;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(4); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + }; + } +}Debug.locals.put("pr", _pr); +; + BA.debugLineNum = 1962;BA.debugLine="PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size"; +Debug.ShouldStop(512); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_maxvalue" /*RemoteObject*/ ,__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize")); + BA.debugLineNum = 1963;BA.debugLine="PCLV.B4XSeekBar1.MinValue = 0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_minvalue" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1964;BA.debugLine="PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20"; +Debug.ShouldStop(2048); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_interval" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(20)}, "/",0, 0))); + BA.debugLineNum = 1965;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size"; +Debug.ShouldStop(4096); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_setvalue" /*RemoteObject*/ ,__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize")); + BA.debugLineNum = 1966;BA.debugLine="PCLV.B4XSeekBar1.Update"; +Debug.ShouldStop(8192); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 1968;BA.debugLine="reiniciarlistaProds = False"; +Debug.ShouldStop(32768); +__ref.setField ("_reiniciarlistaprods" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1969;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_catalogos_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_catalogos_ItemClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,275); +if (RapidSub.canDelegate("lv_catalogos_itemclick")) { return __ref.runUserSub(false, "c_productos","lv_catalogos_itemclick", __ref, _position, _value);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label14 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _yacompropro2265 = RemoteObject.createImmutable(false); +RemoteObject _yacompropro3054 = RemoteObject.createImmutable(false); +RemoteObject _yacompropro3055 = RemoteObject.createImmutable(false); +RemoteObject _tipocliente = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _muestrapromo = RemoteObject.createImmutable(false); +RemoteObject _tm = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 275;BA.debugLine="Sub lv_catalogos_ItemClick (Position As Int, Value"; +Debug.ShouldStop(262144); + BA.debugLineNum = 276;BA.debugLine="If Value = \"PORTAFOLIO\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PORTAFOLIO")))) { + BA.debugLineNum = 278;BA.debugLine="lfila.text = \"PRODUCTOS\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PRODUCTOS")); + BA.debugLineNum = 279;BA.debugLine="lv_catalogos.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 281;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),BA.numberCast(double.class, 0))) { +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_llenaprodsll" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos.__c.getField(false,"Null")));}; + BA.debugLineNum = 282;BA.debugLine="clv_prods_ll.AsView.Visible = True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 283;BA.debugLine="If hayPedido Then p_botonesVenta.Visible = True"; +Debug.ShouldStop(67108864); +if (__ref.getField(true,"_haypedido" /*RemoteObject*/ ).get().booleanValue()) { +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True"));}; + BA.debugLineNum = 286;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) ")))); + BA.debugLineNum = 287;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 288;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 289;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","065929230",(RemoteObject.concat(RemoteObject.createImmutable("registros: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(", arts: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))),RemoteObject.createImmutable(", monto:"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 290;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Prods: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))))); + BA.debugLineNum = 291;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Total: $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))))); + BA.debugLineNum = 292;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Total: $0.0"));}; + BA.debugLineNum = 293;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Prods: 0"));}; + }; + }else { + BA.debugLineNum = 296;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 297;BA.debugLine="lv_promos.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 298;BA.debugLine="lfila.text = \"PROMOCIONES\""; +Debug.ShouldStop(512); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PROMOCIONES")); + BA.debugLineNum = 299;BA.debugLine="lv_catalogos.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 319;BA.debugLine="lv_promos.Clear"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 320;BA.debugLine="lv_promos.Height = Root.Height * 0.65"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.65)}, "*",0, 0))); + BA.debugLineNum = 321;BA.debugLine="lv_promos.Width = Root.Width *0.96"; +Debug.ShouldStop(1); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.96)}, "*",0, 0))); + BA.debugLineNum = 323;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(4); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 324;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; +Debug.ShouldStop(8); +_label1 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 325;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(16); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 326;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(32); +_label1.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 327;BA.debugLine="label1.Color = Colors.ARGB(58,255,255,255)"; +Debug.ShouldStop(64); +_label1.runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 58)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)))); + BA.debugLineNum = 328;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(128); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 329;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(256); +_label2 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 330;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(512); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 331;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(1024); +_label2.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 332;BA.debugLine="label2.Color = Colors.ARGB(58,255,255,255)"; +Debug.ShouldStop(2048); +_label2.runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 58)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)))); + BA.debugLineNum = 333;BA.debugLine="Dim label13 As Label"; +Debug.ShouldStop(4096); +_label13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label13", _label13); + BA.debugLineNum = 334;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; +Debug.ShouldStop(8192); +_label13 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesAndBitmap").getField(false,"Label");Debug.locals.put("label13", _label13); + BA.debugLineNum = 335;BA.debugLine="label13.TextSize = 20"; +Debug.ShouldStop(16384); +_label13.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 336;BA.debugLine="label13.TextColor = Colors.White"; +Debug.ShouldStop(32768); +_label13.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 337;BA.debugLine="label13.Color = Colors.ARGB(58,255,255,255)"; +Debug.ShouldStop(65536); +_label13.runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 58)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)))); + BA.debugLineNum = 338;BA.debugLine="Dim label14 As Label"; +Debug.ShouldStop(131072); +_label14 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label14", _label14); + BA.debugLineNum = 339;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; +Debug.ShouldStop(262144); +_label14 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesAndBitmap").getField(false,"SecondLabel");Debug.locals.put("label14", _label14); + BA.debugLineNum = 340;BA.debugLine="label14.TextSize = 20"; +Debug.ShouldStop(524288); +_label14.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 341;BA.debugLine="label14.TextColor = Colors.White"; +Debug.ShouldStop(1048576); +_label14.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 342;BA.debugLine="label14.Color = Colors.ARGB(58,255,255,255)"; +Debug.ShouldStop(2097152); +_label14.runVoidMethod ("setColor",c_productos.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 58)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 255)))); + BA.debugLineNum = 353;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 354;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select"; +Debug.ShouldStop(2); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_PA_BSEGMENTA, CAT_PA_SEGMENTAV from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_FUTURO = '1' )")))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("PROMOS"),RemoteObject.createImmutable("PROMOS")})))); + }else { + BA.debugLineNum = 356;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select"; +Debug.ShouldStop(8); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_PA_BSEGMENTA, CAT_PA_SEGMENTAV from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_FUTURO = '0' )")))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("PROMOS"),RemoteObject.createImmutable("PROMOS")})))); + }; + BA.debugLineNum = 360;BA.debugLine="Private yaComproPRO2265 As Boolean = Subs.revisa"; +Debug.ShouldStop(128); +_yacompropro2265 = c_productos._subs.runMethod(true,"_revisapro2265" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))));Debug.locals.put("yaComproPRO2265", _yacompropro2265);Debug.locals.put("yaComproPRO2265", _yacompropro2265); + BA.debugLineNum = 361;BA.debugLine="Private yaComproPRO3054 As Boolean = Subs.revisa"; +Debug.ShouldStop(256); +_yacompropro3054 = c_productos._subs.runMethod(true,"_revisapro3054" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))));Debug.locals.put("yaComproPRO3054", _yacompropro3054);Debug.locals.put("yaComproPRO3054", _yacompropro3054); + BA.debugLineNum = 362;BA.debugLine="Private yaComproPRO3055 As Boolean = Subs.revisa"; +Debug.ShouldStop(512); +_yacompropro3055 = c_productos._subs.runMethod(true,"_revisapro3055" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))));Debug.locals.put("yaComproPRO3055", _yacompropro3055);Debug.locals.put("yaComproPRO3055", _yacompropro3055); + BA.debugLineNum = 363;BA.debugLine="Private tipoCliente As Int = Subs.traeTipoClient"; +Debug.ShouldStop(1024); +_tipocliente = c_productos._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("tipoCliente", _tipocliente);Debug.locals.put("tipoCliente", _tipocliente); + BA.debugLineNum = 364;BA.debugLine="Log(c2.RowCount)"; +Debug.ShouldStop(2048); +c_productos.__c.runVoidMethod ("LogImpl","065929305",BA.NumberToString(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 365;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 383;BA.debugLine="For i=0 To c2.RowCount - 1"; +Debug.ShouldStop(1073741824); +{ +final int step55 = 1; +final int limit55 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55) ;_i = ((int)(0 + _i + step55)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 384;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 385;BA.debugLine="Private muestraPromo As Boolean = True"; +Debug.ShouldStop(1); +_muestrapromo = c_productos.__c.getField(true,"True");Debug.locals.put("muestraPromo", _muestrapromo);Debug.locals.put("muestraPromo", _muestrapromo); + BA.debugLineNum = 386;BA.debugLine="Log($\"SEGMENTADA: ${c2.GetString(\"CAT_PA_BSEGM"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","065929327",(RemoteObject.concat(RemoteObject.createImmutable("SEGMENTADA: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_BSEGMENTA")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 387;BA.debugLine="If c2.GetInt(\"CAT_PA_BSEGMENTA\") = 1 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_PA_BSEGMENTA"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 388;BA.debugLine="LogColor(\"####### PROMO SEGMENTADA #### \"&"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","065929329",RemoteObject.concat(RemoteObject.createImmutable("####### PROMO SEGMENTADA #### "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 389;BA.debugLine="LogColor($\"####### SEGV: ${c2.GetString(\"CA"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","065929330",(RemoteObject.concat(RemoteObject.createImmutable("####### SEGV: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_SEGMENTAV")))))),RemoteObject.createImmutable(" ####"))),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 390;BA.debugLine="LogColor($\"####### TIPOCLIE: ${tipoCliente}"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("LogImpl","065929331",(RemoteObject.concat(RemoteObject.createImmutable("####### TIPOCLIE: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipocliente))),RemoteObject.createImmutable(" ####"))),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 391;BA.debugLine="LogColor($\"####### ¿ENTRA?: ${c2.GetString("; +Debug.ShouldStop(64); +c_productos.__c.runVoidMethod ("LogImpl","065929332",(RemoteObject.concat(RemoteObject.createImmutable("####### ¿ENTRA?: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_SEGMENTAV"))).runMethod(true,"contains",(Object)(BA.NumberToString(_tipocliente)))))),RemoteObject.createImmutable(" ####"))),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 392;BA.debugLine="If Not(c2.GetString(\"CAT_PA_SEGMENTAV\").Conta"; +Debug.ShouldStop(128); +if (c_productos.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_SEGMENTAV"))).runMethod(true,"contains",(Object)(BA.NumberToString(_tipocliente))))).get().booleanValue()) { +_muestrapromo = c_productos.__c.getField(true,"False");Debug.locals.put("muestraPromo", _muestrapromo);}; + }; + BA.debugLineNum = 398;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +Debug.ShouldStop(8192); +_tm = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tm = c_productos._subs.runMethod(false,"_procesapromocion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))));Debug.locals.put("tm", _tm);Debug.locals.put("tm", _tm); + BA.debugLineNum = 399;BA.debugLine="Log($\"TM=${tm}\"$)"; +Debug.ShouldStop(16384); +c_productos.__c.runVoidMethod ("LogImpl","065929340",(RemoteObject.concat(RemoteObject.createImmutable("TM="),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tm.getObject()))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 400;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("status")))),RemoteObject.createImmutable(("ok")))) { + BA.debugLineNum = 401;BA.debugLine="If yaComproPRO2265 And c2.GetString(\"CAT_GP_I"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(".",_yacompropro2265) && RemoteObject.solveBoolean("=",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),BA.ObjectToString("PRO3015"))) { + BA.debugLineNum = 402;BA.debugLine="LogColor(\"Ya compro la PRO2265, ya no se mue"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","065929343",BA.ObjectToString("Ya compro la PRO2265, ya no se muestra la PRO3015"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + }else { + BA.debugLineNum = 404;BA.debugLine="If (yaComproPRO3054 And c2.GetString(\"CAT_GP"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",_yacompropro3054) && RemoteObject.solveBoolean("=",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),RemoteObject.createImmutable("PRO3054"))))) || RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",_yacompropro3055) && RemoteObject.solveBoolean("=",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),RemoteObject.createImmutable("PRO3055")))))) { + BA.debugLineNum = 406;BA.debugLine="LogColor(\"Ya compro prods de la PRO3054 o P"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","065929347",BA.ObjectToString("Ya compro prods de la PRO3054 o PRO3055 o es cliente nuevo, ya no se muestra."),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + }else { + BA.debugLineNum = 408;BA.debugLine="If Subs.traeAlmacen = 88 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(88))) { + BA.debugLineNum = 409;BA.debugLine="Log(\"SI ENTRE1\")"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("LogImpl","065929350",RemoteObject.createImmutable("SI ENTRE1"),0); + BA.debugLineNum = 410;BA.debugLine="Log(c2.GetString(\"CAT_GP_ID\"))"; +Debug.ShouldStop(33554432); +c_productos.__c.runVoidMethod ("LogImpl","065929351",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),0); + BA.debugLineNum = 411;BA.debugLine="If c2.GetString(\"CAT_GP_ID\") = \"MYKONOS_01"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),BA.ObjectToString("MYKONOS_01")) && RemoteObject.solveBoolean(".",c_productos._subs.runMethod(true,"_traemontoprod" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 412;BA.debugLine="Log(\"SI ENTRE\")"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("LogImpl","065929353",RemoteObject.createImmutable("SI ENTRE"),0); + BA.debugLineNum = 413;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLine"; +Debug.ShouldStop(268435456); +if (_muestrapromo.get().booleanValue()) { +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("# "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))),RemoteObject.createImmutable(" $ "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),RemoteObject.createImmutable(" F:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosCant")))),RemoteObject.createImmutable(" V:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesCant"))))))));}; + }else +{ BA.debugLineNum = 414;BA.debugLine="Else If c2.GetString(\"CAT_GP_ID\") <> \"MYKO"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),BA.ObjectToString("MYKONOS_01"))) { + BA.debugLineNum = 415;BA.debugLine="Log(\"SI ENTRE2\")"; +Debug.ShouldStop(1073741824); +c_productos.__c.runVoidMethod ("LogImpl","065929356",RemoteObject.createImmutable("SI ENTRE2"),0); + BA.debugLineNum = 416;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLine"; +Debug.ShouldStop(-2147483648); +if (_muestrapromo.get().booleanValue()) { +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("# "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))),RemoteObject.createImmutable(" $ "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),RemoteObject.createImmutable(" F:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosCant")))),RemoteObject.createImmutable(" V:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesCant"))))))));}; + }} +; + }else { + BA.debugLineNum = 419;BA.debugLine="Log(\"SI ENTRE3\")"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","065929360",RemoteObject.createImmutable("SI ENTRE3"),0); + BA.debugLineNum = 420;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLines"; +Debug.ShouldStop(8); +if (_muestrapromo.get().booleanValue()) { +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("# "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))),RemoteObject.createImmutable(" $ "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),RemoteObject.createImmutable(" F:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosCant")))),RemoteObject.createImmutable(" V:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesCant"))))))));}; + }; + BA.debugLineNum = 422;BA.debugLine="Log($\"################################${CRL"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("LogImpl","065929363",(RemoteObject.concat(RemoteObject.createImmutable("################################"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(" "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_muestrapromo))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("################################"))),0); + }; + }; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 433;BA.debugLine="label1.Height = 50dip"; +Debug.ShouldStop(65536); +_label1.runMethod(true,"setHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))); + BA.debugLineNum = 434;BA.debugLine="label2.Height = 45dip"; +Debug.ShouldStop(131072); +_label2.runMethod(true,"setHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 45)))); + BA.debugLineNum = 435;BA.debugLine="label2.Top = label1.Height"; +Debug.ShouldStop(262144); +_label2.runMethod(true,"setTop",_label1.runMethod(true,"getHeight")); + BA.debugLineNum = 436;BA.debugLine="lv_promos.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(524288); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 437;BA.debugLine="Subs.SetDivider(lv_promos, Colors.White, 2)"; +Debug.ShouldStop(1048576); +c_productos._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_lv_promos" /*RemoteObject*/ )),(Object)(c_productos.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 2))); + }else { + BA.debugLineNum = 439;BA.debugLine="ToastMessageShow(\"No hay PROMOS disponibles.\","; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("No hay PROMOS disponibles.")),(Object)(c_productos.__c.getField(true,"False"))); + }; + BA.debugLineNum = 441;BA.debugLine="c2.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 442;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(33554432); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + }; + BA.debugLineNum = 444;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _lv_catalogos2_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_catalogos2_ItemClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,446); +if (RapidSub.canDelegate("lv_catalogos2_itemclick")) { __ref.runUserSub(false, "c_productos","lv_catalogos2_itemclick", __ref, _position, _value); return;} +ResumableSub_lv_catalogos2_ItemClick rsub = new ResumableSub_lv_catalogos2_ItemClick(null,__ref,_position,_value); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_lv_catalogos2_ItemClick extends BA.ResumableSub { +public ResumableSub_lv_catalogos2_ItemClick(gunav2.keymon.com.mx.c_productos parent,RemoteObject __ref,RemoteObject _position,RemoteObject _value) { +this.parent = parent; +this.__ref = __ref; +this._position = _position; +this._value = _value; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_productos parent; +RemoteObject _position; +RemoteObject _value; +RemoteObject _cliente = RemoteObject.declareNull("gunav2.keymon.com.mx.c_cliente"); +RemoteObject _iniciocontador = RemoteObject.createImmutable(""); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label14 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _tm = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int step58; +int limit58; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("lv_catalogos2_ItemClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,446); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 447;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 448;BA.debugLine="BUSCA.Text = \"\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 449;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; +Debug.ShouldStop(1); +_cliente = (parent._b4xpages.runMethod(false,"_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 450;BA.debugLine="Log($\"value=${Value}\"$)"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","065994756",(RemoteObject.concat(RemoteObject.createImmutable("value="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 451;BA.debugLine="If Value = \"PROMOCIONES\" And cliente.cuenta <> \"N"; +Debug.ShouldStop(4); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOCIONES"))) && RemoteObject.solveBoolean("!",_cliente.getField(true,"_cuenta" /*RemoteObject*/ ),BA.ObjectToString("N"))) { +this.state = 3; +}else +{ BA.debugLineNum = 455;BA.debugLine="Else if Value = \"PROMOCIONES\" And cliente.cuenta"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOCIONES"))) && RemoteObject.solveBoolean("=",_cliente.getField(true,"_cuenta" /*RemoteObject*/ ),BA.ObjectToString("N"))) { +this.state = 5; +}} +if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 452;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(8); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + BA.debugLineNum = 453;BA.debugLine="marca = \"PROMOS\""; +Debug.ShouldStop(16); +__ref.setField ("_marca" /*RemoteObject*/ ,BA.ObjectToString("PROMOS")); + BA.debugLineNum = 454;BA.debugLine="tipo = \"PROMOS\""; +Debug.ShouldStop(32); +__ref.setField ("_tipo" /*RemoteObject*/ ,BA.ObjectToString("PROMOS")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 456;BA.debugLine="entro = \"5\""; +Debug.ShouldStop(128); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("5")); + BA.debugLineNum = 457;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(256); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + if (true) break; +; + BA.debugLineNum = 459;BA.debugLine="If Value = \"PROMOCIONES\" Then"; +Debug.ShouldStop(1024); + +case 6: +//if +this.state = 11; +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOCIONES")))) { +this.state = 8; +}else { +this.state = 10; +}if (true) break; + +case 8: +//C +this.state = 11; + BA.debugLineNum = 460;BA.debugLine="LogColor(\"Promos\", Colors.red)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("LogImpl","065994766",BA.ObjectToString("Promos"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 461;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) ) ORDER BY 1")))),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString("PROMOS"),__ref.getField(true,"_marca" /*RemoteObject*/ ),__ref.getField(true,"_tipo" /*RemoteObject*/ )})))); + if (true) break; + +case 10: +//C +this.state = 11; + BA.debugLineNum = 463;BA.debugLine="LogColor(\"Catalogo\", Colors.red)"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","065994769",BA.ObjectToString("Catalogo"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 464;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' ")))))); + if (true) break; +; + BA.debugLineNum = 486;BA.debugLine="If Value = \"PORTAFOLIO\" Then"; +Debug.ShouldStop(32); + +case 11: +//if +this.state = 28; +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PORTAFOLIO")))) { +this.state = 13; +}else { +this.state = 15; +}if (true) break; + +case 13: +//C +this.state = 28; + BA.debugLineNum = 487;BA.debugLine="lv_catalogos.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 488;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 489;BA.debugLine="lfila.text = \"PORTAFOLIO\""; +Debug.ShouldStop(256); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PORTAFOLIO")); + BA.debugLineNum = 490;BA.debugLine="Log(\"PGS\")"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("LogImpl","065994796",RemoteObject.createImmutable("PGS"),0); + BA.debugLineNum = 491;BA.debugLine="ProgressDialogShow(\"Cargando catalogo ...\")"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Cargando catalogo ...")))); + BA.debugLineNum = 492;BA.debugLine="Sleep(100)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_productos", "lv_catalogos2_itemclick"),BA.numberCast(int.class, 100)); +this.state = 29; +return; +case 29: +//C +this.state = 28; +; + BA.debugLineNum = 493;BA.debugLine="Private inicioContador As String = DateTime.Now"; +Debug.ShouldStop(4096); +_iniciocontador = BA.NumberToString(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicioContador", _iniciocontador);Debug.locals.put("inicioContador", _iniciocontador); + BA.debugLineNum = 494;BA.debugLine="llenaCatalogo(False)"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_llenacatalogo" /*RemoteObject*/ ,(Object)(BA.ObjectToString(parent.__c.getField(true,"False")))); + BA.debugLineNum = 495;BA.debugLine="clv_prods_ll.AsView.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 496;BA.debugLine="Log(\"PGH\")"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","065994802",RemoteObject.createImmutable("PGH"),0); + BA.debugLineNum = 497;BA.debugLine="LogColor(\"TIEMPO DE PROCESO DEL CATALOGO: \" & (("; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","065994803",RemoteObject.concat(RemoteObject.createImmutable("TIEMPO DE PROCESO DEL CATALOGO: "),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),BA.numberCast(double.class, _iniciocontador)}, "-",1, 0)),RemoteObject.createImmutable(1000)}, "/",0, 0))),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 498;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 499;BA.debugLine="c2.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 501;BA.debugLine="Log(\"ENTRAMOS A PROMOS\")"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","065994807",RemoteObject.createImmutable("ENTRAMOS A PROMOS"),0); + BA.debugLineNum = 502;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 503;BA.debugLine="lv_promos.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 504;BA.debugLine="lv_catalogos.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 505;BA.debugLine="lv_promos.Clear"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 506;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(33554432); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 507;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; +Debug.ShouldStop(67108864); +_label1 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 508;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(134217728); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 509;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(268435456); +_label1.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 510;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(536870912); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 511;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(1073741824); +_label2 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 512;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(-2147483648); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 513;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(1); +_label2.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 514;BA.debugLine="Dim label13 As Label"; +Debug.ShouldStop(2); +_label13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label13", _label13); + BA.debugLineNum = 515;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; +Debug.ShouldStop(4); +_label13 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesAndBitmap").getField(false,"Label");Debug.locals.put("label13", _label13); + BA.debugLineNum = 516;BA.debugLine="label13.TextSize = 15"; +Debug.ShouldStop(8); +_label13.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 517;BA.debugLine="label13.TextColor = Colors.Black"; +Debug.ShouldStop(16); +_label13.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 518;BA.debugLine="Dim label14 As Label"; +Debug.ShouldStop(32); +_label14 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label14", _label14); + BA.debugLineNum = 519;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; +Debug.ShouldStop(64); +_label14 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesAndBitmap").getField(false,"SecondLabel");Debug.locals.put("label14", _label14); + BA.debugLineNum = 520;BA.debugLine="label14.TextSize = 15"; +Debug.ShouldStop(128); +_label14.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 521;BA.debugLine="label14.TextColor = Colors.Black"; +Debug.ShouldStop(256); +_label14.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 522;BA.debugLine="lfila.text = \"PROMOCIONES\""; +Debug.ShouldStop(512); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PROMOCIONES")); + BA.debugLineNum = 523;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 16: +//if +this.state = 27; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 18; +}if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 524;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(2048); +if (true) break; + +case 19: +//for +this.state = 26; +step58 = 1; +limit58 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 30; +if (true) break; + +case 30: +//C +this.state = 26; +if ((step58 > 0 && _i <= limit58) || (step58 < 0 && _i >= limit58)) this.state = 21; +if (true) break; + +case 31: +//C +this.state = 30; +_i = ((int)(0 + _i + step58)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 525;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 526;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +Debug.ShouldStop(8192); +_tm = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tm = parent._subs.runMethod(false,"_procesapromocion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )));Debug.locals.put("tm", _tm);Debug.locals.put("tm", _tm); + BA.debugLineNum = 527;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; +Debug.ShouldStop(16384); +if (true) break; + +case 22: +//if +this.state = 25; +if (RemoteObject.solveBoolean("=",_tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("status")))),RemoteObject.createImmutable(("ok")))) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 528;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_NO"; +Debug.ShouldStop(32768); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("# "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))),RemoteObject.createImmutable(" $ "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),RemoteObject.createImmutable(" F:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosCant")))),RemoteObject.createImmutable(" V:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesCant")))))))); + if (true) break; + +case 25: +//C +this.state = 31; +; + if (true) break; +if (true) break; + +case 26: +//C +this.state = 27; +Debug.locals.put("i", _i); +; + if (true) break; + +case 27: +//C +this.state = 28; +; + BA.debugLineNum = 576;BA.debugLine="c2.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 28: +//C +this.state = -1; +; + BA.debugLineNum = 578;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(2); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + BA.debugLineNum = 579;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _lv_prodspedido_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_prodsPedido_ItemLongClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1354); +if (RapidSub.canDelegate("lv_prodspedido_itemlongclick")) { return __ref.runUserSub(false, "c_productos","lv_prodspedido_itemlongclick", __ref, _position, _value);} +RemoteObject _x = null; +RemoteObject _nom = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _cedis = RemoteObject.createImmutable(""); +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +RemoteObject _clie_id = RemoteObject.createImmutable(""); +RemoteObject _usuario = RemoteObject.createImmutable(""); +int _j = 0; +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1354;BA.debugLine="Private Sub lv_prodsPedido_ItemLongClick (Position"; +Debug.ShouldStop(512); + BA.debugLineNum = 1355;BA.debugLine="Log(Value)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","067305473",BA.ObjectToString(_value),0); + BA.debugLineNum = 1356;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)"; +Debug.ShouldStop(2048); +_x = c_productos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(BA.ObjectToString(_value)));Debug.locals.put("X", _x);Debug.locals.put("X", _x); + BA.debugLineNum = 1357;BA.debugLine="Log(X.Length)"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","067305475",BA.NumberToString(_x.getField(true,"length")),0); + BA.debugLineNum = 1358;BA.debugLine="Private nom As String = \"\""; +Debug.ShouldStop(8192); +_nom = BA.ObjectToString("");Debug.locals.put("nom", _nom);Debug.locals.put("nom", _nom); + BA.debugLineNum = 1359;BA.debugLine="For i = 0 To X.Length -1"; +Debug.ShouldStop(16384); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1360;BA.debugLine="If X(i).Contains(CRLF) Then"; +Debug.ShouldStop(32768); +if (_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_productos.__c.getField(true,"CRLF"))).get().booleanValue()) { + }; + BA.debugLineNum = 1362;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +Debug.ShouldStop(131072); +if (c_productos.__c.runMethod(true,"Not",(Object)(_x.getArrayElement(true,BA.numberCast(int.class, _i)).runMethod(true,"contains",(Object)(c_productos.__c.getField(true,"CRLF"))))).get().booleanValue()) { + BA.debugLineNum = 1363;BA.debugLine="nom = nom & \" \" & X(i)"; +Debug.ShouldStop(262144); +_nom = RemoteObject.concat(_nom,RemoteObject.createImmutable(" "),_x.getArrayElement(true,BA.numberCast(int.class, _i)));Debug.locals.put("nom", _nom); + }else { + BA.debugLineNum = 1365;BA.debugLine="Exit"; +Debug.ShouldStop(1048576); +if (true) break; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1368;BA.debugLine="nom = nom.Trim"; +Debug.ShouldStop(8388608); +_nom = _nom.runMethod(true,"trim");Debug.locals.put("nom", _nom); + BA.debugLineNum = 1369;BA.debugLine="Private cedis As String = X(X.Length-1)"; +Debug.ShouldStop(16777216); +_cedis = _x.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_x.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + BA.debugLineNum = 1370;BA.debugLine="Log(nom)"; +Debug.ShouldStop(33554432); +c_productos.__c.runVoidMethod ("LogImpl","067305488",_nom,0); + BA.debugLineNum = 1371;BA.debugLine="Log(cedis)"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","067305489",_cedis,0); + BA.debugLineNum = 1372;BA.debugLine="Private sDate,sTime, clie_id, usuario As String"; +Debug.ShouldStop(134217728); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); +_clie_id = RemoteObject.createImmutable("");Debug.locals.put("clie_id", _clie_id); +_usuario = RemoteObject.createImmutable("");Debug.locals.put("usuario", _usuario); + BA.debugLineNum = 1374;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este a"; +Debug.ShouldStop(536870912); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_productos.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?")),(Object)(BA.ObjectToCharSequence("Borrar Articulo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_productos.__c.runMethod(false,"LoadBitmap",(Object)(c_productos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 1375;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_productos.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 1376;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select PE_P"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_value)})))); + BA.debugLineNum = 1377;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1378;BA.debugLine="Log(vamoaver.Get(Position))"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","067305496",BA.ObjectToString(__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_position))),0); + BA.debugLineNum = 1379;BA.debugLine="If vamoaver.Get(Position) = \"VENTA\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_position)),RemoteObject.createImmutable(("VENTA")))) { + BA.debugLineNum = 1380;BA.debugLine="Log(\"CAT_GUNAPROD2\")"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","067305498",RemoteObject.createImmutable("CAT_GUNAPROD2"),0); + BA.debugLineNum = 1381;BA.debugLine="Log(Position)"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","067305499",BA.NumberToString(_position),0); + BA.debugLineNum = 1382;BA.debugLine="Log(Value)"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("LogImpl","067305500",BA.ObjectToString(_value),0); + BA.debugLineNum = 1383;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; +Debug.ShouldStop(64); +c_productos._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD2"); + }else { + BA.debugLineNum = 1385;BA.debugLine="Log(\"CAT_GUNAPROD\")"; +Debug.ShouldStop(256); +c_productos.__c.runVoidMethod ("LogImpl","067305503",RemoteObject.createImmutable("CAT_GUNAPROD"),0); + BA.debugLineNum = 1386;BA.debugLine="Log(Position)"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("LogImpl","067305504",BA.NumberToString(_position),0); + BA.debugLineNum = 1387;BA.debugLine="Log(Value)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","067305505",BA.ObjectToString(_value),0); + BA.debugLineNum = 1388;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; +Debug.ShouldStop(2048); +c_productos._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD"); + }; + BA.debugLineNum = 1447;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_P"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' or pe_pronombre = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable(" ') AND PE_CEDIS = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)")))))); + BA.debugLineNum = 1448;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDI"; +Debug.ShouldStop(128); +c_productos.__c.runVoidMethod ("LogImpl","067305566",(RemoteObject.concat(RemoteObject.createImmutable("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nom))),RemoteObject.createImmutable("' AND PE_CEDIS = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa)"))),0); + BA.debugLineNum = 1449;BA.debugLine="Log(c.RowCount)"; +Debug.ShouldStop(256); +c_productos.__c.runVoidMethod ("LogImpl","067305567",BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1450;BA.debugLine="c.Position=0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(4096); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(((double)(Double.parseDouble(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).get()))*-(double) (0 + 1)))}))))); + BA.debugLineNum = 1460;BA.debugLine="If Not(IsNumber(cedis)) Then"; +Debug.ShouldStop(524288); +if (c_productos.__c.runMethod(true,"Not",(Object)(c_productos.__c.runMethod(true,"IsNumber",(Object)(_cedis)))).get().booleanValue()) { + BA.debugLineNum = 1461;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cedis})))); + BA.debugLineNum = 1463;BA.debugLine="LogColor(j3.RowCount,Colors.Yellow)"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","067305581",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),c_productos.__c.getField(false,"Colors").getField(true,"Yellow")); + BA.debugLineNum = 1464;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1465;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("LogImpl","067305583",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 1466;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(33554432); +{ +final int step45 = 1; +final int limit45 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step45 > 0 && _j <= limit45) || (step45 < 0 && _j >= limit45) ;_j = ((int)(0 + _j + step45)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 1467;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","067305585",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 1468;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 1469;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +Debug.ShouldStop(268435456); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1470;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +Debug.ShouldStop(536870912); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("j", _j); +; + BA.debugLineNum = 1473;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select s"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")))); + BA.debugLineNum = 1474;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1475;BA.debugLine="If c.GetString(\"PC_NOART\") = Null Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))) { + BA.debugLineNum = 1476;BA.debugLine="l_cant.Text = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 1477;BA.debugLine="l_total2.Text = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }else { + BA.debugLineNum = 1479;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 1480;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))); + }; + BA.debugLineNum = 1482;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 1484;BA.debugLine="j3.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 1487;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${"; +Debug.ShouldStop(16384); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1488;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr"; +Debug.ShouldStop(32768); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_nom),(_cedis),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))}))))); + BA.debugLineNum = 1489;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select su"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")))); + BA.debugLineNum = 1490;BA.debugLine="c.Position=0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1491;BA.debugLine="If c.GetString(\"PC_NOART\") = Null Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))) { + BA.debugLineNum = 1492;BA.debugLine="l_cant.Text = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 1493;BA.debugLine="l_total2.Text = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }else { + BA.debugLineNum = 1495;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 1496;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))); + }; + BA.debugLineNum = 1498;BA.debugLine="c.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 1500;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1502;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(536870912); +c_productos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1503;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1073741824); +_sdate = c_productos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_productos.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 1504;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(-2147483648); +_stime = c_productos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_productos.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 1505;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 1506;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1507;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(4); +_clie_id = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")));Debug.locals.put("clie_id", _clie_id); + BA.debugLineNum = 1508;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1509;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1510;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(32); +_usuario = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("usuario", _usuario); + BA.debugLineNum = 1511;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1512;BA.debugLine="c.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1513;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1514;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(512); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1515;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +Debug.ShouldStop(1024); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(_clie_id),(RemoteObject.concat(_sdate,_stime)),(_usuario),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1516;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +Debug.ShouldStop(2048); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }else { + BA.debugLineNum = 1518;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(8192); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +Debug.ShouldStop(16384); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 1522;BA.debugLine="b_terminar1_Click"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_b_terminar1_click" /*RemoteObject*/ ); + }; + BA.debugLineNum = 1527;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_promos_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_promos_ItemClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,581); +if (RapidSub.canDelegate("lv_promos_itemclick")) { return __ref.runUserSub(false, "c_productos","lv_promos_itemclick", __ref, _position, _value);} +RemoteObject _cliente = RemoteObject.declareNull("gunav2.keymon.com.mx.c_cliente"); +RemoteObject _promos = RemoteObject.declareNull("gunav2.keymon.com.mx.c_promos"); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 581;BA.debugLine="Sub lv_promos_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(16); + BA.debugLineNum = 582;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 583;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; +Debug.ShouldStop(64); +_cliente = (c_productos._b4xpages.runMethod(false,"_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 585;BA.debugLine="If Value = \"PROMOCIONES\" And cliente.cuenta <> \"N"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOCIONES"))) && RemoteObject.solveBoolean("!",_cliente.getField(true,"_cuenta" /*RemoteObject*/ ),BA.ObjectToString("N"))) { + BA.debugLineNum = 586;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(512); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + BA.debugLineNum = 587;BA.debugLine="marca = \"PROMOS\""; +Debug.ShouldStop(1024); +__ref.setField ("_marca" /*RemoteObject*/ ,BA.ObjectToString("PROMOS")); + BA.debugLineNum = 588;BA.debugLine="tipo = \"PROMOS\""; +Debug.ShouldStop(2048); +__ref.setField ("_tipo" /*RemoteObject*/ ,BA.ObjectToString("PROMOS")); + }else +{ BA.debugLineNum = 589;BA.debugLine="Else if Value = \"PROMOCIONES\" And cliente.cuenta"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOCIONES"))) && RemoteObject.solveBoolean("=",_cliente.getField(true,"_cuenta" /*RemoteObject*/ ),BA.ObjectToString("N"))) { + BA.debugLineNum = 590;BA.debugLine="entro = \"5\""; +Debug.ShouldStop(8192); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("5")); + BA.debugLineNum = 591;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(16384); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }} +; + BA.debugLineNum = 593;BA.debugLine="If entro = \"3\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("3"))) { + }else +{ BA.debugLineNum = 595;BA.debugLine="Else If entro = \"4\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("4"))) { + BA.debugLineNum = 597;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1048576); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROID"))); + BA.debugLineNum = 598;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(2097152); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROID VALUES (?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 599;BA.debugLine="Dim promos As C_Promos = B4XPages.GetPage(\"Promo"; +Debug.ShouldStop(4194304); +_promos = (c_productos._b4xpages.runMethod(false,"_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Promos"))));Debug.locals.put("promos", _promos);Debug.locals.put("promos", _promos); + BA.debugLineNum = 600;BA.debugLine="promos.laPromo = Subs.traeProdIdDeBD.Get(\"id\")"; +Debug.ShouldStop(8388608); +_promos.setField ("_lapromo" /*RemoteObject*/ ,BA.ObjectToString(c_productos._subs.runMethod(false,"_traeprodiddebd" /*RemoteObject*/ ,__ref.getField(false, "ba")).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))))); + BA.debugLineNum = 601;BA.debugLine="promos.elCliente = Subs.traeUsuarioDeBD"; +Debug.ShouldStop(16777216); +_promos.setField ("_elcliente" /*RemoteObject*/ ,c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 602;BA.debugLine="B4XPages.ShowPage(\"Promos\")"; +Debug.ShouldStop(33554432); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Promos"))); + }} +; + BA.debugLineNum = 604;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_promos_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_promos_ItemLongClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1269); +if (RapidSub.canDelegate("lv_promos_itemlongclick")) { return __ref.runUserSub(false, "c_productos","lv_promos_itemlongclick", __ref, _position, _value);} +RemoteObject _id = RemoteObject.createImmutable(""); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1269;BA.debugLine="Private Sub lv_promos_ItemLongClick (Position As I"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 1270;BA.debugLine="Log(\"Promo longclic = \"&Value)"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","066912257",RemoteObject.concat(RemoteObject.createImmutable("Promo longclic = "),_value),0); + BA.debugLineNum = 1271;BA.debugLine="Private id As String = \"\""; +Debug.ShouldStop(4194304); +_id = BA.ObjectToString("");Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 1272;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +Debug.ShouldStop(8388608); +c_productos._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_productos._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_TIPO = 'PROMOS' and CAT_GP_NOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable("'"))))));__ref.setField("_c",c_productos._c); + BA.debugLineNum = 1273;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1274;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1275;BA.debugLine="id = c.GetString(\"CAT_GP_ID\")"; +Debug.ShouldStop(67108864); +_id = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")));Debug.locals.put("id", _id); + }; + BA.debugLineNum = 1277;BA.debugLine="l_info.Text = $\"ID: ${id}${CRLF}${Value}\"$"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("ID: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 1278;BA.debugLine="l_info.Visible = True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1279;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_subtipo_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_subtipo_ItemClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1306); +if (RapidSub.canDelegate("lv_subtipo_itemclick")) { return __ref.runUserSub(false, "c_productos","lv_subtipo_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1306;BA.debugLine="Private Sub lv_subtipo_ItemClick (Position As Int,"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 1320;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_tipo_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_tipo_ItemClick (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1286); +if (RapidSub.canDelegate("lv_tipo_itemclick")) { return __ref.runUserSub(false, "c_productos","lv_tipo_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1286;BA.debugLine="Private Sub lv_tipo_ItemClick (Position As Int, Va"; +Debug.ShouldStop(32); + BA.debugLineNum = 1304;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_devo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_devo_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,2441); +if (RapidSub.canDelegate("p_devo_click")) { return __ref.runUserSub(false, "c_productos","p_devo_click", __ref);} + BA.debugLineNum = 2441;BA.debugLine="Private Sub p_devo_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 2443;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_promodesc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_promodesc_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,2300); +if (RapidSub.canDelegate("p_promodesc_click")) { return __ref.runUserSub(false, "c_productos","p_promodesc_click", __ref);} + BA.debugLineNum = 2300;BA.debugLine="Private Sub p_promodesc_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 2301;BA.debugLine="p_promodesc.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_promodesc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 2302;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_vistapreviatrans_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_vistaPreviaTrans_Click (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1322); +if (RapidSub.canDelegate("p_vistapreviatrans_click")) { return __ref.runUserSub(false, "c_productos","p_vistapreviatrans_click", __ref);} + BA.debugLineNum = 1322;BA.debugLine="Private Sub p_vistaPreviaTrans_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 1324;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pclv_addprods(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("PCLV_AddProds (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,271); +if (RapidSub.canDelegate("pclv_addprods")) { return __ref.runUserSub(false, "c_productos","pclv_addprods", __ref);} + BA.debugLineNum = 271;BA.debugLine="Sub PCLV_AddProds"; +Debug.ShouldStop(16384); + BA.debugLineNum = 273;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pclv_hintrequested(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("PCLV_HintRequested (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,1972); +if (RapidSub.canDelegate("pclv_hintrequested")) { return __ref.runUserSub(false, "c_productos","pclv_hintrequested", __ref, _index);} +RemoteObject _word = RemoteObject.createImmutable(""); +Debug.locals.put("Index", _index); + BA.debugLineNum = 1972;BA.debugLine="Sub PCLV_HintRequested(Index As Int) As Object"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1973;BA.debugLine="Dim word As String = listaHints.get(Index)"; +Debug.ShouldStop(1048576); +_word = BA.ObjectToString(__ref.getField(false,"_listahints" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_index)));Debug.locals.put("word", _word);Debug.locals.put("word", _word); + BA.debugLineNum = 1974;BA.debugLine="Return word"; +Debug.ShouldStop(2097152); +if (true) return (_word); + BA.debugLineNum = 1975;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _terminarpromoesp(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("terminarpromoesp (c_productos) ","c_productos",7,__ref.getField(false, "ba"),__ref,2278); +if (RapidSub.canDelegate("terminarpromoesp")) { return __ref.runUserSub(false, "c_productos","terminarpromoesp", __ref);} +int _i = 0; +RemoteObject _pn = RemoteObject.createImmutable(""); + BA.debugLineNum = 2278;BA.debugLine="Sub terminarpromoesp"; +Debug.ShouldStop(32); + BA.debugLineNum = 2279;BA.debugLine="c2 = B4XPages.MainPage.skmt.ExecQuery($\"select *"; +Debug.ShouldStop(64); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" WHERE CAT_GP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)")))))); + BA.debugLineNum = 2280;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2281;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2282;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"), \""; +Debug.ShouldStop(512); +c_productos._subs.runVoidMethod ("_guardaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(BA.ObjectToString("0")),(Object)(BA.NumberToString(1)),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))); + BA.debugLineNum = 2283;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select * f"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)")))); + BA.debugLineNum = 2284;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2285;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(4096); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step7 > 0 && _i <= limit7) || (step7 < 0 && _i >= limit7) ;_i = ((int)(0 + _i + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2286;BA.debugLine="c.Position = i"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2287;BA.debugLine="Private pn As String = Subs.traeProdNombre(c.G"; +Debug.ShouldStop(16384); +_pn = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 2288;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"),"; +Debug.ShouldStop(32768); +c_productos._subs.runVoidMethod ("_guardaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),(Object)(_pn),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(Object)(c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2291;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 2293;BA.debugLine="c2.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2294;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_promos.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_promos.java new file mode 100644 index 0000000..c4798e1 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_promos.java @@ -0,0 +1,85 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_promos { + public static RemoteObject myClass; + public c_promos() { + } + public static PCBA staticBA = new PCBA(null, c_promos.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _l_promodesc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lv_prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _clv_prodsvariabes = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _clv_prodsvariabes2 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _l_prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _i_prod = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_prodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_prodmenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmenos2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_pcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_prodmas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmas2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_pcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _totalprods = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvar1 = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvar2 = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvarreq = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvarreq_ = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvarreq2 = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvarreq2_ = RemoteObject.createImmutable(0); +public static RemoteObject _totalcompra = RemoteObject.createImmutable(0f); +public static RemoteObject _prodsfijostot = RemoteObject.createImmutable(0f); +public static RemoteObject _tpf = RemoteObject.createImmutable(0); +public static RemoteObject _tpf2 = RemoteObject.createImmutable(0); +public static RemoteObject _maxcantpromos = RemoteObject.createImmutable(0); +public static RemoteObject _l_totprods = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_terminar1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_promociones = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _prodsids = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodscants = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodsprecios = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodsids2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodscants2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodsprecios2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _estapromo = RemoteObject.createImmutable(""); +public static RemoteObject _estecliente = RemoteObject.createImmutable(""); +public static RemoteObject _b_promomas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_promomenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_promocant = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _l_promoscant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_continuar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lapromo = RemoteObject.createImmutable(""); +public static RemoteObject _elcliente = RemoteObject.createImmutable(""); +public static RemoteObject _prodspedidoactual = RemoteObject.createImmutable(""); +public static RemoteObject _montopedidoactual = RemoteObject.createImmutable(""); +public static RemoteObject _promosmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_continuar",_ref.getField(false, "_b_continuar"),"b_prodMas",_ref.getField(false, "_b_prodmas"),"b_prodMas2",_ref.getField(false, "_b_prodmas2"),"b_prodMenos",_ref.getField(false, "_b_prodmenos"),"b_prodMenos2",_ref.getField(false, "_b_prodmenos2"),"b_promoMas",_ref.getField(false, "_b_promomas"),"b_promoMenos",_ref.getField(false, "_b_promomenos"),"b_terminar1",_ref.getField(false, "_b_terminar1"),"clv_prodsVariabes",_ref.getField(false, "_clv_prodsvariabes"),"clv_prodsVariabes2",_ref.getField(false, "_clv_prodsvariabes2"),"DateUtils",_ref.getField(false, "_dateutils"),"elCliente",_ref.getField(false, "_elcliente"),"estaPromo",_ref.getField(false, "_estapromo"),"esteCliente",_ref.getField(false, "_estecliente"),"et_pCant",_ref.getField(false, "_et_pcant"),"et_promoCant",_ref.getField(false, "_et_promocant"),"i_prod",_ref.getField(false, "_i_prod"),"l_pCant",_ref.getField(false, "_l_pcant"),"l_prodsFijos",_ref.getField(false, "_l_prodsfijos"),"l_prodsVariables",_ref.getField(false, "_l_prodsvariables"),"l_prodsVariables2",_ref.getField(false, "_l_prodsvariables2"),"l_prodX",_ref.getField(false, "_l_prodx"),"l_promoDesc",_ref.getField(false, "_l_promodesc"),"l_promosCant",_ref.getField(false, "_l_promoscant"),"l_total",_ref.getField(false, "_l_total"),"l_totProds",_ref.getField(false, "_l_totprods"),"laPromo",_ref.getField(false, "_lapromo"),"lv_prodsFijos",_ref.getField(false, "_lv_prodsfijos"),"maxCantPromos",_ref.getField(false, "_maxcantpromos"),"montoPedidoActual",_ref.getField(false, "_montopedidoactual"),"p_prods",_ref.getField(false, "_p_prods"),"p_prodsVariables",_ref.getField(false, "_p_prodsvariables"),"p_prodsVariables2",_ref.getField(false, "_p_prodsvariables2"),"p_promociones",_ref.getField(false, "_p_promociones"),"prodsCants",_ref.getField(false, "_prodscants"),"prodsCants2",_ref.getField(false, "_prodscants2"),"prodsFijosTot",_ref.getField(false, "_prodsfijostot"),"prodsIds",_ref.getField(false, "_prodsids"),"prodsIds2",_ref.getField(false, "_prodsids2"),"prodsPedidoActual",_ref.getField(false, "_prodspedidoactual"),"prodsPrecios",_ref.getField(false, "_prodsprecios"),"prodsPrecios2",_ref.getField(false, "_prodsprecios2"),"prodsVar1",_ref.getField(false, "_prodsvar1"),"prodsVar2",_ref.getField(false, "_prodsvar2"),"prodsVarReq",_ref.getField(false, "_prodsvarreq"),"prodsVarReq_",_ref.getField(false, "_prodsvarreq_"),"prodsVarReq2",_ref.getField(false, "_prodsvarreq2"),"prodsVarReq2_",_ref.getField(false, "_prodsvarreq2_"),"promosMap",_ref.getField(false, "_promosmap"),"Root",_ref.getField(false, "_root"),"su",_ref.getField(false, "_su"),"totalCompra",_ref.getField(false, "_totalcompra"),"totalProds",_ref.getField(false, "_totalprods"),"tpf",_ref.getField(false, "_tpf"),"tpf2",_ref.getField(false, "_tpf2"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_promos_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_promos_subs_0.java new file mode 100644 index 0000000..94ef441 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_promos_subs_0.java @@ -0,0 +1,1770 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_promos_subs_0 { + + +public static RemoteObject _agregafijosalista(RemoteObject __ref,RemoteObject _mp,RemoteObject _addlistitem) throws Exception{ +try { + Debug.PushSubsStack("agregaFijosALista (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,638); +if (RapidSub.canDelegate("agregafijosalista")) { return __ref.runUserSub(false, "c_promos","agregafijosalista", __ref, _mp, _addlistitem);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _pf = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _p = RemoteObject.createImmutable(""); +RemoteObject _tpi = RemoteObject.createImmutable(""); +RemoteObject _tpr = RemoteObject.createImmutable(""); +RemoteObject _ntpi = RemoteObject.createImmutable(0); +Debug.locals.put("mp", _mp); +Debug.locals.put("addListItem", _addlistitem); + BA.debugLineNum = 638;BA.debugLine="Sub agregaFijosALista(mp As Map, addListItem As Bo"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 639;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(1073741824); +_thislog = c_promos.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 640;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(-2147483648); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 641;BA.debugLine="prodsFijosTot = 0"; +Debug.ShouldStop(1); +__ref.setField ("_prodsfijostot" /*RemoteObject*/ ,BA.numberCast(float.class, 0)); + BA.debugLineNum = 642;BA.debugLine="Dim pf As List = mp.Get(\"prodsFijos\")"; +Debug.ShouldStop(2); +_pf = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pf = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("pf", _pf);Debug.locals.put("pf", _pf); + BA.debugLineNum = 643;BA.debugLine="If pf.Size < 1 Then pf.Add(\"Sin productos fijos.\""; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("<",_pf.runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { +_pf.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Sin productos fijos."))));}; + BA.debugLineNum = 647;BA.debugLine="prodsIds.clear"; +Debug.ShouldStop(64); +__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 648;BA.debugLine="prodsCants.clear"; +Debug.ShouldStop(128); +__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 649;BA.debugLine="prodsPrecios.clear"; +Debug.ShouldStop(256); +__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 650;BA.debugLine="prodsIds.Add(estaPromo)"; +Debug.ShouldStop(512); +__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((__ref.getField(true,"_estapromo" /*RemoteObject*/ )))); + BA.debugLineNum = 651;BA.debugLine="prodsCants.Add(et_promoCant.text.As(Int))"; +Debug.ShouldStop(1024); +__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(((BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))))); + BA.debugLineNum = 652;BA.debugLine="prodsPrecios.Add(0)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(RemoteObject.createImmutable((0)))); + BA.debugLineNum = 653;BA.debugLine="For Each p As String In pf"; +Debug.ShouldStop(4096); +{ +final RemoteObject group12 = _pf; +final int groupLen12 = group12.runMethod(true,"getSize").get() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_p = BA.ObjectToString(group12.runMethod(false,"Get",index12));Debug.locals.put("p", _p); +Debug.locals.put("p", _p); + BA.debugLineNum = 655;BA.debugLine="If mp.Get(\"prodsFijosPiezas\").As(List).Size > 0"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 656;BA.debugLine="Private tpi As String = mp.Get(\"prodsFijosPieza"; +Debug.ShouldStop(32768); +_tpi = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(false,"Get",(Object)(_cont)));Debug.locals.put("tpi", _tpi);Debug.locals.put("tpi", _tpi); + }else { + BA.debugLineNum = 658;BA.debugLine="Private tpi As String = 0"; +Debug.ShouldStop(131072); +_tpi = BA.NumberToString(0);Debug.locals.put("tpi", _tpi);Debug.locals.put("tpi", _tpi); + }; + BA.debugLineNum = 660;BA.debugLine="If mp.Get(\"prodsFijosPrecios\").As(List).Size > 0"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPrecios")))))).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 661;BA.debugLine="Private tpr As String = mp.Get(\"prodsFijosPreci"; +Debug.ShouldStop(1048576); +_tpr = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPrecios")))))).runMethod(false,"Get",(Object)(_cont)));Debug.locals.put("tpr", _tpr);Debug.locals.put("tpr", _tpr); + }else { + BA.debugLineNum = 663;BA.debugLine="Private tpr As String = 0"; +Debug.ShouldStop(4194304); +_tpr = BA.NumberToString(0);Debug.locals.put("tpr", _tpr);Debug.locals.put("tpr", _tpr); + }; + BA.debugLineNum = 665;BA.debugLine="prodsFijosTot = prodsFijosTot + (tpi * tpr)"; +Debug.ShouldStop(16777216); +__ref.setField ("_prodsfijostot" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsfijostot" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _tpi),BA.numberCast(double.class, _tpr)}, "*",0, 0))}, "+",1, 0))); + BA.debugLineNum = 666;BA.debugLine="If thisLog Then Log(\"|\"&tpi&\"|\"&p)"; +Debug.ShouldStop(33554432); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079233052",RemoteObject.concat(RemoteObject.createImmutable("|"),_tpi,RemoteObject.createImmutable("|"),_p),0);}; + BA.debugLineNum = 667;BA.debugLine="Private ntpi As Int = tpi * et_promoCant.text"; +Debug.ShouldStop(67108864); +_ntpi = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _tpi),BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0));Debug.locals.put("ntpi", _ntpi);Debug.locals.put("ntpi", _ntpi); + BA.debugLineNum = 668;BA.debugLine="If addListItem And tpi > 0 Then lv_prodsFijos.Ad"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(".",_addlistitem) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, _tpi),BA.numberCast(double.class, 0))) { +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_ntpi,RemoteObject.createImmutable(" "),c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_p)),RemoteObject.createImmutable(" - $"),_tpr))));}; + BA.debugLineNum = 669;BA.debugLine="cont = cont+1"; +Debug.ShouldStop(268435456); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 672;BA.debugLine="prodsIds.Add(p)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_p))); + BA.debugLineNum = 673;BA.debugLine="prodsCants.Add(tpi.As(Int)*et_promoCant.text.As("; +Debug.ShouldStop(1); +__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, _tpi)),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))); + BA.debugLineNum = 674;BA.debugLine="prodsPrecios.Add(tpr) '*et_promoCant.text.As(Int"; +Debug.ShouldStop(2); +__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_tpr))); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 676;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_continuar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_continuar_Click (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,1011); +if (RapidSub.canDelegate("b_continuar_click")) { return __ref.runUserSub(false, "c_promos","b_continuar_click", __ref);} +int _t = 0; +RemoteObject _pn = RemoteObject.createImmutable(""); +RemoteObject _prodspage = RemoteObject.declareNull("gunav2.keymon.com.mx.c_productos"); + BA.debugLineNum = 1011;BA.debugLine="Private Sub b_continuar_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 1012;BA.debugLine="cuentaProds"; +Debug.ShouldStop(524288); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 1013;BA.debugLine="Log(\"============================================"; +Debug.ShouldStop(1048576); +c_promos.__c.runVoidMethod ("LogImpl","080084994",RemoteObject.createImmutable("===================================================================="),0); + BA.debugLineNum = 1014;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; +Debug.ShouldStop(2097152); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_t = 0 ; +for (;(step3 > 0 && _t <= limit3) || (step3 < 0 && _t >= limit3) ;_t = ((int)(0 + _t + step3)) ) { +Debug.locals.put("t", _t); + BA.debugLineNum = 1015;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +Debug.ShouldStop(4194304); +_pn = c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 1016;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 1017;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +Debug.ShouldStop(16777216); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 1019;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +Debug.ShouldStop(67108864); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0))); + }; + } +}Debug.locals.put("t", _t); +; + BA.debugLineNum = 1022;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; +Debug.ShouldStop(536870912); +{ +final int step11 = 1; +final int limit11 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_t = 0 ; +for (;(step11 > 0 && _t <= limit11) || (step11 < 0 && _t >= limit11) ;_t = ((int)(0 + _t + step11)) ) { +Debug.locals.put("t", _t); + BA.debugLineNum = 1023;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +Debug.ShouldStop(1073741824); +_pn = c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 1024;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 1025;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +Debug.ShouldStop(1); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 1027;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +Debug.ShouldStop(4); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0))); + }; + } +}Debug.locals.put("t", _t); +; + BA.debugLineNum = 1042;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(131072); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 1045;BA.debugLine="Private prodspage As C_Productos"; +Debug.ShouldStop(1048576); +_prodspage = RemoteObject.createNew ("gunav2.keymon.com.mx.c_productos");Debug.locals.put("prodspage", _prodspage); + BA.debugLineNum = 1046;BA.debugLine="If prodspage.IsInitialized Then"; +Debug.ShouldStop(2097152); +if (_prodspage.runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 1047;BA.debugLine="prodspage.lv_catalogos.Visible = True"; +Debug.ShouldStop(4194304); +_prodspage.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + BA.debugLineNum = 1048;BA.debugLine="prodspage.lv_promos.Visible = False"; +Debug.ShouldStop(8388608); +_prodspage.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 1049;BA.debugLine="prodspage.clv_productos.AsView.Visible = False"; +Debug.ShouldStop(16777216); +_prodspage.getField(false,"_clv_productos" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + }; + BA.debugLineNum = 1051;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; +Debug.ShouldStop(67108864); +c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_bterminarclicked" /*RemoteObject*/ ,c_promos.__c.getField(true,"True")); + BA.debugLineNum = 1052;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(134217728); +c_promos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 1053;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMas_Click (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,743); +if (RapidSub.canDelegate("b_prodmas_click")) { return __ref.runUserSub(false, "c_promos","b_prodmas_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _prodid = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 743;BA.debugLine="Sub b_prodMas_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 744;BA.debugLine="If prodsVar1 < prodsVarReq Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_prodsvar1" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_prodsvarreq" /*RemoteObject*/ )))) { + BA.debugLineNum = 745;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFrom"; +Debug.ShouldStop(256); +_index = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_promos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 746;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel"; +Debug.ShouldStop(512); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 747;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(1024); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 749;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; +Debug.ShouldStop(4096); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 752;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; +Debug.ShouldStop(32768); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_promos.__c.runMethod(false, "ArrayToList", (Object)(c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 755;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))))) { + BA.debugLineNum = 756;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; +Debug.ShouldStop(524288); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 757;BA.debugLine="cuentaProds"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + }; + BA.debugLineNum = 761;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; +Debug.ShouldStop(16777216); +_precio = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 763;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; +Debug.ShouldStop(67108864); +_prodid = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("prodId", _prodid);Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 764;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; +Debug.ShouldStop(134217728); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_promos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(__ref.getField(true,"_estapromo" /*RemoteObject*/ ))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 766;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_prodid)),(Object)((_tmpmap.getObject()))); + }; + BA.debugLineNum = 772;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmas2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMas2_Click (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,799); +if (RapidSub.canDelegate("b_prodmas2_click")) { return __ref.runUserSub(false, "c_promos","b_prodmas2_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _prodid = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 799;BA.debugLine="Sub b_prodMas2_Click"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 801;BA.debugLine="If prodsVar2 < prodsVarReq2 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_prodsvar2" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ )))) { + BA.debugLineNum = 802;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFro"; +Debug.ShouldStop(2); +_index = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_promos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 803;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPane"; +Debug.ShouldStop(4); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 804;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(8); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 806;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; +Debug.ShouldStop(32); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 809;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; +Debug.ShouldStop(256); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_promos.__c.runMethod(false, "ArrayToList", (Object)(c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 811;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))))) { + BA.debugLineNum = 812;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; +Debug.ShouldStop(2048); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 813;BA.debugLine="cuentaProds"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + }; + BA.debugLineNum = 817;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; +Debug.ShouldStop(65536); +_precio = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 819;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; +Debug.ShouldStop(262144); +_prodid = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("prodId", _prodid);Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 820;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; +Debug.ShouldStop(524288); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_promos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(__ref.getField(true,"_estapromo" /*RemoteObject*/ ))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 822;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_prodid)),(Object)((_tmpmap.getObject()))); + }; + BA.debugLineNum = 828;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmenos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenos_Click (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,719); +if (RapidSub.canDelegate("b_prodmenos_click")) { return __ref.runUserSub(false, "c_promos","b_prodmenos_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _prodid = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 719;BA.debugLine="Sub b_prodMenos_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 720;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFromV"; +Debug.ShouldStop(32768); +_index = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_promos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 721;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel("; +Debug.ShouldStop(65536); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 722;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(131072); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 724;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; +Debug.ShouldStop(524288); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 726;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(2097152); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 727;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 730;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; +Debug.ShouldStop(33554432); +_precio = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 732;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; +Debug.ShouldStop(134217728); +_prodid = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("prodId", _prodid);Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 733;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +Debug.ShouldStop(268435456); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_promos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(__ref.getField(true,"_estapromo" /*RemoteObject*/ ))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 735;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_prodid)),(Object)((_tmpmap.getObject()))); + BA.debugLineNum = 736;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((_prodid)));}; + BA.debugLineNum = 738;BA.debugLine="cuentaProds"; +Debug.ShouldStop(2); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 741;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmenos2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenos2_Click (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,775); +if (RapidSub.canDelegate("b_prodmenos2_click")) { return __ref.runUserSub(false, "c_promos","b_prodmenos2_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _prodid = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 775;BA.debugLine="Sub b_prodMenos2_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 776;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFrom"; +Debug.ShouldStop(128); +_index = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_promos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 777;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPanel"; +Debug.ShouldStop(256); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 778;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(512); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 780;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; +Debug.ShouldStop(2048); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 782;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(8192); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 783;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 786;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; +Debug.ShouldStop(131072); +_precio = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 788;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; +Debug.ShouldStop(524288); +_prodid = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("prodId", _prodid);Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 789;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +Debug.ShouldStop(1048576); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_promos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(__ref.getField(true,"_estapromo" /*RemoteObject*/ ))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 791;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_prodid)),(Object)((_tmpmap.getObject()))); + BA.debugLineNum = 792;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((_prodid)));}; + BA.debugLineNum = 794;BA.debugLine="cuentaProds"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 797;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_promomas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_promoMas_Click (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,935); +if (RapidSub.canDelegate("b_promomas_click")) { return __ref.runUserSub(false, "c_promos","b_promomas_click", __ref);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 935;BA.debugLine="Private Sub b_promoMas_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 937;BA.debugLine="If laPromo = \"MYKONOS_01\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_lapromo" /*RemoteObject*/ ),BA.ObjectToString("MYKONOS_01"))) { + BA.debugLineNum = 938;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(512); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 939;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 940;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 941;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(4096); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 942;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 943;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(16384); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 945;BA.debugLine="If c.GetString(\"suma\") >= 300 And c.GetString("; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 300)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 600))) { + BA.debugLineNum = 946;BA.debugLine="maxCantPromos = 1"; +Debug.ShouldStop(131072); +__ref.setField ("_maxcantpromos" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + }else +{ BA.debugLineNum = 947;BA.debugLine="Else If c.GetString(\"suma\") >= 600 And c.GetSt"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 600)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 900))) { + BA.debugLineNum = 948;BA.debugLine="maxCantPromos = 2"; +Debug.ShouldStop(524288); +__ref.setField ("_maxcantpromos" /*RemoteObject*/ ,BA.numberCast(int.class, 2)); + }else +{ BA.debugLineNum = 949;BA.debugLine="Else If c.GetString(\"suma\") >= 900 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 900))) { + BA.debugLineNum = 950;BA.debugLine="maxCantPromos = 3"; +Debug.ShouldStop(2097152); +__ref.setField ("_maxcantpromos" /*RemoteObject*/ ,BA.numberCast(int.class, 3)); + }}} +; + }; + }; + }; + BA.debugLineNum = 958;BA.debugLine="If et_promoCant.Text < maxCantPromos Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )))) { + BA.debugLineNum = 959;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) +"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText"))),RemoteObject.createImmutable(1)}, "+",1, 1))); + BA.debugLineNum = 960;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 *"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_prodsfijos" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos fijos ("),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(")"))))); + BA.debugLineNum = 961;BA.debugLine="l_prodsVariables.Text = $\"Productos variables re"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 962;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables2 requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 963;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +Debug.ShouldStop(4); +__ref.setField ("_tpf" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 964;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.A"; +Debug.ShouldStop(8); +__ref.setField ("_prodsvarreq" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 965;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text"; +Debug.ShouldStop(16); +__ref.setField ("_prodsvarreq2" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 966;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P"; +Debug.ShouldStop(32); +c_promos.__c.runVoidMethod ("LogImpl","079953951",(RemoteObject.concat(RemoteObject.createImmutable("Max promos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))))),RemoteObject.createImmutable(", Prods fijos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "))),0); + }; + BA.debugLineNum = 968;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )))) { +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )));}; + BA.debugLineNum = 969;BA.debugLine="cuentaProds"; +Debug.ShouldStop(256); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 970;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_promomenos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_promoMenos_Click (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,921); +if (RapidSub.canDelegate("b_promomenos_click")) { return __ref.runUserSub(false, "c_promos","b_promomenos_click", __ref);} + BA.debugLineNum = 921;BA.debugLine="Private Sub b_promoMenos_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 922;BA.debugLine="If et_promoCant.Text > 1 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 923;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) -"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText"))),RemoteObject.createImmutable(1)}, "-",1, 1))); + }; + BA.debugLineNum = 925;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 * e"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_prodsfijos" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos fijos ("),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(")"))))); + BA.debugLineNum = 926;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 927;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables2 requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 928;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_tpf" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 929;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.As"; +Debug.ShouldStop(1); +__ref.setField ("_prodsvarreq" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 930;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text."; +Debug.ShouldStop(2); +__ref.setField ("_prodsvarreq2" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 931;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, Pr"; +Debug.ShouldStop(4); +c_promos.__c.runVoidMethod ("LogImpl","079888394",(RemoteObject.concat(RemoteObject.createImmutable("Max promos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))))),RemoteObject.createImmutable(", Prods fijos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "))),0); + BA.debugLineNum = 932;BA.debugLine="cuentaProds"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 933;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_terminar1_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_terminar1_Click (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,972); +if (RapidSub.canDelegate("b_terminar1_click")) { return __ref.runUserSub(false, "c_promos","b_terminar1_click", __ref);} +int _t = 0; +RemoteObject _pn = RemoteObject.createImmutable(""); + BA.debugLineNum = 972;BA.debugLine="Private Sub b_terminar1_Click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 973;BA.debugLine="cuentaProds"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 974;BA.debugLine="Log(\"============================================"; +Debug.ShouldStop(8192); +c_promos.__c.runVoidMethod ("LogImpl","080019458",RemoteObject.createImmutable("===================================================================="),0); + BA.debugLineNum = 975;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; +Debug.ShouldStop(16384); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_t = 0 ; +for (;(step3 > 0 && _t <= limit3) || (step3 < 0 && _t >= limit3) ;_t = ((int)(0 + _t + step3)) ) { +Debug.locals.put("t", _t); + BA.debugLineNum = 976;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +Debug.ShouldStop(32768); +_pn = c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 977;BA.debugLine="If prodsCants.Get(t) > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t)))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 978;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 979;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prods"; +Debug.ShouldStop(262144); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 981;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prods"; +Debug.ShouldStop(1048576); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0))); + }; + }; + } +}Debug.locals.put("t", _t); +; + BA.debugLineNum = 985;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; +Debug.ShouldStop(16777216); +{ +final int step13 = 1; +final int limit13 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_t = 0 ; +for (;(step13 > 0 && _t <= limit13) || (step13 < 0 && _t >= limit13) ;_t = ((int)(0 + _t + step13)) ) { +Debug.locals.put("t", _t); + BA.debugLineNum = 986;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +Debug.ShouldStop(33554432); +_pn = c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 987;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 988;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +Debug.ShouldStop(134217728); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(1))); + }else { + BA.debugLineNum = 990;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +Debug.ShouldStop(536870912); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0))); + }; + } +}Debug.locals.put("t", _t); +; + BA.debugLineNum = 1005;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(4096); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 1006;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; +Debug.ShouldStop(8192); +c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_bterminarclicked" /*RemoteObject*/ ,c_promos.__c.getField(true,"True")); + BA.debugLineNum = 1007;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(16384); +c_promos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 1008;BA.debugLine="B4XPages.MainPage.productos.b_terminar1_Click"; +Debug.ShouldStop(32768); +c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_productos.class, "_b_terminar1_click" /*RemoteObject*/ ); + BA.debugLineNum = 1009;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,465); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_promos","b4xpage_appear", __ref);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 465;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(65536); + BA.debugLineNum = 467;BA.debugLine="prodsIds.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 468;BA.debugLine="prodsCants.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 469;BA.debugLine="prodsPrecios.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 470;BA.debugLine="prodsIds2.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 471;BA.debugLine="prodsCants2.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 472;BA.debugLine="prodsPrecios2.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 473;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +Debug.ShouldStop(16777216); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = c_promos._subs.runMethod(false,"_traetotalesclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 474;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +Debug.ShouldStop(33554432); +__ref.setField ("_prodspedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))))); + BA.debugLineNum = 475;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_montopedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))); + BA.debugLineNum = 477;BA.debugLine="If laPromo <> \"\" Then muestraPromo(laPromo, elCli"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_lapromo" /*RemoteObject*/ ),BA.ObjectToString(""))) { +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_muestrapromo" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_lapromo" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_elcliente" /*RemoteObject*/ )));}; + BA.debugLineNum = 478;BA.debugLine="Log(laPromo)"; +Debug.ShouldStop(536870912); +c_promos.__c.runVoidMethod ("LogImpl","079101965",__ref.getField(true,"_lapromo" /*RemoteObject*/ ),0); + BA.debugLineNum = 479;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,450); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_promos","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 450;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2); + BA.debugLineNum = 451;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 453;BA.debugLine="Root.LoadLayout(\"promociones\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("promociones")),__ref.getField(false, "ba")); + BA.debugLineNum = 455;BA.debugLine="p_promociones.Height= Root.Height"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_promociones" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 456;BA.debugLine="p_promociones.Width= Root.Width"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_promociones" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 457;BA.debugLine="promosMap.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 458;BA.debugLine="p_promociones.Top=0"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_promociones" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 459;BA.debugLine="p_promociones.Left=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_promociones" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 460;BA.debugLine="b_terminar1.Left = Root.Width - (b_terminar1.Widt"; +Debug.ShouldStop(2048); +__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(10)}, "+",1, 1))}, "-",1, 1)); + BA.debugLineNum = 461;BA.debugLine="b_continuar.Left = Root.Width - b_terminar1.Width"; +Debug.ShouldStop(4096); +__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"getWidth"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(20)}, "+",1, 1))}, "--",2, 1)); + BA.debugLineNum = 462;BA.debugLine="Subs.centraPanel(p_promociones,Root.Width)"; +Debug.ShouldStop(8192); +c_promos._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_promociones" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 463;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 398;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 399;BA.debugLine="Private Root As B4XView 'ignore"; +c_promos._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_promos._root); + //BA.debugLineNum = 400;BA.debugLine="Private xui As XUI"; +c_promos._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_promos._xui); + //BA.debugLineNum = 401;BA.debugLine="Private l_promoDesc As Label"; +c_promos._l_promodesc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_promodesc",c_promos._l_promodesc); + //BA.debugLineNum = 402;BA.debugLine="Private lv_prodsFijos As ListView"; +c_promos._lv_prodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_prodsfijos",c_promos._lv_prodsfijos); + //BA.debugLineNum = 403;BA.debugLine="Private clv_prodsVariabes, clv_prodsVariabes2 As"; +c_promos._clv_prodsvariabes = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_prodsvariabes",c_promos._clv_prodsvariabes); +c_promos._clv_prodsvariabes2 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_prodsvariabes2",c_promos._clv_prodsvariabes2); + //BA.debugLineNum = 404;BA.debugLine="Private l_prodsFijos As Label"; +c_promos._l_prodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodsfijos",c_promos._l_prodsfijos); + //BA.debugLineNum = 405;BA.debugLine="Private l_prodsVariables, l_prodsVariables2 As La"; +c_promos._l_prodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodsvariables",c_promos._l_prodsvariables); +c_promos._l_prodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodsvariables2",c_promos._l_prodsvariables2); + //BA.debugLineNum = 406;BA.debugLine="Private i_prod As ImageView"; +c_promos._i_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_prod",c_promos._i_prod); + //BA.debugLineNum = 407;BA.debugLine="Private l_prodX As Label"; +c_promos._l_prodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodx",c_promos._l_prodx); + //BA.debugLineNum = 408;BA.debugLine="Private p_prods As Panel"; +c_promos._p_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prods",c_promos._p_prods); + //BA.debugLineNum = 409;BA.debugLine="Private b_prodMenos, b_prodMenos2 As Button"; +c_promos._b_prodmenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenos",c_promos._b_prodmenos); +c_promos._b_prodmenos2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenos2",c_promos._b_prodmenos2); + //BA.debugLineNum = 410;BA.debugLine="Private et_pCant As EditText"; +c_promos._et_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pcant",c_promos._et_pcant); + //BA.debugLineNum = 411;BA.debugLine="Private b_prodMas, b_prodMas2 As Button"; +c_promos._b_prodmas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmas",c_promos._b_prodmas); +c_promos._b_prodmas2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmas2",c_promos._b_prodmas2); + //BA.debugLineNum = 412;BA.debugLine="Private l_pCant As Label"; +c_promos._l_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pcant",c_promos._l_pcant); + //BA.debugLineNum = 413;BA.debugLine="Dim totalProds As Int = 0"; +c_promos._totalprods = BA.numberCast(int.class, 0);__ref.setField("_totalprods",c_promos._totalprods); + //BA.debugLineNum = 414;BA.debugLine="Dim prodsVar1 As Int = 0"; +c_promos._prodsvar1 = BA.numberCast(int.class, 0);__ref.setField("_prodsvar1",c_promos._prodsvar1); + //BA.debugLineNum = 415;BA.debugLine="Dim prodsVar2 As Int = 0"; +c_promos._prodsvar2 = BA.numberCast(int.class, 0);__ref.setField("_prodsvar2",c_promos._prodsvar2); + //BA.debugLineNum = 416;BA.debugLine="Dim prodsVarReq As Int = 0"; +c_promos._prodsvarreq = BA.numberCast(int.class, 0);__ref.setField("_prodsvarreq",c_promos._prodsvarreq); + //BA.debugLineNum = 417;BA.debugLine="Dim prodsVarReq_ As Int = 0"; +c_promos._prodsvarreq_ = BA.numberCast(int.class, 0);__ref.setField("_prodsvarreq_",c_promos._prodsvarreq_); + //BA.debugLineNum = 418;BA.debugLine="Dim prodsVarReq2 As Int = 0"; +c_promos._prodsvarreq2 = BA.numberCast(int.class, 0);__ref.setField("_prodsvarreq2",c_promos._prodsvarreq2); + //BA.debugLineNum = 419;BA.debugLine="Dim prodsVarReq2_ As Int = 0"; +c_promos._prodsvarreq2_ = BA.numberCast(int.class, 0);__ref.setField("_prodsvarreq2_",c_promos._prodsvarreq2_); + //BA.debugLineNum = 420;BA.debugLine="Dim totalCompra As Float = 0"; +c_promos._totalcompra = BA.numberCast(float.class, 0);__ref.setField("_totalcompra",c_promos._totalcompra); + //BA.debugLineNum = 421;BA.debugLine="Dim prodsFijosTot As Float = 0"; +c_promos._prodsfijostot = BA.numberCast(float.class, 0);__ref.setField("_prodsfijostot",c_promos._prodsfijostot); + //BA.debugLineNum = 422;BA.debugLine="Dim tpf As Int = 0"; +c_promos._tpf = BA.numberCast(int.class, 0);__ref.setField("_tpf",c_promos._tpf); + //BA.debugLineNum = 423;BA.debugLine="Dim tpf2 As Int = 0"; +c_promos._tpf2 = BA.numberCast(int.class, 0);__ref.setField("_tpf2",c_promos._tpf2); + //BA.debugLineNum = 424;BA.debugLine="Dim maxCantPromos As Int = 1"; +c_promos._maxcantpromos = BA.numberCast(int.class, 1);__ref.setField("_maxcantpromos",c_promos._maxcantpromos); + //BA.debugLineNum = 425;BA.debugLine="Private l_totProds As Label"; +c_promos._l_totprods = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_totprods",c_promos._l_totprods); + //BA.debugLineNum = 426;BA.debugLine="Private l_total As Label"; +c_promos._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_promos._l_total); + //BA.debugLineNum = 427;BA.debugLine="Private b_terminar1 As Button"; +c_promos._b_terminar1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_terminar1",c_promos._b_terminar1); + //BA.debugLineNum = 428;BA.debugLine="Private p_promociones As Panel"; +c_promos._p_promociones = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_promociones",c_promos._p_promociones); + //BA.debugLineNum = 429;BA.debugLine="Dim prodsIds, prodsCants, prodsPrecios, prodsIds2"; +c_promos._prodsids = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodsids",c_promos._prodsids); +c_promos._prodscants = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodscants",c_promos._prodscants); +c_promos._prodsprecios = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodsprecios",c_promos._prodsprecios); +c_promos._prodsids2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodsids2",c_promos._prodsids2); +c_promos._prodscants2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodscants2",c_promos._prodscants2); +c_promos._prodsprecios2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodsprecios2",c_promos._prodsprecios2); + //BA.debugLineNum = 430;BA.debugLine="Dim estaPromo, esteCliente As String"; +c_promos._estapromo = RemoteObject.createImmutable("");__ref.setField("_estapromo",c_promos._estapromo); +c_promos._estecliente = RemoteObject.createImmutable("");__ref.setField("_estecliente",c_promos._estecliente); + //BA.debugLineNum = 431;BA.debugLine="Private b_promoMas As Button"; +c_promos._b_promomas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_promomas",c_promos._b_promomas); + //BA.debugLineNum = 432;BA.debugLine="Private b_promoMenos As Button"; +c_promos._b_promomenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_promomenos",c_promos._b_promomenos); + //BA.debugLineNum = 433;BA.debugLine="Private et_promoCant As EditText"; +c_promos._et_promocant = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_promocant",c_promos._et_promocant); + //BA.debugLineNum = 434;BA.debugLine="Private l_promosCant As Label"; +c_promos._l_promoscant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_promoscant",c_promos._l_promoscant); + //BA.debugLineNum = 435;BA.debugLine="Private b_continuar As Button"; +c_promos._b_continuar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_continuar",c_promos._b_continuar); + //BA.debugLineNum = 436;BA.debugLine="Private p_prodsVariables, p_prodsVariables2 As Pa"; +c_promos._p_prodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prodsvariables",c_promos._p_prodsvariables); +c_promos._p_prodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prodsvariables2",c_promos._p_prodsvariables2); + //BA.debugLineNum = 437;BA.debugLine="Dim laPromo = \"\", elCliente = \"\" As String"; +c_promos._lapromo = BA.ObjectToString("");__ref.setField("_lapromo",c_promos._lapromo); +c_promos._elcliente = BA.ObjectToString("");__ref.setField("_elcliente",c_promos._elcliente); + //BA.debugLineNum = 438;BA.debugLine="Dim prodsPedidoActual As String"; +c_promos._prodspedidoactual = RemoteObject.createImmutable("");__ref.setField("_prodspedidoactual",c_promos._prodspedidoactual); + //BA.debugLineNum = 439;BA.debugLine="Dim montoPedidoActual As String"; +c_promos._montopedidoactual = RemoteObject.createImmutable("");__ref.setField("_montopedidoactual",c_promos._montopedidoactual); + //BA.debugLineNum = 440;BA.debugLine="Dim promosMap As Map"; +c_promos._promosmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_promosmap",c_promos._promosmap); + //BA.debugLineNum = 441;BA.debugLine="Dim su As StringUtils"; +c_promos._su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");__ref.setField("_su",c_promos._su); + //BA.debugLineNum = 442;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,678); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_promos","createlistitem", __ref, _text, _preciou, _inv, _width, _height, _img, _prodid);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); +Debug.locals.put("img", _img); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 678;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +Debug.ShouldStop(32); + BA.debugLineNum = 679;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(64); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 680;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(128); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 681;BA.debugLine="p.LoadLayout(\"prodItem1\")"; +Debug.ShouldStop(256); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem1")),__ref.getField(false, "ba")); + BA.debugLineNum = 682;BA.debugLine="l_prodX.TextSize = 15"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 683;BA.debugLine="l_prodX.Text = Text"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 684;BA.debugLine="l_prodX.TextSize = 15"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 687;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_su" /*RemoteObject*/ ).runMethod(true,"MeasureMultilineTextHeight",(Object)((__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).getObject())),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(20)}, "+",1, 1)); + BA.debugLineNum = 688;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight"),BA.numberCast(double.class, _height))) { +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",_height);}; + BA.debugLineNum = 689;BA.debugLine="l_prodX.Height = p_prods.Height"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 690;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(_preciou,RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid))); + BA.debugLineNum = 691;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +Debug.ShouldStop(262144); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(_preciou,RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid))); + BA.debugLineNum = 692;BA.debugLine="et_pCant.BringToFront"; +Debug.ShouldStop(524288); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 694;BA.debugLine="p.Height = p_prods.Height"; +Debug.ShouldStop(2097152); +_p.runMethod(true,"setHeight",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 695;BA.debugLine="Return p"; +Debug.ShouldStop(4194304); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 696;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlistitem2(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem2 (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,698); +if (RapidSub.canDelegate("createlistitem2")) { return __ref.runUserSub(false, "c_promos","createlistitem2", __ref, _text, _preciou, _inv, _width, _height, _img, _prodid);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); +Debug.locals.put("img", _img); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 698;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 699;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(67108864); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 700;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(134217728); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 701;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +Debug.ShouldStop(268435456); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem2")),__ref.getField(false, "ba")); + BA.debugLineNum = 702;BA.debugLine="l_prodX.TextSize = 15"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 703;BA.debugLine="l_prodX.Text = Text"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 704;BA.debugLine="l_prodX.TextSize = 15"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 707;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_su" /*RemoteObject*/ ).runMethod(true,"MeasureMultilineTextHeight",(Object)((__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).getObject())),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(20)}, "+",1, 1)); + BA.debugLineNum = 708;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight"),BA.numberCast(double.class, _height))) { +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",_height);}; + BA.debugLineNum = 709;BA.debugLine="l_prodX.Height = p_prods.Height"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 711;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(_preciou,RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid))); + BA.debugLineNum = 712;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +Debug.ShouldStop(128); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(_preciou,RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid))); + BA.debugLineNum = 713;BA.debugLine="et_pCant.BringToFront"; +Debug.ShouldStop(256); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 715;BA.debugLine="p.Height = p_prods.Height"; +Debug.ShouldStop(1024); +_p.runMethod(true,"setHeight",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 716;BA.debugLine="Return p"; +Debug.ShouldStop(2048); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 717;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuentaprods(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("cuentaProds (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,836); +if (RapidSub.canDelegate("cuentaprods")) { return __ref.runUserSub(false, "c_promos","cuentaprods", __ref);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _tcpf = RemoteObject.createImmutable(0f); +int _pf = 0; +int _i = 0; +RemoteObject _p0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cant1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _cant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); + BA.debugLineNum = 836;BA.debugLine="Sub cuentaProds"; +Debug.ShouldStop(8); + BA.debugLineNum = 839;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(64); +_thislog = c_promos.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 841;BA.debugLine="prodsIds2.Clear"; +Debug.ShouldStop(256); +__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 842;BA.debugLine="prodsCants2.Clear"; +Debug.ShouldStop(512); +__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 843;BA.debugLine="prodsPrecios2.Clear"; +Debug.ShouldStop(1024); +__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 844;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(2048); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 845;BA.debugLine="prodsVar1 = 0"; +Debug.ShouldStop(4096); +__ref.setField ("_prodsvar1" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 846;BA.debugLine="prodsVar2 = 0"; +Debug.ShouldStop(8192); +__ref.setField ("_prodsvar2" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 847;BA.debugLine="agregaFijosALista(Subs.traePromo(estaPromo, esteC"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_agregafijosalista" /*RemoteObject*/ ,(Object)(c_promos._subs.runMethod(false,"_traepromo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_estecliente" /*RemoteObject*/ )))),(Object)(c_promos.__c.getField(true,"True"))); + BA.debugLineNum = 849;BA.debugLine="Private tcpf As Float = 0 'Total de compra de pro"; +Debug.ShouldStop(65536); +_tcpf = BA.numberCast(float.class, 0);Debug.locals.put("tcpf", _tcpf);Debug.locals.put("tcpf", _tcpf); + BA.debugLineNum = 850;BA.debugLine="For pf = 0 To prodsIds.Size - 1"; +Debug.ShouldStop(131072); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_pf = 0 ; +for (;(step10 > 0 && _pf <= limit10) || (step10 < 0 && _pf >= limit10) ;_pf = ((int)(0 + _pf + step10)) ) { +Debug.locals.put("pf", _pf); + BA.debugLineNum = 851;BA.debugLine="If thisLog Then Log($\"${tcpf} + ${prodsCants.Get"; +Debug.ShouldStop(262144); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079757327",(RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tcpf))),RemoteObject.createImmutable(" + "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf))))),RemoteObject.createImmutable(" * "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf))))),RemoteObject.createImmutable(" = "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf)))),BA.numberCast(double.class, __ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf))))}, "*",0, 0))))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 852;BA.debugLine="tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants"; +Debug.ShouldStop(524288); +_tcpf = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_tcpf,(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf)))),BA.numberCast(double.class, __ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("tcpf", _tcpf); + } +}Debug.locals.put("pf", _pf); +; + BA.debugLineNum = 855;BA.debugLine="totalCompra = tcpf"; +Debug.ShouldStop(4194304); +__ref.setField ("_totalcompra" /*RemoteObject*/ ,_tcpf); + BA.debugLineNum = 856;BA.debugLine="totalProds = tpf 'Cantidad total de productos fij"; +Debug.ShouldStop(8388608); +__ref.setField ("_totalprods" /*RemoteObject*/ ,__ref.getField(true,"_tpf" /*RemoteObject*/ )); + BA.debugLineNum = 858;BA.debugLine="For i = 0 To clv_prodsVariabes.GetSize - 1"; +Debug.ShouldStop(33554432); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16) ;_i = ((int)(0 + _i + step16)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 859;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes.GetPan"; +Debug.ShouldStop(67108864); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 860;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +Debug.ShouldStop(134217728); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = _p0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 861;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; +Debug.ShouldStop(268435456); +_cant1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_cant1 = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("cant1", _cant1);Debug.locals.put("cant1", _cant1); + BA.debugLineNum = 862;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_cant1.runMethod(true,"getText"),BA.ObjectToString(""))) { +_cant1.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 863;BA.debugLine="totalProds = totalProds + cant1.Text"; +Debug.ShouldStop(1073741824); +__ref.setField ("_totalprods" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalprods" /*RemoteObject*/ ),BA.numberCast(double.class, _cant1.runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 864;BA.debugLine="prodsVar1 = prodsVar1 + cant1.Text"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_prodsvar1" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvar1" /*RemoteObject*/ ),BA.numberCast(double.class, _cant1.runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 865;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; +Debug.ShouldStop(1); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_promos.__c.runMethod(false, "ArrayToList", (Object)(c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_cant1.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 866;BA.debugLine="If cant1.Text > esteTag.Get(1) Then cant1.Text ="; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant1.runMethod(true,"getText")),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))))) { +_cant1.runMethod(true,"setText",BA.ObjectToCharSequence(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))));}; + BA.debugLineNum = 867;BA.debugLine="If cant1.Text > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant1.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 869;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; +Debug.ShouldStop(16); +__ref.setField ("_totalcompra" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcompra" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _cant1.runMethod(true,"getText"))}, "*",0, 0))}, "+",1, 0))); + BA.debugLineNum = 870;BA.debugLine="If thisLog Then Log($\"Cant: ${cant1.Text}, Suma"; +Debug.ShouldStop(32); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079757346",(RemoteObject.concat(RemoteObject.createImmutable("Cant: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant1.runMethod(true,"getText")))),RemoteObject.createImmutable(", Suma: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 871;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; +Debug.ShouldStop(64); +__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 872;BA.debugLine="prodsCants2.Add(cant1.Text)"; +Debug.ShouldStop(128); +__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_cant1.runMethod(true,"getText")))); + BA.debugLineNum = 873;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; +Debug.ShouldStop(256); +__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))))); + }; + BA.debugLineNum = 875;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 876;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 879;BA.debugLine="For i = 0 To clv_prodsVariabes2.GetSize - 1"; +Debug.ShouldStop(16384); +{ +final int step35 = 1; +final int limit35 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35) ;_i = ((int)(0 + _i + step35)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 880;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes2.GetPa"; +Debug.ShouldStop(32768); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 881;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +Debug.ShouldStop(65536); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = _p0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 882;BA.debugLine="Private cant2 As B4XView = p.GetView(2).GetView("; +Debug.ShouldStop(131072); +_cant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_cant2 = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("cant2", _cant2);Debug.locals.put("cant2", _cant2); + BA.debugLineNum = 883;BA.debugLine="totalProds = totalProds + cant2.Text"; +Debug.ShouldStop(262144); +__ref.setField ("_totalprods" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalprods" /*RemoteObject*/ ),BA.numberCast(double.class, _cant2.runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 884;BA.debugLine="prodsVar2 = prodsVar2 + cant2.Text"; +Debug.ShouldStop(524288); +__ref.setField ("_prodsvar2" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvar2" /*RemoteObject*/ ),BA.numberCast(double.class, _cant2.runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 885;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; +Debug.ShouldStop(1048576); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_promos.__c.runMethod(false, "ArrayToList", (Object)(c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_cant2.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 886;BA.debugLine="If cant2.Text > esteTag.Get(1) Then cant2.Text ="; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant2.runMethod(true,"getText")),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))))) { +_cant2.runMethod(true,"setText",BA.ObjectToCharSequence(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))));}; + BA.debugLineNum = 887;BA.debugLine="If cant2.Text > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant2.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 889;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; +Debug.ShouldStop(16777216); +__ref.setField ("_totalcompra" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcompra" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _cant2.runMethod(true,"getText"))}, "*",0, 0))}, "+",1, 0))); + BA.debugLineNum = 890;BA.debugLine="If thisLog Then Log($\"Cant: ${cant2.Text}, Suma"; +Debug.ShouldStop(33554432); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079757366",(RemoteObject.concat(RemoteObject.createImmutable("Cant: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant2.runMethod(true,"getText")))),RemoteObject.createImmutable(", Suma: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 891;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 892;BA.debugLine="prodsCants2.Add(cant2.Text)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_cant2.runMethod(true,"getText")))); + BA.debugLineNum = 893;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))))); + }; + BA.debugLineNum = 895;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 896;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 899;BA.debugLine="If thisLog Then Log($\"Total Prods: ${totalProds},"; +Debug.ShouldStop(4); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079757375",(RemoteObject.concat(RemoteObject.createImmutable("Total Prods: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 900;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 901;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 902;BA.debugLine="If totalProds < prodsVarReq + prodsVarReq2 + tpf"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_totalprods" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ ),__ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ ),__ref.getField(true,"_tpf" /*RemoteObject*/ )}, "++",2, 1))) || RemoteObject.solveBoolean(">",__ref.getField(true,"_totalprods" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ ),__ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ ),__ref.getField(true,"_tpf" /*RemoteObject*/ )}, "++",2, 1)))) { + BA.debugLineNum = 904;BA.debugLine="b_terminar1.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 905;BA.debugLine="b_continuar.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + }else { + BA.debugLineNum = 908;BA.debugLine="b_terminar1.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + BA.debugLineNum = 909;BA.debugLine="b_continuar.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + }; + BA.debugLineNum = 911;BA.debugLine="If thisLog Then LogColor($\"${prodsIds}${CRLF}${pr"; +Debug.ShouldStop(16384); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079757387",(RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsids" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_promos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodscants" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_promos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""))),c_promos.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 912;BA.debugLine="If thisLog Then LogColor($\"${prodsIds2}${CRLF}${p"; +Debug.ShouldStop(32768); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079757388",(RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_promos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_promos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""))),c_promos.__c.getField(false,"Colors").getField(true,"Magenta"));}; + BA.debugLineNum = 914;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcant_focuschanged(RemoteObject __ref,RemoteObject _hasfocus) throws Exception{ +try { + Debug.PushSubsStack("et_pCant_FocusChanged (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,916); +if (RapidSub.canDelegate("et_pcant_focuschanged")) { return __ref.runUserSub(false, "c_promos","et_pcant_focuschanged", __ref, _hasfocus);} +Debug.locals.put("HasFocus", _hasfocus); + BA.debugLineNum = 916;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; +Debug.ShouldStop(524288); + BA.debugLineNum = 917;BA.debugLine="LogColor(\"focus changed\", Colors.Magenta)"; +Debug.ShouldStop(1048576); +c_promos.__c.runVoidMethod ("LogImpl","079822849",BA.ObjectToString("focus changed"),c_promos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 918;BA.debugLine="cuentaProds"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 919;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcant_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_pCant_TextChanged (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,831); +if (RapidSub.canDelegate("et_pcant_textchanged")) { return __ref.runUserSub(false, "c_promos","et_pcant_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 831;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 833;BA.debugLine="cuentaProds"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 834;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,445); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_promos","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 445;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 446;BA.debugLine="Return Me"; +Debug.ShouldStop(536870912); +if (true) return __ref; + BA.debugLineNum = 447;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _muestrapromo(RemoteObject __ref,RemoteObject _promo,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("muestraPromo (c_promos) ","c_promos",24,__ref.getField(false, "ba"),__ref,482); +if (RapidSub.canDelegate("muestrapromo")) { return __ref.runUserSub(false, "c_promos","muestrapromo", __ref, _promo, _cliente);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _mp = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _prodspromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _invdisppromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _listapv = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _listapreciospv = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _listapv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _listapreciospv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _pv = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _pv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _pfp = RemoteObject.createImmutable(0); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _p = RemoteObject.createImmutable(""); +RemoteObject _indicepv = RemoteObject.createImmutable(""); +RemoteObject _esteprecio = RemoteObject.createImmutable(""); +RemoteObject _thisprod = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _indicepv2 = RemoteObject.createImmutable(""); +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 482;BA.debugLine="Sub muestraPromo(promo As String, cliente As Strin"; +Debug.ShouldStop(2); + BA.debugLineNum = 483;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(4); +_thislog = c_promos.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 485;BA.debugLine="estaPromo = promo"; +Debug.ShouldStop(16); +__ref.setField ("_estapromo" /*RemoteObject*/ ,_promo); + BA.debugLineNum = 486;BA.debugLine="esteCliente = cliente"; +Debug.ShouldStop(32); +__ref.setField ("_estecliente" /*RemoteObject*/ ,_cliente); + BA.debugLineNum = 487;BA.debugLine="Private mp As Map = Subs.traePromo(promo, cliente"; +Debug.ShouldStop(64); +_mp = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_mp = c_promos._subs.runMethod(false,"_traepromo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_promo),(Object)(_cliente));Debug.locals.put("mp", _mp);Debug.locals.put("mp", _mp); + BA.debugLineNum = 488;BA.debugLine="Private prodsPromo As Map = mp.Get(\"productos\") '"; +Debug.ShouldStop(128); +_prodspromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_prodspromo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))));Debug.locals.put("prodsPromo", _prodspromo);Debug.locals.put("prodsPromo", _prodspromo); + BA.debugLineNum = 489;BA.debugLine="Private invDispPromo As Map = Subs.traemosInventa"; +Debug.ShouldStop(256); +_invdisppromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_invdisppromo = c_promos._subs.runMethod(false,"_traemosinventariodisponibleparapromo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_promo));Debug.locals.put("invDispPromo", _invdisppromo);Debug.locals.put("invDispPromo", _invdisppromo); + BA.debugLineNum = 491;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; +Debug.ShouldStop(1024); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167497",RemoteObject.concat(RemoteObject.createImmutable("Max promos por inv de prods FIJOS: "),c_promos._subs.runMethod(true,"_revisamaxpromosprodsfijosporinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_mp))),0);}; + BA.debugLineNum = 492;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; +Debug.ShouldStop(2048); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167498",RemoteObject.concat(RemoteObject.createImmutable("Max promos por inv de prods VARIABLES: "),c_promos._subs.runMethod(true,"_revisamaxpromosprodsvariablesporinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_mp))),0);}; + BA.debugLineNum = 493;BA.debugLine="maxCantPromos = Subs.revisaMaxPromosProdsVariable"; +Debug.ShouldStop(4096); +__ref.setField ("_maxcantpromos" /*RemoteObject*/ ,c_promos._subs.runMethod(true,"_revisamaxpromosprodsvariablesporinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_mp))); + BA.debugLineNum = 494;BA.debugLine="et_promoCant.Text = 1"; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(1)); + BA.debugLineNum = 496;BA.debugLine="If laPromo = \"MYKONOS_01\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_lapromo" /*RemoteObject*/ ),BA.ObjectToString("MYKONOS_01"))) { + BA.debugLineNum = 497;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(65536); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 498;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 499;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(262144); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 500;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(524288); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 501;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 502;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(2097152); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 504;BA.debugLine="If c.GetString(\"suma\") >= 300 And c.GetString("; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 300)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 600))) { + BA.debugLineNum = 505;BA.debugLine="l_promosCant.text = \"Max promos: \" & 1"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_promoscant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Max promos: "),RemoteObject.createImmutable(1)))); + }else +{ BA.debugLineNum = 506;BA.debugLine="Else If c.GetString(\"suma\") >= 600 And c.GetSt"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 600)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 900))) { + BA.debugLineNum = 507;BA.debugLine="l_promosCant.text = \"Max promos: \" & 2"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_promoscant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Max promos: "),RemoteObject.createImmutable(2)))); + }else +{ BA.debugLineNum = 508;BA.debugLine="Else If c.GetString(\"suma\") >= 900 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 900))) { + BA.debugLineNum = 509;BA.debugLine="l_promosCant.text = \"Max promos: \" & 3"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_promoscant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Max promos: "),RemoteObject.createImmutable(3)))); + }}} +; + }; + }; + }else { + BA.debugLineNum = 515;BA.debugLine="l_promosCant.text = \"Max promos: \" & maxCantProm"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_promoscant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Max promos: "),__ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )))); + }; + BA.debugLineNum = 519;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(64); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 520;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(128); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 521;BA.debugLine="If thisLog Then Log(mp)"; +Debug.ShouldStop(256); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167527",BA.ObjectToString(_mp),0);}; + BA.debugLineNum = 522;BA.debugLine="If thisLog Then Log(prodsPromo)"; +Debug.ShouldStop(512); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167528",BA.ObjectToString(_prodspromo),0);}; + BA.debugLineNum = 523;BA.debugLine="Private listaPV As List = mp.Get(\"prodsVariables\""; +Debug.ShouldStop(1024); +_listapv = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_listapv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables")))));Debug.locals.put("listaPV", _listapv);Debug.locals.put("listaPV", _listapv); + BA.debugLineNum = 524;BA.debugLine="Private listaPreciosPV As List = mp.Get(\"prodsVar"; +Debug.ShouldStop(2048); +_listapreciospv = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_listapreciospv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesPrecios")))));Debug.locals.put("listaPreciosPV", _listapreciospv);Debug.locals.put("listaPreciosPV", _listapreciospv); + BA.debugLineNum = 525;BA.debugLine="Private listaPV2 As List = mp.Get(\"prodsVariables"; +Debug.ShouldStop(4096); +_listapv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_listapv2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2")))));Debug.locals.put("listaPV2", _listapv2);Debug.locals.put("listaPV2", _listapv2); + BA.debugLineNum = 526;BA.debugLine="Private listaPreciosPV2 As List = mp.Get(\"prodsVa"; +Debug.ShouldStop(8192); +_listapreciospv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_listapreciospv2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesPrecios2")))));Debug.locals.put("listaPreciosPV2", _listapreciospv2);Debug.locals.put("listaPreciosPV2", _listapreciospv2); + BA.debugLineNum = 531;BA.debugLine="l_promoDesc.Text = cs.Color(Colors.RGB(100,149,23"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_promodesc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_promos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 100)),(Object)(BA.numberCast(int.class, 149)),(Object)(BA.numberCast(int.class, 237))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Promocion: ")))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_promos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_promo))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_promos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("descripcion"))))))).runMethod(false,"PopAll").getObject())); + BA.debugLineNum = 532;BA.debugLine="prodsFijosTot = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_prodsfijostot" /*RemoteObject*/ ,BA.numberCast(float.class, 0)); + BA.debugLineNum = 535;BA.debugLine="Dim pv As List = mp.Get(\"prodsVariables\")"; +Debug.ShouldStop(4194304); +_pv = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables")))));Debug.locals.put("pv", _pv);Debug.locals.put("pv", _pv); + BA.debugLineNum = 536;BA.debugLine="Dim pv2 As List = mp.Get(\"prodsVariables2\")"; +Debug.ShouldStop(8388608); +_pv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pv2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2")))));Debug.locals.put("pv2", _pv2);Debug.locals.put("pv2", _pv2); + BA.debugLineNum = 537;BA.debugLine="If thisLog Then Log(mp)"; +Debug.ShouldStop(16777216); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167543",BA.ObjectToString(_mp),0);}; + BA.debugLineNum = 538;BA.debugLine="tpf = 0"; +Debug.ShouldStop(33554432); +__ref.setField ("_tpf" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 539;BA.debugLine="For Each pfp As Int In mp.Get(\"prodsFijosPiezas\")"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group44 = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))); +final int groupLen44 = group44.runMethod(true,"getSize").get() +;int index44 = 0; +; +for (; index44 < groupLen44;index44++){ +_pfp = BA.numberCast(int.class, group44.runMethod(false,"Get",index44));Debug.locals.put("pfp", _pfp); +Debug.locals.put("pfp", _pfp); + BA.debugLineNum = 540;BA.debugLine="tpf = tpf + pfp"; +Debug.ShouldStop(134217728); +__ref.setField ("_tpf" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf" /*RemoteObject*/ ),_pfp}, "+",1, 1)); + } +}Debug.locals.put("pfp", _pfp); +; + BA.debugLineNum = 542;BA.debugLine="tpf2 = tpf"; +Debug.ShouldStop(536870912); +__ref.setField ("_tpf2" /*RemoteObject*/ ,__ref.getField(true,"_tpf" /*RemoteObject*/ )); + BA.debugLineNum = 544;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf})\"$"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_prodsfijos" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos fijos ("),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(")"))))); + BA.debugLineNum = 545;BA.debugLine="prodsVarReq = mp.Get(\"prodsVariablesRequeridos\")"; +Debug.ShouldStop(1); +__ref.setField ("_prodsvarreq" /*RemoteObject*/ ,BA.numberCast(int.class, _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos")))))); + BA.debugLineNum = 546;BA.debugLine="prodsVarReq_ = prodsVarReq"; +Debug.ShouldStop(2); +__ref.setField ("_prodsvarreq_" /*RemoteObject*/ ,__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ )); + BA.debugLineNum = 547;BA.debugLine="prodsVarReq2 = mp.Get(\"prodsVariables2Requeridos\""; +Debug.ShouldStop(4); +__ref.setField ("_prodsvarreq2" /*RemoteObject*/ ,BA.numberCast(int.class, _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos")))))); + BA.debugLineNum = 548;BA.debugLine="prodsVarReq2_ = prodsVarReq2"; +Debug.ShouldStop(8); +__ref.setField ("_prodsvarreq2_" /*RemoteObject*/ ,__ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ )); + BA.debugLineNum = 550;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 551;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables2 requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 552;BA.debugLine="If prodsVarReq = 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 553;BA.debugLine="p_prodsVariables.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + }else { + BA.debugLineNum = 555;BA.debugLine="p_prodsVariables.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + }; + BA.debugLineNum = 558;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(8192); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 559;BA.debugLine="label1 = lv_prodsFijos.SingleLineLayout.Label"; +Debug.ShouldStop(16384); +_label1 = __ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 560;BA.debugLine="label1.TextSize = 13"; +Debug.ShouldStop(32768); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 561;BA.debugLine="label1.TextColor = Colors.black"; +Debug.ShouldStop(65536); +_label1.runMethod(true,"setTextColor",c_promos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 562;BA.debugLine="lv_prodsFijos.SingleLineLayout.ItemHeight = 30dip"; +Debug.ShouldStop(131072); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").runMethod(true,"setItemHeight",c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)))); + BA.debugLineNum = 563;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(262144); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 565;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 566;BA.debugLine="agregaFijosALista(mp, True)"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_agregafijosalista" /*RemoteObject*/ ,(Object)(_mp),(Object)(c_promos.__c.getField(true,"True"))); + BA.debugLineNum = 567;BA.debugLine="If thisLog Then Log(\"Total prods fijos = \" & prod"; +Debug.ShouldStop(4194304); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167573",RemoteObject.concat(RemoteObject.createImmutable("Total prods fijos = "),__ref.getField(true,"_prodsfijostot" /*RemoteObject*/ )),0);}; + BA.debugLineNum = 569;BA.debugLine="l_totProds.text = $\"Productos: ${tpf}\"$"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 570;BA.debugLine="l_total.Text = $\"Total: $$1.2{prodsFijosTot}\"$"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_prodsfijostot" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 576;BA.debugLine="If thisLog Then Log($\"PV1: ${pv.Size}, ${pv}\"$)"; +Debug.ShouldStop(-2147483648); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167582",(RemoteObject.concat(RemoteObject.createImmutable("PV1: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pv.runMethod(true,"getSize")))),RemoteObject.createImmutable(", "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pv.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 577;BA.debugLine="If thisLog Then Log($\"PV2: ${pv2.Size}, ${pv2}\"$)"; +Debug.ShouldStop(1); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167583",(RemoteObject.concat(RemoteObject.createImmutable("PV2: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pv2.runMethod(true,"getSize")))),RemoteObject.createImmutable(", "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pv2.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 578;BA.debugLine="If thisLog Then Log(\"invDisp=\" & invDispPromo)"; +Debug.ShouldStop(2); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167584",RemoteObject.concat(RemoteObject.createImmutable("invDisp="),_invdisppromo),0);}; + BA.debugLineNum = 579;BA.debugLine="clv_prodsVariabes.Clear"; +Debug.ShouldStop(4); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 580;BA.debugLine="clv_prodsVariabes2.Clear"; +Debug.ShouldStop(8); +__ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 581;BA.debugLine="For Each p As String In pv"; +Debug.ShouldStop(16); +{ +final RemoteObject group76 = _pv; +final int groupLen76 = group76.runMethod(true,"getSize").get() +;int index76 = 0; +; +for (; index76 < groupLen76;index76++){ +_p = BA.ObjectToString(group76.runMethod(false,"Get",index76));Debug.locals.put("p", _p); +Debug.locals.put("p", _p); + BA.debugLineNum = 582;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; +Debug.ShouldStop(32); +if (_invdisppromo.runMethod(true,"ContainsKey",(Object)((_p))).get().booleanValue()) { + BA.debugLineNum = 583;BA.debugLine="Private indicePV = listaPV.IndexOf(p)"; +Debug.ShouldStop(64); +_indicepv = BA.NumberToString(_listapv.runMethod(true,"IndexOf",(Object)((_p))));Debug.locals.put("indicePV", _indicepv);Debug.locals.put("indicePV", _indicepv); + BA.debugLineNum = 585;BA.debugLine="Private estePrecio = listaPreciosPV.Get(indiceP"; +Debug.ShouldStop(256); +_esteprecio = BA.ObjectToString(_listapreciospv.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _indicepv))));Debug.locals.put("estePrecio", _esteprecio);Debug.locals.put("estePrecio", _esteprecio); + BA.debugLineNum = 590;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; +Debug.ShouldStop(8192); +_thisprod = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_thisprod = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _prodspromo.runMethod(false,"Get",(Object)((_p))));Debug.locals.put("thisProd", _thisprod);Debug.locals.put("thisProd", _thisprod); + BA.debugLineNum = 591;BA.debugLine="If thisLog Then Log(thisProd)"; +Debug.ShouldStop(16384); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167597",BA.ObjectToString(_thisprod),0);}; + BA.debugLineNum = 592;BA.debugLine="clv_prodsVariabes.Add(CreateListItem(Subs.traeP"; +Debug.ShouldStop(32768); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_createlistitem" /*RemoteObject*/ ,(Object)(RemoteObject.concat(c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_p)),c_promos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Hay "),_invdisppromo.runMethod(false,"Get",(Object)((_p))),RemoteObject.createImmutable(" $"),_esteprecio)),(Object)(_esteprecio),(Object)(BA.numberCast(int.class, _invdisppromo.runMethod(false,"Get",(Object)((_p))))),(Object)(__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"), c_promos.__c.getField(false,"Null")),(Object)(_p)).getObject()),(Object)((_p))); + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 596;BA.debugLine="For Each p As String In pv2"; +Debug.ShouldStop(524288); +{ +final RemoteObject group85 = _pv2; +final int groupLen85 = group85.runMethod(true,"getSize").get() +;int index85 = 0; +; +for (; index85 < groupLen85;index85++){ +_p = BA.ObjectToString(group85.runMethod(false,"Get",index85));Debug.locals.put("p", _p); +Debug.locals.put("p", _p); + BA.debugLineNum = 597;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; +Debug.ShouldStop(1048576); +if (_invdisppromo.runMethod(true,"ContainsKey",(Object)((_p))).get().booleanValue()) { + BA.debugLineNum = 602;BA.debugLine="Private indicePV2 = listaPV2.IndexOf(p)"; +Debug.ShouldStop(33554432); +_indicepv2 = BA.NumberToString(_listapv2.runMethod(true,"IndexOf",(Object)((_p))));Debug.locals.put("indicePV2", _indicepv2);Debug.locals.put("indicePV2", _indicepv2); + BA.debugLineNum = 605;BA.debugLine="Private estePrecio = listaPreciosPV2.Get(indice"; +Debug.ShouldStop(268435456); +_esteprecio = BA.ObjectToString(_listapreciospv2.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _indicepv2))));Debug.locals.put("estePrecio", _esteprecio);Debug.locals.put("estePrecio", _esteprecio); + BA.debugLineNum = 610;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; +Debug.ShouldStop(2); +_thisprod = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_thisprod = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _prodspromo.runMethod(false,"Get",(Object)((_p))));Debug.locals.put("thisProd", _thisprod);Debug.locals.put("thisProd", _thisprod); + BA.debugLineNum = 611;BA.debugLine="If thisLog Then Log(thisProd)"; +Debug.ShouldStop(4); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","079167617",BA.ObjectToString(_thisprod),0);}; + BA.debugLineNum = 612;BA.debugLine="clv_prodsVariabes2.Add(CreateListItem2(Subs.tra"; +Debug.ShouldStop(8); +__ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(RemoteObject.concat(c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_p)),c_promos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Hay "),_invdisppromo.runMethod(false,"Get",(Object)((_p))),RemoteObject.createImmutable(" $"),_esteprecio)),(Object)(_esteprecio),(Object)(BA.numberCast(int.class, _invdisppromo.runMethod(false,"Get",(Object)((_p))))),(Object)(__ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"), c_promos.__c.getField(false,"Null")),(Object)(_p)).getObject()),(Object)((_p))); + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 615;BA.debugLine="If pv2.Size = 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_pv2.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 617;BA.debugLine="l_prodsVariables2.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 618;BA.debugLine="p_prodsVariables2.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 620;BA.debugLine="p_prodsVariables.Height = 410dip"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setHeight",c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 410)))); + BA.debugLineNum = 621;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; +Debug.ShouldStop(4096); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "-",1, 1)); + BA.debugLineNum = 625;BA.debugLine="clv_prodsVariabes.Base_Resize(clv_prodsVariabes."; +Debug.ShouldStop(65536); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "-",1, 1)))); + }else { + BA.debugLineNum = 627;BA.debugLine="l_prodsVariables2.Visible = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + BA.debugLineNum = 628;BA.debugLine="p_prodsVariables2.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + BA.debugLineNum = 629;BA.debugLine="p_prodsVariables.Height = 210dip"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setHeight",c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 210)))); + BA.debugLineNum = 630;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "-",1, 1)); + }; + BA.debugLineNum = 632;BA.debugLine="b_terminar1.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 633;BA.debugLine="b_continuar.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 634;BA.debugLine="cuentaProds"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 635;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_ticketsdia.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_ticketsdia.java new file mode 100644 index 0000000..2f41946 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_ticketsdia.java @@ -0,0 +1,41 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_ticketsdia { + public static RemoteObject myClass; + public c_ticketsdia() { + } + public static PCBA staticBA = new PCBA(null, c_ticketsdia.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _p_ticketsdia = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _b_noventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _nombre_boton = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _l_ventanoventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_noventa",_ref.getField(false, "_b_noventa"),"c",_ref.getField(false, "_c"),"DateUtils",_ref.getField(false, "_dateutils"),"L_ventanoventa",_ref.getField(false, "_l_ventanoventa"),"ListView1",_ref.getField(false, "_listview1"),"nombre_boton",_ref.getField(false, "_nombre_boton"),"p_ticketsdia",_ref.getField(false, "_p_ticketsdia"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"S",_ref.getField(false, "_s"),"STIME",_ref.getField(false, "_stime"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_ticketsdia_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_ticketsdia_subs_0.java new file mode 100644 index 0000000..5f1d16d --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_ticketsdia_subs_0.java @@ -0,0 +1,746 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_ticketsdia_subs_0 { + + +public static RemoteObject _activity_keypress(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (c_ticketsdia) ","c_ticketsdia",8,__ref.getField(false, "ba"),__ref,135); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "c_ticketsdia","activity_keypress", __ref, _key);} +Debug.locals.put("key", _key); + BA.debugLineNum = 135;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +Debug.ShouldStop(64); + BA.debugLineNum = 137;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_key,BA.numberCast(double.class, c_ticketsdia.__c.getField(false,"KeyCodes").getField(true,"KEYCODE_BACK")))) { + BA.debugLineNum = 139;BA.debugLine="B4XPages.ShowPage(\"principal\")"; +Debug.ShouldStop(1024); +c_ticketsdia._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("principal"))); + }; + BA.debugLineNum = 143;BA.debugLine="Return False"; +Debug.ShouldStop(16384); +if (true) return c_ticketsdia.__c.getField(true,"False"); + BA.debugLineNum = 144;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_noventa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_noventa_Click (c_ticketsdia) ","c_ticketsdia",8,__ref.getField(false, "ba"),__ref,162); +if (RapidSub.canDelegate("b_noventa_click")) { return __ref.runUserSub(false, "c_ticketsdia","b_noventa_click", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _s5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 162;BA.debugLine="Sub b_noventa_Click"; +Debug.ShouldStop(2); + BA.debugLineNum = 163;BA.debugLine="If nombre_boton = \"NOVENTA\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_nombre_boton" /*RemoteObject*/ ),BA.ObjectToString("NOVENTA"))) { + BA.debugLineNum = 164;BA.debugLine="nombre_boton = \"VENTA\""; +Debug.ShouldStop(8); +__ref.setField ("_nombre_boton" /*RemoteObject*/ ,BA.ObjectToString("VENTA")); + BA.debugLineNum = 165;BA.debugLine="b_noventa.Text =\"VENTA\""; +Debug.ShouldStop(16); +__ref.getField(false,"_b_noventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("VENTA")); + BA.debugLineNum = 166;BA.debugLine="L_ventanoventa.Text = \"Clientes sin venta\""; +Debug.ShouldStop(32); +__ref.getField(false,"_l_ventanoventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Clientes sin venta")); + BA.debugLineNum = 167;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select NV_CL"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select NV_CLIENTE,NV_MOTIVO,NV_COMM, (select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = NV_CLIENTE ) as NOMBRE FROM NOVENTA ORDER BY NV_CLIENTE asc")))); + BA.debugLineNum = 168;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(128); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 169;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 170;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(512); +{ +final int step8 = 1; +final int limit8 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8) ;_i = ((int)(0 + _i + step8)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 171;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 172;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(2048); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 173;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(4096); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 174;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(8192); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 175;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(16384); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 176;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(32768); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 177;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(65536); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 178;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(131072); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 179;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(262144); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 180;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),RemoteObject.createImmutable(" Motivo #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_MOTIVO"))),RemoteObject.createImmutable(" Comentario $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_COMM"))))))); + } +}Debug.locals.put("i", _i); +; + }; + }else { + BA.debugLineNum = 184;BA.debugLine="nombre_boton = \"NOVENTA\""; +Debug.ShouldStop(8388608); +__ref.setField ("_nombre_boton" /*RemoteObject*/ ,BA.ObjectToString("NOVENTA")); + BA.debugLineNum = 185;BA.debugLine="b_noventa.Text =\"NO VENTA\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b_noventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("NO VENTA")); + BA.debugLineNum = 186;BA.debugLine="L_ventanoventa.Text = \"Clientes con venta\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_ventanoventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Clientes con venta")); + BA.debugLineNum = 187;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 188;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CL"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc")))); + BA.debugLineNum = 191;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 192;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 193;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(1); +{ +final int step29 = 1; +final int limit29 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step29 > 0 && _i <= limit29) || (step29 < 0 && _i >= limit29) ;_i = ((int)(0 + _i + step29)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 194;BA.debugLine="c.Position=i"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 195;BA.debugLine="Log(C.GetString(\"PC_CLIENTE\"))"; +Debug.ShouldStop(4); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068747297",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),0); + BA.debugLineNum = 196;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(8); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select * FROM PEDIDO WHERE PE_CLIENTE = ? and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 197;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; +Debug.ShouldStop(16); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068747299",BA.NumberToString(_s3.runMethod(true,"getRowCount")),c_ticketsdia.__c.getField(false,"Colors").getField(true,"Yellow")); + BA.debugLineNum = 198;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 199;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(64); +c_ticketsdia._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_ticketsdia._s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL ) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));__ref.setField("_s",c_ticketsdia._s); + BA.debugLineNum = 200;BA.debugLine="s.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 201;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(256); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 202;BA.debugLine="s5.Position = 0"; +Debug.ShouldStop(512); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 203;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(1024); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 204;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(2048); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 205;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(4096); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 206;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(8192); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 207;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(16384); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 208;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(32768); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 209;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(65536); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 210;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(131072); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 211;BA.debugLine="label1.Height = 25dip"; +Debug.ShouldStop(262144); +_label1.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 212;BA.debugLine="label2.Height = 60dip"; +Debug.ShouldStop(524288); +_label2.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 214;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 215;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface"; +Debug.ShouldStop(4194304); +_label1.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 216;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface"; +Debug.ShouldStop(8388608); +_label2.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 218;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),RemoteObject.createImmutable(" Cantidad #"),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),BA.numberCast(double.class, _s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE"))))}, "+",1, 0)),RemoteObject.createImmutable(" SubTotal $"),c_ticketsdia._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))))))); + BA.debugLineNum = 219;BA.debugLine="s.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 220;BA.debugLine="Else If s3.RowCount = 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 221;BA.debugLine="Log(s3.RowCount)"; +Debug.ShouldStop(268435456); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068747323",BA.NumberToString(_s3.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 222;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(536870912); +c_ticketsdia._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_ticketsdia._s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))}))));__ref.setField("_s",c_ticketsdia._s); + BA.debugLineNum = 223;BA.debugLine="s.Position=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 225;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(1); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 226;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(2); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 227;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(4); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 228;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(8); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 229;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(16); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 230;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(32); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 231;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(64); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 232;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(128); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 233;BA.debugLine="label1.Height = 25dip"; +Debug.ShouldStop(256); +_label1.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 234;BA.debugLine="label2.Height = 60dip"; +Debug.ShouldStop(512); +_label2.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 236;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(2048); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 237;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface"; +Debug.ShouldStop(4096); +_label1.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 238;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface"; +Debug.ShouldStop(8192); +_label2.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 239;BA.debugLine="Log(c.GetString(\"PC_CLIENTE\"))"; +Debug.ShouldStop(16384); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068747341",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),0); + BA.debugLineNum = 240;BA.debugLine="Log(c.GetString(\"NOMBRE\"))"; +Debug.ShouldStop(32768); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068747342",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),0); + BA.debugLineNum = 241;BA.debugLine="Log(s.GetString(\"CANT_CLIE\"))"; +Debug.ShouldStop(65536); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068747343",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE"))),0); + BA.debugLineNum = 242;BA.debugLine="Log(c.GetString(\"PC_CLIENTE\"))"; +Debug.ShouldStop(131072); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068747344",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),0); + BA.debugLineNum = 243;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE"; +Debug.ShouldStop(262144); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),RemoteObject.createImmutable(" Cantidad #"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE"))),RemoteObject.createImmutable(" SubTotal $"),c_ticketsdia._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))))))); + BA.debugLineNum = 244;BA.debugLine="s.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 249;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 251;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_ticketsdia) ","c_ticketsdia",8,__ref.getField(false, "ba"),__ref,58); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_ticketsdia","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _s5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 58;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 59;BA.debugLine="nombre_boton = \"NOVENTA\""; +Debug.ShouldStop(67108864); +__ref.setField ("_nombre_boton" /*RemoteObject*/ ,BA.ObjectToString("NOVENTA")); + BA.debugLineNum = 60;BA.debugLine="L_ventanoventa.Text = \"Clientes con venta\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_ventanoventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Clientes con venta")); + BA.debugLineNum = 61;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 62;BA.debugLine="ListView1.Height = Root.Height * 0.70"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.70)}, "*",0, 0))); + BA.debugLineNum = 63;BA.debugLine="p_ticketsdia.Height = Root.Height * 0.80"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_ticketsdia" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.80)}, "*",0, 0))); + BA.debugLineNum = 64;BA.debugLine="p_ticketsdia.Width = Root.Width * 0.90"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_ticketsdia" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.90)}, "*",0, 0))); + BA.debugLineNum = 66;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc")))); + BA.debugLineNum = 69;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(16); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 70;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 71;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(64); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step10 > 0 && _i <= limit10) || (step10 < 0 && _i >= limit10) ;_i = ((int)(0 + _i + step10)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 72;BA.debugLine="c.Position=i"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 75;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(1024); +_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select * FROM PEDIDO WHERE PE_CLIENTE = ? and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3); + BA.debugLineNum = 76;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; +Debug.ShouldStop(2048); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068485138",BA.NumberToString(_s3.runMethod(true,"getRowCount")),c_ticketsdia.__c.getField(false,"Colors").getField(true,"Yellow")); + BA.debugLineNum = 77;BA.debugLine="If s3.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 79;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(16384); +c_ticketsdia._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_ticketsdia._s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL ) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));__ref.setField("_s",c_ticketsdia._s); + BA.debugLineNum = 80;BA.debugLine="s.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 81;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt."; +Debug.ShouldStop(65536); +_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))),BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5); + BA.debugLineNum = 82;BA.debugLine="s5.Position = 0"; +Debug.ShouldStop(131072); +_s5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 87;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(4194304); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 88;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(8388608); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 89;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(16777216); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 90;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(33554432); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 91;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(67108864); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 92;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(134217728); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 93;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(268435456); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 94;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(536870912); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 95;BA.debugLine="label1.Height = 25dip"; +Debug.ShouldStop(1073741824); +_label1.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 96;BA.debugLine="label2.Height = 60dip"; +Debug.ShouldStop(-2147483648); +_label2.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 98;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(2); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 99;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface."; +Debug.ShouldStop(4); +_label1.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 100;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface."; +Debug.ShouldStop(8); +_label2.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 101;BA.debugLine="Log(1)"; +Debug.ShouldStop(16); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068485163",BA.NumberToString(1),0); + BA.debugLineNum = 103;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; +Debug.ShouldStop(64); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),RemoteObject.createImmutable(" Cantidad #"),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),BA.numberCast(double.class, _s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE"))))}, "+",1, 0)),RemoteObject.createImmutable(" SubTotal $"),c_ticketsdia._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))))))); + BA.debugLineNum = 104;BA.debugLine="s.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 105;BA.debugLine="Else If s3.RowCount = 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 106;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(512); +c_ticketsdia._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_ticketsdia._s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))}))));__ref.setField("_s",c_ticketsdia._s); + BA.debugLineNum = 107;BA.debugLine="s.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 109;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(4096); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 110;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(8192); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 111;BA.debugLine="label1.TextSize = 20"; +Debug.ShouldStop(16384); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 112;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(32768); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 113;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(65536); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 114;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(131072); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 115;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(262144); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 116;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(524288); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 117;BA.debugLine="label1.Height = 25dip"; +Debug.ShouldStop(1048576); +_label1.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 118;BA.debugLine="label2.Height = 60dip"; +Debug.ShouldStop(2097152); +_label2.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 120;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 121;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface."; +Debug.ShouldStop(16777216); +_label1.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 122;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface."; +Debug.ShouldStop(33554432); +_label2.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 123;BA.debugLine="Log(2)"; +Debug.ShouldStop(67108864); +c_ticketsdia.__c.runVoidMethod ("LogImpl","068485185",BA.NumberToString(2),0); + BA.debugLineNum = 124;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),RemoteObject.createImmutable(" Cantidad #"),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE"))),RemoteObject.createImmutable(" SubTotal $"),c_ticketsdia._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))))))); + BA.debugLineNum = 125;BA.debugLine="s.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 129;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 130;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_ticketsdia) ","c_ticketsdia",8,__ref.getField(false, "ba"),__ref,23); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_ticketsdia","b4xpage_created", __ref, _root1);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 23;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 24;BA.debugLine="Root = Root1"; +Debug.ShouldStop(8388608); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 26;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(33554432); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_ticketsdia.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 27;BA.debugLine="Root.LoadLayout(\"ticketsdia\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("ticketsdia")),__ref.getField(false, "ba")); + BA.debugLineNum = 29;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",c_ticketsdia.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_ticketsdia.__c.getField(true,"False"))) { + BA.debugLineNum = 30;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(536870912); +c_ticketsdia.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_ticketsdia.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 32;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PC_CLIENTE,PC_MONTO,PC_NOART FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc")))); + BA.debugLineNum = 33;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 34;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 35;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(4); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step10 > 0 && _i <= limit10) || (step10 < 0 && _i >= limit10) ;_i = ((int)(0 + _i + step10)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 36;BA.debugLine="c.Position=i"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 37;BA.debugLine="Dim Label1 As Label"; +Debug.ShouldStop(16); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("Label1", _label1); + BA.debugLineNum = 38;BA.debugLine="Label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(32); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("Label1", _label1); + BA.debugLineNum = 39;BA.debugLine="Label1.TextSize = 20"; +Debug.ShouldStop(64); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 40;BA.debugLine="Label1.TextColor = Colors.White"; +Debug.ShouldStop(128); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 41;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(256); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 42;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(512); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 43;BA.debugLine="label2.TextSize = 20"; +Debug.ShouldStop(1024); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 20)); + BA.debugLineNum = 44;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(2048); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 45;BA.debugLine="Label1.Height = 25dip"; +Debug.ShouldStop(4096); +_label1.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 25)))); + BA.debugLineNum = 46;BA.debugLine="label2.Height = 60dip"; +Debug.ShouldStop(8192); +_label2.runMethod(true,"setHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 48;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +Debug.ShouldStop(32768); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_ticketsdia.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 95)))); + BA.debugLineNum = 49;BA.debugLine="Label1.Typeface = Typeface.CreateNew(Typeface.D"; +Debug.ShouldStop(65536); +_label1.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 50;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; +Debug.ShouldStop(131072); +_label2.runMethod(false,"setTypeface",c_ticketsdia.__c.getField(false,"Typeface").runMethod(false,"CreateNew",(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")),(Object)(c_ticketsdia.__c.getField(false,"Typeface").getField(true,"STYLE_BOLD")))); + BA.debugLineNum = 51;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))),RemoteObject.createImmutable(" SubTotal $"),c_ticketsdia._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 54;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_ticketsdia._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_ticketsdia._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_ticketsdia._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_ticketsdia._xui); + //BA.debugLineNum = 4;BA.debugLine="Private p_ticketsdia As Panel"; +c_ticketsdia._p_ticketsdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ticketsdia",c_ticketsdia._p_ticketsdia); + //BA.debugLineNum = 6;BA.debugLine="Dim c As Cursor"; +c_ticketsdia._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_ticketsdia._c); + //BA.debugLineNum = 7;BA.debugLine="Dim S As Cursor"; +c_ticketsdia._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_ticketsdia._s); + //BA.debugLineNum = 8;BA.debugLine="Dim ruta As String"; +c_ticketsdia._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_ticketsdia._ruta); + //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; +c_ticketsdia._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_ticketsdia._listview1); + //BA.debugLineNum = 10;BA.debugLine="Dim b_noventa As Button"; +c_ticketsdia._b_noventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_noventa",c_ticketsdia._b_noventa); + //BA.debugLineNum = 11;BA.debugLine="Dim nombre_boton As String"; +c_ticketsdia._nombre_boton = RemoteObject.createImmutable("");__ref.setField("_nombre_boton",c_ticketsdia._nombre_boton); + //BA.debugLineNum = 12;BA.debugLine="Dim STIME As String"; +c_ticketsdia._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_ticketsdia._stime); + //BA.debugLineNum = 14;BA.debugLine="Private L_ventanoventa As Label"; +c_ticketsdia._l_ventanoventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ventanoventa",c_ticketsdia._l_ventanoventa); + //BA.debugLineNum = 15;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_ticketsdia) ","c_ticketsdia",8,__ref.getField(false, "ba"),__ref,18); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_ticketsdia","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 18;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(131072); + BA.debugLineNum = 19;BA.debugLine="Return Me"; +Debug.ShouldStop(262144); +if (true) return __ref; + BA.debugLineNum = 20;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemLongClick (c_ticketsdia) ","c_ticketsdia",8,__ref.getField(false, "ba"),__ref,145); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_ticketsdia","listview1_itemlongclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 145;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(65536); + BA.debugLineNum = 146;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(131072); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 147;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(262144); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_ticketsdia.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 148;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(524288); +c_ticketsdia.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 149;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1048576); +__ref.setField ("_stime" /*RemoteObject*/ ,c_ticketsdia.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_ticketsdia.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 150;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT("; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")))); + BA.debugLineNum = 151;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 152;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(1))) { + BA.debugLineNum = 153;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(16777216); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_ticketsdia.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }else { + BA.debugLineNum = 155;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(67108864); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_ticketsdia.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 156;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(134217728); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_ticketsdia.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }; + BA.debugLineNum = 158;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(536870912); +c_ticketsdia.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 159;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +Debug.ShouldStop(1073741824); +c_ticketsdia._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cliente"))); + BA.debugLineNum = 160;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_ticketsdia_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_ticketsdia_Click (c_ticketsdia) ","c_ticketsdia",8,__ref.getField(false, "ba"),__ref,253); +if (RapidSub.canDelegate("p_ticketsdia_click")) { return __ref.runUserSub(false, "c_ticketsdia","p_ticketsdia_click", __ref);} + BA.debugLineNum = 253;BA.debugLine="Private Sub p_ticketsdia_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Regresar_Click (c_ticketsdia) ","c_ticketsdia",8,__ref.getField(false, "ba"),__ref,132); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_ticketsdia","regresar_click", __ref);} + BA.debugLineNum = 132;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 133;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +Debug.ShouldStop(16); +c_ticketsdia._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cliente"))); + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_updateavailable.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_updateavailable.java new file mode 100644 index 0000000..00afd20 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_updateavailable.java @@ -0,0 +1,32 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_updateavailable { + public static RemoteObject myClass; + public c_updateavailable() { + } + public static PCBA staticBA = new PCBA(null, c_updateavailable.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"Root",_ref.getField(false, "_root"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_updateavailable_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_updateavailable_subs_0.java new file mode 100644 index 0000000..675f96c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/c_updateavailable_subs_0.java @@ -0,0 +1,316 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_updateavailable_subs_0 { + + +public static void _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_updateavailable) ","c_updateavailable",25,__ref.getField(false, "ba"),__ref,18); +if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "c_updateavailable","b4xpage_appear", __ref); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { +public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_updateavailable parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.c_updateavailable parent; +RemoteObject _result = RemoteObject.createImmutable(0); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_updateavailable) ","c_updateavailable",25,__ref.getField(false, "ba"),__ref,18); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 19;BA.debugLine="Try"; +Debug.ShouldStop(262144); +if (true) break; + +case 1: +//try +this.state = 10; +this.catchState = 9; +this.state = 3; +if (true) break; + +case 3: +//C +this.state = 4; +this.catchState = 9; + BA.debugLineNum = 20;BA.debugLine="Do While Not(CanRequestPackageInstalls)"; +Debug.ShouldStop(524288); +if (true) break; + +case 4: +//do while +this.state = 7; +while (parent.__c.runMethod(true,"Not",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.c_updateavailable.class, "_canrequestpackageinstalls" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 4; + BA.debugLineNum = 21;BA.debugLine="MsgboxAsync($\"Por favor permita que ${Applicati"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Por favor permita que "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(false,"Application").runMethod(true,"getPackageName")))),RemoteObject.createImmutable(" instale actualizaciones"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Instalar actualización"))),__ref.getField(false, "ba")); + BA.debugLineNum = 22;BA.debugLine="Wait For Msgbox_Result(Result As Int)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_updateavailable", "b4xpage_appear"), null); +this.state = 16; +return; +case 16: +//C +this.state = 4; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 23;BA.debugLine="Dim in As Intent"; +Debug.ShouldStop(4194304); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 24;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; +Debug.ShouldStop(8388608); +_in.runVoidMethod ("Initialize",(Object)(BA.ObjectToString("android.settings.MANAGE_UNKNOWN_APP_SOURCES")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("package:"),parent.__c.getField(false,"Application").runMethod(true,"getPackageName")))); + BA.debugLineNum = 25;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject()))); + if (true) break; + +case 7: +//C +this.state = 10; +; + Debug.CheckDeviceExceptions(); +if (true) break; + +case 9: +//C +this.state = 10; +this.catchState = 0; + BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","080347146",RemoteObject.concat(RemoteObject.createImmutable("updateAvailable() Error - "),parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba")).runMethod(true,"getMessage")),0); + if (true) break; +if (true) break; +; + BA.debugLineNum = 30;BA.debugLine="If appUpdater.newApp.update Then"; +Debug.ShouldStop(536870912); + +case 10: +//if +this.state = 15; +this.catchState = 0; +if (parent._appupdater._newapp /*RemoteObject*/ .getField(true,"update" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 12; +}else { +this.state = 14; +}if (true) break; + +case 12: +//C +this.state = 15; + BA.debugLineNum = 31;BA.debugLine="ofreceActualizacion"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (gunav2.keymon.com.mx.c_updateavailable.class, "_ofreceactualizacion" /*RemoteObject*/ ); + if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 33;BA.debugLine="sinActualizacion"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.c_updateavailable.class, "_sinactualizacion" /*RemoteObject*/ ); + if (true) break; + +case 15: +//C +this.state = -1; +; + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _msgbox_result(RemoteObject __ref,RemoteObject _result) throws Exception{ +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_updateavailable) ","c_updateavailable",25,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_updateavailable","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 13;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4096); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 15;BA.debugLine="Root.Color = Colors.Transparent"; +Debug.ShouldStop(16384); +__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"setColor",c_updateavailable.__c.getField(false,"Colors").getField(true,"Transparent")); + BA.debugLineNum = 16;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _canrequestpackageinstalls(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CanRequestPackageInstalls (c_updateavailable) ","c_updateavailable",25,__ref.getField(false, "ba"),__ref,42); +if (RapidSub.canDelegate("canrequestpackageinstalls")) { return __ref.runUserSub(false, "c_updateavailable","canrequestpackageinstalls", __ref);} +RemoteObject _ctxt = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _packagemanager = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 42;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; +Debug.ShouldStop(512); + BA.debugLineNum = 44;BA.debugLine="Dim ctxt As JavaObject"; +Debug.ShouldStop(2048); +_ctxt = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("ctxt", _ctxt); + BA.debugLineNum = 45;BA.debugLine="ctxt.InitializeContext"; +Debug.ShouldStop(4096); +_ctxt.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 46;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; +Debug.ShouldStop(8192); +_packagemanager = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_packagemanager = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _ctxt.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getPackageManager")),(Object)((c_updateavailable.__c.getField(false,"Null")))));Debug.locals.put("PackageManager", _packagemanager);Debug.locals.put("PackageManager", _packagemanager); + BA.debugLineNum = 47;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +Debug.ShouldStop(16384); +if (true) return BA.ObjectToBoolean(_packagemanager.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("canRequestPackageInstalls")),(Object)((c_updateavailable.__c.getField(false,"Null"))))); + BA.debugLineNum = 48;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_updateavailable._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_updateavailable._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_updateavailable._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_updateavailable._xui); + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_updateavailable) ","c_updateavailable",25,__ref.getField(false, "ba"),__ref,7); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_updateavailable","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(64); + BA.debugLineNum = 8;BA.debugLine="Return Me"; +Debug.ShouldStop(128); +if (true) return __ref; + BA.debugLineNum = 9;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ofreceactualizacion(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ofreceActualizacion (c_updateavailable) ","c_updateavailable",25,__ref.getField(false, "ba"),__ref,50); +if (RapidSub.canDelegate("ofreceactualizacion")) { return __ref.runUserSub(false, "c_updateavailable","ofreceactualizacion", __ref);} + BA.debugLineNum = 50;BA.debugLine="Sub ofreceActualizacion"; +Debug.ShouldStop(131072); + BA.debugLineNum = 51;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",c_updateavailable.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence(c_updateavailable._appupdater._newapp /*RemoteObject*/ .getField(true,"newMsg" /*RemoteObject*/ ))),(Object)(BA.ObjectToCharSequence("Actualización disponible")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_updateavailable.__c.getField(false,"Null"))),__ref.getField(false, "ba")),BA.numberCast(double.class, c_updateavailable.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 53;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +Debug.ShouldStop(1048576); +c_updateavailable.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_updateavailable._appupdater.getObject())),(Object)(RemoteObject.createImmutable("download_newApk"))); + }; + BA.debugLineNum = 55;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(4194304); +c_updateavailable._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 57;BA.debugLine="StartActivity(Main)"; +Debug.ShouldStop(16777216); +c_updateavailable.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_updateavailable._main.getObject()))); + BA.debugLineNum = 61;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sinactualizacion(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("sinActualizacion (c_updateavailable) ","c_updateavailable",25,__ref.getField(false, "ba"),__ref,63); +if (RapidSub.canDelegate("sinactualizacion")) { return __ref.runUserSub(false, "c_updateavailable","sinactualizacion", __ref);} + BA.debugLineNum = 63;BA.debugLine="Sub sinActualizacion"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 69;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al c"; +Debug.ShouldStop(16); +c_updateavailable.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence(c_updateavailable._appupdater._newapp /*RemoteObject*/ .getField(true,"okMsg" /*RemoteObject*/ ))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aplicación al corriente"))),__ref.getField(false, "ba")); + BA.debugLineNum = 74;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(512); +c_updateavailable._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).runClassMethod (gunav2.keymon.com.mx.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 78;BA.debugLine="B4XPages.ShowPage(\"login\")"; +Debug.ShouldStop(8192); +c_updateavailable._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("login"))); + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/cameraexclass.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cameraexclass.java new file mode 100644 index 0000000..09b13c0 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cameraexclass.java @@ -0,0 +1,37 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class cameraexclass { + public static RemoteObject myClass; + public cameraexclass() { + } + public static PCBA staticBA = new PCBA(null, cameraexclass.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _nativecam = RemoteObject.declareNull("Object"); +public static RemoteObject _cam = RemoteObject.declareNull("anywheresoftware.b4a.objects.CameraW"); +public static RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); +public static RemoteObject _target = RemoteObject.declareNull("Object"); +public static RemoteObject _event = RemoteObject.createImmutable(""); +public static RemoteObject _front = RemoteObject.createImmutable(false); +public static RemoteObject _parameters = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"cam",_ref.getField(false, "_cam"),"DateUtils",_ref.getField(false, "_dateutils"),"event",_ref.getField(false, "_event"),"Front",_ref.getField(false, "_front"),"nativeCam",_ref.getField(false, "_nativecam"),"parameters",_ref.getField(false, "_parameters"),"r",_ref.getField(false, "_r"),"target",_ref.getField(false, "_target")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/cameraexclass_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cameraexclass_subs_0.java new file mode 100644 index 0000000..f00c44e --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cameraexclass_subs_0.java @@ -0,0 +1,1083 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class cameraexclass_subs_0 { + + +public static RemoteObject _camera_focusdone(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Camera_FocusDone (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,275); +if (RapidSub.canDelegate("camera_focusdone")) { return __ref.runUserSub(false, "cameraexclass","camera_focusdone", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 275;BA.debugLine="Private Sub Camera_FocusDone (Success As Boolean)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 276;BA.debugLine="If Success Then"; +Debug.ShouldStop(524288); +if (_success.get().booleanValue()) { + BA.debugLineNum = 277;BA.debugLine="TakePicture"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_takepicture" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")"; +Debug.ShouldStop(4194304); +cameraexclass.__c.runVoidMethod ("LogImpl","082771972",RemoteObject.createImmutable("AutoFocus error."),0); + }; + BA.debugLineNum = 281;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _camera_picturetaken(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Camera_PictureTaken (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,104); +if (RapidSub.canDelegate("camera_picturetaken")) { return __ref.runUserSub(false, "cameraexclass","camera_picturetaken", __ref, _data);} +Debug.locals.put("Data", _data); + BA.debugLineNum = 104;BA.debugLine="Private Sub Camera_PictureTaken (Data() As Byte)"; +Debug.ShouldStop(128); + BA.debugLineNum = 105;BA.debugLine="CallSub2(target, event & \"_PictureTaken\", Data)"; +Debug.ShouldStop(256); +cameraexclass.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_target" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_event" /*RemoteObject*/ ),RemoteObject.createImmutable("_PictureTaken"))),(Object)((_data))); + BA.debugLineNum = 106;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _camera_preview(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Camera_Preview (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,95); +if (RapidSub.canDelegate("camera_preview")) { return __ref.runUserSub(false, "cameraexclass","camera_preview", __ref, _data);} +Debug.locals.put("Data", _data); + BA.debugLineNum = 95;BA.debugLine="Sub Camera_Preview (Data() As Byte)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 96;BA.debugLine="If SubExists(target, event & \"_preview\") Then"; +Debug.ShouldStop(-2147483648); +if (cameraexclass.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_target" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_event" /*RemoteObject*/ ),RemoteObject.createImmutable("_preview")))).get().booleanValue()) { + BA.debugLineNum = 97;BA.debugLine="CallSub2(target, event & \"_preview\", Data)"; +Debug.ShouldStop(1); +cameraexclass.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_target" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_event" /*RemoteObject*/ ),RemoteObject.createImmutable("_preview"))),(Object)((_data))); + }; + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _camera_ready(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Camera_Ready (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,82); +if (RapidSub.canDelegate("camera_ready")) { return __ref.runUserSub(false, "cameraexclass","camera_ready", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 82;BA.debugLine="Private Sub Camera_Ready (Success As Boolean)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 83;BA.debugLine="If Success Then"; +Debug.ShouldStop(262144); +if (_success.get().booleanValue()) { + BA.debugLineNum = 84;BA.debugLine="r.target = cam"; +Debug.ShouldStop(524288); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",(__ref.getField(false,"_cam" /*RemoteObject*/ ))); + BA.debugLineNum = 85;BA.debugLine="nativeCam = r.GetField(\"camera\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_nativecam" /*RemoteObject*/ ,__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("camera")))); + BA.debugLineNum = 86;BA.debugLine="r.target = nativeCam"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_nativecam" /*RemoteObject*/ )); + BA.debugLineNum = 87;BA.debugLine="parameters = r.RunMethod(\"getParameters\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_parameters" /*RemoteObject*/ ,__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getParameters")))); + BA.debugLineNum = 88;BA.debugLine="SetDisplayOrientation"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_setdisplayorientation" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 90;BA.debugLine="Log(\"success = false, \" & LastException)"; +Debug.ShouldStop(33554432); +cameraexclass.__c.runVoidMethod ("LogImpl","080871432",RemoteObject.concat(RemoteObject.createImmutable("success = false, "),cameraexclass.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + BA.debugLineNum = 92;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; +Debug.ShouldStop(134217728); +cameraexclass.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_target" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_event" /*RemoteObject*/ ),RemoteObject.createImmutable("_ready"))),(Object)((_success))); + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Private nativeCam As Object"; +cameraexclass._nativecam = RemoteObject.createNew ("Object");__ref.setField("_nativecam",cameraexclass._nativecam); + //BA.debugLineNum = 9;BA.debugLine="Private cam As Camera"; +cameraexclass._cam = RemoteObject.createNew ("anywheresoftware.b4a.objects.CameraW");__ref.setField("_cam",cameraexclass._cam); + //BA.debugLineNum = 10;BA.debugLine="Private r As Reflector"; +cameraexclass._r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");__ref.setField("_r",cameraexclass._r); + //BA.debugLineNum = 11;BA.debugLine="Private target As Object"; +cameraexclass._target = RemoteObject.createNew ("Object");__ref.setField("_target",cameraexclass._target); + //BA.debugLineNum = 12;BA.debugLine="Private event As String"; +cameraexclass._event = RemoteObject.createImmutable("");__ref.setField("_event",cameraexclass._event); + //BA.debugLineNum = 13;BA.debugLine="Public Front As Boolean"; +cameraexclass._front = RemoteObject.createImmutable(false);__ref.setField("_front",cameraexclass._front); + //BA.debugLineNum = 14;BA.debugLine="Type CameraInfoAndId (CameraInfo As Object, Id As"; +; + //BA.debugLineNum = 15;BA.debugLine="Type CameraSize (Width As Int, Height As Int)"; +; + //BA.debugLineNum = 16;BA.debugLine="Private parameters As Object"; +cameraexclass._parameters = RemoteObject.createNew ("Object");__ref.setField("_parameters",cameraexclass._parameters); + //BA.debugLineNum = 17;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _closenow(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CloseNow (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,266); +if (RapidSub.canDelegate("closenow")) { return __ref.runUserSub(false, "cameraexclass","closenow", __ref);} + BA.debugLineNum = 266;BA.debugLine="Public Sub CloseNow"; +Debug.ShouldStop(512); + BA.debugLineNum = 267;BA.debugLine="cam.Release"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cam" /*RemoteObject*/ ).runVoidMethod ("Release"); + BA.debugLineNum = 268;BA.debugLine="r.target = cam"; +Debug.ShouldStop(2048); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",(__ref.getField(false,"_cam" /*RemoteObject*/ ))); + BA.debugLineNum = 269;BA.debugLine="r.RunMethod2(\"releaseCameras\", True, \"java.lang.b"; +Debug.ShouldStop(4096); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod2",(Object)(BA.ObjectToString("releaseCameras")),(Object)(BA.ObjectToString(cameraexclass.__c.getField(true,"True"))),(Object)(RemoteObject.createImmutable("java.lang.boolean"))); + BA.debugLineNum = 270;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _commitparameters(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CommitParameters (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,137); +if (RapidSub.canDelegate("commitparameters")) { return __ref.runUserSub(false, "cameraexclass","commitparameters", __ref);} + BA.debugLineNum = 137;BA.debugLine="Public Sub CommitParameters"; +Debug.ShouldStop(256); + BA.debugLineNum = 138;BA.debugLine="Try"; +Debug.ShouldStop(512); +try { BA.debugLineNum = 139;BA.debugLine="r.target = nativeCam"; +Debug.ShouldStop(1024); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_nativecam" /*RemoteObject*/ )); + BA.debugLineNum = 140;BA.debugLine="r.RunMethod4(\"setParameters\", Array As Object(pa"; +Debug.ShouldStop(2048); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod4",(Object)(BA.ObjectToString("setParameters")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {__ref.getField(false,"_parameters" /*RemoteObject*/ )})),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("android.hardware.Camera$Parameters")}))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 142;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr"; +Debug.ShouldStop(8192); +cameraexclass.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Error setting parameters.")),(Object)(cameraexclass.__c.getField(true,"True"))); + BA.debugLineNum = 143;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(16384); +cameraexclass.__c.runVoidMethod ("LogImpl","081526790",BA.ObjectToString(cameraexclass.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + BA.debugLineNum = 145;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _findcamera(RemoteObject __ref,RemoteObject _frontcamera) throws Exception{ +try { + Debug.PushSubsStack("FindCamera (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,36); +if (RapidSub.canDelegate("findcamera")) { return __ref.runUserSub(false, "cameraexclass","findcamera", __ref, _frontcamera);} +RemoteObject _ci = RemoteObject.declareNull("gunav2.keymon.com.mx.cameraexclass._camerainfoandid"); +RemoteObject _camerainfo = RemoteObject.declareNull("Object"); +RemoteObject _cameravalue = RemoteObject.createImmutable(0); +RemoteObject _numberofcameras = RemoteObject.createImmutable(0); +int _i = 0; +Debug.locals.put("frontCamera", _frontcamera); + BA.debugLineNum = 36;BA.debugLine="Private Sub FindCamera (frontCamera As Boolean) As"; +Debug.ShouldStop(8); + BA.debugLineNum = 37;BA.debugLine="Dim ci As CameraInfoAndId"; +Debug.ShouldStop(16); +_ci = RemoteObject.createNew ("gunav2.keymon.com.mx.cameraexclass._camerainfoandid");Debug.locals.put("ci", _ci); + BA.debugLineNum = 38;BA.debugLine="Dim cameraInfo As Object"; +Debug.ShouldStop(32); +_camerainfo = RemoteObject.createNew ("Object");Debug.locals.put("cameraInfo", _camerainfo); + BA.debugLineNum = 39;BA.debugLine="Dim cameraValue As Int"; +Debug.ShouldStop(64); +_cameravalue = RemoteObject.createImmutable(0);Debug.locals.put("cameraValue", _cameravalue); + BA.debugLineNum = 40;BA.debugLine="If frontCamera Then cameraValue = 1 Else cameraVa"; +Debug.ShouldStop(128); +if (_frontcamera.get().booleanValue()) { +_cameravalue = BA.numberCast(int.class, 1);Debug.locals.put("cameraValue", _cameravalue);} +else { +_cameravalue = BA.numberCast(int.class, 0);Debug.locals.put("cameraValue", _cameravalue);}; + BA.debugLineNum = 41;BA.debugLine="cameraInfo = r.CreateObject(\"android.hardware.Cam"; +Debug.ShouldStop(256); +_camerainfo = __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"CreateObject",(Object)(RemoteObject.createImmutable("android.hardware.Camera$CameraInfo")));Debug.locals.put("cameraInfo", _camerainfo); + BA.debugLineNum = 42;BA.debugLine="Dim numberOfCameras As Int = r.RunStaticMethod(\"a"; +Debug.ShouldStop(512); +_numberofcameras = BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunStaticMethod",(Object)(BA.ObjectToString("android.hardware.Camera")),(Object)(BA.ObjectToString("getNumberOfCameras")),(Object)((cameraexclass.__c.getField(false,"Null"))),(Object)((cameraexclass.__c.getField(false,"Null")))));Debug.locals.put("numberOfCameras", _numberofcameras);Debug.locals.put("numberOfCameras", _numberofcameras); + BA.debugLineNum = 43;BA.debugLine="For i = 0 To numberOfCameras - 1"; +Debug.ShouldStop(1024); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_numberofcameras,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step7 > 0 && _i <= limit7) || (step7 < 0 && _i >= limit7) ;_i = ((int)(0 + _i + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 44;BA.debugLine="r.RunStaticMethod(\"android.hardware.Camera\", \"ge"; +Debug.ShouldStop(2048); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunStaticMethod",(Object)(BA.ObjectToString("android.hardware.Camera")),(Object)(BA.ObjectToString("getCameraInfo")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable((_i)),_camerainfo})),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("java.lang.int"),RemoteObject.createImmutable("android.hardware.Camera$CameraInfo")}))); + BA.debugLineNum = 46;BA.debugLine="r.target = cameraInfo"; +Debug.ShouldStop(8192); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",_camerainfo); + BA.debugLineNum = 47;BA.debugLine="If r.GetField(\"facing\") = cameraValue Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("facing"))),(_cameravalue))) { + BA.debugLineNum = 48;BA.debugLine="ci.cameraInfo = r.target"; +Debug.ShouldStop(32768); +_ci.setField ("CameraInfo" /*RemoteObject*/ ,__ref.getField(false,"_r" /*RemoteObject*/ ).getField(false,"Target")); + BA.debugLineNum = 49;BA.debugLine="ci.Id = i"; +Debug.ShouldStop(65536); +_ci.setField ("Id" /*RemoteObject*/ ,BA.numberCast(int.class, _i)); + BA.debugLineNum = 50;BA.debugLine="Return ci"; +Debug.ShouldStop(131072); +if (true) return _ci; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 53;BA.debugLine="ci.id = -1"; +Debug.ShouldStop(1048576); +_ci.setField ("Id" /*RemoteObject*/ ,BA.numberCast(int.class, -(double) (0 + 1))); + BA.debugLineNum = 54;BA.debugLine="Return ci"; +Debug.ShouldStop(2097152); +if (true) return _ci; + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _focusandtakepicture(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("FocusAndTakePicture (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,272); +if (RapidSub.canDelegate("focusandtakepicture")) { return __ref.runUserSub(false, "cameraexclass","focusandtakepicture", __ref);} + BA.debugLineNum = 272;BA.debugLine="Public Sub FocusAndTakePicture"; +Debug.ShouldStop(32768); + BA.debugLineNum = 273;BA.debugLine="cam.AutoFocus"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cam" /*RemoteObject*/ ).runVoidMethod ("AutoFocus"); + BA.debugLineNum = 274;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getcoloreffect(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetColorEffect (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,147); +if (RapidSub.canDelegate("getcoloreffect")) { return __ref.runUserSub(false, "cameraexclass","getcoloreffect", __ref);} + BA.debugLineNum = 147;BA.debugLine="Public Sub GetColorEffect As String"; +Debug.ShouldStop(262144); + BA.debugLineNum = 148;BA.debugLine="Return GetParameter(\"effect\")"; +Debug.ShouldStop(524288); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_getparameter" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("effect"))); + BA.debugLineNum = 149;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getflashmode(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetFlashMode (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,182); +if (RapidSub.canDelegate("getflashmode")) { return __ref.runUserSub(false, "cameraexclass","getflashmode", __ref);} + BA.debugLineNum = 182;BA.debugLine="Public Sub GetFlashMode As String"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 183;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 184;BA.debugLine="Return r.RunMethod(\"getFlashMode\")"; +Debug.ShouldStop(8388608); +if (true) return BA.ObjectToString(__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getFlashMode")))); + BA.debugLineNum = 185;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getfocusdistances(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetFocusDistances (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,258); +if (RapidSub.canDelegate("getfocusdistances")) { return __ref.runUserSub(false, "cameraexclass","getfocusdistances", __ref);} +RemoteObject _f = null; + BA.debugLineNum = 258;BA.debugLine="Public Sub GetFocusDistances As Float()"; +Debug.ShouldStop(2); + BA.debugLineNum = 259;BA.debugLine="Dim F(3) As Float"; +Debug.ShouldStop(4); +_f = RemoteObject.createNewArray ("float", new int[] {3}, new Object[]{});Debug.locals.put("F", _f); + BA.debugLineNum = 260;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(8); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 261;BA.debugLine="r.RunMethod4(\"getFocusDistances\", Array As Object"; +Debug.ShouldStop(16); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod4",(Object)(BA.ObjectToString("getFocusDistances")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_f)})),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("[F")}))); + BA.debugLineNum = 262;BA.debugLine="Return F"; +Debug.ShouldStop(32); +if (true) return _f; + BA.debugLineNum = 263;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getparameter(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("GetParameter (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,132); +if (RapidSub.canDelegate("getparameter")) { return __ref.runUserSub(false, "cameraexclass","getparameter", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 132;BA.debugLine="Public Sub GetParameter(Key As String) As String"; +Debug.ShouldStop(8); + BA.debugLineNum = 133;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(16); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 134;BA.debugLine="Return r.RunMethod2(\"get\", Key, \"java.lang.String"; +Debug.ShouldStop(32); +if (true) return BA.ObjectToString(__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod2",(Object)(BA.ObjectToString("get")),(Object)(_key),(Object)(RemoteObject.createImmutable("java.lang.String")))); + BA.debugLineNum = 135;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpicturesize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetPictureSize (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,206); +if (RapidSub.canDelegate("getpicturesize")) { return __ref.runUserSub(false, "cameraexclass","getpicturesize", __ref);} +RemoteObject _cs = RemoteObject.declareNull("gunav2.keymon.com.mx.cameraexclass._camerasize"); + BA.debugLineNum = 206;BA.debugLine="Public Sub GetPictureSize As CameraSize"; +Debug.ShouldStop(8192); + BA.debugLineNum = 207;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(16384); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 208;BA.debugLine="r.target = r.RunMethod(\"getPictureSize\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getPictureSize")))); + BA.debugLineNum = 209;BA.debugLine="Dim cs As CameraSize"; +Debug.ShouldStop(65536); +_cs = RemoteObject.createNew ("gunav2.keymon.com.mx.cameraexclass._camerasize");Debug.locals.put("cs", _cs); + BA.debugLineNum = 210;BA.debugLine="cs.Width = r.GetField(\"width\")"; +Debug.ShouldStop(131072); +_cs.setField ("Width" /*RemoteObject*/ ,BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("width"))))); + BA.debugLineNum = 211;BA.debugLine="cs.Height = r.GetField(\"height\")"; +Debug.ShouldStop(262144); +_cs.setField ("Height" /*RemoteObject*/ ,BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("height"))))); + BA.debugLineNum = 212;BA.debugLine="Return cs"; +Debug.ShouldStop(524288); +if (true) return _cs; + BA.debugLineNum = 213;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpreviewsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetPreviewSize (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,197); +if (RapidSub.canDelegate("getpreviewsize")) { return __ref.runUserSub(false, "cameraexclass","getpreviewsize", __ref);} +RemoteObject _cs = RemoteObject.declareNull("gunav2.keymon.com.mx.cameraexclass._camerasize"); + BA.debugLineNum = 197;BA.debugLine="Public Sub GetPreviewSize As CameraSize"; +Debug.ShouldStop(16); + BA.debugLineNum = 198;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(32); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 199;BA.debugLine="r.target = r.RunMethod(\"getPreviewSize\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getPreviewSize")))); + BA.debugLineNum = 200;BA.debugLine="Dim cs As CameraSize"; +Debug.ShouldStop(128); +_cs = RemoteObject.createNew ("gunav2.keymon.com.mx.cameraexclass._camerasize");Debug.locals.put("cs", _cs); + BA.debugLineNum = 201;BA.debugLine="cs.Width = r.GetField(\"width\")"; +Debug.ShouldStop(256); +_cs.setField ("Width" /*RemoteObject*/ ,BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("width"))))); + BA.debugLineNum = 202;BA.debugLine="cs.Height = r.GetField(\"height\")"; +Debug.ShouldStop(512); +_cs.setField ("Height" /*RemoteObject*/ ,BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("height"))))); + BA.debugLineNum = 203;BA.debugLine="Return cs"; +Debug.ShouldStop(1024); +if (true) return _cs; + BA.debugLineNum = 204;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsupportedcoloreffects(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetSupportedColorEffects (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,192); +if (RapidSub.canDelegate("getsupportedcoloreffects")) { return __ref.runUserSub(false, "cameraexclass","getsupportedcoloreffects", __ref);} + BA.debugLineNum = 192;BA.debugLine="Public Sub GetSupportedColorEffects As List"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 193;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(1); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 194;BA.debugLine="Return r.RunMethod(\"getSupportedColorEffects\")"; +Debug.ShouldStop(2); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getSupportedColorEffects")))); + BA.debugLineNum = 195;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsupportedflashmodes(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetSupportedFlashModes (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,187); +if (RapidSub.canDelegate("getsupportedflashmodes")) { return __ref.runUserSub(false, "cameraexclass","getsupportedflashmodes", __ref);} + BA.debugLineNum = 187;BA.debugLine="Public Sub GetSupportedFlashModes As List"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 188;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 189;BA.debugLine="Return r.RunMethod(\"getSupportedFlashModes\")"; +Debug.ShouldStop(268435456); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getSupportedFlashModes")))); + BA.debugLineNum = 190;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsupportedfocusmodes(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetSupportedFocusModes (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,237); +if (RapidSub.canDelegate("getsupportedfocusmodes")) { return __ref.runUserSub(false, "cameraexclass","getsupportedfocusmodes", __ref);} + BA.debugLineNum = 237;BA.debugLine="Public Sub GetSupportedFocusModes As List"; +Debug.ShouldStop(4096); + BA.debugLineNum = 238;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(8192); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 239;BA.debugLine="Return r.RunMethod(\"getSupportedFocusModes\")"; +Debug.ShouldStop(16384); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getSupportedFocusModes")))); + BA.debugLineNum = 240;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsupportedpicturessizes(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetSupportedPicturesSizes (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,155); +if (RapidSub.canDelegate("getsupportedpicturessizes")) { return __ref.runUserSub(false, "cameraexclass","getsupportedpicturessizes", __ref);} +RemoteObject _list1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _cs = null; +int _i = 0; + BA.debugLineNum = 155;BA.debugLine="Public Sub GetSupportedPicturesSizes As CameraSize"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 156;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 157;BA.debugLine="Dim list1 As List = r.RunMethod(\"getSupportedPict"; +Debug.ShouldStop(268435456); +_list1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_list1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getSupportedPictureSizes"))));Debug.locals.put("list1", _list1);Debug.locals.put("list1", _list1); + BA.debugLineNum = 158;BA.debugLine="Dim cs(list1.Size) As CameraSize"; +Debug.ShouldStop(536870912); +_cs = RemoteObject.createNewArray ("gunav2.keymon.com.mx.cameraexclass._camerasize", new int[] {_list1.runMethod(true,"getSize").get().intValue()}, new Object[]{});Debug.locals.put("cs", _cs); + BA.debugLineNum = 159;BA.debugLine="For i = 0 To list1.Size - 1"; +Debug.ShouldStop(1073741824); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_list1.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 160;BA.debugLine="r.target = list1.Get(i)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",_list1.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i)))); + BA.debugLineNum = 161;BA.debugLine="cs(i).Width = r.GetField(\"width\")"; +Debug.ShouldStop(1); +_cs.getArrayElement(false, /*RemoteObject*/ BA.numberCast(int.class, _i)).setField ("Width" /*RemoteObject*/ ,BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("width"))))); + BA.debugLineNum = 162;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; +Debug.ShouldStop(2); +_cs.getArrayElement(false, /*RemoteObject*/ BA.numberCast(int.class, _i)).setField ("Height" /*RemoteObject*/ ,BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("height"))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 164;BA.debugLine="Return cs"; +Debug.ShouldStop(8); +if (true) return _cs; + BA.debugLineNum = 165;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _panel1,RemoteObject _frontcamera,RemoteObject _targetmodule,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "cameraexclass","initialize", __ref, _ba, _panel1, _frontcamera, _targetmodule, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _id = RemoteObject.createImmutable(0); +Debug.locals.put("ba", _ba); +Debug.locals.put("Panel1", _panel1); +Debug.locals.put("FrontCamera", _frontcamera); +Debug.locals.put("TargetModule", _targetmodule); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (Panel1 As Panel, FrontCamer"; +Debug.ShouldStop(262144); + BA.debugLineNum = 20;BA.debugLine="target = TargetModule"; +Debug.ShouldStop(524288); +__ref.setField ("_target" /*RemoteObject*/ ,_targetmodule); + BA.debugLineNum = 21;BA.debugLine="event = EventName"; +Debug.ShouldStop(1048576); +__ref.setField ("_event" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 22;BA.debugLine="Front = FrontCamera"; +Debug.ShouldStop(2097152); +__ref.setField ("_front" /*RemoteObject*/ ,_frontcamera); + BA.debugLineNum = 23;BA.debugLine="Dim id As Int"; +Debug.ShouldStop(4194304); +_id = RemoteObject.createImmutable(0);Debug.locals.put("id", _id); + BA.debugLineNum = 24;BA.debugLine="id = FindCamera(Front).id"; +Debug.ShouldStop(8388608); +_id = __ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_findcamera" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_front" /*RemoteObject*/ ))).getField(true,"Id" /*RemoteObject*/ );Debug.locals.put("id", _id); + BA.debugLineNum = 25;BA.debugLine="If id = -1 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_id,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 26;BA.debugLine="Front = Not(Front) 'try different camera"; +Debug.ShouldStop(33554432); +__ref.setField ("_front" /*RemoteObject*/ ,cameraexclass.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_front" /*RemoteObject*/ )))); + BA.debugLineNum = 27;BA.debugLine="id = FindCamera(Front).id"; +Debug.ShouldStop(67108864); +_id = __ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_findcamera" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_front" /*RemoteObject*/ ))).getField(true,"Id" /*RemoteObject*/ );Debug.locals.put("id", _id); + BA.debugLineNum = 28;BA.debugLine="If id = -1 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_id,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 29;BA.debugLine="ToastMessageShow(\"No camera found.\", True)"; +Debug.ShouldStop(268435456); +cameraexclass.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("No camera found.")),(Object)(cameraexclass.__c.getField(true,"True"))); + BA.debugLineNum = 30;BA.debugLine="Return"; +Debug.ShouldStop(536870912); +if (true) return RemoteObject.createImmutable(""); + }; + }; + BA.debugLineNum = 33;BA.debugLine="cam.Initialize2(Panel1, \"camera\", id)"; +Debug.ShouldStop(1); +__ref.getField(false,"_cam" /*RemoteObject*/ ).runVoidMethod ("Initialize2",__ref.getField(false, "ba"),(Object)((_panel1.getObject())),(Object)(BA.ObjectToString("camera")),(Object)(_id)); + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _previewimagetojpeg(RemoteObject __ref,RemoteObject _data,RemoteObject _quality) throws Exception{ +try { + Debug.PushSubsStack("PreviewImageToJpeg (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,217); +if (RapidSub.canDelegate("previewimagetojpeg")) { return __ref.runUserSub(false, "cameraexclass","previewimagetojpeg", __ref, _data, _quality);} +RemoteObject _size = RemoteObject.declareNull("Object"); +RemoteObject _previewformat = RemoteObject.declareNull("Object"); +RemoteObject _width = RemoteObject.createImmutable(0); +RemoteObject _height = RemoteObject.createImmutable(0); +RemoteObject _yuvimage = RemoteObject.declareNull("Object"); +RemoteObject _rect1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("data", _data); +Debug.locals.put("quality", _quality); + BA.debugLineNum = 217;BA.debugLine="Public Sub PreviewImageToJpeg(data() As Byte, qual"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 218;BA.debugLine="Dim size, previewFormat As Object"; +Debug.ShouldStop(33554432); +_size = RemoteObject.createNew ("Object");Debug.locals.put("size", _size); +_previewformat = RemoteObject.createNew ("Object");Debug.locals.put("previewFormat", _previewformat); + BA.debugLineNum = 219;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 220;BA.debugLine="size = r.RunMethod(\"getPreviewSize\")"; +Debug.ShouldStop(134217728); +_size = __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getPreviewSize")));Debug.locals.put("size", _size); + BA.debugLineNum = 221;BA.debugLine="previewFormat = r.RunMethod(\"getPreviewFormat\")"; +Debug.ShouldStop(268435456); +_previewformat = __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getPreviewFormat")));Debug.locals.put("previewFormat", _previewformat); + BA.debugLineNum = 222;BA.debugLine="r.target = size"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",_size); + BA.debugLineNum = 223;BA.debugLine="Dim width = r.GetField(\"width\"), height = r.GetFi"; +Debug.ShouldStop(1073741824); +_width = BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("width"))));Debug.locals.put("width", _width);Debug.locals.put("width", _width); +_height = BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("height"))));Debug.locals.put("height", _height);Debug.locals.put("height", _height); + BA.debugLineNum = 224;BA.debugLine="Dim yuvImage As Object = r.CreateObject2(\"android"; +Debug.ShouldStop(-2147483648); +_yuvimage = __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"CreateObject2",(Object)(BA.ObjectToString("android.graphics.YuvImage")),(Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_data),_previewformat,(_width),(_height),cameraexclass.__c.getField(false,"Null")})),(Object)(RemoteObject.createNewArray("String",new int[] {5},new Object[] {BA.ObjectToString("[B"),BA.ObjectToString("java.lang.int"),BA.ObjectToString("java.lang.int"),BA.ObjectToString("java.lang.int"),RemoteObject.createImmutable("[I")})));Debug.locals.put("yuvImage", _yuvimage);Debug.locals.put("yuvImage", _yuvimage); + BA.debugLineNum = 227;BA.debugLine="r.target = yuvImage"; +Debug.ShouldStop(4); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",_yuvimage); + BA.debugLineNum = 228;BA.debugLine="Dim rect1 As Rect"; +Debug.ShouldStop(8); +_rect1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper");Debug.locals.put("rect1", _rect1); + BA.debugLineNum = 229;BA.debugLine="rect1.Initialize(0, 0, r.RunMethod(\"getWidth\"), r"; +Debug.ShouldStop(16); +_rect1.runVoidMethod ("Initialize",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getWidth"))))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getHeight")))))); + BA.debugLineNum = 230;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(32); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 231;BA.debugLine="out.InitializeToBytesArray(100)"; +Debug.ShouldStop(64); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 100))); + BA.debugLineNum = 232;BA.debugLine="r.RunMethod4(\"compressToJpeg\", Array As Object(re"; +Debug.ShouldStop(128); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod4",(Object)(BA.ObjectToString("compressToJpeg")),(Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_rect1.getObject()),(_quality),(_out.getObject())})),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString("android.graphics.Rect"),BA.ObjectToString("java.lang.int"),RemoteObject.createImmutable("java.io.OutputStream")}))); + BA.debugLineNum = 234;BA.debugLine="Return out.ToBytesArray"; +Debug.ShouldStop(512); +if (true) return _out.runMethod(false,"ToBytesArray"); + BA.debugLineNum = 235;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _release(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Release (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,116); +if (RapidSub.canDelegate("release")) { return __ref.runUserSub(false, "cameraexclass","release", __ref);} + BA.debugLineNum = 116;BA.debugLine="Public Sub Release"; +Debug.ShouldStop(524288); + BA.debugLineNum = 117;BA.debugLine="cam.Release"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cam" /*RemoteObject*/ ).runVoidMethod ("Release"); + BA.debugLineNum = 118;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _savepicturetofile(RemoteObject __ref,RemoteObject _data,RemoteObject _dir,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("SavePictureToFile (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,121); +if (RapidSub.canDelegate("savepicturetofile")) { return __ref.runUserSub(false, "cameraexclass","savepicturetofile", __ref, _data, _dir, _filename);} +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Data", _data); +Debug.locals.put("Dir", _dir); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 121;BA.debugLine="Public Sub SavePictureToFile(Data() As Byte, Dir A"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 122;BA.debugLine="Dim out As OutputStream = File.OpenOutput(Dir, Fi"; +Debug.ShouldStop(33554432); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = cameraexclass.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(_dir),(Object)(_filename),(Object)(cameraexclass.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 123;BA.debugLine="out.WriteBytes(Data, 0, Data.Length)"; +Debug.ShouldStop(67108864); +_out.runVoidMethod ("WriteBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 124;BA.debugLine="out.Close"; +Debug.ShouldStop(134217728); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 125;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcoloreffect(RemoteObject __ref,RemoteObject _effect) throws Exception{ +try { + Debug.PushSubsStack("SetColorEffect (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,151); +if (RapidSub.canDelegate("setcoloreffect")) { return __ref.runUserSub(false, "cameraexclass","setcoloreffect", __ref, _effect);} +Debug.locals.put("Effect", _effect); + BA.debugLineNum = 151;BA.debugLine="Public Sub SetColorEffect(Effect As String)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 152;BA.debugLine="SetParameter(\"effect\", Effect)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_setparameter" /*RemoteObject*/ ,(Object)(BA.ObjectToString("effect")),(Object)(_effect)); + BA.debugLineNum = 153;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcontinuousautofocus(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("SetContinuousAutoFocus (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,242); +if (RapidSub.canDelegate("setcontinuousautofocus")) { return __ref.runUserSub(false, "cameraexclass","setcontinuousautofocus", __ref);} +RemoteObject _modes = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); + BA.debugLineNum = 242;BA.debugLine="Public Sub SetContinuousAutoFocus"; +Debug.ShouldStop(131072); + BA.debugLineNum = 243;BA.debugLine="Dim modes As List = GetSupportedFocusModes"; +Debug.ShouldStop(262144); +_modes = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_modes = __ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_getsupportedfocusmodes" /*RemoteObject*/ );Debug.locals.put("modes", _modes);Debug.locals.put("modes", _modes); + BA.debugLineNum = 244;BA.debugLine="If modes.IndexOf(\"continuous-picture\") > -1 Th"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_modes.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("continuous-picture")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 245;BA.debugLine="SetFocusMode(\"continuous-picture\")"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_setfocusmode" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("continuous-picture"))); + }else +{ BA.debugLineNum = 246;BA.debugLine="Else If modes.IndexOf(\"continuous-video\") > -1"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_modes.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("continuous-video")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 247;BA.debugLine="SetFocusMode(\"continuous-video\")"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_setfocusmode" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("continuous-video"))); + }else { + BA.debugLineNum = 249;BA.debugLine="Log(\"Continuous focus mode is not availabl"; +Debug.ShouldStop(16777216); +cameraexclass.__c.runVoidMethod ("LogImpl","082444295",RemoteObject.createImmutable("Continuous focus mode is not available"),0); + }} +; + BA.debugLineNum = 251;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setdisplayorientation(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("SetDisplayOrientation (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,57); +if (RapidSub.canDelegate("setdisplayorientation")) { return __ref.runUserSub(false, "cameraexclass","setdisplayorientation", __ref);} +RemoteObject _previewresult = RemoteObject.createImmutable(0); +RemoteObject _result = RemoteObject.createImmutable(0); +RemoteObject _degrees = RemoteObject.createImmutable(0); +RemoteObject _ci = RemoteObject.declareNull("gunav2.keymon.com.mx.cameraexclass._camerainfoandid"); +RemoteObject _orientation = RemoteObject.createImmutable(0); + BA.debugLineNum = 57;BA.debugLine="Private Sub SetDisplayOrientation"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 58;BA.debugLine="r.target = r.GetActivity"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",(__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetActivity",__ref.getField(false, "ba")))); + BA.debugLineNum = 59;BA.debugLine="r.target = r.RunMethod(\"getWindowManager\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getWindowManager")))); + BA.debugLineNum = 60;BA.debugLine="r.target = r.RunMethod(\"getDefaultDisplay\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getDefaultDisplay")))); + BA.debugLineNum = 61;BA.debugLine="r.target = r.RunMethod(\"getRotation\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getRotation")))); + BA.debugLineNum = 62;BA.debugLine="Dim previewResult, result, degrees As Int = r.tar"; +Debug.ShouldStop(536870912); +_previewresult = RemoteObject.createImmutable(0);Debug.locals.put("previewResult", _previewresult); +_result = RemoteObject.createImmutable(0);Debug.locals.put("result", _result); +_degrees = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_r" /*RemoteObject*/ ).getField(false,"Target")),RemoteObject.createImmutable(90)}, "*",0, 0));Debug.locals.put("degrees", _degrees);Debug.locals.put("degrees", _degrees); + BA.debugLineNum = 63;BA.debugLine="Dim ci As CameraInfoAndId = FindCamera(Front)"; +Debug.ShouldStop(1073741824); +_ci = __ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_findcamera" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_front" /*RemoteObject*/ )));Debug.locals.put("ci", _ci);Debug.locals.put("ci", _ci); + BA.debugLineNum = 64;BA.debugLine="r.target = ci.CameraInfo"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",_ci.getField(false,"CameraInfo" /*RemoteObject*/ )); + BA.debugLineNum = 65;BA.debugLine="Dim orientation As Int = r.GetField(\"orientation\""; +Debug.ShouldStop(1); +_orientation = BA.numberCast(int.class, __ref.getField(false,"_r" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("orientation"))));Debug.locals.put("orientation", _orientation);Debug.locals.put("orientation", _orientation); + BA.debugLineNum = 66;BA.debugLine="If Front Then"; +Debug.ShouldStop(2); +if (__ref.getField(true,"_front" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 67;BA.debugLine="previewResult = (orientation + degrees) Mod 360"; +Debug.ShouldStop(4); +_previewresult = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_orientation,_degrees}, "+",1, 1)),RemoteObject.createImmutable(360)}, "%",0, 1);Debug.locals.put("previewResult", _previewresult); + BA.debugLineNum = 68;BA.debugLine="result = previewResult"; +Debug.ShouldStop(8); +_result = _previewresult;Debug.locals.put("result", _result); + BA.debugLineNum = 69;BA.debugLine="previewResult = (360 - previewResult) Mod 360"; +Debug.ShouldStop(16); +_previewresult = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(360),_previewresult}, "-",1, 1)),RemoteObject.createImmutable(360)}, "%",0, 1);Debug.locals.put("previewResult", _previewresult); + }else { + BA.debugLineNum = 71;BA.debugLine="previewResult = (orientation - degrees + 360) Mo"; +Debug.ShouldStop(64); +_previewresult = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_orientation,_degrees,RemoteObject.createImmutable(360)}, "-+",2, 1)),RemoteObject.createImmutable(360)}, "%",0, 1);Debug.locals.put("previewResult", _previewresult); + BA.debugLineNum = 72;BA.debugLine="result = previewResult"; +Debug.ShouldStop(128); +_result = _previewresult;Debug.locals.put("result", _result); + BA.debugLineNum = 73;BA.debugLine="Log(previewResult)"; +Debug.ShouldStop(256); +cameraexclass.__c.runVoidMethod ("LogImpl","080805904",BA.NumberToString(_previewresult),0); + }; + BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam"; +Debug.ShouldStop(1024); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_nativecam" /*RemoteObject*/ )); + BA.debugLineNum = 76;BA.debugLine="r.RunMethod2(\"setDisplayOrientation\", previewResu"; +Debug.ShouldStop(2048); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod2",(Object)(BA.ObjectToString("setDisplayOrientation")),(Object)(BA.NumberToString(_previewresult)),(Object)(RemoteObject.createImmutable("java.lang.int"))); + BA.debugLineNum = 77;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(4096); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 78;BA.debugLine="r.RunMethod2(\"setRotation\", result, \"java.lang.in"; +Debug.ShouldStop(8192); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod2",(Object)(BA.ObjectToString("setRotation")),(Object)(BA.NumberToString(_result)),(Object)(RemoteObject.createImmutable("java.lang.int"))); + BA.debugLineNum = 79;BA.debugLine="CommitParameters"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 80;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setflashmode(RemoteObject __ref,RemoteObject _mode) throws Exception{ +try { + Debug.PushSubsStack("SetFlashMode (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,177); +if (RapidSub.canDelegate("setflashmode")) { return __ref.runUserSub(false, "cameraexclass","setflashmode", __ref, _mode);} +Debug.locals.put("Mode", _mode); + BA.debugLineNum = 177;BA.debugLine="Public Sub SetFlashMode(Mode As String)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 178;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(131072); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 179;BA.debugLine="r.RunMethod2(\"setFlashMode\", Mode, \"java.lang.Str"; +Debug.ShouldStop(262144); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod2",(Object)(BA.ObjectToString("setFlashMode")),(Object)(_mode),(Object)(RemoteObject.createImmutable("java.lang.String"))); + BA.debugLineNum = 180;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setfocusmode(RemoteObject __ref,RemoteObject _mode) throws Exception{ +try { + Debug.PushSubsStack("SetFocusMode (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,253); +if (RapidSub.canDelegate("setfocusmode")) { return __ref.runUserSub(false, "cameraexclass","setfocusmode", __ref, _mode);} +Debug.locals.put("Mode", _mode); + BA.debugLineNum = 253;BA.debugLine="Public Sub SetFocusMode(Mode As String)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 254;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 255;BA.debugLine="r.RunMethod2(\"setFocusMode\", Mode, \"java.lang."; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod2",(Object)(BA.ObjectToString("setFocusMode")),(Object)(_mode),(Object)(RemoteObject.createImmutable("java.lang.String"))); + BA.debugLineNum = 256;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setjpegquality(RemoteObject __ref,RemoteObject _quality) throws Exception{ +try { + Debug.PushSubsStack("SetJpegQuality (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,172); +if (RapidSub.canDelegate("setjpegquality")) { return __ref.runUserSub(false, "cameraexclass","setjpegquality", __ref, _quality);} +Debug.locals.put("Quality", _quality); + BA.debugLineNum = 172;BA.debugLine="Public Sub SetJpegQuality(Quality As Int)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 173;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(4096); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 174;BA.debugLine="r.RunMethod2(\"setJpegQuality\", Quality, \"java.lan"; +Debug.ShouldStop(8192); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod2",(Object)(BA.ObjectToString("setJpegQuality")),(Object)(BA.NumberToString(_quality)),(Object)(RemoteObject.createImmutable("java.lang.int"))); + BA.debugLineNum = 175;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setparameter(RemoteObject __ref,RemoteObject _key,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("SetParameter (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,127); +if (RapidSub.canDelegate("setparameter")) { return __ref.runUserSub(false, "cameraexclass","setparameter", __ref, _key, _value);} +Debug.locals.put("Key", _key); +Debug.locals.put("Value", _value); + BA.debugLineNum = 127;BA.debugLine="Public Sub SetParameter(Key As String, Value As St"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 128;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 129;BA.debugLine="r.RunMethod3(\"set\", Key, \"java.lang.String\", Valu"; +Debug.ShouldStop(1); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod3",(Object)(BA.ObjectToString("set")),(Object)(_key),(Object)(BA.ObjectToString("java.lang.String")),(Object)(_value),(Object)(RemoteObject.createImmutable("java.lang.String"))); + BA.debugLineNum = 130;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setpicturesize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("SetPictureSize (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,167); +if (RapidSub.canDelegate("setpicturesize")) { return __ref.runUserSub(false, "cameraexclass","setpicturesize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 167;BA.debugLine="Public Sub SetPictureSize(Width As Int, Height As"; +Debug.ShouldStop(64); + BA.debugLineNum = 168;BA.debugLine="r.target = parameters"; +Debug.ShouldStop(128); +__ref.getField(false,"_r" /*RemoteObject*/ ).setField ("Target",__ref.getField(false,"_parameters" /*RemoteObject*/ )); + BA.debugLineNum = 169;BA.debugLine="r.RunMethod3(\"setPictureSize\", Width, \"java.lang."; +Debug.ShouldStop(256); +__ref.getField(false,"_r" /*RemoteObject*/ ).runVoidMethod ("RunMethod3",(Object)(BA.ObjectToString("setPictureSize")),(Object)(BA.NumberToString(_width)),(Object)(BA.ObjectToString("java.lang.int")),(Object)(BA.NumberToString(_height)),(Object)(RemoteObject.createImmutable("java.lang.int"))); + BA.debugLineNum = 170;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _startpreview(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StartPreview (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,108); +if (RapidSub.canDelegate("startpreview")) { return __ref.runUserSub(false, "cameraexclass","startpreview", __ref);} + BA.debugLineNum = 108;BA.debugLine="Public Sub StartPreview"; +Debug.ShouldStop(2048); + BA.debugLineNum = 109;BA.debugLine="cam.StartPreview"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cam" /*RemoteObject*/ ).runVoidMethod ("StartPreview"); + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _stoppreview(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StopPreview (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,112); +if (RapidSub.canDelegate("stoppreview")) { return __ref.runUserSub(false, "cameraexclass","stoppreview", __ref);} + BA.debugLineNum = 112;BA.debugLine="Public Sub StopPreview"; +Debug.ShouldStop(32768); + BA.debugLineNum = 113;BA.debugLine="cam.StopPreview"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cam" /*RemoteObject*/ ).runVoidMethod ("StopPreview"); + BA.debugLineNum = 114;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _takepicture(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TakePicture (cameraexclass) ","cameraexclass",26,__ref.getField(false, "ba"),__ref,100); +if (RapidSub.canDelegate("takepicture")) { return __ref.runUserSub(false, "cameraexclass","takepicture", __ref);} + BA.debugLineNum = 100;BA.debugLine="Public Sub TakePicture"; +Debug.ShouldStop(8); + BA.debugLineNum = 101;BA.debugLine="cam.TakePicture"; +Debug.ShouldStop(16); +__ref.getField(false,"_cam" /*RemoteObject*/ ).runVoidMethod ("TakePicture"); + BA.debugLineNum = 102;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/cl_appupdate.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cl_appupdate.java new file mode 100644 index 0000000..b792287 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cl_appupdate.java @@ -0,0 +1,66 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class cl_appupdate { + public static RemoteObject myClass; + public cl_appupdate() { + } + public static PCBA staticBA = new PCBA(null, cl_appupdate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _err_nopkg = RemoteObject.createImmutable(0); +public static RemoteObject _err_notxt = RemoteObject.createImmutable(0); +public static RemoteObject _err_noapk = RemoteObject.createImmutable(0); +public static RemoteObject _err_txtrow = RemoteObject.createImmutable(0); +public static RemoteObject _err_html = RemoteObject.createImmutable(0); +public static RemoteObject _err_nospace = RemoteObject.createImmutable(0); +public static RemoteObject _err_noperm = RemoteObject.createImmutable(0); +public static RemoteObject _err_download = RemoteObject.createImmutable(0); +public static RemoteObject _err_http = RemoteObject.createImmutable(0); +public static RemoteObject _ok_init = RemoteObject.createImmutable(0); +public static RemoteObject _ok_curver = RemoteObject.createImmutable(0); +public static RemoteObject _ok_webver = RemoteObject.createImmutable(0); +public static RemoteObject _no_newerapk = RemoteObject.createImmutable(0); +public static RemoteObject _ok_newerapk = RemoteObject.createImmutable(0); +public static RemoteObject _ok_download = RemoteObject.createImmutable(0); +public static RemoteObject _ok_install = RemoteObject.createImmutable(0); +public static RemoteObject _callback = RemoteObject.declareNull("Object"); +public static RemoteObject _event = RemoteObject.createImmutable(""); +public static RemoteObject _spackagename = RemoteObject.createImmutable(""); +public static RemoteObject _snewvertxt = RemoteObject.createImmutable(""); +public static RemoteObject _snewverapk = RemoteObject.createImmutable(""); +public static RemoteObject _sstatuscode = RemoteObject.createImmutable(0); +public static RemoteObject _susername = RemoteObject.createImmutable(""); +public static RemoteObject _supassword = RemoteObject.createImmutable(""); +public static RemoteObject _curver = RemoteObject.createImmutable(""); +public static RemoteObject _webver = RemoteObject.createImmutable(""); +public static RemoteObject _webclog = RemoteObject.createImmutable(""); +public static RemoteObject _webfsize = RemoteObject.createImmutable(""); +public static RemoteObject _sverbose = RemoteObject.createImmutable(false); +public static RemoteObject _pnlsplash = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _splashshowing = RemoteObject.createImmutable(false); +public static RemoteObject _phone = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _sharedfolder = RemoteObject.createImmutable(""); +public static RemoteObject _usefileprovider = RemoteObject.createImmutable(false); +public static RemoteObject _logcolor1 = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Callback",_ref.getField(false, "_callback"),"curver",_ref.getField(false, "_curver"),"DateUtils",_ref.getField(false, "_dateutils"),"ERR_DOWNLOAD",_ref.getField(false, "_err_download"),"ERR_HTML",_ref.getField(false, "_err_html"),"ERR_HTTP",_ref.getField(false, "_err_http"),"ERR_NOAPK",_ref.getField(false, "_err_noapk"),"ERR_NOPERM",_ref.getField(false, "_err_noperm"),"ERR_NOPKG",_ref.getField(false, "_err_nopkg"),"ERR_NOSPACE",_ref.getField(false, "_err_nospace"),"ERR_NOTXT",_ref.getField(false, "_err_notxt"),"ERR_TXTROW",_ref.getField(false, "_err_txtrow"),"Event",_ref.getField(false, "_event"),"LogColor1",_ref.getField(false, "_logcolor1"),"NO_NEWERAPK",_ref.getField(false, "_no_newerapk"),"OK_CURVER",_ref.getField(false, "_ok_curver"),"OK_DOWNLOAD",_ref.getField(false, "_ok_download"),"OK_INIT",_ref.getField(false, "_ok_init"),"OK_INSTALL",_ref.getField(false, "_ok_install"),"OK_NEWERAPK",_ref.getField(false, "_ok_newerapk"),"OK_WEBVER",_ref.getField(false, "_ok_webver"),"phone",_ref.getField(false, "_phone"),"pnlSplash",_ref.getField(false, "_pnlsplash"),"rp",_ref.getField(false, "_rp"),"SharedFolder",_ref.getField(false, "_sharedfolder"),"sNewVerApk",_ref.getField(false, "_snewverapk"),"sNewVerTxt",_ref.getField(false, "_snewvertxt"),"sPackageName",_ref.getField(false, "_spackagename"),"SplashShowing",_ref.getField(false, "_splashshowing"),"sStatusCode",_ref.getField(false, "_sstatuscode"),"sUPassword",_ref.getField(false, "_supassword"),"sUserName",_ref.getField(false, "_susername"),"sVerbose",_ref.getField(false, "_sverbose"),"UseFileProvider",_ref.getField(false, "_usefileprovider"),"webclog",_ref.getField(false, "_webclog"),"webfsize",_ref.getField(false, "_webfsize"),"webver",_ref.getField(false, "_webver")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/cl_appupdate_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cl_appupdate_subs_0.java new file mode 100644 index 0000000..1d84e8d --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cl_appupdate_subs_0.java @@ -0,0 +1,2449 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class cl_appupdate_subs_0 { + + +public static RemoteObject _canrequestpackageinstalls(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CanRequestPackageInstalls (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,448); +if (RapidSub.canDelegate("canrequestpackageinstalls")) { return __ref.runUserSub(false, "cl_appupdate","canrequestpackageinstalls", __ref);} +RemoteObject _ctxt = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _packagemanager = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 448;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 449;BA.debugLine="Dim ctxt As JavaObject"; +Debug.JustUpdateDeviceLine(); +_ctxt = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("ctxt", _ctxt); + BA.debugLineNum = 450;BA.debugLine="ctxt.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_ctxt.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 451;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; +Debug.JustUpdateDeviceLine(); +_packagemanager = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_packagemanager = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _ctxt.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getPackageManager")),(Object)((cl_appupdate.__c.getField(false,"Null")))));Debug.locals.put("PackageManager", _packagemanager);Debug.locals.put("PackageManager", _packagemanager); + BA.debugLineNum = 452;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(_packagemanager.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("canRequestPackageInstalls")),(Object)((cl_appupdate.__c.getField(false,"Null"))))); + BA.debugLineNum = 453;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checknonmarketappsenabled(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CheckNonMarketAppsEnabled (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,471); +if (RapidSub.canDelegate("checknonmarketappsenabled")) { return __ref.runUserSub(false, "cl_appupdate","checknonmarketappsenabled", __ref);} +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _resolver = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _global = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 471;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 472;BA.debugLine="If phone.SdkVersion >= 26 Then Return True"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 26))) { +if (true) return cl_appupdate.__c.getField(true,"True");}; + BA.debugLineNum = 473;BA.debugLine="If phone.SdkVersion < 17 Or phone.SdkVersion >= 2"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 17)) || RemoteObject.solveBoolean("g",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 21))) { + BA.debugLineNum = 474;BA.debugLine="Return phone.GetSettings(\"install_non_market_app"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("=",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("install_non_market_apps"))),BA.ObjectToString("1"))); + }else { + BA.debugLineNum = 476;BA.debugLine="Dim context As JavaObject"; +Debug.JustUpdateDeviceLine(); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 477;BA.debugLine="context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_context.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 478;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\""; +Debug.JustUpdateDeviceLine(); +_resolver = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_resolver = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _context.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getContentResolver")),(Object)((cl_appupdate.__c.getField(false,"Null")))));Debug.locals.put("resolver", _resolver);Debug.locals.put("resolver", _resolver); + BA.debugLineNum = 479;BA.debugLine="Dim global As JavaObject"; +Debug.JustUpdateDeviceLine(); +_global = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("global", _global); + BA.debugLineNum = 480;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; +Debug.JustUpdateDeviceLine(); +_global.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.provider.Settings.Global"))); + BA.debugLineNum = 481;BA.debugLine="Return global.RunMethod(\"getString\", Array(resol"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_global.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getString")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_resolver.getObject()),(RemoteObject.createImmutable("install_non_market_apps"))}))),RemoteObject.createImmutable(("1")))); + }; + BA.debugLineNum = 483;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Private Sub Class_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; +cl_appupdate._err_nopkg = BA.numberCast(int.class, -(double) (0 + 1));__ref.setField("_err_nopkg",cl_appupdate._err_nopkg); + //BA.debugLineNum = 9;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; +cl_appupdate._err_notxt = BA.numberCast(int.class, -(double) (0 + 2));__ref.setField("_err_notxt",cl_appupdate._err_notxt); + //BA.debugLineNum = 10;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; +cl_appupdate._err_noapk = BA.numberCast(int.class, -(double) (0 + 3));__ref.setField("_err_noapk",cl_appupdate._err_noapk); + //BA.debugLineNum = 11;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; +cl_appupdate._err_txtrow = BA.numberCast(int.class, -(double) (0 + 4));__ref.setField("_err_txtrow",cl_appupdate._err_txtrow); + //BA.debugLineNum = 12;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; +cl_appupdate._err_html = BA.numberCast(int.class, -(double) (0 + 5));__ref.setField("_err_html",cl_appupdate._err_html); + //BA.debugLineNum = 13;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; +cl_appupdate._err_nospace = BA.numberCast(int.class, -(double) (0 + 6));__ref.setField("_err_nospace",cl_appupdate._err_nospace); + //BA.debugLineNum = 14;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; +cl_appupdate._err_noperm = BA.numberCast(int.class, -(double) (0 + 7));__ref.setField("_err_noperm",cl_appupdate._err_noperm); + //BA.debugLineNum = 15;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; +cl_appupdate._err_download = BA.numberCast(int.class, -(double) (0 + 8));__ref.setField("_err_download",cl_appupdate._err_download); + //BA.debugLineNum = 16;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; +cl_appupdate._err_http = BA.numberCast(int.class, -(double) (0 + 100));__ref.setField("_err_http",cl_appupdate._err_http); + //BA.debugLineNum = 17;BA.debugLine="Public OK_INIT = 0 As Int"; +cl_appupdate._ok_init = BA.numberCast(int.class, 0);__ref.setField("_ok_init",cl_appupdate._ok_init); + //BA.debugLineNum = 18;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; +cl_appupdate._ok_curver = BA.numberCast(int.class, 1);__ref.setField("_ok_curver",cl_appupdate._ok_curver); + //BA.debugLineNum = 19;BA.debugLine="Public OK_WEBVER = 2 As Int"; +cl_appupdate._ok_webver = BA.numberCast(int.class, 2);__ref.setField("_ok_webver",cl_appupdate._ok_webver); + //BA.debugLineNum = 20;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; +cl_appupdate._no_newerapk = BA.numberCast(int.class, 3);__ref.setField("_no_newerapk",cl_appupdate._no_newerapk); + //BA.debugLineNum = 21;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; +cl_appupdate._ok_newerapk = BA.numberCast(int.class, 4);__ref.setField("_ok_newerapk",cl_appupdate._ok_newerapk); + //BA.debugLineNum = 22;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; +cl_appupdate._ok_download = BA.numberCast(int.class, 5);__ref.setField("_ok_download",cl_appupdate._ok_download); + //BA.debugLineNum = 23;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; +cl_appupdate._ok_install = BA.numberCast(int.class, 6);__ref.setField("_ok_install",cl_appupdate._ok_install); + //BA.debugLineNum = 26;BA.debugLine="Private Callback As Object"; +cl_appupdate._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",cl_appupdate._callback); + //BA.debugLineNum = 27;BA.debugLine="Private Event As String"; +cl_appupdate._event = RemoteObject.createImmutable("");__ref.setField("_event",cl_appupdate._event); + //BA.debugLineNum = 28;BA.debugLine="Private sPackageName As String 'ex: com.te"; +cl_appupdate._spackagename = RemoteObject.createImmutable("");__ref.setField("_spackagename",cl_appupdate._spackagename); + //BA.debugLineNum = 29;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; +cl_appupdate._snewvertxt = RemoteObject.createImmutable("");__ref.setField("_snewvertxt",cl_appupdate._snewvertxt); + //BA.debugLineNum = 30;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; +cl_appupdate._snewverapk = RemoteObject.createImmutable("");__ref.setField("_snewverapk",cl_appupdate._snewverapk); + //BA.debugLineNum = 31;BA.debugLine="Private sStatusCode As Int 'negatives"; +cl_appupdate._sstatuscode = RemoteObject.createImmutable(0);__ref.setField("_sstatuscode",cl_appupdate._sstatuscode); + //BA.debugLineNum = 32;BA.debugLine="Private sUserName As String 'user name"; +cl_appupdate._susername = RemoteObject.createImmutable("");__ref.setField("_susername",cl_appupdate._susername); + //BA.debugLineNum = 33;BA.debugLine="Private sUPassword As String 'password r"; +cl_appupdate._supassword = RemoteObject.createImmutable("");__ref.setField("_supassword",cl_appupdate._supassword); + //BA.debugLineNum = 34;BA.debugLine="Private curver, webver As String 'curver = c"; +cl_appupdate._curver = RemoteObject.createImmutable("");__ref.setField("_curver",cl_appupdate._curver); +cl_appupdate._webver = RemoteObject.createImmutable("");__ref.setField("_webver",cl_appupdate._webver); + //BA.debugLineNum = 35;BA.debugLine="Private webclog As String 'webclog = optional"; +cl_appupdate._webclog = RemoteObject.createImmutable("");__ref.setField("_webclog",cl_appupdate._webclog); + //BA.debugLineNum = 36;BA.debugLine="Private webfsize As String 'webfsize = option"; +cl_appupdate._webfsize = RemoteObject.createImmutable("");__ref.setField("_webfsize",cl_appupdate._webfsize); + //BA.debugLineNum = 37;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; +cl_appupdate._sverbose = RemoteObject.createImmutable(false);__ref.setField("_sverbose",cl_appupdate._sverbose); + //BA.debugLineNum = 38;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; +cl_appupdate._pnlsplash = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlsplash",cl_appupdate._pnlsplash); + //BA.debugLineNum = 39;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; +cl_appupdate._splashshowing = RemoteObject.createImmutable(false);__ref.setField("_splashshowing",cl_appupdate._splashshowing); + //BA.debugLineNum = 40;BA.debugLine="Private phone As Phone"; +cl_appupdate._phone = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phone",cl_appupdate._phone); + //BA.debugLineNum = 41;BA.debugLine="Private rp As RuntimePermissions"; +cl_appupdate._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",cl_appupdate._rp); + //BA.debugLineNum = 42;BA.debugLine="Private SharedFolder As String 'Foder where to"; +cl_appupdate._sharedfolder = RemoteObject.createImmutable("");__ref.setField("_sharedfolder",cl_appupdate._sharedfolder); + //BA.debugLineNum = 43;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; +cl_appupdate._usefileprovider = RemoteObject.createImmutable(false);__ref.setField("_usefileprovider",cl_appupdate._usefileprovider); + //BA.debugLineNum = 44;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; +cl_appupdate._logcolor1 = BA.numberCast(int.class, ((int)0xffff8c00));__ref.setField("_logcolor1",cl_appupdate._logcolor1); + //BA.debugLineNum = 45;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static void _downloadapk(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DownloadApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,158); +if (RapidSub.canDelegate("downloadapk")) { __ref.runUserSub(false, "cl_appupdate","downloadapk", __ref); return;} +ResumableSub_DownloadApk rsub = new ResumableSub_DownloadApk(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_DownloadApk extends BA.ResumableSub { +public ResumableSub_DownloadApk(gunav2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("DownloadApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,158); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97536641",BA.ObjectToString("---- AppUpdating.DownloadApk"),__ref.getField(true,"_logcolor1" /*RemoteObject*/ )); + BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 10; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_snewverapk" /*RemoteObject*/ ),BA.ObjectToString(""))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 162;BA.debugLine="sStatusCode = ERR_NOAPK"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_noapk" /*RemoteObject*/ )); + BA.debugLineNum = 163;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk file fu"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 9; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.__c.runVoidMethod ("LogImpl","97536645",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("missing apk file full path indication"))),0); +if (true) break; + +case 9: +//C +this.state = 10; +; + BA.debugLineNum = 164;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 165;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return ; + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 168;BA.debugLine="Dim j As HttpJob"; +Debug.JustUpdateDeviceLine(); +_j = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 169;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 170;BA.debugLine="j.Username = sUserName"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_username" /*RemoteObject*/ ,__ref.getField(true,"_susername" /*RemoteObject*/ )); + BA.debugLineNum = 171;BA.debugLine="j.Password = sUPassword"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_password" /*RemoteObject*/ ,__ref.getField(true,"_supassword" /*RemoteObject*/ )); + BA.debugLineNum = 172;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_snewverapk" /*RemoteObject*/ ))); + BA.debugLineNum = 173;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "cl_appupdate", "downloadapk"), (_j)); +this.state = 29; +return; +case 29: +//C +this.state = 11; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97536656",(RemoteObject.concat(RemoteObject.createImmutable("Donload ok? "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j.getField(true,"_success" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 175;BA.debugLine="If j.Success Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 11: +//if +this.state = 28; +if (_j.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 13; +}else { +this.state = 21; +}if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 177;BA.debugLine="Dim out As OutputStream"; +Debug.JustUpdateDeviceLine(); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 178;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",Fal"; +Debug.JustUpdateDeviceLine(); +_out = parent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(BA.ObjectToString("tmp.apk")),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("out", _out); + BA.debugLineNum = 179;BA.debugLine="File.Copy2(J.GetInputStream, out)"; +Debug.JustUpdateDeviceLine(); +parent.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getinputstream" /*RemoteObject*/ ).getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 180;BA.debugLine="out.Close"; +Debug.JustUpdateDeviceLine(); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97536663",(RemoteObject.createImmutable("Copy2 (saving) ok? TRUE")),0); + BA.debugLineNum = 182;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_download" /*RemoteObject*/ )); + BA.debugLineNum = 183;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 14: +//if +this.state = 19; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 16; +;}if (true) break; + +case 16: +//C +this.state = 19; +parent.__c.runVoidMethod ("LogImpl","97536665",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("new apk version downloaded and ready to install"))),0); +if (true) break; + +case 19: +//C +this.state = 28; +; + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97536667",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("Error: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j.getField(true,"_errormessage" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 186;BA.debugLine="sStatusCode = ERR_HTTP"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_http" /*RemoteObject*/ )); + BA.debugLineNum = 187;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 22: +//if +this.state = 27; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 24; +;}if (true) break; + +case 24: +//C +this.state = 27; +parent.__c.runVoidMethod ("LogImpl","97536669",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("error in httputils2"))),0); +if (true) break; + +case 27: +//C +this.state = 28; +; + BA.debugLineNum = 188;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tru"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Error: "),_j.getField(true,"_errormessage" /*RemoteObject*/ )))),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 28: +//C +this.state = -1; +; + BA.debugLineNum = 190;BA.debugLine="j.Release"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 191;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 192;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _jobdone(RemoteObject __ref,RemoteObject _j) throws Exception{ +} +public static RemoteObject _extractcl(RemoteObject __ref,RemoteObject _txtrow) throws Exception{ +try { + Debug.PushSubsStack("ExtractCL (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,381); +if (RapidSub.canDelegate("extractcl")) { return __ref.runUserSub(false, "cl_appupdate","extractcl", __ref, _txtrow);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _j1 = RemoteObject.createImmutable(0); +RemoteObject _j2 = RemoteObject.createImmutable(0); +Debug.locals.put("TxtRow", _txtrow); + BA.debugLineNum = 381;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 382;BA.debugLine="Dim i As Int"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 383;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +Debug.JustUpdateDeviceLine(); +_i = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("i", _i); + BA.debugLineNum = 384;BA.debugLine="If i <> -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 385;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; +Debug.JustUpdateDeviceLine(); +_j1 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j1", _j1);Debug.locals.put("j1", _j1); + BA.debugLineNum = 386;BA.debugLine="If j1 = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_j1,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 387;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; +Debug.JustUpdateDeviceLine(); +_j2 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j2", _j2);Debug.locals.put("j2", _j2); + BA.debugLineNum = 388;BA.debugLine="j1 = j2"; +Debug.JustUpdateDeviceLine(); +_j1 = _j2;Debug.locals.put("j1", _j1); + BA.debugLineNum = 389;BA.debugLine="If j1 < i Then j1 = -1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_j1,BA.numberCast(double.class, _i))) { +_j1 = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("j1", _j1);}; + }; + BA.debugLineNum = 391;BA.debugLine="If j1 <> -1 Then Return TxtRow.SubString2(i+11,j"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_j1,BA.numberCast(double.class, -(double) (0 + 1)))) { +if (true) return _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(11)}, "+",1, 1)),(Object)(_j1));} +else { +if (true) return _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(11)}, "+",1, 1)));}; + }else { + BA.debugLineNum = 393;BA.debugLine="Return \"\""; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToString(""); + }; + BA.debugLineNum = 395;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _extractsz(RemoteObject __ref,RemoteObject _txtrow) throws Exception{ +try { + Debug.PushSubsStack("ExtractSZ (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,399); +if (RapidSub.canDelegate("extractsz")) { return __ref.runUserSub(false, "cl_appupdate","extractsz", __ref, _txtrow);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _j1 = RemoteObject.createImmutable(0); +RemoteObject _j2 = RemoteObject.createImmutable(0); +RemoteObject _s = RemoteObject.createImmutable(""); +Debug.locals.put("TxtRow", _txtrow); + BA.debugLineNum = 399;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 400;BA.debugLine="Dim i As Int"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 401;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +Debug.JustUpdateDeviceLine(); +_i = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("i", _i); + BA.debugLineNum = 402;BA.debugLine="If i <> -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 403;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; +Debug.JustUpdateDeviceLine(); +_j1 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j1", _j1);Debug.locals.put("j1", _j1); + BA.debugLineNum = 404;BA.debugLine="If j1 = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_j1,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 405;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; +Debug.JustUpdateDeviceLine(); +_j2 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j2", _j2);Debug.locals.put("j2", _j2); + BA.debugLineNum = 406;BA.debugLine="j1 = j2"; +Debug.JustUpdateDeviceLine(); +_j1 = _j2;Debug.locals.put("j1", _j1); + BA.debugLineNum = 407;BA.debugLine="If j1 < i Then j1 = -1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_j1,BA.numberCast(double.class, _i))) { +_j1 = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("j1", _j1);}; + }; + BA.debugLineNum = 409;BA.debugLine="Dim s As String"; +Debug.JustUpdateDeviceLine(); +_s = RemoteObject.createImmutable("");Debug.locals.put("s", _s); + BA.debugLineNum = 410;BA.debugLine="If j1 <> -1 Then s = TxtRow.SubString2(i+10,j1)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_j1,BA.numberCast(double.class, -(double) (0 + 1)))) { +_s = _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(10)}, "+",1, 1)),(Object)(_j1));Debug.locals.put("s", _s);} +else { +_s = _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(10)}, "+",1, 1)));Debug.locals.put("s", _s);}; + BA.debugLineNum = 411;BA.debugLine="s = s.Replace(CRLF,\"\")"; +Debug.JustUpdateDeviceLine(); +_s = _s.runMethod(true,"replace",(Object)(cl_appupdate.__c.getField(true,"CRLF")),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 412;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +Debug.JustUpdateDeviceLine(); +_s = _s.runMethod(true,"replace",(Object)(BA.ObjectToString(cl_appupdate.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))))),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 413;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + }else { + BA.debugLineNum = 415;BA.debugLine="Return \"\""; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToString(""); + }; + BA.debugLineNum = 417;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _extractvn(RemoteObject __ref,RemoteObject _txtrow) throws Exception{ +try { + Debug.PushSubsStack("ExtractVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,360); +if (RapidSub.canDelegate("extractvn")) { return __ref.runUserSub(false, "cl_appupdate","extractvn", __ref, _txtrow);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _j1 = RemoteObject.createImmutable(0); +RemoteObject _j2 = RemoteObject.createImmutable(0); +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _s = RemoteObject.createImmutable(""); +Debug.locals.put("TxtRow", _txtrow); + BA.debugLineNum = 360;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 361;BA.debugLine="Dim i As Int"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 362;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; +Debug.JustUpdateDeviceLine(); +_i = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("=")));Debug.locals.put("i", _i); + BA.debugLineNum = 363;BA.debugLine="If i <> -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 364;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; +Debug.JustUpdateDeviceLine(); +_j1 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j1", _j1);Debug.locals.put("j1", _j1); + BA.debugLineNum = 365;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; +Debug.JustUpdateDeviceLine(); +_j2 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j2", _j2);Debug.locals.put("j2", _j2); + BA.debugLineNum = 366;BA.debugLine="Dim j As Int = Min(j1, j2)"; +Debug.JustUpdateDeviceLine(); +_j = BA.numberCast(int.class, cl_appupdate.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, _j1)),(Object)(BA.numberCast(double.class, _j2))));Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 367;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_j,BA.numberCast(double.class, -(double) (0 + 1)))) { +_j = BA.numberCast(int.class, cl_appupdate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, _j1)),(Object)(BA.numberCast(double.class, _j2))));Debug.locals.put("j", _j);}; + BA.debugLineNum = 368;BA.debugLine="Dim s As String"; +Debug.JustUpdateDeviceLine(); +_s = RemoteObject.createImmutable("");Debug.locals.put("s", _s); + BA.debugLineNum = 369;BA.debugLine="If j <> - 1 Then s=TxtRow.SubString2(i+1,j) Else"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_j,BA.numberCast(double.class, -(double) (0 + 1)))) { +_s = _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1)),(Object)(_j));Debug.locals.put("s", _s);} +else { +_s = _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1)));Debug.locals.put("s", _s);}; + BA.debugLineNum = 370;BA.debugLine="s=s.Replace(CRLF,\"\")"; +Debug.JustUpdateDeviceLine(); +_s = _s.runMethod(true,"replace",(Object)(cl_appupdate.__c.getField(true,"CRLF")),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 371;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +Debug.JustUpdateDeviceLine(); +_s = _s.runMethod(true,"replace",(Object)(BA.ObjectToString(cl_appupdate.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))))),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 372;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + }else { + BA.debugLineNum = 374;BA.debugLine="Return \"\""; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToString(""); + }; + BA.debugLineNum = 376;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _finito(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Finito (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,290); +if (RapidSub.canDelegate("finito")) { return __ref.runUserSub(false, "cl_appupdate","finito", __ref);} + BA.debugLineNum = 290;BA.debugLine="Private Sub Finito"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 291;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; +Debug.JustUpdateDeviceLine(); +if (cl_appupdate.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_event" /*RemoteObject*/ ),RemoteObject.createImmutable("_UpdateComplete")))).get().booleanValue()) { + BA.debugLineNum = 292;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_event" /*RemoteObject*/ ),RemoteObject.createImmutable("_UpdateComplete")))); + }; + BA.debugLineNum = 294;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getavailablespace(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetAvailableSpace (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,137); +if (RapidSub.canDelegate("getavailablespace")) { return __ref.runUserSub(false, "cl_appupdate","getavailablespace", __ref);} + BA.debugLineNum = 137;BA.debugLine="Public Sub GetAvailableSpace As Long"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 138;BA.debugLine="Return GetFreeSpace"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_getfreespace" /*RemoteObject*/ ); + BA.debugLineNum = 139;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0L); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getcurvn(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getCurVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,114); +if (RapidSub.canDelegate("getcurvn")) { return __ref.runUserSub(false, "cl_appupdate","getcurvn", __ref);} + BA.debugLineNum = 114;BA.debugLine="Public Sub getCurVN As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 115;BA.debugLine="Return curver"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_curver" /*RemoteObject*/ ); + BA.debugLineNum = 116;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getfileuri(RemoteObject __ref,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("GetFileUri (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,503); +if (RapidSub.canDelegate("getfileuri")) { return __ref.runUserSub(false, "cl_appupdate","getfileuri", __ref, _filename);} +RemoteObject _uri = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _fp = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 503;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 504;BA.debugLine="If UseFileProvider = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_usefileprovider" /*RemoteObject*/ ),cl_appupdate.__c.getField(true,"False"))) { + BA.debugLineNum = 505;BA.debugLine="Dim uri As JavaObject"; +Debug.JustUpdateDeviceLine(); +_uri = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("uri", _uri); + BA.debugLineNum = 506;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; +Debug.JustUpdateDeviceLine(); +if (true) return _uri.runMethod(false,"InitializeStatic",(Object)(RemoteObject.createImmutable("android.net.Uri"))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("parse")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.concat(RemoteObject.createImmutable("file://"),cl_appupdate.__c.getField(false,"File").runMethod(true,"Combine",(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_filename))))}))); + }else { + BA.debugLineNum = 508;BA.debugLine="Dim f As JavaObject"; +Debug.JustUpdateDeviceLine(); +_f = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("f", _f); + BA.debugLineNum = 509;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.JustUpdateDeviceLine(); +_f.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(_filename)}))); + BA.debugLineNum = 510;BA.debugLine="Dim fp As JavaObject"; +Debug.JustUpdateDeviceLine(); +_fp = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("fp", _fp); + BA.debugLineNum = 511;BA.debugLine="Dim context As JavaObject"; +Debug.JustUpdateDeviceLine(); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 512;BA.debugLine="context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_context.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 513;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +Debug.JustUpdateDeviceLine(); +_fp.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("androidx.core.content.FileProvider"))); + BA.debugLineNum = 514;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +Debug.JustUpdateDeviceLine(); +if (true) return _fp.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getUriForFile")),(Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_context.getObject()),(RemoteObject.concat(cl_appupdate.__c.getField(false,"Application").runMethod(true,"getPackageName"),RemoteObject.createImmutable(".provider"))),(_f.getObject())}))); + }; + BA.debugLineNum = 516;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getfreespace(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetFreeSpace (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,421); +if (RapidSub.canDelegate("getfreespace")) { return __ref.runUserSub(false, "cl_appupdate","getfreespace", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 421;BA.debugLine="Private Sub GetFreeSpace As Long"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 422;BA.debugLine="Dim jo As JavaObject"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 423;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ ))}))); + BA.debugLineNum = 424;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(long.class, _jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getFreeSpace")),(Object)((cl_appupdate.__c.getField(false,"Null"))))); + BA.debugLineNum = 425;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0L); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getnmappinst(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetNMAppInst (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,435); +if (RapidSub.canDelegate("getnmappinst")) { return __ref.runUserSub(false, "cl_appupdate","getnmappinst", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _resolver = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 435;BA.debugLine="Private Sub GetNMAppInst As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 436;BA.debugLine="Dim jo As JavaObject"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 437;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.provider.Settings.Secure"))); + BA.debugLineNum = 438;BA.debugLine="Dim context As JavaObject"; +Debug.JustUpdateDeviceLine(); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 439;BA.debugLine="context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_context.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 440;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\"g"; +Debug.JustUpdateDeviceLine(); +_resolver = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_resolver = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _context.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getContentResolver")),(Object)((cl_appupdate.__c.getField(false,"Null")))));Debug.locals.put("resolver", _resolver);Debug.locals.put("resolver", _resolver); + BA.debugLineNum = 441;BA.debugLine="Return jo.RunMethod(\"getString\", Array(resolver,"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToString(_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getString")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_resolver.getObject()),(RemoteObject.createImmutable("install_non_market_apps"))})))); + BA.debugLineNum = 442;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpackagename(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getPackageName (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,79); +if (RapidSub.canDelegate("getpackagename")) { return __ref.runUserSub(false, "cl_appupdate","getpackagename", __ref);} + BA.debugLineNum = 79;BA.debugLine="Public Sub getPackageName As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 80;BA.debugLine="Return sPackageName"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_spackagename" /*RemoteObject*/ ); + BA.debugLineNum = 81;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsdkversion(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetSDKVersion (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,428); +if (RapidSub.canDelegate("getsdkversion")) { return __ref.runUserSub(false, "cl_appupdate","getsdkversion", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 428;BA.debugLine="Private Sub GetSDKVersion As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 429;BA.debugLine="Dim jo As JavaObject"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 430;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.os.Build.VERSION"))); + BA.debugLineNum = 431;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(int.class, _jo.runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("SDK_INT")))); + BA.debugLineNum = 432;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getstatus(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getStatus (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,108); +if (RapidSub.canDelegate("getstatus")) { return __ref.runUserSub(false, "cl_appupdate","getstatus", __ref);} + BA.debugLineNum = 108;BA.debugLine="Public Sub getStatus As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 109;BA.debugLine="Return sStatusCode"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_sstatuscode" /*RemoteObject*/ ); + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getwebchangelog(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getWebChangeLog (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,126); +if (RapidSub.canDelegate("getwebchangelog")) { return __ref.runUserSub(false, "cl_appupdate","getwebchangelog", __ref);} + BA.debugLineNum = 126;BA.debugLine="Public Sub getWebChangeLog As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 127;BA.debugLine="Return webclog"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_webclog" /*RemoteObject*/ ); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getwebfilesize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getWebFileSize (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,132); +if (RapidSub.canDelegate("getwebfilesize")) { return __ref.runUserSub(false, "cl_appupdate","getwebfilesize", __ref);} + BA.debugLineNum = 132;BA.debugLine="Public Sub getWebFileSize As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 133;BA.debugLine="Return webfsize"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_webfsize" /*RemoteObject*/ ); + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getwebvn(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getWebVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,120); +if (RapidSub.canDelegate("getwebvn")) { return __ref.runUserSub(false, "cl_appupdate","getwebvn", __ref);} + BA.debugLineNum = 120;BA.debugLine="Public Sub getWebVN As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 121;BA.debugLine="Return webver"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_webver" /*RemoteObject*/ ); + BA.debugLineNum = 122;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callbackmodule,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,48); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "cl_appupdate","initialize", __ref, _ba, _callbackmodule, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +Debug.locals.put("ba", _ba); +Debug.locals.put("CallbackModule", _callbackmodule); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 48;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 49;BA.debugLine="Callback = CallbackModule"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_callback" /*RemoteObject*/ ,_callbackmodule); + BA.debugLineNum = 50;BA.debugLine="Event = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_event" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 51;BA.debugLine="sPackageName = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_spackagename" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 52;BA.debugLine="sNewVerTxt = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_snewvertxt" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 53;BA.debugLine="sNewVerApk = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_snewverapk" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 54;BA.debugLine="sUserName = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_susername" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 55;BA.debugLine="sUPassword = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_supassword" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 56;BA.debugLine="sStatusCode = OK_INIT"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_init" /*RemoteObject*/ )); + BA.debugLineNum = 57;BA.debugLine="curver = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_curver" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 58;BA.debugLine="webver = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webver" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 59;BA.debugLine="sVerbose = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sverbose" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"False")); + BA.debugLineNum = 60;BA.debugLine="Dim p As Phone"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("p", _p); + BA.debugLineNum = 61;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_p.runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 24)) || RemoteObject.solveBoolean("=",cl_appupdate.__c.getField(false,"File").runMethod(true,"getExternalWritable"),cl_appupdate.__c.getField(true,"False"))) { + BA.debugLineNum = 62;BA.debugLine="UseFileProvider = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_usefileprovider" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"True")); + BA.debugLineNum = 63;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sharedfolder" /*RemoteObject*/ ,cl_appupdate.__c.getField(false,"File").runMethod(true,"Combine",(Object)(cl_appupdate.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("shared")))); + BA.debugLineNum = 64;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(BA.ObjectToString("")),(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ ))); + }else { + BA.debugLineNum = 66;BA.debugLine="UseFileProvider = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_usefileprovider" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"False")); + BA.debugLineNum = 67;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sharedfolder" /*RemoteObject*/ ,__ref.getField(false,"_rp" /*RemoteObject*/ ).runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable("shared")))); + }; + BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runVoidMethod ("LogImpl","96553621",(RemoteObject.concat(RemoteObject.createImmutable("SDK#: "),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_p.runMethod(true,"getSdkVersion")))),RemoteObject.createImmutable(" - UseFP: "),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_usefileprovider" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - SharedFolder: "),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _installapk(RemoteObject __ref,RemoteObject _pstatus) throws Exception{ +try { + Debug.PushSubsStack("InstallApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,195); +if (RapidSub.canDelegate("installapk")) { return __ref.runUserSub(false, "cl_appupdate","installapk", __ref, _pstatus);} +Debug.locals.put("pstatus", _pstatus); + BA.debugLineNum = 195;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 196;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runVoidMethod ("LogImpl","97602177",BA.ObjectToString("---- AppUpdating.InstallApk"),__ref.getField(true,"_logcolor1" /*RemoteObject*/ )); + BA.debugLineNum = 197;BA.debugLine="If pstatus Then"; +Debug.JustUpdateDeviceLine(); +if (_pstatus.get().booleanValue()) { + BA.debugLineNum = 198;BA.debugLine="SendInstallIntent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_sendinstallintent" /*RemoteObject*/ ); + BA.debugLineNum = 199;BA.debugLine="sStatusCode = OK_INSTALL"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_install" /*RemoteObject*/ )); + BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +cl_appupdate.__c.runVoidMethod ("LogImpl","97602181",RemoteObject.concat(cl_appupdate.__c.getField(true,"TAB"),RemoteObject.createImmutable("user asked to install new apk")),0);}; + }else { + BA.debugLineNum = 202;BA.debugLine="sStatusCode = ERR_NOPERM"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_noperm" /*RemoteObject*/ )); + BA.debugLineNum = 203;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +cl_appupdate.__c.runVoidMethod ("LogImpl","97602184",RemoteObject.concat(cl_appupdate.__c.getField(true,"TAB"),RemoteObject.createImmutable("no permissions from user to install new apk")),0);}; + }; + BA.debugLineNum = 205;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 206;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isvalidcv(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsValidCV (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,297); +if (RapidSub.canDelegate("isvalidcv")) { return __ref.runUserSub(false, "cl_appupdate","isvalidcv", __ref);} +RemoteObject _pm = RemoteObject.declareNull("anywheresoftware.b4a.phone.PackageManagerWrapper"); + BA.debugLineNum = 297;BA.debugLine="Private Sub IsValidCV As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 298;BA.debugLine="If sPackageName = \"\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_spackagename" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 299;BA.debugLine="curver = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_curver" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 300;BA.debugLine="sStatusCode = ERR_NOPKG"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_nopkg" /*RemoteObject*/ )); + BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +cl_appupdate.__c.runVoidMethod ("LogImpl","97864324",(RemoteObject.concat(RemoteObject.createImmutable(""),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cl_appupdate.__c.getField(true,"TAB")))),RemoteObject.createImmutable("missing package name for current version check"))),0);}; + }else { + BA.debugLineNum = 303;BA.debugLine="Dim pm As PackageManager"; +Debug.JustUpdateDeviceLine(); +_pm = RemoteObject.createNew ("anywheresoftware.b4a.phone.PackageManagerWrapper");Debug.locals.put("pm", _pm); + BA.debugLineNum = 304;BA.debugLine="curver = pm.GetVersionName(sPackageName)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_curver" /*RemoteObject*/ ,_pm.runMethod(true,"GetVersionName",(Object)(__ref.getField(true,"_spackagename" /*RemoteObject*/ )))); + BA.debugLineNum = 305;BA.debugLine="sStatusCode = OK_CURVER 'got current ve"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_curver" /*RemoteObject*/ )); + BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +cl_appupdate.__c.runVoidMethod ("LogImpl","97864329",(RemoteObject.concat(RemoteObject.createImmutable(""),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cl_appupdate.__c.getField(true,"TAB")))),RemoteObject.createImmutable("Current Version: "),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_curver" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + }; + BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean((RemoteObject.solveBoolean("=",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_ok_curver" /*RemoteObject*/ ))))); + BA.debugLineNum = 309;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isvalidwv(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsvalidWV (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,312); +if (RapidSub.canDelegate("isvalidwv")) { return __ref.runUserSub(false, "cl_appupdate","isvalidwv", __ref);} +ResumableSub_IsvalidWV rsub = new ResumableSub_IsvalidWV(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_IsvalidWV extends BA.ResumableSub { +public ResumableSub_IsvalidWV(gunav2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("IsvalidWV (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,312); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97929857",RemoteObject.createImmutable("IsValidComplete start"),0); + BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 60; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_snewvertxt" /*RemoteObject*/ ),BA.ObjectToString(""))) { +this.state = 3; +}else { +this.state = 11; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 315;BA.debugLine="webver = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webver" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 316;BA.debugLine="sStatusCode = ERR_NOTXT"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_notxt" /*RemoteObject*/ )); + BA.debugLineNum = 317;BA.debugLine="If sVerbose Then Log($\"${TAB}missing info file f"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 9; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.__c.runVoidMethod ("LogImpl","97929861",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("missing info file full path indication"))),0); +if (true) break; + +case 9: +//C +this.state = 60; +; + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 320;BA.debugLine="Dim j As HttpJob"; +Debug.JustUpdateDeviceLine(); +_j = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 321;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 322;BA.debugLine="j.Username = sUserName"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_username" /*RemoteObject*/ ,__ref.getField(true,"_susername" /*RemoteObject*/ )); + BA.debugLineNum = 323;BA.debugLine="j.Password = sUPassword"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_password" /*RemoteObject*/ ,__ref.getField(true,"_supassword" /*RemoteObject*/ )); + BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_snewvertxt" /*RemoteObject*/ ))); + BA.debugLineNum = 325;BA.debugLine="Log(\"before\")"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97929869",RemoteObject.createImmutable("before"),0); + BA.debugLineNum = 326;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "cl_appupdate", "isvalidwv"), (_j)); +this.state = 61; +return; +case 61: +//C +this.state = 12; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 327;BA.debugLine="Log(\"after\")"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97929871",RemoteObject.createImmutable("after"),0); + BA.debugLineNum = 328;BA.debugLine="If j.Success Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 12: +//if +this.state = 59; +if (_j.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 14; +}else { +this.state = 52; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 329;BA.debugLine="If sVerbose Then Log($\"Webserver's info file co"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 15: +//if +this.state = 20; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 17; +;}if (true) break; + +case 17: +//C +this.state = 20; +parent.__c.runVoidMethod ("LogImpl","97929873",(RemoteObject.concat(RemoteObject.createImmutable("Webserver's info file content: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); +if (true) break; + +case 20: +//C +this.state = 21; +; + BA.debugLineNum = 330;BA.debugLine="If Not(J.GetString.Contains(\"\"))"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 21: +//if +this.state = 50; +if (parent.__c.runMethod(true,"Not",(Object)(_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ ).runMethod(true,"contains",(Object)(RemoteObject.createImmutable(""))))).get().booleanValue()) { +this.state = 23; +}else { +this.state = 43; +}if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 331;BA.debugLine="webver = ExtractVN(J.GetString)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webver" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_extractvn" /*RemoteObject*/ ,(Object)(_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )))); + BA.debugLineNum = 332;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webclog" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_extractcl" /*RemoteObject*/ ,(Object)(_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )))); + BA.debugLineNum = 333;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webfsize" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_extractsz" /*RemoteObject*/ ,(Object)(_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )))); + BA.debugLineNum = 334;BA.debugLine="If webver = \"\" Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 24: +//if +this.state = 41; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_webver" /*RemoteObject*/ ),BA.ObjectToString(""))) { +this.state = 26; +}else { +this.state = 34; +}if (true) break; + +case 26: +//C +this.state = 27; + BA.debugLineNum = 335;BA.debugLine="sStatusCode = ERR_TXTROW"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_txtrow" /*RemoteObject*/ )); + BA.debugLineNum = 336;BA.debugLine="If sVerbose Then Log($\"${TAB}wrong row format"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 27: +//if +this.state = 32; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 29; +;}if (true) break; + +case 29: +//C +this.state = 32; +parent.__c.runVoidMethod ("LogImpl","97929880",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("wrong row format in info file "))),0); +if (true) break; + +case 32: +//C +this.state = 41; +; + if (true) break; + +case 34: +//C +this.state = 35; + BA.debugLineNum = 338;BA.debugLine="sStatusCode = OK_WEBVER 'read apk's ver"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_webver" /*RemoteObject*/ )); + BA.debugLineNum = 339;BA.debugLine="If sVerbose Then Log($\"${TAB}Web version numb"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 35: +//if +this.state = 40; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 37; +;}if (true) break; + +case 37: +//C +this.state = 40; +parent.__c.runVoidMethod ("LogImpl","97929883",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("Web version number: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_webver" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); +if (true) break; + +case 40: +//C +this.state = 41; +; + if (true) break; + +case 41: +//C +this.state = 50; +; + if (true) break; + +case 43: +//C +this.state = 44; + BA.debugLineNum = 342;BA.debugLine="sStatusCode = ERR_HTML 'website returne"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_html" /*RemoteObject*/ )); + BA.debugLineNum = 343;BA.debugLine="If sVerbose Then Log($\"${TAB}ERROR: website re"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 44: +//if +this.state = 49; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 46; +;}if (true) break; + +case 46: +//C +this.state = 49; +parent.__c.runVoidMethod ("LogImpl","97929887",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("ERROR: website returned an HTML error page"))),0); +if (true) break; + +case 49: +//C +this.state = 50; +; + if (true) break; + +case 50: +//C +this.state = 59; +; + if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97929890",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("Error: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j.getField(true,"_errormessage" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 347;BA.debugLine="sStatusCode = ERR_HTTP"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_http" /*RemoteObject*/ )); + BA.debugLineNum = 348;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 53: +//if +this.state = 58; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 55; +;}if (true) break; + +case 55: +//C +this.state = 58; +parent.__c.runVoidMethod ("LogImpl","97929892",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("error in httputils2"))),0); +if (true) break; + +case 58: +//C +this.state = 59; +; + BA.debugLineNum = 349;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tr"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Error: "),_j.getField(true,"_errormessage" /*RemoteObject*/ )))),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 59: +//C +this.state = 60; +; + BA.debugLineNum = 351;BA.debugLine="j.Release"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + if (true) break; + +case 60: +//C +this.state = -1; +; + BA.debugLineNum = 353;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; +Debug.JustUpdateDeviceLine(); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(((RemoteObject.solveBoolean("=",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_ok_webver" /*RemoteObject*/ )))))));return;}; + BA.debugLineNum = 354;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _readcurvn(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ReadCurVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,143); +if (RapidSub.canDelegate("readcurvn")) { return __ref.runUserSub(false, "cl_appupdate","readcurvn", __ref);} + BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runVoidMethod ("LogImpl","97405569",BA.ObjectToString("---- AppUpdating.ReadCurVN"),__ref.getField(true,"_logcolor1" /*RemoteObject*/ )); + BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_isvalidcv" /*RemoteObject*/ ); + BA.debugLineNum = 146;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 147;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _readwebvn(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ReadWebVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,151); +if (RapidSub.canDelegate("readwebvn")) { __ref.runUserSub(false, "cl_appupdate","readwebvn", __ref); return;} +ResumableSub_ReadWebVN rsub = new ResumableSub_ReadWebVN(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_ReadWebVN extends BA.ResumableSub { +public ResumableSub_ReadWebVN(gunav2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.cl_appupdate parent; +RemoteObject _okwebver = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ReadWebVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,151); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97471105",BA.ObjectToString("---- AppUpdating.ReadWebVN"),__ref.getField(true,"_logcolor1" /*RemoteObject*/ )); + BA.debugLineNum = 153;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "cl_appupdate", "readwebvn"), __ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_isvalidwv" /*RemoteObject*/ )); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_okwebver = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("OkWebVer", _okwebver); +; + BA.debugLineNum = 154;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _complete(RemoteObject __ref,RemoteObject _okwebver) throws Exception{ +} +public static RemoteObject _sendinstallintent(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("SendInstallIntent (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,487); +if (RapidSub.canDelegate("sendinstallintent")) { return __ref.runUserSub(false, "cl_appupdate","sendinstallintent", __ref);} +RemoteObject _apkname = RemoteObject.createImmutable(""); +RemoteObject _i = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + BA.debugLineNum = 487;BA.debugLine="Private Sub SendInstallIntent"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 488;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; +Debug.JustUpdateDeviceLine(); +_apkname = BA.ObjectToString("tmp.apk");Debug.locals.put("ApkName", _apkname);Debug.locals.put("ApkName", _apkname); + BA.debugLineNum = 489;BA.debugLine="Dim i As Intent"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("i", _i); + BA.debugLineNum = 490;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 24))) { + BA.debugLineNum = 491;BA.debugLine="i.Initialize(\"android.intent.action.INSTALL_PACK"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("Initialize",(Object)(BA.ObjectToString("android.intent.action.INSTALL_PACKAGE")),(Object)(BA.ObjectToString(__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_apkname))))); + BA.debugLineNum = 492;BA.debugLine="i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_UR"; +Debug.JustUpdateDeviceLine(); +_i.runMethod(true,"setFlags",cl_appupdate.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_i.runMethod(true,"getFlags")),(Object)(BA.numberCast(int.class, 1)))); + }else { + BA.debugLineNum = 494;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("Initialize",(Object)(_i.getField(true,"ACTION_VIEW")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("file://"),cl_appupdate.__c.getField(false,"File").runMethod(true,"Combine",(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_apkname))))); + BA.debugLineNum = 495;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + }; + BA.debugLineNum = 497;BA.debugLine="StartActivity(i)"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_i.getObject()))); + BA.debugLineNum = 498;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setandstartsplashscreen(RemoteObject __ref,RemoteObject _callingact,RemoteObject _bm) throws Exception{ +try { + Debug.PushSubsStack("SetAndStartSplashScreen (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,532); +if (RapidSub.canDelegate("setandstartsplashscreen")) { return __ref.runUserSub(false, "cl_appupdate","setandstartsplashscreen", __ref, _callingact, _bm);} +RemoteObject _bitimage = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.BitmapDrawable"); +Debug.locals.put("CallingAct", _callingact); +Debug.locals.put("BM", _bm); + BA.debugLineNum = 532;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 533;BA.debugLine="If BM.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_bm.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 534;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pnl1"))); + BA.debugLineNum = 535;BA.debugLine="pnlSplash.Tag = \"splash\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("splash"))); + BA.debugLineNum = 536;BA.debugLine="Dim BitImage As BitmapDrawable"; +Debug.JustUpdateDeviceLine(); +_bitimage = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.BitmapDrawable");Debug.locals.put("BitImage", _bitimage); + BA.debugLineNum = 537;BA.debugLine="BitImage.Initialize(BM)"; +Debug.JustUpdateDeviceLine(); +_bitimage.runVoidMethod ("Initialize",(Object)((_bm.getObject()))); + BA.debugLineNum = 538;BA.debugLine="BitImage.Gravity = Gravity.FILL"; +Debug.JustUpdateDeviceLine(); +_bitimage.runMethod(true,"setGravity",cl_appupdate.__c.getField(false,"Gravity").getField(true,"FILL")); + BA.debugLineNum = 539;BA.debugLine="CallingAct.AddView(pnlSplash, 0, 0, CallingAct.W"; +Debug.JustUpdateDeviceLine(); +_callingact.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_callingact.runMethod(true,"getWidth")),(Object)(_callingact.runMethod(true,"getHeight"))); + BA.debugLineNum = 540;BA.debugLine="pnlSplash.Background = BitImage"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runMethod(false,"setBackground",(_bitimage.getObject())); + BA.debugLineNum = 541;BA.debugLine="pnlSplash.BringToFront"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 542;BA.debugLine="SplashShowing = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_splashshowing" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"True")); + }; + BA.debugLineNum = 544;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcredentials(RemoteObject __ref,RemoteObject _usern,RemoteObject _userp) throws Exception{ +try { + Debug.PushSubsStack("setCredentials (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,96); +if (RapidSub.canDelegate("setcredentials")) { return __ref.runUserSub(false, "cl_appupdate","setcredentials", __ref, _usern, _userp);} +Debug.locals.put("UserN", _usern); +Debug.locals.put("UserP", _userp); + BA.debugLineNum = 96;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 97;BA.debugLine="sUserName = UserN"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_susername" /*RemoteObject*/ ,_usern); + BA.debugLineNum = 98;BA.debugLine="sUPassword = UserP"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_supassword" /*RemoteObject*/ ,_userp); + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setfileuriasintentdata(RemoteObject __ref,RemoteObject _intent,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("SetFileUriAsIntentData (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,520); +if (RapidSub.canDelegate("setfileuriasintentdata")) { return __ref.runUserSub(false, "cl_appupdate","setfileuriasintentdata", __ref, _intent, _filename);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("Intent", _intent); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 520;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 521;BA.debugLine="Dim jo As JavaObject = Intent"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _intent.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 522;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setData")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename))}))); + BA.debugLineNum = 523;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +Debug.JustUpdateDeviceLine(); +_intent.runMethod(true,"setFlags",cl_appupdate.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_intent.runMethod(true,"getFlags")),(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 524;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setnewverapk(RemoteObject __ref,RemoteObject _nva) throws Exception{ +try { + Debug.PushSubsStack("setNewVerApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,91); +if (RapidSub.canDelegate("setnewverapk")) { return __ref.runUserSub(false, "cl_appupdate","setnewverapk", __ref, _nva);} +Debug.locals.put("NVA", _nva); + BA.debugLineNum = 91;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 92;BA.debugLine="sNewVerApk = NVA"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_snewverapk" /*RemoteObject*/ ,_nva); + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setnewvertxt(RemoteObject __ref,RemoteObject _nvt) throws Exception{ +try { + Debug.PushSubsStack("setNewVerTxt (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,86); +if (RapidSub.canDelegate("setnewvertxt")) { return __ref.runUserSub(false, "cl_appupdate","setnewvertxt", __ref, _nvt);} +Debug.locals.put("NVT", _nvt); + BA.debugLineNum = 86;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="sNewVerTxt = NVT"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_snewvertxt" /*RemoteObject*/ ,_nvt); + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setpackagename(RemoteObject __ref,RemoteObject _pn) throws Exception{ +try { + Debug.PushSubsStack("setPackageName (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,74); +if (RapidSub.canDelegate("setpackagename")) { return __ref.runUserSub(false, "cl_appupdate","setpackagename", __ref, _pn);} +Debug.locals.put("PN", _pn); + BA.debugLineNum = 74;BA.debugLine="Public Sub setPackageName(PN As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 75;BA.debugLine="sPackageName = PN"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_spackagename" /*RemoteObject*/ ,_pn); + BA.debugLineNum = 76;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setverbose(RemoteObject __ref,RemoteObject _verbose) throws Exception{ +try { + Debug.PushSubsStack("setVerbose (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("setverbose")) { return __ref.runUserSub(false, "cl_appupdate","setverbose", __ref, _verbose);} +Debug.locals.put("Verbose", _verbose); + BA.debugLineNum = 102;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 103;BA.debugLine="sVerbose = Verbose"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sverbose" /*RemoteObject*/ ,_verbose); + BA.debugLineNum = 104;BA.debugLine="newinst2.svcVerbose = Verbose"; +Debug.JustUpdateDeviceLine(); +cl_appupdate._newinst2._svcverbose /*RemoteObject*/ = _verbose; + BA.debugLineNum = 105;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _stopsplashscreen(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StopSplashScreen (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,547); +if (RapidSub.canDelegate("stopsplashscreen")) { return __ref.runUserSub(false, "cl_appupdate","stopsplashscreen", __ref);} + BA.debugLineNum = 547;BA.debugLine="Public Sub StopSplashScreen"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 548;BA.debugLine="If SplashShowing Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_splashshowing" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 549;BA.debugLine="SplashShowing = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_splashshowing" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"False")); + BA.debugLineNum = 550;BA.debugLine="pnlSplash.RemoveView"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runVoidMethod ("RemoveView"); + }; + BA.debugLineNum = 552;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _tryapkupdate(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TryApkUpdate (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,245); +if (RapidSub.canDelegate("tryapkupdate")) { __ref.runUserSub(false, "cl_appupdate","tryapkupdate", __ref); return;} +ResumableSub_TryApkUpdate rsub = new ResumableSub_TryApkUpdate(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_TryApkUpdate extends BA.ResumableSub { +public ResumableSub_TryApkUpdate(gunav2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("TryApkUpdate (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,245); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97733249",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("-- TryApkUpdate"))),__ref.getField(true,"_logcolor1" /*RemoteObject*/ )); + BA.debugLineNum = 248;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 44; +if ((RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("g",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, 0))))) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_no_newerapk" /*RemoteObject*/ )))))))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 250;BA.debugLine="Dim j As HttpJob"; +Debug.JustUpdateDeviceLine(); +_j = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 251;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 252;BA.debugLine="j.Username = sUserName"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_username" /*RemoteObject*/ ,__ref.getField(true,"_susername" /*RemoteObject*/ )); + BA.debugLineNum = 253;BA.debugLine="j.Password = sUPassword"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_password" /*RemoteObject*/ ,__ref.getField(true,"_supassword" /*RemoteObject*/ )); + BA.debugLineNum = 254;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_snewverapk" /*RemoteObject*/ ))); + BA.debugLineNum = 255;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "cl_appupdate", "tryapkupdate"), (_j)); +this.state = 45; +return; +case 45: +//C +this.state = 4; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97733259",(RemoteObject.concat(RemoteObject.createImmutable("Donload ok? "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j.getField(true,"_success" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 257;BA.debugLine="If j.Success Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 33; +if (_j.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 6; +}else { +this.state = 26; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 258;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 7: +//try +this.state = 24; +this.catchState = 17; +this.state = 9; +if (true) break; + +case 9: +//C +this.state = 10; +this.catchState = 17; + BA.debugLineNum = 260;BA.debugLine="Dim out As OutputStream"; +Debug.JustUpdateDeviceLine(); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 261;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",F"; +Debug.JustUpdateDeviceLine(); +_out = parent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(BA.ObjectToString("tmp.apk")),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("out", _out); + BA.debugLineNum = 262;BA.debugLine="File.Copy2(j.GetInputStream, out)"; +Debug.JustUpdateDeviceLine(); +parent.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getinputstream" /*RemoteObject*/ ).getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 263;BA.debugLine="out.Close"; +Debug.JustUpdateDeviceLine(); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97733267",(RemoteObject.createImmutable("Copy2 (saving) ok? TRUE")),0); + BA.debugLineNum = 265;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_download" /*RemoteObject*/ )); + BA.debugLineNum = 266;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 10: +//if +this.state = 15; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent.__c.runVoidMethod ("LogImpl","97733269",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("new apk version downloaded and ready to install"))),0); +if (true) break; + +case 15: +//C +this.state = 24; +; + Debug.CheckDeviceExceptions(); +if (true) break; + +case 17: +//C +this.state = 18; +this.catchState = 0; + BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97733271",(RemoteObject.createImmutable("Copy2 (saving) ok? FALSE")),0); + BA.debugLineNum = 269;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_download" /*RemoteObject*/ )); + BA.debugLineNum = 270;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 18: +//if +this.state = 23; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 20; +;}if (true) break; + +case 20: +//C +this.state = 23; +parent.__c.runVoidMethod ("LogImpl","97733273",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("failed download of new apk version"))),0); +if (true) break; + +case 23: +//C +this.state = 24; +; + BA.debugLineNum = 271;BA.debugLine="ToastMessageShow(LastException, True)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba")).getObject())),(Object)(parent.__c.getField(true,"True"))); + if (true) break; +if (true) break; + +case 24: +//C +this.state = 33; +this.catchState = 0; +; + if (true) break; + +case 26: +//C +this.state = 27; + BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97733277",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("Error: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j.getField(true,"_errormessage" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 275;BA.debugLine="sStatusCode = ERR_HTTP"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_http" /*RemoteObject*/ )); + BA.debugLineNum = 276;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 27: +//if +this.state = 32; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 29; +;}if (true) break; + +case 29: +//C +this.state = 32; +parent.__c.runVoidMethod ("LogImpl","97733279",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("error in httputils2"))),0); +if (true) break; + +case 32: +//C +this.state = 33; +; + BA.debugLineNum = 277;BA.debugLine="ToastMessageShow($\"Error: ${J.ErrorMessage}\"$,"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Error: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_j.getField(true,"_errormessage" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 33: +//C +this.state = 34; +; + BA.debugLineNum = 279;BA.debugLine="j.Release"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 280;BA.debugLine="If sStatusCode == OK_DOWNLOAD Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 34: +//if +this.state = 43; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_ok_download" /*RemoteObject*/ )))) { +this.state = 36; +}if (true) break; + +case 36: +//C +this.state = 37; + BA.debugLineNum = 281;BA.debugLine="SendInstallIntent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_sendinstallintent" /*RemoteObject*/ ); + BA.debugLineNum = 282;BA.debugLine="sStatusCode = OK_INSTALL"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_install" /*RemoteObject*/ )); + BA.debugLineNum = 283;BA.debugLine="If sVerbose Then Log($\"${TAB}user asked to inst"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 37: +//if +this.state = 42; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 39; +;}if (true) break; + +case 39: +//C +this.state = 42; +parent.__c.runVoidMethod ("LogImpl","97733286",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("user asked to install new apk"))),0); +if (true) break; + +case 42: +//C +this.state = 43; +; + if (true) break; + +case 43: +//C +this.state = 44; +; + if (true) break; + +case 44: +//C +this.state = -1; +; + BA.debugLineNum = 286;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 287;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _updateapk(RemoteObject __ref,RemoteObject _pstatus) throws Exception{ +try { + Debug.PushSubsStack("UpdateApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,210); +if (RapidSub.canDelegate("updateapk")) { __ref.runUserSub(false, "cl_appupdate","updateapk", __ref, _pstatus); return;} +ResumableSub_UpdateApk rsub = new ResumableSub_UpdateApk(null,__ref,_pstatus); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_UpdateApk extends BA.ResumableSub { +public ResumableSub_UpdateApk(gunav2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref,RemoteObject _pstatus) { +this.parent = parent; +this.__ref = __ref; +this._pstatus = _pstatus; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.cl_appupdate parent; +RemoteObject _pstatus; +RemoteObject _okwebver = RemoteObject.createImmutable(false); +RemoteObject _fsize = RemoteObject.createImmutable(0L); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("UpdateApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,210); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("pstatus", _pstatus); + BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","97667713",BA.ObjectToString("---- AppUpdating.UpdateApk"),__ref.getField(true,"_logcolor1" /*RemoteObject*/ )); + BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 61; +if (parent.__c.runMethod(true,"Not",(Object)(_pstatus)).get().booleanValue()) { +this.state = 3; +}else { +this.state = 11; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 213;BA.debugLine="sStatusCode = ERR_NOPERM"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_noperm" /*RemoteObject*/ )); + BA.debugLineNum = 214;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 9; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.__c.runVoidMethod ("LogImpl","97667716",RemoteObject.concat(parent.__c.getField(true,"TAB"),RemoteObject.createImmutable("no permissions from user to install new apk")),0); +if (true) break; + +case 9: +//C +this.state = 61; +; + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 216;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolea"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "cl_appupdate", "updateapk"), __ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_isvalidwv" /*RemoteObject*/ )); +this.state = 62; +return; +case 62: +//C +this.state = 12; +_okwebver = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("OkWebVer", _okwebver); +; + BA.debugLineNum = 217;BA.debugLine="If (IsValidCV And OkWebVer) Then 'here we"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 12: +//if +this.state = 60; +if ((RemoteObject.solveBoolean(".",__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_isvalidcv" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",_okwebver))) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 218;BA.debugLine="If curver < webver Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 15: +//if +this.state = 59; +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(true,"_curver" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_webver" /*RemoteObject*/ )))) { +this.state = 17; +}else { +this.state = 52; +}if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 220;BA.debugLine="If IsNumber(webfsize) Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 18: +//if +this.state = 31; +if (parent.__c.runMethod(true,"IsNumber",(Object)(__ref.getField(true,"_webfsize" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; + BA.debugLineNum = 221;BA.debugLine="Dim fsize As Long = webfsize"; +Debug.JustUpdateDeviceLine(); +_fsize = BA.numberCast(long.class, __ref.getField(true,"_webfsize" /*RemoteObject*/ ));Debug.locals.put("fsize", _fsize);Debug.locals.put("fsize", _fsize); + BA.debugLineNum = 222;BA.debugLine="If fsize*2 > GetFreeSpace Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 21: +//if +this.state = 30; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_fsize,RemoteObject.createImmutable(2)}, "*",0, 2),__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_getfreespace" /*RemoteObject*/ ))) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 223;BA.debugLine="sStatusCode = ERR_NOSPACE"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_nospace" /*RemoteObject*/ )); + BA.debugLineNum = 224;BA.debugLine="If sVerbose Then Log($\"${TAB}no enough avail"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 24: +//if +this.state = 29; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 26; +;}if (true) break; + +case 26: +//C +this.state = 29; +parent.__c.runVoidMethod ("LogImpl","97667726",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("no enough available space to download apk"))),0); +if (true) break; + +case 29: +//C +this.state = 30; +; + if (true) break; + +case 30: +//C +this.state = 31; +; + if (true) break; +; + BA.debugLineNum = 227;BA.debugLine="If sStatusCode >= 0 Then"; +Debug.JustUpdateDeviceLine(); + +case 31: +//if +this.state = 50; +if (RemoteObject.solveBoolean("g",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 33; +}if (true) break; + +case 33: +//C +this.state = 34; + BA.debugLineNum = 228;BA.debugLine="sStatusCode = OK_NEWERAPK 'info file tells"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_newerapk" /*RemoteObject*/ )); + BA.debugLineNum = 229;BA.debugLine="If sVerbose Then Log($\"${TAB}Newer version av"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 34: +//if +this.state = 39; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 36; +;}if (true) break; + +case 36: +//C +this.state = 39; +parent.__c.runVoidMethod ("LogImpl","97667731",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("Newer version available. Now I try its downloading"))),0); +if (true) break; + +case 39: +//C +this.state = 40; +; + BA.debugLineNum = 230;BA.debugLine="If sNewVerApk = \"\" Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 40: +//if +this.state = 49; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_snewverapk" /*RemoteObject*/ ),BA.ObjectToString(""))) { +this.state = 42; +}if (true) break; + +case 42: +//C +this.state = 43; + BA.debugLineNum = 231;BA.debugLine="sStatusCode = ERR_NOAPK"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_noapk" /*RemoteObject*/ )); + BA.debugLineNum = 232;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk fil"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 43: +//if +this.state = 48; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 45; +;}if (true) break; + +case 45: +//C +this.state = 48; +parent.__c.runVoidMethod ("LogImpl","97667734",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("missing apk file full path indication"))),0); +if (true) break; + +case 48: +//C +this.state = 49; +; + if (true) break; + +case 49: +//C +this.state = 50; +; + if (true) break; + +case 50: +//C +this.state = 59; +; + if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 236;BA.debugLine="sStatusCode = NO_NEWERAPK"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_no_newerapk" /*RemoteObject*/ )); + BA.debugLineNum = 237;BA.debugLine="If sVerbose Then Log($\"${TAB}No newer version"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 53: +//if +this.state = 58; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 55; +;}if (true) break; + +case 55: +//C +this.state = 58; +parent.__c.runVoidMethod ("LogImpl","97667739",(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("No newer version available on webserver."))),0); +if (true) break; + +case 58: +//C +this.state = 59; +; + if (true) break; + +case 59: +//C +this.state = 60; +; + if (true) break; + +case 60: +//C +this.state = 61; +; + if (true) break; + +case 61: +//C +this.state = -1; +; + BA.debugLineNum = 241;BA.debugLine="TryApkUpdate 'if available and permitted, do"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.cl_appupdate.class, "_tryapkupdate" /*void*/ ); + BA.debugLineNum = 242;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/cpdf.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cpdf.java new file mode 100644 index 0000000..8039d55 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cpdf.java @@ -0,0 +1,95 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class cpdf { + public static RemoteObject myClass; + public cpdf() { + } + public static PCBA staticBA = new PCBA(null, cpdf.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _fxui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _ftextencoding = RemoteObject.createImmutable(""); +public static RemoteObject _flibversion = RemoteObject.createImmutable(""); +public static RemoteObject _fpdfversion = RemoteObject.createImmutable(""); +public static RemoteObject _funitfactor = RemoteObject.createImmutable(0); +public static RemoteObject _fcontext = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdfcontext"); +public static RemoteObject _fproperties = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _fobjs = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _fpage = RemoteObject.createImmutable(0); +public static RemoteObject _fpages = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _fusedimages = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _fusedfonts = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _ffontsinfos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _pagesizea3portraitwidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea3portraitheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea4portraitwidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea4portraitheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea5portraitwidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea5portraitheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizeletterportraitwidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizeletterportraitheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizelegalportraitwidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizelegalportraitheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea3landscapewidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea3landscapeheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea4landscapewidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea4landscapeheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea5landscapewidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizea5landscapeheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizeletterlandscapewidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizeletterlandscapeheight = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizelegallandscapewidth = RemoteObject.createImmutable(0); +public static RemoteObject _pagesizelegallandscapeheight = RemoteObject.createImmutable(0); +public static RemoteObject _fontcourier = RemoteObject.createImmutable(""); +public static RemoteObject _fonthelvetica = RemoteObject.createImmutable(""); +public static RemoteObject _fonttimes = RemoteObject.createImmutable(""); +public static RemoteObject _fontsymbol = RemoteObject.createImmutable(""); +public static RemoteObject _fontzapfdingbats = RemoteObject.createImmutable(""); +public static RemoteObject _fontnormal = RemoteObject.createImmutable(0); +public static RemoteObject _fontbold = RemoteObject.createImmutable(0); +public static RemoteObject _fontitalic = RemoteObject.createImmutable(0); +public static RemoteObject _fontunderline = RemoteObject.createImmutable(0); +public static RemoteObject _fontstrikethrough = RemoteObject.createImmutable(0); +public static RemoteObject _propertyauthor = RemoteObject.createImmutable(""); +public static RemoteObject _propertycreator = RemoteObject.createImmutable(""); +public static RemoteObject _propertyproducer = RemoteObject.createImmutable(""); +public static RemoteObject _propertytitle = RemoteObject.createImmutable(""); +public static RemoteObject _propertysubject = RemoteObject.createImmutable(""); +public static RemoteObject _propertykeywords = RemoteObject.createImmutable(""); +public static RemoteObject _rectangleborderonly = RemoteObject.createImmutable(""); +public static RemoteObject _rectanglefillonly = RemoteObject.createImmutable(""); +public static RemoteObject _rectangleborderandfill = RemoteObject.createImmutable(""); +public static RemoteObject _alignleft = RemoteObject.createImmutable(""); +public static RemoteObject _aligncenter = RemoteObject.createImmutable(""); +public static RemoteObject _alignright = RemoteObject.createImmutable(""); +public static RemoteObject _alignjusify = RemoteObject.createImmutable(""); +public static RemoteObject _compressalways = RemoteObject.createImmutable(0); +public static RemoteObject _compressifsmaller = RemoteObject.createImmutable(0); +public static RemoteObject _compressnever = RemoteObject.createImmutable(0); +public static RemoteObject _colorblack = null; +public static RemoteObject _colorwhite = null; +public static RemoteObject _colorgray = null; +public static RemoteObject _colorred = null; +public static RemoteObject _colorgreen = null; +public static RemoteObject _colorblue = null; +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AlignCenter",_ref.getField(false, "_aligncenter"),"AlignJusify",_ref.getField(false, "_alignjusify"),"AlignLeft",_ref.getField(false, "_alignleft"),"AlignRight",_ref.getField(false, "_alignright"),"colorBlack",_ref.getField(false, "_colorblack"),"colorBlue",_ref.getField(false, "_colorblue"),"colorGray",_ref.getField(false, "_colorgray"),"colorGreen",_ref.getField(false, "_colorgreen"),"colorRed",_ref.getField(false, "_colorred"),"colorWhite",_ref.getField(false, "_colorwhite"),"CompressAlways",_ref.getField(false, "_compressalways"),"CompressIfSmaller",_ref.getField(false, "_compressifsmaller"),"CompressNever",_ref.getField(false, "_compressnever"),"DateUtils",_ref.getField(false, "_dateutils"),"fContext",_ref.getField(false, "_fcontext"),"fFontsInfos",_ref.getField(false, "_ffontsinfos"),"fLibVersion",_ref.getField(false, "_flibversion"),"fObjs",_ref.getField(false, "_fobjs"),"fontBold",_ref.getField(false, "_fontbold"),"fontCourier",_ref.getField(false, "_fontcourier"),"fontHelvetica",_ref.getField(false, "_fonthelvetica"),"fontItalic",_ref.getField(false, "_fontitalic"),"fontNormal",_ref.getField(false, "_fontnormal"),"fontStrikeThrough",_ref.getField(false, "_fontstrikethrough"),"fontSymbol",_ref.getField(false, "_fontsymbol"),"fontTimes",_ref.getField(false, "_fonttimes"),"fontUnderline",_ref.getField(false, "_fontunderline"),"fontZapfdingbats",_ref.getField(false, "_fontzapfdingbats"),"fPage",_ref.getField(false, "_fpage"),"fPages",_ref.getField(false, "_fpages"),"fPDFVersion",_ref.getField(false, "_fpdfversion"),"fProperties",_ref.getField(false, "_fproperties"),"fTextEncoding",_ref.getField(false, "_ftextencoding"),"fUnitFactor",_ref.getField(false, "_funitfactor"),"fUsedFonts",_ref.getField(false, "_fusedfonts"),"fUsedImages",_ref.getField(false, "_fusedimages"),"fXUI",_ref.getField(false, "_fxui"),"pageSizeA3LandscapeHeight",_ref.getField(false, "_pagesizea3landscapeheight"),"pageSizeA3LandscapeWidth",_ref.getField(false, "_pagesizea3landscapewidth"),"pageSizeA3PortraitHeight",_ref.getField(false, "_pagesizea3portraitheight"),"pageSizeA3PortraitWidth",_ref.getField(false, "_pagesizea3portraitwidth"),"pageSizeA4LandscapeHeight",_ref.getField(false, "_pagesizea4landscapeheight"),"pageSizeA4LandscapeWidth",_ref.getField(false, "_pagesizea4landscapewidth"),"pageSizeA4PortraitHeight",_ref.getField(false, "_pagesizea4portraitheight"),"pageSizeA4PortraitWidth",_ref.getField(false, "_pagesizea4portraitwidth"),"pageSizeA5LandscapeHeight",_ref.getField(false, "_pagesizea5landscapeheight"),"pageSizeA5LandscapeWidth",_ref.getField(false, "_pagesizea5landscapewidth"),"pageSizeA5PortraitHeight",_ref.getField(false, "_pagesizea5portraitheight"),"pageSizeA5PortraitWidth",_ref.getField(false, "_pagesizea5portraitwidth"),"pageSizeLegalLandscapeHeight",_ref.getField(false, "_pagesizelegallandscapeheight"),"pageSizeLegalLandscapeWidth",_ref.getField(false, "_pagesizelegallandscapewidth"),"pageSizeLegalPortraitHeight",_ref.getField(false, "_pagesizelegalportraitheight"),"pageSizeLegalPortraitWidth",_ref.getField(false, "_pagesizelegalportraitwidth"),"pageSizeLetterLandscapeHeight",_ref.getField(false, "_pagesizeletterlandscapeheight"),"pageSizeLetterLandscapeWidth",_ref.getField(false, "_pagesizeletterlandscapewidth"),"pageSizeLetterPortraitHeight",_ref.getField(false, "_pagesizeletterportraitheight"),"pageSizeLetterPortraitWidth",_ref.getField(false, "_pagesizeletterportraitwidth"),"PropertyAuthor",_ref.getField(false, "_propertyauthor"),"PropertyCreator",_ref.getField(false, "_propertycreator"),"PropertyKeywords",_ref.getField(false, "_propertykeywords"),"PropertyProducer",_ref.getField(false, "_propertyproducer"),"PropertySubject",_ref.getField(false, "_propertysubject"),"PropertyTitle",_ref.getField(false, "_propertytitle"),"RectangleBorderAndFill",_ref.getField(false, "_rectangleborderandfill"),"RectangleBorderOnly",_ref.getField(false, "_rectangleborderonly"),"RectangleFillOnly",_ref.getField(false, "_rectanglefillonly")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/cpdf_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cpdf_subs_0.java new file mode 100644 index 0000000..9be318a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/cpdf_subs_0.java @@ -0,0 +1,3017 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class cpdf_subs_0 { + + +public static RemoteObject _calcfontkey(RemoteObject __ref,RemoteObject _afamily,RemoteObject _astyle) throws Exception{ +try { + Debug.PushSubsStack("calcFontKey (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,421); +if (RapidSub.canDelegate("calcfontkey")) { return __ref.runUserSub(false, "cpdf","calcfontkey", __ref, _afamily, _astyle);} +Debug.locals.put("afamily", _afamily); +Debug.locals.put("astyle", _astyle); + BA.debugLineNum = 421;BA.debugLine="private Sub calcFontKey(afamily As String,astyle A"; +Debug.ShouldStop(16); + BA.debugLineNum = 422;BA.debugLine="If afamily=\"zapfdingbats\" Or afamily=\"Symbol\" The"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_afamily,BA.ObjectToString("zapfdingbats")) || RemoteObject.solveBoolean("=",_afamily,BA.ObjectToString("Symbol"))) { + BA.debugLineNum = 423;BA.debugLine="astyle=Bit.And(astyle,Bit.Not(Bit.Or(fontBold,fo"; +Debug.ShouldStop(64); +_astyle = cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_astyle),(Object)(cpdf.__c.getField(false,"Bit").runMethod(true,"Not",(Object)(cpdf.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(__ref.getField(true,"_fontbold" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_fontitalic" /*RemoteObject*/ )))))));Debug.locals.put("astyle", _astyle); + }; + BA.debugLineNum = 425;BA.debugLine="If Bit.And(astyle,fontBold)<>0 And Bit.And(astyle"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("!",cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_astyle),(Object)(__ref.getField(true,"_fontbold" /*RemoteObject*/ ))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_astyle),(Object)(__ref.getField(true,"_fontitalic" /*RemoteObject*/ ))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 426;BA.debugLine="Return afamily & \"-BoldOblique\""; +Debug.ShouldStop(512); +if (true) return RemoteObject.concat(_afamily,RemoteObject.createImmutable("-BoldOblique")); + }; + BA.debugLineNum = 428;BA.debugLine="If Bit.And(astyle,fontBold)<>0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_astyle),(Object)(__ref.getField(true,"_fontbold" /*RemoteObject*/ ))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 429;BA.debugLine="Return afamily & \"-Bold\""; +Debug.ShouldStop(4096); +if (true) return RemoteObject.concat(_afamily,RemoteObject.createImmutable("-Bold")); + }; + BA.debugLineNum = 431;BA.debugLine="If Bit.And(astyle,fontItalic)<>0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_astyle),(Object)(__ref.getField(true,"_fontitalic" /*RemoteObject*/ ))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 432;BA.debugLine="Return afamily & \"-Oblique\""; +Debug.ShouldStop(32768); +if (true) return RemoteObject.concat(_afamily,RemoteObject.createImmutable("-Oblique")); + }; + BA.debugLineNum = 434;BA.debugLine="If afamily=\"Times\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_afamily,BA.ObjectToString("Times"))) { + BA.debugLineNum = 435;BA.debugLine="Return \"Times-Roman\""; +Debug.ShouldStop(262144); +if (true) return BA.ObjectToString("Times-Roman"); + }; + BA.debugLineNum = 437;BA.debugLine="Return afamily"; +Debug.ShouldStop(1048576); +if (true) return _afamily; + BA.debugLineNum = 438;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _catalogwrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("catalogWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,209); +if (RapidSub.canDelegate("catalogwrite")) { return __ref.runUserSub(false, "cpdf","catalogwrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); + BA.debugLineNum = 209;BA.debugLine="private Sub catalogWrite As Byte()"; +Debug.ShouldStop(65536); + BA.debugLineNum = 210;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(131072); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 211;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(262144); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 212;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 213;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 214;BA.debugLine="Return bb.toarray"; +Debug.ShouldStop(2097152); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 215;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 12;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 13;BA.debugLine="Type TPDFContext(fX As Double,fY As Double, _"; +; + //BA.debugLineNum = 16;BA.debugLine="Type TPDFPage(fWidth As Double,fHeight As Double,"; +; + //BA.debugLineNum = 17;BA.debugLine="Type TPDFImageInfo(fError As Int,fWidth As Int,fH"; +; + //BA.debugLineNum = 18;BA.debugLine="Type TPDFFontInfo(fCharsWidths(256) As Int,fYUnde"; +; + //BA.debugLineNum = 19;BA.debugLine="Type TPDFTextSize(fWidth As Double,fTop As Double"; +; + //BA.debugLineNum = 20;BA.debugLine="Type TPDFMultilineTextSize(fWidth As Double,fHeig"; +; + //BA.debugLineNum = 23;BA.debugLine="Private fXUI As XUI"; +cpdf._fxui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_fxui",cpdf._fxui); + //BA.debugLineNum = 26;BA.debugLine="Private const fTextEncoding As String=\"cp1252\""; +cpdf._ftextencoding = BA.ObjectToString("cp1252");__ref.setField("_ftextencoding",cpdf._ftextencoding); + //BA.debugLineNum = 28;BA.debugLine="Private fLibVersion As String"; +cpdf._flibversion = RemoteObject.createImmutable("");__ref.setField("_flibversion",cpdf._flibversion); + //BA.debugLineNum = 29;BA.debugLine="Private fPDFVersion As String"; +cpdf._fpdfversion = RemoteObject.createImmutable("");__ref.setField("_fpdfversion",cpdf._fpdfversion); + //BA.debugLineNum = 31;BA.debugLine="Private fUnitFactor As Double"; +cpdf._funitfactor = RemoteObject.createImmutable(0);__ref.setField("_funitfactor",cpdf._funitfactor); + //BA.debugLineNum = 33;BA.debugLine="Private fContext As TPDFContext"; +cpdf._fcontext = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdfcontext");__ref.setField("_fcontext",cpdf._fcontext); + //BA.debugLineNum = 35;BA.debugLine="Private fProperties As Map"; +cpdf._fproperties = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_fproperties",cpdf._fproperties); + //BA.debugLineNum = 37;BA.debugLine="Private fObjs As List"; +cpdf._fobjs = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_fobjs",cpdf._fobjs); + //BA.debugLineNum = 39;BA.debugLine="Private fPage As Int"; +cpdf._fpage = RemoteObject.createImmutable(0);__ref.setField("_fpage",cpdf._fpage); + //BA.debugLineNum = 41;BA.debugLine="Private fPages As List"; +cpdf._fpages = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_fpages",cpdf._fpages); + //BA.debugLineNum = 43;BA.debugLine="Private fUsedImages As List"; +cpdf._fusedimages = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_fusedimages",cpdf._fusedimages); + //BA.debugLineNum = 45;BA.debugLine="Private fUsedFonts As List"; +cpdf._fusedfonts = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_fusedfonts",cpdf._fusedfonts); + //BA.debugLineNum = 47;BA.debugLine="Private fFontsInfos As Map"; +cpdf._ffontsinfos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_ffontsinfos",cpdf._ffontsinfos); + //BA.debugLineNum = 50;BA.debugLine="Public const pageSizeA3PortraitWidth As Double=-8"; +cpdf._pagesizea3portraitwidth = BA.numberCast(double.class, -841.89);__ref.setField("_pagesizea3portraitwidth",cpdf._pagesizea3portraitwidth); + //BA.debugLineNum = 51;BA.debugLine="Public const pageSizeA3PortraitHeight As Double=-"; +cpdf._pagesizea3portraitheight = BA.numberCast(double.class, -1190.55);__ref.setField("_pagesizea3portraitheight",cpdf._pagesizea3portraitheight); + //BA.debugLineNum = 54;BA.debugLine="Public const pageSizeA4PortraitWidth As Double=-3"; +cpdf._pagesizea4portraitwidth = BA.numberCast(double.class, -(double) (0 + 370));__ref.setField("_pagesizea4portraitwidth",cpdf._pagesizea4portraitwidth); + //BA.debugLineNum = 55;BA.debugLine="Public const pageSizeA4PortraitHeight As Double=-"; +cpdf._pagesizea4portraitheight = BA.numberCast(double.class, -(double) (0 + 72));__ref.setField("_pagesizea4portraitheight",cpdf._pagesizea4portraitheight); + //BA.debugLineNum = 56;BA.debugLine="Public const pageSizeA5PortraitWidth As Double=-4"; +cpdf._pagesizea5portraitwidth = BA.numberCast(double.class, -420.94);__ref.setField("_pagesizea5portraitwidth",cpdf._pagesizea5portraitwidth); + //BA.debugLineNum = 57;BA.debugLine="Public const pageSizeA5PortraitHeight As Double=-"; +cpdf._pagesizea5portraitheight = BA.numberCast(double.class, -595.28);__ref.setField("_pagesizea5portraitheight",cpdf._pagesizea5portraitheight); + //BA.debugLineNum = 58;BA.debugLine="Public const pageSizeLetterPortraitWidth As Doubl"; +cpdf._pagesizeletterportraitwidth = BA.numberCast(double.class, -(double) (0 + 612));__ref.setField("_pagesizeletterportraitwidth",cpdf._pagesizeletterportraitwidth); + //BA.debugLineNum = 59;BA.debugLine="Public const pageSizeLetterPortraitHeight As Doub"; +cpdf._pagesizeletterportraitheight = BA.numberCast(double.class, -(double) (0 + 792));__ref.setField("_pagesizeletterportraitheight",cpdf._pagesizeletterportraitheight); + //BA.debugLineNum = 60;BA.debugLine="Public const pageSizeLegalPortraitWidth As Double"; +cpdf._pagesizelegalportraitwidth = BA.numberCast(double.class, -(double) (0 + 612));__ref.setField("_pagesizelegalportraitwidth",cpdf._pagesizelegalportraitwidth); + //BA.debugLineNum = 61;BA.debugLine="Public const pageSizeLegalPortraitHeight As Doubl"; +cpdf._pagesizelegalportraitheight = BA.numberCast(double.class, -(double) (0 + 1008));__ref.setField("_pagesizelegalportraitheight",cpdf._pagesizelegalportraitheight); + //BA.debugLineNum = 62;BA.debugLine="Public const pageSizeA3LandscapeWidth As Double=-"; +cpdf._pagesizea3landscapewidth = BA.numberCast(double.class, -1190.55);__ref.setField("_pagesizea3landscapewidth",cpdf._pagesizea3landscapewidth); + //BA.debugLineNum = 63;BA.debugLine="Public const pageSizeA3LandscapeHeight As Double="; +cpdf._pagesizea3landscapeheight = BA.numberCast(double.class, -841.89);__ref.setField("_pagesizea3landscapeheight",cpdf._pagesizea3landscapeheight); + //BA.debugLineNum = 64;BA.debugLine="Public const pageSizeA4LandscapeWidth As Double=-"; +cpdf._pagesizea4landscapewidth = BA.numberCast(double.class, -841.89);__ref.setField("_pagesizea4landscapewidth",cpdf._pagesizea4landscapewidth); + //BA.debugLineNum = 65;BA.debugLine="Public const pageSizeA4LandscapeHeight As Double="; +cpdf._pagesizea4landscapeheight = BA.numberCast(double.class, -595.28);__ref.setField("_pagesizea4landscapeheight",cpdf._pagesizea4landscapeheight); + //BA.debugLineNum = 66;BA.debugLine="Public const pageSizeA5LandscapeWidth As Double=-"; +cpdf._pagesizea5landscapewidth = BA.numberCast(double.class, -595.28);__ref.setField("_pagesizea5landscapewidth",cpdf._pagesizea5landscapewidth); + //BA.debugLineNum = 67;BA.debugLine="Public const pageSizeA5LandscapeHeight As Double="; +cpdf._pagesizea5landscapeheight = BA.numberCast(double.class, -420.94);__ref.setField("_pagesizea5landscapeheight",cpdf._pagesizea5landscapeheight); + //BA.debugLineNum = 68;BA.debugLine="Public const pageSizeLetterLandscapeWidth As Doub"; +cpdf._pagesizeletterlandscapewidth = BA.numberCast(double.class, -(double) (0 + 792));__ref.setField("_pagesizeletterlandscapewidth",cpdf._pagesizeletterlandscapewidth); + //BA.debugLineNum = 69;BA.debugLine="Public const pageSizeLetterLandscapeHeight As Dou"; +cpdf._pagesizeletterlandscapeheight = BA.numberCast(double.class, -(double) (0 + 612));__ref.setField("_pagesizeletterlandscapeheight",cpdf._pagesizeletterlandscapeheight); + //BA.debugLineNum = 70;BA.debugLine="Public const pageSizeLegalLandscapeWidth As Doubl"; +cpdf._pagesizelegallandscapewidth = BA.numberCast(double.class, -(double) (0 + 1008));__ref.setField("_pagesizelegallandscapewidth",cpdf._pagesizelegallandscapewidth); + //BA.debugLineNum = 71;BA.debugLine="Public const pageSizeLegalLandscapeHeight As Doub"; +cpdf._pagesizelegallandscapeheight = BA.numberCast(double.class, -(double) (0 + 612));__ref.setField("_pagesizelegallandscapeheight",cpdf._pagesizelegallandscapeheight); + //BA.debugLineNum = 74;BA.debugLine="Public const fontCourier As String=\"Courier\""; +cpdf._fontcourier = BA.ObjectToString("Courier");__ref.setField("_fontcourier",cpdf._fontcourier); + //BA.debugLineNum = 75;BA.debugLine="Public const fontHelvetica As String=\"Helvetica\""; +cpdf._fonthelvetica = BA.ObjectToString("Helvetica");__ref.setField("_fonthelvetica",cpdf._fonthelvetica); + //BA.debugLineNum = 76;BA.debugLine="Public const fontTimes As String=\"Times\""; +cpdf._fonttimes = BA.ObjectToString("Times");__ref.setField("_fonttimes",cpdf._fonttimes); + //BA.debugLineNum = 77;BA.debugLine="Public const fontSymbol As String=\"Symbol\""; +cpdf._fontsymbol = BA.ObjectToString("Symbol");__ref.setField("_fontsymbol",cpdf._fontsymbol); + //BA.debugLineNum = 78;BA.debugLine="Public const fontZapfdingbats As String=\"zapfding"; +cpdf._fontzapfdingbats = BA.ObjectToString("zapfdingbats");__ref.setField("_fontzapfdingbats",cpdf._fontzapfdingbats); + //BA.debugLineNum = 81;BA.debugLine="Public const fontNormal As Int=0"; +cpdf._fontnormal = BA.numberCast(int.class, 0);__ref.setField("_fontnormal",cpdf._fontnormal); + //BA.debugLineNum = 82;BA.debugLine="Public const fontBold As Int=1"; +cpdf._fontbold = BA.numberCast(int.class, 1);__ref.setField("_fontbold",cpdf._fontbold); + //BA.debugLineNum = 83;BA.debugLine="Public const fontItalic As Int=2"; +cpdf._fontitalic = BA.numberCast(int.class, 2);__ref.setField("_fontitalic",cpdf._fontitalic); + //BA.debugLineNum = 84;BA.debugLine="Public const fontUnderline As Int=4"; +cpdf._fontunderline = BA.numberCast(int.class, 4);__ref.setField("_fontunderline",cpdf._fontunderline); + //BA.debugLineNum = 85;BA.debugLine="Public const fontStrikeThrough As Int=8"; +cpdf._fontstrikethrough = BA.numberCast(int.class, 8);__ref.setField("_fontstrikethrough",cpdf._fontstrikethrough); + //BA.debugLineNum = 88;BA.debugLine="Public const PropertyAuthor As String=\"Author\""; +cpdf._propertyauthor = BA.ObjectToString("Author");__ref.setField("_propertyauthor",cpdf._propertyauthor); + //BA.debugLineNum = 89;BA.debugLine="Public const PropertyCreator As String=\"Creator\""; +cpdf._propertycreator = BA.ObjectToString("Creator");__ref.setField("_propertycreator",cpdf._propertycreator); + //BA.debugLineNum = 90;BA.debugLine="Public const PropertyProducer As String=\"Producer"; +cpdf._propertyproducer = BA.ObjectToString("Producer");__ref.setField("_propertyproducer",cpdf._propertyproducer); + //BA.debugLineNum = 91;BA.debugLine="Public const PropertyTitle As String=\"Title\""; +cpdf._propertytitle = BA.ObjectToString("Title");__ref.setField("_propertytitle",cpdf._propertytitle); + //BA.debugLineNum = 92;BA.debugLine="Public const PropertySubject As String=\"Subject\""; +cpdf._propertysubject = BA.ObjectToString("Subject");__ref.setField("_propertysubject",cpdf._propertysubject); + //BA.debugLineNum = 93;BA.debugLine="Public const PropertyKeywords As String=\"Keywords"; +cpdf._propertykeywords = BA.ObjectToString("Keywords");__ref.setField("_propertykeywords",cpdf._propertykeywords); + //BA.debugLineNum = 96;BA.debugLine="Public const RectangleBorderOnly As String=\"S\""; +cpdf._rectangleborderonly = BA.ObjectToString("S");__ref.setField("_rectangleborderonly",cpdf._rectangleborderonly); + //BA.debugLineNum = 97;BA.debugLine="Public const RectangleFillOnly As String=\"f\""; +cpdf._rectanglefillonly = BA.ObjectToString("f");__ref.setField("_rectanglefillonly",cpdf._rectanglefillonly); + //BA.debugLineNum = 98;BA.debugLine="Public const RectangleBorderAndFill As String=\"B\""; +cpdf._rectangleborderandfill = BA.ObjectToString("B");__ref.setField("_rectangleborderandfill",cpdf._rectangleborderandfill); + //BA.debugLineNum = 101;BA.debugLine="Public const AlignLeft As String=\"L\""; +cpdf._alignleft = BA.ObjectToString("L");__ref.setField("_alignleft",cpdf._alignleft); + //BA.debugLineNum = 102;BA.debugLine="Public const AlignCenter As String=\"C\""; +cpdf._aligncenter = BA.ObjectToString("C");__ref.setField("_aligncenter",cpdf._aligncenter); + //BA.debugLineNum = 103;BA.debugLine="Public const AlignRight As String=\"R\""; +cpdf._alignright = BA.ObjectToString("R");__ref.setField("_alignright",cpdf._alignright); + //BA.debugLineNum = 104;BA.debugLine="Public const AlignJusify As String=\"J\""; +cpdf._alignjusify = BA.ObjectToString("J");__ref.setField("_alignjusify",cpdf._alignjusify); + //BA.debugLineNum = 107;BA.debugLine="Public const CompressAlways As Int=0"; +cpdf._compressalways = BA.numberCast(int.class, 0);__ref.setField("_compressalways",cpdf._compressalways); + //BA.debugLineNum = 108;BA.debugLine="Public const CompressIfSmaller As Int=1"; +cpdf._compressifsmaller = BA.numberCast(int.class, 1);__ref.setField("_compressifsmaller",cpdf._compressifsmaller); + //BA.debugLineNum = 109;BA.debugLine="Public const CompressNever As Int=2"; +cpdf._compressnever = BA.numberCast(int.class, 2);__ref.setField("_compressnever",cpdf._compressnever); + //BA.debugLineNum = 111;BA.debugLine="Public const colorBlack(3) As Double=Array As Dou"; +cpdf._colorblack = RemoteObject.createNewArray("double",new int[] {3},new Object[] {BA.numberCast(double.class, 0),BA.numberCast(double.class, 0),BA.numberCast(double.class, 0)});__ref.setField("_colorblack",cpdf._colorblack); + //BA.debugLineNum = 112;BA.debugLine="Public const colorWhite(3) As Double=Array As Dou"; +cpdf._colorwhite = RemoteObject.createNewArray("double",new int[] {3},new Object[] {BA.numberCast(double.class, 1),BA.numberCast(double.class, 1),BA.numberCast(double.class, 1)});__ref.setField("_colorwhite",cpdf._colorwhite); + //BA.debugLineNum = 113;BA.debugLine="Public const colorGray(3) As Double=Array As Doub"; +cpdf._colorgray = RemoteObject.createNewArray("double",new int[] {3},new Object[] {BA.numberCast(double.class, 0.5),BA.numberCast(double.class, 0.5),BA.numberCast(double.class, 0.5)});__ref.setField("_colorgray",cpdf._colorgray); + //BA.debugLineNum = 114;BA.debugLine="Public const colorRed(3) As Double=Array As Doubl"; +cpdf._colorred = RemoteObject.createNewArray("double",new int[] {3},new Object[] {BA.numberCast(double.class, 1),BA.numberCast(double.class, 0),BA.numberCast(double.class, 0)});__ref.setField("_colorred",cpdf._colorred); + //BA.debugLineNum = 115;BA.debugLine="Public const colorGreen(3) As Double=Array As Dou"; +cpdf._colorgreen = RemoteObject.createNewArray("double",new int[] {3},new Object[] {BA.numberCast(double.class, 0),BA.numberCast(double.class, 1),BA.numberCast(double.class, 0)});__ref.setField("_colorgreen",cpdf._colorgreen); + //BA.debugLineNum = 116;BA.debugLine="Public const colorBlue(3) As Double=Array As Doub"; +cpdf._colorblue = RemoteObject.createNewArray("double",new int[] {3},new Object[] {BA.numberCast(double.class, 0),BA.numberCast(double.class, 0),BA.numberCast(double.class, 1)});__ref.setField("_colorblue",cpdf._colorblue); + //BA.debugLineNum = 118;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _contentadd(RemoteObject __ref,RemoteObject _apage,RemoteObject _acontent) throws Exception{ +try { + Debug.PushSubsStack("contentAdd (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,441); +if (RapidSub.canDelegate("contentadd")) { return __ref.runUserSub(false, "cpdf","contentadd", __ref, _apage, _acontent);} +RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +Debug.locals.put("apage", _apage); +Debug.locals.put("acontent", _acontent); + BA.debugLineNum = 441;BA.debugLine="private Sub contentAdd(apage As Int,acontent As St"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 442;BA.debugLine="Dim sb As StringBuilder"; +Debug.ShouldStop(33554432); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 443;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(67108864); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 444;BA.debugLine="sb.Append(fPages.Get(apage).As(TPDFPage).fbuffer)"; +Debug.ShouldStop(134217728); +_sb.runVoidMethod ("Append",(Object)(((__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_apage)))).getField(true,"fBuffer" /*RemoteObject*/ ))); + BA.debugLineNum = 445;BA.debugLine="sb.Append(acontent)"; +Debug.ShouldStop(268435456); +_sb.runVoidMethod ("Append",(Object)(_acontent)); + BA.debugLineNum = 446;BA.debugLine="fPages.Get(apage).As(TPDFPage).fbuffer=sb.ToStrin"; +Debug.ShouldStop(536870912); +((__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_apage)))).setField ("fBuffer" /*RemoteObject*/ ,_sb.runMethod(true,"ToString")); + BA.debugLineNum = 447;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _contentswrite(RemoteObject __ref,RemoteObject _acompress) throws Exception{ +try { + Debug.PushSubsStack("contentsWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,248); +if (RapidSub.canDelegate("contentswrite")) { return __ref.runUserSub(false, "cpdf","contentswrite", __ref, _acompress);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +int _i = 0; +Debug.locals.put("acompress", _acompress); + BA.debugLineNum = 248;BA.debugLine="private Sub contentsWrite(acompress As Int) As Byt"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 249;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(16777216); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 250;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(33554432); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 251;BA.debugLine="For i=0 To fPages.Size-1"; +Debug.ShouldStop(67108864); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 252;BA.debugLine="bb.append(contentWrite(acompress,i))"; +Debug.ShouldStop(134217728); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentwrite" /*RemoteObject*/ ,(Object)(_acompress),(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 254;BA.debugLine="Return bb.toarray"; +Debug.ShouldStop(536870912); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _contentwrite(RemoteObject __ref,RemoteObject _acompress,RemoteObject _apage) throws Exception{ +try { + Debug.PushSubsStack("contentWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,257); +if (RapidSub.canDelegate("contentwrite")) { return __ref.runUserSub(false, "cpdf","contentwrite", __ref, _acompress, _apage);} +RemoteObject _compress = RemoteObject.createImmutable(""); +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _c = null; +RemoteObject _filter = RemoteObject.createImmutable(""); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.randomaccessfile.CompressedStreams"); +RemoteObject _b = null; +Debug.locals.put("acompress", _acompress); +Debug.locals.put("apage", _apage); + BA.debugLineNum = 257;BA.debugLine="private Sub contentWrite(acompress As Int,apage As"; +Debug.ShouldStop(1); + BA.debugLineNum = 258;BA.debugLine="Dim const compress As String=\"/Filter/FlateDecode"; +Debug.ShouldStop(2); +_compress = BA.ObjectToString("/Filter/FlateDecode");Debug.locals.put("compress", _compress);Debug.locals.put("compress", _compress); + BA.debugLineNum = 259;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(4); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 260;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(8); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 262;BA.debugLine="Dim c() As Byte=fPages.Get(apage).As(TPDFPage).fB"; +Debug.ShouldStop(32); +_c = ((__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_apage)))).getField(true,"fBuffer" /*RemoteObject*/ ).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ )));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 263;BA.debugLine="Dim filter As String=\"\""; +Debug.ShouldStop(64); +_filter = BA.ObjectToString("");Debug.locals.put("filter", _filter);Debug.locals.put("filter", _filter); + BA.debugLineNum = 265;BA.debugLine="If acompress<>CompressNever Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("!",_acompress,BA.numberCast(double.class, __ref.getField(true,"_compressnever" /*RemoteObject*/ )))) { + BA.debugLineNum = 266;BA.debugLine="Dim cs As CompressedStreams"; +Debug.ShouldStop(512); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.CompressedStreams");Debug.locals.put("cs", _cs); + BA.debugLineNum = 267;BA.debugLine="Dim b() As Byte=cs.CompressBytes(c,\"zlib\")"; +Debug.ShouldStop(1024); +_b = _cs.runMethod(false,"CompressBytes",(Object)(_c),(Object)(RemoteObject.createImmutable("zlib")));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 268;BA.debugLine="If acompress=CompressAlways Or b.Length+compress"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_acompress,BA.numberCast(double.class, __ref.getField(true,"_compressalways" /*RemoteObject*/ ))) || RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_b.getField(true,"length"),_compress.runMethod(true,"length")}, "+",1, 1),BA.numberCast(double.class, _c.getField(true,"length")))) { + BA.debugLineNum = 269;BA.debugLine="c=b"; +Debug.ShouldStop(4096); +_c = _b;Debug.locals.put("c", _c); + BA.debugLineNum = 270;BA.debugLine="filter=compress"; +Debug.ShouldStop(8192); +_filter = _compress;Debug.locals.put("filter", _filter); + }; + }; + BA.debugLineNum = 274;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <<${filter}/Len"; +Debug.ShouldStop(131072); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "+",1, 1)))),RemoteObject.createImmutable(" 0 obj <<"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_filter))),RemoteObject.createImmutable("/Length "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c.getField(true,"length")))),RemoteObject.createImmutable(">>"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("stream"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 275;BA.debugLine="bb.Append(c)"; +Debug.ShouldStop(262144); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_c)); + BA.debugLineNum = 276;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; +Debug.ShouldStop(524288); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("endstream"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 277;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 278;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(2097152); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 279;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _convertimage(RemoteObject __ref,RemoteObject _adir,RemoteObject _afile) throws Exception{ +try { + Debug.PushSubsStack("convertImage (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,796); +if (RapidSub.canDelegate("convertimage")) { return __ref.runUserSub(false, "cpdf","convertimage", __ref, _adir, _afile);} +RemoteObject _img = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("adir", _adir); +Debug.locals.put("afile", _afile); + BA.debugLineNum = 796;BA.debugLine="private Sub convertImage(adir As String,afile As S"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 798;BA.debugLine="Dim img As B4XBitmap"; +Debug.ShouldStop(536870912); +_img = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");Debug.locals.put("img", _img); + BA.debugLineNum = 799;BA.debugLine="img=fXUI.LoadBitmap(adir,afile)"; +Debug.ShouldStop(1073741824); +_img = __ref.getField(false,"_fxui" /*RemoteObject*/ ).runMethod(false,"LoadBitmap",(Object)(_adir),(Object)(_afile));Debug.locals.put("img", _img); + BA.debugLineNum = 800;BA.debugLine="Dim out As OutputStream=File.OpenOutput(adir,afil"; +Debug.ShouldStop(-2147483648); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = cpdf.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(_adir),(Object)(RemoteObject.concat(_afile,RemoteObject.createImmutable(".jpg"))),(Object)(cpdf.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 801;BA.debugLine="img.WriteToStream(out,100,\"JPEG\")"; +Debug.ShouldStop(1); +_img.runVoidMethod ("WriteToStream",(Object)((_out.getObject())),(Object)(BA.numberCast(int.class, 100)),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Bitmap.CompressFormat"),RemoteObject.createImmutable("JPEG")))); + BA.debugLineNum = 802;BA.debugLine="out.close"; +Debug.ShouldStop(2); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 805;BA.debugLine="Dim img As B4XBitmap"; +Debug.ShouldStop(16); +_img = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");Debug.locals.put("img", _img); + BA.debugLineNum = 806;BA.debugLine="img=fXUI.LoadBitmap(adir,afile & \".jpg\")"; +Debug.ShouldStop(32); +_img = __ref.getField(false,"_fxui" /*RemoteObject*/ ).runMethod(false,"LoadBitmap",(Object)(_adir),(Object)(RemoteObject.concat(_afile,RemoteObject.createImmutable(".jpg"))));Debug.locals.put("img", _img); + BA.debugLineNum = 807;BA.debugLine="Dim out As OutputStream=File.OpenOutput(adir,afil"; +Debug.ShouldStop(64); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = cpdf.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(_adir),(Object)(RemoteObject.concat(_afile,RemoteObject.createImmutable(".png"))),(Object)(cpdf.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 808;BA.debugLine="img.WriteToStream(out,100,\"PNG\")"; +Debug.ShouldStop(128); +_img.runVoidMethod ("WriteToStream",(Object)((_out.getObject())),(Object)(BA.numberCast(int.class, 100)),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Bitmap.CompressFormat"),RemoteObject.createImmutable("PNG")))); + BA.debugLineNum = 809;BA.debugLine="out.close"; +Debug.ShouldStop(256); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 811;BA.debugLine="File.Delete(adir,afile & \".jpg\")"; +Debug.ShouldStop(1024); +cpdf.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(_adir),(Object)(RemoteObject.concat(_afile,RemoteObject.createImmutable(".jpg")))); + BA.debugLineNum = 812;BA.debugLine="Return afile & \".png\""; +Debug.ShouldStop(2048); +if (true) return RemoteObject.concat(_afile,RemoteObject.createImmutable(".png")); + BA.debugLineNum = 813;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createfontinfo(RemoteObject __ref,RemoteObject _acharswidths,RemoteObject _ayunderline,RemoteObject _ahunderline,RemoteObject _aystrikethrough,RemoteObject _ahstrikethrough,RemoteObject _aytop,RemoteObject _aybottom) throws Exception{ +try { + Debug.PushSubsStack("createFontInfo (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,136); +if (RapidSub.canDelegate("createfontinfo")) { return __ref.runUserSub(false, "cpdf","createfontinfo", __ref, _acharswidths, _ayunderline, _ahunderline, _aystrikethrough, _ahstrikethrough, _aytop, _aybottom);} +RemoteObject _fi = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdffontinfo"); +Debug.locals.put("acharsWidths", _acharswidths); +Debug.locals.put("ayunderline", _ayunderline); +Debug.locals.put("ahunderline", _ahunderline); +Debug.locals.put("aystrikethrough", _aystrikethrough); +Debug.locals.put("ahstrikethrough", _ahstrikethrough); +Debug.locals.put("aytop", _aytop); +Debug.locals.put("aybottom", _aybottom); + BA.debugLineNum = 136;BA.debugLine="private Sub createFontInfo(acharsWidths() As Int,a"; +Debug.ShouldStop(128); + BA.debugLineNum = 137;BA.debugLine="Dim fi As TPDFFontInfo"; +Debug.ShouldStop(256); +_fi = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdffontinfo");Debug.locals.put("fi", _fi); + BA.debugLineNum = 138;BA.debugLine="fi.Initialize"; +Debug.ShouldStop(512); +_fi.runVoidMethod ("Initialize"); + BA.debugLineNum = 140;BA.debugLine="fi.fCharsWidths=acharsWidths"; +Debug.ShouldStop(2048); +_fi.setField ("fCharsWidths" /*RemoteObject*/ ,_acharswidths); + BA.debugLineNum = 142;BA.debugLine="fi.fYUnderline=ayunderline"; +Debug.ShouldStop(8192); +_fi.setField ("fYUnderline" /*RemoteObject*/ ,_ayunderline); + BA.debugLineNum = 144;BA.debugLine="fi.fHUnderline=ahunderline"; +Debug.ShouldStop(32768); +_fi.setField ("fHUnderline" /*RemoteObject*/ ,_ahunderline); + BA.debugLineNum = 146;BA.debugLine="fi.fYStrikeThrough=aystrikethrough"; +Debug.ShouldStop(131072); +_fi.setField ("fYStrikeThrough" /*RemoteObject*/ ,_aystrikethrough); + BA.debugLineNum = 148;BA.debugLine="fi.fHStrikeThrough=ahstrikethrough"; +Debug.ShouldStop(524288); +_fi.setField ("fHStrikeThrough" /*RemoteObject*/ ,_ahstrikethrough); + BA.debugLineNum = 150;BA.debugLine="fi.fYTop=aytop"; +Debug.ShouldStop(2097152); +_fi.setField ("fYTop" /*RemoteObject*/ ,_aytop); + BA.debugLineNum = 152;BA.debugLine="fi.fybottom=aybottom"; +Debug.ShouldStop(8388608); +_fi.setField ("fYBottom" /*RemoteObject*/ ,_aybottom); + BA.debugLineNum = 153;BA.debugLine="Return fi"; +Debug.ShouldStop(16777216); +if (true) return _fi; + BA.debugLineNum = 154;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createpage(RemoteObject __ref,RemoteObject _awidth,RemoteObject _aheight,RemoteObject _abuffer) throws Exception{ +try { + Debug.PushSubsStack("createPage (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,455); +if (RapidSub.canDelegate("createpage")) { return __ref.runUserSub(false, "cpdf","createpage", __ref, _awidth, _aheight, _abuffer);} +RemoteObject _p = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdfpage"); +Debug.locals.put("awidth", _awidth); +Debug.locals.put("aheight", _aheight); +Debug.locals.put("abuffer", _abuffer); + BA.debugLineNum = 455;BA.debugLine="private Sub createPage(awidth As Double,aheight As"; +Debug.ShouldStop(64); + BA.debugLineNum = 456;BA.debugLine="Dim p As TPDFPage"; +Debug.ShouldStop(128); +_p = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdfpage");Debug.locals.put("p", _p); + BA.debugLineNum = 457;BA.debugLine="p.Initialize"; +Debug.ShouldStop(256); +_p.runVoidMethod ("Initialize"); + BA.debugLineNum = 458;BA.debugLine="p.fWidth=awidth"; +Debug.ShouldStop(512); +_p.setField ("fWidth" /*RemoteObject*/ ,_awidth); + BA.debugLineNum = 459;BA.debugLine="p.fHeight=aheight"; +Debug.ShouldStop(1024); +_p.setField ("fHeight" /*RemoteObject*/ ,_aheight); + BA.debugLineNum = 460;BA.debugLine="p.fBuffer=abuffer"; +Debug.ShouldStop(2048); +_p.setField ("fBuffer" /*RemoteObject*/ ,_abuffer); + BA.debugLineNum = 461;BA.debugLine="Return p"; +Debug.ShouldStop(4096); +if (true) return _p; + BA.debugLineNum = 462;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _escapetext(RemoteObject __ref,RemoteObject _atext) throws Exception{ +try { + Debug.PushSubsStack("escapeText (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,450); +if (RapidSub.canDelegate("escapetext")) { return __ref.runUserSub(false, "cpdf","escapetext", __ref, _atext);} +Debug.locals.put("atext", _atext); + BA.debugLineNum = 450;BA.debugLine="private Sub escapeText(atext As String) As String"; +Debug.ShouldStop(2); + BA.debugLineNum = 451;BA.debugLine="Return atext.Replace(\"\\\",\"\\\\\").Replace(\"(\",\"\\(\")."; +Debug.ShouldStop(4); +if (true) return _atext.runMethod(true,"replace",(Object)(BA.ObjectToString("\\")),(Object)(RemoteObject.createImmutable("\\\\"))).runMethod(true,"replace",(Object)(BA.ObjectToString("(")),(Object)(RemoteObject.createImmutable("\\("))).runMethod(true,"replace",(Object)(BA.ObjectToString(")")),(Object)(RemoteObject.createImmutable("\\)"))); + BA.debugLineNum = 452;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _findimagekey(RemoteObject __ref,RemoteObject _akey) throws Exception{ +try { + Debug.PushSubsStack("findImageKey (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,617); +if (RapidSub.canDelegate("findimagekey")) { return __ref.runUserSub(false, "cpdf","findimagekey", __ref, _akey);} +int _i = 0; +Debug.locals.put("akey", _akey); + BA.debugLineNum = 617;BA.debugLine="private Sub findImageKey(akey As String) As Int"; +Debug.ShouldStop(256); + BA.debugLineNum = 618;BA.debugLine="For i=0 To fUsedImages.Size-1"; +Debug.ShouldStop(512); +{ +final int step1 = 1; +final int limit1 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step1 > 0 && _i <= limit1) || (step1 < 0 && _i >= limit1) ;_i = ((int)(0 + _i + step1)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 619;BA.debugLine="If fUsedImages.Get(i).As(Map).Get(\"path\")=akey T"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("path")))),(_akey))) { + BA.debugLineNum = 620;BA.debugLine="Return i"; +Debug.ShouldStop(2048); +if (true) return BA.numberCast(int.class, _i); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 623;BA.debugLine="Return -1"; +Debug.ShouldStop(16384); +if (true) return BA.numberCast(int.class, -(double) (0 + 1)); + BA.debugLineNum = 624;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fontswrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("fontsWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,305); +if (RapidSub.canDelegate("fontswrite")) { return __ref.runUserSub(false, "cpdf","fontswrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +int _i = 0; + BA.debugLineNum = 305;BA.debugLine="private Sub fontsWrite As Byte()"; +Debug.ShouldStop(65536); + BA.debugLineNum = 306;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(131072); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 307;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(262144); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 308;BA.debugLine="For i=0 To fUsedFonts.Size-1"; +Debug.ShouldStop(524288); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fusedfonts" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 309;BA.debugLine="bb.append(fontWrite(i))"; +Debug.ShouldStop(1048576); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_fontwrite" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 311;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(4194304); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 312;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fontwrite(RemoteObject __ref,RemoteObject _afont) throws Exception{ +try { + Debug.PushSubsStack("fontWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,314); +if (RapidSub.canDelegate("fontwrite")) { return __ref.runUserSub(false, "cpdf","fontwrite", __ref, _afont);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _c = RemoteObject.createImmutable(""); +Debug.locals.put("afont", _afont); + BA.debugLineNum = 314;BA.debugLine="private Sub fontWrite(afont As Int) As Byte()"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 315;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(67108864); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 316;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(134217728); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 317;BA.debugLine="Dim c As String=fUsedFonts.Get(afont)"; +Debug.ShouldStop(268435456); +_c = BA.ObjectToString(__ref.getField(false,"_fusedfonts" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_afont)));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 318;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj << /Type /Font"; +Debug.ShouldStop(536870912); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "+",1, 1)))),RemoteObject.createImmutable(" 0 obj << /Type /Font /Subtype /Type1 /BaseFont /"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c))),RemoteObject.createImmutable(" /Encoding /WinAnsiEncoding>> endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 319;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 320;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(-2147483648); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 321;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _footerwrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("footerWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,416); +if (RapidSub.canDelegate("footerwrite")) { return __ref.runUserSub(false, "cpdf","footerwrite", __ref);} + BA.debugLineNum = 416;BA.debugLine="private Sub footerWrite As Byte()"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 417;BA.debugLine="Return \"%%EOF\".GetBytes(fTextEncoding)"; +Debug.ShouldStop(1); +if (true) return RemoteObject.createImmutable("%%EOF").runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))); + BA.debugLineNum = 418;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gcreationdate(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gCreationDate (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,192); +if (RapidSub.canDelegate("gcreationdate")) { return __ref.runUserSub(false, "cpdf","gcreationdate", __ref);} +RemoteObject _z = RemoteObject.createImmutable(""); + BA.debugLineNum = 192;BA.debugLine="private Sub gCreationDate As String"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 193;BA.debugLine="DateTime.DateFormat=\"yyyyMMdd\""; +Debug.ShouldStop(1); +cpdf.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 194;BA.debugLine="DateTime.TimeFormat=\"hhmmss\""; +Debug.ShouldStop(2); +cpdf.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("hhmmss")); + BA.debugLineNum = 195;BA.debugLine="Dim z As String=NumberFormat2(DateTime.TimeZoneOf"; +Debug.ShouldStop(4); +_z = cpdf.__c.runMethod(true,"NumberFormat2",(Object)(cpdf.__c.getField(false,"DateTime").runMethod(true,"getTimeZoneOffset")),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(cpdf.__c.getField(true,"False")));Debug.locals.put("z", _z);Debug.locals.put("z", _z); + BA.debugLineNum = 196;BA.debugLine="z=IIf(z.SubString2(0,1)<>\"-\",\"+\",\"\") & z"; +Debug.ShouldStop(8); +_z = RemoteObject.concat(((RemoteObject.solveBoolean("!",_z.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))),BA.ObjectToString("-"))) ? (RemoteObject.createImmutable(("+"))) : ((RemoteObject.createImmutable("")))),_z);Debug.locals.put("z", _z); + BA.debugLineNum = 197;BA.debugLine="z=z.SubString2(0,3) & \"'\" & z.SubString(4) & \"'\""; +Debug.ShouldStop(16); +_z = RemoteObject.concat(_z.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 3))),RemoteObject.createImmutable("'"),_z.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 4))),RemoteObject.createImmutable("'"));Debug.locals.put("z", _z); + BA.debugLineNum = 198;BA.debugLine="Return \"D:\" & DateTime.Date(DateTime.Now) & DateT"; +Debug.ShouldStop(32); +if (true) return RemoteObject.concat(RemoteObject.createImmutable("D:"),cpdf.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(cpdf.__c.getField(false,"DateTime").runMethod(true,"getNow"))),cpdf.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(cpdf.__c.getField(false,"DateTime").runMethod(true,"getNow"))),_z); + BA.debugLineNum = 199;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _glibversion(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("glibversion (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,996); +if (RapidSub.canDelegate("glibversion")) { return __ref.runUserSub(false, "cpdf","glibversion", __ref);} + BA.debugLineNum = 996;BA.debugLine="public Sub glibversion As String"; +Debug.ShouldStop(8); + BA.debugLineNum = 997;BA.debugLine="Return fLibVersion"; +Debug.ShouldStop(16); +if (true) return __ref.getField(true,"_flibversion" /*RemoteObject*/ ); + BA.debugLineNum = 998;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gmultilinetextsize(RemoteObject __ref,RemoteObject _awidth,RemoteObject _atext) throws Exception{ +try { + Debug.PushSubsStack("gMultilineTextSize (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,943); +if (RapidSub.canDelegate("gmultilinetextsize")) { return __ref.runUserSub(false, "cpdf","gmultilinetextsize", __ref, _awidth, _atext);} +RemoteObject _mts = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize"); +RemoteObject _ts = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdftextsize"); +RemoteObject _c = RemoteObject.createImmutable('\0'); +RemoteObject _l = RemoteObject.createImmutable(""); +RemoteObject _paragraphs = null; +RemoteObject _p = RemoteObject.createImmutable(""); +int _j = 0; +RemoteObject _lines = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; +Debug.locals.put("awidth", _awidth); +Debug.locals.put("atext", _atext); + BA.debugLineNum = 943;BA.debugLine="public Sub gMultilineTextSize(awidth As Double,ate"; +Debug.ShouldStop(16384); + BA.debugLineNum = 944;BA.debugLine="Dim mts As TPDFMultilineTextSize"; +Debug.ShouldStop(32768); +_mts = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize");Debug.locals.put("mts", _mts); + BA.debugLineNum = 945;BA.debugLine="Dim ts As TPDFTextSize"; +Debug.ShouldStop(65536); +_ts = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdftextsize");Debug.locals.put("ts", _ts); + BA.debugLineNum = 946;BA.debugLine="Dim c As Char"; +Debug.ShouldStop(131072); +_c = RemoteObject.createImmutable('\0');Debug.locals.put("c", _c); + BA.debugLineNum = 947;BA.debugLine="Dim l As String=\"\""; +Debug.ShouldStop(262144); +_l = BA.ObjectToString("");Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 948;BA.debugLine="mts.Initialize"; +Debug.ShouldStop(524288); +_mts.runVoidMethod ("Initialize"); + BA.debugLineNum = 949;BA.debugLine="mts.fParagraphs.Initialize"; +Debug.ShouldStop(1048576); +_mts.getField(false,"fParagraphs" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 950;BA.debugLine="mts.fWidth=awidth"; +Debug.ShouldStop(2097152); +_mts.setField ("fWidth" /*RemoteObject*/ ,_awidth); + BA.debugLineNum = 952;BA.debugLine="Dim paragraphs() As String=Regex.Split(CRLF,atext"; +Debug.ShouldStop(8388608); +_paragraphs = cpdf.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(cpdf.__c.getField(true,"CRLF")),(Object)(_atext));Debug.locals.put("paragraphs", _paragraphs);Debug.locals.put("paragraphs", _paragraphs); + BA.debugLineNum = 953;BA.debugLine="Dim p As String"; +Debug.ShouldStop(16777216); +_p = RemoteObject.createImmutable("");Debug.locals.put("p", _p); + BA.debugLineNum = 954;BA.debugLine="For j=0 To paragraphs.Length-1"; +Debug.ShouldStop(33554432); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {_paragraphs.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step10 > 0 && _j <= limit10) || (step10 < 0 && _j >= limit10) ;_j = ((int)(0 + _j + step10)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 955;BA.debugLine="Dim lines As List"; +Debug.ShouldStop(67108864); +_lines = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("lines", _lines); + BA.debugLineNum = 956;BA.debugLine="lines.Initialize"; +Debug.ShouldStop(134217728); +_lines.runVoidMethod ("Initialize"); + BA.debugLineNum = 957;BA.debugLine="mts.fParagraphs.Add(lines)"; +Debug.ShouldStop(268435456); +_mts.getField(false,"fParagraphs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_lines.getObject()))); + BA.debugLineNum = 958;BA.debugLine="p=paragraphs(j)"; +Debug.ShouldStop(536870912); +_p = _paragraphs.getArrayElement(true,BA.numberCast(int.class, _j));Debug.locals.put("p", _p); + BA.debugLineNum = 959;BA.debugLine="l=\"\""; +Debug.ShouldStop(1073741824); +_l = BA.ObjectToString("");Debug.locals.put("l", _l); + BA.debugLineNum = 960;BA.debugLine="For i=0 To p.Length-1"; +Debug.ShouldStop(-2147483648); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {_p.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16) ;_i = ((int)(0 + _i + step16)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 961;BA.debugLine="c=p.CharAt(i)"; +Debug.ShouldStop(1); +_c = _p.runMethod(true,"charAt",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("c", _c); + BA.debugLineNum = 962;BA.debugLine="If Asc(c)>31 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",cpdf.__c.runMethod(true,"Asc",(Object)(_c)),BA.numberCast(double.class, 31))) { + BA.debugLineNum = 963;BA.debugLine="l=l & c"; +Debug.ShouldStop(4); +_l = RemoteObject.concat(_l,_c);Debug.locals.put("l", _l); + BA.debugLineNum = 964;BA.debugLine="ts=gTextSize(l)"; +Debug.ShouldStop(8); +_ts = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gtextsize" /*RemoteObject*/ ,(Object)(_l));Debug.locals.put("ts", _ts); + BA.debugLineNum = 965;BA.debugLine="If ts.fWidth>awidth Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_ts.getField(true,"fWidth" /*RemoteObject*/ ),_awidth)) { + BA.debugLineNum = 966;BA.debugLine="l=MultilineTextSizeAddLine(mts,ts,l,awidth)"; +Debug.ShouldStop(32); +_l = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_multilinetextsizeaddline" /*RemoteObject*/ ,(Object)(_mts),(Object)(_ts),(Object)(_l),(Object)(_awidth));Debug.locals.put("l", _l); + }; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 970;BA.debugLine="ts=gTextSize(l)"; +Debug.ShouldStop(512); +_ts = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gtextsize" /*RemoteObject*/ ,(Object)(_l));Debug.locals.put("ts", _ts); + BA.debugLineNum = 971;BA.debugLine="l=MultilineTextSizeAddLine(mts,ts,l,awidth)"; +Debug.ShouldStop(1024); +_l = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_multilinetextsizeaddline" /*RemoteObject*/ ,(Object)(_mts),(Object)(_ts),(Object)(_l),(Object)(_awidth));Debug.locals.put("l", _l); + } +}Debug.locals.put("j", _j); +; + BA.debugLineNum = 974;BA.debugLine="Return mts"; +Debug.ShouldStop(8192); +if (true) return _mts; + BA.debugLineNum = 975;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gpage(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gPage (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,659); +if (RapidSub.canDelegate("gpage")) { return __ref.runUserSub(false, "cpdf","gpage", __ref);} + BA.debugLineNum = 659;BA.debugLine="public Sub gPage As Int"; +Debug.ShouldStop(262144); + BA.debugLineNum = 660;BA.debugLine="Return fPage+1"; +Debug.ShouldStop(524288); +if (true) return RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_fpage" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1); + BA.debugLineNum = 661;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gpageheight(RemoteObject __ref,RemoteObject _apage) throws Exception{ +try { + Debug.PushSubsStack("gPageHeight (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,640); +if (RapidSub.canDelegate("gpageheight")) { return __ref.runUserSub(false, "cpdf","gpageheight", __ref, _apage);} +Debug.locals.put("apage", _apage); + BA.debugLineNum = 640;BA.debugLine="public Sub gPageHeight(apage As Int) As Double"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 641;BA.debugLine="Return fPages.Get(apage-1).As(TPDFPage).fHeight/f"; +Debug.ShouldStop(1); +if (true) return RemoteObject.solve(new RemoteObject[] {((__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_apage,RemoteObject.createImmutable(1)}, "-",1, 1))))).getField(true,"fHeight" /*RemoteObject*/ ),__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "/",0, 0); + BA.debugLineNum = 642;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gpagescount(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gPagesCount (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,628); +if (RapidSub.canDelegate("gpagescount")) { return __ref.runUserSub(false, "cpdf","gpagescount", __ref);} + BA.debugLineNum = 628;BA.debugLine="public Sub gPagesCount As Int"; +Debug.ShouldStop(524288); + BA.debugLineNum = 629;BA.debugLine="Return fPages.size"; +Debug.ShouldStop(1048576); +if (true) return __ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(true,"getSize"); + BA.debugLineNum = 630;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gpagewidth(RemoteObject __ref,RemoteObject _apage) throws Exception{ +try { + Debug.PushSubsStack("gPageWidth (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,634); +if (RapidSub.canDelegate("gpagewidth")) { return __ref.runUserSub(false, "cpdf","gpagewidth", __ref, _apage);} +Debug.locals.put("apage", _apage); + BA.debugLineNum = 634;BA.debugLine="public Sub gPageWidth(apage As Int) As Double"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 635;BA.debugLine="Return fPages.Get(apage-1).As(TPDFPage).fWidth/fU"; +Debug.ShouldStop(67108864); +if (true) return RemoteObject.solve(new RemoteObject[] {((__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_apage,RemoteObject.createImmutable(1)}, "-",1, 1))))).getField(true,"fWidth" /*RemoteObject*/ ),__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "/",0, 0); + BA.debugLineNum = 636;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gtextsize(RemoteObject __ref,RemoteObject _atext) throws Exception{ +try { + Debug.PushSubsStack("gTextSize (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,904); +if (RapidSub.canDelegate("gtextsize")) { return __ref.runUserSub(false, "cpdf","gtextsize", __ref, _atext);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _ts = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdftextsize"); +RemoteObject _fi = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdffontinfo"); +RemoteObject _w = RemoteObject.createImmutable(0); +int _i = 0; +Debug.locals.put("atext", _atext); + BA.debugLineNum = 904;BA.debugLine="public Sub gTextSize(atext As String) As TPDFTextS"; +Debug.ShouldStop(128); + BA.debugLineNum = 905;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(256); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 906;BA.debugLine="Dim ts As TPDFTextSize"; +Debug.ShouldStop(512); +_ts = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdftextsize");Debug.locals.put("ts", _ts); + BA.debugLineNum = 907;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(1024); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 908;BA.debugLine="bb.Append(atext.GetBytes(fTextEncoding))"; +Debug.ShouldStop(2048); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_atext.runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 909;BA.debugLine="ts.Initialize"; +Debug.ShouldStop(4096); +_ts.runVoidMethod ("Initialize"); + BA.debugLineNum = 910;BA.debugLine="Dim fi As TPDFFontInfo=fFontsInfos.Get(calcFontKe"; +Debug.ShouldStop(8192); +_fi = ((__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontFamily" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontStyle" /*RemoteObject*/ ))))))));Debug.locals.put("fi", _fi);Debug.locals.put("fi", _fi); + BA.debugLineNum = 911;BA.debugLine="Dim w As Double"; +Debug.ShouldStop(16384); +_w = RemoteObject.createImmutable(0);Debug.locals.put("w", _w); + BA.debugLineNum = 912;BA.debugLine="For i=0 To bb.Length-1"; +Debug.ShouldStop(32768); +{ +final int step8 = 1; +final int limit8 = RemoteObject.solve(new RemoteObject[] {_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8) ;_i = ((int)(0 + _i + step8)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 913;BA.debugLine="w=w+fi.fCharsWidths(ToUnsigned(bb.InternalBuffer"; +Debug.ShouldStop(65536); +_w = RemoteObject.solve(new RemoteObject[] {_w,_fi.getField(false,"fCharsWidths" /*RemoteObject*/ ).getArrayElement(true,__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_tounsigned" /*RemoteObject*/ ,(Object)(_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getinternalbuffer" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, _i)))))}, "+",1, 0);Debug.locals.put("w", _w); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 915;BA.debugLine="ts.fWidth=w*fContext.fFontSize/1000/fUnitFactor"; +Debug.ShouldStop(262144); +_ts.setField ("fWidth" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_w,__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontSize" /*RemoteObject*/ ),RemoteObject.createImmutable(1000),__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*//",0, 0)); + BA.debugLineNum = 916;BA.debugLine="ts.fTop=fi.fYTop*fContext.fFontSize/1000/fUnitFac"; +Debug.ShouldStop(524288); +_ts.setField ("fTop" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_fi.getField(true,"fYTop" /*RemoteObject*/ ),__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontSize" /*RemoteObject*/ ),RemoteObject.createImmutable(1000),__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*//",0, 0)); + BA.debugLineNum = 917;BA.debugLine="ts.fBottom=fi.fYBottom*fContext.fFontSize/1000/fU"; +Debug.ShouldStop(1048576); +_ts.setField ("fBottom" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_fi.getField(true,"fYBottom" /*RemoteObject*/ ),__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontSize" /*RemoteObject*/ ),RemoteObject.createImmutable(1000),__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*//",0, 0)); + BA.debugLineNum = 918;BA.debugLine="ts.fHeight=ts.fBottom-ts.fTop"; +Debug.ShouldStop(2097152); +_ts.setField ("fHeight" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ts.getField(true,"fBottom" /*RemoteObject*/ ),_ts.getField(true,"fTop" /*RemoteObject*/ )}, "-",1, 0)); + BA.debugLineNum = 919;BA.debugLine="Return ts"; +Debug.ShouldStop(4194304); +if (true) return _ts; + BA.debugLineNum = 920;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gx(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gX (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,987); +if (RapidSub.canDelegate("gx")) { return __ref.runUserSub(false, "cpdf","gx", __ref);} + BA.debugLineNum = 987;BA.debugLine="public Sub gX As Double"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 988;BA.debugLine="Return fContext.fX"; +Debug.ShouldStop(134217728); +if (true) return __ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fX" /*RemoteObject*/ ); + BA.debugLineNum = 989;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gy(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gy (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,991); +if (RapidSub.canDelegate("gy")) { return __ref.runUserSub(false, "cpdf","gy", __ref);} + BA.debugLineNum = 991;BA.debugLine="public Sub gy As Double"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 992;BA.debugLine="Return fContext.fy"; +Debug.ShouldStop(-2147483648); +if (true) return __ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fY" /*RemoteObject*/ ); + BA.debugLineNum = 993;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _headerwrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("headerWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,202); +if (RapidSub.canDelegate("headerwrite")) { return __ref.runUserSub(false, "cpdf","headerwrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); + BA.debugLineNum = 202;BA.debugLine="private Sub headerWrite As Byte()"; +Debug.ShouldStop(512); + BA.debugLineNum = 203;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(1024); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 204;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(2048); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 205;BA.debugLine="bb.Append($\"%PDF-${NumberFormat2(fPDFVersion,1,1,"; +Debug.ShouldStop(4096); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("%PDF-"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, __ref.getField(true,"_fpdfversion" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 1)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 206;BA.debugLine="Return bb.toarray"; +Debug.ShouldStop(8192); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 207;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imageinfo(RemoteObject __ref,RemoteObject _adir,RemoteObject _afile) throws Exception{ +try { + Debug.PushSubsStack("imageInfo (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,478); +if (RapidSub.canDelegate("imageinfo")) { return __ref.runUserSub(false, "cpdf","imageinfo", __ref, _adir, _afile);} +RemoteObject _ii = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdfimageinfo"); +RemoteObject _raf = RemoteObject.declareNull("anywheresoftware.b4a.randomaccessfile.RandomAccessFile"); +RemoteObject _rafpos = RemoteObject.createImmutable(0L); +RemoteObject _bbdata = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _bbpalette = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _chunklength = RemoteObject.createImmutable(0); +RemoteObject _chunktype = RemoteObject.createImmutable(""); +RemoteObject _b = null; +Debug.locals.put("adir", _adir); +Debug.locals.put("afile", _afile); + BA.debugLineNum = 478;BA.debugLine="private Sub imageInfo(adir As String,afile As Stri"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 479;BA.debugLine="Dim ii As TPDFImageInfo"; +Debug.ShouldStop(1073741824); +_ii = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdfimageinfo");Debug.locals.put("ii", _ii); + BA.debugLineNum = 480;BA.debugLine="Dim raf As RandomAccessFile"; +Debug.ShouldStop(-2147483648); +_raf = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.RandomAccessFile");Debug.locals.put("raf", _raf); + BA.debugLineNum = 481;BA.debugLine="Dim rafpos As Long"; +Debug.ShouldStop(1); +_rafpos = RemoteObject.createImmutable(0L);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 482;BA.debugLine="Dim bbData As B4XBytesBuilder"; +Debug.ShouldStop(2); +_bbdata = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bbData", _bbdata); + BA.debugLineNum = 483;BA.debugLine="Dim bbPalette As B4XBytesBuilder"; +Debug.ShouldStop(4); +_bbpalette = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bbPalette", _bbpalette); + BA.debugLineNum = 485;BA.debugLine="bbData.Initialize"; +Debug.ShouldStop(16); +_bbdata.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 486;BA.debugLine="bbPalette.Initialize"; +Debug.ShouldStop(32); +_bbpalette.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 487;BA.debugLine="ii.Initialize"; +Debug.ShouldStop(64); +_ii.runVoidMethod ("Initialize"); + BA.debugLineNum = 488;BA.debugLine="ii.fError=0"; +Debug.ShouldStop(128); +_ii.setField ("fError" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 489;BA.debugLine="raf.Initialize(adir,afile,True)"; +Debug.ShouldStop(256); +_raf.runVoidMethod ("Initialize",(Object)(_adir),(Object)(_afile),(Object)(cpdf.__c.getField(true,"True"))); + BA.debugLineNum = 490;BA.debugLine="rafpos=0"; +Debug.ShouldStop(512); +_rafpos = BA.numberCast(long.class, 0);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 494;BA.debugLine="If rafReadString(raf,rafpos,8)<>Chr(137) & \"PNG\""; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_rafreadstring" /*RemoteObject*/ ,(Object)(_raf),(Object)(_rafpos),(Object)(BA.numberCast(long.class, 8))),RemoteObject.concat(cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 137))),RemoteObject.createImmutable("PNG"),cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))),cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10))),cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 26))),cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))) { + BA.debugLineNum = 495;BA.debugLine="ii.fError=1"; +Debug.ShouldStop(16384); +_ii.setField ("fError" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + }; + BA.debugLineNum = 497;BA.debugLine="rafpos=rafpos+8"; +Debug.ShouldStop(65536); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(8)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 500;BA.debugLine="Dim chunkLength As Int"; +Debug.ShouldStop(524288); +_chunklength = RemoteObject.createImmutable(0);Debug.locals.put("chunkLength", _chunklength); + BA.debugLineNum = 501;BA.debugLine="Dim chunkType As String"; +Debug.ShouldStop(1048576); +_chunktype = RemoteObject.createImmutable("");Debug.locals.put("chunkType", _chunktype); + BA.debugLineNum = 502;BA.debugLine="Do While (ii.fError=0) And (chunkType<>\"IEND\")"; +Debug.ShouldStop(2097152); +while (RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("=",_ii.getField(true,"fError" /*RemoteObject*/ ),BA.numberCast(double.class, 0))))) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",_chunktype,RemoteObject.createImmutable("IEND")))))) { + BA.debugLineNum = 503;BA.debugLine="chunkLength=raf.ReadInt(rafpos)"; +Debug.ShouldStop(4194304); +_chunklength = _raf.runMethod(true,"ReadInt",(Object)(_rafpos));Debug.locals.put("chunkLength", _chunklength); + BA.debugLineNum = 504;BA.debugLine="rafpos=rafpos+4"; +Debug.ShouldStop(8388608); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(4)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 505;BA.debugLine="chunkType=rafReadString(raf,rafpos,4)"; +Debug.ShouldStop(16777216); +_chunktype = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_rafreadstring" /*RemoteObject*/ ,(Object)(_raf),(Object)(_rafpos),(Object)(BA.numberCast(long.class, 4)));Debug.locals.put("chunkType", _chunktype); + BA.debugLineNum = 506;BA.debugLine="rafpos=rafpos+4"; +Debug.ShouldStop(33554432); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(4)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 507;BA.debugLine="Select chunkType"; +Debug.ShouldStop(67108864); +switch (BA.switchObjectToInt(_chunktype,BA.ObjectToString("IHDR"),BA.ObjectToString("IDAT"),BA.ObjectToString("PLTE"))) { +case 0: { + BA.debugLineNum = 510;BA.debugLine="ii.fWidth=raf.ReadInt(rafpos)"; +Debug.ShouldStop(536870912); +_ii.setField ("fWidth" /*RemoteObject*/ ,_raf.runMethod(true,"ReadInt",(Object)(_rafpos))); + BA.debugLineNum = 511;BA.debugLine="rafpos=rafpos+4"; +Debug.ShouldStop(1073741824); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(4)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 513;BA.debugLine="ii.fHeight=raf.ReadInt(rafpos)"; +Debug.ShouldStop(1); +_ii.setField ("fHeight" /*RemoteObject*/ ,_raf.runMethod(true,"ReadInt",(Object)(_rafpos))); + BA.debugLineNum = 514;BA.debugLine="rafpos=rafpos+4"; +Debug.ShouldStop(2); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(4)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 516;BA.debugLine="ii.fBPP=raf.ReadUnsignedByte(rafpos)"; +Debug.ShouldStop(8); +_ii.setField ("fBPP" /*RemoteObject*/ ,_raf.runMethod(true,"ReadUnsignedByte",(Object)(_rafpos))); + BA.debugLineNum = 517;BA.debugLine="If ii.fBPP>8 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_ii.getField(true,"fBPP" /*RemoteObject*/ ),BA.numberCast(double.class, 8))) { + BA.debugLineNum = 518;BA.debugLine="ii.fError=2"; +Debug.ShouldStop(32); +_ii.setField ("fError" /*RemoteObject*/ ,BA.numberCast(int.class, 2)); + }; + BA.debugLineNum = 520;BA.debugLine="rafpos=rafpos+1"; +Debug.ShouldStop(128); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(1)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 522;BA.debugLine="ii.fColorSpace=raf.ReadUnsignedByte(rafpos)"; +Debug.ShouldStop(512); +_ii.setField ("fColorSpace" /*RemoteObject*/ ,_raf.runMethod(true,"ReadUnsignedByte",(Object)(_rafpos))); + BA.debugLineNum = 523;BA.debugLine="If ii.fColorSpace<>0 And ii.fColorSpace<>2 And"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("!",_ii.getField(true,"fColorSpace" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_ii.getField(true,"fColorSpace" /*RemoteObject*/ ),BA.numberCast(double.class, 2)) && RemoteObject.solveBoolean("!",_ii.getField(true,"fColorSpace" /*RemoteObject*/ ),BA.numberCast(double.class, 3)) && RemoteObject.solveBoolean("!",_ii.getField(true,"fColorSpace" /*RemoteObject*/ ),BA.numberCast(double.class, 4))) { + BA.debugLineNum = 524;BA.debugLine="ii.FError=3"; +Debug.ShouldStop(2048); +_ii.setField ("fError" /*RemoteObject*/ ,BA.numberCast(int.class, 3)); + }; + BA.debugLineNum = 526;BA.debugLine="rafpos=rafpos+1"; +Debug.ShouldStop(8192); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(1)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 528;BA.debugLine="ii.FCompression=raf.ReadUnsignedByte(rafpos)"; +Debug.ShouldStop(32768); +_ii.setField ("fCompression" /*RemoteObject*/ ,_raf.runMethod(true,"ReadUnsignedByte",(Object)(_rafpos))); + BA.debugLineNum = 529;BA.debugLine="If ii.FCompression<>0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("!",_ii.getField(true,"fCompression" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 530;BA.debugLine="ii.FError=4"; +Debug.ShouldStop(131072); +_ii.setField ("fError" /*RemoteObject*/ ,BA.numberCast(int.class, 4)); + }; + BA.debugLineNum = 532;BA.debugLine="rafpos=rafpos+1"; +Debug.ShouldStop(524288); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(1)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 534;BA.debugLine="ii.FFilter=raf.ReadUnsignedByte(rafpos)"; +Debug.ShouldStop(2097152); +_ii.setField ("fFilter" /*RemoteObject*/ ,_raf.runMethod(true,"ReadUnsignedByte",(Object)(_rafpos))); + BA.debugLineNum = 535;BA.debugLine="If ii.FFilter<>0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("!",_ii.getField(true,"fFilter" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 536;BA.debugLine="ii.FError=5"; +Debug.ShouldStop(8388608); +_ii.setField ("fError" /*RemoteObject*/ ,BA.numberCast(int.class, 5)); + }; + BA.debugLineNum = 538;BA.debugLine="rafpos=rafpos+1"; +Debug.ShouldStop(33554432); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(1)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + BA.debugLineNum = 540;BA.debugLine="ii.FInterlacing=raf.ReadUnsignedByte(rafpos)"; +Debug.ShouldStop(134217728); +_ii.setField ("fInterlacing" /*RemoteObject*/ ,_raf.runMethod(true,"ReadUnsignedByte",(Object)(_rafpos))); + BA.debugLineNum = 541;BA.debugLine="If ii.FInterlacing<>0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("!",_ii.getField(true,"fInterlacing" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 542;BA.debugLine="ii.FError=6"; +Debug.ShouldStop(536870912); +_ii.setField ("fError" /*RemoteObject*/ ,BA.numberCast(int.class, 6)); + }; + BA.debugLineNum = 544;BA.debugLine="rafpos=rafpos+1"; +Debug.ShouldStop(-2147483648); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(1)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + break; } +case 1: { + BA.debugLineNum = 547;BA.debugLine="Dim b(chunkLength) As Byte"; +Debug.ShouldStop(4); +_b = RemoteObject.createNewArray ("byte", new int[] {_chunklength.get().intValue()}, new Object[]{});Debug.locals.put("b", _b); + BA.debugLineNum = 548;BA.debugLine="raf.ReadBytes(b,0,chunkLength,rafpos)"; +Debug.ShouldStop(8); +_raf.runVoidMethod ("ReadBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_chunklength),(Object)(_rafpos)); + BA.debugLineNum = 549;BA.debugLine="bbData.Append(b)"; +Debug.ShouldStop(16); +_bbdata.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_b)); + BA.debugLineNum = 550;BA.debugLine="rafpos=rafpos+chunkLength"; +Debug.ShouldStop(32); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,_chunklength}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + break; } +case 2: { + BA.debugLineNum = 553;BA.debugLine="Dim b(chunkLength) As Byte"; +Debug.ShouldStop(256); +_b = RemoteObject.createNewArray ("byte", new int[] {_chunklength.get().intValue()}, new Object[]{});Debug.locals.put("b", _b); + BA.debugLineNum = 554;BA.debugLine="raf.ReadBytes(b,0,chunkLength,rafpos)"; +Debug.ShouldStop(512); +_raf.runVoidMethod ("ReadBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_chunklength),(Object)(_rafpos)); + BA.debugLineNum = 555;BA.debugLine="bbPalette.Append(b)"; +Debug.ShouldStop(1024); +_bbpalette.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_b)); + BA.debugLineNum = 556;BA.debugLine="rafpos=rafpos+chunkLength"; +Debug.ShouldStop(2048); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,_chunklength}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + break; } +default: { + BA.debugLineNum = 560;BA.debugLine="rafpos=rafpos+chunkLength"; +Debug.ShouldStop(32768); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,_chunklength}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + break; } +} +; + BA.debugLineNum = 563;BA.debugLine="rafpos=rafpos+4"; +Debug.ShouldStop(262144); +_rafpos = RemoteObject.solve(new RemoteObject[] {_rafpos,RemoteObject.createImmutable(4)}, "+",1, 2);Debug.locals.put("rafpos", _rafpos); + } +; + BA.debugLineNum = 566;BA.debugLine="raf.close"; +Debug.ShouldStop(2097152); +_raf.runVoidMethod ("Close"); + BA.debugLineNum = 567;BA.debugLine="ii.fData=bbData.ToArray"; +Debug.ShouldStop(4194304); +_ii.setField ("fData" /*RemoteObject*/ ,_bbdata.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ )); + BA.debugLineNum = 568;BA.debugLine="ii.fPalette=bbPalette.ToArray"; +Debug.ShouldStop(8388608); +_ii.setField ("fPalette" /*RemoteObject*/ ,_bbpalette.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ )); + BA.debugLineNum = 570;BA.debugLine="Return ii"; +Debug.ShouldStop(33554432); +if (true) return _ii; + BA.debugLineNum = 571;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imagekey(RemoteObject __ref,RemoteObject _adir,RemoteObject _afile) throws Exception{ +try { + Debug.PushSubsStack("imageKey (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,473); +if (RapidSub.canDelegate("imagekey")) { return __ref.runUserSub(false, "cpdf","imagekey", __ref, _adir, _afile);} +Debug.locals.put("adir", _adir); +Debug.locals.put("afile", _afile); + BA.debugLineNum = 473;BA.debugLine="private Sub imageKey(adir As String,afile As Strin"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 474;BA.debugLine="Return adir & afile"; +Debug.ShouldStop(33554432); +if (true) return RemoteObject.concat(_adir,_afile); + BA.debugLineNum = 475;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imageswrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("imagesWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,323); +if (RapidSub.canDelegate("imageswrite")) { return __ref.runUserSub(false, "cpdf","imageswrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +int _i = 0; + BA.debugLineNum = 323;BA.debugLine="private Sub imagesWrite As Byte()"; +Debug.ShouldStop(4); + BA.debugLineNum = 324;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(8); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 325;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(16); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 326;BA.debugLine="For i=0 To fUsedImages.Size-1"; +Debug.ShouldStop(32); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 327;BA.debugLine="bb.append(imageWrite(i))"; +Debug.ShouldStop(64); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_imagewrite" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 329;BA.debugLine="Return bb.toarray"; +Debug.ShouldStop(256); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 330;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imagewrite(RemoteObject __ref,RemoteObject _aimage) throws Exception{ +try { + Debug.PushSubsStack("imageWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,332); +if (RapidSub.canDelegate("imagewrite")) { return __ref.runUserSub(false, "cpdf","imagewrite", __ref, _aimage);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _ii = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdfimageinfo"); +RemoteObject _cs = RemoteObject.createImmutable(""); +Debug.locals.put("aimage", _aimage); + BA.debugLineNum = 332;BA.debugLine="private Sub imageWrite(aimage As Int) As Byte()"; +Debug.ShouldStop(2048); + BA.debugLineNum = 333;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(4096); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 334;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(8192); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 335;BA.debugLine="Dim ii As TPDFImageInfo=fUsedImages.Get(aimage).A"; +Debug.ShouldStop(16384); +_ii = ((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_aimage)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("info")))));Debug.locals.put("ii", _ii);Debug.locals.put("ii", _ii); + BA.debugLineNum = 336;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj${Chr(10)}<>"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 344;BA.debugLine="bb.Append($\"/Length ${ii.fData.length}>>${Chr(10)"; +Debug.ShouldStop(8388608); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/Length "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ii.getField(false,"fData" /*RemoteObject*/ ).getField(true,"length")))),RemoteObject.createImmutable(">>"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("stream"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 345;BA.debugLine="bb.Append(ii.fdata)"; +Debug.ShouldStop(16777216); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_ii.getField(false,"fData" /*RemoteObject*/ ))); + BA.debugLineNum = 346;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; +Debug.ShouldStop(33554432); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("endstream"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 347;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 348;BA.debugLine="If cs=\"Indexed\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_cs,BA.ObjectToString("Indexed"))) { + BA.debugLineNum = 349;BA.debugLine="bb.Append(paletteWrite(ii.fPalette))"; +Debug.ShouldStop(268435456); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_palettewrite" /*RemoteObject*/ ,(Object)(_ii.getField(false,"fPalette" /*RemoteObject*/ ))))); + }; + BA.debugLineNum = 351;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(1073741824); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 352;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initfontsinfos(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("initFontsInfos (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,156); +if (RapidSub.canDelegate("initfontsinfos")) { return __ref.runUserSub(false, "cpdf","initfontsinfos", __ref);} + BA.debugLineNum = 156;BA.debugLine="private Sub initFontsInfos"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 157;BA.debugLine="fFontsInfos.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 158;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontNormal)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Courier")),(Object)(__ref.getField(true,"_fontnormal" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 159;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontBold),c"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Courier")),(Object)(__ref.getField(true,"_fontbold" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 160;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontItalic)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Courier")),(Object)(__ref.getField(true,"_fontitalic" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 161;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontBold+fo"; +Debug.ShouldStop(1); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Courier")),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_fontbold" /*RemoteObject*/ ),__ref.getField(true,"_fontitalic" /*RemoteObject*/ )}, "+",1, 1))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600),BA.numberCast(int.class, 600)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 162;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontNorma"; +Debug.ShouldStop(2); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Helvetica")),(Object)(__ref.getField(true,"_fontnormal" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 355),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 667),BA.numberCast(int.class, 191),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 389),BA.numberCast(int.class, 584),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 584),BA.numberCast(int.class, 584),BA.numberCast(int.class, 584),BA.numberCast(int.class, 556),BA.numberCast(int.class, 1015),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 556),BA.numberCast(int.class, 833),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 667),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 944),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 469),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 222),BA.numberCast(int.class, 222),BA.numberCast(int.class, 500),BA.numberCast(int.class, 222),BA.numberCast(int.class, 833),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 722),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 334),BA.numberCast(int.class, 260),BA.numberCast(int.class, 334),BA.numberCast(int.class, 584),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 350),BA.numberCast(int.class, 222),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 667),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 350),BA.numberCast(int.class, 611),BA.numberCast(int.class, 350),BA.numberCast(int.class, 350),BA.numberCast(int.class, 222),BA.numberCast(int.class, 222),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 944),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 260),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 737),BA.numberCast(int.class, 370),BA.numberCast(int.class, 556),BA.numberCast(int.class, 584),BA.numberCast(int.class, 333),BA.numberCast(int.class, 737),BA.numberCast(int.class, 333),BA.numberCast(int.class, 400),BA.numberCast(int.class, 584),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 537),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 365),BA.numberCast(int.class, 556),BA.numberCast(int.class, 834),BA.numberCast(int.class, 834),BA.numberCast(int.class, 834),BA.numberCast(int.class, 611),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 584),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 584),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 163;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontBold)"; +Debug.ShouldStop(4); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Helvetica")),(Object)(__ref.getField(true,"_fontbold" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 474),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 722),BA.numberCast(int.class, 238),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 389),BA.numberCast(int.class, 584),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 584),BA.numberCast(int.class, 584),BA.numberCast(int.class, 584),BA.numberCast(int.class, 611),BA.numberCast(int.class, 975),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 833),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 667),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 944),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 584),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 889),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 389),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 778),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 389),BA.numberCast(int.class, 280),BA.numberCast(int.class, 389),BA.numberCast(int.class, 584),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 350),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 667),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 350),BA.numberCast(int.class, 611),BA.numberCast(int.class, 350),BA.numberCast(int.class, 350),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 944),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 280),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 737),BA.numberCast(int.class, 370),BA.numberCast(int.class, 556),BA.numberCast(int.class, 584),BA.numberCast(int.class, 333),BA.numberCast(int.class, 737),BA.numberCast(int.class, 333),BA.numberCast(int.class, 400),BA.numberCast(int.class, 584),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 365),BA.numberCast(int.class, 556),BA.numberCast(int.class, 834),BA.numberCast(int.class, 834),BA.numberCast(int.class, 834),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 584),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 584),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 164;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontItali"; +Debug.ShouldStop(8); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Helvetica")),(Object)(__ref.getField(true,"_fontitalic" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 355),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 667),BA.numberCast(int.class, 191),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 389),BA.numberCast(int.class, 584),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 584),BA.numberCast(int.class, 584),BA.numberCast(int.class, 584),BA.numberCast(int.class, 556),BA.numberCast(int.class, 1015),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 556),BA.numberCast(int.class, 833),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 667),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 944),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 469),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 222),BA.numberCast(int.class, 222),BA.numberCast(int.class, 500),BA.numberCast(int.class, 222),BA.numberCast(int.class, 833),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 722),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 334),BA.numberCast(int.class, 260),BA.numberCast(int.class, 334),BA.numberCast(int.class, 584),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 350),BA.numberCast(int.class, 222),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 667),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 350),BA.numberCast(int.class, 611),BA.numberCast(int.class, 350),BA.numberCast(int.class, 350),BA.numberCast(int.class, 222),BA.numberCast(int.class, 222),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 944),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 260),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 737),BA.numberCast(int.class, 370),BA.numberCast(int.class, 556),BA.numberCast(int.class, 584),BA.numberCast(int.class, 333),BA.numberCast(int.class, 737),BA.numberCast(int.class, 333),BA.numberCast(int.class, 400),BA.numberCast(int.class, 584),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 537),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 365),BA.numberCast(int.class, 556),BA.numberCast(int.class, 834),BA.numberCast(int.class, 834),BA.numberCast(int.class, 834),BA.numberCast(int.class, 611),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 584),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 584),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 165;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontBold+"; +Debug.ShouldStop(16); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Helvetica")),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_fontbold" /*RemoteObject*/ ),__ref.getField(true,"_fontitalic" /*RemoteObject*/ )}, "+",1, 1))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 474),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 722),BA.numberCast(int.class, 238),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 389),BA.numberCast(int.class, 584),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 584),BA.numberCast(int.class, 584),BA.numberCast(int.class, 584),BA.numberCast(int.class, 611),BA.numberCast(int.class, 975),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 833),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 667),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 944),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 584),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 889),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 389),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 778),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 389),BA.numberCast(int.class, 280),BA.numberCast(int.class, 389),BA.numberCast(int.class, 584),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 350),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 667),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 350),BA.numberCast(int.class, 611),BA.numberCast(int.class, 350),BA.numberCast(int.class, 350),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 944),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 280),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 737),BA.numberCast(int.class, 370),BA.numberCast(int.class, 556),BA.numberCast(int.class, 584),BA.numberCast(int.class, 333),BA.numberCast(int.class, 737),BA.numberCast(int.class, 333),BA.numberCast(int.class, 400),BA.numberCast(int.class, 584),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 365),BA.numberCast(int.class, 556),BA.numberCast(int.class, 834),BA.numberCast(int.class, 834),BA.numberCast(int.class, 834),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 584),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 584),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 166;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontNormal),c"; +Debug.ShouldStop(32); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Times")),(Object)(__ref.getField(true,"_fontnormal" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 408),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 833),BA.numberCast(int.class, 778),BA.numberCast(int.class, 180),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 564),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 250),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 564),BA.numberCast(int.class, 564),BA.numberCast(int.class, 564),BA.numberCast(int.class, 444),BA.numberCast(int.class, 921),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 333),BA.numberCast(int.class, 389),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 889),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 556),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 944),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 469),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 444),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 278),BA.numberCast(int.class, 778),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 389),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 722),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 480),BA.numberCast(int.class, 200),BA.numberCast(int.class, 480),BA.numberCast(int.class, 541),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 350),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 889),BA.numberCast(int.class, 350),BA.numberCast(int.class, 611),BA.numberCast(int.class, 350),BA.numberCast(int.class, 350),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 333),BA.numberCast(int.class, 980),BA.numberCast(int.class, 389),BA.numberCast(int.class, 333),BA.numberCast(int.class, 722),BA.numberCast(int.class, 350),BA.numberCast(int.class, 444),BA.numberCast(int.class, 722),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 200),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 760),BA.numberCast(int.class, 276),BA.numberCast(int.class, 500),BA.numberCast(int.class, 564),BA.numberCast(int.class, 333),BA.numberCast(int.class, 760),BA.numberCast(int.class, 333),BA.numberCast(int.class, 400),BA.numberCast(int.class, 564),BA.numberCast(int.class, 300),BA.numberCast(int.class, 300),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 453),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 300),BA.numberCast(int.class, 310),BA.numberCast(int.class, 500),BA.numberCast(int.class, 750),BA.numberCast(int.class, 750),BA.numberCast(int.class, 750),BA.numberCast(int.class, 444),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 889),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 564),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 667),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 564),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 2200)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 167;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontBold),cre"; +Debug.ShouldStop(64); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Times")),(Object)(__ref.getField(true,"_fontbold" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 555),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 833),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 570),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 250),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 570),BA.numberCast(int.class, 570),BA.numberCast(int.class, 570),BA.numberCast(int.class, 500),BA.numberCast(int.class, 930),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 389),BA.numberCast(int.class, 500),BA.numberCast(int.class, 778),BA.numberCast(int.class, 667),BA.numberCast(int.class, 944),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 611),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 556),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 581),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 444),BA.numberCast(int.class, 556),BA.numberCast(int.class, 444),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 833),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 444),BA.numberCast(int.class, 389),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 722),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 394),BA.numberCast(int.class, 220),BA.numberCast(int.class, 394),BA.numberCast(int.class, 520),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 350),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 350),BA.numberCast(int.class, 667),BA.numberCast(int.class, 350),BA.numberCast(int.class, 350),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 389),BA.numberCast(int.class, 333),BA.numberCast(int.class, 722),BA.numberCast(int.class, 350),BA.numberCast(int.class, 444),BA.numberCast(int.class, 722),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 220),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 747),BA.numberCast(int.class, 300),BA.numberCast(int.class, 500),BA.numberCast(int.class, 570),BA.numberCast(int.class, 333),BA.numberCast(int.class, 747),BA.numberCast(int.class, 333),BA.numberCast(int.class, 400),BA.numberCast(int.class, 570),BA.numberCast(int.class, 300),BA.numberCast(int.class, 300),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 540),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 300),BA.numberCast(int.class, 330),BA.numberCast(int.class, 500),BA.numberCast(int.class, 750),BA.numberCast(int.class, 750),BA.numberCast(int.class, 750),BA.numberCast(int.class, 500),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 389),BA.numberCast(int.class, 389),BA.numberCast(int.class, 389),BA.numberCast(int.class, 389),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 778),BA.numberCast(int.class, 570),BA.numberCast(int.class, 778),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 722),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 570),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 168;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontItalic),c"; +Debug.ShouldStop(128); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Times")),(Object)(__ref.getField(true,"_fontitalic" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 420),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 833),BA.numberCast(int.class, 778),BA.numberCast(int.class, 214),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 675),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 250),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 675),BA.numberCast(int.class, 675),BA.numberCast(int.class, 675),BA.numberCast(int.class, 500),BA.numberCast(int.class, 920),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 333),BA.numberCast(int.class, 444),BA.numberCast(int.class, 667),BA.numberCast(int.class, 556),BA.numberCast(int.class, 833),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 833),BA.numberCast(int.class, 611),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 389),BA.numberCast(int.class, 278),BA.numberCast(int.class, 389),BA.numberCast(int.class, 422),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 444),BA.numberCast(int.class, 278),BA.numberCast(int.class, 722),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 389),BA.numberCast(int.class, 389),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 667),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 389),BA.numberCast(int.class, 400),BA.numberCast(int.class, 275),BA.numberCast(int.class, 400),BA.numberCast(int.class, 541),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 350),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 889),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 944),BA.numberCast(int.class, 350),BA.numberCast(int.class, 556),BA.numberCast(int.class, 350),BA.numberCast(int.class, 350),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 889),BA.numberCast(int.class, 333),BA.numberCast(int.class, 980),BA.numberCast(int.class, 389),BA.numberCast(int.class, 333),BA.numberCast(int.class, 667),BA.numberCast(int.class, 350),BA.numberCast(int.class, 389),BA.numberCast(int.class, 556),BA.numberCast(int.class, 250),BA.numberCast(int.class, 389),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 275),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 760),BA.numberCast(int.class, 276),BA.numberCast(int.class, 500),BA.numberCast(int.class, 675),BA.numberCast(int.class, 333),BA.numberCast(int.class, 760),BA.numberCast(int.class, 333),BA.numberCast(int.class, 400),BA.numberCast(int.class, 675),BA.numberCast(int.class, 300),BA.numberCast(int.class, 300),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 523),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 300),BA.numberCast(int.class, 310),BA.numberCast(int.class, 500),BA.numberCast(int.class, 750),BA.numberCast(int.class, 750),BA.numberCast(int.class, 750),BA.numberCast(int.class, 500),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 889),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 675),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 675),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 169;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontBold+font"; +Debug.ShouldStop(256); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Times")),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_fontbold" /*RemoteObject*/ ),__ref.getField(true,"_fontitalic" /*RemoteObject*/ )}, "+",1, 1))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 389),BA.numberCast(int.class, 555),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 833),BA.numberCast(int.class, 778),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 570),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 250),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 570),BA.numberCast(int.class, 570),BA.numberCast(int.class, 570),BA.numberCast(int.class, 500),BA.numberCast(int.class, 832),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 778),BA.numberCast(int.class, 389),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 889),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 556),BA.numberCast(int.class, 611),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 889),BA.numberCast(int.class, 667),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 333),BA.numberCast(int.class, 278),BA.numberCast(int.class, 333),BA.numberCast(int.class, 570),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 278),BA.numberCast(int.class, 778),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 389),BA.numberCast(int.class, 389),BA.numberCast(int.class, 278),BA.numberCast(int.class, 556),BA.numberCast(int.class, 444),BA.numberCast(int.class, 667),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444),BA.numberCast(int.class, 389),BA.numberCast(int.class, 348),BA.numberCast(int.class, 220),BA.numberCast(int.class, 348),BA.numberCast(int.class, 570),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 350),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 556),BA.numberCast(int.class, 333),BA.numberCast(int.class, 944),BA.numberCast(int.class, 350),BA.numberCast(int.class, 611),BA.numberCast(int.class, 350),BA.numberCast(int.class, 350),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 350),BA.numberCast(int.class, 500),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 333),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 389),BA.numberCast(int.class, 333),BA.numberCast(int.class, 722),BA.numberCast(int.class, 350),BA.numberCast(int.class, 389),BA.numberCast(int.class, 611),BA.numberCast(int.class, 250),BA.numberCast(int.class, 389),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 220),BA.numberCast(int.class, 500),BA.numberCast(int.class, 333),BA.numberCast(int.class, 747),BA.numberCast(int.class, 266),BA.numberCast(int.class, 500),BA.numberCast(int.class, 606),BA.numberCast(int.class, 333),BA.numberCast(int.class, 747),BA.numberCast(int.class, 333),BA.numberCast(int.class, 400),BA.numberCast(int.class, 570),BA.numberCast(int.class, 300),BA.numberCast(int.class, 300),BA.numberCast(int.class, 333),BA.numberCast(int.class, 576),BA.numberCast(int.class, 500),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 300),BA.numberCast(int.class, 300),BA.numberCast(int.class, 500),BA.numberCast(int.class, 750),BA.numberCast(int.class, 750),BA.numberCast(int.class, 750),BA.numberCast(int.class, 500),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 944),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 667),BA.numberCast(int.class, 389),BA.numberCast(int.class, 389),BA.numberCast(int.class, 389),BA.numberCast(int.class, 389),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 570),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 611),BA.numberCast(int.class, 611),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 722),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 444),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 570),BA.numberCast(int.class, 500),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 556),BA.numberCast(int.class, 444),BA.numberCast(int.class, 500),BA.numberCast(int.class, 444)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 170;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Symbol\",fontNormal),"; +Debug.ShouldStop(512); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("Symbol")),(Object)(__ref.getField(true,"_fontnormal" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 250),BA.numberCast(int.class, 333),BA.numberCast(int.class, 713),BA.numberCast(int.class, 500),BA.numberCast(int.class, 549),BA.numberCast(int.class, 833),BA.numberCast(int.class, 778),BA.numberCast(int.class, 439),BA.numberCast(int.class, 333),BA.numberCast(int.class, 333),BA.numberCast(int.class, 500),BA.numberCast(int.class, 549),BA.numberCast(int.class, 250),BA.numberCast(int.class, 549),BA.numberCast(int.class, 250),BA.numberCast(int.class, 278),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 278),BA.numberCast(int.class, 278),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 444),BA.numberCast(int.class, 549),BA.numberCast(int.class, 722),BA.numberCast(int.class, 667),BA.numberCast(int.class, 722),BA.numberCast(int.class, 612),BA.numberCast(int.class, 611),BA.numberCast(int.class, 763),BA.numberCast(int.class, 603),BA.numberCast(int.class, 722),BA.numberCast(int.class, 333),BA.numberCast(int.class, 631),BA.numberCast(int.class, 722),BA.numberCast(int.class, 686),BA.numberCast(int.class, 889),BA.numberCast(int.class, 722),BA.numberCast(int.class, 722),BA.numberCast(int.class, 768),BA.numberCast(int.class, 741),BA.numberCast(int.class, 556),BA.numberCast(int.class, 592),BA.numberCast(int.class, 611),BA.numberCast(int.class, 690),BA.numberCast(int.class, 439),BA.numberCast(int.class, 768),BA.numberCast(int.class, 645),BA.numberCast(int.class, 795),BA.numberCast(int.class, 611),BA.numberCast(int.class, 333),BA.numberCast(int.class, 863),BA.numberCast(int.class, 333),BA.numberCast(int.class, 658),BA.numberCast(int.class, 500),BA.numberCast(int.class, 500),BA.numberCast(int.class, 631),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 494),BA.numberCast(int.class, 439),BA.numberCast(int.class, 521),BA.numberCast(int.class, 411),BA.numberCast(int.class, 603),BA.numberCast(int.class, 329),BA.numberCast(int.class, 603),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 576),BA.numberCast(int.class, 521),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 521),BA.numberCast(int.class, 549),BA.numberCast(int.class, 603),BA.numberCast(int.class, 439),BA.numberCast(int.class, 576),BA.numberCast(int.class, 713),BA.numberCast(int.class, 686),BA.numberCast(int.class, 493),BA.numberCast(int.class, 686),BA.numberCast(int.class, 494),BA.numberCast(int.class, 480),BA.numberCast(int.class, 200),BA.numberCast(int.class, 480),BA.numberCast(int.class, 549),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 750),BA.numberCast(int.class, 620),BA.numberCast(int.class, 247),BA.numberCast(int.class, 549),BA.numberCast(int.class, 167),BA.numberCast(int.class, 713),BA.numberCast(int.class, 500),BA.numberCast(int.class, 753),BA.numberCast(int.class, 753),BA.numberCast(int.class, 753),BA.numberCast(int.class, 753),BA.numberCast(int.class, 1042),BA.numberCast(int.class, 987),BA.numberCast(int.class, 603),BA.numberCast(int.class, 987),BA.numberCast(int.class, 603),BA.numberCast(int.class, 400),BA.numberCast(int.class, 549),BA.numberCast(int.class, 411),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 713),BA.numberCast(int.class, 494),BA.numberCast(int.class, 460),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 549),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 603),BA.numberCast(int.class, 1000),BA.numberCast(int.class, 658),BA.numberCast(int.class, 823),BA.numberCast(int.class, 686),BA.numberCast(int.class, 795),BA.numberCast(int.class, 987),BA.numberCast(int.class, 768),BA.numberCast(int.class, 768),BA.numberCast(int.class, 823),BA.numberCast(int.class, 768),BA.numberCast(int.class, 768),BA.numberCast(int.class, 713),BA.numberCast(int.class, 713),BA.numberCast(int.class, 713),BA.numberCast(int.class, 713),BA.numberCast(int.class, 713),BA.numberCast(int.class, 713),BA.numberCast(int.class, 713),BA.numberCast(int.class, 768),BA.numberCast(int.class, 713),BA.numberCast(int.class, 790),BA.numberCast(int.class, 790),BA.numberCast(int.class, 890),BA.numberCast(int.class, 823),BA.numberCast(int.class, 549),BA.numberCast(int.class, 250),BA.numberCast(int.class, 713),BA.numberCast(int.class, 603),BA.numberCast(int.class, 603),BA.numberCast(int.class, 1042),BA.numberCast(int.class, 987),BA.numberCast(int.class, 603),BA.numberCast(int.class, 987),BA.numberCast(int.class, 603),BA.numberCast(int.class, 494),BA.numberCast(int.class, 329),BA.numberCast(int.class, 790),BA.numberCast(int.class, 790),BA.numberCast(int.class, 786),BA.numberCast(int.class, 713),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 494),BA.numberCast(int.class, 494),BA.numberCast(int.class, 494),BA.numberCast(int.class, 494),BA.numberCast(int.class, 0),BA.numberCast(int.class, 329),BA.numberCast(int.class, 274),BA.numberCast(int.class, 686),BA.numberCast(int.class, 686),BA.numberCast(int.class, 686),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 384),BA.numberCast(int.class, 494),BA.numberCast(int.class, 494),BA.numberCast(int.class, 494),BA.numberCast(int.class, 0)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 10)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 171;BA.debugLine="fFontsInfos.Put(calcFontKey(\"zapfdingbats\",fontNo"; +Debug.ShouldStop(1024); +__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(BA.ObjectToString("zapfdingbats")),(Object)(__ref.getField(true,"_fontnormal" /*RemoteObject*/ ))))),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createfontinfo" /*RemoteObject*/ ,(Object)(RemoteObject.createNewArray("int",new int[] {256},new Object[] {BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 278),BA.numberCast(int.class, 974),BA.numberCast(int.class, 961),BA.numberCast(int.class, 974),BA.numberCast(int.class, 980),BA.numberCast(int.class, 719),BA.numberCast(int.class, 789),BA.numberCast(int.class, 790),BA.numberCast(int.class, 791),BA.numberCast(int.class, 690),BA.numberCast(int.class, 960),BA.numberCast(int.class, 939),BA.numberCast(int.class, 549),BA.numberCast(int.class, 855),BA.numberCast(int.class, 911),BA.numberCast(int.class, 933),BA.numberCast(int.class, 911),BA.numberCast(int.class, 945),BA.numberCast(int.class, 974),BA.numberCast(int.class, 755),BA.numberCast(int.class, 846),BA.numberCast(int.class, 762),BA.numberCast(int.class, 761),BA.numberCast(int.class, 571),BA.numberCast(int.class, 677),BA.numberCast(int.class, 763),BA.numberCast(int.class, 760),BA.numberCast(int.class, 759),BA.numberCast(int.class, 754),BA.numberCast(int.class, 494),BA.numberCast(int.class, 552),BA.numberCast(int.class, 537),BA.numberCast(int.class, 577),BA.numberCast(int.class, 692),BA.numberCast(int.class, 786),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 790),BA.numberCast(int.class, 793),BA.numberCast(int.class, 794),BA.numberCast(int.class, 816),BA.numberCast(int.class, 823),BA.numberCast(int.class, 789),BA.numberCast(int.class, 841),BA.numberCast(int.class, 823),BA.numberCast(int.class, 833),BA.numberCast(int.class, 816),BA.numberCast(int.class, 831),BA.numberCast(int.class, 923),BA.numberCast(int.class, 744),BA.numberCast(int.class, 723),BA.numberCast(int.class, 749),BA.numberCast(int.class, 790),BA.numberCast(int.class, 792),BA.numberCast(int.class, 695),BA.numberCast(int.class, 776),BA.numberCast(int.class, 768),BA.numberCast(int.class, 792),BA.numberCast(int.class, 759),BA.numberCast(int.class, 707),BA.numberCast(int.class, 708),BA.numberCast(int.class, 682),BA.numberCast(int.class, 701),BA.numberCast(int.class, 826),BA.numberCast(int.class, 815),BA.numberCast(int.class, 789),BA.numberCast(int.class, 789),BA.numberCast(int.class, 707),BA.numberCast(int.class, 687),BA.numberCast(int.class, 696),BA.numberCast(int.class, 689),BA.numberCast(int.class, 786),BA.numberCast(int.class, 787),BA.numberCast(int.class, 713),BA.numberCast(int.class, 791),BA.numberCast(int.class, 785),BA.numberCast(int.class, 791),BA.numberCast(int.class, 873),BA.numberCast(int.class, 761),BA.numberCast(int.class, 762),BA.numberCast(int.class, 762),BA.numberCast(int.class, 759),BA.numberCast(int.class, 759),BA.numberCast(int.class, 892),BA.numberCast(int.class, 892),BA.numberCast(int.class, 788),BA.numberCast(int.class, 784),BA.numberCast(int.class, 438),BA.numberCast(int.class, 138),BA.numberCast(int.class, 277),BA.numberCast(int.class, 415),BA.numberCast(int.class, 392),BA.numberCast(int.class, 392),BA.numberCast(int.class, 668),BA.numberCast(int.class, 668),BA.numberCast(int.class, 0),BA.numberCast(int.class, 390),BA.numberCast(int.class, 390),BA.numberCast(int.class, 317),BA.numberCast(int.class, 317),BA.numberCast(int.class, 276),BA.numberCast(int.class, 276),BA.numberCast(int.class, 509),BA.numberCast(int.class, 509),BA.numberCast(int.class, 410),BA.numberCast(int.class, 410),BA.numberCast(int.class, 234),BA.numberCast(int.class, 234),BA.numberCast(int.class, 334),BA.numberCast(int.class, 334),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 732),BA.numberCast(int.class, 544),BA.numberCast(int.class, 544),BA.numberCast(int.class, 910),BA.numberCast(int.class, 667),BA.numberCast(int.class, 760),BA.numberCast(int.class, 760),BA.numberCast(int.class, 776),BA.numberCast(int.class, 595),BA.numberCast(int.class, 694),BA.numberCast(int.class, 626),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 788),BA.numberCast(int.class, 894),BA.numberCast(int.class, 838),BA.numberCast(int.class, 1016),BA.numberCast(int.class, 458),BA.numberCast(int.class, 748),BA.numberCast(int.class, 924),BA.numberCast(int.class, 748),BA.numberCast(int.class, 918),BA.numberCast(int.class, 927),BA.numberCast(int.class, 928),BA.numberCast(int.class, 928),BA.numberCast(int.class, 834),BA.numberCast(int.class, 873),BA.numberCast(int.class, 828),BA.numberCast(int.class, 924),BA.numberCast(int.class, 924),BA.numberCast(int.class, 917),BA.numberCast(int.class, 930),BA.numberCast(int.class, 931),BA.numberCast(int.class, 463),BA.numberCast(int.class, 883),BA.numberCast(int.class, 836),BA.numberCast(int.class, 836),BA.numberCast(int.class, 867),BA.numberCast(int.class, 867),BA.numberCast(int.class, 696),BA.numberCast(int.class, 696),BA.numberCast(int.class, 874),BA.numberCast(int.class, 0),BA.numberCast(int.class, 874),BA.numberCast(int.class, 760),BA.numberCast(int.class, 946),BA.numberCast(int.class, 771),BA.numberCast(int.class, 865),BA.numberCast(int.class, 771),BA.numberCast(int.class, 888),BA.numberCast(int.class, 967),BA.numberCast(int.class, 888),BA.numberCast(int.class, 831),BA.numberCast(int.class, 873),BA.numberCast(int.class, 927),BA.numberCast(int.class, 970),BA.numberCast(int.class, 918),BA.numberCast(int.class, 0)})),(Object)(BA.numberCast(int.class, -(double) (0 + 60))),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 220)),(Object)(BA.numberCast(int.class, 40)),(Object)(BA.numberCast(int.class, 800)),(Object)(BA.numberCast(int.class, -(double) (0 + 230))))))); + BA.debugLineNum = 172;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _aunit) throws Exception{ +try { + Debug.PushSubsStack("Initialize (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,121); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "cpdf","initialize", __ref, _ba, _aunit);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("aunit", _aunit); + BA.debugLineNum = 121;BA.debugLine="Public Sub Initialize(aunit As String) As cPDF"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 122;BA.debugLine="fLibVersion=\"0.6\""; +Debug.ShouldStop(33554432); +__ref.setField ("_flibversion" /*RemoteObject*/ ,BA.ObjectToString("0.6")); + BA.debugLineNum = 123;BA.debugLine="fPDFVersion=\"1.3\""; +Debug.ShouldStop(67108864); +__ref.setField ("_fpdfversion" /*RemoteObject*/ ,BA.ObjectToString("1.3")); + BA.debugLineNum = 124;BA.debugLine="sUnit(aunit)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sunit" /*RemoteObject*/ ,(Object)(_aunit)); + BA.debugLineNum = 125;BA.debugLine="fProperties=CreateMap(\"Producer\":\"B4XPDF\",\"Creati"; +Debug.ShouldStop(268435456); +__ref.setField ("_fproperties" /*RemoteObject*/ ,cpdf.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("Producer")),RemoteObject.createImmutable(("B4XPDF")),RemoteObject.createImmutable(("CreationDate")),(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gcreationdate" /*RemoteObject*/ )),RemoteObject.createImmutable(("ModDate")),(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gcreationdate" /*RemoteObject*/ ))}))); + BA.debugLineNum = 126;BA.debugLine="fContext.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 127;BA.debugLine="fObjs.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 128;BA.debugLine="fPages.Initialize"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_fpages" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 129;BA.debugLine="fPage=0"; +Debug.ShouldStop(1); +__ref.setField ("_fpage" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 130;BA.debugLine="fUsedImages.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 131;BA.debugLine="fUsedFonts.Initialize"; +Debug.ShouldStop(4); +__ref.getField(false,"_fusedfonts" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 132;BA.debugLine="initFontsInfos"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_initfontsinfos" /*RemoteObject*/ ); + BA.debugLineNum = 133;BA.debugLine="Return Me"; +Debug.ShouldStop(16); +if (true) return (__ref); + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _kidswrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("kidsWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,217); +if (RapidSub.canDelegate("kidswrite")) { return __ref.runUserSub(false, "cpdf","kidswrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +int _i = 0; + BA.debugLineNum = 217;BA.debugLine="private Sub kidsWrite As Byte()"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 218;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(33554432); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 219;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(67108864); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 220;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <get().intValue(); +_i = 1 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 222;BA.debugLine="bb.append($\"${fObjs.Size+1+i} 0 R \"$.getbytes(fT"; +Debug.ShouldStop(536870912); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1),RemoteObject.createImmutable(_i)}, "++",2, 1)))),RemoteObject.createImmutable(" 0 R "))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 224;BA.debugLine="bb.Append($\"] /Count ${fPages.size}>> endobj${Chr"; +Debug.ShouldStop(-2147483648); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("] /Count "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(">> endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 225;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(1); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 226;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(2); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 227;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _multilinetextsizeaddline(RemoteObject __ref,RemoteObject _amts,RemoteObject _ats,RemoteObject _atext,RemoteObject _awidth) throws Exception{ +try { + Debug.PushSubsStack("MultilineTextSizeAddLine (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,925); +if (RapidSub.canDelegate("multilinetextsizeaddline")) { return __ref.runUserSub(false, "cpdf","multilinetextsizeaddline", __ref, _amts, _ats, _atext, _awidth);} +RemoteObject _s = RemoteObject.createImmutable(""); +RemoteObject _p = RemoteObject.createImmutable(0); +Debug.locals.put("amts", _amts); +Debug.locals.put("ats", _ats); +Debug.locals.put("atext", _atext); +Debug.locals.put("awidth", _awidth); + BA.debugLineNum = 925;BA.debugLine="private Sub MultilineTextSizeAddLine(amts As TPDFM"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 926;BA.debugLine="Dim s As String"; +Debug.ShouldStop(536870912); +_s = RemoteObject.createImmutable("");Debug.locals.put("s", _s); + BA.debugLineNum = 927;BA.debugLine="If ats.fWidth>awidth Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_ats.getField(true,"fWidth" /*RemoteObject*/ ),_awidth)) { + BA.debugLineNum = 928;BA.debugLine="Dim p As Int=atext.LastIndexOf(\" \")"; +Debug.ShouldStop(-2147483648); +_p = _atext.runMethod(true,"lastIndexOf",(Object)(RemoteObject.createImmutable(" ")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 929;BA.debugLine="If p=-1 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_p,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 930;BA.debugLine="p=atext.Length-1"; +Debug.ShouldStop(2); +_p = RemoteObject.solve(new RemoteObject[] {_atext.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1);Debug.locals.put("p", _p); + }; + BA.debugLineNum = 932;BA.debugLine="s=atext.SubString(p+1)"; +Debug.ShouldStop(8); +_s = _atext.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_p,RemoteObject.createImmutable(1)}, "+",1, 1)));Debug.locals.put("s", _s); + BA.debugLineNum = 933;BA.debugLine="atext=atext.SubString2(0,p)"; +Debug.ShouldStop(16); +_atext = _atext.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(_p));Debug.locals.put("atext", _atext); + }else { + BA.debugLineNum = 935;BA.debugLine="s=\"\""; +Debug.ShouldStop(64); +_s = BA.ObjectToString("");Debug.locals.put("s", _s); + }; + BA.debugLineNum = 937;BA.debugLine="amts.fparagraphs.Get(amts.fParagraphs.Size-1).As("; +Debug.ShouldStop(256); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _amts.getField(false,"fParagraphs" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_amts.getField(false,"fParagraphs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))))).runVoidMethod ("Add",(Object)((_atext))); + BA.debugLineNum = 938;BA.debugLine="amts.fHeight=amts.fHeight+ats.fHeight"; +Debug.ShouldStop(512); +_amts.setField ("fHeight" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_amts.getField(true,"fHeight" /*RemoteObject*/ ),_ats.getField(true,"fHeight" /*RemoteObject*/ )}, "+",1, 0)); + BA.debugLineNum = 939;BA.debugLine="Return s"; +Debug.ShouldStop(1024); +if (true) return _s; + BA.debugLineNum = 940;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _outimage(RemoteObject __ref,RemoteObject _adir,RemoteObject _afile,RemoteObject _ax,RemoteObject _ay,RemoteObject _aw,RemoteObject _ah) throws Exception{ +try { + Debug.PushSubsStack("outImage (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,817); +if (RapidSub.canDelegate("outimage")) { return __ref.runUserSub(false, "cpdf","outimage", __ref, _adir, _afile, _ax, _ay, _aw, _ah);} +RemoteObject _ii = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdfimageinfo"); +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _i = RemoteObject.createImmutable(0); +Debug.locals.put("adir", _adir); +Debug.locals.put("afile", _afile); +Debug.locals.put("ax", _ax); +Debug.locals.put("ay", _ay); +Debug.locals.put("aw", _aw); +Debug.locals.put("ah", _ah); + BA.debugLineNum = 817;BA.debugLine="public Sub outImage(adir As String,afile As String"; +Debug.ShouldStop(65536); + BA.debugLineNum = 818;BA.debugLine="Dim ii As TPDFImageInfo"; +Debug.ShouldStop(131072); +_ii = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdfimageinfo");Debug.locals.put("ii", _ii); + BA.debugLineNum = 819;BA.debugLine="afile=convertImage(adir,afile)"; +Debug.ShouldStop(262144); +_afile = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_convertimage" /*RemoteObject*/ ,(Object)(_adir),(Object)(_afile));Debug.locals.put("afile", _afile); + BA.debugLineNum = 821;BA.debugLine="Dim k As String=imageKey(adir,afile)"; +Debug.ShouldStop(1048576); +_k = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_imagekey" /*RemoteObject*/ ,(Object)(_adir),(Object)(_afile));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 822;BA.debugLine="Dim i As Int=findImageKey(k)"; +Debug.ShouldStop(2097152); +_i = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_findimagekey" /*RemoteObject*/ ,(Object)(_k));Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 824;BA.debugLine="If i=-1 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 826;BA.debugLine="ii=imageInfo(adir,afile)"; +Debug.ShouldStop(33554432); +_ii = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_imageinfo" /*RemoteObject*/ ,(Object)(_adir),(Object)(_afile));Debug.locals.put("ii", _ii); + BA.debugLineNum = 828;BA.debugLine="fUsedImages.add(CreateMap(\"path\":k,\"info\":ii))"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((cpdf.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("path")),(_k),RemoteObject.createImmutable(("info")),(_ii)})).getObject()))); + BA.debugLineNum = 829;BA.debugLine="i=fUsedImages.Size-1"; +Debug.ShouldStop(268435456); +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1);Debug.locals.put("i", _i); + }else { + BA.debugLineNum = 831;BA.debugLine="ii=fUsedImages.Get(i).As(Map).Get(\"info\")"; +Debug.ShouldStop(1073741824); +_ii = ((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_i)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("info")))));Debug.locals.put("ii", _ii); + }; + BA.debugLineNum = 834;BA.debugLine="File.Delete(adir,afile)"; +Debug.ShouldStop(2); +cpdf.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(_adir),(Object)(_afile)); + BA.debugLineNum = 836;BA.debugLine="If ii.fError=0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_ii.getField(true,"fError" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 838;BA.debugLine="If aw=0 And ah=0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_aw,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",_ah,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 839;BA.debugLine="aw=-96"; +Debug.ShouldStop(64); +_aw = BA.numberCast(double.class, -(double) (0 + 96));Debug.locals.put("aw", _aw); + BA.debugLineNum = 840;BA.debugLine="ah=-96"; +Debug.ShouldStop(128); +_ah = BA.numberCast(double.class, -(double) (0 + 96));Debug.locals.put("ah", _ah); + }; + BA.debugLineNum = 844;BA.debugLine="If aw<0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("<",_aw,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 845;BA.debugLine="aw=-ii.fWidth*72/aw/fUnitFactor"; +Debug.ShouldStop(4096); +_aw = BA.numberCast(double.class, -(double) (0 + _ii.getField(true,"fWidth" /*RemoteObject*/ ).get().intValue())*(double) (0 + 72)/(double)_aw.get().doubleValue()/(double)__ref.getField(true,"_funitfactor" /*RemoteObject*/ ).get().doubleValue());Debug.locals.put("aw", _aw); + }; + BA.debugLineNum = 848;BA.debugLine="If ah<0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("<",_ah,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 849;BA.debugLine="ah=-ii.fHeight*72/ah/fUnitFactor"; +Debug.ShouldStop(65536); +_ah = BA.numberCast(double.class, -(double) (0 + _ii.getField(true,"fHeight" /*RemoteObject*/ ).get().intValue())*(double) (0 + 72)/(double)_ah.get().doubleValue()/(double)__ref.getField(true,"_funitfactor" /*RemoteObject*/ ).get().doubleValue());Debug.locals.put("ah", _ah); + }; + BA.debugLineNum = 853;BA.debugLine="If aw=0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_aw,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 854;BA.debugLine="aw=ah*ii.fWidth/ii.fHeight"; +Debug.ShouldStop(2097152); +_aw = RemoteObject.solve(new RemoteObject[] {_ah,_ii.getField(true,"fWidth" /*RemoteObject*/ ),_ii.getField(true,"fHeight" /*RemoteObject*/ )}, "*/",0, 0);Debug.locals.put("aw", _aw); + }; + BA.debugLineNum = 857;BA.debugLine="If ah=0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_ah,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 858;BA.debugLine="ah=aw*ii.fHeight/ii.fWidth"; +Debug.ShouldStop(33554432); +_ah = RemoteObject.solve(new RemoteObject[] {_aw,_ii.getField(true,"fHeight" /*RemoteObject*/ ),_ii.getField(true,"fWidth" /*RemoteObject*/ )}, "*/",0, 0);Debug.locals.put("ah", _ah); + }; + BA.debugLineNum = 861;BA.debugLine="contentAdd(fPage,$\"q ${NumberFormat2(aw*fUnitFac"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable("q "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_aw,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" 0 0 "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ah,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ax,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ay,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" cm /I"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_i))),RemoteObject.createImmutable(" Do Q"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + }; + BA.debugLineNum = 863;BA.debugLine="Return Me"; +Debug.ShouldStop(1073741824); +if (true) return (__ref); + BA.debugLineNum = 864;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _outline(RemoteObject __ref,RemoteObject _ax1,RemoteObject _ay1,RemoteObject _ax2,RemoteObject _ay2) throws Exception{ +try { + Debug.PushSubsStack("outLine (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,779); +if (RapidSub.canDelegate("outline")) { return __ref.runUserSub(false, "cpdf","outline", __ref, _ax1, _ay1, _ax2, _ay2);} +Debug.locals.put("ax1", _ax1); +Debug.locals.put("ay1", _ay1); +Debug.locals.put("ax2", _ax2); +Debug.locals.put("ay2", _ay2); + BA.debugLineNum = 779;BA.debugLine="public Sub outLine(ax1 As Double,ay1 As Double,ax2"; +Debug.ShouldStop(1024); + BA.debugLineNum = 780;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax1*fUnitFacto"; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ax1,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ay1,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" m "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ax2,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ay2,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" l h S"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 781;BA.debugLine="Return Me"; +Debug.ShouldStop(4096); +if (true) return (__ref); + BA.debugLineNum = 782;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _outraw(RemoteObject __ref,RemoteObject _atext) throws Exception{ +try { + Debug.PushSubsStack("outRaw (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,869); +if (RapidSub.canDelegate("outraw")) { return __ref.runUserSub(false, "cpdf","outraw", __ref, _atext);} +RemoteObject _shift = RemoteObject.createImmutable(0); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Regex.MatcherWrapper"); +int _g = 0; +RemoteObject _v = RemoteObject.createImmutable(""); +Debug.locals.put("atext", _atext); + BA.debugLineNum = 869;BA.debugLine="public Sub outRaw(atext As String) As cPDF"; +Debug.ShouldStop(16); + BA.debugLineNum = 870;BA.debugLine="If fUnitFactor<>1 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_funitfactor" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 872;BA.debugLine="Dim shift As Int=0"; +Debug.ShouldStop(128); +_shift = BA.numberCast(int.class, 0);Debug.locals.put("shift", _shift);Debug.locals.put("shift", _shift); + BA.debugLineNum = 873;BA.debugLine="atext=atext & Chr(10)"; +Debug.ShouldStop(256); +_atext = RemoteObject.concat(_atext,cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10))));Debug.locals.put("atext", _atext); + BA.debugLineNum = 874;BA.debugLine="Dim m As Matcher = Regex.Matcher(\"([+-]?[0-9]{1,"; +Debug.ShouldStop(512); +_m = RemoteObject.createNew ("anywheresoftware.b4a.keywords.Regex.MatcherWrapper"); +_m = cpdf.__c.getField(false,"Regex").runMethod(false,"Matcher",(Object)(BA.ObjectToString("([+-]?[0-9]{1,}[\\.]{0,1}[0-9]{0,})")),(Object)(_atext));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 875;BA.debugLine="Do While m.Find"; +Debug.ShouldStop(1024); +while (_m.runMethod(true,"Find").get().booleanValue()) { + BA.debugLineNum = 876;BA.debugLine="For g=1 To m.GroupCount"; +Debug.ShouldStop(2048); +{ +final int step6 = 1; +final int limit6 = _m.runMethod(true,"getGroupCount").get().intValue(); +_g = 1 ; +for (;(step6 > 0 && _g <= limit6) || (step6 < 0 && _g >= limit6) ;_g = ((int)(0 + _g + step6)) ) { +Debug.locals.put("g", _g); + BA.debugLineNum = 877;BA.debugLine="Dim v As String=NumberFormat2(fUnitFactor*m.Gr"; +Debug.ShouldStop(4096); +_v = cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_funitfactor" /*RemoteObject*/ ),BA.numberCast(double.class, _m.runMethod(true,"Group",(Object)(BA.numberCast(int.class, _g))))}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")));Debug.locals.put("v", _v);Debug.locals.put("v", _v); + BA.debugLineNum = 878;BA.debugLine="atext=atext.SubString2(0,m.getstart(g)+shift)"; +Debug.ShouldStop(8192); +_atext = RemoteObject.concat(_atext.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {_m.runMethod(true,"GetStart",(Object)(BA.numberCast(int.class, _g))),_shift}, "+",1, 1))),_v,_atext.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_m.runMethod(true,"GetEnd",(Object)(BA.numberCast(int.class, _g))),_shift}, "+",1, 1))));Debug.locals.put("atext", _atext); + BA.debugLineNum = 879;BA.debugLine="shift=shift+v.Length-m.Group(g).Length"; +Debug.ShouldStop(16384); +_shift = RemoteObject.solve(new RemoteObject[] {_shift,_v.runMethod(true,"length"),_m.runMethod(true,"Group",(Object)(BA.numberCast(int.class, _g))).runMethod(true,"length")}, "+-",2, 1);Debug.locals.put("shift", _shift); + } +}Debug.locals.put("g", _g); +; + } +; + }; + BA.debugLineNum = 883;BA.debugLine="contentAdd(fPage,atext)"; +Debug.ShouldStop(262144); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)(_atext)); + BA.debugLineNum = 884;BA.debugLine="Return Me"; +Debug.ShouldStop(524288); +if (true) return (__ref); + BA.debugLineNum = 885;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _outrectangle(RemoteObject __ref,RemoteObject _ax,RemoteObject _ay,RemoteObject _aw,RemoteObject _ah,RemoteObject _astyle) throws Exception{ +try { + Debug.PushSubsStack("outRectangle (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,788); +if (RapidSub.canDelegate("outrectangle")) { return __ref.runUserSub(false, "cpdf","outrectangle", __ref, _ax, _ay, _aw, _ah, _astyle);} +Debug.locals.put("ax", _ax); +Debug.locals.put("ay", _ay); +Debug.locals.put("aw", _aw); +Debug.locals.put("ah", _ah); +Debug.locals.put("astyle", _astyle); + BA.debugLineNum = 788;BA.debugLine="public Sub outRectangle(ax As Double,ay As Double,"; +Debug.ShouldStop(524288); + BA.debugLineNum = 789;BA.debugLine="If astyle=RectangleBorderAndFill Or astyle=Rectan"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_astyle,__ref.getField(true,"_rectangleborderandfill" /*RemoteObject*/ )) || RemoteObject.solveBoolean("=",_astyle,__ref.getField(true,"_rectanglefillonly" /*RemoteObject*/ ))) { + BA.debugLineNum = 790;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(fContext.fFil"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fFillColor" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fFillColor" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 1))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fFillColor" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 2))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" rg"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + }; + BA.debugLineNum = 792;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFactor"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ax,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ay,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_aw,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ah,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" re "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_astyle))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 793;BA.debugLine="Return Me"; +Debug.ShouldStop(16777216); +if (true) return (__ref); + BA.debugLineNum = 794;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _outtext(RemoteObject __ref,RemoteObject _ax,RemoteObject _ay,RemoteObject _atext) throws Exception{ +try { + Debug.PushSubsStack("outText (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,716); +if (RapidSub.canDelegate("outtext")) { return __ref.runUserSub(false, "cpdf","outtext", __ref, _ax, _ay, _atext);} +RemoteObject _fi = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdffontinfo"); +RemoteObject _ts = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdftextsize"); +Debug.locals.put("ax", _ax); +Debug.locals.put("ay", _ay); +Debug.locals.put("atext", _atext); + BA.debugLineNum = 716;BA.debugLine="public Sub outText(ax As Double,ay As Double,atext"; +Debug.ShouldStop(2048); + BA.debugLineNum = 717;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(fContext.fFont"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fFontColor" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fFontColor" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 1))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fFontColor" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 2))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" rg"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 718;BA.debugLine="contentAdd(fPage,$\"BT ${NumberFormat2(ax*fUnitFac"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable("BT "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ax,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ay,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" Td ("),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_escapetext" /*RemoteObject*/ ,(Object)(_atext))))),RemoteObject.createImmutable(")Tj ET"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 719;BA.debugLine="If Bit.And(fContext.fFontstyle,fontUnderline+font"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontStyle" /*RemoteObject*/ )),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_fontunderline" /*RemoteObject*/ ),__ref.getField(true,"_fontstrikethrough" /*RemoteObject*/ )}, "+",1, 1))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 720;BA.debugLine="Dim fi As TPDFFontInfo=fFontsInfos.Get(calcFontK"; +Debug.ShouldStop(32768); +_fi = ((__ref.getField(false,"_ffontsinfos" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontFamily" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontStyle" /*RemoteObject*/ ))))))));Debug.locals.put("fi", _fi);Debug.locals.put("fi", _fi); + BA.debugLineNum = 721;BA.debugLine="Dim ts As TPDFTextSize=gTextSize(atext)"; +Debug.ShouldStop(65536); +_ts = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gtextsize" /*RemoteObject*/ ,(Object)(_atext));Debug.locals.put("ts", _ts);Debug.locals.put("ts", _ts); + }; + BA.debugLineNum = 723;BA.debugLine="If Bit.And(fContext.fFontstyle,fontUnderline)<>0"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontStyle" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_fontunderline" /*RemoteObject*/ ))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 724;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFacto"; +Debug.ShouldStop(524288); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ax,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ay,__ref.getField(true,"_funitfactor" /*RemoteObject*/ ),_fi.getField(true,"fYUnderline" /*RemoteObject*/ ),__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontSize" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "*+*/",1, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ts.getField(true,"fWidth" /*RemoteObject*/ ),__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {(_fi.getField(true,"fHUnderline" /*RemoteObject*/ )),__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontSize" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "*/",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" re f "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + }; + BA.debugLineNum = 726;BA.debugLine="If Bit.And(fContext.fFontstyle,fontStrikeThrough)"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontStyle" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_fontstrikethrough" /*RemoteObject*/ ))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 727;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFacto"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ax,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ay,__ref.getField(true,"_funitfactor" /*RemoteObject*/ ),_fi.getField(true,"fYStrikeThrough" /*RemoteObject*/ ),__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontSize" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "*+*/",1, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_ts.getField(true,"fWidth" /*RemoteObject*/ ),__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {(_fi.getField(true,"fHStrikeThrough" /*RemoteObject*/ )),__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontSize" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "*/",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" re f "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + }; + BA.debugLineNum = 729;BA.debugLine="Return Me"; +Debug.ShouldStop(16777216); +if (true) return (__ref); + BA.debugLineNum = 730;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _outtextflow(RemoteObject __ref,RemoteObject _aleftmargin,RemoteObject _arightmargin,RemoteObject _aalign,RemoteObject _atext) throws Exception{ +try { + Debug.PushSubsStack("outTextFlow (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,737); +if (RapidSub.canDelegate("outtextflow")) { return __ref.runUserSub(false, "cpdf","outtextflow", __ref, _aleftmargin, _arightmargin, _aalign, _atext);} +RemoteObject _mts = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize"); +RemoteObject _ts = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdftextsize"); +int _p = 0; +RemoteObject _lines = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; +RemoteObject _l = RemoteObject.createImmutable(""); +RemoteObject _w = null; +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _s = RemoteObject.createImmutable(0); +int _j = 0; +RemoteObject _ww = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdftextsize"); +Debug.locals.put("aleftMargin", _aleftmargin); +Debug.locals.put("arightMargin", _arightmargin); +Debug.locals.put("aalign", _aalign); +Debug.locals.put("atext", _atext); + BA.debugLineNum = 737;BA.debugLine="public Sub outTextFlow(aleftMargin As Double,arigh"; +Debug.ShouldStop(1); + BA.debugLineNum = 738;BA.debugLine="Dim mts As TPDFMultilineTextSize=gMultilineTextSi"; +Debug.ShouldStop(2); +_mts = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gmultilinetextsize" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {_arightmargin,_aleftmargin}, "-",1, 0)),(Object)(_atext));Debug.locals.put("mts", _mts);Debug.locals.put("mts", _mts); + BA.debugLineNum = 739;BA.debugLine="Dim ts As TPDFTextSize"; +Debug.ShouldStop(4); +_ts = RemoteObject.createNew ("gunav2.keymon.com.mx.cpdf._tpdftextsize");Debug.locals.put("ts", _ts); + BA.debugLineNum = 740;BA.debugLine="For p=0 To mts.fParagraphs.Size-1"; +Debug.ShouldStop(8); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_mts.getField(false,"fParagraphs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step3 > 0 && _p <= limit3) || (step3 < 0 && _p >= limit3) ;_p = ((int)(0 + _p + step3)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 741;BA.debugLine="Dim lines As List=mts.fParagraphs.Get(p).As(List"; +Debug.ShouldStop(16); +_lines = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_lines = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mts.getField(false,"fParagraphs" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))));Debug.locals.put("lines", _lines);Debug.locals.put("lines", _lines); + BA.debugLineNum = 742;BA.debugLine="For i=0 To lines.Size-1"; +Debug.ShouldStop(32); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_lines.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 743;BA.debugLine="Dim l As String=lines.Get(i)"; +Debug.ShouldStop(64); +_l = BA.ObjectToString(_lines.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 744;BA.debugLine="ts=gTextSize(l)"; +Debug.ShouldStop(128); +_ts = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gtextsize" /*RemoteObject*/ ,(Object)(_l));Debug.locals.put("ts", _ts); + BA.debugLineNum = 745;BA.debugLine="Select Case aalign"; +Debug.ShouldStop(256); +switch (BA.switchObjectToInt(_aalign,BA.ObjectToString("L"),BA.ObjectToString("C"),BA.ObjectToString("R"),BA.ObjectToString("J"))) { +case 0: { + BA.debugLineNum = 747;BA.debugLine="outText(aleftMargin,fContext.fy,l)"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(_aleftmargin),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fY" /*RemoteObject*/ )),(Object)(_l)); + break; } +case 1: { + BA.debugLineNum = 749;BA.debugLine="outText(aleftMargin+(arightMargin-aleftMargin"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {_aleftmargin,(RemoteObject.solve(new RemoteObject[] {_arightmargin,_aleftmargin,_ts.getField(true,"fWidth" /*RemoteObject*/ )}, "--",2, 0)),RemoteObject.createImmutable(2)}, "+/",1, 0)),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fY" /*RemoteObject*/ )),(Object)(_l)); + break; } +case 2: { + BA.debugLineNum = 751;BA.debugLine="outText(arightMargin-ts.fWidth,fContext.fy,l)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {_arightmargin,_ts.getField(true,"fWidth" /*RemoteObject*/ )}, "-",1, 0)),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fY" /*RemoteObject*/ )),(Object)(_l)); + break; } +case 3: { + BA.debugLineNum = 753;BA.debugLine="If i=lines.Size-1 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_lines.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1)))) { + BA.debugLineNum = 755;BA.debugLine="outText(aleftMargin,fContext.fy,l)"; +Debug.ShouldStop(262144); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(_aleftmargin),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fY" /*RemoteObject*/ )),(Object)(_l)); + }else { + BA.debugLineNum = 758;BA.debugLine="Dim w() As String=Regex.split(\" \",l)"; +Debug.ShouldStop(2097152); +_w = cpdf.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_l));Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 759;BA.debugLine="Dim x As Double=aleftMargin"; +Debug.ShouldStop(4194304); +_x = _aleftmargin;Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 761;BA.debugLine="Dim s As Double=((arightMargin-aleftMargin)-"; +Debug.ShouldStop(16777216); +_s = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_arightmargin,_aleftmargin}, "-",1, 0)),_ts.getField(true,"fWidth" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gtextsize" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable(" "))).getField(true,"fWidth" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {_w.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))}, "*",0, 0))}, "-+",2, 0)),(RemoteObject.solve(new RemoteObject[] {_w.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))}, "/",0, 0);Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 762;BA.debugLine="For j=0 To w.Length-1"; +Debug.ShouldStop(33554432); +{ +final int step22 = 1; +final int limit22 = RemoteObject.solve(new RemoteObject[] {_w.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step22 > 0 && _j <= limit22) || (step22 < 0 && _j >= limit22) ;_j = ((int)(0 + _j + step22)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 763;BA.debugLine="Dim ww As TPDFTextSize=gTextSize(w(j))"; +Debug.ShouldStop(67108864); +_ww = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_gtextsize" /*RemoteObject*/ ,(Object)(_w.getArrayElement(true,BA.numberCast(int.class, _j))));Debug.locals.put("ww", _ww);Debug.locals.put("ww", _ww); + BA.debugLineNum = 764;BA.debugLine="outText(x,fContext.fy,w(j))"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_outtext" /*RemoteObject*/ ,(Object)(_x),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fY" /*RemoteObject*/ )),(Object)(_w.getArrayElement(true,BA.numberCast(int.class, _j)))); + BA.debugLineNum = 765;BA.debugLine="x=x+s+ww.fWidth"; +Debug.ShouldStop(268435456); +_x = RemoteObject.solve(new RemoteObject[] {_x,_s,_ww.getField(true,"fWidth" /*RemoteObject*/ )}, "++",2, 0);Debug.locals.put("x", _x); + } +}Debug.locals.put("j", _j); +; + }; + break; } +} +; + BA.debugLineNum = 769;BA.debugLine="fContext.fX=aleftMargin"; +Debug.ShouldStop(1); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fX" /*RemoteObject*/ ,_aleftmargin); + BA.debugLineNum = 770;BA.debugLine="fContext.fy=fContext.fy+ts.fHeight"; +Debug.ShouldStop(2); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fY" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fY" /*RemoteObject*/ ),_ts.getField(true,"fHeight" /*RemoteObject*/ )}, "+",1, 0)); + } +}Debug.locals.put("i", _i); +; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 773;BA.debugLine="Return Me"; +Debug.ShouldStop(16); +if (true) return (__ref); + BA.debugLineNum = 774;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pageadd(RemoteObject __ref,RemoteObject _awidth,RemoteObject _aheight) throws Exception{ +try { + Debug.PushSubsStack("pageAdd (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,648); +if (RapidSub.canDelegate("pageadd")) { return __ref.runUserSub(false, "cpdf","pageadd", __ref, _awidth, _aheight);} +Debug.locals.put("awidth", _awidth); +Debug.locals.put("aheight", _aheight); + BA.debugLineNum = 648;BA.debugLine="public Sub pageAdd(awidth As Double,aheight As Dou"; +Debug.ShouldStop(128); + BA.debugLineNum = 649;BA.debugLine="fPages.Add(createPage(IIf(awidth<0,-awidth,awidth"; +Debug.ShouldStop(256); +__ref.getField(false,"_fpages" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_createpage" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, ((RemoteObject.solveBoolean("<",_awidth,BA.numberCast(double.class, 0))) ? (RemoteObject.createImmutable((-_awidth.get().doubleValue()))) : ((RemoteObject.solve(new RemoteObject[] {_awidth,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)))))),(Object)(BA.numberCast(double.class, ((RemoteObject.solveBoolean("<",_aheight,BA.numberCast(double.class, 0))) ? (RemoteObject.createImmutable((-_aheight.get().doubleValue()))) : ((RemoteObject.solve(new RemoteObject[] {_aheight,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)))))),(Object)(RemoteObject.createImmutable("")))))); + BA.debugLineNum = 650;BA.debugLine="fPage=fPages.Size-1"; +Debug.ShouldStop(512); +__ref.setField ("_fpage" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1)); + BA.debugLineNum = 651;BA.debugLine="sFont(fContext.fFontFamily,fContext.fFontStyle,fC"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfont" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontFamily" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontStyle" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fFontSize" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fFontColor" /*RemoteObject*/ ))); + BA.debugLineNum = 652;BA.debugLine="sDrawColor(fContext.fDrawColor)"; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sdrawcolor" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fDrawColor" /*RemoteObject*/ ))); + BA.debugLineNum = 653;BA.debugLine="sDrawWidth(fContext.fDrawWidth)"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sdrawwidth" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(true,"fDrawWidth" /*RemoteObject*/ ))); + BA.debugLineNum = 654;BA.debugLine="sFillColor(fContext.fFillColor)"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_sfillcolor" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_fcontext" /*RemoteObject*/ ).getField(false,"fFillColor" /*RemoteObject*/ ))); + BA.debugLineNum = 655;BA.debugLine="Return Me"; +Debug.ShouldStop(16384); +if (true) return (__ref); + BA.debugLineNum = 656;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pageswrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("pagesWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,229); +if (RapidSub.canDelegate("pageswrite")) { return __ref.runUserSub(false, "cpdf","pageswrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _r = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 229;BA.debugLine="private Sub pagesWrite As Byte()"; +Debug.ShouldStop(16); + BA.debugLineNum = 230;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(32); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 231;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(64); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 232;BA.debugLine="Dim r As Int=fObjs.Size+1+fPages.Size*2"; +Debug.ShouldStop(128); +_r = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1),__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(2)}, "++*",2, 1);Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 233;BA.debugLine="For i=0 To fPages.Size-1"; +Debug.ShouldStop(256); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 234;BA.debugLine="bb.append(pageWrite(i,r))"; +Debug.ShouldStop(512); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_pagewrite" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _i)),(Object)(_r)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 236;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(2048); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 237;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pagewrite(RemoteObject __ref,RemoteObject _apage,RemoteObject _aresource) throws Exception{ +try { + Debug.PushSubsStack("pageWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,239); +if (RapidSub.canDelegate("pagewrite")) { return __ref.runUserSub(false, "cpdf","pagewrite", __ref, _apage, _aresource);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _p = RemoteObject.declareNull("gunav2.keymon.com.mx.cpdf._tpdfpage"); +Debug.locals.put("apage", _apage); +Debug.locals.put("aresource", _aresource); + BA.debugLineNum = 239;BA.debugLine="private Sub pageWrite(apage As Int,aresource As In"; +Debug.ShouldStop(16384); + BA.debugLineNum = 240;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(32768); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 241;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(65536); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 242;BA.debugLine="Dim p As TPDFPage=fPages.Get(apage)"; +Debug.ShouldStop(131072); +_p = (__ref.getField(false,"_fpages" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_apage)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 243;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 244;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 245;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(1048576); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 246;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _palettewrite(RemoteObject __ref,RemoteObject _apalette) throws Exception{ +try { + Debug.PushSubsStack("paletteWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,354); +if (RapidSub.canDelegate("palettewrite")) { return __ref.runUserSub(false, "cpdf","palettewrite", __ref, _apalette);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +Debug.locals.put("apalette", _apalette); + BA.debugLineNum = 354;BA.debugLine="private Sub paletteWrite(apalette() As Byte) As By"; +Debug.ShouldStop(2); + BA.debugLineNum = 355;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(4); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 356;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(8); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 357;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj${Chr(10)}<>"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("stream"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 358;BA.debugLine="bb.Append(apalette)"; +Debug.ShouldStop(32); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_apalette)); + BA.debugLineNum = 359;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; +Debug.ShouldStop(64); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("endstream"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable("endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 360;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(128); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 361;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(256); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 362;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _propertieswrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("propertiesWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,364); +if (RapidSub.canDelegate("propertieswrite")) { return __ref.runUserSub(false, "cpdf","propertieswrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _k = RemoteObject.createImmutable(""); + BA.debugLineNum = 364;BA.debugLine="private Sub propertiesWrite As Byte()"; +Debug.ShouldStop(2048); + BA.debugLineNum = 365;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(4096); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 366;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(8192); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 367;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <<${Chr(10)}\"$."; +Debug.ShouldStop(16384); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "+",1, 1)))),RemoteObject.createImmutable(" 0 obj <<"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 368;BA.debugLine="For Each k As String In fProperties.keys"; +Debug.ShouldStop(32768); +{ +final RemoteObject group4 = __ref.getField(false,"_fproperties" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen4 = group4.runMethod(true,"getSize").get() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_k = BA.ObjectToString(group4.runMethod(false,"Get",index4));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 369;BA.debugLine="bb.Append($\"/${k}(${escapeText(fProperties.Get(k"; +Debug.ShouldStop(65536); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_k))),RemoteObject.createImmutable("("),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_escapetext" /*RemoteObject*/ ,(Object)(BA.ObjectToString(__ref.getField(false,"_fproperties" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k))))))))),RemoteObject.createImmutable(")"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + } +}Debug.locals.put("k", _k); +; + BA.debugLineNum = 371;BA.debugLine="bb.Append($\" >> endobj${Chr(10)}\"$.getBytes(fText"; +Debug.ShouldStop(262144); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(" >> endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 372;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 373;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(1048576); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 374;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rafreadstring(RemoteObject __ref,RemoteObject _araf,RemoteObject _astart,RemoteObject _acount) throws Exception{ +try { + Debug.PushSubsStack("rafReadString (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,464); +if (RapidSub.canDelegate("rafreadstring")) { return __ref.runUserSub(false, "cpdf","rafreadstring", __ref, _araf, _astart, _acount);} +RemoteObject _s = RemoteObject.createImmutable(""); +int _i = 0; +Debug.locals.put("araf", _araf); +Debug.locals.put("astart", _astart); +Debug.locals.put("acount", _acount); + BA.debugLineNum = 464;BA.debugLine="private Sub rafReadString(araf As RandomAccessFile"; +Debug.ShouldStop(32768); + BA.debugLineNum = 465;BA.debugLine="Dim s As String"; +Debug.ShouldStop(65536); +_s = RemoteObject.createImmutable("");Debug.locals.put("s", _s); + BA.debugLineNum = 466;BA.debugLine="For i=0 To acount-1"; +Debug.ShouldStop(131072); +{ +final int step2 = 1; +final int limit2 = (int) (0 + RemoteObject.solve(new RemoteObject[] {_acount,RemoteObject.createImmutable(1)}, "-",1, 2).get().longValue()); +_i = 0 ; +for (;(step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2) ;_i = ((int)(0 + _i + step2)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 467;BA.debugLine="s=s & Chr(araf.ReadUnsignedByte(astart+i))"; +Debug.ShouldStop(262144); +_s = RemoteObject.concat(_s,cpdf.__c.runMethod(true,"Chr",(Object)(_araf.runMethod(true,"ReadUnsignedByte",(Object)(RemoteObject.solve(new RemoteObject[] {_astart,RemoteObject.createImmutable(_i)}, "+",1, 2))))));Debug.locals.put("s", _s); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 469;BA.debugLine="Return s"; +Debug.ShouldStop(1048576); +if (true) return _s; + BA.debugLineNum = 470;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _refwrite(RemoteObject __ref,RemoteObject _astart,RemoteObject _ageneration,RemoteObject _astatus) throws Exception{ +try { + Debug.PushSubsStack("refWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,376); +if (RapidSub.canDelegate("refwrite")) { return __ref.runUserSub(false, "cpdf","refwrite", __ref, _astart, _ageneration, _astatus);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +Debug.locals.put("astart", _astart); +Debug.locals.put("ageneration", _ageneration); +Debug.locals.put("astatus", _astatus); + BA.debugLineNum = 376;BA.debugLine="private Sub refWrite(astart As Long,ageneration As"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 377;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(16777216); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 378;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(33554432); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 379;BA.debugLine="bb.Append($\"${NumberFormat2(astart,10,0,0,False)}"; +Debug.ShouldStop(67108864); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _astart)),(Object)(BA.numberCast(int.class, 10)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _ageneration)),(Object)(BA.numberCast(int.class, 5)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_astatus))),RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 380;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(134217728); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 381;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resourceswrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("resourcesWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,281); +if (RapidSub.canDelegate("resourceswrite")) { return __ref.runUserSub(false, "cpdf","resourceswrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +int _i = 0; + BA.debugLineNum = 281;BA.debugLine="private Sub resourcesWrite As Byte()"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 282;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(33554432); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 283;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(67108864); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 284;BA.debugLine="bb.Append($\"${fObjs.size+1} 0 obj << \"$.getBytes"; +Debug.ShouldStop(134217728); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "+",1, 1)))),RemoteObject.createImmutable(" 0 obj << "))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 286;BA.debugLine="bb.Append($\"/ProcSet [/PDF /Text /ImageB /ImageC"; +Debug.ShouldStop(536870912); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI] "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 288;BA.debugLine="bb.append($\"/Font << ${Chr(10)}\"$.getBytes(fTextE"; +Debug.ShouldStop(-2147483648); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/Font << "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 289;BA.debugLine="For i=0 To fUsedFonts.Size-1"; +Debug.ShouldStop(1); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fusedfonts" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 290;BA.debugLine="bb.Append($\"/F${i} ${fObjs.Size+1+i+1} 0 R \"$.ge"; +Debug.ShouldStop(2); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/F"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((_i)))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1),RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+++",3, 1)))),RemoteObject.createImmutable(" 0 R "))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 292;BA.debugLine="bb.append($\" >> ${Chr(10)}\"$.getBytes(fTextEncodi"; +Debug.ShouldStop(8); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(" >> "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 294;BA.debugLine="bb.append($\"/XObject << ${Chr(10)}\"$.getBytes(fTe"; +Debug.ShouldStop(32); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/XObject << "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 295;BA.debugLine="For i=0 To fUsedImages.Size-1"; +Debug.ShouldStop(64); +{ +final int step11 = 1; +final int limit11 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fusedimages" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step11 > 0 && _i <= limit11) || (step11 < 0 && _i >= limit11) ;_i = ((int)(0 + _i + step11)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 296;BA.debugLine="bb.Append($\"/I${i} ${fObjs.Size+1+i+1+fUsedFonts"; +Debug.ShouldStop(128); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/I"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((_i)))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1),RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1),__ref.getField(false,"_fusedfonts" /*RemoteObject*/ ).runMethod(true,"getSize")}, "++++",4, 1)))),RemoteObject.createImmutable(" 0 R "))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 298;BA.debugLine="bb.append($\" >> ${Chr(10)}\"$.getBytes(fTextEncodi"; +Debug.ShouldStop(512); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(" >> "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 300;BA.debugLine="bb.Append($\" >> endobj${Chr(10)}\"$.getBytes(fText"; +Debug.ShouldStop(2048); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(" >> endobj"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 301;BA.debugLine="fObjs.Add(bb.Length)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_getlength" /*RemoteObject*/ )))); + BA.debugLineNum = 302;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(8192); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 303;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _savetofile(RemoteObject __ref,RemoteObject _adir,RemoteObject _afile,RemoteObject _acompress) throws Exception{ +try { + Debug.PushSubsStack("saveToFile (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,605); +if (RapidSub.canDelegate("savetofile")) { return __ref.runUserSub(false, "cpdf","savetofile", __ref, _adir, _afile, _acompress);} +RemoteObject _outputstream = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("adir", _adir); +Debug.locals.put("afile", _afile); +Debug.locals.put("acompress", _acompress); + BA.debugLineNum = 605;BA.debugLine="public Sub saveToFile(adir As String, afile As Str"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 606;BA.debugLine="Log(afile)"; +Debug.ShouldStop(536870912); +cpdf.__c.runVoidMethod ("LogImpl","084934657",_afile,0); + BA.debugLineNum = 607;BA.debugLine="File.Delete(adir,afile)"; +Debug.ShouldStop(1073741824); +cpdf.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(_adir),(Object)(_afile)); + BA.debugLineNum = 608;BA.debugLine="Dim outputstream As OutputStream=File.OpenOutput("; +Debug.ShouldStop(-2147483648); +_outputstream = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_outputstream = cpdf.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(_adir),(Object)(_afile),(Object)(cpdf.__c.getField(true,"False")));Debug.locals.put("outputstream", _outputstream);Debug.locals.put("outputstream", _outputstream); + BA.debugLineNum = 609;BA.debugLine="saveToStream(outputstream,acompress)"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_savetostream" /*RemoteObject*/ ,(Object)(_outputstream),(Object)(_acompress)); + BA.debugLineNum = 610;BA.debugLine="outputstream.Close"; +Debug.ShouldStop(2); +_outputstream.runVoidMethod ("Close"); + BA.debugLineNum = 611;BA.debugLine="Return Me"; +Debug.ShouldStop(4); +if (true) return (__ref); + BA.debugLineNum = 612;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _savetostream(RemoteObject __ref,RemoteObject _aoutputstream,RemoteObject _acompress) throws Exception{ +try { + Debug.PushSubsStack("saveToStream (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,576); +if (RapidSub.canDelegate("savetostream")) { return __ref.runUserSub(false, "cpdf","savetostream", __ref, _aoutputstream, _acompress);} +RemoteObject _b = null; +Debug.locals.put("aoutputstream", _aoutputstream); +Debug.locals.put("acompress", _acompress); + BA.debugLineNum = 576;BA.debugLine="public Sub saveToStream(aoutputstream As OutputStr"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 577;BA.debugLine="Dim b() As Byte=headerWrite"; +Debug.ShouldStop(1); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_headerwrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 578;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(2); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 579;BA.debugLine="Dim b() As Byte=catalogWrite"; +Debug.ShouldStop(4); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_catalogwrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 580;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(8); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 581;BA.debugLine="Dim b() As Byte=kidsWrite"; +Debug.ShouldStop(16); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_kidswrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 582;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(32); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 583;BA.debugLine="Dim b() As Byte=pagesWrite"; +Debug.ShouldStop(64); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_pageswrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 584;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(128); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 585;BA.debugLine="Dim b() As Byte=contentsWrite(acompress)"; +Debug.ShouldStop(256); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentswrite" /*RemoteObject*/ ,(Object)(_acompress));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 586;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(512); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 587;BA.debugLine="Dim b() As Byte=resourcesWrite"; +Debug.ShouldStop(1024); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_resourceswrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 588;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(2048); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 589;BA.debugLine="Dim b() As Byte=fontsWrite"; +Debug.ShouldStop(4096); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_fontswrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 590;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(8192); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 591;BA.debugLine="Dim b() As Byte=imagesWrite"; +Debug.ShouldStop(16384); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_imageswrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 592;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(32768); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 593;BA.debugLine="Dim b() As Byte=propertiesWrite"; +Debug.ShouldStop(65536); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_propertieswrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 594;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(131072); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 595;BA.debugLine="Dim b() As Byte=xrefWrite"; +Debug.ShouldStop(262144); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_xrefwrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 596;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(524288); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 597;BA.debugLine="Dim b() As Byte=trailerWrite"; +Debug.ShouldStop(1048576); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_trailerwrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 598;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(2097152); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 599;BA.debugLine="Dim b() As Byte=footerWrite"; +Debug.ShouldStop(4194304); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_footerwrite" /*RemoteObject*/ );Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 600;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +Debug.ShouldStop(8388608); +_aoutputstream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 601;BA.debugLine="Return Me"; +Debug.ShouldStop(16777216); +if (true) return (__ref); + BA.debugLineNum = 602;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sdrawcolor(RemoteObject __ref,RemoteObject _argb) throws Exception{ +try { + Debug.PushSubsStack("sDrawColor (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,673); +if (RapidSub.canDelegate("sdrawcolor")) { return __ref.runUserSub(false, "cpdf","sdrawcolor", __ref, _argb);} +Debug.locals.put("argb", _argb); + BA.debugLineNum = 673;BA.debugLine="public Sub sDrawColor(argb() As Double) As cPDF"; +Debug.ShouldStop(1); + BA.debugLineNum = 674;BA.debugLine="fContext.fDrawColor=argb"; +Debug.ShouldStop(2); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fDrawColor" /*RemoteObject*/ ,_argb); + BA.debugLineNum = 675;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(argb(0),1,3,3,"; +Debug.ShouldStop(4); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(_argb.getArrayElement(true,BA.numberCast(int.class, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(_argb.getArrayElement(true,BA.numberCast(int.class, 1))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(_argb.getArrayElement(true,BA.numberCast(int.class, 2))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" RG"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 676;BA.debugLine="Return Me"; +Debug.ShouldStop(8); +if (true) return (__ref); + BA.debugLineNum = 677;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sdrawwidth(RemoteObject __ref,RemoteObject _awidth) throws Exception{ +try { + Debug.PushSubsStack("sDrawWidth (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,680); +if (RapidSub.canDelegate("sdrawwidth")) { return __ref.runUserSub(false, "cpdf","sdrawwidth", __ref, _awidth);} +Debug.locals.put("awidth", _awidth); + BA.debugLineNum = 680;BA.debugLine="public Sub sDrawWidth(awidth As Double) As cPDF"; +Debug.ShouldStop(128); + BA.debugLineNum = 681;BA.debugLine="fContext.fDrawWidth=awidth"; +Debug.ShouldStop(256); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fDrawWidth" /*RemoteObject*/ ,_awidth); + BA.debugLineNum = 682;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(awidth*fUnitFa"; +Debug.ShouldStop(512); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_awidth,__ref.getField(true,"_funitfactor" /*RemoteObject*/ )}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" w"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 683;BA.debugLine="Return Me"; +Debug.ShouldStop(1024); +if (true) return (__ref); + BA.debugLineNum = 684;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sfillcolor(RemoteObject __ref,RemoteObject _argb) throws Exception{ +try { + Debug.PushSubsStack("sFillColor (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,689); +if (RapidSub.canDelegate("sfillcolor")) { return __ref.runUserSub(false, "cpdf","sfillcolor", __ref, _argb);} +Debug.locals.put("argb", _argb); + BA.debugLineNum = 689;BA.debugLine="public Sub sFillColor(argb() As Double) As cPDF"; +Debug.ShouldStop(65536); + BA.debugLineNum = 690;BA.debugLine="fContext.fFillColor=argb"; +Debug.ShouldStop(131072); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fFillColor" /*RemoteObject*/ ,_argb); + BA.debugLineNum = 691;BA.debugLine="Return Me"; +Debug.ShouldStop(262144); +if (true) return (__ref); + BA.debugLineNum = 692;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sfont(RemoteObject __ref,RemoteObject _afamily,RemoteObject _astyle,RemoteObject _asize,RemoteObject _acolor) throws Exception{ +try { + Debug.PushSubsStack("sFont (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,698); +if (RapidSub.canDelegate("sfont")) { return __ref.runUserSub(false, "cpdf","sfont", __ref, _afamily, _astyle, _asize, _acolor);} +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _i = RemoteObject.createImmutable(0); +Debug.locals.put("afamily", _afamily); +Debug.locals.put("astyle", _astyle); +Debug.locals.put("asize", _asize); +Debug.locals.put("acolor", _acolor); + BA.debugLineNum = 698;BA.debugLine="public Sub sFont(afamily As String,astyle As Int,a"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 699;BA.debugLine="Dim k As String=calcFontKey(afamily,astyle)"; +Debug.ShouldStop(67108864); +_k = __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_calcfontkey" /*RemoteObject*/ ,(Object)(_afamily),(Object)(_astyle));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 700;BA.debugLine="Dim i As Int=fUsedFonts.IndexOf(k)"; +Debug.ShouldStop(134217728); +_i = __ref.getField(false,"_fusedfonts" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((_k)));Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 701;BA.debugLine="If i=-1 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 702;BA.debugLine="fUsedFonts.Add(k)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_fusedfonts" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_k))); + BA.debugLineNum = 703;BA.debugLine="i=fUsedFonts.Size-1"; +Debug.ShouldStop(1073741824); +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fusedfonts" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1);Debug.locals.put("i", _i); + }; + BA.debugLineNum = 705;BA.debugLine="contentAdd(fPage,$\"BT /F${i} ${NumberFormat2(asiz"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_contentadd" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_fpage" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable("BT /F"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_i))),RemoteObject.createImmutable(" "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"NumberFormat2",(Object)(_asize),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 3)),(Object)(BA.numberCast(int.class, 3)),(Object)(cpdf.__c.getField(true,"False")))))),RemoteObject.createImmutable(" Tf ET"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 706;BA.debugLine="fContext.fFontFamily=afamily"; +Debug.ShouldStop(2); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fFontFamily" /*RemoteObject*/ ,_afamily); + BA.debugLineNum = 707;BA.debugLine="fContext.fFontStyle=astyle"; +Debug.ShouldStop(4); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fFontStyle" /*RemoteObject*/ ,_astyle); + BA.debugLineNum = 708;BA.debugLine="fContext.fFontSize=asize"; +Debug.ShouldStop(8); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fFontSize" /*RemoteObject*/ ,_asize); + BA.debugLineNum = 709;BA.debugLine="fContext.fFontColor=acolor"; +Debug.ShouldStop(16); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fFontColor" /*RemoteObject*/ ,_acolor); + BA.debugLineNum = 710;BA.debugLine="Return Me"; +Debug.ShouldStop(32); +if (true) return (__ref); + BA.debugLineNum = 711;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _spage(RemoteObject __ref,RemoteObject _apage) throws Exception{ +try { + Debug.PushSubsStack("sPage (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,665); +if (RapidSub.canDelegate("spage")) { return __ref.runUserSub(false, "cpdf","spage", __ref, _apage);} +Debug.locals.put("apage", _apage); + BA.debugLineNum = 665;BA.debugLine="public Sub sPage(apage As Int) As cPDF"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 666;BA.debugLine="fPage=apage-1"; +Debug.ShouldStop(33554432); +__ref.setField ("_fpage" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_apage,RemoteObject.createImmutable(1)}, "-",1, 1)); + BA.debugLineNum = 667;BA.debugLine="Return Me"; +Debug.ShouldStop(67108864); +if (true) return (__ref); + BA.debugLineNum = 668;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sproperty(RemoteObject __ref,RemoteObject _aproperty,RemoteObject _avalue) throws Exception{ +try { + Debug.PushSubsStack("sProperty (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,889); +if (RapidSub.canDelegate("sproperty")) { return __ref.runUserSub(false, "cpdf","sproperty", __ref, _aproperty, _avalue);} +Debug.locals.put("aproperty", _aproperty); +Debug.locals.put("avalue", _avalue); + BA.debugLineNum = 889;BA.debugLine="public Sub sProperty(aproperty As String,avalue As"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 890;BA.debugLine="fProperties.Put(aproperty,avalue)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_fproperties" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_aproperty)),(Object)((_avalue))); + BA.debugLineNum = 891;BA.debugLine="Return Me"; +Debug.ShouldStop(67108864); +if (true) return (__ref); + BA.debugLineNum = 892;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sunit(RemoteObject __ref,RemoteObject _aunit) throws Exception{ +try { + Debug.PushSubsStack("sUnit (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,175); +if (RapidSub.canDelegate("sunit")) { return __ref.runUserSub(false, "cpdf","sunit", __ref, _aunit);} +Debug.locals.put("aunit", _aunit); + BA.debugLineNum = 175;BA.debugLine="private Sub sUnit(aunit As String) As cPDF"; +Debug.ShouldStop(16384); + BA.debugLineNum = 176;BA.debugLine="Select aunit.ToLowerCase"; +Debug.ShouldStop(32768); +switch (BA.switchObjectToInt(_aunit.runMethod(true,"toLowerCase"),BA.ObjectToString("pt"),BA.ObjectToString("mm"),BA.ObjectToString("cm"),BA.ObjectToString("in"))) { +case 0: { + BA.debugLineNum = 178;BA.debugLine="fUnitFactor=1.0"; +Debug.ShouldStop(131072); +__ref.setField ("_funitfactor" /*RemoteObject*/ ,BA.numberCast(double.class, 1.0)); + break; } +case 1: { + BA.debugLineNum = 180;BA.debugLine="fUnitFactor=72.0/25.4"; +Debug.ShouldStop(524288); +__ref.setField ("_funitfactor" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(72.0),RemoteObject.createImmutable(25.4)}, "/",0, 0)); + break; } +case 2: { + BA.debugLineNum = 182;BA.debugLine="fUnitFactor=72.0/2.54"; +Debug.ShouldStop(2097152); +__ref.setField ("_funitfactor" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(72.0),RemoteObject.createImmutable(2.54)}, "/",0, 0)); + break; } +case 3: { + BA.debugLineNum = 184;BA.debugLine="fUnitFactor=72.0"; +Debug.ShouldStop(8388608); +__ref.setField ("_funitfactor" /*RemoteObject*/ ,BA.numberCast(double.class, 72.0)); + break; } +default: { + BA.debugLineNum = 186;BA.debugLine="fUnitFactor=1.0"; +Debug.ShouldStop(33554432); +__ref.setField ("_funitfactor" /*RemoteObject*/ ,BA.numberCast(double.class, 1.0)); + break; } +} +; + BA.debugLineNum = 188;BA.debugLine="Return Me"; +Debug.ShouldStop(134217728); +if (true) return (__ref); + BA.debugLineNum = 189;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sx(RemoteObject __ref,RemoteObject _avalue) throws Exception{ +try { + Debug.PushSubsStack("sX (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,977); +if (RapidSub.canDelegate("sx")) { return __ref.runUserSub(false, "cpdf","sx", __ref, _avalue);} +Debug.locals.put("avalue", _avalue); + BA.debugLineNum = 977;BA.debugLine="public Sub sX(avalue As Double) As cPDF"; +Debug.ShouldStop(65536); + BA.debugLineNum = 978;BA.debugLine="fContext.fX=avalue"; +Debug.ShouldStop(131072); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fX" /*RemoteObject*/ ,_avalue); + BA.debugLineNum = 979;BA.debugLine="Return Me"; +Debug.ShouldStop(262144); +if (true) return (__ref); + BA.debugLineNum = 980;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sy(RemoteObject __ref,RemoteObject _avalue) throws Exception{ +try { + Debug.PushSubsStack("sY (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,982); +if (RapidSub.canDelegate("sy")) { return __ref.runUserSub(false, "cpdf","sy", __ref, _avalue);} +Debug.locals.put("avalue", _avalue); + BA.debugLineNum = 982;BA.debugLine="public Sub sY(avalue As Double) As cPDF"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 983;BA.debugLine="fContext.fy=avalue"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_fcontext" /*RemoteObject*/ ).setField ("fY" /*RemoteObject*/ ,_avalue); + BA.debugLineNum = 984;BA.debugLine="Return Me"; +Debug.ShouldStop(8388608); +if (true) return (__ref); + BA.debugLineNum = 985;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tounsigned(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("ToUnsigned (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,895); +if (RapidSub.canDelegate("tounsigned")) { return __ref.runUserSub(false, "cpdf","tounsigned", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 895;BA.debugLine="private Sub ToUnsigned(b As Byte) As Int"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 896;BA.debugLine="Return Bit.And(0xFF, b)"; +Debug.ShouldStop(-2147483648); +if (true) return cpdf.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xff))),(Object)(BA.numberCast(int.class, _b))); + BA.debugLineNum = 897;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _trailerwrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("trailerWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,398); +if (RapidSub.canDelegate("trailerwrite")) { return __ref.runUserSub(false, "cpdf","trailerwrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _s = RemoteObject.createImmutable(0L); +int _i = 0; +RemoteObject _l = RemoteObject.createImmutable(0); + BA.debugLineNum = 398;BA.debugLine="private Sub trailerWrite As Byte()"; +Debug.ShouldStop(8192); + BA.debugLineNum = 399;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(16384); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 400;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(32768); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 401;BA.debugLine="Dim s As Long=headerWrite.length"; +Debug.ShouldStop(65536); +_s = BA.numberCast(long.class, __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_headerwrite" /*RemoteObject*/ ).getField(true,"length"));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 402;BA.debugLine="For i=0 To fObjs.Size-1"; +Debug.ShouldStop(131072); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 403;BA.debugLine="Dim l As Int=fObjs.Get(i)"; +Debug.ShouldStop(262144); +_l = BA.numberCast(int.class, __ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 404;BA.debugLine="s=s+l"; +Debug.ShouldStop(524288); +_s = RemoteObject.solve(new RemoteObject[] {_s,_l}, "+",1, 2);Debug.locals.put("s", _s); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 406;BA.debugLine="bb.Append($\"trailer <<${Chr(10)}\"$.getBytes(fText"; +Debug.ShouldStop(2097152); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("trailer <<"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 407;BA.debugLine="bb.Append($\"/Size ${fObjs.Size+1}${Chr(10)}\"$.get"; +Debug.ShouldStop(4194304); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/Size "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "+",1, 1)))),RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 408;BA.debugLine="bb.Append($\"/Info ${fObjs.Size} 0 R${Chr(10)}\"$.g"; +Debug.ShouldStop(8388608); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/Info "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(" 0 R"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 409;BA.debugLine="bb.Append($\"/Root 1 0 R${Chr(10)}\"$.getBytes(fTex"; +Debug.ShouldStop(16777216); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("/Root 1 0 R"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 410;BA.debugLine="bb.Append($\">>${Chr(10)}\"$.getBytes(fTextEncoding"; +Debug.ShouldStop(33554432); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(">>"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 411;BA.debugLine="bb.Append($\"startxref${Chr(10)}\"$.getBytes(fTextE"; +Debug.ShouldStop(67108864); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("startxref"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 412;BA.debugLine="bb.Append($\"${s}${Chr(10)}\"$.getBytes(fTextEncodi"; +Debug.ShouldStop(134217728); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_s))),RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 413;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(268435456); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 414;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _xrefwrite(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("xrefWrite (cpdf) ","cpdf",27,__ref.getField(false, "ba"),__ref,383); +if (RapidSub.canDelegate("xrefwrite")) { return __ref.runUserSub(false, "cpdf","xrefwrite", __ref);} +RemoteObject _bb = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xbytesbuilder"); +RemoteObject _s = RemoteObject.createImmutable(0L); +int _i = 0; +RemoteObject _l = RemoteObject.createImmutable(0); + BA.debugLineNum = 383;BA.debugLine="private Sub xrefWrite As Byte()"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 384;BA.debugLine="Dim bb As B4XBytesBuilder"; +Debug.ShouldStop(-2147483648); +_bb = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xbytesbuilder");Debug.locals.put("bb", _bb); + BA.debugLineNum = 385;BA.debugLine="bb.Initialize"; +Debug.ShouldStop(1); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 386;BA.debugLine="Dim s As Long=headerWrite.length"; +Debug.ShouldStop(2); +_s = BA.numberCast(long.class, __ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_headerwrite" /*RemoteObject*/ ).getField(true,"length"));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 387;BA.debugLine="bb.Append($\"xref${Chr(10)}\"$.getBytes(fTextEncodi"; +Debug.ShouldStop(4); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("xref"),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 388;BA.debugLine="bb.Append($\"0 ${fObjs.Size+1}${Chr(10)}\"$.getByte"; +Debug.ShouldStop(8); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("0 "),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "+",1, 1)))),RemoteObject.createImmutable(""),cpdf.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cpdf.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10)))))),RemoteObject.createImmutable(""))).runMethod(false,"getBytes",(Object)(__ref.getField(true,"_ftextencoding" /*RemoteObject*/ ))))); + BA.debugLineNum = 389;BA.debugLine="bb.Append(refWrite(0,65535,\"f\"))"; +Debug.ShouldStop(16); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_refwrite" /*RemoteObject*/ ,(Object)(BA.numberCast(long.class, 0)),(Object)(BA.numberCast(int.class, 65535)),(Object)(RemoteObject.createImmutable("f"))))); + BA.debugLineNum = 390;BA.debugLine="For i=0 To fObjs.Size-1"; +Debug.ShouldStop(32); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step7 > 0 && _i <= limit7) || (step7 < 0 && _i >= limit7) ;_i = ((int)(0 + _i + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 391;BA.debugLine="Dim l As Int=fObjs.Get(i)"; +Debug.ShouldStop(64); +_l = BA.numberCast(int.class, __ref.getField(false,"_fobjs" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 392;BA.debugLine="bb.Append(refWrite(s,0,\"n\"))"; +Debug.ShouldStop(128); +_bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.cpdf.class, "_refwrite" /*RemoteObject*/ ,(Object)(_s),(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.createImmutable("n"))))); + BA.debugLineNum = 393;BA.debugLine="s=s+l"; +Debug.ShouldStop(256); +_s = RemoteObject.solve(new RemoteObject[] {_s,_l}, "+",1, 2);Debug.locals.put("s", _s); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 395;BA.debugLine="Return bb.ToArray"; +Debug.ShouldStop(1024); +if (true) return _bb.runClassMethod (gunav2.keymon.com.mx.b4xbytesbuilder.class, "_toarray" /*RemoteObject*/ ); + BA.debugLineNum = 396;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/dbrequestmanager.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/dbrequestmanager.java new file mode 100644 index 0000000..f2921a3 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/dbrequestmanager.java @@ -0,0 +1,51 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class dbrequestmanager { + public static RemoteObject myClass; + public dbrequestmanager() { + } + public static PCBA staticBA = new PCBA(null, dbrequestmanager.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mtarget = RemoteObject.declareNull("Object"); +public static RemoteObject _link = RemoteObject.createImmutable(""); +public static RemoteObject _bc = RemoteObject.declareNull("anywheresoftware.b4a.agraham.byteconverter.ByteConverter"); +public static RemoteObject _t_null = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_string = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_short = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_int = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_long = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_float = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_double = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_boolean = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_blob = RemoteObject.createImmutable((byte)0); +public static RemoteObject _version = RemoteObject.createImmutable(0f); +public static RemoteObject _temparray = null; +public static RemoteObject _jobtaganterior = RemoteObject.createImmutable(""); +public static RemoteObject _reqslist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _timeslist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _iniciorequest = RemoteObject.createImmutable(0L); +public static RemoteObject _iniciojobdone = RemoteObject.createImmutable(0L); +public static RemoteObject _iniciorequestmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _iniciojobdonemap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"DateUtils",_ref.getField(false, "_dateutils"),"inicioJobDone",_ref.getField(false, "_iniciojobdone"),"inicioJobDoneMap",_ref.getField(false, "_iniciojobdonemap"),"inicioRequest",_ref.getField(false, "_iniciorequest"),"inicioRequestMap",_ref.getField(false, "_iniciorequestmap"),"jobTagAnterior",_ref.getField(false, "_jobtaganterior"),"link",_ref.getField(false, "_link"),"mTarget",_ref.getField(false, "_mtarget"),"reqsList",_ref.getField(false, "_reqslist"),"T_BLOB",_ref.getField(false, "_t_blob"),"T_BOOLEAN",_ref.getField(false, "_t_boolean"),"T_DOUBLE",_ref.getField(false, "_t_double"),"T_FLOAT",_ref.getField(false, "_t_float"),"T_INT",_ref.getField(false, "_t_int"),"T_LONG",_ref.getField(false, "_t_long"),"T_NULL",_ref.getField(false, "_t_null"),"T_SHORT",_ref.getField(false, "_t_short"),"T_STRING",_ref.getField(false, "_t_string"),"tempArray",_ref.getField(false, "_temparray"),"timesList",_ref.getField(false, "_timeslist"),"VERSION",_ref.getField(false, "_version")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/dbrequestmanager_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/dbrequestmanager_subs_0.java new file mode 100644 index 0000000..2c0326e --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/dbrequestmanager_subs_0.java @@ -0,0 +1,1216 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class dbrequestmanager_subs_0 { + + +public static RemoteObject _bytestoimage(RemoteObject __ref,RemoteObject _bytes) throws Exception{ +try { + Debug.PushSubsStack("BytesToImage (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,277); +if (RapidSub.canDelegate("bytestoimage")) { return __ref.runUserSub(false, "dbrequestmanager","bytestoimage", __ref, _bytes);} +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +Debug.locals.put("bytes", _bytes); + BA.debugLineNum = 277;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 278;BA.debugLine="Dim In As InputStream"; +Debug.ShouldStop(2097152); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("In", _in); + BA.debugLineNum = 279;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; +Debug.ShouldStop(4194304); +_in.runVoidMethod ("InitializeFromBytesArray",(Object)(_bytes),(Object)(BA.numberCast(int.class, 0)),(Object)(_bytes.getField(true,"length"))); + BA.debugLineNum = 280;BA.debugLine="Dim bmp As Bitmap"; +Debug.ShouldStop(8388608); +_bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 281;BA.debugLine="bmp.Initialize2(In)"; +Debug.ShouldStop(16777216); +_bmp.runVoidMethod ("Initialize2",(Object)((_in.getObject()))); + BA.debugLineNum = 282;BA.debugLine="Return bmp"; +Debug.ShouldStop(33554432); +if (true) return _bmp; + BA.debugLineNum = 283;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private mTarget As Object"; +dbrequestmanager._mtarget = RemoteObject.createNew ("Object");__ref.setField("_mtarget",dbrequestmanager._mtarget); + //BA.debugLineNum = 4;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; +; + //BA.debugLineNum = 5;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; +; + //BA.debugLineNum = 6;BA.debugLine="Private link As String"; +dbrequestmanager._link = RemoteObject.createImmutable("");__ref.setField("_link",dbrequestmanager._link); + //BA.debugLineNum = 7;BA.debugLine="Private bc As ByteConverter"; +dbrequestmanager._bc = RemoteObject.createNew ("anywheresoftware.b4a.agraham.byteconverter.ByteConverter");__ref.setField("_bc",dbrequestmanager._bc); + //BA.debugLineNum = 8;BA.debugLine="Private T_NULL = 0, T_STRING = 1, T_SHORT = 2, T_"; +dbrequestmanager._t_null = BA.numberCast(byte.class, 0);__ref.setField("_t_null",dbrequestmanager._t_null); +dbrequestmanager._t_string = BA.numberCast(byte.class, 1);__ref.setField("_t_string",dbrequestmanager._t_string); +dbrequestmanager._t_short = BA.numberCast(byte.class, 2);__ref.setField("_t_short",dbrequestmanager._t_short); +dbrequestmanager._t_int = BA.numberCast(byte.class, 3);__ref.setField("_t_int",dbrequestmanager._t_int); +dbrequestmanager._t_long = BA.numberCast(byte.class, 4);__ref.setField("_t_long",dbrequestmanager._t_long); +dbrequestmanager._t_float = BA.numberCast(byte.class, 5);__ref.setField("_t_float",dbrequestmanager._t_float); +dbrequestmanager._t_double = BA.numberCast(byte.class, 6);__ref.setField("_t_double",dbrequestmanager._t_double); +dbrequestmanager._t_boolean = BA.numberCast(byte.class, 7);__ref.setField("_t_boolean",dbrequestmanager._t_boolean); +dbrequestmanager._t_blob = BA.numberCast(byte.class, 8);__ref.setField("_t_blob",dbrequestmanager._t_blob); + //BA.debugLineNum = 10;BA.debugLine="Private VERSION As Float = 0.9"; +dbrequestmanager._version = BA.numberCast(float.class, 0.9);__ref.setField("_version",dbrequestmanager._version); + //BA.debugLineNum = 11;BA.debugLine="Private tempArray(1) As Object"; +dbrequestmanager._temparray = RemoteObject.createNewArray ("Object", new int[] {1}, new Object[]{});__ref.setField("_temparray",dbrequestmanager._temparray); + //BA.debugLineNum = 12;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; +dbrequestmanager._jobtaganterior = BA.ObjectToString("");__ref.setField("_jobtaganterior",dbrequestmanager._jobtaganterior); + //BA.debugLineNum = 13;BA.debugLine="Dim reqsList, timesList As List"; +dbrequestmanager._reqslist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_reqslist",dbrequestmanager._reqslist); +dbrequestmanager._timeslist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_timeslist",dbrequestmanager._timeslist); + //BA.debugLineNum = 14;BA.debugLine="Dim inicioRequest As Long 'ignore"; +dbrequestmanager._iniciorequest = RemoteObject.createImmutable(0L);__ref.setField("_iniciorequest",dbrequestmanager._iniciorequest); + //BA.debugLineNum = 15;BA.debugLine="Dim inicioJobDone As Long 'ignore"; +dbrequestmanager._iniciojobdone = RemoteObject.createImmutable(0L);__ref.setField("_iniciojobdone",dbrequestmanager._iniciojobdone); + //BA.debugLineNum = 16;BA.debugLine="Dim inicioRequestMap, inicioJobDoneMap As Map"; +dbrequestmanager._iniciorequestmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_iniciorequestmap",dbrequestmanager._iniciorequestmap); +dbrequestmanager._iniciojobdonemap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_iniciojobdonemap",dbrequestmanager._iniciojobdonemap); + //BA.debugLineNum = 17;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _executebatch(RemoteObject __ref,RemoteObject _listofcommands,RemoteObject _tag) throws Exception{ +try { + Debug.PushSubsStack("ExecuteBatch (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,64); +if (RapidSub.canDelegate("executebatch")) { return __ref.runUserSub(false, "dbrequestmanager","executebatch", __ref, _listofcommands, _tag);} +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _ms = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _out2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _command = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); +Debug.locals.put("ListOfCommands", _listofcommands); +Debug.locals.put("Tag", _tag); + BA.debugLineNum = 64;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 65;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(1); +_j = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 66;BA.debugLine="Dim ms As OutputStream"; +Debug.ShouldStop(2); +_ms = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("ms", _ms); + BA.debugLineNum = 67;BA.debugLine="Dim out2 As OutputStream = StartJob(j, ms, Tag)"; +Debug.ShouldStop(4); +_out2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out2 = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_startjob" /*RemoteObject*/ ,(Object)(_j),(Object)(_ms),(Object)(_tag));Debug.locals.put("out2", _out2);Debug.locals.put("out2", _out2); + BA.debugLineNum = 68;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_listofcommands.runMethod(true,"getSize")),(Object)(_out2)); + BA.debugLineNum = 69;BA.debugLine="For Each Command As DBCommand In ListOfCommands"; +Debug.ShouldStop(16); +{ +final RemoteObject group5 = _listofcommands; +final int groupLen5 = group5.runMethod(true,"getSize").get() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_command = (group5.runMethod(false,"Get",index5));Debug.locals.put("Command", _command); +Debug.locals.put("Command", _command); + BA.debugLineNum = 70;BA.debugLine="WriteObject(Command.Name, out2)"; +Debug.ShouldStop(32); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((_command.getField(true,"Name" /*RemoteObject*/ ))),(Object)(_out2)); + BA.debugLineNum = 71;BA.debugLine="WriteList(Command.Parameters, out2)"; +Debug.ShouldStop(64); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writelist" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(_command.getField(false,"Parameters" /*RemoteObject*/ )))),(Object)(_out2)); + } +}Debug.locals.put("Command", _command); +; + BA.debugLineNum = 73;BA.debugLine="out2.Close"; +Debug.ShouldStop(256); +_out2.runVoidMethod ("Close"); + BA.debugLineNum = 74;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; +Debug.ShouldStop(512); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_link" /*RemoteObject*/ ),RemoteObject.createImmutable("?method=batch"))),(Object)(_ms.runMethod(false,"ToBytesArray"))); + BA.debugLineNum = 75;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _executecommand(RemoteObject __ref,RemoteObject _command,RemoteObject _tag) throws Exception{ +try { + Debug.PushSubsStack("ExecuteCommand (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,78); +if (RapidSub.canDelegate("executecommand")) { return __ref.runUserSub(false, "dbrequestmanager","executecommand", __ref, _command, _tag);} +Debug.locals.put("Command", _command); +Debug.locals.put("Tag", _tag); + BA.debugLineNum = 78;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; +Debug.ShouldStop(8192); + BA.debugLineNum = 81;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; +Debug.ShouldStop(65536); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executebatch" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("gunav2.keymon.com.mx.dbrequestmanager._dbcommand",new int[] {1},new Object[] {_command})))),(Object)(_tag)); + BA.debugLineNum = 82;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _executequery(RemoteObject __ref,RemoteObject _command,RemoteObject _limit,RemoteObject _tag) throws Exception{ +try { + Debug.PushSubsStack("ExecuteQuery (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("executequery")) { return __ref.runUserSub(false, "dbrequestmanager","executequery", __ref, _command, _limit, _tag);} +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _ms = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _out2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Command", _command); +Debug.locals.put("Limit", _limit); +Debug.locals.put("Tag", _tag); + BA.debugLineNum = 30;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 31;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(1073741824); +_j = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 32;BA.debugLine="Dim ms As OutputStream"; +Debug.ShouldStop(-2147483648); +_ms = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("ms", _ms); + BA.debugLineNum = 33;BA.debugLine="Dim out2 As OutputStream = StartJob(j, ms, Tag)"; +Debug.ShouldStop(1); +_out2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out2 = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_startjob" /*RemoteObject*/ ,(Object)(_j),(Object)(_ms),(Object)(_tag));Debug.locals.put("out2", _out2);Debug.locals.put("out2", _out2); + BA.debugLineNum = 37;BA.debugLine="WriteObject(Command.Name, out2)"; +Debug.ShouldStop(16); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((_command.getField(true,"Name" /*RemoteObject*/ ))),(Object)(_out2)); + BA.debugLineNum = 38;BA.debugLine="WriteInt(Limit, out2)"; +Debug.ShouldStop(32); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_limit),(Object)(_out2)); + BA.debugLineNum = 39;BA.debugLine="WriteList(Command.Parameters, out2)"; +Debug.ShouldStop(64); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writelist" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(_command.getField(false,"Parameters" /*RemoteObject*/ )))),(Object)(_out2)); + BA.debugLineNum = 40;BA.debugLine="out2.Close"; +Debug.ShouldStop(128); +_out2.runVoidMethod ("Close"); + BA.debugLineNum = 41;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +Debug.ShouldStop(256); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_link" /*RemoteObject*/ ),RemoteObject.createImmutable("?method=query"))),(Object)(_ms.runMethod(false,"ToBytesArray"))); + BA.debugLineNum = 42;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _executequery3(RemoteObject __ref,RemoteObject _command,RemoteObject _limit,RemoteObject _tag,RemoteObject _timeout) throws Exception{ +try { + Debug.PushSubsStack("ExecuteQuery3 (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,49); +if (RapidSub.canDelegate("executequery3")) { return __ref.runUserSub(false, "dbrequestmanager","executequery3", __ref, _command, _limit, _tag, _timeout);} +RemoteObject _j = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _ms = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _out2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Command", _command); +Debug.locals.put("Limit", _limit); +Debug.locals.put("Tag", _tag); +Debug.locals.put("Timeout", _timeout); + BA.debugLineNum = 49;BA.debugLine="Public Sub ExecuteQuery3(Command As DBCommand, Lim"; +Debug.ShouldStop(65536); + BA.debugLineNum = 50;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(131072); +_j = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 51;BA.debugLine="Dim ms As OutputStream"; +Debug.ShouldStop(262144); +_ms = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("ms", _ms); + BA.debugLineNum = 52;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; +Debug.ShouldStop(524288); +_out2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out2 = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_startjob" /*RemoteObject*/ ,(Object)(_j),(Object)(_ms),(Object)(_tag));Debug.locals.put("out2", _out2);Debug.locals.put("out2", _out2); + BA.debugLineNum = 53;BA.debugLine="WriteObject(Command.Name, out2)"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((_command.getField(true,"Name" /*RemoteObject*/ ))),(Object)(_out2)); + BA.debugLineNum = 54;BA.debugLine="WriteInt(Limit, out2)"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_limit),(Object)(_out2)); + BA.debugLineNum = 55;BA.debugLine="WriteList(Command.Parameters, out2)"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writelist" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(_command.getField(false,"Parameters" /*RemoteObject*/ )))),(Object)(_out2)); + BA.debugLineNum = 56;BA.debugLine="out2.Close"; +Debug.ShouldStop(8388608); +_out2.runVoidMethod ("Close"); + BA.debugLineNum = 57;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +Debug.ShouldStop(16777216); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_link" /*RemoteObject*/ ),RemoteObject.createImmutable("?method=query"))),(Object)(_ms.runMethod(false,"ToBytesArray"))); + BA.debugLineNum = 58;BA.debugLine="If Timeout <> 0 Then j.GetRequest.Timeout = Time"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("!",_timeout,BA.numberCast(double.class, 0))) { +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ ).runMethod(true,"setTimeout",_timeout);}; + BA.debugLineNum = 59;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _filetobytes(RemoteObject __ref,RemoteObject _dir,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("FileToBytes (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,258); +if (RapidSub.canDelegate("filetobytes")) { return __ref.runUserSub(false, "dbrequestmanager","filetobytes", __ref, _dir, _filename);} +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +Debug.locals.put("Dir", _dir); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 258;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; +Debug.ShouldStop(2); + BA.debugLineNum = 259;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(4); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 260;BA.debugLine="out.InitializeToBytesArray(0)"; +Debug.ShouldStop(8); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 261;BA.debugLine="Dim In As InputStream = File.OpenInput(Dir, FileN"; +Debug.ShouldStop(16); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +_in = dbrequestmanager.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(_dir),(Object)(_filename));Debug.locals.put("In", _in);Debug.locals.put("In", _in); + BA.debugLineNum = 262;BA.debugLine="File.Copy2(In, out)"; +Debug.ShouldStop(32); +dbrequestmanager.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_in.getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 263;BA.debugLine="out.Close"; +Debug.ShouldStop(64); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 264;BA.debugLine="Return out.ToBytesArray"; +Debug.ShouldStop(128); +if (true) return _out.runMethod(false,"ToBytesArray"); + BA.debugLineNum = 265;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _handlejob(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("HandleJob (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,210); +if (RapidSub.canDelegate("handlejob")) { return __ref.runUserSub(false, "dbrequestmanager","handlejob", __ref, _job);} +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.randomaccessfile.CompressedStreams"); +RemoteObject _serverversion = RemoteObject.createImmutable(0f); +RemoteObject _method = RemoteObject.createImmutable(""); +RemoteObject _table = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _numberofcolumns = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _rowobjects = null; +int _col = 0; +RemoteObject _o = RemoteObject.declareNull("Object"); +RemoteObject _rows = RemoteObject.createImmutable(0); +Debug.locals.put("Job", _job); + BA.debugLineNum = 210;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; +Debug.ShouldStop(131072); + BA.debugLineNum = 211;BA.debugLine="If jobTagAnterior <> Job.Tag Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_jobtaganterior" /*RemoteObject*/ ),BA.ObjectToString(_job.getField(false,"_tag" /*RemoteObject*/ )))) { + BA.debugLineNum = 213;BA.debugLine="If inicioJobDoneMap.IsInitialized Then inicioJob"; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_iniciojobdonemap" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +__ref.getField(false,"_iniciojobdonemap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ )),(Object)((dbrequestmanager.__c.getField(false,"DateTime").runMethod(true,"getNow"))));}; + }; + BA.debugLineNum = 218;BA.debugLine="Dim In As InputStream = Job.GetInputStream"; +Debug.ShouldStop(33554432); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +_in = _job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getinputstream" /*RemoteObject*/ );Debug.locals.put("In", _in);Debug.locals.put("In", _in); + BA.debugLineNum = 219;BA.debugLine="Dim cs As CompressedStreams"; +Debug.ShouldStop(67108864); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.CompressedStreams");Debug.locals.put("cs", _cs); + BA.debugLineNum = 220;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; +Debug.ShouldStop(134217728); +_in = _cs.runMethod(false,"WrapInputStream",(Object)((_in.getObject())),(Object)(RemoteObject.createImmutable("gzip")));Debug.locals.put("In", _in); + BA.debugLineNum = 221;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; +Debug.ShouldStop(268435456); +_serverversion = BA.numberCast(float.class, __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in)));Debug.locals.put("serverVersion", _serverversion);Debug.locals.put("serverVersion", _serverversion); + BA.debugLineNum = 222;BA.debugLine="Dim method As String = ReadObject(In)"; +Debug.ShouldStop(536870912); +_method = BA.ObjectToString(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in)));Debug.locals.put("method", _method);Debug.locals.put("method", _method); + BA.debugLineNum = 223;BA.debugLine="Dim table As DBResult"; +Debug.ShouldStop(1073741824); +_table = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbresult");Debug.locals.put("table", _table); + BA.debugLineNum = 224;BA.debugLine="table.Initialize"; +Debug.ShouldStop(-2147483648); +_table.runVoidMethod ("Initialize"); + BA.debugLineNum = 225;BA.debugLine="table.Columns.Initialize"; +Debug.ShouldStop(1); +_table.getField(false,"Columns" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 226;BA.debugLine="table.rows.Initialize"; +Debug.ShouldStop(2); +_table.getField(false,"Rows" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 227;BA.debugLine="table.Tag = Job.Tag"; +Debug.ShouldStop(4); +_table.setField ("Tag" /*RemoteObject*/ ,_job.getField(false,"_tag" /*RemoteObject*/ )); + BA.debugLineNum = 228;BA.debugLine="If method = \"query\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_method,BA.ObjectToString("query"))) { + BA.debugLineNum = 229;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; +Debug.ShouldStop(16); +_numberofcolumns = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("numberOfColumns", _numberofcolumns);Debug.locals.put("numberOfColumns", _numberofcolumns); + BA.debugLineNum = 230;BA.debugLine="For i = 0 To numberOfColumns - 1"; +Debug.ShouldStop(32); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {_numberofcolumns,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16) ;_i = ((int)(0 + _i + step16)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 231;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; +Debug.ShouldStop(64); +_table.getField(false,"Columns" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in))),(Object)(RemoteObject.createImmutable((_i)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 233;BA.debugLine="Do While ReadByte(In) = 1"; +Debug.ShouldStop(256); +while (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbyte" /*RemoteObject*/ ,(Object)(_in)),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 234;BA.debugLine="Dim rowObjects(numberOfColumns) As Object"; +Debug.ShouldStop(512); +_rowobjects = RemoteObject.createNewArray ("Object", new int[] {_numberofcolumns.get().intValue()}, new Object[]{});Debug.locals.put("rowObjects", _rowobjects); + BA.debugLineNum = 235;BA.debugLine="table.rows.Add(rowObjects)"; +Debug.ShouldStop(1024); +_table.getField(false,"Rows" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_rowobjects))); + BA.debugLineNum = 236;BA.debugLine="For col = 0 To numberOfColumns - 1"; +Debug.ShouldStop(2048); +{ +final int step22 = 1; +final int limit22 = RemoteObject.solve(new RemoteObject[] {_numberofcolumns,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_col = 0 ; +for (;(step22 > 0 && _col <= limit22) || (step22 < 0 && _col >= limit22) ;_col = ((int)(0 + _col + step22)) ) { +Debug.locals.put("col", _col); + BA.debugLineNum = 237;BA.debugLine="Dim o As Object = ReadObject(In)"; +Debug.ShouldStop(4096); +_o = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 238;BA.debugLine="rowObjects(col) = o"; +Debug.ShouldStop(8192); +_rowobjects.setArrayElement (_o,BA.numberCast(int.class, _col)); + } +}Debug.locals.put("col", _col); +; + } +; + }else +{ BA.debugLineNum = 241;BA.debugLine="Else If method = \"batch\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_method,BA.ObjectToString("batch"))) { + BA.debugLineNum = 242;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; +Debug.ShouldStop(131072); +_table.getField(false,"Columns" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("AffectedRows"))),(Object)(RemoteObject.createImmutable((0)))); + BA.debugLineNum = 243;BA.debugLine="Dim rows As Int = ReadInt(In)"; +Debug.ShouldStop(262144); +_rows = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("rows", _rows);Debug.locals.put("rows", _rows); + BA.debugLineNum = 244;BA.debugLine="For i = 0 To rows - 1"; +Debug.ShouldStop(524288); +{ +final int step30 = 1; +final int limit30 = RemoteObject.solve(new RemoteObject[] {_rows,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step30 > 0 && _i <= limit30) || (step30 < 0 && _i >= limit30) ;_i = ((int)(0 + _i + step30)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 245;BA.debugLine="table.rows.Add(Array As Object(ReadInt(In)))"; +Debug.ShouldStop(1048576); +_table.getField(false,"Rows" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in)))})))); + } +}Debug.locals.put("i", _i); +; + }} +; + BA.debugLineNum = 248;BA.debugLine="In.Close"; +Debug.ShouldStop(8388608); +_in.runVoidMethod ("Close"); + BA.debugLineNum = 250;BA.debugLine="If jobTagAnterior <> table.Tag Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_jobtaganterior" /*RemoteObject*/ ),BA.ObjectToString(_table.getField(false,"Tag" /*RemoteObject*/ )))) { + BA.debugLineNum = 251;BA.debugLine="LogColor(\"HandleJob: '\"&table.Tag&\"'\" & \" - Regi"; +Debug.ShouldStop(67108864); +dbrequestmanager.__c.runVoidMethod ("LogImpl","087752745",RemoteObject.concat(RemoteObject.createImmutable("HandleJob: '"),_table.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("'"),RemoteObject.createImmutable(" - Registros: "),_table.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),dbrequestmanager.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 115)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 140)))); + }; + BA.debugLineNum = 253;BA.debugLine="jobTagAnterior = table.Tag 'Mod por CHV - 211109"; +Debug.ShouldStop(268435456); +__ref.setField ("_jobtaganterior" /*RemoteObject*/ ,BA.ObjectToString(_table.getField(false,"Tag" /*RemoteObject*/ ))); + BA.debugLineNum = 254;BA.debugLine="Return table"; +Debug.ShouldStop(536870912); +if (true) return _table; + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imagetobytes(RemoteObject __ref,RemoteObject _image) throws Exception{ +try { + Debug.PushSubsStack("ImageToBytes (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,268); +if (RapidSub.canDelegate("imagetobytes")) { return __ref.runUserSub(false, "dbrequestmanager","imagetobytes", __ref, _image);} +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Image", _image); + BA.debugLineNum = 268;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; +Debug.ShouldStop(2048); + BA.debugLineNum = 269;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(4096); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 270;BA.debugLine="out.InitializeToBytesArray(0)"; +Debug.ShouldStop(8192); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 271;BA.debugLine="Image.WriteToStream(out, 100, \"JPEG\")"; +Debug.ShouldStop(16384); +_image.runVoidMethod ("WriteToStream",(Object)((_out.getObject())),(Object)(BA.numberCast(int.class, 100)),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Bitmap.CompressFormat"),RemoteObject.createImmutable("JPEG")))); + BA.debugLineNum = 272;BA.debugLine="out.Close"; +Debug.ShouldStop(32768); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 273;BA.debugLine="Return out.ToBytesArray"; +Debug.ShouldStop(65536); +if (true) return _out.runMethod(false,"ToBytesArray"); + BA.debugLineNum = 274;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _target,RemoteObject _connectorlink) throws Exception{ +try { + Debug.PushSubsStack("Initialize (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,21); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "dbrequestmanager","initialize", __ref, _ba, _target, _connectorlink);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Target", _target); +Debug.locals.put("ConnectorLink", _connectorlink); + BA.debugLineNum = 21;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 22;BA.debugLine="mTarget = Target"; +Debug.ShouldStop(2097152); +__ref.setField ("_mtarget" /*RemoteObject*/ ,_target); + BA.debugLineNum = 23;BA.debugLine="link = ConnectorLink"; +Debug.ShouldStop(4194304); +__ref.setField ("_link" /*RemoteObject*/ ,_connectorlink); + BA.debugLineNum = 24;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printtable(RemoteObject __ref,RemoteObject _table) throws Exception{ +try { + Debug.PushSubsStack("PrintTable (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,286); +if (RapidSub.canDelegate("printtable")) { return __ref.runUserSub(false, "dbrequestmanager","printtable", __ref, _table);} +RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +RemoteObject _col = RemoteObject.declareNull("Object"); +RemoteObject _row = null; +RemoteObject _record = RemoteObject.declareNull("Object"); +Debug.locals.put("Table", _table); + BA.debugLineNum = 286;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 287;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; +Debug.ShouldStop(1073741824); +dbrequestmanager.__c.runVoidMethod ("LogImpl","088014849",RemoteObject.concat(RemoteObject.createImmutable("Tag: "),_table.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(", Columns: "),_table.getField(false,"Columns" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(", Rows: "),_table.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + BA.debugLineNum = 288;BA.debugLine="Dim sb As StringBuilder"; +Debug.ShouldStop(-2147483648); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 289;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(1); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 290;BA.debugLine="For Each col In Table.Columns.Keys"; +Debug.ShouldStop(2); +{ +final RemoteObject group4 = _table.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen4 = group4.runMethod(true,"getSize").get() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_col = group4.runMethod(false,"Get",index4);Debug.locals.put("col", _col); +Debug.locals.put("col", _col); + BA.debugLineNum = 291;BA.debugLine="sb.Append(col).Append(TAB)"; +Debug.ShouldStop(4); +_sb.runMethod(false,"Append",(Object)(BA.ObjectToString(_col))).runVoidMethod ("Append",(Object)(dbrequestmanager.__c.getField(true,"TAB"))); + } +}Debug.locals.put("col", _col); +; + BA.debugLineNum = 293;BA.debugLine="Log(sb.ToString)"; +Debug.ShouldStop(16); +dbrequestmanager.__c.runVoidMethod ("LogImpl","088014855",_sb.runMethod(true,"ToString"),0); + BA.debugLineNum = 294;BA.debugLine="For Each row() As Object In Table.Rows"; +Debug.ShouldStop(32); +{ +final RemoteObject group8 = _table.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen8 = group8.runMethod(true,"getSize").get() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_row = (group8.runMethod(false,"Get",index8));Debug.locals.put("row", _row); +Debug.locals.put("row", _row); + BA.debugLineNum = 295;BA.debugLine="Dim sb As StringBuilder"; +Debug.ShouldStop(64); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 296;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(128); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 297;BA.debugLine="For Each record As Object In row"; +Debug.ShouldStop(256); +{ +final RemoteObject group11 = _row; +final int groupLen11 = group11.getField(true,"length").get() +;int index11 = 0; +; +for (; index11 < groupLen11;index11++){ +_record = group11.getArrayElement(false,RemoteObject.createImmutable(index11));Debug.locals.put("record", _record); +Debug.locals.put("record", _record); + BA.debugLineNum = 298;BA.debugLine="sb.Append(record).Append(TAB)"; +Debug.ShouldStop(512); +_sb.runMethod(false,"Append",(Object)(BA.ObjectToString(_record))).runVoidMethod ("Append",(Object)(dbrequestmanager.__c.getField(true,"TAB"))); + } +}Debug.locals.put("record", _record); +; + BA.debugLineNum = 300;BA.debugLine="Log(sb.ToString)"; +Debug.ShouldStop(2048); +dbrequestmanager.__c.runVoidMethod ("LogImpl","088014862",_sb.runMethod(true,"ToString"),0); + } +}Debug.locals.put("row", _row); +; + BA.debugLineNum = 302;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _readbyte(RemoteObject __ref,RemoteObject _in) throws Exception{ +try { + Debug.PushSubsStack("ReadByte (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,203); +if (RapidSub.canDelegate("readbyte")) { return __ref.runUserSub(false, "dbrequestmanager","readbyte", __ref, _in);} +RemoteObject _data = null; +Debug.locals.put("In", _in); + BA.debugLineNum = 203;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; +Debug.ShouldStop(1024); + BA.debugLineNum = 204;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(2048); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 205;BA.debugLine="In.ReadBytes(data, 0, 1)"; +Debug.ShouldStop(4096); +_in.runVoidMethod ("ReadBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 206;BA.debugLine="Return data(0)"; +Debug.ShouldStop(8192); +if (true) return _data.getArrayElement(true,BA.numberCast(int.class, 0)); + BA.debugLineNum = 207;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable((byte)0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _readbytesfully(RemoteObject __ref,RemoteObject _in,RemoteObject _data,RemoteObject _len) throws Exception{ +try { + Debug.PushSubsStack("ReadBytesFully (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,183); +if (RapidSub.canDelegate("readbytesfully")) { return __ref.runUserSub(false, "dbrequestmanager","readbytesfully", __ref, _in, _data, _len);} +RemoteObject _count = RemoteObject.createImmutable(0); +RemoteObject _read = RemoteObject.createImmutable(0); +Debug.locals.put("In", _in); +Debug.locals.put("Data", _data); +Debug.locals.put("Len", _len); + BA.debugLineNum = 183;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 184;BA.debugLine="Dim count = 0, read As Int"; +Debug.ShouldStop(8388608); +_count = BA.numberCast(int.class, 0);Debug.locals.put("count", _count);Debug.locals.put("count", _count); +_read = RemoteObject.createImmutable(0);Debug.locals.put("read", _read); + BA.debugLineNum = 185;BA.debugLine="Do While count < Len And read > -1"; +Debug.ShouldStop(16777216); +while (RemoteObject.solveBoolean("<",_count,BA.numberCast(double.class, _len)) && RemoteObject.solveBoolean(">",_read,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 186;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; +Debug.ShouldStop(33554432); +_read = _in.runMethod(true,"ReadBytes",(Object)(_data),(Object)(_count),(Object)(RemoteObject.solve(new RemoteObject[] {_len,_count}, "-",1, 1)));Debug.locals.put("read", _read); + BA.debugLineNum = 187;BA.debugLine="count = count + read"; +Debug.ShouldStop(67108864); +_count = RemoteObject.solve(new RemoteObject[] {_count,_read}, "+",1, 1);Debug.locals.put("count", _count); + } +; + BA.debugLineNum = 189;BA.debugLine="Return Data"; +Debug.ShouldStop(268435456); +if (true) return _data; + BA.debugLineNum = 190;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _readint(RemoteObject __ref,RemoteObject _in) throws Exception{ +try { + Debug.PushSubsStack("ReadInt (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,198); +if (RapidSub.canDelegate("readint")) { return __ref.runUserSub(false, "dbrequestmanager","readint", __ref, _in);} +RemoteObject _data = null; +Debug.locals.put("In", _in); + BA.debugLineNum = 198;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; +Debug.ShouldStop(32); + BA.debugLineNum = 199;BA.debugLine="Dim data(4) As Byte"; +Debug.ShouldStop(64); +_data = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 200;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; +Debug.ShouldStop(128); +if (true) return __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsFromBytes",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0)); + BA.debugLineNum = 201;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _readobject(RemoteObject __ref,RemoteObject _in) throws Exception{ +try { + Debug.PushSubsStack("ReadObject (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,147); +if (RapidSub.canDelegate("readobject")) { return __ref.runUserSub(false, "dbrequestmanager","readobject", __ref, _in);} +RemoteObject _data = null; +RemoteObject _b = RemoteObject.createImmutable((byte)0); +RemoteObject _len = RemoteObject.createImmutable(0); +Debug.locals.put("In", _in); + BA.debugLineNum = 147;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; +Debug.ShouldStop(262144); + BA.debugLineNum = 148;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(524288); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 149;BA.debugLine="In.ReadBytes(data, 0, 1)"; +Debug.ShouldStop(1048576); +_in.runVoidMethod ("ReadBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 150;BA.debugLine="Select data(0)"; +Debug.ShouldStop(2097152); +switch (BA.switchObjectToInt(_data.getArrayElement(true,BA.numberCast(int.class, 0)),__ref.getField(true,"_t_null" /*RemoteObject*/ ),__ref.getField(true,"_t_short" /*RemoteObject*/ ),__ref.getField(true,"_t_int" /*RemoteObject*/ ),__ref.getField(true,"_t_long" /*RemoteObject*/ ),__ref.getField(true,"_t_float" /*RemoteObject*/ ),__ref.getField(true,"_t_double" /*RemoteObject*/ ),__ref.getField(true,"_t_boolean" /*RemoteObject*/ ),__ref.getField(true,"_t_blob" /*RemoteObject*/ ))) { +case 0: { + BA.debugLineNum = 152;BA.debugLine="Return Null"; +Debug.ShouldStop(8388608); +if (true) return dbrequestmanager.__c.getField(false,"Null"); + break; } +case 1: { + BA.debugLineNum = 154;BA.debugLine="Dim data(2) As Byte"; +Debug.ShouldStop(33554432); +_data = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 155;BA.debugLine="Return bc.ShortsFromBytes(ReadBytesFully(In, da"; +Debug.ShouldStop(67108864); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"ShortsFromBytes",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 2: { + BA.debugLineNum = 157;BA.debugLine="Dim data(4) As Byte"; +Debug.ShouldStop(268435456); +_data = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 158;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data"; +Debug.ShouldStop(536870912); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsFromBytes",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 3: { + BA.debugLineNum = 160;BA.debugLine="Dim data(8) As Byte"; +Debug.ShouldStop(-2147483648); +_data = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 161;BA.debugLine="Return bc.LongsFromBytes(ReadBytesFully(In, dat"; +Debug.ShouldStop(1); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"LongsFromBytes",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 4: { + BA.debugLineNum = 163;BA.debugLine="Dim data(4) As Byte"; +Debug.ShouldStop(4); +_data = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 164;BA.debugLine="Return bc.FloatsFromBytes(ReadBytesFully(In, da"; +Debug.ShouldStop(8); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"FloatsFromBytes",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 5: { + BA.debugLineNum = 166;BA.debugLine="Dim data(8) As Byte"; +Debug.ShouldStop(32); +_data = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 167;BA.debugLine="Return bc.DoublesFromBytes(ReadBytesFully(In, d"; +Debug.ShouldStop(64); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"DoublesFromBytes",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 6: { + BA.debugLineNum = 169;BA.debugLine="Dim b As Byte = ReadByte(In)"; +Debug.ShouldStop(256); +_b = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbyte" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 170;BA.debugLine="Return b = 1"; +Debug.ShouldStop(512); +if (true) return RemoteObject.createImmutable((RemoteObject.solveBoolean("=",_b,BA.numberCast(double.class, 1)))); + break; } +case 7: { + BA.debugLineNum = 172;BA.debugLine="Dim len As Int = ReadInt(In)"; +Debug.ShouldStop(2048); +_len = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("len", _len);Debug.locals.put("len", _len); + BA.debugLineNum = 173;BA.debugLine="Dim data(len) As Byte"; +Debug.ShouldStop(4096); +_data = RemoteObject.createNewArray ("byte", new int[] {_len.get().intValue()}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 174;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; +Debug.ShouldStop(8192); +if (true) return (__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length")))); + break; } +default: { + BA.debugLineNum = 176;BA.debugLine="Dim len As Int = ReadInt(In)"; +Debug.ShouldStop(32768); +_len = __ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("len", _len);Debug.locals.put("len", _len); + BA.debugLineNum = 177;BA.debugLine="Dim data(len) As Byte"; +Debug.ShouldStop(65536); +_data = RemoteObject.createNewArray ("byte", new int[] {_len.get().intValue()}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 178;BA.debugLine="ReadBytesFully(In, data, data.Length)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 179;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; +Debug.ShouldStop(262144); +if (true) return (dbrequestmanager.__c.runMethod(true,"BytesToString",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length")),(Object)(RemoteObject.createImmutable("UTF8")))); + break; } +} +; + BA.debugLineNum = 181;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _requesttimes(RemoteObject __ref,RemoteObject _tag) throws Exception{ +try { + Debug.PushSubsStack("requestTimes (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,304); +if (RapidSub.canDelegate("requesttimes")) { return __ref.runUserSub(false, "dbrequestmanager","requesttimes", __ref, _tag);} +RemoteObject _times = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _requesttime = RemoteObject.createImmutable(""); +RemoteObject _jobdonetime = RemoteObject.createImmutable(""); +Debug.locals.put("tag", _tag); + BA.debugLineNum = 304;BA.debugLine="Sub requestTimes(tag As String) As Map 'ignore"; +Debug.ShouldStop(32768); + BA.debugLineNum = 305;BA.debugLine="Private times As Map"; +Debug.ShouldStop(65536); +_times = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("times", _times); + BA.debugLineNum = 306;BA.debugLine="times.Initialize"; +Debug.ShouldStop(131072); +_times.runVoidMethod ("Initialize"); + BA.debugLineNum = 309;BA.debugLine="If reqsList.IsInitialized Then"; +Debug.ShouldStop(1048576); +if (__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 312;BA.debugLine="If inicioRequestMap.ContainsKey(tag) Then"; +Debug.ShouldStop(8388608); +if (__ref.getField(false,"_iniciorequestmap" /*RemoteObject*/ ).runMethod(true,"ContainsKey",(Object)((_tag))).get().booleanValue()) { + BA.debugLineNum = 313;BA.debugLine="inicioRequest = inicioRequestMap.Get(tag)"; +Debug.ShouldStop(16777216); +__ref.setField ("_iniciorequest" /*RemoteObject*/ ,BA.numberCast(long.class, __ref.getField(false,"_iniciorequestmap" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_tag))))); + }; + BA.debugLineNum = 316;BA.debugLine="If inicioJobDoneMap.ContainsKey(tag) Then"; +Debug.ShouldStop(134217728); +if (__ref.getField(false,"_iniciojobdonemap" /*RemoteObject*/ ).runMethod(true,"ContainsKey",(Object)((_tag))).get().booleanValue()) { + BA.debugLineNum = 317;BA.debugLine="inicioJobDone = inicioJobDoneMap.Get(tag)"; +Debug.ShouldStop(268435456); +__ref.setField ("_iniciojobdone" /*RemoteObject*/ ,BA.numberCast(long.class, __ref.getField(false,"_iniciojobdonemap" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_tag))))); + }; + }; + BA.debugLineNum = 322;BA.debugLine="Private requestTime As String = NumberFormat2(((i"; +Debug.ShouldStop(2); +_requesttime = dbrequestmanager.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_iniciojobdone" /*RemoteObject*/ ),__ref.getField(true,"_iniciorequest" /*RemoteObject*/ )}, "-",1, 2)),RemoteObject.createImmutable(1000)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 5)),(Object)(BA.numberCast(int.class, 0)),(Object)(dbrequestmanager.__c.getField(true,"False")));Debug.locals.put("requestTime", _requesttime);Debug.locals.put("requestTime", _requesttime); + BA.debugLineNum = 323;BA.debugLine="Private JobDoneTime As String = NumberFormat2(((D"; +Debug.ShouldStop(4); +_jobdonetime = dbrequestmanager.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {dbrequestmanager.__c.getField(false,"DateTime").runMethod(true,"getNow"),__ref.getField(true,"_iniciojobdone" /*RemoteObject*/ )}, "-",1, 2)),RemoteObject.createImmutable(1000)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 5)),(Object)(BA.numberCast(int.class, 0)),(Object)(dbrequestmanager.__c.getField(true,"False")));Debug.locals.put("JobDoneTime", _jobdonetime);Debug.locals.put("JobDoneTime", _jobdonetime); + BA.debugLineNum = 324;BA.debugLine="times.Put(\"requestTime\", requestTime)"; +Debug.ShouldStop(8); +_times.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("requestTime"))),(Object)((_requesttime))); + BA.debugLineNum = 325;BA.debugLine="times.Put(\"jobDoneTime\", JobDoneTime)"; +Debug.ShouldStop(16); +_times.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("jobDoneTime"))),(Object)((_jobdonetime))); + BA.debugLineNum = 326;BA.debugLine="times.Put(\"totalTime\", NumberFormat2((JobDoneTime"; +Debug.ShouldStop(32); +_times.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("totalTime"))),(Object)((dbrequestmanager.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _jobdonetime),BA.numberCast(double.class, _requesttime)}, "+",1, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 5)),(Object)(BA.numberCast(int.class, 0)),(Object)(dbrequestmanager.__c.getField(true,"False")))))); + BA.debugLineNum = 327;BA.debugLine="Return times"; +Debug.ShouldStop(64); +if (true) return _times; + BA.debugLineNum = 328;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _startjob(RemoteObject __ref,RemoteObject _j,RemoteObject _memorystream,RemoteObject _tag) throws Exception{ +try { + Debug.PushSubsStack("StartJob (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,84); +if (RapidSub.canDelegate("startjob")) { return __ref.runUserSub(false, "dbrequestmanager","startjob", __ref, _j, _memorystream, _tag);} +RemoteObject _compress = RemoteObject.declareNull("anywheresoftware.b4a.randomaccessfile.CompressedStreams"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("j", _j); +Debug.locals.put("MemoryStream", _memorystream); +Debug.locals.put("Tag", _tag); + BA.debugLineNum = 84;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; +Debug.ShouldStop(524288); + BA.debugLineNum = 86;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; +Debug.ShouldStop(2097152); +if (__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_tag));}; + BA.debugLineNum = 87;BA.debugLine="If timesList.IsInitialized Then timesList.Add(Dat"; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_timeslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +__ref.getField(false,"_timeslist" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((dbrequestmanager.__c.getField(false,"DateTime").runMethod(true,"getNow"))));}; + BA.debugLineNum = 88;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; +Debug.ShouldStop(8388608); +_j.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DBRequest")),(Object)(__ref.getField(false,"_mtarget" /*RemoteObject*/ ))); + BA.debugLineNum = 89;BA.debugLine="j.Tag = Tag"; +Debug.ShouldStop(16777216); +_j.setField ("_tag" /*RemoteObject*/ ,_tag); + BA.debugLineNum = 90;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; +Debug.ShouldStop(33554432); +_memorystream.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 91;BA.debugLine="Dim compress As CompressedStreams"; +Debug.ShouldStop(67108864); +_compress = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.CompressedStreams");Debug.locals.put("compress", _compress); + BA.debugLineNum = 92;BA.debugLine="Dim out As OutputStream = compress.WrapOutputStre"; +Debug.ShouldStop(134217728); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = _compress.runMethod(false,"WrapOutputStream",(Object)((_memorystream.getObject())),(Object)(RemoteObject.createImmutable("gzip")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 93;BA.debugLine="WriteObject(VERSION, out)"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((__ref.getField(true,"_version" /*RemoteObject*/ ))),(Object)(_out)); + BA.debugLineNum = 94;BA.debugLine="Return out"; +Debug.ShouldStop(536870912); +if (true) return _out; + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _trackinit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("trackInit (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,331); +if (RapidSub.canDelegate("trackinit")) { return __ref.runUserSub(false, "dbrequestmanager","trackinit", __ref);} + BA.debugLineNum = 331;BA.debugLine="Sub trackInit 'ignore"; +Debug.ShouldStop(1024); + BA.debugLineNum = 332;BA.debugLine="Log(\">>>>>>>>> TRACKINIT \")"; +Debug.ShouldStop(2048); +dbrequestmanager.__c.runVoidMethod ("LogImpl","088145921",RemoteObject.createImmutable(">>>>>>>>> TRACKINIT "),0); + BA.debugLineNum = 333;BA.debugLine="reqsList.Initialize"; +Debug.ShouldStop(4096); +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 334;BA.debugLine="timesList.Initialize"; +Debug.ShouldStop(8192); +__ref.getField(false,"_timeslist" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 335;BA.debugLine="inicioRequestMap.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_iniciorequestmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 336;BA.debugLine="inicioJobDoneMap.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_iniciojobdonemap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 337;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tracknext(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("trackNext (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,339); +if (RapidSub.canDelegate("tracknext")) { return __ref.runUserSub(false, "dbrequestmanager","tracknext", __ref, _job);} +RemoteObject _quitamos = RemoteObject.createImmutable(""); +RemoteObject _pos = RemoteObject.createImmutable(0); +Debug.locals.put("job", _job); + BA.debugLineNum = 339;BA.debugLine="Sub trackNext(job As HttpJob)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 340;BA.debugLine="If reqsList.IsInitialized Then 'Si tenemos lista"; +Debug.ShouldStop(524288); +if (__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 341;BA.debugLine="Private quitamos As String = \"\""; +Debug.ShouldStop(1048576); +_quitamos = BA.ObjectToString("");Debug.locals.put("quitamos", _quitamos);Debug.locals.put("quitamos", _quitamos); + BA.debugLineNum = 342;BA.debugLine="If reqsList.IndexOf(job.tag) <> -1 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 343;BA.debugLine="Private pos As Int = reqsList.IndexOf(job.tag)"; +Debug.ShouldStop(4194304); +_pos = __ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ )));Debug.locals.put("pos", _pos);Debug.locals.put("pos", _pos); + BA.debugLineNum = 344;BA.debugLine="If pos <> -1 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("!",_pos,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 345;BA.debugLine="inicioRequestMap.Put(job.Tag, timesList.Get(po"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_iniciorequestmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_timeslist" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_pos)))); + BA.debugLineNum = 346;BA.debugLine="reqsList.RemoveAt(pos)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(_pos)); + BA.debugLineNum = 347;BA.debugLine="timesList.RemoveAt(pos)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_timeslist" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(_pos)); + }; + BA.debugLineNum = 349;BA.debugLine="quitamos = $\"Quitamos ${job.tag} - \"$"; +Debug.ShouldStop(268435456); +_quitamos = (RemoteObject.concat(RemoteObject.createImmutable("Quitamos "),dbrequestmanager.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(" - ")));Debug.locals.put("quitamos", _quitamos); + }; + BA.debugLineNum = 351;BA.debugLine="LogColor(\">>>>>> Requests: \" & reqsList.Size & \""; +Debug.ShouldStop(1073741824); +dbrequestmanager.__c.runVoidMethod ("LogImpl","088211468",RemoteObject.concat(RemoteObject.createImmutable(">>>>>> Requests: "),__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(" - "),_quitamos,__ref.getField(false,"_reqslist" /*RemoteObject*/ )),dbrequestmanager.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 352;BA.debugLine="LogColor(\">>>>>> inicioRequestMap:\" & inicioRequ"; +Debug.ShouldStop(-2147483648); +dbrequestmanager.__c.runVoidMethod ("LogImpl","088211469",RemoteObject.concat(RemoteObject.createImmutable(">>>>>> inicioRequestMap:"),__ref.getField(false,"_iniciorequestmap" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(" - "),__ref.getField(false,"_iniciorequestmap" /*RemoteObject*/ )),dbrequestmanager.__c.getField(false,"Colors").getField(true,"Magenta")); + }; + BA.debugLineNum = 354;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writeint(RemoteObject __ref,RemoteObject _i,RemoteObject _out) throws Exception{ +try { + Debug.PushSubsStack("WriteInt (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,192); +if (RapidSub.canDelegate("writeint")) { return __ref.runUserSub(false, "dbrequestmanager","writeint", __ref, _i, _out);} +RemoteObject _data = null; +Debug.locals.put("i", _i); +Debug.locals.put("out", _out); + BA.debugLineNum = 192;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 193;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(1); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 194;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; +Debug.ShouldStop(2); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsToBytes",(Object)(RemoteObject.createNewArray("int",new int[] {1},new Object[] {_i})));Debug.locals.put("data", _data); + BA.debugLineNum = 195;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +Debug.ShouldStop(4); +_out.runVoidMethod ("WriteBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 196;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writelist(RemoteObject __ref,RemoteObject _parameters,RemoteObject _out) throws Exception{ +try { + Debug.PushSubsStack("WriteList (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,97); +if (RapidSub.canDelegate("writelist")) { return __ref.runUserSub(false, "dbrequestmanager","writelist", __ref, _parameters, _out);} +RemoteObject _data = null; +RemoteObject _o = RemoteObject.declareNull("Object"); +Debug.locals.put("out", _out); + BA.debugLineNum = 97;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; +Debug.ShouldStop(1); + BA.debugLineNum = 98;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(2); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 99;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("n",_parameters) || RemoteObject.solveBoolean("=",_parameters.runMethod(true,"IsInitialized"),dbrequestmanager.__c.getField(true,"False"))) { + BA.debugLineNum = 100;BA.debugLine="Dim Parameters As List"; +Debug.ShouldStop(8); +_parameters = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 101;BA.debugLine="Parameters.Initialize"; +Debug.ShouldStop(16); +_parameters.runVoidMethod ("Initialize"); + }; + BA.debugLineNum = 103;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; +Debug.ShouldStop(64); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsToBytes",(Object)(RemoteObject.createNewArray("int",new int[] {1},new Object[] {_parameters.runMethod(true,"getSize")})));Debug.locals.put("data", _data); + BA.debugLineNum = 104;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +Debug.ShouldStop(128); +_out.runVoidMethod ("WriteBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 105;BA.debugLine="For Each o As Object In Parameters"; +Debug.ShouldStop(256); +{ +final RemoteObject group8 = _parameters; +final int groupLen8 = group8.runMethod(true,"getSize").get() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_o = group8.runMethod(false,"Get",index8);Debug.locals.put("o", _o); +Debug.locals.put("o", _o); + BA.debugLineNum = 106;BA.debugLine="WriteObject(o, out)"; +Debug.ShouldStop(512); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)(_o),(Object)(_out)); + } +}Debug.locals.put("o", _o); +; + BA.debugLineNum = 108;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writeobject(RemoteObject __ref,RemoteObject _o,RemoteObject _out) throws Exception{ +try { + Debug.PushSubsStack("WriteObject (dbrequestmanager) ","dbrequestmanager",28,__ref.getField(false, "ba"),__ref,110); +if (RapidSub.canDelegate("writeobject")) { return __ref.runUserSub(false, "dbrequestmanager","writeobject", __ref, _o, _out);} +RemoteObject _data = null; +RemoteObject _b = RemoteObject.createImmutable(false); +Debug.locals.put("o", _o); +Debug.locals.put("out", _out); + BA.debugLineNum = 110;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; +Debug.ShouldStop(8192); + BA.debugLineNum = 111;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(16384); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 112;BA.debugLine="tempArray(0) = o"; +Debug.ShouldStop(32768); +__ref.getField(false,"_temparray" /*RemoteObject*/ ).setArrayElement (_o,BA.numberCast(int.class, 0)); + BA.debugLineNum = 113;BA.debugLine="If tempArray(0) = Null Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)))) { + BA.debugLineNum = 114;BA.debugLine="out.WriteBytes(Array As Byte(T_NULL), 0, 1)"; +Debug.ShouldStop(131072); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_null" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + }else +{ BA.debugLineNum = 115;BA.debugLine="Else If tempArray(0) Is Short Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Short"))) { + BA.debugLineNum = 116;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; +Debug.ShouldStop(524288); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_short" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 117;BA.debugLine="data = bc.ShortsToBytes(Array As Short(o))"; +Debug.ShouldStop(1048576); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"ShortsToBytes",(Object)(RemoteObject.createNewArray("short",new int[] {1},new Object[] {BA.numberCast(short.class, _o)})));Debug.locals.put("data", _data); + }else +{ BA.debugLineNum = 118;BA.debugLine="Else If tempArray(0) Is Int Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Integer"))) { + BA.debugLineNum = 119;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; +Debug.ShouldStop(4194304); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_int" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 120;BA.debugLine="data = bc.IntsToBytes(Array As Int(o))"; +Debug.ShouldStop(8388608); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsToBytes",(Object)(RemoteObject.createNewArray("int",new int[] {1},new Object[] {BA.numberCast(int.class, _o)})));Debug.locals.put("data", _data); + }else +{ BA.debugLineNum = 121;BA.debugLine="Else If tempArray(0) Is Float Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Float"))) { + BA.debugLineNum = 122;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; +Debug.ShouldStop(33554432); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_float" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 123;BA.debugLine="data = bc.FloatsToBytes(Array As Float(o))"; +Debug.ShouldStop(67108864); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"FloatsToBytes",(Object)(RemoteObject.createNewArray("float",new int[] {1},new Object[] {BA.numberCast(float.class, _o)})));Debug.locals.put("data", _data); + }else +{ BA.debugLineNum = 124;BA.debugLine="Else If tempArray(0) Is Double Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Double"))) { + BA.debugLineNum = 125;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; +Debug.ShouldStop(268435456); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_double" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 126;BA.debugLine="data = bc.DoublesToBytes(Array As Double(o))"; +Debug.ShouldStop(536870912); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"DoublesToBytes",(Object)(RemoteObject.createNewArray("double",new int[] {1},new Object[] {BA.numberCast(double.class, _o)})));Debug.locals.put("data", _data); + }else +{ BA.debugLineNum = 127;BA.debugLine="Else If tempArray(0) Is Long Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Long"))) { + BA.debugLineNum = 128;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; +Debug.ShouldStop(-2147483648); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_long" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 129;BA.debugLine="data = bc.LongsToBytes(Array As Long(o))"; +Debug.ShouldStop(1); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"LongsToBytes",(Object)(RemoteObject.createNewArray("long",new int[] {1},new Object[] {BA.numberCast(long.class, _o)})));Debug.locals.put("data", _data); + }else +{ BA.debugLineNum = 130;BA.debugLine="Else If tempArray(0) Is Boolean Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Boolean"))) { + BA.debugLineNum = 131;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; +Debug.ShouldStop(4); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_boolean" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 132;BA.debugLine="Dim b As Boolean = 0"; +Debug.ShouldStop(8); +_b = BA.ObjectToBoolean(0);Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 133;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(16); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 134;BA.debugLine="If b Then data(0) = 1 Else data(0) = 0"; +Debug.ShouldStop(32); +if (_b.get().booleanValue()) { +_data.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, 0));} +else { +_data.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, 0));}; + }else +{ BA.debugLineNum = 135;BA.debugLine="Else If GetType(tempArray(0)) = \"[B\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",dbrequestmanager.__c.runMethod(true,"GetType",(Object)(__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)))),BA.ObjectToString("[B"))) { + BA.debugLineNum = 136;BA.debugLine="data = o"; +Debug.ShouldStop(128); +_data = (_o);Debug.locals.put("data", _data); + BA.debugLineNum = 137;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; +Debug.ShouldStop(256); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_blob" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 138;BA.debugLine="WriteInt(data.Length, out)"; +Debug.ShouldStop(512); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_data.getField(true,"length")),(Object)(_out)); + }else { + BA.debugLineNum = 140;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; +Debug.ShouldStop(2048); +_out.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {1},new Object[] {__ref.getField(true,"_t_string" /*RemoteObject*/ )})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 141;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; +Debug.ShouldStop(4096); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"StringToBytes",(Object)(BA.ObjectToString(_o)),(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("data", _data); + BA.debugLineNum = 142;BA.debugLine="WriteInt(data.Length, out)"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_data.getField(true,"length")),(Object)(_out)); + }}}}}}}} +; + BA.debugLineNum = 144;BA.debugLine="If data.Length > 0 Then out.WriteBytes(data, 0, d"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",_data.getField(true,"length"),BA.numberCast(double.class, 0))) { +_out.runVoidMethod ("WriteBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length")));}; + BA.debugLineNum = 145;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/escposprinter.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/escposprinter.java new file mode 100644 index 0000000..aacacbf --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/escposprinter.java @@ -0,0 +1,64 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class escposprinter { + public static RemoteObject myClass; + public escposprinter() { + } + public static PCBA staticBA = new PCBA(null, escposprinter.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _version = RemoteObject.createImmutable(0); +public static RemoteObject _eventname = RemoteObject.createImmutable(""); +public static RemoteObject _callback = RemoteObject.declareNull("Object"); +public static RemoteObject _serial1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial"); +public static RemoteObject _astream = RemoteObject.declareNull("anywheresoftware.b4a.randomaccessfile.AsyncStreams"); +public static RemoteObject _connected = RemoteObject.createImmutable(false); +public static RemoteObject _connectederror = RemoteObject.createImmutable(""); +public static RemoteObject _esc = RemoteObject.createImmutable(""); +public static RemoteObject _fs = RemoteObject.createImmutable(""); +public static RemoteObject _gs = RemoteObject.createImmutable(""); +public static RemoteObject _unreverse = RemoteObject.createImmutable(""); +public static RemoteObject _reverse = RemoteObject.createImmutable(""); +public static RemoteObject _uninvert = RemoteObject.createImmutable(""); +public static RemoteObject _invert = RemoteObject.createImmutable(""); +public static RemoteObject _unrotate = RemoteObject.createImmutable(""); +public static RemoteObject _rotate = RemoteObject.createImmutable(""); +public static RemoteObject _ht = RemoteObject.createImmutable(""); +public static RemoteObject _uline0 = RemoteObject.createImmutable(""); +public static RemoteObject _uline1 = RemoteObject.createImmutable(""); +public static RemoteObject _uline2 = RemoteObject.createImmutable(""); +public static RemoteObject _bold = RemoteObject.createImmutable(""); +public static RemoteObject _nobold = RemoteObject.createImmutable(""); +public static RemoteObject _single = RemoteObject.createImmutable(""); +public static RemoteObject _high = RemoteObject.createImmutable(""); +public static RemoteObject _wide = RemoteObject.createImmutable(""); +public static RemoteObject _highwide = RemoteObject.createImmutable(""); +public static RemoteObject _leftjustify = RemoteObject.createImmutable(""); +public static RemoteObject _linedefault = RemoteObject.createImmutable(""); +public static RemoteObject _linset0 = RemoteObject.createImmutable(""); +public static RemoteObject _lmargin0 = RemoteObject.createImmutable(""); +public static RemoteObject _width0 = RemoteObject.createImmutable(""); +public static RemoteObject _charspacing0 = RemoteObject.createImmutable(""); +public static RemoteObject _charfont0 = RemoteObject.createImmutable(""); +public static RemoteObject _defaults = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Astream",_ref.getField(false, "_astream"),"BOLD",_ref.getField(false, "_bold"),"CallBack",_ref.getField(false, "_callback"),"CHARFONT0",_ref.getField(false, "_charfont0"),"CHARSPACING0",_ref.getField(false, "_charspacing0"),"Connected",_ref.getField(false, "_connected"),"ConnectedError",_ref.getField(false, "_connectederror"),"DateUtils",_ref.getField(false, "_dateutils"),"DEFAULTS",_ref.getField(false, "_defaults"),"ESC",_ref.getField(false, "_esc"),"EventName",_ref.getField(false, "_eventname"),"FS",_ref.getField(false, "_fs"),"GS",_ref.getField(false, "_gs"),"HIGH",_ref.getField(false, "_high"),"HIGHWIDE",_ref.getField(false, "_highwide"),"HT",_ref.getField(false, "_ht"),"INVERT",_ref.getField(false, "_invert"),"LEFTJUSTIFY",_ref.getField(false, "_leftjustify"),"LINEDEFAULT",_ref.getField(false, "_linedefault"),"LINSET0",_ref.getField(false, "_linset0"),"LMARGIN0",_ref.getField(false, "_lmargin0"),"NOBOLD",_ref.getField(false, "_nobold"),"REVERSE",_ref.getField(false, "_reverse"),"ROTATE",_ref.getField(false, "_rotate"),"Serial1",_ref.getField(false, "_serial1"),"SINGLE",_ref.getField(false, "_single"),"ULINE0",_ref.getField(false, "_uline0"),"ULINE1",_ref.getField(false, "_uline1"),"ULINE2",_ref.getField(false, "_uline2"),"UNINVERT",_ref.getField(false, "_uninvert"),"UNREVERSE",_ref.getField(false, "_unreverse"),"UNROTATE",_ref.getField(false, "_unrotate"),"Version",_ref.getField(false, "_version"),"WIDE",_ref.getField(false, "_wide"),"WIDTH0",_ref.getField(false, "_width0")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/escposprinter_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/escposprinter_subs_0.java new file mode 100644 index 0000000..2101612 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/escposprinter_subs_0.java @@ -0,0 +1,3266 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class escposprinter_subs_0 { + + +public static RemoteObject _astream_error(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("AStream_Error (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1141); +if (RapidSub.canDelegate("astream_error")) { return __ref.runUserSub(false, "escposprinter","astream_error", __ref);} + BA.debugLineNum = 1141;BA.debugLine="Private Sub AStream_Error"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 1142;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; +Debug.ShouldStop(2097152); +if (escposprinter.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Error")))).get().booleanValue()) { + BA.debugLineNum = 1143;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; +Debug.ShouldStop(4194304); +escposprinter.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Error")))); + }; + BA.debugLineNum = 1145;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _astream_newdata(RemoteObject __ref,RemoteObject _buffer) throws Exception{ +try { + Debug.PushSubsStack("AStream_NewData (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1134); +if (RapidSub.canDelegate("astream_newdata")) { return __ref.runUserSub(false, "escposprinter","astream_newdata", __ref, _buffer);} +Debug.locals.put("Buffer", _buffer); + BA.debugLineNum = 1134;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1135;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; +Debug.ShouldStop(16384); +if (escposprinter.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_NewData")))).get().booleanValue()) { + BA.debugLineNum = 1136;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; +Debug.ShouldStop(32768); +escposprinter.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_NewData"))),(Object)((_buffer))); + }; + BA.debugLineNum = 1138;BA.debugLine="Log(\"Data \" & Buffer(0))"; +Debug.ShouldStop(131072); +escposprinter.__c.runVoidMethod ("LogImpl","091750404",RemoteObject.concat(RemoteObject.createImmutable("Data "),_buffer.getArrayElement(true,BA.numberCast(int.class, 0))),0); + BA.debugLineNum = 1139;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _astream_terminated(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("AStream_Terminated (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1147); +if (RapidSub.canDelegate("astream_terminated")) { return __ref.runUserSub(false, "escposprinter","astream_terminated", __ref);} + BA.debugLineNum = 1147;BA.debugLine="Private Sub AStream_Terminated"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1148;BA.debugLine="Connected = False"; +Debug.ShouldStop(134217728); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 1149;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; +Debug.ShouldStop(268435456); +if (escposprinter.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Terminated")))).get().booleanValue()) { + BA.debugLineNum = 1150;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; +Debug.ShouldStop(536870912); +escposprinter.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Terminated")))); + }; + BA.debugLineNum = 1152;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 11;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; +escposprinter._version = BA.numberCast(double.class, 2.0);__ref.setField("_version",escposprinter._version); + //BA.debugLineNum = 13;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; +; + //BA.debugLineNum = 15;BA.debugLine="Private EventName As String 'ignore"; +escposprinter._eventname = RemoteObject.createImmutable("");__ref.setField("_eventname",escposprinter._eventname); + //BA.debugLineNum = 16;BA.debugLine="Private CallBack As Object 'ignore"; +escposprinter._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",escposprinter._callback); + //BA.debugLineNum = 18;BA.debugLine="Private Serial1 As Serial"; +escposprinter._serial1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_serial1",escposprinter._serial1); + //BA.debugLineNum = 19;BA.debugLine="Private Astream As AsyncStreams"; +escposprinter._astream = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.AsyncStreams");__ref.setField("_astream",escposprinter._astream); + //BA.debugLineNum = 20;BA.debugLine="Private Connected As Boolean"; +escposprinter._connected = RemoteObject.createImmutable(false);__ref.setField("_connected",escposprinter._connected); + //BA.debugLineNum = 21;BA.debugLine="Private ConnectedError As String"; +escposprinter._connectederror = RemoteObject.createImmutable("");__ref.setField("_connectederror",escposprinter._connectederror); + //BA.debugLineNum = 23;BA.debugLine="Dim ESC As String = Chr(27)"; +escposprinter._esc = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 27))));__ref.setField("_esc",escposprinter._esc); + //BA.debugLineNum = 24;BA.debugLine="Dim FS As String = Chr(28)"; +escposprinter._fs = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 28))));__ref.setField("_fs",escposprinter._fs); + //BA.debugLineNum = 25;BA.debugLine="Dim GS As String = Chr(29)"; +escposprinter._gs = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 29))));__ref.setField("_gs",escposprinter._gs); + //BA.debugLineNum = 28;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; +escposprinter._unreverse = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("B"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));__ref.setField("_unreverse",escposprinter._unreverse); + //BA.debugLineNum = 29;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; +escposprinter._reverse = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("B"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 1))));__ref.setField("_reverse",escposprinter._reverse); + //BA.debugLineNum = 32;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; +escposprinter._uninvert = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("{0"));__ref.setField("_uninvert",escposprinter._uninvert); + //BA.debugLineNum = 33;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; +escposprinter._invert = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("{1"));__ref.setField("_invert",escposprinter._invert); + //BA.debugLineNum = 36;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; +escposprinter._unrotate = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("V0"));__ref.setField("_unrotate",escposprinter._unrotate); + //BA.debugLineNum = 37;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; +escposprinter._rotate = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("V1"));__ref.setField("_rotate",escposprinter._rotate); + //BA.debugLineNum = 40;BA.debugLine="Dim HT As String = Chr(9)"; +escposprinter._ht = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 9))));__ref.setField("_ht",escposprinter._ht); + //BA.debugLineNum = 43;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; +escposprinter._uline0 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("-0"));__ref.setField("_uline0",escposprinter._uline0); + //BA.debugLineNum = 44;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; +escposprinter._uline1 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("-1"));__ref.setField("_uline1",escposprinter._uline1); + //BA.debugLineNum = 45;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; +escposprinter._uline2 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("-2"));__ref.setField("_uline2",escposprinter._uline2); + //BA.debugLineNum = 48;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; +escposprinter._bold = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("E1"));__ref.setField("_bold",escposprinter._bold); + //BA.debugLineNum = 49;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; +escposprinter._nobold = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("E0"));__ref.setField("_nobold",escposprinter._nobold); + //BA.debugLineNum = 52;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; +escposprinter._single = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("!"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x00)))));__ref.setField("_single",escposprinter._single); + //BA.debugLineNum = 53;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; +escposprinter._high = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("!"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x01)))));__ref.setField("_high",escposprinter._high); + //BA.debugLineNum = 54;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; +escposprinter._wide = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("!"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x10)))));__ref.setField("_wide",escposprinter._wide); + //BA.debugLineNum = 55;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; +escposprinter._highwide = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("!"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x11)))));__ref.setField("_highwide",escposprinter._highwide); + //BA.debugLineNum = 58;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; +escposprinter._leftjustify = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("a0"));__ref.setField("_leftjustify",escposprinter._leftjustify); + //BA.debugLineNum = 59;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; +escposprinter._linedefault = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("2"));__ref.setField("_linedefault",escposprinter._linedefault); + //BA.debugLineNum = 60;BA.debugLine="Private LINSET0 As String = ESC & \"$\" & Chr(0x0)"; +escposprinter._linset0 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("$"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0)))),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0)))));__ref.setField("_linset0",escposprinter._linset0); + //BA.debugLineNum = 61;BA.debugLine="Private LMARGIN0 As String = GS & \"L\" & Chr(0x0)"; +escposprinter._lmargin0 = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("L"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0)))),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0)))));__ref.setField("_lmargin0",escposprinter._lmargin0); + //BA.debugLineNum = 62;BA.debugLine="Private WIDTH0 As String = GS & \"W\" & Chr(0xff) &"; +escposprinter._width0 = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("W"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xff)))),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xff)))));__ref.setField("_width0",escposprinter._width0); + //BA.debugLineNum = 63;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; +escposprinter._charspacing0 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));__ref.setField("_charspacing0",escposprinter._charspacing0); + //BA.debugLineNum = 64;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; +escposprinter._charfont0 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("M"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));__ref.setField("_charfont0",escposprinter._charfont0); + //BA.debugLineNum = 65;BA.debugLine="Dim DEFAULTS As String = CHARSPACING0 & CHARFONT"; +escposprinter._defaults = RemoteObject.concat(__ref.getField(true,"_charspacing0" /*RemoteObject*/ ),__ref.getField(true,"_charfont0" /*RemoteObject*/ ),__ref.getField(true,"_lmargin0" /*RemoteObject*/ ),__ref.getField(true,"_width0" /*RemoteObject*/ ),__ref.getField(true,"_linset0" /*RemoteObject*/ ),__ref.getField(true,"_linedefault" /*RemoteObject*/ ),__ref.getField(true,"_leftjustify" /*RemoteObject*/ ),__ref.getField(true,"_uninvert" /*RemoteObject*/ ),__ref.getField(true,"_unrotate" /*RemoteObject*/ ),__ref.getField(true,"_unreverse" /*RemoteObject*/ ),__ref.getField(true,"_nobold" /*RemoteObject*/ ),__ref.getField(true,"_uline0" /*RemoteObject*/ ));__ref.setField("_defaults",escposprinter._defaults); + //BA.debugLineNum = 68;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _connect(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Connect (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,100); +if (RapidSub.canDelegate("connect")) { return __ref.runUserSub(false, "escposprinter","connect", __ref);} +RemoteObject _paireddevices = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; +RemoteObject _res = RemoteObject.createImmutable(0); + BA.debugLineNum = 100;BA.debugLine="Public Sub Connect As Boolean"; +Debug.ShouldStop(8); + BA.debugLineNum = 104;BA.debugLine="Try"; +Debug.ShouldStop(128); +try { BA.debugLineNum = 105;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",escposprinter._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString("0"))) { + BA.debugLineNum = 106;BA.debugLine="Dim PairedDevices As Map"; +Debug.ShouldStop(512); +_paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("PairedDevices", _paireddevices); + BA.debugLineNum = 107;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; +Debug.ShouldStop(1024); +_paireddevices = __ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(false,"GetPairedDevices");Debug.locals.put("PairedDevices", _paireddevices); + BA.debugLineNum = 108;BA.debugLine="Dim l As List"; +Debug.ShouldStop(2048); +_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("l", _l); + BA.debugLineNum = 109;BA.debugLine="l.Initialize"; +Debug.ShouldStop(4096); +_l.runVoidMethod ("Initialize"); + BA.debugLineNum = 110;BA.debugLine="Log(\"aqui 1\")"; +Debug.ShouldStop(8192); +escposprinter.__c.runVoidMethod ("LogImpl","088604682",RemoteObject.createImmutable("aqui 1"),0); + BA.debugLineNum = 111;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +Debug.ShouldStop(16384); +{ +final int step8 = 1; +final int limit8 = RemoteObject.solve(new RemoteObject[] {_paireddevices.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8) ;_i = ((int)(0 + _i + step8)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 112;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; +Debug.ShouldStop(32768); +_l.runVoidMethod ("Add",(Object)(_paireddevices.runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, _i))))); + BA.debugLineNum = 113;BA.debugLine="Log(\"aqui 2\")"; +Debug.ShouldStop(65536); +escposprinter.__c.runVoidMethod ("LogImpl","088604685",RemoteObject.createImmutable("aqui 2"),0); + BA.debugLineNum = 114;BA.debugLine="DisConnect"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 116;BA.debugLine="Dim Res As Int"; +Debug.ShouldStop(524288); +_res = RemoteObject.createImmutable(0);Debug.locals.put("Res", _res); + BA.debugLineNum = 117;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; +Debug.ShouldStop(1048576); +_res = escposprinter.__c.runMethodAndSync(true,"InputList",(Object)(_l),(Object)(BA.ObjectToCharSequence("Choose a printer")),(Object)(BA.numberCast(int.class, -(double) (0 + 1))),__ref.runMethod(false,"getActivityBA"));Debug.locals.put("Res", _res); + BA.debugLineNum = 118;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",_res,BA.numberCast(double.class, escposprinter.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { + BA.debugLineNum = 119;BA.debugLine="Serial1.Connect(PairedDevices.Get(l.Get(Res)))"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_l.runMethod(false,"Get",(Object)(_res))))))); + BA.debugLineNum = 121;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; +Debug.ShouldStop(16777216); +escposprinter._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_l.runMethod(false,"Get",(Object)(_res))))); + BA.debugLineNum = 122;BA.debugLine="Return True"; +Debug.ShouldStop(33554432); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"True"); + BA.debugLineNum = 123;BA.debugLine="DisConnect"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 124;BA.debugLine="Log(\"aqui 3\")"; +Debug.ShouldStop(134217728); +escposprinter.__c.runVoidMethod ("LogImpl","088604696",RemoteObject.createImmutable("aqui 3"),0); + }; + BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")"; +Debug.ShouldStop(536870912); +escposprinter.__c.runVoidMethod ("LogImpl","088604698",RemoteObject.createImmutable("aqui 4"),0); + BA.debugLineNum = 127;BA.debugLine="Return False"; +Debug.ShouldStop(1073741824); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"False"); + }else { + BA.debugLineNum = 129;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; +Debug.ShouldStop(1); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(escposprinter._starter._mac_impresora /*RemoteObject*/ )); + BA.debugLineNum = 131;BA.debugLine="Return True"; +Debug.ShouldStop(4); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"True"); + BA.debugLineNum = 132;BA.debugLine="DisConnect"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")"; +Debug.ShouldStop(16); +escposprinter.__c.runVoidMethod ("LogImpl","088604705",RemoteObject.createImmutable("aqui 5"),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e31) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e31.toString()); BA.debugLineNum = 136;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(128); +escposprinter.__c.runVoidMethod ("LogImpl","088604708",BA.ObjectToString(escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))),0); + BA.debugLineNum = 137;BA.debugLine="Return False"; +Debug.ShouldStop(256); +if (true) return escposprinter.__c.getField(true,"False"); + }; + BA.debugLineNum = 139;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _connectederrormsg(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ConnectedErrorMsg (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,84); +if (RapidSub.canDelegate("connectederrormsg")) { return __ref.runUserSub(false, "escposprinter","connectederrormsg", __ref);} + BA.debugLineNum = 84;BA.debugLine="Public Sub ConnectedErrorMsg As String"; +Debug.ShouldStop(524288); + BA.debugLineNum = 85;BA.debugLine="Return ConnectedError"; +Debug.ShouldStop(1048576); +if (true) return __ref.getField(true,"_connectederror" /*RemoteObject*/ ); + BA.debugLineNum = 86;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createbox(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("CreateBox (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,520); +if (RapidSub.canDelegate("createbox")) { return __ref.runUserSub(false, "escposprinter","createbox", __ref, _x0, _y0, _x1, _y1, _fill);} +RemoteObject _box = RemoteObject.createImmutable(0); +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("fill", _fill); + BA.debugLineNum = 520;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; +Debug.ShouldStop(128); + BA.debugLineNum = 521;BA.debugLine="Dim box As Int = 0x10000000"; +Debug.ShouldStop(256); +_box = BA.numberCast(int.class, ((int)0x10000000));Debug.locals.put("box", _box);Debug.locals.put("box", _box); + BA.debugLineNum = 522;BA.debugLine="If fill Then box = box + 0x80000000"; +Debug.ShouldStop(512); +if (_fill.get().booleanValue()) { +_box = RemoteObject.solve(new RemoteObject[] {_box,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("box", _box);}; + BA.debugLineNum = 523;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +Debug.ShouldStop(1024); +_box = RemoteObject.solve(new RemoteObject[] {_box,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x0))),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1);Debug.locals.put("box", _box); + BA.debugLineNum = 524;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +Debug.ShouldStop(2048); +_box = RemoteObject.solve(new RemoteObject[] {_box,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y0))),(Object)(BA.numberCast(int.class, 16)))}, "+",1, 1);Debug.locals.put("box", _box); + BA.debugLineNum = 525;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +Debug.ShouldStop(4096); +_box = RemoteObject.solve(new RemoteObject[] {_box,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x1))),(Object)(BA.numberCast(int.class, 8)))}, "+",1, 1);Debug.locals.put("box", _box); + BA.debugLineNum = 526;BA.debugLine="box = box + Bit.And(0x1f,y1)"; +Debug.ShouldStop(8192); +_box = RemoteObject.solve(new RemoteObject[] {_box,escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y1))}, "+",1, 1);Debug.locals.put("box", _box); + BA.debugLineNum = 527;BA.debugLine="Return box"; +Debug.ShouldStop(16384); +if (true) return _box; + BA.debugLineNum = 528;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createcircle(RemoteObject __ref,RemoteObject _radius,RemoteObject _quadrants,RemoteObject _x1,RemoteObject _y1,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("CreateCircle (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,490); +if (RapidSub.canDelegate("createcircle")) { return __ref.runUserSub(false, "escposprinter","createcircle", __ref, _radius, _quadrants, _x1, _y1, _fill);} +RemoteObject _circle = RemoteObject.createImmutable(0); +Debug.locals.put("radius", _radius); +Debug.locals.put("quadrants", _quadrants); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("fill", _fill); + BA.debugLineNum = 490;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; +Debug.ShouldStop(512); + BA.debugLineNum = 491;BA.debugLine="Dim circle As Int = 0x20000000"; +Debug.ShouldStop(1024); +_circle = BA.numberCast(int.class, ((int)0x20000000));Debug.locals.put("circle", _circle);Debug.locals.put("circle", _circle); + BA.debugLineNum = 492;BA.debugLine="If fill Then circle = circle + 0x80000000"; +Debug.ShouldStop(2048); +if (_fill.get().booleanValue()) { +_circle = RemoteObject.solve(new RemoteObject[] {_circle,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("circle", _circle);}; + BA.debugLineNum = 493;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; +Debug.ShouldStop(4096); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_radius),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 494;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; +Debug.ShouldStop(8192); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_quadrants),(Object)(BA.numberCast(int.class, 16)))}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 495;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; +Debug.ShouldStop(16384); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_x1),(Object)(BA.numberCast(int.class, 8)))}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 496;BA.debugLine="circle = circle + y1"; +Debug.ShouldStop(32768); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,_y1}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 497;BA.debugLine="Return circle"; +Debug.ShouldStop(65536); +if (true) return _circle; + BA.debugLineNum = 498;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createcustomcharacter(RemoteObject __ref,RemoteObject _shapes,RemoteObject _characterfont) throws Exception{ +try { + Debug.PushSubsStack("CreateCustomCharacter (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,404); +if (RapidSub.canDelegate("createcustomcharacter")) { return __ref.runUserSub(false, "escposprinter","createcustomcharacter", __ref, _shapes, _characterfont);} +RemoteObject _masks = null; +RemoteObject _points = null; +int _x = 0; +int _y = 0; +RemoteObject _size = RemoteObject.createImmutable(0); +RemoteObject _charbyes = null; +int _c = 0; +int _i = 0; +RemoteObject _fill = RemoteObject.createImmutable(0); +RemoteObject _shape = RemoteObject.createImmutable(0); +RemoteObject _x0 = RemoteObject.createImmutable(0); +RemoteObject _y0 = RemoteObject.createImmutable(0); +RemoteObject _x1 = RemoteObject.createImmutable(0); +RemoteObject _y1 = RemoteObject.createImmutable(0); +RemoteObject _x2 = RemoteObject.createImmutable(0); +RemoteObject _y2 = RemoteObject.createImmutable(0); +RemoteObject _logmsg = RemoteObject.createImmutable(""); +RemoteObject _bits = RemoteObject.createImmutable((byte)0); +int _b = 0; +Debug.locals.put("shapes", _shapes); +Debug.locals.put("characterfont", _characterfont); + BA.debugLineNum = 404;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; +Debug.ShouldStop(524288); + BA.debugLineNum = 405;BA.debugLine="Dim masks(8) As Byte"; +Debug.ShouldStop(1048576); +_masks = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("masks", _masks); + BA.debugLineNum = 406;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(2097152); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 407;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(4194304); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 408;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(8388608); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 409;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(16777216); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 410;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(33554432); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 411;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(67108864); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 412;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(134217728); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 413;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(268435456); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 416;BA.debugLine="Dim points(16,32) As Byte"; +Debug.ShouldStop(-2147483648); +_points = RemoteObject.createNewArray ("byte", new int[] {16,32}, new Object[]{});Debug.locals.put("points", _points); + BA.debugLineNum = 418;BA.debugLine="For x = 0 To 15"; +Debug.ShouldStop(2); +{ +final int step11 = 1; +final int limit11 = 15; +_x = 0 ; +for (;(step11 > 0 && _x <= limit11) || (step11 < 0 && _x >= limit11) ;_x = ((int)(0 + _x + step11)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 419;BA.debugLine="For y = 0 To 31"; +Debug.ShouldStop(4); +{ +final int step12 = 1; +final int limit12 = 31; +_y = 0 ; +for (;(step12 > 0 && _y <= limit12) || (step12 < 0 && _y >= limit12) ;_y = ((int)(0 + _y + step12)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 420;BA.debugLine="points(x,y) = 0"; +Debug.ShouldStop(8); +_points.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y)); + } +}Debug.locals.put("y", _y); +; + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 423;BA.debugLine="Dim size As Int = 12"; +Debug.ShouldStop(64); +_size = BA.numberCast(int.class, 12);Debug.locals.put("size", _size);Debug.locals.put("size", _size); + BA.debugLineNum = 424;BA.debugLine="If characterfont = 1 Then size = 9"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_characterfont,BA.numberCast(double.class, 1))) { +_size = BA.numberCast(int.class, 9);Debug.locals.put("size", _size);}; + BA.debugLineNum = 425;BA.debugLine="Dim charbyes(size * 3) As Byte"; +Debug.ShouldStop(256); +_charbyes = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_size,RemoteObject.createImmutable(3)}, "*",0, 1).get().intValue()}, new Object[]{});Debug.locals.put("charbyes", _charbyes); + BA.debugLineNum = 426;BA.debugLine="For c = 0 To charbyes.Length - 1"; +Debug.ShouldStop(512); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_charbyes.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_c = 0 ; +for (;(step19 > 0 && _c <= limit19) || (step19 < 0 && _c >= limit19) ;_c = ((int)(0 + _c + step19)) ) { +Debug.locals.put("c", _c); + BA.debugLineNum = 427;BA.debugLine="charbyes(c) = 0"; +Debug.ShouldStop(1024); +_charbyes.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, _c)); + } +}Debug.locals.put("c", _c); +; + BA.debugLineNum = 430;BA.debugLine="For i = 0 To shapes.Length -1"; +Debug.ShouldStop(8192); +{ +final int step22 = 1; +final int limit22 = RemoteObject.solve(new RemoteObject[] {_shapes.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step22 > 0 && _i <= limit22) || (step22 < 0 && _i >= limit22) ;_i = ((int)(0 + _i + step22)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 431;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; +Debug.ShouldStop(16384); +_fill = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x80000000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 31)));Debug.locals.put("fill", _fill);Debug.locals.put("fill", _fill); + BA.debugLineNum = 432;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; +Debug.ShouldStop(32768); +_shape = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x70000000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 28)));Debug.locals.put("shape", _shape);Debug.locals.put("shape", _shape); + BA.debugLineNum = 433;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(65536); +_x0 = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0f000000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 24)));Debug.locals.put("x0", _x0);Debug.locals.put("x0", _x0); + BA.debugLineNum = 434;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(131072); +_y0 = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x001f0000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 16)));Debug.locals.put("y0", _y0);Debug.locals.put("y0", _y0); + BA.debugLineNum = 435;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(262144); +_x1 = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x00000f00))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 8)));Debug.locals.put("x1", _x1);Debug.locals.put("x1", _x1); + BA.debugLineNum = 436;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; +Debug.ShouldStop(524288); +_y1 = escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0000001f))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))));Debug.locals.put("y1", _y1);Debug.locals.put("y1", _y1); + BA.debugLineNum = 437;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(1048576); +_x2 = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0000f000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 12)));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2); + BA.debugLineNum = 438;BA.debugLine="Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(2097152); +_y2 = RemoteObject.solve(new RemoteObject[] {escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x00e00000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 18))),escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x000000e0))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 5)))}, "+",1, 1);Debug.locals.put("y2", _y2);Debug.locals.put("y2", _y2); + BA.debugLineNum = 444;BA.debugLine="Dim logmsg As String = \": Fill=\" & fill & \" : Po"; +Debug.ShouldStop(134217728); +_logmsg = RemoteObject.concat(RemoteObject.createImmutable(": Fill="),_fill,RemoteObject.createImmutable(" : Points "),_x0,RemoteObject.createImmutable(","),_y0,RemoteObject.createImmutable(" "),_x1,RemoteObject.createImmutable(","),_y1,RemoteObject.createImmutable(" "),_x2,RemoteObject.createImmutable(","),_y2);Debug.locals.put("logmsg", _logmsg);Debug.locals.put("logmsg", _logmsg); + BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 3))) { + BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)"; +Debug.ShouldStop(536870912); +escposprinter.__c.runVoidMethod ("LogImpl","089915434",RemoteObject.concat(RemoteObject.createImmutable("Triangle "),_logmsg),0); + BA.debugLineNum = 447;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plottriangle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points),(Object)(_fill)); + }else +{ BA.debugLineNum = 448;BA.debugLine="else If shape = 2 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 2))) { + BA.debugLineNum = 449;BA.debugLine="Log(\"Circle \" & logmsg)"; +Debug.ShouldStop(1); +escposprinter.__c.runVoidMethod ("LogImpl","089915437",RemoteObject.concat(RemoteObject.createImmutable("Circle "),_logmsg),0); + BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; +Debug.ShouldStop(2); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotcircle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points),(Object)(_fill)); + }else +{ BA.debugLineNum = 451;BA.debugLine="Else If shape = 1 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)"; +Debug.ShouldStop(8); +escposprinter.__c.runVoidMethod ("LogImpl","089915440",RemoteObject.concat(RemoteObject.createImmutable("Box "),_logmsg),0); + BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; +Debug.ShouldStop(16); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotbox" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points),(Object)(_fill)); + }else { + BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)"; +Debug.ShouldStop(64); +escposprinter.__c.runVoidMethod ("LogImpl","089915443",RemoteObject.concat(RemoteObject.createImmutable("Line "),_logmsg),0); + BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +Debug.ShouldStop(128); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }}} +; + BA.debugLineNum = 459;BA.debugLine="For x = 0 To size -1 ' 9 or 12 horizontal bytes"; +Debug.ShouldStop(1024); +{ +final int step45 = 1; +final int limit45 = RemoteObject.solve(new RemoteObject[] {_size,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step45 > 0 && _x <= limit45) || (step45 < 0 && _x >= limit45) ;_x = ((int)(0 + _x + step45)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 460;BA.debugLine="For y = 0 To 2 ' 3 vertical bytes"; +Debug.ShouldStop(2048); +{ +final int step46 = 1; +final int limit46 = 2; +_y = 0 ; +for (;(step46 > 0 && _y <= limit46) || (step46 < 0 && _y >= limit46) ;_y = ((int)(0 + _y + step46)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 461;BA.debugLine="Dim bits As Byte = 0"; +Debug.ShouldStop(4096); +_bits = BA.numberCast(byte.class, 0);Debug.locals.put("bits", _bits);Debug.locals.put("bits", _bits); + BA.debugLineNum = 462;BA.debugLine="For b = 0 To 7 ' 8 vertical bits"; +Debug.ShouldStop(8192); +{ +final int step48 = 1; +final int limit48 = 7; +_b = 0 ; +for (;(step48 > 0 && _b <= limit48) || (step48 < 0 && _b >= limit48) ;_b = ((int)(0 + _b + step48)) ) { +Debug.locals.put("b", _b); + BA.debugLineNum = 463;BA.debugLine="If points(x, y*8+b) <> 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",_points.getArrayElement(true,BA.numberCast(int.class, _x),RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),RemoteObject.createImmutable(8),RemoteObject.createImmutable(_b)}, "*+",1, 1)),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 464;BA.debugLine="bits = Bit.Or(bits, masks(b))"; +Debug.ShouldStop(32768); +_bits = BA.numberCast(byte.class, escposprinter.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(BA.numberCast(int.class, _bits)),(Object)(BA.numberCast(int.class, _masks.getArrayElement(true,BA.numberCast(int.class, _b))))));Debug.locals.put("bits", _bits); + }; + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 467;BA.debugLine="charbyes(x*3+y) = bits"; +Debug.ShouldStop(262144); +_charbyes.setArrayElement (_bits,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),RemoteObject.createImmutable(3),RemoteObject.createImmutable(_y)}, "*+",1, 1)); + } +}Debug.locals.put("y", _y); +; + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 471;BA.debugLine="Return charbyes"; +Debug.ShouldStop(4194304); +if (true) return _charbyes; + BA.debugLineNum = 472;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createline(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1) throws Exception{ +try { + Debug.PushSubsStack("CreateLine (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,477); +if (RapidSub.canDelegate("createline")) { return __ref.runUserSub(false, "escposprinter","createline", __ref, _x0, _y0, _x1, _y1);} +RemoteObject _line = RemoteObject.createImmutable(0); +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); + BA.debugLineNum = 477;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 478;BA.debugLine="Dim line As Int = 0"; +Debug.ShouldStop(536870912); +_line = BA.numberCast(int.class, 0);Debug.locals.put("line", _line);Debug.locals.put("line", _line); + BA.debugLineNum = 479;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +Debug.ShouldStop(1073741824); +_line = RemoteObject.solve(new RemoteObject[] {_line,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x0))),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1);Debug.locals.put("line", _line); + BA.debugLineNum = 480;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +Debug.ShouldStop(-2147483648); +_line = RemoteObject.solve(new RemoteObject[] {_line,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y0))),(Object)(BA.numberCast(int.class, 16)))}, "+",1, 1);Debug.locals.put("line", _line); + BA.debugLineNum = 481;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +Debug.ShouldStop(1); +_line = RemoteObject.solve(new RemoteObject[] {_line,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x1))),(Object)(BA.numberCast(int.class, 8)))}, "+",1, 1);Debug.locals.put("line", _line); + BA.debugLineNum = 482;BA.debugLine="line = line + Bit.And(0x1f,y1)"; +Debug.ShouldStop(2); +_line = RemoteObject.solve(new RemoteObject[] {_line,escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y1))}, "+",1, 1);Debug.locals.put("line", _line); + BA.debugLineNum = 483;BA.debugLine="Return line"; +Debug.ShouldStop(4); +if (true) return _line; + BA.debugLineNum = 484;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createtriangle(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _x2,RemoteObject _y2,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("CreateTriangle (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,504); +if (RapidSub.canDelegate("createtriangle")) { return __ref.runUserSub(false, "escposprinter","createtriangle", __ref, _x0, _y0, _x1, _y1, _x2, _y2, _fill);} +RemoteObject _triangle = RemoteObject.createImmutable(0); +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("x2", _x2); +Debug.locals.put("y2", _y2); +Debug.locals.put("fill", _fill); + BA.debugLineNum = 504;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 505;BA.debugLine="Dim triangle As Int = 0x30000000"; +Debug.ShouldStop(16777216); +_triangle = BA.numberCast(int.class, ((int)0x30000000));Debug.locals.put("triangle", _triangle);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 506;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; +Debug.ShouldStop(33554432); +if (_fill.get().booleanValue()) { +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("triangle", _triangle);}; + BA.debugLineNum = 507;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(67108864); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x0))),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 508;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; +Debug.ShouldStop(134217728); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y0))),(Object)(BA.numberCast(int.class, 16)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 509;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(268435456); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x1))),(Object)(BA.numberCast(int.class, 8)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 510;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; +Debug.ShouldStop(536870912); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y1))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 511;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(1073741824); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x2))),(Object)(BA.numberCast(int.class, 12)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 512;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; +Debug.ShouldStop(-2147483648); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x7))),(Object)(_y2))),(Object)(BA.numberCast(int.class, 5)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 513;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; +Debug.ShouldStop(1); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x18))),(Object)(_y2))),(Object)(BA.numberCast(int.class, 18)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 514;BA.debugLine="Return triangle"; +Debug.ShouldStop(2); +if (true) return _triangle; + BA.debugLineNum = 515;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _definecustomcharacter(RemoteObject __ref,RemoteObject _charcode,RemoteObject _bitdata) throws Exception{ +try { + Debug.PushSubsStack("DefineCustomCharacter (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,352); +if (RapidSub.canDelegate("definecustomcharacter")) { return __ref.runUserSub(false, "escposprinter","definecustomcharacter", __ref, _charcode, _bitdata);} +RemoteObject _excess = RemoteObject.createImmutable(0); +RemoteObject _size = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("charcode", _charcode); +Debug.locals.put("bitdata", _bitdata); + BA.debugLineNum = 352;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 353;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; +Debug.ShouldStop(1); +_excess = RemoteObject.solve(new RemoteObject[] {_bitdata.getField(true,"length"),RemoteObject.createImmutable(3)}, "%",0, 1);Debug.locals.put("excess", _excess);Debug.locals.put("excess", _excess); + BA.debugLineNum = 354;BA.debugLine="If excess <> 0 Then Return -1"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("!",_excess,BA.numberCast(double.class, 0))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 355;BA.debugLine="Dim size As Int = bitdata.Length / 3"; +Debug.ShouldStop(4); +_size = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_bitdata.getField(true,"length"),RemoteObject.createImmutable(3)}, "/",0, 0));Debug.locals.put("size", _size);Debug.locals.put("size", _size); + BA.debugLineNum = 356;BA.debugLine="WriteString(ESC & \"&\")"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("&")))); + BA.debugLineNum = 357;BA.debugLine="Dim params(4) As Byte"; +Debug.ShouldStop(16); +_params = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 358;BA.debugLine="params(0) = 3"; +Debug.ShouldStop(32); +_params.setArrayElement (BA.numberCast(byte.class, 3),BA.numberCast(int.class, 0)); + BA.debugLineNum = 359;BA.debugLine="params(1) = charcode"; +Debug.ShouldStop(64); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 1)); + BA.debugLineNum = 360;BA.debugLine="params(2) = charcode"; +Debug.ShouldStop(128); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 2)); + BA.debugLineNum = 361;BA.debugLine="params(3) = size"; +Debug.ShouldStop(256); +_params.setArrayElement (BA.numberCast(byte.class, _size),BA.numberCast(int.class, 3)); + BA.debugLineNum = 362;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(512); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 363;BA.debugLine="WriteBytes(bitdata)"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_bitdata)); + BA.debugLineNum = 364;BA.debugLine="Return 0"; +Debug.ShouldStop(2048); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 365;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _deletecustomcharacter(RemoteObject __ref,RemoteObject _charcode) throws Exception{ +try { + Debug.PushSubsStack("DeleteCustomCharacter (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,317); +if (RapidSub.canDelegate("deletecustomcharacter")) { return __ref.runUserSub(false, "escposprinter","deletecustomcharacter", __ref, _charcode);} +RemoteObject _params = null; +Debug.locals.put("charcode", _charcode); + BA.debugLineNum = 317;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 318;BA.debugLine="WriteString(ESC & \"?\")"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("?")))); + BA.debugLineNum = 319;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(1073741824); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 320;BA.debugLine="params(0) = charcode"; +Debug.ShouldStop(-2147483648); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 0)); + BA.debugLineNum = 321;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 322;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _disconnect(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DisConnect (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,143); +if (RapidSub.canDelegate("disconnect")) { return __ref.runUserSub(false, "escposprinter","disconnect", __ref);} + BA.debugLineNum = 143;BA.debugLine="Public Sub DisConnect"; +Debug.ShouldStop(16384); + BA.debugLineNum = 144;BA.debugLine="Serial1.Disconnect"; +Debug.ShouldStop(32768); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + BA.debugLineNum = 145;BA.debugLine="Connected = False"; +Debug.ShouldStop(65536); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 146;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ditherimage1d(RemoteObject __ref,RemoteObject _img,RemoteObject _threshold) throws Exception{ +try { + Debug.PushSubsStack("DitherImage1D (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,763); +if (RapidSub.canDelegate("ditherimage1d")) { return __ref.runUserSub(false, "escposprinter","ditherimage1d", __ref, _img, _threshold);} +RemoteObject _pixels = null; +RemoteObject _error = RemoteObject.createImmutable(0); +int _y = 0; +int _x = 0; +RemoteObject _lum = RemoteObject.createImmutable(0); +RemoteObject _ret = RemoteObject.declareNull("gunav2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 763;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 764;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(134217728); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_img.getField(false,"Data" /*RemoteObject*/ ).getField(true,"length").get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 765;BA.debugLine="Dim error As Int"; +Debug.ShouldStop(268435456); +_error = RemoteObject.createImmutable(0);Debug.locals.put("error", _error); + BA.debugLineNum = 766;BA.debugLine="For y = 0 To img.Height - 1"; +Debug.ShouldStop(536870912); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step3 > 0 && _y <= limit3) || (step3 < 0 && _y >= limit3) ;_y = ((int)(0 + _y + step3)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 767;BA.debugLine="error = 0 ' reset on each new line"; +Debug.ShouldStop(1073741824); +_error = BA.numberCast(int.class, 0);Debug.locals.put("error", _error); + BA.debugLineNum = 768;BA.debugLine="For x = 0 To img.Width - 1"; +Debug.ShouldStop(-2147483648); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step5 > 0 && _x <= limit5) || (step5 < 0 && _x >= limit5) ;_x = ((int)(0 + _x + step5)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 769;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +Debug.ShouldStop(1); +_lum = escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(_x)}, "*+",1, 1)))),(Object)(BA.numberCast(int.class, ((int)0xff))));Debug.locals.put("lum", _lum);Debug.locals.put("lum", _lum); + BA.debugLineNum = 770;BA.debugLine="lum = lum + error"; +Debug.ShouldStop(2); +_lum = RemoteObject.solve(new RemoteObject[] {_lum,_error}, "+",1, 1);Debug.locals.put("lum", _lum); + BA.debugLineNum = 771;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 772;BA.debugLine="error = lum"; +Debug.ShouldStop(8); +_error = _lum;Debug.locals.put("error", _error); + BA.debugLineNum = 773;BA.debugLine="lum = 1"; +Debug.ShouldStop(16); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 775;BA.debugLine="error = lum - 255"; +Debug.ShouldStop(64); +_error = RemoteObject.solve(new RemoteObject[] {_lum,RemoteObject.createImmutable(255)}, "-",1, 1);Debug.locals.put("error", _error); + BA.debugLineNum = 776;BA.debugLine="lum = 0"; +Debug.ShouldStop(128); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 778;BA.debugLine="pixels(y*img.Width + x) = lum"; +Debug.ShouldStop(512); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(_x)}, "*+",1, 1)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 781;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(4096); +_ret = RemoteObject.createNew ("gunav2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 782;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(8192); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 783;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(16384); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 784;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(32768); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 785;BA.debugLine="Return ret"; +Debug.ShouldStop(65536); +if (true) return _ret; + BA.debugLineNum = 786;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ditherimage2d(RemoteObject __ref,RemoteObject _img,RemoteObject _threshold) throws Exception{ +try { + Debug.PushSubsStack("DitherImage2D (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,794); +if (RapidSub.canDelegate("ditherimage2d")) { return __ref.runUserSub(false, "escposprinter","ditherimage2d", __ref, _img, _threshold);} +RemoteObject _pixels = null; +RemoteObject _xerror = RemoteObject.createImmutable(0); +RemoteObject _yerrors = null; +int _i = 0; +int _y = 0; +int _x = 0; +RemoteObject _lum = RemoteObject.createImmutable(0); +RemoteObject _ret = RemoteObject.declareNull("gunav2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 794;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 795;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(67108864); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_img.getField(false,"Data" /*RemoteObject*/ ).getField(true,"length").get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 796;BA.debugLine="Dim xerror As Int"; +Debug.ShouldStop(134217728); +_xerror = RemoteObject.createImmutable(0);Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 797;BA.debugLine="Dim yerrors(img.Width) As Int"; +Debug.ShouldStop(268435456); +_yerrors = RemoteObject.createNewArray ("int", new int[] {_img.getField(true,"Width" /*RemoteObject*/ ).get().intValue()}, new Object[]{});Debug.locals.put("yerrors", _yerrors); + BA.debugLineNum = 798;BA.debugLine="For i = 0 To yerrors.Length -1"; +Debug.ShouldStop(536870912); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_yerrors.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 799;BA.debugLine="yerrors(0) = 0"; +Debug.ShouldStop(1073741824); +_yerrors.setArrayElement (BA.numberCast(int.class, 0),BA.numberCast(int.class, 0)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 801;BA.debugLine="For y = 0 To img.Height - 1"; +Debug.ShouldStop(1); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step7 > 0 && _y <= limit7) || (step7 < 0 && _y >= limit7) ;_y = ((int)(0 + _y + step7)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 802;BA.debugLine="xerror = 0 ' reset on each new line"; +Debug.ShouldStop(2); +_xerror = BA.numberCast(int.class, 0);Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 803;BA.debugLine="For x = 0 To img.Width - 1"; +Debug.ShouldStop(4); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step9 > 0 && _x <= limit9) || (step9 < 0 && _x >= limit9) ;_x = ((int)(0 + _x + step9)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 804;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +Debug.ShouldStop(8); +_lum = escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(_x)}, "*+",1, 1)))),(Object)(BA.numberCast(int.class, ((int)0xff))));Debug.locals.put("lum", _lum);Debug.locals.put("lum", _lum); + BA.debugLineNum = 805;BA.debugLine="lum = lum + xerror + yerrors(x)"; +Debug.ShouldStop(16); +_lum = RemoteObject.solve(new RemoteObject[] {_lum,_xerror,_yerrors.getArrayElement(true,BA.numberCast(int.class, _x))}, "++",2, 1);Debug.locals.put("lum", _lum); + BA.debugLineNum = 806;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 807;BA.debugLine="xerror = lum/2"; +Debug.ShouldStop(64); +_xerror = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_lum,RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 808;BA.debugLine="yerrors(x) = xerror"; +Debug.ShouldStop(128); +_yerrors.setArrayElement (_xerror,BA.numberCast(int.class, _x)); + BA.debugLineNum = 809;BA.debugLine="lum = 1"; +Debug.ShouldStop(256); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 811;BA.debugLine="xerror = (lum - 255)/2"; +Debug.ShouldStop(1024); +_xerror = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_lum,RemoteObject.createImmutable(255)}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 812;BA.debugLine="yerrors(x) = xerror"; +Debug.ShouldStop(2048); +_yerrors.setArrayElement (_xerror,BA.numberCast(int.class, _x)); + BA.debugLineNum = 813;BA.debugLine="lum = 0"; +Debug.ShouldStop(4096); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 815;BA.debugLine="pixels(y*img.Width + x) = lum"; +Debug.ShouldStop(16384); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(_x)}, "*+",1, 1)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 818;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(131072); +_ret = RemoteObject.createNew ("gunav2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 819;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(262144); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 820;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(524288); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 821;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(1048576); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 822;BA.debugLine="Return ret"; +Debug.ShouldStop(2097152); +if (true) return _ret; + BA.debugLineNum = 823;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _filltriangle(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _x2,RemoteObject _y2,RemoteObject _points) throws Exception{ +try { + Debug.PushSubsStack("FillTriangle (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,544); +if (RapidSub.canDelegate("filltriangle")) { return __ref.runUserSub(false, "escposprinter","filltriangle", __ref, _x0, _y0, _x1, _y1, _x2, _y2, _points);} +RemoteObject _tx = RemoteObject.createImmutable(0); +RemoteObject _ty = RemoteObject.createImmutable(0); +RemoteObject _dx0 = RemoteObject.createImmutable(0); +RemoteObject _dx1 = RemoteObject.createImmutable(0); +RemoteObject _dx2 = RemoteObject.createImmutable(0); +RemoteObject _x3 = RemoteObject.createImmutable(0); +RemoteObject _x4 = RemoteObject.createImmutable(0); +RemoteObject _y3 = RemoteObject.createImmutable(0); +RemoteObject _y4 = RemoteObject.createImmutable(0); +RemoteObject _inc = RemoteObject.createImmutable(0); +int _x = 0; +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("x2", _x2); +Debug.locals.put("y2", _y2); +Debug.locals.put("points", _points); + BA.debugLineNum = 544;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 546;BA.debugLine="Dim tx, ty As Int"; +Debug.ShouldStop(2); +_tx = RemoteObject.createImmutable(0);Debug.locals.put("tx", _tx); +_ty = RemoteObject.createImmutable(0);Debug.locals.put("ty", _ty); + BA.debugLineNum = 547;BA.debugLine="If y0 > y1 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(8); +_tx = _x0;Debug.locals.put("tx", _tx); + BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(8); +_ty = _y0;Debug.locals.put("ty", _ty); + BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; +Debug.ShouldStop(16); +_x0 = _x1;Debug.locals.put("x0", _x0); + BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; +Debug.ShouldStop(16); +_y0 = _y1;Debug.locals.put("y0", _y0); + BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; +Debug.ShouldStop(32); +_x1 = _tx;Debug.locals.put("x1", _x1); + BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; +Debug.ShouldStop(32); +_y1 = _ty;Debug.locals.put("y1", _y1); + }; + BA.debugLineNum = 552;BA.debugLine="If y0 > y2 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(256); +_tx = _x0;Debug.locals.put("tx", _tx); + BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(256); +_ty = _y0;Debug.locals.put("ty", _ty); + BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; +Debug.ShouldStop(512); +_x0 = _x2;Debug.locals.put("x0", _x0); + BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; +Debug.ShouldStop(512); +_y0 = _y2;Debug.locals.put("y0", _y0); + BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(1024); +_x2 = _tx;Debug.locals.put("x2", _x2); + BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(1024); +_y2 = _ty;Debug.locals.put("y2", _y2); + }; + BA.debugLineNum = 557;BA.debugLine="If y1 > y2 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_y1,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; +Debug.ShouldStop(8192); +_tx = _x1;Debug.locals.put("tx", _tx); + BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; +Debug.ShouldStop(8192); +_ty = _y1;Debug.locals.put("ty", _ty); + BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; +Debug.ShouldStop(16384); +_x1 = _x2;Debug.locals.put("x1", _x1); + BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; +Debug.ShouldStop(16384); +_y1 = _y2;Debug.locals.put("y1", _y1); + BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(32768); +_x2 = _tx;Debug.locals.put("x2", _x2); + BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(32768); +_y2 = _ty;Debug.locals.put("y2", _y2); + }; + BA.debugLineNum = 563;BA.debugLine="Dim dx0, dx1, dx2 As Double"; +Debug.ShouldStop(262144); +_dx0 = RemoteObject.createImmutable(0);Debug.locals.put("dx0", _dx0); +_dx1 = RemoteObject.createImmutable(0);Debug.locals.put("dx1", _dx1); +_dx2 = RemoteObject.createImmutable(0);Debug.locals.put("dx2", _dx2); + BA.debugLineNum = 564;BA.debugLine="Dim x3, x4, y3, y4 As Double"; +Debug.ShouldStop(524288); +_x3 = RemoteObject.createImmutable(0);Debug.locals.put("x3", _x3); +_x4 = RemoteObject.createImmutable(0);Debug.locals.put("x4", _x4); +_y3 = RemoteObject.createImmutable(0);Debug.locals.put("y3", _y3); +_y4 = RemoteObject.createImmutable(0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 565;BA.debugLine="Dim inc As Int"; +Debug.ShouldStop(1048576); +_inc = RemoteObject.createImmutable(0);Debug.locals.put("inc", _inc); + BA.debugLineNum = 567;BA.debugLine="If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0="; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1),BA.numberCast(double.class, 0))) { +_dx0 = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1))}, "/",0, 0);Debug.locals.put("dx0", _dx0);} +else { +_dx0 = BA.numberCast(double.class, 0);Debug.locals.put("dx0", _dx0);}; + BA.debugLineNum = 568;BA.debugLine="If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1="; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_y2,_y0}, "-",1, 1),BA.numberCast(double.class, 0))) { +_dx1 = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_x2,_x0}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_y2,_y0}, "-",1, 1))}, "/",0, 0);Debug.locals.put("dx1", _dx1);} +else { +_dx1 = BA.numberCast(double.class, 0);Debug.locals.put("dx1", _dx1);}; + BA.debugLineNum = 569;BA.debugLine="If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2="; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_y2,_y1}, "-",1, 1),BA.numberCast(double.class, 0))) { +_dx2 = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_x2,_x1}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_y2,_y1}, "-",1, 1))}, "/",0, 0);Debug.locals.put("dx2", _dx2);} +else { +_dx2 = BA.numberCast(double.class, 0);Debug.locals.put("dx2", _dx2);}; + BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; +Debug.ShouldStop(33554432); +_x3 = BA.numberCast(double.class, _x0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; +Debug.ShouldStop(33554432); +_x4 = BA.numberCast(double.class, _x0);Debug.locals.put("x4", _x4); + BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; +Debug.ShouldStop(67108864); +_y3 = BA.numberCast(double.class, _y0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; +Debug.ShouldStop(67108864); +_y4 = BA.numberCast(double.class, _y0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 572;BA.debugLine="If dx0 > dx1 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_dx0,_dx1)) { + BA.debugLineNum = 573;BA.debugLine="While"; +Debug.ShouldStop(268435456); +escposprinter.__c.runVoidMethod ("While"); + BA.debugLineNum = 574;BA.debugLine="Do While y3 <= y1"; +Debug.ShouldStop(536870912); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 575;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_x3,_x4)) { +_inc = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("inc", _inc);} +else { +_inc = BA.numberCast(int.class, 1);Debug.locals.put("inc", _inc);}; + BA.debugLineNum = 576;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(-2147483648); +{ +final int step40 = _inc.get().intValue(); +final int limit40 = (int) (0 + _x4.get().doubleValue()); +_x = (int) (0 + _x3.get().doubleValue()) ; +for (;(step40 > 0 && _x <= limit40) || (step40 < 0 && _x >= limit40) ;_x = ((int)(0 + _x + step40)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 577;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(1); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(4); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(4); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(4); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx1}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(4); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx0}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + BA.debugLineNum = 581;BA.debugLine="x4=x1"; +Debug.ShouldStop(16); +_x4 = BA.numberCast(double.class, _x1);Debug.locals.put("x4", _x4); + BA.debugLineNum = 582;BA.debugLine="y4=y1"; +Debug.ShouldStop(32); +_y4 = BA.numberCast(double.class, _y1);Debug.locals.put("y4", _y4); + BA.debugLineNum = 583;BA.debugLine="Do While y3 <= y2"; +Debug.ShouldStop(64); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 584;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_x3,_x4)) { +_inc = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("inc", _inc);} +else { +_inc = BA.numberCast(int.class, 1);Debug.locals.put("inc", _inc);}; + BA.debugLineNum = 585;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(256); +{ +final int step52 = _inc.get().intValue(); +final int limit52 = (int) (0 + _x4.get().doubleValue()); +_x = (int) (0 + _x3.get().doubleValue()) ; +for (;(step52 > 0 && _x <= limit52) || (step52 < 0 && _x >= limit52) ;_x = ((int)(0 + _x + step52)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 586;BA.debugLine="points(x ,y3) = 1"; +Debug.ShouldStop(512); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(2048); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(2048); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(2048); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx1}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(2048); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx2}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + }else { + BA.debugLineNum = 591;BA.debugLine="While"; +Debug.ShouldStop(16384); +escposprinter.__c.runVoidMethod ("While"); + BA.debugLineNum = 592;BA.debugLine="Do While y3 <= y1"; +Debug.ShouldStop(32768); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 593;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_x3,_x4)) { +_inc = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("inc", _inc);} +else { +_inc = BA.numberCast(int.class, 1);Debug.locals.put("inc", _inc);}; + BA.debugLineNum = 594;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(131072); +{ +final int step64 = _inc.get().intValue(); +final int limit64 = (int) (0 + _x4.get().doubleValue()); +_x = (int) (0 + _x3.get().doubleValue()) ; +for (;(step64 > 0 && _x <= limit64) || (step64 < 0 && _x >= limit64) ;_x = ((int)(0 + _x + step64)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 595;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(262144); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(1048576); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(1048576); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(1048576); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx0}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(1048576); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx1}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + BA.debugLineNum = 599;BA.debugLine="x3=x1"; +Debug.ShouldStop(4194304); +_x3 = BA.numberCast(double.class, _x1);Debug.locals.put("x3", _x3); + BA.debugLineNum = 600;BA.debugLine="y3=y1"; +Debug.ShouldStop(8388608); +_y3 = BA.numberCast(double.class, _y1);Debug.locals.put("y3", _y3); + BA.debugLineNum = 601;BA.debugLine="Do While y3<=y2"; +Debug.ShouldStop(16777216); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 602;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_x3,_x4)) { +_inc = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("inc", _inc);} +else { +_inc = BA.numberCast(int.class, 1);Debug.locals.put("inc", _inc);}; + BA.debugLineNum = 603;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(67108864); +{ +final int step76 = _inc.get().intValue(); +final int limit76 = (int) (0 + _x4.get().doubleValue()); +_x = (int) (0 + _x3.get().doubleValue()) ; +for (;(step76 > 0 && _x <= limit76) || (step76 < 0 && _x >= limit76) ;_x = ((int)(0 + _x + step76)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 604;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(134217728); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(536870912); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(536870912); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(536870912); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx2}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(536870912); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx1}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + }; + BA.debugLineNum = 609;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imagetobwimage(RemoteObject __ref,RemoteObject _bmp) throws Exception{ +try { + Debug.PushSubsStack("ImageToBWIMage (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,713); +if (RapidSub.canDelegate("imagetobwimage")) { return __ref.runUserSub(false, "escposprinter","imagetobwimage", __ref, _bmp);} +RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +RemoteObject _w = RemoteObject.createImmutable(0); +RemoteObject _h = RemoteObject.createImmutable(0); +RemoteObject _pixels = null; +int _y = 0; +int _x = 0; +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _col = RemoteObject.declareNull("b4a.example.bitmapcreator._argbcolor"); +RemoteObject _lum = RemoteObject.createImmutable(0); +RemoteObject _ret = RemoteObject.declareNull("gunav2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 713;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; +Debug.ShouldStop(256); + BA.debugLineNum = 714;BA.debugLine="Dim BC As BitmapCreator 'ignore"; +Debug.ShouldStop(512); +_bc = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("BC", _bc); + BA.debugLineNum = 715;BA.debugLine="Dim W As Int = bmp.Width"; +Debug.ShouldStop(1024); +_w = _bmp.runMethod(true,"getWidth");Debug.locals.put("W", _w);Debug.locals.put("W", _w); + BA.debugLineNum = 716;BA.debugLine="Dim H As Int = bmp.Height"; +Debug.ShouldStop(2048); +_h = _bmp.runMethod(true,"getHeight");Debug.locals.put("H", _h);Debug.locals.put("H", _h); + BA.debugLineNum = 717;BA.debugLine="Dim pixels(W * H) As Byte"; +Debug.ShouldStop(4096); +_pixels = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_w,_h}, "*",0, 1).get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 719;BA.debugLine="For y = 0 To H - 1"; +Debug.ShouldStop(16384); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_h,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step5 > 0 && _y <= limit5) || (step5 < 0 && _y >= limit5) ;_y = ((int)(0 + _y + step5)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 720;BA.debugLine="For x = 0 To W - 1"; +Debug.ShouldStop(32768); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {_w,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step6 > 0 && _x <= limit6) || (step6 < 0 && _x >= limit6) ;_x = ((int)(0 + _x + step6)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 721;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; +Debug.ShouldStop(65536); +_j = _bmp.runMethod(true,"GetPixel",(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)));Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 723;BA.debugLine="Dim col As ARGBColor"; +Debug.ShouldStop(262144); +_col = RemoteObject.createNew ("b4a.example.bitmapcreator._argbcolor");Debug.locals.put("col", _col); + BA.debugLineNum = 724;BA.debugLine="BC.ColorToARGB(j, col )"; +Debug.ShouldStop(524288); +_bc.runVoidMethod ("_colortoargb",(Object)(_j),(Object)(_col)); + BA.debugLineNum = 725;BA.debugLine="Dim lum As Int = col.r * 0.2 + col.b*0.1 + col."; +Debug.ShouldStop(1048576); +_lum = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_col.getField(true,"r"),RemoteObject.createImmutable(0.2),_col.getField(true,"b"),RemoteObject.createImmutable(0.1),_col.getField(true,"g"),RemoteObject.createImmutable(0.7)}, "*+*+*",2, 0));Debug.locals.put("lum", _lum);Debug.locals.put("lum", _lum); + BA.debugLineNum = 726;BA.debugLine="If lum> 255 Then lum = 255"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_lum,BA.numberCast(double.class, 255))) { +_lum = BA.numberCast(int.class, 255);Debug.locals.put("lum", _lum);}; + BA.debugLineNum = 728;BA.debugLine="pixels(y*W + x) = lum"; +Debug.ShouldStop(8388608); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_w,RemoteObject.createImmutable(_x)}, "*+",1, 1)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 731;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(67108864); +_ret = RemoteObject.createNew ("gunav2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 732;BA.debugLine="ret.Width = bmp.Width"; +Debug.ShouldStop(134217728); +_ret.setField ("Width" /*RemoteObject*/ ,_bmp.runMethod(true,"getWidth")); + BA.debugLineNum = 733;BA.debugLine="ret.Height = bmp.Height"; +Debug.ShouldStop(268435456); +_ret.setField ("Height" /*RemoteObject*/ ,_bmp.runMethod(true,"getHeight")); + BA.debugLineNum = 734;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(536870912); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 735;BA.debugLine="Return ret"; +Debug.ShouldStop(1073741824); +if (true) return _ret; + BA.debugLineNum = 736;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _vcallback,RemoteObject _veventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,75); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "escposprinter","initialize", __ref, _ba, _vcallback, _veventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("vCallback", _vcallback); +Debug.locals.put("vEventName", _veventname); + BA.debugLineNum = 75;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; +Debug.ShouldStop(1024); + BA.debugLineNum = 76;BA.debugLine="EventName = vEventName"; +Debug.ShouldStop(2048); +__ref.setField ("_eventname" /*RemoteObject*/ ,_veventname); + BA.debugLineNum = 77;BA.debugLine="CallBack = vCallback"; +Debug.ShouldStop(4096); +__ref.setField ("_callback" /*RemoteObject*/ ,_vcallback); + BA.debugLineNum = 78;BA.debugLine="Serial1.Initialize(\"Serial1\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Serial1"))); + BA.debugLineNum = 79;BA.debugLine="Connected = False"; +Debug.ShouldStop(16384); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 80;BA.debugLine="ConnectedError = \"\""; +Debug.ShouldStop(32768); +__ref.setField ("_connectederror" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 81;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isbluetoothon(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsBluetoothOn (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,94); +if (RapidSub.canDelegate("isbluetoothon")) { return __ref.runUserSub(false, "escposprinter","isbluetoothon", __ref);} + BA.debugLineNum = 94;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 95;BA.debugLine="Return Serial1.IsEnabled"; +Debug.ShouldStop(1073741824); +if (true) return __ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(true,"IsEnabled"); + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isconnected(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsConnected (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,89); +if (RapidSub.canDelegate("isconnected")) { return __ref.runUserSub(false, "escposprinter","isconnected", __ref);} + BA.debugLineNum = 89;BA.debugLine="Public Sub IsConnected As Boolean"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 90;BA.debugLine="Return Connected"; +Debug.ShouldStop(33554432); +if (true) return __ref.getField(true,"_connected" /*RemoteObject*/ ); + BA.debugLineNum = 91;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _packimage(RemoteObject __ref,RemoteObject _imagedata) throws Exception{ +try { + Debug.PushSubsStack("PackImage (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,865); +if (RapidSub.canDelegate("packimage")) { return __ref.runUserSub(false, "escposprinter","packimage", __ref, _imagedata);} +RemoteObject _xbytes = RemoteObject.createImmutable(0); +RemoteObject _pixels = null; +RemoteObject _masks = null; +RemoteObject _index = RemoteObject.createImmutable(0); +int _y = 0; +int _x = 0; +RemoteObject _xbyte = RemoteObject.createImmutable((byte)0); +int _b = 0; +RemoteObject _pix = RemoteObject.createImmutable((byte)0); +RemoteObject _ret = RemoteObject.declareNull("gunav2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("imagedata", _imagedata); + BA.debugLineNum = 865;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; +Debug.ShouldStop(1); + BA.debugLineNum = 866;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; +Debug.ShouldStop(2); +_xbytes = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_imagedata.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(8)}, "/",0, 0));Debug.locals.put("xbytes", _xbytes);Debug.locals.put("xbytes", _xbytes); + BA.debugLineNum = 867;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; +Debug.ShouldStop(4); +_pixels = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_xbytes,_imagedata.getField(true,"Height" /*RemoteObject*/ )}, "*",0, 1).get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 868;BA.debugLine="Dim masks(8) As Byte"; +Debug.ShouldStop(8); +_masks = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("masks", _masks); + BA.debugLineNum = 869;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(16); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 870;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(32); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 871;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(64); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 872;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(128); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 873;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(256); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 874;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(512); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 875;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(1024); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 876;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(2048); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 877;BA.debugLine="Dim index As Int = 0"; +Debug.ShouldStop(4096); +_index = BA.numberCast(int.class, 0);Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 878;BA.debugLine="For y = 0 To imagedata.Height - 1"; +Debug.ShouldStop(8192); +{ +final int step13 = 1; +final int limit13 = RemoteObject.solve(new RemoteObject[] {_imagedata.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step13 > 0 && _y <= limit13) || (step13 < 0 && _y >= limit13) ;_y = ((int)(0 + _y + step13)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 879;BA.debugLine="For x = 0 To xbytes - 1"; +Debug.ShouldStop(16384); +{ +final int step14 = 1; +final int limit14 = RemoteObject.solve(new RemoteObject[] {_xbytes,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step14 > 0 && _x <= limit14) || (step14 < 0 && _x >= limit14) ;_x = ((int)(0 + _x + step14)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 880;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(32768); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 881;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(65536); +{ +final int step16 = 1; +final int limit16 = 7; +_b = 0 ; +for (;(step16 > 0 && _b <= limit16) || (step16 < 0 && _b >= limit16) ;_b = ((int)(0 + _b + step16)) ) { +Debug.locals.put("b", _b); + BA.debugLineNum = 883;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; +Debug.ShouldStop(262144); +_pix = _imagedata.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,_index);Debug.locals.put("pix", _pix);Debug.locals.put("pix", _pix); + BA.debugLineNum = 884;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 885;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(1048576); +_xbyte = BA.numberCast(byte.class, RemoteObject.solve(new RemoteObject[] {_xbyte,_masks.getArrayElement(true,BA.numberCast(int.class, _b))}, "+",1, 1));Debug.locals.put("xbyte", _xbyte); + }; + BA.debugLineNum = 887;BA.debugLine="index = index + 1"; +Debug.ShouldStop(4194304); +_index = RemoteObject.solve(new RemoteObject[] {_index,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("index", _index); + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 889;BA.debugLine="pixels(y*xbytes + x) = xbyte"; +Debug.ShouldStop(16777216); +_pixels.setArrayElement (_xbyte,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_xbytes,RemoteObject.createImmutable(_x)}, "*+",1, 1)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 892;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(134217728); +_ret = RemoteObject.createNew ("gunav2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 893;BA.debugLine="ret.Width = xbytes"; +Debug.ShouldStop(268435456); +_ret.setField ("Width" /*RemoteObject*/ ,_xbytes); + BA.debugLineNum = 894;BA.debugLine="ret.Height = imagedata.Height"; +Debug.ShouldStop(536870912); +_ret.setField ("Height" /*RemoteObject*/ ,_imagedata.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 895;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(1073741824); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 896;BA.debugLine="Return ret"; +Debug.ShouldStop(-2147483648); +if (true) return _ret; + BA.debugLineNum = 897;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _packimageslice(RemoteObject __ref,RemoteObject _img,RemoteObject _slice,RemoteObject _dots24) throws Exception{ +try { + Debug.PushSubsStack("PackImageSlice (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,963); +if (RapidSub.canDelegate("packimageslice")) { return __ref.runUserSub(false, "escposprinter","packimageslice", __ref, _img, _slice, _dots24);} +RemoteObject _bytes = RemoteObject.createImmutable(0); +RemoteObject _pixels = null; +RemoteObject _slicestart = RemoteObject.createImmutable(0); +RemoteObject _masks = null; +int _x = 0; +int _s = 0; +RemoteObject _xbyte = RemoteObject.createImmutable((byte)0); +int _b = 0; +RemoteObject _pix = RemoteObject.createImmutable((byte)0); +Debug.locals.put("img", _img); +Debug.locals.put("slice", _slice); +Debug.locals.put("dots24", _dots24); + BA.debugLineNum = 963;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; +Debug.ShouldStop(4); + BA.debugLineNum = 964;BA.debugLine="Dim bytes As Int = img.width"; +Debug.ShouldStop(8); +_bytes = _img.getField(true,"Width" /*RemoteObject*/ );Debug.locals.put("bytes", _bytes);Debug.locals.put("bytes", _bytes); + BA.debugLineNum = 965;BA.debugLine="If dots24 Then"; +Debug.ShouldStop(16); +if (_dots24.get().booleanValue()) { + BA.debugLineNum = 966;BA.debugLine="Dim pixels(bytes * 3) As Byte"; +Debug.ShouldStop(32); +_pixels = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_bytes,RemoteObject.createImmutable(3)}, "*",0, 1).get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 967;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; +Debug.ShouldStop(64); +_slicestart = RemoteObject.solve(new RemoteObject[] {_slice,_bytes,RemoteObject.createImmutable(8),RemoteObject.createImmutable(3)}, "***",0, 1);Debug.locals.put("slicestart", _slicestart);Debug.locals.put("slicestart", _slicestart); + }else { + BA.debugLineNum = 969;BA.debugLine="Dim pixels(bytes) As Byte"; +Debug.ShouldStop(256); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_bytes.get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 970;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; +Debug.ShouldStop(512); +_slicestart = RemoteObject.solve(new RemoteObject[] {_slice,_bytes,RemoteObject.createImmutable(8)}, "**",0, 1);Debug.locals.put("slicestart", _slicestart);Debug.locals.put("slicestart", _slicestart); + }; + BA.debugLineNum = 973;BA.debugLine="Dim masks(8) As Byte"; +Debug.ShouldStop(4096); +_masks = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("masks", _masks); + BA.debugLineNum = 974;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(8192); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 975;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(16384); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 976;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(32768); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 977;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(65536); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 978;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(131072); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 979;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(262144); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 980;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(524288); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 981;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(1048576); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 983;BA.debugLine="If dots24 Then"; +Debug.ShouldStop(4194304); +if (_dots24.get().booleanValue()) { + BA.debugLineNum = 984;BA.debugLine="For x = 0 To bytes - 1"; +Debug.ShouldStop(8388608); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_bytes,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step19 > 0 && _x <= limit19) || (step19 < 0 && _x >= limit19) ;_x = ((int)(0 + _x + step19)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 985;BA.debugLine="For s = 0 To 2"; +Debug.ShouldStop(16777216); +{ +final int step20 = 1; +final int limit20 = 2; +_s = 0 ; +for (;(step20 > 0 && _s <= limit20) || (step20 < 0 && _s >= limit20) ;_s = ((int)(0 + _s + step20)) ) { +Debug.locals.put("s", _s); + BA.debugLineNum = 986;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(33554432); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 987;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(67108864); +{ +final int step22 = 1; +final int limit22 = 7; +_b = 0 ; +for (;(step22 > 0 && _b <= limit22) || (step22 < 0 && _b >= limit22) ;_b = ((int)(0 + _b + step22)) ) { +Debug.locals.put("b", _b); + BA.debugLineNum = 989;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; +Debug.ShouldStop(268435456); +_pix = _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_slicestart,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_b),RemoteObject.createImmutable(_s),RemoteObject.createImmutable(8)}, "+*",1, 1)),_bytes}, "*",0, 1)),RemoteObject.createImmutable(_x)}, "++",2, 1));Debug.locals.put("pix", _pix);Debug.locals.put("pix", _pix); + BA.debugLineNum = 990;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 991;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(1073741824); +_xbyte = BA.numberCast(byte.class, RemoteObject.solve(new RemoteObject[] {_xbyte,_masks.getArrayElement(true,BA.numberCast(int.class, _b))}, "+",1, 1));Debug.locals.put("xbyte", _xbyte); + }; + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 994;BA.debugLine="pixels(x*3+s) = xbyte"; +Debug.ShouldStop(2); +_pixels.setArrayElement (_xbyte,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),RemoteObject.createImmutable(3),RemoteObject.createImmutable(_s)}, "*+",1, 1)); + } +}Debug.locals.put("s", _s); +; + } +}Debug.locals.put("x", _x); +; + }else { + BA.debugLineNum = 998;BA.debugLine="For x = 0 To bytes - 1"; +Debug.ShouldStop(32); +{ +final int step32 = 1; +final int limit32 = RemoteObject.solve(new RemoteObject[] {_bytes,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step32 > 0 && _x <= limit32) || (step32 < 0 && _x >= limit32) ;_x = ((int)(0 + _x + step32)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 999;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(64); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 1000;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(128); +{ +final int step34 = 1; +final int limit34 = 7; +_b = 0 ; +for (;(step34 > 0 && _b <= limit34) || (step34 < 0 && _b >= limit34) ;_b = ((int)(0 + _b + step34)) ) { +Debug.locals.put("b", _b); + BA.debugLineNum = 1002;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; +Debug.ShouldStop(512); +_pix = _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_slicestart,(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_b),_bytes}, "*",0, 1)),RemoteObject.createImmutable(_x)}, "++",2, 1));Debug.locals.put("pix", _pix);Debug.locals.put("pix", _pix); + BA.debugLineNum = 1003;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1004;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(2048); +_xbyte = BA.numberCast(byte.class, RemoteObject.solve(new RemoteObject[] {_xbyte,_masks.getArrayElement(true,BA.numberCast(int.class, _b))}, "+",1, 1));Debug.locals.put("xbyte", _xbyte); + }; + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 1007;BA.debugLine="pixels(x) = xbyte"; +Debug.ShouldStop(16384); +_pixels.setArrayElement (_xbyte,BA.numberCast(int.class, _x)); + } +}Debug.locals.put("x", _x); +; + }; + BA.debugLineNum = 1010;BA.debugLine="Return pixels"; +Debug.ShouldStop(131072); +if (true) return _pixels; + BA.debugLineNum = 1011;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotbox(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _points,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("PlotBox (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,611); +if (RapidSub.canDelegate("plotbox")) { return __ref.runUserSub(false, "escposprinter","plotbox", __ref, _x0, _y0, _x1, _y1, _points, _fill);} +int _x = 0; +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); +Debug.locals.put("Fill", _fill); + BA.debugLineNum = 611;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; +Debug.ShouldStop(4); + BA.debugLineNum = 613;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; +Debug.ShouldStop(16); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x0),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 614;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; +Debug.ShouldStop(32); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y0),(Object)(_points)); + BA.debugLineNum = 615;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; +Debug.ShouldStop(64); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 616;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; +Debug.ShouldStop(128); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y1),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 617;BA.debugLine="If Fill > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 618;BA.debugLine="For x = x0 To x1"; +Debug.ShouldStop(512); +{ +final int step6 = 1; +final int limit6 = _x1.get().intValue(); +_x = _x0.get().intValue() ; +for (;(step6 > 0 && _x <= limit6) || (step6 < 0 && _x >= limit6) ;_x = ((int)(0 + _x + step6)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 619;BA.debugLine="PlotLine(x, y0, x, y1, points)"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(_y0),(Object)(BA.numberCast(int.class, _x)),(Object)(_y1),(Object)(_points)); + } +}Debug.locals.put("x", _x); +; + }; + BA.debugLineNum = 622;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotcircle(RemoteObject __ref,RemoteObject _radius,RemoteObject _quadrants,RemoteObject _x1,RemoteObject _y1,RemoteObject _points,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("PlotCircle (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,625); +if (RapidSub.canDelegate("plotcircle")) { return __ref.runUserSub(false, "escposprinter","plotcircle", __ref, _radius, _quadrants, _x1, _y1, _points, _fill);} +RemoteObject _mask = RemoteObject.createImmutable(0); +int _q = 0; +int _i = 0; +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +Debug.locals.put("radius", _radius); +Debug.locals.put("quadrants", _quadrants); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); +Debug.locals.put("fill", _fill); + BA.debugLineNum = 625;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; +Debug.ShouldStop(65536); + BA.debugLineNum = 627;BA.debugLine="Dim mask As Int = 1"; +Debug.ShouldStop(262144); +_mask = BA.numberCast(int.class, 1);Debug.locals.put("mask", _mask);Debug.locals.put("mask", _mask); + BA.debugLineNum = 628;BA.debugLine="For q = 3 To 0 Step -1"; +Debug.ShouldStop(524288); +{ +final int step2 = -1; +final int limit2 = 0; +_q = 3 ; +for (;(step2 > 0 && _q <= limit2) || (step2 < 0 && _q >= limit2) ;_q = ((int)(0 + _q + step2)) ) { +Debug.locals.put("q", _q); + BA.debugLineNum = 629;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("!",escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_quadrants),(Object)(_mask)),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 630;BA.debugLine="For i = q*90 To q*90+90 Step 1"; +Debug.ShouldStop(2097152); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_q),RemoteObject.createImmutable(90),RemoteObject.createImmutable(90)}, "*+",1, 1).get().intValue(); +_i = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_q),RemoteObject.createImmutable(90)}, "*",0, 1).get().intValue() ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 631;BA.debugLine="Dim x,y As Double"; +Debug.ShouldStop(4194304); +_x = RemoteObject.createImmutable(0);Debug.locals.put("x", _x); +_y = RemoteObject.createImmutable(0);Debug.locals.put("y", _y); + BA.debugLineNum = 632;BA.debugLine="x = x1 - SinD(i)*radius"; +Debug.ShouldStop(8388608); +_x = RemoteObject.solve(new RemoteObject[] {_x1,escposprinter.__c.runMethod(true,"SinD",(Object)(BA.numberCast(double.class, _i))),_radius}, "-*",1, 0);Debug.locals.put("x", _x); + BA.debugLineNum = 633;BA.debugLine="y = y1 - CosD(i)*radius"; +Debug.ShouldStop(16777216); +_y = RemoteObject.solve(new RemoteObject[] {_y1,escposprinter.__c.runMethod(true,"CosD",(Object)(BA.numberCast(double.class, _i))),_radius}, "-*",1, 0);Debug.locals.put("y", _y); + BA.debugLineNum = 634;BA.debugLine="If fill > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 635;BA.debugLine="PlotLine(x1, y1, x, y, points)"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_points)); + }else { + BA.debugLineNum = 637;BA.debugLine="points(Round(x), Round(y)) = 1"; +Debug.ShouldStop(268435456); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, escposprinter.__c.runMethod(true,"Round",(Object)(_x))),BA.numberCast(int.class, escposprinter.__c.runMethod(true,"Round",(Object)(_y)))); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 641;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; +Debug.ShouldStop(1); +_mask = escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_mask),(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("mask", _mask); + } +}Debug.locals.put("q", _q); +; + BA.debugLineNum = 643;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotline(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _points) throws Exception{ +try { + Debug.PushSubsStack("PlotLine (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,646); +if (RapidSub.canDelegate("plotline")) { return __ref.runUserSub(false, "escposprinter","plotline", __ref, _x0, _y0, _x1, _y1, _points);} +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); + BA.debugLineNum = 646;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; +Debug.ShouldStop(32); + BA.debugLineNum = 647;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("<",escposprinter.__c.runMethod(true,"Abs",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1)))),escposprinter.__c.runMethod(true,"Abs",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1)))))) { + BA.debugLineNum = 648;BA.debugLine="If x0 > x1 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_x0,BA.numberCast(double.class, _x1))) { + BA.debugLineNum = 649;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; +Debug.ShouldStop(256); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotlinelow" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x0),(Object)(_y0),(Object)(_points)); + }else { + BA.debugLineNum = 651;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotlinelow" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }; + }else { + BA.debugLineNum = 654;BA.debugLine="If y0 > y1 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 655;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotlinehigh" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x0),(Object)(_y0),(Object)(_points)); + }else { + BA.debugLineNum = 657;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; +Debug.ShouldStop(65536); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotlinehigh" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }; + }; + BA.debugLineNum = 660;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotlinehigh(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _points) throws Exception{ +try { + Debug.PushSubsStack("PlotLineHigh (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,662); +if (RapidSub.canDelegate("plotlinehigh")) { return __ref.runUserSub(false, "escposprinter","plotlinehigh", __ref, _x0, _y0, _x1, _y1, _points);} +RemoteObject _dx = RemoteObject.createImmutable(0); +RemoteObject _dy = RemoteObject.createImmutable(0); +RemoteObject _xi = RemoteObject.createImmutable(0); +RemoteObject _d = RemoteObject.createImmutable(0); +RemoteObject _x = RemoteObject.createImmutable(0); +int _y = 0; +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); + BA.debugLineNum = 662;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 663;BA.debugLine="Dim dx As Int = x1 - x0"; +Debug.ShouldStop(4194304); +_dx = RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1);Debug.locals.put("dx", _dx);Debug.locals.put("dx", _dx); + BA.debugLineNum = 664;BA.debugLine="Dim dy As Int = y1 - y0"; +Debug.ShouldStop(8388608); +_dy = RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1);Debug.locals.put("dy", _dy);Debug.locals.put("dy", _dy); + BA.debugLineNum = 665;BA.debugLine="Dim xi As Int = 1"; +Debug.ShouldStop(16777216); +_xi = BA.numberCast(int.class, 1);Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi); + BA.debugLineNum = 666;BA.debugLine="If dx < 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("<",_dx,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 667;BA.debugLine="xi = -1"; +Debug.ShouldStop(67108864); +_xi = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("xi", _xi); + BA.debugLineNum = 668;BA.debugLine="dx = -dx"; +Debug.ShouldStop(134217728); +_dx = BA.numberCast(int.class, -(double) (0 + _dx.get().intValue()));Debug.locals.put("dx", _dx); + }; + BA.debugLineNum = 670;BA.debugLine="Dim D As Int = 2*dx - dy"; +Debug.ShouldStop(536870912); +_d = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_dx,_dy}, "*-",1, 1);Debug.locals.put("D", _d);Debug.locals.put("D", _d); + BA.debugLineNum = 671;BA.debugLine="Dim x As Int = x0"; +Debug.ShouldStop(1073741824); +_x = _x0;Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 672;BA.debugLine="For y = y0 To y1"; +Debug.ShouldStop(-2147483648); +{ +final int step10 = 1; +final int limit10 = _y1.get().intValue(); +_y = _y0.get().intValue() ; +for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 673;BA.debugLine="points(x,y) = 1"; +Debug.ShouldStop(1); +_points.setArrayElement (BA.numberCast(byte.class, 1),_x,BA.numberCast(int.class, _y)); + BA.debugLineNum = 674;BA.debugLine="If D > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_d,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 675;BA.debugLine="x = x + xi"; +Debug.ShouldStop(4); +_x = RemoteObject.solve(new RemoteObject[] {_x,_xi}, "+",1, 1);Debug.locals.put("x", _x); + BA.debugLineNum = 676;BA.debugLine="D = D - 2*dy"; +Debug.ShouldStop(8); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dy}, "-*",1, 1);Debug.locals.put("D", _d); + }; + BA.debugLineNum = 678;BA.debugLine="D = D + 2*dx"; +Debug.ShouldStop(32); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dx}, "+*",1, 1);Debug.locals.put("D", _d); + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 680;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotlinelow(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _points) throws Exception{ +try { + Debug.PushSubsStack("PlotLineLow (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,682); +if (RapidSub.canDelegate("plotlinelow")) { return __ref.runUserSub(false, "escposprinter","plotlinelow", __ref, _x0, _y0, _x1, _y1, _points);} +RemoteObject _dx = RemoteObject.createImmutable(0); +RemoteObject _dy = RemoteObject.createImmutable(0); +RemoteObject _yi = RemoteObject.createImmutable(0); +RemoteObject _d = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +int _x = 0; +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); + BA.debugLineNum = 682;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; +Debug.ShouldStop(512); + BA.debugLineNum = 683;BA.debugLine="Dim dx As Int = x1 - x0"; +Debug.ShouldStop(1024); +_dx = RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1);Debug.locals.put("dx", _dx);Debug.locals.put("dx", _dx); + BA.debugLineNum = 684;BA.debugLine="Dim dy As Int = y1 - y0"; +Debug.ShouldStop(2048); +_dy = RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1);Debug.locals.put("dy", _dy);Debug.locals.put("dy", _dy); + BA.debugLineNum = 685;BA.debugLine="Dim yi As Int = 1"; +Debug.ShouldStop(4096); +_yi = BA.numberCast(int.class, 1);Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi); + BA.debugLineNum = 686;BA.debugLine="If dy < 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("<",_dy,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 687;BA.debugLine="yi = -1"; +Debug.ShouldStop(16384); +_yi = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("yi", _yi); + BA.debugLineNum = 688;BA.debugLine="dy = -dy"; +Debug.ShouldStop(32768); +_dy = BA.numberCast(int.class, -(double) (0 + _dy.get().intValue()));Debug.locals.put("dy", _dy); + }; + BA.debugLineNum = 690;BA.debugLine="Dim D As Int = 2*dy - dx"; +Debug.ShouldStop(131072); +_d = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_dy,_dx}, "*-",1, 1);Debug.locals.put("D", _d);Debug.locals.put("D", _d); + BA.debugLineNum = 691;BA.debugLine="Dim y As Int = y0"; +Debug.ShouldStop(262144); +_y = _y0;Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 692;BA.debugLine="For x = x0 To x1"; +Debug.ShouldStop(524288); +{ +final int step10 = 1; +final int limit10 = _x1.get().intValue(); +_x = _x0.get().intValue() ; +for (;(step10 > 0 && _x <= limit10) || (step10 < 0 && _x >= limit10) ;_x = ((int)(0 + _x + step10)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 693;BA.debugLine="points(x,y) = 1"; +Debug.ShouldStop(1048576); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),_y); + BA.debugLineNum = 694;BA.debugLine="If D > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_d,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 695;BA.debugLine="y = y + yi"; +Debug.ShouldStop(4194304); +_y = RemoteObject.solve(new RemoteObject[] {_y,_yi}, "+",1, 1);Debug.locals.put("y", _y); + BA.debugLineNum = 696;BA.debugLine="D = D - 2*dx"; +Debug.ShouldStop(8388608); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dx}, "-*",1, 1);Debug.locals.put("D", _d); + }; + BA.debugLineNum = 698;BA.debugLine="D = D + 2*dy"; +Debug.ShouldStop(33554432); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dy}, "+*",1, 1);Debug.locals.put("D", _d); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 700;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plottriangle(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _x2,RemoteObject _y2,RemoteObject _points,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("PlotTriangle (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,534); +if (RapidSub.canDelegate("plottriangle")) { return __ref.runUserSub(false, "escposprinter","plottriangle", __ref, _x0, _y0, _x1, _y1, _x2, _y2, _points, _fill);} +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("x2", _x2); +Debug.locals.put("y2", _y2); +Debug.locals.put("points", _points); +Debug.locals.put("Fill", _fill); + BA.debugLineNum = 534;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 536;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 537;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points)); + BA.debugLineNum = 538;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x2),(Object)(_y2),(Object)(_x0),(Object)(_y0),(Object)(_points)); + BA.debugLineNum = 539;BA.debugLine="If Fill > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 540;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_filltriangle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points)); + }; + BA.debugLineNum = 542;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printandfeedpaper(RemoteObject __ref,RemoteObject _units) throws Exception{ +try { + Debug.PushSubsStack("PrintAndFeedPaper (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,160); +if (RapidSub.canDelegate("printandfeedpaper")) { return __ref.runUserSub(false, "escposprinter","printandfeedpaper", __ref, _units);} +RemoteObject _params = null; +Debug.locals.put("units", _units); + BA.debugLineNum = 160;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 161;BA.debugLine="WriteString(ESC & \"J\")"; +Debug.ShouldStop(1); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("J")))); + BA.debugLineNum = 162;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(2); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 163;BA.debugLine="params(0) = units"; +Debug.ShouldStop(4); +_params.setArrayElement (BA.numberCast(byte.class, _units),BA.numberCast(int.class, 0)); + BA.debugLineNum = 164;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 165;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printimage(RemoteObject __ref,RemoteObject _img) throws Exception{ +try { + Debug.PushSubsStack("PrintImage (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,837); +if (RapidSub.canDelegate("printimage")) { return __ref.runUserSub(false, "escposprinter","printimage", __ref, _img);} +RemoteObject _xh = RemoteObject.createImmutable(0); +RemoteObject _xl = RemoteObject.createImmutable(0); +RemoteObject _yh = RemoteObject.createImmutable(0); +RemoteObject _yl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("img", _img); + BA.debugLineNum = 837;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; +Debug.ShouldStop(16); + BA.debugLineNum = 840;BA.debugLine="If img.width > 72 Then Return -1"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_img.getField(true,"Width" /*RemoteObject*/ ),BA.numberCast(double.class, 72))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 841;BA.debugLine="If img.height > 512 Then Return -2"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_img.getField(true,"Height" /*RemoteObject*/ ),BA.numberCast(double.class, 512))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 2));}; + BA.debugLineNum = 842;BA.debugLine="If img.data.Length < img.width * img.height Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("<",_img.getField(false,"Data" /*RemoteObject*/ ).getField(true,"length"),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),_img.getField(true,"Height" /*RemoteObject*/ )}, "*",0, 1)))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + BA.debugLineNum = 843;BA.debugLine="Dim xh As Int = img.width / 256"; +Debug.ShouldStop(1024); +_xh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("xh", _xh);Debug.locals.put("xh", _xh); + BA.debugLineNum = 844;BA.debugLine="Dim xl As Int = img.width - xh * 256"; +Debug.ShouldStop(2048); +_xl = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),_xh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("xl", _xl);Debug.locals.put("xl", _xl); + BA.debugLineNum = 845;BA.debugLine="Dim yh As Int = img.height / 256"; +Debug.ShouldStop(4096); +_yh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("yh", _yh);Debug.locals.put("yh", _yh); + BA.debugLineNum = 846;BA.debugLine="Dim yl As Int = img.height - yh * 256"; +Debug.ShouldStop(8192); +_yl = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Height" /*RemoteObject*/ ),_yh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("yl", _yl);Debug.locals.put("yl", _yl); + BA.debugLineNum = 847;BA.debugLine="Dim params(5) As Byte"; +Debug.ShouldStop(16384); +_params = RemoteObject.createNewArray ("byte", new int[] {5}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 848;BA.debugLine="params(0) = 0 '"; +Debug.ShouldStop(32768); +_params.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, 0)); + BA.debugLineNum = 849;BA.debugLine="params(1) = xl"; +Debug.ShouldStop(65536); +_params.setArrayElement (BA.numberCast(byte.class, _xl),BA.numberCast(int.class, 1)); + BA.debugLineNum = 850;BA.debugLine="params(2) = xh"; +Debug.ShouldStop(131072); +_params.setArrayElement (BA.numberCast(byte.class, _xh),BA.numberCast(int.class, 2)); + BA.debugLineNum = 851;BA.debugLine="params(3) = yl"; +Debug.ShouldStop(262144); +_params.setArrayElement (BA.numberCast(byte.class, _yl),BA.numberCast(int.class, 3)); + BA.debugLineNum = 852;BA.debugLine="params(4) = yh"; +Debug.ShouldStop(524288); +_params.setArrayElement (BA.numberCast(byte.class, _yh),BA.numberCast(int.class, 4)); + BA.debugLineNum = 853;BA.debugLine="WriteString(GS & \"v0\")"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("v0")))); + BA.debugLineNum = 854;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 855;BA.debugLine="WriteBytes(img.data)"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_img.getField(false,"Data" /*RemoteObject*/ ))); + BA.debugLineNum = 856;BA.debugLine="WriteString(CRLF)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(escposprinter.__c.getField(true,"CRLF"))); + BA.debugLineNum = 857;BA.debugLine="Return 0"; +Debug.ShouldStop(16777216); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 858;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printimage2(RemoteObject __ref,RemoteObject _width,RemoteObject _data,RemoteObject _highdensity,RemoteObject _dotds24) throws Exception{ +try { + Debug.PushSubsStack("PrintImage2 (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,927); +if (RapidSub.canDelegate("printimage2")) { return __ref.runUserSub(false, "escposprinter","printimage2", __ref, _width, _data, _highdensity, _dotds24);} +RemoteObject _d = RemoteObject.createImmutable(""); +RemoteObject _xh = RemoteObject.createImmutable(0); +RemoteObject _xl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("width", _width); +Debug.locals.put("data", _data); +Debug.locals.put("highdensity", _highdensity); +Debug.locals.put("dotds24", _dotds24); + BA.debugLineNum = 927;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 928;BA.debugLine="Dim d As String = Chr(0)"; +Debug.ShouldStop(-2147483648); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 929;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_highdensity))) && RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_dotds24)))) { + BA.debugLineNum = 930;BA.debugLine="d = Chr(0)"; +Debug.ShouldStop(2); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("d", _d); + BA.debugLineNum = 931;BA.debugLine="If width > 288 Then Return -1"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 288))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 932;BA.debugLine="If data.Length <> width Then Return -3"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",_data.getField(true,"length"),BA.numberCast(double.class, _width))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + }else +{ BA.debugLineNum = 933;BA.debugLine="Else If highdensity And Not(dotds24) Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(".",_highdensity) && RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_dotds24)))) { + BA.debugLineNum = 934;BA.debugLine="d = Chr(1)"; +Debug.ShouldStop(32); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 1))));Debug.locals.put("d", _d); + BA.debugLineNum = 935;BA.debugLine="If width > 576 Then Return -1"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 576))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 936;BA.debugLine="If data.Length <> width Then Return -3"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",_data.getField(true,"length"),BA.numberCast(double.class, _width))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + }else +{ BA.debugLineNum = 937;BA.debugLine="Else If Not(highdensity) And dotds24 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_highdensity))) && RemoteObject.solveBoolean(".",_dotds24)) { + BA.debugLineNum = 938;BA.debugLine="d = Chr(32)"; +Debug.ShouldStop(512); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 32))));Debug.locals.put("d", _d); + BA.debugLineNum = 939;BA.debugLine="If width > 288 Then Return -1"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 288))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 940;BA.debugLine="If data.Length <> width*3 Then Return -3"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",_data.getField(true,"length"),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(3)}, "*",0, 1)))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + }else { + BA.debugLineNum = 942;BA.debugLine="d = Chr(33)"; +Debug.ShouldStop(8192); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 33))));Debug.locals.put("d", _d); + BA.debugLineNum = 943;BA.debugLine="If width > 576 Then Return -1"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 576))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 944;BA.debugLine="If data.Length <> width*3 Then Return -3"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("!",_data.getField(true,"length"),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(3)}, "*",0, 1)))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + }}} +; + BA.debugLineNum = 946;BA.debugLine="Dim xh As Int = width / 256"; +Debug.ShouldStop(131072); +_xh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("xh", _xh);Debug.locals.put("xh", _xh); + BA.debugLineNum = 947;BA.debugLine="Dim xl As Int = width - xh * 256"; +Debug.ShouldStop(262144); +_xl = RemoteObject.solve(new RemoteObject[] {_width,_xh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("xl", _xl);Debug.locals.put("xl", _xl); + BA.debugLineNum = 948;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(524288); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 949;BA.debugLine="params(0) = xl"; +Debug.ShouldStop(1048576); +_params.setArrayElement (BA.numberCast(byte.class, _xl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 950;BA.debugLine="params(1) = xh"; +Debug.ShouldStop(2097152); +_params.setArrayElement (BA.numberCast(byte.class, _xh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 951;BA.debugLine="WriteString(ESC & \"*\" & d)"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("*"),_d))); + BA.debugLineNum = 952;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 953;BA.debugLine="WriteBytes(data)"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_data)); + BA.debugLineNum = 954;BA.debugLine="WriteString(CRLF)"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(escposprinter.__c.getField(true,"CRLF"))); + BA.debugLineNum = 955;BA.debugLine="Return 0"; +Debug.ShouldStop(67108864); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 956;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _reset(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Reset (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,149); +if (RapidSub.canDelegate("reset")) { return __ref.runUserSub(false, "escposprinter","reset", __ref);} + BA.debugLineNum = 149;BA.debugLine="Public Sub Reset"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 150;BA.debugLine="WriteString(ESC & \"@\")"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("@")))); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _serial1_connected(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Serial1_Connected (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1115); +if (RapidSub.canDelegate("serial1_connected")) { return __ref.runUserSub(false, "escposprinter","serial1_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 1115;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1116;BA.debugLine="If Success Then"; +Debug.ShouldStop(134217728); +if (_success.get().booleanValue()) { + BA.debugLineNum = 1117;BA.debugLine="Astream.Initialize(Serial1.InputStream, Serial1."; +Debug.ShouldStop(268435456); +__ref.getField(false,"_astream" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(false,"getInputStream")),(Object)(__ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(false,"getOutputStream")),(Object)(RemoteObject.createImmutable("astream"))); + BA.debugLineNum = 1118;BA.debugLine="Connected = True"; +Debug.ShouldStop(536870912); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"True")); + BA.debugLineNum = 1119;BA.debugLine="ConnectedError = \"\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_connectederror" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 1120;BA.debugLine="Serial1.Listen"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Listen",__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 1122;BA.debugLine="Connected = False"; +Debug.ShouldStop(2); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 1123;BA.debugLine="ConnectedError = LastException.Message"; +Debug.ShouldStop(4); +__ref.setField ("_connectederror" /*RemoteObject*/ ,escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA")).runMethod(true,"getMessage")); + }; + BA.debugLineNum = 1125;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; +Debug.ShouldStop(16); +if (escposprinter.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Connected")))).get().booleanValue()) { + BA.debugLineNum = 1126;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; +Debug.ShouldStop(32); +escposprinter.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Connected"))),(Object)((_success))); + }; + BA.debugLineNum = 1128;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbarcodeheight(RemoteObject __ref,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("setBarCodeHeight (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1019); +if (RapidSub.canDelegate("setbarcodeheight")) { return __ref.runUserSub(false, "escposprinter","setbarcodeheight", __ref, _height);} +RemoteObject _params = null; +Debug.locals.put("height", _height); + BA.debugLineNum = 1019;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1020;BA.debugLine="WriteString(GS & \"h\")"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("h")))); + BA.debugLineNum = 1021;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(268435456); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1022;BA.debugLine="params(0) = height"; +Debug.ShouldStop(536870912); +_params.setArrayElement (BA.numberCast(byte.class, _height),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1023;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1024;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbarcodeleft(RemoteObject __ref,RemoteObject _left) throws Exception{ +try { + Debug.PushSubsStack("setBarCodeLeft (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1028); +if (RapidSub.canDelegate("setbarcodeleft")) { return __ref.runUserSub(false, "escposprinter","setbarcodeleft", __ref, _left);} +RemoteObject _params = null; +Debug.locals.put("left", _left); + BA.debugLineNum = 1028;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; +Debug.ShouldStop(8); + BA.debugLineNum = 1029;BA.debugLine="WriteString(GS & \"x\")"; +Debug.ShouldStop(16); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("x")))); + BA.debugLineNum = 1030;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(32); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1031;BA.debugLine="params(0) = left"; +Debug.ShouldStop(64); +_params.setArrayElement (BA.numberCast(byte.class, _left),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1032;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(128); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1033;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbarcodewidth(RemoteObject __ref,RemoteObject _width) throws Exception{ +try { + Debug.PushSubsStack("setBarCodeWidth (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1038); +if (RapidSub.canDelegate("setbarcodewidth")) { return __ref.runUserSub(false, "escposprinter","setbarcodewidth", __ref, _width);} +RemoteObject _params = null; +Debug.locals.put("width", _width); + BA.debugLineNum = 1038;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1039;BA.debugLine="WriteString(GS & \"w\")"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("w")))); + BA.debugLineNum = 1040;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(32768); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1041;BA.debugLine="params(0) = width"; +Debug.ShouldStop(65536); +_params.setArrayElement (BA.numberCast(byte.class, _width),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1042;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1043;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcharacterfont(RemoteObject __ref,RemoteObject _font) throws Exception{ +try { + Debug.PushSubsStack("setCharacterFont (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,247); +if (RapidSub.canDelegate("setcharacterfont")) { return __ref.runUserSub(false, "escposprinter","setcharacterfont", __ref, _font);} +Debug.locals.put("font", _font); + BA.debugLineNum = 247;BA.debugLine="Public Sub setCharacterFont(font As Int)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 248;BA.debugLine="WriteString(ESC & \"M\" & Chr(Bit.And(1,font)))"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("M"),escposprinter.__c.runMethod(true,"Chr",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, 1)),(Object)(_font))))))); + BA.debugLineNum = 249;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcharacterspacing(RemoteObject __ref,RemoteObject _spacing) throws Exception{ +try { + Debug.PushSubsStack("setCharacterSpacing (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,168); +if (RapidSub.canDelegate("setcharacterspacing")) { return __ref.runUserSub(false, "escposprinter","setcharacterspacing", __ref, _spacing);} +RemoteObject _params = null; +Debug.locals.put("spacing", _spacing); + BA.debugLineNum = 168;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; +Debug.ShouldStop(128); + BA.debugLineNum = 169;BA.debugLine="WriteString(ESC & \" \")"; +Debug.ShouldStop(256); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable(" ")))); + BA.debugLineNum = 170;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(512); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 171;BA.debugLine="params(0) = spacing"; +Debug.ShouldStop(1024); +_params.setArrayElement (BA.numberCast(byte.class, _spacing),BA.numberCast(int.class, 0)); + BA.debugLineNum = 172;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(2048); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcodepage(RemoteObject __ref,RemoteObject _codepage) throws Exception{ +try { + Debug.PushSubsStack("setCodePage (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,236); +if (RapidSub.canDelegate("setcodepage")) { return __ref.runUserSub(false, "escposprinter","setcodepage", __ref, _codepage);} +RemoteObject _params = null; +Debug.locals.put("codepage", _codepage); + BA.debugLineNum = 236;BA.debugLine="Public Sub setCodePage(codepage As Int)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 237;BA.debugLine="WriteString(ESC & \"t\")"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("t")))); + BA.debugLineNum = 238;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(8192); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 239;BA.debugLine="params(0) = codepage"; +Debug.ShouldStop(16384); +_params.setArrayElement (BA.numberCast(byte.class, _codepage),BA.numberCast(int.class, 0)); + BA.debugLineNum = 240;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 241;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sethrifont(RemoteObject __ref,RemoteObject _font) throws Exception{ +try { + Debug.PushSubsStack("setHriFont (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1060); +if (RapidSub.canDelegate("sethrifont")) { return __ref.runUserSub(false, "escposprinter","sethrifont", __ref, _font);} +Debug.locals.put("font", _font); + BA.debugLineNum = 1060;BA.debugLine="Public Sub setHriFont(font As Int)"; +Debug.ShouldStop(8); + BA.debugLineNum = 1061;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; +Debug.ShouldStop(16); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("f"),escposprinter.__c.runMethod(true,"Chr",(Object)(_font))))); + BA.debugLineNum = 1062;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sethriposn(RemoteObject __ref,RemoteObject _posn) throws Exception{ +try { + Debug.PushSubsStack("setHriPosn (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1049); +if (RapidSub.canDelegate("sethriposn")) { return __ref.runUserSub(false, "escposprinter","sethriposn", __ref, _posn);} +RemoteObject _params = null; +Debug.locals.put("posn", _posn); + BA.debugLineNum = 1049;BA.debugLine="Public Sub setHriPosn(posn As Int)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 1050;BA.debugLine="WriteString(GS & \"H\")"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("H")))); + BA.debugLineNum = 1051;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(67108864); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1052;BA.debugLine="params(0) = posn"; +Debug.ShouldStop(134217728); +_params.setArrayElement (BA.numberCast(byte.class, _posn),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1053;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1054;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setjustify(RemoteObject __ref,RemoteObject _justify) throws Exception{ +try { + Debug.PushSubsStack("setJustify (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,230); +if (RapidSub.canDelegate("setjustify")) { return __ref.runUserSub(false, "escposprinter","setjustify", __ref, _justify);} +Debug.locals.put("justify", _justify); + BA.debugLineNum = 230;BA.debugLine="Public Sub setJustify(justify As Int)"; +Debug.ShouldStop(32); + BA.debugLineNum = 231;BA.debugLine="WriteString(ESC & \"a\" & Chr(justify + 48))"; +Debug.ShouldStop(64); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("a"),escposprinter.__c.runMethod(true,"Chr",(Object)(RemoteObject.solve(new RemoteObject[] {_justify,RemoteObject.createImmutable(48)}, "+",1, 1)))))); + BA.debugLineNum = 232;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setleftinset(RemoteObject __ref,RemoteObject _inset) throws Exception{ +try { + Debug.PushSubsStack("setLeftInset (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,178); +if (RapidSub.canDelegate("setleftinset")) { return __ref.runUserSub(false, "escposprinter","setleftinset", __ref, _inset);} +RemoteObject _dh = RemoteObject.createImmutable(0); +RemoteObject _dl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("inset", _inset); + BA.debugLineNum = 178;BA.debugLine="Public Sub setLeftInset(inset As Int)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 179;BA.debugLine="Dim dh As Int = inset / 256"; +Debug.ShouldStop(262144); +_dh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_inset,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dh", _dh);Debug.locals.put("dh", _dh); + BA.debugLineNum = 180;BA.debugLine="Dim dl As Int = inset - dh"; +Debug.ShouldStop(524288); +_dl = RemoteObject.solve(new RemoteObject[] {_inset,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 181;BA.debugLine="WriteString(ESC & \"$\" & Chr(dl) & Chr(dh))"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("$"),escposprinter.__c.runMethod(true,"Chr",(Object)(_dl)),escposprinter.__c.runMethod(true,"Chr",(Object)(_dh))))); + BA.debugLineNum = 182;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(2097152); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 183;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(4194304); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 184;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(8388608); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 185;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 186;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setleftmargin(RemoteObject __ref,RemoteObject _margin) throws Exception{ +try { + Debug.PushSubsStack("setLeftMargin (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,191); +if (RapidSub.canDelegate("setleftmargin")) { return __ref.runUserSub(false, "escposprinter","setleftmargin", __ref, _margin);} +RemoteObject _dh = RemoteObject.createImmutable(0); +RemoteObject _dl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("margin", _margin); + BA.debugLineNum = 191;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 192;BA.debugLine="Dim dh As Int = margin / 256"; +Debug.ShouldStop(-2147483648); +_dh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_margin,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dh", _dh);Debug.locals.put("dh", _dh); + BA.debugLineNum = 193;BA.debugLine="Dim dl As Int = margin - dh"; +Debug.ShouldStop(1); +_dl = RemoteObject.solve(new RemoteObject[] {_margin,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 194;BA.debugLine="WriteString(GS & \"L\")"; +Debug.ShouldStop(2); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("L")))); + BA.debugLineNum = 195;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(4); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 196;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(8); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 197;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(16); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 198;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(32); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 199;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setlinespacing(RemoteObject __ref,RemoteObject _spacing) throws Exception{ +try { + Debug.PushSubsStack("setLineSpacing (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,217); +if (RapidSub.canDelegate("setlinespacing")) { return __ref.runUserSub(false, "escposprinter","setlinespacing", __ref, _spacing);} +RemoteObject _params = null; +Debug.locals.put("spacing", _spacing); + BA.debugLineNum = 217;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 218;BA.debugLine="If spacing < 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("<",_spacing,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 219;BA.debugLine="WriteString(ESC & \"2\")"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("2")))); + }else { + BA.debugLineNum = 221;BA.debugLine="WriteString(ESC & \"3\")"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("3")))); + BA.debugLineNum = 222;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(536870912); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 223;BA.debugLine="params(0) = spacing"; +Debug.ShouldStop(1073741824); +_params.setArrayElement (BA.numberCast(byte.class, _spacing),BA.numberCast(int.class, 0)); + BA.debugLineNum = 224;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + }; + BA.debugLineNum = 226;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setprintwidth(RemoteObject __ref,RemoteObject _width) throws Exception{ +try { + Debug.PushSubsStack("setPrintWidth (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,205); +if (RapidSub.canDelegate("setprintwidth")) { return __ref.runUserSub(false, "escposprinter","setprintwidth", __ref, _width);} +RemoteObject _dh = RemoteObject.createImmutable(0); +RemoteObject _dl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("width", _width); + BA.debugLineNum = 205;BA.debugLine="Public Sub setPrintWidth(width As Int)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 206;BA.debugLine="Dim dh As Int = width / 256"; +Debug.ShouldStop(8192); +_dh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dh", _dh);Debug.locals.put("dh", _dh); + BA.debugLineNum = 207;BA.debugLine="Dim dl As Int = width - dh"; +Debug.ShouldStop(16384); +_dl = RemoteObject.solve(new RemoteObject[] {_width,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 208;BA.debugLine="WriteString(GS & \"W\")"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("W")))); + BA.debugLineNum = 209;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(65536); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 210;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(131072); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 211;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(262144); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 212;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(524288); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 213;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setrelativeprintposn(RemoteObject __ref,RemoteObject _relposn) throws Exception{ +try { + Debug.PushSubsStack("setRelativePrintPosn (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,269); +if (RapidSub.canDelegate("setrelativeprintposn")) { return __ref.runUserSub(false, "escposprinter","setrelativeprintposn", __ref, _relposn);} +RemoteObject _dh = RemoteObject.createImmutable(0); +RemoteObject _dl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("relposn", _relposn); + BA.debugLineNum = 269;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 270;BA.debugLine="Dim dh As Int = relposn / 256"; +Debug.ShouldStop(8192); +_dh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_relposn,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dh", _dh);Debug.locals.put("dh", _dh); + BA.debugLineNum = 271;BA.debugLine="Dim dl As Int = relposn - dh"; +Debug.ShouldStop(16384); +_dl = RemoteObject.solve(new RemoteObject[] {_relposn,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 272;BA.debugLine="WriteString(ESC & \"\\\")"; +Debug.ShouldStop(32768); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("\\")))); + BA.debugLineNum = 273;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(65536); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 274;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(131072); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 275;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(262144); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 276;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(524288); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 277;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settabpositions(RemoteObject __ref,RemoteObject _tabs) throws Exception{ +try { + Debug.PushSubsStack("setTabPositions (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,255); +if (RapidSub.canDelegate("settabpositions")) { return __ref.runUserSub(false, "escposprinter","settabpositions", __ref, _tabs);} +RemoteObject _data = null; +int _i = 0; +Debug.locals.put("tabs", _tabs); + BA.debugLineNum = 255;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 256;BA.debugLine="WriteString(ESC & \"D\")"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("D")))); + BA.debugLineNum = 257;BA.debugLine="Dim data(tabs.Length+1) As Byte"; +Debug.ShouldStop(1); +_data = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_tabs.getField(true,"length"),RemoteObject.createImmutable(1)}, "+",1, 1).get().intValue()}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 258;BA.debugLine="For i = 0 To tabs.Length - 1"; +Debug.ShouldStop(2); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_tabs.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 259;BA.debugLine="data(i) = tabs(i)"; +Debug.ShouldStop(4); +_data.setArrayElement (BA.numberCast(byte.class, _tabs.getArrayElement(true,BA.numberCast(int.class, _i))),BA.numberCast(int.class, _i)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 261;BA.debugLine="data(tabs.Length) = 0"; +Debug.ShouldStop(16); +_data.setArrayElement (BA.numberCast(byte.class, 0),_tabs.getField(true,"length")); + BA.debugLineNum = 262;BA.debugLine="WriteBytes(data)"; +Debug.ShouldStop(32); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_data)); + BA.debugLineNum = 263;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setusecustomcharacters(RemoteObject __ref,RemoteObject _custom) throws Exception{ +try { + Debug.PushSubsStack("setUseCustomCharacters (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,329); +if (RapidSub.canDelegate("setusecustomcharacters")) { return __ref.runUserSub(false, "escposprinter","setusecustomcharacters", __ref, _custom);} +Debug.locals.put("custom", _custom); + BA.debugLineNum = 329;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; +Debug.ShouldStop(256); + BA.debugLineNum = 330;BA.debugLine="If custom Then"; +Debug.ShouldStop(512); +if (_custom.get().booleanValue()) { + BA.debugLineNum = 331;BA.debugLine="WriteString(ESC & \"%1\")"; +Debug.ShouldStop(1024); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("%1")))); + }else { + BA.debugLineNum = 333;BA.debugLine="WriteString(ESC & \"%0\")"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("%0")))); + }; + BA.debugLineNum = 335;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _thresholdimage(RemoteObject __ref,RemoteObject _img,RemoteObject _threshold) throws Exception{ +try { + Debug.PushSubsStack("ThresholdImage (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,740); +if (RapidSub.canDelegate("thresholdimage")) { return __ref.runUserSub(false, "escposprinter","thresholdimage", __ref, _img, _threshold);} +RemoteObject _pixels = null; +int _i = 0; +RemoteObject _lum = RemoteObject.createImmutable(0); +RemoteObject _ret = RemoteObject.declareNull("gunav2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 740;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; +Debug.ShouldStop(8); + BA.debugLineNum = 741;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(16); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_img.getField(false,"Data" /*RemoteObject*/ ).getField(true,"length").get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 742;BA.debugLine="For i = 0 To pixels.Length - 1"; +Debug.ShouldStop(32); +{ +final int step2 = 1; +final int limit2 = RemoteObject.solve(new RemoteObject[] {_pixels.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2) ;_i = ((int)(0 + _i + step2)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 743;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; +Debug.ShouldStop(64); +_lum = escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, _i)))),(Object)(BA.numberCast(int.class, ((int)0xff))));Debug.locals.put("lum", _lum);Debug.locals.put("lum", _lum); + BA.debugLineNum = 744;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 745;BA.debugLine="lum = 1"; +Debug.ShouldStop(256); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 747;BA.debugLine="lum = 0"; +Debug.ShouldStop(1024); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 749;BA.debugLine="pixels(i) = lum"; +Debug.ShouldStop(4096); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),BA.numberCast(int.class, _i)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 751;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(16384); +_ret = RemoteObject.createNew ("gunav2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 752;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(32768); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 753;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(65536); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 754;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(131072); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 755;BA.debugLine="Return ret"; +Debug.ShouldStop(262144); +if (true) return _ret; + BA.debugLineNum = 756;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writebarcode(RemoteObject __ref,RemoteObject _bartype,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("WriteBarCode (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1076); +if (RapidSub.canDelegate("writebarcode")) { return __ref.runUserSub(false, "escposprinter","writebarcode", __ref, _bartype, _data);} +RemoteObject _databytes = null; +RemoteObject _dlow = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("bartype", _bartype); +Debug.locals.put("data", _data); + BA.debugLineNum = 1076;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1077;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; +Debug.ShouldStop(1048576); +_databytes = _data.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("ASCII")));Debug.locals.put("databytes", _databytes);Debug.locals.put("databytes", _databytes); + BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length"; +Debug.ShouldStop(2097152); +_dlow = _databytes.getField(true,"length");Debug.locals.put("dlow", _dlow);Debug.locals.put("dlow", _dlow); + BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; +Debug.ShouldStop(4194304); +escposprinter.__c.runVoidMethod ("LogImpl","091553795",RemoteObject.concat(RemoteObject.createImmutable("Barcode "),_bartype,RemoteObject.createImmutable(", Size "),_dlow,RemoteObject.createImmutable(", "),_data),0); + BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("k"),_bartype.runMethod(true,"toUpperCase").runMethod(true,"charAt",(Object)(BA.numberCast(int.class, 0)))))); + BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(16777216); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1082;BA.debugLine="params(0) = dlow"; +Debug.ShouldStop(33554432); +_params.setArrayElement (BA.numberCast(byte.class, _dlow),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1083;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1084;BA.debugLine="WriteBytes(databytes)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_databytes)); + BA.debugLineNum = 1085;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writebytes(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("WriteBytes (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,281); +if (RapidSub.canDelegate("writebytes")) { return __ref.runUserSub(false, "escposprinter","writebytes", __ref, _data);} +Debug.locals.put("data", _data); + BA.debugLineNum = 281;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 282;BA.debugLine="If Connected Then"; +Debug.ShouldStop(33554432); +if (__ref.getField(true,"_connected" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 283;BA.debugLine="Astream.Write(data)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_astream" /*RemoteObject*/ ).runVoidMethod ("Write",(Object)(_data)); + }; + BA.debugLineNum = 285;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writeqrcode(RemoteObject __ref,RemoteObject _size,RemoteObject _ec,RemoteObject _scale,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("WriteQRCode (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,1092); +if (RapidSub.canDelegate("writeqrcode")) { return __ref.runUserSub(false, "escposprinter","writeqrcode", __ref, _size, _ec, _scale, _data);} +RemoteObject _databytes = null; +RemoteObject _dhigh = RemoteObject.createImmutable(0); +RemoteObject _dlow = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("size", _size); +Debug.locals.put("EC", _ec); +Debug.locals.put("scale", _scale); +Debug.locals.put("data", _data); + BA.debugLineNum = 1092;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; +Debug.ShouldStop(8); + BA.debugLineNum = 1093;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; +Debug.ShouldStop(16); +_databytes = _data.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("ISO-8859-1")));Debug.locals.put("databytes", _databytes);Debug.locals.put("databytes", _databytes); + BA.debugLineNum = 1094;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; +Debug.ShouldStop(32); +_dhigh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_databytes.getField(true,"length"),RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dhigh", _dhigh);Debug.locals.put("dhigh", _dhigh); + BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; +Debug.ShouldStop(64); +_dlow = RemoteObject.solve(new RemoteObject[] {_databytes.getField(true,"length"),_dhigh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("dlow", _dlow);Debug.locals.put("dlow", _dlow); + BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; +Debug.ShouldStop(128); +escposprinter.__c.runVoidMethod ("LogImpl","091619332",RemoteObject.concat(RemoteObject.createImmutable("QR Code : Size "),_size,RemoteObject.createImmutable(", EC "),_ec,RemoteObject.createImmutable(", Scale "),_scale,RemoteObject.createImmutable(", Size "),_dlow,RemoteObject.createImmutable(" "),_dhigh,RemoteObject.createImmutable(" : Data = "),_data),0); + BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte"; +Debug.ShouldStop(256); +_params = RemoteObject.createNewArray ("byte", new int[] {3}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1098;BA.debugLine="params(0) = scale"; +Debug.ShouldStop(512); +_params.setArrayElement (BA.numberCast(byte.class, _scale),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1099;BA.debugLine="params(1) = dlow"; +Debug.ShouldStop(1024); +_params.setArrayElement (BA.numberCast(byte.class, _dlow),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1100;BA.debugLine="params(2) = dhigh"; +Debug.ShouldStop(2048); +_params.setArrayElement (BA.numberCast(byte.class, _dhigh),BA.numberCast(int.class, 2)); + BA.debugLineNum = 1101;BA.debugLine="WriteString(ESC & \"Z\" & Chr(size) & EC.ToUpperCas"; +Debug.ShouldStop(4096); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("Z"),escposprinter.__c.runMethod(true,"Chr",(Object)(_size)),_ec.runMethod(true,"toUpperCase").runMethod(true,"charAt",(Object)(BA.numberCast(int.class, 0)))))); + BA.debugLineNum = 1102;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8192); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1103;BA.debugLine="WriteBytes(databytes)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_databytes)); + BA.debugLineNum = 1104;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writestring(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("WriteString (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,291); +if (RapidSub.canDelegate("writestring")) { return __ref.runUserSub(false, "escposprinter","writestring", __ref, _data);} +Debug.locals.put("data", _data); + BA.debugLineNum = 291;BA.debugLine="Public Sub WriteString(data As String)"; +Debug.ShouldStop(4); + BA.debugLineNum = 292;BA.debugLine="WriteString2(data, \"IBM437\")"; +Debug.ShouldStop(8); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_writestring2" /*RemoteObject*/ ,(Object)(_data),(Object)(RemoteObject.createImmutable("IBM437"))); + BA.debugLineNum = 293;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writestring2(RemoteObject __ref,RemoteObject _data,RemoteObject _encoding) throws Exception{ +try { + Debug.PushSubsStack("WriteString2 (escposprinter) ","escposprinter",29,__ref.getField(false, "ba"),__ref,299); +if (RapidSub.canDelegate("writestring2")) { return __ref.runUserSub(false, "escposprinter","writestring2", __ref, _data, _encoding);} +Debug.locals.put("data", _data); +Debug.locals.put("encoding", _encoding); + BA.debugLineNum = 299;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; +Debug.ShouldStop(1024); + BA.debugLineNum = 300;BA.debugLine="Try"; +Debug.ShouldStop(2048); +try { BA.debugLineNum = 301;BA.debugLine="If Connected Then"; +Debug.ShouldStop(4096); +if (__ref.getField(true,"_connected" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 302;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; +Debug.ShouldStop(8192); +__ref.getField(false,"_astream" /*RemoteObject*/ ).runVoidMethod ("Write",(Object)(_data.runMethod(false,"getBytes",(Object)(_encoding)))); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e6) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e6.toString()); BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; +Debug.ShouldStop(65536); +escposprinter.__c.runVoidMethod ("LogImpl","089653254",RemoteObject.concat(RemoteObject.createImmutable("Printer error : "),escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA")).runMethod(true,"getMessage")),0); + BA.debugLineNum = 306;BA.debugLine="AStream_Error"; +Debug.ShouldStop(131072); +__ref.runClassMethod (gunav2.keymon.com.mx.escposprinter.class, "_astream_error" /*RemoteObject*/ ); + }; + BA.debugLineNum = 308;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/fileprovider.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/fileprovider.java new file mode 100644 index 0000000..dd0c96d --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/fileprovider.java @@ -0,0 +1,33 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class fileprovider { + public static RemoteObject myClass; + public fileprovider() { + } + public static PCBA staticBA = new PCBA(null, fileprovider.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _sharedfolder = RemoteObject.createImmutable(""); +public static RemoteObject _usefileprovider = RemoteObject.createImmutable(false); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"rp",_ref.getField(false, "_rp"),"SharedFolder",_ref.getField(false, "_sharedfolder"),"UseFileProvider",_ref.getField(false, "_usefileprovider")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/fileprovider_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/fileprovider_subs_0.java new file mode 100644 index 0000000..e1b695d --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/fileprovider_subs_0.java @@ -0,0 +1,147 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class fileprovider_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Public SharedFolder As String"; +fileprovider._sharedfolder = RemoteObject.createImmutable("");__ref.setField("_sharedfolder",fileprovider._sharedfolder); + //BA.debugLineNum = 4;BA.debugLine="Public UseFileProvider As Boolean"; +fileprovider._usefileprovider = RemoteObject.createImmutable(false);__ref.setField("_usefileprovider",fileprovider._usefileprovider); + //BA.debugLineNum = 5;BA.debugLine="Private rp As RuntimePermissions"; +fileprovider._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",fileprovider._rp); + //BA.debugLineNum = 6;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _getfileuri(RemoteObject __ref,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("GetFileUri (fileprovider) ","fileprovider",44,__ref.getField(false, "ba"),__ref,22); +if (RapidSub.canDelegate("getfileuri")) { return __ref.runUserSub(false, "fileprovider","getfileuri", __ref, _filename);} +RemoteObject _uri = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _fp = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 22;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 24;BA.debugLine="If UseFileProvider = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_usefileprovider" /*RemoteObject*/ ),fileprovider.__c.getField(true,"False"))) { + BA.debugLineNum = 25;BA.debugLine="Dim uri As JavaObject"; +Debug.JustUpdateDeviceLine(); +_uri = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("uri", _uri); + BA.debugLineNum = 26;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; +Debug.JustUpdateDeviceLine(); +if (true) return _uri.runMethod(false,"InitializeStatic",(Object)(RemoteObject.createImmutable("android.net.Uri"))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("parse")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.concat(RemoteObject.createImmutable("file://"),fileprovider.__c.getField(false,"File").runMethod(true,"Combine",(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_filename))))}))); + }else { + BA.debugLineNum = 28;BA.debugLine="Dim f As JavaObject"; +Debug.JustUpdateDeviceLine(); +_f = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("f", _f); + BA.debugLineNum = 29;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.JustUpdateDeviceLine(); +_f.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(_filename)}))); + BA.debugLineNum = 30;BA.debugLine="Dim fp As JavaObject"; +Debug.JustUpdateDeviceLine(); +_fp = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("fp", _fp); + BA.debugLineNum = 31;BA.debugLine="Dim context As JavaObject"; +Debug.JustUpdateDeviceLine(); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 32;BA.debugLine="context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_context.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 33;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +Debug.JustUpdateDeviceLine(); +_fp.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("androidx.core.content.FileProvider"))); + BA.debugLineNum = 34;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +Debug.JustUpdateDeviceLine(); +if (true) return _fp.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getUriForFile")),(Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_context.getObject()),(RemoteObject.concat(fileprovider.__c.getField(false,"Application").runMethod(true,"getPackageName"),RemoteObject.createImmutable(".provider"))),(_f.getObject())}))); + }; + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (fileprovider) ","fileprovider",44,__ref.getField(false, "ba"),__ref,8); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "fileprovider","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("p", _p); + BA.debugLineNum = 10;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_p.runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 24)) || RemoteObject.solveBoolean("=",fileprovider.__c.getField(false,"File").runMethod(true,"getExternalWritable"),fileprovider.__c.getField(true,"False"))) { + BA.debugLineNum = 11;BA.debugLine="UseFileProvider = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_usefileprovider" /*RemoteObject*/ ,fileprovider.__c.getField(true,"True")); + BA.debugLineNum = 12;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sharedfolder" /*RemoteObject*/ ,fileprovider.__c.getField(false,"File").runMethod(true,"Combine",(Object)(fileprovider.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("shared")))); + BA.debugLineNum = 13;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +Debug.JustUpdateDeviceLine(); +fileprovider.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(BA.ObjectToString("")),(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ ))); + }else { + BA.debugLineNum = 15;BA.debugLine="UseFileProvider = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_usefileprovider" /*RemoteObject*/ ,fileprovider.__c.getField(true,"False")); + BA.debugLineNum = 16;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sharedfolder" /*RemoteObject*/ ,__ref.getField(false,"_rp" /*RemoteObject*/ ).runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable("shared")))); + }; + BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +Debug.JustUpdateDeviceLine(); +fileprovider.__c.runVoidMethod ("LogImpl","917956874",(RemoteObject.concat(RemoteObject.createImmutable("Using FileProvider? "),fileprovider.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_usefileprovider" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 19;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setfileuriasintentdata(RemoteObject __ref,RemoteObject _intent,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("SetFileUriAsIntentData (fileprovider) ","fileprovider",44,__ref.getField(false, "ba"),__ref,40); +if (RapidSub.canDelegate("setfileuriasintentdata")) { return __ref.runUserSub(false, "fileprovider","setfileuriasintentdata", __ref, _intent, _filename);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("Intent", _intent); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 40;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 41;BA.debugLine="Dim jo As JavaObject = Intent"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _intent.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 42;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setData")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {__ref.runClassMethod (gunav2.keymon.com.mx.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename))}))); + BA.debugLineNum = 43;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +Debug.JustUpdateDeviceLine(); +_intent.runMethod(true,"setFlags",fileprovider.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_intent.runMethod(true,"getFlags")),(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 44;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/firebasemessaging.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/firebasemessaging.java new file mode 100644 index 0000000..f953fec --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/firebasemessaging.java @@ -0,0 +1,73 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class firebasemessaging implements IRemote{ + public static firebasemessaging mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public firebasemessaging() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("firebasemessaging"), "gunav2.keymon.com.mx.firebasemessaging"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.firebasemessaging"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, firebasemessaging.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _fm = RemoteObject.declareNull("anywheresoftware.b4a.objects.FirebaseNotificationsService.FirebaseMessageWrapper"); +public static RemoteObject _api_key = RemoteObject.createImmutable(""); +public static RemoteObject _locrequest = RemoteObject.createImmutable(""); +public static RemoteObject _pe = RemoteObject.declareNull("anywheresoftware.b4a.phone.PhoneEvents"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _gzip = RemoteObject.declareNull("de.donmanfred.GZipStringswrapper"); +public static RemoteObject _sprvsr = RemoteObject.createImmutable(""); +public static RemoteObject _subscrito = RemoteObject.createImmutable(""); +public static RemoteObject _au = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"API_KEY",firebasemessaging._api_key,"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"au",firebasemessaging._au,"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"c",firebasemessaging._c,"DateUtils",firebasemessaging.mostCurrent._dateutils,"fm",firebasemessaging._fm,"GZip",firebasemessaging._gzip,"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"locRequest",firebasemessaging._locrequest,"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"pe",firebasemessaging._pe,"Service",firebasemessaging.mostCurrent._service,"Sprvsr",firebasemessaging._sprvsr,"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"Subscrito",firebasemessaging._subscrito,"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/firebasemessaging_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/firebasemessaging_subs_0.java new file mode 100644 index 0000000..616348b --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/firebasemessaging_subs_0.java @@ -0,0 +1,694 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class firebasemessaging_subs_0 { + + +public static RemoteObject _borragpshist() throws Exception{ +try { + Debug.PushSubsStack("borraGPSHist (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,218); +if (RapidSub.canDelegate("borragpshist")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","borragpshist");} + BA.debugLineNum = 218;BA.debugLine="Sub borraGPSHist"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 219;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"delete FROM"; +Debug.ShouldStop(67108864); +firebasemessaging._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("delete FROM RUTA_GPS")))); + BA.debugLineNum = 220;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borramosarchivogps() throws Exception{ +try { + Debug.PushSubsStack("borramosArchivoGPS (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,167); +if (RapidSub.canDelegate("borramosarchivogps")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","borramosarchivogps");} +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _s = RemoteObject.createImmutable(""); +RemoteObject _t = null; + BA.debugLineNum = 167;BA.debugLine="Sub borramosArchivoGPS"; +Debug.ShouldStop(64); + BA.debugLineNum = 168;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(128); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = firebasemessaging.mostCurrent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(firebasemessaging.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirRootExternal")),(Object)(BA.ObjectToString("gps.txt")),(Object)(firebasemessaging.mostCurrent.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 169;BA.debugLine="Dim s As String = \"\""; +Debug.ShouldStop(256); +_s = BA.ObjectToString("");Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 170;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +Debug.ShouldStop(512); +_t = _s.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF-8")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 171;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +Debug.ShouldStop(1024); +_out.runVoidMethod ("WriteBytes",(Object)(_t),(Object)(BA.numberCast(int.class, 0)),(Object)(_t.getField(true,"length"))); + BA.debugLineNum = 172;BA.debugLine="out.Close"; +Debug.ShouldStop(2048); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _compress(RemoteObject _str) throws Exception{ +try { + Debug.PushSubsStack("compress (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,179); +if (RapidSub.canDelegate("compress")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","compress", _str);} +RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +RemoteObject _compressed = null; +RemoteObject _base64 = RemoteObject.createImmutable(""); +Debug.locals.put("str", _str); + BA.debugLineNum = 179;BA.debugLine="Sub compress(str As String) As String"; +Debug.ShouldStop(262144); + BA.debugLineNum = 181;BA.debugLine="Private su As StringUtils"; +Debug.ShouldStop(1048576); +_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su); + BA.debugLineNum = 182;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +Debug.ShouldStop(2097152); +_compressed = firebasemessaging._gzip.runMethod(false,"compress",(Object)(_str));Debug.locals.put("compressed", _compressed);Debug.locals.put("compressed", _compressed); + BA.debugLineNum = 183;BA.debugLine="Log($\"CompressedBytesLength: ${compressed.Length}"; +Debug.ShouldStop(4194304); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092667908",(RemoteObject.concat(RemoteObject.createImmutable("CompressedBytesLength: "),firebasemessaging.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_compressed.getField(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 184;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +Debug.ShouldStop(8388608); +_base64 = _su.runMethod(true,"EncodeBase64",(Object)(_compressed));Debug.locals.put("base64", _base64);Debug.locals.put("base64", _base64); + BA.debugLineNum = 185;BA.debugLine="Log($\"CompressedBytes converted to base64 Length:"; +Debug.ShouldStop(16777216); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092667910",(RemoteObject.concat(RemoteObject.createImmutable("CompressedBytes converted to base64 Length: "),firebasemessaging.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_base64.runMethod(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 186;BA.debugLine="Log($\"CompressedBytes converted to base64: ${base"; +Debug.ShouldStop(33554432); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092667911",(RemoteObject.concat(RemoteObject.createImmutable("CompressedBytes converted to base64: "),firebasemessaging.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_base64))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 187;BA.debugLine="Return base64"; +Debug.ShouldStop(67108864); +if (true) return _base64; + BA.debugLineNum = 188;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dameruta() throws Exception{ +try { + Debug.PushSubsStack("dameRuta (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,202); +if (RapidSub.canDelegate("dameruta")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","dameruta");} +RemoteObject _ruta2 = RemoteObject.createImmutable(""); +int _i = 0; + BA.debugLineNum = 202;BA.debugLine="Sub dameRuta As String"; +Debug.ShouldStop(512); + BA.debugLineNum = 203;BA.debugLine="Log(\"dameRuta\")"; +Debug.ShouldStop(1024); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092798977",RemoteObject.createImmutable("dameRuta"),0); + BA.debugLineNum = 204;BA.debugLine="Dim c As Cursor"; +Debug.ShouldStop(2048); +firebasemessaging._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 205;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select LAT,"; +Debug.ShouldStop(4096); +firebasemessaging._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select LAT, LON from RUTA_GPS order by FECHA desc limit 390")))); + BA.debugLineNum = 206;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8192); +firebasemessaging._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 207;BA.debugLine="Dim ruta2 As String = \"\""; +Debug.ShouldStop(16384); +_ruta2 = BA.ObjectToString("");Debug.locals.put("ruta2", _ruta2);Debug.locals.put("ruta2", _ruta2); + BA.debugLineNum = 208;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",firebasemessaging._c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 209;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(65536); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {firebasemessaging._c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step7 > 0 && _i <= limit7) || (step7 < 0 && _i >= limit7) ;_i = ((int)(0 + _i + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 210;BA.debugLine="c.Position=i"; +Debug.ShouldStop(131072); +firebasemessaging._c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 211;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; +Debug.ShouldStop(262144); +_ruta2 = RemoteObject.concat(_ruta2,firebasemessaging.mostCurrent.__c.getField(true,"CRLF"),firebasemessaging._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT"))),RemoteObject.createImmutable(","),firebasemessaging._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LON"))));Debug.locals.put("ruta2", _ruta2); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 214;BA.debugLine="c.Close"; +Debug.ShouldStop(2097152); +firebasemessaging._c.runVoidMethod ("Close"); + BA.debugLineNum = 215;BA.debugLine="Return compress(ruta2)"; +Debug.ShouldStop(4194304); +if (true) return _compress(_ruta2); + BA.debugLineNum = 216;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _decompress(RemoteObject _base64) throws Exception{ +try { + Debug.PushSubsStack("decompress (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,190); +if (RapidSub.canDelegate("decompress")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","decompress", _base64);} +RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +RemoteObject _decompressedbytes = null; +RemoteObject _bc = RemoteObject.declareNull("anywheresoftware.b4a.agraham.byteconverter.ByteConverter"); +RemoteObject _uncompressed = RemoteObject.createImmutable(""); +Debug.locals.put("base64", _base64); + BA.debugLineNum = 190;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 192;BA.debugLine="Private su As StringUtils"; +Debug.ShouldStop(-2147483648); +_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su); + BA.debugLineNum = 193;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +Debug.ShouldStop(1); +_decompressedbytes = _su.runMethod(false,"DecodeBase64",(Object)(_base64));Debug.locals.put("decompressedbytes", _decompressedbytes);Debug.locals.put("decompressedbytes", _decompressedbytes); + BA.debugLineNum = 194;BA.debugLine="Log($\"decompressedbytesLength: ${decompressedbyte"; +Debug.ShouldStop(2); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092733444",(RemoteObject.concat(RemoteObject.createImmutable("decompressedbytesLength: "),firebasemessaging.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_decompressedbytes.getField(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 195;BA.debugLine="Dim bc As ByteConverter"; +Debug.ShouldStop(4); +_bc = RemoteObject.createNew ("anywheresoftware.b4a.agraham.byteconverter.ByteConverter");Debug.locals.put("bc", _bc); + BA.debugLineNum = 196;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +Debug.ShouldStop(8); +_uncompressed = _bc.runMethod(true,"StringFromBytes",(Object)(_decompressedbytes),(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("uncompressed", _uncompressed);Debug.locals.put("uncompressed", _uncompressed); + BA.debugLineNum = 197;BA.debugLine="Log($\"uncompressedLength: ${uncompressed.Length}\""; +Debug.ShouldStop(16); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092733447",(RemoteObject.concat(RemoteObject.createImmutable("uncompressedLength: "),firebasemessaging.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_uncompressed.runMethod(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 198;BA.debugLine="Log($\"Decompressed String = ${uncompressed}\"$)"; +Debug.ShouldStop(32); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092733448",(RemoteObject.concat(RemoteObject.createImmutable("Decompressed String = "),firebasemessaging.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_uncompressed))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 199;BA.debugLine="Return uncompressed"; +Debug.ShouldStop(64); +if (true) return _uncompressed; + BA.debugLineNum = 200;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fm_messagearrived(RemoteObject _message) throws Exception{ +try { + Debug.PushSubsStack("fm_MessageArrived (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,72); +if (RapidSub.canDelegate("fm_messagearrived")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","fm_messagearrived", _message);} +RemoteObject _tipos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _params = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _rutagpscmp = RemoteObject.createImmutable(""); +Debug.locals.put("Message", _message); + BA.debugLineNum = 72;BA.debugLine="Sub fm_MessageArrived (Message As RemoteMessage)"; +Debug.ShouldStop(128); + BA.debugLineNum = 73;BA.debugLine="Log(\"Message arrived\")"; +Debug.ShouldStop(256); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209153",RemoteObject.createImmutable("Message arrived"),0); + BA.debugLineNum = 74;BA.debugLine="Log($\"Message data: ${Message.GetData}\"$)"; +Debug.ShouldStop(512); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209154",(RemoteObject.concat(RemoteObject.createImmutable("Message data: "),firebasemessaging.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_message.runMethod(false,"GetData").getObject()))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 76;BA.debugLine="If Message.GetData.ContainsKey(\"t\") Then"; +Debug.ShouldStop(2048); +if (_message.runMethod(false,"GetData").runMethod(true,"ContainsKey",(Object)((RemoteObject.createImmutable("t")))).get().booleanValue()) { + BA.debugLineNum = 77;BA.debugLine="Dim tipos As List = Regex.Split(\",\",Message.GetD"; +Debug.ShouldStop(4096); +_tipos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_tipos = firebasemessaging.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(firebasemessaging.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(",")),(Object)(BA.ObjectToString(_message.runMethod(false,"GetData").runMethod(false,"Get",(Object)((RemoteObject.createImmutable("t")))))))));Debug.locals.put("tipos", _tipos);Debug.locals.put("tipos", _tipos); + BA.debugLineNum = 78;BA.debugLine="If tipos.IndexOf(\"pu\") <> -1 Or tipos.IndexOf(\"a"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("pu")))),BA.numberCast(double.class, -(double) (0 + 1))) || RemoteObject.solveBoolean("!",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("au")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 79;BA.debugLine="Log(\"Es una peticion de ubicacion\")"; +Debug.ShouldStop(16384); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209159",RemoteObject.createImmutable("Es una peticion de ubicacion"),0); + BA.debugLineNum = 80;BA.debugLine="locRequest=\"Activa\""; +Debug.ShouldStop(32768); +firebasemessaging._locrequest = BA.ObjectToString("Activa"); + BA.debugLineNum = 81;BA.debugLine="Log(\"Llamamos StartFLPSmall\")"; +Debug.ShouldStop(65536); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209161",RemoteObject.createImmutable("Llamamos StartFLPSmall"),0); + BA.debugLineNum = 82;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(131072); +firebasemessaging.mostCurrent.__c.runVoidMethod ("CallSubDelayed",firebasemessaging.processBA,(Object)((firebasemessaging.mostCurrent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 83;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +Debug.ShouldStop(262144); +firebasemessaging.mostCurrent.__c.runVoidMethod ("CallSubDelayed",firebasemessaging.processBA,(Object)((firebasemessaging.mostCurrent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP"))); + }; + BA.debugLineNum = 85;BA.debugLine="If tipos.IndexOf(\"au\") <> -1 Then 'Si es una act"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("!",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("au")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 86;BA.debugLine="au = 1"; +Debug.ShouldStop(2097152); +firebasemessaging._au = BA.NumberToString(1); + }; + BA.debugLineNum = 88;BA.debugLine="If tipos.IndexOf(\"ping\") <> -1 Then 'Si es un pi"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("!",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("ping")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 89;BA.debugLine="Log(\"Es un ping\")"; +Debug.ShouldStop(16777216); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209169",RemoteObject.createImmutable("Es un ping"),0); + BA.debugLineNum = 90;BA.debugLine="Log(\"Mandamos pong\")"; +Debug.ShouldStop(33554432); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209170",RemoteObject.createImmutable("Mandamos pong"),0); + BA.debugLineNum = 91;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t"; +Debug.ShouldStop(67108864); +_params = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_params = firebasemessaging.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("topic")),(firebasemessaging._sprvsr),RemoteObject.createImmutable(("title")),RemoteObject.createImmutable(("pong")),RemoteObject.createImmutable(("body")),(RemoteObject.concat(firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.createImmutable(" - Recibi mensaje "),_message.runMethod(false,"GetData").runMethod(false,"Get",(Object)((RemoteObject.createImmutable("title")))))),RemoteObject.createImmutable(("t")),(RemoteObject.createImmutable("pong"))}));Debug.locals.put("params", _params);Debug.locals.put("params", _params); + BA.debugLineNum = 92;BA.debugLine="SendMessage(params)"; +Debug.ShouldStop(134217728); +_sendmessage(_params); + }; + BA.debugLineNum = 94;BA.debugLine="If tipos.IndexOf(\"bgps\") <> -1 Then 'Si es una i"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("bgps")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 95;BA.debugLine="Log(\"Es una instruccion de borrar archivo gps\")"; +Debug.ShouldStop(1073741824); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209175",RemoteObject.createImmutable("Es una instruccion de borrar archivo gps"),0); + BA.debugLineNum = 96;BA.debugLine="Log(\"Borramos archivo gps\")"; +Debug.ShouldStop(-2147483648); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209176",RemoteObject.createImmutable("Borramos archivo gps"),0); + BA.debugLineNum = 97;BA.debugLine="borramosArchivoGPS"; +Debug.ShouldStop(1); +_borramosarchivogps(); + }; + BA.debugLineNum = 99;BA.debugLine="If tipos.IndexOf(\"dr\") <> -1 Then 'Si es una pet"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("!",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("dr")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 100;BA.debugLine="Log(\"Es una peticion de Ruta GPS\")"; +Debug.ShouldStop(8); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209180",RemoteObject.createImmutable("Es una peticion de Ruta GPS"),0); + BA.debugLineNum = 101;BA.debugLine="Dim rutaGpsCmp As String = dameRuta"; +Debug.ShouldStop(16); +_rutagpscmp = _dameruta();Debug.locals.put("rutaGpsCmp", _rutagpscmp);Debug.locals.put("rutaGpsCmp", _rutagpscmp); + BA.debugLineNum = 102;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t"; +Debug.ShouldStop(32); +_params = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_params = firebasemessaging.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("topic")),(firebasemessaging._sprvsr),RemoteObject.createImmutable(("title")),RemoteObject.createImmutable(("ruta")),RemoteObject.createImmutable(("body")),(RemoteObject.concat(firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.createImmutable(" - Recibi mensaje "),_message.runMethod(false,"GetData").runMethod(false,"Get",(Object)((RemoteObject.createImmutable("title")))))),RemoteObject.createImmutable(("t")),RemoteObject.createImmutable(("ruta")),RemoteObject.createImmutable(("r")),(_rutagpscmp)}));Debug.locals.put("params", _params);Debug.locals.put("params", _params); + BA.debugLineNum = 103;BA.debugLine="SendMessage(params)"; +Debug.ShouldStop(64); +_sendmessage(_params); + }; + BA.debugLineNum = 105;BA.debugLine="If tipos.IndexOf(\"bgps2\") <> -1 Then 'Si es una"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("!",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("bgps2")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 106;BA.debugLine="Log(\"Es una instruccion de borrar BD gps\")"; +Debug.ShouldStop(512); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209186",RemoteObject.createImmutable("Es una instruccion de borrar BD gps"),0); + BA.debugLineNum = 107;BA.debugLine="Log(\"Borramos BD gps\")"; +Debug.ShouldStop(1024); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209187",RemoteObject.createImmutable("Borramos BD gps"),0); + BA.debugLineNum = 108;BA.debugLine="borraGPSHist"; +Debug.ShouldStop(2048); +_borragpshist(); + }; + BA.debugLineNum = 110;BA.debugLine="If tipos.IndexOf(\"pu\") = -1 And tipos.IndexOf(\"a"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("pu")))),BA.numberCast(double.class, -(double) (0 + 1))) && RemoteObject.solveBoolean("=",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("au")))),BA.numberCast(double.class, -(double) (0 + 1))) && RemoteObject.solveBoolean("=",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("ping")))),BA.numberCast(double.class, -(double) (0 + 1))) && RemoteObject.solveBoolean("=",_tipos.runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("dr")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 111;BA.debugLine="Log(\"No es ping ni solicitud de ubicacion o rut"; +Debug.ShouldStop(16384); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092209191",RemoteObject.createImmutable("No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada"),0); + }; + }; + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardainfoenarchivo(RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("guardaInfoEnArchivo (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,161); +if (RapidSub.canDelegate("guardainfoenarchivo")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","guardainfoenarchivo", _coords);} +RemoteObject _latlon = null; +Debug.locals.put("coords", _coords); + BA.debugLineNum = 161;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +Debug.ShouldStop(1); + BA.debugLineNum = 162;BA.debugLine="Log(\"Guardamos ubicacion en BD\")"; +Debug.ShouldStop(2); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092471297",RemoteObject.createImmutable("Guardamos ubicacion en BD"),0); + BA.debugLineNum = 163;BA.debugLine="Dim latlon() As String = Regex.Split(\",\", coords)"; +Debug.ShouldStop(4); +_latlon = firebasemessaging.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(",")),(Object)(_coords));Debug.locals.put("latlon", _latlon);Debug.locals.put("latlon", _latlon); + BA.debugLineNum = 164;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(8); +firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)")),(Object)(firebasemessaging.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_latlon.getArrayElement(true,BA.numberCast(int.class, 2))),(_latlon.getArrayElement(true,BA.numberCast(int.class, 0))),(_latlon.getArrayElement(true,BA.numberCast(int.class, 1)))}))))); + BA.debugLineNum = 165;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandamosloc(RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("mandamosLoc (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,150); +if (RapidSub.canDelegate("mandamosloc")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","mandamosloc", _coords);} +RemoteObject _params = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +Debug.locals.put("coords", _coords); + BA.debugLineNum = 150;BA.debugLine="Sub mandamosLoc(coords As String)"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 153;BA.debugLine="If locRequest=\"Activa\" Then 'Si hay solicitud de"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",firebasemessaging._locrequest,BA.ObjectToString("Activa"))) { + BA.debugLineNum = 154;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"ti"; +Debug.ShouldStop(33554432); +_params = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_params = firebasemessaging.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("topic")),(firebasemessaging._sprvsr),RemoteObject.createImmutable(("title")),RemoteObject.createImmutable(("ubicacionRecibida")),RemoteObject.createImmutable(("body")),(_coords),RemoteObject.createImmutable(("t")),(RemoteObject.createImmutable("u"))}));Debug.locals.put("params", _params);Debug.locals.put("params", _params); + BA.debugLineNum = 155;BA.debugLine="SendMessage(params)"; +Debug.ShouldStop(67108864); +_sendmessage(_params); + BA.debugLineNum = 156;BA.debugLine="locRequest=\"Enviada\""; +Debug.ShouldStop(134217728); +firebasemessaging._locrequest = BA.ObjectToString("Enviada"); + BA.debugLineNum = 157;BA.debugLine="CallSubDelayed(Tracker,\"CreateLocationRequest\")"; +Debug.ShouldStop(268435456); +firebasemessaging.mostCurrent.__c.runVoidMethod ("CallSubDelayed",firebasemessaging.processBA,(Object)((firebasemessaging.mostCurrent._tracker.getObject())),(Object)(RemoteObject.createImmutable("CreateLocationRequest"))); + }; + BA.debugLineNum = 159;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pe_batterychanged(RemoteObject _level,RemoteObject _scale,RemoteObject _plugged,RemoteObject _intent) throws Exception{ +try { + Debug.PushSubsStack("pe_BatteryChanged (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,175); +if (RapidSub.canDelegate("pe_batterychanged")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","pe_batterychanged", _level, _scale, _plugged, _intent);} +Debug.locals.put("Level", _level); +Debug.locals.put("Scale", _scale); +Debug.locals.put("Plugged", _plugged); +Debug.locals.put("Intent", _intent); + BA.debugLineNum = 175;BA.debugLine="Sub pe_BatteryChanged (Level As Int, Scale As Int,"; +Debug.ShouldStop(16384); + BA.debugLineNum = 176;BA.debugLine="B4XPages.MainPage.batt=Level"; +Debug.ShouldStop(32768); +firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).setField ("_batt" /*RemoteObject*/ ,_level); + BA.debugLineNum = 177;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 32;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 33;BA.debugLine="Private fm As FirebaseMessaging"; +firebasemessaging._fm = RemoteObject.createNew ("anywheresoftware.b4a.objects.FirebaseNotificationsService.FirebaseMessageWrapper"); + //BA.debugLineNum = 34;BA.debugLine="Private const API_KEY As String = \"AAAAv1qt3Lk:AP"; +firebasemessaging._api_key = BA.ObjectToString("AAAAv1qt3Lk:APA91bECIR-pHn6ul53eYyoVlpPuOo85RO-0zcAgEXwE7vqw8DFSbBtCaCINiqWQAkBBZXxHtQMdpU6B-jHIqgFKVL196UgwHv0Gw6_IgmipfV_NiItjzlH9d2QNpGLp9y_JUKVjUEhP"); + //BA.debugLineNum = 35;BA.debugLine="Dim locRequest As String"; +firebasemessaging._locrequest = RemoteObject.createImmutable(""); + //BA.debugLineNum = 37;BA.debugLine="Dim pe As PhoneEvents"; +firebasemessaging._pe = RemoteObject.createNew ("anywheresoftware.b4a.phone.PhoneEvents"); + //BA.debugLineNum = 38;BA.debugLine="Dim c As Cursor"; +firebasemessaging._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 39;BA.debugLine="Public GZip As GZipStrings"; +firebasemessaging._gzip = RemoteObject.createNew ("de.donmanfred.GZipStringswrapper"); + //BA.debugLineNum = 40;BA.debugLine="Dim Sprvsr As String = \"Sprv-Cedex\" ' El topico a"; +firebasemessaging._sprvsr = BA.ObjectToString("Sprv-Cedex"); + //BA.debugLineNum = 41;BA.debugLine="Dim Subscrito As String"; +firebasemessaging._subscrito = RemoteObject.createImmutable(""); + //BA.debugLineNum = 42;BA.debugLine="Dim au As String 'ignore"; +firebasemessaging._au = RemoteObject.createImmutable(""); + //BA.debugLineNum = 43;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _sendmessage(RemoteObject _params) throws Exception{ +try { + Debug.PushSubsStack("SendMessage (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,125); +if (RapidSub.canDelegate("sendmessage")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","sendmessage", _params);} +RemoteObject _topic = RemoteObject.createImmutable(""); +RemoteObject _title = RemoteObject.createImmutable(""); +RemoteObject _body = RemoteObject.createImmutable(""); +RemoteObject _tipo = RemoteObject.createImmutable(""); +RemoteObject _rutagpscmp = RemoteObject.createImmutable(""); +RemoteObject _job = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _data = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _jg = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator"); +Debug.locals.put("params", _params); + BA.debugLineNum = 125;BA.debugLine="Sub SendMessage(params As Map)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 126;BA.debugLine="Dim topic As String= params.Get(\"topic\")"; +Debug.ShouldStop(536870912); +_topic = BA.ObjectToString(_params.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("topic")))));Debug.locals.put("topic", _topic);Debug.locals.put("topic", _topic); + BA.debugLineNum = 127;BA.debugLine="Dim title As String= params.Get(\"title\")"; +Debug.ShouldStop(1073741824); +_title = BA.ObjectToString(_params.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("title")))));Debug.locals.put("title", _title);Debug.locals.put("title", _title); + BA.debugLineNum = 128;BA.debugLine="Dim body As String= params.Get(\"body\")"; +Debug.ShouldStop(-2147483648); +_body = BA.ObjectToString(_params.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("body")))));Debug.locals.put("body", _body);Debug.locals.put("body", _body); + BA.debugLineNum = 129;BA.debugLine="Dim tipo As String= params.Get(\"t\")"; +Debug.ShouldStop(1); +_tipo = BA.ObjectToString(_params.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("t")))));Debug.locals.put("tipo", _tipo);Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 130;BA.debugLine="If params.ContainsKey(\"r\") Then"; +Debug.ShouldStop(2); +if (_params.runMethod(true,"ContainsKey",(Object)((RemoteObject.createImmutable("r")))).get().booleanValue()) { + BA.debugLineNum = 131;BA.debugLine="Log(\"Con ruta\")"; +Debug.ShouldStop(4); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092340230",RemoteObject.createImmutable("Con ruta"),0); + BA.debugLineNum = 132;BA.debugLine="Dim rutaGpsCmp As String= params.Get(\"r\")"; +Debug.ShouldStop(8); +_rutagpscmp = BA.ObjectToString(_params.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("r")))));Debug.locals.put("rutaGpsCmp", _rutagpscmp);Debug.locals.put("rutaGpsCmp", _rutagpscmp); + }else { + BA.debugLineNum = 134;BA.debugLine="Log(\"Sin ruta\")"; +Debug.ShouldStop(32); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092340233",RemoteObject.createImmutable("Sin ruta"),0); + BA.debugLineNum = 135;BA.debugLine="Dim rutaGpsCmp As String = \"\""; +Debug.ShouldStop(64); +_rutagpscmp = BA.ObjectToString("");Debug.locals.put("rutaGpsCmp", _rutagpscmp);Debug.locals.put("rutaGpsCmp", _rutagpscmp); + }; + BA.debugLineNum = 137;BA.debugLine="Dim Job As HttpJob"; +Debug.ShouldStop(256); +_job = RemoteObject.createNew ("gunav2.keymon.com.mx.httpjob");Debug.locals.put("Job", _job); + BA.debugLineNum = 138;BA.debugLine="Job.Initialize(\"fcm\", Me)"; +Debug.ShouldStop(512); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,firebasemessaging.processBA,(Object)(BA.ObjectToString("fcm")),(Object)(firebasemessaging.getObject())); + BA.debugLineNum = 139;BA.debugLine="Dim m As Map = CreateMap(\"to\": $\"/topics/${topic}"; +Debug.ShouldStop(1024); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = firebasemessaging.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("to")),((RemoteObject.concat(RemoteObject.createImmutable("/topics/"),firebasemessaging.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_topic))),RemoteObject.createImmutable(""))))}));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 140;BA.debugLine="Dim data As Map = CreateMap(\"title\":title, \"body\""; +Debug.ShouldStop(2048); +_data = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_data = firebasemessaging.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("title")),(_title),RemoteObject.createImmutable(("body")),(_body),RemoteObject.createImmutable(("d")),(firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("t")),(_tipo),RemoteObject.createImmutable(("b")),(firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_batt" /*RemoteObject*/ )),RemoteObject.createImmutable(("mt")),(firebasemessaging.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_montoactual" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(firebasemessaging.mostCurrent.__c.getField(true,"False")))),RemoteObject.createImmutable(("r")),(_rutagpscmp),RemoteObject.createImmutable(("v")),(firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_v" /*RemoteObject*/ ))}));Debug.locals.put("data", _data);Debug.locals.put("data", _data); + BA.debugLineNum = 141;BA.debugLine="m.Put(\"data\", data)"; +Debug.ShouldStop(4096); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("data"))),(Object)((_data.getObject()))); + BA.debugLineNum = 142;BA.debugLine="Dim jg As JSONGenerator"; +Debug.ShouldStop(8192); +_jg = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator");Debug.locals.put("jg", _jg); + BA.debugLineNum = 143;BA.debugLine="jg.Initialize(m)"; +Debug.ShouldStop(16384); +_jg.runVoidMethod ("Initialize",(Object)(_m)); + BA.debugLineNum = 144;BA.debugLine="Job.PostString(\"https://fcm.googleapis.com/fcm/se"; +Debug.ShouldStop(32768); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_poststring" /*RemoteObject*/ ,(Object)(BA.ObjectToString("https://fcm.googleapis.com/fcm/send")),(Object)(_jg.runMethod(true,"ToString"))); + BA.debugLineNum = 145;BA.debugLine="Job.GetRequest.SetContentType(\"application/json;c"; +Debug.ShouldStop(65536); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ ).runVoidMethod ("SetContentType",(Object)(RemoteObject.createImmutable("application/json;charset=UTF-8"))); + BA.debugLineNum = 146;BA.debugLine="Job.GetRequest.SetHeader(\"Authorization\", \"key=\""; +Debug.ShouldStop(131072); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ ).runVoidMethod ("SetHeader",(Object)(BA.ObjectToString("Authorization")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("key="),firebasemessaging._api_key))); + BA.debugLineNum = 147;BA.debugLine="Log(m) 'ignore"; +Debug.ShouldStop(262144); +firebasemessaging.mostCurrent.__c.runVoidMethod ("LogImpl","092340246",BA.ObjectToString(_m),0); + BA.debugLineNum = 148;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,45); +if (RapidSub.canDelegate("service_create")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","service_create");} + BA.debugLineNum = 45;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(4096); + BA.debugLineNum = 46;BA.debugLine="fm.Initialize(\"fm\") 'Inicializamos FirebaseMessag"; +Debug.ShouldStop(8192); +firebasemessaging._fm.runVoidMethod ("Initialize",firebasemessaging.processBA,(Object)(RemoteObject.createImmutable("fm"))); + BA.debugLineNum = 47;BA.debugLine="pe.Initialize(\"pe\") 'Para obtener la bateria"; +Debug.ShouldStop(16384); +firebasemessaging._pe.runVoidMethod ("Initialize",firebasemessaging.processBA,(Object)(RemoteObject.createImmutable("pe"))); + BA.debugLineNum = 48;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,121); +if (RapidSub.canDelegate("service_destroy")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","service_destroy");} + BA.debugLineNum = 121;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 123;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,65); +if (RapidSub.canDelegate("service_start")) { gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","service_start", _startingintent); return;} +ResumableSub_Service_Start rsub = new ResumableSub_Service_Start(null,_startingintent); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Service_Start extends BA.ResumableSub { +public ResumableSub_Service_Start(gunav2.keymon.com.mx.firebasemessaging parent,RemoteObject _startingintent) { +this.parent = parent; +this._startingintent = _startingintent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +gunav2.keymon.com.mx.firebasemessaging parent; +RemoteObject _startingintent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,65); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 66;BA.debugLine="If StartingIntent.IsInitialized Then fm.HandleInt"; +Debug.ShouldStop(2); +if (true) break; + +case 1: +//if +this.state = 6; +if (_startingintent.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +parent._fm.runVoidMethod ("HandleIntent",(Object)((_startingintent.getObject()))); +if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 67;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(4); +parent.mostCurrent.__c.runVoidMethod ("Sleep",firebasemessaging.processBA,anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "firebasemessaging", "service_start"),BA.numberCast(int.class, 0)); +this.state = 7; +return; +case 7: +//C +this.state = -1; +; + BA.debugLineNum = 68;BA.debugLine="Service.StopAutomaticForeground 'remove if not us"; +Debug.ShouldStop(8); +parent.mostCurrent._service.runVoidMethod ("StopAutomaticForeground"); + BA.debugLineNum = 69;BA.debugLine="StartServiceAt(Me, DateTime.Now + 15 * DateTime.T"; +Debug.ShouldStop(16); +parent.mostCurrent.__c.runVoidMethod ("StartServiceAt",firebasemessaging.processBA,(Object)(firebasemessaging.getObject()),(Object)(RemoteObject.solve(new RemoteObject[] {parent.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable(15),parent.mostCurrent.__c.getField(false,"DateTime").getField(true,"TicksPerMinute")}, "+*",1, 2)),(Object)(parent.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _subscribetotopics() throws Exception{ +try { + Debug.PushSubsStack("SubscribeToTopics (firebasemessaging) ","firebasemessaging",30,firebasemessaging.processBA,firebasemessaging.mostCurrent,50); +if (RapidSub.canDelegate("subscribetotopics")) { return gunav2.keymon.com.mx.firebasemessaging.remoteMe.runUserSub(false, "firebasemessaging","subscribetotopics");} + BA.debugLineNum = 50;BA.debugLine="Public Sub SubscribeToTopics"; +Debug.ShouldStop(131072); + BA.debugLineNum = 52;BA.debugLine="fm.SubscribeToTopic(\"Trckr\") 'Tracker Global"; +Debug.ShouldStop(524288); +firebasemessaging._fm.runVoidMethod ("SubscribeToTopic",(Object)(RemoteObject.createImmutable("Trckr"))); + BA.debugLineNum = 54;BA.debugLine="fm.SubscribeToTopic(\"Trckr-Cedex\") 'Topico de Gun"; +Debug.ShouldStop(2097152); +firebasemessaging._fm.runVoidMethod ("SubscribeToTopic",(Object)(RemoteObject.createImmutable("Trckr-Cedex"))); + BA.debugLineNum = 55;BA.debugLine="If \"Cdx_\"&B4XPages.MainPage.usuario <> Subscrito"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("!",RemoteObject.concat(RemoteObject.createImmutable("Cdx_"),firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_usuario" /*RemoteObject*/ )),firebasemessaging._subscrito)) { + BA.debugLineNum = 56;BA.debugLine="fm.SubscribeToTopic(\"Cdx_\"&B4XPages.MainPage.usu"; +Debug.ShouldStop(8388608); +firebasemessaging._fm.runVoidMethod ("SubscribeToTopic",(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cdx_"),firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_usuario" /*RemoteObject*/ )))); + BA.debugLineNum = 57;BA.debugLine="fm.UnsubscribeFromTopic(Subscrito) 'Unsubscribe"; +Debug.ShouldStop(16777216); +firebasemessaging._fm.runVoidMethod ("UnsubscribeFromTopic",(Object)(firebasemessaging._subscrito)); + }; + BA.debugLineNum = 60;BA.debugLine="Subscrito = \"Cdx_\"&B4XPages.MainPage.usuario"; +Debug.ShouldStop(134217728); +firebasemessaging._subscrito = RemoteObject.concat(RemoteObject.createImmutable("Cdx_"),firebasemessaging.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,firebasemessaging.processBA).getField(true,"_usuario" /*RemoteObject*/ )); + BA.debugLineNum = 63;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/httpjob.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/httpjob.java new file mode 100644 index 0000000..c3103af --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/httpjob.java @@ -0,0 +1,42 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class httpjob { + public static RemoteObject myClass; + public httpjob() { + } + public static PCBA staticBA = new PCBA(null, httpjob.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _jobname = RemoteObject.createImmutable(""); +public static RemoteObject _success = RemoteObject.createImmutable(false); +public static RemoteObject _username = RemoteObject.createImmutable(""); +public static RemoteObject _password = RemoteObject.createImmutable(""); +public static RemoteObject _errormessage = RemoteObject.createImmutable(""); +public static RemoteObject _target = RemoteObject.declareNull("Object"); +public static RemoteObject _taskid = RemoteObject.createImmutable(""); +public static RemoteObject _req = RemoteObject.declareNull("anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest"); +public static RemoteObject _response = RemoteObject.declareNull("anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _invalidurl = RemoteObject.createImmutable(""); +public static RemoteObject _defaultscheme = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"DefaultScheme",_ref.getField(false, "_defaultscheme"),"ErrorMessage",_ref.getField(false, "_errormessage"),"InvalidURL",_ref.getField(false, "_invalidurl"),"JobName",_ref.getField(false, "_jobname"),"Password",_ref.getField(false, "_password"),"req",_ref.getField(false, "_req"),"Response",_ref.getField(false, "_response"),"Success",_ref.getField(false, "_success"),"Tag",_ref.getField(false, "_tag"),"target",_ref.getField(false, "_target"),"taskId",_ref.getField(false, "_taskid"),"Username",_ref.getField(false, "_username")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/httpjob_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/httpjob_subs_0.java new file mode 100644 index 0000000..bb1d4b1 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/httpjob_subs_0.java @@ -0,0 +1,969 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class httpjob_subs_0 { + + +public static RemoteObject _addscheme(RemoteObject __ref,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("AddScheme (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,52); +if (RapidSub.canDelegate("addscheme")) { return __ref.runUserSub(false, "httpjob","addscheme", __ref, _link);} +Debug.locals.put("Link", _link); + BA.debugLineNum = 52;BA.debugLine="Private Sub AddScheme (Link As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_defaultscheme" /*RemoteObject*/ ),BA.ObjectToString("")) || RemoteObject.solveBoolean(".",_link.runMethod(true,"contains",(Object)(RemoteObject.createImmutable(":"))))) { +if (true) return _link;}; + BA.debugLineNum = 54;BA.debugLine="Return DefaultScheme & \"://\" & Link"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.concat(__ref.getField(true,"_defaultscheme" /*RemoteObject*/ ),RemoteObject.createImmutable("://"),_link); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Public JobName As String"; +httpjob._jobname = RemoteObject.createImmutable("");__ref.setField("_jobname",httpjob._jobname); + //BA.debugLineNum = 4;BA.debugLine="Public Success As Boolean"; +httpjob._success = RemoteObject.createImmutable(false);__ref.setField("_success",httpjob._success); + //BA.debugLineNum = 5;BA.debugLine="Public Username, Password As String"; +httpjob._username = RemoteObject.createImmutable("");__ref.setField("_username",httpjob._username); +httpjob._password = RemoteObject.createImmutable("");__ref.setField("_password",httpjob._password); + //BA.debugLineNum = 6;BA.debugLine="Public ErrorMessage As String"; +httpjob._errormessage = RemoteObject.createImmutable("");__ref.setField("_errormessage",httpjob._errormessage); + //BA.debugLineNum = 7;BA.debugLine="Private target As Object"; +httpjob._target = RemoteObject.createNew ("Object");__ref.setField("_target",httpjob._target); + //BA.debugLineNum = 13;BA.debugLine="Private taskId As String"; +httpjob._taskid = RemoteObject.createImmutable("");__ref.setField("_taskid",httpjob._taskid); + //BA.debugLineNum = 15;BA.debugLine="Private req As OkHttpRequest"; +httpjob._req = RemoteObject.createNew ("anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest");__ref.setField("_req",httpjob._req); + //BA.debugLineNum = 16;BA.debugLine="Public Response As OkHttpResponse"; +httpjob._response = RemoteObject.createNew ("anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse");__ref.setField("_response",httpjob._response); + //BA.debugLineNum = 25;BA.debugLine="Public Tag As Object"; +httpjob._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",httpjob._tag); + //BA.debugLineNum = 26;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; +; + //BA.debugLineNum = 30;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; +httpjob._invalidurl = BA.ObjectToString("https://invalid-url/");__ref.setField("_invalidurl",httpjob._invalidurl); + //BA.debugLineNum = 31;BA.debugLine="Public DefaultScheme As String = \"https\""; +httpjob._defaultscheme = BA.ObjectToString("https");__ref.setField("_defaultscheme",httpjob._defaultscheme); + //BA.debugLineNum = 32;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _complete(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("Complete (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,315); +if (RapidSub.canDelegate("complete")) { return __ref.runUserSub(false, "httpjob","complete", __ref, _id);} +Debug.locals.put("id", _id); + BA.debugLineNum = 315;BA.debugLine="Public Sub Complete (id As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 316;BA.debugLine="taskId = id"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_taskid" /*RemoteObject*/ ,BA.NumberToString(_id)); + BA.debugLineNum = 317;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_target" /*RemoteObject*/ )),(Object)(BA.ObjectToString("JobDone")),(Object)(__ref)); + BA.debugLineNum = 318;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _delete(RemoteObject __ref,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("Delete (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,261); +if (RapidSub.canDelegate("delete")) { return __ref.runUserSub(false, "httpjob","delete", __ref, _link);} +Debug.locals.put("Link", _link); + BA.debugLineNum = 261;BA.debugLine="Public Sub Delete(Link As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 262;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 263;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 264;BA.debugLine="req.InitializeDelete(Link)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeDelete",(Object)(_link)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919857413",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeDelete",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 269;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 270;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _delete2(RemoteObject __ref,RemoteObject _link,RemoteObject _parameters) throws Exception{ +try { + Debug.PushSubsStack("Delete2 (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,272); +if (RapidSub.canDelegate("delete2")) { return __ref.runUserSub(false, "httpjob","delete2", __ref, _link, _parameters);} +Debug.locals.put("Link", _link); +Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 272;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 273;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 274;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 275;BA.debugLine="req.InitializeDelete(escapeLink(Link, Parameters"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeDelete",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_escapelink" /*RemoteObject*/ ,(Object)(_link),(Object)(_parameters)))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919922949",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeDelete",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_escapelink" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_parameters)))); + }; + BA.debugLineNum = 280;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 281;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _download(RemoteObject __ref,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("Download (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,219); +if (RapidSub.canDelegate("download")) { return __ref.runUserSub(false, "httpjob","download", __ref, _link);} +Debug.locals.put("Link", _link); + BA.debugLineNum = 219;BA.debugLine="Public Sub Download(Link As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 220;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 221;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 222;BA.debugLine="req.InitializeGet(Link)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeGet",(Object)(_link)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919660805",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeGet",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 227;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 228;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _download2(RemoteObject __ref,RemoteObject _link,RemoteObject _parameters) throws Exception{ +try { + Debug.PushSubsStack("Download2 (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,235); +if (RapidSub.canDelegate("download2")) { return __ref.runUserSub(false, "httpjob","download2", __ref, _link, _parameters);} +Debug.locals.put("Link", _link); +Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 235;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 236;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 237;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 238;BA.debugLine="req.InitializeGet(escapeLink(Link, Parameters))"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeGet",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_escapelink" /*RemoteObject*/ ,(Object)(_link),(Object)(_parameters)))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919726341",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeGet",(Object)(__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_escapelink" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_parameters)))); + }; + BA.debugLineNum = 243;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 244;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _escapelink(RemoteObject __ref,RemoteObject _link,RemoteObject _parameters) throws Exception{ +try { + Debug.PushSubsStack("escapeLink (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,246); +if (RapidSub.canDelegate("escapelink")) { return __ref.runUserSub(false, "httpjob","escapelink", __ref, _link, _parameters);} +RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +int _i = 0; +Debug.locals.put("Link", _link); +Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 246;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 247;BA.debugLine="Dim sb As StringBuilder"; +Debug.JustUpdateDeviceLine(); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 248;BA.debugLine="sb.Initialize"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 249;BA.debugLine="sb.Append(Link)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_link)); + BA.debugLineNum = 250;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_parameters.getField(true,"length"),BA.numberCast(double.class, 0))) { +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("?")));}; + BA.debugLineNum = 251;BA.debugLine="Dim su As StringUtils"; +Debug.JustUpdateDeviceLine(); +_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su); + BA.debugLineNum = 252;BA.debugLine="For i = 0 To Parameters.Length - 1 Step 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step6 = 2; +final int limit6 = RemoteObject.solve(new RemoteObject[] {_parameters.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 253;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",RemoteObject.createImmutable(_i),BA.numberCast(double.class, 0))) { +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("&")));}; + BA.debugLineNum = 254;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; +Debug.JustUpdateDeviceLine(); +_sb.runMethod(false,"Append",(Object)(_su.runMethod(true,"EncodeUrl",(Object)(_parameters.getArrayElement(true,BA.numberCast(int.class, _i))),(Object)(RemoteObject.createImmutable("UTF8"))))).runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("="))); + BA.debugLineNum = 255;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_su.runMethod(true,"EncodeUrl",(Object)(_parameters.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1))),(Object)(RemoteObject.createImmutable("UTF8"))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 257;BA.debugLine="Return sb.ToString"; +Debug.JustUpdateDeviceLine(); +if (true) return _sb.runMethod(true,"ToString"); + BA.debugLineNum = 258;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmap(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetBitmap (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,330); +if (RapidSub.canDelegate("getbitmap")) { return __ref.runUserSub(false, "httpjob","getbitmap", __ref);} +RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); + BA.debugLineNum = 330;BA.debugLine="Public Sub GetBitmap As Bitmap"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 331;BA.debugLine="Dim b As Bitmap"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("b", _b); + BA.debugLineNum = 332;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; +Debug.JustUpdateDeviceLine(); +_b = httpjob.__c.runMethod(false,"LoadBitmap",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ )));Debug.locals.put("b", _b); + BA.debugLineNum = 333;BA.debugLine="Return b"; +Debug.JustUpdateDeviceLine(); +if (true) return _b; + BA.debugLineNum = 334;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmapresize(RemoteObject __ref,RemoteObject _width,RemoteObject _height,RemoteObject _keepaspectratio) throws Exception{ +try { + Debug.PushSubsStack("GetBitmapResize (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,341); +if (RapidSub.canDelegate("getbitmapresize")) { return __ref.runUserSub(false, "httpjob","getbitmapresize", __ref, _width, _height, _keepaspectratio);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); +Debug.locals.put("KeepAspectRatio", _keepaspectratio); + BA.debugLineNum = 341;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 342;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; +Debug.JustUpdateDeviceLine(); +if (true) return httpjob.__c.runMethod(false,"LoadBitmapResize",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ )),(Object)(_width),(Object)(_height),(Object)(_keepaspectratio)); + BA.debugLineNum = 343;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmapsample(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("GetBitmapSample (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,337); +if (RapidSub.canDelegate("getbitmapsample")) { return __ref.runUserSub(false, "httpjob","getbitmapsample", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 337;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 338;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; +Debug.JustUpdateDeviceLine(); +if (true) return httpjob.__c.runMethod(false,"LoadBitmapSample",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ )),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 339;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getinputstream(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetInputStream (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,347); +if (RapidSub.canDelegate("getinputstream")) { return __ref.runUserSub(false, "httpjob","getinputstream", __ref);} +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); + BA.debugLineNum = 347;BA.debugLine="Public Sub GetInputStream As InputStream"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 348;BA.debugLine="Dim In As InputStream"; +Debug.JustUpdateDeviceLine(); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("In", _in); + BA.debugLineNum = 349;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; +Debug.JustUpdateDeviceLine(); +_in = httpjob.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ )));Debug.locals.put("In", _in); + BA.debugLineNum = 350;BA.debugLine="Return In"; +Debug.JustUpdateDeviceLine(); +if (true) return _in; + BA.debugLineNum = 351;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getrequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetRequest (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,310); +if (RapidSub.canDelegate("getrequest")) { return __ref.runUserSub(false, "httpjob","getrequest", __ref);} + BA.debugLineNum = 310;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 311;BA.debugLine="Return req"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_req" /*RemoteObject*/ ); + BA.debugLineNum = 312;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getstring(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetString (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,291); +if (RapidSub.canDelegate("getstring")) { return __ref.runUserSub(false, "httpjob","getstring", __ref);} + BA.debugLineNum = 291;BA.debugLine="Public Sub GetString As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 292;BA.debugLine="Return GetString2(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getstring2" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("UTF8"))); + BA.debugLineNum = 293;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getstring2(RemoteObject __ref,RemoteObject _encoding) throws Exception{ +try { + Debug.PushSubsStack("GetString2 (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,296); +if (RapidSub.canDelegate("getstring2")) { return __ref.runUserSub(false, "httpjob","getstring2", __ref, _encoding);} +RemoteObject _tr = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.TextReaderWrapper"); +RemoteObject _res = RemoteObject.createImmutable(""); +Debug.locals.put("Encoding", _encoding); + BA.debugLineNum = 296;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 300;BA.debugLine="Dim tr As TextReader"; +Debug.JustUpdateDeviceLine(); +_tr = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.TextReaderWrapper");Debug.locals.put("tr", _tr); + BA.debugLineNum = 301;BA.debugLine="tr.Initialize2(File.OpenInput(HttpUtils2Service.T"; +Debug.JustUpdateDeviceLine(); +_tr.runVoidMethod ("Initialize2",(Object)((httpjob.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ ))).getObject())),(Object)(_encoding)); + BA.debugLineNum = 302;BA.debugLine="Dim res As String = tr.ReadAll"; +Debug.JustUpdateDeviceLine(); +_res = _tr.runMethod(true,"ReadAll");Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 303;BA.debugLine="tr.Close"; +Debug.JustUpdateDeviceLine(); +_tr.runVoidMethod ("Close"); + BA.debugLineNum = 304;BA.debugLine="Return res"; +Debug.JustUpdateDeviceLine(); +if (true) return _res; + BA.debugLineNum = 306;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _head(RemoteObject __ref,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("Head (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,119); +if (RapidSub.canDelegate("head")) { return __ref.runUserSub(false, "httpjob","head", __ref, _link);} +Debug.locals.put("Link", _link); + BA.debugLineNum = 119;BA.debugLine="Public Sub Head(Link As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 120;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 121;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 122;BA.debugLine="req.InitializeHead(Link)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeHead",(Object)(_link)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919398661",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeHead",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 127;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _name,RemoteObject _targetmodule) throws Exception{ +try { + Debug.PushSubsStack("Initialize (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "httpjob","initialize", __ref, _ba, _name, _targetmodule);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Name", _name); +Debug.locals.put("TargetModule", _targetmodule); + BA.debugLineNum = 38;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="JobName = Name"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_jobname" /*RemoteObject*/ ,_name); + BA.debugLineNum = 40;BA.debugLine="target = TargetModule"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_target" /*RemoteObject*/ ,_targetmodule); + BA.debugLineNum = 48;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _multipartstartsection(RemoteObject __ref,RemoteObject _stream,RemoteObject _empty) throws Exception{ +try { + Debug.PushSubsStack("MultipartStartSection (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,179); +if (RapidSub.canDelegate("multipartstartsection")) { return __ref.runUserSub(false, "httpjob","multipartstartsection", __ref, _stream, _empty);} +Debug.locals.put("stream", _stream); +Debug.locals.put("empty", _empty); + BA.debugLineNum = 179;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 180;BA.debugLine="If empty = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_empty,httpjob.__c.getField(true,"False"))) { + BA.debugLineNum = 181;BA.debugLine="stream.WriteBytes(Array As Byte(13, 10), 0, 2)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {2},new Object[] {BA.numberCast(byte.class, 13),BA.numberCast(byte.class, 10)})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))); + }else { + BA.debugLineNum = 183;BA.debugLine="empty = False"; +Debug.JustUpdateDeviceLine(); +_empty = httpjob.__c.getField(true,"False");Debug.locals.put("empty", _empty); + }; + BA.debugLineNum = 185;BA.debugLine="Return empty"; +Debug.JustUpdateDeviceLine(); +if (true) return _empty; + BA.debugLineNum = 186;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _patchbytes(RemoteObject __ref,RemoteObject _link,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("PatchBytes (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,97); +if (RapidSub.canDelegate("patchbytes")) { return __ref.runUserSub(false, "httpjob","patchbytes", __ref, _link, _data);} +Debug.locals.put("Link", _link); +Debug.locals.put("Data", _data); + BA.debugLineNum = 97;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 98;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 106;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 107;BA.debugLine="req.InitializePatch2(Link, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePatch2",(Object)(_link),(Object)(_data)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919333132",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePatch2",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_data)); + }; + BA.debugLineNum = 114;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _patchstring(RemoteObject __ref,RemoteObject _link,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("PatchString (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("patchstring")) { return __ref.runUserSub(false, "httpjob","patchstring", __ref, _link, _text);} +Debug.locals.put("Link", _link); +Debug.locals.put("Text", _text); + BA.debugLineNum = 92;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 93;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_patchbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_text.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8"))))); + BA.debugLineNum = 94;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _postbytes(RemoteObject __ref,RemoteObject _link,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("PostBytes (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,63); +if (RapidSub.canDelegate("postbytes")) { return __ref.runUserSub(false, "httpjob","postbytes", __ref, _link, _data);} +Debug.locals.put("Link", _link); +Debug.locals.put("Data", _data); + BA.debugLineNum = 63;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 64;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 65;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 66;BA.debugLine="req.InitializePost2(Link, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePost2",(Object)(_link),(Object)(_data)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919070981",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePost2",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_data)); + }; + BA.debugLineNum = 71;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 72;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _postfile(RemoteObject __ref,RemoteObject _link,RemoteObject _dir,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("PostFile (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,190); +if (RapidSub.canDelegate("postfile")) { return __ref.runUserSub(false, "httpjob","postfile", __ref, _link, _dir, _filename);} +RemoteObject _length = RemoteObject.createImmutable(0); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Link", _link); +Debug.locals.put("Dir", _dir); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 190;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 191;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 196;BA.debugLine="Dim length As Int"; +Debug.JustUpdateDeviceLine(); +_length = RemoteObject.createImmutable(0);Debug.locals.put("length", _length); + BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_dir,httpjob.__c.getField(false,"File").runMethod(true,"getDirAssets"))) { + BA.debugLineNum = 198;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919595272",RemoteObject.createImmutable("Cannot send files from the assets folder."),0); + BA.debugLineNum = 199;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 201;BA.debugLine="length = File.Size(Dir, FileName)"; +Debug.JustUpdateDeviceLine(); +_length = BA.numberCast(int.class, httpjob.__c.getField(false,"File").runMethod(true,"Size",(Object)(_dir),(Object)(_filename)));Debug.locals.put("length", _length); + BA.debugLineNum = 202;BA.debugLine="Dim In As InputStream"; +Debug.JustUpdateDeviceLine(); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("In", _in); + BA.debugLineNum = 203;BA.debugLine="In = File.OpenInput(Dir, FileName)"; +Debug.JustUpdateDeviceLine(); +_in = httpjob.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(_dir),(Object)(_filename));Debug.locals.put("In", _in); + BA.debugLineNum = 204;BA.debugLine="If length < 1000000 Then '1mb"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_length,BA.numberCast(double.class, 1000000))) { + BA.debugLineNum = 207;BA.debugLine="Dim out As OutputStream"; +Debug.JustUpdateDeviceLine(); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 208;BA.debugLine="out.InitializeToBytesArray(length)"; +Debug.JustUpdateDeviceLine(); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(_length)); + BA.debugLineNum = 209;BA.debugLine="File.Copy2(In, out)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_in.getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 210;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_out.runMethod(false,"ToBytesArray"))); + }else { + BA.debugLineNum = 212;BA.debugLine="req.InitializePost(Link, In, length)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePost",(Object)(_link),(Object)((_in.getObject())),(Object)(_length)); + BA.debugLineNum = 213;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + }; + BA.debugLineNum = 216;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _postmultipart(RemoteObject __ref,RemoteObject _link,RemoteObject _namevalues,RemoteObject _files) throws Exception{ +try { + Debug.PushSubsStack("PostMultipart (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,133); +if (RapidSub.canDelegate("postmultipart")) { return __ref.runUserSub(false, "httpjob","postmultipart", __ref, _link, _namevalues, _files);} +RemoteObject _boundary = RemoteObject.createImmutable(""); +RemoteObject _stream = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _b = null; +RemoteObject _eol = RemoteObject.createImmutable(""); +RemoteObject _empty = RemoteObject.createImmutable(false); +RemoteObject _key = RemoteObject.createImmutable(""); +RemoteObject _value = RemoteObject.createImmutable(""); +RemoteObject _s = RemoteObject.createImmutable(""); +RemoteObject _fd = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob._multipartfiledata"); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +Debug.locals.put("Link", _link); +Debug.locals.put("NameValues", _namevalues); +Debug.locals.put("Files", _files); + BA.debugLineNum = 133;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 134;BA.debugLine="Dim boundary As String = \"-----------------------"; +Debug.JustUpdateDeviceLine(); +_boundary = BA.ObjectToString("---------------------------1461124740692");Debug.locals.put("boundary", _boundary);Debug.locals.put("boundary", _boundary); + BA.debugLineNum = 135;BA.debugLine="Dim stream As OutputStream"; +Debug.JustUpdateDeviceLine(); +_stream = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("stream", _stream); + BA.debugLineNum = 136;BA.debugLine="stream.InitializeToBytesArray(0)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 137;BA.debugLine="Dim b() As Byte"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("b", _b); + BA.debugLineNum = 138;BA.debugLine="Dim eol As String = Chr(13) & Chr(10)"; +Debug.JustUpdateDeviceLine(); +_eol = RemoteObject.concat(httpjob.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))),httpjob.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10))));Debug.locals.put("eol", _eol);Debug.locals.put("eol", _eol); + BA.debugLineNum = 139;BA.debugLine="Dim empty As Boolean = True"; +Debug.JustUpdateDeviceLine(); +_empty = httpjob.__c.getField(true,"True");Debug.locals.put("empty", _empty);Debug.locals.put("empty", _empty); + BA.debugLineNum = 140;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_namevalues) && RemoteObject.solveBoolean(".",_namevalues.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 141;BA.debugLine="For Each key As String In NameValues.Keys"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group8 = _namevalues.runMethod(false,"Keys"); +final int groupLen8 = group8.runMethod(true,"getSize").get() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_key = BA.ObjectToString(group8.runMethod(false,"Get",index8));Debug.locals.put("key", _key); +Debug.locals.put("key", _key); + BA.debugLineNum = 142;BA.debugLine="Dim value As String = NameValues.Get(key)"; +Debug.JustUpdateDeviceLine(); +_value = BA.ObjectToString(_namevalues.runMethod(false,"Get",(Object)((_key))));Debug.locals.put("value", _value);Debug.locals.put("value", _value); + BA.debugLineNum = 143;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +Debug.JustUpdateDeviceLine(); +_empty = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_multipartstartsection" /*RemoteObject*/ ,(Object)(_stream),(Object)(_empty));Debug.locals.put("empty", _empty); + BA.debugLineNum = 144;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; +Debug.JustUpdateDeviceLine(); +_s = (RemoteObject.concat(RemoteObject.createImmutable("--"),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_boundary))),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable("Content-Disposition: form-data; name=\""),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_key))),RemoteObject.createImmutable("\"\n"),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable(""),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_value))),RemoteObject.createImmutable("")));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 149;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +_b = _s.runMethod(true,"replace",(Object)(httpjob.__c.getField(true,"CRLF")),(Object)(_eol)).runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("b", _b); + BA.debugLineNum = 150;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + } +}Debug.locals.put("key", _key); +; + }; + BA.debugLineNum = 153;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_files) && RemoteObject.solveBoolean(".",_files.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 154;BA.debugLine="For Each fd As MultipartFileData In Files"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group17 = _files; +final int groupLen17 = group17.runMethod(true,"getSize").get() +;int index17 = 0; +; +for (; index17 < groupLen17;index17++){ +_fd = (group17.runMethod(false,"Get",index17));Debug.locals.put("fd", _fd); +Debug.locals.put("fd", _fd); + BA.debugLineNum = 155;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +Debug.JustUpdateDeviceLine(); +_empty = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_multipartstartsection" /*RemoteObject*/ ,(Object)(_stream),(Object)(_empty));Debug.locals.put("empty", _empty); + BA.debugLineNum = 156;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; +Debug.JustUpdateDeviceLine(); +_s = (RemoteObject.concat(RemoteObject.createImmutable("--"),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_boundary))),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable("Content-Disposition: form-data; name=\""),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fd.getField(true,"KeyName" /*RemoteObject*/ )))),RemoteObject.createImmutable("\"; filename=\""),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fd.getField(true,"FileName" /*RemoteObject*/ )))),RemoteObject.createImmutable("\"\n"),RemoteObject.createImmutable("Content-Type: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fd.getField(true,"ContentType" /*RemoteObject*/ )))),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable("")));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 162;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +_b = _s.runMethod(true,"replace",(Object)(httpjob.__c.getField(true,"CRLF")),(Object)(_eol)).runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("b", _b); + BA.debugLineNum = 163;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 164;BA.debugLine="Dim in As InputStream = File.OpenInput(fd.Dir,"; +Debug.JustUpdateDeviceLine(); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +_in = httpjob.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(_fd.getField(true,"Dir" /*RemoteObject*/ )),(Object)(_fd.getField(true,"FileName" /*RemoteObject*/ )));Debug.locals.put("in", _in);Debug.locals.put("in", _in); + BA.debugLineNum = 165;BA.debugLine="File.Copy2(in, stream)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_in.getObject())),(Object)((_stream.getObject()))); + } +}Debug.locals.put("fd", _fd); +; + }; + BA.debugLineNum = 168;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +Debug.JustUpdateDeviceLine(); +_empty = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_multipartstartsection" /*RemoteObject*/ ,(Object)(_stream),(Object)(_empty));Debug.locals.put("empty", _empty); + BA.debugLineNum = 169;BA.debugLine="s = _ $\"--${boundary}-- \"$"; +Debug.JustUpdateDeviceLine(); +_s = (RemoteObject.concat(RemoteObject.createImmutable("--"),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_boundary))),RemoteObject.createImmutable("--\n"),RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 172;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +_b = _s.runMethod(true,"replace",(Object)(httpjob.__c.getField(true,"CRLF")),(Object)(_eol)).runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("b", _b); + BA.debugLineNum = 173;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 174;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_stream.runMethod(false,"ToBytesArray"))); + BA.debugLineNum = 175;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("SetContentType",(Object)(RemoteObject.concat(RemoteObject.createImmutable("multipart/form-data; boundary="),_boundary))); + BA.debugLineNum = 176;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("SetContentEncoding",(Object)(RemoteObject.createImmutable("UTF8"))); + BA.debugLineNum = 177;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _poststring(RemoteObject __ref,RemoteObject _link,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("PostString (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,58); +if (RapidSub.canDelegate("poststring")) { return __ref.runUserSub(false, "httpjob","poststring", __ref, _link, _text);} +Debug.locals.put("Link", _link); +Debug.locals.put("Text", _text); + BA.debugLineNum = 58;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 59;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_text.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8"))))); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _putbytes(RemoteObject __ref,RemoteObject _link,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("PutBytes (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,80); +if (RapidSub.canDelegate("putbytes")) { return __ref.runUserSub(false, "httpjob","putbytes", __ref, _link, _data);} +Debug.locals.put("Link", _link); +Debug.locals.put("Data", _data); + BA.debugLineNum = 80;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 81;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 82;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 83;BA.debugLine="req.InitializePut2(Link, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePut2",(Object)(_link),(Object)(_data)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","919202053",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePut2",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_data)); + }; + BA.debugLineNum = 88;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _putstring(RemoteObject __ref,RemoteObject _link,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("PutString (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,75); +if (RapidSub.canDelegate("putstring")) { return __ref.runUserSub(false, "httpjob","putstring", __ref, _link, _text);} +Debug.locals.put("Link", _link); +Debug.locals.put("Text", _text); + BA.debugLineNum = 75;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 76;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_putbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_text.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8"))))); + BA.debugLineNum = 77;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _release(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Release (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,284); +if (RapidSub.canDelegate("release")) { return __ref.runUserSub(false, "httpjob","release", __ref);} + BA.debugLineNum = 284;BA.debugLine="Public Sub Release"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 286;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ ))); + BA.debugLineNum = 288;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/httputils2service.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/httputils2service.java new file mode 100644 index 0000000..013011a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/httputils2service.java @@ -0,0 +1,68 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class httputils2service implements IRemote{ + public static httputils2service mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public httputils2service() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("httputils2service"), "gunav2.keymon.com.mx.httputils2service"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _receiver; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _receiver = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.httputils2service"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, httputils2service.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _hc = RemoteObject.declareNull("anywheresoftware.b4h.okhttp.OkHttpClientWrapper"); +public static RemoteObject _taskidtojob = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _tempfolder = RemoteObject.createImmutable(""); +public static RemoteObject _taskcounter = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"DateUtils",httputils2service.mostCurrent._dateutils,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"hc",httputils2service._hc,"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"Receiver",httputils2service.mostCurrent._receiver,"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"taskCounter",httputils2service._taskcounter,"TaskIdToJob",httputils2service._taskidtojob,"TempFolder",httputils2service._tempfolder,"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/httputils2service_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/httputils2service_subs_0.java new file mode 100644 index 0000000..c034c3a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/httputils2service_subs_0.java @@ -0,0 +1,343 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class httputils2service_subs_0 { + + +public static RemoteObject _completejob(RemoteObject _taskid,RemoteObject _success,RemoteObject _errormessage) throws Exception{ +try { + Debug.PushSubsStack("CompleteJob (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,152); +if (RapidSub.canDelegate("completejob")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","completejob", _taskid, _success, _errormessage);} +RemoteObject _job = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +Debug.locals.put("TaskId", _taskid); +Debug.locals.put("success", _success); +Debug.locals.put("errorMessage", _errormessage); + BA.debugLineNum = 152;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 156;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +Debug.ShouldStop(134217728); +_job = (httputils2service._taskidtojob.runMethod(false,"Get",(Object)((_taskid))));Debug.locals.put("job", _job);Debug.locals.put("job", _job); + BA.debugLineNum = 157;BA.debugLine="If job = Null Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("n",_job)) { + BA.debugLineNum = 158;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; +Debug.ShouldStop(536870912); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","018743302",RemoteObject.concat(RemoteObject.createImmutable("HttpUtils2Service: job completed multiple times - "),_taskid),0); + BA.debugLineNum = 159;BA.debugLine="Return"; +Debug.ShouldStop(1073741824); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 161;BA.debugLine="TaskIdToJob.Remove(TaskId)"; +Debug.ShouldStop(1); +httputils2service._taskidtojob.runVoidMethod ("Remove",(Object)((_taskid))); + BA.debugLineNum = 162;BA.debugLine="job.success = success"; +Debug.ShouldStop(2); +_job.setField ("_success" /*RemoteObject*/ ,_success); + BA.debugLineNum = 163;BA.debugLine="job.errorMessage = errorMessage"; +Debug.ShouldStop(4); +_job.setField ("_errormessage" /*RemoteObject*/ ,_errormessage); + BA.debugLineNum = 165;BA.debugLine="job.Complete(TaskId)"; +Debug.ShouldStop(16); +_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_complete" /*RemoteObject*/ ,(Object)(_taskid)); + BA.debugLineNum = 169;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hc_responseerror(RemoteObject _response,RemoteObject _reason,RemoteObject _statuscode,RemoteObject _taskid) throws Exception{ +try { + Debug.PushSubsStack("hc_ResponseError (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,115); +if (RapidSub.canDelegate("hc_responseerror")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","hc_responseerror", _response, _reason, _statuscode, _taskid);} +RemoteObject _job = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +Debug.locals.put("Response", _response); +Debug.locals.put("Reason", _reason); +Debug.locals.put("StatusCode", _statuscode); +Debug.locals.put("TaskId", _taskid); + BA.debugLineNum = 115;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; +Debug.ShouldStop(262144); + BA.debugLineNum = 117;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; +Debug.ShouldStop(1048576); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","018677762",(RemoteObject.concat(RemoteObject.createImmutable("ResponseError. Reason: "),httputils2service.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_reason))),RemoteObject.createImmutable(", Response: "),httputils2service.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_response.runMethod(true,"getErrorResponse")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 119;BA.debugLine="Response.Release"; +Debug.ShouldStop(4194304); +_response.runVoidMethod ("Release"); + BA.debugLineNum = 120;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +Debug.ShouldStop(8388608); +_job = (httputils2service._taskidtojob.runMethod(false,"Get",(Object)((_taskid))));Debug.locals.put("job", _job);Debug.locals.put("job", _job); + BA.debugLineNum = 121;BA.debugLine="If job = Null Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("n",_job)) { + BA.debugLineNum = 122;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c"; +Debug.ShouldStop(33554432); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","018677767",RemoteObject.concat(RemoteObject.createImmutable("HttpUtils2Service (hc_ResponseError): job completed multiple times - "),_taskid),0); + BA.debugLineNum = 123;BA.debugLine="Return"; +Debug.ShouldStop(67108864); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 125;BA.debugLine="job.Response = Response"; +Debug.ShouldStop(268435456); +_job.setField ("_response" /*RemoteObject*/ ,_response); + BA.debugLineNum = 126;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",_response.runMethod(true,"getErrorResponse"),BA.ObjectToString(""))) { + BA.debugLineNum = 127;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; +Debug.ShouldStop(1073741824); +_completejob(_taskid,httputils2service.mostCurrent.__c.getField(true,"False"),_response.runMethod(true,"getErrorResponse")); + }else { + BA.debugLineNum = 129;BA.debugLine="CompleteJob(TaskId, False, Reason)"; +Debug.ShouldStop(1); +_completejob(_taskid,httputils2service.mostCurrent.__c.getField(true,"False"),_reason); + }; + BA.debugLineNum = 131;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hc_responsesuccess(RemoteObject _response,RemoteObject _taskid) throws Exception{ +try { + Debug.PushSubsStack("hc_ResponseSuccess (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,92); +if (RapidSub.canDelegate("hc_responsesuccess")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","hc_responsesuccess", _response, _taskid);} +RemoteObject _job = RemoteObject.declareNull("gunav2.keymon.com.mx.httpjob"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Response", _response); +Debug.locals.put("TaskId", _taskid); + BA.debugLineNum = 92;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 93;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +Debug.ShouldStop(268435456); +_job = (httputils2service._taskidtojob.runMethod(false,"Get",(Object)((_taskid))));Debug.locals.put("job", _job);Debug.locals.put("job", _job); + BA.debugLineNum = 94;BA.debugLine="If job = Null Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("n",_job)) { + BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; +Debug.ShouldStop(1073741824); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","018546691",RemoteObject.concat(RemoteObject.createImmutable("HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "),_taskid),0); + BA.debugLineNum = 96;BA.debugLine="Return"; +Debug.ShouldStop(-2147483648); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 98;BA.debugLine="job.Response = Response"; +Debug.ShouldStop(2); +_job.setField ("_response" /*RemoteObject*/ ,_response); + BA.debugLineNum = 99;BA.debugLine="Dim out As OutputStream = File.OpenOutput(TempFol"; +Debug.ShouldStop(4); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = httputils2service.mostCurrent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(httputils2service._tempfolder),(Object)(BA.NumberToString(_taskid)),(Object)(httputils2service.mostCurrent.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 103;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; +Debug.ShouldStop(64); +_response.runVoidMethod ("GetAsynchronously",httputils2service.processBA,(Object)(BA.ObjectToString("response")),(Object)((_out.getObject())),(Object)(httputils2service.mostCurrent.__c.getField(true,"True")),(Object)(_taskid)); + BA.debugLineNum = 105;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 12;BA.debugLine="Private hc As OkHttpClient"; +httputils2service._hc = RemoteObject.createNew ("anywheresoftware.b4h.okhttp.OkHttpClientWrapper"); + //BA.debugLineNum = 16;BA.debugLine="Private TaskIdToJob As Map"; +httputils2service._taskidtojob = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); + //BA.debugLineNum = 19;BA.debugLine="Public TempFolder As String"; +httputils2service._tempfolder = RemoteObject.createImmutable(""); + //BA.debugLineNum = 23;BA.debugLine="Private taskCounter As Int"; +httputils2service._taskcounter = RemoteObject.createImmutable(0); + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _receiver_receive(RemoteObject _firsttime,RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Receiver_Receive (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,58); +if (RapidSub.canDelegate("receiver_receive")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","receiver_receive", _firsttime, _startingintent);} +Debug.locals.put("FirstTime", _firsttime); +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 58;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 59;BA.debugLine="If FirstTime Then"; +Debug.ShouldStop(67108864); +if (_firsttime.get().booleanValue()) { + BA.debugLineNum = 60;BA.debugLine="Service_Create"; +Debug.ShouldStop(134217728); +_service_create(); + }; + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _response_streamfinish(RemoteObject _success,RemoteObject _taskid) throws Exception{ +try { + Debug.PushSubsStack("Response_StreamFinish (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,107); +if (RapidSub.canDelegate("response_streamfinish")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","response_streamfinish", _success, _taskid);} +Debug.locals.put("Success", _success); +Debug.locals.put("TaskId", _taskid); + BA.debugLineNum = 107;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; +Debug.ShouldStop(1024); + BA.debugLineNum = 108;BA.debugLine="If Success Then"; +Debug.ShouldStop(2048); +if (_success.get().booleanValue()) { + BA.debugLineNum = 109;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; +Debug.ShouldStop(4096); +_completejob(_taskid,_success,RemoteObject.createImmutable("")); + }else { + BA.debugLineNum = 111;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; +Debug.ShouldStop(16384); +_completejob(_taskid,_success,httputils2service.mostCurrent.__c.runMethod(false,"LastException",httputils2service.processBA).runMethod(true,"getMessage")); + }; + BA.debugLineNum = 113;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,27); +if (RapidSub.canDelegate("service_create")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","service_create");} + BA.debugLineNum = 27;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 29;BA.debugLine="TempFolder = File.DirInternalCache"; +Debug.ShouldStop(268435456); +httputils2service._tempfolder = httputils2service.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternalCache"); + BA.debugLineNum = 30;BA.debugLine="Try"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 31;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; +Debug.ShouldStop(1073741824); +httputils2service.mostCurrent.__c.getField(false,"File").runVoidMethod ("WriteString",(Object)(httputils2service._tempfolder),(Object)(BA.ObjectToString("~test.test")),(Object)(RemoteObject.createImmutable("test"))); + BA.debugLineNum = 32;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; +Debug.ShouldStop(-2147483648); +httputils2service.mostCurrent.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(httputils2service._tempfolder),(Object)(RemoteObject.createImmutable("~test.test"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e6) { + BA.rdebugUtils.runVoidMethod("setLastException",httputils2service.processBA, e6.toString()); BA.debugLineNum = 34;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(2); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","018219015",BA.ObjectToString(httputils2service.mostCurrent.__c.runMethod(false,"LastException",httputils2service.processBA)),0); + BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")"; +Debug.ShouldStop(4); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","018219016",RemoteObject.createImmutable("Switching to File.DirInternal"),0); + BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal"; +Debug.ShouldStop(8); +httputils2service._tempfolder = httputils2service.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal"); + }; + BA.debugLineNum = 41;BA.debugLine="If hc.IsInitialized = False Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",httputils2service._hc.runMethod(true,"IsInitialized"),httputils2service.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 46;BA.debugLine="hc.Initialize(\"hc\")"; +Debug.ShouldStop(8192); +httputils2service._hc.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("hc"))); + }; + BA.debugLineNum = 54;BA.debugLine="TaskIdToJob.Initialize"; +Debug.ShouldStop(2097152); +httputils2service._taskidtojob.runVoidMethod ("Initialize"); + BA.debugLineNum = 56;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,68); +if (RapidSub.canDelegate("service_destroy")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","service_destroy");} + BA.debugLineNum = 68;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(8); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,64); +if (RapidSub.canDelegate("service_start")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 64;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 66;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _submitjob(RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("SubmitJob (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,74); +if (RapidSub.canDelegate("submitjob")) { return gunav2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","submitjob", _job);} +RemoteObject _taskid = RemoteObject.createImmutable(0); +Debug.locals.put("job", _job); + BA.debugLineNum = 74;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; +Debug.ShouldStop(512); + BA.debugLineNum = 75;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",httputils2service._taskidtojob.runMethod(true,"IsInitialized"),httputils2service.mostCurrent.__c.getField(true,"False"))) { +_service_create();}; + BA.debugLineNum = 79;BA.debugLine="taskCounter = taskCounter + 1"; +Debug.ShouldStop(16384); +httputils2service._taskcounter = RemoteObject.solve(new RemoteObject[] {httputils2service._taskcounter,RemoteObject.createImmutable(1)}, "+",1, 1); + BA.debugLineNum = 80;BA.debugLine="Dim TaskId As Int = taskCounter"; +Debug.ShouldStop(32768); +_taskid = httputils2service._taskcounter;Debug.locals.put("TaskId", _taskid);Debug.locals.put("TaskId", _taskid); + BA.debugLineNum = 82;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; +Debug.ShouldStop(131072); +httputils2service._taskidtojob.runVoidMethod ("Put",(Object)((_taskid)),(Object)((_job))); + BA.debugLineNum = 83;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",_job.getField(true,"_username" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("!",_job.getField(true,"_password" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 84;BA.debugLine="hc.ExecuteCredentials(job.GetRequest, TaskId, jo"; +Debug.ShouldStop(524288); +httputils2service._hc.runVoidMethod ("ExecuteCredentials",httputils2service.processBA,(Object)(_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ )),(Object)(_taskid),(Object)(_job.getField(true,"_username" /*RemoteObject*/ )),(Object)(_job.getField(true,"_password" /*RemoteObject*/ ))); + }else { + BA.debugLineNum = 86;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; +Debug.ShouldStop(2097152); +httputils2service._hc.runVoidMethod ("Execute",httputils2service.processBA,(Object)(_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ )),(Object)(_taskid)); + }; + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/madewithlove.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/madewithlove.java new file mode 100644 index 0000000..39d8b84 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/madewithlove.java @@ -0,0 +1,35 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class madewithlove { + public static RemoteObject myClass; + public madewithlove() { + } + public static PCBA staticBA = new PCBA(null, madewithlove.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/madewithlove_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/madewithlove_subs_0.java new file mode 100644 index 0000000..a417456 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/madewithlove_subs_0.java @@ -0,0 +1,120 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class madewithlove_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (madewithlove) ","madewithlove",68,__ref.getField(false, "ba"),__ref,47); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "madewithlove","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 47;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Wid"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 49;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private mEventName As String 'ignore"; +madewithlove._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",madewithlove._meventname); + //BA.debugLineNum = 3;BA.debugLine="Private mCallBack As Object 'ignore"; +madewithlove._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",madewithlove._mcallback); + //BA.debugLineNum = 4;BA.debugLine="Public mBase As B4XView"; +madewithlove._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",madewithlove._mbase); + //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI 'ignore"; +madewithlove._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",madewithlove._xui); + //BA.debugLineNum = 6;BA.debugLine="Public Tag As Object"; +madewithlove._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",madewithlove._tag); + //BA.debugLineNum = 7;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (madewithlove) ","madewithlove",68,__ref.getField(false, "ba"),__ref,15); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "madewithlove","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 15;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 16;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 17;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 17;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 18;BA.debugLine="Dim xlbl As B4XView = Lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 33;BA.debugLine="Dim cs As CSBuilder"; +Debug.JustUpdateDeviceLine(); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 34;BA.debugLine="cs.Initialize.Append(\"Made with \").Typeface(Typef"; +Debug.JustUpdateDeviceLine(); +_cs.runMethod(false,"Initialize").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Made with ")))).runMethod(false,"Typeface",(Object)(madewithlove.__c.getField(false,"Typeface").runMethod(false,"getFONTAWESOME"))).runMethod(false,"Color",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(madewithlove.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xf004))))))).runMethod(false,"Pop").runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(" in B4X")))).runVoidMethod ("PopAll"); + BA.debugLineNum = 35;BA.debugLine="xlbl.Text = cs"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.getObject())); + BA.debugLineNum = 36;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +_xlbl.runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 37;BA.debugLine="mBase.AddView(xlbl, 0, 0, mBase.Width, mBase.Heig"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_xlbl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 45;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (madewithlove) ","madewithlove",68,__ref.getField(false, "ba"),__ref,9); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "madewithlove","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 11;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 12;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/main.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/main.java new file mode 100644 index 0000000..3085611 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/main.java @@ -0,0 +1,74 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class main implements IRemote{ + public static main mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public main() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + + public static void main (String[] args) throws Exception { + new RDebug(args[0], Integer.parseInt(args[1]), Integer.parseInt(args[2]), args[3]); + RDebug.INSTANCE.waitForTask(); + + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("main"), "gunav2.keymon.com.mx.main"); + } + +public boolean isSingleton() { + return true; + } + public static RemoteObject getObject() { + return myClass; + } + + public RemoteObject activityBA; + public RemoteObject _activity; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + activityBA = (RemoteObject) args[2]; + _activity = (RemoteObject) args[3]; + anywheresoftware.b4a.keywords.Common.Density = (Float)args[4]; + remoteMe = (RemoteObject) args[5]; + pcBA = new PCBA(this, main.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _actionbarhomeclicked = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"ActionBarHomeClicked",main._actionbarhomeclicked,"Activity",main.mostCurrent._activity,"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"DateUtils",main.mostCurrent._dateutils,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/main_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/main_subs_0.java new file mode 100644 index 0000000..24750ff --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/main_subs_0.java @@ -0,0 +1,267 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class main_subs_0 { + + +public static RemoteObject _activity_actionbarhomeclick() throws Exception{ +try { + Debug.PushSubsStack("Activity_ActionBarHomeClick (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,35); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_actionbarhomeclick");} + BA.debugLineNum = 35;BA.debugLine="Sub Activity_ActionBarHomeClick"; +Debug.ShouldStop(4); + BA.debugLineNum = 36;BA.debugLine="ActionBarHomeClicked = True"; +Debug.ShouldStop(8); +main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 37;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; +Debug.ShouldStop(16); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_actionbarhomeclick" /*RemoteObject*/ ); + BA.debugLineNum = 38;BA.debugLine="ActionBarHomeClicked = False"; +Debug.ShouldStop(32); +main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_create(RemoteObject _firsttime) throws Exception{ +try { + Debug.PushSubsStack("Activity_Create (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,27); +if (RapidSub.canDelegate("activity_create")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_create", _firsttime);} +RemoteObject _pm = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager"); +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 28;BA.debugLine="Dim pm As B4XPagesManager"; +Debug.ShouldStop(134217728); +_pm = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xpagesmanager");Debug.locals.put("pm", _pm); + BA.debugLineNum = 29;BA.debugLine="pm.Initialize(Activity)"; +Debug.ShouldStop(268435456); +_pm.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_initialize" /*RemoteObject*/ ,main.mostCurrent.activityBA,(Object)(main.mostCurrent._activity)); + BA.debugLineNum = 30;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_keypress(RemoteObject _keycode) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,41); +if (RapidSub.canDelegate("activity_keypress")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_keypress", _keycode);} +Debug.locals.put("KeyCode", _keycode); + BA.debugLineNum = 41;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; +Debug.ShouldStop(256); + BA.debugLineNum = 42;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; +Debug.ShouldStop(512); +if (true) return main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_keypress" /*RemoteObject*/ ,(Object)(_keycode)); + BA.debugLineNum = 43;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,49); +if (RapidSub.canDelegate("activity_pause")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 49;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 50;BA.debugLine="B4XPages.Delegate.Activity_Pause"; +Debug.ShouldStop(131072); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_pause" /*RemoteObject*/ ); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_permissionresult(RemoteObject _permission,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("Activity_PermissionResult (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,53); +if (RapidSub.canDelegate("activity_permissionresult")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_permissionresult", _permission, _result);} +Debug.locals.put("Permission", _permission); +Debug.locals.put("Result", _result); + BA.debugLineNum = 53;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 54;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; +Debug.ShouldStop(2097152); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_permissionresult" /*RemoteObject*/ ,(Object)(_permission),(Object)(_result)); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,45); +if (RapidSub.canDelegate("activity_resume")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_resume");} + BA.debugLineNum = 45;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(4096); + BA.debugLineNum = 46;BA.debugLine="B4XPages.Delegate.Activity_Resume"; +Debug.ShouldStop(8192); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_resume" /*RemoteObject*/ ); + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _create_menu(RemoteObject _menu) throws Exception{ +try { + Debug.PushSubsStack("Create_Menu (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,57); +if (RapidSub.canDelegate("create_menu")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","create_menu", _menu);} +Debug.locals.put("Menu", _menu); + BA.debugLineNum = 57;BA.debugLine="Sub Create_Menu (Menu As Object)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 58;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; +Debug.ShouldStop(33554432); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_create_menu" /*RemoteObject*/ ,(Object)(_menu)); + BA.debugLineNum = 59;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _globals() throws Exception{ + //BA.debugLineNum = 23;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} + +public static void initializeProcessGlobals() { + + if (main.processGlobalsRun == false) { + main.processGlobalsRun = true; + try { + main_subs_0._process_globals(); +starter_subs_0._process_globals(); +subs_subs_0._process_globals(); +appupdater_subs_0._process_globals(); +tracker_subs_0._process_globals(); +firebasemessaging_subs_0._process_globals(); +mapa_rutas_subs_0._process_globals(); +newinst2_subs_0._process_globals(); +b4xpages_subs_0._process_globals(); +b4xcollections_subs_0._process_globals(); +httputils2service_subs_0._process_globals(); +xuiviewsutils_subs_0._process_globals(); +main.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.main"); +starter.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.starter"); +b4xmainpage.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xmainpage"); +c_principal.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_principal"); +subs.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.subs"); +c_cliente.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_cliente"); +c_noventa.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_noventa"); +c_productos.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_productos"); +c_ticketsdia.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_ticketsdia"); +c_bitacora.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_bitacora"); +appupdater.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.appupdater"); +c_clientescompletos.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_clientescompletos"); +c_clientes.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_clientes"); +tracker.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.tracker"); +v_tclientes.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.v_tclientes"); +batteryutilities.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.batteryutilities"); +c_cuestionario.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_cuestionario"); +c_historico.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_historico"); +c_historico2.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_historico2"); +c_historicobat.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_historicobat"); +c_mapas.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_mapas"); +c_nota.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_nota"); +c_nuevocliente.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_nuevocliente"); +c_pedidos.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_pedidos"); +c_promos.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_promos"); +c_updateavailable.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_updateavailable"); +cameraexclass.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.cameraexclass"); +cpdf.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.cpdf"); +dbrequestmanager.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.dbrequestmanager"); +escposprinter.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.escposprinter"); +firebasemessaging.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.firebasemessaging"); +mapa_rutas.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.mapa_rutas"); +cl_appupdate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.cl_appupdate"); +newinst2.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.newinst2"); +b4xpages.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xpages"); +b4xbitset.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xbitset"); +b4xbytesbuilder.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xbytesbuilder"); +b4xcache.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcache"); +b4xcollections.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcollections"); +b4xcomparatorsort.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcomparatorsort"); +b4xorderedmap.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xorderedmap"); +b4xset.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xset"); +b4xpagesdelegator.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xpagesdelegator"); +b4xpagesmanager.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xpagesmanager"); +fileprovider.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.fileprovider"); +httputils2service.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.httputils2service"); +httpjob.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.httpjob"); +preoptimizedclv.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.preoptimizedclv"); +animatedcounter.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.animatedcounter"); +anotherprogressbar.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.anotherprogressbar"); +b4xbreadcrumb.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xbreadcrumb"); +b4xcolortemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcolortemplate"); +b4xcombobox.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcombobox"); +b4xdatetemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xdatetemplate"); +b4xdialog.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xdialog"); +b4xfloattextfield.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xfloattextfield"); +b4ximageview.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4ximageview"); +b4xinputtemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xinputtemplate"); +b4xlisttemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xlisttemplate"); +b4xloadingindicator.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xloadingindicator"); +b4xlongtexttemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xlongtexttemplate"); +b4xplusminus.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xplusminus"); +b4xradiobutton.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xradiobutton"); +b4xsearchtemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xsearchtemplate"); +b4xseekbar.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xseekbar"); +b4xsignaturetemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xsignaturetemplate"); +b4xswitch.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xswitch"); +b4xtimedtemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xtimedtemplate"); +madewithlove.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.madewithlove"); +b4xformatter.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xformatter"); +roundslider.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.roundslider"); +scrollinglabel.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.scrollinglabel"); +swiftbutton.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.swiftbutton"); +xuiviewsutils.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.xuiviewsutils"); + + } catch (Exception e) { + throw new RuntimeException(e); + } + } +}public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 19;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 20;BA.debugLine="Public ActionBarHomeClicked As Boolean"; +main._actionbarhomeclicked = RemoteObject.createImmutable(false); + //BA.debugLineNum = 21;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/main_subs_1.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/main_subs_1.java new file mode 100644 index 0000000..ae33547 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/main_subs_1.java @@ -0,0 +1,267 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class main_subs_1 { + + +public static RemoteObject _activity_actionbarhomeclick() throws Exception{ +try { + Debug.PushSubsStack("Activity_ActionBarHomeClick (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,35); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_actionbarhomeclick");} + BA.debugLineNum = 35;BA.debugLine="Sub Activity_ActionBarHomeClick"; +Debug.ShouldStop(4); + BA.debugLineNum = 36;BA.debugLine="ActionBarHomeClicked = True"; +Debug.ShouldStop(8); +main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 37;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; +Debug.ShouldStop(16); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_actionbarhomeclick" /*RemoteObject*/ ); + BA.debugLineNum = 38;BA.debugLine="ActionBarHomeClicked = False"; +Debug.ShouldStop(32); +main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_create(RemoteObject _firsttime) throws Exception{ +try { + Debug.PushSubsStack("Activity_Create (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,27); +if (RapidSub.canDelegate("activity_create")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_create", _firsttime);} +RemoteObject _pm = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xpagesmanager"); +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 28;BA.debugLine="Dim pm As B4XPagesManager"; +Debug.ShouldStop(134217728); +_pm = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xpagesmanager");Debug.locals.put("pm", _pm); + BA.debugLineNum = 29;BA.debugLine="pm.Initialize(Activity)"; +Debug.ShouldStop(268435456); +_pm.runClassMethod (gunav2.keymon.com.mx.b4xpagesmanager.class, "_initialize" /*RemoteObject*/ ,main.mostCurrent.activityBA,(Object)(main.mostCurrent._activity)); + BA.debugLineNum = 30;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_keypress(RemoteObject _keycode) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,41); +if (RapidSub.canDelegate("activity_keypress")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_keypress", _keycode);} +Debug.locals.put("KeyCode", _keycode); + BA.debugLineNum = 41;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; +Debug.ShouldStop(256); + BA.debugLineNum = 42;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; +Debug.ShouldStop(512); +if (true) return main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_keypress" /*RemoteObject*/ ,(Object)(_keycode)); + BA.debugLineNum = 43;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,49); +if (RapidSub.canDelegate("activity_pause")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 49;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 50;BA.debugLine="B4XPages.Delegate.Activity_Pause"; +Debug.ShouldStop(131072); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_pause" /*RemoteObject*/ ); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_permissionresult(RemoteObject _permission,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("Activity_PermissionResult (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,53); +if (RapidSub.canDelegate("activity_permissionresult")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_permissionresult", _permission, _result);} +Debug.locals.put("Permission", _permission); +Debug.locals.put("Result", _result); + BA.debugLineNum = 53;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 54;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; +Debug.ShouldStop(2097152); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_permissionresult" /*RemoteObject*/ ,(Object)(_permission),(Object)(_result)); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,45); +if (RapidSub.canDelegate("activity_resume")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_resume");} + BA.debugLineNum = 45;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(4096); + BA.debugLineNum = 46;BA.debugLine="B4XPages.Delegate.Activity_Resume"; +Debug.ShouldStop(8192); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_activity_resume" /*RemoteObject*/ ); + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _create_menu(RemoteObject _menu) throws Exception{ +try { + Debug.PushSubsStack("Create_Menu (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,57); +if (RapidSub.canDelegate("create_menu")) { return gunav2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","create_menu", _menu);} +Debug.locals.put("Menu", _menu); + BA.debugLineNum = 57;BA.debugLine="Sub Create_Menu (Menu As Object)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 58;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; +Debug.ShouldStop(33554432); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (gunav2.keymon.com.mx.b4xpagesdelegator.class, "_create_menu" /*RemoteObject*/ ,(Object)(_menu)); + BA.debugLineNum = 59;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _globals() throws Exception{ + //BA.debugLineNum = 23;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} + +public static void initializeProcessGlobals() { + + if (main.processGlobalsRun == false) { + main.processGlobalsRun = true; + try { + main_subs_0._process_globals(); +starter_subs_0._process_globals(); +subs_subs_0._process_globals(); +appupdater_subs_0._process_globals(); +tracker_subs_0._process_globals(); +firebasemessaging_subs_0._process_globals(); +mapa_rutas_subs_0._process_globals(); +newinst2_subs_0._process_globals(); +b4xpages_subs_0._process_globals(); +b4xcollections_subs_0._process_globals(); +httputils2service_subs_0._process_globals(); +xuiviewsutils_subs_0._process_globals(); +main.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.main"); +starter.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.starter"); +b4xmainpage.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xmainpage"); +c_principal.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_principal"); +subs.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.subs"); +c_cliente.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_cliente"); +c_noventa.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_noventa"); +c_productos.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_productos"); +c_ticketsdia.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_ticketsdia"); +c_bitacora.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_bitacora"); +appupdater.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.appupdater"); +c_clientescompletos.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_clientescompletos"); +c_clientes.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_clientes"); +tracker.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.tracker"); +v_tclientes.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.v_tclientes"); +batteryutilities.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.batteryutilities"); +c_cuestionario.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_cuestionario"); +c_historico.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_historico"); +c_historico2.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_historico2"); +c_historicobat.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_historicobat"); +c_mapas.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_mapas"); +c_nota.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_nota"); +c_nuevocliente.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_nuevocliente"); +c_pedidos.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_pedidos"); +c_promos.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_promos"); +c_updateavailable.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.c_updateavailable"); +cameraexclass.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.cameraexclass"); +cpdf.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.cpdf"); +dbrequestmanager.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.dbrequestmanager"); +escposprinter.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.escposprinter"); +firebasemessaging.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.firebasemessaging"); +mapa_rutas.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.mapa_rutas"); +cl_appupdate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.cl_appupdate"); +newinst2.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.newinst2"); +b4xpages.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xpages"); +b4xbitset.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xbitset"); +b4xbytesbuilder.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xbytesbuilder"); +b4xcache.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcache"); +b4xcollections.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcollections"); +b4xcomparatorsort.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcomparatorsort"); +b4xorderedmap.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xorderedmap"); +b4xset.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xset"); +b4xpagesdelegator.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xpagesdelegator"); +b4xpagesmanager.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xpagesmanager"); +fileprovider.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.fileprovider"); +httputils2service.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.httputils2service"); +httpjob.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.httpjob"); +preoptimizedclv.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.preoptimizedclv"); +animatedcounter.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.animatedcounter"); +anotherprogressbar.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.anotherprogressbar"); +b4xbreadcrumb.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xbreadcrumb"); +b4xcolortemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcolortemplate"); +b4xcombobox.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xcombobox"); +b4xdatetemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xdatetemplate"); +b4xdialog.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xdialog"); +b4xfloattextfield.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xfloattextfield"); +b4ximageview.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4ximageview"); +b4xinputtemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xinputtemplate"); +b4xlisttemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xlisttemplate"); +b4xloadingindicator.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xloadingindicator"); +b4xlongtexttemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xlongtexttemplate"); +b4xplusminus.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xplusminus"); +b4xradiobutton.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xradiobutton"); +b4xsearchtemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xsearchtemplate"); +b4xseekbar.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xseekbar"); +b4xsignaturetemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xsignaturetemplate"); +b4xswitch.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xswitch"); +b4xtimedtemplate.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xtimedtemplate"); +madewithlove.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.madewithlove"); +b4xformatter.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.b4xformatter"); +roundslider.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.roundslider"); +scrollinglabel.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.scrollinglabel"); +swiftbutton.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.swiftbutton"); +xuiviewsutils.myClass = BA.getDeviceClass ("gunav2.keymon.com.mx.xuiviewsutils"); + + } catch (Exception e) { + throw new RuntimeException(e); + } + } +}public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 19;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 20;BA.debugLine="Public ActionBarHomeClicked As Boolean"; +main._actionbarhomeclicked = RemoteObject.createImmutable(false); + //BA.debugLineNum = 21;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/mapa_rutas.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/mapa_rutas.java new file mode 100644 index 0000000..a2a4f83 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/mapa_rutas.java @@ -0,0 +1,117 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class mapa_rutas implements IRemote{ + public static mapa_rutas mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public mapa_rutas() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + + public static void main (String[] args) throws Exception { + new RDebug(args[0], Integer.parseInt(args[1]), Integer.parseInt(args[2]), args[3]); + RDebug.INSTANCE.waitForTask(); + + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("mapa_rutas"), "gunav2.keymon.com.mx.mapa_rutas"); + } + +public boolean isSingleton() { + return true; + } + public static RemoteObject getObject() { + return myClass; + } + + public RemoteObject activityBA; + public RemoteObject _activity; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + activityBA = (RemoteObject) args[2]; + _activity = (RemoteObject) args[3]; + anywheresoftware.b4a.keywords.Common.Density = (Float)args[4]; + remoteMe = (RemoteObject) args[5]; + pcBA = new PCBA(this, mapa_rutas.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _gps = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c22 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _gmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper"); +public static RemoteObject _mapfragment1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper"); +public static RemoteObject _latitud = RemoteObject.createImmutable(0); +public static RemoteObject _longitud = RemoteObject.createImmutable(0); +public static RemoteObject _lat2 = RemoteObject.createImmutable(0); +public static RemoteObject _lon2 = RemoteObject.createImmutable(0); +public static RemoteObject _p1 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _p2 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _distance = RemoteObject.createImmutable(0f); +public static RemoteObject _boton1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _hue_blue = RemoteObject.createImmutable(0f); +public static RemoteObject _hue_red = RemoteObject.createImmutable(0f); +public static RemoteObject _hue_green = RemoteObject.createImmutable(0f); +public static RemoteObject _b_azul = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_rojo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_verde = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_todos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _tienda = RemoteObject.createImmutable(""); +public static RemoteObject _latitudru = RemoteObject.createImmutable(0); +public static RemoteObject _longitudru = RemoteObject.createImmutable(0); +public static RemoteObject _list_azul = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _list_rojo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _list_verde = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mark_azul = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +public static RemoteObject _mark_rojo = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +public static RemoteObject _mark_verde = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +public static RemoteObject _mark_cedis = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +public static RemoteObject _rojo = RemoteObject.createImmutable(""); +public static RemoteObject _azul = RemoteObject.createImmutable(""); +public static RemoteObject _verde = RemoteObject.createImmutable(""); +public static RemoteObject _todos = RemoteObject.createImmutable(""); +public static RemoteObject _numserie = RemoteObject.createImmutable(0); +public static RemoteObject _oninfowindowclicklistener1 = RemoteObject.declareNull("uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener"); +public static RemoteObject _googlemapextra = RemoteObject.declareNull("uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras"); +public static RemoteObject _codigo = RemoteObject.createImmutable(""); +public static RemoteObject _semana = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"Activity",mapa_rutas.mostCurrent._activity,"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"azul",mapa_rutas.mostCurrent._azul,"B_AZUL",mapa_rutas.mostCurrent._b_azul,"B_ROJO",mapa_rutas.mostCurrent._b_rojo,"B_TODOS",mapa_rutas.mostCurrent._b_todos,"B_VERDE",mapa_rutas.mostCurrent._b_verde,"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"boton1",mapa_rutas.mostCurrent._boton1,"c",mapa_rutas._c,"c2",mapa_rutas._c2,"c22",mapa_rutas._c22,"c3",mapa_rutas._c3,"CODIGO",mapa_rutas.mostCurrent._codigo,"DateUtils",mapa_rutas.mostCurrent._dateutils,"Distance",mapa_rutas._distance,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"gmap",mapa_rutas.mostCurrent._gmap,"GoogleMapEXTRA",mapa_rutas.mostCurrent._googlemapextra,"GPS",mapa_rutas._gps,"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"HUE_BLUE",mapa_rutas._hue_blue,"HUE_GREEN",mapa_rutas._hue_green,"HUE_RED",mapa_rutas._hue_red,"Lat2",mapa_rutas._lat2,"Latitud",mapa_rutas._latitud,"LatitudRu",mapa_rutas._latitudru,"LIST_AZUL",mapa_rutas.mostCurrent._list_azul,"LIST_ROJO",mapa_rutas.mostCurrent._list_rojo,"LIST_VERDE",mapa_rutas.mostCurrent._list_verde,"Lon2",mapa_rutas._lon2,"Longitud",mapa_rutas._longitud,"LongitudRU",mapa_rutas._longitudru,"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MapFragment1",mapa_rutas.mostCurrent._mapfragment1,"MARK_AZUL",mapa_rutas.mostCurrent._mark_azul,"MARK_CEDIS",mapa_rutas.mostCurrent._mark_cedis,"MARK_ROJO",mapa_rutas.mostCurrent._mark_rojo,"MARK_VERDE",mapa_rutas.mostCurrent._mark_verde,"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"NumSerie",mapa_rutas._numserie,"OnInfoWindowClickListener1",mapa_rutas.mostCurrent._oninfowindowclicklistener1,"p1",mapa_rutas.mostCurrent._p1,"p2",mapa_rutas.mostCurrent._p2,"rojo",mapa_rutas.mostCurrent._rojo,"rp",mapa_rutas._rp,"ruta",mapa_rutas._ruta,"SEMANA",mapa_rutas.mostCurrent._semana,"skmt",mapa_rutas._skmt,"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"Tienda",mapa_rutas.mostCurrent._tienda,"todos",mapa_rutas.mostCurrent._todos,"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"verde",mapa_rutas.mostCurrent._verde,"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/mapa_rutas_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/mapa_rutas_subs_0.java new file mode 100644 index 0000000..a91b18a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/mapa_rutas_subs_0.java @@ -0,0 +1,1122 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class mapa_rutas_subs_0 { + + +public static RemoteObject _activity_create(RemoteObject _firsttime) throws Exception{ +try { + Debug.PushSubsStack("Activity_Create (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,56); +if (RapidSub.canDelegate("activity_create")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_create", _firsttime);} +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 56;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 57;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; +Debug.ShouldStop(16777216); +mapa_rutas.mostCurrent._activity.runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("MAPA_RUTAS")),mapa_rutas.mostCurrent.activityBA); + BA.debugLineNum = 61;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(268435456); +mapa_rutas._ruta = mapa_rutas.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal"); + BA.debugLineNum = 63;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",mapa_rutas.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(mapa_rutas._ruta),(Object)(RemoteObject.createImmutable("kmt.db"))),mapa_rutas.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 64;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(-2147483648); +mapa_rutas.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(mapa_rutas.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(mapa_rutas._ruta),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 66;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(2); +mapa_rutas._skmt.runVoidMethod ("Initialize",(Object)(mapa_rutas._ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(mapa_rutas.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 68;BA.debugLine="If(FirstTime) Then"; +Debug.ShouldStop(8); +if ((_firsttime).get().booleanValue()) { + BA.debugLineNum = 69;BA.debugLine="GPS.Initialize(\"GPS\")"; +Debug.ShouldStop(16); +mapa_rutas._gps.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + }; + BA.debugLineNum = 72;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",mapa_rutas.mostCurrent._mapfragment1.runMethod(true,"IsGooglePlayServicesAvailable",mapa_rutas.mostCurrent.activityBA),mapa_rutas.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 73;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; +Debug.ShouldStop(256); +mapa_rutas.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Please install Google Play Services.")),(Object)(mapa_rutas.mostCurrent.__c.getField(true,"True"))); + }; + BA.debugLineNum = 84;BA.debugLine="MARK_AZUL.IsInitialized"; +Debug.ShouldStop(524288); +mapa_rutas.mostCurrent._mark_azul.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 85;BA.debugLine="MARK_ROJO.IsInitialized"; +Debug.ShouldStop(1048576); +mapa_rutas.mostCurrent._mark_rojo.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 86;BA.debugLine="MARK_VERDE.IsInitialized"; +Debug.ShouldStop(2097152); +mapa_rutas.mostCurrent._mark_verde.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 88;BA.debugLine="LIST_AZUL.Initialize"; +Debug.ShouldStop(8388608); +mapa_rutas.mostCurrent._list_azul.runVoidMethod ("Initialize"); + BA.debugLineNum = 89;BA.debugLine="LIST_ROJO.Initialize"; +Debug.ShouldStop(16777216); +mapa_rutas.mostCurrent._list_rojo.runVoidMethod ("Initialize"); + BA.debugLineNum = 90;BA.debugLine="LIST_VERDE.Initialize"; +Debug.ShouldStop(33554432); +mapa_rutas.mostCurrent._list_verde.runVoidMethod ("Initialize"); + BA.debugLineNum = 92;BA.debugLine="verde = 0"; +Debug.ShouldStop(134217728); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 93;BA.debugLine="azul = 0"; +Debug.ShouldStop(268435456); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 94;BA.debugLine="rojo = 0"; +Debug.ShouldStop(536870912); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 95;BA.debugLine="todos = 1"; +Debug.ShouldStop(1073741824); +mapa_rutas.mostCurrent._todos = BA.NumberToString(1); + BA.debugLineNum = 96;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) AS CUANTOS fro"; +Debug.ShouldStop(-2147483648); +mapa_rutas._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), mapa_rutas._skmt.runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) AS CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SEMANA")})))); + BA.debugLineNum = 97;BA.debugLine="c.Position =0"; +Debug.ShouldStop(1); +mapa_rutas._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 98;BA.debugLine="SEMANA = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(2); +mapa_rutas.mostCurrent._semana = mapa_rutas._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))); + BA.debugLineNum = 99;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +mapa_rutas._c.runVoidMethod ("Close"); + BA.debugLineNum = 101;BA.debugLine="If SEMANA > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, mapa_rutas.mostCurrent._semana),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 102;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; +Debug.ShouldStop(32); +mapa_rutas._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), mapa_rutas._skmt.runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SEMANA")})))); + BA.debugLineNum = 103;BA.debugLine="c.Position =0"; +Debug.ShouldStop(64); +mapa_rutas._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 104;BA.debugLine="SEMANA = c.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(128); +mapa_rutas.mostCurrent._semana = mapa_rutas._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))); + BA.debugLineNum = 105;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +mapa_rutas._c.runVoidMethod ("Close"); + }; + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,269); +if (RapidSub.canDelegate("activity_pause")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 269;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 270;BA.debugLine="GPS.Stop"; +Debug.ShouldStop(8192); +mapa_rutas._gps.runVoidMethod ("Stop"); + BA.debugLineNum = 271;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,259); +if (RapidSub.canDelegate("activity_resume")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_resume");} + BA.debugLineNum = 259;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(4); + BA.debugLineNum = 261;BA.debugLine="If GPS.GPSEnabled = False Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",mapa_rutas._gps.runMethod(true,"getGPSEnabled"),mapa_rutas.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 262;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +Debug.ShouldStop(32); +mapa_rutas.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo.")),(Object)(mapa_rutas.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 263;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; +Debug.ShouldStop(64); +mapa_rutas.mostCurrent.__c.runVoidMethod ("StartActivity",mapa_rutas.processBA,(Object)((mapa_rutas._gps.runMethod(false,"getLocationSettingsIntent")))); + }else { + BA.debugLineNum = 265;BA.debugLine="GPS.Start(0, 0)"; +Debug.ShouldStop(256); +mapa_rutas._gps.runVoidMethodAndSync ("Start",mapa_rutas.processBA,(Object)(BA.numberCast(long.class, 0)),(Object)(BA.numberCast(float.class, 0))); + }; + BA.debugLineNum = 267;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_azul_click() throws Exception{ +try { + Debug.PushSubsStack("B_AZUL_Click (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,305); +if (RapidSub.canDelegate("b_azul_click")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_azul_click");} + BA.debugLineNum = 305;BA.debugLine="Sub B_AZUL_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 306;BA.debugLine="azul = 1"; +Debug.ShouldStop(131072); +mapa_rutas.mostCurrent._azul = BA.NumberToString(1); + BA.debugLineNum = 307;BA.debugLine="verde = 0"; +Debug.ShouldStop(262144); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 308;BA.debugLine="rojo = 0"; +Debug.ShouldStop(524288); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 309;BA.debugLine="todos = 0"; +Debug.ShouldStop(1048576); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 310;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(2097152); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 312;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(8388608); +_mapfragment1_ready(); + BA.debugLineNum = 314;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_rojo_click() throws Exception{ +try { + Debug.PushSubsStack("B_ROJO_Click (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,294); +if (RapidSub.canDelegate("b_rojo_click")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_rojo_click");} + BA.debugLineNum = 294;BA.debugLine="Sub B_ROJO_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 295;BA.debugLine="rojo = 1"; +Debug.ShouldStop(64); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(1); + BA.debugLineNum = 296;BA.debugLine="verde = 0"; +Debug.ShouldStop(128); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 297;BA.debugLine="azul = 0"; +Debug.ShouldStop(256); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 298;BA.debugLine="todos = 0"; +Debug.ShouldStop(512); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 299;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(1024); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 301;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(4096); +_mapfragment1_ready(); + BA.debugLineNum = 303;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_todos_click() throws Exception{ +try { + Debug.PushSubsStack("B_TODOS_Click (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,274); +if (RapidSub.canDelegate("b_todos_click")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_todos_click");} + BA.debugLineNum = 274;BA.debugLine="Sub B_TODOS_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 275;BA.debugLine="todos =1"; +Debug.ShouldStop(262144); +mapa_rutas.mostCurrent._todos = BA.NumberToString(1); + BA.debugLineNum = 276;BA.debugLine="verde = 0"; +Debug.ShouldStop(524288); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 277;BA.debugLine="azul = 0"; +Debug.ShouldStop(1048576); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 278;BA.debugLine="rojo = 0"; +Debug.ShouldStop(2097152); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 280;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(8388608); +_mapfragment1_ready(); + BA.debugLineNum = 282;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_verde_click() throws Exception{ +try { + Debug.PushSubsStack("B_VERDE_Click (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,284); +if (RapidSub.canDelegate("b_verde_click")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_verde_click");} + BA.debugLineNum = 284;BA.debugLine="Sub B_VERDE_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 285;BA.debugLine="verde = 1"; +Debug.ShouldStop(268435456); +mapa_rutas.mostCurrent._verde = BA.NumberToString(1); + BA.debugLineNum = 286;BA.debugLine="azul = 0"; +Debug.ShouldStop(536870912); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 287;BA.debugLine="rojo = 0"; +Debug.ShouldStop(1073741824); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 288;BA.debugLine="todos = 0"; +Debug.ShouldStop(-2147483648); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 289;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(1); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 290;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(2); +_mapfragment1_ready(); + BA.debugLineNum = 292;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _globals() throws Exception{ + //BA.debugLineNum = 18;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 19;BA.debugLine="Private gmap As GoogleMap"; +mapa_rutas.mostCurrent._gmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper"); + //BA.debugLineNum = 20;BA.debugLine="Private MapFragment1 As MapFragment"; +mapa_rutas.mostCurrent._mapfragment1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper"); + //BA.debugLineNum = 21;BA.debugLine="Dim Latitud As Double = 0"; +mapa_rutas._latitud = BA.numberCast(double.class, 0); + //BA.debugLineNum = 22;BA.debugLine="Dim Longitud As Double = 0"; +mapa_rutas._longitud = BA.numberCast(double.class, 0); + //BA.debugLineNum = 23;BA.debugLine="Dim Lat2 As Double = 0"; +mapa_rutas._lat2 = BA.numberCast(double.class, 0); + //BA.debugLineNum = 24;BA.debugLine="Dim Lon2 As Double = 0"; +mapa_rutas._lon2 = BA.numberCast(double.class, 0); + //BA.debugLineNum = 25;BA.debugLine="Dim p1, p2 As Location"; +mapa_rutas.mostCurrent._p1 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); +mapa_rutas.mostCurrent._p2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); + //BA.debugLineNum = 26;BA.debugLine="Dim Distance As Float"; +mapa_rutas._distance = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 27;BA.debugLine="Dim boton1 As Button"; +mapa_rutas.mostCurrent._boton1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 28;BA.debugLine="Dim HUE_BLUE As Float"; +mapa_rutas._hue_blue = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 29;BA.debugLine="Dim HUE_RED As Float"; +mapa_rutas._hue_red = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 30;BA.debugLine="Dim HUE_GREEN As Float"; +mapa_rutas._hue_green = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 31;BA.debugLine="Private B_AZUL As Button"; +mapa_rutas.mostCurrent._b_azul = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 32;BA.debugLine="Private B_ROJO As Button"; +mapa_rutas.mostCurrent._b_rojo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 33;BA.debugLine="Private B_VERDE As Button"; +mapa_rutas.mostCurrent._b_verde = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 34;BA.debugLine="Private B_TODOS As Button"; +mapa_rutas.mostCurrent._b_todos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 35;BA.debugLine="Dim Tienda As String"; +mapa_rutas.mostCurrent._tienda = RemoteObject.createImmutable(""); + //BA.debugLineNum = 36;BA.debugLine="Dim LatitudRu As Double"; +mapa_rutas._latitudru = RemoteObject.createImmutable(0); + //BA.debugLineNum = 37;BA.debugLine="Dim LongitudRU As Double"; +mapa_rutas._longitudru = RemoteObject.createImmutable(0); + //BA.debugLineNum = 38;BA.debugLine="Dim LIST_AZUL As List"; +mapa_rutas.mostCurrent._list_azul = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); + //BA.debugLineNum = 39;BA.debugLine="Dim LIST_ROJO As List"; +mapa_rutas.mostCurrent._list_rojo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); + //BA.debugLineNum = 40;BA.debugLine="Dim LIST_VERDE As List"; +mapa_rutas.mostCurrent._list_verde = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); + //BA.debugLineNum = 41;BA.debugLine="Dim MARK_AZUL As Marker"; +mapa_rutas.mostCurrent._mark_azul = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); + //BA.debugLineNum = 42;BA.debugLine="Dim MARK_ROJO As Marker"; +mapa_rutas.mostCurrent._mark_rojo = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); + //BA.debugLineNum = 43;BA.debugLine="Dim MARK_VERDE As Marker"; +mapa_rutas.mostCurrent._mark_verde = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); + //BA.debugLineNum = 44;BA.debugLine="Dim MARK_CEDIS As Marker"; +mapa_rutas.mostCurrent._mark_cedis = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); + //BA.debugLineNum = 45;BA.debugLine="Dim rojo As String"; +mapa_rutas.mostCurrent._rojo = RemoteObject.createImmutable(""); + //BA.debugLineNum = 46;BA.debugLine="Dim azul As String"; +mapa_rutas.mostCurrent._azul = RemoteObject.createImmutable(""); + //BA.debugLineNum = 47;BA.debugLine="Dim verde As String"; +mapa_rutas.mostCurrent._verde = RemoteObject.createImmutable(""); + //BA.debugLineNum = 48;BA.debugLine="Dim todos As String"; +mapa_rutas.mostCurrent._todos = RemoteObject.createImmutable(""); + //BA.debugLineNum = 49;BA.debugLine="Dim NumSerie As Int"; +mapa_rutas._numserie = RemoteObject.createImmutable(0); + //BA.debugLineNum = 50;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; +mapa_rutas.mostCurrent._oninfowindowclicklistener1 = RemoteObject.createNew ("uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener"); + //BA.debugLineNum = 51;BA.debugLine="Dim GoogleMapEXTRA As GoogleMapsExtras"; +mapa_rutas.mostCurrent._googlemapextra = RemoteObject.createNew ("uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras"); + //BA.debugLineNum = 52;BA.debugLine="Dim CODIGO As String"; +mapa_rutas.mostCurrent._codigo = RemoteObject.createImmutable(""); + //BA.debugLineNum = 53;BA.debugLine="Private SEMANA As String"; +mapa_rutas.mostCurrent._semana = RemoteObject.createImmutable(""); + //BA.debugLineNum = 54;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject _parametro) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,238); +if (RapidSub.canDelegate("gps_locationchanged")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","gps_locationchanged", _parametro);} +Debug.locals.put("Parametro", _parametro); + BA.debugLineNum = 238;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 239;BA.debugLine="MARK_CEDIS.IsInitialized"; +Debug.ShouldStop(16384); +mapa_rutas.mostCurrent._mark_cedis.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 257;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _mapfragment1_ready() throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_Ready (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,111); +if (RapidSub.canDelegate("mapfragment1_ready")) { gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","mapfragment1_ready"); return;} +ResumableSub_MapFragment1_Ready rsub = new ResumableSub_MapFragment1_Ready(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_MapFragment1_Ready extends BA.ResumableSub { +public ResumableSub_MapFragment1_Ready(gunav2.keymon.com.mx.mapa_rutas parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +gunav2.keymon.com.mx.mapa_rutas parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); +RemoteObject _javamapsobject = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +int _i = 0; +RemoteObject _aa = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper"); +int step15; +int limit15; +int step33; +int limit33; +int step46; +int limit46; +int step62; +int limit62; +int step75; +int limit75; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_Ready (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,111); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 112;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")"; +Debug.ShouldStop(32768); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","093126657",RemoteObject.createImmutable("ENTRANDO MapFragment1_Ready"),0); + BA.debugLineNum = 113;BA.debugLine="gmap = MapFragment1.GetMap"; +Debug.ShouldStop(65536); +parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.runMethod(false,"GetMap"); + BA.debugLineNum = 114;BA.debugLine="gmap.IsInitialized"; +Debug.ShouldStop(131072); +parent.mostCurrent._gmap.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 118;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +Debug.ShouldStop(2097152); +parent._rp.runVoidMethod ("CheckAndRequest",mapa_rutas.processBA,(Object)(parent._rp.getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 119;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +Debug.ShouldStop(4194304); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","activity_permissionresult", mapa_rutas.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "mapa_rutas", "mapfragment1_ready"), null); +this.state = 76; +return; +case 76: +//C +this.state = 1; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(0));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 120;BA.debugLine="gmap.MyLocationEnabled = Result"; +Debug.ShouldStop(8388608); +parent.mostCurrent._gmap.runMethod(true,"setMyLocationEnabled",_result); + BA.debugLineNum = 122;BA.debugLine="Dim JavaMapsObject As JavaObject"; +Debug.ShouldStop(33554432); +_javamapsobject = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("JavaMapsObject", _javamapsobject); + BA.debugLineNum = 123;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; +Debug.ShouldStop(67108864); +_javamapsobject = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), parent.mostCurrent._gmap.runMethod(false,"GetUiSettings").getObject());Debug.locals.put("JavaMapsObject", _javamapsobject); + BA.debugLineNum = 124;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +Debug.ShouldStop(134217728); +_javamapsobject.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setMapToolbarEnabled")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(parent.mostCurrent.__c.getField(true,"True"))}))); + BA.debugLineNum = 126;BA.debugLine="If azul = 1 Or todos = 1 Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 1: +//if +this.state = 30; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._azul,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 127;BA.debugLine="c.IsInitialized"; +Debug.ShouldStop(1073741824); +parent._c.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 128;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO"; +Debug.ShouldStop(-2147483648); +parent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info3 where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' ")))); + BA.debugLineNum = 129;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(1); +parent._skmt.runVoidMethod ("Initialize",(Object)(parent._ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 130;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 4: +//if +this.state = 23; +if (RemoteObject.solveBoolean(">",parent._c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 131;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(4); +if (true) break; + +case 7: +//for +this.state = 22; +step15 = 1; +limit15 = RemoteObject.solve(new RemoteObject[] {parent._c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 77; +if (true) break; + +case 77: +//C +this.state = 22; +if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 9; +if (true) break; + +case 78: +//C +this.state = 77; +_i = ((int)(0 + _i + step15)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 132;BA.debugLine="c.Position = i"; +Debug.ShouldStop(8); +parent._c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 134;BA.debugLine="LatitudRu = 0"; +Debug.ShouldStop(32); +parent._latitudru = BA.numberCast(double.class, 0); + BA.debugLineNum = 135;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu"; +Debug.ShouldStop(64); +if (true) break; + +case 10: +//if +this.state = 15; +if (RemoteObject.solveBoolean("!",parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))),BA.ObjectToString(""))) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent._latitudru = BA.numberCast(double.class, parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); +if (true) break; + +case 15: +//C +this.state = 16; +; + BA.debugLineNum = 136;BA.debugLine="LongitudRU = 0"; +Debug.ShouldStop(128); +parent._longitudru = BA.numberCast(double.class, 0); + BA.debugLineNum = 137;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then Longi"; +Debug.ShouldStop(256); +if (true) break; + +case 16: +//if +this.state = 21; +if (RemoteObject.solveBoolean("!",parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))),BA.ObjectToString(""))) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +parent._longitudru = BA.numberCast(double.class, parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); +if (true) break; + +case 21: +//C +this.state = 78; +; + BA.debugLineNum = 138;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(512); +parent.mostCurrent._codigo = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 139;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(1024); +parent.mostCurrent._tienda = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 140;BA.debugLine="MARK_AZUL = gmap.AddMarker2(LatitudRu, Longitu"; +Debug.ShouldStop(2048); +parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.runMethod(false,"AddMarker2",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)(parent.mostCurrent._gmap.getField(true,"HUE_BLUE"))); + BA.debugLineNum = 141;BA.debugLine="MARK_AZUL.Snippet = Tienda"; +Debug.ShouldStop(4096); +parent.mostCurrent._mark_azul.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 22: +//C +this.state = 23; +Debug.locals.put("i", _i); +; + if (true) break; + +case 23: +//C +this.state = 24; +; + BA.debugLineNum = 144;BA.debugLine="c .Close"; +Debug.ShouldStop(32768); +parent._c.runVoidMethod ("Close"); + BA.debugLineNum = 147;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; +Debug.ShouldStop(262144); +if (true) break; + +case 24: +//if +this.state = 29; +if (parent.mostCurrent._mark_azul.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 26; +;}if (true) break; + +case 26: +//C +this.state = 29; +parent.mostCurrent._list_azul.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_azul.getObject()))); +if (true) break; + +case 29: +//C +this.state = 30; +; + if (true) break; +; + BA.debugLineNum = 150;BA.debugLine="If verde =1 Or todos = 1 Then"; +Debug.ShouldStop(2097152); + +case 30: +//if +this.state = 53; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._verde,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 32; +}else { +this.state = 38; +}if (true) break; + +case 32: +//C +this.state = 33; + BA.debugLineNum = 151;BA.debugLine="c2.IsInitialized"; +Debug.ShouldStop(4194304); +parent._c2.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 152;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; +Debug.ShouldStop(8388608); +parent._c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")))); + BA.debugLineNum = 153;BA.debugLine="For i = 0 To c2.RowCount -1"; +Debug.ShouldStop(16777216); +if (true) break; + +case 33: +//for +this.state = 36; +step33 = 1; +limit33 = RemoteObject.solve(new RemoteObject[] {parent._c2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 79; +if (true) break; + +case 79: +//C +this.state = 36; +if ((step33 > 0 && _i <= limit33) || (step33 < 0 && _i >= limit33)) this.state = 35; +if (true) break; + +case 80: +//C +this.state = 79; +_i = ((int)(0 + _i + step33)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 35: +//C +this.state = 80; + BA.debugLineNum = 154;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(33554432); +parent._c2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 155;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(67108864); +parent._longitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); + BA.debugLineNum = 156;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(134217728); +parent._latitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); + BA.debugLineNum = 157;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(268435456); +parent.mostCurrent._codigo = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 158;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(536870912); +parent.mostCurrent._tienda = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 159;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longitu"; +Debug.ShouldStop(1073741824); +parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.runMethod(false,"AddMarker2",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)(parent.mostCurrent._gmap.getField(true,"HUE_GREEN"))); + BA.debugLineNum = 160;BA.debugLine="MARK_VERDE.Snippet = Tienda"; +Debug.ShouldStop(-2147483648); +parent.mostCurrent._mark_verde.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 36: +//C +this.state = 53; +Debug.locals.put("i", _i); +; + if (true) break; + +case 38: +//C +this.state = 39; + BA.debugLineNum = 163;BA.debugLine="If verde =1 Or todos = 1 Then"; +Debug.ShouldStop(4); +if (true) break; + +case 39: +//if +this.state = 52; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._verde,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 164;BA.debugLine="c2.IsInitialized"; +Debug.ShouldStop(8); +parent._c2.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 165;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; +Debug.ShouldStop(16); +parent._c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")))); + BA.debugLineNum = 166;BA.debugLine="For i = 0 To c2.RowCount -1"; +Debug.ShouldStop(32); +if (true) break; + +case 42: +//for +this.state = 45; +step46 = 1; +limit46 = RemoteObject.solve(new RemoteObject[] {parent._c2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 81; +if (true) break; + +case 81: +//C +this.state = 45; +if ((step46 > 0 && _i <= limit46) || (step46 < 0 && _i >= limit46)) this.state = 44; +if (true) break; + +case 82: +//C +this.state = 81; +_i = ((int)(0 + _i + step46)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 44: +//C +this.state = 82; + BA.debugLineNum = 167;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(64); +parent._c2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 168;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(128); +parent._longitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); + BA.debugLineNum = 169;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(256); +parent._latitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); + BA.debugLineNum = 170;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(512); +parent.mostCurrent._codigo = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 171;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(1024); +parent.mostCurrent._tienda = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 172;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; +Debug.ShouldStop(2048); +parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.runMethod(false,"AddMarker2",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)(parent.mostCurrent._gmap.getField(true,"HUE_GREEN"))); + BA.debugLineNum = 173;BA.debugLine="MARK_VERDE.Snippet = Tienda"; +Debug.ShouldStop(4096); +parent.mostCurrent._mark_verde.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 45: +//C +this.state = 46; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 175;BA.debugLine="c2 .Close"; +Debug.ShouldStop(16384); +parent._c2.runVoidMethod ("Close"); + BA.debugLineNum = 176;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; +Debug.ShouldStop(32768); +if (true) break; + +case 46: +//if +this.state = 51; +if (parent.mostCurrent._mark_verde.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 48; +;}if (true) break; + +case 48: +//C +this.state = 51; +parent.mostCurrent._list_verde.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_verde.getObject()))); +if (true) break; + +case 51: +//C +this.state = 52; +; + if (true) break; + +case 52: +//C +this.state = 53; +; + if (true) break; +; + BA.debugLineNum = 181;BA.debugLine="If rojo =1 Or todos = 1 Then"; +Debug.ShouldStop(1048576); + +case 53: +//if +this.state = 75; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._rojo,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 55; +}else { +this.state = 61; +}if (true) break; + +case 55: +//C +this.state = 56; + BA.debugLineNum = 182;BA.debugLine="c3.IsInitialized"; +Debug.ShouldStop(2097152); +parent._c3.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 183;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; +Debug.ShouldStop(4194304); +parent._c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")))); + BA.debugLineNum = 184;BA.debugLine="For i = 0 To c3.RowCount -1"; +Debug.ShouldStop(8388608); +if (true) break; + +case 56: +//for +this.state = 59; +step62 = 1; +limit62 = RemoteObject.solve(new RemoteObject[] {parent._c3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 83; +if (true) break; + +case 83: +//C +this.state = 59; +if ((step62 > 0 && _i <= limit62) || (step62 < 0 && _i >= limit62)) this.state = 58; +if (true) break; + +case 84: +//C +this.state = 83; +_i = ((int)(0 + _i + step62)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 58: +//C +this.state = 84; + BA.debugLineNum = 185;BA.debugLine="c3.Position = i"; +Debug.ShouldStop(16777216); +parent._c3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 186;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +Debug.ShouldStop(33554432); +parent._longitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))); + BA.debugLineNum = 187;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +Debug.ShouldStop(67108864); +parent._latitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))); + BA.debugLineNum = 188;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(134217728); +parent.mostCurrent._codigo = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 189;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(268435456); +parent.mostCurrent._tienda = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 190;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitud"; +Debug.ShouldStop(536870912); +parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.runMethod(false,"AddMarker2",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)(parent.mostCurrent._gmap.getField(true,"HUE_RED"))); + BA.debugLineNum = 191;BA.debugLine="MARK_ROJO.Snippet = Tienda"; +Debug.ShouldStop(1073741824); +parent.mostCurrent._mark_rojo.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 59: +//C +this.state = 75; +Debug.locals.put("i", _i); +; + if (true) break; + +case 61: +//C +this.state = 62; + BA.debugLineNum = 194;BA.debugLine="If rojo =1 Or todos = 1 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 62: +//if +this.state = 74; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._rojo,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 64; +}if (true) break; + +case 64: +//C +this.state = 65; + BA.debugLineNum = 195;BA.debugLine="c3.IsInitialized"; +Debug.ShouldStop(4); +parent._c3.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 196;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; +Debug.ShouldStop(8); +parent._c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")))); + BA.debugLineNum = 197;BA.debugLine="For i = 0 To c3.RowCount -1"; +Debug.ShouldStop(16); +if (true) break; + +case 65: +//for +this.state = 68; +step75 = 1; +limit75 = RemoteObject.solve(new RemoteObject[] {parent._c3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 85; +if (true) break; + +case 85: +//C +this.state = 68; +if ((step75 > 0 && _i <= limit75) || (step75 < 0 && _i >= limit75)) this.state = 67; +if (true) break; + +case 86: +//C +this.state = 85; +_i = ((int)(0 + _i + step75)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 67: +//C +this.state = 86; + BA.debugLineNum = 198;BA.debugLine="c3.Position = i"; +Debug.ShouldStop(32); +parent._c3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 199;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +Debug.ShouldStop(64); +parent._longitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))); + BA.debugLineNum = 200;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +Debug.ShouldStop(128); +parent._latitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))); + BA.debugLineNum = 201;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(256); +parent.mostCurrent._codigo = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 202;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(512); +parent.mostCurrent._tienda = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 203;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitu"; +Debug.ShouldStop(1024); +parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.runMethod(false,"AddMarker2",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)(parent.mostCurrent._gmap.getField(true,"HUE_RED"))); + BA.debugLineNum = 204;BA.debugLine="MARK_ROJO.Snippet = Tienda"; +Debug.ShouldStop(2048); +parent.mostCurrent._mark_rojo.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 206;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; +Debug.ShouldStop(8192); + +case 68: +//if +this.state = 73; +if (parent.mostCurrent._mark_rojo.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 70; +;}if (true) break; + +case 70: +//C +this.state = 73; +parent.mostCurrent._list_rojo.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_rojo.getObject()))); +if (true) break; + +case 73: +//C +this.state = 74; +; + BA.debugLineNum = 207;BA.debugLine="c3.Close"; +Debug.ShouldStop(16384); +parent._c3.runVoidMethod ("Close"); + if (true) break; + +case 74: +//C +this.state = 75; +; + if (true) break; + +case 75: +//C +this.state = -1; +; + BA.debugLineNum = 216;BA.debugLine="Dim aa As CameraPosition"; +Debug.ShouldStop(8388608); +_aa = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper");Debug.locals.put("aa", _aa); + BA.debugLineNum = 217;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; +Debug.ShouldStop(16777216); +_aa.runVoidMethod ("Initialize",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(BA.numberCast(float.class, 15))); + BA.debugLineNum = 218;BA.debugLine="gmap.AnimateCamera(aa)"; +Debug.ShouldStop(33554432); +parent.mostCurrent._gmap.runVoidMethod ("AnimateCamera",(Object)((_aa.getObject()))); + BA.debugLineNum = 221;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; +Debug.ShouldStop(268435456); +parent.mostCurrent._oninfowindowclicklistener1 = RemoteObject.createNew ("uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener"); + BA.debugLineNum = 222;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; +Debug.ShouldStop(536870912); +parent.mostCurrent._oninfowindowclicklistener1.runVoidMethod ("Initialize",mapa_rutas.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("OnInfoWindowClickListener1"))); + BA.debugLineNum = 223;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; +Debug.ShouldStop(1073741824); +parent.mostCurrent._googlemapextra.runVoidMethod ("SetOnInfoWindowClickListener",(Object)((parent.mostCurrent._gmap.getObject())),(Object)((parent.mostCurrent._oninfowindowclicklistener1.getObject()))); + BA.debugLineNum = 225;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _activity_permissionresult(RemoteObject _permission,RemoteObject _result) throws Exception{ +} +public static RemoteObject _oninfowindowclicklistener1_click(RemoteObject _marker1) throws Exception{ +try { + Debug.PushSubsStack("OnInfoWindowClickListener1_click (mapa_rutas) ","mapa_rutas",31,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,230); +if (RapidSub.canDelegate("oninfowindowclicklistener1_click")) { return gunav2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","oninfowindowclicklistener1_click", _marker1);} +Debug.locals.put("Marker1", _marker1); + BA.debugLineNum = 230;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; +Debug.ShouldStop(32); + BA.debugLineNum = 231;BA.debugLine="skmt.ExecNonQuery(\"delete from CUENTAA\")"; +Debug.ShouldStop(64); +mapa_rutas._skmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 232;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CUENTAA VALUES (?"; +Debug.ShouldStop(128); +mapa_rutas._skmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?) ")),(Object)(mapa_rutas.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_marker1.runMethod(true,"getTitle"))}))))); + BA.debugLineNum = 233;BA.debugLine="Activity.Finish"; +Debug.ShouldStop(256); +mapa_rutas.mostCurrent._activity.runVoidMethod ("Finish"); + BA.debugLineNum = 234;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(512); +mapa_rutas.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 235;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 7;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Dim GPS As GPS"; +mapa_rutas._gps = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS"); + //BA.debugLineNum = 9;BA.debugLine="Dim rp As RuntimePermissions"; +mapa_rutas._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 10;BA.debugLine="Dim ruta As String"; +mapa_rutas._ruta = RemoteObject.createImmutable(""); + //BA.debugLineNum = 11;BA.debugLine="Dim skmt As SQL"; +mapa_rutas._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 12;BA.debugLine="Dim c As Cursor"; +mapa_rutas._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 13;BA.debugLine="Dim c2 As Cursor"; +mapa_rutas._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 14;BA.debugLine="Dim c22 As Cursor"; +mapa_rutas._c22 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 15;BA.debugLine="Dim c3 As Cursor"; +mapa_rutas._c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 16;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/newinst2.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/newinst2.java new file mode 100644 index 0000000..d84f814 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/newinst2.java @@ -0,0 +1,67 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class newinst2 implements IRemote{ + public static newinst2 mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public newinst2() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("newinst2"), "gunav2.keymon.com.mx.newinst2"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.newinst2"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, newinst2.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _pkg = RemoteObject.createImmutable(""); +public static RemoteObject _svcverbose = RemoteObject.createImmutable(false); +public static RemoteObject _logcolor1 = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"DateUtils",newinst2.mostCurrent._dateutils,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"LogColor1",newinst2._logcolor1,"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"pkg",newinst2._pkg,"Service",newinst2.mostCurrent._service,"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"svcVerbose",newinst2._svcverbose,"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/newinst2_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/newinst2_subs_0.java new file mode 100644 index 0000000..0e0a0eb --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/newinst2_subs_0.java @@ -0,0 +1,165 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class newinst2_subs_0 { + + +public static RemoteObject _getpackagename() throws Exception{ +try { + Debug.PushSubsStack("GetPackageName (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,38); +if (RapidSub.canDelegate("getpackagename")) { return gunav2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","getpackagename");} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); + BA.debugLineNum = 38;BA.debugLine="Sub GetPackageName As String"; +Debug.ShouldStop(32); + BA.debugLineNum = 39;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(64); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 40;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; +Debug.ShouldStop(128); +if (true) return BA.ObjectToString(_r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("anywheresoftware.b4a.BA")),(Object)(RemoteObject.createImmutable("packageName")))); + BA.debugLineNum = 41;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _myappreload() throws Exception{ +try { + Debug.PushSubsStack("MyAppReload (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,43); +if (RapidSub.canDelegate("myappreload")) { return gunav2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","myappreload");} + BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload"; +Debug.ShouldStop(1024); + BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; +Debug.ShouldStop(2048); +if (newinst2._svcverbose.get().booleanValue()) { +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","09175041",RemoteObject.createImmutable("-- AppUpdating.NewInst2: processing MyAppReload"),0);}; + BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then"; +Debug.ShouldStop(4096); +if (newinst2.mostCurrent.__c.runMethod(true,"IsPaused",newinst2.processBA,(Object)((RemoteObject.createImmutable("main")))).get().booleanValue()) { + BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")"; +Debug.ShouldStop(8192); +newinst2.mostCurrent.__c.runVoidMethod ("StartActivity",newinst2.processBA,(Object)((RemoteObject.createImmutable("main")))); + }; + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 5;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Dim pkg As String 'app's package name"; +newinst2._pkg = RemoteObject.createImmutable(""); + //BA.debugLineNum = 9;BA.debugLine="Dim svcVerbose As Boolean 'True = shows start"; +newinst2._svcverbose = RemoteObject.createImmutable(false); + //BA.debugLineNum = 10;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'color for"; +newinst2._logcolor1 = BA.numberCast(int.class, ((int)0xffff8c00)); + //BA.debugLineNum = 11;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,13); +if (RapidSub.canDelegate("service_create")) { return gunav2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","service_create");} + BA.debugLineNum = 13;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(4096); + BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; +Debug.ShouldStop(8192); +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","08912897",BA.ObjectToString("---- AppUpdating.newinst2: service created"),newinst2._logcolor1); + BA.debugLineNum = 15;BA.debugLine="pkg = \"\""; +Debug.ShouldStop(16384); +newinst2._pkg = BA.ObjectToString(""); + BA.debugLineNum = 16;BA.debugLine="svcVerbose = False"; +Debug.ShouldStop(32768); +newinst2._svcverbose = newinst2.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 17;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,35); +if (RapidSub.canDelegate("service_destroy")) { return gunav2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","service_destroy");} + BA.debugLineNum = 35;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(4); + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,19); +if (RapidSub.canDelegate("service_start")) { return gunav2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; +Debug.ShouldStop(524288); +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","08978433",BA.ObjectToString("---- AppUpdating.newinst2: service_started"),newinst2._logcolor1); + BA.debugLineNum = 21;BA.debugLine="If svcVerbose Then"; +Debug.ShouldStop(1048576); +if (newinst2._svcverbose.get().booleanValue()) { + BA.debugLineNum = 22;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; +Debug.ShouldStop(2097152); +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","08978435",(RemoteObject.concat(RemoteObject.createImmutable(""),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((newinst2.mostCurrent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("intent: "),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_startingintent.getObject()))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 23;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)"; +Debug.ShouldStop(4194304); +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","08978436",(RemoteObject.concat(RemoteObject.createImmutable(""),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((newinst2.mostCurrent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("action: "),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_startingintent.runMethod(true,"getAction")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 24;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri"; +Debug.ShouldStop(8388608); +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","08978437",(RemoteObject.concat(RemoteObject.createImmutable(""),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((newinst2.mostCurrent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("extra: "),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_startingintent.runMethod(true,"ExtrasToString")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 25;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)"; +Debug.ShouldStop(16777216); +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","08978438",(RemoteObject.concat(RemoteObject.createImmutable(""),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((newinst2.mostCurrent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("data: "),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_startingintent.runMethod(true,"GetData")))),RemoteObject.createImmutable(""))),0); + }; + BA.debugLineNum = 27;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_startingintent.runMethod(true,"getAction"),BA.ObjectToString("android.intent.action.MY_PACKAGE_REPLACED"))) { + BA.debugLineNum = 28;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; +Debug.ShouldStop(134217728); +if (newinst2._svcverbose.get().booleanValue()) { +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","08978441",(RemoteObject.concat(RemoteObject.createImmutable(""),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((newinst2.mostCurrent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("Intent MY_PACKAGE_REPLACED received!"))),0);}; + BA.debugLineNum = 29;BA.debugLine="pkg = GetPackageName"; +Debug.ShouldStop(268435456); +newinst2._pkg = _getpackagename(); + BA.debugLineNum = 30;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; +Debug.ShouldStop(536870912); +if (newinst2._svcverbose.get().booleanValue()) { +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","08978443",(RemoteObject.concat(RemoteObject.createImmutable(""),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((newinst2.mostCurrent.__c.getField(true,"TAB")))),RemoteObject.createImmutable("package: "),newinst2.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((newinst2._pkg))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 31;BA.debugLine="MyAppReload"; +Debug.ShouldStop(1073741824); +_myappreload(); + }; + BA.debugLineNum = 33;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/preoptimizedclv.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/preoptimizedclv.java new file mode 100644 index 0000000..40208d0 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/preoptimizedclv.java @@ -0,0 +1,50 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class preoptimizedclv { + public static RemoteObject myClass; + public preoptimizedclv() { + } + public static PCBA staticBA = new PCBA(null, preoptimizedclv.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mclv = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _panelscache = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _stubpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _horizontal = RemoteObject.createImmutable(false); +public static RemoteObject _assigneditems = null; +public static RemoteObject _assigneditemsasindex = RemoteObject.createImmutable(0); +public static RemoteObject _jclv = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _extraitems = RemoteObject.createImmutable(0); +public static RemoteObject _listofitemsthatshouldbeupdated = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _showscrollbar = RemoteObject.createImmutable(false); +public static RemoteObject _b4xseekbar1 = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xseekbar"); +public static RemoteObject _pnloverlay = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblhint = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lastuserchangeindex = RemoteObject.createImmutable(0); +public static RemoteObject _numberofsteps = RemoteObject.createImmutable(0); +public static RemoteObject _delaybeforehidingoverlay = RemoteObject.createImmutable(0); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AssignedItems",_ref.getField(false, "_assigneditems"),"AssignedItemsAsIndex",_ref.getField(false, "_assigneditemsasindex"),"B4XSeekBar1",_ref.getField(false, "_b4xseekbar1"),"DateUtils",_ref.getField(false, "_dateutils"),"DelayBeforeHidingOverlay",_ref.getField(false, "_delaybeforehidingoverlay"),"ExtraItems",_ref.getField(false, "_extraitems"),"horizontal",_ref.getField(false, "_horizontal"),"items",_ref.getField(false, "_items"),"jclv",_ref.getField(false, "_jclv"),"LastUserChangeIndex",_ref.getField(false, "_lastuserchangeindex"),"lblHint",_ref.getField(false, "_lblhint"),"ListOfItemsThatShouldBeUpdated",_ref.getField(false, "_listofitemsthatshouldbeupdated"),"mCallback",_ref.getField(false, "_mcallback"),"mCLV",_ref.getField(false, "_mclv"),"mEventName",_ref.getField(false, "_meventname"),"NumberOfSteps",_ref.getField(false, "_numberofsteps"),"PanelsCache",_ref.getField(false, "_panelscache"),"pnlOverlay",_ref.getField(false, "_pnloverlay"),"ShowScrollBar",_ref.getField(false, "_showscrollbar"),"StubPanel",_ref.getField(false, "_stubpanel"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/preoptimizedclv_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/preoptimizedclv_subs_0.java new file mode 100644 index 0000000..ddea0d4 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/preoptimizedclv_subs_0.java @@ -0,0 +1,746 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class preoptimizedclv_subs_0 { + + +public static RemoteObject _additem(RemoteObject __ref,RemoteObject _size,RemoteObject _clr,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("AddItem (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,53); +if (RapidSub.canDelegate("additem")) { return __ref.runUserSub(false, "preoptimizedclv","additem", __ref, _size, _clr, _value);} +RemoteObject _newitem = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +Debug.locals.put("Size", _size); +Debug.locals.put("Clr", _clr); +Debug.locals.put("Value", _value); + BA.debugLineNum = 53;BA.debugLine="Public Sub AddItem (Size As Int, Clr As Int, Value"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 54;BA.debugLine="Dim NewItem As CLVItem"; +Debug.JustUpdateDeviceLine(); +_newitem = RemoteObject.createNew ("b4a.example3.customlistview._clvitem");Debug.locals.put("NewItem", _newitem); + BA.debugLineNum = 55;BA.debugLine="NewItem.Color = Clr"; +Debug.JustUpdateDeviceLine(); +_newitem.setField ("Color",_clr); + BA.debugLineNum = 56;BA.debugLine="NewItem.Panel = StubPanel"; +Debug.JustUpdateDeviceLine(); +_newitem.setField ("Panel",__ref.getField(false,"_stubpanel" /*RemoteObject*/ )); + BA.debugLineNum = 57;BA.debugLine="NewItem.Value = Value"; +Debug.JustUpdateDeviceLine(); +_newitem.setField ("Value",_value); + BA.debugLineNum = 58;BA.debugLine="NewItem.Size = Size"; +Debug.JustUpdateDeviceLine(); +_newitem.setField ("Size",_size); + BA.debugLineNum = 59;BA.debugLine="items.Add(NewItem)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_items" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_newitem))); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b4xseekbar1_touchstatechanged(RemoteObject __ref,RemoteObject _pressed) throws Exception{ +try { + Debug.PushSubsStack("B4XSeekBar1_TouchStateChanged (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,163); +if (RapidSub.canDelegate("b4xseekbar1_touchstatechanged")) { __ref.runUserSub(false, "preoptimizedclv","b4xseekbar1_touchstatechanged", __ref, _pressed); return;} +ResumableSub_B4XSeekBar1_TouchStateChanged rsub = new ResumableSub_B4XSeekBar1_TouchStateChanged(null,__ref,_pressed); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XSeekBar1_TouchStateChanged extends BA.ResumableSub { +public ResumableSub_B4XSeekBar1_TouchStateChanged(gunav2.keymon.com.mx.preoptimizedclv parent,RemoteObject __ref,RemoteObject _pressed) { +this.parent = parent; +this.__ref = __ref; +this._pressed = _pressed; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.preoptimizedclv parent; +RemoteObject _pressed; +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XSeekBar1_TouchStateChanged (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,163); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Pressed", _pressed); + BA.debugLineNum = 164;BA.debugLine="If Pressed = False Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",_pressed,parent.__c.getField(true,"False"))) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 165;BA.debugLine="mCLV.JumpToItem(LastUserChangeIndex)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).runVoidMethod ("_jumptoitem",(Object)(__ref.getField(true,"_lastuserchangeindex" /*RemoteObject*/ ))); + BA.debugLineNum = 166;BA.debugLine="Sleep(DelayBeforeHidingOverlay)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "preoptimizedclv", "b4xseekbar1_touchstatechanged"),__ref.getField(true,"_delaybeforehidingoverlay" /*RemoteObject*/ )); +this.state = 7; +return; +case 7: +//C +this.state = 6; +; + BA.debugLineNum = 167;BA.debugLine="pnlOverlay.Visible = False"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnloverlay" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 169;BA.debugLine="pnlOverlay.Visible = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnloverlay" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 171;BA.debugLine="Dim jo As JavaObject = mCLV.sv"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 172;BA.debugLine="jo.RunMethod(\"fling\", Array(0))"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("fling")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))); + if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 175;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xseekbar1_valuechanged(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("B4XSeekBar1_ValueChanged (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,177); +if (RapidSub.canDelegate("b4xseekbar1_valuechanged")) { return __ref.runUserSub(false, "preoptimizedclv","b4xseekbar1_valuechanged", __ref, _value);} +RemoteObject _t = RemoteObject.declareNull("Object"); +Debug.locals.put("Value", _value); + BA.debugLineNum = 177;BA.debugLine="Sub B4XSeekBar1_ValueChanged (Value As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 178;BA.debugLine="LastUserChangeIndex = Max(0, items.Size - 1 - Val"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastuserchangeindex" /*RemoteObject*/ ,BA.numberCast(int.class, preoptimizedclv.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1),_value}, "--",2, 1)))))); + BA.debugLineNum = 179;BA.debugLine="If LastUserChangeIndex < B4XSeekBar1.Interval The"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_lastuserchangeindex" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).getField(true,"_interval" /*RemoteObject*/ )))) { +__ref.setField ("_lastuserchangeindex" /*RemoteObject*/ ,BA.numberCast(int.class, 0));}; + BA.debugLineNum = 180;BA.debugLine="lblHint.Text = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblhint" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 181;BA.debugLine="If xui.SubExists(mCallback, mEventName & \"_HintRe"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_HintRequested"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 182;BA.debugLine="Dim t As Object = CallSub2(mCallback, mEventName"; +Debug.JustUpdateDeviceLine(); +_t = preoptimizedclv.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_HintRequested"))),(Object)((__ref.getField(true,"_lastuserchangeindex" /*RemoteObject*/ ))));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 183;BA.debugLine="If t <> Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_t)) { + BA.debugLineNum = 184;BA.debugLine="InternalSetTextOrCSBuilderToLabel(lblHint, t)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_internalsettextorcsbuildertolabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_lblhint" /*RemoteObject*/ )),(Object)(_t)); + }; + }; + BA.debugLineNum = 187;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private mCLV As CustomListView"; +preoptimizedclv._mclv = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_mclv",preoptimizedclv._mclv); + //BA.debugLineNum = 4;BA.debugLine="Private items As List"; +preoptimizedclv._items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_items",preoptimizedclv._items); + //BA.debugLineNum = 5;BA.debugLine="Private PanelsCache As List"; +preoptimizedclv._panelscache = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_panelscache",preoptimizedclv._panelscache); + //BA.debugLineNum = 6;BA.debugLine="Private StubPanel As B4XView"; +preoptimizedclv._stubpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_stubpanel",preoptimizedclv._stubpanel); + //BA.debugLineNum = 7;BA.debugLine="Private horizontal As Boolean"; +preoptimizedclv._horizontal = RemoteObject.createImmutable(false);__ref.setField("_horizontal",preoptimizedclv._horizontal); + //BA.debugLineNum = 8;BA.debugLine="Private AssignedItems() As B4XSet"; +preoptimizedclv._assigneditems = RemoteObject.createNewArray ("gunav2.keymon.com.mx.b4xset", new int[] {0}, new Object[]{});__ref.setField("_assigneditems",preoptimizedclv._assigneditems); + //BA.debugLineNum = 9;BA.debugLine="Private AssignedItemsAsIndex As Int"; +preoptimizedclv._assigneditemsasindex = RemoteObject.createImmutable(0);__ref.setField("_assigneditemsasindex",preoptimizedclv._assigneditemsasindex); + //BA.debugLineNum = 13;BA.debugLine="Private jclv As JavaObject"; +preoptimizedclv._jclv = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");__ref.setField("_jclv",preoptimizedclv._jclv); + //BA.debugLineNum = 15;BA.debugLine="Public ExtraItems As Int = 3"; +preoptimizedclv._extraitems = BA.numberCast(int.class, 3);__ref.setField("_extraitems",preoptimizedclv._extraitems); + //BA.debugLineNum = 16;BA.debugLine="Private ListOfItemsThatShouldBeUpdated As List"; +preoptimizedclv._listofitemsthatshouldbeupdated = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listofitemsthatshouldbeupdated",preoptimizedclv._listofitemsthatshouldbeupdated); + //BA.debugLineNum = 17;BA.debugLine="Private xui As XUI"; +preoptimizedclv._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",preoptimizedclv._xui); + //BA.debugLineNum = 18;BA.debugLine="Public ShowScrollBar As Boolean = True"; +preoptimizedclv._showscrollbar = preoptimizedclv.__c.getField(true,"True");__ref.setField("_showscrollbar",preoptimizedclv._showscrollbar); + //BA.debugLineNum = 19;BA.debugLine="Public B4XSeekBar1 As B4XSeekBar"; +preoptimizedclv._b4xseekbar1 = RemoteObject.createNew ("gunav2.keymon.com.mx.b4xseekbar");__ref.setField("_b4xseekbar1",preoptimizedclv._b4xseekbar1); + //BA.debugLineNum = 20;BA.debugLine="Public pnlOverlay As B4XView"; +preoptimizedclv._pnloverlay = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnloverlay",preoptimizedclv._pnloverlay); + //BA.debugLineNum = 21;BA.debugLine="Public lblHint As B4XView"; +preoptimizedclv._lblhint = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblhint",preoptimizedclv._lblhint); + //BA.debugLineNum = 22;BA.debugLine="Private LastUserChangeIndex As Int"; +preoptimizedclv._lastuserchangeindex = RemoteObject.createImmutable(0);__ref.setField("_lastuserchangeindex",preoptimizedclv._lastuserchangeindex); + //BA.debugLineNum = 23;BA.debugLine="Public NumberOfSteps As Int = 20"; +preoptimizedclv._numberofsteps = BA.numberCast(int.class, 20);__ref.setField("_numberofsteps",preoptimizedclv._numberofsteps); + //BA.debugLineNum = 24;BA.debugLine="Public DelayBeforeHidingOverlay As Int = 50"; +preoptimizedclv._delaybeforehidingoverlay = BA.numberCast(int.class, 50);__ref.setField("_delaybeforehidingoverlay",preoptimizedclv._delaybeforehidingoverlay); + //BA.debugLineNum = 25;BA.debugLine="Private mCallback As Object"; +preoptimizedclv._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",preoptimizedclv._mcallback); + //BA.debugLineNum = 26;BA.debugLine="Private mEventName As String"; +preoptimizedclv._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",preoptimizedclv._meventname); + //BA.debugLineNum = 27;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clearassigneditems(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ClearAssignedItems (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,151); +if (RapidSub.canDelegate("clearassigneditems")) { return __ref.runUserSub(false, "preoptimizedclv","clearassigneditems", __ref);} +RemoteObject _s = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xset"); + BA.debugLineNum = 151;BA.debugLine="Private Sub ClearAssignedItems"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 152;BA.debugLine="For Each s As B4XSet In AssignedItems"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group1 = __ref.getField(false,"_assigneditems" /*RemoteObject*/ ); +final int groupLen1 = group1.getField(true,"length").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_s = group1.getArrayElement(false, /*RemoteObject*/ RemoteObject.createImmutable(index1));Debug.locals.put("s", _s); +Debug.locals.put("s", _s); + BA.debugLineNum = 153;BA.debugLine="s.Clear"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_clear" /*RemoteObject*/ ); + } +}Debug.locals.put("s", _s); +; + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _commit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Commit (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,62); +if (RapidSub.canDelegate("commit")) { return __ref.runUserSub(false, "preoptimizedclv","commit", __ref);} +RemoteObject _dividersize = RemoteObject.createImmutable(0); +RemoteObject _totalsize = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _it = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); + BA.debugLineNum = 62;BA.debugLine="Public Sub Commit"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="ClearAssignedItems"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_clearassigneditems" /*RemoteObject*/ ); + BA.debugLineNum = 64;BA.debugLine="Dim DividerSize As Int = mCLV.DividerSize"; +Debug.JustUpdateDeviceLine(); +_dividersize = BA.numberCast(int.class, __ref.getField(false,"_mclv" /*RemoteObject*/ ).runMethod(true,"_getdividersize"));Debug.locals.put("DividerSize", _dividersize);Debug.locals.put("DividerSize", _dividersize); + BA.debugLineNum = 65;BA.debugLine="Dim TotalSize As Int = DividerSize"; +Debug.JustUpdateDeviceLine(); +_totalsize = _dividersize;Debug.locals.put("TotalSize", _totalsize);Debug.locals.put("TotalSize", _totalsize); + BA.debugLineNum = 66;BA.debugLine="For i = 0 To items.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 67;BA.debugLine="Dim it As CLVItem = items.Get(i)"; +Debug.JustUpdateDeviceLine(); +_it = (__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("it", _it);Debug.locals.put("it", _it); + BA.debugLineNum = 68;BA.debugLine="it.Offset = TotalSize"; +Debug.JustUpdateDeviceLine(); +_it.setField ("Offset",_totalsize); + BA.debugLineNum = 69;BA.debugLine="TotalSize = TotalSize + it.Size + DividerSize"; +Debug.JustUpdateDeviceLine(); +_totalsize = RemoteObject.solve(new RemoteObject[] {_totalsize,_it.getField(true,"Size"),_dividersize}, "++",2, 1);Debug.locals.put("TotalSize", _totalsize); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 71;BA.debugLine="If horizontal Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_horizontal" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 72;BA.debugLine="mCLV.sv.ScrollViewContentWidth = TotalSize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"setScrollViewContentWidth",_totalsize); + }else { + BA.debugLineNum = 74;BA.debugLine="mCLV.sv.ScrollViewContentHeight = TotalSize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"setScrollViewContentHeight",_totalsize); + }; + BA.debugLineNum = 76;BA.debugLine="B4XSeekBar1.mBase.Visible = ShowScrollBar"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setVisible",__ref.getField(true,"_showscrollbar" /*RemoteObject*/ )); + BA.debugLineNum = 77;BA.debugLine="If ShowScrollBar Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_showscrollbar" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 78;BA.debugLine="B4XSeekBar1.MaxValue = items.Size"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_maxvalue" /*RemoteObject*/ ,__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize")); + BA.debugLineNum = 79;BA.debugLine="B4XSeekBar1.Interval = items.Size / NumberOfStep"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_interval" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize"),__ref.getField(true,"_numberofsteps" /*RemoteObject*/ )}, "/",0, 0))); + }; + BA.debugLineNum = 81;BA.debugLine="RaiseVisibleRangeEvent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_raisevisiblerangeevent" /*RemoteObject*/ ); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createpanel(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreatePanel (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,90); +if (RapidSub.canDelegate("createpanel")) { return __ref.runUserSub(false, "preoptimizedclv","createpanel", __ref);} + BA.debugLineNum = 90;BA.debugLine="Private Sub CreatePanel As B4XView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 94;BA.debugLine="Return jclv.RunMethodJO(\"_createpanel\", Array(\"Pa"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_jclv" /*RemoteObject*/ ).runMethod(false,"RunMethodJO",(Object)(BA.ObjectToString("_createpanel")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("Panel"))}))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getObject")),(Object)((preoptimizedclv.__c.getField(false,"Null"))))); + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,144); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "preoptimizedclv","getpanel", __ref);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); + BA.debugLineNum = 144;BA.debugLine="Private Sub GetPanel As B4XView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 145;BA.debugLine="If PanelsCache.Size = 0 Then Return CreatePanel"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +if (true) return __ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_createpanel" /*RemoteObject*/ );}; + BA.debugLineNum = 146;BA.debugLine="Dim p As B4XView = PanelsCache.Get(PanelsCache.Si"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_panelscache" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 147;BA.debugLine="PanelsCache.RemoveAt(PanelsCache.Size - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))); + BA.debugLineNum = 148;BA.debugLine="Return p"; +Debug.JustUpdateDeviceLine(); +if (true) return _p; + BA.debugLineNum = 149;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _handlescrollbar(RemoteObject __ref,RemoteObject _firstvisible) throws Exception{ +try { + Debug.PushSubsStack("HandleScrollBar (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,139); +if (RapidSub.canDelegate("handlescrollbar")) { return __ref.runUserSub(false, "preoptimizedclv","handlescrollbar", __ref, _firstvisible);} +Debug.locals.put("FirstVisible", _firstvisible); + BA.debugLineNum = 139;BA.debugLine="Private Sub HandleScrollBar (FirstVisible As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 140;BA.debugLine="If ShowScrollBar = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_showscrollbar" /*RemoteObject*/ ),preoptimizedclv.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 141;BA.debugLine="B4XSeekBar1.Value = items.Size - FirstVisible"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_setvalue" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize"),_firstvisible}, "-",1, 1)); + BA.debugLineNum = 142;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname,RemoteObject _clv) throws Exception{ +try { + Debug.PushSubsStack("Initialize (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,29); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "preoptimizedclv","initialize", __ref, _ba, _callback, _eventname, _clv);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); +Debug.locals.put("CLV", _clv); + BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 30;BA.debugLine="mCLV = CLV"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mclv" /*RemoteObject*/ ,_clv); + BA.debugLineNum = 31;BA.debugLine="jclv = mCLV 'ignore"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_jclv" /*RemoteObject*/ ).setObject (__ref.getField(false,"_mclv" /*RemoteObject*/ )); + BA.debugLineNum = 36;BA.debugLine="items = jclv.GetFieldJO(\"_items\").RunMethod(\"getO"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_items" /*RemoteObject*/ ).setObject (__ref.getField(false,"_jclv" /*RemoteObject*/ ).runMethod(false,"GetFieldJO",(Object)(RemoteObject.createImmutable("_items"))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getObject")),(Object)((preoptimizedclv.__c.getField(false,"Null"))))); + BA.debugLineNum = 37;BA.debugLine="horizontal = jclv.GetField(\"_horizontal\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_horizontal" /*RemoteObject*/ ,BA.ObjectToBoolean(__ref.getField(false,"_jclv" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("_horizontal"))))); + BA.debugLineNum = 39;BA.debugLine="PanelsCache.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 40;BA.debugLine="StubPanel = CreatePanel"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_stubpanel" /*RemoteObject*/ ,__ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_createpanel" /*RemoteObject*/ )); + BA.debugLineNum = 41;BA.debugLine="StubPanel.AddView(xui.CreatePanel(\"\"), 0, 0, 10di"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_stubpanel" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10))))); + BA.debugLineNum = 42;BA.debugLine="AssignedItems = Array As B4XSet(B4XCollections.Cr"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_assigneditems" /*RemoteObject*/ ,RemoteObject.createNewArray("gunav2.keymon.com.mx.b4xset",new int[] {2},new Object[] {preoptimizedclv._b4xcollections.runMethod(false,"_createset" /*RemoteObject*/ ,__ref.getField(false, "ba")),preoptimizedclv._b4xcollections.runMethod(false,"_createset" /*RemoteObject*/ ,__ref.getField(false, "ba"))})); + BA.debugLineNum = 43;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_listofitemsthatshouldbeupdated" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 44;BA.debugLine="mCLV.AsView.LoadLayout(\"PCLVSeekBar\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).runMethod(false,"_asview").runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PCLVSeekBar")),__ref.getField(false, "ba")); + BA.debugLineNum = 45;BA.debugLine="B4XSeekBar1.Size1 = 1dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_size1" /*RemoteObject*/ ,preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 46;BA.debugLine="B4XSeekBar1.Size2 = 1dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_size2" /*RemoteObject*/ ,preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 47;BA.debugLine="B4XSeekBar1.Radius1 = 8dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_radius1" /*RemoteObject*/ ,preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 8)))); + BA.debugLineNum = 48;BA.debugLine="B4XSeekBar1.Update"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 49;BA.debugLine="mCallback = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 50;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _internalsettextorcsbuildertolabel(RemoteObject __ref,RemoteObject _xlbl,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("InternalSetTextOrCSBuilderToLabel (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,189); +if (RapidSub.canDelegate("internalsettextorcsbuildertolabel")) { return __ref.runUserSub(false, "preoptimizedclv","internalsettextorcsbuildertolabel", __ref, _xlbl, _text);} +Debug.locals.put("xlbl", _xlbl); +Debug.locals.put("Text", _text); + BA.debugLineNum = 189;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 191;BA.debugLine="xlbl.Text = Text"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 201;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _listchangedexternally(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ListChangedExternally (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,157); +if (RapidSub.canDelegate("listchangedexternally")) { __ref.runUserSub(false, "preoptimizedclv","listchangedexternally", __ref); return;} +ResumableSub_ListChangedExternally rsub = new ResumableSub_ListChangedExternally(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_ListChangedExternally extends BA.ResumableSub { +public ResumableSub_ListChangedExternally(gunav2.keymon.com.mx.preoptimizedclv parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.preoptimizedclv parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ListChangedExternally (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,157); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 158;BA.debugLine="ClearAssignedItems"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_clearassigneditems" /*RemoteObject*/ ); + BA.debugLineNum = 159;BA.debugLine="Sleep(0)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "preoptimizedclv", "listchangedexternally"),BA.numberCast(int.class, 0)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; + BA.debugLineNum = 160;BA.debugLine="RaiseVisibleRangeEvent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_raisevisiblerangeevent" /*RemoteObject*/ ); + BA.debugLineNum = 161;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _raisevisiblerangeevent(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("RaiseVisibleRangeEvent (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,85); +if (RapidSub.canDelegate("raisevisiblerangeevent")) { return __ref.runUserSub(false, "preoptimizedclv","raisevisiblerangeevent", __ref);} + BA.debugLineNum = 85;BA.debugLine="Private Sub RaiseVisibleRangeEvent"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 86;BA.debugLine="jclv.RunMethod(\"_resetvisibles\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_jclv" /*RemoteObject*/ ).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("_resetvisibles")),(Object)((preoptimizedclv.__c.getField(false,"Null")))); + BA.debugLineNum = 87;BA.debugLine="jclv.RunMethod(\"_updatevisiblerange\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_jclv" /*RemoteObject*/ ).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("_updatevisiblerange")),(Object)((preoptimizedclv.__c.getField(false,"Null")))); + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _visiblerangechanged(RemoteObject __ref,RemoteObject _firstindex,RemoteObject _lastindex) throws Exception{ +try { + Debug.PushSubsStack("VisibleRangeChanged (preoptimizedclv) ","preoptimizedclv",47,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("visiblerangechanged")) { return __ref.runUserSub(false, "preoptimizedclv","visiblerangechanged", __ref, _firstindex, _lastindex);} +RemoteObject _fromindex = RemoteObject.createImmutable(0); +RemoteObject _toindex = RemoteObject.createImmutable(0); +RemoteObject _prevset = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xset"); +RemoteObject _nextset = RemoteObject.declareNull("gunav2.keymon.com.mx.b4xset"); +int _i = 0; +RemoteObject _it = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("FirstIndex", _firstindex); +Debug.locals.put("LastIndex", _lastindex); + BA.debugLineNum = 98;BA.debugLine="Public Sub VisibleRangeChanged (FirstIndex As Int,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 99;BA.debugLine="Dim FromIndex As Int = Max(0, FirstIndex - ExtraI"; +Debug.JustUpdateDeviceLine(); +_fromindex = BA.numberCast(int.class, preoptimizedclv.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_firstindex,__ref.getField(true,"_extraitems" /*RemoteObject*/ )}, "-",1, 1)))));Debug.locals.put("FromIndex", _fromindex);Debug.locals.put("FromIndex", _fromindex); + BA.debugLineNum = 100;BA.debugLine="Dim ToIndex As Int = Min(mCLV.Size - 1, LastIndex"; +Debug.JustUpdateDeviceLine(); +_toindex = BA.numberCast(int.class, preoptimizedclv.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mclv" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1))),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_lastindex,__ref.getField(true,"_extraitems" /*RemoteObject*/ )}, "+",1, 1)))));Debug.locals.put("ToIndex", _toindex);Debug.locals.put("ToIndex", _toindex); + BA.debugLineNum = 101;BA.debugLine="Dim PrevSet As B4XSet = AssignedItems(AssignedIte"; +Debug.JustUpdateDeviceLine(); +_prevset = __ref.getField(false,"_assigneditems" /*RemoteObject*/ ).getArrayElement(false, /*RemoteObject*/ __ref.getField(true,"_assigneditemsasindex" /*RemoteObject*/ ));Debug.locals.put("PrevSet", _prevset);Debug.locals.put("PrevSet", _prevset); + BA.debugLineNum = 102;BA.debugLine="AssignedItemsAsIndex = (AssignedItemsAsIndex + 1)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_assigneditemsasindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_assigneditemsasindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(2)}, "%",0, 1)); + BA.debugLineNum = 103;BA.debugLine="Dim NextSet As B4XSet = AssignedItems(AssignedIte"; +Debug.JustUpdateDeviceLine(); +_nextset = __ref.getField(false,"_assigneditems" /*RemoteObject*/ ).getArrayElement(false, /*RemoteObject*/ __ref.getField(true,"_assigneditemsasindex" /*RemoteObject*/ ));Debug.locals.put("NextSet", _nextset);Debug.locals.put("NextSet", _nextset); + BA.debugLineNum = 104;BA.debugLine="NextSet.Clear"; +Debug.JustUpdateDeviceLine(); +_nextset.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 105;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_listofitemsthatshouldbeupdated" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 106;BA.debugLine="For i = FromIndex To ToIndex"; +Debug.JustUpdateDeviceLine(); +{ +final int step8 = 1; +final int limit8 = _toindex.get().intValue(); +_i = _fromindex.get().intValue() ; +for (;(step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8) ;_i = ((int)(0 + _i + step8)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 107;BA.debugLine="Dim it As CLVItem = items.Get(i)"; +Debug.JustUpdateDeviceLine(); +_it = (__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("it", _it);Debug.locals.put("it", _it); + BA.debugLineNum = 108;BA.debugLine="If it.Panel = StubPanel Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_it.getField(false,"Panel"),__ref.getField(false,"_stubpanel" /*RemoteObject*/ ))) { + BA.debugLineNum = 109;BA.debugLine="it.Panel = GetPanel"; +Debug.JustUpdateDeviceLine(); +_it.setField ("Panel",__ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_getpanel" /*RemoteObject*/ )); + BA.debugLineNum = 110;BA.debugLine="it.Panel.Tag = i"; +Debug.JustUpdateDeviceLine(); +_it.getField(false,"Panel").runMethod(false,"setTag",RemoteObject.createImmutable((_i))); + BA.debugLineNum = 111;BA.debugLine="it.Panel.Color = it.Color"; +Debug.JustUpdateDeviceLine(); +_it.getField(false,"Panel").runMethod(true,"setColor",_it.getField(true,"Color")); + BA.debugLineNum = 112;BA.debugLine="If horizontal Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_horizontal" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 113;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(false,"getScrollViewInnerPanel").runVoidMethod ("AddView",(Object)((_it.getField(false,"Panel").getObject())),(Object)(_it.getField(true,"Offset")),(Object)(BA.numberCast(int.class, 0)),(Object)(_it.getField(true,"Size")),(Object)(__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"getHeight"))); + }else { + BA.debugLineNum = 115;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(false,"getScrollViewInnerPanel").runVoidMethod ("AddView",(Object)((_it.getField(false,"Panel").getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(_it.getField(true,"Offset")),(Object)(__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"getWidth")),(Object)(_it.getField(true,"Size"))); + }; + BA.debugLineNum = 117;BA.debugLine="NextSet.Add(it.Panel)"; +Debug.JustUpdateDeviceLine(); +_nextset.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_it.getField(false,"Panel").getObject()))); + BA.debugLineNum = 118;BA.debugLine="ListOfItemsThatShouldBeUpdated.Add(i)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_listofitemsthatshouldbeupdated" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(RemoteObject.createImmutable((_i)))); + }else +{ BA.debugLineNum = 119;BA.debugLine="Else if PrevSet.Contains(it.Panel) Then"; +Debug.JustUpdateDeviceLine(); +if (_prevset.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((_it.getField(false,"Panel").getObject()))).get().booleanValue()) { + BA.debugLineNum = 120;BA.debugLine="NextSet.Add(it.Panel)"; +Debug.JustUpdateDeviceLine(); +_nextset.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_it.getField(false,"Panel").getObject()))); + }} +; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 123;BA.debugLine="For Each pnl As B4XView In PrevSet.AsList"; +Debug.JustUpdateDeviceLine(); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +{ +final RemoteObject group25 = _prevset.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_aslist" /*RemoteObject*/ ); +final int groupLen25 = group25.runMethod(true,"getSize").get() +;int index25 = 0; +; +for (; index25 < groupLen25;index25++){ +_pnl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group25.runMethod(false,"Get",index25));Debug.locals.put("pnl", _pnl); +Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 124;BA.debugLine="If NextSet.Contains(pnl) = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_nextset.runClassMethod (gunav2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((_pnl.getObject()))),preoptimizedclv.__c.getField(true,"False"))) { + BA.debugLineNum = 125;BA.debugLine="If pnl.Parent.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_pnl.runMethod(false,"getParent").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 126;BA.debugLine="pnl.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_pnl.runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 127;BA.debugLine="pnl.GetView(0).RemoveAllViews"; +Debug.JustUpdateDeviceLine(); +_pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 128;BA.debugLine="pnl.RemoveAllViews"; +Debug.JustUpdateDeviceLine(); +_pnl.runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 129;BA.debugLine="PanelsCache.Add(pnl)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_pnl.getObject()))); + BA.debugLineNum = 130;BA.debugLine="Dim it As CLVItem = items.Get(pnl.Tag)"; +Debug.JustUpdateDeviceLine(); +_it = (__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pnl.runMethod(false,"getTag")))));Debug.locals.put("it", _it);Debug.locals.put("it", _it); + BA.debugLineNum = 131;BA.debugLine="it.Panel = StubPanel"; +Debug.JustUpdateDeviceLine(); +_it.setField ("Panel",__ref.getField(false,"_stubpanel" /*RemoteObject*/ )); + }; + }; + } +}Debug.locals.put("pnl", _pnl); +; + BA.debugLineNum = 135;BA.debugLine="HandleScrollBar (FirstIndex)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.preoptimizedclv.class, "_handlescrollbar" /*RemoteObject*/ ,(Object)(_firstindex)); + BA.debugLineNum = 136;BA.debugLine="Return ListOfItemsThatShouldBeUpdated"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_listofitemsthatshouldbeupdated" /*RemoteObject*/ ); + BA.debugLineNum = 137;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/roundslider.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/roundslider.java new file mode 100644 index 0000000..ccbbe0f --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/roundslider.java @@ -0,0 +1,51 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class roundslider { + public static RemoteObject myClass; + public roundslider() { + } + public static PCBA staticBA = new PCBA(null, roundslider.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(0); +public static RemoteObject _mmin = RemoteObject.createImmutable(0); +public static RemoteObject _mmax = RemoteObject.createImmutable(0); +public static RemoteObject _thumb = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _circlerect = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +public static RemoteObject _valuecolor = RemoteObject.createImmutable(0); +public static RemoteObject _stroke = RemoteObject.createImmutable(0); +public static RemoteObject _thumbsize = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _mthumbbordercolor = RemoteObject.createImmutable(0); +public static RemoteObject _mthumbinnercolor = RemoteObject.createImmutable(0); +public static RemoteObject _mcirclefillcolor = RemoteObject.createImmutable(0); +public static RemoteObject _mcirclenonvaluecolor = RemoteObject.createImmutable(0); +public static RemoteObject _mrollover = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"CircleRect",_ref.getField(false, "_circlerect"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mCircleFillColor",_ref.getField(false, "_mcirclefillcolor"),"mCircleNonValueColor",_ref.getField(false, "_mcirclenonvaluecolor"),"mEventName",_ref.getField(false, "_meventname"),"mMax",_ref.getField(false, "_mmax"),"mMin",_ref.getField(false, "_mmin"),"mRollOver",_ref.getField(false, "_mrollover"),"mThumbBorderColor",_ref.getField(false, "_mthumbbordercolor"),"mThumbInnerColor",_ref.getField(false, "_mthumbinnercolor"),"mValue",_ref.getField(false, "_mvalue"),"pnl",_ref.getField(false, "_pnl"),"stroke",_ref.getField(false, "_stroke"),"Tag",_ref.getField(false, "_tag"),"thumb",_ref.getField(false, "_thumb"),"ThumbSize",_ref.getField(false, "_thumbsize"),"ValueColor",_ref.getField(false, "_valuecolor"),"xlbl",_ref.getField(false, "_xlbl"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/roundslider_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/roundslider_subs_0.java new file mode 100644 index 0000000..754d896 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/roundslider_subs_0.java @@ -0,0 +1,576 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class roundslider_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,89); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "roundslider","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 89;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 90;BA.debugLine="cvs.Resize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _width)),(Object)(BA.numberCast(float.class, _height))); + BA.debugLineNum = 91;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 92;BA.debugLine="If thumb.IsInitialized = False Then CreateThumb"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_thumb" /*RemoteObject*/ ).runMethod(true,"IsInitialized"),roundslider.__c.getField(true,"False"))) { +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_createthumb" /*RemoteObject*/ );}; + BA.debugLineNum = 93;BA.debugLine="CircleRect.Initialize(ThumbSize + stroke, ThumbSi"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),__ref.getField(true,"_stroke" /*RemoteObject*/ )}, "+",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),__ref.getField(true,"_stroke" /*RemoteObject*/ )}, "+",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_width,__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),__ref.getField(true,"_stroke" /*RemoteObject*/ )}, "--",2, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_height,__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),__ref.getField(true,"_stroke" /*RemoteObject*/ )}, "--",2, 0)))); + BA.debugLineNum = 94;BA.debugLine="xlbl.SetLayoutAnimated(0, CircleRect.Left, Circle"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, __ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getLeft"))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getTop"))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 95;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; +roundslider._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",roundslider._meventname); + //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; +roundslider._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",roundslider._mcallback); + //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; +roundslider._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",roundslider._mbase); + //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; +roundslider._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",roundslider._xui); + //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; +roundslider._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",roundslider._cvs); + //BA.debugLineNum = 12;BA.debugLine="Private mValue As Int = 75"; +roundslider._mvalue = BA.numberCast(int.class, 75);__ref.setField("_mvalue",roundslider._mvalue); + //BA.debugLineNum = 13;BA.debugLine="Private mMin, mMax As Int"; +roundslider._mmin = RemoteObject.createImmutable(0);__ref.setField("_mmin",roundslider._mmin); +roundslider._mmax = RemoteObject.createImmutable(0);__ref.setField("_mmax",roundslider._mmax); + //BA.debugLineNum = 14;BA.debugLine="Private thumb As B4XBitmap"; +roundslider._thumb = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_thumb",roundslider._thumb); + //BA.debugLineNum = 15;BA.debugLine="Private pnl As B4XView"; +roundslider._pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnl",roundslider._pnl); + //BA.debugLineNum = 16;BA.debugLine="Private xlbl As B4XView"; +roundslider._xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_xlbl",roundslider._xlbl); + //BA.debugLineNum = 17;BA.debugLine="Private CircleRect As B4XRect"; +roundslider._circlerect = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");__ref.setField("_circlerect",roundslider._circlerect); + //BA.debugLineNum = 18;BA.debugLine="Private ValueColor As Int"; +roundslider._valuecolor = RemoteObject.createImmutable(0);__ref.setField("_valuecolor",roundslider._valuecolor); + //BA.debugLineNum = 19;BA.debugLine="Private stroke As Int"; +roundslider._stroke = RemoteObject.createImmutable(0);__ref.setField("_stroke",roundslider._stroke); + //BA.debugLineNum = 20;BA.debugLine="Private ThumbSize As Int"; +roundslider._thumbsize = RemoteObject.createImmutable(0);__ref.setField("_thumbsize",roundslider._thumbsize); + //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; +roundslider._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",roundslider._tag); + //BA.debugLineNum = 22;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; +roundslider._mthumbbordercolor = BA.numberCast(int.class, ((int)0xff5b5b5b));__ref.setField("_mthumbbordercolor",roundslider._mthumbbordercolor); + //BA.debugLineNum = 23;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; +roundslider._mthumbinnercolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_mthumbinnercolor",roundslider._mthumbinnercolor); + //BA.debugLineNum = 24;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; +roundslider._mcirclefillcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_mcirclefillcolor",roundslider._mcirclefillcolor); + //BA.debugLineNum = 25;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; +roundslider._mcirclenonvaluecolor = BA.numberCast(int.class, ((int)0xffb6b6b6));__ref.setField("_mcirclenonvaluecolor",roundslider._mcirclenonvaluecolor); + //BA.debugLineNum = 26;BA.debugLine="Private mRollOver As Boolean"; +roundslider._mrollover = RemoteObject.createImmutable(false);__ref.setField("_mrollover",roundslider._mrollover); + //BA.debugLineNum = 27;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createthumb(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateThumb (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("createthumb")) { return __ref.runUserSub(false, "roundslider","createthumb", __ref);} +RemoteObject _p = RemoteObject.declareNull("b4a.example.bcpath"); +RemoteObject _r = RemoteObject.createImmutable(0); +RemoteObject _g = RemoteObject.createImmutable(0); +RemoteObject _l = RemoteObject.createImmutable(0); +RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); + BA.debugLineNum = 70;BA.debugLine="Private Sub CreateThumb"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 71;BA.debugLine="Dim p As BCPath"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("b4a.example.bcpath");Debug.locals.put("p", _p); + BA.debugLineNum = 72;BA.debugLine="Dim r As Int = 80dip"; +Debug.JustUpdateDeviceLine(); +_r = roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80)));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 73;BA.debugLine="Dim g As Int = 8dip"; +Debug.JustUpdateDeviceLine(); +_g = roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 8)));Debug.locals.put("g", _g);Debug.locals.put("g", _g); + BA.debugLineNum = 74;BA.debugLine="Dim l As Int = 28dip"; +Debug.JustUpdateDeviceLine(); +_l = roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 28)));Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 75;BA.debugLine="Dim bc As BitmapCreator"; +Debug.JustUpdateDeviceLine(); +_bc = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("bc", _bc); + BA.debugLineNum = 76;BA.debugLine="bc.Initialize(2 * r + g + 3dip, 2 * r + l + g)"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_r,_g,roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "*++",2, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_r,_l,_g}, "*++",2, 1))); + BA.debugLineNum = 77;BA.debugLine="p.Initialize(r - l + g, 2 * r - 2dip + g)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_l,_g}, "-+",2, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_r,roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))),_g}, "*-+",2, 1)))); + BA.debugLineNum = 78;BA.debugLine="p.LineTo(r + l + g, 2 * r - 2dip + g)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("_lineto",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_l,_g}, "++",2, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_r,roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))),_g}, "*-+",2, 1)))); + BA.debugLineNum = 79;BA.debugLine="p.LineTo(r + g, 2 * r + l + g)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("_lineto",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_g}, "+",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_r,_l,_g}, "*++",2, 1)))); + BA.debugLineNum = 80;BA.debugLine="p.LineTo(r - l + g, 2 * r - 2dip + g)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("_lineto",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_l,_g}, "-+",2, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_r,roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))),_g}, "*-+",2, 1)))); + BA.debugLineNum = 81;BA.debugLine="bc.DrawPath(p, mThumbBorderColor, True, 0)"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_drawpath",(Object)(_p),(Object)(__ref.getField(true,"_mthumbbordercolor" /*RemoteObject*/ )),(Object)(roundslider.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 82;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbInnerColor,"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_drawcircle",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_g}, "+",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_g}, "+",1, 1))),(Object)(BA.numberCast(float.class, _r)),(Object)(__ref.getField(true,"_mthumbinnercolor" /*RemoteObject*/ )),(Object)(roundslider.__c.getField(true,"True")),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 83;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbBorderColor,"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_drawcircle",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_g}, "+",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_r,_g}, "+",1, 1))),(Object)(BA.numberCast(float.class, _r)),(Object)(__ref.getField(true,"_mthumbbordercolor" /*RemoteObject*/ )),(Object)(roundslider.__c.getField(true,"False")),(Object)(roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10))))); + BA.debugLineNum = 84;BA.debugLine="thumb = bc.Bitmap"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_thumb" /*RemoteObject*/ ,_bc.runMethod(false,"_getbitmap")); + BA.debugLineNum = 85;BA.debugLine="ThumbSize = thumb.Height / 4"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_thumbsize" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_thumb" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(4)}, "/",0, 0))); + BA.debugLineNum = 86;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 87;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "roundslider","designercreateview", __ref, _base, _lbl, _props);} +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 35;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 36;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 38;BA.debugLine="cvs.Initialize(mBase)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ))); + BA.debugLineNum = 39;BA.debugLine="mMin = Props.Get(\"Min\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mmin" /*RemoteObject*/ ,BA.numberCast(int.class, _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Min")))))); + BA.debugLineNum = 40;BA.debugLine="mMax = Props.Get(\"Max\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mmax" /*RemoteObject*/ ,BA.numberCast(int.class, _props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Max")))))); + BA.debugLineNum = 41;BA.debugLine="mValue = mMin"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,__ref.getField(true,"_mmin" /*RemoteObject*/ )); + BA.debugLineNum = 42;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pnl" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pnl")))); + BA.debugLineNum = 43;BA.debugLine="xlbl = Lbl"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).setObject (_lbl.getObject()); + BA.debugLineNum = 44;BA.debugLine="xlbl.Visible = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runMethod(true,"setVisible",roundslider.__c.getField(true,"True")); + BA.debugLineNum = 45;BA.debugLine="mBase.AddView(xlbl, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_xlbl" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 46;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_pnl" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 47;BA.debugLine="ValueColor = xui.PaintOrColorToColor(Props.Get(\"V"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_valuecolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ValueColor"))))))); + BA.debugLineNum = 48;BA.debugLine="mRollOver = Props.GetDefault(\"RollOver\", False)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mrollover" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("RollOver"))),(Object)((roundslider.__c.getField(true,"False")))))); + BA.debugLineNum = 49;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i"))) { + BA.debugLineNum = 50;BA.debugLine="stroke = 8dip"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_stroke" /*RemoteObject*/ ,roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 8)))); + }else +{ BA.debugLineNum = 51;BA.debugLine="Else If xui.IsB4J Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J").get().booleanValue()) { + BA.debugLineNum = 52;BA.debugLine="stroke = 6dip"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_stroke" /*RemoteObject*/ ,roundslider.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 6)))); + }} +; + BA.debugLineNum = 54;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Draw (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("draw")) { return __ref.runUserSub(false, "roundslider","draw", __ref);} +RemoteObject _radius = RemoteObject.createImmutable(0); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XPath"); +RemoteObject _angle = RemoteObject.createImmutable(0); +RemoteObject _b4jstrokeoffset = RemoteObject.createImmutable(0); +RemoteObject _dest = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _r = RemoteObject.createImmutable(0); +RemoteObject _cx = RemoteObject.createImmutable(0); +RemoteObject _cy = RemoteObject.createImmutable(0); + BA.debugLineNum = 98;BA.debugLine="Public Sub Draw"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 99;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 100;BA.debugLine="Dim radius As Int = CircleRect.Width / 2"; +Debug.JustUpdateDeviceLine(); +_radius = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("radius", _radius);Debug.locals.put("radius", _radius); + BA.debugLineNum = 101;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterY")),(Object)(BA.numberCast(float.class, _radius)),(Object)(__ref.getField(true,"_mcirclenonvaluecolor" /*RemoteObject*/ )),(Object)(roundslider.__c.getField(true,"False")),(Object)(BA.numberCast(float.class, __ref.getField(true,"_stroke" /*RemoteObject*/ )))); + BA.debugLineNum = 102;BA.debugLine="Dim p As B4XPath"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XPath");Debug.locals.put("p", _p); + BA.debugLineNum = 103;BA.debugLine="Dim angle As Int = (mValue - mMin) / (mMax - mMin"; +Debug.JustUpdateDeviceLine(); +_angle = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mvalue" /*RemoteObject*/ ),__ref.getField(true,"_mmin" /*RemoteObject*/ )}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mmax" /*RemoteObject*/ ),__ref.getField(true,"_mmin" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(360)}, "/*",0, 0));Debug.locals.put("angle", _angle);Debug.locals.put("angle", _angle); + BA.debugLineNum = 104;BA.debugLine="Dim B4JStrokeOffset As Int"; +Debug.JustUpdateDeviceLine(); +_b4jstrokeoffset = RemoteObject.createImmutable(0);Debug.locals.put("B4JStrokeOffset", _b4jstrokeoffset); + BA.debugLineNum = 105;BA.debugLine="If xui.IsB4J Then B4JStrokeOffset = stroke / 2"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J").get().booleanValue()) { +_b4jstrokeoffset = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_stroke" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("B4JStrokeOffset", _b4jstrokeoffset);}; + BA.debugLineNum = 106;BA.debugLine="If mValue = mMax Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mvalue" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_mmax" /*RemoteObject*/ )))) { + BA.debugLineNum = 107;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Ce"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterY")),(Object)(BA.numberCast(float.class, _radius)),(Object)(__ref.getField(true,"_valuecolor" /*RemoteObject*/ )),(Object)(roundslider.__c.getField(true,"False")),(Object)(BA.numberCast(float.class, __ref.getField(true,"_stroke" /*RemoteObject*/ )))); + }else { + BA.debugLineNum = 109;BA.debugLine="p.InitializeArc(CircleRect.CenterX, CircleRect.C"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeArc",(Object)(__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterY")),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_radius,_b4jstrokeoffset}, "+",1, 1))),(Object)(BA.numberCast(float.class, -(double) (0 + 90))),(Object)(BA.numberCast(float.class, _angle))); + BA.debugLineNum = 110;BA.debugLine="cvs.DrawPath(p, ValueColor, False, stroke)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawPath",(Object)(_p),(Object)(__ref.getField(true,"_valuecolor" /*RemoteObject*/ )),(Object)(roundslider.__c.getField(true,"False")),(Object)(BA.numberCast(float.class, __ref.getField(true,"_stroke" /*RemoteObject*/ )))); + }; + BA.debugLineNum = 112;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterX")),(Object)(__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterY")),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_radius,_b4jstrokeoffset}, "-",1, 1))),(Object)(__ref.getField(true,"_mcirclefillcolor" /*RemoteObject*/ )),(Object)(roundslider.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 113;BA.debugLine="Dim dest As B4XRect"; +Debug.JustUpdateDeviceLine(); +_dest = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("dest", _dest); + BA.debugLineNum = 114;BA.debugLine="Dim r As Int = radius + ThumbSize / 2 + stroke /"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_radius,__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),RemoteObject.createImmutable(2),__ref.getField(true,"_stroke" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "+/+/",2, 0));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 115;BA.debugLine="Dim cx As Int = CircleRect.CenterX + r * CosD(ang"; +Debug.JustUpdateDeviceLine(); +_cx = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterX"),_r,roundslider.__c.runMethod(true,"CosD",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_angle,RemoteObject.createImmutable(90)}, "-",1, 1))))}, "+*",1, 0));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 116;BA.debugLine="Dim cy As Int = CircleRect.CenterY + r * SinD(ang"; +Debug.JustUpdateDeviceLine(); +_cy = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterY"),_r,roundslider.__c.runMethod(true,"SinD",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_angle,RemoteObject.createImmutable(90)}, "-",1, 1))))}, "+*",1, 0));Debug.locals.put("cy", _cy);Debug.locals.put("cy", _cy); + BA.debugLineNum = 117;BA.debugLine="dest.Initialize(cx - thumb.Width / 8, cy - ThumbS"; +Debug.JustUpdateDeviceLine(); +_dest.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cx,__ref.getField(false,"_thumb" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(8)}, "-/",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cy,__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "-/",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cx,__ref.getField(false,"_thumb" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(8)}, "+/",1, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cy,__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "+/",1, 0)))); + BA.debugLineNum = 118;BA.debugLine="cvs.DrawBitmapRotated(thumb, dest, angle)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawBitmapRotated",(Object)((__ref.getField(false,"_thumb" /*RemoteObject*/ ).getObject())),(Object)(_dest),(Object)(BA.numberCast(float.class, _angle))); + BA.debugLineNum = 119;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 120;BA.debugLine="xlbl.Text = mValue"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_mvalue" /*RemoteObject*/ ))); + BA.debugLineNum = 121;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValue (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,182); +if (RapidSub.canDelegate("getvalue")) { return __ref.runUserSub(false, "roundslider","getvalue", __ref);} + BA.debugLineNum = 182;BA.debugLine="Public Sub getValue As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 183;BA.debugLine="Return mValue"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mvalue" /*RemoteObject*/ ); + BA.debugLineNum = 184;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,29); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "roundslider","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 30;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 31;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 32;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pnl_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("pnl_Touch (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,123); +if (RapidSub.canDelegate("pnl_touch")) { return __ref.runUserSub(false, "roundslider","pnl_touch", __ref, _action, _x, _y);} +RemoteObject _dx = RemoteObject.createImmutable(0); +RemoteObject _dy = RemoteObject.createImmutable(0); +RemoteObject _dist = RemoteObject.createImmutable(0f); +RemoteObject _angle = RemoteObject.createImmutable(0); +RemoteObject _newvalue = RemoteObject.createImmutable(0); +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 123;BA.debugLine="Private Sub pnl_Touch (Action As Int, X As Float,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 124;BA.debugLine="If Action = pnl.TOUCH_ACTION_MOVE_NOTOUCH Then Re"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_pnl" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE_NOTOUCH")))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 125;BA.debugLine="Dim dx As Int = x - CircleRect.CenterX"; +Debug.JustUpdateDeviceLine(); +_dx = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_x,__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterX")}, "-",1, 0));Debug.locals.put("dx", _dx);Debug.locals.put("dx", _dx); + BA.debugLineNum = 126;BA.debugLine="Dim dy As Int = y - CircleRect.CenterY"; +Debug.JustUpdateDeviceLine(); +_dy = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_y,__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getCenterY")}, "-",1, 0));Debug.locals.put("dy", _dy);Debug.locals.put("dy", _dy); + BA.debugLineNum = 127;BA.debugLine="Dim dist As Float = Sqrt(Power(dx, 2) + Power(dy,"; +Debug.JustUpdateDeviceLine(); +_dist = BA.numberCast(float.class, roundslider.__c.runMethod(true,"Sqrt",(Object)(RemoteObject.solve(new RemoteObject[] {roundslider.__c.runMethod(true,"Power",(Object)(BA.numberCast(double.class, _dx)),(Object)(BA.numberCast(double.class, 2))),roundslider.__c.runMethod(true,"Power",(Object)(BA.numberCast(double.class, _dy)),(Object)(BA.numberCast(double.class, 2)))}, "+",1, 0))));Debug.locals.put("dist", _dist);Debug.locals.put("dist", _dist); + BA.debugLineNum = 128;BA.debugLine="If dist > CircleRect.Width / 2 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_dist,RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))) { + BA.debugLineNum = 129;BA.debugLine="Dim angle As Int = Round(ATan2D(dy, dx))"; +Debug.JustUpdateDeviceLine(); +_angle = BA.numberCast(int.class, roundslider.__c.runMethod(true,"Round",(Object)(roundslider.__c.runMethod(true,"ATan2D",(Object)(BA.numberCast(double.class, _dy)),(Object)(BA.numberCast(double.class, _dx))))));Debug.locals.put("angle", _angle);Debug.locals.put("angle", _angle); + BA.debugLineNum = 130;BA.debugLine="angle = angle + 90"; +Debug.JustUpdateDeviceLine(); +_angle = RemoteObject.solve(new RemoteObject[] {_angle,RemoteObject.createImmutable(90)}, "+",1, 1);Debug.locals.put("angle", _angle); + BA.debugLineNum = 131;BA.debugLine="angle = (angle + 360) Mod 360"; +Debug.JustUpdateDeviceLine(); +_angle = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_angle,RemoteObject.createImmutable(360)}, "+",1, 1)),RemoteObject.createImmutable(360)}, "%",0, 1);Debug.locals.put("angle", _angle); + BA.debugLineNum = 132;BA.debugLine="Dim NewValue As Int = mMin + angle / 360 * (mMax"; +Debug.JustUpdateDeviceLine(); +_newvalue = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mmin" /*RemoteObject*/ ),_angle,RemoteObject.createImmutable(360),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mmax" /*RemoteObject*/ ),__ref.getField(true,"_mmin" /*RemoteObject*/ )}, "-",1, 1))}, "+/*",1, 0));Debug.locals.put("NewValue", _newvalue);Debug.locals.put("NewValue", _newvalue); + BA.debugLineNum = 133;BA.debugLine="NewValue = Max(mMin, Min(mMax, NewValue))"; +Debug.JustUpdateDeviceLine(); +_newvalue = BA.numberCast(int.class, roundslider.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, __ref.getField(true,"_mmin" /*RemoteObject*/ ))),(Object)(roundslider.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, __ref.getField(true,"_mmax" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, _newvalue))))));Debug.locals.put("NewValue", _newvalue); + BA.debugLineNum = 134;BA.debugLine="If NewValue <> mValue Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_newvalue,BA.numberCast(double.class, __ref.getField(true,"_mvalue" /*RemoteObject*/ )))) { + BA.debugLineNum = 135;BA.debugLine="If mRollOver = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mrollover" /*RemoteObject*/ ),roundslider.__c.getField(true,"False"))) { + BA.debugLineNum = 136;BA.debugLine="If Abs(NewValue - mValue) > (mMax - mMin) / 2"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",roundslider.__c.runMethod(true,"Abs",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_newvalue,__ref.getField(true,"_mvalue" /*RemoteObject*/ )}, "-",1, 1)))),RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mmax" /*RemoteObject*/ ),__ref.getField(true,"_mmin" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))) { + BA.debugLineNum = 137;BA.debugLine="If mValue >= (mMax + mMin) / 2 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",__ref.getField(true,"_mvalue" /*RemoteObject*/ ),RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mmax" /*RemoteObject*/ ),__ref.getField(true,"_mmin" /*RemoteObject*/ )}, "+",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))) { + BA.debugLineNum = 138;BA.debugLine="mValue = mMax"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,__ref.getField(true,"_mmax" /*RemoteObject*/ )); + }else { + BA.debugLineNum = 140;BA.debugLine="mValue = mMin"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,__ref.getField(true,"_mmin" /*RemoteObject*/ )); + }; + }else { + BA.debugLineNum = 143;BA.debugLine="mValue = NewValue"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,_newvalue); + }; + }else { + BA.debugLineNum = 146;BA.debugLine="mValue = NewValue"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,_newvalue); + }; + BA.debugLineNum = 148;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Valu"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ValueChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 149;BA.debugLine="CallSub2(mCallBack, mEventName & \"_ValueChange"; +Debug.JustUpdateDeviceLine(); +roundslider.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ValueChanged"))),(Object)((__ref.getField(true,"_mvalue" /*RemoteObject*/ )))); + }; + }; + BA.debugLineNum = 152;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + }; + BA.debugLineNum = 154;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcirclecolor(RemoteObject __ref,RemoteObject _nonvaluecolor,RemoteObject _innercolor) throws Exception{ +try { + Debug.PushSubsStack("SetCircleColor (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,64); +if (RapidSub.canDelegate("setcirclecolor")) { return __ref.runUserSub(false, "roundslider","setcirclecolor", __ref, _nonvaluecolor, _innercolor);} +Debug.locals.put("NonValueColor", _nonvaluecolor); +Debug.locals.put("InnerColor", _innercolor); + BA.debugLineNum = 64;BA.debugLine="Public Sub SetCircleColor (NonValueColor As Int, I"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 65;BA.debugLine="mCircleNonValueColor = NonValueColor"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcirclenonvaluecolor" /*RemoteObject*/ ,_nonvaluecolor); + BA.debugLineNum = 66;BA.debugLine="mCircleFillColor = InnerColor"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcirclefillcolor" /*RemoteObject*/ ,_innercolor); + BA.debugLineNum = 67;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 68;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setrange(RemoteObject __ref,RemoteObject _newmin,RemoteObject _newmax) throws Exception{ +try { + Debug.PushSubsStack("SetRange (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,176); +if (RapidSub.canDelegate("setrange")) { return __ref.runUserSub(false, "roundslider","setrange", __ref, _newmin, _newmax);} +Debug.locals.put("NewMin", _newmin); +Debug.locals.put("NewMax", _newmax); + BA.debugLineNum = 176;BA.debugLine="Public Sub SetRange(NewMin As Int, NewMax As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 177;BA.debugLine="mMin = NewMin"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mmin" /*RemoteObject*/ ,_newmin); + BA.debugLineNum = 178;BA.debugLine="mMax = NewMax"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mmax" /*RemoteObject*/ ,_newmax); + BA.debugLineNum = 179;BA.debugLine="setValue(mValue)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_setvalue" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ ))); + BA.debugLineNum = 180;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setthumbcolor(RemoteObject __ref,RemoteObject _bordercolor,RemoteObject _innercolor) throws Exception{ +try { + Debug.PushSubsStack("SetThumbColor (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,57); +if (RapidSub.canDelegate("setthumbcolor")) { return __ref.runUserSub(false, "roundslider","setthumbcolor", __ref, _bordercolor, _innercolor);} +Debug.locals.put("BorderColor", _bordercolor); +Debug.locals.put("InnerColor", _innercolor); + BA.debugLineNum = 57;BA.debugLine="Public Sub SetThumbColor(BorderColor As Int, Inner"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 58;BA.debugLine="mThumbBorderColor = BorderColor"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mthumbbordercolor" /*RemoteObject*/ ,_bordercolor); + BA.debugLineNum = 59;BA.debugLine="mThumbInnerColor = InnerColor"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mthumbinnercolor" /*RemoteObject*/ ,_innercolor); + BA.debugLineNum = 60;BA.debugLine="CreateThumb"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_createthumb" /*RemoteObject*/ ); + BA.debugLineNum = 61;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvalue(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("setValue (roundslider) ","roundslider",70,__ref.getField(false, "ba"),__ref,170); +if (RapidSub.canDelegate("setvalue")) { return __ref.runUserSub(false, "roundslider","setvalue", __ref, _v);} +Debug.locals.put("v", _v); + BA.debugLineNum = 170;BA.debugLine="Public Sub setValue (v As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 171;BA.debugLine="mValue = Max(mMin, Min(mMax, v))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mvalue" /*RemoteObject*/ ,BA.numberCast(int.class, roundslider.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, __ref.getField(true,"_mmin" /*RemoteObject*/ ))),(Object)(roundslider.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, __ref.getField(true,"_mmax" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, _v))))))); + BA.debugLineNum = 172;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/scrollinglabel.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/scrollinglabel.java new file mode 100644 index 0000000..d88bcdc --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/scrollinglabel.java @@ -0,0 +1,42 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class scrollinglabel { + public static RemoteObject myClass; + public scrollinglabel() { + } + public static PCBA staticBA = new PCBA(null, scrollinglabel.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mtext = RemoteObject.createImmutable(""); +public static RemoteObject _taskindex = RemoteObject.createImmutable(0); +public static RemoteObject _fnt = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _widthpersecond = RemoteObject.createImmutable(0); +public static RemoteObject _startpositiondelay = RemoteObject.createImmutable(0); +public static RemoteObject _mtextcolor = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"fnt",_ref.getField(false, "_fnt"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"mText",_ref.getField(false, "_mtext"),"mTextColor",_ref.getField(false, "_mtextcolor"),"StartPositionDelay",_ref.getField(false, "_startpositiondelay"),"Tag",_ref.getField(false, "_tag"),"taskIndex",_ref.getField(false, "_taskindex"),"WidthPerSecond",_ref.getField(false, "_widthpersecond"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/scrollinglabel_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/scrollinglabel_subs_0.java new file mode 100644 index 0000000..bb58df3 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/scrollinglabel_subs_0.java @@ -0,0 +1,582 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class scrollinglabel_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,40); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "scrollinglabel","base_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 41;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + BA.debugLineNum = 42;BA.debugLine="setText(mText)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.scrollinglabel.class, "_settext" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mtext" /*RemoteObject*/ ))); + BA.debugLineNum = 43;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; +scrollinglabel._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",scrollinglabel._meventname); + //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; +scrollinglabel._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",scrollinglabel._mcallback); + //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; +scrollinglabel._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",scrollinglabel._mbase); + //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; +scrollinglabel._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",scrollinglabel._xui); + //BA.debugLineNum = 7;BA.debugLine="Private mText As String"; +scrollinglabel._mtext = RemoteObject.createImmutable("");__ref.setField("_mtext",scrollinglabel._mtext); + //BA.debugLineNum = 8;BA.debugLine="Private taskIndex As Int"; +scrollinglabel._taskindex = RemoteObject.createImmutable(0);__ref.setField("_taskindex",scrollinglabel._taskindex); + //BA.debugLineNum = 9;BA.debugLine="Private fnt As B4XFont"; +scrollinglabel._fnt = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_fnt",scrollinglabel._fnt); + //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; +scrollinglabel._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",scrollinglabel._cvs); + //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; +scrollinglabel._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",scrollinglabel._tag); + //BA.debugLineNum = 12;BA.debugLine="Public WidthPerSecond As Int = 100dip"; +scrollinglabel._widthpersecond = scrollinglabel.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)));__ref.setField("_widthpersecond",scrollinglabel._widthpersecond); + //BA.debugLineNum = 13;BA.debugLine="Public StartPositionDelay As Int = 1000"; +scrollinglabel._startpositiondelay = BA.numberCast(int.class, 1000);__ref.setField("_startpositiondelay",scrollinglabel._startpositiondelay); + //BA.debugLineNum = 14;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; +scrollinglabel._mtextcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black");__ref.setField("_mtextcolor",scrollinglabel._mtextcolor); + //BA.debugLineNum = 15;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,23); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "scrollinglabel","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 23;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 24;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 25;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 25;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 27;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 28;BA.debugLine="mBase.AddView(p, 0, 0, mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_p.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 29;BA.debugLine="mText = Lbl.Text"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mtext" /*RemoteObject*/ ,_lbl.runMethod(true,"getText")); + BA.debugLineNum = 30;BA.debugLine="Dim l As B4XView = Lbl"; +Debug.JustUpdateDeviceLine(); +_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_l = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 31;BA.debugLine="fnt = l.Font"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_fnt" /*RemoteObject*/ ,_l.runMethod(false,"getFont")); + BA.debugLineNum = 32;BA.debugLine="mTextColor = l.TextColor"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mtextcolor" /*RemoteObject*/ ,_l.runMethod(true,"getTextColor")); + BA.debugLineNum = 33;BA.debugLine="If mTextColor = xui.Color_Transparent Then mTextC"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mtextcolor" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")))) { +__ref.setField ("_mtextcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black"));}; + BA.debugLineNum = 34;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 35;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(scrollinglabel.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(scrollinglabel.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 36;BA.debugLine="cvs.Initialize(p)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_p)); + BA.debugLineNum = 37;BA.debugLine="setText(mText)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.scrollinglabel.class, "_settext" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mtext" /*RemoteObject*/ ))); + BA.debugLineNum = 38;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettext(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getText (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,93); +if (RapidSub.canDelegate("gettext")) { return __ref.runUserSub(false, "scrollinglabel","gettext", __ref);} + BA.debugLineNum = 93;BA.debugLine="Public Sub getText As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 94;BA.debugLine="Return mText"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mtext" /*RemoteObject*/ ); + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettextcolor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getTextColor (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,126); +if (RapidSub.canDelegate("gettextcolor")) { return __ref.runUserSub(false, "scrollinglabel","gettextcolor", __ref);} + BA.debugLineNum = 126;BA.debugLine="Public Sub getTextColor As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 127;BA.debugLine="Return mTextColor"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mtextcolor" /*RemoteObject*/ ); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,18); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "scrollinglabel","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 18;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 19;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 20;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 21;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _measuretextwidth(RemoteObject __ref,RemoteObject _s,RemoteObject _font1) throws Exception{ +try { + Debug.PushSubsStack("MeasureTextWidth (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,117); +if (RapidSub.canDelegate("measuretextwidth")) { return __ref.runUserSub(false, "scrollinglabel","measuretextwidth", __ref, _s, _font1);} +Debug.locals.put("s", _s); +Debug.locals.put("font1", _font1); + BA.debugLineNum = 117;BA.debugLine="Private Sub MeasureTextWidth(s As String, font1 As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 118;BA.debugLine="Return cvs.MeasureText(s, font1).Width"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"MeasureText",(Object)(_s),(Object)(_font1)).runMethod(true,"getWidth"); + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0f); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settext(RemoteObject __ref,RemoteObject _t) throws Exception{ +try { + Debug.PushSubsStack("setText (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,45); +if (RapidSub.canDelegate("settext")) { return __ref.runUserSub(false, "scrollinglabel","settext", __ref, _t);} +RemoteObject _needtocreatenewlabel = RemoteObject.createImmutable(false); +RemoteObject _parent = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _originaltextwidth = RemoteObject.createImmutable(0f); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _duplicatetext = RemoteObject.createImmutable(""); +RemoteObject _width = RemoteObject.createImmutable(0f); +Debug.locals.put("t", _t); + BA.debugLineNum = 45;BA.debugLine="Public Sub setText(t As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 46;BA.debugLine="Dim NeedToCreateNewLabel As Boolean = True"; +Debug.JustUpdateDeviceLine(); +_needtocreatenewlabel = scrollinglabel.__c.getField(true,"True");Debug.locals.put("NeedToCreateNewLabel", _needtocreatenewlabel);Debug.locals.put("NeedToCreateNewLabel", _needtocreatenewlabel); + BA.debugLineNum = 47;BA.debugLine="Dim parent As B4XView = mBase.GetView(0)"; +Debug.JustUpdateDeviceLine(); +_parent = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_parent = __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("parent", _parent);Debug.locals.put("parent", _parent); + BA.debugLineNum = 48;BA.debugLine="If parent.NumberOfViews > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_parent.runMethod(true,"getNumberOfViews"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 50;BA.debugLine="Dim p As B4XView = parent.GetView(0)"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = _parent.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 51;BA.debugLine="If p.Tag = \"static\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_p.runMethod(false,"getTag"),RemoteObject.createImmutable(("static")))) { + BA.debugLineNum = 52;BA.debugLine="NeedToCreateNewLabel = False"; +Debug.JustUpdateDeviceLine(); +_needtocreatenewlabel = scrollinglabel.__c.getField(true,"False");Debug.locals.put("NeedToCreateNewLabel", _needtocreatenewlabel); + BA.debugLineNum = 53;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, parent.Width, pare"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_parent.runMethod(true,"getWidth")),(Object)(_parent.runMethod(true,"getHeight"))); + BA.debugLineNum = 54;BA.debugLine="Dim xlbl As B4XView = p.GetView(0)"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 55;BA.debugLine="xlbl.SetLayoutAnimated(0, 0, 0, parent.Width, p"; +Debug.JustUpdateDeviceLine(); +_xlbl.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_parent.runMethod(true,"getWidth")),(Object)(_parent.runMethod(true,"getHeight"))); + }; + }; + BA.debugLineNum = 59;BA.debugLine="Dim originalTextWidth As Float = MeasureTextWidth"; +Debug.JustUpdateDeviceLine(); +_originaltextwidth = __ref.runClassMethod (gunav2.keymon.com.mx.scrollinglabel.class, "_measuretextwidth" /*RemoteObject*/ ,(Object)(_t),(Object)(__ref.getField(false,"_fnt" /*RemoteObject*/ )));Debug.locals.put("originalTextWidth", _originaltextwidth);Debug.locals.put("originalTextWidth", _originaltextwidth); + BA.debugLineNum = 60;BA.debugLine="mText = t"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mtext" /*RemoteObject*/ ,_t); + BA.debugLineNum = 61;BA.debugLine="If NeedToCreateNewLabel Then"; +Debug.JustUpdateDeviceLine(); +if (_needtocreatenewlabel.get().booleanValue()) { + BA.debugLineNum = 62;BA.debugLine="parent.RemoveAllViews"; +Debug.JustUpdateDeviceLine(); +_parent.runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 63;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 64;BA.debugLine="parent.AddView(p, 0, 0, parent.Width, parent.Hei"; +Debug.JustUpdateDeviceLine(); +_parent.runVoidMethod ("AddView",(Object)((_p.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_parent.runMethod(true,"getWidth")),(Object)(_parent.runMethod(true,"getHeight"))); + BA.debugLineNum = 65;BA.debugLine="Dim lbl As Label"; +Debug.JustUpdateDeviceLine(); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 66;BA.debugLine="lbl.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 68;BA.debugLine="lbl.SingleLine = True"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("setSingleLine",scrollinglabel.__c.getField(true,"True")); + BA.debugLineNum = 69;BA.debugLine="lbl.Padding = Array As Int(0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +_lbl.runMethod(false,"setPadding",RemoteObject.createNewArray("int",new int[] {4},new Object[] {BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0)})); + BA.debugLineNum = 71;BA.debugLine="Dim xlbl As B4XView = lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 72;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +Debug.JustUpdateDeviceLine(); +_xlbl.runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("LEFT"))); + BA.debugLineNum = 73;BA.debugLine="xlbl.Font = fnt"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(false,"setFont",__ref.getField(false,"_fnt" /*RemoteObject*/ )); + BA.debugLineNum = 75;BA.debugLine="p.AddView(xlbl, 0, 0, mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("AddView",(Object)((_xlbl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + }; + BA.debugLineNum = 77;BA.debugLine="xlbl.TextColor = mTextColor"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setTextColor",__ref.getField(true,"_mtextcolor" /*RemoteObject*/ )); + BA.debugLineNum = 78;BA.debugLine="If originalTextWidth <= mBase.Width Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",_originaltextwidth,BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")))) { + BA.debugLineNum = 79;BA.debugLine="xlbl.Text = t"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_t)); + BA.debugLineNum = 80;BA.debugLine="p.Tag = \"static\""; +Debug.JustUpdateDeviceLine(); +_p.runMethod(false,"setTag",RemoteObject.createImmutable(("static"))); + BA.debugLineNum = 81;BA.debugLine="StopScrolling"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.scrollinglabel.class, "_stopscrolling" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 83;BA.debugLine="p.Tag = \"\""; +Debug.JustUpdateDeviceLine(); +_p.runMethod(false,"setTag",RemoteObject.createImmutable((""))); + BA.debugLineNum = 84;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; +Debug.JustUpdateDeviceLine(); +_duplicatetext = RemoteObject.concat(_t,RemoteObject.createImmutable(" "),_t);Debug.locals.put("duplicateText", _duplicatetext);Debug.locals.put("duplicateText", _duplicatetext); + BA.debugLineNum = 85;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; +Debug.JustUpdateDeviceLine(); +_width = __ref.runClassMethod (gunav2.keymon.com.mx.scrollinglabel.class, "_measuretextwidth" /*RemoteObject*/ ,(Object)(_duplicatetext),(Object)(__ref.getField(false,"_fnt" /*RemoteObject*/ )));Debug.locals.put("Width", _width);Debug.locals.put("Width", _width); + BA.debugLineNum = 86;BA.debugLine="p.Width = Width"; +Debug.JustUpdateDeviceLine(); +_p.runMethod(true,"setWidth",BA.numberCast(int.class, _width)); + BA.debugLineNum = 87;BA.debugLine="xlbl.Width = Width"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setWidth",BA.numberCast(int.class, _width)); + BA.debugLineNum = 88;BA.debugLine="xlbl.Text = duplicateText"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_duplicatetext)); + BA.debugLineNum = 89;BA.debugLine="StartScrolling (p, originalTextWidth)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.scrollinglabel.class, "_startscrolling" /*void*/ ,(Object)(_p),(Object)(_originaltextwidth)); + }; + BA.debugLineNum = 91;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settextcolor(RemoteObject __ref,RemoteObject _c) throws Exception{ +try { + Debug.PushSubsStack("setTextColor (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,121); +if (RapidSub.canDelegate("settextcolor")) { return __ref.runUserSub(false, "scrollinglabel","settextcolor", __ref, _c);} +Debug.locals.put("c", _c); + BA.debugLineNum = 121;BA.debugLine="Public Sub setTextColor(c As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 122;BA.debugLine="mTextColor = c"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mtextcolor" /*RemoteObject*/ ,_c); + BA.debugLineNum = 123;BA.debugLine="setText(mText)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.scrollinglabel.class, "_settext" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mtext" /*RemoteObject*/ ))); + BA.debugLineNum = 124;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _startscrolling(RemoteObject __ref,RemoteObject _p,RemoteObject _originalwidth) throws Exception{ +try { + Debug.PushSubsStack("StartScrolling (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,101); +if (RapidSub.canDelegate("startscrolling")) { __ref.runUserSub(false, "scrollinglabel","startscrolling", __ref, _p, _originalwidth); return;} +ResumableSub_StartScrolling rsub = new ResumableSub_StartScrolling(null,__ref,_p,_originalwidth); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_StartScrolling extends BA.ResumableSub { +public ResumableSub_StartScrolling(gunav2.keymon.com.mx.scrollinglabel parent,RemoteObject __ref,RemoteObject _p,RemoteObject _originalwidth) { +this.parent = parent; +this.__ref = __ref; +this._p = _p; +this._originalwidth = _originalwidth; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +gunav2.keymon.com.mx.scrollinglabel parent; +RemoteObject _p; +RemoteObject _originalwidth; +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _duration = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartScrolling (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,101); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("p", _p); +Debug.locals.put("OriginalWidth", _originalwidth); + BA.debugLineNum = 102;BA.debugLine="taskIndex = taskIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_taskindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_taskindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 103;BA.debugLine="Dim myIndex As Int = taskIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_taskindex" /*RemoteObject*/ );Debug.locals.put("myIndex", _myindex);Debug.locals.put("myIndex", _myindex); + BA.debugLineNum = 104;BA.debugLine="Dim duration As Int = p.Width / WidthPerSecond *"; +Debug.JustUpdateDeviceLine(); +_duration = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_p.runMethod(true,"getWidth"),__ref.getField(true,"_widthpersecond" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "/*",0, 0));Debug.locals.put("duration", _duration);Debug.locals.put("duration", _duration); + BA.debugLineNum = 105;BA.debugLine="Sleep(StartPositionDelay)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "scrollinglabel", "startscrolling"),__ref.getField(true,"_startpositiondelay" /*RemoteObject*/ )); +this.state = 23; +return; +case 23: +//C +this.state = 1; +; + BA.debugLineNum = 106;BA.debugLine="If myIndex <> taskIndex Then Return"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_taskindex" /*RemoteObject*/ )))) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +if (true) return ; +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 107;BA.debugLine="Do While True"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 7: +//do while +this.state = 22; +while (parent.__c.getField(true,"True").get().booleanValue()) { +this.state = 9; +if (true) break; +} +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 108;BA.debugLine="p.SetLayoutAnimated(duration, -(p.Width - Origin"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(_duration),(Object)(BA.numberCast(int.class, -(RemoteObject.solve(new RemoteObject[] {_p.runMethod(true,"getWidth"),_originalwidth}, "-",1, 0)).get().doubleValue())),(Object)(_p.runMethod(true,"getTop")),(Object)(_p.runMethod(true,"getWidth")),(Object)(_p.runMethod(true,"getHeight"))); + BA.debugLineNum = 109;BA.debugLine="Sleep(duration)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "scrollinglabel", "startscrolling"),_duration); +this.state = 24; +return; +case 24: +//C +this.state = 10; +; + BA.debugLineNum = 110;BA.debugLine="If myIndex <> taskIndex Then Return"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 10: +//if +this.state = 15; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_taskindex" /*RemoteObject*/ )))) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +if (true) return ; +if (true) break; + +case 15: +//C +this.state = 16; +; + BA.debugLineNum = 111;BA.debugLine="Sleep(StartPositionDelay)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "scrollinglabel", "startscrolling"),__ref.getField(true,"_startpositiondelay" /*RemoteObject*/ )); +this.state = 25; +return; +case 25: +//C +this.state = 16; +; + BA.debugLineNum = 112;BA.debugLine="If myIndex <> taskIndex Then Return"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 16: +//if +this.state = 21; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_taskindex" /*RemoteObject*/ )))) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +if (true) return ; +if (true) break; + +case 21: +//C +this.state = 7; +; + BA.debugLineNum = 113;BA.debugLine="p.SetLayoutAnimated(0, 0, p.Top, p.Width, p.Heig"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_p.runMethod(true,"getTop")),(Object)(_p.runMethod(true,"getWidth")),(Object)(_p.runMethod(true,"getHeight"))); + if (true) break; + +case 22: +//C +this.state = -1; +; + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _stopscrolling(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StopScrolling (scrollinglabel) ","scrollinglabel",71,__ref.getField(false, "ba"),__ref,97); +if (RapidSub.canDelegate("stopscrolling")) { return __ref.runUserSub(false, "scrollinglabel","stopscrolling", __ref);} + BA.debugLineNum = 97;BA.debugLine="Private Sub StopScrolling"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 98;BA.debugLine="taskIndex = taskIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_taskindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_taskindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/starter.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/starter.java new file mode 100644 index 0000000..842953a --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/starter.java @@ -0,0 +1,96 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class starter implements IRemote{ + public static starter mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public starter() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("starter"), "gunav2.keymon.com.mx.starter"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.starter"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, starter.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + }public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) mostCurrent.pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _gps = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ph = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _flp = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _server = RemoteObject.createImmutable(""); +public static RemoteObject _timer1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _interval = RemoteObject.createImmutable(0); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _logs = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +public static RemoteObject _logcat = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.LogCat"); +public static RemoteObject _logger = RemoteObject.createImmutable(false); +public static RemoteObject _marcacel = RemoteObject.createImmutable(""); +public static RemoteObject _btadmin = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); +public static RemoteObject _mac_impresora = RemoteObject.createImmutable(""); +public static RemoteObject _bluetoothstate = RemoteObject.createImmutable(false); +public static RemoteObject _ubicacionactual = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _enventa = RemoteObject.createImmutable(false); +public static RemoteObject _muestraprogreso = RemoteObject.createImmutable(""); +public static RemoteObject _newapp = RemoteObject.declareNull("gunav2.keymon.com.mx.appupdater._mnewversion"); +public static RemoteObject _nuevolink = RemoteObject.createImmutable(""); +public static RemoteObject _idcliente = RemoteObject.createImmutable(""); +public static RemoteObject _encuesta = RemoteObject.createImmutable(""); +public static RemoteObject _ffileprovider = RemoteObject.declareNull("gunav2.keymon.com.mx.fileprovider"); +public static RemoteObject _tabla = RemoteObject.createImmutable(""); +public static RemoteObject _encliente = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"BluetoothState",starter._bluetoothstate,"BTAdmin",starter._btadmin,"DateUtils",starter.mostCurrent._dateutils,"enCliente",starter._encliente,"encuesta",starter._encuesta,"enVenta",starter._enventa,"fFileProvider",starter._ffileprovider,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"FLP",starter._flp,"gps",starter._gps,"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"idCliente",starter._idcliente,"Interval",starter._interval,"logcat",starter._logcat,"logger",starter._logger,"logs",starter._logs,"MAC_IMPRESORA",starter._mac_impresora,"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"marcaCel",starter._marcacel,"muestraProgreso",starter._muestraprogreso,"newApp",starter._newapp,"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"nuevoLink",starter._nuevolink,"ph",starter._ph,"reqManager",starter._reqmanager,"rp",starter._rp,"ruta",starter._ruta,"server",starter._server,"Service",starter.mostCurrent._service,"skmt",starter._skmt,"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"tabla",starter._tabla,"Timer1",starter._timer1,"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"ubicacionActual",starter._ubicacionactual,"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/starter_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/starter_subs_0.java new file mode 100644 index 0000000..0bdbc57 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/starter_subs_0.java @@ -0,0 +1,484 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class starter_subs_0 { + + +public static RemoteObject _application_error(RemoteObject _error,RemoteObject _stacktrace) throws Exception{ +try { + Debug.PushSubsStack("Application_Error (starter) ","starter",1,starter.processBA,starter.mostCurrent,149); +if (RapidSub.canDelegate("application_error")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","application_error", _error, _stacktrace);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _l = RemoteObject.createImmutable(0L); +Debug.locals.put("Error", _error); +Debug.locals.put("StackTrace", _stacktrace); + BA.debugLineNum = 149;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 151;BA.debugLine="Dim jo As JavaObject"; +Debug.ShouldStop(4194304); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 152;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; +Debug.ShouldStop(8388608); +_l = BA.numberCast(long.class, 500);Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 152;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; +Debug.ShouldStop(8388608); +_jo.runMethod(false,"InitializeStatic",(Object)(RemoteObject.createImmutable("java.lang.Thread"))).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("sleep")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_l)}))); + BA.debugLineNum = 153;BA.debugLine="logcat.LogCatStop"; +Debug.ShouldStop(16777216); +starter._logcat.runVoidMethod ("LogCatStop"); + BA.debugLineNum = 154;BA.debugLine="logs.Append(StackTrace)"; +Debug.ShouldStop(33554432); +starter._logs.runVoidMethod ("Append",(Object)(_stacktrace)); + BA.debugLineNum = 155;BA.debugLine="Subs.revisaBD"; +Debug.ShouldStop(67108864); +starter.mostCurrent._subs.runVoidMethod ("_revisabd" /*RemoteObject*/ ,starter.processBA); + BA.debugLineNum = 156;BA.debugLine="Subs.errorLog.ExecNonQuery2(\"INSERT INTO errores("; +Debug.ShouldStop(134217728); +starter.mostCurrent._subs._errorlog /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO errores(fecha, error) VALUES (?,?)")),(Object)(starter.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(starter.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,starter.processBA,(Object)(BA.NumberToString(starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(starter._logs.getObject())}))))); + BA.debugLineNum = 157;BA.debugLine="Return True"; +Debug.ShouldStop(268435456); +if (true) return starter.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 158;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btadmin_statechanged(RemoteObject _newstate,RemoteObject _oldstate) throws Exception{ +try { + Debug.PushSubsStack("BTAdmin_StateChanged (starter) ","starter",1,starter.processBA,starter.mostCurrent,63); +if (RapidSub.canDelegate("btadmin_statechanged")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","btadmin_statechanged", _newstate, _oldstate);} +Debug.locals.put("NewState", _newstate); +Debug.locals.put("OldState", _oldstate); + BA.debugLineNum = 63;BA.debugLine="Private Sub BTAdmin_StateChanged (NewState As Int,"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 64;BA.debugLine="If logger Then Log(\"BT state changed: \" & NewStat"; +Debug.ShouldStop(-2147483648); +if (starter._logger.get().booleanValue()) { +starter.mostCurrent.__c.runVoidMethod ("LogImpl","0458753",RemoteObject.concat(RemoteObject.createImmutable("BT state changed: "),_newstate),0);}; + BA.debugLineNum = 65;BA.debugLine="BluetoothState = NewState = BTAdmin.STATE_ON"; +Debug.ShouldStop(1); +starter._bluetoothstate = BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_newstate,BA.numberCast(double.class, starter._btadmin.getField(true,"STATE_ON")))); + BA.debugLineNum = 67;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _envia_ultima_gps() throws Exception{ +try { + Debug.PushSubsStack("ENVIA_ULTIMA_GPS (starter) ","starter",1,starter.processBA,starter.mostCurrent,101); +if (RapidSub.canDelegate("envia_ultima_gps")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","envia_ultima_gps");} +RemoteObject _cmd = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbcommand"); +RemoteObject _s7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totalstick = RemoteObject.createImmutable(0); +int _sfsdf = 0; +RemoteObject _s8 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totalpaquete = RemoteObject.createImmutable(0); + BA.debugLineNum = 101;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; +Debug.ShouldStop(16); + BA.debugLineNum = 102;BA.debugLine="LogColor(\"Iniciamos ENVIA_ULTIMA_GPS\", Colors.Mag"; +Debug.ShouldStop(32); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","0851969",BA.ObjectToString("Iniciamos ENVIA_ULTIMA_GPS"),starter.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 103;BA.debugLine="Dim skmt As SQL"; +Debug.ShouldStop(64); +starter._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + BA.debugLineNum = 104;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(128); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 105;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(256); +starter._skmt.runVoidMethod ("Initialize",(Object)(starter._ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(starter.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 109;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4096); +_cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 110;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8192); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 111;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS2\""; +Debug.ShouldStop(16384); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_GUNA_ACTUAL2_GPS2")); + BA.debugLineNum = 112;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(32768); +_s7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s7 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_CANT) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO') GROUP BY PE_PROID"))));Debug.locals.put("s7", _s7);Debug.locals.put("s7", _s7); + BA.debugLineNum = 113;BA.debugLine="If s7.RowCount > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_s7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 114;BA.debugLine="Dim totalstick As Int = 0"; +Debug.ShouldStop(131072); +_totalstick = BA.numberCast(int.class, 0);Debug.locals.put("totalstick", _totalstick);Debug.locals.put("totalstick", _totalstick); + BA.debugLineNum = 115;BA.debugLine="For sfsdf = 0 To s7.RowCount -1"; +Debug.ShouldStop(262144); +{ +final int step11 = 1; +final int limit11 = RemoteObject.solve(new RemoteObject[] {_s7.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_sfsdf = 0 ; +for (;(step11 > 0 && _sfsdf <= limit11) || (step11 < 0 && _sfsdf >= limit11) ;_sfsdf = ((int)(0 + _sfsdf + step11)) ) { +Debug.locals.put("sfsdf", _sfsdf); + BA.debugLineNum = 116;BA.debugLine="s7.Position= sfsdf"; +Debug.ShouldStop(524288); +_s7.runMethod(true,"setPosition",BA.numberCast(int.class, _sfsdf)); + BA.debugLineNum = 117;BA.debugLine="Log(\"ENTRE AQUI\")"; +Debug.ShouldStop(1048576); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","0851984",RemoteObject.createImmutable("ENTRE AQUI"),0); + BA.debugLineNum = 118;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ"; +Debug.ShouldStop(2097152); +_s8 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s8 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT ifnull(CAT_GP_CONVERSION3,0) as CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_s7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("s8", _s8);Debug.locals.put("s8", _s8); + BA.debugLineNum = 119;BA.debugLine="s8.Position = 0"; +Debug.ShouldStop(4194304); +_s8.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 120;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN"; +Debug.ShouldStop(8388608); +_totalstick = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalstick,(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _s7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _s8.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CONVERSION3"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("totalstick", _totalstick); + BA.debugLineNum = 121;BA.debugLine="Dim totalpaquete As Int = 0"; +Debug.ShouldStop(16777216); +_totalpaquete = BA.numberCast(int.class, 0);Debug.locals.put("totalpaquete", _totalpaquete);Debug.locals.put("totalpaquete", _totalpaquete); + BA.debugLineNum = 123;BA.debugLine="totalpaquete = totalpaquete +(totalstick/200)"; +Debug.ShouldStop(67108864); +_totalpaquete = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalpaquete,(RemoteObject.solve(new RemoteObject[] {_totalstick,RemoteObject.createImmutable(200)}, "/",0, 0))}, "+",1, 0));Debug.locals.put("totalpaquete", _totalpaquete); + BA.debugLineNum = 124;BA.debugLine="Log(totalpaquete)"; +Debug.ShouldStop(134217728); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","0851991",BA.NumberToString(_totalpaquete),0); + } +}Debug.locals.put("sfsdf", _sfsdf); +; + }; + BA.debugLineNum = 130;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2(B4"; +Debug.ShouldStop(2); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(starter.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_montoactual" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(starter.mostCurrent.__c.getField(true,"False")))),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientestotal" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientesventa" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientesvisitados" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lat_gps" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lon_gps" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_batt" /*RemoteObject*/ )),RemoteObject.createImmutable((0)),(_totalpaquete),(_totalstick),(starter._encuesta),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_almacen" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_rutapreventa" /*RemoteObject*/ ))})); + BA.debugLineNum = 132;BA.debugLine="reqManager.ExecuteCommand(cmd, \"actualizaUltimaGP"; +Debug.ShouldStop(8); +starter._reqmanager.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("actualizaUltimaGPS")))); + BA.debugLineNum = 133;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT_"; +Debug.ShouldStop(16); +starter._skmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?")),(Object)(starter.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("HoraIngreso")}))))); + BA.debugLineNum = 135;BA.debugLine="Timer1.Enabled = False"; +Debug.ShouldStop(64); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 136;BA.debugLine="Timer1.Interval = Interval * 1000"; +Debug.ShouldStop(128); +starter._timer1.runMethod(true,"setInterval",BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {starter._interval,RemoteObject.createImmutable(1000)}, "*",0, 1))); + BA.debugLineNum = 137;BA.debugLine="Timer1.Enabled = True"; +Debug.ShouldStop(256); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 138;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (starter) ","starter",1,starter.processBA,starter.mostCurrent,89); +if (RapidSub.canDelegate("gps_locationchanged")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","gps_locationchanged", _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 89;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 91;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _jobdone(RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (starter) ","starter",1,starter.processBA,starter.mostCurrent,160); +if (RapidSub.canDelegate("jobdone")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","jobdone", _job);} +RemoteObject _result = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult"); +Debug.locals.put("Job", _job); + BA.debugLineNum = 160;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 161;BA.debugLine="Log(\"JOBDONE STARTER\")"; +Debug.ShouldStop(1); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","01048577",RemoteObject.createImmutable("JOBDONE STARTER"),0); + BA.debugLineNum = 163;BA.debugLine="If Job.Success = False Then ' Si hay unerror en e"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),starter.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 165;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re"; +Debug.ShouldStop(16); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","01048581",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),starter.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }else { + BA.debugLineNum = 167;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 168;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +Debug.ShouldStop(128); +_result = starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 169;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success"; +Debug.ShouldStop(256); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","01048585",(RemoteObject.concat(RemoteObject.createImmutable("Tag: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_result.getField(false,"Tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(", success="),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_job.getField(true,"_success" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + }; + }; + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _logcat_logcatdata(RemoteObject _buffer,RemoteObject _length) throws Exception{ +try { + Debug.PushSubsStack("logcat_LogCatData (starter) ","starter",1,starter.processBA,starter.mostCurrent,141); +if (RapidSub.canDelegate("logcat_logcatdata")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","logcat_logcatdata", _buffer, _length);} +Debug.locals.put("Buffer", _buffer); +Debug.locals.put("Length", _length); + BA.debugLineNum = 141;BA.debugLine="Private Sub logcat_LogCatData (Buffer() As Byte, L"; +Debug.ShouldStop(4096); + BA.debugLineNum = 142;BA.debugLine="logs.Append(BytesToString(Buffer, 0, Length, \"utf"; +Debug.ShouldStop(8192); +starter._logs.runVoidMethod ("Append",(Object)(starter.mostCurrent.__c.runMethod(true,"BytesToString",(Object)(_buffer),(Object)(BA.numberCast(int.class, 0)),(Object)(_length),(Object)(RemoteObject.createImmutable("utf8"))))); + BA.debugLineNum = 143;BA.debugLine="If logs.Length > 4000 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",starter._logs.runMethod(true,"getLength"),BA.numberCast(double.class, 4000))) { + BA.debugLineNum = 144;BA.debugLine="logs.Remove(0, logs.Length - 2000) 'Obtenemos lo"; +Debug.ShouldStop(32768); +starter._logs.runVoidMethod ("Remove",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {starter._logs.runMethod(true,"getLength"),RemoteObject.createImmutable(2000)}, "-",1, 1))); + }; + BA.debugLineNum = 146;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 9;BA.debugLine="Public gps As GPS"; +starter._gps = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS"); + //BA.debugLineNum = 10;BA.debugLine="Dim ph As Phone"; +starter._ph = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone"); + //BA.debugLineNum = 11;BA.debugLine="Dim skmt As SQL"; +starter._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 12;BA.debugLine="Public rp As RuntimePermissions"; +starter._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 13;BA.debugLine="Public FLP As FusedLocationProvider"; +starter._flp = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); + //BA.debugLineNum = 15;BA.debugLine="Dim reqManager As DBRequestManager"; +starter._reqmanager = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager"); + //BA.debugLineNum = 16;BA.debugLine="Dim server As String = \"http://keymon.net:1782\""; +starter._server = BA.ObjectToString("http://keymon.net:1782"); + //BA.debugLineNum = 18;BA.debugLine="Dim Timer1 As Timer"; +starter._timer1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer"); + //BA.debugLineNum = 19;BA.debugLine="Dim Interval As Int = 300"; +starter._interval = BA.numberCast(int.class, 300); + //BA.debugLineNum = 20;BA.debugLine="Dim ruta As String = File.DirInternal"; +starter._ruta = starter.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal"); + //BA.debugLineNum = 22;BA.debugLine="Private logs As StringBuilder"; +starter._logs = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper"); + //BA.debugLineNum = 23;BA.debugLine="Private logcat As LogCat"; +starter._logcat = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.LogCat"); + //BA.debugLineNum = 24;BA.debugLine="Dim logger As Boolean = False"; +starter._logger = starter.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 25;BA.debugLine="Dim marcaCel As String = ph.manufacturer"; +starter._marcacel = starter._ph.runMethod(true,"getManufacturer"); + //BA.debugLineNum = 26;BA.debugLine="Private BTAdmin As BluetoothAdmin"; +starter._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); + //BA.debugLineNum = 27;BA.debugLine="Dim MAC_IMPRESORA As String"; +starter._mac_impresora = RemoteObject.createImmutable(""); + //BA.debugLineNum = 28;BA.debugLine="Public BluetoothState As Boolean"; +starter._bluetoothstate = RemoteObject.createImmutable(false); + //BA.debugLineNum = 29;BA.debugLine="Dim ubicacionActual As Location"; +starter._ubicacionactual = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); + //BA.debugLineNum = 30;BA.debugLine="Dim enVenta As Boolean = False"; +starter._enventa = starter.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 31;BA.debugLine="Dim muestraProgreso = 0 'Parte de la funcionalida"; +starter._muestraprogreso = BA.NumberToString(0); + //BA.debugLineNum = 32;BA.debugLine="Public newApp As mNewVersion 'Parte de la funcion"; +starter._newapp = RemoteObject.createNew ("gunav2.keymon.com.mx.appupdater._mnewversion"); + //BA.debugLineNum = 33;BA.debugLine="Dim nuevoLink As String"; +starter._nuevolink = RemoteObject.createImmutable(""); + //BA.debugLineNum = 34;BA.debugLine="Dim idCliente As String = \"\""; +starter._idcliente = BA.ObjectToString(""); + //BA.debugLineNum = 35;BA.debugLine="Dim encuesta As String = 0"; +starter._encuesta = BA.NumberToString(0); + //BA.debugLineNum = 36;BA.debugLine="Public fFileProvider As FileProvider"; +starter._ffileprovider = RemoteObject.createNew ("gunav2.keymon.com.mx.fileprovider"); + //BA.debugLineNum = 37;BA.debugLine="Dim tabla As String"; +starter._tabla = RemoteObject.createImmutable(""); + //BA.debugLineNum = 38;BA.debugLine="Dim enCliente As Boolean = False"; +starter._encliente = starter.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 39;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (starter) ","starter",1,starter.processBA,starter.mostCurrent,41); +if (RapidSub.canDelegate("service_create")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","service_create");} + BA.debugLineNum = 41;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(256); + BA.debugLineNum = 44;BA.debugLine="gps.Initialize(\"GPS\")"; +Debug.ShouldStop(2048); +starter._gps.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 45;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; +Debug.ShouldStop(4096); +starter.mostCurrent.__c.runVoidMethod ("CallSubDelayed",starter.processBA,(Object)((starter.mostCurrent._firebasemessaging.getObject())),(Object)(RemoteObject.createImmutable("SubscribeToTopics"))); + BA.debugLineNum = 46;BA.debugLine="BTAdmin.Initialize(\"admin\")"; +Debug.ShouldStop(8192); +starter._btadmin.runVoidMethod ("Initialize",starter.processBA,(Object)(RemoteObject.createImmutable("admin"))); + BA.debugLineNum = 47;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; +Debug.ShouldStop(16384); +starter._timer1.runVoidMethod ("Initialize",starter.processBA,(Object)(BA.ObjectToString("Timer1")),(Object)(BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {starter._interval,RemoteObject.createImmutable(1000)}, "*",0, 1)))); + BA.debugLineNum = 48;BA.debugLine="Timer1.Enabled = True"; +Debug.ShouldStop(32768); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 53;BA.debugLine="logs.Initialize"; +Debug.ShouldStop(1048576); +starter._logs.runVoidMethod ("Initialize"); + BA.debugLineNum = 54;BA.debugLine="fFileProvider.Initialize"; +Debug.ShouldStop(2097152); +starter._ffileprovider.runClassMethod (gunav2.keymon.com.mx.fileprovider.class, "_initialize" /*RemoteObject*/ ,starter.processBA); + BA.debugLineNum = 55;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; +Debug.ShouldStop(4194304); +starter.mostCurrent.__c.runVoidMethod ("CallSubDelayed",starter.processBA,(Object)((starter.mostCurrent._firebasemessaging.getObject())),(Object)(RemoteObject.createImmutable("SubscribeToTopics"))); + BA.debugLineNum = 56;BA.debugLine="ubicacionActual.Initialize"; +Debug.ShouldStop(8388608); +starter._ubicacionactual.runVoidMethod ("Initialize"); + BA.debugLineNum = 57;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",starter.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(starter.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db"))),starter.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 58;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", File.DirInte"; +Debug.ShouldStop(33554432); +starter.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(starter.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(starter.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 60;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", True)"; +Debug.ShouldStop(134217728); +starter._skmt.runVoidMethod ("Initialize",(Object)(starter.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(starter.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 61;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (starter) ","starter",1,starter.processBA,starter.mostCurrent,97); +if (RapidSub.canDelegate("service_destroy")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","service_destroy");} + BA.debugLineNum = 97;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(1); + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (starter) ","starter",1,starter.processBA,starter.mostCurrent,69); +if (RapidSub.canDelegate("service_start")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","service_start", _startingintent);} +RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 69;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(16); + BA.debugLineNum = 70;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; +Debug.ShouldStop(32); +starter.mostCurrent._service.runVoidMethod ("StopAutomaticForeground"); + BA.debugLineNum = 71;BA.debugLine="Subs.revisaBD"; +Debug.ShouldStop(64); +starter.mostCurrent._subs.runVoidMethod ("_revisabd" /*RemoteObject*/ ,starter.processBA); + BA.debugLineNum = 72;BA.debugLine="Log(marcaCel)"; +Debug.ShouldStop(128); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","0524291",starter._marcacel,0); + BA.debugLineNum = 73;BA.debugLine="Private s As Cursor = skmt.ExecQuery(\"select * fr"; +Debug.ShouldStop(256); +_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), starter._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from cat_variables where cat_va_descripcion = 'DBReqServer'"))));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 74;BA.debugLine="If s.RowCount > 0 Then 'Si tenemso valor en BD lo"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_s.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 75;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(1024); +_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 76;BA.debugLine="server = s.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(2048); +starter._server = _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))); + }else { + BA.debugLineNum = 78;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES wh"; +Debug.ShouldStop(8192); +starter._skmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(starter.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("DBReqServer"))}))))); + BA.debugLineNum = 79;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CA"; +Debug.ShouldStop(16384); +starter._skmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(starter.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("DBReqServer")),(starter._server)}))))); + }; + BA.debugLineNum = 81;BA.debugLine="reqManager.Initialize(Me, server)"; +Debug.ShouldStop(65536); +starter._reqmanager.runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,starter.processBA,(Object)(starter.getObject()),(Object)(starter._server)); + BA.debugLineNum = 82;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_taskremoved() throws Exception{ +try { + Debug.PushSubsStack("Service_TaskRemoved (starter) ","starter",1,starter.processBA,starter.mostCurrent,93); +if (RapidSub.canDelegate("service_taskremoved")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","service_taskremoved");} + BA.debugLineNum = 93;BA.debugLine="Sub Service_TaskRemoved"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _timer1_tick() throws Exception{ +try { + Debug.PushSubsStack("Timer1_Tick (starter) ","starter",1,starter.processBA,starter.mostCurrent,84); +if (RapidSub.canDelegate("timer1_tick")) { return gunav2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","timer1_tick");} + BA.debugLineNum = 84;BA.debugLine="Private Sub Timer1_Tick"; +Debug.ShouldStop(524288); + BA.debugLineNum = 86;BA.debugLine="ENVIA_ULTIMA_GPS"; +Debug.ShouldStop(2097152); +_envia_ultima_gps(); + BA.debugLineNum = 87;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/subs.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/subs.java new file mode 100644 index 0000000..29479c8 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/subs.java @@ -0,0 +1,76 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class subs implements IRemote{ + public static subs mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public subs() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, subs.class); + static { + mostCurrent = new subs(); + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.subs"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("subs"), "gunav2.keymon.com.mx.subs"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("gunav2.keymon.com.mx.subs"), new java.lang.ref.WeakReference (pcBA)); + } + + public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } + public PCBA create(Object[] args) throws ClassNotFoundException{ + throw new RuntimeException("CREATE is not supported."); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _gzip = RemoteObject.declareNull("de.donmanfred.GZipStringswrapper"); +public static RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +public static RemoteObject _phn = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _devmodel = RemoteObject.createImmutable(""); +public static RemoteObject _kmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _errorlog = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _ssid = RemoteObject.createImmutable(""); +public static RemoteObject _rutamaxpoints = RemoteObject.createImmutable(0); +public static RemoteObject _rutahrsatras = RemoteObject.createImmutable(0); +public static RemoteObject _subslogs = RemoteObject.createImmutable(false); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +public static RemoteObject _intentusado = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"DateUtils",subs.mostCurrent._dateutils,"devModel",subs._devmodel,"errorLog",subs._errorlog,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"GZip",subs._gzip,"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"in",subs._in,"intentUsado",subs._intentusado,"kmt",subs._kmt,"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"phn",subs._phn,"rutaHrsAtras",subs._rutahrsatras,"rutaMaxPoints",subs._rutamaxpoints,"skmt",subs._skmt,"ssid",subs._ssid,"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"su",subs._su,"subsLogs",subs._subslogs,"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/subs_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/subs_subs_0.java new file mode 100644 index 0000000..f671f40 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/subs_subs_0.java @@ -0,0 +1,6511 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class subs_subs_0 { + + +public static RemoteObject _actualizaproducto(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa,RemoteObject _dev,RemoteObject _futuro) throws Exception{ +try { + Debug.PushSubsStack("actualizaProducto (subs) ","subs",4,_ba,subs.mostCurrent,1762); +if (RapidSub.canDelegate("actualizaproducto")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","actualizaproducto", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa, _dev, _futuro);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _antcant = RemoteObject.createImmutable(0); +RemoteObject _difcant = RemoteObject.createImmutable(0); +RemoteObject _pe = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); +Debug.locals.put("dev", _dev); +Debug.locals.put("futuro", _futuro); + BA.debugLineNum = 1762;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S"; +Debug.ShouldStop(2); + BA.debugLineNum = 1763;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(actu"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("<",_nombre.runMethod(true,"length"),BA.numberCast(double.class, 6))) { +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("(actualizaProducto) El nombre del producto no es valido "),_nombre))),(Object)(subs.mostCurrent.__c.getField(true,"True")));}; + BA.debugLineNum = 1764;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal"; +Debug.ShouldStop(8); +_preciosin = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _preciosin)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("precioSin", _preciosin); + BA.debugLineNum = 1765;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)"; +Debug.ShouldStop(16); +_costou = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _costou)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("costoU", _costou); + BA.debugLineNum = 1766;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; +Debug.ShouldStop(32); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693252",(RemoteObject.concat(RemoteObject.createImmutable("actualizaProducto, c="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable(", p="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(", nombre="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nombre))),RemoteObject.createImmutable(", cant="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(", cedis="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable(", tipo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipoventa))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 1769;BA.debugLine="If dev = 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_dev,BA.NumberToString(0))) { + BA.debugLineNum = 1770;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel"; +Debug.ShouldStop(512); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from pedido where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' and PE_CEDIS <> 'DUR' AND PE_FUTURO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_futuro))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1771;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1773;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4096); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1774;BA.debugLine="Private antCant As Int = 0"; +Debug.ShouldStop(8192); +_antcant = BA.numberCast(int.class, 0);Debug.locals.put("antCant", _antcant);Debug.locals.put("antCant", _antcant); + BA.debugLineNum = 1775;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c"; +Debug.ShouldStop(16384); +if (subs.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(BA.NumberToString(_c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))))).get().booleanValue()) { +_antcant = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("antCant", _antcant);}; + BA.debugLineNum = 1776;BA.debugLine="Private difCant As Int = cant - antCant"; +Debug.ShouldStop(32768); +_difcant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant),_antcant}, "-",1, 0));Debug.locals.put("difCant", _difcant);Debug.locals.put("difCant", _difcant); + BA.debugLineNum = 1777;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p"; +Debug.ShouldStop(65536); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update pedido set pe_cant = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(", pe_costo_tot = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant),BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")))))),RemoteObject.createImmutable(", pe_folio = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipoventa))),RemoteObject.createImmutable("' where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FUTURO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_futuro))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 1778;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",_cedis,BA.ObjectToString("DUR"))) { +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_tipoventa)))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' ")))));}; + BA.debugLineNum = 1779;BA.debugLine="If cant = 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_cant,BA.NumberToString(0))) { + BA.debugLineNum = 1780;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co"; +Debug.ShouldStop(524288); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693266",(RemoteObject.concat(RemoteObject.createImmutable("BORRAMOS PRODUCTO - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1781;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; +Debug.ShouldStop(1048576); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FUTURO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_futuro))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 1782;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693268",(RemoteObject.concat(RemoteObject.createImmutable("Borramos pe_cedis='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 1783;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(4194304); +_pe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pe = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))));Debug.locals.put("pe", _pe);Debug.locals.put("pe", _pe); + BA.debugLineNum = 1784;BA.debugLine="pe.Position=0"; +Debug.ShouldStop(8388608); +_pe.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1785;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantosPedidos"))),BA.NumberToString(0))) { + BA.debugLineNum = 1786;BA.debugLine="Log(\"###### delete from pedido_cliente - \""; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693272",RemoteObject.concat(RemoteObject.createImmutable("###### delete from pedido_cliente - "),_traecliente(_ba),RemoteObject.createImmutable("|"),_clienteid),0); + BA.debugLineNum = 1787;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI"; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693273",(RemoteObject.concat(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 1788;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; +Debug.ShouldStop(134217728); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))))); + }; + }; + }else { + BA.debugLineNum = 1794;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant),BA.numberCast(double.class, 0))) { +_guardaproductosingestion(_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_futuro);}; + }; + BA.debugLineNum = 1796;BA.debugLine="c.Close"; +Debug.ShouldStop(8); +_c.runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 1797;BA.debugLine="Else If dev = 1 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_dev,BA.NumberToString(1))) { + BA.debugLineNum = 1798;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel"; +Debug.ShouldStop(32); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from pedido where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' and PE_CEDIS = 'DUR' AND PE_FUTURO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_futuro))),RemoteObject.createImmutable("' "))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1799;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1801;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1802;BA.debugLine="Private antCant As Int = 0"; +Debug.ShouldStop(512); +_antcant = BA.numberCast(int.class, 0);Debug.locals.put("antCant", _antcant);Debug.locals.put("antCant", _antcant); + BA.debugLineNum = 1803;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c"; +Debug.ShouldStop(1024); +if (subs.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(BA.NumberToString(_c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))))).get().booleanValue()) { +_antcant = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("antCant", _antcant);}; + BA.debugLineNum = 1804;BA.debugLine="Private difCant As Int = cant - antCant"; +Debug.ShouldStop(2048); +_difcant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant),_antcant}, "-",1, 0));Debug.locals.put("difCant", _difcant);Debug.locals.put("difCant", _difcant); + BA.debugLineNum = 1805;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p"; +Debug.ShouldStop(4096); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update pedido set pe_cant = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(", pe_costo_tot = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant),BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")))))),RemoteObject.createImmutable(", pe_folio = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipoventa))),RemoteObject.createImmutable("' where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FUTURO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_futuro))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 1806;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",_cedis,BA.ObjectToString("DUR"))) { +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_tipoventa)))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' ")))));}; + BA.debugLineNum = 1807;BA.debugLine="If cant = 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_cant,BA.NumberToString(0))) { + BA.debugLineNum = 1808;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co"; +Debug.ShouldStop(32768); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693294",(RemoteObject.concat(RemoteObject.createImmutable("BORRAMOS PRODUCTO - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1809;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; +Debug.ShouldStop(65536); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FUTURO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_futuro))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 1810;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi"; +Debug.ShouldStop(131072); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693296",(RemoteObject.concat(RemoteObject.createImmutable("Borramos pe_cedis='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 1811;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(262144); +_pe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pe = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))));Debug.locals.put("pe", _pe);Debug.locals.put("pe", _pe); + BA.debugLineNum = 1812;BA.debugLine="pe.Position=0"; +Debug.ShouldStop(524288); +_pe.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1813;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantosPedidos"))),BA.NumberToString(0))) { + BA.debugLineNum = 1814;BA.debugLine="Log(\"###### delete from pedido_cliente - \""; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693300",RemoteObject.concat(RemoteObject.createImmutable("###### delete from pedido_cliente - "),_traecliente(_ba),RemoteObject.createImmutable("|"),_clienteid),0); + BA.debugLineNum = 1815;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI"; +Debug.ShouldStop(4194304); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048693301",(RemoteObject.concat(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 1816;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; +Debug.ShouldStop(8388608); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))))); + }; + }; + }else { + BA.debugLineNum = 1822;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant),BA.numberCast(double.class, 0))) { +_guardaproductosingestion(_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_futuro);}; + }; + BA.debugLineNum = 1824;BA.debugLine="c.Close"; +Debug.ShouldStop(-2147483648); +_c.runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 1827;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _agregacolumna(RemoteObject _ba,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna (subs) ","subs",4,_ba,subs.mostCurrent,1293); +if (RapidSub.canDelegate("agregacolumna")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","agregacolumna", _ba, _tabla, _columna, _tipo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("tabla", _tabla); +Debug.locals.put("columna", _columna); +Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 1293;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1294;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(8192); +try { BA.debugLineNum = 1295;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(16384); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1296;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1297;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 1298;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +Debug.ShouldStop(131072); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 1299;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047513606",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\"."))),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e9.toString()); BA.debugLineNum = 1303;BA.debugLine="Try"; +Debug.ShouldStop(4194304); +try { BA.debugLineNum = 1304;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +Debug.ShouldStop(8388608); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 1305;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047513612",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\".."))),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e13.toString()); BA.debugLineNum = 1307;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047513614",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + BA.debugLineNum = 1309;BA.debugLine="Log(2)"; +Debug.ShouldStop(268435456); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047513616",BA.NumberToString(2),0); + }; + BA.debugLineNum = 1311;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _alcanzanlosvariablesparapromo(RemoteObject _ba,RemoteObject _promomap,RemoteObject _inventariosinfijos) throws Exception{ +try { + Debug.PushSubsStack("alcanzanLosVariablesParaPromo (subs) ","subs",4,_ba,subs.mostCurrent,2178); +if (RapidSub.canDelegate("alcanzanlosvariablesparapromo")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","alcanzanlosvariablesparapromo", _ba, _promomap, _inventariosinfijos);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _totalprodsvariables = RemoteObject.createImmutable(0); +RemoteObject _totalprodsvariables2 = RemoteObject.createImmutable(0); +RemoteObject _prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _p = 0; +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _p2 = RemoteObject.createImmutable(""); +RemoteObject _res = RemoteObject.createImmutable(false); +RemoteObject _res1 = RemoteObject.createImmutable(false); +RemoteObject _res2 = RemoteObject.createImmutable(false); +; +Debug.locals.put("promoMap", _promomap); +Debug.locals.put("inventarioSinFijos", _inventariosinfijos); + BA.debugLineNum = 2178;BA.debugLine="Sub alcanzanLosVariablesParaPromo(promoMap As Map,"; +Debug.ShouldStop(2); + BA.debugLineNum = 2179;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; +Debug.ShouldStop(4); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 2180;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i"; +Debug.ShouldStop(8); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049676290",RemoteObject.concat(RemoteObject.createImmutable("Inventario inicial: "),_inventariosinfijos),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Gray"));}; + BA.debugLineNum = 2181;BA.debugLine="Private totalProdsVariables As Int = 0"; +Debug.ShouldStop(16); +_totalprodsvariables = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariables", _totalprodsvariables);Debug.locals.put("totalProdsVariables", _totalprodsvariables); + BA.debugLineNum = 2182;BA.debugLine="Private totalProdsVariables2 As Int = 0"; +Debug.ShouldStop(32); +_totalprodsvariables2 = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariables2", _totalprodsvariables2);Debug.locals.put("totalProdsVariables2", _totalprodsvariables2); + BA.debugLineNum = 2184;BA.debugLine="Private prodsVariables As List = promoMap.get(\"pr"; +Debug.ShouldStop(128); +_prodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables")))));Debug.locals.put("prodsVariables", _prodsvariables);Debug.locals.put("prodsVariables", _prodsvariables); + BA.debugLineNum = 2185;BA.debugLine="Private prodsVariables2 As List = promoMap.get(\"p"; +Debug.ShouldStop(256); +_prodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2")))));Debug.locals.put("prodsVariables2", _prodsvariables2);Debug.locals.put("prodsVariables2", _prodsvariables2); + BA.debugLineNum = 2186;BA.debugLine="For p = 0 To prodsVariables.Size - 1"; +Debug.ShouldStop(512); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_prodsvariables.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step7 > 0 && _p <= limit7) || (step7 < 0 && _p >= limit7) ;_p = ((int)(0 + _p + step7)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 2187;BA.debugLine="Private t As String = prodsVariables.Get(p) 'Obt"; +Debug.ShouldStop(1024); +_t = BA.ObjectToString(_prodsvariables.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 2189;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; +Debug.ShouldStop(4096); +if (_inventariosinfijos.runMethod(true,"ContainsKey",(Object)((_t))).get().booleanValue()) { + BA.debugLineNum = 2190;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; +Debug.ShouldStop(8192); +_p2 = BA.ObjectToString(_inventariosinfijos.runMethod(false,"Get",(Object)((_t))));Debug.locals.put("p2", _p2);Debug.locals.put("p2", _p2); + BA.debugLineNum = 2192;BA.debugLine="totalProdsVariables = totalProdsVariables + p2"; +Debug.ShouldStop(32768); +_totalprodsvariables = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalprodsvariables,BA.numberCast(double.class, _p2)}, "+",1, 0));Debug.locals.put("totalProdsVariables", _totalprodsvariables); + BA.debugLineNum = 2194;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; +Debug.ShouldStop(131072); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049676304",(RemoteObject.concat(RemoteObject.createImmutable("prod "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_t))),RemoteObject.createImmutable(", hay: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_p2))),RemoteObject.createImmutable(""))),0);}; + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 2197;BA.debugLine="For p = 0 To prodsVariables2.Size - 1"; +Debug.ShouldStop(1048576); +{ +final int step15 = 1; +final int limit15 = RemoteObject.solve(new RemoteObject[] {_prodsvariables2.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step15 > 0 && _p <= limit15) || (step15 < 0 && _p >= limit15) ;_p = ((int)(0 + _p + step15)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 2198;BA.debugLine="Private t As String = prodsVariables2.Get(p) 'Ob"; +Debug.ShouldStop(2097152); +_t = BA.ObjectToString(_prodsvariables2.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 2199;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; +Debug.ShouldStop(4194304); +if (_inventariosinfijos.runMethod(true,"ContainsKey",(Object)((_t))).get().booleanValue()) { + BA.debugLineNum = 2200;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; +Debug.ShouldStop(8388608); +_p2 = BA.ObjectToString(_inventariosinfijos.runMethod(false,"Get",(Object)((_t))));Debug.locals.put("p2", _p2);Debug.locals.put("p2", _p2); + BA.debugLineNum = 2201;BA.debugLine="totalProdsVariables2 = totalProdsVariables2 + p"; +Debug.ShouldStop(16777216); +_totalprodsvariables2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalprodsvariables2,BA.numberCast(double.class, _p2)}, "+",1, 0));Debug.locals.put("totalProdsVariables2", _totalprodsvariables2); + BA.debugLineNum = 2202;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; +Debug.ShouldStop(33554432); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049676312",(RemoteObject.concat(RemoteObject.createImmutable("prod "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_t))),RemoteObject.createImmutable(", hay: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_p2))),RemoteObject.createImmutable(""))),0);}; + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 2205;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to"; +Debug.ShouldStop(268435456); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049676315",RemoteObject.concat(RemoteObject.createImmutable("Total prods variables="),_totalprodsvariables,RemoteObject.createImmutable(", requeridos="),_promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos"))))),0);}; + BA.debugLineNum = 2206;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t"; +Debug.ShouldStop(536870912); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049676316",RemoteObject.concat(RemoteObject.createImmutable("Total prods variables2="),_totalprodsvariables2,RemoteObject.createImmutable(", requeridos2="),_promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos"))))),0);}; + BA.debugLineNum = 2207;BA.debugLine="Private res As Boolean = False"; +Debug.ShouldStop(1073741824); +_res = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 2208;BA.debugLine="Private res1 As Boolean = False"; +Debug.ShouldStop(-2147483648); +_res1 = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("res1", _res1);Debug.locals.put("res1", _res1); + BA.debugLineNum = 2209;BA.debugLine="Private res2 As Boolean = False"; +Debug.ShouldStop(1); +_res2 = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("res2", _res2);Debug.locals.put("res2", _res2); + BA.debugLineNum = 2214;BA.debugLine="If totalProdsVariables > 0 And totalProdsVariable"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_totalprodsvariables,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("g",_totalprodsvariables,BA.numberCast(double.class, _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos"))))))) { + BA.debugLineNum = 2215;BA.debugLine="res1 = True 'Si el total de inventario de produc"; +Debug.ShouldStop(64); +_res1 = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res1", _res1); + }; + BA.debugLineNum = 2217;BA.debugLine="If promoMap.Get(\"prodsVariablesRequeridos\").As (I"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",(BA.numberCast(int.class, _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos")))))),BA.numberCast(double.class, 0))) { +_res1 = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res1", _res1);}; + BA.debugLineNum = 2218;BA.debugLine="If totalProdsVariables2 > 0 And totalProdsVariabl"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_totalprodsvariables2,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("g",_totalprodsvariables2,BA.numberCast(double.class, _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos"))))))) { + BA.debugLineNum = 2219;BA.debugLine="res2 = True 'Si el total de inventario de produc"; +Debug.ShouldStop(1024); +_res2 = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res2", _res2); + }; + BA.debugLineNum = 2221;BA.debugLine="If promoMap.Get(\"prodsVariables2Requeridos\").As(I"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",(BA.numberCast(int.class, _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos")))))),BA.numberCast(double.class, 0))) { +_res2 = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res2", _res2);}; + BA.debugLineNum = 2222;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(".",_res1) && RemoteObject.solveBoolean(".",_res2)) { + BA.debugLineNum = 2223;BA.debugLine="res = True"; +Debug.ShouldStop(16384); +_res = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res", _res); + }else { + BA.debugLineNum = 2225;BA.debugLine="res = False"; +Debug.ShouldStop(65536); +_res = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("res", _res); + }; + BA.debugLineNum = 2228;BA.debugLine="Return res"; +Debug.ShouldStop(524288); +if (true) return _res; + BA.debugLineNum = 2229;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _bitacora(RemoteObject _ba,RemoteObject _fechab,RemoteObject _usuariob,RemoteObject _almacenb,RemoteObject _rutab,RemoteObject _eventob,RemoteObject _clienteb,RemoteObject _iniciob,RemoteObject _finb,RemoteObject _latitudb,RemoteObject _longitudb,RemoteObject _precision,RemoteObject _motivonoventa,RemoteObject _motivonovisita,RemoteObject _ban_geob) throws Exception{ +try { + Debug.PushSubsStack("bitacora (subs) ","subs",4,_ba,subs.mostCurrent,1415); +if (RapidSub.canDelegate("bitacora")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","bitacora", _ba, _fechab, _usuariob, _almacenb, _rutab, _eventob, _clienteb, _iniciob, _finb, _latitudb, _longitudb, _precision, _motivonoventa, _motivonovisita, _ban_geob);} +; +Debug.locals.put("fechab", _fechab); +Debug.locals.put("usuariob", _usuariob); +Debug.locals.put("almacenb", _almacenb); +Debug.locals.put("rutab", _rutab); +Debug.locals.put("eventob", _eventob); +Debug.locals.put("clienteb", _clienteb); +Debug.locals.put("iniciob", _iniciob); +Debug.locals.put("finb", _finb); +Debug.locals.put("latitudb", _latitudb); +Debug.locals.put("longitudb", _longitudb); +Debug.locals.put("precision", _precision); +Debug.locals.put("motivonoventa", _motivonoventa); +Debug.locals.put("motivonovisita", _motivonovisita); +Debug.locals.put("BAN_GEOB", _ban_geob); + BA.debugLineNum = 1415;BA.debugLine="Sub bitacora(fechab As String, usuariob As String,"; +Debug.ShouldStop(64); + BA.debugLineNum = 1457;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borraarribade100errores(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borraArribaDe100Errores (subs) ","subs",4,_ba,subs.mostCurrent,434); +if (RapidSub.canDelegate("borraarribade100errores")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borraarribade100errores", _ba);} +; + BA.debugLineNum = 434;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 435;BA.debugLine="revisaBD"; +Debug.ShouldStop(262144); +_revisabd(_ba); + BA.debugLineNum = 436;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +Debug.ShouldStop(524288); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044826626",BA.ObjectToString("Borramos BD de log"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 437;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE"; +Debug.ShouldStop(1048576); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )"))); + BA.debugLineNum = 438;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(2097152); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 439;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")"; +Debug.ShouldStop(4194304); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044826629",RemoteObject.createImmutable("Borramos mas de 100 de errorLog"),0); + BA.debugLineNum = 440;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borraarribade600renglonesbitacora(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borraArribaDe600RenglonesBitacora (subs) ","subs",4,_ba,subs.mostCurrent,443); +if (RapidSub.canDelegate("borraarribade600renglonesbitacora")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borraarribade600renglonesbitacora", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 443;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 444;BA.debugLine="revisaBD"; +Debug.ShouldStop(134217728); +_revisabd(_ba); + BA.debugLineNum = 445;BA.debugLine="If Starter.logger Then LogColor(\"Recortamos la ta"; +Debug.ShouldStop(268435456); +if (subs.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044892162",BA.ObjectToString("Recortamos la tabla de la Bitacora, limite de 600"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta"));}; + BA.debugLineNum = 446;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(536870912); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 447;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select fech"; +Debug.ShouldStop(1073741824); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select fecha from bitacora"))));Debug.locals.put("c", _c); + BA.debugLineNum = 448;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 449;BA.debugLine="If c.RowCount > 650 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 650))) { + BA.debugLineNum = 450;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(2); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"))); + BA.debugLineNum = 451;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(4); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + }; + BA.debugLineNum = 454;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 455;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borralogdb(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borraLogDB (subs) ","subs",4,_ba,subs.mostCurrent,318); +if (RapidSub.canDelegate("borralogdb")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borralogdb", _ba);} +; + BA.debugLineNum = 318;BA.debugLine="Sub borraLogDB 'ignore"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 319;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044630017",BA.ObjectToString("Borramos BD de log"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 320;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +Debug.ShouldStop(-2147483648); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from bitacora"))); + BA.debugLineNum = 321;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(1); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 322;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borramosarchivogps(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borramosArchivoGPS (subs) ","subs",4,_ba,subs.mostCurrent,193); +if (RapidSub.canDelegate("borramosarchivogps")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borramosarchivogps", _ba);} +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _s = RemoteObject.createImmutable(""); +RemoteObject _t = null; +; + BA.debugLineNum = 193;BA.debugLine="Sub borramosArchivoGPS 'ignore"; +Debug.ShouldStop(1); + BA.debugLineNum = 194;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(2); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = subs.mostCurrent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirRootExternal")),(Object)(BA.ObjectToString("gps.txt")),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 195;BA.debugLine="Dim s As String = \"\""; +Debug.ShouldStop(4); +_s = BA.ObjectToString("");Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 196;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +Debug.ShouldStop(8); +_t = _s.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF-8")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 197;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +Debug.ShouldStop(16); +_out.runVoidMethod ("WriteBytes",(Object)(_t),(Object)(BA.numberCast(int.class, 0)),(Object)(_t.getField(true,"length"))); + BA.debugLineNum = 198;BA.debugLine="out.Close"; +Debug.ShouldStop(32); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 199;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borrapedidoclienteactual(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borraPedidoClienteActual (subs) ","subs",4,_ba,subs.mostCurrent,722); +if (RapidSub.canDelegate("borrapedidoclienteactual")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borrapedidoclienteactual", _ba);} +RemoteObject _thisc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; + BA.debugLineNum = 722;BA.debugLine="Sub borraPedidoClienteActual As String"; +Debug.ShouldStop(131072); + BA.debugLineNum = 736;BA.debugLine="Private thisC As Cursor"; +Debug.ShouldStop(-2147483648); +_thisc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("thisC", _thisc); + BA.debugLineNum = 738;BA.debugLine="thisC=Starter.skmt.ExecQuery(\"select PE_PROID, PE"; +Debug.ShouldStop(2); +_thisc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PROID, PE_CANT, PE_FOLIO FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'"))));Debug.locals.put("thisC", _thisc); + BA.debugLineNum = 739;BA.debugLine="If thisC.RowCount>0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_thisc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 740;BA.debugLine="For i=0 To thisC.RowCount -1"; +Debug.ShouldStop(8); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_thisc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 741;BA.debugLine="thisC.Position = i"; +Debug.ShouldStop(16); +_thisc.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 743;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${traeTablaP"; +Debug.ShouldStop(64); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 744;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr"; +Debug.ShouldStop(128); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046202902",(RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 748;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_cli"; +Debug.ShouldStop(2048); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 749;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido whe"; +Debug.ShouldStop(4096); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 750;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE kmt_info set ge"; +Debug.ShouldStop(8192); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 751;BA.debugLine="Return 1"; +Debug.ShouldStop(16384); +if (true) return BA.NumberToString(1); + BA.debugLineNum = 752;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _buscadbusuario(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("buscaDBUsuario (subs) ","subs",4,_ba,subs.mostCurrent,596); +if (RapidSub.canDelegate("buscadbusuario")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","buscadbusuario", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _usuario = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 596;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; +Debug.ShouldStop(524288); + BA.debugLineNum = 597;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(1048576); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 598;BA.debugLine="Private usuario As String = \"SinUsuario\""; +Debug.ShouldStop(2097152); +_usuario = BA.ObjectToString("SinUsuario");Debug.locals.put("usuario", _usuario);Debug.locals.put("usuario", _usuario); + BA.debugLineNum = 599;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(4194304); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs._kmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("c", _c); + BA.debugLineNum = 600;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8388608); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 601;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_usuario = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("usuario", _usuario);}; + BA.debugLineNum = 602;BA.debugLine="Return usuario"; +Debug.ShouldStop(33554432); +if (true) return _usuario; + BA.debugLineNum = 603;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calculatotalconpromoxrango(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("calculaTotalConPromoXRango (subs) ","subs",4,_ba,subs.mostCurrent,2232); +if (RapidSub.canDelegate("calculatotalconpromoxrango")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","calculatotalconpromoxrango", _ba, _idcliente);} +RemoteObject _totalparcial = RemoteObject.createImmutable(""); +RemoteObject _total = RemoteObject.createImmutable(""); +RemoteObject _cx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 2232;BA.debugLine="Sub calculaTotalConPromoXRango(idCliente As String"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 2240;BA.debugLine="Private totalParcial As String = 0"; +Debug.ShouldStop(-2147483648); +_totalparcial = BA.NumberToString(0);Debug.locals.put("totalParcial", _totalparcial);Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2241;BA.debugLine="Private total As String = 0"; +Debug.ShouldStop(1); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2242;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(2); +_cx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 2243;BA.debugLine="If cx.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_cx.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2244;BA.debugLine="For i = 0 To cx.RowCount - 1"; +Debug.ShouldStop(8); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_cx.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2246;BA.debugLine="cx.Position = i"; +Debug.ShouldStop(32); +_cx.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2247;BA.debugLine="Log(\"***************************************\")"; +Debug.ShouldStop(64); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049741839",RemoteObject.createImmutable("***************************************"),0); + BA.debugLineNum = 2248;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),BA.ObjectToString("N"))) { + BA.debugLineNum = 2249;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(256); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")));Debug.locals.put("totalParcial", _totalparcial); + }else +{ BA.debugLineNum = 2250;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))) { + BA.debugLineNum = 2251;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +Debug.ShouldStop(1024); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")));Debug.locals.put("totalParcial", _totalparcial); + }else { + BA.debugLineNum = 2253;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +Debug.ShouldStop(4096); +_totalparcial = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2254;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +Debug.ShouldStop(8192); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049741846",(RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))))),RemoteObject.createImmutable(" + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))))),RemoteObject.createImmutable(" "))),0); + }} +; + BA.debugLineNum = 2256;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; +Debug.ShouldStop(32768); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049741848",(RemoteObject.concat(RemoteObject.createImmutable("Total:"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_total))),RemoteObject.createImmutable(" + Total Parcial: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalparcial))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2257;BA.debugLine="total = total + totalParcial"; +Debug.ShouldStop(65536); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),BA.numberCast(double.class, _totalparcial)}, "+",1, 0));Debug.locals.put("total", _total); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2260;BA.debugLine="cx.Close"; +Debug.ShouldStop(524288); +_cx.runVoidMethod ("Close"); + BA.debugLineNum = 2261;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +Debug.ShouldStop(1048576); +_total = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("total", _total); + BA.debugLineNum = 2262;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049741854",(RemoteObject.concat(RemoteObject.createImmutable("Total con promocXrango = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_total))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2263;BA.debugLine="Return total"; +Debug.ShouldStop(4194304); +if (true) return _total; + BA.debugLineNum = 2264;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calculatotalconpromoxrango1(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("calculaTotalConPromoXRango1 (subs) ","subs",4,_ba,subs.mostCurrent,2267); +if (RapidSub.canDelegate("calculatotalconpromoxrango1")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","calculatotalconpromoxrango1", _ba, _idcliente);} +RemoteObject _totalparcial = RemoteObject.createImmutable(""); +RemoteObject _total = RemoteObject.createImmutable(""); +RemoteObject _cx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 2267;BA.debugLine="Sub calculaTotalConPromoXRango1(idCliente As Strin"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 2275;BA.debugLine="Private totalParcial As String = 0"; +Debug.ShouldStop(4); +_totalparcial = BA.NumberToString(0);Debug.locals.put("totalParcial", _totalparcial);Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2276;BA.debugLine="Private total As String = 0"; +Debug.ShouldStop(8); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2277;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(16); +_cx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("' and PE_FUTURO = '1' "))))));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 2278;BA.debugLine="If cx.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_cx.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2279;BA.debugLine="For i = 0 To cx.RowCount - 1"; +Debug.ShouldStop(64); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_cx.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2281;BA.debugLine="cx.Position = i"; +Debug.ShouldStop(256); +_cx.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2283;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),BA.ObjectToString("N"))) { + BA.debugLineNum = 2284;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(2048); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")));Debug.locals.put("totalParcial", _totalparcial); + }else +{ BA.debugLineNum = 2285;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))) { + BA.debugLineNum = 2286;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +Debug.ShouldStop(8192); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")));Debug.locals.put("totalParcial", _totalparcial); + }else { + BA.debugLineNum = 2288;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +Debug.ShouldStop(32768); +_totalparcial = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2289;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +Debug.ShouldStop(65536); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049807382",(RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))))),RemoteObject.createImmutable(" + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))))),RemoteObject.createImmutable(" "))),0); + }} +; + BA.debugLineNum = 2292;BA.debugLine="total = total + totalParcial"; +Debug.ShouldStop(524288); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),BA.numberCast(double.class, _totalparcial)}, "+",1, 0));Debug.locals.put("total", _total); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2295;BA.debugLine="cx.Close"; +Debug.ShouldStop(4194304); +_cx.runVoidMethod ("Close"); + BA.debugLineNum = 2296;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +Debug.ShouldStop(8388608); +_total = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("total", _total); + BA.debugLineNum = 2298;BA.debugLine="Return total"; +Debug.ShouldStop(33554432); +if (true) return _total; + BA.debugLineNum = 2299;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calculatotalconpromoxrango2(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("calculaTotalConPromoXRango2 (subs) ","subs",4,_ba,subs.mostCurrent,2303); +if (RapidSub.canDelegate("calculatotalconpromoxrango2")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","calculatotalconpromoxrango2", _ba, _idcliente);} +RemoteObject _totalparcial = RemoteObject.createImmutable(""); +RemoteObject _total = RemoteObject.createImmutable(""); +RemoteObject _cx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 2303;BA.debugLine="Sub calculaTotalConPromoXRango2(idCliente As Strin"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 2311;BA.debugLine="Private totalParcial As String = 0"; +Debug.ShouldStop(64); +_totalparcial = BA.NumberToString(0);Debug.locals.put("totalParcial", _totalparcial);Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2312;BA.debugLine="Private total As String = 0"; +Debug.ShouldStop(128); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2313;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(256); +_cx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("' and PE_FUTURO = '0' "))))));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 2314;BA.debugLine="If cx.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_cx.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2315;BA.debugLine="For i = 0 To cx.RowCount - 1"; +Debug.ShouldStop(1024); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_cx.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2317;BA.debugLine="cx.Position = i"; +Debug.ShouldStop(4096); +_cx.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2318;BA.debugLine="Log(\"***************************************\")"; +Debug.ShouldStop(8192); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049872911",RemoteObject.createImmutable("***************************************"),0); + BA.debugLineNum = 2319;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),BA.ObjectToString("N"))) { + BA.debugLineNum = 2320;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(32768); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")));Debug.locals.put("totalParcial", _totalparcial); + }else +{ BA.debugLineNum = 2321;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))) { + BA.debugLineNum = 2322;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +Debug.ShouldStop(131072); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")));Debug.locals.put("totalParcial", _totalparcial); + }else { + BA.debugLineNum = 2324;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +Debug.ShouldStop(524288); +_totalparcial = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2325;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049872918",(RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))))),RemoteObject.createImmutable(" + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))))),RemoteObject.createImmutable(" "))),0); + }} +; + BA.debugLineNum = 2327;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; +Debug.ShouldStop(4194304); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049872920",(RemoteObject.concat(RemoteObject.createImmutable("Total:"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_total))),RemoteObject.createImmutable(" + Total Parcial: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalparcial))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2328;BA.debugLine="total = total + totalParcial"; +Debug.ShouldStop(8388608); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),BA.numberCast(double.class, _totalparcial)}, "+",1, 0));Debug.locals.put("total", _total); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2331;BA.debugLine="cx.Close"; +Debug.ShouldStop(67108864); +_cx.runVoidMethod ("Close"); + BA.debugLineNum = 2332;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +Debug.ShouldStop(134217728); +_total = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("total", _total); + BA.debugLineNum = 2333;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; +Debug.ShouldStop(268435456); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049872926",(RemoteObject.concat(RemoteObject.createImmutable("Total con promocXrango = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_total))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2334;BA.debugLine="Return total"; +Debug.ShouldStop(536870912); +if (true) return _total; + BA.debugLineNum = 2335;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calculatotalconpromoxrango3(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("calculaTotalConPromoXRango3 (subs) ","subs",4,_ba,subs.mostCurrent,2338); +if (RapidSub.canDelegate("calculatotalconpromoxrango3")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","calculatotalconpromoxrango3", _ba, _idcliente);} +RemoteObject _total = RemoteObject.createImmutable(""); +RemoteObject _cx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +RemoteObject _precioprom = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 2338;BA.debugLine="Sub calculaTotalConPromoXRango3(idCliente As Strin"; +Debug.ShouldStop(2); + BA.debugLineNum = 2347;BA.debugLine="Private total As String = 0"; +Debug.ShouldStop(1024); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2348;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(2048); +_cx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("' and PE_FUTURO = '0' AND PE_PROID <> PE_CEDIS "))))));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 2349;BA.debugLine="If cx.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_cx.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2350;BA.debugLine="For i = 0 To cx.RowCount - 1"; +Debug.ShouldStop(8192); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_cx.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2352;BA.debugLine="cx.Position = i"; +Debug.ShouldStop(32768); +_cx.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2353;BA.debugLine="Log(\"***************************************\")"; +Debug.ShouldStop(65536); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049938447",RemoteObject.createImmutable("***************************************"),0); + BA.debugLineNum = 2355;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue"; +Debug.ShouldStop(262144); +_precioprom = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_precioprom = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("precioprom", _precioprom);Debug.locals.put("precioprom", _precioprom); + BA.debugLineNum = 2356;BA.debugLine="If precioprom.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_precioprom.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2357;BA.debugLine="precioprom.Position = 0"; +Debug.ShouldStop(1048576); +_precioprom.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2358;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049938452",_precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),0); + BA.debugLineNum = 2359;BA.debugLine="Log (cx.GETSTRING(\"PE_CANT\"))"; +Debug.ShouldStop(4194304); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049938453",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 2360;BA.debugLine="Log (cx.GETSTRING(\"PE_PRONOMBRE\"))"; +Debug.ShouldStop(8388608); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049938454",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),0); + BA.debugLineNum = 2362;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec"; +Debug.ShouldStop(33554432); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "*",0, 0)))}, "+",1, 0));Debug.locals.put("total", _total); + }; + BA.debugLineNum = 2366;BA.debugLine="Log($\"Total:${total} \"$)"; +Debug.ShouldStop(536870912); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049938460",(RemoteObject.concat(RemoteObject.createImmutable("Total:"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_total))),RemoteObject.createImmutable(" "))),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2370;BA.debugLine="cx.Close"; +Debug.ShouldStop(2); +_cx.runVoidMethod ("Close"); + BA.debugLineNum = 2371;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +Debug.ShouldStop(4); +_total = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("total", _total); + BA.debugLineNum = 2372;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; +Debug.ShouldStop(8); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049938466",(RemoteObject.concat(RemoteObject.createImmutable("Total con promocXrango = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_total))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2373;BA.debugLine="Return total"; +Debug.ShouldStop(16); +if (true) return _total; + BA.debugLineNum = 2374;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calculatotalconpromoxrango4(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("calculaTotalConPromoXRango4 (subs) ","subs",4,_ba,subs.mostCurrent,2377); +if (RapidSub.canDelegate("calculatotalconpromoxrango4")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","calculatotalconpromoxrango4", _ba, _idcliente);} +RemoteObject _total = RemoteObject.createImmutable(""); +RemoteObject _cx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +RemoteObject _precioprom = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 2377;BA.debugLine="Sub calculaTotalConPromoXRango4(idCliente As Strin"; +Debug.ShouldStop(256); + BA.debugLineNum = 2386;BA.debugLine="Private total As String = 0"; +Debug.ShouldStop(131072); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2387;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(262144); +_cx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("' and PE_FUTURO = '1' AND PE_PROID <> PE_CEDIS "))))));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 2388;BA.debugLine="If cx.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_cx.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2389;BA.debugLine="For i = 0 To cx.RowCount - 1"; +Debug.ShouldStop(1048576); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_cx.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2391;BA.debugLine="cx.Position = i"; +Debug.ShouldStop(4194304); +_cx.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2394;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue"; +Debug.ShouldStop(33554432); +_precioprom = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_precioprom = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("precioprom", _precioprom);Debug.locals.put("precioprom", _precioprom); + BA.debugLineNum = 2395;BA.debugLine="If precioprom.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_precioprom.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2396;BA.debugLine="precioprom.Position = 0"; +Debug.ShouldStop(134217728); +_precioprom.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2402;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec"; +Debug.ShouldStop(2); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _precioprom.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "*",0, 0)))}, "+",1, 0));Debug.locals.put("total", _total); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2410;BA.debugLine="cx.Close"; +Debug.ShouldStop(512); +_cx.runVoidMethod ("Close"); + BA.debugLineNum = 2411;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +Debug.ShouldStop(1024); +_total = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("total", _total); + BA.debugLineNum = 2413;BA.debugLine="Return total"; +Debug.ShouldStop(4096); +if (true) return _total; + BA.debugLineNum = 2414;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calculatotalconpromoxrango5(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("calculaTotalConPromoXRango5 (subs) ","subs",4,_ba,subs.mostCurrent,2417); +if (RapidSub.canDelegate("calculatotalconpromoxrango5")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","calculatotalconpromoxrango5", _ba, _idcliente);} +RemoteObject _totalparcial = RemoteObject.createImmutable(""); +RemoteObject _total = RemoteObject.createImmutable(""); +RemoteObject _cx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 2417;BA.debugLine="Sub calculaTotalConPromoXRango5(idCliente As Strin"; +Debug.ShouldStop(65536); + BA.debugLineNum = 2425;BA.debugLine="Private totalParcial As String = 0"; +Debug.ShouldStop(16777216); +_totalparcial = BA.NumberToString(0);Debug.locals.put("totalParcial", _totalparcial);Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2426;BA.debugLine="Private total As String = 0"; +Debug.ShouldStop(33554432); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2427;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(67108864); +_cx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("' and PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')"))))));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 2428;BA.debugLine="If cx.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_cx.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2429;BA.debugLine="For i = 0 To cx.RowCount - 1"; +Debug.ShouldStop(268435456); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_cx.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2431;BA.debugLine="cx.Position = i"; +Debug.ShouldStop(1073741824); +_cx.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2433;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),BA.ObjectToString("N"))) { + BA.debugLineNum = 2434;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(2); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")));Debug.locals.put("totalParcial", _totalparcial); + }else +{ BA.debugLineNum = 2435;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))) { + BA.debugLineNum = 2436;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +Debug.ShouldStop(8); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")));Debug.locals.put("totalParcial", _totalparcial); + }else { + BA.debugLineNum = 2438;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +Debug.ShouldStop(32); +_totalparcial = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2439;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +Debug.ShouldStop(64); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","050069526",(RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))))),RemoteObject.createImmutable(" + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))))),RemoteObject.createImmutable(" "))),0); + }} +; + BA.debugLineNum = 2442;BA.debugLine="total = total + totalParcial"; +Debug.ShouldStop(512); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),BA.numberCast(double.class, _totalparcial)}, "+",1, 0));Debug.locals.put("total", _total); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2445;BA.debugLine="cx.Close"; +Debug.ShouldStop(4096); +_cx.runVoidMethod ("Close"); + BA.debugLineNum = 2446;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +Debug.ShouldStop(8192); +_total = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("total", _total); + BA.debugLineNum = 2448;BA.debugLine="Return total"; +Debug.ShouldStop(32768); +if (true) return _total; + BA.debugLineNum = 2449;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calculatotalconpromoxrango6(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("calculaTotalConPromoXRango6 (subs) ","subs",4,_ba,subs.mostCurrent,2453); +if (RapidSub.canDelegate("calculatotalconpromoxrango6")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","calculatotalconpromoxrango6", _ba, _idcliente);} +RemoteObject _totalparcial = RemoteObject.createImmutable(""); +RemoteObject _total = RemoteObject.createImmutable(""); +RemoteObject _cx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 2453;BA.debugLine="Sub calculaTotalConPromoXRango6(idCliente As Strin"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 2461;BA.debugLine="Private totalParcial As String = 0"; +Debug.ShouldStop(268435456); +_totalparcial = BA.NumberToString(0);Debug.locals.put("totalParcial", _totalparcial);Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2462;BA.debugLine="Private total As String = 0"; +Debug.ShouldStop(536870912); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2463;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(1073741824); +_cx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("' AND PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP') "))))));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 2464;BA.debugLine="If cx.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_cx.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2465;BA.debugLine="For i = 0 To cx.RowCount - 1"; +Debug.ShouldStop(1); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_cx.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2467;BA.debugLine="cx.Position = i"; +Debug.ShouldStop(4); +_cx.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2468;BA.debugLine="Log(\"***************************************\")"; +Debug.ShouldStop(8); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","050135055",RemoteObject.createImmutable("***************************************"),0); + BA.debugLineNum = 2469;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),BA.ObjectToString("N"))) { + BA.debugLineNum = 2470;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(32); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")));Debug.locals.put("totalParcial", _totalparcial); + }else +{ BA.debugLineNum = 2471;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RECANT"))),_cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))) { + BA.debugLineNum = 2472;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +Debug.ShouldStop(128); +_totalparcial = _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")));Debug.locals.put("totalParcial", _totalparcial); + }else { + BA.debugLineNum = 2474;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +Debug.ShouldStop(512); +_totalparcial = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("totalParcial", _totalparcial); + BA.debugLineNum = 2475;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","050135062",(RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))))),RemoteObject.createImmutable(" + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),BA.numberCast(double.class, _cx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))))}, "*",0, 0))))),RemoteObject.createImmutable(" "))),0); + }} +; + BA.debugLineNum = 2477;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","050135064",(RemoteObject.concat(RemoteObject.createImmutable("Total:"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_total))),RemoteObject.createImmutable(" + Total Parcial: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalparcial))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2478;BA.debugLine="total = total + totalParcial"; +Debug.ShouldStop(8192); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),BA.numberCast(double.class, _totalparcial)}, "+",1, 0));Debug.locals.put("total", _total); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2481;BA.debugLine="cx.Close"; +Debug.ShouldStop(65536); +_cx.runVoidMethod ("Close"); + BA.debugLineNum = 2482;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +Debug.ShouldStop(131072); +_total = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("total", _total); + BA.debugLineNum = 2483;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","050135070",(RemoteObject.concat(RemoteObject.createImmutable("Total con promocXrango = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_total))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2484;BA.debugLine="Return total"; +Debug.ShouldStop(524288); +if (true) return _total; + BA.debugLineNum = 2485;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centraedittext(RemoteObject _ba,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraEditText (subs) ","subs",4,_ba,subs.mostCurrent,591); +if (RapidSub.canDelegate("centraedittext")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centraedittext", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 591;BA.debugLine="Sub centraEditText(elemento As EditText, anchoElem"; +Debug.ShouldStop(16384); + BA.debugLineNum = 592;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(32768); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_anchoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 593;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centraetiqueta(RemoteObject _ba,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraEtiqueta (subs) ","subs",4,_ba,subs.mostCurrent,572); +if (RapidSub.canDelegate("centraetiqueta")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centraetiqueta", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 572;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 573;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(268435456); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_anchoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 574;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centralistview(RemoteObject _ba,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraListView (subs) ","subs",4,_ba,subs.mostCurrent,52); +if (RapidSub.canDelegate("centralistview")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centralistview", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 52;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem"; +Debug.ShouldStop(524288); + BA.debugLineNum = 53;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(1048576); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_anchoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 54;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centrapanel(RemoteObject _ba,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraPanel (subs) ","subs",4,_ba,subs.mostCurrent,577); +if (RapidSub.canDelegate("centrapanel")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centrapanel", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 577;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +Debug.ShouldStop(1); + BA.debugLineNum = 578;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(2); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_anchoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 579;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centrapanelv(RemoteObject _ba,RemoteObject _elemento,RemoteObject _altoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraPanelV (subs) ","subs",4,_ba,subs.mostCurrent,582); +if (RapidSub.canDelegate("centrapanelv")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centrapanelv", _ba, _elemento, _altoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("altoElementoSuperior", _altoelementosuperior); + BA.debugLineNum = 582;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; +Debug.ShouldStop(32); + BA.debugLineNum = 583;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; +Debug.ShouldStop(64); +_elemento.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_altoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 584;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centraprogressbar(RemoteObject _ba,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraProgressBar (subs) ","subs",4,_ba,subs.mostCurrent,587); +if (RapidSub.canDelegate("centraprogressbar")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centraprogressbar", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 587;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; +Debug.ShouldStop(1024); + BA.debugLineNum = 588;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(2048); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_anchoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 589;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _compress(RemoteObject _ba,RemoteObject _str) throws Exception{ +try { + Debug.PushSubsStack("compress (subs) ","subs",4,_ba,subs.mostCurrent,58); +if (RapidSub.canDelegate("compress")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","compress", _ba, _str);} +RemoteObject _compressed = null; +RemoteObject _base64 = RemoteObject.createImmutable(""); +; +Debug.locals.put("str", _str); + BA.debugLineNum = 58;BA.debugLine="Sub compress(str As String) As String 'ignore"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 60;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +Debug.ShouldStop(134217728); +_compressed = subs._gzip.runMethod(false,"compress",(Object)(_str));Debug.locals.put("compressed", _compressed);Debug.locals.put("compressed", _compressed); + BA.debugLineNum = 63;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +Debug.ShouldStop(1073741824); +_base64 = subs._su.runMethod(true,"EncodeBase64",(Object)(_compressed));Debug.locals.put("base64", _base64);Debug.locals.put("base64", _base64); + BA.debugLineNum = 64;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043319302",(RemoteObject.concat(RemoteObject.createImmutable("Comprimido: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_base64.runMethod(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 66;BA.debugLine="Return base64"; +Debug.ShouldStop(2); +if (true) return _base64; + BA.debugLineNum = 67;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _copiadb(RemoteObject _ba,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("copiaDB (subs) ","subs",4,_ba,subs.mostCurrent,530); +if (RapidSub.canDelegate("copiadb")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","copiadb", _ba, _result);} +RemoteObject _p = RemoteObject.createImmutable(""); +RemoteObject _thedir = RemoteObject.createImmutable(""); +; +Debug.locals.put("result", _result); + BA.debugLineNum = 530;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 531;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("copiaDB")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 532;BA.debugLine="If result Then"; +Debug.ShouldStop(524288); +if (_result.get().booleanValue()) { + BA.debugLineNum = 533;BA.debugLine="Dim p As String"; +Debug.ShouldStop(1048576); +_p = RemoteObject.createImmutable("");Debug.locals.put("p", _p); + BA.debugLineNum = 534;BA.debugLine="If File.ExternalWritable Then"; +Debug.ShouldStop(2097152); +if (subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getExternalWritable").get().booleanValue()) { + BA.debugLineNum = 535;BA.debugLine="p = File.DirRootExternal"; +Debug.ShouldStop(4194304); +_p = subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirRootExternal");Debug.locals.put("p", _p); + }else { + BA.debugLineNum = 538;BA.debugLine="p = File.DirInternal"; +Debug.ShouldStop(33554432); +_p = subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("p", _p); + }; + BA.debugLineNum = 541;BA.debugLine="Dim theDir As String"; +Debug.ShouldStop(268435456); +_thedir = RemoteObject.createImmutable("");Debug.locals.put("theDir", _thedir); + BA.debugLineNum = 542;BA.debugLine="Try"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 543;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirRootExternal")),(Object)(RemoteObject.createImmutable("kmts"))); + BA.debugLineNum = 544;BA.debugLine="theDir = \"/kmts\""; +Debug.ShouldStop(-2147483648); +_thedir = BA.ObjectToString("/kmts");Debug.locals.put("theDir", _thedir); + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e14.toString()); BA.debugLineNum = 546;BA.debugLine="theDir = \"\""; +Debug.ShouldStop(2); +_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir); + }; + BA.debugLineNum = 548;BA.debugLine="Try"; +Debug.ShouldStop(8); +try { BA.debugLineNum = 549;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo"; +Debug.ShouldStop(16); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(RemoteObject.concat(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirRootExternal"),_thedir)),(Object)(RemoteObject.createImmutable("cedex_kmt.db"))); + BA.debugLineNum = 550;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; +Debug.ShouldStop(32); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("errorLog.db")),(Object)(RemoteObject.concat(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirRootExternal"),_thedir)),(Object)(RemoteObject.createImmutable("cedex_errorLog.db"))); + BA.debugLineNum = 551;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; +Debug.ShouldStop(64); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("BD copiada!")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e21.toString()); BA.debugLineNum = 553;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se pudo hacer la copia: "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)))),(Object)(subs.mostCurrent.__c.getField(true,"True"))); + }; + BA.debugLineNum = 555;BA.debugLine="Log(\"rootExternal=\"&p)"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","045219865",RemoteObject.concat(RemoteObject.createImmutable("rootExternal="),_p),0); + BA.debugLineNum = 556;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","045219866",RemoteObject.concat(RemoteObject.createImmutable("File.DirInternal="),subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),0); + BA.debugLineNum = 557;BA.debugLine="Log(\"File.DirRootExternal=\"&File.DirRootExternal"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","045219867",RemoteObject.concat(RemoteObject.createImmutable("File.DirRootExternal="),subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirRootExternal")),0); + }else { + BA.debugLineNum = 559;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + }; + BA.debugLineNum = 561;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuantosvariablestengobd(RemoteObject _ba,RemoteObject _promo) throws Exception{ +try { + Debug.PushSubsStack("cuantosVariablesTengoBD (subs) ","subs",4,_ba,subs.mostCurrent,1244); +if (RapidSub.canDelegate("cuantosvariablestengobd")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","cuantosvariablestengobd", _ba, _promo);} +; +Debug.locals.put("promo", _promo); + BA.debugLineNum = 1244;BA.debugLine="Sub cuantosVariablesTengoBD(promo As String) As St"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1255;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dameerroresjson(RemoteObject _ba,RemoteObject _sql,RemoteObject _maxerrores,RemoteObject _comprimido) throws Exception{ +try { + Debug.PushSubsStack("dameErroresJSON (subs) ","subs",4,_ba,subs.mostCurrent,468); +if (RapidSub.canDelegate("dameerroresjson")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","dameerroresjson", _ba, _sql, _maxerrores, _comprimido);} +RemoteObject _j = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator"); +RemoteObject _lim = RemoteObject.createImmutable(""); +RemoteObject _cur = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; +Debug.locals.put("SQL", _sql); +Debug.locals.put("maxErrores", _maxerrores); +Debug.locals.put("comprimido", _comprimido); + BA.debugLineNum = 468;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; +Debug.ShouldStop(524288); + BA.debugLineNum = 469;BA.debugLine="Log(\"dameErroresJSON\")"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","045023233",RemoteObject.createImmutable("dameErroresJSON"),0); + BA.debugLineNum = 470;BA.debugLine="Private j As JSONGenerator"; +Debug.ShouldStop(2097152); +_j = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator");Debug.locals.put("j", _j); + BA.debugLineNum = 471;BA.debugLine="Private lim As String"; +Debug.ShouldStop(4194304); +_lim = RemoteObject.createImmutable("");Debug.locals.put("lim", _lim); + BA.debugLineNum = 472;BA.debugLine="Private cur As ResultSet"; +Debug.ShouldStop(8388608); +_cur = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper");Debug.locals.put("cur", _cur); + BA.debugLineNum = 473;BA.debugLine="Private l As List"; +Debug.ShouldStop(16777216); +_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("l", _l); + BA.debugLineNum = 474;BA.debugLine="Private i As Int = 0"; +Debug.ShouldStop(33554432); +_i = BA.numberCast(int.class, 0);Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 475;BA.debugLine="l.Initialize"; +Debug.ShouldStop(67108864); +_l.runVoidMethod ("Initialize"); + BA.debugLineNum = 476;BA.debugLine="Dim m, m2 As Map"; +Debug.ShouldStop(134217728); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); +_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m2", _m2); + BA.debugLineNum = 477;BA.debugLine="m2.Initialize"; +Debug.ShouldStop(268435456); +_m2.runVoidMethod ("Initialize"); + BA.debugLineNum = 478;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_maxerrores,BA.numberCast(double.class, 0))) { +_lim = BA.ObjectToString("");Debug.locals.put("lim", _lim);} +else { +_lim = RemoteObject.concat(RemoteObject.createImmutable("limit "),_maxerrores);Debug.locals.put("lim", _lim);}; + BA.debugLineNum = 479;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order"; +Debug.ShouldStop(1073741824); +_cur = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), _sql.runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("select * from errores order by fecha desc "),_lim))));Debug.locals.put("cur", _cur); + BA.debugLineNum = 480;BA.debugLine="Do While cur.NextRow"; +Debug.ShouldStop(-2147483648); +while (_cur.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 481;BA.debugLine="m.Initialize"; +Debug.ShouldStop(1); +_m.runVoidMethod ("Initialize"); + BA.debugLineNum = 482;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; +Debug.ShouldStop(2); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("fecha"))),(Object)((_cur.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fecha")))))); + BA.debugLineNum = 483;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; +Debug.ShouldStop(4); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("error"))),(Object)((_cur.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("error")))))); + BA.debugLineNum = 484;BA.debugLine="m2.Put(i,m)"; +Debug.ShouldStop(8); +_m2.runVoidMethod ("Put",(Object)((_i)),(Object)((_m.getObject()))); + BA.debugLineNum = 485;BA.debugLine="i = i + 1"; +Debug.ShouldStop(16); +_i = RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("i", _i); + } +; + BA.debugLineNum = 487;BA.debugLine="cur.Close"; +Debug.ShouldStop(64); +_cur.runVoidMethod ("Close"); + BA.debugLineNum = 488;BA.debugLine="j.Initialize(m2)"; +Debug.ShouldStop(128); +_j.runVoidMethod ("Initialize",(Object)(_m2)); + BA.debugLineNum = 489;BA.debugLine="Log(j.ToString)"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","045023253",_j.runMethod(true,"ToString"),0); + BA.debugLineNum = 490;BA.debugLine="If comprimido Then"; +Debug.ShouldStop(512); +if (_comprimido.get().booleanValue()) { + BA.debugLineNum = 491;BA.debugLine="Return compress(j.ToString)"; +Debug.ShouldStop(1024); +if (true) return _compress(_ba,_j.runMethod(true,"ToString")); + }else { + BA.debugLineNum = 493;BA.debugLine="Return j.ToString"; +Debug.ShouldStop(4096); +if (true) return _j.runMethod(true,"ToString"); + }; + BA.debugLineNum = 495;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dameruta(RemoteObject _ba,RemoteObject _inicioruta,RemoteObject _origenruta) throws Exception{ +try { + Debug.PushSubsStack("dameRuta (subs) ","subs",4,_ba,subs.mostCurrent,149); +if (RapidSub.canDelegate("dameruta")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","dameruta", _ba, _inicioruta, _origenruta);} +RemoteObject _fechainicio = RemoteObject.createImmutable(""); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _ruta2 = RemoteObject.createImmutable(""); +int _i = 0; +; +Debug.locals.put("inicioRuta", _inicioruta); +Debug.locals.put("origenRuta", _origenruta); + BA.debugLineNum = 149;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 151;BA.debugLine="Dim fechaInicio As String"; +Debug.ShouldStop(4194304); +_fechainicio = RemoteObject.createImmutable("");Debug.locals.put("fechaInicio", _fechainicio); + BA.debugLineNum = 152;BA.debugLine="Try 'incioRuta es numero"; +Debug.ShouldStop(8388608); +try { BA.debugLineNum = 153;BA.debugLine="inicioRuta = inicioRuta * 1"; +Debug.ShouldStop(16777216); +_inicioruta = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inicioruta),RemoteObject.createImmutable(1)}, "*",0, 0));Debug.locals.put("inicioRuta", _inicioruta); + BA.debugLineNum = 155;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime."; +Debug.ShouldStop(67108864); +_fechainicio = _fechakmt(_ba,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"),(RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.getField(false,"DateTime").getField(true,"TicksPerHour"),BA.numberCast(double.class, _inicioruta)}, "*",0, 0))}, "-",1, 0)));Debug.locals.put("fechaInicio", _fechainicio); + Debug.CheckDeviceExceptions(); +} + catch (Exception e6) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e6.toString()); BA.debugLineNum = 157;BA.debugLine="fechaInicio = fechaInicioHoy"; +Debug.ShouldStop(268435456); +_fechainicio = _fechainiciohoy(_ba);Debug.locals.put("fechaInicio", _fechainicio); + }; + BA.debugLineNum = 160;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&"; +Debug.ShouldStop(-2147483648); +if (subs._subslogs.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043778059",RemoteObject.concat(RemoteObject.createImmutable("fechaInicio: "),_fechainicio,RemoteObject.createImmutable(" | rutaHrsAtras="),subs._rutahrsatras),0);}; + BA.debugLineNum = 161;BA.debugLine="Dim c As Cursor"; +Debug.ShouldStop(1); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 162;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize("; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",subs._kmt.runMethod(true,"IsInitialized"),subs.mostCurrent.__c.getField(true,"False"))) { +subs._kmt.runVoidMethod ("Initialize",(Object)(subs.mostCurrent._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(subs.mostCurrent.__c.getField(true,"True")));}; + BA.debugLineNum = 163;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from"; +Debug.ShouldStop(4); +if (subs._subslogs.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043778062",RemoteObject.concat(RemoteObject.createImmutable("select FECHA, LAT, LON from "),_origenruta,RemoteObject.createImmutable(" where FECHA > "),_fechainicio,RemoteObject.createImmutable(" order by FECHA desc limit "),subs._rutamaxpoints),0);}; + BA.debugLineNum = 164;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&"; +Debug.ShouldStop(8); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs._kmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("select FECHA, LAT, LON from "),_origenruta,RemoteObject.createImmutable(" where FECHA > "),_fechainicio,RemoteObject.createImmutable(" order by FECHA desc limit "),subs._rutamaxpoints))));Debug.locals.put("c", _c); + BA.debugLineNum = 165;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 166;BA.debugLine="Dim ruta2 As String = \"\""; +Debug.ShouldStop(32); +_ruta2 = BA.ObjectToString("");Debug.locals.put("ruta2", _ruta2);Debug.locals.put("ruta2", _ruta2); + BA.debugLineNum = 167;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 168;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(128); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {_c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16) ;_i = ((int)(0 + _i + step16)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 169;BA.debugLine="c.Position=i"; +Debug.ShouldStop(256); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 170;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; +Debug.ShouldStop(512); +_ruta2 = RemoteObject.concat(_ruta2,subs.mostCurrent.__c.getField(true,"CRLF"),_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT"))),RemoteObject.createImmutable(","),_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LON"))),RemoteObject.createImmutable(","),_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA"))));Debug.locals.put("ruta2", _ruta2); + BA.debugLineNum = 171;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; +Debug.ShouldStop(1024); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).setField ("_fecharuta" /*RemoteObject*/ ,_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 174;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 175;BA.debugLine="Return compress(ruta2)"; +Debug.ShouldStop(16384); +if (true) return _compress(_ba,_ruta2); + BA.debugLineNum = 176;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dameusuariodedb(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("dameUsuarioDeDB (subs) ","subs",4,_ba,subs.mostCurrent,606); +if (RapidSub.canDelegate("dameusuariodedb")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","dameusuariodedb", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 606;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 607;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(1073741824); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 608;BA.debugLine="Private u As String = \"SinUsuario\""; +Debug.ShouldStop(-2147483648); +_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 609;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +Debug.ShouldStop(1); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._kmt.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 610;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(2); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs._kmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("c", _c); + BA.debugLineNum = 611;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 612;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_u = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("u", _u);}; + BA.debugLineNum = 613;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 614;BA.debugLine="Return u"; +Debug.ShouldStop(32); +if (true) return _u; + BA.debugLineNum = 615;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _decompress(RemoteObject _ba,RemoteObject _base64) throws Exception{ +try { + Debug.PushSubsStack("decompress (subs) ","subs",4,_ba,subs.mostCurrent,70); +if (RapidSub.canDelegate("decompress")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","decompress", _ba, _base64);} +RemoteObject _decompressedbytes = null; +RemoteObject _bc = RemoteObject.declareNull("anywheresoftware.b4a.agraham.byteconverter.ByteConverter"); +RemoteObject _uncompressed = RemoteObject.createImmutable(""); +; +Debug.locals.put("base64", _base64); + BA.debugLineNum = 70;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +Debug.ShouldStop(32); + BA.debugLineNum = 71;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +Debug.ShouldStop(64); +_decompressedbytes = subs._su.runMethod(false,"DecodeBase64",(Object)(_base64));Debug.locals.put("decompressedbytes", _decompressedbytes);Debug.locals.put("decompressedbytes", _decompressedbytes); + BA.debugLineNum = 73;BA.debugLine="Dim bc As ByteConverter"; +Debug.ShouldStop(256); +_bc = RemoteObject.createNew ("anywheresoftware.b4a.agraham.byteconverter.ByteConverter");Debug.locals.put("bc", _bc); + BA.debugLineNum = 74;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +Debug.ShouldStop(512); +_uncompressed = _bc.runMethod(true,"StringFromBytes",(Object)(_decompressedbytes),(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("uncompressed", _uncompressed);Debug.locals.put("uncompressed", _uncompressed); + BA.debugLineNum = 75;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043384837",(RemoteObject.concat(RemoteObject.createImmutable("Descomprimido: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_uncompressed.runMethod(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 77;BA.debugLine="Return uncompressed"; +Debug.ShouldStop(4096); +if (true) return _uncompressed; + BA.debugLineNum = 78;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _deleteerrorlog_db(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("deleteErrorLog_DB (subs) ","subs",4,_ba,subs.mostCurrent,186); +if (RapidSub.canDelegate("deleteerrorlog_db")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","deleteerrorlog_db", _ba);} +; + BA.debugLineNum = 186;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 187;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +Debug.ShouldStop(67108864); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from errores"))); + BA.debugLineNum = 188;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(134217728); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 189;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; +Debug.ShouldStop(268435456); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("BD Errores Borrada")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 190;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _deletefolder(RemoteObject _ba,RemoteObject _folder) throws Exception{ +try { + Debug.PushSubsStack("deleteFolder (subs) ","subs",4,_ba,subs.mostCurrent,1913); +if (RapidSub.canDelegate("deletefolder")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","deletefolder", _ba, _folder);} +RemoteObject _f = RemoteObject.createImmutable(""); +; +Debug.locals.put("folder", _folder); + BA.debugLineNum = 1913;BA.debugLine="Sub deleteFolder(folder As String)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 1914;BA.debugLine="Log(\"Borrando \" & folder)"; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049217537",RemoteObject.concat(RemoteObject.createImmutable("Borrando "),_folder),0); + BA.debugLineNum = 1915;BA.debugLine="For Each f As String In File.ListFiles(folder)"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group2 = subs.mostCurrent.__c.getField(false,"File").runMethod(false,"ListFiles",(Object)(_folder)); +final int groupLen2 = group2.runMethod(true,"getSize").get() +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_f = BA.ObjectToString(group2.runMethod(false,"Get",index2));Debug.locals.put("f", _f); +Debug.locals.put("f", _f); + BA.debugLineNum = 1916;BA.debugLine="Log(f)"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049217539",_f,0); + BA.debugLineNum = 1917;BA.debugLine="If File.IsDirectory(folder, f) Then"; +Debug.ShouldStop(268435456); +if (subs.mostCurrent.__c.getField(false,"File").runMethod(true,"IsDirectory",(Object)(_folder),(Object)(_f)).get().booleanValue()) { + BA.debugLineNum = 1918;BA.debugLine="deleteFolder(File.Combine(folder, f))"; +Debug.ShouldStop(536870912); +_deletefolder(_ba,subs.mostCurrent.__c.getField(false,"File").runMethod(true,"Combine",(Object)(_folder),(Object)(_f))); + BA.debugLineNum = 1919;BA.debugLine="Log($\"Borramos ${File.Combine(folder, f)}\"$)"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049217542",(RemoteObject.concat(RemoteObject.createImmutable("Borramos "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(false,"File").runMethod(true,"Combine",(Object)(_folder),(Object)(_f))))),RemoteObject.createImmutable(""))),0); + }; + BA.debugLineNum = 1921;BA.debugLine="File.Delete(folder, f)"; +Debug.ShouldStop(1); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(_folder),(Object)(_f)); + } +}Debug.locals.put("f", _f); +; + BA.debugLineNum = 1923;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _deletegps_db(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("deleteGPS_DB (subs) ","subs",4,_ba,subs.mostCurrent,179); +if (RapidSub.canDelegate("deletegps_db")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","deletegps_db", _ba);} +; + BA.debugLineNum = 179;BA.debugLine="Sub deleteGPS_DB 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 180;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +Debug.ShouldStop(524288); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from RUTA_GPS"))); + BA.debugLineNum = 181;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(1048576); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 182;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Borramos BD Coords GPS")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 183;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _enviawhatsappmsg(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("enviaWhatsappMsg (subs) ","subs",4,_ba,subs.mostCurrent,1925); +if (RapidSub.canDelegate("enviawhatsappmsg")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","enviawhatsappmsg", _ba);} +; + BA.debugLineNum = 1925;BA.debugLine="Sub enviaWhatsappMsg()"; +Debug.ShouldStop(16); + BA.debugLineNum = 1960;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fechainiciohoy(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("fechaInicioHoy (subs) ","subs",4,_ba,subs.mostCurrent,277); +if (RapidSub.canDelegate("fechainiciohoy")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","fechainiciohoy", _ba);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _h = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 277;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 278;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; +Debug.ShouldStop(2097152); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 279;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +Debug.ShouldStop(4194304); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMdd")); + BA.debugLineNum = 280;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; +Debug.ShouldStop(8388608); +_h = RemoteObject.concat(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("000000"));Debug.locals.put("h", _h);Debug.locals.put("h", _h); + BA.debugLineNum = 281;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 282;BA.debugLine="Log(\"Hoy=\"&h)"; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044367877",RemoteObject.concat(RemoteObject.createImmutable("Hoy="),_h),0); + BA.debugLineNum = 283;BA.debugLine="Return h"; +Debug.ShouldStop(67108864); +if (true) return _h; + BA.debugLineNum = 284;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fechakmt(RemoteObject _ba,RemoteObject _fecha) throws Exception{ +try { + Debug.PushSubsStack("fechaKMT (subs) ","subs",4,_ba,subs.mostCurrent,81); +if (RapidSub.canDelegate("fechakmt")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","fechakmt", _ba, _fecha);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _nuevafecha = RemoteObject.createImmutable(""); +; +Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 81;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +Debug.ShouldStop(65536); + BA.debugLineNum = 83;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(262144); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 84;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +Debug.ShouldStop(524288); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMddHHmmss")); + BA.debugLineNum = 85;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +Debug.ShouldStop(1048576); +_nuevafecha = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(BA.numberCast(long.class, _fecha)));Debug.locals.put("nuevaFecha", _nuevafecha);Debug.locals.put("nuevaFecha", _nuevafecha); + BA.debugLineNum = 86;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 88;BA.debugLine="Return nuevaFecha"; +Debug.ShouldStop(8388608); +if (true) return _nuevafecha; + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fechakmt2ticks(RemoteObject _ba,RemoteObject _fkmt) throws Exception{ +try { + Debug.PushSubsStack("fechaKMT2Ticks (subs) ","subs",4,_ba,subs.mostCurrent,498); +if (RapidSub.canDelegate("fechakmt2ticks")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","fechakmt2ticks", _ba, _fkmt);} +RemoteObject _partefecha = RemoteObject.createImmutable(""); +RemoteObject _partehora = RemoteObject.createImmutable(""); +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _ticks = RemoteObject.createImmutable(0L); +; +Debug.locals.put("fKMT", _fkmt); + BA.debugLineNum = 498;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 499;BA.debugLine="Try"; +Debug.ShouldStop(262144); +try { BA.debugLineNum = 500;BA.debugLine="If fKMT.Length = 12 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_fkmt.runMethod(true,"length"),BA.numberCast(double.class, 12))) { + BA.debugLineNum = 501;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +Debug.ShouldStop(1048576); +_partefecha = _fkmt.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 6)));Debug.locals.put("parteFecha", _partefecha);Debug.locals.put("parteFecha", _partefecha); + BA.debugLineNum = 502;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +Debug.ShouldStop(2097152); +_partehora = _fkmt.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 6)));Debug.locals.put("parteHora", _partehora);Debug.locals.put("parteHora", _partehora); + BA.debugLineNum = 503;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +Debug.ShouldStop(4194304); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 504;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; +Debug.ShouldStop(8388608); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yymmdd")); + BA.debugLineNum = 505;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 506;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +Debug.ShouldStop(33554432); +_ticks = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"DateTimeParse",(Object)(_partefecha),(Object)(_partehora));Debug.locals.put("ticks", _ticks);Debug.locals.put("ticks", _ticks); + BA.debugLineNum = 507;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 508;BA.debugLine="Return ticks"; +Debug.ShouldStop(134217728); +Debug.CheckDeviceExceptions();if (true) return _ticks; + }else { + BA.debugLineNum = 510;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +Debug.ShouldStop(536870912); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","045088780",RemoteObject.concat(RemoteObject.createImmutable("Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"),_fkmt,RemoteObject.createImmutable("' largo="),_fkmt.runMethod(true,"length")),0); + BA.debugLineNum = 511;BA.debugLine="Return 0"; +Debug.ShouldStop(1073741824); +Debug.CheckDeviceExceptions();if (true) return BA.numberCast(long.class, 0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e16) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e16.toString()); BA.debugLineNum = 514;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(2); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","045088784",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + BA.debugLineNum = 515;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","045088785",(RemoteObject.concat(RemoteObject.createImmutable("Fecha dada: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fkmt))),RemoteObject.createImmutable(", Parte Fecha: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_partefecha))),RemoteObject.createImmutable(", Parte Hora: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_partehora))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 516;BA.debugLine="Return 0"; +Debug.ShouldStop(8); +if (true) return BA.numberCast(long.class, 0); + }; + BA.debugLineNum = 518;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(0L); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fechanormal(RemoteObject _ba,RemoteObject _fecha) throws Exception{ +try { + Debug.PushSubsStack("fechanormal (subs) ","subs",4,_ba,subs.mostCurrent,214); +if (RapidSub.canDelegate("fechanormal")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","fechanormal", _ba, _fecha);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _nuevafecha = RemoteObject.createImmutable(""); +; +Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 214;BA.debugLine="Sub fechanormal(fecha As String) As String 'ignore"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 216;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(8388608); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 217;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("YYYY/MM/dd HH:mm:ss")); + BA.debugLineNum = 218;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +Debug.ShouldStop(33554432); +_nuevafecha = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(BA.numberCast(long.class, _fecha)));Debug.locals.put("nuevaFecha", _nuevafecha);Debug.locals.put("nuevaFecha", _nuevafecha); + BA.debugLineNum = 219;BA.debugLine="DateTime.DateFormat = OrigFormat 'return to orig"; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 221;BA.debugLine="Return nuevaFecha"; +Debug.ShouldStop(268435456); +if (true) return _nuevafecha; + BA.debugLineNum = 222;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getphnid(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("getPhnId (subs) ","subs",4,_ba,subs.mostCurrent,23); +if (RapidSub.canDelegate("getphnid")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","getphnid", _ba);} +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _s = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 23;BA.debugLine="Sub getPhnId As String 'ignore"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 25;BA.debugLine="devModel = phn.Model"; +Debug.ShouldStop(16777216); +subs._devmodel = subs._phn.runMethod(true,"getModel"); + BA.debugLineNum = 26;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("k",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 27;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +Debug.ShouldStop(67108864); +_t = subs._phn.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 28;BA.debugLine="devModel = t"; +Debug.ShouldStop(134217728); +subs._devmodel = _t; + }; + BA.debugLineNum = 30;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("g",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 31;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("WriteString",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("phnId.txt")),(Object)(subs._devmodel)); + }else +{ BA.debugLineNum = 33;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("<",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 34;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; +Debug.ShouldStop(2); +_s = subs.mostCurrent.__c.getField(false,"File").runMethod(true,"ReadString",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("phnId.txt")));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 35;BA.debugLine="devModel = s"; +Debug.ShouldStop(4); +subs._devmodel = _s; + }} +; + BA.debugLineNum = 39;BA.debugLine="Return devModel"; +Debug.ShouldStop(64); +if (true) return subs._devmodel; + BA.debugLineNum = 40;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getssid(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("getSSID (subs) ","subs",4,_ba,subs.mostCurrent,225); +if (RapidSub.canDelegate("getssid")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","getssid", _ba);} +; + BA.debugLineNum = 225;BA.debugLine="Sub getSSID 'ignore"; +Debug.ShouldStop(1); + BA.debugLineNum = 230;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaappinfo(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("guardaAppInfo (subs) ","subs",4,_ba,subs.mostCurrent,1314); +if (RapidSub.canDelegate("guardaappinfo")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaappinfo", _ba);} +; + BA.debugLineNum = 1314;BA.debugLine="Sub guardaAppInfo 'ignore"; +Debug.ShouldStop(2); + BA.debugLineNum = 1315;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"))); + BA.debugLineNum = 1316;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +Debug.ShouldStop(8); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(false,"Application").runMethod(true,"getLabelName")))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1317;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +Debug.ShouldStop(16); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(false,"Application").runMethod(true,"getVersionName")))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1318;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardainfoenarchivo(RemoteObject _ba,RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("guardaInfoEnArchivo (subs) ","subs",4,_ba,subs.mostCurrent,120); +if (RapidSub.canDelegate("guardainfoenarchivo")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardainfoenarchivo", _ba, _coords);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _lastupdate = RemoteObject.createImmutable(""); +RemoteObject _ubic = RemoteObject.createImmutable(""); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _s = RemoteObject.createImmutable(""); +RemoteObject _t = null; +; +Debug.locals.put("coords", _coords); + BA.debugLineNum = 120;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 122;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +Debug.ShouldStop(33554432); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 123;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MMM-dd HH:mm:ss")); + BA.debugLineNum = 124;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; +Debug.ShouldStop(134217728); +_lastupdate = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("lastUpdate", _lastupdate);Debug.locals.put("lastUpdate", _lastupdate); + BA.debugLineNum = 125;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(268435456); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 127;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; +Debug.ShouldStop(1073741824); +_ubic = RemoteObject.concat(_coords,RemoteObject.createImmutable(","),_lastupdate);Debug.locals.put("ubic", _ubic);Debug.locals.put("ubic", _ubic); + BA.debugLineNum = 128;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(-2147483648); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = subs.mostCurrent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirRootExternal")),(Object)(BA.ObjectToString("gps.txt")),(Object)(subs.mostCurrent.__c.getField(true,"True")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 129;BA.debugLine="Dim s As String = ubic & CRLF"; +Debug.ShouldStop(1); +_s = RemoteObject.concat(_ubic,subs.mostCurrent.__c.getField(true,"CRLF"));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 130;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +Debug.ShouldStop(2); +_t = _s.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF-8")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 131;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +Debug.ShouldStop(4); +_out.runVoidMethod ("WriteBytes",(Object)(_t),(Object)(BA.numberCast(int.class, 0)),(Object)(_t.getField(true,"length"))); + BA.debugLineNum = 132;BA.debugLine="out.Close"; +Debug.ShouldStop(8); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 133;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardainfoenbd(RemoteObject _ba,RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("guardaInfoEnBD (subs) ","subs",4,_ba,subs.mostCurrent,136); +if (RapidSub.canDelegate("guardainfoenbd")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardainfoenbd", _ba, _coords);} +RemoteObject _latlon = null; +; +Debug.locals.put("coords", _coords); + BA.debugLineNum = 136;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +Debug.ShouldStop(128); + BA.debugLineNum = 137;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043712513",RemoteObject.concat(RemoteObject.createImmutable("Guardamos ubicacion en BD - "),_coords),0); + BA.debugLineNum = 138;BA.debugLine="Try"; +Debug.ShouldStop(512); +try { BA.debugLineNum = 139;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +Debug.ShouldStop(1024); +_latlon = subs.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(_coords));Debug.locals.put("latlon", _latlon);Debug.locals.put("latlon", _latlon); + BA.debugLineNum = 140;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("<",_latlon.getField(true,"length"),BA.numberCast(double.class, 2))) { +_latlon = subs.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(",")),(Object)(_coords));Debug.locals.put("latlon", _latlon);}; + BA.debugLineNum = 141;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; +Debug.ShouldStop(4096); +if (subs._subslogs.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043712517",RemoteObject.concat(RemoteObject.createImmutable("LatLon="),_latlon),0);}; + BA.debugLineNum = 142;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L"; +Debug.ShouldStop(8192); +subs._kmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_latlon.getArrayElement(true,BA.numberCast(int.class, 2))),(_latlon.getArrayElement(true,BA.numberCast(int.class, 0))),(_latlon.getArrayElement(true,BA.numberCast(int.class, 1)))}))))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e8) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e8.toString()); BA.debugLineNum = 144;BA.debugLine="LogColor(LastException, Colors.red)"; +Debug.ShouldStop(32768); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043712520",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 146;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaproducto(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa) throws Exception{ +try { + Debug.PushSubsStack("guardaProducto (subs) ","subs",4,_ba,subs.mostCurrent,861); +if (RapidSub.canDelegate("guardaproducto")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaproducto", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); + BA.debugLineNum = 861;BA.debugLine="Sub guardaProducto(cedis As String, costoU As Stri"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 862;BA.debugLine="LogColor(\"guardaProducto: \"&prodId&\", cant=\"&cant"; +Debug.ShouldStop(536870912); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046792705",RemoteObject.concat(RemoteObject.createImmutable("guardaProducto: "),_prodid,RemoteObject.createImmutable(", cant="),_cant,RemoteObject.createImmutable(" - TV:"),_tipoventa),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 863;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(1073741824); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 864;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cedis),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant),BA.numberCast(double.class, _costou)}, "*",0, 0))),(_costou),(_cant),(_nombre),(_prodid),(_clienteid),(_fecha),(_usuario),(_traerutabitacora(_ba)),(_preciosin),(_tipoventa)}))))); + BA.debugLineNum = 865;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${t"; +Debug.ShouldStop(1); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_traetipoventadebd(_ba))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)}))))); + BA.debugLineNum = 866;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +Debug.ShouldStop(2); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 867;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 868;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(8); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 869;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +Debug.ShouldStop(16); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(_clienteid),(_fecha),(_usuario),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lon_gps" /*RemoteObject*/ )),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lat_gps" /*RemoteObject*/ )),(_cedis),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 870;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; +Debug.ShouldStop(32); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 871;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaproductosin(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costotot,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipov,RemoteObject _precio2,RemoteObject _query) throws Exception{ +try { + Debug.PushSubsStack("guardaProductoSin (subs) ","subs",4,_ba,subs.mostCurrent,626); +if (RapidSub.canDelegate("guardaproductosin")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaproductosin", _ba, _cedis, _costotot, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipov, _precio2, _query);} +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoTot", _costotot); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoV", _tipov); +Debug.locals.put("precio2", _precio2); +Debug.locals.put("query", _query); + BA.debugLineNum = 626;BA.debugLine="Sub guardaProductoSin(cedis As String, costoTot As"; +Debug.ShouldStop(131072); + BA.debugLineNum = 639;BA.debugLine="ToastMessageShow(\"guardaProdSin\", False)"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("guardaProdSin")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 640;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaproductosingestion(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa,RemoteObject _futuro) throws Exception{ +try { + Debug.PushSubsStack("guardaProductoSinGestion (subs) ","subs",4,_ba,subs.mostCurrent,1833); +if (RapidSub.canDelegate("guardaproductosingestion")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaproductosingestion", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa, _futuro);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); +Debug.locals.put("futuro", _futuro); + BA.debugLineNum = 1833;BA.debugLine="Sub guardaProductoSinGestion(cedis As String, cost"; +Debug.ShouldStop(256); + BA.debugLineNum = 1834;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(guar"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("<",_nombre.runMethod(true,"length"),BA.numberCast(double.class, 6))) { +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("(guardaProductoSinGestion) El nombre del producto no es valido "),_nombre))),(Object)(subs.mostCurrent.__c.getField(true,"True")));}; + BA.debugLineNum = 1835;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal"; +Debug.ShouldStop(1024); +_preciosin = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _preciosin)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("precioSin", _preciosin); + BA.debugLineNum = 1836;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)"; +Debug.ShouldStop(2048); +_costou = subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _costou)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("costoU", _costou); + BA.debugLineNum = 1838;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(8192); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1841;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (P"; +Debug.ShouldStop(65536); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_RUTA, PE_COSTO_SIN, PE_FOLIO,PE_FUTURO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(_cedis),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant),BA.numberCast(double.class, _costou)}, "*",0, 0))),(_costou),(_cant),(_nombre),(_prodid),(_clienteid),(_fecha),(_usuario),(_rutav),(_preciosin),(_tipoventa),(_futuro)}))))); + BA.debugLineNum = 1843;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuery2"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",_cedis,BA.ObjectToString("DUR"))) { +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_tipoventa)))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)})))));}; + BA.debugLineNum = 1844;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; +Debug.ShouldStop(524288); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 1845;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1048576); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1848;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido_cl"; +Debug.ShouldStop(8388608); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1849;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into pedido_cl"; +Debug.ShouldStop(16777216); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(_clienteid),(_fecha),(_usuario),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lon_gps" /*RemoteObject*/ )),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lat_gps" /*RemoteObject*/ )),(_cedis),(_rutav),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 1850;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaproductox(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costotot,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _tipov,RemoteObject _precio2,RemoteObject _query) throws Exception{ +try { + Debug.PushSubsStack("guardaProductoX (subs) ","subs",4,_ba,subs.mostCurrent,618); +if (RapidSub.canDelegate("guardaproductox")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaproductox", _ba, _cedis, _costotot, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _tipov, _precio2, _query);} +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoTot", _costotot); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("tipoV", _tipov); +Debug.locals.put("precio2", _precio2); +Debug.locals.put("query", _query); + BA.debugLineNum = 618;BA.debugLine="Sub guardaProductoX(cedis As String, costoTot As S"; +Debug.ShouldStop(512); + BA.debugLineNum = 624;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardavariable(RemoteObject _ba,RemoteObject _nombre,RemoteObject _valor) throws Exception{ +try { + Debug.PushSubsStack("guardaVariable (subs) ","subs",4,_ba,subs.mostCurrent,1890); +if (RapidSub.canDelegate("guardavariable")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardavariable", _ba, _nombre, _valor);} +; +Debug.locals.put("nombre", _nombre); +Debug.locals.put("valor", _valor); + BA.debugLineNum = 1890;BA.debugLine="Sub guardaVariable(nombre As String, valor As Stri"; +Debug.ShouldStop(2); + BA.debugLineNum = 1891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from"; +Debug.ShouldStop(4); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nombre))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +Debug.ShouldStop(8); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nombre))),RemoteObject.createImmutable("', '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_valor))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1893;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _haypedido(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("hayPedido (subs) ","subs",4,_ba,subs.mostCurrent,852); +if (RapidSub.canDelegate("haypedido")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","haypedido", _ba);} +RemoteObject _thisc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _hay = RemoteObject.createImmutable(false); +; + BA.debugLineNum = 852;BA.debugLine="Sub hayPedido As Boolean"; +Debug.ShouldStop(524288); + BA.debugLineNum = 853;BA.debugLine="Private thisC As Cursor=B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(1048576); +_thisc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_thisc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(PE_CLIENTE) as hayPedido from PEDIDO where PE_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))))));Debug.locals.put("thisC", _thisc);Debug.locals.put("thisC", _thisc); + BA.debugLineNum = 854;BA.debugLine="thisC.Position=0"; +Debug.ShouldStop(2097152); +_thisc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 855;BA.debugLine="Private hay As Boolean = False"; +Debug.ShouldStop(4194304); +_hay = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("hay", _hay);Debug.locals.put("hay", _hay); + BA.debugLineNum = 856;BA.debugLine="If thisC.GetInt(\"hayPedido\") > 0 Then hay = True"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_thisc.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("hayPedido"))),BA.numberCast(double.class, 0))) { +_hay = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("hay", _hay);}; + BA.debugLineNum = 858;BA.debugLine="Return hay"; +Debug.ShouldStop(33554432); +if (true) return _hay; + BA.debugLineNum = 859;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _importabddesdewhatsapp(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("importaBDDesdeWhatsApp (subs) ","subs",4,_ba,subs.mostCurrent,1708); +if (RapidSub.canDelegate("importabddesdewhatsapp")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","importabddesdewhatsapp", _ba);} +RemoteObject _xmldata = RemoteObject.createImmutable(""); +RemoteObject _outstr = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _instr = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +RemoteObject _a = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1708;BA.debugLine="Sub importaBDDesdeWhatsApp"; +Debug.ShouldStop(2048); + BA.debugLineNum = 1710;BA.debugLine="Log(\"Revisamos intent de importar desde whatsapp\""; +Debug.ShouldStop(8192); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048562178",RemoteObject.createImmutable("Revisamos intent de importar desde whatsapp"),0); + BA.debugLineNum = 1711;BA.debugLine="Log(B4XPages.MainPage.intentUsado)"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048562179",BA.ObjectToString(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_intentusado" /*RemoteObject*/ )),0); + BA.debugLineNum = 1712;BA.debugLine="Log(in)"; +Debug.ShouldStop(32768); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048562180",BA.ObjectToString(subs._in),0); + BA.debugLineNum = 1713;BA.debugLine="If Not(in.IsInitialized) Then in = B4XPages.GetNa"; +Debug.ShouldStop(65536); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._in.runMethod(true,"IsInitialized"))).get().booleanValue()) { +subs._in = subs.mostCurrent._b4xpages.runMethod(false,"_getnativeparent" /*RemoteObject*/ ,_ba,(Object)((subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba)))).runMethod(false,"GetStartingIntent");}; + BA.debugLineNum = 1714;BA.debugLine="If Not(B4XPages.MainPage.intentUsado) And in <> N"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(".",subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_intentusado" /*RemoteObject*/ )))) && RemoteObject.solveBoolean("N",subs._in)) { + BA.debugLineNum = 1716;BA.debugLine="LogColor(\"Importamos base de datos desde Whatsap"; +Debug.ShouldStop(524288); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048562184",BA.ObjectToString("Importamos base de datos desde Whatsapp."),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1717;BA.debugLine="B4XPages.MainPage.intentUsado = True"; +Debug.ShouldStop(1048576); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).setField ("_intentusado" /*RemoteObject*/ ,subs.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 1719;BA.debugLine="If in.GetData <> Null Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("N",subs._in.runMethod(true,"GetData"))) { + BA.debugLineNum = 1720;BA.debugLine="Dim XmlData As String"; +Debug.ShouldStop(8388608); +_xmldata = RemoteObject.createImmutable("");Debug.locals.put("XmlData", _xmldata); + BA.debugLineNum = 1721;BA.debugLine="XmlData = in.GetData"; +Debug.ShouldStop(16777216); +_xmldata = subs._in.runMethod(true,"GetData");Debug.locals.put("XmlData", _xmldata); + BA.debugLineNum = 1722;BA.debugLine="Try"; +Debug.ShouldStop(33554432); +try { BA.debugLineNum = 1723;BA.debugLine="Dim OutStr As OutputStream = File.OpenOutput(F"; +Debug.ShouldStop(67108864); +_outstr = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_outstr = subs.mostCurrent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("OutStr", _outstr);Debug.locals.put("OutStr", _outstr); + BA.debugLineNum = 1724;BA.debugLine="Dim InStr As InputStream = File.OpenInput(\"Con"; +Debug.ShouldStop(134217728); +_instr = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +_instr = subs.mostCurrent.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(BA.ObjectToString("ContentDir")),(Object)(_xmldata));Debug.locals.put("InStr", _instr);Debug.locals.put("InStr", _instr); + BA.debugLineNum = 1725;BA.debugLine="File.Copy2(InStr,OutStr)"; +Debug.ShouldStop(268435456); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_instr.getObject())),(Object)((_outstr.getObject()))); + BA.debugLineNum = 1726;BA.debugLine="LogColor(\"BD copiada a interna.\", Colors.Blue)"; +Debug.ShouldStop(536870912); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048562194",BA.ObjectToString("BD copiada a interna."),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1727;BA.debugLine="OutStr.Close"; +Debug.ShouldStop(1073741824); +_outstr.runVoidMethod ("Close"); + BA.debugLineNum = 1728;BA.debugLine="If in.As(String).Contains(\"whatsapp\") Then Toa"; +Debug.ShouldStop(-2147483648); +if ((BA.ObjectToString(subs._in)).runMethod(true,"contains",(Object)(RemoteObject.createImmutable("whatsapp"))).get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("BD cargada desde Whatsapp")),(Object)(subs.mostCurrent.__c.getField(true,"False")));}; + Debug.CheckDeviceExceptions(); +} + catch (Exception e19) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e19.toString()); BA.debugLineNum = 1730;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(2); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048562198",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + BA.debugLineNum = 1735;BA.debugLine="Private a As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(64); +_a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'APP_NAME'")))));Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 1736;BA.debugLine="If a.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_a.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1737;BA.debugLine="a.Position = 0"; +Debug.ShouldStop(256); +_a.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1738;BA.debugLine="ToastMessageShow($\"BD de \"${a.GetString(\"CAT_V"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("BD de \""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_a.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))))),RemoteObject.createImmutable("\" cargada."))))),(Object)(subs.mostCurrent.__c.getField(true,"True"))); + }; + BA.debugLineNum = 1740;BA.debugLine="a = Starter.skmt.ExecQuery($\"select * from usua"; +Debug.ShouldStop(2048); +_a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select * from usuarioa")))));Debug.locals.put("a", _a); + BA.debugLineNum = 1741;BA.debugLine="If a.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_a.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1742;BA.debugLine="a.Position = 0"; +Debug.ShouldStop(8192); +_a.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1743;BA.debugLine="B4XPages.MainPage.user.Text = a.GetString(\"USU"; +Debug.ShouldStop(16384); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_a.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))))); + BA.debugLineNum = 1744;BA.debugLine="B4XPages.MainPage.pass.Text = a.GetString(\"PAS"; +Debug.ShouldStop(32768); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_pass" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_a.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PASS"))))); + }; + }; + }; + BA.debugLineNum = 1748;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _iniciaactividad(RemoteObject _ba,RemoteObject _ia) throws Exception{ +try { + Debug.PushSubsStack("iniciaActividad (subs) ","subs",4,_ba,subs.mostCurrent,1516); +if (RapidSub.canDelegate("iniciaactividad")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","iniciaactividad", _ba, _ia);} +; +Debug.locals.put("ia", _ia); + BA.debugLineNum = 1516;BA.debugLine="Sub iniciaActividad(ia As String)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 1517;BA.debugLine="If ia <> \"\" And ia <> Null Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",_ia,BA.ObjectToString("")) && RemoteObject.solveBoolean("N",_ia)) { + BA.debugLineNum = 1519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro"; +Debug.ShouldStop(16384); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("ULTIMOMODULO"))}))))); + BA.debugLineNum = 1520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(32768); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("ULTIMOMODULO")),(_ia)}))))); + BA.debugLineNum = 1521;BA.debugLine="B4XPages.ShowPage(ia)"; +Debug.ShouldStop(65536); +subs.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,_ba,(Object)(_ia)); + }; + BA.debugLineNum = 1524;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _insertarenglonespruebaenerrorlog(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("insertaRenglonesPruebaEnErrorLog (subs) ","subs",4,_ba,subs.mostCurrent,458); +if (RapidSub.canDelegate("insertarenglonespruebaenerrorlog")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","insertarenglonespruebaenerrorlog", _ba);} +int _x = 0; +; + BA.debugLineNum = 458;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; +Debug.ShouldStop(512); + BA.debugLineNum = 459;BA.debugLine="revisaBD"; +Debug.ShouldStop(1024); +_revisabd(_ba); + BA.debugLineNum = 460;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044957698",RemoteObject.createImmutable("insertamos 50 renglones a errorLog"),0); + BA.debugLineNum = 461;BA.debugLine="For x = 1 To 50"; +Debug.ShouldStop(4096); +{ +final int step3 = 1; +final int limit3 = 50; +_x = 1 ; +for (;(step3 > 0 && _x <= limit3) || (step3 < 0 && _x >= limit3) ;_x = ((int)(0 + _x + step3)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 462;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech"; +Debug.ShouldStop(8192); +subs._errorlog.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO errores(fecha, error) VALUES (?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_fechakmt(_ba,BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")))),(RemoteObject.createImmutable("abc"))}))))); + BA.debugLineNum = 463;BA.debugLine="Log(x)"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044957701",BA.NumberToString(_x),0); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 465;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _installapk(RemoteObject _ba,RemoteObject _dir,RemoteObject _apk) throws Exception{ +try { + Debug.PushSubsStack("InstallAPK (subs) ","subs",4,_ba,subs.mostCurrent,520); +if (RapidSub.canDelegate("installapk")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","installapk", _ba, _dir, _apk);} +RemoteObject _i = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +; +Debug.locals.put("dir", _dir); +Debug.locals.put("apk", _apk); + BA.debugLineNum = 520;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +Debug.ShouldStop(128); + BA.debugLineNum = 521;BA.debugLine="If File.Exists(dir, apk) Then"; +Debug.ShouldStop(256); +if (subs.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(_dir),(Object)(_apk)).get().booleanValue()) { + BA.debugLineNum = 522;BA.debugLine="Dim i As Intent"; +Debug.ShouldStop(512); +_i = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("i", _i); + BA.debugLineNum = 523;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +Debug.ShouldStop(1024); +_i.runVoidMethod ("Initialize",(Object)(_i.getField(true,"ACTION_VIEW")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("file://"),subs.mostCurrent.__c.getField(false,"File").runMethod(true,"Combine",(Object)(_dir),(Object)(_apk))))); + BA.debugLineNum = 524;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +Debug.ShouldStop(2048); +_i.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + BA.debugLineNum = 525;BA.debugLine="StartActivity(i)"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("StartActivity",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((_i.getObject()))); + }; + BA.debugLineNum = 527;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _invsuficientepromoesp(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("InvSuficientePromoEsp (subs) ","subs",4,_ba,subs.mostCurrent,1374); +if (RapidSub.canDelegate("invsuficientepromoesp")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","invsuficientepromoesp", _ba);} +RemoteObject _y = RemoteObject.createImmutable(false); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; + BA.debugLineNum = 1374;BA.debugLine="Sub InvSuficientePromoEsp As Boolean"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1375;BA.debugLine="Private y As Boolean = False"; +Debug.ShouldStop(1073741824); +_y = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 1376;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(-2147483648); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS, ifnull(CAT_GP_ALMACEN, 0) As CAT_GP_ALMACEN from CAT_DETALLES_PAQ left JOIN "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_traetipoventadebd(_ba))))),RemoteObject.createImmutable(" ON CAT_DP_IDPROD = CAT_GP_ID WHERE CAT_DP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1377;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1378;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(2); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1379;BA.debugLine="c.Position = i"; +Debug.ShouldStop(4); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1380;BA.debugLine="If c.GetString(\"CAT_GP_ALMACEN\") >= c.GetString"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")))),BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))))) { + BA.debugLineNum = 1381;BA.debugLine="y = True"; +Debug.ShouldStop(16); +_y = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("y", _y); + }else { + BA.debugLineNum = 1385;BA.debugLine="y = False"; +Debug.ShouldStop(256); +_y = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("y", _y); + BA.debugLineNum = 1388;BA.debugLine="Exit"; +Debug.ShouldStop(2048); +if (true) break; + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1392;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1393;BA.debugLine="Return y"; +Debug.ShouldStop(65536); +if (true) return _y; + BA.debugLineNum = 1394;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _json2map(RemoteObject _ba,RemoteObject _thejson) throws Exception{ +try { + Debug.PushSubsStack("JSON2Map (subs) ","subs",4,_ba,subs.mostCurrent,233); +if (RapidSub.canDelegate("json2map")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","json2map", _ba, _thejson);} +RemoteObject _json = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; +Debug.locals.put("theJson", _thejson); + BA.debugLineNum = 233;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; +Debug.ShouldStop(256); + BA.debugLineNum = 235;BA.debugLine="Try"; +Debug.ShouldStop(1024); +try { BA.debugLineNum = 236;BA.debugLine="Private json As JSONParser"; +Debug.ShouldStop(2048); +_json = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser");Debug.locals.put("json", _json); + BA.debugLineNum = 237;BA.debugLine="json.Initialize(theJson)"; +Debug.ShouldStop(4096); +_json.runVoidMethod ("Initialize",(Object)(_thejson)); + BA.debugLineNum = 238;BA.debugLine="Return json.NextObject"; +Debug.ShouldStop(8192); +Debug.CheckDeviceExceptions();if (true) return _json.runMethod(false,"NextObject"); + Debug.CheckDeviceExceptions(); +} + catch (Exception e6) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e6.toString()); BA.debugLineNum = 240;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(32768); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044236807",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + BA.debugLineNum = 241;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; +Debug.ShouldStop(65536); +_log2db(_ba,RemoteObject.concat(RemoteObject.createImmutable("JSON2Map: "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba))); + BA.debugLineNum = 242;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; +Debug.ShouldStop(131072); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("title")),RemoteObject.createImmutable(("Error generating JSON")),RemoteObject.createImmutable(("t")),RemoteObject.createImmutable(("Error")),RemoteObject.createImmutable(("Message")),(subs.mostCurrent.__c.runMethod(false,"LastException",_ba).getObject()),RemoteObject.createImmutable(("text")),(subs.mostCurrent.__c.runMethod(false,"LastException",_ba).getObject())}));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 243;BA.debugLine="Return m"; +Debug.ShouldStop(262144); +if (true) return _m; + }; + BA.debugLineNum = 245;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _log2db(RemoteObject _ba,RemoteObject _texto) throws Exception{ +try { + Debug.PushSubsStack("log2DB (subs) ","subs",4,_ba,subs.mostCurrent,287); +if (RapidSub.canDelegate("log2db")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","log2db", _ba, _texto);} +; +Debug.locals.put("texto", _texto); + BA.debugLineNum = 287;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 288;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044433409",RemoteObject.concat(_fechakmt(_ba,BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable(" - log2BD: '"),_texto,RemoteObject.createImmutable("'")),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"LightGray")); + BA.debugLineNum = 289;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; +Debug.ShouldStop(1); +subs._kmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO bitacora(fecha, texto) VALUES (?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_fechakmt(_ba,BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")))),(_texto)}))))); + BA.debugLineNum = 290;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _logjobdoneresultados(RemoteObject _ba,RemoteObject _resultado) throws Exception{ +try { + Debug.PushSubsStack("logJobDoneResultados (subs) ","subs",4,_ba,subs.mostCurrent,2488); +if (RapidSub.canDelegate("logjobdoneresultados")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","logjobdoneresultados", _ba, _resultado);} +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +; +Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 2488;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 2489;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(16777216); +{ +final RemoteObject group1 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_records = (group1.runMethod(false,"Get",index1));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2490;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","050200578",(RemoteObject.concat(RemoteObject.createImmutable("====== "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_resultado.getField(false,"Tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(" - REGISTROS = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_resultado.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 215)),(Object)(BA.numberCast(int.class, 37)),(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 2491;BA.debugLine="For Each k As String In resultado.Columns.Keys"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group3 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen3 = group3.runMethod(true,"getSize").get() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_k = BA.ObjectToString(group3.runMethod(false,"Get",index3));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 2492;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","050200580",RemoteObject.concat(_k,RemoteObject.createImmutable(" = "),_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),subs.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 215)),(Object)(BA.numberCast(int.class, 37)),(Object)(BA.numberCast(int.class, 0)))); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2495;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _map2json(RemoteObject _ba,RemoteObject _m) throws Exception{ +try { + Debug.PushSubsStack("map2JSON (subs) ","subs",4,_ba,subs.mostCurrent,248); +if (RapidSub.canDelegate("map2json")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","map2json", _ba, _m);} +RemoteObject _jg = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator"); +RemoteObject _t = RemoteObject.createImmutable(""); +; +Debug.locals.put("m", _m); + BA.debugLineNum = 248;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 251;BA.debugLine="Dim jg As JSONGenerator"; +Debug.ShouldStop(67108864); +_jg = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator");Debug.locals.put("jg", _jg); + BA.debugLineNum = 252;BA.debugLine="jg.Initialize(m)"; +Debug.ShouldStop(134217728); +_jg.runVoidMethod ("Initialize",(Object)(_m)); + BA.debugLineNum = 253;BA.debugLine="Dim t As String = jg.ToString"; +Debug.ShouldStop(268435456); +_t = _jg.runMethod(true,"ToString");Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 254;BA.debugLine="Return t"; +Debug.ShouldStop(536870912); +if (true) return _t; + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _masdexxmins(RemoteObject _ba,RemoteObject _hora,RemoteObject _mins) throws Exception{ +try { + Debug.PushSubsStack("masDeXXMins (subs) ","subs",4,_ba,subs.mostCurrent,293); +if (RapidSub.canDelegate("masdexxmins")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","masdexxmins", _ba, _hora, _mins);} +; +Debug.locals.put("hora", _hora); +Debug.locals.put("mins", _mins); + BA.debugLineNum = 293;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +Debug.ShouldStop(16); + BA.debugLineNum = 294;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("<",(RemoteObject.solve(new RemoteObject[] {_hora,_mins,subs.mostCurrent.__c.getField(false,"DateTime").getField(true,"TicksPerMinute")}, "+*",1, 2)),subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))) { + BA.debugLineNum = 295;BA.debugLine="Return True"; +Debug.ShouldStop(64); +if (true) return subs.mostCurrent.__c.getField(true,"True"); + }else { + BA.debugLineNum = 297;BA.debugLine="Return False"; +Debug.ShouldStop(256); +if (true) return subs.mostCurrent.__c.getField(true,"False"); + }; + BA.debugLineNum = 299;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _masdexxminskmt(RemoteObject _ba,RemoteObject _hora,RemoteObject _mins) throws Exception{ +try { + Debug.PushSubsStack("masDeXXMinsKMT (subs) ","subs",4,_ba,subs.mostCurrent,302); +if (RapidSub.canDelegate("masdexxminskmt")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","masdexxminskmt", _ba, _hora, _mins);} +; +Debug.locals.put("hora", _hora); +Debug.locals.put("mins", _mins); + BA.debugLineNum = 302;BA.debugLine="Sub masDeXXMinsKMT(hora As String, mins As Int) As"; +Debug.ShouldStop(8192); + BA.debugLineNum = 303;BA.debugLine="Try"; +Debug.ShouldStop(16384); +try { BA.debugLineNum = 305;BA.debugLine="If fechaKMT2Ticks(hora) + mins * DateTime.TicksP"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_fechakmt2ticks(_ba,_hora),_mins,subs.mostCurrent.__c.getField(false,"DateTime").getField(true,"TicksPerMinute")}, "+*",1, 2),subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))) { + BA.debugLineNum = 307;BA.debugLine="Return True"; +Debug.ShouldStop(262144); +Debug.CheckDeviceExceptions();if (true) return subs.mostCurrent.__c.getField(true,"True"); + }else { + BA.debugLineNum = 310;BA.debugLine="Return False"; +Debug.ShouldStop(2097152); +Debug.CheckDeviceExceptions();if (true) return subs.mostCurrent.__c.getField(true,"False"); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e8) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e8.toString()); BA.debugLineNum = 313;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044564491",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + BA.debugLineNum = 315;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _notihigh(RemoteObject _ba,RemoteObject _title,RemoteObject _body,RemoteObject _activity) throws Exception{ +try { + Debug.PushSubsStack("notiHigh (subs) ","subs",4,_ba,subs.mostCurrent,92); +if (RapidSub.canDelegate("notihigh")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","notihigh", _ba, _title, _body, _activity);} +RemoteObject _notif = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +; +Debug.locals.put("title", _title); +Debug.locals.put("body", _body); +Debug.locals.put("activity", _activity); + BA.debugLineNum = 92;BA.debugLine="Sub notiHigh(title As String, body As String, acti"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 93;BA.debugLine="Private notif As Notification"; +Debug.ShouldStop(268435456); +_notif = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notif", _notif); + BA.debugLineNum = 94;BA.debugLine="notif.Initialize2(notif.IMPORTANCE_HIGH)"; +Debug.ShouldStop(536870912); +_notif.runVoidMethod ("Initialize2",(Object)(_notif.getField(true,"IMPORTANCE_HIGH"))); + BA.debugLineNum = 95;BA.debugLine="notif.Icon = \"icon\""; +Debug.ShouldStop(1073741824); +_notif.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 96;BA.debugLine="notif.Vibrate = False"; +Debug.ShouldStop(-2147483648); +_notif.runVoidMethod ("setVibrate",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 97;BA.debugLine="notif.Sound = False"; +Debug.ShouldStop(1); +_notif.runVoidMethod ("setSound",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 98;BA.debugLine="notif.AutoCancel = True"; +Debug.ShouldStop(2); +_notif.runVoidMethod ("setAutoCancel",subs.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 99;BA.debugLine="Log(\"notiHigh: \"&title)"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043515911",RemoteObject.concat(RemoteObject.createImmutable("notiHigh: "),_title),0); + BA.debugLineNum = 100;BA.debugLine="notif.SetInfo(title, body, activity)"; +Debug.ShouldStop(8); +_notif.runVoidMethod ("SetInfoNew",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_body)),(Object)(_activity)); + BA.debugLineNum = 102;BA.debugLine="notif.Notify(777)"; +Debug.ShouldStop(32); +_notif.runVoidMethod ("Notify",(Object)(BA.numberCast(int.class, 777))); + BA.debugLineNum = 103;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _notilowreturn(RemoteObject _ba,RemoteObject _title,RemoteObject _body,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("notiLowReturn (subs) ","subs",4,_ba,subs.mostCurrent,106); +if (RapidSub.canDelegate("notilowreturn")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","notilowreturn", _ba, _title, _body, _id);} +RemoteObject _notification = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +; +Debug.locals.put("title", _title); +Debug.locals.put("Body", _body); +Debug.locals.put("id", _id); + BA.debugLineNum = 106;BA.debugLine="Sub notiLowReturn(title As String, Body As String,"; +Debug.ShouldStop(512); + BA.debugLineNum = 107;BA.debugLine="Private notification As Notification"; +Debug.ShouldStop(1024); +_notification = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notification", _notification); + BA.debugLineNum = 108;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +Debug.ShouldStop(2048); +_notification.runVoidMethod ("Initialize2",(Object)(_notification.getField(true,"IMPORTANCE_LOW"))); + BA.debugLineNum = 109;BA.debugLine="Log(\"notiLowReturn: \"&title)"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","043581443",RemoteObject.concat(RemoteObject.createImmutable("notiLowReturn: "),_title),0); + BA.debugLineNum = 110;BA.debugLine="notification.Icon = \"icon\""; +Debug.ShouldStop(8192); +_notification.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 111;BA.debugLine="notification.Sound = False"; +Debug.ShouldStop(16384); +_notification.runVoidMethod ("setSound",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 112;BA.debugLine="notification.Vibrate = False"; +Debug.ShouldStop(32768); +_notification.runVoidMethod ("setVibrate",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 113;BA.debugLine="notification.SetInfo(title, Body, Main)"; +Debug.ShouldStop(65536); +_notification.runVoidMethod ("SetInfoNew",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_body)),(Object)((subs.mostCurrent._main.getObject()))); + BA.debugLineNum = 114;BA.debugLine="notification.Notify(id)"; +Debug.ShouldStop(131072); +_notification.runVoidMethod ("Notify",(Object)(_id)); + BA.debugLineNum = 116;BA.debugLine="Return notification"; +Debug.ShouldStop(524288); +if (true) return _notification; + BA.debugLineNum = 117;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _panelvisible(RemoteObject _ba,RemoteObject _panel,RemoteObject _top,RemoteObject _left) throws Exception{ +try { + Debug.PushSubsStack("panelVisible (subs) ","subs",4,_ba,subs.mostCurrent,564); +if (RapidSub.canDelegate("panelvisible")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","panelvisible", _ba, _panel, _top, _left);} +; +Debug.locals.put("panel", _panel); +Debug.locals.put("top", _top); +Debug.locals.put("left", _left); + BA.debugLineNum = 564;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +Debug.ShouldStop(524288); + BA.debugLineNum = 565;BA.debugLine="panel.BringToFront"; +Debug.ShouldStop(1048576); +_panel.runVoidMethod ("BringToFront"); + BA.debugLineNum = 566;BA.debugLine="panel.Visible = True"; +Debug.ShouldStop(2097152); +_panel.runMethod(true,"setVisible",subs.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 567;BA.debugLine="panel.Top = top"; +Debug.ShouldStop(4194304); +_panel.runMethod(true,"setTop",_top); + BA.debugLineNum = 568;BA.debugLine="panel.Left = left"; +Debug.ShouldStop(8388608); +_panel.runMethod(true,"setLeft",_left); + BA.debugLineNum = 569;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _parsehttperror(RemoteObject _ba,RemoteObject _error) throws Exception{ +try { + Debug.PushSubsStack("parseHTTPError (subs) ","subs",4,_ba,subs.mostCurrent,1695); +if (RapidSub.canDelegate("parsehttperror")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","parsehttperror", _ba, _error);} +RemoteObject _nuevoerror = RemoteObject.createImmutable(""); +RemoteObject _inicio = RemoteObject.createImmutable(0); +RemoteObject _final = RemoteObject.createImmutable(0); +; +Debug.locals.put("error", _error); + BA.debugLineNum = 1695;BA.debugLine="Sub parseHTTPError(error As String) As String"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 1696;BA.debugLine="Private nuevoError As String = error"; +Debug.ShouldStop(-2147483648); +_nuevoerror = _error;Debug.locals.put("nuevoError", _nuevoerror);Debug.locals.put("nuevoError", _nuevoerror); + BA.debugLineNum = 1697;BA.debugLine="Private inicio As Int = error.IndexOf(\"\")"; +Debug.ShouldStop(1); +_inicio = _error.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("<title>")));Debug.locals.put("inicio", _inicio);Debug.locals.put("inicio", _inicio); + BA.debugLineNum = 1698;BA.debugLine="Private final As Int = error.IndexOf(\"\")"; +Debug.ShouldStop(2); +_final = _error.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("final", _final);Debug.locals.put("final", _final); + BA.debugLineNum = 1699;BA.debugLine="Log(\"|\" & inicio & \"|\" & final & \"|\")"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048496644",RemoteObject.concat(RemoteObject.createImmutable("|"),_inicio,RemoteObject.createImmutable("|"),_final,RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 1700;BA.debugLine="If inicio > 0 And final > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_inicio,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",_final,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1701;BA.debugLine="nuevoError = error.SubString2(inicio + 17, final"; +Debug.ShouldStop(16); +_nuevoerror = _error.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_inicio,RemoteObject.createImmutable(17)}, "+",1, 1)),(Object)(_final));Debug.locals.put("nuevoError", _nuevoerror); + }; + BA.debugLineNum = 1704;BA.debugLine="Return nuevoError"; +Debug.ShouldStop(128); +if (true) return _nuevoerror; + BA.debugLineNum = 1705;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pedidoguardado(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("pedidoGuardado (subs) ","subs",4,_ba,subs.mostCurrent,708); +if (RapidSub.canDelegate("pedidoguardado")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","pedidoguardado", _ba);} +RemoteObject _guardado = RemoteObject.createImmutable(false); +RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 708;BA.debugLine="Sub pedidoGuardado As Boolean"; +Debug.ShouldStop(8); + BA.debugLineNum = 709;BA.debugLine="Private guardado As Boolean = False"; +Debug.ShouldStop(16); +_guardado = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("guardado", _guardado);Debug.locals.put("guardado", _guardado); + BA.debugLineNum = 710;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(32); +_g = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_g = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select gestion from kmt_info3 where CAT_CL_CODIGO in (Select CUENTA from cuentaa)"))));Debug.locals.put("g", _g);Debug.locals.put("g", _g); + BA.debugLineNum = 711;BA.debugLine="If g.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_g.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 712;BA.debugLine="g.Position=0"; +Debug.ShouldStop(128); +_g.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 713;BA.debugLine="If g.GetString(\"gestion\") = \"2\" Or g.GetString(\""; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_g.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.ObjectToString("2")) || RemoteObject.solveBoolean("=",_g.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.ObjectToString("3"))) { +_guardado = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("guardado", _guardado);}; + }; + BA.debugLineNum = 716;BA.debugLine="Return guardado"; +Debug.ShouldStop(2048); +if (true) return _guardado; + BA.debugLineNum = 717;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _procesapromocion(RemoteObject _ba,RemoteObject _idpromo,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("procesaPromocion (subs) ","subs",4,_ba,subs.mostCurrent,1074); +if (RapidSub.canDelegate("procesapromocion")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","procesapromocion", _ba, _idpromo, _cliente);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _iniciocontador = RemoteObject.createImmutable(""); +RemoteObject _pm = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _inventariosinfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _pv = RemoteObject.createImmutable(false); +; +Debug.locals.put("idPromo", _idpromo); +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1074;BA.debugLine="Sub procesaPromocion(idPromo As String, cliente As"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1075;BA.debugLine="Private thisLog As Boolean = True 'Si es verdade"; +Debug.ShouldStop(262144); +_thislog = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1076;BA.debugLine="Private inicioContador As String = DateTime.Now"; +Debug.ShouldStop(524288); +_iniciocontador = BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicioContador", _iniciocontador);Debug.locals.put("inicioContador", _iniciocontador); + BA.debugLineNum = 1077;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re"; +Debug.ShouldStop(1048576); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120387",(RemoteObject.concat(RemoteObject.createImmutable("********* Iniciamos revision de Promo "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idpromo))),RemoteObject.createImmutable(" *********"))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta"));}; + BA.debugLineNum = 1079;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)"; +Debug.ShouldStop(4194304); +_pm = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_pm = _traepromo(_ba,_idpromo,_cliente);Debug.locals.put("pm", _pm);Debug.locals.put("pm", _pm); + BA.debugLineNum = 1080;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)"; +Debug.ShouldStop(8388608); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120390",BA.ObjectToString(_pm),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1081;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("resultado")))),RemoteObject.createImmutable(("ok")))) { + BA.debugLineNum = 1083;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida"; +Debug.ShouldStop(67108864); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120393",(RemoteObject.concat(RemoteObject.createImmutable("Promociones permitidas="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traemaxpromos(_ba,_pm)))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1084;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr"; +Debug.ShouldStop(134217728); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120394",RemoteObject.concat(RemoteObject.createImmutable("Promos vendidas: "),_traepromosvendidas(_ba,_idpromo,_cliente)),0);}; + BA.debugLineNum = 1085;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("g",_traepromosvendidas(_ba,_idpromo,_cliente),BA.numberCast(double.class, _traemaxpromos(_ba,_pm)))) { + BA.debugLineNum = 1086;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p"; +Debug.ShouldStop(536870912); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120396",BA.ObjectToString("Ya se vendieron las promos PERMITIDAS para el cliente"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 1087;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; +Debug.ShouldStop(1073741824); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("status")),RemoteObject.createImmutable(("ko")),RemoteObject.createImmutable(("mp")),(_pm.getObject())})); + }; + BA.debugLineNum = 1090;BA.debugLine="Private inventarioSinFijos As Map = restaFijosPr"; +Debug.ShouldStop(2); +_inventariosinfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_inventariosinfijos = _restafijospromo(_ba,_pm);Debug.locals.put("inventarioSinFijos", _inventariosinfijos);Debug.locals.put("inventarioSinFijos", _inventariosinfijos); + BA.debugLineNum = 1091;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv"; +Debug.ShouldStop(4); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120401",RemoteObject.concat(RemoteObject.createImmutable("inventariosfijos="),_inventariosinfijos),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + BA.debugLineNum = 1093;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_inventariosinfijos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("resultado")))),RemoteObject.createImmutable(("ok")))) { + BA.debugLineNum = 1095;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa"; +Debug.ShouldStop(64); +_pv = _alcanzanlosvariablesparapromo(_ba,_pm,_inventariosinfijos);Debug.locals.put("pv", _pv);Debug.locals.put("pv", _pv); + BA.debugLineNum = 1096;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --"; +Debug.ShouldStop(128); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120406",RemoteObject.concat(RemoteObject.createImmutable("Alcanzan los variables? --> "),_pv),0);}; + BA.debugLineNum = 1097;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\""; +Debug.ShouldStop(256); +if (_pv.get().booleanValue()) { +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("status")),RemoteObject.createImmutable(("ok")),RemoteObject.createImmutable(("mp")),(_pm.getObject())}));} +else { +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("status")),RemoteObject.createImmutable(("ko")),RemoteObject.createImmutable(("mp")),(_pm.getObject())}));}; + }else { + BA.debugLineNum = 1099;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF"; +Debug.ShouldStop(1024); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120409",RemoteObject.concat(RemoteObject.createImmutable("NO HAY INVENTARIO SUFICIENTE "),_idpromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 1100;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; +Debug.ShouldStop(2048); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("status")),RemoteObject.createImmutable(("ko")),RemoteObject.createImmutable(("mp")),(_pm.getObject())})); + }; + }; + BA.debugLineNum = 1106;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat"; +Debug.ShouldStop(131072); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047120416",RemoteObject.concat(RemoteObject.createImmutable("TIEMPO DE PROCESO ESTA PROMO: "),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"),BA.numberCast(double.class, _iniciocontador)}, "-",1, 0)),RemoteObject.createImmutable(1000)}, "/",0, 0))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1107;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 3;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Public GZip As GZipStrings 'Usa la libreria Com"; +subs._gzip = RemoteObject.createNew ("de.donmanfred.GZipStringswrapper"); + //BA.debugLineNum = 7;BA.debugLine="Private su As StringUtils 'Usa la libreria Stri"; +subs._su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils"); + //BA.debugLineNum = 8;BA.debugLine="Dim phn As Phone"; +subs._phn = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone"); + //BA.debugLineNum = 9;BA.debugLine="Dim devModel As String"; +subs._devmodel = RemoteObject.createImmutable(""); + //BA.debugLineNum = 10;BA.debugLine="Dim kmt, errorLog As SQL 'Requiere la libreria \"S"; +subs._kmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); +subs._errorlog = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 12;BA.debugLine="Dim ssid As String 'ignore"; +subs._ssid = RemoteObject.createImmutable(""); + //BA.debugLineNum = 13;BA.debugLine="Dim rutaMaxPoints As Int = 3000"; +subs._rutamaxpoints = BA.numberCast(int.class, 3000); + //BA.debugLineNum = 14;BA.debugLine="Dim rutaHrsAtras As Int = 48"; +subs._rutahrsatras = BA.numberCast(int.class, 48); + //BA.debugLineNum = 16;BA.debugLine="Private subsLogs As Boolean = False"; +subs._subslogs = subs.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 17;BA.debugLine="Dim skmt As SQL"; +subs._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 18;BA.debugLine="Dim in As Intent"; +subs._in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper"); + //BA.debugLineNum = 19;BA.debugLine="Dim intentUsado As Boolean = False"; +subs._intentusado = subs.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 20;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _restafijospromo(RemoteObject _ba,RemoteObject _promomap) throws Exception{ +try { + Debug.PushSubsStack("restaFijosPromo (subs) ","subs",4,_ba,subs.mostCurrent,973); +if (RapidSub.canDelegate("restafijospromo")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","restafijospromo", _ba, _promomap);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _inventariosdisponiblesparaestapromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _p = 0; +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _p2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; +Debug.locals.put("promoMap", _promomap); + BA.debugLineNum = 973;BA.debugLine="Sub restaFijosPromo(promoMap As Map) As Map 'ignor"; +Debug.ShouldStop(4096); + BA.debugLineNum = 974;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; +Debug.ShouldStop(8192); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 975;BA.debugLine="Private inventariosDisponiblesParaEstaPromo As Ma"; +Debug.ShouldStop(16384); +_inventariosdisponiblesparaestapromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_inventariosdisponiblesparaestapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))));Debug.locals.put("inventariosDisponiblesParaEstaPromo", _inventariosdisponiblesparaestapromo);Debug.locals.put("inventariosDisponiblesParaEstaPromo", _inventariosdisponiblesparaestapromo); + BA.debugLineNum = 976;BA.debugLine="If thisLog Then LogColor(inventariosDisponiblesPa"; +Debug.ShouldStop(32768); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046923779",BA.ObjectToString(_inventariosdisponiblesparaestapromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 977;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante"; +Debug.ShouldStop(65536); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046923780",RemoteObject.concat(RemoteObject.createImmutable("Inventario inicial antes de FIJOS: "),_inventariosdisponiblesparaestapromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Gray"));}; + BA.debugLineNum = 978;BA.debugLine="Private i As Int"; +Debug.ShouldStop(131072); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 979;BA.debugLine="Private prodsmap As Map = promoMap.Get(\"productos"; +Debug.ShouldStop(262144); +_prodsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))));Debug.locals.put("prodsmap", _prodsmap);Debug.locals.put("prodsmap", _prodsmap); + BA.debugLineNum = 980;BA.debugLine="Private prodsFijos As List = promoMap.get(\"prodsF"; +Debug.ShouldStop(524288); +_prodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("prodsFijos", _prodsfijos);Debug.locals.put("prodsFijos", _prodsfijos); + BA.debugLineNum = 981;BA.debugLine="For p = 0 To prodsFijos.Size - 1"; +Debug.ShouldStop(1048576); +{ +final int step8 = 1; +final int limit8 = RemoteObject.solve(new RemoteObject[] {_prodsfijos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step8 > 0 && _p <= limit8) || (step8 < 0 && _p >= limit8) ;_p = ((int)(0 + _p + step8)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 982;BA.debugLine="Private t As String = prodsFijos.Get(p) 'Obtenem"; +Debug.ShouldStop(2097152); +_t = BA.ObjectToString(_prodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 983;BA.debugLine="Private p2 As Map = prodsmap.Get(t) 'Obtenemos u"; +Debug.ShouldStop(4194304); +_p2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_p2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _prodsmap.runMethod(false,"Get",(Object)((_t))));Debug.locals.put("p2", _p2);Debug.locals.put("p2", _p2); + BA.debugLineNum = 984;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id"; +Debug.ShouldStop(8388608); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046923787",(RemoteObject.concat(RemoteObject.createImmutable("T: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_t))),RemoteObject.createImmutable(", prod "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_p2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idProducto")))))),RemoteObject.createImmutable(", piezas: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_p2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("piezas")))))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 985;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE"; +Debug.ShouldStop(16777216); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046923788",RemoteObject.concat(RemoteObject.createImmutable("inventariosDisponiblesParaEstaPromo="),_inventariosdisponiblesparaestapromo),0);}; + BA.debugLineNum = 986;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK"; +Debug.ShouldStop(33554432); +if (_inventariosdisponiblesparaestapromo.runMethod(true,"ContainsKey",(Object)((_t))).get().booleanValue()) { + BA.debugLineNum = 987;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)"; +Debug.ShouldStop(67108864); +_i = BA.numberCast(int.class, _inventariosdisponiblesparaestapromo.runMethod(false,"Get",(Object)((_t))));Debug.locals.put("i", _i); + BA.debugLineNum = 988;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:"; +Debug.ShouldStop(134217728); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046923791",(RemoteObject.concat(RemoteObject.createImmutable("Nuevo inventario de "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_t))),RemoteObject.createImmutable(": "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_i))),RemoteObject.createImmutable("-"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))),RemoteObject.createImmutable(" = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {_i,BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))}, "-",1, 0)))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 989;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${"; +Debug.ShouldStop(268435456); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)((_t)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {_i,BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))}, "-",1, 0)))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 990;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +Debug.ShouldStop(536870912); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("ok")))); + }else { + BA.debugLineNum = 992;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +Debug.ShouldStop(-2147483648); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("No hay suficiente producto para la promocion.")))); + BA.debugLineNum = 993;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t"; +Debug.ShouldStop(1); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046923796",RemoteObject.concat(RemoteObject.createImmutable("Sin suficiente inventario fijo: "),_t),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 994;BA.debugLine="Exit"; +Debug.ShouldStop(2); +if (true) break; + }; + BA.debugLineNum = 996;BA.debugLine="If i - p2.Get(\"piezas\") < 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_i,BA.numberCast(double.class, _p2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("piezas")))))}, "-",1, 0),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 997;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +Debug.ShouldStop(16); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("No hay suficiente producto para la promocion.")))); + BA.debugLineNum = 998;BA.debugLine="Exit"; +Debug.ShouldStop(32); +if (true) break; + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1001;BA.debugLine="If prodsFijos.Size = 0 Then inventariosDisponible"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_prodsfijos.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("ok"))));}; + BA.debugLineNum = 1002;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues"; +Debug.ShouldStop(512); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046923805",RemoteObject.concat(RemoteObject.createImmutable("Inventario final depues de FIJOS: "),_inventariosdisponiblesparaestapromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1003;BA.debugLine="Return inventariosDisponiblesParaEstaPromo"; +Debug.ShouldStop(1024); +if (true) return _inventariosdisponiblesparaestapromo; + BA.debugLineNum = 1004;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisabd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaBD (subs) ","subs",4,_ba,subs.mostCurrent,202); +if (RapidSub.canDelegate("revisabd")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisabd", _ba);} +; + BA.debugLineNum = 202;BA.debugLine="Sub revisaBD 'ignore"; +Debug.ShouldStop(512); + BA.debugLineNum = 204;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then"; +Debug.ShouldStop(2048); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(subs.mostCurrent._starter._ruta /*RemoteObject*/ ),(Object)(RemoteObject.createImmutable("kmt.db"))))).get().booleanValue()) { +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(subs.mostCurrent._starter._ruta /*RemoteObject*/ ),(Object)(RemoteObject.createImmutable("kmt.db")));}; + BA.debugLineNum = 205;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta"; +Debug.ShouldStop(4096); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._kmt.runMethod(true,"IsInitialized"))).get().booleanValue()) { +subs._kmt.runVoidMethod ("Initialize",(Object)(subs.mostCurrent._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(subs.mostCurrent.__c.getField(true,"True")));}; + BA.debugLineNum = 206;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; +Debug.ShouldStop(8192); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"))); + BA.debugLineNum = 208;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +Debug.ShouldStop(32768); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"))); + BA.debugLineNum = 210;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init"; +Debug.ShouldStop(131072); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._errorlog.runMethod(true,"IsInitialized"))).get().booleanValue()) { +subs._errorlog.runVoidMethod ("Initialize",(Object)(subs.mostCurrent._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("errorLog.db")),(Object)(subs.mostCurrent.__c.getField(true,"True")));}; + BA.debugLineNum = 211;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; +Debug.ShouldStop(262144); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"))); + BA.debugLineNum = 212;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisaflp(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaFLP (subs) ","subs",4,_ba,subs.mostCurrent,365); +if (RapidSub.canDelegate("revisaflp")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisaflp", _ba);} +RemoteObject _todobienflp = RemoteObject.createImmutable(false); +; + BA.debugLineNum = 365;BA.debugLine="Sub revisaFLP 'ignore"; +Debug.ShouldStop(4096); + BA.debugLineNum = 366;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; +Debug.ShouldStop(8192); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044761089",BA.ObjectToString("**** **** Revisamos FLP **** ****"),subs.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 78)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 227)))); + BA.debugLineNum = 367;BA.debugLine="Private todoBienFLP As Boolean = True"; +Debug.ShouldStop(16384); +_todobienflp = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("todoBienFLP", _todobienflp);Debug.locals.put("todoBienFLP", _todobienflp); + BA.debugLineNum = 368;BA.debugLine="Try"; +Debug.ShouldStop(32768); +try { BA.debugLineNum = 369;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; +Debug.ShouldStop(65536); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized"))).get().booleanValue()) { + BA.debugLineNum = 370;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Re"; +Debug.ShouldStop(131072); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: No esta inicializado ... 'Reinicializando FLP'")); + BA.debugLineNum = 371;BA.debugLine="Tracker.FLP.Initialize(\"flp\")"; +Debug.ShouldStop(262144); +subs.mostCurrent._tracker._flp /*RemoteObject*/ .runVoidMethod ("Initialize",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(RemoteObject.createImmutable("flp"))); + BA.debugLineNum = 372;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(524288); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e10) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e10.toString()); BA.debugLineNum = 375;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---"; +Debug.ShouldStop(4194304); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044761098",RemoteObject.concat(RemoteObject.createImmutable("If Not(Tracker.FLP.IsInitialized) --- "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 377;BA.debugLine="Try"; +Debug.ShouldStop(16777216); +try { BA.debugLineNum = 378;BA.debugLine="If Tracker.FLP.IsInitialized Then"; +Debug.ShouldStop(33554432); +if (subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 379;BA.debugLine="Try"; +Debug.ShouldStop(67108864); +try { BA.debugLineNum = 380;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then"; +Debug.ShouldStop(134217728); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsConnected"))).get().booleanValue()) { + BA.debugLineNum = 381;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Rec"; +Debug.ShouldStop(268435456); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: No esta conectado ... 'Reconectando FLP'")); + BA.debugLineNum = 383;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("CallSubDelayed",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((subs.mostCurrent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP"))); + BA.debugLineNum = 384;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(-2147483648); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e21.toString()); BA.debugLineNum = 387;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044761110",RemoteObject.concat(RemoteObject.createImmutable("If Not(Tracker.FLP.IsConnected) --> "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 389;BA.debugLine="Try"; +Debug.ShouldStop(16); +try { BA.debugLineNum = 390;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker."; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(".",subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsConnected")) && RemoteObject.solveBoolean(".",subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(">",subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"DistanceTo",(Object)((subs.mostCurrent._tracker._uugcoords /*RemoteObject*/ .getObject()))),BA.numberCast(double.class, 500))) { + BA.debugLineNum = 393;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando,"; +Debug.ShouldStop(256); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: 'No se esta actualizando, lo reiniciamos ...'")); + BA.debugLineNum = 394;BA.debugLine="StartService(Tracker)"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("StartService",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((subs.mostCurrent._tracker.getObject()))); + BA.debugLineNum = 395;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(1024); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e30) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e30.toString()); BA.debugLineNum = 398;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; +Debug.ShouldStop(8192); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044761121",RemoteObject.concat(RemoteObject.createImmutable("If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 401;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; +Debug.ShouldStop(65536); +if (_todobienflp.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044761124",BA.ObjectToString(" +++ +++ Sin errores en FLP"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + Debug.CheckDeviceExceptions(); +} + catch (Exception e35) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e35.toString()); BA.debugLineNum = 403;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044761126",RemoteObject.concat(RemoteObject.createImmutable("If Tracker.FLP.IsInitialized --> "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 406;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisaforzaractualizacion(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaForzarActualizacion (subs) ","subs",4,_ba,subs.mostCurrent,1666); +if (RapidSub.canDelegate("revisaforzaractualizacion")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisaforzaractualizacion", _ba);} +RemoteObject _ra = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _nuevaversion = RemoteObject.createImmutable(""); +RemoteObject _forzaractualizacion = RemoteObject.createImmutable(0); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; + BA.debugLineNum = 1666;BA.debugLine="Sub revisaForzarActualizacion As Map"; +Debug.ShouldStop(2); + BA.debugLineNum = 1667;BA.debugLine="Private ra As ResultSet = Starter.skmt.ExecQuery("; +Debug.ShouldStop(4); +_ra = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_ra = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'VERSION_NUEVA' or CAT_VA_DESCRIPCION = 'FORZAR_ACTUALIZACION'")))));Debug.locals.put("ra", _ra);Debug.locals.put("ra", _ra); + BA.debugLineNum = 1668;BA.debugLine="Private nuevaVersion As String = \"\""; +Debug.ShouldStop(8); +_nuevaversion = BA.ObjectToString("");Debug.locals.put("nuevaVersion", _nuevaversion);Debug.locals.put("nuevaVersion", _nuevaversion); + BA.debugLineNum = 1669;BA.debugLine="Private forzarActualizacion As Int = 2"; +Debug.ShouldStop(16); +_forzaractualizacion = BA.numberCast(int.class, 2);Debug.locals.put("forzarActualizacion", _forzaractualizacion);Debug.locals.put("forzarActualizacion", _forzaractualizacion); + BA.debugLineNum = 1670;BA.debugLine="Private m As Map"; +Debug.ShouldStop(32); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 1671;BA.debugLine="m.Initialize"; +Debug.ShouldStop(64); +_m.runVoidMethod ("Initialize"); + BA.debugLineNum = 1672;BA.debugLine="Do While ra.NextRow"; +Debug.ShouldStop(128); +while (_ra.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1673;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"VERSION"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_ra.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_DESCRIPCION"))),BA.ObjectToString("VERSION_NUEVA"))) { +_nuevaversion = _ra.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("nuevaVersion", _nuevaversion);}; + BA.debugLineNum = 1674;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"FORZAR_"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_ra.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_DESCRIPCION"))),BA.ObjectToString("FORZAR_ACTUALIZACION"))) { +_forzaractualizacion = _ra.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("forzarActualizacion", _forzaractualizacion);}; + } +; + BA.debugLineNum = 1678;BA.debugLine="If nuevaVersion <> Application.VersionName And fo"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",_nuevaversion,subs.mostCurrent.__c.getField(false,"Application").runMethod(true,"getVersionName")) && RemoteObject.solveBoolean("=",_forzaractualizacion,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1679;BA.debugLine="m.Put(\"forzar\", 1)"; +Debug.ShouldStop(16384); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("forzar"))),(Object)(RemoteObject.createImmutable((1)))); + BA.debugLineNum = 1680;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)"; +Debug.ShouldStop(32768); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("nuevaVersion"))),(Object)((_nuevaversion))); + }else +{ BA.debugLineNum = 1681;BA.debugLine="else if forzarActualizacion = 2 Then 'Si no exist"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_forzaractualizacion,BA.numberCast(double.class, 2))) { + BA.debugLineNum = 1682;BA.debugLine="m.Put(\"forzar\", 2)"; +Debug.ShouldStop(131072); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("forzar"))),(Object)(RemoteObject.createImmutable((2)))); + BA.debugLineNum = 1683;BA.debugLine="m.Put(\"nuevaVersion\", \"Recargar\")"; +Debug.ShouldStop(262144); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("nuevaVersion"))),(Object)((RemoteObject.createImmutable("Recargar")))); + }else { + BA.debugLineNum = 1685;BA.debugLine="m.Put(\"forzar\", 0)"; +Debug.ShouldStop(1048576); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("forzar"))),(Object)(RemoteObject.createImmutable((0)))); + BA.debugLineNum = 1686;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)"; +Debug.ShouldStop(2097152); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("nuevaVersion"))),(Object)((_nuevaversion))); + }} +; + BA.debugLineNum = 1688;BA.debugLine="If nuevaVersion = \"\" Or nuevaVersion = Null Or nu"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_nuevaversion,BA.ObjectToString("")) || RemoteObject.solveBoolean("n",_nuevaversion) || RemoteObject.solveBoolean("=",_nuevaversion,BA.ObjectToString("null"))) { + BA.debugLineNum = 1689;BA.debugLine="m.Put(\"forzar\", 0)"; +Debug.ShouldStop(16777216); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("forzar"))),(Object)(RemoteObject.createImmutable((0)))); + BA.debugLineNum = 1690;BA.debugLine="m.Put(\"nuevaVersion\", \"\")"; +Debug.ShouldStop(33554432); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("nuevaVersion"))),(Object)((RemoteObject.createImmutable("")))); + }; + BA.debugLineNum = 1692;BA.debugLine="Return m"; +Debug.ShouldStop(134217728); +if (true) return _m; + BA.debugLineNum = 1693;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisaimpreso(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaImpreso (subs) ","subs",4,_ba,subs.mostCurrent,1906); +if (RapidSub.canDelegate("revisaimpreso")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisaimpreso", _ba);} +RemoteObject _impreso = RemoteObject.createImmutable(false); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1906;BA.debugLine="Sub revisaImpreso As Boolean 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1907;BA.debugLine="Private impreso As Boolean = False"; +Debug.ShouldStop(262144); +_impreso = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("impreso", _impreso);Debug.locals.put("impreso", _impreso); + BA.debugLineNum = 1908;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +Debug.ShouldStop(524288); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select idCliente from ticket_impreso where idCliente in (select cuenta from cuentaa)"))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1909;BA.debugLine="If c.RowCount > 0 Then impreso = True"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_impreso = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("impreso", _impreso);}; + BA.debugLineNum = 1910;BA.debugLine="Return impreso"; +Debug.ShouldStop(2097152); +if (true) return _impreso; + BA.debugLineNum = 1911;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisamaxpromosprodsfijosporinventario(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("revisaMaxPromosProdsFijosPorInventario (subs) ","subs",4,_ba,subs.mostCurrent,1153); +if (RapidSub.canDelegate("revisamaxpromosprodsfijosporinventario")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisamaxpromosprodsfijosporinventario", _ba, _pm);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _invfijoxpromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _t = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _invdispparapromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _idprodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _p = 0; +RemoteObject _x = null; +; +Debug.locals.put("pm", _pm); + BA.debugLineNum = 1153;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario(pm As M"; +Debug.ShouldStop(1); + BA.debugLineNum = 1154;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(2); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1155;BA.debugLine="Private invFijoXpromo As Map"; +Debug.ShouldStop(4); +_invfijoxpromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("invFijoXpromo", _invfijoxpromo); + BA.debugLineNum = 1156;BA.debugLine="Private t As List"; +Debug.ShouldStop(8); +_t = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("t", _t); + BA.debugLineNum = 1157;BA.debugLine="t.Initialize"; +Debug.ShouldStop(16); +_t.runVoidMethod ("Initialize"); + BA.debugLineNum = 1158;BA.debugLine="t.Add(traeMaxPromos(pm)) ' Agregamos a la lista l"; +Debug.ShouldStop(32); +_t.runVoidMethod ("Add",(Object)((_traemaxpromos(_ba,_pm)))); + BA.debugLineNum = 1159;BA.debugLine="invFijoXpromo.Initialize"; +Debug.ShouldStop(64); +_invfijoxpromo.runVoidMethod ("Initialize"); + BA.debugLineNum = 1160;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; +Debug.ShouldStop(128); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251463",(RemoteObject.concat(RemoteObject.createImmutable("pm="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pm.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1161;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +Debug.ShouldStop(256); +_invdispparapromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))));Debug.locals.put("invDispParaPromo", _invdispparapromo);Debug.locals.put("invDispParaPromo", _invdispparapromo); + BA.debugLineNum = 1162;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +Debug.ShouldStop(512); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251465",(RemoteObject.concat(RemoteObject.createImmutable("invDispParaPromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invdispparapromo.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1163;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; +Debug.ShouldStop(1024); +_prodsfijospiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))));Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas);Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas); + BA.debugLineNum = 1164;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; +Debug.ShouldStop(2048); +_idprodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_idprodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("idProdsFijos", _idprodsfijos);Debug.locals.put("idProdsFijos", _idprodsfijos); + BA.debugLineNum = 1165;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos una"; +Debug.ShouldStop(4096); +{ +final int step12 = 1; +final int limit12 = RemoteObject.solve(new RemoteObject[] {_idprodsfijos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step12 > 0 && _p <= limit12) || (step12 < 0 && _p >= limit12) ;_p = ((int)(0 + _p + step12)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 1166;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},"; +Debug.ShouldStop(8192); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251469",(RemoteObject.concat(RemoteObject.createImmutable("id="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))),RemoteObject.createImmutable(", inv="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))))),RemoteObject.createImmutable(", pzas="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1167;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id"; +Debug.ShouldStop(16384); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251470",(RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))))),BA.numberCast(double.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))}, "/",0, 0))))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1168;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i"; +Debug.ShouldStop(32768); +_x = subs.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))))),BA.numberCast(double.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))}, "/",0, 0))))),RemoteObject.createImmutable("")))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1169;BA.debugLine="If thisLog Then Log(x(0))"; +Debug.ShouldStop(65536); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251472",_x.getArrayElement(true,BA.numberCast(int.class, 0)),0);}; + BA.debugLineNum = 1170;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del"; +Debug.ShouldStop(131072); +_t.runVoidMethod ("Add",(Object)(((BA.numberCast(int.class, _x.getArrayElement(true,BA.numberCast(int.class, 0))))))); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1172;BA.debugLine="t.Sort(True) 'Ordenamos la lista para que en el l"; +Debug.ShouldStop(524288); +_t.runVoidMethod ("Sort",(Object)(subs.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 1173;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; +Debug.ShouldStop(1048576); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251476",(RemoteObject.concat(RemoteObject.createImmutable("prodsFijos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprodsfijos.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1174;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; +Debug.ShouldStop(2097152); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251477",(RemoteObject.concat(RemoteObject.createImmutable("prodsFijosPiezasReq="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodsfijospiezas.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1175;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; +Debug.ShouldStop(4194304); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251478",(RemoteObject.concat(RemoteObject.createImmutable("invFijoXpromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invfijoxpromo.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1176;BA.debugLine="LogColor(\"Max promos de prodsFijos POR inventario"; +Debug.ShouldStop(8388608); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047251479",RemoteObject.concat(RemoteObject.createImmutable("Max promos de prodsFijos POR inventario = "),_t.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1177;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ"; +Debug.ShouldStop(16777216); +if (true) return BA.numberCast(int.class, _t.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 1178;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisamaxpromosprodsfijosporinventario2(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("revisaMaxPromosProdsFijosPorInventario2 (subs) ","subs",4,_ba,subs.mostCurrent,1110); +if (RapidSub.canDelegate("revisamaxpromosprodsfijosporinventario2")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisamaxpromosprodsfijosporinventario2", _ba, _pm);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _invdispparapromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _maxpromos = RemoteObject.createImmutable(""); +RemoteObject _maxpromosfijosxinv = RemoteObject.createImmutable(0); +RemoteObject _fpf2 = RemoteObject.createImmutable(0); +RemoteObject _pdp2 = RemoteObject.createImmutable(0); +RemoteObject _salir = RemoteObject.createImmutable(false); +RemoteObject _pf = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _pfp = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _invfijoxpromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int _p = 0; +int _i = 0; +int _q = 0; +RemoteObject _q2 = RemoteObject.createImmutable(""); +; +Debug.locals.put("pm", _pm); + BA.debugLineNum = 1110;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario2(pm As"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 1111;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(4194304); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1112;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)"; +Debug.ShouldStop(8388608); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185922",(RemoteObject.concat(RemoteObject.createImmutable("pm="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pm.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1114;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +Debug.ShouldStop(33554432); +_invdispparapromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))));Debug.locals.put("invDispParaPromo", _invdispparapromo);Debug.locals.put("invDispParaPromo", _invdispparapromo); + BA.debugLineNum = 1115;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +Debug.ShouldStop(67108864); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185925",(RemoteObject.concat(RemoteObject.createImmutable("invDispParaPromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invdispparapromo.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1116;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; +Debug.ShouldStop(134217728); +_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm));Debug.locals.put("maxPromos", _maxpromos);Debug.locals.put("maxPromos", _maxpromos); + BA.debugLineNum = 1117;BA.debugLine="Private maxPromosFijosXinv As Int = 1"; +Debug.ShouldStop(268435456); +_maxpromosfijosxinv = BA.numberCast(int.class, 1);Debug.locals.put("maxPromosFijosXinv", _maxpromosfijosxinv);Debug.locals.put("maxPromosFijosXinv", _maxpromosfijosxinv); + BA.debugLineNum = 1118;BA.debugLine="Private fpf2, pdp2 As Int"; +Debug.ShouldStop(536870912); +_fpf2 = RemoteObject.createImmutable(0);Debug.locals.put("fpf2", _fpf2); +_pdp2 = RemoteObject.createImmutable(0);Debug.locals.put("pdp2", _pdp2); + BA.debugLineNum = 1119;BA.debugLine="Private salir As Boolean = False"; +Debug.ShouldStop(1073741824); +_salir = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("salir", _salir);Debug.locals.put("salir", _salir); + BA.debugLineNum = 1120;BA.debugLine="Private pf As List = pm.Get(\"prodsFijos\")"; +Debug.ShouldStop(-2147483648); +_pf = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pf = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("pf", _pf);Debug.locals.put("pf", _pf); + BA.debugLineNum = 1121;BA.debugLine="Private pfp As List = pm.Get(\"prodsFijosPiezas\")"; +Debug.ShouldStop(1); +_pfp = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pfp = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))));Debug.locals.put("pfp", _pfp);Debug.locals.put("pfp", _pfp); + BA.debugLineNum = 1122;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro"; +Debug.ShouldStop(2); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185932",(RemoteObject.concat(RemoteObject.createImmutable("maxPromos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxpromos))),RemoteObject.createImmutable(", prodsFijos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pf.getObject()))),RemoteObject.createImmutable(", piezas="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pfp.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1123;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i"; +Debug.ShouldStop(4); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185933",(RemoteObject.concat(RemoteObject.createImmutable("InvFijo disponible="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invdispparapromo.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1124;BA.debugLine="Private invFijoXpromo As Map"; +Debug.ShouldStop(8); +_invfijoxpromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("invFijoXpromo", _invfijoxpromo); + BA.debugLineNum = 1125;BA.debugLine="invFijoXpromo.Initialize"; +Debug.ShouldStop(16); +_invfijoxpromo.runVoidMethod ("Initialize"); + BA.debugLineNum = 1126;BA.debugLine="For p = 0 To pf.Size -1 'Generamos mapa con los p"; +Debug.ShouldStop(32); +{ +final int step15 = 1; +final int limit15 = RemoteObject.solve(new RemoteObject[] {_pf.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step15 > 0 && _p <= limit15) || (step15 < 0 && _p >= limit15) ;_p = ((int)(0 + _p + step15)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 1127;BA.debugLine="invFijoXpromo.Put(pf.Get(p), pfp.Get(p))"; +Debug.ShouldStop(64); +_invfijoxpromo.runVoidMethod ("Put",(Object)(_pf.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))),(Object)(_pfp.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1129;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos"; +Debug.ShouldStop(256); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185939",RemoteObject.concat(RemoteObject.createImmutable("Inv req. de prods fijos x promo"),_invfijoxpromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + BA.debugLineNum = 1130;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci"; +Debug.ShouldStop(512); +{ +final int step19 = 1; +final int limit19 = (int)(Double.parseDouble(_maxpromos.get())); +_i = 1 ; +for (;(step19 > 0 && _i <= limit19) || (step19 < 0 && _i >= limit19) ;_i = ((int)(0 + _i + step19)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1131;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & ("; +Debug.ShouldStop(1024); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185941",RemoteObject.concat(RemoteObject.createImmutable("Prods para promo "),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta"));}; + BA.debugLineNum = 1132;BA.debugLine="For q = 0 To pf.Size - 1"; +Debug.ShouldStop(2048); +{ +final int step21 = 1; +final int limit21 = RemoteObject.solve(new RemoteObject[] {_pf.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_q = 0 ; +for (;(step21 > 0 && _q <= limit21) || (step21 < 0 && _q >= limit21) ;_q = ((int)(0 + _q + step21)) ) { +Debug.locals.put("q", _q); + BA.debugLineNum = 1133;BA.debugLine="Private q2 As String = pf.Get(q)"; +Debug.ShouldStop(4096); +_q2 = BA.ObjectToString(_pf.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _q))));Debug.locals.put("q2", _q2);Debug.locals.put("q2", _q2); + BA.debugLineNum = 1134;BA.debugLine="If thisLog Then Log(\"q=\"&q2)"; +Debug.ShouldStop(8192); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185944",RemoteObject.concat(RemoteObject.createImmutable("q="),_q2),0);}; + BA.debugLineNum = 1136;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas"; +Debug.ShouldStop(32768); +_fpf2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _pfp.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _q)))),RemoteObject.createImmutable(_i)}, "*",0, 0));Debug.locals.put("fpf2", _fpf2); + BA.debugLineNum = 1137;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)"; +Debug.ShouldStop(65536); +_pdp2 = BA.numberCast(int.class, _invdispparapromo.runMethod(false,"Get",(Object)((_q2))));Debug.locals.put("pdp2", _pdp2); + BA.debugLineNum = 1138;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},"; +Debug.ShouldStop(131072); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185948",(RemoteObject.concat(RemoteObject.createImmutable("pf="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_q2))),RemoteObject.createImmutable(", Actual="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((_i))))),RemoteObject.createImmutable(", max promos: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pdp2))),RemoteObject.createImmutable("-"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fpf2))),RemoteObject.createImmutable("="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {_pdp2,_fpf2}, "-",1, 1)))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1139;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_pdp2,_fpf2}, "-",1, 1),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1140;BA.debugLine="salir=True"; +Debug.ShouldStop(524288); +_salir = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("salir", _salir); + BA.debugLineNum = 1141;BA.debugLine="Exit"; +Debug.ShouldStop(1048576); +if (true) break; + }; + } +}Debug.locals.put("q", _q); +; + BA.debugLineNum = 1144;BA.debugLine="If salir Then Exit"; +Debug.ShouldStop(8388608); +if (_salir.get().booleanValue()) { +if (true) break;}; + BA.debugLineNum = 1145;BA.debugLine="maxPromosFijosXinv = i"; +Debug.ShouldStop(16777216); +_maxpromosfijosxinv = BA.numberCast(int.class, _i);Debug.locals.put("maxPromosFijosXinv", _maxpromosfijosxinv); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1147;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro"; +Debug.ShouldStop(67108864); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185957",RemoteObject.concat(RemoteObject.createImmutable("InvFijo requerido x promo="),_invfijoxpromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1148;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047185958",RemoteObject.concat(RemoteObject.createImmutable("Maximo de promociones de prodsFijos POR inventario = "),_maxpromosfijosxinv),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1149;BA.debugLine="Return maxPromosFijosXinv"; +Debug.ShouldStop(268435456); +if (true) return _maxpromosfijosxinv; + BA.debugLineNum = 1150;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisamaxpromosprodsvariablesporinventario(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("revisaMaxPromosProdsVariablesPorInventario (subs) ","subs",4,_ba,subs.mostCurrent,2103); +if (RapidSub.canDelegate("revisamaxpromosprodsvariablesporinventario")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisamaxpromosprodsvariablesporinventario", _ba, _pm);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _invfijoxpromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _totalprodsvariablesdisponibles = RemoteObject.createImmutable(0); +RemoteObject _totalprodsvariables2disponibles = RemoteObject.createImmutable(0); +RemoteObject _invdispparapromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _maxpromos = RemoteObject.createImmutable(""); +RemoteObject _maxpromosxfijos = RemoteObject.createImmutable(0); +RemoteObject _idprodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _idprodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariablesrequeridos = RemoteObject.createImmutable(0); +RemoteObject _prodsvariables2requeridos = RemoteObject.createImmutable(0); +RemoteObject _prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _idprodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _p = 0; +RemoteObject _idesteprod = RemoteObject.createImmutable(""); +RemoteObject _investeprod = RemoteObject.createImmutable(0); +RemoteObject _pzasreqesteprod = RemoteObject.createImmutable(0); +RemoteObject _maxpromosxvariables = RemoteObject.createImmutable(0); +RemoteObject _maxpromosxvariables2 = RemoteObject.createImmutable(0); +int _x = 0; +int _i = 0; +; +Debug.locals.put("pm", _pm); + BA.debugLineNum = 2103;BA.debugLine="Sub revisaMaxPromosProdsVariablesPorInventario(pm"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 2104;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(8388608); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 2105;BA.debugLine="If thisLog Then Log(\"============================"; +Debug.ShouldStop(16777216); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610754",RemoteObject.createImmutable("======================================================"),0);}; + BA.debugLineNum = 2106;BA.debugLine="If thisLog Then Log(\"============================"; +Debug.ShouldStop(33554432); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610755",RemoteObject.createImmutable("======================================================"),0);}; + BA.debugLineNum = 2107;BA.debugLine="Private invFijoXpromo As Map"; +Debug.ShouldStop(67108864); +_invfijoxpromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("invFijoXpromo", _invfijoxpromo); + BA.debugLineNum = 2108;BA.debugLine="invFijoXpromo.Initialize"; +Debug.ShouldStop(134217728); +_invfijoxpromo.runVoidMethod ("Initialize"); + BA.debugLineNum = 2109;BA.debugLine="Private totalProdsVariablesDisponibles As Int = 0"; +Debug.ShouldStop(268435456); +_totalprodsvariablesdisponibles = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles);Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles); + BA.debugLineNum = 2110;BA.debugLine="Private totalProdsVariables2Disponibles As Int ="; +Debug.ShouldStop(536870912); +_totalprodsvariables2disponibles = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles);Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles); + BA.debugLineNum = 2111;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; +Debug.ShouldStop(1073741824); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610760",(RemoteObject.concat(RemoteObject.createImmutable("pm="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pm.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 2112;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +Debug.ShouldStop(-2147483648); +_invdispparapromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))));Debug.locals.put("invDispParaPromo", _invdispparapromo);Debug.locals.put("invDispParaPromo", _invdispparapromo); + BA.debugLineNum = 2113;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +Debug.ShouldStop(1); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610762",(RemoteObject.concat(RemoteObject.createImmutable("invDispParaPromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invdispparapromo.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 2114;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; +Debug.ShouldStop(2); +_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm));Debug.locals.put("maxPromos", _maxpromos);Debug.locals.put("maxPromos", _maxpromos); + BA.debugLineNum = 2115;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP"; +Debug.ShouldStop(4); +_maxpromosxfijos = _revisamaxpromosprodsfijosporinventario(_ba,_pm);Debug.locals.put("maxPromosXFijos", _maxpromosxfijos);Debug.locals.put("maxPromosXFijos", _maxpromosxfijos); + BA.debugLineNum = 2116;BA.debugLine="Private idProdsVariables As List = pm.Get(\"prodsV"; +Debug.ShouldStop(8); +_idprodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_idprodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables")))));Debug.locals.put("idProdsVariables", _idprodsvariables);Debug.locals.put("idProdsVariables", _idprodsvariables); + BA.debugLineNum = 2117;BA.debugLine="Private idProdsVariables2 As List = pm.Get(\"prods"; +Debug.ShouldStop(16); +_idprodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_idprodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2")))));Debug.locals.put("idProdsVariables2", _idprodsvariables2);Debug.locals.put("idProdsVariables2", _idprodsvariables2); + BA.debugLineNum = 2118;BA.debugLine="Private prodsVariablesRequeridos As Int = pm.Get("; +Debug.ShouldStop(32); +_prodsvariablesrequeridos = BA.numberCast(int.class, _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos")))));Debug.locals.put("prodsVariablesRequeridos", _prodsvariablesrequeridos);Debug.locals.put("prodsVariablesRequeridos", _prodsvariablesrequeridos); + BA.debugLineNum = 2119;BA.debugLine="Private prodsVariables2Requeridos As Int = pm.Get"; +Debug.ShouldStop(64); +_prodsvariables2requeridos = BA.numberCast(int.class, _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos")))));Debug.locals.put("prodsVariables2Requeridos", _prodsvariables2requeridos);Debug.locals.put("prodsVariables2Requeridos", _prodsvariables2requeridos); + BA.debugLineNum = 2120;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; +Debug.ShouldStop(128); +_prodsfijospiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))));Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas);Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas); + BA.debugLineNum = 2121;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; +Debug.ShouldStop(256); +_idprodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_idprodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("idProdsFijos", _idprodsfijos);Debug.locals.put("idProdsFijos", _idprodsfijos); + BA.debugLineNum = 2122;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos mapa"; +Debug.ShouldStop(512); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_idprodsfijos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step19 > 0 && _p <= limit19) || (step19 < 0 && _p >= limit19) ;_p = ((int)(0 + _p + step19)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 2123;BA.debugLine="invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijo"; +Debug.ShouldStop(1024); +_invfijoxpromo.runVoidMethod ("Put",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))),(Object)(_prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))); + BA.debugLineNum = 2124;BA.debugLine="Private idEsteProd As String = idProdsFijos.Get("; +Debug.ShouldStop(2048); +_idesteprod = BA.ObjectToString(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("idEsteProd", _idesteprod);Debug.locals.put("idEsteProd", _idesteprod); + BA.debugLineNum = 2125;BA.debugLine="Private invEsteProd As Int = invDispParaPromo.Ge"; +Debug.ShouldStop(4096); +_investeprod = BA.numberCast(int.class, _invdispparapromo.runMethod(false,"Get",(Object)((_idesteprod))));Debug.locals.put("invEsteProd", _investeprod);Debug.locals.put("invEsteProd", _investeprod); + BA.debugLineNum = 2126;BA.debugLine="Private pzasReqEsteProd As Int = prodsFijosPieza"; +Debug.ShouldStop(8192); +_pzasreqesteprod = BA.numberCast(int.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("pzasReqEsteProd", _pzasreqesteprod);Debug.locals.put("pzasReqEsteProd", _pzasreqesteprod); + BA.debugLineNum = 2127;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in"; +Debug.ShouldStop(16384); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610776",(RemoteObject.concat(RemoteObject.createImmutable("id="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idesteprod))),RemoteObject.createImmutable(", inv="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_investeprod))),RemoteObject.createImmutable(", pzas="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pzasreqesteprod))),RemoteObject.createImmutable(""))),0);}; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 2130;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}"; +Debug.ShouldStop(131072); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610779",(RemoteObject.concat(RemoteObject.createImmutable("MaxPromos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxpromos))),RemoteObject.createImmutable(", promosXFijos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxpromosxfijos))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 2131;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; +Debug.ShouldStop(262144); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610780",(RemoteObject.concat(RemoteObject.createImmutable("prodsFijos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprodsfijos.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 2132;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; +Debug.ShouldStop(524288); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610781",(RemoteObject.concat(RemoteObject.createImmutable("prodsFijosPiezasReq="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodsfijospiezas.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 2133;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro"; +Debug.ShouldStop(1048576); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610782",(RemoteObject.concat(RemoteObject.createImmutable("prodsVariables="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprodsvariables.getObject()))),RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Variables Req="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodsvariablesrequeridos))),RemoteObject.createImmutable(" "))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 2134;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr"; +Debug.ShouldStop(2097152); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610783",(RemoteObject.concat(RemoteObject.createImmutable("prodsVariables2="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprodsvariables2.getObject()))),RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Variables2 Req="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodsvariables2requeridos))),RemoteObject.createImmutable(" "))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 2135;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; +Debug.ShouldStop(4194304); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610784",(RemoteObject.concat(RemoteObject.createImmutable("invFijoXpromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invfijoxpromo.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 2136;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles"; +Debug.ShouldStop(8388608); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610785",(RemoteObject.concat(RemoteObject.createImmutable("Prods variables disponibles = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalprodsvariablesdisponibles))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 2137;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible"; +Debug.ShouldStop(16777216); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610786",(RemoteObject.concat(RemoteObject.createImmutable("Prods variables2 disponibles = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalprodsvariables2disponibles))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 2138;BA.debugLine="Private maxPromosXVariables As Int = 0"; +Debug.ShouldStop(33554432); +_maxpromosxvariables = BA.numberCast(int.class, 0);Debug.locals.put("maxPromosXVariables", _maxpromosxvariables);Debug.locals.put("maxPromosXVariables", _maxpromosxvariables); + BA.debugLineNum = 2139;BA.debugLine="Private maxPromosXVariables2 As Int = 0"; +Debug.ShouldStop(67108864); +_maxpromosxvariables2 = BA.numberCast(int.class, 0);Debug.locals.put("maxPromosXVariables2", _maxpromosxvariables2);Debug.locals.put("maxPromosXVariables2", _maxpromosxvariables2); + BA.debugLineNum = 2140;BA.debugLine="For x = 1 To maxPromosXFijos"; +Debug.ShouldStop(134217728); +{ +final int step36 = 1; +final int limit36 = _maxpromosxfijos.get().intValue(); +_x = 1 ; +for (;(step36 > 0 && _x <= limit36) || (step36 < 0 && _x >= limit36) ;_x = ((int)(0 + _x + step36)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 2141;BA.debugLine="If thisLog Then Log(\"==========================="; +Debug.ShouldStop(268435456); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610790",RemoteObject.createImmutable("====================================================="),0);}; + BA.debugLineNum = 2142;BA.debugLine="If thisLog Then Log(\"==========================="; +Debug.ShouldStop(536870912); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610791",RemoteObject.createImmutable("====================================================="),0);}; + BA.debugLineNum = 2143;BA.debugLine="For i = 0 To idProdsFijos.Size - 1"; +Debug.ShouldStop(1073741824); +{ +final int step39 = 1; +final int limit39 = RemoteObject.solve(new RemoteObject[] {_idprodsfijos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step39 > 0 && _i <= limit39) || (step39 < 0 && _i >= limit39) ;_i = ((int)(0 + _i + step39)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2144;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get"; +Debug.ShouldStop(-2147483648); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610793",(RemoteObject.concat(RemoteObject.createImmutable("FIJO - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))),RemoteObject.createImmutable(", "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))))),RemoteObject.createImmutable(" - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1))}, "*",0, 1)))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 2145;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi"; +Debug.ShouldStop(1); +_invdispparapromo.runVoidMethod ("Put",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i)))),(Object)((RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))))),(BA.numberCast(int.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1))}, "-*",1, 1)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2147;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues"; +Debug.ShouldStop(4); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610796",RemoteObject.concat(RemoteObject.createImmutable("Inv disponible despues de restar fijos = "),_invdispparapromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 2149;BA.debugLine="totalProdsVariablesDisponibles = 0"; +Debug.ShouldStop(16); +_totalprodsvariablesdisponibles = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles); + BA.debugLineNum = 2150;BA.debugLine="totalProdsVariables2Disponibles = 0"; +Debug.ShouldStop(32); +_totalprodsvariables2disponibles = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles); + BA.debugLineNum = 2151;BA.debugLine="For i = 0 To idProdsVariables.Size - 1 'Obtenemo"; +Debug.ShouldStop(64); +{ +final int step46 = 1; +final int limit46 = RemoteObject.solve(new RemoteObject[] {_idprodsvariables.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step46 > 0 && _i <= limit46) || (step46 < 0 && _i >= limit46) ;_i = ((int)(0 + _i + step46)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2152;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; +Debug.ShouldStop(128); +if (_invdispparapromo.runMethod(true,"ContainsKey",(Object)(_idprodsvariables.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))).get().booleanValue()) { + BA.debugLineNum = 2153;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVar"; +Debug.ShouldStop(256); +_totalprodsvariablesdisponibles = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalprodsvariablesdisponibles,BA.numberCast(double.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsvariables.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))))}, "+",1, 0));Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2156;BA.debugLine="For i = 0 To idProdsVariables2.Size - 1 'Obtenem"; +Debug.ShouldStop(2048); +{ +final int step51 = 1; +final int limit51 = RemoteObject.solve(new RemoteObject[] {_idprodsvariables2.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step51 > 0 && _i <= limit51) || (step51 < 0 && _i >= limit51) ;_i = ((int)(0 + _i + step51)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2157;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; +Debug.ShouldStop(4096); +if (_invdispparapromo.runMethod(true,"ContainsKey",(Object)(_idprodsvariables2.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))).get().booleanValue()) { + BA.debugLineNum = 2158;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVa"; +Debug.ShouldStop(8192); +_totalprodsvariables2disponibles = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalprodsvariables2disponibles,BA.numberCast(double.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsvariables2.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))))}, "+",1, 0));Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2162;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req"; +Debug.ShouldStop(131072); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610811",(RemoteObject.concat(RemoteObject.createImmutable("Var disponibles - var requeridos : "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalprodsvariablesdisponibles))),RemoteObject.createImmutable(" - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {_prodsvariablesrequeridos,RemoteObject.createImmutable(_x)}, "*",0, 1)))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 2163;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria"; +Debug.ShouldStop(262144); +_totalprodsvariablesdisponibles = RemoteObject.solve(new RemoteObject[] {_totalprodsvariablesdisponibles,(RemoteObject.solve(new RemoteObject[] {_prodsvariablesrequeridos,RemoteObject.createImmutable(_x)}, "*",0, 1))}, "-",1, 1);Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles); + BA.debugLineNum = 2164;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari"; +Debug.ShouldStop(524288); +_totalprodsvariables2disponibles = RemoteObject.solve(new RemoteObject[] {_totalprodsvariables2disponibles,(RemoteObject.solve(new RemoteObject[] {_prodsvariables2requeridos,RemoteObject.createImmutable(_x)}, "*",0, 1))}, "-",1, 1);Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles); + BA.debugLineNum = 2165;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles"; +Debug.ShouldStop(1048576); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610814",RemoteObject.concat(RemoteObject.createImmutable("prodsVariables disponibles despues de promo = "),_totalprodsvariablesdisponibles),0);}; + BA.debugLineNum = 2166;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles"; +Debug.ShouldStop(2097152); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610815",RemoteObject.concat(RemoteObject.createImmutable("prodsVariables2 disponibles despues de promo = "),_totalprodsvariables2disponibles),0);}; + BA.debugLineNum = 2167;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("<",_totalprodsvariablesdisponibles,BA.numberCast(double.class, 0))) { +if (true) break;}; + BA.debugLineNum = 2168;BA.debugLine="If totalProdsVariables2Disponibles < 0 Then Exit"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("<",_totalprodsvariables2disponibles,BA.numberCast(double.class, 0))) { +if (true) break;}; + BA.debugLineNum = 2169;BA.debugLine="maxPromosXVariables = x"; +Debug.ShouldStop(16777216); +_maxpromosxvariables = BA.numberCast(int.class, _x);Debug.locals.put("maxPromosXVariables", _maxpromosxvariables); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 2172;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari"; +Debug.ShouldStop(134217728); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","049610821",RemoteObject.concat(RemoteObject.createImmutable("Max promos de prodsVariables POR inventario = "),_maxpromosxvariables),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 2173;BA.debugLine="Return maxPromosXVariables"; +Debug.ShouldStop(268435456); +if (true) return _maxpromosxvariables; + BA.debugLineNum = 2174;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisapro2265(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("revisaPRO2265 (subs) ","subs",4,_ba,subs.mostCurrent,1632); +if (RapidSub.canDelegate("revisapro2265")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisapro2265", _ba, _idcliente);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _x = RemoteObject.createImmutable(false); +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 1632;BA.debugLine="Sub revisaPRO2265(idCliente As String) As Boolean"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 1633;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(1); +_r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_r = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from HIST_PRO2265 where H_IDCLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 1634;BA.debugLine="Private x As Boolean = False"; +Debug.ShouldStop(2); +_x = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1635;BA.debugLine="Do While r.NextRow"; +Debug.ShouldStop(4); +while (_r.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1636;BA.debugLine="x = True"; +Debug.ShouldStop(8); +_x = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("x", _x); + } +; + BA.debugLineNum = 1638;BA.debugLine="Log($\">>>> revisaPRO2265 ${idCliente} = ${x}\"$)"; +Debug.ShouldStop(32); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048234502",(RemoteObject.concat(RemoteObject.createImmutable(">>>> revisaPRO2265 "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable(" = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_x))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1639;BA.debugLine="Return x"; +Debug.ShouldStop(64); +if (true) return _x; + BA.debugLineNum = 1640;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisapro3054(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("revisaPRO3054 (subs) ","subs",4,_ba,subs.mostCurrent,1643); +if (RapidSub.canDelegate("revisapro3054")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisapro3054", _ba, _idcliente);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _x = RemoteObject.createImmutable(false); +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 1643;BA.debugLine="Sub revisaPRO3054(idCliente As String) As Boolean"; +Debug.ShouldStop(1024); + BA.debugLineNum = 1644;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(2048); +_r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_r = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from HIST_PRO3054 where H_IDCLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 1645;BA.debugLine="Private x As Boolean = False"; +Debug.ShouldStop(4096); +_x = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1646;BA.debugLine="Do While r.NextRow"; +Debug.ShouldStop(8192); +while (_r.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1647;BA.debugLine="x = True"; +Debug.ShouldStop(16384); +_x = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("x", _x); + } +; + BA.debugLineNum = 1649;BA.debugLine="Log($\">>>> revisaPRO3054 ${idCliente} = ${x}\"$)"; +Debug.ShouldStop(65536); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048300038",(RemoteObject.concat(RemoteObject.createImmutable(">>>> revisaPRO3054 "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable(" = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_x))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1650;BA.debugLine="Return x"; +Debug.ShouldStop(131072); +if (true) return _x; + BA.debugLineNum = 1651;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisapro3055(RemoteObject _ba,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("revisaPRO3055 (subs) ","subs",4,_ba,subs.mostCurrent,1654); +if (RapidSub.canDelegate("revisapro3055")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisapro3055", _ba, _idcliente);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _x = RemoteObject.createImmutable(false); +; +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 1654;BA.debugLine="Sub revisaPRO3055(idCliente As String) As Boolean"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 1655;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(4194304); +_r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_r = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from HIST_PRO3055 where H_IDCLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 1656;BA.debugLine="Private x As Boolean = False"; +Debug.ShouldStop(8388608); +_x = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1657;BA.debugLine="Do While r.NextRow"; +Debug.ShouldStop(16777216); +while (_r.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1658;BA.debugLine="x = True"; +Debug.ShouldStop(33554432); +_x = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("x", _x); + } +; + BA.debugLineNum = 1660;BA.debugLine="Log($\">>>> revisaPRO3055 ${idCliente} = ${x}\"$)"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048365574",(RemoteObject.concat(RemoteObject.createImmutable(">>>> revisaPRO3055 "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable(" = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_x))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1661;BA.debugLine="Return x"; +Debug.ShouldStop(268435456); +if (true) return _x; + BA.debugLineNum = 1662;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisaprodfueradepromo(RemoteObject _ba,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("revisaProdFueraDePromo (subs) ","subs",4,_ba,subs.mostCurrent,1863); +if (RapidSub.canDelegate("revisaprodfueradepromo")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisaprodfueradepromo", _ba, _prodid);} +RemoteObject _fueradepromo = RemoteObject.createImmutable(false); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 1863;BA.debugLine="Sub revisaProdFueraDePromo(prodId As String) As Bo"; +Debug.ShouldStop(64); + BA.debugLineNum = 1864;BA.debugLine="Private fueraDePromo As Boolean = False"; +Debug.ShouldStop(128); +_fueradepromo = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("fueraDePromo", _fueradepromo);Debug.locals.put("fueraDePromo", _fueradepromo); + BA.debugLineNum = 1865;BA.debugLine="Private p As Cursor = Starter.skmt.ExecQuery($\"se"; +Debug.ShouldStop(256); +_p = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_CEDIS from PEDIDO where PE_PROID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and PE_CEDIS in (select id_almacen from CAT_ALMACEN) and PE_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_cliente" /*RemoteObject*/ ).getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("'"))))));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 1866;BA.debugLine="Log(\"rowcount: \" & p.RowCount)"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048889859",RemoteObject.concat(RemoteObject.createImmutable("rowcount: "),_p.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1867;BA.debugLine="If p.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_p.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1868;BA.debugLine="p.Position = 0"; +Debug.ShouldStop(2048); +_p.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1869;BA.debugLine="Log($\"|${p.GetString(\"PE_CEDIS\")}|${prodId}|\"$)"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048889862",(RemoteObject.concat(RemoteObject.createImmutable("|"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))))),RemoteObject.createImmutable("|"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("|"))),0); + BA.debugLineNum = 1870;BA.debugLine="fueraDePromo = True"; +Debug.ShouldStop(8192); +_fueradepromo = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("fueraDePromo", _fueradepromo); + }; + BA.debugLineNum = 1872;BA.debugLine="Return fueraDePromo"; +Debug.ShouldStop(32768); +if (true) return _fueradepromo; + BA.debugLineNum = 1873;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisapromoprocterpro3009(RemoteObject _ba,RemoteObject _prodsmap1) throws Exception{ +try { + Debug.PushSubsStack("revisaPromoProcterPRO3009 (subs) ","subs",4,_ba,subs.mostCurrent,1527); +if (RapidSub.canDelegate("revisapromoprocterpro3009")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisapromoprocterpro3009", _ba, _prodsmap1);} +RemoteObject _almacenes = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _idregalo = RemoteObject.createImmutable(""); +RemoteObject _newprodsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _monto = RemoteObject.createImmutable(""); +RemoteObject _invregalo = RemoteObject.createImmutable(0); +RemoteObject _totalregalos = RemoteObject.createImmutable(0); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _m1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _r2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _pe = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("prodsMap1", _prodsmap1); + BA.debugLineNum = 1527;BA.debugLine="Sub revisaPromoProcterPRO3009(prodsMap1 As Map)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1528;BA.debugLine="Log(\"entramos a promo Procter\")"; +Debug.ShouldStop(8388608); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103425",RemoteObject.createImmutable("entramos a promo Procter"),0); + BA.debugLineNum = 1529;BA.debugLine="Dim almacenes As List"; +Debug.ShouldStop(16777216); +_almacenes = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("almacenes", _almacenes); + BA.debugLineNum = 1530;BA.debugLine="almacenes.Initialize2(Array As String(\"3\", \"17\","; +Debug.ShouldStop(33554432); +_almacenes.runVoidMethod ("Initialize2",(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {BA.ObjectToString("3"),BA.ObjectToString("17"),BA.ObjectToString("37"),BA.ObjectToString("31"),BA.ObjectToString("68"),BA.ObjectToString("71"),BA.ObjectToString("33"),RemoteObject.createImmutable("80")}))))); + BA.debugLineNum = 1531;BA.debugLine="Log(\"Posicion de almacen: \" & almacenes.IndexOf(t"; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103428",RemoteObject.concat(RemoteObject.createImmutable("Posicion de almacen: "),_almacenes.runMethod(true,"IndexOf",(Object)((_traealmacen(_ba))))),0); + BA.debugLineNum = 1533;BA.debugLine="If almacenes.IndexOf(traeAlmacen) >= 0 Then ' Si"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("g",_almacenes.runMethod(true,"IndexOf",(Object)((_traealmacen(_ba)))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1534;BA.debugLine="Private idRegalo As String = \"PYG1016\""; +Debug.ShouldStop(536870912); +_idregalo = BA.ObjectToString("PYG1016");Debug.locals.put("idRegalo", _idregalo);Debug.locals.put("idRegalo", _idregalo); + BA.debugLineNum = 1535;BA.debugLine="Private newProdsMap As Map = prodsMap1"; +Debug.ShouldStop(1073741824); +_newprodsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_newprodsmap = _prodsmap1;Debug.locals.put("newProdsMap", _newprodsmap);Debug.locals.put("newProdsMap", _newprodsmap); + BA.debugLineNum = 1536;BA.debugLine="Private monto As String = 0"; +Debug.ShouldStop(-2147483648); +_monto = BA.NumberToString(0);Debug.locals.put("monto", _monto);Debug.locals.put("monto", _monto); + BA.debugLineNum = 1537;BA.debugLine="Private invRegalo As Int = 0"; +Debug.ShouldStop(1); +_invregalo = BA.numberCast(int.class, 0);Debug.locals.put("invRegalo", _invregalo);Debug.locals.put("invRegalo", _invregalo); + BA.debugLineNum = 1538;BA.debugLine="Private totalRegalos As Int = 0"; +Debug.ShouldStop(2); +_totalregalos = BA.numberCast(int.class, 0);Debug.locals.put("totalRegalos", _totalregalos);Debug.locals.put("totalRegalos", _totalregalos); + BA.debugLineNum = 1539;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery("; +Debug.ShouldStop(4); +_r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_r = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select ifnull(cat_gp_almacen, 0) as CAT_GP_ALMACEN from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_traetipoventadebd(_ba))))),RemoteObject.createImmutable(" where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idregalo))),RemoteObject.createImmutable("'"))))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 1540;BA.debugLine="Do While r.NextRow"; +Debug.ShouldStop(8); +while (_r.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1541;BA.debugLine="Log(r.GetString(\"CAT_GP_ALMACEN\"))"; +Debug.ShouldStop(16); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103438",_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))),0); + BA.debugLineNum = 1542;BA.debugLine="If r.GetString(\"CAT_GP_ALMACEN\") > 0 Then invRe"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")))),BA.numberCast(double.class, 0))) { +_invregalo = BA.numberCast(int.class, _r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))));Debug.locals.put("invRegalo", _invregalo);}; + } +; + BA.debugLineNum = 1544;BA.debugLine="Log(\"INV REGALO: \" & invRegalo)"; +Debug.ShouldStop(128); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103441",RemoteObject.concat(RemoteObject.createImmutable("INV REGALO: "),_invregalo),0); + BA.debugLineNum = 1545;BA.debugLine="r = Starter.skmt.ExecQuery($\"select pe_proid fro"; +Debug.ShouldStop(256); +_r = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select pe_proid from pedido where pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idregalo))),RemoteObject.createImmutable("' and pe_cedis = 'PRO3009' and pe_cant = 1 and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("' "))))));Debug.locals.put("r", _r); + BA.debugLineNum = 1546;BA.debugLine="If r.RowCount > 0 Then totalRegalos = r.RowCount"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_r.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_totalregalos = _r.runMethod(true,"getRowCount");Debug.locals.put("totalRegalos", _totalregalos);}; + BA.debugLineNum = 1547;BA.debugLine="Log($\"TOTAL REGALOS: ${totalRegalos}\"$)"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103444",(RemoteObject.concat(RemoteObject.createImmutable("TOTAL REGALOS: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalregalos))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1548;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1014\") Then ' Calcu"; +Debug.ShouldStop(2048); +if (_prodsmap1.runMethod(true,"ContainsKey",(Object)((RemoteObject.createImmutable("PYG1014")))).get().booleanValue()) { + BA.debugLineNum = 1549;BA.debugLine="Private m1 As Map = prodsMap1.Get(\"PYG1014\")"; +Debug.ShouldStop(4096); +_m1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _prodsmap1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("PYG1014")))));Debug.locals.put("m1", _m1);Debug.locals.put("m1", _m1); + BA.debugLineNum = 1550;BA.debugLine="monto = monto + m1.Get(\"cant\") * m1.Get(\"precio"; +Debug.ShouldStop(8192); +_monto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _monto),BA.numberCast(double.class, _m1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant"))))),BA.numberCast(double.class, _m1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))))}, "+*",1, 0));Debug.locals.put("monto", _monto); + }; + BA.debugLineNum = 1552;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1025\") Then ' Calc"; +Debug.ShouldStop(32768); +if (_prodsmap1.runMethod(true,"ContainsKey",(Object)((RemoteObject.createImmutable("PYG1025")))).get().booleanValue()) { + BA.debugLineNum = 1553;BA.debugLine="Private m2 As Map = prodsMap1.Get(\"PYG1025\")"; +Debug.ShouldStop(65536); +_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _prodsmap1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("PYG1025")))));Debug.locals.put("m2", _m2);Debug.locals.put("m2", _m2); + BA.debugLineNum = 1554;BA.debugLine="monto = monto + m2.Get(\"cant\") * m2.Get(\"precio"; +Debug.ShouldStop(131072); +_monto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _monto),BA.numberCast(double.class, _m2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant"))))),BA.numberCast(double.class, _m2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))))}, "+*",1, 0));Debug.locals.put("monto", _monto); + }; + BA.debugLineNum = 1556;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery"; +Debug.ShouldStop(524288); +_r2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_r2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select ifnull(sum(pe_costo_tot),0) as monto from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("' and PE_PROID in (\"PYG1014\", \"PYG1025\")"))))));Debug.locals.put("r2", _r2);Debug.locals.put("r2", _r2); + BA.debugLineNum = 1557;BA.debugLine="Do While r2.NextRow"; +Debug.ShouldStop(1048576); +while (_r2.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1558;BA.debugLine="monto = monto + r2.GetString(\"monto\")"; +Debug.ShouldStop(2097152); +_monto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _monto),BA.numberCast(double.class, _r2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("monto"))))}, "+",1, 0));Debug.locals.put("monto", _monto); + } +; + BA.debugLineNum = 1560;BA.debugLine="Log($\"Monto: ${monto}\"$)"; +Debug.ShouldStop(8388608); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103457",(RemoteObject.concat(RemoteObject.createImmutable("Monto: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_monto))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1562;BA.debugLine="Log(\"prodsMap.Size: \" & prodsMap1.Size)"; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103459",RemoteObject.concat(RemoteObject.createImmutable("prodsMap.Size: "),_prodsmap1.runMethod(true,"getSize")),0); + BA.debugLineNum = 1563;BA.debugLine="If prodsMap1.Size > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_prodsmap1.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1564;BA.debugLine="If monto > 149 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _monto),BA.numberCast(double.class, 149))) { + BA.debugLineNum = 1565;BA.debugLine="Log(\"Mas de 149\")"; +Debug.ShouldStop(268435456); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103462",RemoteObject.createImmutable("Mas de 149"),0); + BA.debugLineNum = 1566;BA.debugLine="If invRegalo > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_invregalo,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1567;BA.debugLine="Log(\"Hay inventario para regalo\")"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103464",RemoteObject.createImmutable("Hay inventario para regalo"),0); + BA.debugLineNum = 1568;BA.debugLine="If totalRegalos = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_totalregalos,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1569;BA.debugLine="guardaProducto(\"PRO3009\", 1, 1, traeProdNomb"; +Debug.ShouldStop(1); +_guardaproducto(_ba,BA.ObjectToString("PRO3009"),BA.NumberToString(1),BA.NumberToString(1),_traeprodnombre(_ba,_idregalo),_idregalo,_traecliente(_ba),_traefecha(_ba),_traeusuariodebd(_ba),_traeruta(_ba),BA.NumberToString(0),subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ )); + BA.debugLineNum = 1571;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(4); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 1572;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(8); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 1573;BA.debugLine="Msgbox(cs.Color(Colors.red).append(\"PRO3009:"; +Debug.ShouldStop(16); +subs.mostCurrent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("PRO3009:")))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(" En la compra de $150 de la linea Oral B Procter & Gamble se agrega 1 Salvo Multiusuos 500 ml.")))).runMethod(false,"Color",(Object)(subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(" con precio de $1.00")))).runMethod(false,"PopAll").getObject())),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Producto de regalo agregado"))),_ba); + }; + }else { + BA.debugLineNum = 1576;BA.debugLine="LogColor(\"NO hay inventario para regalo PRO30"; +Debug.ShouldStop(128); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103473",BA.ObjectToString("NO hay inventario para regalo PRO3009 Procter & Gamble."),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }else { + BA.debugLineNum = 1579;BA.debugLine="Log(\"Menos de 149\")"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103476",RemoteObject.createImmutable("Menos de 149"),0); + BA.debugLineNum = 1580;BA.debugLine="If totalRegalos > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_totalregalos,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1581;BA.debugLine="Log(\"Quitamos regalo\")"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103478",RemoteObject.createImmutable("Quitamos regalo"),0); + BA.debugLineNum = 1582;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; +Debug.ShouldStop(8192); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis = 'PRO3009' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idregalo))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("' and pe_cant = 1 "))))); + BA.debugLineNum = 1583;BA.debugLine="Log($\"Borramos pe_cedis='PRO3009' and pe_proi"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103480",(RemoteObject.concat(RemoteObject.createImmutable("Borramos pe_cedis='PRO3009' and pe_proid='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idregalo))),RemoteObject.createImmutable("' and pe_cliente='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 1584;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(32768); +_pe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pe = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))));Debug.locals.put("pe", _pe);Debug.locals.put("pe", _pe); + BA.debugLineNum = 1585;BA.debugLine="pe.Position=0"; +Debug.ShouldStop(65536); +_pe.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1586;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantosPedidos"))),BA.NumberToString(0))) { + BA.debugLineNum = 1587;BA.debugLine="Log(\"###### delete from pedido_cliente -"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103484",RemoteObject.concat(RemoteObject.createImmutable("###### delete from pedido_cliente - "),_traecliente(_ba),RemoteObject.createImmutable("|"),_traecliente(_ba)),0); + BA.debugLineNum = 1588;BA.debugLine="Log($\"delete from pedido_cliente where PC_CL"; +Debug.ShouldStop(524288); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103485",(RemoteObject.concat(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 1589;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedi"; +Debug.ShouldStop(1048576); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))))); + }; + BA.debugLineNum = 1591;BA.debugLine="ToastMessageShow(\"Quitamos regalo PRO3009\", F"; +Debug.ShouldStop(4194304); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Quitamos regalo PRO3009")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + }; + }; + }; + }else { + BA.debugLineNum = 1596;BA.debugLine="LogColor(\"El almacen actual NO esta en la lista"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048103493",BA.ObjectToString("El almacen actual NO esta en la lista para la promo de Procter & Gamble."),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + }; + BA.debugLineNum = 1599;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisauug(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaUUG (subs) ","subs",4,_ba,subs.mostCurrent,347); +if (RapidSub.canDelegate("revisauug")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisauug", _ba);} +RemoteObject _daa = RemoteObject.createImmutable(0); +; + BA.debugLineNum = 347;BA.debugLine="Sub revisaUUG 'ignore"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 348;BA.debugLine="Try"; +Debug.ShouldStop(134217728); +try { BA.debugLineNum = 350;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; +Debug.ShouldStop(536870912); +if (subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 351;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(T"; +Debug.ShouldStop(1073741824); +_daa = BA.numberCast(int.class, subs.mostCurrent._tracker._uugcoords /*RemoteObject*/ .runMethod(true,"DistanceTo",(Object)((subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").getObject()))));Debug.locals.put("daa", _daa);Debug.locals.put("daa", _daa); + BA.debugLineNum = 352;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f"; +Debug.ShouldStop(-2147483648); +if (subs.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044695557",(RemoteObject.concat(RemoteObject.createImmutable("**** UUC \""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fechakmt(_ba,BA.NumberToString(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getTime")))))),RemoteObject.createImmutable("|"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.2")),(Object)((subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy")))),RemoteObject.createImmutable("|"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.8")),(Object)((subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")))),RemoteObject.createImmutable("|"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.8")),(Object)((subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude")))),RemoteObject.createImmutable("|"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.2")),(Object)((subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getSpeed")))),RemoteObject.createImmutable("|"))),subs.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 112)),(Object)(BA.numberCast(int.class, 35))));}; + BA.debugLineNum = 353;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_daa,BA.numberCast(double.class, 40)) && RemoteObject.solveBoolean("<",subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy"),BA.numberCast(double.class, 35))) { + BA.debugLineNum = 354;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,"; +Debug.ShouldStop(2); +subs._kmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_fechakmt(_ba,BA.NumberToString(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getTime")))),(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")),(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))}))))); + BA.debugLineNum = 355;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a"; +Debug.ShouldStop(4); +if (subs.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044695560",RemoteObject.concat(RemoteObject.createImmutable("++++ Distancia a anterior="),_daa,RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Precision="),subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy")),0);}; + }; + BA.debugLineNum = 357;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc"; +Debug.ShouldStop(16); +subs.mostCurrent._tracker._uugcoords /*RemoteObject*/ = subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e12) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e12.toString()); BA.debugLineNum = 360;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is"; +Debug.ShouldStop(128); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","044695565",RemoteObject.concat(RemoteObject.createImmutable("If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 362;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setdivider(RemoteObject _ba,RemoteObject _lv,RemoteObject _color,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("SetDivider (subs) ","subs",4,_ba,subs.mostCurrent,42); +if (RapidSub.canDelegate("setdivider")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","setdivider", _ba, _lv, _color, _height);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); +RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable"); +; +Debug.locals.put("lv", _lv); +Debug.locals.put("Color", _color); +Debug.locals.put("Height", _height); + BA.debugLineNum = 42;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh"; +Debug.ShouldStop(512); + BA.debugLineNum = 43;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(1024); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 44;BA.debugLine="r.Target = lv"; +Debug.ShouldStop(2048); +_r.setField ("Target",(_lv.getObject())); + BA.debugLineNum = 45;BA.debugLine="Dim CD As ColorDrawable"; +Debug.ShouldStop(4096); +_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("CD", _cd); + BA.debugLineNum = 46;BA.debugLine="CD.Initialize(Color, 0)"; +Debug.ShouldStop(8192); +_cd.runVoidMethod ("Initialize",(Object)(_color),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 47;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A"; +Debug.ShouldStop(16384); +_r.runVoidMethod ("RunMethod4",(Object)(BA.ObjectToString("setDivider")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cd.getObject())})),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("android.graphics.drawable.Drawable")}))); + BA.debugLineNum = 48;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la"; +Debug.ShouldStop(32768); +_r.runVoidMethod ("RunMethod2",(Object)(BA.ObjectToString("setDividerHeight")),(Object)(BA.NumberToString(_height)),(Object)(RemoteObject.createImmutable("java.lang.int"))); + BA.debugLineNum = 49;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _totalpedido(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("totalPedido (subs) ","subs",4,_ba,subs.mostCurrent,755); +if (RapidSub.canDelegate("totalpedido")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","totalpedido", _ba);} +RemoteObject _ct = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _ptotal = RemoteObject.createImmutable(""); +RemoteObject _tempt = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 755;BA.debugLine="Sub totalPedido As String"; +Debug.ShouldStop(262144); + BA.debugLineNum = 756;BA.debugLine="Private cT As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(524288); +_ct = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ct = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select sum(PE_COSTO_TOT) as total from PEDIDO where PE_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("' AND PE_CEDIS <> 'DUR'"))))));Debug.locals.put("cT", _ct);Debug.locals.put("cT", _ct); + BA.debugLineNum = 757;BA.debugLine="Private pTotal As String = \"0\""; +Debug.ShouldStop(1048576); +_ptotal = BA.ObjectToString("0");Debug.locals.put("pTotal", _ptotal);Debug.locals.put("pTotal", _ptotal); + BA.debugLineNum = 758;BA.debugLine="If cT.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_ct.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 759;BA.debugLine="cT.Position = 0"; +Debug.ShouldStop(4194304); +_ct.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 761;BA.debugLine="Private tempT As String = cT.GetLong(\"total\")"; +Debug.ShouldStop(16777216); +_tempt = BA.NumberToString(_ct.runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("total"))));Debug.locals.put("tempT", _tempt);Debug.locals.put("tempT", _tempt); + BA.debugLineNum = 762;BA.debugLine="If tempT <> \"null\" And tempT <> Null Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("!",_tempt,BA.ObjectToString("null")) && RemoteObject.solveBoolean("N",_tempt)) { + BA.debugLineNum = 764;BA.debugLine="pTotal = tempT"; +Debug.ShouldStop(134217728); +_ptotal = _tempt;Debug.locals.put("pTotal", _ptotal); + }; + }; + BA.debugLineNum = 768;BA.debugLine="cT.Close"; +Debug.ShouldStop(-2147483648); +_ct.runVoidMethod ("Close"); + BA.debugLineNum = 769;BA.debugLine="Return pTotal"; +Debug.ShouldStop(1); +if (true) return _ptotal; + BA.debugLineNum = 770;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traealmacen(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeAlmacen (subs) ","subs",4,_ba,subs.mostCurrent,643); +if (RapidSub.canDelegate("traealmacen")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traealmacen", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _a = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 643;BA.debugLine="Sub traeAlmacen As String 'ignore"; +Debug.ShouldStop(4); + BA.debugLineNum = 644;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(8); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 645;BA.debugLine="Private a As String = \"NA\""; +Debug.ShouldStop(16); +_a = BA.ObjectToString("NA");Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 646;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(32); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));Debug.locals.put("c", _c); + BA.debugLineNum = 647;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 648;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(128); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 649;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(256); +_a = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")));Debug.locals.put("a", _a); + }; + BA.debugLineNum = 651;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 652;BA.debugLine="Return a"; +Debug.ShouldStop(2048); +if (true) return _a; + BA.debugLineNum = 653;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traecliente(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeCliente (subs) ","subs",4,_ba,subs.mostCurrent,819); +if (RapidSub.canDelegate("traecliente")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traecliente", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cl = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 819;BA.debugLine="Sub traeCliente As String 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 820;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(524288); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 821;BA.debugLine="Private cl As String"; +Debug.ShouldStop(1048576); +_cl = RemoteObject.createImmutable("");Debug.locals.put("cl", _cl); + BA.debugLineNum = 822;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +Debug.ShouldStop(2097152); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa"))));Debug.locals.put("c", _c); + BA.debugLineNum = 823;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 824;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8388608); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 825;BA.debugLine="cl = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(16777216); +_cl = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")));Debug.locals.put("cl", _cl); + }; + BA.debugLineNum = 827;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 829;BA.debugLine="Return cl"; +Debug.ShouldStop(268435456); +if (true) return _cl; + BA.debugLineNum = 830;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traefecha(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeFecha (subs) ","subs",4,_ba,subs.mostCurrent,832); +if (RapidSub.canDelegate("traefecha")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traefecha", _ba);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 832;BA.debugLine="Sub traeFecha As String 'ignore"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 833;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 834;BA.debugLine="Private sDate As String =DateTime.Date(DateTime.N"; +Debug.ShouldStop(2); +_sdate = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate);Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 835;BA.debugLine="Private sTime As String =DateTime.Time(DateTime.N"; +Debug.ShouldStop(4); +_stime = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime);Debug.locals.put("sTime", _stime); + BA.debugLineNum = 836;BA.debugLine="Return sDate & sTime"; +Debug.ShouldStop(8); +if (true) return RemoteObject.concat(_sdate,_stime); + BA.debugLineNum = 837;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeinventario(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traeinventario (subs) ","subs",4,_ba,subs.mostCurrent,1980); +if (RapidSub.canDelegate("traeinventario")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeinventario", _ba, _id);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _inventario = RemoteObject.createImmutable(""); +; +Debug.locals.put("id", _id); + BA.debugLineNum = 1980;BA.debugLine="Sub traeinventario(id As String) As String"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1981;BA.debugLine="Dim c As Cursor"; +Debug.ShouldStop(268435456); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1982;BA.debugLine="Dim inventario As String = \"0\""; +Debug.ShouldStop(536870912); +_inventario = BA.ObjectToString("0");Debug.locals.put("inventario", _inventario);Debug.locals.put("inventario", _inventario); + BA.debugLineNum = 1983;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +Debug.ShouldStop(1073741824); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ ))))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 1985;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1986;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1987;BA.debugLine="inventario = c.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(4); +_inventario = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("inventario", _inventario); + }; + BA.debugLineNum = 1989;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1990;BA.debugLine="Return inventario"; +Debug.ShouldStop(32); +if (true) return _inventario; + BA.debugLineNum = 1991;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traemaxpromos(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("traeMaxPromos (subs) ","subs",4,_ba,subs.mostCurrent,1029); +if (RapidSub.canDelegate("traemaxpromos")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traemaxpromos", _ba, _pm);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _maxpromos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _vendidas = RemoteObject.createImmutable(0); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("pm", _pm); + BA.debugLineNum = 1029;BA.debugLine="Sub traeMaxPromos(pm As Map) As Int"; +Debug.ShouldStop(16); + BA.debugLineNum = 1030;BA.debugLine="Private thisLog As Boolean = True 'Si es verdader"; +Debug.ShouldStop(32); +_thislog = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1031;BA.debugLine="Private maxPromos As List"; +Debug.ShouldStop(64); +_maxpromos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("maxPromos", _maxpromos); + BA.debugLineNum = 1032;BA.debugLine="Private vendidas As Int = 0"; +Debug.ShouldStop(128); +_vendidas = BA.numberCast(int.class, 0);Debug.locals.put("vendidas", _vendidas);Debug.locals.put("vendidas", _vendidas); + BA.debugLineNum = 1033;BA.debugLine="maxPromos.Initialize"; +Debug.ShouldStop(256); +_maxpromos.runVoidMethod ("Initialize"); + BA.debugLineNum = 1035;BA.debugLine="If thisLog Then Log(pm)"; +Debug.ShouldStop(1024); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046989318",BA.ObjectToString(_pm),0);}; + BA.debugLineNum = 1036;BA.debugLine="If pm.Get(\"historico\") = \"1\" Then maxPromos.Add(p"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("historico")))),RemoteObject.createImmutable(("1")))) { +_maxpromos.runVoidMethod ("Add",(Object)(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("maxRecurrente"))))));}; + BA.debugLineNum = 1037;BA.debugLine="maxPromos.Add(pm.Get(\"maxPromos\")) 'Agregamos max"; +Debug.ShouldStop(4096); +_maxpromos.runVoidMethod ("Add",(Object)(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("maxPromos")))))); + BA.debugLineNum = 1038;BA.debugLine="maxPromos.Add(pm.Get(\"maxXcliente\")) 'Agregamos m"; +Debug.ShouldStop(8192); +_maxpromos.runVoidMethod ("Add",(Object)(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("maxXcliente")))))); + BA.debugLineNum = 1039;BA.debugLine="If thisLog Then Log(maxPromos)"; +Debug.ShouldStop(16384); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046989322",BA.ObjectToString(_maxpromos),0);}; + BA.debugLineNum = 1040;BA.debugLine="maxPromos.Sort(True)"; +Debug.ShouldStop(32768); +_maxpromos.runVoidMethod ("Sort",(Object)(subs.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 1042;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 1043;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(262144); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? AND PE_FUTURO = '1' ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {(BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))))).runMethod(true,"trim"),_traecliente(_ba).runMethod(true,"trim")}))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + }else { + BA.debugLineNum = 1045;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(1048576); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? AND PE_FUTURO = '0' ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {(BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))))).runMethod(true,"trim"),_traecliente(_ba).runMethod(true,"trim")}))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + }; + BA.debugLineNum = 1047;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1048;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8388608); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1049;BA.debugLine="vendidas = c.GetInt(\"vendidas\")"; +Debug.ShouldStop(16777216); +_vendidas = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("vendidas")));Debug.locals.put("vendidas", _vendidas); + }; + BA.debugLineNum = 1055;BA.debugLine="Return maxPromos.Get(0) - vendidas 'Regresamos el"; +Debug.ShouldStop(1073741824); +if (true) return BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _maxpromos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),_vendidas}, "-",1, 0)); + BA.debugLineNum = 1056;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traemontoprod(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("TraeMontoProd (subs) ","subs",4,_ba,subs.mostCurrent,1321); +if (RapidSub.canDelegate("traemontoprod")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traemontoprod", _ba);} +RemoteObject _x = RemoteObject.createImmutable(false); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1321;BA.debugLine="Sub TraeMontoProd As Boolean"; +Debug.ShouldStop(256); + BA.debugLineNum = 1322;BA.debugLine="Private x As Boolean = False"; +Debug.ShouldStop(512); +_x = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1323;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(1024); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1324;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1325;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4096); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1326;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(8192); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 1327;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1328;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(32768); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1329;BA.debugLine="If c.GetString(\"suma\") >= c2.GetString(\"CAT_PE"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PE_MONTO")))))) { + BA.debugLineNum = 1330;BA.debugLine="x = True"; +Debug.ShouldStop(131072); +_x = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("x", _x); + }else { + BA.debugLineNum = 1333;BA.debugLine="x = False"; +Debug.ShouldStop(1048576); +_x = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("x", _x); + }; + }; + }; + BA.debugLineNum = 1338;BA.debugLine="Return x"; +Debug.ShouldStop(33554432); +if (true) return _x; + BA.debugLineNum = 1339;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traemontoprod2(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("TraeMontoProd2 (subs) ","subs",4,_ba,subs.mostCurrent,1343); +if (RapidSub.canDelegate("traemontoprod2")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traemontoprod2", _ba);} +RemoteObject _x = RemoteObject.createImmutable(false); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1343;BA.debugLine="Sub TraeMontoProd2 As Boolean"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 1345;BA.debugLine="Private x As Boolean = False"; +Debug.ShouldStop(1); +_x = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1347;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(4); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1349;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1351;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(64); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1353;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(256); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 1355;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1357;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(4096); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1359;BA.debugLine="If c.GetString(\"suma\") >= 350 And c.GetString(\""; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 350)) && RemoteObject.solveBoolean("k",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma")))),BA.numberCast(double.class, 499.99))) { + BA.debugLineNum = 1361;BA.debugLine="x = True"; +Debug.ShouldStop(65536); +_x = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("x", _x); + }else { + BA.debugLineNum = 1364;BA.debugLine="x = False"; +Debug.ShouldStop(524288); +_x = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("x", _x); + }; + }; + }; + BA.debugLineNum = 1370;BA.debugLine="Return x"; +Debug.ShouldStop(33554432); +if (true) return _x; + BA.debugLineNum = 1372;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traemosinventariodisponibleparapromo(RemoteObject _ba,RemoteObject _promo) throws Exception{ +try { + Debug.PushSubsStack("traemosInventarioDisponibleParaPromo (subs) ","subs",4,_ba,subs.mostCurrent,952); +if (RapidSub.canDelegate("traemosinventariodisponibleparapromo")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traemosinventariodisponibleparapromo", _ba, _promo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int _i = 0; +; +Debug.locals.put("promo", _promo); + BA.debugLineNum = 952;BA.debugLine="Sub traemosInventarioDisponibleParaPromo(promo As"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 953;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(16777216); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 954;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA"; +Debug.ShouldStop(33554432); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_traetipoventadebd(_ba))))),RemoteObject.createImmutable(" WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_promo}))));Debug.locals.put("c", _c); + BA.debugLineNum = 957;BA.debugLine="Private prods As Map"; +Debug.ShouldStop(268435456); +_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("prods", _prods); + BA.debugLineNum = 958;BA.debugLine="prods.Initialize"; +Debug.ShouldStop(536870912); +_prods.runVoidMethod ("Initialize"); + BA.debugLineNum = 959;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 960;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(-2147483648); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {_c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 961;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 962;BA.debugLine="prods.Put(c.GetString(\"CAT_GP_ID\"), c.GetString"; +Debug.ShouldStop(2); +_prods.runVoidMethod ("Put",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))))),(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 967;BA.debugLine="Return prods"; +Debug.ShouldStop(64); +if (true) return _prods; + BA.debugLineNum = 968;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traenombrecliente(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traeNombreCliente (subs) ","subs",4,_ba,subs.mostCurrent,1506); +if (RapidSub.canDelegate("traenombrecliente")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traenombrecliente", _ba, _id);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _n = RemoteObject.createImmutable(""); +; +Debug.locals.put("id", _id); + BA.debugLineNum = 1506;BA.debugLine="Sub traeNombreCliente(id As String) As String"; +Debug.ShouldStop(2); + BA.debugLineNum = 1507;BA.debugLine="Private c As ResultSet = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(4); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_NOMBRE from kmt_info3 where CAT_CL_CODIGO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1508;BA.debugLine="Private n As String = \"N/A\""; +Debug.ShouldStop(8); +_n = BA.ObjectToString("N/A");Debug.locals.put("n", _n);Debug.locals.put("n", _n); + BA.debugLineNum = 1509;BA.debugLine="Do While c.NextRow"; +Debug.ShouldStop(16); +while (_c.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1510;BA.debugLine="n = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(32); +_n = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")));Debug.locals.put("n", _n); + } +; + BA.debugLineNum = 1512;BA.debugLine="Return n"; +Debug.ShouldStop(128); +if (true) return _n; + BA.debugLineNum = 1513;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeprodiddebd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeProdIdDeBD (subs) ","subs",4,_ba,subs.mostCurrent,1259); +if (RapidSub.canDelegate("traeprodiddebd")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeprodiddebd", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; + BA.debugLineNum = 1259;BA.debugLine="Sub traeProdIdDeBD As Map 'ignore"; +Debug.ShouldStop(1024); + BA.debugLineNum = 1260;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(2048); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1261;BA.debugLine="Private m As Map"; +Debug.ShouldStop(4096); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 1262;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +Debug.ShouldStop(8192); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_TIPO, CAT_GP_SUBTIPO from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_traetipoventadebd(_ba))))),RemoteObject.createImmutable(" where CAT_GP_NOMBRE In (Select PDESC from PROID)"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 1263;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1264;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1265;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; +Debug.ShouldStop(65536); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),RemoteObject.createImmutable(("nombre")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),RemoteObject.createImmutable(("tipo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPO")))),RemoteObject.createImmutable(("subtipo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_SUBTIPO"))))}));Debug.locals.put("m", _m); + }else { + BA.debugLineNum = 1267;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; +Debug.ShouldStop(262144); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("nombre")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("tipo")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("subtipo")),(RemoteObject.createImmutable("N/A"))}));Debug.locals.put("m", _m); + }; + BA.debugLineNum = 1269;BA.debugLine="c.Close"; +Debug.ShouldStop(1048576); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1270;BA.debugLine="Return m"; +Debug.ShouldStop(2097152); +if (true) return _m; + BA.debugLineNum = 1271;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeprodnombre(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traeProdNombre (subs) ","subs",4,_ba,subs.mostCurrent,656); +if (RapidSub.canDelegate("traeprodnombre")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeprodnombre", _ba, _id);} +RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _n = RemoteObject.createImmutable(""); +; +Debug.locals.put("id", _id); + BA.debugLineNum = 656;BA.debugLine="Sub traeProdNombre(id As String) As String"; +Debug.ShouldStop(32768); + BA.debugLineNum = 657;BA.debugLine="Private h As Cursor"; +Debug.ShouldStop(65536); +_h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("h", _h); + BA.debugLineNum = 658;BA.debugLine="Private n As String"; +Debug.ShouldStop(131072); +_n = RemoteObject.createImmutable("");Debug.locals.put("n", _n); + BA.debugLineNum = 659;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT_"; +Debug.ShouldStop(262144); +_h = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_NOMBRE from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_traetipoventadebd(_ba))))),RemoteObject.createImmutable(" where CAT_GP_ID = ? ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_id.runMethod(true,"trim")}))));Debug.locals.put("h", _h); + BA.debugLineNum = 660;BA.debugLine="If h.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_h.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 661;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(1048576); +_h.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 662;BA.debugLine="n = h.GetString(\"CAT_GP_NOMBRE\")"; +Debug.ShouldStop(2097152); +_n = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")));Debug.locals.put("n", _n); + }; + BA.debugLineNum = 665;BA.debugLine="h.Close"; +Debug.ShouldStop(16777216); +_h.runVoidMethod ("Close"); + BA.debugLineNum = 666;BA.debugLine="If n = Null Or n=\"\" Then n = \"N/A\""; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("n",_n) || RemoteObject.solveBoolean("=",_n,BA.ObjectToString(""))) { +_n = BA.ObjectToString("N/A");Debug.locals.put("n", _n);}; + BA.debugLineNum = 668;BA.debugLine="Return n"; +Debug.ShouldStop(134217728); +if (true) return _n; + BA.debugLineNum = 669;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traepromo(RemoteObject _ba,RemoteObject _promo,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("traePromo (subs) ","subs",4,_ba,subs.mostCurrent,2013); +if (RapidSub.canDelegate("traepromo")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traepromo", _ba, _promo, _cliente);} +RemoteObject _iniciocontador = RemoteObject.createImmutable(""); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _sihistorico = RemoteObject.createImmutable(""); +RemoteObject _promomap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsfijosprecios = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariablesprecios = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariablesprecios2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _tipos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int _i = 0; +RemoteObject _pvr = RemoteObject.createImmutable(""); +RemoteObject _pvr2 = RemoteObject.createImmutable(""); +; +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 2013;BA.debugLine="Sub traePromo(promo As String, cliente As String)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 2014;BA.debugLine="Private inicioContador As String = DateTime.Now"; +Debug.ShouldStop(536870912); +_iniciocontador = BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicioContador", _iniciocontador);Debug.locals.put("inicioContador", _iniciocontador); + BA.debugLineNum = 2015;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(1073741824); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("Select * from promos_comp where cat_pa_id = '"),_promo,RemoteObject.createImmutable("'")))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 2016;BA.debugLine="Private siHistorico As String = 0"; +Debug.ShouldStop(-2147483648); +_sihistorico = BA.NumberToString(0);Debug.locals.put("siHistorico", _sihistorico);Debug.locals.put("siHistorico", _sihistorico); + BA.debugLineNum = 2017;BA.debugLine="Private promoMap As Map"; +Debug.ShouldStop(1); +_promomap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("promoMap", _promomap); + BA.debugLineNum = 2018;BA.debugLine="Private prodsFijos, prodsFijosPrecios, prodsFijos"; +Debug.ShouldStop(2); +_prodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsFijos", _prodsfijos); +_prodsfijosprecios = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsFijosPrecios", _prodsfijosprecios); +_prodsfijospiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas); +_prodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsVariables", _prodsvariables); +_prodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsVariables2", _prodsvariables2); +_prodsvariablesprecios = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsVariablesPrecios", _prodsvariablesprecios); +_prodsvariablesprecios2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsVariablesPrecios2", _prodsvariablesprecios2); + BA.debugLineNum = 2019;BA.debugLine="promoMap.Initialize"; +Debug.ShouldStop(4); +_promomap.runVoidMethod ("Initialize"); + BA.debugLineNum = 2020;BA.debugLine="prodsFijos.Initialize"; +Debug.ShouldStop(8); +_prodsfijos.runVoidMethod ("Initialize"); + BA.debugLineNum = 2021;BA.debugLine="prodsFijosPrecios.Initialize"; +Debug.ShouldStop(16); +_prodsfijosprecios.runVoidMethod ("Initialize"); + BA.debugLineNum = 2022;BA.debugLine="prodsFijosPiezas.Initialize"; +Debug.ShouldStop(32); +_prodsfijospiezas.runVoidMethod ("Initialize"); + BA.debugLineNum = 2023;BA.debugLine="prodsVariables.Initialize"; +Debug.ShouldStop(64); +_prodsvariables.runVoidMethod ("Initialize"); + BA.debugLineNum = 2024;BA.debugLine="prodsVariables2.Initialize"; +Debug.ShouldStop(128); +_prodsvariables2.runVoidMethod ("Initialize"); + BA.debugLineNum = 2025;BA.debugLine="prodsVariablesPrecios.Initialize"; +Debug.ShouldStop(256); +_prodsvariablesprecios.runVoidMethod ("Initialize"); + BA.debugLineNum = 2026;BA.debugLine="prodsVariablesPrecios2.Initialize"; +Debug.ShouldStop(512); +_prodsvariablesprecios2.runVoidMethod ("Initialize"); + BA.debugLineNum = 2027;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1024); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2028;BA.debugLine="If c.RowCount > 0 Then promoMap = CreateMap(\"id\":"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_promomap = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_promo),RemoteObject.createImmutable(("maxXcliente")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMCLIE")))),RemoteObject.createImmutable(("maxRecurrente")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMREC")))),RemoteObject.createImmutable(("maxPromos")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROM"))))}));Debug.locals.put("promoMap", _promomap);}; + BA.debugLineNum = 2029;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +Debug.ShouldStop(4096); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("Select count(*) as hist from HIST_PROMOS where HP_CLIENTE = '"),_cliente,RemoteObject.createImmutable("' and HP_CODIGO_PROMOCION = '"),_promo,RemoteObject.createImmutable("'")))));Debug.locals.put("c", _c); + BA.debugLineNum = 2030;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8192); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2031;BA.debugLine="If c.GetString(\"hist\") > 0 Then siHistorico = 1"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hist")))),BA.numberCast(double.class, 0))) { +_sihistorico = BA.NumberToString(1);Debug.locals.put("siHistorico", _sihistorico);}; + BA.debugLineNum = 2032;BA.debugLine="promoMap.Put(\"historico\", siHistorico)"; +Debug.ShouldStop(32768); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("historico"))),(Object)((_sihistorico))); + BA.debugLineNum = 2033;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select * fr"; +Debug.ShouldStop(65536); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("Select * from CAT_DETALLES_PAQ where CAT_DP_ID = '"),_promo,RemoteObject.createImmutable("'")))));Debug.locals.put("c", _c); + BA.debugLineNum = 2034;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(131072); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2035;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2036;BA.debugLine="Private prods, tipos As Map"; +Debug.ShouldStop(524288); +_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("prods", _prods); +_tipos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("tipos", _tipos); + BA.debugLineNum = 2037;BA.debugLine="prods.Initialize"; +Debug.ShouldStop(1048576); +_prods.runVoidMethod ("Initialize"); + BA.debugLineNum = 2038;BA.debugLine="tipos.Initialize"; +Debug.ShouldStop(2097152); +_tipos.runVoidMethod ("Initialize"); + BA.debugLineNum = 2039;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(4194304); +{ +final int step26 = 1; +final int limit26 = RemoteObject.solve(new RemoteObject[] {_c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step26 > 0 && _i <= limit26) || (step26 < 0 && _i >= limit26) ;_i = ((int)(0 + _i + step26)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2040;BA.debugLine="c.Position=i"; +Debug.ShouldStop(8388608); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2041;BA.debugLine="prods.Put(c.GetString(\"CAT_DP_IDPROD\"), CreateM"; +Debug.ShouldStop(16777216); +_prods.runVoidMethod ("Put",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))),(Object)((subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idProducto")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),RemoteObject.createImmutable(("precioSimptos")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),RemoteObject.createImmutable(("precio")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),RemoteObject.createImmutable(("almacen")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_ALMACEN")))),RemoteObject.createImmutable(("tipo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO")))),RemoteObject.createImmutable(("piezas")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),RemoteObject.createImmutable(("usuario")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_USUARIO")))),RemoteObject.createImmutable(("regalo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_REGALO")))),RemoteObject.createImmutable(("clasif")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_CLASIF"))))})).getObject()))); + BA.debugLineNum = 2042;BA.debugLine="tipos.Put(c.GetString(\"CAT_DP_IDPROD\"), c.GetSt"; +Debug.ShouldStop(33554432); +_tipos.runVoidMethod ("Put",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))),(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO")))))); + BA.debugLineNum = 2043;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"0\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 2044;BA.debugLine="prodsFijos.Add(c.GetString(\"CAT_DP_IDPROD\"))"; +Debug.ShouldStop(134217728); +_prodsfijos.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))))); + BA.debugLineNum = 2045;BA.debugLine="prodsFijosPrecios.Add(c.GetString(\"CAT_DP_PREC"; +Debug.ShouldStop(268435456); +_prodsfijosprecios.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))))); + BA.debugLineNum = 2046;BA.debugLine="prodsFijosPiezas.Add(c.GetString(\"CAT_DP_PZAS\""; +Debug.ShouldStop(536870912); +_prodsfijospiezas.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))))); + }; + BA.debugLineNum = 2048;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"1\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 2049;BA.debugLine="prodsVariables.Add(c.GetString(\"CAT_DP_IDPROD\""; +Debug.ShouldStop(1); +_prodsvariables.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))))); + BA.debugLineNum = 2050;BA.debugLine="prodsVariablesPrecios.Add(c.GetString(\"CAT_DP_"; +Debug.ShouldStop(2); +_prodsvariablesprecios.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))))); + }; + BA.debugLineNum = 2052;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"2\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO"))),BA.ObjectToString("2"))) { + BA.debugLineNum = 2054;BA.debugLine="prodsVariables2.Add(c.GetString(\"CAT_DP_IDPROD"; +Debug.ShouldStop(32); +_prodsvariables2.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))))); + BA.debugLineNum = 2055;BA.debugLine="prodsVariablesPrecios2.Add(c.GetString(\"CAT_DP"; +Debug.ShouldStop(64); +_prodsvariablesprecios2.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2060;BA.debugLine="promoMap.Put(\"productos\", prods) 'Mapa con los p"; +Debug.ShouldStop(2048); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("productos"))),(Object)((_prods.getObject()))); + BA.debugLineNum = 2061;BA.debugLine="promoMap.Put(\"tipos\", tipos) 'Mapa con los produ"; +Debug.ShouldStop(4096); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("tipos"))),(Object)((_tipos.getObject()))); + BA.debugLineNum = 2062;BA.debugLine="promoMap.Put(\"prodsFijos\", prodsFijos) 'Lista de"; +Debug.ShouldStop(8192); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsFijos"))),(Object)((_prodsfijos.getObject()))); + BA.debugLineNum = 2063;BA.debugLine="promoMap.Put(\"prodsVariables\", prodsVariables) '"; +Debug.ShouldStop(16384); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariables"))),(Object)((_prodsvariables.getObject()))); + BA.debugLineNum = 2064;BA.debugLine="promoMap.Put(\"prodsVariables2\", prodsVariables2)"; +Debug.ShouldStop(32768); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariables2"))),(Object)((_prodsvariables2.getObject()))); + BA.debugLineNum = 2065;BA.debugLine="promoMap.Put(\"prodsFijosCant\", prodsFijos.Size)"; +Debug.ShouldStop(65536); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsFijosCant"))),(Object)((_prodsfijos.runMethod(true,"getSize")))); + BA.debugLineNum = 2066;BA.debugLine="promoMap.Put(\"prodsFijosPrecios\", prodsFijosPrec"; +Debug.ShouldStop(131072); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsFijosPrecios"))),(Object)((_prodsfijosprecios.getObject()))); + BA.debugLineNum = 2067;BA.debugLine="promoMap.Put(\"prodsFijosPiezas\", prodsFijosPieza"; +Debug.ShouldStop(262144); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsFijosPiezas"))),(Object)((_prodsfijospiezas.getObject()))); + BA.debugLineNum = 2068;BA.debugLine="promoMap.Put(\"prodsVariablesCant\", prodsVariable"; +Debug.ShouldStop(524288); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariablesCant"))),(Object)((_prodsvariables.runMethod(true,"getSize")))); + BA.debugLineNum = 2069;BA.debugLine="promoMap.Put(\"prodsVariables2Cant\", prodsVariabl"; +Debug.ShouldStop(1048576); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariables2Cant"))),(Object)((_prodsvariables2.runMethod(true,"getSize")))); + BA.debugLineNum = 2070;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios\", prodsVaria"; +Debug.ShouldStop(2097152); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariablesPrecios"))),(Object)((_prodsvariablesprecios.getObject()))); + BA.debugLineNum = 2071;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios2\", prodsVari"; +Debug.ShouldStop(4194304); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariablesPrecios2"))),(Object)((_prodsvariablesprecios2.getObject()))); + BA.debugLineNum = 2072;BA.debugLine="promoMap.Put(\"resultado\", \"ok\")"; +Debug.ShouldStop(8388608); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("ok")))); + }else { + BA.debugLineNum = 2074;BA.debugLine="promoMap.Put(\"resultado\", \"No hay datos de la pr"; +Debug.ShouldStop(33554432); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("No hay datos de la promoción.")))); + }; + BA.debugLineNum = 2076;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"Select CA"; +Debug.ShouldStop(134217728); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select CAT_GP_STS, CAT_GP_IMP1, CAT_GP_NOMBRE from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = ?")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_promo}))));Debug.locals.put("c", _c); + BA.debugLineNum = 2077;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(268435456); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2078;BA.debugLine="Private pvr As String = 0"; +Debug.ShouldStop(536870912); +_pvr = BA.NumberToString(0);Debug.locals.put("pvr", _pvr);Debug.locals.put("pvr", _pvr); + BA.debugLineNum = 2079;BA.debugLine="Private pvr2 As String = 0"; +Debug.ShouldStop(1073741824); +_pvr2 = BA.NumberToString(0);Debug.locals.put("pvr2", _pvr2);Debug.locals.put("pvr2", _pvr2); + BA.debugLineNum = 2080;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2081;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2082;BA.debugLine="pvr = c.GetString(\"CAT_GP_STS\")"; +Debug.ShouldStop(2); +_pvr = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_STS")));Debug.locals.put("pvr", _pvr); + BA.debugLineNum = 2083;BA.debugLine="pvr2 = c.GetString(\"CAT_GP_IMP1\")"; +Debug.ShouldStop(4); +_pvr2 = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_IMP1")));Debug.locals.put("pvr2", _pvr2); + BA.debugLineNum = 2084;BA.debugLine="If pvr = Null Or pvr = \"null\" Then pvr = 0"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("n",_pvr) || RemoteObject.solveBoolean("=",_pvr,BA.ObjectToString("null"))) { +_pvr = BA.NumberToString(0);Debug.locals.put("pvr", _pvr);}; + BA.debugLineNum = 2085;BA.debugLine="If pvr2 = Null Or pvr2 = \"null\" Then pvr2 = 0"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("n",_pvr2) || RemoteObject.solveBoolean("=",_pvr2,BA.ObjectToString("null"))) { +_pvr2 = BA.NumberToString(0);Debug.locals.put("pvr2", _pvr2);}; + BA.debugLineNum = 2086;BA.debugLine="promoMap.Put(\"prodsVariablesRequeridos\", pvr) 'C"; +Debug.ShouldStop(32); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariablesRequeridos"))),(Object)((_pvr))); + BA.debugLineNum = 2087;BA.debugLine="promoMap.Put(\"prodsVariables2Requeridos\", pvr2)"; +Debug.ShouldStop(64); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariables2Requeridos"))),(Object)((_pvr2))); + BA.debugLineNum = 2088;BA.debugLine="promoMap.put(\"descripcion\", c.GetString(\"CAT_GP_"; +Debug.ShouldStop(128); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("descripcion"))),(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))))); + }; + BA.debugLineNum = 2090;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 2095;BA.debugLine="Return promoMap"; +Debug.ShouldStop(16384); +if (true) return _promomap; + BA.debugLineNum = 2096;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traepromoiddebd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traePromoIdDeBD (subs) ","subs",4,_ba,subs.mostCurrent,1276); +if (RapidSub.canDelegate("traepromoiddebd")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traepromoiddebd", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; + BA.debugLineNum = 1276;BA.debugLine="Sub traePromoIdDeBD As Map 'ignore"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1277;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(268435456); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1278;BA.debugLine="Private m As Map"; +Debug.ShouldStop(536870912); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 1280;BA.debugLine="Log(\"ENTRE\")"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047448068",RemoteObject.createImmutable("ENTRE"),0); + BA.debugLineNum = 1281;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +Debug.ShouldStop(1); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_TIPO, CAT_GP_SUBTIPO from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_traetipoventadebd(_ba))))),RemoteObject.createImmutable(" where CAT_GP_NOMBRE In (Select PDESC from PROID) and CAT_GP_TIPO = 'PROMOS'"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 1282;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1283;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1284;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; +Debug.ShouldStop(8); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),RemoteObject.createImmutable(("nombre")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),RemoteObject.createImmutable(("tipo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPO")))),RemoteObject.createImmutable(("subtipo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_SUBTIPO"))))}));Debug.locals.put("m", _m); + }else { + BA.debugLineNum = 1286;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; +Debug.ShouldStop(32); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("nombre")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("tipo")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("subtipo")),(RemoteObject.createImmutable("N/A"))}));Debug.locals.put("m", _m); + }; + BA.debugLineNum = 1288;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1290;BA.debugLine="Return m"; +Debug.ShouldStop(512); +if (true) return _m; + BA.debugLineNum = 1291;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traepromosvendidas(RemoteObject _ba,RemoteObject _promo,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("traePromosVendidas (subs) ","subs",4,_ba,subs.mostCurrent,1059); +if (RapidSub.canDelegate("traepromosvendidas")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traepromosvendidas", _ba, _promo, _cliente);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _pv = RemoteObject.createImmutable(0); +; +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1059;BA.debugLine="Sub traePromosVendidas(promo As String, cliente As"; +Debug.ShouldStop(4); + BA.debugLineNum = 1060;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(8); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1061;BA.debugLine="Private pv As Int = 0"; +Debug.ShouldStop(16); +_pv = BA.numberCast(int.class, 0);Debug.locals.put("pv", _pv);Debug.locals.put("pv", _pv); + BA.debugLineNum = 1062;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_FUTURA"))) { + BA.debugLineNum = 1063;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C"; +Debug.ShouldStop(64); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_CANT from PEDIDO where PE_PROID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_promo))),RemoteObject.createImmutable("' and PE_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' AND PE_FUTURO = '1' "))))));Debug.locals.put("c", _c); + }else { + BA.debugLineNum = 1065;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C"; +Debug.ShouldStop(256); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_CANT from PEDIDO where PE_PROID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_promo))),RemoteObject.createImmutable("' and PE_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' AND PE_FUTURO = '0' "))))));Debug.locals.put("c", _c); + }; + BA.debugLineNum = 1067;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1068;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1069;BA.debugLine="pv = c.GetInt(\"PE_CANT\")"; +Debug.ShouldStop(4096); +_pv = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("pv", _pv); + }; + BA.debugLineNum = 1071;BA.debugLine="Return pv"; +Debug.ShouldStop(16384); +if (true) return _pv; + BA.debugLineNum = 1072;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeruta(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeRuta (subs) ","subs",4,_ba,subs.mostCurrent,673); +if (RapidSub.canDelegate("traeruta")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeruta", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _r = RemoteObject.createImmutable(""); +RemoteObject _idcliente = RemoteObject.createImmutable(""); +RemoteObject _elcc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 673;BA.debugLine="Sub traeRuta As String 'ignore"; +Debug.ShouldStop(1); + BA.debugLineNum = 674;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(2); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 675;BA.debugLine="Private r As String = \"0\""; +Debug.ShouldStop(4); +_r = BA.ObjectToString("0");Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 676;BA.debugLine="Private idCliente As String = \"\""; +Debug.ShouldStop(8); +_idcliente = BA.ObjectToString("");Debug.locals.put("idCliente", _idcliente);Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 677;BA.debugLine="Try"; +Debug.ShouldStop(16); +try { BA.debugLineNum = 678;BA.debugLine="Private elCc As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(32); +_elcc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_elcc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select CUENTA from CUENTAA")))));Debug.locals.put("elCc", _elcc);Debug.locals.put("elCc", _elcc); + BA.debugLineNum = 679;BA.debugLine="If elCc.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_elcc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 680;BA.debugLine="elCc.Position = 0"; +Debug.ShouldStop(128); +_elcc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 681;BA.debugLine="idCliente = elCc.GetString(\"CUENTA\")"; +Debug.ShouldStop(256); +_idcliente = _elcc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")));Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 682;BA.debugLine="Log(\"|\"&elCc.GetString(\"CUENTA\")&\"|\")"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046071817",RemoteObject.concat(RemoteObject.createImmutable("|"),_elcc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),RemoteObject.createImmutable("|")),0); + }; + BA.debugLineNum = 685;BA.debugLine="If idCliente <> \"\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",_idcliente,BA.ObjectToString(""))) { + BA.debugLineNum = 687;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select d"; +Debug.ShouldStop(16384); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c); + }else { + BA.debugLineNum = 690;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select di"; +Debug.ShouldStop(131072); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))));Debug.locals.put("c", _c); + }; + BA.debugLineNum = 693;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 695;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4194304); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 696;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(8388608); +_r = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("r", _r); + }; + BA.debugLineNum = 698;BA.debugLine="c.Close"; +Debug.ShouldStop(33554432); +_c.runVoidMethod ("Close"); + Debug.CheckDeviceExceptions(); +} + catch (Exception e22) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e22.toString()); BA.debugLineNum = 700;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","046071835",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + BA.debugLineNum = 703;BA.debugLine="Return r"; +Debug.ShouldStop(1073741824); +if (true) return _r; + BA.debugLineNum = 704;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeruta2(RemoteObject _ba,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("traeRuta2 (subs) ","subs",4,_ba,subs.mostCurrent,773); +if (RapidSub.canDelegate("traeruta2")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeruta2", _ba, _cliente);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _r = RemoteObject.createImmutable(""); +; +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 773;BA.debugLine="Sub traeRuta2 (cliente As String) As String 'ignor"; +Debug.ShouldStop(16); + BA.debugLineNum = 774;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(32); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 775;BA.debugLine="Private r As String"; +Debug.ShouldStop(64); +_r = RemoteObject.createImmutable("");Debug.locals.put("r", _r); + BA.debugLineNum = 776;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C"; +Debug.ShouldStop(128); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 777;BA.debugLine="r = \"0\""; +Debug.ShouldStop(256); +_r = BA.ObjectToString("0");Debug.locals.put("r", _r); + BA.debugLineNum = 778;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 779;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1024); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 780;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(2048); +_r = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("r", _r); + }; + BA.debugLineNum = 782;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 783;BA.debugLine="Return r"; +Debug.ShouldStop(16384); +if (true) return _r; + BA.debugLineNum = 784;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traerutabitacora(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeRutaBitacora (subs) ","subs",4,_ba,subs.mostCurrent,786); +if (RapidSub.canDelegate("traerutabitacora")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traerutabitacora", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _r = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 786;BA.debugLine="Sub traeRutaBitacora As String 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 787;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(262144); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 788;BA.debugLine="Private r As String"; +Debug.ShouldStop(524288); +_r = RemoteObject.createImmutable("");Debug.locals.put("r", _r); + BA.debugLineNum = 789;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; +Debug.ShouldStop(1048576); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info3 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 790;BA.debugLine="r = \"0\""; +Debug.ShouldStop(2097152); +_r = BA.ObjectToString("0");Debug.locals.put("r", _r); + BA.debugLineNum = 791;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 792;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8388608); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 793;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(16777216); +_r = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("r", _r); + }; + BA.debugLineNum = 795;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 796;BA.debugLine="Return r"; +Debug.ShouldStop(134217728); +if (true) return _r; + BA.debugLineNum = 797;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traerutassup(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeRutasSup (subs) ","subs",4,_ba,subs.mostCurrent,800); +if (RapidSub.canDelegate("traerutassup")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traerutassup", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rutas = RemoteObject.createImmutable(""); +int _i = 0; +; + BA.debugLineNum = 800;BA.debugLine="Sub traeRutasSup As String"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 801;BA.debugLine="Dim c As Cursor"; +Debug.ShouldStop(1); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 802;BA.debugLine="Dim rutas As String"; +Debug.ShouldStop(2); +_rutas = RemoteObject.createImmutable("");Debug.locals.put("rutas", _rutas); + BA.debugLineNum = 803;BA.debugLine="rutas = \"\""; +Debug.ShouldStop(4); +_rutas = BA.ObjectToString("");Debug.locals.put("rutas", _rutas); + BA.debugLineNum = 805;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_"; +Debug.ShouldStop(16); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info3"))));Debug.locals.put("c", _c); + BA.debugLineNum = 807;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 808;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(128); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {_c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 809;BA.debugLine="c.Position = i"; +Debug.ShouldStop(256); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 810;BA.debugLine="rutas = rutas & c.GetString(\"CAT_CL_RUTA\") & \","; +Debug.ShouldStop(512); +_rutas = RemoteObject.concat(_rutas,_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),RemoteObject.createImmutable(", "));Debug.locals.put("rutas", _rutas); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 812;BA.debugLine="If rutas.Length > 0 Then rutas = rutas.SubString"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_rutas.runMethod(true,"length"),BA.numberCast(double.class, 0))) { +_rutas = _rutas.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {_rutas.runMethod(true,"length"),RemoteObject.createImmutable(2)}, "-",1, 1)));Debug.locals.put("rutas", _rutas);}; + }; + BA.debugLineNum = 815;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 816;BA.debugLine="Return rutas"; +Debug.ShouldStop(32768); +if (true) return _rutas; + BA.debugLineNum = 817;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetablaprods(RemoteObject _ba,RemoteObject _tipoventa) throws Exception{ +try { + Debug.PushSubsStack("traeTablaProds (subs) ","subs",4,_ba,subs.mostCurrent,1853); +if (RapidSub.canDelegate("traetablaprods")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetablaprods", _ba, _tipoventa);} +RemoteObject _tablaprods = RemoteObject.createImmutable(""); +; +Debug.locals.put("tipoventa", _tipoventa); + BA.debugLineNum = 1853;BA.debugLine="Sub traeTablaProds(tipoventa As String) As String"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 1854;BA.debugLine="Log(tipoventa)"; +Debug.ShouldStop(536870912); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048824321",_tipoventa,0); + BA.debugLineNum = 1855;BA.debugLine="Private tablaProds As String = \"cat_gunaprod2\""; +Debug.ShouldStop(1073741824); +_tablaprods = BA.ObjectToString("cat_gunaprod2");Debug.locals.put("tablaProds", _tablaprods);Debug.locals.put("tablaProds", _tablaprods); + BA.debugLineNum = 1856;BA.debugLine="If tipoventa = \"ABORDO\" Or tipoventa = \"PREVENTA\""; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_tipoventa,BA.ObjectToString("ABORDO")) || RemoteObject.solveBoolean("=",_tipoventa,BA.ObjectToString("PREVENTA")) || RemoteObject.solveBoolean("=",_tipoventa,BA.ObjectToString("PREVENTA_FUTURA")) || RemoteObject.solveBoolean("=",_tipoventa,BA.ObjectToString("MAYOREO"))) { +_tablaprods = BA.ObjectToString("cat_gunaprod");Debug.locals.put("tablaProds", _tablaprods);}; + BA.debugLineNum = 1858;BA.debugLine="Return tablaProds"; +Debug.ShouldStop(2); +if (true) return _tablaprods; + BA.debugLineNum = 1859;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetipocliente(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTipoCliente (subs) ","subs",4,_ba,subs.mostCurrent,1967); +if (RapidSub.canDelegate("traetipocliente")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetipocliente", _ba);} +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _tc = RemoteObject.createImmutable(0); +; + BA.debugLineNum = 1967;BA.debugLine="Sub traeTipoCliente As Int"; +Debug.ShouldStop(16384); + BA.debugLineNum = 1968;BA.debugLine="Private x As Cursor"; +Debug.ShouldStop(32768); +_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("x", _x); + BA.debugLineNum = 1969;BA.debugLine="Private tc As Int = 3"; +Debug.ShouldStop(65536); +_tc = BA.numberCast(int.class, 3);Debug.locals.put("tc", _tc);Debug.locals.put("tc", _tc); + BA.debugLineNum = 1970;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(cat_cl"; +Debug.ShouldStop(131072); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select IFNULL(cat_cl_tipocliente,3) AS CAT_CL_TIPOCLIENTE from kmt_info3 where cat_cl_codigo in (select cuenta from cuentaa)")))));Debug.locals.put("x", _x); + BA.debugLineNum = 1971;BA.debugLine="If x.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1972;BA.debugLine="x.Position = 0"; +Debug.ShouldStop(524288); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1974;BA.debugLine="tc = x.GetInt(\"CAT_CL_TIPOCLIENTE\")"; +Debug.ShouldStop(2097152); +_tc = _x.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")));Debug.locals.put("tc", _tc); + }; + BA.debugLineNum = 1977;BA.debugLine="Return tc"; +Debug.ShouldStop(16777216); +if (true) return _tc; + BA.debugLineNum = 1978;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetipoventadebd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTipoVentaDeBD (subs) ","subs",4,_ba,subs.mostCurrent,1876); +if (RapidSub.canDelegate("traetipoventadebd")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetipoventadebd", _ba);} +RemoteObject _tipoventa = RemoteObject.createImmutable(""); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +; + BA.debugLineNum = 1876;BA.debugLine="Sub traeTipoVentaDeBD As String"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1877;BA.debugLine="Private tipoVenta As String = \"PREVENTA\""; +Debug.ShouldStop(1048576); +_tipoventa = BA.ObjectToString("PREVENTA");Debug.locals.put("tipoVenta", _tipoventa);Debug.locals.put("tipoVenta", _tipoventa); + BA.debugLineNum = 1878;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery(\""; +Debug.ShouldStop(2097152); +_r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_r = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'TIPO_VENTA' "))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 1879;BA.debugLine="Do While r.NextRow"; +Debug.ShouldStop(4194304); +while (_r.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1880;BA.debugLine="tipoVenta = r.GetString(\"CAT_VA_VALOR\").As(Strin"; +Debug.ShouldStop(8388608); +_tipoventa = (_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))).runMethod(true,"toUpperCase");Debug.locals.put("tipoVenta", _tipoventa); + } +; + BA.debugLineNum = 1882;BA.debugLine="If Starter.idCliente = \"0\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",subs.mostCurrent._starter._idcliente /*RemoteObject*/ ,BA.ObjectToString("0"))) { + BA.debugLineNum = 1883;BA.debugLine="tipoVenta = \"ABORDO\""; +Debug.ShouldStop(67108864); +_tipoventa = BA.ObjectToString("ABORDO");Debug.locals.put("tipoVenta", _tipoventa); + }; + BA.debugLineNum = 1886;BA.debugLine="Return tipoVenta"; +Debug.ShouldStop(536870912); +if (true) return _tipoventa; + BA.debugLineNum = 1887;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetotalesclienteactual(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTotalesClienteActual (subs) ","subs",4,_ba,subs.mostCurrent,1994); +if (RapidSub.canDelegate("traetotalesclienteactual")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetotalesclienteactual", _ba);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _c_prodsx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1994;BA.debugLine="Sub traeTotalesClienteActual As Map"; +Debug.ShouldStop(512); + BA.debugLineNum = 1995;BA.debugLine="Private m As Map"; +Debug.ShouldStop(1024); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 1996;BA.debugLine="m.Initialize"; +Debug.ShouldStop(2048); +_m.runVoidMethod ("Initialize"); + BA.debugLineNum = 1997;BA.debugLine="Private c_prodsX As Cursor=B4XPages.MainPage.skmt"; +Debug.ShouldStop(4096); +_c_prodsx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c_prodsx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ifnull(sum(PE_CANT), 0) as cantProds, ifnull(sum(PE_COSTO_TOT), 0) as costoTotal FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PRONOMBRE asc"))));Debug.locals.put("c_prodsX", _c_prodsx);Debug.locals.put("c_prodsX", _c_prodsx); + BA.debugLineNum = 1998;BA.debugLine="c_prodsX.Position=0"; +Debug.ShouldStop(8192); +_c_prodsx.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2000;BA.debugLine="m = CreateMap(\"productos\": c_prodsX.GetString(\"ca"; +Debug.ShouldStop(32768); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("productos")),(_c_prodsx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cantProds")))),RemoteObject.createImmutable(("monto")),(_c_prodsx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("costoTotal"))))}));Debug.locals.put("m", _m); + BA.debugLineNum = 2001;BA.debugLine="Return m"; +Debug.ShouldStop(65536); +if (true) return _m; + BA.debugLineNum = 2002;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeusarintentbdwa(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeUsarIntentBDWA (subs) ","subs",4,_ba,subs.mostCurrent,1751); +if (RapidSub.canDelegate("traeusarintentbdwa")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeusarintentbdwa", _ba);} +RemoteObject _bdwa = RemoteObject.createImmutable(false); +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1751;BA.debugLine="Sub traeUsarIntentBDWA As Boolean 'ignore"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1752;BA.debugLine="Private BDWA As Boolean = False"; +Debug.ShouldStop(8388608); +_bdwa = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("BDWA", _bdwa);Debug.locals.put("BDWA", _bdwa); + BA.debugLineNum = 1753;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery($\"se"; +Debug.ShouldStop(16777216); +_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'IMPORTAR_BD_WA'")))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1754;BA.debugLine="If x.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1755;BA.debugLine="x.Position = 0"; +Debug.ShouldStop(67108864); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1756;BA.debugLine="If x.GetString(\"CAT_VA_VALOR\") = \"true\" Then BDW"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.ObjectToString("true"))) { +_bdwa = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("BDWA", _bdwa);}; + }; + BA.debugLineNum = 1759;BA.debugLine="Return BDWA"; +Debug.ShouldStop(1073741824); +if (true) return _bdwa; + BA.debugLineNum = 1760;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeusuariodebd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeUsuarioDeBD (subs) ","subs",4,_ba,subs.mostCurrent,840); +if (RapidSub.canDelegate("traeusuariodebd")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeusuariodebd", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 840;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; +Debug.ShouldStop(128); + BA.debugLineNum = 841;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(256); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 842;BA.debugLine="Private u As String = \"SinUsuario\""; +Debug.ShouldStop(512); +_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 843;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +Debug.ShouldStop(1024); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._kmt.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 844;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(2048); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs._kmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("c", _c); + BA.debugLineNum = 845;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4096); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 846;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_u = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("u", _u);}; + BA.debugLineNum = 847;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 848;BA.debugLine="Return u"; +Debug.ShouldStop(32768); +if (true) return _u; + BA.debugLineNum = 849;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traevariable(RemoteObject _ba,RemoteObject _nombre) throws Exception{ +try { + Debug.PushSubsStack("traeVariable (subs) ","subs",4,_ba,subs.mostCurrent,1896); +if (RapidSub.canDelegate("traevariable")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traevariable", _ba, _nombre);} +RemoteObject _valor = RemoteObject.createImmutable(""); +RemoteObject _lavc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("nombre", _nombre); + BA.debugLineNum = 1896;BA.debugLine="Sub traeVariable(nombre As String) As String"; +Debug.ShouldStop(128); + BA.debugLineNum = 1897;BA.debugLine="Private valor As String = \"\""; +Debug.ShouldStop(256); +_valor = BA.ObjectToString("");Debug.locals.put("valor", _valor);Debug.locals.put("valor", _valor); + BA.debugLineNum = 1898;BA.debugLine="Private laVc As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(512); +_lavc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_lavc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nombre))),RemoteObject.createImmutable("'"))))));Debug.locals.put("laVc", _lavc);Debug.locals.put("laVc", _lavc); + BA.debugLineNum = 1899;BA.debugLine="If laVc.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_lavc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1900;BA.debugLine="laVc.Position = 0"; +Debug.ShouldStop(2048); +_lavc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1901;BA.debugLine="valor = laVc.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(4096); +_valor = _lavc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("valor", _valor); + }; + BA.debugLineNum = 1903;BA.debugLine="Return valor"; +Debug.ShouldStop(16384); +if (true) return _valor; + BA.debugLineNum = 1904;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _validapromoprocterpro3009(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("validaPromoProcterPRO3009 (subs) ","subs",4,_ba,subs.mostCurrent,1602); +if (RapidSub.canDelegate("validapromoprocterpro3009")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","validapromoprocterpro3009", _ba);} +RemoteObject _idregalo = RemoteObject.createImmutable(""); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _monto = RemoteObject.createImmutable(""); +RemoteObject _r2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +; + BA.debugLineNum = 1602;BA.debugLine="Sub validaPromoProcterPRO3009"; +Debug.ShouldStop(2); + BA.debugLineNum = 1603;BA.debugLine="Private idRegalo As String = \"PYG1016\""; +Debug.ShouldStop(4); +_idregalo = BA.ObjectToString("PYG1016");Debug.locals.put("idRegalo", _idregalo);Debug.locals.put("idRegalo", _idregalo); + BA.debugLineNum = 1604;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(8); +_r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_r = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select pe_cliente from pedido where pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idregalo))),RemoteObject.createImmutable("' and pe_cedis = 'PRO3009'"))))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 1606;BA.debugLine="Do While r.NextRow"; +Debug.ShouldStop(32); +while (_r.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1607;BA.debugLine="Private monto As String = 0"; +Debug.ShouldStop(64); +_monto = BA.NumberToString(0);Debug.locals.put("monto", _monto);Debug.locals.put("monto", _monto); + BA.debugLineNum = 1608;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery"; +Debug.ShouldStop(128); +_r2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_r2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select ifnull(sum(pe_costo_tot),0) as monto from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("' and PE_PROID in (\"PYG1014\", \"PYG1025\")"))))));Debug.locals.put("r2", _r2);Debug.locals.put("r2", _r2); + BA.debugLineNum = 1609;BA.debugLine="Do While r2.NextRow"; +Debug.ShouldStop(256); +while (_r2.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1610;BA.debugLine="Log($\"Cliente: ${r.GetString(\"PE_CLIENTE\")}, mo"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","048168968",(RemoteObject.concat(RemoteObject.createImmutable("Cliente: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable(", monto: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("monto")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1613;BA.debugLine="If r2.GetString(\"monto\") < 150 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _r2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("monto")))),BA.numberCast(double.class, 150))) { + BA.debugLineNum = 1614;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; +Debug.ShouldStop(8192); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis = 'PRO3009' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idregalo))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("' and pe_cant = 1 "))))); + BA.debugLineNum = 1616;BA.debugLine="Msgbox($\"Regalo de la promoción PRO3009 borrad"; +Debug.ShouldStop(32768); +subs.mostCurrent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence((RemoteObject.createImmutable("Regalo de la promoción PRO3009 borrado por no cumplir con los requisitos mínimos.")))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Regalo Borrado"))),_ba); + }; + } +; + BA.debugLineNum = 1620;BA.debugLine="r2 = Starter.skmt.ExecQuery($\"select count(pe_pr"; +Debug.ShouldStop(524288); +_r2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(pe_proid) as cuantos from pedido where pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("r2", _r2); + BA.debugLineNum = 1621;BA.debugLine="Do While r2.NextRow"; +Debug.ShouldStop(1048576); +while (_r2.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 1623;BA.debugLine="If r2.GetString(\"cuantos\") = 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_r2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantos"))),BA.NumberToString(0))) { + BA.debugLineNum = 1624;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; +Debug.ShouldStop(8388608); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido_cliente where pc_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1625;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info3 s"; +Debug.ShouldStop(16777216); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update kmt_info3 set gestion = 0 where cat_cl_codigo = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("'"))))); + }; + } +; + } +; + BA.debugLineNum = 1629;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _vendidopromoesp(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("vendidoPromoEsp (subs) ","subs",4,_ba,subs.mostCurrent,1396); +if (RapidSub.canDelegate("vendidopromoesp")) { return gunav2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","vendidopromoesp", _ba);} +RemoteObject _w = RemoteObject.createImmutable(false); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1396;BA.debugLine="Sub vendidoPromoEsp As Boolean"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1397;BA.debugLine="Private w As Boolean = False"; +Debug.ShouldStop(1048576); +_w = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 1398;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(2097152); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HP_CLIENTE, HP_CODIGO_PROMOCION from HIST_PROMOS WHERE HP_CODIGO_PROMOCION IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP) AND HP_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1399;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1400;BA.debugLine="w = True"; +Debug.ShouldStop(8388608); +_w = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("w", _w); + }; + BA.debugLineNum = 1402;BA.debugLine="Log(w)"; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047841286",BA.ObjectToString(_w),0); + BA.debugLineNum = 1403;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1404;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(134217728); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PROID from PEDIDO WHERE PE_PROID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1405;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1406;BA.debugLine="w = True"; +Debug.ShouldStop(536870912); +_w = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("w", _w); + }; + BA.debugLineNum = 1408;BA.debugLine="c.Close"; +Debug.ShouldStop(-2147483648); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1409;BA.debugLine="Log(w)"; +Debug.ShouldStop(1); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","047841293",BA.ObjectToString(_w),0); + BA.debugLineNum = 1410;BA.debugLine="Return w"; +Debug.ShouldStop(2); +if (true) return _w; + BA.debugLineNum = 1411;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/swiftbutton.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/swiftbutton.java new file mode 100644 index 0000000..a87d22d --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/swiftbutton.java @@ -0,0 +1,45 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class swiftbutton { + public static RemoteObject myClass; + public swiftbutton() { + } + public static PCBA staticBA = new PCBA(null, swiftbutton.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _clr1 = RemoteObject.createImmutable(0); +public static RemoteObject _clr2 = RemoteObject.createImmutable(0); +public static RemoteObject _disabledcolor = RemoteObject.createImmutable(0); +public static RemoteObject _pressed = RemoteObject.createImmutable(false); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _mdisabled = RemoteObject.createImmutable(false); +public static RemoteObject _cornersradius = RemoteObject.createImmutable(0); +public static RemoteObject _sideheight = RemoteObject.createImmutable(0); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"clr1",_ref.getField(false, "_clr1"),"clr2",_ref.getField(false, "_clr2"),"CornersRadius",_ref.getField(false, "_cornersradius"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"disabledColor",_ref.getField(false, "_disabledcolor"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mDisabled",_ref.getField(false, "_mdisabled"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"pressed",_ref.getField(false, "_pressed"),"SideHeight",_ref.getField(false, "_sideheight"),"Tag",_ref.getField(false, "_tag"),"xLBL",_ref.getField(false, "_xlbl"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/swiftbutton_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/swiftbutton_subs_0.java new file mode 100644 index 0000000..ed963c4 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/swiftbutton_subs_0.java @@ -0,0 +1,466 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class swiftbutton_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,54); +if (RapidSub.canDelegate("base_resize")) { return __ref.runUserSub(false, "swiftbutton","base_resize", __ref, _width, _height);} +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 54;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 55;BA.debugLine="cvs.Resize(Width, Height)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _width)),(Object)(BA.numberCast(float.class, _height))); + BA.debugLineNum = 56;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; +Debug.JustUpdateDeviceLine(); +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +{ +final RemoteObject group2 = __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +final int groupLen2 = group2.runMethod(true,"getSize").get() +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group2.runMethod(false,"Get",index2));Debug.locals.put("v", _v); +Debug.locals.put("v", _v); + BA.debugLineNum = 57;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.JustUpdateDeviceLine(); +_v.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, _width)),(Object)(BA.numberCast(int.class, _height))); + } +}Debug.locals.put("v", _v); +; + BA.debugLineNum = 59;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 12;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 13;BA.debugLine="Private mEventName As String 'ignore"; +swiftbutton._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",swiftbutton._meventname); + //BA.debugLineNum = 14;BA.debugLine="Private mCallBack As Object 'ignore"; +swiftbutton._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",swiftbutton._mcallback); + //BA.debugLineNum = 15;BA.debugLine="Public mBase As B4XView 'ignore"; +swiftbutton._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",swiftbutton._mbase); + //BA.debugLineNum = 16;BA.debugLine="Private xui As XUI 'ignore"; +swiftbutton._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",swiftbutton._xui); + //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; +swiftbutton._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",swiftbutton._cvs); + //BA.debugLineNum = 18;BA.debugLine="Public xLBL As B4XView"; +swiftbutton._xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_xlbl",swiftbutton._xlbl); + //BA.debugLineNum = 19;BA.debugLine="Public clr1, clr2, disabledColor As Int"; +swiftbutton._clr1 = RemoteObject.createImmutable(0);__ref.setField("_clr1",swiftbutton._clr1); +swiftbutton._clr2 = RemoteObject.createImmutable(0);__ref.setField("_clr2",swiftbutton._clr2); +swiftbutton._disabledcolor = RemoteObject.createImmutable(0);__ref.setField("_disabledcolor",swiftbutton._disabledcolor); + //BA.debugLineNum = 20;BA.debugLine="Private pressed As Boolean"; +swiftbutton._pressed = RemoteObject.createImmutable(false);__ref.setField("_pressed",swiftbutton._pressed); + //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; +swiftbutton._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",swiftbutton._tag); + //BA.debugLineNum = 22;BA.debugLine="Private mDisabled As Boolean"; +swiftbutton._mdisabled = RemoteObject.createImmutable(false);__ref.setField("_mdisabled",swiftbutton._mdisabled); + //BA.debugLineNum = 23;BA.debugLine="Public CornersRadius, SideHeight As Int"; +swiftbutton._cornersradius = RemoteObject.createImmutable(0);__ref.setField("_cornersradius",swiftbutton._cornersradius); +swiftbutton._sideheight = RemoteObject.createImmutable(0);__ref.setField("_sideheight",swiftbutton._sideheight); + //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; +swiftbutton._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",swiftbutton._mhaptic); + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("designercreateview")) { return __ref.runUserSub(false, "swiftbutton","designercreateview", __ref, _base, _lbl, _props);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Base", _base); +Debug.locals.put("Lbl", _lbl); +Debug.locals.put("Props", _props); + BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="mBase = Base"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).setObject (_base); + BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_tag" /*RemoteObject*/ ,__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"setTag",__ref); + BA.debugLineNum = 35;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"p\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("p")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 36;BA.debugLine="p.Color = xui.Color_Transparent"; +Debug.JustUpdateDeviceLine(); +_p.runMethod(true,"setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + BA.debugLineNum = 37;BA.debugLine="clr1 = xui.PaintOrColorToColor(Props.Get(\"Primary"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_clr1" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("PrimaryColor"))))))); + BA.debugLineNum = 38;BA.debugLine="clr2 = xui.PaintOrColorToColor(Props.Get(\"Seconda"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_clr2" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("SecondaryColor"))))))); + BA.debugLineNum = 39;BA.debugLine="disabledColor = xui.PaintOrColorToColor(Props.Get"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_disabledcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("DisabledColor"))),(Object)(RemoteObject.createImmutable((((int)0xff999999)))))))); + BA.debugLineNum = 40;BA.debugLine="CornersRadius = DipToCurrent(Props.GetDefault(\"Co"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_cornersradius" /*RemoteObject*/ ,swiftbutton.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, _props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("CornersRadius"))),(Object)(RemoteObject.createImmutable((15)))))))); + BA.debugLineNum = 41;BA.debugLine="SideHeight = DipToCurrent(Props.GetDefault(\"SideH"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sideheight" /*RemoteObject*/ ,swiftbutton.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, _props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("SideHeight"))),(Object)(RemoteObject.createImmutable((5)))))))); + BA.debugLineNum = 42;BA.debugLine="mDisabled = Not(Props.GetDefault(\"ButtonEnabled\","; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mdisabled" /*RemoteObject*/ ,swiftbutton.__c.runMethod(true,"Not",(Object)(BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("ButtonEnabled"))),(Object)((swiftbutton.__c.getField(true,"True")))))))); + BA.debugLineNum = 43;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mhaptic" /*RemoteObject*/ ,BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("HapticFeedback"))),(Object)((swiftbutton.__c.getField(true,"False")))))); + BA.debugLineNum = 44;BA.debugLine="pressed = mDisabled"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pressed" /*RemoteObject*/ ,__ref.getField(true,"_mdisabled" /*RemoteObject*/ )); + BA.debugLineNum = 45;BA.debugLine="xLBL = Lbl"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).setObject (_lbl.getObject()); + BA.debugLineNum = 46;BA.debugLine="xLBL.Visible = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runMethod(true,"setVisible",swiftbutton.__c.getField(true,"True")); + BA.debugLineNum = 47;BA.debugLine="mBase.AddView(xLBL, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_xlbl" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 48;BA.debugLine="mBase.AddView(p, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_p.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 49;BA.debugLine="xLBL.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 50;BA.debugLine="cvs.Initialize(mBase)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ))); + BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Draw (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,121); +if (RapidSub.canDelegate("draw")) { return __ref.runUserSub(false, "swiftbutton","draw", __ref);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XPath"); +RemoteObject _c = RemoteObject.createImmutable(0); + BA.debugLineNum = 121;BA.debugLine="Private Sub Draw"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 122;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 123;BA.debugLine="Dim r As B4XRect"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");Debug.locals.put("r", _r); + BA.debugLineNum = 124;BA.debugLine="Dim p As B4XPath"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XPath");Debug.locals.put("p", _p); + BA.debugLineNum = 125;BA.debugLine="r.Initialize(0, SideHeight, mBase.Width, mBase.He"; +Debug.JustUpdateDeviceLine(); +_r.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, __ref.getField(true,"_sideheight" /*RemoteObject*/ ))),(Object)(BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 126;BA.debugLine="If pressed = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_pressed" /*RemoteObject*/ ),swiftbutton.__c.getField(true,"False"))) { + BA.debugLineNum = 127;BA.debugLine="xLBL.Top = 0"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 128;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeRoundedRect",(Object)(_r),(Object)(BA.numberCast(float.class, __ref.getField(true,"_cornersradius" /*RemoteObject*/ )))); + BA.debugLineNum = 129;BA.debugLine="cvs.DrawPath(p, clr2, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawPath",(Object)(_p),(Object)(__ref.getField(true,"_clr2" /*RemoteObject*/ )),(Object)(swiftbutton.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 130;BA.debugLine="r.Initialize(0, 0, mBase.Width, mBase.Height - S"; +Debug.JustUpdateDeviceLine(); +_r.runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_sideheight" /*RemoteObject*/ )}, "-",1, 1)))); + BA.debugLineNum = 131;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeRoundedRect",(Object)(_r),(Object)(BA.numberCast(float.class, __ref.getField(true,"_cornersradius" /*RemoteObject*/ )))); + BA.debugLineNum = 132;BA.debugLine="cvs.DrawPath(p, clr1, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawPath",(Object)(_p),(Object)(__ref.getField(true,"_clr1" /*RemoteObject*/ )),(Object)(swiftbutton.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + }else { + BA.debugLineNum = 134;BA.debugLine="xLBL.Top = SideHeight"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runMethod(true,"setTop",__ref.getField(true,"_sideheight" /*RemoteObject*/ )); + BA.debugLineNum = 135;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeRoundedRect",(Object)(_r),(Object)(BA.numberCast(float.class, __ref.getField(true,"_cornersradius" /*RemoteObject*/ )))); + BA.debugLineNum = 136;BA.debugLine="Dim c As Int"; +Debug.JustUpdateDeviceLine(); +_c = RemoteObject.createImmutable(0);Debug.locals.put("c", _c); + BA.debugLineNum = 137;BA.debugLine="If mDisabled Then c = disabledColor Else c = clr"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mdisabled" /*RemoteObject*/ ).get().booleanValue()) { +_c = __ref.getField(true,"_disabledcolor" /*RemoteObject*/ );Debug.locals.put("c", _c);} +else { +_c = __ref.getField(true,"_clr1" /*RemoteObject*/ );Debug.locals.put("c", _c);}; + BA.debugLineNum = 138;BA.debugLine="cvs.DrawPath(p, c, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawPath",(Object)(_p),(Object)(_c),(Object)(swiftbutton.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + }; + BA.debugLineNum = 141;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 142;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getenabled(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getEnabled (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,62); +if (RapidSub.canDelegate("getenabled")) { return __ref.runUserSub(false, "swiftbutton","getenabled", __ref);} + BA.debugLineNum = 62;BA.debugLine="Public Sub getEnabled As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="Return Not(mDisabled)"; +Debug.JustUpdateDeviceLine(); +if (true) return swiftbutton.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_mdisabled" /*RemoteObject*/ ))); + BA.debugLineNum = 64;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,27); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "swiftbutton","initialize", __ref, _ba, _callback, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 30;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("p_Touch (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,72); +if (RapidSub.canDelegate("p_touch")) { return __ref.runUserSub(false, "swiftbutton","p_touch", __ref, _action, _x, _y);} +RemoteObject _inside = RemoteObject.createImmutable(false); +Debug.locals.put("Action", _action); +Debug.locals.put("X", _x); +Debug.locals.put("Y", _y); + BA.debugLineNum = 72;BA.debugLine="Private Sub p_Touch (Action As Int, X As Float, Y"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 73;BA.debugLine="If mDisabled Then Return"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mdisabled" /*RemoteObject*/ ).get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 74;BA.debugLine="Dim Inside As Boolean = x > 0 And x < mBase.Width"; +Debug.JustUpdateDeviceLine(); +_inside = BA.ObjectToBoolean(RemoteObject.solveBoolean(">",_x,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("<",_x,BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))) && RemoteObject.solveBoolean(">",_y,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("<",_y,BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))));Debug.locals.put("Inside", _inside);Debug.locals.put("Inside", _inside); + BA.debugLineNum = 75;BA.debugLine="Select Action"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(_action,__ref.getField(false,"_mbase" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_DOWN"),__ref.getField(false,"_mbase" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE"),__ref.getField(false,"_mbase" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_UP"),BA.numberCast(int.class, 3))) { +case 0: { + BA.debugLineNum = 77;BA.debugLine="SetPressedState(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(swiftbutton.__c.getField(true,"True"))); + BA.debugLineNum = 78;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + break; } +case 1: { + BA.debugLineNum = 80;BA.debugLine="If pressed <> Inside Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_pressed" /*RemoteObject*/ ),_inside)) { + BA.debugLineNum = 81;BA.debugLine="SetPressedState(Inside)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(_inside)); + BA.debugLineNum = 82;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + }; + break; } +case 2: +case 3: { + BA.debugLineNum = 85;BA.debugLine="SetPressedState(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(swiftbutton.__c.getField(true,"False"))); + BA.debugLineNum = 86;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 87;BA.debugLine="If Inside Then"; +Debug.JustUpdateDeviceLine(); +if (_inside.get().booleanValue()) { + BA.debugLineNum = 88;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mhaptic" /*RemoteObject*/ ).get().booleanValue()) { +swiftbutton._xuiviewsutils.runVoidMethod ("_performhapticfeedback" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )));}; + BA.debugLineNum = 89;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; +Debug.JustUpdateDeviceLine(); +swiftbutton.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Click")))); + }; + break; } +} +; + BA.debugLineNum = 92;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcolors(RemoteObject __ref,RemoteObject _primary,RemoteObject _secondary) throws Exception{ +try { + Debug.PushSubsStack("SetColors (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,111); +if (RapidSub.canDelegate("setcolors")) { return __ref.runUserSub(false, "swiftbutton","setcolors", __ref, _primary, _secondary);} +Debug.locals.put("Primary", _primary); +Debug.locals.put("Secondary", _secondary); + BA.debugLineNum = 111;BA.debugLine="Public Sub SetColors(Primary As Int, Secondary As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 112;BA.debugLine="clr1 = Primary"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_clr1" /*RemoteObject*/ ,_primary); + BA.debugLineNum = 113;BA.debugLine="clr2 = Secondary"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_clr2" /*RemoteObject*/ ,_secondary); + BA.debugLineNum = 114;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setenabled(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setEnabled (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,66); +if (RapidSub.canDelegate("setenabled")) { return __ref.runUserSub(false, "swiftbutton","setenabled", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 66;BA.debugLine="Public Sub setEnabled(b As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 67;BA.debugLine="mDisabled = Not(b)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mdisabled" /*RemoteObject*/ ,swiftbutton.__c.runMethod(true,"Not",(Object)(_b))); + BA.debugLineNum = 68;BA.debugLine="pressed = mDisabled"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pressed" /*RemoteObject*/ ,__ref.getField(true,"_mdisabled" /*RemoteObject*/ )); + BA.debugLineNum = 69;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setpressedstate(RemoteObject __ref,RemoteObject _newstate) throws Exception{ +try { + Debug.PushSubsStack("SetPressedState (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,94); +if (RapidSub.canDelegate("setpressedstate")) { return __ref.runUserSub(false, "swiftbutton","setpressedstate", __ref, _newstate);} +Debug.locals.put("NewState", _newstate); + BA.debugLineNum = 94;BA.debugLine="Private Sub SetPressedState(NewState As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 95;BA.debugLine="If pressed = NewState Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_pressed" /*RemoteObject*/ ),_newstate)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 96;BA.debugLine="If NewState And xui.SubExists(mCallBack, mEventNa"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_newstate) && RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ButtonDown"))),(Object)(BA.numberCast(int.class, 0))))) { + BA.debugLineNum = 97;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonD"; +Debug.JustUpdateDeviceLine(); +swiftbutton.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ButtonDown")))); + }; + BA.debugLineNum = 99;BA.debugLine="If NewState = False And xui.SubExists(mCallBack,"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_newstate,swiftbutton.__c.getField(true,"False")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ButtonUp"))),(Object)(BA.numberCast(int.class, 0))))) { + BA.debugLineNum = 100;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonU"; +Debug.JustUpdateDeviceLine(); +swiftbutton.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ButtonUp")))); + }; + BA.debugLineNum = 102;BA.debugLine="pressed= NewState"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pressed" /*RemoteObject*/ ,_newstate); + BA.debugLineNum = 103;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (swiftbutton) ","swiftbutton",72,__ref.getField(false, "ba"),__ref,117); +if (RapidSub.canDelegate("update")) { return __ref.runUserSub(false, "swiftbutton","update", __ref);} + BA.debugLineNum = 117;BA.debugLine="Public Sub Update"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 118;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (gunav2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/tracker.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/tracker.java new file mode 100644 index 0000000..d4b1239 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/tracker.java @@ -0,0 +1,71 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class tracker implements IRemote{ + public static tracker mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public tracker() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("tracker"), "gunav2.keymon.com.mx.tracker"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.tracker"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, tracker.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _nid = RemoteObject.createImmutable(0); +public static RemoteObject _tracking = RemoteObject.createImmutable(false); +public static RemoteObject _lock = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.PhoneWakeState"); +public static RemoteObject _flp = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); +public static RemoteObject _actuallr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); +public static RemoteObject _flpstarted = RemoteObject.createImmutable(false); +public static RemoteObject _uugcoords = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"actualLR",tracker._actuallr,"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"DateUtils",tracker.mostCurrent._dateutils,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"FLP",tracker._flp,"flpStarted",tracker._flpstarted,"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"lock",tracker._lock,"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"nid",tracker._nid,"Service",tracker.mostCurrent._service,"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"Tracking",tracker._tracking,"UUGCoords",tracker._uugcoords,"XUIViewsUtils",Debug.moduleToString(gunav2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/tracker_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/tracker_subs_0.java new file mode 100644 index 0000000..8270de1 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/tracker_subs_0.java @@ -0,0 +1,1072 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class tracker_subs_0 { + + +public static RemoteObject _createlocationrequest() throws Exception{ +try { + Debug.PushSubsStack("CreateLocationRequest (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,430); +if (RapidSub.canDelegate("createlocationrequest")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","createlocationrequest");} +RemoteObject _lr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + BA.debugLineNum = 430;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; +Debug.ShouldStop(8192); + BA.debugLineNum = 431;BA.debugLine="Log(\"CreateLocationRequest\")"; +Debug.ShouldStop(16384); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072351745",RemoteObject.createImmutable("CreateLocationRequest"),0); + BA.debugLineNum = 432;BA.debugLine="Dim lr As LocationRequest"; +Debug.ShouldStop(32768); +_lr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest");Debug.locals.put("lr", _lr); + BA.debugLineNum = 433;BA.debugLine="lr.Initialize"; +Debug.ShouldStop(65536); +_lr.runVoidMethod ("Initialize"); + BA.debugLineNum = 434;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +Debug.ShouldStop(131072); +_lr.runVoidMethod ("SetInterval",(Object)(BA.numberCast(long.class, 2000))); + BA.debugLineNum = 435;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +Debug.ShouldStop(262144); +_lr.runVoidMethod ("SetFastestInterval",(Object)(BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {_lr.runMethod(true,"GetInterval"),RemoteObject.createImmutable(2)}, "/",0, 0)))); + BA.debugLineNum = 436;BA.debugLine="lr.SetSmallestDisplacement(15) 'Solo registra cam"; +Debug.ShouldStop(524288); +_lr.runVoidMethod ("SetSmallestDisplacement",(Object)(BA.numberCast(float.class, 15))); + BA.debugLineNum = 437;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +Debug.ShouldStop(1048576); +_lr.runVoidMethod ("SetPriority",(Object)(_lr.getField(false,"Priority").getField(true,"PRIORITY_HIGH_ACCURACY"))); + BA.debugLineNum = 438;BA.debugLine="actualLR=lr"; +Debug.ShouldStop(2097152); +tracker._actuallr = _lr; + BA.debugLineNum = 439;BA.debugLine="Return lr"; +Debug.ShouldStop(4194304); +if (true) return _lr; + BA.debugLineNum = 440;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlocationrequest2() throws Exception{ +try { + Debug.PushSubsStack("CreateLocationRequest2 (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,455); +if (RapidSub.canDelegate("createlocationrequest2")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","createlocationrequest2");} +RemoteObject _logger = RemoteObject.createImmutable(false); +RemoteObject _lr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + BA.debugLineNum = 455;BA.debugLine="Private Sub CreateLocationRequest2 As LocationRequ"; +Debug.ShouldStop(64); + BA.debugLineNum = 456;BA.debugLine="Private logger As Boolean = True"; +Debug.ShouldStop(128); +_logger = tracker.mostCurrent.__c.getField(true,"True");Debug.locals.put("logger", _logger);Debug.locals.put("logger", _logger); + BA.debugLineNum = 457;BA.debugLine="If logger Then Log(\"Iniciamos CreateLocationReque"; +Debug.ShouldStop(256); +if (_logger.get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072482818",RemoteObject.createImmutable("Iniciamos CreateLocationRequest2"),0);}; + BA.debugLineNum = 458;BA.debugLine="Dim lr As LocationRequest"; +Debug.ShouldStop(512); +_lr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest");Debug.locals.put("lr", _lr); + BA.debugLineNum = 459;BA.debugLine="lr.Initialize"; +Debug.ShouldStop(1024); +_lr.runVoidMethod ("Initialize"); + BA.debugLineNum = 460;BA.debugLine="lr.SetInterval(1000) 'Intervalo deseado para actu"; +Debug.ShouldStop(2048); +_lr.runVoidMethod ("SetInterval",(Object)(BA.numberCast(long.class, 1000))); + BA.debugLineNum = 461;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +Debug.ShouldStop(4096); +_lr.runVoidMethod ("SetFastestInterval",(Object)(BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {_lr.runMethod(true,"GetInterval"),RemoteObject.createImmutable(2)}, "/",0, 0)))); + BA.debugLineNum = 462;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo x actualiza"; +Debug.ShouldStop(8192); +_lr.runVoidMethod ("SetNumUpdates",(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 463;BA.debugLine="lr.SetSmallestDisplacement(1) 'Solo registra camb"; +Debug.ShouldStop(16384); +_lr.runVoidMethod ("SetSmallestDisplacement",(Object)(BA.numberCast(float.class, 1))); + BA.debugLineNum = 464;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +Debug.ShouldStop(32768); +_lr.runVoidMethod ("SetPriority",(Object)(_lr.getField(false,"Priority").getField(true,"PRIORITY_HIGH_ACCURACY"))); + BA.debugLineNum = 465;BA.debugLine="actualLR=lr"; +Debug.ShouldStop(65536); +tracker._actuallr = _lr; + BA.debugLineNum = 466;BA.debugLine="Return lr"; +Debug.ShouldStop(131072); +if (true) return _lr; + BA.debugLineNum = 467;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlocationrequestsmalld() throws Exception{ +try { + Debug.PushSubsStack("CreateLocationRequestSmallD (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,442); +if (RapidSub.canDelegate("createlocationrequestsmalld")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","createlocationrequestsmalld");} +RemoteObject _lr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + BA.debugLineNum = 442;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 443;BA.debugLine="Log(\"Iniciamos CreateLocationRequestSmallD\")"; +Debug.ShouldStop(67108864); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072417281",RemoteObject.createImmutable("Iniciamos CreateLocationRequestSmallD"),0); + BA.debugLineNum = 444;BA.debugLine="Dim lr As LocationRequest"; +Debug.ShouldStop(134217728); +_lr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest");Debug.locals.put("lr", _lr); + BA.debugLineNum = 445;BA.debugLine="lr.Initialize"; +Debug.ShouldStop(268435456); +_lr.runVoidMethod ("Initialize"); + BA.debugLineNum = 446;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +Debug.ShouldStop(536870912); +_lr.runVoidMethod ("SetInterval",(Object)(BA.numberCast(long.class, 2000))); + BA.debugLineNum = 447;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +Debug.ShouldStop(1073741824); +_lr.runVoidMethod ("SetFastestInterval",(Object)(BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {_lr.runMethod(true,"GetInterval"),RemoteObject.createImmutable(2)}, "/",0, 0)))); + BA.debugLineNum = 448;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo x actualiza"; +Debug.ShouldStop(-2147483648); +_lr.runVoidMethod ("SetNumUpdates",(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 449;BA.debugLine="lr.SetSmallestDisplacement(3) 'Solo registra camb"; +Debug.ShouldStop(1); +_lr.runVoidMethod ("SetSmallestDisplacement",(Object)(BA.numberCast(float.class, 3))); + BA.debugLineNum = 450;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +Debug.ShouldStop(2); +_lr.runVoidMethod ("SetPriority",(Object)(_lr.getField(false,"Priority").getField(true,"PRIORITY_HIGH_ACCURACY"))); + BA.debugLineNum = 451;BA.debugLine="actualLR=lr"; +Debug.ShouldStop(4); +tracker._actuallr = _lr; + BA.debugLineNum = 452;BA.debugLine="Return lr"; +Debug.ShouldStop(8); +if (true) return _lr; + BA.debugLineNum = 453;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createnotification(RemoteObject _body) throws Exception{ +try { + Debug.PushSubsStack("CreateNotification (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,534); +if (RapidSub.canDelegate("createnotification")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","createnotification", _body);} +RemoteObject _notification = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +Debug.locals.put("Body", _body); + BA.debugLineNum = 534;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 535;BA.debugLine="Dim notification As Notification"; +Debug.ShouldStop(4194304); +_notification = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notification", _notification); + BA.debugLineNum = 536;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +Debug.ShouldStop(8388608); +_notification.runVoidMethod ("Initialize2",(Object)(_notification.getField(true,"IMPORTANCE_LOW"))); + BA.debugLineNum = 537;BA.debugLine="notification.Icon = \"icon\""; +Debug.ShouldStop(16777216); +_notification.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 538;BA.debugLine="notification.SetInfo(\"GUNA\", Body, Main)"; +Debug.ShouldStop(33554432); +_notification.runVoidMethod ("SetInfoNew",tracker.processBA,(Object)(BA.ObjectToCharSequence("GUNA")),(Object)(BA.ObjectToCharSequence(_body)),(Object)((tracker.mostCurrent._main.getObject()))); + BA.debugLineNum = 539;BA.debugLine="Return notification"; +Debug.ShouldStop(67108864); +if (true) return _notification; + BA.debugLineNum = 540;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dameultimaubicacionconocida() throws Exception{ +try { + Debug.PushSubsStack("dameUltimaUbicacionConocida (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,469); +if (RapidSub.canDelegate("dameultimaubicacionconocida")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","dameultimaubicacionconocida");} +RemoteObject _coords = RemoteObject.createImmutable(""); + BA.debugLineNum = 469;BA.debugLine="Sub dameUltimaUbicacionConocida"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 470;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; +Debug.ShouldStop(2097152); +if (tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 472;BA.debugLine="If Starter.Logger Then LogColor($\"Mandamos UUC \""; +Debug.ShouldStop(8388608); +if (tracker.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072548355",(RemoteObject.concat(RemoteObject.createImmutable("Mandamos UUC \""),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((tracker.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,tracker.processBA,(Object)(BA.NumberToString(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getTime"))))))),RemoteObject.createImmutable("|Acc:"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.2")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy")))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.8")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.8")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude")))),RemoteObject.createImmutable("|Spd:"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.2")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getSpeed")))),RemoteObject.createImmutable("|"))),tracker.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 112)),(Object)(BA.numberCast(int.class, 35))));}; + BA.debugLineNum = 473;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation."; +Debug.ShouldStop(16777216); +_coords = RemoteObject.concat(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"),RemoteObject.createImmutable(","),tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"),RemoteObject.createImmutable(","),_formatofecha(BA.NumberToString(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getTime"))));Debug.locals.put("coords", _coords);Debug.locals.put("coords", _coords); + }; + BA.debugLineNum = 477;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _flp_connectionfailed(RemoteObject _connectionresult1) throws Exception{ +try { + Debug.PushSubsStack("flp_ConnectionFailed (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,360); +if (RapidSub.canDelegate("flp_connectionfailed")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","flp_connectionfailed", _connectionresult1);} +Debug.locals.put("ConnectionResult1", _connectionresult1); + BA.debugLineNum = 360;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; +Debug.ShouldStop(128); + BA.debugLineNum = 361;BA.debugLine="Log(\"Failed to connect to location provider\")"; +Debug.ShouldStop(256); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","071958529",RemoteObject.createImmutable("Failed to connect to location provider"),0); + BA.debugLineNum = 362;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _flp_connectionsuccess() throws Exception{ +try { + Debug.PushSubsStack("flp_ConnectionSuccess (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,355); +if (RapidSub.canDelegate("flp_connectionsuccess")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","flp_connectionsuccess");} + BA.debugLineNum = 355;BA.debugLine="Sub flp_ConnectionSuccess"; +Debug.ShouldStop(4); + BA.debugLineNum = 358;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _flp_locationchanged(RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("flp_LocationChanged (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,487); +if (RapidSub.canDelegate("flp_locationchanged")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","flp_locationchanged", _location1);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +RemoteObject _coords = RemoteObject.createImmutable(""); +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 487;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(64); + BA.debugLineNum = 488;BA.debugLine="Log($\"Loc changed:${Location1.Longitude},${Locati"; +Debug.ShouldStop(128); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072679425",(RemoteObject.concat(RemoteObject.createImmutable("Loc changed:"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_location1.runMethod(true,"getLongitude")))),RemoteObject.createImmutable(","),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_location1.runMethod(true,"getLatitude")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 490;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +Debug.ShouldStop(512); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(_location1.runMethod(true,"getLatitude"))); + BA.debugLineNum = 491;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +Debug.ShouldStop(1024); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(_location1.runMethod(true,"getLongitude"))); + BA.debugLineNum = 492;BA.debugLine="UUGCoords = Location1"; +Debug.ShouldStop(2048); +tracker._uugcoords = _location1; + BA.debugLineNum = 500;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(524288); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 501;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1048576); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 502;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2097152); +_sdate = tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 503;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4194304); +_stime = tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 504;BA.debugLine="If Not(B4XPages.MainPage.skmt.IsInitialized) Then"; +Debug.ShouldStop(8388608); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))).get().booleanValue()) { +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(tracker.mostCurrent._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(tracker.mostCurrent.__c.getField(true,"True")));}; + BA.debugLineNum = 505;BA.debugLine="Try"; +Debug.ShouldStop(16777216); +try { BA.debugLineNum = 506;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(33554432); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ")),(Object)(tracker.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(RemoteObject.concat(_sdate,_stime)),(tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_lat_gps" /*RemoteObject*/ )),(tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 507;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(67108864); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e14.toString()); BA.debugLineNum = 509;BA.debugLine="LogColor(LastException, Colors.Red)"; +Debug.ShouldStop(268435456); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072679446",BA.ObjectToString(tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 512;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; +Debug.ShouldStop(-2147483648); +_coords = RemoteObject.concat(_location1.runMethod(true,"getLatitude"),RemoteObject.createImmutable(","),_location1.runMethod(true,"getLongitude"),RemoteObject.createImmutable(","),_formatofecha(BA.NumberToString(_location1.runMethod(true,"getTime"))));Debug.locals.put("coords", _coords);Debug.locals.put("coords", _coords); + BA.debugLineNum = 517;BA.debugLine="If Location1.Accuracy < 100 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("<",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 100))) { + }; + BA.debugLineNum = 521;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; +Debug.ShouldStop(256); +tracker.mostCurrent.__c.runMethodAndSync(false,"CallSubNew2",tracker.processBA,(Object)((tracker.mostCurrent._starter.getObject())),(Object)(BA.ObjectToString("GPS_LocationChanged")),(Object)((_location1))); + BA.debugLineNum = 525;BA.debugLine="If B4XPages.MainPage.cliente.IsInitialized And St"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(".",tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_cliente" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",tracker.mostCurrent._starter._encliente /*RemoteObject*/ )) { + BA.debugLineNum = 526;BA.debugLine="CallSub2(B4XPages.GetPage(\"Cliente\"), \"GPS_Locat"; +Debug.ShouldStop(8192); +tracker.mostCurrent.__c.runMethodAndSync(false,"CallSubNew2",tracker.processBA,(Object)(tracker.mostCurrent._b4xpages.runMethod(false,"_getpage" /*RemoteObject*/ ,tracker.processBA,(Object)(RemoteObject.createImmutable("Cliente")))),(Object)(BA.ObjectToString("GPS_LocationChanged")),(Object)((_location1))); + }; + BA.debugLineNum = 528;BA.debugLine="If B4XPages.MainPage.nuevoCliente.IsInitialized T"; +Debug.ShouldStop(32768); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_nuevocliente" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 529;BA.debugLine="CallSub2(B4XPages.GetPage(\"nuevocliente\"), \"GPS_"; +Debug.ShouldStop(65536); +tracker.mostCurrent.__c.runMethodAndSync(false,"CallSubNew2",tracker.processBA,(Object)(tracker.mostCurrent._b4xpages.runMethod(false,"_getpage" /*RemoteObject*/ ,tracker.processBA,(Object)(RemoteObject.createImmutable("nuevocliente")))),(Object)(BA.ObjectToString("GPS_LocationChanged")),(Object)((_location1))); + }; + BA.debugLineNum = 532;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _formatofecha(RemoteObject _fecha) throws Exception{ +try { + Debug.PushSubsStack("formatoFecha (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,550); +if (RapidSub.canDelegate("formatofecha")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","formatofecha", _fecha);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _lastupdate = RemoteObject.createImmutable(""); +Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 550;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; +Debug.ShouldStop(32); + BA.debugLineNum = 552;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(128); +_origformat = tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 553;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +Debug.ShouldStop(256); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMddHHmmss")); + BA.debugLineNum = 554;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; +Debug.ShouldStop(512); +_lastupdate = tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(BA.numberCast(long.class, _fecha)));Debug.locals.put("lastUpdate", _lastupdate);Debug.locals.put("lastUpdate", _lastupdate); + BA.debugLineNum = 555;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(1024); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 557;BA.debugLine="Return lastUpdate"; +Debug.ShouldStop(4096); +if (true) return _lastupdate; + BA.debugLineNum = 558;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 334;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 335;BA.debugLine="Private nid As Int = 51042"; +tracker._nid = BA.numberCast(int.class, 51042); + //BA.debugLineNum = 336;BA.debugLine="Private Tracking As Boolean"; +tracker._tracking = RemoteObject.createImmutable(false); + //BA.debugLineNum = 337;BA.debugLine="Private lock As PhoneWakeState"; +tracker._lock = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneWakeState"); + //BA.debugLineNum = 339;BA.debugLine="Public FLP As FusedLocationProvider"; +tracker._flp = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); + //BA.debugLineNum = 340;BA.debugLine="Dim actualLR As LocationRequest"; +tracker._actuallr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + //BA.debugLineNum = 341;BA.debugLine="Private flpStarted As Boolean"; +tracker._flpstarted = RemoteObject.createImmutable(false); + //BA.debugLineNum = 343;BA.debugLine="Dim UUGCoords As Location 'Ultima Ubicacion Guard"; +tracker._uugcoords = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); + //BA.debugLineNum = 344;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _revisaflp() throws Exception{ +try { + Debug.PushSubsStack("revisaFLP (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,561); +if (RapidSub.canDelegate("revisaflp")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","revisaflp");} +RemoteObject _todobienflp = RemoteObject.createImmutable(false); + BA.debugLineNum = 561;BA.debugLine="Sub revisaFLP 'ignore"; +Debug.ShouldStop(65536); + BA.debugLineNum = 562;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; +Debug.ShouldStop(131072); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072941569",BA.ObjectToString("**** **** Revisamos FLP **** ****"),tracker.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 78)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 227)))); + BA.debugLineNum = 563;BA.debugLine="Private todoBienFLP As Boolean = True"; +Debug.ShouldStop(262144); +_todobienflp = tracker.mostCurrent.__c.getField(true,"True");Debug.locals.put("todoBienFLP", _todobienflp);Debug.locals.put("todoBienFLP", _todobienflp); + BA.debugLineNum = 564;BA.debugLine="Try"; +Debug.ShouldStop(524288); +try { BA.debugLineNum = 565;BA.debugLine="If Not(FLP.IsInitialized) Then"; +Debug.ShouldStop(1048576); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker._flp.runMethod(true,"IsInitialized"))).get().booleanValue()) { + BA.debugLineNum = 566;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta inicializado .."; +Debug.ShouldStop(2097152); +tracker.mostCurrent._subs.runVoidMethod ("_log2db" /*RemoteObject*/ ,tracker.processBA,(Object)(RemoteObject.createImmutable("revisaFLP: No esta inicializado ... 'Reinicializando FLP'"))); + BA.debugLineNum = 567;BA.debugLine="FLP.Initialize(\"flp\")"; +Debug.ShouldStop(4194304); +tracker._flp.runVoidMethod ("Initialize",tracker.processBA,(Object)(RemoteObject.createImmutable("flp"))); + BA.debugLineNum = 568;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(8388608); +_todobienflp = tracker.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e10) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e10.toString()); BA.debugLineNum = 571;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) -->"; +Debug.ShouldStop(67108864); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072941578",RemoteObject.concat(RemoteObject.createImmutable("If Not(Tracker.FLP.IsInitialized) --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 573;BA.debugLine="Try"; +Debug.ShouldStop(268435456); +try { BA.debugLineNum = 574;BA.debugLine="If FLP.IsInitialized Then"; +Debug.ShouldStop(536870912); +if (tracker._flp.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 575;BA.debugLine="Try"; +Debug.ShouldStop(1073741824); +try { BA.debugLineNum = 576;BA.debugLine="If Not(FLP.IsConnected) Then"; +Debug.ShouldStop(-2147483648); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker._flp.runMethod(true,"IsConnected"))).get().booleanValue()) { + BA.debugLineNum = 577;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta conectado ..."; +Debug.ShouldStop(1); +tracker.mostCurrent._subs.runVoidMethod ("_log2db" /*RemoteObject*/ ,tracker.processBA,(Object)(RemoteObject.createImmutable("revisaFLP: No esta conectado ... 'Reconectando FLP'"))); + BA.debugLineNum = 579;BA.debugLine="StartFLP"; +Debug.ShouldStop(4); +_startflp(); + BA.debugLineNum = 580;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(8); +_todobienflp = tracker.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e21.toString()); BA.debugLineNum = 583;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; +Debug.ShouldStop(64); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072941590",RemoteObject.concat(RemoteObject.createImmutable("If Not(Tracker.FLP.IsConnected) --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 585;BA.debugLine="Try"; +Debug.ShouldStop(256); +try { BA.debugLineNum = 586;BA.debugLine="If FLP.IsConnected And _ FLP.GetLastKnown"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(".",tracker._flp.runMethod(true,"IsConnected")) && RemoteObject.solveBoolean(".",tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(">",tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"DistanceTo",(Object)((tracker._uugcoords.getObject()))),BA.numberCast(double.class, 500))) { + BA.debugLineNum = 589;BA.debugLine="Subs.log2DB(\"revisaFLP: 'No se esta actualiza"; +Debug.ShouldStop(4096); +tracker.mostCurrent._subs.runVoidMethod ("_log2db" /*RemoteObject*/ ,tracker.processBA,(Object)(RemoteObject.createImmutable("revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"))); + BA.debugLineNum = 590;BA.debugLine="StartService(Me)"; +Debug.ShouldStop(8192); +tracker.mostCurrent.__c.runVoidMethod ("StartService",tracker.processBA,(Object)(tracker.getObject())); + BA.debugLineNum = 591;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(16384); +_todobienflp = tracker.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e30) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e30.toString()); BA.debugLineNum = 594;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; +Debug.ShouldStop(131072); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072941601",RemoteObject.concat(RemoteObject.createImmutable("If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 597;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; +Debug.ShouldStop(1048576); +if (_todobienflp.get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072941604",BA.ObjectToString(" +++ +++ Sin errores en FLP"),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + Debug.CheckDeviceExceptions(); +} + catch (Exception e35) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e35.toString()); BA.debugLineNum = 599;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; +Debug.ShouldStop(4194304); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072941606",RemoteObject.concat(RemoteObject.createImmutable("If Tracker.FLP.IsInitialized --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 602;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisauug() throws Exception{ +try { + Debug.PushSubsStack("revisaUUG (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,606); +if (RapidSub.canDelegate("revisauug")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","revisauug");} +RemoteObject _daa = RemoteObject.createImmutable(0); + BA.debugLineNum = 606;BA.debugLine="Sub revisaUUG 'ignore"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 607;BA.debugLine="Try"; +Debug.ShouldStop(1073741824); +try { BA.debugLineNum = 609;BA.debugLine="If FLP.IsInitialized And FLP.IsConnected Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(".",tracker._flp.runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",tracker._flp.runMethod(true,"IsConnected"))) { + BA.debugLineNum = 610;BA.debugLine="Try"; +Debug.ShouldStop(2); +try { BA.debugLineNum = 611;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then"; +Debug.ShouldStop(4); +if (tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 613;BA.debugLine="Dim daa As Int = UUGCoords.DistanceTo(FLP.Get"; +Debug.ShouldStop(16); +_daa = BA.numberCast(int.class, tracker._uugcoords.runMethod(true,"DistanceTo",(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").getObject()))));Debug.locals.put("daa", _daa);Debug.locals.put("daa", _daa); + BA.debugLineNum = 614;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"$"; +Debug.ShouldStop(32); +if (tracker.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","073007112",(RemoteObject.concat(RemoteObject.createImmutable("**** UUC \""),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((tracker.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,tracker.processBA,(Object)(BA.NumberToString(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getTime"))))))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.2")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy")))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.8")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.8")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude")))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.2")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getSpeed")))),RemoteObject.createImmutable("|"))),tracker.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 112)),(Object)(BA.numberCast(int.class, 35))));}; + BA.debugLineNum = 615;BA.debugLine="If daa > 40 And FLP.GetLastKnownLocation.Accu"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_daa,BA.numberCast(double.class, 40)) && RemoteObject.solveBoolean("<",tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy"),BA.numberCast(double.class, 35))) { + BA.debugLineNum = 616;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(128); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)")),(Object)(tracker.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(tracker.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,tracker.processBA,(Object)(BA.NumberToString(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getTime"))))),(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")),(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))}))))); + BA.debugLineNum = 617;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a"; +Debug.ShouldStop(256); +if (tracker.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","073007115",RemoteObject.concat(RemoteObject.createImmutable("++++ Distancia a anterior="),_daa,RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Precision="),tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy")),0);}; + }; + BA.debugLineNum = 619;BA.debugLine="UUGCoords = FLP.GetLastKnownLocation"; +Debug.ShouldStop(1024); +tracker._uugcoords = tracker._flp.runMethod(false,"GetLastKnownLocation"); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e14.toString()); BA.debugLineNum = 622;BA.debugLine="LogColor(\"FLP.GetLastKnownLocation.IsInitializ"; +Debug.ShouldStop(8192); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","073007120",RemoteObject.concat(RemoteObject.createImmutable("FLP.GetLastKnownLocation.IsInitialized --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }else { + BA.debugLineNum = 625;BA.debugLine="Log(\"StartFLP\")"; +Debug.ShouldStop(65536); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","073007123",RemoteObject.createImmutable("StartFLP"),0); + BA.debugLineNum = 626;BA.debugLine="StartFLP"; +Debug.ShouldStop(131072); +_startflp(); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e21.toString()); BA.debugLineNum = 629;BA.debugLine="LogColor(\"If FLP.IsInitialized --> \"&LastExcepti"; +Debug.ShouldStop(1048576); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","073007127",RemoteObject.concat(RemoteObject.createImmutable("If FLP.IsInitialized --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 631;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,346); +if (RapidSub.canDelegate("service_create")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","service_create");} + BA.debugLineNum = 346;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 347;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +Debug.ShouldStop(67108864); +tracker.mostCurrent._service.setField ("AutomaticForegroundMode",tracker.mostCurrent._service.getField(true,"AUTOMATIC_FOREGROUND_NEVER")); + BA.debugLineNum = 349;BA.debugLine="FLP.Initialize(\"flp\")"; +Debug.ShouldStop(268435456); +tracker._flp.runVoidMethod ("Initialize",tracker.processBA,(Object)(RemoteObject.createImmutable("flp"))); + BA.debugLineNum = 350;BA.debugLine="FLP.Connect"; +Debug.ShouldStop(536870912); +tracker._flp.runVoidMethod ("Connect"); + BA.debugLineNum = 351;BA.debugLine="lock.PartialLock"; +Debug.ShouldStop(1073741824); +tracker._lock.runVoidMethod ("PartialLock",tracker.processBA); + BA.debugLineNum = 352;BA.debugLine="StartFLP"; +Debug.ShouldStop(-2147483648); +_startflp(); + BA.debugLineNum = 353;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,542); +if (RapidSub.canDelegate("service_destroy")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","service_destroy");} + BA.debugLineNum = 542;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 543;BA.debugLine="If Tracking Then"; +Debug.ShouldStop(1073741824); +if (tracker._tracking.get().booleanValue()) { + BA.debugLineNum = 544;BA.debugLine="StopFLP"; +Debug.ShouldStop(-2147483648); +_stopflp(); + }; + BA.debugLineNum = 546;BA.debugLine="Tracking = False"; +Debug.ShouldStop(2); +tracker._tracking = tracker.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 547;BA.debugLine="lock.ReleasePartialLock"; +Debug.ShouldStop(4); +tracker._lock.runVoidMethod ("ReleasePartialLock"); + BA.debugLineNum = 548;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,364); +if (RapidSub.canDelegate("service_start")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 364;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 366;BA.debugLine="Service.StopAutomaticForeground"; +Debug.ShouldStop(8192); +tracker.mostCurrent._service.runVoidMethod ("StopAutomaticForeground"); + BA.debugLineNum = 367;BA.debugLine="Service.StartForeground(nid, CreateNotification(\""; +Debug.ShouldStop(16384); +tracker.mostCurrent._service.runVoidMethod ("StartForeground",(Object)(tracker._nid),(Object)((_createnotification(RemoteObject.createImmutable("...")).getObject()))); + BA.debugLineNum = 368;BA.debugLine="Track"; +Debug.ShouldStop(32768); +_track(); + BA.debugLineNum = 369;BA.debugLine="StartServiceAt(Me, DateTime.Now + 5 * DateTime.Ti"; +Debug.ShouldStop(65536); +tracker.mostCurrent.__c.runVoidMethod ("StartServiceAt",tracker.processBA,(Object)(tracker.getObject()),(Object)(RemoteObject.solve(new RemoteObject[] {tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable(5),tracker.mostCurrent.__c.getField(false,"DateTime").getField(true,"TicksPerMinute")}, "+*",1, 2)),(Object)(tracker.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 370;BA.debugLine="FLP.GetLastKnownLocation.Initialize"; +Debug.ShouldStop(131072); +tracker._flp.runMethod(false,"GetLastKnownLocation").runVoidMethod ("Initialize"); + BA.debugLineNum = 371;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _startflp() throws Exception{ +try { + Debug.PushSubsStack("StartFLP (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,389); +if (RapidSub.canDelegate("startflp")) { gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","startflp"); return;} +ResumableSub_StartFLP rsub = new ResumableSub_StartFLP(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_StartFLP extends BA.ResumableSub { +public ResumableSub_StartFLP(gunav2.keymon.com.mx.tracker parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +gunav2.keymon.com.mx.tracker parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartFLP (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,389); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 390;BA.debugLine="Log(\"StartFLP - flpStarted=\"&flpStarted)"; +Debug.ShouldStop(32); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","072155137",RemoteObject.concat(RemoteObject.createImmutable("StartFLP - flpStarted="),parent._flpstarted),0); + BA.debugLineNum = 391;BA.debugLine="Do While FLP.IsConnected = False"; +Debug.ShouldStop(64); +if (true) break; + +case 1: +//do while +this.state = 4; +while (RemoteObject.solveBoolean("=",parent._flp.runMethod(true,"IsConnected"),parent.mostCurrent.__c.getField(true,"False"))) { +this.state = 3; +if (true) break; +} +if (true) break; + +case 3: +//C +this.state = 1; + BA.debugLineNum = 392;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(128); +parent.mostCurrent.__c.runVoidMethod ("Sleep",tracker.processBA,anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "tracker", "startflp"),BA.numberCast(int.class, 500)); +this.state = 5; +return; +case 5: +//C +this.state = 1; +; + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 397;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest)"; +Debug.ShouldStop(4096); +parent._flp.runVoidMethod ("RequestLocationUpdates",(Object)((_createlocationrequest().getObject()))); + BA.debugLineNum = 400;BA.debugLine="flpStarted = True"; +Debug.ShouldStop(32768); +parent._flpstarted = parent.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 402;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _startflp2() throws Exception{ +try { + Debug.PushSubsStack("StartFLP2 (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,404); +if (RapidSub.canDelegate("startflp2")) { gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","startflp2"); return;} +ResumableSub_StartFLP2 rsub = new ResumableSub_StartFLP2(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_StartFLP2 extends BA.ResumableSub { +public ResumableSub_StartFLP2(gunav2.keymon.com.mx.tracker parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +gunav2.keymon.com.mx.tracker parent; +RemoteObject _logger = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartFLP2 (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,404); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 405;BA.debugLine="Log(\"StartFLP2\")"; +Debug.ShouldStop(1048576); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","072220673",RemoteObject.createImmutable("StartFLP2"),0); + BA.debugLineNum = 406;BA.debugLine="Private logger As Boolean = True"; +Debug.ShouldStop(2097152); +_logger = parent.mostCurrent.__c.getField(true,"True");Debug.locals.put("logger", _logger);Debug.locals.put("logger", _logger); + BA.debugLineNum = 407;BA.debugLine="If logger Then Log(\"StartFLP2 - flpStarted=\"&flpS"; +Debug.ShouldStop(4194304); +if (true) break; + +case 1: +//if +this.state = 6; +if (_logger.get().booleanValue()) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","072220675",RemoteObject.concat(RemoteObject.createImmutable("StartFLP2 - flpStarted="),parent._flpstarted),0); +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 408;BA.debugLine="Do While FLP.IsConnected = False"; +Debug.ShouldStop(8388608); +if (true) break; + +case 7: +//do while +this.state = 16; +while (RemoteObject.solveBoolean("=",parent._flp.runMethod(true,"IsConnected"),parent.mostCurrent.__c.getField(true,"False"))) { +this.state = 9; +if (true) break; +} +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 409;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(16777216); +parent.mostCurrent.__c.runVoidMethod ("Sleep",tracker.processBA,anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "tracker", "startflp2"),BA.numberCast(int.class, 500)); +this.state = 23; +return; +case 23: +//C +this.state = 10; +; + BA.debugLineNum = 410;BA.debugLine="If logger Then Log(\"kll - sleeping\")"; +Debug.ShouldStop(33554432); +if (true) break; + +case 10: +//if +this.state = 15; +if (_logger.get().booleanValue()) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","072220678",RemoteObject.createImmutable("kll - sleeping"),0); +if (true) break; + +case 15: +//C +this.state = 7; +; + if (true) break; + +case 16: +//C +this.state = 17; +; + BA.debugLineNum = 412;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +Debug.ShouldStop(134217728); +_dameultimaubicacionconocida(); + BA.debugLineNum = 413;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; +Debug.ShouldStop(268435456); +parent._flp.runVoidMethod ("RequestLocationUpdates",(Object)((_createlocationrequest2().getObject()))); + BA.debugLineNum = 414;BA.debugLine="If logger Then LogColor(\"Buscamos ubicacion (movi"; +Debug.ShouldStop(536870912); +if (true) break; + +case 17: +//if +this.state = 22; +if (_logger.get().booleanValue()) { +this.state = 19; +;}if (true) break; + +case 19: +//C +this.state = 22; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","072220682",RemoteObject.concat(RemoteObject.createImmutable("Buscamos ubicacion (movimientoMinimo = "),parent._actuallr.runMethod(true,"GetSmallestDisplacement"),RemoteObject.createImmutable(")")),parent.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); +if (true) break; + +case 22: +//C +this.state = -1; +; + BA.debugLineNum = 416;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _startflpsmall() throws Exception{ +try { + Debug.PushSubsStack("StartFLPSmall (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,418); +if (RapidSub.canDelegate("startflpsmall")) { gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","startflpsmall"); return;} +ResumableSub_StartFLPSmall rsub = new ResumableSub_StartFLPSmall(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_StartFLPSmall extends BA.ResumableSub { +public ResumableSub_StartFLPSmall(gunav2.keymon.com.mx.tracker parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +gunav2.keymon.com.mx.tracker parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartFLPSmall (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,418); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 419;BA.debugLine="Log(\"StartFLPSmall - flpStarted=\"&flpStarted)"; +Debug.ShouldStop(4); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","072286209",RemoteObject.concat(RemoteObject.createImmutable("StartFLPSmall - flpStarted="),parent._flpstarted),0); + BA.debugLineNum = 420;BA.debugLine="Do While FLP.IsConnected = False"; +Debug.ShouldStop(8); +if (true) break; + +case 1: +//do while +this.state = 4; +while (RemoteObject.solveBoolean("=",parent._flp.runMethod(true,"IsConnected"),parent.mostCurrent.__c.getField(true,"False"))) { +this.state = 3; +if (true) break; +} +if (true) break; + +case 3: +//C +this.state = 1; + BA.debugLineNum = 421;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(16); +parent.mostCurrent.__c.runVoidMethod ("Sleep",tracker.processBA,anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "tracker", "startflpsmall"),BA.numberCast(int.class, 500)); +this.state = 5; +return; +case 5: +//C +this.state = 1; +; + BA.debugLineNum = 422;BA.debugLine="Log(\"sleeping\")"; +Debug.ShouldStop(32); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","072286212",RemoteObject.createImmutable("sleeping"),0); + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 424;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +Debug.ShouldStop(128); +_dameultimaubicacionconocida(); + BA.debugLineNum = 425;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequestS"; +Debug.ShouldStop(256); +parent._flp.runVoidMethod ("RequestLocationUpdates",(Object)((_createlocationrequestsmalld().getObject()))); + BA.debugLineNum = 428;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _stopflp() throws Exception{ +try { + Debug.PushSubsStack("StopFLP (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,479); +if (RapidSub.canDelegate("stopflp")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","stopflp");} + BA.debugLineNum = 479;BA.debugLine="Public Sub StopFLP"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 480;BA.debugLine="Log(\"StopFLP\")"; +Debug.ShouldStop(-2147483648); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072613889",RemoteObject.createImmutable("StopFLP"),0); + BA.debugLineNum = 481;BA.debugLine="If flpStarted Then"; +Debug.ShouldStop(1); +if (tracker._flpstarted.get().booleanValue()) { + BA.debugLineNum = 482;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; +Debug.ShouldStop(2); +tracker._flp.runVoidMethod ("RemoveLocationUpdates"); + BA.debugLineNum = 483;BA.debugLine="flpStarted = False"; +Debug.ShouldStop(4); +tracker._flpstarted = tracker.mostCurrent.__c.getField(true,"False"); + }; + BA.debugLineNum = 485;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _track() throws Exception{ +try { + Debug.PushSubsStack("Track (tracker) ","tracker",13,tracker.processBA,tracker.mostCurrent,373); +if (RapidSub.canDelegate("track")) { return gunav2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","track");} + BA.debugLineNum = 373;BA.debugLine="Public Sub Track"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 374;BA.debugLine="Log(\"Inicia Track - Tracking : \"&Tracking)"; +Debug.ShouldStop(2097152); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072089601",RemoteObject.concat(RemoteObject.createImmutable("Inicia Track - Tracking : "),tracker._tracking),0); + BA.debugLineNum = 375;BA.debugLine="If Not(FLP.IsInitialized) Then FLP.Initialize(\"fl"; +Debug.ShouldStop(4194304); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker._flp.runMethod(true,"IsInitialized"))).get().booleanValue()) { +tracker._flp.runVoidMethod ("Initialize",tracker.processBA,(Object)(RemoteObject.createImmutable("flp")));}; + BA.debugLineNum = 376;BA.debugLine="If Not(FLP.IsConnected) Then FLP.Connect"; +Debug.ShouldStop(8388608); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker._flp.runMethod(true,"IsConnected"))).get().booleanValue()) { +tracker._flp.runVoidMethod ("Connect");}; + BA.debugLineNum = 377;BA.debugLine="If Tracking And actualLR.IsInitialized Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(".",tracker._tracking) && RemoteObject.solveBoolean(".",tracker._actuallr.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 379;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; +Debug.ShouldStop(67108864); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 381;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",tracker.mostCurrent._starter._rp /*RemoteObject*/ .runMethod(true,"Check",(Object)(tracker.mostCurrent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))),tracker.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 382;BA.debugLine="Log(\"No permission\")"; +Debug.ShouldStop(536870912); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","072089609",RemoteObject.createImmutable("No permission"),0); + BA.debugLineNum = 383;BA.debugLine="Return"; +Debug.ShouldStop(1073741824); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 385;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; +Debug.ShouldStop(1); +_startflp(); + BA.debugLineNum = 386;BA.debugLine="Tracking = True"; +Debug.ShouldStop(2); +tracker._tracking = tracker.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 387;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/v_tclientes.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/v_tclientes.java new file mode 100644 index 0000000..d1138bd --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/v_tclientes.java @@ -0,0 +1,40 @@ + +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class v_tclientes { + public static RemoteObject myClass; + public v_tclientes() { + } + public static PCBA staticBA = new PCBA(null, v_tclientes.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _la_cuenta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_nombre = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_calle = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_col = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_entre1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_entre2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label19 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public static gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"l_atiende",_ref.getField(false, "_l_atiende"),"l_entre1",_ref.getField(false, "_l_entre1"),"l_entre2",_ref.getField(false, "_l_entre2"),"la_Calle",_ref.getField(false, "_la_calle"),"la_col",_ref.getField(false, "_la_col"),"la_cuenta",_ref.getField(false, "_la_cuenta"),"La_nombre",_ref.getField(false, "_la_nombre"),"Label19",_ref.getField(false, "_label19"),"Root",_ref.getField(false, "_root"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/v_tclientes_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/v_tclientes_subs_0.java new file mode 100644 index 0000000..6ab0486 --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/v_tclientes_subs_0.java @@ -0,0 +1,136 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class v_tclientes_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (v_tclientes) ","v_tclientes",14,__ref.getField(false, "ba"),__ref,27); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "v_tclientes","b4xpage_appear", __ref);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 27;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 28;BA.debugLine="Log(\"Entramos\")"; +Debug.ShouldStop(134217728); +v_tclientes.__c.runVoidMethod ("LogImpl","073269249",RemoteObject.createImmutable("Entramos"),0); + BA.debugLineNum = 29;BA.debugLine="Dim c As Cursor = Starter.skmt.ExecQuery ($\"selec"; +Debug.ShouldStop(268435456); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), v_tclientes._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select * from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO in (Select CUENTA from cuentaa)")))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 30;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 31;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1073741824); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 32;BA.debugLine="Log(c.GetString(\"CAT_CL_NOMBRE\"))"; +Debug.ShouldStop(-2147483648); +v_tclientes.__c.runVoidMethod ("LogImpl","073269253",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))),0); + BA.debugLineNum = 33;BA.debugLine="la_cuenta.Text=c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))); + BA.debugLineNum = 34;BA.debugLine="La_nombre.Text=c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))))); + BA.debugLineNum = 35;BA.debugLine="la_Calle.Text=c.GetString(\"CAT_CL_CALLE\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))))); + BA.debugLineNum = 36;BA.debugLine="la_col.Text=c.GetString(\"CAT_CL_COLONIA\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_COLONIA"))))); + BA.debugLineNum = 37;BA.debugLine="l_entre1.Text=c.GetString(\"CAT_CL_CALLE1\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1"))))); + BA.debugLineNum = 38;BA.debugLine="l_entre2.Text=c.GetString(\"CAT_CL_CALLE2\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2"))))); + BA.debugLineNum = 39;BA.debugLine="l_atiende.Text=c.GetString(\"CAT_CL_ATIENDE1\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))))); + BA.debugLineNum = 40;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(128); +__ref.getField(false,"_label19" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO"))))); + }; + BA.debugLineNum = 42;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (v_tclientes) ","v_tclientes",14,__ref.getField(false, "ba"),__ref,21); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "v_tclientes","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 21;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 22;BA.debugLine="Root = Root1"; +Debug.ShouldStop(2097152); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 24;BA.debugLine="Root.LoadLayout(\"Vista_todoslosclientes\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("Vista_todoslosclientes")),__ref.getField(false, "ba")); + BA.debugLineNum = 25;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +v_tclientes._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",v_tclientes._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +v_tclientes._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",v_tclientes._xui); + //BA.debugLineNum = 5;BA.debugLine="Private la_cuenta As Label"; +v_tclientes._la_cuenta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_cuenta",v_tclientes._la_cuenta); + //BA.debugLineNum = 6;BA.debugLine="Private La_nombre As Label"; +v_tclientes._la_nombre = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_nombre",v_tclientes._la_nombre); + //BA.debugLineNum = 7;BA.debugLine="Private la_Calle As Label"; +v_tclientes._la_calle = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_calle",v_tclientes._la_calle); + //BA.debugLineNum = 8;BA.debugLine="Private la_col As Label"; +v_tclientes._la_col = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_col",v_tclientes._la_col); + //BA.debugLineNum = 9;BA.debugLine="Private l_entre1 As Label"; +v_tclientes._l_entre1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_entre1",v_tclientes._l_entre1); + //BA.debugLineNum = 10;BA.debugLine="Private l_entre2 As Label"; +v_tclientes._l_entre2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_entre2",v_tclientes._l_entre2); + //BA.debugLineNum = 11;BA.debugLine="Private l_atiende As Label"; +v_tclientes._l_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende",v_tclientes._l_atiende); + //BA.debugLineNum = 12;BA.debugLine="Private Label19 As Label"; +v_tclientes._label19 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label19",v_tclientes._label19); + //BA.debugLineNum = 13;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (v_tclientes) ","v_tclientes",14,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "v_tclientes","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(32768); + BA.debugLineNum = 17;BA.debugLine="Return Me"; +Debug.ShouldStop(65536); +if (true) return __ref; + BA.debugLineNum = 18;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/xuiviewsutils.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/xuiviewsutils.java new file mode 100644 index 0000000..7bc410c --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/xuiviewsutils.java @@ -0,0 +1,65 @@ + +package gunav2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class xuiviewsutils implements IRemote{ + public static xuiviewsutils mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public xuiviewsutils() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, xuiviewsutils.class); + static { + mostCurrent = new xuiviewsutils(); + remoteMe = RemoteObject.declareNull("gunav2.keymon.com.mx.xuiviewsutils"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("xuiviewsutils"), "gunav2.keymon.com.mx.xuiviewsutils"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("gunav2.keymon.com.mx.xuiviewsutils"), new java.lang.ref.WeakReference (pcBA)); + } + + public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } + public PCBA create(Object[] args) throws ClassNotFoundException{ + throw new RuntimeException("CREATE is not supported."); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _utilsinitialized = RemoteObject.createImmutable(false); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static gunav2.keymon.com.mx.main _main = null; +public static gunav2.keymon.com.mx.starter _starter = null; +public static gunav2.keymon.com.mx.subs _subs = null; +public static gunav2.keymon.com.mx.appupdater _appupdater = null; +public static gunav2.keymon.com.mx.tracker _tracker = null; +public static gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public static gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public static gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public static gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static gunav2.keymon.com.mx.httputils2service _httputils2service = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(gunav2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(gunav2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(gunav2.keymon.com.mx.b4xpages.class),"DateUtils",xuiviewsutils.mostCurrent._dateutils,"FirebaseMessaging",Debug.moduleToString(gunav2.keymon.com.mx.firebasemessaging.class),"HttpUtils2Service",Debug.moduleToString(gunav2.keymon.com.mx.httputils2service.class),"Main",Debug.moduleToString(gunav2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(gunav2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(gunav2.keymon.com.mx.newinst2.class),"Starter",Debug.moduleToString(gunav2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(gunav2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(gunav2.keymon.com.mx.tracker.class),"UtilsInitialized",xuiviewsutils._utilsinitialized,"xui",xuiviewsutils._xui}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/gunav2/keymon/com/mx/xuiviewsutils_subs_0.java b/B4A/Objects/shell/src/gunav2/keymon/com/mx/xuiviewsutils_subs_0.java new file mode 100644 index 0000000..4bb974b --- /dev/null +++ b/B4A/Objects/shell/src/gunav2/keymon/com/mx/xuiviewsutils_subs_0.java @@ -0,0 +1,275 @@ +package gunav2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class xuiviewsutils_subs_0 { + + +public static RemoteObject _addstubtoclvifneeded(RemoteObject _ba,RemoteObject _customlistview1,RemoteObject _color) throws Exception{ +try { + Debug.PushSubsStack("AddStubToCLVIfNeeded (xuiviewsutils) ","xuiviewsutils",73,_ba,xuiviewsutils.mostCurrent,34); +if (RapidSub.canDelegate("addstubtoclvifneeded")) { return gunav2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","addstubtoclvifneeded", _ba, _customlistview1, _color);} +RemoteObject _lastitem = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _height = RemoteObject.createImmutable(0); +; +Debug.locals.put("CustomListView1", _customlistview1); +Debug.locals.put("Color", _color); + BA.debugLineNum = 34;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 35;BA.debugLine="If CustomListView1.Size = 0 Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_customlistview1.runMethod(true,"_getsize"),BA.numberCast(double.class, 0))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 36;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; +Debug.JustUpdateDeviceLine(); +_lastitem = _customlistview1.runMethod(false,"_getrawlistitem",(Object)(RemoteObject.solve(new RemoteObject[] {_customlistview1.runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1)));Debug.locals.put("LastItem", _lastitem);Debug.locals.put("LastItem", _lastitem); + BA.debugLineNum = 37;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_lastitem.getField(true,"Offset"),_lastitem.getField(false,"Panel").runMethod(true,"getHeight")}, "+",1, 1),BA.numberCast(double.class, _customlistview1.runMethod(false,"_asview").runMethod(true,"getHeight")))) { + BA.debugLineNum = 39;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = xuiviewsutils._xui.runMethod(false,"CreatePanel",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(RemoteObject.createImmutable("stub")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 40;BA.debugLine="p.Color = Color"; +Debug.JustUpdateDeviceLine(); +_p.runMethod(true,"setColor",_color); + BA.debugLineNum = 41;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh"; +Debug.JustUpdateDeviceLine(); +_height = RemoteObject.solve(new RemoteObject[] {_customlistview1.runMethod(false,"_asview").runMethod(true,"getHeight"),_lastitem.getField(true,"Offset"),_lastitem.getField(false,"Panel").runMethod(true,"getHeight"),xuiviewsutils.mostCurrent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "---",3, 1);Debug.locals.put("Height", _height);Debug.locals.put("Height", _height); + BA.debugLineNum = 42;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; +Debug.JustUpdateDeviceLine(); +if (xuiviewsutils._xui.runMethod(true,"getIsB4J").get().booleanValue()) { +_height = RemoteObject.solve(new RemoteObject[] {_height,RemoteObject.createImmutable(5)}, "+",1, 1);Debug.locals.put("Height", _height);}; + BA.debugLineNum = 43;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_customlistview1.runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(_height)); + BA.debugLineNum = 44;BA.debugLine="CustomListView1.Add(p, \"\")"; +Debug.JustUpdateDeviceLine(); +_customlistview1.runVoidMethod ("_add",(Object)(_p),(Object)((RemoteObject.createImmutable("")))); + BA.debugLineNum = 45;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; +Debug.JustUpdateDeviceLine(); +_customlistview1.getField(false,"_sv").runMethod(true,"setScrollViewContentHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_customlistview1.getField(false,"_sv").runMethod(true,"getScrollViewContentHeight"),_customlistview1.runMethod(true,"_getdividersize")}, "-",1, 0))); + }; + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createb4ximageview(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("CreateB4XImageView (xuiviewsutils) ","xuiviewsutils",73,_ba,xuiviewsutils.mostCurrent,85); +if (RapidSub.canDelegate("createb4ximageview")) { return gunav2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","createb4ximageview", _ba);} +RemoteObject _iv = RemoteObject.declareNull("gunav2.keymon.com.mx.b4ximageview"); +RemoteObject _base = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +; + BA.debugLineNum = 85;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 86;BA.debugLine="Dim iv As B4XImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("gunav2.keymon.com.mx.b4ximageview");Debug.locals.put("iv", _iv); + BA.debugLineNum = 87;BA.debugLine="iv.Initialize(Null, \"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_initialize" /*RemoteObject*/ ,_ba,(Object)(xuiviewsutils.mostCurrent.__c.getField(false,"Null")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 88;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_base = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_base = xuiviewsutils._xui.runMethod(false,"CreatePanel",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("base", _base);Debug.locals.put("base", _base); + BA.debugLineNum = 89;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)"; +Debug.JustUpdateDeviceLine(); +_base.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(xuiviewsutils.mostCurrent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)))),(Object)(xuiviewsutils.mostCurrent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100))))); + BA.debugLineNum = 90;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun"; +Debug.JustUpdateDeviceLine(); +_iv.runClassMethod (gunav2.keymon.com.mx.b4ximageview.class, "_designercreateview" /*RemoteObject*/ ,(Object)((_base.getObject())),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), xuiviewsutils.mostCurrent.__c.getField(false,"Null")),(Object)(xuiviewsutils.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("Round")),(xuiviewsutils.mostCurrent.__c.getField(true,"False")),RemoteObject.createImmutable(("ResizeMode")),RemoteObject.createImmutable(("FIT")),RemoteObject.createImmutable(("BackgroundColor")),RemoteObject.createImmutable((((int)0xffaaaaaa))),RemoteObject.createImmutable(("CornersRadius")),RemoteObject.createImmutable((0))})))); + BA.debugLineNum = 91;BA.debugLine="Return iv"; +Debug.JustUpdateDeviceLine(); +if (true) return _iv; + BA.debugLineNum = 92;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlabel(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("CreateLabel (xuiviewsutils) ","xuiviewsutils",73,_ba,xuiviewsutils.mostCurrent,78); +if (RapidSub.canDelegate("createlabel")) { return gunav2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","createlabel", _ba);} +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +; + BA.debugLineNum = 78;BA.debugLine="Public Sub CreateLabel As B4XView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 79;BA.debugLine="Dim lbl As Label"; +Debug.JustUpdateDeviceLine(); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 80;BA.debugLine="lbl.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("Initialize",_ba,(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 81;BA.debugLine="Return lbl"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject()); + BA.debugLineNum = 82;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (xuiviewsutils) ","xuiviewsutils",73,_ba,xuiviewsutils.mostCurrent,10); +if (RapidSub.canDelegate("initialize")) { return gunav2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","initialize", _ba);} +; + BA.debugLineNum = 10;BA.debugLine="Private Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 11;BA.debugLine="If UtilsInitialized Then Return"; +Debug.JustUpdateDeviceLine(); +if (xuiviewsutils._utilsinitialized.get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 12;BA.debugLine="UtilsInitialized = True"; +Debug.JustUpdateDeviceLine(); +xuiviewsutils._utilsinitialized = xuiviewsutils.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 19;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _performhapticfeedback(RemoteObject _ba,RemoteObject _view) throws Exception{ +try { + Debug.PushSubsStack("PerformHapticFeedback (xuiviewsutils) ","xuiviewsutils",73,_ba,xuiviewsutils.mostCurrent,21); +if (RapidSub.canDelegate("performhapticfeedback")) { return gunav2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","performhapticfeedback", _ba, _view);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +; +Debug.locals.put("View", _view); + BA.debugLineNum = 21;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 22;BA.debugLine="Initialize"; +Debug.JustUpdateDeviceLine(); +_initialize(_ba); + BA.debugLineNum = 24;BA.debugLine="Dim jo As JavaObject = View"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _view.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 25;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("performHapticFeedback")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private UtilsInitialized As Boolean"; +xuiviewsutils._utilsinitialized = RemoteObject.createImmutable(false); + //BA.debugLineNum = 7;BA.debugLine="Private xui As XUI"; +xuiviewsutils._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _setalpha(RemoteObject _ba,RemoteObject _view,RemoteObject _level) throws Exception{ +try { + Debug.PushSubsStack("SetAlpha (xuiviewsutils) ","xuiviewsutils",73,_ba,xuiviewsutils.mostCurrent,95); +if (RapidSub.canDelegate("setalpha")) { return gunav2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","setalpha", _ba, _view, _level);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _alpha = RemoteObject.createImmutable(0f); +; +Debug.locals.put("View", _view); +Debug.locals.put("Level", _level); + BA.debugLineNum = 95;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 97;BA.debugLine="Dim jo As JavaObject = View"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _view.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 98;BA.debugLine="Dim alpha As Float = Level"; +Debug.JustUpdateDeviceLine(); +_alpha = _level;Debug.locals.put("alpha", _alpha);Debug.locals.put("alpha", _alpha); + BA.debugLineNum = 99;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setAlpha")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_alpha)}))); + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbitmapandfill(RemoteObject _ba,RemoteObject _imageview,RemoteObject _bmp) throws Exception{ +try { + Debug.PushSubsStack("SetBitmapAndFill (xuiviewsutils) ","xuiviewsutils",73,_ba,xuiviewsutils.mostCurrent,65); +if (RapidSub.canDelegate("setbitmapandfill")) { return gunav2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","setbitmapandfill", _ba, _imageview, _bmp);} +RemoteObject _iiv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +; +Debug.locals.put("ImageView", _imageview); +Debug.locals.put("Bmp", _bmp); + BA.debugLineNum = 65;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 66;BA.debugLine="ImageView.SetBitmap(Bmp)"; +Debug.JustUpdateDeviceLine(); +_imageview.runVoidMethod ("SetBitmap",(Object)((_bmp.getObject()))); + BA.debugLineNum = 67;BA.debugLine="Dim iiv As ImageView = ImageView"; +Debug.JustUpdateDeviceLine(); +_iiv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper"); +_iiv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ImageViewWrapper"), _imageview.getObject());Debug.locals.put("iiv", _iiv);Debug.locals.put("iiv", _iiv); + BA.debugLineNum = 69;BA.debugLine="iiv.Gravity = Gravity.FILL"; +Debug.JustUpdateDeviceLine(); +_iiv.runMethod(true,"setGravity",xuiviewsutils.mostCurrent.__c.getField(false,"Gravity").getField(true,"FILL")); + BA.debugLineNum = 75;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settextorcsbuildertolabel(RemoteObject _ba,RemoteObject _xlbl,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("SetTextOrCSBuilderToLabel (xuiviewsutils) ","xuiviewsutils",73,_ba,xuiviewsutils.mostCurrent,50); +if (RapidSub.canDelegate("settextorcsbuildertolabel")) { return gunav2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","settextorcsbuildertolabel", _ba, _xlbl, _text);} +; +Debug.locals.put("xlbl", _xlbl); +Debug.locals.put("Text", _text); + BA.debugLineNum = 50;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 52;BA.debugLine="xlbl.Text = Text"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/animatedcounter.java b/B4A/Objects/src/gunav2/keymon/com/mx/animatedcounter.java index a0e50d5..b2d8402 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/animatedcounter.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/animatedcounter.java @@ -10,7 +10,7 @@ public class animatedcounter extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.animatedcounter"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.animatedcounter"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class animatedcounter extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -43,295 +50,429 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ +public String _base_resize(gunav2.keymon.com.mx.animatedcounter __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} int _columns = 0; anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; int _left = 0; int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; - //BA.debugLineNum = 70;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 71;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 72;BA.debugLine="xfadeIv.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_xfadeiv.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 73;BA.debugLine="xfadeIv.SetBitmap(fade.Resize(Width, Height, Fals"; -_xfadeiv.SetBitmap((android.graphics.Bitmap)(_fade.Resize((int) (_width),(int) (_height),__c.False).getObject())); - //BA.debugLineNum = 74;BA.debugLine="DigitHeight = Height"; -_digitheight = (int) (_height); - //BA.debugLineNum = 75;BA.debugLine="Dim Columns As Int = mdigits"; -_columns = _mdigits; - //BA.debugLineNum = 76;BA.debugLine="DigitWidth = Width / Columns"; -_digitwidth = (int) (_width/(double)_columns); - //BA.debugLineNum = 77;BA.debugLine="Dim bmp As B4XBitmap = CreateBitmap(lblTemplate)"; +RDebugUtils.currentLine=21757952; + //BA.debugLineNum = 21757952;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=21757953; + //BA.debugLineNum = 21757953;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=21757954; + //BA.debugLineNum = 21757954;BA.debugLine="xfadeIv.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._xfadeiv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=21757955; + //BA.debugLineNum = 21757955;BA.debugLine="xfadeIv.SetBitmap(fade.Resize(Width, Height, Fals"; +__ref._xfadeiv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__ref._fade /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .Resize((int) (_width),(int) (_height),__c.False).getObject())); +RDebugUtils.currentLine=21757956; + //BA.debugLineNum = 21757956;BA.debugLine="DigitHeight = Height"; +__ref._digitheight /*int*/ = (int) (_height); +RDebugUtils.currentLine=21757957; + //BA.debugLineNum = 21757957;BA.debugLine="Dim Columns As Int = mdigits"; +_columns = __ref._mdigits /*int*/ ; +RDebugUtils.currentLine=21757958; + //BA.debugLineNum = 21757958;BA.debugLine="DigitWidth = Width / Columns"; +__ref._digitwidth /*int*/ = (int) (_width/(double)_columns); +RDebugUtils.currentLine=21757959; + //BA.debugLineNum = 21757959;BA.debugLine="Dim bmp As B4XBitmap = CreateBitmap(lblTemplate)"; _bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_bmp = _createbitmap(_lbltemplate); - //BA.debugLineNum = 78;BA.debugLine="Dim left As Int = Width"; +_bmp = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,__ref._lbltemplate /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=21757960; + //BA.debugLineNum = 21757960;BA.debugLine="Dim left As Int = Width"; _left = (int) (_width); - //BA.debugLineNum = 79;BA.debugLine="For i = 0 To ImageViews.Size - 1"; +RDebugUtils.currentLine=21757961; + //BA.debugLineNum = 21757961;BA.debugLine="For i = 0 To ImageViews.Size - 1"; { final int step9 = 1; -final int limit9 = (int) (_imageviews.getSize()-1); +final int limit9 = (int) (__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 80;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; +RDebugUtils.currentLine=21757962; + //BA.debugLineNum = 21757962;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; _iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_imageviews.Get(_i))); - //BA.debugLineNum = 82;BA.debugLine="left = left - DigitWidth"; -_left = (int) (_left-_digitwidth); - //BA.debugLineNum = 83;BA.debugLine="iv.SetLayoutAnimated(0, left, TopFromValue(i), D"; -_iv.SetLayoutAnimated((int) (0),_left,_topfromvalue(_i),_digitwidth,(int) (_digitheight*10)); - //BA.debugLineNum = 84;BA.debugLine="iv.SetBitmap(bmp)"; +_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=21757964; + //BA.debugLineNum = 21757964;BA.debugLine="left = left - DigitWidth"; +_left = (int) (_left-__ref._digitwidth /*int*/ ); +RDebugUtils.currentLine=21757965; + //BA.debugLineNum = 21757965;BA.debugLine="iv.SetLayoutAnimated(0, left, TopFromValue(i), D"; +_iv.SetLayoutAnimated((int) (0),_left,__ref._topfromvalue /*int*/ (null,_i),__ref._digitwidth /*int*/ ,(int) (__ref._digitheight /*int*/ *10)); +RDebugUtils.currentLine=21757966; + //BA.debugLineNum = 21757966;BA.debugLine="iv.SetBitmap(bmp)"; _iv.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); } }; - //BA.debugLineNum = 86;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21757968; + //BA.debugLineNum = 21757968;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Private ImageViews As List"; -_imageviews = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 11;BA.debugLine="Private mdigits As Int"; -_mdigits = 0; - //BA.debugLineNum = 12;BA.debugLine="Private lblTemplate As B4XView"; -_lbltemplate = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private mValue As List"; -_mvalue = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Private DigitHeight, DigitWidth As Int"; -_digitheight = 0; -_digitwidth = 0; - //BA.debugLineNum = 15;BA.debugLine="Private mDuration As Int"; -_mduration = 0; - //BA.debugLineNum = 16;BA.debugLine="Private fade As B4XBitmap"; -_fade = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private xfadeIv As B4XView"; -_xfadeiv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 20;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(anywheresoftware.b4a.objects.B4XViewWrapper _lbl) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(gunav2.keymon.com.mx.animatedcounter __ref,anywheresoftware.b4a.objects.B4XViewWrapper _lbl) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "createbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createbitmap", new Object[] {_lbl}));} anywheresoftware.b4a.objects.B4XViewWrapper _p = null; anywheresoftware.b4a.objects.B4XCanvas _cvs = null; anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; int _baseline = 0; int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _res = null; - //BA.debugLineNum = 93;BA.debugLine="Private Sub CreateBitmap (lbl As B4XView) As B4XBi"; - //BA.debugLineNum = 94;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=21889024; + //BA.debugLineNum = 21889024;BA.debugLine="Private Sub CreateBitmap (lbl As B4XView) As B4XBi"; +RDebugUtils.currentLine=21889025; + //BA.debugLineNum = 21889025;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 95;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, DigitWidth, DigitHei"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_digitwidth,(int) (_digitheight*10)); - //BA.debugLineNum = 96;BA.debugLine="Dim cvs As B4XCanvas"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=21889026; + //BA.debugLineNum = 21889026;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, DigitWidth, DigitHei"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._digitwidth /*int*/ ,(int) (__ref._digitheight /*int*/ *10)); +RDebugUtils.currentLine=21889027; + //BA.debugLineNum = 21889027;BA.debugLine="Dim cvs As B4XCanvas"; _cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 97;BA.debugLine="cvs.Initialize(p)"; +RDebugUtils.currentLine=21889028; + //BA.debugLineNum = 21889028;BA.debugLine="cvs.Initialize(p)"; _cvs.Initialize(_p); - //BA.debugLineNum = 98;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"5\", lbl.Font)"; +RDebugUtils.currentLine=21889029; + //BA.debugLineNum = 21889029;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"5\", lbl.Font)"; _r = _cvs.MeasureText("5",_lbl.getFont()); - //BA.debugLineNum = 99;BA.debugLine="Dim BaseLine As Int = DigitHeight / 2 - r.Height"; -_baseline = (int) (_digitheight/(double)2-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 100;BA.debugLine="For i = 0 To 9"; +RDebugUtils.currentLine=21889030; + //BA.debugLineNum = 21889030;BA.debugLine="Dim BaseLine As Int = DigitHeight / 2 - r.Height"; +_baseline = (int) (__ref._digitheight /*int*/ /(double)2-_r.getHeight()/(double)2-_r.getTop()); +RDebugUtils.currentLine=21889031; + //BA.debugLineNum = 21889031;BA.debugLine="For i = 0 To 9"; { final int step7 = 1; final int limit7 = (int) (9); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawText(i, DigitWidth / 2, i * DigitHeight"; -_cvs.DrawText(ba,BA.NumberToString(_i),(float) (_digitwidth/(double)2),(float) (_i*_digitheight+_baseline),_lbl.getFont(),_lbl.getTextColor(),BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=21889032; + //BA.debugLineNum = 21889032;BA.debugLine="cvs.DrawText(i, DigitWidth / 2, i * DigitHeight"; +_cvs.DrawText(ba,BA.NumberToString(_i),(float) (__ref._digitwidth /*int*/ /(double)2),(float) (_i*__ref._digitheight /*int*/ +_baseline),_lbl.getFont(),_lbl.getTextColor(),BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); } }; - //BA.debugLineNum = 103;BA.debugLine="cvs.Invalidate"; +RDebugUtils.currentLine=21889034; + //BA.debugLineNum = 21889034;BA.debugLine="cvs.Invalidate"; _cvs.Invalidate(); - //BA.debugLineNum = 104;BA.debugLine="Dim res As B4XBitmap = cvs.CreateBitmap"; +RDebugUtils.currentLine=21889035; + //BA.debugLineNum = 21889035;BA.debugLine="Dim res As B4XBitmap = cvs.CreateBitmap"; _res = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _res = _cvs.CreateBitmap(); - //BA.debugLineNum = 105;BA.debugLine="cvs.Release"; +RDebugUtils.currentLine=21889036; + //BA.debugLineNum = 21889036;BA.debugLine="cvs.Release"; _cvs.Release(); - //BA.debugLineNum = 106;BA.debugLine="Return res"; +RDebugUtils.currentLine=21889037; + //BA.debugLineNum = 21889037;BA.debugLine="Return res"; if (true) return _res; - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21889038; + //BA.debugLineNum = 21889038;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createfadebitmap(int _clr) throws Exception{ +public int _topfromvalue(gunav2.keymon.com.mx.animatedcounter __ref,int _digit) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "topfromvalue", true)) + {return ((Integer) Debug.delegate(ba, "topfromvalue", new Object[] {_digit}));} +int _d = 0; +RDebugUtils.currentLine=21823488; + //BA.debugLineNum = 21823488;BA.debugLine="Private Sub TopFromValue (Digit As Int) As Int"; +RDebugUtils.currentLine=21823489; + //BA.debugLineNum = 21823489;BA.debugLine="Dim d As Int = mValue.Get(Digit)"; +_d = (int)(BA.ObjectToNumber(__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Get(_digit))); +RDebugUtils.currentLine=21823490; + //BA.debugLineNum = 21823490;BA.debugLine="Return -d * DigitHeight"; +if (true) return (int) (-_d*__ref._digitheight /*int*/ ); +RDebugUtils.currentLine=21823491; + //BA.debugLineNum = 21823491;BA.debugLine="End Sub"; +return 0; +} +public String _class_globals(gunav2.keymon.com.mx.animatedcounter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +RDebugUtils.currentLine=21495808; + //BA.debugLineNum = 21495808;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=21495809; + //BA.debugLineNum = 21495809;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=21495810; + //BA.debugLineNum = 21495810;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=21495811; + //BA.debugLineNum = 21495811;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=21495812; + //BA.debugLineNum = 21495812;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=21495813; + //BA.debugLineNum = 21495813;BA.debugLine="Private ImageViews As List"; +_imageviews = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=21495814; + //BA.debugLineNum = 21495814;BA.debugLine="Private mdigits As Int"; +_mdigits = 0; +RDebugUtils.currentLine=21495815; + //BA.debugLineNum = 21495815;BA.debugLine="Private lblTemplate As B4XView"; +_lbltemplate = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=21495816; + //BA.debugLineNum = 21495816;BA.debugLine="Private mValue As List"; +_mvalue = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=21495817; + //BA.debugLineNum = 21495817;BA.debugLine="Private DigitHeight, DigitWidth As Int"; +_digitheight = 0; +_digitwidth = 0; +RDebugUtils.currentLine=21495818; + //BA.debugLineNum = 21495818;BA.debugLine="Private mDuration As Int"; +_mduration = 0; +RDebugUtils.currentLine=21495819; + //BA.debugLineNum = 21495819;BA.debugLine="Private fade As B4XBitmap"; +_fade = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=21495820; + //BA.debugLineNum = 21495820;BA.debugLine="Private xfadeIv As B4XView"; +_xfadeiv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=21495821; + //BA.debugLineNum = 21495821;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=21495823; + //BA.debugLineNum = 21495823;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createfadebitmap(gunav2.keymon.com.mx.animatedcounter __ref,int _clr) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "createfadebitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createfadebitmap", new Object[] {_clr}));} b4a.example.bitmapcreator _bc = null; anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; int _tclr = 0; - //BA.debugLineNum = 56;BA.debugLine="Private Sub CreateFadeBitmap (clr As Int) As B4XBi"; - //BA.debugLineNum = 57;BA.debugLine="Dim bc As BitmapCreator"; +RDebugUtils.currentLine=21692416; + //BA.debugLineNum = 21692416;BA.debugLine="Private Sub CreateFadeBitmap (clr As Int) As B4XBi"; +RDebugUtils.currentLine=21692417; + //BA.debugLineNum = 21692417;BA.debugLine="Dim bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 58;BA.debugLine="bc.Initialize(200, 50)"; +RDebugUtils.currentLine=21692418; + //BA.debugLineNum = 21692418;BA.debugLine="bc.Initialize(200, 50)"; _bc._initialize(ba,(int) (200),(int) (50)); - //BA.debugLineNum = 59;BA.debugLine="Dim r As B4XRect"; +RDebugUtils.currentLine=21692419; + //BA.debugLineNum = 21692419;BA.debugLine="Dim r As B4XRect"; _r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 60;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight / 3)"; +RDebugUtils.currentLine=21692420; + //BA.debugLineNum = 21692420;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight / 3)"; _r.Initialize((float) (0),(float) (0),(float) (_bc._mwidth),(float) (_bc._mheight/(double)3)); - //BA.debugLineNum = 61;BA.debugLine="Dim tclr As Int = Bit.And(0x00ffffff, clr)"; +RDebugUtils.currentLine=21692421; + //BA.debugLineNum = 21692421;BA.debugLine="Dim tclr As Int = Bit.And(0x00ffffff, clr)"; _tclr = __c.Bit.And(((int)0x00ffffff),_clr); - //BA.debugLineNum = 62;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"TOP_"; +RDebugUtils.currentLine=21692422; + //BA.debugLineNum = 21692422;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"TOP_"; _bc._fillgradient(new int[]{_clr,_tclr},_r,"TOP_BOTTOM"); - //BA.debugLineNum = 63;BA.debugLine="r.Top = bc.mHeight * 2 / 3"; +RDebugUtils.currentLine=21692423; + //BA.debugLineNum = 21692423;BA.debugLine="r.Top = bc.mHeight * 2 / 3"; _r.setTop((float) (_bc._mheight*2/(double)3)); - //BA.debugLineNum = 64;BA.debugLine="r.Bottom = bc.mHeight"; +RDebugUtils.currentLine=21692424; + //BA.debugLineNum = 21692424;BA.debugLine="r.Bottom = bc.mHeight"; _r.setBottom((float) (_bc._mheight)); - //BA.debugLineNum = 65;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"BOTT"; +RDebugUtils.currentLine=21692425; + //BA.debugLineNum = 21692425;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"BOTT"; _bc._fillgradient(new int[]{_clr,_tclr},_r,"BOTTOM_TOP"); - //BA.debugLineNum = 66;BA.debugLine="Return bc.Bitmap"; +RDebugUtils.currentLine=21692426; + //BA.debugLineNum = 21692426;BA.debugLine="Return bc.Bitmap"; if (true) return _bc._getbitmap(); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21692427; + //BA.debugLineNum = 21692427;BA.debugLine="End Sub"; return null; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _designercreateview(gunav2.keymon.com.mx.animatedcounter __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; int _i = 0; anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; anywheresoftware.b4a.objects.ImageViewWrapper _fadeiv = null; - //BA.debugLineNum = 30;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 31;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 32;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 32;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 33;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\") 'needed"; +RDebugUtils.currentLine=21626880; + //BA.debugLineNum = 21626880;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=21626881; + //BA.debugLineNum = 21626881;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=21626882; + //BA.debugLineNum = 21626882;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=21626882; + //BA.debugLineNum = 21626882;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=21626883; + //BA.debugLineNum = 21626883;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\") 'needed"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 34;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 35;BA.debugLine="mdigits = Props.Get(\"Digits\")"; -_mdigits = (int)(BA.ObjectToNumber(_props.Get((Object)("Digits")))); - //BA.debugLineNum = 36;BA.debugLine="mDuration = Props.Get(\"Duration\")"; -_mduration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); - //BA.debugLineNum = 37;BA.debugLine="lblTemplate = lbl"; -_lbltemplate = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 38;BA.debugLine="fade = CreateFadeBitmap(xui.PaintOrColorToColor(P"; -_fade = _createfadebitmap(_xui.PaintOrColorToColor(_props.GetDefault((Object)("FadeColor"),(Object)(_xui.Color_White)))); - //BA.debugLineNum = 39;BA.debugLine="For i = 0 To mdigits - 1"; +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=21626884; + //BA.debugLineNum = 21626884;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=21626885; + //BA.debugLineNum = 21626885;BA.debugLine="mdigits = Props.Get(\"Digits\")"; +__ref._mdigits /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Digits")))); +RDebugUtils.currentLine=21626886; + //BA.debugLineNum = 21626886;BA.debugLine="mDuration = Props.Get(\"Duration\")"; +__ref._mduration /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); +RDebugUtils.currentLine=21626887; + //BA.debugLineNum = 21626887;BA.debugLine="lblTemplate = lbl"; +__ref._lbltemplate /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=21626888; + //BA.debugLineNum = 21626888;BA.debugLine="fade = CreateFadeBitmap(xui.PaintOrColorToColor(P"; +__ref._fade /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createfadebitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.GetDefault((Object)("FadeColor"),(Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White)))); +RDebugUtils.currentLine=21626889; + //BA.debugLineNum = 21626889;BA.debugLine="For i = 0 To mdigits - 1"; { final int step10 = 1; -final int limit10 = (int) (_mdigits-1); +final int limit10 = (int) (__ref._mdigits /*int*/ -1); _i = (int) (0) ; for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=21626890; + //BA.debugLineNum = 21626890;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; +RDebugUtils.currentLine=21626891; + //BA.debugLineNum = 21626891;BA.debugLine="iv.Initialize(\"\")"; _iv.Initialize(ba,""); - //BA.debugLineNum = 42;BA.debugLine="ImageViews.Add(iv)"; -_imageviews.Add((Object)(_iv.getObject())); - //BA.debugLineNum = 43;BA.debugLine="mBase.GetView(0).AddView(iv, 0, 0, 0, 0)"; -_mbase.GetView((int) (0)).AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=21626892; + //BA.debugLineNum = 21626892;BA.debugLine="ImageViews.Add(iv)"; +__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_iv.getObject())); +RDebugUtils.currentLine=21626893; + //BA.debugLineNum = 21626893;BA.debugLine="mBase.GetView(0).AddView(iv, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); } }; - //BA.debugLineNum = 45;BA.debugLine="Dim fadeIv As ImageView"; +RDebugUtils.currentLine=21626895; + //BA.debugLineNum = 21626895;BA.debugLine="Dim fadeIv As ImageView"; _fadeiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 46;BA.debugLine="fadeIv.Initialize(\"\")"; +RDebugUtils.currentLine=21626896; + //BA.debugLineNum = 21626896;BA.debugLine="fadeIv.Initialize(\"\")"; _fadeiv.Initialize(ba,""); - //BA.debugLineNum = 47;BA.debugLine="xfadeIv = fadeIv"; -_xfadeiv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_fadeiv.getObject())); - //BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).AddView(fadeIv, 0, 0, 0, 0)"; -_mbase.GetView((int) (0)).AddView((android.view.View)(_fadeiv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 49;BA.debugLine="setValue(0)"; -_setvalue((int) (0)); - //BA.debugLineNum = 50;BA.debugLine="If xui.IsB4A Then"; -if (_xui.getIsB4A()) { - //BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 52;BA.debugLine="setValue(getValue)"; -_setvalue(_getvalue()); +RDebugUtils.currentLine=21626897; + //BA.debugLineNum = 21626897;BA.debugLine="xfadeIv = fadeIv"; +__ref._xfadeiv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_fadeiv.getObject())); +RDebugUtils.currentLine=21626898; + //BA.debugLineNum = 21626898;BA.debugLine="mBase.GetView(0).AddView(fadeIv, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).AddView((android.view.View)(_fadeiv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=21626899; + //BA.debugLineNum = 21626899;BA.debugLine="setValue(0)"; +__ref._setvalue /*String*/ (null,(int) (0)); +RDebugUtils.currentLine=21626900; + //BA.debugLineNum = 21626900;BA.debugLine="If xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=21626901; + //BA.debugLineNum = 21626901;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=21626902; + //BA.debugLineNum = 21626902;BA.debugLine="setValue(getValue)"; +__ref._setvalue /*String*/ (null,__ref._getvalue /*int*/ (null)); }; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21626904; + //BA.debugLineNum = 21626904;BA.debugLine="End Sub"; return ""; } -public int _getvalue() throws Exception{ -int _res = 0; -int _i = 0; - //BA.debugLineNum = 120;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 121;BA.debugLine="Dim res As Int"; -_res = 0; - //BA.debugLineNum = 122;BA.debugLine="For i = 0 To mValue.Size - 1"; -{ -final int step2 = 1; -final int limit2 = (int) (_mvalue.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 123;BA.debugLine="res = res + mValue.Get(i) * Power(10, i)"; -_res = (int) (_res+(double)(BA.ObjectToNumber(_mvalue.Get(_i)))*__c.Power(10,_i)); - } -}; - //BA.debugLineNum = 125;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 126;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 22;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 23;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 24;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 25;BA.debugLine="ImageViews.Initialize"; -_imageviews.Initialize(); - //BA.debugLineNum = 26;BA.debugLine="mValue.Initialize"; -_mvalue.Initialize(); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(int _v) throws Exception{ +public String _setvalue(gunav2.keymon.com.mx.animatedcounter __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; - //BA.debugLineNum = 109;BA.debugLine="Public Sub setValue(v As Int)"; - //BA.debugLineNum = 110;BA.debugLine="mValue.Clear"; -_mvalue.Clear(); - //BA.debugLineNum = 111;BA.debugLine="For i = 0 To mdigits - 1"; +RDebugUtils.currentLine=21954560; + //BA.debugLineNum = 21954560;BA.debugLine="Public Sub setValue(v As Int)"; +RDebugUtils.currentLine=21954561; + //BA.debugLineNum = 21954561;BA.debugLine="mValue.Clear"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=21954562; + //BA.debugLineNum = 21954562;BA.debugLine="For i = 0 To mdigits - 1"; { final int step2 = 1; -final int limit2 = (int) (_mdigits-1); +final int limit2 = (int) (__ref._mdigits /*int*/ -1); _i = (int) (0) ; for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 112;BA.debugLine="mValue.Add(v Mod 10)"; -_mvalue.Add((Object)(_v%10)); - //BA.debugLineNum = 113;BA.debugLine="v = v / 10"; +RDebugUtils.currentLine=21954563; + //BA.debugLineNum = 21954563;BA.debugLine="mValue.Add(v Mod 10)"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_v%10)); +RDebugUtils.currentLine=21954564; + //BA.debugLineNum = 21954564;BA.debugLine="v = v / 10"; _v = (int) (_v/(double)10); - //BA.debugLineNum = 114;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; +RDebugUtils.currentLine=21954565; + //BA.debugLineNum = 21954565;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; _iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_imageviews.Get(_i))); - //BA.debugLineNum = 115;BA.debugLine="iv.SetLayoutAnimated(mDuration, iv.Left, TopFrom"; -_iv.SetLayoutAnimated(_mduration,_iv.getLeft(),_topfromvalue(_i),(int) (__c.Max(1,_iv.getWidth())),(int) (__c.Max(1,_iv.getHeight()))); +_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=21954566; + //BA.debugLineNum = 21954566;BA.debugLine="iv.SetLayoutAnimated(mDuration, iv.Left, TopFrom"; +_iv.SetLayoutAnimated(__ref._mduration /*int*/ ,_iv.getLeft(),__ref._topfromvalue /*int*/ (null,_i),(int) (__c.Max(1,_iv.getWidth())),(int) (__c.Max(1,_iv.getHeight()))); } }; - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21954569; + //BA.debugLineNum = 21954569;BA.debugLine="End Sub"; return ""; } -public int _topfromvalue(int _digit) throws Exception{ -int _d = 0; - //BA.debugLineNum = 88;BA.debugLine="Private Sub TopFromValue (Digit As Int) As Int"; - //BA.debugLineNum = 89;BA.debugLine="Dim d As Int = mValue.Get(Digit)"; -_d = (int)(BA.ObjectToNumber(_mvalue.Get(_digit))); - //BA.debugLineNum = 90;BA.debugLine="Return -d * DigitHeight"; -if (true) return (int) (-_d*_digitheight); - //BA.debugLineNum = 91;BA.debugLine="End Sub"; +public int _getvalue(gunav2.keymon.com.mx.animatedcounter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +int _res = 0; +int _i = 0; +RDebugUtils.currentLine=22020096; + //BA.debugLineNum = 22020096;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=22020097; + //BA.debugLineNum = 22020097;BA.debugLine="Dim res As Int"; +_res = 0; +RDebugUtils.currentLine=22020098; + //BA.debugLineNum = 22020098;BA.debugLine="For i = 0 To mValue.Size - 1"; +{ +final int step2 = 1; +final int limit2 = (int) (__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit2 ;_i = _i + step2 ) { +RDebugUtils.currentLine=22020099; + //BA.debugLineNum = 22020099;BA.debugLine="res = res + mValue.Get(i) * Power(10, i)"; +_res = (int) (_res+(double)(BA.ObjectToNumber(__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)))*__c.Power(10,_i)); + } +}; +RDebugUtils.currentLine=22020101; + //BA.debugLineNum = 22020101;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=22020102; + //BA.debugLineNum = 22020102;BA.debugLine="End Sub"; return 0; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public String _initialize(gunav2.keymon.com.mx.animatedcounter __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=21561344; + //BA.debugLineNum = 21561344;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=21561345; + //BA.debugLineNum = 21561345;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=21561346; + //BA.debugLineNum = 21561346;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=21561347; + //BA.debugLineNum = 21561347;BA.debugLine="ImageViews.Initialize"; +__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=21561348; + //BA.debugLineNum = 21561348;BA.debugLine="mValue.Initialize"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=21561349; + //BA.debugLineNum = 21561349;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/anotherprogressbar.java b/B4A/Objects/src/gunav2/keymon/com/mx/anotherprogressbar.java index 122855f..1df69cf 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/anotherprogressbar.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/anotherprogressbar.java @@ -10,7 +10,7 @@ public class anotherprogressbar extends B4AClass.ImplB4AClass implements BA.SubD private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.anotherprogressbar"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.anotherprogressbar"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class anotherprogressbar extends B4AClass.ImplB4AClass implements BA.SubD ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -48,47 +55,150 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ +public String _base_resize(gunav2.keymon.com.mx.anotherprogressbar __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} anywheresoftware.b4a.objects.B4XViewWrapper _v = null; - //BA.debugLineNum = 49;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 50;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; +RDebugUtils.currentLine=22282240; + //BA.debugLineNum = 22282240;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=22282241; + //BA.debugLineNum = 22282241;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; _v = new anywheresoftware.b4a.objects.B4XViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group1 = _mbase.GetAllViewsRecursive(); +final anywheresoftware.b4a.BA.IterableList group1 = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); final int groupLen1 = group1.getSize() ;int index1 = 0; ; for (; index1 < groupLen1;index1++){ _v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1))); - //BA.debugLineNum = 51;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +RDebugUtils.currentLine=22282242; + //BA.debugLineNum = 22282242;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; _v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); } }; - //BA.debugLineNum = 53;BA.debugLine="bc.Initialize(mBase.Width / xui.Scale, mBase.Heig"; -_bc._initialize(ba,(int) (_mbase.getWidth()/(double)_xui.getScale()),(int) (_mbase.getHeight()/(double)_xui.getScale())); - //BA.debugLineNum = 54;BA.debugLine="Vertical = mBase.Height > mBase.Width"; -_vertical = _mbase.getHeight()>_mbase.getWidth(); - //BA.debugLineNum = 55;BA.debugLine="UpdateGraphics"; -_updategraphics(); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22282244; + //BA.debugLineNum = 22282244;BA.debugLine="bc.Initialize(mBase.Width / xui.Scale, mBase.Heig"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale()),(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale())); +RDebugUtils.currentLine=22282245; + //BA.debugLineNum = 22282245;BA.debugLine="Vertical = mBase.Height > mBase.Width"; +__ref._vertical /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()>__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(); +RDebugUtils.currentLine=22282246; + //BA.debugLineNum = 22282246;BA.debugLine="UpdateGraphics"; +__ref._updategraphics /*String*/ (null); +RDebugUtils.currentLine=22282248; + //BA.debugLineNum = 22282248;BA.debugLine="End Sub"; return ""; } -public void _busyloop() throws Exception{ -ResumableSub_BusyLoop rsub = new ResumableSub_BusyLoop(this); +public String _updategraphics(gunav2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "updategraphics", true)) + {return ((String) Debug.delegate(ba, "updategraphics", null));} +int _width = 0; +b4a.example.bitmapcreator _template = null; +b4a.example.bitmapcreator._argbcolor _bcolor = null; +RDebugUtils.currentLine=22544384; + //BA.debugLineNum = 22544384;BA.debugLine="Public Sub UpdateGraphics"; +RDebugUtils.currentLine=22544385; + //BA.debugLineNum = 22544385;BA.debugLine="EmptyBrush = bc.CreateBrushFromColor(EmptyColor)"; +__ref._emptybrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._emptycolor /*int*/ ); +RDebugUtils.currentLine=22544386; + //BA.debugLineNum = 22544386;BA.debugLine="TransparentBrush = bc.CreateBrushFromColor(xui.Co"; +__ref._transparentbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=22544387; + //BA.debugLineNum = 22544387;BA.debugLine="Dim Width As Int = 40"; +_width = (int) (40); +RDebugUtils.currentLine=22544388; + //BA.debugLineNum = 22544388;BA.debugLine="Dim Template As BitmapCreator"; +_template = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=22544389; + //BA.debugLineNum = 22544389;BA.debugLine="Dim bcolor As ARGBColor"; +_bcolor = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=22544390; + //BA.debugLineNum = 22544390;BA.debugLine="bc.ColorToARGB(BackgroundColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._backgroundcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=22544391; + //BA.debugLineNum = 22544391;BA.debugLine="bcolor.r = Min(255, bcolor.r * 1.5)"; +_bcolor.r = (int) (__c.Min(255,_bcolor.r*1.5)); +RDebugUtils.currentLine=22544392; + //BA.debugLineNum = 22544392;BA.debugLine="bcolor.g = Min(255, bcolor.g * 1.5)"; +_bcolor.g = (int) (__c.Min(255,_bcolor.g*1.5)); +RDebugUtils.currentLine=22544393; + //BA.debugLineNum = 22544393;BA.debugLine="bcolor.b = Min(255, bcolor.b * 1.5)"; +_bcolor.b = (int) (__c.Min(255,_bcolor.b*1.5)); +RDebugUtils.currentLine=22544394; + //BA.debugLineNum = 22544394;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=22544395; + //BA.debugLineNum = 22544395;BA.debugLine="Template.Initialize(mBase.Width / xui.Scale, mBa"; +_template._initialize(ba,(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale()),(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale()+_width)); + }else { +RDebugUtils.currentLine=22544397; + //BA.debugLineNum = 22544397;BA.debugLine="Template.Initialize(mBase.Height / xui.Scale + W"; +_template._initialize(ba,(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale()+_width),(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale())); + }; +RDebugUtils.currentLine=22544400; + //BA.debugLineNum = 22544400;BA.debugLine="Template.DrawRect(Template.TargetRect, Background"; +_template._drawrect(_template._targetrect,__ref._backgroundcolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=22544401; + //BA.debugLineNum = 22544401;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=22544402; + //BA.debugLineNum = 22544402;BA.debugLine="Template.DrawLine(-Width / 2, Width / 2, Templat"; +_template._drawline((float) (-_width/(double)2),(float) (_width/(double)2),(float) (_template._mwidth+_width/(double)2),(float) (_template._mheight-_width/(double)2),__ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor),_width); + }else { +RDebugUtils.currentLine=22544404; + //BA.debugLineNum = 22544404;BA.debugLine="Template.DrawLine(Width / 2, -Width / 2, Templat"; +_template._drawline((float) (_width/(double)2),(float) (-_width/(double)2),(float) (_template._mwidth-_width/(double)2),(float) (_template._mheight+_width/(double)2),__ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor),_width); + }; +RDebugUtils.currentLine=22544406; + //BA.debugLineNum = 22544406;BA.debugLine="BusyBrush = bc.CreateBrushFromBitmapCreator(Templ"; +__ref._busybrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfrombitmapcreator(_template); +RDebugUtils.currentLine=22544407; + //BA.debugLineNum = 22544407;BA.debugLine="If mValue = 100 Then"; +if (__ref._mvalue /*int*/ ==100) { +RDebugUtils.currentLine=22544408; + //BA.debugLineNum = 22544408;BA.debugLine="bc.DrawRectRounded(bc.TargetRect, BackgroundColo"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrectrounded(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._backgroundcolor /*int*/ ,__c.True,(int) (0),(int) (15)); + }else { +RDebugUtils.currentLine=22544410; + //BA.debugLineNum = 22544410;BA.debugLine="bc.DrawRectRounded2(bc.TargetRect, EmptyBrush, T"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrectrounded2(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._emptybrush /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0),(int) (15)); + }; +RDebugUtils.currentLine=22544412; + //BA.debugLineNum = 22544412;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, mIV)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(__ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(),__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=22544413; + //BA.debugLineNum = 22544413;BA.debugLine="setVisible(mBase.Visible)"; +__ref._setvisible /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getVisible()); +RDebugUtils.currentLine=22544414; + //BA.debugLineNum = 22544414;BA.debugLine="End Sub"; +return ""; +} +public void _busyloop(gunav2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "busyloop", true)) + {Debug.delegate(ba, "busyloop", null); return;} +ResumableSub_BusyLoop rsub = new ResumableSub_BusyLoop(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_BusyLoop extends BA.ResumableSub { -public ResumableSub_BusyLoop(gunav2.keymon.com.mx.anotherprogressbar parent) { +public ResumableSub_BusyLoop(gunav2.keymon.com.mx.anotherprogressbar parent,gunav2.keymon.com.mx.anotherprogressbar __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.anotherprogressbar __ref; gunav2.keymon.com.mx.anotherprogressbar parent; int _myindex = 0; anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; @@ -100,6 +210,7 @@ anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="anotherprogressbar"; while (true) { switch (state) { @@ -109,21 +220,26 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 60;BA.debugLine="Dim MyIndex As Int = BusyIndex"; -_myindex = parent._busyindex; - //BA.debugLineNum = 61;BA.debugLine="Dim r As B4XRect"; +RDebugUtils.currentLine=22347777; + //BA.debugLineNum = 22347777;BA.debugLine="Dim MyIndex As Int = BusyIndex"; +_myindex = __ref._busyindex /*int*/ ; +RDebugUtils.currentLine=22347778; + //BA.debugLineNum = 22347778;BA.debugLine="Dim r As B4XRect"; _r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 62;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight)"; -_r.Initialize((float) (0),(float) (0),(float) (parent._bc._mwidth),(float) (parent._bc._mheight)); - //BA.debugLineNum = 63;BA.debugLine="Dim LastTime As Long = DateTime.Now"; +RDebugUtils.currentLine=22347779; + //BA.debugLineNum = 22347779;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight)"; +_r.Initialize((float) (0),(float) (0),(float) (__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth),(float) (__ref._bc /*b4a.example.bitmapcreator*/ ._mheight)); +RDebugUtils.currentLine=22347780; + //BA.debugLineNum = 22347780;BA.debugLine="Dim LastTime As Long = DateTime.Now"; _lasttime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 64;BA.debugLine="Do While MyIndex = BusyIndex"; +RDebugUtils.currentLine=22347781; + //BA.debugLineNum = 22347781;BA.debugLine="Do While MyIndex = BusyIndex"; if (true) break; case 1: //do while this.state = 37; -while (_myindex==parent._busyindex) { +while (_myindex==__ref._busyindex /*int*/ ) { this.state = 3; if (true) break; } @@ -132,13 +248,14 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 65;BA.debugLine="If Vertical Then"; +RDebugUtils.currentLine=22347782; + //BA.debugLineNum = 22347782;BA.debugLine="If Vertical Then"; if (true) break; case 4: //if this.state = 9; -if (parent._vertical) { +if (__ref._vertical /*boolean*/ ) { this.state = 6; }else { this.state = 8; @@ -147,30 +264,37 @@ this.state = 8; case 6: //C this.state = 9; - //BA.debugLineNum = 66;BA.debugLine="BusyBrush.SrcOffsetY = BusyBrush.SrcOffsetY + B"; -parent._busybrush.SrcOffsetY = (int) (parent._busybrush.SrcOffsetY+parent._brushoffsetdelta); +RDebugUtils.currentLine=22347783; + //BA.debugLineNum = 22347783;BA.debugLine="BusyBrush.SrcOffsetY = BusyBrush.SrcOffsetY + B"; +__ref._busybrush /*b4a.example.bcpath._bcbrush*/ .SrcOffsetY = (int) (__ref._busybrush /*b4a.example.bcpath._bcbrush*/ .SrcOffsetY+__ref._brushoffsetdelta /*int*/ ); if (true) break; case 8: //C this.state = 9; - //BA.debugLineNum = 68;BA.debugLine="BusyBrush.SrcOffsetX = BusyBrush.SrcOffsetX + B"; -parent._busybrush.SrcOffsetX = (int) (parent._busybrush.SrcOffsetX+parent._brushoffsetdelta); +RDebugUtils.currentLine=22347785; + //BA.debugLineNum = 22347785;BA.debugLine="BusyBrush.SrcOffsetX = BusyBrush.SrcOffsetX + B"; +__ref._busybrush /*b4a.example.bcpath._bcbrush*/ .SrcOffsetX = (int) (__ref._busybrush /*b4a.example.bcpath._bcbrush*/ .SrcOffsetX+__ref._brushoffsetdelta /*int*/ ); if (true) break; case 9: //C this.state = 10; ; - //BA.debugLineNum = 70;BA.debugLine="Dim tasks As List"; +RDebugUtils.currentLine=22347787; + //BA.debugLineNum = 22347787;BA.debugLine="Dim tasks As List"; _tasks = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 71;BA.debugLine="tasks.Initialize"; +RDebugUtils.currentLine=22347788; + //BA.debugLineNum = 22347788;BA.debugLine="tasks.Initialize"; _tasks.Initialize(); - //BA.debugLineNum = 72;BA.debugLine="tasks.Add(bc.AsyncDrawRect(bc.TargetRect, Transp"; -_tasks.Add((Object)(parent._bc._asyncdrawrect(parent._bc._targetrect,parent._transparentbrush,parent.__c.True,(int) (0)))); - //BA.debugLineNum = 73;BA.debugLine="Dim delta As Float = mValue - CurrentValue"; -_delta = (float) (parent._mvalue-parent._currentvalue); - //BA.debugLineNum = 74;BA.debugLine="If Abs(delta) <= 1 Then"; +RDebugUtils.currentLine=22347789; + //BA.debugLineNum = 22347789;BA.debugLine="tasks.Add(bc.AsyncDrawRect(bc.TargetRect, Transp"; +_tasks.Add((Object)(__ref._bc /*b4a.example.bitmapcreator*/ ._asyncdrawrect(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._transparentbrush /*b4a.example.bcpath._bcbrush*/ ,parent.__c.True,(int) (0)))); +RDebugUtils.currentLine=22347790; + //BA.debugLineNum = 22347790;BA.debugLine="Dim delta As Float = mValue - CurrentValue"; +_delta = (float) (__ref._mvalue /*int*/ -__ref._currentvalue /*float*/ ); +RDebugUtils.currentLine=22347791; + //BA.debugLineNum = 22347791;BA.debugLine="If Abs(delta) <= 1 Then"; if (true) break; case 10: @@ -185,16 +309,19 @@ this.state = 14; case 12: //C this.state = 21; - //BA.debugLineNum = 75;BA.debugLine="CurrentValue = mValue"; -parent._currentvalue = (float) (parent._mvalue); +RDebugUtils.currentLine=22347792; + //BA.debugLineNum = 22347792;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); if (true) break; case 14: //C this.state = 15; - //BA.debugLineNum = 77;BA.debugLine="Dim change As Float = (DateTime.Now - LastTime)"; -_change = (float) ((parent.__c.DateTime.getNow()-_lasttime)/(double)1000*parent._valuechangepersecond); - //BA.debugLineNum = 78;BA.debugLine="If delta > 0 Then"; +RDebugUtils.currentLine=22347794; + //BA.debugLineNum = 22347794;BA.debugLine="Dim change As Float = (DateTime.Now - LastTime)"; +_change = (float) ((parent.__c.DateTime.getNow()-_lasttime)/(double)1000*__ref._valuechangepersecond /*float*/ ); +RDebugUtils.currentLine=22347795; + //BA.debugLineNum = 22347795;BA.debugLine="If delta > 0 Then"; if (true) break; case 15: @@ -209,15 +336,17 @@ this.state = 19; case 17: //C this.state = 20; - //BA.debugLineNum = 79;BA.debugLine="CurrentValue = CurrentValue + Min(change, mVal"; -parent._currentvalue = (float) (parent._currentvalue+parent.__c.Min(_change,parent._mvalue-parent._currentvalue)); +RDebugUtils.currentLine=22347796; + //BA.debugLineNum = 22347796;BA.debugLine="CurrentValue = CurrentValue + Min(change, mVal"; +__ref._currentvalue /*float*/ = (float) (__ref._currentvalue /*float*/ +parent.__c.Min(_change,__ref._mvalue /*int*/ -__ref._currentvalue /*float*/ )); if (true) break; case 19: //C this.state = 20; - //BA.debugLineNum = 81;BA.debugLine="CurrentValue = CurrentValue - Min(change, Curr"; -parent._currentvalue = (float) (parent._currentvalue-parent.__c.Min(_change,parent._currentvalue-parent._mvalue)); +RDebugUtils.currentLine=22347798; + //BA.debugLineNum = 22347798;BA.debugLine="CurrentValue = CurrentValue - Min(change, Curr"; +__ref._currentvalue /*float*/ = (float) (__ref._currentvalue /*float*/ -parent.__c.Min(_change,__ref._currentvalue /*float*/ -__ref._mvalue /*int*/ )); if (true) break; case 20: @@ -230,31 +359,35 @@ case 21: //C this.state = 22; ; - //BA.debugLineNum = 84;BA.debugLine="LastTime = DateTime.Now"; +RDebugUtils.currentLine=22347801; + //BA.debugLineNum = 22347801;BA.debugLine="LastTime = DateTime.Now"; _lasttime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 85;BA.debugLine="If CurrentValue < 100 Then"; +RDebugUtils.currentLine=22347802; + //BA.debugLineNum = 22347802;BA.debugLine="If CurrentValue < 100 Then"; if (true) break; case 22: //if this.state = 25; -if (parent._currentvalue<100) { +if (__ref._currentvalue /*float*/ <100) { this.state = 24; }if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 86;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(bc.TargetRect"; -_tasks.Add((Object)(parent._bc._asyncdrawrectrounded(parent._bc._targetrect,parent._emptybrush,parent.__c.True,(int) (0),parent._cornerradius))); +RDebugUtils.currentLine=22347803; + //BA.debugLineNum = 22347803;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(bc.TargetRect"; +_tasks.Add((Object)(__ref._bc /*b4a.example.bitmapcreator*/ ._asyncdrawrectrounded(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._emptybrush /*b4a.example.bcpath._bcbrush*/ ,parent.__c.True,(int) (0),__ref._cornerradius /*int*/ ))); if (true) break; ; - //BA.debugLineNum = 88;BA.debugLine="If Vertical Then"; +RDebugUtils.currentLine=22347805; + //BA.debugLineNum = 22347805;BA.debugLine="If Vertical Then"; case 25: //if this.state = 30; -if (parent._vertical) { +if (__ref._vertical /*boolean*/ ) { this.state = 27; }else { this.state = 29; @@ -263,58 +396,66 @@ this.state = 29; case 27: //C this.state = 30; - //BA.debugLineNum = 89;BA.debugLine="r.Bottom = Round(CurrentValue / 100 * bc.mHeigh"; -_r.setBottom((float) (parent.__c.Round(parent._currentvalue/(double)100*parent._bc._mheight))); +RDebugUtils.currentLine=22347806; + //BA.debugLineNum = 22347806;BA.debugLine="r.Bottom = Round(CurrentValue / 100 * bc.mHeigh"; +_r.setBottom((float) (parent.__c.Round(__ref._currentvalue /*float*/ /(double)100*__ref._bc /*b4a.example.bitmapcreator*/ ._mheight))); if (true) break; case 29: //C this.state = 30; - //BA.debugLineNum = 91;BA.debugLine="r.Right = Round(CurrentValue / 100 * bc.mWidth)"; -_r.setRight((float) (parent.__c.Round(parent._currentvalue/(double)100*parent._bc._mwidth))); +RDebugUtils.currentLine=22347808; + //BA.debugLineNum = 22347808;BA.debugLine="r.Right = Round(CurrentValue / 100 * bc.mWidth)"; +_r.setRight((float) (parent.__c.Round(__ref._currentvalue /*float*/ /(double)100*__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth))); if (true) break; case 30: //C this.state = 31; ; - //BA.debugLineNum = 94;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(r, BusyBrush,"; -_tasks.Add((Object)(parent._bc._asyncdrawrectrounded(_r,parent._busybrush,parent.__c.True,(int) (0),parent._cornerradius))); - //BA.debugLineNum = 95;BA.debugLine="bc.DrawBitmapCreatorsAsync(Me, \"BC\", tasks)"; -parent._bc._drawbitmapcreatorsasync(parent,"BC",_tasks); - //BA.debugLineNum = 96;BA.debugLine="Wait For BC_BitmapReady (bmp As B4XBitmap)"; -parent.__c.WaitFor("bc_bitmapready", ba, this, null); +RDebugUtils.currentLine=22347811; + //BA.debugLineNum = 22347811;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(r, BusyBrush,"; +_tasks.Add((Object)(__ref._bc /*b4a.example.bitmapcreator*/ ._asyncdrawrectrounded(_r,__ref._busybrush /*b4a.example.bcpath._bcbrush*/ ,parent.__c.True,(int) (0),__ref._cornerradius /*int*/ ))); +RDebugUtils.currentLine=22347812; + //BA.debugLineNum = 22347812;BA.debugLine="bc.DrawBitmapCreatorsAsync(Me, \"BC\", tasks)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawbitmapcreatorsasync(parent,"BC",_tasks); +RDebugUtils.currentLine=22347813; + //BA.debugLineNum = 22347813;BA.debugLine="Wait For BC_BitmapReady (bmp As B4XBitmap)"; +parent.__c.WaitFor("bc_bitmapready", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "anotherprogressbar", "busyloop"), null); this.state = 38; return; case 38: //C this.state = 31; -_bmp = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) result[0]; +_bmp = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) result[1]; ; - //BA.debugLineNum = 97;BA.debugLine="If xui.IsB4J Then bmp = bc.Bitmap"; +RDebugUtils.currentLine=22347814; + //BA.debugLineNum = 22347814;BA.debugLine="If xui.IsB4J Then bmp = bc.Bitmap"; if (true) break; case 31: //if this.state = 36; -if (parent._xui.getIsB4J()) { +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { this.state = 33; ;}if (true) break; case 33: //C this.state = 36; -_bmp = parent._bc._getbitmap(); +_bmp = __ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(); if (true) break; case 36: //C this.state = 1; ; - //BA.debugLineNum = 98;BA.debugLine="bc.SetBitmapToImageView(bmp, mIV)"; -parent._bc._setbitmaptoimageview(_bmp,parent._miv); - //BA.debugLineNum = 99;BA.debugLine="Sleep(30)"; -parent.__c.Sleep(ba,this,(int) (30)); +RDebugUtils.currentLine=22347815; + //BA.debugLineNum = 22347815;BA.debugLine="bc.SetBitmapToImageView(bmp, mIV)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(_bmp,__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=22347816; + //BA.debugLineNum = 22347816;BA.debugLine="Sleep(30)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "anotherprogressbar", "busyloop"),(int) (30)); this.state = 39; return; case 39: @@ -327,224 +468,267 @@ case 37: //C this.state = -1; ; - //BA.debugLineNum = 101;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22347818; + //BA.debugLineNum = 22347818;BA.debugLine="End Sub"; if (true) break; } } } } -public void _bc_bitmapready(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private mEventName As String 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +RDebugUtils.currentLine=22085632; + //BA.debugLineNum = 22085632;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=22085633; + //BA.debugLineNum = 22085633;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 6;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=22085634; + //BA.debugLineNum = 22085634;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 7;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=22085635; + //BA.debugLineNum = 22085635;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=22085636; + //BA.debugLineNum = 22085636;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 9;BA.debugLine="Private BusyBrush As BCBrush"; +RDebugUtils.currentLine=22085637; + //BA.debugLineNum = 22085637;BA.debugLine="Private BusyBrush As BCBrush"; _busybrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 10;BA.debugLine="Private BackgroundColor As Int"; +RDebugUtils.currentLine=22085638; + //BA.debugLineNum = 22085638;BA.debugLine="Private BackgroundColor As Int"; _backgroundcolor = 0; - //BA.debugLineNum = 11;BA.debugLine="Private BusyIndex As Int"; +RDebugUtils.currentLine=22085639; + //BA.debugLineNum = 22085639;BA.debugLine="Private BusyIndex As Int"; _busyindex = 0; - //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; +RDebugUtils.currentLine=22085640; + //BA.debugLineNum = 22085640;BA.debugLine="Private bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 13;BA.debugLine="Private mIV As B4XView"; +RDebugUtils.currentLine=22085641; + //BA.debugLineNum = 22085641;BA.debugLine="Private mIV As B4XView"; _miv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private TransparentBrush As BCBrush"; +RDebugUtils.currentLine=22085642; + //BA.debugLineNum = 22085642;BA.debugLine="Private TransparentBrush As BCBrush"; _transparentbrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 15;BA.debugLine="Private Vertical As Boolean"; +RDebugUtils.currentLine=22085643; + //BA.debugLineNum = 22085643;BA.debugLine="Private Vertical As Boolean"; _vertical = false; - //BA.debugLineNum = 16;BA.debugLine="Private CurrentValue As Float"; +RDebugUtils.currentLine=22085644; + //BA.debugLineNum = 22085644;BA.debugLine="Private CurrentValue As Float"; _currentvalue = 0f; - //BA.debugLineNum = 17;BA.debugLine="Public EmptyColor As Int = xui.Color_White"; -_emptycolor = _xui.Color_White; - //BA.debugLineNum = 18;BA.debugLine="Private EmptyBrush As BCBrush"; +RDebugUtils.currentLine=22085645; + //BA.debugLineNum = 22085645;BA.debugLine="Public EmptyColor As Int = xui.Color_White"; +_emptycolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=22085646; + //BA.debugLineNum = 22085646;BA.debugLine="Private EmptyBrush As BCBrush"; _emptybrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 19;BA.debugLine="Private mValue As Int"; +RDebugUtils.currentLine=22085647; + //BA.debugLineNum = 22085647;BA.debugLine="Private mValue As Int"; _mvalue = 0; - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=22085648; + //BA.debugLineNum = 22085648;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public ValueChangePerSecond As Float = 60"; +RDebugUtils.currentLine=22085649; + //BA.debugLineNum = 22085649;BA.debugLine="Public ValueChangePerSecond As Float = 60"; _valuechangepersecond = (float) (60); - //BA.debugLineNum = 22;BA.debugLine="Public CornerRadius As Int"; +RDebugUtils.currentLine=22085650; + //BA.debugLineNum = 22085650;BA.debugLine="Public CornerRadius As Int"; _cornerradius = 0; - //BA.debugLineNum = 23;BA.debugLine="Public BrushOffsetDelta As Int = 3"; +RDebugUtils.currentLine=22085651; + //BA.debugLineNum = 22085651;BA.debugLine="Public BrushOffsetDelta As Int = 3"; _brushoffsetdelta = (int) (3); - //BA.debugLineNum = 24;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22085652; + //BA.debugLineNum = 22085652;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _designercreateview(gunav2.keymon.com.mx.anotherprogressbar __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=22216704; + //BA.debugLineNum = 22216704;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=22216705; + //BA.debugLineNum = 22216705;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=22216706; + //BA.debugLineNum = 22216706;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=22216706; + //BA.debugLineNum = 22216706;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=22216707; + //BA.debugLineNum = 22216707;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 36;BA.debugLine="iv.Initialize(\"\")"; +RDebugUtils.currentLine=22216708; + //BA.debugLineNum = 22216708;BA.debugLine="iv.Initialize(\"\")"; _iv.Initialize(ba,""); - //BA.debugLineNum = 37;BA.debugLine="mIV = iv"; -_miv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 38;BA.debugLine="mIV.Color = xui.Color_Transparent"; -_miv.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 39;BA.debugLine="setValue(Props.GetDefault(\"Value\", 100))"; -_setvalue((int)(BA.ObjectToNumber(_props.GetDefault((Object)("Value"),(Object)(100))))); - //BA.debugLineNum = 40;BA.debugLine="CurrentValue = mValue"; -_currentvalue = (float) (_mvalue); - //BA.debugLineNum = 41;BA.debugLine="mBase.AddView(mIV, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_miv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(lbl, 0, 0, mBase.Width, mBase.Heigh"; -_mbase.AddView((android.view.View)(_lbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 43;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 44;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; -_backgroundcolor = _xui.PaintOrColorToColor(_props.Get((Object)("ProgressColor"))); - //BA.debugLineNum = 45;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; -_cornerradius = (int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornerRadius"),(Object)(15)))); - //BA.debugLineNum = 46;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 47;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22216709; + //BA.debugLineNum = 22216709;BA.debugLine="mIV = iv"; +__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); +RDebugUtils.currentLine=22216710; + //BA.debugLineNum = 22216710;BA.debugLine="mIV.Color = xui.Color_Transparent"; +__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=22216711; + //BA.debugLineNum = 22216711;BA.debugLine="setValue(Props.GetDefault(\"Value\", 100))"; +__ref._setvalue /*String*/ (null,(int)(BA.ObjectToNumber(_props.GetDefault((Object)("Value"),(Object)(100))))); +RDebugUtils.currentLine=22216712; + //BA.debugLineNum = 22216712;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=22216713; + //BA.debugLineNum = 22216713;BA.debugLine="mBase.AddView(mIV, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=22216714; + //BA.debugLineNum = 22216714;BA.debugLine="mBase.AddView(lbl, 0, 0, mBase.Width, mBase.Heigh"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_lbl.getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=22216715; + //BA.debugLineNum = 22216715;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=22216716; + //BA.debugLineNum = 22216716;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; +__ref._backgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ProgressColor"))); +RDebugUtils.currentLine=22216717; + //BA.debugLineNum = 22216717;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; +__ref._cornerradius /*int*/ = (int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornerRadius"),(Object)(15)))); +RDebugUtils.currentLine=22216718; + //BA.debugLineNum = 22216718;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=22216719; + //BA.debugLineNum = 22216719;BA.debugLine="End Sub"; return ""; } -public int _getprogresscolor() throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Public Sub getProgressColor As Int"; - //BA.debugLineNum = 104;BA.debugLine="Return BackgroundColor"; -if (true) return _backgroundcolor; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; +public String _setvalue(gunav2.keymon.com.mx.anotherprogressbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=22806528; + //BA.debugLineNum = 22806528;BA.debugLine="Public Sub setValue (v As Int)"; +RDebugUtils.currentLine=22806529; + //BA.debugLineNum = 22806529;BA.debugLine="mValue = Max(0, Min(100, v))"; +__ref._mvalue /*int*/ = (int) (__c.Max(0,__c.Min(100,_v))); +RDebugUtils.currentLine=22806530; + //BA.debugLineNum = 22806530;BA.debugLine="End Sub"; +return ""; +} +public int _getprogresscolor(gunav2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getprogresscolor", true)) + {return ((Integer) Debug.delegate(ba, "getprogresscolor", null));} +RDebugUtils.currentLine=22413312; + //BA.debugLineNum = 22413312;BA.debugLine="Public Sub getProgressColor As Int"; +RDebugUtils.currentLine=22413313; + //BA.debugLineNum = 22413313;BA.debugLine="Return BackgroundColor"; +if (true) return __ref._backgroundcolor /*int*/ ; +RDebugUtils.currentLine=22413314; + //BA.debugLineNum = 22413314;BA.debugLine="End Sub"; return 0; } -public int _getvalue() throws Exception{ - //BA.debugLineNum = 157;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 158;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 159;BA.debugLine="End Sub"; +public int _getvalue(gunav2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=22740992; + //BA.debugLineNum = 22740992;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=22740993; + //BA.debugLineNum = 22740993;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=22740994; + //BA.debugLineNum = 22740994;BA.debugLine="End Sub"; return 0; } -public boolean _getvisible() throws Exception{ - //BA.debugLineNum = 153;BA.debugLine="Public Sub getVisible As Boolean"; - //BA.debugLineNum = 154;BA.debugLine="Return mBase.Visible"; -if (true) return _mbase.getVisible(); - //BA.debugLineNum = 155;BA.debugLine="End Sub"; +public boolean _getvisible(gunav2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getvisible", true)) + {return ((Boolean) Debug.delegate(ba, "getvisible", null));} +RDebugUtils.currentLine=22675456; + //BA.debugLineNum = 22675456;BA.debugLine="Public Sub getVisible As Boolean"; +RDebugUtils.currentLine=22675457; + //BA.debugLineNum = 22675457;BA.debugLine="Return mBase.Visible"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getVisible(); +RDebugUtils.currentLine=22675458; + //BA.debugLineNum = 22675458;BA.debugLine="End Sub"; return false; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.anotherprogressbar __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 26;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 27;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 28;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=22151168; + //BA.debugLineNum = 22151168;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=22151169; + //BA.debugLineNum = 22151169;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=22151170; + //BA.debugLineNum = 22151170;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=22151171; + //BA.debugLineNum = 22151171;BA.debugLine="End Sub"; return ""; } -public String _setprogresscolor(int _c) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Public Sub setProgressColor (c As Int)"; - //BA.debugLineNum = 108;BA.debugLine="BackgroundColor = c"; -_backgroundcolor = _c; - //BA.debugLineNum = 109;BA.debugLine="UpdateGraphics"; -_updategraphics(); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; +public String _setprogresscolor(gunav2.keymon.com.mx.anotherprogressbar __ref,int _c) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setprogresscolor", true)) + {return ((String) Debug.delegate(ba, "setprogresscolor", new Object[] {_c}));} +RDebugUtils.currentLine=22478848; + //BA.debugLineNum = 22478848;BA.debugLine="Public Sub setProgressColor (c As Int)"; +RDebugUtils.currentLine=22478849; + //BA.debugLineNum = 22478849;BA.debugLine="BackgroundColor = c"; +__ref._backgroundcolor /*int*/ = _c; +RDebugUtils.currentLine=22478850; + //BA.debugLineNum = 22478850;BA.debugLine="UpdateGraphics"; +__ref._updategraphics /*String*/ (null); +RDebugUtils.currentLine=22478851; + //BA.debugLineNum = 22478851;BA.debugLine="End Sub"; return ""; } -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 161;BA.debugLine="Public Sub setValue (v As Int)"; - //BA.debugLineNum = 162;BA.debugLine="mValue = Max(0, Min(100, v))"; -_mvalue = (int) (__c.Max(0,__c.Min(100,_v))); - //BA.debugLineNum = 163;BA.debugLine="End Sub"; +public String _setvaluenoanimation(gunav2.keymon.com.mx.anotherprogressbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvaluenoanimation", true)) + {return ((String) Debug.delegate(ba, "setvaluenoanimation", new Object[] {_v}));} +RDebugUtils.currentLine=22872064; + //BA.debugLineNum = 22872064;BA.debugLine="Public Sub SetValueNoAnimation (v As Int)"; +RDebugUtils.currentLine=22872065; + //BA.debugLineNum = 22872065;BA.debugLine="setValue(v)"; +__ref._setvalue /*String*/ (null,_v); +RDebugUtils.currentLine=22872066; + //BA.debugLineNum = 22872066;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=22872067; + //BA.debugLineNum = 22872067;BA.debugLine="End Sub"; return ""; } -public String _setvaluenoanimation(int _v) throws Exception{ - //BA.debugLineNum = 165;BA.debugLine="Public Sub SetValueNoAnimation (v As Int)"; - //BA.debugLineNum = 166;BA.debugLine="setValue(v)"; -_setvalue(_v); - //BA.debugLineNum = 167;BA.debugLine="CurrentValue = mValue"; -_currentvalue = (float) (_mvalue); - //BA.debugLineNum = 168;BA.debugLine="End Sub"; -return ""; -} -public String _setvisible(boolean _b) throws Exception{ - //BA.debugLineNum = 145;BA.debugLine="Public Sub setVisible(b As Boolean)"; - //BA.debugLineNum = 146;BA.debugLine="BusyIndex = BusyIndex + 1"; -_busyindex = (int) (_busyindex+1); - //BA.debugLineNum = 147;BA.debugLine="If b Then"; +public String _setvisible(gunav2.keymon.com.mx.anotherprogressbar __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvisible", true)) + {return ((String) Debug.delegate(ba, "setvisible", new Object[] {_b}));} +RDebugUtils.currentLine=22609920; + //BA.debugLineNum = 22609920;BA.debugLine="Public Sub setVisible(b As Boolean)"; +RDebugUtils.currentLine=22609921; + //BA.debugLineNum = 22609921;BA.debugLine="BusyIndex = BusyIndex + 1"; +__ref._busyindex /*int*/ = (int) (__ref._busyindex /*int*/ +1); +RDebugUtils.currentLine=22609922; + //BA.debugLineNum = 22609922;BA.debugLine="If b Then"; if (_b) { - //BA.debugLineNum = 148;BA.debugLine="BusyLoop"; -_busyloop(); +RDebugUtils.currentLine=22609923; + //BA.debugLineNum = 22609923;BA.debugLine="BusyLoop"; +__ref._busyloop /*void*/ (null); }; - //BA.debugLineNum = 150;BA.debugLine="mBase.Visible = b"; -_mbase.setVisible(_b); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +RDebugUtils.currentLine=22609925; + //BA.debugLineNum = 22609925;BA.debugLine="mBase.Visible = b"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(_b); +RDebugUtils.currentLine=22609926; + //BA.debugLineNum = 22609926;BA.debugLine="End Sub"; return ""; } -public String _updategraphics() throws Exception{ -int _width = 0; -b4a.example.bitmapcreator _template = null; -b4a.example.bitmapcreator._argbcolor _bcolor = null; - //BA.debugLineNum = 112;BA.debugLine="Public Sub UpdateGraphics"; - //BA.debugLineNum = 113;BA.debugLine="EmptyBrush = bc.CreateBrushFromColor(EmptyColor)"; -_emptybrush = _bc._createbrushfromcolor(_emptycolor); - //BA.debugLineNum = 114;BA.debugLine="TransparentBrush = bc.CreateBrushFromColor(xui.Co"; -_transparentbrush = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 115;BA.debugLine="Dim Width As Int = 40"; -_width = (int) (40); - //BA.debugLineNum = 116;BA.debugLine="Dim Template As BitmapCreator"; -_template = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 117;BA.debugLine="Dim bcolor As ARGBColor"; -_bcolor = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 118;BA.debugLine="bc.ColorToARGB(BackgroundColor, bcolor)"; -_bc._colortoargb(_backgroundcolor,_bcolor); - //BA.debugLineNum = 119;BA.debugLine="bcolor.r = Min(255, bcolor.r * 1.5)"; -_bcolor.r = (int) (__c.Min(255,_bcolor.r*1.5)); - //BA.debugLineNum = 120;BA.debugLine="bcolor.g = Min(255, bcolor.g * 1.5)"; -_bcolor.g = (int) (__c.Min(255,_bcolor.g*1.5)); - //BA.debugLineNum = 121;BA.debugLine="bcolor.b = Min(255, bcolor.b * 1.5)"; -_bcolor.b = (int) (__c.Min(255,_bcolor.b*1.5)); - //BA.debugLineNum = 122;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 123;BA.debugLine="Template.Initialize(mBase.Width / xui.Scale, mBa"; -_template._initialize(ba,(int) (_mbase.getWidth()/(double)_xui.getScale()),(int) (_mbase.getWidth()/(double)_xui.getScale()+_width)); - }else { - //BA.debugLineNum = 125;BA.debugLine="Template.Initialize(mBase.Height / xui.Scale + W"; -_template._initialize(ba,(int) (_mbase.getHeight()/(double)_xui.getScale()+_width),(int) (_mbase.getHeight()/(double)_xui.getScale())); - }; - //BA.debugLineNum = 128;BA.debugLine="Template.DrawRect(Template.TargetRect, Background"; -_template._drawrect(_template._targetrect,_backgroundcolor,__c.True,(int) (0)); - //BA.debugLineNum = 129;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 130;BA.debugLine="Template.DrawLine(-Width / 2, Width / 2, Templat"; -_template._drawline((float) (-_width/(double)2),(float) (_width/(double)2),(float) (_template._mwidth+_width/(double)2),(float) (_template._mheight-_width/(double)2),_bc._argbtocolor(_bcolor),_width); - }else { - //BA.debugLineNum = 132;BA.debugLine="Template.DrawLine(Width / 2, -Width / 2, Templat"; -_template._drawline((float) (_width/(double)2),(float) (-_width/(double)2),(float) (_template._mwidth-_width/(double)2),(float) (_template._mheight+_width/(double)2),_bc._argbtocolor(_bcolor),_width); - }; - //BA.debugLineNum = 134;BA.debugLine="BusyBrush = bc.CreateBrushFromBitmapCreator(Templ"; -_busybrush = _bc._createbrushfrombitmapcreator(_template); - //BA.debugLineNum = 135;BA.debugLine="If mValue = 100 Then"; -if (_mvalue==100) { - //BA.debugLineNum = 136;BA.debugLine="bc.DrawRectRounded(bc.TargetRect, BackgroundColo"; -_bc._drawrectrounded(_bc._targetrect,_backgroundcolor,__c.True,(int) (0),(int) (15)); - }else { - //BA.debugLineNum = 138;BA.debugLine="bc.DrawRectRounded2(bc.TargetRect, EmptyBrush, T"; -_bc._drawrectrounded2(_bc._targetrect,_emptybrush,__c.True,(int) (0),(int) (15)); - }; - //BA.debugLineNum = 140;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, mIV)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),_miv); - //BA.debugLineNum = 141;BA.debugLine="setVisible(mBase.Visible)"; -_setvisible(_mbase.getVisible()); - //BA.debugLineNum = 142;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/appupdater.java b/B4A/Objects/src/gunav2/keymon/com/mx/appupdater.java index 587e63d..9aa156c 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/appupdater.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/appupdater.java @@ -14,7 +14,7 @@ public class appupdater extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, appupdater.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class appupdater extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.appupdater"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.appupdater"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,29 +127,7 @@ public class appupdater extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; -public static String _lnk = ""; -public static anywheresoftware.b4a.objects.NotificationWrapper _nnewapp = null; -public static int _nnewappnid = 0; -public static anywheresoftware.b4j.object.JavaObject _nativeme = null; -public static anywheresoftware.b4a.objects.NotificationWrapper _n2 = null; -public static int _n2id = 0; -public static String _sharedfolder = ""; -public static boolean _usefileprovider = false; -public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -public static gunav2.keymon.com.mx.appupdater._mnewversion _newapp = null; -public b4a.example.dateutils _dateutils = null; -public gunav2.keymon.com.mx.main _main = null; -public gunav2.keymon.com.mx.starter _starter = null; -public gunav2.keymon.com.mx.subs _subs = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; -public gunav2.keymon.com.mx.newinst2 _newinst2 = null; -public gunav2.keymon.com.mx.b4xpages _b4xpages = null; -public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; -public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + } public static class _mnewversion{ public boolean IsInitialized; public boolean update; @@ -173,72 +151,140 @@ appLink = ""; public String toString() { return BA.TypeToString(this, false); }} +public anywheresoftware.b4a.keywords.Common __c = null; +public static String _lnk = ""; +public static anywheresoftware.b4a.objects.NotificationWrapper _nnewapp = null; +public static int _nnewappnid = 0; +public static anywheresoftware.b4j.object.JavaObject _nativeme = null; +public static anywheresoftware.b4a.objects.NotificationWrapper _n2 = null; +public static int _n2id = 0; +public static String _sharedfolder = ""; +public static boolean _usefileprovider = false; +public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +public static gunav2.keymon.com.mx.appupdater._mnewversion _newapp = null; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _title,String _content,String _icon,Object _targetactivity,boolean _sound,boolean _vibrate) throws Exception{ - //BA.debugLineNum = 242;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; - //BA.debugLineNum = 243;BA.debugLine="n2.Initialize"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "createnotification", false)) + {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(processBA, "createnotification", new Object[] {_title,_content,_icon,_targetactivity,_sound,_vibrate}));} +RDebugUtils.currentLine=70320128; + //BA.debugLineNum = 70320128;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; +RDebugUtils.currentLine=70320129; + //BA.debugLineNum = 70320129;BA.debugLine="n2.Initialize"; _n2.Initialize(); - //BA.debugLineNum = 244;BA.debugLine="n2.Light = False"; +RDebugUtils.currentLine=70320130; + //BA.debugLineNum = 70320130;BA.debugLine="n2.Light = False"; _n2.setLight(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 245;BA.debugLine="n2.Vibrate = Vibrate"; +RDebugUtils.currentLine=70320131; + //BA.debugLineNum = 70320131;BA.debugLine="n2.Vibrate = Vibrate"; _n2.setVibrate(_vibrate); - //BA.debugLineNum = 246;BA.debugLine="n2.Sound = Sound"; +RDebugUtils.currentLine=70320132; + //BA.debugLineNum = 70320132;BA.debugLine="n2.Sound = Sound"; _n2.setSound(_sound); - //BA.debugLineNum = 247;BA.debugLine="n2.OnGoingEvent = True"; +RDebugUtils.currentLine=70320133; + //BA.debugLineNum = 70320133;BA.debugLine="n2.OnGoingEvent = True"; _n2.setOnGoingEvent(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 248;BA.debugLine="n2.Icon = Icon"; +RDebugUtils.currentLine=70320134; + //BA.debugLineNum = 70320134;BA.debugLine="n2.Icon = Icon"; _n2.setIcon(_icon); - //BA.debugLineNum = 249;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; +RDebugUtils.currentLine=70320135; + //BA.debugLineNum = 70320135;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; _n2.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); - //BA.debugLineNum = 250;BA.debugLine="n2.Notify(nNewAppnID)"; +RDebugUtils.currentLine=70320136; + //BA.debugLineNum = 70320136;BA.debugLine="n2.Notify(nNewAppnID)"; _n2.Notify(_nnewappnid); - //BA.debugLineNum = 251;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70320137; + //BA.debugLineNum = 70320137;BA.debugLine="End Sub"; return null; } public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification2(String _title,String _content,String _icon,Object _targetactivity,boolean _sound,boolean _vibrate,anywheresoftware.b4a.objects.NotificationWrapper _pn,int _pnid) throws Exception{ - //BA.debugLineNum = 226;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; - //BA.debugLineNum = 229;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "createnotification2", false)) + {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(processBA, "createnotification2", new Object[] {_title,_content,_icon,_targetactivity,_sound,_vibrate,_pn,_pnid}));} +RDebugUtils.currentLine=70254592; + //BA.debugLineNum = 70254592;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; +RDebugUtils.currentLine=70254595; + //BA.debugLineNum = 70254595;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; _pn.Initialize2(_pn.IMPORTANCE_HIGH); - //BA.debugLineNum = 232;BA.debugLine="pN.Vibrate = Vibrate"; +RDebugUtils.currentLine=70254598; + //BA.debugLineNum = 70254598;BA.debugLine="pN.Vibrate = Vibrate"; _pn.setVibrate(_vibrate); - //BA.debugLineNum = 233;BA.debugLine="pN.Sound = Sound"; +RDebugUtils.currentLine=70254599; + //BA.debugLineNum = 70254599;BA.debugLine="pN.Sound = Sound"; _pn.setSound(_sound); - //BA.debugLineNum = 235;BA.debugLine="pN.Icon = Icon"; +RDebugUtils.currentLine=70254601; + //BA.debugLineNum = 70254601;BA.debugLine="pN.Icon = Icon"; _pn.setIcon(_icon); - //BA.debugLineNum = 236;BA.debugLine="pN.AutoCancel = True"; +RDebugUtils.currentLine=70254602; + //BA.debugLineNum = 70254602;BA.debugLine="pN.AutoCancel = True"; _pn.setAutoCancel(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 237;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; +RDebugUtils.currentLine=70254603; + //BA.debugLineNum = 70254603;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; _pn.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); - //BA.debugLineNum = 238;BA.debugLine="pN.Notify(pNID)"; +RDebugUtils.currentLine=70254604; + //BA.debugLineNum = 70254604;BA.debugLine="pN.Notify(pNID)"; _pn.Notify(_pnid); - //BA.debugLineNum = 239;BA.debugLine="Return pN"; +RDebugUtils.currentLine=70254605; + //BA.debugLineNum = 70254605;BA.debugLine="Return pN"; if (true) return _pn; - //BA.debugLineNum = 240;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70254606; + //BA.debugLineNum = 70254606;BA.debugLine="End Sub"; return null; } public static gunav2.keymon.com.mx.httpjob _download(Object _callback,String _link) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download", false)) + {return ((gunav2.keymon.com.mx.httpjob) Debug.delegate(processBA, "download", new Object[] {_callback,_link}));} gunav2.keymon.com.mx.httpjob _j = null; - //BA.debugLineNum = 219;BA.debugLine="Sub Download (Callback As Object, link As String)"; - //BA.debugLineNum = 220;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=70189056; + //BA.debugLineNum = 70189056;BA.debugLine="Sub Download (Callback As Object, link As String)"; +RDebugUtils.currentLine=70189057; + //BA.debugLineNum = 70189057;BA.debugLine="Dim j As HttpJob"; _j = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 221;BA.debugLine="j.Initialize(\"\", Callback)"; -_j._initialize /*String*/ (processBA,"",_callback); - //BA.debugLineNum = 222;BA.debugLine="j.Download(link)"; -_j._download /*String*/ (_link); - //BA.debugLineNum = 223;BA.debugLine="Return j"; +RDebugUtils.currentLine=70189058; + //BA.debugLineNum = 70189058;BA.debugLine="j.Initialize(\"\", Callback)"; +_j._initialize /*String*/ (null,processBA,"",_callback); +RDebugUtils.currentLine=70189059; + //BA.debugLineNum = 70189059;BA.debugLine="j.Download(link)"; +_j._download /*String*/ (null,_link); +RDebugUtils.currentLine=70189060; + //BA.debugLineNum = 70189060;BA.debugLine="Return j"; if (true) return _j; - //BA.debugLineNum = 224;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70189061; + //BA.debugLineNum = 70189061;BA.debugLine="End Sub"; return null; } public static String _download_destroy() throws Exception{ - //BA.debugLineNum = 214;BA.debugLine="Sub download_Destroy"; - //BA.debugLineNum = 215;BA.debugLine="n2.Cancel(n2ID)"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download_destroy", false)) + {return ((String) Debug.delegate(processBA, "download_destroy", null));} +RDebugUtils.currentLine=70123520; + //BA.debugLineNum = 70123520;BA.debugLine="Sub download_Destroy"; +RDebugUtils.currentLine=70123521; + //BA.debugLineNum = 70123521;BA.debugLine="n2.Cancel(n2ID)"; _n2.Cancel(_n2id); - //BA.debugLineNum = 216;BA.debugLine="Service.StopForeground(n2ID)"; +RDebugUtils.currentLine=70123522; + //BA.debugLineNum = 70123522;BA.debugLine="Service.StopForeground(n2ID)"; mostCurrent._service.StopForeground(_n2id); - //BA.debugLineNum = 217;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70123523; + //BA.debugLineNum = 70123523;BA.debugLine="End Sub"; return ""; } public static void _download_newapk() throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download_newapk", false)) + {Debug.delegate(processBA, "download_newapk", null); return;} ResumableSub_download_newApk rsub = new ResumableSub_download_newApk(null); rsub.resume(processBA, null); } @@ -254,6 +300,7 @@ anywheresoftware.b4a.objects.IntentWrapper _in = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="appupdater"; while (true) { switch (state) { @@ -263,15 +310,20 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 162;BA.debugLine="Log(\"Descargando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("469992451","Descargando actualización",0); - //BA.debugLineNum = 164;BA.debugLine="Starter.muestraProgreso = 1"; +RDebugUtils.currentLine=70057987; + //BA.debugLineNum = 70057987;BA.debugLine="Log(\"Descargando actualización\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("070057987","Descargando actualización",0); +RDebugUtils.currentLine=70057989; + //BA.debugLineNum = 70057989;BA.debugLine="Starter.muestraProgreso = 1"; parent.mostCurrent._starter._muestraprogreso /*String*/ = BA.NumberToString(1); - //BA.debugLineNum = 165;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando nu"; -parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Descargando nueva versión, un momento por favor."); - //BA.debugLineNum = 166;BA.debugLine="Dim job_newAPP As HttpJob"; +RDebugUtils.currentLine=70057990; + //BA.debugLineNum = 70057990;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando nu"; +parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ (null,"Descargando nueva versión, un momento por favor."); +RDebugUtils.currentLine=70057991; + //BA.debugLineNum = 70057991;BA.debugLine="Dim job_newAPP As HttpJob"; _job_newapp = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 167;BA.debugLine="If job_newAPP.IsInitialized Then job_newAPP.Relea"; +RDebugUtils.currentLine=70057992; + //BA.debugLineNum = 70057992;BA.debugLine="If job_newAPP.IsInitialized Then job_newAPP.Relea"; if (true) break; case 1: @@ -284,16 +336,18 @@ this.state = 3; case 3: //C this.state = 6; -_job_newapp._release /*String*/ (); +_job_newapp._release /*String*/ (null); if (true) break; case 6: //C this.state = 7; ; - //BA.debugLineNum = 168;BA.debugLine="Log(\">>>> LOGIN LINK2: \" & Starter.nuevoLink)"; -anywheresoftware.b4a.keywords.Common.LogImpl("469992457",">>>> LOGIN LINK2: "+parent.mostCurrent._starter._nuevolink /*String*/ ,0); - //BA.debugLineNum = 169;BA.debugLine="If Starter.nuevoLink <> \"\" Then newApp.appLink ="; +RDebugUtils.currentLine=70057993; + //BA.debugLineNum = 70057993;BA.debugLine="Log(\">>>> LOGIN LINK2: \" & Starter.nuevoLink)"; +anywheresoftware.b4a.keywords.Common.LogImpl("070057993",">>>> LOGIN LINK2: "+parent.mostCurrent._starter._nuevolink /*String*/ ,0); +RDebugUtils.currentLine=70057994; + //BA.debugLineNum = 70057994;BA.debugLine="If Starter.nuevoLink <> \"\" Then newApp.appLink ="; if (true) break; case 7: @@ -313,16 +367,21 @@ case 12: //C this.state = 13; ; - //BA.debugLineNum = 170;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; -_job_newapp._initialize /*String*/ (processBA,"job_newAPP",appupdater.getObject()); - //BA.debugLineNum = 171;BA.debugLine="Log(newApp.appLink & \"?dummy=\" & DateTime.Now)"; -anywheresoftware.b4a.keywords.Common.LogImpl("469992460",parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),0); - //BA.debugLineNum = 172;BA.debugLine="job_newAPP.Download(newApp.appLink & \"?dummy=\" &"; -_job_newapp._download /*String*/ (parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); - //BA.debugLineNum = 173;BA.debugLine="Log(\"Vamos a descargar: \" & newApp.appLink & \"?du"; -anywheresoftware.b4a.keywords.Common.LogImpl("469992462","Vamos a descargar: "+parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),0); - //BA.debugLineNum = 174;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; -anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_job_newapp)); +RDebugUtils.currentLine=70057995; + //BA.debugLineNum = 70057995;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; +_job_newapp._initialize /*String*/ (null,processBA,"job_newAPP",appupdater.getObject()); +RDebugUtils.currentLine=70057996; + //BA.debugLineNum = 70057996;BA.debugLine="Log(newApp.appLink & \"?dummy=\" & DateTime.Now)"; +anywheresoftware.b4a.keywords.Common.LogImpl("070057996",parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),0); +RDebugUtils.currentLine=70057997; + //BA.debugLineNum = 70057997;BA.debugLine="job_newAPP.Download(newApp.appLink & \"?dummy=\" &"; +_job_newapp._download /*String*/ (null,parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); +RDebugUtils.currentLine=70057998; + //BA.debugLineNum = 70057998;BA.debugLine="Log(\"Vamos a descargar: \" & newApp.appLink & \"?du"; +anywheresoftware.b4a.keywords.Common.LogImpl("070057998","Vamos a descargar: "+parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),0); +RDebugUtils.currentLine=70057999; + //BA.debugLineNum = 70057999;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; +anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "appupdater", "download_newapk"), (Object)(_job_newapp)); this.state = 27; return; case 27: @@ -330,9 +389,11 @@ case 27: this.state = 13; _job_newapp = (gunav2.keymon.com.mx.httpjob) result[0]; ; - //BA.debugLineNum = 175;BA.debugLine="Private downladSuccess As Boolean = False"; +RDebugUtils.currentLine=70058000; + //BA.debugLineNum = 70058000;BA.debugLine="Private downladSuccess As Boolean = False"; _downladsuccess = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 176;BA.debugLine="If job_newAPP.Success = True Then"; +RDebugUtils.currentLine=70058001; + //BA.debugLineNum = 70058001;BA.debugLine="If job_newAPP.Success = True Then"; if (true) break; case 13: @@ -345,9 +406,11 @@ this.state = 15; case 15: //C this.state = 16; - //BA.debugLineNum = 178;BA.debugLine="downladSuccess = True"; +RDebugUtils.currentLine=70058003; + //BA.debugLineNum = 70058003;BA.debugLine="downladSuccess = True"; _downladsuccess = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 179;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; +RDebugUtils.currentLine=70058004; + //BA.debugLineNum = 70058004;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; if (true) break; case 16: @@ -360,7 +423,8 @@ this.state = 18; case 18: //C this.state = 19; - //BA.debugLineNum = 181;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; +RDebugUtils.currentLine=70058006; + //BA.debugLineNum = 70058006;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; anywheresoftware.b4a.keywords.Common.File.Delete(parent._sharedfolder,"newapp.apk"); if (true) break; @@ -368,28 +432,36 @@ case 19: //C this.state = 20; ; - //BA.debugLineNum = 184;BA.debugLine="Dim outNewAPK As OutputStream = File.OpenOutput("; +RDebugUtils.currentLine=70058009; + //BA.debugLineNum = 70058009;BA.debugLine="Dim outNewAPK As OutputStream = File.OpenOutput("; _outnewapk = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _outnewapk = anywheresoftware.b4a.keywords.Common.File.OpenOutput(parent._sharedfolder,"newapp.apk",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 185;BA.debugLine="File.Copy2(job_newAPP.GetInputStream, outNewAPK)"; -anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_job_newapp._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_outnewapk.getObject())); - //BA.debugLineNum = 186;BA.debugLine="outNewAPK.Close"; +RDebugUtils.currentLine=70058010; + //BA.debugLineNum = 70058010;BA.debugLine="File.Copy2(job_newAPP.GetInputStream, outNewAPK)"; +anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_job_newapp._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (null).getObject()),(java.io.OutputStream)(_outnewapk.getObject())); +RDebugUtils.currentLine=70058011; + //BA.debugLineNum = 70058011;BA.debugLine="outNewAPK.Close"; _outnewapk.Close(); - //BA.debugLineNum = 187;BA.debugLine="Log(\"APK dir: \"&SharedFolder)"; -anywheresoftware.b4a.keywords.Common.LogImpl("469992476","APK dir: "+parent._sharedfolder,0); +RDebugUtils.currentLine=70058012; + //BA.debugLineNum = 70058012;BA.debugLine="Log(\"APK dir: \"&SharedFolder)"; +anywheresoftware.b4a.keywords.Common.LogImpl("070058012","APK dir: "+parent._sharedfolder,0); if (true) break; case 20: //C this.state = 21; ; - //BA.debugLineNum = 189;BA.debugLine="job_newAPP.Release"; -_job_newapp._release /*String*/ (); - //BA.debugLineNum = 190;BA.debugLine="n2.Cancel(nNewAppnID)"; +RDebugUtils.currentLine=70058014; + //BA.debugLineNum = 70058014;BA.debugLine="job_newAPP.Release"; +_job_newapp._release /*String*/ (null); +RDebugUtils.currentLine=70058015; + //BA.debugLineNum = 70058015;BA.debugLine="n2.Cancel(nNewAppnID)"; parent._n2.Cancel(parent._nnewappnid); - //BA.debugLineNum = 191;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 192;BA.debugLine="If downladSuccess Then"; +RDebugUtils.currentLine=70058016; + //BA.debugLineNum = 70058016;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=70058017; + //BA.debugLineNum = 70058017;BA.debugLine="If downladSuccess Then"; if (true) break; case 21: @@ -404,36 +476,46 @@ this.state = 25; case 23: //C this.state = 26; - //BA.debugLineNum = 194;BA.debugLine="Dim in As Intent"; +RDebugUtils.currentLine=70058019; + //BA.debugLineNum = 70058019;BA.debugLine="Dim in As Intent"; _in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 195;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; +RDebugUtils.currentLine=70058020; + //BA.debugLineNum = 70058020;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; _in.Initialize(_in.ACTION_VIEW,""); - //BA.debugLineNum = 196;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; +RDebugUtils.currentLine=70058021; + //BA.debugLineNum = 70058021;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; _setfileuriasintentdata(_in,"newapp.apk"); - //BA.debugLineNum = 198;BA.debugLine="in.SetType(\"application/vnd.android.package-arch"; +RDebugUtils.currentLine=70058023; + //BA.debugLineNum = 70058023;BA.debugLine="in.SetType(\"application/vnd.android.package-arch"; _in.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 199;BA.debugLine="StartActivity(in)"; +RDebugUtils.currentLine=70058024; + //BA.debugLineNum = 70058024;BA.debugLine="StartActivity(in)"; anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_in.getObject())); if (true) break; case 25: //C this.state = 26; - //BA.debugLineNum = 201;BA.debugLine="B4XPages.MainPage.principal.l_forzarActualizacio"; +RDebugUtils.currentLine=70058026; + //BA.debugLineNum = 70058026;BA.debugLine="B4XPages.MainPage.principal.l_forzarActualizacio"; parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._principal /*gunav2.keymon.com.mx.c_principal*/ ._l_forzaractualizacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 202;BA.debugLine="B4XPages.MainPage.principal.l_forzarActualizacio"; +RDebugUtils.currentLine=70058027; + //BA.debugLineNum = 70058027;BA.debugLine="B4XPages.MainPage.principal.l_forzarActualizacio"; parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._principal /*gunav2.keymon.com.mx.c_principal*/ ._l_forzaractualizacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Hubo un error en la descarga, por favor revise que tenga conexion a internet e intente de nuevo.")); - //BA.debugLineNum = 203;BA.debugLine="Log(\"ERROR EN CONEXION\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("469992492","ERROR EN CONEXION",0); - //BA.debugLineNum = 204;BA.debugLine="Sleep(5000)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (5000)); +RDebugUtils.currentLine=70058028; + //BA.debugLineNum = 70058028;BA.debugLine="Log(\"ERROR EN CONEXION\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("070058028","ERROR EN CONEXION",0); +RDebugUtils.currentLine=70058029; + //BA.debugLineNum = 70058029;BA.debugLine="Sleep(5000)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "appupdater", "download_newapk"),(int) (5000)); this.state = 28; return; case 28: //C this.state = 26; ; - //BA.debugLineNum = 205;BA.debugLine="ExitApplication"; +RDebugUtils.currentLine=70058030; + //BA.debugLineNum = 70058030;BA.debugLine="ExitApplication"; anywheresoftware.b4a.keywords.Common.ExitApplication(); if (true) break; @@ -441,143 +523,196 @@ case 26: //C this.state = -1; ; - //BA.debugLineNum = 207;BA.debugLine="Starter.muestraProgreso = 0"; +RDebugUtils.currentLine=70058032; + //BA.debugLineNum = 70058032;BA.debugLine="Starter.muestraProgreso = 0"; parent.mostCurrent._starter._muestraprogreso /*String*/ = BA.NumberToString(0); - //BA.debugLineNum = 208;BA.debugLine="B4XPages.MainPage.principal.p_transparenteActuali"; +RDebugUtils.currentLine=70058033; + //BA.debugLineNum = 70058033;BA.debugLine="B4XPages.MainPage.principal.p_transparenteActuali"; parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._principal /*gunav2.keymon.com.mx.c_principal*/ ._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 210;BA.debugLine="StopService(Me)"; +RDebugUtils.currentLine=70058035; + //BA.debugLineNum = 70058035;BA.debugLine="StopService(Me)"; anywheresoftware.b4a.keywords.Common.StopService(processBA,appupdater.getObject()); - //BA.debugLineNum = 212;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70058037; + //BA.debugLineNum = 70058037;BA.debugLine="End Sub"; if (true) break; } } } } -public static void _jobdone(gunav2.keymon.com.mx.httpjob _job_newapp) throws Exception{ +public static String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "setfileuriasintentdata", false)) + {return ((String) Debug.delegate(processBA, "setfileuriasintentdata", new Object[] {_intent,_filename}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=70582272; + //BA.debugLineNum = 70582272;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; +RDebugUtils.currentLine=70582273; + //BA.debugLineNum = 70582273;BA.debugLine="Dim jo As JavaObject = Intent"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); +RDebugUtils.currentLine=70582274; + //BA.debugLineNum = 70582274;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); +RDebugUtils.currentLine=70582275; + //BA.debugLineNum = 70582275;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +_intent.setFlags(anywheresoftware.b4a.keywords.Common.Bit.Or(_intent.getFlags(),(int) (1))); +RDebugUtils.currentLine=70582276; + //BA.debugLineNum = 70582276;BA.debugLine="End Sub"; +return ""; } public static String _download_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 155;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 156;BA.debugLine="download_newApk"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download_start", false)) + {return ((String) Debug.delegate(processBA, "download_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=69992448; + //BA.debugLineNum = 69992448;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=69992449; + //BA.debugLineNum = 69992449;BA.debugLine="download_newApk"; _download_newapk(); - //BA.debugLineNum = 157;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69992450; + //BA.debugLineNum = 69992450;BA.debugLine="End Sub"; return ""; } public static String _fileprovider_init() throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "fileprovider_init", false)) + {return ((String) Debug.delegate(processBA, "fileprovider_init", null));} anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 257;BA.debugLine="Sub fileProvider_init"; - //BA.debugLineNum = 258;BA.debugLine="Dim p As Phone"; +RDebugUtils.currentLine=70451200; + //BA.debugLineNum = 70451200;BA.debugLine="Sub fileProvider_init"; +RDebugUtils.currentLine=70451201; + //BA.debugLineNum = 70451201;BA.debugLine="Dim p As Phone"; _p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 259;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +RDebugUtils.currentLine=70451202; + //BA.debugLineNum = 70451202;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; if (_p.getSdkVersion()>=24 || anywheresoftware.b4a.keywords.Common.File.getExternalWritable()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 260;BA.debugLine="UseFileProvider = True"; +RDebugUtils.currentLine=70451203; + //BA.debugLineNum = 70451203;BA.debugLine="UseFileProvider = True"; _usefileprovider = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 261;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +RDebugUtils.currentLine=70451204; + //BA.debugLineNum = 70451204;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; _sharedfolder = anywheresoftware.b4a.keywords.Common.File.Combine(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"); - //BA.debugLineNum = 262;BA.debugLine="If Not(File.IsDirectory(File.DirInternal,\"shared"; +RDebugUtils.currentLine=70451205; + //BA.debugLineNum = 70451205;BA.debugLine="If Not(File.IsDirectory(File.DirInternal,\"shared"; if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.IsDirectory(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"))) { - //BA.debugLineNum = 263;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +RDebugUtils.currentLine=70451206; + //BA.debugLineNum = 70451206;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; anywheresoftware.b4a.keywords.Common.File.MakeDir("",_sharedfolder); }; }else { - //BA.debugLineNum = 266;BA.debugLine="UseFileProvider = False"; +RDebugUtils.currentLine=70451209; + //BA.debugLineNum = 70451209;BA.debugLine="UseFileProvider = False"; _usefileprovider = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 267;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +RDebugUtils.currentLine=70451210; + //BA.debugLineNum = 70451210;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; _sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); }; - //BA.debugLineNum = 269;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("470385676",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); - //BA.debugLineNum = 270;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70451212; + //BA.debugLineNum = 70451212;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("070451212",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); +RDebugUtils.currentLine=70451213; + //BA.debugLineNum = 70451213;BA.debugLine="End Sub"; return ""; } public static Object _getfileuri(String _filename) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "getfileuri", false)) + {return ((Object) Debug.delegate(processBA, "getfileuri", new Object[] {_filename}));} anywheresoftware.b4j.object.JavaObject _uri = null; anywheresoftware.b4j.object.JavaObject _f = null; anywheresoftware.b4j.object.JavaObject _fp = null; anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 273;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; - //BA.debugLineNum = 274;BA.debugLine="Try"; -try { //BA.debugLineNum = 275;BA.debugLine="If Not(UseFileProvider) Then"; +RDebugUtils.currentLine=70516736; + //BA.debugLineNum = 70516736;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; +RDebugUtils.currentLine=70516737; + //BA.debugLineNum = 70516737;BA.debugLine="Try"; +try {RDebugUtils.currentLine=70516738; + //BA.debugLineNum = 70516738;BA.debugLine="If Not(UseFileProvider) Then"; if (anywheresoftware.b4a.keywords.Common.Not(_usefileprovider)) { - //BA.debugLineNum = 276;BA.debugLine="Dim uri As JavaObject"; +RDebugUtils.currentLine=70516739; + //BA.debugLineNum = 70516739;BA.debugLine="Dim uri As JavaObject"; _uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 277;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\")."; +RDebugUtils.currentLine=70516740; + //BA.debugLineNum = 70516740;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\")."; if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_sharedfolder,_filename))}); }; - //BA.debugLineNum = 279;BA.debugLine="Dim f As JavaObject"; +RDebugUtils.currentLine=70516742; + //BA.debugLineNum = 70516742;BA.debugLine="Dim f As JavaObject"; _f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 280;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +RDebugUtils.currentLine=70516743; + //BA.debugLineNum = 70516743;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; _f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 281;BA.debugLine="Dim fp As JavaObject"; +RDebugUtils.currentLine=70516744; + //BA.debugLineNum = 70516744;BA.debugLine="Dim fp As JavaObject"; _fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 282;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=70516745; + //BA.debugLineNum = 70516745;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 283;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=70516746; + //BA.debugLineNum = 70516746;BA.debugLine="context.InitializeContext"; _context.InitializeContext(processBA); - //BA.debugLineNum = 284;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +RDebugUtils.currentLine=70516747; + //BA.debugLineNum = 70516747;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; _fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 285;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +RDebugUtils.currentLine=70516748; + //BA.debugLineNum = 70516748;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(anywheresoftware.b4a.keywords.Common.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); } catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 287;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; -anywheresoftware.b4a.keywords.Common.LogImpl("470451214","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); - //BA.debugLineNum = 288;BA.debugLine="Return \"\""; + processBA.setLastException(e14);RDebugUtils.currentLine=70516750; + //BA.debugLineNum = 70516750;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; +anywheresoftware.b4a.keywords.Common.LogImpl("070516750","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); +RDebugUtils.currentLine=70516751; + //BA.debugLineNum = 70516751;BA.debugLine="Return \"\""; if (true) return (Object)(""); }; - //BA.debugLineNum = 290;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70516753; + //BA.debugLineNum = 70516753;BA.debugLine="End Sub"; return null; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 70;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 75;BA.debugLine="Public lnk As String = \"https://keymon.net/movil/"; -_lnk = "https://keymon.net/movil/guna/gunaPreventa.ver"; - //BA.debugLineNum = 89;BA.debugLine="Public nNewApp As Notification"; -_nnewapp = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Public nNewAppnID As Int = 16"; -_nnewappnid = (int) (16); - //BA.debugLineNum = 92;BA.debugLine="Dim nativeMe As JavaObject"; -_nativeme = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 93;BA.debugLine="Dim n2 As Notification"; -_n2 = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Dim n2ID As Int = 16"; -_n2id = (int) (16); - //BA.debugLineNum = 96;BA.debugLine="Public SharedFolder As String"; -_sharedfolder = ""; - //BA.debugLineNum = 97;BA.debugLine="Public UseFileProvider As Boolean"; -_usefileprovider = false; - //BA.debugLineNum = 98;BA.debugLine="Private rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 99;BA.debugLine="Type mNewVersion(update As Boolean, nonewAPP As B"; -; - //BA.debugLineNum = 101;BA.debugLine="Public newApp As mNewVersion"; -_newapp = new gunav2.keymon.com.mx.appupdater._mnewversion(); - //BA.debugLineNum = 102;BA.debugLine="End Sub"; -return ""; -} public static String _service_create() throws Exception{ - //BA.debugLineNum = 104;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 105;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("469795841","appUpdater(), Service_Create",0); - //BA.debugLineNum = 106;BA.debugLine="newApp.Initialize"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=69861376; + //BA.debugLineNum = 69861376;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=69861377; + //BA.debugLineNum = 69861377;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("069861377","appUpdater(), Service_Create",0); +RDebugUtils.currentLine=69861378; + //BA.debugLineNum = 69861378;BA.debugLine="newApp.Initialize"; _newapp.Initialize(); - //BA.debugLineNum = 107;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +RDebugUtils.currentLine=69861379; + //BA.debugLineNum = 69861379;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 108;BA.debugLine="n2.Initialize"; +RDebugUtils.currentLine=69861380; + //BA.debugLineNum = 69861380;BA.debugLine="n2.Initialize"; _n2.Initialize(); - //BA.debugLineNum = 109;BA.debugLine="nativeMe.InitializeContext"; +RDebugUtils.currentLine=69861381; + //BA.debugLineNum = 69861381;BA.debugLine="nativeMe.InitializeContext"; _nativeme.InitializeContext(processBA); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69861382; + //BA.debugLineNum = 69861382;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 254;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("470320129","appUpdater(), Service_Destroy",0); - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=70385664; + //BA.debugLineNum = 70385664;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=70385665; + //BA.debugLineNum = 70385665;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("070385665","appUpdater(), Service_Destroy",0); +RDebugUtils.currentLine=70385666; + //BA.debugLineNum = 70385666;BA.debugLine="End Sub"; return ""; } public static void _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {Debug.delegate(processBA, "service_start", new Object[] {_startingintent}); return;} ResumableSub_Service_Start rsub = new ResumableSub_Service_Start(null,_startingintent); rsub.resume(processBA, null); } @@ -593,6 +728,7 @@ String[] _app = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="appupdater"; while (true) { try { @@ -604,16 +740,21 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 113;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("469861377","appUpdater(), Service_Start",0); - //BA.debugLineNum = 115;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; -parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Buscando actualizaciones, un momento por favor."); - //BA.debugLineNum = 116;BA.debugLine="Log(\"Buscando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("469861380","Buscando actualización",0); - //BA.debugLineNum = 117;BA.debugLine="fileProvider_init"; +RDebugUtils.currentLine=69926913; + //BA.debugLineNum = 69926913;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("069926913","appUpdater(), Service_Start",0); +RDebugUtils.currentLine=69926915; + //BA.debugLineNum = 69926915;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; +parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ (null,"Buscando actualizaciones, un momento por favor."); +RDebugUtils.currentLine=69926916; + //BA.debugLineNum = 69926916;BA.debugLine="Log(\"Buscando actualización\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("069926916","Buscando actualización",0); +RDebugUtils.currentLine=69926917; + //BA.debugLineNum = 69926917;BA.debugLine="fileProvider_init"; _fileprovider_init(); - //BA.debugLineNum = 118;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; -anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_download(appupdater.getObject(),parent._lnk))); +RDebugUtils.currentLine=69926918; + //BA.debugLineNum = 69926918;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; +anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "appupdater", "service_start"), (Object)(_download(appupdater.getObject(),parent._lnk))); this.state = 20; return; case 20: @@ -621,7 +762,8 @@ case 20: this.state = 1; _j = (gunav2.keymon.com.mx.httpjob) result[0]; ; - //BA.debugLineNum = 119;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=69926919; + //BA.debugLineNum = 69926919;BA.debugLine="If j.Success Then"; if (true) break; case 1: @@ -636,7 +778,8 @@ this.state = 18; case 3: //C this.state = 4; - //BA.debugLineNum = 120;BA.debugLine="Try"; +RDebugUtils.currentLine=69926920; + //BA.debugLineNum = 69926920;BA.debugLine="Try"; if (true) break; case 4: @@ -650,19 +793,26 @@ case 6: //C this.state = 7; this.catchState = 15; - //BA.debugLineNum = 121;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; -_app = anywheresoftware.b4a.keywords.Common.Regex.Split(BA.ObjectToString(anywheresoftware.b4a.keywords.Common.Chr((int) (9))),_j._getstring /*String*/ ()); - //BA.debugLineNum = 123;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; +RDebugUtils.currentLine=69926921; + //BA.debugLineNum = 69926921;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; +_app = anywheresoftware.b4a.keywords.Common.Regex.Split(BA.ObjectToString(anywheresoftware.b4a.keywords.Common.Chr((int) (9))),_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=69926923; + //BA.debugLineNum = 69926923;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; parent._newapp.appLink /*String*/ = _app[(int) (3)]; - //BA.debugLineNum = 124;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; +RDebugUtils.currentLine=69926924; + //BA.debugLineNum = 69926924;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; parent._newapp.newMsg /*String*/ = _app[(int) (1)]; - //BA.debugLineNum = 125;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; +RDebugUtils.currentLine=69926925; + //BA.debugLineNum = 69926925;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; parent._newapp.okMsg /*String*/ = _app[(int) (2)]; - //BA.debugLineNum = 126;BA.debugLine="newApp.version = app(0) 'Version actual"; +RDebugUtils.currentLine=69926926; + //BA.debugLineNum = 69926926;BA.debugLine="newApp.version = app(0) 'Version actual"; parent._newapp.version /*String*/ = _app[(int) (0)]; - //BA.debugLineNum = 128;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; -anywheresoftware.b4a.keywords.Common.LogImpl("469861392",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0); - //BA.debugLineNum = 131;BA.debugLine="If newApp.version = Application.VersionName Th"; +RDebugUtils.currentLine=69926928; + //BA.debugLineNum = 69926928;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +anywheresoftware.b4a.keywords.Common.LogImpl("069926928",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0); +RDebugUtils.currentLine=69926931; + //BA.debugLineNum = 69926931;BA.debugLine="If newApp.version = Application.VersionName Th"; if (true) break; case 7: @@ -675,15 +825,19 @@ this.state = 9; case 9: //C this.state = 10; - //BA.debugLineNum = 132;BA.debugLine="newApp.update = False"; +RDebugUtils.currentLine=69926932; + //BA.debugLineNum = 69926932;BA.debugLine="newApp.update = False"; parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 133;BA.debugLine="Log(\"No new app\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("469861397","No new app",0); - //BA.debugLineNum = 134;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +RDebugUtils.currentLine=69926933; + //BA.debugLineNum = 69926933;BA.debugLine="Log(\"No new app\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("069926933","No new app",0); +RDebugUtils.currentLine=69926934; + //BA.debugLineNum = 69926934;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); if (true) break; ; - //BA.debugLineNum = 138;BA.debugLine="If newApp.version <> Application.VersionName T"; +RDebugUtils.currentLine=69926938; + //BA.debugLineNum = 69926938;BA.debugLine="If newApp.version <> Application.VersionName T"; case 10: //if @@ -695,11 +849,14 @@ this.state = 12; case 12: //C this.state = 13; - //BA.debugLineNum = 139;BA.debugLine="newApp.update = True"; +RDebugUtils.currentLine=69926939; + //BA.debugLineNum = 69926939;BA.debugLine="newApp.update = True"; parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 140;BA.debugLine="Log(\"New app true\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("469861404","New app true",0); - //BA.debugLineNum = 141;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +RDebugUtils.currentLine=69926940; + //BA.debugLineNum = 69926940;BA.debugLine="Log(\"New app true\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("069926940","New app true",0); +RDebugUtils.currentLine=69926941; + //BA.debugLineNum = 69926941;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); if (true) break; @@ -713,8 +870,9 @@ case 15: //C this.state = 16; this.catchState = 0; - //BA.debugLineNum = 146;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; -anywheresoftware.b4a.keywords.Common.LogImpl("469861410","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); +RDebugUtils.currentLine=69926946; + //BA.debugLineNum = 69926946;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; +anywheresoftware.b4a.keywords.Common.LogImpl("069926946","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); if (true) break; if (true) break; @@ -728,19 +886,23 @@ this.catchState = 0; case 18: //C this.state = 19; - //BA.debugLineNum = 149;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; -anywheresoftware.b4a.keywords.Common.LogImpl("469861413","appUpdater(), Job Failed "+parent._lnk,0); +RDebugUtils.currentLine=69926949; + //BA.debugLineNum = 69926949;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; +anywheresoftware.b4a.keywords.Common.LogImpl("069926949","appUpdater(), Job Failed "+parent._lnk,0); if (true) break; case 19: //C this.state = -1; ; - //BA.debugLineNum = 151;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 152;BA.debugLine="StopService(Me)"; +RDebugUtils.currentLine=69926951; + //BA.debugLineNum = 69926951;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=69926952; + //BA.debugLineNum = 69926952;BA.debugLine="StopService(Me)"; anywheresoftware.b4a.keywords.Common.StopService(processBA,appupdater.getObject()); - //BA.debugLineNum = 153;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69926953; + //BA.debugLineNum = 69926953;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -754,17 +916,4 @@ processBA.setLastException(e0);} } } } -public static String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 294;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; - //BA.debugLineNum = 295;BA.debugLine="Dim jo As JavaObject = Intent"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 296;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 297;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; -_intent.setFlags(anywheresoftware.b4a.keywords.Common.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 298;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbitset.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbitset.java index 3a8f988..5025af3 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbitset.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbitset.java @@ -10,7 +10,7 @@ public class b4xbitset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xbitset"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xbitset"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xbitset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public int[] _data = null; public int _msize = 0; public b4a.example.dateutils _dateutils = null; @@ -31,94 +38,142 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private data() As Int"; +public String _class_globals(gunav2.keymon.com.mx.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +RDebugUtils.currentLine=10223616; + //BA.debugLineNum = 10223616;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=10223620; + //BA.debugLineNum = 10223620;BA.debugLine="Private data() As Int"; _data = new int[(int) (0)]; ; - //BA.debugLineNum = 7;BA.debugLine="Private mSize As Int"; +RDebugUtils.currentLine=10223622; + //BA.debugLineNum = 10223622;BA.debugLine="Private mSize As Int"; _msize = 0; - //BA.debugLineNum = 8;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10223623; + //BA.debugLineNum = 10223623;BA.debugLine="End Sub"; return ""; } -public String _clear() throws Exception{ - //BA.debugLineNum = 54;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 58;BA.debugLine="Dim data(Bit.ShiftRight(mSize, 5) + 1) As Int"; -_data = new int[(int) (__c.Bit.ShiftRight(_msize,(int) (5))+1)]; +public String _clear(gunav2.keymon.com.mx.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=10551296; + //BA.debugLineNum = 10551296;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=10551300; + //BA.debugLineNum = 10551300;BA.debugLine="Dim data(Bit.ShiftRight(mSize, 5) + 1) As Int"; +_data = new int[(int) (__c.Bit.ShiftRight(__ref._msize /*int*/ ,(int) (5))+1)]; ; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10551302; + //BA.debugLineNum = 10551302;BA.debugLine="End Sub"; return ""; } -public boolean _get(int _index) throws Exception{ +public boolean _get(gunav2.keymon.com.mx.b4xbitset __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Boolean) Debug.delegate(ba, "get", new Object[] {_index}));} int _dindex = 0; int _offset = 0; int _blockvalue = 0; - //BA.debugLineNum = 38;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; - //BA.debugLineNum = 39;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +RDebugUtils.currentLine=10420224; + //BA.debugLineNum = 10420224;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; +RDebugUtils.currentLine=10420225; + //BA.debugLineNum = 10420225;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; _dindex = __c.Bit.ShiftRight(_index,(int) (5)); - //BA.debugLineNum = 40;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +RDebugUtils.currentLine=10420226; + //BA.debugLineNum = 10420226;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; _offset = __c.Bit.And(((int)0x0000001f),_index); - //BA.debugLineNum = 44;BA.debugLine="Dim BlockValue As Int = data(dindex)"; -_blockvalue = _data[_dindex]; - //BA.debugLineNum = 46;BA.debugLine="Return Bit.And(BlockValue, Bit.ShiftLeft(1, offse"; +RDebugUtils.currentLine=10420230; + //BA.debugLineNum = 10420230;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +_blockvalue = __ref._data /*int[]*/ [_dindex]; +RDebugUtils.currentLine=10420232; + //BA.debugLineNum = 10420232;BA.debugLine="Return Bit.And(BlockValue, Bit.ShiftLeft(1, offse"; if (true) return __c.Bit.And(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset))!=0; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10420233; + //BA.debugLineNum = 10420233;BA.debugLine="End Sub"; return false; } -public int _getsize() throws Exception{ - //BA.debugLineNum = 49;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 50;BA.debugLine="Return mSize"; -if (true) return _msize; - //BA.debugLineNum = 51;BA.debugLine="End Sub"; +public int _getsize(gunav2.keymon.com.mx.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=10485760; + //BA.debugLineNum = 10485760;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=10485761; + //BA.debugLineNum = 10485761;BA.debugLine="Return mSize"; +if (true) return __ref._msize /*int*/ ; +RDebugUtils.currentLine=10485762; + //BA.debugLineNum = 10485762;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xbitset __ref,anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (Size As Int)"; - //BA.debugLineNum = 11;BA.debugLine="mSize = Size"; -_msize = _size; - //BA.debugLineNum = 12;BA.debugLine="Clear"; -_clear(); - //BA.debugLineNum = 13;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_size}));} +RDebugUtils.currentLine=10289152; + //BA.debugLineNum = 10289152;BA.debugLine="Public Sub Initialize (Size As Int)"; +RDebugUtils.currentLine=10289153; + //BA.debugLineNum = 10289153;BA.debugLine="mSize = Size"; +__ref._msize /*int*/ = _size; +RDebugUtils.currentLine=10289154; + //BA.debugLineNum = 10289154;BA.debugLine="Clear"; +__ref._clear /*String*/ (null); +RDebugUtils.currentLine=10289155; + //BA.debugLineNum = 10289155;BA.debugLine="End Sub"; return ""; } -public String _set(int _index,boolean _value) throws Exception{ +public String _set(gunav2.keymon.com.mx.b4xbitset __ref,int _index,boolean _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "set", true)) + {return ((String) Debug.delegate(ba, "set", new Object[] {_index,_value}));} int _dindex = 0; int _offset = 0; int _blockvalue = 0; int _newblockvalue = 0; - //BA.debugLineNum = 16;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; - //BA.debugLineNum = 17;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +RDebugUtils.currentLine=10354688; + //BA.debugLineNum = 10354688;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; +RDebugUtils.currentLine=10354689; + //BA.debugLineNum = 10354689;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; _dindex = __c.Bit.ShiftRight(_index,(int) (5)); - //BA.debugLineNum = 18;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +RDebugUtils.currentLine=10354690; + //BA.debugLineNum = 10354690;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; _offset = __c.Bit.And(((int)0x0000001f),_index); - //BA.debugLineNum = 22;BA.debugLine="Dim BlockValue As Int = data(dindex)"; -_blockvalue = _data[_dindex]; - //BA.debugLineNum = 24;BA.debugLine="Dim NewBlockValue As Int"; +RDebugUtils.currentLine=10354694; + //BA.debugLineNum = 10354694;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +_blockvalue = __ref._data /*int[]*/ [_dindex]; +RDebugUtils.currentLine=10354696; + //BA.debugLineNum = 10354696;BA.debugLine="Dim NewBlockValue As Int"; _newblockvalue = 0; - //BA.debugLineNum = 25;BA.debugLine="If Value Then"; +RDebugUtils.currentLine=10354697; + //BA.debugLineNum = 10354697;BA.debugLine="If Value Then"; if (_value) { - //BA.debugLineNum = 26;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; +RDebugUtils.currentLine=10354698; + //BA.debugLineNum = 10354698;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; _newblockvalue = __c.Bit.Or(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset)); }else { - //BA.debugLineNum = 28;BA.debugLine="NewBlockValue = Bit.And(BlockValue, Bit.Not(Bit."; +RDebugUtils.currentLine=10354700; + //BA.debugLineNum = 10354700;BA.debugLine="NewBlockValue = Bit.And(BlockValue, Bit.Not(Bit."; _newblockvalue = __c.Bit.And(_blockvalue,__c.Bit.Not(__c.Bit.ShiftLeft((int) (1),_offset))); }; - //BA.debugLineNum = 33;BA.debugLine="data(dindex) = NewBlockValue"; -_data[_dindex] = _newblockvalue; - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10354705; + //BA.debugLineNum = 10354705;BA.debugLine="data(dindex) = NewBlockValue"; +__ref._data /*int[]*/ [_dindex] = _newblockvalue; +RDebugUtils.currentLine=10354707; + //BA.debugLineNum = 10354707;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbreadcrumb.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbreadcrumb.java index 9e5a6af..4bca5e6 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbreadcrumb.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbreadcrumb.java @@ -10,7 +10,7 @@ public class b4xbreadcrumb extends B4AClass.ImplB4AClass implements BA.SubDelega private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xbreadcrumb"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xbreadcrumb"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xbreadcrumb extends B4AClass.ImplB4AClass implements BA.SubDelega ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -45,110 +52,39 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 52;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 53;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_touchpanel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 54;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; +public String _base_resize(gunav2.keymon.com.mx.b4xbreadcrumb __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=23134208; + //BA.debugLineNum = 23134208;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=23134209; + //BA.debugLineNum = 23134209;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=23134210; + //BA.debugLineNum = 23134210;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=23134211; + //BA.debugLineNum = 23134211;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=23134212; + //BA.debugLineNum = 23134212;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 11;BA.debugLine="Private mItems As List"; -_mitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 12;BA.debugLine="Private RightPositions As List"; -_rightpositions = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 13;BA.debugLine="Public TextColor As Int"; -_textcolor = 0; - //BA.debugLineNum = 14;BA.debugLine="Public fnt As B4XFont"; -_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 15;BA.debugLine="Private offset As Int = 10dip"; -_offset = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 16;BA.debugLine="Private bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 17;BA.debugLine="Public CrumbColor As Int"; -_crumbcolor = 0; - //BA.debugLineNum = 18;BA.debugLine="Private TouchPanel As B4XView"; -_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Private PressedItem As Int = -1"; -_presseditem = (int) (-1); - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -String _items = ""; -String _s = ""; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 37;BA.debugLine="Dim xlbl As B4XView = Lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 38;BA.debugLine="fnt = xlbl.Font"; -_fnt = _xlbl.getFont(); - //BA.debugLineNum = 39;BA.debugLine="TextColor = xlbl.TextColor"; -_textcolor = _xlbl.getTextColor(); - //BA.debugLineNum = 40;BA.debugLine="CrumbColor = xui.PaintOrColorToColor(Props.Get(\"C"; -_crumbcolor = _xui.PaintOrColorToColor(_props.Get((Object)("CrumbColor"))); - //BA.debugLineNum = 41;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 42;BA.debugLine="TouchPanel = xui.CreatePanel(\"Touch\")"; -_touchpanel = _xui.CreatePanel(ba,"Touch"); - //BA.debugLineNum = 43;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; -_mbase.AddView((android.view.View)(_touchpanel.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 44;BA.debugLine="Dim items As String = Props.Get(\"Items\")"; -_items = BA.ObjectToString(_props.Get((Object)("Items"))); - //BA.debugLineNum = 45;BA.debugLine="For Each s As String In Regex.Split(\"\\|\", items)"; -{ -final String[] group13 = __c.Regex.Split("\\|",_items); -final int groupLen13 = group13.length -;int index13 = 0; -; -for (; index13 < groupLen13;index13++){ -_s = group13[index13]; - //BA.debugLineNum = 46;BA.debugLine="mItems.Add(s)"; -_mitems.Add((Object)(_s)); - } -}; - //BA.debugLineNum = 48;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ +public String _draw(gunav2.keymon.com.mx.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} b4a.example.bitmapcreator._argbcolor _bcolor = null; int _strokecolor = 0; int[] _clrs = null; @@ -156,240 +92,472 @@ int _left = 0; int _i = 0; int _sc = 0; int _width = 0; - //BA.debugLineNum = 57;BA.debugLine="Private Sub Draw"; - //BA.debugLineNum = 58;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 59;BA.debugLine="Dim bcolor As ARGBColor"; +RDebugUtils.currentLine=23199744; + //BA.debugLineNum = 23199744;BA.debugLine="Private Sub Draw"; +RDebugUtils.currentLine=23199745; + //BA.debugLineNum = 23199745;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=23199746; + //BA.debugLineNum = 23199746;BA.debugLine="Dim bcolor As ARGBColor"; _bcolor = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 60;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; -_bc._colortoargb(_crumbcolor,_bcolor); - //BA.debugLineNum = 61;BA.debugLine="bcolor.r = Min(255, bcolor.r * 2)"; +RDebugUtils.currentLine=23199747; + //BA.debugLineNum = 23199747;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._crumbcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=23199748; + //BA.debugLineNum = 23199748;BA.debugLine="bcolor.r = Min(255, bcolor.r * 2)"; _bcolor.r = (int) (__c.Min(255,_bcolor.r*2)); - //BA.debugLineNum = 62;BA.debugLine="bcolor.g = Min(255, bcolor.g * 2)"; +RDebugUtils.currentLine=23199749; + //BA.debugLineNum = 23199749;BA.debugLine="bcolor.g = Min(255, bcolor.g * 2)"; _bcolor.g = (int) (__c.Min(255,_bcolor.g*2)); - //BA.debugLineNum = 63;BA.debugLine="bcolor.b = Min(255, bcolor.b * 2)"; +RDebugUtils.currentLine=23199750; + //BA.debugLineNum = 23199750;BA.debugLine="bcolor.b = Min(255, bcolor.b * 2)"; _bcolor.b = (int) (__c.Min(255,_bcolor.b*2)); - //BA.debugLineNum = 64;BA.debugLine="Dim strokeColor As Int = bc.ARGBToColor(bcolor)"; -_strokecolor = _bc._argbtocolor(_bcolor); - //BA.debugLineNum = 66;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; -_bc._colortoargb(_crumbcolor,_bcolor); - //BA.debugLineNum = 67;BA.debugLine="bcolor.r = bcolor.r * 0.8"; +RDebugUtils.currentLine=23199751; + //BA.debugLineNum = 23199751;BA.debugLine="Dim strokeColor As Int = bc.ARGBToColor(bcolor)"; +_strokecolor = __ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor); +RDebugUtils.currentLine=23199753; + //BA.debugLineNum = 23199753;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._crumbcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=23199754; + //BA.debugLineNum = 23199754;BA.debugLine="bcolor.r = bcolor.r * 0.8"; _bcolor.r = (int) (_bcolor.r*0.8); - //BA.debugLineNum = 68;BA.debugLine="bcolor.g = bcolor.g * 0.8"; +RDebugUtils.currentLine=23199755; + //BA.debugLineNum = 23199755;BA.debugLine="bcolor.g = bcolor.g * 0.8"; _bcolor.g = (int) (_bcolor.g*0.8); - //BA.debugLineNum = 69;BA.debugLine="bcolor.b = bcolor.b * 0.8"; +RDebugUtils.currentLine=23199756; + //BA.debugLineNum = 23199756;BA.debugLine="bcolor.b = bcolor.b * 0.8"; _bcolor.b = (int) (_bcolor.b*0.8); - //BA.debugLineNum = 70;BA.debugLine="Dim Clrs() As Int = Array As Int(CrumbColor, bc.A"; -_clrs = new int[]{_crumbcolor,_bc._argbtocolor(_bcolor)}; - //BA.debugLineNum = 72;BA.debugLine="RightPositions.Clear"; -_rightpositions.Clear(); - //BA.debugLineNum = 73;BA.debugLine="If mItems.Size = 0 Then Return"; -if (_mitems.getSize()==0) { +RDebugUtils.currentLine=23199757; + //BA.debugLineNum = 23199757;BA.debugLine="Dim Clrs() As Int = Array As Int(CrumbColor, bc.A"; +_clrs = new int[]{__ref._crumbcolor /*int*/ ,__ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor)}; +RDebugUtils.currentLine=23199759; + //BA.debugLineNum = 23199759;BA.debugLine="RightPositions.Clear"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=23199760; + //BA.debugLineNum = 23199760;BA.debugLine="If mItems.Size = 0 Then Return"; +if (__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { if (true) return "";}; - //BA.debugLineNum = 74;BA.debugLine="Dim Left As Int = 0"; +RDebugUtils.currentLine=23199761; + //BA.debugLineNum = 23199761;BA.debugLine="Dim Left As Int = 0"; _left = (int) (0); - //BA.debugLineNum = 75;BA.debugLine="For i = 0 To mItems.Size - 1"; +RDebugUtils.currentLine=23199762; + //BA.debugLineNum = 23199762;BA.debugLine="For i = 0 To mItems.Size - 1"; { final int step16 = 1; -final int limit16 = (int) (_mitems.getSize()-1); +final int limit16 = (int) (__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 76;BA.debugLine="Dim sc As Int"; +RDebugUtils.currentLine=23199763; + //BA.debugLineNum = 23199763;BA.debugLine="Dim sc As Int"; _sc = 0; - //BA.debugLineNum = 77;BA.debugLine="If PressedItem = i Then sc = strokeColor Else sc"; -if (_presseditem==_i) { +RDebugUtils.currentLine=23199764; + //BA.debugLineNum = 23199764;BA.debugLine="If PressedItem = i Then sc = strokeColor Else sc"; +if (__ref._presseditem /*int*/ ==_i) { _sc = _strokecolor;} else { _sc = (int) (0);}; - //BA.debugLineNum = 78;BA.debugLine="Dim width As Int = DrawItem(Left, mItems.Get(i),"; -_width = _drawitem(_left,BA.ObjectToString(_mitems.Get(_i)),_i==0,_i==_mitems.getSize()-1,_clrs[(int) (_i%_clrs.length)],_sc); - //BA.debugLineNum = 79;BA.debugLine="Left = Left + width + offset + 2dip"; -_left = (int) (_left+_width+_offset+__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 80;BA.debugLine="RightPositions.Add(Left)"; -_rightpositions.Add((Object)(_left)); +RDebugUtils.currentLine=23199765; + //BA.debugLineNum = 23199765;BA.debugLine="Dim width As Int = DrawItem(Left, mItems.Get(i),"; +_width = __ref._drawitem /*int*/ (null,_left,BA.ObjectToString(__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)),_i==0,_i==__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1,_clrs[(int) (_i%_clrs.length)],_sc); +RDebugUtils.currentLine=23199766; + //BA.debugLineNum = 23199766;BA.debugLine="Left = Left + width + offset + 2dip"; +_left = (int) (_left+_width+__ref._offset /*int*/ +__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=23199767; + //BA.debugLineNum = 23199767;BA.debugLine="RightPositions.Add(Left)"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_left)); } }; - //BA.debugLineNum = 82;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; +RDebugUtils.currentLine=23199769; + //BA.debugLineNum = 23199769;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=23199770; + //BA.debugLineNum = 23199770;BA.debugLine="End Sub"; return ""; } -public int _drawitem(int _left,String _text,boolean _first,boolean _last,int _clr,int _strokecolor) throws Exception{ +public String _class_globals(gunav2.keymon.com.mx.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +RDebugUtils.currentLine=22937600; + //BA.debugLineNum = 22937600;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=22937601; + //BA.debugLineNum = 22937601;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=22937602; + //BA.debugLineNum = 22937602;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=22937603; + //BA.debugLineNum = 22937603;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=22937604; + //BA.debugLineNum = 22937604;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=22937605; + //BA.debugLineNum = 22937605;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=22937606; + //BA.debugLineNum = 22937606;BA.debugLine="Private mItems As List"; +_mitems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=22937607; + //BA.debugLineNum = 22937607;BA.debugLine="Private RightPositions As List"; +_rightpositions = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=22937608; + //BA.debugLineNum = 22937608;BA.debugLine="Public TextColor As Int"; +_textcolor = 0; +RDebugUtils.currentLine=22937609; + //BA.debugLineNum = 22937609;BA.debugLine="Public fnt As B4XFont"; +_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=22937610; + //BA.debugLineNum = 22937610;BA.debugLine="Private offset As Int = 10dip"; +_offset = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=22937611; + //BA.debugLineNum = 22937611;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=22937612; + //BA.debugLineNum = 22937612;BA.debugLine="Public CrumbColor As Int"; +_crumbcolor = 0; +RDebugUtils.currentLine=22937613; + //BA.debugLineNum = 22937613;BA.debugLine="Private TouchPanel As B4XView"; +_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=22937614; + //BA.debugLineNum = 22937614;BA.debugLine="Private PressedItem As Int = -1"; +_presseditem = (int) (-1); +RDebugUtils.currentLine=22937615; + //BA.debugLineNum = 22937615;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=22937616; + //BA.debugLineNum = 22937616;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=22937617; + //BA.debugLineNum = 22937617;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(gunav2.keymon.com.mx.b4xbreadcrumb __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +String _items = ""; +String _s = ""; +RDebugUtils.currentLine=23068672; + //BA.debugLineNum = 23068672;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=23068673; + //BA.debugLineNum = 23068673;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=23068674; + //BA.debugLineNum = 23068674;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=23068674; + //BA.debugLineNum = 23068674;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=23068675; + //BA.debugLineNum = 23068675;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=23068676; + //BA.debugLineNum = 23068676;BA.debugLine="Dim xlbl As B4XView = Lbl"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=23068677; + //BA.debugLineNum = 23068677;BA.debugLine="fnt = xlbl.Font"; +__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _xlbl.getFont(); +RDebugUtils.currentLine=23068678; + //BA.debugLineNum = 23068678;BA.debugLine="TextColor = xlbl.TextColor"; +__ref._textcolor /*int*/ = _xlbl.getTextColor(); +RDebugUtils.currentLine=23068679; + //BA.debugLineNum = 23068679;BA.debugLine="CrumbColor = xui.PaintOrColorToColor(Props.Get(\"C"; +__ref._crumbcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("CrumbColor"))); +RDebugUtils.currentLine=23068680; + //BA.debugLineNum = 23068680;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=23068681; + //BA.debugLineNum = 23068681;BA.debugLine="TouchPanel = xui.CreatePanel(\"Touch\")"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"Touch"); +RDebugUtils.currentLine=23068682; + //BA.debugLineNum = 23068682;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=23068683; + //BA.debugLineNum = 23068683;BA.debugLine="Dim items As String = Props.Get(\"Items\")"; +_items = BA.ObjectToString(_props.Get((Object)("Items"))); +RDebugUtils.currentLine=23068684; + //BA.debugLineNum = 23068684;BA.debugLine="For Each s As String In Regex.Split(\"\\|\", items)"; +{ +final String[] group13 = __c.Regex.Split("\\|",_items); +final int groupLen13 = group13.length +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_s = group13[index13]; +RDebugUtils.currentLine=23068685; + //BA.debugLineNum = 23068685;BA.debugLine="mItems.Add(s)"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_s)); + } +}; +RDebugUtils.currentLine=23068687; + //BA.debugLineNum = 23068687;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=23068688; + //BA.debugLineNum = 23068688;BA.debugLine="End Sub"; +return ""; +} +public int _drawitem(gunav2.keymon.com.mx.b4xbreadcrumb __ref,int _left,String _text,boolean _first,boolean _last,int _clr,int _strokecolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "drawitem", true)) + {return ((Integer) Debug.delegate(ba, "drawitem", new Object[] {_left,_text,_first,_last,_clr,_strokecolor}));} anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; int _itemwidth = 0; int _itemheight = 0; int _baseline = 0; anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; - //BA.debugLineNum = 85;BA.debugLine="Private Sub DrawItem(Left As Int, Text As String,"; - //BA.debugLineNum = 86;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(Text, fnt)"; -_r = _cvs.MeasureText(_text,_fnt); - //BA.debugLineNum = 87;BA.debugLine="Dim ItemWidth As Int = r.Width + 30dip"; +RDebugUtils.currentLine=23265280; + //BA.debugLineNum = 23265280;BA.debugLine="Private Sub DrawItem(Left As Int, Text As String,"; +RDebugUtils.currentLine=23265281; + //BA.debugLineNum = 23265281;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(Text, fnt)"; +_r = __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(_text,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=23265282; + //BA.debugLineNum = 23265282;BA.debugLine="Dim ItemWidth As Int = r.Width + 30dip"; _itemwidth = (int) (_r.getWidth()+__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 88;BA.debugLine="Dim ItemHeight As Int = cvs.TargetRect.Height"; -_itemheight = (int) (_cvs.getTargetRect().getHeight()); - //BA.debugLineNum = 89;BA.debugLine="Dim BaseLine As Int = cvs.TargetRect.CenterY - r."; -_baseline = (int) (_cvs.getTargetRect().getCenterY()-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 90;BA.debugLine="Dim p As B4XPath"; +RDebugUtils.currentLine=23265283; + //BA.debugLineNum = 23265283;BA.debugLine="Dim ItemHeight As Int = cvs.TargetRect.Height"; +_itemheight = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()); +RDebugUtils.currentLine=23265284; + //BA.debugLineNum = 23265284;BA.debugLine="Dim BaseLine As Int = cvs.TargetRect.CenterY - r."; +_baseline = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()-_r.getHeight()/(double)2-_r.getTop()); +RDebugUtils.currentLine=23265285; + //BA.debugLineNum = 23265285;BA.debugLine="Dim p As B4XPath"; _p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 91;BA.debugLine="p.Initialize(Left, 0)"; +RDebugUtils.currentLine=23265286; + //BA.debugLineNum = 23265286;BA.debugLine="p.Initialize(Left, 0)"; _p.Initialize((float) (_left),(float) (0)); - //BA.debugLineNum = 92;BA.debugLine="p.LineTo(Left + ItemWidth, 0)"; +RDebugUtils.currentLine=23265287; + //BA.debugLineNum = 23265287;BA.debugLine="p.LineTo(Left + ItemWidth, 0)"; _p.LineTo((float) (_left+_itemwidth),(float) (0)); - //BA.debugLineNum = 93;BA.debugLine="If Last = False Then"; +RDebugUtils.currentLine=23265288; + //BA.debugLineNum = 23265288;BA.debugLine="If Last = False Then"; if (_last==__c.False) { - //BA.debugLineNum = 94;BA.debugLine="p.LineTo(Left + ItemWidth + offset, ItemHeight /"; -_p.LineTo((float) (_left+_itemwidth+_offset),(float) (_itemheight/(double)2)); +RDebugUtils.currentLine=23265289; + //BA.debugLineNum = 23265289;BA.debugLine="p.LineTo(Left + ItemWidth + offset, ItemHeight /"; +_p.LineTo((float) (_left+_itemwidth+__ref._offset /*int*/ ),(float) (_itemheight/(double)2)); }; - //BA.debugLineNum = 96;BA.debugLine="p.LineTo(Left + ItemWidth, ItemHeight)"; +RDebugUtils.currentLine=23265291; + //BA.debugLineNum = 23265291;BA.debugLine="p.LineTo(Left + ItemWidth, ItemHeight)"; _p.LineTo((float) (_left+_itemwidth),(float) (_itemheight)); - //BA.debugLineNum = 97;BA.debugLine="If First = False Then"; +RDebugUtils.currentLine=23265292; + //BA.debugLineNum = 23265292;BA.debugLine="If First = False Then"; if (_first==__c.False) { - //BA.debugLineNum = 98;BA.debugLine="p.LineTo(Left - offset, ItemHeight)"; -_p.LineTo((float) (_left-_offset),(float) (_itemheight)); - //BA.debugLineNum = 99;BA.debugLine="p.LineTo(Left, ItemHeight / 2)"; +RDebugUtils.currentLine=23265293; + //BA.debugLineNum = 23265293;BA.debugLine="p.LineTo(Left - offset, ItemHeight)"; +_p.LineTo((float) (_left-__ref._offset /*int*/ ),(float) (_itemheight)); +RDebugUtils.currentLine=23265294; + //BA.debugLineNum = 23265294;BA.debugLine="p.LineTo(Left, ItemHeight / 2)"; _p.LineTo((float) (_left),(float) (_itemheight/(double)2)); - //BA.debugLineNum = 100;BA.debugLine="p.LineTo(Left - offset, 0)"; -_p.LineTo((float) (_left-_offset),(float) (0)); +RDebugUtils.currentLine=23265295; + //BA.debugLineNum = 23265295;BA.debugLine="p.LineTo(Left - offset, 0)"; +_p.LineTo((float) (_left-__ref._offset /*int*/ ),(float) (0)); }else { - //BA.debugLineNum = 102;BA.debugLine="p.LineTo(Left, ItemHeight)"; +RDebugUtils.currentLine=23265297; + //BA.debugLineNum = 23265297;BA.debugLine="p.LineTo(Left, ItemHeight)"; _p.LineTo((float) (_left),(float) (_itemheight)); }; - //BA.debugLineNum = 104;BA.debugLine="p.LineTo(Left, 0)"; +RDebugUtils.currentLine=23265299; + //BA.debugLineNum = 23265299;BA.debugLine="p.LineTo(Left, 0)"; _p.LineTo((float) (_left),(float) (0)); - //BA.debugLineNum = 105;BA.debugLine="cvs.DrawPath(p, clr, True, 0)"; -_cvs.DrawPath(_p,_clr,__c.True,(float) (0)); - //BA.debugLineNum = 106;BA.debugLine="If strokeColor <> 0 Then"; +RDebugUtils.currentLine=23265300; + //BA.debugLineNum = 23265300;BA.debugLine="cvs.DrawPath(p, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_clr,__c.True,(float) (0)); +RDebugUtils.currentLine=23265301; + //BA.debugLineNum = 23265301;BA.debugLine="If strokeColor <> 0 Then"; if (_strokecolor!=0) { - //BA.debugLineNum = 107;BA.debugLine="cvs.DrawPath(p, strokeColor, False, 3dip)"; -_cvs.DrawPath(_p,_strokecolor,__c.False,(float) (__c.DipToCurrent((int) (3)))); +RDebugUtils.currentLine=23265302; + //BA.debugLineNum = 23265302;BA.debugLine="cvs.DrawPath(p, strokeColor, False, 3dip)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_strokecolor,__c.False,(float) (__c.DipToCurrent((int) (3)))); }; - //BA.debugLineNum = 110;BA.debugLine="cvs.DrawText(Text, Left + ItemWidth / 2, BaseLine"; -_cvs.DrawText(ba,_text,(float) (_left+_itemwidth/(double)2),(float) (_baseline),_fnt,_textcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - //BA.debugLineNum = 111;BA.debugLine="Return ItemWidth"; +RDebugUtils.currentLine=23265305; + //BA.debugLineNum = 23265305;BA.debugLine="cvs.DrawText(Text, Left + ItemWidth / 2, BaseLine"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawText(ba,_text,(float) (_left+_itemwidth/(double)2),(float) (_baseline),__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ,__ref._textcolor /*int*/ ,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=23265306; + //BA.debugLineNum = 23265306;BA.debugLine="Return ItemWidth"; if (true) return _itemwidth; - //BA.debugLineNum = 112;BA.debugLine="End Sub"; +RDebugUtils.currentLine=23265307; + //BA.debugLineNum = 23265307;BA.debugLine="End Sub"; return 0; } -public int _finditem(int _x,int _y) throws Exception{ +public int _finditem(gunav2.keymon.com.mx.b4xbreadcrumb __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "finditem", true)) + {return ((Integer) Debug.delegate(ba, "finditem", new Object[] {_x,_y}));} int _r = 0; int _i = 0; - //BA.debugLineNum = 136;BA.debugLine="Private Sub FindItem (x As Int, y As Int) As Int"; - //BA.debugLineNum = 137;BA.debugLine="If RightPositions.Size = 0 Then Return -1"; -if (_rightpositions.getSize()==0) { +RDebugUtils.currentLine=23396352; + //BA.debugLineNum = 23396352;BA.debugLine="Private Sub FindItem (x As Int, y As Int) As Int"; +RDebugUtils.currentLine=23396353; + //BA.debugLineNum = 23396353;BA.debugLine="If RightPositions.Size = 0 Then Return -1"; +if (__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { if (true) return (int) (-1);}; - //BA.debugLineNum = 138;BA.debugLine="If y < 0 Or y > cvs.TargetRect.Height Then Return"; -if (_y<0 || _y>_cvs.getTargetRect().getHeight()) { +RDebugUtils.currentLine=23396354; + //BA.debugLineNum = 23396354;BA.debugLine="If y < 0 Or y > cvs.TargetRect.Height Then Return"; +if (_y<0 || _y>__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()) { if (true) return (int) (-1);}; - //BA.debugLineNum = 139;BA.debugLine="Dim r As Int = RightPositions.Get(RightPositions."; -_r = (int)(BA.ObjectToNumber(_rightpositions.Get((int) (_rightpositions.getSize()-1)))); - //BA.debugLineNum = 140;BA.debugLine="If x > r Then Return -1"; +RDebugUtils.currentLine=23396355; + //BA.debugLineNum = 23396355;BA.debugLine="Dim r As Int = RightPositions.Get(RightPositions."; +_r = (int)(BA.ObjectToNumber(__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)))); +RDebugUtils.currentLine=23396356; + //BA.debugLineNum = 23396356;BA.debugLine="If x > r Then Return -1"; if (_x>_r) { if (true) return (int) (-1);}; - //BA.debugLineNum = 141;BA.debugLine="For i = RightPositions.Size - 2 To 0 Step -1"; +RDebugUtils.currentLine=23396357; + //BA.debugLineNum = 23396357;BA.debugLine="For i = RightPositions.Size - 2 To 0 Step -1"; { final int step5 = -1; final int limit5 = (int) (0); -_i = (int) (_rightpositions.getSize()-2) ; +_i = (int) (__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-2) ; for (;_i >= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 142;BA.debugLine="Dim r As Int = RightPositions.Get(i)"; -_r = (int)(BA.ObjectToNumber(_rightpositions.Get(_i))); - //BA.debugLineNum = 143;BA.debugLine="If x > r Then Return i + 1"; +RDebugUtils.currentLine=23396358; + //BA.debugLineNum = 23396358;BA.debugLine="Dim r As Int = RightPositions.Get(i)"; +_r = (int)(BA.ObjectToNumber(__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=23396359; + //BA.debugLineNum = 23396359;BA.debugLine="If x > r Then Return i + 1"; if (_x>_r) { if (true) return (int) (_i+1);}; } }; - //BA.debugLineNum = 145;BA.debugLine="Return 0"; +RDebugUtils.currentLine=23396361; + //BA.debugLineNum = 23396361;BA.debugLine="Return 0"; if (true) return (int) (0); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; +RDebugUtils.currentLine=23396362; + //BA.debugLineNum = 23396362;BA.debugLine="End Sub"; return 0; } -public anywheresoftware.b4a.objects.collections.List _getitems() throws Exception{ - //BA.debugLineNum = 153;BA.debugLine="Public Sub getItems As List"; - //BA.debugLineNum = 154;BA.debugLine="Return mItems"; -if (true) return _mitems; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _getitems(gunav2.keymon.com.mx.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "getitems", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getitems", null));} +RDebugUtils.currentLine=23527424; + //BA.debugLineNum = 23527424;BA.debugLine="Public Sub getItems As List"; +RDebugUtils.currentLine=23527425; + //BA.debugLineNum = 23527425;BA.debugLine="Return mItems"; +if (true) return __ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=23527426; + //BA.debugLineNum = 23527426;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xbreadcrumb __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 25;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 27;BA.debugLine="mItems.Initialize"; -_mitems.Initialize(); - //BA.debugLineNum = 28;BA.debugLine="RightPositions.Initialize"; -_rightpositions.Initialize(); - //BA.debugLineNum = 29;BA.debugLine="bc.Initialize(1, 1)"; -_bc._initialize(ba,(int) (1),(int) (1)); - //BA.debugLineNum = 30;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=23003136; + //BA.debugLineNum = 23003136;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=23003137; + //BA.debugLineNum = 23003137;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=23003138; + //BA.debugLineNum = 23003138;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=23003139; + //BA.debugLineNum = 23003139;BA.debugLine="mItems.Initialize"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=23003140; + //BA.debugLineNum = 23003140;BA.debugLine="RightPositions.Initialize"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=23003141; + //BA.debugLineNum = 23003141;BA.debugLine="bc.Initialize(1, 1)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (1),(int) (1)); +RDebugUtils.currentLine=23003142; + //BA.debugLineNum = 23003142;BA.debugLine="End Sub"; return ""; } -public String _setitems(anywheresoftware.b4a.objects.collections.List _i) throws Exception{ - //BA.debugLineNum = 148;BA.debugLine="Public Sub setItems (i As List)"; - //BA.debugLineNum = 149;BA.debugLine="mItems = i"; -_mitems = _i; - //BA.debugLineNum = 150;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +public String _setitems(gunav2.keymon.com.mx.b4xbreadcrumb __ref,anywheresoftware.b4a.objects.collections.List _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((String) Debug.delegate(ba, "setitems", new Object[] {_i}));} +RDebugUtils.currentLine=23461888; + //BA.debugLineNum = 23461888;BA.debugLine="Public Sub setItems (i As List)"; +RDebugUtils.currentLine=23461889; + //BA.debugLineNum = 23461889;BA.debugLine="mItems = i"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ = _i; +RDebugUtils.currentLine=23461890; + //BA.debugLineNum = 23461890;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=23461891; + //BA.debugLineNum = 23461891;BA.debugLine="End Sub"; return ""; } -public String _touch_touch(int _action,float _x,float _y) throws Exception{ +public String _touch_touch(gunav2.keymon.com.mx.b4xbreadcrumb __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "touch_touch", true)) + {return ((String) Debug.delegate(ba, "touch_touch", new Object[] {_action,_x,_y}));} int _prev = 0; int _index = 0; anywheresoftware.b4a.objects.collections.List _items = null; int _i = 0; - //BA.debugLineNum = 114;BA.debugLine="Private Sub Touch_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 115;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_touchpanel.TOUCH_ACTION_DOWN,_touchpanel.TOUCH_ACTION_MOVE,_touchpanel.TOUCH_ACTION_UP)) { +RDebugUtils.currentLine=23330816; + //BA.debugLineNum = 23330816;BA.debugLine="Private Sub Touch_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=23330817; + //BA.debugLineNum = 23330817;BA.debugLine="Select Action"; +switch (BA.switchObjectToInt(_action,__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN,__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE,__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_UP)) { case 0: case 1: { - //BA.debugLineNum = 117;BA.debugLine="Dim prev As Int = PressedItem"; -_prev = _presseditem; - //BA.debugLineNum = 118;BA.debugLine="PressedItem = FindItem(X, Y)"; -_presseditem = _finditem((int) (_x),(int) (_y)); - //BA.debugLineNum = 119;BA.debugLine="If prev <> PressedItem Then Draw"; -if (_prev!=_presseditem) { -_draw();}; +RDebugUtils.currentLine=23330819; + //BA.debugLineNum = 23330819;BA.debugLine="Dim prev As Int = PressedItem"; +_prev = __ref._presseditem /*int*/ ; +RDebugUtils.currentLine=23330820; + //BA.debugLineNum = 23330820;BA.debugLine="PressedItem = FindItem(X, Y)"; +__ref._presseditem /*int*/ = __ref._finditem /*int*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=23330821; + //BA.debugLineNum = 23330821;BA.debugLine="If prev <> PressedItem Then Draw"; +if (_prev!=__ref._presseditem /*int*/ ) { +__ref._draw /*String*/ (null);}; break; } case 2: { - //BA.debugLineNum = 121;BA.debugLine="Dim index As Int = FindItem(X, Y)"; -_index = _finditem((int) (_x),(int) (_y)); - //BA.debugLineNum = 122;BA.debugLine="If index = PressedItem And index > -1 Then"; -if (_index==_presseditem && _index>-1) { - //BA.debugLineNum = 123;BA.debugLine="Dim Items As List"; +RDebugUtils.currentLine=23330823; + //BA.debugLineNum = 23330823;BA.debugLine="Dim index As Int = FindItem(X, Y)"; +_index = __ref._finditem /*int*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=23330824; + //BA.debugLineNum = 23330824;BA.debugLine="If index = PressedItem And index > -1 Then"; +if (_index==__ref._presseditem /*int*/ && _index>-1) { +RDebugUtils.currentLine=23330825; + //BA.debugLineNum = 23330825;BA.debugLine="Dim Items As List"; _items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 124;BA.debugLine="Items.Initialize"; +RDebugUtils.currentLine=23330826; + //BA.debugLineNum = 23330826;BA.debugLine="Items.Initialize"; _items.Initialize(); - //BA.debugLineNum = 125;BA.debugLine="For i = 0 To index"; +RDebugUtils.currentLine=23330827; + //BA.debugLineNum = 23330827;BA.debugLine="For i = 0 To index"; { final int step11 = 1; final int limit11 = _index; _i = (int) (0) ; for (;_i <= limit11 ;_i = _i + step11 ) { - //BA.debugLineNum = 126;BA.debugLine="Items.Add(mItems.Get(i))"; -_items.Add(_mitems.Get(_i)); +RDebugUtils.currentLine=23330828; + //BA.debugLineNum = 23330828;BA.debugLine="Items.Add(mItems.Get(i))"; +_items.Add(__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); } }; - //BA.debugLineNum = 128;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 129;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; -__c.CallSubNew2(ba,_mcallback,_meventname+"_CrumbClick",(Object)(_items)); +RDebugUtils.currentLine=23330830; + //BA.debugLineNum = 23330830;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=23330831; + //BA.debugLineNum = 23330831;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_CrumbClick",(Object)(_items)); }; - //BA.debugLineNum = 131;BA.debugLine="PressedItem = -1"; -_presseditem = (int) (-1); - //BA.debugLineNum = 132;BA.debugLine="Draw"; -_draw(); +RDebugUtils.currentLine=23330833; + //BA.debugLineNum = 23330833;BA.debugLine="PressedItem = -1"; +__ref._presseditem /*int*/ = (int) (-1); +RDebugUtils.currentLine=23330834; + //BA.debugLineNum = 23330834;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); break; } } ; - //BA.debugLineNum = 134;BA.debugLine="End Sub"; +RDebugUtils.currentLine=23330836; + //BA.debugLineNum = 23330836;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbytesbuilder.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbytesbuilder.java index 9d08b4c..d1792e6 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbytesbuilder.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbytesbuilder.java @@ -10,7 +10,7 @@ public class b4xbytesbuilder extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xbytesbuilder"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xbytesbuilder"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xbytesbuilder extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public byte[] _mbuffer = null; public int _mlength = 0; public b4a.example.dateutils _dateutils = null; @@ -31,238 +38,384 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public gunav2.keymon.com.mx.b4xbytesbuilder _append(byte[] _data) throws Exception{ - //BA.debugLineNum = 24;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; - //BA.debugLineNum = 25;BA.debugLine="Return Append2(Data, 0, Data.Length)"; -if (true) return _append2(_data,(int) (0),_data.length); - //BA.debugLineNum = 26;BA.debugLine="End Sub"; +public String _initialize(gunav2.keymon.com.mx.b4xbytesbuilder __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=10682368; + //BA.debugLineNum = 10682368;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=10682369; + //BA.debugLineNum = 10682369;BA.debugLine="Dim mBuffer(100) As Byte"; +_mbuffer = new byte[(int) (100)]; +; +RDebugUtils.currentLine=10682370; + //BA.debugLineNum = 10682370;BA.debugLine="mLength = 0"; +__ref._mlength /*int*/ = (int) (0); +RDebugUtils.currentLine=10682371; + //BA.debugLineNum = 10682371;BA.debugLine="End Sub"; +return ""; +} +public gunav2.keymon.com.mx.b4xbytesbuilder _append(gunav2.keymon.com.mx.b4xbytesbuilder __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "append", true)) + {return ((gunav2.keymon.com.mx.b4xbytesbuilder) Debug.delegate(ba, "append", new Object[] {_data}));} +RDebugUtils.currentLine=10813440; + //BA.debugLineNum = 10813440;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; +RDebugUtils.currentLine=10813441; + //BA.debugLineNum = 10813441;BA.debugLine="Return Append2(Data, 0, Data.Length)"; +if (true) return __ref._append2 /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_data,(int) (0),_data.length); +RDebugUtils.currentLine=10813442; + //BA.debugLineNum = 10813442;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.b4xbytesbuilder _append2(byte[] _data,int _startindex,int _length) throws Exception{ +public int _getlength(gunav2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getlength", true)) + {return ((Integer) Debug.delegate(ba, "getlength", null));} +RDebugUtils.currentLine=11337728; + //BA.debugLineNum = 11337728;BA.debugLine="Public Sub getLength As Int"; +RDebugUtils.currentLine=11337729; + //BA.debugLineNum = 11337729;BA.debugLine="Return mLength"; +if (true) return __ref._mlength /*int*/ ; +RDebugUtils.currentLine=11337730; + //BA.debugLineNum = 11337730;BA.debugLine="End Sub"; +return 0; +} +public byte[] _toarray(gunav2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "toarray", true)) + {return ((byte[]) Debug.delegate(ba, "toarray", null));} +RDebugUtils.currentLine=11403264; + //BA.debugLineNum = 11403264;BA.debugLine="Public Sub ToArray() As Byte()"; +RDebugUtils.currentLine=11403265; + //BA.debugLineNum = 11403265;BA.debugLine="Return SubArray(0)"; +if (true) return __ref._subarray /*byte[]*/ (null,(int) (0)); +RDebugUtils.currentLine=11403266; + //BA.debugLineNum = 11403266;BA.debugLine="End Sub"; +return null; +} +public byte[] _getinternalbuffer(gunav2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getinternalbuffer", true)) + {return ((byte[]) Debug.delegate(ba, "getinternalbuffer", null));} +RDebugUtils.currentLine=11665408; + //BA.debugLineNum = 11665408;BA.debugLine="Public Sub getInternalBuffer As Byte()"; +RDebugUtils.currentLine=11665409; + //BA.debugLineNum = 11665409;BA.debugLine="Return mBuffer"; +if (true) return __ref._mbuffer /*byte[]*/ ; +RDebugUtils.currentLine=11665410; + //BA.debugLineNum = 11665410;BA.debugLine="End Sub"; +return null; +} +public gunav2.keymon.com.mx.b4xbytesbuilder _append2(gunav2.keymon.com.mx.b4xbytesbuilder __ref,byte[] _data,int _startindex,int _length) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "append2", true)) + {return ((gunav2.keymon.com.mx.b4xbytesbuilder) Debug.delegate(ba, "append2", new Object[] {_data,_startindex,_length}));} int _oldlength = 0; - //BA.debugLineNum = 31;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; - //BA.debugLineNum = 32;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; -_oldlength = _changelength((int) (_mlength+_length)); - //BA.debugLineNum = 33;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; -__c.Bit.ArrayCopy((Object)(_data),_startindex,(Object)(_mbuffer),_oldlength,_length); - //BA.debugLineNum = 34;BA.debugLine="Return Me"; +RDebugUtils.currentLine=10878976; + //BA.debugLineNum = 10878976;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; +RDebugUtils.currentLine=10878977; + //BA.debugLineNum = 10878977;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; +_oldlength = __ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ +_length)); +RDebugUtils.currentLine=10878978; + //BA.debugLineNum = 10878978;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; +__c.Bit.ArrayCopy((Object)(_data),_startindex,(Object)(__ref._mbuffer /*byte[]*/ ),_oldlength,_length); +RDebugUtils.currentLine=10878979; + //BA.debugLineNum = 10878979;BA.debugLine="Return Me"; if (true) return (gunav2.keymon.com.mx.b4xbytesbuilder)(this); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10878980; + //BA.debugLineNum = 10878980;BA.debugLine="End Sub"; return null; } -public int _changelength(int _newlength) throws Exception{ +public int _changelength(gunav2.keymon.com.mx.b4xbytesbuilder __ref,int _newlength) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "changelength", true)) + {return ((Integer) Debug.delegate(ba, "changelength", new Object[] {_newlength}));} int _oldlength = 0; byte[] _b = null; - //BA.debugLineNum = 12;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; - //BA.debugLineNum = 13;BA.debugLine="Dim OldLength As Int = mLength"; -_oldlength = _mlength; - //BA.debugLineNum = 14;BA.debugLine="mLength = NewLength"; -_mlength = _newlength; - //BA.debugLineNum = 15;BA.debugLine="If mBuffer.Length < mLength Then"; -if (_mbuffer.length<_mlength) { - //BA.debugLineNum = 16;BA.debugLine="Dim b(Max(mBuffer.Length * 2, NewLength)) As Byt"; -_b = new byte[(int) (__c.Max(_mbuffer.length*2,_newlength))]; +RDebugUtils.currentLine=10747904; + //BA.debugLineNum = 10747904;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; +RDebugUtils.currentLine=10747905; + //BA.debugLineNum = 10747905;BA.debugLine="Dim OldLength As Int = mLength"; +_oldlength = __ref._mlength /*int*/ ; +RDebugUtils.currentLine=10747906; + //BA.debugLineNum = 10747906;BA.debugLine="mLength = NewLength"; +__ref._mlength /*int*/ = _newlength; +RDebugUtils.currentLine=10747907; + //BA.debugLineNum = 10747907;BA.debugLine="If mBuffer.Length < mLength Then"; +if (__ref._mbuffer /*byte[]*/ .length<__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=10747908; + //BA.debugLineNum = 10747908;BA.debugLine="Dim b(Max(mBuffer.Length * 2, NewLength)) As Byt"; +_b = new byte[(int) (__c.Max(__ref._mbuffer /*byte[]*/ .length*2,_newlength))]; ; - //BA.debugLineNum = 17;BA.debugLine="Bit.ArrayCopy(mBuffer, 0, b, 0, mBuffer.Length)"; -__c.Bit.ArrayCopy((Object)(_mbuffer),(int) (0),(Object)(_b),(int) (0),_mbuffer.length); - //BA.debugLineNum = 18;BA.debugLine="mBuffer = b"; -_mbuffer = _b; +RDebugUtils.currentLine=10747909; + //BA.debugLineNum = 10747909;BA.debugLine="Bit.ArrayCopy(mBuffer, 0, b, 0, mBuffer.Length)"; +__c.Bit.ArrayCopy((Object)(__ref._mbuffer /*byte[]*/ ),(int) (0),(Object)(_b),(int) (0),__ref._mbuffer /*byte[]*/ .length); +RDebugUtils.currentLine=10747910; + //BA.debugLineNum = 10747910;BA.debugLine="mBuffer = b"; +__ref._mbuffer /*byte[]*/ = _b; }; - //BA.debugLineNum = 20;BA.debugLine="Return OldLength"; +RDebugUtils.currentLine=10747912; + //BA.debugLineNum = 10747912;BA.debugLine="Return OldLength"; if (true) return _oldlength; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10747913; + //BA.debugLineNum = 10747913;BA.debugLine="End Sub"; return 0; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mBuffer() As Byte"; +public String _class_globals(gunav2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +RDebugUtils.currentLine=10616832; + //BA.debugLineNum = 10616832;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=10616833; + //BA.debugLineNum = 10616833;BA.debugLine="Private mBuffer() As Byte"; _mbuffer = new byte[(int) (0)]; ; - //BA.debugLineNum = 3;BA.debugLine="Private mLength As Int"; +RDebugUtils.currentLine=10616834; + //BA.debugLineNum = 10616834;BA.debugLine="Private mLength As Int"; _mlength = 0; - //BA.debugLineNum = 4;BA.debugLine="End Sub"; +RDebugUtils.currentLine=10616835; + //BA.debugLineNum = 10616835;BA.debugLine="End Sub"; return ""; } -public String _clear() throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 38;BA.debugLine="ChangeLength(0)"; -_changelength((int) (0)); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +public String _clear(gunav2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=10944512; + //BA.debugLineNum = 10944512;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=10944513; + //BA.debugLineNum = 10944513;BA.debugLine="ChangeLength(0)"; +__ref._changelength /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=10944514; + //BA.debugLineNum = 10944514;BA.debugLine="End Sub"; return ""; } -public byte[] _getbuffer() throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; - //BA.debugLineNum = 104;BA.debugLine="End Sub"; +public byte[] _getbuffer(gunav2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getbuffer", true)) + {return ((byte[]) Debug.delegate(ba, "getbuffer", null));} +RDebugUtils.currentLine=11468800; + //BA.debugLineNum = 11468800;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; +RDebugUtils.currentLine=11468801; + //BA.debugLineNum = 11468801;BA.debugLine="End Sub"; return null; } -public byte[] _getinternalbuffer() throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub getInternalBuffer As Byte()"; - //BA.debugLineNum = 128;BA.debugLine="Return mBuffer"; -if (true) return _mbuffer; - //BA.debugLineNum = 129;BA.debugLine="End Sub"; -return null; -} -public int _getlength() throws Exception{ - //BA.debugLineNum = 92;BA.debugLine="Public Sub getLength As Int"; - //BA.debugLineNum = 93;BA.debugLine="Return mLength"; -if (true) return _mlength; - //BA.debugLineNum = 94;BA.debugLine="End Sub"; +public int _indexof(gunav2.keymon.com.mx.b4xbytesbuilder __ref,byte[] _searchfor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "indexof", true)) + {return ((Integer) Debug.delegate(ba, "indexof", new Object[] {_searchfor}));} +RDebugUtils.currentLine=11534336; + //BA.debugLineNum = 11534336;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; +RDebugUtils.currentLine=11534337; + //BA.debugLineNum = 11534337;BA.debugLine="Return IndexOf2(SearchFor, 0)"; +if (true) return __ref._indexof2 /*int*/ (null,_searchfor,(int) (0)); +RDebugUtils.currentLine=11534338; + //BA.debugLineNum = 11534338;BA.debugLine="End Sub"; return 0; } -public int _indexof(byte[] _searchfor) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; - //BA.debugLineNum = 108;BA.debugLine="Return IndexOf2(SearchFor, 0)"; -if (true) return _indexof2(_searchfor,(int) (0)); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; -return 0; -} -public int _indexof2(byte[] _searchfor,int _index) throws Exception{ +public int _indexof2(gunav2.keymon.com.mx.b4xbytesbuilder __ref,byte[] _searchfor,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "indexof2", true)) + {return ((Integer) Debug.delegate(ba, "indexof2", new Object[] {_searchfor,_index}));} int _i1 = 0; int _i2 = 0; - //BA.debugLineNum = 112;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; - //BA.debugLineNum = 113;BA.debugLine="For i1 = Index To mLength - SearchFor.Length"; +RDebugUtils.currentLine=11599872; + //BA.debugLineNum = 11599872;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; +RDebugUtils.currentLine=11599873; + //BA.debugLineNum = 11599873;BA.debugLine="For i1 = Index To mLength - SearchFor.Length"; { final int step1 = 1; -final int limit1 = (int) (_mlength-_searchfor.length); +final int limit1 = (int) (__ref._mlength /*int*/ -_searchfor.length); _i1 = _index ; for (;_i1 <= limit1 ;_i1 = _i1 + step1 ) { - //BA.debugLineNum = 114;BA.debugLine="For i2 = 0 To SearchFor.Length - 1"; +RDebugUtils.currentLine=11599874; + //BA.debugLineNum = 11599874;BA.debugLine="For i2 = 0 To SearchFor.Length - 1"; { final int step2 = 1; final int limit2 = (int) (_searchfor.length-1); _i2 = (int) (0) ; for (;_i2 <= limit2 ;_i2 = _i2 + step2 ) { - //BA.debugLineNum = 115;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; -if (_searchfor[_i2]!=_mbuffer[(int) (_i1+_i2)]) { - //BA.debugLineNum = 116;BA.debugLine="Exit"; +RDebugUtils.currentLine=11599875; + //BA.debugLineNum = 11599875;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; +if (_searchfor[_i2]!=__ref._mbuffer /*byte[]*/ [(int) (_i1+_i2)]) { +RDebugUtils.currentLine=11599876; + //BA.debugLineNum = 11599876;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 119;BA.debugLine="If i2 = SearchFor.Length Then"; +RDebugUtils.currentLine=11599879; + //BA.debugLineNum = 11599879;BA.debugLine="If i2 = SearchFor.Length Then"; if (_i2==_searchfor.length) { - //BA.debugLineNum = 120;BA.debugLine="Return i1"; +RDebugUtils.currentLine=11599880; + //BA.debugLineNum = 11599880;BA.debugLine="Return i1"; if (true) return _i1; }; } }; - //BA.debugLineNum = 123;BA.debugLine="Return -1"; +RDebugUtils.currentLine=11599883; + //BA.debugLineNum = 11599883;BA.debugLine="Return -1"; if (true) return (int) (-1); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11599884; + //BA.debugLineNum = 11599884;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 7;BA.debugLine="Dim mBuffer(100) As Byte"; -_mbuffer = new byte[(int) (100)]; -; - //BA.debugLineNum = 8;BA.debugLine="mLength = 0"; -_mlength = (int) (0); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return ""; -} -public String _insert(int _index,byte[] _data) throws Exception{ +public String _insert(gunav2.keymon.com.mx.b4xbytesbuilder __ref,int _index,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "insert", true)) + {return ((String) Debug.delegate(ba, "insert", new Object[] {_index,_data}));} byte[] _afterindex = null; - //BA.debugLineNum = 43;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; - //BA.debugLineNum = 44;BA.debugLine="If Index >= mLength Then"; -if (_index>=_mlength) { - //BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; -if (_index>_mlength) { -__c.LogImpl("94849666","Index too large",0);}; - //BA.debugLineNum = 46;BA.debugLine="Append(Data)"; -_append(_data); +RDebugUtils.currentLine=11010048; + //BA.debugLineNum = 11010048;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; +RDebugUtils.currentLine=11010049; + //BA.debugLineNum = 11010049;BA.debugLine="If Index >= mLength Then"; +if (_index>=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=11010050; + //BA.debugLineNum = 11010050;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +if (_index>__ref._mlength /*int*/ ) { +__c.LogImpl("911010050","Index too large",0);}; +RDebugUtils.currentLine=11010051; + //BA.debugLineNum = 11010051;BA.debugLine="Append(Data)"; +__ref._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_data); }else { - //BA.debugLineNum = 48;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; -_afterindex = _subarray(_index); - //BA.debugLineNum = 49;BA.debugLine="ChangeLength(mLength + Data.Length)"; -_changelength((int) (_mlength+_data.length)); - //BA.debugLineNum = 50;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; -__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(_mbuffer),_index,_data.length); - //BA.debugLineNum = 51;BA.debugLine="Bit.ArrayCopy(AfterIndex, 0, mBuffer, Index + Da"; -__c.Bit.ArrayCopy((Object)(_afterindex),(int) (0),(Object)(_mbuffer),(int) (_index+_data.length),_afterindex.length); +RDebugUtils.currentLine=11010053; + //BA.debugLineNum = 11010053;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; +_afterindex = __ref._subarray /*byte[]*/ (null,_index); +RDebugUtils.currentLine=11010054; + //BA.debugLineNum = 11010054;BA.debugLine="ChangeLength(mLength + Data.Length)"; +__ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ +_data.length)); +RDebugUtils.currentLine=11010055; + //BA.debugLineNum = 11010055;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; +__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),_index,_data.length); +RDebugUtils.currentLine=11010056; + //BA.debugLineNum = 11010056;BA.debugLine="Bit.ArrayCopy(AfterIndex, 0, mBuffer, Index + Da"; +__c.Bit.ArrayCopy((Object)(_afterindex),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),(int) (_index+_data.length),_afterindex.length); }; - //BA.debugLineNum = 53;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11010058; + //BA.debugLineNum = 11010058;BA.debugLine="End Sub"; return ""; } -public byte[] _remove(int _beginindex,int _endindex) throws Exception{ +public byte[] _subarray(gunav2.keymon.com.mx.b4xbytesbuilder __ref,int _beginindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "subarray", true)) + {return ((byte[]) Debug.delegate(ba, "subarray", new Object[] {_beginindex}));} +RDebugUtils.currentLine=11206656; + //BA.debugLineNum = 11206656;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; +RDebugUtils.currentLine=11206657; + //BA.debugLineNum = 11206657;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; +if (true) return __ref._subarray2 /*byte[]*/ (null,_beginindex,__ref._mlength /*int*/ ); +RDebugUtils.currentLine=11206658; + //BA.debugLineNum = 11206658;BA.debugLine="End Sub"; +return null; +} +public byte[] _remove(gunav2.keymon.com.mx.b4xbytesbuilder __ref,int _beginindex,int _endindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((byte[]) Debug.delegate(ba, "remove", new Object[] {_beginindex,_endindex}));} byte[] _res = null; byte[] _afterendindex = null; - //BA.debugLineNum = 69;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; - //BA.debugLineNum = 70;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; -_res = _subarray2(_beginindex,_endindex); - //BA.debugLineNum = 71;BA.debugLine="If EndIndex <= mLength Then"; -if (_endindex<=_mlength) { - //BA.debugLineNum = 72;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; -_afterendindex = _subarray(_endindex); - //BA.debugLineNum = 73;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; -__c.Bit.ArrayCopy((Object)(_afterendindex),(int) (0),(Object)(_mbuffer),_beginindex,_afterendindex.length); +RDebugUtils.currentLine=11141120; + //BA.debugLineNum = 11141120;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; +RDebugUtils.currentLine=11141121; + //BA.debugLineNum = 11141121;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; +_res = __ref._subarray2 /*byte[]*/ (null,_beginindex,_endindex); +RDebugUtils.currentLine=11141122; + //BA.debugLineNum = 11141122;BA.debugLine="If EndIndex <= mLength Then"; +if (_endindex<=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=11141123; + //BA.debugLineNum = 11141123;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; +_afterendindex = __ref._subarray /*byte[]*/ (null,_endindex); +RDebugUtils.currentLine=11141124; + //BA.debugLineNum = 11141124;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; +__c.Bit.ArrayCopy((Object)(_afterendindex),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),_beginindex,_afterendindex.length); }; - //BA.debugLineNum = 75;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; -_changelength((int) (_mlength-(_endindex-_beginindex))); - //BA.debugLineNum = 76;BA.debugLine="Return res"; +RDebugUtils.currentLine=11141126; + //BA.debugLineNum = 11141126;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; +__ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ -(_endindex-_beginindex))); +RDebugUtils.currentLine=11141127; + //BA.debugLineNum = 11141127;BA.debugLine="Return res"; if (true) return _res; - //BA.debugLineNum = 77;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11141128; + //BA.debugLineNum = 11141128;BA.debugLine="End Sub"; return null; } -public String _set(int _index,byte[] _data) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; - //BA.debugLineNum = 57;BA.debugLine="If Index >= mLength Then"; -if (_index>=_mlength) { - //BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; -if (_index>_mlength) { -__c.LogImpl("94915202","Index too large",0);}; - //BA.debugLineNum = 59;BA.debugLine="Append(Data)"; -_append(_data); - }else { - //BA.debugLineNum = 61;BA.debugLine="If Data.Length + Index > mLength Then"; -if (_data.length+_index>_mlength) { - //BA.debugLineNum = 62;BA.debugLine="ChangeLength(Data.Length + Index)"; -_changelength((int) (_data.length+_index)); - }; - //BA.debugLineNum = 64;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; -__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(_mbuffer),_index,_data.length); - }; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; -return ""; -} -public byte[] _subarray(int _beginindex) throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; - //BA.debugLineNum = 81;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; -if (true) return _subarray2(_beginindex,_mlength); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; -return null; -} -public byte[] _subarray2(int _beginindex,int _endindex) throws Exception{ +public byte[] _subarray2(gunav2.keymon.com.mx.b4xbytesbuilder __ref,int _beginindex,int _endindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "subarray2", true)) + {return ((byte[]) Debug.delegate(ba, "subarray2", new Object[] {_beginindex,_endindex}));} byte[] _b = null; - //BA.debugLineNum = 86;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; - //BA.debugLineNum = 87;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; +RDebugUtils.currentLine=11272192; + //BA.debugLineNum = 11272192;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; +RDebugUtils.currentLine=11272193; + //BA.debugLineNum = 11272193;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; _b = new byte[(int) (_endindex-_beginindex)]; ; - //BA.debugLineNum = 88;BA.debugLine="Bit.ArrayCopy(mBuffer, BeginIndex, b, 0, b.Length"; -__c.Bit.ArrayCopy((Object)(_mbuffer),_beginindex,(Object)(_b),(int) (0),_b.length); - //BA.debugLineNum = 89;BA.debugLine="Return b"; +RDebugUtils.currentLine=11272194; + //BA.debugLineNum = 11272194;BA.debugLine="Bit.ArrayCopy(mBuffer, BeginIndex, b, 0, b.Length"; +__c.Bit.ArrayCopy((Object)(__ref._mbuffer /*byte[]*/ ),_beginindex,(Object)(_b),(int) (0),_b.length); +RDebugUtils.currentLine=11272195; + //BA.debugLineNum = 11272195;BA.debugLine="Return b"; if (true) return _b; - //BA.debugLineNum = 90;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11272196; + //BA.debugLineNum = 11272196;BA.debugLine="End Sub"; return null; } -public byte[] _toarray() throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Public Sub ToArray() As Byte()"; - //BA.debugLineNum = 98;BA.debugLine="Return SubArray(0)"; -if (true) return _subarray((int) (0)); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public String _set(gunav2.keymon.com.mx.b4xbytesbuilder __ref,int _index,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "set", true)) + {return ((String) Debug.delegate(ba, "set", new Object[] {_index,_data}));} +RDebugUtils.currentLine=11075584; + //BA.debugLineNum = 11075584;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; +RDebugUtils.currentLine=11075585; + //BA.debugLineNum = 11075585;BA.debugLine="If Index >= mLength Then"; +if (_index>=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=11075586; + //BA.debugLineNum = 11075586;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +if (_index>__ref._mlength /*int*/ ) { +__c.LogImpl("911075586","Index too large",0);}; +RDebugUtils.currentLine=11075587; + //BA.debugLineNum = 11075587;BA.debugLine="Append(Data)"; +__ref._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_data); + }else { +RDebugUtils.currentLine=11075589; + //BA.debugLineNum = 11075589;BA.debugLine="If Data.Length + Index > mLength Then"; +if (_data.length+_index>__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=11075590; + //BA.debugLineNum = 11075590;BA.debugLine="ChangeLength(Data.Length + Index)"; +__ref._changelength /*int*/ (null,(int) (_data.length+_index)); + }; +RDebugUtils.currentLine=11075592; + //BA.debugLineNum = 11075592;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; +__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),_index,_data.length); + }; +RDebugUtils.currentLine=11075594; + //BA.debugLineNum = 11075594;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcache.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcache.java index add2e37..d8a091d 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcache.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcache.java @@ -10,7 +10,7 @@ public class b4xcache extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xcache"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xcache"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,24 +23,13 @@ public class b4xcache extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public gunav2.keymon.com.mx.b4xorderedmap _data = null; -public int _mmaxsize = 0; -public float _removethreshold = 0f; -public int _eternalcounts = 0; -public b4a.example.dateutils _dateutils = null; -public gunav2.keymon.com.mx.main _main = null; -public gunav2.keymon.com.mx.starter _starter = null; -public gunav2.keymon.com.mx.subs _subs = null; -public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; -public gunav2.keymon.com.mx.newinst2 _newinst2 = null; -public gunav2.keymon.com.mx.b4xpages _b4xpages = null; -public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; -public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _b4xcacheitem{ public boolean IsInitialized; public Object Value; @@ -58,152 +47,317 @@ Eternal = false; public String toString() { return BA.TypeToString(this, false); }} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; +public anywheresoftware.b4a.keywords.Common __c = null; +public gunav2.keymon.com.mx.b4xorderedmap _data = null; +public int _mmaxsize = 0; +public float _removethreshold = 0f; +public int _eternalcounts = 0; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(gunav2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +RDebugUtils.currentLine=11730944; + //BA.debugLineNum = 11730944;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=11730945; + //BA.debugLineNum = 11730945;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; ; - //BA.debugLineNum = 3;BA.debugLine="Private Data As B4XOrderedMap"; +RDebugUtils.currentLine=11730946; + //BA.debugLineNum = 11730946;BA.debugLine="Private Data As B4XOrderedMap"; _data = new gunav2.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 4;BA.debugLine="Private mMaxSize As Int = 100"; +RDebugUtils.currentLine=11730947; + //BA.debugLineNum = 11730947;BA.debugLine="Private mMaxSize As Int = 100"; _mmaxsize = (int) (100); - //BA.debugLineNum = 5;BA.debugLine="Private RemoveThreshold As Float = 0.3"; +RDebugUtils.currentLine=11730948; + //BA.debugLineNum = 11730948;BA.debugLine="Private RemoveThreshold As Float = 0.3"; _removethreshold = (float) (0.3); - //BA.debugLineNum = 6;BA.debugLine="Private EternalCounts As Int"; +RDebugUtils.currentLine=11730949; + //BA.debugLineNum = 11730949;BA.debugLine="Private EternalCounts As Int"; _eternalcounts = 0; - //BA.debugLineNum = 7;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11730950; + //BA.debugLineNum = 11730950;BA.debugLine="End Sub"; return ""; } -public boolean _containskey(String _key) throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; - //BA.debugLineNum = 67;BA.debugLine="Return Data.ContainsKey(Key)"; -if (true) return _data._containskey /*boolean*/ ((Object)(_key)); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; +public boolean _containskey(gunav2.keymon.com.mx.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "containskey", true)) + {return ((Boolean) Debug.delegate(ba, "containskey", new Object[] {_key}));} +RDebugUtils.currentLine=12320768; + //BA.debugLineNum = 12320768;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; +RDebugUtils.currentLine=12320769; + //BA.debugLineNum = 12320769;BA.debugLine="Return Data.ContainsKey(Key)"; +if (true) return __ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_key)); +RDebugUtils.currentLine=12320770; + //BA.debugLineNum = 12320770;BA.debugLine="End Sub"; return false; } -public gunav2.keymon.com.mx.b4xcache._b4xcacheitem _createb4xcacheitem(Object _value,String _key) throws Exception{ +public gunav2.keymon.com.mx.b4xcache._b4xcacheitem _createb4xcacheitem(gunav2.keymon.com.mx.b4xcache __ref,Object _value,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "createb4xcacheitem", true)) + {return ((gunav2.keymon.com.mx.b4xcache._b4xcacheitem) Debug.delegate(ba, "createb4xcacheitem", new Object[] {_value,_key}));} gunav2.keymon.com.mx.b4xcache._b4xcacheitem _t1 = null; - //BA.debugLineNum = 102;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; - //BA.debugLineNum = 103;BA.debugLine="Dim t1 As B4XCacheItem"; +RDebugUtils.currentLine=12648448; + //BA.debugLineNum = 12648448;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; +RDebugUtils.currentLine=12648449; + //BA.debugLineNum = 12648449;BA.debugLine="Dim t1 As B4XCacheItem"; _t1 = new gunav2.keymon.com.mx.b4xcache._b4xcacheitem(); - //BA.debugLineNum = 104;BA.debugLine="t1.Initialize"; +RDebugUtils.currentLine=12648450; + //BA.debugLineNum = 12648450;BA.debugLine="t1.Initialize"; _t1.Initialize(); - //BA.debugLineNum = 105;BA.debugLine="t1.Value = Value"; +RDebugUtils.currentLine=12648451; + //BA.debugLineNum = 12648451;BA.debugLine="t1.Value = Value"; _t1.Value /*Object*/ = _value; - //BA.debugLineNum = 106;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; +RDebugUtils.currentLine=12648452; + //BA.debugLineNum = 12648452;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; _t1.LastAccessedTime /*long*/ = __c.DateTime.getNow(); - //BA.debugLineNum = 107;BA.debugLine="t1.Key = Key"; +RDebugUtils.currentLine=12648453; + //BA.debugLineNum = 12648453;BA.debugLine="t1.Key = Key"; _t1.Key /*String*/ = _key; - //BA.debugLineNum = 108;BA.debugLine="Return t1"; +RDebugUtils.currentLine=12648454; + //BA.debugLineNum = 12648454;BA.debugLine="Return t1"; if (true) return _t1; - //BA.debugLineNum = 109;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12648455; + //BA.debugLineNum = 12648455;BA.debugLine="End Sub"; return null; } -public Object _get(String _key) throws Exception{ +public Object _get(gunav2.keymon.com.mx.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Object) Debug.delegate(ba, "get", new Object[] {_key}));} gunav2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 24;BA.debugLine="Public Sub Get (Key As String) As Object"; - //BA.debugLineNum = 25;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; -_ci = (gunav2.keymon.com.mx.b4xcache._b4xcacheitem)(_data._get /*Object*/ ((Object)(_key))); - //BA.debugLineNum = 26;BA.debugLine="If ci <> Null Then"; +RDebugUtils.currentLine=11993088; + //BA.debugLineNum = 11993088;BA.debugLine="Public Sub Get (Key As String) As Object"; +RDebugUtils.currentLine=11993089; + //BA.debugLineNum = 11993089;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +_ci = (gunav2.keymon.com.mx.b4xcache._b4xcacheitem)(__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_key))); +RDebugUtils.currentLine=11993090; + //BA.debugLineNum = 11993090;BA.debugLine="If ci <> Null Then"; if (_ci!= null) { - //BA.debugLineNum = 27;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; +RDebugUtils.currentLine=11993091; + //BA.debugLineNum = 11993091;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; if (_ci.Eternal /*boolean*/ ==__c.False) { _ci.LastAccessedTime /*long*/ = __c.DateTime.getNow();}; - //BA.debugLineNum = 28;BA.debugLine="Return ci.Value"; +RDebugUtils.currentLine=11993092; + //BA.debugLineNum = 11993092;BA.debugLine="Return ci.Value"; if (true) return _ci.Value /*Object*/ ; }; - //BA.debugLineNum = 30;BA.debugLine="Return Null"; +RDebugUtils.currentLine=11993094; + //BA.debugLineNum = 11993094;BA.debugLine="Return Null"; if (true) return __c.Null; - //BA.debugLineNum = 31;BA.debugLine="End Sub"; +RDebugUtils.currentLine=11993095; + //BA.debugLineNum = 11993095;BA.debugLine="End Sub"; return null; } -public int _getmaxsize() throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Public Sub getMaxSize As Int"; - //BA.debugLineNum = 20;BA.debugLine="Return mMaxSize"; -if (true) return _mmaxsize; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; +public int _getmaxsize(gunav2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "getmaxsize", true)) + {return ((Integer) Debug.delegate(ba, "getmaxsize", null));} +RDebugUtils.currentLine=11927552; + //BA.debugLineNum = 11927552;BA.debugLine="Public Sub getMaxSize As Int"; +RDebugUtils.currentLine=11927553; + //BA.debugLineNum = 11927553;BA.debugLine="Return mMaxSize"; +if (true) return __ref._mmaxsize /*int*/ ; +RDebugUtils.currentLine=11927554; + //BA.debugLineNum = 11927554;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xcache __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 10;BA.debugLine="Data.Initialize"; -_data._initialize /*String*/ (ba); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=11796480; + //BA.debugLineNum = 11796480;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=11796481; + //BA.debugLineNum = 11796481;BA.debugLine="Data.Initialize"; +__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=11796482; + //BA.debugLineNum = 11796482;BA.debugLine="End Sub"; return ""; } -public boolean _iseternal(String _key) throws Exception{ +public boolean _iseternal(gunav2.keymon.com.mx.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "iseternal", true)) + {return ((Boolean) Debug.delegate(ba, "iseternal", new Object[] {_key}));} gunav2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 60;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; - //BA.debugLineNum = 61;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; -_ci = (gunav2.keymon.com.mx.b4xcache._b4xcacheitem)(_data._get /*Object*/ ((Object)(_key))); - //BA.debugLineNum = 62;BA.debugLine="Return IIf(ci = Null, False, ci.Eternal)"; +RDebugUtils.currentLine=12255232; + //BA.debugLineNum = 12255232;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; +RDebugUtils.currentLine=12255233; + //BA.debugLineNum = 12255233;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +_ci = (gunav2.keymon.com.mx.b4xcache._b4xcacheitem)(__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_key))); +RDebugUtils.currentLine=12255234; + //BA.debugLineNum = 12255234;BA.debugLine="Return IIf(ci = Null, False, ci.Eternal)"; if (true) return BA.ObjectToBoolean(((_ci== null) ? ((Object)(__c.False)) : ((Object)(_ci.Eternal /*boolean*/ )))); - //BA.debugLineNum = 63;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12255235; + //BA.debugLineNum = 12255235;BA.debugLine="End Sub"; return false; } -public anywheresoftware.b4a.objects.collections.List _keys() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub Keys As List"; - //BA.debugLineNum = 99;BA.debugLine="Return Data.Keys"; -if (true) return _data._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 100;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _keys(gunav2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "keys", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "keys", null));} +RDebugUtils.currentLine=12582912; + //BA.debugLineNum = 12582912;BA.debugLine="Public Sub Keys As List"; +RDebugUtils.currentLine=12582913; + //BA.debugLineNum = 12582913;BA.debugLine="Return Data.Keys"; +if (true) return __ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=12582914; + //BA.debugLineNum = 12582914;BA.debugLine="End Sub"; return null; } -public Object _put(String _key,Object _value) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; - //BA.debugLineNum = 36;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 37;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; -_data._put /*String*/ ((Object)(_key),(Object)(_createb4xcacheitem(_value,_key))); - //BA.debugLineNum = 38;BA.debugLine="TrimIfOversize"; -_trimifoversize(); - //BA.debugLineNum = 39;BA.debugLine="Return Value"; +public Object _put(gunav2.keymon.com.mx.b4xcache __ref,String _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "put", true)) + {return ((Object) Debug.delegate(ba, "put", new Object[] {_key,_value}));} +RDebugUtils.currentLine=12058624; + //BA.debugLineNum = 12058624;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; +RDebugUtils.currentLine=12058625; + //BA.debugLineNum = 12058625;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=12058626; + //BA.debugLineNum = 12058626;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; +__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_key),(Object)(__ref._createb4xcacheitem /*gunav2.keymon.com.mx.b4xcache._b4xcacheitem*/ (null,_value,_key))); +RDebugUtils.currentLine=12058627; + //BA.debugLineNum = 12058627;BA.debugLine="TrimIfOversize"; +__ref._trimifoversize /*String*/ (null); +RDebugUtils.currentLine=12058628; + //BA.debugLineNum = 12058628;BA.debugLine="Return Value"; if (true) return _value; - //BA.debugLineNum = 40;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12058629; + //BA.debugLineNum = 12058629;BA.debugLine="End Sub"; return null; } -public Object _puteternal(String _key,Object _value) throws Exception{ -gunav2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 44;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; - //BA.debugLineNum = 45;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 46;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; -_ci = _createb4xcacheitem(_value,_key); - //BA.debugLineNum = 47;BA.debugLine="ci.Eternal = True"; -_ci.Eternal /*boolean*/ = __c.True; - //BA.debugLineNum = 48;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; -_ci.LastAccessedTime /*long*/ = (long) (9223372036854775807L); - //BA.debugLineNum = 49;BA.debugLine="EternalCounts = EternalCounts + 1"; -_eternalcounts = (int) (_eternalcounts+1); - //BA.debugLineNum = 50;BA.debugLine="Data.Put(Key, ci)"; -_data._put /*String*/ ((Object)(_key),(Object)(_ci)); - //BA.debugLineNum = 51;BA.debugLine="Return Value"; -if (true) return _value; - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return null; -} -public String _remove(String _key) throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Public Sub Remove (Key As String)"; - //BA.debugLineNum = 56;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 57;BA.debugLine="Data.Remove(Key)"; -_data._remove /*String*/ ((Object)(_key)); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; +public String _trimifoversize(gunav2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "trimifoversize", true)) + {return ((String) Debug.delegate(ba, "trimifoversize", null));} +anywheresoftware.b4a.objects.collections.List _values = null; +int _numberofitemstoremove = 0; +int _i = 0; +RDebugUtils.currentLine=12386304; + //BA.debugLineNum = 12386304;BA.debugLine="Private Sub TrimIfOversize"; +RDebugUtils.currentLine=12386305; + //BA.debugLineNum = 12386305;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; +if (__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null)-__ref._eternalcounts /*int*/ >__ref._mmaxsize /*int*/ ) { +RDebugUtils.currentLine=12386306; + //BA.debugLineNum = 12386306;BA.debugLine="Dim values As List = Data.Values"; +_values = new anywheresoftware.b4a.objects.collections.List(); +_values = __ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=12386307; + //BA.debugLineNum = 12386307;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; +_values.SortType("LastAccessedTime",__c.True); +RDebugUtils.currentLine=12386308; + //BA.debugLineNum = 12386308;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; +_numberofitemstoremove = (int) (__c.Ceil(__ref._mmaxsize /*int*/ *__ref._removethreshold /*float*/ )); +RDebugUtils.currentLine=12386309; + //BA.debugLineNum = 12386309;BA.debugLine="For i = 0 To NumberOfItemsToRemove"; +{ +final int step5 = 1; +final int limit5 = _numberofitemstoremove; +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=12386310; + //BA.debugLineNum = 12386310;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; +__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(((gunav2.keymon.com.mx.b4xcache._b4xcacheitem)(_values.Get(_i))).Key /*String*/ )); + } +}; + }; +RDebugUtils.currentLine=12386313; + //BA.debugLineNum = 12386313;BA.debugLine="End Sub"; return ""; } -public String _removeolditems(long _agems) throws Exception{ +public Object _puteternal(gunav2.keymon.com.mx.b4xcache __ref,String _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "puteternal", true)) + {return ((Object) Debug.delegate(ba, "puteternal", new Object[] {_key,_value}));} +gunav2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=12124160; + //BA.debugLineNum = 12124160;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; +RDebugUtils.currentLine=12124161; + //BA.debugLineNum = 12124161;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=12124162; + //BA.debugLineNum = 12124162;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; +_ci = __ref._createb4xcacheitem /*gunav2.keymon.com.mx.b4xcache._b4xcacheitem*/ (null,_value,_key); +RDebugUtils.currentLine=12124163; + //BA.debugLineNum = 12124163;BA.debugLine="ci.Eternal = True"; +_ci.Eternal /*boolean*/ = __c.True; +RDebugUtils.currentLine=12124164; + //BA.debugLineNum = 12124164;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; +_ci.LastAccessedTime /*long*/ = (long) (9223372036854775807L); +RDebugUtils.currentLine=12124165; + //BA.debugLineNum = 12124165;BA.debugLine="EternalCounts = EternalCounts + 1"; +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ +1); +RDebugUtils.currentLine=12124166; + //BA.debugLineNum = 12124166;BA.debugLine="Data.Put(Key, ci)"; +__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_key),(Object)(_ci)); +RDebugUtils.currentLine=12124167; + //BA.debugLineNum = 12124167;BA.debugLine="Return Value"; +if (true) return _value; +RDebugUtils.currentLine=12124168; + //BA.debugLineNum = 12124168;BA.debugLine="End Sub"; +return null; +} +public String _remove(gunav2.keymon.com.mx.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_key}));} +RDebugUtils.currentLine=12189696; + //BA.debugLineNum = 12189696;BA.debugLine="Public Sub Remove (Key As String)"; +RDebugUtils.currentLine=12189697; + //BA.debugLineNum = 12189697;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=12189698; + //BA.debugLineNum = 12189698;BA.debugLine="Data.Remove(Key)"; +__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(_key)); +RDebugUtils.currentLine=12189699; + //BA.debugLineNum = 12189699;BA.debugLine="End Sub"; +return ""; +} +public String _removeolditems(gunav2.keymon.com.mx.b4xcache __ref,long _agems) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "removeolditems", true)) + {return ((String) Debug.delegate(ba, "removeolditems", new Object[] {_agems}));} anywheresoftware.b4a.objects.collections.List _values = null; long _level = 0L; gunav2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 82;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; - //BA.debugLineNum = 83;BA.debugLine="Dim values As List = Data.Values"; +RDebugUtils.currentLine=12451840; + //BA.debugLineNum = 12451840;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; +RDebugUtils.currentLine=12451841; + //BA.debugLineNum = 12451841;BA.debugLine="Dim values As List = Data.Values"; _values = new anywheresoftware.b4a.objects.collections.List(); -_values = _data._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 84;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; +_values = __ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=12451842; + //BA.debugLineNum = 12451842;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; _level = (long) (__c.DateTime.getNow()-_agems); - //BA.debugLineNum = 85;BA.debugLine="For Each ci As B4XCacheItem In values"; +RDebugUtils.currentLine=12451843; + //BA.debugLineNum = 12451843;BA.debugLine="For Each ci As B4XCacheItem In values"; { final anywheresoftware.b4a.BA.IterableList group3 = _values; final int groupLen3 = group3.getSize() @@ -211,62 +365,48 @@ final int groupLen3 = group3.getSize() ; for (; index3 < groupLen3;index3++){ _ci = (gunav2.keymon.com.mx.b4xcache._b4xcacheitem)(group3.Get(index3)); - //BA.debugLineNum = 86;BA.debugLine="If ci.LastAccessedTime <= level Then"; +RDebugUtils.currentLine=12451844; + //BA.debugLineNum = 12451844;BA.debugLine="If ci.LastAccessedTime <= level Then"; if (_ci.LastAccessedTime /*long*/ <=_level) { - //BA.debugLineNum = 87;BA.debugLine="Data.Remove(ci.Key)"; -_data._remove /*String*/ ((Object)(_ci.Key /*String*/ )); +RDebugUtils.currentLine=12451845; + //BA.debugLineNum = 12451845;BA.debugLine="Data.Remove(ci.Key)"; +__ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(_ci.Key /*String*/ )); }; } }; - //BA.debugLineNum = 90;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12451848; + //BA.debugLineNum = 12451848;BA.debugLine="End Sub"; return ""; } -public String _setmaxsize(int _s) throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Public Sub setMaxSize(s As Int)"; - //BA.debugLineNum = 15;BA.debugLine="mMaxSize = s"; -_mmaxsize = _s; - //BA.debugLineNum = 16;BA.debugLine="TrimIfOversize"; -_trimifoversize(); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +public String _setmaxsize(gunav2.keymon.com.mx.b4xcache __ref,int _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "setmaxsize", true)) + {return ((String) Debug.delegate(ba, "setmaxsize", new Object[] {_s}));} +RDebugUtils.currentLine=11862016; + //BA.debugLineNum = 11862016;BA.debugLine="Public Sub setMaxSize(s As Int)"; +RDebugUtils.currentLine=11862017; + //BA.debugLineNum = 11862017;BA.debugLine="mMaxSize = s"; +__ref._mmaxsize /*int*/ = _s; +RDebugUtils.currentLine=11862018; + //BA.debugLineNum = 11862018;BA.debugLine="TrimIfOversize"; +__ref._trimifoversize /*String*/ (null); +RDebugUtils.currentLine=11862019; + //BA.debugLineNum = 11862019;BA.debugLine="End Sub"; return ""; } -public int _size() throws Exception{ - //BA.debugLineNum = 93;BA.debugLine="Public Sub Size As Int"; - //BA.debugLineNum = 94;BA.debugLine="Return Data.Size"; -if (true) return _data._getsize /*int*/ (); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; +public int _size(gunav2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "size", true)) + {return ((Integer) Debug.delegate(ba, "size", null));} +RDebugUtils.currentLine=12517376; + //BA.debugLineNum = 12517376;BA.debugLine="Public Sub Size As Int"; +RDebugUtils.currentLine=12517377; + //BA.debugLineNum = 12517377;BA.debugLine="Return Data.Size"; +if (true) return __ref._data /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null); +RDebugUtils.currentLine=12517378; + //BA.debugLineNum = 12517378;BA.debugLine="End Sub"; return 0; } -public String _trimifoversize() throws Exception{ -anywheresoftware.b4a.objects.collections.List _values = null; -int _numberofitemstoremove = 0; -int _i = 0; - //BA.debugLineNum = 70;BA.debugLine="Private Sub TrimIfOversize"; - //BA.debugLineNum = 71;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; -if (_data._getsize /*int*/ ()-_eternalcounts>_mmaxsize) { - //BA.debugLineNum = 72;BA.debugLine="Dim values As List = Data.Values"; -_values = new anywheresoftware.b4a.objects.collections.List(); -_values = _data._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 73;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; -_values.SortType("LastAccessedTime",__c.True); - //BA.debugLineNum = 74;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; -_numberofitemstoremove = (int) (__c.Ceil(_mmaxsize*_removethreshold)); - //BA.debugLineNum = 75;BA.debugLine="For i = 0 To NumberOfItemsToRemove"; -{ -final int step5 = 1; -final int limit5 = _numberofitemstoremove; -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 76;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; -_data._remove /*String*/ ((Object)(((gunav2.keymon.com.mx.b4xcache._b4xcacheitem)(_values.Get(_i))).Key /*String*/ )); - } -}; - }; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcollections.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcollections.java index 74577cb..b7c9caa 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcollections.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcollections.java @@ -10,82 +10,122 @@ private static b4xcollections mostCurrent = new b4xcollections(); public static Object getObject() { throw new RuntimeException("Code module does not support this method."); } - public anywheresoftware.b4a.keywords.Common __c = null; + +public anywheresoftware.b4a.keywords.Common __c = null; public b4a.example.dateutils _dateutils = null; public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; public static gunav2.keymon.com.mx.b4xbitset _createbitset(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createbitset", true)) + {return ((gunav2.keymon.com.mx.b4xbitset) Debug.delegate(null, "createbitset", new Object[] {_ba,_size}));} gunav2.keymon.com.mx.b4xbitset _s = null; - //BA.debugLineNum = 52;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; - //BA.debugLineNum = 53;BA.debugLine="Dim s As B4XBitSet"; +RDebugUtils.currentLine=13041664; + //BA.debugLineNum = 13041664;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; +RDebugUtils.currentLine=13041665; + //BA.debugLineNum = 13041665;BA.debugLine="Dim s As B4XBitSet"; _s = new gunav2.keymon.com.mx.b4xbitset(); - //BA.debugLineNum = 54;BA.debugLine="s.Initialize(Size)"; -_s._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA),_size); - //BA.debugLineNum = 55;BA.debugLine="Return s"; +RDebugUtils.currentLine=13041666; + //BA.debugLineNum = 13041666;BA.debugLine="s.Initialize(Size)"; +_s._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA),_size); +RDebugUtils.currentLine=13041667; + //BA.debugLineNum = 13041667;BA.debugLine="Return s"; if (true) return _s; - //BA.debugLineNum = 56;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13041668; + //BA.debugLineNum = 13041668;BA.debugLine="End Sub"; return null; } public static gunav2.keymon.com.mx.b4xorderedmap _createorderedmap(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; - //BA.debugLineNum = 31;BA.debugLine="Return CreateOrderedMap2(Null, Null)"; +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createorderedmap", true)) + {return ((gunav2.keymon.com.mx.b4xorderedmap) Debug.delegate(null, "createorderedmap", new Object[] {_ba}));} +RDebugUtils.currentLine=12910592; + //BA.debugLineNum = 12910592;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; +RDebugUtils.currentLine=12910593; + //BA.debugLineNum = 12910593;BA.debugLine="Return CreateOrderedMap2(Null, Null)"; if (true) return _createorderedmap2(_ba,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null)),(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null))); - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12910594; + //BA.debugLineNum = 12910594;BA.debugLine="End Sub"; return null; } public static gunav2.keymon.com.mx.b4xorderedmap _createorderedmap2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _keys,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createorderedmap2", true)) + {return ((gunav2.keymon.com.mx.b4xorderedmap) Debug.delegate(null, "createorderedmap2", new Object[] {_ba,_keys,_values}));} gunav2.keymon.com.mx.b4xorderedmap _m = null; int _i = 0; - //BA.debugLineNum = 38;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; - //BA.debugLineNum = 39;BA.debugLine="Dim m As B4XOrderedMap"; +RDebugUtils.currentLine=12976128; + //BA.debugLineNum = 12976128;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; +RDebugUtils.currentLine=12976129; + //BA.debugLineNum = 12976129;BA.debugLine="Dim m As B4XOrderedMap"; _m = new gunav2.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 40;BA.debugLine="m.Initialize"; -_m._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 41;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; +RDebugUtils.currentLine=12976130; + //BA.debugLineNum = 12976130;BA.debugLine="m.Initialize"; +_m._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=12976131; + //BA.debugLineNum = 12976131;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; if (_keys!= null && _values!= null && _keys.IsInitialized() && _values.IsInitialized()) { - //BA.debugLineNum = 42;BA.debugLine="For i = 0 To Keys.Size - 1"; +RDebugUtils.currentLine=12976132; + //BA.debugLineNum = 12976132;BA.debugLine="For i = 0 To Keys.Size - 1"; { final int step4 = 1; final int limit4 = (int) (_keys.getSize()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 43;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; -_m._put /*String*/ (_keys.Get(_i),_values.Get(_i)); +RDebugUtils.currentLine=12976133; + //BA.debugLineNum = 12976133;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; +_m._put /*String*/ (null,_keys.Get(_i),_values.Get(_i)); } }; }; - //BA.debugLineNum = 46;BA.debugLine="Return m"; +RDebugUtils.currentLine=12976136; + //BA.debugLineNum = 12976136;BA.debugLine="Return m"; if (true) return _m; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12976137; + //BA.debugLineNum = 12976137;BA.debugLine="End Sub"; return null; } public static gunav2.keymon.com.mx.b4xset _createset(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub CreateSet As B4XSet"; - //BA.debugLineNum = 10;BA.debugLine="Return CreateSet2(Null)"; +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createset", true)) + {return ((gunav2.keymon.com.mx.b4xset) Debug.delegate(null, "createset", new Object[] {_ba}));} +RDebugUtils.currentLine=12779520; + //BA.debugLineNum = 12779520;BA.debugLine="Public Sub CreateSet As B4XSet"; +RDebugUtils.currentLine=12779521; + //BA.debugLineNum = 12779521;BA.debugLine="Return CreateSet2(Null)"; if (true) return _createset2(_ba,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null))); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12779522; + //BA.debugLineNum = 12779522;BA.debugLine="End Sub"; return null; } public static gunav2.keymon.com.mx.b4xset _createset2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createset2", true)) + {return ((gunav2.keymon.com.mx.b4xset) Debug.delegate(null, "createset2", new Object[] {_ba,_values}));} gunav2.keymon.com.mx.b4xset _s = null; Object _v = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; - //BA.debugLineNum = 17;BA.debugLine="Dim s As B4XSet"; +RDebugUtils.currentLine=12845056; + //BA.debugLineNum = 12845056;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; +RDebugUtils.currentLine=12845057; + //BA.debugLineNum = 12845057;BA.debugLine="Dim s As B4XSet"; _s = new gunav2.keymon.com.mx.b4xset(); - //BA.debugLineNum = 18;BA.debugLine="s.Initialize"; -_s._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 19;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; +RDebugUtils.currentLine=12845058; + //BA.debugLineNum = 12845058;BA.debugLine="s.Initialize"; +_s._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=12845059; + //BA.debugLineNum = 12845059;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; if (_values!= null && _values.IsInitialized()) { - //BA.debugLineNum = 20;BA.debugLine="For Each v As Object In Values"; +RDebugUtils.currentLine=12845060; + //BA.debugLineNum = 12845060;BA.debugLine="For Each v As Object In Values"; { final anywheresoftware.b4a.BA.IterableList group4 = _values; final int groupLen4 = group4.getSize() @@ -93,19 +133,17 @@ final int groupLen4 = group4.getSize() ; for (; index4 < groupLen4;index4++){ _v = group4.Get(index4); - //BA.debugLineNum = 21;BA.debugLine="s.Add(v)"; -_s._add /*String*/ (_v); +RDebugUtils.currentLine=12845061; + //BA.debugLineNum = 12845061;BA.debugLine="s.Add(v)"; +_s._add /*String*/ (null,_v); } }; }; - //BA.debugLineNum = 24;BA.debugLine="Return s"; +RDebugUtils.currentLine=12845064; + //BA.debugLineNum = 12845064;BA.debugLine="Return s"; if (true) return _s; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +RDebugUtils.currentLine=12845065; + //BA.debugLineNum = 12845065;BA.debugLine="End Sub"; return null; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcolortemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcolortemplate.java index 8ca5b9e..0eac140 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcolortemplate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcolortemplate.java @@ -10,7 +10,7 @@ public class b4xcolortemplate extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xcolortemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xcolortemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,33 @@ public class b4xcolortemplate extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public static class _colorpickerpart{ +public boolean IsInitialized; +public anywheresoftware.b4a.objects.B4XCanvas cvs; +public anywheresoftware.b4a.objects.B4XViewWrapper pnl; +public anywheresoftware.b4a.objects.B4XViewWrapper iv; +public anywheresoftware.b4a.objects.B4XCanvas checkersCanvas; +public boolean DrawCheckers; +public void Initialize() { +IsInitialized = true; +cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +checkersCanvas = new anywheresoftware.b4a.objects.B4XCanvas(); +DrawCheckers = false; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public int _selectedalpha = 0; @@ -46,162 +72,436 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _colorpickerpart{ -public boolean IsInitialized; -public anywheresoftware.b4a.objects.B4XCanvas cvs; -public anywheresoftware.b4a.objects.B4XViewWrapper pnl; -public anywheresoftware.b4a.objects.B4XViewWrapper iv; -public anywheresoftware.b4a.objects.B4XCanvas checkersCanvas; -public boolean DrawCheckers; -public void Initialize() { -IsInitialized = true; -cvs = new anywheresoftware.b4a.objects.B4XCanvas(); -pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -checkersCanvas = new anywheresoftware.b4a.objects.B4XCanvas(); -DrawCheckers = false; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _alpha_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 263;BA.debugLine="Private Sub Alpha_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 264;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { +public String _alpha_touch(gunav2.keymon.com.mx.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "alpha_touch", true)) + {return ((String) Debug.delegate(ba, "alpha_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=25100288; + //BA.debugLineNum = 25100288;BA.debugLine="Private Sub Alpha_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=25100289; + //BA.debugLineNum = 25100289;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +if (_action==__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE_NOTOUCH) { if (true) return "";}; - //BA.debugLineNum = 265;BA.debugLine="AlphaBarSelectedChange(x)"; -_alphabarselectedchange(_x); - //BA.debugLineNum = 266;BA.debugLine="End Sub"; +RDebugUtils.currentLine=25100290; + //BA.debugLineNum = 25100290;BA.debugLine="AlphaBarSelectedChange(x)"; +__ref._alphabarselectedchange /*String*/ (null,_x); +RDebugUtils.currentLine=25100291; + //BA.debugLineNum = 25100291;BA.debugLine="End Sub"; return ""; } -public String _alphabarselectedchange(float _x) throws Exception{ +public String _alphabarselectedchange(gunav2.keymon.com.mx.b4xcolortemplate __ref,float _x) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "alphabarselectedchange", true)) + {return ((String) Debug.delegate(ba, "alphabarselectedchange", new Object[] {_x}));} anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 147;BA.debugLine="Private Sub AlphaBarSelectedChange(x As Float)"; - //BA.debugLineNum = 148;BA.debugLine="SelectedAlpha = 255 * Max(0, Min(1, x / AlphaBar."; -_selectedalpha = (int) (255*__c.Max(0,__c.Min(1,_x/(double)_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); - //BA.debugLineNum = 149;BA.debugLine="x = SelectedAlpha / 255 * AlphaBar.pnl.Width"; -_x = (float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); - //BA.debugLineNum = 150;BA.debugLine="AlphaBar.cvs.ClearRect(AlphaBar.cvs.TargetRect)"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 151;BA.debugLine="Dim r As B4XRect"; +RDebugUtils.currentLine=24182784; + //BA.debugLineNum = 24182784;BA.debugLine="Private Sub AlphaBarSelectedChange(x As Float)"; +RDebugUtils.currentLine=24182785; + //BA.debugLineNum = 24182785;BA.debugLine="SelectedAlpha = 255 * Max(0, Min(1, x / AlphaBar."; +__ref._selectedalpha /*int*/ = (int) (255*__c.Max(0,__c.Min(1,_x/(double)__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); +RDebugUtils.currentLine=24182786; + //BA.debugLineNum = 24182786;BA.debugLine="x = SelectedAlpha / 255 * AlphaBar.pnl.Width"; +_x = (float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=24182787; + //BA.debugLineNum = 24182787;BA.debugLine="AlphaBar.cvs.ClearRect(AlphaBar.cvs.TargetRect)"; +__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=24182788; + //BA.debugLineNum = 24182788;BA.debugLine="Dim r As B4XRect"; _r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 152;BA.debugLine="r.Initialize(x - 3dip, 1dip, x + 3dip, AlphaBar.c"; -_r.Initialize((float) (_x-__c.DipToCurrent((int) (3))),(float) (__c.DipToCurrent((int) (1))),(float) (_x+__c.DipToCurrent((int) (3))),(float) (_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1)))); - //BA.debugLineNum = 153;BA.debugLine="AlphaBar.cvs.DrawRect(r, xui.Color_Black, True, 2"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_xui.Color_Black,__c.True,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 154;BA.debugLine="AlphaBar.cvs.Invalidate"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 155;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 156;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24182789; + //BA.debugLineNum = 24182789;BA.debugLine="r.Initialize(x - 3dip, 1dip, x + 3dip, AlphaBar.c"; +_r.Initialize((float) (_x-__c.DipToCurrent((int) (3))),(float) (__c.DipToCurrent((int) (1))),(float) (_x+__c.DipToCurrent((int) (3))),(float) (__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1)))); +RDebugUtils.currentLine=24182790; + //BA.debugLineNum = 24182790;BA.debugLine="AlphaBar.cvs.DrawRect(r, xui.Color_Black, True, 2"; +__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black,__c.True,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=24182791; + //BA.debugLineNum = 24182791;BA.debugLine="AlphaBar.cvs.Invalidate"; +__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=24182792; + //BA.debugLineNum = 24182792;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=24182793; + //BA.debugLineNum = 24182793;BA.debugLine="End Sub"; return ""; } -public String _base_resize(double _width,double _height) throws Exception{ +public String _update(gunav2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +RDebugUtils.currentLine=24248320; + //BA.debugLineNum = 24248320;BA.debugLine="Private Sub Update"; +RDebugUtils.currentLine=24248321; + //BA.debugLineNum = 24248321;BA.debugLine="DrawColors"; +__ref._drawcolors /*String*/ (null); +RDebugUtils.currentLine=24248322; + //BA.debugLineNum = 24248322;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; +__ref._handleselectedcolorchanged /*String*/ (null,__ref._dont_change /*int*/ ,__ref._dont_change /*int*/ ); +RDebugUtils.currentLine=24248323; + //BA.debugLineNum = 24248323;BA.debugLine="End Sub"; +return ""; +} +public String _base_resize(gunav2.keymon.com.mx.b4xcolortemplate __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} int _r = 0; int _w = 0; gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp = null; int _i = 0; - //BA.debugLineNum = 51;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 53;BA.debugLine="ColorScale = Max(1, Max(Width, Height) / 100 / De"; -_colorscale = (float) (__c.Max(1,__c.Max(_width,_height)/(double)100/(double)_devicescale)); - //BA.debugLineNum = 54;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; -_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (30)),(int) (_height-__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 55;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; -_r = (int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft()+__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 56;BA.debugLine="Dim w As Int = Width - r - 1dip"; +RDebugUtils.currentLine=23789568; + //BA.debugLineNum = 23789568;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=23789570; + //BA.debugLineNum = 23789570;BA.debugLine="ColorScale = Max(1, Max(Width, Height) / 100 / De"; +__ref._colorscale /*float*/ = (float) (__c.Max(1,__c.Max(_width,_height)/(double)100/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=23789571; + //BA.debugLineNum = 23789571;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; +__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (30)),(int) (_height-__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=23789572; + //BA.debugLineNum = 23789572;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; +_r = (int) (__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft()+__c.DipToCurrent((int) (1))); +RDebugUtils.currentLine=23789573; + //BA.debugLineNum = 23789573;BA.debugLine="Dim w As Int = Width - r - 1dip"; _w = (int) (_width-_r-__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 57;BA.debugLine="If xui.IsB4i Then"; -if (_xui.getIsB4i()) { - //BA.debugLineNum = 58;BA.debugLine="r = r - 1"; +RDebugUtils.currentLine=23789574; + //BA.debugLineNum = 23789574;BA.debugLine="If xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=23789575; + //BA.debugLineNum = 23789575;BA.debugLine="r = r - 1"; _r = (int) (_r-1); - //BA.debugLineNum = 59;BA.debugLine="w = w + 1"; +RDebugUtils.currentLine=23789576; + //BA.debugLineNum = 23789576;BA.debugLine="w = w + 1"; _w = (int) (_w+1); }; - //BA.debugLineNum = 61;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; -_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,(int) (_height-__c.DipToCurrent((int) (31))),_w,__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 62;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; -_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,__c.DipToCurrent((int) (1)),_w,(int) (_height-__c.DipToCurrent((int) (3))-_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 63;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; -_bccolors._initialize(ba,(int) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_colorscale),(int) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_colorscale)); - //BA.debugLineNum = 64;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; +RDebugUtils.currentLine=23789578; + //BA.debugLineNum = 23789578;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; +__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,(int) (_height-__c.DipToCurrent((int) (31))),_w,__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=23789579; + //BA.debugLineNum = 23789579;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; +__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,__c.DipToCurrent((int) (1)),_w,(int) (_height-__c.DipToCurrent((int) (3))-__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=23789580; + //BA.debugLineNum = 23789580;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; +__ref._bccolors /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._colorscale /*float*/ ),(int) (__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._colorscale /*float*/ )); +RDebugUtils.currentLine=23789581; + //BA.debugLineNum = 23789581;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; { -final Object[] group12 = new Object[]{(Object)(_huebar),(Object)(_colorpicker),(Object)(_alphabar)}; +final Object[] group12 = new Object[]{(Object)(__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ ),(Object)(__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ ),(Object)(__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ )}; final int groupLen12 = group12.length ;int index12 = 0; ; for (; index12 < groupLen12;index12++){ _cpp = (gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart)(group12[index12]); - //BA.debugLineNum = 65;BA.debugLine="For i = 0 To cpp.pnl.NumberOfViews - 1"; +RDebugUtils.currentLine=23789582; + //BA.debugLineNum = 23789582;BA.debugLine="For i = 0 To cpp.pnl.NumberOfViews - 1"; { final int step13 = 1; final int limit13 = (int) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1); _i = (int) (0) ; for (;_i <= limit13 ;_i = _i + step13 ) { - //BA.debugLineNum = 66;BA.debugLine="cpp.pnl.GetView(i).SetLayoutAnimated(0, 0, 0, c"; +RDebugUtils.currentLine=23789583; + //BA.debugLineNum = 23789583;BA.debugLine="cpp.pnl.GetView(i).SetLayoutAnimated(0, 0, 0, c"; _cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_i).SetLayoutAnimated((int) (0),(int) (0),(int) (0),_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); } }; - //BA.debugLineNum = 68;BA.debugLine="cpp.cvs.Resize(cpp.pnl.Width, cpp.pnl.Height)"; +RDebugUtils.currentLine=23789585; + //BA.debugLineNum = 23789585;BA.debugLine="cpp.cvs.Resize(cpp.pnl.Width, cpp.pnl.Height)"; _cpp.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 69;BA.debugLine="If cpp.DrawCheckers Then"; +RDebugUtils.currentLine=23789586; + //BA.debugLineNum = 23789586;BA.debugLine="If cpp.DrawCheckers Then"; if (_cpp.DrawCheckers /*boolean*/ ) { - //BA.debugLineNum = 70;BA.debugLine="DrawCheckers(cpp)"; -_drawcheckers(_cpp); +RDebugUtils.currentLine=23789587; + //BA.debugLineNum = 23789587;BA.debugLine="DrawCheckers(cpp)"; +__ref._drawcheckers /*String*/ (null,_cpp); }; } }; - //BA.debugLineNum = 73;BA.debugLine="DrawHueBar"; -_drawhuebar(); - //BA.debugLineNum = 74;BA.debugLine="DrawAlphaBar"; -_drawalphabar(); - //BA.debugLineNum = 75;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; -_huebarselectedchanged((float) (_selectedh/(double)360*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 76;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; -_alphabarselectedchange((float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); - //BA.debugLineNum = 77;BA.debugLine="End Sub"; +RDebugUtils.currentLine=23789590; + //BA.debugLineNum = 23789590;BA.debugLine="DrawHueBar"; +__ref._drawhuebar /*String*/ (null); +RDebugUtils.currentLine=23789591; + //BA.debugLineNum = 23789591;BA.debugLine="DrawAlphaBar"; +__ref._drawalphabar /*String*/ (null); +RDebugUtils.currentLine=23789592; + //BA.debugLineNum = 23789592;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; +__ref._huebarselectedchanged /*String*/ (null,(float) (__ref._selectedh /*float*/ /(double)360*__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=23789593; + //BA.debugLineNum = 23789593;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; +__ref._alphabarselectedchange /*String*/ (null,(float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); +RDebugUtils.currentLine=23789594; + //BA.debugLineNum = 23789594;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Public mBase As B4XView 'ignore"; +public String _drawcheckers(gunav2.keymon.com.mx.b4xcolortemplate __ref,gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawcheckers", true)) + {return ((String) Debug.delegate(ba, "drawcheckers", new Object[] {_cpp}));} +int _size = 0; +int[] _clrs = null; +int _clr = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +int _x = 0; +int _xx = 0; +int _y = 0; +RDebugUtils.currentLine=23855104; + //BA.debugLineNum = 23855104;BA.debugLine="Private Sub DrawCheckers (cpp As ColorPickerPart)"; +RDebugUtils.currentLine=23855105; + //BA.debugLineNum = 23855105;BA.debugLine="cpp.checkersCanvas.Resize(cpp.pnl.Width, cpp.pnl."; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=23855106; + //BA.debugLineNum = 23855106;BA.debugLine="cpp.checkersCanvas.ClearRect(cpp.checkersCanvas.T"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=23855107; + //BA.debugLineNum = 23855107;BA.debugLine="Dim size As Int = 10dip"; +_size = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=23855108; + //BA.debugLineNum = 23855108;BA.debugLine="Dim clrs() As Int = Array As Int(0xFFC0C0C0, 0xFF"; +_clrs = new int[]{((int)0xffc0c0c0),((int)0xff757575)}; +RDebugUtils.currentLine=23855109; + //BA.debugLineNum = 23855109;BA.debugLine="Dim clr As Int = 0"; +_clr = (int) (0); +RDebugUtils.currentLine=23855110; + //BA.debugLineNum = 23855110;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=23855111; + //BA.debugLineNum = 23855111;BA.debugLine="For x = 0 To cpp.checkersCanvas.TargetRect.Right"; +{ +final int step7 = _size; +final int limit7 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight()-__c.DipToCurrent((int) (1))); +_x = (int) (0) ; +for (;(step7 > 0 && _x <= limit7) || (step7 < 0 && _x >= limit7) ;_x = ((int)(0 + _x + step7)) ) { +RDebugUtils.currentLine=23855112; + //BA.debugLineNum = 23855112;BA.debugLine="Dim xx As Int = x / size"; +_xx = (int) (_x/(double)_size); +RDebugUtils.currentLine=23855113; + //BA.debugLineNum = 23855113;BA.debugLine="clr = xx Mod 2"; +_clr = (int) (_xx%2); +RDebugUtils.currentLine=23855114; + //BA.debugLineNum = 23855114;BA.debugLine="For y = 0 To cpp.checkersCanvas.TargetRect.Botto"; +{ +final int step10 = _size; +final int limit10 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1))); +_y = (int) (0) ; +for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { +RDebugUtils.currentLine=23855115; + //BA.debugLineNum = 23855115;BA.debugLine="clr = (clr + 1) Mod 2"; +_clr = (int) ((_clr+1)%2); +RDebugUtils.currentLine=23855116; + //BA.debugLineNum = 23855116;BA.debugLine="r.Initialize(x, y, x + size, y + size)"; +_r.Initialize((float) (_x),(float) (_y),(float) (_x+_size),(float) (_y+_size)); +RDebugUtils.currentLine=23855117; + //BA.debugLineNum = 23855117;BA.debugLine="cpp.checkersCanvas.DrawRect(r, clrs(clr), True,"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_clrs[_clr],__c.True,(float) (0)); + } +}; + } +}; +RDebugUtils.currentLine=23855120; + //BA.debugLineNum = 23855120;BA.debugLine="cpp.checkersCanvas.Invalidate"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=23855121; + //BA.debugLineNum = 23855121;BA.debugLine="End Sub"; +return ""; +} +public String _drawhuebar(gunav2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawhuebar", true)) + {return ((String) Debug.delegate(ba, "drawhuebar", null));} +b4a.example.bitmapcreator _bchue = null; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=23920640; + //BA.debugLineNum = 23920640;BA.debugLine="Private Sub DrawHueBar"; +RDebugUtils.currentLine=23920641; + //BA.debugLineNum = 23920641;BA.debugLine="Dim bcHue As BitmapCreator"; +_bchue = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=23920642; + //BA.debugLineNum = 23920642;BA.debugLine="bcHue.Initialize(HueBar.pnl.Width / DeviceScale,"; +_bchue._initialize(ba,(int) (__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._devicescale /*float*/ ),(int) (__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=23920643; + //BA.debugLineNum = 23920643;BA.debugLine="For y = 0 To bcHue.mHeight - 1"; +{ +final int step3 = 1; +final int limit3 = (int) (_bchue._mheight-1); +_y = (int) (0) ; +for (;_y <= limit3 ;_y = _y + step3 ) { +RDebugUtils.currentLine=23920644; + //BA.debugLineNum = 23920644;BA.debugLine="For x = 0 To bcHue.mWidth - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_bchue._mwidth-1); +_x = (int) (0) ; +for (;_x <= limit4 ;_x = _x + step4 ) { +RDebugUtils.currentLine=23920645; + //BA.debugLineNum = 23920645;BA.debugLine="bcHue.SetHSV(x, y, 255, 360 / bcHue.mHeight * y"; +_bchue._sethsv(_x,_y,(int) (255),(int) (360/(double)_bchue._mheight*_y),(float) (1),(float) (1)); + } +}; + } +}; +RDebugUtils.currentLine=23920648; + //BA.debugLineNum = 23920648;BA.debugLine="HueBar.iv.SetBitmap(bcHue.Bitmap)"; +__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bchue._getbitmap().getObject())); +RDebugUtils.currentLine=23920649; + //BA.debugLineNum = 23920649;BA.debugLine="End Sub"; +return ""; +} +public String _drawalphabar(gunav2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawalphabar", true)) + {return ((String) Debug.delegate(ba, "drawalphabar", null));} +b4a.example.bitmapcreator _bc = null; +b4a.example.bitmapcreator._argbcolor _argb = null; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=23986176; + //BA.debugLineNum = 23986176;BA.debugLine="Private Sub DrawAlphaBar"; +RDebugUtils.currentLine=23986177; + //BA.debugLineNum = 23986177;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=23986178; + //BA.debugLineNum = 23986178;BA.debugLine="bc.Initialize(AlphaBar.pnl.Width / DeviceScale, A"; +_bc._initialize(ba,(int) (__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._devicescale /*float*/ ),(int) (__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=23986179; + //BA.debugLineNum = 23986179;BA.debugLine="Dim argb As ARGBColor"; +_argb = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=23986180; + //BA.debugLineNum = 23986180;BA.debugLine="argb.r = 0xcc"; +_argb.r = ((int)0xcc); +RDebugUtils.currentLine=23986181; + //BA.debugLineNum = 23986181;BA.debugLine="argb.g = 0xcc"; +_argb.g = ((int)0xcc); +RDebugUtils.currentLine=23986182; + //BA.debugLineNum = 23986182;BA.debugLine="argb.b = 0xcc"; +_argb.b = ((int)0xcc); +RDebugUtils.currentLine=23986184; + //BA.debugLineNum = 23986184;BA.debugLine="For y = 0 To bc.mHeight - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (_bc._mheight-1); +_y = (int) (0) ; +for (;_y <= limit7 ;_y = _y + step7 ) { +RDebugUtils.currentLine=23986185; + //BA.debugLineNum = 23986185;BA.debugLine="For x = 0 To bc.mWidth - 1"; +{ +final int step8 = 1; +final int limit8 = (int) (_bc._mwidth-1); +_x = (int) (0) ; +for (;_x <= limit8 ;_x = _x + step8 ) { +RDebugUtils.currentLine=23986186; + //BA.debugLineNum = 23986186;BA.debugLine="argb.a = x / bc.mWidth * 255"; +_argb.a = (int) (_x/(double)_bc._mwidth*255); +RDebugUtils.currentLine=23986187; + //BA.debugLineNum = 23986187;BA.debugLine="bc.SetARGB(x, y, argb)"; +_bc._setargb(_x,_y,_argb); + } +}; + } +}; +RDebugUtils.currentLine=23986190; + //BA.debugLineNum = 23986190;BA.debugLine="AlphaBar.iv.SetBitmap(bc.Bitmap)"; +__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bc._getbitmap().getObject())); +RDebugUtils.currentLine=23986191; + //BA.debugLineNum = 23986191;BA.debugLine="End Sub"; +return ""; +} +public String _huebarselectedchanged(gunav2.keymon.com.mx.b4xcolortemplate __ref,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "huebarselectedchanged", true)) + {return ((String) Debug.delegate(ba, "huebarselectedchanged", new Object[] {_y}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=24117248; + //BA.debugLineNum = 24117248;BA.debugLine="Private Sub HueBarSelectedChanged (y As Float)"; +RDebugUtils.currentLine=24117249; + //BA.debugLineNum = 24117249;BA.debugLine="selectedH = Max(0, Min(360, 360 * y / HueBar.pnl."; +__ref._selectedh /*float*/ = (float) (__c.Max(0,__c.Min(360,360*_y/(double)__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); +RDebugUtils.currentLine=24117250; + //BA.debugLineNum = 24117250;BA.debugLine="y = selectedH * HueBar.pnl.Height / 360"; +_y = (float) (__ref._selectedh /*float*/ *__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)360); +RDebugUtils.currentLine=24117251; + //BA.debugLineNum = 24117251;BA.debugLine="HueBar.cvs.ClearRect(HueBar.cvs.TargetRect)"; +__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=24117252; + //BA.debugLineNum = 24117252;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=24117253; + //BA.debugLineNum = 24117253;BA.debugLine="r.Initialize(0, y - 3dip, HueBar.cvs.TargetRect.R"; +_r.Initialize((float) (0),(float) (_y-__c.DipToCurrent((int) (3))),__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight(),(float) (_y+__c.DipToCurrent((int) (3)))); +RDebugUtils.currentLine=24117254; + //BA.debugLineNum = 24117254;BA.debugLine="HueBar.cvs.DrawRect(r, xui.Color_White, False, 2d"; +__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=24117255; + //BA.debugLineNum = 24117255;BA.debugLine="HueBar.cvs.Invalidate"; +__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=24117256; + //BA.debugLineNum = 24117256;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=24117257; + //BA.debugLineNum = 24117257;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +RDebugUtils.currentLine=23592960; + //BA.debugLineNum = 23592960;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=23592961; + //BA.debugLineNum = 23592961;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=23592962; + //BA.debugLineNum = 23592962;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private SelectedAlpha As Int = 255"; +RDebugUtils.currentLine=23592963; + //BA.debugLineNum = 23592963;BA.debugLine="Private SelectedAlpha As Int = 255"; _selectedalpha = (int) (255); - //BA.debugLineNum = 5;BA.debugLine="Private bcColors As BitmapCreator"; +RDebugUtils.currentLine=23592964; + //BA.debugLineNum = 23592964;BA.debugLine="Private bcColors As BitmapCreator"; _bccolors = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 6;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; +RDebugUtils.currentLine=23592965; + //BA.debugLineNum = 23592965;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; _selectedh = (float) (60); _selecteds = (float) (0.5); _selectedv = (float) (0.5); - //BA.debugLineNum = 7;BA.debugLine="Private DeviceScale, ColorScale As Float"; +RDebugUtils.currentLine=23592966; + //BA.debugLineNum = 23592966;BA.debugLine="Private DeviceScale, ColorScale As Float"; _devicescale = 0f; _colorscale = 0f; - //BA.debugLineNum = 8;BA.debugLine="Private tempBC As BitmapCreator"; +RDebugUtils.currentLine=23592967; + //BA.debugLineNum = 23592967;BA.debugLine="Private tempBC As BitmapCreator"; _tempbc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 9;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; +RDebugUtils.currentLine=23592968; + //BA.debugLineNum = 23592968;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; _dont_change = (int) (-999999999); - //BA.debugLineNum = 10;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; +RDebugUtils.currentLine=23592969; + //BA.debugLineNum = 23592969;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; ; - //BA.debugLineNum = 11;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; +RDebugUtils.currentLine=23592970; + //BA.debugLineNum = 23592970;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; _huebar = new gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart(); _colorpicker = new gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart(); _alphabar = new gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart(); - //BA.debugLineNum = 12;BA.debugLine="Private BordersColor As Int"; +RDebugUtils.currentLine=23592971; + //BA.debugLineNum = 23592971;BA.debugLine="Private BordersColor As Int"; _borderscolor = 0; - //BA.debugLineNum = 13;BA.debugLine="Private xDialog As B4XDialog"; +RDebugUtils.currentLine=23592972; + //BA.debugLineNum = 23592972;BA.debugLine="Private xDialog As B4XDialog"; _xdialog = new gunav2.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 14;BA.debugLine="Private InitialColor() As Object"; +RDebugUtils.currentLine=23592973; + //BA.debugLineNum = 23592973;BA.debugLine="Private InitialColor() As Object"; _initialcolor = new Object[(int) (0)]; { int d0 = _initialcolor.length; @@ -210,20 +510,66 @@ _initialcolor[i0] = new Object(); } } ; - //BA.debugLineNum = 15;BA.debugLine="End Sub"; +RDebugUtils.currentLine=23592974; + //BA.debugLineNum = 23592974;BA.debugLine="End Sub"; return ""; } -public String _colors_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Private Sub Colors_Touch (Action As Int, X As Floa"; - //BA.debugLineNum = 254;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { +public String _colors_touch(gunav2.keymon.com.mx.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "colors_touch", true)) + {return ((String) Debug.delegate(ba, "colors_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=24969216; + //BA.debugLineNum = 24969216;BA.debugLine="Private Sub Colors_Touch (Action As Int, X As Floa"; +RDebugUtils.currentLine=24969217; + //BA.debugLineNum = 24969217;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +if (_action==__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE_NOTOUCH) { if (true) return "";}; - //BA.debugLineNum = 255;BA.debugLine="HandleSelectedColorChanged(X, Y)"; -_handleselectedcolorchanged((int) (_x),(int) (_y)); - //BA.debugLineNum = 256;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24969218; + //BA.debugLineNum = 24969218;BA.debugLine="HandleSelectedColorChanged(X, Y)"; +__ref._handleselectedcolorchanged /*String*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=24969219; + //BA.debugLineNum = 24969219;BA.debugLine="End Sub"; return ""; } -public Object[] _colortohsv(int _clr) throws Exception{ +public String _handleselectedcolorchanged(gunav2.keymon.com.mx.b4xcolortemplate __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "handleselectedcolorchanged", true)) + {return ((String) Debug.delegate(ba, "handleselectedcolorchanged", new Object[] {_x,_y}));} +RDebugUtils.currentLine=24313856; + //BA.debugLineNum = 24313856;BA.debugLine="Private Sub HandleSelectedColorChanged (x As Int,"; +RDebugUtils.currentLine=24313857; + //BA.debugLineNum = 24313857;BA.debugLine="If x <> DONT_CHANGE Then"; +if (_x!=__ref._dont_change /*int*/ ) { +RDebugUtils.currentLine=24313858; + //BA.debugLineNum = 24313858;BA.debugLine="selectedS = Max(0, Min(1, x / ColorPicker.pnl.Wi"; +__ref._selecteds /*float*/ = (float) (__c.Max(0,__c.Min(1,_x/(double)__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); +RDebugUtils.currentLine=24313859; + //BA.debugLineNum = 24313859;BA.debugLine="selectedV = Max(0, Min(1, (ColorPicker.pnl.Heigh"; +__ref._selectedv /*float*/ = (float) (__c.Max(0,__c.Min(1,(__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_y)/(double)__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); + }; +RDebugUtils.currentLine=24313861; + //BA.debugLineNum = 24313861;BA.debugLine="ColorPicker.cvs.ClearRect(ColorPicker.cvs.TargetR"; +__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=24313862; + //BA.debugLineNum = 24313862;BA.debugLine="ColorPicker.cvs.DrawCircle(selectedS * ColorPicke"; +__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (__ref._selecteds /*float*/ *__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._selectedv /*float*/ *__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()),(float) (__c.DipToCurrent((int) (10))),__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=24313864; + //BA.debugLineNum = 24313864;BA.debugLine="ColorPicker.cvs.Invalidate"; +__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=24313865; + //BA.debugLineNum = 24313865;BA.debugLine="UpdateBarColor"; +__ref._updatebarcolor /*String*/ (null); +RDebugUtils.currentLine=24313866; + //BA.debugLineNum = 24313866;BA.debugLine="End Sub"; +return ""; +} +public Object[] _colortohsv(gunav2.keymon.com.mx.b4xcolortemplate __ref,int _clr) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "colortohsv", true)) + {return ((Object[]) Debug.delegate(ba, "colortohsv", new Object[] {_clr}));} int _a = 0; int _r = 0; int _g = 0; @@ -236,413 +582,404 @@ int _cmin = 0; float _rc = 0f; float _gc = 0f; float _bc = 0f; - //BA.debugLineNum = 199;BA.debugLine="Public Sub ColorToHSV(clr As Int) As Object()"; - //BA.debugLineNum = 200;BA.debugLine="Dim a As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +RDebugUtils.currentLine=24641536; + //BA.debugLineNum = 24641536;BA.debugLine="Public Sub ColorToHSV(clr As Int) As Object()"; +RDebugUtils.currentLine=24641537; + //BA.debugLineNum = 24641537;BA.debugLine="Dim a As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; _a = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (24))); - //BA.debugLineNum = 201;BA.debugLine="Dim r As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +RDebugUtils.currentLine=24641538; + //BA.debugLineNum = 24641538;BA.debugLine="Dim r As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; _r = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (16))); - //BA.debugLineNum = 202;BA.debugLine="Dim g As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +RDebugUtils.currentLine=24641539; + //BA.debugLineNum = 24641539;BA.debugLine="Dim g As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; _g = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (8))); - //BA.debugLineNum = 203;BA.debugLine="Dim b As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +RDebugUtils.currentLine=24641540; + //BA.debugLineNum = 24641540;BA.debugLine="Dim b As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; _b = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (0))); - //BA.debugLineNum = 204;BA.debugLine="Dim h, s, v As Float"; +RDebugUtils.currentLine=24641541; + //BA.debugLineNum = 24641541;BA.debugLine="Dim h, s, v As Float"; _h = 0f; _s = 0f; _v = 0f; - //BA.debugLineNum = 205;BA.debugLine="Dim cmax As Int = Max(Max(r, g), b)"; +RDebugUtils.currentLine=24641542; + //BA.debugLineNum = 24641542;BA.debugLine="Dim cmax As Int = Max(Max(r, g), b)"; _cmax = (int) (__c.Max(__c.Max(_r,_g),_b)); - //BA.debugLineNum = 206;BA.debugLine="Dim cmin As Int = Min(Min(r, g), b)"; +RDebugUtils.currentLine=24641543; + //BA.debugLineNum = 24641543;BA.debugLine="Dim cmin As Int = Min(Min(r, g), b)"; _cmin = (int) (__c.Min(__c.Min(_r,_g),_b)); - //BA.debugLineNum = 207;BA.debugLine="v = cmax / 255"; +RDebugUtils.currentLine=24641544; + //BA.debugLineNum = 24641544;BA.debugLine="v = cmax / 255"; _v = (float) (_cmax/(double)255); - //BA.debugLineNum = 208;BA.debugLine="If cmax <> 0 Then"; +RDebugUtils.currentLine=24641545; + //BA.debugLineNum = 24641545;BA.debugLine="If cmax <> 0 Then"; if (_cmax!=0) { - //BA.debugLineNum = 209;BA.debugLine="s = (cmax - cmin) / cmax"; +RDebugUtils.currentLine=24641546; + //BA.debugLineNum = 24641546;BA.debugLine="s = (cmax - cmin) / cmax"; _s = (float) ((_cmax-_cmin)/(double)_cmax); }; - //BA.debugLineNum = 211;BA.debugLine="If s = 0 Then"; +RDebugUtils.currentLine=24641548; + //BA.debugLineNum = 24641548;BA.debugLine="If s = 0 Then"; if (_s==0) { - //BA.debugLineNum = 212;BA.debugLine="h = 0"; +RDebugUtils.currentLine=24641549; + //BA.debugLineNum = 24641549;BA.debugLine="h = 0"; _h = (float) (0); }else { - //BA.debugLineNum = 214;BA.debugLine="Dim rc As Float = (cmax - r) / (cmax - cmin)"; +RDebugUtils.currentLine=24641551; + //BA.debugLineNum = 24641551;BA.debugLine="Dim rc As Float = (cmax - r) / (cmax - cmin)"; _rc = (float) ((_cmax-_r)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 215;BA.debugLine="Dim gc As Float = (cmax - g) / (cmax - cmin)"; +RDebugUtils.currentLine=24641552; + //BA.debugLineNum = 24641552;BA.debugLine="Dim gc As Float = (cmax - g) / (cmax - cmin)"; _gc = (float) ((_cmax-_g)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 216;BA.debugLine="Dim bc As Float = (cmax - b) / (cmax - cmin)"; +RDebugUtils.currentLine=24641553; + //BA.debugLineNum = 24641553;BA.debugLine="Dim bc As Float = (cmax - b) / (cmax - cmin)"; _bc = (float) ((_cmax-_b)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 217;BA.debugLine="If r = cmax Then"; +RDebugUtils.currentLine=24641554; + //BA.debugLineNum = 24641554;BA.debugLine="If r = cmax Then"; if (_r==_cmax) { - //BA.debugLineNum = 218;BA.debugLine="h = bc - gc"; +RDebugUtils.currentLine=24641555; + //BA.debugLineNum = 24641555;BA.debugLine="h = bc - gc"; _h = (float) (_bc-_gc); - }else if(_g==_cmax) { - //BA.debugLineNum = 220;BA.debugLine="h = 2 + rc - bc"; + }else +{RDebugUtils.currentLine=24641556; + //BA.debugLineNum = 24641556;BA.debugLine="Else If g = cmax Then"; +if (_g==_cmax) { +RDebugUtils.currentLine=24641557; + //BA.debugLineNum = 24641557;BA.debugLine="h = 2 + rc - bc"; _h = (float) (2+_rc-_bc); }else { - //BA.debugLineNum = 222;BA.debugLine="h = 4 + gc - rc"; +RDebugUtils.currentLine=24641559; + //BA.debugLineNum = 24641559;BA.debugLine="h = 4 + gc - rc"; _h = (float) (4+_gc-_rc); - }; - //BA.debugLineNum = 224;BA.debugLine="h = h / 6"; + }} +; +RDebugUtils.currentLine=24641561; + //BA.debugLineNum = 24641561;BA.debugLine="h = h / 6"; _h = (float) (_h/(double)6); - //BA.debugLineNum = 225;BA.debugLine="If h < 0 Then h = h + 1"; +RDebugUtils.currentLine=24641562; + //BA.debugLineNum = 24641562;BA.debugLine="If h < 0 Then h = h + 1"; if (_h<0) { _h = (float) (_h+1);}; }; - //BA.debugLineNum = 227;BA.debugLine="Return Array (h * 360, s, v, a)"; +RDebugUtils.currentLine=24641564; + //BA.debugLineNum = 24641564;BA.debugLine="Return Array (h * 360, s, v, a)"; if (true) return new Object[]{(Object)(_h*360),(Object)(_s),(Object)(_v),(Object)(_a)}; - //BA.debugLineNum = 228;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24641565; + //BA.debugLineNum = 24641565;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart _createpanelforbitmapcreator(String _eventname,boolean _withcheckers) throws Exception{ +public gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart _createpanelforbitmapcreator(gunav2.keymon.com.mx.b4xcolortemplate __ref,String _eventname,boolean _withcheckers) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "createpanelforbitmapcreator", true)) + {return ((gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart) Debug.delegate(ba, "createpanelforbitmapcreator", new Object[] {_eventname,_withcheckers}));} gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp = null; anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; anywheresoftware.b4a.objects.B4XViewWrapper _overlay = null; - //BA.debugLineNum = 30;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; - //BA.debugLineNum = 31;BA.debugLine="Dim cpp As ColorPickerPart"; +RDebugUtils.currentLine=23724032; + //BA.debugLineNum = 23724032;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; +RDebugUtils.currentLine=23724033; + //BA.debugLineNum = 23724033;BA.debugLine="Dim cpp As ColorPickerPart"; _cpp = new gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart(); - //BA.debugLineNum = 32;BA.debugLine="cpp.Initialize"; +RDebugUtils.currentLine=23724034; + //BA.debugLineNum = 23724034;BA.debugLine="cpp.Initialize"; _cpp.Initialize(); - //BA.debugLineNum = 33;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 34;BA.debugLine="cpp.pnl.SetColorAndBorder(BordersColor, 1dip, Bor"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(_borderscolor,__c.DipToCurrent((int) (1)),_borderscolor,(int) (0)); - //BA.debugLineNum = 35;BA.debugLine="cpp.pnl.SetLayoutAnimated(0, 1dip, 1dip, 1dip, 1d"; +RDebugUtils.currentLine=23724035; + //BA.debugLineNum = 23724035;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; +_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=23724036; + //BA.debugLineNum = 23724036;BA.debugLine="cpp.pnl.SetColorAndBorder(BordersColor, 1dip, Bor"; +_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._borderscolor /*int*/ ,__c.DipToCurrent((int) (1)),__ref._borderscolor /*int*/ ,(int) (0)); +RDebugUtils.currentLine=23724037; + //BA.debugLineNum = 23724037;BA.debugLine="cpp.pnl.SetLayoutAnimated(0, 1dip, 1dip, 1dip, 1d"; _cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 36;BA.debugLine="If WithCheckers Then"; +RDebugUtils.currentLine=23724038; + //BA.debugLineNum = 23724038;BA.debugLine="If WithCheckers Then"; if (_withcheckers) { - //BA.debugLineNum = 37;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; +RDebugUtils.currentLine=23724039; + //BA.debugLineNum = 23724039;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; _cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); - //BA.debugLineNum = 38;BA.debugLine="cpp.DrawCheckers = True"; +RDebugUtils.currentLine=23724040; + //BA.debugLineNum = 23724040;BA.debugLine="cpp.DrawCheckers = True"; _cpp.DrawCheckers /*boolean*/ = __c.True; }; - //BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=23724042; + //BA.debugLineNum = 23724042;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; +RDebugUtils.currentLine=23724043; + //BA.debugLineNum = 23724043;BA.debugLine="iv.Initialize(\"\")"; _iv.Initialize(ba,""); - //BA.debugLineNum = 42;BA.debugLine="cpp.iv = iv"; +RDebugUtils.currentLine=23724044; + //BA.debugLineNum = 23724044;BA.debugLine="cpp.iv = iv"; _cpp.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 43;BA.debugLine="Dim overlay As B4XView = xui.CreatePanel(EventNam"; +RDebugUtils.currentLine=23724045; + //BA.debugLineNum = 23724045;BA.debugLine="Dim overlay As B4XView = xui.CreatePanel(EventNam"; _overlay = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_overlay = _xui.CreatePanel(ba,_eventname); - //BA.debugLineNum = 44;BA.debugLine="cpp.pnl.AddView(iv, 0, 0, 0, 0)"; +_overlay = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,_eventname); +RDebugUtils.currentLine=23724046; + //BA.debugLineNum = 23724046;BA.debugLine="cpp.pnl.AddView(iv, 0, 0, 0, 0)"; _cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 45;BA.debugLine="cpp.pnl.AddView(overlay, 1dip, 1dip, 1dip, 1dip)"; +RDebugUtils.currentLine=23724047; + //BA.debugLineNum = 23724047;BA.debugLine="cpp.pnl.AddView(overlay, 1dip, 1dip, 1dip, 1dip)"; _cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_overlay.getObject()),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 46;BA.debugLine="cpp.cvs.Initialize(overlay)"; +RDebugUtils.currentLine=23724048; + //BA.debugLineNum = 23724048;BA.debugLine="cpp.cvs.Initialize(overlay)"; _cpp.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_overlay); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(cpp.pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="Return cpp"; +RDebugUtils.currentLine=23724049; + //BA.debugLineNum = 23724049;BA.debugLine="mBase.AddView(cpp.pnl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=23724050; + //BA.debugLineNum = 23724050;BA.debugLine="Return cpp"; if (true) return _cpp; - //BA.debugLineNum = 49;BA.debugLine="End Sub"; +RDebugUtils.currentLine=23724051; + //BA.debugLineNum = 23724051;BA.debugLine="End Sub"; return null; } -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 241;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 242;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; -if (_result!=_xui.DialogResponse_Positive) { - //BA.debugLineNum = 243;BA.debugLine="setSelectedHSVColor(InitialColor)"; -_setselectedhsvcolor(_initialcolor); +public String _dialogclosed(gunav2.keymon.com.mx.b4xcolortemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=24838144; + //BA.debugLineNum = 24838144;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=24838145; + //BA.debugLineNum = 24838145;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +if (_result!=__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=24838146; + //BA.debugLineNum = 24838146;BA.debugLine="setSelectedHSVColor(InitialColor)"; +__ref._setselectedhsvcolor /*String*/ (null,__ref._initialcolor /*Object[]*/ ); }; - //BA.debugLineNum = 245;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24838148; + //BA.debugLineNum = 24838148;BA.debugLine="End Sub"; return ""; } -public String _drawalphabar() throws Exception{ -b4a.example.bitmapcreator _bc = null; -b4a.example.bitmapcreator._argbcolor _argb = null; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 109;BA.debugLine="Private Sub DrawAlphaBar"; - //BA.debugLineNum = 110;BA.debugLine="Dim bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 111;BA.debugLine="bc.Initialize(AlphaBar.pnl.Width / DeviceScale, A"; -_bc._initialize(ba,(int) (_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_devicescale),(int) (_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_devicescale)); - //BA.debugLineNum = 112;BA.debugLine="Dim argb As ARGBColor"; -_argb = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 113;BA.debugLine="argb.r = 0xcc"; -_argb.r = ((int)0xcc); - //BA.debugLineNum = 114;BA.debugLine="argb.g = 0xcc"; -_argb.g = ((int)0xcc); - //BA.debugLineNum = 115;BA.debugLine="argb.b = 0xcc"; -_argb.b = ((int)0xcc); - //BA.debugLineNum = 117;BA.debugLine="For y = 0 To bc.mHeight - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_bc._mheight-1); -_y = (int) (0) ; -for (;_y <= limit7 ;_y = _y + step7 ) { - //BA.debugLineNum = 118;BA.debugLine="For x = 0 To bc.mWidth - 1"; -{ -final int step8 = 1; -final int limit8 = (int) (_bc._mwidth-1); -_x = (int) (0) ; -for (;_x <= limit8 ;_x = _x + step8 ) { - //BA.debugLineNum = 119;BA.debugLine="argb.a = x / bc.mWidth * 255"; -_argb.a = (int) (_x/(double)_bc._mwidth*255); - //BA.debugLineNum = 120;BA.debugLine="bc.SetARGB(x, y, argb)"; -_bc._setargb(_x,_y,_argb); - } -}; - } -}; - //BA.debugLineNum = 123;BA.debugLine="AlphaBar.iv.SetBitmap(bc.Bitmap)"; -_alphabar.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bc._getbitmap().getObject())); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; +public String _setselectedhsvcolor(gunav2.keymon.com.mx.b4xcolortemplate __ref,Object[] _hsv) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "setselectedhsvcolor", true)) + {return ((String) Debug.delegate(ba, "setselectedhsvcolor", new Object[] {_hsv}));} +RDebugUtils.currentLine=24576000; + //BA.debugLineNum = 24576000;BA.debugLine="Public Sub setSelectedHSVColor (HSV() As Object)"; +RDebugUtils.currentLine=24576001; + //BA.debugLineNum = 24576001;BA.debugLine="selectedH = HSV(0)"; +__ref._selectedh /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (0)])); +RDebugUtils.currentLine=24576002; + //BA.debugLineNum = 24576002;BA.debugLine="selectedS = HSV(1)"; +__ref._selecteds /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (1)])); +RDebugUtils.currentLine=24576003; + //BA.debugLineNum = 24576003;BA.debugLine="selectedV = HSV(2)"; +__ref._selectedv /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (2)])); +RDebugUtils.currentLine=24576004; + //BA.debugLineNum = 24576004;BA.debugLine="SelectedAlpha = HSV(3)"; +__ref._selectedalpha /*int*/ = (int)(BA.ObjectToNumber(_hsv[(int) (3)])); +RDebugUtils.currentLine=24576005; + //BA.debugLineNum = 24576005;BA.debugLine="HueBarSelectedChanged(selectedH / 360 * HueBar.pn"; +__ref._huebarselectedchanged /*String*/ (null,(float) (__ref._selectedh /*float*/ /(double)360*__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=24576006; + //BA.debugLineNum = 24576006;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; +__ref._alphabarselectedchange /*String*/ (null,(float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); +RDebugUtils.currentLine=24576007; + //BA.debugLineNum = 24576007;BA.debugLine="End Sub"; return ""; } -public String _drawcheckers(gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp) throws Exception{ -int _size = 0; -int[] _clrs = null; -int _clr = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -int _x = 0; -int _xx = 0; -int _y = 0; - //BA.debugLineNum = 79;BA.debugLine="Private Sub DrawCheckers (cpp As ColorPickerPart)"; - //BA.debugLineNum = 80;BA.debugLine="cpp.checkersCanvas.Resize(cpp.pnl.Width, cpp.pnl."; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 81;BA.debugLine="cpp.checkersCanvas.ClearRect(cpp.checkersCanvas.T"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 82;BA.debugLine="Dim size As Int = 10dip"; -_size = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 83;BA.debugLine="Dim clrs() As Int = Array As Int(0xFFC0C0C0, 0xFF"; -_clrs = new int[]{((int)0xffc0c0c0),((int)0xff757575)}; - //BA.debugLineNum = 84;BA.debugLine="Dim clr As Int = 0"; -_clr = (int) (0); - //BA.debugLineNum = 85;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 86;BA.debugLine="For x = 0 To cpp.checkersCanvas.TargetRect.Right"; -{ -final int step7 = _size; -final int limit7 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight()-__c.DipToCurrent((int) (1))); -_x = (int) (0) ; -for (;(step7 > 0 && _x <= limit7) || (step7 < 0 && _x >= limit7) ;_x = ((int)(0 + _x + step7)) ) { - //BA.debugLineNum = 87;BA.debugLine="Dim xx As Int = x / size"; -_xx = (int) (_x/(double)_size); - //BA.debugLineNum = 88;BA.debugLine="clr = xx Mod 2"; -_clr = (int) (_xx%2); - //BA.debugLineNum = 89;BA.debugLine="For y = 0 To cpp.checkersCanvas.TargetRect.Botto"; -{ -final int step10 = _size; -final int limit10 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1))); -_y = (int) (0) ; -for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { - //BA.debugLineNum = 90;BA.debugLine="clr = (clr + 1) Mod 2"; -_clr = (int) ((_clr+1)%2); - //BA.debugLineNum = 91;BA.debugLine="r.Initialize(x, y, x + size, y + size)"; -_r.Initialize((float) (_x),(float) (_y),(float) (_x+_size),(float) (_y+_size)); - //BA.debugLineNum = 92;BA.debugLine="cpp.checkersCanvas.DrawRect(r, clrs(clr), True,"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_clrs[_clr],__c.True,(float) (0)); - } -}; - } -}; - //BA.debugLineNum = 95;BA.debugLine="cpp.checkersCanvas.Invalidate"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return ""; -} -public String _drawcolors() throws Exception{ +public String _drawcolors(gunav2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawcolors", true)) + {return ((String) Debug.delegate(ba, "drawcolors", null));} int _x = 0; int _y = 0; - //BA.debugLineNum = 126;BA.debugLine="Private Sub DrawColors"; - //BA.debugLineNum = 127;BA.debugLine="For x = 0 To bcColors.mWidth - 1"; +RDebugUtils.currentLine=24051712; + //BA.debugLineNum = 24051712;BA.debugLine="Private Sub DrawColors"; +RDebugUtils.currentLine=24051713; + //BA.debugLineNum = 24051713;BA.debugLine="For x = 0 To bcColors.mWidth - 1"; { final int step1 = 1; -final int limit1 = (int) (_bccolors._mwidth-1); +final int limit1 = (int) (__ref._bccolors /*b4a.example.bitmapcreator*/ ._mwidth-1); _x = (int) (0) ; for (;_x <= limit1 ;_x = _x + step1 ) { - //BA.debugLineNum = 128;BA.debugLine="For y = 0 To bcColors.mHeight - 1"; +RDebugUtils.currentLine=24051714; + //BA.debugLineNum = 24051714;BA.debugLine="For y = 0 To bcColors.mHeight - 1"; { final int step2 = 1; -final int limit2 = (int) (_bccolors._mheight-1); +final int limit2 = (int) (__ref._bccolors /*b4a.example.bitmapcreator*/ ._mheight-1); _y = (int) (0) ; for (;_y <= limit2 ;_y = _y + step2 ) { - //BA.debugLineNum = 129;BA.debugLine="bcColors.SetHSV(x, y, SelectedAlpha, selectedH,"; -_bccolors._sethsv(_x,_y,_selectedalpha,(int) (_selectedh),(float) (_x/(double)_bccolors._mwidth),(float) ((_bccolors._mheight-_y)/(double)_bccolors._mheight)); +RDebugUtils.currentLine=24051715; + //BA.debugLineNum = 24051715;BA.debugLine="bcColors.SetHSV(x, y, SelectedAlpha, selectedH,"; +__ref._bccolors /*b4a.example.bitmapcreator*/ ._sethsv(_x,_y,__ref._selectedalpha /*int*/ ,(int) (__ref._selectedh /*float*/ ),(float) (_x/(double)__ref._bccolors /*b4a.example.bitmapcreator*/ ._mwidth),(float) ((__ref._bccolors /*b4a.example.bitmapcreator*/ ._mheight-_y)/(double)__ref._bccolors /*b4a.example.bitmapcreator*/ ._mheight)); } }; } }; - //BA.debugLineNum = 133;BA.debugLine="ColorPicker.iv.SetBitmap(bcColors.Bitmap.Resize(C"; -_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bccolors._getbitmap().Resize(_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__c.False).getObject())); - //BA.debugLineNum = 134;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24051719; + //BA.debugLineNum = 24051719;BA.debugLine="ColorPicker.iv.SetBitmap(bcColors.Bitmap.Resize(C"; +__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__ref._bccolors /*b4a.example.bitmapcreator*/ ._getbitmap().Resize(__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__c.False).getObject())); +RDebugUtils.currentLine=24051720; + //BA.debugLineNum = 24051720;BA.debugLine="End Sub"; return ""; } -public String _drawhuebar() throws Exception{ -b4a.example.bitmapcreator _bchue = null; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 98;BA.debugLine="Private Sub DrawHueBar"; - //BA.debugLineNum = 99;BA.debugLine="Dim bcHue As BitmapCreator"; -_bchue = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 100;BA.debugLine="bcHue.Initialize(HueBar.pnl.Width / DeviceScale,"; -_bchue._initialize(ba,(int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_devicescale),(int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_devicescale)); - //BA.debugLineNum = 101;BA.debugLine="For y = 0 To bcHue.mHeight - 1"; -{ -final int step3 = 1; -final int limit3 = (int) (_bchue._mheight-1); -_y = (int) (0) ; -for (;_y <= limit3 ;_y = _y + step3 ) { - //BA.debugLineNum = 102;BA.debugLine="For x = 0 To bcHue.mWidth - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_bchue._mwidth-1); -_x = (int) (0) ; -for (;_x <= limit4 ;_x = _x + step4 ) { - //BA.debugLineNum = 103;BA.debugLine="bcHue.SetHSV(x, y, 255, 360 / bcHue.mHeight * y"; -_bchue._sethsv(_x,_y,(int) (255),(int) (360/(double)_bchue._mheight*_y),(float) (1),(float) (1)); - } -}; - } -}; - //BA.debugLineNum = 106;BA.debugLine="HueBar.iv.SetBitmap(bcHue.Bitmap)"; -_huebar.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bchue._getbitmap().getObject())); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 230;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 231;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 232;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xcolortemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=24707072; + //BA.debugLineNum = 24707072;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=24707073; + //BA.debugLineNum = 24707073;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=24707074; + //BA.debugLineNum = 24707074;BA.debugLine="End Sub"; return null; } -public int _getselectedcolor() throws Exception{ +public int _getselectedcolor(gunav2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getselectedcolor", true)) + {return ((Integer) Debug.delegate(ba, "getselectedcolor", null));} Object[] _hsv = null; - //BA.debugLineNum = 175;BA.debugLine="Public Sub getSelectedColor As Int"; - //BA.debugLineNum = 176;BA.debugLine="Dim hsv() As Object = getSelectedHSVColor"; -_hsv = _getselectedhsvcolor(); - //BA.debugLineNum = 177;BA.debugLine="tempBC.SetHSV(0, 0, SelectedAlpha, hsv(0), hsv(1)"; -_tempbc._sethsv((int) (0),(int) (0),_selectedalpha,(int)(BA.ObjectToNumber(_hsv[(int) (0)])),(float)(BA.ObjectToNumber(_hsv[(int) (1)])),(float)(BA.ObjectToNumber(_hsv[(int) (2)]))); - //BA.debugLineNum = 178;BA.debugLine="Return tempBC.GetColor(0, 0)"; -if (true) return _tempbc._getcolor((int) (0),(int) (0)); - //BA.debugLineNum = 179;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24379392; + //BA.debugLineNum = 24379392;BA.debugLine="Public Sub getSelectedColor As Int"; +RDebugUtils.currentLine=24379393; + //BA.debugLineNum = 24379393;BA.debugLine="Dim hsv() As Object = getSelectedHSVColor"; +_hsv = __ref._getselectedhsvcolor /*Object[]*/ (null); +RDebugUtils.currentLine=24379394; + //BA.debugLineNum = 24379394;BA.debugLine="tempBC.SetHSV(0, 0, SelectedAlpha, hsv(0), hsv(1)"; +__ref._tempbc /*b4a.example.bitmapcreator*/ ._sethsv((int) (0),(int) (0),__ref._selectedalpha /*int*/ ,(int)(BA.ObjectToNumber(_hsv[(int) (0)])),(float)(BA.ObjectToNumber(_hsv[(int) (1)])),(float)(BA.ObjectToNumber(_hsv[(int) (2)]))); +RDebugUtils.currentLine=24379395; + //BA.debugLineNum = 24379395;BA.debugLine="Return tempBC.GetColor(0, 0)"; +if (true) return __ref._tempbc /*b4a.example.bitmapcreator*/ ._getcolor((int) (0),(int) (0)); +RDebugUtils.currentLine=24379396; + //BA.debugLineNum = 24379396;BA.debugLine="End Sub"; return 0; } -public Object[] _getselectedhsvcolor() throws Exception{ - //BA.debugLineNum = 186;BA.debugLine="Public Sub getSelectedHSVColor As Object()"; - //BA.debugLineNum = 187;BA.debugLine="Return Array (selectedH, selectedS, selectedV, Se"; -if (true) return new Object[]{(Object)(_selectedh),(Object)(_selecteds),(Object)(_selectedv),(Object)(_selectedalpha)}; - //BA.debugLineNum = 188;BA.debugLine="End Sub"; +public Object[] _getselectedhsvcolor(gunav2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getselectedhsvcolor", true)) + {return ((Object[]) Debug.delegate(ba, "getselectedhsvcolor", null));} +RDebugUtils.currentLine=24510464; + //BA.debugLineNum = 24510464;BA.debugLine="Public Sub getSelectedHSVColor As Object()"; +RDebugUtils.currentLine=24510465; + //BA.debugLineNum = 24510465;BA.debugLine="Return Array (selectedH, selectedS, selectedV, Se"; +if (true) return new Object[]{(Object)(__ref._selectedh /*float*/ ),(Object)(__ref._selecteds /*float*/ ),(Object)(__ref._selectedv /*float*/ ),(Object)(__ref._selectedalpha /*int*/ )}; +RDebugUtils.currentLine=24510466; + //BA.debugLineNum = 24510466;BA.debugLine="End Sub"; return null; } -public String _handleselectedcolorchanged(int _x,int _y) throws Exception{ - //BA.debugLineNum = 163;BA.debugLine="Private Sub HandleSelectedColorChanged (x As Int,"; - //BA.debugLineNum = 164;BA.debugLine="If x <> DONT_CHANGE Then"; -if (_x!=_dont_change) { - //BA.debugLineNum = 165;BA.debugLine="selectedS = Max(0, Min(1, x / ColorPicker.pnl.Wi"; -_selecteds = (float) (__c.Max(0,__c.Min(1,_x/(double)_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); - //BA.debugLineNum = 166;BA.debugLine="selectedV = Max(0, Min(1, (ColorPicker.pnl.Heigh"; -_selectedv = (float) (__c.Max(0,__c.Min(1,(_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_y)/(double)_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); +public String _updatebarcolor(gunav2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "updatebarcolor", true)) + {return ((String) Debug.delegate(ba, "updatebarcolor", null));} +RDebugUtils.currentLine=24903680; + //BA.debugLineNum = 24903680;BA.debugLine="Private Sub UpdateBarColor"; +RDebugUtils.currentLine=24903681; + //BA.debugLineNum = 24903681;BA.debugLine="If xDialog.IsInitialized And xDialog.TitleBar.IsI"; +if (__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ .IsInitialized /*boolean*/ () && __ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=24903682; + //BA.debugLineNum = 24903682;BA.debugLine="xDialog.TitleBar.Color = getSelectedColor"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._getselectedcolor /*int*/ (null)); }; - //BA.debugLineNum = 168;BA.debugLine="ColorPicker.cvs.ClearRect(ColorPicker.cvs.TargetR"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 169;BA.debugLine="ColorPicker.cvs.DrawCircle(selectedS * ColorPicke"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_selecteds*_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_selectedv*_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()),(float) (__c.DipToCurrent((int) (10))),_xui.Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 171;BA.debugLine="ColorPicker.cvs.Invalidate"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 172;BA.debugLine="UpdateBarColor"; -_updatebarcolor(); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24903684; + //BA.debugLineNum = 24903684;BA.debugLine="End Sub"; return ""; } -public String _huebar_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 258;BA.debugLine="Private Sub HueBar_Touch (Action As Int, X As Floa"; - //BA.debugLineNum = 259;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { +public String _huebar_touch(gunav2.keymon.com.mx.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "huebar_touch", true)) + {return ((String) Debug.delegate(ba, "huebar_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=25034752; + //BA.debugLineNum = 25034752;BA.debugLine="Private Sub HueBar_Touch (Action As Int, X As Floa"; +RDebugUtils.currentLine=25034753; + //BA.debugLineNum = 25034753;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; +if (_action==__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE_NOTOUCH) { if (true) return "";}; - //BA.debugLineNum = 260;BA.debugLine="HueBarSelectedChanged(Y)"; -_huebarselectedchanged(_y); - //BA.debugLineNum = 261;BA.debugLine="End Sub"; +RDebugUtils.currentLine=25034754; + //BA.debugLineNum = 25034754;BA.debugLine="HueBarSelectedChanged(Y)"; +__ref._huebarselectedchanged /*String*/ (null,_y); +RDebugUtils.currentLine=25034755; + //BA.debugLineNum = 25034755;BA.debugLine="End Sub"; return ""; } -public String _huebarselectedchanged(float _y) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 136;BA.debugLine="Private Sub HueBarSelectedChanged (y As Float)"; - //BA.debugLineNum = 137;BA.debugLine="selectedH = Max(0, Min(360, 360 * y / HueBar.pnl."; -_selectedh = (float) (__c.Max(0,__c.Min(360,360*_y/(double)_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); - //BA.debugLineNum = 138;BA.debugLine="y = selectedH * HueBar.pnl.Height / 360"; -_y = (float) (_selectedh*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)360); - //BA.debugLineNum = 139;BA.debugLine="HueBar.cvs.ClearRect(HueBar.cvs.TargetRect)"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 140;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 141;BA.debugLine="r.Initialize(0, y - 3dip, HueBar.cvs.TargetRect.R"; -_r.Initialize((float) (0),(float) (_y-__c.DipToCurrent((int) (3))),_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight(),(float) (_y+__c.DipToCurrent((int) (3)))); - //BA.debugLineNum = 142;BA.debugLine="HueBar.cvs.DrawRect(r, xui.Color_White, False, 2d"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_xui.Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 143;BA.debugLine="HueBar.cvs.Invalidate"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 144;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 145;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xcolortemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 18;BA.debugLine="tempBC.Initialize(1, 1)"; -_tempbc._initialize(ba,(int) (1),(int) (1)); - //BA.debugLineNum = 19;BA.debugLine="DeviceScale = 100dip / 100"; -_devicescale = (float) (__c.DipToCurrent((int) (100))/(double)100); - //BA.debugLineNum = 20;BA.debugLine="mBase = xui.CreatePanel(\"\")"; -_mbase = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 21;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 250dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (250))); - //BA.debugLineNum = 22;BA.debugLine="BordersColor = xui.Color_Black"; -_borderscolor = _xui.Color_Black; - //BA.debugLineNum = 23;BA.debugLine="mBase.SetColorAndBorder(BordersColor, 1dip, Borde"; -_mbase.SetColorAndBorder(_borderscolor,__c.DipToCurrent((int) (1)),_borderscolor,__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 24;BA.debugLine="HueBar = CreatePanelForBitmapCreator(\"hueBar\", Fa"; -_huebar = _createpanelforbitmapcreator("hueBar",__c.False); - //BA.debugLineNum = 25;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; -_colorpicker = _createpanelforbitmapcreator("colors",__c.True); - //BA.debugLineNum = 26;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; -_alphabar = _createpanelforbitmapcreator("alpha",__c.True); - //BA.debugLineNum = 27;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 28;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=23658496; + //BA.debugLineNum = 23658496;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=23658497; + //BA.debugLineNum = 23658497;BA.debugLine="tempBC.Initialize(1, 1)"; +__ref._tempbc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (1),(int) (1)); +RDebugUtils.currentLine=23658498; + //BA.debugLineNum = 23658498;BA.debugLine="DeviceScale = 100dip / 100"; +__ref._devicescale /*float*/ = (float) (__c.DipToCurrent((int) (100))/(double)100); +RDebugUtils.currentLine=23658499; + //BA.debugLineNum = 23658499;BA.debugLine="mBase = xui.CreatePanel(\"\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=23658500; + //BA.debugLineNum = 23658500;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 250dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (250))); +RDebugUtils.currentLine=23658501; + //BA.debugLineNum = 23658501;BA.debugLine="BordersColor = xui.Color_Black"; +__ref._borderscolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=23658502; + //BA.debugLineNum = 23658502;BA.debugLine="mBase.SetColorAndBorder(BordersColor, 1dip, Borde"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._borderscolor /*int*/ ,__c.DipToCurrent((int) (1)),__ref._borderscolor /*int*/ ,__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=23658503; + //BA.debugLineNum = 23658503;BA.debugLine="HueBar = CreatePanelForBitmapCreator(\"hueBar\", Fa"; +__ref._huebar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ (null,"hueBar",__c.False); +RDebugUtils.currentLine=23658504; + //BA.debugLineNum = 23658504;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; +__ref._colorpicker /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ (null,"colors",__c.True); +RDebugUtils.currentLine=23658505; + //BA.debugLineNum = 23658505;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; +__ref._alphabar /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*gunav2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ (null,"alpha",__c.True); +RDebugUtils.currentLine=23658506; + //BA.debugLineNum = 23658506;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=23658507; + //BA.debugLineNum = 23658507;BA.debugLine="End Sub"; return ""; } -public String _setselectedcolor(int _i) throws Exception{ - //BA.debugLineNum = 181;BA.debugLine="Public Sub setSelectedColor(i As Int)"; - //BA.debugLineNum = 182;BA.debugLine="setSelectedHSVColor(ColorToHSV(i))"; -_setselectedhsvcolor(_colortohsv(_i)); - //BA.debugLineNum = 183;BA.debugLine="End Sub"; +public String _setselectedcolor(gunav2.keymon.com.mx.b4xcolortemplate __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "setselectedcolor", true)) + {return ((String) Debug.delegate(ba, "setselectedcolor", new Object[] {_i}));} +RDebugUtils.currentLine=24444928; + //BA.debugLineNum = 24444928;BA.debugLine="Public Sub setSelectedColor(i As Int)"; +RDebugUtils.currentLine=24444929; + //BA.debugLineNum = 24444929;BA.debugLine="setSelectedHSVColor(ColorToHSV(i))"; +__ref._setselectedhsvcolor /*String*/ (null,__ref._colortohsv /*Object[]*/ (null,_i)); +RDebugUtils.currentLine=24444930; + //BA.debugLineNum = 24444930;BA.debugLine="End Sub"; return ""; } -public String _setselectedhsvcolor(Object[] _hsv) throws Exception{ - //BA.debugLineNum = 190;BA.debugLine="Public Sub setSelectedHSVColor (HSV() As Object)"; - //BA.debugLineNum = 191;BA.debugLine="selectedH = HSV(0)"; -_selectedh = (float)(BA.ObjectToNumber(_hsv[(int) (0)])); - //BA.debugLineNum = 192;BA.debugLine="selectedS = HSV(1)"; -_selecteds = (float)(BA.ObjectToNumber(_hsv[(int) (1)])); - //BA.debugLineNum = 193;BA.debugLine="selectedV = HSV(2)"; -_selectedv = (float)(BA.ObjectToNumber(_hsv[(int) (2)])); - //BA.debugLineNum = 194;BA.debugLine="SelectedAlpha = HSV(3)"; -_selectedalpha = (int)(BA.ObjectToNumber(_hsv[(int) (3)])); - //BA.debugLineNum = 195;BA.debugLine="HueBarSelectedChanged(selectedH / 360 * HueBar.pn"; -_huebarselectedchanged((float) (_selectedh/(double)360*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 196;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; -_alphabarselectedchange((float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); - //BA.debugLineNum = 197;BA.debugLine="End Sub"; -return ""; -} -public void _show(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public void _show(gunav2.keymon.com.mx.b4xcolortemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(gunav2.keymon.com.mx.b4xcolortemplate parent,gunav2.keymon.com.mx.b4xdialog _dialog) { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xcolortemplate parent,gunav2.keymon.com.mx.b4xcolortemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xcolortemplate __ref; gunav2.keymon.com.mx.b4xcolortemplate parent; gunav2.keymon.com.mx.b4xdialog _dialog; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xcolortemplate"; while (true) { switch (state) { @@ -652,52 +989,30 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 235;BA.debugLine="InitialColor = getSelectedHSVColor"; -parent._initialcolor = parent._getselectedhsvcolor(); - //BA.debugLineNum = 236;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 237;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); +RDebugUtils.currentLine=24772609; + //BA.debugLineNum = 24772609;BA.debugLine="InitialColor = getSelectedHSVColor"; +__ref._initialcolor /*Object[]*/ = __ref._getselectedhsvcolor /*Object[]*/ (null); +RDebugUtils.currentLine=24772610; + //BA.debugLineNum = 24772610;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=24772611; + //BA.debugLineNum = 24772611;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xcolortemplate", "show"),(int) (0)); this.state = 1; return; case 1: //C this.state = -1; ; - //BA.debugLineNum = 238;BA.debugLine="UpdateBarColor"; -parent._updatebarcolor(); - //BA.debugLineNum = 239;BA.debugLine="End Sub"; +RDebugUtils.currentLine=24772612; + //BA.debugLineNum = 24772612;BA.debugLine="UpdateBarColor"; +__ref._updatebarcolor /*String*/ (null); +RDebugUtils.currentLine=24772613; + //BA.debugLineNum = 24772613;BA.debugLine="End Sub"; if (true) break; } } } } -public String _update() throws Exception{ - //BA.debugLineNum = 158;BA.debugLine="Private Sub Update"; - //BA.debugLineNum = 159;BA.debugLine="DrawColors"; -_drawcolors(); - //BA.debugLineNum = 160;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; -_handleselectedcolorchanged(_dont_change,_dont_change); - //BA.debugLineNum = 161;BA.debugLine="End Sub"; -return ""; -} -public String _updatebarcolor() throws Exception{ - //BA.debugLineNum = 247;BA.debugLine="Private Sub UpdateBarColor"; - //BA.debugLineNum = 248;BA.debugLine="If xDialog.IsInitialized And xDialog.TitleBar.IsI"; -if (_xdialog.IsInitialized /*boolean*/ () && _xdialog._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 249;BA.debugLine="xDialog.TitleBar.Color = getSelectedColor"; -_xdialog._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(_getselectedcolor()); - }; - //BA.debugLineNum = 251;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((gunav2.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcombobox.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcombobox.java index a6279db..e00b0c3 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcombobox.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcombobox.java @@ -10,7 +10,7 @@ public class b4xcombobox extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xcombobox"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xcombobox"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xcombobox extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -39,144 +46,145 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 56;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +public String _setitems(gunav2.keymon.com.mx.b4xcombobox __ref,anywheresoftware.b4a.objects.collections.List _items) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((String) Debug.delegate(ba, "setitems", new Object[] {_items}));} +RDebugUtils.currentLine=25427968; + //BA.debugLineNum = 25427968;BA.debugLine="Public Sub SetItems(Items As List)"; +RDebugUtils.currentLine=25427973; + //BA.debugLineNum = 25427973;BA.debugLine="cmbBox.Clear"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Clear(); +RDebugUtils.currentLine=25427974; + //BA.debugLineNum = 25427974;BA.debugLine="cmbBox.AddAll(Items)"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .AddAll(_items); +RDebugUtils.currentLine=25427981; + //BA.debugLineNum = 25427981;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)"; +if (_items.getSize()>0) { +__ref._setselectedindex /*String*/ (null,(int) (0));}; +RDebugUtils.currentLine=25427982; + //BA.debugLineNum = 25427982;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 7;BA.debugLine="Private LastSelectedIndex As Int"; -_lastselectedindex = 0; - //BA.debugLineNum = 11;BA.debugLine="Public cmbBox As Spinner"; -_cmbbox = new anywheresoftware.b4a.objects.SpinnerWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Public DelayBeforeChangeEvent As Int"; -_delaybeforechangeevent = 0; - //BA.debugLineNum = 19;BA.debugLine="Private DelayIndex As Int"; -_delayindex = 0; - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public B4iCancelButton As String = \"Cancel\""; -_b4icancelbutton = "Cancel"; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _cmbbox_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 157;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val"; - //BA.debugLineNum = 158;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim xlbl As B4XView = Lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 42;BA.debugLine="cmbBox.Initialize(\"cmbBox\")"; -_cmbbox.Initialize(ba,"cmbBox"); - //BA.debugLineNum = 43;BA.debugLine="cmbBox.TextSize = xlbl.TextSize"; -_cmbbox.setTextSize(_xlbl.getTextSize()); - //BA.debugLineNum = 44;BA.debugLine="mBase.AddView(cmbBox, 0, 0, mBase.Width, mBase.He"; -_mbase.AddView((android.view.View)(_cmbbox.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return ""; -} -public String _getitem(int _index) throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub GetItem(Index As Int) As String"; - //BA.debugLineNum = 131;BA.debugLine="Return cmbBox.GetItem(Index)"; -if (true) return _cmbbox.GetItem(_index); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return ""; -} -public int _getselectedindex() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub getSelectedIndex As Int"; - //BA.debugLineNum = 100;BA.debugLine="Return cmbBox.SelectedIndex"; -if (true) return _cmbbox.getSelectedIndex(); - //BA.debugLineNum = 104;BA.debugLine="End Sub"; -return 0; -} -public String _getselecteditem() throws Exception{ +public String _getselecteditem(gunav2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getselecteditem", true)) + {return ((String) Debug.delegate(ba, "getselecteditem", null));} int _i = 0; - //BA.debugLineNum = 121;BA.debugLine="Public Sub getSelectedItem As String"; - //BA.debugLineNum = 122;BA.debugLine="Dim i As Int = getSelectedIndex"; -_i = _getselectedindex(); - //BA.debugLineNum = 123;BA.debugLine="If i = -1 Then Return \"\""; +RDebugUtils.currentLine=25755648; + //BA.debugLineNum = 25755648;BA.debugLine="Public Sub getSelectedItem As String"; +RDebugUtils.currentLine=25755649; + //BA.debugLineNum = 25755649;BA.debugLine="Dim i As Int = getSelectedIndex"; +_i = __ref._getselectedindex /*int*/ (null); +RDebugUtils.currentLine=25755650; + //BA.debugLineNum = 25755650;BA.debugLine="If i = -1 Then Return \"\""; if (_i==-1) { if (true) return "";}; - //BA.debugLineNum = 124;BA.debugLine="Return GetItem(i)"; -if (true) return _getitem(_i); - //BA.debugLineNum = 125;BA.debugLine="End Sub"; +RDebugUtils.currentLine=25755651; + //BA.debugLineNum = 25755651;BA.debugLine="Return GetItem(i)"; +if (true) return __ref._getitem /*String*/ (null,_i); +RDebugUtils.currentLine=25755652; + //BA.debugLineNum = 25755652;BA.debugLine="End Sub"; return ""; } -public int _getsize() throws Exception{ - //BA.debugLineNum = 76;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 80;BA.debugLine="Return cmbBox.Size"; -if (true) return _cmbbox.getSize(); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; -return 0; -} -public int _indexof(String _item) throws Exception{ - //BA.debugLineNum = 87;BA.debugLine="Public Sub IndexOf(Item As String) As Int"; - //BA.debugLineNum = 91;BA.debugLine="Return cmbBox.IndexOf(Item)"; -if (true) return _cmbbox.IndexOf(_item); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 25;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 27;BA.debugLine="LastSelectedIndex = -1"; -_lastselectedindex = (int) (-1); - //BA.debugLineNum = 28;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500"; -if (_xui.getIsB4J()) { -_delaybeforechangeevent = (int) (500);}; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +public String _base_resize(gunav2.keymon.com.mx.b4xcombobox __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=25362432; + //BA.debugLineNum = 25362432;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=25362433; + //BA.debugLineNum = 25362433;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=25362434; + //BA.debugLineNum = 25362434;BA.debugLine="End Sub"; return ""; } -public void _raiseevent() throws Exception{ -ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(this); +public String _class_globals(gunav2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +RDebugUtils.currentLine=25165824; + //BA.debugLineNum = 25165824;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=25165825; + //BA.debugLineNum = 25165825;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=25165826; + //BA.debugLineNum = 25165826;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=25165827; + //BA.debugLineNum = 25165827;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=25165828; + //BA.debugLineNum = 25165828;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=25165829; + //BA.debugLineNum = 25165829;BA.debugLine="Private LastSelectedIndex As Int"; +_lastselectedindex = 0; +RDebugUtils.currentLine=25165833; + //BA.debugLineNum = 25165833;BA.debugLine="Public cmbBox As Spinner"; +_cmbbox = new anywheresoftware.b4a.objects.SpinnerWrapper(); +RDebugUtils.currentLine=25165839; + //BA.debugLineNum = 25165839;BA.debugLine="Public DelayBeforeChangeEvent As Int"; +_delaybeforechangeevent = 0; +RDebugUtils.currentLine=25165841; + //BA.debugLineNum = 25165841;BA.debugLine="Private DelayIndex As Int"; +_delayindex = 0; +RDebugUtils.currentLine=25165842; + //BA.debugLineNum = 25165842;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=25165843; + //BA.debugLineNum = 25165843;BA.debugLine="Public B4iCancelButton As String = \"Cancel\""; +_b4icancelbutton = "Cancel"; +RDebugUtils.currentLine=25165844; + //BA.debugLineNum = 25165844;BA.debugLine="End Sub"; +return ""; +} +public String _cmbbox_itemclick(gunav2.keymon.com.mx.b4xcombobox __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "cmbbox_itemclick", true)) + {return ((String) Debug.delegate(ba, "cmbbox_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=25952256; + //BA.debugLineNum = 25952256;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val"; +RDebugUtils.currentLine=25952257; + //BA.debugLineNum = 25952257;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*void*/ (null); +RDebugUtils.currentLine=25952258; + //BA.debugLineNum = 25952258;BA.debugLine="End Sub"; +return ""; +} +public void _raiseevent(gunav2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "raiseevent", true)) + {Debug.delegate(ba, "raiseevent", null); return;} +ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_RaiseEvent extends BA.ResumableSub { -public ResumableSub_RaiseEvent(gunav2.keymon.com.mx.b4xcombobox parent) { +public ResumableSub_RaiseEvent(gunav2.keymon.com.mx.b4xcombobox parent,gunav2.keymon.com.mx.b4xcombobox __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xcombobox __ref; gunav2.keymon.com.mx.b4xcombobox parent; int _index = 0; int _myindex = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xcombobox"; while (true) { switch (state) { @@ -186,15 +194,17 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 138;BA.debugLine="Dim index As Int = getSelectedIndex"; -_index = parent._getselectedindex(); - //BA.debugLineNum = 139;BA.debugLine="If LastSelectedIndex = index Then Return"; +RDebugUtils.currentLine=25886721; + //BA.debugLineNum = 25886721;BA.debugLine="Dim index As Int = getSelectedIndex"; +_index = __ref._getselectedindex /*int*/ (null); +RDebugUtils.currentLine=25886722; + //BA.debugLineNum = 25886722;BA.debugLine="If LastSelectedIndex = index Then Return"; if (true) break; case 1: //if this.state = 6; -if (parent._lastselectedindex==_index) { +if (__ref._lastselectedindex /*int*/ ==_index) { this.state = 3; ;}if (true) break; @@ -208,38 +218,43 @@ case 6: //C this.state = 7; ; - //BA.debugLineNum = 140;BA.debugLine="If DelayBeforeChangeEvent > 0 Then"; +RDebugUtils.currentLine=25886723; + //BA.debugLineNum = 25886723;BA.debugLine="If DelayBeforeChangeEvent > 0 Then"; if (true) break; case 7: //if this.state = 16; -if (parent._delaybeforechangeevent>0) { +if (__ref._delaybeforechangeevent /*int*/ >0) { this.state = 9; }if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 141;BA.debugLine="DelayIndex = DelayIndex + 1"; -parent._delayindex = (int) (parent._delayindex+1); - //BA.debugLineNum = 142;BA.debugLine="Dim MyIndex As Int = DelayIndex"; -_myindex = parent._delayindex; - //BA.debugLineNum = 143;BA.debugLine="Sleep(DelayBeforeChangeEvent)"; -parent.__c.Sleep(ba,this,parent._delaybeforechangeevent); +RDebugUtils.currentLine=25886724; + //BA.debugLineNum = 25886724;BA.debugLine="DelayIndex = DelayIndex + 1"; +__ref._delayindex /*int*/ = (int) (__ref._delayindex /*int*/ +1); +RDebugUtils.currentLine=25886725; + //BA.debugLineNum = 25886725;BA.debugLine="Dim MyIndex As Int = DelayIndex"; +_myindex = __ref._delayindex /*int*/ ; +RDebugUtils.currentLine=25886726; + //BA.debugLineNum = 25886726;BA.debugLine="Sleep(DelayBeforeChangeEvent)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xcombobox", "raiseevent"),__ref._delaybeforechangeevent /*int*/ ); this.state = 21; return; case 21: //C this.state = 10; ; - //BA.debugLineNum = 144;BA.debugLine="If MyIndex <> DelayIndex Then Return"; +RDebugUtils.currentLine=25886727; + //BA.debugLineNum = 25886727;BA.debugLine="If MyIndex <> DelayIndex Then Return"; if (true) break; case 10: //if this.state = 15; -if (_myindex!=parent._delayindex) { +if (_myindex!=__ref._delayindex /*int*/ ) { this.state = 12; ;}if (true) break; @@ -259,59 +274,170 @@ case 16: //C this.state = 17; ; - //BA.debugLineNum = 146;BA.debugLine="LastSelectedIndex = index"; -parent._lastselectedindex = _index; - //BA.debugLineNum = 147;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select"; +RDebugUtils.currentLine=25886729; + //BA.debugLineNum = 25886729;BA.debugLine="LastSelectedIndex = index"; +__ref._lastselectedindex /*int*/ = _index; +RDebugUtils.currentLine=25886730; + //BA.debugLineNum = 25886730;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select"; if (true) break; case 17: //if this.state = 20; -if (parent._xui.SubExists(ba,parent._mcallback,parent._meventname+"_SelectedIndexChanged",(int) (1))) { +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_SelectedIndexChanged",(int) (1))) { this.state = 19; }if (true) break; case 19: //C this.state = 20; - //BA.debugLineNum = 148;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex"; -parent.__c.CallSubNew2(ba,parent._mcallback,parent._meventname+"_SelectedIndexChanged",(Object)(_index)); +RDebugUtils.currentLine=25886731; + //BA.debugLineNum = 25886731;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex"; +parent.__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_SelectedIndexChanged",(Object)(_index)); if (true) break; case 20: //C this.state = -1; ; - //BA.debugLineNum = 150;BA.debugLine="End Sub"; +RDebugUtils.currentLine=25886733; + //BA.debugLineNum = 25886733;BA.debugLine="End Sub"; if (true) break; } } } } -public String _setitems(anywheresoftware.b4a.objects.collections.List _items) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Public Sub SetItems(Items As List)"; - //BA.debugLineNum = 64;BA.debugLine="cmbBox.Clear"; -_cmbbox.Clear(); - //BA.debugLineNum = 65;BA.debugLine="cmbBox.AddAll(Items)"; -_cmbbox.AddAll(_items); - //BA.debugLineNum = 72;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)"; -if (_items.getSize()>0) { -_setselectedindex((int) (0));}; - //BA.debugLineNum = 73;BA.debugLine="End Sub"; +public String _designercreateview(gunav2.keymon.com.mx.b4xcombobox __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +RDebugUtils.currentLine=25296896; + //BA.debugLineNum = 25296896;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=25296897; + //BA.debugLineNum = 25296897;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=25296898; + //BA.debugLineNum = 25296898;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=25296898; + //BA.debugLineNum = 25296898;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=25296899; + //BA.debugLineNum = 25296899;BA.debugLine="Dim xlbl As B4XView = Lbl"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=25296906; + //BA.debugLineNum = 25296906;BA.debugLine="cmbBox.Initialize(\"cmbBox\")"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Initialize(ba,"cmbBox"); +RDebugUtils.currentLine=25296907; + //BA.debugLineNum = 25296907;BA.debugLine="cmbBox.TextSize = xlbl.TextSize"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setTextSize(_xlbl.getTextSize()); +RDebugUtils.currentLine=25296908; + //BA.debugLineNum = 25296908;BA.debugLine="mBase.AddView(cmbBox, 0, 0, mBase.Width, mBase.He"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=25296917; + //BA.debugLineNum = 25296917;BA.debugLine="End Sub"; return ""; } -public String _setselectedindex(int _i) throws Exception{ - //BA.debugLineNum = 106;BA.debugLine="Public Sub setSelectedIndex(i As Int)"; - //BA.debugLineNum = 107;BA.debugLine="LastSelectedIndex = i"; -_lastselectedindex = _i; - //BA.debugLineNum = 109;BA.debugLine="cmbBox.SelectedIndex = i"; -_cmbbox.setSelectedIndex(_i); - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +public String _getitem(gunav2.keymon.com.mx.b4xcombobox __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getitem", true)) + {return ((String) Debug.delegate(ba, "getitem", new Object[] {_index}));} +RDebugUtils.currentLine=25821184; + //BA.debugLineNum = 25821184;BA.debugLine="Public Sub GetItem(Index As Int) As String"; +RDebugUtils.currentLine=25821188; + //BA.debugLineNum = 25821188;BA.debugLine="Return cmbBox.GetItem(Index)"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .GetItem(_index); +RDebugUtils.currentLine=25821192; + //BA.debugLineNum = 25821192;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public int _getselectedindex(gunav2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getselectedindex", true)) + {return ((Integer) Debug.delegate(ba, "getselectedindex", null));} +RDebugUtils.currentLine=25624576; + //BA.debugLineNum = 25624576;BA.debugLine="Public Sub getSelectedIndex As Int"; +RDebugUtils.currentLine=25624578; + //BA.debugLineNum = 25624578;BA.debugLine="Return cmbBox.SelectedIndex"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSelectedIndex(); +RDebugUtils.currentLine=25624582; + //BA.debugLineNum = 25624582;BA.debugLine="End Sub"; +return 0; } +public int _getsize(gunav2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=25493504; + //BA.debugLineNum = 25493504;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=25493508; + //BA.debugLineNum = 25493508;BA.debugLine="Return cmbBox.Size"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSize(); +RDebugUtils.currentLine=25493512; + //BA.debugLineNum = 25493512;BA.debugLine="End Sub"; +return 0; } +public int _indexof(gunav2.keymon.com.mx.b4xcombobox __ref,String _item) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "indexof", true)) + {return ((Integer) Debug.delegate(ba, "indexof", new Object[] {_item}));} +RDebugUtils.currentLine=25559040; + //BA.debugLineNum = 25559040;BA.debugLine="Public Sub IndexOf(Item As String) As Int"; +RDebugUtils.currentLine=25559044; + //BA.debugLineNum = 25559044;BA.debugLine="Return cmbBox.IndexOf(Item)"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .IndexOf(_item); +RDebugUtils.currentLine=25559048; + //BA.debugLineNum = 25559048;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(gunav2.keymon.com.mx.b4xcombobox __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=25231360; + //BA.debugLineNum = 25231360;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=25231361; + //BA.debugLineNum = 25231361;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=25231362; + //BA.debugLineNum = 25231362;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=25231363; + //BA.debugLineNum = 25231363;BA.debugLine="LastSelectedIndex = -1"; +__ref._lastselectedindex /*int*/ = (int) (-1); +RDebugUtils.currentLine=25231364; + //BA.debugLineNum = 25231364;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +__ref._delaybeforechangeevent /*int*/ = (int) (500);}; +RDebugUtils.currentLine=25231365; + //BA.debugLineNum = 25231365;BA.debugLine="End Sub"; +return ""; +} +public String _setselectedindex(gunav2.keymon.com.mx.b4xcombobox __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "setselectedindex", true)) + {return ((String) Debug.delegate(ba, "setselectedindex", new Object[] {_i}));} +RDebugUtils.currentLine=25690112; + //BA.debugLineNum = 25690112;BA.debugLine="Public Sub setSelectedIndex(i As Int)"; +RDebugUtils.currentLine=25690113; + //BA.debugLineNum = 25690113;BA.debugLine="LastSelectedIndex = i"; +__ref._lastselectedindex /*int*/ = _i; +RDebugUtils.currentLine=25690115; + //BA.debugLineNum = 25690115;BA.debugLine="cmbBox.SelectedIndex = i"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setSelectedIndex(_i); +RDebugUtils.currentLine=25690124; + //BA.debugLineNum = 25690124;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcomparatorsort.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcomparatorsort.java index 7241944..4f3ce4c 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcomparatorsort.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcomparatorsort.java @@ -10,7 +10,7 @@ public class b4xcomparatorsort extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xcomparatorsort"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xcomparatorsort"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,103 +23,158 @@ public class b4xcomparatorsort extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public b4a.example.dateutils _dateutils = null; public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="End Sub"; +public String _class_globals(gunav2.keymon.com.mx.b4xcomparatorsort __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +RDebugUtils.currentLine=13107200; + //BA.debugLineNum = 13107200;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=13107201; + //BA.debugLineNum = 13107201;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 5;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=13172736; + //BA.debugLineNum = 13172736;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=13172737; + //BA.debugLineNum = 13172737;BA.debugLine="End Sub"; return ""; } -public int _partition(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,int _pivotindex,Object _comparator) throws Exception{ +public int _partition(gunav2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,int _pivotindex,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "partition", true)) + {return ((Integer) Debug.delegate(ba, "partition", new Object[] {_data,_startindex,_length,_pivotindex,_comparator}));} Object _pivotvalue = null; int _l = 0; int _i = 0; - //BA.debugLineNum = 30;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; - //BA.debugLineNum = 31;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; +RDebugUtils.currentLine=13369344; + //BA.debugLineNum = 13369344;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; +RDebugUtils.currentLine=13369345; + //BA.debugLineNum = 13369345;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; _pivotvalue = _data.Get((int) (_startindex+_pivotindex)); - //BA.debugLineNum = 32;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; -_swap(_data,_startindex,_pivotindex,(int) (_length-1)); - //BA.debugLineNum = 33;BA.debugLine="Dim L As Int = 0"; +RDebugUtils.currentLine=13369346; + //BA.debugLineNum = 13369346;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; +__ref._swap /*String*/ (null,_data,_startindex,_pivotindex,(int) (_length-1)); +RDebugUtils.currentLine=13369347; + //BA.debugLineNum = 13369347;BA.debugLine="Dim L As Int = 0"; _l = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="For i = 0 To Length - 2"; +RDebugUtils.currentLine=13369348; + //BA.debugLineNum = 13369348;BA.debugLine="For i = 0 To Length - 2"; { final int step4 = 1; final int limit4 = (int) (_length-2); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 35;BA.debugLine="If CallSub3(Comparator, \"Compare\", Data.Get(Star"; -if (((int)(BA.ObjectToNumber(__c.CallSubNew3(ba,_comparator,"Compare",_data.Get((int) (_startindex+_i)),_pivotvalue))))<0) { - //BA.debugLineNum = 36;BA.debugLine="L = L + 1"; +RDebugUtils.currentLine=13369349; + //BA.debugLineNum = 13369349;BA.debugLine="If CallSub3(Comparator, \"Compare\", Data.Get(Star"; +if (((int)(BA.ObjectToNumber(__c.CallSubDebug3(ba,_comparator,"Compare",_data.Get((int) (_startindex+_i)),_pivotvalue))))<0) { +RDebugUtils.currentLine=13369350; + //BA.debugLineNum = 13369350;BA.debugLine="L = L + 1"; _l = (int) (_l+1); - //BA.debugLineNum = 37;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; -_swap(_data,_startindex,(int) (_l-1),_i); +RDebugUtils.currentLine=13369351; + //BA.debugLineNum = 13369351;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; +__ref._swap /*String*/ (null,_data,_startindex,(int) (_l-1),_i); }; } }; - //BA.debugLineNum = 40;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; -_swap(_data,_startindex,(int) (_length-1),_l); - //BA.debugLineNum = 41;BA.debugLine="Return L"; +RDebugUtils.currentLine=13369354; + //BA.debugLineNum = 13369354;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; +__ref._swap /*String*/ (null,_data,_startindex,(int) (_length-1),_l); +RDebugUtils.currentLine=13369355; + //BA.debugLineNum = 13369355;BA.debugLine="Return L"; if (true) return _l; - //BA.debugLineNum = 42;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13369356; + //BA.debugLineNum = 13369356;BA.debugLine="End Sub"; return 0; } -public String _quicksort(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,Object _comparator) throws Exception{ +public String _swap(gunav2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _i1,int _i2) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "swap", true)) + {return ((String) Debug.delegate(ba, "swap", new Object[] {_data,_startindex,_i1,_i2}));} +Object _o = null; +RDebugUtils.currentLine=13434880; + //BA.debugLineNum = 13434880;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; +RDebugUtils.currentLine=13434881; + //BA.debugLineNum = 13434881;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; +_o = _data.Get((int) (_startindex+_i1)); +RDebugUtils.currentLine=13434882; + //BA.debugLineNum = 13434882;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; +_data.Set((int) (_startindex+_i1),_data.Get((int) (_startindex+_i2))); +RDebugUtils.currentLine=13434883; + //BA.debugLineNum = 13434883;BA.debugLine="Data.Set(StartIndex + i2, o)"; +_data.Set((int) (_startindex+_i2),_o); +RDebugUtils.currentLine=13434884; + //BA.debugLineNum = 13434884;BA.debugLine="End Sub"; +return ""; +} +public String _quicksort(gunav2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "quicksort", true)) + {return ((String) Debug.delegate(ba, "quicksort", new Object[] {_data,_startindex,_length,_comparator}));} int _pivotindex = 0; int _r = 0; - //BA.debugLineNum = 21;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; - //BA.debugLineNum = 22;BA.debugLine="If Length > 1 Then"; +RDebugUtils.currentLine=13303808; + //BA.debugLineNum = 13303808;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; +RDebugUtils.currentLine=13303809; + //BA.debugLineNum = 13303809;BA.debugLine="If Length > 1 Then"; if (_length>1) { - //BA.debugLineNum = 23;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; +RDebugUtils.currentLine=13303810; + //BA.debugLineNum = 13303810;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; _pivotindex = __c.Rnd((int) (0),_length); - //BA.debugLineNum = 24;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; -_r = _partition(_data,_startindex,_length,_pivotindex,_comparator); - //BA.debugLineNum = 25;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; -_quicksort(_data,_startindex,_r,_comparator); - //BA.debugLineNum = 26;BA.debugLine="QuickSort(Data, StartIndex + r + 1, Length - r -"; -_quicksort(_data,(int) (_startindex+_r+1),(int) (_length-_r-1),_comparator); +RDebugUtils.currentLine=13303811; + //BA.debugLineNum = 13303811;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; +_r = __ref._partition /*int*/ (null,_data,_startindex,_length,_pivotindex,_comparator); +RDebugUtils.currentLine=13303812; + //BA.debugLineNum = 13303812;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; +__ref._quicksort /*String*/ (null,_data,_startindex,_r,_comparator); +RDebugUtils.currentLine=13303813; + //BA.debugLineNum = 13303813;BA.debugLine="QuickSort(Data, StartIndex + r + 1, Length - r -"; +__ref._quicksort /*String*/ (null,_data,(int) (_startindex+_r+1),(int) (_length-_r-1),_comparator); }; - //BA.debugLineNum = 28;BA.debugLine="End Sub"; +RDebugUtils.currentLine=13303815; + //BA.debugLineNum = 13303815;BA.debugLine="End Sub"; return ""; } -public String _sort(anywheresoftware.b4a.objects.collections.List _data,Object _comparator) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; - //BA.debugLineNum = 14;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; -_quicksort(_data,(int) (0),_data.getSize(),_comparator); - //BA.debugLineNum = 18;BA.debugLine="End Sub"; +public String _sort(gunav2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "sort", true)) + {return ((String) Debug.delegate(ba, "sort", new Object[] {_data,_comparator}));} +RDebugUtils.currentLine=13238272; + //BA.debugLineNum = 13238272;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; +RDebugUtils.currentLine=13238274; + //BA.debugLineNum = 13238274;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; +__ref._quicksort /*String*/ (null,_data,(int) (0),_data.getSize(),_comparator); +RDebugUtils.currentLine=13238278; + //BA.debugLineNum = 13238278;BA.debugLine="End Sub"; return ""; } -public String _swap(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _i1,int _i2) throws Exception{ -Object _o = null; - //BA.debugLineNum = 44;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; - //BA.debugLineNum = 45;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; -_o = _data.Get((int) (_startindex+_i1)); - //BA.debugLineNum = 46;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; -_data.Set((int) (_startindex+_i1),_data.Get((int) (_startindex+_i2))); - //BA.debugLineNum = 47;BA.debugLine="Data.Set(StartIndex + i2, o)"; -_data.Set((int) (_startindex+_i2),_o); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xdatetemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xdatetemplate.java index 179f99d..9e4a350 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xdatetemplate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xdatetemplate.java @@ -10,7 +10,7 @@ public class b4xdatetemplate extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xdatetemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xdatetemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xdatetemplate extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public int _month = 0; public int _year = 0; @@ -67,363 +74,570 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _btnmonth_click() throws Exception{ +public String _btnmonth_click(gunav2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "btnmonth_click", true)) + {return ((String) Debug.delegate(ba, "btnmonth_click", null));} anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; int _m = 0; - //BA.debugLineNum = 160;BA.debugLine="Private Sub btnMonth_Click"; - //BA.debugLineNum = 161;BA.debugLine="Dim btn As B4XView = Sender"; +RDebugUtils.currentLine=26738688; + //BA.debugLineNum = 26738688;BA.debugLine="Private Sub btnMonth_Click"; +RDebugUtils.currentLine=26738689; + //BA.debugLineNum = 26738689;BA.debugLine="Dim btn As B4XView = Sender"; _btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); _btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 162;BA.debugLine="Dim m As Int = 12 + month - 1 + btn.Tag"; -_m = (int) (12+_month-1+(double)(BA.ObjectToNumber(_btn.getTag()))); - //BA.debugLineNum = 163;BA.debugLine="month = (m Mod 12) + 1"; -_month = (int) ((_m%12)+1); - //BA.debugLineNum = 164;BA.debugLine="DrawDays"; -_drawdays(); - //BA.debugLineNum = 165;BA.debugLine="End Sub"; +RDebugUtils.currentLine=26738690; + //BA.debugLineNum = 26738690;BA.debugLine="Dim m As Int = 12 + month - 1 + btn.Tag"; +_m = (int) (12+__ref._month /*int*/ -1+(double)(BA.ObjectToNumber(_btn.getTag()))); +RDebugUtils.currentLine=26738691; + //BA.debugLineNum = 26738691;BA.debugLine="month = (m Mod 12) + 1"; +__ref._month /*int*/ = (int) ((_m%12)+1); +RDebugUtils.currentLine=26738692; + //BA.debugLineNum = 26738692;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=26738693; + //BA.debugLineNum = 26738693;BA.debugLine="End Sub"; return ""; } -public String _btnyear_click() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; - //BA.debugLineNum = 154;BA.debugLine="Private Sub btnYear_Click"; - //BA.debugLineNum = 155;BA.debugLine="Dim btn As B4XView = Sender"; -_btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 156;BA.debugLine="year = year + btn.Tag"; -_year = (int) (_year+(double)(BA.ObjectToNumber(_btn.getTag()))); - //BA.debugLineNum = 157;BA.debugLine="DrawDays"; -_drawdays(); - //BA.debugLineNum = 158;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Private month, year As Int"; -_month = 0; -_year = 0; - //BA.debugLineNum = 4;BA.debugLine="Private boxW, boxH As Float"; -_boxw = 0f; -_boxh = 0f; - //BA.debugLineNum = 5;BA.debugLine="Private vCorrection As Float"; -_vcorrection = 0f; - //BA.debugLineNum = 6;BA.debugLine="Private tempSelectedDay As Int"; -_tempselectedday = 0; - //BA.debugLineNum = 7;BA.debugLine="Private dayOfWeekOffset As Int"; -_dayofweekoffset = 0; - //BA.debugLineNum = 8;BA.debugLine="Private daysInMonth As Int"; -_daysinmonth = 0; - //BA.debugLineNum = 9;BA.debugLine="Private DaysPaneBg As B4XView"; -_dayspanebg = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private DaysPaneFg As B4XView"; -_dayspanefg = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 12;BA.debugLine="Private cvsBackground As B4XCanvas"; -_cvsbackground = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 13;BA.debugLine="Private selectedDate As Long"; -_selecteddate = 0L; - //BA.debugLineNum = 14;BA.debugLine="Private PreviousSelectedDate As Long"; -_previousselecteddate = 0L; - //BA.debugLineNum = 15;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; -_selectedyear = 0; -_selectedmonth = 0; -_selectedday = 0; - //BA.debugLineNum = 16;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; -_highlightedcolor = ((int)0xff001bbd); - //BA.debugLineNum = 17;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; -_selectedcolor = ((int)0xff0ba29b); - //BA.debugLineNum = 18;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; -_daysinmonthcolor = _xui.Color_White; - //BA.debugLineNum = 19;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; -_daysinweekcolor = _xui.Color_Gray; - //BA.debugLineNum = 20;BA.debugLine="Private cvsDays As B4XCanvas"; -_cvsdays = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 21;BA.debugLine="Private DaysTitlesPane As B4XView"; -_daystitlespane = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public FirstDay As Int = 0"; -_firstday = (int) (0); - //BA.debugLineNum = 23;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; -_minyear = (int) (1970); -_maxyear = (int) (2030); - //BA.debugLineNum = 24;BA.debugLine="Public btnMonthLeft As B4XView"; -_btnmonthleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Public btnMonthRight As B4XView"; -_btnmonthright = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Public btnYearLeft As B4XView"; -_btnyearleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Public btnYearRight As B4XView"; -_btnyearright = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Public lblMonth As B4XView"; -_lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Public lblYear As B4XView"; -_lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private pnlDialog As B4XView"; -_pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private months As List"; -_months = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 32;BA.debugLine="Private mDialog As B4XDialog"; -_mdialog = new gunav2.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 33;BA.debugLine="Public CloseOnSelection As Boolean = True"; -_closeonselection = __c.True; - //BA.debugLineNum = 34;BA.debugLine="Public DaysOfWeekNames As List"; -_daysofweeknames = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public String _dayspanefg_touch(int _action,float _x,float _y) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 167;BA.debugLine="Private Sub DaysPaneFg_Touch (Action As Int, X As"; - //BA.debugLineNum = 168;BA.debugLine="Dim p As B4XView = DaysPaneFg"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _dayspanefg; - //BA.debugLineNum = 169;BA.debugLine="HandleMouse(X, Y, Action <> p.TOUCH_ACTION_UP)"; -_handlemouse(_x,_y,_action!=_p.TOUCH_ACTION_UP); - //BA.debugLineNum = 170;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 193;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 194;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; -if (_result!=_xui.DialogResponse_Positive) { - //BA.debugLineNum = 195;BA.debugLine="setDate(PreviousSelectedDate)"; -_setdate(_previousselecteddate); - }; - //BA.debugLineNum = 197;BA.debugLine="End Sub"; -return ""; -} -public String _drawbox(anywheresoftware.b4a.objects.B4XCanvas _c,int _clr,int _x,int _y) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 91;BA.debugLine="Private Sub DrawBox(c As B4XCanvas, clr As Int, x"; - //BA.debugLineNum = 92;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 93;BA.debugLine="r.Initialize(x * boxW, y * boxH, x * boxW + boxW,"; -_r.Initialize((float) (_x*_boxw),(float) (_y*_boxh),(float) (_x*_boxw+_boxw),(float) (_y*_boxh+_boxh)); - //BA.debugLineNum = 94;BA.debugLine="c.DrawRect(r, clr, True, 1dip)"; -_c.DrawRect(_r,_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return ""; -} -public String _drawdays() throws Exception{ +public String _drawdays(gunav2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "drawdays", true)) + {return ((String) Debug.delegate(ba, "drawdays", null));} long _firstdayofmonth = 0L; anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _daysfont = null; int _day = 0; int _row = 0; - //BA.debugLineNum = 62;BA.debugLine="Private Sub DrawDays"; - //BA.debugLineNum = 63;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; -_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1)))); - //BA.debugLineNum = 64;BA.debugLine="lblYear.Text = year"; -_lblyear.setText(BA.ObjectToCharSequence(_year)); - //BA.debugLineNum = 65;BA.debugLine="SetYearsButtonState"; -_setyearsbuttonstate(); - //BA.debugLineNum = 66;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 67;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 68;BA.debugLine="Dim firstDayOfMonth As Long = DateUtils.setDate(y"; -_firstdayofmonth = (long) (_dateutils._setdate(ba,_year,_month,(int) (1))-1); - //BA.debugLineNum = 69;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; -_dayofweekoffset = (int) ((7+__c.DateTime.GetDayOfWeek(_firstdayofmonth)-_firstday)%7); - //BA.debugLineNum = 70;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; -_daysinmonth = _dateutils._numberofdaysinmonth(ba,_month,_year); - //BA.debugLineNum = 71;BA.debugLine="If year = selectedYear And month = selectedMonth"; -if (_year==_selectedyear && _month==_selectedmonth) { - //BA.debugLineNum = 73;BA.debugLine="DrawBox(cvs, SelectedColor, (selectedDay - 1 + d"; -_drawbox(_cvs,_selectedcolor,(int) ((_selectedday-1+_dayofweekoffset)%7),(int) ((_selectedday-1+_dayofweekoffset)/(double)7)); +RDebugUtils.currentLine=26148864; + //BA.debugLineNum = 26148864;BA.debugLine="Private Sub DrawDays"; +RDebugUtils.currentLine=26148865; + //BA.debugLineNum = 26148865;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; +__ref._lblmonth /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._months /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._month /*int*/ -1)))); +RDebugUtils.currentLine=26148866; + //BA.debugLineNum = 26148866;BA.debugLine="lblYear.Text = year"; +__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._year /*int*/ )); +RDebugUtils.currentLine=26148867; + //BA.debugLineNum = 26148867;BA.debugLine="SetYearsButtonState"; +__ref._setyearsbuttonstate /*String*/ (null); +RDebugUtils.currentLine=26148868; + //BA.debugLineNum = 26148868;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=26148869; + //BA.debugLineNum = 26148869;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=26148870; + //BA.debugLineNum = 26148870;BA.debugLine="Dim firstDayOfMonth As Long = DateUtils.setDate(y"; +_firstdayofmonth = (long) (_dateutils._setdate(ba,__ref._year /*int*/ ,__ref._month /*int*/ ,(int) (1))-1); +RDebugUtils.currentLine=26148871; + //BA.debugLineNum = 26148871;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; +__ref._dayofweekoffset /*int*/ = (int) ((7+__c.DateTime.GetDayOfWeek(_firstdayofmonth)-__ref._firstday /*int*/ )%7); +RDebugUtils.currentLine=26148872; + //BA.debugLineNum = 26148872;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; +__ref._daysinmonth /*int*/ = _dateutils._numberofdaysinmonth(ba,__ref._month /*int*/ ,__ref._year /*int*/ ); +RDebugUtils.currentLine=26148873; + //BA.debugLineNum = 26148873;BA.debugLine="If year = selectedYear And month = selectedMonth"; +if (__ref._year /*int*/ ==__ref._selectedyear /*int*/ && __ref._month /*int*/ ==__ref._selectedmonth /*int*/ ) { +RDebugUtils.currentLine=26148875; + //BA.debugLineNum = 26148875;BA.debugLine="DrawBox(cvs, SelectedColor, (selectedDay - 1 + d"; +__ref._drawbox /*String*/ (null,__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ ,__ref._selectedcolor /*int*/ ,(int) ((__ref._selectedday /*int*/ -1+__ref._dayofweekoffset /*int*/ )%7),(int) ((__ref._selectedday /*int*/ -1+__ref._dayofweekoffset /*int*/ )/(double)7)); }; - //BA.debugLineNum = 76;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; -_daysfont = _xui.CreateDefaultBoldFont((float) (14)); - //BA.debugLineNum = 77;BA.debugLine="For day = 1 To daysInMonth"; +RDebugUtils.currentLine=26148878; + //BA.debugLineNum = 26148878;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +_daysfont = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (14)); +RDebugUtils.currentLine=26148879; + //BA.debugLineNum = 26148879;BA.debugLine="For day = 1 To daysInMonth"; { final int step13 = 1; -final int limit13 = _daysinmonth; +final int limit13 = __ref._daysinmonth /*int*/ ; _day = (int) (1) ; for (;_day <= limit13 ;_day = _day + step13 ) { - //BA.debugLineNum = 78;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; -_row = (int) ((_day-1+_dayofweekoffset)/(double)7); - //BA.debugLineNum = 79;BA.debugLine="cvs.DrawText(day, (((dayOfWeekOffset + day - 1)"; -_cvs.DrawText(ba,BA.NumberToString(_day),(float) ((((_dayofweekoffset+_day-1)%7)+0.5)*_boxw),(float) ((_row+0.5)*_boxh+_vcorrection),_daysfont,_daysinmonthcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=26148880; + //BA.debugLineNum = 26148880;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; +_row = (int) ((_day-1+__ref._dayofweekoffset /*int*/ )/(double)7); +RDebugUtils.currentLine=26148881; + //BA.debugLineNum = 26148881;BA.debugLine="cvs.DrawText(day, (((dayOfWeekOffset + day - 1)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawText(ba,BA.NumberToString(_day),(float) ((((__ref._dayofweekoffset /*int*/ +_day-1)%7)+0.5)*__ref._boxw /*float*/ ),(float) ((_row+0.5)*__ref._boxh /*float*/ +__ref._vcorrection /*float*/ ),_daysfont,__ref._daysinmonthcolor /*int*/ ,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); } }; - //BA.debugLineNum = 82;BA.debugLine="cvsBackground.Invalidate"; -_cvsbackground.Invalidate(); - //BA.debugLineNum = 83;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; +RDebugUtils.currentLine=26148884; + //BA.debugLineNum = 26148884;BA.debugLine="cvsBackground.Invalidate"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=26148885; + //BA.debugLineNum = 26148885;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=26148886; + //BA.debugLineNum = 26148886;BA.debugLine="End Sub"; return ""; } -public long _getdate() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub getDate As Long"; - //BA.debugLineNum = 99;BA.debugLine="Return selectedDate"; -if (true) return _selecteddate; - //BA.debugLineNum = 100;BA.debugLine="End Sub"; -return 0L; +public String _btnyear_click(gunav2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "btnyear_click", true)) + {return ((String) Debug.delegate(ba, "btnyear_click", null));} +anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; +RDebugUtils.currentLine=26673152; + //BA.debugLineNum = 26673152;BA.debugLine="Private Sub btnYear_Click"; +RDebugUtils.currentLine=26673153; + //BA.debugLineNum = 26673153;BA.debugLine="Dim btn As B4XView = Sender"; +_btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); +RDebugUtils.currentLine=26673154; + //BA.debugLineNum = 26673154;BA.debugLine="year = year + btn.Tag"; +__ref._year /*int*/ = (int) (__ref._year /*int*/ +(double)(BA.ObjectToNumber(_btn.getTag()))); +RDebugUtils.currentLine=26673155; + //BA.debugLineNum = 26673155;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=26673156; + //BA.debugLineNum = 26673156;BA.debugLine="End Sub"; +return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 172;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 173;BA.debugLine="Return pnlDialog"; -if (true) return _pnldialog; - //BA.debugLineNum = 174;BA.debugLine="End Sub"; -return null; +public String _class_globals(gunav2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +RDebugUtils.currentLine=26017792; + //BA.debugLineNum = 26017792;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=26017793; + //BA.debugLineNum = 26017793;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=26017794; + //BA.debugLineNum = 26017794;BA.debugLine="Private month, year As Int"; +_month = 0; +_year = 0; +RDebugUtils.currentLine=26017795; + //BA.debugLineNum = 26017795;BA.debugLine="Private boxW, boxH As Float"; +_boxw = 0f; +_boxh = 0f; +RDebugUtils.currentLine=26017796; + //BA.debugLineNum = 26017796;BA.debugLine="Private vCorrection As Float"; +_vcorrection = 0f; +RDebugUtils.currentLine=26017797; + //BA.debugLineNum = 26017797;BA.debugLine="Private tempSelectedDay As Int"; +_tempselectedday = 0; +RDebugUtils.currentLine=26017798; + //BA.debugLineNum = 26017798;BA.debugLine="Private dayOfWeekOffset As Int"; +_dayofweekoffset = 0; +RDebugUtils.currentLine=26017799; + //BA.debugLineNum = 26017799;BA.debugLine="Private daysInMonth As Int"; +_daysinmonth = 0; +RDebugUtils.currentLine=26017800; + //BA.debugLineNum = 26017800;BA.debugLine="Private DaysPaneBg As B4XView"; +_dayspanebg = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017801; + //BA.debugLineNum = 26017801;BA.debugLine="Private DaysPaneFg As B4XView"; +_dayspanefg = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017802; + //BA.debugLineNum = 26017802;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=26017803; + //BA.debugLineNum = 26017803;BA.debugLine="Private cvsBackground As B4XCanvas"; +_cvsbackground = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=26017804; + //BA.debugLineNum = 26017804;BA.debugLine="Private selectedDate As Long"; +_selecteddate = 0L; +RDebugUtils.currentLine=26017805; + //BA.debugLineNum = 26017805;BA.debugLine="Private PreviousSelectedDate As Long"; +_previousselecteddate = 0L; +RDebugUtils.currentLine=26017806; + //BA.debugLineNum = 26017806;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; +_selectedyear = 0; +_selectedmonth = 0; +_selectedday = 0; +RDebugUtils.currentLine=26017807; + //BA.debugLineNum = 26017807;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; +_highlightedcolor = ((int)0xff001bbd); +RDebugUtils.currentLine=26017808; + //BA.debugLineNum = 26017808;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; +_selectedcolor = ((int)0xff0ba29b); +RDebugUtils.currentLine=26017809; + //BA.debugLineNum = 26017809;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; +_daysinmonthcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=26017810; + //BA.debugLineNum = 26017810;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; +_daysinweekcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Gray; +RDebugUtils.currentLine=26017811; + //BA.debugLineNum = 26017811;BA.debugLine="Private cvsDays As B4XCanvas"; +_cvsdays = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=26017812; + //BA.debugLineNum = 26017812;BA.debugLine="Private DaysTitlesPane As B4XView"; +_daystitlespane = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017813; + //BA.debugLineNum = 26017813;BA.debugLine="Public FirstDay As Int = 0"; +_firstday = (int) (0); +RDebugUtils.currentLine=26017814; + //BA.debugLineNum = 26017814;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; +_minyear = (int) (1970); +_maxyear = (int) (2030); +RDebugUtils.currentLine=26017815; + //BA.debugLineNum = 26017815;BA.debugLine="Public btnMonthLeft As B4XView"; +_btnmonthleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017816; + //BA.debugLineNum = 26017816;BA.debugLine="Public btnMonthRight As B4XView"; +_btnmonthright = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017817; + //BA.debugLineNum = 26017817;BA.debugLine="Public btnYearLeft As B4XView"; +_btnyearleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017818; + //BA.debugLineNum = 26017818;BA.debugLine="Public btnYearRight As B4XView"; +_btnyearright = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017819; + //BA.debugLineNum = 26017819;BA.debugLine="Public lblMonth As B4XView"; +_lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017820; + //BA.debugLineNum = 26017820;BA.debugLine="Public lblYear As B4XView"; +_lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017821; + //BA.debugLineNum = 26017821;BA.debugLine="Private pnlDialog As B4XView"; +_pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017822; + //BA.debugLineNum = 26017822;BA.debugLine="Private months As List"; +_months = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=26017823; + //BA.debugLineNum = 26017823;BA.debugLine="Private mDialog As B4XDialog"; +_mdialog = new gunav2.keymon.com.mx.b4xdialog(); +RDebugUtils.currentLine=26017824; + //BA.debugLineNum = 26017824;BA.debugLine="Public CloseOnSelection As Boolean = True"; +_closeonselection = __c.True; +RDebugUtils.currentLine=26017825; + //BA.debugLineNum = 26017825;BA.debugLine="Public DaysOfWeekNames As List"; +_daysofweeknames = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=26017826; + //BA.debugLineNum = 26017826;BA.debugLine="End Sub"; +return ""; } -public String _handlemouse(double _x,double _y,boolean _move) throws Exception{ +public String _dayspanefg_touch(gunav2.keymon.com.mx.b4xdatetemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "dayspanefg_touch", true)) + {return ((String) Debug.delegate(ba, "dayspanefg_touch", new Object[] {_action,_x,_y}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=26804224; + //BA.debugLineNum = 26804224;BA.debugLine="Private Sub DaysPaneFg_Touch (Action As Int, X As"; +RDebugUtils.currentLine=26804225; + //BA.debugLineNum = 26804225;BA.debugLine="Dim p As B4XView = DaysPaneFg"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._dayspanefg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=26804226; + //BA.debugLineNum = 26804226;BA.debugLine="HandleMouse(X, Y, Action <> p.TOUCH_ACTION_UP)"; +__ref._handlemouse /*String*/ (null,_x,_y,_action!=_p.TOUCH_ACTION_UP); +RDebugUtils.currentLine=26804227; + //BA.debugLineNum = 26804227;BA.debugLine="End Sub"; +return ""; +} +public String _handlemouse(gunav2.keymon.com.mx.b4xdatetemplate __ref,double _x,double _y,boolean _move) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "handlemouse", true)) + {return ((String) Debug.delegate(ba, "handlemouse", new Object[] {_x,_y,_move}));} int _boxx = 0; int _boxy = 0; int _newselectedday = 0; boolean _validday = false; - //BA.debugLineNum = 123;BA.debugLine="Private Sub HandleMouse(x As Double, y As Double,"; - //BA.debugLineNum = 124;BA.debugLine="Dim boxX = x / boxW, boxY = y / boxH As Int"; -_boxx = (int) (_x/(double)_boxw); -_boxy = (int) (_y/(double)_boxh); - //BA.debugLineNum = 125;BA.debugLine="Dim newSelectedDay As Int = boxY * 7 + boxX + 1 -"; -_newselectedday = (int) (_boxy*7+_boxx+1-_dayofweekoffset); - //BA.debugLineNum = 126;BA.debugLine="Dim validDay As Boolean = newSelectedDay > 0 And"; -_validday = _newselectedday>0 && _newselectedday<=_daysinmonth; - //BA.debugLineNum = 127;BA.debugLine="If move Then"; +RDebugUtils.currentLine=26542080; + //BA.debugLineNum = 26542080;BA.debugLine="Private Sub HandleMouse(x As Double, y As Double,"; +RDebugUtils.currentLine=26542081; + //BA.debugLineNum = 26542081;BA.debugLine="Dim boxX = x / boxW, boxY = y / boxH As Int"; +_boxx = (int) (_x/(double)__ref._boxw /*float*/ ); +_boxy = (int) (_y/(double)__ref._boxh /*float*/ ); +RDebugUtils.currentLine=26542082; + //BA.debugLineNum = 26542082;BA.debugLine="Dim newSelectedDay As Int = boxY * 7 + boxX + 1 -"; +_newselectedday = (int) (_boxy*7+_boxx+1-__ref._dayofweekoffset /*int*/ ); +RDebugUtils.currentLine=26542083; + //BA.debugLineNum = 26542083;BA.debugLine="Dim validDay As Boolean = newSelectedDay > 0 And"; +_validday = _newselectedday>0 && _newselectedday<=__ref._daysinmonth /*int*/ ; +RDebugUtils.currentLine=26542084; + //BA.debugLineNum = 26542084;BA.debugLine="If move Then"; if (_move) { - //BA.debugLineNum = 128;BA.debugLine="If newSelectedDay = tempSelectedDay Then Return"; -if (_newselectedday==_tempselectedday) { +RDebugUtils.currentLine=26542085; + //BA.debugLineNum = 26542085;BA.debugLine="If newSelectedDay = tempSelectedDay Then Return"; +if (_newselectedday==__ref._tempselectedday /*int*/ ) { if (true) return "";}; - //BA.debugLineNum = 129;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 130;BA.debugLine="tempSelectedDay = newSelectedDay"; -_tempselectedday = _newselectedday; - //BA.debugLineNum = 131;BA.debugLine="If validDay Then"; +RDebugUtils.currentLine=26542086; + //BA.debugLineNum = 26542086;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=26542087; + //BA.debugLineNum = 26542087;BA.debugLine="tempSelectedDay = newSelectedDay"; +__ref._tempselectedday /*int*/ = _newselectedday; +RDebugUtils.currentLine=26542088; + //BA.debugLineNum = 26542088;BA.debugLine="If validDay Then"; if (_validday) { - //BA.debugLineNum = 132;BA.debugLine="DrawBox(cvsBackground, HighlightedColor, boxX,"; -_drawbox(_cvsbackground,_highlightedcolor,_boxx,_boxy); +RDebugUtils.currentLine=26542089; + //BA.debugLineNum = 26542089;BA.debugLine="DrawBox(cvsBackground, HighlightedColor, boxX,"; +__ref._drawbox /*String*/ (null,__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ ,__ref._highlightedcolor /*int*/ ,_boxx,_boxy); }; }else { - //BA.debugLineNum = 135;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 136;BA.debugLine="If validDay Then"; +RDebugUtils.currentLine=26542092; + //BA.debugLineNum = 26542092;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=26542093; + //BA.debugLineNum = 26542093;BA.debugLine="If validDay Then"; if (_validday) { - //BA.debugLineNum = 137;BA.debugLine="SelectDay(newSelectedDay)"; -_selectday(_newselectedday); - //BA.debugLineNum = 138;BA.debugLine="If CloseOnSelection Then"; -if (_closeonselection) { - //BA.debugLineNum = 139;BA.debugLine="Hide"; -_hide(); +RDebugUtils.currentLine=26542094; + //BA.debugLineNum = 26542094;BA.debugLine="SelectDay(newSelectedDay)"; +__ref._selectday /*String*/ (null,_newselectedday); +RDebugUtils.currentLine=26542095; + //BA.debugLineNum = 26542095;BA.debugLine="If CloseOnSelection Then"; +if (__ref._closeonselection /*boolean*/ ) { +RDebugUtils.currentLine=26542096; + //BA.debugLineNum = 26542096;BA.debugLine="Hide"; +__ref._hide /*String*/ (null); }else { - //BA.debugLineNum = 141;BA.debugLine="DrawDays"; -_drawdays(); +RDebugUtils.currentLine=26542098; + //BA.debugLineNum = 26542098;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); }; }; }; - //BA.debugLineNum = 146;BA.debugLine="cvsBackground.Invalidate"; -_cvsbackground.Invalidate(); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; +RDebugUtils.currentLine=26542103; + //BA.debugLineNum = 26542103;BA.debugLine="cvsBackground.Invalidate"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=26542104; + //BA.debugLineNum = 26542104;BA.debugLine="End Sub"; return ""; } -public String _hide() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Private Sub Hide"; - //BA.debugLineNum = 150;BA.debugLine="mDialog.Close(xui.DialogResponse_Positive)"; -_mdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +public String _dialogclosed(gunav2.keymon.com.mx.b4xdatetemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=27000832; + //BA.debugLineNum = 27000832;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=27000833; + //BA.debugLineNum = 27000833;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +if (_result!=__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=27000834; + //BA.debugLineNum = 27000834;BA.debugLine="setDate(PreviousSelectedDate)"; +__ref._setdate /*String*/ (null,__ref._previousselecteddate /*long*/ ); + }; +RDebugUtils.currentLine=27000836; + //BA.debugLineNum = 27000836;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 37;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 38;BA.debugLine="pnlDialog = xui.CreatePanel(\"\")"; -_pnldialog = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 39;BA.debugLine="pnlDialog.SetLayoutAnimated(0, 0, 0, 320dip,300di"; -_pnldialog.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (320)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 40;BA.debugLine="pnlDialog.LoadLayout(\"DateTemplate\")"; -_pnldialog.LoadLayout("DateTemplate",ba); - //BA.debugLineNum = 41;BA.debugLine="pnlDialog.Tag = Me"; -_pnldialog.setTag(this); - //BA.debugLineNum = 42;BA.debugLine="month = DateTime.GetMonth(DateTime.Now)"; -_month = __c.DateTime.GetMonth(__c.DateTime.getNow()); - //BA.debugLineNum = 43;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; -_year = __c.DateTime.GetYear(__c.DateTime.getNow()); - //BA.debugLineNum = 44;BA.debugLine="months = DateUtils.GetMonthsNames"; -_months = _dateutils._getmonthsnames(ba); - //BA.debugLineNum = 45;BA.debugLine="selectedDate = DateTime.Now"; -_selecteddate = __c.DateTime.getNow(); - //BA.debugLineNum = 46;BA.debugLine="setDate(selectedDate)"; -_setdate(_selecteddate); - //BA.debugLineNum = 47;BA.debugLine="cvs.Initialize(DaysPaneFg)"; -_cvs.Initialize(_dayspanefg); - //BA.debugLineNum = 48;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; -_cvsbackground.Initialize(_dayspanebg); - //BA.debugLineNum = 49;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; -_boxw = (float) (_cvs.getTargetRect().getWidth()/(double)7); - //BA.debugLineNum = 50;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; -_boxh = (float) (_cvs.getTargetRect().getHeight()/(double)6); - //BA.debugLineNum = 51;BA.debugLine="vCorrection = 5dip"; -_vcorrection = (float) (__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 52;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; -_cvsdays.Initialize(_daystitlespane); - //BA.debugLineNum = 58;BA.debugLine="DaysOfWeekNames.Initialize"; -_daysofweeknames.Initialize(); - //BA.debugLineNum = 59;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; -_daysofweeknames.AddAll(_dateutils._getdaysnames(ba)); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public String _selectday(int _day) throws Exception{ - //BA.debugLineNum = 115;BA.debugLine="Private Sub SelectDay(day As Int)"; - //BA.debugLineNum = 116;BA.debugLine="selectedDate = DateUtils.setDate(year, month, day"; -_selecteddate = _dateutils._setdate(ba,_year,_month,_day); - //BA.debugLineNum = 117;BA.debugLine="selectedDay = day"; -_selectedday = _day; - //BA.debugLineNum = 118;BA.debugLine="selectedMonth = month"; -_selectedmonth = _month; - //BA.debugLineNum = 119;BA.debugLine="selectedYear = year"; -_selectedyear = _year; - //BA.debugLineNum = 120;BA.debugLine="End Sub"; -return ""; -} -public String _setdate(long _date) throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Public Sub setDate(date As Long)"; - //BA.debugLineNum = 104;BA.debugLine="If lblYear.IsInitialized = False Then"; -if (_lblyear.IsInitialized()==__c.False) { - //BA.debugLineNum = 105;BA.debugLine="selectedDate = date"; -_selecteddate = _date; - //BA.debugLineNum = 106;BA.debugLine="Return 'the date will be set after the layout is"; +public String _setdate(gunav2.keymon.com.mx.b4xdatetemplate __ref,long _date) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "setdate", true)) + {return ((String) Debug.delegate(ba, "setdate", new Object[] {_date}));} +RDebugUtils.currentLine=26411008; + //BA.debugLineNum = 26411008;BA.debugLine="Public Sub setDate(date As Long)"; +RDebugUtils.currentLine=26411010; + //BA.debugLineNum = 26411010;BA.debugLine="If lblYear.IsInitialized = False Then"; +if (__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()==__c.False) { +RDebugUtils.currentLine=26411011; + //BA.debugLineNum = 26411011;BA.debugLine="selectedDate = date"; +__ref._selecteddate /*long*/ = _date; +RDebugUtils.currentLine=26411012; + //BA.debugLineNum = 26411012;BA.debugLine="Return 'the date will be set after the layout is"; if (true) return ""; }; - //BA.debugLineNum = 108;BA.debugLine="year = DateTime.GetYear(date)"; -_year = __c.DateTime.GetYear(_date); - //BA.debugLineNum = 109;BA.debugLine="month = DateTime.GetMonth(date)"; -_month = __c.DateTime.GetMonth(_date); - //BA.debugLineNum = 110;BA.debugLine="SelectDay(DateTime.GetDayOfMonth(date))"; -_selectday(__c.DateTime.GetDayOfMonth(_date)); - //BA.debugLineNum = 111;BA.debugLine="lblYear.Text = year"; -_lblyear.setText(BA.ObjectToCharSequence(_year)); - //BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; -_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1)))); - //BA.debugLineNum = 113;BA.debugLine="End Sub"; +RDebugUtils.currentLine=26411014; + //BA.debugLineNum = 26411014;BA.debugLine="year = DateTime.GetYear(date)"; +__ref._year /*int*/ = __c.DateTime.GetYear(_date); +RDebugUtils.currentLine=26411015; + //BA.debugLineNum = 26411015;BA.debugLine="month = DateTime.GetMonth(date)"; +__ref._month /*int*/ = __c.DateTime.GetMonth(_date); +RDebugUtils.currentLine=26411016; + //BA.debugLineNum = 26411016;BA.debugLine="SelectDay(DateTime.GetDayOfMonth(date))"; +__ref._selectday /*String*/ (null,__c.DateTime.GetDayOfMonth(_date)); +RDebugUtils.currentLine=26411017; + //BA.debugLineNum = 26411017;BA.debugLine="lblYear.Text = year"; +__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._year /*int*/ )); +RDebugUtils.currentLine=26411018; + //BA.debugLineNum = 26411018;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; +__ref._lblmonth /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._months /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._month /*int*/ -1)))); +RDebugUtils.currentLine=26411019; + //BA.debugLineNum = 26411019;BA.debugLine="End Sub"; return ""; } -public String _setyearsbuttonstate() throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Private Sub SetYearsButtonState"; - //BA.debugLineNum = 87;BA.debugLine="btnYearLeft.Enabled = year > MinYear"; -_btnyearleft.setEnabled(_year>_minyear); - //BA.debugLineNum = 88;BA.debugLine="btnYearRight.Enabled = year < MaxYear"; -_btnyearright.setEnabled(_year<_maxyear); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; +public String _drawbox(gunav2.keymon.com.mx.b4xdatetemplate __ref,anywheresoftware.b4a.objects.B4XCanvas _c,int _clr,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "drawbox", true)) + {return ((String) Debug.delegate(ba, "drawbox", new Object[] {_c,_clr,_x,_y}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=26279936; + //BA.debugLineNum = 26279936;BA.debugLine="Private Sub DrawBox(c As B4XCanvas, clr As Int, x"; +RDebugUtils.currentLine=26279937; + //BA.debugLineNum = 26279937;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=26279938; + //BA.debugLineNum = 26279938;BA.debugLine="r.Initialize(x * boxW, y * boxH, x * boxW + boxW,"; +_r.Initialize((float) (_x*__ref._boxw /*float*/ ),(float) (_y*__ref._boxh /*float*/ ),(float) (_x*__ref._boxw /*float*/ +__ref._boxw /*float*/ ),(float) (_y*__ref._boxh /*float*/ +__ref._boxh /*float*/ )); +RDebugUtils.currentLine=26279939; + //BA.debugLineNum = 26279939;BA.debugLine="c.DrawRect(r, clr, True, 1dip)"; +_c.DrawRect(_r,_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); +RDebugUtils.currentLine=26279940; + //BA.debugLineNum = 26279940;BA.debugLine="End Sub"; return ""; } -public void _show(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public String _setyearsbuttonstate(gunav2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "setyearsbuttonstate", true)) + {return ((String) Debug.delegate(ba, "setyearsbuttonstate", null));} +RDebugUtils.currentLine=26214400; + //BA.debugLineNum = 26214400;BA.debugLine="Private Sub SetYearsButtonState"; +RDebugUtils.currentLine=26214401; + //BA.debugLineNum = 26214401;BA.debugLine="btnYearLeft.Enabled = year > MinYear"; +__ref._btnyearleft /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._year /*int*/ >__ref._minyear /*int*/ ); +RDebugUtils.currentLine=26214402; + //BA.debugLineNum = 26214402;BA.debugLine="btnYearRight.Enabled = year < MaxYear"; +__ref._btnyearright /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._year /*int*/ <__ref._maxyear /*int*/ ); +RDebugUtils.currentLine=26214403; + //BA.debugLineNum = 26214403;BA.debugLine="End Sub"; +return ""; +} +public long _getdate(gunav2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "getdate", true)) + {return ((Long) Debug.delegate(ba, "getdate", null));} +RDebugUtils.currentLine=26345472; + //BA.debugLineNum = 26345472;BA.debugLine="Public Sub getDate As Long"; +RDebugUtils.currentLine=26345473; + //BA.debugLineNum = 26345473;BA.debugLine="Return selectedDate"; +if (true) return __ref._selecteddate /*long*/ ; +RDebugUtils.currentLine=26345474; + //BA.debugLineNum = 26345474;BA.debugLine="End Sub"; +return 0L; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdatetemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=26869760; + //BA.debugLineNum = 26869760;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=26869761; + //BA.debugLineNum = 26869761;BA.debugLine="Return pnlDialog"; +if (true) return __ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=26869762; + //BA.debugLineNum = 26869762;BA.debugLine="End Sub"; +return null; +} +public String _selectday(gunav2.keymon.com.mx.b4xdatetemplate __ref,int _day) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "selectday", true)) + {return ((String) Debug.delegate(ba, "selectday", new Object[] {_day}));} +RDebugUtils.currentLine=26476544; + //BA.debugLineNum = 26476544;BA.debugLine="Private Sub SelectDay(day As Int)"; +RDebugUtils.currentLine=26476545; + //BA.debugLineNum = 26476545;BA.debugLine="selectedDate = DateUtils.setDate(year, month, day"; +__ref._selecteddate /*long*/ = _dateutils._setdate(ba,__ref._year /*int*/ ,__ref._month /*int*/ ,_day); +RDebugUtils.currentLine=26476546; + //BA.debugLineNum = 26476546;BA.debugLine="selectedDay = day"; +__ref._selectedday /*int*/ = _day; +RDebugUtils.currentLine=26476547; + //BA.debugLineNum = 26476547;BA.debugLine="selectedMonth = month"; +__ref._selectedmonth /*int*/ = __ref._month /*int*/ ; +RDebugUtils.currentLine=26476548; + //BA.debugLineNum = 26476548;BA.debugLine="selectedYear = year"; +__ref._selectedyear /*int*/ = __ref._year /*int*/ ; +RDebugUtils.currentLine=26476549; + //BA.debugLineNum = 26476549;BA.debugLine="End Sub"; +return ""; +} +public String _hide(gunav2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "hide", true)) + {return ((String) Debug.delegate(ba, "hide", null));} +RDebugUtils.currentLine=26607616; + //BA.debugLineNum = 26607616;BA.debugLine="Private Sub Hide"; +RDebugUtils.currentLine=26607617; + //BA.debugLineNum = 26607617;BA.debugLine="mDialog.Close(xui.DialogResponse_Positive)"; +__ref._mdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); +RDebugUtils.currentLine=26607618; + //BA.debugLineNum = 26607618;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(gunav2.keymon.com.mx.b4xdatetemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=26083328; + //BA.debugLineNum = 26083328;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=26083329; + //BA.debugLineNum = 26083329;BA.debugLine="pnlDialog = xui.CreatePanel(\"\")"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=26083330; + //BA.debugLineNum = 26083330;BA.debugLine="pnlDialog.SetLayoutAnimated(0, 0, 0, 320dip,300di"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (320)),__c.DipToCurrent((int) (300))); +RDebugUtils.currentLine=26083331; + //BA.debugLineNum = 26083331;BA.debugLine="pnlDialog.LoadLayout(\"DateTemplate\")"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("DateTemplate",ba); +RDebugUtils.currentLine=26083332; + //BA.debugLineNum = 26083332;BA.debugLine="pnlDialog.Tag = Me"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=26083333; + //BA.debugLineNum = 26083333;BA.debugLine="month = DateTime.GetMonth(DateTime.Now)"; +__ref._month /*int*/ = __c.DateTime.GetMonth(__c.DateTime.getNow()); +RDebugUtils.currentLine=26083334; + //BA.debugLineNum = 26083334;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; +__ref._year /*int*/ = __c.DateTime.GetYear(__c.DateTime.getNow()); +RDebugUtils.currentLine=26083335; + //BA.debugLineNum = 26083335;BA.debugLine="months = DateUtils.GetMonthsNames"; +__ref._months /*anywheresoftware.b4a.objects.collections.List*/ = _dateutils._getmonthsnames(ba); +RDebugUtils.currentLine=26083336; + //BA.debugLineNum = 26083336;BA.debugLine="selectedDate = DateTime.Now"; +__ref._selecteddate /*long*/ = __c.DateTime.getNow(); +RDebugUtils.currentLine=26083337; + //BA.debugLineNum = 26083337;BA.debugLine="setDate(selectedDate)"; +__ref._setdate /*String*/ (null,__ref._selecteddate /*long*/ ); +RDebugUtils.currentLine=26083338; + //BA.debugLineNum = 26083338;BA.debugLine="cvs.Initialize(DaysPaneFg)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._dayspanefg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=26083339; + //BA.debugLineNum = 26083339;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._dayspanebg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=26083340; + //BA.debugLineNum = 26083340;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; +__ref._boxw /*float*/ = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()/(double)7); +RDebugUtils.currentLine=26083341; + //BA.debugLineNum = 26083341;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; +__ref._boxh /*float*/ = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()/(double)6); +RDebugUtils.currentLine=26083342; + //BA.debugLineNum = 26083342;BA.debugLine="vCorrection = 5dip"; +__ref._vcorrection /*float*/ = (float) (__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=26083343; + //BA.debugLineNum = 26083343;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._daystitlespane /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=26083349; + //BA.debugLineNum = 26083349;BA.debugLine="DaysOfWeekNames.Initialize"; +__ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=26083350; + //BA.debugLineNum = 26083350;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; +__ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ .AddAll(_dateutils._getdaysnames(ba)); +RDebugUtils.currentLine=26083351; + //BA.debugLineNum = 26083351;BA.debugLine="End Sub"; +return ""; +} +public void _show(gunav2.keymon.com.mx.b4xdatetemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(gunav2.keymon.com.mx.b4xdatetemplate parent,gunav2.keymon.com.mx.b4xdialog _dialog) { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xdatetemplate parent,gunav2.keymon.com.mx.b4xdatetemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xdatetemplate __ref; gunav2.keymon.com.mx.b4xdatetemplate parent; gunav2.keymon.com.mx.b4xdialog _dialog; anywheresoftware.b4a.objects.collections.List _days = null; @@ -435,6 +649,7 @@ int limit4; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdatetemplate"; while (true) { switch (state) { @@ -444,22 +659,26 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 177;BA.debugLine="Dim days As List = DaysOfWeekNames"; +RDebugUtils.currentLine=26935297; + //BA.debugLineNum = 26935297;BA.debugLine="Dim days As List = DaysOfWeekNames"; _days = new anywheresoftware.b4a.objects.collections.List(); -_days = parent._daysofweeknames; - //BA.debugLineNum = 178;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; -_daysfont = parent._xui.CreateDefaultBoldFont((float) (14)); - //BA.debugLineNum = 179;BA.debugLine="cvsDays.ClearRect(cvsDays.TargetRect)"; -parent._cvsdays.ClearRect(parent._cvsdays.getTargetRect()); - //BA.debugLineNum = 180;BA.debugLine="For i = FirstDay To FirstDay + 7 - 1"; +_days = __ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=26935298; + //BA.debugLineNum = 26935298;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +_daysfont = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (14)); +RDebugUtils.currentLine=26935299; + //BA.debugLineNum = 26935299;BA.debugLine="cvsDays.ClearRect(cvsDays.TargetRect)"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=26935300; + //BA.debugLineNum = 26935300;BA.debugLine="For i = FirstDay To FirstDay + 7 - 1"; if (true) break; case 1: //for this.state = 10; step4 = 1; -limit4 = (int) (parent._firstday+7-1); -_i = parent._firstday ; +limit4 = (int) (__ref._firstday /*int*/ +7-1); +_i = __ref._firstday /*int*/ ; this.state = 11; if (true) break; @@ -478,9 +697,11 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 181;BA.debugLine="Dim d As String = days.Get(i Mod 7)"; +RDebugUtils.currentLine=26935301; + //BA.debugLineNum = 26935301;BA.debugLine="Dim d As String = days.Get(i Mod 7)"; _d = BA.ObjectToString(_days.Get((int) (_i%7))); - //BA.debugLineNum = 182;BA.debugLine="If d.Length > 2 Then d = d.SubString2(0, 2)"; +RDebugUtils.currentLine=26935302; + //BA.debugLineNum = 26935302;BA.debugLine="If d.Length > 2 Then d = d.SubString2(0, 2)"; if (true) break; case 4: @@ -500,8 +721,9 @@ case 9: //C this.state = 12; ; - //BA.debugLineNum = 183;BA.debugLine="cvsDays.DrawText(d, (i - FirstDay + 0.5) * boxW,"; -parent._cvsdays.DrawText(ba,_d,(float) ((_i-parent._firstday+0.5)*parent._boxw),(float) (parent.__c.DipToCurrent((int) (20))),_daysfont,parent._daysinweekcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=26935303; + //BA.debugLineNum = 26935303;BA.debugLine="cvsDays.DrawText(d, (i - FirstDay + 0.5) * boxW,"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawText(ba,_d,(float) ((_i-__ref._firstday /*int*/ +0.5)*__ref._boxw /*float*/ ),(float) (parent.__c.DipToCurrent((int) (20))),_daysfont,__ref._daysinweekcolor /*int*/ ,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); if (true) break; if (true) break; @@ -509,37 +731,36 @@ case 10: //C this.state = -1; ; - //BA.debugLineNum = 185;BA.debugLine="cvsDays.Invalidate"; -parent._cvsdays.Invalidate(); - //BA.debugLineNum = 186;BA.debugLine="mDialog = Dialog"; -parent._mdialog = _dialog; - //BA.debugLineNum = 187;BA.debugLine="DrawDays"; -parent._drawdays(); - //BA.debugLineNum = 188;BA.debugLine="PreviousSelectedDate = selectedDate"; -parent._previousselecteddate = parent._selecteddate; - //BA.debugLineNum = 189;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); +RDebugUtils.currentLine=26935305; + //BA.debugLineNum = 26935305;BA.debugLine="cvsDays.Invalidate"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=26935306; + //BA.debugLineNum = 26935306;BA.debugLine="mDialog = Dialog"; +__ref._mdialog /*gunav2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=26935307; + //BA.debugLineNum = 26935307;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=26935308; + //BA.debugLineNum = 26935308;BA.debugLine="PreviousSelectedDate = selectedDate"; +__ref._previousselecteddate /*long*/ = __ref._selecteddate /*long*/ ; +RDebugUtils.currentLine=26935309; + //BA.debugLineNum = 26935309;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdatetemplate", "show"),(int) (0)); this.state = 13; return; case 13: //C this.state = -1; ; - //BA.debugLineNum = 190;BA.debugLine="SetYearsButtonState"; -parent._setyearsbuttonstate(); - //BA.debugLineNum = 191;BA.debugLine="End Sub"; +RDebugUtils.currentLine=26935310; + //BA.debugLineNum = 26935310;BA.debugLine="SetYearsButtonState"; +__ref._setyearsbuttonstate /*String*/ (null); +RDebugUtils.currentLine=26935311; + //BA.debugLineNum = 26935311;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((gunav2.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xdialog.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xdialog.java index 8402d5b..9f2af7d 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xdialog.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xdialog.java @@ -10,7 +10,7 @@ public class b4xdialog extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xdialog"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xdialog"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xdialog extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public int _buttonsheight = 0; public int _titlebarheight = 0; @@ -58,25 +65,65 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _background_click() throws Exception{ - //BA.debugLineNum = 258;BA.debugLine="Private Sub Background_Click"; - //BA.debugLineNum = 260;BA.debugLine="End Sub"; +public boolean _close(gunav2.keymon.com.mx.b4xdialog __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "close", true)) + {return ((Boolean) Debug.delegate(ba, "close", new Object[] {_result}));} +RDebugUtils.currentLine=27721728; + //BA.debugLineNum = 27721728;BA.debugLine="Public Sub Close (Result As Int) As Boolean"; +RDebugUtils.currentLine=27721729; + //BA.debugLineNum = 27721729;BA.debugLine="If getVisible Then"; +if (__ref._getvisible /*boolean*/ (null)) { +RDebugUtils.currentLine=27721730; + //BA.debugLineNum = 27721730;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; +__c.CallSubDelayed2(ba,this,"CloseMessage",(Object)(_result)); +RDebugUtils.currentLine=27721731; + //BA.debugLineNum = 27721731;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=27721733; + //BA.debugLineNum = 27721733;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=27721734; + //BA.debugLineNum = 27721734;BA.debugLine="End Sub"; +return false; +} +public String _background_click(gunav2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "background_click", true)) + {return ((String) Debug.delegate(ba, "background_click", null));} +RDebugUtils.currentLine=27852800; + //BA.debugLineNum = 27852800;BA.debugLine="Private Sub Background_Click"; +RDebugUtils.currentLine=27852802; + //BA.debugLineNum = 27852802;BA.debugLine="End Sub"; return ""; } -public String _background_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Private Sub Background_Touch (Action As Int, X As"; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +public String _background_touch(gunav2.keymon.com.mx.b4xdialog __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "background_touch", true)) + {return ((String) Debug.delegate(ba, "background_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=27787264; + //BA.debugLineNum = 27787264;BA.debugLine="Private Sub Background_Touch (Action As Int, X As"; +RDebugUtils.currentLine=27787266; + //BA.debugLineNum = 27787266;BA.debugLine="End Sub"; return ""; } -public b4a.example.bitmapcreator _blur(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +public b4a.example.bitmapcreator _blur(gunav2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "blur", true)) + {return ((b4a.example.bitmapcreator) Debug.delegate(ba, "blur", new Object[] {_bmp}));} b4a.example.bitmapcreator _bc = null; int _reducescale = 0; int _count = 0; @@ -86,18 +133,25 @@ int _m = 0; int _steps = 0; int _y = 0; int _x = 0; - //BA.debugLineNum = 287;BA.debugLine="Private Sub Blur (bmp As B4XBitmap) As BitmapCreat"; - //BA.debugLineNum = 288;BA.debugLine="Dim bc As BitmapCreator"; +RDebugUtils.currentLine=28049408; + //BA.debugLineNum = 28049408;BA.debugLine="Private Sub Blur (bmp As B4XBitmap) As BitmapCreat"; +RDebugUtils.currentLine=28049409; + //BA.debugLineNum = 28049409;BA.debugLine="Dim bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 289;BA.debugLine="Dim ReduceScale As Int = BlurReduceScale"; -_reducescale = _blurreducescale; - //BA.debugLineNum = 290;BA.debugLine="bc.Initialize(bmp.Width / ReduceScale / bmp.Scale"; +RDebugUtils.currentLine=28049410; + //BA.debugLineNum = 28049410;BA.debugLine="Dim ReduceScale As Int = BlurReduceScale"; +_reducescale = __ref._blurreducescale /*int*/ ; +RDebugUtils.currentLine=28049411; + //BA.debugLineNum = 28049411;BA.debugLine="bc.Initialize(bmp.Width / ReduceScale / bmp.Scale"; _bc._initialize(ba,(int) (_bmp.getWidth()/(double)_reducescale/(double)_bmp.getScale()),(int) (_bmp.getHeight()/(double)_reducescale/(double)_bmp.getScale())); - //BA.debugLineNum = 291;BA.debugLine="bc.CopyPixelsFromBitmap(bmp)"; +RDebugUtils.currentLine=28049412; + //BA.debugLineNum = 28049412;BA.debugLine="bc.CopyPixelsFromBitmap(bmp)"; _bc._copypixelsfrombitmap(_bmp); - //BA.debugLineNum = 292;BA.debugLine="Dim count As Int = 2"; +RDebugUtils.currentLine=28049413; + //BA.debugLineNum = 28049413;BA.debugLine="Dim count As Int = 2"; _count = (int) (2); - //BA.debugLineNum = 293;BA.debugLine="Dim clrs(3) As ARGBColor"; +RDebugUtils.currentLine=28049414; + //BA.debugLineNum = 28049414;BA.debugLine="Dim clrs(3) As ARGBColor"; _clrs = new b4a.example.bitmapcreator._argbcolor[(int) (3)]; { int d0 = _clrs.length; @@ -106,321 +160,131 @@ _clrs[i0] = new b4a.example.bitmapcreator._argbcolor(); } } ; - //BA.debugLineNum = 294;BA.debugLine="Dim temp As ARGBColor"; +RDebugUtils.currentLine=28049415; + //BA.debugLineNum = 28049415;BA.debugLine="Dim temp As ARGBColor"; _temp = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 295;BA.debugLine="Dim m As Int"; +RDebugUtils.currentLine=28049416; + //BA.debugLineNum = 28049416;BA.debugLine="Dim m As Int"; _m = 0; - //BA.debugLineNum = 296;BA.debugLine="For steps = 1 To count"; +RDebugUtils.currentLine=28049417; + //BA.debugLineNum = 28049417;BA.debugLine="For steps = 1 To count"; { final int step9 = 1; final int limit9 = _count; _steps = (int) (1) ; for (;_steps <= limit9 ;_steps = _steps + step9 ) { - //BA.debugLineNum = 297;BA.debugLine="For y = 0 To bc.mHeight - 1"; +RDebugUtils.currentLine=28049418; + //BA.debugLineNum = 28049418;BA.debugLine="For y = 0 To bc.mHeight - 1"; { final int step10 = 1; final int limit10 = (int) (_bc._mheight-1); _y = (int) (0) ; for (;_y <= limit10 ;_y = _y + step10 ) { - //BA.debugLineNum = 298;BA.debugLine="For x = 0 To 2"; +RDebugUtils.currentLine=28049419; + //BA.debugLineNum = 28049419;BA.debugLine="For x = 0 To 2"; { final int step11 = 1; final int limit11 = (int) (2); _x = (int) (0) ; for (;_x <= limit11 ;_x = _x + step11 ) { - //BA.debugLineNum = 299;BA.debugLine="bc.GetARGB(x, y, clrs(x))"; +RDebugUtils.currentLine=28049420; + //BA.debugLineNum = 28049420;BA.debugLine="bc.GetARGB(x, y, clrs(x))"; _bc._getargb(_x,_y,_clrs[_x]); } }; - //BA.debugLineNum = 301;BA.debugLine="SetAvg(bc, 1, y, clrs, temp)"; -_setavg(_bc,(int) (1),_y,_clrs,_temp); - //BA.debugLineNum = 302;BA.debugLine="m = 0"; +RDebugUtils.currentLine=28049422; + //BA.debugLineNum = 28049422;BA.debugLine="SetAvg(bc, 1, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,(int) (1),_y,_clrs,_temp); +RDebugUtils.currentLine=28049423; + //BA.debugLineNum = 28049423;BA.debugLine="m = 0"; _m = (int) (0); - //BA.debugLineNum = 303;BA.debugLine="For x = 2 To bc.mWidth - 2"; +RDebugUtils.currentLine=28049424; + //BA.debugLineNum = 28049424;BA.debugLine="For x = 2 To bc.mWidth - 2"; { final int step16 = 1; final int limit16 = (int) (_bc._mwidth-2); _x = (int) (2) ; for (;_x <= limit16 ;_x = _x + step16 ) { - //BA.debugLineNum = 304;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; +RDebugUtils.currentLine=28049425; + //BA.debugLineNum = 28049425;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; _bc._getargb((int) (_x+1),_y,_clrs[_m]); - //BA.debugLineNum = 305;BA.debugLine="m = (m + 1) Mod 3"; +RDebugUtils.currentLine=28049426; + //BA.debugLineNum = 28049426;BA.debugLine="m = (m + 1) Mod 3"; _m = (int) ((_m+1)%3); - //BA.debugLineNum = 306;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; -_setavg(_bc,_x,_y,_clrs,_temp); +RDebugUtils.currentLine=28049427; + //BA.debugLineNum = 28049427;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,_y,_clrs,_temp); } }; } }; - //BA.debugLineNum = 309;BA.debugLine="For x = 0 To bc.mWidth - 1"; +RDebugUtils.currentLine=28049430; + //BA.debugLineNum = 28049430;BA.debugLine="For x = 0 To bc.mWidth - 1"; { final int step22 = 1; final int limit22 = (int) (_bc._mwidth-1); _x = (int) (0) ; for (;_x <= limit22 ;_x = _x + step22 ) { - //BA.debugLineNum = 310;BA.debugLine="For y = 0 To 2"; +RDebugUtils.currentLine=28049431; + //BA.debugLineNum = 28049431;BA.debugLine="For y = 0 To 2"; { final int step23 = 1; final int limit23 = (int) (2); _y = (int) (0) ; for (;_y <= limit23 ;_y = _y + step23 ) { - //BA.debugLineNum = 311;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; +RDebugUtils.currentLine=28049432; + //BA.debugLineNum = 28049432;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; _bc._getargb(_x,_y,_clrs[_y]); } }; - //BA.debugLineNum = 313;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; -_setavg(_bc,_x,(int) (1),_clrs,_temp); - //BA.debugLineNum = 314;BA.debugLine="m = 0"; +RDebugUtils.currentLine=28049434; + //BA.debugLineNum = 28049434;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,(int) (1),_clrs,_temp); +RDebugUtils.currentLine=28049435; + //BA.debugLineNum = 28049435;BA.debugLine="m = 0"; _m = (int) (0); - //BA.debugLineNum = 315;BA.debugLine="For y = 2 To bc.mHeight - 2"; +RDebugUtils.currentLine=28049436; + //BA.debugLineNum = 28049436;BA.debugLine="For y = 2 To bc.mHeight - 2"; { final int step28 = 1; final int limit28 = (int) (_bc._mheight-2); _y = (int) (2) ; for (;_y <= limit28 ;_y = _y + step28 ) { - //BA.debugLineNum = 316;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; +RDebugUtils.currentLine=28049437; + //BA.debugLineNum = 28049437;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; _bc._getargb(_x,(int) (_y+1),_clrs[_m]); - //BA.debugLineNum = 317;BA.debugLine="m = (m + 1) Mod 3"; +RDebugUtils.currentLine=28049438; + //BA.debugLineNum = 28049438;BA.debugLine="m = (m + 1) Mod 3"; _m = (int) ((_m+1)%3); - //BA.debugLineNum = 318;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; -_setavg(_bc,_x,_y,_clrs,_temp); +RDebugUtils.currentLine=28049439; + //BA.debugLineNum = 28049439;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,_y,_clrs,_temp); } }; } }; } }; - //BA.debugLineNum = 322;BA.debugLine="Return bc"; +RDebugUtils.currentLine=28049443; + //BA.debugLineNum = 28049443;BA.debugLine="Return bc"; if (true) return _bc; - //BA.debugLineNum = 323;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28049444; + //BA.debugLineNum = 28049444;BA.debugLine="End Sub"; return null; } -public String _button_click() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 233;BA.debugLine="Private Sub Button_Click"; - //BA.debugLineNum = 234;BA.debugLine="Dim b As B4XView = Sender"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 235;BA.debugLine="If ButtonsState.GetDefault(b.Tag, True) = False T"; -if ((_buttonsstate.GetDefault(_b.getTag(),(Object)(__c.True))).equals((Object)(__c.False))) { -if (true) return "";}; - //BA.debugLineNum = 236;BA.debugLine="Close(b.Tag)"; -_close((int)(BA.ObjectToNumber(_b.getTag()))); - //BA.debugLineNum = 237;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Public ButtonsHeight As Int = 40dip"; -_buttonsheight = __c.DipToCurrent((int) (40)); - //BA.debugLineNum = 7;BA.debugLine="Public TitleBarHeight As Int = 30dip"; -_titlebarheight = __c.DipToCurrent((int) (30)); - //BA.debugLineNum = 8;BA.debugLine="Private ButtonWidth As Int = 80dip"; -_buttonwidth = __c.DipToCurrent((int) (80)); - //BA.debugLineNum = 9;BA.debugLine="Public Base As B4XView"; -_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; -_backgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 11;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; -_overlaycolor = ((int)0xaa000000); - //BA.debugLineNum = 12;BA.debugLine="Public BorderColor As Int = 0xff000000"; -_bordercolor = ((int)0xff000000); - //BA.debugLineNum = 13;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; -_bordercornersradius = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 14;BA.debugLine="Public BorderWidth As Int = 2dip"; -_borderwidth = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 15;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; -_buttonscolor = ((int)0xff555555); - //BA.debugLineNum = 16;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; -_buttonstextcolor = ((int)0xff89d5ff); - //BA.debugLineNum = 17;BA.debugLine="Private Background As B4XView"; -_background = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private BlurImageView As B4XView"; -_blurimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Public BlurBackground As Boolean"; -_blurbackground = false; - //BA.debugLineNum = 20;BA.debugLine="Private BlurReduceScale As Int"; -_blurreducescale = 0; - //BA.debugLineNum = 21;BA.debugLine="Public mParent As B4XView"; -_mparent = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public Title As Object = \"\""; -_title = (Object)(""); - //BA.debugLineNum = 23;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; -_titlebarcolor = ((int)0xff0083b8); - //BA.debugLineNum = 24;BA.debugLine="Public TitleBarTextColor As Int"; -_titlebartextcolor = 0; - //BA.debugLineNum = 25;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; -_bodytextcolor = _xui.Color_White; - //BA.debugLineNum = 26;BA.debugLine="Public TitleBar As B4XView"; -_titlebar = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Public PutAtTop As Boolean"; -_putattop = false; - //BA.debugLineNum = 28;BA.debugLine="Public TitleBarFont As B4XFont"; -_titlebarfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 29;BA.debugLine="Public ButtonsFont As B4XFont"; -_buttonsfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 30;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; -_buttonstextcolordisabled = ((int)0xff808080); - //BA.debugLineNum = 31;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; -_visibleanimationduration = (int) (100); - //BA.debugLineNum = 32;BA.debugLine="Public ButtonsOrder() As Int = Array As Int(xui.D"; -_buttonsorder = new int[]{_xui.DialogResponse_Positive,_xui.DialogResponse_Negative,_xui.DialogResponse_Cancel}; - //BA.debugLineNum = 33;BA.debugLine="Public ButtonsState As Map"; -_buttonsstate = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public boolean _close(int _result) throws Exception{ - //BA.debugLineNum = 239;BA.debugLine="Public Sub Close (Result As Int) As Boolean"; - //BA.debugLineNum = 240;BA.debugLine="If getVisible Then"; -if (_getvisible()) { - //BA.debugLineNum = 241;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; -__c.CallSubDelayed2(ba,this,"CloseMessage",(Object)(_result)); - //BA.debugLineNum = 242;BA.debugLine="Return True"; -if (true) return __c.True; - }; - //BA.debugLineNum = 244;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 245;BA.debugLine="End Sub"; -return false; -} -public String _createbutton(Object _text,int _code) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _btn = null; -anywheresoftware.b4a.objects.B4XViewWrapper _xbtn = null; -int _numberofbuttons = 0; - //BA.debugLineNum = 193;BA.debugLine="Private Sub CreateButton (Text As Object, Code As"; - //BA.debugLineNum = 194;BA.debugLine="If Text = \"\" Then Return"; -if ((_text).equals((Object)(""))) { -if (true) return "";}; - //BA.debugLineNum = 198;BA.debugLine="Dim btn As Label"; -_btn = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 200;BA.debugLine="btn.Initialize(\"Button\")"; -_btn.Initialize(ba,"Button"); - //BA.debugLineNum = 201;BA.debugLine="Dim xbtn As B4XView = btn"; -_xbtn = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xbtn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_btn.getObject())); - //BA.debugLineNum = 202;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xbtn, Tex"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xbtn,_text); - //BA.debugLineNum = 203;BA.debugLine="xbtn.Tag = Code"; -_xbtn.setTag((Object)(_code)); - //BA.debugLineNum = 204;BA.debugLine="xbtn.SetColorAndBorder(ButtonsColor, 0dip, Border"; -_xbtn.SetColorAndBorder(_buttonscolor,__c.DipToCurrent((int) (0)),_bordercolor,__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 205;BA.debugLine="xbtn.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xbtn.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 206;BA.debugLine="xbtn.TextColor = ButtonsTextColor"; -_xbtn.setTextColor(_buttonstextcolor); - //BA.debugLineNum = 207;BA.debugLine="xbtn.Font = ButtonsFont"; -_xbtn.setFont(_buttonsfont); - //BA.debugLineNum = 208;BA.debugLine="Dim numberOfButtons As Int = Base.NumberOfViews '"; -_numberofbuttons = _base.getNumberOfViews(); - //BA.debugLineNum = 209;BA.debugLine="Base.AddView(xbtn, Base.Width - 4dip - numberOfBu"; -_base.AddView((android.view.View)(_xbtn.getObject()),(int) (_base.getWidth()-__c.DipToCurrent((int) (4))-_numberofbuttons*(_buttonwidth+__c.DipToCurrent((int) (5)))-_buttonwidth),(int) (_base.getHeight()-_buttonsheight-__c.DipToCurrent((int) (4))),_buttonwidth,_buttonsheight); - //BA.debugLineNum = 211;BA.debugLine="If Code = xui.DialogResponse_Cancel Then xbtn.Req"; -if (_code==_xui.DialogResponse_Cancel) { -_xbtn.RequestFocus();}; - //BA.debugLineNum = 212;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getbutton(int _resultcode) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 215;BA.debugLine="Public Sub GetButton (ResultCode As Int) As B4XVie"; - //BA.debugLineNum = 216;BA.debugLine="For Each b As B4XView In Base.GetAllViewsRecursiv"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -{ -final anywheresoftware.b4a.BA.IterableList group1 = _base.GetAllViewsRecursive(); -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1))); - //BA.debugLineNum = 217;BA.debugLine="If b.Tag = ResultCode Then Return b 'ignore"; -if ((_b.getTag()).equals((Object)(_resultcode))) { -if (true) return _b;}; - } -}; - //BA.debugLineNum = 219;BA.debugLine="Return Null"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Null)); - //BA.debugLineNum = 220;BA.debugLine="End Sub"; -return null; -} -public boolean _getvisible() throws Exception{ - //BA.debugLineNum = 189;BA.debugLine="Public Sub getVisible As Boolean"; - //BA.debugLineNum = 190;BA.debugLine="Return Background.IsInitialized And Background.Pa"; -if (true) return _background.IsInitialized() && _background.getParent().IsInitialized(); - //BA.debugLineNum = 191;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _parent) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 36;BA.debugLine="Public Sub Initialize (Parent As B4XView)"; - //BA.debugLineNum = 37;BA.debugLine="BlurBackground = False"; -_blurbackground = __c.False; - //BA.debugLineNum = 38;BA.debugLine="If xui.IsB4i Then"; -if (_xui.getIsB4i()) { - //BA.debugLineNum = 39;BA.debugLine="BlurReduceScale = 3"; -_blurreducescale = (int) (3); - }else if(_xui.getIsB4J()) { - //BA.debugLineNum = 41;BA.debugLine="BlurReduceScale = 1"; -_blurreducescale = (int) (1); - }else if(_xui.getIsB4A()) { - //BA.debugLineNum = 43;BA.debugLine="BlurReduceScale = 3"; -_blurreducescale = (int) (3); - }; - //BA.debugLineNum = 45;BA.debugLine="mParent = Parent"; -_mparent = _parent; - //BA.debugLineNum = 51;BA.debugLine="TitleBarFont = xui.CreateDefaultBoldFont(16)"; -_titlebarfont = _xui.CreateDefaultBoldFont((float) (16)); - //BA.debugLineNum = 52;BA.debugLine="ButtonsFont = xui.CreateDefaultBoldFont(15)"; -_buttonsfont = _xui.CreateDefaultBoldFont((float) (15)); - //BA.debugLineNum = 53;BA.debugLine="TitleBarTextColor = xui.Color_White"; -_titlebartextcolor = _xui.Color_White; - //BA.debugLineNum = 54;BA.debugLine="ButtonsState.Initialize"; -_buttonsstate.Initialize(); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _internaladdstubtoclvifneeded(b4a.example3.customlistview _customlistview1,int _color) throws Exception{ - //BA.debugLineNum = 343;BA.debugLine="Public Sub InternalAddStubToCLVIfNeeded(CustomList"; - //BA.debugLineNum = 344;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_color); - //BA.debugLineNum = 345;BA.debugLine="End Sub"; -return ""; -} -public String _internalsettextorcsbuildertolabel(anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 339;BA.debugLine="Public Sub InternalSetTextOrCSBuilderToLabel(xlbl"; - //BA.debugLineNum = 340;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); - //BA.debugLineNum = 341;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ -int _top = 0; - //BA.debugLineNum = 263;BA.debugLine="Public Sub Resize (Width As Int, Height As Int)"; - //BA.debugLineNum = 265;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - Ba"; -_top = (int) (__c.Round(_background.getHeight()/(double)2-_base.getHeight()/(double)2)); - //BA.debugLineNum = 266;BA.debugLine="If PutAtTop Then Top = 20dip"; -if (_putattop) { -_top = __c.DipToCurrent((int) (20));}; - //BA.debugLineNum = 267;BA.debugLine="Background.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_background.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 268;BA.debugLine="Base.SetLayoutAnimated(200, Round(Background.Widt"; -_base.SetLayoutAnimated((int) (200),(int) (__c.Round(_background.getWidth()/(double)2-_base.getWidth()/(double)2)),_top,_base.getWidth(),_base.getHeight()); - //BA.debugLineNum = 269;BA.debugLine="If xui.IsB4J Then"; -if (_xui.getIsB4J()) { - //BA.debugLineNum = 270;BA.debugLine="UpdateBlur"; -_updateblur(); - }; - //BA.debugLineNum = 272;BA.debugLine="End Sub"; -return ""; -} -public String _setavg(b4a.example.bitmapcreator _bc,int _x,int _y,b4a.example.bitmapcreator._argbcolor[] _clrs,b4a.example.bitmapcreator._argbcolor _temp) throws Exception{ +public String _setavg(gunav2.keymon.com.mx.b4xdialog __ref,b4a.example.bitmapcreator _bc,int _x,int _y,b4a.example.bitmapcreator._argbcolor[] _clrs,b4a.example.bitmapcreator._argbcolor _temp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "setavg", true)) + {return ((String) Debug.delegate(ba, "setavg", new Object[] {_bc,_x,_y,_clrs,_temp}));} b4a.example.bitmapcreator._argbcolor _c = null; - //BA.debugLineNum = 325;BA.debugLine="Private Sub SetAvg(bc As BitmapCreator, x As Int,"; - //BA.debugLineNum = 326;BA.debugLine="temp.Initialize"; +RDebugUtils.currentLine=28114944; + //BA.debugLineNum = 28114944;BA.debugLine="Private Sub SetAvg(bc As BitmapCreator, x As Int,"; +RDebugUtils.currentLine=28114945; + //BA.debugLineNum = 28114945;BA.debugLine="temp.Initialize"; _temp.Initialize(); - //BA.debugLineNum = 327;BA.debugLine="For Each c As ARGBColor In clrs"; +RDebugUtils.currentLine=28114946; + //BA.debugLineNum = 28114946;BA.debugLine="For Each c As ARGBColor In clrs"; { final b4a.example.bitmapcreator._argbcolor[] group2 = _clrs; final int groupLen2 = group2.length @@ -428,61 +292,462 @@ final int groupLen2 = group2.length ; for (; index2 < groupLen2;index2++){ _c = group2[index2]; - //BA.debugLineNum = 328;BA.debugLine="temp.r = temp.r + c.r"; +RDebugUtils.currentLine=28114947; + //BA.debugLineNum = 28114947;BA.debugLine="temp.r = temp.r + c.r"; _temp.r = (int) (_temp.r+_c.r); - //BA.debugLineNum = 329;BA.debugLine="temp.g = temp.g + c.g"; +RDebugUtils.currentLine=28114948; + //BA.debugLineNum = 28114948;BA.debugLine="temp.g = temp.g + c.g"; _temp.g = (int) (_temp.g+_c.g); - //BA.debugLineNum = 330;BA.debugLine="temp.b = temp.b + c.b"; +RDebugUtils.currentLine=28114949; + //BA.debugLineNum = 28114949;BA.debugLine="temp.b = temp.b + c.b"; _temp.b = (int) (_temp.b+_c.b); } }; - //BA.debugLineNum = 332;BA.debugLine="temp.a = 255"; +RDebugUtils.currentLine=28114951; + //BA.debugLineNum = 28114951;BA.debugLine="temp.a = 255"; _temp.a = (int) (255); - //BA.debugLineNum = 333;BA.debugLine="temp.r = temp.r / 3"; +RDebugUtils.currentLine=28114952; + //BA.debugLineNum = 28114952;BA.debugLine="temp.r = temp.r / 3"; _temp.r = (int) (_temp.r/(double)3); - //BA.debugLineNum = 334;BA.debugLine="temp.g = temp.g / 3"; +RDebugUtils.currentLine=28114953; + //BA.debugLineNum = 28114953;BA.debugLine="temp.g = temp.g / 3"; _temp.g = (int) (_temp.g/(double)3); - //BA.debugLineNum = 335;BA.debugLine="temp.b = temp.b / 3"; +RDebugUtils.currentLine=28114954; + //BA.debugLineNum = 28114954;BA.debugLine="temp.b = temp.b / 3"; _temp.b = (int) (_temp.b/(double)3); - //BA.debugLineNum = 336;BA.debugLine="bc.SetARGB(x, y, temp)"; +RDebugUtils.currentLine=28114955; + //BA.debugLineNum = 28114955;BA.debugLine="bc.SetARGB(x, y, temp)"; _bc._setargb(_x,_y,_temp); - //BA.debugLineNum = 337;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28114956; + //BA.debugLineNum = 28114956;BA.debugLine="End Sub"; return ""; } -public String _setbuttonstate(int _resultcode,boolean _enabled) throws Exception{ +public String _button_click(gunav2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "button_click", true)) + {return ((String) Debug.delegate(ba, "button_click", null));} anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 223;BA.debugLine="Public Sub SetButtonState (ResultCode As Int, Enab"; - //BA.debugLineNum = 224;BA.debugLine="Dim b As B4XView = GetButton(ResultCode)"; +RDebugUtils.currentLine=27656192; + //BA.debugLineNum = 27656192;BA.debugLine="Private Sub Button_Click"; +RDebugUtils.currentLine=27656193; + //BA.debugLineNum = 27656193;BA.debugLine="Dim b As B4XView = Sender"; _b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_b = _getbutton(_resultcode); - //BA.debugLineNum = 225;BA.debugLine="If b.IsInitialized Then"; -if (_b.IsInitialized()) { - //BA.debugLineNum = 226;BA.debugLine="b.Enabled = Enabled"; -_b.setEnabled(_enabled); - //BA.debugLineNum = 227;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; -if (_enabled) { -_b.setTextColor(_buttonstextcolor);} -else { -_b.setTextColor(_buttonstextcolordisabled);}; - //BA.debugLineNum = 228;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; -_buttonsstate.Put((Object)(_resultcode),(Object)(_enabled)); - }; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; +_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); +RDebugUtils.currentLine=27656194; + //BA.debugLineNum = 27656194;BA.debugLine="If ButtonsState.GetDefault(b.Tag, True) = False T"; +if ((__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault(_b.getTag(),(Object)(__c.True))).equals((Object)(__c.False))) { +if (true) return "";}; +RDebugUtils.currentLine=27656195; + //BA.debugLineNum = 27656195;BA.debugLine="Close(b.Tag)"; +__ref._close /*boolean*/ (null,(int)(BA.ObjectToNumber(_b.getTag()))); +RDebugUtils.currentLine=27656196; + //BA.debugLineNum = 27656196;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _show(Object _text,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_text,_yes,_no,_cancel); +public String _class_globals(gunav2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +RDebugUtils.currentLine=27066368; + //BA.debugLineNum = 27066368;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=27066369; + //BA.debugLineNum = 27066369;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=27066370; + //BA.debugLineNum = 27066370;BA.debugLine="Public ButtonsHeight As Int = 40dip"; +_buttonsheight = __c.DipToCurrent((int) (40)); +RDebugUtils.currentLine=27066371; + //BA.debugLineNum = 27066371;BA.debugLine="Public TitleBarHeight As Int = 30dip"; +_titlebarheight = __c.DipToCurrent((int) (30)); +RDebugUtils.currentLine=27066372; + //BA.debugLineNum = 27066372;BA.debugLine="Private ButtonWidth As Int = 80dip"; +_buttonwidth = __c.DipToCurrent((int) (80)); +RDebugUtils.currentLine=27066373; + //BA.debugLineNum = 27066373;BA.debugLine="Public Base As B4XView"; +_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=27066374; + //BA.debugLineNum = 27066374;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; +_backgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=27066375; + //BA.debugLineNum = 27066375;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; +_overlaycolor = ((int)0xaa000000); +RDebugUtils.currentLine=27066376; + //BA.debugLineNum = 27066376;BA.debugLine="Public BorderColor As Int = 0xff000000"; +_bordercolor = ((int)0xff000000); +RDebugUtils.currentLine=27066377; + //BA.debugLineNum = 27066377;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; +_bordercornersradius = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=27066378; + //BA.debugLineNum = 27066378;BA.debugLine="Public BorderWidth As Int = 2dip"; +_borderwidth = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=27066379; + //BA.debugLineNum = 27066379;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; +_buttonscolor = ((int)0xff555555); +RDebugUtils.currentLine=27066380; + //BA.debugLineNum = 27066380;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; +_buttonstextcolor = ((int)0xff89d5ff); +RDebugUtils.currentLine=27066381; + //BA.debugLineNum = 27066381;BA.debugLine="Private Background As B4XView"; +_background = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=27066382; + //BA.debugLineNum = 27066382;BA.debugLine="Private BlurImageView As B4XView"; +_blurimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=27066383; + //BA.debugLineNum = 27066383;BA.debugLine="Public BlurBackground As Boolean"; +_blurbackground = false; +RDebugUtils.currentLine=27066384; + //BA.debugLineNum = 27066384;BA.debugLine="Private BlurReduceScale As Int"; +_blurreducescale = 0; +RDebugUtils.currentLine=27066385; + //BA.debugLineNum = 27066385;BA.debugLine="Public mParent As B4XView"; +_mparent = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=27066386; + //BA.debugLineNum = 27066386;BA.debugLine="Public Title As Object = \"\""; +_title = (Object)(""); +RDebugUtils.currentLine=27066387; + //BA.debugLineNum = 27066387;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; +_titlebarcolor = ((int)0xff0083b8); +RDebugUtils.currentLine=27066388; + //BA.debugLineNum = 27066388;BA.debugLine="Public TitleBarTextColor As Int"; +_titlebartextcolor = 0; +RDebugUtils.currentLine=27066389; + //BA.debugLineNum = 27066389;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; +_bodytextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=27066390; + //BA.debugLineNum = 27066390;BA.debugLine="Public TitleBar As B4XView"; +_titlebar = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=27066391; + //BA.debugLineNum = 27066391;BA.debugLine="Public PutAtTop As Boolean"; +_putattop = false; +RDebugUtils.currentLine=27066392; + //BA.debugLineNum = 27066392;BA.debugLine="Public TitleBarFont As B4XFont"; +_titlebarfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=27066393; + //BA.debugLineNum = 27066393;BA.debugLine="Public ButtonsFont As B4XFont"; +_buttonsfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=27066394; + //BA.debugLineNum = 27066394;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; +_buttonstextcolordisabled = ((int)0xff808080); +RDebugUtils.currentLine=27066395; + //BA.debugLineNum = 27066395;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; +_visibleanimationduration = (int) (100); +RDebugUtils.currentLine=27066396; + //BA.debugLineNum = 27066396;BA.debugLine="Public ButtonsOrder() As Int = Array As Int(xui.D"; +_buttonsorder = new int[]{__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Negative,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Cancel}; +RDebugUtils.currentLine=27066397; + //BA.debugLineNum = 27066397;BA.debugLine="Public ButtonsState As Map"; +_buttonsstate = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=27066398; + //BA.debugLineNum = 27066398;BA.debugLine="End Sub"; +return ""; +} +public boolean _getvisible(gunav2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "getvisible", true)) + {return ((Boolean) Debug.delegate(ba, "getvisible", null));} +RDebugUtils.currentLine=27394048; + //BA.debugLineNum = 27394048;BA.debugLine="Public Sub getVisible As Boolean"; +RDebugUtils.currentLine=27394049; + //BA.debugLineNum = 27394049;BA.debugLine="Return Background.IsInitialized And Background.Pa"; +if (true) return __ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized() && __ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().IsInitialized(); +RDebugUtils.currentLine=27394050; + //BA.debugLineNum = 27394050;BA.debugLine="End Sub"; +return false; +} +public String _createbutton(gunav2.keymon.com.mx.b4xdialog __ref,Object _text,int _code) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "createbutton", true)) + {return ((String) Debug.delegate(ba, "createbutton", new Object[] {_text,_code}));} +anywheresoftware.b4a.objects.LabelWrapper _btn = null; +anywheresoftware.b4a.objects.B4XViewWrapper _xbtn = null; +int _numberofbuttons = 0; +RDebugUtils.currentLine=27459584; + //BA.debugLineNum = 27459584;BA.debugLine="Private Sub CreateButton (Text As Object, Code As"; +RDebugUtils.currentLine=27459585; + //BA.debugLineNum = 27459585;BA.debugLine="If Text = \"\" Then Return"; +if ((_text).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=27459589; + //BA.debugLineNum = 27459589;BA.debugLine="Dim btn As Label"; +_btn = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=27459591; + //BA.debugLineNum = 27459591;BA.debugLine="btn.Initialize(\"Button\")"; +_btn.Initialize(ba,"Button"); +RDebugUtils.currentLine=27459592; + //BA.debugLineNum = 27459592;BA.debugLine="Dim xbtn As B4XView = btn"; +_xbtn = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xbtn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_btn.getObject())); +RDebugUtils.currentLine=27459593; + //BA.debugLineNum = 27459593;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xbtn, Tex"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xbtn,_text); +RDebugUtils.currentLine=27459594; + //BA.debugLineNum = 27459594;BA.debugLine="xbtn.Tag = Code"; +_xbtn.setTag((Object)(_code)); +RDebugUtils.currentLine=27459595; + //BA.debugLineNum = 27459595;BA.debugLine="xbtn.SetColorAndBorder(ButtonsColor, 0dip, Border"; +_xbtn.SetColorAndBorder(__ref._buttonscolor /*int*/ ,__c.DipToCurrent((int) (0)),__ref._bordercolor /*int*/ ,__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=27459596; + //BA.debugLineNum = 27459596;BA.debugLine="xbtn.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_xbtn.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=27459597; + //BA.debugLineNum = 27459597;BA.debugLine="xbtn.TextColor = ButtonsTextColor"; +_xbtn.setTextColor(__ref._buttonstextcolor /*int*/ ); +RDebugUtils.currentLine=27459598; + //BA.debugLineNum = 27459598;BA.debugLine="xbtn.Font = ButtonsFont"; +_xbtn.setFont(__ref._buttonsfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=27459599; + //BA.debugLineNum = 27459599;BA.debugLine="Dim numberOfButtons As Int = Base.NumberOfViews '"; +_numberofbuttons = __ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews(); +RDebugUtils.currentLine=27459600; + //BA.debugLineNum = 27459600;BA.debugLine="Base.AddView(xbtn, Base.Width - 4dip - numberOfBu"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_xbtn.getObject()),(int) (__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__c.DipToCurrent((int) (4))-_numberofbuttons*(__ref._buttonwidth /*int*/ +__c.DipToCurrent((int) (5)))-__ref._buttonwidth /*int*/ ),(int) (__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._buttonsheight /*int*/ -__c.DipToCurrent((int) (4))),__ref._buttonwidth /*int*/ ,__ref._buttonsheight /*int*/ ); +RDebugUtils.currentLine=27459602; + //BA.debugLineNum = 27459602;BA.debugLine="If Code = xui.DialogResponse_Cancel Then xbtn.Req"; +if (_code==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Cancel) { +_xbtn.RequestFocus();}; +RDebugUtils.currentLine=27459603; + //BA.debugLineNum = 27459603;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getbutton(gunav2.keymon.com.mx.b4xdialog __ref,int _resultcode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "getbutton", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getbutton", new Object[] {_resultcode}));} +anywheresoftware.b4a.objects.B4XViewWrapper _b = null; +RDebugUtils.currentLine=27525120; + //BA.debugLineNum = 27525120;BA.debugLine="Public Sub GetButton (ResultCode As Int) As B4XVie"; +RDebugUtils.currentLine=27525121; + //BA.debugLineNum = 27525121;BA.debugLine="For Each b As B4XView In Base.GetAllViewsRecursiv"; +_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); +{ +final anywheresoftware.b4a.BA.IterableList group1 = __ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1))); +RDebugUtils.currentLine=27525122; + //BA.debugLineNum = 27525122;BA.debugLine="If b.Tag = ResultCode Then Return b 'ignore"; +if ((_b.getTag()).equals((Object)(_resultcode))) { +if (true) return _b;}; + } +}; +RDebugUtils.currentLine=27525124; + //BA.debugLineNum = 27525124;BA.debugLine="Return Null"; +if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Null)); +RDebugUtils.currentLine=27525125; + //BA.debugLineNum = 27525125;BA.debugLine="End Sub"; +return null; +} +public String _initialize(gunav2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _parent) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_parent}));} +RDebugUtils.currentLine=27131904; + //BA.debugLineNum = 27131904;BA.debugLine="Public Sub Initialize (Parent As B4XView)"; +RDebugUtils.currentLine=27131905; + //BA.debugLineNum = 27131905;BA.debugLine="BlurBackground = False"; +__ref._blurbackground /*boolean*/ = __c.False; +RDebugUtils.currentLine=27131906; + //BA.debugLineNum = 27131906;BA.debugLine="If xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=27131907; + //BA.debugLineNum = 27131907;BA.debugLine="BlurReduceScale = 3"; +__ref._blurreducescale /*int*/ = (int) (3); + }else +{RDebugUtils.currentLine=27131908; + //BA.debugLineNum = 27131908;BA.debugLine="Else If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=27131909; + //BA.debugLineNum = 27131909;BA.debugLine="BlurReduceScale = 1"; +__ref._blurreducescale /*int*/ = (int) (1); + }else +{RDebugUtils.currentLine=27131910; + //BA.debugLineNum = 27131910;BA.debugLine="Else if xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=27131911; + //BA.debugLineNum = 27131911;BA.debugLine="BlurReduceScale = 3"; +__ref._blurreducescale /*int*/ = (int) (3); + }}} +; +RDebugUtils.currentLine=27131913; + //BA.debugLineNum = 27131913;BA.debugLine="mParent = Parent"; +__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _parent; +RDebugUtils.currentLine=27131919; + //BA.debugLineNum = 27131919;BA.debugLine="TitleBarFont = xui.CreateDefaultBoldFont(16)"; +__ref._titlebarfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (16)); +RDebugUtils.currentLine=27131920; + //BA.debugLineNum = 27131920;BA.debugLine="ButtonsFont = xui.CreateDefaultBoldFont(15)"; +__ref._buttonsfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (15)); +RDebugUtils.currentLine=27131921; + //BA.debugLineNum = 27131921;BA.debugLine="TitleBarTextColor = xui.Color_White"; +__ref._titlebartextcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=27131922; + //BA.debugLineNum = 27131922;BA.debugLine="ButtonsState.Initialize"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=27131923; + //BA.debugLineNum = 27131923;BA.debugLine="End Sub"; +return ""; +} +public String _internaladdstubtoclvifneeded(gunav2.keymon.com.mx.b4xdialog __ref,b4a.example3.customlistview _customlistview1,int _color) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "internaladdstubtoclvifneeded", true)) + {return ((String) Debug.delegate(ba, "internaladdstubtoclvifneeded", new Object[] {_customlistview1,_color}));} +RDebugUtils.currentLine=28246016; + //BA.debugLineNum = 28246016;BA.debugLine="Public Sub InternalAddStubToCLVIfNeeded(CustomList"; +RDebugUtils.currentLine=28246017; + //BA.debugLineNum = 28246017;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_color); +RDebugUtils.currentLine=28246018; + //BA.debugLineNum = 28246018;BA.debugLine="End Sub"; +return ""; +} +public String _internalsettextorcsbuildertolabel(gunav2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "internalsettextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(ba, "internalsettextorcsbuildertolabel", new Object[] {_xlbl,_text}));} +RDebugUtils.currentLine=28180480; + //BA.debugLineNum = 28180480;BA.debugLine="Public Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=28180481; + //BA.debugLineNum = 28180481;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); +RDebugUtils.currentLine=28180482; + //BA.debugLineNum = 28180482;BA.debugLine="End Sub"; +return ""; +} +public String _resize(gunav2.keymon.com.mx.b4xdialog __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +int _top = 0; +RDebugUtils.currentLine=27918336; + //BA.debugLineNum = 27918336;BA.debugLine="Public Sub Resize (Width As Int, Height As Int)"; +RDebugUtils.currentLine=27918338; + //BA.debugLineNum = 27918338;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - Ba"; +_top = (int) (__c.Round(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2)); +RDebugUtils.currentLine=27918339; + //BA.debugLineNum = 27918339;BA.debugLine="If PutAtTop Then Top = 20dip"; +if (__ref._putattop /*boolean*/ ) { +_top = __c.DipToCurrent((int) (20));}; +RDebugUtils.currentLine=27918340; + //BA.debugLineNum = 27918340;BA.debugLine="Background.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=27918341; + //BA.debugLineNum = 27918341;BA.debugLine="Base.SetLayoutAnimated(200, Round(Background.Widt"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (200),(int) (__c.Round(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2-__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)),_top,__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=27918342; + //BA.debugLineNum = 27918342;BA.debugLine="If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=27918343; + //BA.debugLineNum = 27918343;BA.debugLine="UpdateBlur"; +__ref._updateblur /*String*/ (null); + }; +RDebugUtils.currentLine=27918345; + //BA.debugLineNum = 27918345;BA.debugLine="End Sub"; +return ""; +} +public String _updateblur(gunav2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "updateblur", true)) + {return ((String) Debug.delegate(ba, "updateblur", null));} +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _source = null; +b4a.example.bitmapcreator _blurred = null; +RDebugUtils.currentLine=27983872; + //BA.debugLineNum = 27983872;BA.debugLine="Private Sub UpdateBlur"; +RDebugUtils.currentLine=27983873; + //BA.debugLineNum = 27983873;BA.debugLine="If BlurBackground = False Then Return"; +if (__ref._blurbackground /*boolean*/ ==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=27983874; + //BA.debugLineNum = 27983874;BA.debugLine="Background.Visible = False"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=27983875; + //BA.debugLineNum = 27983875;BA.debugLine="Dim source As B4XBitmap = Background.Parent.Snaps"; +_source = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +_source = __ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().Snapshot(); +RDebugUtils.currentLine=27983876; + //BA.debugLineNum = 27983876;BA.debugLine="If source.Width > Background.Width Or source.Heig"; +if (_source.getWidth()>__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth() || _source.getHeight()>__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()) { +RDebugUtils.currentLine=27983877; + //BA.debugLineNum = 27983877;BA.debugLine="source = source.Crop(0, 0, Background.Width, Bac"; +_source = _source.Crop((int) (0),(int) (0),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); + }; +RDebugUtils.currentLine=27983879; + //BA.debugLineNum = 27983879;BA.debugLine="Background.Visible = True"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=27983880; + //BA.debugLineNum = 27983880;BA.debugLine="BlurImageView.SetLayoutAnimated(0, 0, 0, Backgrou"; +__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=27983881; + //BA.debugLineNum = 27983881;BA.debugLine="Dim blurred As BitmapCreator = Blur(source)"; +_blurred = __ref._blur /*b4a.example.bitmapcreator*/ (null,_source); +RDebugUtils.currentLine=27983882; + //BA.debugLineNum = 27983882;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; +_blurred._setbitmaptoimageview(_blurred._getbitmap(),__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=27983883; + //BA.debugLineNum = 27983883;BA.debugLine="End Sub"; +return ""; +} +public String _setbuttonstate(gunav2.keymon.com.mx.b4xdialog __ref,int _resultcode,boolean _enabled) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "setbuttonstate", true)) + {return ((String) Debug.delegate(ba, "setbuttonstate", new Object[] {_resultcode,_enabled}));} +anywheresoftware.b4a.objects.B4XViewWrapper _b = null; +RDebugUtils.currentLine=27590656; + //BA.debugLineNum = 27590656;BA.debugLine="Public Sub SetButtonState (ResultCode As Int, Enab"; +RDebugUtils.currentLine=27590657; + //BA.debugLineNum = 27590657;BA.debugLine="Dim b As B4XView = GetButton(ResultCode)"; +_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_b = __ref._getbutton /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,_resultcode); +RDebugUtils.currentLine=27590658; + //BA.debugLineNum = 27590658;BA.debugLine="If b.IsInitialized Then"; +if (_b.IsInitialized()) { +RDebugUtils.currentLine=27590659; + //BA.debugLineNum = 27590659;BA.debugLine="b.Enabled = Enabled"; +_b.setEnabled(_enabled); +RDebugUtils.currentLine=27590660; + //BA.debugLineNum = 27590660;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; +if (_enabled) { +_b.setTextColor(__ref._buttonstextcolor /*int*/ );} +else { +_b.setTextColor(__ref._buttonstextcolordisabled /*int*/ );}; +RDebugUtils.currentLine=27590661; + //BA.debugLineNum = 27590661;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_resultcode),(Object)(_enabled)); + }; +RDebugUtils.currentLine=27590663; + //BA.debugLineNum = 27590663;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _show(gunav2.keymon.com.mx.b4xdialog __ref,Object _text,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "show", new Object[] {_text,_yes,_no,_cancel}));} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_text,_yes,_no,_cancel); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(gunav2.keymon.com.mx.b4xdialog parent,Object _text,Object _yes,Object _no,Object _cancel) { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xdialog parent,gunav2.keymon.com.mx.b4xdialog __ref,Object _text,Object _yes,Object _no,Object _cancel) { this.parent = parent; +this.__ref = __ref; this._text = _text; this._yes = _yes; this._no = _no; this._cancel = _cancel; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xdialog __ref; gunav2.keymon.com.mx.b4xdialog parent; Object _text; Object _yes; @@ -495,6 +760,7 @@ int _result = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; while (true) { switch (state) { @@ -504,65 +770,84 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 75;BA.debugLine="Dim p As B4XView"; +RDebugUtils.currentLine=27262977; + //BA.debugLineNum = 27262977;BA.debugLine="Dim p As B4XView"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 76;BA.debugLine="p = xui.CreatePanel(\"\")"; -_p = parent._xui.CreatePanel(ba,""); - //BA.debugLineNum = 77;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 300dip, 100dip)"; +RDebugUtils.currentLine=27262978; + //BA.debugLineNum = 27262978;BA.debugLine="p = xui.CreatePanel(\"\")"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=27262979; + //BA.debugLineNum = 27262979;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 300dip, 100dip)"; _p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),parent.__c.DipToCurrent((int) (300)),parent.__c.DipToCurrent((int) (100))); - //BA.debugLineNum = 78;BA.debugLine="Dim lbl As Label"; +RDebugUtils.currentLine=27262980; + //BA.debugLineNum = 27262980;BA.debugLine="Dim lbl As Label"; _lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 79;BA.debugLine="lbl.Initialize(\"\")"; +RDebugUtils.currentLine=27262981; + //BA.debugLineNum = 27262981;BA.debugLine="lbl.Initialize(\"\")"; _lbl.Initialize(ba,""); - //BA.debugLineNum = 83;BA.debugLine="lbl.SingleLine = False"; +RDebugUtils.currentLine=27262985; + //BA.debugLineNum = 27262985;BA.debugLine="lbl.SingleLine = False"; _lbl.setSingleLine(parent.__c.False); - //BA.debugLineNum = 87;BA.debugLine="Dim xlbl As B4XView = lbl"; +RDebugUtils.currentLine=27262989; + //BA.debugLineNum = 27262989;BA.debugLine="Dim xlbl As B4XView = lbl"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 88;BA.debugLine="p.AddView(xlbl, 5dip, 0, p.Width - 10dip, p.Heigh"; +RDebugUtils.currentLine=27262990; + //BA.debugLineNum = 27262990;BA.debugLine="p.AddView(xlbl, 5dip, 0, p.Width - 10dip, p.Heigh"; _p.AddView((android.view.View)(_xlbl.getObject()),parent.__c.DipToCurrent((int) (5)),(int) (0),(int) (_p.getWidth()-parent.__c.DipToCurrent((int) (10))),_p.getHeight()); - //BA.debugLineNum = 89;BA.debugLine="xlbl.TextColor = BodyTextColor"; -_xlbl.setTextColor(parent._bodytextcolor); - //BA.debugLineNum = 90;BA.debugLine="xlbl.Font = TitleBarFont"; -_xlbl.setFont(parent._titlebarfont); - //BA.debugLineNum = 91;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +RDebugUtils.currentLine=27262991; + //BA.debugLineNum = 27262991;BA.debugLine="xlbl.TextColor = BodyTextColor"; +_xlbl.setTextColor(__ref._bodytextcolor /*int*/ ); +RDebugUtils.currentLine=27262992; + //BA.debugLineNum = 27262992;BA.debugLine="xlbl.Font = TitleBarFont"; +_xlbl.setFont(__ref._titlebarfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=27262993; + //BA.debugLineNum = 27262993;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; parent._xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); - //BA.debugLineNum = 92;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +RDebugUtils.currentLine=27262994; + //BA.debugLineNum = 27262994;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; _xlbl.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 93;BA.debugLine="Wait For (ShowCustom(p, Yes, No, Cancel)) Complet"; -parent.__c.WaitFor("complete", ba, this, parent._showcustom(_p,_yes,_no,_cancel)); +RDebugUtils.currentLine=27262995; + //BA.debugLineNum = 27262995;BA.debugLine="Wait For (ShowCustom(p, Yes, No, Cancel)) Complet"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdialog", "show"), __ref._showcustom /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null,_p,_yes,_no,_cancel)); this.state = 1; return; case 1: //C this.state = -1; -_result = (Integer) result[0]; +_result = (Integer) result[1]; ; - //BA.debugLineNum = 94;BA.debugLine="Return Result"; +RDebugUtils.currentLine=27262996; + //BA.debugLineNum = 27262996;BA.debugLine="Return Result"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27262997; + //BA.debugLineNum = 27262997;BA.debugLine="End Sub"; if (true) break; } } } } -public void _complete(int _result) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showcustom(anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_ShowCustom rsub = new ResumableSub_ShowCustom(this,_content,_yes,_no,_cancel); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showcustom(gunav2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "showcustom", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "showcustom", new Object[] {_content,_yes,_no,_cancel}));} +ResumableSub_ShowCustom rsub = new ResumableSub_ShowCustom(this,__ref,_content,_yes,_no,_cancel); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_ShowCustom extends BA.ResumableSub { -public ResumableSub_ShowCustom(gunav2.keymon.com.mx.b4xdialog parent,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) { +public ResumableSub_ShowCustom(gunav2.keymon.com.mx.b4xdialog parent,gunav2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) { this.parent = parent; +this.__ref = __ref; this._content = _content; this._yes = _yes; this._no = _no; this._cancel = _cancel; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xdialog __ref; gunav2.keymon.com.mx.b4xdialog parent; anywheresoftware.b4a.objects.B4XViewWrapper _content; Object _yes; @@ -596,6 +881,7 @@ int groupLen78; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; while (true) { switch (state) { @@ -605,14 +891,15 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 98;BA.debugLine="For Each v As B4XView In mParent.GetAllViewsRecur"; +RDebugUtils.currentLine=27328513; + //BA.debugLineNum = 27328513;BA.debugLine="For Each v As B4XView In mParent.GetAllViewsRecur"; if (true) break; case 1: //for this.state = 8; _v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -group1 = parent._mparent.GetAllViewsRecursive(); +group1 = __ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); index1 = 0; groupLen1 = group1.getSize(); this.state = 60; @@ -635,7 +922,8 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 99;BA.debugLine="If v.Tag <> Null And v.Tag = \"b4xdialog_backgrou"; +RDebugUtils.currentLine=27328514; + //BA.debugLineNum = 27328514;BA.debugLine="If v.Tag <> Null And v.Tag = \"b4xdialog_backgrou"; if (true) break; case 4: @@ -648,9 +936,11 @@ this.state = 6; case 6: //C this.state = 7; - //BA.debugLineNum = 100;BA.debugLine="v.RemoveViewFromParent"; +RDebugUtils.currentLine=27328515; + //BA.debugLineNum = 27328515;BA.debugLine="v.RemoveViewFromParent"; _v.RemoveViewFromParent(); - //BA.debugLineNum = 101;BA.debugLine="Exit"; +RDebugUtils.currentLine=27328516; + //BA.debugLineNum = 27328516;BA.debugLine="Exit"; this.state = 8; if (true) break; if (true) break; @@ -666,20 +956,24 @@ case 8: //C this.state = 9; ; - //BA.debugLineNum = 104;BA.debugLine="ButtonsState.Clear"; -parent._buttonsstate.Clear(); - //BA.debugLineNum = 105;BA.debugLine="Dim Background As B4XView = xui.CreatePanel(\"back"; +RDebugUtils.currentLine=27328519; + //BA.debugLineNum = 27328519;BA.debugLine="ButtonsState.Clear"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=27328520; + //BA.debugLineNum = 27328520;BA.debugLine="Dim Background As B4XView = xui.CreatePanel(\"back"; parent._background = new anywheresoftware.b4a.objects.B4XViewWrapper(); -parent._background = parent._xui.CreatePanel(ba,"background"); - //BA.debugLineNum = 106;BA.debugLine="Background.Tag = \"b4xdialog_background\""; -parent._background.setTag((Object)("b4xdialog_background")); - //BA.debugLineNum = 107;BA.debugLine="If BlurBackground Then"; +parent._background = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"background"); +RDebugUtils.currentLine=27328521; + //BA.debugLineNum = 27328521;BA.debugLine="Background.Tag = \"b4xdialog_background\""; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("b4xdialog_background")); +RDebugUtils.currentLine=27328522; + //BA.debugLineNum = 27328522;BA.debugLine="If BlurBackground Then"; if (true) break; case 9: //if this.state = 14; -if (parent._blurbackground) { +if (__ref._blurbackground /*boolean*/ ) { this.state = 11; }else { this.state = 13; @@ -688,49 +982,65 @@ this.state = 13; case 11: //C this.state = 14; - //BA.debugLineNum = 108;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=27328523; + //BA.debugLineNum = 27328523;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 109;BA.debugLine="iv.Initialize(\"\")"; +RDebugUtils.currentLine=27328524; + //BA.debugLineNum = 27328524;BA.debugLine="iv.Initialize(\"\")"; _iv.Initialize(ba,""); - //BA.debugLineNum = 110;BA.debugLine="BlurImageView = iv"; -parent._blurimageview = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 111;BA.debugLine="Background.AddView(BlurImageView, 0, 0, Backgrou"; -parent._background.AddView((android.view.View)(parent._blurimageview.getObject()),(int) (0),(int) (0),parent._background.getWidth(),parent._background.getHeight()); - //BA.debugLineNum = 112;BA.debugLine="Background.Color = xui.Color_Transparent"; -parent._background.setColor(parent._xui.Color_Transparent); +RDebugUtils.currentLine=27328525; + //BA.debugLineNum = 27328525;BA.debugLine="BlurImageView = iv"; +__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); +RDebugUtils.currentLine=27328526; + //BA.debugLineNum = 27328526;BA.debugLine="Background.AddView(BlurImageView, 0, 0, Backgrou"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=27328527; + //BA.debugLineNum = 27328527;BA.debugLine="Background.Color = xui.Color_Transparent"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); if (true) break; case 13: //C this.state = 14; - //BA.debugLineNum = 114;BA.debugLine="Background.Color = OverlayColor"; -parent._background.setColor(parent._overlaycolor); +RDebugUtils.currentLine=27328529; + //BA.debugLineNum = 27328529;BA.debugLine="Background.Color = OverlayColor"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._overlaycolor /*int*/ ); if (true) break; case 14: //C this.state = 15; ; - //BA.debugLineNum = 117;BA.debugLine="Dim p As Panel = Background"; +RDebugUtils.currentLine=27328532; + //BA.debugLineNum = 27328532;BA.debugLine="Dim p As Panel = Background"; _p = new anywheresoftware.b4a.objects.PanelWrapper(); -_p = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(parent._background.getObject())); - //BA.debugLineNum = 118;BA.debugLine="p.Elevation = 4dip"; +_p = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=27328533; + //BA.debugLineNum = 27328533;BA.debugLine="p.Elevation = 4dip"; _p.setElevation((float) (parent.__c.DipToCurrent((int) (4)))); - //BA.debugLineNum = 120;BA.debugLine="mParent.AddView(Background, 0, 0, mParent.Width,"; -parent._mparent.AddView((android.view.View)(parent._background.getObject()),(int) (0),(int) (0),parent._mparent.getWidth(),parent._mparent.getHeight()); - //BA.debugLineNum = 121;BA.debugLine="UpdateBlur"; -parent._updateblur(); - //BA.debugLineNum = 122;BA.debugLine="Base = xui.CreatePanel(\"\")"; -parent._base = parent._xui.CreatePanel(ba,""); - //BA.debugLineNum = 123;BA.debugLine="Base.SetColorAndBorder(BackgroundColor, BorderWid"; -parent._base.SetColorAndBorder(parent._backgroundcolor,parent._borderwidth,parent._bordercolor,parent._bordercornersradius); - //BA.debugLineNum = 124;BA.debugLine="Base.RequestFocus"; -parent._base.RequestFocus(); - //BA.debugLineNum = 125;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; -_includetitle = (parent._title).equals((Object)("")) == false; - //BA.debugLineNum = 126;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; +RDebugUtils.currentLine=27328535; + //BA.debugLineNum = 27328535;BA.debugLine="mParent.AddView(Background, 0, 0, mParent.Width,"; +__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=27328536; + //BA.debugLineNum = 27328536;BA.debugLine="UpdateBlur"; +__ref._updateblur /*String*/ (null); +RDebugUtils.currentLine=27328537; + //BA.debugLineNum = 27328537;BA.debugLine="Base = xui.CreatePanel(\"\")"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=27328538; + //BA.debugLineNum = 27328538;BA.debugLine="Base.SetColorAndBorder(BackgroundColor, BorderWid"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._backgroundcolor /*int*/ ,__ref._borderwidth /*int*/ ,__ref._bordercolor /*int*/ ,__ref._bordercornersradius /*int*/ ); +RDebugUtils.currentLine=27328539; + //BA.debugLineNum = 27328539;BA.debugLine="Base.RequestFocus"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=27328540; + //BA.debugLineNum = 27328540;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; +_includetitle = (__ref._title /*Object*/ ).equals((Object)("")) == false; +RDebugUtils.currentLine=27328541; + //BA.debugLineNum = 27328541;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; _temptitlebarheight = (int) (0); - //BA.debugLineNum = 127;BA.debugLine="If IncludeTitle Then"; +RDebugUtils.currentLine=27328542; + //BA.debugLineNum = 27328542;BA.debugLine="If IncludeTitle Then"; if (true) break; case 15: @@ -743,44 +1053,52 @@ this.state = 17; case 17: //C this.state = 18; - //BA.debugLineNum = 128;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; -_temptitlebarheight = parent._titlebarheight; +RDebugUtils.currentLine=27328543; + //BA.debugLineNum = 27328543;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; +_temptitlebarheight = __ref._titlebarheight /*int*/ ; if (true) break; case 18: //C this.state = 19; ; - //BA.debugLineNum = 130;BA.debugLine="Dim height As Int = Content.Height + ButtonsHeigh"; -_height = (int) (_content.getHeight()+parent._buttonsheight+parent.__c.DipToCurrent((int) (3))+parent.__c.DipToCurrent((int) (3))+_temptitlebarheight); - //BA.debugLineNum = 131;BA.debugLine="Dim width As Int = Content.Width + 4dip"; +RDebugUtils.currentLine=27328545; + //BA.debugLineNum = 27328545;BA.debugLine="Dim height As Int = Content.Height + ButtonsHeigh"; +_height = (int) (_content.getHeight()+__ref._buttonsheight /*int*/ +parent.__c.DipToCurrent((int) (3))+parent.__c.DipToCurrent((int) (3))+_temptitlebarheight); +RDebugUtils.currentLine=27328546; + //BA.debugLineNum = 27328546;BA.debugLine="Dim width As Int = Content.Width + 4dip"; _width = (int) (_content.getWidth()+parent.__c.DipToCurrent((int) (4))); - //BA.debugLineNum = 132;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - he"; -_top = (int) (parent.__c.Round(parent._background.getHeight()/(double)2-_height/(double)2)); - //BA.debugLineNum = 133;BA.debugLine="Dim RemoveTitle As Boolean"; +RDebugUtils.currentLine=27328547; + //BA.debugLineNum = 27328547;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - he"; +_top = (int) (parent.__c.Round(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-_height/(double)2)); +RDebugUtils.currentLine=27328548; + //BA.debugLineNum = 27328548;BA.debugLine="Dim RemoveTitle As Boolean"; _removetitle = false; - //BA.debugLineNum = 134;BA.debugLine="If PutAtTop Then"; +RDebugUtils.currentLine=27328549; + //BA.debugLineNum = 27328549;BA.debugLine="If PutAtTop Then"; if (true) break; case 19: //if this.state = 28; -if (parent._putattop) { +if (__ref._putattop /*boolean*/ ) { this.state = 21; }if (true) break; case 21: //C this.state = 22; - //BA.debugLineNum = 135;BA.debugLine="Top = 20dip"; +RDebugUtils.currentLine=27328550; + //BA.debugLineNum = 27328550;BA.debugLine="Top = 20dip"; _top = parent.__c.DipToCurrent((int) (20)); - //BA.debugLineNum = 136;BA.debugLine="If Background.Height - Top - height < 200dip The"; +RDebugUtils.currentLine=27328551; + //BA.debugLineNum = 27328551;BA.debugLine="If Background.Height - Top - height < 200dip The"; if (true) break; case 22: //if this.state = 27; -if (parent._background.getHeight()-_top-_height 0 Then"; +RDebugUtils.currentLine=27328596; + //BA.debugLineNum = 27328596;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetVisibleAnimated(__ref._visibleanimationduration /*int*/ ,parent.__c.False); +RDebugUtils.currentLine=27328597; + //BA.debugLineNum = 27328597;BA.debugLine="If VisibleAnimationDuration > 0 Then"; if (true) break; case 56: //if this.state = 59; -if (parent._visibleanimationduration>0) { +if (__ref._visibleanimationduration /*int*/ >0) { this.state = 58; }if (true) break; case 58: //C this.state = 59; - //BA.debugLineNum = 183;BA.debugLine="Sleep(VisibleAnimationDuration)"; -parent.__c.Sleep(ba,this,parent._visibleanimationduration); +RDebugUtils.currentLine=27328598; + //BA.debugLineNum = 27328598;BA.debugLine="Sleep(VisibleAnimationDuration)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdialog", "showcustom"),__ref._visibleanimationduration /*int*/ ); this.state = 69; return; case 69: @@ -1073,33 +1427,40 @@ case 59: //C this.state = -1; ; - //BA.debugLineNum = 185;BA.debugLine="Background.RemoveViewFromParent"; -parent._background.RemoveViewFromParent(); - //BA.debugLineNum = 186;BA.debugLine="Return Result"; +RDebugUtils.currentLine=27328600; + //BA.debugLineNum = 27328600;BA.debugLine="Background.RemoveViewFromParent"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); +RDebugUtils.currentLine=27328601; + //BA.debugLineNum = 27328601;BA.debugLine="Return Result"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 187;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27328602; + //BA.debugLineNum = 27328602;BA.debugLine="End Sub"; if (true) break; } } } } -public void _closemessage(int _result) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showtemplate(Object _dialogtemplate,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_ShowTemplate rsub = new ResumableSub_ShowTemplate(this,_dialogtemplate,_yes,_no,_cancel); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showtemplate(gunav2.keymon.com.mx.b4xdialog __ref,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "showtemplate", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "showtemplate", new Object[] {_dialogtemplate,_yes,_no,_cancel}));} +ResumableSub_ShowTemplate rsub = new ResumableSub_ShowTemplate(this,__ref,_dialogtemplate,_yes,_no,_cancel); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_ShowTemplate extends BA.ResumableSub { -public ResumableSub_ShowTemplate(gunav2.keymon.com.mx.b4xdialog parent,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) { +public ResumableSub_ShowTemplate(gunav2.keymon.com.mx.b4xdialog parent,gunav2.keymon.com.mx.b4xdialog __ref,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) { this.parent = parent; +this.__ref = __ref; this._dialogtemplate = _dialogtemplate; this._yes = _yes; this._no = _no; this._cancel = _cancel; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xdialog __ref; gunav2.keymon.com.mx.b4xdialog parent; Object _dialogtemplate; Object _yes; @@ -1110,6 +1471,7 @@ int _result = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; while (true) { switch (state) { @@ -1119,69 +1481,50 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 66;BA.debugLine="Dim content As B4XView = CallSub2(DialogTemplate,"; +RDebugUtils.currentLine=27197441; + //BA.debugLineNum = 27197441;BA.debugLine="Dim content As B4XView = CallSub2(DialogTemplate,"; _content = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_content = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(parent.__c.CallSubNew2(ba,_dialogtemplate,"GetPanel",parent))); - //BA.debugLineNum = 67;BA.debugLine="CallSub2(DialogTemplate, \"Show\", Me)"; -parent.__c.CallSubNew2(ba,_dialogtemplate,"Show",parent); - //BA.debugLineNum = 68;BA.debugLine="Wait For (ShowCustom(content , Yes, No, Cancel))"; -parent.__c.WaitFor("complete", ba, this, parent._showcustom(_content,_yes,_no,_cancel)); +_content = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(parent.__c.CallSubDebug2(ba,_dialogtemplate,"GetPanel",parent))); +RDebugUtils.currentLine=27197442; + //BA.debugLineNum = 27197442;BA.debugLine="CallSub2(DialogTemplate, \"Show\", Me)"; +parent.__c.CallSubDebug2(ba,_dialogtemplate,"Show",parent); +RDebugUtils.currentLine=27197443; + //BA.debugLineNum = 27197443;BA.debugLine="Wait For (ShowCustom(content , Yes, No, Cancel))"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdialog", "showtemplate"), __ref._showcustom /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null,_content,_yes,_no,_cancel)); this.state = 1; return; case 1: //C this.state = -1; -_result = (Integer) result[0]; +_result = (Integer) result[1]; ; - //BA.debugLineNum = 69;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; -parent.__c.CallSubNew2(ba,_dialogtemplate,"DialogClosed",(Object)(_result)); - //BA.debugLineNum = 70;BA.debugLine="PutAtTop = False"; -parent._putattop = parent.__c.False; - //BA.debugLineNum = 71;BA.debugLine="Return Result"; +RDebugUtils.currentLine=27197444; + //BA.debugLineNum = 27197444;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; +parent.__c.CallSubDebug2(ba,_dialogtemplate,"DialogClosed",(Object)(_result)); +RDebugUtils.currentLine=27197445; + //BA.debugLineNum = 27197445;BA.debugLine="PutAtTop = False"; +__ref._putattop /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=27197446; + //BA.debugLineNum = 27197446;BA.debugLine="Return Result"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 72;BA.debugLine="End Sub"; +RDebugUtils.currentLine=27197447; + //BA.debugLineNum = 27197447;BA.debugLine="End Sub"; if (true) break; } } } } -public String _stub_click() throws Exception{ - //BA.debugLineNum = 349;BA.debugLine="Private Sub Stub_Click"; - //BA.debugLineNum = 351;BA.debugLine="End Sub"; +public String _stub_click(gunav2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "stub_click", true)) + {return ((String) Debug.delegate(ba, "stub_click", null));} +RDebugUtils.currentLine=28311552; + //BA.debugLineNum = 28311552;BA.debugLine="Private Sub Stub_Click"; +RDebugUtils.currentLine=28311554; + //BA.debugLineNum = 28311554;BA.debugLine="End Sub"; return ""; } -public String _updateblur() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _source = null; -b4a.example.bitmapcreator _blurred = null; - //BA.debugLineNum = 274;BA.debugLine="Private Sub UpdateBlur"; - //BA.debugLineNum = 275;BA.debugLine="If BlurBackground = False Then Return"; -if (_blurbackground==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 276;BA.debugLine="Background.Visible = False"; -_background.setVisible(__c.False); - //BA.debugLineNum = 277;BA.debugLine="Dim source As B4XBitmap = Background.Parent.Snaps"; -_source = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_source = _background.getParent().Snapshot(); - //BA.debugLineNum = 278;BA.debugLine="If source.Width > Background.Width Or source.Heig"; -if (_source.getWidth()>_background.getWidth() || _source.getHeight()>_background.getHeight()) { - //BA.debugLineNum = 279;BA.debugLine="source = source.Crop(0, 0, Background.Width, Bac"; -_source = _source.Crop((int) (0),(int) (0),_background.getWidth(),_background.getHeight()); - }; - //BA.debugLineNum = 281;BA.debugLine="Background.Visible = True"; -_background.setVisible(__c.True); - //BA.debugLineNum = 282;BA.debugLine="BlurImageView.SetLayoutAnimated(0, 0, 0, Backgrou"; -_blurimageview.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_background.getWidth(),_background.getHeight()); - //BA.debugLineNum = 283;BA.debugLine="Dim blurred As BitmapCreator = Blur(source)"; -_blurred = _blur(_source); - //BA.debugLineNum = 284;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; -_blurred._setbitmaptoimageview(_blurred._getbitmap(),_blurimageview); - //BA.debugLineNum = 285;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xfloattextfield.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xfloattextfield.java index af1d651..c0d5185 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xfloattextfield.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xfloattextfield.java @@ -10,7 +10,7 @@ public class b4xfloattextfield extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xfloattextfield"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xfloattextfield"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xfloattextfield extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -61,473 +68,852 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ +public String _base_resize(gunav2.keymon.com.mx.b4xfloattextfield __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} int _firstdistance = 0; - //BA.debugLineNum = 196;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 197;BA.debugLine="mTextField.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mtextfield.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 198;BA.debugLine="Dim FirstDistance As Int = 2dip"; +RDebugUtils.currentLine=28966912; + //BA.debugLineNum = 28966912;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=28966913; + //BA.debugLineNum = 28966913;BA.debugLine="mTextField.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=28966914; + //BA.debugLineNum = 28966914;BA.debugLine="Dim FirstDistance As Int = 2dip"; _firstdistance = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 199;BA.debugLine="If Multiline And xui.IsB4J Then FirstDistance = 2"; -if (_multiline && _xui.getIsB4J()) { +RDebugUtils.currentLine=28966915; + //BA.debugLineNum = 28966915;BA.debugLine="If Multiline And xui.IsB4J Then FirstDistance = 2"; +if (__ref._multiline /*boolean*/ && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { _firstdistance = __c.DipToCurrent((int) (22));}; - //BA.debugLineNum = 200;BA.debugLine="If lblV.IsInitialized Then"; -if (_lblv.IsInitialized()) { - //BA.debugLineNum = 201;BA.debugLine="lblV.SetLayoutAnimated(0, Width - lblV.Width - F"; -_lblv.SetLayoutAnimated((int) (0),(int) (_width-_lblv.getWidth()-_firstdistance),(int) (0),_lblv.getWidth(),(int) (_height)); - //BA.debugLineNum = 202;BA.debugLine="FirstDistance = FirstDistance + lblV.Width + 2di"; -_firstdistance = (int) (_firstdistance+_lblv.getWidth()+__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=28966916; + //BA.debugLineNum = 28966916;BA.debugLine="If lblV.IsInitialized Then"; +if (__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=28966917; + //BA.debugLineNum = 28966917;BA.debugLine="lblV.SetLayoutAnimated(0, Width - lblV.Width - F"; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (_width-__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-_firstdistance),(int) (0),__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),(int) (_height)); +RDebugUtils.currentLine=28966918; + //BA.debugLineNum = 28966918;BA.debugLine="FirstDistance = FirstDistance + lblV.Width + 2di"; +_firstdistance = (int) (_firstdistance+__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+__c.DipToCurrent((int) (2))); }; - //BA.debugLineNum = 204;BA.debugLine="If lblClear.IsInitialized Then"; -if (_lblclear.IsInitialized()) { - //BA.debugLineNum = 205;BA.debugLine="lblClear.SetLayoutAnimated(0, Width - lblClear.W"; -_lblclear.SetLayoutAnimated((int) (0),(int) (_width-_lblclear.getWidth()-_firstdistance),(int) (0),_lblclear.getWidth(),(int) (_height)); +RDebugUtils.currentLine=28966920; + //BA.debugLineNum = 28966920;BA.debugLine="If lblClear.IsInitialized Then"; +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=28966921; + //BA.debugLineNum = 28966921;BA.debugLine="lblClear.SetLayoutAnimated(0, Width - lblClear.W"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (_width-__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-_firstdistance),(int) (0),__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),(int) (_height)); }; - //BA.debugLineNum = 207;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 208;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28966923; + //BA.debugLineNum = 28966923;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=28966924; + //BA.debugLineNum = 28966924;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 16;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 17;BA.debugLine="Private mEventName As String 'ignore"; +public String _updatelabel(gunav2.keymon.com.mx.b4xfloattextfield __ref,String _txt,boolean _force) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "updatelabel", true)) + {return ((String) Debug.delegate(ba, "updatelabel", new Object[] {_txt,_force}));} +anywheresoftware.b4a.objects.B4XViewWrapper _lbl = null; +boolean _goingtolarge = false; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _b = null; +RDebugUtils.currentLine=29032448; + //BA.debugLineNum = 29032448;BA.debugLine="Private Sub UpdateLabel (txt As String, force As B"; +RDebugUtils.currentLine=29032449; + //BA.debugLineNum = 29032449;BA.debugLine="For Each lbl As B4XView In Array As B4XView(lblCl"; +{ +final anywheresoftware.b4a.objects.B4XViewWrapper[] group1 = new anywheresoftware.b4a.objects.B4XViewWrapper[]{__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ }; +final int groupLen1 = group1.length +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_lbl = group1[index1]; +RDebugUtils.currentLine=29032450; + //BA.debugLineNum = 29032450;BA.debugLine="If lbl.IsInitialized Then lbl.Visible = Focused"; +if (_lbl.IsInitialized()) { +_lbl.setVisible(__ref._focused /*boolean*/ && _txt.length()>0);}; + } +}; +RDebugUtils.currentLine=29032453; + //BA.debugLineNum = 29032453;BA.debugLine="Dim GoingToLarge As Boolean = txt.Length = 0"; +_goingtolarge = _txt.length()==0; +RDebugUtils.currentLine=29032454; + //BA.debugLineNum = 29032454;BA.debugLine="If GoingToLarge = LargeLabel And force = False Th"; +if (_goingtolarge==__ref._largelabel /*boolean*/ && _force==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=29032455; + //BA.debugLineNum = 29032455;BA.debugLine="Dim b As B4XBitmap"; +_b = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=29032456; + //BA.debugLineNum = 29032456;BA.debugLine="If Focused Then"; +if (__ref._focused /*boolean*/ ) { +RDebugUtils.currentLine=29032457; + //BA.debugLineNum = 29032457;BA.debugLine="If GoingToLarge Then b = LargeFocused Else b = S"; +if (_goingtolarge) { +_b = __ref._largefocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;} +else { +_b = __ref._smallfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;}; + }else { +RDebugUtils.currentLine=29032459; + //BA.debugLineNum = 29032459;BA.debugLine="If GoingToLarge Then b = LargeNotFocused Else b"; +if (_goingtolarge) { +_b = __ref._largenotfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;} +else { +_b = __ref._smallnotfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;}; + }; +RDebugUtils.currentLine=29032461; + //BA.debugLineNum = 29032461;BA.debugLine="If b.IsInitialized = False Then Return"; +if (_b.IsInitialized()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=29032462; + //BA.debugLineNum = 29032462;BA.debugLine="HintImageView.SetBitmap(b)"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_b.getObject())); +RDebugUtils.currentLine=29032463; + //BA.debugLineNum = 29032463;BA.debugLine="If GoingToLarge Then"; +if (_goingtolarge) { +RDebugUtils.currentLine=29032464; + //BA.debugLineNum = 29032464;BA.debugLine="HintImageView.SetLayoutAnimated (AnimationDurati"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._animationduration /*int*/ ,__ref._hintlabellargeoffsetx /*int*/ ,(int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-_b.getHeight()/(double)2),(int) (_b.getWidth()),(int) (_b.getHeight())); +RDebugUtils.currentLine=29032465; + //BA.debugLineNum = 29032465;BA.debugLine="LargeLabel = True"; +__ref._largelabel /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=29032467; + //BA.debugLineNum = 29032467;BA.debugLine="HintImageView.SetLayoutAnimated(AnimationDuratio"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._animationduration /*int*/ ,__ref._hintlabelsmalloffsetx /*int*/ ,__ref._hintlabelsmalloffsety /*int*/ ,(int) (_b.getWidth()),(int) (_b.getHeight())); +RDebugUtils.currentLine=29032468; + //BA.debugLineNum = 29032468;BA.debugLine="LargeLabel = False"; +__ref._largelabel /*boolean*/ = __c.False; + }; +RDebugUtils.currentLine=29032470; + //BA.debugLineNum = 29032470;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +RDebugUtils.currentLine=28377088; + //BA.debugLineNum = 28377088;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=28377089; + //BA.debugLineNum = 28377089;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 18;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=28377090; + //BA.debugLineNum = 28377090;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 19;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=28377091; + //BA.debugLineNum = 28377091;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=28377092; + //BA.debugLineNum = 28377092;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 21;BA.debugLine="Private mTextField As B4XView"; +RDebugUtils.currentLine=28377093; + //BA.debugLineNum = 28377093;BA.debugLine="Private mTextField As B4XView"; _mtextfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public AnimationDuration As Int = 200"; +RDebugUtils.currentLine=28377094; + //BA.debugLineNum = 28377094;BA.debugLine="Public AnimationDuration As Int = 200"; _animationduration = (int) (200); - //BA.debugLineNum = 23;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; +RDebugUtils.currentLine=28377095; + //BA.debugLineNum = 28377095;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; _largelabeltextsize = (float) (18); _smalllabeltextsize = (float) (14); - //BA.debugLineNum = 24;BA.debugLine="Private LargeLabel As Boolean"; +RDebugUtils.currentLine=28377096; + //BA.debugLineNum = 28377096;BA.debugLine="Private LargeLabel As Boolean"; _largelabel = false; - //BA.debugLineNum = 25;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; +RDebugUtils.currentLine=28377097; + //BA.debugLineNum = 28377097;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; _measuringcanvas = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 26;BA.debugLine="Public HintColor As Int"; +RDebugUtils.currentLine=28377098; + //BA.debugLineNum = 28377098;BA.debugLine="Public HintColor As Int"; _hintcolor = 0; - //BA.debugLineNum = 27;BA.debugLine="Public NonFocusedHintColor As Int"; +RDebugUtils.currentLine=28377099; + //BA.debugLineNum = 28377099;BA.debugLine="Public NonFocusedHintColor As Int"; _nonfocusedhintcolor = 0; - //BA.debugLineNum = 28;BA.debugLine="Private HintImageView As B4XView"; +RDebugUtils.currentLine=28377100; + //BA.debugLineNum = 28377100;BA.debugLine="Private HintImageView As B4XView"; _hintimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Public HintText As String"; +RDebugUtils.currentLine=28377101; + //BA.debugLineNum = 28377101;BA.debugLine="Public HintText As String"; _hinttext = ""; - //BA.debugLineNum = 30;BA.debugLine="Public HintFont As B4XFont"; +RDebugUtils.currentLine=28377102; + //BA.debugLineNum = 28377102;BA.debugLine="Public HintFont As B4XFont"; _hintfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 31;BA.debugLine="Private LargeFocused, LargeNotFocused, SmallFocus"; +RDebugUtils.currentLine=28377103; + //BA.debugLineNum = 28377103;BA.debugLine="Private LargeFocused, LargeNotFocused, SmallFocus"; _largefocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _largenotfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _smallfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _smallnotfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Public Focused As Boolean"; +RDebugUtils.currentLine=28377104; + //BA.debugLineNum = 28377104;BA.debugLine="Public Focused As Boolean"; _focused = false; - //BA.debugLineNum = 33;BA.debugLine="Public lblClear As B4XView"; +RDebugUtils.currentLine=28377105; + //BA.debugLineNum = 28377105;BA.debugLine="Public lblClear As B4XView"; _lblclear = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Public lblV As B4XView"; +RDebugUtils.currentLine=28377106; + //BA.debugLineNum = 28377106;BA.debugLine="Public lblV As B4XView"; _lblv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private mProps As Map"; +RDebugUtils.currentLine=28377107; + //BA.debugLineNum = 28377107;BA.debugLine="Private mProps As Map"; _mprops = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 36;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=28377108; + //BA.debugLineNum = 28377108;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 37;BA.debugLine="Private KeyboardType As String 'ignore"; +RDebugUtils.currentLine=28377109; + //BA.debugLineNum = 28377109;BA.debugLine="Private KeyboardType As String 'ignore"; _keyboardtype = ""; - //BA.debugLineNum = 38;BA.debugLine="Private Multiline As Boolean"; +RDebugUtils.currentLine=28377110; + //BA.debugLineNum = 28377110;BA.debugLine="Private Multiline As Boolean"; _multiline = false; - //BA.debugLineNum = 39;BA.debugLine="Private mNextTextField As B4XFloatTextField"; +RDebugUtils.currentLine=28377111; + //BA.debugLineNum = 28377111;BA.debugLine="Private mNextTextField As B4XFloatTextField"; _mnexttextfield = new gunav2.keymon.com.mx.b4xfloattextfield(); - //BA.debugLineNum = 41;BA.debugLine="Private IME As IME"; +RDebugUtils.currentLine=28377113; + //BA.debugLineNum = 28377113;BA.debugLine="Private IME As IME"; _ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 46;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; +RDebugUtils.currentLine=28377118; + //BA.debugLineNum = 28377118;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; _hintlabellargeoffsetx = 0; _hintlabelsmalloffsety = __c.DipToCurrent((int) (2)); _hintlabelsmalloffsetx = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 47;BA.debugLine="Private LastSwitchTextFieldTime As Long"; +RDebugUtils.currentLine=28377119; + //BA.debugLineNum = 28377119;BA.debugLine="Private LastSwitchTextFieldTime As Long"; _lastswitchtextfieldtime = 0L; - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28377120; + //BA.debugLineNum = 28377120;BA.debugLine="End Sub"; return ""; } -public String _createacceptbutton() throws Exception{ - //BA.debugLineNum = 125;BA.debugLine="Private Sub CreateAcceptButton"; - //BA.debugLineNum = 126;BA.debugLine="If mProps.GetDefault(\"ShowAccept\", True) = False"; -if ((_mprops.GetDefault((Object)("ShowAccept"),(Object)(__c.True))).equals((Object)(__c.False))) { +public String _createacceptbutton(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createacceptbutton", true)) + {return ((String) Debug.delegate(ba, "createacceptbutton", null));} +RDebugUtils.currentLine=28704768; + //BA.debugLineNum = 28704768;BA.debugLine="Private Sub CreateAcceptButton"; +RDebugUtils.currentLine=28704769; + //BA.debugLineNum = 28704769;BA.debugLine="If mProps.GetDefault(\"ShowAccept\", True) = False"; +if ((__ref._mprops /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault((Object)("ShowAccept"),(Object)(__c.True))).equals((Object)(__c.False))) { if (true) return "";}; - //BA.debugLineNum = 127;BA.debugLine="lblV = CreateButton(Chr(0xE5CA))"; -_lblv = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe5ca)))); - //BA.debugLineNum = 128;BA.debugLine="lblV.Tag = \"v\""; -_lblv.setTag((Object)("v")); - //BA.debugLineNum = 129;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28704770; + //BA.debugLineNum = 28704770;BA.debugLine="lblV = CreateButton(Chr(0xE5CA))"; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createbutton /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe5ca)))); +RDebugUtils.currentLine=28704771; + //BA.debugLineNum = 28704771;BA.debugLine="lblV.Tag = \"v\""; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("v")); +RDebugUtils.currentLine=28704772; + //BA.debugLineNum = 28704772;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r,int _color,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _createbutton(gunav2.keymon.com.mx.b4xfloattextfield __ref,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createbutton", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createbutton", new Object[] {_text}));} +anywheresoftware.b4a.objects.LabelWrapper _lc = null; +anywheresoftware.b4a.objects.B4XViewWrapper _x = null; +RDebugUtils.currentLine=28901376; + //BA.debugLineNum = 28901376;BA.debugLine="Private Sub CreateButton (Text As String) As B4XVi"; +RDebugUtils.currentLine=28901377; + //BA.debugLineNum = 28901377;BA.debugLine="Dim lc As Label"; +_lc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=28901378; + //BA.debugLineNum = 28901378;BA.debugLine="lc.Initialize(\"lc\")"; +_lc.Initialize(ba,"lc"); +RDebugUtils.currentLine=28901379; + //BA.debugLineNum = 28901379;BA.debugLine="Dim x As B4XView = lc"; +_x = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); +RDebugUtils.currentLine=28901380; + //BA.debugLineNum = 28901380;BA.debugLine="x = lc"; +_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); +RDebugUtils.currentLine=28901381; + //BA.debugLineNum = 28901381;BA.debugLine="x.Font = xui.CreateMaterialIcons(20)"; +_x.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons((float) (20))); +RDebugUtils.currentLine=28901382; + //BA.debugLineNum = 28901382;BA.debugLine="x.Text = Text"; +_x.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=28901383; + //BA.debugLineNum = 28901383;BA.debugLine="x.TextColor = mTextField.TextColor"; +_x.setTextColor(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor()); +RDebugUtils.currentLine=28901384; + //BA.debugLineNum = 28901384;BA.debugLine="x.Visible = False"; +_x.setVisible(__c.False); +RDebugUtils.currentLine=28901385; + //BA.debugLineNum = 28901385;BA.debugLine="x.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_x.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=28901386; + //BA.debugLineNum = 28901386;BA.debugLine="mBase.AddView(x, 0, 0, 30dip, 30dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_x.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (30)),__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=28901387; + //BA.debugLineNum = 28901387;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=28901388; + //BA.debugLineNum = 28901388;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(gunav2.keymon.com.mx.b4xfloattextfield __ref,anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r,int _color,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createbitmap", new Object[] {_r,_color,_fnt}));} anywheresoftware.b4a.objects.B4XViewWrapper _p = null; anywheresoftware.b4a.objects.B4XCanvas _c = null; int _baseline = 0; anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; - //BA.debugLineNum = 257;BA.debugLine="Private Sub CreateBitmap(r As B4XRect, Color As In"; - //BA.debugLineNum = 258;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=29229056; + //BA.debugLineNum = 29229056;BA.debugLine="Private Sub CreateBitmap(r As B4XRect, Color As In"; +RDebugUtils.currentLine=29229057; + //BA.debugLineNum = 29229057;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 259;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Max(1, r.Width + 2di"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=29229058; + //BA.debugLineNum = 29229058;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Max(1, r.Width + 2di"; _p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (__c.Max(1,_r.getWidth()+__c.DipToCurrent((int) (2)))),(int) (__c.Max(1,_r.getHeight()+__c.DipToCurrent((int) (2))))); - //BA.debugLineNum = 260;BA.debugLine="Dim c As B4XCanvas"; +RDebugUtils.currentLine=29229059; + //BA.debugLineNum = 29229059;BA.debugLine="Dim c As B4XCanvas"; _c = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 261;BA.debugLine="c.Initialize(p)"; +RDebugUtils.currentLine=29229060; + //BA.debugLineNum = 29229060;BA.debugLine="c.Initialize(p)"; _c.Initialize(_p); - //BA.debugLineNum = 262;BA.debugLine="Dim BaseLine As Int = p.Height / 2 - r.Height / 2"; +RDebugUtils.currentLine=29229061; + //BA.debugLineNum = 29229061;BA.debugLine="Dim BaseLine As Int = p.Height / 2 - r.Height / 2"; _baseline = (int) (_p.getHeight()/(double)2-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 263;BA.debugLine="c.DrawText(HintText, p.Width / 2, BaseLine, Fnt,"; -_c.DrawText(ba,_hinttext,(float) (_p.getWidth()/(double)2),(float) (_baseline),_fnt,_color,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - //BA.debugLineNum = 264;BA.debugLine="Dim bmp As B4XBitmap = c.CreateBitmap"; +RDebugUtils.currentLine=29229062; + //BA.debugLineNum = 29229062;BA.debugLine="c.DrawText(HintText, p.Width / 2, BaseLine, Fnt,"; +_c.DrawText(ba,__ref._hinttext /*String*/ ,(float) (_p.getWidth()/(double)2),(float) (_baseline),_fnt,_color,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=29229063; + //BA.debugLineNum = 29229063;BA.debugLine="Dim bmp As B4XBitmap = c.CreateBitmap"; _bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); _bmp = _c.CreateBitmap(); - //BA.debugLineNum = 265;BA.debugLine="c.Release"; +RDebugUtils.currentLine=29229064; + //BA.debugLineNum = 29229064;BA.debugLine="c.Release"; _c.Release(); - //BA.debugLineNum = 266;BA.debugLine="Return bmp"; +RDebugUtils.currentLine=29229065; + //BA.debugLineNum = 29229065;BA.debugLine="Return bmp"; if (true) return _bmp; - //BA.debugLineNum = 267;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29229066; + //BA.debugLineNum = 29229066;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.B4XViewWrapper _createbutton(String _text) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _lc = null; -anywheresoftware.b4a.objects.B4XViewWrapper _x = null; - //BA.debugLineNum = 182;BA.debugLine="Private Sub CreateButton (Text As String) As B4XVi"; - //BA.debugLineNum = 183;BA.debugLine="Dim lc As Label"; -_lc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 184;BA.debugLine="lc.Initialize(\"lc\")"; -_lc.Initialize(ba,"lc"); - //BA.debugLineNum = 185;BA.debugLine="Dim x As B4XView = lc"; -_x = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); - //BA.debugLineNum = 186;BA.debugLine="x = lc"; -_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); - //BA.debugLineNum = 187;BA.debugLine="x.Font = xui.CreateMaterialIcons(20)"; -_x.setFont(_xui.CreateMaterialIcons((float) (20))); - //BA.debugLineNum = 188;BA.debugLine="x.Text = Text"; -_x.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 189;BA.debugLine="x.TextColor = mTextField.TextColor"; -_x.setTextColor(_mtextfield.getTextColor()); - //BA.debugLineNum = 190;BA.debugLine="x.Visible = False"; -_x.setVisible(__c.False); - //BA.debugLineNum = 191;BA.debugLine="x.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_x.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 192;BA.debugLine="mBase.AddView(x, 0, 0, 30dip, 30dip)"; -_mbase.AddView((android.view.View)(_x.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (30)),__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 193;BA.debugLine="Return x"; -if (true) return _x; - //BA.debugLineNum = 194;BA.debugLine="End Sub"; -return null; -} -public String _createclearbutton() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Private Sub CreateClearButton"; - //BA.debugLineNum = 118;BA.debugLine="If mProps.GetDefault(\"ShowClear\", True) = False T"; -if ((_mprops.GetDefault((Object)("ShowClear"),(Object)(__c.True))).equals((Object)(__c.False))) { +public String _createclearbutton(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createclearbutton", true)) + {return ((String) Debug.delegate(ba, "createclearbutton", null));} +RDebugUtils.currentLine=28639232; + //BA.debugLineNum = 28639232;BA.debugLine="Private Sub CreateClearButton"; +RDebugUtils.currentLine=28639233; + //BA.debugLineNum = 28639233;BA.debugLine="If mProps.GetDefault(\"ShowClear\", True) = False T"; +if ((__ref._mprops /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault((Object)("ShowClear"),(Object)(__c.True))).equals((Object)(__c.False))) { if (true) return "";}; - //BA.debugLineNum = 119;BA.debugLine="If lblClear.IsInitialized And lblClear.Parent.IsI"; -if (_lblclear.IsInitialized() && _lblclear.getParent().IsInitialized()) { -_lblclear.RemoveViewFromParent();}; - //BA.debugLineNum = 120;BA.debugLine="lblClear = CreateButton(Chr(0xE14C))"; -_lblclear = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe14c)))); - //BA.debugLineNum = 121;BA.debugLine="lblClear.Tag = \"clear\""; -_lblclear.setTag((Object)("clear")); - //BA.debugLineNum = 123;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28639234; + //BA.debugLineNum = 28639234;BA.debugLine="If lblClear.IsInitialized And lblClear.Parent.IsI"; +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized() && __ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().IsInitialized()) { +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent();}; +RDebugUtils.currentLine=28639235; + //BA.debugLineNum = 28639235;BA.debugLine="lblClear = CreateButton(Chr(0xE14C))"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createbutton /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe14c)))); +RDebugUtils.currentLine=28639236; + //BA.debugLineNum = 28639236;BA.debugLine="lblClear.Tag = \"clear\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("clear")); +RDebugUtils.currentLine=28639238; + //BA.debugLineNum = 28639238;BA.debugLine="End Sub"; return ""; } -public String _createrevealbutton() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Private Sub CreateRevealButton"; - //BA.debugLineNum = 133;BA.debugLine="lblClear = CreateButton(Chr(0xE8F4))"; -_lblclear = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe8f4)))); - //BA.debugLineNum = 134;BA.debugLine="lblClear.Tag = \"reveal\""; -_lblclear.setTag((Object)("reveal")); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; +public String _createrevealbutton(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createrevealbutton", true)) + {return ((String) Debug.delegate(ba, "createrevealbutton", null));} +RDebugUtils.currentLine=28770304; + //BA.debugLineNum = 28770304;BA.debugLine="Private Sub CreateRevealButton"; +RDebugUtils.currentLine=28770305; + //BA.debugLineNum = 28770305;BA.debugLine="lblClear = CreateButton(Chr(0xE8F4))"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createbutton /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe8f4)))); +RDebugUtils.currentLine=28770306; + //BA.debugLineNum = 28770306;BA.debugLine="lblClear.Tag = \"reveal\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("reveal")); +RDebugUtils.currentLine=28770307; + //BA.debugLineNum = 28770307;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _createtextfield(boolean _password) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _createtextfield(gunav2.keymon.com.mx.b4xfloattextfield __ref,boolean _password) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createtextfield", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createtextfield", new Object[] {_password}));} anywheresoftware.b4a.objects.EditTextWrapper _tf = null; - //BA.debugLineNum = 328;BA.debugLine="Private Sub CreateTextField (Password As Boolean)"; - //BA.debugLineNum = 344;BA.debugLine="Dim tf As EditText"; +RDebugUtils.currentLine=29818880; + //BA.debugLineNum = 29818880;BA.debugLine="Private Sub CreateTextField (Password As Boolean)"; +RDebugUtils.currentLine=29818896; + //BA.debugLineNum = 29818896;BA.debugLine="Dim tf As EditText"; _tf = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 345;BA.debugLine="tf.Initialize(\"tf\")"; +RDebugUtils.currentLine=29818897; + //BA.debugLineNum = 29818897;BA.debugLine="tf.Initialize(\"tf\")"; _tf.Initialize(ba,"tf"); - //BA.debugLineNum = 346;BA.debugLine="tf.SingleLine = Not(Multiline)"; -_tf.setSingleLine(__c.Not(_multiline)); - //BA.debugLineNum = 347;BA.debugLine="tf.PasswordMode = Password"; +RDebugUtils.currentLine=29818898; + //BA.debugLineNum = 29818898;BA.debugLine="tf.SingleLine = Not(Multiline)"; +_tf.setSingleLine(__c.Not(__ref._multiline /*boolean*/ )); +RDebugUtils.currentLine=29818899; + //BA.debugLineNum = 29818899;BA.debugLine="tf.PasswordMode = Password"; _tf.setPasswordMode(_password); - //BA.debugLineNum = 348;BA.debugLine="If Password Then"; +RDebugUtils.currentLine=29818900; + //BA.debugLineNum = 29818900;BA.debugLine="If Password Then"; if (_password) { - //BA.debugLineNum = 349;BA.debugLine="If KeyboardType <> \"Text\" Then"; -if ((_keyboardtype).equals("Text") == false) { - //BA.debugLineNum = 350;BA.debugLine="tf.InputType = Bit.Or(tf.INPUT_TYPE_NUMBERS, 16"; +RDebugUtils.currentLine=29818901; + //BA.debugLineNum = 29818901;BA.debugLine="If KeyboardType <> \"Text\" Then"; +if ((__ref._keyboardtype /*String*/ ).equals("Text") == false) { +RDebugUtils.currentLine=29818902; + //BA.debugLineNum = 29818902;BA.debugLine="tf.InputType = Bit.Or(tf.INPUT_TYPE_NUMBERS, 16"; _tf.setInputType(__c.Bit.Or(_tf.INPUT_TYPE_NUMBERS,(int) (16))); }else { - //BA.debugLineNum = 352;BA.debugLine="tf.InputType = Bit.Or(0x00000080, 0x00080000) '"; +RDebugUtils.currentLine=29818904; + //BA.debugLineNum = 29818904;BA.debugLine="tf.InputType = Bit.Or(0x00000080, 0x00080000) '"; _tf.setInputType(__c.Bit.Or(((int)0x00000080),((int)0x00080000))); }; }else { - //BA.debugLineNum = 355;BA.debugLine="Select KeyboardType"; -switch (BA.switchObjectToInt(_keyboardtype,"Numbers","Decimal")) { +RDebugUtils.currentLine=29818907; + //BA.debugLineNum = 29818907;BA.debugLine="Select KeyboardType"; +switch (BA.switchObjectToInt(__ref._keyboardtype /*String*/ ,"Numbers","Decimal")) { case 0: { - //BA.debugLineNum = 357;BA.debugLine="tf.InputType = tf.INPUT_TYPE_NUMBERS"; +RDebugUtils.currentLine=29818909; + //BA.debugLineNum = 29818909;BA.debugLine="tf.InputType = tf.INPUT_TYPE_NUMBERS"; _tf.setInputType(_tf.INPUT_TYPE_NUMBERS); break; } case 1: { - //BA.debugLineNum = 359;BA.debugLine="tf.InputType = tf.INPUT_TYPE_DECIMAL_NUMBERS"; +RDebugUtils.currentLine=29818911; + //BA.debugLineNum = 29818911;BA.debugLine="tf.InputType = tf.INPUT_TYPE_DECIMAL_NUMBERS"; _tf.setInputType(_tf.INPUT_TYPE_DECIMAL_NUMBERS); break; } } ; }; - //BA.debugLineNum = 362;BA.debugLine="Return tf"; +RDebugUtils.currentLine=29818914; + //BA.debugLineNum = 29818914;BA.debugLine="Return tf"; if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_tf.getObject())); - //BA.debugLineNum = 386;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29818938; + //BA.debugLineNum = 29818938;BA.debugLine="End Sub"; return null; } -public String _createtextfieldall(boolean _passwordmode,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1,int _textcolor) throws Exception{ - //BA.debugLineNum = 109;BA.debugLine="Private Sub CreateTextFieldAll (PasswordMode As Bo"; - //BA.debugLineNum = 110;BA.debugLine="mTextField = CreateTextField (PasswordMode)"; -_mtextfield = _createtextfield(_passwordmode); - //BA.debugLineNum = 111;BA.debugLine="mTextField.Font = Font1"; -_mtextfield.setFont(_font1); - //BA.debugLineNum = 112;BA.debugLine="mTextField.TextColor = TextColor"; -_mtextfield.setTextColor(_textcolor); - //BA.debugLineNum = 113;BA.debugLine="setNextField(mNextTextField)"; -_setnextfield(_mnexttextfield); - //BA.debugLineNum = 114;BA.debugLine="mBase.AddView(mTextField, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mtextfield.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; +public String _createtextfieldall(gunav2.keymon.com.mx.b4xfloattextfield __ref,boolean _passwordmode,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1,int _textcolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createtextfieldall", true)) + {return ((String) Debug.delegate(ba, "createtextfieldall", new Object[] {_passwordmode,_font1,_textcolor}));} +RDebugUtils.currentLine=28573696; + //BA.debugLineNum = 28573696;BA.debugLine="Private Sub CreateTextFieldAll (PasswordMode As Bo"; +RDebugUtils.currentLine=28573697; + //BA.debugLineNum = 28573697;BA.debugLine="mTextField = CreateTextField (PasswordMode)"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,_passwordmode); +RDebugUtils.currentLine=28573698; + //BA.debugLineNum = 28573698;BA.debugLine="mTextField.Font = Font1"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setFont(_font1); +RDebugUtils.currentLine=28573699; + //BA.debugLineNum = 28573699;BA.debugLine="mTextField.TextColor = TextColor"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTextColor(_textcolor); +RDebugUtils.currentLine=28573700; + //BA.debugLineNum = 28573700;BA.debugLine="setNextField(mNextTextField)"; +__ref._setnextfield /*String*/ (null,__ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ); +RDebugUtils.currentLine=28573701; + //BA.debugLineNum = 28573701;BA.debugLine="mBase.AddView(mTextField, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28573702; + //BA.debugLineNum = 28573702;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _setnextfield(gunav2.keymon.com.mx.b4xfloattextfield __ref,gunav2.keymon.com.mx.b4xfloattextfield _field) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "setnextfield", true)) + {return ((String) Debug.delegate(ba, "setnextfield", new Object[] {_field}));} +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +Object _o = null; +RDebugUtils.currentLine=29622272; + //BA.debugLineNum = 29622272;BA.debugLine="Public Sub setNextField (Field As B4XFloatTextFiel"; +RDebugUtils.currentLine=29622273; + //BA.debugLineNum = 29622273;BA.debugLine="If Field.IsInitialized = False Then Return"; +if (_field.IsInitialized /*boolean*/ ()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=29622275; + //BA.debugLineNum = 29622275;BA.debugLine="If Multiline = False Then"; +if (__ref._multiline /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=29622276; + //BA.debugLineNum = 29622276;BA.debugLine="If Field <> Me Then"; +if ((_field).equals((gunav2.keymon.com.mx.b4xfloattextfield)(this)) == false) { +RDebugUtils.currentLine=29622277; + //BA.debugLineNum = 29622277;BA.debugLine="IME.AddHandleActionEvent(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .AddHandleActionEvent((android.widget.EditText)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),ba); + }; +RDebugUtils.currentLine=29622279; + //BA.debugLineNum = 29622279;BA.debugLine="Dim et As EditText = mTextField"; +_et = new anywheresoftware.b4a.objects.EditTextWrapper(); +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=29622280; + //BA.debugLineNum = 29622280;BA.debugLine="et.ForceDoneButton = True"; +_et.setForceDoneButton(__c.True); + }; +RDebugUtils.currentLine=29622283; + //BA.debugLineNum = 29622283;BA.debugLine="Dim o As Object = Field"; +_o = (Object)(_field); +RDebugUtils.currentLine=29622284; + //BA.debugLineNum = 29622284;BA.debugLine="mNextTextField = o"; +__ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ = (gunav2.keymon.com.mx.b4xfloattextfield)(_o); +RDebugUtils.currentLine=29622285; + //BA.debugLineNum = 29622285;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(gunav2.keymon.com.mx.b4xfloattextfield __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _passedlabel = null; anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; boolean _passwordmode = false; anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 67;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 68;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 69;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 69;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 70;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 71;BA.debugLine="mProps = Props"; -_mprops = _props; - //BA.debugLineNum = 72;BA.debugLine="Dim PassedLabel As B4XView = lbl"; +RDebugUtils.currentLine=28508160; + //BA.debugLineNum = 28508160;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=28508161; + //BA.debugLineNum = 28508161;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=28508162; + //BA.debugLineNum = 28508162;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=28508162; + //BA.debugLineNum = 28508162;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=28508163; + //BA.debugLineNum = 28508163;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28508164; + //BA.debugLineNum = 28508164;BA.debugLine="mProps = Props"; +__ref._mprops /*anywheresoftware.b4a.objects.collections.Map*/ = _props; +RDebugUtils.currentLine=28508165; + //BA.debugLineNum = 28508165;BA.debugLine="Dim PassedLabel As B4XView = lbl"; _passedlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _passedlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 73;BA.debugLine="Dim iv As ImageView"; +RDebugUtils.currentLine=28508166; + //BA.debugLineNum = 28508166;BA.debugLine="Dim iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 74;BA.debugLine="iv.Initialize(\"HintImageView\")"; +RDebugUtils.currentLine=28508167; + //BA.debugLineNum = 28508167;BA.debugLine="iv.Initialize(\"HintImageView\")"; _iv.Initialize(ba,"HintImageView"); - //BA.debugLineNum = 75;BA.debugLine="HintImageView = iv"; -_hintimageview = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 76;BA.debugLine="KeyboardType = Props.GetDefault(\"KeyboardType\", \""; -_keyboardtype = BA.ObjectToString(_props.GetDefault((Object)("KeyboardType"),(Object)("Text"))); - //BA.debugLineNum = 82;BA.debugLine="HintColor = xui.PaintOrColorToColor(Props.Get(\"Hi"; -_hintcolor = _xui.PaintOrColorToColor(_props.Get((Object)("HintColor"))); - //BA.debugLineNum = 83;BA.debugLine="NonFocusedHintColor = xui.PaintOrColorToColor(Pro"; -_nonfocusedhintcolor = _xui.PaintOrColorToColor(_props.Get((Object)("NonFocusedHintColor"))); - //BA.debugLineNum = 85;BA.debugLine="HintText = Props.Get(\"Hint\")"; -_hinttext = BA.ObjectToString(_props.Get((Object)("Hint"))); - //BA.debugLineNum = 86;BA.debugLine="HintFont = PassedLabel.Font"; -_hintfont = _passedlabel.getFont(); - //BA.debugLineNum = 87;BA.debugLine="Dim PasswordMode As Boolean = Props.GetDefault(\"P"; +RDebugUtils.currentLine=28508168; + //BA.debugLineNum = 28508168;BA.debugLine="HintImageView = iv"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); +RDebugUtils.currentLine=28508169; + //BA.debugLineNum = 28508169;BA.debugLine="KeyboardType = Props.GetDefault(\"KeyboardType\", \""; +__ref._keyboardtype /*String*/ = BA.ObjectToString(_props.GetDefault((Object)("KeyboardType"),(Object)("Text"))); +RDebugUtils.currentLine=28508175; + //BA.debugLineNum = 28508175;BA.debugLine="HintColor = xui.PaintOrColorToColor(Props.Get(\"Hi"; +__ref._hintcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("HintColor"))); +RDebugUtils.currentLine=28508176; + //BA.debugLineNum = 28508176;BA.debugLine="NonFocusedHintColor = xui.PaintOrColorToColor(Pro"; +__ref._nonfocusedhintcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("NonFocusedHintColor"))); +RDebugUtils.currentLine=28508178; + //BA.debugLineNum = 28508178;BA.debugLine="HintText = Props.Get(\"Hint\")"; +__ref._hinttext /*String*/ = BA.ObjectToString(_props.Get((Object)("Hint"))); +RDebugUtils.currentLine=28508179; + //BA.debugLineNum = 28508179;BA.debugLine="HintFont = PassedLabel.Font"; +__ref._hintfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _passedlabel.getFont(); +RDebugUtils.currentLine=28508180; + //BA.debugLineNum = 28508180;BA.debugLine="Dim PasswordMode As Boolean = Props.GetDefault(\"P"; _passwordmode = BA.ObjectToBoolean(_props.GetDefault((Object)("PasswordField"),(Object)(__c.False))); - //BA.debugLineNum = 88;BA.debugLine="Multiline = Props.GetDefault(\"Multiline\", False)"; -_multiline = BA.ObjectToBoolean(_props.GetDefault((Object)("Multiline"),(Object)(__c.False))); - //BA.debugLineNum = 89;BA.debugLine="If PasswordMode And Multiline Then"; -if (_passwordmode && _multiline) { - //BA.debugLineNum = 90;BA.debugLine="Multiline = False"; -_multiline = __c.False; - //BA.debugLineNum = 91;BA.debugLine="Log(\"Multiline not supported with password mode."; -__c.LogImpl("922347800","Multiline not supported with password mode.",0); +RDebugUtils.currentLine=28508181; + //BA.debugLineNum = 28508181;BA.debugLine="Multiline = Props.GetDefault(\"Multiline\", False)"; +__ref._multiline /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("Multiline"),(Object)(__c.False))); +RDebugUtils.currentLine=28508182; + //BA.debugLineNum = 28508182;BA.debugLine="If PasswordMode And Multiline Then"; +if (_passwordmode && __ref._multiline /*boolean*/ ) { +RDebugUtils.currentLine=28508183; + //BA.debugLineNum = 28508183;BA.debugLine="Multiline = False"; +__ref._multiline /*boolean*/ = __c.False; +RDebugUtils.currentLine=28508184; + //BA.debugLineNum = 28508184;BA.debugLine="Log(\"Multiline not supported with password mode."; +__c.LogImpl("928508184","Multiline not supported with password mode.",0); }; - //BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font"; -_createtextfieldall(_passwordmode,_passedlabel.getFont(),_xui.PaintOrColorToColor((Object)(_lbl.getTextColor()))); - //BA.debugLineNum = 95;BA.debugLine="mBase.AddView(HintImageView, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_hintimageview.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 96;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=28508186; + //BA.debugLineNum = 28508186;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font"; +__ref._createtextfieldall /*String*/ (null,_passwordmode,_passedlabel.getFont(),__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor((Object)(_lbl.getTextColor()))); +RDebugUtils.currentLine=28508188; + //BA.debugLineNum = 28508188;BA.debugLine="mBase.AddView(HintImageView, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=28508189; + //BA.debugLineNum = 28508189;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 97;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=28508190; + //BA.debugLineNum = 28508190;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; _p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 98;BA.debugLine="MeasuringCanvas.Initialize(p)"; -_measuringcanvas.Initialize(_p); - //BA.debugLineNum = 99;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 100;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; +RDebugUtils.currentLine=28508191; + //BA.debugLineNum = 28508191;BA.debugLine="MeasuringCanvas.Initialize(p)"; +__ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_p); +RDebugUtils.currentLine=28508192; + //BA.debugLineNum = 28508192;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=28508193; + //BA.debugLineNum = 28508193;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; if (_passwordmode && BA.ObjectToBoolean(_props.GetDefault((Object)("ShowRevealButton"),(Object)(__c.False)))) { - //BA.debugLineNum = 101;BA.debugLine="CreateRevealButton"; -_createrevealbutton(); +RDebugUtils.currentLine=28508194; + //BA.debugLineNum = 28508194;BA.debugLine="CreateRevealButton"; +__ref._createrevealbutton /*String*/ (null); }else { - //BA.debugLineNum = 103;BA.debugLine="CreateClearButton"; -_createclearbutton(); +RDebugUtils.currentLine=28508196; + //BA.debugLineNum = 28508196;BA.debugLine="CreateClearButton"; +__ref._createclearbutton /*String*/ (null); }; - //BA.debugLineNum = 105;BA.debugLine="CreateAcceptButton"; -_createacceptbutton(); - //BA.debugLineNum = 106;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28508198; + //BA.debugLineNum = 28508198;BA.debugLine="CreateAcceptButton"; +__ref._createacceptbutton /*String*/ (null); +RDebugUtils.currentLine=28508199; + //BA.debugLineNum = 28508199;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=28508200; + //BA.debugLineNum = 28508200;BA.debugLine="End Sub"; return ""; } -public gunav2.keymon.com.mx.b4xfloattextfield _getnextfield() throws Exception{ - //BA.debugLineNum = 295;BA.debugLine="Public Sub getNextField As B4XFloatTextField"; - //BA.debugLineNum = 296;BA.debugLine="Return mNextTextField"; -if (true) return _mnexttextfield; - //BA.debugLineNum = 297;BA.debugLine="End Sub"; -return null; -} -public String _gettext() throws Exception{ - //BA.debugLineNum = 388;BA.debugLine="Public Sub getText As String"; - //BA.debugLineNum = 389;BA.debugLine="Return mTextField.Text"; -if (true) return _mtextfield.getText(); - //BA.debugLineNum = 390;BA.debugLine="End Sub"; +public String _update(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _f = null; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=29163520; + //BA.debugLineNum = 29163520;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=29163521; + //BA.debugLineNum = 29163521;BA.debugLine="Dim f As B4XFont = xui.CreateFont2(HintFont, Lar"; +_f = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateFont2(__ref._hintfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ,__ref._largelabeltextsize /*float*/ ); +RDebugUtils.currentLine=29163522; + //BA.debugLineNum = 29163522;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +_r = __ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(__ref._hinttext /*String*/ ,_f); +RDebugUtils.currentLine=29163523; + //BA.debugLineNum = 29163523;BA.debugLine="LargeFocused = CreateBitmap(r, HintColor, f)"; +__ref._largefocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,_r,__ref._hintcolor /*int*/ ,_f); +RDebugUtils.currentLine=29163524; + //BA.debugLineNum = 29163524;BA.debugLine="LargeNotFocused = CreateBitmap(r, NonFocusedHintC"; +__ref._largenotfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,_r,__ref._nonfocusedhintcolor /*int*/ ,_f); +RDebugUtils.currentLine=29163525; + //BA.debugLineNum = 29163525;BA.debugLine="f = xui.CreateFont2(HintFont, SmallLabelTextSize)"; +_f = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateFont2(__ref._hintfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ,__ref._smalllabeltextsize /*float*/ ); +RDebugUtils.currentLine=29163526; + //BA.debugLineNum = 29163526;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +_r = __ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(__ref._hinttext /*String*/ ,_f); +RDebugUtils.currentLine=29163527; + //BA.debugLineNum = 29163527;BA.debugLine="SmallFocused = CreateBitmap(r, HintColor, f)"; +__ref._smallfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,_r,__ref._hintcolor /*int*/ ,_f); +RDebugUtils.currentLine=29163528; + //BA.debugLineNum = 29163528;BA.debugLine="SmallNotFocused = CreateBitmap(r, NonFocusedHintC"; +__ref._smallnotfocused /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,_r,__ref._nonfocusedhintcolor /*int*/ ,_f); +RDebugUtils.currentLine=29163529; + //BA.debugLineNum = 29163529;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=29163530; + //BA.debugLineNum = 29163530;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _gettextfield() throws Exception{ - //BA.debugLineNum = 445;BA.debugLine="Public Sub getTextField As B4XView"; - //BA.debugLineNum = 446;BA.debugLine="Return mTextField"; -if (true) return _mtextfield; - //BA.debugLineNum = 447;BA.debugLine="End Sub"; +public gunav2.keymon.com.mx.b4xfloattextfield _getnextfield(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "getnextfield", true)) + {return ((gunav2.keymon.com.mx.b4xfloattextfield) Debug.delegate(ba, "getnextfield", null));} +RDebugUtils.currentLine=29556736; + //BA.debugLineNum = 29556736;BA.debugLine="Public Sub getNextField As B4XFloatTextField"; +RDebugUtils.currentLine=29556737; + //BA.debugLineNum = 29556737;BA.debugLine="Return mNextTextField"; +if (true) return __ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ; +RDebugUtils.currentLine=29556738; + //BA.debugLineNum = 29556738;BA.debugLine="End Sub"; return null; } -public boolean _ime_handleaction() throws Exception{ - //BA.debugLineNum = 314;BA.debugLine="Private Sub ime_HandleAction As Boolean"; - //BA.debugLineNum = 315;BA.debugLine="tf_EnterPressed"; -_tf_enterpressed(); - //BA.debugLineNum = 316;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; -if (_mnexttextfield.IsInitialized /*boolean*/ ()) { +public String _gettext(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((String) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=29884416; + //BA.debugLineNum = 29884416;BA.debugLine="Public Sub getText As String"; +RDebugUtils.currentLine=29884417; + //BA.debugLineNum = 29884417;BA.debugLine="Return mTextField.Text"; +if (true) return __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=29884418; + //BA.debugLineNum = 29884418;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _gettextfield(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "gettextfield", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "gettextfield", null));} +RDebugUtils.currentLine=30081024; + //BA.debugLineNum = 30081024;BA.debugLine="Public Sub getTextField As B4XView"; +RDebugUtils.currentLine=30081025; + //BA.debugLineNum = 30081025;BA.debugLine="Return mTextField"; +if (true) return __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=30081026; + //BA.debugLineNum = 30081026;BA.debugLine="End Sub"; +return null; +} +public boolean _ime_handleaction(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "ime_handleaction", true)) + {return ((Boolean) Debug.delegate(ba, "ime_handleaction", null));} +RDebugUtils.currentLine=29687808; + //BA.debugLineNum = 29687808;BA.debugLine="Private Sub ime_HandleAction As Boolean"; +RDebugUtils.currentLine=29687809; + //BA.debugLineNum = 29687809;BA.debugLine="tf_EnterPressed"; +__ref._tf_enterpressed /*String*/ (null); +RDebugUtils.currentLine=29687810; + //BA.debugLineNum = 29687810;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; +if (__ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ .IsInitialized /*boolean*/ ()) { if (true) return __c.True;}; - //BA.debugLineNum = 317;BA.debugLine="Return False"; +RDebugUtils.currentLine=29687811; + //BA.debugLineNum = 29687811;BA.debugLine="Return False"; if (true) return __c.False; - //BA.debugLineNum = 318;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29687812; + //BA.debugLineNum = 29687812;BA.debugLine="End Sub"; return false; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 50;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 51;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 52;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 53;BA.debugLine="If xui.IsB4A Then"; -if (_xui.getIsB4A()) { - //BA.debugLineNum = 54;BA.debugLine="HintLabelLargeOffsetX = 6dip"; -_hintlabellargeoffsetx = __c.DipToCurrent((int) (6)); - }else { - //BA.debugLineNum = 56;BA.debugLine="HintLabelLargeOffsetX = 12dip"; -_hintlabellargeoffsetx = __c.DipToCurrent((int) (12)); - }; - //BA.debugLineNum = 59;BA.debugLine="IME.Initialize(\"ime\")"; -_ime.Initialize("ime"); - //BA.debugLineNum = 65;BA.debugLine="End Sub"; +public String _tf_enterpressed(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_enterpressed", true)) + {return ((String) Debug.delegate(ba, "tf_enterpressed", null));} +RDebugUtils.currentLine=29753344; + //BA.debugLineNum = 29753344;BA.debugLine="Private Sub tf_EnterPressed"; +RDebugUtils.currentLine=29753345; + //BA.debugLineNum = 29753345;BA.debugLine="tf_Action"; +__ref._tf_action /*String*/ (null); +RDebugUtils.currentLine=29753350; + //BA.debugLineNum = 29753350;BA.debugLine="End Sub"; return ""; } -public String _lc_click() throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xfloattextfield __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=28442624; + //BA.debugLineNum = 28442624;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=28442625; + //BA.debugLineNum = 28442625;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=28442626; + //BA.debugLineNum = 28442626;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=28442627; + //BA.debugLineNum = 28442627;BA.debugLine="If xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=28442628; + //BA.debugLineNum = 28442628;BA.debugLine="HintLabelLargeOffsetX = 6dip"; +__ref._hintlabellargeoffsetx /*int*/ = __c.DipToCurrent((int) (6)); + }else { +RDebugUtils.currentLine=28442630; + //BA.debugLineNum = 28442630;BA.debugLine="HintLabelLargeOffsetX = 12dip"; +__ref._hintlabellargeoffsetx /*int*/ = __c.DipToCurrent((int) (12)); + }; +RDebugUtils.currentLine=28442633; + //BA.debugLineNum = 28442633;BA.debugLine="IME.Initialize(\"ime\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize("ime"); +RDebugUtils.currentLine=28442639; + //BA.debugLineNum = 28442639;BA.debugLine="End Sub"; +return ""; +} +public String _lc_click(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "lc_click", true)) + {return ((String) Debug.delegate(ba, "lc_click", null));} anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; - //BA.debugLineNum = 403;BA.debugLine="Private Sub lc_Click"; - //BA.debugLineNum = 404;BA.debugLine="Dim btn As B4XView = Sender"; +RDebugUtils.currentLine=30015488; + //BA.debugLineNum = 30015488;BA.debugLine="Private Sub lc_Click"; +RDebugUtils.currentLine=30015489; + //BA.debugLineNum = 30015489;BA.debugLine="Dim btn As B4XView = Sender"; _btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); _btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 405;BA.debugLine="Select btn.Tag"; +RDebugUtils.currentLine=30015490; + //BA.debugLineNum = 30015490;BA.debugLine="Select btn.Tag"; switch (BA.switchObjectToInt(_btn.getTag(),(Object)("clear"),(Object)("reveal"),(Object)("hide"),(Object)("v"))) { case 0: { - //BA.debugLineNum = 407;BA.debugLine="setText(\"\")"; -_settext(""); +RDebugUtils.currentLine=30015492; + //BA.debugLineNum = 30015492;BA.debugLine="setText(\"\")"; +__ref._settext /*String*/ (null,""); break; } case 1: { - //BA.debugLineNum = 409;BA.debugLine="SwitchFromPasswordToRegular (True)"; -_switchfrompasswordtoregular(__c.True); +RDebugUtils.currentLine=30015494; + //BA.debugLineNum = 30015494;BA.debugLine="SwitchFromPasswordToRegular (True)"; +__ref._switchfrompasswordtoregular /*void*/ (null,__c.True); break; } case 2: { - //BA.debugLineNum = 411;BA.debugLine="SwitchFromPasswordToRegular(False)"; -_switchfrompasswordtoregular(__c.False); +RDebugUtils.currentLine=30015496; + //BA.debugLineNum = 30015496;BA.debugLine="SwitchFromPasswordToRegular(False)"; +__ref._switchfrompasswordtoregular /*void*/ (null,__c.False); break; } case 3: { - //BA.debugLineNum = 413;BA.debugLine="tf_EnterPressed"; -_tf_enterpressed(); - //BA.debugLineNum = 414;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; -if (_mnexttextfield.IsInitialized /*boolean*/ ()==__c.False || (_mnexttextfield).equals((gunav2.keymon.com.mx.b4xfloattextfield)(this))) { - //BA.debugLineNum = 416;BA.debugLine="IME.HideKeyboard"; -_ime.HideKeyboard(ba); +RDebugUtils.currentLine=30015498; + //BA.debugLineNum = 30015498;BA.debugLine="tf_EnterPressed"; +__ref._tf_enterpressed /*String*/ (null); +RDebugUtils.currentLine=30015499; + //BA.debugLineNum = 30015499;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; +if (__ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ .IsInitialized /*boolean*/ ()==__c.False || (__ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ).equals((gunav2.keymon.com.mx.b4xfloattextfield)(this))) { +RDebugUtils.currentLine=30015501; + //BA.debugLineNum = 30015501;BA.debugLine="IME.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); }; break; } } ; - //BA.debugLineNum = 422;BA.debugLine="End Sub"; +RDebugUtils.currentLine=30015507; + //BA.debugLineNum = 30015507;BA.debugLine="End Sub"; return ""; } -public String _requestfocusandshowkeyboard() throws Exception{ - //BA.debugLineNum = 450;BA.debugLine="Public Sub RequestFocusAndShowKeyboard"; - //BA.debugLineNum = 451;BA.debugLine="mTextField.RequestFocus"; -_mtextfield.RequestFocus(); - //BA.debugLineNum = 453;BA.debugLine="IME.ShowKeyboard(mTextField)"; -_ime.ShowKeyboard((android.view.View)(_mtextfield.getObject())); - //BA.debugLineNum = 455;BA.debugLine="End Sub"; -return ""; -} -public String _setnextfield(gunav2.keymon.com.mx.b4xfloattextfield _field) throws Exception{ -anywheresoftware.b4a.objects.EditTextWrapper _et = null; -Object _o = null; - //BA.debugLineNum = 299;BA.debugLine="Public Sub setNextField (Field As B4XFloatTextFiel"; - //BA.debugLineNum = 300;BA.debugLine="If Field.IsInitialized = False Then Return"; -if (_field.IsInitialized /*boolean*/ ()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 302;BA.debugLine="If Multiline = False Then"; -if (_multiline==__c.False) { - //BA.debugLineNum = 303;BA.debugLine="If Field <> Me Then"; -if ((_field).equals((gunav2.keymon.com.mx.b4xfloattextfield)(this)) == false) { - //BA.debugLineNum = 304;BA.debugLine="IME.AddHandleActionEvent(mTextField)"; -_ime.AddHandleActionEvent((android.widget.EditText)(_mtextfield.getObject()),ba); - }; - //BA.debugLineNum = 306;BA.debugLine="Dim et As EditText = mTextField"; -_et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_mtextfield.getObject())); - //BA.debugLineNum = 307;BA.debugLine="et.ForceDoneButton = True"; -_et.setForceDoneButton(__c.True); - }; - //BA.debugLineNum = 310;BA.debugLine="Dim o As Object = Field"; -_o = (Object)(_field); - //BA.debugLineNum = 311;BA.debugLine="mNextTextField = o"; -_mnexttextfield = (gunav2.keymon.com.mx.b4xfloattextfield)(_o); - //BA.debugLineNum = 312;BA.debugLine="End Sub"; -return ""; -} -public String _settext(String _s) throws Exception{ +public String _settext(gunav2.keymon.com.mx.b4xfloattextfield __ref,String _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_s}));} String _old = ""; - //BA.debugLineNum = 392;BA.debugLine="Public Sub setText(s As String)"; - //BA.debugLineNum = 393;BA.debugLine="Dim old As String = mTextField.Text 'ignore"; -_old = _mtextfield.getText(); - //BA.debugLineNum = 394;BA.debugLine="mTextField.Text = s"; -_mtextfield.setText(BA.ObjectToCharSequence(_s)); - //BA.debugLineNum = 396;BA.debugLine="If IsPaused(Me) Then tf_TextChanged(old, s)"; +RDebugUtils.currentLine=29949952; + //BA.debugLineNum = 29949952;BA.debugLine="Public Sub setText(s As String)"; +RDebugUtils.currentLine=29949953; + //BA.debugLineNum = 29949953;BA.debugLine="Dim old As String = mTextField.Text 'ignore"; +_old = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=29949954; + //BA.debugLineNum = 29949954;BA.debugLine="mTextField.Text = s"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(_s)); +RDebugUtils.currentLine=29949956; + //BA.debugLineNum = 29949956;BA.debugLine="If IsPaused(Me) Then tf_TextChanged(old, s)"; if (__c.IsPaused(ba,this)) { -_tf_textchanged(_old,_s);}; - //BA.debugLineNum = 400;BA.debugLine="End Sub"; +__ref._tf_textchanged /*String*/ (null,_old,_s);}; +RDebugUtils.currentLine=29949960; + //BA.debugLineNum = 29949960;BA.debugLine="End Sub"; return ""; } -public void _switchfrompasswordtoregular(boolean _toregular) throws Exception{ -ResumableSub_SwitchFromPasswordToRegular rsub = new ResumableSub_SwitchFromPasswordToRegular(this,_toregular); +public void _switchfrompasswordtoregular(gunav2.keymon.com.mx.b4xfloattextfield __ref,boolean _toregular) throws Exception{ +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "switchfrompasswordtoregular", true)) + {Debug.delegate(ba, "switchfrompasswordtoregular", new Object[] {_toregular}); return;} +ResumableSub_SwitchFromPasswordToRegular rsub = new ResumableSub_SwitchFromPasswordToRegular(this,__ref,_toregular); rsub.resume(ba, null); } public static class ResumableSub_SwitchFromPasswordToRegular extends BA.ResumableSub { -public ResumableSub_SwitchFromPasswordToRegular(gunav2.keymon.com.mx.b4xfloattextfield parent,boolean _toregular) { +public ResumableSub_SwitchFromPasswordToRegular(gunav2.keymon.com.mx.b4xfloattextfield parent,gunav2.keymon.com.mx.b4xfloattextfield __ref,boolean _toregular) { this.parent = parent; +this.__ref = __ref; this._toregular = _toregular; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xfloattextfield __ref; gunav2.keymon.com.mx.b4xfloattextfield parent; boolean _toregular; String _text = ""; @@ -538,6 +924,7 @@ anywheresoftware.b4a.objects.EditTextWrapper _et = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xfloattextfield"; while (true) { switch (state) { @@ -547,33 +934,41 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 138;BA.debugLine="Dim text As String = mTextField.Text"; -_text = parent._mtextfield.getText(); - //BA.debugLineNum = 139;BA.debugLine="Dim textcolor As Int = mTextField.TextColor"; -_textcolor = parent._mtextfield.getTextColor(); - //BA.debugLineNum = 140;BA.debugLine="Dim Font1 As B4XFont = mTextField.Font"; -_font1 = parent._mtextfield.getFont(); - //BA.debugLineNum = 141;BA.debugLine="Dim oldfield As B4XView = mTextField"; +RDebugUtils.currentLine=28835841; + //BA.debugLineNum = 28835841;BA.debugLine="Dim text As String = mTextField.Text"; +_text = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=28835842; + //BA.debugLineNum = 28835842;BA.debugLine="Dim textcolor As Int = mTextField.TextColor"; +_textcolor = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor(); +RDebugUtils.currentLine=28835843; + //BA.debugLineNum = 28835843;BA.debugLine="Dim Font1 As B4XFont = mTextField.Font"; +_font1 = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getFont(); +RDebugUtils.currentLine=28835844; + //BA.debugLineNum = 28835844;BA.debugLine="Dim oldfield As B4XView = mTextField"; _oldfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_oldfield = parent._mtextfield; - //BA.debugLineNum = 143;BA.debugLine="CreateTextFieldAll(Not(ToRegular), Font1, textcol"; -parent._createtextfieldall(parent.__c.Not(_toregular),_font1,_textcolor); - //BA.debugLineNum = 144;BA.debugLine="mTextField.Text = text"; -parent._mtextfield.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 145;BA.debugLine="If lblClear.IsInitialized Then"; +_oldfield = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=28835846; + //BA.debugLineNum = 28835846;BA.debugLine="CreateTextFieldAll(Not(ToRegular), Font1, textcol"; +__ref._createtextfieldall /*String*/ (null,parent.__c.Not(_toregular),_font1,_textcolor); +RDebugUtils.currentLine=28835847; + //BA.debugLineNum = 28835847;BA.debugLine="mTextField.Text = text"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=28835848; + //BA.debugLineNum = 28835848;BA.debugLine="If lblClear.IsInitialized Then"; if (true) break; case 1: //if this.state = 10; -if (parent._lblclear.IsInitialized()) { +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 146;BA.debugLine="If ToRegular = False Then"; +RDebugUtils.currentLine=28835849; + //BA.debugLineNum = 28835849;BA.debugLine="If ToRegular = False Then"; if (true) break; case 4: @@ -588,268 +983,268 @@ this.state = 8; case 6: //C this.state = 9; - //BA.debugLineNum = 147;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; -parent._lblclear.setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f4)))); - //BA.debugLineNum = 148;BA.debugLine="lblClear.Tag = \"reveal\""; -parent._lblclear.setTag((Object)("reveal")); +RDebugUtils.currentLine=28835850; + //BA.debugLineNum = 28835850;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f4)))); +RDebugUtils.currentLine=28835851; + //BA.debugLineNum = 28835851;BA.debugLine="lblClear.Tag = \"reveal\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("reveal")); if (true) break; case 8: //C this.state = 9; - //BA.debugLineNum = 150;BA.debugLine="lblClear.Tag = \"hide\""; -parent._lblclear.setTag((Object)("hide")); - //BA.debugLineNum = 151;BA.debugLine="lblClear.Text = Chr(0xE8F5)"; -parent._lblclear.setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f5)))); +RDebugUtils.currentLine=28835853; + //BA.debugLineNum = 28835853;BA.debugLine="lblClear.Tag = \"hide\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("hide")); +RDebugUtils.currentLine=28835854; + //BA.debugLineNum = 28835854;BA.debugLine="lblClear.Text = Chr(0xE8F5)"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f5)))); if (true) break; case 9: //C this.state = 10; ; - //BA.debugLineNum = 153;BA.debugLine="lblClear.BringToFront"; -parent._lblclear.BringToFront(); +RDebugUtils.currentLine=28835856; + //BA.debugLineNum = 28835856;BA.debugLine="lblClear.BringToFront"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); if (true) break; ; - //BA.debugLineNum = 155;BA.debugLine="If lblV.IsInitialized Then lblV.BringToFront"; +RDebugUtils.currentLine=28835858; + //BA.debugLineNum = 28835858;BA.debugLine="If lblV.IsInitialized Then lblV.BringToFront"; case 10: //if this.state = 15; -if (parent._lblv.IsInitialized()) { +if (__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { this.state = 12; ;}if (true) break; case 12: //C this.state = 15; -parent._lblv.BringToFront(); +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); if (true) break; case 15: //C this.state = 16; ; - //BA.debugLineNum = 156;BA.debugLine="HintImageView.BringToFront"; -parent._hintimageview.BringToFront(); - //BA.debugLineNum = 157;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -parent._base_resize(parent._mbase.getWidth(),parent._mbase.getHeight()); - //BA.debugLineNum = 162;BA.debugLine="Dim et As EditText = mTextField"; +RDebugUtils.currentLine=28835859; + //BA.debugLineNum = 28835859;BA.debugLine="HintImageView.BringToFront"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); +RDebugUtils.currentLine=28835860; + //BA.debugLineNum = 28835860;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=28835865; + //BA.debugLineNum = 28835865;BA.debugLine="Dim et As EditText = mTextField"; _et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(parent._mtextfield.getObject())); - //BA.debugLineNum = 163;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; -_et.setSelectionStart(parent._mtextfield.getText().length()); - //BA.debugLineNum = 165;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; -parent._lastswitchtextfieldtime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 166;BA.debugLine="mTextField.RequestFocus"; -parent._mtextfield.RequestFocus(); - //BA.debugLineNum = 167;BA.debugLine="oldfield.RemoveViewFromParent"; +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=28835866; + //BA.debugLineNum = 28835866;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; +_et.setSelectionStart(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText().length()); +RDebugUtils.currentLine=28835868; + //BA.debugLineNum = 28835868;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; +__ref._lastswitchtextfieldtime /*long*/ = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=28835869; + //BA.debugLineNum = 28835869;BA.debugLine="mTextField.RequestFocus"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=28835870; + //BA.debugLineNum = 28835870;BA.debugLine="oldfield.RemoveViewFromParent"; _oldfield.RemoveViewFromParent(); - //BA.debugLineNum = 169;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; -parent._lastswitchtextfieldtime = (long) (parent.__c.DateTime.getNow()+200); - //BA.debugLineNum = 170;BA.debugLine="et.Enabled = False"; +RDebugUtils.currentLine=28835872; + //BA.debugLineNum = 28835872;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; +__ref._lastswitchtextfieldtime /*long*/ = (long) (parent.__c.DateTime.getNow()+200); +RDebugUtils.currentLine=28835873; + //BA.debugLineNum = 28835873;BA.debugLine="et.Enabled = False"; _et.setEnabled(parent.__c.False); - //BA.debugLineNum = 171;BA.debugLine="Sleep(50)"; -parent.__c.Sleep(ba,this,(int) (50)); +RDebugUtils.currentLine=28835874; + //BA.debugLineNum = 28835874;BA.debugLine="Sleep(50)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xfloattextfield", "switchfrompasswordtoregular"),(int) (50)); this.state = 20; return; case 20: //C this.state = 16; ; - //BA.debugLineNum = 172;BA.debugLine="et.Enabled = True"; +RDebugUtils.currentLine=28835875; + //BA.debugLineNum = 28835875;BA.debugLine="et.Enabled = True"; _et.setEnabled(parent.__c.True); - //BA.debugLineNum = 173;BA.debugLine="Sleep(50)"; -parent.__c.Sleep(ba,this,(int) (50)); +RDebugUtils.currentLine=28835876; + //BA.debugLineNum = 28835876;BA.debugLine="Sleep(50)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xfloattextfield", "switchfrompasswordtoregular"),(int) (50)); this.state = 21; return; case 21: //C this.state = 16; ; - //BA.debugLineNum = 174;BA.debugLine="et.RequestFocus"; +RDebugUtils.currentLine=28835877; + //BA.debugLineNum = 28835877;BA.debugLine="et.RequestFocus"; _et.RequestFocus(); - //BA.debugLineNum = 175;BA.debugLine="IME.ShowKeyboard(mTextField)"; -parent._ime.ShowKeyboard((android.view.View)(parent._mtextfield.getObject())); - //BA.debugLineNum = 177;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Passwo"; +RDebugUtils.currentLine=28835878; + //BA.debugLineNum = 28835878;BA.debugLine="IME.ShowKeyboard(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=28835880; + //BA.debugLineNum = 28835880;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Passwo"; if (true) break; case 16: //if this.state = 19; -if (parent._xui.SubExists(ba,parent._mcallback,parent._meventname+"_PasswordRevealChanged",(int) (1))) { +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_PasswordRevealChanged",(int) (1))) { this.state = 18; }if (true) break; case 18: //C this.state = 19; - //BA.debugLineNum = 178;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Passwo"; -parent.__c.CallSubDelayed2(ba,parent._mcallback,parent._meventname+"_PasswordRevealChanged",(Object)(_toregular)); +RDebugUtils.currentLine=28835881; + //BA.debugLineNum = 28835881;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Passwo"; +parent.__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_PasswordRevealChanged",(Object)(_toregular)); if (true) break; case 19: //C this.state = -1; ; - //BA.debugLineNum = 180;BA.debugLine="End Sub"; +RDebugUtils.currentLine=28835883; + //BA.debugLineNum = 28835883;BA.debugLine="End Sub"; if (true) break; } } } } -public String _tf_action() throws Exception{ - //BA.debugLineNum = 277;BA.debugLine="Private Sub tf_Action"; - //BA.debugLineNum = 278;BA.debugLine="If mNextTextField.IsInitialized And mNextTextFiel"; -if (_mnexttextfield.IsInitialized /*boolean*/ () && (_mnexttextfield).equals((gunav2.keymon.com.mx.b4xfloattextfield)(this)) == false) { - //BA.debugLineNum = 279;BA.debugLine="mNextTextField.TextField.RequestFocus"; -_mnexttextfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().RequestFocus(); +public String _requestfocusandshowkeyboard(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "requestfocusandshowkeyboard", true)) + {return ((String) Debug.delegate(ba, "requestfocusandshowkeyboard", null));} +RDebugUtils.currentLine=30146560; + //BA.debugLineNum = 30146560;BA.debugLine="Public Sub RequestFocusAndShowKeyboard"; +RDebugUtils.currentLine=30146561; + //BA.debugLineNum = 30146561;BA.debugLine="mTextField.RequestFocus"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=30146563; + //BA.debugLineNum = 30146563;BA.debugLine="IME.ShowKeyboard(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=30146565; + //BA.debugLineNum = 30146565;BA.debugLine="End Sub"; +return ""; +} +public String _tf_textchanged(gunav2.keymon.com.mx.b4xfloattextfield __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_textchanged", true)) + {return ((String) Debug.delegate(ba, "tf_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=29491200; + //BA.debugLineNum = 29491200;BA.debugLine="Private Sub tf_TextChanged (Old As String, New As"; +RDebugUtils.currentLine=29491201; + //BA.debugLineNum = 29491201;BA.debugLine="UpdateLabel(New, False)"; +__ref._updatelabel /*String*/ (null,_new,__c.False); +RDebugUtils.currentLine=29491202; + //BA.debugLineNum = 29491202;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TextCh"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TextChanged",(int) (2)) && __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=29491203; + //BA.debugLineNum = 29491203;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; +__c.CallSubNew3(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TextChanged",(Object)(_old),(Object)(_new)); }; - //BA.debugLineNum = 281;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_EnterP"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_EnterPressed",(int) (0))) { - //BA.debugLineNum = 282;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_EnterPressed"); +RDebugUtils.currentLine=29491205; + //BA.debugLineNum = 29491205;BA.debugLine="End Sub"; +return ""; +} +public String _tf_action(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_action", true)) + {return ((String) Debug.delegate(ba, "tf_action", null));} +RDebugUtils.currentLine=29425664; + //BA.debugLineNum = 29425664;BA.debugLine="Private Sub tf_Action"; +RDebugUtils.currentLine=29425665; + //BA.debugLineNum = 29425665;BA.debugLine="If mNextTextField.IsInitialized And mNextTextFiel"; +if (__ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ .IsInitialized /*boolean*/ () && (__ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ).equals((gunav2.keymon.com.mx.b4xfloattextfield)(this)) == false) { +RDebugUtils.currentLine=29425666; + //BA.debugLineNum = 29425666;BA.debugLine="mNextTextField.TextField.RequestFocus"; +__ref._mnexttextfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).RequestFocus(); }; - //BA.debugLineNum = 284;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29425668; + //BA.debugLineNum = 29425668;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_EnterP"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_EnterPressed",(int) (0))) { +RDebugUtils.currentLine=29425669; + //BA.debugLineNum = 29425669;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_EnterPressed"); + }; +RDebugUtils.currentLine=29425671; + //BA.debugLineNum = 29425671;BA.debugLine="End Sub"; return ""; } -public String _tf_beginedit() throws Exception{ - //BA.debugLineNum = 269;BA.debugLine="Private Sub tf_BeginEdit"; - //BA.debugLineNum = 270;BA.debugLine="tf_FocusChanged(True)"; -_tf_focuschanged(__c.True); - //BA.debugLineNum = 271;BA.debugLine="End Sub"; +public String _tf_beginedit(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_beginedit", true)) + {return ((String) Debug.delegate(ba, "tf_beginedit", null));} +RDebugUtils.currentLine=29294592; + //BA.debugLineNum = 29294592;BA.debugLine="Private Sub tf_BeginEdit"; +RDebugUtils.currentLine=29294593; + //BA.debugLineNum = 29294593;BA.debugLine="tf_FocusChanged(True)"; +__ref._tf_focuschanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=29294594; + //BA.debugLineNum = 29294594;BA.debugLine="End Sub"; return ""; } -public String _tf_endedit() throws Exception{ - //BA.debugLineNum = 273;BA.debugLine="Private Sub tf_EndEdit"; - //BA.debugLineNum = 274;BA.debugLine="tf_FocusChanged(False)"; -_tf_focuschanged(__c.False); - //BA.debugLineNum = 275;BA.debugLine="End Sub"; -return ""; -} -public String _tf_enterpressed() throws Exception{ - //BA.debugLineNum = 320;BA.debugLine="Private Sub tf_EnterPressed"; - //BA.debugLineNum = 321;BA.debugLine="tf_Action"; -_tf_action(); - //BA.debugLineNum = 326;BA.debugLine="End Sub"; -return ""; -} -public String _tf_focuschanged(boolean _hasfocus) throws Exception{ - //BA.debugLineNum = 234;BA.debugLine="Private Sub tf_FocusChanged (HasFocus As Boolean)"; - //BA.debugLineNum = 235;BA.debugLine="Focused = HasFocus"; -_focused = _hasfocus; - //BA.debugLineNum = 236;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 237;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_FocusC"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_FocusChanged",(int) (1))) { - //BA.debugLineNum = 238;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; -if (_lastswitchtextfieldtime+100<__c.DateTime.getNow()) { - //BA.debugLineNum = 239;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_FocusChanged",(Object)(_focused)); +public String _tf_focuschanged(gunav2.keymon.com.mx.b4xfloattextfield __ref,boolean _hasfocus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_focuschanged", true)) + {return ((String) Debug.delegate(ba, "tf_focuschanged", new Object[] {_hasfocus}));} +RDebugUtils.currentLine=29097984; + //BA.debugLineNum = 29097984;BA.debugLine="Private Sub tf_FocusChanged (HasFocus As Boolean)"; +RDebugUtils.currentLine=29097985; + //BA.debugLineNum = 29097985;BA.debugLine="Focused = HasFocus"; +__ref._focused /*boolean*/ = _hasfocus; +RDebugUtils.currentLine=29097986; + //BA.debugLineNum = 29097986;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=29097987; + //BA.debugLineNum = 29097987;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_FocusC"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_FocusChanged",(int) (1))) { +RDebugUtils.currentLine=29097988; + //BA.debugLineNum = 29097988;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; +if (__ref._lastswitchtextfieldtime /*long*/ +100<__c.DateTime.getNow()) { +RDebugUtils.currentLine=29097989; + //BA.debugLineNum = 29097989;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_FocusChanged",(Object)(__ref._focused /*boolean*/ )); }; }; - //BA.debugLineNum = 242;BA.debugLine="End Sub"; +RDebugUtils.currentLine=29097992; + //BA.debugLineNum = 29097992;BA.debugLine="End Sub"; return ""; } -public String _tf_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 287;BA.debugLine="Private Sub tf_TextChanged (Old As String, New As"; - //BA.debugLineNum = 288;BA.debugLine="UpdateLabel(New, False)"; -_updatelabel(_new,__c.False); - //BA.debugLineNum = 289;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TextCh"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_TextChanged",(int) (2)) && _mtextfield.IsInitialized()) { - //BA.debugLineNum = 290;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; -__c.CallSubNew3(ba,_mcallback,_meventname+"_TextChanged",(Object)(_old),(Object)(_new)); - }; - //BA.debugLineNum = 292;BA.debugLine="End Sub"; +public String _tf_endedit(gunav2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_endedit", true)) + {return ((String) Debug.delegate(ba, "tf_endedit", null));} +RDebugUtils.currentLine=29360128; + //BA.debugLineNum = 29360128;BA.debugLine="Private Sub tf_EndEdit"; +RDebugUtils.currentLine=29360129; + //BA.debugLineNum = 29360129;BA.debugLine="tf_FocusChanged(False)"; +__ref._tf_focuschanged /*String*/ (null,__c.False); +RDebugUtils.currentLine=29360130; + //BA.debugLineNum = 29360130;BA.debugLine="End Sub"; return ""; } -public String _update() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _f = null; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 245;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 246;BA.debugLine="Dim f As B4XFont = xui.CreateFont2(HintFont, Lar"; -_f = _xui.CreateFont2(_hintfont,_largelabeltextsize); - //BA.debugLineNum = 247;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; -_r = _measuringcanvas.MeasureText(_hinttext,_f); - //BA.debugLineNum = 248;BA.debugLine="LargeFocused = CreateBitmap(r, HintColor, f)"; -_largefocused = _createbitmap(_r,_hintcolor,_f); - //BA.debugLineNum = 249;BA.debugLine="LargeNotFocused = CreateBitmap(r, NonFocusedHintC"; -_largenotfocused = _createbitmap(_r,_nonfocusedhintcolor,_f); - //BA.debugLineNum = 250;BA.debugLine="f = xui.CreateFont2(HintFont, SmallLabelTextSize)"; -_f = _xui.CreateFont2(_hintfont,_smalllabeltextsize); - //BA.debugLineNum = 251;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; -_r = _measuringcanvas.MeasureText(_hinttext,_f); - //BA.debugLineNum = 252;BA.debugLine="SmallFocused = CreateBitmap(r, HintColor, f)"; -_smallfocused = _createbitmap(_r,_hintcolor,_f); - //BA.debugLineNum = 253;BA.debugLine="SmallNotFocused = CreateBitmap(r, NonFocusedHintC"; -_smallnotfocused = _createbitmap(_r,_nonfocusedhintcolor,_f); - //BA.debugLineNum = 254;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 255;BA.debugLine="End Sub"; -return ""; -} -public String _updatelabel(String _txt,boolean _force) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _lbl = null; -boolean _goingtolarge = false; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _b = null; - //BA.debugLineNum = 210;BA.debugLine="Private Sub UpdateLabel (txt As String, force As B"; - //BA.debugLineNum = 211;BA.debugLine="For Each lbl As B4XView In Array As B4XView(lblCl"; -{ -final anywheresoftware.b4a.objects.B4XViewWrapper[] group1 = new anywheresoftware.b4a.objects.B4XViewWrapper[]{_lblclear,_lblv}; -final int groupLen1 = group1.length -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_lbl = group1[index1]; - //BA.debugLineNum = 212;BA.debugLine="If lbl.IsInitialized Then lbl.Visible = Focused"; -if (_lbl.IsInitialized()) { -_lbl.setVisible(_focused && _txt.length()>0);}; - } -}; - //BA.debugLineNum = 215;BA.debugLine="Dim GoingToLarge As Boolean = txt.Length = 0"; -_goingtolarge = _txt.length()==0; - //BA.debugLineNum = 216;BA.debugLine="If GoingToLarge = LargeLabel And force = False Th"; -if (_goingtolarge==_largelabel && _force==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 217;BA.debugLine="Dim b As B4XBitmap"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 218;BA.debugLine="If Focused Then"; -if (_focused) { - //BA.debugLineNum = 219;BA.debugLine="If GoingToLarge Then b = LargeFocused Else b = S"; -if (_goingtolarge) { -_b = _largefocused;} -else { -_b = _smallfocused;}; - }else { - //BA.debugLineNum = 221;BA.debugLine="If GoingToLarge Then b = LargeNotFocused Else b"; -if (_goingtolarge) { -_b = _largenotfocused;} -else { -_b = _smallnotfocused;}; - }; - //BA.debugLineNum = 223;BA.debugLine="If b.IsInitialized = False Then Return"; -if (_b.IsInitialized()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 224;BA.debugLine="HintImageView.SetBitmap(b)"; -_hintimageview.SetBitmap((android.graphics.Bitmap)(_b.getObject())); - //BA.debugLineNum = 225;BA.debugLine="If GoingToLarge Then"; -if (_goingtolarge) { - //BA.debugLineNum = 226;BA.debugLine="HintImageView.SetLayoutAnimated (AnimationDurati"; -_hintimageview.SetLayoutAnimated(_animationduration,_hintlabellargeoffsetx,(int) (_mbase.getHeight()/(double)2-_b.getHeight()/(double)2),(int) (_b.getWidth()),(int) (_b.getHeight())); - //BA.debugLineNum = 227;BA.debugLine="LargeLabel = True"; -_largelabel = __c.True; - }else { - //BA.debugLineNum = 229;BA.debugLine="HintImageView.SetLayoutAnimated(AnimationDuratio"; -_hintimageview.SetLayoutAnimated(_animationduration,_hintlabelsmalloffsetx,_hintlabelsmalloffsety,(int) (_b.getWidth()),(int) (_b.getHeight())); - //BA.debugLineNum = 230;BA.debugLine="LargeLabel = False"; -_largelabel = __c.False; - }; - //BA.debugLineNum = 232;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public void RemoveWarning() throws Exception{ + anywheresoftware.b4a.shell.Shell s = anywheresoftware.b4a.shell.Shell.INSTANCE; + java.lang.reflect.Field f = s.getClass().getDeclaredField("errorMessagesForSyncEvents"); + f.setAccessible(true); + java.util.HashSet h = (java.util.HashSet)f.get(s); + if (h == null) { + h = new java.util.HashSet(); + f.set(s, h); + } + h.add("tf_focuschanged"); } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xformatter.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xformatter.java index 727966e..4bb0a2b 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xformatter.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xformatter.java @@ -10,7 +10,7 @@ public class b4xformatter extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xformatter"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xformatter"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,24 +23,13 @@ public class b4xformatter extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public anywheresoftware.b4a.objects.collections.List _formats = null; -public int _max_value = 0; -public int _min_value = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public b4a.example.dateutils _dateutils = null; -public gunav2.keymon.com.mx.main _main = null; -public gunav2.keymon.com.mx.starter _starter = null; -public gunav2.keymon.com.mx.subs _subs = null; -public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; -public gunav2.keymon.com.mx.newinst2 _newinst2 = null; -public gunav2.keymon.com.mx.b4xpages _b4xpages = null; -public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; -public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _b4xformatdata{ public boolean IsInitialized; public String Prefix; @@ -78,113 +67,43 @@ FractionPaddingChar = ""; public String toString() { return BA.TypeToString(this, false); }} -public String _addformatdata(gunav2.keymon.com.mx.b4xformatter._b4xformatdata _data,double _rangestart,double _rangeend,boolean _includeedges) throws Exception{ -double _factor = 0; - //BA.debugLineNum = 65;BA.debugLine="Public Sub AddFormatData (Data As B4XFormatData, R"; - //BA.debugLineNum = 66;BA.debugLine="Dim factor As Double = Power(10, -Data.MaximumFra"; -_factor = __c.Power(10,-_data.MaximumFractions /*int*/ ); - //BA.debugLineNum = 67;BA.debugLine="If IncludeEdges = False Then"; -if (_includeedges==__c.False) { - //BA.debugLineNum = 68;BA.debugLine="RangeStart = RangeStart + factor"; -_rangestart = _rangestart+_factor; - //BA.debugLineNum = 69;BA.debugLine="RangeEnd = RangeEnd - factor"; -_rangeend = _rangeend-_factor; - }; - //BA.debugLineNum = 71;BA.debugLine="RangeStart = RangeStart - factor / 2"; -_rangestart = _rangestart-_factor/(double)2; - //BA.debugLineNum = 72;BA.debugLine="RangeEnd = RangeEnd + factor / 2"; -_rangeend = _rangeend+_factor/(double)2; - //BA.debugLineNum = 73;BA.debugLine="Data.RangeStart = RangeStart"; -_data.RangeStart /*double*/ = _rangestart; - //BA.debugLineNum = 74;BA.debugLine="Data.RangeEnd = RangeEnd"; -_data.RangeEnd /*double*/ = _rangeend; - //BA.debugLineNum = 75;BA.debugLine="formats.Add(Data)"; -_formats.Add((Object)(_data)); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Type B4XFormatData (Prefix As String, Postfix As"; -; - //BA.debugLineNum = 6;BA.debugLine="Private formats As List"; -_formats = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 7;BA.debugLine="Public Const MAX_VALUE = 0x7fffffff, MIN_VALUE ="; -_max_value = ((int)0x7fffffff); -_min_value = ((int)0x80000000); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return ""; -} -public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _copyformatdata(gunav2.keymon.com.mx.b4xformatter._b4xformatdata _data) throws Exception{ -gunav2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; - //BA.debugLineNum = 39;BA.debugLine="Dim d As B4XFormatData"; -_d = new gunav2.keymon.com.mx.b4xformatter._b4xformatdata(); - //BA.debugLineNum = 40;BA.debugLine="d.Initialize"; -_d.Initialize(); - //BA.debugLineNum = 41;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; -_d.DecimalPoint /*String*/ = _data.DecimalPoint /*String*/ ; - //BA.debugLineNum = 42;BA.debugLine="If Data.FormatFont.IsInitialized Then"; -if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { - //BA.debugLineNum = 44;BA.debugLine="d.FormatFont = xui.CreateFont(Data.FormatFont.To"; -_d.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _xui.CreateFont((android.graphics.Typeface)(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .ToNativeFont().getObject()),_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getSize()); - }; - //BA.debugLineNum = 47;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; -_d.GroupingCharacter /*String*/ = _data.GroupingCharacter /*String*/ ; - //BA.debugLineNum = 48;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; -_d.MaximumFractions /*int*/ = _data.MaximumFractions /*int*/ ; - //BA.debugLineNum = 49;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; -_d.MinimumFractions /*int*/ = _data.MinimumFractions /*int*/ ; - //BA.debugLineNum = 50;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; -_d.MinimumIntegers /*int*/ = _data.MinimumIntegers /*int*/ ; - //BA.debugLineNum = 51;BA.debugLine="d.Postfix = Data.Postfix"; -_d.Postfix /*String*/ = _data.Postfix /*String*/ ; - //BA.debugLineNum = 52;BA.debugLine="d.Prefix = Data.Prefix"; -_d.Prefix /*String*/ = _data.Prefix /*String*/ ; - //BA.debugLineNum = 53;BA.debugLine="d.RangeEnd = Data.RangeEnd"; -_d.RangeEnd /*double*/ = _data.RangeEnd /*double*/ ; - //BA.debugLineNum = 54;BA.debugLine="d.RangeStart = Data.RangeStart"; -_d.RangeStart /*double*/ = _data.RangeStart /*double*/ ; - //BA.debugLineNum = 55;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; -_d.RemoveMinusSign /*boolean*/ = _data.RemoveMinusSign /*boolean*/ ; - //BA.debugLineNum = 56;BA.debugLine="d.TextColor = Data.TextColor"; -_d.TextColor /*int*/ = _data.TextColor /*int*/ ; - //BA.debugLineNum = 57;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; -_d.FractionPaddingChar /*String*/ = _data.FractionPaddingChar /*String*/ ; - //BA.debugLineNum = 58;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; -_d.IntegerPaddingChar /*String*/ = _data.IntegerPaddingChar /*String*/ ; - //BA.debugLineNum = 59;BA.debugLine="Return d"; -if (true) return _d; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +public anywheresoftware.b4a.keywords.Common __c = null; +public anywheresoftware.b4a.objects.collections.List _formats = null; +public int _max_value = 0; +public int _min_value = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _getdefaultformat(gunav2.keymon.com.mx.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "getdefaultformat", true)) + {return ((gunav2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "getdefaultformat", null));} +RDebugUtils.currentLine=39714816; + //BA.debugLineNum = 39714816;BA.debugLine="Public Sub GetDefaultFormat As B4XFormatData"; +RDebugUtils.currentLine=39714817; + //BA.debugLineNum = 39714817;BA.debugLine="Return formats.Get(0)"; +if (true) return (gunav2.keymon.com.mx.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0))); +RDebugUtils.currentLine=39714818; + //BA.debugLineNum = 39714818;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _createdefaultformat() throws Exception{ -gunav2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 19;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; - //BA.debugLineNum = 20;BA.debugLine="Dim d As B4XFormatData"; -_d = new gunav2.keymon.com.mx.b4xformatter._b4xformatdata(); - //BA.debugLineNum = 21;BA.debugLine="d.Initialize"; -_d.Initialize(); - //BA.debugLineNum = 22;BA.debugLine="d.GroupingCharacter = \",\""; -_d.GroupingCharacter /*String*/ = ","; - //BA.debugLineNum = 23;BA.debugLine="d.DecimalPoint = \".\""; -_d.DecimalPoint /*String*/ = "."; - //BA.debugLineNum = 24;BA.debugLine="d.MaximumFractions = 3"; -_d.MaximumFractions /*int*/ = (int) (3); - //BA.debugLineNum = 25;BA.debugLine="d.MinimumIntegers = 1"; -_d.MinimumIntegers /*int*/ = (int) (1); - //BA.debugLineNum = 26;BA.debugLine="d.IntegerPaddingChar = \"0\""; -_d.IntegerPaddingChar /*String*/ = "0"; - //BA.debugLineNum = 27;BA.debugLine="d.FractionPaddingChar = \"0\""; -_d.FractionPaddingChar /*String*/ = "0"; - //BA.debugLineNum = 28;BA.debugLine="Return d"; -if (true) return _d; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return null; -} -public String _format(double _number) throws Exception{ +public String _format(gunav2.keymon.com.mx.b4xformatter __ref,double _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "format", true)) + {return ((String) Debug.delegate(ba, "format", new Object[] {_number}));} gunav2.keymon.com.mx.b4xformatter._b4xformatdata _data = null; anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; int _numberstartindex = 0; @@ -196,183 +115,422 @@ int _fracstartindex = 0; int _lastzerocount = 0; int _multipler = 0; int _w = 0; - //BA.debugLineNum = 92;BA.debugLine="Public Sub Format (Number As Double) As String"; - //BA.debugLineNum = 93;BA.debugLine="If Number < MIN_VALUE Or Number > MAX_VALUE Then"; -if (_number<_min_value || _number>_max_value) { +RDebugUtils.currentLine=39845888; + //BA.debugLineNum = 39845888;BA.debugLine="Public Sub Format (Number As Double) As String"; +RDebugUtils.currentLine=39845889; + //BA.debugLineNum = 39845889;BA.debugLine="If Number < MIN_VALUE Or Number > MAX_VALUE Then"; +if (_number<__ref._min_value /*int*/ || _number>__ref._max_value /*int*/ ) { if (true) return "OVERFLOW";}; - //BA.debugLineNum = 94;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; -_data = _getformatdata(_number); - //BA.debugLineNum = 95;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=39845890; + //BA.debugLineNum = 39845890;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; +_data = __ref._getformatdata /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null,_number); +RDebugUtils.currentLine=39845891; + //BA.debugLineNum = 39845891;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 96;BA.debugLine="sb.Initialize"; +RDebugUtils.currentLine=39845892; + //BA.debugLineNum = 39845892;BA.debugLine="sb.Initialize"; _sb.Initialize(); - //BA.debugLineNum = 97;BA.debugLine="sb.Append(data.Prefix)"; +RDebugUtils.currentLine=39845893; + //BA.debugLineNum = 39845893;BA.debugLine="sb.Append(data.Prefix)"; _sb.Append(_data.Prefix /*String*/ ); - //BA.debugLineNum = 98;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; +RDebugUtils.currentLine=39845894; + //BA.debugLineNum = 39845894;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; _numberstartindex = _sb.getLength(); - //BA.debugLineNum = 99;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; +RDebugUtils.currentLine=39845895; + //BA.debugLineNum = 39845895;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; _factor = __c.Power(10,-_data.MaximumFractions /*int*/ -1)*5; - //BA.debugLineNum = 100;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; +RDebugUtils.currentLine=39845896; + //BA.debugLineNum = 39845896;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; if (_number<-_factor && _data.RemoveMinusSign /*boolean*/ ==__c.False) { - //BA.debugLineNum = 101;BA.debugLine="sb.Append(\"-\")"; +RDebugUtils.currentLine=39845897; + //BA.debugLineNum = 39845897;BA.debugLine="sb.Append(\"-\")"; _sb.Append("-"); - //BA.debugLineNum = 102;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; +RDebugUtils.currentLine=39845898; + //BA.debugLineNum = 39845898;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; _numberstartindex = (int) (_numberstartindex+1); }; - //BA.debugLineNum = 104;BA.debugLine="Number = Abs(Number) + factor"; +RDebugUtils.currentLine=39845900; + //BA.debugLineNum = 39845900;BA.debugLine="Number = Abs(Number) + factor"; _number = __c.Abs(_number)+_factor; - //BA.debugLineNum = 105;BA.debugLine="Dim whole As Int = Number"; +RDebugUtils.currentLine=39845901; + //BA.debugLineNum = 39845901;BA.debugLine="Dim whole As Int = Number"; _whole = (int) (_number); - //BA.debugLineNum = 106;BA.debugLine="Dim frac As Double = Number - whole"; +RDebugUtils.currentLine=39845902; + //BA.debugLineNum = 39845902;BA.debugLine="Dim frac As Double = Number - whole"; _frac = _number-_whole; - //BA.debugLineNum = 107;BA.debugLine="Dim g As Int"; +RDebugUtils.currentLine=39845903; + //BA.debugLineNum = 39845903;BA.debugLine="Dim g As Int"; _g = 0; - //BA.debugLineNum = 108;BA.debugLine="Do While whole > 0"; +RDebugUtils.currentLine=39845904; + //BA.debugLineNum = 39845904;BA.debugLine="Do While whole > 0"; while (_whole>0) { - //BA.debugLineNum = 109;BA.debugLine="If g > 0 And g Mod 3 = 0 And data.GroupingCharac"; +RDebugUtils.currentLine=39845905; + //BA.debugLineNum = 39845905;BA.debugLine="If g > 0 And g Mod 3 = 0 And data.GroupingCharac"; if (_g>0 && _g%3==0 && _data.GroupingCharacter /*String*/ .length()>0) { - //BA.debugLineNum = 110;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; +RDebugUtils.currentLine=39845906; + //BA.debugLineNum = 39845906;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; _sb.Insert(_numberstartindex,_data.GroupingCharacter /*String*/ ); }; - //BA.debugLineNum = 112;BA.debugLine="g = g + 1"; +RDebugUtils.currentLine=39845908; + //BA.debugLineNum = 39845908;BA.debugLine="g = g + 1"; _g = (int) (_g+1); - //BA.debugLineNum = 113;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; +RDebugUtils.currentLine=39845909; + //BA.debugLineNum = 39845909;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; _sb.Insert(_numberstartindex,BA.NumberToString(_whole%10)); - //BA.debugLineNum = 114;BA.debugLine="whole = whole / 10"; +RDebugUtils.currentLine=39845910; + //BA.debugLineNum = 39845910;BA.debugLine="whole = whole / 10"; _whole = (int) (_whole/(double)10); } ; - //BA.debugLineNum = 116;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; +RDebugUtils.currentLine=39845912; + //BA.debugLineNum = 39845912;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; while (_sb.getLength()-_numberstartindex<_data.MinimumIntegers /*int*/ ) { - //BA.debugLineNum = 117;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; +RDebugUtils.currentLine=39845913; + //BA.debugLineNum = 39845913;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; _sb.Insert(_numberstartindex,_data.IntegerPaddingChar /*String*/ ); } ; - //BA.debugLineNum = 119;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; +RDebugUtils.currentLine=39845915; + //BA.debugLineNum = 39845915;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; if (_data.MaximumFractions /*int*/ >0 && (_data.MinimumFractions /*int*/ >0 || _frac>0)) { - //BA.debugLineNum = 120;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; +RDebugUtils.currentLine=39845916; + //BA.debugLineNum = 39845916;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; _fracstartindex = _sb.getLength(); - //BA.debugLineNum = 121;BA.debugLine="Dim LastZeroCount As Int"; +RDebugUtils.currentLine=39845917; + //BA.debugLineNum = 39845917;BA.debugLine="Dim LastZeroCount As Int"; _lastzerocount = 0; - //BA.debugLineNum = 122;BA.debugLine="Dim Multipler As Int = 10"; +RDebugUtils.currentLine=39845918; + //BA.debugLineNum = 39845918;BA.debugLine="Dim Multipler As Int = 10"; _multipler = (int) (10); - //BA.debugLineNum = 123;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; +RDebugUtils.currentLine=39845919; + //BA.debugLineNum = 39845919;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; while (_frac>=2*_factor && _sb.getLength()-_fracstartindex<_data.MaximumFractions /*int*/ ) { - //BA.debugLineNum = 124;BA.debugLine="Dim w As Int = (frac * Multipler)"; +RDebugUtils.currentLine=39845920; + //BA.debugLineNum = 39845920;BA.debugLine="Dim w As Int = (frac * Multipler)"; _w = (int) ((_frac*_multipler)); - //BA.debugLineNum = 125;BA.debugLine="w = w Mod 10"; +RDebugUtils.currentLine=39845921; + //BA.debugLineNum = 39845921;BA.debugLine="w = w Mod 10"; _w = (int) (_w%10); - //BA.debugLineNum = 126;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; +RDebugUtils.currentLine=39845922; + //BA.debugLineNum = 39845922;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; if (_w==0) { _lastzerocount = (int) (_lastzerocount+1);} else { _lastzerocount = (int) (0);}; - //BA.debugLineNum = 127;BA.debugLine="sb.Append(w)"; +RDebugUtils.currentLine=39845923; + //BA.debugLineNum = 39845923;BA.debugLine="sb.Append(w)"; _sb.Append(BA.NumberToString(_w)); - //BA.debugLineNum = 128;BA.debugLine="Multipler = Multipler * 10"; +RDebugUtils.currentLine=39845924; + //BA.debugLineNum = 39845924;BA.debugLine="Multipler = Multipler * 10"; _multipler = (int) (_multipler*10); } ; - //BA.debugLineNum = 130;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; +RDebugUtils.currentLine=39845926; + //BA.debugLineNum = 39845926;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; if ((_data.FractionPaddingChar /*String*/ ).equals("0") == false && _lastzerocount>0) { - //BA.debugLineNum = 131;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +RDebugUtils.currentLine=39845927; + //BA.debugLineNum = 39845927;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; _sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); - //BA.debugLineNum = 132;BA.debugLine="LastZeroCount = 0"; +RDebugUtils.currentLine=39845928; + //BA.debugLineNum = 39845928;BA.debugLine="LastZeroCount = 0"; _lastzerocount = (int) (0); }; - //BA.debugLineNum = 134;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; +RDebugUtils.currentLine=39845930; + //BA.debugLineNum = 39845930;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; while (_sb.getLength()-_fracstartindex<_data.MinimumFractions /*int*/ ) { - //BA.debugLineNum = 135;BA.debugLine="sb.Append(data.FractionPaddingChar)"; +RDebugUtils.currentLine=39845931; + //BA.debugLineNum = 39845931;BA.debugLine="sb.Append(data.FractionPaddingChar)"; _sb.Append(_data.FractionPaddingChar /*String*/ ); - //BA.debugLineNum = 136;BA.debugLine="LastZeroCount = 0"; +RDebugUtils.currentLine=39845932; + //BA.debugLineNum = 39845932;BA.debugLine="LastZeroCount = 0"; _lastzerocount = (int) (0); } ; - //BA.debugLineNum = 138;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; +RDebugUtils.currentLine=39845934; + //BA.debugLineNum = 39845934;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; _lastzerocount = (int) (__c.Min(_lastzerocount,_sb.getLength()-_fracstartindex-_data.MinimumFractions /*int*/ )); - //BA.debugLineNum = 139;BA.debugLine="If LastZeroCount > 0 Then"; +RDebugUtils.currentLine=39845935; + //BA.debugLineNum = 39845935;BA.debugLine="If LastZeroCount > 0 Then"; if (_lastzerocount>0) { - //BA.debugLineNum = 140;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +RDebugUtils.currentLine=39845936; + //BA.debugLineNum = 39845936;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; _sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); }; - //BA.debugLineNum = 142;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; +RDebugUtils.currentLine=39845938; + //BA.debugLineNum = 39845938;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; if (_sb.getLength()>_fracstartindex) { _sb.Insert(_fracstartindex,_data.DecimalPoint /*String*/ );}; }; - //BA.debugLineNum = 144;BA.debugLine="sb.Append(data.Postfix)"; +RDebugUtils.currentLine=39845940; + //BA.debugLineNum = 39845940;BA.debugLine="sb.Append(data.Postfix)"; _sb.Append(_data.Postfix /*String*/ ); - //BA.debugLineNum = 145;BA.debugLine="Return sb.ToString"; +RDebugUtils.currentLine=39845941; + //BA.debugLineNum = 39845941;BA.debugLine="Return sb.ToString"; if (true) return _sb.ToString(); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39845942; + //BA.debugLineNum = 39845942;BA.debugLine="End Sub"; return ""; } -public String _formatlabel(double _number,anywheresoftware.b4a.objects.B4XViewWrapper _label) throws Exception{ -gunav2.keymon.com.mx.b4xformatter._b4xformatdata _data = null; - //BA.debugLineNum = 150;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; - //BA.debugLineNum = 151;BA.debugLine="Label.Text = Format(Number)"; -_label.setText(BA.ObjectToCharSequence(_format(_number))); - //BA.debugLineNum = 152;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; -_data = _getformatdata(_number); - //BA.debugLineNum = 153;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; -if (_data.TextColor /*int*/ !=0) { -_label.setTextColor(_data.TextColor /*int*/ );}; - //BA.debugLineNum = 154;BA.debugLine="If data.FormatFont.IsInitialized Then Label.Font"; +public String _initialize(gunav2.keymon.com.mx.b4xformatter __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +gunav2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=39387136; + //BA.debugLineNum = 39387136;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=39387137; + //BA.debugLineNum = 39387137;BA.debugLine="formats.Initialize"; +__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=39387138; + //BA.debugLineNum = 39387138;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; +_d = __ref._createdefaultformat /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null); +RDebugUtils.currentLine=39387139; + //BA.debugLineNum = 39387139;BA.debugLine="AddFormatData(d, MIN_VALUE, MAX_VALUE, True)"; +__ref._addformatdata /*String*/ (null,_d,__ref._min_value /*int*/ ,__ref._max_value /*int*/ ,__c.True); +RDebugUtils.currentLine=39387140; + //BA.debugLineNum = 39387140;BA.debugLine="End Sub"; +return ""; +} +public String _addformatdata(gunav2.keymon.com.mx.b4xformatter __ref,gunav2.keymon.com.mx.b4xformatter._b4xformatdata _data,double _rangestart,double _rangeend,boolean _includeedges) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "addformatdata", true)) + {return ((String) Debug.delegate(ba, "addformatdata", new Object[] {_data,_rangestart,_rangeend,_includeedges}));} +double _factor = 0; +RDebugUtils.currentLine=39649280; + //BA.debugLineNum = 39649280;BA.debugLine="Public Sub AddFormatData (Data As B4XFormatData, R"; +RDebugUtils.currentLine=39649281; + //BA.debugLineNum = 39649281;BA.debugLine="Dim factor As Double = Power(10, -Data.MaximumFra"; +_factor = __c.Power(10,-_data.MaximumFractions /*int*/ ); +RDebugUtils.currentLine=39649282; + //BA.debugLineNum = 39649282;BA.debugLine="If IncludeEdges = False Then"; +if (_includeedges==__c.False) { +RDebugUtils.currentLine=39649283; + //BA.debugLineNum = 39649283;BA.debugLine="RangeStart = RangeStart + factor"; +_rangestart = _rangestart+_factor; +RDebugUtils.currentLine=39649284; + //BA.debugLineNum = 39649284;BA.debugLine="RangeEnd = RangeEnd - factor"; +_rangeend = _rangeend-_factor; + }; +RDebugUtils.currentLine=39649286; + //BA.debugLineNum = 39649286;BA.debugLine="RangeStart = RangeStart - factor / 2"; +_rangestart = _rangestart-_factor/(double)2; +RDebugUtils.currentLine=39649287; + //BA.debugLineNum = 39649287;BA.debugLine="RangeEnd = RangeEnd + factor / 2"; +_rangeend = _rangeend+_factor/(double)2; +RDebugUtils.currentLine=39649288; + //BA.debugLineNum = 39649288;BA.debugLine="Data.RangeStart = RangeStart"; +_data.RangeStart /*double*/ = _rangestart; +RDebugUtils.currentLine=39649289; + //BA.debugLineNum = 39649289;BA.debugLine="Data.RangeEnd = RangeEnd"; +_data.RangeEnd /*double*/ = _rangeend; +RDebugUtils.currentLine=39649290; + //BA.debugLineNum = 39649290;BA.debugLine="formats.Add(Data)"; +__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_data)); +RDebugUtils.currentLine=39649291; + //BA.debugLineNum = 39649291;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +RDebugUtils.currentLine=39321600; + //BA.debugLineNum = 39321600;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=39321601; + //BA.debugLineNum = 39321601;BA.debugLine="Type B4XFormatData (Prefix As String, Postfix As"; +; +RDebugUtils.currentLine=39321605; + //BA.debugLineNum = 39321605;BA.debugLine="Private formats As List"; +_formats = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=39321606; + //BA.debugLineNum = 39321606;BA.debugLine="Public Const MAX_VALUE = 0x7fffffff, MIN_VALUE ="; +_max_value = ((int)0x7fffffff); +_min_value = ((int)0x80000000); +RDebugUtils.currentLine=39321608; + //BA.debugLineNum = 39321608;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=39321610; + //BA.debugLineNum = 39321610;BA.debugLine="End Sub"; +return ""; +} +public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _copyformatdata(gunav2.keymon.com.mx.b4xformatter __ref,gunav2.keymon.com.mx.b4xformatter._b4xformatdata _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "copyformatdata", true)) + {return ((gunav2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "copyformatdata", new Object[] {_data}));} +gunav2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=39583744; + //BA.debugLineNum = 39583744;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; +RDebugUtils.currentLine=39583745; + //BA.debugLineNum = 39583745;BA.debugLine="Dim d As B4XFormatData"; +_d = new gunav2.keymon.com.mx.b4xformatter._b4xformatdata(); +RDebugUtils.currentLine=39583746; + //BA.debugLineNum = 39583746;BA.debugLine="d.Initialize"; +_d.Initialize(); +RDebugUtils.currentLine=39583747; + //BA.debugLineNum = 39583747;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; +_d.DecimalPoint /*String*/ = _data.DecimalPoint /*String*/ ; +RDebugUtils.currentLine=39583748; + //BA.debugLineNum = 39583748;BA.debugLine="If Data.FormatFont.IsInitialized Then"; if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { -_label.setFont(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ );}; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return ""; -} -public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _getdefaultformat() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Public Sub GetDefaultFormat As B4XFormatData"; - //BA.debugLineNum = 79;BA.debugLine="Return formats.Get(0)"; -if (true) return (gunav2.keymon.com.mx.b4xformatter._b4xformatdata)(_formats.Get((int) (0))); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39583750; + //BA.debugLineNum = 39583750;BA.debugLine="d.FormatFont = xui.CreateFont(Data.FormatFont.To"; +_d.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateFont((android.graphics.Typeface)(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .ToNativeFont().getObject()),_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getSize()); + }; +RDebugUtils.currentLine=39583753; + //BA.debugLineNum = 39583753;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; +_d.GroupingCharacter /*String*/ = _data.GroupingCharacter /*String*/ ; +RDebugUtils.currentLine=39583754; + //BA.debugLineNum = 39583754;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; +_d.MaximumFractions /*int*/ = _data.MaximumFractions /*int*/ ; +RDebugUtils.currentLine=39583755; + //BA.debugLineNum = 39583755;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; +_d.MinimumFractions /*int*/ = _data.MinimumFractions /*int*/ ; +RDebugUtils.currentLine=39583756; + //BA.debugLineNum = 39583756;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; +_d.MinimumIntegers /*int*/ = _data.MinimumIntegers /*int*/ ; +RDebugUtils.currentLine=39583757; + //BA.debugLineNum = 39583757;BA.debugLine="d.Postfix = Data.Postfix"; +_d.Postfix /*String*/ = _data.Postfix /*String*/ ; +RDebugUtils.currentLine=39583758; + //BA.debugLineNum = 39583758;BA.debugLine="d.Prefix = Data.Prefix"; +_d.Prefix /*String*/ = _data.Prefix /*String*/ ; +RDebugUtils.currentLine=39583759; + //BA.debugLineNum = 39583759;BA.debugLine="d.RangeEnd = Data.RangeEnd"; +_d.RangeEnd /*double*/ = _data.RangeEnd /*double*/ ; +RDebugUtils.currentLine=39583760; + //BA.debugLineNum = 39583760;BA.debugLine="d.RangeStart = Data.RangeStart"; +_d.RangeStart /*double*/ = _data.RangeStart /*double*/ ; +RDebugUtils.currentLine=39583761; + //BA.debugLineNum = 39583761;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; +_d.RemoveMinusSign /*boolean*/ = _data.RemoveMinusSign /*boolean*/ ; +RDebugUtils.currentLine=39583762; + //BA.debugLineNum = 39583762;BA.debugLine="d.TextColor = Data.TextColor"; +_d.TextColor /*int*/ = _data.TextColor /*int*/ ; +RDebugUtils.currentLine=39583763; + //BA.debugLineNum = 39583763;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; +_d.FractionPaddingChar /*String*/ = _data.FractionPaddingChar /*String*/ ; +RDebugUtils.currentLine=39583764; + //BA.debugLineNum = 39583764;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; +_d.IntegerPaddingChar /*String*/ = _data.IntegerPaddingChar /*String*/ ; +RDebugUtils.currentLine=39583765; + //BA.debugLineNum = 39583765;BA.debugLine="Return d"; +if (true) return _d; +RDebugUtils.currentLine=39583766; + //BA.debugLineNum = 39583766;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _getformatdata(double _number) throws Exception{ +public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _createdefaultformat(gunav2.keymon.com.mx.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "createdefaultformat", true)) + {return ((gunav2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "createdefaultformat", null));} +gunav2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=39452672; + //BA.debugLineNum = 39452672;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; +RDebugUtils.currentLine=39452673; + //BA.debugLineNum = 39452673;BA.debugLine="Dim d As B4XFormatData"; +_d = new gunav2.keymon.com.mx.b4xformatter._b4xformatdata(); +RDebugUtils.currentLine=39452674; + //BA.debugLineNum = 39452674;BA.debugLine="d.Initialize"; +_d.Initialize(); +RDebugUtils.currentLine=39452675; + //BA.debugLineNum = 39452675;BA.debugLine="d.GroupingCharacter = \",\""; +_d.GroupingCharacter /*String*/ = ","; +RDebugUtils.currentLine=39452676; + //BA.debugLineNum = 39452676;BA.debugLine="d.DecimalPoint = \".\""; +_d.DecimalPoint /*String*/ = "."; +RDebugUtils.currentLine=39452677; + //BA.debugLineNum = 39452677;BA.debugLine="d.MaximumFractions = 3"; +_d.MaximumFractions /*int*/ = (int) (3); +RDebugUtils.currentLine=39452678; + //BA.debugLineNum = 39452678;BA.debugLine="d.MinimumIntegers = 1"; +_d.MinimumIntegers /*int*/ = (int) (1); +RDebugUtils.currentLine=39452679; + //BA.debugLineNum = 39452679;BA.debugLine="d.IntegerPaddingChar = \"0\""; +_d.IntegerPaddingChar /*String*/ = "0"; +RDebugUtils.currentLine=39452680; + //BA.debugLineNum = 39452680;BA.debugLine="d.FractionPaddingChar = \"0\""; +_d.FractionPaddingChar /*String*/ = "0"; +RDebugUtils.currentLine=39452681; + //BA.debugLineNum = 39452681;BA.debugLine="Return d"; +if (true) return _d; +RDebugUtils.currentLine=39452682; + //BA.debugLineNum = 39452682;BA.debugLine="End Sub"; +return null; +} +public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _getformatdata(gunav2.keymon.com.mx.b4xformatter __ref,double _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "getformatdata", true)) + {return ((gunav2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "getformatdata", new Object[] {_number}));} int _i = 0; gunav2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 83;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; - //BA.debugLineNum = 84;BA.debugLine="For i = formats.Size - 1 To 1 Step - 1"; +RDebugUtils.currentLine=39780352; + //BA.debugLineNum = 39780352;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; +RDebugUtils.currentLine=39780353; + //BA.debugLineNum = 39780353;BA.debugLine="For i = formats.Size - 1 To 1 Step - 1"; { final int step1 = -1; final int limit1 = (int) (1); -_i = (int) (_formats.getSize()-1) ; +_i = (int) (__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1) ; for (;_i >= limit1 ;_i = _i + step1 ) { - //BA.debugLineNum = 85;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; -_d = (gunav2.keymon.com.mx.b4xformatter._b4xformatdata)(_formats.Get(_i)); - //BA.debugLineNum = 86;BA.debugLine="If Number <= d.RangeEnd And Number >= d.RangeSta"; +RDebugUtils.currentLine=39780354; + //BA.debugLineNum = 39780354;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; +_d = (gunav2.keymon.com.mx.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); +RDebugUtils.currentLine=39780355; + //BA.debugLineNum = 39780355;BA.debugLine="If Number <= d.RangeEnd And Number >= d.RangeSta"; if (_number<=_d.RangeEnd /*double*/ && _number>=_d.RangeStart /*double*/ ) { if (true) return _d;}; } }; - //BA.debugLineNum = 88;BA.debugLine="Return formats.Get(0)"; -if (true) return (gunav2.keymon.com.mx.b4xformatter._b4xformatdata)(_formats.Get((int) (0))); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39780357; + //BA.debugLineNum = 39780357;BA.debugLine="Return formats.Get(0)"; +if (true) return (gunav2.keymon.com.mx.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0))); +RDebugUtils.currentLine=39780358; + //BA.debugLineNum = 39780358;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -gunav2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 13;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 14;BA.debugLine="formats.Initialize"; -_formats.Initialize(); - //BA.debugLineNum = 15;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; -_d = _createdefaultformat(); - //BA.debugLineNum = 16;BA.debugLine="AddFormatData(d, MIN_VALUE, MAX_VALUE, True)"; -_addformatdata(_d,_min_value,_max_value,__c.True); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +public String _formatlabel(gunav2.keymon.com.mx.b4xformatter __ref,double _number,anywheresoftware.b4a.objects.B4XViewWrapper _label) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "formatlabel", true)) + {return ((String) Debug.delegate(ba, "formatlabel", new Object[] {_number,_label}));} +gunav2.keymon.com.mx.b4xformatter._b4xformatdata _data = null; +RDebugUtils.currentLine=39911424; + //BA.debugLineNum = 39911424;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; +RDebugUtils.currentLine=39911425; + //BA.debugLineNum = 39911425;BA.debugLine="Label.Text = Format(Number)"; +_label.setText(BA.ObjectToCharSequence(__ref._format /*String*/ (null,_number))); +RDebugUtils.currentLine=39911426; + //BA.debugLineNum = 39911426;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; +_data = __ref._getformatdata /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null,_number); +RDebugUtils.currentLine=39911427; + //BA.debugLineNum = 39911427;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; +if (_data.TextColor /*int*/ !=0) { +_label.setTextColor(_data.TextColor /*int*/ );}; +RDebugUtils.currentLine=39911428; + //BA.debugLineNum = 39911428;BA.debugLine="If data.FormatFont.IsInitialized Then Label.Font"; +if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { +_label.setFont(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ );}; +RDebugUtils.currentLine=39911429; + //BA.debugLineNum = 39911429;BA.debugLine="End Sub"; return ""; } -public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _newformatdata() throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub NewFormatData As B4XFormatData"; - //BA.debugLineNum = 33;BA.debugLine="Return CopyFormatData(GetDefaultFormat)"; -if (true) return _copyformatdata(_getdefaultformat()); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; +public gunav2.keymon.com.mx.b4xformatter._b4xformatdata _newformatdata(gunav2.keymon.com.mx.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "newformatdata", true)) + {return ((gunav2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "newformatdata", null));} +RDebugUtils.currentLine=39518208; + //BA.debugLineNum = 39518208;BA.debugLine="Public Sub NewFormatData As B4XFormatData"; +RDebugUtils.currentLine=39518209; + //BA.debugLineNum = 39518209;BA.debugLine="Return CopyFormatData(GetDefaultFormat)"; +if (true) return __ref._copyformatdata /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null,__ref._getdefaultformat /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null)); +RDebugUtils.currentLine=39518210; + //BA.debugLineNum = 39518210;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4ximageview.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4ximageview.java index cc33148..a1abf53 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4ximageview.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4ximageview.java @@ -10,7 +10,7 @@ public class b4ximageview extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4ximageview"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4ximageview"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4ximageview extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -40,266 +47,426 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 41;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 42;BA.debugLine="End Sub"; +public String _base_resize(gunav2.keymon.com.mx.b4ximageview __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=30408704; + //BA.debugLineNum = 30408704;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=30408705; + //BA.debugLineNum = 30408705;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=30408706; + //BA.debugLineNum = 30408706;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 11;BA.debugLine="Private iv As B4XView"; -_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Private mResizeMode As String"; -_mresizemode = ""; - //BA.debugLineNum = 13;BA.debugLine="Private mRound As Boolean"; -_mround = false; - //BA.debugLineNum = 14;BA.debugLine="Private mBitmap As B4XBitmap"; -_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Public mBackgroundColor As Int"; -_mbackgroundcolor = 0; - //BA.debugLineNum = 16;BA.debugLine="Private mCornersRadius As Int"; -_mcornersradius = 0; - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public String _clear() throws Exception{ - //BA.debugLineNum = 119;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 120;BA.debugLine="mBitmap = Null"; -_mbitmap = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.Null)); - //BA.debugLineNum = 121;BA.debugLine="iv.SetBitmap(Null)"; -_iv.SetBitmap((android.graphics.Bitmap)(__c.Null)); - //BA.debugLineNum = 122;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 25;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 26;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 27;BA.debugLine="Tag = mBase.Tag"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 28;BA.debugLine="mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 29;BA.debugLine="Dim iiv As ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 30;BA.debugLine="iiv.Initialize(\"\")"; -_iiv.Initialize(ba,""); - //BA.debugLineNum = 31;BA.debugLine="iv = iiv"; -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); - //BA.debugLineNum = 32;BA.debugLine="mRound =Props.Get(\"Round\")"; -_mround = BA.ObjectToBoolean(_props.Get((Object)("Round"))); - //BA.debugLineNum = 33;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")"; -_mresizemode = BA.ObjectToString(_props.Get((Object)("ResizeMode"))); - //BA.debugLineNum = 34;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props."; -_mbackgroundcolor = _xui.PaintOrColorToColor(_props.Get((Object)("BackgroundColor"))); - //BA.debugLineNum = 35;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C"; -_mcornersradius = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0))))); - //BA.debugLineNum = 36;BA.debugLine="mBase.AddView(iv, 0, 0, mBase.Width, mBase.Height"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 37;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap() throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Public Sub getBitmap As B4XBitmap"; - //BA.debugLineNum = 131;BA.debugLine="Return mBitmap"; -if (true) return _mbitmap; - //BA.debugLineNum = 132;BA.debugLine="End Sub"; -return null; -} -public int _getcornersradius() throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub getCornersRadius As Int"; - //BA.debugLineNum = 57;BA.debugLine="Return mCornersRadius"; -if (true) return _mcornersradius; - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return 0; -} -public String _getresizemode() throws Exception{ - //BA.debugLineNum = 67;BA.debugLine="Public Sub getResizeMode As String"; - //BA.debugLineNum = 68;BA.debugLine="Return mResizeMode"; -if (true) return _mresizemode; - //BA.debugLineNum = 69;BA.debugLine="End Sub"; -return ""; -} -public boolean _getroundedimage() throws Exception{ - //BA.debugLineNum = 45;BA.debugLine="Public Sub getRoundedImage As Boolean"; - //BA.debugLineNum = 46;BA.debugLine="Return mRound"; -if (true) return _mround; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 20;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 21;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _load(String _dir,String _filename) throws Exception{ - //BA.debugLineNum = 110;BA.debugLine="Public Sub Load (Dir As String, FileName As String"; - //BA.debugLineNum = 112;BA.debugLine="setBitmap(LoadBitmapSample(Dir, FileName, mBase.W"; -_setbitmap((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.LoadBitmapSample(_dir,_filename,_mbase.getWidth(),_mbase.getHeight()).getObject()))); - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public String _setbitmap(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ - //BA.debugLineNum = 124;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)"; - //BA.debugLineNum = 125;BA.debugLine="mBitmap = Bmp"; -_mbitmap = _bmp; - //BA.debugLineNum = 126;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)"; -_xuiviewsutils._setbitmapandfill /*String*/ (ba,_iv,_bmp); - //BA.debugLineNum = 127;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _setcornersradius(int _i) throws Exception{ - //BA.debugLineNum = 60;BA.debugLine="Public Sub setCornersRadius (i As Int)"; - //BA.debugLineNum = 61;BA.debugLine="mCornersRadius = i"; -_mcornersradius = _i; - //BA.debugLineNum = 62;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 63;BA.debugLine="End Sub"; -return ""; -} -public String _setresizemode(String _s) throws Exception{ - //BA.debugLineNum = 71;BA.debugLine="Public Sub setResizeMode(s As String)"; - //BA.debugLineNum = 72;BA.debugLine="If s = mResizeMode Then Return"; -if ((_s).equals(_mresizemode)) { -if (true) return "";}; - //BA.debugLineNum = 73;BA.debugLine="mResizeMode = s"; -_mresizemode = _s; - //BA.debugLineNum = 74;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return ""; -} -public String _setroundedimage(boolean _b) throws Exception{ - //BA.debugLineNum = 49;BA.debugLine="Public Sub setRoundedImage (b As Boolean)"; - //BA.debugLineNum = 50;BA.debugLine="If b = mRound Then Return"; -if (_b==_mround) { -if (true) return "";}; - //BA.debugLineNum = 51;BA.debugLine="mRound = b"; -_mround = _b; - //BA.debugLineNum = 52;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return ""; -} -public String _update() throws Exception{ +public String _update(gunav2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} float _imageviewwidth = 0f; float _imageviewheight = 0f; float _bmpratio = 0f; float _r = 0f; - //BA.debugLineNum = 77;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 78;BA.debugLine="If mBitmap.IsInitialized = False Then Return"; -if (_mbitmap.IsInitialized()==__c.False) { +RDebugUtils.currentLine=30867456; + //BA.debugLineNum = 30867456;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=30867457; + //BA.debugLineNum = 30867457;BA.debugLine="If mBitmap.IsInitialized = False Then Return"; +if (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.False) { if (true) return "";}; - //BA.debugLineNum = 79;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 80;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; +RDebugUtils.currentLine=30867458; + //BA.debugLineNum = 30867458;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=30867459; + //BA.debugLineNum = 30867459;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; _imageviewwidth = 0f; _imageviewheight = 0f; - //BA.debugLineNum = 81;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H"; -_bmpratio = (float) (_mbitmap.getWidth()/(double)_mbitmap.getHeight()); - //BA.debugLineNum = 82;BA.debugLine="Select mResizeMode"; -switch (BA.switchObjectToInt(_mresizemode,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) { +RDebugUtils.currentLine=30867460; + //BA.debugLineNum = 30867460;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H"; +_bmpratio = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()); +RDebugUtils.currentLine=30867461; + //BA.debugLineNum = 30867461;BA.debugLine="Select mResizeMode"; +switch (BA.switchObjectToInt(__ref._mresizemode /*String*/ ,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) { case 0: { - //BA.debugLineNum = 84;BA.debugLine="ImageViewWidth = mBase.Width"; -_imageviewwidth = (float) (_mbase.getWidth()); - //BA.debugLineNum = 85;BA.debugLine="ImageViewHeight = mBase.Height"; -_imageviewheight = (float) (_mbase.getHeight()); +RDebugUtils.currentLine=30867463; + //BA.debugLineNum = 30867463;BA.debugLine="ImageViewWidth = mBase.Width"; +_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=30867464; + //BA.debugLineNum = 30867464;BA.debugLine="ImageViewHeight = mBase.Height"; +_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); break; } case 1: { - //BA.debugLineNum = 87;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt"; -_r = (float) (__c.Min(_mbase.getWidth()/(double)_mbitmap.getWidth(),_mbase.getHeight()/(double)_mbitmap.getHeight())); - //BA.debugLineNum = 88;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; -_imageviewwidth = (float) (_mbitmap.getWidth()*_r); - //BA.debugLineNum = 89;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; -_imageviewheight = (float) (_mbitmap.getHeight()*_r); +RDebugUtils.currentLine=30867466; + //BA.debugLineNum = 30867466;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt"; +_r = (float) (__c.Min(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight())); +RDebugUtils.currentLine=30867467; + //BA.debugLineNum = 30867467;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r); +RDebugUtils.currentLine=30867468; + //BA.debugLineNum = 30867468;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r); break; } case 2: { - //BA.debugLineNum = 91;BA.debugLine="ImageViewWidth = mBase.Width"; -_imageviewwidth = (float) (_mbase.getWidth()); - //BA.debugLineNum = 92;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; +RDebugUtils.currentLine=30867470; + //BA.debugLineNum = 30867470;BA.debugLine="ImageViewWidth = mBase.Width"; +_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=30867471; + //BA.debugLineNum = 30867471;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; _imageviewheight = (float) (_imageviewwidth/(double)_bmpratio); break; } case 3: { - //BA.debugLineNum = 94;BA.debugLine="ImageViewHeight = mBase.Height"; -_imageviewheight = (float) (_mbase.getHeight()); - //BA.debugLineNum = 95;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; +RDebugUtils.currentLine=30867473; + //BA.debugLineNum = 30867473;BA.debugLine="ImageViewHeight = mBase.Height"; +_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=30867474; + //BA.debugLineNum = 30867474;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; _imageviewwidth = (float) (_imageviewheight*_bmpratio); break; } case 4: { - //BA.debugLineNum = 97;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt"; -_r = (float) (__c.Max(_mbase.getWidth()/(double)_mbitmap.getWidth(),_mbase.getHeight()/(double)_mbitmap.getHeight())); - //BA.debugLineNum = 98;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; -_imageviewwidth = (float) (_mbitmap.getWidth()*_r); - //BA.debugLineNum = 99;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; -_imageviewheight = (float) (_mbitmap.getHeight()*_r); +RDebugUtils.currentLine=30867476; + //BA.debugLineNum = 30867476;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt"; +_r = (float) (__c.Max(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight())); +RDebugUtils.currentLine=30867477; + //BA.debugLineNum = 30867477;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r); +RDebugUtils.currentLine=30867478; + //BA.debugLineNum = 30867478;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r); break; } case 5: { - //BA.debugLineNum = 101;BA.debugLine="ImageViewWidth = mBitmap.Width"; -_imageviewwidth = (float) (_mbitmap.getWidth()); - //BA.debugLineNum = 102;BA.debugLine="ImageViewHeight = mBitmap.Height"; -_imageviewheight = (float) (_mbitmap.getHeight()); +RDebugUtils.currentLine=30867480; + //BA.debugLineNum = 30867480;BA.debugLine="ImageViewWidth = mBitmap.Width"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()); +RDebugUtils.currentLine=30867481; + //BA.debugLineNum = 30867481;BA.debugLine="ImageViewHeight = mBitmap.Height"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()); break; } default: { - //BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; -__c.LogImpl("924707099","Invalid resize mode: "+_mresizemode,0); +RDebugUtils.currentLine=30867483; + //BA.debugLineNum = 30867483;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; +__c.LogImpl("930867483","Invalid resize mode: "+__ref._mresizemode /*String*/ ,0); break; } } ; - //BA.debugLineNum = 106;BA.debugLine="iv.SetLayoutAnimated(0, Round(mBase.Width / 2 - I"; -_iv.SetLayoutAnimated((int) (0),(int) (__c.Round(_mbase.getWidth()/(double)2-_imageviewwidth/(double)2)),(int) (__c.Round(_mbase.getHeight()/(double)2-_imageviewheight/(double)2)),(int) (__c.Round(_imageviewwidth)),(int) (__c.Round(_imageviewheight))); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=30867485; + //BA.debugLineNum = 30867485;BA.debugLine="iv.SetLayoutAnimated(0, Round(mBase.Width / 2 - I"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (__c.Round(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2-_imageviewwidth/(double)2)),(int) (__c.Round(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-_imageviewheight/(double)2)),(int) (__c.Round(_imageviewwidth)),(int) (__c.Round(_imageviewheight))); +RDebugUtils.currentLine=30867486; + //BA.debugLineNum = 30867486;BA.debugLine="End Sub"; return ""; } -public String _updateclip() throws Exception{ +public String _class_globals(gunav2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +RDebugUtils.currentLine=30212096; + //BA.debugLineNum = 30212096;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=30212097; + //BA.debugLineNum = 30212097;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=30212098; + //BA.debugLineNum = 30212098;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=30212099; + //BA.debugLineNum = 30212099;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=30212100; + //BA.debugLineNum = 30212100;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=30212101; + //BA.debugLineNum = 30212101;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=30212102; + //BA.debugLineNum = 30212102;BA.debugLine="Private iv As B4XView"; +_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=30212103; + //BA.debugLineNum = 30212103;BA.debugLine="Private mResizeMode As String"; +_mresizemode = ""; +RDebugUtils.currentLine=30212104; + //BA.debugLineNum = 30212104;BA.debugLine="Private mRound As Boolean"; +_mround = false; +RDebugUtils.currentLine=30212105; + //BA.debugLineNum = 30212105;BA.debugLine="Private mBitmap As B4XBitmap"; +_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=30212106; + //BA.debugLineNum = 30212106;BA.debugLine="Public mBackgroundColor As Int"; +_mbackgroundcolor = 0; +RDebugUtils.currentLine=30212107; + //BA.debugLineNum = 30212107;BA.debugLine="Private mCornersRadius As Int"; +_mcornersradius = 0; +RDebugUtils.currentLine=30212108; + //BA.debugLineNum = 30212108;BA.debugLine="End Sub"; +return ""; +} +public String _clear(gunav2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=30998528; + //BA.debugLineNum = 30998528;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=30998529; + //BA.debugLineNum = 30998529;BA.debugLine="mBitmap = Null"; +__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.Null)); +RDebugUtils.currentLine=30998530; + //BA.debugLineNum = 30998530;BA.debugLine="iv.SetBitmap(Null)"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__c.Null)); +RDebugUtils.currentLine=30998531; + //BA.debugLineNum = 30998531;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(gunav2.keymon.com.mx.b4ximageview __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; +RDebugUtils.currentLine=30343168; + //BA.debugLineNum = 30343168;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=30343169; + //BA.debugLineNum = 30343169;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=30343170; + //BA.debugLineNum = 30343170;BA.debugLine="Tag = mBase.Tag"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=30343171; + //BA.debugLineNum = 30343171;BA.debugLine="mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=30343172; + //BA.debugLineNum = 30343172;BA.debugLine="Dim iiv As ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=30343173; + //BA.debugLineNum = 30343173;BA.debugLine="iiv.Initialize(\"\")"; +_iiv.Initialize(ba,""); +RDebugUtils.currentLine=30343174; + //BA.debugLineNum = 30343174;BA.debugLine="iv = iiv"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); +RDebugUtils.currentLine=30343175; + //BA.debugLineNum = 30343175;BA.debugLine="mRound =Props.Get(\"Round\")"; +__ref._mround /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Round"))); +RDebugUtils.currentLine=30343176; + //BA.debugLineNum = 30343176;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")"; +__ref._mresizemode /*String*/ = BA.ObjectToString(_props.Get((Object)("ResizeMode"))); +RDebugUtils.currentLine=30343177; + //BA.debugLineNum = 30343177;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props."; +__ref._mbackgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("BackgroundColor"))); +RDebugUtils.currentLine=30343178; + //BA.debugLineNum = 30343178;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C"; +__ref._mcornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0))))); +RDebugUtils.currentLine=30343179; + //BA.debugLineNum = 30343179;BA.debugLine="mBase.AddView(iv, 0, 0, mBase.Width, mBase.Height"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=30343180; + //BA.debugLineNum = 30343180;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=30343181; + //BA.debugLineNum = 30343181;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(gunav2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "getbitmap", null));} +RDebugUtils.currentLine=31129600; + //BA.debugLineNum = 31129600;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +RDebugUtils.currentLine=31129601; + //BA.debugLineNum = 31129601;BA.debugLine="Return mBitmap"; +if (true) return __ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ; +RDebugUtils.currentLine=31129602; + //BA.debugLineNum = 31129602;BA.debugLine="End Sub"; +return null; +} +public int _getcornersradius(gunav2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getcornersradius", true)) + {return ((Integer) Debug.delegate(ba, "getcornersradius", null));} +RDebugUtils.currentLine=30605312; + //BA.debugLineNum = 30605312;BA.debugLine="Public Sub getCornersRadius As Int"; +RDebugUtils.currentLine=30605313; + //BA.debugLineNum = 30605313;BA.debugLine="Return mCornersRadius"; +if (true) return __ref._mcornersradius /*int*/ ; +RDebugUtils.currentLine=30605314; + //BA.debugLineNum = 30605314;BA.debugLine="End Sub"; +return 0; +} +public String _getresizemode(gunav2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getresizemode", true)) + {return ((String) Debug.delegate(ba, "getresizemode", null));} +RDebugUtils.currentLine=30736384; + //BA.debugLineNum = 30736384;BA.debugLine="Public Sub getResizeMode As String"; +RDebugUtils.currentLine=30736385; + //BA.debugLineNum = 30736385;BA.debugLine="Return mResizeMode"; +if (true) return __ref._mresizemode /*String*/ ; +RDebugUtils.currentLine=30736386; + //BA.debugLineNum = 30736386;BA.debugLine="End Sub"; +return ""; +} +public boolean _getroundedimage(gunav2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getroundedimage", true)) + {return ((Boolean) Debug.delegate(ba, "getroundedimage", null));} +RDebugUtils.currentLine=30474240; + //BA.debugLineNum = 30474240;BA.debugLine="Public Sub getRoundedImage As Boolean"; +RDebugUtils.currentLine=30474241; + //BA.debugLineNum = 30474241;BA.debugLine="Return mRound"; +if (true) return __ref._mround /*boolean*/ ; +RDebugUtils.currentLine=30474242; + //BA.debugLineNum = 30474242;BA.debugLine="End Sub"; +return false; +} +public String _initialize(gunav2.keymon.com.mx.b4ximageview __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=30277632; + //BA.debugLineNum = 30277632;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=30277633; + //BA.debugLineNum = 30277633;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=30277634; + //BA.debugLineNum = 30277634;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=30277635; + //BA.debugLineNum = 30277635;BA.debugLine="End Sub"; +return ""; +} +public String _load(gunav2.keymon.com.mx.b4ximageview __ref,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "load", true)) + {return ((String) Debug.delegate(ba, "load", new Object[] {_dir,_filename}));} +RDebugUtils.currentLine=30932992; + //BA.debugLineNum = 30932992;BA.debugLine="Public Sub Load (Dir As String, FileName As String"; +RDebugUtils.currentLine=30932994; + //BA.debugLineNum = 30932994;BA.debugLine="setBitmap(LoadBitmapSample(Dir, FileName, mBase.W"; +__ref._setbitmap /*String*/ (null,(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.LoadBitmapSample(_dir,_filename,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()).getObject()))); +RDebugUtils.currentLine=30932998; + //BA.debugLineNum = 30932998;BA.debugLine="End Sub"; +return ""; +} +public String _setbitmap(gunav2.keymon.com.mx.b4ximageview __ref,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setbitmap", true)) + {return ((String) Debug.delegate(ba, "setbitmap", new Object[] {_bmp}));} +RDebugUtils.currentLine=31064064; + //BA.debugLineNum = 31064064;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)"; +RDebugUtils.currentLine=31064065; + //BA.debugLineNum = 31064065;BA.debugLine="mBitmap = Bmp"; +__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bmp; +RDebugUtils.currentLine=31064066; + //BA.debugLineNum = 31064066;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)"; +_xuiviewsutils._setbitmapandfill /*String*/ (ba,__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_bmp); +RDebugUtils.currentLine=31064067; + //BA.debugLineNum = 31064067;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=31064068; + //BA.debugLineNum = 31064068;BA.debugLine="End Sub"; +return ""; +} +public String _setcornersradius(gunav2.keymon.com.mx.b4ximageview __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setcornersradius", true)) + {return ((String) Debug.delegate(ba, "setcornersradius", new Object[] {_i}));} +RDebugUtils.currentLine=30670848; + //BA.debugLineNum = 30670848;BA.debugLine="Public Sub setCornersRadius (i As Int)"; +RDebugUtils.currentLine=30670849; + //BA.debugLineNum = 30670849;BA.debugLine="mCornersRadius = i"; +__ref._mcornersradius /*int*/ = _i; +RDebugUtils.currentLine=30670850; + //BA.debugLineNum = 30670850;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=30670851; + //BA.debugLineNum = 30670851;BA.debugLine="End Sub"; +return ""; +} +public String _updateclip(gunav2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "updateclip", true)) + {return ((String) Debug.delegate(ba, "updateclip", null));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 135;BA.debugLine="Private Sub UpdateClip"; - //BA.debugLineNum = 136;BA.debugLine="If mRound Then"; -if (_mround) { - //BA.debugLineNum = 137;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; -_mbase.SetColorAndBorder(_mbackgroundcolor,(int) (0),(int) (0),(int) (__c.Min(_mbase.getWidth()/(double)2,_mbase.getHeight()/(double)2))); +RDebugUtils.currentLine=31195136; + //BA.debugLineNum = 31195136;BA.debugLine="Private Sub UpdateClip"; +RDebugUtils.currentLine=31195137; + //BA.debugLineNum = 31195137;BA.debugLine="If mRound Then"; +if (__ref._mround /*boolean*/ ) { +RDebugUtils.currentLine=31195138; + //BA.debugLineNum = 31195138;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._mbackgroundcolor /*int*/ ,(int) (0),(int) (0),(int) (__c.Min(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2))); }else { - //BA.debugLineNum = 139;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; -_mbase.SetColorAndBorder(_mbackgroundcolor,(int) (0),(int) (0),_mcornersradius); +RDebugUtils.currentLine=31195140; + //BA.debugLineNum = 31195140;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._mbackgroundcolor /*int*/ ,(int) (0),(int) (0),__ref._mcornersradius /*int*/ ); }; - //BA.debugLineNum = 161;BA.debugLine="Dim jo As JavaObject = mBase"; +RDebugUtils.currentLine=31195162; + //BA.debugLineNum = 31195162;BA.debugLine="Dim jo As JavaObject = mBase"; _jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_mbase.getObject())); - //BA.debugLineNum = 162;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or"; -_jo.RunMethod("setClipToOutline",new Object[]{(Object)(_mround || _mcornersradius>0)}); - //BA.debugLineNum = 164;BA.debugLine="End Sub"; +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=31195163; + //BA.debugLineNum = 31195163;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or"; +_jo.RunMethod("setClipToOutline",new Object[]{(Object)(__ref._mround /*boolean*/ || __ref._mcornersradius /*int*/ >0)}); +RDebugUtils.currentLine=31195165; + //BA.debugLineNum = 31195165;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _setresizemode(gunav2.keymon.com.mx.b4ximageview __ref,String _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setresizemode", true)) + {return ((String) Debug.delegate(ba, "setresizemode", new Object[] {_s}));} +RDebugUtils.currentLine=30801920; + //BA.debugLineNum = 30801920;BA.debugLine="Public Sub setResizeMode(s As String)"; +RDebugUtils.currentLine=30801921; + //BA.debugLineNum = 30801921;BA.debugLine="If s = mResizeMode Then Return"; +if ((_s).equals(__ref._mresizemode /*String*/ )) { +if (true) return "";}; +RDebugUtils.currentLine=30801922; + //BA.debugLineNum = 30801922;BA.debugLine="mResizeMode = s"; +__ref._mresizemode /*String*/ = _s; +RDebugUtils.currentLine=30801923; + //BA.debugLineNum = 30801923;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=30801924; + //BA.debugLineNum = 30801924;BA.debugLine="End Sub"; +return ""; } +public String _setroundedimage(gunav2.keymon.com.mx.b4ximageview __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setroundedimage", true)) + {return ((String) Debug.delegate(ba, "setroundedimage", new Object[] {_b}));} +RDebugUtils.currentLine=30539776; + //BA.debugLineNum = 30539776;BA.debugLine="Public Sub setRoundedImage (b As Boolean)"; +RDebugUtils.currentLine=30539777; + //BA.debugLineNum = 30539777;BA.debugLine="If b = mRound Then Return"; +if (_b==__ref._mround /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=30539778; + //BA.debugLineNum = 30539778;BA.debugLine="mRound = b"; +__ref._mround /*boolean*/ = _b; +RDebugUtils.currentLine=30539779; + //BA.debugLineNum = 30539779;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=30539780; + //BA.debugLineNum = 30539780;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xinputtemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xinputtemplate.java index b29f183..acedec4 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xinputtemplate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xinputtemplate.java @@ -10,7 +10,7 @@ public class b4xinputtemplate extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xinputtemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xinputtemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xinputtemplate extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public String _text = ""; @@ -40,154 +47,50 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public Text As String"; -_text = ""; - //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new gunav2.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 6;BA.debugLine="Public RegexPattern As String"; -_regexpattern = ""; - //BA.debugLineNum = 7;BA.debugLine="Public TextField1 As B4XView"; -_textfield1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Public lblTitle As B4XView"; -_lbltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private IME As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 12;BA.debugLine="Private mAllowDecimals As Boolean"; -_mallowdecimals = false; - //BA.debugLineNum = 13;BA.debugLine="Private BorderColor = xui.Color_White, BorderColo"; -_bordercolor = _xui.Color_White; -_bordercolorinvalid = _xui.Color_Red; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public String _configurefornumbers(boolean _allowdecimals,boolean _allownegative) throws Exception{ -anywheresoftware.b4a.objects.EditTextWrapper _et = null; - //BA.debugLineNum = 40;BA.debugLine="Public Sub ConfigureForNumbers (AllowDecimals As B"; - //BA.debugLineNum = 42;BA.debugLine="Dim et As EditText = TextField1"; -_et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_textfield1.getObject())); - //BA.debugLineNum = 43;BA.debugLine="If AllowDecimals Or AllowNegative Then"; -if (_allowdecimals || _allownegative) { - //BA.debugLineNum = 44;BA.debugLine="et.InputType = et.INPUT_TYPE_DECIMAL_NUMBERS"; -_et.setInputType(_et.INPUT_TYPE_DECIMAL_NUMBERS); - }else { - //BA.debugLineNum = 46;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; -_et.setInputType(_et.INPUT_TYPE_NUMBERS); - }; - //BA.debugLineNum = 59;BA.debugLine="If AllowDecimals And AllowNegative Then"; -if (_allowdecimals && _allownegative) { - //BA.debugLineNum = 60;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; -_regexpattern = "^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; - }else if(_allowdecimals && _allownegative==__c.False) { - //BA.debugLineNum = 62;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$\""; -_regexpattern = "^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; - }else if(_allowdecimals==__c.False && _allownegative==__c.True) { - //BA.debugLineNum = 64;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)$\""; -_regexpattern = "^-?(0|[1-9]\\d*)$"; - }else if(_allowdecimals==__c.False && _allownegative==__c.False) { - //BA.debugLineNum = 66;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)$\""; -_regexpattern = "^(0|[1-9]\\d*)$"; - }; - //BA.debugLineNum = 68;BA.debugLine="mAllowDecimals = AllowDecimals"; -_mallowdecimals = _allowdecimals; - //BA.debugLineNum = 69;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 138;BA.debugLine="If Result = xui.DialogResponse_Positive Then"; -if (_result==_xui.DialogResponse_Positive) { - //BA.debugLineNum = 139;BA.debugLine="Text = TextField1.Text"; -_text = _textfield1.getText(); - }; - //BA.debugLineNum = 141;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 116;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 117;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xinputtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=31916032; + //BA.debugLineNum = 31916032;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=31916033; + //BA.debugLineNum = 31916033;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=31916034; + //BA.debugLineNum = 31916034;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 17;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 18;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 80dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (80))); - //BA.debugLineNum = 19;BA.debugLine="mBase.LoadLayout(\"B4XInputTemplate\")"; -_mbase.LoadLayout("B4XInputTemplate",ba); - //BA.debugLineNum = 20;BA.debugLine="TextField1.TextColor = xui.Color_White"; -_textfield1.setTextColor(_xui.Color_White); - //BA.debugLineNum = 22;BA.debugLine="IME.Initialize(\"\")"; -_ime.Initialize(""); - //BA.debugLineNum = 23;BA.debugLine="Dim jo As JavaObject = TextField1"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_textfield1.getObject())); - //BA.debugLineNum = 24;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; -_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); - //BA.debugLineNum = 30;BA.debugLine="SetBorder(BorderColor)"; -_setborder(_bordercolor); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return ""; -} -public boolean _isvalid(String _new) throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Private Sub IsValid(New As String) As Boolean"; - //BA.debugLineNum = 104;BA.debugLine="Return RegexPattern = \"\" Or Regex.IsMatch(RegexPa"; -if (true) return (_regexpattern).equals("") || __c.Regex.IsMatch(_regexpattern,_new); - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return false; -} -public String _setborder(int _bc) throws Exception{ - //BA.debugLineNum = 99;BA.debugLine="Private Sub SetBorder(bc As Int)"; - //BA.debugLineNum = 100;BA.debugLine="TextField1.SetColorAndBorder(xui.Color_Transparen"; -_textfield1.SetColorAndBorder(_xui.Color_Transparent,__c.DipToCurrent((int) (1)),_bc,__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 101;BA.debugLine="End Sub"; -return ""; -} -public String _setbordercolor(int _valid,int _invalid) throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Public Sub SetBorderColor(Valid As Int, Invalid As"; - //BA.debugLineNum = 35;BA.debugLine="BorderColor = Valid"; -_bordercolor = _valid; - //BA.debugLineNum = 36;BA.debugLine="BorderColorInvalid = Invalid"; -_bordercolorinvalid = _invalid; - //BA.debugLineNum = 37;BA.debugLine="SetBorder(BorderColor)"; -_setborder(_bordercolor); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public void _show(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public void _show(gunav2.keymon.com.mx.b4xinputtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(gunav2.keymon.com.mx.b4xinputtemplate parent,gunav2.keymon.com.mx.b4xdialog _dialog) { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xinputtemplate parent,gunav2.keymon.com.mx.b4xinputtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xinputtemplate __ref; gunav2.keymon.com.mx.b4xinputtemplate parent; gunav2.keymon.com.mx.b4xdialog _dialog; anywheresoftware.b4a.objects.EditTextWrapper _tf = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xinputtemplate"; while (true) { switch (state) { @@ -197,91 +100,349 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 121;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 122;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; -parent._xdialog._putattop /*boolean*/ = parent._xui.getIsB4A() || parent._xui.getIsB4i(); - //BA.debugLineNum = 123;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); +RDebugUtils.currentLine=31981569; + //BA.debugLineNum = 31981569;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=31981570; + //BA.debugLineNum = 31981570;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._putattop /*boolean*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i(); +RDebugUtils.currentLine=31981571; + //BA.debugLineNum = 31981571;BA.debugLine="Sleep(20)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xinputtemplate", "show"),(int) (20)); this.state = 1; return; case 1: //C this.state = -1; ; - //BA.debugLineNum = 124;BA.debugLine="TextField1.Text = Text"; -parent._textfield1.setText(BA.ObjectToCharSequence(parent._text)); - //BA.debugLineNum = 125;BA.debugLine="Validate(Text)"; -parent._validate(parent._text); - //BA.debugLineNum = 126;BA.debugLine="TextField1.RequestFocus"; -parent._textfield1.RequestFocus(); - //BA.debugLineNum = 128;BA.debugLine="Dim tf As EditText = TextField1"; +RDebugUtils.currentLine=31981572; + //BA.debugLineNum = 31981572;BA.debugLine="TextField1.Text = Text"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._text /*String*/ )); +RDebugUtils.currentLine=31981573; + //BA.debugLineNum = 31981573;BA.debugLine="Validate(Text)"; +__ref._validate /*String*/ (null,__ref._text /*String*/ ); +RDebugUtils.currentLine=31981574; + //BA.debugLineNum = 31981574;BA.debugLine="TextField1.RequestFocus"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=31981576; + //BA.debugLineNum = 31981576;BA.debugLine="Dim tf As EditText = TextField1"; _tf = new anywheresoftware.b4a.objects.EditTextWrapper(); -_tf = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(parent._textfield1.getObject())); - //BA.debugLineNum = 129;BA.debugLine="tf.SelectAll"; +_tf = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=31981577; + //BA.debugLineNum = 31981577;BA.debugLine="tf.SelectAll"; _tf.SelectAll(); - //BA.debugLineNum = 130;BA.debugLine="IME.ShowKeyboard(TextField1)"; -parent._ime.ShowKeyboard((android.view.View)(parent._textfield1.getObject())); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; +RDebugUtils.currentLine=31981578; + //BA.debugLineNum = 31981578;BA.debugLine="IME.ShowKeyboard(TextField1)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=31981583; + //BA.debugLineNum = 31981583;BA.debugLine="End Sub"; if (true) break; } } } } -public String _textfield1_action() throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Private Sub TextField1_Action"; - //BA.debugLineNum = 108;BA.debugLine="TextField1_EnterPressed"; -_textfield1_enterpressed(); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; +public String _dialogclosed(gunav2.keymon.com.mx.b4xinputtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=32047104; + //BA.debugLineNum = 32047104;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=32047105; + //BA.debugLineNum = 32047105;BA.debugLine="If Result = xui.DialogResponse_Positive Then"; +if (_result==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=32047106; + //BA.debugLineNum = 32047106;BA.debugLine="Text = TextField1.Text"; +__ref._text /*String*/ = __ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); + }; +RDebugUtils.currentLine=32047108; + //BA.debugLineNum = 32047108;BA.debugLine="End Sub"; return ""; } -public String _textfield1_enterpressed() throws Exception{ - //BA.debugLineNum = 111;BA.debugLine="Private Sub TextField1_EnterPressed"; - //BA.debugLineNum = 112;BA.debugLine="If IsValid(TextField1.Text) Then xDialog.Close(xu"; -if (_isvalid(_textfield1.getText())) { -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive);}; - //BA.debugLineNum = 113;BA.debugLine="End Sub"; +public String _class_globals(gunav2.keymon.com.mx.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +RDebugUtils.currentLine=31260672; + //BA.debugLineNum = 31260672;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=31260673; + //BA.debugLineNum = 31260673;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=31260674; + //BA.debugLineNum = 31260674;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=31260675; + //BA.debugLineNum = 31260675;BA.debugLine="Public Text As String"; +_text = ""; +RDebugUtils.currentLine=31260676; + //BA.debugLineNum = 31260676;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new gunav2.keymon.com.mx.b4xdialog(); +RDebugUtils.currentLine=31260677; + //BA.debugLineNum = 31260677;BA.debugLine="Public RegexPattern As String"; +_regexpattern = ""; +RDebugUtils.currentLine=31260678; + //BA.debugLineNum = 31260678;BA.debugLine="Public TextField1 As B4XView"; +_textfield1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=31260679; + //BA.debugLineNum = 31260679;BA.debugLine="Public lblTitle As B4XView"; +_lbltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=31260681; + //BA.debugLineNum = 31260681;BA.debugLine="Private IME As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=31260683; + //BA.debugLineNum = 31260683;BA.debugLine="Private mAllowDecimals As Boolean"; +_mallowdecimals = false; +RDebugUtils.currentLine=31260684; + //BA.debugLineNum = 31260684;BA.debugLine="Private BorderColor = xui.Color_White, BorderColo"; +_bordercolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +_bordercolorinvalid = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Red; +RDebugUtils.currentLine=31260685; + //BA.debugLineNum = 31260685;BA.debugLine="End Sub"; return ""; } -public String _textfield1_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 71;BA.debugLine="Private Sub TextField1_TextChanged (Old As String,"; - //BA.debugLineNum = 83;BA.debugLine="Validate (New)"; -_validate(_new); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; +public String _configurefornumbers(gunav2.keymon.com.mx.b4xinputtemplate __ref,boolean _allowdecimals,boolean _allownegative) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "configurefornumbers", true)) + {return ((String) Debug.delegate(ba, "configurefornumbers", new Object[] {_allowdecimals,_allownegative}));} +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +RDebugUtils.currentLine=31457280; + //BA.debugLineNum = 31457280;BA.debugLine="Public Sub ConfigureForNumbers (AllowDecimals As B"; +RDebugUtils.currentLine=31457282; + //BA.debugLineNum = 31457282;BA.debugLine="Dim et As EditText = TextField1"; +_et = new anywheresoftware.b4a.objects.EditTextWrapper(); +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=31457283; + //BA.debugLineNum = 31457283;BA.debugLine="If AllowDecimals Or AllowNegative Then"; +if (_allowdecimals || _allownegative) { +RDebugUtils.currentLine=31457284; + //BA.debugLineNum = 31457284;BA.debugLine="et.InputType = et.INPUT_TYPE_DECIMAL_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_DECIMAL_NUMBERS); + }else { +RDebugUtils.currentLine=31457286; + //BA.debugLineNum = 31457286;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_NUMBERS); + }; +RDebugUtils.currentLine=31457299; + //BA.debugLineNum = 31457299;BA.debugLine="If AllowDecimals And AllowNegative Then"; +if (_allowdecimals && _allownegative) { +RDebugUtils.currentLine=31457300; + //BA.debugLineNum = 31457300;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; +__ref._regexpattern /*String*/ = "^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; + }else +{RDebugUtils.currentLine=31457301; + //BA.debugLineNum = 31457301;BA.debugLine="Else If AllowDecimals And AllowNegative = False T"; +if (_allowdecimals && _allownegative==__c.False) { +RDebugUtils.currentLine=31457302; + //BA.debugLineNum = 31457302;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$\""; +__ref._regexpattern /*String*/ = "^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; + }else +{RDebugUtils.currentLine=31457303; + //BA.debugLineNum = 31457303;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +if (_allowdecimals==__c.False && _allownegative==__c.True) { +RDebugUtils.currentLine=31457304; + //BA.debugLineNum = 31457304;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)$\""; +__ref._regexpattern /*String*/ = "^-?(0|[1-9]\\d*)$"; + }else +{RDebugUtils.currentLine=31457305; + //BA.debugLineNum = 31457305;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +if (_allowdecimals==__c.False && _allownegative==__c.False) { +RDebugUtils.currentLine=31457306; + //BA.debugLineNum = 31457306;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)$\""; +__ref._regexpattern /*String*/ = "^(0|[1-9]\\d*)$"; + }}}} +; +RDebugUtils.currentLine=31457308; + //BA.debugLineNum = 31457308;BA.debugLine="mAllowDecimals = AllowDecimals"; +__ref._mallowdecimals /*boolean*/ = _allowdecimals; +RDebugUtils.currentLine=31457309; + //BA.debugLineNum = 31457309;BA.debugLine="End Sub"; return ""; } -public String _validate(String _new) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xinputtemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=31326208; + //BA.debugLineNum = 31326208;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=31326209; + //BA.debugLineNum = 31326209;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=31326210; + //BA.debugLineNum = 31326210;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 80dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (80))); +RDebugUtils.currentLine=31326211; + //BA.debugLineNum = 31326211;BA.debugLine="mBase.LoadLayout(\"B4XInputTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("B4XInputTemplate",ba); +RDebugUtils.currentLine=31326212; + //BA.debugLineNum = 31326212;BA.debugLine="TextField1.TextColor = xui.Color_White"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTextColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White); +RDebugUtils.currentLine=31326214; + //BA.debugLineNum = 31326214;BA.debugLine="IME.Initialize(\"\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize(""); +RDebugUtils.currentLine=31326215; + //BA.debugLineNum = 31326215;BA.debugLine="Dim jo As JavaObject = TextField1"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=31326216; + //BA.debugLineNum = 31326216;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); +RDebugUtils.currentLine=31326218; + //BA.debugLineNum = 31326218;BA.debugLine="Dim jo As JavaObject = Me"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=31326219; + //BA.debugLineNum = 31326219;BA.debugLine="jo.RunMethod(\"RemoveWarning\", Null)"; +_jo.RunMethod("RemoveWarning",(Object[])(__c.Null)); +RDebugUtils.currentLine=31326222; + //BA.debugLineNum = 31326222;BA.debugLine="SetBorder(BorderColor)"; +__ref._setborder /*String*/ (null,__ref._bordercolor /*int*/ ); +RDebugUtils.currentLine=31326223; + //BA.debugLineNum = 31326223;BA.debugLine="End Sub"; +return ""; +} +public String _setborder(gunav2.keymon.com.mx.b4xinputtemplate __ref,int _bc) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "setborder", true)) + {return ((String) Debug.delegate(ba, "setborder", new Object[] {_bc}));} +RDebugUtils.currentLine=31653888; + //BA.debugLineNum = 31653888;BA.debugLine="Private Sub SetBorder(bc As Int)"; +RDebugUtils.currentLine=31653889; + //BA.debugLineNum = 31653889;BA.debugLine="TextField1.SetColorAndBorder(xui.Color_Transparen"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,__c.DipToCurrent((int) (1)),_bc,__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=31653890; + //BA.debugLineNum = 31653890;BA.debugLine="End Sub"; +return ""; +} +public boolean _isvalid(gunav2.keymon.com.mx.b4xinputtemplate __ref,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "isvalid", true)) + {return ((Boolean) Debug.delegate(ba, "isvalid", new Object[] {_new}));} +RDebugUtils.currentLine=31719424; + //BA.debugLineNum = 31719424;BA.debugLine="Private Sub IsValid(New As String) As Boolean"; +RDebugUtils.currentLine=31719425; + //BA.debugLineNum = 31719425;BA.debugLine="Return RegexPattern = \"\" Or Regex.IsMatch(RegexPa"; +if (true) return (__ref._regexpattern /*String*/ ).equals("") || __c.Regex.IsMatch(__ref._regexpattern /*String*/ ,_new); +RDebugUtils.currentLine=31719426; + //BA.debugLineNum = 31719426;BA.debugLine="End Sub"; +return false; +} +public String _setbordercolor(gunav2.keymon.com.mx.b4xinputtemplate __ref,int _valid,int _invalid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "setbordercolor", true)) + {return ((String) Debug.delegate(ba, "setbordercolor", new Object[] {_valid,_invalid}));} +RDebugUtils.currentLine=31391744; + //BA.debugLineNum = 31391744;BA.debugLine="Public Sub SetBorderColor(Valid As Int, Invalid As"; +RDebugUtils.currentLine=31391745; + //BA.debugLineNum = 31391745;BA.debugLine="BorderColor = Valid"; +__ref._bordercolor /*int*/ = _valid; +RDebugUtils.currentLine=31391746; + //BA.debugLineNum = 31391746;BA.debugLine="BorderColorInvalid = Invalid"; +__ref._bordercolorinvalid /*int*/ = _invalid; +RDebugUtils.currentLine=31391747; + //BA.debugLineNum = 31391747;BA.debugLine="SetBorder(BorderColor)"; +__ref._setborder /*String*/ (null,__ref._bordercolor /*int*/ ); +RDebugUtils.currentLine=31391748; + //BA.debugLineNum = 31391748;BA.debugLine="End Sub"; +return ""; +} +public String _validate(gunav2.keymon.com.mx.b4xinputtemplate __ref,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "validate", true)) + {return ((String) Debug.delegate(ba, "validate", new Object[] {_new}));} int _bc = 0; boolean _enabled = false; - //BA.debugLineNum = 86;BA.debugLine="Private Sub Validate (New As String)"; - //BA.debugLineNum = 87;BA.debugLine="Dim bc As Int = BorderColor"; -_bc = _bordercolor; - //BA.debugLineNum = 88;BA.debugLine="Dim enabled As Boolean = True"; +RDebugUtils.currentLine=31588352; + //BA.debugLineNum = 31588352;BA.debugLine="Private Sub Validate (New As String)"; +RDebugUtils.currentLine=31588353; + //BA.debugLineNum = 31588353;BA.debugLine="Dim bc As Int = BorderColor"; +_bc = __ref._bordercolor /*int*/ ; +RDebugUtils.currentLine=31588354; + //BA.debugLineNum = 31588354;BA.debugLine="Dim enabled As Boolean = True"; _enabled = __c.True; - //BA.debugLineNum = 89;BA.debugLine="If IsValid(New) = False Then"; -if (_isvalid(_new)==__c.False) { - //BA.debugLineNum = 90;BA.debugLine="If New.Length > 0 Then"; +RDebugUtils.currentLine=31588355; + //BA.debugLineNum = 31588355;BA.debugLine="If IsValid(New) = False Then"; +if (__ref._isvalid /*boolean*/ (null,_new)==__c.False) { +RDebugUtils.currentLine=31588356; + //BA.debugLineNum = 31588356;BA.debugLine="If New.Length > 0 Then"; if (_new.length()>0) { - //BA.debugLineNum = 91;BA.debugLine="bc = BorderColorInvalid"; -_bc = _bordercolorinvalid; +RDebugUtils.currentLine=31588357; + //BA.debugLineNum = 31588357;BA.debugLine="bc = BorderColorInvalid"; +_bc = __ref._bordercolorinvalid /*int*/ ; }; - //BA.debugLineNum = 93;BA.debugLine="enabled = False"; +RDebugUtils.currentLine=31588359; + //BA.debugLineNum = 31588359;BA.debugLine="enabled = False"; _enabled = __c.False; }; - //BA.debugLineNum = 95;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; -_xdialog._setbuttonstate /*String*/ (_xui.DialogResponse_Positive,_enabled); - //BA.debugLineNum = 96;BA.debugLine="SetBorder(bc)"; -_setborder(_bc); - //BA.debugLineNum = 97;BA.debugLine="End Sub"; +RDebugUtils.currentLine=31588361; + //BA.debugLineNum = 31588361;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._setbuttonstate /*String*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,_enabled); +RDebugUtils.currentLine=31588362; + //BA.debugLineNum = 31588362;BA.debugLine="SetBorder(bc)"; +__ref._setborder /*String*/ (null,_bc); +RDebugUtils.currentLine=31588363; + //BA.debugLineNum = 31588363;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((gunav2.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; +public String _textfield1_action(gunav2.keymon.com.mx.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_action", true)) + {return ((String) Debug.delegate(ba, "textfield1_action", null));} +RDebugUtils.currentLine=31784960; + //BA.debugLineNum = 31784960;BA.debugLine="Private Sub TextField1_Action"; +RDebugUtils.currentLine=31784961; + //BA.debugLineNum = 31784961;BA.debugLine="TextField1_EnterPressed"; +__ref._textfield1_enterpressed /*String*/ (null); +RDebugUtils.currentLine=31784962; + //BA.debugLineNum = 31784962;BA.debugLine="End Sub"; +return ""; } +public String _textfield1_enterpressed(gunav2.keymon.com.mx.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_enterpressed", true)) + {return ((String) Debug.delegate(ba, "textfield1_enterpressed", null));} +RDebugUtils.currentLine=31850496; + //BA.debugLineNum = 31850496;BA.debugLine="Private Sub TextField1_EnterPressed"; +RDebugUtils.currentLine=31850497; + //BA.debugLineNum = 31850497;BA.debugLine="If IsValid(TextField1.Text) Then xDialog.Close(xu"; +if (__ref._isvalid /*boolean*/ (null,__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText())) { +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive);}; +RDebugUtils.currentLine=31850498; + //BA.debugLineNum = 31850498;BA.debugLine="End Sub"; +return ""; } +public String _textfield1_textchanged(gunav2.keymon.com.mx.b4xinputtemplate __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_textchanged", true)) + {return ((String) Debug.delegate(ba, "textfield1_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=31522816; + //BA.debugLineNum = 31522816;BA.debugLine="Private Sub TextField1_TextChanged (Old As String,"; +RDebugUtils.currentLine=31522828; + //BA.debugLineNum = 31522828;BA.debugLine="Validate (New)"; +__ref._validate /*String*/ (null,_new); +RDebugUtils.currentLine=31522829; + //BA.debugLineNum = 31522829;BA.debugLine="End Sub"; +return ""; +} +public void RemoveWarning() throws Exception{ + anywheresoftware.b4a.shell.Shell s = anywheresoftware.b4a.shell.Shell.INSTANCE; + java.lang.reflect.Field f = s.getClass().getDeclaredField("errorMessagesForSyncEvents"); + f.setAccessible(true); + java.util.HashSet h = (java.util.HashSet)f.get(s); + if (h == null) { + h = new java.util.HashSet(); + f.set(s, h); + } + h.add("textfield1_textchanged"); +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xlisttemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xlisttemplate.java index bbafa98..403bc65 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xlisttemplate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xlisttemplate.java @@ -10,7 +10,7 @@ public class b4xlisttemplate extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xlisttemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xlisttemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xlisttemplate extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public b4a.example3.customlistview _customlistview1 = null; @@ -39,154 +46,43 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; -_customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Public Options As List"; -_options = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 6;BA.debugLine="Public SelectedItem As String"; -_selecteditem = ""; - //BA.debugLineNum = 7;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new gunav2.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 8;BA.debugLine="Public AllowMultiSelection As Boolean"; -_allowmultiselection = false; - //BA.debugLineNum = 9;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; -_selectioncolor = ((int)0xaa0086ff); - //BA.debugLineNum = 10;BA.debugLine="Public SelectedItems As List"; -_selecteditems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 11;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; -_multiselectionminimum = (int) (0); - //BA.debugLineNum = 12;BA.debugLine="End Sub"; -return ""; -} -public String _customlistview1_itemclick(int _index,Object _value) throws Exception{ -b4a.example3.customlistview._clvitem _item = null; - //BA.debugLineNum = 76;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; - //BA.debugLineNum = 77;BA.debugLine="If Value = \"\" Then Return"; -if ((_value).equals((Object)(""))) { -if (true) return "";}; - //BA.debugLineNum = 78;BA.debugLine="If AllowMultiSelection Then"; -if (_allowmultiselection) { - //BA.debugLineNum = 79;BA.debugLine="Dim Item As CLVItem = CustomListView1.GetRawList"; -_item = _customlistview1._getrawlistitem(_index); - //BA.debugLineNum = 80;BA.debugLine="SelectItem (Item, True)"; -_selectitem(_item,__c.True); - }else { - //BA.debugLineNum = 82;BA.debugLine="SelectedItem = Value"; -_selecteditem = BA.ObjectToString(_value); - //BA.debugLineNum = 83;BA.debugLine="SelectedItems.Clear"; -_selecteditems.Clear(); - //BA.debugLineNum = 84;BA.debugLine="SelectedItems.Add(Value)"; -_selecteditems.Add(_value); - //BA.debugLineNum = 85;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - }; - //BA.debugLineNum = 87;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 38;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xlisttemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=32309248; + //BA.debugLineNum = 32309248;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=32309249; + //BA.debugLineNum = 32309249;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=32309250; + //BA.debugLineNum = 32309250;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 14;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 15;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 16;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 17;BA.debugLine="mBase.LoadLayout(\"ListTemplate\")"; -_mbase.LoadLayout("ListTemplate",ba); - //BA.debugLineNum = 18;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 19;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 20;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 21;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 26;BA.debugLine="Options.Initialize"; -_options.Initialize(); - //BA.debugLineNum = 27;BA.debugLine="SelectedItems.Initialize"; -_selecteditems.Initialize(); - //BA.debugLineNum = 28;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 31;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 32;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 33;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; -_customlistview1._base_resize(_width,_height); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public String _selectitem(b4a.example3.customlistview._clvitem _item,boolean _toggle) throws Exception{ -int _index = 0; -boolean _selected = false; - //BA.debugLineNum = 59;BA.debugLine="Private Sub SelectItem (Item As CLVItem, Toggle As"; - //BA.debugLineNum = 60;BA.debugLine="Dim index As Int = SelectedItems.IndexOf(Item.Val"; -_index = _selecteditems.IndexOf(_item.Value); - //BA.debugLineNum = 61;BA.debugLine="Dim Selected As Boolean = index > -1"; -_selected = _index>-1; - //BA.debugLineNum = 62;BA.debugLine="If Toggle Then Selected = Not(Selected)"; -if (_toggle) { -_selected = __c.Not(_selected);}; - //BA.debugLineNum = 63;BA.debugLine="If Selected Then"; -if (_selected) { - //BA.debugLineNum = 64;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = Selection"; -if (__c.Not(_toggle)) { -_item.Panel.setColor(_selectioncolor);}; - //BA.debugLineNum = 65;BA.debugLine="Item.Color = CustomListView1.DefaultTextBackgrou"; -_item.Color = _customlistview1._defaulttextbackgroundcolor; - //BA.debugLineNum = 66;BA.debugLine="If index = -1 Then SelectedItems.Add(Item.Value)"; -if (_index==-1) { -_selecteditems.Add(_item.Value);}; - }else { - //BA.debugLineNum = 68;BA.debugLine="Item.Color = SelectionColor"; -_item.Color = _selectioncolor; - //BA.debugLineNum = 69;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = CustomLis"; -if (__c.Not(_toggle)) { -_item.Panel.setColor(_customlistview1._defaulttextbackgroundcolor);}; - //BA.debugLineNum = 70;BA.debugLine="If index > -1 Then SelectedItems.RemoveAt(index)"; -if (_index>-1) { -_selecteditems.RemoveAt(_index);}; - }; - //BA.debugLineNum = 72;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; -_xdialog._setbuttonstate /*String*/ (_xui.DialogResponse_Positive,_selecteditems.getSize()>=_multiselectionminimum); - //BA.debugLineNum = 73;BA.debugLine="End Sub"; -return ""; -} -public void _show(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public void _show(gunav2.keymon.com.mx.b4xlisttemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(gunav2.keymon.com.mx.b4xlisttemplate parent,gunav2.keymon.com.mx.b4xdialog _dialog) { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xlisttemplate parent,gunav2.keymon.com.mx.b4xlisttemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xlisttemplate __ref; gunav2.keymon.com.mx.b4xlisttemplate parent; gunav2.keymon.com.mx.b4xdialog _dialog; Object _opt = null; @@ -200,6 +96,7 @@ int limit8; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xlisttemplate"; while (true) { switch (state) { @@ -209,17 +106,20 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 42;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 43;BA.debugLine="CustomListView1.Clear"; -parent._customlistview1._clear(); - //BA.debugLineNum = 44;BA.debugLine="For Each opt As Object In Options"; +RDebugUtils.currentLine=32374785; + //BA.debugLineNum = 32374785;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=32374786; + //BA.debugLineNum = 32374786;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=32374787; + //BA.debugLineNum = 32374787;BA.debugLine="For Each opt As Object In Options"; if (true) break; case 1: //for this.state = 4; -group3 = parent._options; +group3 = __ref._options /*anywheresoftware.b4a.objects.collections.List*/ ; index3 = 0; groupLen3 = group3.getSize(); this.state = 12; @@ -242,39 +142,43 @@ if (true) break; case 3: //C this.state = 13; - //BA.debugLineNum = 45;BA.debugLine="CustomListView1.AddTextItem(opt, opt)"; -parent._customlistview1._addtextitem(_opt,_opt); +RDebugUtils.currentLine=32374788; + //BA.debugLineNum = 32374788;BA.debugLine="CustomListView1.AddTextItem(opt, opt)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem(_opt,_opt); if (true) break; if (true) break; ; - //BA.debugLineNum = 47;BA.debugLine="If AllowMultiSelection Then"; +RDebugUtils.currentLine=32374790; + //BA.debugLineNum = 32374790;BA.debugLine="If AllowMultiSelection Then"; case 4: //if this.state = 11; -if (parent._allowmultiselection) { +if (__ref._allowmultiselection /*boolean*/ ) { this.state = 6; }if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 48;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); +RDebugUtils.currentLine=32374791; + //BA.debugLineNum = 32374791;BA.debugLine="Sleep(20)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xlisttemplate", "show"),(int) (20)); this.state = 14; return; case 14: //C this.state = 7; ; - //BA.debugLineNum = 49;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; +RDebugUtils.currentLine=32374792; + //BA.debugLineNum = 32374792;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; if (true) break; case 7: //for this.state = 10; step8 = 1; -limit8 = (int) (parent._customlistview1._getsize()-1); +limit8 = (int) (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()-1); _i = (int) (0) ; this.state = 15; if (true) break; @@ -294,10 +198,12 @@ if (true) break; case 9: //C this.state = 16; - //BA.debugLineNum = 50;BA.debugLine="Dim item As CLVItem = CustomListView1.GetRawLis"; -_item = parent._customlistview1._getrawlistitem(_i); - //BA.debugLineNum = 51;BA.debugLine="SelectItem (item, False)"; -parent._selectitem(_item,parent.__c.False); +RDebugUtils.currentLine=32374793; + //BA.debugLineNum = 32374793;BA.debugLine="Dim item As CLVItem = CustomListView1.GetRawLis"; +_item = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getrawlistitem(_i); +RDebugUtils.currentLine=32374794; + //BA.debugLineNum = 32374794;BA.debugLine="SelectItem (item, False)"; +__ref._selectitem /*String*/ (null,_item,parent.__c.False); if (true) break; if (true) break; @@ -311,23 +217,216 @@ case 11: //C this.state = -1; ; - //BA.debugLineNum = 54;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -parent._xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,parent._customlistview1,parent._customlistview1._defaulttextbackgroundcolor); - //BA.debugLineNum = 55;BA.debugLine="SelectedItem = \"\""; -parent._selecteditem = ""; - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +RDebugUtils.currentLine=32374797; + //BA.debugLineNum = 32374797;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +parent._xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,__ref._customlistview1 /*b4a.example3.customlistview*/ ,__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor); +RDebugUtils.currentLine=32374798; + //BA.debugLineNum = 32374798;BA.debugLine="SelectedItem = \"\""; +__ref._selecteditem /*String*/ = ""; +RDebugUtils.currentLine=32374800; + //BA.debugLineNum = 32374800;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((gunav2.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; +public String _dialogclosed(gunav2.keymon.com.mx.b4xlisttemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=32571392; + //BA.debugLineNum = 32571392;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=32571394; + //BA.debugLineNum = 32571394;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(gunav2.keymon.com.mx.b4xlisttemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +RDebugUtils.currentLine=32112640; + //BA.debugLineNum = 32112640;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=32112641; + //BA.debugLineNum = 32112641;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=32112642; + //BA.debugLineNum = 32112642;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=32112643; + //BA.debugLineNum = 32112643;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=32112644; + //BA.debugLineNum = 32112644;BA.debugLine="Public Options As List"; +_options = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=32112645; + //BA.debugLineNum = 32112645;BA.debugLine="Public SelectedItem As String"; +_selecteditem = ""; +RDebugUtils.currentLine=32112646; + //BA.debugLineNum = 32112646;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new gunav2.keymon.com.mx.b4xdialog(); +RDebugUtils.currentLine=32112647; + //BA.debugLineNum = 32112647;BA.debugLine="Public AllowMultiSelection As Boolean"; +_allowmultiselection = false; +RDebugUtils.currentLine=32112648; + //BA.debugLineNum = 32112648;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; +_selectioncolor = ((int)0xaa0086ff); +RDebugUtils.currentLine=32112649; + //BA.debugLineNum = 32112649;BA.debugLine="Public SelectedItems As List"; +_selecteditems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=32112650; + //BA.debugLineNum = 32112650;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; +_multiselectionminimum = (int) (0); +RDebugUtils.currentLine=32112651; + //BA.debugLineNum = 32112651;BA.debugLine="End Sub"; +return ""; } +public String _customlistview1_itemclick(gunav2.keymon.com.mx.b4xlisttemplate __ref,int _index,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "customlistview1_itemclick", true)) + {return ((String) Debug.delegate(ba, "customlistview1_itemclick", new Object[] {_index,_value}));} +b4a.example3.customlistview._clvitem _item = null; +RDebugUtils.currentLine=32505856; + //BA.debugLineNum = 32505856;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +RDebugUtils.currentLine=32505857; + //BA.debugLineNum = 32505857;BA.debugLine="If Value = \"\" Then Return"; +if ((_value).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=32505858; + //BA.debugLineNum = 32505858;BA.debugLine="If AllowMultiSelection Then"; +if (__ref._allowmultiselection /*boolean*/ ) { +RDebugUtils.currentLine=32505859; + //BA.debugLineNum = 32505859;BA.debugLine="Dim Item As CLVItem = CustomListView1.GetRawList"; +_item = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getrawlistitem(_index); +RDebugUtils.currentLine=32505860; + //BA.debugLineNum = 32505860;BA.debugLine="SelectItem (Item, True)"; +__ref._selectitem /*String*/ (null,_item,__c.True); + }else { +RDebugUtils.currentLine=32505862; + //BA.debugLineNum = 32505862;BA.debugLine="SelectedItem = Value"; +__ref._selecteditem /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=32505863; + //BA.debugLineNum = 32505863;BA.debugLine="SelectedItems.Clear"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=32505864; + //BA.debugLineNum = 32505864;BA.debugLine="SelectedItems.Add(Value)"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Add(_value); +RDebugUtils.currentLine=32505865; + //BA.debugLineNum = 32505865;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); + }; +RDebugUtils.currentLine=32505867; + //BA.debugLineNum = 32505867;BA.debugLine="End Sub"; +return ""; +} +public String _selectitem(gunav2.keymon.com.mx.b4xlisttemplate __ref,b4a.example3.customlistview._clvitem _item,boolean _toggle) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "selectitem", true)) + {return ((String) Debug.delegate(ba, "selectitem", new Object[] {_item,_toggle}));} +int _index = 0; +boolean _selected = false; +RDebugUtils.currentLine=32440320; + //BA.debugLineNum = 32440320;BA.debugLine="Private Sub SelectItem (Item As CLVItem, Toggle As"; +RDebugUtils.currentLine=32440321; + //BA.debugLineNum = 32440321;BA.debugLine="Dim index As Int = SelectedItems.IndexOf(Item.Val"; +_index = __ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_item.Value); +RDebugUtils.currentLine=32440322; + //BA.debugLineNum = 32440322;BA.debugLine="Dim Selected As Boolean = index > -1"; +_selected = _index>-1; +RDebugUtils.currentLine=32440323; + //BA.debugLineNum = 32440323;BA.debugLine="If Toggle Then Selected = Not(Selected)"; +if (_toggle) { +_selected = __c.Not(_selected);}; +RDebugUtils.currentLine=32440324; + //BA.debugLineNum = 32440324;BA.debugLine="If Selected Then"; +if (_selected) { +RDebugUtils.currentLine=32440325; + //BA.debugLineNum = 32440325;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = Selection"; +if (__c.Not(_toggle)) { +_item.Panel.setColor(__ref._selectioncolor /*int*/ );}; +RDebugUtils.currentLine=32440326; + //BA.debugLineNum = 32440326;BA.debugLine="Item.Color = CustomListView1.DefaultTextBackgrou"; +_item.Color = __ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor; +RDebugUtils.currentLine=32440327; + //BA.debugLineNum = 32440327;BA.debugLine="If index = -1 Then SelectedItems.Add(Item.Value)"; +if (_index==-1) { +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Add(_item.Value);}; + }else { +RDebugUtils.currentLine=32440329; + //BA.debugLineNum = 32440329;BA.debugLine="Item.Color = SelectionColor"; +_item.Color = __ref._selectioncolor /*int*/ ; +RDebugUtils.currentLine=32440330; + //BA.debugLineNum = 32440330;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = CustomLis"; +if (__c.Not(_toggle)) { +_item.Panel.setColor(__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor);}; +RDebugUtils.currentLine=32440331; + //BA.debugLineNum = 32440331;BA.debugLine="If index > -1 Then SelectedItems.RemoveAt(index)"; +if (_index>-1) { +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_index);}; + }; +RDebugUtils.currentLine=32440333; + //BA.debugLineNum = 32440333;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._setbuttonstate /*String*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>=__ref._multiselectionminimum /*int*/ ); +RDebugUtils.currentLine=32440334; + //BA.debugLineNum = 32440334;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(gunav2.keymon.com.mx.b4xlisttemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=32178176; + //BA.debugLineNum = 32178176;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=32178177; + //BA.debugLineNum = 32178177;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=32178178; + //BA.debugLineNum = 32178178;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); +RDebugUtils.currentLine=32178179; + //BA.debugLineNum = 32178179;BA.debugLine="mBase.LoadLayout(\"ListTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("ListTemplate",ba); +RDebugUtils.currentLine=32178180; + //BA.debugLineNum = 32178180;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=32178181; + //BA.debugLineNum = 32178181;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=32178182; + //BA.debugLineNum = 32178182;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=32178183; + //BA.debugLineNum = 32178183;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=32178188; + //BA.debugLineNum = 32178188;BA.debugLine="Options.Initialize"; +__ref._options /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=32178189; + //BA.debugLineNum = 32178189;BA.debugLine="SelectedItems.Initialize"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=32178190; + //BA.debugLineNum = 32178190;BA.debugLine="End Sub"; +return ""; +} +public String _resize(gunav2.keymon.com.mx.b4xlisttemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=32243712; + //BA.debugLineNum = 32243712;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=32243713; + //BA.debugLineNum = 32243713;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=32243714; + //BA.debugLineNum = 32243714;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_height); +RDebugUtils.currentLine=32243715; + //BA.debugLineNum = 32243715;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xloadingindicator.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xloadingindicator.java index 5f4f4e9..92be7bf 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xloadingindicator.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xloadingindicator.java @@ -10,7 +10,7 @@ public class b4xloadingindicator extends B4AClass.ImplB4AClass implements BA.Sub private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xloadingindicator"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xloadingindicator"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xloadingindicator extends B4AClass.ImplB4AClass implements BA.Sub ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -39,282 +46,45 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 38;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 39;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 40;BA.debugLine="End Sub"; +public String _base_resize(gunav2.keymon.com.mx.b4xloadingindicator __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=32833536; + //BA.debugLineNum = 32833536;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=32833537; + //BA.debugLineNum = 32833537;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=32833538; + //BA.debugLineNum = 32833538;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=32833539; + //BA.debugLineNum = 32833539;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 12;BA.debugLine="Private clr As Int"; -_clr = 0; - //BA.debugLineNum = 13;BA.debugLine="Private index As Int"; -_index = 0; - //BA.debugLineNum = 14;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 15;BA.debugLine="Private duration As Int"; -_duration = 0; - //BA.debugLineNum = 16;BA.debugLine="Private DrawingSubName As String"; -_drawingsubname = ""; - //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 18;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -String _style = ""; - //BA.debugLineNum = 26;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 27;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 28;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 28;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 29;BA.debugLine="clr = xui.PaintOrColorToColor(Props.Get(\"Color\""; -_clr = _xui.PaintOrColorToColor(_props.Get((Object)("Color"))); - //BA.debugLineNum = 30;BA.debugLine="Dim style As String= Props.Get(\"IndicatorStyle\")"; -_style = BA.ObjectToString(_props.Get((Object)("IndicatorStyle"))); - //BA.debugLineNum = 31;BA.debugLine="Dim duration As Int = Props.Get(\"Duration\")"; -_duration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); - //BA.debugLineNum = 32;BA.debugLine="DrawingSubName = \"Draw_\" & style.Replace(\" \", \"\")"; -_drawingsubname = "Draw_"+_style.replace(" ",""); - //BA.debugLineNum = 33;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 34;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public String _draw_arc1(float _progress) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -float _r = 0f; - //BA.debugLineNum = 105;BA.debugLine="Private Sub Draw_Arc1 (Progress As Float)"; - //BA.debugLineNum = 106;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 107;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; -_r = (float) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 108;BA.debugLine="If Progress < 0.5 Then"; -if (_progress<0.5) { - //BA.debugLineNum = 109;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); - }else { - //BA.debugLineNum = 111;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (-(1-_progress)*2*360)); - }; - //BA.debugLineNum = 113;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 114;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 115;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public String _draw_arc2(float _progress) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -float _r = 0f; - //BA.debugLineNum = 118;BA.debugLine="Private Sub Draw_Arc2 (Progress As Float)"; - //BA.debugLineNum = 119;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 120;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; -_r = (float) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 121;BA.debugLine="If Progress < 0.5 Then"; -if (_progress<0.5) { - //BA.debugLineNum = 122;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); - }else { - //BA.debugLineNum = 124;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (360-(_progress-0.5)*2*360)); - }; - //BA.debugLineNum = 126;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 127;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 128;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - //BA.debugLineNum = 129;BA.debugLine="End Sub"; -return ""; -} -public String _draw_fivelines1(float _progress) throws Exception{ -int _minr = 0; -int _maxr = 0; -int _dx = 0; -int _i = 0; -float _r = 0f; - //BA.debugLineNum = 95;BA.debugLine="Private Sub Draw_FiveLines1(Progress As Float)"; - //BA.debugLineNum = 96;BA.debugLine="Dim MinR As Int = 10dip"; -_minr = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 97;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Height / 2"; -_maxr = (int) (_cvs.getTargetRect().getHeight()/(double)2); - //BA.debugLineNum = 98;BA.debugLine="Dim dx As Int = (cvs.TargetRect.Width - 2dip) / 5"; -_dx = (int) ((_cvs.getTargetRect().getWidth()-__c.DipToCurrent((int) (2)))/(double)5); - //BA.debugLineNum = 99;BA.debugLine="For i = 0 To 4"; -{ -final int step4 = 1; -final int limit4 = (int) (4); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 100;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; -_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-30*_i)); - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawLine(2dip + i * dx, cvs.TargetRect.Cente"; -_cvs.DrawLine((float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (_cvs.getTargetRect().getCenterY()-_r),(float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (_cvs.getTargetRect().getCenterY()+_r),_clr,(float) (__c.DipToCurrent((int) (4)))); - } -}; - //BA.debugLineNum = 103;BA.debugLine="End Sub"; -return ""; -} -public String _draw_pacman(float _progress) throws Exception{ -int _dotr = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -int _angle = 0; -int _cx = 0; -int _cy = 0; -int _r = 0; - //BA.debugLineNum = 131;BA.debugLine="Private Sub Draw_PacMan(Progress As Float)"; - //BA.debugLineNum = 132;BA.debugLine="Dim DotR As Int = 5dip"; -_dotr = __c.DipToCurrent((int) (5)); - //BA.debugLineNum = 133;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.Width - DotR - Prog"; -_cvs.DrawCircle((float) (_cvs.getTargetRect().getWidth()-_dotr-_progress*(_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (10)))),_cvs.getTargetRect().getCenterY(),(float) (_dotr),_setalpha(_clr,(int) (255-200*_progress)),__c.True,(float) (0)); - //BA.debugLineNum = 134;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 135;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; -_angle = (int) (70*__c.SinD(_progress*180)); - //BA.debugLineNum = 136;BA.debugLine="Dim cx As Int = cvs.TargetRect.CenterX - 5dip"; -_cx = (int) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 137;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; -_cy = (int) (_cvs.getTargetRect().getCenterY()); - //BA.debugLineNum = 138;BA.debugLine="Dim r As Int = cvs.TargetRect.CenterY - 5dip"; -_r = (int) (_cvs.getTargetRect().getCenterY()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 139;BA.debugLine="If angle = 0 Then"; -if (_angle==0) { - //BA.debugLineNum = 140;BA.debugLine="cvs.DrawCircle(cx, cy, r, clr, True, 0)"; -_cvs.DrawCircle((float) (_cx),(float) (_cy),(float) (_r),_clr,__c.True,(float) (0)); - }else { - //BA.debugLineNum = 142;BA.debugLine="p.InitializeArc(cx, cy , r, -angle / 2, -(360-an"; -_p.InitializeArc((float) (_cx),(float) (_cy),(float) (_r),(float) (-_angle/(double)2),(float) (-(360-_angle))); - //BA.debugLineNum = 143;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 144;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 145;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - }; - //BA.debugLineNum = 148;BA.debugLine="End Sub"; -return ""; -} -public String _draw_singlecircle(float _progress) throws Exception{ -int _i = 0; - //BA.debugLineNum = 85;BA.debugLine="Private Sub Draw_SingleCircle(Progress As Float)"; - //BA.debugLineNum = 86;BA.debugLine="For i = 0 To 2"; -{ -final int step1 = 1; -final int limit1 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit1 ;_i = _i + step1 ) { - //BA.debugLineNum = 87;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX, cvs.Targe"; -_cvs.DrawCircle(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),(float) (_cvs.getTargetRect().getCenterX()*_progress),_setalpha(_clr,(int) (255-255*_progress)),__c.True,(float) (0)); - } -}; - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return ""; -} -public String _draw_threecircles1(float _progress) throws Exception{ -float _maxr = 0f; -float _r = 0f; -int _i = 0; -int _alpha = 0; - //BA.debugLineNum = 66;BA.debugLine="Private Sub Draw_ThreeCircles1 (Progress As Float)"; - //BA.debugLineNum = 67;BA.debugLine="Dim MaxR As Float = (cvs.TargetRect.Width / 2 - 2"; -_maxr = (float) ((_cvs.getTargetRect().getWidth()/(double)2-__c.DipToCurrent((int) (20)))/(double)2); - //BA.debugLineNum = 68;BA.debugLine="Dim r As Float = 10dip + MaxR + MaxR * Sin(Progre"; -_r = (float) (__c.DipToCurrent((int) (10))+_maxr+_maxr*__c.Sin(_progress*2*__c.cPI)); - //BA.debugLineNum = 69;BA.debugLine="For i = 0 To 2"; -{ -final int step3 = 1; -final int limit3 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 70;BA.debugLine="Dim alpha As Int = i * 120 + Progress * 360"; -_alpha = (int) (_i*120+_progress*360); - //BA.debugLineNum = 72;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX + r * SinD"; -_cvs.DrawCircle((float) (_cvs.getTargetRect().getCenterX()+_r*__c.SinD(_alpha)),(float) (_cvs.getTargetRect().getCenterY()+_r*__c.CosD(_alpha)),(float) (__c.DipToCurrent((int) (7))),_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); - } -}; - //BA.debugLineNum = 74;BA.debugLine="End Sub"; -return ""; -} -public String _draw_threecircles2(float _progress) throws Exception{ -int _minr = 0; -int _maxr = 0; -int _i = 0; -float _r = 0f; - //BA.debugLineNum = 76;BA.debugLine="Private Sub Draw_ThreeCircles2 (Progress As Float)"; - //BA.debugLineNum = 77;BA.debugLine="Dim MinR As Int = 5dip"; -_minr = __c.DipToCurrent((int) (5)); - //BA.debugLineNum = 78;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Width / 2 / 3 -"; -_maxr = (int) (_cvs.getTargetRect().getWidth()/(double)2/(double)3-_minr-__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 79;BA.debugLine="For i = 0 To 2"; -{ -final int step3 = 1; -final int limit3 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 80;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; -_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-60*_i)); - //BA.debugLineNum = 81;BA.debugLine="cvs.DrawCircle(MaxR + MinR + (MinR + MaxR + 2dip"; -_cvs.DrawCircle((float) (_maxr+_minr+(_minr+_maxr+__c.DipToCurrent((int) (2)))*2*_i),_cvs.getTargetRect().getCenterY(),_r,_clr,__c.True,(float) (0)); - } -}; - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public String _hide() throws Exception{ - //BA.debugLineNum = 61;BA.debugLine="Public Sub Hide"; - //BA.debugLineNum = 62;BA.debugLine="mBase.Visible = False"; -_mbase.setVisible(__c.False); - //BA.debugLineNum = 63;BA.debugLine="index = index + 1"; -_index = (int) (_index+1); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 20;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 21;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 22;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 23;BA.debugLine="End Sub"; -return ""; -} -public void _mainloop() throws Exception{ -ResumableSub_MainLoop rsub = new ResumableSub_MainLoop(this); +public void _mainloop(gunav2.keymon.com.mx.b4xloadingindicator __ref) throws Exception{ +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "mainloop", true)) + {Debug.delegate(ba, "mainloop", null); return;} +ResumableSub_MainLoop rsub = new ResumableSub_MainLoop(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_MainLoop extends BA.ResumableSub { -public ResumableSub_MainLoop(gunav2.keymon.com.mx.b4xloadingindicator parent) { +public ResumableSub_MainLoop(gunav2.keymon.com.mx.b4xloadingindicator parent,gunav2.keymon.com.mx.b4xloadingindicator __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xloadingindicator __ref; gunav2.keymon.com.mx.b4xloadingindicator parent; int _myindex = 0; long _n = 0L; @@ -322,6 +92,7 @@ float _progress = 0f; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xloadingindicator"; while (true) { switch (state) { @@ -331,19 +102,23 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 43;BA.debugLine="index = index + 1"; -parent._index = (int) (parent._index+1); - //BA.debugLineNum = 44;BA.debugLine="Dim MyIndex As Int = index"; -_myindex = parent._index; - //BA.debugLineNum = 45;BA.debugLine="Dim n As Long = DateTime.Now"; +RDebugUtils.currentLine=32899073; + //BA.debugLineNum = 32899073;BA.debugLine="index = index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=32899074; + //BA.debugLineNum = 32899074;BA.debugLine="Dim MyIndex As Int = index"; +_myindex = __ref._index /*int*/ ; +RDebugUtils.currentLine=32899075; + //BA.debugLineNum = 32899075;BA.debugLine="Dim n As Long = DateTime.Now"; _n = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 46;BA.debugLine="Do While MyIndex = index"; +RDebugUtils.currentLine=32899076; + //BA.debugLineNum = 32899076;BA.debugLine="Do While MyIndex = index"; if (true) break; case 1: //do while this.state = 4; -while (_myindex==parent._index) { +while (_myindex==__ref._index /*int*/ ) { this.state = 3; if (true) break; } @@ -352,18 +127,24 @@ if (true) break; case 3: //C this.state = 1; - //BA.debugLineNum = 47;BA.debugLine="Dim progress As Float = (DateTime.Now - n) / dur"; -_progress = (float) ((parent.__c.DateTime.getNow()-_n)/(double)parent._duration); - //BA.debugLineNum = 48;BA.debugLine="progress = progress - Floor(progress)"; +RDebugUtils.currentLine=32899077; + //BA.debugLineNum = 32899077;BA.debugLine="Dim progress As Float = (DateTime.Now - n) / dur"; +_progress = (float) ((parent.__c.DateTime.getNow()-_n)/(double)__ref._duration /*int*/ ); +RDebugUtils.currentLine=32899078; + //BA.debugLineNum = 32899078;BA.debugLine="progress = progress - Floor(progress)"; _progress = (float) (_progress-parent.__c.Floor(_progress)); - //BA.debugLineNum = 49;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -parent._cvs.ClearRect(parent._cvs.getTargetRect()); - //BA.debugLineNum = 50;BA.debugLine="CallSub2(Me, DrawingSubName, progress)"; -parent.__c.CallSubNew2(ba,parent,parent._drawingsubname,(Object)(_progress)); - //BA.debugLineNum = 51;BA.debugLine="cvs.Invalidate"; -parent._cvs.Invalidate(); - //BA.debugLineNum = 52;BA.debugLine="Sleep(10)"; -parent.__c.Sleep(ba,this,(int) (10)); +RDebugUtils.currentLine=32899079; + //BA.debugLineNum = 32899079;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=32899080; + //BA.debugLineNum = 32899080;BA.debugLine="CallSub2(Me, DrawingSubName, progress)"; +parent.__c.CallSubDebug2(ba,parent,__ref._drawingsubname /*String*/ ,(Object)(_progress)); +RDebugUtils.currentLine=32899081; + //BA.debugLineNum = 32899081;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=32899082; + //BA.debugLineNum = 32899082;BA.debugLine="Sleep(10)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xloadingindicator", "mainloop"),(int) (10)); this.state = 5; return; case 5: @@ -376,33 +157,428 @@ case 4: //C this.state = -1; ; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +RDebugUtils.currentLine=32899084; + //BA.debugLineNum = 32899084;BA.debugLine="End Sub"; if (true) break; } } } } -public int _setalpha(int _c,int _alpha) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Private Sub SetAlpha (c As Int, alpha As Int) As I"; - //BA.debugLineNum = 92;BA.debugLine="Return Bit.And(0xffffff, c) + Bit.ShiftLeft(alpha"; -if (true) return (int) (__c.Bit.And(((int)0xffffff),_c)+__c.Bit.ShiftLeft(_alpha,(int) (24))); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return 0; -} -public String _show() throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub Show"; - //BA.debugLineNum = 57;BA.debugLine="mBase.Visible = True"; -_mbase.setVisible(__c.True); - //BA.debugLineNum = 58;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 59;BA.debugLine="End Sub"; +public String _class_globals(gunav2.keymon.com.mx.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +RDebugUtils.currentLine=32636928; + //BA.debugLineNum = 32636928;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=32636929; + //BA.debugLineNum = 32636929;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=32636930; + //BA.debugLineNum = 32636930;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=32636931; + //BA.debugLineNum = 32636931;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=32636932; + //BA.debugLineNum = 32636932;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=32636933; + //BA.debugLineNum = 32636933;BA.debugLine="Private clr As Int"; +_clr = 0; +RDebugUtils.currentLine=32636934; + //BA.debugLineNum = 32636934;BA.debugLine="Private index As Int"; +_index = 0; +RDebugUtils.currentLine=32636935; + //BA.debugLineNum = 32636935;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=32636936; + //BA.debugLineNum = 32636936;BA.debugLine="Private duration As Int"; +_duration = 0; +RDebugUtils.currentLine=32636937; + //BA.debugLineNum = 32636937;BA.debugLine="Private DrawingSubName As String"; +_drawingsubname = ""; +RDebugUtils.currentLine=32636938; + //BA.debugLineNum = 32636938;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=32636939; + //BA.debugLineNum = 32636939;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "SHOW")) - return _show(); -return BA.SubDelegator.SubNotFound; +public String _designercreateview(gunav2.keymon.com.mx.b4xloadingindicator __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +String _style = ""; +RDebugUtils.currentLine=32768000; + //BA.debugLineNum = 32768000;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=32768001; + //BA.debugLineNum = 32768001;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=32768002; + //BA.debugLineNum = 32768002;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=32768002; + //BA.debugLineNum = 32768002;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=32768003; + //BA.debugLineNum = 32768003;BA.debugLine="clr = xui.PaintOrColorToColor(Props.Get(\"Color\""; +__ref._clr /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("Color"))); +RDebugUtils.currentLine=32768004; + //BA.debugLineNum = 32768004;BA.debugLine="Dim style As String= Props.Get(\"IndicatorStyle\")"; +_style = BA.ObjectToString(_props.Get((Object)("IndicatorStyle"))); +RDebugUtils.currentLine=32768005; + //BA.debugLineNum = 32768005;BA.debugLine="Dim duration As Int = Props.Get(\"Duration\")"; +_duration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); +RDebugUtils.currentLine=32768006; + //BA.debugLineNum = 32768006;BA.debugLine="DrawingSubName = \"Draw_\" & style.Replace(\" \", \"\")"; +__ref._drawingsubname /*String*/ = "Draw_"+_style.replace(" ",""); +RDebugUtils.currentLine=32768007; + //BA.debugLineNum = 32768007;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=32768008; + //BA.debugLineNum = 32768008;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=32768009; + //BA.debugLineNum = 32768009;BA.debugLine="End Sub"; +return ""; } +public String _draw_arc1(gunav2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_arc1", true)) + {return ((String) Debug.delegate(ba, "draw_arc1", new Object[] {_progress}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +float _r = 0f; +RDebugUtils.currentLine=33423360; + //BA.debugLineNum = 33423360;BA.debugLine="Private Sub Draw_Arc1 (Progress As Float)"; +RDebugUtils.currentLine=33423361; + //BA.debugLineNum = 33423361;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=33423362; + //BA.debugLineNum = 33423362;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; +_r = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=33423363; + //BA.debugLineNum = 33423363;BA.debugLine="If Progress < 0.5 Then"; +if (_progress<0.5) { +RDebugUtils.currentLine=33423364; + //BA.debugLineNum = 33423364;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +_p.InitializeArc(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); + }else { +RDebugUtils.currentLine=33423366; + //BA.debugLineNum = 33423366;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +_p.InitializeArc(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,(float) (-90),(float) (-(1-_progress)*2*360)); + }; +RDebugUtils.currentLine=33423368; + //BA.debugLineNum = 33423368;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=33423369; + //BA.debugLineNum = 33423369;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect(),__ref._clr /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=33423370; + //BA.debugLineNum = 33423370;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); +RDebugUtils.currentLine=33423371; + //BA.debugLineNum = 33423371;BA.debugLine="End Sub"; +return ""; } +public String _draw_arc2(gunav2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_arc2", true)) + {return ((String) Debug.delegate(ba, "draw_arc2", new Object[] {_progress}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +float _r = 0f; +RDebugUtils.currentLine=33488896; + //BA.debugLineNum = 33488896;BA.debugLine="Private Sub Draw_Arc2 (Progress As Float)"; +RDebugUtils.currentLine=33488897; + //BA.debugLineNum = 33488897;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=33488898; + //BA.debugLineNum = 33488898;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; +_r = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=33488899; + //BA.debugLineNum = 33488899;BA.debugLine="If Progress < 0.5 Then"; +if (_progress<0.5) { +RDebugUtils.currentLine=33488900; + //BA.debugLineNum = 33488900;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +_p.InitializeArc(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); + }else { +RDebugUtils.currentLine=33488902; + //BA.debugLineNum = 33488902;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; +_p.InitializeArc(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,(float) (-90),(float) (360-(_progress-0.5)*2*360)); + }; +RDebugUtils.currentLine=33488904; + //BA.debugLineNum = 33488904;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=33488905; + //BA.debugLineNum = 33488905;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect(),__ref._clr /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=33488906; + //BA.debugLineNum = 33488906;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); +RDebugUtils.currentLine=33488907; + //BA.debugLineNum = 33488907;BA.debugLine="End Sub"; +return ""; +} +public String _draw_fivelines1(gunav2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_fivelines1", true)) + {return ((String) Debug.delegate(ba, "draw_fivelines1", new Object[] {_progress}));} +int _minr = 0; +int _maxr = 0; +int _dx = 0; +int _i = 0; +float _r = 0f; +RDebugUtils.currentLine=33357824; + //BA.debugLineNum = 33357824;BA.debugLine="Private Sub Draw_FiveLines1(Progress As Float)"; +RDebugUtils.currentLine=33357825; + //BA.debugLineNum = 33357825;BA.debugLine="Dim MinR As Int = 10dip"; +_minr = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=33357826; + //BA.debugLineNum = 33357826;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Height / 2"; +_maxr = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()/(double)2); +RDebugUtils.currentLine=33357827; + //BA.debugLineNum = 33357827;BA.debugLine="Dim dx As Int = (cvs.TargetRect.Width - 2dip) / 5"; +_dx = (int) ((__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()-__c.DipToCurrent((int) (2)))/(double)5); +RDebugUtils.currentLine=33357828; + //BA.debugLineNum = 33357828;BA.debugLine="For i = 0 To 4"; +{ +final int step4 = 1; +final int limit4 = (int) (4); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=33357829; + //BA.debugLineNum = 33357829;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; +_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-30*_i)); +RDebugUtils.currentLine=33357830; + //BA.debugLineNum = 33357830;BA.debugLine="cvs.DrawLine(2dip + i * dx, cvs.TargetRect.Cente"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()-_r),(float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()+_r),__ref._clr /*int*/ ,(float) (__c.DipToCurrent((int) (4)))); + } +}; +RDebugUtils.currentLine=33357832; + //BA.debugLineNum = 33357832;BA.debugLine="End Sub"; +return ""; +} +public String _draw_pacman(gunav2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_pacman", true)) + {return ((String) Debug.delegate(ba, "draw_pacman", new Object[] {_progress}));} +int _dotr = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +int _angle = 0; +int _cx = 0; +int _cy = 0; +int _r = 0; +RDebugUtils.currentLine=33554432; + //BA.debugLineNum = 33554432;BA.debugLine="Private Sub Draw_PacMan(Progress As Float)"; +RDebugUtils.currentLine=33554433; + //BA.debugLineNum = 33554433;BA.debugLine="Dim DotR As Int = 5dip"; +_dotr = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=33554434; + //BA.debugLineNum = 33554434;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.Width - DotR - Prog"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()-_dotr-_progress*(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()-__c.DipToCurrent((int) (10)))),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),(float) (_dotr),__ref._setalpha /*int*/ (null,__ref._clr /*int*/ ,(int) (255-200*_progress)),__c.True,(float) (0)); +RDebugUtils.currentLine=33554435; + //BA.debugLineNum = 33554435;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=33554436; + //BA.debugLineNum = 33554436;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; +_angle = (int) (70*__c.SinD(_progress*180)); +RDebugUtils.currentLine=33554437; + //BA.debugLineNum = 33554437;BA.debugLine="Dim cx As Int = cvs.TargetRect.CenterX - 5dip"; +_cx = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=33554438; + //BA.debugLineNum = 33554438;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; +_cy = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()); +RDebugUtils.currentLine=33554439; + //BA.debugLineNum = 33554439;BA.debugLine="Dim r As Int = cvs.TargetRect.CenterY - 5dip"; +_r = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()-__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=33554440; + //BA.debugLineNum = 33554440;BA.debugLine="If angle = 0 Then"; +if (_angle==0) { +RDebugUtils.currentLine=33554441; + //BA.debugLineNum = 33554441;BA.debugLine="cvs.DrawCircle(cx, cy, r, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_cx),(float) (_cy),(float) (_r),__ref._clr /*int*/ ,__c.True,(float) (0)); + }else { +RDebugUtils.currentLine=33554443; + //BA.debugLineNum = 33554443;BA.debugLine="p.InitializeArc(cx, cy , r, -angle / 2, -(360-an"; +_p.InitializeArc((float) (_cx),(float) (_cy),(float) (_r),(float) (-_angle/(double)2),(float) (-(360-_angle))); +RDebugUtils.currentLine=33554444; + //BA.debugLineNum = 33554444;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=33554445; + //BA.debugLineNum = 33554445;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect(),__ref._clr /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=33554446; + //BA.debugLineNum = 33554446;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); + }; +RDebugUtils.currentLine=33554449; + //BA.debugLineNum = 33554449;BA.debugLine="End Sub"; +return ""; +} +public int _setalpha(gunav2.keymon.com.mx.b4xloadingindicator __ref,int _c,int _alpha) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "setalpha", true)) + {return ((Integer) Debug.delegate(ba, "setalpha", new Object[] {_c,_alpha}));} +RDebugUtils.currentLine=33292288; + //BA.debugLineNum = 33292288;BA.debugLine="Private Sub SetAlpha (c As Int, alpha As Int) As I"; +RDebugUtils.currentLine=33292289; + //BA.debugLineNum = 33292289;BA.debugLine="Return Bit.And(0xffffff, c) + Bit.ShiftLeft(alpha"; +if (true) return (int) (__c.Bit.And(((int)0xffffff),_c)+__c.Bit.ShiftLeft(_alpha,(int) (24))); +RDebugUtils.currentLine=33292290; + //BA.debugLineNum = 33292290;BA.debugLine="End Sub"; +return 0; +} +public String _draw_singlecircle(gunav2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_singlecircle", true)) + {return ((String) Debug.delegate(ba, "draw_singlecircle", new Object[] {_progress}));} +int _i = 0; +RDebugUtils.currentLine=33226752; + //BA.debugLineNum = 33226752;BA.debugLine="Private Sub Draw_SingleCircle(Progress As Float)"; +RDebugUtils.currentLine=33226753; + //BA.debugLineNum = 33226753;BA.debugLine="For i = 0 To 2"; +{ +final int step1 = 1; +final int limit1 = (int) (2); +_i = (int) (0) ; +for (;_i <= limit1 ;_i = _i + step1 ) { +RDebugUtils.currentLine=33226754; + //BA.debugLineNum = 33226754;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX, cvs.Targe"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX(),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),(float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()*_progress),__ref._setalpha /*int*/ (null,__ref._clr /*int*/ ,(int) (255-255*_progress)),__c.True,(float) (0)); + } +}; +RDebugUtils.currentLine=33226756; + //BA.debugLineNum = 33226756;BA.debugLine="End Sub"; +return ""; +} +public String _draw_threecircles1(gunav2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_threecircles1", true)) + {return ((String) Debug.delegate(ba, "draw_threecircles1", new Object[] {_progress}));} +float _maxr = 0f; +float _r = 0f; +int _i = 0; +int _alpha = 0; +RDebugUtils.currentLine=33095680; + //BA.debugLineNum = 33095680;BA.debugLine="Private Sub Draw_ThreeCircles1 (Progress As Float)"; +RDebugUtils.currentLine=33095681; + //BA.debugLineNum = 33095681;BA.debugLine="Dim MaxR As Float = (cvs.TargetRect.Width / 2 - 2"; +_maxr = (float) ((__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()/(double)2-__c.DipToCurrent((int) (20)))/(double)2); +RDebugUtils.currentLine=33095682; + //BA.debugLineNum = 33095682;BA.debugLine="Dim r As Float = 10dip + MaxR + MaxR * Sin(Progre"; +_r = (float) (__c.DipToCurrent((int) (10))+_maxr+_maxr*__c.Sin(_progress*2*__c.cPI)); +RDebugUtils.currentLine=33095683; + //BA.debugLineNum = 33095683;BA.debugLine="For i = 0 To 2"; +{ +final int step3 = 1; +final int limit3 = (int) (2); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=33095684; + //BA.debugLineNum = 33095684;BA.debugLine="Dim alpha As Int = i * 120 + Progress * 360"; +_alpha = (int) (_i*120+_progress*360); +RDebugUtils.currentLine=33095686; + //BA.debugLineNum = 33095686;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX + r * SinD"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterX()+_r*__c.SinD(_alpha)),(float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()+_r*__c.CosD(_alpha)),(float) (__c.DipToCurrent((int) (7))),__ref._clr /*int*/ ,__c.True,(float) (__c.DipToCurrent((int) (1)))); + } +}; +RDebugUtils.currentLine=33095688; + //BA.debugLineNum = 33095688;BA.debugLine="End Sub"; +return ""; +} +public String _draw_threecircles2(gunav2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_threecircles2", true)) + {return ((String) Debug.delegate(ba, "draw_threecircles2", new Object[] {_progress}));} +int _minr = 0; +int _maxr = 0; +int _i = 0; +float _r = 0f; +RDebugUtils.currentLine=33161216; + //BA.debugLineNum = 33161216;BA.debugLine="Private Sub Draw_ThreeCircles2 (Progress As Float)"; +RDebugUtils.currentLine=33161217; + //BA.debugLineNum = 33161217;BA.debugLine="Dim MinR As Int = 5dip"; +_minr = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=33161218; + //BA.debugLineNum = 33161218;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Width / 2 / 3 -"; +_maxr = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()/(double)2/(double)3-_minr-__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=33161219; + //BA.debugLineNum = 33161219;BA.debugLine="For i = 0 To 2"; +{ +final int step3 = 1; +final int limit3 = (int) (2); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=33161220; + //BA.debugLineNum = 33161220;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; +_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-60*_i)); +RDebugUtils.currentLine=33161221; + //BA.debugLineNum = 33161221;BA.debugLine="cvs.DrawCircle(MaxR + MinR + (MinR + MaxR + 2dip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_maxr+_minr+(_minr+_maxr+__c.DipToCurrent((int) (2)))*2*_i),__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY(),_r,__ref._clr /*int*/ ,__c.True,(float) (0)); + } +}; +RDebugUtils.currentLine=33161223; + //BA.debugLineNum = 33161223;BA.debugLine="End Sub"; +return ""; +} +public String _hide(gunav2.keymon.com.mx.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "hide", true)) + {return ((String) Debug.delegate(ba, "hide", null));} +RDebugUtils.currentLine=33030144; + //BA.debugLineNum = 33030144;BA.debugLine="Public Sub Hide"; +RDebugUtils.currentLine=33030145; + //BA.debugLineNum = 33030145;BA.debugLine="mBase.Visible = False"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=33030146; + //BA.debugLineNum = 33030146;BA.debugLine="index = index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=33030147; + //BA.debugLineNum = 33030147;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(gunav2.keymon.com.mx.b4xloadingindicator __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=32702464; + //BA.debugLineNum = 32702464;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=32702465; + //BA.debugLineNum = 32702465;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=32702466; + //BA.debugLineNum = 32702466;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=32702467; + //BA.debugLineNum = 32702467;BA.debugLine="End Sub"; +return ""; +} +public String _show(gunav2.keymon.com.mx.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", null));} +RDebugUtils.currentLine=32964608; + //BA.debugLineNum = 32964608;BA.debugLine="Public Sub Show"; +RDebugUtils.currentLine=32964609; + //BA.debugLineNum = 32964609;BA.debugLine="mBase.Visible = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=32964610; + //BA.debugLineNum = 32964610;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=32964611; + //BA.debugLineNum = 32964611;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java index eab2220..8d6668f 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java @@ -10,7 +10,7 @@ public class b4xlongtexttemplate extends B4AClass.ImplB4AClass implements BA.Sub private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xlongtexttemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xlongtexttemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xlongtexttemplate extends B4AClass.ImplB4AClass implements BA.Sub ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public b4a.example3.customlistview _customlistview1 = null; @@ -33,93 +40,137 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; -_customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Public Text As Object"; -_text = new Object(); - //BA.debugLineNum = 6;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 43;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 31;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xlongtexttemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=33816576; + //BA.debugLineNum = 33816576;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=33816577; + //BA.debugLineNum = 33816577;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=33816578; + //BA.debugLineNum = 33816578;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _show(gunav2.keymon.com.mx.b4xlongtexttemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", new Object[] {_dialog}));} +RDebugUtils.currentLine=33882112; + //BA.debugLineNum = 33882112;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +RDebugUtils.currentLine=33882113; + //BA.debugLineNum = 33882113;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=33882114; + //BA.debugLineNum = 33882114;BA.debugLine="CustomListView1.AddTextItem(Text, \"\")"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem(__ref._text /*Object*/ ,(Object)("")); +RDebugUtils.currentLine=33882115; + //BA.debugLineNum = 33882115;BA.debugLine="CustomListView1.GetPanel(0).GetView(0).SetTextAli"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._getpanel((int) (0)).GetView((int) (0)).SetTextAlignment("TOP","LEFT"); +RDebugUtils.currentLine=33882116; + //BA.debugLineNum = 33882116;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,__ref._customlistview1 /*b4a.example3.customlistview*/ ,__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor); +RDebugUtils.currentLine=33882117; + //BA.debugLineNum = 33882117;BA.debugLine="End Sub"; +return ""; +} +public String _dialogclosed(gunav2.keymon.com.mx.b4xlongtexttemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=33947648; + //BA.debugLineNum = 33947648;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=33947650; + //BA.debugLineNum = 33947650;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.b4xlongtexttemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +RDebugUtils.currentLine=33619968; + //BA.debugLineNum = 33619968;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=33619969; + //BA.debugLineNum = 33619969;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=33619970; + //BA.debugLineNum = 33619970;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=33619971; + //BA.debugLineNum = 33619971;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=33619972; + //BA.debugLineNum = 33619972;BA.debugLine="Public Text As Object"; +_text = new Object(); +RDebugUtils.currentLine=33619973; + //BA.debugLineNum = 33619973;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(gunav2.keymon.com.mx.b4xlongtexttemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 9;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 10;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 11;BA.debugLine="mBase.LoadLayout(\"LongTextTemplate\")"; -_mbase.LoadLayout("LongTextTemplate",ba); - //BA.debugLineNum = 12;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 13;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 14;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 15;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 16;BA.debugLine="CustomListView1.sv.Color = 0xFF464646"; -_customlistview1._sv.setColor(((int)0xff464646)); - //BA.debugLineNum = 21;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=33685504; + //BA.debugLineNum = 33685504;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=33685505; + //BA.debugLineNum = 33685505;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=33685506; + //BA.debugLineNum = 33685506;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); +RDebugUtils.currentLine=33685507; + //BA.debugLineNum = 33685507;BA.debugLine="mBase.LoadLayout(\"LongTextTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("LongTextTemplate",ba); +RDebugUtils.currentLine=33685508; + //BA.debugLineNum = 33685508;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=33685509; + //BA.debugLineNum = 33685509;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=33685510; + //BA.debugLineNum = 33685510;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=33685511; + //BA.debugLineNum = 33685511;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=33685512; + //BA.debugLineNum = 33685512;BA.debugLine="CustomListView1.sv.Color = 0xFF464646"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.setColor(((int)0xff464646)); +RDebugUtils.currentLine=33685517; + //BA.debugLineNum = 33685517;BA.debugLine="End Sub"; return ""; } -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 23;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 24;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 25;BA.debugLine="CustomListView1.AsView.SetLayoutAnimated(0, 0, 0,"; -_customlistview1._asview().SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 26;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; -_customlistview1._base_resize(_width,_height); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +public String _resize(gunav2.keymon.com.mx.b4xlongtexttemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=33751040; + //BA.debugLineNum = 33751040;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=33751041; + //BA.debugLineNum = 33751041;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=33751042; + //BA.debugLineNum = 33751042;BA.debugLine="CustomListView1.AsView.SetLayoutAnimated(0, 0, 0,"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._asview().SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=33751043; + //BA.debugLineNum = 33751043;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_height); +RDebugUtils.currentLine=33751044; + //BA.debugLineNum = 33751044;BA.debugLine="End Sub"; return ""; } -public String _show(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; - //BA.debugLineNum = 35;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 36;BA.debugLine="CustomListView1.AddTextItem(Text, \"\")"; -_customlistview1._addtextitem(_text,(Object)("")); - //BA.debugLineNum = 37;BA.debugLine="CustomListView1.GetPanel(0).GetView(0).SetTextAli"; -_customlistview1._getpanel((int) (0)).GetView((int) (0)).SetTextAlignment("TOP","LEFT"); - //BA.debugLineNum = 38;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_customlistview1._defaulttextbackgroundcolor); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((gunav2.keymon.com.mx.b4xdialog) args[0]); -if (BA.fastSubCompare(sub, "SHOW")) - return _show((gunav2.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xmainpage.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xmainpage.java index 5a862ff..030cfc5 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xmainpage.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xmainpage.java @@ -10,7 +10,7 @@ public class b4xmainpage extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xmainpage"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xmainpage"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xmainpage extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public gunav2.keymon.com.mx.b4xmainpage _login = null; @@ -40,6 +47,8 @@ public gunav2.keymon.com.mx.c_nota _nota = null; public gunav2.keymon.com.mx.c_pedidos _pedidos = null; public gunav2.keymon.com.mx.c_promos _promos = null; public gunav2.keymon.com.mx.c_historico _historico = null; +public gunav2.keymon.com.mx.c_clientescompletos _clientes_completos = null; +public gunav2.keymon.com.mx.v_tclientes _tclientes = null; public gunav2.keymon.com.mx.c_historicobat _historicobat = null; public gunav2.keymon.com.mx.dbrequestmanager _reqmanager = null; public String _v = ""; @@ -110,97 +119,155 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b_aceptar_click() throws Exception{ +public String _b_aceptar_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_aceptar_click", false)) + {return ((String) Debug.delegate(ba, "b_aceptar_click", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; String _rutades = ""; String _almacendes = ""; - //BA.debugLineNum = 981;BA.debugLine="Private Sub b_aceptar_Click"; - //BA.debugLineNum = 982;BA.debugLine="If et_codigo.Text <> \"\" Then"; -if ((_et_codigo.getText()).equals("") == false) { - //BA.debugLineNum = 983;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select di"; +RDebugUtils.currentLine=2883584; + //BA.debugLineNum = 2883584;BA.debugLine="Private Sub b_aceptar_Click"; +RDebugUtils.currentLine=2883585; + //BA.debugLineNum = 2883585;BA.debugLine="If et_codigo.Text <> \"\" Then"; +if ((__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=2883586; + //BA.debugLineNum = 2883586;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select di"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); - //BA.debugLineNum = 984;BA.debugLine="c2.Position = 0"; +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); +RDebugUtils.currentLine=2883587; + //BA.debugLineNum = 2883587;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 985;BA.debugLine="Private rutades As String = c2.GetString(\"CAT_CL"; +RDebugUtils.currentLine=2883588; + //BA.debugLineNum = 2883588;BA.debugLine="Private rutades As String = c2.GetString(\"CAT_CL"; _rutades = _c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 986;BA.debugLine="c2.Close"; +RDebugUtils.currentLine=2883589; + //BA.debugLineNum = 2883589;BA.debugLine="c2.Close"; _c2.Close(); - //BA.debugLineNum = 987;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT ID"; +RDebugUtils.currentLine=2883590; + //BA.debugLineNum = 2883590;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT ID"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); - //BA.debugLineNum = 988;BA.debugLine="c2.Position = 0"; +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); +RDebugUtils.currentLine=2883591; + //BA.debugLineNum = 2883591;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 989;BA.debugLine="Private almacendes As String = c2.GetString(\"ID_"; +RDebugUtils.currentLine=2883592; + //BA.debugLineNum = 2883592;BA.debugLine="Private almacendes As String = c2.GetString(\"ID_"; _almacendes = _c2.GetString("ID_ALMACEN"); - //BA.debugLineNum = 990;BA.debugLine="c2.Close"; +RDebugUtils.currentLine=2883593; + //BA.debugLineNum = 2883593;BA.debugLine="c2.Close"; _c2.Close(); - //BA.debugLineNum = 991;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=2883594; + //BA.debugLineNum = 2883594;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 992;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 993;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\""; -_cmd.Name /*String*/ = "select_geoPass_GUNA"; - //BA.debugLineNum = 994;BA.debugLine="cmd.Parameters = Array As Object(et_codigo.Text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_et_codigo.getText()),(Object)(_almacendes),(Object)(_rutades)}; - //BA.debugLineNum = 995;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"geopass\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("geopass")); - }else if((_et_codigo.getText()).equals("")) { - //BA.debugLineNum = 997;BA.debugLine="MsgboxAsync(\"Ingresa un codigo\",\"Atención\")"; +RDebugUtils.currentLine=2883595; + //BA.debugLineNum = 2883595;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=2883596; + //BA.debugLineNum = 2883596;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_geoPass_GUNA"; +RDebugUtils.currentLine=2883597; + //BA.debugLineNum = 2883597;BA.debugLine="cmd.Parameters = Array As Object(et_codigo.Text,"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_almacendes),(Object)(_rutades)}; +RDebugUtils.currentLine=2883598; + //BA.debugLineNum = 2883598;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"geopass\")"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("geopass")); + }else +{RDebugUtils.currentLine=2883599; + //BA.debugLineNum = 2883599;BA.debugLine="Else If et_codigo.Text = \"\" Then"; +if ((__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=2883600; + //BA.debugLineNum = 2883600;BA.debugLine="MsgboxAsync(\"Ingresa un codigo\",\"Atención\")"; __c.MsgboxAsync(BA.ObjectToCharSequence("Ingresa un codigo"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 998;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 999;BA.debugLine="B4XSwitch2.Value = False"; -_b4xswitch2._setvalue /*boolean*/ (__c.False); - //BA.debugLineNum = 1000;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO ="; -_skmt.ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); - //BA.debugLineNum = 1001;BA.debugLine="et_codigo.Text = \"\""; -_et_codigo.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 1029;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2883601; + //BA.debugLineNum = 2883601;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=2883602; + //BA.debugLineNum = 2883602;BA.debugLine="B4XSwitch2.Value = False"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.False); +RDebugUtils.currentLine=2883603; + //BA.debugLineNum = 2883603;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO ="; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); +RDebugUtils.currentLine=2883604; + //BA.debugLineNum = 2883604;BA.debugLine="et_codigo.Text = \"\""; +__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }} +; +RDebugUtils.currentLine=2883632; + //BA.debugLineNum = 2883632;BA.debugLine="End Sub"; return ""; } -public String _b_actualizacion_click() throws Exception{ - //BA.debugLineNum = 1114;BA.debugLine="Private Sub b_actualizacion_Click"; - //BA.debugLineNum = 1115;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +public String _b_actualizacion_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_actualizacion_click", false)) + {return ((String) Debug.delegate(ba, "b_actualizacion_click", null));} +RDebugUtils.currentLine=3145728; + //BA.debugLineNum = 3145728;BA.debugLine="Private Sub b_actualizacion_Click"; +RDebugUtils.currentLine=3145729; + //BA.debugLineNum = 3145729;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; __c.CallSubDelayed(ba,(Object)(_appupdater.getObject()),"download_newApk"); - //BA.debugLineNum = 1116;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3145730; + //BA.debugLineNum = 3145730;BA.debugLine="End Sub"; return ""; } -public String _b_apk_click() throws Exception{ - //BA.debugLineNum = 857;BA.debugLine="Sub b_apk_Click"; - //BA.debugLineNum = 858;BA.debugLine="StartService(appUpdater)"; +public String _b_apk_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_apk_click", false)) + {return ((String) Debug.delegate(ba, "b_apk_click", null));} +RDebugUtils.currentLine=2162688; + //BA.debugLineNum = 2162688;BA.debugLine="Sub b_apk_Click"; +RDebugUtils.currentLine=2162689; + //BA.debugLineNum = 2162689;BA.debugLine="StartService(appUpdater)"; __c.StartService(ba,(Object)(_appupdater.getObject())); - //BA.debugLineNum = 859;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2162690; + //BA.debugLineNum = 2162690;BA.debugLine="End Sub"; return ""; } -public String _b_cancelarcodigo_click() throws Exception{ - //BA.debugLineNum = 975;BA.debugLine="Private Sub b_cancelarcodigo_Click"; - //BA.debugLineNum = 976;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 977;BA.debugLine="et_codigo.Text = \"\""; -_et_codigo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 978;BA.debugLine="B4XSwitch2.Value = False"; -_b4xswitch2._setvalue /*boolean*/ (__c.False); - //BA.debugLineNum = 979;BA.debugLine="End Sub"; +public String _b_cancelarcodigo_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_cancelarcodigo_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelarcodigo_click", null));} +RDebugUtils.currentLine=2818048; + //BA.debugLineNum = 2818048;BA.debugLine="Private Sub b_cancelarcodigo_Click"; +RDebugUtils.currentLine=2818049; + //BA.debugLineNum = 2818049;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=2818050; + //BA.debugLineNum = 2818050;BA.debugLine="et_codigo.Text = \"\""; +__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=2818051; + //BA.debugLineNum = 2818051;BA.debugLine="B4XSwitch2.Value = False"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.False); +RDebugUtils.currentLine=2818052; + //BA.debugLineNum = 2818052;BA.debugLine="End Sub"; return ""; } -public void _b_enviobd_click() throws Exception{ -ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(this); +public void _b_enviobd_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_enviobd_click", false)) + {Debug.delegate(ba, "b_enviobd_click", null); return;} +ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_b_envioBD_Click extends BA.ResumableSub { -public ResumableSub_b_envioBD_Click(gunav2.keymon.com.mx.b4xmainpage parent) { +public ResumableSub_b_envioBD_Click(gunav2.keymon.com.mx.b4xmainpage parent,gunav2.keymon.com.mx.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xmainpage __ref; gunav2.keymon.com.mx.b4xmainpage parent; String _filename = ""; anywheresoftware.b4a.phone.Phone.Email _email = null; @@ -208,6 +275,7 @@ anywheresoftware.b4a.objects.IntentWrapper _in = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { switch (state) { @@ -217,72 +285,108 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 923;BA.debugLine="Dim FileName As String = \"kmt.db\""; +RDebugUtils.currentLine=2555907; + //BA.debugLineNum = 2555907;BA.debugLine="Dim FileName As String = \"kmt.db\""; _filename = "kmt.db"; - //BA.debugLineNum = 925;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; -parent.__c.LogImpl("439124997","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0); - //BA.debugLineNum = 926;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=2555909; + //BA.debugLineNum = 2555909;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; +parent.__c.LogImpl("02555909","xxxxxx:"+__ref._provider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,0); +RDebugUtils.currentLine=2555910; + //BA.debugLineNum = 2555910;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_enviobd_click"),(int) (1000)); this.state = 1; return; case 1: //C this.state = -1; ; - //BA.debugLineNum = 927;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; -parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,parent._provider._sharedfolder /*String*/ ,_filename); - //BA.debugLineNum = 928;BA.debugLine="Dim email As Email"; +RDebugUtils.currentLine=2555911; + //BA.debugLineNum = 2555911;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; +parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,__ref._provider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,_filename); +RDebugUtils.currentLine=2555912; + //BA.debugLineNum = 2555912;BA.debugLine="Dim email As Email"; _email = new anywheresoftware.b4a.phone.Phone.Email(); - //BA.debugLineNum = 929;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")"; +RDebugUtils.currentLine=2555913; + //BA.debugLineNum = 2555913;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")"; _email.To.Add((Object)("cheveguerra@gmail.com")); - //BA.debugLineNum = 930;BA.debugLine="email.Subject = \"subject\""; +RDebugUtils.currentLine=2555914; + //BA.debugLineNum = 2555914;BA.debugLine="email.Subject = \"subject\""; _email.Subject = "subject"; - //BA.debugLineNum = 931;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; -_email.Attachments.Add(parent._provider._getfileuri /*Object*/ (_filename)); - //BA.debugLineNum = 933;BA.debugLine="Dim in As Intent = email.GetIntent"; +RDebugUtils.currentLine=2555915; + //BA.debugLineNum = 2555915;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; +_email.Attachments.Add(__ref._provider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (null,_filename)); +RDebugUtils.currentLine=2555917; + //BA.debugLineNum = 2555917;BA.debugLine="Dim in As Intent = email.GetIntent"; _in = new anywheresoftware.b4a.objects.IntentWrapper(); _in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent())); - //BA.debugLineNum = 934;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +RDebugUtils.currentLine=2555918; + //BA.debugLineNum = 2555918;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; _in.setFlags((int) (1)); - //BA.debugLineNum = 935;BA.debugLine="StartActivity(in)"; +RDebugUtils.currentLine=2555919; + //BA.debugLineNum = 2555919;BA.debugLine="StartActivity(in)"; parent.__c.StartActivity(ba,(Object)(_in.getObject())); - //BA.debugLineNum = 936;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2555920; + //BA.debugLineNum = 2555920;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b_menu_click() throws Exception{ - //BA.debugLineNum = 794;BA.debugLine="Sub b_menu_Click"; - //BA.debugLineNum = 795;BA.debugLine="PopupMenu.Show"; -_popupmenu.Show(); - //BA.debugLineNum = 796;BA.debugLine="End Sub"; +public String _b_menu_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_menu_click", false)) + {return ((String) Debug.delegate(ba, "b_menu_click", null));} +RDebugUtils.currentLine=1900544; + //BA.debugLineNum = 1900544;BA.debugLine="Sub b_menu_Click"; +RDebugUtils.currentLine=1900545; + //BA.debugLineNum = 1900545;BA.debugLine="PopupMenu.Show"; +__ref._popupmenu /*com.rootsoft.rspopupmenu.RSPopupMenu*/ .Show(); +RDebugUtils.currentLine=1900546; + //BA.debugLineNum = 1900546;BA.debugLine="End Sub"; return ""; } -public String _b_regesar_click() throws Exception{ - //BA.debugLineNum = 896;BA.debugLine="Sub b_regesar_Click"; - //BA.debugLineNum = 898;BA.debugLine="p_appUpdate.Visible = False"; -_p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 899;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer")})); - //BA.debugLineNum = 900;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer"),(Object)(_et_server.getText())})); - //BA.debugLineNum = 901;BA.debugLine="Starter.server = et_server.Text"; -_starter._server /*String*/ = _et_server.getText(); - //BA.debugLineNum = 902;BA.debugLine="Starter.reqManager.Initialize(Me, et_server.Text)"; -_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,this,_et_server.getText()); - //BA.debugLineNum = 903;BA.debugLine="End Sub"; +public String _b_regesar_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_regesar_click", false)) + {return ((String) Debug.delegate(ba, "b_regesar_click", null));} +RDebugUtils.currentLine=2424832; + //BA.debugLineNum = 2424832;BA.debugLine="Sub b_regesar_Click"; +RDebugUtils.currentLine=2424834; + //BA.debugLineNum = 2424834;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=2424835; + //BA.debugLineNum = 2424835;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer")})); +RDebugUtils.currentLine=2424836; + //BA.debugLineNum = 2424836;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer"),(Object)(__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=2424837; + //BA.debugLineNum = 2424837;BA.debugLine="Starter.server = et_server.Text"; +_starter._server /*String*/ = __ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=2424838; + //BA.debugLineNum = 2424838;BA.debugLine="Starter.reqManager.Initialize(Me, et_server.Text)"; +_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()); +RDebugUtils.currentLine=2424839; + //BA.debugLineNum = 2424839;BA.debugLine="End Sub"; return ""; } -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); +public void _b4xpage_appear(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.b4xmainpage parent) { +public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.b4xmainpage parent,gunav2.keymon.com.mx.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xmainpage __ref; gunav2.keymon.com.mx.b4xmainpage parent; anywheresoftware.b4a.phone.Phone _ph = null; String _deviceid = ""; @@ -293,6 +397,7 @@ String _stime = ""; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { switch (state) { @@ -302,15 +407,17 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 320;BA.debugLine="cb_importarBDWA.Checked = Subs.traeUsarIntentBDWA"; -parent._cb_importarbdwa.setChecked(parent._subs._traeusarintentbdwa /*boolean*/ (ba)); - //BA.debugLineNum = 321;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then"; +RDebugUtils.currentLine=1310729; + //BA.debugLineNum = 1310729;BA.debugLine="cb_importarBDWA.Checked = Subs.traeUsarIntentBDWA"; +__ref._cb_importarbdwa /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent._subs._traeusarintentbdwa /*boolean*/ (ba)); +RDebugUtils.currentLine=1310730; + //BA.debugLineNum = 1310730;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then"; if (true) break; case 1: //if this.state = 6; -if ((parent._user.getText().trim()).equals("KMTS1")) { +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()).equals("KMTS1")) { this.state = 3; }else { this.state = 5; @@ -319,24 +426,28 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 322;BA.debugLine="p_importarBDWA.Visible = True"; -parent._p_importarbdwa.setVisible(parent.__c.True); +RDebugUtils.currentLine=1310731; + //BA.debugLineNum = 1310731;BA.debugLine="p_importarBDWA.Visible = True"; +__ref._p_importarbdwa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 324;BA.debugLine="p_importarBDWA.Visible = False"; -parent._p_importarbdwa.setVisible(parent.__c.False); +RDebugUtils.currentLine=1310733; + //BA.debugLineNum = 1310733;BA.debugLine="p_importarBDWA.Visible = False"; +__ref._p_importarbdwa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); if (true) break; case 6: //C this.state = 7; ; - //BA.debugLineNum = 326;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; -parent._reqmanager._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ ); - //BA.debugLineNum = 327;BA.debugLine="If Starter.muestraProgreso = 1 Then"; +RDebugUtils.currentLine=1310735; + //BA.debugLineNum = 1310735;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._server /*String*/ ); +RDebugUtils.currentLine=1310736; + //BA.debugLineNum = 1310736;BA.debugLine="If Starter.muestraProgreso = 1 Then"; if (true) break; case 7: @@ -349,9 +460,11 @@ this.state = 9; case 9: //C this.state = 10; - //BA.debugLineNum = 328;BA.debugLine="muestraProgreso(\"Descargando nueva versión, un m"; -parent._muestraprogreso("Descargando nueva versión, un momento por favor."); - //BA.debugLineNum = 329;BA.debugLine="Starter.muestraProgreso = 0"; +RDebugUtils.currentLine=1310737; + //BA.debugLineNum = 1310737;BA.debugLine="muestraProgreso(\"Descargando nueva versión, un m"; +__ref._muestraprogreso /*String*/ (null,"Descargando nueva versión, un momento por favor."); +RDebugUtils.currentLine=1310738; + //BA.debugLineNum = 1310738;BA.debugLine="Starter.muestraProgreso = 0"; parent._starter._muestraprogreso /*String*/ = BA.NumberToString(0); if (true) break; @@ -359,25 +472,31 @@ case 10: //C this.state = 11; ; - //BA.debugLineNum = 331;BA.debugLine="Dim ph As Phone 'Get Id Device"; +RDebugUtils.currentLine=1310740; + //BA.debugLineNum = 1310740;BA.debugLine="Dim ph As Phone 'Get Id Device"; _ph = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 332;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_"; +RDebugUtils.currentLine=1310741; + //BA.debugLineNum = 1310741;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_"; _deviceid = _ph.GetSettings("android_id").toUpperCase(); - //BA.debugLineNum = 334;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr"; -parent.__c.LogImpl("437879831","Revisa permisos Phone_State",parent.__c.Colors.Green); - //BA.debugLineNum = 335;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=1310743; + //BA.debugLineNum = 1310743;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr"; +parent.__c.LogImpl("01310743","Revisa permisos Phone_State",parent.__c.Colors.Green); +RDebugUtils.currentLine=1310744; + //BA.debugLineNum = 1310744;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_READ_PHONE_STATE); - //BA.debugLineNum = 336;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=1310745; + //BA.debugLineNum = 1310745;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_appear"), null); this.state = 63; return; case 63: //C this.state = 11; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 337;BA.debugLine="If Result Then"; +RDebugUtils.currentLine=1310746; + //BA.debugLineNum = 1310746;BA.debugLine="If Result Then"; if (true) break; case 11: @@ -390,31 +509,37 @@ this.state = 13; case 13: //C this.state = 14; - //BA.debugLineNum = 338;BA.debugLine="IMEN.Text =\"\""; -parent._imen.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 339;BA.debugLine="IMEI = \"\""; -parent._imei = ""; - //BA.debugLineNum = 341;BA.debugLine="IMEI=\"\" 'Pruebas"; -parent._imei = ""; +RDebugUtils.currentLine=1310747; + //BA.debugLineNum = 1310747;BA.debugLine="IMEN.Text =\"\""; +__ref._imen /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=1310748; + //BA.debugLineNum = 1310748;BA.debugLine="IMEI = \"\""; +__ref._imei /*String*/ = ""; +RDebugUtils.currentLine=1310750; + //BA.debugLineNum = 1310750;BA.debugLine="IMEI=\"\" 'Pruebas"; +__ref._imei /*String*/ = ""; if (true) break; case 14: //C this.state = 15; ; - //BA.debugLineNum = 343;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=1310752; + //BA.debugLineNum = 1310752;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 344;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=1310753; + //BA.debugLineNum = 1310753;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_appear"), null); this.state = 64; return; case 64: //C this.state = 15; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 345;BA.debugLine="If Result Then"; +RDebugUtils.currentLine=1310754; + //BA.debugLineNum = 1310754;BA.debugLine="If Result Then"; if (true) break; case 15: @@ -429,16 +554,19 @@ this.state = 19; case 17: //C this.state = 20; - //BA.debugLineNum = 346;BA.debugLine="StartService(Tracker)"; +RDebugUtils.currentLine=1310755; + //BA.debugLineNum = 1310755;BA.debugLine="StartService(Tracker)"; parent.__c.StartService(ba,(Object)(parent._tracker.getObject())); - //BA.debugLineNum = 347;BA.debugLine="Log(\"Start Tracker\")"; -parent.__c.LogImpl("437879844","Start Tracker",0); +RDebugUtils.currentLine=1310756; + //BA.debugLineNum = 1310756;BA.debugLine="Log(\"Start Tracker\")"; +parent.__c.LogImpl("01310756","Start Tracker",0); if (true) break; case 19: //C this.state = 20; - //BA.debugLineNum = 349;BA.debugLine="ToastMessageShow(\"Sin permisos de ubicacion\", Tr"; +RDebugUtils.currentLine=1310758; + //BA.debugLineNum = 1310758;BA.debugLine="ToastMessageShow(\"Sin permisos de ubicacion\", Tr"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de ubicacion"),parent.__c.True); if (true) break; @@ -446,11 +574,14 @@ case 20: //C this.state = 21; ; - //BA.debugLineNum = 351;BA.debugLine="server = Starter.server"; -parent._server = parent._starter._server /*String*/ ; - //BA.debugLineNum = 352;BA.debugLine="tgl.Initialize()"; -parent._tgl.Initialize(ba); - //BA.debugLineNum = 353;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +RDebugUtils.currentLine=1310760; + //BA.debugLineNum = 1310760;BA.debugLine="server = Starter.server"; +__ref._server /*String*/ = parent._starter._server /*String*/ ; +RDebugUtils.currentLine=1310761; + //BA.debugLineNum = 1310761;BA.debugLine="tgl.Initialize()"; +__ref._tgl /*com.rootsoft.togglelibrary.ToggleLibrary*/ .Initialize(ba); +RDebugUtils.currentLine=1310762; + //BA.debugLineNum = 1310762;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; if (true) break; case 21: @@ -463,17 +594,20 @@ this.state = 23; case 23: //C this.state = 24; - //BA.debugLineNum = 354;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +RDebugUtils.currentLine=1310763; + //BA.debugLineNum = 1310763;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),parent.__c.True); - //BA.debugLineNum = 355;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); +RDebugUtils.currentLine=1310764; + //BA.debugLineNum = 1310764;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_appear"),(int) (500)); this.state = 65; return; case 65: //C this.state = 24; ; - //BA.debugLineNum = 356;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +RDebugUtils.currentLine=1310765; + //BA.debugLineNum = 1310765;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; parent.__c.StartActivity(ba,(Object)(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); if (true) break; @@ -481,17 +615,20 @@ case 24: //C this.state = 25; ; - //BA.debugLineNum = 358;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); - //BA.debugLineNum = 359;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 360;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +RDebugUtils.currentLine=1310767; + //BA.debugLineNum = 1310767;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); +RDebugUtils.currentLine=1310768; + //BA.debugLineNum = 1310768;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1310769; + //BA.debugLineNum = 1310769;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; if (true) break; case 25: //if this.state = 34; -if ((parent._c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { this.state = 27; }else { this.state = 29; @@ -500,53 +637,68 @@ this.state = 29; case 27: //C this.state = 34; - //BA.debugLineNum = 361;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\""; -parent.__c.LogImpl("437879858",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Red); - //BA.debugLineNum = 362;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 363;BA.debugLine="cmd.Name = \"select_fecha\""; -parent._cmd.Name /*String*/ = "select_fecha"; - //BA.debugLineNum = 364;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; -parent._reqmanager._executequery /*String*/ (parent._cmd,(int) (0),(Object)("fecha")); - //BA.debugLineNum = 365;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore"; +RDebugUtils.currentLine=1310770; + //BA.debugLineNum = 1310770;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\""; +parent.__c.LogImpl("01310770",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))+""),parent.__c.Colors.Red); +RDebugUtils.currentLine=1310771; + //BA.debugLineNum = 1310771;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1310772; + //BA.debugLineNum = 1310772;BA.debugLine="cmd.Name = \"select_fecha\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_fecha"; +RDebugUtils.currentLine=1310773; + //BA.debugLineNum = 1310773;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("fecha")); +RDebugUtils.currentLine=1310774; + //BA.debugLineNum = 1310774;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore"; parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR FECHA"),BA.ObjectToCharSequence("AVISO"),ba); - //BA.debugLineNum = 366;BA.debugLine="B4XPage_Appear"; -parent._b4xpage_appear(); +RDebugUtils.currentLine=1310775; + //BA.debugLineNum = 1310775;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); if (true) break; case 29: //C this.state = 30; - //BA.debugLineNum = 368;BA.debugLine="LogColor($\"Si hay fecha: ${c.GetString(\"CUANTOS\""; -parent.__c.LogImpl("437879865",("Si hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Green); - //BA.debugLineNum = 369;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); - //BA.debugLineNum = 370;BA.debugLine="c.Position =0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 371;BA.debugLine="Dim sDate, sTime As String"; +RDebugUtils.currentLine=1310777; + //BA.debugLineNum = 1310777;BA.debugLine="LogColor($\"Si hay fecha: ${c.GetString(\"CUANTOS\""; +parent.__c.LogImpl("01310777",("Si hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))+""),parent.__c.Colors.Green); +RDebugUtils.currentLine=1310778; + //BA.debugLineNum = 1310778;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); +RDebugUtils.currentLine=1310779; + //BA.debugLineNum = 1310779;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1310780; + //BA.debugLineNum = 1310780;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 372;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +RDebugUtils.currentLine=1310781; + //BA.debugLineNum = 1310781;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; parent.__c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 373;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +RDebugUtils.currentLine=1310782; + //BA.debugLineNum = 1310782;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 378;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; +RDebugUtils.currentLine=1310787; + //BA.debugLineNum = 1310787;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; if (true) break; case 30: //if this.state = 33; -if ((double)(Double.parseDouble(parent._c.GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble(_sdate))) { +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble(_sdate))) { this.state = 32; }if (true) break; case 32: //C this.state = 33; - //BA.debugLineNum = 379;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; +RDebugUtils.currentLine=1310788; + //BA.debugLineNum = 1310788;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA"),BA.ObjectToCharSequence("AVISO"),ba); - //BA.debugLineNum = 380;BA.debugLine="B4XPage_Appear"; -parent._b4xpage_appear(); +RDebugUtils.currentLine=1310789; + //BA.debugLineNum = 1310789;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); if (true) break; case 33: @@ -559,23 +711,29 @@ case 34: //C this.state = 35; ; - //BA.debugLineNum = 383;BA.debugLine="bu.Initialize"; -parent._bu._initialize /*String*/ (ba); - //BA.debugLineNum = 384;BA.debugLine="batterystatus = bu.BatteryInformation"; -parent._batterystatus = parent._bu._getbatteryinformation /*int[]*/ (); - //BA.debugLineNum = 386;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; +RDebugUtils.currentLine=1310792; + //BA.debugLineNum = 1310792;BA.debugLine="bu.Initialize"; +__ref._bu /*gunav2.keymon.com.mx.batteryutilities*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=1310793; + //BA.debugLineNum = 1310793;BA.debugLine="batterystatus = bu.BatteryInformation"; +__ref._batterystatus /*int[]*/ = __ref._bu /*gunav2.keymon.com.mx.batteryutilities*/ ._getbatteryinformation /*int[]*/ (null); +RDebugUtils.currentLine=1310795; + //BA.debugLineNum = 1310795;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; parent.__c.CallSubDelayed(ba,(Object)(parent._firebasemessaging.getObject()),"SubscribeToTopics"); - //BA.debugLineNum = 387;BA.debugLine="dameUsuario"; -parent._dameusuario(); - //BA.debugLineNum = 388;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT HABILITADA FROM IMPRESORA"))); - //BA.debugLineNum = 389;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=1310796; + //BA.debugLineNum = 1310796;BA.debugLine="dameUsuario"; +__ref._dameusuario /*String*/ (null); +RDebugUtils.currentLine=1310797; + //BA.debugLineNum = 1310797;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADA FROM IMPRESORA"))); +RDebugUtils.currentLine=1310798; + //BA.debugLineNum = 1310798;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 35: //if this.state = 46; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 37; }else { this.state = 45; @@ -584,32 +742,40 @@ this.state = 45; case 37: //C this.state = 38; - //BA.debugLineNum = 390;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 391;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; +RDebugUtils.currentLine=1310799; + //BA.debugLineNum = 1310799;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1310800; + //BA.debugLineNum = 1310800;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; if (true) break; case 38: //if this.state = 43; -if ((parent._c.GetString("HABILITADA")).equals(BA.NumberToString(1))) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADA")).equals(BA.NumberToString(1))) { this.state = 40; -}else if((parent._c.GetString("HABILITADA")).equals(BA.NumberToString(0))) { +}else +{RDebugUtils.currentLine=1310802; + //BA.debugLineNum = 1310802;BA.debugLine="Else If c.GetString(\"HABILITADA\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADA")).equals(BA.NumberToString(0))) { this.state = 42; -}if (true) break; +}} +if (true) break; case 40: //C this.state = 43; - //BA.debugLineNum = 392;BA.debugLine="B4XSwitch1.Value = True"; -parent._b4xswitch1._setvalue /*boolean*/ (parent.__c.True); +RDebugUtils.currentLine=1310801; + //BA.debugLineNum = 1310801;BA.debugLine="B4XSwitch1.Value = True"; +__ref._b4xswitch1 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,parent.__c.True); if (true) break; case 42: //C this.state = 43; - //BA.debugLineNum = 394;BA.debugLine="B4XSwitch1.Value = False"; -parent._b4xswitch1._setvalue /*boolean*/ (parent.__c.False); +RDebugUtils.currentLine=1310803; + //BA.debugLineNum = 1310803;BA.debugLine="B4XSwitch1.Value = False"; +__ref._b4xswitch1 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,parent.__c.False); if (true) break; case 43: @@ -621,46 +787,52 @@ this.state = 46; case 45: //C this.state = 46; - //BA.debugLineNum = 397;BA.debugLine="B4XSwitch1.Value = False"; -parent._b4xswitch1._setvalue /*boolean*/ (parent.__c.False); +RDebugUtils.currentLine=1310806; + //BA.debugLineNum = 1310806;BA.debugLine="B4XSwitch1.Value = False"; +__ref._b4xswitch1 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,parent.__c.False); if (true) break; case 46: //C this.state = 47; ; - //BA.debugLineNum = 399;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT HABILITADO FROM GPS"))); - //BA.debugLineNum = 400;BA.debugLine="If c.RowCount = 0 Then"; +RDebugUtils.currentLine=1310808; + //BA.debugLineNum = 1310808;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADO FROM GPS"))); +RDebugUtils.currentLine=1310809; + //BA.debugLineNum = 1310809;BA.debugLine="If c.RowCount = 0 Then"; if (true) break; case 47: //if this.state = 50; -if (parent._c.getRowCount()==0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { this.state = 49; }if (true) break; case 49: //C this.state = 50; - //BA.debugLineNum = 401;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\","; -parent._skmt.ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); +RDebugUtils.currentLine=1310810; + //BA.debugLineNum = 1310810;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\","; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); if (true) break; case 50: //C this.state = 51; ; - //BA.debugLineNum = 403;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT HABILITADO FROM GPS"))); - //BA.debugLineNum = 404;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=1310812; + //BA.debugLineNum = 1310812;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADO FROM GPS"))); +RDebugUtils.currentLine=1310813; + //BA.debugLineNum = 1310813;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 51: //if this.state = 62; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 53; }else { this.state = 61; @@ -669,32 +841,40 @@ this.state = 61; case 53: //C this.state = 54; - //BA.debugLineNum = 405;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 406;BA.debugLine="If c.GetString(\"HABILITADO\") = 1 Then"; +RDebugUtils.currentLine=1310814; + //BA.debugLineNum = 1310814;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1310815; + //BA.debugLineNum = 1310815;BA.debugLine="If c.GetString(\"HABILITADO\") = 1 Then"; if (true) break; case 54: //if this.state = 59; -if ((parent._c.GetString("HABILITADO")).equals(BA.NumberToString(1))) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADO")).equals(BA.NumberToString(1))) { this.state = 56; -}else if((parent._c.GetString("HABILITADO")).equals(BA.NumberToString(0))) { +}else +{RDebugUtils.currentLine=1310817; + //BA.debugLineNum = 1310817;BA.debugLine="Else If c.GetString(\"HABILITADO\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADO")).equals(BA.NumberToString(0))) { this.state = 58; -}if (true) break; +}} +if (true) break; case 56: //C this.state = 59; - //BA.debugLineNum = 407;BA.debugLine="B4XSwitch2.Value = True"; -parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.True); +RDebugUtils.currentLine=1310816; + //BA.debugLineNum = 1310816;BA.debugLine="B4XSwitch2.Value = True"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,parent.__c.True); if (true) break; case 58: //C this.state = 59; - //BA.debugLineNum = 409;BA.debugLine="B4XSwitch2.Value = False"; -parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.False); +RDebugUtils.currentLine=1310818; + //BA.debugLineNum = 1310818;BA.debugLine="B4XSwitch2.Value = False"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,parent.__c.False); if (true) break; case 59: @@ -706,38 +886,100 @@ this.state = 62; case 61: //C this.state = 62; - //BA.debugLineNum = 412;BA.debugLine="B4XSwitch2.Value = False"; -parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.False); +RDebugUtils.currentLine=1310821; + //BA.debugLineNum = 1310821;BA.debugLine="B4XSwitch2.Value = False"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,parent.__c.False); if (true) break; case 62: //C this.state = -1; ; - //BA.debugLineNum = 414;BA.debugLine="Subs.guardaAppInfo"; +RDebugUtils.currentLine=1310823; + //BA.debugLineNum = 1310823;BA.debugLine="Subs.guardaAppInfo"; parent._subs._guardaappinfo /*String*/ (ba); - //BA.debugLineNum = 423;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1310832; + //BA.debugLineNum = 1310832;BA.debugLine="End Sub"; if (true) break; } } } } -public void _b4xpage_permissionresult(String _permission,boolean _result) throws Exception{ +public String _muestraprogreso(gunav2.keymon.com.mx.b4xmainpage __ref,String _mensaje) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "muestraprogreso", false)) + {return ((String) Debug.delegate(ba, "muestraprogreso", new Object[] {_mensaje}));} +RDebugUtils.currentLine=2228224; + //BA.debugLineNum = 2228224;BA.debugLine="Sub muestraProgreso(mensaje As String)"; +RDebugUtils.currentLine=2228225; + //BA.debugLineNum = 2228225;BA.debugLine="ProgressDialogShow(mensaje)"; +__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); +RDebugUtils.currentLine=2228226; + //BA.debugLineNum = 2228226;BA.debugLine="End Sub"; +return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _dameusuario(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "dameusuario", false)) + {return ((String) Debug.delegate(ba, "dameusuario", null));} +RDebugUtils.currentLine=2031616; + //BA.debugLineNum = 2031616;BA.debugLine="Sub dameUsuario"; +RDebugUtils.currentLine=2031617; + //BA.debugLineNum = 2031617;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()}))); +RDebugUtils.currentLine=2031618; + //BA.debugLineNum = 2031618;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2031619; + //BA.debugLineNum = 2031619;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE1"); +RDebugUtils.currentLine=2031620; + //BA.debugLineNum = 2031620;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2031621; + //BA.debugLineNum = 2031621;BA.debugLine="If existe > 0 Then"; +if ((double)(Double.parseDouble(__ref._existe /*String*/ ))>0) { +RDebugUtils.currentLine=2031622; + //BA.debugLineNum = 2031622;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=2031623; + //BA.debugLineNum = 2031623;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2031624; + //BA.debugLineNum = 2031624;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); + }else { +RDebugUtils.currentLine=2031626; + //BA.debugLineNum = 2031626;BA.debugLine="usuario = \"SINUSUARIO\""; +__ref._usuario /*String*/ = "SINUSUARIO"; + }; +RDebugUtils.currentLine=2031628; + //BA.debugLineNum = 2031628;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.b4xmainpage parent) { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.b4xmainpage parent,gunav2.keymon.com.mx.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xmainpage __ref; gunav2.keymon.com.mx.b4xmainpage parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { switch (state) { @@ -747,51 +989,59 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 765;BA.debugLine="Log(\"closreq\")"; -parent.__c.LogImpl("438207489","closreq",0); - //BA.debugLineNum = 766;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); +RDebugUtils.currentLine=1638401; + //BA.debugLineNum = 1638401;BA.debugLine="Log(\"closreq\")"; +parent.__c.LogImpl("01638401","closreq",0); +RDebugUtils.currentLine=1638402; + //BA.debugLineNum = 1638402;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_closerequest"),(int) (0)); this.state = 8; return; case 8: //C this.state = 1; ; - //BA.debugLineNum = 767;BA.debugLine="If p_appUpdate.IsInitialized And p_appUpdate.Visi"; +RDebugUtils.currentLine=1638403; + //BA.debugLineNum = 1638403;BA.debugLine="If p_appUpdate.IsInitialized And p_appUpdate.Visi"; if (true) break; case 1: //if this.state = 4; -if (parent._p_appupdate.IsInitialized() && parent._p_appupdate.getVisible()) { +if (__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 768;BA.debugLine="p_appUpdate.Visible = False"; -parent._p_appupdate.setVisible(parent.__c.False); - //BA.debugLineNum = 769;BA.debugLine="Return False"; +RDebugUtils.currentLine=1638404; + //BA.debugLineNum = 1638404;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=1638405; + //BA.debugLineNum = 1638405;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; ; - //BA.debugLineNum = 771;BA.debugLine="If Not(p_appUpdate.Visible) Then"; +RDebugUtils.currentLine=1638407; + //BA.debugLineNum = 1638407;BA.debugLine="If Not(p_appUpdate.Visible) Then"; case 4: //if this.state = 7; -if (parent.__c.Not(parent._p_appupdate.getVisible())) { +if (parent.__c.Not(__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible())) { this.state = 6; }if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 772;BA.debugLine="Log(\"ExitApplication\")"; -parent.__c.LogImpl("438207496","ExitApplication",0); - //BA.debugLineNum = 773;BA.debugLine="ExitApplication"; +RDebugUtils.currentLine=1638408; + //BA.debugLineNum = 1638408;BA.debugLine="Log(\"ExitApplication\")"; +parent.__c.LogImpl("01638408","ExitApplication",0); +RDebugUtils.currentLine=1638409; + //BA.debugLineNum = 1638409;BA.debugLine="ExitApplication"; parent.__c.ExitApplication(); if (true) break; @@ -799,608 +1049,945 @@ case 7: //C this.state = -1; ; - //BA.debugLineNum = 775;BA.debugLine="Return True"; +RDebugUtils.currentLine=1638411; + //BA.debugLineNum = 1638411;BA.debugLine="Return True"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; - //BA.debugLineNum = 776;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1638412; + //BA.debugLineNum = 1638412;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 104;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 105;BA.debugLine="Log(\"##### CREAMOS MAINPAGE LOGIN\")"; -__c.LogImpl("437814273","##### CREAMOS MAINPAGE LOGIN",0); - //BA.debugLineNum = 106;BA.debugLine="B4XPages.GetManager.LogEvents = True"; +public String _b4xpage_created(gunav2.keymon.com.mx.b4xmainpage __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=1245184; + //BA.debugLineNum = 1245184;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=1245185; + //BA.debugLineNum = 1245185;BA.debugLine="Log(\"##### CREAMOS MAINPAGE LOGIN\")"; +__c.LogImpl("01245185","##### CREAMOS MAINPAGE LOGIN",0); +RDebugUtils.currentLine=1245186; + //BA.debugLineNum = 1245186;BA.debugLine="B4XPages.GetManager.LogEvents = True"; _b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (ba)._logevents /*boolean*/ = __c.True; - //BA.debugLineNum = 107;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 108;BA.debugLine="Root.LoadLayout(\"login\")"; -_root.LoadLayout("login",ba); - //BA.debugLineNum = 112;BA.debugLine="login.Initialize"; -_login._initialize /*String*/ (ba); - //BA.debugLineNum = 113;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; -_b4xpages._addpage /*String*/ (ba,"Login",(Object)(_login)); - //BA.debugLineNum = 114;BA.debugLine="principal.Initialize"; -_principal._initialize /*Object*/ (ba); - //BA.debugLineNum = 115;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; -_b4xpages._addpage /*String*/ (ba,"Principal",(Object)(_principal)); - //BA.debugLineNum = 116;BA.debugLine="clientes.Initialize"; -_clientes._initialize /*Object*/ (ba); - //BA.debugLineNum = 117;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; -_b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(_clientes)); - //BA.debugLineNum = 118;BA.debugLine="cliente.Initialize"; -_cliente._initialize /*Object*/ (ba); - //BA.debugLineNum = 119;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; -_b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(_cliente)); - //BA.debugLineNum = 120;BA.debugLine="productos.Initialize"; -_productos._initialize /*Object*/ (ba); - //BA.debugLineNum = 121;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; -_b4xpages._addpage /*String*/ (ba,"Productos",(Object)(_productos)); - //BA.debugLineNum = 122;BA.debugLine="updateAvailable.Initialize"; -_updateavailable._initialize /*Object*/ (ba); - //BA.debugLineNum = 123;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; -_b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(_updateavailable)); - //BA.debugLineNum = 124;BA.debugLine="mapas.Initialize"; -_mapas._initialize /*Object*/ (ba); - //BA.debugLineNum = 125;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; -_b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(_mapas)); - //BA.debugLineNum = 126;BA.debugLine="nuevoCliente.Initialize"; -_nuevocliente._initialize /*Object*/ (ba); - //BA.debugLineNum = 127;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; -_b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(_nuevocliente)); - //BA.debugLineNum = 128;BA.debugLine="ticketsDia.Initialize"; -_ticketsdia._initialize /*Object*/ (ba); - //BA.debugLineNum = 129;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; -_b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(_ticketsdia)); - //BA.debugLineNum = 130;BA.debugLine="noVenta.Initialize"; -_noventa._initialize /*Object*/ (ba); - //BA.debugLineNum = 131;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; -_b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(_noventa)); - //BA.debugLineNum = 132;BA.debugLine="nota.Initialize"; -_nota._initialize /*Object*/ (ba); - //BA.debugLineNum = 133;BA.debugLine="B4XPages.AddPage(\"Nota\", nota)"; -_b4xpages._addpage /*String*/ (ba,"Nota",(Object)(_nota)); - //BA.debugLineNum = 134;BA.debugLine="pedidos.Initialize"; -_pedidos._initialize /*Object*/ (ba); - //BA.debugLineNum = 135;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; -_b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(_pedidos)); - //BA.debugLineNum = 136;BA.debugLine="promos.Initialize"; -_promos._initialize /*Object*/ (ba); - //BA.debugLineNum = 137;BA.debugLine="B4XPages.AddPage(\"Promos\", promos)"; -_b4xpages._addpage /*String*/ (ba,"Promos",(Object)(_promos)); - //BA.debugLineNum = 138;BA.debugLine="historico.Initialize"; -_historico._initialize /*Object*/ (ba); - //BA.debugLineNum = 139;BA.debugLine="B4XPages.AddPage(\"Historico\", historico)"; -_b4xpages._addpage /*String*/ (ba,"Historico",(Object)(_historico)); - //BA.debugLineNum = 140;BA.debugLine="historicobat.Initialize"; -_historicobat._initialize /*Object*/ (ba); - //BA.debugLineNum = 141;BA.debugLine="B4XPages.AddPage(\"historicobat\", historicobat)"; -_b4xpages._addpage /*String*/ (ba,"historicobat",(Object)(_historicobat)); - //BA.debugLineNum = 144;BA.debugLine="p_Main.Height = Root.Height"; -_p_main.setHeight(_root.getHeight()); - //BA.debugLineNum = 145;BA.debugLine="p_Main.Width = Root.Width"; -_p_main.setWidth(_root.getWidth()); - //BA.debugLineNum = 146;BA.debugLine="ruta = Starter.ruta"; -_ruta = _starter._ruta /*String*/ ; - //BA.debugLineNum = 147;BA.debugLine="Provider.Initialize"; -_provider._initialize /*String*/ (ba); - //BA.debugLineNum = 148;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; +RDebugUtils.currentLine=1245187; + //BA.debugLineNum = 1245187;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=1245188; + //BA.debugLineNum = 1245188;BA.debugLine="Root.LoadLayout(\"login\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("login",ba); +RDebugUtils.currentLine=1245192; + //BA.debugLineNum = 1245192;BA.debugLine="login.Initialize"; +__ref._login /*gunav2.keymon.com.mx.b4xmainpage*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=1245193; + //BA.debugLineNum = 1245193;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; +_b4xpages._addpage /*String*/ (ba,"Login",(Object)(__ref._login /*gunav2.keymon.com.mx.b4xmainpage*/ )); +RDebugUtils.currentLine=1245194; + //BA.debugLineNum = 1245194;BA.debugLine="principal.Initialize"; +__ref._principal /*gunav2.keymon.com.mx.c_principal*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245195; + //BA.debugLineNum = 1245195;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; +_b4xpages._addpage /*String*/ (ba,"Principal",(Object)(__ref._principal /*gunav2.keymon.com.mx.c_principal*/ )); +RDebugUtils.currentLine=1245196; + //BA.debugLineNum = 1245196;BA.debugLine="clientes.Initialize"; +__ref._clientes /*gunav2.keymon.com.mx.c_clientes*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245197; + //BA.debugLineNum = 1245197;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; +_b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(__ref._clientes /*gunav2.keymon.com.mx.c_clientes*/ )); +RDebugUtils.currentLine=1245198; + //BA.debugLineNum = 1245198;BA.debugLine="cliente.Initialize"; +__ref._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245199; + //BA.debugLineNum = 1245199;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; +_b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(__ref._cliente /*gunav2.keymon.com.mx.c_cliente*/ )); +RDebugUtils.currentLine=1245200; + //BA.debugLineNum = 1245200;BA.debugLine="productos.Initialize"; +__ref._productos /*gunav2.keymon.com.mx.c_productos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245201; + //BA.debugLineNum = 1245201;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; +_b4xpages._addpage /*String*/ (ba,"Productos",(Object)(__ref._productos /*gunav2.keymon.com.mx.c_productos*/ )); +RDebugUtils.currentLine=1245202; + //BA.debugLineNum = 1245202;BA.debugLine="updateAvailable.Initialize"; +__ref._updateavailable /*gunav2.keymon.com.mx.c_updateavailable*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245203; + //BA.debugLineNum = 1245203;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; +_b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(__ref._updateavailable /*gunav2.keymon.com.mx.c_updateavailable*/ )); +RDebugUtils.currentLine=1245204; + //BA.debugLineNum = 1245204;BA.debugLine="mapas.Initialize"; +__ref._mapas /*gunav2.keymon.com.mx.c_mapas*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245205; + //BA.debugLineNum = 1245205;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; +_b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(__ref._mapas /*gunav2.keymon.com.mx.c_mapas*/ )); +RDebugUtils.currentLine=1245206; + //BA.debugLineNum = 1245206;BA.debugLine="nuevoCliente.Initialize"; +__ref._nuevocliente /*gunav2.keymon.com.mx.c_nuevocliente*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245207; + //BA.debugLineNum = 1245207;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; +_b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(__ref._nuevocliente /*gunav2.keymon.com.mx.c_nuevocliente*/ )); +RDebugUtils.currentLine=1245208; + //BA.debugLineNum = 1245208;BA.debugLine="ticketsDia.Initialize"; +__ref._ticketsdia /*gunav2.keymon.com.mx.c_ticketsdia*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245209; + //BA.debugLineNum = 1245209;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; +_b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(__ref._ticketsdia /*gunav2.keymon.com.mx.c_ticketsdia*/ )); +RDebugUtils.currentLine=1245210; + //BA.debugLineNum = 1245210;BA.debugLine="noVenta.Initialize"; +__ref._noventa /*gunav2.keymon.com.mx.c_noventa*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245211; + //BA.debugLineNum = 1245211;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; +_b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(__ref._noventa /*gunav2.keymon.com.mx.c_noventa*/ )); +RDebugUtils.currentLine=1245212; + //BA.debugLineNum = 1245212;BA.debugLine="nota.Initialize"; +__ref._nota /*gunav2.keymon.com.mx.c_nota*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245213; + //BA.debugLineNum = 1245213;BA.debugLine="B4XPages.AddPage(\"Nota\", nota)"; +_b4xpages._addpage /*String*/ (ba,"Nota",(Object)(__ref._nota /*gunav2.keymon.com.mx.c_nota*/ )); +RDebugUtils.currentLine=1245214; + //BA.debugLineNum = 1245214;BA.debugLine="pedidos.Initialize"; +__ref._pedidos /*gunav2.keymon.com.mx.c_pedidos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245215; + //BA.debugLineNum = 1245215;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; +_b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(__ref._pedidos /*gunav2.keymon.com.mx.c_pedidos*/ )); +RDebugUtils.currentLine=1245216; + //BA.debugLineNum = 1245216;BA.debugLine="promos.Initialize"; +__ref._promos /*gunav2.keymon.com.mx.c_promos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245217; + //BA.debugLineNum = 1245217;BA.debugLine="B4XPages.AddPage(\"Promos\", promos)"; +_b4xpages._addpage /*String*/ (ba,"Promos",(Object)(__ref._promos /*gunav2.keymon.com.mx.c_promos*/ )); +RDebugUtils.currentLine=1245218; + //BA.debugLineNum = 1245218;BA.debugLine="historico.Initialize"; +__ref._historico /*gunav2.keymon.com.mx.c_historico*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245219; + //BA.debugLineNum = 1245219;BA.debugLine="B4XPages.AddPage(\"Historico\", historico)"; +_b4xpages._addpage /*String*/ (ba,"Historico",(Object)(__ref._historico /*gunav2.keymon.com.mx.c_historico*/ )); +RDebugUtils.currentLine=1245221; + //BA.debugLineNum = 1245221;BA.debugLine="historicobat.Initialize"; +__ref._historicobat /*gunav2.keymon.com.mx.c_historicobat*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245222; + //BA.debugLineNum = 1245222;BA.debugLine="B4XPages.AddPage(\"historicobat\", historicobat)"; +_b4xpages._addpage /*String*/ (ba,"historicobat",(Object)(__ref._historicobat /*gunav2.keymon.com.mx.c_historicobat*/ )); +RDebugUtils.currentLine=1245224; + //BA.debugLineNum = 1245224;BA.debugLine="Clientes_Completos.Initialize"; +__ref._clientes_completos /*gunav2.keymon.com.mx.c_clientescompletos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245225; + //BA.debugLineNum = 1245225;BA.debugLine="B4XPages.AddPage(\"Clientes_Completos\", Clientes_C"; +_b4xpages._addpage /*String*/ (ba,"Clientes_Completos",(Object)(__ref._clientes_completos /*gunav2.keymon.com.mx.c_clientescompletos*/ )); +RDebugUtils.currentLine=1245227; + //BA.debugLineNum = 1245227;BA.debugLine="Tclientes.Initialize"; +__ref._tclientes /*gunav2.keymon.com.mx.v_tclientes*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1245228; + //BA.debugLineNum = 1245228;BA.debugLine="B4XPages.AddPage(\"Tclientes\", Tclientes)"; +_b4xpages._addpage /*String*/ (ba,"Tclientes",(Object)(__ref._tclientes /*gunav2.keymon.com.mx.v_tclientes*/ )); +RDebugUtils.currentLine=1245232; + //BA.debugLineNum = 1245232;BA.debugLine="p_Main.Height = Root.Height"; +__ref._p_main /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=1245233; + //BA.debugLineNum = 1245233;BA.debugLine="p_Main.Width = Root.Width"; +__ref._p_main /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1245234; + //BA.debugLineNum = 1245234;BA.debugLine="ruta = Starter.ruta"; +__ref._ruta /*String*/ = _starter._ruta /*String*/ ; +RDebugUtils.currentLine=1245235; + //BA.debugLineNum = 1245235;BA.debugLine="Provider.Initialize"; +__ref._provider /*gunav2.keymon.com.mx.fileprovider*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=1245236; + //BA.debugLineNum = 1245236;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; if (__c.File.Exists(__c.File.getDirInternal(),"kmt.db")==__c.False) { - //BA.debugLineNum = 149;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", File.DirInte"; +RDebugUtils.currentLine=1245237; + //BA.debugLineNum = 1245237;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", File.DirInte"; __c.File.Copy(__c.File.getDirAssets(),"kmt.db",__c.File.getDirInternal(),"kmt.db"); }; - //BA.debugLineNum = 151;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", True)"; -_skmt.Initialize(__c.File.getDirInternal(),"kmt.db",__c.True); - //BA.debugLineNum = 152;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS IMP"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS IMPRESORA (HABILITADA)"); - //BA.debugLineNum = 154;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS FOT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS FOTOS (CLIENTE TEXT, FOTO BLOB, MOVIMIENTO TEXT)"); - //BA.debugLineNum = 155;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PLA"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PLAN_LEALTAD (PL_CLIENTE TEXT, PL_BANDERA TEXT)"); - //BA.debugLineNum = 157;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT, FECHA TEXT)"); - //BA.debugLineNum = 160;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COM"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS COMENTARIOS (COMENTARTIO TEXT, CLIENTE TEXT, DESCARGADO TEXT)"); - //BA.debugLineNum = 162;BA.debugLine="Subs.agregaColumna(\"PLAN_LEALTAD\", \"DESCARGADO\","; +RDebugUtils.currentLine=1245239; + //BA.debugLineNum = 1245239;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", True)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__c.File.getDirInternal(),"kmt.db",__c.True); +RDebugUtils.currentLine=1245240; + //BA.debugLineNum = 1245240;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS IMP"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS IMPRESORA (HABILITADA)"); +RDebugUtils.currentLine=1245242; + //BA.debugLineNum = 1245242;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS FOT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS FOTOS (CLIENTE TEXT, FOTO BLOB, MOVIMIENTO TEXT)"); +RDebugUtils.currentLine=1245243; + //BA.debugLineNum = 1245243;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PLA"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PLAN_LEALTAD (PL_CLIENTE TEXT, PL_BANDERA TEXT)"); +RDebugUtils.currentLine=1245245; + //BA.debugLineNum = 1245245;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT, FECHA TEXT)"); +RDebugUtils.currentLine=1245248; + //BA.debugLineNum = 1245248;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COM"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS COMENTARIOS (COMENTARTIO TEXT, CLIENTE TEXT, DESCARGADO TEXT)"); +RDebugUtils.currentLine=1245250; + //BA.debugLineNum = 1245250;BA.debugLine="Subs.agregaColumna(\"PLAN_LEALTAD\", \"DESCARGADO\","; _subs._agregacolumna /*String*/ (ba,"PLAN_LEALTAD","DESCARGADO","TEXT"); - //BA.debugLineNum = 163;BA.debugLine="Subs.agregaColumna(\"PEDIDO_CLIENTE\", \"PC_FACTURA\""; +RDebugUtils.currentLine=1245251; + //BA.debugLineNum = 1245251;BA.debugLine="Subs.agregaColumna(\"PEDIDO_CLIENTE\", \"PC_FACTURA\""; _subs._agregacolumna /*String*/ (ba,"PEDIDO_CLIENTE","PC_FACTURA","INTEGER"); - //BA.debugLineNum = 164;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS GPS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS GPS (HABILITADO)"); - //BA.debugLineNum = 166;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_OBJETIVO_BAT (COB_VOLUMEN TEXT, COB_MARCAE TEXT, COB_PORTAFOLIO TEXT, COB_OBJPP TEXT, COB_GEV TEXT )"); - //BA.debugLineNum = 168;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)"); - //BA.debugLineNum = 169;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)"); - //BA.debugLineNum = 170;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_PROMOS_DESCUENTOS (CAT_PD_ALMACEN TEXT, CAT_PD_COD_PROMO TEXT, CAT_PD_RANGO INT, CAT_PD_VIGENCIA TEXT, CAT_PD_DESCUENTO TEXT, CAT_PD_PRODUCTO TEXT, CAT_PD_TIER TEXT)"); - //BA.debugLineNum = 171;BA.debugLine="Subs.agregaColumna(\"CAT_PROMOS_DESCUENTOS\", \"CAT_"; +RDebugUtils.currentLine=1245252; + //BA.debugLineNum = 1245252;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS GPS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS GPS (HABILITADO)"); +RDebugUtils.currentLine=1245254; + //BA.debugLineNum = 1245254;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_OBJETIVO_BAT (COB_VOLUMEN TEXT, COB_MARCAE TEXT, COB_PORTAFOLIO TEXT, COB_OBJPP TEXT, COB_GEV TEXT )"); +RDebugUtils.currentLine=1245256; + //BA.debugLineNum = 1245256;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_CATCLIENTESTODOS (CAT_CL_TIPO_RUTA TEXT, CAT_CL_DIAS_VISITA TEXT, CAT_CL_CODIGO TEXT, CAT_CL_FOTO TEXT, CAT_CL_CLASIFICADOR3 TEXT, CAT_CL_CLASIFICADOR4 TEXT, CAT_CL_CLASIFICADOR2 TEXT, CAT_CL_RUTA TEXT, CAT_CL_NOMBRE TEXT, CAT_CL_ATIENDE1 TEXT, CAT_CL_ATIENTE2 TEXT, CAT_CL_TELEFONO TEXT, CAT_CL_EMAIL TEXT, CAT_CL_CALLE TEXT, CAT_CL_NOEXT TEXT, CAT_CL_NOINT TEXT, CAT_CL_CALLE1 TEXT, CAT_CL_CALLE2 TEXT, CAT_CL_COLONIA TEXT, CAT_CL_MUNI TEXT, CAT_CL_EDO TEXT, CAT_CL_CP TEXT, CAT_CL_LONG TEXT, CAT_CL_LAT TEXT, CAT_CL_MTOCOMPRA TEXT, CAT_CL_NUM_SERIEFISICO TEXT, CAT_CL_BCREDITO TEXT, CAT_CL_DIASCREDITO TEXT, CAT_CL_TIPOCLIENTE TEXT, CAT_CL_LIMITECREDITO TEXT)"); +RDebugUtils.currentLine=1245258; + //BA.debugLineNum = 1245258;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS his"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS hist_ventastodos (HVD_CLIENTE TEX, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT, HVD_FECHA TEXT)"); +RDebugUtils.currentLine=1245260; + //BA.debugLineNum = 1245260;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)"); +RDebugUtils.currentLine=1245261; + //BA.debugLineNum = 1245261;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)"); +RDebugUtils.currentLine=1245262; + //BA.debugLineNum = 1245262;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_PROMOS_DESCUENTOS (CAT_PD_ALMACEN TEXT, CAT_PD_COD_PROMO TEXT, CAT_PD_RANGO INT, CAT_PD_VIGENCIA TEXT, CAT_PD_DESCUENTO TEXT, CAT_PD_PRODUCTO TEXT, CAT_PD_TIER TEXT)"); +RDebugUtils.currentLine=1245263; + //BA.debugLineNum = 1245263;BA.debugLine="Subs.agregaColumna(\"CAT_PROMOS_DESCUENTOS\", \"CAT_"; _subs._agregacolumna /*String*/ (ba,"CAT_PROMOS_DESCUENTOS","CAT_PD_RANGO2","INT"); - //BA.debugLineNum = 172;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_CODPROMO TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUM, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG )"); - //BA.debugLineNum = 173;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PRO"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PROMO_ESP (HVD_CLIENTE)"); - //BA.debugLineNum = 174;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_PROMO_ESP(CAT_PE_ID TEXT,CAT_PE_IDPROMO TEXT,CAT_PE_MONTO TEXT)"); - //BA.debugLineNum = 175;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)"); - //BA.debugLineNum = 176;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"); - //BA.debugLineNum = 177;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)"); - //BA.debugLineNum = 178;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)"); - //BA.debugLineNum = 179;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)"); - //BA.debugLineNum = 180;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)"); - //BA.debugLineNum = 181;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_COMISIONES_MOVIL (HCM_IDALMACEN TEXT, HCM_RUTA TEXT, HCM_TOTAL_V TEXT, HCM_TOTAL_VIVE TEXT, HCM_TOTAL_GUNA TEXT, HCM_TOTAL_BEB TEXT)"); - //BA.debugLineNum = 182;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"); - //BA.debugLineNum = 183;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)"); - //BA.debugLineNum = 184;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); - //BA.debugLineNum = 185;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA"; -_skmt.ExecNonQuery("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID"); - //BA.debugLineNum = 186;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota"; -_skmt.ExecNonQuery("CREATE VIEW IF NOT EXISTS total_marcas AS Select cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif"); - //BA.debugLineNum = 187;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)"); - //BA.debugLineNum = 188;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)"); - //BA.debugLineNum = 189;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO1(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)"); - //BA.debugLineNum = 190;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO2 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT)"); - //BA.debugLineNum = 191;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_ENCUESTA_PREGUNTA (CAT_EP_ID TEXT,CAT_EP_IDTIPOPREGUNTA TEXT,CAT_CE_DESCRIPCION TEXT,CAT_EP_PREGUNTA TEXT,CAT_EP_RES1_PRED TEXT,CAT_EP_RES2_PRED TEXT,CAT_EP_RES3_PRED TEXT,CAT_EP_ORDEN_PREGUNTA TEXT)"); - //BA.debugLineNum = 192;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO3(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT, P10 TEXT, P11 TEXT)"); - //BA.debugLineNum = 193;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO4 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT)"); - //BA.debugLineNum = 194;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO5 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)"); - //BA.debugLineNum = 195;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA2(HE_CLIENTE TEXT)"); - //BA.debugLineNum = 196;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_CLIENTE (HEC_CLIENTE TEXT, HEC_MODULO TEXT)"); - //BA.debugLineNum = 197;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_AVISO_GIRO (HEAV_CLIENTE TEXT, HEAV_MODULO TEXT, HEAV_AVISO TEXT, HEAV_GIRO TEXT)"); - //BA.debugLineNum = 198;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA (HE_CLIE TEXT, HE_RES TEXT, HE_FECHA TEXT, HE_TIPO TEXT, HE_LAT TEXT, HE_LON TEXT)"); - //BA.debugLineNum = 199;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS kmt"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS kmt_info3(CAT_CL_FOTO BLOB, CAT_CL_NUM_SERIEFISICO TEXT, CAT_CL_MTOCOMPRA TEXT, CAT_CL_CEDIS TEXT, CAT_CL_LAT TEXT, CAT_CL_LONG TEXT, CAT_CL_FBAJA TEXT, CAT_CL_FALTA TEXT, CAT_CL_CP TEXT, CAT_CL_EDO TEXT, CAT_CL_MUNI TEXT, CAT_CL_COLONIA TEXT, CAT_CL_CALLE2 TEXT, CAT_CL_CALLE1 TEXT, CAT_CL_NOINT TEXT, CAT_CL_NOEXT TEXT, CAT_CL_CALLE TEXT, CAT_CL_EMAIL TEXT, CAT_CL_TELEFONO TEXT, CAT_CL_ATIENTE2 TEXT, CAT_CL_ATIENDE1 TEXT, CAT_CL_NOMBRE TEXT, CAT_CL_GIRO TEXT, CAT_CL_DIAS_VISITA TEXT, CAT_CL_TIPO_RUTA TEXT, CAT_CL_RUTA TEXT, CAT_CL_CODIGO TEXT, gestion NUMERIC)"); - //BA.debugLineNum = 200;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO2265(H_IDCLIENTE TEXT)"); - //BA.debugLineNum = 201;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ATI"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)"); - //BA.debugLineNum = 203;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COD"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CODIGOS_CREDITO(CODIGO TEXT, BANDERA TEXT)"); - //BA.debugLineNum = 205;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TEL"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS TELEFONO(TELEFONO TEXT, CLIENTE TEXT)"); - //BA.debugLineNum = 206;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO3054(H_IDCLIENTE TEXT)"); - //BA.debugLineNum = 207;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO3055(H_IDCLIENTE TEXT)"); - //BA.debugLineNum = 208;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_SUPLENCIA(RS_RUTA TEXT)"); - //BA.debugLineNum = 209;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TIC"; -_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS TICKET_IMPRESO (idCliente TEXT)"); - //BA.debugLineNum = 211;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LAT\", \"TE"; +RDebugUtils.currentLine=1245264; + //BA.debugLineNum = 1245264;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_CODPROMO TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUM, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG )"); +RDebugUtils.currentLine=1245265; + //BA.debugLineNum = 1245265;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PRO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PROMO_ESP (HVD_CLIENTE)"); +RDebugUtils.currentLine=1245266; + //BA.debugLineNum = 1245266;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_PROMO_ESP(CAT_PE_ID TEXT,CAT_PE_IDPROMO TEXT,CAT_PE_MONTO TEXT)"); +RDebugUtils.currentLine=1245267; + //BA.debugLineNum = 1245267;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)"); +RDebugUtils.currentLine=1245268; + //BA.debugLineNum = 1245268;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"); +RDebugUtils.currentLine=1245269; + //BA.debugLineNum = 1245269;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)"); +RDebugUtils.currentLine=1245270; + //BA.debugLineNum = 1245270;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)"); +RDebugUtils.currentLine=1245271; + //BA.debugLineNum = 1245271;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)"); +RDebugUtils.currentLine=1245272; + //BA.debugLineNum = 1245272;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)"); +RDebugUtils.currentLine=1245273; + //BA.debugLineNum = 1245273;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_COMISIONES_MOVIL (HCM_IDALMACEN TEXT, HCM_RUTA TEXT, HCM_TOTAL_V TEXT, HCM_TOTAL_VIVE TEXT, HCM_TOTAL_GUNA TEXT, HCM_TOTAL_BEB TEXT)"); +RDebugUtils.currentLine=1245274; + //BA.debugLineNum = 1245274;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"); +RDebugUtils.currentLine=1245275; + //BA.debugLineNum = 1245275;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)"); +RDebugUtils.currentLine=1245276; + //BA.debugLineNum = 1245276;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); +RDebugUtils.currentLine=1245277; + //BA.debugLineNum = 1245277;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID"); +RDebugUtils.currentLine=1245278; + //BA.debugLineNum = 1245278;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE VIEW IF NOT EXISTS total_marcas AS Select cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif"); +RDebugUtils.currentLine=1245279; + //BA.debugLineNum = 1245279;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)"); +RDebugUtils.currentLine=1245280; + //BA.debugLineNum = 1245280;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)"); +RDebugUtils.currentLine=1245281; + //BA.debugLineNum = 1245281;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO1(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)"); +RDebugUtils.currentLine=1245282; + //BA.debugLineNum = 1245282;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO2 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT)"); +RDebugUtils.currentLine=1245283; + //BA.debugLineNum = 1245283;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_ENCUESTA_PREGUNTA (CAT_EP_ID TEXT,CAT_EP_IDTIPOPREGUNTA TEXT,CAT_CE_DESCRIPCION TEXT,CAT_EP_PREGUNTA TEXT,CAT_EP_RES1_PRED TEXT,CAT_EP_RES2_PRED TEXT,CAT_EP_RES3_PRED TEXT,CAT_EP_ORDEN_PREGUNTA TEXT)"); +RDebugUtils.currentLine=1245284; + //BA.debugLineNum = 1245284;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO3(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT, P10 TEXT, P11 TEXT)"); +RDebugUtils.currentLine=1245285; + //BA.debugLineNum = 1245285;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO4 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT)"); +RDebugUtils.currentLine=1245286; + //BA.debugLineNum = 1245286;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO5 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)"); +RDebugUtils.currentLine=1245287; + //BA.debugLineNum = 1245287;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA2(HE_CLIENTE TEXT)"); +RDebugUtils.currentLine=1245288; + //BA.debugLineNum = 1245288;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_CLIENTE (HEC_CLIENTE TEXT, HEC_MODULO TEXT)"); +RDebugUtils.currentLine=1245289; + //BA.debugLineNum = 1245289;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_AVISO_GIRO (HEAV_CLIENTE TEXT, HEAV_MODULO TEXT, HEAV_AVISO TEXT, HEAV_GIRO TEXT)"); +RDebugUtils.currentLine=1245290; + //BA.debugLineNum = 1245290;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA (HE_CLIE TEXT, HE_RES TEXT, HE_FECHA TEXT, HE_TIPO TEXT, HE_LAT TEXT, HE_LON TEXT)"); +RDebugUtils.currentLine=1245291; + //BA.debugLineNum = 1245291;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS kmt"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS kmt_info3(CAT_CL_FOTO BLOB, CAT_CL_NUM_SERIEFISICO TEXT, CAT_CL_MTOCOMPRA TEXT, CAT_CL_CEDIS TEXT, CAT_CL_LAT TEXT, CAT_CL_LONG TEXT, CAT_CL_FBAJA TEXT, CAT_CL_FALTA TEXT, CAT_CL_CP TEXT, CAT_CL_EDO TEXT, CAT_CL_MUNI TEXT, CAT_CL_COLONIA TEXT, CAT_CL_CALLE2 TEXT, CAT_CL_CALLE1 TEXT, CAT_CL_NOINT TEXT, CAT_CL_NOEXT TEXT, CAT_CL_CALLE TEXT, CAT_CL_EMAIL TEXT, CAT_CL_TELEFONO TEXT, CAT_CL_ATIENTE2 TEXT, CAT_CL_ATIENDE1 TEXT, CAT_CL_NOMBRE TEXT, CAT_CL_GIRO TEXT, CAT_CL_DIAS_VISITA TEXT, CAT_CL_TIPO_RUTA TEXT, CAT_CL_RUTA TEXT, CAT_CL_CODIGO TEXT, gestion NUMERIC)"); +RDebugUtils.currentLine=1245292; + //BA.debugLineNum = 1245292;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO2265(H_IDCLIENTE TEXT)"); +RDebugUtils.currentLine=1245293; + //BA.debugLineNum = 1245293;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ATI"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)"); +RDebugUtils.currentLine=1245295; + //BA.debugLineNum = 1245295;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COD"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CODIGOS_CREDITO(CODIGO TEXT, BANDERA TEXT)"); +RDebugUtils.currentLine=1245297; + //BA.debugLineNum = 1245297;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TEL"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TELEFONO(TELEFONO TEXT, CLIENTE TEXT)"); +RDebugUtils.currentLine=1245298; + //BA.debugLineNum = 1245298;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO3054(H_IDCLIENTE TEXT)"); +RDebugUtils.currentLine=1245299; + //BA.debugLineNum = 1245299;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO3055(H_IDCLIENTE TEXT)"); +RDebugUtils.currentLine=1245300; + //BA.debugLineNum = 1245300;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_SUPLENCIA(RS_RUTA TEXT)"); +RDebugUtils.currentLine=1245301; + //BA.debugLineNum = 1245301;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TIC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TICKET_IMPRESO (idCliente TEXT)"); +RDebugUtils.currentLine=1245303; + //BA.debugLineNum = 1245303;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LAT\", \"TE"; _subs._agregacolumna /*String*/ (ba,"HIST_ENCUESTA","HE_LAT","TEXT"); - //BA.debugLineNum = 212;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_FOTO\", \"B"; +RDebugUtils.currentLine=1245304; + //BA.debugLineNum = 1245304;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_FOTO\", \"B"; _subs._agregacolumna /*String*/ (ba,"HIST_ENCUESTA","HE_FOTO","BLOB"); - //BA.debugLineNum = 213;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"foto\", \"BLOB\")"; +RDebugUtils.currentLine=1245305; + //BA.debugLineNum = 1245305;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"foto\", \"BLOB\")"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","foto","BLOB"); - //BA.debugLineNum = 214;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULO\", \"TEX"; +RDebugUtils.currentLine=1245306; + //BA.debugLineNum = 1245306;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULO\", \"TEX"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECALCULO","TEXT"); - //BA.debugLineNum = 215;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULADO\", \"T"; +RDebugUtils.currentLine=1245307; + //BA.debugLineNum = 1245307;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULADO\", \"T"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECALCULADO","TEXT"); - //BA.debugLineNum = 216;BA.debugLine="Subs.agregaColumna(\"CODIGOS_CREDITO\", \"CLIENTE\","; +RDebugUtils.currentLine=1245308; + //BA.debugLineNum = 1245308;BA.debugLine="Subs.agregaColumna(\"CODIGOS_CREDITO\", \"CLIENTE\","; _subs._agregacolumna /*String*/ (ba,"CODIGOS_CREDITO","CLIENTE","TEXT"); - //BA.debugLineNum = 217;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCEDIS\", \"TEXT"; +RDebugUtils.currentLine=1245309; + //BA.debugLineNum = 1245309;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCEDIS\", \"TEXT"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECCEDIS","TEXT"); - //BA.debugLineNum = 218;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_FUTURO\", \"TEXT\")"; +RDebugUtils.currentLine=1245310; + //BA.debugLineNum = 1245310;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_FUTURO\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_FUTURO","TEXT"); - //BA.debugLineNum = 219;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULOTOT\", \""; +RDebugUtils.currentLine=1245311; + //BA.debugLineNum = 1245311;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULOTOT\", \""; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECALCULOTOT","TEXT"); - //BA.debugLineNum = 220;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LON\", \"TE"; +RDebugUtils.currentLine=1245312; + //BA.debugLineNum = 1245312;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LON\", \"TE"; _subs._agregacolumna /*String*/ (ba,"HIST_ENCUESTA","HE_LON","TEXT"); - //BA.debugLineNum = 221;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\", \"HVD_FECHA\", \"T"; +RDebugUtils.currentLine=1245313; + //BA.debugLineNum = 1245313;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\", \"HVD_FECHA\", \"T"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_FECHA","TEXT"); - //BA.debugLineNum = 222;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROINT"; +RDebugUtils.currentLine=1245314; + //BA.debugLineNum = 1245314;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROINT"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_NUMEROINT","TEXT"); - //BA.debugLineNum = 223;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROEXT"; +RDebugUtils.currentLine=1245315; + //BA.debugLineNum = 1245315;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROEXT"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_NUMEROEXT","TEXT"); - //BA.debugLineNum = 224;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_REFERENCI"; +RDebugUtils.currentLine=1245316; + //BA.debugLineNum = 1245316;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_REFERENCI"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_REFERENCIA","TEXT"); - //BA.debugLineNum = 225;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROI"; +RDebugUtils.currentLine=1245317; + //BA.debugLineNum = 1245317;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROI"; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_NUMEROINT","TEXT"); - //BA.debugLineNum = 226;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROE"; +RDebugUtils.currentLine=1245318; + //BA.debugLineNum = 1245318;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROE"; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_NUMEROEXT","TEXT"); - //BA.debugLineNum = 227;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_REFEREN"; +RDebugUtils.currentLine=1245319; + //BA.debugLineNum = 1245319;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_REFEREN"; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_REFERENCIA","TEXT"); - //BA.debugLineNum = 228;BA.debugLine="Subs.agregaColumna(\"COMENTARIOS\", \"comentario_tmp"; +RDebugUtils.currentLine=1245320; + //BA.debugLineNum = 1245320;BA.debugLine="Subs.agregaColumna(\"COMENTARIOS\", \"comentario_tmp"; _subs._agregacolumna /*String*/ (ba,"COMENTARIOS","comentario_tmp","TEXT"); - //BA.debugLineNum = 230;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"encuesta\", \"TEXT"; +RDebugUtils.currentLine=1245322; + //BA.debugLineNum = 1245322;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"encuesta\", \"TEXT"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","encuesta","TEXT"); - //BA.debugLineNum = 231;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; +RDebugUtils.currentLine=1245323; + //BA.debugLineNum = 1245323;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_CLASIFICADOR4","TEXT"); - //BA.debugLineNum = 232;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER"; +RDebugUtils.currentLine=1245324; + //BA.debugLineNum = 1245324;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_CONVERSION3","TEXT"); - //BA.debugLineNum = 233;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER"; +RDebugUtils.currentLine=1245325; + //BA.debugLineNum = 1245325;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_CONVERSION2","TEXT"); - //BA.debugLineNum = 234;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; +RDebugUtils.currentLine=1245326; + //BA.debugLineNum = 1245326;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_CLASIFICADOR3","TEXT"); - //BA.debugLineNum = 235;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; +RDebugUtils.currentLine=1245327; + //BA.debugLineNum = 1245327;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_CLASIFICADOR2","TEXT"); - //BA.debugLineNum = 236;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_TIPOCLIEN"; +RDebugUtils.currentLine=1245328; + //BA.debugLineNum = 1245328;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_TIPOCLIEN"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_TIPOCLIENTE","TEXT"); - //BA.debugLineNum = 237;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_LIMITECRE"; +RDebugUtils.currentLine=1245329; + //BA.debugLineNum = 1245329;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_LIMITECRE"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_LIMITECREDITO","TEXT"); - //BA.debugLineNum = 238;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_DIASCREDI"; +RDebugUtils.currentLine=1245330; + //BA.debugLineNum = 1245330;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_DIASCREDI"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_DIASCREDITO","TEXT"); - //BA.debugLineNum = 239;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CONFIRMADO\", \"TE"; +RDebugUtils.currentLine=1245331; + //BA.debugLineNum = 1245331;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CONFIRMADO\", \"TE"; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CONFIRMADO","TEXT"); - //BA.debugLineNum = 240;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_BCREDITO\""; +RDebugUtils.currentLine=1245332; + //BA.debugLineNum = 1245332;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_BCREDITO\""; _subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_BCREDITO","TEXT"); - //BA.debugLineNum = 241;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DEV\","; +RDebugUtils.currentLine=1245333; + //BA.debugLineNum = 1245333;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DEV\","; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DEV","TEXT"); - //BA.debugLineNum = 242;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_BSEGME"; +RDebugUtils.currentLine=1245334; + //BA.debugLineNum = 1245334;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_BSEGME"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_PA_BSEGMENTA","TEXT"); - //BA.debugLineNum = 243;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_LISTAPREC"; +RDebugUtils.currentLine=1245335; + //BA.debugLineNum = 1245335;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_LISTAPREC"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_LISTAPRECIO","TEXT"); - //BA.debugLineNum = 244;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_SEGMEN"; +RDebugUtils.currentLine=1245336; + //BA.debugLineNum = 1245336;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_SEGMEN"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_PA_SEGMENTAV","TEXT"); - //BA.debugLineNum = 245;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_BSEGM"; +RDebugUtils.currentLine=1245337; + //BA.debugLineNum = 1245337;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_BSEGM"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_PA_BSEGMENTA","TEXT"); - //BA.debugLineNum = 246;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_SEGME"; +RDebugUtils.currentLine=1245338; + //BA.debugLineNum = 1245338;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_SEGME"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_PA_SEGMENTAV","TEXT"); - //BA.debugLineNum = 247;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT"; +RDebugUtils.currentLine=1245339; + //BA.debugLineNum = 1245339;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT"; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_SOLICITA","TEXT"); - //BA.debugLineNum = 248;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_COLONIA"; +RDebugUtils.currentLine=1245340; + //BA.debugLineNum = 1245340;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_COLONIA"; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_COLONIA","TEXT"); - //BA.debugLineNum = 249;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_TELEFON"; +RDebugUtils.currentLine=1245341; + //BA.debugLineNum = 1245341;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_TELEFON"; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_TELEFONO","TEXT"); - //BA.debugLineNum = 250;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CP\", \"T"; +RDebugUtils.currentLine=1245342; + //BA.debugLineNum = 1245342;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CP\", \"T"; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_CP","TEXT"); - //BA.debugLineNum = 251;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE1\""; +RDebugUtils.currentLine=1245343; + //BA.debugLineNum = 1245343;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE1\""; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_CALLE1","TEXT"); - //BA.debugLineNum = 252;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE2\""; +RDebugUtils.currentLine=1245344; + //BA.debugLineNum = 1245344;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE2\""; _subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_CALLE2","TEXT"); - //BA.debugLineNum = 253;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCANT\", \"TEXT\""; +RDebugUtils.currentLine=1245345; + //BA.debugLineNum = 1245345;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCANT\", \"TEXT\""; _subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECCANT","TEXT"); - //BA.debugLineNum = 254;BA.debugLine="Subs.agregaColumna(\"FOTOS\", \"FECHA\", \"TEXT\")"; +RDebugUtils.currentLine=1245346; + //BA.debugLineNum = 1245346;BA.debugLine="Subs.agregaColumna(\"FOTOS\", \"FECHA\", \"TEXT\")"; _subs._agregacolumna /*String*/ (ba,"FOTOS","FECHA","TEXT"); - //BA.debugLineNum = 255;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 256;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('ENCUESTA_MODULO3') WHERE name='P10'"))); - //BA.debugLineNum = 257;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 258;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 259;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; -_skmt.ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P10 TEXT"); +RDebugUtils.currentLine=1245347; + //BA.debugLineNum = 1245347;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=1245348; + //BA.debugLineNum = 1245348;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('ENCUESTA_MODULO3') WHERE name='P10'"))); +RDebugUtils.currentLine=1245349; + //BA.debugLineNum = 1245349;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1245350; + //BA.debugLineNum = 1245350;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=1245351; + //BA.debugLineNum = 1245351;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P10 TEXT"); }; } - catch (Exception e142) { - ba.setLastException(e142); //BA.debugLineNum = 262;BA.debugLine="Try"; -try { //BA.debugLineNum = 263;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; -_skmt.ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P10 TEXT"); + catch (Exception e148) { + ba.setLastException(e148);RDebugUtils.currentLine=1245354; + //BA.debugLineNum = 1245354;BA.debugLine="Try"; +try {RDebugUtils.currentLine=1245355; + //BA.debugLineNum = 1245355;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P10 TEXT"); } - catch (Exception e145) { - ba.setLastException(e145); //BA.debugLineNum = 265;BA.debugLine="Log(LastException)"; -__c.LogImpl("437814433",BA.ObjectToString(__c.LastException(ba)),0); + catch (Exception e151) { + ba.setLastException(e151);RDebugUtils.currentLine=1245357; + //BA.debugLineNum = 1245357;BA.debugLine="Log(LastException)"; +__c.LogImpl("01245357",BA.ObjectToString(__c.LastException(ba)),0); }; }; - //BA.debugLineNum = 268;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 269;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('ENCUESTA_MODULO3') WHERE name='P11'"))); - //BA.debugLineNum = 270;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 271;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 272;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; -_skmt.ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P11 TEXT"); +RDebugUtils.currentLine=1245360; + //BA.debugLineNum = 1245360;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=1245361; + //BA.debugLineNum = 1245361;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('ENCUESTA_MODULO3') WHERE name='P11'"))); +RDebugUtils.currentLine=1245362; + //BA.debugLineNum = 1245362;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1245363; + //BA.debugLineNum = 1245363;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=1245364; + //BA.debugLineNum = 1245364;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P11 TEXT"); }; } - catch (Exception e155) { - ba.setLastException(e155); //BA.debugLineNum = 275;BA.debugLine="Try"; -try { //BA.debugLineNum = 276;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; -_skmt.ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P11 TEXT"); + catch (Exception e161) { + ba.setLastException(e161);RDebugUtils.currentLine=1245367; + //BA.debugLineNum = 1245367;BA.debugLine="Try"; +try {RDebugUtils.currentLine=1245368; + //BA.debugLineNum = 1245368;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P11 TEXT"); } - catch (Exception e158) { - ba.setLastException(e158); //BA.debugLineNum = 278;BA.debugLine="Log(LastException)"; -__c.LogImpl("437814446",BA.ObjectToString(__c.LastException(ba)),0); + catch (Exception e164) { + ba.setLastException(e164);RDebugUtils.currentLine=1245370; + //BA.debugLineNum = 1245370;BA.debugLine="Log(LastException)"; +__c.LogImpl("01245370",BA.ObjectToString(__c.LastException(ba)),0); }; }; - //BA.debugLineNum = 281;BA.debugLine="c=skmt.ExecQuery(\"select COUNT(*) AS CUANTOS fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select COUNT(*) AS CUANTOS from HIST_STAY_OUT "))); - //BA.debugLineNum = 282;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 283;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; -if ((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 284;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO"; -_skmt.ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"); +RDebugUtils.currentLine=1245373; + //BA.debugLineNum = 1245373;BA.debugLine="c=skmt.ExecQuery(\"select COUNT(*) AS CUANTOS fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from HIST_STAY_OUT "))); +RDebugUtils.currentLine=1245374; + //BA.debugLineNum = 1245374;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1245375; + //BA.debugLineNum = 1245375;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=1245376; + //BA.debugLineNum = 1245376;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"); }; - //BA.debugLineNum = 286;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 290;BA.debugLine="l_version.Text = Application.VersionName"; -_l_version.setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); - //BA.debugLineNum = 292;BA.debugLine="PopupMenu.Initialize(\"PopupMenu\", b_menu)"; -_popupmenu.Initialize(ba,"PopupMenu",(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_b_menu.getObject()))); - //BA.debugLineNum = 293;BA.debugLine="PopupMenu.AddMenuItem(0, 0, \"View\")"; -_popupmenu.AddMenuItem((int) (0),(int) (0),"View"); - //BA.debugLineNum = 294;BA.debugLine="PopupMenu.AddMenuItem(1, 1, \"Edit\")"; -_popupmenu.AddMenuItem((int) (1),(int) (1),"Edit"); - //BA.debugLineNum = 295;BA.debugLine="PopupMenu.AddMenuItem(2, 2, \"Details\")"; -_popupmenu.AddMenuItem((int) (2),(int) (2),"Details"); - //BA.debugLineNum = 296;BA.debugLine="PopupMenu.AddMenuItem(3, 3, \"Remove\")"; -_popupmenu.AddMenuItem((int) (3),(int) (3),"Remove"); - //BA.debugLineNum = 298;BA.debugLine="montoActual = 0"; -_montoactual = BA.NumberToString(0); - //BA.debugLineNum = 299;BA.debugLine="clientesTotal = 0"; -_clientestotal = BA.NumberToString(0); - //BA.debugLineNum = 300;BA.debugLine="clientesVenta = 0"; -_clientesventa = BA.NumberToString(0); - //BA.debugLineNum = 301;BA.debugLine="clientesVisitados = 0"; -_clientesvisitados = BA.NumberToString(0); - //BA.debugLineNum = 302;BA.debugLine="almacen = 0"; -_almacen = BA.NumberToString(0); - //BA.debugLineNum = 303;BA.debugLine="rutaPreventa = 0"; -_rutapreventa = BA.NumberToString(0); - //BA.debugLineNum = 304;BA.debugLine="p_appUpdate.Visible = False"; -_p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 306;BA.debugLine="If Subs.traeUsarIntentBDWA Then"; +RDebugUtils.currentLine=1245378; + //BA.debugLineNum = 1245378;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1245382; + //BA.debugLineNum = 1245382;BA.debugLine="l_version.Text = Application.VersionName"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); +RDebugUtils.currentLine=1245384; + //BA.debugLineNum = 1245384;BA.debugLine="PopupMenu.Initialize(\"PopupMenu\", b_menu)"; +__ref._popupmenu /*com.rootsoft.rspopupmenu.RSPopupMenu*/ .Initialize(ba,"PopupMenu",(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(__ref._b_menu /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getObject()))); +RDebugUtils.currentLine=1245385; + //BA.debugLineNum = 1245385;BA.debugLine="PopupMenu.AddMenuItem(0, 0, \"View\")"; +__ref._popupmenu /*com.rootsoft.rspopupmenu.RSPopupMenu*/ .AddMenuItem((int) (0),(int) (0),"View"); +RDebugUtils.currentLine=1245386; + //BA.debugLineNum = 1245386;BA.debugLine="PopupMenu.AddMenuItem(1, 1, \"Edit\")"; +__ref._popupmenu /*com.rootsoft.rspopupmenu.RSPopupMenu*/ .AddMenuItem((int) (1),(int) (1),"Edit"); +RDebugUtils.currentLine=1245387; + //BA.debugLineNum = 1245387;BA.debugLine="PopupMenu.AddMenuItem(2, 2, \"Details\")"; +__ref._popupmenu /*com.rootsoft.rspopupmenu.RSPopupMenu*/ .AddMenuItem((int) (2),(int) (2),"Details"); +RDebugUtils.currentLine=1245388; + //BA.debugLineNum = 1245388;BA.debugLine="PopupMenu.AddMenuItem(3, 3, \"Remove\")"; +__ref._popupmenu /*com.rootsoft.rspopupmenu.RSPopupMenu*/ .AddMenuItem((int) (3),(int) (3),"Remove"); +RDebugUtils.currentLine=1245390; + //BA.debugLineNum = 1245390;BA.debugLine="montoActual = 0"; +__ref._montoactual /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1245391; + //BA.debugLineNum = 1245391;BA.debugLine="clientesTotal = 0"; +__ref._clientestotal /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1245392; + //BA.debugLineNum = 1245392;BA.debugLine="clientesVenta = 0"; +__ref._clientesventa /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1245393; + //BA.debugLineNum = 1245393;BA.debugLine="clientesVisitados = 0"; +__ref._clientesvisitados /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1245394; + //BA.debugLineNum = 1245394;BA.debugLine="almacen = 0"; +__ref._almacen /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1245395; + //BA.debugLineNum = 1245395;BA.debugLine="rutaPreventa = 0"; +__ref._rutapreventa /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1245396; + //BA.debugLineNum = 1245396;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=1245398; + //BA.debugLineNum = 1245398;BA.debugLine="If Subs.traeUsarIntentBDWA Then"; if (_subs._traeusarintentbdwa /*boolean*/ (ba)) { - //BA.debugLineNum = 307;BA.debugLine="Subs.importaBDDesdeWhatsApp"; +RDebugUtils.currentLine=1245399; + //BA.debugLineNum = 1245399;BA.debugLine="Subs.importaBDDesdeWhatsApp"; _subs._importabddesdewhatsapp /*String*/ (ba); }; - //BA.debugLineNum = 309;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1245401; + //BA.debugLineNum = 1245401;BA.debugLine="End Sub"; return ""; } -public String _b4xswitch1_valuechanged(boolean _value) throws Exception{ - //BA.debugLineNum = 938;BA.debugLine="Private Sub B4XSwitch1_ValueChanged (Value As Bool"; - //BA.debugLineNum = 939;BA.debugLine="If Value Then"; +public String _initialize(gunav2.keymon.com.mx.b4xmainpage __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=1179648; + //BA.debugLineNum = 1179648;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=1179650; + //BA.debugLineNum = 1179650;BA.debugLine="End Sub"; +return ""; +} +public String _b4xswitch1_valuechanged(gunav2.keymon.com.mx.b4xmainpage __ref,boolean _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xswitch1_valuechanged", false)) + {return ((String) Debug.delegate(ba, "b4xswitch1_valuechanged", new Object[] {_value}));} +RDebugUtils.currentLine=2621440; + //BA.debugLineNum = 2621440;BA.debugLine="Private Sub B4XSwitch1_ValueChanged (Value As Bool"; +RDebugUtils.currentLine=2621441; + //BA.debugLineNum = 2621441;BA.debugLine="If Value Then"; if (_value) { - //BA.debugLineNum = 940;BA.debugLine="Log(\"1\")"; -__c.LogImpl("439190530","1",0); - //BA.debugLineNum = 941;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT"; -_skmt.ExecNonQuery2("UPDATE IMPRESORA SET HABILITADA = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); +RDebugUtils.currentLine=2621442; + //BA.debugLineNum = 2621442;BA.debugLine="Log(\"1\")"; +__c.LogImpl("02621442","1",0); +RDebugUtils.currentLine=2621443; + //BA.debugLineNum = 2621443;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE IMPRESORA SET HABILITADA = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); }else { - //BA.debugLineNum = 943;BA.debugLine="Log(\"desactivado\")"; -__c.LogImpl("439190533","desactivado",0); - //BA.debugLineNum = 944;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT"; -_skmt.ExecNonQuery2("UPDATE IMPRESORA SET HABILITADA = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); +RDebugUtils.currentLine=2621445; + //BA.debugLineNum = 2621445;BA.debugLine="Log(\"desactivado\")"; +__c.LogImpl("02621445","desactivado",0); +RDebugUtils.currentLine=2621446; + //BA.debugLineNum = 2621446;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE IMPRESORA SET HABILITADA = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); }; - //BA.debugLineNum = 946;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2621448; + //BA.debugLineNum = 2621448;BA.debugLine="End Sub"; return ""; } -public String _b4xswitch2_valuechanged(boolean _value2) throws Exception{ - //BA.debugLineNum = 948;BA.debugLine="Private Sub B4XSwitch2_ValueChanged (Value2 As Boo"; - //BA.debugLineNum = 949;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CARGA_DIA"}))); - //BA.debugLineNum = 950;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 951;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 952;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then"; -if ((_c.GetString("CAT_VA_VALOR")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 953;BA.debugLine="If Value2 Then"; +public String _b4xswitch2_valuechanged(gunav2.keymon.com.mx.b4xmainpage __ref,boolean _value2) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xswitch2_valuechanged", false)) + {return ((String) Debug.delegate(ba, "b4xswitch2_valuechanged", new Object[] {_value2}));} +RDebugUtils.currentLine=2686976; + //BA.debugLineNum = 2686976;BA.debugLine="Private Sub B4XSwitch2_ValueChanged (Value2 As Boo"; +RDebugUtils.currentLine=2686977; + //BA.debugLineNum = 2686977;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CARGA_DIA"}))); +RDebugUtils.currentLine=2686978; + //BA.debugLineNum = 2686978;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=2686979; + //BA.debugLineNum = 2686979;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2686980; + //BA.debugLineNum = 2686980;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=2686981; + //BA.debugLineNum = 2686981;BA.debugLine="If Value2 Then"; if (_value2) { - //BA.debugLineNum = 954;BA.debugLine="p_validacion.Visible = True"; -_p_validacion.setVisible(__c.True); - //BA.debugLineNum = 955;BA.debugLine="p_validacion.Left = (Root.Width/2) - (p_appUpd"; -_p_validacion.setLeft((int) ((_root.getWidth()/(double)2)-(_p_appupdate.getWidth()/(double)2))); - //BA.debugLineNum = 956;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_validacion,(int) (0),(int) (0)); - //BA.debugLineNum = 957;BA.debugLine="p_validacion.Height = Root.Height"; -_p_validacion.setHeight(_root.getHeight()); - //BA.debugLineNum = 958;BA.debugLine="p_validacion.Width = Root.Width"; -_p_validacion.setWidth(_root.getWidth()); +RDebugUtils.currentLine=2686982; + //BA.debugLineNum = 2686982;BA.debugLine="p_validacion.Visible = True"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=2686983; + //BA.debugLineNum = 2686983;BA.debugLine="p_validacion.Left = (Root.Width/2) - (p_appUpd"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) ((__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=2686984; + //BA.debugLineNum = 2686984;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=2686985; + //BA.debugLineNum = 2686985;BA.debugLine="p_validacion.Height = Root.Height"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=2686986; + //BA.debugLineNum = 2686986;BA.debugLine="p_validacion.Width = Root.Width"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); }else { - //BA.debugLineNum = 960;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; -_skmt.ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); +RDebugUtils.currentLine=2686988; + //BA.debugLineNum = 2686988;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); }; }else { - //BA.debugLineNum = 963;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día"; +RDebugUtils.currentLine=2686991; + //BA.debugLineNum = 2686991;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor primero haz carga de día"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 964;BA.debugLine="B4XSwitch2.Value = False"; -_b4xswitch2._setvalue /*boolean*/ (__c.False); +RDebugUtils.currentLine=2686992; + //BA.debugLineNum = 2686992;BA.debugLine="B4XSwitch2.Value = False"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.False); }; }else { - //BA.debugLineNum = 967;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día\""; +RDebugUtils.currentLine=2686995; + //BA.debugLineNum = 2686995;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día\""; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor primero haz carga de día"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 968;BA.debugLine="B4XSwitch2.Value = False"; -_b4xswitch2._setvalue /*boolean*/ (__c.False); +RDebugUtils.currentLine=2686996; + //BA.debugLineNum = 2686996;BA.debugLine="B4XSwitch2.Value = False"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.False); }; - //BA.debugLineNum = 970;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2686998; + //BA.debugLineNum = 2686998;BA.debugLine="End Sub"; return ""; } -public String _cb_importarbdwa_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 1118;BA.debugLine="Private Sub cb_importarBDWA_CheckedChange(Checked"; - //BA.debugLineNum = 1120;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_VARIAB"; +public String _cb_importarbdwa_checkedchange(gunav2.keymon.com.mx.b4xmainpage __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "cb_importarbdwa_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb_importarbdwa_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=3211264; + //BA.debugLineNum = 3211264;BA.debugLine="Private Sub cb_importarBDWA_CheckedChange(Checked"; +RDebugUtils.currentLine=3211266; + //BA.debugLineNum = 3211266;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_VARIAB"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'IMPORTAR_BD_WA'"); - //BA.debugLineNum = 1121;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CAT_VARIA"; +RDebugUtils.currentLine=3211267; + //BA.debugLineNum = 3211267;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CAT_VARIA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('IMPORTAR_BD_WA', '"+__c.SmartStringFormatter("",(Object)(_checked))+"')")); - //BA.debugLineNum = 1122;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3211268; + //BA.debugLineNum = 3211268;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 18;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 19;BA.debugLine="Private Root As B4XView"; +public String _class_globals(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +RDebugUtils.currentLine=1114112; + //BA.debugLineNum = 1114112;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=1114113; + //BA.debugLineNum = 1114113;BA.debugLine="Private Root As B4XView"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private xui As XUI"; +RDebugUtils.currentLine=1114114; + //BA.debugLineNum = 1114114;BA.debugLine="Private xui As XUI"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 21;BA.debugLine="Public login As B4XMainPage"; +RDebugUtils.currentLine=1114115; + //BA.debugLineNum = 1114115;BA.debugLine="Public login As B4XMainPage"; _login = new gunav2.keymon.com.mx.b4xmainpage(); - //BA.debugLineNum = 22;BA.debugLine="Public principal As C_Principal"; +RDebugUtils.currentLine=1114116; + //BA.debugLineNum = 1114116;BA.debugLine="Public principal As C_Principal"; _principal = new gunav2.keymon.com.mx.c_principal(); - //BA.debugLineNum = 23;BA.debugLine="Public clientes As C_Clientes"; +RDebugUtils.currentLine=1114117; + //BA.debugLineNum = 1114117;BA.debugLine="Public clientes As C_Clientes"; _clientes = new gunav2.keymon.com.mx.c_clientes(); - //BA.debugLineNum = 24;BA.debugLine="Public cliente As C_Cliente"; +RDebugUtils.currentLine=1114118; + //BA.debugLineNum = 1114118;BA.debugLine="Public cliente As C_Cliente"; _cliente = new gunav2.keymon.com.mx.c_cliente(); - //BA.debugLineNum = 25;BA.debugLine="Public productos As C_Productos"; +RDebugUtils.currentLine=1114119; + //BA.debugLineNum = 1114119;BA.debugLine="Public productos As C_Productos"; _productos = new gunav2.keymon.com.mx.c_productos(); - //BA.debugLineNum = 26;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; +RDebugUtils.currentLine=1114120; + //BA.debugLineNum = 1114120;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; _updateavailable = new gunav2.keymon.com.mx.c_updateavailable(); - //BA.debugLineNum = 27;BA.debugLine="Public mapas As C_Mapas"; +RDebugUtils.currentLine=1114121; + //BA.debugLineNum = 1114121;BA.debugLine="Public mapas As C_Mapas"; _mapas = new gunav2.keymon.com.mx.c_mapas(); - //BA.debugLineNum = 28;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; +RDebugUtils.currentLine=1114122; + //BA.debugLineNum = 1114122;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; _nuevocliente = new gunav2.keymon.com.mx.c_nuevocliente(); - //BA.debugLineNum = 29;BA.debugLine="Public ticketsDia As C_TicketsDia"; +RDebugUtils.currentLine=1114123; + //BA.debugLineNum = 1114123;BA.debugLine="Public ticketsDia As C_TicketsDia"; _ticketsdia = new gunav2.keymon.com.mx.c_ticketsdia(); - //BA.debugLineNum = 30;BA.debugLine="Public noVenta As C_NoVenta"; +RDebugUtils.currentLine=1114124; + //BA.debugLineNum = 1114124;BA.debugLine="Public noVenta As C_NoVenta"; _noventa = new gunav2.keymon.com.mx.c_noventa(); - //BA.debugLineNum = 31;BA.debugLine="Public nota As C_Nota"; +RDebugUtils.currentLine=1114125; + //BA.debugLineNum = 1114125;BA.debugLine="Public nota As C_Nota"; _nota = new gunav2.keymon.com.mx.c_nota(); - //BA.debugLineNum = 32;BA.debugLine="Public pedidos As C_Pedidos"; +RDebugUtils.currentLine=1114126; + //BA.debugLineNum = 1114126;BA.debugLine="Public pedidos As C_Pedidos"; _pedidos = new gunav2.keymon.com.mx.c_pedidos(); - //BA.debugLineNum = 33;BA.debugLine="Public promos As C_Promos"; +RDebugUtils.currentLine=1114127; + //BA.debugLineNum = 1114127;BA.debugLine="Public promos As C_Promos"; _promos = new gunav2.keymon.com.mx.c_promos(); - //BA.debugLineNum = 34;BA.debugLine="Public historico As C_Historico"; +RDebugUtils.currentLine=1114128; + //BA.debugLineNum = 1114128;BA.debugLine="Public historico As C_Historico"; _historico = new gunav2.keymon.com.mx.c_historico(); - //BA.debugLineNum = 36;BA.debugLine="Public historicobat As C_historicobat"; +RDebugUtils.currentLine=1114129; + //BA.debugLineNum = 1114129;BA.debugLine="Public Clientes_Completos As C_ClientesCompletos"; +_clientes_completos = new gunav2.keymon.com.mx.c_clientescompletos(); +RDebugUtils.currentLine=1114130; + //BA.debugLineNum = 1114130;BA.debugLine="Public Tclientes As V_Tclientes"; +_tclientes = new gunav2.keymon.com.mx.v_tclientes(); +RDebugUtils.currentLine=1114132; + //BA.debugLineNum = 1114132;BA.debugLine="Public historicobat As C_historicobat"; _historicobat = new gunav2.keymon.com.mx.c_historicobat(); - //BA.debugLineNum = 37;BA.debugLine="Dim reqManager As DBRequestManager"; +RDebugUtils.currentLine=1114134; + //BA.debugLineNum = 1114134;BA.debugLine="Dim reqManager As DBRequestManager"; _reqmanager = new gunav2.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 38;BA.debugLine="Dim v As String = Application.VersionName"; +RDebugUtils.currentLine=1114135; + //BA.debugLineNum = 1114135;BA.debugLine="Dim v As String = Application.VersionName"; _v = __c.Application.getVersionName(); - //BA.debugLineNum = 39;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=1114136; + //BA.debugLineNum = 1114136;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 40;BA.debugLine="Dim tgl As Toggle"; +RDebugUtils.currentLine=1114137; + //BA.debugLineNum = 1114137;BA.debugLine="Dim tgl As Toggle"; _tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 41;BA.debugLine="Dim lat_gps, lon_gps As String"; +RDebugUtils.currentLine=1114138; + //BA.debugLineNum = 1114138;BA.debugLine="Dim lat_gps, lon_gps As String"; _lat_gps = ""; _lon_gps = ""; - //BA.debugLineNum = 42;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=1114139; + //BA.debugLineNum = 1114139;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 43;BA.debugLine="Dim batt As Int"; +RDebugUtils.currentLine=1114140; + //BA.debugLineNum = 1114140;BA.debugLine="Dim batt As Int"; _batt = 0; - //BA.debugLineNum = 44;BA.debugLine="Dim skmt As SQL"; +RDebugUtils.currentLine=1114141; + //BA.debugLineNum = 1114141;BA.debugLine="Dim skmt As SQL"; _skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 45;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; +RDebugUtils.currentLine=1114142; + //BA.debugLineNum = 1114142;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; _montoactual = ""; _clientestotal = ""; _clientesventa = ""; _clientesvisitados = ""; _almacen = ""; _rutapreventa = ""; - //BA.debugLineNum = 46;BA.debugLine="Dim server, fechaRuta As String"; +RDebugUtils.currentLine=1114143; + //BA.debugLineNum = 1114143;BA.debugLine="Dim server, fechaRuta As String"; _server = ""; _fecharuta = ""; - //BA.debugLineNum = 47;BA.debugLine="Dim Logger As Boolean"; +RDebugUtils.currentLine=1114144; + //BA.debugLineNum = 1114144;BA.debugLine="Dim Logger As Boolean"; _logger = false; - //BA.debugLineNum = 48;BA.debugLine="Dim mac_impresora As String"; +RDebugUtils.currentLine=1114145; + //BA.debugLineNum = 1114145;BA.debugLine="Dim mac_impresora As String"; _mac_impresora = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim Phn As PhoneId"; +RDebugUtils.currentLine=1114146; + //BA.debugLineNum = 1114146;BA.debugLine="Dim Phn As PhoneId"; _phn = new anywheresoftware.b4a.phone.Phone.PhoneId(); - //BA.debugLineNum = 51;BA.debugLine="Dim user As EditText"; +RDebugUtils.currentLine=1114148; + //BA.debugLineNum = 1114148;BA.debugLine="Dim user As EditText"; _user = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Dim pass As EditText"; +RDebugUtils.currentLine=1114149; + //BA.debugLineNum = 1114149;BA.debugLine="Dim pass As EditText"; _pass = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=1114150; + //BA.debugLineNum = 1114150;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Dim existe As String"; +RDebugUtils.currentLine=1114151; + //BA.debugLineNum = 1114151;BA.debugLine="Dim existe As String"; _existe = ""; - //BA.debugLineNum = 55;BA.debugLine="Dim paso1 As String"; +RDebugUtils.currentLine=1114152; + //BA.debugLineNum = 1114152;BA.debugLine="Dim paso1 As String"; _paso1 = ""; - //BA.debugLineNum = 56;BA.debugLine="Private IMEN As Label"; +RDebugUtils.currentLine=1114153; + //BA.debugLineNum = 1114153;BA.debugLine="Private IMEN As Label"; _imen = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Dim IMEI As String = \"\""; +RDebugUtils.currentLine=1114154; + //BA.debugLineNum = 1114154;BA.debugLine="Dim IMEI As String = \"\""; _imei = ""; - //BA.debugLineNum = 58;BA.debugLine="Dim alterno As String"; +RDebugUtils.currentLine=1114155; + //BA.debugLineNum = 1114155;BA.debugLine="Dim alterno As String"; _alterno = ""; - //BA.debugLineNum = 59;BA.debugLine="Private b_menu As Button"; +RDebugUtils.currentLine=1114156; + //BA.debugLineNum = 1114156;BA.debugLine="Private b_menu As Button"; _b_menu = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 60;BA.debugLine="Dim PopupMenu As RSPopupMenu"; +RDebugUtils.currentLine=1114157; + //BA.debugLineNum = 1114157;BA.debugLine="Dim PopupMenu As RSPopupMenu"; _popupmenu = new com.rootsoft.rspopupmenu.RSPopupMenu(); - //BA.debugLineNum = 61;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=1114158; + //BA.debugLineNum = 1114158;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 62;BA.debugLine="Private PDF As Button"; +RDebugUtils.currentLine=1114159; + //BA.debugLineNum = 1114159;BA.debugLine="Private PDF As Button"; _pdf = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 63;BA.debugLine="Private bpv1 As BatteryProgressView"; +RDebugUtils.currentLine=1114160; + //BA.debugLineNum = 1114160;BA.debugLine="Private bpv1 As BatteryProgressView"; _bpv1 = new batteryprogressviewwrapper.batteryprogressviewWrapper(); - //BA.debugLineNum = 64;BA.debugLine="Dim batterystatus(11) As Int"; +RDebugUtils.currentLine=1114161; + //BA.debugLineNum = 1114161;BA.debugLine="Dim batterystatus(11) As Int"; _batterystatus = new int[(int) (11)]; ; - //BA.debugLineNum = 65;BA.debugLine="Private bu As BatteryUtilities"; +RDebugUtils.currentLine=1114162; + //BA.debugLineNum = 1114162;BA.debugLine="Private bu As BatteryUtilities"; _bu = new gunav2.keymon.com.mx.batteryutilities(); - //BA.debugLineNum = 66;BA.debugLine="Private b_apk As Button"; +RDebugUtils.currentLine=1114163; + //BA.debugLineNum = 1114163;BA.debugLine="Private b_apk As Button"; _b_apk = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Private i_engrane As ImageView"; +RDebugUtils.currentLine=1114164; + //BA.debugLineNum = 1114164;BA.debugLine="Private i_engrane As ImageView"; _i_engrane = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Private p_Main As Panel"; +RDebugUtils.currentLine=1114165; + //BA.debugLineNum = 1114165;BA.debugLine="Private p_Main As Panel"; _p_main = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 69;BA.debugLine="Private p_appUpdate As Panel"; +RDebugUtils.currentLine=1114166; + //BA.debugLineNum = 1114166;BA.debugLine="Private p_appUpdate As Panel"; _p_appupdate = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 70;BA.debugLine="Private b_regesar As Button"; +RDebugUtils.currentLine=1114167; + //BA.debugLineNum = 1114167;BA.debugLine="Private b_regesar As Button"; _b_regesar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Private l_version As Label"; +RDebugUtils.currentLine=1114168; + //BA.debugLineNum = 1114168;BA.debugLine="Private l_version As Label"; _l_version = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 72;BA.debugLine="Private ImageView1 As ImageView"; +RDebugUtils.currentLine=1114169; + //BA.debugLineNum = 1114169;BA.debugLine="Private ImageView1 As ImageView"; _imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 73;BA.debugLine="Private Label2 As Label"; +RDebugUtils.currentLine=1114170; + //BA.debugLineNum = 1114170;BA.debugLine="Private Label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 74;BA.debugLine="Dim Entrar As Button"; +RDebugUtils.currentLine=1114171; + //BA.debugLineNum = 1114171;BA.debugLine="Dim Entrar As Button"; _entrar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 75;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; +RDebugUtils.currentLine=1114172; + //BA.debugLineNum = 1114172;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; _tipo_venta = _subs._traetipoventadebd /*String*/ (ba); - //BA.debugLineNum = 76;BA.debugLine="Dim bTerminarClicked As Boolean = False"; +RDebugUtils.currentLine=1114173; + //BA.debugLineNum = 1114173;BA.debugLine="Dim bTerminarClicked As Boolean = False"; _bterminarclicked = __c.False; - //BA.debugLineNum = 77;BA.debugLine="Private lv_server As ListView"; +RDebugUtils.currentLine=1114174; + //BA.debugLineNum = 1114174;BA.debugLine="Private lv_server As ListView"; _lv_server = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 78;BA.debugLine="Private l_server As Label"; +RDebugUtils.currentLine=1114175; + //BA.debugLineNum = 1114175;BA.debugLine="Private l_server As Label"; _l_server = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Private b_envioBD As Button"; +RDebugUtils.currentLine=1114176; + //BA.debugLineNum = 1114176;BA.debugLine="Private b_envioBD As Button"; _b_enviobd = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 80;BA.debugLine="Public Provider As FileProvider"; +RDebugUtils.currentLine=1114177; + //BA.debugLineNum = 1114177;BA.debugLine="Public Provider As FileProvider"; _provider = new gunav2.keymon.com.mx.fileprovider(); - //BA.debugLineNum = 81;BA.debugLine="Public rutaBDBackup = \"\""; +RDebugUtils.currentLine=1114178; + //BA.debugLineNum = 1114178;BA.debugLine="Public rutaBDBackup = \"\""; _rutabdbackup = ""; - //BA.debugLineNum = 82;BA.debugLine="Private B4XSwitch1 As B4XSwitch"; +RDebugUtils.currentLine=1114179; + //BA.debugLineNum = 1114179;BA.debugLine="Private B4XSwitch1 As B4XSwitch"; _b4xswitch1 = new gunav2.keymon.com.mx.b4xswitch(); - //BA.debugLineNum = 83;BA.debugLine="Private p_validacion As Panel"; +RDebugUtils.currentLine=1114180; + //BA.debugLineNum = 1114180;BA.debugLine="Private p_validacion As Panel"; _p_validacion = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Private B4XSwitch2 As B4XSwitch"; +RDebugUtils.currentLine=1114181; + //BA.debugLineNum = 1114181;BA.debugLine="Private B4XSwitch2 As B4XSwitch"; _b4xswitch2 = new gunav2.keymon.com.mx.b4xswitch(); - //BA.debugLineNum = 85;BA.debugLine="Dim x As Int"; +RDebugUtils.currentLine=1114182; + //BA.debugLineNum = 1114182;BA.debugLine="Dim x As Int"; _x = 0; - //BA.debugLineNum = 86;BA.debugLine="Private et_codigo As EditText"; +RDebugUtils.currentLine=1114183; + //BA.debugLineNum = 1114183;BA.debugLine="Private et_codigo As EditText"; _et_codigo = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Dim buscandoActualizacion As Boolean = False"; +RDebugUtils.currentLine=1114184; + //BA.debugLineNum = 1114184;BA.debugLine="Dim buscandoActualizacion As Boolean = False"; _buscandoactualizacion = __c.False; - //BA.debugLineNum = 88;BA.debugLine="Dim actualizacionRevisada As Boolean = False 'Par"; +RDebugUtils.currentLine=1114185; + //BA.debugLineNum = 1114185;BA.debugLine="Dim actualizacionRevisada As Boolean = False 'Par"; _actualizacionrevisada = __c.False; - //BA.debugLineNum = 89;BA.debugLine="Private b_actualizacion As Button"; +RDebugUtils.currentLine=1114186; + //BA.debugLineNum = 1114186;BA.debugLine="Private b_actualizacion As Button"; _b_actualizacion = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Private et_server As EditText"; +RDebugUtils.currentLine=1114187; + //BA.debugLineNum = 1114187;BA.debugLine="Private et_server As EditText"; _et_server = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Dim intentUsado As Boolean = False"; +RDebugUtils.currentLine=1114188; + //BA.debugLineNum = 1114188;BA.debugLine="Dim intentUsado As Boolean = False"; _intentusado = __c.False; - //BA.debugLineNum = 92;BA.debugLine="Private p_importarBDWA As Panel"; +RDebugUtils.currentLine=1114189; + //BA.debugLineNum = 1114189;BA.debugLine="Private p_importarBDWA As Panel"; _p_importarbdwa = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private cb_importarBDWA As CheckBox"; +RDebugUtils.currentLine=1114190; + //BA.debugLineNum = 1114190;BA.debugLine="Private cb_importarBDWA As CheckBox"; _cb_importarbdwa = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Dim pkg As PackageManager"; +RDebugUtils.currentLine=1114192; + //BA.debugLineNum = 1114192;BA.debugLine="Dim pkg As PackageManager"; _pkg = new anywheresoftware.b4a.phone.PackageManagerWrapper(); - //BA.debugLineNum = 97;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1114194; + //BA.debugLineNum = 1114194;BA.debugLine="End Sub"; return ""; } -public void _copiadb() throws Exception{ -ResumableSub_copiaDB rsub = new ResumableSub_copiaDB(this); +public void _copiadb(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "copiadb", false)) + {Debug.delegate(ba, "copiadb", null); return;} +ResumableSub_copiaDB rsub = new ResumableSub_copiaDB(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_copiaDB extends BA.ResumableSub { -public ResumableSub_copiaDB(gunav2.keymon.com.mx.b4xmainpage parent) { +public ResumableSub_copiaDB(gunav2.keymon.com.mx.b4xmainpage parent,gunav2.keymon.com.mx.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xmainpage __ref; gunav2.keymon.com.mx.b4xmainpage parent; String _permission = ""; boolean _result = false; @@ -1408,6 +1995,7 @@ String _thedir = ""; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { try { @@ -1419,21 +2007,25 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 833;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=2097153; + //BA.debugLineNum = 2097153;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 834;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=2097154; + //BA.debugLineNum = 2097154;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "copiadb"), null); this.state = 19; return; case 19: //C this.state = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 835;BA.debugLine="Dim theDir As String = \"\""; +RDebugUtils.currentLine=2097155; + //BA.debugLineNum = 2097155;BA.debugLine="Dim theDir As String = \"\""; _thedir = ""; - //BA.debugLineNum = 836;BA.debugLine="If Result Then"; +RDebugUtils.currentLine=2097156; + //BA.debugLineNum = 2097156;BA.debugLine="If Result Then"; if (true) break; case 1: @@ -1448,9 +2040,11 @@ this.state = 17; case 3: //C this.state = 4; - //BA.debugLineNum = 837;BA.debugLine="Dim theDir As String"; +RDebugUtils.currentLine=2097157; + //BA.debugLineNum = 2097157;BA.debugLine="Dim theDir As String"; _thedir = ""; - //BA.debugLineNum = 838;BA.debugLine="Try"; +RDebugUtils.currentLine=2097158; + //BA.debugLineNum = 2097158;BA.debugLine="Try"; if (true) break; case 4: @@ -1464,9 +2058,11 @@ case 6: //C this.state = 9; this.catchState = 8; - //BA.debugLineNum = 839;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")"; +RDebugUtils.currentLine=2097159; + //BA.debugLineNum = 2097159;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")"; parent.__c.File.MakeDir(parent.__c.File.getDirRootExternal(),"kmts"); - //BA.debugLineNum = 840;BA.debugLine="theDir = \"/kmts\""; +RDebugUtils.currentLine=2097160; + //BA.debugLineNum = 2097160;BA.debugLine="theDir = \"/kmts\""; _thedir = "/kmts"; if (true) break; @@ -1474,7 +2070,8 @@ case 8: //C this.state = 9; this.catchState = 0; - //BA.debugLineNum = 842;BA.debugLine="theDir = \"\""; +RDebugUtils.currentLine=2097162; + //BA.debugLineNum = 2097162;BA.debugLine="theDir = \"\""; _thedir = ""; if (true) break; if (true) break; @@ -1484,9 +2081,11 @@ case 9: this.state = 10; this.catchState = 0; ; - //BA.debugLineNum = 844;BA.debugLine="rutaBDBackup = File.DirRootExternal&theDir"; -parent._rutabdbackup = parent.__c.File.getDirRootExternal()+_thedir; - //BA.debugLineNum = 845;BA.debugLine="Try"; +RDebugUtils.currentLine=2097164; + //BA.debugLineNum = 2097164;BA.debugLine="rutaBDBackup = File.DirRootExternal&theDir"; +__ref._rutabdbackup /*String*/ = parent.__c.File.getDirRootExternal()+_thedir; +RDebugUtils.currentLine=2097165; + //BA.debugLineNum = 2097165;BA.debugLine="Try"; if (true) break; case 10: @@ -1500,9 +2099,11 @@ case 12: //C this.state = 15; this.catchState = 14; - //BA.debugLineNum = 846;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo"; +RDebugUtils.currentLine=2097166; + //BA.debugLineNum = 2097166;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo"; parent.__c.File.Copy(parent.__c.File.getDirInternal(),"kmt.db",parent.__c.File.getDirRootExternal()+_thedir,"cedex_kmt.db"); - //BA.debugLineNum = 847;BA.debugLine="ToastMessageShow(\"Listo\", False)"; +RDebugUtils.currentLine=2097167; + //BA.debugLineNum = 2097167;BA.debugLine="ToastMessageShow(\"Listo\", False)"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Listo"),parent.__c.False); if (true) break; @@ -1510,7 +2111,8 @@ case 14: //C this.state = 15; this.catchState = 0; - //BA.debugLineNum = 849;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +RDebugUtils.currentLine=2097169; + //BA.debugLineNum = 2097169;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(parent.__c.LastException(ba))),parent.__c.True); if (true) break; if (true) break; @@ -1525,7 +2127,8 @@ this.catchState = 0; case 17: //C this.state = 18; - //BA.debugLineNum = 852;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +RDebugUtils.currentLine=2097172; + //BA.debugLineNum = 2097172;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),parent.__c.False); if (true) break; @@ -1533,9 +2136,11 @@ case 18: //C this.state = -1; ; - //BA.debugLineNum = 854;BA.debugLine="Log(rutaBDBackup)"; -parent.__c.LogImpl("438666262",parent._rutabdbackup,0); - //BA.debugLineNum = 855;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2097174; + //BA.debugLineNum = 2097174;BA.debugLine="Log(rutaBDBackup)"; +parent.__c.LogImpl("02097174",__ref._rutabdbackup /*String*/ ,0); +RDebugUtils.currentLine=2097175; + //BA.debugLineNum = 2097175;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -1549,266 +2154,369 @@ ba.setLastException(e0);} } } } -public String _dameusuario() throws Exception{ - //BA.debugLineNum = 802;BA.debugLine="Sub dameUsuario"; - //BA.debugLineNum = 803;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()}))); - //BA.debugLineNum = 804;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 805;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; -_existe = _c.GetString("EXISTE1"); - //BA.debugLineNum = 806;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 807;BA.debugLine="If existe > 0 Then"; -if ((double)(Double.parseDouble(_existe))>0) { - //BA.debugLineNum = 808;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 809;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 810;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - }else { - //BA.debugLineNum = 812;BA.debugLine="usuario = \"SINUSUARIO\""; -_usuario = "SINUSUARIO"; - }; - //BA.debugLineNum = 814;BA.debugLine="End Sub"; -return ""; -} -public String _entrar_click() throws Exception{ +public String _entrar_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "entrar_click", false)) + {return ((String) Debug.delegate(ba, "entrar_click", null));} anywheresoftware.b4a.agraham.reflection.Reflection _r = null; int _api = 0; anywheresoftware.b4a.phone.Phone _pp = null; int _id = 0; - //BA.debugLineNum = 426;BA.debugLine="Sub Entrar_Click"; - //BA.debugLineNum = 427;BA.debugLine="Dim r As Reflector"; +RDebugUtils.currentLine=1376256; + //BA.debugLineNum = 1376256;BA.debugLine="Sub Entrar_Click"; +RDebugUtils.currentLine=1376257; + //BA.debugLineNum = 1376257;BA.debugLine="Dim r As Reflector"; _r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 428;BA.debugLine="Dim Api As Int"; +RDebugUtils.currentLine=1376258; + //BA.debugLineNum = 1376258;BA.debugLine="Dim Api As Int"; _api = 0; - //BA.debugLineNum = 429;BA.debugLine="Dim PP As Phone"; +RDebugUtils.currentLine=1376259; + //BA.debugLineNum = 1376259;BA.debugLine="Dim PP As Phone"; _pp = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 430;BA.debugLine="user.Text = user.Text.trim"; -_user.setText(BA.ObjectToCharSequence(_user.getText().trim())); - //BA.debugLineNum = 431;BA.debugLine="LogColor(Starter.server, Colors.Blue)"; -__c.LogImpl("437945349",_starter._server /*String*/ ,__c.Colors.Blue); - //BA.debugLineNum = 432;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\""; +RDebugUtils.currentLine=1376260; + //BA.debugLineNum = 1376260;BA.debugLine="user.Text = user.Text.trim"; +__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim())); +RDebugUtils.currentLine=1376261; + //BA.debugLineNum = 1376261;BA.debugLine="LogColor(Starter.server, Colors.Blue)"; +__c.LogImpl("01376261",_starter._server /*String*/ ,__c.Colors.Blue); +RDebugUtils.currentLine=1376262; + //BA.debugLineNum = 1376262;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\""; _api = (int)(BA.ObjectToNumber(_r.GetStaticField("android.os.Build$VERSION","SDK_INT"))); - //BA.debugLineNum = 433;BA.debugLine="If Api < 9 Then"; +RDebugUtils.currentLine=1376263; + //BA.debugLineNum = 1376263;BA.debugLine="If Api < 9 Then"; if (_api<9) { - //BA.debugLineNum = 435;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then"; +RDebugUtils.currentLine=1376265; + //BA.debugLineNum = 1376265;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then"; if (__c.File.Exists(__c.File.getDirInternal(),"__id")) { - //BA.debugLineNum = 436;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id"; -_imei = __c.File.ReadString(__c.File.getDirInternal(),"__id"); - //BA.debugLineNum = 437;BA.debugLine="Log(1&\"-\"&IMEI)"; -__c.LogImpl("437945355",BA.NumberToString(1)+"-"+_imei,0); +RDebugUtils.currentLine=1376266; + //BA.debugLineNum = 1376266;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id"; +__ref._imei /*String*/ = __c.File.ReadString(__c.File.getDirInternal(),"__id"); +RDebugUtils.currentLine=1376267; + //BA.debugLineNum = 1376267;BA.debugLine="Log(1&\"-\"&IMEI)"; +__c.LogImpl("01376267",BA.NumberToString(1)+"-"+__ref._imei /*String*/ ,0); }else { - //BA.debugLineNum = 439;BA.debugLine="Dim id As Int"; +RDebugUtils.currentLine=1376269; + //BA.debugLineNum = 1376269;BA.debugLine="Dim id As Int"; _id = 0; - //BA.debugLineNum = 440;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)"; +RDebugUtils.currentLine=1376270; + //BA.debugLineNum = 1376270;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)"; _id = __c.Rnd(((int)0x10000000),((int)0x7fffffff)); - //BA.debugLineNum = 441;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)"; +RDebugUtils.currentLine=1376271; + //BA.debugLineNum = 1376271;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)"; __c.File.WriteString(__c.File.getDirInternal(),"__id",BA.NumberToString(_id)); - //BA.debugLineNum = 442;BA.debugLine="IMEI = id"; -_imei = BA.NumberToString(_id); - //BA.debugLineNum = 443;BA.debugLine="Log(2&\"-\"&IMEI)"; -__c.LogImpl("437945361",BA.NumberToString(2)+"-"+_imei,0); +RDebugUtils.currentLine=1376272; + //BA.debugLineNum = 1376272;BA.debugLine="IMEI = id"; +__ref._imei /*String*/ = BA.NumberToString(_id); +RDebugUtils.currentLine=1376273; + //BA.debugLineNum = 1376273;BA.debugLine="Log(2&\"-\"&IMEI)"; +__c.LogImpl("01376273",BA.NumberToString(2)+"-"+__ref._imei /*String*/ ,0); }; }else { - //BA.debugLineNum = 447;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE"; -_imei = BA.ObjectToString(_r.GetStaticField("android.os.Build","SERIAL")); - //BA.debugLineNum = 448;BA.debugLine="Log(3&\"-\"&IMEI)"; -__c.LogImpl("437945366",BA.NumberToString(3)+"-"+_imei,0); +RDebugUtils.currentLine=1376277; + //BA.debugLineNum = 1376277;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE"; +__ref._imei /*String*/ = BA.ObjectToString(_r.GetStaticField("android.os.Build","SERIAL")); +RDebugUtils.currentLine=1376278; + //BA.debugLineNum = 1376278;BA.debugLine="Log(3&\"-\"&IMEI)"; +__c.LogImpl("01376278",BA.NumberToString(3)+"-"+__ref._imei /*String*/ ,0); }; - //BA.debugLineNum = 450;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then"; -if ((_imei.toLowerCase()).equals("unknown")) { - //BA.debugLineNum = 451;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")"; -_imei = _pp.GetSettings("android_id"); +RDebugUtils.currentLine=1376280; + //BA.debugLineNum = 1376280;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then"; +if ((__ref._imei /*String*/ .toLowerCase()).equals("unknown")) { +RDebugUtils.currentLine=1376281; + //BA.debugLineNum = 1376281;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")"; +__ref._imei /*String*/ = _pp.GetSettings("android_id"); }; - //BA.debugLineNum = 453;BA.debugLine="Log(\"IMEI = \" & IMEI)"; -__c.LogImpl("437945371","IMEI = "+_imei,0); - //BA.debugLineNum = 454;BA.debugLine="If user.Text = \"ALTERNO\" Then"; -if ((_user.getText()).equals("ALTERNO")) { - //BA.debugLineNum = 455;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"}))); - //BA.debugLineNum = 456;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 457;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")"; -_server = _c.GetString("CAT_CO_CONFIGURACION"); - //BA.debugLineNum = 458;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")"; -_alterno = _c.GetString("CAT_CO_RESULTADO"); - //BA.debugLineNum = 459;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 460;BA.debugLine="If alterno = 1 Then"; -if ((_alterno).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 461;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; -_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); - //BA.debugLineNum = 462;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; -_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); - }else if((_alterno).equals(BA.NumberToString(2))) { - //BA.debugLineNum = 464;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; -_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); - //BA.debugLineNum = 465;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; -_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); - }; - //BA.debugLineNum = 467;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"}))); - //BA.debugLineNum = 468;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 469;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")"; -_server = _c.GetString("CAT_CO_CONFIGURACION"); - //BA.debugLineNum = 470;BA.debugLine="user.Text = server"; -_user.setText(BA.ObjectToCharSequence(_server)); - //BA.debugLineNum = 471;BA.debugLine="c.Close"; -_c.Close(); - }else if((_user.getText()).equals("KMTS1")) { - //BA.debugLineNum = 474;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; -_skmt.ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 475;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; -_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())})); - //BA.debugLineNum = 476;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; -_skmt.ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 477;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_pass.getText())})); - //BA.debugLineNum = 478;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; -_skmt.ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 479;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; -_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); - //BA.debugLineNum = 480;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=1376283; + //BA.debugLineNum = 1376283;BA.debugLine="Log(\"IMEI = \" & IMEI)"; +__c.LogImpl("01376283","IMEI = "+__ref._imei /*String*/ ,0); +RDebugUtils.currentLine=1376284; + //BA.debugLineNum = 1376284;BA.debugLine="If user.Text = \"ALTERNO\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("ALTERNO")) { +RDebugUtils.currentLine=1376285; + //BA.debugLineNum = 1376285;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"}))); +RDebugUtils.currentLine=1376286; + //BA.debugLineNum = 1376286;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1376287; + //BA.debugLineNum = 1376287;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")"; +__ref._server /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CO_CONFIGURACION"); +RDebugUtils.currentLine=1376288; + //BA.debugLineNum = 1376288;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")"; +__ref._alterno /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CO_RESULTADO"); +RDebugUtils.currentLine=1376289; + //BA.debugLineNum = 1376289;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1376290; + //BA.debugLineNum = 1376290;BA.debugLine="If alterno = 1 Then"; +if ((__ref._alterno /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=1376291; + //BA.debugLineNum = 1376291;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); +RDebugUtils.currentLine=1376292; + //BA.debugLineNum = 1376292;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); + }else +{RDebugUtils.currentLine=1376293; + //BA.debugLineNum = 1376293;BA.debugLine="Else if alterno = 2 Then"; +if ((__ref._alterno /*String*/ ).equals(BA.NumberToString(2))) { +RDebugUtils.currentLine=1376294; + //BA.debugLineNum = 1376294;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); +RDebugUtils.currentLine=1376295; + //BA.debugLineNum = 1376295;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); + }} +; +RDebugUtils.currentLine=1376297; + //BA.debugLineNum = 1376297;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"}))); +RDebugUtils.currentLine=1376298; + //BA.debugLineNum = 1376298;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1376299; + //BA.debugLineNum = 1376299;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")"; +__ref._server /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CO_CONFIGURACION"); +RDebugUtils.currentLine=1376300; + //BA.debugLineNum = 1376300;BA.debugLine="user.Text = server"; +__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._server /*String*/ )); +RDebugUtils.currentLine=1376301; + //BA.debugLineNum = 1376301;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=1376303; + //BA.debugLineNum = 1376303;BA.debugLine="else if user.Text = \"KMTS1\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { +RDebugUtils.currentLine=1376304; + //BA.debugLineNum = 1376304;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1376305; + //BA.debugLineNum = 1376305;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=1376306; + //BA.debugLineNum = 1376306;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1376307; + //BA.debugLineNum = 1376307;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=1376308; + //BA.debugLineNum = 1376308;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=1376309; + //BA.debugLineNum = 1376309;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); +RDebugUtils.currentLine=1376310; + //BA.debugLineNum = 1376310;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - }else if((_user.getText()).equals("BERNA1")) { - //BA.debugLineNum = 482;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; -_skmt.ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 483;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; -_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)("1")})); - //BA.debugLineNum = 484;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; -_skmt.ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 485;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1")})); - //BA.debugLineNum = 486;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; -_skmt.ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 487;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; -_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); - //BA.debugLineNum = 488;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; + }else +{RDebugUtils.currentLine=1376311; + //BA.debugLineNum = 1376311;BA.debugLine="else if user.Text = \"BERNA1\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("BERNA1")) { +RDebugUtils.currentLine=1376312; + //BA.debugLineNum = 1376312;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1376313; + //BA.debugLineNum = 1376313;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)("1")})); +RDebugUtils.currentLine=1376314; + //BA.debugLineNum = 1376314;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1376315; + //BA.debugLineNum = 1376315;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1")})); +RDebugUtils.currentLine=1376316; + //BA.debugLineNum = 1376316;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=1376317; + //BA.debugLineNum = 1376317;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); +RDebugUtils.currentLine=1376318; + //BA.debugLineNum = 1376318;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - }else if((_user.getText()).equals("IMEI")) { - //BA.debugLineNum = 490;BA.debugLine="user.Text = IMEI"; -_user.setText(BA.ObjectToCharSequence(_imei)); - }; - //BA.debugLineNum = 492;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()}))); - //BA.debugLineNum = 493;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 494;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; -_existe = _c.GetString("EXISTE1"); - //BA.debugLineNum = 495;BA.debugLine="If Subs.traeAlmacen <> \"NA\" Then"; + }else +{RDebugUtils.currentLine=1376319; + //BA.debugLineNum = 1376319;BA.debugLine="else if user.Text = \"IMEI\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("IMEI")) { +RDebugUtils.currentLine=1376320; + //BA.debugLineNum = 1376320;BA.debugLine="user.Text = IMEI"; +__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._imei /*String*/ )); + }}}} +; +RDebugUtils.currentLine=1376322; + //BA.debugLineNum = 1376322;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()}))); +RDebugUtils.currentLine=1376323; + //BA.debugLineNum = 1376323;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1376324; + //BA.debugLineNum = 1376324;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE1"); +RDebugUtils.currentLine=1376325; + //BA.debugLineNum = 1376325;BA.debugLine="If Subs.traeAlmacen <> \"NA\" Then"; if ((_subs._traealmacen /*String*/ (ba)).equals("NA") == false) { - //BA.debugLineNum = 496;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 497;BA.debugLine="cmd.Name = \"selectVersionAppGuna\""; -_cmd.Name /*String*/ = "selectVersionAppGuna"; - //BA.debugLineNum = 498;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmace"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._traealmacen /*String*/ (ba))}; - //BA.debugLineNum = 499;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeVersion\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("traeVersion")); +RDebugUtils.currentLine=1376326; + //BA.debugLineNum = 1376326;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1376327; + //BA.debugLineNum = 1376327;BA.debugLine="cmd.Name = \"selectVersionAppGuna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "selectVersionAppGuna"; +RDebugUtils.currentLine=1376328; + //BA.debugLineNum = 1376328;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmace"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_subs._traealmacen /*String*/ (ba))}; +RDebugUtils.currentLine=1376329; + //BA.debugLineNum = 1376329;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeVersion\")"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("traeVersion")); }; - //BA.debugLineNum = 501;BA.debugLine="If existe = 0 Then"; -if ((_existe).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 502;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=1376331; + //BA.debugLineNum = 1376331;BA.debugLine="If existe = 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=1376332; + //BA.debugLineNum = 1376332;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 503;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 504;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\" 'Antes s"; -_cmd.Name /*String*/ = "select_usuario_guna_GV2_10"; - //BA.debugLineNum = 505;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText().trim()),(Object)(_pass.getText().trim())}; - //BA.debugLineNum = 506;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario_10")); - //BA.debugLineNum = 529;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=1376333; + //BA.debugLineNum = 1376333;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1376334; + //BA.debugLineNum = 1376334;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\" 'Antes s"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_usuario_guna_GV2_10"; +RDebugUtils.currentLine=1376335; + //BA.debugLineNum = 1376335;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim,"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim())}; +RDebugUtils.currentLine=1376336; + //BA.debugLineNum = 1376336;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("usuario_10")); +RDebugUtils.currentLine=1376359; + //BA.debugLineNum = 1376359;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 530;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 531;BA.debugLine="cmd.Name = \"select_version_GV2\""; -_cmd.Name /*String*/ = "select_version_GV2"; - //BA.debugLineNum = 532;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("version")); +RDebugUtils.currentLine=1376360; + //BA.debugLineNum = 1376360;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1376361; + //BA.debugLineNum = 1376361;BA.debugLine="cmd.Name = \"select_version_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_version_GV2"; +RDebugUtils.currentLine=1376362; + //BA.debugLineNum = 1376362;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("version")); }else { - //BA.debugLineNum = 534;BA.debugLine="usuario = user.Text"; -_usuario = _user.getText(); - //BA.debugLineNum = 535;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=1376364; + //BA.debugLineNum = 1376364;BA.debugLine="usuario = user.Text"; +__ref._usuario /*String*/ = __ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=1376365; + //BA.debugLineNum = 1376365;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }; - //BA.debugLineNum = 537;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1376367; + //BA.debugLineNum = 1376367;BA.debugLine="End Sub"; return ""; } -public String _entrar_longclick() throws Exception{ - //BA.debugLineNum = 539;BA.debugLine="Sub Entrar_LongClick"; - //BA.debugLineNum = 541;BA.debugLine="End Sub"; +public String _entrar_longclick(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "entrar_longclick", false)) + {return ((String) Debug.delegate(ba, "entrar_longclick", null));} +RDebugUtils.currentLine=1441792; + //BA.debugLineNum = 1441792;BA.debugLine="Sub Entrar_LongClick"; +RDebugUtils.currentLine=1441794; + //BA.debugLineNum = 1441794;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 778;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 779;BA.debugLine="If user.text = \"GPS\" Then"; -if ((_user.getText()).equals("GPS")) { - //BA.debugLineNum = 780;BA.debugLine="user.Text=Location1.Latitude"; -_user.setText(BA.ObjectToCharSequence(_location1.getLatitude())); - //BA.debugLineNum = 781;BA.debugLine="pass.text=Location1.Longitude"; -_pass.setText(BA.ObjectToCharSequence(_location1.getLongitude())); +public String _gps_locationchanged(gunav2.keymon.com.mx.b4xmainpage __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=1703936; + //BA.debugLineNum = 1703936;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=1703937; + //BA.debugLineNum = 1703937;BA.debugLine="If user.text = \"GPS\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("GPS")) { +RDebugUtils.currentLine=1703938; + //BA.debugLineNum = 1703938;BA.debugLine="user.Text=Location1.Latitude"; +__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_location1.getLatitude())); +RDebugUtils.currentLine=1703939; + //BA.debugLineNum = 1703939;BA.debugLine="pass.text=Location1.Longitude"; +__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_location1.getLongitude())); }; - //BA.debugLineNum = 783;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1703941; + //BA.debugLineNum = 1703941;BA.debugLine="End Sub"; return ""; } -public String _i_engrane_click() throws Exception{ - //BA.debugLineNum = 871;BA.debugLine="Sub i_engrane_Click"; - //BA.debugLineNum = 872;BA.debugLine="p_appUpdate.Left = (Root.Width/2) - (p_appUpdate."; -_p_appupdate.setLeft((int) ((_root.getWidth()/(double)2)-(_p_appupdate.getWidth()/(double)2))); - //BA.debugLineNum = 873;BA.debugLine="lv_server.Clear"; -_lv_server.Clear(); - //BA.debugLineNum = 874;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1782\")"; -_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.net:1782")); - //BA.debugLineNum = 875;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; -if ((_user.getText()).equals("KMTS1")) { -_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1782"));}; - //BA.debugLineNum = 876;BA.debugLine="l_server.Text = Starter.server"; -_l_server.setText(BA.ObjectToCharSequence(_starter._server /*String*/ )); - //BA.debugLineNum = 877;BA.debugLine="et_server.Text = Starter.server"; -_et_server.setText(BA.ObjectToCharSequence(_starter._server /*String*/ )); - //BA.debugLineNum = 878;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_appupdate,(int) (0),(int) (0)); - //BA.debugLineNum = 879;BA.debugLine="p_appUpdate.Height = Root.Height"; -_p_appupdate.setHeight(_root.getHeight()); - //BA.debugLineNum = 880;BA.debugLine="p_appUpdate.Width = Root.Width"; -_p_appupdate.setWidth(_root.getWidth()); - //BA.debugLineNum = 881;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT HABILITADA FROM IMPRESORA"))); - //BA.debugLineNum = 882;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 883;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO IMPRESORA VALUES"; -_skmt.ExecNonQuery2("INSERT INTO IMPRESORA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); +public String _i_engrane_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "i_engrane_click", false)) + {return ((String) Debug.delegate(ba, "i_engrane_click", null));} +RDebugUtils.currentLine=2359296; + //BA.debugLineNum = 2359296;BA.debugLine="Sub i_engrane_Click"; +RDebugUtils.currentLine=2359297; + //BA.debugLineNum = 2359297;BA.debugLine="p_appUpdate.Left = (Root.Width/2) - (p_appUpdate."; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) ((__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=2359298; + //BA.debugLineNum = 2359298;BA.debugLine="lv_server.Clear"; +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=2359299; + //BA.debugLineNum = 2359299;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1782\")"; +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("http://keymon.net:1782")); +RDebugUtils.currentLine=2359300; + //BA.debugLineNum = 2359300;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1782"));}; +RDebugUtils.currentLine=2359301; + //BA.debugLineNum = 2359301;BA.debugLine="l_server.Text = Starter.server"; +__ref._l_server /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_starter._server /*String*/ )); +RDebugUtils.currentLine=2359302; + //BA.debugLineNum = 2359302;BA.debugLine="et_server.Text = Starter.server"; +__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_starter._server /*String*/ )); +RDebugUtils.currentLine=2359303; + //BA.debugLineNum = 2359303;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=2359304; + //BA.debugLineNum = 2359304;BA.debugLine="p_appUpdate.Height = Root.Height"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=2359305; + //BA.debugLineNum = 2359305;BA.debugLine="p_appUpdate.Width = Root.Width"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=2359306; + //BA.debugLineNum = 2359306;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADA FROM IMPRESORA"))); +RDebugUtils.currentLine=2359307; + //BA.debugLineNum = 2359307;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=2359308; + //BA.debugLineNum = 2359308;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO IMPRESORA VALUES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO IMPRESORA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); }; - //BA.debugLineNum = 885;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT HABILITADO FROM GPS"))); - //BA.debugLineNum = 886;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 887;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\","; -_skmt.ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); +RDebugUtils.currentLine=2359310; + //BA.debugLineNum = 2359310;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADO FROM GPS"))); +RDebugUtils.currentLine=2359311; + //BA.debugLineNum = 2359311;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=2359312; + //BA.debugLineNum = 2359312;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\","; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); }; - //BA.debugLineNum = 889;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then"; -if ((_user.getText().trim()).equals("KMTS1")) { - //BA.debugLineNum = 890;BA.debugLine="p_importarBDWA.Visible = True"; -_p_importarbdwa.setVisible(__c.True); +RDebugUtils.currentLine=2359314; + //BA.debugLineNum = 2359314;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()).equals("KMTS1")) { +RDebugUtils.currentLine=2359315; + //BA.debugLineNum = 2359315;BA.debugLine="p_importarBDWA.Visible = True"; +__ref._p_importarbdwa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); }else { - //BA.debugLineNum = 892;BA.debugLine="p_importarBDWA.Visible = False"; -_p_importarbdwa.setVisible(__c.False); +RDebugUtils.currentLine=2359317; + //BA.debugLineNum = 2359317;BA.debugLine="p_importarBDWA.Visible = False"; +__ref._p_importarbdwa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); }; - //BA.debugLineNum = 894;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2359319; + //BA.debugLineNum = 2359319;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 99;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 101;BA.debugLine="End Sub"; -return ""; -} -public String _jobdone(gunav2.keymon.com.mx.httpjob _job) throws Exception{ +public String _jobdone(gunav2.keymon.com.mx.b4xmainpage __ref,gunav2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} gunav2.keymon.com.mx.dbrequestmanager._dbresult _result = null; Object[] _records = null; String _cat_ve_version = ""; @@ -1836,25 +2544,35 @@ String _cat_ep_res1_pred = ""; String _cat_ep_res2_pred = ""; String _cat_ep_res3_pred = ""; String _cat_ep_orden_pregunta = ""; - //BA.debugLineNum = 547;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 548;BA.debugLine="Log(\"JOBDONE MAINPAGE\")"; -__c.LogImpl("438141953","JOBDONE MAINPAGE",0); - //BA.debugLineNum = 549;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("438141954",BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 550;BA.debugLine="If Job.Success = False Then"; +RDebugUtils.currentLine=1572864; + //BA.debugLineNum = 1572864;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=1572865; + //BA.debugLineNum = 1572865;BA.debugLine="Log(\"JOBDONE MAINPAGE\")"; +__c.LogImpl("01572865","JOBDONE MAINPAGE",0); +RDebugUtils.currentLine=1572866; + //BA.debugLineNum = 1572866;BA.debugLine="Log(Job.Success)"; +__c.LogImpl("01572866",BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=1572867; + //BA.debugLineNum = 1572867;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 551;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars"; -__c.LogImpl("438141956","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red); +RDebugUtils.currentLine=1572868; + //BA.debugLineNum = 1572868;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars"; +__c.LogImpl("01572868","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red); }else { - //BA.debugLineNum = 554;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("438141959","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 555;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1572871; + //BA.debugLineNum = 1572871;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("01572871","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=1572872; + //BA.debugLineNum = 1572872;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 556;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 557;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +RDebugUtils.currentLine=1572873; + //BA.debugLineNum = 1572873;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1572874; + //BA.debugLineNum = 1572874;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 558;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1572875; + //BA.debugLineNum = 1572875;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group10 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen10 = group10.getSize() @@ -1862,18 +2580,23 @@ final int groupLen10 = group10.getSize() ; for (; index10 < groupLen10;index10++){ _records = (Object[])(group10.Get(index10)); - //BA.debugLineNum = 559;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; -_skmt.ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 560;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; +RDebugUtils.currentLine=1572876; + //BA.debugLineNum = 1572876;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=1572877; + //BA.debugLineNum = 1572877;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; _cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]); - //BA.debugLineNum = 561;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER"; -_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); +RDebugUtils.currentLine=1572878; + //BA.debugLineNum = 1572878;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); } }; }; - //BA.debugLineNum = 565;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag"; +RDebugUtils.currentLine=1572882; + //BA.debugLineNum = 1572882;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("select_fechat"))) { - //BA.debugLineNum = 566;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1572883; + //BA.debugLineNum = 1572883;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group17 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen17 = group17.getSize() @@ -1881,7 +2604,8 @@ final int groupLen17 = group17.getSize() ; for (; index17 < groupLen17;index17++){ _records = (Object[])(group17.Get(index17)); - //BA.debugLineNum = 567;BA.debugLine="For Each k As String In result.Columns.Keys"; +RDebugUtils.currentLine=1572884; + //BA.debugLineNum = 1572884;BA.debugLine="For Each k As String In result.Columns.Keys"; { final anywheresoftware.b4a.BA.IterableList group18 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen18 = group18.getSize() @@ -1889,21 +2613,26 @@ final int groupLen18 = group18.getSize() ; for (; index18 < groupLen18;index18++){ _k = BA.ObjectToString(group18.Get(index18)); - //BA.debugLineNum = 568;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r"; -__c.LogImpl("438141973","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +RDebugUtils.currentLine=1572885; + //BA.debugLineNum = 1572885;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r"; +__c.LogImpl("01572885","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 574;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1572891; + //BA.debugLineNum = 1572891;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 575;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 576;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; +RDebugUtils.currentLine=1572892; + //BA.debugLineNum = 1572892;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1572893; + //BA.debugLineNum = 1572893;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) { - //BA.debugLineNum = 577;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1572894; + //BA.debugLineNum = 1572894;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group27 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen27 = group27.getSize() @@ -1911,19 +2640,24 @@ final int groupLen27 = group27.getSize() ; for (; index27 < groupLen27;index27++){ _records = (Object[])(group27.Get(index27)); - //BA.debugLineNum = 578;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +RDebugUtils.currentLine=1572895; + //BA.debugLineNum = 1572895;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; _id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("ID_ALMACEN"))))]); } }; }; }; - //BA.debugLineNum = 583;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1572900; + //BA.debugLineNum = 1572900;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 584;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req"; -_result1 = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 585;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta"; +RDebugUtils.currentLine=1572901; + //BA.debugLineNum = 1572901;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req"; +_result1 = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1572902; + //BA.debugLineNum = 1572902;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta"; if ((_result1.Tag /*Object*/ ).equals((Object)("CHECAENCUESTA"))) { - //BA.debugLineNum = 586;BA.debugLine="For Each records() As Object In result1.Rows"; +RDebugUtils.currentLine=1572903; + //BA.debugLineNum = 1572903;BA.debugLine="For Each records() As Object In result1.Rows"; { final anywheresoftware.b4a.BA.IterableList group35 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen35 = group35.getSize() @@ -1931,41 +2665,56 @@ final int groupLen35 = group35.getSize() ; for (; index35 < groupLen35;index35++){ _records = (Object[])(group35.Get(index35)); - //BA.debugLineNum = 587;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul"; +RDebugUtils.currentLine=1572904; + //BA.debugLineNum = 1572904;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul"; _cuantosencuesta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOS"))))]); - //BA.debugLineNum = 588;BA.debugLine="Log(CUANTOSENCUESTA)"; -__c.LogImpl("438141993",_cuantosencuesta,0); +RDebugUtils.currentLine=1572905; + //BA.debugLineNum = 1572905;BA.debugLine="Log(CUANTOSENCUESTA)"; +__c.LogImpl("01572905",_cuantosencuesta,0); } }; - //BA.debugLineNum = 590;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=1572907; + //BA.debugLineNum = 1572907;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 591;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=1572908; + //BA.debugLineNum = 1572908;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 592;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +RDebugUtils.currentLine=1572909; + //BA.debugLineNum = 1572909;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 593;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +RDebugUtils.currentLine=1572910; + //BA.debugLineNum = 1572910;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 594;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then"; +RDebugUtils.currentLine=1572911; + //BA.debugLineNum = 1572911;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then"; if ((_cuantosencuesta).equals("0")) { - //BA.debugLineNum = 595;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 596;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\""; -_cmd.Name /*String*/ = "insert_drop_GV2_4"; - //BA.debugLineNum = 597;BA.debugLine="cmd.Parameters = Array As Object(usuario,Subs"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_sdate),(Object)(""),(Object)(_stime),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("ENCUESTA"),(Object)(_almacen),(Object)(__c.Application.getVersionName()),(Object)(_starter._encuesta /*String*/ )}; - //BA.debugLineNum = 598;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_drop")); +RDebugUtils.currentLine=1572912; + //BA.debugLineNum = 1572912;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1572913; + //BA.debugLineNum = 1572913;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_GV2_4"; +RDebugUtils.currentLine=1572914; + //BA.debugLineNum = 1572914;BA.debugLine="cmd.Parameters = Array As Object(usuario,Subs"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._usuario /*String*/ ),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_sdate),(Object)(""),(Object)(_stime),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("ENCUESTA"),(Object)(__ref._almacen /*String*/ ),(Object)(__c.Application.getVersionName()),(Object)(_starter._encuesta /*String*/ )}; +RDebugUtils.currentLine=1572915; + //BA.debugLineNum = 1572915;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); }; }; }; - //BA.debugLineNum = 603;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1572920; + //BA.debugLineNum = 1572920;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 604;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 605;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag"; +RDebugUtils.currentLine=1572921; + //BA.debugLineNum = 1572921;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1572922; + //BA.debugLineNum = 1572922;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) { - //BA.debugLineNum = 606;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1572923; + //BA.debugLineNum = 1572923;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group54 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen54 = group54.getSize() @@ -1973,23 +2722,30 @@ final int groupLen54 = group54.getSize() ; for (; index54 < groupLen54;index54++){ _records = (Object[])(group54.Get(index54)); - //BA.debugLineNum = 607;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu"; +RDebugUtils.currentLine=1572924; + //BA.debugLineNum = 1572924;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu"; _fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]); - //BA.debugLineNum = 608;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")})); - //BA.debugLineNum = 609;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES"; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)})); +RDebugUtils.currentLine=1572925; + //BA.debugLineNum = 1572925;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")})); +RDebugUtils.currentLine=1572926; + //BA.debugLineNum = 1572926;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)})); } }; }; }; - //BA.debugLineNum = 614;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1572931; + //BA.debugLineNum = 1572931;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 615;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 616;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; +RDebugUtils.currentLine=1572932; + //BA.debugLineNum = 1572932;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1572933; + //BA.debugLineNum = 1572933;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { - //BA.debugLineNum = 617;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1572934; + //BA.debugLineNum = 1572934;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group64 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen64 = group64.getSize() @@ -1997,29 +2753,39 @@ final int groupLen64 = group64.getSize() ; for (; index64 < groupLen64;index64++){ _records = (Object[])(group64.Get(index64)); - //BA.debugLineNum = 618;BA.debugLine="Dim name As String = records(result.Columns.G"; +RDebugUtils.currentLine=1572935; + //BA.debugLineNum = 1572935;BA.debugLine="Dim name As String = records(result.Columns.G"; _name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]); - //BA.debugLineNum = 619;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +RDebugUtils.currentLine=1572936; + //BA.debugLineNum = 1572936;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; _id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]); - //BA.debugLineNum = 620;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; +RDebugUtils.currentLine=1572937; + //BA.debugLineNum = 1572937;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; _imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]); - //BA.debugLineNum = 621;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE"; -__c.LogImpl("438142026",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0); +RDebugUtils.currentLine=1572938; + //BA.debugLineNum = 1572938;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE"; +__c.LogImpl("01572938",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0); } }; - //BA.debugLineNum = 623;BA.debugLine="paso1 = 1"; -_paso1 = BA.NumberToString(1); - //BA.debugLineNum = 624;BA.debugLine="ToastMessageShow(name, False)"; +RDebugUtils.currentLine=1572940; + //BA.debugLineNum = 1572940;BA.debugLine="paso1 = 1"; +__ref._paso1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=1572941; + //BA.debugLineNum = 1572941;BA.debugLine="ToastMessageShow(name, False)"; __c.ToastMessageShow(BA.ObjectToCharSequence(_name),__c.False); }; }; - //BA.debugLineNum = 628;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1572945; + //BA.debugLineNum = 1572945;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 629;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 630;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag"; +RDebugUtils.currentLine=1572946; + //BA.debugLineNum = 1572946;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1572947; + //BA.debugLineNum = 1572947;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("usuario_10"))) { - //BA.debugLineNum = 631;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1572948; + //BA.debugLineNum = 1572948;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group77 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen77 = group77.getSize() @@ -2027,42 +2793,59 @@ final int groupLen77 = group77.getSize() ; for (; index77 < groupLen77;index77++){ _records = (Object[])(group77.Get(index77)); - //BA.debugLineNum = 632;BA.debugLine="Dim name As String = records(result.Columns.G"; +RDebugUtils.currentLine=1572949; + //BA.debugLineNum = 1572949;BA.debugLine="Dim name As String = records(result.Columns.G"; _name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]); - //BA.debugLineNum = 633;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +RDebugUtils.currentLine=1572950; + //BA.debugLineNum = 1572950;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; _id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]); - //BA.debugLineNum = 634;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; +RDebugUtils.currentLine=1572951; + //BA.debugLineNum = 1572951;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; _imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]); - //BA.debugLineNum = 635;BA.debugLine="Private version As String = records(result.C"; +RDebugUtils.currentLine=1572952; + //BA.debugLineNum = 1572952;BA.debugLine="Private version As String = records(result.C"; _version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSION"))))]); - //BA.debugLineNum = 636;BA.debugLine="Private versionador As String = records(resu"; +RDebugUtils.currentLine=1572953; + //BA.debugLineNum = 1572953;BA.debugLine="Private versionador As String = records(resu"; _versionador = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSIONADOR"))))]); - //BA.debugLineNum = 637;BA.debugLine="Private actualizarAplicacion As String = rec"; +RDebugUtils.currentLine=1572954; + //BA.debugLineNum = 1572954;BA.debugLine="Private actualizarAplicacion As String = rec"; _actualizaraplicacion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_ACTUALIZACION"))))]); } }; - //BA.debugLineNum = 639;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")})); - //BA.debugLineNum = 640;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)})); - //BA.debugLineNum = 641;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")})); - //BA.debugLineNum = 642;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)})); - //BA.debugLineNum = 645;BA.debugLine="Log(\"|\"&name&\"|\")"; -__c.LogImpl("438142050","|"+_name+"|",0); - //BA.debugLineNum = 646;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; -__c.LogImpl("438142051",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0); - //BA.debugLineNum = 647;BA.debugLine="paso1 = 1"; -_paso1 = BA.NumberToString(1); - //BA.debugLineNum = 648;BA.debugLine="IMEI_BASE = \"\""; +RDebugUtils.currentLine=1572956; + //BA.debugLineNum = 1572956;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")})); +RDebugUtils.currentLine=1572957; + //BA.debugLineNum = 1572957;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)})); +RDebugUtils.currentLine=1572958; + //BA.debugLineNum = 1572958;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")})); +RDebugUtils.currentLine=1572959; + //BA.debugLineNum = 1572959;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)})); +RDebugUtils.currentLine=1572962; + //BA.debugLineNum = 1572962;BA.debugLine="Log(\"|\"&name&\"|\")"; +__c.LogImpl("01572962","|"+_name+"|",0); +RDebugUtils.currentLine=1572963; + //BA.debugLineNum = 1572963;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; +__c.LogImpl("01572963",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0); +RDebugUtils.currentLine=1572964; + //BA.debugLineNum = 1572964;BA.debugLine="paso1 = 1"; +__ref._paso1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=1572965; + //BA.debugLineNum = 1572965;BA.debugLine="IMEI_BASE = \"\""; _imei_base = ""; - //BA.debugLineNum = 649;BA.debugLine="IMEI = \"\""; -_imei = ""; +RDebugUtils.currentLine=1572966; + //BA.debugLineNum = 1572966;BA.debugLine="IMEI = \"\""; +__ref._imei /*String*/ = ""; }; - //BA.debugLineNum = 652;BA.debugLine="If result.Tag = \"traeVersion\" Then 'query tag"; +RDebugUtils.currentLine=1572969; + //BA.debugLineNum = 1572969;BA.debugLine="If result.Tag = \"traeVersion\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("traeVersion"))) { - //BA.debugLineNum = 653;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1572970; + //BA.debugLineNum = 1572970;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group96 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen96 = group96.getSize() @@ -2070,31 +2853,42 @@ final int groupLen96 = group96.getSize() ; for (; index96 < groupLen96;index96++){ _records = (Object[])(group96.Get(index96)); - //BA.debugLineNum = 654;BA.debugLine="Private version As String = records(result.C"; +RDebugUtils.currentLine=1572971; + //BA.debugLineNum = 1572971;BA.debugLine="Private version As String = records(result.C"; _version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSION"))))]); - //BA.debugLineNum = 655;BA.debugLine="Private actualizarAplicacion As String = rec"; +RDebugUtils.currentLine=1572972; + //BA.debugLineNum = 1572972;BA.debugLine="Private actualizarAplicacion As String = rec"; _actualizaraplicacion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_ACTUALIZACION"))))]); } }; - //BA.debugLineNum = 657;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")})); - //BA.debugLineNum = 658;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)})); - //BA.debugLineNum = 659;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")})); - //BA.debugLineNum = 660;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)})); - //BA.debugLineNum = 661;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; -__c.LogImpl("438142066",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0); +RDebugUtils.currentLine=1572974; + //BA.debugLineNum = 1572974;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")})); +RDebugUtils.currentLine=1572975; + //BA.debugLineNum = 1572975;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)})); +RDebugUtils.currentLine=1572976; + //BA.debugLineNum = 1572976;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")})); +RDebugUtils.currentLine=1572977; + //BA.debugLineNum = 1572977;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES("; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)})); +RDebugUtils.currentLine=1572978; + //BA.debugLineNum = 1572978;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; +__c.LogImpl("01572978",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0); }; }; - //BA.debugLineNum = 665;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1572982; + //BA.debugLineNum = 1572982;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 666;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 667;BA.debugLine="If result.Tag = \"geopass\" Then 'query tag"; +RDebugUtils.currentLine=1572983; + //BA.debugLineNum = 1572983;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1572984; + //BA.debugLineNum = 1572984;BA.debugLine="If result.Tag = \"geopass\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("geopass"))) { - //BA.debugLineNum = 668;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1572985; + //BA.debugLineNum = 1572985;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group110 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen110 = group110.getSize() @@ -2102,69 +2896,101 @@ final int groupLen110 = group110.getSize() ; for (; index110 < groupLen110;index110++){ _records = (Object[])(group110.Get(index110)); - //BA.debugLineNum = 669;BA.debugLine="Dim cuenta As String = records(result.Columns"; +RDebugUtils.currentLine=1572986; + //BA.debugLineNum = 1572986;BA.debugLine="Dim cuenta As String = records(result.Columns"; _cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]); } }; - //BA.debugLineNum = 671;BA.debugLine="If cuenta = \"1\" Then"; +RDebugUtils.currentLine=1572988; + //BA.debugLineNum = 1572988;BA.debugLine="If cuenta = \"1\" Then"; if ((_cuenta).equals("1")) { - //BA.debugLineNum = 672;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 673;BA.debugLine="B4XSwitch2.Value = True"; -_b4xswitch2._setvalue /*boolean*/ (__c.True); - //BA.debugLineNum = 674;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; -_skmt.ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - //BA.debugLineNum = 675;BA.debugLine="et_codigo.Text = \"\""; -_et_codigo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 676;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select"; +RDebugUtils.currentLine=1572989; + //BA.debugLineNum = 1572989;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=1572990; + //BA.debugLineNum = 1572990;BA.debugLine="B4XSwitch2.Value = True"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.True); +RDebugUtils.currentLine=1572991; + //BA.debugLineNum = 1572991;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); +RDebugUtils.currentLine=1572992; + //BA.debugLineNum = 1572992;BA.debugLine="et_codigo.Text = \"\""; +__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=1572993; + //BA.debugLineNum = 1572993;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); - //BA.debugLineNum = 677;BA.debugLine="c2.Position = 0"; +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); +RDebugUtils.currentLine=1572994; + //BA.debugLineNum = 1572994;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 678;BA.debugLine="Private rutades As String = c2.GetString(\"CAT"; +RDebugUtils.currentLine=1572995; + //BA.debugLineNum = 1572995;BA.debugLine="Private rutades As String = c2.GetString(\"CAT"; _rutades = _c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 679;BA.debugLine="c2.Close"; +RDebugUtils.currentLine=1572996; + //BA.debugLineNum = 1572996;BA.debugLine="c2.Close"; _c2.Close(); - //BA.debugLineNum = 680;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT"; +RDebugUtils.currentLine=1572997; + //BA.debugLineNum = 1572997;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); - //BA.debugLineNum = 681;BA.debugLine="c2.Position = 0"; +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); +RDebugUtils.currentLine=1572998; + //BA.debugLineNum = 1572998;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 682;BA.debugLine="Private almacendes As String = c2.GetString(\""; +RDebugUtils.currentLine=1572999; + //BA.debugLineNum = 1572999;BA.debugLine="Private almacendes As String = c2.GetString(\""; _almacendes = _c2.GetString("ID_ALMACEN"); - //BA.debugLineNum = 683;BA.debugLine="c2.Close"; +RDebugUtils.currentLine=1573000; + //BA.debugLineNum = 1573000;BA.debugLine="c2.Close"; _c2.Close(); - //BA.debugLineNum = 684;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=1573001; + //BA.debugLineNum = 1573001;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 685;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 686;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\""; -_cmd.Name /*String*/ = "delete_geoPass_GUNA"; - //BA.debugLineNum = 688;BA.debugLine="cmd.Parameters = Array As Object( almacendes,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacendes),(Object)(_rutades)}; - //BA.debugLineNum = 689;BA.debugLine="reqManager.ExecuteCommand(cmd , \"traeGeoPass\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("traeGeoPass")); - }else if((_cuenta).equals("0")) { - //BA.debugLineNum = 691;BA.debugLine="MsgboxAsync(\"Codigo incorrecto\",\"Atención\")"; +RDebugUtils.currentLine=1573002; + //BA.debugLineNum = 1573002;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1573003; + //BA.debugLineNum = 1573003;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "delete_geoPass_GUNA"; +RDebugUtils.currentLine=1573005; + //BA.debugLineNum = 1573005;BA.debugLine="cmd.Parameters = Array As Object( almacendes,"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_almacendes),(Object)(_rutades)}; +RDebugUtils.currentLine=1573006; + //BA.debugLineNum = 1573006;BA.debugLine="reqManager.ExecuteCommand(cmd , \"traeGeoPass\""; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("traeGeoPass")); + }else +{RDebugUtils.currentLine=1573007; + //BA.debugLineNum = 1573007;BA.debugLine="Else If cuenta = \"0\" Then"; +if ((_cuenta).equals("0")) { +RDebugUtils.currentLine=1573008; + //BA.debugLineNum = 1573008;BA.debugLine="MsgboxAsync(\"Codigo incorrecto\",\"Atención\")"; __c.MsgboxAsync(BA.ObjectToCharSequence("Codigo incorrecto"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 692;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 693;BA.debugLine="B4XSwitch2.Value = False"; -_b4xswitch2._setvalue /*boolean*/ (__c.False); - //BA.debugLineNum = 694;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; -_skmt.ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); - //BA.debugLineNum = 695;BA.debugLine="et_codigo.Text = \"\""; -_et_codigo.setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=1573009; + //BA.debugLineNum = 1573009;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=1573010; + //BA.debugLineNum = 1573010;BA.debugLine="B4XSwitch2.Value = False"; +__ref._b4xswitch2 /*gunav2.keymon.com.mx.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.False); +RDebugUtils.currentLine=1573011; + //BA.debugLineNum = 1573011;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); +RDebugUtils.currentLine=1573012; + //BA.debugLineNum = 1573012;BA.debugLine="et_codigo.Text = \"\""; +__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }} +; }; }; - }; - //BA.debugLineNum = 700;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1573017; + //BA.debugLineNum = 1573017;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 701;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 702;BA.debugLine="If result.Tag = \"carga_encuesta\" Then 'query ta"; +RDebugUtils.currentLine=1573018; + //BA.debugLineNum = 1573018;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1573019; + //BA.debugLineNum = 1573019;BA.debugLine="If result.Tag = \"carga_encuesta\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("carga_encuesta"))) { - //BA.debugLineNum = 703;BA.debugLine="For Each records() As Object In result.Rows"; +RDebugUtils.currentLine=1573020; + //BA.debugLineNum = 1573020;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group143 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen143 = group143.getSize() @@ -2172,174 +2998,278 @@ final int groupLen143 = group143.getSize() ; for (; index143 < groupLen143;index143++){ _records = (Object[])(group143.Get(index143)); - //BA.debugLineNum = 704;BA.debugLine="Dim CAT_EP_ID As String = records(result.COLU"; +RDebugUtils.currentLine=1573021; + //BA.debugLineNum = 1573021;BA.debugLine="Dim CAT_EP_ID As String = records(result.COLU"; _cat_ep_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_ID"))))]); - //BA.debugLineNum = 705;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records"; +RDebugUtils.currentLine=1573022; + //BA.debugLineNum = 1573022;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records"; _cat_ep_idtipopregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_IDTIPOPREGUNTA"))))]); - //BA.debugLineNum = 706;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(re"; +RDebugUtils.currentLine=1573023; + //BA.debugLineNum = 1573023;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(re"; _cat_ce_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CE_DESCRIPCION"))))]); - //BA.debugLineNum = 707;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(resul"; +RDebugUtils.currentLine=1573024; + //BA.debugLineNum = 1573024;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(resul"; _cat_ep_pregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_PREGUNTA"))))]); - //BA.debugLineNum = 708;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(resu"; +RDebugUtils.currentLine=1573025; + //BA.debugLineNum = 1573025;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(resu"; _cat_ep_res1_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES1_PRED"))))]); - //BA.debugLineNum = 709;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(resu"; +RDebugUtils.currentLine=1573026; + //BA.debugLineNum = 1573026;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(resu"; _cat_ep_res2_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES2_PRED"))))]); - //BA.debugLineNum = 710;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(resu"; +RDebugUtils.currentLine=1573027; + //BA.debugLineNum = 1573027;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(resu"; _cat_ep_res3_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES3_PRED"))))]); - //BA.debugLineNum = 711;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records"; +RDebugUtils.currentLine=1573028; + //BA.debugLineNum = 1573028;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records"; _cat_ep_orden_pregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_ORDEN_PREGUNTA"))))]); - //BA.debugLineNum = 712;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ENCUESTA_"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ENCUESTA_PREGUNTA (CAT_EP_ID ,CAT_EP_IDTIPOPREGUNTA ,CAT_CE_DESCRIPCION ,CAT_EP_PREGUNTA ,CAT_EP_RES1_PRED ,CAT_EP_RES2_PRED ,CAT_EP_RES3_PRED ,CAT_EP_ORDEN_PREGUNTA ) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ep_id),(Object)(_cat_ep_idtipopregunta),(Object)(_cat_ce_descripcion),(Object)(_cat_ep_pregunta),(Object)(_cat_ep_res1_pred),(Object)(_cat_ep_res2_pred),(Object)(_cat_ep_res3_pred),(Object)(_cat_ep_orden_pregunta)})); +RDebugUtils.currentLine=1573029; + //BA.debugLineNum = 1573029;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ENCUESTA_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ENCUESTA_PREGUNTA (CAT_EP_ID ,CAT_EP_IDTIPOPREGUNTA ,CAT_CE_DESCRIPCION ,CAT_EP_PREGUNTA ,CAT_EP_RES1_PRED ,CAT_EP_RES2_PRED ,CAT_EP_RES3_PRED ,CAT_EP_ORDEN_PREGUNTA ) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ep_id),(Object)(_cat_ep_idtipopregunta),(Object)(_cat_ce_descripcion),(Object)(_cat_ep_pregunta),(Object)(_cat_ep_res1_pred),(Object)(_cat_ep_res2_pred),(Object)(_cat_ep_res3_pred),(Object)(_cat_ep_orden_pregunta)})); } }; }; }; - //BA.debugLineNum = 716;BA.debugLine="Job.Release"; -_job._release /*String*/ (); +RDebugUtils.currentLine=1573033; + //BA.debugLineNum = 1573033;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); }; - //BA.debugLineNum = 719;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${"; -__c.LogImpl("438142124",("Paso1 = "+__c.SmartStringFormatter("",(Object)(_paso1))+" - Name: "+__c.SmartStringFormatter("",(Object)(_name))+" - IMEI: "+__c.SmartStringFormatter("",(Object)(_imei))+" - IMEI_BASE: "+__c.SmartStringFormatter("",(Object)(_imei_base))+""),0); - //BA.debugLineNum = 720;BA.debugLine="If paso1 = 1 Then"; -if ((_paso1).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 721;BA.debugLine="If IMEI = \"\" Then"; -if ((_imei).equals("")) { - //BA.debugLineNum = 722;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\""; -if ((_user.getText()).equals("KMTS1")) { +RDebugUtils.currentLine=1573036; + //BA.debugLineNum = 1573036;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${"; +__c.LogImpl("01573036",("Paso1 = "+__c.SmartStringFormatter("",(Object)(__ref._paso1 /*String*/ ))+" - Name: "+__c.SmartStringFormatter("",(Object)(_name))+" - IMEI: "+__c.SmartStringFormatter("",(Object)(__ref._imei /*String*/ ))+" - IMEI_BASE: "+__c.SmartStringFormatter("",(Object)(_imei_base))+""),0); +RDebugUtils.currentLine=1573037; + //BA.debugLineNum = 1573037;BA.debugLine="If paso1 = 1 Then"; +if ((__ref._paso1 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=1573038; + //BA.debugLineNum = 1573038;BA.debugLine="If IMEI = \"\" Then"; +if ((__ref._imei /*String*/ ).equals("")) { +RDebugUtils.currentLine=1573039; + //BA.debugLineNum = 1573039;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\""; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { _name = "OKActivo";}; - //BA.debugLineNum = 723;BA.debugLine="If name = \"OKActivo\" Then"; +RDebugUtils.currentLine=1573040; + //BA.debugLineNum = 1573040;BA.debugLine="If name = \"OKActivo\" Then"; if ((_name).equals("OKActivo")) { - //BA.debugLineNum = 724;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; -_skmt.ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 725;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE"; -_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())})); - //BA.debugLineNum = 726;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; -_skmt.ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 727;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); - //BA.debugLineNum = 728;BA.debugLine="usuario = user.Text"; -_usuario = _user.getText(); - //BA.debugLineNum = 729;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=1573041; + //BA.debugLineNum = 1573041;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1573042; + //BA.debugLineNum = 1573042;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=1573043; + //BA.debugLineNum = 1573043;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1573044; + //BA.debugLineNum = 1573044;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); +RDebugUtils.currentLine=1573045; + //BA.debugLineNum = 1573045;BA.debugLine="usuario = user.Text"; +__ref._usuario /*String*/ = __ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=1573046; + //BA.debugLineNum = 1573046;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - }else if((_name).equals("OKExpirado")) { - //BA.debugLineNum = 731;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad"; + }else +{RDebugUtils.currentLine=1573047; + //BA.debugLineNum = 1573047;BA.debugLine="Else If name = \"OKExpirado\" Then"; +if ((_name).equals("OKExpirado")) { +RDebugUtils.currentLine=1573048; + //BA.debugLineNum = 1573048;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad"; __c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else if((_name).equals("OKCancelado")) { - //BA.debugLineNum = 733;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra"; + }else +{RDebugUtils.currentLine=1573049; + //BA.debugLineNum = 1573049;BA.debugLine="Else If name = \"OKCancelado\" Then"; +if ((_name).equals("OKCancelado")) { +RDebugUtils.currentLine=1573050; + //BA.debugLineNum = 1573050;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra"; __c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); }else { - //BA.debugLineNum = 735;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig"; +RDebugUtils.currentLine=1573052; + //BA.debugLineNum = 1573052;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig"; __c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); - }; - //BA.debugLineNum = 737;BA.debugLine="paso1 = 0"; -_paso1 = BA.NumberToString(0); + }}} +; +RDebugUtils.currentLine=1573054; + //BA.debugLineNum = 1573054;BA.debugLine="paso1 = 0"; +__ref._paso1 /*String*/ = BA.NumberToString(0); }else { - //BA.debugLineNum = 739;BA.debugLine="If name = \"OKActivo\" & IMEI And IMEI = IMEI_BA"; -if ((_name).equals("OKActivo"+_imei) && (_imei).equals(_imei_base)) { - //BA.debugLineNum = 740;BA.debugLine="If name = \"OKActivo\" & IMEI Then"; -if ((_name).equals("OKActivo"+_imei)) { - //BA.debugLineNum = 741;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; -_skmt.ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 742;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU"; -_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())})); - //BA.debugLineNum = 743;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; -_skmt.ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 744;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); - //BA.debugLineNum = 745;BA.debugLine="usuario = user.Text"; -_usuario = _user.getText(); - //BA.debugLineNum = 746;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=1573056; + //BA.debugLineNum = 1573056;BA.debugLine="If name = \"OKActivo\" & IMEI And IMEI = IMEI_BA"; +if ((_name).equals("OKActivo"+__ref._imei /*String*/ ) && (__ref._imei /*String*/ ).equals(_imei_base)) { +RDebugUtils.currentLine=1573057; + //BA.debugLineNum = 1573057;BA.debugLine="If name = \"OKActivo\" & IMEI Then"; +if ((_name).equals("OKActivo"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=1573058; + //BA.debugLineNum = 1573058;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1573059; + //BA.debugLineNum = 1573059;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=1573060; + //BA.debugLineNum = 1573060;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1573061; + //BA.debugLineNum = 1573061;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); +RDebugUtils.currentLine=1573062; + //BA.debugLineNum = 1573062;BA.debugLine="usuario = user.Text"; +__ref._usuario /*String*/ = __ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=1573063; + //BA.debugLineNum = 1573063;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - }else if((_name).equals("OKExpirado"+_imei)) { - //BA.debugLineNum = 748;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; + }else +{RDebugUtils.currentLine=1573064; + //BA.debugLineNum = 1573064;BA.debugLine="Else If name = \"OKExpirado\"& IMEI Then"; +if ((_name).equals("OKExpirado"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=1573065; + //BA.debugLineNum = 1573065;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; __c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else if((_name).equals("OKCancelado"+_imei)) { - //BA.debugLineNum = 750;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; + }else +{RDebugUtils.currentLine=1573066; + //BA.debugLineNum = 1573066;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then"; +if ((_name).equals("OKCancelado"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=1573067; + //BA.debugLineNum = 1573067;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; __c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); }else { - //BA.debugLineNum = 752;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; +RDebugUtils.currentLine=1573069; + //BA.debugLineNum = 1573069;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; __c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); - }; - //BA.debugLineNum = 754;BA.debugLine="paso1 = 0"; -_paso1 = BA.NumberToString(0); - }else if((_name).equals("OKActivo")) { - //BA.debugLineNum = 756;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore"; + }}} +; +RDebugUtils.currentLine=1573071; + //BA.debugLineNum = 1573071;BA.debugLine="paso1 = 0"; +__ref._paso1 /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=1573072; + //BA.debugLineNum = 1573072;BA.debugLine="Else IF name = \"OKActivo\" Then"; +if ((_name).equals("OKActivo")) { +RDebugUtils.currentLine=1573073; + //BA.debugLineNum = 1573073;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore"; __c.Msgbox(BA.ObjectToCharSequence("Telefono no VALIDO!"),BA.ObjectToCharSequence(""),ba); }else { - //BA.debugLineNum = 758;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig"; +RDebugUtils.currentLine=1573075; + //BA.debugLineNum = 1573075;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig"; __c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); + }} +; }; }; - }; - //BA.debugLineNum = 762;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1573079; + //BA.debugLineNum = 1573079;BA.debugLine="End Sub"; return ""; } -public String _lv_server_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 909;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; - //BA.debugLineNum = 910;BA.debugLine="Starter.server = Value"; +public String _lv_server_itemclick(gunav2.keymon.com.mx.b4xmainpage __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "lv_server_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_server_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=2490368; + //BA.debugLineNum = 2490368;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; +RDebugUtils.currentLine=2490369; + //BA.debugLineNum = 2490369;BA.debugLine="Starter.server = Value"; _starter._server /*String*/ = BA.ObjectToString(_value); - //BA.debugLineNum = 911;BA.debugLine="l_server.Text = Value"; -_l_server.setText(BA.ObjectToCharSequence(_value)); - //BA.debugLineNum = 912;BA.debugLine="et_server.Text = Value"; -_et_server.setText(BA.ObjectToCharSequence(_value)); - //BA.debugLineNum = 913;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer")})); - //BA.debugLineNum = 914;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer"),_value})); - //BA.debugLineNum = 915;BA.debugLine="Starter.reqManager.Initialize(Me, Value)"; -_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,this,BA.ObjectToString(_value)); - //BA.debugLineNum = 916;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; +RDebugUtils.currentLine=2490370; + //BA.debugLineNum = 2490370;BA.debugLine="l_server.Text = Value"; +__ref._l_server /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_value)); +RDebugUtils.currentLine=2490371; + //BA.debugLineNum = 2490371;BA.debugLine="et_server.Text = Value"; +__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_value)); +RDebugUtils.currentLine=2490372; + //BA.debugLineNum = 2490372;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer")})); +RDebugUtils.currentLine=2490373; + //BA.debugLineNum = 2490373;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer"),_value})); +RDebugUtils.currentLine=2490374; + //BA.debugLineNum = 2490374;BA.debugLine="Starter.reqManager.Initialize(Me, Value)"; +_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,BA.ObjectToString(_value)); +RDebugUtils.currentLine=2490375; + //BA.debugLineNum = 2490375;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False); - //BA.debugLineNum = 917;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2490376; + //BA.debugLineNum = 2490376;BA.debugLine="End Sub"; return ""; } -public String _muestraprogreso(String _mensaje) throws Exception{ - //BA.debugLineNum = 862;BA.debugLine="Sub muestraProgreso(mensaje As String)"; - //BA.debugLineNum = 863;BA.debugLine="ProgressDialogShow(mensaje)"; -__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); - //BA.debugLineNum = 864;BA.debugLine="End Sub"; -return ""; -} -public String _ocultaprogreso() throws Exception{ - //BA.debugLineNum = 867;BA.debugLine="Sub ocultaProgreso"; - //BA.debugLineNum = 868;BA.debugLine="ProgressDialogHide"; +public String _ocultaprogreso(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "ocultaprogreso", false)) + {return ((String) Debug.delegate(ba, "ocultaprogreso", null));} +RDebugUtils.currentLine=2293760; + //BA.debugLineNum = 2293760;BA.debugLine="Sub ocultaProgreso"; +RDebugUtils.currentLine=2293761; + //BA.debugLineNum = 2293761;BA.debugLine="ProgressDialogHide"; __c.ProgressDialogHide(); - //BA.debugLineNum = 869;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2293762; + //BA.debugLineNum = 2293762;BA.debugLine="End Sub"; return ""; } -public String _p_validacion_click() throws Exception{ - //BA.debugLineNum = 972;BA.debugLine="Private Sub p_validacion_Click"; - //BA.debugLineNum = 973;BA.debugLine="End Sub"; +public String _p_validacion_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "p_validacion_click", false)) + {return ((String) Debug.delegate(ba, "p_validacion_click", null));} +RDebugUtils.currentLine=2752512; + //BA.debugLineNum = 2752512;BA.debugLine="Private Sub p_validacion_Click"; +RDebugUtils.currentLine=2752513; + //BA.debugLineNum = 2752513;BA.debugLine="End Sub"; return ""; } -public String _pdf_click() throws Exception{ - //BA.debugLineNum = 798;BA.debugLine="Sub PDF_Click"; - //BA.debugLineNum = 800;BA.debugLine="End Sub"; +public String _pdf_click(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "pdf_click", false)) + {return ((String) Debug.delegate(ba, "pdf_click", null));} +RDebugUtils.currentLine=1966080; + //BA.debugLineNum = 1966080;BA.debugLine="Sub PDF_Click"; +RDebugUtils.currentLine=1966082; + //BA.debugLineNum = 1966082;BA.debugLine="End Sub"; return ""; } -public String _popupmenu_dismiss() throws Exception{ - //BA.debugLineNum = 785;BA.debugLine="Sub PopupMenu_Dismiss"; - //BA.debugLineNum = 786;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)"; +public String _popupmenu_dismiss(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "popupmenu_dismiss", false)) + {return ((String) Debug.delegate(ba, "popupmenu_dismiss", null));} +RDebugUtils.currentLine=1769472; + //BA.debugLineNum = 1769472;BA.debugLine="Sub PopupMenu_Dismiss"; +RDebugUtils.currentLine=1769473; + //BA.debugLineNum = 1769473;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)"; __c.ToastMessageShow(BA.ObjectToCharSequence("PopupMenu dismissed"),__c.False); - //BA.debugLineNum = 787;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1769474; + //BA.debugLineNum = 1769474;BA.debugLine="End Sub"; return ""; } -public boolean _popupmenu_menuitemclick(int _itemid) throws Exception{ - //BA.debugLineNum = 789;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo"; - //BA.debugLineNum = 790;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\","; +public boolean _popupmenu_menuitemclick(gunav2.keymon.com.mx.b4xmainpage __ref,int _itemid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "popupmenu_menuitemclick", false)) + {return ((Boolean) Debug.delegate(ba, "popupmenu_menuitemclick", new Object[] {_itemid}));} +RDebugUtils.currentLine=1835008; + //BA.debugLineNum = 1835008;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo"; +RDebugUtils.currentLine=1835009; + //BA.debugLineNum = 1835009;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\","; __c.ToastMessageShow(BA.ObjectToCharSequence("Item "+BA.NumberToString(_itemid)+" clicked."),__c.False); - //BA.debugLineNum = 791;BA.debugLine="Return False"; +RDebugUtils.currentLine=1835010; + //BA.debugLineNum = 1835010;BA.debugLine="Return False"; if (true) return __c.False; - //BA.debugLineNum = 792;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1835011; + //BA.debugLineNum = 1835011;BA.debugLine="End Sub"; return false; } -public void _revisaactualizacion() throws Exception{ -ResumableSub_revisaActualizacion rsub = new ResumableSub_revisaActualizacion(this); +public void _revisaactualizacion(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "revisaactualizacion", false)) + {Debug.delegate(ba, "revisaactualizacion", null); return;} +ResumableSub_revisaActualizacion rsub = new ResumableSub_revisaActualizacion(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_revisaActualizacion extends BA.ResumableSub { -public ResumableSub_revisaActualizacion(gunav2.keymon.com.mx.b4xmainpage parent) { +public ResumableSub_revisaActualizacion(gunav2.keymon.com.mx.b4xmainpage parent,gunav2.keymon.com.mx.b4xmainpage __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xmainpage __ref; gunav2.keymon.com.mx.b4xmainpage parent; String _link = ""; gunav2.keymon.com.mx.httpjob _j = null; @@ -2347,6 +3277,7 @@ String[] _app = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; while (true) { try { @@ -2358,20 +3289,24 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 1037;BA.debugLine="LogColor(\"Buscarmos archivo Ver\", Colors.red)"; -parent.__c.LogImpl("439518214","Buscarmos archivo Ver",parent.__c.Colors.Red); - //BA.debugLineNum = 1038;BA.debugLine="Private link As String = \"https://keymon.net/movi"; +RDebugUtils.currentLine=2949126; + //BA.debugLineNum = 2949126;BA.debugLine="LogColor(\"Buscarmos archivo Ver\", Colors.red)"; +parent.__c.LogImpl("02949126","Buscarmos archivo Ver",parent.__c.Colors.Red); +RDebugUtils.currentLine=2949127; + //BA.debugLineNum = 2949127;BA.debugLine="Private link As String = \"https://keymon.net/movi"; _link = "https://keymon.net/movil/guna/gunaPreventa.ver"; - //BA.debugLineNum = 1039;BA.debugLine="Wait For (traeArchivoVer(Me, link)) JobDone (j As"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(parent._traearchivover(parent,_link))); +RDebugUtils.currentLine=2949128; + //BA.debugLineNum = 2949128;BA.debugLine="Wait For (traeArchivoVer(Me, link)) JobDone (j As"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "revisaactualizacion"), (Object)(__ref._traearchivover /*gunav2.keymon.com.mx.httpjob*/ (null,parent,_link))); this.state = 28; return; case 28: //C this.state = 1; -_j = (gunav2.keymon.com.mx.httpjob) result[0]; +_j = (gunav2.keymon.com.mx.httpjob) result[1]; ; - //BA.debugLineNum = 1040;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=2949129; + //BA.debugLineNum = 2949129;BA.debugLine="If j.Success Then"; if (true) break; case 1: @@ -2386,9 +3321,11 @@ this.state = 22; case 3: //C this.state = 4; - //BA.debugLineNum = 1041;BA.debugLine="LogColor(\"Archivo .VER encontrado.\", Colors.red)"; -parent.__c.LogImpl("439518218","Archivo .VER encontrado.",parent.__c.Colors.Red); - //BA.debugLineNum = 1042;BA.debugLine="Try"; +RDebugUtils.currentLine=2949130; + //BA.debugLineNum = 2949130;BA.debugLine="LogColor(\"Archivo .VER encontrado.\", Colors.red)"; +parent.__c.LogImpl("02949130","Archivo .VER encontrado.",parent.__c.Colors.Red); +RDebugUtils.currentLine=2949131; + //BA.debugLineNum = 2949131;BA.debugLine="Try"; if (true) break; case 4: @@ -2402,25 +3339,35 @@ case 6: //C this.state = 7; this.catchState = 15; - //BA.debugLineNum = 1043;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; -_app = parent.__c.Regex.Split(BA.ObjectToString(parent.__c.Chr((int) (9))),_j._getstring /*String*/ ()); - //BA.debugLineNum = 1045;BA.debugLine="Starter.newApp.appLink = app(3) 'Liga a nuevo"; +RDebugUtils.currentLine=2949132; + //BA.debugLineNum = 2949132;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; +_app = parent.__c.Regex.Split(BA.ObjectToString(parent.__c.Chr((int) (9))),_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=2949134; + //BA.debugLineNum = 2949134;BA.debugLine="Starter.newApp.appLink = app(3) 'Liga a nuevo"; parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .appLink /*String*/ = _app[(int) (3)]; - //BA.debugLineNum = 1046;BA.debugLine="Starter.newApp.newMsg = app(1) 'Texto de que h"; +RDebugUtils.currentLine=2949135; + //BA.debugLineNum = 2949135;BA.debugLine="Starter.newApp.newMsg = app(1) 'Texto de que h"; parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .newMsg /*String*/ = _app[(int) (1)]; - //BA.debugLineNum = 1047;BA.debugLine="Starter.newApp.okMsg = app(2) 'Texto de app"; +RDebugUtils.currentLine=2949136; + //BA.debugLineNum = 2949136;BA.debugLine="Starter.newApp.okMsg = app(2) 'Texto de app"; parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .okMsg /*String*/ = _app[(int) (2)]; - //BA.debugLineNum = 1048;BA.debugLine="Starter.newApp.version = app(0) 'Version actu"; +RDebugUtils.currentLine=2949137; + //BA.debugLineNum = 2949137;BA.debugLine="Starter.newApp.version = app(0) 'Version actu"; parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .version /*String*/ = _app[(int) (0)]; - //BA.debugLineNum = 1049;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; -parent.__c.LogImpl("439518226",("Application.VersionName="+parent.__c.SmartStringFormatter("",(Object)(parent.__c.Application.getVersionName()))+", newApp="+parent.__c.SmartStringFormatter("",(Object)(parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ ))+""),0); - //BA.debugLineNum = 1051;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +RDebugUtils.currentLine=2949138; + //BA.debugLineNum = 2949138;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +parent.__c.LogImpl("02949138",("Application.VersionName="+parent.__c.SmartStringFormatter("",(Object)(parent.__c.Application.getVersionName()))+", newApp="+parent.__c.SmartStringFormatter("",(Object)(parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ ))+""),0); +RDebugUtils.currentLine=2949140; + //BA.debugLineNum = 2949140;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; parent.__c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 1052;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES w"; -parent._skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("REVISION_APK")})); - //BA.debugLineNum = 1053;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(C"; -parent._skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("REVISION_APK"),(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()))})); - //BA.debugLineNum = 1055;BA.debugLine="If Starter.newApp.version = Application.Version"; +RDebugUtils.currentLine=2949141; + //BA.debugLineNum = 2949141;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES w"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("REVISION_APK")})); +RDebugUtils.currentLine=2949142; + //BA.debugLineNum = 2949142;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(C"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("REVISION_APK"),(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()))})); +RDebugUtils.currentLine=2949144; + //BA.debugLineNum = 2949144;BA.debugLine="If Starter.newApp.version = Application.Version"; if (true) break; case 7: @@ -2433,15 +3380,19 @@ this.state = 9; case 9: //C this.state = 10; - //BA.debugLineNum = 1056;BA.debugLine="Starter.newApp.update = False"; +RDebugUtils.currentLine=2949145; + //BA.debugLineNum = 2949145;BA.debugLine="Starter.newApp.update = False"; parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .update /*boolean*/ = parent.__c.False; - //BA.debugLineNum = 1057;BA.debugLine="LogColor(\"No hay nuevo APK\", Colors.red)"; -parent.__c.LogImpl("439518234","No hay nuevo APK",parent.__c.Colors.Red); - //BA.debugLineNum = 1058;BA.debugLine="B4XPages.MainPage.Entrar.Enabled = True"; +RDebugUtils.currentLine=2949146; + //BA.debugLineNum = 2949146;BA.debugLine="LogColor(\"No hay nuevo APK\", Colors.red)"; +parent.__c.LogImpl("02949146","No hay nuevo APK",parent.__c.Colors.Red); +RDebugUtils.currentLine=2949147; + //BA.debugLineNum = 2949147;BA.debugLine="B4XPages.MainPage.Entrar.Enabled = True"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._entrar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.True); if (true) break; ; - //BA.debugLineNum = 1060;BA.debugLine="If Starter.newApp.version <> Application.Versio"; +RDebugUtils.currentLine=2949149; + //BA.debugLineNum = 2949149;BA.debugLine="If Starter.newApp.version <> Application.Versio"; case 10: //if @@ -2453,13 +3404,17 @@ this.state = 12; case 12: //C this.state = 13; - //BA.debugLineNum = 1061;BA.debugLine="Starter.newApp.update = True"; +RDebugUtils.currentLine=2949150; + //BA.debugLineNum = 2949150;BA.debugLine="Starter.newApp.update = True"; parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .update /*boolean*/ = parent.__c.True; - //BA.debugLineNum = 1062;BA.debugLine="LogColor(\"Hay nuevo APK\", Colors.red)"; -parent.__c.LogImpl("439518239","Hay nuevo APK",parent.__c.Colors.Red); - //BA.debugLineNum = 1063;BA.debugLine="b_actualizacion.Visible = True"; -parent._b_actualizacion.setVisible(parent.__c.True); - //BA.debugLineNum = 1064;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +RDebugUtils.currentLine=2949151; + //BA.debugLineNum = 2949151;BA.debugLine="LogColor(\"Hay nuevo APK\", Colors.red)"; +parent.__c.LogImpl("02949151","Hay nuevo APK",parent.__c.Colors.Red); +RDebugUtils.currentLine=2949152; + //BA.debugLineNum = 2949152;BA.debugLine="b_actualizacion.Visible = True"; +__ref._b_actualizacion /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=2949153; + //BA.debugLineNum = 2949153;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; parent.__c.CallSubDelayed(ba,(Object)(parent._appupdater.getObject()),"download_newApk"); if (true) break; @@ -2473,9 +3428,11 @@ case 15: //C this.state = 16; this.catchState = 0; - //BA.debugLineNum = 1067;BA.debugLine="LogColor(\"appUpdater(), Job Failed, error \" &"; -parent.__c.LogImpl("439518244","appUpdater(), Job Failed, error "+parent.__c.LastException(ba).getMessage(),parent.__c.Colors.Red); - //BA.debugLineNum = 1068;BA.debugLine="If Msgbox2(\"Hubo un error: \" & LastException.Me"; +RDebugUtils.currentLine=2949156; + //BA.debugLineNum = 2949156;BA.debugLine="LogColor(\"appUpdater(), Job Failed, error \" &"; +parent.__c.LogImpl("02949156","appUpdater(), Job Failed, error "+parent.__c.LastException(ba).getMessage(),parent.__c.Colors.Red); +RDebugUtils.currentLine=2949157; + //BA.debugLineNum = 2949157;BA.debugLine="If Msgbox2(\"Hubo un error: \" & LastException.Me"; if (true) break; case 16: @@ -2488,7 +3445,8 @@ this.state = 18; case 18: //C this.state = 19; - //BA.debugLineNum = 1069;BA.debugLine="ExitApplication"; +RDebugUtils.currentLine=2949158; + //BA.debugLineNum = 2949158;BA.debugLine="ExitApplication"; parent.__c.ExitApplication(); if (true) break; @@ -2509,7 +3467,8 @@ this.catchState = 0; case 22: //C this.state = 23; - //BA.debugLineNum = 1074;BA.debugLine="If Msgbox2(\"Es necesaria una conexión a internet"; +RDebugUtils.currentLine=2949163; + //BA.debugLineNum = 2949163;BA.debugLine="If Msgbox2(\"Es necesaria una conexión a internet"; if (true) break; case 23: @@ -2522,7 +3481,8 @@ this.state = 25; case 25: //C this.state = 26; - //BA.debugLineNum = 1075;BA.debugLine="ExitApplication"; +RDebugUtils.currentLine=2949164; + //BA.debugLineNum = 2949164;BA.debugLine="ExitApplication"; parent.__c.ExitApplication(); if (true) break; @@ -2536,9 +3496,11 @@ case 27: //C this.state = -1; ; - //BA.debugLineNum = 1078;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 1079;BA.debugLine="End Sub"; +RDebugUtils.currentLine=2949167; + //BA.debugLineNum = 2949167;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=2949168; + //BA.debugLineNum = 2949168;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -2552,64 +3514,87 @@ ba.setLastException(e0);} } } } -public gunav2.keymon.com.mx.httpjob _traearchivover(Object _callback,String _link) throws Exception{ +public gunav2.keymon.com.mx.httpjob _traearchivover(gunav2.keymon.com.mx.b4xmainpage __ref,Object _callback,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "traearchivover", false)) + {return ((gunav2.keymon.com.mx.httpjob) Debug.delegate(ba, "traearchivover", new Object[] {_callback,_link}));} gunav2.keymon.com.mx.httpjob _j = null; - //BA.debugLineNum = 1087;BA.debugLine="Sub traeArchivoVer (Callback As Object, link As St"; - //BA.debugLineNum = 1088;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=3014656; + //BA.debugLineNum = 3014656;BA.debugLine="Sub traeArchivoVer (Callback As Object, link As St"; +RDebugUtils.currentLine=3014657; + //BA.debugLineNum = 3014657;BA.debugLine="Dim j As HttpJob"; _j = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 1089;BA.debugLine="j.Initialize(\"\", Callback)"; -_j._initialize /*String*/ (ba,"",_callback); - //BA.debugLineNum = 1090;BA.debugLine="j.GetRequest.Timeout = 5000"; -_j._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ().setTimeout((int) (5000)); - //BA.debugLineNum = 1091;BA.debugLine="j.Download(link)"; -_j._download /*String*/ (_link); - //BA.debugLineNum = 1092;BA.debugLine="Return j"; +RDebugUtils.currentLine=3014658; + //BA.debugLineNum = 3014658;BA.debugLine="j.Initialize(\"\", Callback)"; +_j._initialize /*String*/ (null,ba,"",_callback); +RDebugUtils.currentLine=3014659; + //BA.debugLineNum = 3014659;BA.debugLine="j.GetRequest.Timeout = 5000"; +_j._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null).setTimeout((int) (5000)); +RDebugUtils.currentLine=3014660; + //BA.debugLineNum = 3014660;BA.debugLine="j.Download(link)"; +_j._download /*String*/ (null,_link); +RDebugUtils.currentLine=3014661; + //BA.debugLineNum = 3014661;BA.debugLine="Return j"; if (true) return _j; - //BA.debugLineNum = 1093;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3014662; + //BA.debugLineNum = 3014662;BA.debugLine="End Sub"; return null; } -public String _user_enterpressed() throws Exception{ - //BA.debugLineNum = 543;BA.debugLine="Private Sub user_EnterPressed"; - //BA.debugLineNum = 544;BA.debugLine="If user.text = \"KMTS1\" Then Entrar.Enabled = True"; -if ((_user.getText()).equals("KMTS1")) { -_entrar.setEnabled(__c.True);}; - //BA.debugLineNum = 545;BA.debugLine="End Sub"; +public String _user_enterpressed(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "user_enterpressed", false)) + {return ((String) Debug.delegate(ba, "user_enterpressed", null));} +RDebugUtils.currentLine=1507328; + //BA.debugLineNum = 1507328;BA.debugLine="Private Sub user_EnterPressed"; +RDebugUtils.currentLine=1507329; + //BA.debugLineNum = 1507329;BA.debugLine="If user.text = \"KMTS1\" Then Entrar.Enabled = True"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { +__ref._entrar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);}; +RDebugUtils.currentLine=1507330; + //BA.debugLineNum = 1507330;BA.debugLine="End Sub"; return ""; } -public boolean _versionrevisadahoy() throws Exception{ +public boolean _versionrevisadahoy(gunav2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "versionrevisadahoy", false)) + {return ((Boolean) Debug.delegate(ba, "versionrevisadahoy", null));} boolean _revisada = false; - //BA.debugLineNum = 1096;BA.debugLine="Sub versionRevisadaHoy As Boolean"; - //BA.debugLineNum = 1097;BA.debugLine="Private revisada As Boolean = False"; +RDebugUtils.currentLine=3080192; + //BA.debugLineNum = 3080192;BA.debugLine="Sub versionRevisadaHoy As Boolean"; +RDebugUtils.currentLine=3080193; + //BA.debugLineNum = 3080193;BA.debugLine="Private revisada As Boolean = False"; _revisada = __c.False; - //BA.debugLineNum = 1098;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"REVISION_APK"}))); - //BA.debugLineNum = 1099;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1100;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1101;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +RDebugUtils.currentLine=3080194; + //BA.debugLineNum = 3080194;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"REVISION_APK"}))); +RDebugUtils.currentLine=3080195; + //BA.debugLineNum = 3080195;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3080196; + //BA.debugLineNum = 3080196;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3080197; + //BA.debugLineNum = 3080197;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; __c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 1102;BA.debugLine="If DateTime.Date(DateTime.Now) = c.GetString(\"CA"; -if ((__c.DateTime.Date(__c.DateTime.getNow())).equals(_c.GetString("CAT_VA_VALOR"))) { - //BA.debugLineNum = 1103;BA.debugLine="revisada = True"; +RDebugUtils.currentLine=3080198; + //BA.debugLineNum = 3080198;BA.debugLine="If DateTime.Date(DateTime.Now) = c.GetString(\"CA"; +if ((__c.DateTime.Date(__c.DateTime.getNow())).equals(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"))) { +RDebugUtils.currentLine=3080199; + //BA.debugLineNum = 3080199;BA.debugLine="revisada = True"; _revisada = __c.True; - //BA.debugLineNum = 1104;BA.debugLine="LogColor(\"La versión ya se revisó el día de hoy"; -__c.LogImpl("439649288","La versión ya se revisó el día de hoy.",__c.Colors.Red); +RDebugUtils.currentLine=3080200; + //BA.debugLineNum = 3080200;BA.debugLine="LogColor(\"La versión ya se revisó el día de hoy"; +__c.LogImpl("03080200","La versión ya se revisó el día de hoy.",__c.Colors.Red); }; }; - //BA.debugLineNum = 1110;BA.debugLine="Return False"; +RDebugUtils.currentLine=3080206; + //BA.debugLineNum = 3080206;BA.debugLine="Return False"; if (true) return __c.False; - //BA.debugLineNum = 1112;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3080208; + //BA.debugLineNum = 3080208;BA.debugLine="End Sub"; return false; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((gunav2.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xorderedmap.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xorderedmap.java index 7972c0e..6ee5c8f 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xorderedmap.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xorderedmap.java @@ -10,7 +10,7 @@ public class b4xorderedmap extends B4AClass.ImplB4AClass implements BA.SubDelega private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xorderedmap"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xorderedmap"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xorderedmap extends B4AClass.ImplB4AClass implements BA.SubDelega ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.collections.Map _map = null; public anywheresoftware.b4a.objects.collections.List _list = null; public b4a.example.dateutils _dateutils = null; @@ -31,147 +38,245 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private map As Map"; -_map = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 3;BA.debugLine="Private list As List"; -_list = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public String _clear() throws Exception{ - //BA.debugLineNum = 26;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 27;BA.debugLine="list.Clear"; -_list.Clear(); - //BA.debugLineNum = 28;BA.debugLine="map.Clear"; -_map.Clear(); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return ""; -} -public boolean _containskey(Object _key) throws Exception{ - //BA.debugLineNum = 46;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; - //BA.debugLineNum = 47;BA.debugLine="Return map.ContainsKey(Key)"; -if (true) return _map.ContainsKey(_key); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +public boolean _containskey(gunav2.keymon.com.mx.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "containskey", true)) + {return ((Boolean) Debug.delegate(ba, "containskey", new Object[] {_key}));} +RDebugUtils.currentLine=14024704; + //BA.debugLineNum = 14024704;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; +RDebugUtils.currentLine=14024705; + //BA.debugLineNum = 14024705;BA.debugLine="Return map.ContainsKey(Key)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key); +RDebugUtils.currentLine=14024706; + //BA.debugLineNum = 14024706;BA.debugLine="End Sub"; return false; } -public Object _get(Object _key) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub Get (Key As Object) As Object"; - //BA.debugLineNum = 38;BA.debugLine="Return map.Get(Key)"; -if (true) return _map.Get(_key); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +public Object _get(gunav2.keymon.com.mx.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Object) Debug.delegate(ba, "get", new Object[] {_key}));} +RDebugUtils.currentLine=13893632; + //BA.debugLineNum = 13893632;BA.debugLine="Public Sub Get (Key As Object) As Object"; +RDebugUtils.currentLine=13893633; + //BA.debugLineNum = 13893633;BA.debugLine="Return map.Get(Key)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_key); +RDebugUtils.currentLine=13893634; + //BA.debugLineNum = 13893634;BA.debugLine="End Sub"; return null; } -public Object _getdataforserializator() throws Exception{ - //BA.debugLineNum = 65;BA.debugLine="Public Sub GetDataForSerializator As Object"; - //BA.debugLineNum = 66;BA.debugLine="Return Array(map, list)"; -if (true) return (Object)(new Object[]{(Object)(_map.getObject()),(Object)(_list.getObject())}); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; +public String _initialize(gunav2.keymon.com.mx.b4xorderedmap __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=13565952; + //BA.debugLineNum = 13565952;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=13565953; + //BA.debugLineNum = 13565953;BA.debugLine="map.Initialize"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=13565954; + //BA.debugLineNum = 13565954;BA.debugLine="list.Initialize"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=13565955; + //BA.debugLineNum = 13565955;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _getkeys(gunav2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getkeys", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getkeys", null));} +RDebugUtils.currentLine=13828096; + //BA.debugLineNum = 13828096;BA.debugLine="Public Sub getKeys As List"; +RDebugUtils.currentLine=13828097; + //BA.debugLineNum = 13828097;BA.debugLine="Return list"; +if (true) return __ref._list /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=13828098; + //BA.debugLineNum = 13828098;BA.debugLine="End Sub"; return null; } -public Object _getdefault(Object _key,Object _defaultvalue) throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; - //BA.debugLineNum = 43;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; -if (true) return _map.GetDefault(_key,_defaultvalue); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return null; +public String _put(gunav2.keymon.com.mx.b4xorderedmap __ref,Object _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "put", true)) + {return ((String) Debug.delegate(ba, "put", new Object[] {_key,_value}));} +RDebugUtils.currentLine=13631488; + //BA.debugLineNum = 13631488;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; +RDebugUtils.currentLine=13631489; + //BA.debugLineNum = 13631489;BA.debugLine="If map.ContainsKey(Key) = False Then"; +if (__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key)==__c.False) { +RDebugUtils.currentLine=13631490; + //BA.debugLineNum = 13631490;BA.debugLine="list.Add(Key)"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Add(_key); + }; +RDebugUtils.currentLine=13631492; + //BA.debugLineNum = 13631492;BA.debugLine="map.Put(Key, Value)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_key,_value); +RDebugUtils.currentLine=13631493; + //BA.debugLineNum = 13631493;BA.debugLine="End Sub"; +return ""; } -public anywheresoftware.b4a.objects.collections.List _getkeys() throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub getKeys As List"; - //BA.debugLineNum = 33;BA.debugLine="Return list"; -if (true) return _list; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return null; +public String _remove(gunav2.keymon.com.mx.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_key}));} +RDebugUtils.currentLine=13697024; + //BA.debugLineNum = 13697024;BA.debugLine="Public Sub Remove (Key As Object)"; +RDebugUtils.currentLine=13697025; + //BA.debugLineNum = 13697025;BA.debugLine="If map.ContainsKey(Key) = False Then Return"; +if (__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key)==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=13697026; + //BA.debugLineNum = 13697026;BA.debugLine="list.RemoveAt(list.IndexOf(Key))"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_key)); +RDebugUtils.currentLine=13697027; + //BA.debugLineNum = 13697027;BA.debugLine="map.Remove(Key)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Remove(_key); +RDebugUtils.currentLine=13697028; + //BA.debugLineNum = 13697028;BA.debugLine="End Sub"; +return ""; } -public int _getsize() throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 51;BA.debugLine="Return map.Size"; -if (true) return _map.getSize(); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return 0; -} -public anywheresoftware.b4a.objects.collections.List _getvalues() throws Exception{ +public anywheresoftware.b4a.objects.collections.List _getvalues(gunav2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getvalues", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getvalues", null));} anywheresoftware.b4a.objects.collections.List _res = null; Object _key = null; - //BA.debugLineNum = 55;BA.debugLine="Public Sub getValues As List"; - //BA.debugLineNum = 56;BA.debugLine="Dim res As List"; +RDebugUtils.currentLine=14155776; + //BA.debugLineNum = 14155776;BA.debugLine="Public Sub getValues As List"; +RDebugUtils.currentLine=14155777; + //BA.debugLineNum = 14155777;BA.debugLine="Dim res As List"; _res = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 57;BA.debugLine="res.Initialize"; +RDebugUtils.currentLine=14155778; + //BA.debugLineNum = 14155778;BA.debugLine="res.Initialize"; _res.Initialize(); - //BA.debugLineNum = 58;BA.debugLine="For Each key As Object In list"; +RDebugUtils.currentLine=14155779; + //BA.debugLineNum = 14155779;BA.debugLine="For Each key As Object In list"; { -final anywheresoftware.b4a.BA.IterableList group3 = _list; +final anywheresoftware.b4a.BA.IterableList group3 = __ref._list /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen3 = group3.getSize() ;int index3 = 0; ; for (; index3 < groupLen3;index3++){ _key = group3.Get(index3); - //BA.debugLineNum = 59;BA.debugLine="res.Add(map.Get(key))"; -_res.Add(_map.Get(_key)); +RDebugUtils.currentLine=14155780; + //BA.debugLineNum = 14155780;BA.debugLine="res.Add(map.Get(key))"; +_res.Add(__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_key)); } }; - //BA.debugLineNum = 61;BA.debugLine="Return res"; +RDebugUtils.currentLine=14155782; + //BA.debugLineNum = 14155782;BA.debugLine="Return res"; if (true) return _res; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14155783; + //BA.debugLineNum = 14155783;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 7;BA.debugLine="map.Initialize"; -_map.Initialize(); - //BA.debugLineNum = 8;BA.debugLine="list.Initialize"; -_list.Initialize(); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +public int _getsize(gunav2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=14090240; + //BA.debugLineNum = 14090240;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=14090241; + //BA.debugLineNum = 14090241;BA.debugLine="Return map.Size"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .getSize(); +RDebugUtils.currentLine=14090242; + //BA.debugLineNum = 14090242;BA.debugLine="End Sub"; +return 0; +} +public String _class_globals(gunav2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +RDebugUtils.currentLine=13500416; + //BA.debugLineNum = 13500416;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=13500417; + //BA.debugLineNum = 13500417;BA.debugLine="Private map As Map"; +_map = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=13500418; + //BA.debugLineNum = 13500418;BA.debugLine="Private list As List"; +_list = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=13500419; + //BA.debugLineNum = 13500419;BA.debugLine="End Sub"; return ""; } -public String _put(Object _key,Object _value) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; - //BA.debugLineNum = 13;BA.debugLine="If map.ContainsKey(Key) = False Then"; -if (_map.ContainsKey(_key)==__c.False) { - //BA.debugLineNum = 14;BA.debugLine="list.Add(Key)"; -_list.Add(_key); - }; - //BA.debugLineNum = 16;BA.debugLine="map.Put(Key, Value)"; -_map.Put(_key,_value); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +public String _clear(gunav2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=13762560; + //BA.debugLineNum = 13762560;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=13762561; + //BA.debugLineNum = 13762561;BA.debugLine="list.Clear"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=13762562; + //BA.debugLineNum = 13762562;BA.debugLine="map.Clear"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=13762563; + //BA.debugLineNum = 13762563;BA.debugLine="End Sub"; return ""; } -public String _remove(Object _key) throws Exception{ - //BA.debugLineNum = 20;BA.debugLine="Public Sub Remove (Key As Object)"; - //BA.debugLineNum = 21;BA.debugLine="If map.ContainsKey(Key) = False Then Return"; -if (_map.ContainsKey(_key)==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 22;BA.debugLine="list.RemoveAt(list.IndexOf(Key))"; -_list.RemoveAt(_list.IndexOf(_key)); - //BA.debugLineNum = 23;BA.debugLine="map.Remove(Key)"; -_map.Remove(_key); - //BA.debugLineNum = 24;BA.debugLine="End Sub"; -return ""; +public Object _getdataforserializator(gunav2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getdataforserializator", true)) + {return ((Object) Debug.delegate(ba, "getdataforserializator", null));} +RDebugUtils.currentLine=14221312; + //BA.debugLineNum = 14221312;BA.debugLine="Public Sub GetDataForSerializator As Object"; +RDebugUtils.currentLine=14221313; + //BA.debugLineNum = 14221313;BA.debugLine="Return Array(map, list)"; +if (true) return (Object)(new Object[]{(Object)(__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()),(Object)(__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .getObject())}); +RDebugUtils.currentLine=14221314; + //BA.debugLineNum = 14221314;BA.debugLine="End Sub"; +return null; } -public String _setdatafromserializator(Object _data) throws Exception{ +public Object _getdefault(gunav2.keymon.com.mx.b4xorderedmap __ref,Object _key,Object _defaultvalue) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getdefault", true)) + {return ((Object) Debug.delegate(ba, "getdefault", new Object[] {_key,_defaultvalue}));} +RDebugUtils.currentLine=13959168; + //BA.debugLineNum = 13959168;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; +RDebugUtils.currentLine=13959169; + //BA.debugLineNum = 13959169;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault(_key,_defaultvalue); +RDebugUtils.currentLine=13959170; + //BA.debugLineNum = 13959170;BA.debugLine="End Sub"; +return null; +} +public String _setdatafromserializator(gunav2.keymon.com.mx.b4xorderedmap __ref,Object _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "setdatafromserializator", true)) + {return ((String) Debug.delegate(ba, "setdatafromserializator", new Object[] {_data}));} Object[] _o = null; - //BA.debugLineNum = 70;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; - //BA.debugLineNum = 71;BA.debugLine="Dim o() As Object = Data"; +RDebugUtils.currentLine=14286848; + //BA.debugLineNum = 14286848;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; +RDebugUtils.currentLine=14286849; + //BA.debugLineNum = 14286849;BA.debugLine="Dim o() As Object = Data"; _o = (Object[])(_data); - //BA.debugLineNum = 72;BA.debugLine="map = o(0)"; -_map = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_o[(int) (0)])); - //BA.debugLineNum = 73;BA.debugLine="list = o(1)"; -_list = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_o[(int) (1)])); - //BA.debugLineNum = 74;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14286850; + //BA.debugLineNum = 14286850;BA.debugLine="map = o(0)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_o[(int) (0)])); +RDebugUtils.currentLine=14286851; + //BA.debugLineNum = 14286851;BA.debugLine="list = o(1)"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_o[(int) (1)])); +RDebugUtils.currentLine=14286852; + //BA.debugLineNum = 14286852;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpages.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpages.java index a23331b..3bf02fa 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpages.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpages.java @@ -10,7 +10,8 @@ private static b4xpages mostCurrent = new b4xpages(); public static Object getObject() { throw new RuntimeException("Code module does not support this method."); } - public anywheresoftware.b4a.keywords.Common __c = null; + +public anywheresoftware.b4a.keywords.Common __c = null; public static Object _mpm = null; public static gunav2.keymon.com.mx.b4xpagesdelegator _delegate = null; public static Object _globalcontext = null; @@ -19,122 +20,196 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem _addmenuitem(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; - //BA.debugLineNum = 92;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; -if (true) return _getmanager(_ba)._addmenuitem /*gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem*/ (_b4xpage,_title); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; +public static gunav2.keymon.com.mx.b4xmainpage _mainpage(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "mainpage", true)) + {return ((gunav2.keymon.com.mx.b4xmainpage) Debug.delegate(null, "mainpage", new Object[] {_ba}));} +RDebugUtils.currentLine=10027008; + //BA.debugLineNum = 10027008;BA.debugLine="Public Sub MainPage As B4XMainPage"; +RDebugUtils.currentLine=10027009; + //BA.debugLineNum = 10027009;BA.debugLine="Return GetManager.MainPage"; +if (true) return _getmanager(_ba)._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ ; +RDebugUtils.currentLine=10027010; + //BA.debugLineNum = 10027010;BA.debugLine="End Sub"; +return null; +} +public static gunav2.keymon.com.mx.b4xpagesmanager _getmanager(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getmanager", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager) Debug.delegate(null, "getmanager", new Object[] {_ba}));} +RDebugUtils.currentLine=9371648; + //BA.debugLineNum = 9371648;BA.debugLine="Public Sub GetManager As B4XPagesManager"; +RDebugUtils.currentLine=9371649; + //BA.debugLineNum = 9371649;BA.debugLine="Return mPM"; +if (true) return (gunav2.keymon.com.mx.b4xpagesmanager)(_mpm); +RDebugUtils.currentLine=9371650; + //BA.debugLineNum = 9371650;BA.debugLine="End Sub"; return null; } public static String _addpage(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; - //BA.debugLineNum = 38;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; -_getmanager(_ba)._addpage /*String*/ (_id,_b4xpage); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public static String _addpageandcreate(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; - //BA.debugLineNum = 43;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; -_getmanager(_ba)._addpageandcreate /*String*/ (_id,_b4xpage); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return ""; -} -public static String _closepage(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; - //BA.debugLineNum = 63;BA.debugLine="GetManager.ClosePage (B4XPage)"; -_getmanager(_ba)._closepage /*String*/ (_b4xpage); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; -return ""; -} -public static gunav2.keymon.com.mx.b4xpagesmanager _getmanager(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Public Sub GetManager As B4XPagesManager"; - //BA.debugLineNum = 15;BA.debugLine="Return mPM"; -if (true) return (gunav2.keymon.com.mx.b4xpagesmanager)(_mpm); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return null; -} -public static anywheresoftware.b4a.objects.ActivityWrapper _getnativeparent(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 79;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; - //BA.debugLineNum = 87;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; -if (true) return _getmanager(_ba)._findpifromb4xpage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ ; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; -return null; -} -public static Object _getpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Public Sub GetPage (Id As String) As Object"; - //BA.debugLineNum = 28;BA.debugLine="Return GetManager.GetPage(Id)"; -if (true) return _getmanager(_ba)._getpage /*Object*/ (_id); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return null; -} -public static String _getpageid(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; - //BA.debugLineNum = 33;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; -if (true) return _getmanager(_ba)._findpifromb4xpage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Id /*String*/ ; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public static String _internalsetpagesmanager(anywheresoftware.b4a.BA _ba,Object _pm) throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; - //BA.debugLineNum = 20;BA.debugLine="Delegate.Initialize"; -_delegate._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 21;BA.debugLine="mPM = PM"; -_mpm = _pm; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public static boolean _isinitialized(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub IsInitialized As Boolean"; - //BA.debugLineNum = 10;BA.debugLine="Return mPM Is B4XPagesManager"; -if (true) return _mpm instanceof gunav2.keymon.com.mx.b4xpagesmanager; - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return false; -} -public static gunav2.keymon.com.mx.b4xmainpage _mainpage(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 73;BA.debugLine="Public Sub MainPage As B4XMainPage"; - //BA.debugLineNum = 74;BA.debugLine="Return GetManager.MainPage"; -if (true) return _getmanager(_ba)._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ ; - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return null; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mPM As Object"; -_mpm = new Object(); - //BA.debugLineNum = 3;BA.debugLine="Public Delegate As B4XPagesDelegator"; -_delegate = new gunav2.keymon.com.mx.b4xpagesdelegator(); - //BA.debugLineNum = 4;BA.debugLine="Public GlobalContext As Object"; -_globalcontext = new Object(); - //BA.debugLineNum = 5;BA.debugLine="End Sub"; -return ""; -} -public static String _settitle(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ - //BA.debugLineNum = 68;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; - //BA.debugLineNum = 69;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; -_getmanager(_ba)._settitle /*String*/ (_b4xpage,_title); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addpage", true)) + {return ((String) Debug.delegate(null, "addpage", new Object[] {_ba,_id,_b4xpage}));} +RDebugUtils.currentLine=9633792; + //BA.debugLineNum = 9633792;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +RDebugUtils.currentLine=9633793; + //BA.debugLineNum = 9633793;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; +_getmanager(_ba)._addpage /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=9633794; + //BA.debugLineNum = 9633794;BA.debugLine="End Sub"; return ""; } public static String _showpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub ShowPage (Id As String)"; - //BA.debugLineNum = 51;BA.debugLine="GetManager.ShowPage(Id)"; -_getmanager(_ba)._showpage /*String*/ (_id); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "showpage", true)) + {return ((String) Debug.delegate(null, "showpage", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=9764864; + //BA.debugLineNum = 9764864;BA.debugLine="Public Sub ShowPage (Id As String)"; +RDebugUtils.currentLine=9764865; + //BA.debugLineNum = 9764865;BA.debugLine="GetManager.ShowPage(Id)"; +_getmanager(_ba)._showpage /*String*/ (null,_id); +RDebugUtils.currentLine=9764866; + //BA.debugLineNum = 9764866;BA.debugLine="End Sub"; return ""; } +public static Object _getpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getpage", true)) + {return ((Object) Debug.delegate(null, "getpage", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=9502720; + //BA.debugLineNum = 9502720;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +RDebugUtils.currentLine=9502721; + //BA.debugLineNum = 9502721;BA.debugLine="Return GetManager.GetPage(Id)"; +if (true) return _getmanager(_ba)._getpage /*Object*/ (null,_id); +RDebugUtils.currentLine=9502722; + //BA.debugLineNum = 9502722;BA.debugLine="End Sub"; +return null; +} +public static anywheresoftware.b4a.objects.ActivityWrapper _getnativeparent(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getnativeparent", true)) + {return ((anywheresoftware.b4a.objects.ActivityWrapper) Debug.delegate(null, "getnativeparent", new Object[] {_ba,_b4xpage}));} +RDebugUtils.currentLine=10092544; + //BA.debugLineNum = 10092544;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; +RDebugUtils.currentLine=10092552; + //BA.debugLineNum = 10092552;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; +if (true) return _getmanager(_ba)._findpifromb4xpage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ ; +RDebugUtils.currentLine=10092553; + //BA.debugLineNum = 10092553;BA.debugLine="End Sub"; +return null; +} public static String _showpageandremovepreviouspages(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; - //BA.debugLineNum = 57;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; -_getmanager(_ba)._showpageandremovepreviouspages /*String*/ (_id); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "showpageandremovepreviouspages", true)) + {return ((String) Debug.delegate(null, "showpageandremovepreviouspages", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=9830400; + //BA.debugLineNum = 9830400;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +RDebugUtils.currentLine=9830401; + //BA.debugLineNum = 9830401;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; +_getmanager(_ba)._showpageandremovepreviouspages /*String*/ (null,_id); +RDebugUtils.currentLine=9830402; + //BA.debugLineNum = 9830402;BA.debugLine="End Sub"; return ""; } +public static gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem _addmenuitem(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addmenuitem", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem) Debug.delegate(null, "addmenuitem", new Object[] {_ba,_b4xpage,_title}));} +RDebugUtils.currentLine=10158080; + //BA.debugLineNum = 10158080;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; +RDebugUtils.currentLine=10158081; + //BA.debugLineNum = 10158081;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; +if (true) return _getmanager(_ba)._addmenuitem /*gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem*/ (null,_b4xpage,_title); +RDebugUtils.currentLine=10158082; + //BA.debugLineNum = 10158082;BA.debugLine="End Sub"; +return null; } +public static String _addpageandcreate(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addpageandcreate", true)) + {return ((String) Debug.delegate(null, "addpageandcreate", new Object[] {_ba,_id,_b4xpage}));} +RDebugUtils.currentLine=9699328; + //BA.debugLineNum = 9699328;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +RDebugUtils.currentLine=9699329; + //BA.debugLineNum = 9699329;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; +_getmanager(_ba)._addpageandcreate /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=9699330; + //BA.debugLineNum = 9699330;BA.debugLine="End Sub"; +return ""; +} +public static String _closepage(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "closepage", true)) + {return ((String) Debug.delegate(null, "closepage", new Object[] {_ba,_b4xpage}));} +RDebugUtils.currentLine=9895936; + //BA.debugLineNum = 9895936;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +RDebugUtils.currentLine=9895937; + //BA.debugLineNum = 9895937;BA.debugLine="GetManager.ClosePage (B4XPage)"; +_getmanager(_ba)._closepage /*String*/ (null,_b4xpage); +RDebugUtils.currentLine=9895938; + //BA.debugLineNum = 9895938;BA.debugLine="End Sub"; +return ""; +} +public static String _getpageid(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getpageid", true)) + {return ((String) Debug.delegate(null, "getpageid", new Object[] {_ba,_b4xpage}));} +RDebugUtils.currentLine=9568256; + //BA.debugLineNum = 9568256;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; +RDebugUtils.currentLine=9568257; + //BA.debugLineNum = 9568257;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; +if (true) return _getmanager(_ba)._findpifromb4xpage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Id /*String*/ ; +RDebugUtils.currentLine=9568258; + //BA.debugLineNum = 9568258;BA.debugLine="End Sub"; +return ""; +} +public static String _internalsetpagesmanager(anywheresoftware.b4a.BA _ba,Object _pm) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "internalsetpagesmanager", true)) + {return ((String) Debug.delegate(null, "internalsetpagesmanager", new Object[] {_ba,_pm}));} +RDebugUtils.currentLine=9437184; + //BA.debugLineNum = 9437184;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; +RDebugUtils.currentLine=9437185; + //BA.debugLineNum = 9437185;BA.debugLine="Delegate.Initialize"; +_delegate._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=9437186; + //BA.debugLineNum = 9437186;BA.debugLine="mPM = PM"; +_mpm = _pm; +RDebugUtils.currentLine=9437187; + //BA.debugLineNum = 9437187;BA.debugLine="End Sub"; +return ""; +} +public static boolean _isinitialized(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "isinitialized", true)) + {return ((Boolean) Debug.delegate(null, "isinitialized", new Object[] {_ba}));} +RDebugUtils.currentLine=9306112; + //BA.debugLineNum = 9306112;BA.debugLine="Public Sub IsInitialized As Boolean"; +RDebugUtils.currentLine=9306113; + //BA.debugLineNum = 9306113;BA.debugLine="Return mPM Is B4XPagesManager"; +if (true) return _mpm instanceof gunav2.keymon.com.mx.b4xpagesmanager; +RDebugUtils.currentLine=9306114; + //BA.debugLineNum = 9306114;BA.debugLine="End Sub"; +return false; +} +public static String _settitle(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "settitle", true)) + {return ((String) Debug.delegate(null, "settitle", new Object[] {_ba,_b4xpage,_title}));} +RDebugUtils.currentLine=9961472; + //BA.debugLineNum = 9961472;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +RDebugUtils.currentLine=9961473; + //BA.debugLineNum = 9961473;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; +_getmanager(_ba)._settitle /*String*/ (null,_b4xpage,_title); +RDebugUtils.currentLine=9961474; + //BA.debugLineNum = 9961474;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesdelegator.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesdelegator.java index 0dc4a09..18d3b6d 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesdelegator.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesdelegator.java @@ -10,7 +10,7 @@ public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xpagesdelegator"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xpagesdelegator"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,82 +23,142 @@ public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public b4a.example.dateutils _dateutils = null; public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _activity_actionbarhomeclick() throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 36;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; -_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_actionbarhomeclick /*String*/ (); - //BA.debugLineNum = 37;BA.debugLine="End Sub"; +public String _activity_actionbarhomeclick(gunav2.keymon.com.mx.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_actionbarhomeclick", true)) + {return ((String) Debug.delegate(ba, "activity_actionbarhomeclick", null));} +RDebugUtils.currentLine=15138816; + //BA.debugLineNum = 15138816;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=15138817; + //BA.debugLineNum = 15138817;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; +_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_actionbarhomeclick /*String*/ (null); +RDebugUtils.currentLine=15138818; + //BA.debugLineNum = 15138818;BA.debugLine="End Sub"; return ""; } -public boolean _activity_keypress(int _keycode) throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; - //BA.debugLineNum = 28;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; -if (true) return _b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_keypress /*boolean*/ (_keycode); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +public boolean _activity_keypress(gunav2.keymon.com.mx.b4xpagesdelegator __ref,int _keycode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_keypress", true)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_keycode}));} +RDebugUtils.currentLine=15007744; + //BA.debugLineNum = 15007744;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +RDebugUtils.currentLine=15007745; + //BA.debugLineNum = 15007745;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; +if (true) return _b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_keypress /*boolean*/ (null,_keycode); +RDebugUtils.currentLine=15007746; + //BA.debugLineNum = 15007746;BA.debugLine="End Sub"; return false; } -public String _activity_pause() throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub Activity_Pause"; - //BA.debugLineNum = 53;BA.debugLine="B4XPages.GetManager.Activity_Pause"; -_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_pause /*String*/ (); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +public String _activity_pause(gunav2.keymon.com.mx.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +RDebugUtils.currentLine=15400960; + //BA.debugLineNum = 15400960;BA.debugLine="Public Sub Activity_Pause"; +RDebugUtils.currentLine=15400961; + //BA.debugLineNum = 15400961;BA.debugLine="B4XPages.GetManager.Activity_Pause"; +_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_pause /*String*/ (null); +RDebugUtils.currentLine=15400962; + //BA.debugLineNum = 15400962;BA.debugLine="End Sub"; return ""; } -public String _activity_permissionresult(String _permission,boolean _result) throws Exception{ - //BA.debugLineNum = 31;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; - //BA.debugLineNum = 32;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; -_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._raiseevent /*String*/ (_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (),"B4XPage_PermissionResult",new Object[]{(Object)(_permission),(Object)(_result)}); - //BA.debugLineNum = 33;BA.debugLine="End Sub"; +public String _activity_permissionresult(gunav2.keymon.com.mx.b4xpagesdelegator __ref,String _permission,boolean _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_permissionresult", true)) + {return ((String) Debug.delegate(ba, "activity_permissionresult", new Object[] {_permission,_result}));} +RDebugUtils.currentLine=15073280; + //BA.debugLineNum = 15073280;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +RDebugUtils.currentLine=15073281; + //BA.debugLineNum = 15073281;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; +_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._raiseevent /*String*/ (null,_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_PermissionResult",new Object[]{(Object)(_permission),(Object)(_result)}); +RDebugUtils.currentLine=15073282; + //BA.debugLineNum = 15073282;BA.debugLine="End Sub"; return ""; } -public String _activity_resume() throws Exception{ - //BA.debugLineNum = 48;BA.debugLine="Public Sub Activity_Resume"; - //BA.debugLineNum = 49;BA.debugLine="B4XPages.GetManager.Activity_Resume"; -_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_resume /*String*/ (); - //BA.debugLineNum = 50;BA.debugLine="End Sub"; +public String _activity_resume(gunav2.keymon.com.mx.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_resume", true)) + {return ((String) Debug.delegate(ba, "activity_resume", null));} +RDebugUtils.currentLine=15335424; + //BA.debugLineNum = 15335424;BA.debugLine="Public Sub Activity_Resume"; +RDebugUtils.currentLine=15335425; + //BA.debugLineNum = 15335425;BA.debugLine="B4XPages.GetManager.Activity_Resume"; +_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_resume /*String*/ (null); +RDebugUtils.currentLine=15335426; + //BA.debugLineNum = 15335426;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="End Sub"; +public String _create_menu(gunav2.keymon.com.mx.b4xpagesdelegator __ref,Object _menu) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "create_menu", true)) + {return ((String) Debug.delegate(ba, "create_menu", new Object[] {_menu}));} +RDebugUtils.currentLine=15204352; + //BA.debugLineNum = 15204352;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; +RDebugUtils.currentLine=15204353; + //BA.debugLineNum = 15204353;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; +_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._createmenu /*String*/ (null,_menu); +RDebugUtils.currentLine=15204354; + //BA.debugLineNum = 15204354;BA.debugLine="End Sub"; return ""; } -public String _create_menu(Object _menu) throws Exception{ - //BA.debugLineNum = 39;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; - //BA.debugLineNum = 40;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; -_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._createmenu /*String*/ (_menu); - //BA.debugLineNum = 41;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xpagesdelegator __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 6;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=14942208; + //BA.debugLineNum = 14942208;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=14942210; + //BA.debugLineNum = 14942210;BA.debugLine="End Sub"; return ""; } -public String _mainform_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 44;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; - //BA.debugLineNum = 45;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; -_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._mainform_resize /*String*/ (_width,_height); - //BA.debugLineNum = 46;BA.debugLine="End Sub"; +public String _class_globals(gunav2.keymon.com.mx.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +RDebugUtils.currentLine=14876672; + //BA.debugLineNum = 14876672;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=14876673; + //BA.debugLineNum = 14876673;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public String _mainform_resize(gunav2.keymon.com.mx.b4xpagesdelegator __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "mainform_resize", true)) + {return ((String) Debug.delegate(ba, "mainform_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=15269888; + //BA.debugLineNum = 15269888;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +RDebugUtils.currentLine=15269889; + //BA.debugLineNum = 15269889;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; +_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._mainform_resize /*String*/ (null,_width,_height); +RDebugUtils.currentLine=15269890; + //BA.debugLineNum = 15269890;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesmanager.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesmanager.java index 6290800..7b25fb0 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesmanager.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesmanager.java @@ -10,7 +10,7 @@ public class b4xpagesmanager extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xpagesmanager"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xpagesmanager"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,33 +23,13 @@ public class b4xpagesmanager extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public gunav2.keymon.com.mx.b4xorderedmap _idtob4xpage = null; -public gunav2.keymon.com.mx.b4xorderedmap _rootb4xtopage = null; -public anywheresoftware.b4j.object.JavaObject _context = null; -public gunav2.keymon.com.mx.b4xset _mstackofpageids = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.ActivityWrapper _mmainform = null; -public boolean _showupindicator = false; -public anywheresoftware.b4j.object.JavaObject _actionbar = null; -public boolean _isforeground = false; -public int _transitionanimationduration = 0; -public gunav2.keymon.com.mx.b4xmainpage _mainpage = null; -public String _stackstring = ""; -public boolean _logevents = false; -public b4a.example.dateutils _dateutils = null; -public gunav2.keymon.com.mx.main _main = null; -public gunav2.keymon.com.mx.starter _starter = null; -public gunav2.keymon.com.mx.subs _subs = null; -public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; -public gunav2.keymon.com.mx.newinst2 _newinst2 = null; -public gunav2.keymon.com.mx.b4xpages _b4xpages = null; -public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; -public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _b4xpageparent{ public boolean IsInitialized; public anywheresoftware.b4a.objects.ActivityWrapper NativeType; @@ -105,384 +85,654 @@ Parent = new gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent(); public String toString() { return BA.TypeToString(this, false); }} -public String _activity_actionbarhomeclick() throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 129;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 130;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 131;BA.debugLine="If pi <> Null Then"; -if (_pi!= null) { - //BA.debugLineNum = 132;BA.debugLine="If CloseRequestExists (pi) Then"; -if (_closerequestexists(_pi)) { - //BA.debugLineNum = 133;BA.debugLine="HandleCloseRequest(pi)"; -_handlecloserequest(_pi); - }else { - //BA.debugLineNum = 135;BA.debugLine="ClosePage(pi.B4XPage)"; -_closepage(_pi.B4XPage /*Object*/ ); +public anywheresoftware.b4a.keywords.Common __c = null; +public gunav2.keymon.com.mx.b4xorderedmap _idtob4xpage = null; +public gunav2.keymon.com.mx.b4xorderedmap _rootb4xtopage = null; +public anywheresoftware.b4j.object.JavaObject _context = null; +public gunav2.keymon.com.mx.b4xset _mstackofpageids = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.ActivityWrapper _mmainform = null; +public boolean _showupindicator = false; +public anywheresoftware.b4j.object.JavaObject _actionbar = null; +public boolean _isforeground = false; +public int _transitionanimationduration = 0; +public gunav2.keymon.com.mx.b4xmainpage _mainpage = null; +public String _stackstring = ""; +public boolean _logevents = false; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _initialize(gunav2.keymon.com.mx.b4xpagesmanager __ref,anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ActivityWrapper _activity) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_activity}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +anywheresoftware.b4j.object.JavaObject _module = null; +boolean _nonmainpagewasadded = false; +RDebugUtils.currentLine=15532032; + //BA.debugLineNum = 15532032;BA.debugLine="Public Sub Initialize (Activity As Activity)"; +RDebugUtils.currentLine=15532036; + //BA.debugLineNum = 15532036;BA.debugLine="IdToB4XPage.Initialize"; +__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=15532037; + //BA.debugLineNum = 15532037;BA.debugLine="RootB4XToPage.Initialize"; +__ref._rootb4xtopage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=15532038; + //BA.debugLineNum = 15532038;BA.debugLine="mStackOfPageIds.Initialize"; +__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=15532042; + //BA.debugLineNum = 15532042;BA.debugLine="Context.InitializeContext"; +__ref._context /*anywheresoftware.b4j.object.JavaObject*/ .InitializeContext(ba); +RDebugUtils.currentLine=15532043; + //BA.debugLineNum = 15532043;BA.debugLine="mMainForm = Activity"; +__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ = _activity; +RDebugUtils.currentLine=15532044; + //BA.debugLineNum = 15532044;BA.debugLine="CheckMainActivityOrientations"; +__ref._checkmainactivityorientations /*String*/ (null); +RDebugUtils.currentLine=15532045; + //BA.debugLineNum = 15532045;BA.debugLine="Dim jo As JavaObject = Me"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=15532046; + //BA.debugLineNum = 15532046;BA.debugLine="Dim module As JavaObject"; +_module = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=15532047; + //BA.debugLineNum = 15532047;BA.debugLine="module.InitializeStatic(jo.RunMethodJO(\"getActivi"; +_module.InitializeStatic(BA.ObjectToString(_jo.RunMethodJO("getActivityBA",(Object[])(__c.Null)).GetField("className"))).SetField("dontPause",(Object)(__c.True)); +RDebugUtils.currentLine=15532051; + //BA.debugLineNum = 15532051;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; +_b4xpages._internalsetpagesmanager /*String*/ (ba,this); +RDebugUtils.currentLine=15532052; + //BA.debugLineNum = 15532052;BA.debugLine="MainPage.Initialize"; +__ref._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=15532053; + //BA.debugLineNum = 15532053;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; +_nonmainpagewasadded = __ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null)>0; +RDebugUtils.currentLine=15532054; + //BA.debugLineNum = 15532054;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; +__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)("~~~~~temp~~~~"),(Object)(__ref._createb4xpageinfo /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,(Object)(__ref._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ ),"",__c.False,(Object)("")))); +RDebugUtils.currentLine=15532055; + //BA.debugLineNum = 15532055;BA.debugLine="BackgroundStateChanged(True)"; +__ref._backgroundstatechanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=15532056; + //BA.debugLineNum = 15532056;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; +__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,(Object)("~~~~~temp~~~~")); +RDebugUtils.currentLine=15532057; + //BA.debugLineNum = 15532057;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; +__ref._addpageandcreate /*String*/ (null,"MainPage",(Object)(__ref._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ )); +RDebugUtils.currentLine=15532058; + //BA.debugLineNum = 15532058;BA.debugLine="If LogEvents = False Then"; +if (__ref._logevents /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=15532059; + //BA.debugLineNum = 15532059;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; +__c.LogImpl("915532059","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); + }; +RDebugUtils.currentLine=15532061; + //BA.debugLineNum = 15532061;BA.debugLine="If NonMainPageWasAdded Then"; +if (_nonmainpagewasadded) { +RDebugUtils.currentLine=15532062; + //BA.debugLineNum = 15532062;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=15532063; + //BA.debugLineNum = 15532063;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,__ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Appear",(Object[])(__c.Null)); }; }; - //BA.debugLineNum = 138;BA.debugLine="End Sub"; +RDebugUtils.currentLine=15532066; + //BA.debugLineNum = 15532066;BA.debugLine="End Sub"; return ""; } -public boolean _activity_keypress(int _keycode) throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 468;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; - //BA.debugLineNum = 469;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; -if (_keycode==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 470;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 471;BA.debugLine="If CloseRequestExists(pi) Then"; -if (_closerequestexists(_pi)) { - //BA.debugLineNum = 472;BA.debugLine="HandleCloseRequest(pi)"; -_handlecloserequest(_pi); - }else { - //BA.debugLineNum = 474;BA.debugLine="ClosePage(pi.B4XPage)"; -_closepage(_pi.B4XPage /*Object*/ ); - }; - //BA.debugLineNum = 476;BA.debugLine="Return True"; -if (true) return __c.True; - }; - //BA.debugLineNum = 478;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 479;BA.debugLine="End Sub"; -return false; -} -public String _activity_pause() throws Exception{ - //BA.debugLineNum = 635;BA.debugLine="Public Sub Activity_Pause"; - //BA.debugLineNum = 636;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; -_raiseeventwithresult(_gettoppage(),"B4XPage_Disappear",(Object[])(__c.Null)); - //BA.debugLineNum = 637;BA.debugLine="BackgroundStateChanged(False)"; -_backgroundstatechanged(__c.False); - //BA.debugLineNum = 638;BA.debugLine="End Sub"; -return ""; -} -public String _activity_resume() throws Exception{ -boolean _shouldraise = false; - //BA.debugLineNum = 610;BA.debugLine="Public Sub Activity_Resume"; - //BA.debugLineNum = 611;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; -_shouldraise = _isforeground==__c.False; - //BA.debugLineNum = 612;BA.debugLine="BackgroundStateChanged(True)"; -_backgroundstatechanged(__c.True); - //BA.debugLineNum = 613;BA.debugLine="If ShouldRaise Then"; -if (_shouldraise) { - //BA.debugLineNum = 614;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; -_raiseevent(_gettoppage(),"B4XPage_Appear",(Object[])(__c.Null)); - }; - //BA.debugLineNum = 616;BA.debugLine="End Sub"; -return ""; -} -public gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem _addmenuitem(Object _b4xpage,Object _title) throws Exception{ +public gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem _addmenuitem(gunav2.keymon.com.mx.b4xpagesmanager __ref,Object _b4xpage,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addmenuitem", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem) Debug.delegate(ba, "addmenuitem", new Object[] {_b4xpage,_title}));} gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem _mi = null; - //BA.debugLineNum = 481;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; - //BA.debugLineNum = 482;BA.debugLine="Dim mi As B4AMenuItem"; +RDebugUtils.currentLine=16908288; + //BA.debugLineNum = 16908288;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; +RDebugUtils.currentLine=16908289; + //BA.debugLineNum = 16908289;BA.debugLine="Dim mi As B4AMenuItem"; _mi = new gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem(); - //BA.debugLineNum = 483;BA.debugLine="mi.Initialize"; +RDebugUtils.currentLine=16908290; + //BA.debugLineNum = 16908290;BA.debugLine="mi.Initialize"; _mi.Initialize(); - //BA.debugLineNum = 484;BA.debugLine="mi.Title = Title"; +RDebugUtils.currentLine=16908291; + //BA.debugLineNum = 16908291;BA.debugLine="mi.Title = Title"; _mi.Title /*Object*/ = _title; - //BA.debugLineNum = 485;BA.debugLine="mi.Tag = Title"; +RDebugUtils.currentLine=16908292; + //BA.debugLineNum = 16908292;BA.debugLine="mi.Tag = Title"; _mi.Tag /*String*/ = BA.ObjectToString(_title); - //BA.debugLineNum = 486;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; -_findpifromb4xpage(_b4xpage).Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_mi)); - //BA.debugLineNum = 487;BA.debugLine="Return mi"; +RDebugUtils.currentLine=16908293; + //BA.debugLineNum = 16908293;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; +__ref._findpifromb4xpage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_mi)); +RDebugUtils.currentLine=16908294; + //BA.debugLineNum = 16908294;BA.debugLine="Return mi"; if (true) return _mi; - //BA.debugLineNum = 488;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16908295; + //BA.debugLineNum = 16908295;BA.debugLine="End Sub"; return null; } -public String _addpage(String _id,Object _b4xpage) throws Exception{ +public String _addpage(gunav2.keymon.com.mx.b4xpagesmanager __ref,String _id,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addpage", true)) + {return ((String) Debug.delegate(ba, "addpage", new Object[] {_id,_b4xpage}));} String _idtolower = ""; - //BA.debugLineNum = 141;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; - //BA.debugLineNum = 142;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; +RDebugUtils.currentLine=15728640; + //BA.debugLineNum = 15728640;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +RDebugUtils.currentLine=15728641; + //BA.debugLineNum = 15728641;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; _idtolower = _id.toLowerCase(); - //BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; -if (_idtob4xpage._containskey /*boolean*/ ((Object)(_idtolower))) { - //BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; -__c.LogImpl("99568259",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); - //BA.debugLineNum = 145;BA.debugLine="Return"; +RDebugUtils.currentLine=15728642; + //BA.debugLineNum = 15728642;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; +if (__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_idtolower))) { +RDebugUtils.currentLine=15728643; + //BA.debugLineNum = 15728643;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; +__c.LogImpl("915728643",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); +RDebugUtils.currentLine=15728644; + //BA.debugLineNum = 15728644;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 147;BA.debugLine="IdToB4XPage.Put(IdToLower, CreateB4XPageInfo(B4XP"; -_idtob4xpage._put /*String*/ ((Object)(_idtolower),(Object)(_createb4xpageinfo(_b4xpage,_idtolower,__c.False,(Object)(_id)))); - //BA.debugLineNum = 148;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; -if (_idtob4xpage._getsize /*int*/ ()==1) { -_showpage(_idtolower);}; - //BA.debugLineNum = 149;BA.debugLine="End Sub"; +RDebugUtils.currentLine=15728646; + //BA.debugLineNum = 15728646;BA.debugLine="IdToB4XPage.Put(IdToLower, CreateB4XPageInfo(B4XP"; +__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_idtolower),(Object)(__ref._createb4xpageinfo /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage,_idtolower,__c.False,(Object)(_id)))); +RDebugUtils.currentLine=15728647; + //BA.debugLineNum = 15728647;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; +if (__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null)==1) { +__ref._showpage /*String*/ (null,_idtolower);}; +RDebugUtils.currentLine=15728648; + //BA.debugLineNum = 15728648;BA.debugLine="End Sub"; return ""; } -public String _addpageandcreate(String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 151;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; - //BA.debugLineNum = 152;BA.debugLine="AddPage (Id, B4XPage)"; -_addpage(_id,_b4xpage); - //BA.debugLineNum = 153;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; -_createpageifneeded(_getpagefromid(_id)); - //BA.debugLineNum = 154;BA.debugLine="End Sub"; +public String _addpageandcreate(gunav2.keymon.com.mx.b4xpagesmanager __ref,String _id,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addpageandcreate", true)) + {return ((String) Debug.delegate(ba, "addpageandcreate", new Object[] {_id,_b4xpage}));} +RDebugUtils.currentLine=15794176; + //BA.debugLineNum = 15794176;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +RDebugUtils.currentLine=15794177; + //BA.debugLineNum = 15794177;BA.debugLine="AddPage (Id, B4XPage)"; +__ref._addpage /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=15794178; + //BA.debugLineNum = 15794178;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; +__ref._createpageifneeded /*String*/ (null,__ref._getpagefromid /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id)); +RDebugUtils.currentLine=15794179; + //BA.debugLineNum = 15794179;BA.debugLine="End Sub"; return ""; } -public String _backgroundstatechanged(boolean _newstate) throws Exception{ -String _ev = ""; -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 618;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; - //BA.debugLineNum = 619;BA.debugLine="If IsForeground = NewState Then Return"; -if (_isforeground==_newstate) { -if (true) return "";}; - //BA.debugLineNum = 620;BA.debugLine="IsForeground = NewState"; -_isforeground = _newstate; - //BA.debugLineNum = 621;BA.debugLine="Dim ev As String"; -_ev = ""; - //BA.debugLineNum = 622;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; -if (_isforeground) { -_ev = "B4XPage_Foreground";} -else { -_ev = "B4XPage_Background";}; - //BA.debugLineNum = 623;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; -{ -final anywheresoftware.b4a.BA.IterableList group5 = _idtob4xpage._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen5 = group5.getSize() -;int index5 = 0; -; -for (; index5 < groupLen5;index5++){ -_pi = (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(group5.Get(index5)); - //BA.debugLineNum = 624;BA.debugLine="If xui.SubExists(pi.B4XPage, ev, 0) Then"; -if (_xui.SubExists(ba,_pi.B4XPage /*Object*/ ,_ev,(int) (0))) { - //BA.debugLineNum = 625;BA.debugLine="LogEvent(pi, ev)"; -_logevent(_pi,_ev); - //BA.debugLineNum = 626;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 627;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; -__c.CallSubDelayed(ba,_pi.B4XPage /*Object*/ ,_ev); - }else { - //BA.debugLineNum = 629;BA.debugLine="CallSub(pi.B4XPage, ev)"; -__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,_ev); - }; - }; - } -}; - //BA.debugLineNum = 633;BA.debugLine="End Sub"; -return ""; -} -public String _checkmainactivityorientations() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4j.object.JavaObject _jme = null; -boolean _isappcompat = false; -anywheresoftware.b4j.object.JavaObject _pi = null; -Object[] _activities = null; -anywheresoftware.b4j.object.JavaObject _act = null; -String _name = ""; -int _screenorientation = 0; - //BA.debugLineNum = 96;BA.debugLine="Private Sub CheckMainActivityOrientations"; - //BA.debugLineNum = 98;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 99;BA.debugLine="jo.InitializeContext"; -_jo.InitializeContext(ba); - //BA.debugLineNum = 101;BA.debugLine="ActionBar = jo.RunMethod(\"getActionBar\", Null)"; -_actionbar = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getActionBar",(Object[])(__c.Null)))); - //BA.debugLineNum = 102;BA.debugLine="If ActionBar.IsInitialized = False Then"; -if (_actionbar.IsInitialized()==__c.False) { - //BA.debugLineNum = 103;BA.debugLine="Dim jme As JavaObject = Me"; -_jme = new anywheresoftware.b4j.object.JavaObject(); -_jme = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 104;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; -_isappcompat = BA.ObjectToBoolean(_jme.RunMethod("checkIfAppCompat",new Object[]{(Object)(_jo.getObject())})); - //BA.debugLineNum = 105;BA.debugLine="If IsAppCompat Then"; -if (_isappcompat) { - //BA.debugLineNum = 106;BA.debugLine="ActionBar = jo.RunMethod(\"getSupportActionBar\","; -_actionbar = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getSupportActionBar",(Object[])(__c.Null)))); - }; - }; - //BA.debugLineNum = 110;BA.debugLine="Dim pi As JavaObject = jo.RunMethodJO(\"getPackage"; -_pi = new anywheresoftware.b4j.object.JavaObject(); -_pi = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethodJO("getPackageManager",(Object[])(__c.Null)).RunMethod("getPackageInfo",new Object[]{(Object)(__c.Application.getPackageName()),(Object)(1)}))); - //BA.debugLineNum = 111;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; -_activities = (Object[])(_pi.GetField("activities")); - //BA.debugLineNum = 112;BA.debugLine="For Each Act As JavaObject In activities"; -_act = new anywheresoftware.b4j.object.JavaObject(); -{ -final Object[] group13 = _activities; -final int groupLen13 = group13.length -;int index13 = 0; -; -for (; index13 < groupLen13;index13++){ -_act = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(group13[index13])); - //BA.debugLineNum = 113;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; -_name = BA.ObjectToString(_act.GetField("name")); - //BA.debugLineNum = 114;BA.debugLine="If name.EndsWith(\".main\") Then"; -if (_name.endsWith(".main")) { - //BA.debugLineNum = 115;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; -_screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))); - //BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then"; -if (_screenorientation==-1) { - //BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; -__c.LogImpl("99437205","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red); - }; - }; - } -}; - //BA.debugLineNum = 121;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 23;BA.debugLine="Private IdToB4XPage As B4XOrderedMap"; -_idtob4xpage = new gunav2.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 24;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; -_rootb4xtopage = new gunav2.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 26;BA.debugLine="Private Context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 27;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; -; - //BA.debugLineNum = 28;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; -; - //BA.debugLineNum = 34;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; -; - //BA.debugLineNum = 38;BA.debugLine="Public mStackOfPageIds As B4XSet"; -_mstackofpageids = new gunav2.keymon.com.mx.b4xset(); - //BA.debugLineNum = 39;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 43;BA.debugLine="Private mMainForm As Activity"; -_mmainform = new anywheresoftware.b4a.objects.ActivityWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Public ShowUpIndicator As Boolean = True"; -_showupindicator = __c.True; - //BA.debugLineNum = 45;BA.debugLine="Public ActionBar As JavaObject"; -_actionbar = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 49;BA.debugLine="Public IsForeground As Boolean"; -_isforeground = false; - //BA.debugLineNum = 50;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; -_transitionanimationduration = (int) (100); - //BA.debugLineNum = 51;BA.debugLine="Public MainPage As B4XMainPage"; -_mainpage = new gunav2.keymon.com.mx.b4xmainpage(); - //BA.debugLineNum = 52;BA.debugLine="Private StackString As String"; -_stackstring = ""; - //BA.debugLineNum = 53;BA.debugLine="Public LogEvents As Boolean = False"; -_logevents = __c.False; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public String _closepage(Object _b4xpage) throws Exception{ +public String _closepage(gunav2.keymon.com.mx.b4xpagesmanager __ref,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closepage", true)) + {return ((String) Debug.delegate(ba, "closepage", new Object[] {_b4xpage}));} gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; boolean _isclosingtoppage = false; - //BA.debugLineNum = 209;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; - //BA.debugLineNum = 210;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; -_pi = _findpifromb4xpage(_b4xpage); - //BA.debugLineNum = 211;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; -if (_mstackofpageids._contains /*boolean*/ ((Object)(_pi.Id /*String*/ ))==__c.False) { +RDebugUtils.currentLine=15990784; + //BA.debugLineNum = 15990784;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +RDebugUtils.currentLine=15990785; + //BA.debugLineNum = 15990785;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +_pi = __ref._findpifromb4xpage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage); +RDebugUtils.currentLine=15990786; + //BA.debugLineNum = 15990786;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; +if (__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._contains /*boolean*/ (null,(Object)(_pi.Id /*String*/ ))==__c.False) { if (true) return "";}; - //BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; -if (_xui.getIsB4i() && (_gettoppage()).equals(_pi) == false) { - //BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")"; -__c.LogImpl("99830404","Only top page can be closed",0); - //BA.debugLineNum = 214;BA.debugLine="Return"; +RDebugUtils.currentLine=15990787; + //BA.debugLineNum = 15990787;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i() && (__ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null)).equals(_pi) == false) { +RDebugUtils.currentLine=15990788; + //BA.debugLineNum = 15990788;BA.debugLine="Log(\"Only top page can be closed\")"; +__c.LogImpl("915990788","Only top page can be closed",0); +RDebugUtils.currentLine=15990789; + //BA.debugLineNum = 15990789;BA.debugLine="Return"; if (true) return ""; - }else if(_xui.getIsB4i() && _mstackofpageids._getsize /*int*/ ()==1) { - //BA.debugLineNum = 216;BA.debugLine="Log(\"First page cannot be closed\")"; -__c.LogImpl("99830407","First page cannot be closed",0); - //BA.debugLineNum = 217;BA.debugLine="Return"; + }else +{RDebugUtils.currentLine=15990790; + //BA.debugLineNum = 15990790;BA.debugLine="Else If xui.IsB4i And mStackOfPageIds.Size = 1 Th"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i() && __ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)==1) { +RDebugUtils.currentLine=15990791; + //BA.debugLineNum = 15990791;BA.debugLine="Log(\"First page cannot be closed\")"; +__c.LogImpl("915990791","First page cannot be closed",0); +RDebugUtils.currentLine=15990792; + //BA.debugLineNum = 15990792;BA.debugLine="Return"; if (true) return ""; - }; - //BA.debugLineNum = 219;BA.debugLine="Dim IsClosingTopPage As Boolean = GetTopPage = pi"; -_isclosingtoppage = (_gettoppage()).equals(_pi); - //BA.debugLineNum = 220;BA.debugLine="ClosePageImpl(pi)"; -_closepageimpl(_pi); - //BA.debugLineNum = 221;BA.debugLine="If IsClosingTopPage Then"; + }} +; +RDebugUtils.currentLine=15990794; + //BA.debugLineNum = 15990794;BA.debugLine="Dim IsClosingTopPage As Boolean = GetTopPage = pi"; +_isclosingtoppage = (__ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null)).equals(_pi); +RDebugUtils.currentLine=15990795; + //BA.debugLineNum = 15990795;BA.debugLine="ClosePageImpl(pi)"; +__ref._closepageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=15990796; + //BA.debugLineNum = 15990796;BA.debugLine="If IsClosingTopPage Then"; if (_isclosingtoppage) { - //BA.debugLineNum = 222;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); +RDebugUtils.currentLine=15990797; + //BA.debugLineNum = 15990797;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); }; - //BA.debugLineNum = 224;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; -if (_xui.getIsB4A() && _mstackofpageids._getsize /*int*/ ()==1) { +RDebugUtils.currentLine=15990799; + //BA.debugLineNum = 15990799;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() && __ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)==1) { if (true) return "";}; - //BA.debugLineNum = 225;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; -_mstackofpageids._remove /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 226;BA.debugLine="If IsClosingTopPage Then"; +RDebugUtils.currentLine=15990800; + //BA.debugLineNum = 15990800;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._remove /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=15990801; + //BA.debugLineNum = 15990801;BA.debugLine="If IsClosingTopPage Then"; if (_isclosingtoppage) { - //BA.debugLineNum = 227;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; -if (_xui.getIsB4A()) { -_showpageimpl(_gettoppage());}; - //BA.debugLineNum = 228;BA.debugLine="TopPageAppear"; -_toppageappear(); +RDebugUtils.currentLine=15990802; + //BA.debugLineNum = 15990802;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +__ref._showpageimpl /*String*/ (null,__ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null));}; +RDebugUtils.currentLine=15990803; + //BA.debugLineNum = 15990803;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); }; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; +RDebugUtils.currentLine=15990805; + //BA.debugLineNum = 15990805;BA.debugLine="End Sub"; return ""; } -public String _closepageimpl(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 315;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; - //BA.debugLineNum = 317;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; -if (_mstackofpageids._getsize /*int*/ ()==1) { - //BA.debugLineNum = 318;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 319;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; -_i.Initialize(_i.ACTION_MAIN,""); - //BA.debugLineNum = 320;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; -_i.AddCategory("android.intent.category.HOME"); - //BA.debugLineNum = 321;BA.debugLine="i.Flags = 0x10000000"; -_i.setFlags(((int)0x10000000)); - //BA.debugLineNum = 322;BA.debugLine="StartActivity(i)"; -__c.StartActivity(ba,(Object)(_i.getObject())); +public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _findpifromb4xpage(gunav2.keymon.com.mx.b4xpagesmanager __ref,Object _page) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "findpifromb4xpage", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "findpifromb4xpage", new Object[] {_page}));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=16187392; + //BA.debugLineNum = 16187392;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; +RDebugUtils.currentLine=16187393; + //BA.debugLineNum = 16187393;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = __ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_pi = (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(group1.Get(index1)); +RDebugUtils.currentLine=16187394; + //BA.debugLineNum = 16187394;BA.debugLine="If pi.B4XPage = Page Then"; +if ((_pi.B4XPage /*Object*/ ).equals(_page)) { +RDebugUtils.currentLine=16187395; + //BA.debugLineNum = 16187395;BA.debugLine="Return pi"; +if (true) return _pi; + }; + } +}; +RDebugUtils.currentLine=16187398; + //BA.debugLineNum = 16187398;BA.debugLine="Return Null"; +if (true) return (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__c.Null); +RDebugUtils.currentLine=16187399; + //BA.debugLineNum = 16187399;BA.debugLine="End Sub"; +return null; +} +public Object _getpage(gunav2.keymon.com.mx.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpage", true)) + {return ((Object) Debug.delegate(ba, "getpage", new Object[] {_id}));} +RDebugUtils.currentLine=16580608; + //BA.debugLineNum = 16580608;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +RDebugUtils.currentLine=16580609; + //BA.debugLineNum = 16580609;BA.debugLine="Return GetPageFromId(Id).B4XPage"; +if (true) return __ref._getpagefromid /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id).B4XPage /*Object*/ ; +RDebugUtils.currentLine=16580610; + //BA.debugLineNum = 16580610;BA.debugLine="End Sub"; +return null; +} +public String _settitle(gunav2.keymon.com.mx.b4xpagesmanager __ref,Object _b4xpage,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "settitle", true)) + {return ((String) Debug.delegate(ba, "settitle", new Object[] {_b4xpage,_title}));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=16449536; + //BA.debugLineNum = 16449536;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +RDebugUtils.currentLine=16449537; + //BA.debugLineNum = 16449537;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +_pi = __ref._findpifromb4xpage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage); +RDebugUtils.currentLine=16449538; + //BA.debugLineNum = 16449538;BA.debugLine="pi.Title = Title"; +_pi.Title /*Object*/ = _title; +RDebugUtils.currentLine=16449539; + //BA.debugLineNum = 16449539;BA.debugLine="pi.Parent.NativeType.Title = Title"; +_pi.Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_title)); +RDebugUtils.currentLine=16449540; + //BA.debugLineNum = 16449540;BA.debugLine="End Sub"; +return ""; +} +public String _showpage(gunav2.keymon.com.mx.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpage", true)) + {return ((String) Debug.delegate(ba, "showpage", new Object[] {_id}));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _top = null; +RDebugUtils.currentLine=15859712; + //BA.debugLineNum = 15859712;BA.debugLine="Public Sub ShowPage (Id As String)"; +RDebugUtils.currentLine=15859713; + //BA.debugLineNum = 15859713;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +_pi = __ref._getpagefromid /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=15859714; + //BA.debugLineNum = 15859714;BA.debugLine="If pi = GetTopPage Then Return"; +if ((_pi).equals(__ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null))) { +if (true) return "";}; +RDebugUtils.currentLine=15859715; + //BA.debugLineNum = 15859715;BA.debugLine="CreatePageIfNeeded(pi)"; +__ref._createpageifneeded /*String*/ (null,_pi); +RDebugUtils.currentLine=15859716; + //BA.debugLineNum = 15859716;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); +RDebugUtils.currentLine=15859718; + //BA.debugLineNum = 15859718;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; +_top = __ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=15859719; + //BA.debugLineNum = 15859719;BA.debugLine="If Top <> Null Then"; +if (_top!= null) { +RDebugUtils.currentLine=15859720; + //BA.debugLineNum = 15859720;BA.debugLine="Top.Root.RemoveViewFromParent"; +_top.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + }; +RDebugUtils.currentLine=15859730; + //BA.debugLineNum = 15859730;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._remove /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=15859731; + //BA.debugLineNum = 15859731;BA.debugLine="ShowPageImpl(pi)"; +__ref._showpageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=15859732; + //BA.debugLineNum = 15859732;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._add /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=15859733; + //BA.debugLineNum = 15859733;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); +RDebugUtils.currentLine=15859734; + //BA.debugLineNum = 15859734;BA.debugLine="End Sub"; +return ""; +} +public String _showpageandremovepreviouspages(gunav2.keymon.com.mx.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpageandremovepreviouspages", true)) + {return ((String) Debug.delegate(ba, "showpageandremovepreviouspages", new Object[] {_id}));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pagetoremove = null; +RDebugUtils.currentLine=15925248; + //BA.debugLineNum = 15925248;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +RDebugUtils.currentLine=15925249; + //BA.debugLineNum = 15925249;BA.debugLine="If GetTopPage = Null Then"; +if (__ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null)== null) { +RDebugUtils.currentLine=15925250; + //BA.debugLineNum = 15925250;BA.debugLine="ShowPage(Id)"; +__ref._showpage /*String*/ (null,_id); +RDebugUtils.currentLine=15925251; + //BA.debugLineNum = 15925251;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=15925253; + //BA.debugLineNum = 15925253;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +_pi = __ref._getpagefromid /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=15925254; + //BA.debugLineNum = 15925254;BA.debugLine="CreatePageIfNeeded(pi)"; +__ref._createpageifneeded /*String*/ (null,_pi); +RDebugUtils.currentLine=15925255; + //BA.debugLineNum = 15925255;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); +RDebugUtils.currentLine=15925259; + //BA.debugLineNum = 15925259;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; +{ +final anywheresoftware.b4a.BA.IterableList group8 = __ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen8 = group8.getSize() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_id = BA.ObjectToString(group8.Get(index8)); +RDebugUtils.currentLine=15925260; + //BA.debugLineNum = 15925260;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; +_pagetoremove = __ref._getpagefromid /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=15925262; + //BA.debugLineNum = 15925262;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; +_pagetoremove.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + } +}; +RDebugUtils.currentLine=15925269; + //BA.debugLineNum = 15925269;BA.debugLine="mStackOfPageIds.Clear"; +__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=15925270; + //BA.debugLineNum = 15925270;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._add /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=15925271; + //BA.debugLineNum = 15925271;BA.debugLine="If xui.IsB4A Or xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=15925272; + //BA.debugLineNum = 15925272;BA.debugLine="ShowPageImpl(pi)"; +__ref._showpageimpl /*String*/ (null,_pi); + }; +RDebugUtils.currentLine=15925274; + //BA.debugLineNum = 15925274;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); +RDebugUtils.currentLine=15925275; + //BA.debugLineNum = 15925275;BA.debugLine="End Sub"; +return ""; +} +public String _activity_actionbarhomeclick(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_actionbarhomeclick", true)) + {return ((String) Debug.delegate(ba, "activity_actionbarhomeclick", null));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=15663104; + //BA.debugLineNum = 15663104;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=15663105; + //BA.debugLineNum = 15663105;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=15663106; + //BA.debugLineNum = 15663106;BA.debugLine="If pi <> Null Then"; +if (_pi!= null) { +RDebugUtils.currentLine=15663107; + //BA.debugLineNum = 15663107;BA.debugLine="If CloseRequestExists (pi) Then"; +if (__ref._closerequestexists /*boolean*/ (null,_pi)) { +RDebugUtils.currentLine=15663108; + //BA.debugLineNum = 15663108;BA.debugLine="HandleCloseRequest(pi)"; +__ref._handlecloserequest /*void*/ (null,_pi); }else { - //BA.debugLineNum = 324;BA.debugLine="pi.Root.RemoveViewFromParent"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); +RDebugUtils.currentLine=15663110; + //BA.debugLineNum = 15663110;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); }; - //BA.debugLineNum = 331;BA.debugLine="End Sub"; + }; +RDebugUtils.currentLine=15663113; + //BA.debugLineNum = 15663113;BA.debugLine="End Sub"; return ""; } -public boolean _closerequestexists(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 534;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; - //BA.debugLineNum = 535;BA.debugLine="Return xui.SubExists(pi.B4XPage, \"B4XPage_CloseRe"; -if (true) return _xui.SubExists(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest",(int) (0)); - //BA.debugLineNum = 536;BA.debugLine="End Sub"; +public boolean _activity_keypress(gunav2.keymon.com.mx.b4xpagesmanager __ref,int _keycode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_keypress", true)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_keycode}));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=16842752; + //BA.debugLineNum = 16842752;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +RDebugUtils.currentLine=16842753; + //BA.debugLineNum = 16842753;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; +if (_keycode==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=16842754; + //BA.debugLineNum = 16842754;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=16842755; + //BA.debugLineNum = 16842755;BA.debugLine="If CloseRequestExists(pi) Then"; +if (__ref._closerequestexists /*boolean*/ (null,_pi)) { +RDebugUtils.currentLine=16842756; + //BA.debugLineNum = 16842756;BA.debugLine="HandleCloseRequest(pi)"; +__ref._handlecloserequest /*void*/ (null,_pi); + }else { +RDebugUtils.currentLine=16842758; + //BA.debugLineNum = 16842758;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); + }; +RDebugUtils.currentLine=16842760; + //BA.debugLineNum = 16842760;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=16842762; + //BA.debugLineNum = 16842762;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=16842763; + //BA.debugLineNum = 16842763;BA.debugLine="End Sub"; return false; } -public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _createb4xpageinfo(Object _b4xpage,String _id,boolean _created,Object _title) throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _t1 = null; - //BA.debugLineNum = 420;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; - //BA.debugLineNum = 421;BA.debugLine="Dim t1 As B4XPageInfo"; -_t1 = new gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo(); - //BA.debugLineNum = 422;BA.debugLine="t1.Initialize"; -_t1.Initialize(); - //BA.debugLineNum = 423;BA.debugLine="t1.B4XPage = B4XPage"; -_t1.B4XPage /*Object*/ = _b4xpage; - //BA.debugLineNum = 424;BA.debugLine="t1.Id = Id"; -_t1.Id /*String*/ = _id; - //BA.debugLineNum = 425;BA.debugLine="t1.Created = Created"; -_t1.Created /*boolean*/ = _created; - //BA.debugLineNum = 426;BA.debugLine="t1.Title = Title"; -_t1.Title /*Object*/ = _title; - //BA.debugLineNum = 427;BA.debugLine="Return t1"; -if (true) return _t1; - //BA.debugLineNum = 428;BA.debugLine="End Sub"; +public String _activity_pause(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +RDebugUtils.currentLine=17694720; + //BA.debugLineNum = 17694720;BA.debugLine="Public Sub Activity_Pause"; +RDebugUtils.currentLine=17694721; + //BA.debugLineNum = 17694721;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; +__ref._raiseeventwithresult /*Object*/ (null,__ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Disappear",(Object[])(__c.Null)); +RDebugUtils.currentLine=17694722; + //BA.debugLineNum = 17694722;BA.debugLine="BackgroundStateChanged(False)"; +__ref._backgroundstatechanged /*String*/ (null,__c.False); +RDebugUtils.currentLine=17694723; + //BA.debugLineNum = 17694723;BA.debugLine="End Sub"; +return ""; +} +public String _raiseevent(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "raiseevent", true)) + {return ((String) Debug.delegate(ba, "raiseevent", new Object[] {_targetpage,_subname,_params}));} +int _length = 0; +RDebugUtils.currentLine=17235968; + //BA.debugLineNum = 17235968;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; +RDebugUtils.currentLine=17235969; + //BA.debugLineNum = 17235969;BA.debugLine="If TargetPage = Null Then Return"; +if (_targetpage== null) { +if (true) return "";}; +RDebugUtils.currentLine=17235970; + //BA.debugLineNum = 17235970;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=17235971; + //BA.debugLineNum = 17235971;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +if (_params== null) { +_length = (int) (0);} +else { +_length = _params.length;}; +RDebugUtils.currentLine=17235972; + //BA.debugLineNum = 17235972;BA.debugLine="LogEvent(TargetPage, SubName)"; +__ref._logevent /*String*/ (null,_targetpage,_subname); +RDebugUtils.currentLine=17235973; + //BA.debugLineNum = 17235973;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=17235974; + //BA.debugLineNum = 17235974;BA.debugLine="Select length"; +switch (_length) { +case 0: { +RDebugUtils.currentLine=17235976; + //BA.debugLineNum = 17235976;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; +__c.CallSubDelayed(ba,_targetpage.B4XPage /*Object*/ ,_subname); + break; } +case 1: { +RDebugUtils.currentLine=17235978; + //BA.debugLineNum = 17235978;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; +__c.CallSubDelayed2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); + break; } +case 2: { +RDebugUtils.currentLine=17235980; + //BA.debugLineNum = 17235980;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; +__c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); + break; } +default: { +RDebugUtils.currentLine=17235982; + //BA.debugLineNum = 17235982;BA.debugLine="Log(\"Too many parameters\")"; +__c.LogImpl("917235982","Too many parameters",0); + break; } +} +; +RDebugUtils.currentLine=17235984; + //BA.debugLineNum = 17235984;BA.debugLine="End Sub"; +return ""; +} +public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _gettoppage(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "gettoppage", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "gettoppage", null));} +RDebugUtils.currentLine=17432576; + //BA.debugLineNum = 17432576;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; +RDebugUtils.currentLine=17432577; + //BA.debugLineNum = 17432577;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; +if (__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)==0) { +if (true) return (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__c.Null);}; +RDebugUtils.currentLine=17432578; + //BA.debugLineNum = 17432578;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; +if (true) return (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null).Get((int) (__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)-1)))); +RDebugUtils.currentLine=17432579; + //BA.debugLineNum = 17432579;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent _createb4xpageparent(Object _nativetype) throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent _t1 = null; - //BA.debugLineNum = 598;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; - //BA.debugLineNum = 604;BA.debugLine="Dim t1 As B4XPageParent"; -_t1 = new gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent(); - //BA.debugLineNum = 605;BA.debugLine="t1.Initialize"; -_t1.Initialize(); - //BA.debugLineNum = 606;BA.debugLine="t1.NativeType = NativeType"; -_t1.NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ = (anywheresoftware.b4a.objects.ActivityWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ActivityWrapper(), (anywheresoftware.b4a.BALayout)(_nativetype)); - //BA.debugLineNum = 607;BA.debugLine="Return t1"; -if (true) return _t1; - //BA.debugLineNum = 608;BA.debugLine="End Sub"; -return null; +public String _activity_resume(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_resume", true)) + {return ((String) Debug.delegate(ba, "activity_resume", null));} +boolean _shouldraise = false; +RDebugUtils.currentLine=17563648; + //BA.debugLineNum = 17563648;BA.debugLine="Public Sub Activity_Resume"; +RDebugUtils.currentLine=17563649; + //BA.debugLineNum = 17563649;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; +_shouldraise = __ref._isforeground /*boolean*/ ==__c.False; +RDebugUtils.currentLine=17563650; + //BA.debugLineNum = 17563650;BA.debugLine="BackgroundStateChanged(True)"; +__ref._backgroundstatechanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=17563651; + //BA.debugLineNum = 17563651;BA.debugLine="If ShouldRaise Then"; +if (_shouldraise) { +RDebugUtils.currentLine=17563652; + //BA.debugLineNum = 17563652;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,__ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Appear",(Object[])(__c.Null)); + }; +RDebugUtils.currentLine=17563654; + //BA.debugLineNum = 17563654;BA.debugLine="End Sub"; +return ""; } -public String _createmenu(Object _menu) throws Exception{ +public String _createmenu(gunav2.keymon.com.mx.b4xpagesmanager __ref,Object _menu) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createmenu", true)) + {return ((String) Debug.delegate(ba, "createmenu", new Object[] {_menu}));} gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; anywheresoftware.b4j.object.JavaObject _jo = null; gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem _mi = null; anywheresoftware.b4j.object.JavaObject _nativemenuitem = null; anywheresoftware.b4a.objects.drawable.BitmapDrawable _bd = null; anywheresoftware.b4j.object.JavaObject _listener = null; - //BA.debugLineNum = 494;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; - //BA.debugLineNum = 495;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 496;BA.debugLine="If pi = Null Then Return"; +RDebugUtils.currentLine=17039360; + //BA.debugLineNum = 17039360;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; +RDebugUtils.currentLine=17039361; + //BA.debugLineNum = 17039361;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=17039362; + //BA.debugLineNum = 17039362;BA.debugLine="If pi = Null Then Return"; if (_pi== null) { if (true) return "";}; - //BA.debugLineNum = 497;BA.debugLine="Dim jo As JavaObject = Menu"; +RDebugUtils.currentLine=17039363; + //BA.debugLineNum = 17039363;BA.debugLine="Dim jo As JavaObject = Menu"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_menu)); - //BA.debugLineNum = 498;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; +RDebugUtils.currentLine=17039364; + //BA.debugLineNum = 17039364;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; { final anywheresoftware.b4a.BA.IterableList group4 = _pi.Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen4 = group4.getSize() @@ -490,140 +740,96 @@ final int groupLen4 = group4.getSize() ; for (; index4 < groupLen4;index4++){ _mi = (gunav2.keymon.com.mx.b4xpagesmanager._b4amenuitem)(group4.Get(index4)); - //BA.debugLineNum = 499;BA.debugLine="Dim NativeMenuItem As JavaObject = jo.RunMethod("; +RDebugUtils.currentLine=17039365; + //BA.debugLineNum = 17039365;BA.debugLine="Dim NativeMenuItem As JavaObject = jo.RunMethod("; _nativemenuitem = new anywheresoftware.b4j.object.JavaObject(); _nativemenuitem = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("add",new Object[]{_mi.Title /*Object*/ }))); - //BA.debugLineNum = 500;BA.debugLine="If mi.Bitmap.IsInitialized Then"; +RDebugUtils.currentLine=17039366; + //BA.debugLineNum = 17039366;BA.debugLine="If mi.Bitmap.IsInitialized Then"; if (_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 501;BA.debugLine="Dim bd As BitmapDrawable"; +RDebugUtils.currentLine=17039367; + //BA.debugLineNum = 17039367;BA.debugLine="Dim bd As BitmapDrawable"; _bd = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); - //BA.debugLineNum = 502;BA.debugLine="bd.Initialize(mi.Bitmap)"; +RDebugUtils.currentLine=17039368; + //BA.debugLineNum = 17039368;BA.debugLine="bd.Initialize(mi.Bitmap)"; _bd.Initialize((android.graphics.Bitmap)(_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getObject())); - //BA.debugLineNum = 503;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; +RDebugUtils.currentLine=17039369; + //BA.debugLineNum = 17039369;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; _nativemenuitem.RunMethod("setIcon",new Object[]{(Object)(_bd.getObject())}); }; - //BA.debugLineNum = 505;BA.debugLine="If mi.AddToBar Then"; +RDebugUtils.currentLine=17039371; + //BA.debugLineNum = 17039371;BA.debugLine="If mi.AddToBar Then"; if (_mi.AddToBar /*boolean*/ ) { - //BA.debugLineNum = 506;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; +RDebugUtils.currentLine=17039372; + //BA.debugLineNum = 17039372;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; _nativemenuitem.RunMethod("setShowAsAction",new Object[]{(Object)(1)}); }; - //BA.debugLineNum = 508;BA.debugLine="Dim listener As JavaObject"; +RDebugUtils.currentLine=17039374; + //BA.debugLineNum = 17039374;BA.debugLine="Dim listener As JavaObject"; _listener = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 509;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; +RDebugUtils.currentLine=17039375; + //BA.debugLineNum = 17039375;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; _listener.InitializeNewInstance(__c.Application.getPackageName()+".b4xpagesmanager$PagesMenuListener",new Object[]{_pi.B4XPage /*Object*/ ,(Object)(_mi.Tag /*String*/ )}); - //BA.debugLineNum = 510;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; +RDebugUtils.currentLine=17039376; + //BA.debugLineNum = 17039376;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; _nativemenuitem.RunMethod("setOnMenuItemClickListener",new Object[]{(Object)(_listener.getObject())}); } }; - //BA.debugLineNum = 512;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17039378; + //BA.debugLineNum = 17039378;BA.debugLine="End Sub"; return ""; } -public String _createpageifneeded(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 352;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; - //BA.debugLineNum = 353;BA.debugLine="If pi.Created Then Return"; -if (_pi.Created /*boolean*/ ) { -if (true) return "";}; - //BA.debugLineNum = 354;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; -_pi.IsFirst /*boolean*/ = _idtob4xpage._getsize /*int*/ ()==1; - //BA.debugLineNum = 355;BA.debugLine="CreatePageImpl (pi)"; -_createpageimpl(_pi); - //BA.debugLineNum = 356;BA.debugLine="pi.Created = True"; -_pi.Created /*boolean*/ = __c.True; - //BA.debugLineNum = 357;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; -_rootb4xtopage._put /*String*/ ((Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(Object)(_pi)); - //BA.debugLineNum = 358;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; -_logevent(_pi,"B4XPage_Created"); - //BA.debugLineNum = 359;BA.debugLine="CallSub2(pi.B4XPage, \"B4XPage_Created\", pi.root)"; -__c.CallSubNew2(ba,_pi.B4XPage /*Object*/ ,"B4XPage_Created",(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ )); - //BA.debugLineNum = 361;BA.debugLine="End Sub"; +public String _mainform_resize(gunav2.keymon.com.mx.b4xpagesmanager __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "mainform_resize", true)) + {return ((String) Debug.delegate(ba, "mainform_resize", new Object[] {_width,_height}));} +int _w = 0; +int _h = 0; +RDebugUtils.currentLine=17367040; + //BA.debugLineNum = 17367040;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +RDebugUtils.currentLine=17367041; + //BA.debugLineNum = 17367041;BA.debugLine="Dim w As Int = Width"; +_w = (int) (_width); +RDebugUtils.currentLine=17367042; + //BA.debugLineNum = 17367042;BA.debugLine="Dim h As Int = Height"; +_h = (int) (_height); +RDebugUtils.currentLine=17367043; + //BA.debugLineNum = 17367043;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; +__ref._raiseevent /*String*/ (null,__ref._getpageinfofromroot /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))),"B4XPage_Resize",new Object[]{(Object)(_w),(Object)(_h)}); +RDebugUtils.currentLine=17367044; + //BA.debugLineNum = 17367044;BA.debugLine="End Sub"; return ""; } -public String _createpageimpl(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 369;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; - //BA.debugLineNum = 381;BA.debugLine="pi.Root = xui.CreatePanel(\"root\")"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _xui.CreatePanel(ba,"root"); - //BA.debugLineNum = 382;BA.debugLine="pi.root.SetLayoutAnimated(0, 0, 0, 100%x, 100%y)"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - //BA.debugLineNum = 383;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; -_pi.Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ = _createb4xpageparent((Object)(_mmainform.getObject())); - //BA.debugLineNum = 384;BA.debugLine="pi.Parent.MenuItems.Initialize"; -_pi.Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 392;BA.debugLine="End Sub"; -return ""; +public boolean _closerequestexists(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closerequestexists", true)) + {return ((Boolean) Debug.delegate(ba, "closerequestexists", new Object[] {_pi}));} +RDebugUtils.currentLine=17104896; + //BA.debugLineNum = 17104896;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; +RDebugUtils.currentLine=17104897; + //BA.debugLineNum = 17104897;BA.debugLine="Return xui.SubExists(pi.B4XPage, \"B4XPage_CloseRe"; +if (true) return __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest",(int) (0)); +RDebugUtils.currentLine=17104898; + //BA.debugLineNum = 17104898;BA.debugLine="End Sub"; +return false; } -public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _findpifromb4xpage(Object _page) throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 306;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; - //BA.debugLineNum = 307;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; -{ -final anywheresoftware.b4a.BA.IterableList group1 = _idtob4xpage._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_pi = (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(group1.Get(index1)); - //BA.debugLineNum = 308;BA.debugLine="If pi.B4XPage = Page Then"; -if ((_pi.B4XPage /*Object*/ ).equals(_page)) { - //BA.debugLineNum = 309;BA.debugLine="Return pi"; -if (true) return _pi; - }; - } -}; - //BA.debugLineNum = 312;BA.debugLine="Return Null"; -if (true) return (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__c.Null); - //BA.debugLineNum = 313;BA.debugLine="End Sub"; -return null; -} -public Object _getpage(String _id) throws Exception{ - //BA.debugLineNum = 394;BA.debugLine="Public Sub GetPage (Id As String) As Object"; - //BA.debugLineNum = 395;BA.debugLine="Return GetPageFromId(Id).B4XPage"; -if (true) return _getpagefromid(_id).B4XPage /*Object*/ ; - //BA.debugLineNum = 396;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _getpagefromid(String _id) throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 398;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; - //BA.debugLineNum = 399;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; -_pi = (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get /*Object*/ ((Object)(_id.toLowerCase()))); - //BA.debugLineNum = 400;BA.debugLine="If pi = Null Then"; -if (_pi== null) { - //BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)"; -__c.LogImpl("910485763","Error: page id not found: "+_id,0); - //BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; -__c.LogImpl("910485764","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0); - }; - //BA.debugLineNum = 404;BA.debugLine="Return pi"; -if (true) return _pi; - //BA.debugLineNum = 405;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _getpageinfofromroot(anywheresoftware.b4a.objects.B4XViewWrapper _root) throws Exception{ - //BA.debugLineNum = 407;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; - //BA.debugLineNum = 408;BA.debugLine="Return RootB4XToPage.Get(Root)"; -if (true) return (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(_rootb4xtopage._get /*Object*/ ((Object)(_root.getObject()))); - //BA.debugLineNum = 409;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _gettoppage() throws Exception{ - //BA.debugLineNum = 592;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; - //BA.debugLineNum = 593;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; -if (_mstackofpageids._getsize /*int*/ ()==0) { -if (true) return (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__c.Null);}; - //BA.debugLineNum = 594;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; -if (true) return (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get /*Object*/ (_mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ ().Get((int) (_mstackofpageids._getsize /*int*/ ()-1)))); - //BA.debugLineNum = 595;BA.debugLine="End Sub"; -return null; -} -public void _handlecloserequest(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ -ResumableSub_HandleCloseRequest rsub = new ResumableSub_HandleCloseRequest(this,_pi); +public void _handlecloserequest(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "handlecloserequest", true)) + {Debug.delegate(ba, "handlecloserequest", new Object[] {_pi}); return;} +ResumableSub_HandleCloseRequest rsub = new ResumableSub_HandleCloseRequest(this,__ref,_pi); rsub.resume(ba, null); } public static class ResumableSub_HandleCloseRequest extends BA.ResumableSub { -public ResumableSub_HandleCloseRequest(gunav2.keymon.com.mx.b4xpagesmanager parent,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) { +public ResumableSub_HandleCloseRequest(gunav2.keymon.com.mx.b4xpagesmanager parent,gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) { this.parent = parent; +this.__ref = __ref; this._pi = _pi; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xpagesmanager __ref; gunav2.keymon.com.mx.b4xpagesmanager parent; gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi; anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _rs = null; @@ -631,6 +837,7 @@ boolean _shouldclose = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xpagesmanager"; while (true) { switch (state) { @@ -640,21 +847,25 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 539;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; -parent._logevent(_pi,"B4XPage_CloseRequest"); - //BA.debugLineNum = 540;BA.debugLine="Dim rs As ResumableSub = CallSub(pi.B4XPage, \"B4X"; +RDebugUtils.currentLine=17170433; + //BA.debugLineNum = 17170433;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; +__ref._logevent /*String*/ (null,_pi,"B4XPage_CloseRequest"); +RDebugUtils.currentLine=17170434; + //BA.debugLineNum = 17170434;BA.debugLine="Dim rs As ResumableSub = CallSub(pi.B4XPage, \"B4X"; _rs = new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(); -_rs = (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), (anywheresoftware.b4a.BA.ResumableSub)(parent.__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest"))); - //BA.debugLineNum = 541;BA.debugLine="Wait For (rs) Complete (ShouldClose As Boolean)"; -parent.__c.WaitFor("complete", ba, this, _rs); +_rs = (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), (anywheresoftware.b4a.BA.ResumableSub)(parent.__c.CallSubDebug(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest"))); +RDebugUtils.currentLine=17170435; + //BA.debugLineNum = 17170435;BA.debugLine="Wait For (rs) Complete (ShouldClose As Boolean)"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xpagesmanager", "handlecloserequest"), _rs); this.state = 5; return; case 5: //C this.state = 1; -_shouldclose = (Boolean) result[0]; +_shouldclose = (Boolean) result[1]; ; - //BA.debugLineNum = 542;BA.debugLine="If ShouldClose Then"; +RDebugUtils.currentLine=17170436; + //BA.debugLineNum = 17170436;BA.debugLine="If ShouldClose Then"; if (true) break; case 1: @@ -667,395 +878,669 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 543;BA.debugLine="ClosePage(pi.B4XPage)"; -parent._closepage(_pi.B4XPage /*Object*/ ); +RDebugUtils.currentLine=17170437; + //BA.debugLineNum = 17170437;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); if (true) break; case 4: //C this.state = -1; ; - //BA.debugLineNum = 545;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17170439; + //BA.debugLineNum = 17170439;BA.debugLine="End Sub"; if (true) break; } } } } -public void _complete(boolean _shouldclose) throws Exception{ -} -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ActivityWrapper _activity) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4j.object.JavaObject _module = null; -boolean _nonmainpagewasadded = false; - //BA.debugLineNum = 59;BA.debugLine="Public Sub Initialize (Activity As Activity)"; - //BA.debugLineNum = 63;BA.debugLine="IdToB4XPage.Initialize"; -_idtob4xpage._initialize /*String*/ (ba); - //BA.debugLineNum = 64;BA.debugLine="RootB4XToPage.Initialize"; -_rootb4xtopage._initialize /*String*/ (ba); - //BA.debugLineNum = 65;BA.debugLine="mStackOfPageIds.Initialize"; -_mstackofpageids._initialize /*String*/ (ba); - //BA.debugLineNum = 69;BA.debugLine="Context.InitializeContext"; -_context.InitializeContext(ba); - //BA.debugLineNum = 70;BA.debugLine="mMainForm = Activity"; -_mmainform = _activity; - //BA.debugLineNum = 71;BA.debugLine="CheckMainActivityOrientations"; -_checkmainactivityorientations(); - //BA.debugLineNum = 72;BA.debugLine="Dim jo As JavaObject = Me"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 73;BA.debugLine="Dim module As JavaObject"; -_module = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 74;BA.debugLine="module.InitializeStatic(jo.RunMethodJO(\"getActivi"; -_module.InitializeStatic(BA.ObjectToString(_jo.RunMethodJO("getActivityBA",(Object[])(__c.Null)).GetField("className"))).SetField("dontPause",(Object)(__c.True)); - //BA.debugLineNum = 78;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; -_b4xpages._internalsetpagesmanager /*String*/ (ba,this); - //BA.debugLineNum = 79;BA.debugLine="MainPage.Initialize"; -_mainpage._initialize /*String*/ (ba); - //BA.debugLineNum = 80;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; -_nonmainpagewasadded = _idtob4xpage._getsize /*int*/ ()>0; - //BA.debugLineNum = 81;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; -_idtob4xpage._put /*String*/ ((Object)("~~~~~temp~~~~"),(Object)(_createb4xpageinfo((Object)(_mainpage),"",__c.False,(Object)("")))); - //BA.debugLineNum = 82;BA.debugLine="BackgroundStateChanged(True)"; -_backgroundstatechanged(__c.True); - //BA.debugLineNum = 83;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; -_idtob4xpage._remove /*String*/ ((Object)("~~~~~temp~~~~")); - //BA.debugLineNum = 84;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; -_addpageandcreate("MainPage",(Object)(_mainpage)); - //BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then"; -if (_logevents==__c.False) { - //BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; -__c.LogImpl("99371675","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); - }; - //BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then"; -if (_nonmainpagewasadded) { - //BA.debugLineNum = 89;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 90;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; -_raiseevent(_gettoppage(),"B4XPage_Appear",(Object[])(__c.Null)); - }; - }; - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return ""; -} -public String _logevent(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi,String _ev) throws Exception{ -String _msg = ""; - //BA.debugLineNum = 640;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; - //BA.debugLineNum = 641;BA.debugLine="If LogEvents Then"; -if (_logevents) { - //BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac"; -_msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(_stackstring))+""); - //BA.debugLineNum = 643;BA.debugLine="Log(msg)"; -__c.LogImpl("911599875",_msg,0); - }; - //BA.debugLineNum = 645;BA.debugLine="End Sub"; -return ""; -} -public String _mainform_resize(double _width,double _height) throws Exception{ -int _w = 0; -int _h = 0; - //BA.debugLineNum = 585;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; - //BA.debugLineNum = 586;BA.debugLine="Dim w As Int = Width"; -_w = (int) (_width); - //BA.debugLineNum = 587;BA.debugLine="Dim h As Int = Height"; -_h = (int) (_height); - //BA.debugLineNum = 588;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; -_raiseevent(_getpageinfofromroot((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))),"B4XPage_Resize",new Object[]{(Object)(_w),(Object)(_h)}); - //BA.debugLineNum = 589;BA.debugLine="End Sub"; -return ""; -} -public String _raiseevent(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ +public Object _raiseeventwithresult(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "raiseeventwithresult", true)) + {return ((Object) Debug.delegate(ba, "raiseeventwithresult", new Object[] {_targetpage,_subname,_params}));} int _length = 0; - //BA.debugLineNum = 548;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; - //BA.debugLineNum = 549;BA.debugLine="If TargetPage = Null Then Return"; +RDebugUtils.currentLine=17301504; + //BA.debugLineNum = 17301504;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; +RDebugUtils.currentLine=17301505; + //BA.debugLineNum = 17301505;BA.debugLine="If TargetPage = Null Then Return Null"; if (_targetpage== null) { -if (true) return "";}; - //BA.debugLineNum = 550;BA.debugLine="Dim length As Int"; +if (true) return __c.Null;}; +RDebugUtils.currentLine=17301506; + //BA.debugLineNum = 17301506;BA.debugLine="Dim length As Int"; _length = 0; - //BA.debugLineNum = 551;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +RDebugUtils.currentLine=17301507; + //BA.debugLineNum = 17301507;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; if (_params== null) { _length = (int) (0);} else { _length = _params.length;}; - //BA.debugLineNum = 552;BA.debugLine="LogEvent(TargetPage, SubName)"; -_logevent(_targetpage,_subname); - //BA.debugLineNum = 553;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; -if (_xui.SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 554;BA.debugLine="Select length"; +RDebugUtils.currentLine=17301508; + //BA.debugLineNum = 17301508;BA.debugLine="LogEvent(TargetPage, SubName)"; +__ref._logevent /*String*/ (null,_targetpage,_subname); +RDebugUtils.currentLine=17301509; + //BA.debugLineNum = 17301509;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { +if (true) return __c.Null;}; +RDebugUtils.currentLine=17301510; + //BA.debugLineNum = 17301510;BA.debugLine="Select length"; switch (_length) { case 0: { - //BA.debugLineNum = 556;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; -__c.CallSubDelayed(ba,_targetpage.B4XPage /*Object*/ ,_subname); - break; } -case 1: { - //BA.debugLineNum = 558;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; -__c.CallSubDelayed2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); - break; } -case 2: { - //BA.debugLineNum = 560;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; -__c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); - break; } -default: { - //BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")"; -__c.LogImpl("911075598","Too many parameters",0); - break; } -} -; - //BA.debugLineNum = 564;BA.debugLine="End Sub"; -return ""; -} -public Object _raiseeventwithresult(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ -int _length = 0; - //BA.debugLineNum = 566;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; - //BA.debugLineNum = 567;BA.debugLine="If TargetPage = Null Then Return Null"; -if (_targetpage== null) { -if (true) return __c.Null;}; - //BA.debugLineNum = 568;BA.debugLine="Dim length As Int"; -_length = 0; - //BA.debugLineNum = 569;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; -if (_params== null) { -_length = (int) (0);} -else { -_length = _params.length;}; - //BA.debugLineNum = 570;BA.debugLine="LogEvent(TargetPage, SubName)"; -_logevent(_targetpage,_subname); - //BA.debugLineNum = 571;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; -if (_xui.SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { -if (true) return __c.Null;}; - //BA.debugLineNum = 572;BA.debugLine="Select length"; -switch (_length) { -case 0: { - //BA.debugLineNum = 574;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; +RDebugUtils.currentLine=17301512; + //BA.debugLineNum = 17301512;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; if (true) return __c.CallSubNew(ba,_targetpage.B4XPage /*Object*/ ,_subname); break; } case 1: { - //BA.debugLineNum = 576;BA.debugLine="Return CallSub2(TargetPage.B4XPage, SubName, Pa"; +RDebugUtils.currentLine=17301514; + //BA.debugLineNum = 17301514;BA.debugLine="Return CallSub2(TargetPage.B4XPage, SubName, Pa"; if (true) return __c.CallSubNew2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); break; } case 2: { - //BA.debugLineNum = 578;BA.debugLine="Return CallSub3(TargetPage.B4XPage, SubName, Pa"; +RDebugUtils.currentLine=17301516; + //BA.debugLineNum = 17301516;BA.debugLine="Return CallSub3(TargetPage.B4XPage, SubName, Pa"; if (true) return __c.CallSubNew3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); break; } default: { - //BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")"; -__c.LogImpl("911141134","Too many parameters",0); +RDebugUtils.currentLine=17301518; + //BA.debugLineNum = 17301518;BA.debugLine="Log(\"Too many parameters\")"; +__c.LogImpl("917301518","Too many parameters",0); break; } } ; - //BA.debugLineNum = 582;BA.debugLine="Return Null"; +RDebugUtils.currentLine=17301520; + //BA.debugLineNum = 17301520;BA.debugLine="Return Null"; if (true) return __c.Null; - //BA.debugLineNum = 583;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17301521; + //BA.debugLineNum = 17301521;BA.debugLine="End Sub"; return null; } -public String _settitle(Object _b4xpage,Object _title) throws Exception{ +public String _backgroundstatechanged(gunav2.keymon.com.mx.b4xpagesmanager __ref,boolean _newstate) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "backgroundstatechanged", true)) + {return ((String) Debug.delegate(ba, "backgroundstatechanged", new Object[] {_newstate}));} +String _ev = ""; gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 363;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; - //BA.debugLineNum = 364;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; -_pi = _findpifromb4xpage(_b4xpage); - //BA.debugLineNum = 365;BA.debugLine="pi.Title = Title"; -_pi.Title /*Object*/ = _title; - //BA.debugLineNum = 366;BA.debugLine="pi.Parent.NativeType.Title = Title"; -_pi.Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_title)); - //BA.debugLineNum = 367;BA.debugLine="End Sub"; -return ""; -} -public String _showpage(String _id) throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _top = null; - //BA.debugLineNum = 156;BA.debugLine="Public Sub ShowPage (Id As String)"; - //BA.debugLineNum = 157;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; -_pi = _getpagefromid(_id); - //BA.debugLineNum = 158;BA.debugLine="If pi = GetTopPage Then Return"; -if ((_pi).equals(_gettoppage())) { +RDebugUtils.currentLine=17629184; + //BA.debugLineNum = 17629184;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; +RDebugUtils.currentLine=17629185; + //BA.debugLineNum = 17629185;BA.debugLine="If IsForeground = NewState Then Return"; +if (__ref._isforeground /*boolean*/ ==_newstate) { if (true) return "";}; - //BA.debugLineNum = 159;BA.debugLine="CreatePageIfNeeded(pi)"; -_createpageifneeded(_pi); - //BA.debugLineNum = 160;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); - //BA.debugLineNum = 162;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; -_top = _gettoppage(); - //BA.debugLineNum = 163;BA.debugLine="If Top <> Null Then"; -if (_top!= null) { - //BA.debugLineNum = 164;BA.debugLine="Top.Root.RemoveViewFromParent"; -_top.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); - }; - //BA.debugLineNum = 174;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; -_mstackofpageids._remove /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 175;BA.debugLine="ShowPageImpl(pi)"; -_showpageimpl(_pi); - //BA.debugLineNum = 176;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; -_mstackofpageids._add /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 177;BA.debugLine="TopPageAppear"; -_toppageappear(); - //BA.debugLineNum = 178;BA.debugLine="End Sub"; -return ""; -} -public String _showpageandremovepreviouspages(String _id) throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pagetoremove = null; - //BA.debugLineNum = 180;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; - //BA.debugLineNum = 181;BA.debugLine="If GetTopPage = Null Then"; -if (_gettoppage()== null) { - //BA.debugLineNum = 182;BA.debugLine="ShowPage(Id)"; -_showpage(_id); - //BA.debugLineNum = 183;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 185;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; -_pi = _getpagefromid(_id); - //BA.debugLineNum = 186;BA.debugLine="CreatePageIfNeeded(pi)"; -_createpageifneeded(_pi); - //BA.debugLineNum = 187;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); - //BA.debugLineNum = 191;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; +RDebugUtils.currentLine=17629186; + //BA.debugLineNum = 17629186;BA.debugLine="IsForeground = NewState"; +__ref._isforeground /*boolean*/ = _newstate; +RDebugUtils.currentLine=17629187; + //BA.debugLineNum = 17629187;BA.debugLine="Dim ev As String"; +_ev = ""; +RDebugUtils.currentLine=17629188; + //BA.debugLineNum = 17629188;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; +if (__ref._isforeground /*boolean*/ ) { +_ev = "B4XPage_Foreground";} +else { +_ev = "B4XPage_Background";}; +RDebugUtils.currentLine=17629189; + //BA.debugLineNum = 17629189;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; { -final anywheresoftware.b4a.BA.IterableList group8 = _mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen8 = group8.getSize() -;int index8 = 0; +final anywheresoftware.b4a.BA.IterableList group5 = __ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen5 = group5.getSize() +;int index5 = 0; ; -for (; index8 < groupLen8;index8++){ -_id = BA.ObjectToString(group8.Get(index8)); - //BA.debugLineNum = 192;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; -_pagetoremove = _getpagefromid(_id); - //BA.debugLineNum = 194;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; -_pagetoremove.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); +for (; index5 < groupLen5;index5++){ +_pi = (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(group5.Get(index5)); +RDebugUtils.currentLine=17629190; + //BA.debugLineNum = 17629190;BA.debugLine="If xui.SubExists(pi.B4XPage, ev, 0) Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,_pi.B4XPage /*Object*/ ,_ev,(int) (0))) { +RDebugUtils.currentLine=17629191; + //BA.debugLineNum = 17629191;BA.debugLine="LogEvent(pi, ev)"; +__ref._logevent /*String*/ (null,_pi,_ev); +RDebugUtils.currentLine=17629192; + //BA.debugLineNum = 17629192;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=17629193; + //BA.debugLineNum = 17629193;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; +__c.CallSubDelayed(ba,_pi.B4XPage /*Object*/ ,_ev); + }else { +RDebugUtils.currentLine=17629195; + //BA.debugLineNum = 17629195;BA.debugLine="CallSub(pi.B4XPage, ev)"; +__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,_ev); + }; + }; } }; - //BA.debugLineNum = 201;BA.debugLine="mStackOfPageIds.Clear"; -_mstackofpageids._clear /*String*/ (); - //BA.debugLineNum = 202;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; -_mstackofpageids._add /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 203;BA.debugLine="If xui.IsB4A Or xui.IsB4J Then"; -if (_xui.getIsB4A() || _xui.getIsB4J()) { - //BA.debugLineNum = 204;BA.debugLine="ShowPageImpl(pi)"; -_showpageimpl(_pi); - }; - //BA.debugLineNum = 206;BA.debugLine="TopPageAppear"; -_toppageappear(); - //BA.debugLineNum = 207;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17629199; + //BA.debugLineNum = 17629199;BA.debugLine="End Sub"; return ""; } -public String _showpageimpl(gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _createb4xpageinfo(gunav2.keymon.com.mx.b4xpagesmanager __ref,Object _b4xpage,String _id,boolean _created,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createb4xpageinfo", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "createb4xpageinfo", new Object[] {_b4xpage,_id,_created,_title}));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _t1 = null; +RDebugUtils.currentLine=16777216; + //BA.debugLineNum = 16777216;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; +RDebugUtils.currentLine=16777217; + //BA.debugLineNum = 16777217;BA.debugLine="Dim t1 As B4XPageInfo"; +_t1 = new gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo(); +RDebugUtils.currentLine=16777218; + //BA.debugLineNum = 16777218;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=16777219; + //BA.debugLineNum = 16777219;BA.debugLine="t1.B4XPage = B4XPage"; +_t1.B4XPage /*Object*/ = _b4xpage; +RDebugUtils.currentLine=16777220; + //BA.debugLineNum = 16777220;BA.debugLine="t1.Id = Id"; +_t1.Id /*String*/ = _id; +RDebugUtils.currentLine=16777221; + //BA.debugLineNum = 16777221;BA.debugLine="t1.Created = Created"; +_t1.Created /*boolean*/ = _created; +RDebugUtils.currentLine=16777222; + //BA.debugLineNum = 16777222;BA.debugLine="t1.Title = Title"; +_t1.Title /*Object*/ = _title; +RDebugUtils.currentLine=16777223; + //BA.debugLineNum = 16777223;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=16777224; + //BA.debugLineNum = 16777224;BA.debugLine="End Sub"; +return null; +} +public String _createpageifneeded(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createpageifneeded", true)) + {return ((String) Debug.delegate(ba, "createpageifneeded", new Object[] {_pi}));} +RDebugUtils.currentLine=16384000; + //BA.debugLineNum = 16384000;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; +RDebugUtils.currentLine=16384001; + //BA.debugLineNum = 16384001;BA.debugLine="If pi.Created Then Return"; +if (_pi.Created /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=16384002; + //BA.debugLineNum = 16384002;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; +_pi.IsFirst /*boolean*/ = __ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null)==1; +RDebugUtils.currentLine=16384003; + //BA.debugLineNum = 16384003;BA.debugLine="CreatePageImpl (pi)"; +__ref._createpageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=16384004; + //BA.debugLineNum = 16384004;BA.debugLine="pi.Created = True"; +_pi.Created /*boolean*/ = __c.True; +RDebugUtils.currentLine=16384005; + //BA.debugLineNum = 16384005;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; +__ref._rootb4xtopage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(Object)(_pi)); +RDebugUtils.currentLine=16384006; + //BA.debugLineNum = 16384006;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; +__ref._logevent /*String*/ (null,_pi,"B4XPage_Created"); +RDebugUtils.currentLine=16384007; + //BA.debugLineNum = 16384007;BA.debugLine="CallSub2(pi.B4XPage, \"B4XPage_Created\", pi.root)"; +__c.CallSubDebug2(ba,_pi.B4XPage /*Object*/ ,"B4XPage_Created",(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ )); +RDebugUtils.currentLine=16384009; + //BA.debugLineNum = 16384009;BA.debugLine="End Sub"; +return ""; +} +public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _getpagefromid(gunav2.keymon.com.mx.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpagefromid", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "getpagefromid", new Object[] {_id}));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=16646144; + //BA.debugLineNum = 16646144;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; +RDebugUtils.currentLine=16646145; + //BA.debugLineNum = 16646145;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; +_pi = (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_id.toLowerCase()))); +RDebugUtils.currentLine=16646146; + //BA.debugLineNum = 16646146;BA.debugLine="If pi = Null Then"; +if (_pi== null) { +RDebugUtils.currentLine=16646147; + //BA.debugLineNum = 16646147;BA.debugLine="Log(\"Error: page id not found: \" & id)"; +__c.LogImpl("916646147","Error: page id not found: "+_id,0); +RDebugUtils.currentLine=16646148; + //BA.debugLineNum = 16646148;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; +__c.LogImpl("916646148","Ids: "+BA.ObjectToString(__ref._idtob4xpage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null)),0); + }; +RDebugUtils.currentLine=16646150; + //BA.debugLineNum = 16646150;BA.debugLine="Return pi"; +if (true) return _pi; +RDebugUtils.currentLine=16646151; + //BA.debugLineNum = 16646151;BA.debugLine="End Sub"; +return null; +} +public String _logevent(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi,String _ev) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "logevent", true)) + {return ((String) Debug.delegate(ba, "logevent", new Object[] {_pi,_ev}));} +String _msg = ""; +RDebugUtils.currentLine=17760256; + //BA.debugLineNum = 17760256;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; +RDebugUtils.currentLine=17760257; + //BA.debugLineNum = 17760257;BA.debugLine="If LogEvents Then"; +if (__ref._logevents /*boolean*/ ) { +RDebugUtils.currentLine=17760258; + //BA.debugLineNum = 17760258;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac"; +_msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(__ref._stackstring /*String*/ ))+""); +RDebugUtils.currentLine=17760259; + //BA.debugLineNum = 17760259;BA.debugLine="Log(msg)"; +__c.LogImpl("917760259",_msg,0); + }; +RDebugUtils.currentLine=17760261; + //BA.debugLineNum = 17760261;BA.debugLine="End Sub"; +return ""; +} +public String _checkmainactivityorientations(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "checkmainactivityorientations", true)) + {return ((String) Debug.delegate(ba, "checkmainactivityorientations", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +anywheresoftware.b4j.object.JavaObject _jme = null; +boolean _isappcompat = false; +anywheresoftware.b4j.object.JavaObject _pi = null; +Object[] _activities = null; +anywheresoftware.b4j.object.JavaObject _act = null; +String _name = ""; +int _screenorientation = 0; +RDebugUtils.currentLine=15597568; + //BA.debugLineNum = 15597568;BA.debugLine="Private Sub CheckMainActivityOrientations"; +RDebugUtils.currentLine=15597570; + //BA.debugLineNum = 15597570;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=15597571; + //BA.debugLineNum = 15597571;BA.debugLine="jo.InitializeContext"; +_jo.InitializeContext(ba); +RDebugUtils.currentLine=15597573; + //BA.debugLineNum = 15597573;BA.debugLine="ActionBar = jo.RunMethod(\"getActionBar\", Null)"; +__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getActionBar",(Object[])(__c.Null)))); +RDebugUtils.currentLine=15597574; + //BA.debugLineNum = 15597574;BA.debugLine="If ActionBar.IsInitialized = False Then"; +if (__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .IsInitialized()==__c.False) { +RDebugUtils.currentLine=15597575; + //BA.debugLineNum = 15597575;BA.debugLine="Dim jme As JavaObject = Me"; +_jme = new anywheresoftware.b4j.object.JavaObject(); +_jme = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=15597576; + //BA.debugLineNum = 15597576;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; +_isappcompat = BA.ObjectToBoolean(_jme.RunMethod("checkIfAppCompat",new Object[]{(Object)(_jo.getObject())})); +RDebugUtils.currentLine=15597577; + //BA.debugLineNum = 15597577;BA.debugLine="If IsAppCompat Then"; +if (_isappcompat) { +RDebugUtils.currentLine=15597578; + //BA.debugLineNum = 15597578;BA.debugLine="ActionBar = jo.RunMethod(\"getSupportActionBar\","; +__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getSupportActionBar",(Object[])(__c.Null)))); + }; + }; +RDebugUtils.currentLine=15597582; + //BA.debugLineNum = 15597582;BA.debugLine="Dim pi As JavaObject = jo.RunMethodJO(\"getPackage"; +_pi = new anywheresoftware.b4j.object.JavaObject(); +_pi = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethodJO("getPackageManager",(Object[])(__c.Null)).RunMethod("getPackageInfo",new Object[]{(Object)(__c.Application.getPackageName()),(Object)(1)}))); +RDebugUtils.currentLine=15597583; + //BA.debugLineNum = 15597583;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; +_activities = (Object[])(_pi.GetField("activities")); +RDebugUtils.currentLine=15597584; + //BA.debugLineNum = 15597584;BA.debugLine="For Each Act As JavaObject In activities"; +_act = new anywheresoftware.b4j.object.JavaObject(); +{ +final Object[] group13 = _activities; +final int groupLen13 = group13.length +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_act = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(group13[index13])); +RDebugUtils.currentLine=15597585; + //BA.debugLineNum = 15597585;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; +_name = BA.ObjectToString(_act.GetField("name")); +RDebugUtils.currentLine=15597586; + //BA.debugLineNum = 15597586;BA.debugLine="If name.EndsWith(\".main\") Then"; +if (_name.endsWith(".main")) { +RDebugUtils.currentLine=15597587; + //BA.debugLineNum = 15597587;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; +_screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))); +RDebugUtils.currentLine=15597588; + //BA.debugLineNum = 15597588;BA.debugLine="If screenOrientation = -1 Then"; +if (_screenorientation==-1) { +RDebugUtils.currentLine=15597589; + //BA.debugLineNum = 15597589;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; +__c.LogImpl("915597589","#SupportedOrientations attribute must be set to landscape or portrait.",__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Red); + }; + }; + } +}; +RDebugUtils.currentLine=15597593; + //BA.debugLineNum = 15597593;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +RDebugUtils.currentLine=15466496; + //BA.debugLineNum = 15466496;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=15466497; + //BA.debugLineNum = 15466497;BA.debugLine="Private IdToB4XPage As B4XOrderedMap"; +_idtob4xpage = new gunav2.keymon.com.mx.b4xorderedmap(); +RDebugUtils.currentLine=15466498; + //BA.debugLineNum = 15466498;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; +_rootb4xtopage = new gunav2.keymon.com.mx.b4xorderedmap(); +RDebugUtils.currentLine=15466500; + //BA.debugLineNum = 15466500;BA.debugLine="Private Context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=15466501; + //BA.debugLineNum = 15466501;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; +; +RDebugUtils.currentLine=15466502; + //BA.debugLineNum = 15466502;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; +; +RDebugUtils.currentLine=15466508; + //BA.debugLineNum = 15466508;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; +; +RDebugUtils.currentLine=15466512; + //BA.debugLineNum = 15466512;BA.debugLine="Public mStackOfPageIds As B4XSet"; +_mstackofpageids = new gunav2.keymon.com.mx.b4xset(); +RDebugUtils.currentLine=15466513; + //BA.debugLineNum = 15466513;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=15466517; + //BA.debugLineNum = 15466517;BA.debugLine="Private mMainForm As Activity"; +_mmainform = new anywheresoftware.b4a.objects.ActivityWrapper(); +RDebugUtils.currentLine=15466518; + //BA.debugLineNum = 15466518;BA.debugLine="Public ShowUpIndicator As Boolean = True"; +_showupindicator = __c.True; +RDebugUtils.currentLine=15466519; + //BA.debugLineNum = 15466519;BA.debugLine="Public ActionBar As JavaObject"; +_actionbar = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=15466523; + //BA.debugLineNum = 15466523;BA.debugLine="Public IsForeground As Boolean"; +_isforeground = false; +RDebugUtils.currentLine=15466524; + //BA.debugLineNum = 15466524;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; +_transitionanimationduration = (int) (100); +RDebugUtils.currentLine=15466525; + //BA.debugLineNum = 15466525;BA.debugLine="Public MainPage As B4XMainPage"; +_mainpage = new gunav2.keymon.com.mx.b4xmainpage(); +RDebugUtils.currentLine=15466526; + //BA.debugLineNum = 15466526;BA.debugLine="Private StackString As String"; +_stackstring = ""; +RDebugUtils.currentLine=15466527; + //BA.debugLineNum = 15466527;BA.debugLine="Public LogEvents As Boolean = False"; +_logevents = __c.False; +RDebugUtils.currentLine=15466528; + //BA.debugLineNum = 15466528;BA.debugLine="End Sub"; +return ""; +} +public String _closepageimpl(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closepageimpl", true)) + {return ((String) Debug.delegate(ba, "closepageimpl", new Object[] {_pi}));} +anywheresoftware.b4a.objects.IntentWrapper _i = null; +RDebugUtils.currentLine=16252928; + //BA.debugLineNum = 16252928;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; +RDebugUtils.currentLine=16252930; + //BA.debugLineNum = 16252930;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; +if (__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)==1) { +RDebugUtils.currentLine=16252931; + //BA.debugLineNum = 16252931;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=16252932; + //BA.debugLineNum = 16252932;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; +_i.Initialize(_i.ACTION_MAIN,""); +RDebugUtils.currentLine=16252933; + //BA.debugLineNum = 16252933;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; +_i.AddCategory("android.intent.category.HOME"); +RDebugUtils.currentLine=16252934; + //BA.debugLineNum = 16252934;BA.debugLine="i.Flags = 0x10000000"; +_i.setFlags(((int)0x10000000)); +RDebugUtils.currentLine=16252935; + //BA.debugLineNum = 16252935;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); + }else { +RDebugUtils.currentLine=16252937; + //BA.debugLineNum = 16252937;BA.debugLine="pi.Root.RemoveViewFromParent"; +_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + }; +RDebugUtils.currentLine=16252944; + //BA.debugLineNum = 16252944;BA.debugLine="End Sub"; +return ""; +} +public String _toppagedisappear(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "toppagedisappear", true)) + {return ((String) Debug.delegate(ba, "toppagedisappear", null));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=16056320; + //BA.debugLineNum = 16056320;BA.debugLine="Private Sub TopPageDisappear"; +RDebugUtils.currentLine=16056321; + //BA.debugLineNum = 16056321;BA.debugLine="If xui.IsB4J Then Return"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +if (true) return "";}; +RDebugUtils.currentLine=16056322; + //BA.debugLineNum = 16056322;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=16056323; + //BA.debugLineNum = 16056323;BA.debugLine="If pi = Null Then Return"; +if (_pi== null) { +if (true) return "";}; +RDebugUtils.currentLine=16056324; + //BA.debugLineNum = 16056324;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=16056325; + //BA.debugLineNum = 16056325;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=16056326; + //BA.debugLineNum = 16056326;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; +__ref._raiseeventwithresult /*Object*/ (null,_pi,"B4XPage_Disappear",(Object[])(__c.Null)); + }; + }; +RDebugUtils.currentLine=16056329; + //BA.debugLineNum = 16056329;BA.debugLine="End Sub"; +return ""; +} +public String _showpageimpl(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpageimpl", true)) + {return ((String) Debug.delegate(ba, "showpageimpl", new Object[] {_pi}));} anywheresoftware.b4a.objects.PanelWrapper _pnl = null; - //BA.debugLineNum = 333;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; - //BA.debugLineNum = 339;BA.debugLine="If pi.Root.Parent.IsInitialized Then pi.Root.Remo"; +RDebugUtils.currentLine=16318464; + //BA.debugLineNum = 16318464;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; +RDebugUtils.currentLine=16318470; + //BA.debugLineNum = 16318470;BA.debugLine="If pi.Root.Parent.IsInitialized Then pi.Root.Remo"; if (_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().IsInitialized()) { _pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent();}; - //BA.debugLineNum = 340;BA.debugLine="Dim pnl As Panel = pi.Root"; +RDebugUtils.currentLine=16318471; + //BA.debugLineNum = 16318471;BA.debugLine="Dim pnl As Panel = pi.Root"; _pnl = new anywheresoftware.b4a.objects.PanelWrapper(); _pnl = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); - //BA.debugLineNum = 341;BA.debugLine="If TransitionAnimationDuration > 0 Then"; -if (_transitionanimationduration>0) { - //BA.debugLineNum = 342;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 20dip, 20dip)"; -_mmainform.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20))); - //BA.debugLineNum = 343;BA.debugLine="pnl.SetLayoutAnimated(TransitionAnimationDuratio"; -_pnl.SetLayoutAnimated(_transitionanimationduration,(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=16318472; + //BA.debugLineNum = 16318472;BA.debugLine="If TransitionAnimationDuration > 0 Then"; +if (__ref._transitionanimationduration /*int*/ >0) { +RDebugUtils.currentLine=16318473; + //BA.debugLineNum = 16318473;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 20dip, 20dip)"; +__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ .AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20))); +RDebugUtils.currentLine=16318474; + //BA.debugLineNum = 16318474;BA.debugLine="pnl.SetLayoutAnimated(TransitionAnimationDuratio"; +_pnl.SetLayoutAnimated(__ref._transitionanimationduration /*int*/ ,(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); }else { - //BA.debugLineNum = 345;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 100%x, 100%y)"; -_mmainform.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=16318476; + //BA.debugLineNum = 16318476;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 100%x, 100%y)"; +__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ .AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); }; - //BA.debugLineNum = 350;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16318481; + //BA.debugLineNum = 16318481;BA.debugLine="End Sub"; return ""; } -public String _toppageappear() throws Exception{ +public String _toppageappear(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "toppageappear", true)) + {return ((String) Debug.delegate(ba, "toppageappear", null));} gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 288;BA.debugLine="Private Sub TopPageAppear"; - //BA.debugLineNum = 289;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 290;BA.debugLine="If pi = Null Then Return"; +RDebugUtils.currentLine=16121856; + //BA.debugLineNum = 16121856;BA.debugLine="Private Sub TopPageAppear"; +RDebugUtils.currentLine=16121857; + //BA.debugLineNum = 16121857;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=16121858; + //BA.debugLineNum = 16121858;BA.debugLine="If pi = Null Then Return"; if (_pi== null) { if (true) return "";}; - //BA.debugLineNum = 291;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; +RDebugUtils.currentLine=16121859; + //BA.debugLineNum = 16121859;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; _pi.Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_pi.Title /*Object*/ )); - //BA.debugLineNum = 292;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 293;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 294;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; -_raiseevent(_pi,"B4XPage_Appear",(Object[])(__c.Null)); +RDebugUtils.currentLine=16121860; + //BA.debugLineNum = 16121860;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=16121861; + //BA.debugLineNum = 16121861;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=16121862; + //BA.debugLineNum = 16121862;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,_pi,"B4XPage_Appear",(Object[])(__c.Null)); }; }; - //BA.debugLineNum = 298;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; -if (_showupindicator && _actionbar.IsInitialized()) { - //BA.debugLineNum = 299;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; -_actionbar.RunMethod("setDisplayHomeAsUpEnabled",new Object[]{(Object)(_mstackofpageids._getsize /*int*/ ()>1)}); +RDebugUtils.currentLine=16121866; + //BA.debugLineNum = 16121866;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; +if (__ref._showupindicator /*boolean*/ && __ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .IsInitialized()) { +RDebugUtils.currentLine=16121867; + //BA.debugLineNum = 16121867;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; +__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setDisplayHomeAsUpEnabled",new Object[]{(Object)(__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)>1)}); }; - //BA.debugLineNum = 301;BA.debugLine="UpdateMenuItems"; -_updatemenuitems(); - //BA.debugLineNum = 303;BA.debugLine="UpdateStackString"; -_updatestackstring(); - //BA.debugLineNum = 304;BA.debugLine="End Sub"; +RDebugUtils.currentLine=16121869; + //BA.debugLineNum = 16121869;BA.debugLine="UpdateMenuItems"; +__ref._updatemenuitems /*String*/ (null); +RDebugUtils.currentLine=16121871; + //BA.debugLineNum = 16121871;BA.debugLine="UpdateStackString"; +__ref._updatestackstring /*String*/ (null); +RDebugUtils.currentLine=16121872; + //BA.debugLineNum = 16121872;BA.debugLine="End Sub"; return ""; } -public String _toppagedisappear() throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 277;BA.debugLine="Private Sub TopPageDisappear"; - //BA.debugLineNum = 278;BA.debugLine="If xui.IsB4J Then Return"; -if (_xui.getIsB4J()) { -if (true) return "";}; - //BA.debugLineNum = 279;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 280;BA.debugLine="If pi = Null Then Return"; -if (_pi== null) { -if (true) return "";}; - //BA.debugLineNum = 281;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 282;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 283;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; -_raiseeventwithresult(_pi,"B4XPage_Disappear",(Object[])(__c.Null)); - }; - }; - //BA.debugLineNum = 286;BA.debugLine="End Sub"; +public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent _createb4xpageparent(gunav2.keymon.com.mx.b4xpagesmanager __ref,Object _nativetype) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createb4xpageparent", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent) Debug.delegate(ba, "createb4xpageparent", new Object[] {_nativetype}));} +gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent _t1 = null; +RDebugUtils.currentLine=17498112; + //BA.debugLineNum = 17498112;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; +RDebugUtils.currentLine=17498118; + //BA.debugLineNum = 17498118;BA.debugLine="Dim t1 As B4XPageParent"; +_t1 = new gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent(); +RDebugUtils.currentLine=17498119; + //BA.debugLineNum = 17498119;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=17498120; + //BA.debugLineNum = 17498120;BA.debugLine="t1.NativeType = NativeType"; +_t1.NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ = (anywheresoftware.b4a.objects.ActivityWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ActivityWrapper(), (anywheresoftware.b4a.BALayout)(_nativetype)); +RDebugUtils.currentLine=17498121; + //BA.debugLineNum = 17498121;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=17498122; + //BA.debugLineNum = 17498122;BA.debugLine="End Sub"; +return null; +} +public String _createpageimpl(gunav2.keymon.com.mx.b4xpagesmanager __ref,gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createpageimpl", true)) + {return ((String) Debug.delegate(ba, "createpageimpl", new Object[] {_pi}));} +RDebugUtils.currentLine=16515072; + //BA.debugLineNum = 16515072;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; +RDebugUtils.currentLine=16515084; + //BA.debugLineNum = 16515084;BA.debugLine="pi.Root = xui.CreatePanel(\"root\")"; +_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"root"); +RDebugUtils.currentLine=16515085; + //BA.debugLineNum = 16515085;BA.debugLine="pi.root.SetLayoutAnimated(0, 0, 0, 100%x, 100%y)"; +_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=16515086; + //BA.debugLineNum = 16515086;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; +_pi.Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ = __ref._createb4xpageparent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ (null,(Object)(__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ .getObject())); +RDebugUtils.currentLine=16515087; + //BA.debugLineNum = 16515087;BA.debugLine="pi.Parent.MenuItems.Initialize"; +_pi.Parent /*gunav2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=16515095; + //BA.debugLineNum = 16515095;BA.debugLine="End Sub"; return ""; } -public String _updatemenuitems() throws Exception{ - //BA.debugLineNum = 490;BA.debugLine="Private Sub UpdateMenuItems"; - //BA.debugLineNum = 491;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; -_context.RunMethod("invalidateOptionsMenu",(Object[])(__c.Null)); - //BA.debugLineNum = 492;BA.debugLine="End Sub"; +public gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _getpageinfofromroot(gunav2.keymon.com.mx.b4xpagesmanager __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpageinfofromroot", true)) + {return ((gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "getpageinfofromroot", new Object[] {_root}));} +RDebugUtils.currentLine=16711680; + //BA.debugLineNum = 16711680;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; +RDebugUtils.currentLine=16711681; + //BA.debugLineNum = 16711681;BA.debugLine="Return RootB4XToPage.Get(Root)"; +if (true) return (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__ref._rootb4xtopage /*gunav2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_root.getObject()))); +RDebugUtils.currentLine=16711682; + //BA.debugLineNum = 16711682;BA.debugLine="End Sub"; +return null; +} +public String _updatemenuitems(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "updatemenuitems", true)) + {return ((String) Debug.delegate(ba, "updatemenuitems", null));} +RDebugUtils.currentLine=16973824; + //BA.debugLineNum = 16973824;BA.debugLine="Private Sub UpdateMenuItems"; +RDebugUtils.currentLine=16973825; + //BA.debugLineNum = 16973825;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; +__ref._context /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("invalidateOptionsMenu",(Object[])(__c.Null)); +RDebugUtils.currentLine=16973826; + //BA.debugLineNum = 16973826;BA.debugLine="End Sub"; return ""; } -public String _updatestackstring() throws Exception{ +public String _updatestackstring(gunav2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "updatestackstring", true)) + {return ((String) Debug.delegate(ba, "updatestackstring", null));} anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; String _id = ""; - //BA.debugLineNum = 647;BA.debugLine="Public Sub UpdateStackString"; - //BA.debugLineNum = 648;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=17825792; + //BA.debugLineNum = 17825792;BA.debugLine="Public Sub UpdateStackString"; +RDebugUtils.currentLine=17825793; + //BA.debugLineNum = 17825793;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 649;BA.debugLine="sb.Initialize"; +RDebugUtils.currentLine=17825794; + //BA.debugLineNum = 17825794;BA.debugLine="sb.Initialize"; _sb.Initialize(); - //BA.debugLineNum = 650;BA.debugLine="sb.Append(\"[\")"; +RDebugUtils.currentLine=17825795; + //BA.debugLineNum = 17825795;BA.debugLine="sb.Append(\"[\")"; _sb.Append("["); - //BA.debugLineNum = 651;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; -if (_mstackofpageids._getsize /*int*/ ()>0) { - //BA.debugLineNum = 652;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; +RDebugUtils.currentLine=17825796; + //BA.debugLineNum = 17825796;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; +if (__ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)>0) { +RDebugUtils.currentLine=17825797; + //BA.debugLineNum = 17825797;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; { -final anywheresoftware.b4a.BA.IterableList group5 = _mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ (); +final anywheresoftware.b4a.BA.IterableList group5 = __ref._mstackofpageids /*gunav2.keymon.com.mx.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null); final int groupLen5 = group5.getSize() ;int index5 = 0; ; for (; index5 < groupLen5;index5++){ _id = BA.ObjectToString(group5.Get(index5)); - //BA.debugLineNum = 653;BA.debugLine="sb.Append(id).Append(\", \")"; +RDebugUtils.currentLine=17825798; + //BA.debugLineNum = 17825798;BA.debugLine="sb.Append(id).Append(\", \")"; _sb.Append(_id).Append(", "); } }; - //BA.debugLineNum = 655;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; +RDebugUtils.currentLine=17825800; + //BA.debugLineNum = 17825800;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; _sb.Remove((int) (_sb.getLength()-2),_sb.getLength()); }; - //BA.debugLineNum = 657;BA.debugLine="sb.Append(\"]\")"; +RDebugUtils.currentLine=17825802; + //BA.debugLineNum = 17825802;BA.debugLine="sb.Append(\"]\")"; _sb.Append("]"); - //BA.debugLineNum = 658;BA.debugLine="StackString = sb.ToString"; -_stackstring = _sb.ToString(); - //BA.debugLineNum = 659;BA.debugLine="End Sub"; +RDebugUtils.currentLine=17825803; + //BA.debugLineNum = 17825803;BA.debugLine="StackString = sb.ToString"; +__ref._stackstring /*String*/ = _sb.ToString(); +RDebugUtils.currentLine=17825804; + //BA.debugLineNum = 17825804;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} public boolean checkIfAppCompat(android.app.Activity act) { return act.getClass().getSuperclass().getName().equals("androidx.appcompat.app.AppCompatActivity"); } @@ -1071,4 +1556,4 @@ public static class PagesMenuListener implements android.view.MenuItem.OnMenuIte return true; } } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xplusminus.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xplusminus.java index 01f5645..d3f3186 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xplusminus.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xplusminus.java @@ -10,7 +10,7 @@ public class b4xplusminus extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xplusminus"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xplusminus"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xplusminus extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -55,399 +62,674 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 83;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 84;BA.debugLine="If Formation = \"Horizontal\" Then"; -if ((_formation).equals("Horizontal")) { - //BA.debugLineNum = 85;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, 0, ArrowsSize,"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_arrowssize,(int) (_height)); - //BA.debugLineNum = 86;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width - ArrowsSize,"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (_width-_arrowssize),(int) (0),_arrowssize,(int) (_height)); - //BA.debugLineNum = 87;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - }else if((_formation).equals("Vertical")) { - //BA.debugLineNum = 89;BA.debugLine="pnlPlus.SetLayoutAnimated(0, 0, 0, Width, Arrows"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),_arrowssize); - //BA.debugLineNum = 90;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (_height-_arrowssize),(int) (_width),_arrowssize); - //BA.debugLineNum = 91;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +public String _base_resize(gunav2.keymon.com.mx.b4xplusminus __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=34209792; + //BA.debugLineNum = 34209792;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=34209793; + //BA.debugLineNum = 34209793;BA.debugLine="If Formation = \"Horizontal\" Then"; +if ((__ref._formation /*String*/ ).equals("Horizontal")) { +RDebugUtils.currentLine=34209794; + //BA.debugLineNum = 34209794;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, 0, ArrowsSize,"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._arrowssize /*int*/ ,(int) (_height)); +RDebugUtils.currentLine=34209795; + //BA.debugLineNum = 34209795;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width - ArrowsSize,"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (_width-__ref._arrowssize /*int*/ ),(int) (0),__ref._arrowssize /*int*/ ,(int) (_height)); +RDebugUtils.currentLine=34209796; + //BA.debugLineNum = 34209796;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); + }else +{RDebugUtils.currentLine=34209797; + //BA.debugLineNum = 34209797;BA.debugLine="Else if Formation = \"Vertical\" Then"; +if ((__ref._formation /*String*/ ).equals("Vertical")) { +RDebugUtils.currentLine=34209798; + //BA.debugLineNum = 34209798;BA.debugLine="pnlPlus.SetLayoutAnimated(0, 0, 0, Width, Arrows"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),__ref._arrowssize /*int*/ ); +RDebugUtils.currentLine=34209799; + //BA.debugLineNum = 34209799;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (_height-__ref._arrowssize /*int*/ ),(int) (_width),__ref._arrowssize /*int*/ ); +RDebugUtils.currentLine=34209800; + //BA.debugLineNum = 34209800;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); }else { - //BA.debugLineNum = 93;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (_height-_arrowssize),(int) (_width/(double)2),_arrowssize); - //BA.debugLineNum = 94;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width / 2, pnlMinus"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (_width/(double)2),_pnlminus.getTop(),_pnlminus.getWidth(),_pnlminus.getHeight()); - //BA.debugLineNum = 95;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height-_arrowssize+__c.DipToCurrent((int) (5)))); - }; - //BA.debugLineNum = 97;BA.debugLine="lblMinus.SetLayoutAnimated(0, 0, 0, pnlMinus.Widt"; -_lblminus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pnlminus.getWidth(),_pnlminus.getHeight()); - //BA.debugLineNum = 98;BA.debugLine="lblPlus.SetLayoutAnimated(0, 0, 0, pnlPlus.Width,"; -_lblplus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pnlplus.getWidth(),_pnlplus.getHeight()); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34209802; + //BA.debugLineNum = 34209802;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (_height-__ref._arrowssize /*int*/ ),(int) (_width/(double)2),__ref._arrowssize /*int*/ ); +RDebugUtils.currentLine=34209803; + //BA.debugLineNum = 34209803;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width / 2, pnlMinus"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (_width/(double)2),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTop(),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=34209804; + //BA.debugLineNum = 34209804;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height-__ref._arrowssize /*int*/ +__c.DipToCurrent((int) (5)))); + }} +; +RDebugUtils.currentLine=34209806; + //BA.debugLineNum = 34209806;BA.debugLine="lblMinus.SetLayoutAnimated(0, 0, 0, pnlMinus.Widt"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=34209807; + //BA.debugLineNum = 34209807;BA.debugLine="lblPlus.SetLayoutAnimated(0, 0, 0, pnlPlus.Width,"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=34209808; + //BA.debugLineNum = 34209808;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +RDebugUtils.currentLine=34013184; + //BA.debugLineNum = 34013184;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=34013185; + //BA.debugLineNum = 34013185;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=34013186; + //BA.debugLineNum = 34013186;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=34013187; + //BA.debugLineNum = 34013187;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=34013188; + //BA.debugLineNum = 34013188;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=34013189; + //BA.debugLineNum = 34013189;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Public pnlPlus, pnlMinus As B4XView"; +RDebugUtils.currentLine=34013190; + //BA.debugLineNum = 34013190;BA.debugLine="Public pnlPlus, pnlMinus As B4XView"; _pnlplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnlminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Public lblPlus, lblMinus As B4XView"; +RDebugUtils.currentLine=34013191; + //BA.debugLineNum = 34013191;BA.debugLine="Public lblPlus, lblMinus As B4XView"; _lblplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lblminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Public Formation As String"; +RDebugUtils.currentLine=34013192; + //BA.debugLineNum = 34013192;BA.debugLine="Public Formation As String"; _formation = ""; - //BA.debugLineNum = 15;BA.debugLine="Public mCyclic As Boolean"; +RDebugUtils.currentLine=34013193; + //BA.debugLineNum = 34013193;BA.debugLine="Public mCyclic As Boolean"; _mcyclic = false; - //BA.debugLineNum = 16;BA.debugLine="Public mRapid As Boolean"; +RDebugUtils.currentLine=34013194; + //BA.debugLineNum = 34013194;BA.debugLine="Public mRapid As Boolean"; _mrapid = false; - //BA.debugLineNum = 17;BA.debugLine="Public MainLabel As B4XView"; +RDebugUtils.currentLine=34013195; + //BA.debugLineNum = 34013195;BA.debugLine="Public MainLabel As B4XView"; _mainlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Public ArrowsSize As Int = 30dip"; +RDebugUtils.currentLine=34013196; + //BA.debugLineNum = 34013196;BA.debugLine="Public ArrowsSize As Int = 30dip"; _arrowssize = __c.DipToCurrent((int) (30)); - //BA.debugLineNum = 19;BA.debugLine="Private mStringItems As List"; +RDebugUtils.currentLine=34013197; + //BA.debugLineNum = 34013197;BA.debugLine="Private mStringItems As List"; _mstringitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 20;BA.debugLine="Private mStartRange, mInterval, mEndRange As Doub"; +RDebugUtils.currentLine=34013198; + //BA.debugLineNum = 34013198;BA.debugLine="Private mStartRange, mInterval, mEndRange As Doub"; _mstartrange = 0; _minterval = 0; _mendrange = 0; - //BA.debugLineNum = 21;BA.debugLine="Private mSelectedIndex As Int = -1"; +RDebugUtils.currentLine=34013199; + //BA.debugLineNum = 34013199;BA.debugLine="Private mSelectedIndex As Int = -1"; _mselectedindex = (int) (-1); - //BA.debugLineNum = 22;BA.debugLine="Private LoopIndex As Int"; +RDebugUtils.currentLine=34013200; + //BA.debugLineNum = 34013200;BA.debugLine="Private LoopIndex As Int"; _loopindex = 0; - //BA.debugLineNum = 23;BA.debugLine="Public RapidPeriod1 As Int = 1000"; +RDebugUtils.currentLine=34013201; + //BA.debugLineNum = 34013201;BA.debugLine="Public RapidPeriod1 As Int = 1000"; _rapidperiod1 = (int) (1000); - //BA.debugLineNum = 24;BA.debugLine="Public RapidPeriod2 As Int = 30"; +RDebugUtils.currentLine=34013202; + //BA.debugLineNum = 34013202;BA.debugLine="Public RapidPeriod2 As Int = 30"; _rapidperiod2 = (int) (30); - //BA.debugLineNum = 25;BA.debugLine="Public Formatter As B4XFormatter"; +RDebugUtils.currentLine=34013203; + //BA.debugLineNum = 34013203;BA.debugLine="Public Formatter As B4XFormatter"; _formatter = new gunav2.keymon.com.mx.b4xformatter(); - //BA.debugLineNum = 26;BA.debugLine="Private StringMode As Boolean"; +RDebugUtils.currentLine=34013204; + //BA.debugLineNum = 34013204;BA.debugLine="Private StringMode As Boolean"; _stringmode = false; - //BA.debugLineNum = 27;BA.debugLine="Private Size As Int"; +RDebugUtils.currentLine=34013205; + //BA.debugLineNum = 34013205;BA.debugLine="Private Size As Int"; _size = 0; - //BA.debugLineNum = 28;BA.debugLine="Public mHaptic As Boolean"; +RDebugUtils.currentLine=34013206; + //BA.debugLineNum = 34013206;BA.debugLine="Public mHaptic As Boolean"; _mhaptic = false; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34013207; + //BA.debugLineNum = 34013207;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(String _text) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(gunav2.keymon.com.mx.b4xplusminus __ref,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "createlabel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createlabel", new Object[] {_text}));} anywheresoftware.b4a.objects.LabelWrapper _lbl = null; anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; - //BA.debugLineNum = 247;BA.debugLine="Private Sub CreateLabel (text As String) As B4XVie"; - //BA.debugLineNum = 248;BA.debugLine="Dim lbl As Label"; +RDebugUtils.currentLine=34996224; + //BA.debugLineNum = 34996224;BA.debugLine="Private Sub CreateLabel (text As String) As B4XVie"; +RDebugUtils.currentLine=34996225; + //BA.debugLineNum = 34996225;BA.debugLine="Dim lbl As Label"; _lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 249;BA.debugLine="lbl.Initialize(\"\")"; +RDebugUtils.currentLine=34996226; + //BA.debugLineNum = 34996226;BA.debugLine="lbl.Initialize(\"\")"; _lbl.Initialize(ba,""); - //BA.debugLineNum = 250;BA.debugLine="Dim xlbl As B4XView = lbl"; +RDebugUtils.currentLine=34996227; + //BA.debugLineNum = 34996227;BA.debugLine="Dim xlbl As B4XView = lbl"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 251;BA.debugLine="xlbl.Font = xui.CreateMaterialIcons(30)"; -_xlbl.setFont(_xui.CreateMaterialIcons((float) (30))); - //BA.debugLineNum = 252;BA.debugLine="xlbl.Text = text"; +RDebugUtils.currentLine=34996228; + //BA.debugLineNum = 34996228;BA.debugLine="xlbl.Font = xui.CreateMaterialIcons(30)"; +_xlbl.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons((float) (30))); +RDebugUtils.currentLine=34996229; + //BA.debugLineNum = 34996229;BA.debugLine="xlbl.Text = text"; _xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 253;BA.debugLine="xlbl.TextColor = MainLabel.TextColor"; -_xlbl.setTextColor(_mainlabel.getTextColor()); - //BA.debugLineNum = 254;BA.debugLine="Return xlbl"; +RDebugUtils.currentLine=34996230; + //BA.debugLineNum = 34996230;BA.debugLine="xlbl.TextColor = MainLabel.TextColor"; +_xlbl.setTextColor(__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor()); +RDebugUtils.currentLine=34996231; + //BA.debugLineNum = 34996231;BA.debugLine="Return xlbl"; if (true) return _xlbl; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34996232; + //BA.debugLineNum = 34996232;BA.debugLine="End Sub"; return null; } -public String _decrement() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub Decrement"; - //BA.debugLineNum = 183;BA.debugLine="If mSelectedIndex <= 0 Then"; -if (_mselectedindex<=0) { - //BA.debugLineNum = 184;BA.debugLine="If mCyclic Then"; -if (_mcyclic) { - //BA.debugLineNum = 185;BA.debugLine="mSelectedIndex = Size"; -_mselectedindex = _size; +public String _decrement(gunav2.keymon.com.mx.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "decrement", true)) + {return ((String) Debug.delegate(ba, "decrement", null));} +RDebugUtils.currentLine=34734080; + //BA.debugLineNum = 34734080;BA.debugLine="Public Sub Decrement"; +RDebugUtils.currentLine=34734081; + //BA.debugLineNum = 34734081;BA.debugLine="If mSelectedIndex <= 0 Then"; +if (__ref._mselectedindex /*int*/ <=0) { +RDebugUtils.currentLine=34734082; + //BA.debugLineNum = 34734082;BA.debugLine="If mCyclic Then"; +if (__ref._mcyclic /*boolean*/ ) { +RDebugUtils.currentLine=34734083; + //BA.debugLineNum = 34734083;BA.debugLine="mSelectedIndex = Size"; +__ref._mselectedindex /*int*/ = __ref._size /*int*/ ; }else { - //BA.debugLineNum = 187;BA.debugLine="mSelectedIndex = 0"; -_mselectedindex = (int) (0); - //BA.debugLineNum = 188;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - //BA.debugLineNum = 189;BA.debugLine="Return"; +RDebugUtils.currentLine=34734085; + //BA.debugLineNum = 34734085;BA.debugLine="mSelectedIndex = 0"; +__ref._mselectedindex /*int*/ = (int) (0); +RDebugUtils.currentLine=34734086; + //BA.debugLineNum = 34734086;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=34734087; + //BA.debugLineNum = 34734087;BA.debugLine="Return"; if (true) return ""; }; }; - //BA.debugLineNum = 192;BA.debugLine="SetIndex(mSelectedIndex - 1, True)"; -_setindex((int) (_mselectedindex-1),__c.True); - //BA.debugLineNum = 193;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34734090; + //BA.debugLineNum = 34734090;BA.debugLine="SetIndex(mSelectedIndex - 1, True)"; +__ref._setindex /*String*/ (null,(int) (__ref._mselectedindex /*int*/ -1),__c.True); +RDebugUtils.currentLine=34734091; + //BA.debugLineNum = 34734091;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _setindex(gunav2.keymon.com.mx.b4xplusminus __ref,int _i,boolean _raiseevent) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setindex", true)) + {return ((String) Debug.delegate(ba, "setindex", new Object[] {_i,_raiseevent}));} +Object _value = null; +RDebugUtils.currentLine=34603008; + //BA.debugLineNum = 34603008;BA.debugLine="Private Sub SetIndex(i As Int, RaiseEvent As Boole"; +RDebugUtils.currentLine=34603009; + //BA.debugLineNum = 34603009;BA.debugLine="If i >= Size Then i = -1"; +if (_i>=__ref._size /*int*/ ) { +_i = (int) (-1);}; +RDebugUtils.currentLine=34603010; + //BA.debugLineNum = 34603010;BA.debugLine="mSelectedIndex = i"; +__ref._mselectedindex /*int*/ = _i; +RDebugUtils.currentLine=34603011; + //BA.debugLineNum = 34603011;BA.debugLine="If mSelectedIndex = -1 Then"; +if (__ref._mselectedindex /*int*/ ==-1) { +RDebugUtils.currentLine=34603012; + //BA.debugLineNum = 34603012;BA.debugLine="MainLabel.Text = \"\""; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence("")); + }else { +RDebugUtils.currentLine=34603014; + //BA.debugLineNum = 34603014;BA.debugLine="Dim value As Object = GetValueImpl (mSelectedInd"; +_value = __ref._getvalueimpl /*Object*/ (null,__ref._mselectedindex /*int*/ ); +RDebugUtils.currentLine=34603015; + //BA.debugLineNum = 34603015;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=34603016; + //BA.debugLineNum = 34603016;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; +__ref._internalsettextorcsbuildertolabel /*String*/ (null,__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_value); + }else { +RDebugUtils.currentLine=34603018; + //BA.debugLineNum = 34603018;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._formatter /*gunav2.keymon.com.mx.b4xformatter*/ ._format /*String*/ (null,(double)(BA.ObjectToNumber(_value))))); + }; +RDebugUtils.currentLine=34603020; + //BA.debugLineNum = 34603020;BA.debugLine="If RaiseEvent And xui.SubExists(mCallBack, mEven"; +if (_raiseevent && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_valuechanged",(int) (1))) { +RDebugUtils.currentLine=34603021; + //BA.debugLineNum = 34603021;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_valuechanged",_value); + }; + }; +RDebugUtils.currentLine=34603024; + //BA.debugLineNum = 34603024;BA.debugLine="lblPlus.Enabled = Size > 0 And (mCyclic Or mSelec"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._size /*int*/ >0 && (__ref._mcyclic /*boolean*/ || __ref._mselectedindex /*int*/ <__ref._size /*int*/ -1)); +RDebugUtils.currentLine=34603025; + //BA.debugLineNum = 34603025;BA.debugLine="lblMinus.Enabled = Size > 0 And (mCyclic Or mSele"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._size /*int*/ >0 && (__ref._mcyclic /*boolean*/ || __ref._mselectedindex /*int*/ >0)); +RDebugUtils.currentLine=34603026; + //BA.debugLineNum = 34603026;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(gunav2.keymon.com.mx.b4xplusminus __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 39;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 40;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 40;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 41;BA.debugLine="MainLabel = lbl"; -_mainlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 42;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_mainlabel.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 43;BA.debugLine="Dim pnl As B4XView = Props.Get(\"page\")"; +RDebugUtils.currentLine=34144256; + //BA.debugLineNum = 34144256;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=34144257; + //BA.debugLineNum = 34144257;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=34144258; + //BA.debugLineNum = 34144258;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=34144258; + //BA.debugLineNum = 34144258;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=34144259; + //BA.debugLineNum = 34144259;BA.debugLine="MainLabel = lbl"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=34144260; + //BA.debugLineNum = 34144260;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=34144261; + //BA.debugLineNum = 34144261;BA.debugLine="Dim pnl As B4XView = Props.Get(\"page\")"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_props.Get((Object)("page")))); - //BA.debugLineNum = 53;BA.debugLine="pnlPlus = xui.CreatePanel(\"pnlArrow\")"; -_pnlplus = _xui.CreatePanel(ba,"pnlArrow"); - //BA.debugLineNum = 54;BA.debugLine="pnlMinus = xui.CreatePanel(\"pnlArrow\")"; -_pnlminus = _xui.CreatePanel(ba,"pnlArrow"); - //BA.debugLineNum = 56;BA.debugLine="pnlPlus.Tag = True"; -_pnlplus.setTag((Object)(__c.True)); - //BA.debugLineNum = 57;BA.debugLine="pnlMinus.Tag = False"; -_pnlminus.setTag((Object)(__c.False)); - //BA.debugLineNum = 58;BA.debugLine="Formation = Props.Get(\"Orientation\")"; -_formation = BA.ObjectToString(_props.Get((Object)("Orientation"))); - //BA.debugLineNum = 59;BA.debugLine="mCyclic = Props.Get(\"Cyclic\")"; -_mcyclic = BA.ObjectToBoolean(_props.Get((Object)("Cyclic"))); - //BA.debugLineNum = 60;BA.debugLine="mRapid = Props.Get(\"Rapid\")"; -_mrapid = BA.ObjectToBoolean(_props.Get((Object)("Rapid"))); - //BA.debugLineNum = 61;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 62;BA.debugLine="Formatter.GetDefaultFormat.FormatFont = MainLabel"; -_formatter._getdefaultformat /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ ().FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _mainlabel.getFont(); - //BA.debugLineNum = 63;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; -_formatter._getdefaultformat /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ ().TextColor /*int*/ = _mainlabel.getTextColor(); - //BA.debugLineNum = 64;BA.debugLine="If Formation = \"Horizontal\" Then"; -if ((_formation).equals("Horizontal")) { - //BA.debugLineNum = 65;BA.debugLine="lblPlus = CreateLabel(Chr(0xE315))"; -_lblplus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe315)))); - //BA.debugLineNum = 66;BA.debugLine="lblMinus = CreateLabel(Chr(0xE314))"; -_lblminus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe314)))); +RDebugUtils.currentLine=34144271; + //BA.debugLineNum = 34144271;BA.debugLine="pnlPlus = xui.CreatePanel(\"pnlArrow\")"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnlArrow"); +RDebugUtils.currentLine=34144272; + //BA.debugLineNum = 34144272;BA.debugLine="pnlMinus = xui.CreatePanel(\"pnlArrow\")"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnlArrow"); +RDebugUtils.currentLine=34144274; + //BA.debugLineNum = 34144274;BA.debugLine="pnlPlus.Tag = True"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)(__c.True)); +RDebugUtils.currentLine=34144275; + //BA.debugLineNum = 34144275;BA.debugLine="pnlMinus.Tag = False"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)(__c.False)); +RDebugUtils.currentLine=34144276; + //BA.debugLineNum = 34144276;BA.debugLine="Formation = Props.Get(\"Orientation\")"; +__ref._formation /*String*/ = BA.ObjectToString(_props.Get((Object)("Orientation"))); +RDebugUtils.currentLine=34144277; + //BA.debugLineNum = 34144277;BA.debugLine="mCyclic = Props.Get(\"Cyclic\")"; +__ref._mcyclic /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Cyclic"))); +RDebugUtils.currentLine=34144278; + //BA.debugLineNum = 34144278;BA.debugLine="mRapid = Props.Get(\"Rapid\")"; +__ref._mrapid /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Rapid"))); +RDebugUtils.currentLine=34144279; + //BA.debugLineNum = 34144279;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=34144280; + //BA.debugLineNum = 34144280;BA.debugLine="Formatter.GetDefaultFormat.FormatFont = MainLabel"; +__ref._formatter /*gunav2.keymon.com.mx.b4xformatter*/ ._getdefaultformat /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null).FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getFont(); +RDebugUtils.currentLine=34144281; + //BA.debugLineNum = 34144281;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; +__ref._formatter /*gunav2.keymon.com.mx.b4xformatter*/ ._getdefaultformat /*gunav2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null).TextColor /*int*/ = __ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor(); +RDebugUtils.currentLine=34144282; + //BA.debugLineNum = 34144282;BA.debugLine="If Formation = \"Horizontal\" Then"; +if ((__ref._formation /*String*/ ).equals("Horizontal")) { +RDebugUtils.currentLine=34144283; + //BA.debugLineNum = 34144283;BA.debugLine="lblPlus = CreateLabel(Chr(0xE315))"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe315)))); +RDebugUtils.currentLine=34144284; + //BA.debugLineNum = 34144284;BA.debugLine="lblMinus = CreateLabel(Chr(0xE314))"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe314)))); }else { - //BA.debugLineNum = 68;BA.debugLine="lblPlus = CreateLabel(Chr(0xE316))"; -_lblplus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe316)))); - //BA.debugLineNum = 69;BA.debugLine="lblMinus = CreateLabel(Chr(0xE313))"; -_lblminus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe313)))); +RDebugUtils.currentLine=34144286; + //BA.debugLineNum = 34144286;BA.debugLine="lblPlus = CreateLabel(Chr(0xE316))"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe316)))); +RDebugUtils.currentLine=34144287; + //BA.debugLineNum = 34144287;BA.debugLine="lblMinus = CreateLabel(Chr(0xE313))"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,BA.ObjectToString(__c.Chr(((int)0xe313)))); }; - //BA.debugLineNum = 71;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_lblminus.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 72;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_lblplus.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 73;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_mainlabel.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 74;BA.debugLine="mBase.AddView(MainLabel, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mainlabel.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 75;BA.debugLine="mBase.AddView(pnlPlus, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnlplus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 76;BA.debugLine="mBase.AddView(pnlMinus, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnlminus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 77;BA.debugLine="pnlPlus.AddView(lblPlus, 0, 0, 0, 0)"; -_pnlplus.AddView((android.view.View)(_lblplus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 78;BA.debugLine="pnlMinus.AddView(lblMinus, 0, 0, 0, 0)"; -_pnlminus.AddView((android.view.View)(_lblminus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 79;BA.debugLine="SetIndex(-1, False)"; -_setindex((int) (-1),__c.False); - //BA.debugLineNum = 80;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 81;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34144289; + //BA.debugLineNum = 34144289;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=34144290; + //BA.debugLineNum = 34144290;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=34144291; + //BA.debugLineNum = 34144291;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=34144292; + //BA.debugLineNum = 34144292;BA.debugLine="mBase.AddView(MainLabel, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=34144293; + //BA.debugLineNum = 34144293;BA.debugLine="mBase.AddView(pnlPlus, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=34144294; + //BA.debugLineNum = 34144294;BA.debugLine="mBase.AddView(pnlMinus, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=34144295; + //BA.debugLineNum = 34144295;BA.debugLine="pnlPlus.AddView(lblPlus, 0, 0, 0, 0)"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=34144296; + //BA.debugLineNum = 34144296;BA.debugLine="pnlMinus.AddView(lblMinus, 0, 0, 0, 0)"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=34144297; + //BA.debugLineNum = 34144297;BA.debugLine="SetIndex(-1, False)"; +__ref._setindex /*String*/ (null,(int) (-1),__c.False); +RDebugUtils.currentLine=34144298; + //BA.debugLineNum = 34144298;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=34144299; + //BA.debugLineNum = 34144299;BA.debugLine="End Sub"; return ""; } -public Object _getselectedvalue() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub getSelectedValue As Object"; - //BA.debugLineNum = 118;BA.debugLine="Return GetValueImpl (mSelectedIndex)"; -if (true) return _getvalueimpl(_mselectedindex); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; +public Object _getselectedvalue(gunav2.keymon.com.mx.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "getselectedvalue", true)) + {return ((Object) Debug.delegate(ba, "getselectedvalue", null));} +RDebugUtils.currentLine=34406400; + //BA.debugLineNum = 34406400;BA.debugLine="Public Sub getSelectedValue As Object"; +RDebugUtils.currentLine=34406401; + //BA.debugLineNum = 34406401;BA.debugLine="Return GetValueImpl (mSelectedIndex)"; +if (true) return __ref._getvalueimpl /*Object*/ (null,__ref._mselectedindex /*int*/ ); +RDebugUtils.currentLine=34406402; + //BA.debugLineNum = 34406402;BA.debugLine="End Sub"; return null; } -public Object _getvalueimpl(int _index) throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Private Sub GetValueImpl (Index As Int) As Object"; - //BA.debugLineNum = 131;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 132;BA.debugLine="Return mStringItems.Get(Index)"; -if (true) return _mstringitems.Get(_index); +public Object _getvalueimpl(gunav2.keymon.com.mx.b4xplusminus __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "getvalueimpl", true)) + {return ((Object) Debug.delegate(ba, "getvalueimpl", new Object[] {_index}));} +RDebugUtils.currentLine=34537472; + //BA.debugLineNum = 34537472;BA.debugLine="Private Sub GetValueImpl (Index As Int) As Object"; +RDebugUtils.currentLine=34537473; + //BA.debugLineNum = 34537473;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=34537474; + //BA.debugLineNum = 34537474;BA.debugLine="Return mStringItems.Get(Index)"; +if (true) return __ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_index); }else { - //BA.debugLineNum = 134;BA.debugLine="If Index = Size - 1 Then"; -if (_index==_size-1) { - //BA.debugLineNum = 135;BA.debugLine="Return mEndRange"; -if (true) return (Object)(_mendrange); +RDebugUtils.currentLine=34537476; + //BA.debugLineNum = 34537476;BA.debugLine="If Index = Size - 1 Then"; +if (_index==__ref._size /*int*/ -1) { +RDebugUtils.currentLine=34537477; + //BA.debugLineNum = 34537477;BA.debugLine="Return mEndRange"; +if (true) return (Object)(__ref._mendrange /*double*/ ); }else { - //BA.debugLineNum = 137;BA.debugLine="Return mStartRange + Index * mInterval"; -if (true) return (Object)(_mstartrange+_index*_minterval); +RDebugUtils.currentLine=34537479; + //BA.debugLineNum = 34537479;BA.debugLine="Return mStartRange + Index * mInterval"; +if (true) return (Object)(__ref._mstartrange /*double*/ +_index*__ref._minterval /*double*/ ); }; }; - //BA.debugLineNum = 140;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34537482; + //BA.debugLineNum = 34537482;BA.debugLine="End Sub"; return null; } -public String _increment() throws Exception{ +public String _increment(gunav2.keymon.com.mx.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "increment", true)) + {return ((String) Debug.delegate(ba, "increment", null));} double _v1 = 0; double _v2 = 0; - //BA.debugLineNum = 162;BA.debugLine="Public Sub Increment"; - //BA.debugLineNum = 163;BA.debugLine="If mSelectedIndex = Size - 3 And StringMode = Fal"; -if (_mselectedindex==_size-3 && _stringmode==__c.False) { - //BA.debugLineNum = 164;BA.debugLine="Dim v1 As Double = GetValueImpl(mSelectedIndex +"; -_v1 = (double)(BA.ObjectToNumber(_getvalueimpl((int) (_mselectedindex+1)))); - //BA.debugLineNum = 165;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; -_v2 = (double)(BA.ObjectToNumber(_getvalueimpl((int) (_mselectedindex+2)))); - //BA.debugLineNum = 166;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; -if ((_formatter._format /*String*/ (_v1)).equals(_formatter._format /*String*/ (_v2))) { - //BA.debugLineNum = 167;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; -_mselectedindex = (int) (_mselectedindex+1); +RDebugUtils.currentLine=34668544; + //BA.debugLineNum = 34668544;BA.debugLine="Public Sub Increment"; +RDebugUtils.currentLine=34668545; + //BA.debugLineNum = 34668545;BA.debugLine="If mSelectedIndex = Size - 3 And StringMode = Fal"; +if (__ref._mselectedindex /*int*/ ==__ref._size /*int*/ -3 && __ref._stringmode /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=34668546; + //BA.debugLineNum = 34668546;BA.debugLine="Dim v1 As Double = GetValueImpl(mSelectedIndex +"; +_v1 = (double)(BA.ObjectToNumber(__ref._getvalueimpl /*Object*/ (null,(int) (__ref._mselectedindex /*int*/ +1)))); +RDebugUtils.currentLine=34668547; + //BA.debugLineNum = 34668547;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; +_v2 = (double)(BA.ObjectToNumber(__ref._getvalueimpl /*Object*/ (null,(int) (__ref._mselectedindex /*int*/ +2)))); +RDebugUtils.currentLine=34668548; + //BA.debugLineNum = 34668548;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; +if ((__ref._formatter /*gunav2.keymon.com.mx.b4xformatter*/ ._format /*String*/ (null,_v1)).equals(__ref._formatter /*gunav2.keymon.com.mx.b4xformatter*/ ._format /*String*/ (null,_v2))) { +RDebugUtils.currentLine=34668549; + //BA.debugLineNum = 34668549;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; +__ref._mselectedindex /*int*/ = (int) (__ref._mselectedindex /*int*/ +1); }; }; - //BA.debugLineNum = 170;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; -if (_mselectedindex>=_size-1) { - //BA.debugLineNum = 171;BA.debugLine="If mCyclic Then"; -if (_mcyclic) { - //BA.debugLineNum = 172;BA.debugLine="mSelectedIndex = -1"; -_mselectedindex = (int) (-1); +RDebugUtils.currentLine=34668552; + //BA.debugLineNum = 34668552;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; +if (__ref._mselectedindex /*int*/ >=__ref._size /*int*/ -1) { +RDebugUtils.currentLine=34668553; + //BA.debugLineNum = 34668553;BA.debugLine="If mCyclic Then"; +if (__ref._mcyclic /*boolean*/ ) { +RDebugUtils.currentLine=34668554; + //BA.debugLineNum = 34668554;BA.debugLine="mSelectedIndex = -1"; +__ref._mselectedindex /*int*/ = (int) (-1); }else { - //BA.debugLineNum = 174;BA.debugLine="mSelectedIndex = Size - 1"; -_mselectedindex = (int) (_size-1); - //BA.debugLineNum = 175;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - //BA.debugLineNum = 176;BA.debugLine="Return"; +RDebugUtils.currentLine=34668556; + //BA.debugLineNum = 34668556;BA.debugLine="mSelectedIndex = Size - 1"; +__ref._mselectedindex /*int*/ = (int) (__ref._size /*int*/ -1); +RDebugUtils.currentLine=34668557; + //BA.debugLineNum = 34668557;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=34668558; + //BA.debugLineNum = 34668558;BA.debugLine="Return"; if (true) return ""; }; }; - //BA.debugLineNum = 179;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; -_setindex((int) (_mselectedindex+1),__c.True); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34668561; + //BA.debugLineNum = 34668561;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; +__ref._setindex /*String*/ (null,(int) (__ref._mselectedindex /*int*/ +1),__c.True); +RDebugUtils.currentLine=34668562; + //BA.debugLineNum = 34668562;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xplusminus __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 31;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 32;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 33;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 34;BA.debugLine="Formatter.Initialize"; -_formatter._initialize /*String*/ (ba); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=34078720; + //BA.debugLineNum = 34078720;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=34078721; + //BA.debugLineNum = 34078721;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=34078722; + //BA.debugLineNum = 34078722;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=34078723; + //BA.debugLineNum = 34078723;BA.debugLine="Formatter.Initialize"; +__ref._formatter /*gunav2.keymon.com.mx.b4xformatter*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=34078724; + //BA.debugLineNum = 34078724;BA.debugLine="End Sub"; return ""; } -public String _internalsettextorcsbuildertolabel(anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 257;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; - //BA.debugLineNum = 259;BA.debugLine="xlbl.Text = Text"; +public String _internalsettextorcsbuildertolabel(gunav2.keymon.com.mx.b4xplusminus __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "internalsettextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(ba, "internalsettextorcsbuildertolabel", new Object[] {_xlbl,_text}));} +RDebugUtils.currentLine=35061760; + //BA.debugLineNum = 35061760;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=35061762; + //BA.debugLineNum = 35061762;BA.debugLine="xlbl.Text = Text"; _xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 269;BA.debugLine="End Sub"; +RDebugUtils.currentLine=35061772; + //BA.debugLineNum = 35061772;BA.debugLine="End Sub"; return ""; } -public String _pnlarrow_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 195;BA.debugLine="Private Sub pnlArrow_Touch (Action As Int, X As Fl"; - //BA.debugLineNum = 196;BA.debugLine="Touch(Action = lblPlus.TOUCH_ACTION_DOWN, Action"; -_touch(_action==_lblplus.TOUCH_ACTION_DOWN,_action!=_lblplus.TOUCH_ACTION_MOVE,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 197;BA.debugLine="End Sub"; +public String _pnlarrow_touch(gunav2.keymon.com.mx.b4xplusminus __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "pnlarrow_touch", true)) + {return ((String) Debug.delegate(ba, "pnlarrow_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=34799616; + //BA.debugLineNum = 34799616;BA.debugLine="Private Sub pnlArrow_Touch (Action As Int, X As Fl"; +RDebugUtils.currentLine=34799617; + //BA.debugLineNum = 34799617;BA.debugLine="Touch(Action = lblPlus.TOUCH_ACTION_DOWN, Action"; +__ref._touch /*String*/ (null,_action==__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN,_action!=__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=34799618; + //BA.debugLineNum = 34799618;BA.debugLine="End Sub"; return ""; } -public String _setindex(int _i,boolean _raiseevent) throws Exception{ -Object _value = null; - //BA.debugLineNum = 142;BA.debugLine="Private Sub SetIndex(i As Int, RaiseEvent As Boole"; - //BA.debugLineNum = 143;BA.debugLine="If i >= Size Then i = -1"; -if (_i>=_size) { -_i = (int) (-1);}; - //BA.debugLineNum = 144;BA.debugLine="mSelectedIndex = i"; -_mselectedindex = _i; - //BA.debugLineNum = 145;BA.debugLine="If mSelectedIndex = -1 Then"; -if (_mselectedindex==-1) { - //BA.debugLineNum = 146;BA.debugLine="MainLabel.Text = \"\""; -_mainlabel.setText(BA.ObjectToCharSequence("")); +public String _touch(gunav2.keymon.com.mx.b4xplusminus __ref,boolean _start,boolean _stop,anywheresoftware.b4a.objects.B4XViewWrapper _pnl) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "touch", true)) + {return ((String) Debug.delegate(ba, "touch", new Object[] {_start,_stop,_pnl}));} +RDebugUtils.currentLine=34865152; + //BA.debugLineNum = 34865152;BA.debugLine="Private Sub Touch (Start As Boolean, Stop As Boole"; +RDebugUtils.currentLine=34865153; + //BA.debugLineNum = 34865153;BA.debugLine="If pnl.GetView(0).Enabled = False Then Return"; +if (_pnl.GetView((int) (0)).getEnabled()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=34865154; + //BA.debugLineNum = 34865154;BA.debugLine="If Start Then"; +if (_start) { +RDebugUtils.currentLine=34865155; + //BA.debugLineNum = 34865155;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,_pnl);}; +RDebugUtils.currentLine=34865156; + //BA.debugLineNum = 34865156;BA.debugLine="If pnl.Tag = True Then"; +if ((_pnl.getTag()).equals((Object)(__c.True))) { +RDebugUtils.currentLine=34865157; + //BA.debugLineNum = 34865157;BA.debugLine="Increment"; +__ref._increment /*String*/ (null); +RDebugUtils.currentLine=34865158; + //BA.debugLineNum = 34865158;BA.debugLine="StartDownLoop(True)"; +__ref._startdownloop /*void*/ (null,__c.True); }else { - //BA.debugLineNum = 148;BA.debugLine="Dim value As Object = GetValueImpl (mSelectedInd"; -_value = _getvalueimpl(_mselectedindex); - //BA.debugLineNum = 149;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 150;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; -_internalsettextorcsbuildertolabel(_mainlabel,_value); - }else { - //BA.debugLineNum = 152;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; -_mainlabel.setText(BA.ObjectToCharSequence(_formatter._format /*String*/ ((double)(BA.ObjectToNumber(_value))))); +RDebugUtils.currentLine=34865160; + //BA.debugLineNum = 34865160;BA.debugLine="Decrement"; +__ref._decrement /*String*/ (null); +RDebugUtils.currentLine=34865161; + //BA.debugLineNum = 34865161;BA.debugLine="StartDownLoop(False)"; +__ref._startdownloop /*void*/ (null,__c.False); }; - //BA.debugLineNum = 154;BA.debugLine="If RaiseEvent And xui.SubExists(mCallBack, mEven"; -if (_raiseevent && _xui.SubExists(ba,_mcallback,_meventname+"_valuechanged",(int) (1))) { - //BA.debugLineNum = 155;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; -__c.CallSubNew2(ba,_mcallback,_meventname+"_valuechanged",_value); - }; - }; - //BA.debugLineNum = 158;BA.debugLine="lblPlus.Enabled = Size > 0 And (mCyclic Or mSelec"; -_lblplus.setEnabled(_size>0 && (_mcyclic || _mselectedindex<_size-1)); - //BA.debugLineNum = 159;BA.debugLine="lblMinus.Enabled = Size > 0 And (mCyclic Or mSele"; -_lblminus.setEnabled(_size>0 && (_mcyclic || _mselectedindex>0)); - //BA.debugLineNum = 160;BA.debugLine="End Sub"; + }else +{RDebugUtils.currentLine=34865163; + //BA.debugLineNum = 34865163;BA.debugLine="Else If Stop Then"; +if (_stop) { +RDebugUtils.currentLine=34865164; + //BA.debugLineNum = 34865164;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); + }} +; +RDebugUtils.currentLine=34865166; + //BA.debugLineNum = 34865166;BA.debugLine="End Sub"; return ""; } -public String _setnumericrange(double _startrange,double _endrange,double _interval) throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub SetNumericRange (StartRange As Double,"; - //BA.debugLineNum = 109;BA.debugLine="Size = Ceil((EndRange - StartRange) / Interval) +"; -_size = (int) (__c.Ceil((_endrange-_startrange)/(double)_interval)+1); - //BA.debugLineNum = 110;BA.debugLine="mStartRange = StartRange"; -_mstartrange = _startrange; - //BA.debugLineNum = 111;BA.debugLine="mEndRange = EndRange"; -_mendrange = _endrange; - //BA.debugLineNum = 112;BA.debugLine="mInterval = Interval"; -_minterval = _interval; - //BA.debugLineNum = 113;BA.debugLine="StringMode = False"; -_stringmode = __c.False; - //BA.debugLineNum = 114;BA.debugLine="SetIndex(0, False)"; -_setindex((int) (0),__c.False); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; +public String _setnumericrange(gunav2.keymon.com.mx.b4xplusminus __ref,double _startrange,double _endrange,double _interval) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setnumericrange", true)) + {return ((String) Debug.delegate(ba, "setnumericrange", new Object[] {_startrange,_endrange,_interval}));} +RDebugUtils.currentLine=34340864; + //BA.debugLineNum = 34340864;BA.debugLine="Public Sub SetNumericRange (StartRange As Double,"; +RDebugUtils.currentLine=34340865; + //BA.debugLineNum = 34340865;BA.debugLine="Size = Ceil((EndRange - StartRange) / Interval) +"; +__ref._size /*int*/ = (int) (__c.Ceil((_endrange-_startrange)/(double)_interval)+1); +RDebugUtils.currentLine=34340866; + //BA.debugLineNum = 34340866;BA.debugLine="mStartRange = StartRange"; +__ref._mstartrange /*double*/ = _startrange; +RDebugUtils.currentLine=34340867; + //BA.debugLineNum = 34340867;BA.debugLine="mEndRange = EndRange"; +__ref._mendrange /*double*/ = _endrange; +RDebugUtils.currentLine=34340868; + //BA.debugLineNum = 34340868;BA.debugLine="mInterval = Interval"; +__ref._minterval /*double*/ = _interval; +RDebugUtils.currentLine=34340869; + //BA.debugLineNum = 34340869;BA.debugLine="StringMode = False"; +__ref._stringmode /*boolean*/ = __c.False; +RDebugUtils.currentLine=34340870; + //BA.debugLineNum = 34340870;BA.debugLine="SetIndex(0, False)"; +__ref._setindex /*String*/ (null,(int) (0),__c.False); +RDebugUtils.currentLine=34340871; + //BA.debugLineNum = 34340871;BA.debugLine="End Sub"; return ""; } -public String _setselectedvalue(Object _v) throws Exception{ +public String _setselectedvalue(gunav2.keymon.com.mx.b4xplusminus __ref,Object _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setselectedvalue", true)) + {return ((String) Debug.delegate(ba, "setselectedvalue", new Object[] {_v}));} double _n = 0; - //BA.debugLineNum = 121;BA.debugLine="Public Sub setSelectedValue (v As Object)"; - //BA.debugLineNum = 122;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 123;BA.debugLine="SetIndex(mStringItems.IndexOf(v), False)"; -_setindex(_mstringitems.IndexOf(_v),__c.False); +RDebugUtils.currentLine=34471936; + //BA.debugLineNum = 34471936;BA.debugLine="Public Sub setSelectedValue (v As Object)"; +RDebugUtils.currentLine=34471937; + //BA.debugLineNum = 34471937;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=34471938; + //BA.debugLineNum = 34471938;BA.debugLine="SetIndex(mStringItems.IndexOf(v), False)"; +__ref._setindex /*String*/ (null,__ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_v),__c.False); }else { - //BA.debugLineNum = 125;BA.debugLine="Dim n As Double = v"; +RDebugUtils.currentLine=34471940; + //BA.debugLineNum = 34471940;BA.debugLine="Dim n As Double = v"; _n = (double)(BA.ObjectToNumber(_v)); - //BA.debugLineNum = 126;BA.debugLine="SetIndex(Min(Size - 1, Max(0, Round((n - mStartR"; -_setindex((int) (__c.Min(_size-1,__c.Max(0,__c.Round((_n-_mstartrange)/(double)_minterval)))),__c.False); +RDebugUtils.currentLine=34471941; + //BA.debugLineNum = 34471941;BA.debugLine="SetIndex(Min(Size - 1, Max(0, Round((n - mStartR"; +__ref._setindex /*String*/ (null,(int) (__c.Min(__ref._size /*int*/ -1,__c.Max(0,__c.Round((_n-__ref._mstartrange /*double*/ )/(double)__ref._minterval /*double*/ )))),__c.False); }; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34471943; + //BA.debugLineNum = 34471943;BA.debugLine="End Sub"; return ""; } -public String _setstringitems(anywheresoftware.b4a.objects.collections.List _list) throws Exception{ - //BA.debugLineNum = 101;BA.debugLine="Public Sub SetStringItems (list As List)"; - //BA.debugLineNum = 102;BA.debugLine="mStringItems = list"; -_mstringitems = _list; - //BA.debugLineNum = 103;BA.debugLine="StringMode = True"; -_stringmode = __c.True; - //BA.debugLineNum = 104;BA.debugLine="Size = mStringItems.Size"; -_size = _mstringitems.getSize(); - //BA.debugLineNum = 105;BA.debugLine="SetIndex(-1, False)"; -_setindex((int) (-1),__c.False); - //BA.debugLineNum = 106;BA.debugLine="End Sub"; +public String _setstringitems(gunav2.keymon.com.mx.b4xplusminus __ref,anywheresoftware.b4a.objects.collections.List _list) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setstringitems", true)) + {return ((String) Debug.delegate(ba, "setstringitems", new Object[] {_list}));} +RDebugUtils.currentLine=34275328; + //BA.debugLineNum = 34275328;BA.debugLine="Public Sub SetStringItems (list As List)"; +RDebugUtils.currentLine=34275329; + //BA.debugLineNum = 34275329;BA.debugLine="mStringItems = list"; +__ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ = _list; +RDebugUtils.currentLine=34275330; + //BA.debugLineNum = 34275330;BA.debugLine="StringMode = True"; +__ref._stringmode /*boolean*/ = __c.True; +RDebugUtils.currentLine=34275331; + //BA.debugLineNum = 34275331;BA.debugLine="Size = mStringItems.Size"; +__ref._size /*int*/ = __ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize(); +RDebugUtils.currentLine=34275332; + //BA.debugLineNum = 34275332;BA.debugLine="SetIndex(-1, False)"; +__ref._setindex /*String*/ (null,(int) (-1),__c.False); +RDebugUtils.currentLine=34275333; + //BA.debugLineNum = 34275333;BA.debugLine="End Sub"; return ""; } -public void _startdownloop(boolean _up) throws Exception{ -ResumableSub_StartDownLoop rsub = new ResumableSub_StartDownLoop(this,_up); +public void _startdownloop(gunav2.keymon.com.mx.b4xplusminus __ref,boolean _up) throws Exception{ +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "startdownloop", true)) + {Debug.delegate(ba, "startdownloop", new Object[] {_up}); return;} +ResumableSub_StartDownLoop rsub = new ResumableSub_StartDownLoop(this,__ref,_up); rsub.resume(ba, null); } public static class ResumableSub_StartDownLoop extends BA.ResumableSub { -public ResumableSub_StartDownLoop(gunav2.keymon.com.mx.b4xplusminus parent,boolean _up) { +public ResumableSub_StartDownLoop(gunav2.keymon.com.mx.b4xplusminus parent,gunav2.keymon.com.mx.b4xplusminus __ref,boolean _up) { this.parent = parent; +this.__ref = __ref; this._up = _up; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xplusminus __ref; gunav2.keymon.com.mx.b4xplusminus parent; boolean _up; int _myindex = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xplusminus"; while (true) { switch (state) { @@ -457,15 +739,17 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 235;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 236;BA.debugLine="If mRapid = False Then Return"; +RDebugUtils.currentLine=34930689; + //BA.debugLineNum = 34930689;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=34930690; + //BA.debugLineNum = 34930690;BA.debugLine="If mRapid = False Then Return"; if (true) break; case 1: //if this.state = 6; -if (parent._mrapid==parent.__c.False) { +if (__ref._mrapid /*boolean*/ ==parent.__c.False) { this.state = 3; ;}if (true) break; @@ -479,23 +763,26 @@ case 6: //C this.state = 7; ; - //BA.debugLineNum = 237;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 238;BA.debugLine="Sleep(RapidPeriod1)"; -parent.__c.Sleep(ba,this,parent._rapidperiod1); +RDebugUtils.currentLine=34930691; + //BA.debugLineNum = 34930691;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=34930692; + //BA.debugLineNum = 34930692;BA.debugLine="Sleep(RapidPeriod1)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xplusminus", "startdownloop"),__ref._rapidperiod1 /*int*/ ); this.state = 19; return; case 19: //C this.state = 7; ; - //BA.debugLineNum = 239;BA.debugLine="Do While MyIndex = LoopIndex"; +RDebugUtils.currentLine=34930693; + //BA.debugLineNum = 34930693;BA.debugLine="Do While MyIndex = LoopIndex"; if (true) break; case 7: //do while this.state = 18; -while (_myindex==parent._loopindex) { +while (_myindex==__ref._loopindex /*int*/ ) { this.state = 9; if (true) break; } @@ -504,7 +791,8 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 240;BA.debugLine="If Up Then Increment Else Decrement"; +RDebugUtils.currentLine=34930694; + //BA.debugLineNum = 34930694;BA.debugLine="If Up Then Increment Else Decrement"; if (true) break; case 10: @@ -520,21 +808,22 @@ this.state = 14; case 12: //C this.state = 17; -parent._increment(); +__ref._increment /*String*/ (null); if (true) break; case 14: //C this.state = 17; -parent._decrement(); +__ref._decrement /*String*/ (null); if (true) break; case 17: //C this.state = 7; ; - //BA.debugLineNum = 241;BA.debugLine="Sleep(RapidPeriod2)"; -parent.__c.Sleep(ba,this,parent._rapidperiod2); +RDebugUtils.currentLine=34930695; + //BA.debugLineNum = 34930695;BA.debugLine="Sleep(RapidPeriod2)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xplusminus", "startdownloop"),__ref._rapidperiod2 /*int*/ ); this.state = 20; return; case 20: @@ -547,44 +836,12 @@ case 18: //C this.state = -1; ; - //BA.debugLineNum = 243;BA.debugLine="End Sub"; +RDebugUtils.currentLine=34930697; + //BA.debugLineNum = 34930697;BA.debugLine="End Sub"; if (true) break; } } } } -public String _touch(boolean _start,boolean _stop,anywheresoftware.b4a.objects.B4XViewWrapper _pnl) throws Exception{ - //BA.debugLineNum = 199;BA.debugLine="Private Sub Touch (Start As Boolean, Stop As Boole"; - //BA.debugLineNum = 200;BA.debugLine="If pnl.GetView(0).Enabled = False Then Return"; -if (_pnl.GetView((int) (0)).getEnabled()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 201;BA.debugLine="If Start Then"; -if (_start) { - //BA.debugLineNum = 202;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_pnl);}; - //BA.debugLineNum = 203;BA.debugLine="If pnl.Tag = True Then"; -if ((_pnl.getTag()).equals((Object)(__c.True))) { - //BA.debugLineNum = 204;BA.debugLine="Increment"; -_increment(); - //BA.debugLineNum = 205;BA.debugLine="StartDownLoop(True)"; -_startdownloop(__c.True); - }else { - //BA.debugLineNum = 207;BA.debugLine="Decrement"; -_decrement(); - //BA.debugLineNum = 208;BA.debugLine="StartDownLoop(False)"; -_startdownloop(__c.False); - }; - }else if(_stop) { - //BA.debugLineNum = 211;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - }; - //BA.debugLineNum = 213;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xradiobutton.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xradiobutton.java index 21e9fcc..80f1647 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xradiobutton.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xradiobutton.java @@ -10,7 +10,7 @@ public class b4xradiobutton extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xradiobutton"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xradiobutton"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xradiobutton extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -49,245 +56,83 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width1,double _height1) throws Exception{ +public String _base_resize(gunav2.keymon.com.mx.b4xradiobutton __ref,double _width1,double _height1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width1,_height1}));} int _newsize = 0; int _gap = 0; - //BA.debugLineNum = 59;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; - //BA.debugLineNum = 60;BA.debugLine="Dim NewSize As Int = Max(5dip, Height1)"; +RDebugUtils.currentLine=35323904; + //BA.debugLineNum = 35323904;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +RDebugUtils.currentLine=35323905; + //BA.debugLineNum = 35323905;BA.debugLine="Dim NewSize As Int = Max(5dip, Height1)"; _newsize = (int) (__c.Max(__c.DipToCurrent((int) (5)),_height1)); - //BA.debugLineNum = 61;BA.debugLine="If NewSize = Size Then Return"; -if (_newsize==_size) { +RDebugUtils.currentLine=35323906; + //BA.debugLineNum = 35323906;BA.debugLine="If NewSize = Size Then Return"; +if (_newsize==__ref._size /*int*/ ) { if (true) return "";}; - //BA.debugLineNum = 62;BA.debugLine="Size = NewSize"; -_size = _newsize; - //BA.debugLineNum = 63;BA.debugLine="Dim gap As Int = 3dip"; +RDebugUtils.currentLine=35323907; + //BA.debugLineNum = 35323907;BA.debugLine="Size = NewSize"; +__ref._size /*int*/ = _newsize; +RDebugUtils.currentLine=35323908; + //BA.debugLineNum = 35323908;BA.debugLine="Dim gap As Int = 3dip"; _gap = __c.DipToCurrent((int) (3)); - //BA.debugLineNum = 65;BA.debugLine="bc.Initialize(NewSize - 2 * gap, NewSize - 2 * ga"; -_bc._initialize(ba,(int) (_newsize-2*_gap),(int) (_newsize-2*_gap)); - //BA.debugLineNum = 66;BA.debugLine="Scale = xui.Scale"; -_scale = _xui.getScale(); - //BA.debugLineNum = 71;BA.debugLine="iv.SetLayoutAnimated(0, gap, gap, Size - 2 * gap,"; -_iv.SetLayoutAnimated((int) (0),_gap,_gap,(int) (_size-2*_gap),(int) (_size-2*_gap)); - //BA.debugLineNum = 72;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width1, Height1)"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width1),(int) (_height1)); - //BA.debugLineNum = 73;BA.debugLine="mLabel.SetLayoutAnimated(0, Size + gap, 0, Width1"; -_mlabel.SetLayoutAnimated((int) (0),(int) (_size+_gap),(int) (0),(int) (_width1-_size-_gap),(int) (_height1)); - //BA.debugLineNum = 74;BA.debugLine="OnBrush = bc.CreateBrushFromColor(OnColor)"; -_onbrush = _bc._createbrushfromcolor(_oncolor); - //BA.debugLineNum = 75;BA.debugLine="OffBrush = bc.CreateBrushFromColor(OffColor)"; -_offbrush = _bc._createbrushfromcolor(_offcolor); - //BA.debugLineNum = 76;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; -_transparent = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 77;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 78;BA.debugLine="End Sub"; +RDebugUtils.currentLine=35323910; + //BA.debugLineNum = 35323910;BA.debugLine="bc.Initialize(NewSize - 2 * gap, NewSize - 2 * ga"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (_newsize-2*_gap),(int) (_newsize-2*_gap)); +RDebugUtils.currentLine=35323911; + //BA.debugLineNum = 35323911;BA.debugLine="Scale = xui.Scale"; +__ref._scale /*float*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale(); +RDebugUtils.currentLine=35323916; + //BA.debugLineNum = 35323916;BA.debugLine="iv.SetLayoutAnimated(0, gap, gap, Size - 2 * gap,"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_gap,_gap,(int) (__ref._size /*int*/ -2*_gap),(int) (__ref._size /*int*/ -2*_gap)); +RDebugUtils.currentLine=35323917; + //BA.debugLineNum = 35323917;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width1, Height1)"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width1),(int) (_height1)); +RDebugUtils.currentLine=35323918; + //BA.debugLineNum = 35323918;BA.debugLine="mLabel.SetLayoutAnimated(0, Size + gap, 0, Width1"; +__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (__ref._size /*int*/ +_gap),(int) (0),(int) (_width1-__ref._size /*int*/ -_gap),(int) (_height1)); +RDebugUtils.currentLine=35323919; + //BA.debugLineNum = 35323919;BA.debugLine="OnBrush = bc.CreateBrushFromColor(OnColor)"; +__ref._onbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._oncolor /*int*/ ); +RDebugUtils.currentLine=35323920; + //BA.debugLineNum = 35323920;BA.debugLine="OffBrush = bc.CreateBrushFromColor(OffColor)"; +__ref._offbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._offcolor /*int*/ ); +RDebugUtils.currentLine=35323921; + //BA.debugLineNum = 35323921;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; +__ref._transparent /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=35323922; + //BA.debugLineNum = 35323922;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=35323923; + //BA.debugLineNum = 35323923;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Public OnColor, OffColor As Int"; -_oncolor = 0; -_offcolor = 0; - //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 13;BA.debugLine="Private iv As B4XView"; -_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private mValue As Boolean"; -_mvalue = false; - //BA.debugLineNum = 15;BA.debugLine="Private transparent As BCBrush"; -_transparent = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 16;BA.debugLine="Private LoopIndex As Int"; -_loopindex = 0; - //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 18;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; -_onbrush = new b4a.example.bcpath._bcbrush(); -_offbrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 19;BA.debugLine="Private mEnabled As Boolean = True"; -_menabled = __c.True; - //BA.debugLineNum = 20;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 21;BA.debugLine="Private Size As Int"; -_size = 0; - //BA.debugLineNum = 22;BA.debugLine="Public mLabel As B4XView"; -_mlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private pnl As B4XView"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private Scale As Float 'ignore"; -_scale = 0f; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 37;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 38;BA.debugLine="pnl.Color = xui.Color_Transparent"; -_pnl.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 39;BA.debugLine="Dim iiv As ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 40;BA.debugLine="iiv.Initialize(\"\")"; -_iiv.Initialize(ba,""); - //BA.debugLineNum = 41;BA.debugLine="iv = iiv"; -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(iv, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 43;BA.debugLine="mLabel = Lbl"; -_mlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 44;BA.debugLine="mLabel.SetTextAlignment(\"CENTER\", \"LEFT\")"; -_mlabel.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 45;BA.debugLine="mBase.AddView(mLabel, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mlabel.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 46;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="OnColor = xui.PaintOrColorToColor(Props.Get(\"OnCo"; -_oncolor = _xui.PaintOrColorToColor(_props.Get((Object)("OnColor"))); - //BA.debugLineNum = 49;BA.debugLine="OffColor = xui.PaintOrColorToColor(Props.Get(\"Off"; -_offcolor = _xui.PaintOrColorToColor(_props.Get((Object)("OffColor"))); - //BA.debugLineNum = 50;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 52;BA.debugLine="mEnabled = mBase.Enabled"; -_menabled = _mbase.getEnabled(); - //BA.debugLineNum = 53;BA.debugLine="mBase.Enabled = True"; -_mbase.setEnabled(__c.True); - //BA.debugLineNum = 54;BA.debugLine="mValue = Props.Get(\"Value\")"; -_mvalue = BA.ObjectToBoolean(_props.Get((Object)("Value"))); - //BA.debugLineNum = 55;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; -return ""; -} -public String _draw(float _state) throws Exception{ -float _r = 0f; - //BA.debugLineNum = 153;BA.debugLine="Private Sub Draw (State As Float)"; - //BA.debugLineNum = 154;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; -_bc._drawrect2(_bc._targetrect,_transparent,__c.True,(int) (0)); - //BA.debugLineNum = 155;BA.debugLine="Dim r As Float = Floor(bc.mHeight / 2)"; -_r = (float) (__c.Floor(_bc._mheight/(double)2)); - //BA.debugLineNum = 156;BA.debugLine="If State < 1 Then bc.DrawCircle2(r, r, r, OffBrus"; -if (_state<1) { -_bc._drawcircle2(_r,_r,_r,_offbrush,__c.True,(int) (0));}; - //BA.debugLineNum = 157;BA.debugLine="If State > 0 Then bc.DrawCircle2(r, r, r * State,"; -if (_state>0) { -_bc._drawcircle2(_r,_r,(float) (_r*_state),_onbrush,__c.True,(int) (0));}; - //BA.debugLineNum = 158;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),_iv); - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public boolean _getchecked() throws Exception{ - //BA.debugLineNum = 140;BA.debugLine="Public Sub getChecked As Boolean"; - //BA.debugLineNum = 141;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 142;BA.debugLine="End Sub"; -return false; -} -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 150;BA.debugLine="Return mEnabled"; -if (true) return _menabled; - //BA.debugLineNum = 151;BA.debugLine="End Sub"; -return false; -} -public Object _gettext() throws Exception{ - //BA.debugLineNum = 165;BA.debugLine="Public Sub getText As Object"; - //BA.debugLineNum = 166;BA.debugLine="Return mLabel.Text"; -if (true) return (Object)(_mlabel.getText()); - //BA.debugLineNum = 167;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _pnl_click() throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Private Sub pnl_Click"; - //BA.debugLineNum = 88;BA.debugLine="If mValue Then Return"; -if (_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 89;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 90;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 91;BA.debugLine="SetValueImpl(Not(mValue), False)"; -_setvalueimpl(__c.Not(_mvalue),__c.False); - //BA.debugLineNum = 92;BA.debugLine="If mValue And xui.SubExists(mCallBack, mEventNam"; -if (_mvalue && _xui.SubExists(ba,_mcallback,_meventname+"_Checked",(int) (0))) { - //BA.debugLineNum = 93;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_Checked"); - }; - }; - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return ""; -} -public String _setchecked(boolean _b) throws Exception{ - //BA.debugLineNum = 135;BA.debugLine="Public Sub setChecked(b As Boolean)"; - //BA.debugLineNum = 136;BA.debugLine="If b = mValue Then Return"; -if (_b==_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 137;BA.debugLine="SetValueImpl(b, False)"; -_setvalueimpl(_b,__c.False); - //BA.debugLineNum = 138;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 144;BA.debugLine="Public Sub setEnabled (b As Boolean)"; - //BA.debugLineNum = 145;BA.debugLine="mEnabled = b"; -_menabled = _b; - //BA.debugLineNum = 146;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; -return ""; -} -public String _settext(Object _t) throws Exception{ - //BA.debugLineNum = 161;BA.debugLine="Public Sub setText (t As Object)"; - //BA.debugLineNum = 162;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(mLabel, t"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_mlabel,_t); - //BA.debugLineNum = 163;BA.debugLine="End Sub"; -return ""; -} -public void _setvalueimpl(boolean _b,boolean _immediate) throws Exception{ -ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,_b,_immediate); +public void _setvalueimpl(gunav2.keymon.com.mx.b4xradiobutton __ref,boolean _b,boolean _immediate) throws Exception{ +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setvalueimpl", true)) + {Debug.delegate(ba, "setvalueimpl", new Object[] {_b,_immediate}); return;} +ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,__ref,_b,_immediate); rsub.resume(ba, null); } public static class ResumableSub_SetValueImpl extends BA.ResumableSub { -public ResumableSub_SetValueImpl(gunav2.keymon.com.mx.b4xradiobutton parent,boolean _b,boolean _immediate) { +public ResumableSub_SetValueImpl(gunav2.keymon.com.mx.b4xradiobutton parent,gunav2.keymon.com.mx.b4xradiobutton __ref,boolean _b,boolean _immediate) { this.parent = parent; +this.__ref = __ref; this._b = _b; this._immediate = _immediate; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xradiobutton __ref; gunav2.keymon.com.mx.b4xradiobutton parent; boolean _b; boolean _immediate; @@ -303,6 +148,7 @@ int limit3; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xradiobutton"; while (true) { switch (state) { @@ -312,9 +158,11 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 99;BA.debugLine="mValue = b"; -parent._mvalue = _b; - //BA.debugLineNum = 100;BA.debugLine="If b = True Then"; +RDebugUtils.currentLine=35454977; + //BA.debugLineNum = 35454977;BA.debugLine="mValue = b"; +__ref._mvalue /*boolean*/ = _b; +RDebugUtils.currentLine=35454978; + //BA.debugLineNum = 35454978;BA.debugLine="If b = True Then"; if (true) break; case 1: @@ -327,14 +175,15 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 101;BA.debugLine="For i = 0 To mBase.Parent.NumberOfViews - 1"; +RDebugUtils.currentLine=35454979; + //BA.debugLineNum = 35454979;BA.debugLine="For i = 0 To mBase.Parent.NumberOfViews - 1"; if (true) break; case 4: //for this.state = 11; step3 = 1; -limit3 = (int) (parent._mbase.getParent().getNumberOfViews()-1); +limit3 = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().getNumberOfViews()-1); _i = (int) (0) ; this.state = 59; if (true) break; @@ -354,26 +203,30 @@ if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 102;BA.debugLine="Dim v As B4XView = mBase.Parent.GetView(i)"; +RDebugUtils.currentLine=35454980; + //BA.debugLineNum = 35454980;BA.debugLine="Dim v As B4XView = mBase.Parent.GetView(i)"; _v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_v = parent._mbase.getParent().GetView(_i); - //BA.debugLineNum = 103;BA.debugLine="If v <> mBase And v.Tag Is B4XRadioButton Then"; +_v = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().GetView(_i); +RDebugUtils.currentLine=35454981; + //BA.debugLineNum = 35454981;BA.debugLine="If v <> mBase And v.Tag Is B4XRadioButton Then"; if (true) break; case 7: //if this.state = 10; -if ((_v).equals(parent._mbase) == false && _v.getTag() instanceof gunav2.keymon.com.mx.b4xradiobutton) { +if ((_v).equals(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ) == false && _v.getTag() instanceof gunav2.keymon.com.mx.b4xradiobutton) { this.state = 9; }if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 104;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; +RDebugUtils.currentLine=35454982; + //BA.debugLineNum = 35454982;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; _rb = (gunav2.keymon.com.mx.b4xradiobutton)(_v.getTag()); - //BA.debugLineNum = 105;BA.debugLine="rb.Checked = False"; -_rb._setchecked /*boolean*/ (parent.__c.False); +RDebugUtils.currentLine=35454983; + //BA.debugLineNum = 35454983;BA.debugLine="rb.Checked = False"; +_rb._setchecked /*boolean*/ (null,parent.__c.False); if (true) break; case 10: @@ -393,9 +246,11 @@ case 12: //C this.state = 13; ; - //BA.debugLineNum = 109;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 110;BA.debugLine="If Immediate Then"; +RDebugUtils.currentLine=35454987; + //BA.debugLineNum = 35454987;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=35454988; + //BA.debugLineNum = 35454988;BA.debugLine="If Immediate Then"; if (true) break; case 13: @@ -410,13 +265,14 @@ this.state = 25; case 15: //C this.state = 16; - //BA.debugLineNum = 111;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +RDebugUtils.currentLine=35454989; + //BA.debugLineNum = 35454989;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; if (true) break; case 16: //if this.state = 23; -if (parent._mvalue) { +if (__ref._mvalue /*boolean*/ ) { this.state = 18; ;} else { @@ -426,13 +282,13 @@ this.state = 20; case 18: //C this.state = 23; -parent._draw((float) (1)); +__ref._draw /*String*/ (null,(float) (1)); if (true) break; case 20: //C this.state = 23; -parent._draw((float) (0)); +__ref._draw /*String*/ (null,(float) (0)); if (true) break; case 23: @@ -444,13 +300,17 @@ this.state = 53; case 25: //C this.state = 26; - //BA.debugLineNum = 113;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 114;BA.debugLine="Dim start As Long = DateTime.Now"; +RDebugUtils.currentLine=35454991; + //BA.debugLineNum = 35454991;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=35454992; + //BA.debugLineNum = 35454992;BA.debugLine="Dim start As Long = DateTime.Now"; _start = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 115;BA.debugLine="Dim duration As Int = 200"; +RDebugUtils.currentLine=35454993; + //BA.debugLineNum = 35454993;BA.debugLine="Dim duration As Int = 200"; _duration = (int) (200); - //BA.debugLineNum = 116;BA.debugLine="Do While DateTime.Now < start + duration"; +RDebugUtils.currentLine=35454994; + //BA.debugLineNum = 35454994;BA.debugLine="Do While DateTime.Now < start + duration"; if (true) break; case 26: @@ -465,15 +325,17 @@ if (true) break; case 28: //C this.state = 29; - //BA.debugLineNum = 117;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +RDebugUtils.currentLine=35454995; + //BA.debugLineNum = 35454995;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; _state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); - //BA.debugLineNum = 118;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +RDebugUtils.currentLine=35454996; + //BA.debugLineNum = 35454996;BA.debugLine="If mValue = False Then state1 = 1 - state1"; if (true) break; case 29: //if this.state = 34; -if (parent._mvalue==parent.__c.False) { +if (__ref._mvalue /*boolean*/ ==parent.__c.False) { this.state = 31; ;}if (true) break; @@ -487,23 +349,26 @@ case 34: //C this.state = 35; ; - //BA.debugLineNum = 119;BA.debugLine="Draw(state1)"; -parent._draw(_state1); - //BA.debugLineNum = 120;BA.debugLine="Sleep(16)"; -parent.__c.Sleep(ba,this,(int) (16)); +RDebugUtils.currentLine=35454997; + //BA.debugLineNum = 35454997;BA.debugLine="Draw(state1)"; +__ref._draw /*String*/ (null,_state1); +RDebugUtils.currentLine=35454998; + //BA.debugLineNum = 35454998;BA.debugLine="Sleep(16)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xradiobutton", "setvalueimpl"),(int) (16)); this.state = 61; return; case 61: //C this.state = 35; ; - //BA.debugLineNum = 121;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +RDebugUtils.currentLine=35454999; + //BA.debugLineNum = 35454999;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; if (true) break; case 35: //if this.state = 40; -if (_myindex!=parent._loopindex) { +if (_myindex!=__ref._loopindex /*int*/ ) { this.state = 37; ;}if (true) break; @@ -520,25 +385,27 @@ this.state = 26; ; if (true) break; ; - //BA.debugLineNum = 123;BA.debugLine="If MyIndex = LoopIndex Then"; +RDebugUtils.currentLine=35455001; + //BA.debugLineNum = 35455001;BA.debugLine="If MyIndex = LoopIndex Then"; case 41: //if this.state = 52; -if (_myindex==parent._loopindex) { +if (_myindex==__ref._loopindex /*int*/ ) { this.state = 43; }if (true) break; case 43: //C this.state = 44; - //BA.debugLineNum = 124;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +RDebugUtils.currentLine=35455002; + //BA.debugLineNum = 35455002;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; if (true) break; case 44: //if this.state = 51; -if (parent._mvalue) { +if (__ref._mvalue /*boolean*/ ) { this.state = 46; ;} else { @@ -548,13 +415,13 @@ this.state = 48; case 46: //C this.state = 51; -parent._draw((float) (1)); +__ref._draw /*String*/ (null,(float) (1)); if (true) break; case 48: //C this.state = 51; -parent._draw((float) (0)); +__ref._draw /*String*/ (null,(float) (0)); if (true) break; case 51: @@ -569,12 +436,13 @@ this.state = 53; ; if (true) break; ; - //BA.debugLineNum = 127;BA.debugLine="If mEnabled Then"; +RDebugUtils.currentLine=35455005; + //BA.debugLineNum = 35455005;BA.debugLine="If mEnabled Then"; case 53: //if this.state = 58; -if (parent._menabled) { +if (__ref._menabled /*boolean*/ ) { this.state = 55; }else { this.state = 57; @@ -583,30 +451,340 @@ this.state = 57; case 55: //C this.state = 58; - //BA.debugLineNum = 128;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (1)); +RDebugUtils.currentLine=35455006; + //BA.debugLineNum = 35455006;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; +parent._xuiviewsutils._setalpha /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(float) (1)); if (true) break; case 57: //C this.state = 58; - //BA.debugLineNum = 130;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.4)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (0.4)); +RDebugUtils.currentLine=35455008; + //BA.debugLineNum = 35455008;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.4)"; +parent._xuiviewsutils._setalpha /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(float) (0.4)); if (true) break; case 58: //C this.state = -1; ; - //BA.debugLineNum = 133;BA.debugLine="End Sub"; +RDebugUtils.currentLine=35455011; + //BA.debugLineNum = 35455011;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _class_globals(gunav2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +RDebugUtils.currentLine=35127296; + //BA.debugLineNum = 35127296;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=35127297; + //BA.debugLineNum = 35127297;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=35127298; + //BA.debugLineNum = 35127298;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=35127299; + //BA.debugLineNum = 35127299;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=35127300; + //BA.debugLineNum = 35127300;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=35127301; + //BA.debugLineNum = 35127301;BA.debugLine="Public OnColor, OffColor As Int"; +_oncolor = 0; +_offcolor = 0; +RDebugUtils.currentLine=35127302; + //BA.debugLineNum = 35127302;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=35127303; + //BA.debugLineNum = 35127303;BA.debugLine="Private iv As B4XView"; +_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=35127304; + //BA.debugLineNum = 35127304;BA.debugLine="Private mValue As Boolean"; +_mvalue = false; +RDebugUtils.currentLine=35127305; + //BA.debugLineNum = 35127305;BA.debugLine="Private transparent As BCBrush"; +_transparent = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=35127306; + //BA.debugLineNum = 35127306;BA.debugLine="Private LoopIndex As Int"; +_loopindex = 0; +RDebugUtils.currentLine=35127307; + //BA.debugLineNum = 35127307;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=35127308; + //BA.debugLineNum = 35127308;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; +_onbrush = new b4a.example.bcpath._bcbrush(); +_offbrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=35127309; + //BA.debugLineNum = 35127309;BA.debugLine="Private mEnabled As Boolean = True"; +_menabled = __c.True; +RDebugUtils.currentLine=35127310; + //BA.debugLineNum = 35127310;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=35127311; + //BA.debugLineNum = 35127311;BA.debugLine="Private Size As Int"; +_size = 0; +RDebugUtils.currentLine=35127312; + //BA.debugLineNum = 35127312;BA.debugLine="Public mLabel As B4XView"; +_mlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=35127313; + //BA.debugLineNum = 35127313;BA.debugLine="Private pnl As B4XView"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=35127314; + //BA.debugLineNum = 35127314;BA.debugLine="Private Scale As Float 'ignore"; +_scale = 0f; +RDebugUtils.currentLine=35127315; + //BA.debugLineNum = 35127315;BA.debugLine="End Sub"; +return ""; } +public String _designercreateview(gunav2.keymon.com.mx.b4xradiobutton __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; +RDebugUtils.currentLine=35258368; + //BA.debugLineNum = 35258368;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=35258369; + //BA.debugLineNum = 35258369;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=35258370; + //BA.debugLineNum = 35258370;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=35258370; + //BA.debugLineNum = 35258370;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=35258371; + //BA.debugLineNum = 35258371;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=35258372; + //BA.debugLineNum = 35258372;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=35258373; + //BA.debugLineNum = 35258373;BA.debugLine="pnl.Color = xui.Color_Transparent"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=35258374; + //BA.debugLineNum = 35258374;BA.debugLine="Dim iiv As ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=35258375; + //BA.debugLineNum = 35258375;BA.debugLine="iiv.Initialize(\"\")"; +_iiv.Initialize(ba,""); +RDebugUtils.currentLine=35258376; + //BA.debugLineNum = 35258376;BA.debugLine="iv = iiv"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); +RDebugUtils.currentLine=35258377; + //BA.debugLineNum = 35258377;BA.debugLine="mBase.AddView(iv, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=35258378; + //BA.debugLineNum = 35258378;BA.debugLine="mLabel = Lbl"; +__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=35258379; + //BA.debugLineNum = 35258379;BA.debugLine="mLabel.SetTextAlignment(\"CENTER\", \"LEFT\")"; +__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","LEFT"); +RDebugUtils.currentLine=35258380; + //BA.debugLineNum = 35258380;BA.debugLine="mBase.AddView(mLabel, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=35258381; + //BA.debugLineNum = 35258381;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=35258383; + //BA.debugLineNum = 35258383;BA.debugLine="OnColor = xui.PaintOrColorToColor(Props.Get(\"OnCo"; +__ref._oncolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("OnColor"))); +RDebugUtils.currentLine=35258384; + //BA.debugLineNum = 35258384;BA.debugLine="OffColor = xui.PaintOrColorToColor(Props.Get(\"Off"; +__ref._offcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("OffColor"))); +RDebugUtils.currentLine=35258385; + //BA.debugLineNum = 35258385;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=35258387; + //BA.debugLineNum = 35258387;BA.debugLine="mEnabled = mBase.Enabled"; +__ref._menabled /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getEnabled(); +RDebugUtils.currentLine=35258388; + //BA.debugLineNum = 35258388;BA.debugLine="mBase.Enabled = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=35258389; + //BA.debugLineNum = 35258389;BA.debugLine="mValue = Props.Get(\"Value\")"; +__ref._mvalue /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Value"))); +RDebugUtils.currentLine=35258390; + //BA.debugLineNum = 35258390;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=35258391; + //BA.debugLineNum = 35258391;BA.debugLine="End Sub"; +return ""; } +public String _draw(gunav2.keymon.com.mx.b4xradiobutton __ref,float _state) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", new Object[] {_state}));} +float _r = 0f; +RDebugUtils.currentLine=35782656; + //BA.debugLineNum = 35782656;BA.debugLine="Private Sub Draw (State As Float)"; +RDebugUtils.currentLine=35782657; + //BA.debugLineNum = 35782657;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrect2(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._transparent /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=35782658; + //BA.debugLineNum = 35782658;BA.debugLine="Dim r As Float = Floor(bc.mHeight / 2)"; +_r = (float) (__c.Floor(__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2)); +RDebugUtils.currentLine=35782659; + //BA.debugLineNum = 35782659;BA.debugLine="If State < 1 Then bc.DrawCircle2(r, r, r, OffBrus"; +if (_state<1) { +__ref._bc /*b4a.example.bitmapcreator*/ ._drawcircle2(_r,_r,_r,__ref._offbrush /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0));}; +RDebugUtils.currentLine=35782660; + //BA.debugLineNum = 35782660;BA.debugLine="If State > 0 Then bc.DrawCircle2(r, r, r * State,"; +if (_state>0) { +__ref._bc /*b4a.example.bitmapcreator*/ ._drawcircle2(_r,_r,(float) (_r*_state),__ref._onbrush /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0));}; +RDebugUtils.currentLine=35782661; + //BA.debugLineNum = 35782661;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(__ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(),__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=35782662; + //BA.debugLineNum = 35782662;BA.debugLine="End Sub"; +return ""; +} +public boolean _getchecked(gunav2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "getchecked", true)) + {return ((Boolean) Debug.delegate(ba, "getchecked", null));} +RDebugUtils.currentLine=35586048; + //BA.debugLineNum = 35586048;BA.debugLine="Public Sub getChecked As Boolean"; +RDebugUtils.currentLine=35586049; + //BA.debugLineNum = 35586049;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*boolean*/ ; +RDebugUtils.currentLine=35586050; + //BA.debugLineNum = 35586050;BA.debugLine="End Sub"; +return false; +} +public boolean _getenabled(gunav2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=35717120; + //BA.debugLineNum = 35717120;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=35717121; + //BA.debugLineNum = 35717121;BA.debugLine="Return mEnabled"; +if (true) return __ref._menabled /*boolean*/ ; +RDebugUtils.currentLine=35717122; + //BA.debugLineNum = 35717122;BA.debugLine="End Sub"; +return false; +} +public Object _gettext(gunav2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((Object) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=35913728; + //BA.debugLineNum = 35913728;BA.debugLine="Public Sub getText As Object"; +RDebugUtils.currentLine=35913729; + //BA.debugLineNum = 35913729;BA.debugLine="Return mLabel.Text"; +if (true) return (Object)(__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText()); +RDebugUtils.currentLine=35913730; + //BA.debugLineNum = 35913730;BA.debugLine="End Sub"; +return null; +} +public String _initialize(gunav2.keymon.com.mx.b4xradiobutton __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=35192832; + //BA.debugLineNum = 35192832;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=35192833; + //BA.debugLineNum = 35192833;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=35192834; + //BA.debugLineNum = 35192834;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=35192835; + //BA.debugLineNum = 35192835;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_click(gunav2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "pnl_click", true)) + {return ((String) Debug.delegate(ba, "pnl_click", null));} +RDebugUtils.currentLine=35389440; + //BA.debugLineNum = 35389440;BA.debugLine="Private Sub pnl_Click"; +RDebugUtils.currentLine=35389442; + //BA.debugLineNum = 35389442;BA.debugLine="If mValue Then Return"; +if (__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=35389443; + //BA.debugLineNum = 35389443;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=35389444; + //BA.debugLineNum = 35389444;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=35389445; + //BA.debugLineNum = 35389445;BA.debugLine="SetValueImpl(Not(mValue), False)"; +__ref._setvalueimpl /*void*/ (null,__c.Not(__ref._mvalue /*boolean*/ ),__c.False); +RDebugUtils.currentLine=35389446; + //BA.debugLineNum = 35389446;BA.debugLine="If mValue And xui.SubExists(mCallBack, mEventNam"; +if (__ref._mvalue /*boolean*/ && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Checked",(int) (0))) { +RDebugUtils.currentLine=35389447; + //BA.debugLineNum = 35389447;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Checked"); + }; + }; +RDebugUtils.currentLine=35389450; + //BA.debugLineNum = 35389450;BA.debugLine="End Sub"; +return ""; +} +public String _setchecked(gunav2.keymon.com.mx.b4xradiobutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setchecked", true)) + {return ((String) Debug.delegate(ba, "setchecked", new Object[] {_b}));} +RDebugUtils.currentLine=35520512; + //BA.debugLineNum = 35520512;BA.debugLine="Public Sub setChecked(b As Boolean)"; +RDebugUtils.currentLine=35520513; + //BA.debugLineNum = 35520513;BA.debugLine="If b = mValue Then Return"; +if (_b==__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=35520514; + //BA.debugLineNum = 35520514;BA.debugLine="SetValueImpl(b, False)"; +__ref._setvalueimpl /*void*/ (null,_b,__c.False); +RDebugUtils.currentLine=35520515; + //BA.debugLineNum = 35520515;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(gunav2.keymon.com.mx.b4xradiobutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=35651584; + //BA.debugLineNum = 35651584;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +RDebugUtils.currentLine=35651585; + //BA.debugLineNum = 35651585;BA.debugLine="mEnabled = b"; +__ref._menabled /*boolean*/ = _b; +RDebugUtils.currentLine=35651586; + //BA.debugLineNum = 35651586;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=35651587; + //BA.debugLineNum = 35651587;BA.debugLine="End Sub"; +return ""; +} +public String _settext(gunav2.keymon.com.mx.b4xradiobutton __ref,Object _t) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_t}));} +RDebugUtils.currentLine=35848192; + //BA.debugLineNum = 35848192;BA.debugLine="Public Sub setText (t As Object)"; +RDebugUtils.currentLine=35848193; + //BA.debugLineNum = 35848193;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(mLabel, t"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_t); +RDebugUtils.currentLine=35848194; + //BA.debugLineNum = 35848194;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xsearchtemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xsearchtemplate.java index 7b2774f..19a0dea 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xsearchtemplate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xsearchtemplate.java @@ -10,7 +10,7 @@ public class b4xsearchtemplate extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xsearchtemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xsearchtemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xsearchtemplate extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public b4a.example3.customlistview _customlistview1 = null; @@ -47,246 +54,537 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _additemstolist(anywheresoftware.b4a.objects.collections.List _li,String _full) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xsearchtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=36175872; + //BA.debugLineNum = 36175872;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=36175873; + //BA.debugLineNum = 36175873;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=36175874; + //BA.debugLineNum = 36175874;BA.debugLine="End Sub"; +return null; +} +public void _show(gunav2.keymon.com.mx.b4xsearchtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); +rsub.resume(ba, null); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xsearchtemplate parent,gunav2.keymon.com.mx.b4xsearchtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +gunav2.keymon.com.mx.b4xsearchtemplate __ref; +gunav2.keymon.com.mx.b4xsearchtemplate parent; +gunav2.keymon.com.mx.b4xdialog _dialog; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xsearchtemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=36241409; + //BA.debugLineNum = 36241409;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=36241410; + //BA.debugLineNum = 36241410;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._putattop /*boolean*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i(); +RDebugUtils.currentLine=36241411; + //BA.debugLineNum = 36241411;BA.debugLine="CustomListView1.AsView.Color = xui.Color_Transpar"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._asview().setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=36241412; + //BA.debugLineNum = 36241412;BA.debugLine="CustomListView1.sv.Color = xui.Color_Transparent"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=36241413; + //BA.debugLineNum = 36241413;BA.debugLine="mBase.Color = xui.Color_Transparent"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=36241414; + //BA.debugLineNum = 36241414;BA.debugLine="Sleep(20)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xsearchtemplate", "show"),(int) (20)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; +RDebugUtils.currentLine=36241415; + //BA.debugLineNum = 36241415;BA.debugLine="Update(\"\", True)"; +__ref._update /*String*/ (null,"",parent.__c.True); +RDebugUtils.currentLine=36241416; + //BA.debugLineNum = 36241416;BA.debugLine="CustomListView1.JumpToItem(0)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._jumptoitem((int) (0)); +RDebugUtils.currentLine=36241417; + //BA.debugLineNum = 36241417;BA.debugLine="SearchField.Text = \"\""; +__ref._searchfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ._settext /*String*/ (null,""); +RDebugUtils.currentLine=36241418; + //BA.debugLineNum = 36241418;BA.debugLine="SearchField.TextField.RequestFocus"; +__ref._searchfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).RequestFocus(); +RDebugUtils.currentLine=36241420; + //BA.debugLineNum = 36241420;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._searchfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).getObject())); +RDebugUtils.currentLine=36241422; + //BA.debugLineNum = 36241422;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(gunav2.keymon.com.mx.b4xsearchtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=36765696; + //BA.debugLineNum = 36765696;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=36765698; + //BA.debugLineNum = 36765698;BA.debugLine="End Sub"; +return ""; +} +public String _additemstolist(gunav2.keymon.com.mx.b4xsearchtemplate __ref,anywheresoftware.b4a.objects.collections.List _li,String _full) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "additemstolist", true)) + {return ((String) Debug.delegate(ba, "additemstolist", new Object[] {_li,_full}));} int _i = 0; String _item = ""; int _x = 0; int _pnlcolor = 0; anywheresoftware.b4a.objects.CSBuilder _cs = null; anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 128;BA.debugLine="Private Sub AddItemsToList(li As List, full As Str"; - //BA.debugLineNum = 129;BA.debugLine="If li.IsInitialized = False Then Return"; +RDebugUtils.currentLine=36569088; + //BA.debugLineNum = 36569088;BA.debugLine="Private Sub AddItemsToList(li As List, full As Str"; +RDebugUtils.currentLine=36569089; + //BA.debugLineNum = 36569089;BA.debugLine="If li.IsInitialized = False Then Return"; if (_li.IsInitialized()==__c.False) { if (true) return "";}; - //BA.debugLineNum = 134;BA.debugLine="For i = 0 To li.Size - 1"; +RDebugUtils.currentLine=36569094; + //BA.debugLineNum = 36569094;BA.debugLine="For i = 0 To li.Size - 1"; { final int step2 = 1; final int limit2 = (int) (_li.getSize()-1); _i = (int) (0) ; for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 135;BA.debugLine="If CustomListView1.Size >= MaxNumberOfItemsToSho"; -if (_customlistview1._getsize()>=_maxnumberofitemstoshow) { +RDebugUtils.currentLine=36569095; + //BA.debugLineNum = 36569095;BA.debugLine="If CustomListView1.Size >= MaxNumberOfItemsToSho"; +if (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()>=__ref._maxnumberofitemstoshow /*int*/ ) { if (true) return "";}; - //BA.debugLineNum = 136;BA.debugLine="Dim item As String = li.Get(i)"; +RDebugUtils.currentLine=36569096; + //BA.debugLineNum = 36569096;BA.debugLine="Dim item As String = li.Get(i)"; _item = BA.ObjectToString(_li.Get(_i)); - //BA.debugLineNum = 137;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +RDebugUtils.currentLine=36569097; + //BA.debugLineNum = 36569097;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; _x = _item.toLowerCase().indexOf(_full); - //BA.debugLineNum = 138;BA.debugLine="If x = -1 Then"; +RDebugUtils.currentLine=36569098; + //BA.debugLineNum = 36569098;BA.debugLine="If x = -1 Then"; if (_x==-1) { - //BA.debugLineNum = 139;BA.debugLine="Continue"; +RDebugUtils.currentLine=36569099; + //BA.debugLineNum = 36569099;BA.debugLine="Continue"; if (true) continue; }; - //BA.debugLineNum = 141;BA.debugLine="Dim pnlColor As Int"; +RDebugUtils.currentLine=36569101; + //BA.debugLineNum = 36569101;BA.debugLine="Dim pnlColor As Int"; _pnlcolor = 0; - //BA.debugLineNum = 142;BA.debugLine="If CustomListView1.Size = 0 And full.Length > 0"; -if (_customlistview1._getsize()==0 && _full.length()>0 && _allowunlistedtext==__c.False) { - //BA.debugLineNum = 143;BA.debugLine="pnlColor = ItemHightlightColor"; -_pnlcolor = _itemhightlightcolor; +RDebugUtils.currentLine=36569102; + //BA.debugLineNum = 36569102;BA.debugLine="If CustomListView1.Size = 0 And full.Length > 0"; +if (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()==0 && _full.length()>0 && __ref._allowunlistedtext /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=36569103; + //BA.debugLineNum = 36569103;BA.debugLine="pnlColor = ItemHightlightColor"; +_pnlcolor = __ref._itemhightlightcolor /*int*/ ; }else { - //BA.debugLineNum = 145;BA.debugLine="pnlColor = CustomListView1.DefaultTextBackgroun"; -_pnlcolor = _customlistview1._defaulttextbackgroundcolor; +RDebugUtils.currentLine=36569105; + //BA.debugLineNum = 36569105;BA.debugLine="pnlColor = CustomListView1.DefaultTextBackgroun"; +_pnlcolor = __ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor; }; - //BA.debugLineNum = 148;BA.debugLine="Dim cs As CSBuilder"; +RDebugUtils.currentLine=36569108; + //BA.debugLineNum = 36569108;BA.debugLine="Dim cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 149;BA.debugLine="cs.Initialize.Append(item.SubString2(0, x)).Colo"; -_cs.Initialize().Append(BA.ObjectToCharSequence(_item.substring((int) (0),_x))).Color(_texthighlightcolor).Append(BA.ObjectToCharSequence(_item.substring(_x,(int) (_x+_full.length())))).Pop(); - //BA.debugLineNum = 150;BA.debugLine="cs.Append(item.SubString(x + full.Length))"; +RDebugUtils.currentLine=36569109; + //BA.debugLineNum = 36569109;BA.debugLine="cs.Initialize.Append(item.SubString2(0, x)).Colo"; +_cs.Initialize().Append(BA.ObjectToCharSequence(_item.substring((int) (0),_x))).Color(__ref._texthighlightcolor /*int*/ ).Append(BA.ObjectToCharSequence(_item.substring(_x,(int) (_x+_full.length())))).Pop(); +RDebugUtils.currentLine=36569110; + //BA.debugLineNum = 36569110;BA.debugLine="cs.Append(item.SubString(x + full.Length))"; _cs.Append(BA.ObjectToCharSequence(_item.substring((int) (_x+_full.length())))); - //BA.debugLineNum = 151;BA.debugLine="If ItemsCache.Size > 0 Then"; -if (_itemscache.getSize()>0) { - //BA.debugLineNum = 152;BA.debugLine="Dim p As B4XView = ItemsCache.Get(ItemsCache.Si"; +RDebugUtils.currentLine=36569111; + //BA.debugLineNum = 36569111;BA.debugLine="If ItemsCache.Size > 0 Then"; +if (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { +RDebugUtils.currentLine=36569112; + //BA.debugLineNum = 36569112;BA.debugLine="Dim p As B4XView = ItemsCache.Get(ItemsCache.Si"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_itemscache.Get((int) (_itemscache.getSize()-1)))); - //BA.debugLineNum = 153;BA.debugLine="ItemsCache.RemoveAt(ItemsCache.Size - 1)"; -_itemscache.RemoveAt((int) (_itemscache.getSize()-1)); - //BA.debugLineNum = 155;BA.debugLine="p.GetView(0).Text = cs"; +_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)))); +RDebugUtils.currentLine=36569113; + //BA.debugLineNum = 36569113;BA.debugLine="ItemsCache.RemoveAt(ItemsCache.Size - 1)"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt((int) (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)); +RDebugUtils.currentLine=36569115; + //BA.debugLineNum = 36569115;BA.debugLine="p.GetView(0).Text = cs"; _p.GetView((int) (0)).setText(BA.ObjectToCharSequence(_cs.getObject())); - //BA.debugLineNum = 160;BA.debugLine="p.Color = pnlColor"; +RDebugUtils.currentLine=36569120; + //BA.debugLineNum = 36569120;BA.debugLine="p.Color = pnlColor"; _p.setColor(_pnlcolor); - //BA.debugLineNum = 161;BA.debugLine="CustomListView1.Add(p, item)"; -_customlistview1._add(_p,(Object)(_item)); +RDebugUtils.currentLine=36569121; + //BA.debugLineNum = 36569121;BA.debugLine="CustomListView1.Add(p, item)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add(_p,(Object)(_item)); }else { - //BA.debugLineNum = 163;BA.debugLine="CustomListView1.AddTextItem(cs, item)"; -_customlistview1._addtextitem((Object)(_cs.getObject()),(Object)(_item)); +RDebugUtils.currentLine=36569123; + //BA.debugLineNum = 36569123;BA.debugLine="CustomListView1.AddTextItem(cs, item)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem((Object)(_cs.getObject()),(Object)(_item)); }; } }; - //BA.debugLineNum = 184;BA.debugLine="For i = 0 To li.Size - 1"; +RDebugUtils.currentLine=36569144; + //BA.debugLineNum = 36569144;BA.debugLine="For i = 0 To li.Size - 1"; { final int step28 = 1; final int limit28 = (int) (_li.getSize()-1); _i = (int) (0) ; for (;_i <= limit28 ;_i = _i + step28 ) { - //BA.debugLineNum = 185;BA.debugLine="Dim item As String = li.Get(i)"; +RDebugUtils.currentLine=36569145; + //BA.debugLineNum = 36569145;BA.debugLine="Dim item As String = li.Get(i)"; _item = BA.ObjectToString(_li.Get(_i)); - //BA.debugLineNum = 186;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +RDebugUtils.currentLine=36569146; + //BA.debugLineNum = 36569146;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; _x = _item.toLowerCase().indexOf(_full); - //BA.debugLineNum = 187;BA.debugLine="If x = -1 Then"; +RDebugUtils.currentLine=36569147; + //BA.debugLineNum = 36569147;BA.debugLine="If x = -1 Then"; if (_x==-1) { - //BA.debugLineNum = 188;BA.debugLine="Continue"; +RDebugUtils.currentLine=36569148; + //BA.debugLineNum = 36569148;BA.debugLine="Continue"; if (true) continue; }; } }; - //BA.debugLineNum = 191;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36569151; + //BA.debugLineNum = 36569151;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +public String _class_globals(gunav2.keymon.com.mx.b4xsearchtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +RDebugUtils.currentLine=35979264; + //BA.debugLineNum = 35979264;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=35979265; + //BA.debugLineNum = 35979265;BA.debugLine="Private xui As XUI"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +RDebugUtils.currentLine=35979266; + //BA.debugLineNum = 35979266;BA.debugLine="Public mBase As B4XView"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; +RDebugUtils.currentLine=35979267; + //BA.debugLineNum = 35979267;BA.debugLine="Public CustomListView1 As CustomListView"; _customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; +RDebugUtils.currentLine=35979268; + //BA.debugLineNum = 35979268;BA.debugLine="Private xDialog As B4XDialog"; _xdialog = new gunav2.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 6;BA.debugLine="Public SearchField As B4XFloatTextField"; +RDebugUtils.currentLine=35979269; + //BA.debugLineNum = 35979269;BA.debugLine="Public SearchField As B4XFloatTextField"; _searchfield = new gunav2.keymon.com.mx.b4xfloattextfield(); - //BA.debugLineNum = 7;BA.debugLine="Private prefixList As Map"; +RDebugUtils.currentLine=35979270; + //BA.debugLineNum = 35979270;BA.debugLine="Private prefixList As Map"; _prefixlist = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 8;BA.debugLine="Private substringList As Map"; +RDebugUtils.currentLine=35979271; + //BA.debugLineNum = 35979271;BA.debugLine="Private substringList As Map"; _substringlist = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 9;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; +RDebugUtils.currentLine=35979272; + //BA.debugLineNum = 35979272;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; _texthighlightcolor = ((int)0xfffd5c5c); - //BA.debugLineNum = 10;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; +RDebugUtils.currentLine=35979273; + //BA.debugLineNum = 35979273;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; _itemhightlightcolor = ((int)0x7e008eff); - //BA.debugLineNum = 11;BA.debugLine="Private MAX_LIMIT = 4 As Int"; +RDebugUtils.currentLine=35979274; + //BA.debugLineNum = 35979274;BA.debugLine="Private MAX_LIMIT = 4 As Int"; _max_limit = (int) (4); - //BA.debugLineNum = 12;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; +RDebugUtils.currentLine=35979275; + //BA.debugLineNum = 35979275;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; _maxnumberofitemstoshow = (int) (100); - //BA.debugLineNum = 13;BA.debugLine="Private ItemsCache As List"; +RDebugUtils.currentLine=35979276; + //BA.debugLineNum = 35979276;BA.debugLine="Private ItemsCache As List"; _itemscache = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Private AllItems As List"; +RDebugUtils.currentLine=35979277; + //BA.debugLineNum = 35979277;BA.debugLine="Private AllItems As List"; _allitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 15;BA.debugLine="Public SelectedItem As String"; +RDebugUtils.currentLine=35979278; + //BA.debugLineNum = 35979278;BA.debugLine="Public SelectedItem As String"; _selecteditem = ""; - //BA.debugLineNum = 16;BA.debugLine="Private LastTerm As String"; +RDebugUtils.currentLine=35979279; + //BA.debugLineNum = 35979279;BA.debugLine="Private LastTerm As String"; _lastterm = ""; - //BA.debugLineNum = 18;BA.debugLine="Private IME As IME"; +RDebugUtils.currentLine=35979281; + //BA.debugLineNum = 35979281;BA.debugLine="Private IME As IME"; _ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 20;BA.debugLine="Public AllowUnlistedText As Boolean"; +RDebugUtils.currentLine=35979283; + //BA.debugLineNum = 35979283;BA.debugLine="Public AllowUnlistedText As Boolean"; _allowunlistedtext = false; - //BA.debugLineNum = 21;BA.debugLine="Public PrefixOnly As Boolean"; +RDebugUtils.currentLine=35979284; + //BA.debugLineNum = 35979284;BA.debugLine="Public PrefixOnly As Boolean"; _prefixonly = false; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; +RDebugUtils.currentLine=35979285; + //BA.debugLineNum = 35979285;BA.debugLine="End Sub"; return ""; } -public String _customlistview1_itemclick(int _index,Object _value) throws Exception{ - //BA.debugLineNum = 122;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; - //BA.debugLineNum = 123;BA.debugLine="If Value = \"\" Then Return"; +public String _customlistview1_itemclick(gunav2.keymon.com.mx.b4xsearchtemplate __ref,int _index,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "customlistview1_itemclick", true)) + {return ((String) Debug.delegate(ba, "customlistview1_itemclick", new Object[] {_index,_value}));} +RDebugUtils.currentLine=36503552; + //BA.debugLineNum = 36503552;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +RDebugUtils.currentLine=36503553; + //BA.debugLineNum = 36503553;BA.debugLine="If Value = \"\" Then Return"; if ((_value).equals((Object)(""))) { if (true) return "";}; - //BA.debugLineNum = 124;BA.debugLine="SelectedItem = Value"; -_selecteditem = BA.ObjectToString(_value); - //BA.debugLineNum = 125;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - //BA.debugLineNum = 126;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36503554; + //BA.debugLineNum = 36503554;BA.debugLine="SelectedItem = Value"; +__ref._selecteditem /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=36503555; + //BA.debugLineNum = 36503555;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); +RDebugUtils.currentLine=36503556; + //BA.debugLineNum = 36503556;BA.debugLine="End Sub"; return ""; } -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 241;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 243;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 61;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 62;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 63;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xsearchtemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} int _height = 0; anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 25;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 27;BA.debugLine="Dim height As Int"; +RDebugUtils.currentLine=36044800; + //BA.debugLineNum = 36044800;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=36044801; + //BA.debugLineNum = 36044801;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=36044803; + //BA.debugLineNum = 36044803;BA.debugLine="Dim height As Int"; _height = 0; - //BA.debugLineNum = 28;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then height = 220dip El"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { +RDebugUtils.currentLine=36044804; + //BA.debugLineNum = 36044804;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then height = 220dip El"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { _height = __c.DipToCurrent((int) (220));} else { _height = __c.DipToCurrent((int) (300));}; - //BA.debugLineNum = 29;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),_height); - //BA.debugLineNum = 30;BA.debugLine="mBase.LoadLayout(\"SearchTemplate\")"; -_mbase.LoadLayout("SearchTemplate",ba); - //BA.debugLineNum = 31;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 32;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 33;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 34;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 44;BA.debugLine="ItemsCache.Initialize"; -_itemscache.Initialize(); - //BA.debugLineNum = 45;BA.debugLine="prefixList.Initialize"; -_prefixlist.Initialize(); - //BA.debugLineNum = 46;BA.debugLine="substringList.Initialize"; -_substringlist.Initialize(); - //BA.debugLineNum = 48;BA.debugLine="IME.Initialize(\"\")"; -_ime.Initialize(""); - //BA.debugLineNum = 49;BA.debugLine="Dim jo As JavaObject = SearchField.TextField"; +RDebugUtils.currentLine=36044805; + //BA.debugLineNum = 36044805;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),_height); +RDebugUtils.currentLine=36044806; + //BA.debugLineNum = 36044806;BA.debugLine="mBase.LoadLayout(\"SearchTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("SearchTemplate",ba); +RDebugUtils.currentLine=36044807; + //BA.debugLineNum = 36044807;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=36044808; + //BA.debugLineNum = 36044808;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=36044809; + //BA.debugLineNum = 36044809;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=36044810; + //BA.debugLineNum = 36044810;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=36044820; + //BA.debugLineNum = 36044820;BA.debugLine="ItemsCache.Initialize"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=36044821; + //BA.debugLineNum = 36044821;BA.debugLine="prefixList.Initialize"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=36044822; + //BA.debugLineNum = 36044822;BA.debugLine="substringList.Initialize"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=36044824; + //BA.debugLineNum = 36044824;BA.debugLine="IME.Initialize(\"\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize(""); +RDebugUtils.currentLine=36044825; + //BA.debugLineNum = 36044825;BA.debugLine="Dim jo As JavaObject = SearchField.TextField"; _jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject())); - //BA.debugLineNum = 50;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._searchfield /*gunav2.keymon.com.mx.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).getObject())); +RDebugUtils.currentLine=36044826; + //BA.debugLineNum = 36044826;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; _jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36044828; + //BA.debugLineNum = 36044828;BA.debugLine="End Sub"; return ""; } -public String _resize(int _width,int _height) throws Exception{ +public String _resize(gunav2.keymon.com.mx.b4xsearchtemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} anywheresoftware.b4a.objects.B4XViewWrapper _c = null; - //BA.debugLineNum = 54;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 55;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 56;BA.debugLine="Dim c As B4XView = CustomListView1.AsView"; +RDebugUtils.currentLine=36110336; + //BA.debugLineNum = 36110336;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=36110337; + //BA.debugLineNum = 36110337;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=36110338; + //BA.debugLineNum = 36110338;BA.debugLine="Dim c As B4XView = CustomListView1.AsView"; _c = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_c = _customlistview1._asview(); - //BA.debugLineNum = 57;BA.debugLine="c.SetLayoutAnimated(0, 0, c.Top, Width, Height -"; +_c = __ref._customlistview1 /*b4a.example3.customlistview*/ ._asview(); +RDebugUtils.currentLine=36110339; + //BA.debugLineNum = 36110339;BA.debugLine="c.SetLayoutAnimated(0, 0, c.Top, Width, Height -"; _c.SetLayoutAnimated((int) (0),(int) (0),_c.getTop(),_width,(int) (_height-_c.getTop())); - //BA.debugLineNum = 58;BA.debugLine="CustomListView1.Base_Resize(Width, c.Height)"; -_customlistview1._base_resize(_width,_c.getHeight()); - //BA.debugLineNum = 59;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36110340; + //BA.debugLineNum = 36110340;BA.debugLine="CustomListView1.Base_Resize(Width, c.Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_c.getHeight()); +RDebugUtils.currentLine=36110341; + //BA.debugLineNum = 36110341;BA.debugLine="End Sub"; return ""; } -public String _searchfield_enterpressed() throws Exception{ - //BA.debugLineNum = 112;BA.debugLine="Private Sub SearchField_EnterPressed"; - //BA.debugLineNum = 113;BA.debugLine="If AllowUnlistedText Then"; -if (_allowunlistedtext) { - //BA.debugLineNum = 114;BA.debugLine="SelectedItem = LastTerm"; -_selecteditem = _lastterm; - //BA.debugLineNum = 115;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - }else if(_customlistview1._getsize()>0 && _lastterm.length()>0) { - //BA.debugLineNum = 117;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; -_customlistview1_itemclick((int) (0),_customlistview1._getvalue((int) (0))); +public String _searchfield_enterpressed(gunav2.keymon.com.mx.b4xsearchtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "searchfield_enterpressed", true)) + {return ((String) Debug.delegate(ba, "searchfield_enterpressed", null));} +RDebugUtils.currentLine=36438016; + //BA.debugLineNum = 36438016;BA.debugLine="Private Sub SearchField_EnterPressed"; +RDebugUtils.currentLine=36438017; + //BA.debugLineNum = 36438017;BA.debugLine="If AllowUnlistedText Then"; +if (__ref._allowunlistedtext /*boolean*/ ) { +RDebugUtils.currentLine=36438018; + //BA.debugLineNum = 36438018;BA.debugLine="SelectedItem = LastTerm"; +__ref._selecteditem /*String*/ = __ref._lastterm /*String*/ ; +RDebugUtils.currentLine=36438019; + //BA.debugLineNum = 36438019;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*gunav2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); + }else +{RDebugUtils.currentLine=36438020; + //BA.debugLineNum = 36438020;BA.debugLine="Else If CustomListView1.Size > 0 And LastTerm.Len"; +if (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()>0 && __ref._lastterm /*String*/ .length()>0) { +RDebugUtils.currentLine=36438021; + //BA.debugLineNum = 36438021;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; +__ref._customlistview1_itemclick /*String*/ (null,(int) (0),__ref._customlistview1 /*b4a.example3.customlistview*/ ._getvalue((int) (0))); + }} +; +RDebugUtils.currentLine=36438023; + //BA.debugLineNum = 36438023;BA.debugLine="End Sub"; +return ""; +} +public String _searchfield_textchanged(gunav2.keymon.com.mx.b4xsearchtemplate __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "searchfield_textchanged", true)) + {return ((String) Debug.delegate(ba, "searchfield_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=36306944; + //BA.debugLineNum = 36306944;BA.debugLine="Private Sub SearchField_TextChanged (Old As String"; +RDebugUtils.currentLine=36306945; + //BA.debugLineNum = 36306945;BA.debugLine="Update(New, False)"; +__ref._update /*String*/ (null,_new,__c.False); +RDebugUtils.currentLine=36306946; + //BA.debugLineNum = 36306946;BA.debugLine="End Sub"; +return ""; +} +public String _update(gunav2.keymon.com.mx.b4xsearchtemplate __ref,String _term,boolean _force) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", new Object[] {_term,_force}));} +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +String _str1 = ""; +String _str2 = ""; +RDebugUtils.currentLine=36372480; + //BA.debugLineNum = 36372480;BA.debugLine="Private Sub Update(Term As String, Force As Boolea"; +RDebugUtils.currentLine=36372481; + //BA.debugLineNum = 36372481;BA.debugLine="If Term = LastTerm And Force = False Then Return"; +if ((_term).equals(__ref._lastterm /*String*/ ) && _force==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=36372482; + //BA.debugLineNum = 36372482;BA.debugLine="LastTerm = Term"; +__ref._lastterm /*String*/ = _term; +RDebugUtils.currentLine=36372483; + //BA.debugLineNum = 36372483;BA.debugLine="If xui.IsB4J = False Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()==__c.False) { +RDebugUtils.currentLine=36372484; + //BA.debugLineNum = 36372484;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=36372485; + //BA.debugLineNum = 36372485;BA.debugLine="Dim p As B4XView = CustomListView1.GetPanel(i)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=36372486; + //BA.debugLineNum = 36372486;BA.debugLine="p.RemoveViewFromParent"; +_p.RemoveViewFromParent(); +RDebugUtils.currentLine=36372487; + //BA.debugLineNum = 36372487;BA.debugLine="ItemsCache.Add(p)"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_p.getObject())); + } +}; }; - //BA.debugLineNum = 119;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36372490; + //BA.debugLineNum = 36372490;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=36372492; + //BA.debugLineNum = 36372492;BA.debugLine="Dim str1, str2 As String"; +_str1 = ""; +_str2 = ""; +RDebugUtils.currentLine=36372493; + //BA.debugLineNum = 36372493;BA.debugLine="str1 = Term.ToLowerCase"; +_str1 = _term.toLowerCase(); +RDebugUtils.currentLine=36372494; + //BA.debugLineNum = 36372494;BA.debugLine="If Term = \"\" Then"; +if ((_term).equals("")) { +RDebugUtils.currentLine=36372495; + //BA.debugLineNum = 36372495;BA.debugLine="AddItemsToList(AllItems, str1)"; +__ref._additemstolist /*String*/ (null,__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ ,_str1); + }else { +RDebugUtils.currentLine=36372497; + //BA.debugLineNum = 36372497;BA.debugLine="If str1.Length > MAX_LIMIT Then"; +if (_str1.length()>__ref._max_limit /*int*/ ) { +RDebugUtils.currentLine=36372498; + //BA.debugLineNum = 36372498;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; +_str2 = _str1.substring((int) (0),__ref._max_limit /*int*/ ); + }else { +RDebugUtils.currentLine=36372500; + //BA.debugLineNum = 36372500;BA.debugLine="str2 = str1"; +_str2 = _str1; + }; +RDebugUtils.currentLine=36372502; + //BA.debugLineNum = 36372502;BA.debugLine="AddItemsToList(prefixList.Get(str2), str1)"; +__ref._additemstolist /*String*/ (null,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_str2)))),_str1); +RDebugUtils.currentLine=36372503; + //BA.debugLineNum = 36372503;BA.debugLine="AddItemsToList(substringList.Get(str2), str1)"; +__ref._additemstolist /*String*/ (null,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_str2)))),_str1); + }; +RDebugUtils.currentLine=36372505; + //BA.debugLineNum = 36372505;BA.debugLine="End Sub"; return ""; } -public String _searchfield_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 81;BA.debugLine="Private Sub SearchField_TextChanged (Old As String"; - //BA.debugLineNum = 82;BA.debugLine="Update(New, False)"; -_update(_new,__c.False); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public String _setindex(Object _index) throws Exception{ +public String _setindex(gunav2.keymon.com.mx.b4xsearchtemplate __ref,Object _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "setindex", true)) + {return ((String) Debug.delegate(ba, "setindex", new Object[] {_index}));} Object[] _obj = null; - //BA.debugLineNum = 233;BA.debugLine="Public Sub SetIndex(Index As Object)"; - //BA.debugLineNum = 234;BA.debugLine="Dim obj() As Object"; +RDebugUtils.currentLine=36700160; + //BA.debugLineNum = 36700160;BA.debugLine="Public Sub SetIndex(Index As Object)"; +RDebugUtils.currentLine=36700161; + //BA.debugLineNum = 36700161;BA.debugLine="Dim obj() As Object"; _obj = new Object[(int) (0)]; { int d0 = _obj.length; @@ -295,19 +593,28 @@ _obj[i0] = new Object(); } } ; - //BA.debugLineNum = 235;BA.debugLine="obj = Index"; +RDebugUtils.currentLine=36700162; + //BA.debugLineNum = 36700162;BA.debugLine="obj = Index"; _obj = (Object[])(_index); - //BA.debugLineNum = 236;BA.debugLine="prefixList = obj(0)"; -_prefixlist = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (0)])); - //BA.debugLineNum = 237;BA.debugLine="substringList = obj(1)"; -_substringlist = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (1)])); - //BA.debugLineNum = 238;BA.debugLine="Dim AllItems As List = obj(2)"; +RDebugUtils.currentLine=36700163; + //BA.debugLineNum = 36700163;BA.debugLine="prefixList = obj(0)"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (0)])); +RDebugUtils.currentLine=36700164; + //BA.debugLineNum = 36700164;BA.debugLine="substringList = obj(1)"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (1)])); +RDebugUtils.currentLine=36700165; + //BA.debugLineNum = 36700165;BA.debugLine="Dim AllItems As List = obj(2)"; _allitems = new anywheresoftware.b4a.objects.collections.List(); _allitems = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_obj[(int) (2)])); - //BA.debugLineNum = 239;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36700166; + //BA.debugLineNum = 36700166;BA.debugLine="End Sub"; return ""; } -public Object _setitems(anywheresoftware.b4a.objects.collections.List _items) throws Exception{ +public Object _setitems(gunav2.keymon.com.mx.b4xsearchtemplate __ref,anywheresoftware.b4a.objects.collections.List _items) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((Object) Debug.delegate(ba, "setitems", new Object[] {_items}));} long _starttime = 0L; anywheresoftware.b4a.objects.collections.Map _noduplicates = null; anywheresoftware.b4a.objects.collections.Map _m = null; @@ -318,69 +625,95 @@ String _itemtolower = ""; int _start = 0; int _count = 0; String _str = ""; - //BA.debugLineNum = 196;BA.debugLine="Public Sub SetItems(Items As List) As Object"; - //BA.debugLineNum = 197;BA.debugLine="Dim startTime As Long"; +RDebugUtils.currentLine=36634624; + //BA.debugLineNum = 36634624;BA.debugLine="Public Sub SetItems(Items As List) As Object"; +RDebugUtils.currentLine=36634625; + //BA.debugLineNum = 36634625;BA.debugLine="Dim startTime As Long"; _starttime = 0L; - //BA.debugLineNum = 198;BA.debugLine="startTime = DateTime.Now"; +RDebugUtils.currentLine=36634626; + //BA.debugLineNum = 36634626;BA.debugLine="startTime = DateTime.Now"; _starttime = __c.DateTime.getNow(); - //BA.debugLineNum = 199;BA.debugLine="Dim noDuplicates As Map"; +RDebugUtils.currentLine=36634627; + //BA.debugLineNum = 36634627;BA.debugLine="Dim noDuplicates As Map"; _noduplicates = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 200;BA.debugLine="noDuplicates.Initialize"; +RDebugUtils.currentLine=36634628; + //BA.debugLineNum = 36634628;BA.debugLine="noDuplicates.Initialize"; _noduplicates.Initialize(); - //BA.debugLineNum = 201;BA.debugLine="prefixList.Clear"; -_prefixlist.Clear(); - //BA.debugLineNum = 202;BA.debugLine="substringList.Clear"; -_substringlist.Clear(); - //BA.debugLineNum = 203;BA.debugLine="Dim m As Map"; +RDebugUtils.currentLine=36634629; + //BA.debugLineNum = 36634629;BA.debugLine="prefixList.Clear"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=36634630; + //BA.debugLineNum = 36634630;BA.debugLine="substringList.Clear"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=36634631; + //BA.debugLineNum = 36634631;BA.debugLine="Dim m As Map"; _m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 204;BA.debugLine="Dim li As List"; +RDebugUtils.currentLine=36634632; + //BA.debugLineNum = 36634632;BA.debugLine="Dim li As List"; _li = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 205;BA.debugLine="For i = 0 To Items.Size - 1"; +RDebugUtils.currentLine=36634633; + //BA.debugLineNum = 36634633;BA.debugLine="For i = 0 To Items.Size - 1"; { final int step9 = 1; final int limit9 = (int) (_items.getSize()-1); _i = (int) (0) ; for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 206;BA.debugLine="Dim itemNotLower As String = Items.Get(i)"; +RDebugUtils.currentLine=36634634; + //BA.debugLineNum = 36634634;BA.debugLine="Dim itemNotLower As String = Items.Get(i)"; _itemnotlower = BA.ObjectToString(_items.Get(_i)); - //BA.debugLineNum = 207;BA.debugLine="Dim itemToLower As String = itemNotLower.ToLower"; +RDebugUtils.currentLine=36634635; + //BA.debugLineNum = 36634635;BA.debugLine="Dim itemToLower As String = itemNotLower.ToLower"; _itemtolower = _itemnotlower.toLowerCase(); - //BA.debugLineNum = 208;BA.debugLine="noDuplicates.Clear"; +RDebugUtils.currentLine=36634636; + //BA.debugLineNum = 36634636;BA.debugLine="noDuplicates.Clear"; _noduplicates.Clear(); - //BA.debugLineNum = 209;BA.debugLine="For start = 0 To IIf(PrefixOnly, 0, itemToLower."; +RDebugUtils.currentLine=36634637; + //BA.debugLineNum = 36634637;BA.debugLine="For start = 0 To IIf(PrefixOnly, 0, itemToLower."; { final int step13 = 1; -final int limit13 = (int)(BA.ObjectToNumber(((_prefixonly) ? ((Object)(0)) : ((Object)(_itemtolower.length()-1))))); +final int limit13 = (int)(BA.ObjectToNumber(((__ref._prefixonly /*boolean*/ ) ? ((Object)(0)) : ((Object)(_itemtolower.length()-1))))); _start = (int) (0) ; for (;_start <= limit13 ;_start = _start + step13 ) { - //BA.debugLineNum = 210;BA.debugLine="Dim count As Int = 1"; +RDebugUtils.currentLine=36634638; + //BA.debugLineNum = 36634638;BA.debugLine="Dim count As Int = 1"; _count = (int) (1); - //BA.debugLineNum = 211;BA.debugLine="Do While count <= MAX_LIMIT And start + count <"; -while (_count<=_max_limit && _start+_count<=_itemtolower.length()) { - //BA.debugLineNum = 212;BA.debugLine="Dim str As String = itemToLower.SubString2(sta"; +RDebugUtils.currentLine=36634639; + //BA.debugLineNum = 36634639;BA.debugLine="Do While count <= MAX_LIMIT And start + count <"; +while (_count<=__ref._max_limit /*int*/ && _start+_count<=_itemtolower.length()) { +RDebugUtils.currentLine=36634640; + //BA.debugLineNum = 36634640;BA.debugLine="Dim str As String = itemToLower.SubString2(sta"; _str = _itemtolower.substring(_start,(int) (_start+_count)); - //BA.debugLineNum = 213;BA.debugLine="If noDuplicates.ContainsKey(str) = False Then"; +RDebugUtils.currentLine=36634641; + //BA.debugLineNum = 36634641;BA.debugLine="If noDuplicates.ContainsKey(str) = False Then"; if (_noduplicates.ContainsKey((Object)(_str))==__c.False) { - //BA.debugLineNum = 214;BA.debugLine="noDuplicates.Put(str, \"\")"; +RDebugUtils.currentLine=36634642; + //BA.debugLineNum = 36634642;BA.debugLine="noDuplicates.Put(str, \"\")"; _noduplicates.Put((Object)(_str),(Object)("")); - //BA.debugLineNum = 215;BA.debugLine="If start = 0 Then m = prefixList Else m = sub"; +RDebugUtils.currentLine=36634643; + //BA.debugLineNum = 36634643;BA.debugLine="If start = 0 Then m = prefixList Else m = sub"; if (_start==0) { -_m = _prefixlist;} +_m = __ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ ;} else { -_m = _substringlist;}; - //BA.debugLineNum = 216;BA.debugLine="li = m.Get(str)"; +_m = __ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ ;}; +RDebugUtils.currentLine=36634644; + //BA.debugLineNum = 36634644;BA.debugLine="li = m.Get(str)"; _li = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)(_str)))); - //BA.debugLineNum = 217;BA.debugLine="If li.IsInitialized = False Then"; +RDebugUtils.currentLine=36634645; + //BA.debugLineNum = 36634645;BA.debugLine="If li.IsInitialized = False Then"; if (_li.IsInitialized()==__c.False) { - //BA.debugLineNum = 218;BA.debugLine="li.Initialize"; +RDebugUtils.currentLine=36634646; + //BA.debugLineNum = 36634646;BA.debugLine="li.Initialize"; _li.Initialize(); - //BA.debugLineNum = 219;BA.debugLine="m.Put(str, li)"; +RDebugUtils.currentLine=36634647; + //BA.debugLineNum = 36634647;BA.debugLine="m.Put(str, li)"; _m.Put((Object)(_str),(Object)(_li.getObject())); }; - //BA.debugLineNum = 221;BA.debugLine="li.Add(itemNotLower)"; +RDebugUtils.currentLine=36634649; + //BA.debugLineNum = 36634649;BA.debugLine="li.Add(itemNotLower)"; _li.Add((Object)(_itemnotlower)); }; - //BA.debugLineNum = 223;BA.debugLine="count = count + 1"; +RDebugUtils.currentLine=36634651; + //BA.debugLineNum = 36634651;BA.debugLine="count = count + 1"; _count = (int) (_count+1); } ; @@ -388,136 +721,28 @@ _count = (int) (_count+1); }; } }; - //BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; -__c.LogImpl("930474271","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); - //BA.debugLineNum = 228;BA.debugLine="AllItems = Items"; -_allitems = _items; - //BA.debugLineNum = 229;BA.debugLine="Return Array(prefixList, substringList, AllItems)"; -if (true) return (Object)(new Object[]{(Object)(_prefixlist.getObject()),(Object)(_substringlist.getObject()),(Object)(_allitems.getObject())}); - //BA.debugLineNum = 230;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36634655; + //BA.debugLineNum = 36634655;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; +__c.LogImpl("936634655","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); +RDebugUtils.currentLine=36634656; + //BA.debugLineNum = 36634656;BA.debugLine="AllItems = Items"; +__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ = _items; +RDebugUtils.currentLine=36634657; + //BA.debugLineNum = 36634657;BA.debugLine="Return Array(prefixList, substringList, AllItems)"; +if (true) return (Object)(new Object[]{(Object)(__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()),(Object)(__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()),(Object)(__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ .getObject())}); +RDebugUtils.currentLine=36634658; + //BA.debugLineNum = 36634658;BA.debugLine="End Sub"; return null; } -public void _show(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); -rsub.resume(ba, null); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(gunav2.keymon.com.mx.b4xsearchtemplate parent,gunav2.keymon.com.mx.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -gunav2.keymon.com.mx.b4xsearchtemplate parent; -gunav2.keymon.com.mx.b4xdialog _dialog; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -return; - -case 0: -//C -this.state = -1; - //BA.debugLineNum = 66;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 67;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; -parent._xdialog._putattop /*boolean*/ = parent._xui.getIsB4A() || parent._xui.getIsB4i(); - //BA.debugLineNum = 68;BA.debugLine="CustomListView1.AsView.Color = xui.Color_Transpar"; -parent._customlistview1._asview().setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 69;BA.debugLine="CustomListView1.sv.Color = xui.Color_Transparent"; -parent._customlistview1._sv.setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 70;BA.debugLine="mBase.Color = xui.Color_Transparent"; -parent._mbase.setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 71;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 72;BA.debugLine="Update(\"\", True)"; -parent._update("",parent.__c.True); - //BA.debugLineNum = 73;BA.debugLine="CustomListView1.JumpToItem(0)"; -parent._customlistview1._jumptoitem((int) (0)); - //BA.debugLineNum = 74;BA.debugLine="SearchField.Text = \"\""; -parent._searchfield._settext /*String*/ (""); - //BA.debugLineNum = 75;BA.debugLine="SearchField.TextField.RequestFocus"; -parent._searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().RequestFocus(); - //BA.debugLineNum = 77;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; -parent._ime.ShowKeyboard((android.view.View)(parent._searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject())); - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _update(String _term,boolean _force) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -String _str1 = ""; -String _str2 = ""; - //BA.debugLineNum = 85;BA.debugLine="Private Sub Update(Term As String, Force As Boolea"; - //BA.debugLineNum = 86;BA.debugLine="If Term = LastTerm And Force = False Then Return"; -if ((_term).equals(_lastterm) && _force==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 87;BA.debugLine="LastTerm = Term"; -_lastterm = _term; - //BA.debugLineNum = 88;BA.debugLine="If xui.IsB4J = False Then"; -if (_xui.getIsB4J()==__c.False) { - //BA.debugLineNum = 89;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_customlistview1._getsize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 90;BA.debugLine="Dim p As B4XView = CustomListView1.GetPanel(i)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _customlistview1._getpanel(_i); - //BA.debugLineNum = 91;BA.debugLine="p.RemoveViewFromParent"; -_p.RemoveViewFromParent(); - //BA.debugLineNum = 92;BA.debugLine="ItemsCache.Add(p)"; -_itemscache.Add((Object)(_p.getObject())); - } -}; - }; - //BA.debugLineNum = 95;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 97;BA.debugLine="Dim str1, str2 As String"; -_str1 = ""; -_str2 = ""; - //BA.debugLineNum = 98;BA.debugLine="str1 = Term.ToLowerCase"; -_str1 = _term.toLowerCase(); - //BA.debugLineNum = 99;BA.debugLine="If Term = \"\" Then"; -if ((_term).equals("")) { - //BA.debugLineNum = 100;BA.debugLine="AddItemsToList(AllItems, str1)"; -_additemstolist(_allitems,_str1); - }else { - //BA.debugLineNum = 102;BA.debugLine="If str1.Length > MAX_LIMIT Then"; -if (_str1.length()>_max_limit) { - //BA.debugLineNum = 103;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; -_str2 = _str1.substring((int) (0),_max_limit); - }else { - //BA.debugLineNum = 105;BA.debugLine="str2 = str1"; -_str2 = _str1; - }; - //BA.debugLineNum = 107;BA.debugLine="AddItemsToList(prefixList.Get(str2), str1)"; -_additemstolist((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_prefixlist.Get((Object)(_str2)))),_str1); - //BA.debugLineNum = 108;BA.debugLine="AddItemsToList(substringList.Get(str2), str1)"; -_additemstolist((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_substringlist.Get((Object)(_str2)))),_str1); - }; - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((gunav2.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} +public void RemoveWarning() throws Exception{ + anywheresoftware.b4a.shell.Shell s = anywheresoftware.b4a.shell.Shell.INSTANCE; + java.lang.reflect.Field f = s.getClass().getDeclaredField("errorMessagesForSyncEvents"); + f.setAccessible(true); + java.util.HashSet h = (java.util.HashSet)f.get(s); + if (h == null) { + h = new java.util.HashSet(); + f.set(s, h); + } + h.add("tf_focuschanged"); } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xseekbar.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xseekbar.java index 6a1c973..0c11199 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xseekbar.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xseekbar.java @@ -10,7 +10,7 @@ public class b4xseekbar extends B4AClass.ImplB4AClass implements BA.SubDelegator private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xseekbar"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xseekbar"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xseekbar extends B4AClass.ImplB4AClass implements BA.SubDelegator ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -50,249 +57,388 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 53;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 54;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_touchpanel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 55;BA.debugLine="Vertical = mBase.Height > mBase.Width"; -_vertical = _mbase.getHeight()>_mbase.getWidth(); - //BA.debugLineNum = 56;BA.debugLine="size = Max(mBase.Height, mBase.Width) - 2 * Radiu"; -_size = (int) (__c.Max(_mbase.getHeight(),_mbase.getWidth())-2*_radius2); - //BA.debugLineNum = 57;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; +public String _update(gunav2.keymon.com.mx.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +int _s1 = 0; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=37093376; + //BA.debugLineNum = 37093376;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=37093378; + //BA.debugLineNum = 37093378;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=37093379; + //BA.debugLineNum = 37093379;BA.debugLine="If size > 0 Then"; +if (__ref._size /*int*/ >0) { +RDebugUtils.currentLine=37093380; + //BA.debugLineNum = 37093380;BA.debugLine="If Vertical = False Then"; +if (__ref._vertical /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=37093381; + //BA.debugLineNum = 37093381;BA.debugLine="Dim s1 As Int = Radius2 + (mValue - MinValue) /"; +_s1 = (int) (__ref._radius2 /*int*/ +(__ref._mvalue /*int*/ -__ref._minvalue /*int*/ )/(double)(__ref._maxvalue /*int*/ -__ref._minvalue /*int*/ )*__ref._size /*int*/ ); +RDebugUtils.currentLine=37093382; + //BA.debugLineNum = 37093382;BA.debugLine="Dim y As Int = mBase.Height / 2"; +_y = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2); +RDebugUtils.currentLine=37093383; + //BA.debugLineNum = 37093383;BA.debugLine="cvs.DrawLine(Radius2, y, s1, y, Color1, Size1)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (__ref._radius2 /*int*/ ),(float) (_y),(float) (_s1),(float) (_y),__ref._color1 /*int*/ ,(float) (__ref._size1 /*int*/ )); +RDebugUtils.currentLine=37093384; + //BA.debugLineNum = 37093384;BA.debugLine="cvs.DrawLine(s1, y, mBase.Width - Radius2, y, C"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (_s1),(float) (_y),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__ref._radius2 /*int*/ ),(float) (_y),__ref._color2 /*int*/ ,(float) (__ref._size2 /*int*/ )); +RDebugUtils.currentLine=37093385; + //BA.debugLineNum = 37093385;BA.debugLine="cvs.DrawCircle(s1, y, Radius1, Color1, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_s1),(float) (_y),(float) (__ref._radius1 /*int*/ ),__ref._color1 /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=37093386; + //BA.debugLineNum = 37093386;BA.debugLine="If Pressed Then"; +if (__ref._pressed /*boolean*/ ) { +RDebugUtils.currentLine=37093387; + //BA.debugLineNum = 37093387;BA.debugLine="cvs.DrawCircle(s1, y, Radius2, ThumbColor, Tru"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_s1),(float) (_y),(float) (__ref._radius2 /*int*/ ),__ref._thumbcolor /*int*/ ,__c.True,(float) (0)); + }; + }else { +RDebugUtils.currentLine=37093390; + //BA.debugLineNum = 37093390;BA.debugLine="Dim s1 As Int = Radius2 + (MaxValue - mValue) /"; +_s1 = (int) (__ref._radius2 /*int*/ +(__ref._maxvalue /*int*/ -__ref._mvalue /*int*/ )/(double)(__ref._maxvalue /*int*/ -__ref._minvalue /*int*/ )*__ref._size /*int*/ ); +RDebugUtils.currentLine=37093391; + //BA.debugLineNum = 37093391;BA.debugLine="Dim x As Int = mBase.Width / 2"; +_x = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2); +RDebugUtils.currentLine=37093392; + //BA.debugLineNum = 37093392;BA.debugLine="cvs.DrawLine(x, Radius2, x, s1, Color2, Size2)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (_x),(float) (__ref._radius2 /*int*/ ),(float) (_x),(float) (_s1),__ref._color2 /*int*/ ,(float) (__ref._size2 /*int*/ )); +RDebugUtils.currentLine=37093393; + //BA.debugLineNum = 37093393;BA.debugLine="cvs.DrawLine(x, s1, x, mBase.Height - Radius2,"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine((float) (_x),(float) (_s1),(float) (_x),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._radius2 /*int*/ ),__ref._color1 /*int*/ ,(float) (__ref._size1 /*int*/ )); +RDebugUtils.currentLine=37093394; + //BA.debugLineNum = 37093394;BA.debugLine="cvs.DrawCircle(x, s1, Radius1, Color1, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_x),(float) (_s1),(float) (__ref._radius1 /*int*/ ),__ref._color1 /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=37093395; + //BA.debugLineNum = 37093395;BA.debugLine="If Pressed Then"; +if (__ref._pressed /*boolean*/ ) { +RDebugUtils.currentLine=37093396; + //BA.debugLineNum = 37093396;BA.debugLine="cvs.DrawCircle(x, s1, Radius2, ThumbColor, Tru"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_x),(float) (_s1),(float) (__ref._radius2 /*int*/ ),__ref._thumbcolor /*int*/ ,__c.True,(float) (0)); + }; + }; + }; +RDebugUtils.currentLine=37093400; + //BA.debugLineNum = 37093400;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=37093401; + //BA.debugLineNum = 37093401;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 11;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 12;BA.debugLine="Private mEventName As String 'ignore"; +public String _setvalue(gunav2.keymon.com.mx.b4xseekbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=37355520; + //BA.debugLineNum = 37355520;BA.debugLine="Public Sub setValue(v As Int)"; +RDebugUtils.currentLine=37355521; + //BA.debugLineNum = 37355521;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, v))"; +__ref._mvalue /*int*/ = (int) (__c.Max(__ref._minvalue /*int*/ ,__c.Min(__ref._maxvalue /*int*/ ,_v))); +RDebugUtils.currentLine=37355522; + //BA.debugLineNum = 37355522;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=37355523; + //BA.debugLineNum = 37355523;BA.debugLine="End Sub"; +return ""; +} +public String _base_resize(gunav2.keymon.com.mx.b4xseekbar __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=37027840; + //BA.debugLineNum = 37027840;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=37027841; + //BA.debugLineNum = 37027841;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=37027842; + //BA.debugLineNum = 37027842;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=37027843; + //BA.debugLineNum = 37027843;BA.debugLine="Vertical = mBase.Height > mBase.Width"; +__ref._vertical /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()>__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(); +RDebugUtils.currentLine=37027844; + //BA.debugLineNum = 37027844;BA.debugLine="size = Max(mBase.Height, mBase.Width) - 2 * Radiu"; +__ref._size /*int*/ = (int) (__c.Max(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())-2*__ref._radius2 /*int*/ ); +RDebugUtils.currentLine=37027845; + //BA.debugLineNum = 37027845;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=37027846; + //BA.debugLineNum = 37027846;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +RDebugUtils.currentLine=36831232; + //BA.debugLineNum = 36831232;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=36831233; + //BA.debugLineNum = 36831233;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 13;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=36831234; + //BA.debugLineNum = 36831234;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 14;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=36831235; + //BA.debugLineNum = 36831235;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=36831236; + //BA.debugLineNum = 36831236;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 16;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; +RDebugUtils.currentLine=36831237; + //BA.debugLineNum = 36831237;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; _color1 = 0; _color2 = 0; _thumbcolor = 0; - //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; +RDebugUtils.currentLine=36831238; + //BA.debugLineNum = 36831238;BA.debugLine="Private cvs As B4XCanvas"; _cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=36831239; + //BA.debugLineNum = 36831239;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 19;BA.debugLine="Private TouchPanel As B4XView"; +RDebugUtils.currentLine=36831240; + //BA.debugLineNum = 36831240;BA.debugLine="Private TouchPanel As B4XView"; _touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private mValue As Int"; +RDebugUtils.currentLine=36831241; + //BA.debugLineNum = 36831241;BA.debugLine="Private mValue As Int"; _mvalue = 0; - //BA.debugLineNum = 21;BA.debugLine="Public MinValue, MaxValue As Int"; +RDebugUtils.currentLine=36831242; + //BA.debugLineNum = 36831242;BA.debugLine="Public MinValue, MaxValue As Int"; _minvalue = 0; _maxvalue = 0; - //BA.debugLineNum = 22;BA.debugLine="Public Interval As Int = 1"; +RDebugUtils.currentLine=36831243; + //BA.debugLineNum = 36831243;BA.debugLine="Public Interval As Int = 1"; _interval = (int) (1); - //BA.debugLineNum = 23;BA.debugLine="Private Vertical As Boolean"; +RDebugUtils.currentLine=36831244; + //BA.debugLineNum = 36831244;BA.debugLine="Private Vertical As Boolean"; _vertical = false; - //BA.debugLineNum = 24;BA.debugLine="Public Size1 = 4dip, Size2 = 2dip, Radius1 = 6dip"; +RDebugUtils.currentLine=36831245; + //BA.debugLineNum = 36831245;BA.debugLine="Public Size1 = 4dip, Size2 = 2dip, Radius1 = 6dip"; _size1 = __c.DipToCurrent((int) (4)); _size2 = __c.DipToCurrent((int) (2)); _radius1 = __c.DipToCurrent((int) (6)); _radius2 = __c.DipToCurrent((int) (12)); - //BA.debugLineNum = 25;BA.debugLine="Private Pressed As Boolean"; +RDebugUtils.currentLine=36831246; + //BA.debugLineNum = 36831246;BA.debugLine="Private Pressed As Boolean"; _pressed = false; - //BA.debugLineNum = 26;BA.debugLine="Private size As Int"; +RDebugUtils.currentLine=36831247; + //BA.debugLineNum = 36831247;BA.debugLine="Private size As Int"; _size = 0; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +RDebugUtils.currentLine=36831248; + //BA.debugLineNum = 36831248;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 36;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 38;BA.debugLine="Color1 = xui.PaintOrColorToColor(Props.Get(\"Color"; -_color1 = _xui.PaintOrColorToColor(_props.Get((Object)("Color1"))); - //BA.debugLineNum = 39;BA.debugLine="Color2 = xui.PaintOrColorToColor(Props.Get(\"Color"; -_color2 = _xui.PaintOrColorToColor(_props.Get((Object)("Color2"))); - //BA.debugLineNum = 40;BA.debugLine="ThumbColor = xui.PaintOrColorToColor(Props.Get(\"T"; -_thumbcolor = _xui.PaintOrColorToColor(_props.Get((Object)("ThumbColor"))); - //BA.debugLineNum = 41;BA.debugLine="Interval = Max(1, Props.GetDefault(\"Interval\", 1)"; -_interval = (int) (__c.Max(1,(double)(BA.ObjectToNumber(_props.GetDefault((Object)("Interval"),(Object)(1)))))); - //BA.debugLineNum = 42;BA.debugLine="MinValue = Props.Get(\"Min\")"; -_minvalue = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); - //BA.debugLineNum = 43;BA.debugLine="MaxValue = Props.Get(\"Max\")"; -_maxvalue = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); - //BA.debugLineNum = 44;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, Props.Get(\"V"; -_mvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,(double)(BA.ObjectToNumber(_props.Get((Object)("Value"))))))); - //BA.debugLineNum = 45;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 46;BA.debugLine="TouchPanel = xui.CreatePanel(\"TouchPanel\")"; -_touchpanel = _xui.CreatePanel(ba,"TouchPanel"); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; -_mbase.AddView((android.view.View)(_touchpanel.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 48;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then Radius2 = 20dip"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { -_radius2 = __c.DipToCurrent((int) (20));}; - //BA.debugLineNum = 49;BA.debugLine="If xui.IsB4A Then Base_Resize(mBase.Width, mBase."; -if (_xui.getIsB4A()) { -_base_resize(_mbase.getWidth(),_mbase.getHeight());}; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; +public String _designercreateview(gunav2.keymon.com.mx.b4xseekbar __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +RDebugUtils.currentLine=36962304; + //BA.debugLineNum = 36962304;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=36962305; + //BA.debugLineNum = 36962305;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=36962306; + //BA.debugLineNum = 36962306;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=36962306; + //BA.debugLineNum = 36962306;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=36962307; + //BA.debugLineNum = 36962307;BA.debugLine="Color1 = xui.PaintOrColorToColor(Props.Get(\"Color"; +__ref._color1 /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("Color1"))); +RDebugUtils.currentLine=36962308; + //BA.debugLineNum = 36962308;BA.debugLine="Color2 = xui.PaintOrColorToColor(Props.Get(\"Color"; +__ref._color2 /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("Color2"))); +RDebugUtils.currentLine=36962309; + //BA.debugLineNum = 36962309;BA.debugLine="ThumbColor = xui.PaintOrColorToColor(Props.Get(\"T"; +__ref._thumbcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ThumbColor"))); +RDebugUtils.currentLine=36962310; + //BA.debugLineNum = 36962310;BA.debugLine="Interval = Max(1, Props.GetDefault(\"Interval\", 1)"; +__ref._interval /*int*/ = (int) (__c.Max(1,(double)(BA.ObjectToNumber(_props.GetDefault((Object)("Interval"),(Object)(1)))))); +RDebugUtils.currentLine=36962311; + //BA.debugLineNum = 36962311;BA.debugLine="MinValue = Props.Get(\"Min\")"; +__ref._minvalue /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); +RDebugUtils.currentLine=36962312; + //BA.debugLineNum = 36962312;BA.debugLine="MaxValue = Props.Get(\"Max\")"; +__ref._maxvalue /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); +RDebugUtils.currentLine=36962313; + //BA.debugLineNum = 36962313;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, Props.Get(\"V"; +__ref._mvalue /*int*/ = (int) (__c.Max(__ref._minvalue /*int*/ ,__c.Min(__ref._maxvalue /*int*/ ,(double)(BA.ObjectToNumber(_props.Get((Object)("Value"))))))); +RDebugUtils.currentLine=36962314; + //BA.debugLineNum = 36962314;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=36962315; + //BA.debugLineNum = 36962315;BA.debugLine="TouchPanel = xui.CreatePanel(\"TouchPanel\")"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"TouchPanel"); +RDebugUtils.currentLine=36962316; + //BA.debugLineNum = 36962316;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=36962317; + //BA.debugLineNum = 36962317;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then Radius2 = 20dip"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +__ref._radius2 /*int*/ = __c.DipToCurrent((int) (20));}; +RDebugUtils.currentLine=36962318; + //BA.debugLineNum = 36962318;BA.debugLine="If xui.IsB4A Then Base_Resize(mBase.Width, mBase."; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());}; +RDebugUtils.currentLine=36962319; + //BA.debugLineNum = 36962319;BA.debugLine="End Sub"; return ""; } -public int _getvalue() throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 131;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 132;BA.debugLine="End Sub"; +public int _getvalue(gunav2.keymon.com.mx.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=37421056; + //BA.debugLineNum = 37421056;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=37421057; + //BA.debugLineNum = 37421057;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=37421058; + //BA.debugLineNum = 37421058;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xseekbar __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 30;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 31;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=36896768; + //BA.debugLineNum = 36896768;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=36896769; + //BA.debugLineNum = 36896769;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=36896770; + //BA.debugLineNum = 36896770;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=36896771; + //BA.debugLineNum = 36896771;BA.debugLine="End Sub"; return ""; } -public String _raisetouchstateevent() throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Private Sub RaiseTouchStateEvent"; - //BA.debugLineNum = 103;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TouchS"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_TouchStateChanged",(int) (1))) { - //BA.debugLineNum = 104;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_TouchS"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_TouchStateChanged",(Object)(_pressed)); +public String _raisetouchstateevent(gunav2.keymon.com.mx.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "raisetouchstateevent", true)) + {return ((String) Debug.delegate(ba, "raisetouchstateevent", null));} +RDebugUtils.currentLine=37224448; + //BA.debugLineNum = 37224448;BA.debugLine="Private Sub RaiseTouchStateEvent"; +RDebugUtils.currentLine=37224449; + //BA.debugLineNum = 37224449;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TouchS"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TouchStateChanged",(int) (1))) { +RDebugUtils.currentLine=37224450; + //BA.debugLineNum = 37224450;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_TouchS"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TouchStateChanged",(Object)(__ref._pressed /*boolean*/ )); }; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37224452; + //BA.debugLineNum = 37224452;BA.debugLine="End Sub"; return ""; } -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 125;BA.debugLine="Public Sub setValue(v As Int)"; - //BA.debugLineNum = 126;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, v))"; -_mvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,_v))); - //BA.debugLineNum = 127;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _setvaluebasedontouch(int _x,int _y) throws Exception{ +public String _setvaluebasedontouch(gunav2.keymon.com.mx.b4xseekbar __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "setvaluebasedontouch", true)) + {return ((String) Debug.delegate(ba, "setvaluebasedontouch", new Object[] {_x,_y}));} int _v = 0; int _newvalue = 0; - //BA.debugLineNum = 108;BA.debugLine="Private Sub SetValueBasedOnTouch(x As Int, y As In"; - //BA.debugLineNum = 109;BA.debugLine="Dim v As Int"; +RDebugUtils.currentLine=37289984; + //BA.debugLineNum = 37289984;BA.debugLine="Private Sub SetValueBasedOnTouch(x As Int, y As In"; +RDebugUtils.currentLine=37289985; + //BA.debugLineNum = 37289985;BA.debugLine="Dim v As Int"; _v = 0; - //BA.debugLineNum = 110;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 111;BA.debugLine="v = (mBase.Height - Radius2 - y) / size * (MaxVa"; -_v = (int) ((_mbase.getHeight()-_radius2-_y)/(double)_size*(_maxvalue-_minvalue)+_minvalue); +RDebugUtils.currentLine=37289986; + //BA.debugLineNum = 37289986;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=37289987; + //BA.debugLineNum = 37289987;BA.debugLine="v = (mBase.Height - Radius2 - y) / size * (MaxVa"; +_v = (int) ((__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._radius2 /*int*/ -_y)/(double)__ref._size /*int*/ *(__ref._maxvalue /*int*/ -__ref._minvalue /*int*/ )+__ref._minvalue /*int*/ ); }else { - //BA.debugLineNum = 113;BA.debugLine="v = (x - Radius2) / size * (MaxValue - MinValue)"; -_v = (int) ((_x-_radius2)/(double)_size*(_maxvalue-_minvalue)+_minvalue); +RDebugUtils.currentLine=37289989; + //BA.debugLineNum = 37289989;BA.debugLine="v = (x - Radius2) / size * (MaxValue - MinValue)"; +_v = (int) ((_x-__ref._radius2 /*int*/ )/(double)__ref._size /*int*/ *(__ref._maxvalue /*int*/ -__ref._minvalue /*int*/ )+__ref._minvalue /*int*/ ); }; - //BA.debugLineNum = 115;BA.debugLine="v = Round (v / Interval) * Interval"; -_v = (int) (__c.Round(_v/(double)_interval)*_interval); - //BA.debugLineNum = 116;BA.debugLine="Dim NewValue As Int = Max(MinValue, Min(MaxValue,"; -_newvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,_v))); - //BA.debugLineNum = 117;BA.debugLine="If NewValue <> mValue Then"; -if (_newvalue!=_mvalue) { - //BA.debugLineNum = 118;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; - //BA.debugLineNum = 119;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 120;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); +RDebugUtils.currentLine=37289991; + //BA.debugLineNum = 37289991;BA.debugLine="v = Round (v / Interval) * Interval"; +_v = (int) (__c.Round(_v/(double)__ref._interval /*int*/ )*__ref._interval /*int*/ ); +RDebugUtils.currentLine=37289992; + //BA.debugLineNum = 37289992;BA.debugLine="Dim NewValue As Int = Max(MinValue, Min(MaxValue,"; +_newvalue = (int) (__c.Max(__ref._minvalue /*int*/ ,__c.Min(__ref._maxvalue /*int*/ ,_v))); +RDebugUtils.currentLine=37289993; + //BA.debugLineNum = 37289993;BA.debugLine="If NewValue <> mValue Then"; +if (_newvalue!=__ref._mvalue /*int*/ ) { +RDebugUtils.currentLine=37289994; + //BA.debugLineNum = 37289994;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; +RDebugUtils.currentLine=37289995; + //BA.debugLineNum = 37289995;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(int) (1))) { +RDebugUtils.currentLine=37289996; + //BA.debugLineNum = 37289996;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*int*/ )); }; }; - //BA.debugLineNum = 123;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37289999; + //BA.debugLineNum = 37289999;BA.debugLine="End Sub"; return ""; } -public String _touchpanel_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 88;BA.debugLine="Private Sub TouchPanel_Touch (Action As Int, X As"; - //BA.debugLineNum = 89;BA.debugLine="If Action = TouchPanel.TOUCH_ACTION_DOWN Then"; -if (_action==_touchpanel.TOUCH_ACTION_DOWN) { - //BA.debugLineNum = 90;BA.debugLine="Pressed = True"; -_pressed = __c.True; - //BA.debugLineNum = 91;BA.debugLine="RaiseTouchStateEvent"; -_raisetouchstateevent(); - //BA.debugLineNum = 92;BA.debugLine="SetValueBasedOnTouch(X, Y)"; -_setvaluebasedontouch((int) (_x),(int) (_y)); - }else if(_action==_touchpanel.TOUCH_ACTION_MOVE) { - //BA.debugLineNum = 94;BA.debugLine="SetValueBasedOnTouch(X, Y)"; -_setvaluebasedontouch((int) (_x),(int) (_y)); - }else if(_action==_touchpanel.TOUCH_ACTION_UP) { - //BA.debugLineNum = 96;BA.debugLine="Pressed = False"; -_pressed = __c.False; - //BA.debugLineNum = 97;BA.debugLine="RaiseTouchStateEvent"; -_raisetouchstateevent(); - }; - //BA.debugLineNum = 99;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 100;BA.debugLine="End Sub"; +public String _touchpanel_touch(gunav2.keymon.com.mx.b4xseekbar __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "touchpanel_touch", true)) + {return ((String) Debug.delegate(ba, "touchpanel_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=37158912; + //BA.debugLineNum = 37158912;BA.debugLine="Private Sub TouchPanel_Touch (Action As Int, X As"; +RDebugUtils.currentLine=37158913; + //BA.debugLineNum = 37158913;BA.debugLine="If Action = TouchPanel.TOUCH_ACTION_DOWN Then"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN) { +RDebugUtils.currentLine=37158914; + //BA.debugLineNum = 37158914;BA.debugLine="Pressed = True"; +__ref._pressed /*boolean*/ = __c.True; +RDebugUtils.currentLine=37158915; + //BA.debugLineNum = 37158915;BA.debugLine="RaiseTouchStateEvent"; +__ref._raisetouchstateevent /*String*/ (null); +RDebugUtils.currentLine=37158916; + //BA.debugLineNum = 37158916;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +__ref._setvaluebasedontouch /*String*/ (null,(int) (_x),(int) (_y)); + }else +{RDebugUtils.currentLine=37158917; + //BA.debugLineNum = 37158917;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_MOVE The"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE) { +RDebugUtils.currentLine=37158918; + //BA.debugLineNum = 37158918;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +__ref._setvaluebasedontouch /*String*/ (null,(int) (_x),(int) (_y)); + }else +{RDebugUtils.currentLine=37158919; + //BA.debugLineNum = 37158919;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_UP Then"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_UP) { +RDebugUtils.currentLine=37158920; + //BA.debugLineNum = 37158920;BA.debugLine="Pressed = False"; +__ref._pressed /*boolean*/ = __c.False; +RDebugUtils.currentLine=37158921; + //BA.debugLineNum = 37158921;BA.debugLine="RaiseTouchStateEvent"; +__ref._raisetouchstateevent /*String*/ (null); + }}} +; +RDebugUtils.currentLine=37158923; + //BA.debugLineNum = 37158923;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=37158924; + //BA.debugLineNum = 37158924;BA.debugLine="End Sub"; return ""; } -public String _update() throws Exception{ -int _s1 = 0; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 61;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 63;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 64;BA.debugLine="If size > 0 Then"; -if (_size>0) { - //BA.debugLineNum = 65;BA.debugLine="If Vertical = False Then"; -if (_vertical==__c.False) { - //BA.debugLineNum = 66;BA.debugLine="Dim s1 As Int = Radius2 + (mValue - MinValue) /"; -_s1 = (int) (_radius2+(_mvalue-_minvalue)/(double)(_maxvalue-_minvalue)*_size); - //BA.debugLineNum = 67;BA.debugLine="Dim y As Int = mBase.Height / 2"; -_y = (int) (_mbase.getHeight()/(double)2); - //BA.debugLineNum = 68;BA.debugLine="cvs.DrawLine(Radius2, y, s1, y, Color1, Size1)"; -_cvs.DrawLine((float) (_radius2),(float) (_y),(float) (_s1),(float) (_y),_color1,(float) (_size1)); - //BA.debugLineNum = 69;BA.debugLine="cvs.DrawLine(s1, y, mBase.Width - Radius2, y, C"; -_cvs.DrawLine((float) (_s1),(float) (_y),(float) (_mbase.getWidth()-_radius2),(float) (_y),_color2,(float) (_size2)); - //BA.debugLineNum = 70;BA.debugLine="cvs.DrawCircle(s1, y, Radius1, Color1, True, 0)"; -_cvs.DrawCircle((float) (_s1),(float) (_y),(float) (_radius1),_color1,__c.True,(float) (0)); - //BA.debugLineNum = 71;BA.debugLine="If Pressed Then"; -if (_pressed) { - //BA.debugLineNum = 72;BA.debugLine="cvs.DrawCircle(s1, y, Radius2, ThumbColor, Tru"; -_cvs.DrawCircle((float) (_s1),(float) (_y),(float) (_radius2),_thumbcolor,__c.True,(float) (0)); - }; - }else { - //BA.debugLineNum = 75;BA.debugLine="Dim s1 As Int = Radius2 + (MaxValue - mValue) /"; -_s1 = (int) (_radius2+(_maxvalue-_mvalue)/(double)(_maxvalue-_minvalue)*_size); - //BA.debugLineNum = 76;BA.debugLine="Dim x As Int = mBase.Width / 2"; -_x = (int) (_mbase.getWidth()/(double)2); - //BA.debugLineNum = 77;BA.debugLine="cvs.DrawLine(x, Radius2, x, s1, Color2, Size2)"; -_cvs.DrawLine((float) (_x),(float) (_radius2),(float) (_x),(float) (_s1),_color2,(float) (_size2)); - //BA.debugLineNum = 78;BA.debugLine="cvs.DrawLine(x, s1, x, mBase.Height - Radius2,"; -_cvs.DrawLine((float) (_x),(float) (_s1),(float) (_x),(float) (_mbase.getHeight()-_radius2),_color1,(float) (_size1)); - //BA.debugLineNum = 79;BA.debugLine="cvs.DrawCircle(x, s1, Radius1, Color1, True, 0)"; -_cvs.DrawCircle((float) (_x),(float) (_s1),(float) (_radius1),_color1,__c.True,(float) (0)); - //BA.debugLineNum = 80;BA.debugLine="If Pressed Then"; -if (_pressed) { - //BA.debugLineNum = 81;BA.debugLine="cvs.DrawCircle(x, s1, Radius2, ThumbColor, Tru"; -_cvs.DrawCircle((float) (_x),(float) (_s1),(float) (_radius2),_thumbcolor,__c.True,(float) (0)); - }; - }; - }; - //BA.debugLineNum = 85;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 86;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xset.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xset.java index 7cdcf2e..b7ca09c 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xset.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xset.java @@ -10,7 +10,7 @@ public class b4xset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xset"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xset"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,80 +23,137 @@ public class b4xset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public gunav2.keymon.com.mx.b4xorderedmap _map = null; public b4a.example.dateutils _dateutils = null; public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _add(Object _value) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub Add(Value As Object)"; - //BA.debugLineNum = 10;BA.debugLine="map.Put(Value, \"\")"; -_map._put /*String*/ (_value,(Object)("")); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +public String _initialize(gunav2.keymon.com.mx.b4xset __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=14417920; + //BA.debugLineNum = 14417920;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=14417921; + //BA.debugLineNum = 14417921;BA.debugLine="map.Initialize"; +__ref._map /*gunav2.keymon.com.mx.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=14417922; + //BA.debugLineNum = 14417922;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.collections.List _aslist() throws Exception{ - //BA.debugLineNum = 29;BA.debugLine="Public Sub AsList As List"; - //BA.debugLineNum = 30;BA.debugLine="Return map.Keys"; -if (true) return _map._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; +public String _add(gunav2.keymon.com.mx.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "add", true)) + {return ((String) Debug.delegate(ba, "add", new Object[] {_value}));} +RDebugUtils.currentLine=14483456; + //BA.debugLineNum = 14483456;BA.debugLine="Public Sub Add(Value As Object)"; +RDebugUtils.currentLine=14483457; + //BA.debugLineNum = 14483457;BA.debugLine="map.Put(Value, \"\")"; +__ref._map /*gunav2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,_value,(Object)("")); +RDebugUtils.currentLine=14483458; + //BA.debugLineNum = 14483458;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _aslist(gunav2.keymon.com.mx.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "aslist", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "aslist", null));} +RDebugUtils.currentLine=14811136; + //BA.debugLineNum = 14811136;BA.debugLine="Public Sub AsList As List"; +RDebugUtils.currentLine=14811137; + //BA.debugLineNum = 14811137;BA.debugLine="Return map.Keys"; +if (true) return __ref._map /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=14811138; + //BA.debugLineNum = 14811138;BA.debugLine="End Sub"; return null; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private map As B4XOrderedMap"; +public String _class_globals(gunav2.keymon.com.mx.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +RDebugUtils.currentLine=14352384; + //BA.debugLineNum = 14352384;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=14352385; + //BA.debugLineNum = 14352385;BA.debugLine="Private map As B4XOrderedMap"; _map = new gunav2.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 3;BA.debugLine="End Sub"; +RDebugUtils.currentLine=14352386; + //BA.debugLineNum = 14352386;BA.debugLine="End Sub"; return ""; } -public String _clear() throws Exception{ - //BA.debugLineNum = 25;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 26;BA.debugLine="map.Clear"; -_map._clear /*String*/ (); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +public String _clear(gunav2.keymon.com.mx.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=14745600; + //BA.debugLineNum = 14745600;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=14745601; + //BA.debugLineNum = 14745601;BA.debugLine="map.Clear"; +__ref._map /*gunav2.keymon.com.mx.b4xorderedmap*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=14745602; + //BA.debugLineNum = 14745602;BA.debugLine="End Sub"; return ""; } -public boolean _contains(Object _value) throws Exception{ - //BA.debugLineNum = 17;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; - //BA.debugLineNum = 18;BA.debugLine="Return map.ContainsKey(Value)"; -if (true) return _map._containskey /*boolean*/ (_value); - //BA.debugLineNum = 19;BA.debugLine="End Sub"; +public boolean _contains(gunav2.keymon.com.mx.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "contains", true)) + {return ((Boolean) Debug.delegate(ba, "contains", new Object[] {_value}));} +RDebugUtils.currentLine=14614528; + //BA.debugLineNum = 14614528;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; +RDebugUtils.currentLine=14614529; + //BA.debugLineNum = 14614529;BA.debugLine="Return map.ContainsKey(Value)"; +if (true) return __ref._map /*gunav2.keymon.com.mx.b4xorderedmap*/ ._containskey /*boolean*/ (null,_value); +RDebugUtils.currentLine=14614530; + //BA.debugLineNum = 14614530;BA.debugLine="End Sub"; return false; } -public int _getsize() throws Exception{ - //BA.debugLineNum = 21;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 22;BA.debugLine="Return map.Size"; -if (true) return _map._getsize /*int*/ (); - //BA.debugLineNum = 23;BA.debugLine="End Sub"; +public int _getsize(gunav2.keymon.com.mx.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=14680064; + //BA.debugLineNum = 14680064;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=14680065; + //BA.debugLineNum = 14680065;BA.debugLine="Return map.Size"; +if (true) return __ref._map /*gunav2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null); +RDebugUtils.currentLine=14680066; + //BA.debugLineNum = 14680066;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 5;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 6;BA.debugLine="map.Initialize"; -_map._initialize /*String*/ (ba); - //BA.debugLineNum = 7;BA.debugLine="End Sub"; +public String _remove(gunav2.keymon.com.mx.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_value}));} +RDebugUtils.currentLine=14548992; + //BA.debugLineNum = 14548992;BA.debugLine="Public Sub Remove(Value As Object)"; +RDebugUtils.currentLine=14548993; + //BA.debugLineNum = 14548993;BA.debugLine="map.Remove(Value)"; +__ref._map /*gunav2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,_value); +RDebugUtils.currentLine=14548994; + //BA.debugLineNum = 14548994;BA.debugLine="End Sub"; return ""; } -public String _remove(Object _value) throws Exception{ - //BA.debugLineNum = 13;BA.debugLine="Public Sub Remove(Value As Object)"; - //BA.debugLineNum = 14;BA.debugLine="map.Remove(Value)"; -_map._remove /*String*/ (_value); - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java index 6615a14..1579086 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java @@ -10,7 +10,7 @@ public class b4xsignaturetemplate extends B4AClass.ImplB4AClass implements BA.Su private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xsignaturetemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xsignaturetemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xsignaturetemplate extends B4AClass.ImplB4AClass implements BA.Su ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; @@ -41,141 +48,211 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 5;BA.debugLine="Private LastX, LastY As Float"; -_lastx = 0f; -_lasty = 0f; - //BA.debugLineNum = 6;BA.debugLine="Public StrokeWidth As Float = 2dip"; -_strokewidth = (float) (__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 7;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; -_strokecolor = _xui.Color_Black; - //BA.debugLineNum = 8;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; -_textcolor = ((int)0xffff8800); - //BA.debugLineNum = 9;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; -_backgroundcolor = _xui.Color_White; - //BA.debugLineNum = 10;BA.debugLine="Public AddDateAndTime As Boolean = True"; -_adddateandtime = __c.True; - //BA.debugLineNum = 11;BA.debugLine="Public TextFont As B4XFont"; -_textfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 12;BA.debugLine="Public NumberOfPoints As Int"; -_numberofpoints = 0; - //BA.debugLineNum = 13;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xsignaturetemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=37683200; + //BA.debugLineNum = 37683200;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=37683201; + //BA.debugLineNum = 37683201;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=37683202; + //BA.debugLineNum = 37683202;BA.debugLine="End Sub"; +return null; +} +public String _show(gunav2.keymon.com.mx.b4xsignaturetemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", new Object[] {_dialog}));} +RDebugUtils.currentLine=37748736; + //BA.debugLineNum = 37748736;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +RDebugUtils.currentLine=37748737; + //BA.debugLineNum = 37748737;BA.debugLine="cvs.DrawRect(cvs.TargetRect, BackgroundColor, Tru"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect(),__ref._backgroundcolor /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=37748738; + //BA.debugLineNum = 37748738;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=37748739; + //BA.debugLineNum = 37748739;BA.debugLine="NumberOfPoints = 0"; +__ref._numberofpoints /*int*/ = (int) (0); +RDebugUtils.currentLine=37748740; + //BA.debugLineNum = 37748740;BA.debugLine="End Sub"; return ""; } -public String _dialogclosed(int _result) throws Exception{ +public String _dialogclosed(gunav2.keymon.com.mx.b4xsignaturetemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; int _baseline = 0; - //BA.debugLineNum = 56;BA.debugLine="Private Sub DialogClosed (Result As Int)"; - //BA.debugLineNum = 57;BA.debugLine="If Result = xui.DialogResponse_Positive And AddDa"; -if (_result==_xui.DialogResponse_Positive && _adddateandtime) { - //BA.debugLineNum = 58;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"M\", TextFont"; -_r = _cvs.MeasureText("M",_textfont); - //BA.debugLineNum = 59;BA.debugLine="Dim Baseline As Int = cvs.TargetRect.Bottom - r."; -_baseline = (int) (_cvs.getTargetRect().getBottom()-_r.getHeight()-_r.getTop()-__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 60;BA.debugLine="cvs.DrawText($\"$DateTime{DateTime.Now}\"$, 2dip,"; -_cvs.DrawText(ba,(""+__c.SmartStringFormatter("datetime",(Object)(__c.DateTime.getNow()))+""),(float) (__c.DipToCurrent((int) (2))),(float) (_baseline),_textfont,_textcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"LEFT")); +RDebugUtils.currentLine=37945344; + //BA.debugLineNum = 37945344;BA.debugLine="Private Sub DialogClosed (Result As Int)"; +RDebugUtils.currentLine=37945345; + //BA.debugLineNum = 37945345;BA.debugLine="If Result = xui.DialogResponse_Positive And AddDa"; +if (_result==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive && __ref._adddateandtime /*boolean*/ ) { +RDebugUtils.currentLine=37945346; + //BA.debugLineNum = 37945346;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"M\", TextFont"; +_r = __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText("M",__ref._textfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=37945347; + //BA.debugLineNum = 37945347;BA.debugLine="Dim Baseline As Int = cvs.TargetRect.Bottom - r."; +_baseline = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-_r.getHeight()-_r.getTop()-__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=37945348; + //BA.debugLineNum = 37945348;BA.debugLine="cvs.DrawText($\"$DateTime{DateTime.Now}\"$, 2dip,"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawText(ba,(""+__c.SmartStringFormatter("datetime",(Object)(__c.DateTime.getNow()))+""),(float) (__c.DipToCurrent((int) (2))),(float) (_baseline),__ref._textfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ,__ref._textcolor /*int*/ ,BA.getEnumFromString(android.graphics.Paint.Align.class,"LEFT")); }; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37945350; + //BA.debugLineNum = 37945350;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap() throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub getBitmap As B4XBitmap"; - //BA.debugLineNum = 53;BA.debugLine="Return cvs.CreateBitmap"; -if (true) return _cvs.CreateBitmap(); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; +public String _class_globals(gunav2.keymon.com.mx.b4xsignaturetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +RDebugUtils.currentLine=37486592; + //BA.debugLineNum = 37486592;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=37486593; + //BA.debugLineNum = 37486593;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=37486594; + //BA.debugLineNum = 37486594;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=37486595; + //BA.debugLineNum = 37486595;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=37486596; + //BA.debugLineNum = 37486596;BA.debugLine="Private LastX, LastY As Float"; +_lastx = 0f; +_lasty = 0f; +RDebugUtils.currentLine=37486597; + //BA.debugLineNum = 37486597;BA.debugLine="Public StrokeWidth As Float = 2dip"; +_strokewidth = (float) (__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=37486598; + //BA.debugLineNum = 37486598;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; +_strokecolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=37486599; + //BA.debugLineNum = 37486599;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; +_textcolor = ((int)0xffff8800); +RDebugUtils.currentLine=37486600; + //BA.debugLineNum = 37486600;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; +_backgroundcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=37486601; + //BA.debugLineNum = 37486601;BA.debugLine="Public AddDateAndTime As Boolean = True"; +_adddateandtime = __c.True; +RDebugUtils.currentLine=37486602; + //BA.debugLineNum = 37486602;BA.debugLine="Public TextFont As B4XFont"; +_textfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=37486603; + //BA.debugLineNum = 37486603;BA.debugLine="Public NumberOfPoints As Int"; +_numberofpoints = 0; +RDebugUtils.currentLine=37486604; + //BA.debugLineNum = 37486604;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(gunav2.keymon.com.mx.b4xsignaturetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "getbitmap", null));} +RDebugUtils.currentLine=37879808; + //BA.debugLineNum = 37879808;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +RDebugUtils.currentLine=37879809; + //BA.debugLineNum = 37879809;BA.debugLine="Return cvs.CreateBitmap"; +if (true) return __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .CreateBitmap(); +RDebugUtils.currentLine=37879810; + //BA.debugLineNum = 37879810;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 28;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 29;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.b4xsignaturetemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 15;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 16;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 17;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 200dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (200))); - //BA.debugLineNum = 18;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 19;BA.debugLine="TextFont = xui.CreateDefaultFont(14)"; -_textfont = _xui.CreateDefaultFont((float) (14)); - //BA.debugLineNum = 20;BA.debugLine="End Sub"; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=37552128; + //BA.debugLineNum = 37552128;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=37552129; + //BA.debugLineNum = 37552129;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=37552130; + //BA.debugLineNum = 37552130;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 200dip)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (200))); +RDebugUtils.currentLine=37552131; + //BA.debugLineNum = 37552131;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=37552132; + //BA.debugLineNum = 37552132;BA.debugLine="TextFont = xui.CreateDefaultFont(14)"; +__ref._textfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultFont((float) (14)); +RDebugUtils.currentLine=37552133; + //BA.debugLineNum = 37552133;BA.debugLine="End Sub"; return ""; } -public String _mbase_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Private Sub mBase_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 39;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_mbase.TOUCH_ACTION_DOWN,_mbase.TOUCH_ACTION_MOVE)) { +public String _mbase_touch(gunav2.keymon.com.mx.b4xsignaturetemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "mbase_touch", true)) + {return ((String) Debug.delegate(ba, "mbase_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=37814272; + //BA.debugLineNum = 37814272;BA.debugLine="Private Sub mBase_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=37814273; + //BA.debugLineNum = 37814273;BA.debugLine="Select Action"; +switch (BA.switchObjectToInt(_action,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE)) { case 0: { - //BA.debugLineNum = 41;BA.debugLine="LastX = X"; -_lastx = _x; - //BA.debugLineNum = 42;BA.debugLine="LastY = Y"; -_lasty = _y; +RDebugUtils.currentLine=37814275; + //BA.debugLineNum = 37814275;BA.debugLine="LastX = X"; +__ref._lastx /*float*/ = _x; +RDebugUtils.currentLine=37814276; + //BA.debugLineNum = 37814276;BA.debugLine="LastY = Y"; +__ref._lasty /*float*/ = _y; break; } case 1: { - //BA.debugLineNum = 44;BA.debugLine="cvs.DrawLine(LastX, LastY, X, Y, StrokeColor, S"; -_cvs.DrawLine(_lastx,_lasty,_x,_y,_strokecolor,_strokewidth); - //BA.debugLineNum = 45;BA.debugLine="LastX = X"; -_lastx = _x; - //BA.debugLineNum = 46;BA.debugLine="LastY = Y"; -_lasty = _y; - //BA.debugLineNum = 47;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 48;BA.debugLine="NumberOfPoints = NumberOfPoints + 1"; -_numberofpoints = (int) (_numberofpoints+1); +RDebugUtils.currentLine=37814278; + //BA.debugLineNum = 37814278;BA.debugLine="cvs.DrawLine(LastX, LastY, X, Y, StrokeColor, S"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawLine(__ref._lastx /*float*/ ,__ref._lasty /*float*/ ,_x,_y,__ref._strokecolor /*int*/ ,__ref._strokewidth /*float*/ ); +RDebugUtils.currentLine=37814279; + //BA.debugLineNum = 37814279;BA.debugLine="LastX = X"; +__ref._lastx /*float*/ = _x; +RDebugUtils.currentLine=37814280; + //BA.debugLineNum = 37814280;BA.debugLine="LastY = Y"; +__ref._lasty /*float*/ = _y; +RDebugUtils.currentLine=37814281; + //BA.debugLineNum = 37814281;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=37814282; + //BA.debugLineNum = 37814282;BA.debugLine="NumberOfPoints = NumberOfPoints + 1"; +__ref._numberofpoints /*int*/ = (int) (__ref._numberofpoints /*int*/ +1); break; } } ; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; +RDebugUtils.currentLine=37814284; + //BA.debugLineNum = 37814284;BA.debugLine="End Sub"; return ""; } -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 23;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 24;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +public String _resize(gunav2.keymon.com.mx.b4xsignaturetemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=37617664; + //BA.debugLineNum = 37617664;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=37617665; + //BA.debugLineNum = 37617665;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=37617666; + //BA.debugLineNum = 37617666;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=37617667; + //BA.debugLineNum = 37617667;BA.debugLine="End Sub"; return ""; } -public String _show(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; - //BA.debugLineNum = 33;BA.debugLine="cvs.DrawRect(cvs.TargetRect, BackgroundColor, Tru"; -_cvs.DrawRect(_cvs.getTargetRect(),_backgroundcolor,__c.True,(float) (0)); - //BA.debugLineNum = 34;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 35;BA.debugLine="NumberOfPoints = 0"; -_numberofpoints = (int) (0); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((gunav2.keymon.com.mx.b4xdialog) args[0]); -if (BA.fastSubCompare(sub, "SHOW")) - return _show((gunav2.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xswitch.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xswitch.java index cf52e61..7597313 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xswitch.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xswitch.java @@ -10,7 +10,7 @@ public class b4xswitch extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xswitch"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xswitch"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xswitch extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -47,225 +54,193 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width1,double _height1) throws Exception{ - //BA.debugLineNum = 148;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; - //BA.debugLineNum = 150;BA.debugLine="End Sub"; +public String _setvalue(gunav2.keymon.com.mx.b4xswitch __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_b}));} +RDebugUtils.currentLine=38338560; + //BA.debugLineNum = 38338560;BA.debugLine="Public Sub setValue(b As Boolean)"; +RDebugUtils.currentLine=38338561; + //BA.debugLineNum = 38338561;BA.debugLine="If b = mValue Then Return"; +if (_b==__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=38338562; + //BA.debugLineNum = 38338562;BA.debugLine="SetValueImpl(b, False)"; +__ref._setvalueimpl /*void*/ (null,_b,__c.False); +RDebugUtils.currentLine=38338563; + //BA.debugLineNum = 38338563;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; +public String _base_resize(gunav2.keymon.com.mx.b4xswitch __ref,double _width1,double _height1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width1,_height1}));} +RDebugUtils.currentLine=38666240; + //BA.debugLineNum = 38666240;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +RDebugUtils.currentLine=38666242; + //BA.debugLineNum = 38666242;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +RDebugUtils.currentLine=38010880; + //BA.debugLineNum = 38010880;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=38010881; + //BA.debugLineNum = 38010881;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=38010882; + //BA.debugLineNum = 38010882;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; +RDebugUtils.currentLine=38010883; + //BA.debugLineNum = 38010883;BA.debugLine="Public mBase As B4XView 'ignore"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=38010884; + //BA.debugLineNum = 38010884;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 12;BA.debugLine="Private OnColor, OffColor As BCBrush"; +RDebugUtils.currentLine=38010885; + //BA.debugLineNum = 38010885;BA.debugLine="Private OnColor, OffColor As BCBrush"; _oncolor = new b4a.example.bcpath._bcbrush(); _offcolor = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 13;BA.debugLine="Private bc As BitmapCreator"; +RDebugUtils.currentLine=38010886; + //BA.debugLineNum = 38010886;BA.debugLine="Private bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 14;BA.debugLine="Private Width As Int = 55dip"; +RDebugUtils.currentLine=38010887; + //BA.debugLineNum = 38010887;BA.debugLine="Private Width As Int = 55dip"; _width = __c.DipToCurrent((int) (55)); - //BA.debugLineNum = 15;BA.debugLine="Private Height As Int = 31dip"; +RDebugUtils.currentLine=38010888; + //BA.debugLineNum = 38010888;BA.debugLine="Private Height As Int = 31dip"; _height = __c.DipToCurrent((int) (31)); - //BA.debugLineNum = 16;BA.debugLine="Private ThumbColor As BCBrush"; +RDebugUtils.currentLine=38010889; + //BA.debugLineNum = 38010889;BA.debugLine="Private ThumbColor As BCBrush"; _thumbcolor = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 17;BA.debugLine="Private iv As ImageView"; +RDebugUtils.currentLine=38010890; + //BA.debugLineNum = 38010890;BA.debugLine="Private iv As ImageView"; _iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private mValue As Boolean"; +RDebugUtils.currentLine=38010891; + //BA.debugLineNum = 38010891;BA.debugLine="Private mValue As Boolean"; _mvalue = false; - //BA.debugLineNum = 19;BA.debugLine="Private transparent As BCBrush"; +RDebugUtils.currentLine=38010892; + //BA.debugLineNum = 38010892;BA.debugLine="Private transparent As BCBrush"; _transparent = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 20;BA.debugLine="Private LoopIndex As Int"; +RDebugUtils.currentLine=38010893; + //BA.debugLineNum = 38010893;BA.debugLine="Private LoopIndex As Int"; _loopindex = 0; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=38010894; + //BA.debugLineNum = 38010894;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private Scale As Float"; +RDebugUtils.currentLine=38010895; + //BA.debugLineNum = 38010895;BA.debugLine="Private Scale As Float"; _scale = 0f; - //BA.debugLineNum = 23;BA.debugLine="Private mEnabled As Boolean = True"; +RDebugUtils.currentLine=38010896; + //BA.debugLineNum = 38010896;BA.debugLine="Private mEnabled As Boolean = True"; _menabled = __c.True; - //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; +RDebugUtils.currentLine=38010897; + //BA.debugLineNum = 38010897;BA.debugLine="Public mHaptic As Boolean"; _mhaptic = false; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38010898; + //BA.debugLineNum = 38010898;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _designercreateview(gunav2.keymon.com.mx.b4xswitch __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="mBase.SetLayoutAnimated(0, mBase.Left, mBase.Top,"; -_mbase.SetLayoutAnimated((int) (0),_mbase.getLeft(),_mbase.getTop(),_width,_height); - //BA.debugLineNum = 37;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 38;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"pnl\")"; +RDebugUtils.currentLine=38141952; + //BA.debugLineNum = 38141952;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=38141953; + //BA.debugLineNum = 38141953;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=38141954; + //BA.debugLineNum = 38141954;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=38141954; + //BA.debugLineNum = 38141954;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=38141955; + //BA.debugLineNum = 38141955;BA.debugLine="mBase.SetLayoutAnimated(0, mBase.Left, mBase.Top,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTop(),__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=38141956; + //BA.debugLineNum = 38141956;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=38141957; + //BA.debugLineNum = 38141957;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"pnl\")"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 39;BA.debugLine="pnl.Color = xui.Color_Transparent"; -_pnl.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 40;BA.debugLine="iv.Initialize(\"\")"; -_iv.Initialize(ba,""); - //BA.debugLineNum = 41;BA.debugLine="mBase.AddView(iv, 0, 0, Width, Height)"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(pnl, 0, 0, Width, Height)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 44;BA.debugLine="bc.Initialize(Width, Height)"; -_bc._initialize(ba,_width,_height); - //BA.debugLineNum = 45;BA.debugLine="Scale = xui.Scale"; -_scale = _xui.getScale(); - //BA.debugLineNum = 50;BA.debugLine="OnColor = bc.CreateBrushFromColor(xui.PaintOrColo"; -_oncolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("OnColor")))); - //BA.debugLineNum = 51;BA.debugLine="OffColor = bc.CreateBrushFromColor(xui.PaintOrCol"; -_offcolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("OffColor")))); - //BA.debugLineNum = 52;BA.debugLine="ThumbColor = bc.CreateBrushFromColor(xui.PaintOrC"; -_thumbcolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("ThumbColor")))); - //BA.debugLineNum = 53;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 54;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; -_transparent = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 55;BA.debugLine="mEnabled = mBase.Enabled"; -_menabled = _mbase.getEnabled(); - //BA.debugLineNum = 56;BA.debugLine="mBase.Enabled = True"; -_mbase.setEnabled(__c.True); - //BA.debugLineNum = 57;BA.debugLine="SetValueImpl(Props.Get(\"Value\"), True)"; -_setvalueimpl(BA.ObjectToBoolean(_props.Get((Object)("Value"))),__c.True); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=38141958; + //BA.debugLineNum = 38141958;BA.debugLine="pnl.Color = xui.Color_Transparent"; +_pnl.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=38141959; + //BA.debugLineNum = 38141959;BA.debugLine="iv.Initialize(\"\")"; +__ref._iv /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .Initialize(ba,""); +RDebugUtils.currentLine=38141960; + //BA.debugLineNum = 38141960;BA.debugLine="mBase.AddView(iv, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._iv /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=38141961; + //BA.debugLineNum = 38141961;BA.debugLine="mBase.AddView(pnl, 0, 0, Width, Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=38141963; + //BA.debugLineNum = 38141963;BA.debugLine="bc.Initialize(Width, Height)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=38141964; + //BA.debugLineNum = 38141964;BA.debugLine="Scale = xui.Scale"; +__ref._scale /*float*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale(); +RDebugUtils.currentLine=38141969; + //BA.debugLineNum = 38141969;BA.debugLine="OnColor = bc.CreateBrushFromColor(xui.PaintOrColo"; +__ref._oncolor /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("OnColor")))); +RDebugUtils.currentLine=38141970; + //BA.debugLineNum = 38141970;BA.debugLine="OffColor = bc.CreateBrushFromColor(xui.PaintOrCol"; +__ref._offcolor /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("OffColor")))); +RDebugUtils.currentLine=38141971; + //BA.debugLineNum = 38141971;BA.debugLine="ThumbColor = bc.CreateBrushFromColor(xui.PaintOrC"; +__ref._thumbcolor /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ThumbColor")))); +RDebugUtils.currentLine=38141972; + //BA.debugLineNum = 38141972;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=38141973; + //BA.debugLineNum = 38141973;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; +__ref._transparent /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=38141974; + //BA.debugLineNum = 38141974;BA.debugLine="mEnabled = mBase.Enabled"; +__ref._menabled /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getEnabled(); +RDebugUtils.currentLine=38141975; + //BA.debugLineNum = 38141975;BA.debugLine="mBase.Enabled = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=38141976; + //BA.debugLineNum = 38141976;BA.debugLine="SetValueImpl(Props.Get(\"Value\"), True)"; +__ref._setvalueimpl /*void*/ (null,BA.ObjectToBoolean(_props.Get((Object)("Value"))),__c.True); +RDebugUtils.currentLine=38141977; + //BA.debugLineNum = 38141977;BA.debugLine="End Sub"; return ""; } -public String _draw(float _state) throws Exception{ -float _r = 0f; -float _cx = 0f; -int _cy = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _smallrect = null; -float _w = 0f; -float _h = 0f; - //BA.debugLineNum = 126;BA.debugLine="Private Sub Draw (State As Float)"; - //BA.debugLineNum = 127;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; -_bc._drawrect2(_bc._targetrect,_transparent,__c.True,(int) (0)); - //BA.debugLineNum = 128;BA.debugLine="Dim r As Float = Round(bc.mHeight / 2)"; -_r = (float) (__c.Round(_bc._mheight/(double)2)); - //BA.debugLineNum = 129;BA.debugLine="Dim cx As Float = r - 1 * Scale + (bc.mWidth - 2"; -_cx = (float) (_r-1*_scale+(_bc._mwidth-2*_r)*_state); - //BA.debugLineNum = 130;BA.debugLine="If State = 0 Then"; -if (_state==0) { - //BA.debugLineNum = 131;BA.debugLine="cx = r"; -_cx = _r; - }else if(_state==1) { - //BA.debugLineNum = 133;BA.debugLine="cx = Round(bc.mWidth - 1 * Scale - r)"; -_cx = (float) (__c.Round(_bc._mwidth-1*_scale-_r)); - }; - //BA.debugLineNum = 135;BA.debugLine="Dim cy As Int = bc.mHeight / 2"; -_cy = (int) (_bc._mheight/(double)2); - //BA.debugLineNum = 136;BA.debugLine="Dim smallrect As B4XRect"; -_smallrect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 137;BA.debugLine="Dim w As Float = State * bc.mWidth"; -_w = (float) (_state*_bc._mwidth); - //BA.debugLineNum = 138;BA.debugLine="Dim h As Float = State * bc.mHeight"; -_h = (float) (_state*_bc._mheight); - //BA.debugLineNum = 139;BA.debugLine="If State < 1 Then bc.DrawRectRounded2(bc.TargetRe"; -if (_state<1) { -_bc._drawrectrounded2(_bc._targetrect,_offcolor,__c.True,(int) (2*_scale),(int) (_r));}; - //BA.debugLineNum = 140;BA.debugLine="smallrect.Initialize(bc.mWidth / 2 - w / 2, cy -"; -_smallrect.Initialize((float) (_bc._mwidth/(double)2-_w/(double)2),(float) (_cy-_h/(double)2),(float) (_bc._mwidth/(double)2+_w/(double)2),(float) (_cy+_h/(double)2)); - //BA.debugLineNum = 141;BA.debugLine="If State > 0 Then bc.DrawRectRounded2(smallrect,"; -if (_state>0) { -_bc._drawrectrounded2(_smallrect,_oncolor,__c.True,(int) (2*_scale),(int) (_smallrect.getHeight()/(double)2));}; - //BA.debugLineNum = 142;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 143;BA.debugLine="bc.DrawCircle2(cx, cy, r - 2 * Scale, ThumbColor"; -_bc._drawcircle2(_cx,(float) (_cy),(float) (_r-2*_scale),_thumbcolor,__c.True,(int) (0)); - }; - //BA.debugLineNum = 145;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject()))); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return ""; -} -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 122;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 123;BA.debugLine="Return mEnabled"; -if (true) return _menabled; - //BA.debugLineNum = 124;BA.debugLine="End Sub"; -return false; -} -public boolean _getvalue() throws Exception{ - //BA.debugLineNum = 113;BA.debugLine="Public Sub getValue As Boolean"; - //BA.debugLineNum = 114;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _pnl_click() throws Exception{ - //BA.debugLineNum = 70;BA.debugLine="Private Sub pnl_Click"; - //BA.debugLineNum = 72;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 73;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 74;BA.debugLine="SetValueImpl(Not(mValue), False)"; -_setvalueimpl(__c.Not(_mvalue),__c.False); - //BA.debugLineNum = 75;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 76;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); - }; - }; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub setEnabled (b As Boolean)"; - //BA.debugLineNum = 118;BA.debugLine="mEnabled = b"; -_menabled = _b; - //BA.debugLineNum = 119;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 120;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(boolean _b) throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub setValue(b As Boolean)"; - //BA.debugLineNum = 109;BA.debugLine="If b = mValue Then Return"; -if (_b==_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 110;BA.debugLine="SetValueImpl(b, False)"; -_setvalueimpl(_b,__c.False); - //BA.debugLineNum = 111;BA.debugLine="End Sub"; -return ""; -} -public void _setvalueimpl(boolean _b,boolean _immediate) throws Exception{ -ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,_b,_immediate); +public void _setvalueimpl(gunav2.keymon.com.mx.b4xswitch __ref,boolean _b,boolean _immediate) throws Exception{ +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setvalueimpl", true)) + {Debug.delegate(ba, "setvalueimpl", new Object[] {_b,_immediate}); return;} +ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,__ref,_b,_immediate); rsub.resume(ba, null); } public static class ResumableSub_SetValueImpl extends BA.ResumableSub { -public ResumableSub_SetValueImpl(gunav2.keymon.com.mx.b4xswitch parent,boolean _b,boolean _immediate) { +public ResumableSub_SetValueImpl(gunav2.keymon.com.mx.b4xswitch parent,gunav2.keymon.com.mx.b4xswitch __ref,boolean _b,boolean _immediate) { this.parent = parent; +this.__ref = __ref; this._b = _b; this._immediate = _immediate; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xswitch __ref; gunav2.keymon.com.mx.b4xswitch parent; boolean _b; boolean _immediate; @@ -276,6 +251,7 @@ float _state1 = 0f; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xswitch"; while (true) { switch (state) { @@ -285,11 +261,14 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 82;BA.debugLine="mValue = b"; -parent._mvalue = _b; - //BA.debugLineNum = 83;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 84;BA.debugLine="If Immediate Then"; +RDebugUtils.currentLine=38273025; + //BA.debugLineNum = 38273025;BA.debugLine="mValue = b"; +__ref._mvalue /*boolean*/ = _b; +RDebugUtils.currentLine=38273026; + //BA.debugLineNum = 38273026;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=38273027; + //BA.debugLineNum = 38273027;BA.debugLine="If Immediate Then"; if (true) break; case 1: @@ -304,13 +283,14 @@ this.state = 13; case 3: //C this.state = 4; - //BA.debugLineNum = 85;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +RDebugUtils.currentLine=38273028; + //BA.debugLineNum = 38273028;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; if (true) break; case 4: //if this.state = 11; -if (parent._mvalue) { +if (__ref._mvalue /*boolean*/ ) { this.state = 6; ;} else { @@ -320,13 +300,13 @@ this.state = 8; case 6: //C this.state = 11; -parent._draw((float) (1)); +__ref._draw /*String*/ (null,(float) (1)); if (true) break; case 8: //C this.state = 11; -parent._draw((float) (0)); +__ref._draw /*String*/ (null,(float) (0)); if (true) break; case 11: @@ -338,13 +318,17 @@ this.state = 41; case 13: //C this.state = 14; - //BA.debugLineNum = 87;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 88;BA.debugLine="Dim start As Long = DateTime.Now"; +RDebugUtils.currentLine=38273030; + //BA.debugLineNum = 38273030;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=38273031; + //BA.debugLineNum = 38273031;BA.debugLine="Dim start As Long = DateTime.Now"; _start = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 89;BA.debugLine="Dim duration As Int = 200"; +RDebugUtils.currentLine=38273032; + //BA.debugLineNum = 38273032;BA.debugLine="Dim duration As Int = 200"; _duration = (int) (200); - //BA.debugLineNum = 90;BA.debugLine="Do While DateTime.Now < start + duration"; +RDebugUtils.currentLine=38273033; + //BA.debugLineNum = 38273033;BA.debugLine="Do While DateTime.Now < start + duration"; if (true) break; case 14: @@ -359,15 +343,17 @@ if (true) break; case 16: //C this.state = 17; - //BA.debugLineNum = 91;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +RDebugUtils.currentLine=38273034; + //BA.debugLineNum = 38273034;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; _state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); - //BA.debugLineNum = 92;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +RDebugUtils.currentLine=38273035; + //BA.debugLineNum = 38273035;BA.debugLine="If mValue = False Then state1 = 1 - state1"; if (true) break; case 17: //if this.state = 22; -if (parent._mvalue==parent.__c.False) { +if (__ref._mvalue /*boolean*/ ==parent.__c.False) { this.state = 19; ;}if (true) break; @@ -381,23 +367,26 @@ case 22: //C this.state = 23; ; - //BA.debugLineNum = 93;BA.debugLine="Draw(state1)"; -parent._draw(_state1); - //BA.debugLineNum = 94;BA.debugLine="Sleep(16)"; -parent.__c.Sleep(ba,this,(int) (16)); +RDebugUtils.currentLine=38273036; + //BA.debugLineNum = 38273036;BA.debugLine="Draw(state1)"; +__ref._draw /*String*/ (null,_state1); +RDebugUtils.currentLine=38273037; + //BA.debugLineNum = 38273037;BA.debugLine="Sleep(16)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xswitch", "setvalueimpl"),(int) (16)); this.state = 47; return; case 47: //C this.state = 23; ; - //BA.debugLineNum = 95;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +RDebugUtils.currentLine=38273038; + //BA.debugLineNum = 38273038;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; if (true) break; case 23: //if this.state = 28; -if (_myindex!=parent._loopindex) { +if (_myindex!=__ref._loopindex /*int*/ ) { this.state = 25; ;}if (true) break; @@ -414,25 +403,27 @@ this.state = 14; ; if (true) break; ; - //BA.debugLineNum = 97;BA.debugLine="If MyIndex = LoopIndex Then"; +RDebugUtils.currentLine=38273040; + //BA.debugLineNum = 38273040;BA.debugLine="If MyIndex = LoopIndex Then"; case 29: //if this.state = 40; -if (_myindex==parent._loopindex) { +if (_myindex==__ref._loopindex /*int*/ ) { this.state = 31; }if (true) break; case 31: //C this.state = 32; - //BA.debugLineNum = 98;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +RDebugUtils.currentLine=38273041; + //BA.debugLineNum = 38273041;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; if (true) break; case 32: //if this.state = 39; -if (parent._mvalue) { +if (__ref._mvalue /*boolean*/ ) { this.state = 34; ;} else { @@ -442,13 +433,13 @@ this.state = 36; case 34: //C this.state = 39; -parent._draw((float) (1)); +__ref._draw /*String*/ (null,(float) (1)); if (true) break; case 36: //C this.state = 39; -parent._draw((float) (0)); +__ref._draw /*String*/ (null,(float) (0)); if (true) break; case 39: @@ -463,12 +454,13 @@ this.state = 41; ; if (true) break; ; - //BA.debugLineNum = 101;BA.debugLine="If mEnabled Then"; +RDebugUtils.currentLine=38273044; + //BA.debugLineNum = 38273044;BA.debugLine="If mEnabled Then"; case 41: //if this.state = 46; -if (parent._menabled) { +if (__ref._menabled /*boolean*/ ) { this.state = 43; }else { this.state = 45; @@ -477,30 +469,195 @@ this.state = 45; case 43: //C this.state = 46; - //BA.debugLineNum = 102;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (1)); +RDebugUtils.currentLine=38273045; + //BA.debugLineNum = 38273045;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; +parent._xuiviewsutils._setalpha /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(float) (1)); if (true) break; case 45: //C this.state = 46; - //BA.debugLineNum = 104;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.6)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (0.6)); +RDebugUtils.currentLine=38273047; + //BA.debugLineNum = 38273047;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.6)"; +parent._xuiviewsutils._setalpha /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(float) (0.6)); if (true) break; case 46: //C this.state = -1; ; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38273049; + //BA.debugLineNum = 38273049;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _draw(gunav2.keymon.com.mx.b4xswitch __ref,float _state) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", new Object[] {_state}));} +float _r = 0f; +float _cx = 0f; +int _cy = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _smallrect = null; +float _w = 0f; +float _h = 0f; +RDebugUtils.currentLine=38600704; + //BA.debugLineNum = 38600704;BA.debugLine="Private Sub Draw (State As Float)"; +RDebugUtils.currentLine=38600705; + //BA.debugLineNum = 38600705;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrect2(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._transparent /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=38600706; + //BA.debugLineNum = 38600706;BA.debugLine="Dim r As Float = Round(bc.mHeight / 2)"; +_r = (float) (__c.Round(__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2)); +RDebugUtils.currentLine=38600707; + //BA.debugLineNum = 38600707;BA.debugLine="Dim cx As Float = r - 1 * Scale + (bc.mWidth - 2"; +_cx = (float) (_r-1*__ref._scale /*float*/ +(__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth-2*_r)*_state); +RDebugUtils.currentLine=38600708; + //BA.debugLineNum = 38600708;BA.debugLine="If State = 0 Then"; +if (_state==0) { +RDebugUtils.currentLine=38600709; + //BA.debugLineNum = 38600709;BA.debugLine="cx = r"; +_cx = _r; + }else +{RDebugUtils.currentLine=38600710; + //BA.debugLineNum = 38600710;BA.debugLine="Else If State = 1 Then"; +if (_state==1) { +RDebugUtils.currentLine=38600711; + //BA.debugLineNum = 38600711;BA.debugLine="cx = Round(bc.mWidth - 1 * Scale - r)"; +_cx = (float) (__c.Round(__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth-1*__ref._scale /*float*/ -_r)); + }} +; +RDebugUtils.currentLine=38600713; + //BA.debugLineNum = 38600713;BA.debugLine="Dim cy As Int = bc.mHeight / 2"; +_cy = (int) (__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2); +RDebugUtils.currentLine=38600714; + //BA.debugLineNum = 38600714;BA.debugLine="Dim smallrect As B4XRect"; +_smallrect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=38600715; + //BA.debugLineNum = 38600715;BA.debugLine="Dim w As Float = State * bc.mWidth"; +_w = (float) (_state*__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth); +RDebugUtils.currentLine=38600716; + //BA.debugLineNum = 38600716;BA.debugLine="Dim h As Float = State * bc.mHeight"; +_h = (float) (_state*__ref._bc /*b4a.example.bitmapcreator*/ ._mheight); +RDebugUtils.currentLine=38600717; + //BA.debugLineNum = 38600717;BA.debugLine="If State < 1 Then bc.DrawRectRounded2(bc.TargetRe"; +if (_state<1) { +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrectrounded2(__ref._bc /*b4a.example.bitmapcreator*/ ._targetrect,__ref._offcolor /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (2*__ref._scale /*float*/ ),(int) (_r));}; +RDebugUtils.currentLine=38600718; + //BA.debugLineNum = 38600718;BA.debugLine="smallrect.Initialize(bc.mWidth / 2 - w / 2, cy -"; +_smallrect.Initialize((float) (__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth/(double)2-_w/(double)2),(float) (_cy-_h/(double)2),(float) (__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth/(double)2+_w/(double)2),(float) (_cy+_h/(double)2)); +RDebugUtils.currentLine=38600719; + //BA.debugLineNum = 38600719;BA.debugLine="If State > 0 Then bc.DrawRectRounded2(smallrect,"; +if (_state>0) { +__ref._bc /*b4a.example.bitmapcreator*/ ._drawrectrounded2(_smallrect,__ref._oncolor /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (2*__ref._scale /*float*/ ),(int) (_smallrect.getHeight()/(double)2));}; +RDebugUtils.currentLine=38600720; + //BA.debugLineNum = 38600720;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=38600721; + //BA.debugLineNum = 38600721;BA.debugLine="bc.DrawCircle2(cx, cy, r - 2 * Scale, ThumbColor"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawcircle2(_cx,(float) (_cy),(float) (_r-2*__ref._scale /*float*/ ),__ref._thumbcolor /*b4a.example.bcpath._bcbrush*/ ,__c.True,(int) (0)); + }; +RDebugUtils.currentLine=38600723; + //BA.debugLineNum = 38600723;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(__ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(),(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._iv /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .getObject()))); +RDebugUtils.currentLine=38600724; + //BA.debugLineNum = 38600724;BA.debugLine="End Sub"; +return ""; } +public boolean _getenabled(gunav2.keymon.com.mx.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=38535168; + //BA.debugLineNum = 38535168;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=38535169; + //BA.debugLineNum = 38535169;BA.debugLine="Return mEnabled"; +if (true) return __ref._menabled /*boolean*/ ; +RDebugUtils.currentLine=38535170; + //BA.debugLineNum = 38535170;BA.debugLine="End Sub"; +return false; } +public boolean _getvalue(gunav2.keymon.com.mx.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Boolean) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=38404096; + //BA.debugLineNum = 38404096;BA.debugLine="Public Sub getValue As Boolean"; +RDebugUtils.currentLine=38404097; + //BA.debugLineNum = 38404097;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*boolean*/ ; +RDebugUtils.currentLine=38404098; + //BA.debugLineNum = 38404098;BA.debugLine="End Sub"; +return false; +} +public String _initialize(gunav2.keymon.com.mx.b4xswitch __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=38076416; + //BA.debugLineNum = 38076416;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=38076417; + //BA.debugLineNum = 38076417;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=38076418; + //BA.debugLineNum = 38076418;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=38076419; + //BA.debugLineNum = 38076419;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_click(gunav2.keymon.com.mx.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "pnl_click", true)) + {return ((String) Debug.delegate(ba, "pnl_click", null));} +RDebugUtils.currentLine=38207488; + //BA.debugLineNum = 38207488;BA.debugLine="Private Sub pnl_Click"; +RDebugUtils.currentLine=38207490; + //BA.debugLineNum = 38207490;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=38207491; + //BA.debugLineNum = 38207491;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=38207492; + //BA.debugLineNum = 38207492;BA.debugLine="SetValueImpl(Not(mValue), False)"; +__ref._setvalueimpl /*void*/ (null,__c.Not(__ref._mvalue /*boolean*/ ),__c.False); +RDebugUtils.currentLine=38207493; + //BA.debugLineNum = 38207493;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(int) (1))) { +RDebugUtils.currentLine=38207494; + //BA.debugLineNum = 38207494;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*boolean*/ )); + }; + }; +RDebugUtils.currentLine=38207497; + //BA.debugLineNum = 38207497;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(gunav2.keymon.com.mx.b4xswitch __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=38469632; + //BA.debugLineNum = 38469632;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +RDebugUtils.currentLine=38469633; + //BA.debugLineNum = 38469633;BA.debugLine="mEnabled = b"; +__ref._menabled /*boolean*/ = _b; +RDebugUtils.currentLine=38469634; + //BA.debugLineNum = 38469634;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=38469635; + //BA.debugLineNum = 38469635;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xtimedtemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xtimedtemplate.java index 9f17260..81fcb53 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xtimedtemplate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xtimedtemplate.java @@ -10,7 +10,7 @@ public class b4xtimedtemplate extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xtimedtemplate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.b4xtimedtemplate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class b4xtimedtemplate extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; public gunav2.keymon.com.mx.anotherprogressbar _anotherprogressbar1 = null; @@ -35,90 +42,75 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; -_anotherprogressbar1 = new gunav2.keymon.com.mx.anotherprogressbar(); - //BA.debugLineNum = 5;BA.debugLine="Private mTemplate As Object"; -_mtemplate = new Object(); - //BA.debugLineNum = 6;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; -_timeoutmilliseconds = (int) (10000); - //BA.debugLineNum = 7;BA.debugLine="Private Index As Int"; -_index = 0; - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 42;BA.debugLine="Index = Index + 1"; -_index = (int) (_index+1); - //BA.debugLineNum = 43;BA.debugLine="CallSub2(mTemplate, \"DialogClosed\", Result)"; -__c.CallSubNew2(ba,_mtemplate,"DialogClosed",(Object)(_result)); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.b4xtimedtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 17;BA.debugLine="If mBase.NumberOfViews = 0 Then"; -if (_mbase.getNumberOfViews()==0) { - //BA.debugLineNum = 18;BA.debugLine="Dim InnerPanel As B4XView = CallSub2(mTemplate,"; +RDebugUtils.currentLine=38862848; + //BA.debugLineNum = 38862848;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=38862849; + //BA.debugLineNum = 38862849;BA.debugLine="If mBase.NumberOfViews = 0 Then"; +if (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()==0) { +RDebugUtils.currentLine=38862850; + //BA.debugLineNum = 38862850;BA.debugLine="Dim InnerPanel As B4XView = CallSub2(mTemplate,"; _innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_innerpanel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.CallSubNew2(ba,_mtemplate,"GetPanel",(Object)(_dialog)))); - //BA.debugLineNum = 19;BA.debugLine="If InnerPanel.Parent.IsInitialized Then InnerPan"; +_innerpanel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"GetPanel",(Object)(_dialog)))); +RDebugUtils.currentLine=38862851; + //BA.debugLineNum = 38862851;BA.debugLine="If InnerPanel.Parent.IsInitialized Then InnerPan"; if (_innerpanel.getParent().IsInitialized()) { _innerpanel.RemoveViewFromParent();}; - //BA.debugLineNum = 20;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, InnerPanel.Widt"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_innerpanel.getWidth(),(int) (_innerpanel.getHeight()+__c.DipToCurrent((int) (19)))); - //BA.debugLineNum = 21;BA.debugLine="mBase.LoadLayout(\"TimedDialogTemplate\")"; -_mbase.LoadLayout("TimedDialogTemplate",ba); - //BA.debugLineNum = 22;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 23;BA.debugLine="mBase.AddView(InnerPanel, 0, 19dip, InnerPanel.W"; -_mbase.AddView((android.view.View)(_innerpanel.getObject()),(int) (0),__c.DipToCurrent((int) (19)),_innerpanel.getWidth(),_innerpanel.getHeight()); +RDebugUtils.currentLine=38862852; + //BA.debugLineNum = 38862852;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, InnerPanel.Widt"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_innerpanel.getWidth(),(int) (_innerpanel.getHeight()+__c.DipToCurrent((int) (19)))); +RDebugUtils.currentLine=38862853; + //BA.debugLineNum = 38862853;BA.debugLine="mBase.LoadLayout(\"TimedDialogTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("TimedDialogTemplate",ba); +RDebugUtils.currentLine=38862854; + //BA.debugLineNum = 38862854;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent,(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=38862855; + //BA.debugLineNum = 38862855;BA.debugLine="mBase.AddView(InnerPanel, 0, 19dip, InnerPanel.W"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_innerpanel.getObject()),(int) (0),__c.DipToCurrent((int) (19)),_innerpanel.getWidth(),_innerpanel.getHeight()); }; - //BA.debugLineNum = 25;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 26;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38862857; + //BA.debugLineNum = 38862857;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=38862858; + //BA.debugLineNum = 38862858;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _innertemplate) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (InnerTemplate As Object)"; - //BA.debugLineNum = 11;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 12;BA.debugLine="mTemplate = InnerTemplate"; -_mtemplate = _innertemplate; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public void _show(gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); +public void _show(gunav2.keymon.com.mx.b4xtimedtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); rsub.resume(ba, null); } public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(gunav2.keymon.com.mx.b4xtimedtemplate parent,gunav2.keymon.com.mx.b4xdialog _dialog) { +public ResumableSub_Show(gunav2.keymon.com.mx.b4xtimedtemplate parent,gunav2.keymon.com.mx.b4xtimedtemplate __ref,gunav2.keymon.com.mx.b4xdialog _dialog) { this.parent = parent; +this.__ref = __ref; this._dialog = _dialog; +this.__ref = parent; } +gunav2.keymon.com.mx.b4xtimedtemplate __ref; gunav2.keymon.com.mx.b4xtimedtemplate parent; gunav2.keymon.com.mx.b4xdialog _dialog; int _myindex = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xtimedtemplate"; while (true) { switch (state) { @@ -128,60 +120,124 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 29;BA.debugLine="CallSub2(mTemplate, \"Show\", Dialog)"; -parent.__c.CallSubNew2(ba,parent._mtemplate,"Show",(Object)(_dialog)); - //BA.debugLineNum = 30;BA.debugLine="AnotherProgressBar1.SetValueNoAnimation(0)"; -parent._anotherprogressbar1._setvaluenoanimation /*String*/ ((int) (0)); - //BA.debugLineNum = 31;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; -parent._anotherprogressbar1._valuechangepersecond /*float*/ = (float) (100/(double)(parent._timeoutmilliseconds/(double)1000)); - //BA.debugLineNum = 32;BA.debugLine="AnotherProgressBar1.Value = 100"; -parent._anotherprogressbar1._setvalue /*int*/ ((int) (100)); - //BA.debugLineNum = 33;BA.debugLine="Index = Index + 1"; -parent._index = (int) (parent._index+1); - //BA.debugLineNum = 34;BA.debugLine="Dim MyIndex As Int = Index"; -_myindex = parent._index; - //BA.debugLineNum = 35;BA.debugLine="Sleep(TimeoutMilliseconds)"; -parent.__c.Sleep(ba,this,parent._timeoutmilliseconds); +RDebugUtils.currentLine=38928385; + //BA.debugLineNum = 38928385;BA.debugLine="CallSub2(mTemplate, \"Show\", Dialog)"; +parent.__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"Show",(Object)(_dialog)); +RDebugUtils.currentLine=38928386; + //BA.debugLineNum = 38928386;BA.debugLine="AnotherProgressBar1.SetValueNoAnimation(0)"; +__ref._anotherprogressbar1 /*gunav2.keymon.com.mx.anotherprogressbar*/ ._setvaluenoanimation /*String*/ (null,(int) (0)); +RDebugUtils.currentLine=38928387; + //BA.debugLineNum = 38928387;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; +__ref._anotherprogressbar1 /*gunav2.keymon.com.mx.anotherprogressbar*/ ._valuechangepersecond /*float*/ = (float) (100/(double)(__ref._timeoutmilliseconds /*int*/ /(double)1000)); +RDebugUtils.currentLine=38928388; + //BA.debugLineNum = 38928388;BA.debugLine="AnotherProgressBar1.Value = 100"; +__ref._anotherprogressbar1 /*gunav2.keymon.com.mx.anotherprogressbar*/ ._setvalue /*int*/ (null,(int) (100)); +RDebugUtils.currentLine=38928389; + //BA.debugLineNum = 38928389;BA.debugLine="Index = Index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=38928390; + //BA.debugLineNum = 38928390;BA.debugLine="Dim MyIndex As Int = Index"; +_myindex = __ref._index /*int*/ ; +RDebugUtils.currentLine=38928391; + //BA.debugLineNum = 38928391;BA.debugLine="Sleep(TimeoutMilliseconds)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xtimedtemplate", "show"),__ref._timeoutmilliseconds /*int*/ ); this.state = 5; return; case 5: //C this.state = 1; ; - //BA.debugLineNum = 36;BA.debugLine="If MyIndex = Index Then"; +RDebugUtils.currentLine=38928392; + //BA.debugLineNum = 38928392;BA.debugLine="If MyIndex = Index Then"; if (true) break; case 1: //if this.state = 4; -if (_myindex==parent._index) { +if (_myindex==__ref._index /*int*/ ) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 37;BA.debugLine="Dialog.Close(xui.DialogResponse_Cancel)"; -_dialog._close /*boolean*/ (parent._xui.DialogResponse_Cancel); +RDebugUtils.currentLine=38928393; + //BA.debugLineNum = 38928393;BA.debugLine="Dialog.Close(xui.DialogResponse_Cancel)"; +_dialog._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Cancel); if (true) break; case 4: //C this.state = -1; ; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +RDebugUtils.currentLine=38928395; + //BA.debugLineNum = 38928395;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((gunav2.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; +public String _dialogclosed(gunav2.keymon.com.mx.b4xtimedtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=38993920; + //BA.debugLineNum = 38993920;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=38993921; + //BA.debugLineNum = 38993921;BA.debugLine="Index = Index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=38993922; + //BA.debugLineNum = 38993922;BA.debugLine="CallSub2(mTemplate, \"DialogClosed\", Result)"; +__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"DialogClosed",(Object)(_result)); +RDebugUtils.currentLine=38993923; + //BA.debugLineNum = 38993923;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(gunav2.keymon.com.mx.b4xtimedtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +RDebugUtils.currentLine=38731776; + //BA.debugLineNum = 38731776;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=38731777; + //BA.debugLineNum = 38731777;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=38731778; + //BA.debugLineNum = 38731778;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=38731779; + //BA.debugLineNum = 38731779;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; +_anotherprogressbar1 = new gunav2.keymon.com.mx.anotherprogressbar(); +RDebugUtils.currentLine=38731780; + //BA.debugLineNum = 38731780;BA.debugLine="Private mTemplate As Object"; +_mtemplate = new Object(); +RDebugUtils.currentLine=38731781; + //BA.debugLineNum = 38731781;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; +_timeoutmilliseconds = (int) (10000); +RDebugUtils.currentLine=38731782; + //BA.debugLineNum = 38731782;BA.debugLine="Private Index As Int"; +_index = 0; +RDebugUtils.currentLine=38731783; + //BA.debugLineNum = 38731783;BA.debugLine="End Sub"; +return ""; } +public String _initialize(gunav2.keymon.com.mx.b4xtimedtemplate __ref,anywheresoftware.b4a.BA _ba,Object _innertemplate) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_innertemplate}));} +RDebugUtils.currentLine=38797312; + //BA.debugLineNum = 38797312;BA.debugLine="Public Sub Initialize (InnerTemplate As Object)"; +RDebugUtils.currentLine=38797313; + //BA.debugLineNum = 38797313;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=38797314; + //BA.debugLineNum = 38797314;BA.debugLine="mTemplate = InnerTemplate"; +__ref._mtemplate /*Object*/ = _innertemplate; +RDebugUtils.currentLine=38797316; + //BA.debugLineNum = 38797316;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/batteryutilities.java b/B4A/Objects/src/gunav2/keymon/com/mx/batteryutilities.java index 6278895..525d83e 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/batteryutilities.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/batteryutilities.java @@ -17,7 +17,7 @@ public class batteryutilities extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.batteryutilities"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.batteryutilities"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -30,64 +30,97 @@ public class batteryutilities extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4j.object.JavaObject _nativeme = null; public b4a.example.dateutils _dateutils = null; public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private nativeMe As JavaObject"; -_nativeme = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 5;BA.debugLine="End Sub"; +public String _initialize(gunav2.keymon.com.mx.batteryutilities __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=73400320; + //BA.debugLineNum = 73400320;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=73400321; + //BA.debugLineNum = 73400321;BA.debugLine="nativeMe = Me"; +__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); +RDebugUtils.currentLine=73400322; + //BA.debugLineNum = 73400322;BA.debugLine="End Sub"; return ""; } -public int[] _getbatteryinformation() throws Exception{ +public int[] _getbatteryinformation(gunav2.keymon.com.mx.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "getbatteryinformation", false)) + {return ((int[]) Debug.delegate(ba, "getbatteryinformation", null));} int[] _batteryinfo = null; - //BA.debugLineNum = 22;BA.debugLine="Public Sub getBatteryInformation () As Int()"; - //BA.debugLineNum = 24;BA.debugLine="Dim batteryInfo(11) As Int"; +RDebugUtils.currentLine=73465856; + //BA.debugLineNum = 73465856;BA.debugLine="Public Sub getBatteryInformation () As Int()"; +RDebugUtils.currentLine=73465858; + //BA.debugLineNum = 73465858;BA.debugLine="Dim batteryInfo(11) As Int"; _batteryinfo = new int[(int) (11)]; ; - //BA.debugLineNum = 25;BA.debugLine="batteryInfo = nativeMe.RunMethod(\"getBatteryInfor"; -_batteryinfo = (int[])(_nativeme.RunMethod("getBatteryInformation",(Object[])(__c.Null))); - //BA.debugLineNum = 26;BA.debugLine="Return batteryInfo"; +RDebugUtils.currentLine=73465859; + //BA.debugLineNum = 73465859;BA.debugLine="batteryInfo = nativeMe.RunMethod(\"getBatteryInfor"; +_batteryinfo = (int[])(__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBatteryInformation",(Object[])(__c.Null))); +RDebugUtils.currentLine=73465860; + //BA.debugLineNum = 73465860;BA.debugLine="Return batteryInfo"; if (true) return _batteryinfo; - //BA.debugLineNum = 28;BA.debugLine="End Sub"; +RDebugUtils.currentLine=73465862; + //BA.debugLineNum = 73465862;BA.debugLine="End Sub"; return null; } -public String _getbatterytechnolgy() throws Exception{ +public String _class_globals(gunav2.keymon.com.mx.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +RDebugUtils.currentLine=73334784; + //BA.debugLineNum = 73334784;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=73334785; + //BA.debugLineNum = 73334785;BA.debugLine="Private nativeMe As JavaObject"; +_nativeme = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=73334787; + //BA.debugLineNum = 73334787;BA.debugLine="End Sub"; +return ""; +} +public String _getbatterytechnolgy(gunav2.keymon.com.mx.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "getbatterytechnolgy", false)) + {return ((String) Debug.delegate(ba, "getbatterytechnolgy", null));} String _batterytech = ""; - //BA.debugLineNum = 30;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; - //BA.debugLineNum = 32;BA.debugLine="Dim batterytech As String"; +RDebugUtils.currentLine=73531392; + //BA.debugLineNum = 73531392;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; +RDebugUtils.currentLine=73531394; + //BA.debugLineNum = 73531394;BA.debugLine="Dim batterytech As String"; _batterytech = ""; - //BA.debugLineNum = 33;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; -_batterytech = BA.ObjectToString(_nativeme.RunMethod("getBatteryTechnology",(Object[])(__c.Null))); - //BA.debugLineNum = 34;BA.debugLine="Return batterytech"; +RDebugUtils.currentLine=73531395; + //BA.debugLineNum = 73531395;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; +_batterytech = BA.ObjectToString(__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBatteryTechnology",(Object[])(__c.Null))); +RDebugUtils.currentLine=73531396; + //BA.debugLineNum = 73531396;BA.debugLine="Return batterytech"; if (true) return _batterytech; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentLine=73531398; + //BA.debugLineNum = 73531398;BA.debugLine="End Sub"; return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 8;BA.debugLine="nativeMe = Me"; -_nativeme = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; } @@ -161,4 +194,4 @@ return BA.SubDelegator.SubNotFound; -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_bitacora.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_bitacora.java index aea988b..37080fd 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_bitacora.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_bitacora.java @@ -10,7 +10,7 @@ public class c_bitacora extends B4AClass.ImplB4AClass implements BA.SubDelegator private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_bitacora"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_bitacora"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_bitacora extends B4AClass.ImplB4AClass implements BA.SubDelegator ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.sql.SQL _db = null; @@ -44,414 +51,635 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _agregacolumna(String _tabla,String _columna,String _tipo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 196;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 197;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 198;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 199;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 200;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 202;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("469533702",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 206;BA.debugLine="Try"; -try { //BA.debugLineNum = 207;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 208;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("469533708",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); - } - catch (Exception e13) { - ba.setLastException(e13); //BA.debugLineNum = 210;BA.debugLine="Log(LastException)"; -__c.LogImpl("469533710",BA.ObjectToString(__c.LastException(ba)),0); - }; - //BA.debugLineNum = 212;BA.debugLine="Log(2)"; -__c.LogImpl("469533712",BA.NumberToString(2),0); - }; - //BA.debugLineNum = 214;BA.debugLine="End Sub"; -return ""; -} -public String _b_inicio_fin_venta2_click() throws Exception{ - //BA.debugLineNum = 128;BA.debugLine="Private Sub b_Inicio_Fin_venta2_Click"; - //BA.debugLineNum = 131;BA.debugLine="contadorIniciarVenta = 0"; -_contadoriniciarventa = (int) (0); - //BA.debugLineNum = 132;BA.debugLine="IniVenNO = False"; -_inivenno = __c.False; - //BA.debugLineNum = 133;BA.debugLine="If dentroDeGeocerca Then precision = 1"; -if (_dentrodegeocerca) { -_precision = (int) (1);}; - //BA.debugLineNum = 135;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}"; -__c.LogImpl("469271559",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue); - //BA.debugLineNum = 136;BA.debugLine="motivoNoVenta = \"\""; -_motivonoventa = ""; - //BA.debugLineNum = 137;BA.debugLine="motivoNoVisita = \"\""; -_motivonovisita = ""; - //BA.debugLineNum = 138;BA.debugLine="p_transparenteInicioFin2.Visible = False"; -_p_transparenteiniciofin2.setVisible(__c.False); - //BA.debugLineNum = 139;BA.debugLine="If b_Inicio_Fin_venta2.Text = \"TERMINAR VISITA\" T"; -if ((_b_inicio_fin_venta2.getText()).equals("TERMINAR VISITA")) { - //BA.debugLineNum = 140;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), Su"; -_mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._traeusuariodebd /*String*/ (ba),_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"Termina Venta",_subs._traecliente /*String*/ (ba),"",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(_precision),_motivonoventa,_motivonovisita,_banderageocerca); - //BA.debugLineNum = 141;BA.debugLine="enVenta = False"; -_enventa = __c.False; - //BA.debugLineNum = 142;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Colors"; -__c.LogImpl("469271566",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red); - //BA.debugLineNum = 143;BA.debugLine="iniciamosVenta"; -_iniciamosventa(); - //BA.debugLineNum = 144;BA.debugLine="B4XPages.ShowPageAndRemovePreviousPages(\"Princip"; -_b4xpages._showpageandremovepreviouspages /*String*/ (ba,"Principal"); - }else if((_b_inicio_fin_venta2.getText()).equals("INICIAR VISITA")) { - //BA.debugLineNum = 147;BA.debugLine="contadorIniciarVenta = 0"; -_contadoriniciarventa = (int) (0); - //BA.debugLineNum = 148;BA.debugLine="IniVenNO = False"; -_inivenno = __c.False; - //BA.debugLineNum = 149;BA.debugLine="contadorIniciarVenta = contadorIniciarVenta + 1"; -_contadoriniciarventa = (int) (_contadoriniciarventa+1); - //BA.debugLineNum = 150;BA.debugLine="If contadorIniciarVenta = 1 And IniVenNO = False"; -if (_contadoriniciarventa==1 && _inivenno==__c.False && (_motivonoventa).equals("NO VENTA") == false) { - //BA.debugLineNum = 151;BA.debugLine="IniVenNO = True"; -_inivenno = __c.True; - //BA.debugLineNum = 152;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), S"; -_mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._traeusuariodebd /*String*/ (ba),_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"Inicia Venta",_subs._traecliente /*String*/ (ba),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),"",_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(_precision),"","",_banderageocerca); - //BA.debugLineNum = 153;BA.debugLine="enVenta = True"; -_enventa = __c.True; - //BA.debugLineNum = 154;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color"; -__c.LogImpl("469271578",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red); - }else if(_contadoriniciarventa==1 && _inivenno==__c.False && (_motivonoventa).equals("NO VENTA")) { - //BA.debugLineNum = 157;BA.debugLine="IniVenNO = True"; -_inivenno = __c.True; - //BA.debugLineNum = 158;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), S"; -_mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._traeusuariodebd /*String*/ (ba),_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"Inicia Venta",_subs._traecliente /*String*/ (ba),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),"",_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(_precision),_motivonoventa,"",_banderageocerca); - //BA.debugLineNum = 159;BA.debugLine="enVenta = True"; -_enventa = __c.True; - //BA.debugLineNum = 160;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color"; -__c.LogImpl("469271584",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red); - }else if(_contadoriniciarventa>1) { - //BA.debugLineNum = 162;BA.debugLine="p_transparenteInicioFin2.Visible = False"; -_p_transparenteiniciofin2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 165;BA.debugLine="p_transparenteInicioFin2.Visible = False"; -_p_transparenteiniciofin2.setVisible(__c.False); - //BA.debugLineNum = 166;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}"; -__c.LogImpl("469271590",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue); - //BA.debugLineNum = 167;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 28;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 29;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return ""; -} -public String _borradatosbitacora() throws Exception{ - //BA.debugLineNum = 217;BA.debugLine="Sub borraDatosBitacora"; - //BA.debugLineNum = 218;BA.debugLine="db.ExecNonQuery(\"DELETE FROM BITACORAGPS\")"; -_db.ExecNonQuery("DELETE FROM BITACORAGPS"); - //BA.debugLineNum = 219;BA.debugLine="End Sub"; -return ""; -} -public String _cargamospanel() throws Exception{ - //BA.debugLineNum = 170;BA.debugLine="private Sub cargamosPanel"; - //BA.debugLineNum = 171;BA.debugLine="Log(p_transparenteInicioFin2.IsInitialized)"; -__c.LogImpl("469337089",BA.ObjectToString(_p_transparenteiniciofin2.IsInitialized()),0); - //BA.debugLineNum = 173;BA.debugLine="If Not(p_transparenteInicioFin2.IsInitialized) Th"; -if (__c.Not(_p_transparenteiniciofin2.IsInitialized())) { - //BA.debugLineNum = 174;BA.debugLine="LogColor(\">>>>>>> CARGAMOS PANEL BITACORA\", Co"; -__c.LogImpl("469337092",">>>>>>> CARGAMOS PANEL BITACORA",__c.Colors.Red); - //BA.debugLineNum = 175;BA.debugLine="Root2.LoadLayout(\"inicioFinVenta\")"; -_root2.LoadLayout("inicioFinVenta",ba); - //BA.debugLineNum = 176;BA.debugLine="p_transparenteInicioFin2.Width = Root2.Width"; -_p_transparenteiniciofin2.setWidth(_root2.getWidth()); - //BA.debugLineNum = 177;BA.debugLine="p_transparenteInicioFin2.Height = Root2.Height"; -_p_transparenteiniciofin2.setHeight(_root2.getHeight()); - //BA.debugLineNum = 178;BA.debugLine="b_Inicio_Fin_venta2.top = 700"; -_b_inicio_fin_venta2.setTop((int) (700)); - //BA.debugLineNum = 179;BA.debugLine="b_Inicio_Fin_venta2.Left = 5"; -_b_inicio_fin_venta2.setLeft((int) (5)); - //BA.debugLineNum = 180;BA.debugLine="b_Inicio_Fin_venta2.Width = Root2.Width - 20"; -_b_inicio_fin_venta2.setWidth((int) (_root2.getWidth()-20)); - //BA.debugLineNum = 181;BA.debugLine="b_Inicio_Fin_venta2.Text = \"INICIAR VISITA\""; -_b_inicio_fin_venta2.setText(BA.ObjectToCharSequence("INICIAR VISITA")); - //BA.debugLineNum = 182;BA.debugLine="p_transparenteInicioFin2.BringToFront"; -_p_transparenteiniciofin2.BringToFront(); - }; - //BA.debugLineNum = 184;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim db As SQL"; -_db = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 5;BA.debugLine="Private Root2 As B4XView"; -_root2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim p_transparenteInicioFin2 As Panel"; -_p_transparenteiniciofin2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Dim b_Inicio_Fin_venta2 As Button"; -_b_inicio_fin_venta2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim contadorIniciarVenta, precision As Int"; -_contadoriniciarventa = 0; -_precision = 0; - //BA.debugLineNum = 9;BA.debugLine="Dim IniVenNO, dentroDeGeocerca, enVenta As Boolea"; -_inivenno = false; -_dentrodegeocerca = false; -_enventa = false; - //BA.debugLineNum = 10;BA.debugLine="Dim motivoNoVenta, motivoNoVisita As String"; -_motivonoventa = ""; -_motivonovisita = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim banderaGeoCerca As String"; -_banderageocerca = ""; - //BA.debugLineNum = 12;BA.debugLine="Private reqManager As DBRequestManager"; -_reqmanager = new gunav2.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 13;BA.debugLine="End Sub"; -return ""; -} -public String _iniciamosventa() throws Exception{ - //BA.debugLineNum = 191;BA.debugLine="Sub iniciamosVenta"; - //BA.debugLineNum = 192;BA.debugLine="enVenta = False"; -_enventa = __c.False; - //BA.debugLineNum = 193;BA.debugLine="b_Inicio_Fin_venta2.Text = \"INICIAR VISITA\""; -_b_inicio_fin_venta2.setText(BA.ObjectToCharSequence("INICIAR VISITA")); - //BA.debugLineNum = 194;BA.debugLine="End Sub"; -return ""; -} -public String _iniciofin() throws Exception{ - //BA.debugLineNum = 112;BA.debugLine="Sub inicioFin"; - //BA.debugLineNum = 113;BA.debugLine="LogColor($\">>>>>>>>>>>> XX EN VENTA : ${enVenta"; -__c.LogImpl("469206017",(">>>>>>>>>>>> XX EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue); - //BA.debugLineNum = 114;BA.debugLine="Log(b_Inicio_Fin_venta2.Text)"; -__c.LogImpl("469206018",_b_inicio_fin_venta2.getText(),0); - //BA.debugLineNum = 115;BA.debugLine="If enVenta = False Then"; -if (_enventa==__c.False) { - //BA.debugLineNum = 116;BA.debugLine="p_transparenteInicioFin2.BringToFront"; -_p_transparenteiniciofin2.BringToFront(); - //BA.debugLineNum = 117;BA.debugLine="p_transparenteInicioFin2.Visible = True"; -_p_transparenteiniciofin2.setVisible(__c.True); - }else { - //BA.debugLineNum = 121;BA.debugLine="If b_Inicio_Fin_venta2.Text <> \"TERMINAR VISITA\""; -if ((_b_inicio_fin_venta2.getText()).equals("TERMINAR VISITA") == false) { - //BA.debugLineNum = 122;BA.debugLine="p_transparenteInicioFin2.Visible = False"; -_p_transparenteiniciofin2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 126;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname,anywheresoftware.b4a.objects.B4XViewWrapper _vroot,anywheresoftware.b4a.sql.SQL _db1,gunav2.keymon.com.mx.dbrequestmanager _dbreq) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; - //BA.debugLineNum = 17;BA.debugLine="db = db1"; -_db = _db1; - //BA.debugLineNum = 18;BA.debugLine="Root2 = vRoot"; -_root2 = _vroot; - //BA.debugLineNum = 19;BA.debugLine="reqManager = DBReq"; -_reqmanager = _dbreq; - //BA.debugLineNum = 20;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS BITAC"; -_db.ExecNonQuery("CREATE TABLE IF NOT EXISTS BITACORAGPS(fechab TEXT, usuariob TEXT, almacenb TEXT, rutab TEXT, eventob TEXT, clienteb TEXT, iniciob TEXT, finb TEXT, latitudb TEXT, longitudb TEXT, precision TEXT, motivonoventa TEXT, motivonovisita TEXT, BAN_GEOB TEXT)"); - //BA.debugLineNum = 21;BA.debugLine="agregaColumna(\"BITACORAGPS\", \"BAN_GEOB\", \"TEXT\")"; -_agregacolumna("BITACORAGPS","BAN_GEOB","TEXT"); - //BA.debugLineNum = 22;BA.debugLine="contadorIniciarVenta = 0"; -_contadoriniciarventa = (int) (0); - //BA.debugLineNum = 23;BA.debugLine="cargamosPanel"; -_cargamospanel(); - //BA.debugLineNum = 24;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return null; -} -public String _jobdone(gunav2.keymon.com.mx.httpjob _job) throws Exception{ -gunav2.keymon.com.mx.dbrequestmanager._dbresult _result = null; - //BA.debugLineNum = 221;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 222;BA.debugLine="Log(\"JOBDONE BITACORA\")"; -__c.LogImpl("469664769","JOBDONE BITACORA",0); - //BA.debugLineNum = 223;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 224;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; -_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 225;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success}"; -__c.LogImpl("469664772",("Tag: "+__c.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+__c.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0); - }; - //BA.debugLineNum = 228;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 230;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re"; -__c.LogImpl("469664777","Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); - }else { - }; - //BA.debugLineNum = 234;BA.debugLine="End Sub"; -return ""; -} -public String _mandabitacora(String _fechab,String _usuariob,String _almacenb,String _rutab,String _eventob,String _clienteb,String _iniciob,String _finb,String _latitudb,String _longitudb,String _precisionb,String _motivonoventab,String _motivonovisitab,String _ban_geob) throws Exception{ +public String _mandabitacora(gunav2.keymon.com.mx.c_bitacora __ref,String _fechab,String _usuariob,String _almacenb,String _rutab,String _eventob,String _clienteb,String _iniciob,String _finb,String _latitudb,String _longitudb,String _precisionb,String _motivonoventab,String _motivonovisitab,String _ban_geob) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "mandabitacora", false)) + {return ((String) Debug.delegate(ba, "mandabitacora", new Object[] {_fechab,_usuariob,_almacenb,_rutab,_eventob,_clienteb,_iniciob,_finb,_latitudb,_longitudb,_precisionb,_motivonoventab,_motivonovisitab,_ban_geob}));} gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; String _nombrecliente = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _e = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 37;BA.debugLine="Sub mandaBitacora(fechab As String, usuariob As St"; - //BA.debugLineNum = 38;BA.debugLine="Log(motivoNoVisitab)"; -__c.LogImpl("469009409",_motivonovisitab,0); - //BA.debugLineNum = 40;BA.debugLine="Private cmd As DBCommand"; +RDebugUtils.currentLine=69074944; + //BA.debugLineNum = 69074944;BA.debugLine="Sub mandaBitacora(fechab As String, usuariob As St"; +RDebugUtils.currentLine=69074945; + //BA.debugLineNum = 69074945;BA.debugLine="Log(motivoNoVisitab)"; +__c.LogImpl("069074945",_motivonovisitab,0); +RDebugUtils.currentLine=69074947; + //BA.debugLineNum = 69074947;BA.debugLine="Private cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 41;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=69074948; + //BA.debugLineNum = 69074948;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 42;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\""; +RDebugUtils.currentLine=69074949; + //BA.debugLineNum = 69074949;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\""; _cmd.Name /*String*/ = "mandaBitacora3_GUNA"; - //BA.debugLineNum = 44;BA.debugLine="Private nombreCliente As String = traeNombreClien"; -_nombrecliente = _traenombrecliente(_clienteb); - //BA.debugLineNum = 45;BA.debugLine="If eventob = \"Llega a almacen\" Then"; +RDebugUtils.currentLine=69074951; + //BA.debugLineNum = 69074951;BA.debugLine="Private nombreCliente As String = traeNombreClien"; +_nombrecliente = __ref._traenombrecliente /*String*/ (null,_clienteb); +RDebugUtils.currentLine=69074952; + //BA.debugLineNum = 69074952;BA.debugLine="If eventob = \"Llega a almacen\" Then"; if ((_eventob).equals("Llega a almacen")) { - //BA.debugLineNum = 46;BA.debugLine="nombreCliente = \"BOLETA\""; +RDebugUtils.currentLine=69074953; + //BA.debugLineNum = 69074953;BA.debugLine="nombreCliente = \"BOLETA\""; _nombrecliente = "BOLETA"; - //BA.debugLineNum = 47;BA.debugLine="clienteb = \"\""; +RDebugUtils.currentLine=69074954; + //BA.debugLineNum = 69074954;BA.debugLine="clienteb = \"\""; _clienteb = ""; - //BA.debugLineNum = 48;BA.debugLine="finb = iniciob"; +RDebugUtils.currentLine=69074955; + //BA.debugLineNum = 69074955;BA.debugLine="finb = iniciob"; _finb = _iniciob; }; - //BA.debugLineNum = 50;BA.debugLine="If eventob = \"Salida almacen\" Then nombreCliente"; +RDebugUtils.currentLine=69074957; + //BA.debugLineNum = 69074957;BA.debugLine="If eventob = \"Salida almacen\" Then nombreCliente"; if ((_eventob).equals("Salida almacen")) { _nombrecliente = "CHECKLIST";}; - //BA.debugLineNum = 51;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FIN"; +RDebugUtils.currentLine=69074958; + //BA.debugLineNum = 69074958;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FIN"; if ((_eventob).equals("Fin Día")) { _nombrecliente = "FIN DIA";}; - //BA.debugLineNum = 52;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \"CA"; +RDebugUtils.currentLine=69074959; + //BA.debugLineNum = 69074959;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \"CA"; if ((_eventob).equals("Carga día")) { _nombrecliente = "CARGA DIA";}; - //BA.debugLineNum = 53;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreCli"; +RDebugUtils.currentLine=69074960; + //BA.debugLineNum = 69074960;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreCli"; if ((_eventob).equals("Carga día suplencia")) { -_nombrecliente = _traerutassup();}; - //BA.debugLineNum = 54;BA.debugLine="If eventob <> \"Termina Venta\" And eventob <> \"No"; +_nombrecliente = __ref._traerutassup /*String*/ (null);}; +RDebugUtils.currentLine=69074961; + //BA.debugLineNum = 69074961;BA.debugLine="If eventob <> \"Termina Venta\" And eventob <> \"No"; if ((_eventob).equals("Termina Venta") == false && (_eventob).equals("No Venta") == false) { - //BA.debugLineNum = 55;BA.debugLine="db.ExecNonQuery($\"INSERT INTO BITACORAGPS (fecha"; -_db.ExecNonQuery(("INSERT INTO BITACORAGPS (fechab, usuariob , almacenb , rutab , eventob , clienteb , iniciob , finb , latitudb, longitudb , precision , motivonoventa , motivonovisita, BAN_GEOB) VALUES ('"+__c.SmartStringFormatter("",(Object)(_fechab))+"' ,'"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' , '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' , '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' , '"+__c.SmartStringFormatter("",(Object)(_eventob))+"' , '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' , '"+__c.SmartStringFormatter("",(Object)(_iniciob))+"' , '"+__c.SmartStringFormatter("",(Object)(_finb))+"' , '"+__c.SmartStringFormatter("",(Object)(_latitudb))+"' , '"+__c.SmartStringFormatter("",(Object)(_longitudb))+"' , '"+__c.SmartStringFormatter("",(Object)(_precisionb))+"' , '"+__c.SmartStringFormatter("",(Object)(_motivonoventab))+"' , '"+__c.SmartStringFormatter("",(Object)(_motivonovisitab))+"', '"+__c.SmartStringFormatter("",(Object)(_ban_geob))+"')")); +RDebugUtils.currentLine=69074962; + //BA.debugLineNum = 69074962;BA.debugLine="db.ExecNonQuery($\"INSERT INTO BITACORAGPS (fecha"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("INSERT INTO BITACORAGPS (fechab, usuariob , almacenb , rutab , eventob , clienteb , iniciob , finb , latitudb, longitudb , precision , motivonoventa , motivonovisita, BAN_GEOB) VALUES ('"+__c.SmartStringFormatter("",(Object)(_fechab))+"' ,'"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' , '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' , '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' , '"+__c.SmartStringFormatter("",(Object)(_eventob))+"' , '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' , '"+__c.SmartStringFormatter("",(Object)(_iniciob))+"' , '"+__c.SmartStringFormatter("",(Object)(_finb))+"' , '"+__c.SmartStringFormatter("",(Object)(_latitudb))+"' , '"+__c.SmartStringFormatter("",(Object)(_longitudb))+"' , '"+__c.SmartStringFormatter("",(Object)(_precisionb))+"' , '"+__c.SmartStringFormatter("",(Object)(_motivonoventab))+"' , '"+__c.SmartStringFormatter("",(Object)(_motivonovisitab))+"', '"+__c.SmartStringFormatter("",(Object)(_ban_geob))+"')")); }else { - //BA.debugLineNum = 57;BA.debugLine="Private e As Cursor = db.ExecQuery($\"select fech"; +RDebugUtils.currentLine=69074964; + //BA.debugLineNum = 69074964;BA.debugLine="Private e As Cursor = db.ExecQuery($\"select fech"; _e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("select fechab from BITACORAGPS where usuariob = '"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' and almacenb = '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' and rutab = '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' and clienteb = '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' and eventob = 'Inicia Venta' order by fechab desc")))); - //BA.debugLineNum = 58;BA.debugLine="If e.RowCount > 0 Then"; +_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select fechab from BITACORAGPS where usuariob = '"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' and almacenb = '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' and rutab = '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' and clienteb = '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' and eventob = 'Inicia Venta' order by fechab desc")))); +RDebugUtils.currentLine=69074965; + //BA.debugLineNum = 69074965;BA.debugLine="If e.RowCount > 0 Then"; if (_e.getRowCount()>0) { - //BA.debugLineNum = 59;BA.debugLine="e.Position = 0"; +RDebugUtils.currentLine=69074966; + //BA.debugLineNum = 69074966;BA.debugLine="e.Position = 0"; _e.setPosition((int) (0)); - //BA.debugLineNum = 60;BA.debugLine="Log(\"ACTUALIZA BITACORA\")"; -__c.LogImpl("469009431","ACTUALIZA BITACORA",0); - //BA.debugLineNum = 61;BA.debugLine="If eventob = \"Termina Venta\" Then"; +RDebugUtils.currentLine=69074967; + //BA.debugLineNum = 69074967;BA.debugLine="Log(\"ACTUALIZA BITACORA\")"; +__c.LogImpl("069074967","ACTUALIZA BITACORA",0); +RDebugUtils.currentLine=69074968; + //BA.debugLineNum = 69074968;BA.debugLine="If eventob = \"Termina Venta\" Then"; if ((_eventob).equals("Termina Venta")) { - //BA.debugLineNum = 62;BA.debugLine="db.ExecNonQuery($\"update BITACORAGPS set finb"; -_db.ExecNonQuery(("update BITACORAGPS set finb = '"+__c.SmartStringFormatter("",(Object)(_finb))+"' where rutab = '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' and almacenb = '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' and usuariob = '"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' and clienteb = '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' and fechab = '"+__c.SmartStringFormatter("",(Object)(_e.GetString("fechab")))+"' ")); - //BA.debugLineNum = 63;BA.debugLine="cmd.Parameters = Array As Object(finb, rutab,"; +RDebugUtils.currentLine=69074969; + //BA.debugLineNum = 69074969;BA.debugLine="db.ExecNonQuery($\"update BITACORAGPS set finb"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update BITACORAGPS set finb = '"+__c.SmartStringFormatter("",(Object)(_finb))+"' where rutab = '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' and almacenb = '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' and usuariob = '"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' and clienteb = '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' and fechab = '"+__c.SmartStringFormatter("",(Object)(_e.GetString("fechab")))+"' ")); +RDebugUtils.currentLine=69074970; + //BA.debugLineNum = 69074970;BA.debugLine="cmd.Parameters = Array As Object(finb, rutab,"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_finb),(Object)(_rutab),(Object)(_almacenb),(Object)(_usuariob),(Object)(_clienteb),(Object)("Inicia Venta"),(Object)(_e.GetString("fechab"))}; - }else if((_eventob).equals("No Venta")) { - //BA.debugLineNum = 65;BA.debugLine="db.ExecNonQuery($\"update BITACORAGPS set finb"; -_db.ExecNonQuery(("update BITACORAGPS set finb = '"+__c.SmartStringFormatter("",(Object)(_finb))+"', motivonoventa = '"+__c.SmartStringFormatter("",(Object)(_motivonoventab))+"', motivonovisita = '"+__c.SmartStringFormatter("",(Object)(_motivonovisitab))+"' where rutab = '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' and almacenb = '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' and usuariob = '"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' and clienteb = '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' and fechab = '"+__c.SmartStringFormatter("",(Object)(_e.GetString("fechab")))+"' ")); - //BA.debugLineNum = 66;BA.debugLine="cmd.Parameters = Array As Object(finb, motivoN"; + }else +{RDebugUtils.currentLine=69074971; + //BA.debugLineNum = 69074971;BA.debugLine="else if eventob = \"No Venta\" Then"; +if ((_eventob).equals("No Venta")) { +RDebugUtils.currentLine=69074972; + //BA.debugLineNum = 69074972;BA.debugLine="db.ExecNonQuery($\"update BITACORAGPS set finb"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update BITACORAGPS set finb = '"+__c.SmartStringFormatter("",(Object)(_finb))+"', motivonoventa = '"+__c.SmartStringFormatter("",(Object)(_motivonoventab))+"', motivonovisita = '"+__c.SmartStringFormatter("",(Object)(_motivonovisitab))+"' where rutab = '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' and almacenb = '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' and usuariob = '"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' and clienteb = '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' and fechab = '"+__c.SmartStringFormatter("",(Object)(_e.GetString("fechab")))+"' ")); +RDebugUtils.currentLine=69074973; + //BA.debugLineNum = 69074973;BA.debugLine="cmd.Parameters = Array As Object(finb, motivoN"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_finb),(Object)(_motivonoventab),(Object)(_motivonovisitab),(Object)(_rutab),(Object)(_almacenb),(Object)(_usuariob),(Object)(_clienteb),(Object)("Inicia Venta"),(Object)(_e.GetString("fechab"))}; + }} +; }; }; - }; - //BA.debugLineNum = 70;BA.debugLine="If eventob <> \"Inicia Venta\" Then"; +RDebugUtils.currentLine=69074977; + //BA.debugLineNum = 69074977;BA.debugLine="If eventob <> \"Inicia Venta\" Then"; if ((_eventob).equals("Inicia Venta") == false) { - //BA.debugLineNum = 71;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select * fr"; +RDebugUtils.currentLine=69074978; + //BA.debugLineNum = 69074978;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select * fr"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("select * from BITACORAGPS where usuariob = '"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' and almacenb = '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' and rutab = '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' and clienteb = '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' order by fechab desc")))); - //BA.debugLineNum = 72;BA.debugLine="If c.RowCount > 0 Then"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from BITACORAGPS where usuariob = '"+__c.SmartStringFormatter("",(Object)(_usuariob))+"' and almacenb = '"+__c.SmartStringFormatter("",(Object)(_almacenb))+"' and rutab = '"+__c.SmartStringFormatter("",(Object)(_rutab))+"' and clienteb = '"+__c.SmartStringFormatter("",(Object)(_clienteb))+"' order by fechab desc")))); +RDebugUtils.currentLine=69074979; + //BA.debugLineNum = 69074979;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 73;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=69074980; + //BA.debugLineNum = 69074980;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 74;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"a"; +RDebugUtils.currentLine=69074981; + //BA.debugLineNum = 69074981;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"a"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("almacenb")),(Object)(_c.GetString("usuariob")),(Object)(_c.GetString("rutab")),(Object)(_c.GetString("eventob")),(Object)(_c.GetString("clienteb")),(Object)(_nombrecliente),(Object)(_c.GetString("iniciob")),(Object)(_c.GetString("finb")),(Object)(_c.GetString("latitudb")),(Object)(_c.GetString("longitudb")),(Object)(_c.GetString("precision")),(Object)(_c.GetString("motivonoventa")),(Object)(_c.GetString("motivonovisita")),(Object)(_c.GetString("fechab")),(Object)(_c.GetString("BAN_GEOB"))}; - //BA.debugLineNum = 75;BA.debugLine="reqManager.ExecuteCommand(cmd , \"mandaBitacora\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("mandaBitacora")); +RDebugUtils.currentLine=69074982; + //BA.debugLineNum = 69074982;BA.debugLine="reqManager.ExecuteCommand(cmd , \"mandaBitacora\""; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("mandaBitacora")); }; }; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69074986; + //BA.debugLineNum = 69074986;BA.debugLine="End Sub"; return ""; } -public String _p_transparenteiniciofin2_click() throws Exception{ - //BA.debugLineNum = 186;BA.debugLine="Sub p_transparenteInicioFin2_click"; - //BA.debugLineNum = 188;BA.debugLine="End Sub"; +public Object _initialize(gunav2.keymon.com.mx.c_bitacora __ref,anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname,anywheresoftware.b4a.objects.B4XViewWrapper _vroot,anywheresoftware.b4a.sql.SQL _db1,gunav2.keymon.com.mx.dbrequestmanager _dbreq) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba,_vcallback,_veventname,_vroot,_db1,_dbreq}));} +RDebugUtils.currentLine=68943872; + //BA.debugLineNum = 68943872;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; +RDebugUtils.currentLine=68943873; + //BA.debugLineNum = 68943873;BA.debugLine="db = db1"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ = _db1; +RDebugUtils.currentLine=68943874; + //BA.debugLineNum = 68943874;BA.debugLine="Root2 = vRoot"; +__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _vroot; +RDebugUtils.currentLine=68943875; + //BA.debugLineNum = 68943875;BA.debugLine="reqManager = DBReq"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ = _dbreq; +RDebugUtils.currentLine=68943876; + //BA.debugLineNum = 68943876;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS BITAC"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS BITACORAGPS(fechab TEXT, usuariob TEXT, almacenb TEXT, rutab TEXT, eventob TEXT, clienteb TEXT, iniciob TEXT, finb TEXT, latitudb TEXT, longitudb TEXT, precision TEXT, motivonoventa TEXT, motivonovisita TEXT, BAN_GEOB TEXT)"); +RDebugUtils.currentLine=68943877; + //BA.debugLineNum = 68943877;BA.debugLine="agregaColumna(\"BITACORAGPS\", \"BAN_GEOB\", \"TEXT\")"; +__ref._agregacolumna /*String*/ (null,"BITACORAGPS","BAN_GEOB","TEXT"); +RDebugUtils.currentLine=68943878; + //BA.debugLineNum = 68943878;BA.debugLine="contadorIniciarVenta = 0"; +__ref._contadoriniciarventa /*int*/ = (int) (0); +RDebugUtils.currentLine=68943879; + //BA.debugLineNum = 68943879;BA.debugLine="cargamosPanel"; +__ref._cargamospanel /*String*/ (null); +RDebugUtils.currentLine=68943880; + //BA.debugLineNum = 68943880;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=68943881; + //BA.debugLineNum = 68943881;BA.debugLine="End Sub"; +return null; +} +public String _iniciofin(gunav2.keymon.com.mx.c_bitacora __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "iniciofin", false)) + {return ((String) Debug.delegate(ba, "iniciofin", null));} +RDebugUtils.currentLine=69271552; + //BA.debugLineNum = 69271552;BA.debugLine="Sub inicioFin"; +RDebugUtils.currentLine=69271553; + //BA.debugLineNum = 69271553;BA.debugLine="LogColor($\">>>>>>>>>>>> XX EN VENTA : ${enVenta"; +__c.LogImpl("069271553",(">>>>>>>>>>>> XX EN VENTA : "+__c.SmartStringFormatter("",(Object)(__ref._enventa /*boolean*/ ))+" <<<<<<<<<<<<"),__c.Colors.Blue); +RDebugUtils.currentLine=69271554; + //BA.debugLineNum = 69271554;BA.debugLine="Log(b_Inicio_Fin_venta2.Text)"; +__c.LogImpl("069271554",__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getText(),0); +RDebugUtils.currentLine=69271555; + //BA.debugLineNum = 69271555;BA.debugLine="If enVenta = False Then"; +if (__ref._enventa /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=69271556; + //BA.debugLineNum = 69271556;BA.debugLine="p_transparenteInicioFin2.BringToFront"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=69271557; + //BA.debugLineNum = 69271557;BA.debugLine="p_transparenteInicioFin2.Visible = True"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=69271561; + //BA.debugLineNum = 69271561;BA.debugLine="If b_Inicio_Fin_venta2.Text <> \"TERMINAR VISITA\""; +if ((__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getText()).equals("TERMINAR VISITA") == false) { +RDebugUtils.currentLine=69271562; + //BA.debugLineNum = 69271562;BA.debugLine="p_transparenteInicioFin2.Visible = False"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; + }; +RDebugUtils.currentLine=69271566; + //BA.debugLineNum = 69271566;BA.debugLine="End Sub"; return ""; } -public String _traenombrecliente(String _id) throws Exception{ +public String _agregacolumna(gunav2.keymon.com.mx.c_bitacora __ref,String _tabla,String _columna,String _tipo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "agregacolumna", false)) + {return ((String) Debug.delegate(ba, "agregacolumna", new Object[] {_tabla,_columna,_tipo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=69599232; + //BA.debugLineNum = 69599232;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=69599233; + //BA.debugLineNum = 69599233;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=69599234; + //BA.debugLineNum = 69599234;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=69599235; + //BA.debugLineNum = 69599235;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=69599236; + //BA.debugLineNum = 69599236;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=69599237; + //BA.debugLineNum = 69599237;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=69599238; + //BA.debugLineNum = 69599238;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("069599238",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); + }; + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=69599242; + //BA.debugLineNum = 69599242;BA.debugLine="Try"; +try {RDebugUtils.currentLine=69599243; + //BA.debugLineNum = 69599243;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=69599244; + //BA.debugLineNum = 69599244;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("069599244",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); + } + catch (Exception e13) { + ba.setLastException(e13);RDebugUtils.currentLine=69599246; + //BA.debugLineNum = 69599246;BA.debugLine="Log(LastException)"; +__c.LogImpl("069599246",BA.ObjectToString(__c.LastException(ba)),0); + }; +RDebugUtils.currentLine=69599248; + //BA.debugLineNum = 69599248;BA.debugLine="Log(2)"; +__c.LogImpl("069599248",BA.NumberToString(2),0); + }; +RDebugUtils.currentLine=69599250; + //BA.debugLineNum = 69599250;BA.debugLine="End Sub"; +return ""; +} +public String _b_inicio_fin_venta2_click(gunav2.keymon.com.mx.c_bitacora __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "b_inicio_fin_venta2_click", false)) + {return ((String) Debug.delegate(ba, "b_inicio_fin_venta2_click", null));} +RDebugUtils.currentLine=69337088; + //BA.debugLineNum = 69337088;BA.debugLine="Private Sub b_Inicio_Fin_venta2_Click"; +RDebugUtils.currentLine=69337091; + //BA.debugLineNum = 69337091;BA.debugLine="contadorIniciarVenta = 0"; +__ref._contadoriniciarventa /*int*/ = (int) (0); +RDebugUtils.currentLine=69337092; + //BA.debugLineNum = 69337092;BA.debugLine="IniVenNO = False"; +__ref._inivenno /*boolean*/ = __c.False; +RDebugUtils.currentLine=69337093; + //BA.debugLineNum = 69337093;BA.debugLine="If dentroDeGeocerca Then precision = 1"; +if (__ref._dentrodegeocerca /*boolean*/ ) { +__ref._precision /*int*/ = (int) (1);}; +RDebugUtils.currentLine=69337095; + //BA.debugLineNum = 69337095;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}"; +__c.LogImpl("069337095",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(__ref._enventa /*boolean*/ ))+" <<<<<<<<<<<<"),__c.Colors.Blue); +RDebugUtils.currentLine=69337096; + //BA.debugLineNum = 69337096;BA.debugLine="motivoNoVenta = \"\""; +__ref._motivonoventa /*String*/ = ""; +RDebugUtils.currentLine=69337097; + //BA.debugLineNum = 69337097;BA.debugLine="motivoNoVisita = \"\""; +__ref._motivonovisita /*String*/ = ""; +RDebugUtils.currentLine=69337098; + //BA.debugLineNum = 69337098;BA.debugLine="p_transparenteInicioFin2.Visible = False"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=69337099; + //BA.debugLineNum = 69337099;BA.debugLine="If b_Inicio_Fin_venta2.Text = \"TERMINAR VISITA\" T"; +if ((__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getText()).equals("TERMINAR VISITA")) { +RDebugUtils.currentLine=69337100; + //BA.debugLineNum = 69337100;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), Su"; +__ref._mandabitacora /*String*/ (null,_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._traeusuariodebd /*String*/ (ba),_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"Termina Venta",_subs._traecliente /*String*/ (ba),"",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(__ref._precision /*int*/ ),__ref._motivonoventa /*String*/ ,__ref._motivonovisita /*String*/ ,__ref._banderageocerca /*String*/ ); +RDebugUtils.currentLine=69337101; + //BA.debugLineNum = 69337101;BA.debugLine="enVenta = False"; +__ref._enventa /*boolean*/ = __c.False; +RDebugUtils.currentLine=69337102; + //BA.debugLineNum = 69337102;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Colors"; +__c.LogImpl("069337102",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(__ref._enventa /*boolean*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=69337103; + //BA.debugLineNum = 69337103;BA.debugLine="iniciamosVenta"; +__ref._iniciamosventa /*String*/ (null); +RDebugUtils.currentLine=69337104; + //BA.debugLineNum = 69337104;BA.debugLine="B4XPages.ShowPageAndRemovePreviousPages(\"Princip"; +_b4xpages._showpageandremovepreviouspages /*String*/ (ba,"Principal"); + }else +{RDebugUtils.currentLine=69337106; + //BA.debugLineNum = 69337106;BA.debugLine="Else if b_Inicio_Fin_venta2.Text = \"INICIAR VISIT"; +if ((__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getText()).equals("INICIAR VISITA")) { +RDebugUtils.currentLine=69337107; + //BA.debugLineNum = 69337107;BA.debugLine="contadorIniciarVenta = 0"; +__ref._contadoriniciarventa /*int*/ = (int) (0); +RDebugUtils.currentLine=69337108; + //BA.debugLineNum = 69337108;BA.debugLine="IniVenNO = False"; +__ref._inivenno /*boolean*/ = __c.False; +RDebugUtils.currentLine=69337109; + //BA.debugLineNum = 69337109;BA.debugLine="contadorIniciarVenta = contadorIniciarVenta + 1"; +__ref._contadoriniciarventa /*int*/ = (int) (__ref._contadoriniciarventa /*int*/ +1); +RDebugUtils.currentLine=69337110; + //BA.debugLineNum = 69337110;BA.debugLine="If contadorIniciarVenta = 1 And IniVenNO = False"; +if (__ref._contadoriniciarventa /*int*/ ==1 && __ref._inivenno /*boolean*/ ==__c.False && (__ref._motivonoventa /*String*/ ).equals("NO VENTA") == false) { +RDebugUtils.currentLine=69337111; + //BA.debugLineNum = 69337111;BA.debugLine="IniVenNO = True"; +__ref._inivenno /*boolean*/ = __c.True; +RDebugUtils.currentLine=69337112; + //BA.debugLineNum = 69337112;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), S"; +__ref._mandabitacora /*String*/ (null,_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._traeusuariodebd /*String*/ (ba),_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"Inicia Venta",_subs._traecliente /*String*/ (ba),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),"",_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(__ref._precision /*int*/ ),"","",__ref._banderageocerca /*String*/ ); +RDebugUtils.currentLine=69337113; + //BA.debugLineNum = 69337113;BA.debugLine="enVenta = True"; +__ref._enventa /*boolean*/ = __c.True; +RDebugUtils.currentLine=69337114; + //BA.debugLineNum = 69337114;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color"; +__c.LogImpl("069337114",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(__ref._enventa /*boolean*/ ))+""),__c.Colors.Red); + }else +{RDebugUtils.currentLine=69337116; + //BA.debugLineNum = 69337116;BA.debugLine="Else If contadorIniciarVenta = 1 And IniVenNO ="; +if (__ref._contadoriniciarventa /*int*/ ==1 && __ref._inivenno /*boolean*/ ==__c.False && (__ref._motivonoventa /*String*/ ).equals("NO VENTA")) { +RDebugUtils.currentLine=69337117; + //BA.debugLineNum = 69337117;BA.debugLine="IniVenNO = True"; +__ref._inivenno /*boolean*/ = __c.True; +RDebugUtils.currentLine=69337118; + //BA.debugLineNum = 69337118;BA.debugLine="mandaBitacora(Subs.fechanormal(DateTime.Now), S"; +__ref._mandabitacora /*String*/ (null,_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._traeusuariodebd /*String*/ (ba),_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"Inicia Venta",_subs._traecliente /*String*/ (ba),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),"",_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(__ref._precision /*int*/ ),__ref._motivonoventa /*String*/ ,"",__ref._banderageocerca /*String*/ ); +RDebugUtils.currentLine=69337119; + //BA.debugLineNum = 69337119;BA.debugLine="enVenta = True"; +__ref._enventa /*boolean*/ = __c.True; +RDebugUtils.currentLine=69337120; + //BA.debugLineNum = 69337120;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color"; +__c.LogImpl("069337120",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(__ref._enventa /*boolean*/ ))+""),__c.Colors.Red); + }else +{RDebugUtils.currentLine=69337121; + //BA.debugLineNum = 69337121;BA.debugLine="Else If contadorIniciarVenta > 1 Then"; +if (__ref._contadoriniciarventa /*int*/ >1) { +RDebugUtils.currentLine=69337122; + //BA.debugLineNum = 69337122;BA.debugLine="p_transparenteInicioFin2.Visible = False"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }}} +; + }} +; +RDebugUtils.currentLine=69337125; + //BA.debugLineNum = 69337125;BA.debugLine="p_transparenteInicioFin2.Visible = False"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=69337126; + //BA.debugLineNum = 69337126;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}"; +__c.LogImpl("069337126",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(__ref._enventa /*boolean*/ ))+" <<<<<<<<<<<<"),__c.Colors.Blue); +RDebugUtils.currentLine=69337127; + //BA.debugLineNum = 69337127;BA.debugLine="End Sub"; +return ""; +} +public String _iniciamosventa(gunav2.keymon.com.mx.c_bitacora __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "iniciamosventa", false)) + {return ((String) Debug.delegate(ba, "iniciamosventa", null));} +RDebugUtils.currentLine=69533696; + //BA.debugLineNum = 69533696;BA.debugLine="Sub iniciamosVenta"; +RDebugUtils.currentLine=69533697; + //BA.debugLineNum = 69533697;BA.debugLine="enVenta = False"; +__ref._enventa /*boolean*/ = __c.False; +RDebugUtils.currentLine=69533698; + //BA.debugLineNum = 69533698;BA.debugLine="b_Inicio_Fin_venta2.Text = \"INICIAR VISITA\""; +__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("INICIAR VISITA")); +RDebugUtils.currentLine=69533699; + //BA.debugLineNum = 69533699;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(gunav2.keymon.com.mx.c_bitacora __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=69009408; + //BA.debugLineNum = 69009408;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=69009409; + //BA.debugLineNum = 69009409;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=69009411; + //BA.debugLineNum = 69009411;BA.debugLine="End Sub"; +return ""; +} +public String _borradatosbitacora(gunav2.keymon.com.mx.c_bitacora __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "borradatosbitacora", false)) + {return ((String) Debug.delegate(ba, "borradatosbitacora", null));} +RDebugUtils.currentLine=69664768; + //BA.debugLineNum = 69664768;BA.debugLine="Sub borraDatosBitacora"; +RDebugUtils.currentLine=69664769; + //BA.debugLineNum = 69664769;BA.debugLine="db.ExecNonQuery(\"DELETE FROM BITACORAGPS\")"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BITACORAGPS"); +RDebugUtils.currentLine=69664770; + //BA.debugLineNum = 69664770;BA.debugLine="End Sub"; +return ""; +} +public String _cargamospanel(gunav2.keymon.com.mx.c_bitacora __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "cargamospanel", false)) + {return ((String) Debug.delegate(ba, "cargamospanel", null));} +RDebugUtils.currentLine=69402624; + //BA.debugLineNum = 69402624;BA.debugLine="private Sub cargamosPanel"; +RDebugUtils.currentLine=69402625; + //BA.debugLineNum = 69402625;BA.debugLine="Log(p_transparenteInicioFin2.IsInitialized)"; +__c.LogImpl("069402625",BA.ObjectToString(__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized()),0); +RDebugUtils.currentLine=69402627; + //BA.debugLineNum = 69402627;BA.debugLine="If Not(p_transparenteInicioFin2.IsInitialized) Th"; +if (__c.Not(__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized())) { +RDebugUtils.currentLine=69402628; + //BA.debugLineNum = 69402628;BA.debugLine="LogColor(\">>>>>>> CARGAMOS PANEL BITACORA\", Co"; +__c.LogImpl("069402628",">>>>>>> CARGAMOS PANEL BITACORA",__c.Colors.Red); +RDebugUtils.currentLine=69402629; + //BA.debugLineNum = 69402629;BA.debugLine="Root2.LoadLayout(\"inicioFinVenta\")"; +__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("inicioFinVenta",ba); +RDebugUtils.currentLine=69402630; + //BA.debugLineNum = 69402630;BA.debugLine="p_transparenteInicioFin2.Width = Root2.Width"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=69402631; + //BA.debugLineNum = 69402631;BA.debugLine="p_transparenteInicioFin2.Height = Root2.Height"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=69402632; + //BA.debugLineNum = 69402632;BA.debugLine="b_Inicio_Fin_venta2.top = 700"; +__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTop((int) (700)); +RDebugUtils.currentLine=69402633; + //BA.debugLineNum = 69402633;BA.debugLine="b_Inicio_Fin_venta2.Left = 5"; +__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) (5)); +RDebugUtils.currentLine=69402634; + //BA.debugLineNum = 69402634;BA.debugLine="b_Inicio_Fin_venta2.Width = Root2.Width - 20"; +__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setWidth((int) (__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-20)); +RDebugUtils.currentLine=69402635; + //BA.debugLineNum = 69402635;BA.debugLine="b_Inicio_Fin_venta2.Text = \"INICIAR VISITA\""; +__ref._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("INICIAR VISITA")); +RDebugUtils.currentLine=69402636; + //BA.debugLineNum = 69402636;BA.debugLine="p_transparenteInicioFin2.BringToFront"; +__ref._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); + }; +RDebugUtils.currentLine=69402638; + //BA.debugLineNum = 69402638;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.c_bitacora __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +RDebugUtils.currentLine=68878336; + //BA.debugLineNum = 68878336;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=68878337; + //BA.debugLineNum = 68878337;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=68878338; + //BA.debugLineNum = 68878338;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=68878339; + //BA.debugLineNum = 68878339;BA.debugLine="Dim db As SQL"; +_db = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=68878340; + //BA.debugLineNum = 68878340;BA.debugLine="Private Root2 As B4XView"; +_root2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=68878341; + //BA.debugLineNum = 68878341;BA.debugLine="Dim p_transparenteInicioFin2 As Panel"; +_p_transparenteiniciofin2 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=68878342; + //BA.debugLineNum = 68878342;BA.debugLine="Dim b_Inicio_Fin_venta2 As Button"; +_b_inicio_fin_venta2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=68878343; + //BA.debugLineNum = 68878343;BA.debugLine="Dim contadorIniciarVenta, precision As Int"; +_contadoriniciarventa = 0; +_precision = 0; +RDebugUtils.currentLine=68878344; + //BA.debugLineNum = 68878344;BA.debugLine="Dim IniVenNO, dentroDeGeocerca, enVenta As Boolea"; +_inivenno = false; +_dentrodegeocerca = false; +_enventa = false; +RDebugUtils.currentLine=68878345; + //BA.debugLineNum = 68878345;BA.debugLine="Dim motivoNoVenta, motivoNoVisita As String"; +_motivonoventa = ""; +_motivonovisita = ""; +RDebugUtils.currentLine=68878346; + //BA.debugLineNum = 68878346;BA.debugLine="Dim banderaGeoCerca As String"; +_banderageocerca = ""; +RDebugUtils.currentLine=68878347; + //BA.debugLineNum = 68878347;BA.debugLine="Private reqManager As DBRequestManager"; +_reqmanager = new gunav2.keymon.com.mx.dbrequestmanager(); +RDebugUtils.currentLine=68878348; + //BA.debugLineNum = 68878348;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(gunav2.keymon.com.mx.c_bitacora __ref,gunav2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +gunav2.keymon.com.mx.dbrequestmanager._dbresult _result = null; +RDebugUtils.currentLine=69730304; + //BA.debugLineNum = 69730304;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=69730305; + //BA.debugLineNum = 69730305;BA.debugLine="Log(\"JOBDONE BITACORA\")"; +__c.LogImpl("069730305","JOBDONE BITACORA",0); +RDebugUtils.currentLine=69730306; + //BA.debugLineNum = 69730306;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=69730307; + //BA.debugLineNum = 69730307;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +_result = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=69730308; + //BA.debugLineNum = 69730308;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success}"; +__c.LogImpl("069730308",("Tag: "+__c.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+__c.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0); + }; +RDebugUtils.currentLine=69730311; + //BA.debugLineNum = 69730311;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=69730313; + //BA.debugLineNum = 69730313;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re"; +__c.LogImpl("069730313","Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); + }else { + }; +RDebugUtils.currentLine=69730317; + //BA.debugLineNum = 69730317;BA.debugLine="End Sub"; +return ""; +} +public String _traenombrecliente(gunav2.keymon.com.mx.c_bitacora __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "traenombrecliente", false)) + {return ((String) Debug.delegate(ba, "traenombrecliente", new Object[] {_id}));} anywheresoftware.b4a.sql.SQL.ResultSetWrapper _c = null; String _n = ""; - //BA.debugLineNum = 82;BA.debugLine="Sub traeNombreCliente(id As String) As String"; - //BA.debugLineNum = 83;BA.debugLine="Private c As ResultSet = B4XPages.MainPage.skmt.E"; +RDebugUtils.currentLine=69140480; + //BA.debugLineNum = 69140480;BA.debugLine="Sub traeNombreCliente(id As String) As String"; +RDebugUtils.currentLine=69140481; + //BA.debugLineNum = 69140481;BA.debugLine="Private c As ResultSet = B4XPages.MainPage.skmt.E"; _c = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); _c = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE from kmt_info3 where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 84;BA.debugLine="Private n As String = \"N/A\""; +RDebugUtils.currentLine=69140482; + //BA.debugLineNum = 69140482;BA.debugLine="Private n As String = \"N/A\""; _n = "N/A"; - //BA.debugLineNum = 85;BA.debugLine="Do While c.NextRow"; +RDebugUtils.currentLine=69140483; + //BA.debugLineNum = 69140483;BA.debugLine="Do While c.NextRow"; while (_c.NextRow()) { - //BA.debugLineNum = 86;BA.debugLine="n = c.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=69140484; + //BA.debugLineNum = 69140484;BA.debugLine="n = c.GetString(\"CAT_CL_NOMBRE\")"; _n = _c.GetString("CAT_CL_NOMBRE"); } ; - //BA.debugLineNum = 88;BA.debugLine="Return n"; +RDebugUtils.currentLine=69140486; + //BA.debugLineNum = 69140486;BA.debugLine="Return n"; if (true) return _n; - //BA.debugLineNum = 89;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69140487; + //BA.debugLineNum = 69140487;BA.debugLine="End Sub"; return ""; } -public String _traerutassup() throws Exception{ +public String _traerutassup(gunav2.keymon.com.mx.c_bitacora __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "traerutassup", false)) + {return ((String) Debug.delegate(ba, "traerutassup", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _rutas = ""; int _i = 0; - //BA.debugLineNum = 92;BA.debugLine="Sub traeRutasSup As String"; - //BA.debugLineNum = 93;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=69206016; + //BA.debugLineNum = 69206016;BA.debugLine="Sub traeRutasSup As String"; +RDebugUtils.currentLine=69206017; + //BA.debugLineNum = 69206017;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Dim rutas As String"; +RDebugUtils.currentLine=69206018; + //BA.debugLineNum = 69206018;BA.debugLine="Dim rutas As String"; _rutas = ""; - //BA.debugLineNum = 95;BA.debugLine="rutas = \"\""; +RDebugUtils.currentLine=69206019; + //BA.debugLineNum = 69206019;BA.debugLine="rutas = \"\""; _rutas = ""; - //BA.debugLineNum = 97;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_"; +RDebugUtils.currentLine=69206021; + //BA.debugLineNum = 69206021;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info3"))); - //BA.debugLineNum = 99;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=69206023; + //BA.debugLineNum = 69206023;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 100;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=69206024; + //BA.debugLineNum = 69206024;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step6 = 1; final int limit6 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 101;BA.debugLine="c.Position = i"; +RDebugUtils.currentLine=69206025; + //BA.debugLineNum = 69206025;BA.debugLine="c.Position = i"; _c.setPosition(_i); - //BA.debugLineNum = 102;BA.debugLine="rutas = rutas & c.GetString(\"CAT_CL_RUTA\") & \","; +RDebugUtils.currentLine=69206026; + //BA.debugLineNum = 69206026;BA.debugLine="rutas = rutas & c.GetString(\"CAT_CL_RUTA\") & \","; _rutas = _rutas+_c.GetString("CAT_CL_RUTA")+", "; } }; - //BA.debugLineNum = 104;BA.debugLine="If rutas.Length > 0 Then rutas = rutas.SubString"; +RDebugUtils.currentLine=69206028; + //BA.debugLineNum = 69206028;BA.debugLine="If rutas.Length > 0 Then rutas = rutas.SubString"; if (_rutas.length()>0) { _rutas = _rutas.substring((int) (0),(int) (_rutas.length()-2));}; }; - //BA.debugLineNum = 107;BA.debugLine="c.Close"; +RDebugUtils.currentLine=69206031; + //BA.debugLineNum = 69206031;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 108;BA.debugLine="Return rutas"; +RDebugUtils.currentLine=69206032; + //BA.debugLineNum = 69206032;BA.debugLine="Return rutas"; if (true) return _rutas; - //BA.debugLineNum = 109;BA.debugLine="End Sub"; +RDebugUtils.currentLine=69206033; + //BA.debugLineNum = 69206033;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((gunav2.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} +public String _p_transparenteiniciofin2_click(gunav2.keymon.com.mx.c_bitacora __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_bitacora"; +if (Debug.shouldDelegate(ba, "p_transparenteiniciofin2_click", false)) + {return ((String) Debug.delegate(ba, "p_transparenteiniciofin2_click", null));} +RDebugUtils.currentLine=69468160; + //BA.debugLineNum = 69468160;BA.debugLine="Sub p_transparenteInicioFin2_click"; +RDebugUtils.currentLine=69468162; + //BA.debugLineNum = 69468162;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_cliente.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_cliente.java index 908a533..8a31f7f 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_cliente.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_cliente.java @@ -10,7 +10,7 @@ public class c_cliente extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_cliente"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_cliente"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_cliente extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.PanelWrapper _p_cliente = null; @@ -479,534 +486,879 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b_acepatiende_click() throws Exception{ +public Object _initialize(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=50331648; + //BA.debugLineNum = 50331648;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=50331649; + //BA.debugLineNum = 50331649;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=50331650; + //BA.debugLineNum = 50331650;BA.debugLine="End Sub"; +return null; +} +public String _b_acepatiende_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_acepatiende_click", false)) + {return ((String) Debug.delegate(ba, "b_acepatiende_click", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null; - //BA.debugLineNum = 7939;BA.debugLine="Private Sub b_acepatiende_Click"; - //BA.debugLineNum = 7940;BA.debugLine="If et_atiende.Text <> \"\" Then"; -if ((_et_atiende.getText()).equals("") == false) { - //BA.debugLineNum = 7942;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; +RDebugUtils.currentLine=64618496; + //BA.debugLineNum = 64618496;BA.debugLine="Private Sub b_acepatiende_Click"; +RDebugUtils.currentLine=64618497; + //BA.debugLineNum = 64618497;BA.debugLine="If et_atiende.Text <> \"\" Then"; +if ((__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=64618499; + //BA.debugLineNum = 64618499;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; _coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from ATIENDE where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 7944;BA.debugLine="If coord.RowCount = 0 Then"; +RDebugUtils.currentLine=64618501; + //BA.debugLineNum = 64618501;BA.debugLine="If coord.RowCount = 0 Then"; if (_coord.getRowCount()==0) { - //BA.debugLineNum = 7945;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ATIENDE(ATIENDE"; -_skmt.ExecNonQuery2("INSERT INTO ATIENDE(ATIENDE,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_atiende.getText(),_subs._traecliente /*String*/ (ba)})); - //BA.debugLineNum = 7946;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(_et_atiende.getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); - //BA.debugLineNum = 7947;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +RDebugUtils.currentLine=64618502; + //BA.debugLineNum = 64618502;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ATIENDE(ATIENDE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ATIENDE(ATIENDE,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),_subs._traecliente /*String*/ (ba)})); +RDebugUtils.currentLine=64618503; + //BA.debugLineNum = 64618503;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=64618504; + //BA.debugLineNum = 64618504;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; __c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 7948;BA.debugLine="l_atiende.Text = et_atiende.Text"; -_l_atiende.setText(BA.ObjectToCharSequence(_et_atiende.getText())); - //BA.debugLineNum = 7949;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 7950;BA.debugLine="p_atiende.Visible = False"; -_p_atiende.setVisible(__c.False); - //BA.debugLineNum = 7951;BA.debugLine="et_atiende.Text = \"\""; -_et_atiende.setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=64618505; + //BA.debugLineNum = 64618505;BA.debugLine="l_atiende.Text = et_atiende.Text"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())); +RDebugUtils.currentLine=64618506; + //BA.debugLineNum = 64618506;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=64618507; + //BA.debugLineNum = 64618507;BA.debugLine="p_atiende.Visible = False"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64618508; + //BA.debugLineNum = 64618508;BA.debugLine="et_atiende.Text = \"\""; +__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); }else { - //BA.debugLineNum = 7953;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE ATIENDE SET ATIENDE"; -_skmt.ExecNonQuery2("UPDATE ATIENDE SET ATIENDE = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_atiende.getText()})); - //BA.debugLineNum = 7954;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(_et_atiende.getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); - //BA.debugLineNum = 7955;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +RDebugUtils.currentLine=64618510; + //BA.debugLineNum = 64618510;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE ATIENDE SET ATIENDE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE ATIENDE SET ATIENDE = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})); +RDebugUtils.currentLine=64618511; + //BA.debugLineNum = 64618511;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=64618512; + //BA.debugLineNum = 64618512;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; __c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 7956;BA.debugLine="l_atiende.Text = et_atiende.Text"; -_l_atiende.setText(BA.ObjectToCharSequence(_et_atiende.getText())); - //BA.debugLineNum = 7957;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 7958;BA.debugLine="p_atiende.Visible = False"; -_p_atiende.setVisible(__c.False); - //BA.debugLineNum = 7959;BA.debugLine="et_atiende.Text = \"\""; -_et_atiende.setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=64618513; + //BA.debugLineNum = 64618513;BA.debugLine="l_atiende.Text = et_atiende.Text"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())); +RDebugUtils.currentLine=64618514; + //BA.debugLineNum = 64618514;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=64618515; + //BA.debugLineNum = 64618515;BA.debugLine="p_atiende.Visible = False"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64618516; + //BA.debugLineNum = 64618516;BA.debugLine="et_atiende.Text = \"\""; +__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); }; }else { - //BA.debugLineNum = 7964;BA.debugLine="MsgboxAsync(\"Por favor captura un nombre valido."; +RDebugUtils.currentLine=64618521; + //BA.debugLineNum = 64618521;BA.debugLine="MsgboxAsync(\"Por favor captura un nombre valido."; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un nombre valido."),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 7966;BA.debugLine="End Sub"; +RDebugUtils.currentLine=64618523; + //BA.debugLineNum = 64618523;BA.debugLine="End Sub"; return ""; } -public String _b_acepta_gallina_click() throws Exception{ - //BA.debugLineNum = 5446;BA.debugLine="Private Sub B_ACEPTA_GALLINA_Click"; - //BA.debugLineNum = 5449;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +public String _b_acepta_gallina_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_acepta_gallina_click", false)) + {return ((String) Debug.delegate(ba, "b_acepta_gallina_click", null));} +RDebugUtils.currentLine=57409536; + //BA.debugLineNum = 57409536;BA.debugLine="Private Sub B_ACEPTA_GALLINA_Click"; +RDebugUtils.currentLine=57409539; + //BA.debugLineNum = 57409539;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 5450;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 5451;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 5452;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 5453;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 5454;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 5455;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 5456;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 5457;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 5458;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 5459;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 5460;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 5461;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 5462;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 5463;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); +RDebugUtils.currentLine=57409540; + //BA.debugLineNum = 57409540;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=57409541; + //BA.debugLineNum = 57409541;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=57409542; + //BA.debugLineNum = 57409542;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=57409543; + //BA.debugLineNum = 57409543;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=57409544; + //BA.debugLineNum = 57409544;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=57409545; + //BA.debugLineNum = 57409545;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=57409546; + //BA.debugLineNum = 57409546;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=57409547; + //BA.debugLineNum = 57409547;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=57409548; + //BA.debugLineNum = 57409548;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=57409549; + //BA.debugLineNum = 57409549;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=57409550; + //BA.debugLineNum = 57409550;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=57409551; + //BA.debugLineNum = 57409551;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=57409552; + //BA.debugLineNum = 57409552;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=57409553; + //BA.debugLineNum = 57409553;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); }; - //BA.debugLineNum = 5465;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 5466;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; -_skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(0),(Object)(0),(Object)(1),(Object)("1 KNORR SUIZA EXH C/50/22 GR +1 KNORR SUIZA GALLINA $279.00"),(Object)("PRO1771"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)})); - //BA.debugLineNum = 5467;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; -_skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(139.5),(Object)(139.5),(Object)(1),(Object)("KNORR SUIZA EXH C/50/22 GR"),(Object)("UNI047"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)})); - //BA.debugLineNum = 5468;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; -_skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(139.5),(Object)(139.5),(Object)(1),(Object)("KNORR SUIZA GALLINA"),(Object)("UNI860"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)})); - //BA.debugLineNum = 5470;BA.debugLine="c=skmt.ExecQuery(\"select sum(pe_costo_tot) as TOT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 5471;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 5472;BA.debugLine="skmt.ExecNonQuery(\"delete from pedido_cliente whe"; -_skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 5473;BA.debugLine="skmt.ExecNonQuery2(\"insert into pedido_cliente(PC"; -_skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_la_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 5474;BA.debugLine="skmt.ExecNonQuery(\"UPDATE kmt_info3 set gestion ="; -_skmt.ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 5478;BA.debugLine="B_GALLINA.Visible = False"; -_b_gallina.setVisible(__c.False); - //BA.debugLineNum = 5479;BA.debugLine="b_like.Visible = True"; -_b_like.setVisible(__c.True); - //BA.debugLineNum = 5480;BA.debugLine="Tar.Visible = True"; -_tar.setVisible(__c.True); - //BA.debugLineNum = 5481;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 5482;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 5484;BA.debugLine="b_like.Visible = False"; -_b_like.setVisible(__c.False); - //BA.debugLineNum = 5485;BA.debugLine="Guardar.Visible = True"; -_guardar.setVisible(__c.True); - //BA.debugLineNum = 5486;BA.debugLine="P_gallina.Visible = False"; -_p_gallina.setVisible(__c.False); - //BA.debugLineNum = 5487;BA.debugLine="End Sub"; +RDebugUtils.currentLine=57409555; + //BA.debugLineNum = 57409555;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=57409556; + //BA.debugLineNum = 57409556;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(0),(Object)(0),(Object)(1),(Object)("1 KNORR SUIZA EXH C/50/22 GR +1 KNORR SUIZA GALLINA $279.00"),(Object)("PRO1771"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )})); +RDebugUtils.currentLine=57409557; + //BA.debugLineNum = 57409557;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(139.5),(Object)(139.5),(Object)(1),(Object)("KNORR SUIZA EXH C/50/22 GR"),(Object)("UNI047"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )})); +RDebugUtils.currentLine=57409558; + //BA.debugLineNum = 57409558;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(139.5),(Object)(139.5),(Object)(1),(Object)("KNORR SUIZA GALLINA"),(Object)("UNI860"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )})); +RDebugUtils.currentLine=57409560; + //BA.debugLineNum = 57409560;BA.debugLine="c=skmt.ExecQuery(\"select sum(pe_costo_tot) as TOT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=57409561; + //BA.debugLineNum = 57409561;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=57409562; + //BA.debugLineNum = 57409562;BA.debugLine="skmt.ExecNonQuery(\"delete from pedido_cliente whe"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=57409563; + //BA.debugLineNum = 57409563;BA.debugLine="skmt.ExecNonQuery2(\"insert into pedido_cliente(PC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=57409564; + //BA.debugLineNum = 57409564;BA.debugLine="skmt.ExecNonQuery(\"UPDATE kmt_info3 set gestion ="; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=57409568; + //BA.debugLineNum = 57409568;BA.debugLine="B_GALLINA.Visible = False"; +__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57409569; + //BA.debugLineNum = 57409569;BA.debugLine="b_like.Visible = True"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57409570; + //BA.debugLineNum = 57409570;BA.debugLine="Tar.Visible = True"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57409571; + //BA.debugLineNum = 57409571;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57409572; + //BA.debugLineNum = 57409572;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57409574; + //BA.debugLineNum = 57409574;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57409575; + //BA.debugLineNum = 57409575;BA.debugLine="Guardar.Visible = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57409576; + //BA.debugLineNum = 57409576;BA.debugLine="P_gallina.Visible = False"; +__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57409577; + //BA.debugLineNum = 57409577;BA.debugLine="End Sub"; return ""; } -public String _b_aceptelefono_click() throws Exception{ +public String _b_aceptelefono_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_aceptelefono_click", false)) + {return ((String) Debug.delegate(ba, "b_aceptelefono_click", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null; - //BA.debugLineNum = 7986;BA.debugLine="Private Sub b_aceptelefono_Click"; - //BA.debugLineNum = 7987;BA.debugLine="If et_telefono.Text <> \"\" Then"; -if ((_et_telefono.getText()).equals("") == false) { - //BA.debugLineNum = 7988;BA.debugLine="If et_telefono.Text.Length = 10 Then"; -if (_et_telefono.getText().length()==10) { - //BA.debugLineNum = 7990;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skm"; +RDebugUtils.currentLine=64880640; + //BA.debugLineNum = 64880640;BA.debugLine="Private Sub b_aceptelefono_Click"; +RDebugUtils.currentLine=64880641; + //BA.debugLineNum = 64880641;BA.debugLine="If et_telefono.Text <> \"\" Then"; +if ((__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=64880642; + //BA.debugLineNum = 64880642;BA.debugLine="If et_telefono.Text.Length = 10 Then"; +if (__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()==10) { +RDebugUtils.currentLine=64880644; + //BA.debugLineNum = 64880644;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skm"; _coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from TELEFONO where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 7992;BA.debugLine="If coord.RowCount = 0 Then"; +RDebugUtils.currentLine=64880646; + //BA.debugLineNum = 64880646;BA.debugLine="If coord.RowCount = 0 Then"; if (_coord.getRowCount()==0) { - //BA.debugLineNum = 7993;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO TELEFONO(TELEF"; -_skmt.ExecNonQuery2("INSERT INTO TELEFONO(TELEFONO,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_telefono.getText(),_subs._traecliente /*String*/ (ba)})); - //BA.debugLineNum = 7994;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"+__c.SmartStringFormatter("",(Object)(_et_telefono.getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); - //BA.debugLineNum = 7995;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +RDebugUtils.currentLine=64880647; + //BA.debugLineNum = 64880647;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO TELEFONO(TELEF"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TELEFONO(TELEFONO,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),_subs._traecliente /*String*/ (ba)})); +RDebugUtils.currentLine=64880648; + //BA.debugLineNum = 64880648;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"+__c.SmartStringFormatter("",(Object)(__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=64880649; + //BA.debugLineNum = 64880649;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; __c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 7996;BA.debugLine="Label19.Text = et_telefono.Text"; -_label19.setText(BA.ObjectToCharSequence(_et_telefono.getText())); - //BA.debugLineNum = 7997;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 7998;BA.debugLine="p_telefono.Visible = False"; -_p_telefono.setVisible(__c.False); - //BA.debugLineNum = 7999;BA.debugLine="et_telefono.Text = \"\""; -_et_telefono.setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=64880650; + //BA.debugLineNum = 64880650;BA.debugLine="Label19.Text = et_telefono.Text"; +__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())); +RDebugUtils.currentLine=64880651; + //BA.debugLineNum = 64880651;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=64880652; + //BA.debugLineNum = 64880652;BA.debugLine="p_telefono.Visible = False"; +__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64880653; + //BA.debugLineNum = 64880653;BA.debugLine="et_telefono.Text = \"\""; +__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); }else { - //BA.debugLineNum = 8001;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE TELEFONO SET TELEFO"; -_skmt.ExecNonQuery2("UPDATE TELEFONO SET TELEFONO = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_telefono.getText()})); - //BA.debugLineNum = 8002;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"+__c.SmartStringFormatter("",(Object)(_et_telefono.getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); - //BA.debugLineNum = 8003;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +RDebugUtils.currentLine=64880655; + //BA.debugLineNum = 64880655;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE TELEFONO SET TELEFO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE TELEFONO SET TELEFONO = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})); +RDebugUtils.currentLine=64880656; + //BA.debugLineNum = 64880656;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"+__c.SmartStringFormatter("",(Object)(__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=64880657; + //BA.debugLineNum = 64880657;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; __c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 8004;BA.debugLine="Label19.Text = et_telefono.Text"; -_label19.setText(BA.ObjectToCharSequence(_et_telefono.getText())); - //BA.debugLineNum = 8006;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 8007;BA.debugLine="p_telefono.Visible = False"; -_p_telefono.setVisible(__c.False); - //BA.debugLineNum = 8008;BA.debugLine="et_telefono.Text = \"\""; -_et_telefono.setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=64880658; + //BA.debugLineNum = 64880658;BA.debugLine="Label19.Text = et_telefono.Text"; +__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())); +RDebugUtils.currentLine=64880660; + //BA.debugLineNum = 64880660;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=64880661; + //BA.debugLineNum = 64880661;BA.debugLine="p_telefono.Visible = False"; +__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64880662; + //BA.debugLineNum = 64880662;BA.debugLine="et_telefono.Text = \"\""; +__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); }; }else { - //BA.debugLineNum = 8012;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de tel"; +RDebugUtils.currentLine=64880666; + //BA.debugLineNum = 64880666;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de tel"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un numero de teléfono valido."),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 8015;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de telé"; +RDebugUtils.currentLine=64880669; + //BA.debugLineNum = 64880669;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de telé"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un numero de teléfono valido."),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 8017;BA.debugLine="End Sub"; +RDebugUtils.currentLine=64880671; + //BA.debugLineNum = 64880671;BA.debugLine="End Sub"; return ""; } -public String _b_agregarcom_click() throws Exception{ +public String _b_agregarcom_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_agregarcom_click", false)) + {return ((String) Debug.delegate(ba, "b_agregarcom_click", null));} anywheresoftware.b4a.objects.LabelWrapper _label1 = null; int _i = 0; String _itemtext = ""; - //BA.debugLineNum = 7634;BA.debugLine="Private Sub b_agregarcom_Click"; - //BA.debugLineNum = 7636;BA.debugLine="If et_comentario.Text <> \"\" Then"; -if ((_et_comentario.getText()).equals("") == false) { - //BA.debugLineNum = 7637;BA.debugLine="If chb_com.Checked Then"; -if (_chb_com.getChecked()) { - //BA.debugLineNum = 7638;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"+__c.SmartStringFormatter("",(Object)(_et_comentario.getText()))+"','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"',1)")); - }else if(_chb_com.getChecked()==__c.False) { - //BA.debugLineNum = 7640;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"+__c.SmartStringFormatter("",(Object)(_et_comentario.getText()))+"','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"',0)")); - }; - //BA.debugLineNum = 7643;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=63504384; + //BA.debugLineNum = 63504384;BA.debugLine="Private Sub b_agregarcom_Click"; +RDebugUtils.currentLine=63504386; + //BA.debugLineNum = 63504386;BA.debugLine="If et_comentario.Text <> \"\" Then"; +if ((__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=63504387; + //BA.debugLineNum = 63504387;BA.debugLine="If chb_com.Checked Then"; +if (__ref._chb_com /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=63504388; + //BA.debugLineNum = 63504388;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"+__c.SmartStringFormatter("",(Object)(__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"',1)")); + }else +{RDebugUtils.currentLine=63504389; + //BA.debugLineNum = 63504389;BA.debugLine="Else If chb_com.Checked = False Then"; +if (__ref._chb_com /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=63504390; + //BA.debugLineNum = 63504390;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"+__c.SmartStringFormatter("",(Object)(__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"',0)")); + }} +; +RDebugUtils.currentLine=63504393; + //BA.debugLineNum = 63504393;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 7644;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label"; -_label1 = _lv_comentarios.getSingleLineLayout().Label; - //BA.debugLineNum = 7645;BA.debugLine="label1.TextSize = 16"; +RDebugUtils.currentLine=63504394; + //BA.debugLineNum = 63504394;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label"; +_label1 = __ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=63504395; + //BA.debugLineNum = 63504395;BA.debugLine="label1.TextSize = 16"; _label1.setTextSize((float) (16)); - //BA.debugLineNum = 7646;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=63504396; + //BA.debugLineNum = 63504396;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 7651;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DE"; +RDebugUtils.currentLine=63504401; + //BA.debugLineNum = 63504401;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DE"; _label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 7656;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"se"; +RDebugUtils.currentLine=63504406; + //BA.debugLineNum = 63504406;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"se"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COMENTARTIO FROM COMENTARIOS WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 7657;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor"; -_lv_comentarios.getSingleLineLayout().Label.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 7658;BA.debugLine="lv_comentarios.Clear"; -_lv_comentarios.Clear(); - //BA.debugLineNum = 7659;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 7660;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=63504407; + //BA.debugLineNum = 63504407;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor"; +__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=63504408; + //BA.debugLineNum = 63504408;BA.debugLine="lv_comentarios.Clear"; +__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=63504409; + //BA.debugLineNum = 63504409;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=63504410; + //BA.debugLineNum = 63504410;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step16 = 1; -final int limit16 = (int) (_c.getRowCount()-1); +final int limit16 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 7661;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 7662;BA.debugLine="Dim itemText As String"; +RDebugUtils.currentLine=63504411; + //BA.debugLineNum = 63504411;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=63504412; + //BA.debugLineNum = 63504412;BA.debugLine="Dim itemText As String"; _itemtext = ""; - //BA.debugLineNum = 7664;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$"; -_itemtext = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("COMENTARTIO")))+""); - //BA.debugLineNum = 7665;BA.debugLine="lv_comentarios.AddSingleLine(itemText)"; -_lv_comentarios.AddSingleLine(BA.ObjectToCharSequence(_itemtext)); +RDebugUtils.currentLine=63504414; + //BA.debugLineNum = 63504414;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$"; +_itemtext = (""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COMENTARTIO")))+""); +RDebugUtils.currentLine=63504415; + //BA.debugLineNum = 63504415;BA.debugLine="lv_comentarios.AddSingleLine(itemText)"; +__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_itemtext)); } }; }else { - //BA.debugLineNum = 7669;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos disp"; -_lv_comentarios.AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); +RDebugUtils.currentLine=63504419; + //BA.debugLineNum = 63504419;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos disp"; +__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); }; - //BA.debugLineNum = 7671;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 7672;BA.debugLine="et_comentario.Text = \"\""; -_et_comentario.setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=63504421; + //BA.debugLineNum = 63504421;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=63504422; + //BA.debugLineNum = 63504422;BA.debugLine="et_comentario.Text = \"\""; +__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); }; - //BA.debugLineNum = 7675;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63504425; + //BA.debugLineNum = 63504425;BA.debugLine="End Sub"; return ""; } -public String _b_cancela_gallina_click() throws Exception{ - //BA.debugLineNum = 5489;BA.debugLine="Private Sub B_CANCELA_GALLINA_Click"; - //BA.debugLineNum = 5490;BA.debugLine="P_gallina.Visible = False"; -_p_gallina.setVisible(__c.False); - //BA.debugLineNum = 5492;BA.debugLine="B_GALLINA.Visible = False"; -_b_gallina.setVisible(__c.False); - //BA.debugLineNum = 5493;BA.debugLine="b_like.Visible = True"; -_b_like.setVisible(__c.True); - //BA.debugLineNum = 5494;BA.debugLine="Tar.Visible = True"; -_tar.setVisible(__c.True); - //BA.debugLineNum = 5495;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 5496;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 5498;BA.debugLine="b_like.Visible = False"; -_b_like.setVisible(__c.False); - //BA.debugLineNum = 5499;BA.debugLine="Guardar.Visible = True"; -_guardar.setVisible(__c.True); - //BA.debugLineNum = 5502;BA.debugLine="End Sub"; +public String _b_cancela_gallina_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancela_gallina_click", false)) + {return ((String) Debug.delegate(ba, "b_cancela_gallina_click", null));} +RDebugUtils.currentLine=57475072; + //BA.debugLineNum = 57475072;BA.debugLine="Private Sub B_CANCELA_GALLINA_Click"; +RDebugUtils.currentLine=57475073; + //BA.debugLineNum = 57475073;BA.debugLine="P_gallina.Visible = False"; +__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57475075; + //BA.debugLineNum = 57475075;BA.debugLine="B_GALLINA.Visible = False"; +__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57475076; + //BA.debugLineNum = 57475076;BA.debugLine="b_like.Visible = True"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57475077; + //BA.debugLineNum = 57475077;BA.debugLine="Tar.Visible = True"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57475078; + //BA.debugLineNum = 57475078;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57475079; + //BA.debugLineNum = 57475079;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57475081; + //BA.debugLineNum = 57475081;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57475082; + //BA.debugLineNum = 57475082;BA.debugLine="Guardar.Visible = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57475085; + //BA.debugLineNum = 57475085;BA.debugLine="End Sub"; return ""; } -public String _b_cancelarcodigoautorizacion_click() throws Exception{ - //BA.debugLineNum = 6771;BA.debugLine="Private Sub b_cancelarCodigoAutorizacion_Click"; - //BA.debugLineNum = 6772;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; -_p_transparenteticketimpreso.setVisible(__c.False); - //BA.debugLineNum = 6773;BA.debugLine="End Sub"; +public String _b_cancelarcodigoautorizacion_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancelarcodigoautorizacion_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelarcodigoautorizacion_click", null));} +RDebugUtils.currentLine=62062592; + //BA.debugLineNum = 62062592;BA.debugLine="Private Sub b_cancelarCodigoAutorizacion_Click"; +RDebugUtils.currentLine=62062593; + //BA.debugLineNum = 62062593;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=62062594; + //BA.debugLineNum = 62062594;BA.debugLine="End Sub"; return ""; } -public String _b_cancelarenviopdf_click() throws Exception{ - //BA.debugLineNum = 7501;BA.debugLine="Private Sub b_cancelarEnvioPDF_Click"; - //BA.debugLineNum = 7502;BA.debugLine="p_transparentePDF.Visible = False"; -_p_transparentepdf.setVisible(__c.False); - //BA.debugLineNum = 7503;BA.debugLine="End Sub"; +public String _b_cancelarenviopdf_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancelarenviopdf_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelarenviopdf_click", null));} +RDebugUtils.currentLine=62783488; + //BA.debugLineNum = 62783488;BA.debugLine="Private Sub b_cancelarEnvioPDF_Click"; +RDebugUtils.currentLine=62783489; + //BA.debugLineNum = 62783489;BA.debugLine="p_transparentePDF.Visible = False"; +__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=62783490; + //BA.debugLineNum = 62783490;BA.debugLine="End Sub"; return ""; } -public String _b_cancelatiende_click() throws Exception{ - //BA.debugLineNum = 7968;BA.debugLine="Private Sub b_cancelatiende_Click"; - //BA.debugLineNum = 7969;BA.debugLine="p_atiende.Visible = False"; -_p_atiende.setVisible(__c.False); - //BA.debugLineNum = 7970;BA.debugLine="et_atiende.Text = \"\""; -_et_atiende.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 7971;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 7972;BA.debugLine="End Sub"; +public String _b_cancelatiende_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancelatiende_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelatiende_click", null));} +RDebugUtils.currentLine=64684032; + //BA.debugLineNum = 64684032;BA.debugLine="Private Sub b_cancelatiende_Click"; +RDebugUtils.currentLine=64684033; + //BA.debugLineNum = 64684033;BA.debugLine="p_atiende.Visible = False"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64684034; + //BA.debugLineNum = 64684034;BA.debugLine="et_atiende.Text = \"\""; +__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=64684035; + //BA.debugLineNum = 64684035;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=64684036; + //BA.debugLineNum = 64684036;BA.debugLine="End Sub"; return ""; } -public String _b_canceltelefono_click() throws Exception{ - //BA.debugLineNum = 8019;BA.debugLine="Private Sub b_canceltelefono_Click"; - //BA.debugLineNum = 8020;BA.debugLine="p_telefono.Visible = False"; -_p_telefono.setVisible(__c.False); - //BA.debugLineNum = 8021;BA.debugLine="et_telefono.Text = \"\""; -_et_telefono.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 8022;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 8023;BA.debugLine="End Sub"; +public String _b_canceltelefono_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_canceltelefono_click", false)) + {return ((String) Debug.delegate(ba, "b_canceltelefono_click", null));} +RDebugUtils.currentLine=64946176; + //BA.debugLineNum = 64946176;BA.debugLine="Private Sub b_canceltelefono_Click"; +RDebugUtils.currentLine=64946177; + //BA.debugLineNum = 64946177;BA.debugLine="p_telefono.Visible = False"; +__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64946178; + //BA.debugLineNum = 64946178;BA.debugLine="et_telefono.Text = \"\""; +__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=64946179; + //BA.debugLineNum = 64946179;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=64946180; + //BA.debugLineNum = 64946180;BA.debugLine="End Sub"; return ""; } -public String _b_cerarcom_click() throws Exception{ - //BA.debugLineNum = 7629;BA.debugLine="Private Sub b_cerarcom_Click"; - //BA.debugLineNum = 7630;BA.debugLine="p_comentario.Visible = False"; -_p_comentario.setVisible(__c.False); - //BA.debugLineNum = 7631;BA.debugLine="et_comentario.Text = \"\""; -_et_comentario.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 7632;BA.debugLine="End Sub"; +public String _b_cerarcom_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cerarcom_click", false)) + {return ((String) Debug.delegate(ba, "b_cerarcom_click", null));} +RDebugUtils.currentLine=63438848; + //BA.debugLineNum = 63438848;BA.debugLine="Private Sub b_cerarcom_Click"; +RDebugUtils.currentLine=63438849; + //BA.debugLineNum = 63438849;BA.debugLine="p_comentario.Visible = False"; +__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=63438850; + //BA.debugLineNum = 63438850;BA.debugLine="et_comentario.Text = \"\""; +__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=63438851; + //BA.debugLineNum = 63438851;BA.debugLine="End Sub"; return ""; } -public String _b_chk_e_click() throws Exception{ - //BA.debugLineNum = 6518;BA.debugLine="Private Sub b_chk_e_Click"; - //BA.debugLineNum = 6520;BA.debugLine="End Sub"; +public String _b_chk_e_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_chk_e_click", false)) + {return ((String) Debug.delegate(ba, "b_chk_e_click", null));} +RDebugUtils.currentLine=61407232; + //BA.debugLineNum = 61407232;BA.debugLine="Private Sub b_chk_e_Click"; +RDebugUtils.currentLine=61407234; + //BA.debugLineNum = 61407234;BA.debugLine="End Sub"; return ""; } -public String _b_codigoautorizacion_click() throws Exception{ +public String _b_codigoautorizacion_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_codigoautorizacion_click", false)) + {return ((String) Debug.delegate(ba, "b_codigoautorizacion_click", null));} gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 6753;BA.debugLine="Private Sub b_codigoAutorizacion_Click"; - //BA.debugLineNum = 6754;BA.debugLine="If et_codigoAutorizacion.Text <> \"KMTS1\" Then"; -if ((_et_codigoautorizacion.getText()).equals("KMTS1") == false) { - //BA.debugLineNum = 6755;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=61997056; + //BA.debugLineNum = 61997056;BA.debugLine="Private Sub b_codigoAutorizacion_Click"; +RDebugUtils.currentLine=61997057; + //BA.debugLineNum = 61997057;BA.debugLine="If et_codigoAutorizacion.Text <> \"KMTS1\" Then"; +if ((__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1") == false) { +RDebugUtils.currentLine=61997058; + //BA.debugLineNum = 61997058;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 6756;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=61997059; + //BA.debugLineNum = 61997059;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 6757;BA.debugLine="cmd.Name = \"select_codigoAutorizacion\""; +RDebugUtils.currentLine=61997060; + //BA.debugLineNum = 61997060;BA.debugLine="cmd.Name = \"select_codigoAutorizacion\""; _cmd.Name /*String*/ = "select_codigoAutorizacion"; - //BA.debugLineNum = 6758;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAutori"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_et_codigoautorizacion.getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))}; - //BA.debugLineNum = 6759;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"codigoAutoriza"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("codigoAutorizacion")); +RDebugUtils.currentLine=61997061; + //BA.debugLineNum = 61997061;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAutori"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))}; +RDebugUtils.currentLine=61997062; + //BA.debugLineNum = 61997062;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"codigoAutoriza"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("codigoAutorizacion")); }else { - //BA.debugLineNum = 6761;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket_im"; +RDebugUtils.currentLine=61997064; + //BA.debugLineNum = 61997064;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket_im"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)"); - //BA.debugLineNum = 6762;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; -_p_transparenteticketimpreso.setVisible(__c.False); - //BA.debugLineNum = 6763;BA.debugLine="et_codigoAutorizacion.Text = \"\""; -_et_codigoautorizacion.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 6764;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; +RDebugUtils.currentLine=61997065; + //BA.debugLineNum = 61997065;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=61997066; + //BA.debugLineNum = 61997066;BA.debugLine="et_codigoAutorizacion.Text = \"\""; +__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=61997067; + //BA.debugLineNum = 61997067;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 6765;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CREDIT"; +RDebugUtils.currentLine=61997068; + //BA.debugLineNum = 61997068;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CREDIT"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); }; - //BA.debugLineNum = 6767;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 6769;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61997070; + //BA.debugLineNum = 61997070;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=61997072; + //BA.debugLineNum = 61997072;BA.debugLine="End Sub"; return ""; } -public String _b_comentarios_click() throws Exception{ +public String _b_comentarios_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_comentarios_click", false)) + {return ((String) Debug.delegate(ba, "b_comentarios_click", null));} anywheresoftware.b4a.objects.LabelWrapper _label1 = null; int _i = 0; String _itemtext = ""; - //BA.debugLineNum = 7593;BA.debugLine="Private Sub b_comentarios_Click"; - //BA.debugLineNum = 7594;BA.debugLine="p_comentario.Visible = True"; -_p_comentario.setVisible(__c.True); - //BA.debugLineNum = 7595;BA.debugLine="et_comentario.Text = \"\""; -_et_comentario.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 7596;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=63373312; + //BA.debugLineNum = 63373312;BA.debugLine="Private Sub b_comentarios_Click"; +RDebugUtils.currentLine=63373313; + //BA.debugLineNum = 63373313;BA.debugLine="p_comentario.Visible = True"; +__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=63373314; + //BA.debugLineNum = 63373314;BA.debugLine="et_comentario.Text = \"\""; +__ref._et_comentario /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=63373315; + //BA.debugLineNum = 63373315;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 7597;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label"; -_label1 = _lv_comentarios.getSingleLineLayout().Label; - //BA.debugLineNum = 7598;BA.debugLine="label1.TextSize = 16"; +RDebugUtils.currentLine=63373316; + //BA.debugLineNum = 63373316;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label"; +_label1 = __ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=63373317; + //BA.debugLineNum = 63373317;BA.debugLine="label1.TextSize = 16"; _label1.setTextSize((float) (16)); - //BA.debugLineNum = 7599;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=63373318; + //BA.debugLineNum = 63373318;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 7604;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF"; +RDebugUtils.currentLine=63373323; + //BA.debugLineNum = 63373323;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF"; _label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 7609;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +RDebugUtils.currentLine=63373328; + //BA.debugLineNum = 63373328;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COMENTARTIO FROM COMENTARIOS WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 7610;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor ="; -_lv_comentarios.getSingleLineLayout().Label.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 7611;BA.debugLine="lv_comentarios.Clear"; -_lv_comentarios.Clear(); - //BA.debugLineNum = 7612;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 7613;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=63373329; + //BA.debugLineNum = 63373329;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor ="; +__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=63373330; + //BA.debugLineNum = 63373330;BA.debugLine="lv_comentarios.Clear"; +__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=63373331; + //BA.debugLineNum = 63373331;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=63373332; + //BA.debugLineNum = 63373332;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step12 = 1; -final int limit12 = (int) (_c.getRowCount()-1); +final int limit12 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit12 ;_i = _i + step12 ) { - //BA.debugLineNum = 7614;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 7615;BA.debugLine="Dim itemText As String"; +RDebugUtils.currentLine=63373333; + //BA.debugLineNum = 63373333;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=63373334; + //BA.debugLineNum = 63373334;BA.debugLine="Dim itemText As String"; _itemtext = ""; - //BA.debugLineNum = 7617;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$"; -_itemtext = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("COMENTARTIO")))+""); - //BA.debugLineNum = 7618;BA.debugLine="lv_comentarios.AddSingleLine(itemText)"; -_lv_comentarios.AddSingleLine(BA.ObjectToCharSequence(_itemtext)); +RDebugUtils.currentLine=63373336; + //BA.debugLineNum = 63373336;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$"; +_itemtext = (""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COMENTARTIO")))+""); +RDebugUtils.currentLine=63373337; + //BA.debugLineNum = 63373337;BA.debugLine="lv_comentarios.AddSingleLine(itemText)"; +__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_itemtext)); } }; }else { - //BA.debugLineNum = 7622;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos dispo"; -_lv_comentarios.AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); +RDebugUtils.currentLine=63373341; + //BA.debugLineNum = 63373341;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos dispo"; +__ref._lv_comentarios /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); }; - //BA.debugLineNum = 7627;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63373346; + //BA.debugLineNum = 63373346;BA.debugLine="End Sub"; return ""; } -public String _b_e_next_click() throws Exception{ - //BA.debugLineNum = 4658;BA.debugLine="Sub B_E_NEXT_Click"; - //BA.debugLineNum = 4659;BA.debugLine="If E_RES_E.Text <> \"\" Then"; -if ((_e_res_e.getText()).equals("") == false) { - //BA.debugLineNum = 4660;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_la_cuenta.getText()),(Object)(_e_res_e.getText()),(Object)(_sdate+_stime),(Object)("DONDE")})); - //BA.debugLineNum = 4661;BA.debugLine="Panel2.Visible = False"; -_panel2.setVisible(__c.False); - //BA.debugLineNum = 4662;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +public String _b_e_next_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_e_next_click", false)) + {return ((String) Debug.delegate(ba, "b_e_next_click", null));} +RDebugUtils.currentLine=54657024; + //BA.debugLineNum = 54657024;BA.debugLine="Sub B_E_NEXT_Click"; +RDebugUtils.currentLine=54657025; + //BA.debugLineNum = 54657025;BA.debugLine="If E_RES_E.Text <> \"\" Then"; +if ((__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=54657026; + //BA.debugLineNum = 54657026;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)("DONDE")})); +RDebugUtils.currentLine=54657027; + //BA.debugLineNum = 54657027;BA.debugLine="Panel2.Visible = False"; +__ref._panel2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54657028; + //BA.debugLineNum = 54657028;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); }else { - //BA.debugLineNum = 4664;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore"; +RDebugUtils.currentLine=54657030; + //BA.debugLineNum = 54657030;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore"; __c.Msgbox(BA.ObjectToCharSequence("SIN RESPUESTA"),BA.ObjectToCharSequence("AVISO"),ba); }; - //BA.debugLineNum = 4666;BA.debugLine="End Sub"; +RDebugUtils.currentLine=54657032; + //BA.debugLineNum = 54657032;BA.debugLine="End Sub"; return ""; } -public String _b_encuesta_1_click() throws Exception{ +public String _b_encuesta_1_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_encuesta_1_click", false)) + {return ((String) Debug.delegate(ba, "b_encuesta_1_click", null));} anywheresoftware.b4a.objects.ButtonWrapper _btn = null; - //BA.debugLineNum = 6442;BA.debugLine="Private Sub b_encuesta_1_Click"; - //BA.debugLineNum = 6443;BA.debugLine="Log(\"BOTON 1 CLICK\")"; -__c.LogImpl("460817409","BOTON 1 CLICK",0); - //BA.debugLineNum = 6444;BA.debugLine="Dim btn As Button = Sender"; +RDebugUtils.currentLine=60882944; + //BA.debugLineNum = 60882944;BA.debugLine="Private Sub b_encuesta_1_Click"; +RDebugUtils.currentLine=60882945; + //BA.debugLineNum = 60882945;BA.debugLine="Log(\"BOTON 1 CLICK\")"; +__c.LogImpl("060882945","BOTON 1 CLICK",0); +RDebugUtils.currentLine=60882946; + //BA.debugLineNum = 60882946;BA.debugLine="Dim btn As Button = Sender"; _btn = new anywheresoftware.b4a.objects.ButtonWrapper(); _btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba))); - //BA.debugLineNum = 6445;BA.debugLine="Log(\"BOTON 1 CLICKED \"& \" clicked - \" & btn.Text"; -__c.LogImpl("460817411","BOTON 1 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0); - //BA.debugLineNum = 6446;BA.debugLine="encuestaRes = btn.Text"; -_encuestares = _btn.getText(); - //BA.debugLineNum = 6447;BA.debugLine="indicePregunta = btn.Tag"; -_indicepregunta = (int)(BA.ObjectToNumber(_btn.getTag())); - //BA.debugLineNum = 6448;BA.debugLine="ocultaPanelEncuesta"; -_ocultapanelencuesta(); - //BA.debugLineNum = 6449;BA.debugLine="botonPresionado = 1"; -_botonpresionado = (int) (1); - //BA.debugLineNum = 6450;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60882947; + //BA.debugLineNum = 60882947;BA.debugLine="Log(\"BOTON 1 CLICKED \"& \" clicked - \" & btn.Text"; +__c.LogImpl("060882947","BOTON 1 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0); +RDebugUtils.currentLine=60882948; + //BA.debugLineNum = 60882948;BA.debugLine="encuestaRes = btn.Text"; +__ref._encuestares /*String*/ = _btn.getText(); +RDebugUtils.currentLine=60882949; + //BA.debugLineNum = 60882949;BA.debugLine="indicePregunta = btn.Tag"; +__ref._indicepregunta /*int*/ = (int)(BA.ObjectToNumber(_btn.getTag())); +RDebugUtils.currentLine=60882950; + //BA.debugLineNum = 60882950;BA.debugLine="ocultaPanelEncuesta"; +__ref._ocultapanelencuesta /*String*/ (null); +RDebugUtils.currentLine=60882951; + //BA.debugLineNum = 60882951;BA.debugLine="botonPresionado = 1"; +__ref._botonpresionado /*int*/ = (int) (1); +RDebugUtils.currentLine=60882952; + //BA.debugLineNum = 60882952;BA.debugLine="End Sub"; return ""; } -public String _b_encuesta_2_click() throws Exception{ +public String _ocultapanelencuesta(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "ocultapanelencuesta", false)) + {return ((String) Debug.delegate(ba, "ocultapanelencuesta", null));} +RDebugUtils.currentLine=60751872; + //BA.debugLineNum = 60751872;BA.debugLine="Sub ocultaPanelEncuesta"; +RDebugUtils.currentLine=60751874; + //BA.debugLineNum = 60751874;BA.debugLine="b_encuesta_1.Visible = False"; +__ref._b_encuesta_1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=60751875; + //BA.debugLineNum = 60751875;BA.debugLine="b_encuesta_2.Visible = False"; +__ref._b_encuesta_2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=60751876; + //BA.debugLineNum = 60751876;BA.debugLine="b_encuesta_3.Visible = False"; +__ref._b_encuesta_3 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=60751877; + //BA.debugLineNum = 60751877;BA.debugLine="p_encuesta.Visible = False"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=60751880; + //BA.debugLineNum = 60751880;BA.debugLine="End Sub"; +return ""; +} +public String _b_encuesta_2_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_encuesta_2_click", false)) + {return ((String) Debug.delegate(ba, "b_encuesta_2_click", null));} anywheresoftware.b4a.objects.ButtonWrapper _btn = null; - //BA.debugLineNum = 6452;BA.debugLine="Private Sub b_encuesta_2_Click"; - //BA.debugLineNum = 6453;BA.debugLine="Log(\"BOTON 2 CLICK\")"; -__c.LogImpl("460882945","BOTON 2 CLICK",0); - //BA.debugLineNum = 6454;BA.debugLine="Dim btn As Button = Sender"; +RDebugUtils.currentLine=60948480; + //BA.debugLineNum = 60948480;BA.debugLine="Private Sub b_encuesta_2_Click"; +RDebugUtils.currentLine=60948481; + //BA.debugLineNum = 60948481;BA.debugLine="Log(\"BOTON 2 CLICK\")"; +__c.LogImpl("060948481","BOTON 2 CLICK",0); +RDebugUtils.currentLine=60948482; + //BA.debugLineNum = 60948482;BA.debugLine="Dim btn As Button = Sender"; _btn = new anywheresoftware.b4a.objects.ButtonWrapper(); _btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba))); - //BA.debugLineNum = 6455;BA.debugLine="Log(\"BOTON 2 CLICKED \"& \" clicked - \" & btn.Text"; -__c.LogImpl("460882947","BOTON 2 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0); - //BA.debugLineNum = 6456;BA.debugLine="encuestaRes = btn.Text"; -_encuestares = _btn.getText(); - //BA.debugLineNum = 6457;BA.debugLine="indicePregunta = btn.Tag"; -_indicepregunta = (int)(BA.ObjectToNumber(_btn.getTag())); - //BA.debugLineNum = 6458;BA.debugLine="ocultaPanelEncuesta"; -_ocultapanelencuesta(); - //BA.debugLineNum = 6459;BA.debugLine="botonPresionado = 1"; -_botonpresionado = (int) (1); - //BA.debugLineNum = 6460;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60948483; + //BA.debugLineNum = 60948483;BA.debugLine="Log(\"BOTON 2 CLICKED \"& \" clicked - \" & btn.Text"; +__c.LogImpl("060948483","BOTON 2 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0); +RDebugUtils.currentLine=60948484; + //BA.debugLineNum = 60948484;BA.debugLine="encuestaRes = btn.Text"; +__ref._encuestares /*String*/ = _btn.getText(); +RDebugUtils.currentLine=60948485; + //BA.debugLineNum = 60948485;BA.debugLine="indicePregunta = btn.Tag"; +__ref._indicepregunta /*int*/ = (int)(BA.ObjectToNumber(_btn.getTag())); +RDebugUtils.currentLine=60948486; + //BA.debugLineNum = 60948486;BA.debugLine="ocultaPanelEncuesta"; +__ref._ocultapanelencuesta /*String*/ (null); +RDebugUtils.currentLine=60948487; + //BA.debugLineNum = 60948487;BA.debugLine="botonPresionado = 1"; +__ref._botonpresionado /*int*/ = (int) (1); +RDebugUtils.currentLine=60948488; + //BA.debugLineNum = 60948488;BA.debugLine="End Sub"; return ""; } -public String _b_encuesta_3_click() throws Exception{ +public String _b_encuesta_3_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_encuesta_3_click", false)) + {return ((String) Debug.delegate(ba, "b_encuesta_3_click", null));} anywheresoftware.b4a.objects.ButtonWrapper _btn = null; - //BA.debugLineNum = 6462;BA.debugLine="Private Sub b_encuesta_3_Click"; - //BA.debugLineNum = 6463;BA.debugLine="Log(\"BOTON 3 CLICK\")"; -__c.LogImpl("460948481","BOTON 3 CLICK",0); - //BA.debugLineNum = 6464;BA.debugLine="Dim btn As Button = Sender"; +RDebugUtils.currentLine=61014016; + //BA.debugLineNum = 61014016;BA.debugLine="Private Sub b_encuesta_3_Click"; +RDebugUtils.currentLine=61014017; + //BA.debugLineNum = 61014017;BA.debugLine="Log(\"BOTON 3 CLICK\")"; +__c.LogImpl("061014017","BOTON 3 CLICK",0); +RDebugUtils.currentLine=61014018; + //BA.debugLineNum = 61014018;BA.debugLine="Dim btn As Button = Sender"; _btn = new anywheresoftware.b4a.objects.ButtonWrapper(); _btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba))); - //BA.debugLineNum = 6465;BA.debugLine="Log(\"BOTON 3 CLICKED \"& \" clicked - \" & btn.Text"; -__c.LogImpl("460948483","BOTON 3 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0); - //BA.debugLineNum = 6466;BA.debugLine="encuestaRes = btn.Text"; -_encuestares = _btn.getText(); - //BA.debugLineNum = 6467;BA.debugLine="indicePregunta = btn.Tag"; -_indicepregunta = (int)(BA.ObjectToNumber(_btn.getTag())); - //BA.debugLineNum = 6468;BA.debugLine="ocultaPanelEncuesta"; -_ocultapanelencuesta(); - //BA.debugLineNum = 6469;BA.debugLine="botonPresionado = 1"; -_botonpresionado = (int) (1); - //BA.debugLineNum = 6470;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61014019; + //BA.debugLineNum = 61014019;BA.debugLine="Log(\"BOTON 3 CLICKED \"& \" clicked - \" & btn.Text"; +__c.LogImpl("061014019","BOTON 3 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0); +RDebugUtils.currentLine=61014020; + //BA.debugLineNum = 61014020;BA.debugLine="encuestaRes = btn.Text"; +__ref._encuestares /*String*/ = _btn.getText(); +RDebugUtils.currentLine=61014021; + //BA.debugLineNum = 61014021;BA.debugLine="indicePregunta = btn.Tag"; +__ref._indicepregunta /*int*/ = (int)(BA.ObjectToNumber(_btn.getTag())); +RDebugUtils.currentLine=61014022; + //BA.debugLineNum = 61014022;BA.debugLine="ocultaPanelEncuesta"; +__ref._ocultapanelencuesta /*String*/ (null); +RDebugUtils.currentLine=61014023; + //BA.debugLineNum = 61014023;BA.debugLine="botonPresionado = 1"; +__ref._botonpresionado /*int*/ = (int) (1); +RDebugUtils.currentLine=61014024; + //BA.debugLineNum = 61014024;BA.debugLine="End Sub"; return ""; } -public String _b_encuesta_continuar_click() throws Exception{ +public String _b_encuesta_continuar_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_encuesta_continuar_click", false)) + {return ((String) Debug.delegate(ba, "b_encuesta_continuar_click", null));} anywheresoftware.b4a.objects.ButtonWrapper _btn = null; - //BA.debugLineNum = 6472;BA.debugLine="Private Sub b_encuesta_continuar_Click"; - //BA.debugLineNum = 6473;BA.debugLine="Dim btn As Button = Sender"; +RDebugUtils.currentLine=61079552; + //BA.debugLineNum = 61079552;BA.debugLine="Private Sub b_encuesta_continuar_Click"; +RDebugUtils.currentLine=61079553; + //BA.debugLineNum = 61079553;BA.debugLine="Dim btn As Button = Sender"; _btn = new anywheresoftware.b4a.objects.ButtonWrapper(); _btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba))); - //BA.debugLineNum = 6474;BA.debugLine="Log(\"BOTON CONTINUAR CLICK - \" & btn.Text & \" - \""; -__c.LogImpl("461014018","BOTON CONTINUAR CLICK - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0); - //BA.debugLineNum = 6475;BA.debugLine="encuestaRes = et_encuesta.Text"; -_encuestares = _et_encuesta.getText(); - //BA.debugLineNum = 6476;BA.debugLine="indicePregunta = btn.Tag"; -_indicepregunta = (int)(BA.ObjectToNumber(_btn.getTag())); - //BA.debugLineNum = 6477;BA.debugLine="et_encuesta.Text = \"\""; -_et_encuesta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 6478;BA.debugLine="et_encuesta.Visible = False"; -_et_encuesta.setVisible(__c.False); - //BA.debugLineNum = 6479;BA.debugLine="b_encuesta_continuar.Visible = False"; -_b_encuesta_continuar.setVisible(__c.False); - //BA.debugLineNum = 6480;BA.debugLine="ocultaPanelEncuesta"; -_ocultapanelencuesta(); - //BA.debugLineNum = 6481;BA.debugLine="botonPresionado = 1"; -_botonpresionado = (int) (1); - //BA.debugLineNum = 6482;BA.debugLine="End Sub"; +RDebugUtils.currentLine=61079554; + //BA.debugLineNum = 61079554;BA.debugLine="Log(\"BOTON CONTINUAR CLICK - \" & btn.Text & \" - \""; +__c.LogImpl("061079554","BOTON CONTINUAR CLICK - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0); +RDebugUtils.currentLine=61079555; + //BA.debugLineNum = 61079555;BA.debugLine="encuestaRes = et_encuesta.Text"; +__ref._encuestares /*String*/ = __ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=61079556; + //BA.debugLineNum = 61079556;BA.debugLine="indicePregunta = btn.Tag"; +__ref._indicepregunta /*int*/ = (int)(BA.ObjectToNumber(_btn.getTag())); +RDebugUtils.currentLine=61079557; + //BA.debugLineNum = 61079557;BA.debugLine="et_encuesta.Text = \"\""; +__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=61079558; + //BA.debugLineNum = 61079558;BA.debugLine="et_encuesta.Visible = False"; +__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=61079559; + //BA.debugLineNum = 61079559;BA.debugLine="b_encuesta_continuar.Visible = False"; +__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=61079560; + //BA.debugLineNum = 61079560;BA.debugLine="ocultaPanelEncuesta"; +__ref._ocultapanelencuesta /*String*/ (null); +RDebugUtils.currentLine=61079561; + //BA.debugLineNum = 61079561;BA.debugLine="botonPresionado = 1"; +__ref._botonpresionado /*int*/ = (int) (1); +RDebugUtils.currentLine=61079562; + //BA.debugLineNum = 61079562;BA.debugLine="End Sub"; return ""; } -public String _b_enviarticket_click() throws Exception{ - //BA.debugLineNum = 7324;BA.debugLine="Private Sub b_enviarTicket_Click"; - //BA.debugLineNum = 7325;BA.debugLine="et_numeroPDF.Text = telefono.trim"; -_et_numeropdf.setText(BA.ObjectToCharSequence(_telefono.trim())); - //BA.debugLineNum = 7326;BA.debugLine="p_transparentePDF.Visible = True"; -_p_transparentepdf.setVisible(__c.True); - //BA.debugLineNum = 7334;BA.debugLine="Log(\"Progress 2\")"; -__c.LogImpl("462324746","Progress 2",0); - //BA.debugLineNum = 7335;BA.debugLine="End Sub"; +public String _b_enviarticket_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_enviarticket_click", false)) + {return ((String) Debug.delegate(ba, "b_enviarticket_click", null));} +RDebugUtils.currentLine=62390272; + //BA.debugLineNum = 62390272;BA.debugLine="Private Sub b_enviarTicket_Click"; +RDebugUtils.currentLine=62390273; + //BA.debugLineNum = 62390273;BA.debugLine="et_numeroPDF.Text = telefono.trim"; +__ref._et_numeropdf /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._telefono /*String*/ .trim())); +RDebugUtils.currentLine=62390274; + //BA.debugLineNum = 62390274;BA.debugLine="p_transparentePDF.Visible = True"; +__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=62390282; + //BA.debugLineNum = 62390282;BA.debugLine="Log(\"Progress 2\")"; +__c.LogImpl("062390282","Progress 2",0); +RDebugUtils.currentLine=62390283; + //BA.debugLineNum = 62390283;BA.debugLine="End Sub"; return ""; } -public String _b_enviarticket_longclick() throws Exception{ - //BA.debugLineNum = 7337;BA.debugLine="Private Sub b_enviarTicket_LongClick"; - //BA.debugLineNum = 7343;BA.debugLine="End Sub"; +public String _b_enviarticket_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_enviarticket_longclick", false)) + {return ((String) Debug.delegate(ba, "b_enviarticket_longclick", null));} +RDebugUtils.currentLine=62455808; + //BA.debugLineNum = 62455808;BA.debugLine="Private Sub b_enviarTicket_LongClick"; +RDebugUtils.currentLine=62455814; + //BA.debugLineNum = 62455814;BA.debugLine="End Sub"; return ""; } -public void _b_enviopdf_click() throws Exception{ -ResumableSub_b_envioPDF_Click rsub = new ResumableSub_b_envioPDF_Click(this); +public void _b_enviopdf_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_enviopdf_click", false)) + {Debug.delegate(ba, "b_enviopdf_click", null); return;} +ResumableSub_b_envioPDF_Click rsub = new ResumableSub_b_envioPDF_Click(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_b_envioPDF_Click extends BA.ResumableSub { -public ResumableSub_b_envioPDF_Click(gunav2.keymon.com.mx.c_cliente parent) { +public ResumableSub_b_envioPDF_Click(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -1016,13 +1368,14 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 7467;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; +RDebugUtils.currentLine=62717953; + //BA.debugLineNum = 62717953;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; if (true) break; case 1: //if this.state = 12; -if ((parent._almacen).equals(BA.NumberToString(87)) || (parent._almacen).equals(BA.NumberToString(6))) { +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(87)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(6))) { this.state = 3; }else { this.state = 11; @@ -1031,7 +1384,8 @@ this.state = 11; case 3: //C this.state = 4; - //BA.debugLineNum = 7468;BA.debugLine="If Subs.traemontoprod Then"; +RDebugUtils.currentLine=62717954; + //BA.debugLineNum = 62717954;BA.debugLine="If Subs.traemontoprod Then"; if (true) break; case 4: @@ -1046,15 +1400,17 @@ this.state = 8; case 6: //C this.state = 9; - //BA.debugLineNum = 7469;BA.debugLine="PDFGENERAR2"; -parent._pdfgenerar2(); +RDebugUtils.currentLine=62717955; + //BA.debugLineNum = 62717955;BA.debugLine="PDFGENERAR2"; +__ref._pdfgenerar2 /*String*/ (null); if (true) break; case 8: //C this.state = 9; - //BA.debugLineNum = 7471;BA.debugLine="PDFGENERAR"; -parent._pdfgenerar(); +RDebugUtils.currentLine=62717957; + //BA.debugLineNum = 62717957;BA.debugLine="PDFGENERAR"; +__ref._pdfgenerar /*String*/ (null); if (true) break; case 9: @@ -1066,1875 +1422,1333 @@ this.state = 12; case 11: //C this.state = 12; - //BA.debugLineNum = 7474;BA.debugLine="PDFGENERAR"; -parent._pdfgenerar(); +RDebugUtils.currentLine=62717960; + //BA.debugLineNum = 62717960;BA.debugLine="PDFGENERAR"; +__ref._pdfgenerar /*String*/ (null); if (true) break; case 12: //C this.state = -1; ; - //BA.debugLineNum = 7477;BA.debugLine="Sleep(3000)"; -parent.__c.Sleep(ba,this,(int) (3000)); +RDebugUtils.currentLine=62717963; + //BA.debugLineNum = 62717963;BA.debugLine="Sleep(3000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_enviopdf_click"),(int) (3000)); this.state = 13; return; case 13: //C this.state = -1; ; - //BA.debugLineNum = 7478;BA.debugLine="EnviarPDFWhatsAppNumero(et_numeroPDF.Text)"; -parent._enviarpdfwhatsappnumero(parent._et_numeropdf.getText()); - //BA.debugLineNum = 7480;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=62717964; + //BA.debugLineNum = 62717964;BA.debugLine="EnviarPDFWhatsAppNumero(et_numeroPDF.Text)"; +__ref._enviarpdfwhatsappnumero /*void*/ (null,__ref._et_numeropdf /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()); +RDebugUtils.currentLine=62717966; + //BA.debugLineNum = 62717966;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)"); - //BA.debugLineNum = 7481;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +RDebugUtils.currentLine=62717967; + //BA.debugLineNum = 62717967;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into TICKET_IMPRESO (idCliente) values ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"')")); - //BA.debugLineNum = 7483;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; +RDebugUtils.currentLine=62717969; + //BA.debugLineNum = 62717969;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; parent.__c.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss"); - //BA.debugLineNum = 7484;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=62717970; + //BA.debugLineNum = 62717970;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 7485;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=62717971; + //BA.debugLineNum = 62717971;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 7486;BA.debugLine="cmd.Name = \"insertEnvioTicketPDF\""; +RDebugUtils.currentLine=62717972; + //BA.debugLineNum = 62717972;BA.debugLine="cmd.Name = \"insertEnvioTicketPDF\""; _cmd.Name /*String*/ = "insertEnvioTicketPDF"; - //BA.debugLineNum = 7487;BA.debugLine="Log(DateTime.Date(DateTime.Now))"; -parent.__c.LogImpl("462652437",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0); - //BA.debugLineNum = 7488;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeCliente"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._traecliente /*String*/ (ba)),(Object)(parent._subs._traeusuariodebd /*String*/ (ba)),(Object)(parent._et_numeropdf.getText()),(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()))}; - //BA.debugLineNum = 7489;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertEnvioTicke"; -parent._reqmanager._executecommand /*String*/ (_cmd,(Object)("insertEnvioTicketPDF")); - //BA.debugLineNum = 7491;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=62717973; + //BA.debugLineNum = 62717973;BA.debugLine="Log(DateTime.Date(DateTime.Now))"; +parent.__c.LogImpl("062717973",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0); +RDebugUtils.currentLine=62717974; + //BA.debugLineNum = 62717974;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeCliente"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._traecliente /*String*/ (ba)),(Object)(parent._subs._traeusuariodebd /*String*/ (ba)),(Object)(__ref._et_numeropdf /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()))}; +RDebugUtils.currentLine=62717975; + //BA.debugLineNum = 62717975;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertEnvioTicke"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("insertEnvioTicketPDF")); +RDebugUtils.currentLine=62717977; + //BA.debugLineNum = 62717977;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 7492;BA.debugLine="cmd.Name = \"insertaTelefonoTicketPDF\""; +RDebugUtils.currentLine=62717978; + //BA.debugLineNum = 62717978;BA.debugLine="cmd.Name = \"insertaTelefonoTicketPDF\""; _cmd.Name /*String*/ = "insertaTelefonoTicketPDF"; - //BA.debugLineNum = 7493;BA.debugLine="Log(DateTime.Date(DateTime.Now))"; -parent.__c.LogImpl("462652443",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0); - //BA.debugLineNum = 7494;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmacen"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._traealmacen /*String*/ (ba)),(Object)(parent._subs._traeruta /*String*/ (ba)),(Object)(parent._subs._traecliente /*String*/ (ba)),(Object)(parent._et_numeropdf.getText())}; - //BA.debugLineNum = 7495;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertTelefonoTi"; -parent._reqmanager._executecommand /*String*/ (_cmd,(Object)("insertTelefonoTicketPDF")); - //BA.debugLineNum = 7497;BA.debugLine="Guardar_Click"; -parent._guardar_click(); - //BA.debugLineNum = 7498;BA.debugLine="p_transparentePDF.Visible = False"; -parent._p_transparentepdf.setVisible(parent.__c.False); - //BA.debugLineNum = 7499;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62717979; + //BA.debugLineNum = 62717979;BA.debugLine="Log(DateTime.Date(DateTime.Now))"; +parent.__c.LogImpl("062717979",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0); +RDebugUtils.currentLine=62717980; + //BA.debugLineNum = 62717980;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmacen"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._traealmacen /*String*/ (ba)),(Object)(parent._subs._traeruta /*String*/ (ba)),(Object)(parent._subs._traecliente /*String*/ (ba)),(Object)(__ref._et_numeropdf /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=62717981; + //BA.debugLineNum = 62717981;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertTelefonoTi"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("insertTelefonoTicketPDF")); +RDebugUtils.currentLine=62717983; + //BA.debugLineNum = 62717983;BA.debugLine="Guardar_Click"; +__ref._guardar_click /*String*/ (null); +RDebugUtils.currentLine=62717984; + //BA.debugLineNum = 62717984;BA.debugLine="p_transparentePDF.Visible = False"; +__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=62717985; + //BA.debugLineNum = 62717985;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b_foto_click() throws Exception{ - //BA.debugLineNum = 7786;BA.debugLine="Private Sub b_foto_Click"; - //BA.debugLineNum = 7808;BA.debugLine="camEx.TakePicture"; -_camex._takepicture /*String*/ (); - //BA.debugLineNum = 7809;BA.debugLine="p_camara.Visible = False"; -_p_camara.setVisible(__c.False); - //BA.debugLineNum = 7813;BA.debugLine="End Sub"; -return ""; -} -public String _b_gallina_click() throws Exception{ - //BA.debugLineNum = 5504;BA.debugLine="Private Sub B_GALLINA_Click"; - //BA.debugLineNum = 5505;BA.debugLine="P_gallina.Visible = True"; -_p_gallina.setVisible(__c.True); - //BA.debugLineNum = 5507;BA.debugLine="B_GALLINA.Visible = False"; -_b_gallina.setVisible(__c.False); - //BA.debugLineNum = 5508;BA.debugLine="b_like.Visible = False"; -_b_like.setVisible(__c.False); - //BA.debugLineNum = 5509;BA.debugLine="BT_QR.Visible = False"; -_bt_qr.setVisible(__c.False); - //BA.debugLineNum = 5511;BA.debugLine="b_like.Visible = False"; -_b_like.setVisible(__c.False); - //BA.debugLineNum = 5512;BA.debugLine="Tar.Visible = False"; -_tar.setVisible(__c.False); - //BA.debugLineNum = 5513;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 5514;BA.debugLine="gest.Visible = False ': ToastMessageShow(\"ccc\", F"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 5515;BA.debugLine="b_venta.Visible = False"; -_b_venta.setVisible(__c.False); - //BA.debugLineNum = 5516;BA.debugLine="Guardar.Visible = False"; -_guardar.setVisible(__c.False); - //BA.debugLineNum = 5517;BA.debugLine="HIST.Visible = False"; -_hist.setVisible(__c.False); - //BA.debugLineNum = 5518;BA.debugLine="End Sub"; -return ""; -} -public String _b_geopass_click() throws Exception{ -gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 1915;BA.debugLine="Private Sub b_geopass_Click"; - //BA.debugLineNum = 1916;BA.debugLine="If et_geopass.Text.trim = \"KMTS1\" Then"; -if ((_et_geopass.getText().trim()).equals("KMTS1")) { - //BA.debugLineNum = 1917;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps"; -_m_lat = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ; - //BA.debugLineNum = 1918;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps"; -_m_lon = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ; - //BA.debugLineNum = 1919;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)"; -_gps_locationchanged(_starter._ubicacionactual /*anywheresoftware.b4a.gps.LocationWrapper*/ ); - //BA.debugLineNum = 1920;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT_CL_"; -_skmt.ExecNonQuery(("update kmt_info3 set CAT_CL_LAT = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ))+"', CAT_CL_LONG = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))+"' where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"'")); - //BA.debugLineNum = 1921;BA.debugLine="et_geopass.Text = \"\""; -_et_geopass.setText(BA.ObjectToCharSequence("")); - }else { - //BA.debugLineNum = 1923;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1924;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1925;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\""; -_cmd.Name /*String*/ = "select_geoPass_GUNA"; - //BA.debugLineNum = 1926;BA.debugLine="cmd.Parameters = Array As Object(et_geopass.Text"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_et_geopass.getText().trim()),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; - //BA.debugLineNum = 1927;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPass\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("traeGeoPass")); - //BA.debugLineNum = 1928;BA.debugLine="Log($\"${Starter.server}, ${et_geopass.Text}, ${S"; -__c.LogImpl("451052557",(""+__c.SmartStringFormatter("",(Object)(_starter._server /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(_et_geopass.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+""),0); - //BA.debugLineNum = 1929;BA.debugLine="et_geopass.Text = \"\""; -_et_geopass.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 1931;BA.debugLine="p_pideGeoPass.Visible = False"; -_p_pidegeopass.setVisible(__c.False); - //BA.debugLineNum = 1938;BA.debugLine="End Sub"; -return ""; -} -public String _b_gps_click() throws Exception{ - //BA.debugLineNum = 4702;BA.debugLine="Sub B_GPS_Click"; - //BA.debugLineNum = 4703;BA.debugLine="Dim result As Int"; -_result = 0; - //BA.debugLineNum = 4704;BA.debugLine="result = Msgbox2(\"Esta seguro de cambiar las coor"; -_result = __c.Msgbox2(BA.ObjectToCharSequence("Esta seguro de cambiar las coordenadas de este cliente"),BA.ObjectToCharSequence("Aviso GPS"),"SI","","NO",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alerta.jpg").getObject()),ba); - //BA.debugLineNum = 4705;BA.debugLine="If result = DialogResponse.Positive Then"; -if (_result==__c.DialogResponse.POSITIVE) { - //BA.debugLineNum = 4706;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET CAT_CL_LAT = ?, CAT_CL_LONG = ? where CAT_CL_CODIGO In (Select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 4707;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - //BA.debugLineNum = 4709;BA.debugLine="End Sub"; -return ""; -} -public String _b_guarda_c_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null; - //BA.debugLineNum = 4593;BA.debugLine="Sub B_GUARDA_C_Click"; - //BA.debugLineNum = 4594;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +public String _pdfgenerar2(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "pdfgenerar2", false)) + {return ((String) Debug.delegate(ba, "pdfgenerar2", null));} +gunav2.keymon.com.mx.cpdf _pdf = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null; +double _pagina = 0; +int _multiplicador = 0; +int _i = 0; +int _e = 0; +RDebugUtils.currentLine=62193664; + //BA.debugLineNum = 62193664;BA.debugLine="Private Sub PDFGENERAR2"; +RDebugUtils.currentLine=62193665; + //BA.debugLineNum = 62193665;BA.debugLine="ESPACIO = 0"; +__ref._espacio /*int*/ = (int) (0); +RDebugUtils.currentLine=62193666; + //BA.debugLineNum = 62193666;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 4595;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 4596;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 4597;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 4598;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 4599;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 4600;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 4601;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 4602;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 4603;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 4604;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 4605;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("4"),(Object)(.01),(Object)(.01),(Object)(2),(Object)("KNORR RINDE MAS 70 GR"),(Object)("GUNA2"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)})); - //BA.debugLineNum = 4606;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_la_cuenta.getText()),(Object)(_i_compra.getText()),(Object)(_la_ruta),(Object)(_almacen)})); - //BA.debugLineNum = 4607;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 4608;BA.debugLine="b_like.Visible = True"; -_b_like.setVisible(__c.True); - //BA.debugLineNum = 4609;BA.debugLine="Tar.Visible = True"; -_tar.setVisible(__c.True); - //BA.debugLineNum = 4610;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 4611;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 4612;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 4613;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 4614;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 4615;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 4616;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 4618;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); +RDebugUtils.currentLine=62193667; + //BA.debugLineNum = 62193667;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=62193668; + //BA.debugLineNum = 62193668;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=62193669; + //BA.debugLineNum = 62193669;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=62193670; + //BA.debugLineNum = 62193670;BA.debugLine="Dim PDF As cPDF"; +_pdf = new gunav2.keymon.com.mx.cpdf(); +RDebugUtils.currentLine=62193672; + //BA.debugLineNum = 62193672;BA.debugLine="PDF.Initialize(\"mm\")"; +_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (null,ba,"mm"); +RDebugUtils.currentLine=62193674; + //BA.debugLineNum = 62193674;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _"; +_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform"); +RDebugUtils.currentLine=62193679; + //BA.debugLineNum = 62193679;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON"; +_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62193680; + //BA.debugLineNum = 62193680;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR"; +_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62193682; + //BA.debugLineNum = 62193682;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +"; +_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+12; +RDebugUtils.currentLine=62193684; + //BA.debugLineNum = 62193684;BA.debugLine="Dim multiplicador As Int = 0"; +_multiplicador = (int) (0); +RDebugUtils.currentLine=62193685; + //BA.debugLineNum = 62193685;BA.debugLine="PDF.pageAdd(-300,pagina)"; +_pdf._pageadd /*gunav2.keymon.com.mx.cpdf*/ (null,-300,_pagina); +RDebugUtils.currentLine=62193688; + //BA.debugLineNum = 62193688;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62193690; + //BA.debugLineNum = 62193690;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1"; +_pdf._outimage /*gunav2.keymon.com.mx.cpdf*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getDefaultFolder(),"guna-fondo.jpg",1,_pagina-45,45,0); +RDebugUtils.currentLine=62193691; + //BA.debugLineNum = 62193691;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193692; + //BA.debugLineNum = 62193692;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"GUNA"); +RDebugUtils.currentLine=62193693; + //BA.debugLineNum = 62193693;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193694; + //BA.debugLineNum = 62193694;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ); +RDebugUtils.currentLine=62193695; + //BA.debugLineNum = 62193695;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193696; + //BA.debugLineNum = 62193696;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\""; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba)); +RDebugUtils.currentLine=62193697; + //BA.debugLineNum = 62193697;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193698; + //BA.debugLineNum = 62193698;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=62193699; + //BA.debugLineNum = 62193699;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193700; + //BA.debugLineNum = 62193700;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=62193701; + //BA.debugLineNum = 62193701;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193702; + //BA.debugLineNum = 62193702;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=62193703; + //BA.debugLineNum = 62193703;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193704; + //BA.debugLineNum = 62193704;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \""; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=62193705; + //BA.debugLineNum = 62193705;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193706; + //BA.debugLineNum = 62193706;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62193707; + //BA.debugLineNum = 62193707;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193708; + //BA.debugLineNum = 62193708;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62193709; + //BA.debugLineNum = 62193709;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62193710; + //BA.debugLineNum = 62193710;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=62193711; + //BA.debugLineNum = 62193711;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62193712; + //BA.debugLineNum = 62193712;BA.debugLine="If S.RowCount>0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=62193713; + //BA.debugLineNum = 62193713;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193714; + //BA.debugLineNum = 62193714;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------"); +RDebugUtils.currentLine=62193715; + //BA.debugLineNum = 62193715;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193716; + //BA.debugLineNum = 62193716;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant. Precio Importe"); +RDebugUtils.currentLine=62193717; + //BA.debugLineNum = 62193717;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193718; + //BA.debugLineNum = 62193718;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62193719; + //BA.debugLineNum = 62193719;BA.debugLine="For i=0 To S.RowCount -1"; +{ +final int step44 = 1; +final int limit44 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit44 ;_i = _i + step44 ) { +RDebugUtils.currentLine=62193720; + //BA.debugLineNum = 62193720;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=62193721; + //BA.debugLineNum = 62193721;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +RDebugUtils.currentLine=62193722; + //BA.debugLineNum = 62193722;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193723; + //BA.debugLineNum = 62193723;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); + }else { +RDebugUtils.currentLine=62193725; + //BA.debugLineNum = 62193725;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62193726; + //BA.debugLineNum = 62193726;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193727; + //BA.debugLineNum = 62193727;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); +RDebugUtils.currentLine=62193731; + //BA.debugLineNum = 62193731;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")); +RDebugUtils.currentLine=62193732; + //BA.debugLineNum = 62193732;BA.debugLine="ESPACIO = 92"; +__ref._espacio /*int*/ = (int) (92); +RDebugUtils.currentLine=62193733; + //BA.debugLineNum = 62193733;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=62193734; + //BA.debugLineNum = 62193734;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=62193735; + //BA.debugLineNum = 62193735;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=62193736; + //BA.debugLineNum = 62193736;BA.debugLine="For E=0 To ESPACIO -1"; +{ +final int step58 = 1; +final int limit58 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +for (;_e <= limit58 ;_e = _e + step58 ) { +RDebugUtils.currentLine=62193737; + //BA.debugLineNum = 62193737;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + } +}; +RDebugUtils.currentLine=62193739; + //BA.debugLineNum = 62193739;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62193740; + //BA.debugLineNum = 62193740;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193741; + //BA.debugLineNum = 62193741;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")); }; + } +}; +RDebugUtils.currentLine=62193747; + //BA.debugLineNum = 62193747;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,108-9*6," "); }; - //BA.debugLineNum = 4621;BA.debugLine="b_like.Visible = False"; -_b_like.setVisible(__c.False); - //BA.debugLineNum = 4622;BA.debugLine="Guardar.Visible = True"; -_guardar.setVisible(__c.True); - //BA.debugLineNum = 4623;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62193749; + //BA.debugLineNum = 62193749;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=62193750; + //BA.debugLineNum = 62193750;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62193751; + //BA.debugLineNum = 62193751;BA.debugLine="If S.RowCount>0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=62193752; + //BA.debugLineNum = 62193752;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193753; + //BA.debugLineNum = 62193753;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------"); +RDebugUtils.currentLine=62193754; + //BA.debugLineNum = 62193754;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193755; + //BA.debugLineNum = 62193755;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant. Precio Importe"); +RDebugUtils.currentLine=62193756; + //BA.debugLineNum = 62193756;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193757; + //BA.debugLineNum = 62193757;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62193758; + //BA.debugLineNum = 62193758;BA.debugLine="For i=0 To S.RowCount -1"; +{ +final int step77 = 1; +final int limit77 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit77 ;_i = _i + step77 ) { +RDebugUtils.currentLine=62193759; + //BA.debugLineNum = 62193759;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=62193760; + //BA.debugLineNum = 62193760;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +RDebugUtils.currentLine=62193761; + //BA.debugLineNum = 62193761;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193762; + //BA.debugLineNum = 62193762;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); + }else { +RDebugUtils.currentLine=62193764; + //BA.debugLineNum = 62193764;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62193765; + //BA.debugLineNum = 62193765;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193766; + //BA.debugLineNum = 62193766;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); +RDebugUtils.currentLine=62193767; + //BA.debugLineNum = 62193767;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; +__c.LogImpl("062193767",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")),__c.Colors.Magenta); +RDebugUtils.currentLine=62193768; + //BA.debugLineNum = 62193768;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta"; +__c.LogImpl("062193768",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")),__c.Colors.Magenta); +RDebugUtils.currentLine=62193769; + //BA.debugLineNum = 62193769;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage"; +__c.LogImpl("062193769",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")),__c.Colors.Magenta); +RDebugUtils.currentLine=62193770; + //BA.debugLineNum = 62193770;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")); +RDebugUtils.currentLine=62193771; + //BA.debugLineNum = 62193771;BA.debugLine="ESPACIO = 92"; +__ref._espacio /*int*/ = (int) (92); +RDebugUtils.currentLine=62193772; + //BA.debugLineNum = 62193772;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=62193773; + //BA.debugLineNum = 62193773;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=62193774; + //BA.debugLineNum = 62193774;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=62193775; + //BA.debugLineNum = 62193775;BA.debugLine="For E=0 To ESPACIO -1"; +{ +final int step94 = 1; +final int limit94 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +for (;_e <= limit94 ;_e = _e + step94 ) { +RDebugUtils.currentLine=62193776; + //BA.debugLineNum = 62193776;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + } +}; +RDebugUtils.currentLine=62193778; + //BA.debugLineNum = 62193778;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62193779; + //BA.debugLineNum = 62193779;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193780; + //BA.debugLineNum = 62193780;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")); + }; + } +}; + }; +RDebugUtils.currentLine=62193784; + //BA.debugLineNum = 62193784;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=62193787; + //BA.debugLineNum = 62193787;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193788; + //BA.debugLineNum = 62193788;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62193789; + //BA.debugLineNum = 62193789;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193790; + //BA.debugLineNum = 62193790;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62193791; + //BA.debugLineNum = 62193791;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62193792; + //BA.debugLineNum = 62193792;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=62193795; + //BA.debugLineNum = 62193795;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193796; + //BA.debugLineNum = 62193796;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento:"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Descuento: $"+BA.NumberToString(150)); +RDebugUtils.currentLine=62193797; + //BA.debugLineNum = 62193797;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193798; + //BA.debugLineNum = 62193798;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total prev"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Total preventa: $"+BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-150))); +RDebugUtils.currentLine=62193799; + //BA.debugLineNum = 62193799;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=62193800; + //BA.debugLineNum = 62193800;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62193801; + //BA.debugLineNum = 62193801;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=62193802; + //BA.debugLineNum = 62193802;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193803; + //BA.debugLineNum = 62193803;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Total articulos preventa: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")); +RDebugUtils.currentLine=62193804; + //BA.debugLineNum = 62193804;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=62193808; + //BA.debugLineNum = 62193808;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193809; + //BA.debugLineNum = 62193809;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62193810; + //BA.debugLineNum = 62193810;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193811; + //BA.debugLineNum = 62193811;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------"); +RDebugUtils.currentLine=62193812; + //BA.debugLineNum = 62193812;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193813; + //BA.debugLineNum = 62193813;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------"); +RDebugUtils.currentLine=62193814; + //BA.debugLineNum = 62193814;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193815; + //BA.debugLineNum = 62193815;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------"); +RDebugUtils.currentLine=62193816; + //BA.debugLineNum = 62193816;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193817; + //BA.debugLineNum = 62193817;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62193818; + //BA.debugLineNum = 62193818;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193819; + //BA.debugLineNum = 62193819;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62193820; + //BA.debugLineNum = 62193820;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193821; + //BA.debugLineNum = 62193821;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62193822; + //BA.debugLineNum = 62193822;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193823; + //BA.debugLineNum = 62193823;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62193824; + //BA.debugLineNum = 62193824;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62193825; + //BA.debugLineNum = 62193825;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62193827; + //BA.debugLineNum = 62193827;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62193835; + //BA.debugLineNum = 62193835;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\""; +__c.DateTime.setDateFormat("ddmmyyyy"); +RDebugUtils.currentLine=62193836; + //BA.debugLineNum = 62193836;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=62193837; + //BA.debugLineNum = 62193837;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=62193838; + //BA.debugLineNum = 62193838;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=62193839; + //BA.debugLineNum = 62193839;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\""; +__ref._archivoticketpdf /*String*/ = __ref._sdate /*String*/ +__ref._stime /*String*/ +".pdf"; +RDebugUtils.currentLine=62193841; + //BA.debugLineNum = 62193841;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways"; +__ref._savepdf /*String*/ (null,_pdf,__ref._archivoticketpdf /*String*/ ,_pdf._compressalways /*int*/ ); +RDebugUtils.currentLine=62193844; + //BA.debugLineNum = 62193844;BA.debugLine="End Sub"; return ""; } -public String _b_guarda_ce_ped_click() throws Exception{ - //BA.debugLineNum = 5633;BA.debugLine="Private Sub B_GUARDA_CE_PED_Click"; - //BA.debugLineNum = 5635;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 5636;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 5637;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 5638;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 5639;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 5640;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 5641;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 5642;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 5643;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 5644;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 5645;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 5646;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 5647;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 5648;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 5649;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - }; - //BA.debugLineNum = 5651;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 5668;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED"; -_skmt.ExecNonQuery2("INSERT INTO HIST_ENCUESTA_PED_DIST_1(ALMACEN , TIENDA , KP_01 , KP_02 , KP_03 , KP_04 , KP_05 , KP_06 , KP_07 , KP_08 , KP_09 , KP_10 , KP_11 , KP_12 , KP_13 , KP_14 , KP_15 , KP_16 , KP_17 , KP_18 , KP_19 , KP_20 , KG_01 , KG_02 , KG_03 , KG_04 , KG_05 , KG_06 , PK_01 , PK_02 , PK_03 , PK_04 , PK_05 , PK_06 , PK_07 , PK_08) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_clie_id),(Object)(_kp_01.getChecked()),(Object)(_kp_02.getChecked()),(Object)(_kp_03.getChecked()),(Object)(_kp_04.getChecked()),(Object)(_kp_05.getChecked()),(Object)(_kp_06.getChecked()),(Object)(_kp_07.getChecked()),(Object)(_kp_08.getChecked()),(Object)(_kp_09.getChecked()),(Object)(_kp_10.getChecked()),(Object)(_kp_11.getChecked()),(Object)(_kp_12.getChecked()),(Object)(_kp_13.getChecked()),(Object)(_kp_14.getChecked()),(Object)(_kp_15.getChecked()),(Object)(_kp_16.getChecked()),(Object)(_kp_17.getChecked()),(Object)(_kp_18.getChecked()),(Object)(_kp_19.getChecked()),(Object)(_kp_20.getChecked()),(Object)(_kg_01.getChecked()),(Object)(_kg_02.getChecked()),(Object)(_kg_03.getChecked()),(Object)(_kg_04.getChecked()),(Object)(_kg_05.getChecked()),(Object)(_kg_06.getChecked()),(Object)(_pk_01.getChecked()),(Object)(_pk_02.getChecked()),(Object)(_pk_03.getChecked()),(Object)(_pk_04.getChecked()),(Object)(_pk_05.getChecked()),(Object)(_pk_06.getChecked()),(Object)(_pk_07.getChecked()),(Object)(_pk_08.getChecked())})); - //BA.debugLineNum = 5670;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED"; -_skmt.ExecNonQuery2("INSERT INTO HIST_ENCUESTA_PED_DIST_2(ALMACEN , TIENDA , HPG_01 , HPG_02 , HPG_03 , HPG_04 , HPG_05 , HPG_06 , HPG_07 , HPG_08 , HPG_09 , HPG_10 , HC_01 , HC_02 , HC_03 , HC_04 , B_01 , B_02) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_clie_id),(Object)(_hpg_01.getChecked()),(Object)(_hpg_02.getChecked()),(Object)(_hpg_03.getChecked()),(Object)(_hpg_04.getChecked()),(Object)(_hpg_05.getChecked()),(Object)(_hpg_06.getChecked()),(Object)(_hpg_07.getChecked()),(Object)(_hpg_08.getChecked()),(Object)(_hpg_09.getChecked()),(Object)(_hpg_10.getChecked()),(Object)(_hc_01.getChecked()),(Object)(_hc_02.getChecked()),(Object)(_hc_03.getChecked()),(Object)(_hc_04.getChecked()),(Object)(_b_01.getChecked()),(Object)(_b_02.getChecked())})); - //BA.debugLineNum = 5683;BA.debugLine="I_COMPRA.TEXT = \"\""; -_i_compra.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5684;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 5685;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 5687;BA.debugLine="b_like.Visible = True"; -_b_like.setVisible(__c.True); - //BA.debugLineNum = 5688;BA.debugLine="Tar.Visible = True"; -_tar.setVisible(__c.True); - //BA.debugLineNum = 5689;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 5690;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 5692;BA.debugLine="b_like.Visible = False"; -_b_like.setVisible(__c.False); - //BA.debugLineNum = 5693;BA.debugLine="Guardar.Visible = True"; -_guardar.setVisible(__c.True); - //BA.debugLineNum = 5695;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - //BA.debugLineNum = 5697;BA.debugLine="End Sub"; -return ""; -} -public String _b_guardaencuesta_click() throws Exception{ -String _si_guardar = ""; - //BA.debugLineNum = 2826;BA.debugLine="Sub B_guardaencuesta_Click"; - //BA.debugLineNum = 2827;BA.debugLine="Dim SI_GUARDAR As String"; -_si_guardar = ""; - //BA.debugLineNum = 2828;BA.debugLine="SI_GUARDAR = 1"; -_si_guardar = BA.NumberToString(1); - //BA.debugLineNum = 2830;BA.debugLine="If RB1_E1.Checked = False And RB2_E1.Checked = Fa"; -if (_rb1_e1.getChecked()==__c.False && _rb2_e1.getChecked()==__c.False && _rb3_e1.getChecked()==__c.False) { - //BA.debugLineNum = 2831;BA.debugLine="SI_GUARDAR = 0"; -_si_guardar = BA.NumberToString(0); - }; - //BA.debugLineNum = 2834;BA.debugLine="If Panel7.Visible = True Then"; -if (_panel7.getVisible()==__c.True) { - //BA.debugLineNum = 2835;BA.debugLine="If RadioButton15.Checked = False And RadioButton"; -if (_radiobutton15.getChecked()==__c.False && _radiobutton16.getChecked()==__c.False && _radiobutton17.getChecked()==__c.False) { - //BA.debugLineNum = 2836;BA.debugLine="SI_GUARDAR = 0"; -_si_guardar = BA.NumberToString(0); - }; - }; - //BA.debugLineNum = 2840;BA.debugLine="If RadioButton1.Checked = False And RadioButton2"; -if (_radiobutton1.getChecked()==__c.False && _radiobutton2.getChecked()==__c.False && _radiobutton3.getChecked()==__c.False && _radiobutton4.getChecked()==__c.False) { - //BA.debugLineNum = 2841;BA.debugLine="SI_GUARDAR = 0"; -_si_guardar = BA.NumberToString(0); - }; - //BA.debugLineNum = 2844;BA.debugLine="If RadioButton5.Checked = False And RadioButton6"; -if (_radiobutton5.getChecked()==__c.False && _radiobutton6.getChecked()==__c.False && _radiobutton7.getChecked()==__c.False && _radiobutton8.getChecked()==__c.False && _radiobutton9.getChecked()==__c.False) { - //BA.debugLineNum = 2845;BA.debugLine="SI_GUARDAR = 0"; -_si_guardar = BA.NumberToString(0); - }; - //BA.debugLineNum = 2848;BA.debugLine="If RadioButton10.Checked = False And RadioButton"; -if (_radiobutton10.getChecked()==__c.False && _radiobutton11.getChecked()==__c.False && _radiobutton12.getChecked()==__c.False && _radiobutton13.getChecked()==__c.False && _radiobutton14.getChecked()==__c.False) { - //BA.debugLineNum = 2849;BA.debugLine="SI_GUARDAR = 0"; -_si_guardar = BA.NumberToString(0); - }; - //BA.debugLineNum = 2852;BA.debugLine="If p6.Text = \"\" Then"; -if ((_p6.getText()).equals("")) { - //BA.debugLineNum = 2853;BA.debugLine="SI_GUARDAR = 0"; -_si_guardar = BA.NumberToString(0); - }; - //BA.debugLineNum = 2855;BA.debugLine="If p7.Text = \"\" Then"; -if ((_p7.getText()).equals("")) { - //BA.debugLineNum = 2856;BA.debugLine="SI_GUARDAR = 0"; -_si_guardar = BA.NumberToString(0); - }; - //BA.debugLineNum = 2858;BA.debugLine="If p8.Text = \"\" Then"; -if ((_p8.getText()).equals("")) { - //BA.debugLineNum = 2859;BA.debugLine="SI_GUARDAR = 0"; -_si_guardar = BA.NumberToString(0); - }; - //BA.debugLineNum = 2862;BA.debugLine="If CheckBox1.Checked = False And CheckBox2.Checke"; -if (_checkbox1.getChecked()==__c.False && _checkbox2.getChecked()==__c.False && _checkbox3.getChecked()==__c.False && _checkbox4.getChecked()==__c.False && _checkbox5.getChecked()==__c.False && _checkbox6.getChecked()==__c.False && _checkbox7.getChecked()==__c.False && _checkbox8.getChecked()==__c.False) { - //BA.debugLineNum = 2863;BA.debugLine="encuentasmapa.Put(\"P9\", \"\")"; -_encuentasmapa.Put((Object)("P9"),(Object)("")); - //BA.debugLineNum = 2864;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("452625446",BA.ObjectToString(_encuentasmapa),0); - }; - //BA.debugLineNum = 2867;BA.debugLine="If SI_GUARDAR = 1 Then"; -if ((_si_guardar).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2868;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO1"; -_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO1 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),_encuentasmapa.Get((Object)("P3")),_encuentasmapa.Get((Object)("P1")),_encuentasmapa.Get((Object)("P2")),_encuentasmapa.Get((Object)("P4")),_encuentasmapa.Get((Object)("P5")),(Object)(_p6.getText()),(Object)(_p7.getText()),(Object)(_p8.getText()),_encuentasmapa.Get((Object)("P9"))})); - //BA.debugLineNum = 2874;BA.debugLine="RB1_E1.Checked = False"; -_rb1_e1.setChecked(__c.False); - //BA.debugLineNum = 2875;BA.debugLine="RB2_E1.Checked = False"; -_rb2_e1.setChecked(__c.False); - //BA.debugLineNum = 2876;BA.debugLine="RB3_E1.Checked = False"; -_rb3_e1.setChecked(__c.False); - //BA.debugLineNum = 2877;BA.debugLine="RadioButton15.Checked = False"; -_radiobutton15.setChecked(__c.False); - //BA.debugLineNum = 2878;BA.debugLine="RadioButton16.Checked = False"; -_radiobutton16.setChecked(__c.False); - //BA.debugLineNum = 2879;BA.debugLine="RadioButton17.Checked = False"; -_radiobutton17.setChecked(__c.False); - //BA.debugLineNum = 2880;BA.debugLine="RadioButton1.Checked = False"; -_radiobutton1.setChecked(__c.False); - //BA.debugLineNum = 2881;BA.debugLine="RadioButton2.Checked = False"; -_radiobutton2.setChecked(__c.False); - //BA.debugLineNum = 2882;BA.debugLine="RadioButton3.Checked = False"; -_radiobutton3.setChecked(__c.False); - //BA.debugLineNum = 2883;BA.debugLine="RadioButton4.Checked = False"; -_radiobutton4.setChecked(__c.False); - //BA.debugLineNum = 2884;BA.debugLine="RadioButton5.Checked = False"; -_radiobutton5.setChecked(__c.False); - //BA.debugLineNum = 2885;BA.debugLine="RadioButton6.Checked = False"; -_radiobutton6.setChecked(__c.False); - //BA.debugLineNum = 2886;BA.debugLine="RadioButton7.Checked = False"; -_radiobutton7.setChecked(__c.False); - //BA.debugLineNum = 2887;BA.debugLine="RadioButton8.Checked = False"; -_radiobutton8.setChecked(__c.False); - //BA.debugLineNum = 2888;BA.debugLine="RadioButton9.Checked = False"; -_radiobutton9.setChecked(__c.False); - //BA.debugLineNum = 2889;BA.debugLine="RadioButton10.Checked = False"; -_radiobutton10.setChecked(__c.False); - //BA.debugLineNum = 2890;BA.debugLine="RadioButton11.Checked = False"; -_radiobutton11.setChecked(__c.False); - //BA.debugLineNum = 2891;BA.debugLine="RadioButton12.Checked = False"; -_radiobutton12.setChecked(__c.False); - //BA.debugLineNum = 2892;BA.debugLine="RadioButton13.Checked = False"; -_radiobutton13.setChecked(__c.False); - //BA.debugLineNum = 2893;BA.debugLine="RadioButton14.Checked = False"; -_radiobutton14.setChecked(__c.False); - //BA.debugLineNum = 2894;BA.debugLine="p6.Text = \"\""; -_p6.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2895;BA.debugLine="p7.Text = \"\""; -_p7.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2896;BA.debugLine="p8.Text = \"\""; -_p8.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2897;BA.debugLine="CheckBox1.Checked = False"; -_checkbox1.setChecked(__c.False); - //BA.debugLineNum = 2898;BA.debugLine="CheckBox2.Checked = False"; -_checkbox2.setChecked(__c.False); - //BA.debugLineNum = 2899;BA.debugLine="CheckBox3.Checked = False"; -_checkbox3.setChecked(__c.False); - //BA.debugLineNum = 2900;BA.debugLine="CheckBox4.Checked = False"; -_checkbox4.setChecked(__c.False); - //BA.debugLineNum = 2901;BA.debugLine="CheckBox5.Checked = False"; -_checkbox5.setChecked(__c.False); - //BA.debugLineNum = 2902;BA.debugLine="CheckBox6.Checked = False"; -_checkbox6.setChecked(__c.False); - //BA.debugLineNum = 2903;BA.debugLine="CheckBox7.Checked = False"; -_checkbox7.setChecked(__c.False); - //BA.debugLineNum = 2904;BA.debugLine="CheckBox8.Checked = False"; -_checkbox8.setChecked(__c.False); - //BA.debugLineNum = 2906;BA.debugLine="If ENCUESTA > 1 Then"; -if ((double)(Double.parseDouble(_encuesta))>1) { - //BA.debugLineNum = 2908;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible Then"; -if (_p_m1.IsInitialized() && _p_m1.getVisible()) { - //BA.debugLineNum = 2909;BA.debugLine="p_m1.Visible = False"; -_p_m1.setVisible(__c.False); +public String _pdfgenerar(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "pdfgenerar", false)) + {return ((String) Debug.delegate(ba, "pdfgenerar", null));} +gunav2.keymon.com.mx.cpdf _pdf = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null; +double _pagina = 0; +int _multiplicador = 0; +int _i = 0; +int _e = 0; +String _subtot = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; +RDebugUtils.currentLine=62128128; + //BA.debugLineNum = 62128128;BA.debugLine="Private Sub PDFGENERAR"; +RDebugUtils.currentLine=62128129; + //BA.debugLineNum = 62128129;BA.debugLine="ESPACIO = 0"; +__ref._espacio /*int*/ = (int) (0); +RDebugUtils.currentLine=62128131; + //BA.debugLineNum = 62128131;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=62128132; + //BA.debugLineNum = 62128132;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=62128133; + //BA.debugLineNum = 62128133;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=62128134; + //BA.debugLineNum = 62128134;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=62128135; + //BA.debugLineNum = 62128135;BA.debugLine="Dim PDF As cPDF"; +_pdf = new gunav2.keymon.com.mx.cpdf(); +RDebugUtils.currentLine=62128137; + //BA.debugLineNum = 62128137;BA.debugLine="PDF.Initialize(\"mm\")"; +_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (null,ba,"mm"); +RDebugUtils.currentLine=62128139; + //BA.debugLineNum = 62128139;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _"; +_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform"); +RDebugUtils.currentLine=62128146; + //BA.debugLineNum = 62128146;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON"; +_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62128147; + //BA.debugLineNum = 62128147;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR"; +_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62128149; + //BA.debugLineNum = 62128149;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +"; +_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+25; +RDebugUtils.currentLine=62128151; + //BA.debugLineNum = 62128151;BA.debugLine="Dim multiplicador As Int = 0"; +_multiplicador = (int) (0); +RDebugUtils.currentLine=62128152; + //BA.debugLineNum = 62128152;BA.debugLine="PDF.pageAdd(-300,pagina)"; +_pdf._pageadd /*gunav2.keymon.com.mx.cpdf*/ (null,-300,_pagina); +RDebugUtils.currentLine=62128155; + //BA.debugLineNum = 62128155;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128157; + //BA.debugLineNum = 62128157;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1"; +_pdf._outimage /*gunav2.keymon.com.mx.cpdf*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getDefaultFolder(),"guna-fondo.jpg",1,_pagina-45,45,0); +RDebugUtils.currentLine=62128158; + //BA.debugLineNum = 62128158;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128159; + //BA.debugLineNum = 62128159;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"GUNA"); +RDebugUtils.currentLine=62128160; + //BA.debugLineNum = 62128160;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128161; + //BA.debugLineNum = 62128161;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ); +RDebugUtils.currentLine=62128162; + //BA.debugLineNum = 62128162;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128163; + //BA.debugLineNum = 62128163;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\""; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba)); +RDebugUtils.currentLine=62128164; + //BA.debugLineNum = 62128164;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128165; + //BA.debugLineNum = 62128165;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=62128166; + //BA.debugLineNum = 62128166;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128167; + //BA.debugLineNum = 62128167;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=62128168; + //BA.debugLineNum = 62128168;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128169; + //BA.debugLineNum = 62128169;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=62128170; + //BA.debugLineNum = 62128170;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128171; + //BA.debugLineNum = 62128171;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \""; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=62128172; + //BA.debugLineNum = 62128172;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128173; + //BA.debugLineNum = 62128173;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128174; + //BA.debugLineNum = 62128174;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128175; + //BA.debugLineNum = 62128175;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128176; + //BA.debugLineNum = 62128176;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62128177; + //BA.debugLineNum = 62128177;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=62128180; + //BA.debugLineNum = 62128180;BA.debugLine="If ALMACEN = 88 Then"; +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(88))) { +RDebugUtils.currentLine=62128182; + //BA.debugLineNum = 62128182;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62128183; + //BA.debugLineNum = 62128183;BA.debugLine="If S.RowCount>0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=62128184; + //BA.debugLineNum = 62128184;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128185; + //BA.debugLineNum = 62128185;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------"); +RDebugUtils.currentLine=62128186; + //BA.debugLineNum = 62128186;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128187; + //BA.debugLineNum = 62128187;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant. Precio Importe"); +RDebugUtils.currentLine=62128188; + //BA.debugLineNum = 62128188;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128189; + //BA.debugLineNum = 62128189;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62128190; + //BA.debugLineNum = 62128190;BA.debugLine="For i=0 To S.RowCount -1"; +{ +final int step45 = 1; +final int limit45 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit45 ;_i = _i + step45 ) { +RDebugUtils.currentLine=62128191; + //BA.debugLineNum = 62128191;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=62128193; + //BA.debugLineNum = 62128193;BA.debugLine="If s.GetDouble(\"PE_RECALCULO\") = 0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_RECALCULO")==0) { +RDebugUtils.currentLine=62128194; + //BA.debugLineNum = 62128194;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +RDebugUtils.currentLine=62128195; + //BA.debugLineNum = 62128195;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128196; + //BA.debugLineNum = 62128196;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); }else { +RDebugUtils.currentLine=62128198; + //BA.debugLineNum = 62128198;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128199; + //BA.debugLineNum = 62128199;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128200; + //BA.debugLineNum = 62128200;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); +RDebugUtils.currentLine=62128204; + //BA.debugLineNum = 62128204;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")); +RDebugUtils.currentLine=62128205; + //BA.debugLineNum = 62128205;BA.debugLine="ESPACIO = 92"; +__ref._espacio /*int*/ = (int) (92); +RDebugUtils.currentLine=62128206; + //BA.debugLineNum = 62128206;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=62128207; + //BA.debugLineNum = 62128207;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=62128208; + //BA.debugLineNum = 62128208;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=62128209; + //BA.debugLineNum = 62128209;BA.debugLine="For E=0 To ESPACIO -1"; +{ +final int step60 = 1; +final int limit60 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +for (;_e <= limit60 ;_e = _e + step60 ) { +RDebugUtils.currentLine=62128210; + //BA.debugLineNum = 62128210;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + } +}; +RDebugUtils.currentLine=62128212; + //BA.debugLineNum = 62128212;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128213; + //BA.debugLineNum = 62128213;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128214; + //BA.debugLineNum = 62128214;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")); }; - //BA.debugLineNum = 2913;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2914;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 2915;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 2916;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2\")"; -_sv_encuesta.getPanel().LoadLayout("ESNCUESTA_m2",ba); - //BA.debugLineNum = 2917;BA.debugLine="p_m2.Width = Root.Width * 0.94"; -_p_m2.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 2918;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 60"; -_sv_encuesta.getPanel().setHeight((int) (_p_m2.getHeight()+60)); - //BA.debugLineNum = 2919;BA.debugLine="Panel7_M2.Visible = False"; -_panel7_m2.setVisible(__c.False); + }else +{RDebugUtils.currentLine=62128219; + //BA.debugLineNum = 62128219;BA.debugLine="Else if s.GetDouble(\"PE_CANT\") = s.GetDouble("; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_CANT")==__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_RECCANT")) { +RDebugUtils.currentLine=62128220; + //BA.debugLineNum = 62128220;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +RDebugUtils.currentLine=62128221; + //BA.debugLineNum = 62128221;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128222; + //BA.debugLineNum = 62128222;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); }else { - //BA.debugLineNum = 2921;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2922;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 2923;BA.debugLine="p_cliente.Visible = True"; -_p_cliente.setVisible(__c.True); - //BA.debugLineNum = 2926;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=62128224; + //BA.debugLineNum = 62128224;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128225; + //BA.debugLineNum = 62128225;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128226; + //BA.debugLineNum = 62128226;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); +RDebugUtils.currentLine=62128230; + //BA.debugLineNum = 62128230;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")); +RDebugUtils.currentLine=62128231; + //BA.debugLineNum = 62128231;BA.debugLine="ESPACIO = 92"; +__ref._espacio /*int*/ = (int) (92); +RDebugUtils.currentLine=62128232; + //BA.debugLineNum = 62128232;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=62128233; + //BA.debugLineNum = 62128233;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=62128234; + //BA.debugLineNum = 62128234;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=62128235; + //BA.debugLineNum = 62128235;BA.debugLine="For E=0 To ESPACIO -1"; +{ +final int step80 = 1; +final int limit80 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +for (;_e <= limit80 ;_e = _e + step80 ) { +RDebugUtils.currentLine=62128236; + //BA.debugLineNum = 62128236;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + } +}; +RDebugUtils.currentLine=62128238; + //BA.debugLineNum = 62128238;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128239; + //BA.debugLineNum = 62128239;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128240; + //BA.debugLineNum = 62128240;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOTREC")); }; + }else +{RDebugUtils.currentLine=62128245; + //BA.debugLineNum = 62128245;BA.debugLine="Else if s.GetDouble(\"PE_CANT\") <> s.GetDouble"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_CANT")!=__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_RECCANT")) { +RDebugUtils.currentLine=62128248; + //BA.debugLineNum = 62128248;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +RDebugUtils.currentLine=62128249; + //BA.debugLineNum = 62128249;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128250; + //BA.debugLineNum = 62128250;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); }else { - //BA.debugLineNum = 2929;BA.debugLine="Msgbox(\"FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR"; -__c.Msgbox(BA.ObjectToCharSequence("FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR"),BA.ObjectToCharSequence("AVISO"),ba); +RDebugUtils.currentLine=62128252; + //BA.debugLineNum = 62128252;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128253; + //BA.debugLineNum = 62128253;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128254; + //BA.debugLineNum = 62128254;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); +RDebugUtils.currentLine=62128255; + //BA.debugLineNum = 62128255;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")); +RDebugUtils.currentLine=62128256; + //BA.debugLineNum = 62128256;BA.debugLine="ESPACIO = 92"; +__ref._espacio /*int*/ = (int) (92); +RDebugUtils.currentLine=62128257; + //BA.debugLineNum = 62128257;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=62128258; + //BA.debugLineNum = 62128258;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=62128259; + //BA.debugLineNum = 62128259;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=62128260; + //BA.debugLineNum = 62128260;BA.debugLine="For E=0 To ESPACIO -1"; +{ +final int step100 = 1; +final int limit100 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +for (;_e <= limit100 ;_e = _e + step100 ) { +RDebugUtils.currentLine=62128261; + //BA.debugLineNum = 62128261;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + } +}; +RDebugUtils.currentLine=62128263; + //BA.debugLineNum = 62128263;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128264; + //BA.debugLineNum = 62128264;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128265; + //BA.debugLineNum = 62128265;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+__ref._blanco /*String*/ +__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),__c.False)); }; - //BA.debugLineNum = 2931;BA.debugLine="End Sub"; -return ""; -} -public String _b_guardaencuesta_m2_click() throws Exception{ - //BA.debugLineNum = 4966;BA.debugLine="Private Sub B_guardaencuesta_m2_Click"; - //BA.debugLineNum = 4967;BA.debugLine="P3_M2 = \"\""; -_p3_m2 = ""; - //BA.debugLineNum = 4968;BA.debugLine="P6_M2 = \"\""; -_p6_m2 = ""; - //BA.debugLineNum = 4969;BA.debugLine="P4_M2 = \"\""; -_p4_m2 = ""; - //BA.debugLineNum = 4971;BA.debugLine="PASA = \"1\""; -_pasa = "1"; - //BA.debugLineNum = 4972;BA.debugLine="If et_p1_m2.Text = \"\" Then PASA = \"0\""; -if ((_et_p1_m2.getText()).equals("")) { -_pasa = "0";}; - //BA.debugLineNum = 4973;BA.debugLine="If et_p2_m2.Text = \"\" Then PASA = \"0\""; -if ((_et_p2_m2.getText()).equals("")) { -_pasa = "0";}; - //BA.debugLineNum = 4974;BA.debugLine="P4_M2 = \"\""; -_p4_m2 = ""; - //BA.debugLineNum = 4975;BA.debugLine="If rd1_p4_m2.Checked Then P4_M2 = \"ALTO\""; -if (_rd1_p4_m2.getChecked()) { -_p4_m2 = "ALTO";}; - //BA.debugLineNum = 4976;BA.debugLine="If rd2_p4_m2.Checked Then P4_M2 = \"MEDIO\""; -if (_rd2_p4_m2.getChecked()) { -_p4_m2 = "MEDIO";}; - //BA.debugLineNum = 4977;BA.debugLine="If rd3_p4_m2.Checked Then P4_M2 = \"BAJO\""; -if (_rd3_p4_m2.getChecked()) { -_p4_m2 = "BAJO";}; - //BA.debugLineNum = 4979;BA.debugLine="If P4_M2 = \"\" Then PASA = \"0\""; -if ((_p4_m2).equals("")) { -_pasa = "0";}; - //BA.debugLineNum = 4981;BA.debugLine="P6_M2 = \"\""; -_p6_m2 = ""; - //BA.debugLineNum = 4982;BA.debugLine="If RB1_P6_M2.Checked Then P6_M2 = \"LUNES\""; -if (_rb1_p6_m2.getChecked()) { -_p6_m2 = "LUNES";}; - //BA.debugLineNum = 4983;BA.debugLine="If RB2_P6_M2.Checked Then P6_M2 = \"MARTES\""; -if (_rb2_p6_m2.getChecked()) { -_p6_m2 = "MARTES";}; - //BA.debugLineNum = 4984;BA.debugLine="If RB3_P6_M2.Checked Then P6_M2 = \"MIERCOLES\""; -if (_rb3_p6_m2.getChecked()) { -_p6_m2 = "MIERCOLES";}; - //BA.debugLineNum = 4985;BA.debugLine="If RB4_P6_M2.Checked Then P6_M2 = \"JUEVES\""; -if (_rb4_p6_m2.getChecked()) { -_p6_m2 = "JUEVES";}; - //BA.debugLineNum = 4986;BA.debugLine="If RB5_P6_M2.Checked Then P6_M2 = \"VIERNES\""; -if (_rb5_p6_m2.getChecked()) { -_p6_m2 = "VIERNES";}; - //BA.debugLineNum = 4987;BA.debugLine="If RB6_P6_M2.Checked Then P6_M2 = \"SABADO\""; -if (_rb6_p6_m2.getChecked()) { -_p6_m2 = "SABADO";}; - //BA.debugLineNum = 4988;BA.debugLine="If RB7_P6_M2.Checked Then P6_M2 = \"DOMINGO\""; -if (_rb7_p6_m2.getChecked()) { -_p6_m2 = "DOMINGO";}; - //BA.debugLineNum = 4990;BA.debugLine="If P6_M2 = \"\" Then PASA = \"0\""; -if ((_p6_m2).equals("")) { -_pasa = "0";}; - //BA.debugLineNum = 4993;BA.debugLine="If CB1_P3_M2.Checked = False And CB2_P3_M2.Chec"; -if (_cb1_p3_m2.getChecked()==__c.False && _cb2_p3_m2.getChecked()==__c.False && _cb3_p3_m2.getChecked()==__c.False && _cb4_p3_m2.getChecked()==__c.False && _cb5_p3_m2.getChecked()==__c.False && _cb6_p3_m2.getChecked()==__c.False && _rb1_p3_m2.getChecked()==__c.False && _rb2_p3_m2.getChecked()==__c.False && _rb3_p3_m2.getChecked()==__c.False && (_et_p3_m2.getText()).equals(BA.ObjectToString(__c.False)) && _cb1_p4_m2.getChecked()==__c.False && _cb2_p4_m2.getChecked()==__c.False && _cb3_p4_m2.getChecked()==__c.False && _cb4_p4_m2.getChecked()==__c.False) { -_pasa = "0";}; - //BA.debugLineNum = 4994;BA.debugLine="If et_p5_m2.Text = \"\" Then PASA = \"0\""; -if ((_et_p5_m2.getText()).equals("")) { -_pasa = "0";}; - //BA.debugLineNum = 4995;BA.debugLine="Log(textemp2)"; -__c.LogImpl("457016349",_textemp2,0); - //BA.debugLineNum = 4996;BA.debugLine="If textemp2 <> \"\" And textemp2.SubString2(0,2) ="; -if ((_textemp2).equals("") == false && (_textemp2.substring((int) (0),(int) (2))).equals(", ")) { -_textemp2 = _textemp2.substring((int) (2));}; - //BA.debugLineNum = 4997;BA.debugLine="Log(textemp2)"; -__c.LogImpl("457016351",_textemp2,0); - //BA.debugLineNum = 4998;BA.debugLine="P3_M2 = textemp2"; -_p3_m2 = _textemp2; - //BA.debugLineNum = 4999;BA.debugLine="If RB2_P4_M2.Checked Then"; -if (_rb2_p4_m2.getChecked()) { - //BA.debugLineNum = 5000;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"NO\""; -_p3_m2 = _p3_m2+"|"+"NO"; - }else if(_rb1_p4_m2.getChecked()) { - //BA.debugLineNum = 5003;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"SI\""; -_p3_m2 = _p3_m2+"|"+"SI"; - //BA.debugLineNum = 5004;BA.debugLine="If ET_P3_M2.Text = \"\" Then"; -if ((_et_p3_m2.getText()).equals("")) { - //BA.debugLineNum = 5005;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; -if (_rb1_p3_m2.getChecked()) { -_p3_m2 = _p3_m2+"|"+"Rappi";}; - //BA.debugLineNum = 5006;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; -if (_rb2_p3_m2.getChecked()) { -_p3_m2 = _p3_m2+"|"+"Coca Cola";}; - //BA.debugLineNum = 5007;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; -if (_rb3_p3_m2.getChecked()) { -_p3_m2 = _p3_m2+"|"+"Modelo";}; - //BA.debugLineNum = 5008;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; -if (_rb4_p3_m2.getChecked()) { -_p3_m2 = _p3_m2+"|"+"Rabbit";}; - }else if((_et_p3_m2.getText()).equals("") == false) { - //BA.debugLineNum = 5010;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; -if (_rb1_p3_m2.getChecked()) { -_p3_m2 = _p3_m2+"|"+"Rappi";}; - //BA.debugLineNum = 5011;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; -if (_rb2_p3_m2.getChecked()) { -_p3_m2 = _p3_m2+"|"+"Coca Cola";}; - //BA.debugLineNum = 5012;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; -if (_rb3_p3_m2.getChecked()) { -_p3_m2 = _p3_m2+"|"+"Modelo";}; - //BA.debugLineNum = 5013;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; -if (_rb4_p3_m2.getChecked()) { -_p3_m2 = _p3_m2+"|"+"Rabbit";}; - //BA.debugLineNum = 5014;BA.debugLine="P3_M2 = P3_M2 &\", \" & ET_P3_M2.Text"; -_p3_m2 = _p3_m2+", "+_et_p3_m2.getText(); - }; - }; - //BA.debugLineNum = 5017;BA.debugLine="If textemp3 <> \"\" And textemp3.SubString2(0,2) ="; -if ((_textemp3).equals("") == false && (_textemp3.substring((int) (0),(int) (2))).equals(", ")) { -_textemp3 = _textemp3.substring((int) (2));}; - //BA.debugLineNum = 5019;BA.debugLine="P3_M2 = P3_M2 &\"|\" & textemp3"; -_p3_m2 = _p3_m2+"|"+_textemp3; - //BA.debugLineNum = 5021;BA.debugLine="If P3_M2 <> \"\" And P3_M2.SubString2(0,2) = \", \" T"; -if ((_p3_m2).equals("") == false && (_p3_m2.substring((int) (0),(int) (2))).equals(", ")) { -_p3_m2 = _p3_m2.substring((int) (2));}; - //BA.debugLineNum = 5022;BA.debugLine="LogColor(P3_M2,Colors.BlUE)"; -__c.LogImpl("457016376",_p3_m2,__c.Colors.Blue); - //BA.debugLineNum = 5023;BA.debugLine="If PASA = \"1\" Then"; -if ((_pasa).equals("1")) { - //BA.debugLineNum = 5024;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO2"; -_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO2 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),(Object)(_et_p1_m2.getText()),(Object)(_et_p2_m2.getText()),(Object)(_p3_m2),(Object)(_p4_m2),(Object)(_et_p5_m2.getText()),(Object)(_p6_m2)})); - //BA.debugLineNum = 5025;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 5026;BA.debugLine="p_cliente.Visible = True"; -_p_cliente.setVisible(__c.True); - //BA.debugLineNum = 5027;BA.debugLine="et_p1_m2.Text = \"\""; -_et_p1_m2.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5028;BA.debugLine="et_p2_m2.TEXT = \"\""; -_et_p2_m2.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5029;BA.debugLine="RB7_P6_M2.Checked = False"; -_rb7_p6_m2.setChecked(__c.False); - //BA.debugLineNum = 5030;BA.debugLine="RB6_P6_M2.Checked = False"; -_rb6_p6_m2.setChecked(__c.False); - //BA.debugLineNum = 5031;BA.debugLine="RB5_P6_M2.Checked = False"; -_rb5_p6_m2.setChecked(__c.False); - //BA.debugLineNum = 5032;BA.debugLine="RB4_P6_M2.Checked = False"; -_rb4_p6_m2.setChecked(__c.False); - //BA.debugLineNum = 5033;BA.debugLine="RB3_P6_M2.Checked = False"; -_rb3_p6_m2.setChecked(__c.False); - //BA.debugLineNum = 5034;BA.debugLine="RB2_P6_M2.Checked = False"; -_rb2_p6_m2.setChecked(__c.False); - //BA.debugLineNum = 5035;BA.debugLine="RB1_P6_M2.Checked = False"; -_rb1_p6_m2.setChecked(__c.False); - //BA.debugLineNum = 5036;BA.debugLine="et_p5_m2.Text = \"\""; -_et_p5_m2.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5037;BA.debugLine="rd3_p4_m2.Checked = False"; -_rd3_p4_m2.setChecked(__c.False); - //BA.debugLineNum = 5038;BA.debugLine="rd2_p4_m2.Checked = False"; -_rd2_p4_m2.setChecked(__c.False); - //BA.debugLineNum = 5039;BA.debugLine="rd1_p4_m2.Checked = False"; -_rd1_p4_m2.setChecked(__c.False); - //BA.debugLineNum = 5040;BA.debugLine="RB1_P3_M2.Checked = False"; -_rb1_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5041;BA.debugLine="RB2_P3_M2.Checked = False"; -_rb2_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5042;BA.debugLine="RB3_P3_M2.Checked = False"; -_rb3_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5043;BA.debugLine="RB4_P3_M2.Checked = False"; -_rb4_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5045;BA.debugLine="CB1_P3_M2.Checked = False"; -_cb1_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5046;BA.debugLine="CB2_P3_M2.Checked = False"; -_cb2_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5047;BA.debugLine="CB3_P3_M2.Checked = False"; -_cb3_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5048;BA.debugLine="CB4_P3_M2.Checked = False"; -_cb4_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5049;BA.debugLine="CB5_P3_M2.Checked = False"; -_cb5_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5050;BA.debugLine="CB6_P3_M2.Checked = False"; -_cb6_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5052;BA.debugLine="ET_P3_M2.Text = \"\""; -_et_p3_m2.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5053;BA.debugLine="P3_M2 = \"\""; -_p3_m2 = ""; - //BA.debugLineNum = 5054;BA.debugLine="P4_M2 = \"\""; -_p4_m2 = ""; - //BA.debugLineNum = 5055;BA.debugLine="P6_M2 = \"\""; -_p6_m2 = ""; - //BA.debugLineNum = 5057;BA.debugLine="Panel7_M2.Visible = False"; -_panel7_m2.setVisible(__c.False); - //BA.debugLineNum = 5062;BA.debugLine="If ENCUESTA > 2 Then"; -if ((double)(Double.parseDouble(_encuesta))>2) { - //BA.debugLineNum = 5063;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible Then"; -if (_p_m2.IsInitialized() && _p_m2.getVisible()) { - //BA.debugLineNum = 5064;BA.debugLine="p_m2.Visible = False"; -_p_m2.setVisible(__c.False); +RDebugUtils.currentLine=62128269; + //BA.debugLineNum = 62128269;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +RDebugUtils.currentLine=62128270; + //BA.debugLineNum = 62128270;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128271; + //BA.debugLineNum = 62128271;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); }else { +RDebugUtils.currentLine=62128273; + //BA.debugLineNum = 62128273;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE"; +_subtot = BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))); +RDebugUtils.currentLine=62128274; + //BA.debugLineNum = 62128274;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128275; + //BA.debugLineNum = 62128275;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128276; + //BA.debugLineNum = 62128276;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); +RDebugUtils.currentLine=62128277; + //BA.debugLineNum = 62128277;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")); +RDebugUtils.currentLine=62128278; + //BA.debugLineNum = 62128278;BA.debugLine="ESPACIO = 92"; +__ref._espacio /*int*/ = (int) (92); +RDebugUtils.currentLine=62128279; + //BA.debugLineNum = 62128279;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=62128280; + //BA.debugLineNum = 62128280;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=62128281; + //BA.debugLineNum = 62128281;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=62128282; + //BA.debugLineNum = 62128282;BA.debugLine="For E=0 To ESPACIO -1"; +{ +final int step120 = 1; +final int limit120 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +for (;_e <= limit120 ;_e = _e + step120 ) { +RDebugUtils.currentLine=62128283; + //BA.debugLineNum = 62128283;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + } +}; +RDebugUtils.currentLine=62128285; + //BA.debugLineNum = 62128285;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128286; + //BA.debugLineNum = 62128286;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128287; + //BA.debugLineNum = 62128287;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, (s.GE"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),__c.False)); }; - //BA.debugLineNum = 5068;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 5069;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 5070;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 5071;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3\")"; -_sv_encuesta.getPanel().LoadLayout("ENCUESSTA_M3",ba); - //BA.debugLineNum = 5072;BA.debugLine="p_m3.Width = Root.Width * 0.94"; -_p_m3.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 5073;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 60"; -_sv_encuesta.getPanel().setHeight((int) (_p_m3.getHeight()+60)); - //BA.debugLineNum = 5075;BA.debugLine="If Subs.traeAlmacen = 1 Or Subs.traeAlmacen"; -if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(1)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(2)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(4)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(5)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(35)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(36)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(45)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(46)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(47)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(54)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(64)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(65)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(71)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(3)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(25)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(27)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(38))) { - //BA.debugLineNum = 5076;BA.debugLine="CB1_P6_M3.Text = \"GARIS\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("GARIS")); - //BA.debugLineNum = 5077;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5078;BA.debugLine="CB3_P6_M3.Text = \"ZORRO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("ZORRO")); - //BA.debugLineNum = 5079;BA.debugLine="CB4_P6_M3.Text = \"ESCORPION\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("ESCORPION")); - //BA.debugLineNum = 5080;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("RABBIT")); - //BA.debugLineNum = 5081;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("SAMS")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(12))) { - //BA.debugLineNum = 5084;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA")); - //BA.debugLineNum = 5085;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA")); - //BA.debugLineNum = 5086;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5087;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO")); - //BA.debugLineNum = 5088;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("HUGOSS")); - //BA.debugLineNum = 5089;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("ZORRO")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(13))) { - //BA.debugLineNum = 5091;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA")); - //BA.debugLineNum = 5092;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA")); - //BA.debugLineNum = 5093;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5094;BA.debugLine="CB4_P6_M3.Text = \"SCORPION\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("SCORPION")); - //BA.debugLineNum = 5095;BA.debugLine="CB5_P6_M3.Text = \"ZORRO\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("ZORRO")); - //BA.debugLineNum = 5096;BA.debugLine="CB6_P6_M3.Text = \"GARIS\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("GARIS")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(14)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(69)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(37))) { - //BA.debugLineNum = 5098;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA")); - //BA.debugLineNum = 5099;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA")); - //BA.debugLineNum = 5100;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5101;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO")); - //BA.debugLineNum = 5102;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); - //BA.debugLineNum = 5103;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("ZORRO")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(16)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(70))) { - //BA.debugLineNum = 5105;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA")); - //BA.debugLineNum = 5106;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA")); - //BA.debugLineNum = 5107;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5108;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO")); - //BA.debugLineNum = 5109;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); - //BA.debugLineNum = 5110;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("SAMS")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(17))) { - //BA.debugLineNum = 5112;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA")); - //BA.debugLineNum = 5113;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5114;BA.debugLine="CB3_P6_M3.Text = \"\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5115;BA.debugLine="CB4_P6_M3.Text = \"\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5116;BA.debugLine="CB5_P6_M3.Text = \"\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5117;BA.debugLine="CB6_P6_M3.Text = \"\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(29)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(31))) { - //BA.debugLineNum = 5119;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA")); - //BA.debugLineNum = 5120;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA")); - //BA.debugLineNum = 5121;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5122;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO")); - //BA.debugLineNum = 5123;BA.debugLine="CB5_P6_M3.Text = \"SAMS\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("SAMS")); - //BA.debugLineNum = 5124;BA.debugLine="CB6_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(32)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(33))) { - //BA.debugLineNum = 5126;BA.debugLine="CB1_P6_M3.Text = \"MAS BODEGA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("MAS BODEGA")); - //BA.debugLineNum = 5127;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5128;BA.debugLine="CB3_P6_M3.Text = \"TREVIÑO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("TREVIÑO")); - //BA.debugLineNum = 5129;BA.debugLine="CB4_P6_M3.Text = \"HUGOSS\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("HUGOSS")); - //BA.debugLineNum = 5130;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("RABBIT")); - //BA.debugLineNum = 5131;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("SAMS")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(66)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(67))) { - //BA.debugLineNum = 5133;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA")); - //BA.debugLineNum = 5134;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA")); - //BA.debugLineNum = 5135;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5136;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO")); - //BA.debugLineNum = 5137;BA.debugLine="CB5_P6_M3.Text = \"SCORPION\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("SCORPION")); - //BA.debugLineNum = 5138;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; -_cb6_p6_m3.setText(BA.ObjectToCharSequence("SAMS")); - }else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(22)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(34))) { - //BA.debugLineNum = 5141;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; -_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA")); - //BA.debugLineNum = 5142;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; -_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA")); - //BA.debugLineNum = 5143;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; -_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO")); - //BA.debugLineNum = 5144;BA.debugLine="CB4_P6_M3.Text = \"MERZA/DUERO\""; -_cb4_p6_m3.setText(BA.ObjectToCharSequence("MERZA/DUERO")); - //BA.debugLineNum = 5145;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\""; -_cb5_p6_m3.setText(BA.ObjectToCharSequence("HUGOSS")); - }; - }else { - //BA.debugLineNum = 5148;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 5149;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 5150;BA.debugLine="p_cliente.Visible = True"; -_p_cliente.setVisible(__c.True); - //BA.debugLineNum = 5152;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - //BA.debugLineNum = 5153;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba); - }; - }else { - //BA.debugLineNum = 5156;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; -__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba); - }; - //BA.debugLineNum = 5158;BA.debugLine="End Sub"; -return ""; -} -public String _b_guardaencuesta_m3_click() throws Exception{ -String _p3_m3 = ""; -String _p4_m3 = ""; -String _p5_m3 = ""; -String _p6_m3 = ""; -String _p7_m3 = ""; -String _p8_m3 = ""; -String _p9_m3 = ""; -anywheresoftware.b4a.objects.collections.List _items2 = null; -anywheresoftware.b4a.objects.collections.List _items3 = null; - //BA.debugLineNum = 5170;BA.debugLine="Private Sub B_guardaencuesta_m3_Click"; - //BA.debugLineNum = 5172;BA.debugLine="PASA = \"1\""; -_pasa = "1"; - //BA.debugLineNum = 5178;BA.debugLine="Private P3_M3 As String = \"\""; -_p3_m3 = ""; - //BA.debugLineNum = 5179;BA.debugLine="Private P4_M3 As String = \"\""; -_p4_m3 = ""; - //BA.debugLineNum = 5180;BA.debugLine="Private P5_M3 As String = \"\""; -_p5_m3 = ""; - //BA.debugLineNum = 5181;BA.debugLine="Private P6_M3 As String = \"\""; -_p6_m3 = ""; - //BA.debugLineNum = 5182;BA.debugLine="Private P7_M3 As String = \"\""; -_p7_m3 = ""; - //BA.debugLineNum = 5183;BA.debugLine="Private P8_M3 As String = \"\""; -_p8_m3 = ""; - //BA.debugLineNum = 5184;BA.debugLine="Private P9_M3 As String = \"\""; -_p9_m3 = ""; - //BA.debugLineNum = 5190;BA.debugLine="If rd1_p5_m3.Checked Then P5_M3 = \"SI\""; -if (_rd1_p5_m3.getChecked()) { -_p5_m3 = "SI";}; - //BA.debugLineNum = 5191;BA.debugLine="If rd2_p5_m3.Checked Then P5_M3 = \"NO\""; -if (_rd2_p5_m3.getChecked()) { -_p5_m3 = "NO";}; - //BA.debugLineNum = 5193;BA.debugLine="If RB1_P9_M3.Checked Then P9_M3 = \"DIARIO\""; -if (_rb1_p9_m3.getChecked()) { -_p9_m3 = "DIARIO";}; - //BA.debugLineNum = 5194;BA.debugLine="If RB2_P9_M3.Checked Then P9_M3 = \"BISEMANAL\""; -if (_rb2_p9_m3.getChecked()) { -_p9_m3 = "BISEMANAL";}; - //BA.debugLineNum = 5195;BA.debugLine="If RB3_P9_M3.Checked Then P9_M3 = \"SEMANAL\""; -if (_rb3_p9_m3.getChecked()) { -_p9_m3 = "SEMANAL";}; - //BA.debugLineNum = 5196;BA.debugLine="If RB4_P9_M3.Checked Then P9_M3 = \"QUINCENAL\""; -if (_rb4_p9_m3.getChecked()) { -_p9_m3 = "QUINCENAL";}; - //BA.debugLineNum = 5197;BA.debugLine="If RB5_P9_M3.Checked Then P9_M3 = \"MENSUAL\""; -if (_rb5_p9_m3.getChecked()) { -_p9_m3 = "MENSUAL";}; - //BA.debugLineNum = 5198;BA.debugLine="If P9_M3 = \"\" Then PASA = \"0\""; -if ((_p9_m3).equals("")) { -_pasa = "0";}; - //BA.debugLineNum = 5199;BA.debugLine="If P5_M3 = \"\" Then PASA = \"0\""; -if ((_p5_m3).equals("")) { -_pasa = "0";}; - //BA.debugLineNum = 5202;BA.debugLine="If CB1_P3_M3.Checked = False And CB2_P3_M3.Check"; -if (_cb1_p3_m3.getChecked()==__c.False && _cb2_p3_m3.getChecked()==__c.False && _cb3_p3_m3.getChecked()==__c.False && _cb4_p3_m3.getChecked()==__c.False && _cb5_p3_m3.getChecked()==__c.False) { -_pasa = "0";}; - //BA.debugLineNum = 5204;BA.debugLine="If CB1_P4_M3.Checked = False And CB2_P4_M3.Che"; -if (_cb1_p4_m3.getChecked()==__c.False && _cb2_p4_m3.getChecked()==__c.False && _cb3_p4_m3.getChecked()==__c.False && _cb4_p4_m3.getChecked()==__c.False && _cb5_p4_m3.getChecked()==__c.False) { -_pasa = "0";}; - //BA.debugLineNum = 5209;BA.debugLine="If CB1_P7_M3.Checked = False And CB2_P7_M3.Chec"; -if (_cb1_p7_m3.getChecked()==__c.False && _cb2_p7_m3.getChecked()==__c.False && _cb3_p7_m3.getChecked()==__c.False && _cb4_p7_m3.getChecked()==__c.False) { -_pasa = "0";}; - //BA.debugLineNum = 5212;BA.debugLine="If CB1_P8_M3.Checked = False And CB2_P8_M3.Check"; -if (_cb1_p8_m3.getChecked()==__c.False && _cb2_p8_m3.getChecked()==__c.False && _cb3_p8_m3.getChecked()==__c.False && _cb4_p8_m3.getChecked()==__c.False) { -_pasa = "0";}; - //BA.debugLineNum = 5213;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\""; -if (_rb1_m3_p1.getChecked()) { -_p3_m3 = "7 A 9";}; - //BA.debugLineNum = 5214;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\""; -if (_rb2_m3_p1.getChecked()) { -_p3_m3 = "9 A 11";}; - //BA.debugLineNum = 5215;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\""; -if (_rb3_m3_p1.getChecked()) { -_p3_m3 = "11 A 13";}; - //BA.debugLineNum = 5216;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\""; -if (_rb4_m3_p1.getChecked()) { -_p3_m3 = "13 +";}; - //BA.debugLineNum = 5218;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\""; -if (_rb1_m3_p2.getChecked()) { -_p4_m3 = "2 A 4";}; - //BA.debugLineNum = 5219;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\""; -if (_rb2_m3_p2.getChecked()) { -_p4_m3 = "4 A 6";}; - //BA.debugLineNum = 5220;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\""; -if (_rb3_m3_p2.getChecked()) { -_p4_m3 = "6 A 8";}; - //BA.debugLineNum = 5221;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\""; -if (_rb4_m3_p2.getChecked()) { -_p4_m3 = "8 +";}; - //BA.debugLineNum = 5223;BA.debugLine="If CB5_P4_M3.Checked = True And ( CB2_P4_M3.Chec"; -if (_cb5_p4_m3.getChecked()==__c.True && (_cb2_p4_m3.getChecked()==__c.True || _cb3_p4_m3.getChecked()==__c.True || _cb4_p4_m3.getChecked()==__c.True || _cb1_p4_m3.getChecked()==__c.True)) { - //BA.debugLineNum = 5224;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - //BA.debugLineNum = 5225;BA.debugLine="CB5_P4_M3.Checked = False"; -_cb5_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5226;BA.debugLine="CB2_P4_M3.Checked = False"; -_cb2_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5227;BA.debugLine="CB3_P4_M3.Checked = False"; -_cb3_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5228;BA.debugLine="CB4_P4_M3.Checked = False"; -_cb4_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5229;BA.debugLine="CB1_P4_M3.Checked = False"; -_cb1_p4_m3.setChecked(__c.False); - }; - //BA.debugLineNum = 5233;BA.debugLine="If PASA = \"1\" Then"; -if ((_pasa).equals("1")) { - //BA.debugLineNum = 5234;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\""; -if (_rb1_m3_p1.getChecked()) { -_p3_m3 = "7 A 9";}; - //BA.debugLineNum = 5235;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\""; -if (_rb2_m3_p1.getChecked()) { -_p3_m3 = "9 A 11";}; - //BA.debugLineNum = 5236;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\""; -if (_rb3_m3_p1.getChecked()) { -_p3_m3 = "11 A 13";}; - //BA.debugLineNum = 5237;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\""; -if (_rb4_m3_p1.getChecked()) { -_p3_m3 = "13 +";}; - //BA.debugLineNum = 5239;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\""; -if (_rb1_m3_p2.getChecked()) { -_p4_m3 = "2 A 4";}; - //BA.debugLineNum = 5240;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\""; -if (_rb2_m3_p2.getChecked()) { -_p4_m3 = "4 A 6";}; - //BA.debugLineNum = 5241;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\""; -if (_rb3_m3_p2.getChecked()) { -_p4_m3 = "6 A 8";}; - //BA.debugLineNum = 5242;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\""; -if (_rb4_m3_p2.getChecked()) { -_p4_m3 = "8 +";}; - //BA.debugLineNum = 5244;BA.debugLine="If ET_P6_M3.Text <> \"\" Then"; -if ((_et_p6_m3.getText()).equals("") == false) { - //BA.debugLineNum = 5245;BA.debugLine="textemp6 = textemp6 & \", \" & ET_P6_M3.Text"; -_textemp6 = _textemp6+", "+_et_p6_m3.getText(); - }; - //BA.debugLineNum = 5248;BA.debugLine="If textemp4 <> \"\" And textemp4.SubString2(0,2) ="; -if ((_textemp4).equals("") == false && (_textemp4.substring((int) (0),(int) (2))).equals(", ")) { -_textemp4 = _textemp4.substring((int) (2));}; - //BA.debugLineNum = 5249;BA.debugLine="If textemp5 <> \"\" And textemp5.SubString2(0,2) ="; -if ((_textemp5).equals("") == false && (_textemp5.substring((int) (0),(int) (2))).equals(", ")) { -_textemp5 = _textemp5.substring((int) (2));}; - //BA.debugLineNum = 5250;BA.debugLine="If textemp6 <> \"\" And textemp6.SubString2(0,2) ="; -if ((_textemp6).equals("") == false && (_textemp6.substring((int) (0),(int) (2))).equals(", ")) { -_textemp6 = _textemp6.substring((int) (2));}; - //BA.debugLineNum = 5251;BA.debugLine="If textemp7 <> \"\" And textemp7.SubString2(0,2) ="; -if ((_textemp7).equals("") == false && (_textemp7.substring((int) (0),(int) (2))).equals(", ")) { -_textemp7 = _textemp7.substring((int) (2));}; - //BA.debugLineNum = 5252;BA.debugLine="If textemp8 <> \"\" And textemp8.SubString2(0,2) ="; -if ((_textemp8).equals("") == false && (_textemp8.substring((int) (0),(int) (2))).equals(", ")) { -_textemp8 = _textemp8.substring((int) (2));}; - //BA.debugLineNum = 5256;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO3"; -_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO3 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6,P7,P8,P9,P10,P11) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),(Object)("x"),(Object)("x"),(Object)(_p3_m3),(Object)(_p4_m3),(Object)(_textemp4),(Object)(_textemp5),(Object)(_p5_m3),(Object)(_textemp6),(Object)(_textemp7),(Object)(_textemp8),(Object)(_p9_m3)})); - //BA.debugLineNum = 5257;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 5258;BA.debugLine="p_cliente.Visible = True"; -_p_cliente.setVisible(__c.True); - //BA.debugLineNum = 5261;BA.debugLine="If ENCUESTA > 3 Then"; -if ((double)(Double.parseDouble(_encuesta))>3) { - //BA.debugLineNum = 5262;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible Then"; -if (_p_m3.IsInitialized() && _p_m3.getVisible()) { - //BA.debugLineNum = 5263;BA.debugLine="p_m3.Visible = False"; -_p_m3.setVisible(__c.False); - }else { - }; - //BA.debugLineNum = 5267;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 5268;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 5269;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 5270;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 5271;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\")"; -_sv_encuesta.getPanel().LoadLayout("ENCUESTA_M4",ba); - //BA.debugLineNum = 5272;BA.debugLine="p_m4.Width = Root.Width * 0.94"; -_p_m4.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 5273;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 60"; -_sv_encuesta.getPanel().setHeight((int) (_p_m4.getHeight()+60)); - //BA.debugLineNum = 5275;BA.debugLine="Dim Items2 As List"; -_items2 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 5276;BA.debugLine="Items2.Initialize"; -_items2.Initialize(); - //BA.debugLineNum = 5277;BA.debugLine="Items2.Add(\"Selecciona una opcion\")"; -_items2.Add((Object)("Selecciona una opcion")); - //BA.debugLineNum = 5278;BA.debugLine="Items2.Add(\"Propio\")"; -_items2.Add((Object)("Propio")); - //BA.debugLineNum = 5279;BA.debugLine="Items2.Add(\"Rentado\")"; -_items2.Add((Object)("Rentado")); - //BA.debugLineNum = 5280;BA.debugLine="cb_p3_m4.SetItems(Items2)"; -_cb_p3_m4._setitems /*String*/ (_items2); - //BA.debugLineNum = 5281;BA.debugLine="itemselect2 = \"Selecciona una opcion\""; -_itemselect2 = "Selecciona una opcion"; - //BA.debugLineNum = 5284;BA.debugLine="Dim Items3 As List"; -_items3 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 5285;BA.debugLine="Items3.Initialize"; -_items3.Initialize(); - //BA.debugLineNum = 5286;BA.debugLine="Items3.Add(\"Selecciona una opcion\")"; -_items3.Add((Object)("Selecciona una opcion")); - //BA.debugLineNum = 5287;BA.debugLine="Items3.Add(\"Completamente Surtido\")"; -_items3.Add((Object)("Completamente Surtido")); - //BA.debugLineNum = 5288;BA.debugLine="Items3.Add(\"Bien Surtido\")"; -_items3.Add((Object)("Bien Surtido")); - //BA.debugLineNum = 5289;BA.debugLine="Items3.Add(\"Poco Surtido\")"; -_items3.Add((Object)("Poco Surtido")); - //BA.debugLineNum = 5290;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")"; -_items3.Add((Object)("Muy Poco Surtido")); - //BA.debugLineNum = 5291;BA.debugLine="Items3.Add(\"Sin Existencias\")"; -_items3.Add((Object)("Sin Existencias")); - //BA.debugLineNum = 5292;BA.debugLine="cb_p4_1_m4.SetItems(Items3)"; -_cb_p4_1_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 5293;BA.debugLine="itemselect3 = \"Selecciona una opcion\""; -_itemselect3 = "Selecciona una opcion"; - //BA.debugLineNum = 5294;BA.debugLine="cb_p4_2_m4.SetItems(Items3)"; -_cb_p4_2_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 5295;BA.debugLine="itemselect4 = \"Selecciona una opcion\""; -_itemselect4 = "Selecciona una opcion"; - //BA.debugLineNum = 5296;BA.debugLine="cb_p4_3_m4.SetItems(Items3)"; -_cb_p4_3_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 5297;BA.debugLine="itemselect5 = \"Selecciona una opcion\""; -_itemselect5 = "Selecciona una opcion"; - //BA.debugLineNum = 5298;BA.debugLine="cb_p4_4_m4.SetItems(Items3)"; -_cb_p4_4_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 5299;BA.debugLine="itemselect6 = \"Selecciona una opcion\""; -_itemselect6 = "Selecciona una opcion"; - //BA.debugLineNum = 5300;BA.debugLine="cb_p4_5_m4.SetItems(Items3)"; -_cb_p4_5_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 5301;BA.debugLine="itemselect7 = \"Selecciona una opcion\""; -_itemselect7 = "Selecciona una opcion"; - }else { - //BA.debugLineNum = 5303;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 5304;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 5305;BA.debugLine="p_cliente.Visible = True"; -_p_cliente.setVisible(__c.True); - //BA.debugLineNum = 5307;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - //BA.debugLineNum = 5308;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba); - }; - }else { - //BA.debugLineNum = 5311;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; -__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba); - }; - //BA.debugLineNum = 5313;BA.debugLine="End Sub"; -return ""; -} -public String _b_guardaencuesta_m4_click() throws Exception{ -anywheresoftware.b4a.objects.collections.List _items8 = null; - //BA.debugLineNum = 5315;BA.debugLine="Private Sub B_guardaencuesta_m4_Click"; - //BA.debugLineNum = 5317;BA.debugLine="PASA = \"1\""; -_pasa = "1"; - //BA.debugLineNum = 5319;BA.debugLine="If itemselect2 = \"Selecciona una opcion\" Then"; -if ((_itemselect2).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5320;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5322;BA.debugLine="If itemselect3 = \"Selecciona una opcion\" Then"; -if ((_itemselect3).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5323;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5325;BA.debugLine="If itemselect4 = \"Selecciona una opcion\" Then"; -if ((_itemselect4).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5326;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5328;BA.debugLine="If itemselect5 = \"Selecciona una opcion\" Then"; -if ((_itemselect5).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5329;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5331;BA.debugLine="If itemselect6 = \"Selecciona una opcion\" Then"; -if ((_itemselect6).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5332;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5334;BA.debugLine="If itemselect7 = \"Selecciona una opcion\" Then"; -if ((_itemselect7).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5335;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5337;BA.debugLine="If et_p1_m4.Text.Length < 2 Then"; -if (_et_p1_m4.getText().length()<2) { - //BA.debugLineNum = 5339;BA.debugLine="et_p1_m4.Text = \"\""; -_et_p1_m4.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5340;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5342;BA.debugLine="If PASA = \"1\" Then"; -if ((_pasa).equals("1")) { - //BA.debugLineNum = 5343;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO4"; -_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO4 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),(Object)(_et_p1_m4.getText()),(Object)(_et_p2_m4.getText()),(Object)(_itemselect2),(Object)(_itemselect3),(Object)(_itemselect4),(Object)(_itemselect5),(Object)(_itemselect6),(Object)(_itemselect7)})); - //BA.debugLineNum = 5344;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 5345;BA.debugLine="p_cliente.Visible = True"; -_p_cliente.setVisible(__c.True); - //BA.debugLineNum = 5347;BA.debugLine="If ENCUESTA > 4 Then"; -if ((double)(Double.parseDouble(_encuesta))>4) { - //BA.debugLineNum = 5348;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible Then"; -if (_p_m4.IsInitialized() && _p_m4.getVisible()) { - //BA.debugLineNum = 5349;BA.debugLine="p_m4.Visible = False"; -_p_m4.setVisible(__c.False); - }else { - }; - //BA.debugLineNum = 5353;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 5354;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 5355;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 5356;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\")"; -_sv_encuesta.getPanel().LoadLayout("ENCUESTA_M5",ba); - //BA.debugLineNum = 5357;BA.debugLine="p_modulo5.Width = Root.Width * 0.94"; -_p_modulo5.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 5358;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Height + 6"; -_sv_encuesta.getPanel().setHeight((int) (_p_modulo5.getHeight()+60)); - //BA.debugLineNum = 5360;BA.debugLine="Dim Items8 As List"; -_items8 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 5361;BA.debugLine="Items8.Initialize"; -_items8.Initialize(); - //BA.debugLineNum = 5362;BA.debugLine="Items8.Add(\"Selecciona una opcion\")"; -_items8.Add((Object)("Selecciona una opcion")); - //BA.debugLineNum = 5363;BA.debugLine="Items8.Add(\"Completamente Surtido\")"; -_items8.Add((Object)("Completamente Surtido")); - //BA.debugLineNum = 5364;BA.debugLine="Items8.Add(\"Bien Surtido\")"; -_items8.Add((Object)("Bien Surtido")); - //BA.debugLineNum = 5365;BA.debugLine="Items8.Add(\"Poco Surtido\")"; -_items8.Add((Object)("Poco Surtido")); - //BA.debugLineNum = 5366;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")"; -_items8.Add((Object)("Muy Poco Surtido")); - //BA.debugLineNum = 5367;BA.debugLine="Items8.Add(\"Sin Existencias\")"; -_items8.Add((Object)("Sin Existencias")); - //BA.debugLineNum = 5368;BA.debugLine="cb_p1_m5.SetItems(Items8)"; -_cb_p1_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5369;BA.debugLine="itemselect8 = \"Selecciona una opcion\""; -_itemselect8 = "Selecciona una opcion"; - //BA.debugLineNum = 5370;BA.debugLine="cb_p2_m5.SetItems(Items8)"; -_cb_p2_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5371;BA.debugLine="itemselect9 = \"Selecciona una opcion\""; -_itemselect9 = "Selecciona una opcion"; - //BA.debugLineNum = 5372;BA.debugLine="cb_p3_m5.SetItems(Items8)"; -_cb_p3_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5373;BA.debugLine="itemselect10 = \"Selecciona una opcion\""; -_itemselect10 = "Selecciona una opcion"; - //BA.debugLineNum = 5374;BA.debugLine="cb_p4_m5.SetItems(Items8)"; -_cb_p4_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5375;BA.debugLine="itemselect11 = \"Selecciona una opcion\""; -_itemselect11 = "Selecciona una opcion"; - //BA.debugLineNum = 5376;BA.debugLine="cb_p5_m5.SetItems(Items8)"; -_cb_p5_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5377;BA.debugLine="itemselect12 = \"Selecciona una opcion\""; -_itemselect12 = "Selecciona una opcion"; - //BA.debugLineNum = 5378;BA.debugLine="cb_p6_m5.SetItems(Items8)"; -_cb_p6_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5379;BA.debugLine="itemselect13 = \"Selecciona una opcion\""; -_itemselect13 = "Selecciona una opcion"; - //BA.debugLineNum = 5380;BA.debugLine="cb_p7_m5.SetItems(Items8)"; -_cb_p7_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5381;BA.debugLine="itemselect14 = \"Selecciona una opcion\""; -_itemselect14 = "Selecciona una opcion"; - //BA.debugLineNum = 5382;BA.debugLine="cb_p8_m5.SetItems(Items8)"; -_cb_p8_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5383;BA.debugLine="itemselect15 = \"Selecciona una opcion\""; -_itemselect15 = "Selecciona una opcion"; - //BA.debugLineNum = 5384;BA.debugLine="cb_p9_m5.SetItems(Items8)"; -_cb_p9_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 5385;BA.debugLine="itemselect16 = \"Selecciona una opcion\""; -_itemselect16 = "Selecciona una opcion"; - //BA.debugLineNum = 5386;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba); - }else { - //BA.debugLineNum = 5388;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = _tipo_venta; - //BA.debugLineNum = 5390;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 5391;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 5392;BA.debugLine="p_cliente.Visible = True"; -_p_cliente.setVisible(__c.True); - //BA.debugLineNum = 5393;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - }; - }else { - //BA.debugLineNum = 5396;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; -__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba); - }; - //BA.debugLineNum = 5399;BA.debugLine="End Sub"; -return ""; -} -public String _b_guardaencuesta_m5_click() throws Exception{ - //BA.debugLineNum = 5401;BA.debugLine="Private Sub B_guardaencuesta_m5_Click"; - //BA.debugLineNum = 5403;BA.debugLine="PASA = \"1\""; -_pasa = "1"; - //BA.debugLineNum = 5405;BA.debugLine="If itemselect8 = \"Selecciona una opcion\" Then"; -if ((_itemselect8).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5406;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5408;BA.debugLine="If itemselect9 = \"Selecciona una opcion\" Then"; -if ((_itemselect9).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5409;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5411;BA.debugLine="If itemselect10 = \"Selecciona una opcion\" Then"; -if ((_itemselect10).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5412;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5414;BA.debugLine="If itemselect11 = \"Selecciona una opcion\" Then"; -if ((_itemselect11).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5415;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5417;BA.debugLine="If itemselect12 = \"Selecciona una opcion\" Then"; -if ((_itemselect12).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5418;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5420;BA.debugLine="If itemselect13 = \"Selecciona una opcion\" Then"; -if ((_itemselect13).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5421;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5423;BA.debugLine="If itemselect14 = \"Selecciona una opcion\" Then"; -if ((_itemselect14).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5424;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5426;BA.debugLine="If itemselect15 = \"Selecciona una opcion\" Then"; -if ((_itemselect15).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5427;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5429;BA.debugLine="If itemselect16 = \"Selecciona una opcion\" Then"; -if ((_itemselect16).equals("Selecciona una opcion")) { - //BA.debugLineNum = 5430;BA.debugLine="PASA = \"0\""; -_pasa = "0"; - }; - //BA.debugLineNum = 5433;BA.debugLine="If PASA = \"1\" Then"; -if ((_pasa).equals("1")) { - //BA.debugLineNum = 5434;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO5"; -_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO5 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),(Object)(_itemselect8),(Object)(_itemselect9),(Object)(_itemselect10),(Object)(_itemselect11),(Object)(_itemselect12),(Object)(_itemselect13),(Object)(_itemselect14),(Object)(_itemselect15),(Object)(_itemselect16)})); - //BA.debugLineNum = 5435;BA.debugLine="SV_ENCUESTA.Visible = False"; -_sv_encuesta.setVisible(__c.False); - //BA.debugLineNum = 5436;BA.debugLine="p_cliente.Visible = True"; -_p_cliente.setVisible(__c.True); - //BA.debugLineNum = 5437;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = _tipo_venta; - //BA.debugLineNum = 5438;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - //BA.debugLineNum = 5439;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba); - }else { - //BA.debugLineNum = 5441;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; -__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba); - }; - //BA.debugLineNum = 5443;BA.debugLine="End Sub"; -return ""; -} -public void _b_imp_click() throws Exception{ -ResumableSub_B_IMP_Click rsub = new ResumableSub_B_IMP_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_B_IMP_Click extends BA.ResumableSub { -public ResumableSub_B_IMP_Click(gunav2.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -gunav2.keymon.com.mx.c_cliente parent; -int _resultado = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _creditocod = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 3159;BA.debugLine="If ALMACEN = 87 Then"; -if (true) break; - -case 1: -//if -this.state = 44; -if ((parent._almacen).equals(BA.NumberToString(87))) { -this.state = 3; -}else if((parent._almacen).equals(BA.NumberToString(88))) { -this.state = 11; -}else if((parent._almacen).equals(BA.NumberToString(81)) || (parent._almacen).equals(BA.NumberToString(102)) || (parent._almacen).equals(BA.NumberToString(94))) { -this.state = 13; -}else { -this.state = 43; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 3160;BA.debugLine="If Subs.traemontoprod Then"; -if (true) break; - -case 4: -//if -this.state = 9; -if (parent._subs._traemontoprod /*boolean*/ (ba)) { -this.state = 6; -}else { -this.state = 8; -}if (true) break; - -case 6: -//C -this.state = 9; - //BA.debugLineNum = 3161;BA.debugLine="Impresion2"; -parent._impresion2(); - if (true) break; - -case 8: -//C -this.state = 9; - //BA.debugLineNum = 3163;BA.debugLine="Impresion"; -parent._impresion(); - if (true) break; - -case 9: -//C -this.state = 44; -; - if (true) break; - -case 11: -//C -this.state = 44; - //BA.debugLineNum = 3167;BA.debugLine="Impresion4"; -parent._impresion4(); - if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 3170;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, IFNULL(CONFIRMADO,0) AS CONFIRMADO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 3171;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 3173;BA.debugLine="If c.GetString(\"CAT_CL_BCREDITO\") = 0 Then"; -if (true) break; - -case 14: -//if -this.state = 41; -if ((parent._c.GetString("CAT_CL_BCREDITO")).equals(BA.NumberToString(0))) { -this.state = 16; -}else if((parent._c.GetString("CAT_CL_BCREDITO")).equals(BA.NumberToString(1))) { -this.state = 18; -}if (true) break; - -case 16: -//C -this.state = 41; - //BA.debugLineNum = 3174;BA.debugLine="Impresion4"; -parent._impresion4(); - if (true) break; - -case 18: -//C -this.state = 19; - //BA.debugLineNum = 3177;BA.debugLine="If c.GetString(\"CONFIRMADO\") = 0 Then"; -if (true) break; - -case 19: -//if -this.state = 40; -if ((parent._c.GetString("CONFIRMADO")).equals(BA.NumberToString(0))) { -this.state = 21; -}else { -this.state = 39; -}if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 3179;BA.debugLine="Msgbox2Async(\"La entrega sera a credito o de c"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("La entrega sera a credito o de contado?"),BA.ObjectToCharSequence("Atención"),"Credito","Contado","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 3180;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 45; -return; -case 45: -//C -this.state = 22; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 3181;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 22: -//if -this.state = 37; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 24; -}else if(_resultado==parent.__c.DialogResponse.CANCEL) { -this.state = 36; -}if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 3182;BA.debugLine="Dim creditocod As Cursor = Starter.skmt.ExecQ"; -_creditocod = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_creditocod = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 3183;BA.debugLine="Log(creditocod.RowCount)"; -parent.__c.LogImpl("453674025",BA.NumberToString(_creditocod.getRowCount()),0); - //BA.debugLineNum = 3184;BA.debugLine="If creditocod.RowCount > 0 Then"; -if (true) break; - -case 25: -//if -this.state = 34; -if (_creditocod.getRowCount()>0) { -this.state = 27; -}else { -this.state = 33; -}if (true) break; - -case 27: -//C -this.state = 28; - //BA.debugLineNum = 3185;BA.debugLine="creditocod.Position = 0"; -_creditocod.setPosition((int) (0)); - //BA.debugLineNum = 3186;BA.debugLine="Dim cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 3187;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 3190;BA.debugLine="cs.Size(16).Append(\"Proporciona el siguiente"; -_cs.Size((int) (16)).Append(BA.ObjectToCharSequence("Proporciona el siguiente codigo al cliente '")); - //BA.debugLineNum = 3193;BA.debugLine="cs.Bold.Append(creditocod.GetString(\"CODIGO\""; -_cs.Bold().Append(BA.ObjectToCharSequence(_creditocod.GetString("CODIGO"))).Pop(); - //BA.debugLineNum = 3196;BA.debugLine="cs.Append(\"' para su entrega\").PopAll"; -_cs.Append(BA.ObjectToCharSequence("' para su entrega")).PopAll(); - //BA.debugLineNum = 3199;BA.debugLine="Msgbox2Async(cs, \"Atención\", \"Ok\", \"\", \"\", L"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence(_cs.getObject()),BA.ObjectToCharSequence("Atención"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 3200;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 46; -return; -case 46: -//C -this.state = 28; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 3201;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 28: -//if -this.state = 31; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 30; -}if (true) break; - -case 30: -//C -this.state = 31; - //BA.debugLineNum = 3202;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 1 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 3203;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_C"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 1 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 3205;BA.debugLine="Impresion4"; -parent._impresion4(); - if (true) break; - -case 31: -//C -this.state = 34; -; - if (true) break; - -case 33: -//C -this.state = 34; - //BA.debugLineNum = 3208;BA.debugLine="Impresion4"; -parent._impresion4(); - if (true) break; - -case 34: -//C -this.state = 37; -; - if (true) break; - -case 36: -//C -this.state = 37; - //BA.debugLineNum = 3213;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 1 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 3214;BA.debugLine="Impresion4"; -parent._impresion4(); - if (true) break; - -case 37: -//C -this.state = 40; -; - if (true) break; - -case 39: -//C -this.state = 40; - //BA.debugLineNum = 3217;BA.debugLine="Impresion4"; -parent._impresion4(); - if (true) break; - -case 40: -//C -this.state = 41; -; - if (true) break; - -case 41: -//C -this.state = 44; -; - if (true) break; - -case 43: -//C -this.state = 44; - //BA.debugLineNum = 3222;BA.debugLine="Impresion"; -parent._impresion(); - if (true) break; - -case 44: -//C -this.state = -1; -; - //BA.debugLineNum = 3225;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)"); - //BA.debugLineNum = 3226;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into TICKET_IMPRESO (idCliente) values ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"')")); - //BA.debugLineNum = 3227;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _msgbox_result(int _resultado) throws Exception{ -} -public String _b_inicio_fin_venta_click() throws Exception{ - //BA.debugLineNum = 6690;BA.debugLine="Private Sub b_Inicio_Fin_venta_Click"; - //BA.debugLineNum = 6725;BA.debugLine="End Sub"; -return ""; -} -public String _b_like_click() throws Exception{ - //BA.debugLineNum = 4692;BA.debugLine="Sub b_like_Click"; - //BA.debugLineNum = 4693;BA.debugLine="Panel1.Visible = True"; -_panel1.setVisible(__c.True); - //BA.debugLineNum = 4694;BA.debugLine="b_like.Visible = False"; -_b_like.setVisible(__c.False); - //BA.debugLineNum = 4695;BA.debugLine="Tar.Visible = False"; -_tar.setVisible(__c.False); - //BA.debugLineNum = 4696;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 4697;BA.debugLine="gest.Visible = False ' : ToastMessageShow(\"bbbb\","; -_gest.setVisible(__c.False); - //BA.debugLineNum = 4698;BA.debugLine="b_venta.Visible = False"; -_b_venta.setVisible(__c.False); - //BA.debugLineNum = 4699;BA.debugLine="Guardar.Visible = False"; -_guardar.setVisible(__c.False); - //BA.debugLineNum = 4700;BA.debugLine="End Sub"; -return ""; -} -public String _b_mapa_click() throws Exception{ - //BA.debugLineNum = 3138;BA.debugLine="Sub b_mapa_Click"; - //BA.debugLineNum = 3139;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; -_b4xpages._showpage /*String*/ (ba,"mapas"); - //BA.debugLineNum = 3140;BA.debugLine="End Sub"; -return ""; -} -public String _b_okdeuda_click() throws Exception{ - //BA.debugLineNum = 7884;BA.debugLine="Private Sub b_okdeuda_Click"; - //BA.debugLineNum = 7885;BA.debugLine="p_deuda.Visible = False"; -_p_deuda.setVisible(__c.False); - //BA.debugLineNum = 7886;BA.debugLine="End Sub"; -return ""; -} -public String _b_preguntag_click() throws Exception{ -anywheresoftware.b4a.objects.collections.List _items2 = null; -anywheresoftware.b4a.objects.collections.List _items3 = null; -anywheresoftware.b4a.objects.collections.List _items8 = null; - //BA.debugLineNum = 2408;BA.debugLine="Private Sub b_preguntag_Click"; - //BA.debugLineNum = 2409;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt_"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET CAT_CL_GIRO = ? WHERE CAT_CL_CODIGO = ? And CAT_CL_NOMBRE = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_girotienda),(Object)(_la_cuenta.getText()),(Object)(_la_nombre.getText())})); - //BA.debugLineNum = 2410;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_AVI"; -_skmt.ExecNonQuery2("INSERT INTO HIST_ENCUESTA_AVISO_GIRO(HEAV_CLIENTE , HEAV_MODULO , HEAV_AVISO ,HEAV_GIRO ) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_encuesta),(Object)("ACEPTA"),(Object)(_girotienda)})); - //BA.debugLineNum = 2411;BA.debugLine="If girotienda <> \"Selecciona una opcion\" Then"; -if ((_girotienda).equals("Selecciona una opcion") == false) { - //BA.debugLineNum = 2412;BA.debugLine="If girotienda = \"Tienda de Abarrotes (Abarrotes,"; -if ((_girotienda).equals("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)")) { - //BA.debugLineNum = 2413;BA.debugLine="Dim result As Int= -3"; -_result = (int) (-3); - //BA.debugLineNum = 2414;BA.debugLine="Do While result=-3"; -while (_result==-3) { - //BA.debugLineNum = 2415;BA.debugLine="result = Msgbox2(\"Entiendo, acepto y consient"; -_result = __c.Msgbox2(BA.ObjectToCharSequence("Entiendo, acepto y consiento que GUNA usará mis datos Personales y serán tratados acorde con lo establecido en la Ley Federal de Protección de Datos Personales en Posesión de los Particulares (en lo sucesivo la “Ley”), y su respectivo Reglamento; bajo lo manifestado en el Aviso de Privacidad – Texto Completo – que se encuentra en la página www.guna.com.mx"),BA.ObjectToCharSequence("AVISO DE PRIVACIDAD"),"ACEPTO","","NO ACEPTO",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba); - //BA.debugLineNum = 2416;BA.debugLine="Select Case result"; -switch (BA.switchObjectToInt(_result,__c.DialogResponse.POSITIVE,__c.DialogResponse.NEGATIVE)) { -case 0: { - //BA.debugLineNum = 2435;BA.debugLine="Log(que_modulo)"; -__c.LogImpl("451576859",_que_modulo,0); - //BA.debugLineNum = 2436;BA.debugLine="If que_modulo = Null Or que_modulo = \" \" The"; -if (_que_modulo== null || (_que_modulo).equals(" ")) { -_que_modulo = "1";}; - //BA.debugLineNum = 2438;BA.debugLine="If que_modulo < = ENCUESTA Then"; -if ((double)(Double.parseDouble(_que_modulo))<=(double)(Double.parseDouble(_encuesta))) { - //BA.debugLineNum = 2439;BA.debugLine="If que_modulo = \"1\" Then"; -if ((_que_modulo).equals("1")) { - //BA.debugLineNum = 2442;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The"; -if (_p_m2.IsInitialized() && _p_m2.getVisible()) { - //BA.debugLineNum = 2443;BA.debugLine="p_m2.Visible = False"; -_p_m2.setVisible(__c.False); - }else if(_p_m3.IsInitialized() && _p_m3.getVisible()) { - //BA.debugLineNum = 2445;BA.debugLine="p_m3.Visible = False"; -_p_m3.setVisible(__c.False); - }else if(_p_m4.IsInitialized() && _p_m4.getVisible()) { - //BA.debugLineNum = 2447;BA.debugLine="p_m4.Visible = False"; -_p_m4.setVisible(__c.False); - }else if(_p_modulo5.IsInitialized() && _p_modulo5.getVisible()) { - //BA.debugLineNum = 2449;BA.debugLine="p_modulo5.Visible = False"; -_p_modulo5.setVisible(__c.False); - }else { - }; - //BA.debugLineNum = 2453;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2454;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 2455;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 2456;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA\")"; -_sv_encuesta.getPanel().LoadLayout("ENCUESTA",ba); - //BA.debugLineNum = 2457;BA.debugLine="p_m1.Width = Root.Width * 0.94"; -_p_m1.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 2458;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m1.Height + 6"; -_sv_encuesta.getPanel().setHeight((int) (_p_m1.getHeight()+60)); - //BA.debugLineNum = 2459;BA.debugLine="Panel7.Visible = False"; -_panel7.setVisible(__c.False); - }else if((_que_modulo).equals("2")) { - //BA.debugLineNum = 2463;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible The"; -if (_p_m1.IsInitialized() && _p_m1.getVisible()) { - //BA.debugLineNum = 2464;BA.debugLine="p_m1.Visible = False"; -_p_m1.setVisible(__c.False); - }else { - }; - //BA.debugLineNum = 2468;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2469;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 2470;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 2471;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2"; -_sv_encuesta.getPanel().LoadLayout("ESNCUESTA_m2",ba); - //BA.debugLineNum = 2472;BA.debugLine="p_m2.Width = Root.Width * 0.94"; -_p_m2.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 2473;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 6"; -_sv_encuesta.getPanel().setHeight((int) (_p_m2.getHeight()+60)); - //BA.debugLineNum = 2474;BA.debugLine="Panel7_M2.Visible = False"; -_panel7_m2.setVisible(__c.False); - }else if((_que_modulo).equals("3")) { - //BA.debugLineNum = 2477;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The"; -if (_p_m2.IsInitialized() && _p_m2.getVisible()) { - //BA.debugLineNum = 2478;BA.debugLine="p_m2.Visible = False"; -_p_m2.setVisible(__c.False); - }else { - }; - //BA.debugLineNum = 2482;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2483;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 2484;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 2485;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3"; -_sv_encuesta.getPanel().LoadLayout("ENCUESSTA_M3",ba); - //BA.debugLineNum = 2487;BA.debugLine="p_m3.Width = Root.Width * 0.94"; -_p_m3.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 2488;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 6"; -_sv_encuesta.getPanel().setHeight((int) (_p_m3.getHeight()+60)); - }else if((_que_modulo).equals("4")) { - //BA.debugLineNum = 2491;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible The"; -if (_p_m3.IsInitialized() && _p_m3.getVisible()) { - //BA.debugLineNum = 2493;BA.debugLine="p_m3.Visible = False"; -_p_m3.setVisible(__c.False); - }else { - }; - //BA.debugLineNum = 2496;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2497;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 2498;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 2499;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2500;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\""; -_sv_encuesta.getPanel().LoadLayout("ENCUESTA_M4",ba); - //BA.debugLineNum = 2501;BA.debugLine="p_m4.Width = Root.Width * 0.94"; -_p_m4.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 2502;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 6"; -_sv_encuesta.getPanel().setHeight((int) (_p_m4.getHeight()+60)); - //BA.debugLineNum = 2504;BA.debugLine="Dim Items2 As List"; -_items2 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2505;BA.debugLine="Items2.Initialize"; -_items2.Initialize(); - //BA.debugLineNum = 2506;BA.debugLine="Items2.Add(\"Selecciona una opcion\")"; -_items2.Add((Object)("Selecciona una opcion")); - //BA.debugLineNum = 2507;BA.debugLine="Items2.Add(\"Propio\")"; -_items2.Add((Object)("Propio")); - //BA.debugLineNum = 2508;BA.debugLine="Items2.Add(\"Rentado\")"; -_items2.Add((Object)("Rentado")); - //BA.debugLineNum = 2509;BA.debugLine="cb_p3_m4.SetItems(Items2)"; -_cb_p3_m4._setitems /*String*/ (_items2); - //BA.debugLineNum = 2510;BA.debugLine="itemselect2 = \"Selecciona una opcion\""; -_itemselect2 = "Selecciona una opcion"; - //BA.debugLineNum = 2512;BA.debugLine="Dim Items3 As List"; -_items3 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2513;BA.debugLine="Items3.Initialize"; -_items3.Initialize(); - //BA.debugLineNum = 2514;BA.debugLine="Items3.Add(\"Selecciona una opcion\")"; -_items3.Add((Object)("Selecciona una opcion")); - //BA.debugLineNum = 2515;BA.debugLine="Items3.Add(\"Completamente Surtido\")"; -_items3.Add((Object)("Completamente Surtido")); - //BA.debugLineNum = 2516;BA.debugLine="Items3.Add(\"Bien Surtido\")"; -_items3.Add((Object)("Bien Surtido")); - //BA.debugLineNum = 2517;BA.debugLine="Items3.Add(\"Poco Surtido\")"; -_items3.Add((Object)("Poco Surtido")); - //BA.debugLineNum = 2518;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")"; -_items3.Add((Object)("Muy Poco Surtido")); - //BA.debugLineNum = 2519;BA.debugLine="Items3.Add(\"Sin Existencias\")"; -_items3.Add((Object)("Sin Existencias")); - //BA.debugLineNum = 2520;BA.debugLine="cb_p4_1_m4.SetItems(Items3)"; -_cb_p4_1_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 2521;BA.debugLine="itemselect3 = \"Selecciona una opcion\""; -_itemselect3 = "Selecciona una opcion"; - //BA.debugLineNum = 2522;BA.debugLine="cb_p4_2_m4.SetItems(Items3)"; -_cb_p4_2_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 2523;BA.debugLine="itemselect4 = \"Selecciona una opcion\""; -_itemselect4 = "Selecciona una opcion"; - //BA.debugLineNum = 2524;BA.debugLine="cb_p4_3_m4.SetItems(Items3)"; -_cb_p4_3_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 2525;BA.debugLine="itemselect5 = \"Selecciona una opcion\""; -_itemselect5 = "Selecciona una opcion"; - //BA.debugLineNum = 2526;BA.debugLine="cb_p4_4_m4.SetItems(Items3)"; -_cb_p4_4_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 2527;BA.debugLine="itemselect6 = \"Selecciona una opcion\""; -_itemselect6 = "Selecciona una opcion"; - //BA.debugLineNum = 2528;BA.debugLine="cb_p4_5_m4.SetItems(Items3)"; -_cb_p4_5_m4._setitems /*String*/ (_items3); - //BA.debugLineNum = 2529;BA.debugLine="itemselect7 = \"Selecciona una opcion\""; -_itemselect7 = "Selecciona una opcion"; - }else if((_que_modulo).equals("5")) { - //BA.debugLineNum = 2532;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible The"; -if (_p_m4.IsInitialized() && _p_m4.getVisible()) { - //BA.debugLineNum = 2533;BA.debugLine="p_m4.Visible = False"; -_p_m4.setVisible(__c.False); - }else { - }; - //BA.debugLineNum = 2536;BA.debugLine="p_cliente.Visible = False"; -_p_cliente.setVisible(__c.False); - //BA.debugLineNum = 2537;BA.debugLine="SV_ENCUESTA.Visible = True"; -_sv_encuesta.setVisible(__c.True); - //BA.debugLineNum = 2538;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2539;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\""; -_sv_encuesta.getPanel().LoadLayout("ENCUESTA_M5",ba); - //BA.debugLineNum = 2540;BA.debugLine="p_modulo5.Width = Root.Width * 0.94"; -_p_modulo5.setWidth((int) (_root.getWidth()*0.94)); - //BA.debugLineNum = 2541;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Heigh"; -_sv_encuesta.getPanel().setHeight((int) (_p_modulo5.getHeight()+30)); - //BA.debugLineNum = 2542;BA.debugLine="Dim Items8 As List"; -_items8 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2543;BA.debugLine="Items8.Initialize"; -_items8.Initialize(); - //BA.debugLineNum = 2544;BA.debugLine="Items8.Add(\"Selecciona una opcion\")"; -_items8.Add((Object)("Selecciona una opcion")); - //BA.debugLineNum = 2545;BA.debugLine="Items8.Add(\"Completamente Surtido\")"; -_items8.Add((Object)("Completamente Surtido")); - //BA.debugLineNum = 2546;BA.debugLine="Items8.Add(\"Bien Surtido\")"; -_items8.Add((Object)("Bien Surtido")); - //BA.debugLineNum = 2547;BA.debugLine="Items8.Add(\"Poco Surtido\")"; -_items8.Add((Object)("Poco Surtido")); - //BA.debugLineNum = 2548;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")"; -_items8.Add((Object)("Muy Poco Surtido")); - //BA.debugLineNum = 2549;BA.debugLine="Items8.Add(\"Sin Existencias\")"; -_items8.Add((Object)("Sin Existencias")); - //BA.debugLineNum = 2550;BA.debugLine="cb_p1_m5.SetItems(Items8)"; -_cb_p1_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2551;BA.debugLine="itemselect8 = \"Selecciona una opcion\""; -_itemselect8 = "Selecciona una opcion"; - //BA.debugLineNum = 2552;BA.debugLine="cb_p2_m5.SetItems(Items8)"; -_cb_p2_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2553;BA.debugLine="itemselect9 = \"Selecciona una opcion\""; -_itemselect9 = "Selecciona una opcion"; - //BA.debugLineNum = 2554;BA.debugLine="cb_p3_m5.SetItems(Items8)"; -_cb_p3_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2555;BA.debugLine="itemselect10 = \"Selecciona una opcion\""; -_itemselect10 = "Selecciona una opcion"; - //BA.debugLineNum = 2556;BA.debugLine="cb_p4_m5.SetItems(Items8)"; -_cb_p4_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2557;BA.debugLine="itemselect11 = \"Selecciona una opcion\""; -_itemselect11 = "Selecciona una opcion"; - //BA.debugLineNum = 2558;BA.debugLine="cb_p5_m5.SetItems(Items8)"; -_cb_p5_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2559;BA.debugLine="itemselect12 = \"Selecciona una opcion\""; -_itemselect12 = "Selecciona una opcion"; - //BA.debugLineNum = 2560;BA.debugLine="cb_p6_m5.SetItems(Items8)"; -_cb_p6_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2561;BA.debugLine="itemselect13 = \"Selecciona una opcion\""; -_itemselect13 = "Selecciona una opcion"; - //BA.debugLineNum = 2562;BA.debugLine="cb_p7_m5.SetItems(Items8)"; -_cb_p7_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2563;BA.debugLine="itemselect14 = \"Selecciona una opcion\""; -_itemselect14 = "Selecciona una opcion"; - //BA.debugLineNum = 2564;BA.debugLine="cb_p8_m5.SetItems(Items8)"; -_cb_p8_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2565;BA.debugLine="itemselect15 = \"Selecciona una opcion\""; -_itemselect15 = "Selecciona una opcion"; - //BA.debugLineNum = 2566;BA.debugLine="cb_p9_m5.SetItems(Items8)"; -_cb_p9_m5._setitems /*String*/ (_items8); - //BA.debugLineNum = 2567;BA.debugLine="itemselect16 = \"Selecciona una opcion\""; -_itemselect16 = "Selecciona una opcion"; - }; - }else { - //BA.debugLineNum = 2570;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2571;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - }; - break; } -case 1: { - //BA.debugLineNum = 2575;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - break; } -} + }}} ; } -; - }else { - //BA.debugLineNum = 2727;BA.debugLine="p_pregunta1.Visible = False"; -_p_pregunta1.setVisible(__c.False); - //BA.debugLineNum = 2728;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); +}; +RDebugUtils.currentLine=62128293; + //BA.debugLineNum = 62128293;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,108-9*6," "); }; +RDebugUtils.currentLine=62128295; + //BA.debugLineNum = 62128295;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 2731;BA.debugLine="Msgbox(\"Contesta la pregunta por favor\",\"AVISO\")"; -__c.Msgbox(BA.ObjectToCharSequence("Contesta la pregunta por favor"),BA.ObjectToCharSequence("AVISO"),ba); +RDebugUtils.currentLine=62128298; + //BA.debugLineNum = 62128298;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62128299; + //BA.debugLineNum = 62128299;BA.debugLine="If S.RowCount>0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=62128300; + //BA.debugLineNum = 62128300;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128301; + //BA.debugLineNum = 62128301;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------"); +RDebugUtils.currentLine=62128302; + //BA.debugLineNum = 62128302;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128303; + //BA.debugLineNum = 62128303;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant. Precio Importe"); +RDebugUtils.currentLine=62128304; + //BA.debugLineNum = 62128304;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128305; + //BA.debugLineNum = 62128305;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62128306; + //BA.debugLineNum = 62128306;BA.debugLine="For i=0 To S.RowCount -1"; +{ +final int step141 = 1; +final int limit141 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit141 ;_i = _i + step141 ) { +RDebugUtils.currentLine=62128307; + //BA.debugLineNum = 62128307;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=62128308; + //BA.debugLineNum = 62128308;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +RDebugUtils.currentLine=62128309; + //BA.debugLineNum = 62128309;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128310; + //BA.debugLineNum = 62128310;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); + }else { +RDebugUtils.currentLine=62128312; + //BA.debugLineNum = 62128312;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128313; + //BA.debugLineNum = 62128313;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128314; + //BA.debugLineNum = 62128314;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); +RDebugUtils.currentLine=62128318; + //BA.debugLineNum = 62128318;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")); +RDebugUtils.currentLine=62128319; + //BA.debugLineNum = 62128319;BA.debugLine="ESPACIO = 92"; +__ref._espacio /*int*/ = (int) (92); +RDebugUtils.currentLine=62128320; + //BA.debugLineNum = 62128320;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=62128321; + //BA.debugLineNum = 62128321;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=62128322; + //BA.debugLineNum = 62128322;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=62128323; + //BA.debugLineNum = 62128323;BA.debugLine="For E=0 To ESPACIO -1"; +{ +final int step155 = 1; +final int limit155 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +for (;_e <= limit155 ;_e = _e + step155 ) { +RDebugUtils.currentLine=62128324; + //BA.debugLineNum = 62128324;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + } +}; +RDebugUtils.currentLine=62128326; + //BA.debugLineNum = 62128326;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128327; + //BA.debugLineNum = 62128327;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128328; + //BA.debugLineNum = 62128328;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")); }; - //BA.debugLineNum = 2733;BA.debugLine="End Sub"; + } +}; +RDebugUtils.currentLine=62128334; + //BA.debugLineNum = 62128334;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,108-9*6," "); + }; +RDebugUtils.currentLine=62128336; + //BA.debugLineNum = 62128336;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=62128337; + //BA.debugLineNum = 62128337;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62128338; + //BA.debugLineNum = 62128338;BA.debugLine="If S.RowCount>0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=62128339; + //BA.debugLineNum = 62128339;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128340; + //BA.debugLineNum = 62128340;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------"); +RDebugUtils.currentLine=62128341; + //BA.debugLineNum = 62128341;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128342; + //BA.debugLineNum = 62128342;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Cant. Precio Importe"); +RDebugUtils.currentLine=62128343; + //BA.debugLineNum = 62128343;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128344; + //BA.debugLineNum = 62128344;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62128345; + //BA.debugLineNum = 62128345;BA.debugLine="For i=0 To S.RowCount -1"; +{ +final int step174 = 1; +final int limit174 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit174 ;_i = _i + step174 ) { +RDebugUtils.currentLine=62128346; + //BA.debugLineNum = 62128346;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=62128347; + //BA.debugLineNum = 62128347;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +RDebugUtils.currentLine=62128348; + //BA.debugLineNum = 62128348;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128349; + //BA.debugLineNum = 62128349;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); + }else { +RDebugUtils.currentLine=62128351; + //BA.debugLineNum = 62128351;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128352; + //BA.debugLineNum = 62128352;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128353; + //BA.debugLineNum = 62128353;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")); +RDebugUtils.currentLine=62128354; + //BA.debugLineNum = 62128354;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; +__c.LogImpl("062128354",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")),__c.Colors.Magenta); +RDebugUtils.currentLine=62128355; + //BA.debugLineNum = 62128355;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magent"; +__c.LogImpl("062128355",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")),__c.Colors.Magenta); +RDebugUtils.currentLine=62128356; + //BA.debugLineNum = 62128356;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mag"; +__c.LogImpl("062128356",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")),__c.Colors.Magenta); +RDebugUtils.currentLine=62128357; + //BA.debugLineNum = 62128357;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")); +RDebugUtils.currentLine=62128358; + //BA.debugLineNum = 62128358;BA.debugLine="ESPACIO = 92"; +__ref._espacio /*int*/ = (int) (92); +RDebugUtils.currentLine=62128359; + //BA.debugLineNum = 62128359;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=62128360; + //BA.debugLineNum = 62128360;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=62128361; + //BA.debugLineNum = 62128361;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=62128362; + //BA.debugLineNum = 62128362;BA.debugLine="For E=0 To ESPACIO -1"; +{ +final int step191 = 1; +final int limit191 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +for (;_e <= limit191 ;_e = _e + step191 ) { +RDebugUtils.currentLine=62128363; + //BA.debugLineNum = 62128363;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + } +}; +RDebugUtils.currentLine=62128365; + //BA.debugLineNum = 62128365;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl"; +_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); +RDebugUtils.currentLine=62128366; + //BA.debugLineNum = 62128366;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128367; + //BA.debugLineNum = 62128367;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")); + }; + } +}; + }; + }; +RDebugUtils.currentLine=62128373; + //BA.debugLineNum = 62128373;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=62128376; + //BA.debugLineNum = 62128376;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128377; + //BA.debugLineNum = 62128377;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128378; + //BA.debugLineNum = 62128378;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128379; + //BA.debugLineNum = 62128379;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62128388; + //BA.debugLineNum = 62128388;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TO"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=62128389; + //BA.debugLineNum = 62128389;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=62128390; + //BA.debugLineNum = 62128390;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128391; + //BA.debugLineNum = 62128391;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Subtotal p"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Subtotal preventa: $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")); +RDebugUtils.currentLine=62128393; + //BA.debugLineNum = 62128393;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=62128394; + //BA.debugLineNum = 62128394;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=62128395; + //BA.debugLineNum = 62128395;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128396; + //BA.debugLineNum = 62128396;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Total articulos preventa: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")); +RDebugUtils.currentLine=62128399; + //BA.debugLineNum = 62128399;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL("; +_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0"))); +RDebugUtils.currentLine=62128400; + //BA.debugLineNum = 62128400;BA.debugLine="s3.Position =0"; +_s3.setPosition((int) (0)); +RDebugUtils.currentLine=62128401; + //BA.debugLineNum = 62128401;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCUL"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0"))); +RDebugUtils.currentLine=62128402; + //BA.debugLineNum = 62128402;BA.debugLine="S2.Position =0"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=62128404; + //BA.debugLineNum = 62128404;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.Get"; +if ((__c.NumberFormat2(((double)(Double.parseDouble(_s3.GetString("TOTAL")))+(double)(Double.parseDouble(__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))),(int) (0),(int) (2),(int) (2),__c.False)).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")) == false) { +RDebugUtils.currentLine=62128405; + //BA.debugLineNum = 62128405;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128406; + //BA.debugLineNum = 62128406;BA.debugLine="Log(s.GetString(\"TOTAL\") & \"|\" & Subs.calculaTo"; +__c.LogImpl("062128406",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")+"|"+_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)),0); +RDebugUtils.currentLine=62128407; + //BA.debugLineNum = 62128407;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Descuento: $"+__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)); + }; +RDebugUtils.currentLine=62128410; + //BA.debugLineNum = 62128410;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128412; + //BA.debugLineNum = 62128412;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total Prev"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"Total Preventa: $"+__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)); + }; +RDebugUtils.currentLine=62128420; + //BA.debugLineNum = 62128420;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128421; + //BA.debugLineNum = 62128421;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62128422; + //BA.debugLineNum = 62128422;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128423; + //BA.debugLineNum = 62128423;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------"); +RDebugUtils.currentLine=62128424; + //BA.debugLineNum = 62128424;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128425; + //BA.debugLineNum = 62128425;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------"); +RDebugUtils.currentLine=62128426; + //BA.debugLineNum = 62128426;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128427; + //BA.debugLineNum = 62128427;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------"); +RDebugUtils.currentLine=62128428; + //BA.debugLineNum = 62128428;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128429; + //BA.debugLineNum = 62128429;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); +RDebugUtils.currentLine=62128430; + //BA.debugLineNum = 62128430;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128431; + //BA.debugLineNum = 62128431;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128432; + //BA.debugLineNum = 62128432;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128433; + //BA.debugLineNum = 62128433;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128434; + //BA.debugLineNum = 62128434;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128435; + //BA.debugLineNum = 62128435;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128436; + //BA.debugLineNum = 62128436;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128437; + //BA.debugLineNum = 62128437;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128438; + //BA.debugLineNum = 62128438;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128439; + //BA.debugLineNum = 62128439;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128440; + //BA.debugLineNum = 62128440;BA.debugLine="multiplicador = multiplicador +1"; +_multiplicador = (int) (_multiplicador+1); +RDebugUtils.currentLine=62128441; + //BA.debugLineNum = 62128441;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; +_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,1,_pagina-_multiplicador*6," "); +RDebugUtils.currentLine=62128451; + //BA.debugLineNum = 62128451;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\""; +__c.DateTime.setDateFormat("ddmmyyyy"); +RDebugUtils.currentLine=62128452; + //BA.debugLineNum = 62128452;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=62128453; + //BA.debugLineNum = 62128453;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=62128454; + //BA.debugLineNum = 62128454;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=62128455; + //BA.debugLineNum = 62128455;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\""; +__ref._archivoticketpdf /*String*/ = __ref._sdate /*String*/ +__ref._stime /*String*/ +".pdf"; +RDebugUtils.currentLine=62128457; + //BA.debugLineNum = 62128457;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways"; +__ref._savepdf /*String*/ (null,_pdf,__ref._archivoticketpdf /*String*/ ,_pdf._compressalways /*int*/ ); +RDebugUtils.currentLine=62128460; + //BA.debugLineNum = 62128460;BA.debugLine="End Sub"; return ""; } -public String _b_preventa_click() throws Exception{ - //BA.debugLineNum = 6745;BA.debugLine="Private Sub b_preventa_Click"; - //BA.debugLineNum = 6747;BA.debugLine="End Sub"; -return ""; -} -public void _b_preventa2_click() throws Exception{ -ResumableSub_b_preventa2_Click rsub = new ResumableSub_b_preventa2_Click(this); +public void _enviarpdfwhatsappnumero(gunav2.keymon.com.mx.c_cliente __ref,String _numerotelefono) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "enviarpdfwhatsappnumero", false)) + {Debug.delegate(ba, "enviarpdfwhatsappnumero", new Object[] {_numerotelefono}); return;} +ResumableSub_EnviarPDFWhatsAppNumero rsub = new ResumableSub_EnviarPDFWhatsAppNumero(this,__ref,_numerotelefono); rsub.resume(ba, null); } -public static class ResumableSub_b_preventa2_Click extends BA.ResumableSub { -public ResumableSub_b_preventa2_Click(gunav2.keymon.com.mx.c_cliente parent) { +public static class ResumableSub_EnviarPDFWhatsAppNumero extends BA.ResumableSub { +public ResumableSub_EnviarPDFWhatsAppNumero(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref,String _numerotelefono) { this.parent = parent; +this.__ref = __ref; +this._numerotelefono = _numerotelefono; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; -anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null; -String _fechainicio = ""; -long _ticksinicio = 0L; -long _tickshoy = 0L; -int _diferenciadias = 0; -int _resultado = 0; +String _numerotelefono; +gunav2.keymon.com.mx.httpjob._multipartfiledata _fd = null; +String _link = ""; +anywheresoftware.b4a.objects.collections.Map _campos = null; +gunav2.keymon.com.mx.httpjob _job = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -2944,158 +2758,1362 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 7896;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTURA\""; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "PREVENTA_FUTURA"; - //BA.debugLineNum = 7897;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; -_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 7898;BA.debugLine="If pagarepen.RowCount > 0 Then"; +RDebugUtils.currentLine=62586881; + //BA.debugLineNum = 62586881;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono"; if (true) break; case 1: //if -this.state = 16; -if (_pagarepen.getRowCount()>0) { +this.state = 6; +if (_numerotelefono.length()==10) { this.state = 3; -}else { -this.state = 15; -}if (true) break; +;}if (true) break; case 3: //C -this.state = 4; - //BA.debugLineNum = 7899;BA.debugLine="pagarepen.Position = 0"; -_pagarepen.setPosition((int) (0)); - //BA.debugLineNum = 7900;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; -parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 7901;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; -_fechainicio = _pagarepen.GetString("FECHA"); - //BA.debugLineNum = 7903;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; -parent.__c.LogImpl("464421899",_pagarepen.GetString("FECHA"),0); - //BA.debugLineNum = 7906;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; -_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio); - //BA.debugLineNum = 7907;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; -_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())); - //BA.debugLineNum = 7910;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; -_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay); - //BA.debugLineNum = 7913;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; -parent.__c.LogImpl("464421909",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0); - //BA.debugLineNum = 7915;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 7916;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 7918;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT"; -if (true) break; - -case 4: -//if -this.state = 13; -if (_diferenciadias<=parent._c.GetInt("CAT_CL_DIASCREDITO")+1) { this.state = 6; -}else if(_diferenciadias>parent._c.GetInt("CAT_CL_DIASCREDITO")+1) { -this.state = 12; -}if (true) break; +_numerotelefono = "521"+_numerotelefono; +if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 7920;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el día"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 7921;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 17; -return; -case 17: -//C -this.state = 7; -_resultado = (Integer) result[0]; ; - //BA.debugLineNum = 7922;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=62586887; + //BA.debugLineNum = 62586887;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder"; if (true) break; case 7: //if -this.state = 10; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 12; +if (parent.__c.File.Exists(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,__ref._archivoticketpdf /*String*/ )) { this.state = 9; +}else { +this.state = 11; }if (true) break; case 9: //C -this.state = 10; - //BA.debugLineNum = 7923;BA.debugLine="gestionar"; -parent._gestionar(); +this.state = 12; +RDebugUtils.currentLine=62586889; + //BA.debugLineNum = 62586889;BA.debugLine="Dim fd As MultipartFileData"; +_fd = new gunav2.keymon.com.mx.httpjob._multipartfiledata(); +RDebugUtils.currentLine=62586890; + //BA.debugLineNum = 62586890;BA.debugLine="fd.Initialize"; +_fd.Initialize(); +RDebugUtils.currentLine=62586891; + //BA.debugLineNum = 62586891;BA.debugLine="fd.KeyName = \"file\""; +_fd.KeyName /*String*/ = "file"; +RDebugUtils.currentLine=62586892; + //BA.debugLineNum = 62586892;BA.debugLine="fd.Dir = Starter.fFileProvider.SharedFolder"; +_fd.Dir /*String*/ = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ; +RDebugUtils.currentLine=62586893; + //BA.debugLineNum = 62586893;BA.debugLine="fd.FileName = archivoTicketPDF"; +_fd.FileName /*String*/ = __ref._archivoticketpdf /*String*/ ; +RDebugUtils.currentLine=62586894; + //BA.debugLineNum = 62586894;BA.debugLine="fd.ContentType = \"application/pdf\""; +_fd.ContentType /*String*/ = "application/pdf"; +RDebugUtils.currentLine=62586895; + //BA.debugLineNum = 62586895;BA.debugLine="Private link As String = \"http://keymon.net:9001"; +_link = "http://keymon.net:9001/v1/ticketpdf"; +RDebugUtils.currentLine=62586896; + //BA.debugLineNum = 62586896;BA.debugLine="Private campos As Map = CreateMap( \"message\":\"Tu"; +_campos = new anywheresoftware.b4a.objects.collections.Map(); +_campos = parent.__c.createMap(new Object[] {(Object)("message"),(Object)("Tu compra de Guna va ser a *crédito* por el monto de $${NumberFormat2(monto, 1, 2, 2, True)}\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)")}); +RDebugUtils.currentLine=62586897; + //BA.debugLineNum = 62586897;BA.debugLine="campos.Put(\"number\", NumeroTelefono)"; +_campos.Put((Object)("number"),(Object)(_numerotelefono)); +RDebugUtils.currentLine=62586898; + //BA.debugLineNum = 62586898;BA.debugLine="Log(NumeroTelefono)"; +parent.__c.LogImpl("062586898",_numerotelefono,0); +RDebugUtils.currentLine=62586899; + //BA.debugLineNum = 62586899;BA.debugLine="campos.Put(\"message\",\"Tu recibo\")"; +_campos.Put((Object)("message"),(Object)("Tu recibo")); +RDebugUtils.currentLine=62586900; + //BA.debugLineNum = 62586900;BA.debugLine="Log(campos)"; +parent.__c.LogImpl("062586900",BA.ObjectToString(_campos),0); +RDebugUtils.currentLine=62586901; + //BA.debugLineNum = 62586901;BA.debugLine="Private job As HttpJob"; +_job = new gunav2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=62586902; + //BA.debugLineNum = 62586902;BA.debugLine="job.Initialize(\"\", Me)"; +_job._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=62586903; + //BA.debugLineNum = 62586903;BA.debugLine="job.PostMultipart(link, campos, Array(fd))"; +_job._postmultipart /*String*/ (null,_link,_campos,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fd)})); +RDebugUtils.currentLine=62586905; + //BA.debugLineNum = 62586905;BA.debugLine="Log(5555)"; +parent.__c.LogImpl("062586905",BA.NumberToString(5555),0); +RDebugUtils.currentLine=62586906; + //BA.debugLineNum = 62586906;BA.debugLine="Wait For (job) JobDone(job As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "enviarpdfwhatsappnumero"), (Object)(_job)); +this.state = 13; +return; +case 13: +//C +this.state = 12; +_job = (gunav2.keymon.com.mx.httpjob) result[1]; +; if (true) break; -case 10: +case 11: //C -this.state = 13; -; +this.state = 12; +RDebugUtils.currentLine=62586934; + //BA.debugLineNum = 62586934;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe.\", Tr"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("El archivo PDF no existe."),parent.__c.True); if (true) break; case 12: //C -this.state = 13; - //BA.debugLineNum = 7926;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por qu"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(parent._c.GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba); - if (true) break; - -case 13: -//C -this.state = 16; -; - if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 7929;BA.debugLine="gestionar"; -parent._gestionar(); - if (true) break; - -case 16: -//C this.state = -1; ; - //BA.debugLineNum = 7931;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62586936; + //BA.debugLineNum = 62586936;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b_preventa2_longclick() throws Exception{ - //BA.debugLineNum = 3854;BA.debugLine="Private Sub b_preventa2_LongClick"; - //BA.debugLineNum = 3856;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango"; -__c.LogImpl("453936130",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0); - //BA.debugLineNum = 3857;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango"; -__c.LogImpl("453936131",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0); - //BA.debugLineNum = 3858;BA.debugLine="Log(NumberFormat2( (Subs.calculaTotalConPromoXRan"; -__c.LogImpl("453936132",__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False),0); - //BA.debugLineNum = 3859;BA.debugLine="Log(NumberFormat2( (((Subs.calculaTotalConPromoXR"; -__c.LogImpl("453936133",__c.NumberFormat2(((((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))))*100)/(double)(double)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)))),(int) (0),(int) (2),(int) (2),__c.False),0); - //BA.debugLineNum = 3862;BA.debugLine="End Sub"; -return ""; -} -public String _b_venta_click() throws Exception{ - //BA.debugLineNum = 4625;BA.debugLine="Sub b_venta_Click"; - //BA.debugLineNum = 4626;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +public String _guardar_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guardar_click", false)) + {return ((String) Debug.delegate(ba, "guardar_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; +float _suma = 0f; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; +int _cbfactura = 0; +RDebugUtils.currentLine=53018624; + //BA.debugLineNum = 53018624;BA.debugLine="Sub Guardar_Click"; +RDebugUtils.currentLine=53018625; + //BA.debugLineNum = 53018625;BA.debugLine="Guardar.SendToBack"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .SendToBack(); +RDebugUtils.currentLine=53018626; + //BA.debugLineNum = 53018626;BA.debugLine="bitacora.b_Inicio_Fin_venta2.Text = \"TERMINAR VIS"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("TERMINAR VISITA")); +RDebugUtils.currentLine=53018627; + //BA.debugLineNum = 53018627;BA.debugLine="bitacora.enVenta = False"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._enventa /*boolean*/ = __c.False; +RDebugUtils.currentLine=53018628; + //BA.debugLineNum = 53018628;BA.debugLine="bitacora.inicioFin"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciofin /*String*/ (null); +RDebugUtils.currentLine=53018629; + //BA.debugLineNum = 53018629;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 4627;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 4628;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 4656;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53018630; + //BA.debugLineNum = 53018630;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=53018631; + //BA.debugLineNum = 53018631;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=53018632; + //BA.debugLineNum = 53018632;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=53018633; + //BA.debugLineNum = 53018633;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53018634; + //BA.debugLineNum = 53018634;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=53018635; + //BA.debugLineNum = 53018635;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53018636; + //BA.debugLineNum = 53018636;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=53018637; + //BA.debugLineNum = 53018637;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53018638; + //BA.debugLineNum = 53018638;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=53018639; + //BA.debugLineNum = 53018639;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53018640; + //BA.debugLineNum = 53018640;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=53018641; + //BA.debugLineNum = 53018641;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53018644; + //BA.debugLineNum = 53018644;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ"; +_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?",new String[]{"","null",BA.ObjectToString(__c.Null)}))); +RDebugUtils.currentLine=53018646; + //BA.debugLineNum = 53018646;BA.debugLine="Private suma As Float = 0"; +_suma = (float) (0); +RDebugUtils.currentLine=53018647; + //BA.debugLineNum = 53018647;BA.debugLine="If s3.RowCount > 0 Then"; +if (_s3.getRowCount()>0) { +RDebugUtils.currentLine=53018648; + //BA.debugLineNum = 53018648;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO = ? AND PE_RECALCULO = ? AND PE_RECALCULO = ?",new String[]{"","null",BA.ObjectToString(__c.Null)}))); +RDebugUtils.currentLine=53018649; + //BA.debugLineNum = 53018649;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53018650; + //BA.debugLineNum = 53018650;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex"; +_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?",new String[]{"","null",BA.ObjectToString(__c.Null)}))); +RDebugUtils.currentLine=53018651; + //BA.debugLineNum = 53018651;BA.debugLine="s5.Position = 0"; +_s5.setPosition((int) (0)); +RDebugUtils.currentLine=53018652; + //BA.debugLineNum = 53018652;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\") + s5.GetString("; +_suma = (float) ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))); +RDebugUtils.currentLine=53018653; + //BA.debugLineNum = 53018653;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=53018654; + //BA.debugLineNum = 53018654;BA.debugLine="Else If s3.RowCount = 0 Then"; +if (_s3.getRowCount()==0) { +RDebugUtils.currentLine=53018655; + //BA.debugLineNum = 53018655;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=53018656; + //BA.debugLineNum = 53018656;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53018657; + //BA.debugLineNum = 53018657;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\")"; +_suma = (float)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))); +RDebugUtils.currentLine=53018658; + //BA.debugLineNum = 53018658;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; +RDebugUtils.currentLine=53018661; + //BA.debugLineNum = 53018661;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=53018662; + //BA.debugLineNum = 53018662;BA.debugLine="Private cbFactura As Int = 0"; +_cbfactura = (int) (0); +RDebugUtils.currentLine=53018663; + //BA.debugLineNum = 53018663;BA.debugLine="If CH_FACTURA.Checked Then cbFactura = 1"; +if (__ref._ch_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_cbfactura = (int) (1);}; +RDebugUtils.currentLine=53018664; + //BA.debugLineNum = 53018664;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=53018665; + //BA.debugLineNum = 53018665;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=53018666; + //BA.debugLineNum = 53018666;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_FACTURA,PC_ALMACEN,PC_RUTA) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__c.NumberFormat2(_suma,(int) (0),(int) (2),(int) (2),__c.False)),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_cbfactura),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))})); +RDebugUtils.currentLine=53018667; + //BA.debugLineNum = 53018667;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); + }; +RDebugUtils.currentLine=53018671; + //BA.debugLineNum = 53018671;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53018672; + //BA.debugLineNum = 53018672;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=53018673; + //BA.debugLineNum = 53018673;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=53018674; + //BA.debugLineNum = 53018674;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=53018676; + //BA.debugLineNum = 53018676;BA.debugLine="Try"; +try {RDebugUtils.currentLine=53018677; + //BA.debugLineNum = 53018677;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (sub"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))); +RDebugUtils.currentLine=53018683; + //BA.debugLineNum = 53018683;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53018684; + //BA.debugLineNum = 53018684;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; +__ref._stay_hh /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HORAS_TOTALES")))*60*60); +RDebugUtils.currentLine=53018685; + //BA.debugLineNum = 53018685;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; +__ref._stay_mi /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MINUTOS_TOTALES")))*60); +RDebugUtils.currentLine=53018686; + //BA.debugLineNum = 53018686;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; +__ref._stay_ss /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SEGUNDOS_TOTALES"); +RDebugUtils.currentLine=53018687; + //BA.debugLineNum = 53018687;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(__ref._stay_hh /*String*/ ))+(double)(Double.parseDouble(__ref._stay_mi /*String*/ ))+(double)(Double.parseDouble(__ref._stay_ss /*String*/ )))})); +RDebugUtils.currentLine=53018688; + //BA.debugLineNum = 53018688;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=53018689; + //BA.debugLineNum = 53018689;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } + catch (Exception e55) { + ba.setLastException(e55);RDebugUtils.currentLine=53018691; + //BA.debugLineNum = 53018691;BA.debugLine="ToastMessageShow(\".\",True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("."),__c.True); + }; +RDebugUtils.currentLine=53018693; + //BA.debugLineNum = 53018693;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=53018695; + //BA.debugLineNum = 53018695;BA.debugLine="Log(BCREDITO)"; +__c.LogImpl("053018695",__ref._bcredito /*String*/ ,0); +RDebugUtils.currentLine=53018709; + //BA.debugLineNum = 53018709;BA.debugLine="End Sub"; return ""; } -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); +public String _b_foto_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_foto_click", false)) + {return ((String) Debug.delegate(ba, "b_foto_click", null));} +RDebugUtils.currentLine=63963136; + //BA.debugLineNum = 63963136;BA.debugLine="Private Sub b_foto_Click"; +RDebugUtils.currentLine=63963158; + //BA.debugLineNum = 63963158;BA.debugLine="camEx.TakePicture"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._takepicture /*String*/ (null); +RDebugUtils.currentLine=63963159; + //BA.debugLineNum = 63963159;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=63963163; + //BA.debugLineNum = 63963163;BA.debugLine="End Sub"; +return ""; +} +public String _b_gallina_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_gallina_click", false)) + {return ((String) Debug.delegate(ba, "b_gallina_click", null));} +RDebugUtils.currentLine=57540608; + //BA.debugLineNum = 57540608;BA.debugLine="Private Sub B_GALLINA_Click"; +RDebugUtils.currentLine=57540609; + //BA.debugLineNum = 57540609;BA.debugLine="P_gallina.Visible = True"; +__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57540611; + //BA.debugLineNum = 57540611;BA.debugLine="B_GALLINA.Visible = False"; +__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540612; + //BA.debugLineNum = 57540612;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540613; + //BA.debugLineNum = 57540613;BA.debugLine="BT_QR.Visible = False"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540615; + //BA.debugLineNum = 57540615;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540616; + //BA.debugLineNum = 57540616;BA.debugLine="Tar.Visible = False"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540617; + //BA.debugLineNum = 57540617;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540618; + //BA.debugLineNum = 57540618;BA.debugLine="gest.Visible = False ': ToastMessageShow(\"ccc\", F"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540619; + //BA.debugLineNum = 57540619;BA.debugLine="b_venta.Visible = False"; +__ref._b_venta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540620; + //BA.debugLineNum = 57540620;BA.debugLine="Guardar.Visible = False"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540621; + //BA.debugLineNum = 57540621;BA.debugLine="HIST.Visible = False"; +__ref._hist /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57540622; + //BA.debugLineNum = 57540622;BA.debugLine="End Sub"; +return ""; +} +public String _b_geopass_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_geopass_click", false)) + {return ((String) Debug.delegate(ba, "b_geopass_click", null));} +gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=51118080; + //BA.debugLineNum = 51118080;BA.debugLine="Private Sub b_geopass_Click"; +RDebugUtils.currentLine=51118081; + //BA.debugLineNum = 51118081;BA.debugLine="If et_geopass.Text.trim = \"KMTS1\" Then"; +if ((__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()).equals("KMTS1")) { +RDebugUtils.currentLine=51118082; + //BA.debugLineNum = 51118082;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps"; +__ref._m_lat /*String*/ = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ; +RDebugUtils.currentLine=51118083; + //BA.debugLineNum = 51118083;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps"; +__ref._m_lon /*String*/ = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ; +RDebugUtils.currentLine=51118084; + //BA.debugLineNum = 51118084;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)"; +__ref._gps_locationchanged /*String*/ (null,_starter._ubicacionactual /*anywheresoftware.b4a.gps.LocationWrapper*/ ); +RDebugUtils.currentLine=51118085; + //BA.debugLineNum = 51118085;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT_CL_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info3 set CAT_CL_LAT = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ))+"', CAT_CL_LONG = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))+"' where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"'")); +RDebugUtils.currentLine=51118086; + //BA.debugLineNum = 51118086;BA.debugLine="et_geopass.Text = \"\""; +__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }else { +RDebugUtils.currentLine=51118088; + //BA.debugLineNum = 51118088;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=51118089; + //BA.debugLineNum = 51118089;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=51118090; + //BA.debugLineNum = 51118090;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\""; +_cmd.Name /*String*/ = "select_geoPass_GUNA"; +RDebugUtils.currentLine=51118091; + //BA.debugLineNum = 51118091;BA.debugLine="cmd.Parameters = Array As Object(et_geopass.Text"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; +RDebugUtils.currentLine=51118092; + //BA.debugLineNum = 51118092;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPass\")"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("traeGeoPass")); +RDebugUtils.currentLine=51118093; + //BA.debugLineNum = 51118093;BA.debugLine="Log($\"${Starter.server}, ${et_geopass.Text}, ${S"; +__c.LogImpl("051118093",(""+__c.SmartStringFormatter("",(Object)(_starter._server /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+""),0); +RDebugUtils.currentLine=51118094; + //BA.debugLineNum = 51118094;BA.debugLine="et_geopass.Text = \"\""; +__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=51118096; + //BA.debugLineNum = 51118096;BA.debugLine="p_pideGeoPass.Visible = False"; +__ref._p_pidegeopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51118103; + //BA.debugLineNum = 51118103;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +anywheresoftware.b4a.objects.collections.List _ultimasubicaciones = null; +double _latpromedio = 0; +double _lonpromedio = 0; +anywheresoftware.b4a.gps.LocationWrapper _loc = null; +String _al_longitud = ""; +String _al_latitud = ""; +anywheresoftware.b4a.gps.LocationWrapper _ubi1 = null; +anywheresoftware.b4a.gps.LocationWrapper _ubi2 = null; +anywheresoftware.b4a.gps.LocationWrapper _l1 = null; +anywheresoftware.b4a.gps.LocationWrapper _l2 = null; +String _habi = ""; +String _geo = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c5 = null; +RDebugUtils.currentLine=50921472; + //BA.debugLineNum = 50921472;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=50921473; + //BA.debugLineNum = 50921473;BA.debugLine="LogColor($\"Entrando a Cliente.GPS_LocationChanged"; +__c.LogImpl("050921473",("Entrando a Cliente.GPS_LocationChanged"),__c.Colors.Red); +RDebugUtils.currentLine=50921476; + //BA.debugLineNum = 50921476;BA.debugLine="If Location1 = location2 Then"; +if ((_location1).equals(__ref._location2 /*anywheresoftware.b4a.gps.LocationWrapper*/ )) { +RDebugUtils.currentLine=50921477; + //BA.debugLineNum = 50921477;BA.debugLine="contIguales = contIguales + 1"; +__ref._contiguales /*int*/ = (int) (__ref._contiguales /*int*/ +1); +RDebugUtils.currentLine=50921478; + //BA.debugLineNum = 50921478;BA.debugLine="Log(\"Coords Iguales\")"; +__c.LogImpl("050921478","Coords Iguales",0); +RDebugUtils.currentLine=50921479; + //BA.debugLineNum = 50921479;BA.debugLine="If contIguales >= 3 Then"; +if (__ref._contiguales /*int*/ >=3) { +RDebugUtils.currentLine=50921482; + //BA.debugLineNum = 50921482;BA.debugLine="CallSubDelayed(Tracker, \"StopFLP\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StopFLP"); +RDebugUtils.currentLine=50921483; + //BA.debugLineNum = 50921483;BA.debugLine="Return"; +if (true) return ""; + }; + }else { +RDebugUtils.currentLine=50921486; + //BA.debugLineNum = 50921486;BA.debugLine="contIguales = 0"; +__ref._contiguales /*int*/ = (int) (0); + }; +RDebugUtils.currentLine=50921488; + //BA.debugLineNum = 50921488;BA.debugLine="Log(\"############################################"; +__c.LogImpl("050921488","################################################################################",0); +RDebugUtils.currentLine=50921489; + //BA.debugLineNum = 50921489;BA.debugLine="Log(\"############################################"; +__c.LogImpl("050921489","################################################################################",0); +RDebugUtils.currentLine=50921490; + //BA.debugLineNum = 50921490;BA.debugLine="Log(\"############################################"; +__c.LogImpl("050921490","################################################################################",0); +RDebugUtils.currentLine=50921491; + //BA.debugLineNum = 50921491;BA.debugLine="location2 = Location1"; +__ref._location2 /*anywheresoftware.b4a.gps.LocationWrapper*/ = _location1; +RDebugUtils.currentLine=50921501; + //BA.debugLineNum = 50921501;BA.debugLine="If Location1.Accuracy > 50 Then ' Mayor a 50 metr"; +if (_location1.getAccuracy()>50) { +RDebugUtils.currentLine=50921502; + //BA.debugLineNum = 50921502;BA.debugLine="MejorarPrecisionGPS"; +__ref._mejorarprecisiongps /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null); +RDebugUtils.currentLine=50921503; + //BA.debugLineNum = 50921503;BA.debugLine="Return ' Esperar siguiente lectura"; +if (true) return ""; + }; +RDebugUtils.currentLine=50921507; + //BA.debugLineNum = 50921507;BA.debugLine="If Location1.Accuracy > 50 Then ' Si la precisión"; +if (_location1.getAccuracy()>50) { +RDebugUtils.currentLine=50921508; + //BA.debugLineNum = 50921508;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=50921512; + //BA.debugLineNum = 50921512;BA.debugLine="Dim ultimasUbicaciones As List"; +_ultimasubicaciones = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=50921513; + //BA.debugLineNum = 50921513;BA.debugLine="If ultimasUbicaciones.IsInitialized = False Then"; +if (_ultimasubicaciones.IsInitialized()==__c.False) { +RDebugUtils.currentLine=50921514; + //BA.debugLineNum = 50921514;BA.debugLine="ultimasUbicaciones.Initialize"; +_ultimasubicaciones.Initialize(); + }; +RDebugUtils.currentLine=50921517; + //BA.debugLineNum = 50921517;BA.debugLine="ultimasUbicaciones.Add(Location1)"; +_ultimasubicaciones.Add((Object)(_location1.getObject())); +RDebugUtils.currentLine=50921518; + //BA.debugLineNum = 50921518;BA.debugLine="If ultimasUbicaciones.Size > 5 Then"; +if (_ultimasubicaciones.getSize()>5) { +RDebugUtils.currentLine=50921519; + //BA.debugLineNum = 50921519;BA.debugLine="ultimasUbicaciones.RemoveAt(0)"; +_ultimasubicaciones.RemoveAt((int) (0)); + }; +RDebugUtils.currentLine=50921523; + //BA.debugLineNum = 50921523;BA.debugLine="Dim latPromedio, lonPromedio As Double"; +_latpromedio = 0; +_lonpromedio = 0; +RDebugUtils.currentLine=50921524; + //BA.debugLineNum = 50921524;BA.debugLine="For Each loc As Location In ultimasUbicaciones"; +_loc = new anywheresoftware.b4a.gps.LocationWrapper(); +{ +final anywheresoftware.b4a.BA.IterableList group32 = _ultimasubicaciones; +final int groupLen32 = group32.getSize() +;int index32 = 0; +; +for (; index32 < groupLen32;index32++){ +_loc = (anywheresoftware.b4a.gps.LocationWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.gps.LocationWrapper(), (android.location.Location)(group32.Get(index32))); +RDebugUtils.currentLine=50921525; + //BA.debugLineNum = 50921525;BA.debugLine="Log(\"***\")"; +__c.LogImpl("050921525","***",0); +RDebugUtils.currentLine=50921526; + //BA.debugLineNum = 50921526;BA.debugLine="latPromedio = latPromedio + loc.Latitude"; +_latpromedio = _latpromedio+_loc.getLatitude(); +RDebugUtils.currentLine=50921527; + //BA.debugLineNum = 50921527;BA.debugLine="lonPromedio = lonPromedio + loc.Longitude"; +_lonpromedio = _lonpromedio+_loc.getLongitude(); + } +}; +RDebugUtils.currentLine=50921529; + //BA.debugLineNum = 50921529;BA.debugLine="latPromedio = latPromedio / ultimasUbicaciones.Si"; +_latpromedio = _latpromedio/(double)_ultimasubicaciones.getSize(); +RDebugUtils.currentLine=50921530; + //BA.debugLineNum = 50921530;BA.debugLine="lonPromedio = lonPromedio / ultimasUbicaciones.Si"; +_lonpromedio = _lonpromedio/(double)_ultimasubicaciones.getSize(); +RDebugUtils.currentLine=50921533; + //BA.debugLineNum = 50921533;BA.debugLine="B4XPages.MainPage.lat_gps = latPromedio"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_latpromedio); +RDebugUtils.currentLine=50921534; + //BA.debugLineNum = 50921534;BA.debugLine="B4XPages.MainPage.lon_gps = lonPromedio"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_lonpromedio); +RDebugUtils.currentLine=50921536; + //BA.debugLineNum = 50921536;BA.debugLine="If Tels.IsInitialized Then"; +if (__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=50921537; + //BA.debugLineNum = 50921537;BA.debugLine="Dim al_longitud As String = 0"; +_al_longitud = BA.NumberToString(0); +RDebugUtils.currentLine=50921538; + //BA.debugLineNum = 50921538;BA.debugLine="Dim al_latitud As String = 0"; +_al_latitud = BA.NumberToString(0); +RDebugUtils.currentLine=50921539; + //BA.debugLineNum = 50921539;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"LATITUD"}))); +RDebugUtils.currentLine=50921540; + //BA.debugLineNum = 50921540;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50921541; + //BA.debugLineNum = 50921541;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50921542; + //BA.debugLineNum = 50921542;BA.debugLine="Dim al_latitud As String = c.GetString(\"CAT_VA_"; +_al_latitud = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); + }; +RDebugUtils.currentLine=50921544; + //BA.debugLineNum = 50921544;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50921545; + //BA.debugLineNum = 50921545;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"LONGITUD"}))); +RDebugUtils.currentLine=50921546; + //BA.debugLineNum = 50921546;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50921547; + //BA.debugLineNum = 50921547;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50921548; + //BA.debugLineNum = 50921548;BA.debugLine="Dim al_longitud As String = c.GetString(\"CAT_VA"; +_al_longitud = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); + }; +RDebugUtils.currentLine=50921550; + //BA.debugLineNum = 50921550;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50921551; + //BA.debugLineNum = 50921551;BA.debugLine="Dim ubi1, ubi2 As Location"; +_ubi1 = new anywheresoftware.b4a.gps.LocationWrapper(); +_ubi2 = new anywheresoftware.b4a.gps.LocationWrapper(); +RDebugUtils.currentLine=50921552; + //BA.debugLineNum = 50921552;BA.debugLine="ubi1.Initialize2(B4XPages.MainPage.lat_gps, B4XP"; +_ubi1.Initialize2(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ); +RDebugUtils.currentLine=50921553; + //BA.debugLineNum = 50921553;BA.debugLine="ubi2.Initialize2(al_latitud, al_longitud)"; +_ubi2.Initialize2(_al_latitud,_al_longitud); +RDebugUtils.currentLine=50921554; + //BA.debugLineNum = 50921554;BA.debugLine="distancealm = ubi1.DistanceTo(ubi2)"; +__ref._distancealm /*long*/ = (long) (_ubi1.DistanceTo((android.location.Location)(_ubi2.getObject()))); + }; +RDebugUtils.currentLine=50921557; + //BA.debugLineNum = 50921557;BA.debugLine="If LA_GPS.IsInitialized Then"; +if (__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=50921558; + //BA.debugLineNum = 50921558;BA.debugLine="LA_GPS.Text = $\"UBICACIÓN - Precisión: ${NumberF"; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("UBICACIÓN - Precisión: "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_location1.getAccuracy(),(int) (0),(int) (1),(int) (1),__c.False)))+"m"))); + }; +RDebugUtils.currentLine=50921561; + //BA.debugLineNum = 50921561;BA.debugLine="If Location1.Accuracy < 30 Then ' Menos de 30 met"; +if (_location1.getAccuracy()<30) { +RDebugUtils.currentLine=50921563; + //BA.debugLineNum = 50921563;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); +RDebugUtils.currentLine=50921564; + //BA.debugLineNum = 50921564;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); +RDebugUtils.currentLine=50921566; + //BA.debugLineNum = 50921566;BA.debugLine="If m_lat.Length > 0 And B4XPages.MainPage.lat_gp"; +if (__ref._m_lat /*String*/ .length()>0 && (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=50921567; + //BA.debugLineNum = 50921567;BA.debugLine="Dim l1, l2 As Location"; +_l1 = new anywheresoftware.b4a.gps.LocationWrapper(); +_l2 = new anywheresoftware.b4a.gps.LocationWrapper(); +RDebugUtils.currentLine=50921568; + //BA.debugLineNum = 50921568;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPa"; +_l1.Initialize2(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ); +RDebugUtils.currentLine=50921570; + //BA.debugLineNum = 50921570;BA.debugLine="l2.Initialize2(m_lat, m_lon)"; +_l2.Initialize2(__ref._m_lat /*String*/ ,__ref._m_lon /*String*/ ); +RDebugUtils.currentLine=50921571; + //BA.debugLineNum = 50921571;BA.debugLine="BT_QR.Enabled = True"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=50921574; + //BA.debugLineNum = 50921574;BA.debugLine="B_GPS.Enabled = True"; +__ref._b_gps /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=50921576; + //BA.debugLineNum = 50921576;BA.debugLine="Dim distance As Long"; +_distance = 0L; +RDebugUtils.currentLine=50921577; + //BA.debugLineNum = 50921577;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is in"; +__ref._distance /*long*/ = (long) (_l1.DistanceTo((android.location.Location)(_l2.getObject()))); +RDebugUtils.currentLine=50921578; + //BA.debugLineNum = 50921578;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\""; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADO FROM GPS"))); +RDebugUtils.currentLine=50921579; + //BA.debugLineNum = 50921579;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50921580; + //BA.debugLineNum = 50921580;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50921581; + //BA.debugLineNum = 50921581;BA.debugLine="Dim habi As String = c.GetString(\"HABILITADO\")"; +_habi = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADO"); + }; +RDebugUtils.currentLine=50921583; + //BA.debugLineNum = 50921583;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50921584; + //BA.debugLineNum = 50921584;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'"))); +RDebugUtils.currentLine=50921585; + //BA.debugLineNum = 50921585;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50921586; + //BA.debugLineNum = 50921586;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50921587; + //BA.debugLineNum = 50921587;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\""; +_geo = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); + }; +RDebugUtils.currentLine=50921589; + //BA.debugLineNum = 50921589;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50921590; + //BA.debugLineNum = 50921590;BA.debugLine="If gest.IsInitialized And Tels.IsInitialized Th"; +if (__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized() && __ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=50921591; + //BA.debugLineNum = 50921591;BA.debugLine="If geo = \"0\" Then"; +if ((_geo).equals("0")) { +RDebugUtils.currentLine=50921592; + //BA.debugLineNum = 50921592;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921593; + //BA.debugLineNum = 50921593;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921594; + //BA.debugLineNum = 50921594;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50921595; + //BA.debugLineNum = 50921595;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50921596; + //BA.debugLineNum = 50921596;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50921597; + //BA.debugLineNum = 50921597;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50921598; + //BA.debugLineNum = 50921598;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=50921599; + //BA.debugLineNum = 50921599;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Th"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50921600; + //BA.debugLineNum = 50921600;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921603; + //BA.debugLineNum = 50921603;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); +RDebugUtils.currentLine=50921605; + //BA.debugLineNum = 50921605;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; + }else +{RDebugUtils.currentLine=50921606; + //BA.debugLineNum = 50921606;BA.debugLine="Else If geo = \"1\" Then"; +if ((_geo).equals("1")) { +RDebugUtils.currentLine=50921607; + //BA.debugLineNum = 50921607;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921608; + //BA.debugLineNum = 50921608;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921609; + //BA.debugLineNum = 50921609;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921615; + //BA.debugLineNum = 50921615;BA.debugLine="If geo = \"1\" Then"; +if ((_geo).equals("1")) { +RDebugUtils.currentLine=50921616; + //BA.debugLineNum = 50921616;BA.debugLine="If distance < 100 Then"; +if (__ref._distance /*long*/ <100) { +RDebugUtils.currentLine=50921617; + //BA.debugLineNum = 50921617;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=50921618; + //BA.debugLineNum = 50921618;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921619; + //BA.debugLineNum = 50921619;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921620; + //BA.debugLineNum = 50921620;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50921621; + //BA.debugLineNum = 50921621;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50921622; + //BA.debugLineNum = 50921622;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50921623; + //BA.debugLineNum = 50921623;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50921624; + //BA.debugLineNum = 50921624;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=50921625; + //BA.debugLineNum = 50921625;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Th"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50921626; + //BA.debugLineNum = 50921626;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921629; + //BA.debugLineNum = 50921629;BA.debugLine="bitacora.inicioFin"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciofin /*String*/ (null); +RDebugUtils.currentLine=50921630; + //BA.debugLineNum = 50921630;BA.debugLine="precision = \"1\""; +__ref._precision /*String*/ = "1"; +RDebugUtils.currentLine=50921632; + //BA.debugLineNum = 50921632;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; + }else +{RDebugUtils.currentLine=50921634; + //BA.debugLineNum = 50921634;BA.debugLine="Else If habi = \"1\" Then"; +if ((_habi).equals("1")) { +RDebugUtils.currentLine=50921635; + //BA.debugLineNum = 50921635;BA.debugLine="If distancealm < 50 Then"; +if (__ref._distancealm /*long*/ <50) { +RDebugUtils.currentLine=50921636; + //BA.debugLineNum = 50921636;BA.debugLine="precision = \"0\""; +__ref._precision /*String*/ = "0"; +RDebugUtils.currentLine=50921637; + //BA.debugLineNum = 50921637;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=50921638; + //BA.debugLineNum = 50921638;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921639; + //BA.debugLineNum = 50921639;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921640; + //BA.debugLineNum = 50921640;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50921641; + //BA.debugLineNum = 50921641;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50921642; + //BA.debugLineNum = 50921642;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50921643; + //BA.debugLineNum = 50921643;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50921644; + //BA.debugLineNum = 50921644;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=50921645; + //BA.debugLineNum = 50921645;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 T"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50921646; + //BA.debugLineNum = 50921646;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921650; + //BA.debugLineNum = 50921650;BA.debugLine="bitacora.banderaGeoCerca = \"1\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "1"; +RDebugUtils.currentLine=50921651; + //BA.debugLineNum = 50921651;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }else +{RDebugUtils.currentLine=50921653; + //BA.debugLineNum = 50921653;BA.debugLine="Else If distancealm > 50 Then"; +if (__ref._distancealm /*long*/ >50) { +RDebugUtils.currentLine=50921654; + //BA.debugLineNum = 50921654;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921655; + //BA.debugLineNum = 50921655;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921656; + //BA.debugLineNum = 50921656;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921658; + //BA.debugLineNum = 50921658;BA.debugLine="Log(998)"; +__c.LogImpl("050921658",BA.NumberToString(998),0); +RDebugUtils.currentLine=50921660; + //BA.debugLineNum = 50921660;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50921661; + //BA.debugLineNum = 50921661;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50921662; + //BA.debugLineNum = 50921662;BA.debugLine="precision = \"0\""; +__ref._precision /*String*/ = "0"; +RDebugUtils.currentLine=50921663; + //BA.debugLineNum = 50921663;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921664; + //BA.debugLineNum = 50921664;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921665; + //BA.debugLineNum = 50921665;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50921666; + //BA.debugLineNum = 50921666;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50921667; + //BA.debugLineNum = 50921667;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50921668; + //BA.debugLineNum = 50921668;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50921669; + //BA.debugLineNum = 50921669;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=50921670; + //BA.debugLineNum = 50921670;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50921671; + //BA.debugLineNum = 50921671;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921675; + //BA.debugLineNum = 50921675;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; +RDebugUtils.currentLine=50921676; + //BA.debugLineNum = 50921676;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }else +{RDebugUtils.currentLine=50921677; + //BA.debugLineNum = 50921677;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=50921678; + //BA.debugLineNum = 50921678;BA.debugLine="Private c5 As Cursor = skmt.ExecQuery(\"SELE"; +_c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50921679; + //BA.debugLineNum = 50921679;BA.debugLine="If c5.RowCount > 0 Then"; +if (_c5.getRowCount()>0) { +RDebugUtils.currentLine=50921680; + //BA.debugLineNum = 50921680;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921681; + //BA.debugLineNum = 50921681;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921682; + //BA.debugLineNum = 50921682;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.s"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50921683; + //BA.debugLineNum = 50921683;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50921684; + //BA.debugLineNum = 50921684;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50921685; + //BA.debugLineNum = 50921685;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50921686; + //BA.debugLineNum = 50921686;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=50921687; + //BA.debugLineNum = 50921687;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50921688; + //BA.debugLineNum = 50921688;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921691; + //BA.debugLineNum = 50921691;BA.debugLine="precision = \"0\""; +__ref._precision /*String*/ = "0"; +RDebugUtils.currentLine=50921693; + //BA.debugLineNum = 50921693;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }else +{RDebugUtils.currentLine=50921694; + //BA.debugLineNum = 50921694;BA.debugLine="Else If c5.RowCount = 0 Then"; +if (_c5.getRowCount()==0) { +RDebugUtils.currentLine=50921695; + //BA.debugLineNum = 50921695;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921696; + //BA.debugLineNum = 50921696;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921698; + //BA.debugLineNum = 50921698;BA.debugLine="Log(997)"; +__c.LogImpl("050921698",BA.NumberToString(997),0); +RDebugUtils.currentLine=50921700; + //BA.debugLineNum = 50921700;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=50921701; + //BA.debugLineNum = 50921701;BA.debugLine="If ALMACEN = \"1\" Then"; +if ((__ref._almacen /*String*/ ).equals("1")) { +RDebugUtils.currentLine=50921702; + //BA.debugLineNum = 50921702;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921703; + //BA.debugLineNum = 50921703;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921704; + //BA.debugLineNum = 50921704;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921706; + //BA.debugLineNum = 50921706;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; +RDebugUtils.currentLine=50921707; + //BA.debugLineNum = 50921707;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }; + }} +; +RDebugUtils.currentLine=50921710; + //BA.debugLineNum = 50921710;BA.debugLine="c5.Close"; +_c5.Close(); + }} +; +RDebugUtils.currentLine=50921712; + //BA.debugLineNum = 50921712;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50921713; + //BA.debugLineNum = 50921713;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=50921714; + //BA.debugLineNum = 50921714;BA.debugLine="If ALMACEN = \"1\" Then"; +if ((__ref._almacen /*String*/ ).equals("1")) { +RDebugUtils.currentLine=50921715; + //BA.debugLineNum = 50921715;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921716; + //BA.debugLineNum = 50921716;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921718; + //BA.debugLineNum = 50921718;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; +RDebugUtils.currentLine=50921719; + //BA.debugLineNum = 50921719;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }; + }} +; + }else +{RDebugUtils.currentLine=50921722; + //BA.debugLineNum = 50921722;BA.debugLine="Else If habi = 0 Then"; +if ((_habi).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=50921723; + //BA.debugLineNum = 50921723;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50921724; + //BA.debugLineNum = 50921724;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50921725; + //BA.debugLineNum = 50921725;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921726; + //BA.debugLineNum = 50921726;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921727; + //BA.debugLineNum = 50921727;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50921728; + //BA.debugLineNum = 50921728;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50921729; + //BA.debugLineNum = 50921729;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50921730; + //BA.debugLineNum = 50921730;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50921731; + //BA.debugLineNum = 50921731;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=50921732; + //BA.debugLineNum = 50921732;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 T"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50921733; + //BA.debugLineNum = 50921733;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921737; + //BA.debugLineNum = 50921737;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; +RDebugUtils.currentLine=50921738; + //BA.debugLineNum = 50921738;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }else +{RDebugUtils.currentLine=50921739; + //BA.debugLineNum = 50921739;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=50921740; + //BA.debugLineNum = 50921740;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921741; + //BA.debugLineNum = 50921741;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921742; + //BA.debugLineNum = 50921742;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921744; + //BA.debugLineNum = 50921744;BA.debugLine="Log(996)"; +__c.LogImpl("050921744",BA.NumberToString(996),0); +RDebugUtils.currentLine=50921746; + //BA.debugLineNum = 50921746;BA.debugLine="c2 = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50921747; + //BA.debugLineNum = 50921747;BA.debugLine="If c2.RowCount > 0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50921748; + //BA.debugLineNum = 50921748;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921749; + //BA.debugLineNum = 50921749;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921750; + //BA.debugLineNum = 50921750;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50921751; + //BA.debugLineNum = 50921751;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50921752; + //BA.debugLineNum = 50921752;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50921753; + //BA.debugLineNum = 50921753;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50921754; + //BA.debugLineNum = 50921754;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=50921755; + //BA.debugLineNum = 50921755;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50921756; + //BA.debugLineNum = 50921756;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921760; + //BA.debugLineNum = 50921760;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; +RDebugUtils.currentLine=50921761; + //BA.debugLineNum = 50921761;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }else +{RDebugUtils.currentLine=50921762; + //BA.debugLineNum = 50921762;BA.debugLine="Else If c2.RowCount = 0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=50921763; + //BA.debugLineNum = 50921763;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921764; + //BA.debugLineNum = 50921764;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921765; + //BA.debugLineNum = 50921765;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921767; + //BA.debugLineNum = 50921767;BA.debugLine="Log(995)"; +__c.LogImpl("050921767",BA.NumberToString(995),0); +RDebugUtils.currentLine=50921769; + //BA.debugLineNum = 50921769;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=50921770; + //BA.debugLineNum = 50921770;BA.debugLine="If ALMACEN = \"1\" Then"; +if ((__ref._almacen /*String*/ ).equals("1")) { +RDebugUtils.currentLine=50921771; + //BA.debugLineNum = 50921771;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921772; + //BA.debugLineNum = 50921772;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921773; + //BA.debugLineNum = 50921773;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921775; + //BA.debugLineNum = 50921775;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; +RDebugUtils.currentLine=50921776; + //BA.debugLineNum = 50921776;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }; + }} +; +RDebugUtils.currentLine=50921779; + //BA.debugLineNum = 50921779;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50921780; + //BA.debugLineNum = 50921780;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=50921781; + //BA.debugLineNum = 50921781;BA.debugLine="If ALMACEN = \"1\" Then"; +if ((__ref._almacen /*String*/ ).equals("1")) { +RDebugUtils.currentLine=50921782; + //BA.debugLineNum = 50921782;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921783; + //BA.debugLineNum = 50921783;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921784; + //BA.debugLineNum = 50921784;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921786; + //BA.debugLineNum = 50921786;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; +RDebugUtils.currentLine=50921787; + //BA.debugLineNum = 50921787;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }; + }} +; +RDebugUtils.currentLine=50921790; + //BA.debugLineNum = 50921790;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=50921792; + //BA.debugLineNum = 50921792;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921793; + //BA.debugLineNum = 50921793;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921794; + //BA.debugLineNum = 50921794;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921796; + //BA.debugLineNum = 50921796;BA.debugLine="Log(994)"; +__c.LogImpl("050921796",BA.NumberToString(994),0); +RDebugUtils.currentLine=50921798; + //BA.debugLineNum = 50921798;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=50921799; + //BA.debugLineNum = 50921799;BA.debugLine="If ALMACEN = \"1\" Then"; +if ((__ref._almacen /*String*/ ).equals("1")) { +RDebugUtils.currentLine=50921800; + //BA.debugLineNum = 50921800;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921801; + //BA.debugLineNum = 50921801;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50921802; + //BA.debugLineNum = 50921802;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921804; + //BA.debugLineNum = 50921804;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "0"; +RDebugUtils.currentLine=50921805; + //BA.debugLineNum = 50921805;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }; + }}} +; + }; + }; + }else { +RDebugUtils.currentLine=50921812; + //BA.debugLineNum = 50921812;BA.debugLine="If LA_GPS.IsInitialized Then"; +if (__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=50921814; + //BA.debugLineNum = 50921814;BA.debugLine="LA_GPS.Text = $\"BAJA PRECISIÓN (${NumberFormat2"; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("BAJA PRECISIÓN ("+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_location1.getAccuracy(),(int) (0),(int) (1),(int) (1),__c.False)))+"m)"))); +RDebugUtils.currentLine=50921815; + //BA.debugLineNum = 50921815;BA.debugLine="LA_GPS.TextColor = Colors.Red"; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); + }; + }; +RDebugUtils.currentLine=50921819; + //BA.debugLineNum = 50921819;BA.debugLine="If cuenta.StartsWith(\"N\") Then"; +if (__ref._cuenta /*String*/ .startsWith("N")) { +RDebugUtils.currentLine=50921820; + //BA.debugLineNum = 50921820;BA.debugLine="precision = \"0\""; +__ref._precision /*String*/ = "0"; +RDebugUtils.currentLine=50921821; + //BA.debugLineNum = 50921821;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=50921822; + //BA.debugLineNum = 50921822;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921823; + //BA.debugLineNum = 50921823;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50921824; + //BA.debugLineNum = 50921824;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50921825; + //BA.debugLineNum = 50921825;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50921826; + //BA.debugLineNum = 50921826;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50921827; + //BA.debugLineNum = 50921827;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50921828; + //BA.debugLineNum = 50921828;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=50921829; + //BA.debugLineNum = 50921829;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50921830; + //BA.debugLineNum = 50921830;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=50921834; + //BA.debugLineNum = 50921834;BA.debugLine="bitacora.banderaGeoCerca = \"1\""; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ = "1"; +RDebugUtils.currentLine=50921835; + //BA.debugLineNum = 50921835;BA.debugLine="iniciofin"; +__ref._iniciofin /*String*/ (null); + }; +RDebugUtils.currentLine=50921840; + //BA.debugLineNum = 50921840;BA.debugLine="If LA_GEO.IsInitialized Then LA_GEO.Text= $\"$1.2{"; +if (__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .IsInitialized()) { +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.2",(Object)(__ref._distance /*long*/ /(double)1000))+" kms")));}; +RDebugUtils.currentLine=50921843; + //BA.debugLineNum = 50921843;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); +RDebugUtils.currentLine=50921844; + //BA.debugLineNum = 50921844;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=50921846; + //BA.debugLineNum = 50921846;BA.debugLine="End Sub"; +return ""; +} +public String _b_gps_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_gps_click", false)) + {return ((String) Debug.delegate(ba, "b_gps_click", null));} +RDebugUtils.currentLine=55050240; + //BA.debugLineNum = 55050240;BA.debugLine="Sub B_GPS_Click"; +RDebugUtils.currentLine=55050241; + //BA.debugLineNum = 55050241;BA.debugLine="Dim result As Int"; +_result = 0; +RDebugUtils.currentLine=55050242; + //BA.debugLineNum = 55050242;BA.debugLine="result = Msgbox2(\"Esta seguro de cambiar las coor"; +__ref._result /*int*/ = __c.Msgbox2(BA.ObjectToCharSequence("Esta seguro de cambiar las coordenadas de este cliente"),BA.ObjectToCharSequence("Aviso GPS"),"SI","","NO",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alerta.jpg").getObject()),ba); +RDebugUtils.currentLine=55050243; + //BA.debugLineNum = 55050243;BA.debugLine="If result = DialogResponse.Positive Then"; +if (__ref._result /*int*/ ==__c.DialogResponse.POSITIVE) { +RDebugUtils.currentLine=55050244; + //BA.debugLineNum = 55050244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET CAT_CL_LAT = ?, CAT_CL_LONG = ? where CAT_CL_CODIGO In (Select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=55050245; + //BA.debugLineNum = 55050245;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }; +RDebugUtils.currentLine=55050247; + //BA.debugLineNum = 55050247;BA.debugLine="End Sub"; +return ""; +} +public void _b4xpage_appear(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_cliente parent) { +public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; String _permission = ""; boolean _resultc = false; @@ -3145,6 +4163,7 @@ int limit418; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -3154,73 +4173,98 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 552;BA.debugLine="Starter.enCliente = True"; +RDebugUtils.currentLine=50462721; + //BA.debugLineNum = 50462721;BA.debugLine="Starter.enCliente = True"; parent._starter._encliente /*boolean*/ = parent.__c.True; - //BA.debugLineNum = 553;BA.debugLine="Tels.Visible = False"; -parent._tels.setVisible(parent.__c.False); - //BA.debugLineNum = 554;BA.debugLine="gest.Visible = False"; -parent._gest.setVisible(parent.__c.False); - //BA.debugLineNum = 555;BA.debugLine="b_preventa2.Visible = False"; -parent._b_preventa2.setVisible(parent.__c.False); - //BA.debugLineNum = 562;BA.debugLine="recalculoXcant"; -parent._recalculoxcant(); - //BA.debugLineNum = 564;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"im"; -parent._imageview4.setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"images.png").getObject())); - //BA.debugLineNum = 565;BA.debugLine="btnPlanLealtad.Visible = False"; -parent._btnplanlealtad.setVisible(parent.__c.False); - //BA.debugLineNum = 566;BA.debugLine="bitacora.inicioFin"; -parent._bitacora._iniciofin /*String*/ (); - //BA.debugLineNum = 568;BA.debugLine="que_modulo = 1"; -parent._que_modulo = BA.NumberToString(1); - //BA.debugLineNum = 569;BA.debugLine="dentroDeGeocerca = False"; -parent._dentrodegeocerca = parent.__c.False; - //BA.debugLineNum = 570;BA.debugLine="indicePregunta = 0"; -parent._indicepregunta = (int) (0); - //BA.debugLineNum = 571;BA.debugLine="l_credito.Visible = False"; -parent._l_credito.setVisible(parent.__c.False); - //BA.debugLineNum = 572;BA.debugLine="l_limite.Visible = False"; -parent._l_limite.setVisible(parent.__c.False); - //BA.debugLineNum = 573;BA.debugLine="pnlPlanLealtad.Top = 0"; -parent._pnlplanlealtad.setTop((int) (0)); - //BA.debugLineNum = 574;BA.debugLine="pnlPlanLealtad.Left = 0"; -parent._pnlplanlealtad.setLeft((int) (0)); - //BA.debugLineNum = 575;BA.debugLine="pnlPlanLealtad.Width = Root.Width"; -parent._pnlplanlealtad.setWidth(parent._root.getWidth()); - //BA.debugLineNum = 576;BA.debugLine="pnlPlanLealtad.Height = Root.Height"; -parent._pnlplanlealtad.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 577;BA.debugLine="p_cliente.Width = Root.Width"; -parent._p_cliente.setWidth(parent._root.getWidth()); - //BA.debugLineNum = 578;BA.debugLine="p_cliente.Height = Root.Height"; -parent._p_cliente.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 579;BA.debugLine="p_cliente_.Width = Root.Width"; -parent._p_cliente_.setWidth(parent._root.getWidth()); - //BA.debugLineNum = 580;BA.debugLine="Subs.centraPanel(p_atiende, Root.Width)"; -parent._subs._centrapanel /*String*/ (ba,parent._p_atiende,parent._root.getWidth()); - //BA.debugLineNum = 581;BA.debugLine="Subs.centraPanel(p_telefono, Root.Width)"; -parent._subs._centrapanel /*String*/ (ba,parent._p_telefono,parent._root.getWidth()); - //BA.debugLineNum = 584;BA.debugLine="If TOMAR_FOTO <> 0 Then Cuestionario"; +RDebugUtils.currentLine=50462722; + //BA.debugLineNum = 50462722;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462723; + //BA.debugLineNum = 50462723;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462724; + //BA.debugLineNum = 50462724;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462731; + //BA.debugLineNum = 50462731;BA.debugLine="recalculoXcant"; +__ref._recalculoxcant /*String*/ (null); +RDebugUtils.currentLine=50462733; + //BA.debugLineNum = 50462733;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"im"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"images.png").getObject())); +RDebugUtils.currentLine=50462734; + //BA.debugLineNum = 50462734;BA.debugLine="btnPlanLealtad.Visible = False"; +__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462735; + //BA.debugLineNum = 50462735;BA.debugLine="bitacora.inicioFin"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciofin /*String*/ (null); +RDebugUtils.currentLine=50462737; + //BA.debugLineNum = 50462737;BA.debugLine="que_modulo = 1"; +__ref._que_modulo /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=50462738; + //BA.debugLineNum = 50462738;BA.debugLine="dentroDeGeocerca = False"; +__ref._dentrodegeocerca /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=50462739; + //BA.debugLineNum = 50462739;BA.debugLine="indicePregunta = 0"; +__ref._indicepregunta /*int*/ = (int) (0); +RDebugUtils.currentLine=50462740; + //BA.debugLineNum = 50462740;BA.debugLine="l_credito.Visible = False"; +__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462741; + //BA.debugLineNum = 50462741;BA.debugLine="l_limite.Visible = False"; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462742; + //BA.debugLineNum = 50462742;BA.debugLine="pnlPlanLealtad.Top = 0"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=50462743; + //BA.debugLineNum = 50462743;BA.debugLine="pnlPlanLealtad.Left = 0"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=50462744; + //BA.debugLineNum = 50462744;BA.debugLine="pnlPlanLealtad.Width = Root.Width"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50462745; + //BA.debugLineNum = 50462745;BA.debugLine="pnlPlanLealtad.Height = Root.Height"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50462746; + //BA.debugLineNum = 50462746;BA.debugLine="p_cliente.Width = Root.Width"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50462747; + //BA.debugLineNum = 50462747;BA.debugLine="p_cliente.Height = Root.Height"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50462748; + //BA.debugLineNum = 50462748;BA.debugLine="p_cliente_.Width = Root.Width"; +__ref._p_cliente_ /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50462749; + //BA.debugLineNum = 50462749;BA.debugLine="Subs.centraPanel(p_atiende, Root.Width)"; +parent._subs._centrapanel /*String*/ (ba,__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50462750; + //BA.debugLineNum = 50462750;BA.debugLine="Subs.centraPanel(p_telefono, Root.Width)"; +parent._subs._centrapanel /*String*/ (ba,__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50462753; + //BA.debugLineNum = 50462753;BA.debugLine="If TOMAR_FOTO <> 0 Then Cuestionario"; if (true) break; case 1: //if this.state = 6; -if ((parent._tomar_foto).equals(BA.NumberToString(0)) == false) { +if ((__ref._tomar_foto /*String*/ ).equals(BA.NumberToString(0)) == false) { this.state = 3; ;}if (true) break; case 3: //C this.state = 6; -parent._cuestionario(); +__ref._cuestionario /*void*/ (null); if (true) break; case 6: //C this.state = 7; ; - //BA.debugLineNum = 585;BA.debugLine="Starter.idCliente = Subs.traeCliente"; +RDebugUtils.currentLine=50462754; + //BA.debugLineNum = 50462754;BA.debugLine="Starter.idCliente = Subs.traeCliente"; parent._starter._idcliente /*String*/ = parent._subs._traecliente /*String*/ (ba); - //BA.debugLineNum = 587;BA.debugLine="If Subs.traeCliente = \"0\" Then"; +RDebugUtils.currentLine=50462756; + //BA.debugLineNum = 50462756;BA.debugLine="If Subs.traeCliente = \"0\" Then"; if (true) break; case 7: @@ -3235,68 +4279,86 @@ this.state = 11; case 9: //C this.state = 12; - //BA.debugLineNum = 588;BA.debugLine="tipo_venta = \"ABORDO\""; -parent._tipo_venta = "ABORDO"; - //BA.debugLineNum = 589;BA.debugLine="Log(1)"; -parent.__c.LogImpl("450397222",BA.NumberToString(1),0); - //BA.debugLineNum = 590;BA.debugLine="Log(\"ABORDO\")"; -parent.__c.LogImpl("450397223","ABORDO",0); +RDebugUtils.currentLine=50462757; + //BA.debugLineNum = 50462757;BA.debugLine="tipo_venta = \"ABORDO\""; +__ref._tipo_venta /*String*/ = "ABORDO"; +RDebugUtils.currentLine=50462758; + //BA.debugLineNum = 50462758;BA.debugLine="Log(1)"; +parent.__c.LogImpl("050462758",BA.NumberToString(1),0); +RDebugUtils.currentLine=50462759; + //BA.debugLineNum = 50462759;BA.debugLine="Log(\"ABORDO\")"; +parent.__c.LogImpl("050462759","ABORDO",0); if (true) break; case 11: //C this.state = 12; - //BA.debugLineNum = 592;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD"; -parent._tipo_venta = parent._subs._traetipoventadebd /*String*/ (ba); - //BA.debugLineNum = 594;BA.debugLine="Log(Subs.traeTipoVentaDeBD)"; -parent.__c.LogImpl("450397227",parent._subs._traetipoventadebd /*String*/ (ba),0); +RDebugUtils.currentLine=50462761; + //BA.debugLineNum = 50462761;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD"; +__ref._tipo_venta /*String*/ = parent._subs._traetipoventadebd /*String*/ (ba); +RDebugUtils.currentLine=50462763; + //BA.debugLineNum = 50462763;BA.debugLine="Log(Subs.traeTipoVentaDeBD)"; +parent.__c.LogImpl("050462763",parent._subs._traetipoventadebd /*String*/ (ba),0); if (true) break; case 12: //C this.state = 13; ; - //BA.debugLineNum = 596;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = parent._tipo_venta; - //BA.debugLineNum = 597;BA.debugLine="Log($\"TIPO_VENTA: ${tipo_venta}\"$)"; -parent.__c.LogImpl("450397230",("TIPO_VENTA: "+parent.__c.SmartStringFormatter("",(Object)(parent._tipo_venta))+""),0); - //BA.debugLineNum = 598;BA.debugLine="encuentasmapa.Initialize"; -parent._encuentasmapa.Initialize(); - //BA.debugLineNum = 599;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=50462765; + //BA.debugLineNum = 50462765;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = __ref._tipo_venta /*String*/ ; +RDebugUtils.currentLine=50462766; + //BA.debugLineNum = 50462766;BA.debugLine="Log($\"TIPO_VENTA: ${tipo_venta}\"$)"; +parent.__c.LogImpl("050462766",("TIPO_VENTA: "+parent.__c.SmartStringFormatter("",(Object)(__ref._tipo_venta /*String*/ ))+""),0); +RDebugUtils.currentLine=50462767; + //BA.debugLineNum = 50462767;BA.debugLine="encuentasmapa.Initialize"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=50462768; + //BA.debugLineNum = 50462768;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA); - //BA.debugLineNum = 600;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=50462769; + //BA.debugLineNum = 50462769;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null); this.state = 554; return; case 554: //C this.state = 13; -_permission = (String) result[0]; -_resultc = (Boolean) result[1]; +_permission = (String) result[1]; +_resultc = (Boolean) result[2]; ; - //BA.debugLineNum = 601;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=50462770; + //BA.debugLineNum = 50462770;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 602;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=50462771; + //BA.debugLineNum = 50462771;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null); this.state = 555; return; case 555: //C this.state = 13; -_permission = (String) result[0]; -_resultc = (Boolean) result[1]; +_permission = (String) result[1]; +_resultc = (Boolean) result[2]; ; - //BA.debugLineNum = 603;BA.debugLine="LA_GPS.TextColor = Colors.Red"; -parent._la_gps.setTextColor(parent.__c.Colors.Red); - //BA.debugLineNum = 604;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\""; -parent._la_gps.setText(BA.ObjectToCharSequence("SIN UBICACION GPS")); - //BA.debugLineNum = 605;BA.debugLine="cercavalor = 0"; -parent._cercavalor = BA.NumberToString(0); - //BA.debugLineNum = 606;BA.debugLine="l_version.Text = Application.VersionName"; -parent._l_version.setText(BA.ObjectToCharSequence(parent.__c.Application.getVersionName())); - //BA.debugLineNum = 607;BA.debugLine="b_preventa.left = (Root.Width / 2) - (b_preventa."; -parent._b_preventa.setLeft((int) ((parent._root.getWidth()/(double)2)-(parent._b_preventa.getWidth()/(double)2))); - //BA.debugLineNum = 622;BA.debugLine="If Subs.hayPedido Then 'Si hay pedido, deshabilit"; +RDebugUtils.currentLine=50462772; + //BA.debugLineNum = 50462772;BA.debugLine="LA_GPS.TextColor = Colors.Red"; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red); +RDebugUtils.currentLine=50462773; + //BA.debugLineNum = 50462773;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\""; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SIN UBICACION GPS")); +RDebugUtils.currentLine=50462774; + //BA.debugLineNum = 50462774;BA.debugLine="cercavalor = 0"; +__ref._cercavalor /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=50462775; + //BA.debugLineNum = 50462775;BA.debugLine="l_version.Text = Application.VersionName"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Application.getVersionName())); +RDebugUtils.currentLine=50462776; + //BA.debugLineNum = 50462776;BA.debugLine="b_preventa.left = (Root.Width / 2) - (b_preventa."; +__ref._b_preventa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._b_preventa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=50462791; + //BA.debugLineNum = 50462791;BA.debugLine="If Subs.hayPedido Then 'Si hay pedido, deshabilit"; if (true) break; case 13: @@ -3311,20 +4373,24 @@ this.state = 17; case 15: //C this.state = 18; - //BA.debugLineNum = 623;BA.debugLine="Log(\">>>>> HAY PEDIDO\")"; -parent.__c.LogImpl("450397256",">>>>> HAY PEDIDO",0); - //BA.debugLineNum = 624;BA.debugLine="Tels.Enabled = False"; -parent._tels.setEnabled(parent.__c.False); +RDebugUtils.currentLine=50462792; + //BA.debugLineNum = 50462792;BA.debugLine="Log(\">>>>> HAY PEDIDO\")"; +parent.__c.LogImpl("050462792",">>>>> HAY PEDIDO",0); +RDebugUtils.currentLine=50462793; + //BA.debugLineNum = 50462793;BA.debugLine="Tels.Enabled = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False); if (true) break; case 17: //C this.state = 18; - //BA.debugLineNum = 626;BA.debugLine="Tels.Enabled = True"; -parent._tels.setEnabled(parent.__c.True); +RDebugUtils.currentLine=50462795; + //BA.debugLineNum = 50462795;BA.debugLine="Tels.Enabled = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.True); if (true) break; ; - //BA.debugLineNum = 629;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +RDebugUtils.currentLine=50462798; + //BA.debugLineNum = 50462798;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; case 18: //if @@ -3336,9 +4402,11 @@ this.state = 20; case 20: //C this.state = 21; - //BA.debugLineNum = 630;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +RDebugUtils.currentLine=50462799; + //BA.debugLineNum = 50462799;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),parent.__c.True); - //BA.debugLineNum = 631;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +RDebugUtils.currentLine=50462800; + //BA.debugLineNum = 50462800;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; parent.__c.StartActivity(ba,(Object)(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); if (true) break; @@ -3346,14 +4414,18 @@ case 21: //C this.state = 22; ; - //BA.debugLineNum = 633;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -parent._skmt.Initialize(parent._ruta,"kmt.db",parent.__c.True); - //BA.debugLineNum = 634;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; -parent._reqmanager._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ ); - //BA.debugLineNum = 657;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQue"; +RDebugUtils.currentLine=50462802; + //BA.debugLineNum = 50462802;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",parent.__c.True); +RDebugUtils.currentLine=50462803; + //BA.debugLineNum = 50462803;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._server /*String*/ ); +RDebugUtils.currentLine=50462826; + //BA.debugLineNum = 50462826;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQue"; _fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NOT NULL"))); - //BA.debugLineNum = 658;BA.debugLine="If fotomostrar1.RowCount = 0 Then"; +RDebugUtils.currentLine=50462827; + //BA.debugLineNum = 50462827;BA.debugLine="If fotomostrar1.RowCount = 0 Then"; if (true) break; case 22: @@ -3368,10 +4440,12 @@ this.state = 32; case 24: //C this.state = 25; - //BA.debugLineNum = 660;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQue"; +RDebugUtils.currentLine=50462829; + //BA.debugLineNum = 50462829;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQue"; _fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 661;BA.debugLine="If fotomostrar.RowCount > 0 Then"; +RDebugUtils.currentLine=50462830; + //BA.debugLineNum = 50462830;BA.debugLine="If fotomostrar.RowCount > 0 Then"; if (true) break; case 25: @@ -3386,33 +4460,44 @@ this.state = 29; case 27: //C this.state = 30; - //BA.debugLineNum = 663;BA.debugLine="fotomostrar.Position = 0"; +RDebugUtils.currentLine=50462832; + //BA.debugLineNum = 50462832;BA.debugLine="fotomostrar.Position = 0"; _fotomostrar.setPosition((int) (0)); - //BA.debugLineNum = 664;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostra"; +RDebugUtils.currentLine=50462833; + //BA.debugLineNum = 50462833;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostra"; _fotomostrarfinal = _fotomostrar.GetBlob("FOTO"); - //BA.debugLineNum = 665;BA.debugLine="Dim InputStream1 As InputStream"; +RDebugUtils.currentLine=50462834; + //BA.debugLineNum = 50462834;BA.debugLine="Dim InputStream1 As InputStream"; _inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 666;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostr"; +RDebugUtils.currentLine=50462835; + //BA.debugLineNum = 50462835;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostr"; _inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length); - //BA.debugLineNum = 667;BA.debugLine="Dim Bitmap1 As Bitmap"; +RDebugUtils.currentLine=50462836; + //BA.debugLineNum = 50462836;BA.debugLine="Dim Bitmap1 As Bitmap"; _bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 668;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; +RDebugUtils.currentLine=50462837; + //BA.debugLineNum = 50462837;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; _bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject())); - //BA.debugLineNum = 669;BA.debugLine="InputStream1.Close"; +RDebugUtils.currentLine=50462838; + //BA.debugLineNum = 50462838;BA.debugLine="InputStream1.Close"; _inputstream1.Close(); - //BA.debugLineNum = 670;BA.debugLine="ImageView4.Bitmap = Bitmap1"; -parent._imageview4.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject())); - //BA.debugLineNum = 671;BA.debugLine="Log(\"aqui si hay foto\")"; -parent.__c.LogImpl("450397304","aqui si hay foto",0); +RDebugUtils.currentLine=50462839; + //BA.debugLineNum = 50462839;BA.debugLine="ImageView4.Bitmap = Bitmap1"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(_bitmap1.getObject())); +RDebugUtils.currentLine=50462840; + //BA.debugLineNum = 50462840;BA.debugLine="Log(\"aqui si hay foto\")"; +parent.__c.LogImpl("050462840","aqui si hay foto",0); if (true) break; case 29: //C this.state = 30; - //BA.debugLineNum = 673;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\""; -parent._imageview4.setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"images.png").getObject())); - //BA.debugLineNum = 674;BA.debugLine="Log(\"aqui no hay foto\")"; -parent.__c.LogImpl("450397307","aqui no hay foto",0); +RDebugUtils.currentLine=50462842; + //BA.debugLineNum = 50462842;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\""; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"images.png").getObject())); +RDebugUtils.currentLine=50462843; + //BA.debugLineNum = 50462843;BA.debugLine="Log(\"aqui no hay foto\")"; +parent.__c.LogImpl("050462843","aqui no hay foto",0); if (true) break; case 30: @@ -3424,51 +4509,68 @@ this.state = 33; case 32: //C this.state = 33; - //BA.debugLineNum = 678;BA.debugLine="fotomostrar1.Position = 0"; +RDebugUtils.currentLine=50462847; + //BA.debugLineNum = 50462847;BA.debugLine="fotomostrar1.Position = 0"; _fotomostrar1.setPosition((int) (0)); - //BA.debugLineNum = 679;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostrar"; +RDebugUtils.currentLine=50462848; + //BA.debugLineNum = 50462848;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostrar"; _fotomostrarfinal = _fotomostrar1.GetBlob("foto"); - //BA.debugLineNum = 680;BA.debugLine="Dim InputStream1 As InputStream"; +RDebugUtils.currentLine=50462849; + //BA.debugLineNum = 50462849;BA.debugLine="Dim InputStream1 As InputStream"; _inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 681;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostra"; +RDebugUtils.currentLine=50462850; + //BA.debugLineNum = 50462850;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostra"; _inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length); - //BA.debugLineNum = 682;BA.debugLine="Dim Bitmap1 As Bitmap"; +RDebugUtils.currentLine=50462851; + //BA.debugLineNum = 50462851;BA.debugLine="Dim Bitmap1 As Bitmap"; _bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 683;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; +RDebugUtils.currentLine=50462852; + //BA.debugLineNum = 50462852;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; _bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject())); - //BA.debugLineNum = 684;BA.debugLine="InputStream1.Close"; +RDebugUtils.currentLine=50462853; + //BA.debugLineNum = 50462853;BA.debugLine="InputStream1.Close"; _inputstream1.Close(); - //BA.debugLineNum = 685;BA.debugLine="ImageView4.Bitmap = Bitmap1"; -parent._imageview4.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject())); - //BA.debugLineNum = 686;BA.debugLine="Log(\"aqui si hay foto\")"; -parent.__c.LogImpl("450397319","aqui si hay foto",0); +RDebugUtils.currentLine=50462854; + //BA.debugLineNum = 50462854;BA.debugLine="ImageView4.Bitmap = Bitmap1"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(_bitmap1.getObject())); +RDebugUtils.currentLine=50462855; + //BA.debugLineNum = 50462855;BA.debugLine="Log(\"aqui si hay foto\")"; +parent.__c.LogImpl("050462855","aqui si hay foto",0); if (true) break; case 33: //C this.state = 34; ; - //BA.debugLineNum = 694;BA.debugLine="l_tipocliente.Text = Subs.traeTipoCliente"; -parent._l_tipocliente.setText(BA.ObjectToCharSequence(parent._subs._traetipocliente /*int*/ (ba))); - //BA.debugLineNum = 695;BA.debugLine="p_camara.Width = Root.Width"; -parent._p_camara.setWidth(parent._root.getWidth()); - //BA.debugLineNum = 696;BA.debugLine="p_camara.Height = Root.Height"; -parent._p_camara.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 697;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -parent._s2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 698;BA.debugLine="S2.Position =0"; -parent._s2.setPosition((int) (0)); - //BA.debugLineNum = 699;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")"; -parent._cuantos = parent._s2.GetString("CUANTOS"); - //BA.debugLineNum = 700;BA.debugLine="S2.Close"; -parent._s2.Close(); - //BA.debugLineNum = 701;BA.debugLine="If CUANTOS > 0 Then"; +RDebugUtils.currentLine=50462863; + //BA.debugLineNum = 50462863;BA.debugLine="l_tipocliente.Text = Subs.traeTipoCliente"; +__ref._l_tipocliente /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent._subs._traetipocliente /*int*/ (ba))); +RDebugUtils.currentLine=50462864; + //BA.debugLineNum = 50462864;BA.debugLine="p_camara.Width = Root.Width"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50462865; + //BA.debugLineNum = 50462865;BA.debugLine="p_camara.Height = Root.Height"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50462866; + //BA.debugLineNum = 50462866;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50462867; + //BA.debugLineNum = 50462867;BA.debugLine="S2.Position =0"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50462868; + //BA.debugLineNum = 50462868;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=50462869; + //BA.debugLineNum = 50462869;BA.debugLine="S2.Close"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50462870; + //BA.debugLineNum = 50462870;BA.debugLine="If CUANTOS > 0 Then"; if (true) break; case 34: //if this.state = 39; -if ((double)(Double.parseDouble(parent._cuantos))>0) { +if ((double)(Double.parseDouble(__ref._cuantos /*String*/ ))>0) { this.state = 36; }else { this.state = 38; @@ -3477,36 +4579,43 @@ this.state = 38; case 36: //C this.state = 39; - //BA.debugLineNum = 702;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 703;BA.debugLine="c2.Position =0"; -parent._c2.setPosition((int) (0)); - //BA.debugLineNum = 704;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")"; -parent._monto_compra = parent._c2.GetString("TOTAL"); - //BA.debugLineNum = 705;BA.debugLine="c2.Close"; -parent._c2.Close(); +RDebugUtils.currentLine=50462871; + //BA.debugLineNum = 50462871;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50462872; + //BA.debugLineNum = 50462872;BA.debugLine="c2.Position =0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50462873; + //BA.debugLineNum = 50462873;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")"; +__ref._monto_compra /*String*/ = __ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"); +RDebugUtils.currentLine=50462874; + //BA.debugLineNum = 50462874;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 38: //C this.state = 39; - //BA.debugLineNum = 707;BA.debugLine="MONTO_COMPRA = \"0\""; -parent._monto_compra = "0"; +RDebugUtils.currentLine=50462876; + //BA.debugLineNum = 50462876;BA.debugLine="MONTO_COMPRA = \"0\""; +__ref._monto_compra /*String*/ = "0"; if (true) break; case 39: //C this.state = 40; ; - //BA.debugLineNum = 709;BA.debugLine="la_saldotot.Text = MONTO_COMPRA"; -parent._la_saldotot.setText(BA.ObjectToCharSequence(parent._monto_compra)); - //BA.debugLineNum = 710;BA.debugLine="If MONTO_COMPRA <> \"0\" Then"; +RDebugUtils.currentLine=50462878; + //BA.debugLineNum = 50462878;BA.debugLine="la_saldotot.Text = MONTO_COMPRA"; +__ref._la_saldotot /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._monto_compra /*String*/ )); +RDebugUtils.currentLine=50462879; + //BA.debugLineNum = 50462879;BA.debugLine="If MONTO_COMPRA <> \"0\" Then"; if (true) break; case 40: //if this.state = 45; -if ((parent._monto_compra).equals("0") == false) { +if ((__ref._monto_compra /*String*/ ).equals("0") == false) { this.state = 42; }else { this.state = 44; @@ -3515,108 +4624,124 @@ this.state = 44; case 42: //C this.state = 45; - //BA.debugLineNum = 711;BA.debugLine="META2 = 300 - MONTO_COMPRA"; -parent._meta2 = BA.NumberToString(300-(double)(Double.parseDouble(parent._monto_compra))); +RDebugUtils.currentLine=50462880; + //BA.debugLineNum = 50462880;BA.debugLine="META2 = 300 - MONTO_COMPRA"; +__ref._meta2 /*String*/ = BA.NumberToString(300-(double)(Double.parseDouble(__ref._monto_compra /*String*/ ))); if (true) break; case 44: //C this.state = 45; - //BA.debugLineNum = 713;BA.debugLine="META2 = 300"; -parent._meta2 = BA.NumberToString(300); +RDebugUtils.currentLine=50462882; + //BA.debugLineNum = 50462882;BA.debugLine="META2 = 300"; +__ref._meta2 /*String*/ = BA.NumberToString(300); if (true) break; ; - //BA.debugLineNum = 715;BA.debugLine="If META2 < 1 Then"; +RDebugUtils.currentLine=50462884; + //BA.debugLineNum = 50462884;BA.debugLine="If META2 < 1 Then"; case 45: //if this.state = 48; -if ((double)(Double.parseDouble(parent._meta2))<1) { +if ((double)(Double.parseDouble(__ref._meta2 /*String*/ ))<1) { this.state = 47; }if (true) break; case 47: //C this.state = 48; - //BA.debugLineNum = 716;BA.debugLine="META2 = \"CUBIERTO\""; -parent._meta2 = "CUBIERTO"; +RDebugUtils.currentLine=50462885; + //BA.debugLineNum = 50462885;BA.debugLine="META2 = \"CUBIERTO\""; +__ref._meta2 /*String*/ = "CUBIERTO"; if (true) break; ; - //BA.debugLineNum = 718;BA.debugLine="If IsNumber(META2) Then META2 = NumberFormat2(MET"; +RDebugUtils.currentLine=50462887; + //BA.debugLineNum = 50462887;BA.debugLine="If IsNumber(META2) Then META2 = NumberFormat2(MET"; case 48: //if this.state = 53; -if (parent.__c.IsNumber(parent._meta2)) { +if (parent.__c.IsNumber(__ref._meta2 /*String*/ )) { this.state = 50; ;}if (true) break; case 50: //C this.state = 53; -parent._meta2 = parent.__c.NumberFormat2((double)(Double.parseDouble(parent._meta2)),(int) (0),(int) (2),(int) (2),parent.__c.True); +__ref._meta2 /*String*/ = parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._meta2 /*String*/ )),(int) (0),(int) (2),(int) (2),parent.__c.True); if (true) break; case 53: //C this.state = 54; ; - //BA.debugLineNum = 719;BA.debugLine="la_saldooper.Text = META2"; -parent._la_saldooper.setText(BA.ObjectToCharSequence(parent._meta2)); - //BA.debugLineNum = 720;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 721;BA.debugLine="If c.RowCount>0 Then"; +RDebugUtils.currentLine=50462888; + //BA.debugLineNum = 50462888;BA.debugLine="la_saldooper.Text = META2"; +__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._meta2 /*String*/ )); +RDebugUtils.currentLine=50462889; + //BA.debugLineNum = 50462889;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=50462890; + //BA.debugLineNum = 50462890;BA.debugLine="If c.RowCount>0 Then"; if (true) break; case 54: //if this.state = 57; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 56; }if (true) break; case 56: //C this.state = 57; - //BA.debugLineNum = 722;BA.debugLine="C.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 723;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; -parent._almacen = parent._c.GetString("ID_ALMACEN"); +RDebugUtils.currentLine=50462891; + //BA.debugLineNum = 50462891;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50462892; + //BA.debugLineNum = 50462892;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); if (true) break; case 57: //C this.state = 58; ; - //BA.debugLineNum = 725;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 727;BA.debugLine="If ALMACEN = \"1\" Then"; +RDebugUtils.currentLine=50462894; + //BA.debugLineNum = 50462894;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50462896; + //BA.debugLineNum = 50462896;BA.debugLine="If ALMACEN = \"1\" Then"; if (true) break; case 58: //if this.state = 61; -if ((parent._almacen).equals("1")) { +if ((__ref._almacen /*String*/ ).equals("1")) { this.state = 60; }if (true) break; case 60: //C this.state = 61; - //BA.debugLineNum = 728;BA.debugLine="Tels.Visible = False"; -parent._tels.setVisible(parent.__c.False); - //BA.debugLineNum = 729;BA.debugLine="gest.Visible = True"; -parent._gest.setVisible(parent.__c.True); - //BA.debugLineNum = 730;BA.debugLine="B_GPS.Visible = False"; -parent._b_gps.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462897; + //BA.debugLineNum = 50462897;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462898; + //BA.debugLineNum = 50462898;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50462899; + //BA.debugLineNum = 50462899;BA.debugLine="B_GPS.Visible = False"; +__ref._b_gps /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; ; - //BA.debugLineNum = 732;BA.debugLine="If ALMACEN = \"4\" Then"; +RDebugUtils.currentLine=50462901; + //BA.debugLineNum = 50462901;BA.debugLine="If ALMACEN = \"4\" Then"; case 61: //if this.state = 78; -if ((parent._almacen).equals("4")) { +if ((__ref._almacen /*String*/ ).equals("4")) { this.state = 63; }else { this.state = 77; @@ -3625,19 +4750,23 @@ this.state = 77; case 63: //C this.state = 64; - //BA.debugLineNum = 733;BA.debugLine="b_like.Visible = False"; -parent._b_like.setVisible(parent.__c.False); - //BA.debugLineNum = 734;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; -parent._dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"}))); - //BA.debugLineNum = 735;BA.debugLine="DD.Position =0"; -parent._dd.setPosition((int) (0)); - //BA.debugLineNum = 736;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +RDebugUtils.currentLine=50462902; + //BA.debugLineNum = 50462902;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462903; + //BA.debugLineNum = 50462903;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"}))); +RDebugUtils.currentLine=50462904; + //BA.debugLineNum = 50462904;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50462905; + //BA.debugLineNum = 50462905;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; if (true) break; case 64: //if this.state = 75; -if ((parent._dd.GetString("CUANTOS")).equals(BA.NumberToString(0))) { +if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { this.state = 66; }else { this.state = 74; @@ -3646,17 +4775,20 @@ this.state = 74; case 66: //C this.state = 67; - //BA.debugLineNum = 737;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"}))); - //BA.debugLineNum = 738;BA.debugLine="c.Position =0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 739;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +RDebugUtils.currentLine=50462906; + //BA.debugLineNum = 50462906;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"}))); +RDebugUtils.currentLine=50462907; + //BA.debugLineNum = 50462907;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50462908; + //BA.debugLineNum = 50462908;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; if (true) break; case 67: //if this.state = 72; -if ((parent._c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { this.state = 69; }else { this.state = 71; @@ -3665,94 +4797,113 @@ this.state = 71; case 69: //C this.state = 72; - //BA.debugLineNum = 740;BA.debugLine="b_like.Visible = False"; -parent._b_like.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462909; + //BA.debugLineNum = 50462909;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 71: //C this.state = 72; - //BA.debugLineNum = 742;BA.debugLine="b_like.Visible = False"; -parent._b_like.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462911; + //BA.debugLineNum = 50462911;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 72: //C this.state = 75; ; - //BA.debugLineNum = 744;BA.debugLine="c.Close"; -parent._c.Close(); +RDebugUtils.currentLine=50462913; + //BA.debugLineNum = 50462913;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 74: //C this.state = 75; - //BA.debugLineNum = 746;BA.debugLine="b_like.Visible = False"; -parent._b_like.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462915; + //BA.debugLineNum = 50462915;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 75: //C this.state = 78; ; - //BA.debugLineNum = 748;BA.debugLine="DD.Close"; -parent._dd.Close(); +RDebugUtils.currentLine=50462917; + //BA.debugLineNum = 50462917;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 77: //C this.state = 78; - //BA.debugLineNum = 750;BA.debugLine="b_like.Visible = False"; -parent._b_like.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462919; + //BA.debugLineNum = 50462919;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; ; - //BA.debugLineNum = 752;BA.debugLine="If ALMACEN = \"16\" Or ALMACEN = \"13\" Then"; +RDebugUtils.currentLine=50462921; + //BA.debugLineNum = 50462921;BA.debugLine="If ALMACEN = \"16\" Or ALMACEN = \"13\" Then"; case 78: //if this.state = 81; -if ((parent._almacen).equals("16") || (parent._almacen).equals("13")) { +if ((__ref._almacen /*String*/ ).equals("16") || (__ref._almacen /*String*/ ).equals("13")) { this.state = 80; }if (true) break; case 80: //C this.state = 81; - //BA.debugLineNum = 753;BA.debugLine="Tels.Visible = True"; -parent._tels.setVisible(parent.__c.True); - //BA.debugLineNum = 754;BA.debugLine="gest.Visible = True"; -parent._gest.setVisible(parent.__c.True); +RDebugUtils.currentLine=50462922; + //BA.debugLineNum = 50462922;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50462923; + //BA.debugLineNum = 50462923;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 81: //C this.state = 82; ; - //BA.debugLineNum = 756;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM PEDID"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 757;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50462925; + //BA.debugLineNum = 50462925;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM PEDID"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50462926; + //BA.debugLineNum = 50462926;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 82: //if this.state = 121; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 84; -}else if(parent._c.getRowCount()==0) { +}else +{RDebugUtils.currentLine=50462939; + //BA.debugLineNum = 50462939;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { this.state = 96; -}if (true) break; +}} +if (true) break; case 84: //C this.state = 85; - //BA.debugLineNum = 758;BA.debugLine="Tels.Visible = True"; -parent._tels.setVisible(parent.__c.True); - //BA.debugLineNum = 759;BA.debugLine="gest.Visible = True"; -parent._gest.setVisible(parent.__c.True); - //BA.debugLineNum = 760;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; +RDebugUtils.currentLine=50462927; + //BA.debugLineNum = 50462927;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50462928; + //BA.debugLineNum = 50462928;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50462929; + //BA.debugLineNum = 50462929;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; _future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 761;BA.debugLine="If future.RowCount > 0 Then"; +RDebugUtils.currentLine=50462930; + //BA.debugLineNum = 50462930;BA.debugLine="If future.RowCount > 0 Then"; if (true) break; case 85: @@ -3765,9 +4916,11 @@ this.state = 87; case 87: //C this.state = 88; - //BA.debugLineNum = 762;BA.debugLine="future.Position = 0"; +RDebugUtils.currentLine=50462931; + //BA.debugLineNum = 50462931;BA.debugLine="future.Position = 0"; _future.setPosition((int) (0)); - //BA.debugLineNum = 763;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +RDebugUtils.currentLine=50462932; + //BA.debugLineNum = 50462932;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; if (true) break; case 88: @@ -3775,22 +4928,28 @@ case 88: this.state = 93; if (_future.GetInt("CAT_VA_VALOR")==1) { this.state = 90; -}else if(_future.GetInt("CAT_VA_VALOR")==0) { +}else +{RDebugUtils.currentLine=50462934; + //BA.debugLineNum = 50462934;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +if (_future.GetInt("CAT_VA_VALOR")==0) { this.state = 92; -}if (true) break; +}} +if (true) break; case 90: //C this.state = 93; - //BA.debugLineNum = 764;BA.debugLine="b_preventa2.Visible = True"; -parent._b_preventa2.setVisible(parent.__c.True); +RDebugUtils.currentLine=50462933; + //BA.debugLineNum = 50462933;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 92: //C this.state = 93; - //BA.debugLineNum = 766;BA.debugLine="b_preventa2.Visible = False"; -parent._b_preventa2.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462935; + //BA.debugLineNum = 50462935;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 93: @@ -3808,37 +4967,50 @@ this.state = 121; case 96: //C this.state = 97; - //BA.debugLineNum = 771;BA.debugLine="Tels.Visible = False"; -parent._tels.setVisible(parent.__c.False); - //BA.debugLineNum = 772;BA.debugLine="gest.Visible = False"; -parent._gest.setVisible(parent.__c.False); - //BA.debugLineNum = 774;BA.debugLine="b_preventa2.Visible = False"; -parent._b_preventa2.setVisible(parent.__c.False); - //BA.debugLineNum = 776;BA.debugLine="c = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM NOVEN"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 777;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50462940; + //BA.debugLineNum = 50462940;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462941; + //BA.debugLineNum = 50462941;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462943; + //BA.debugLineNum = 50462943;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462945; + //BA.debugLineNum = 50462945;BA.debugLine="c = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM NOVEN"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50462946; + //BA.debugLineNum = 50462946;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 97: //if this.state = 116; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 99; -}else if(parent._c.getRowCount()==0) { +}else +{RDebugUtils.currentLine=50462958; + //BA.debugLineNum = 50462958;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { this.state = 111; -}if (true) break; +}} +if (true) break; case 99: //C this.state = 100; - //BA.debugLineNum = 778;BA.debugLine="Tels.Visible = True"; -parent._tels.setVisible(parent.__c.True); - //BA.debugLineNum = 779;BA.debugLine="gest.Visible = True"; -parent._gest.setVisible(parent.__c.True); - //BA.debugLineNum = 780;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E"; +RDebugUtils.currentLine=50462947; + //BA.debugLineNum = 50462947;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50462948; + //BA.debugLineNum = 50462948;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50462949; + //BA.debugLineNum = 50462949;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E"; _future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 781;BA.debugLine="If future.RowCount > 0 Then"; +RDebugUtils.currentLine=50462950; + //BA.debugLineNum = 50462950;BA.debugLine="If future.RowCount > 0 Then"; if (true) break; case 100: @@ -3851,9 +5023,11 @@ this.state = 102; case 102: //C this.state = 103; - //BA.debugLineNum = 782;BA.debugLine="future.Position = 0"; +RDebugUtils.currentLine=50462951; + //BA.debugLineNum = 50462951;BA.debugLine="future.Position = 0"; _future.setPosition((int) (0)); - //BA.debugLineNum = 783;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +RDebugUtils.currentLine=50462952; + //BA.debugLineNum = 50462952;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; if (true) break; case 103: @@ -3861,22 +5035,28 @@ case 103: this.state = 108; if (_future.GetInt("CAT_VA_VALOR")==1) { this.state = 105; -}else if(_future.GetInt("CAT_VA_VALOR")==0) { +}else +{RDebugUtils.currentLine=50462954; + //BA.debugLineNum = 50462954;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +if (_future.GetInt("CAT_VA_VALOR")==0) { this.state = 107; -}if (true) break; +}} +if (true) break; case 105: //C this.state = 108; - //BA.debugLineNum = 784;BA.debugLine="b_preventa2.Visible = True"; -parent._b_preventa2.setVisible(parent.__c.True); +RDebugUtils.currentLine=50462953; + //BA.debugLineNum = 50462953;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 107: //C this.state = 108; - //BA.debugLineNum = 786;BA.debugLine="b_preventa2.Visible = False"; -parent._b_preventa2.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462955; + //BA.debugLineNum = 50462955;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 108: @@ -3894,31 +5074,38 @@ this.state = 116; case 111: //C this.state = 112; - //BA.debugLineNum = 790;BA.debugLine="Tels.Visible = False"; -parent._tels.setVisible(parent.__c.False); - //BA.debugLineNum = 791;BA.debugLine="gest.Visible = False"; -parent._gest.setVisible(parent.__c.False); - //BA.debugLineNum = 792;BA.debugLine="b_preventa2.Visible = False"; -parent._b_preventa2.setVisible(parent.__c.False); - //BA.debugLineNum = 793;BA.debugLine="LA_GEO.TextColor = Colors.Red"; -parent._la_geo.setTextColor(parent.__c.Colors.Red); - //BA.debugLineNum = 794;BA.debugLine="If ALMACEN = \"1\" Then"; +RDebugUtils.currentLine=50462959; + //BA.debugLineNum = 50462959;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462960; + //BA.debugLineNum = 50462960;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462961; + //BA.debugLineNum = 50462961;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462962; + //BA.debugLineNum = 50462962;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red); +RDebugUtils.currentLine=50462963; + //BA.debugLineNum = 50462963;BA.debugLine="If ALMACEN = \"1\" Then"; if (true) break; case 112: //if this.state = 115; -if ((parent._almacen).equals("1")) { +if ((__ref._almacen /*String*/ ).equals("1")) { this.state = 114; }if (true) break; case 114: //C this.state = 115; - //BA.debugLineNum = 795;BA.debugLine="Tels.Visible = False"; -parent._tels.setVisible(parent.__c.False); - //BA.debugLineNum = 796;BA.debugLine="gest.Visible = True"; -parent._gest.setVisible(parent.__c.True); +RDebugUtils.currentLine=50462964; + //BA.debugLineNum = 50462964;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462965; + //BA.debugLineNum = 50462965;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 115: @@ -3931,25 +5118,29 @@ case 116: //C this.state = 117; ; - //BA.debugLineNum = 799;BA.debugLine="LA_GEO.TextColor = Colors.Red"; -parent._la_geo.setTextColor(parent.__c.Colors.Red); - //BA.debugLineNum = 800;BA.debugLine="If ALMACEN = \"1\" Then"; +RDebugUtils.currentLine=50462968; + //BA.debugLineNum = 50462968;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red); +RDebugUtils.currentLine=50462969; + //BA.debugLineNum = 50462969;BA.debugLine="If ALMACEN = \"1\" Then"; if (true) break; case 117: //if this.state = 120; -if ((parent._almacen).equals("1")) { +if ((__ref._almacen /*String*/ ).equals("1")) { this.state = 119; }if (true) break; case 119: //C this.state = 120; - //BA.debugLineNum = 801;BA.debugLine="Tels.Visible = False"; -parent._tels.setVisible(parent.__c.False); - //BA.debugLineNum = 802;BA.debugLine="gest.Visible = True"; -parent._gest.setVisible(parent.__c.True); +RDebugUtils.currentLine=50462970; + //BA.debugLineNum = 50462970;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50462971; + //BA.debugLineNum = 50462971;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 120: @@ -3962,9 +5153,11 @@ case 121: //C this.state = 122; ; - //BA.debugLineNum = 806;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +RDebugUtils.currentLine=50462975; + //BA.debugLineNum = 50462975;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; parent.__c.CallSubDelayed(ba,(Object)(parent._tracker.getObject()),"StartFLPSmall"); - //BA.debugLineNum = 808;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +RDebugUtils.currentLine=50462977; + //BA.debugLineNum = 50462977;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; if (true) break; case 122: @@ -3977,22 +5170,27 @@ this.state = 124; case 124: //C this.state = 125; - //BA.debugLineNum = 809;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +RDebugUtils.currentLine=50462978; + //BA.debugLineNum = 50462978;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); - //BA.debugLineNum = 810;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +RDebugUtils.currentLine=50462979; + //BA.debugLineNum = 50462979;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); - //BA.debugLineNum = 811;BA.debugLine="Log($\"Tenemos UUC: ${Tracker.FLP.GetLastKnownLoc"; -parent.__c.LogImpl("450397444",("Tenemos UUC: "+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+""),0); - //BA.debugLineNum = 812;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; -parent._gps_locationchanged(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); +RDebugUtils.currentLine=50462980; + //BA.debugLineNum = 50462980;BA.debugLine="Log($\"Tenemos UUC: ${Tracker.FLP.GetLastKnownLoc"; +parent.__c.LogImpl("050462980",("Tenemos UUC: "+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+""),0); +RDebugUtils.currentLine=50462981; + //BA.debugLineNum = 50462981;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +__ref._gps_locationchanged /*String*/ (null,parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); if (true) break; ; - //BA.debugLineNum = 814;BA.debugLine="If ALMACEN = \"1\" Or ALMACEN = \"2\" Or ALMACEN = \"4"; +RDebugUtils.currentLine=50462983; + //BA.debugLineNum = 50462983;BA.debugLine="If ALMACEN = \"1\" Or ALMACEN = \"2\" Or ALMACEN = \"4"; case 125: //if this.state = 142; -if ((parent._almacen).equals("1") || (parent._almacen).equals("2") || (parent._almacen).equals("4") || (parent._almacen).equals("5") || (parent._almacen).equals("25")) { +if ((__ref._almacen /*String*/ ).equals("1") || (__ref._almacen /*String*/ ).equals("2") || (__ref._almacen /*String*/ ).equals("4") || (__ref._almacen /*String*/ ).equals("5") || (__ref._almacen /*String*/ ).equals("25")) { this.state = 127; }else { this.state = 141; @@ -4001,17 +5199,20 @@ this.state = 141; case 127: //C this.state = 128; - //BA.debugLineNum = 815;BA.debugLine="DD=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F"; -parent._dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR SUIZA GALLINA"}))); - //BA.debugLineNum = 816;BA.debugLine="DD.Position =0"; -parent._dd.setPosition((int) (0)); - //BA.debugLineNum = 817;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +RDebugUtils.currentLine=50462984; + //BA.debugLineNum = 50462984;BA.debugLine="DD=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR SUIZA GALLINA"}))); +RDebugUtils.currentLine=50462985; + //BA.debugLineNum = 50462985;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50462986; + //BA.debugLineNum = 50462986;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; if (true) break; case 128: //if this.state = 139; -if ((parent._dd.GetString("CUANTOS")).equals(BA.NumberToString(0))) { +if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { this.state = 130; }else { this.state = 138; @@ -4020,17 +5221,20 @@ this.state = 138; case 130: //C this.state = 131; - //BA.debugLineNum = 818;BA.debugLine="c=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR SUIZA GALLINA"}))); - //BA.debugLineNum = 819;BA.debugLine="c.Position =0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 820;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +RDebugUtils.currentLine=50462987; + //BA.debugLineNum = 50462987;BA.debugLine="c=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR SUIZA GALLINA"}))); +RDebugUtils.currentLine=50462988; + //BA.debugLineNum = 50462988;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50462989; + //BA.debugLineNum = 50462989;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; if (true) break; case 131: //if this.state = 136; -if ((parent._c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { this.state = 133; }else { this.state = 135; @@ -4039,64 +5243,74 @@ this.state = 135; case 133: //C this.state = 136; - //BA.debugLineNum = 821;BA.debugLine="B_GALLINA.Visible = True"; -parent._b_gallina.setVisible(parent.__c.True); +RDebugUtils.currentLine=50462990; + //BA.debugLineNum = 50462990;BA.debugLine="B_GALLINA.Visible = True"; +__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 135: //C this.state = 136; - //BA.debugLineNum = 823;BA.debugLine="B_GALLINA.Visible = False"; -parent._b_gallina.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462992; + //BA.debugLineNum = 50462992;BA.debugLine="B_GALLINA.Visible = False"; +__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 136: //C this.state = 139; ; - //BA.debugLineNum = 825;BA.debugLine="c.Close"; -parent._c.Close(); +RDebugUtils.currentLine=50462994; + //BA.debugLineNum = 50462994;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 138: //C this.state = 139; - //BA.debugLineNum = 827;BA.debugLine="B_GALLINA.Visible = False"; -parent._b_gallina.setVisible(parent.__c.False); +RDebugUtils.currentLine=50462996; + //BA.debugLineNum = 50462996;BA.debugLine="B_GALLINA.Visible = False"; +__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 139: //C this.state = 142; ; - //BA.debugLineNum = 829;BA.debugLine="DD.Close"; -parent._dd.Close(); +RDebugUtils.currentLine=50462998; + //BA.debugLineNum = 50462998;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 141: //C this.state = 142; - //BA.debugLineNum = 831;BA.debugLine="B_GALLINA.Visible = False"; -parent._b_gallina.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463000; + //BA.debugLineNum = 50463000;BA.debugLine="B_GALLINA.Visible = False"; +__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 142: //C this.state = 143; ; - //BA.debugLineNum = 833;BA.debugLine="P_gallina.Visible = False"; -parent._p_gallina.setVisible(parent.__c.False); - //BA.debugLineNum = 834;BA.debugLine="B_GALLINA.Visible = False"; -parent._b_gallina.setVisible(parent.__c.False); - //BA.debugLineNum = 835;BA.debugLine="que_modulo = 1"; -parent._que_modulo = BA.NumberToString(1); - //BA.debugLineNum = 836;BA.debugLine="If ALMACEN = \"2\" Or ALMACEN = \"4\" Or ALMACEN = \""; +RDebugUtils.currentLine=50463002; + //BA.debugLineNum = 50463002;BA.debugLine="P_gallina.Visible = False"; +__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463003; + //BA.debugLineNum = 50463003;BA.debugLine="B_GALLINA.Visible = False"; +__ref._b_gallina /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463004; + //BA.debugLineNum = 50463004;BA.debugLine="que_modulo = 1"; +__ref._que_modulo /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=50463005; + //BA.debugLineNum = 50463005;BA.debugLine="If ALMACEN = \"2\" Or ALMACEN = \"4\" Or ALMACEN = \""; if (true) break; case 143: //if this.state = 148; -if ((parent._almacen).equals("2") || (parent._almacen).equals("4") || (parent._almacen).equals("5") || (parent._almacen).equals("4") || (parent._almacen).equals("53") || (parent._almacen).equals("64") || (parent._almacen).equals("25")) { +if ((__ref._almacen /*String*/ ).equals("2") || (__ref._almacen /*String*/ ).equals("4") || (__ref._almacen /*String*/ ).equals("5") || (__ref._almacen /*String*/ ).equals("4") || (__ref._almacen /*String*/ ).equals("53") || (__ref._almacen /*String*/ ).equals("64") || (__ref._almacen /*String*/ ).equals("25")) { this.state = 145; }else { this.state = 147; @@ -4105,43 +5319,50 @@ this.state = 147; case 145: //C this.state = 148; - //BA.debugLineNum = 837;BA.debugLine="b_like.Visible = True"; -parent._b_like.setVisible(parent.__c.True); +RDebugUtils.currentLine=50463006; + //BA.debugLineNum = 50463006;BA.debugLine="b_like.Visible = True"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 147: //C this.state = 148; - //BA.debugLineNum = 839;BA.debugLine="b_like.Visible = False"; -parent._b_like.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463008; + //BA.debugLineNum = 50463008;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 148: //C this.state = 149; ; - //BA.debugLineNum = 841;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); - //BA.debugLineNum = 842;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463010; + //BA.debugLineNum = 50463010;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); +RDebugUtils.currentLine=50463011; + //BA.debugLineNum = 50463011;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 149: //if this.state = 152; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 151; }if (true) break; case 151: //C this.state = 152; - //BA.debugLineNum = 843;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 844;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; -parent._starter._mac_impresora /*String*/ = parent._c.GetString("CAT_VA_VALOR"); +RDebugUtils.currentLine=50463012; + //BA.debugLineNum = 50463012;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463013; + //BA.debugLineNum = 50463013;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; +parent._starter._mac_impresora /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); if (true) break; ; - //BA.debugLineNum = 846;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +RDebugUtils.currentLine=50463015; + //BA.debugLineNum = 50463015;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; case 152: //if @@ -4160,15 +5381,17 @@ case 157: //C this.state = 158; ; - //BA.debugLineNum = 848;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; -parent._printer1._initialize /*String*/ (ba,parent,"Printer1"); - //BA.debugLineNum = 850;BA.debugLine="If Printer1.IsConnected = False Then"; +RDebugUtils.currentLine=50463017; + //BA.debugLineNum = 50463017;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._initialize /*String*/ (null,ba,parent,"Printer1"); +RDebugUtils.currentLine=50463019; + //BA.debugLineNum = 50463019;BA.debugLine="If Printer1.IsConnected = False Then"; if (true) break; case 158: //if this.state = 163; -if (parent._printer1._isconnected /*boolean*/ ()==parent.__c.False) { +if (__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null)==parent.__c.False) { this.state = 160; }else { this.state = 162; @@ -4182,61 +5405,78 @@ this.state = 163; case 162: //C this.state = 163; - //BA.debugLineNum = 854;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 855;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 856;BA.debugLine="Log(\"2\")"; -parent.__c.LogImpl("450397489","2",0); +RDebugUtils.currentLine=50463023; + //BA.debugLineNum = 50463023;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=50463024; + //BA.debugLineNum = 50463024;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=50463025; + //BA.debugLineNum = 50463025;BA.debugLine="Log(\"2\")"; +parent.__c.LogImpl("050463025","2",0); if (true) break; case 163: //C this.state = 164; ; - //BA.debugLineNum = 858;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT HABILITADA FROM IMPRESORA"))); - //BA.debugLineNum = 859;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463027; + //BA.debugLineNum = 50463027;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADA FROM IMPRESORA"))); +RDebugUtils.currentLine=50463028; + //BA.debugLineNum = 50463028;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 164: //if this.state = 175; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 166; -}else if(parent._c.getRowCount()==0) { +}else +{RDebugUtils.currentLine=50463035; + //BA.debugLineNum = 50463035;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { this.state = 174; -}if (true) break; +}} +if (true) break; case 166: //C this.state = 167; - //BA.debugLineNum = 860;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 861;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; +RDebugUtils.currentLine=50463029; + //BA.debugLineNum = 50463029;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463030; + //BA.debugLineNum = 50463030;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; if (true) break; case 167: //if this.state = 172; -if ((parent._c.GetString("HABILITADA")).equals(BA.NumberToString(1))) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADA")).equals(BA.NumberToString(1))) { this.state = 169; -}else if((parent._c.GetString("HABILITADA")).equals(BA.NumberToString(0))) { +}else +{RDebugUtils.currentLine=50463032; + //BA.debugLineNum = 50463032;BA.debugLine="Else If c.GetString(\"HABILITADA\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADA")).equals(BA.NumberToString(0))) { this.state = 171; -}if (true) break; +}} +if (true) break; case 169: //C this.state = 172; - //BA.debugLineNum = 862;BA.debugLine="B_IMP.Visible = True"; -parent._b_imp.setVisible(parent.__c.True); +RDebugUtils.currentLine=50463031; + //BA.debugLineNum = 50463031;BA.debugLine="B_IMP.Visible = True"; +__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 171: //C this.state = 172; - //BA.debugLineNum = 864;BA.debugLine="B_IMP.Visible = False"; -parent._b_imp.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463033; + //BA.debugLineNum = 50463033;BA.debugLine="B_IMP.Visible = False"; +__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 172: @@ -4248,23 +5488,26 @@ this.state = 175; case 174: //C this.state = 175; - //BA.debugLineNum = 867;BA.debugLine="B_IMP.Visible = False"; -parent._b_imp.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463036; + //BA.debugLineNum = 50463036;BA.debugLine="B_IMP.Visible = False"; +__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; ; - //BA.debugLineNum = 873;BA.debugLine="If ALMACEN = 32 Then"; +RDebugUtils.currentLine=50463042; + //BA.debugLineNum = 50463042;BA.debugLine="If ALMACEN = 32 Then"; case 175: //if this.state = 201; -if ((parent._almacen).equals(BA.NumberToString(32))) { +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(32))) { this.state = 177; }if (true) break; case 177: //C this.state = 178; - //BA.debugLineNum = 874;BA.debugLine="If Subs.traemontoprod And Subs.InvSuficienteProm"; +RDebugUtils.currentLine=50463043; + //BA.debugLineNum = 50463043;BA.debugLine="If Subs.traemontoprod And Subs.InvSuficienteProm"; if (true) break; case 178: @@ -4279,18 +5522,21 @@ this.state = 186; case 180: //C this.state = 181; - //BA.debugLineNum = 875;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a una pr"; +RDebugUtils.currentLine=50463044; + //BA.debugLineNum = 50463044;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a una pr"; parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a una promo por la compra de mas de $120 en productos Helmanns, Maizena y/o Knorr"),BA.ObjectToCharSequence("Promo disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 876;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=50463045; + //BA.debugLineNum = 50463045;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null); this.state = 556; return; case 556: //C this.state = 181; -_resultado = (Integer) result[0]; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 877;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=50463046; + //BA.debugLineNum = 50463046;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 181: @@ -4303,8 +5549,9 @@ this.state = 183; case 183: //C this.state = 184; - //BA.debugLineNum = 878;BA.debugLine="B4XPages.MainPage.productos.terminarpromoesp"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._terminarpromoesp /*String*/ (); +RDebugUtils.currentLine=50463047; + //BA.debugLineNum = 50463047;BA.debugLine="B4XPages.MainPage.productos.terminarpromoesp"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._terminarpromoesp /*String*/ (null); if (true) break; case 184: @@ -4318,7 +5565,8 @@ case 186: this.state = 187; if (true) break; ; - //BA.debugLineNum = 882;BA.debugLine="If Not(Subs.traemontoprod) And Subs.vendidoPromo"; +RDebugUtils.currentLine=50463051; + //BA.debugLineNum = 50463051;BA.debugLine="If Not(Subs.traemontoprod) And Subs.vendidoPromo"; case 187: //if @@ -4332,15 +5580,20 @@ this.state = 199; case 189: //C this.state = 190; - //BA.debugLineNum = 883;BA.debugLine="Private j3 As Cursor"; +RDebugUtils.currentLine=50463052; + //BA.debugLineNum = 50463052;BA.debugLine="Private j3 As Cursor"; _j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 884;BA.debugLine="Log(\"SI PROMO\")"; -parent.__c.LogImpl("450397517","SI PROMO",0); - //BA.debugLineNum = 885;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +RDebugUtils.currentLine=50463053; + //BA.debugLineNum = 50463053;BA.debugLine="Log(\"SI PROMO\")"; +parent.__c.LogImpl("050463053","SI PROMO",0); +RDebugUtils.currentLine=50463054; + //BA.debugLineNum = 50463054;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; _j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PROID = ?)",new String[]{"PROUNI01"}))); - //BA.debugLineNum = 886;BA.debugLine="Log(j3.RowCount)"; -parent.__c.LogImpl("450397519",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 887;BA.debugLine="If j3.RowCount = 0 Then"; +RDebugUtils.currentLine=50463055; + //BA.debugLineNum = 50463055;BA.debugLine="Log(j3.RowCount)"; +parent.__c.LogImpl("050463055",BA.NumberToString(_j3.getRowCount()),0); +RDebugUtils.currentLine=50463056; + //BA.debugLineNum = 50463056;BA.debugLine="If j3.RowCount = 0 Then"; if (true) break; case 190: @@ -4353,9 +5606,11 @@ this.state = 192; case 192: //C this.state = 193; - //BA.debugLineNum = 888;BA.debugLine="Log(\"estoy aqui\")"; -parent.__c.LogImpl("450397521","estoy aqui",0); - //BA.debugLineNum = 889;BA.debugLine="For i = 0 To j3.RowCount -1"; +RDebugUtils.currentLine=50463057; + //BA.debugLineNum = 50463057;BA.debugLine="Log(\"estoy aqui\")"; +parent.__c.LogImpl("050463057","estoy aqui",0); +RDebugUtils.currentLine=50463058; + //BA.debugLineNum = 50463058;BA.debugLine="For i = 0 To j3.RowCount -1"; if (true) break; case 193: @@ -4382,14 +5637,18 @@ if (true) break; case 195: //C this.state = 558; - //BA.debugLineNum = 890;BA.debugLine="Log(\"aqui tronare?\")"; -parent.__c.LogImpl("450397523","aqui tronare?",0); - //BA.debugLineNum = 891;BA.debugLine="j3.Position = i"; +RDebugUtils.currentLine=50463059; + //BA.debugLineNum = 50463059;BA.debugLine="Log(\"aqui tronare?\")"; +parent.__c.LogImpl("050463059","aqui tronare?",0); +RDebugUtils.currentLine=50463060; + //BA.debugLineNum = 50463060;BA.debugLine="j3.Position = i"; _j3.setPosition(_i); - //BA.debugLineNum = 892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,parent._tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+parent.__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+parent.__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 893;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_j3.GetString("PE_PRONOMBRE")),(Object)(parent._tipo_venta)})); +RDebugUtils.currentLine=50463061; + //BA.debugLineNum = 50463061;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+parent.__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+parent.__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=50463062; + //BA.debugLineNum = 50463062;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_j3.GetString("PE_PRONOMBRE")),(Object)(__ref._tipo_venta /*String*/ )})); if (true) break; if (true) break; @@ -4403,7 +5662,8 @@ case 197: //C this.state = 200; ; - //BA.debugLineNum = 896;BA.debugLine="j3.Close"; +RDebugUtils.currentLine=50463065; + //BA.debugLineNum = 50463065;BA.debugLine="j3.Close"; _j3.Close(); if (true) break; @@ -4418,19 +5678,21 @@ this.state = 201; ; if (true) break; ; - //BA.debugLineNum = 901;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; +RDebugUtils.currentLine=50463070; + //BA.debugLineNum = 50463070;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; case 201: //if this.state = 321; -if ((parent._almacen).equals(BA.NumberToString(87)) || (parent._almacen).equals(BA.NumberToString(6))) { +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(87)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(6))) { this.state = 203; }if (true) break; case 203: //C this.state = 204; - //BA.debugLineNum = 902;BA.debugLine="If Subs.traemontoprod And Subs.traeCliente <> \"0"; +RDebugUtils.currentLine=50463071; + //BA.debugLineNum = 50463071;BA.debugLine="If Subs.traemontoprod And Subs.traeCliente <> \"0"; if (true) break; case 204: @@ -4438,25 +5700,32 @@ case 204: this.state = 301; if (parent._subs._traemontoprod /*boolean*/ (ba) && (parent._subs._traecliente /*String*/ (ba)).equals("0") == false) { this.state = 206; -}else if(parent._subs._traemontoprod2 /*boolean*/ (ba) && (parent._subs._traecliente /*String*/ (ba)).equals("0") == false) { +}else +{RDebugUtils.currentLine=50463140; + //BA.debugLineNum = 50463140;BA.debugLine="Else If Subs.traemontoprod2 And Subs.traeCliente"; +if (parent._subs._traemontoprod2 /*boolean*/ (ba) && (parent._subs._traecliente /*String*/ (ba)).equals("0") == false) { this.state = 254; -}if (true) break; +}} +if (true) break; case 206: //C this.state = 207; - //BA.debugLineNum = 903;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des"; +RDebugUtils.currentLine=50463072; + //BA.debugLineNum = 50463072;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des"; parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a un descuento de 150 pesos por la compra de mas de $500 en productos participantes"),BA.ObjectToCharSequence("Descuento disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 904;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=50463073; + //BA.debugLineNum = 50463073;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null); this.state = 559; return; case 559: //C this.state = 207; -_resultado = (Integer) result[0]; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 905;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=50463074; + //BA.debugLineNum = 50463074;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 207: @@ -4469,58 +5738,69 @@ this.state = 209; case 209: //C this.state = 210; - //BA.debugLineNum = 906;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E"; +RDebugUtils.currentLine=50463075; + //BA.debugLineNum = 50463075;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E"; parent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS PIEZAS FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 907;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463076; + //BA.debugLineNum = 50463076;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 210: //if this.state = 251; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 212; }if (true) break; case 212: //C this.state = 213; - //BA.debugLineNum = 908;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 909;BA.debugLine="Private des As Float = NumberFormat2(150/c.Ge"; -_des = (float)(Double.parseDouble(parent.__c.NumberFormat2(150/(double)(double)(Double.parseDouble(parent._c.GetString("PIEZAS"))),(int) (0),(int) (2),(int) (2),parent.__c.False))); - //BA.debugLineNum = 910;BA.debugLine="Log( NumberFormat2(des,0,2,2,False))"; -parent.__c.LogImpl("450397543",parent.__c.NumberFormat2(_des,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 911;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt"; +RDebugUtils.currentLine=50463077; + //BA.debugLineNum = 50463077;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463078; + //BA.debugLineNum = 50463078;BA.debugLine="Private des As Float = NumberFormat2(150/c.Ge"; +_des = (float)(Double.parseDouble(parent.__c.NumberFormat2(150/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PIEZAS"))),(int) (0),(int) (2),(int) (2),parent.__c.False))); +RDebugUtils.currentLine=50463079; + //BA.debugLineNum = 50463079;BA.debugLine="Log( NumberFormat2(des,0,2,2,False))"; +parent.__c.LogImpl("050463079",parent.__c.NumberFormat2(_des,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463080; + //BA.debugLineNum = 50463080;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt"; parent._c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU < ?",new String[]{BA.NumberToString(_des)}))); - //BA.debugLineNum = 912;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=50463081; + //BA.debugLineNum = 50463081;BA.debugLine="If c2.RowCount > 0 Then"; if (true) break; case 213: //if this.state = 216; -if (parent._c2.getRowCount()>0) { +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 215; }if (true) break; case 215: //C this.state = 216; - //BA.debugLineNum = 913;BA.debugLine="c2.Position = 0"; -parent._c2.setPosition((int) (0)); - //BA.debugLineNum = 914;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))"; -parent.__c.LogImpl("450397547",parent._c2.GetString("PE_CANT"),0); +RDebugUtils.currentLine=50463082; + //BA.debugLineNum = 50463082;BA.debugLine="c2.Position = 0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463083; + //BA.debugLineNum = 50463083;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))"; +parent.__c.LogImpl("050463083",__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"),0); if (true) break; case 216: //C this.state = 217; ; - //BA.debugLineNum = 916;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt"; +RDebugUtils.currentLine=50463085; + //BA.debugLineNum = 50463085;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt"; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_des)}))); - //BA.debugLineNum = 917;BA.debugLine="If c3.RowCount > 0 Then"; +RDebugUtils.currentLine=50463086; + //BA.debugLineNum = 50463086;BA.debugLine="If c3.RowCount > 0 Then"; if (true) break; case 217: @@ -4533,22 +5813,30 @@ this.state = 219; case 219: //C this.state = 220; - //BA.debugLineNum = 918;BA.debugLine="c3.Position = 0"; +RDebugUtils.currentLine=50463087; + //BA.debugLineNum = 50463087;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 919;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))"; -parent.__c.LogImpl("450397552",_c3.GetString("PE_CANT"),0); - //BA.debugLineNum = 920;BA.debugLine="Private rec As Float = (des * c2.GetString(\""; -_rec = (float) ((_des*(double)(Double.parseDouble(parent._c2.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c3.GetString("PE_CANT")))); - //BA.debugLineNum = 921;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))"; -parent.__c.LogImpl("450397554",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 922;BA.debugLine="Private cantres As Float = des + rec"; +RDebugUtils.currentLine=50463088; + //BA.debugLineNum = 50463088;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))"; +parent.__c.LogImpl("050463088",_c3.GetString("PE_CANT"),0); +RDebugUtils.currentLine=50463089; + //BA.debugLineNum = 50463089;BA.debugLine="Private rec As Float = (des * c2.GetString(\""; +_rec = (float) ((_des*(double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c3.GetString("PE_CANT")))); +RDebugUtils.currentLine=50463090; + //BA.debugLineNum = 50463090;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))"; +parent.__c.LogImpl("050463090",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463091; + //BA.debugLineNum = 50463091;BA.debugLine="Private cantres As Float = des + rec"; _cantres = (float) (_des+_rec); - //BA.debugLineNum = 923;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))"; -parent.__c.LogImpl("450397556",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 924;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm"; +RDebugUtils.currentLine=50463092; + //BA.debugLineNum = 50463092;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))"; +parent.__c.LogImpl("050463092",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463093; + //BA.debugLineNum = 50463093;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm"; _c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU > ? and PE_COSTOU < ?",new String[]{BA.NumberToString(_des),BA.NumberToString(_cantres)}))); - //BA.debugLineNum = 925;BA.debugLine="If c5.RowCount > 0 Then"; +RDebugUtils.currentLine=50463094; + //BA.debugLineNum = 50463094;BA.debugLine="If c5.RowCount > 0 Then"; if (true) break; case 220: @@ -4561,11 +5849,14 @@ this.state = 222; case 222: //C this.state = 223; - //BA.debugLineNum = 926;BA.debugLine="c5.Position = 0"; +RDebugUtils.currentLine=50463095; + //BA.debugLineNum = 50463095;BA.debugLine="c5.Position = 0"; _c5.setPosition((int) (0)); - //BA.debugLineNum = 927;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))"; -parent.__c.LogImpl("450397560",_c5.GetString("PE_CANT"),0); - //BA.debugLineNum = 928;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then"; +RDebugUtils.currentLine=50463096; + //BA.debugLineNum = 50463096;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))"; +parent.__c.LogImpl("050463096",_c5.GetString("PE_CANT"),0); +RDebugUtils.currentLine=50463097; + //BA.debugLineNum = 50463097;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then"; if (true) break; case 223: @@ -4580,10 +5871,12 @@ this.state = 235; case 225: //C this.state = 226; - //BA.debugLineNum = 929;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s"; +RDebugUtils.currentLine=50463098; + //BA.debugLineNum = 50463098;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False)}))); - //BA.debugLineNum = 930;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=50463099; + //BA.debugLineNum = 50463099;BA.debugLine="If c4.RowCount > 0 Then"; if (true) break; case 226: @@ -4596,7 +5889,8 @@ this.state = 228; case 228: //C this.state = 229; - //BA.debugLineNum = 931;BA.debugLine="For i = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=50463100; + //BA.debugLineNum = 50463100;BA.debugLine="For i = 0 To c4.RowCount -1"; if (true) break; case 229: @@ -4623,16 +5917,21 @@ if (true) break; case 231: //C this.state = 561; - //BA.debugLineNum = 932;BA.debugLine="c4.Position = i"; +RDebugUtils.currentLine=50463101; + //BA.debugLineNum = 50463101;BA.debugLine="c4.Position = i"; _c4.setPosition(_i); - //BA.debugLineNum = 933;BA.debugLine="Private recalculo As Float = c4.GetStrin"; +RDebugUtils.currentLine=50463102; + //BA.debugLineNum = 50463102;BA.debugLine="Private recalculo As Float = c4.GetStrin"; _recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False)))); - //BA.debugLineNum = 934;BA.debugLine="LogColor(recalculo,Colors.Blue)"; -parent.__c.LogImpl("450397567",BA.NumberToString(_recalculo),parent.__c.Colors.Blue); - //BA.debugLineNum = 935;BA.debugLine="Private recalculototal As Float = c4.Get"; +RDebugUtils.currentLine=50463103; + //BA.debugLineNum = 50463103;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +parent.__c.LogImpl("050463103",BA.NumberToString(_recalculo),parent.__c.Colors.Blue); +RDebugUtils.currentLine=50463104; + //BA.debugLineNum = 50463104;BA.debugLine="Private recalculototal As Float = c4.Get"; _recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False)))); - //BA.debugLineNum = 937;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE"; -parent._skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")})); +RDebugUtils.currentLine=50463106; + //BA.debugLineNum = 50463106;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")})); if (true) break; if (true) break; @@ -4646,17 +5945,20 @@ case 233: //C this.state = 248; ; - //BA.debugLineNum = 940;BA.debugLine="c4.Close"; +RDebugUtils.currentLine=50463109; + //BA.debugLineNum = 50463109;BA.debugLine="c4.Close"; _c4.Close(); if (true) break; case 235: //C this.state = 236; - //BA.debugLineNum = 942;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s"; +RDebugUtils.currentLine=50463111; + //BA.debugLineNum = 50463111;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s"; _c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_cantres)}))); - //BA.debugLineNum = 943;BA.debugLine="If c6.RowCount > 0 Then"; +RDebugUtils.currentLine=50463112; + //BA.debugLineNum = 50463112;BA.debugLine="If c6.RowCount > 0 Then"; if (true) break; case 236: @@ -4669,22 +5971,30 @@ this.state = 238; case 238: //C this.state = 239; - //BA.debugLineNum = 944;BA.debugLine="c6.Position = 0"; +RDebugUtils.currentLine=50463113; + //BA.debugLineNum = 50463113;BA.debugLine="c6.Position = 0"; _c6.setPosition((int) (0)); - //BA.debugLineNum = 945;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))"; -parent.__c.LogImpl("450397578",_c6.GetString("PE_CANT"),0); - //BA.debugLineNum = 946;BA.debugLine="Private rec1 As Float = (cantres * c5.Get"; +RDebugUtils.currentLine=50463114; + //BA.debugLineNum = 50463114;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))"; +parent.__c.LogImpl("050463114",_c6.GetString("PE_CANT"),0); +RDebugUtils.currentLine=50463115; + //BA.debugLineNum = 50463115;BA.debugLine="Private rec1 As Float = (cantres * c5.Get"; _rec1 = (float) ((_cantres*(double)(Double.parseDouble(_c5.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c6.GetString("PE_CANT")))); - //BA.debugLineNum = 947;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))"; -parent.__c.LogImpl("450397580",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 948;BA.debugLine="Private cantres1 As Float = cantres + rec"; +RDebugUtils.currentLine=50463116; + //BA.debugLineNum = 50463116;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))"; +parent.__c.LogImpl("050463116",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463117; + //BA.debugLineNum = 50463117;BA.debugLine="Private cantres1 As Float = cantres + rec"; _cantres1 = (float) (_cantres+_rec1); - //BA.debugLineNum = 949;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))"; -parent.__c.LogImpl("450397582",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 950;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage."; +RDebugUtils.currentLine=50463118; + //BA.debugLineNum = 50463118;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))"; +parent.__c.LogImpl("050463118",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463119; + //BA.debugLineNum = 50463119;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage."; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False)}))); - //BA.debugLineNum = 951;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=50463120; + //BA.debugLineNum = 50463120;BA.debugLine="If c4.RowCount > 0 Then"; if (true) break; case 239: @@ -4697,7 +6007,8 @@ this.state = 241; case 241: //C this.state = 242; - //BA.debugLineNum = 952;BA.debugLine="For i = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=50463121; + //BA.debugLineNum = 50463121;BA.debugLine="For i = 0 To c4.RowCount -1"; if (true) break; case 242: @@ -4724,16 +6035,21 @@ if (true) break; case 244: //C this.state = 563; - //BA.debugLineNum = 953;BA.debugLine="c4.Position = i"; +RDebugUtils.currentLine=50463122; + //BA.debugLineNum = 50463122;BA.debugLine="c4.Position = i"; _c4.setPosition(_i); - //BA.debugLineNum = 954;BA.debugLine="Private recalculo As Float = c4.GetStri"; +RDebugUtils.currentLine=50463123; + //BA.debugLineNum = 50463123;BA.debugLine="Private recalculo As Float = c4.GetStri"; _recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False)))); - //BA.debugLineNum = 955;BA.debugLine="LogColor(recalculo,Colors.Blue)"; -parent.__c.LogImpl("450397588",BA.NumberToString(_recalculo),parent.__c.Colors.Blue); - //BA.debugLineNum = 956;BA.debugLine="Private recalculototal As Float = c4.Ge"; +RDebugUtils.currentLine=50463124; + //BA.debugLineNum = 50463124;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +parent.__c.LogImpl("050463124",BA.NumberToString(_recalculo),parent.__c.Colors.Blue); +RDebugUtils.currentLine=50463125; + //BA.debugLineNum = 50463125;BA.debugLine="Private recalculototal As Float = c4.Ge"; _recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False)))); - //BA.debugLineNum = 958;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P"; -parent._skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")})); +RDebugUtils.currentLine=50463127; + //BA.debugLineNum = 50463127;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")})); if (true) break; if (true) break; @@ -4747,7 +6063,8 @@ case 246: //C this.state = 247; ; - //BA.debugLineNum = 961;BA.debugLine="c4.Close"; +RDebugUtils.currentLine=50463130; + //BA.debugLineNum = 50463130;BA.debugLine="c4.Close"; _c4.Close(); if (true) break; @@ -4785,29 +6102,35 @@ case 252: //C this.state = 301; ; - //BA.debugLineNum = 968;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 969;BA.debugLine="c2.Close"; -parent._c2.Close(); - //BA.debugLineNum = 970;BA.debugLine="c3.Close"; +RDebugUtils.currentLine=50463137; + //BA.debugLineNum = 50463137;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50463138; + //BA.debugLineNum = 50463138;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50463139; + //BA.debugLineNum = 50463139;BA.debugLine="c3.Close"; _c3.Close(); if (true) break; case 254: //C this.state = 255; - //BA.debugLineNum = 972;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des"; +RDebugUtils.currentLine=50463141; + //BA.debugLineNum = 50463141;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des"; parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a un descuento de 70 pesos por la compra de mas de $350 en productos participantes"),BA.ObjectToCharSequence("Descuento disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 973;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=50463142; + //BA.debugLineNum = 50463142;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_appear"), null); this.state = 564; return; case 564: //C this.state = 255; -_resultado = (Integer) result[0]; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 974;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=50463143; + //BA.debugLineNum = 50463143;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 255: @@ -4820,58 +6143,69 @@ this.state = 257; case 257: //C this.state = 258; - //BA.debugLineNum = 975;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E"; +RDebugUtils.currentLine=50463144; + //BA.debugLineNum = 50463144;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E"; parent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS PIEZAS FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 976;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463145; + //BA.debugLineNum = 50463145;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 258: //if this.state = 299; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 260; }if (true) break; case 260: //C this.state = 261; - //BA.debugLineNum = 977;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 978;BA.debugLine="Private des As Float = NumberFormat2(70/c.Get"; -_des = (float)(Double.parseDouble(parent.__c.NumberFormat2(70/(double)(double)(Double.parseDouble(parent._c.GetString("PIEZAS"))),(int) (0),(int) (5),(int) (5),parent.__c.False))); - //BA.debugLineNum = 979;BA.debugLine="Log(des)"; -parent.__c.LogImpl("450397612",BA.NumberToString(_des),0); - //BA.debugLineNum = 980;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt"; +RDebugUtils.currentLine=50463146; + //BA.debugLineNum = 50463146;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463147; + //BA.debugLineNum = 50463147;BA.debugLine="Private des As Float = NumberFormat2(70/c.Get"; +_des = (float)(Double.parseDouble(parent.__c.NumberFormat2(70/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PIEZAS"))),(int) (0),(int) (5),(int) (5),parent.__c.False))); +RDebugUtils.currentLine=50463148; + //BA.debugLineNum = 50463148;BA.debugLine="Log(des)"; +parent.__c.LogImpl("050463148",BA.NumberToString(_des),0); +RDebugUtils.currentLine=50463149; + //BA.debugLineNum = 50463149;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt"; parent._c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU < ?",new String[]{BA.NumberToString(_des)}))); - //BA.debugLineNum = 981;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=50463150; + //BA.debugLineNum = 50463150;BA.debugLine="If c2.RowCount > 0 Then"; if (true) break; case 261: //if this.state = 264; -if (parent._c2.getRowCount()>0) { +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 263; }if (true) break; case 263: //C this.state = 264; - //BA.debugLineNum = 982;BA.debugLine="c2.Position = 0"; -parent._c2.setPosition((int) (0)); - //BA.debugLineNum = 983;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))"; -parent.__c.LogImpl("450397616",parent._c2.GetString("PE_CANT"),0); +RDebugUtils.currentLine=50463151; + //BA.debugLineNum = 50463151;BA.debugLine="c2.Position = 0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463152; + //BA.debugLineNum = 50463152;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))"; +parent.__c.LogImpl("050463152",__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"),0); if (true) break; case 264: //C this.state = 265; ; - //BA.debugLineNum = 985;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt"; +RDebugUtils.currentLine=50463154; + //BA.debugLineNum = 50463154;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt"; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_des)}))); - //BA.debugLineNum = 986;BA.debugLine="If c3.RowCount > 0 Then"; +RDebugUtils.currentLine=50463155; + //BA.debugLineNum = 50463155;BA.debugLine="If c3.RowCount > 0 Then"; if (true) break; case 265: @@ -4884,22 +6218,30 @@ this.state = 267; case 267: //C this.state = 268; - //BA.debugLineNum = 987;BA.debugLine="c3.Position = 0"; +RDebugUtils.currentLine=50463156; + //BA.debugLineNum = 50463156;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 988;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))"; -parent.__c.LogImpl("450397621",_c3.GetString("PE_CANT"),0); - //BA.debugLineNum = 989;BA.debugLine="Private rec As Float = (des * c2.GetString(\""; -_rec = (float) ((_des*(double)(Double.parseDouble(parent._c2.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c3.GetString("PE_CANT")))); - //BA.debugLineNum = 990;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))"; -parent.__c.LogImpl("450397623",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 991;BA.debugLine="Private cantres As Float = des + rec"; +RDebugUtils.currentLine=50463157; + //BA.debugLineNum = 50463157;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))"; +parent.__c.LogImpl("050463157",_c3.GetString("PE_CANT"),0); +RDebugUtils.currentLine=50463158; + //BA.debugLineNum = 50463158;BA.debugLine="Private rec As Float = (des * c2.GetString(\""; +_rec = (float) ((_des*(double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c3.GetString("PE_CANT")))); +RDebugUtils.currentLine=50463159; + //BA.debugLineNum = 50463159;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))"; +parent.__c.LogImpl("050463159",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463160; + //BA.debugLineNum = 50463160;BA.debugLine="Private cantres As Float = des + rec"; _cantres = (float) (_des+_rec); - //BA.debugLineNum = 992;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))"; -parent.__c.LogImpl("450397625",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 993;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm"; +RDebugUtils.currentLine=50463161; + //BA.debugLineNum = 50463161;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))"; +parent.__c.LogImpl("050463161",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463162; + //BA.debugLineNum = 50463162;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm"; _c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU > ? and PE_COSTOU < ?",new String[]{BA.NumberToString(_des),BA.NumberToString(_cantres)}))); - //BA.debugLineNum = 994;BA.debugLine="If c5.RowCount > 0 Then"; +RDebugUtils.currentLine=50463163; + //BA.debugLineNum = 50463163;BA.debugLine="If c5.RowCount > 0 Then"; if (true) break; case 268: @@ -4912,11 +6254,14 @@ this.state = 270; case 270: //C this.state = 271; - //BA.debugLineNum = 995;BA.debugLine="c5.Position = 0"; +RDebugUtils.currentLine=50463164; + //BA.debugLineNum = 50463164;BA.debugLine="c5.Position = 0"; _c5.setPosition((int) (0)); - //BA.debugLineNum = 996;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))"; -parent.__c.LogImpl("450397629",_c5.GetString("PE_CANT"),0); - //BA.debugLineNum = 997;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then"; +RDebugUtils.currentLine=50463165; + //BA.debugLineNum = 50463165;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))"; +parent.__c.LogImpl("050463165",_c5.GetString("PE_CANT"),0); +RDebugUtils.currentLine=50463166; + //BA.debugLineNum = 50463166;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then"; if (true) break; case 271: @@ -4931,10 +6276,12 @@ this.state = 283; case 273: //C this.state = 274; - //BA.debugLineNum = 998;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s"; +RDebugUtils.currentLine=50463167; + //BA.debugLineNum = 50463167;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False)}))); - //BA.debugLineNum = 999;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=50463168; + //BA.debugLineNum = 50463168;BA.debugLine="If c4.RowCount > 0 Then"; if (true) break; case 274: @@ -4947,7 +6294,8 @@ this.state = 276; case 276: //C this.state = 277; - //BA.debugLineNum = 1000;BA.debugLine="For i = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=50463169; + //BA.debugLineNum = 50463169;BA.debugLine="For i = 0 To c4.RowCount -1"; if (true) break; case 277: @@ -4974,18 +6322,24 @@ if (true) break; case 279: //C this.state = 566; - //BA.debugLineNum = 1001;BA.debugLine="c4.Position = i"; +RDebugUtils.currentLine=50463170; + //BA.debugLineNum = 50463170;BA.debugLine="c4.Position = i"; _c4.setPosition(_i); - //BA.debugLineNum = 1002;BA.debugLine="Private recalculo As Float = c4.GetStrin"; +RDebugUtils.currentLine=50463171; + //BA.debugLineNum = 50463171;BA.debugLine="Private recalculo As Float = c4.GetStrin"; _recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False)))); - //BA.debugLineNum = 1003;BA.debugLine="LogColor(recalculo,Colors.Blue)"; -parent.__c.LogImpl("450397636",BA.NumberToString(_recalculo),parent.__c.Colors.Blue); - //BA.debugLineNum = 1004;BA.debugLine="Private recalculototal As Float = c4.Get"; +RDebugUtils.currentLine=50463172; + //BA.debugLineNum = 50463172;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +parent.__c.LogImpl("050463172",BA.NumberToString(_recalculo),parent.__c.Colors.Blue); +RDebugUtils.currentLine=50463173; + //BA.debugLineNum = 50463173;BA.debugLine="Private recalculototal As Float = c4.Get"; _recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False)))); - //BA.debugLineNum = 1005;BA.debugLine="Log(recalculo&\"|||||\"&recalculototal&\"||"; -parent.__c.LogImpl("450397638",BA.NumberToString(_recalculo)+"|||||"+BA.NumberToString(_recalculototal)+"|||||||||||||||||||"+_c4.GetString("PE_PROID"),0); - //BA.debugLineNum = 1006;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE"; -parent._skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")})); +RDebugUtils.currentLine=50463174; + //BA.debugLineNum = 50463174;BA.debugLine="Log(recalculo&\"|||||\"&recalculototal&\"||"; +parent.__c.LogImpl("050463174",BA.NumberToString(_recalculo)+"|||||"+BA.NumberToString(_recalculototal)+"|||||||||||||||||||"+_c4.GetString("PE_PROID"),0); +RDebugUtils.currentLine=50463175; + //BA.debugLineNum = 50463175;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")})); if (true) break; if (true) break; @@ -4999,17 +6353,20 @@ case 281: //C this.state = 296; ; - //BA.debugLineNum = 1009;BA.debugLine="c4.Close"; +RDebugUtils.currentLine=50463178; + //BA.debugLineNum = 50463178;BA.debugLine="c4.Close"; _c4.Close(); if (true) break; case 283: //C this.state = 284; - //BA.debugLineNum = 1011;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s"; +RDebugUtils.currentLine=50463180; + //BA.debugLineNum = 50463180;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s"; _c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_cantres)}))); - //BA.debugLineNum = 1012;BA.debugLine="If c6.RowCount > 0 Then"; +RDebugUtils.currentLine=50463181; + //BA.debugLineNum = 50463181;BA.debugLine="If c6.RowCount > 0 Then"; if (true) break; case 284: @@ -5022,22 +6379,30 @@ this.state = 286; case 286: //C this.state = 287; - //BA.debugLineNum = 1013;BA.debugLine="c6.Position = 0"; +RDebugUtils.currentLine=50463182; + //BA.debugLineNum = 50463182;BA.debugLine="c6.Position = 0"; _c6.setPosition((int) (0)); - //BA.debugLineNum = 1014;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))"; -parent.__c.LogImpl("450397647",_c6.GetString("PE_CANT"),0); - //BA.debugLineNum = 1015;BA.debugLine="Private rec1 As Float = (cantres * c5.Get"; +RDebugUtils.currentLine=50463183; + //BA.debugLineNum = 50463183;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))"; +parent.__c.LogImpl("050463183",_c6.GetString("PE_CANT"),0); +RDebugUtils.currentLine=50463184; + //BA.debugLineNum = 50463184;BA.debugLine="Private rec1 As Float = (cantres * c5.Get"; _rec1 = (float) ((_cantres*(double)(Double.parseDouble(_c5.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c6.GetString("PE_CANT")))); - //BA.debugLineNum = 1016;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))"; -parent.__c.LogImpl("450397649",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 1017;BA.debugLine="Private cantres1 As Float = cantres + rec"; +RDebugUtils.currentLine=50463185; + //BA.debugLineNum = 50463185;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))"; +parent.__c.LogImpl("050463185",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463186; + //BA.debugLineNum = 50463186;BA.debugLine="Private cantres1 As Float = cantres + rec"; _cantres1 = (float) (_cantres+_rec1); - //BA.debugLineNum = 1018;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))"; -parent.__c.LogImpl("450397651",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0); - //BA.debugLineNum = 1019;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage."; +RDebugUtils.currentLine=50463187; + //BA.debugLineNum = 50463187;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))"; +parent.__c.LogImpl("050463187",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=50463188; + //BA.debugLineNum = 50463188;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage."; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False)}))); - //BA.debugLineNum = 1020;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=50463189; + //BA.debugLineNum = 50463189;BA.debugLine="If c4.RowCount > 0 Then"; if (true) break; case 287: @@ -5050,7 +6415,8 @@ this.state = 289; case 289: //C this.state = 290; - //BA.debugLineNum = 1021;BA.debugLine="For i = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=50463190; + //BA.debugLineNum = 50463190;BA.debugLine="For i = 0 To c4.RowCount -1"; if (true) break; case 290: @@ -5077,16 +6443,21 @@ if (true) break; case 292: //C this.state = 568; - //BA.debugLineNum = 1022;BA.debugLine="c4.Position = i"; +RDebugUtils.currentLine=50463191; + //BA.debugLineNum = 50463191;BA.debugLine="c4.Position = i"; _c4.setPosition(_i); - //BA.debugLineNum = 1023;BA.debugLine="Private recalculo As Float = c4.GetStri"; +RDebugUtils.currentLine=50463192; + //BA.debugLineNum = 50463192;BA.debugLine="Private recalculo As Float = c4.GetStri"; _recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False)))); - //BA.debugLineNum = 1024;BA.debugLine="LogColor(recalculo,Colors.Blue)"; -parent.__c.LogImpl("450397657",BA.NumberToString(_recalculo),parent.__c.Colors.Blue); - //BA.debugLineNum = 1025;BA.debugLine="Private recalculototal As Float = c4.Ge"; +RDebugUtils.currentLine=50463193; + //BA.debugLineNum = 50463193;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +parent.__c.LogImpl("050463193",BA.NumberToString(_recalculo),parent.__c.Colors.Blue); +RDebugUtils.currentLine=50463194; + //BA.debugLineNum = 50463194;BA.debugLine="Private recalculototal As Float = c4.Ge"; _recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False)))); - //BA.debugLineNum = 1027;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P"; -parent._skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")})); +RDebugUtils.currentLine=50463196; + //BA.debugLineNum = 50463196;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")})); if (true) break; if (true) break; @@ -5100,7 +6471,8 @@ case 294: //C this.state = 295; ; - //BA.debugLineNum = 1030;BA.debugLine="c4.Close"; +RDebugUtils.currentLine=50463199; + //BA.debugLineNum = 50463199;BA.debugLine="c4.Close"; _c4.Close(); if (true) break; @@ -5138,15 +6510,19 @@ case 300: //C this.state = 301; ; - //BA.debugLineNum = 1037;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 1038;BA.debugLine="c2.Close"; -parent._c2.Close(); - //BA.debugLineNum = 1039;BA.debugLine="c3.Close"; +RDebugUtils.currentLine=50463206; + //BA.debugLineNum = 50463206;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50463207; + //BA.debugLineNum = 50463207;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50463208; + //BA.debugLineNum = 50463208;BA.debugLine="c3.Close"; _c3.Close(); if (true) break; ; - //BA.debugLineNum = 1041;BA.debugLine="If Not(Subs.traemontoprod) Then"; +RDebugUtils.currentLine=50463210; + //BA.debugLineNum = 50463210;BA.debugLine="If Not(Subs.traemontoprod) Then"; case 301: //if @@ -5160,7 +6536,8 @@ this.state = 319; case 303: //C this.state = 304; - //BA.debugLineNum = 1042;BA.debugLine="If Not(Subs.traemontoprod2) Then"; +RDebugUtils.currentLine=50463211; + //BA.debugLineNum = 50463211;BA.debugLine="If Not(Subs.traemontoprod2) Then"; if (true) break; case 304: @@ -5175,10 +6552,12 @@ this.state = 316; case 306: //C this.state = 307; - //BA.debugLineNum = 1043;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.skmt."; +RDebugUtils.currentLine=50463212; + //BA.debugLineNum = 50463212;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.skmt."; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND (PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"null"}))); - //BA.debugLineNum = 1044;BA.debugLine="If c4.RowCount > 0 Then"; +RDebugUtils.currentLine=50463213; + //BA.debugLineNum = 50463213;BA.debugLine="If c4.RowCount > 0 Then"; if (true) break; case 307: @@ -5191,7 +6570,8 @@ this.state = 309; case 309: //C this.state = 310; - //BA.debugLineNum = 1045;BA.debugLine="For i = 0 To c4.RowCount -1"; +RDebugUtils.currentLine=50463214; + //BA.debugLineNum = 50463214;BA.debugLine="For i = 0 To c4.RowCount -1"; if (true) break; case 310: @@ -5218,9 +6598,11 @@ if (true) break; case 312: //C this.state = 570; - //BA.debugLineNum = 1046;BA.debugLine="c4.Position = i"; +RDebugUtils.currentLine=50463215; + //BA.debugLineNum = 50463215;BA.debugLine="c4.Position = i"; _c4.setPosition(_i); - //BA.debugLineNum = 1050;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +RDebugUtils.currentLine=50463219; + //BA.debugLineNum = 50463219;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"","",_c4.GetString("PE_PROID")})); if (true) break; if (true) break; @@ -5263,10 +6645,12 @@ case 321: //C this.state = 322; ; - //BA.debugLineNum = 1061;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ"; +RDebugUtils.currentLine=50463230; + //BA.debugLineNum = 50463230;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ"; _s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{"","null"}))); - //BA.debugLineNum = 1063;BA.debugLine="If s3.RowCount > 0 Then"; +RDebugUtils.currentLine=50463232; + //BA.debugLineNum = 50463232;BA.debugLine="If s3.RowCount > 0 Then"; if (true) break; case 322: @@ -5274,74 +6658,100 @@ case 322: this.state = 419; if (_s3.getRowCount()>0) { this.state = 324; -}else if(_s3.getRowCount()==0) { +}else +{RDebugUtils.currentLine=50463283; + //BA.debugLineNum = 50463283;BA.debugLine="Else If s3.RowCount = 0 Then"; +if (_s3.getRowCount()==0) { this.state = 372; -}if (true) break; +}} +if (true) break; case 324: //C this.state = 325; - //BA.debugLineNum = 1065;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 1066;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iFNU"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); - //BA.debugLineNum = 1067;BA.debugLine="s.Position=0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 1068;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex"; +RDebugUtils.currentLine=50463234; + //BA.debugLineNum = 50463234;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=50463235; + //BA.debugLineNum = 50463235;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iFNU"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); +RDebugUtils.currentLine=50463236; + //BA.debugLineNum = 50463236;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463237; + //BA.debugLineNum = 50463237;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex"; _s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"","null"}))); - //BA.debugLineNum = 1069;BA.debugLine="s5.Position = 0"; +RDebugUtils.currentLine=50463238; + //BA.debugLineNum = 50463238;BA.debugLine="s5.Position = 0"; _s5.setPosition((int) (0)); - //BA.debugLineNum = 1070;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463239; + //BA.debugLineNum = 50463239;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 325: //if this.state = 370; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 327; }if (true) break; case 327: //C this.state = 328; - //BA.debugLineNum = 1071;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1072;BA.debugLine="Log(\">>>>>> \" & c.GetString(\"CAT_CL_CODIGO\"))"; -parent.__c.LogImpl("450397705",">>>>>> "+parent._c.GetString("CAT_CL_CODIGO"),0); - //BA.debugLineNum = 1073;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -parent._la_cuenta.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 1074;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO"; -parent._la_cuenta_gallina.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 1075;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -parent._la_nombre.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 1076;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; -parent._la_calle.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE")+" "+parent._c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 1077;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -parent._la_col.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 1078;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -parent._la_edo.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 1079;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -parent._l_entre1.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 1080;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -parent._l_entre2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 1081;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -parent._l_atiende.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENDE1"))); - //BA.debugLineNum = 1082;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\""; -parent._l_atiende2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENTE2"))); - //BA.debugLineNum = 1083;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")"; -parent._telefono = parent._c.GetString("CAT_CL_TELEFONO"); - //BA.debugLineNum = 1084;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")"; -parent._label19.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 1085;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '####"; -parent._bcredito = parent._c.GetString("CAT_CL_BCREDITO"); - //BA.debugLineNum = 1087;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; +RDebugUtils.currentLine=50463240; + //BA.debugLineNum = 50463240;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463241; + //BA.debugLineNum = 50463241;BA.debugLine="Log(\">>>>>> \" & c.GetString(\"CAT_CL_CODIGO\"))"; +parent.__c.LogImpl("050463241",">>>>>> "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"),0); +RDebugUtils.currentLine=50463242; + //BA.debugLineNum = 50463242;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))); +RDebugUtils.currentLine=50463243; + //BA.debugLineNum = 50463243;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO"; +__ref._la_cuenta_gallina /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))); +RDebugUtils.currentLine=50463244; + //BA.debugLineNum = 50463244;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); +RDebugUtils.currentLine=50463245; + //BA.debugLineNum = 50463245;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; +__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))); +RDebugUtils.currentLine=50463246; + //BA.debugLineNum = 50463246;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_COLONIA"))); +RDebugUtils.currentLine=50463247; + //BA.debugLineNum = 50463247;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +__ref._la_edo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EDO"))); +RDebugUtils.currentLine=50463248; + //BA.debugLineNum = 50463248;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE1"))); +RDebugUtils.currentLine=50463249; + //BA.debugLineNum = 50463249;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE2"))); +RDebugUtils.currentLine=50463250; + //BA.debugLineNum = 50463250;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1"))); +RDebugUtils.currentLine=50463251; + //BA.debugLineNum = 50463251;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\""; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2"))); +RDebugUtils.currentLine=50463252; + //BA.debugLineNum = 50463252;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")"; +__ref._telefono /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO"); +RDebugUtils.currentLine=50463253; + //BA.debugLineNum = 50463253;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO"))); +RDebugUtils.currentLine=50463254; + //BA.debugLineNum = 50463254;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '####"; +__ref._bcredito /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO"); +RDebugUtils.currentLine=50463256; + //BA.debugLineNum = 50463256;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; if (true) break; case 328: //if this.state = 333; -if (parent._s.GetString("TOTAL_CLIE")== null) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")== null) { this.state = 330; }else { this.state = 332; @@ -5350,116 +6760,127 @@ this.state = 332; case 330: //C this.state = 333; - //BA.debugLineNum = 1088;BA.debugLine="l_total.Text = 0"; -parent._l_total.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=50463257; + //BA.debugLineNum = 50463257;BA.debugLine="l_total.Text = 0"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); if (true) break; case 332: //C this.state = 333; - //BA.debugLineNum = 1090;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TOTA"; -parent._l_total.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))),(int) (0),(int) (2),(int) (2),parent.__c.False))); +RDebugUtils.currentLine=50463259; + //BA.debugLineNum = 50463259;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TOTA"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))),(int) (0),(int) (2),(int) (2),parent.__c.False))); if (true) break; case 333: //C this.state = 334; ; - //BA.debugLineNum = 1092;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s5."; -parent._total_cliente = BA.NumberToString((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))); - //BA.debugLineNum = 1093;BA.debugLine="m_lat = \"0\""; -parent._m_lat = "0"; - //BA.debugLineNum = 1094;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat ="; +RDebugUtils.currentLine=50463261; + //BA.debugLineNum = 50463261;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s5."; +__ref._total_cliente /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))); +RDebugUtils.currentLine=50463262; + //BA.debugLineNum = 50463262;BA.debugLine="m_lat = \"0\""; +__ref._m_lat /*String*/ = "0"; +RDebugUtils.currentLine=50463263; + //BA.debugLineNum = 50463263;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat ="; if (true) break; case 334: //if this.state = 339; -if ((parent._c.GetString("CAT_CL_LAT")).equals("") == false) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")).equals("") == false) { this.state = 336; ;}if (true) break; case 336: //C this.state = 339; -parent._m_lat = parent._c.GetString("CAT_CL_LAT"); +__ref._m_lat /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT"); if (true) break; case 339: //C this.state = 340; ; - //BA.debugLineNum = 1095;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; +RDebugUtils.currentLine=50463264; + //BA.debugLineNum = 50463264;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; if (true) break; case 340: //if this.state = 345; -if (parent._m_lat.length()<5) { +if (__ref._m_lat /*String*/ .length()<5) { this.state = 342; ;}if (true) break; case 342: //C this.state = 345; -parent._m_lat = "0"; +__ref._m_lat /*String*/ = "0"; if (true) break; case 345: //C this.state = 346; ; - //BA.debugLineNum = 1096;BA.debugLine="m_lon = \"0\""; -parent._m_lon = "0"; - //BA.debugLineNum = 1097;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon"; +RDebugUtils.currentLine=50463265; + //BA.debugLineNum = 50463265;BA.debugLine="m_lon = \"0\""; +__ref._m_lon /*String*/ = "0"; +RDebugUtils.currentLine=50463266; + //BA.debugLineNum = 50463266;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon"; if (true) break; case 346: //if this.state = 351; -if ((parent._c.GetString("CAT_CL_LONG")).equals("") == false) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")).equals("") == false) { this.state = 348; ;}if (true) break; case 348: //C this.state = 351; -parent._m_lon = parent._c.GetString("CAT_CL_LONG"); +__ref._m_lon /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG"); if (true) break; case 351: //C this.state = 352; ; - //BA.debugLineNum = 1098;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; +RDebugUtils.currentLine=50463267; + //BA.debugLineNum = 50463267;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; if (true) break; case 352: //if this.state = 357; -if (parent._m_lon.length()<5) { +if (__ref._m_lon /*String*/ .length()<5) { this.state = 354; ;}if (true) break; case 354: //C this.state = 357; -parent._m_lon = "0"; +__ref._m_lon /*String*/ = "0"; if (true) break; case 357: //C this.state = 358; ; - //BA.debugLineNum = 1099;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; -parent._la_ruta = parent._c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 1101;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; +RDebugUtils.currentLine=50463268; + //BA.debugLineNum = 50463268;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; +__ref._la_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=50463270; + //BA.debugLineNum = 50463270;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; if (true) break; case 358: //if this.state = 369; -if ((parent._c.GetString("CAT_CL_NUM_SERIEFISICO")).equals("0")) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO")).equals("0")) { this.state = 360; }else { this.state = 368; @@ -5468,43 +6889,50 @@ this.state = 368; case 360: //C this.state = 361; - //BA.debugLineNum = 1102;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; -parent._l_qr.setText(BA.ObjectToCharSequence("SIN CODIGO")); - //BA.debugLineNum = 1103;BA.debugLine="L_QR.TextColor = Colors.Red"; -parent._l_qr.setTextColor(parent.__c.Colors.Red); - //BA.debugLineNum = 1104;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM"; +RDebugUtils.currentLine=50463271; + //BA.debugLineNum = 50463271;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SIN CODIGO")); +RDebugUtils.currentLine=50463272; + //BA.debugLineNum = 50463272;BA.debugLine="L_QR.TextColor = Colors.Red"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red); +RDebugUtils.currentLine=50463273; + //BA.debugLineNum = 50463273;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM"; if (true) break; case 361: //if this.state = 366; -if ((parent._almacen).equals("32") == false && (parent._almacen).equals("33") == false && (parent._almacen).equals(BA.NumberToString(6)) == false) { +if ((__ref._almacen /*String*/ ).equals("32") == false && (__ref._almacen /*String*/ ).equals("33") == false && (__ref._almacen /*String*/ ).equals(BA.NumberToString(6)) == false) { this.state = 363; ;}if (true) break; case 363: //C this.state = 366; -parent._gest.setVisible(parent.__c.True && parent._tels.getVisible()==parent.__c.True); +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True && __ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==parent.__c.True); if (true) break; case 366: //C this.state = 369; ; - //BA.debugLineNum = 1105;BA.debugLine="BT_QR.Visible = True"; -parent._bt_qr.setVisible(parent.__c.True); +RDebugUtils.currentLine=50463274; + //BA.debugLineNum = 50463274;BA.debugLine="BT_QR.Visible = True"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 368: //C this.state = 369; - //BA.debugLineNum = 1107;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC"; -parent._l_qr.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NUM_SERIEFISICO"))); - //BA.debugLineNum = 1108;BA.debugLine="L_QR.TextColor = Colors.Blue"; -parent._l_qr.setTextColor(parent.__c.Colors.Blue); - //BA.debugLineNum = 1109;BA.debugLine="BT_QR.Visible = False"; -parent._bt_qr.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463276; + //BA.debugLineNum = 50463276;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO"))); +RDebugUtils.currentLine=50463277; + //BA.debugLineNum = 50463277;BA.debugLine="L_QR.TextColor = Colors.Blue"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Blue); +RDebugUtils.currentLine=50463278; + //BA.debugLineNum = 50463278;BA.debugLine="BT_QR.Visible = False"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 369: @@ -5517,69 +6945,90 @@ case 370: //C this.state = 419; ; - //BA.debugLineNum = 1112;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 1113;BA.debugLine="s.Close"; -parent._s.Close(); +RDebugUtils.currentLine=50463281; + //BA.debugLineNum = 50463281;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50463282; + //BA.debugLineNum = 50463282;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 372: //C this.state = 373; - //BA.debugLineNum = 1116;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 1117;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1118;BA.debugLine="s.Position=0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 1119;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463285; + //BA.debugLineNum = 50463285;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=50463286; + //BA.debugLineNum = 50463286;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50463287; + //BA.debugLineNum = 50463287;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463288; + //BA.debugLineNum = 50463288;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 373: //if this.state = 418; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 375; }if (true) break; case 375: //C this.state = 376; - //BA.debugLineNum = 1120;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1121;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -parent._la_cuenta.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 1122;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO"; -parent._la_cuenta_gallina.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 1123;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -parent._la_nombre.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 1124;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; -parent._la_calle.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE")+" "+parent._c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 1125;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -parent._la_col.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 1126;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -parent._la_edo.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 1127;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -parent._l_entre1.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 1128;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -parent._l_entre2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 1129;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -parent._l_atiende.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENDE1"))); - //BA.debugLineNum = 1130;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\""; -parent._l_atiende2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENTE2"))); - //BA.debugLineNum = 1131;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")"; -parent._telefono = parent._c.GetString("CAT_CL_TELEFONO"); - //BA.debugLineNum = 1132;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")"; -parent._label19.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 1133;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '###"; -parent._bcredito = parent._c.GetString("CAT_CL_BCREDITO"); - //BA.debugLineNum = 1136;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; +RDebugUtils.currentLine=50463289; + //BA.debugLineNum = 50463289;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463290; + //BA.debugLineNum = 50463290;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))); +RDebugUtils.currentLine=50463291; + //BA.debugLineNum = 50463291;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO"; +__ref._la_cuenta_gallina /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))); +RDebugUtils.currentLine=50463292; + //BA.debugLineNum = 50463292;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); +RDebugUtils.currentLine=50463293; + //BA.debugLineNum = 50463293;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; +__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))); +RDebugUtils.currentLine=50463294; + //BA.debugLineNum = 50463294;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_COLONIA"))); +RDebugUtils.currentLine=50463295; + //BA.debugLineNum = 50463295;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +__ref._la_edo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EDO"))); +RDebugUtils.currentLine=50463296; + //BA.debugLineNum = 50463296;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE1"))); +RDebugUtils.currentLine=50463297; + //BA.debugLineNum = 50463297;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE2"))); +RDebugUtils.currentLine=50463298; + //BA.debugLineNum = 50463298;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1"))); +RDebugUtils.currentLine=50463299; + //BA.debugLineNum = 50463299;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\""; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2"))); +RDebugUtils.currentLine=50463300; + //BA.debugLineNum = 50463300;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")"; +__ref._telefono /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO"); +RDebugUtils.currentLine=50463301; + //BA.debugLineNum = 50463301;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO"))); +RDebugUtils.currentLine=50463302; + //BA.debugLineNum = 50463302;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '###"; +__ref._bcredito /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO"); +RDebugUtils.currentLine=50463305; + //BA.debugLineNum = 50463305;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; if (true) break; case 376: //if this.state = 381; -if (parent._s.GetString("TOTAL_CLIE")== null) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")== null) { this.state = 378; }else { this.state = 380; @@ -5588,116 +7037,127 @@ this.state = 380; case 378: //C this.state = 381; - //BA.debugLineNum = 1137;BA.debugLine="l_total.Text = 0"; -parent._l_total.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=50463306; + //BA.debugLineNum = 50463306;BA.debugLine="l_total.Text = 0"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); if (true) break; case 380: //C this.state = 381; - //BA.debugLineNum = 1139;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOTAL"; -parent._l_total.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),parent.__c.False))); +RDebugUtils.currentLine=50463308; + //BA.debugLineNum = 50463308;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOTAL"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),parent.__c.False))); if (true) break; case 381: //C this.state = 382; ; - //BA.debugLineNum = 1141;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; -parent._total_cliente = parent._s.GetString("TOTAL_CLIE"); - //BA.debugLineNum = 1142;BA.debugLine="m_lat = \"0\""; -parent._m_lat = "0"; - //BA.debugLineNum = 1143;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat ="; +RDebugUtils.currentLine=50463310; + //BA.debugLineNum = 50463310;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +__ref._total_cliente /*String*/ = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"); +RDebugUtils.currentLine=50463311; + //BA.debugLineNum = 50463311;BA.debugLine="m_lat = \"0\""; +__ref._m_lat /*String*/ = "0"; +RDebugUtils.currentLine=50463312; + //BA.debugLineNum = 50463312;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat ="; if (true) break; case 382: //if this.state = 387; -if ((parent._c.GetString("CAT_CL_LAT")).equals("") == false) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")).equals("") == false) { this.state = 384; ;}if (true) break; case 384: //C this.state = 387; -parent._m_lat = parent._c.GetString("CAT_CL_LAT"); +__ref._m_lat /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT"); if (true) break; case 387: //C this.state = 388; ; - //BA.debugLineNum = 1144;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; +RDebugUtils.currentLine=50463313; + //BA.debugLineNum = 50463313;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; if (true) break; case 388: //if this.state = 393; -if (parent._m_lat.length()<5) { +if (__ref._m_lat /*String*/ .length()<5) { this.state = 390; ;}if (true) break; case 390: //C this.state = 393; -parent._m_lat = "0"; +__ref._m_lat /*String*/ = "0"; if (true) break; case 393: //C this.state = 394; ; - //BA.debugLineNum = 1145;BA.debugLine="m_lon = \"0\""; -parent._m_lon = "0"; - //BA.debugLineNum = 1146;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon"; +RDebugUtils.currentLine=50463314; + //BA.debugLineNum = 50463314;BA.debugLine="m_lon = \"0\""; +__ref._m_lon /*String*/ = "0"; +RDebugUtils.currentLine=50463315; + //BA.debugLineNum = 50463315;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon"; if (true) break; case 394: //if this.state = 399; -if ((parent._c.GetString("CAT_CL_LONG")).equals("") == false) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")).equals("") == false) { this.state = 396; ;}if (true) break; case 396: //C this.state = 399; -parent._m_lon = parent._c.GetString("CAT_CL_LONG"); +__ref._m_lon /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG"); if (true) break; case 399: //C this.state = 400; ; - //BA.debugLineNum = 1147;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; +RDebugUtils.currentLine=50463316; + //BA.debugLineNum = 50463316;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; if (true) break; case 400: //if this.state = 405; -if (parent._m_lon.length()<5) { +if (__ref._m_lon /*String*/ .length()<5) { this.state = 402; ;}if (true) break; case 402: //C this.state = 405; -parent._m_lon = "0"; +__ref._m_lon /*String*/ = "0"; if (true) break; case 405: //C this.state = 406; ; - //BA.debugLineNum = 1148;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; -parent._la_ruta = parent._c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 1150;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; +RDebugUtils.currentLine=50463317; + //BA.debugLineNum = 50463317;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; +__ref._la_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=50463319; + //BA.debugLineNum = 50463319;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; if (true) break; case 406: //if this.state = 417; -if ((parent._c.GetString("CAT_CL_NUM_SERIEFISICO")).equals("0")) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO")).equals("0")) { this.state = 408; }else { this.state = 416; @@ -5706,43 +7166,50 @@ this.state = 416; case 408: //C this.state = 409; - //BA.debugLineNum = 1151;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; -parent._l_qr.setText(BA.ObjectToCharSequence("SIN CODIGO")); - //BA.debugLineNum = 1152;BA.debugLine="L_QR.TextColor = Colors.Red"; -parent._l_qr.setTextColor(parent.__c.Colors.Red); - //BA.debugLineNum = 1153;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM"; +RDebugUtils.currentLine=50463320; + //BA.debugLineNum = 50463320;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SIN CODIGO")); +RDebugUtils.currentLine=50463321; + //BA.debugLineNum = 50463321;BA.debugLine="L_QR.TextColor = Colors.Red"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red); +RDebugUtils.currentLine=50463322; + //BA.debugLineNum = 50463322;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM"; if (true) break; case 409: //if this.state = 414; -if ((parent._almacen).equals("32") == false && (parent._almacen).equals("33") == false && (parent._almacen).equals(BA.NumberToString(6)) == false) { +if ((__ref._almacen /*String*/ ).equals("32") == false && (__ref._almacen /*String*/ ).equals("33") == false && (__ref._almacen /*String*/ ).equals(BA.NumberToString(6)) == false) { this.state = 411; ;}if (true) break; case 411: //C this.state = 414; -parent._gest.setVisible(parent.__c.True && parent._tels.getVisible()==parent.__c.True); +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True && __ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==parent.__c.True); if (true) break; case 414: //C this.state = 417; ; - //BA.debugLineNum = 1154;BA.debugLine="BT_QR.Visible = True"; -parent._bt_qr.setVisible(parent.__c.True); +RDebugUtils.currentLine=50463323; + //BA.debugLineNum = 50463323;BA.debugLine="BT_QR.Visible = True"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 416: //C this.state = 417; - //BA.debugLineNum = 1156;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC"; -parent._l_qr.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NUM_SERIEFISICO"))); - //BA.debugLineNum = 1157;BA.debugLine="L_QR.TextColor = Colors.Blue"; -parent._l_qr.setTextColor(parent.__c.Colors.Blue); - //BA.debugLineNum = 1158;BA.debugLine="BT_QR.Visible = False"; -parent._bt_qr.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463325; + //BA.debugLineNum = 50463325;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO"))); +RDebugUtils.currentLine=50463326; + //BA.debugLineNum = 50463326;BA.debugLine="L_QR.TextColor = Colors.Blue"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Blue); +RDebugUtils.currentLine=50463327; + //BA.debugLineNum = 50463327;BA.debugLine="BT_QR.Visible = False"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 417: @@ -5755,46 +7222,55 @@ case 418: //C this.state = 419; ; - //BA.debugLineNum = 1161;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 1162;BA.debugLine="s.Close"; -parent._s.Close(); +RDebugUtils.currentLine=50463330; + //BA.debugLineNum = 50463330;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50463331; + //BA.debugLineNum = 50463331;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 419: //C this.state = 420; ; - //BA.debugLineNum = 1166;BA.debugLine="Starter.idCliente = la_cuenta.text"; -parent._starter._idcliente /*String*/ = parent._la_cuenta.getText(); - //BA.debugLineNum = 1167;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CAT_"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'"))); - //BA.debugLineNum = 1168;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463335; + //BA.debugLineNum = 50463335;BA.debugLine="Starter.idCliente = la_cuenta.text"; +parent._starter._idcliente /*String*/ = __ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=50463336; + //BA.debugLineNum = 50463336;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CAT_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'"))); +RDebugUtils.currentLine=50463337; + //BA.debugLineNum = 50463337;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 420: //if this.state = 423; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 422; }if (true) break; case 422: //C this.state = 423; - //BA.debugLineNum = 1169;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1170;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\")"; -_geo = parent._c.GetString("CAT_VA_VALOR"); +RDebugUtils.currentLine=50463338; + //BA.debugLineNum = 50463338;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463339; + //BA.debugLineNum = 50463339;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\")"; +_geo = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); if (true) break; case 423: //C this.state = 424; ; - //BA.debugLineNum = 1172;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 1174;BA.debugLine="If geo = \"0\" Then"; +RDebugUtils.currentLine=50463341; + //BA.debugLineNum = 50463341;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50463343; + //BA.debugLineNum = 50463343;BA.debugLine="If geo = \"0\" Then"; if (true) break; case 424: @@ -5802,21 +7278,29 @@ case 424: this.state = 443; if ((_geo).equals("0")) { this.state = 426; -}else if((_geo).equals("1") && parent._distance>100) { +}else +{RDebugUtils.currentLine=50463358; + //BA.debugLineNum = 50463358;BA.debugLine="Else If geo = \"1\" And distance > 100 Then"; +if ((_geo).equals("1") && __ref._distance /*long*/ >100) { this.state = 438; -}if (true) break; +}} +if (true) break; case 426: //C this.state = 427; - //BA.debugLineNum = 1175;BA.debugLine="gest.Visible = True"; -parent._gest.setVisible(parent.__c.True); - //BA.debugLineNum = 1176;BA.debugLine="Tels.Visible = True"; -parent._tels.setVisible(parent.__c.True); - //BA.debugLineNum = 1177;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; +RDebugUtils.currentLine=50463344; + //BA.debugLineNum = 50463344;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50463345; + //BA.debugLineNum = 50463345;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50463346; + //BA.debugLineNum = 50463346;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; _future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1178;BA.debugLine="If future.RowCount > 0 Then"; +RDebugUtils.currentLine=50463347; + //BA.debugLineNum = 50463347;BA.debugLine="If future.RowCount > 0 Then"; if (true) break; case 427: @@ -5829,9 +7313,11 @@ this.state = 429; case 429: //C this.state = 430; - //BA.debugLineNum = 1179;BA.debugLine="future.Position = 0"; +RDebugUtils.currentLine=50463348; + //BA.debugLineNum = 50463348;BA.debugLine="future.Position = 0"; _future.setPosition((int) (0)); - //BA.debugLineNum = 1180;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +RDebugUtils.currentLine=50463349; + //BA.debugLineNum = 50463349;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; if (true) break; case 430: @@ -5839,22 +7325,28 @@ case 430: this.state = 435; if (_future.GetInt("CAT_VA_VALOR")==1) { this.state = 432; -}else if(_future.GetInt("CAT_VA_VALOR")==0) { +}else +{RDebugUtils.currentLine=50463351; + //BA.debugLineNum = 50463351;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +if (_future.GetInt("CAT_VA_VALOR")==0) { this.state = 434; -}if (true) break; +}} +if (true) break; case 432: //C this.state = 435; - //BA.debugLineNum = 1181;BA.debugLine="b_preventa2.Visible = True"; -parent._b_preventa2.setVisible(parent.__c.True); +RDebugUtils.currentLine=50463350; + //BA.debugLineNum = 50463350;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 434: //C this.state = 435; - //BA.debugLineNum = 1183;BA.debugLine="b_preventa2.Visible = False"; -parent._b_preventa2.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463352; + //BA.debugLineNum = 50463352;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 435: @@ -5867,34 +7359,40 @@ case 436: //C this.state = 443; ; - //BA.debugLineNum = 1187;BA.debugLine="precision = \"1\""; -parent._precision = "1"; +RDebugUtils.currentLine=50463356; + //BA.debugLineNum = 50463356;BA.debugLine="precision = \"1\""; +__ref._precision /*String*/ = "1"; if (true) break; case 438: //C this.state = 439; - //BA.debugLineNum = 1190;BA.debugLine="gest.Visible = False"; -parent._gest.setVisible(parent.__c.False); - //BA.debugLineNum = 1191;BA.debugLine="b_preventa2.Visible = False"; -parent._b_preventa2.setVisible(parent.__c.False); - //BA.debugLineNum = 1192;BA.debugLine="Tels.Visible = False"; -parent._tels.setVisible(parent.__c.False); - //BA.debugLineNum = 1193;BA.debugLine="If b_Inicio_Fin_venta.IsInitialized Then"; +RDebugUtils.currentLine=50463359; + //BA.debugLineNum = 50463359;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463360; + //BA.debugLineNum = 50463360;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463361; + //BA.debugLineNum = 50463361;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463362; + //BA.debugLineNum = 50463362;BA.debugLine="If b_Inicio_Fin_venta.IsInitialized Then"; if (true) break; case 439: //if this.state = 442; -if (parent._b_inicio_fin_venta.IsInitialized()) { +if (__ref._b_inicio_fin_venta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { this.state = 441; }if (true) break; case 441: //C this.state = 442; - //BA.debugLineNum = 1195;BA.debugLine="b_Inicio_Fin_venta.Visible = False"; -parent._b_inicio_fin_venta.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463364; + //BA.debugLineNum = 50463364;BA.debugLine="b_Inicio_Fin_venta.Visible = False"; +__ref._b_inicio_fin_venta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 442: @@ -5907,11 +7405,14 @@ case 443: //C this.state = 444; ; - //BA.debugLineNum = 1199;BA.debugLine="gest.Typeface =Typeface.CreateNew(Typeface.FONTAW"; -parent._gest.setTypeface(parent.__c.Typeface.CreateNew(parent.__c.Typeface.getFONTAWESOME(),parent.__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 1200;BA.debugLine="gest.Text = \" Preventa\""; -parent._gest.setText(BA.ObjectToCharSequence(" Preventa")); - //BA.debugLineNum = 1201;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Then gest.Tex"; +RDebugUtils.currentLine=50463368; + //BA.debugLineNum = 50463368;BA.debugLine="gest.Typeface =Typeface.CreateNew(Typeface.FONTAW"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTypeface(parent.__c.Typeface.CreateNew(parent.__c.Typeface.getFONTAWESOME(),parent.__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=50463369; + //BA.debugLineNum = 50463369;BA.debugLine="gest.Text = \" Preventa\""; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence(" Preventa")); +RDebugUtils.currentLine=50463370; + //BA.debugLineNum = 50463370;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Then gest.Tex"; if (true) break; case 444: @@ -5924,36 +7425,39 @@ this.state = 446; case 446: //C this.state = 449; -parent._gest.setText(BA.ObjectToCharSequence(" Venta")); +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence(" Venta")); if (true) break; case 449: //C this.state = 450; ; - //BA.debugLineNum = 1203;BA.debugLine="If la_cuenta.Text.trim = \"0\" Then gest.Text = \"Ca"; +RDebugUtils.currentLine=50463372; + //BA.debugLineNum = 50463372;BA.debugLine="If la_cuenta.Text.trim = \"0\" Then gest.Text = \"Ca"; if (true) break; case 450: //if this.state = 455; -if ((parent._la_cuenta.getText().trim()).equals("0")) { +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText().trim()).equals("0")) { this.state = 452; ;}if (true) break; case 452: //C this.state = 455; -parent._gest.setText(BA.ObjectToCharSequence("Carga Abordo")); +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Carga Abordo")); if (true) break; case 455: //C this.state = 456; ; - //BA.debugLineNum = 1205;BA.debugLine="Log(Subs.traeRuta)"; -parent.__c.LogImpl("450397838",parent._subs._traeruta /*String*/ (ba),0); - //BA.debugLineNum = 1206;BA.debugLine="If Subs.hayPedido Then"; +RDebugUtils.currentLine=50463374; + //BA.debugLineNum = 50463374;BA.debugLine="Log(Subs.traeRuta)"; +parent.__c.LogImpl("050463374",parent._subs._traeruta /*String*/ (ba),0); +RDebugUtils.currentLine=50463375; + //BA.debugLineNum = 50463375;BA.debugLine="If Subs.hayPedido Then"; if (true) break; case 456: @@ -5968,27 +7472,32 @@ this.state = 460; case 458: //C this.state = 461; - //BA.debugLineNum = 1207;BA.debugLine="B_IMP.Enabled = True"; -parent._b_imp.setEnabled(parent.__c.True); - //BA.debugLineNum = 1208;BA.debugLine="b_enviarTicket.Enabled = False"; -parent._b_enviarticket.setEnabled(parent.__c.False); +RDebugUtils.currentLine=50463376; + //BA.debugLineNum = 50463376;BA.debugLine="B_IMP.Enabled = True"; +__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.True); +RDebugUtils.currentLine=50463377; + //BA.debugLineNum = 50463377;BA.debugLine="b_enviarTicket.Enabled = False"; +__ref._b_enviarticket /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False); if (true) break; case 460: //C this.state = 461; - //BA.debugLineNum = 1210;BA.debugLine="B_IMP.Enabled = False"; -parent._b_imp.setEnabled(parent.__c.False); - //BA.debugLineNum = 1211;BA.debugLine="b_enviarTicket.Enabled = False"; -parent._b_enviarticket.setEnabled(parent.__c.False); +RDebugUtils.currentLine=50463379; + //BA.debugLineNum = 50463379;BA.debugLine="B_IMP.Enabled = False"; +__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False); +RDebugUtils.currentLine=50463380; + //BA.debugLineNum = 50463380;BA.debugLine="b_enviarTicket.Enabled = False"; +__ref._b_enviarticket /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False); if (true) break; ; - //BA.debugLineNum = 1214;BA.debugLine="If ALMACEN = 46 Or ALMACEN = 6 Then"; +RDebugUtils.currentLine=50463383; + //BA.debugLineNum = 50463383;BA.debugLine="If ALMACEN = 46 Or ALMACEN = 6 Then"; case 461: //if this.state = 478; -if ((parent._almacen).equals(BA.NumberToString(46)) || (parent._almacen).equals(BA.NumberToString(6))) { +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(46)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(6))) { this.state = 463; }else { this.state = 477; @@ -5997,15 +7506,17 @@ this.state = 477; case 463: //C this.state = 464; - //BA.debugLineNum = 1215;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IfNull(PL_BAN"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IfNull(PL_BANDERA, 0) AS PL_BANDERA FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1216;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463384; + //BA.debugLineNum = 50463384;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IfNull(PL_BAN"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IfNull(PL_BANDERA, 0) AS PL_BANDERA FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=50463385; + //BA.debugLineNum = 50463385;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 464: //if this.state = 475; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 466; }else { this.state = 474; @@ -6014,15 +7525,17 @@ this.state = 474; case 466: //C this.state = 467; - //BA.debugLineNum = 1217;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1218;BA.debugLine="If c.GetString(\"PL_BANDERA\") = 0 Then"; +RDebugUtils.currentLine=50463386; + //BA.debugLineNum = 50463386;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463387; + //BA.debugLineNum = 50463387;BA.debugLine="If c.GetString(\"PL_BANDERA\") = 0 Then"; if (true) break; case 467: //if this.state = 472; -if ((parent._c.GetString("PL_BANDERA")).equals(BA.NumberToString(0))) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PL_BANDERA")).equals(BA.NumberToString(0))) { this.state = 469; }else { this.state = 471; @@ -6031,15 +7544,17 @@ this.state = 471; case 469: //C this.state = 472; - //BA.debugLineNum = 1219;BA.debugLine="btnPlanLealtad.Visible = True"; -parent._btnplanlealtad.setVisible(parent.__c.True); +RDebugUtils.currentLine=50463388; + //BA.debugLineNum = 50463388;BA.debugLine="btnPlanLealtad.Visible = True"; +__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 471: //C this.state = 472; - //BA.debugLineNum = 1221;BA.debugLine="btnPlanLealtad.Visible = False"; -parent._btnplanlealtad.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463390; + //BA.debugLineNum = 50463390;BA.debugLine="btnPlanLealtad.Visible = False"; +__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; case 472: @@ -6051,8 +7566,9 @@ this.state = 475; case 474: //C this.state = 475; - //BA.debugLineNum = 1224;BA.debugLine="btnPlanLealtad.Visible = True"; -parent._btnplanlealtad.setVisible(parent.__c.True); +RDebugUtils.currentLine=50463393; + //BA.debugLineNum = 50463393;BA.debugLine="btnPlanLealtad.Visible = True"; +__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); if (true) break; case 475: @@ -6064,23 +7580,26 @@ this.state = 478; case 477: //C this.state = 478; - //BA.debugLineNum = 1227;BA.debugLine="btnPlanLealtad.Visible = False"; -parent._btnplanlealtad.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463396; + //BA.debugLineNum = 50463396;BA.debugLine="btnPlanLealtad.Visible = False"; +__ref._btnplanlealtad /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); if (true) break; ; - //BA.debugLineNum = 1238;BA.debugLine="If ALMACEN = 88 Then"; +RDebugUtils.currentLine=50463407; + //BA.debugLineNum = 50463407;BA.debugLine="If ALMACEN = 88 Then"; case 478: //if this.state = 511; -if ((parent._almacen).equals(BA.NumberToString(88))) { +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(88))) { this.state = 480; }if (true) break; case 480: //C this.state = 481; - //BA.debugLineNum = 1239;BA.debugLine="If Not(Subs.TraeMontoProd) Then"; +RDebugUtils.currentLine=50463408; + //BA.debugLineNum = 50463408;BA.debugLine="If Not(Subs.TraeMontoProd) Then"; if (true) break; case 481: @@ -6093,12 +7612,15 @@ this.state = 483; case 483: //C this.state = 484; - //BA.debugLineNum = 1240;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis = 'MYKONOS_01' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._tipo_venta)})); - //BA.debugLineNum = 1242;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=50463409; + //BA.debugLineNum = 50463409;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis = 'MYKONOS_01' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=50463411; + //BA.debugLineNum = 50463411;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe"; _s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{"","null"}))); - //BA.debugLineNum = 1244;BA.debugLine="If s3.RowCount > 0 Then"; +RDebugUtils.currentLine=50463413; + //BA.debugLineNum = 50463413;BA.debugLine="If s3.RowCount > 0 Then"; if (true) break; case 484: @@ -6113,39 +7635,47 @@ this.state = 498; case 486: //C this.state = 487; - //BA.debugLineNum = 1245;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 1246;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iF"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); - //BA.debugLineNum = 1247;BA.debugLine="s.Position=0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 1248;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt."; +RDebugUtils.currentLine=50463414; + //BA.debugLineNum = 50463414;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=50463415; + //BA.debugLineNum = 50463415;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iF"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); +RDebugUtils.currentLine=50463416; + //BA.debugLineNum = 50463416;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463417; + //BA.debugLineNum = 50463417;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt."; _s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"","null"}))); - //BA.debugLineNum = 1249;BA.debugLine="s5.Position = 0"; +RDebugUtils.currentLine=50463418; + //BA.debugLineNum = 50463418;BA.debugLine="s5.Position = 0"; _s5.setPosition((int) (0)); - //BA.debugLineNum = 1250;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463419; + //BA.debugLineNum = 50463419;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 487: //if this.state = 496; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 489; }if (true) break; case 489: //C this.state = 490; - //BA.debugLineNum = 1251;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1252;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; +RDebugUtils.currentLine=50463420; + //BA.debugLineNum = 50463420;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463421; + //BA.debugLineNum = 50463421;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; if (true) break; case 490: //if this.state = 495; -if (parent._s.GetString("TOTAL_CLIE")== null) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")== null) { this.state = 492; }else { this.state = 494; @@ -6154,23 +7684,26 @@ this.state = 494; case 492: //C this.state = 495; - //BA.debugLineNum = 1253;BA.debugLine="l_total.Text = 0"; -parent._l_total.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=50463422; + //BA.debugLineNum = 50463422;BA.debugLine="l_total.Text = 0"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); if (true) break; case 494: //C this.state = 495; - //BA.debugLineNum = 1255;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TO"; -parent._l_total.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))),(int) (0),(int) (2),(int) (2),parent.__c.False))); +RDebugUtils.currentLine=50463424; + //BA.debugLineNum = 50463424;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TO"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))),(int) (0),(int) (2),(int) (2),parent.__c.False))); if (true) break; case 495: //C this.state = 496; ; - //BA.debugLineNum = 1257;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s"; -parent._total_cliente = BA.NumberToString((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))); +RDebugUtils.currentLine=50463426; + //BA.debugLineNum = 50463426;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s"; +__ref._total_cliente /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))); if (true) break; case 496: @@ -6182,34 +7715,40 @@ this.state = 509; case 498: //C this.state = 499; - //BA.debugLineNum = 1260;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 1261;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1262;BA.debugLine="s.Position=0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 1263;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=50463429; + //BA.debugLineNum = 50463429;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=50463430; + //BA.debugLineNum = 50463430;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50463431; + //BA.debugLineNum = 50463431;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463432; + //BA.debugLineNum = 50463432;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 499: //if this.state = 508; -if (parent._c.getRowCount()>0) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 501; }if (true) break; case 501: //C this.state = 502; - //BA.debugLineNum = 1264;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1265;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; +RDebugUtils.currentLine=50463433; + //BA.debugLineNum = 50463433;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463434; + //BA.debugLineNum = 50463434;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then"; if (true) break; case 502: //if this.state = 507; -if (parent._s.GetString("TOTAL_CLIE")== null) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")== null) { this.state = 504; }else { this.state = 506; @@ -6218,23 +7757,26 @@ this.state = 506; case 504: //C this.state = 507; - //BA.debugLineNum = 1266;BA.debugLine="l_total.Text = 0"; -parent._l_total.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=50463435; + //BA.debugLineNum = 50463435;BA.debugLine="l_total.Text = 0"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); if (true) break; case 506: //C this.state = 507; - //BA.debugLineNum = 1268;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOT"; -parent._l_total.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),parent.__c.False))); +RDebugUtils.currentLine=50463437; + //BA.debugLineNum = 50463437;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOT"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),parent.__c.False))); if (true) break; case 507: //C this.state = 508; ; - //BA.debugLineNum = 1270;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; -parent._total_cliente = parent._s.GetString("TOTAL_CLIE"); +RDebugUtils.currentLine=50463439; + //BA.debugLineNum = 50463439;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +__ref._total_cliente /*String*/ = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"); if (true) break; case 508: @@ -6259,46 +7801,66 @@ case 511: //C this.state = 512; ; - //BA.debugLineNum = 1276;BA.debugLine="Log(\"============================================"; -parent.__c.LogImpl("450397909","============================================================",0); - //BA.debugLineNum = 1277;BA.debugLine="Log(\"============================================"; -parent.__c.LogImpl("450397910","============================================================",0); - //BA.debugLineNum = 1278;BA.debugLine="Log(\"============================================"; -parent.__c.LogImpl("450397911","============================================================",0); - //BA.debugLineNum = 1280;BA.debugLine="l_total.Text = Subs.calculaTotalConPromoXRango(Su"; -parent._l_total.setText(BA.ObjectToCharSequence(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))); - //BA.debugLineNum = 1283;BA.debugLine="SV_ENCUESTA.Visible = False"; -parent._sv_encuesta.setVisible(parent.__c.False); - //BA.debugLineNum = 1284;BA.debugLine="P_gallina.Visible = False"; -parent._p_gallina.setVisible(parent.__c.False); - //BA.debugLineNum = 1285;BA.debugLine="p_pregunta1.Visible = False"; -parent._p_pregunta1.setVisible(parent.__c.False); - //BA.debugLineNum = 1286;BA.debugLine="p_camara.Visible = False"; -parent._p_camara.setVisible(parent.__c.False); - //BA.debugLineNum = 1287;BA.debugLine="Panel2.Visible = False"; -parent._panel2.setVisible(parent.__c.False); - //BA.debugLineNum = 1288;BA.debugLine="p_comentario.Visible = False"; -parent._p_comentario.setVisible(parent.__c.False); - //BA.debugLineNum = 1289;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; -parent._p_transparenteticketimpreso.setVisible(parent.__c.False); - //BA.debugLineNum = 1290;BA.debugLine="p_encuesta.Visible = False"; -parent._p_encuesta.setVisible(parent.__c.False); - //BA.debugLineNum = 1291;BA.debugLine="pnlPlanLealtad.Visible = False"; -parent._pnlplanlealtad.setVisible(parent.__c.False); - //BA.debugLineNum = 1292;BA.debugLine="Panel10.Visible = False"; -parent._panel10.setVisible(parent.__c.False); - //BA.debugLineNum = 1293;BA.debugLine="p_transparentePDF.Visible = False"; -parent._p_transparentepdf.setVisible(parent.__c.False); - //BA.debugLineNum = 1294;BA.debugLine="CH_FACTURA.Checked = False"; -parent._ch_factura.setChecked(parent.__c.False); - //BA.debugLineNum = 1295;BA.debugLine="Dim fac As Cursor=B4XPages.MainPage.skmt.ExecQuer"; +RDebugUtils.currentLine=50463445; + //BA.debugLineNum = 50463445;BA.debugLine="Log(\"============================================"; +parent.__c.LogImpl("050463445","============================================================",0); +RDebugUtils.currentLine=50463446; + //BA.debugLineNum = 50463446;BA.debugLine="Log(\"============================================"; +parent.__c.LogImpl("050463446","============================================================",0); +RDebugUtils.currentLine=50463447; + //BA.debugLineNum = 50463447;BA.debugLine="Log(\"============================================"; +parent.__c.LogImpl("050463447","============================================================",0); +RDebugUtils.currentLine=50463449; + //BA.debugLineNum = 50463449;BA.debugLine="l_total.Text = Subs.calculaTotalConPromoXRango(Su"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))); +RDebugUtils.currentLine=50463452; + //BA.debugLineNum = 50463452;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463453; + //BA.debugLineNum = 50463453;BA.debugLine="P_gallina.Visible = False"; +__ref._p_gallina /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463454; + //BA.debugLineNum = 50463454;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463455; + //BA.debugLineNum = 50463455;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463456; + //BA.debugLineNum = 50463456;BA.debugLine="Panel2.Visible = False"; +__ref._panel2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463457; + //BA.debugLineNum = 50463457;BA.debugLine="p_comentario.Visible = False"; +__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463458; + //BA.debugLineNum = 50463458;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463459; + //BA.debugLineNum = 50463459;BA.debugLine="p_encuesta.Visible = False"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463460; + //BA.debugLineNum = 50463460;BA.debugLine="pnlPlanLealtad.Visible = False"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463461; + //BA.debugLineNum = 50463461;BA.debugLine="Panel10.Visible = False"; +__ref._panel10 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463462; + //BA.debugLineNum = 50463462;BA.debugLine="p_transparentePDF.Visible = False"; +__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463463; + //BA.debugLineNum = 50463463;BA.debugLine="CH_FACTURA.Checked = False"; +__ref._ch_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.False); +RDebugUtils.currentLine=50463464; + //BA.debugLineNum = 50463464;BA.debugLine="Dim fac As Cursor=B4XPages.MainPage.skmt.ExecQuer"; _fac = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _fac = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select ifnull(SUM(PE_COSTO_TOT), 0) As TOTAL_CLIE, SUM(PE_CANT) As CANT_CLIE, PC_FACTURA FROM PEDIDO_CLIENTE INNER JOIN PEDIDO ON PEDIDO_CLIENTE.PC_CLIENTE = PEDIDO.PE_CLIENTE WHERE (PE_CLIENTE IN (Select cuenta from cuentaa))"))); - //BA.debugLineNum = 1296;BA.debugLine="fac.Position = 0"; +RDebugUtils.currentLine=50463465; + //BA.debugLineNum = 50463465;BA.debugLine="fac.Position = 0"; _fac.setPosition((int) (0)); - //BA.debugLineNum = 1297;BA.debugLine="Private factura As String = 0"; +RDebugUtils.currentLine=50463466; + //BA.debugLineNum = 50463466;BA.debugLine="Private factura As String = 0"; _factura = BA.NumberToString(0); - //BA.debugLineNum = 1298;BA.debugLine="If fac.GetString(\"PC_FACTURA\") <> Null And IsNumb"; +RDebugUtils.currentLine=50463467; + //BA.debugLineNum = 50463467;BA.debugLine="If fac.GetString(\"PC_FACTURA\") <> Null And IsNumb"; if (true) break; case 512: @@ -6318,7 +7880,8 @@ case 517: //C this.state = 518; ; - //BA.debugLineNum = 1299;BA.debugLine="If factura = \"1\" Then CH_FACTURA.Checked = True"; +RDebugUtils.currentLine=50463468; + //BA.debugLineNum = 50463468;BA.debugLine="If factura = \"1\" Then CH_FACTURA.Checked = True"; if (true) break; case 518: @@ -6331,36 +7894,45 @@ this.state = 520; case 520: //C this.state = 523; -parent._ch_factura.setChecked(parent.__c.True); +__ref._ch_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.True); if (true) break; case 523: //C this.state = 524; ; - //BA.debugLineNum = 1302;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 1303;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1304;BA.debugLine="If c.GetInt(\"CAT_CL_BCREDITO\") = 1 Then"; +RDebugUtils.currentLine=50463471; + //BA.debugLineNum = 50463471;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=50463472; + //BA.debugLineNum = 50463472;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50463473; + //BA.debugLineNum = 50463473;BA.debugLine="If c.GetInt(\"CAT_CL_BCREDITO\") = 1 Then"; if (true) break; case 524: //if this.state = 541; -if (parent._c.GetInt("CAT_CL_BCREDITO")==1) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCREDITO")==1) { this.state = 526; -}else if(parent._c.GetInt("CAT_CL_BCREDITO")==0) { +}else +{RDebugUtils.currentLine=50463509; + //BA.debugLineNum = 50463509;BA.debugLine="Else If c.GetInt(\"CAT_CL_BCREDITO\") = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCREDITO")==0) { this.state = 540; -}if (true) break; +}} +if (true) break; case 526: //C this.state = 527; - //BA.debugLineNum = 1306;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt"; +RDebugUtils.currentLine=50463475; + //BA.debugLineNum = 50463475;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt"; _pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1307;BA.debugLine="If pagarepen.RowCount > 0 Then"; +RDebugUtils.currentLine=50463476; + //BA.debugLineNum = 50463476;BA.debugLine="If pagarepen.RowCount > 0 Then"; if (true) break; case 527: @@ -6375,28 +7947,39 @@ this.state = 537; case 529: //C this.state = 530; - //BA.debugLineNum = 1308;BA.debugLine="pagarepen.Position = 0"; +RDebugUtils.currentLine=50463477; + //BA.debugLineNum = 50463477;BA.debugLine="pagarepen.Position = 0"; _pagarepen.setPosition((int) (0)); - //BA.debugLineNum = 1309;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +RDebugUtils.currentLine=50463478; + //BA.debugLineNum = 50463478;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 1310;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString"; +RDebugUtils.currentLine=50463479; + //BA.debugLineNum = 50463479;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString"; _fechainicio = _pagarepen.GetString("FECHA"); - //BA.debugLineNum = 1312;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; -parent.__c.LogImpl("450397945",_pagarepen.GetString("FECHA"),0); - //BA.debugLineNum = 1314;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fe"; +RDebugUtils.currentLine=50463481; + //BA.debugLineNum = 50463481;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; +parent.__c.LogImpl("050463481",_pagarepen.GetString("FECHA"),0); +RDebugUtils.currentLine=50463483; + //BA.debugLineNum = 50463483;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fe"; _ticksinicio = parent.__c.DateTime.DateParse(_fechainicio); - //BA.debugLineNum = 1315;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateT"; +RDebugUtils.currentLine=50463484; + //BA.debugLineNum = 50463484;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateT"; _tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())); - //BA.debugLineNum = 1318;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIn"; +RDebugUtils.currentLine=50463487; + //BA.debugLineNum = 50463487;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIn"; _diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay); - //BA.debugLineNum = 1321;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; -parent.__c.LogImpl("450397954",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0); - //BA.debugLineNum = 1323;BA.debugLine="Dim c4 As Cursor=B4XPages.MainPage.skmt.ExecQue"; +RDebugUtils.currentLine=50463490; + //BA.debugLineNum = 50463490;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; +parent.__c.LogImpl("050463490",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0); +RDebugUtils.currentLine=50463492; + //BA.debugLineNum = 50463492;BA.debugLine="Dim c4 As Cursor=B4XPages.MainPage.skmt.ExecQue"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 1324;BA.debugLine="c4.Position = 0"; +RDebugUtils.currentLine=50463493; + //BA.debugLineNum = 50463493;BA.debugLine="c4.Position = 0"; _c4.setPosition((int) (0)); - //BA.debugLineNum = 1326;BA.debugLine="If DiferenciaDias <= c4.GetInt(\"CAT_CL_DIASCRED"; +RDebugUtils.currentLine=50463495; + //BA.debugLineNum = 50463495;BA.debugLine="If DiferenciaDias <= c4.GetInt(\"CAT_CL_DIASCRED"; if (true) break; case 530: @@ -6404,26 +7987,34 @@ case 530: this.state = 535; if (_diferenciadias<=_c4.GetInt("CAT_CL_DIASCREDITO")+1) { this.state = 532; -}else if(_diferenciadias>_c4.GetInt("CAT_CL_DIASCREDITO")+1) { +}else +{RDebugUtils.currentLine=50463498; + //BA.debugLineNum = 50463498;BA.debugLine="Else If DiferenciaDias > c4.GetInt(\"CAT_CL_DIAS"; +if (_diferenciadias>_c4.GetInt("CAT_CL_DIASCREDITO")+1) { this.state = 534; -}if (true) break; +}} +if (true) break; case 532: //C this.state = 535; - //BA.debugLineNum = 1327;BA.debugLine="l_credito.Color = Colors.Green"; -parent._l_credito.setColor(parent.__c.Colors.Green); - //BA.debugLineNum = 1328;BA.debugLine="l_limite.Color = Colors.Green"; -parent._l_limite.setColor(parent.__c.Colors.Green); +RDebugUtils.currentLine=50463496; + //BA.debugLineNum = 50463496;BA.debugLine="l_credito.Color = Colors.Green"; +__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Green); +RDebugUtils.currentLine=50463497; + //BA.debugLineNum = 50463497;BA.debugLine="l_limite.Color = Colors.Green"; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Green); if (true) break; case 534: //C this.state = 535; - //BA.debugLineNum = 1330;BA.debugLine="l_credito.Color = Colors.Red"; -parent._l_credito.setColor(parent.__c.Colors.Red); - //BA.debugLineNum = 1331;BA.debugLine="l_limite.Color = Colors.Red"; -parent._l_limite.setColor(parent.__c.Colors.Red); +RDebugUtils.currentLine=50463499; + //BA.debugLineNum = 50463499;BA.debugLine="l_credito.Color = Colors.Red"; +__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Red); +RDebugUtils.currentLine=50463500; + //BA.debugLineNum = 50463500;BA.debugLine="l_limite.Color = Colors.Red"; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Red); if (true) break; case 535: @@ -6435,55 +8026,71 @@ this.state = 538; case 537: //C this.state = 538; - //BA.debugLineNum = 1334;BA.debugLine="l_credito.Color = Colors.Transparent"; -parent._l_credito.setColor(parent.__c.Colors.Transparent); - //BA.debugLineNum = 1335;BA.debugLine="l_limite.Color = Colors.Transparent"; -parent._l_limite.setColor(parent.__c.Colors.Transparent); +RDebugUtils.currentLine=50463503; + //BA.debugLineNum = 50463503;BA.debugLine="l_credito.Color = Colors.Transparent"; +__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Transparent); +RDebugUtils.currentLine=50463504; + //BA.debugLineNum = 50463504;BA.debugLine="l_limite.Color = Colors.Transparent"; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Transparent); if (true) break; case 538: //C this.state = 541; ; - //BA.debugLineNum = 1337;BA.debugLine="l_credito.Visible = True"; -parent._l_credito.setVisible(parent.__c.True); - //BA.debugLineNum = 1338;BA.debugLine="l_limite.Visible = True"; -parent._l_limite.setVisible(parent.__c.True); - //BA.debugLineNum = 1339;BA.debugLine="l_limite.Text = c.GetInt(\"CAT_CL_LIMITECREDITO\""; -parent._l_limite.setText(BA.ObjectToCharSequence(parent._c.GetInt("CAT_CL_LIMITECREDITO"))); +RDebugUtils.currentLine=50463506; + //BA.debugLineNum = 50463506;BA.debugLine="l_credito.Visible = True"; +__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50463507; + //BA.debugLineNum = 50463507;BA.debugLine="l_limite.Visible = True"; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=50463508; + //BA.debugLineNum = 50463508;BA.debugLine="l_limite.Text = c.GetInt(\"CAT_CL_LIMITECREDITO\""; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_LIMITECREDITO"))); if (true) break; case 540: //C this.state = 541; - //BA.debugLineNum = 1341;BA.debugLine="l_credito.Visible = False"; -parent._l_credito.setVisible(parent.__c.False); - //BA.debugLineNum = 1342;BA.debugLine="l_limite.Visible = False"; -parent._l_limite.setVisible(parent.__c.False); +RDebugUtils.currentLine=50463510; + //BA.debugLineNum = 50463510;BA.debugLine="l_credito.Visible = False"; +__ref._l_credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463511; + //BA.debugLineNum = 50463511;BA.debugLine="l_limite.Visible = False"; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); if (true) break; case 541: //C this.state = 542; ; - //BA.debugLineNum = 1346;BA.debugLine="Tels.Visible = False"; -parent._tels.setVisible(parent.__c.False); - //BA.debugLineNum = 1347;BA.debugLine="gest.Visible = False"; -parent._gest.setVisible(parent.__c.False); - //BA.debugLineNum = 1348;BA.debugLine="b_preventa2.Visible = False"; -parent._b_preventa2.setVisible(parent.__c.False); - //BA.debugLineNum = 1350;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt"; +RDebugUtils.currentLine=50463515; + //BA.debugLineNum = 50463515;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463516; + //BA.debugLineNum = 50463516;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463517; + //BA.debugLineNum = 50463517;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=50463519; + //BA.debugLineNum = 50463519;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt"; _coloressaldo = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _coloressaldo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR3,0) AS CAT_CL_CLASIFICADOR3, IFNULL(CAT_CL_CLASIFICADOR4,0) AS CAT_CL_CLASIFICADOR4, IFNULL(CAT_CL_CLASIFICADOR2,'') AS CAT_CL_CLASIFICADOR2 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 1351;BA.debugLine="coloressaldo.Position = 0"; +RDebugUtils.currentLine=50463520; + //BA.debugLineNum = 50463520;BA.debugLine="coloressaldo.Position = 0"; _coloressaldo.setPosition((int) (0)); - //BA.debugLineNum = 1352;BA.debugLine="la_saldooper.Text = NumberFormat2(coloressaldo.Ge"; -parent._la_saldooper.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(_coloressaldo.GetDouble("CAT_CL_CLASIFICADOR3"),(int) (0),(int) (0),(int) (0),parent.__c.False))); - //BA.debugLineNum = 1353;BA.debugLine="l_cajetillas.Text = NumberFormat2(coloressaldo.Ge"; -parent._l_cajetillas.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(_coloressaldo.GetDouble("CAT_CL_CLASIFICADOR4"),(int) (0),(int) (0),(int) (0),parent.__c.False))); - //BA.debugLineNum = 1354;BA.debugLine="l_animal.Text = coloressaldo.GetString(\"CAT_CL_CL"; -parent._l_animal.setText(BA.ObjectToCharSequence(_coloressaldo.GetString("CAT_CL_CLASIFICADOR2"))); - //BA.debugLineNum = 1355;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\")"; +RDebugUtils.currentLine=50463521; + //BA.debugLineNum = 50463521;BA.debugLine="la_saldooper.Text = NumberFormat2(coloressaldo.Ge"; +__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(_coloressaldo.GetDouble("CAT_CL_CLASIFICADOR3"),(int) (0),(int) (0),(int) (0),parent.__c.False))); +RDebugUtils.currentLine=50463522; + //BA.debugLineNum = 50463522;BA.debugLine="l_cajetillas.Text = NumberFormat2(coloressaldo.Ge"; +__ref._l_cajetillas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(_coloressaldo.GetDouble("CAT_CL_CLASIFICADOR4"),(int) (0),(int) (0),(int) (0),parent.__c.False))); +RDebugUtils.currentLine=50463523; + //BA.debugLineNum = 50463523;BA.debugLine="l_animal.Text = coloressaldo.GetString(\"CAT_CL_CL"; +__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_coloressaldo.GetString("CAT_CL_CLASIFICADOR2"))); +RDebugUtils.currentLine=50463524; + //BA.debugLineNum = 50463524;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\")"; if (true) break; case 542: @@ -6491,3161 +8098,1755 @@ case 542: this.state = 553; if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Chimpancé KIN")) { this.state = 544; -}else if((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Delfín Niky")) { +}else +{RDebugUtils.currentLine=50463527; + //BA.debugLineNum = 50463527;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD"; +if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Delfín Niky")) { this.state = 546; -}else if((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Tortuga KOPI")) { +}else +{RDebugUtils.currentLine=50463530; + //BA.debugLineNum = 50463530;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD"; +if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Tortuga KOPI")) { this.state = 548; -}else if((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Lechuza MON")) { +}else +{RDebugUtils.currentLine=50463533; + //BA.debugLineNum = 50463533;BA.debugLine="Else If coloressaldo.GetString(\"CAT_CL_CLASIFICAD"; +if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Lechuza MON")) { this.state = 550; }else { this.state = 552; -}if (true) break; +}}}} +if (true) break; case 544: //C this.state = 553; - //BA.debugLineNum = 1356;BA.debugLine="l_animal.Color = Colors.RGB(84,255,172)"; -parent._l_animal.setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (172))); - //BA.debugLineNum = 1357;BA.debugLine="Label22.Color = Colors.RGB(84,255,172)"; -parent._label22.setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (172))); +RDebugUtils.currentLine=50463525; + //BA.debugLineNum = 50463525;BA.debugLine="l_animal.Color = Colors.RGB(84,255,172)"; +__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (172))); +RDebugUtils.currentLine=50463526; + //BA.debugLineNum = 50463526;BA.debugLine="Label22.Color = Colors.RGB(84,255,172)"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (172))); if (true) break; case 546: //C this.state = 553; - //BA.debugLineNum = 1359;BA.debugLine="l_animal.Color = Colors.RGB(84,255,245)"; -parent._l_animal.setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (245))); - //BA.debugLineNum = 1360;BA.debugLine="Label22.Color = Colors.RGB(84,255,245)"; -parent._label22.setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (245))); +RDebugUtils.currentLine=50463528; + //BA.debugLineNum = 50463528;BA.debugLine="l_animal.Color = Colors.RGB(84,255,245)"; +__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (245))); +RDebugUtils.currentLine=50463529; + //BA.debugLineNum = 50463529;BA.debugLine="Label22.Color = Colors.RGB(84,255,245)"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (245))); if (true) break; case 548: //C this.state = 553; - //BA.debugLineNum = 1362;BA.debugLine="l_animal.Color = Colors.RGB(255,123,84)"; -parent._l_animal.setColor(parent.__c.Colors.RGB((int) (255),(int) (123),(int) (84))); - //BA.debugLineNum = 1363;BA.debugLine="Label22.Color = Colors.RGB(255,123,84)"; -parent._label22.setColor(parent.__c.Colors.RGB((int) (255),(int) (123),(int) (84))); +RDebugUtils.currentLine=50463531; + //BA.debugLineNum = 50463531;BA.debugLine="l_animal.Color = Colors.RGB(255,123,84)"; +__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (255),(int) (123),(int) (84))); +RDebugUtils.currentLine=50463532; + //BA.debugLineNum = 50463532;BA.debugLine="Label22.Color = Colors.RGB(255,123,84)"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (255),(int) (123),(int) (84))); if (true) break; case 550: //C this.state = 553; - //BA.debugLineNum = 1365;BA.debugLine="l_animal.Color = Colors.RGB(255,250,140)"; -parent._l_animal.setColor(parent.__c.Colors.RGB((int) (255),(int) (250),(int) (140))); - //BA.debugLineNum = 1366;BA.debugLine="Label22.Color = Colors.RGB(255,250,140)"; -parent._label22.setColor(parent.__c.Colors.RGB((int) (255),(int) (250),(int) (140))); +RDebugUtils.currentLine=50463534; + //BA.debugLineNum = 50463534;BA.debugLine="l_animal.Color = Colors.RGB(255,250,140)"; +__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (255),(int) (250),(int) (140))); +RDebugUtils.currentLine=50463535; + //BA.debugLineNum = 50463535;BA.debugLine="Label22.Color = Colors.RGB(255,250,140)"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.RGB((int) (255),(int) (250),(int) (140))); if (true) break; case 552: //C this.state = 553; - //BA.debugLineNum = 1368;BA.debugLine="l_animal.Color = Colors.Transparent"; -parent._l_animal.setColor(parent.__c.Colors.Transparent); - //BA.debugLineNum = 1369;BA.debugLine="Label22.Color = Colors.Transparent"; -parent._label22.setColor(parent.__c.Colors.Transparent); +RDebugUtils.currentLine=50463537; + //BA.debugLineNum = 50463537;BA.debugLine="l_animal.Color = Colors.Transparent"; +__ref._l_animal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Transparent); +RDebugUtils.currentLine=50463538; + //BA.debugLineNum = 50463538;BA.debugLine="Label22.Color = Colors.Transparent"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor(parent.__c.Colors.Transparent); if (true) break; case 553: //C this.state = -1; ; - //BA.debugLineNum = 1374;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50463543; + //BA.debugLineNum = 50463543;BA.debugLine="End Sub"; if (true) break; } } } } -public void _b4xpage_permissionresult(String _permission,boolean _resultc) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -gunav2.keymon.com.mx.c_cliente parent; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 2940;BA.debugLine="cuest.encuestaIniciada = False"; -parent._cuest._encuestainiciada /*boolean*/ = parent.__c.False; - //BA.debugLineNum = 2941;BA.debugLine="cuest.ocultPanelPregunta"; -parent._cuest._ocultpanelpregunta /*String*/ (); - //BA.debugLineNum = 2942;BA.debugLine="If bitacora.p_transparenteInicioFin2.Visible And"; -if (true) break; - -case 1: -//if -this.state = 16; -if (parent._bitacora._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible() && (parent._bitacora._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getText()).equals("TERMINAR VISITA")) { -this.state = 3; -}else if(parent._subs._haypedido /*boolean*/ (ba)) { -this.state = 5; -}else if(parent._p_encuesta.getVisible()) { -this.state = 7; -}else if(parent._p_camara.getVisible()) { -this.state = 9; -}else if(parent._p_pregunta1.getVisible()) { -this.state = 11; -}else if(parent._sv_encuesta.getVisible()) { -this.state = 13; -}else { -this.state = 15; -}if (true) break; - -case 3: -//C -this.state = 16; - //BA.debugLineNum = 2943;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor presione el botón de TERMINAR VISITA"),parent.__c.True); - //BA.debugLineNum = 2944;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 5: -//C -this.state = 16; - //BA.debugLineNum = 2946;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor presione el botón de GUARDAR"),parent.__c.True); - //BA.debugLineNum = 2947;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 7: -//C -this.state = 16; - //BA.debugLineNum = 2949;BA.debugLine="p_encuesta.Visible = False"; -parent._p_encuesta.setVisible(parent.__c.False); - if (true) break; - -case 9: -//C -this.state = 16; - //BA.debugLineNum = 2951;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 11: -//C -this.state = 16; - //BA.debugLineNum = 2955;BA.debugLine="p_pregunta1.Visible = False"; -parent._p_pregunta1.setVisible(parent.__c.False); - if (true) break; - -case 13: -//C -this.state = 16; - //BA.debugLineNum = 2957;BA.debugLine="SV_ENCUESTA.visible = False"; -parent._sv_encuesta.setVisible(parent.__c.False); - //BA.debugLineNum = 2958;BA.debugLine="p_cliente.Visible = True"; -parent._p_cliente.setVisible(parent.__c.True); - if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 2961;BA.debugLine="Starter.enCliente = False"; -parent._starter._encliente /*boolean*/ = parent.__c.False; - //BA.debugLineNum = 2962;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -parent._b4xpages._showpage /*String*/ (ba,"Clientes"); - if (true) break; - -case 16: -//C -this.state = -1; +public String _b_guarda_c_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_guarda_c_click", false)) + {return ((String) Debug.delegate(ba, "b_guarda_c_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null; +RDebugUtils.currentLine=54525952; + //BA.debugLineNum = 54525952;BA.debugLine="Sub B_GUARDA_C_Click"; +RDebugUtils.currentLine=54525953; + //BA.debugLineNum = 54525953;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=54525954; + //BA.debugLineNum = 54525954;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=54525955; + //BA.debugLineNum = 54525955;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=54525956; + //BA.debugLineNum = 54525956;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=54525957; + //BA.debugLineNum = 54525957;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54525958; + //BA.debugLineNum = 54525958;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=54525959; + //BA.debugLineNum = 54525959;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54525960; + //BA.debugLineNum = 54525960;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=54525961; + //BA.debugLineNum = 54525961;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54525962; + //BA.debugLineNum = 54525962;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=54525963; + //BA.debugLineNum = 54525963;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54525964; + //BA.debugLineNum = 54525964;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("4"),(Object)(.01),(Object)(.01),(Object)(2),(Object)("KNORR RINDE MAS 70 GR"),(Object)("GUNA2"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )})); +RDebugUtils.currentLine=54525965; + //BA.debugLineNum = 54525965;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._i_compra /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._la_ruta /*String*/ ),(Object)(__ref._almacen /*String*/ )})); +RDebugUtils.currentLine=54525966; + //BA.debugLineNum = 54525966;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54525967; + //BA.debugLineNum = 54525967;BA.debugLine="b_like.Visible = True"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=54525968; + //BA.debugLineNum = 54525968;BA.debugLine="Tar.Visible = True"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=54525969; + //BA.debugLineNum = 54525969;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=54525970; + //BA.debugLineNum = 54525970;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=54525971; + //BA.debugLineNum = 54525971;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=54525972; + //BA.debugLineNum = 54525972;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=54525973; + //BA.debugLineNum = 54525973;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=54525974; + //BA.debugLineNum = 54525974;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=54525975; + //BA.debugLineNum = 54525975;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=54525976; + //BA.debugLineNum = 54525976;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=54525977; + //BA.debugLineNum = 54525977;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} ; - //BA.debugLineNum = 2965;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 2966;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 488;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 489;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 492;BA.debugLine="Root.LoadLayout(\"cliente\")"; -_root.LoadLayout("cliente",ba); - //BA.debugLineNum = 493;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 494;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 495;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); }; - //BA.debugLineNum = 497;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -_skmt.Initialize(_ruta,"kmt.db",__c.True); - //BA.debugLineNum = 498;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 499;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 500;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 501;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 502;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 503;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -_la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 504;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")"; -_cuenta = _c.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 505;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -_la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 506;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c."; -_la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+_c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 507;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -_la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 508;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -_la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 510;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -_l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 511;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -_l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 512;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -_l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); - //BA.debugLineNum = 513;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; -_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); - //BA.debugLineNum = 514;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\""; -_la_saldotot.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 515;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; -_la_saldooper.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EMAIL"))); - //BA.debugLineNum = 516;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; -_l_total.setText(BA.ObjectToCharSequence(_s.GetString("TOTAL_CLIE"))); - //BA.debugLineNum = 517;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; -_total_cliente = _s.GetString("TOTAL_CLIE"); - //BA.debugLineNum = 518;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")"; -_monto_compra = _c.GetString("CAT_CL_MTOCOMPRA"); - }; - //BA.debugLineNum = 520;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 521;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 522;BA.debugLine="File.Copy(File.DirAssets,\"guna-fondo.jpg\",xui.Def"; -__c.File.Copy(__c.File.getDirAssets(),"guna-fondo.jpg",_xui.getDefaultFolder(),"guna-fondo.jpg"); - //BA.debugLineNum = 523;BA.debugLine="TOMAR_FOTO = 0"; -_tomar_foto = BA.NumberToString(0); - //BA.debugLineNum = 524;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; -_btadmin.Initialize(ba,"BlueTeeth"); - //BA.debugLineNum = 525;BA.debugLine="cmp20.Initialize(\"Printer\")"; -_cmp20.Initialize("Printer"); - //BA.debugLineNum = 526;BA.debugLine="SV_ENCUESTA.Height = Root.Height"; -_sv_encuesta.setHeight(_root.getHeight()); - //BA.debugLineNum = 527;BA.debugLine="SV_ENCUESTA.Width = Root.Height"; -_sv_encuesta.setWidth(_root.getHeight()); - //BA.debugLineNum = 528;BA.debugLine="p_pregunta1.Height = Root.Height"; -_p_pregunta1.setHeight(_root.getHeight()); - //BA.debugLineNum = 529;BA.debugLine="p_pregunta1.Width = Root.Height"; -_p_pregunta1.setWidth(_root.getHeight()); - //BA.debugLineNum = 530;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar"; -_p_transparenteticketimpreso.setLeft((int) (0)); - //BA.debugLineNum = 530;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar"; -_p_transparenteticketimpreso.setTop((int) (0)); - //BA.debugLineNum = 531;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to"; -_p_transparentepdf.setLeft((int) (0)); - //BA.debugLineNum = 531;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to"; -_p_transparentepdf.setTop((int) (0)); - //BA.debugLineNum = 532;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :"; -_p_transparenteticketimpreso.setWidth(_root.getWidth()); - //BA.debugLineNum = 532;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :"; -_p_transparenteticketimpreso.setHeight(_root.getHeight()); - //BA.debugLineNum = 533;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar"; -_p_transparentepdf.setWidth(_root.getWidth()); - //BA.debugLineNum = 533;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar"; -_p_transparentepdf.setHeight(_root.getHeight()); - //BA.debugLineNum = 534;BA.debugLine="Subs.centraPanel(p_ticketImpreso, p_transparenteT"; -_subs._centrapanel /*String*/ (ba,_p_ticketimpreso,_p_transparenteticketimpreso.getWidth()); - //BA.debugLineNum = 535;BA.debugLine="Subs.centraPanel(p_envioPDF, p_transparentePDF.Wi"; -_subs._centrapanel /*String*/ (ba,_p_enviopdf,_p_transparentepdf.getWidth()); - //BA.debugLineNum = 536;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0"; -_p_comentario.setLeft((int) (0)); - //BA.debugLineNum = 536;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0"; -_p_comentario.setTop((int) (0)); - //BA.debugLineNum = 537;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He"; -_p_comentario.setWidth(_root.getWidth()); - //BA.debugLineNum = 537;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He"; -_p_comentario.setHeight(_root.getHeight()); - //BA.debugLineNum = 538;BA.debugLine="Subs.centraPanel(p_comentarios, p_comentario.Widt"; -_subs._centrapanel /*String*/ (ba,_p_comentarios,_p_comentario.getWidth()); - //BA.debugLineNum = 539;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 540;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 541;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 542;BA.debugLine="l_version.Left = Root.Width - (l_version.Width +"; -_l_version.setLeft((int) (_root.getWidth()-(_l_version.getWidth()+10))); - //BA.debugLineNum = 543;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, B4XPages.Main"; -_cuest._initialize /*Object*/ (ba,this,"cuest",_root,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ); - //BA.debugLineNum = 544;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; -_bitacora._initialize /*Object*/ (ba,(Object)("bitacora"),"bitacora",_root,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,_reqmanager); - //BA.debugLineNum = 545;BA.debugLine="l_version.Left = Root.Width - l_version.Width"; -_l_version.setLeft((int) (_root.getWidth()-_l_version.getWidth())); - //BA.debugLineNum = 547;BA.debugLine="End Sub"; +RDebugUtils.currentLine=54525980; + //BA.debugLineNum = 54525980;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54525981; + //BA.debugLineNum = 54525981;BA.debugLine="Guardar.Visible = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=54525982; + //BA.debugLineNum = 54525982;BA.debugLine="End Sub"; return ""; } -public String _bt_qr_click() throws Exception{ - //BA.debugLineNum = 3080;BA.debugLine="Sub BT_QR_Click"; - //BA.debugLineNum = 3081;BA.debugLine="sc.isportrait = True"; -_sc.isportrait = __c.True; - //BA.debugLineNum = 3082;BA.debugLine="sc.timeoutDuration = 45"; -_sc.timeoutDuration = (int) (45); - //BA.debugLineNum = 3083;BA.debugLine="sc.theViewFinderXfactor = 0.7"; -_sc.theViewFinderXfactor = 0.7; - //BA.debugLineNum = 3084;BA.debugLine="sc.theViewFinderYfactor = 0.5"; -_sc.theViewFinderYfactor = 0.5; - //BA.debugLineNum = 3085;BA.debugLine="sc.theResultColor = Colors.Green"; -_sc.theResultColor = __c.Colors.Green; - //BA.debugLineNum = 3086;BA.debugLine="sc.mustVibrate = True"; -_sc.mustVibrate = __c.True; - //BA.debugLineNum = 3087;BA.debugLine="sc.BeginScan(\"sc\")"; -_sc.BeginScan(ba,"sc"); - //BA.debugLineNum = 3088;BA.debugLine="End Sub"; +public String _b_guarda_ce_ped_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_guarda_ce_ped_click", false)) + {return ((String) Debug.delegate(ba, "b_guarda_ce_ped_click", null));} +RDebugUtils.currentLine=58195968; + //BA.debugLineNum = 58195968;BA.debugLine="Private Sub B_GUARDA_CE_PED_Click"; +RDebugUtils.currentLine=58195970; + //BA.debugLineNum = 58195970;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=58195971; + //BA.debugLineNum = 58195971;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=58195972; + //BA.debugLineNum = 58195972;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=58195973; + //BA.debugLineNum = 58195973;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=58195974; + //BA.debugLineNum = 58195974;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=58195975; + //BA.debugLineNum = 58195975;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=58195976; + //BA.debugLineNum = 58195976;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=58195977; + //BA.debugLineNum = 58195977;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=58195978; + //BA.debugLineNum = 58195978;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=58195979; + //BA.debugLineNum = 58195979;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=58195980; + //BA.debugLineNum = 58195980;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=58195981; + //BA.debugLineNum = 58195981;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=58195982; + //BA.debugLineNum = 58195982;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=58195983; + //BA.debugLineNum = 58195983;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=58195984; + //BA.debugLineNum = 58195984;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); + }; +RDebugUtils.currentLine=58195986; + //BA.debugLineNum = 58195986;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=58196003; + //BA.debugLineNum = 58196003;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA_PED_DIST_1(ALMACEN , TIENDA , KP_01 , KP_02 , KP_03 , KP_04 , KP_05 , KP_06 , KP_07 , KP_08 , KP_09 , KP_10 , KP_11 , KP_12 , KP_13 , KP_14 , KP_15 , KP_16 , KP_17 , KP_18 , KP_19 , KP_20 , KG_01 , KG_02 , KG_03 , KG_04 , KG_05 , KG_06 , PK_01 , PK_02 , PK_03 , PK_04 , PK_05 , PK_06 , PK_07 , PK_08) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._kp_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_05 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_06 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_07 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_08 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_09 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_10 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_12 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_14 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kp_20 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_05 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._kg_06 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_05 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_06 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_07 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._pk_08 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked())})); +RDebugUtils.currentLine=58196005; + //BA.debugLineNum = 58196005;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA_PED_DIST_2(ALMACEN , TIENDA , HPG_01 , HPG_02 , HPG_03 , HPG_04 , HPG_05 , HPG_06 , HPG_07 , HPG_08 , HPG_09 , HPG_10 , HC_01 , HC_02 , HC_03 , HC_04 , B_01 , B_02) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._hpg_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_05 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_06 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_07 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_08 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_09 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hpg_10 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hc_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hc_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hc_03 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._hc_04 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._b_01 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()),(Object)(__ref._b_02 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked())})); +RDebugUtils.currentLine=58196018; + //BA.debugLineNum = 58196018;BA.debugLine="I_COMPRA.TEXT = \"\""; +__ref._i_compra /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=58196019; + //BA.debugLineNum = 58196019;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=58196020; + //BA.debugLineNum = 58196020;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=58196022; + //BA.debugLineNum = 58196022;BA.debugLine="b_like.Visible = True"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=58196023; + //BA.debugLineNum = 58196023;BA.debugLine="Tar.Visible = True"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=58196024; + //BA.debugLineNum = 58196024;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=58196025; + //BA.debugLineNum = 58196025;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=58196027; + //BA.debugLineNum = 58196027;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=58196028; + //BA.debugLineNum = 58196028;BA.debugLine="Guardar.Visible = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=58196030; + //BA.debugLineNum = 58196030;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=58196032; + //BA.debugLineNum = 58196032;BA.debugLine="End Sub"; return ""; } -public String _btnaceptaplanlealtad_click() throws Exception{ - //BA.debugLineNum = 7522;BA.debugLine="Private Sub btnAceptaPlanLealtad_Click"; - //BA.debugLineNum = 7524;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM PLAN_LE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 7525;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 7526;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 7528;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert int"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into PLAN_LEALTAD (PL_BANDERA, PL_CLIENTE) values ('1','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"')")); - //BA.debugLineNum = 7529;BA.debugLine="pnlPlanLealtad.Visible = False"; -_pnlplanlealtad.setVisible(__c.False); - //BA.debugLineNum = 7530;BA.debugLine="Log(\"AQUI\")"; -__c.LogImpl("463045640","AQUI",0); - //BA.debugLineNum = 7531;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +public String _b_guardaencuesta_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_guardaencuesta_click", false)) + {return ((String) Debug.delegate(ba, "b_guardaencuesta_click", null));} +String _si_guardar = ""; +RDebugUtils.currentLine=52690944; + //BA.debugLineNum = 52690944;BA.debugLine="Sub B_guardaencuesta_Click"; +RDebugUtils.currentLine=52690945; + //BA.debugLineNum = 52690945;BA.debugLine="Dim SI_GUARDAR As String"; +_si_guardar = ""; +RDebugUtils.currentLine=52690946; + //BA.debugLineNum = 52690946;BA.debugLine="SI_GUARDAR = 1"; +_si_guardar = BA.NumberToString(1); +RDebugUtils.currentLine=52690948; + //BA.debugLineNum = 52690948;BA.debugLine="If RB1_E1.Checked = False And RB2_E1.Checked = Fa"; +if (__ref._rb1_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._rb2_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._rb3_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=52690949; + //BA.debugLineNum = 52690949;BA.debugLine="SI_GUARDAR = 0"; +_si_guardar = BA.NumberToString(0); + }; +RDebugUtils.currentLine=52690952; + //BA.debugLineNum = 52690952;BA.debugLine="If Panel7.Visible = True Then"; +if (__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=52690953; + //BA.debugLineNum = 52690953;BA.debugLine="If RadioButton15.Checked = False And RadioButton"; +if (__ref._radiobutton15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=52690954; + //BA.debugLineNum = 52690954;BA.debugLine="SI_GUARDAR = 0"; +_si_guardar = BA.NumberToString(0); + }; + }; +RDebugUtils.currentLine=52690958; + //BA.debugLineNum = 52690958;BA.debugLine="If RadioButton1.Checked = False And RadioButton2"; +if (__ref._radiobutton1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=52690959; + //BA.debugLineNum = 52690959;BA.debugLine="SI_GUARDAR = 0"; +_si_guardar = BA.NumberToString(0); + }; +RDebugUtils.currentLine=52690962; + //BA.debugLineNum = 52690962;BA.debugLine="If RadioButton5.Checked = False And RadioButton6"; +if (__ref._radiobutton5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=52690963; + //BA.debugLineNum = 52690963;BA.debugLine="SI_GUARDAR = 0"; +_si_guardar = BA.NumberToString(0); + }; +RDebugUtils.currentLine=52690966; + //BA.debugLineNum = 52690966;BA.debugLine="If RadioButton10.Checked = False And RadioButton"; +if (__ref._radiobutton10 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton12 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._radiobutton14 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=52690967; + //BA.debugLineNum = 52690967;BA.debugLine="SI_GUARDAR = 0"; +_si_guardar = BA.NumberToString(0); + }; +RDebugUtils.currentLine=52690970; + //BA.debugLineNum = 52690970;BA.debugLine="If p6.Text = \"\" Then"; +if ((__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=52690971; + //BA.debugLineNum = 52690971;BA.debugLine="SI_GUARDAR = 0"; +_si_guardar = BA.NumberToString(0); + }; +RDebugUtils.currentLine=52690973; + //BA.debugLineNum = 52690973;BA.debugLine="If p7.Text = \"\" Then"; +if ((__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=52690974; + //BA.debugLineNum = 52690974;BA.debugLine="SI_GUARDAR = 0"; +_si_guardar = BA.NumberToString(0); + }; +RDebugUtils.currentLine=52690976; + //BA.debugLineNum = 52690976;BA.debugLine="If p8.Text = \"\" Then"; +if ((__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=52690977; + //BA.debugLineNum = 52690977;BA.debugLine="SI_GUARDAR = 0"; +_si_guardar = BA.NumberToString(0); + }; +RDebugUtils.currentLine=52690980; + //BA.debugLineNum = 52690980;BA.debugLine="If CheckBox1.Checked = False And CheckBox2.Checke"; +if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=52690981; + //BA.debugLineNum = 52690981;BA.debugLine="encuentasmapa.Put(\"P9\", \"\")"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)("")); +RDebugUtils.currentLine=52690982; + //BA.debugLineNum = 52690982;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("052690982",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); + }; +RDebugUtils.currentLine=52690985; + //BA.debugLineNum = 52690985;BA.debugLine="If SI_GUARDAR = 1 Then"; +if ((_si_guardar).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=52690986; + //BA.debugLineNum = 52690986;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO1"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO1 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P3")),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P1")),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P2")),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P4")),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P5")),(Object)(__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("P9"))})); +RDebugUtils.currentLine=52690992; + //BA.debugLineNum = 52690992;BA.debugLine="RB1_E1.Checked = False"; +__ref._rb1_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52690993; + //BA.debugLineNum = 52690993;BA.debugLine="RB2_E1.Checked = False"; +__ref._rb2_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52690994; + //BA.debugLineNum = 52690994;BA.debugLine="RB3_E1.Checked = False"; +__ref._rb3_e1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52690995; + //BA.debugLineNum = 52690995;BA.debugLine="RadioButton15.Checked = False"; +__ref._radiobutton15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52690996; + //BA.debugLineNum = 52690996;BA.debugLine="RadioButton16.Checked = False"; +__ref._radiobutton16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52690997; + //BA.debugLineNum = 52690997;BA.debugLine="RadioButton17.Checked = False"; +__ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52690998; + //BA.debugLineNum = 52690998;BA.debugLine="RadioButton1.Checked = False"; +__ref._radiobutton1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52690999; + //BA.debugLineNum = 52690999;BA.debugLine="RadioButton2.Checked = False"; +__ref._radiobutton2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691000; + //BA.debugLineNum = 52691000;BA.debugLine="RadioButton3.Checked = False"; +__ref._radiobutton3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691001; + //BA.debugLineNum = 52691001;BA.debugLine="RadioButton4.Checked = False"; +__ref._radiobutton4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691002; + //BA.debugLineNum = 52691002;BA.debugLine="RadioButton5.Checked = False"; +__ref._radiobutton5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691003; + //BA.debugLineNum = 52691003;BA.debugLine="RadioButton6.Checked = False"; +__ref._radiobutton6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691004; + //BA.debugLineNum = 52691004;BA.debugLine="RadioButton7.Checked = False"; +__ref._radiobutton7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691005; + //BA.debugLineNum = 52691005;BA.debugLine="RadioButton8.Checked = False"; +__ref._radiobutton8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691006; + //BA.debugLineNum = 52691006;BA.debugLine="RadioButton9.Checked = False"; +__ref._radiobutton9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691007; + //BA.debugLineNum = 52691007;BA.debugLine="RadioButton10.Checked = False"; +__ref._radiobutton10 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691008; + //BA.debugLineNum = 52691008;BA.debugLine="RadioButton11.Checked = False"; +__ref._radiobutton11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691009; + //BA.debugLineNum = 52691009;BA.debugLine="RadioButton12.Checked = False"; +__ref._radiobutton12 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691010; + //BA.debugLineNum = 52691010;BA.debugLine="RadioButton13.Checked = False"; +__ref._radiobutton13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691011; + //BA.debugLineNum = 52691011;BA.debugLine="RadioButton14.Checked = False"; +__ref._radiobutton14 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691012; + //BA.debugLineNum = 52691012;BA.debugLine="p6.Text = \"\""; +__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=52691013; + //BA.debugLineNum = 52691013;BA.debugLine="p7.Text = \"\""; +__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=52691014; + //BA.debugLineNum = 52691014;BA.debugLine="p8.Text = \"\""; +__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=52691015; + //BA.debugLineNum = 52691015;BA.debugLine="CheckBox1.Checked = False"; +__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691016; + //BA.debugLineNum = 52691016;BA.debugLine="CheckBox2.Checked = False"; +__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691017; + //BA.debugLineNum = 52691017;BA.debugLine="CheckBox3.Checked = False"; +__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691018; + //BA.debugLineNum = 52691018;BA.debugLine="CheckBox4.Checked = False"; +__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691019; + //BA.debugLineNum = 52691019;BA.debugLine="CheckBox5.Checked = False"; +__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691020; + //BA.debugLineNum = 52691020;BA.debugLine="CheckBox6.Checked = False"; +__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691021; + //BA.debugLineNum = 52691021;BA.debugLine="CheckBox7.Checked = False"; +__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691022; + //BA.debugLineNum = 52691022;BA.debugLine="CheckBox8.Checked = False"; +__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=52691024; + //BA.debugLineNum = 52691024;BA.debugLine="If ENCUESTA > 1 Then"; +if ((double)(Double.parseDouble(__ref._encuesta /*String*/ ))>1) { +RDebugUtils.currentLine=52691026; + //BA.debugLineNum = 52691026;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible Then"; +if (__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=52691027; + //BA.debugLineNum = 52691027;BA.debugLine="p_m1.Visible = False"; +__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); }else { - //BA.debugLineNum = 7533;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE PLAN_LEALTAD"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE PLAN_LEALTAD SET PL_BANDERA = 1 where PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")); - //BA.debugLineNum = 7534;BA.debugLine="pnlPlanLealtad.Visible = False"; -_pnlplanlealtad.setVisible(__c.False); - //BA.debugLineNum = 7535;BA.debugLine="Log(\"AQUI2\")"; -__c.LogImpl("463045645","AQUI2",0); - //BA.debugLineNum = 7536;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); }; - //BA.debugLineNum = 7538;BA.debugLine="End Sub"; -return ""; -} -public String _btncancelarplanlealtad_click() throws Exception{ - //BA.debugLineNum = 7518;BA.debugLine="Private Sub btnCancelarPlanLealtad_Click"; - //BA.debugLineNum = 7519;BA.debugLine="pnlPlanLealtad.Visible = False"; -_pnlplanlealtad.setVisible(__c.False); - //BA.debugLineNum = 7520;BA.debugLine="End Sub"; -return ""; -} -public String _btnplanlealtad_click() throws Exception{ - //BA.debugLineNum = 7513;BA.debugLine="Private Sub btnPlanLealtad_Click"; - //BA.debugLineNum = 7514;BA.debugLine="Subs.centraPanel(pnl_btns, pnlPlanLealtad.Width)"; -_subs._centrapanel /*String*/ (ba,_pnl_btns,_pnlplanlealtad.getWidth()); - //BA.debugLineNum = 7515;BA.debugLine="pnlPlanLealtad.Visible = True"; -_pnlplanlealtad.setVisible(__c.True); - //BA.debugLineNum = 7516;BA.debugLine="End Sub"; -return ""; -} -public String _calc_ean_checksum(String _number) throws Exception{ -int _i = 0; -char _co = '\0'; -int _soma = 0; -int _n = 0; -float _digit = 0f; - //BA.debugLineNum = 3123;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; - //BA.debugLineNum = 3124;BA.debugLine="Dim i As Int"; -_i = 0; - //BA.debugLineNum = 3125;BA.debugLine="Dim cO As Char"; -_co = '\0'; - //BA.debugLineNum = 3126;BA.debugLine="Dim soma As Int"; -_soma = 0; - //BA.debugLineNum = 3127;BA.debugLine="Dim n As Int"; -_n = 0; - //BA.debugLineNum = 3128;BA.debugLine="Dim digit As Float"; -_digit = 0f; - //BA.debugLineNum = 3129;BA.debugLine="soma = 0"; -_soma = (int) (0); - //BA.debugLineNum = 3130;BA.debugLine="For i=0 To number.Length - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_number.length()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 3131;BA.debugLine="digit = number.SubString2(i,i+1)"; -_digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1)))); - //BA.debugLineNum = 3132;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; -_n = (int) (_digit*((_i%2)*2+1)); - //BA.debugLineNum = 3133;BA.debugLine="soma=soma+n"; -_soma = (int) (_soma+_n); - } -}; - //BA.debugLineNum = 3135;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; -if (true) return _number+BA.NumberToString(((10-(_soma%10))%10)); - //BA.debugLineNum = 3136;BA.debugLine="End Sub"; -return ""; -} -public String _camera1_picturetaken(byte[] _data) throws Exception{ -String _filename = ""; -String _dirp = ""; -String _dir = ""; -String _dir2 = ""; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 7730;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)"; - //BA.debugLineNum = 7732;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; -__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 7733;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\""; -_nombrefoto = BA.NumberToString(__c.DateTime.getNow())+"_FOTO1.jpg"; - //BA.debugLineNum = 7734;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 7735;BA.debugLine="fototomada = nombrefoto"; -_fototomada = _nombrefoto; - //BA.debugLineNum = 7738;BA.debugLine="Log(\"tome foto\")"; -__c.LogImpl("463766536","tome foto",0); - //BA.debugLineNum = 7739;BA.debugLine="Dim filename As String = fototomada"; -_filename = _fototomada; - //BA.debugLineNum = 7740;BA.debugLine="Dim Dirp As String = File.DirInternal"; -_dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 7741;BA.debugLine="Dim Dir As String"; -_dir = ""; - //BA.debugLineNum = 7742;BA.debugLine="Dim Dir2 As String"; -_dir2 = ""; - //BA.debugLineNum = 7743;BA.debugLine="Try"; -try { //BA.debugLineNum = 7744;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; -__c.File.MakeDir(_dirp,"/md"); - //BA.debugLineNum = 7745;BA.debugLine="Dir = \"/md\""; -_dir = "/md"; - //BA.debugLineNum = 7746;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; -__c.LogImpl("463766544","creado en promotoria "+_dirp+_dir,0); - } - catch (Exception e15) { - ba.setLastException(e15); //BA.debugLineNum = 7748;BA.debugLine="Dir = \"\""; -_dir = ""; - //BA.debugLineNum = 7749;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("463766547","creado en raiz",0); - }; - //BA.debugLineNum = 7752;BA.debugLine="Try"; -try { //BA.debugLineNum = 7753;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; -__c.File.MakeDir(_dirp+_dir,"/reduccion"); - //BA.debugLineNum = 7754;BA.debugLine="Dir2 = \"/reduccion\""; -_dir2 = "/reduccion"; - //BA.debugLineNum = 7755;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; -__c.LogImpl("463766553","creado en promotoria "+_dirp+_dir+_dir2,0); - } - catch (Exception e23) { - ba.setLastException(e23); //BA.debugLineNum = 7757;BA.debugLine="Dir = \"\""; -_dir = ""; - //BA.debugLineNum = 7758;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("463766556","creado en raiz",0); - }; - //BA.debugLineNum = 7761;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)"; -_camex._savepicturetofile /*String*/ (_data,_dirp+_dir,_filename); - //BA.debugLineNum = 7762;BA.debugLine="camEx.StartPreview 'restart preview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 7764;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi"; -__c.LogImpl("463766562","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); - //BA.debugLineNum = 7765;BA.debugLine="p_camara.Visible = False"; -_p_camara.setVisible(__c.False); - //BA.debugLineNum = 7767;BA.debugLine="Log(nombrefoto)"; -__c.LogImpl("463766565",_nombrefoto,0); - //BA.debugLineNum = 7769;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File."; -_img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_img = _xui.LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (225),(int) (300),__c.True); - //BA.debugLineNum = 7770;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); - //BA.debugLineNum = 7771;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; -_img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 7774;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 7775;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal &"; -_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto).getObject())); - //BA.debugLineNum = 7777;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET foto = ("; -_skmt.ExecNonQuery2("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto))})); - //BA.debugLineNum = 7778;BA.debugLine="StopCamera2"; -_stopcamera2(); - //BA.debugLineNum = 7780;BA.debugLine="End Sub"; -return ""; -} -public String _camera1_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 7716;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; - //BA.debugLineNum = 7717;BA.debugLine="Log(\"Camara ready\")"; -__c.LogImpl("463700993","Camara ready",0); - //BA.debugLineNum = 7718;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 7719;BA.debugLine="camEx.SetJpegQuality(90)"; -_camex._setjpegquality /*String*/ ((int) (90)); - //BA.debugLineNum = 7720;BA.debugLine="camEx.SetContinuousAutoFocus"; -_camex._setcontinuousautofocus /*String*/ (); - //BA.debugLineNum = 7721;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 7722;BA.debugLine="camEx.StartPreview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 7723;BA.debugLine="Log(camEx.GetPreviewSize)"; -__c.LogImpl("463700999",BA.ObjectToString(_camex._getpreviewsize /*gunav2.keymon.com.mx.cameraexclass._camerasize*/ ()),0); +RDebugUtils.currentLine=52691031; + //BA.debugLineNum = 52691031;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52691032; + //BA.debugLineNum = 52691032;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52691033; + //BA.debugLineNum = 52691033;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=52691034; + //BA.debugLineNum = 52691034;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2\")"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ESNCUESTA_m2",ba); +RDebugUtils.currentLine=52691035; + //BA.debugLineNum = 52691035;BA.debugLine="p_m2.Width = Root.Width * 0.94"; +__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=52691036; + //BA.debugLineNum = 52691036;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 60"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60)); +RDebugUtils.currentLine=52691037; + //BA.debugLineNum = 52691037;BA.debugLine="Panel7_M2.Visible = False"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); }else { - //BA.debugLineNum = 7725;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); - //BA.debugLineNum = 7726;BA.debugLine="Log(\"Cannot open camera\")"; -__c.LogImpl("463701002","Cannot open camera",0); - }; - //BA.debugLineNum = 7728;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p1_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2771;BA.debugLine="Private Sub cb_p1_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2772;BA.debugLine="itemselect8 = Sender.As(B4XComboBox).SelectedItem"; -_itemselect8 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2773;BA.debugLine="Log(itemselect8)"; -__c.LogImpl("452035586",_itemselect8,0); - //BA.debugLineNum = 2774;BA.debugLine="Log(Index)"; -__c.LogImpl("452035587",BA.NumberToString(_index),0); - //BA.debugLineNum = 2775;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p2_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2777;BA.debugLine="Private Sub cb_p2_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2778;BA.debugLine="itemselect9 = Sender.As(B4XComboBox).SelectedItem"; -_itemselect9 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2779;BA.debugLine="Log(itemselect9)"; -__c.LogImpl("452101122",_itemselect9,0); - //BA.debugLineNum = 2780;BA.debugLine="Log(Index)"; -__c.LogImpl("452101123",BA.NumberToString(_index),0); - //BA.debugLineNum = 2781;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p3_m4_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2735;BA.debugLine="Private Sub cb_p3_m4_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2736;BA.debugLine="itemselect2 = Sender.As(B4XComboBox).SelectedItem"; -_itemselect2 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2737;BA.debugLine="Log(itemselect2)"; -__c.LogImpl("451642370",_itemselect2,0); - //BA.debugLineNum = 2738;BA.debugLine="Log(Index)"; -__c.LogImpl("451642371",BA.NumberToString(_index),0); - //BA.debugLineNum = 2739;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p3_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2783;BA.debugLine="Private Sub cb_p3_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2784;BA.debugLine="itemselect10 = Sender.As(B4XComboBox).SelectedIte"; -_itemselect10 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2785;BA.debugLine="Log(itemselect10)"; -__c.LogImpl("452166658",_itemselect10,0); - //BA.debugLineNum = 2786;BA.debugLine="Log(Index)"; -__c.LogImpl("452166659",BA.NumberToString(_index),0); - //BA.debugLineNum = 2787;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p4_1_m4_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2741;BA.debugLine="Private Sub cb_p4_1_m4_SelectedIndexChanged (Index"; - //BA.debugLineNum = 2742;BA.debugLine="itemselect3 = Sender.As(B4XComboBox).SelectedItem"; -_itemselect3 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2743;BA.debugLine="Log(itemselect3)"; -__c.LogImpl("451707906",_itemselect3,0); - //BA.debugLineNum = 2744;BA.debugLine="Log(Index)"; -__c.LogImpl("451707907",BA.NumberToString(_index),0); - //BA.debugLineNum = 2745;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p4_2_m4_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2747;BA.debugLine="Private Sub cb_p4_2_m4_SelectedIndexChanged (Index"; - //BA.debugLineNum = 2748;BA.debugLine="itemselect4 = Sender.As(B4XComboBox).SelectedItem"; -_itemselect4 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2749;BA.debugLine="Log(itemselect4)"; -__c.LogImpl("451773442",_itemselect4,0); - //BA.debugLineNum = 2750;BA.debugLine="Log(Index)"; -__c.LogImpl("451773443",BA.NumberToString(_index),0); - //BA.debugLineNum = 2751;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p4_3_m4_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2753;BA.debugLine="Private Sub cb_p4_3_m4_SelectedIndexChanged (Index"; - //BA.debugLineNum = 2754;BA.debugLine="itemselect5 = Sender.As(B4XComboBox).SelectedItem"; -_itemselect5 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2755;BA.debugLine="Log(itemselect5)"; -__c.LogImpl("451838978",_itemselect5,0); - //BA.debugLineNum = 2756;BA.debugLine="Log(Index)"; -__c.LogImpl("451838979",BA.NumberToString(_index),0); - //BA.debugLineNum = 2757;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p4_4_m4_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2759;BA.debugLine="Private Sub cb_p4_4_m4_SelectedIndexChanged (Index"; - //BA.debugLineNum = 2760;BA.debugLine="itemselect6 = Sender.As(B4XComboBox).SelectedItem"; -_itemselect6 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2761;BA.debugLine="Log(itemselect6)"; -__c.LogImpl("451904514",_itemselect6,0); - //BA.debugLineNum = 2762;BA.debugLine="Log(Index)"; -__c.LogImpl("451904515",BA.NumberToString(_index),0); - //BA.debugLineNum = 2763;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p4_5_m4_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2765;BA.debugLine="Private Sub cb_p4_5_m4_SelectedIndexChanged (Index"; - //BA.debugLineNum = 2766;BA.debugLine="itemselect7 = Sender.As(B4XComboBox).SelectedItem"; -_itemselect7 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2767;BA.debugLine="Log(itemselect7)"; -__c.LogImpl("451970050",_itemselect7,0); - //BA.debugLineNum = 2768;BA.debugLine="Log(Index)"; -__c.LogImpl("451970051",BA.NumberToString(_index),0); - //BA.debugLineNum = 2769;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p4_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2789;BA.debugLine="Private Sub cb_p4_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2790;BA.debugLine="itemselect11 = Sender.As(B4XComboBox).SelectedIte"; -_itemselect11 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2791;BA.debugLine="Log(itemselect11)"; -__c.LogImpl("452232194",_itemselect11,0); - //BA.debugLineNum = 2792;BA.debugLine="Log(Index)"; -__c.LogImpl("452232195",BA.NumberToString(_index),0); - //BA.debugLineNum = 2793;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p5_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2795;BA.debugLine="Private Sub cb_p5_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2796;BA.debugLine="itemselect12 = Sender.As(B4XComboBox).SelectedIte"; -_itemselect12 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2797;BA.debugLine="Log(itemselect12)"; -__c.LogImpl("452297730",_itemselect12,0); - //BA.debugLineNum = 2798;BA.debugLine="Log(Index)"; -__c.LogImpl("452297731",BA.NumberToString(_index),0); - //BA.debugLineNum = 2799;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p6_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2801;BA.debugLine="Private Sub cb_p6_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2802;BA.debugLine="itemselect13 = Sender.As(B4XComboBox).SelectedIte"; -_itemselect13 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2803;BA.debugLine="Log(itemselect13)"; -__c.LogImpl("452363266",_itemselect13,0); - //BA.debugLineNum = 2804;BA.debugLine="Log(Index)"; -__c.LogImpl("452363267",BA.NumberToString(_index),0); - //BA.debugLineNum = 2805;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p7_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2807;BA.debugLine="Private Sub cb_p7_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2808;BA.debugLine="itemselect14 = Sender.As(B4XComboBox).SelectedIte"; -_itemselect14 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2809;BA.debugLine="Log(itemselect14)"; -__c.LogImpl("452428802",_itemselect14,0); - //BA.debugLineNum = 2810;BA.debugLine="Log(Index)"; -__c.LogImpl("452428803",BA.NumberToString(_index),0); - //BA.debugLineNum = 2811;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p8_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2813;BA.debugLine="Private Sub cb_p8_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2814;BA.debugLine="itemselect15 = Sender.As(B4XComboBox).SelectedIte"; -_itemselect15 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2815;BA.debugLine="Log(itemselect15)"; -__c.LogImpl("452494338",_itemselect15,0); - //BA.debugLineNum = 2816;BA.debugLine="Log(Index)"; -__c.LogImpl("452494339",BA.NumberToString(_index),0); - //BA.debugLineNum = 2817;BA.debugLine="End Sub"; -return ""; -} -public String _cb_p9_m5_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2819;BA.debugLine="Private Sub cb_p9_m5_SelectedIndexChanged (Index A"; - //BA.debugLineNum = 2820;BA.debugLine="itemselect16 = Sender.As(B4XComboBox).SelectedIte"; -_itemselect16 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2821;BA.debugLine="Log(itemselect16)"; -__c.LogImpl("452559874",_itemselect16,0); - //BA.debugLineNum = 2822;BA.debugLine="Log(Index)"; -__c.LogImpl("452559875",BA.NumberToString(_index),0); - //BA.debugLineNum = 2823;BA.debugLine="End Sub"; -return ""; -} -public String _cb_pregunta_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 2402;BA.debugLine="Private Sub cb_pregunta_SelectedIndexChanged (Inde"; - //BA.debugLineNum = 2403;BA.debugLine="girotienda = Sender.As(B4XComboBox).SelectedItem"; -_girotienda = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (); - //BA.debugLineNum = 2404;BA.debugLine="Log(girotienda)"; -__c.LogImpl("451511298",_girotienda,0); - //BA.debugLineNum = 2405;BA.debugLine="Log(Index)"; -__c.LogImpl("451511299",BA.NumberToString(_index),0); - //BA.debugLineNum = 2406;BA.debugLine="End Sub"; -return ""; -} -public String _cb1_p3_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5708;BA.debugLine="Private Sub CB1_P3_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5709;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - //BA.debugLineNum = 5710;BA.debugLine="If CB1_P3_M2.Checked Then"; -if (_cb1_p3_m2.getChecked()) { - //BA.debugLineNum = 5711;BA.debugLine="textemp2 = CB1_P3_M2.Text"; -_textemp2 = _cb1_p3_m2.getText(); - }else { - //BA.debugLineNum = 5713;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - }; - //BA.debugLineNum = 5715;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb2_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb2_p3_m2.getText();}; - //BA.debugLineNum = 5716;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb3_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb3_p3_m2.getText();}; - //BA.debugLineNum = 5717;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb4_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb4_p3_m2.getText();}; - //BA.debugLineNum = 5718;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb5_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb5_p3_m2.getText();}; - //BA.debugLineNum = 5719;BA.debugLine="Log(textemp2)"; -__c.LogImpl("458327051",_textemp2,0); - //BA.debugLineNum = 5720;BA.debugLine="End Sub"; -return ""; -} -public String _cb1_p3_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5835;BA.debugLine="Private Sub CB1_P3_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5836;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - //BA.debugLineNum = 5837;BA.debugLine="If CB1_P3_M3.Checked Then"; -if (_cb1_p3_m3.getChecked()) { - //BA.debugLineNum = 5838;BA.debugLine="textemp4 = CB1_P3_M3.Text"; -_textemp4 = _cb1_p3_m3.getText(); - }else { - //BA.debugLineNum = 5840;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - }; - //BA.debugLineNum = 5842;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb2_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb2_p3_m3.getText();}; - //BA.debugLineNum = 5843;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb3_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb3_p3_m3.getText();}; - //BA.debugLineNum = 5844;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb4_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb4_p3_m3.getText();}; - //BA.debugLineNum = 5845;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb5_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb5_p3_m3.getText();}; - //BA.debugLineNum = 5846;BA.debugLine="Log(textemp4)"; -__c.LogImpl("458916875",_textemp4,0); - //BA.debugLineNum = 5847;BA.debugLine="End Sub"; -return ""; -} -public String _cb1_p4_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5780;BA.debugLine="Private Sub CB1_P4_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5781;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - //BA.debugLineNum = 5782;BA.debugLine="If CB1_P4_M2.Checked Then"; -if (_cb1_p4_m2.getChecked()) { - //BA.debugLineNum = 5783;BA.debugLine="textemp3 = CB1_P4_M2.Text"; -_textemp3 = _cb1_p4_m2.getText(); - }else { - //BA.debugLineNum = 5785;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - }; - //BA.debugLineNum = 5787;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb2_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb2_p4_m2.getText();}; - //BA.debugLineNum = 5788;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb3_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb3_p4_m2.getText();}; - //BA.debugLineNum = 5789;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb4_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb4_p4_m2.getText();}; - //BA.debugLineNum = 5790;BA.debugLine="Log(textemp3)"; -__c.LogImpl("458654730",_textemp3,0); - //BA.debugLineNum = 5791;BA.debugLine="End Sub"; -return ""; -} -public String _cb1_p4_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5907;BA.debugLine="Private Sub CB1_P4_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5908;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - //BA.debugLineNum = 5909;BA.debugLine="CB5_P4_M3.Checked = False"; -_cb5_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5910;BA.debugLine="If CB1_P4_M3.Checked Then"; -if (_cb1_p4_m3.getChecked()) { - //BA.debugLineNum = 5911;BA.debugLine="textemp5 = CB1_P4_M3.Text"; -_textemp5 = _cb1_p4_m3.getText(); - }else { - //BA.debugLineNum = 5913;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - }; - //BA.debugLineNum = 5915;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb2_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb2_p4_m3.getText();}; - //BA.debugLineNum = 5916;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb3_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb3_p4_m3.getText();}; - //BA.debugLineNum = 5917;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb4_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb4_p4_m3.getText();}; - //BA.debugLineNum = 5918;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb5_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb5_p4_m3.getText();}; - //BA.debugLineNum = 5919;BA.debugLine="Log(textemp5)"; -__c.LogImpl("459244556",_textemp5,0); - //BA.debugLineNum = 5920;BA.debugLine="End Sub"; -return ""; -} -public String _cb1_p6_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5988;BA.debugLine="Private Sub CB1_P6_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5989;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - //BA.debugLineNum = 5990;BA.debugLine="If CB1_P6_M3.Checked Then"; -if (_cb1_p6_m3.getChecked()) { - //BA.debugLineNum = 5991;BA.debugLine="textemp6 = CB1_P6_M3.Text"; -_textemp6 = _cb1_p6_m3.getText(); - }else { - //BA.debugLineNum = 5993;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - }; - //BA.debugLineNum = 5995;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb2_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();}; - //BA.debugLineNum = 5996;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb3_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();}; - //BA.debugLineNum = 5997;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb4_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();}; - //BA.debugLineNum = 5998;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb5_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();}; - //BA.debugLineNum = 5999;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb6_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();}; - //BA.debugLineNum = 6000;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb7_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();}; - //BA.debugLineNum = 6001;BA.debugLine="Log(textemp6)"; -__c.LogImpl("459572237",_textemp6,0); - //BA.debugLineNum = 6002;BA.debugLine="End Sub"; -return ""; -} -public String _cb1_p7_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6100;BA.debugLine="Private Sub CB1_P7_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6101;BA.debugLine="textemp7 = \"\""; -_textemp7 = ""; - //BA.debugLineNum = 6102;BA.debugLine="If CB1_P7_M3.Checked Then"; -if (_cb1_p7_m3.getChecked()) { - //BA.debugLineNum = 6103;BA.debugLine="textemp7 = CB1_P7_M3.Text"; -_textemp7 = _cb1_p7_m3.getText(); - }else { - //BA.debugLineNum = 6105;BA.debugLine="textemp7 = \"\""; -_textemp7 = ""; - }; - //BA.debugLineNum = 6107;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb2_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb2_p7_m3.getText();}; - //BA.debugLineNum = 6108;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb3_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb3_p7_m3.getText();}; - //BA.debugLineNum = 6109;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb4_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb4_p7_m3.getText();}; - //BA.debugLineNum = 6110;BA.debugLine="Log(textemp7)"; -__c.LogImpl("460030986",_textemp7,0); - //BA.debugLineNum = 6111;BA.debugLine="End Sub"; -return ""; -} -public String _cb1_p8_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6157;BA.debugLine="Private Sub CB1_P8_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6158;BA.debugLine="textemp8 = \"\""; -_textemp8 = ""; - //BA.debugLineNum = 6159;BA.debugLine="textemp8 = CB1_P8_M3.Text"; -_textemp8 = _cb1_p8_m3.getText(); - //BA.debugLineNum = 6160;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb2_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb2_p8_m3.getText();}; - //BA.debugLineNum = 6161;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb3_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb3_p8_m3.getText();}; - //BA.debugLineNum = 6162;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb4_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb4_p8_m3.getText();}; - //BA.debugLineNum = 6163;BA.debugLine="Log(textemp8)"; -__c.LogImpl("460293126",_textemp8,0); - //BA.debugLineNum = 6164;BA.debugLine="End Sub"; -return ""; -} -public String _cb2_p3_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5722;BA.debugLine="Private Sub CB2_P3_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5723;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - //BA.debugLineNum = 5724;BA.debugLine="If CB2_P3_M2.Checked Then"; -if (_cb2_p3_m2.getChecked()) { - //BA.debugLineNum = 5725;BA.debugLine="textemp2 = CB2_P3_M2.Text"; -_textemp2 = _cb2_p3_m2.getText(); - }else { - //BA.debugLineNum = 5727;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - }; - //BA.debugLineNum = 5729;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb1_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb1_p3_m2.getText();}; - //BA.debugLineNum = 5730;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb3_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb3_p3_m2.getText();}; - //BA.debugLineNum = 5731;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb4_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb4_p3_m2.getText();}; - //BA.debugLineNum = 5732;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb5_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb5_p3_m2.getText();}; - //BA.debugLineNum = 5733;BA.debugLine="Log(textemp2)"; -__c.LogImpl("458392587",_textemp2,0); - //BA.debugLineNum = 5734;BA.debugLine="End Sub"; -return ""; -} -public String _cb2_p3_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5849;BA.debugLine="Private Sub CB2_P3_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5850;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - //BA.debugLineNum = 5851;BA.debugLine="If CB2_P3_M3.Checked Then"; -if (_cb2_p3_m3.getChecked()) { - //BA.debugLineNum = 5852;BA.debugLine="textemp4 = CB2_P3_M3.Text"; -_textemp4 = _cb2_p3_m3.getText(); - }else { - //BA.debugLineNum = 5854;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - }; - //BA.debugLineNum = 5856;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb1_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb1_p3_m3.getText();}; - //BA.debugLineNum = 5857;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb3_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb3_p3_m3.getText();}; - //BA.debugLineNum = 5858;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb4_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb4_p3_m3.getText();}; - //BA.debugLineNum = 5859;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb5_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb5_p3_m3.getText();}; - //BA.debugLineNum = 5860;BA.debugLine="Log(textemp4)"; -__c.LogImpl("458982411",_textemp4,0); - //BA.debugLineNum = 5861;BA.debugLine="End Sub"; -return ""; -} -public String _cb2_p4_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5793;BA.debugLine="Private Sub CB2_P4_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5794;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - //BA.debugLineNum = 5795;BA.debugLine="If CB2_P4_M2.Checked Then"; -if (_cb2_p4_m2.getChecked()) { - //BA.debugLineNum = 5796;BA.debugLine="textemp3 = CB2_P4_M2.Text"; -_textemp3 = _cb2_p4_m2.getText(); - }else { - //BA.debugLineNum = 5798;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - }; - //BA.debugLineNum = 5800;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb1_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb1_p4_m2.getText();}; - //BA.debugLineNum = 5801;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb3_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb3_p4_m2.getText();}; - //BA.debugLineNum = 5802;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb4_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb4_p4_m2.getText();}; - //BA.debugLineNum = 5803;BA.debugLine="Log(textemp3)"; -__c.LogImpl("458720266",_textemp3,0); - //BA.debugLineNum = 5804;BA.debugLine="End Sub"; -return ""; -} -public String _cb2_p4_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5922;BA.debugLine="Private Sub CB2_P4_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5923;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - //BA.debugLineNum = 5924;BA.debugLine="CB5_P4_M3.Checked = False"; -_cb5_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5925;BA.debugLine="If CB2_P4_M3.Checked Then"; -if (_cb2_p4_m3.getChecked()) { - //BA.debugLineNum = 5926;BA.debugLine="textemp5 = CB2_P4_M3.Text"; -_textemp5 = _cb2_p4_m3.getText(); - }else { - //BA.debugLineNum = 5928;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - }; - //BA.debugLineNum = 5930;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb1_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb1_p4_m3.getText();}; - //BA.debugLineNum = 5931;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb3_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb3_p4_m3.getText();}; - //BA.debugLineNum = 5932;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb4_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb4_p4_m3.getText();}; - //BA.debugLineNum = 5933;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb5_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb5_p4_m3.getText();}; - //BA.debugLineNum = 5934;BA.debugLine="Log(textemp5)"; -__c.LogImpl("459310092",_textemp5,0); - //BA.debugLineNum = 5935;BA.debugLine="End Sub"; -return ""; -} -public String _cb2_p6_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6004;BA.debugLine="Private Sub CB2_P6_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6005;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - //BA.debugLineNum = 6006;BA.debugLine="If CB2_P6_M3.Checked Then"; -if (_cb2_p6_m3.getChecked()) { - //BA.debugLineNum = 6007;BA.debugLine="textemp6 = CB2_P6_M3.Text"; -_textemp6 = _cb2_p6_m3.getText(); - }else { - //BA.debugLineNum = 6009;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - }; - //BA.debugLineNum = 6011;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb1_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();}; - //BA.debugLineNum = 6012;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb3_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();}; - //BA.debugLineNum = 6013;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb4_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();}; - //BA.debugLineNum = 6014;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb5_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();}; - //BA.debugLineNum = 6015;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb6_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();}; - //BA.debugLineNum = 6016;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb7_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();}; - //BA.debugLineNum = 6017;BA.debugLine="Log(textemp6)"; -__c.LogImpl("459637773",_textemp6,0); - //BA.debugLineNum = 6018;BA.debugLine="End Sub"; -return ""; -} -public String _cb2_p7_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6113;BA.debugLine="Private Sub CB2_P7_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6114;BA.debugLine="textemp7 = \"\""; -_textemp7 = ""; - //BA.debugLineNum = 6115;BA.debugLine="If CB2_P7_M3.Checked Then"; -if (_cb2_p7_m3.getChecked()) { - //BA.debugLineNum = 6116;BA.debugLine="textemp7 = CB2_P7_M3.Text"; -_textemp7 = _cb2_p7_m3.getText(); - }else { - //BA.debugLineNum = 6118;BA.debugLine="textemp7 = \"\""; -_textemp7 = ""; - }; - //BA.debugLineNum = 6120;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb1_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb1_p7_m3.getText();}; - //BA.debugLineNum = 6121;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb3_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb3_p7_m3.getText();}; - //BA.debugLineNum = 6122;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb4_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb4_p7_m3.getText();}; - //BA.debugLineNum = 6123;BA.debugLine="Log(textemp7)"; -__c.LogImpl("460096522",_textemp7,0); - //BA.debugLineNum = 6124;BA.debugLine="End Sub"; -return ""; -} -public String _cb2_p8_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6166;BA.debugLine="Private Sub CB2_P8_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6167;BA.debugLine="textemp8 = \"\""; -_textemp8 = ""; - //BA.debugLineNum = 6168;BA.debugLine="textemp8 = CB2_P8_M3.Text"; -_textemp8 = _cb2_p8_m3.getText(); - //BA.debugLineNum = 6169;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb1_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb1_p8_m3.getText();}; - //BA.debugLineNum = 6170;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb3_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb3_p8_m3.getText();}; - //BA.debugLineNum = 6171;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb4_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb4_p8_m3.getText();}; - //BA.debugLineNum = 6172;BA.debugLine="Log(textemp8)"; -__c.LogImpl("460358662",_textemp8,0); - //BA.debugLineNum = 6173;BA.debugLine="End Sub"; -return ""; -} -public String _cb3_p3_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5736;BA.debugLine="Private Sub CB3_P3_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5737;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - //BA.debugLineNum = 5738;BA.debugLine="If CB3_P3_M2.Checked Then"; -if (_cb3_p3_m2.getChecked()) { - //BA.debugLineNum = 5739;BA.debugLine="textemp2 = CB3_P3_M2.Text"; -_textemp2 = _cb3_p3_m2.getText(); - }else { - //BA.debugLineNum = 5741;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - }; - //BA.debugLineNum = 5743;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb1_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb1_p3_m2.getText();}; - //BA.debugLineNum = 5744;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb2_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb2_p3_m2.getText();}; - //BA.debugLineNum = 5745;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb4_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb4_p3_m2.getText();}; - //BA.debugLineNum = 5746;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb5_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb5_p3_m2.getText();}; - //BA.debugLineNum = 5747;BA.debugLine="Log(textemp2)"; -__c.LogImpl("458458123",_textemp2,0); - //BA.debugLineNum = 5748;BA.debugLine="End Sub"; -return ""; -} -public String _cb3_p3_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5863;BA.debugLine="Private Sub CB3_P3_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5864;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - //BA.debugLineNum = 5865;BA.debugLine="If CB3_P3_M3.Checked Then"; -if (_cb3_p3_m3.getChecked()) { - //BA.debugLineNum = 5866;BA.debugLine="textemp4 = CB3_P3_M3.Text"; -_textemp4 = _cb3_p3_m3.getText(); - }else { - //BA.debugLineNum = 5868;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - }; - //BA.debugLineNum = 5870;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb1_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb1_p3_m3.getText();}; - //BA.debugLineNum = 5871;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb2_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb2_p3_m3.getText();}; - //BA.debugLineNum = 5872;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb4_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb4_p3_m3.getText();}; - //BA.debugLineNum = 5873;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb5_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb5_p3_m3.getText();}; - //BA.debugLineNum = 5874;BA.debugLine="Log(textemp4)"; -__c.LogImpl("459047947",_textemp4,0); - //BA.debugLineNum = 5875;BA.debugLine="End Sub"; -return ""; -} -public String _cb3_p4_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5806;BA.debugLine="Private Sub CB3_P4_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5807;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - //BA.debugLineNum = 5808;BA.debugLine="If CB3_P4_M2.Checked Then"; -if (_cb3_p4_m2.getChecked()) { - //BA.debugLineNum = 5809;BA.debugLine="textemp3 = CB3_P4_M2.Text"; -_textemp3 = _cb3_p4_m2.getText(); - }else { - //BA.debugLineNum = 5811;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - }; - //BA.debugLineNum = 5813;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb1_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb1_p4_m2.getText();}; - //BA.debugLineNum = 5814;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb2_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb2_p4_m2.getText();}; - //BA.debugLineNum = 5815;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb4_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb4_p4_m2.getText();}; - //BA.debugLineNum = 5816;BA.debugLine="Log(textemp3)"; -__c.LogImpl("458785802",_textemp3,0); - //BA.debugLineNum = 5817;BA.debugLine="End Sub"; -return ""; -} -public String _cb3_p4_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5937;BA.debugLine="Private Sub CB3_P4_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5938;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - //BA.debugLineNum = 5939;BA.debugLine="CB5_P4_M3.Checked = False"; -_cb5_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5940;BA.debugLine="If CB3_P4_M3.Checked Then"; -if (_cb3_p4_m3.getChecked()) { - //BA.debugLineNum = 5941;BA.debugLine="textemp5 = CB3_P4_M3.Text"; -_textemp5 = _cb3_p4_m3.getText(); - }else { - //BA.debugLineNum = 5943;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - }; - //BA.debugLineNum = 5945;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb1_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb1_p4_m3.getText();}; - //BA.debugLineNum = 5946;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb2_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb2_p4_m3.getText();}; - //BA.debugLineNum = 5947;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb4_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb4_p4_m3.getText();}; - //BA.debugLineNum = 5948;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb5_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb5_p4_m3.getText();}; - //BA.debugLineNum = 5949;BA.debugLine="Log(textemp5)"; -__c.LogImpl("459375628",_textemp5,0); - //BA.debugLineNum = 5950;BA.debugLine="End Sub"; -return ""; -} -public String _cb3_p6_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6020;BA.debugLine="Private Sub CB3_P6_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6021;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - //BA.debugLineNum = 6022;BA.debugLine="If CB3_P6_M3.Checked Then"; -if (_cb3_p6_m3.getChecked()) { - //BA.debugLineNum = 6023;BA.debugLine="textemp6 = CB3_P6_M3.Text"; -_textemp6 = _cb3_p6_m3.getText(); - }else { - //BA.debugLineNum = 6025;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - }; - //BA.debugLineNum = 6027;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb1_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();}; - //BA.debugLineNum = 6028;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb2_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();}; - //BA.debugLineNum = 6029;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb4_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();}; - //BA.debugLineNum = 6030;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb5_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();}; - //BA.debugLineNum = 6031;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb6_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();}; - //BA.debugLineNum = 6032;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb7_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();}; - //BA.debugLineNum = 6033;BA.debugLine="Log(textemp6)"; -__c.LogImpl("459703309",_textemp6,0); - //BA.debugLineNum = 6034;BA.debugLine="End Sub"; -return ""; -} -public String _cb3_p7_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6126;BA.debugLine="Private Sub CB3_P7_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6127;BA.debugLine="textemp7 = \"\""; -_textemp7 = ""; - //BA.debugLineNum = 6128;BA.debugLine="If CB3_P7_M3.Checked Then"; -if (_cb3_p7_m3.getChecked()) { - //BA.debugLineNum = 6129;BA.debugLine="textemp7 = CB3_P7_M3.Text"; -_textemp7 = _cb3_p7_m3.getText(); - }else { - //BA.debugLineNum = 6131;BA.debugLine="textemp7 = \"\""; -_textemp7 = ""; - }; - //BA.debugLineNum = 6133;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb1_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb1_p7_m3.getText();}; - //BA.debugLineNum = 6134;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb2_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb2_p7_m3.getText();}; - //BA.debugLineNum = 6135;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb4_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb4_p7_m3.getText();}; - //BA.debugLineNum = 6136;BA.debugLine="Log(textemp7)"; -__c.LogImpl("460162058",_textemp7,0); - //BA.debugLineNum = 6137;BA.debugLine="End Sub"; -return ""; -} -public String _cb3_p8_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6175;BA.debugLine="Private Sub CB3_P8_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6176;BA.debugLine="textemp8 = \"\""; -_textemp8 = ""; - //BA.debugLineNum = 6177;BA.debugLine="textemp8 = CB3_P8_M3.Text"; -_textemp8 = _cb3_p8_m3.getText(); - //BA.debugLineNum = 6178;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb1_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb1_p8_m3.getText();}; - //BA.debugLineNum = 6179;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb2_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb2_p8_m3.getText();}; - //BA.debugLineNum = 6180;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb4_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb4_p8_m3.getText();}; - //BA.debugLineNum = 6181;BA.debugLine="Log(textemp8)"; -__c.LogImpl("460424198",_textemp8,0); - //BA.debugLineNum = 6182;BA.debugLine="End Sub"; -return ""; -} -public String _cb4_p3_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5750;BA.debugLine="Private Sub CB4_P3_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5751;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - //BA.debugLineNum = 5752;BA.debugLine="If CB4_P3_M2.Checked Then"; -if (_cb4_p3_m2.getChecked()) { - //BA.debugLineNum = 5753;BA.debugLine="textemp2 = CB4_P3_M2.Text"; -_textemp2 = _cb4_p3_m2.getText(); - }else { - //BA.debugLineNum = 5755;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - }; - //BA.debugLineNum = 5757;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb1_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb1_p3_m2.getText();}; - //BA.debugLineNum = 5758;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb2_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb2_p3_m2.getText();}; - //BA.debugLineNum = 5759;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb3_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb3_p3_m2.getText();}; - //BA.debugLineNum = 5760;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb5_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb5_p3_m2.getText();}; - //BA.debugLineNum = 5761;BA.debugLine="Log(textemp2)"; -__c.LogImpl("458523659",_textemp2,0); - //BA.debugLineNum = 5762;BA.debugLine="End Sub"; -return ""; -} -public String _cb4_p3_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5877;BA.debugLine="Private Sub CB4_P3_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5878;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - //BA.debugLineNum = 5879;BA.debugLine="If CB4_P3_M3.Checked Then"; -if (_cb4_p3_m3.getChecked()) { - //BA.debugLineNum = 5880;BA.debugLine="textemp4 = CB4_P3_M3.Text"; -_textemp4 = _cb4_p3_m3.getText(); - }else { - //BA.debugLineNum = 5882;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - }; - //BA.debugLineNum = 5884;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb1_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb1_p3_m3.getText();}; - //BA.debugLineNum = 5885;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb2_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb2_p3_m3.getText();}; - //BA.debugLineNum = 5886;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb3_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb3_p3_m3.getText();}; - //BA.debugLineNum = 5887;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb5_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb5_p3_m3.getText();}; - //BA.debugLineNum = 5888;BA.debugLine="Log(textemp4)"; -__c.LogImpl("459113483",_textemp4,0); - //BA.debugLineNum = 5889;BA.debugLine="End Sub"; -return ""; -} -public String _cb4_p4_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5819;BA.debugLine="Private Sub CB4_P4_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5820;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - //BA.debugLineNum = 5821;BA.debugLine="If CB4_P4_M2.Checked Then"; -if (_cb4_p4_m2.getChecked()) { - //BA.debugLineNum = 5822;BA.debugLine="textemp3 = CB4_P4_M2.Text"; -_textemp3 = _cb4_p4_m2.getText(); - }else { - //BA.debugLineNum = 5824;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - }; - //BA.debugLineNum = 5826;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb1_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb1_p4_m2.getText();}; - //BA.debugLineNum = 5827;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb2_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb2_p4_m2.getText();}; - //BA.debugLineNum = 5828;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; -if (_cb3_p4_m2.getChecked()) { -_textemp3 = _textemp3+", "+_cb3_p4_m2.getText();}; - //BA.debugLineNum = 5829;BA.debugLine="Log(textemp3)"; -__c.LogImpl("458851338",_textemp3,0); - //BA.debugLineNum = 5830;BA.debugLine="End Sub"; -return ""; -} -public String _cb4_p4_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5952;BA.debugLine="Private Sub CB4_P4_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5953;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - //BA.debugLineNum = 5954;BA.debugLine="CB5_P4_M3.Checked = False"; -_cb5_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5955;BA.debugLine="If CB4_P4_M3.Checked Then"; -if (_cb4_p4_m3.getChecked()) { - //BA.debugLineNum = 5956;BA.debugLine="textemp5 = CB4_P4_M3.Text"; -_textemp5 = _cb4_p4_m3.getText(); - }else { - //BA.debugLineNum = 5958;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - }; - //BA.debugLineNum = 5960;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb1_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb1_p4_m3.getText();}; - //BA.debugLineNum = 5961;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb2_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb2_p4_m3.getText();}; - //BA.debugLineNum = 5962;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb3_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb3_p4_m3.getText();}; - //BA.debugLineNum = 5963;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb5_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb5_p4_m3.getText();}; - //BA.debugLineNum = 5964;BA.debugLine="Log(textemp5)"; -__c.LogImpl("459441164",_textemp5,0); - //BA.debugLineNum = 5965;BA.debugLine="End Sub"; -return ""; -} -public String _cb4_p6_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6036;BA.debugLine="Private Sub CB4_P6_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6037;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - //BA.debugLineNum = 6038;BA.debugLine="If CB4_P6_M3.Checked Then"; -if (_cb4_p6_m3.getChecked()) { - //BA.debugLineNum = 6039;BA.debugLine="textemp6 = CB4_P6_M3.Text"; -_textemp6 = _cb4_p6_m3.getText(); - }else { - //BA.debugLineNum = 6041;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - }; - //BA.debugLineNum = 6043;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb1_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();}; - //BA.debugLineNum = 6044;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb2_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();}; - //BA.debugLineNum = 6045;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb3_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();}; - //BA.debugLineNum = 6046;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb5_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();}; - //BA.debugLineNum = 6047;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb6_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();}; - //BA.debugLineNum = 6048;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb7_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();}; - //BA.debugLineNum = 6049;BA.debugLine="Log(textemp6)"; -__c.LogImpl("459768845",_textemp6,0); - //BA.debugLineNum = 6050;BA.debugLine="End Sub"; -return ""; -} -public String _cb4_p7_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6139;BA.debugLine="Private Sub CB4_P7_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6140;BA.debugLine="textemp7 = \"\""; -_textemp7 = ""; - //BA.debugLineNum = 6141;BA.debugLine="If CB4_P7_M3.Checked Then"; -if (_cb4_p7_m3.getChecked()) { - //BA.debugLineNum = 6142;BA.debugLine="textemp7 = CB4_P7_M3.Text"; -_textemp7 = _cb4_p7_m3.getText(); - }else { - //BA.debugLineNum = 6144;BA.debugLine="textemp7 = \"\""; -_textemp7 = ""; - }; - //BA.debugLineNum = 6146;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb1_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb1_p7_m3.getText();}; - //BA.debugLineNum = 6147;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb2_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb2_p7_m3.getText();}; - //BA.debugLineNum = 6148;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; -if (_cb3_p7_m3.getChecked()) { -_textemp7 = _textemp7+", "+_cb3_p7_m3.getText();}; - //BA.debugLineNum = 6149;BA.debugLine="Log(textemp7)"; -__c.LogImpl("460227594",_textemp7,0); - //BA.debugLineNum = 6150;BA.debugLine="End Sub"; -return ""; -} -public String _cb4_p8_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6184;BA.debugLine="Private Sub CB4_P8_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6185;BA.debugLine="textemp8 = \"\""; -_textemp8 = ""; - //BA.debugLineNum = 6186;BA.debugLine="textemp8 = CB4_P8_M3.Text"; -_textemp8 = _cb4_p8_m3.getText(); - //BA.debugLineNum = 6187;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb1_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb1_p8_m3.getText();}; - //BA.debugLineNum = 6188;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb2_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb2_p8_m3.getText();}; - //BA.debugLineNum = 6189;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; -if (_cb3_p8_m3.getChecked()) { -_textemp8 = _textemp8+", "+_cb3_p8_m3.getText();}; - //BA.debugLineNum = 6190;BA.debugLine="Log(textemp8)"; -__c.LogImpl("460489734",_textemp8,0); - //BA.debugLineNum = 6191;BA.debugLine="End Sub"; -return ""; -} -public String _cb5_p3_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5764;BA.debugLine="Private Sub CB5_P3_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5765;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - //BA.debugLineNum = 5766;BA.debugLine="If CB5_P3_M2.Checked Then"; -if (_cb5_p3_m2.getChecked()) { - //BA.debugLineNum = 5767;BA.debugLine="textemp2 = CB5_P3_M2.Text"; -_textemp2 = _cb5_p3_m2.getText(); - }else { - //BA.debugLineNum = 5769;BA.debugLine="textemp2 = \"\""; -_textemp2 = ""; - }; - //BA.debugLineNum = 5771;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb1_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb1_p3_m2.getText();}; - //BA.debugLineNum = 5772;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb2_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb2_p3_m2.getText();}; - //BA.debugLineNum = 5773;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb3_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb3_p3_m2.getText();}; - //BA.debugLineNum = 5774;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; -if (_cb4_p3_m2.getChecked()) { -_textemp2 = _textemp2+", "+_cb4_p3_m2.getText();}; - //BA.debugLineNum = 5775;BA.debugLine="Log(textemp2)"; -__c.LogImpl("458589195",_textemp2,0); - //BA.debugLineNum = 5776;BA.debugLine="End Sub"; -return ""; -} -public String _cb5_p3_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5891;BA.debugLine="Private Sub CB5_P3_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5892;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - //BA.debugLineNum = 5893;BA.debugLine="If CB5_P3_M3.Checked Then"; -if (_cb5_p3_m3.getChecked()) { - //BA.debugLineNum = 5894;BA.debugLine="textemp4 = CB5_P3_M3.Text"; -_textemp4 = _cb5_p3_m3.getText(); - }else { - //BA.debugLineNum = 5896;BA.debugLine="textemp4 = \"\""; -_textemp4 = ""; - }; - //BA.debugLineNum = 5898;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb1_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb1_p3_m3.getText();}; - //BA.debugLineNum = 5899;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb2_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb2_p3_m3.getText();}; - //BA.debugLineNum = 5900;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb3_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb3_p3_m3.getText();}; - //BA.debugLineNum = 5901;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; -if (_cb4_p3_m3.getChecked()) { -_textemp4 = _textemp4+", "+_cb4_p3_m3.getText();}; - //BA.debugLineNum = 5902;BA.debugLine="Log(textemp4)"; -__c.LogImpl("459179019",_textemp4,0); - //BA.debugLineNum = 5903;BA.debugLine="End Sub"; -return ""; -} -public String _cb5_p4_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5967;BA.debugLine="Private Sub CB5_P4_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5968;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - //BA.debugLineNum = 5969;BA.debugLine="CB1_P4_M3.Checked = False"; -_cb1_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5970;BA.debugLine="CB2_P4_M3.Checked = False"; -_cb2_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5971;BA.debugLine="CB3_P4_M3.Checked = False"; -_cb3_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5972;BA.debugLine="CB4_P4_M3.Checked = False"; -_cb4_p4_m3.setChecked(__c.False); - //BA.debugLineNum = 5973;BA.debugLine="If CB5_P4_M3.Checked Then"; -if (_cb5_p4_m3.getChecked()) { - //BA.debugLineNum = 5974;BA.debugLine="textemp5 = CB5_P4_M3.Text"; -_textemp5 = _cb5_p4_m3.getText(); - }else { - //BA.debugLineNum = 5976;BA.debugLine="textemp5 = \"\""; -_textemp5 = ""; - }; - //BA.debugLineNum = 5978;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb1_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb1_p4_m3.getText();}; - //BA.debugLineNum = 5979;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb2_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb2_p4_m3.getText();}; - //BA.debugLineNum = 5980;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb3_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb3_p4_m3.getText();}; - //BA.debugLineNum = 5981;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; -if (_cb4_p4_m3.getChecked()) { -_textemp5 = _textemp5+", "+_cb4_p4_m3.getText();}; - //BA.debugLineNum = 5982;BA.debugLine="Log(textemp5)"; -__c.LogImpl("459506703",_textemp5,0); - //BA.debugLineNum = 5983;BA.debugLine="End Sub"; -return ""; -} -public String _cb5_p6_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6052;BA.debugLine="Private Sub CB5_P6_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6053;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - //BA.debugLineNum = 6054;BA.debugLine="If CB5_P6_M3.Checked Then"; -if (_cb5_p6_m3.getChecked()) { - //BA.debugLineNum = 6055;BA.debugLine="textemp6 = CB5_P6_M3.Text"; -_textemp6 = _cb5_p6_m3.getText(); - }else { - //BA.debugLineNum = 6057;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - }; - //BA.debugLineNum = 6059;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb1_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();}; - //BA.debugLineNum = 6060;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb2_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();}; - //BA.debugLineNum = 6061;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb3_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();}; - //BA.debugLineNum = 6062;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb4_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();}; - //BA.debugLineNum = 6063;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb6_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();}; - //BA.debugLineNum = 6064;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb7_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();}; - //BA.debugLineNum = 6065;BA.debugLine="Log(textemp6)"; -__c.LogImpl("459834381",_textemp6,0); - //BA.debugLineNum = 6066;BA.debugLine="End Sub"; -return ""; -} -public String _cb6_p3_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5160;BA.debugLine="Private Sub CB6_P3_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5161;BA.debugLine="If CB6_P3_M2.Checked = True Then"; -if (_cb6_p3_m2.getChecked()==__c.True) { - //BA.debugLineNum = 5162;BA.debugLine="Panel7_M2.Visible = True"; -_panel7_m2.setVisible(__c.True); - }else { - //BA.debugLineNum = 5164;BA.debugLine="Panel7_M2.Visible = False"; -_panel7_m2.setVisible(__c.False); - }; - //BA.debugLineNum = 5168;BA.debugLine="End Sub"; -return ""; -} -public String _cb6_p6_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6068;BA.debugLine="Private Sub CB6_P6_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6069;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - //BA.debugLineNum = 6070;BA.debugLine="If CB6_P6_M3.Checked Then"; -if (_cb6_p6_m3.getChecked()) { - //BA.debugLineNum = 6071;BA.debugLine="textemp6 = CB6_P6_M3.Text"; -_textemp6 = _cb6_p6_m3.getText(); - }else { - //BA.debugLineNum = 6073;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - }; - //BA.debugLineNum = 6075;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb1_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();}; - //BA.debugLineNum = 6076;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb2_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();}; - //BA.debugLineNum = 6077;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb3_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();}; - //BA.debugLineNum = 6078;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb4_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();}; - //BA.debugLineNum = 6079;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb5_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();}; - //BA.debugLineNum = 6080;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb7_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();}; - //BA.debugLineNum = 6081;BA.debugLine="Log(textemp6)"; -__c.LogImpl("459899917",_textemp6,0); - //BA.debugLineNum = 6082;BA.debugLine="End Sub"; -return ""; -} -public String _cb7_p6_m3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 6084;BA.debugLine="Private Sub CB7_P6_M3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 6085;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - //BA.debugLineNum = 6086;BA.debugLine="If CB7_P6_M3.Checked Then"; -if (_cb7_p6_m3.getChecked()) { - //BA.debugLineNum = 6087;BA.debugLine="textemp6 = CB7_P6_M3.Text"; -_textemp6 = _cb7_p6_m3.getText(); - }else { - //BA.debugLineNum = 6089;BA.debugLine="textemp6 = \"\""; -_textemp6 = ""; - }; - //BA.debugLineNum = 6091;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb1_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();}; - //BA.debugLineNum = 6092;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb2_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();}; - //BA.debugLineNum = 6093;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb3_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();}; - //BA.debugLineNum = 6094;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb4_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();}; - //BA.debugLineNum = 6095;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb5_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();}; - //BA.debugLineNum = 6096;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; -if (_cb6_p6_m3.getChecked()) { -_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();}; - //BA.debugLineNum = 6097;BA.debugLine="Log(textemp6)"; -__c.LogImpl("459965453",_textemp6,0); - //BA.debugLineNum = 6098;BA.debugLine="End Sub"; -return ""; -} -public int _centropantalla() throws Exception{ -int _anchopantalla = 0; - //BA.debugLineNum = 6436;BA.debugLine="Sub centroPantalla As Int"; - //BA.debugLineNum = 6437;BA.debugLine="Private anchoPantalla As Int = GetDeviceLayoutVal"; -_anchopantalla = __c.GetDeviceLayoutValues(ba).Width; - //BA.debugLineNum = 6438;BA.debugLine="Private anchoPantalla As Int = Root.Width"; -_anchopantalla = _root.getWidth(); - //BA.debugLineNum = 6439;BA.debugLine="Return anchoPantalla/2"; -if (true) return (int) (_anchopantalla/(double)2); - //BA.debugLineNum = 6440;BA.debugLine="End Sub"; -return 0; -} -public String _ch_factura_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 7830;BA.debugLine="Private Sub CH_FACTURA_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 7832;BA.debugLine="End Sub"; -return ""; -} -public String _chb_com_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 8029;BA.debugLine="Private Sub chb_com_CheckedChange(Checked As Boole"; - //BA.debugLineNum = 8031;BA.debugLine="End Sub"; -return ""; -} -public String _checkbox1_checkedchange(boolean _checked) throws Exception{ -String _textemp = ""; - //BA.debugLineNum = 4854;BA.debugLine="Private Sub CheckBox1_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 4855;BA.debugLine="Dim textemp As String =\"\""; -_textemp = ""; - //BA.debugLineNum = 4856;BA.debugLine="textemp = CheckBox1.Text"; -_textemp = _checkbox1.getText(); - //BA.debugLineNum = 4857;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; -if (_checkbox2.getChecked()) { -_textemp = _textemp+", "+_checkbox2.getText();}; - //BA.debugLineNum = 4858;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; -if (_checkbox3.getChecked()) { -_textemp = _textemp+", "+_checkbox3.getText();}; - //BA.debugLineNum = 4859;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; -if (_checkbox4.getChecked()) { -_textemp = _textemp+", "+_checkbox4.getText();}; - //BA.debugLineNum = 4860;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; -if (_checkbox5.getChecked()) { -_textemp = _textemp+", "+_checkbox5.getText();}; - //BA.debugLineNum = 4861;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; -if (_checkbox6.getChecked()) { -_textemp = _textemp+", "+_checkbox6.getText();}; - //BA.debugLineNum = 4862;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; -if (_checkbox7.getChecked()) { -_textemp = _textemp+", "+_checkbox7.getText();}; - //BA.debugLineNum = 4863;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; -if (_checkbox8.getChecked()) { -_textemp = _textemp+", "+_checkbox8.getText();}; - //BA.debugLineNum = 4864;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; -_encuentasmapa.Put((Object)("P9"),(Object)(_textemp)); - //BA.debugLineNum = 4865;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456492043",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4866;BA.debugLine="End Sub"; -return ""; -} -public String _checkbox2_checkedchange(boolean _checked) throws Exception{ -String _textemp = ""; - //BA.debugLineNum = 4868;BA.debugLine="Private Sub CheckBox2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 4869;BA.debugLine="Dim textemp As String =\"\""; -_textemp = ""; - //BA.debugLineNum = 4870;BA.debugLine="textemp = CheckBox2.Text"; -_textemp = _checkbox2.getText(); - //BA.debugLineNum = 4871;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; -if (_checkbox1.getChecked()) { -_textemp = _textemp+", "+_checkbox1.getText();}; - //BA.debugLineNum = 4872;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; -if (_checkbox3.getChecked()) { -_textemp = _textemp+", "+_checkbox3.getText();}; - //BA.debugLineNum = 4873;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; -if (_checkbox4.getChecked()) { -_textemp = _textemp+", "+_checkbox4.getText();}; - //BA.debugLineNum = 4874;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; -if (_checkbox5.getChecked()) { -_textemp = _textemp+", "+_checkbox5.getText();}; - //BA.debugLineNum = 4875;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; -if (_checkbox6.getChecked()) { -_textemp = _textemp+", "+_checkbox6.getText();}; - //BA.debugLineNum = 4876;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; -if (_checkbox7.getChecked()) { -_textemp = _textemp+", "+_checkbox7.getText();}; - //BA.debugLineNum = 4877;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; -if (_checkbox8.getChecked()) { -_textemp = _textemp+", "+_checkbox8.getText();}; - //BA.debugLineNum = 4878;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; -_encuentasmapa.Put((Object)("P9"),(Object)(_textemp)); - //BA.debugLineNum = 4879;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456557579",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4880;BA.debugLine="End Sub"; -return ""; -} -public String _checkbox3_checkedchange(boolean _checked) throws Exception{ -String _textemp = ""; - //BA.debugLineNum = 4882;BA.debugLine="Private Sub CheckBox3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 4883;BA.debugLine="Dim textemp As String =\"\""; -_textemp = ""; - //BA.debugLineNum = 4884;BA.debugLine="textemp = CheckBox3.Text"; -_textemp = _checkbox3.getText(); - //BA.debugLineNum = 4885;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; -if (_checkbox1.getChecked()) { -_textemp = _textemp+", "+_checkbox1.getText();}; - //BA.debugLineNum = 4886;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; -if (_checkbox2.getChecked()) { -_textemp = _textemp+", "+_checkbox2.getText();}; - //BA.debugLineNum = 4887;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; -if (_checkbox4.getChecked()) { -_textemp = _textemp+", "+_checkbox4.getText();}; - //BA.debugLineNum = 4888;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; -if (_checkbox5.getChecked()) { -_textemp = _textemp+", "+_checkbox5.getText();}; - //BA.debugLineNum = 4889;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; -if (_checkbox6.getChecked()) { -_textemp = _textemp+", "+_checkbox6.getText();}; - //BA.debugLineNum = 4890;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; -if (_checkbox7.getChecked()) { -_textemp = _textemp+", "+_checkbox7.getText();}; - //BA.debugLineNum = 4891;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; -if (_checkbox8.getChecked()) { -_textemp = _textemp+", "+_checkbox8.getText();}; - //BA.debugLineNum = 4892;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; -_encuentasmapa.Put((Object)("P9"),(Object)(_textemp)); - //BA.debugLineNum = 4893;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456623115",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4894;BA.debugLine="End Sub"; -return ""; -} -public String _checkbox4_checkedchange(boolean _checked) throws Exception{ -String _textemp = ""; - //BA.debugLineNum = 4896;BA.debugLine="Private Sub CheckBox4_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 4897;BA.debugLine="Dim textemp As String =\"\""; -_textemp = ""; - //BA.debugLineNum = 4898;BA.debugLine="textemp = CheckBox4.Text"; -_textemp = _checkbox4.getText(); - //BA.debugLineNum = 4899;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; -if (_checkbox1.getChecked()) { -_textemp = _textemp+", "+_checkbox1.getText();}; - //BA.debugLineNum = 4900;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; -if (_checkbox2.getChecked()) { -_textemp = _textemp+", "+_checkbox2.getText();}; - //BA.debugLineNum = 4901;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; -if (_checkbox3.getChecked()) { -_textemp = _textemp+", "+_checkbox3.getText();}; - //BA.debugLineNum = 4902;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; -if (_checkbox5.getChecked()) { -_textemp = _textemp+", "+_checkbox5.getText();}; - //BA.debugLineNum = 4903;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; -if (_checkbox6.getChecked()) { -_textemp = _textemp+", "+_checkbox6.getText();}; - //BA.debugLineNum = 4904;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; -if (_checkbox7.getChecked()) { -_textemp = _textemp+", "+_checkbox7.getText();}; - //BA.debugLineNum = 4905;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; -if (_checkbox8.getChecked()) { -_textemp = _textemp+", "+_checkbox8.getText();}; - //BA.debugLineNum = 4906;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; -_encuentasmapa.Put((Object)("P9"),(Object)(_textemp)); - //BA.debugLineNum = 4907;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456688651",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4908;BA.debugLine="End Sub"; -return ""; -} -public String _checkbox5_checkedchange(boolean _checked) throws Exception{ -String _textemp = ""; - //BA.debugLineNum = 4910;BA.debugLine="Private Sub CheckBox5_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 4911;BA.debugLine="Dim textemp As String =\"\""; -_textemp = ""; - //BA.debugLineNum = 4912;BA.debugLine="textemp = CheckBox5.Text"; -_textemp = _checkbox5.getText(); - //BA.debugLineNum = 4913;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; -if (_checkbox1.getChecked()) { -_textemp = _textemp+", "+_checkbox1.getText();}; - //BA.debugLineNum = 4914;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; -if (_checkbox2.getChecked()) { -_textemp = _textemp+", "+_checkbox2.getText();}; - //BA.debugLineNum = 4915;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; -if (_checkbox3.getChecked()) { -_textemp = _textemp+", "+_checkbox3.getText();}; - //BA.debugLineNum = 4916;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; -if (_checkbox4.getChecked()) { -_textemp = _textemp+", "+_checkbox4.getText();}; - //BA.debugLineNum = 4917;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; -if (_checkbox6.getChecked()) { -_textemp = _textemp+", "+_checkbox6.getText();}; - //BA.debugLineNum = 4918;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; -if (_checkbox7.getChecked()) { -_textemp = _textemp+", "+_checkbox7.getText();}; - //BA.debugLineNum = 4919;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; -if (_checkbox8.getChecked()) { -_textemp = _textemp+", "+_checkbox8.getText();}; - //BA.debugLineNum = 4920;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; -_encuentasmapa.Put((Object)("P9"),(Object)(_textemp)); - //BA.debugLineNum = 4921;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456754187",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4922;BA.debugLine="End Sub"; -return ""; -} -public String _checkbox6_checkedchange(boolean _checked) throws Exception{ -String _textemp = ""; - //BA.debugLineNum = 4924;BA.debugLine="Private Sub CheckBox6_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 4925;BA.debugLine="Dim textemp As String =\"\""; -_textemp = ""; - //BA.debugLineNum = 4926;BA.debugLine="textemp = CheckBox6.Text"; -_textemp = _checkbox6.getText(); - //BA.debugLineNum = 4927;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; -if (_checkbox1.getChecked()) { -_textemp = _textemp+", "+_checkbox1.getText();}; - //BA.debugLineNum = 4928;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; -if (_checkbox2.getChecked()) { -_textemp = _textemp+", "+_checkbox2.getText();}; - //BA.debugLineNum = 4929;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; -if (_checkbox3.getChecked()) { -_textemp = _textemp+", "+_checkbox3.getText();}; - //BA.debugLineNum = 4930;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; -if (_checkbox4.getChecked()) { -_textemp = _textemp+", "+_checkbox4.getText();}; - //BA.debugLineNum = 4931;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; -if (_checkbox5.getChecked()) { -_textemp = _textemp+", "+_checkbox5.getText();}; - //BA.debugLineNum = 4932;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; -if (_checkbox7.getChecked()) { -_textemp = _textemp+", "+_checkbox7.getText();}; - //BA.debugLineNum = 4933;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; -if (_checkbox8.getChecked()) { -_textemp = _textemp+", "+_checkbox8.getText();}; - //BA.debugLineNum = 4934;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; -_encuentasmapa.Put((Object)("P9"),(Object)(_textemp)); - //BA.debugLineNum = 4935;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456819723",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4936;BA.debugLine="End Sub"; -return ""; -} -public String _checkbox7_checkedchange(boolean _checked) throws Exception{ -String _textemp = ""; - //BA.debugLineNum = 4938;BA.debugLine="Private Sub CheckBox7_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 4939;BA.debugLine="Dim textemp As String =\"\""; -_textemp = ""; - //BA.debugLineNum = 4940;BA.debugLine="textemp = CheckBox7.Text"; -_textemp = _checkbox7.getText(); - //BA.debugLineNum = 4941;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; -if (_checkbox1.getChecked()) { -_textemp = _textemp+", "+_checkbox1.getText();}; - //BA.debugLineNum = 4942;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; -if (_checkbox2.getChecked()) { -_textemp = _textemp+", "+_checkbox2.getText();}; - //BA.debugLineNum = 4943;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; -if (_checkbox3.getChecked()) { -_textemp = _textemp+", "+_checkbox3.getText();}; - //BA.debugLineNum = 4944;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; -if (_checkbox4.getChecked()) { -_textemp = _textemp+", "+_checkbox4.getText();}; - //BA.debugLineNum = 4945;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; -if (_checkbox5.getChecked()) { -_textemp = _textemp+", "+_checkbox5.getText();}; - //BA.debugLineNum = 4946;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; -if (_checkbox6.getChecked()) { -_textemp = _textemp+", "+_checkbox6.getText();}; - //BA.debugLineNum = 4947;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; -if (_checkbox8.getChecked()) { -_textemp = _textemp+", "+_checkbox8.getText();}; - //BA.debugLineNum = 4948;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; -_encuentasmapa.Put((Object)("P9"),(Object)(_textemp)); - //BA.debugLineNum = 4949;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456885259",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4950;BA.debugLine="End Sub"; -return ""; -} -public String _checkbox8_checkedchange(boolean _checked) throws Exception{ -String _textemp = ""; - //BA.debugLineNum = 4952;BA.debugLine="Private Sub CheckBox8_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 4953;BA.debugLine="Dim textemp As String =\"\""; -_textemp = ""; - //BA.debugLineNum = 4954;BA.debugLine="textemp = CheckBox8.Text"; -_textemp = _checkbox8.getText(); - //BA.debugLineNum = 4955;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; -if (_checkbox1.getChecked()) { -_textemp = _textemp+", "+_checkbox1.getText();}; - //BA.debugLineNum = 4956;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; -if (_checkbox2.getChecked()) { -_textemp = _textemp+", "+_checkbox2.getText();}; - //BA.debugLineNum = 4957;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; -if (_checkbox3.getChecked()) { -_textemp = _textemp+", "+_checkbox3.getText();}; - //BA.debugLineNum = 4958;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; -if (_checkbox4.getChecked()) { -_textemp = _textemp+", "+_checkbox4.getText();}; - //BA.debugLineNum = 4959;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; -if (_checkbox5.getChecked()) { -_textemp = _textemp+", "+_checkbox5.getText();}; - //BA.debugLineNum = 4960;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; -if (_checkbox6.getChecked()) { -_textemp = _textemp+", "+_checkbox6.getText();}; - //BA.debugLineNum = 4961;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; -if (_checkbox7.getChecked()) { -_textemp = _textemp+", "+_checkbox7.getText();}; - //BA.debugLineNum = 4962;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; -_encuentasmapa.Put((Object)("P9"),(Object)(_textemp)); - //BA.debugLineNum = 4963;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456950795",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4964;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private p_cliente As Panel"; -_p_cliente = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Dim cuest As C_Cuestionario"; -_cuest = new gunav2.keymon.com.mx.c_cuestionario(); - //BA.debugLineNum = 6;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 7;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 9;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 10;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim total_cliente As String"; -_total_cliente = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim m_lat, m_lon As String"; -_m_lat = ""; -_m_lon = ""; - //BA.debugLineNum = 14;BA.debugLine="Dim btAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 15;BA.debugLine="Dim cmp20 As Serial"; -_cmp20 = new anywheresoftware.b4a.objects.Serial(); - //BA.debugLineNum = 16;BA.debugLine="Dim printer As TextWriter"; -_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim PairedDevices As Map"; -_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 18;BA.debugLine="Dim L As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 19;BA.debugLine="Dim TAMANO As Int"; -_tamano = 0; - //BA.debugLineNum = 20;BA.debugLine="Dim ESPACIO As Int"; -_espacio = 0; - //BA.debugLineNum = 21;BA.debugLine="Dim BLANCO As String"; -_blanco = ""; - //BA.debugLineNum = 22;BA.debugLine="Dim cuenta As String"; -_cuenta = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim tipo_venta As String"; -_tipo_venta = ""; - //BA.debugLineNum = 24;BA.debugLine="Dim MAC_IMPRESORA As String"; -_mac_impresora = ""; - //BA.debugLineNum = 25;BA.debugLine="Dim btAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 26;BA.debugLine="Dim Printer1 As EscPosPrinter"; -_printer1 = new gunav2.keymon.com.mx.escposprinter(); - //BA.debugLineNum = 27;BA.debugLine="Private location2 As Location"; -_location2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Dim s As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim DD As Cursor"; -_dd = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Dim la_cuenta As Label"; -_la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim La_nombre As Label"; -_la_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim la_Calle As Label"; -_la_calle = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Dim la_numero As Label"; -_la_numero = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Dim la_nint As Label"; -_la_nint = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Dim la_edo As Label"; -_la_edo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim la_pob As Label"; -_la_pob = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim la_col As Label"; -_la_col = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Dim la_cp As Label"; -_la_cp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim la_zona As Label"; -_la_zona = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim gest As Button"; -_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim la_saldotot As Label"; -_la_saldotot = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim la_saldooper As Label"; -_la_saldooper = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Private l_cajetillas As Label"; -_l_cajetillas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Dim Tels As Button"; -_tels = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Dim Label10 As Label"; -_label10 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Dim Label11 As Label"; -_label11 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 51;BA.debugLine="Dim Tar As Button"; -_tar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Dim t1, t2 As Timer"; -_t1 = new anywheresoftware.b4a.objects.Timer(); -_t2 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 53;BA.debugLine="Dim la_comm As Label"; -_la_comm = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Dim la_actdte As Label"; -_la_actdte = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 55;BA.debugLine="Dim la_usuario As Label"; -_la_usuario = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Dim la_resultado As Label"; -_la_resultado = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Dim l_entre1 As Label"; -_l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Dim l_entre2 As Label"; -_l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 59;BA.debugLine="Dim l_atiende As Label"; -_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 60;BA.debugLine="Dim l_atiende2 As Label"; -_l_atiende2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Dim DATOS As Button"; -_datos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 62;BA.debugLine="Dim Guardar As Button"; -_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 63;BA.debugLine="Dim NUEVO As Button"; -_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Dim l_total As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Dim S2 As Cursor"; -_s2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 69;BA.debugLine="Private s As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 70;BA.debugLine="Dim res As String"; -_res = ""; - //BA.debugLineNum = 71;BA.debugLine="Private HIST As Button"; -_hist = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 72;BA.debugLine="Private MONTO_COMPRA As String"; -_monto_compra = ""; - //BA.debugLineNum = 73;BA.debugLine="Private META As String"; -_meta = ""; - //BA.debugLineNum = 74;BA.debugLine="Private META2 As String"; -_meta2 = ""; - //BA.debugLineNum = 75;BA.debugLine="Private VERIFICA As String"; -_verifica = ""; - //BA.debugLineNum = 76;BA.debugLine="Private L_QR As Label"; -_l_qr = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Private BT_QR As Button"; -_bt_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Dim CODIGO As String"; -_codigo = ""; - //BA.debugLineNum = 81;BA.debugLine="Private b_mapa As Button"; -_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 82;BA.debugLine="Dim CUANTOS As String"; -_cuantos = ""; - //BA.debugLineNum = 83;BA.debugLine="Private B_IMP As Button"; -_b_imp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Dim Toggla As Toggle"; -_toggla = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 85;BA.debugLine="Dim tgl As Toggle"; -_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 86;BA.debugLine="Private Panel1 As Panel"; -_panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Private I_COMPRA As EditText"; -_i_compra = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private B_GUARDA_C As Button"; -_b_guarda_c = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 89;BA.debugLine="Private b_venta As Button"; -_b_venta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Dim ALMACEN As String"; -_almacen = ""; - //BA.debugLineNum = 91;BA.debugLine="Dim LA_GPS As Label"; -_la_gps = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Private B_E_NEXT As Button"; -_b_e_next = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private E_RES_E As EditText"; -_e_res_e = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Private t_tenc As Label"; -_t_tenc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Private Panel2 As Panel"; -_panel2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 96;BA.debugLine="Private CONTADOR_E As String"; -_contador_e = ""; - //BA.debugLineNum = 97;BA.debugLine="Private HR_RES1 As String"; -_hr_res1 = ""; - //BA.debugLineNum = 98;BA.debugLine="Private HR_RES2 As String"; -_hr_res2 = ""; - //BA.debugLineNum = 99;BA.debugLine="Private HR_RES3 As String"; -_hr_res3 = ""; - //BA.debugLineNum = 100;BA.debugLine="Private EXISTE As String"; -_existe = ""; - //BA.debugLineNum = 101;BA.debugLine="Private telefono As String"; -_telefono = ""; - //BA.debugLineNum = 104;BA.debugLine="Private RB1 As RadioButton"; -_rb1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 105;BA.debugLine="Private RB2 As RadioButton"; -_rb2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 106;BA.debugLine="Private RB3 As RadioButton"; -_rb3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 107;BA.debugLine="Private RB4 As RadioButton"; -_rb4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 108;BA.debugLine="Private RB5 As RadioButton"; -_rb5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 110;BA.debugLine="Private stay_hh As String"; -_stay_hh = ""; - //BA.debugLineNum = 111;BA.debugLine="Private stay_mi As String"; -_stay_mi = ""; - //BA.debugLineNum = 112;BA.debugLine="Private stay_ss As String"; -_stay_ss = ""; - //BA.debugLineNum = 114;BA.debugLine="Private LA_GEO As Label"; -_la_geo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 115;BA.debugLine="Dim result As Int"; -_result = 0; - //BA.debugLineNum = 116;BA.debugLine="Private cercavalor As String"; -_cercavalor = ""; - //BA.debugLineNum = 117;BA.debugLine="Private LA_RUTA As String"; -_la_ruta = ""; - //BA.debugLineNum = 119;BA.debugLine="Private b_like As Button"; -_b_like = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 120;BA.debugLine="Private B_GPS As Button"; -_b_gps = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 121;BA.debugLine="Dim sc As JhsIceZxing1"; -_sc = new ice.zxing.b4aZXingLib(); - //BA.debugLineNum = 122;BA.debugLine="Dim CODIGO As String"; -_codigo = ""; - //BA.debugLineNum = 123;BA.debugLine="Private SV_ENCUESTA As ScrollView"; -_sv_encuesta = new anywheresoftware.b4a.objects.ScrollViewWrapper(); - //BA.debugLineNum = 124;BA.debugLine="Private RB1_E1 As RadioButton"; -_rb1_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 125;BA.debugLine="Private RB2_E1 As RadioButton"; -_rb2_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 126;BA.debugLine="Private RB3_E1 As RadioButton"; -_rb3_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 127;BA.debugLine="Private CHB1 As CheckBox"; -_chb1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 128;BA.debugLine="Private CHB2 As CheckBox"; -_chb2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 129;BA.debugLine="Private CHB3 As CheckBox"; -_chb3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 130;BA.debugLine="Private Panel5 As Panel"; -_panel5 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 131;BA.debugLine="Private B_guardaencuesta As Button"; -_b_guardaencuesta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 132;BA.debugLine="Private RadioButton1 As RadioButton"; -_radiobutton1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 133;BA.debugLine="Private RadioButton2 As RadioButton"; -_radiobutton2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 134;BA.debugLine="Private RadioButton3 As RadioButton"; -_radiobutton3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 135;BA.debugLine="Private RadioButton4 As RadioButton"; -_radiobutton4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 136;BA.debugLine="Private RadioButton5 As RadioButton"; -_radiobutton5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 137;BA.debugLine="Private RadioButton6 As RadioButton"; -_radiobutton6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 138;BA.debugLine="Private RadioButton7 As RadioButton"; -_radiobutton7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 139;BA.debugLine="Private RadioButton8 As RadioButton"; -_radiobutton8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 140;BA.debugLine="Private RadioButton9 As RadioButton"; -_radiobutton9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 141;BA.debugLine="Private RadioButton10 As RadioButton"; -_radiobutton10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 142;BA.debugLine="Private RadioButton11 As RadioButton"; -_radiobutton11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 143;BA.debugLine="Private RadioButton12 As RadioButton"; -_radiobutton12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 144;BA.debugLine="Private RadioButton13 As RadioButton"; -_radiobutton13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 145;BA.debugLine="Private RadioButton14 As RadioButton"; -_radiobutton14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 146;BA.debugLine="Private CheckBox1 As CheckBox"; -_checkbox1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 147;BA.debugLine="Private CheckBox2 As CheckBox"; -_checkbox2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 148;BA.debugLine="Private CheckBox3 As CheckBox"; -_checkbox3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 149;BA.debugLine="Private CheckBox4 As CheckBox"; -_checkbox4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 150;BA.debugLine="Private CheckBox5 As CheckBox"; -_checkbox5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 151;BA.debugLine="Private CheckBox6 As CheckBox"; -_checkbox6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 152;BA.debugLine="Private CheckBox7 As CheckBox"; -_checkbox7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 153;BA.debugLine="Private CheckBox8 As CheckBox"; -_checkbox8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 154;BA.debugLine="Dim encuentasmapa As Map"; -_encuentasmapa = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 155;BA.debugLine="Private p6 As EditText"; -_p6 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 156;BA.debugLine="Private p7 As EditText"; -_p7 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 157;BA.debugLine="Private p8 As EditText"; -_p8 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 158;BA.debugLine="Private Panel7 As Panel"; -_panel7 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 159;BA.debugLine="Private RadioButton17 As RadioButton"; -_radiobutton17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 160;BA.debugLine="Private RadioButton16 As RadioButton"; -_radiobutton16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 161;BA.debugLine="Private RadioButton15 As RadioButton"; -_radiobutton15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 162;BA.debugLine="Private B_guardaencuesta_m2 As Button"; -_b_guardaencuesta_m2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 163;BA.debugLine="Private et_p1_m2 As EditText"; -_et_p1_m2 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 164;BA.debugLine="Private et_p2_m2 As EditText"; -_et_p2_m2 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 165;BA.debugLine="Private RB7_P6_M2 As RadioButton"; -_rb7_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 166;BA.debugLine="Private RB6_P6_M2 As RadioButton"; -_rb6_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 167;BA.debugLine="Private RB5_P6_M2 As RadioButton"; -_rb5_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 168;BA.debugLine="Private RB4_P6_M2 As RadioButton"; -_rb4_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 169;BA.debugLine="Private RB3_P6_M2 As RadioButton"; -_rb3_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 170;BA.debugLine="Private RB2_P6_M2 As RadioButton"; -_rb2_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 171;BA.debugLine="Private RB1_P6_M2 As RadioButton"; -_rb1_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 172;BA.debugLine="Private et_p5_m2 As EditText"; -_et_p5_m2 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 173;BA.debugLine="Private rd3_p4_m2 As RadioButton"; -_rd3_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 174;BA.debugLine="Private rd2_p4_m2 As RadioButton"; -_rd2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 175;BA.debugLine="Private rd1_p4_m2 As RadioButton"; -_rd1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 176;BA.debugLine="Private RB1_P3_M2 As RadioButton"; -_rb1_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 177;BA.debugLine="Private RB2_P3_M2 As RadioButton"; -_rb2_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 178;BA.debugLine="Private RB3_P3_M2 As RadioButton"; -_rb3_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 179;BA.debugLine="Private RB4_P3_M2 As RadioButton"; -_rb4_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 180;BA.debugLine="Private ET_P3_M2 As EditText"; -_et_p3_m2 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 181;BA.debugLine="Private Panel7_M2 As Panel"; -_panel7_m2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 182;BA.debugLine="Private P4_M2 As String"; -_p4_m2 = ""; - //BA.debugLineNum = 183;BA.debugLine="Private P3_M2 As String"; -_p3_m2 = ""; - //BA.debugLineNum = 184;BA.debugLine="Private P6_M2 As String"; -_p6_m2 = ""; - //BA.debugLineNum = 186;BA.debugLine="Private CB1_P3_M2 As CheckBox"; -_cb1_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 187;BA.debugLine="Private CB2_P3_M2 As CheckBox"; -_cb2_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 188;BA.debugLine="Private CB3_P3_M2 As CheckBox"; -_cb3_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 189;BA.debugLine="Private CB4_P3_M2 As CheckBox"; -_cb4_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 190;BA.debugLine="Private CB5_P3_M2 As CheckBox"; -_cb5_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 191;BA.debugLine="Private CB6_P3_M2 As CheckBox"; -_cb6_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 192;BA.debugLine="Private EXISTE2 As String"; -_existe2 = ""; - //BA.debugLineNum = 193;BA.debugLine="Private EXISTE3 As String"; -_existe3 = ""; - //BA.debugLineNum = 194;BA.debugLine="Private EXISTE4 As String"; -_existe4 = ""; - //BA.debugLineNum = 195;BA.debugLine="Private EXISTE5 As String"; -_existe5 = ""; - //BA.debugLineNum = 196;BA.debugLine="Private et_p1_m3 As EditText"; -_et_p1_m3 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 197;BA.debugLine="Private et_p2_m3 As EditText"; -_et_p2_m3 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 198;BA.debugLine="Private CB1_P3_M3 As CheckBox"; -_cb1_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 199;BA.debugLine="Private CB2_P3_M3 As CheckBox"; -_cb2_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 200;BA.debugLine="Private CB3_P3_M3 As CheckBox"; -_cb3_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 201;BA.debugLine="Private CB4_P3_M3 As CheckBox"; -_cb4_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 202;BA.debugLine="Private CB5_P3_M3 As CheckBox"; -_cb5_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 203;BA.debugLine="Private CB1_P4_M3 As CheckBox"; -_cb1_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 204;BA.debugLine="Private CB2_P4_M3 As CheckBox"; -_cb2_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 205;BA.debugLine="Private CB3_P4_M3 As CheckBox"; -_cb3_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 206;BA.debugLine="Private CB4_P4_M3 As CheckBox"; -_cb4_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 207;BA.debugLine="Private CB5_P4_M3 As CheckBox"; -_cb5_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 208;BA.debugLine="Private rd1_p5_m3 As RadioButton"; -_rd1_p5_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 209;BA.debugLine="Private rd2_p5_m3 As RadioButton"; -_rd2_p5_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 210;BA.debugLine="Private CB1_P6_M3 As CheckBox"; -_cb1_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 211;BA.debugLine="Private CB2_P6_M3 As CheckBox"; -_cb2_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 212;BA.debugLine="Private CB3_P6_M3 As CheckBox"; -_cb3_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 213;BA.debugLine="Private CB4_P6_M3 As CheckBox"; -_cb4_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 214;BA.debugLine="Private CB5_P6_M3 As CheckBox"; -_cb5_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 215;BA.debugLine="Private CB6_P6_M3 As CheckBox"; -_cb6_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 216;BA.debugLine="Private ET_P6_M3 As EditText"; -_et_p6_m3 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 217;BA.debugLine="Private CB1_P7_M3 As CheckBox"; -_cb1_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 218;BA.debugLine="Private CB2_P7_M3 As CheckBox"; -_cb2_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 219;BA.debugLine="Private CB3_P7_M3 As CheckBox"; -_cb3_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 220;BA.debugLine="Private CB4_P7_M3 As CheckBox"; -_cb4_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 221;BA.debugLine="Private CB1_P8_M3 As CheckBox"; -_cb1_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 222;BA.debugLine="Private CB2_P8_M3 As CheckBox"; -_cb2_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 223;BA.debugLine="Private CB4_P8_M3 As CheckBox"; -_cb4_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 224;BA.debugLine="Private RB1_P9_M3 As RadioButton"; -_rb1_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 225;BA.debugLine="Private RB2_P9_M3 As RadioButton"; -_rb2_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 226;BA.debugLine="Private RB3_P9_M3 As RadioButton"; -_rb3_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 227;BA.debugLine="Private RB4_P9_M3 As RadioButton"; -_rb4_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 228;BA.debugLine="Private RB5_P9_M3 As RadioButton"; -_rb5_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 229;BA.debugLine="Private B_guardaencuesta_m3 As Button"; -_b_guardaencuesta_m3 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 230;BA.debugLine="Private P_gallina As Panel"; -_p_gallina = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 231;BA.debugLine="Private b_acepta_gallina As Button"; -_b_acepta_gallina = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 232;BA.debugLine="Private B_CANCELA_GALLINA As Button"; -_b_cancela_gallina = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 233;BA.debugLine="Private B_GALLINA As Button"; -_b_gallina = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 234;BA.debugLine="Private la_cuenta_gallina As Label"; -_la_cuenta_gallina = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 235;BA.debugLine="Private cb_pregunta As B4XComboBox"; -_cb_pregunta = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 236;BA.debugLine="Dim girotienda As String"; -_girotienda = ""; - //BA.debugLineNum = 237;BA.debugLine="Private p_pregunta1 As Panel"; -_p_pregunta1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 238;BA.debugLine="Private b_preguntag As Button"; -_b_preguntag = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 239;BA.debugLine="Private EN_QUE_ENCUESTA As String"; -_en_que_encuesta = ""; - //BA.debugLineNum = 240;BA.debugLine="Private ENCUESTA As String"; -_encuesta = ""; - //BA.debugLineNum = 241;BA.debugLine="Private et_p1_m4 As EditText"; -_et_p1_m4 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 242;BA.debugLine="Private et_p2_m4 As EditText"; -_et_p2_m4 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 243;BA.debugLine="Private cb_p3_m4 As B4XComboBox"; -_cb_p3_m4 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 244;BA.debugLine="Private cb_p4_1_m4 As B4XComboBox"; -_cb_p4_1_m4 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 245;BA.debugLine="Private cb_p4_2_m4 As B4XComboBox"; -_cb_p4_2_m4 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 246;BA.debugLine="Private cb_p4_3_m4 As B4XComboBox"; -_cb_p4_3_m4 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 247;BA.debugLine="Private cb_p4_4_m4 As B4XComboBox"; -_cb_p4_4_m4 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 248;BA.debugLine="Private cb_p4_5_m4 As B4XComboBox"; -_cb_p4_5_m4 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 249;BA.debugLine="Dim itemselect2 As String"; -_itemselect2 = ""; - //BA.debugLineNum = 250;BA.debugLine="Dim itemselect3 As String"; -_itemselect3 = ""; - //BA.debugLineNum = 251;BA.debugLine="Dim itemselect4 As String"; -_itemselect4 = ""; - //BA.debugLineNum = 252;BA.debugLine="Dim itemselect5 As String"; -_itemselect5 = ""; - //BA.debugLineNum = 253;BA.debugLine="Dim itemselect6 As String"; -_itemselect6 = ""; - //BA.debugLineNum = 254;BA.debugLine="Dim itemselect7 As String"; -_itemselect7 = ""; - //BA.debugLineNum = 255;BA.debugLine="Private B_guardaencuesta_m4 As Button"; -_b_guardaencuesta_m4 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 256;BA.debugLine="Private p_modulo5 As Panel"; -_p_modulo5 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 257;BA.debugLine="Private cb_p1_m5 As B4XComboBox"; -_cb_p1_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 258;BA.debugLine="Private cb_p2_m5 As B4XComboBox"; -_cb_p2_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 259;BA.debugLine="Private cb_p3_m5 As B4XComboBox"; -_cb_p3_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 260;BA.debugLine="Private cb_p4_m5 As B4XComboBox"; -_cb_p4_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 261;BA.debugLine="Private cb_p5_m5 As B4XComboBox"; -_cb_p5_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 262;BA.debugLine="Private cb_p6_m5 As B4XComboBox"; -_cb_p6_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 263;BA.debugLine="Private cb_p7_m5 As B4XComboBox"; -_cb_p7_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 264;BA.debugLine="Private cb_p8_m5 As B4XComboBox"; -_cb_p8_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 265;BA.debugLine="Private cb_p9_m5 As B4XComboBox"; -_cb_p9_m5 = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 266;BA.debugLine="Dim itemselect8 As String"; -_itemselect8 = ""; - //BA.debugLineNum = 267;BA.debugLine="Dim itemselect9 As String"; -_itemselect9 = ""; - //BA.debugLineNum = 268;BA.debugLine="Dim itemselect10 As String"; -_itemselect10 = ""; - //BA.debugLineNum = 269;BA.debugLine="Dim itemselect11 As String"; -_itemselect11 = ""; - //BA.debugLineNum = 270;BA.debugLine="Dim itemselect12 As String"; -_itemselect12 = ""; - //BA.debugLineNum = 271;BA.debugLine="Dim itemselect13 As String"; -_itemselect13 = ""; - //BA.debugLineNum = 272;BA.debugLine="Dim itemselect14 As String"; -_itemselect14 = ""; - //BA.debugLineNum = 273;BA.debugLine="Dim itemselect15 As String"; -_itemselect15 = ""; - //BA.debugLineNum = 274;BA.debugLine="Dim itemselect16 As String"; -_itemselect16 = ""; - //BA.debugLineNum = 275;BA.debugLine="Private B_guardaencuesta_m5 As Button"; -_b_guardaencuesta_m5 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 276;BA.debugLine="Dim PASA As String"; -_pasa = ""; - //BA.debugLineNum = 277;BA.debugLine="Private RB1_P4_M2 As RadioButton"; -_rb1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 278;BA.debugLine="Private RB2_P4_M2 As RadioButton"; -_rb2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 279;BA.debugLine="Private panel7_p4_m2 As Panel"; -_panel7_p4_m2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 280;BA.debugLine="Private CB1_P4_M2 As CheckBox"; -_cb1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 281;BA.debugLine="Private CB2_P4_M2 As CheckBox"; -_cb2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 282;BA.debugLine="Private CB3_P4_M2 As CheckBox"; -_cb3_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 283;BA.debugLine="Private CB4_P4_M2 As CheckBox"; -_cb4_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 284;BA.debugLine="Private Panel4 As Panel"; -_panel4 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 285;BA.debugLine="Private B_GUARDA_CE_PED As Button"; -_b_guarda_ce_ped = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 288;BA.debugLine="Private KP_01 As CheckBox"; -_kp_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 289;BA.debugLine="Private KP_02 As CheckBox"; -_kp_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 290;BA.debugLine="Private KP_03 As CheckBox"; -_kp_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 291;BA.debugLine="Private KP_04 As CheckBox"; -_kp_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 292;BA.debugLine="Private KP_05 As CheckBox"; -_kp_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 293;BA.debugLine="Private KP_06 As CheckBox"; -_kp_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 294;BA.debugLine="Private KP_07 As CheckBox"; -_kp_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 295;BA.debugLine="Private KP_08 As CheckBox"; -_kp_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 296;BA.debugLine="Private KP_09 As CheckBox"; -_kp_09 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 297;BA.debugLine="Private KP_10 As CheckBox"; -_kp_10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 298;BA.debugLine="Private KP_11 As CheckBox"; -_kp_11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 299;BA.debugLine="Private KP_12 As CheckBox"; -_kp_12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 300;BA.debugLine="Private KP_13 As CheckBox"; -_kp_13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 301;BA.debugLine="Private KP_14 As CheckBox"; -_kp_14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 302;BA.debugLine="Private KP_15 As CheckBox"; -_kp_15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 303;BA.debugLine="Private KP_16 As CheckBox"; -_kp_16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 304;BA.debugLine="Private KP_17 As CheckBox"; -_kp_17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 305;BA.debugLine="Private KP_18 As CheckBox"; -_kp_18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 306;BA.debugLine="Private KP_19 As CheckBox"; -_kp_19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 307;BA.debugLine="Private KP_20 As CheckBox"; -_kp_20 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 309;BA.debugLine="Private KG_01 As CheckBox"; -_kg_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 310;BA.debugLine="Private KG_02 As CheckBox"; -_kg_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 311;BA.debugLine="Private KG_03 As CheckBox"; -_kg_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 312;BA.debugLine="Private KG_04 As CheckBox"; -_kg_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 313;BA.debugLine="Private KG_05 As CheckBox"; -_kg_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 314;BA.debugLine="Private KG_06 As CheckBox"; -_kg_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 316;BA.debugLine="Private PK_01 As CheckBox"; -_pk_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 317;BA.debugLine="Private PK_02 As CheckBox"; -_pk_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 318;BA.debugLine="Private PK_03 As CheckBox"; -_pk_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 319;BA.debugLine="Private PK_04 As CheckBox"; -_pk_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 320;BA.debugLine="Private PK_05 As CheckBox"; -_pk_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 321;BA.debugLine="Private PK_06 As CheckBox"; -_pk_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 322;BA.debugLine="Private PK_07 As CheckBox"; -_pk_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 323;BA.debugLine="Private PK_08 As CheckBox"; -_pk_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 325;BA.debugLine="Private HPG_01 As CheckBox"; -_hpg_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 326;BA.debugLine="Private HPG_02 As CheckBox"; -_hpg_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 327;BA.debugLine="Private HPG_03 As CheckBox"; -_hpg_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 328;BA.debugLine="Private HPG_04 As CheckBox"; -_hpg_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 329;BA.debugLine="Private HPG_05 As CheckBox"; -_hpg_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 330;BA.debugLine="Private HPG_06 As CheckBox"; -_hpg_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 331;BA.debugLine="Private HPG_07 As CheckBox"; -_hpg_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 332;BA.debugLine="Private HPG_08 As CheckBox"; -_hpg_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 333;BA.debugLine="Private HPG_09 As CheckBox"; -_hpg_09 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 334;BA.debugLine="Private HPG_10 As CheckBox"; -_hpg_10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 336;BA.debugLine="Private HC_01 As CheckBox"; -_hc_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 337;BA.debugLine="Private HC_02 As CheckBox"; -_hc_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 338;BA.debugLine="Private HC_03 As CheckBox"; -_hc_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 339;BA.debugLine="Private HC_04 As CheckBox"; -_hc_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 341;BA.debugLine="Private B_01 As CheckBox"; -_b_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 342;BA.debugLine="Private B_02 As CheckBox"; -_b_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 344;BA.debugLine="Private CH_FACTURA As CheckBox"; -_ch_factura = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 345;BA.debugLine="Private que_modulo As String"; -_que_modulo = ""; - //BA.debugLineNum = 346;BA.debugLine="Private CUENTA_MODULO As String"; -_cuenta_modulo = ""; - //BA.debugLineNum = 347;BA.debugLine="Private rb1_m3_p1 As RadioButton"; -_rb1_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 348;BA.debugLine="Private RB2_M3_P1 As RadioButton"; -_rb2_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 349;BA.debugLine="Private RB3_M3_P1 As RadioButton"; -_rb3_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 350;BA.debugLine="Private RB4_M3_P1 As RadioButton"; -_rb4_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 351;BA.debugLine="Private RB1_M3_P2 As RadioButton"; -_rb1_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 352;BA.debugLine="Private RB2_M3_P2 As RadioButton"; -_rb2_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 353;BA.debugLine="Private RB3_M3_P2 As RadioButton"; -_rb3_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 354;BA.debugLine="Private RB4_M3_P2 As RadioButton"; -_rb4_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 355;BA.debugLine="Private et_p2_m3_1 As EditText"; -_et_p2_m3_1 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 356;BA.debugLine="Dim textemp2 As String =\"\""; -_textemp2 = ""; - //BA.debugLineNum = 357;BA.debugLine="Dim textemp3 As String =\"\""; -_textemp3 = ""; - //BA.debugLineNum = 358;BA.debugLine="Dim textemp4 As String =\"\""; -_textemp4 = ""; - //BA.debugLineNum = 359;BA.debugLine="Dim textemp5 As String =\"\""; -_textemp5 = ""; - //BA.debugLineNum = 360;BA.debugLine="Dim textemp6 As String =\"\""; -_textemp6 = ""; - //BA.debugLineNum = 361;BA.debugLine="Dim textemp7 As String =\"\""; -_textemp7 = ""; - //BA.debugLineNum = 362;BA.debugLine="Dim textemp8 As String =\"\""; -_textemp8 = ""; - //BA.debugLineNum = 363;BA.debugLine="Private CB3_P8_M3 As CheckBox"; -_cb3_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 364;BA.debugLine="Private CB7_P6_M3 As CheckBox"; -_cb7_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 365;BA.debugLine="Private p_m1 As Panel"; -_p_m1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 366;BA.debugLine="Private p_m2 As Panel"; -_p_m2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 367;BA.debugLine="Private p_m3 As Panel"; -_p_m3 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 368;BA.debugLine="Private p_m4 As Panel"; -_p_m4 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 369;BA.debugLine="Dim impresoraConectada As Boolean = False"; -_impresoraconectada = __c.False; - //BA.debugLineNum = 370;BA.debugLine="Dim errorImpresora As Int = 0"; -_errorimpresora = (int) (0); - //BA.debugLineNum = 371;BA.debugLine="Dim idencuestaaguardar As String"; -_idencuestaaguardar = ""; - //BA.debugLineNum = 373;BA.debugLine="Private botonPresionado As Int"; -_botonpresionado = 0; - //BA.debugLineNum = 374;BA.debugLine="Private encuestaRes As String"; -_encuestares = ""; - //BA.debugLineNum = 375;BA.debugLine="Dim indicePregunta As Int"; -_indicepregunta = 0; - //BA.debugLineNum = 376;BA.debugLine="Dim TOMAR_FOTO As String"; -_tomar_foto = ""; - //BA.debugLineNum = 377;BA.debugLine="Dim CURSOR_FOTO As Int"; -_cursor_foto = 0; - //BA.debugLineNum = 378;BA.debugLine="Dim id_encuesta As String"; -_id_encuesta = ""; - //BA.debugLineNum = 379;BA.debugLine="Private chk_1_valor As String"; -_chk_1_valor = ""; - //BA.debugLineNum = 380;BA.debugLine="Private chk_2_valor As String"; -_chk_2_valor = ""; - //BA.debugLineNum = 381;BA.debugLine="Private chk_3_valor As String"; -_chk_3_valor = ""; - //BA.debugLineNum = 382;BA.debugLine="Private Panel10 As Panel"; -_panel10 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 383;BA.debugLine="Private b_chk_e As Button"; -_b_chk_e = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 384;BA.debugLine="Private chk_3 As CheckBox"; -_chk_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 385;BA.debugLine="Private chk_2 As CheckBox"; -_chk_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 386;BA.debugLine="Private Chk_1 As CheckBox"; -_chk_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 387;BA.debugLine="Private l_chk_e As Label"; -_l_chk_e = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 388;BA.debugLine="Private Label28 As Label"; -_label28 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 389;BA.debugLine="Private p_encuesta As Panel"; -_p_encuesta = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 390;BA.debugLine="Private b_encuesta_continuar As Button"; -_b_encuesta_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 391;BA.debugLine="Private b_encuesta_3 As Button"; -_b_encuesta_3 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 392;BA.debugLine="Private b_encuesta_2 As Button"; -_b_encuesta_2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 393;BA.debugLine="Private b_encuesta_1 As Button"; -_b_encuesta_1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 394;BA.debugLine="Private et_encuesta As EditText"; -_et_encuesta = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 395;BA.debugLine="Private l_txtEncuesta As Label"; -_l_txtencuesta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 396;BA.debugLine="Private l_titEncuesta As Label"; -_l_titencuesta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 397;BA.debugLine="Private ImageView11 As ImageView"; -_imageview11 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 398;BA.debugLine="Dim distance As Long"; -_distance = 0L; - //BA.debugLineNum = 399;BA.debugLine="Dim distancealm As Long"; -_distancealm = 0L; - //BA.debugLineNum = 400;BA.debugLine="Private p_pideGeoPass As Panel"; -_p_pidegeopass = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 401;BA.debugLine="Private b_geopass As Button"; -_b_geopass = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 402;BA.debugLine="Private et_geopass As EditText"; -_et_geopass = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 403;BA.debugLine="Private l_geopass As Label"; -_l_geopass = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 404;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new gunav2.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 405;BA.debugLine="Dim ime As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 406;BA.debugLine="Private camEx As CameraExClass"; -_camex = new gunav2.keymon.com.mx.cameraexclass(); - //BA.debugLineNum = 407;BA.debugLine="Dim frontCamera As Boolean = False"; -_frontcamera = __c.False; - //BA.debugLineNum = 408;BA.debugLine="Private p_cam As Panel"; -_p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 409;BA.debugLine="Dim nombrefoto As String = \"0\""; -_nombrefoto = "0"; - //BA.debugLineNum = 410;BA.debugLine="Private p_camara As Panel"; -_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 411;BA.debugLine="Private teclado As IME"; -_teclado = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 412;BA.debugLine="Dim fototomada As String"; -_fototomada = ""; - //BA.debugLineNum = 413;BA.debugLine="Private b_foto As Button"; -_b_foto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 414;BA.debugLine="Dim precision As String"; -_precision = ""; - //BA.debugLineNum = 415;BA.debugLine="Dim b_Inicio_Fin_venta As Button"; -_b_inicio_fin_venta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 417;BA.debugLine="Dim dentroDeGeocerca As Boolean = False"; -_dentrodegeocerca = __c.False; - //BA.debugLineNum = 418;BA.debugLine="Dim motivoNoVenta, motivoNoVisita As String"; -_motivonoventa = ""; -_motivonovisita = ""; - //BA.debugLineNum = 419;BA.debugLine="Dim contadorIniciarVenta As Int = 0"; -_contadoriniciarventa = (int) (0); - //BA.debugLineNum = 420;BA.debugLine="Dim IniVenNO As Boolean = False"; -_inivenno = __c.False; - //BA.debugLineNum = 421;BA.debugLine="Private geoCont As Int = 0"; -_geocont = (int) (0); - //BA.debugLineNum = 422;BA.debugLine="Private l_version As Label"; -_l_version = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 427;BA.debugLine="Private b_preventa As Button"; -_b_preventa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 428;BA.debugLine="Dim bitacora As C_Bitacora"; -_bitacora = new gunav2.keymon.com.mx.c_bitacora(); - //BA.debugLineNum = 429;BA.debugLine="Dim p_transparenteTicketImpreso As Panel"; -_p_transparenteticketimpreso = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 430;BA.debugLine="Private et_codigoAutorizacion As EditText"; -_et_codigoautorizacion = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 431;BA.debugLine="Private b_codigoAutorizacion As Button"; -_b_codigoautorizacion = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 432;BA.debugLine="Private b_cancelarCodigoAutorizacion As Button"; -_b_cancelarcodigoautorizacion = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 433;BA.debugLine="Private p_ticketImpreso As Panel"; -_p_ticketimpreso = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 434;BA.debugLine="Private b_enviarTicket As Button"; -_b_enviarticket = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 435;BA.debugLine="Dim archivoTicketPDF As String"; -_archivoticketpdf = ""; - //BA.debugLineNum = 436;BA.debugLine="Private p_transparentePDF As Panel"; -_p_transparentepdf = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 437;BA.debugLine="Private p_envioPDF As Panel"; -_p_enviopdf = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 438;BA.debugLine="Private b_cancelarEnvioPDF As Button"; -_b_cancelarenviopdf = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 439;BA.debugLine="Private b_envioPDF As Button"; -_b_enviopdf = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 440;BA.debugLine="Private et_numeroPDF As EditText"; -_et_numeropdf = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 441;BA.debugLine="Private btnPlanLealtad As Button"; -_btnplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 442;BA.debugLine="Private pnl_btns As Panel"; -_pnl_btns = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 443;BA.debugLine="Private pnlPlanLealtad As Panel"; -_pnlplanlealtad = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 444;BA.debugLine="Private imgPlanLealtad As ImageView"; -_imgplanlealtad = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 445;BA.debugLine="Private btnAceptaPlanLealtad As Button"; -_btnaceptaplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 446;BA.debugLine="Private btnCancelarPlanLealtad As Button"; -_btncancelarplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 447;BA.debugLine="Private BCREDITO As String"; -_bcredito = ""; - //BA.debugLineNum = 450;BA.debugLine="Private p_comentarios As Panel"; -_p_comentarios = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 451;BA.debugLine="Private p_comentario As Panel"; -_p_comentario = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 452;BA.debugLine="Private b_agregarcom As Button"; -_b_agregarcom = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 453;BA.debugLine="Private b_cerarcom As Button"; -_b_cerarcom = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 454;BA.debugLine="Private Label19 As Label"; -_label19 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 455;BA.debugLine="Private et_comentario As EditText"; -_et_comentario = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 456;BA.debugLine="Private lv_comentarios As ListView"; -_lv_comentarios = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 457;BA.debugLine="Private ImageView4 As ImageView"; -_imageview4 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 458;BA.debugLine="Private p_cliente_ As Panel"; -_p_cliente_ = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 459;BA.debugLine="Private l_limite As Label"; -_l_limite = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 460;BA.debugLine="Private l_credito As Label"; -_l_credito = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 461;BA.debugLine="Private l_tipocliente As Label"; -_l_tipocliente = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 462;BA.debugLine="Private l_deuda As Label"; -_l_deuda = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 463;BA.debugLine="Private p_deuda As Panel"; -_p_deuda = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 464;BA.debugLine="Private Label22 As Label"; -_label22 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 465;BA.debugLine="Private l_animal As Label"; -_l_animal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 466;BA.debugLine="Private contIguales As Int = 0"; -_contiguales = (int) (0); - //BA.debugLineNum = 467;BA.debugLine="Private b_preventa2 As Button"; -_b_preventa2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 468;BA.debugLine="Private p_atiende As Panel"; -_p_atiende = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 469;BA.debugLine="Private et_atiende As EditText"; -_et_atiende = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 470;BA.debugLine="Private b_cancelatiende As Button"; -_b_cancelatiende = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 471;BA.debugLine="Private b_acepatiende As Button"; -_b_acepatiende = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 472;BA.debugLine="Private p_telefono As Panel"; -_p_telefono = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 473;BA.debugLine="Private b_canceltelefono As Button"; -_b_canceltelefono = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 474;BA.debugLine="Private b_aceptelefono As Button"; -_b_aceptelefono = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 475;BA.debugLine="Private et_telefono As EditText"; -_et_telefono = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 477;BA.debugLine="Dim totalpromos As Double"; -_totalpromos = 0; - //BA.debugLineNum = 478;BA.debugLine="Dim totalpromostotal As Double"; -_totalpromostotal = 0; - //BA.debugLineNum = 479;BA.debugLine="Private chb_com As CheckBox"; -_chb_com = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 480;BA.debugLine="End Sub"; -return ""; -} -public String _compra() throws Exception{ -anywheresoftware.b4a.objects.collections.List _rutasencuesta = null; -anywheresoftware.b4a.objects.collections.List _alamcenesencuesta = null; -anywheresoftware.b4a.objects.collections.List _items = null; - //BA.debugLineNum = 2227;BA.debugLine="Sub compra"; - //BA.debugLineNum = 2242;BA.debugLine="Private rutasEncuesta As List"; -_rutasencuesta = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2243;BA.debugLine="rutasEncuesta.Initialize2(Array As Int(702, 703,"; -_rutasencuesta.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new int[]{(int) (702),(int) (703),(int) (707),(int) (718),(int) (730),(int) (732),(int) (733),(int) (734)})); - //BA.debugLineNum = 2244;BA.debugLine="Private alamcenesEncuesta As List"; -_alamcenesencuesta = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2245;BA.debugLine="alamcenesEncuesta.Initialize2(Array As Int(15, 35"; -_alamcenesencuesta.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new int[]{(int) (15),(int) (35),(int) (43),(int) (54),(int) (56),(int) (73),(int) (75),(int) (79)})); - //BA.debugLineNum = 2260;BA.debugLine="If TOMAR_FOTO = 0 Then"; -if ((_tomar_foto).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 2261;BA.debugLine="Cuestionario"; -_cuestionario(); - }else { - //BA.debugLineNum = 2263;BA.debugLine="Dim Items As List"; -_items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2264;BA.debugLine="Items.Initialize"; -_items.Initialize(); - //BA.debugLineNum = 2265;BA.debugLine="Items.Add(\"Selecciona una opción\")"; -_items.Add((Object)("Selecciona una opción")); - //BA.debugLineNum = 2266;BA.debugLine="Items.Add(\"Tienda de Abarrotes (Abarrotes, Misce"; -_items.Add((Object)("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)")); - //BA.debugLineNum = 2267;BA.debugLine="Items.Add(\"Recaudería (Frutas y Verduras)\")"; -_items.Add((Object)("Recaudería (Frutas y Verduras)")); - //BA.debugLineNum = 2268;BA.debugLine="Items.Add(\"Vinos y Licores\")"; -_items.Add((Object)("Vinos y Licores")); - //BA.debugLineNum = 2269;BA.debugLine="Items.Add(\"Carnicería o Pollería\")"; -_items.Add((Object)("Carnicería o Pollería")); - //BA.debugLineNum = 2270;BA.debugLine="Items.Add(\"Farmacia\")"; -_items.Add((Object)("Farmacia")); - //BA.debugLineNum = 2271;BA.debugLine="Items.Add(\"Jarciería (Productos de Limpieza)\")"; -_items.Add((Object)("Jarciería (Productos de Limpieza)")); - //BA.debugLineNum = 2272;BA.debugLine="Items.Add(\"Papelería y Regalos\")"; -_items.Add((Object)("Papelería y Regalos")); - //BA.debugLineNum = 2273;BA.debugLine="Items.Add(\"Tortillería\")"; -_items.Add((Object)("Tortillería")); - //BA.debugLineNum = 2274;BA.debugLine="Items.Add(\"Escuelas\")"; -_items.Add((Object)("Escuelas")); - //BA.debugLineNum = 2275;BA.debugLine="Items.Add(\"Estanquillos (Puestos Semifijos)\")"; -_items.Add((Object)("Estanquillos (Puestos Semifijos)")); - //BA.debugLineNum = 2276;BA.debugLine="Items.Add(\"Fonda, Cocina Económica, Cafetería)\")"; -_items.Add((Object)("Fonda, Cocina Económica, Cafetería)")); - //BA.debugLineNum = 2277;BA.debugLine="Items.Add(\"Tlapalería, Ferretería\")"; -_items.Add((Object)("Tlapalería, Ferretería")); - //BA.debugLineNum = 2278;BA.debugLine="Items.Add(\"Dulcería, Materias Primas\")"; -_items.Add((Object)("Dulcería, Materias Primas")); - //BA.debugLineNum = 2279;BA.debugLine="Items.Add(\"Semillas y Chiles Secos\")"; -_items.Add((Object)("Semillas y Chiles Secos")); - //BA.debugLineNum = 2280;BA.debugLine="Items.Add(\"Cybercafé\")"; -_items.Add((Object)("Cybercafé")); - //BA.debugLineNum = 2281;BA.debugLine="Items.Add(\"Hotel\")"; -_items.Add((Object)("Hotel")); - //BA.debugLineNum = 2282;BA.debugLine="Items.Add(\"Veterinaria\")"; -_items.Add((Object)("Veterinaria")); - //BA.debugLineNum = 2283;BA.debugLine="Items.Add(\"Tienda de Mascotas\")"; -_items.Add((Object)("Tienda de Mascotas")); - //BA.debugLineNum = 2284;BA.debugLine="Items.Add(\"Otros\")"; -_items.Add((Object)("Otros")); - //BA.debugLineNum = 2285;BA.debugLine="cb_pregunta.SetItems(Items)"; -_cb_pregunta._setitems /*String*/ (_items); - //BA.debugLineNum = 2286;BA.debugLine="girotienda = \"Selecciona una opcion\""; -_girotienda = "Selecciona una opcion"; - //BA.debugLineNum = 2287;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 2288;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2289;BA.debugLine="CUENTA_MODULO = c.GetString(\"CUANTOS\")"; -_cuenta_modulo = _c.GetString("CUANTOS"); - //BA.debugLineNum = 2290;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2291;BA.debugLine="If CUENTA_MODULO > 0 Then"; -if ((double)(Double.parseDouble(_cuenta_modulo))>0) { - //BA.debugLineNum = 2292;BA.debugLine="c=skmt.ExecQuery(\"SELECT HEC_MODULO FROM HIST_E"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT HEC_MODULO FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 2293;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2294;BA.debugLine="que_modulo = c.GetString(\"HEC_MODULO\")"; -_que_modulo = _c.GetString("HEC_MODULO"); - //BA.debugLineNum = 2295;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 2297;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("451445830",_subs._traealmacen /*String*/ (ba),0); - //BA.debugLineNum = 2298;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO1 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 2299;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2300;BA.debugLine="EXISTE = c.GetString(\"CUANTOS\")"; -_existe = _c.GetString("CUANTOS"); - //BA.debugLineNum = 2301;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2303;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO2 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 2304;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2305;BA.debugLine="EXISTE2 = c.GetString(\"CUANTOS\")"; -_existe2 = _c.GetString("CUANTOS"); - //BA.debugLineNum = 2306;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2308;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO3 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 2309;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2310;BA.debugLine="EXISTE3 = c.GetString(\"CUANTOS\")"; -_existe3 = _c.GetString("CUANTOS"); - //BA.debugLineNum = 2311;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2313;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO4 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 2314;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2315;BA.debugLine="EXISTE4 = c.GetString(\"CUANTOS\")"; -_existe4 = _c.GetString("CUANTOS"); - //BA.debugLineNum = 2316;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2318;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO5 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 2319;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2320;BA.debugLine="EXISTE5 = c.GetString(\"CUANTOS\")"; -_existe5 = _c.GetString("CUANTOS"); - //BA.debugLineNum = 2321;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2346;BA.debugLine="If EXISTE = 0 And EXISTE2 = 0 And EXISTE3 = 0 An"; -if ((_existe).equals(BA.NumberToString(0)) && (_existe2).equals(BA.NumberToString(0)) && (_existe3).equals(BA.NumberToString(0)) && (_existe4).equals(BA.NumberToString(0)) && (_existe5).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 2347;BA.debugLine="S = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM C"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CUESTIONARIO"}))); - //BA.debugLineNum = 2348;BA.debugLine="S.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 2349;BA.debugLine="If s.GetString(\"CAT_VA_VALOR\") > \"0\" Then"; -if ((double)(Double.parseDouble(_s.GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 2351;BA.debugLine="ENCUESTA = s.GetString(\"CAT_VA_VALOR\")"; -_encuesta = _s.GetString("CAT_VA_VALOR"); - //BA.debugLineNum = 2352;BA.debugLine="ENCUESTA = \"3\""; -_encuesta = "3"; - }else { - //BA.debugLineNum = 2385;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +RDebugUtils.currentLine=52691039; + //BA.debugLineNum = 52691039;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52691040; + //BA.debugLineNum = 52691040;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52691041; + //BA.debugLineNum = 52691041;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=52691044; + //BA.debugLineNum = 52691044;BA.debugLine="B4XPages.ShowPage(\"productos\")"; _b4xpages._showpage /*String*/ (ba,"productos"); }; }else { - //BA.debugLineNum = 2388;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +RDebugUtils.currentLine=52691047; + //BA.debugLineNum = 52691047;BA.debugLine="Msgbox(\"FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR"; +__c.Msgbox(BA.ObjectToCharSequence("FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR"),BA.ObjectToCharSequence("AVISO"),ba); + }; +RDebugUtils.currentLine=52691049; + //BA.debugLineNum = 52691049;BA.debugLine="End Sub"; +return ""; +} +public String _b_guardaencuesta_m2_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_guardaencuesta_m2_click", false)) + {return ((String) Debug.delegate(ba, "b_guardaencuesta_m2_click", null));} +RDebugUtils.currentLine=57081856; + //BA.debugLineNum = 57081856;BA.debugLine="Private Sub B_guardaencuesta_m2_Click"; +RDebugUtils.currentLine=57081857; + //BA.debugLineNum = 57081857;BA.debugLine="P3_M2 = \"\""; +__ref._p3_m2 /*String*/ = ""; +RDebugUtils.currentLine=57081858; + //BA.debugLineNum = 57081858;BA.debugLine="P6_M2 = \"\""; +__ref._p6_m2 /*String*/ = ""; +RDebugUtils.currentLine=57081859; + //BA.debugLineNum = 57081859;BA.debugLine="P4_M2 = \"\""; +__ref._p4_m2 /*String*/ = ""; +RDebugUtils.currentLine=57081861; + //BA.debugLineNum = 57081861;BA.debugLine="PASA = \"1\""; +__ref._pasa /*String*/ = "1"; +RDebugUtils.currentLine=57081862; + //BA.debugLineNum = 57081862;BA.debugLine="If et_p1_m2.Text = \"\" Then PASA = \"0\""; +if ((__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57081863; + //BA.debugLineNum = 57081863;BA.debugLine="If et_p2_m2.Text = \"\" Then PASA = \"0\""; +if ((__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57081864; + //BA.debugLineNum = 57081864;BA.debugLine="P4_M2 = \"\""; +__ref._p4_m2 /*String*/ = ""; +RDebugUtils.currentLine=57081865; + //BA.debugLineNum = 57081865;BA.debugLine="If rd1_p4_m2.Checked Then P4_M2 = \"ALTO\""; +if (__ref._rd1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p4_m2 /*String*/ = "ALTO";}; +RDebugUtils.currentLine=57081866; + //BA.debugLineNum = 57081866;BA.debugLine="If rd2_p4_m2.Checked Then P4_M2 = \"MEDIO\""; +if (__ref._rd2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p4_m2 /*String*/ = "MEDIO";}; +RDebugUtils.currentLine=57081867; + //BA.debugLineNum = 57081867;BA.debugLine="If rd3_p4_m2.Checked Then P4_M2 = \"BAJO\""; +if (__ref._rd3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p4_m2 /*String*/ = "BAJO";}; +RDebugUtils.currentLine=57081869; + //BA.debugLineNum = 57081869;BA.debugLine="If P4_M2 = \"\" Then PASA = \"0\""; +if ((__ref._p4_m2 /*String*/ ).equals("")) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57081871; + //BA.debugLineNum = 57081871;BA.debugLine="P6_M2 = \"\""; +__ref._p6_m2 /*String*/ = ""; +RDebugUtils.currentLine=57081872; + //BA.debugLineNum = 57081872;BA.debugLine="If RB1_P6_M2.Checked Then P6_M2 = \"LUNES\""; +if (__ref._rb1_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p6_m2 /*String*/ = "LUNES";}; +RDebugUtils.currentLine=57081873; + //BA.debugLineNum = 57081873;BA.debugLine="If RB2_P6_M2.Checked Then P6_M2 = \"MARTES\""; +if (__ref._rb2_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p6_m2 /*String*/ = "MARTES";}; +RDebugUtils.currentLine=57081874; + //BA.debugLineNum = 57081874;BA.debugLine="If RB3_P6_M2.Checked Then P6_M2 = \"MIERCOLES\""; +if (__ref._rb3_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p6_m2 /*String*/ = "MIERCOLES";}; +RDebugUtils.currentLine=57081875; + //BA.debugLineNum = 57081875;BA.debugLine="If RB4_P6_M2.Checked Then P6_M2 = \"JUEVES\""; +if (__ref._rb4_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p6_m2 /*String*/ = "JUEVES";}; +RDebugUtils.currentLine=57081876; + //BA.debugLineNum = 57081876;BA.debugLine="If RB5_P6_M2.Checked Then P6_M2 = \"VIERNES\""; +if (__ref._rb5_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p6_m2 /*String*/ = "VIERNES";}; +RDebugUtils.currentLine=57081877; + //BA.debugLineNum = 57081877;BA.debugLine="If RB6_P6_M2.Checked Then P6_M2 = \"SABADO\""; +if (__ref._rb6_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p6_m2 /*String*/ = "SABADO";}; +RDebugUtils.currentLine=57081878; + //BA.debugLineNum = 57081878;BA.debugLine="If RB7_P6_M2.Checked Then P6_M2 = \"DOMINGO\""; +if (__ref._rb7_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p6_m2 /*String*/ = "DOMINGO";}; +RDebugUtils.currentLine=57081880; + //BA.debugLineNum = 57081880;BA.debugLine="If P6_M2 = \"\" Then PASA = \"0\""; +if ((__ref._p6_m2 /*String*/ ).equals("")) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57081883; + //BA.debugLineNum = 57081883;BA.debugLine="If CB1_P3_M2.Checked = False And CB2_P3_M2.Chec"; +if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb6_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && (__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(BA.ObjectToString(__c.False)) && __ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57081884; + //BA.debugLineNum = 57081884;BA.debugLine="If et_p5_m2.Text = \"\" Then PASA = \"0\""; +if ((__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57081885; + //BA.debugLineNum = 57081885;BA.debugLine="Log(textemp2)"; +__c.LogImpl("057081885",__ref._textemp2 /*String*/ ,0); +RDebugUtils.currentLine=57081886; + //BA.debugLineNum = 57081886;BA.debugLine="If textemp2 <> \"\" And textemp2.SubString2(0,2) ="; +if ((__ref._textemp2 /*String*/ ).equals("") == false && (__ref._textemp2 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ .substring((int) (2));}; +RDebugUtils.currentLine=57081887; + //BA.debugLineNum = 57081887;BA.debugLine="Log(textemp2)"; +__c.LogImpl("057081887",__ref._textemp2 /*String*/ ,0); +RDebugUtils.currentLine=57081888; + //BA.debugLineNum = 57081888;BA.debugLine="P3_M2 = textemp2"; +__ref._p3_m2 /*String*/ = __ref._textemp2 /*String*/ ; +RDebugUtils.currentLine=57081889; + //BA.debugLineNum = 57081889;BA.debugLine="If RB2_P4_M2.Checked Then"; +if (__ref._rb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=57081890; + //BA.debugLineNum = 57081890;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"NO\""; +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"NO"; + }else +{RDebugUtils.currentLine=57081892; + //BA.debugLineNum = 57081892;BA.debugLine="Else if RB1_P4_M2.Checked Then"; +if (__ref._rb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=57081893; + //BA.debugLineNum = 57081893;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"SI\""; +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"SI"; +RDebugUtils.currentLine=57081894; + //BA.debugLineNum = 57081894;BA.debugLine="If ET_P3_M2.Text = \"\" Then"; +if ((__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=57081895; + //BA.debugLineNum = 57081895;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +if (__ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"Rappi";}; +RDebugUtils.currentLine=57081896; + //BA.debugLineNum = 57081896;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +if (__ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"Coca Cola";}; +RDebugUtils.currentLine=57081897; + //BA.debugLineNum = 57081897;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +if (__ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"Modelo";}; +RDebugUtils.currentLine=57081898; + //BA.debugLineNum = 57081898;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +if (__ref._rb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"Rabbit";}; + }else +{RDebugUtils.currentLine=57081899; + //BA.debugLineNum = 57081899;BA.debugLine="Else If ET_P3_M2.Text <> \"\" Then"; +if ((__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=57081900; + //BA.debugLineNum = 57081900;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +if (__ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"Rappi";}; +RDebugUtils.currentLine=57081901; + //BA.debugLineNum = 57081901;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +if (__ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"Coca Cola";}; +RDebugUtils.currentLine=57081902; + //BA.debugLineNum = 57081902;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +if (__ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"Modelo";}; +RDebugUtils.currentLine=57081903; + //BA.debugLineNum = 57081903;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &"; +if (__ref._rb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+"Rabbit";}; +RDebugUtils.currentLine=57081904; + //BA.debugLineNum = 57081904;BA.debugLine="P3_M2 = P3_M2 &\", \" & ET_P3_M2.Text"; +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +", "+__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); + }} +; + }} +; +RDebugUtils.currentLine=57081907; + //BA.debugLineNum = 57081907;BA.debugLine="If textemp3 <> \"\" And textemp3.SubString2(0,2) ="; +if ((__ref._textemp3 /*String*/ ).equals("") == false && (__ref._textemp3 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ .substring((int) (2));}; +RDebugUtils.currentLine=57081909; + //BA.debugLineNum = 57081909;BA.debugLine="P3_M2 = P3_M2 &\"|\" & textemp3"; +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ +"|"+__ref._textemp3 /*String*/ ; +RDebugUtils.currentLine=57081911; + //BA.debugLineNum = 57081911;BA.debugLine="If P3_M2 <> \"\" And P3_M2.SubString2(0,2) = \", \" T"; +if ((__ref._p3_m2 /*String*/ ).equals("") == false && (__ref._p3_m2 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { +__ref._p3_m2 /*String*/ = __ref._p3_m2 /*String*/ .substring((int) (2));}; +RDebugUtils.currentLine=57081912; + //BA.debugLineNum = 57081912;BA.debugLine="LogColor(P3_M2,Colors.BlUE)"; +__c.LogImpl("057081912",__ref._p3_m2 /*String*/ ,__c.Colors.Blue); +RDebugUtils.currentLine=57081913; + //BA.debugLineNum = 57081913;BA.debugLine="If PASA = \"1\" Then"; +if ((__ref._pasa /*String*/ ).equals("1")) { +RDebugUtils.currentLine=57081914; + //BA.debugLineNum = 57081914;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO2"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO2 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p3_m2 /*String*/ ),(Object)(__ref._p4_m2 /*String*/ ),(Object)(__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p6_m2 /*String*/ )})); +RDebugUtils.currentLine=57081915; + //BA.debugLineNum = 57081915;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57081916; + //BA.debugLineNum = 57081916;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57081917; + //BA.debugLineNum = 57081917;BA.debugLine="et_p1_m2.Text = \"\""; +__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=57081918; + //BA.debugLineNum = 57081918;BA.debugLine="et_p2_m2.TEXT = \"\""; +__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=57081919; + //BA.debugLineNum = 57081919;BA.debugLine="RB7_P6_M2.Checked = False"; +__ref._rb7_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081920; + //BA.debugLineNum = 57081920;BA.debugLine="RB6_P6_M2.Checked = False"; +__ref._rb6_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081921; + //BA.debugLineNum = 57081921;BA.debugLine="RB5_P6_M2.Checked = False"; +__ref._rb5_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081922; + //BA.debugLineNum = 57081922;BA.debugLine="RB4_P6_M2.Checked = False"; +__ref._rb4_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081923; + //BA.debugLineNum = 57081923;BA.debugLine="RB3_P6_M2.Checked = False"; +__ref._rb3_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081924; + //BA.debugLineNum = 57081924;BA.debugLine="RB2_P6_M2.Checked = False"; +__ref._rb2_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081925; + //BA.debugLineNum = 57081925;BA.debugLine="RB1_P6_M2.Checked = False"; +__ref._rb1_p6_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081926; + //BA.debugLineNum = 57081926;BA.debugLine="et_p5_m2.Text = \"\""; +__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=57081927; + //BA.debugLineNum = 57081927;BA.debugLine="rd3_p4_m2.Checked = False"; +__ref._rd3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081928; + //BA.debugLineNum = 57081928;BA.debugLine="rd2_p4_m2.Checked = False"; +__ref._rd2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081929; + //BA.debugLineNum = 57081929;BA.debugLine="rd1_p4_m2.Checked = False"; +__ref._rd1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081930; + //BA.debugLineNum = 57081930;BA.debugLine="RB1_P3_M2.Checked = False"; +__ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081931; + //BA.debugLineNum = 57081931;BA.debugLine="RB2_P3_M2.Checked = False"; +__ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081932; + //BA.debugLineNum = 57081932;BA.debugLine="RB3_P3_M2.Checked = False"; +__ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081933; + //BA.debugLineNum = 57081933;BA.debugLine="RB4_P3_M2.Checked = False"; +__ref._rb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081935; + //BA.debugLineNum = 57081935;BA.debugLine="CB1_P3_M2.Checked = False"; +__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081936; + //BA.debugLineNum = 57081936;BA.debugLine="CB2_P3_M2.Checked = False"; +__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081937; + //BA.debugLineNum = 57081937;BA.debugLine="CB3_P3_M2.Checked = False"; +__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081938; + //BA.debugLineNum = 57081938;BA.debugLine="CB4_P3_M2.Checked = False"; +__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081939; + //BA.debugLineNum = 57081939;BA.debugLine="CB5_P3_M2.Checked = False"; +__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081940; + //BA.debugLineNum = 57081940;BA.debugLine="CB6_P3_M2.Checked = False"; +__ref._cb6_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57081942; + //BA.debugLineNum = 57081942;BA.debugLine="ET_P3_M2.Text = \"\""; +__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=57081943; + //BA.debugLineNum = 57081943;BA.debugLine="P3_M2 = \"\""; +__ref._p3_m2 /*String*/ = ""; +RDebugUtils.currentLine=57081944; + //BA.debugLineNum = 57081944;BA.debugLine="P4_M2 = \"\""; +__ref._p4_m2 /*String*/ = ""; +RDebugUtils.currentLine=57081945; + //BA.debugLineNum = 57081945;BA.debugLine="P6_M2 = \"\""; +__ref._p6_m2 /*String*/ = ""; +RDebugUtils.currentLine=57081947; + //BA.debugLineNum = 57081947;BA.debugLine="Panel7_M2.Visible = False"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57081952; + //BA.debugLineNum = 57081952;BA.debugLine="If ENCUESTA > 2 Then"; +if ((double)(Double.parseDouble(__ref._encuesta /*String*/ ))>2) { +RDebugUtils.currentLine=57081953; + //BA.debugLineNum = 57081953;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible Then"; +if (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=57081954; + //BA.debugLineNum = 57081954;BA.debugLine="p_m2.Visible = False"; +__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { + }; +RDebugUtils.currentLine=57081958; + //BA.debugLineNum = 57081958;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57081959; + //BA.debugLineNum = 57081959;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57081960; + //BA.debugLineNum = 57081960;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57081961; + //BA.debugLineNum = 57081961;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3\")"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESSTA_M3",ba); +RDebugUtils.currentLine=57081962; + //BA.debugLineNum = 57081962;BA.debugLine="p_m3.Width = Root.Width * 0.94"; +__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=57081963; + //BA.debugLineNum = 57081963;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 60"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60)); +RDebugUtils.currentLine=57081965; + //BA.debugLineNum = 57081965;BA.debugLine="If Subs.traeAlmacen = 1 Or Subs.traeAlmacen"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(1)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(2)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(4)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(5)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(35)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(36)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(45)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(46)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(47)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(54)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(64)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(65)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(71)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(3)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(25)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(27)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(38))) { +RDebugUtils.currentLine=57081966; + //BA.debugLineNum = 57081966;BA.debugLine="CB1_P6_M3.Text = \"GARIS\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("GARIS")); +RDebugUtils.currentLine=57081967; + //BA.debugLineNum = 57081967;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57081968; + //BA.debugLineNum = 57081968;BA.debugLine="CB3_P6_M3.Text = \"ZORRO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZORRO")); +RDebugUtils.currentLine=57081969; + //BA.debugLineNum = 57081969;BA.debugLine="CB4_P6_M3.Text = \"ESCORPION\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ESCORPION")); +RDebugUtils.currentLine=57081970; + //BA.debugLineNum = 57081970;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RABBIT")); +RDebugUtils.currentLine=57081971; + //BA.debugLineNum = 57081971;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS")); + }else +{RDebugUtils.currentLine=57081973; + //BA.debugLineNum = 57081973;BA.debugLine="else If Subs.traeAlmacen = 12 Then '"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(12))) { +RDebugUtils.currentLine=57081974; + //BA.debugLineNum = 57081974;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA")); +RDebugUtils.currentLine=57081975; + //BA.debugLineNum = 57081975;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA")); +RDebugUtils.currentLine=57081976; + //BA.debugLineNum = 57081976;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57081977; + //BA.debugLineNum = 57081977;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO")); +RDebugUtils.currentLine=57081978; + //BA.debugLineNum = 57081978;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("HUGOSS")); +RDebugUtils.currentLine=57081979; + //BA.debugLineNum = 57081979;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZORRO")); + }else +{RDebugUtils.currentLine=57081980; + //BA.debugLineNum = 57081980;BA.debugLine="else If Subs.traeAlmacen = 13 Then '"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(13))) { +RDebugUtils.currentLine=57081981; + //BA.debugLineNum = 57081981;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA")); +RDebugUtils.currentLine=57081982; + //BA.debugLineNum = 57081982;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA")); +RDebugUtils.currentLine=57081983; + //BA.debugLineNum = 57081983;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57081984; + //BA.debugLineNum = 57081984;BA.debugLine="CB4_P6_M3.Text = \"SCORPION\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SCORPION")); +RDebugUtils.currentLine=57081985; + //BA.debugLineNum = 57081985;BA.debugLine="CB5_P6_M3.Text = \"ZORRO\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZORRO")); +RDebugUtils.currentLine=57081986; + //BA.debugLineNum = 57081986;BA.debugLine="CB6_P6_M3.Text = \"GARIS\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("GARIS")); + }else +{RDebugUtils.currentLine=57081987; + //BA.debugLineNum = 57081987;BA.debugLine="else If Subs.traeAlmacen = 14 Or Subs.traeA"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(14)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(69)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(37))) { +RDebugUtils.currentLine=57081988; + //BA.debugLineNum = 57081988;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA")); +RDebugUtils.currentLine=57081989; + //BA.debugLineNum = 57081989;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA")); +RDebugUtils.currentLine=57081990; + //BA.debugLineNum = 57081990;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57081991; + //BA.debugLineNum = 57081991;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO")); +RDebugUtils.currentLine=57081992; + //BA.debugLineNum = 57081992;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); +RDebugUtils.currentLine=57081993; + //BA.debugLineNum = 57081993;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZORRO")); + }else +{RDebugUtils.currentLine=57081994; + //BA.debugLineNum = 57081994;BA.debugLine="else If Subs.traeAlmacen = 16 Or Subs.traeAl"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(16)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(70))) { +RDebugUtils.currentLine=57081995; + //BA.debugLineNum = 57081995;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA")); +RDebugUtils.currentLine=57081996; + //BA.debugLineNum = 57081996;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA")); +RDebugUtils.currentLine=57081997; + //BA.debugLineNum = 57081997;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57081998; + //BA.debugLineNum = 57081998;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO")); +RDebugUtils.currentLine=57081999; + //BA.debugLineNum = 57081999;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); +RDebugUtils.currentLine=57082000; + //BA.debugLineNum = 57082000;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS")); + }else +{RDebugUtils.currentLine=57082001; + //BA.debugLineNum = 57082001;BA.debugLine="else If Subs.traeAlmacen = 17 Then '"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(17))) { +RDebugUtils.currentLine=57082002; + //BA.debugLineNum = 57082002;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA")); +RDebugUtils.currentLine=57082003; + //BA.debugLineNum = 57082003;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57082004; + //BA.debugLineNum = 57082004;BA.debugLine="CB3_P6_M3.Text = \"\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=57082005; + //BA.debugLineNum = 57082005;BA.debugLine="CB4_P6_M3.Text = \"\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=57082006; + //BA.debugLineNum = 57082006;BA.debugLine="CB5_P6_M3.Text = \"\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=57082007; + //BA.debugLineNum = 57082007;BA.debugLine="CB6_P6_M3.Text = \"\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("")); + }else +{RDebugUtils.currentLine=57082008; + //BA.debugLineNum = 57082008;BA.debugLine="else If Subs.traeAlmacen = 29 Or Subs.traeAl"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(29)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(31))) { +RDebugUtils.currentLine=57082009; + //BA.debugLineNum = 57082009;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA")); +RDebugUtils.currentLine=57082010; + //BA.debugLineNum = 57082010;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA")); +RDebugUtils.currentLine=57082011; + //BA.debugLineNum = 57082011;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57082012; + //BA.debugLineNum = 57082012;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO")); +RDebugUtils.currentLine=57082013; + //BA.debugLineNum = 57082013;BA.debugLine="CB5_P6_M3.Text = \"SAMS\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS")); +RDebugUtils.currentLine=57082014; + //BA.debugLineNum = 57082014;BA.debugLine="CB6_P6_M3.Text = \"RIVERA/GRAN BODEGA\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA")); + }else +{RDebugUtils.currentLine=57082015; + //BA.debugLineNum = 57082015;BA.debugLine="else If Subs.traeAlmacen = 32 Or Subs.traeAl"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(32)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(33))) { +RDebugUtils.currentLine=57082016; + //BA.debugLineNum = 57082016;BA.debugLine="CB1_P6_M3.Text = \"MAS BODEGA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("MAS BODEGA")); +RDebugUtils.currentLine=57082017; + //BA.debugLineNum = 57082017;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57082018; + //BA.debugLineNum = 57082018;BA.debugLine="CB3_P6_M3.Text = \"TREVIÑO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("TREVIÑO")); +RDebugUtils.currentLine=57082019; + //BA.debugLineNum = 57082019;BA.debugLine="CB4_P6_M3.Text = \"HUGOSS\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("HUGOSS")); +RDebugUtils.currentLine=57082020; + //BA.debugLineNum = 57082020;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("RABBIT")); +RDebugUtils.currentLine=57082021; + //BA.debugLineNum = 57082021;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS")); + }else +{RDebugUtils.currentLine=57082022; + //BA.debugLineNum = 57082022;BA.debugLine="else If Subs.traeAlmacen = 66 Or Subs.traeAl"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(66)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(67))) { +RDebugUtils.currentLine=57082023; + //BA.debugLineNum = 57082023;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA")); +RDebugUtils.currentLine=57082024; + //BA.debugLineNum = 57082024;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA")); +RDebugUtils.currentLine=57082025; + //BA.debugLineNum = 57082025;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57082026; + //BA.debugLineNum = 57082026;BA.debugLine="CB4_P6_M3.Text = \"DUERO\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DUERO")); +RDebugUtils.currentLine=57082027; + //BA.debugLineNum = 57082027;BA.debugLine="CB5_P6_M3.Text = \"SCORPION\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SCORPION")); +RDebugUtils.currentLine=57082028; + //BA.debugLineNum = 57082028;BA.debugLine="CB6_P6_M3.Text = \"SAMS\""; +__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAMS")); + }else +{RDebugUtils.currentLine=57082030; + //BA.debugLineNum = 57082030;BA.debugLine="else If Subs.traeAlmacen = 22 Or Subs.traeAl"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(22)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(34))) { +RDebugUtils.currentLine=57082031; + //BA.debugLineNum = 57082031;BA.debugLine="CB1_P6_M3.Text = \"DECASA\""; +__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("DECASA")); +RDebugUtils.currentLine=57082032; + //BA.debugLineNum = 57082032;BA.debugLine="CB2_P6_M3.Text = \"ZETA\""; +__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("ZETA")); +RDebugUtils.currentLine=57082033; + //BA.debugLineNum = 57082033;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\""; +__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("SAHUAYO")); +RDebugUtils.currentLine=57082034; + //BA.debugLineNum = 57082034;BA.debugLine="CB4_P6_M3.Text = \"MERZA/DUERO\""; +__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("MERZA/DUERO")); +RDebugUtils.currentLine=57082035; + //BA.debugLineNum = 57082035;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\""; +__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence("HUGOSS")); + }}}}}}}}}} +; + }else { +RDebugUtils.currentLine=57082038; + //BA.debugLineNum = 57082038;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57082039; + //BA.debugLineNum = 57082039;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57082040; + //BA.debugLineNum = 57082040;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57082042; + //BA.debugLineNum = 57082042;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=57082043; + //BA.debugLineNum = 57082043;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba); + }; + }else { +RDebugUtils.currentLine=57082046; + //BA.debugLineNum = 57082046;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; +__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba); + }; +RDebugUtils.currentLine=57082048; + //BA.debugLineNum = 57082048;BA.debugLine="End Sub"; +return ""; +} +public String _b_guardaencuesta_m3_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_guardaencuesta_m3_click", false)) + {return ((String) Debug.delegate(ba, "b_guardaencuesta_m3_click", null));} +String _p3_m3 = ""; +String _p4_m3 = ""; +String _p5_m3 = ""; +String _p6_m3 = ""; +String _p7_m3 = ""; +String _p8_m3 = ""; +String _p9_m3 = ""; +anywheresoftware.b4a.objects.collections.List _items2 = null; +anywheresoftware.b4a.objects.collections.List _items3 = null; +RDebugUtils.currentLine=57212928; + //BA.debugLineNum = 57212928;BA.debugLine="Private Sub B_guardaencuesta_m3_Click"; +RDebugUtils.currentLine=57212930; + //BA.debugLineNum = 57212930;BA.debugLine="PASA = \"1\""; +__ref._pasa /*String*/ = "1"; +RDebugUtils.currentLine=57212936; + //BA.debugLineNum = 57212936;BA.debugLine="Private P3_M3 As String = \"\""; +_p3_m3 = ""; +RDebugUtils.currentLine=57212937; + //BA.debugLineNum = 57212937;BA.debugLine="Private P4_M3 As String = \"\""; +_p4_m3 = ""; +RDebugUtils.currentLine=57212938; + //BA.debugLineNum = 57212938;BA.debugLine="Private P5_M3 As String = \"\""; +_p5_m3 = ""; +RDebugUtils.currentLine=57212939; + //BA.debugLineNum = 57212939;BA.debugLine="Private P6_M3 As String = \"\""; +_p6_m3 = ""; +RDebugUtils.currentLine=57212940; + //BA.debugLineNum = 57212940;BA.debugLine="Private P7_M3 As String = \"\""; +_p7_m3 = ""; +RDebugUtils.currentLine=57212941; + //BA.debugLineNum = 57212941;BA.debugLine="Private P8_M3 As String = \"\""; +_p8_m3 = ""; +RDebugUtils.currentLine=57212942; + //BA.debugLineNum = 57212942;BA.debugLine="Private P9_M3 As String = \"\""; +_p9_m3 = ""; +RDebugUtils.currentLine=57212948; + //BA.debugLineNum = 57212948;BA.debugLine="If rd1_p5_m3.Checked Then P5_M3 = \"SI\""; +if (__ref._rd1_p5_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p5_m3 = "SI";}; +RDebugUtils.currentLine=57212949; + //BA.debugLineNum = 57212949;BA.debugLine="If rd2_p5_m3.Checked Then P5_M3 = \"NO\""; +if (__ref._rd2_p5_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p5_m3 = "NO";}; +RDebugUtils.currentLine=57212951; + //BA.debugLineNum = 57212951;BA.debugLine="If RB1_P9_M3.Checked Then P9_M3 = \"DIARIO\""; +if (__ref._rb1_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p9_m3 = "DIARIO";}; +RDebugUtils.currentLine=57212952; + //BA.debugLineNum = 57212952;BA.debugLine="If RB2_P9_M3.Checked Then P9_M3 = \"BISEMANAL\""; +if (__ref._rb2_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p9_m3 = "BISEMANAL";}; +RDebugUtils.currentLine=57212953; + //BA.debugLineNum = 57212953;BA.debugLine="If RB3_P9_M3.Checked Then P9_M3 = \"SEMANAL\""; +if (__ref._rb3_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p9_m3 = "SEMANAL";}; +RDebugUtils.currentLine=57212954; + //BA.debugLineNum = 57212954;BA.debugLine="If RB4_P9_M3.Checked Then P9_M3 = \"QUINCENAL\""; +if (__ref._rb4_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p9_m3 = "QUINCENAL";}; +RDebugUtils.currentLine=57212955; + //BA.debugLineNum = 57212955;BA.debugLine="If RB5_P9_M3.Checked Then P9_M3 = \"MENSUAL\""; +if (__ref._rb5_p9_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p9_m3 = "MENSUAL";}; +RDebugUtils.currentLine=57212956; + //BA.debugLineNum = 57212956;BA.debugLine="If P9_M3 = \"\" Then PASA = \"0\""; +if ((_p9_m3).equals("")) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57212957; + //BA.debugLineNum = 57212957;BA.debugLine="If P5_M3 = \"\" Then PASA = \"0\""; +if ((_p5_m3).equals("")) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57212960; + //BA.debugLineNum = 57212960;BA.debugLine="If CB1_P3_M3.Checked = False And CB2_P3_M3.Check"; +if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57212962; + //BA.debugLineNum = 57212962;BA.debugLine="If CB1_P4_M3.Checked = False And CB2_P4_M3.Che"; +if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57212967; + //BA.debugLineNum = 57212967;BA.debugLine="If CB1_P7_M3.Checked = False And CB2_P7_M3.Chec"; +if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57212970; + //BA.debugLineNum = 57212970;BA.debugLine="If CB1_P8_M3.Checked = False And CB2_P8_M3.Check"; +if (__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False && __ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.False) { +__ref._pasa /*String*/ = "0";}; +RDebugUtils.currentLine=57212971; + //BA.debugLineNum = 57212971;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\""; +if (__ref._rb1_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p3_m3 = "7 A 9";}; +RDebugUtils.currentLine=57212972; + //BA.debugLineNum = 57212972;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\""; +if (__ref._rb2_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p3_m3 = "9 A 11";}; +RDebugUtils.currentLine=57212973; + //BA.debugLineNum = 57212973;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\""; +if (__ref._rb3_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p3_m3 = "11 A 13";}; +RDebugUtils.currentLine=57212974; + //BA.debugLineNum = 57212974;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\""; +if (__ref._rb4_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p3_m3 = "13 +";}; +RDebugUtils.currentLine=57212976; + //BA.debugLineNum = 57212976;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\""; +if (__ref._rb1_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p4_m3 = "2 A 4";}; +RDebugUtils.currentLine=57212977; + //BA.debugLineNum = 57212977;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\""; +if (__ref._rb2_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p4_m3 = "4 A 6";}; +RDebugUtils.currentLine=57212978; + //BA.debugLineNum = 57212978;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\""; +if (__ref._rb3_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p4_m3 = "6 A 8";}; +RDebugUtils.currentLine=57212979; + //BA.debugLineNum = 57212979;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\""; +if (__ref._rb4_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p4_m3 = "8 +";}; +RDebugUtils.currentLine=57212981; + //BA.debugLineNum = 57212981;BA.debugLine="If CB5_P4_M3.Checked = True And ( CB2_P4_M3.Chec"; +if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True && (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True || __ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True || __ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True || __ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True)) { +RDebugUtils.currentLine=57212982; + //BA.debugLineNum = 57212982;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; +RDebugUtils.currentLine=57212983; + //BA.debugLineNum = 57212983;BA.debugLine="CB5_P4_M3.Checked = False"; +__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57212984; + //BA.debugLineNum = 57212984;BA.debugLine="CB2_P4_M3.Checked = False"; +__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57212985; + //BA.debugLineNum = 57212985;BA.debugLine="CB3_P4_M3.Checked = False"; +__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57212986; + //BA.debugLineNum = 57212986;BA.debugLine="CB4_P4_M3.Checked = False"; +__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=57212987; + //BA.debugLineNum = 57212987;BA.debugLine="CB1_P4_M3.Checked = False"; +__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); + }; +RDebugUtils.currentLine=57212991; + //BA.debugLineNum = 57212991;BA.debugLine="If PASA = \"1\" Then"; +if ((__ref._pasa /*String*/ ).equals("1")) { +RDebugUtils.currentLine=57212992; + //BA.debugLineNum = 57212992;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\""; +if (__ref._rb1_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p3_m3 = "7 A 9";}; +RDebugUtils.currentLine=57212993; + //BA.debugLineNum = 57212993;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\""; +if (__ref._rb2_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p3_m3 = "9 A 11";}; +RDebugUtils.currentLine=57212994; + //BA.debugLineNum = 57212994;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\""; +if (__ref._rb3_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p3_m3 = "11 A 13";}; +RDebugUtils.currentLine=57212995; + //BA.debugLineNum = 57212995;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\""; +if (__ref._rb4_m3_p1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p3_m3 = "13 +";}; +RDebugUtils.currentLine=57212997; + //BA.debugLineNum = 57212997;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\""; +if (__ref._rb1_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p4_m3 = "2 A 4";}; +RDebugUtils.currentLine=57212998; + //BA.debugLineNum = 57212998;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\""; +if (__ref._rb2_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p4_m3 = "4 A 6";}; +RDebugUtils.currentLine=57212999; + //BA.debugLineNum = 57212999;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\""; +if (__ref._rb3_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p4_m3 = "6 A 8";}; +RDebugUtils.currentLine=57213000; + //BA.debugLineNum = 57213000;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\""; +if (__ref._rb4_m3_p2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +_p4_m3 = "8 +";}; +RDebugUtils.currentLine=57213002; + //BA.debugLineNum = 57213002;BA.debugLine="If ET_P6_M3.Text <> \"\" Then"; +if ((__ref._et_p6_m3 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=57213003; + //BA.debugLineNum = 57213003;BA.debugLine="textemp6 = textemp6 & \", \" & ET_P6_M3.Text"; +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._et_p6_m3 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); + }; +RDebugUtils.currentLine=57213006; + //BA.debugLineNum = 57213006;BA.debugLine="If textemp4 <> \"\" And textemp4.SubString2(0,2) ="; +if ((__ref._textemp4 /*String*/ ).equals("") == false && (__ref._textemp4 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ .substring((int) (2));}; +RDebugUtils.currentLine=57213007; + //BA.debugLineNum = 57213007;BA.debugLine="If textemp5 <> \"\" And textemp5.SubString2(0,2) ="; +if ((__ref._textemp5 /*String*/ ).equals("") == false && (__ref._textemp5 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ .substring((int) (2));}; +RDebugUtils.currentLine=57213008; + //BA.debugLineNum = 57213008;BA.debugLine="If textemp6 <> \"\" And textemp6.SubString2(0,2) ="; +if ((__ref._textemp6 /*String*/ ).equals("") == false && (__ref._textemp6 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ .substring((int) (2));}; +RDebugUtils.currentLine=57213009; + //BA.debugLineNum = 57213009;BA.debugLine="If textemp7 <> \"\" And textemp7.SubString2(0,2) ="; +if ((__ref._textemp7 /*String*/ ).equals("") == false && (__ref._textemp7 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ .substring((int) (2));}; +RDebugUtils.currentLine=57213010; + //BA.debugLineNum = 57213010;BA.debugLine="If textemp8 <> \"\" And textemp8.SubString2(0,2) ="; +if ((__ref._textemp8 /*String*/ ).equals("") == false && (__ref._textemp8 /*String*/ .substring((int) (0),(int) (2))).equals(", ")) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ .substring((int) (2));}; +RDebugUtils.currentLine=57213014; + //BA.debugLineNum = 57213014;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO3"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO3 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6,P7,P8,P9,P10,P11) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),(Object)("x"),(Object)("x"),(Object)(_p3_m3),(Object)(_p4_m3),(Object)(__ref._textemp4 /*String*/ ),(Object)(__ref._textemp5 /*String*/ ),(Object)(_p5_m3),(Object)(__ref._textemp6 /*String*/ ),(Object)(__ref._textemp7 /*String*/ ),(Object)(__ref._textemp8 /*String*/ ),(Object)(_p9_m3)})); +RDebugUtils.currentLine=57213015; + //BA.debugLineNum = 57213015;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57213016; + //BA.debugLineNum = 57213016;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57213019; + //BA.debugLineNum = 57213019;BA.debugLine="If ENCUESTA > 3 Then"; +if ((double)(Double.parseDouble(__ref._encuesta /*String*/ ))>3) { +RDebugUtils.currentLine=57213020; + //BA.debugLineNum = 57213020;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible Then"; +if (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=57213021; + //BA.debugLineNum = 57213021;BA.debugLine="p_m3.Visible = False"; +__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { + }; +RDebugUtils.currentLine=57213025; + //BA.debugLineNum = 57213025;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57213026; + //BA.debugLineNum = 57213026;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57213027; + //BA.debugLineNum = 57213027;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57213028; + //BA.debugLineNum = 57213028;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57213029; + //BA.debugLineNum = 57213029;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\")"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA_M4",ba); +RDebugUtils.currentLine=57213030; + //BA.debugLineNum = 57213030;BA.debugLine="p_m4.Width = Root.Width * 0.94"; +__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=57213031; + //BA.debugLineNum = 57213031;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 60"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60)); +RDebugUtils.currentLine=57213033; + //BA.debugLineNum = 57213033;BA.debugLine="Dim Items2 As List"; +_items2 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=57213034; + //BA.debugLineNum = 57213034;BA.debugLine="Items2.Initialize"; +_items2.Initialize(); +RDebugUtils.currentLine=57213035; + //BA.debugLineNum = 57213035;BA.debugLine="Items2.Add(\"Selecciona una opcion\")"; +_items2.Add((Object)("Selecciona una opcion")); +RDebugUtils.currentLine=57213036; + //BA.debugLineNum = 57213036;BA.debugLine="Items2.Add(\"Propio\")"; +_items2.Add((Object)("Propio")); +RDebugUtils.currentLine=57213037; + //BA.debugLineNum = 57213037;BA.debugLine="Items2.Add(\"Rentado\")"; +_items2.Add((Object)("Rentado")); +RDebugUtils.currentLine=57213038; + //BA.debugLineNum = 57213038;BA.debugLine="cb_p3_m4.SetItems(Items2)"; +__ref._cb_p3_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items2); +RDebugUtils.currentLine=57213039; + //BA.debugLineNum = 57213039;BA.debugLine="itemselect2 = \"Selecciona una opcion\""; +__ref._itemselect2 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57213042; + //BA.debugLineNum = 57213042;BA.debugLine="Dim Items3 As List"; +_items3 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=57213043; + //BA.debugLineNum = 57213043;BA.debugLine="Items3.Initialize"; +_items3.Initialize(); +RDebugUtils.currentLine=57213044; + //BA.debugLineNum = 57213044;BA.debugLine="Items3.Add(\"Selecciona una opcion\")"; +_items3.Add((Object)("Selecciona una opcion")); +RDebugUtils.currentLine=57213045; + //BA.debugLineNum = 57213045;BA.debugLine="Items3.Add(\"Completamente Surtido\")"; +_items3.Add((Object)("Completamente Surtido")); +RDebugUtils.currentLine=57213046; + //BA.debugLineNum = 57213046;BA.debugLine="Items3.Add(\"Bien Surtido\")"; +_items3.Add((Object)("Bien Surtido")); +RDebugUtils.currentLine=57213047; + //BA.debugLineNum = 57213047;BA.debugLine="Items3.Add(\"Poco Surtido\")"; +_items3.Add((Object)("Poco Surtido")); +RDebugUtils.currentLine=57213048; + //BA.debugLineNum = 57213048;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")"; +_items3.Add((Object)("Muy Poco Surtido")); +RDebugUtils.currentLine=57213049; + //BA.debugLineNum = 57213049;BA.debugLine="Items3.Add(\"Sin Existencias\")"; +_items3.Add((Object)("Sin Existencias")); +RDebugUtils.currentLine=57213050; + //BA.debugLineNum = 57213050;BA.debugLine="cb_p4_1_m4.SetItems(Items3)"; +__ref._cb_p4_1_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=57213051; + //BA.debugLineNum = 57213051;BA.debugLine="itemselect3 = \"Selecciona una opcion\""; +__ref._itemselect3 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57213052; + //BA.debugLineNum = 57213052;BA.debugLine="cb_p4_2_m4.SetItems(Items3)"; +__ref._cb_p4_2_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=57213053; + //BA.debugLineNum = 57213053;BA.debugLine="itemselect4 = \"Selecciona una opcion\""; +__ref._itemselect4 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57213054; + //BA.debugLineNum = 57213054;BA.debugLine="cb_p4_3_m4.SetItems(Items3)"; +__ref._cb_p4_3_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=57213055; + //BA.debugLineNum = 57213055;BA.debugLine="itemselect5 = \"Selecciona una opcion\""; +__ref._itemselect5 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57213056; + //BA.debugLineNum = 57213056;BA.debugLine="cb_p4_4_m4.SetItems(Items3)"; +__ref._cb_p4_4_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=57213057; + //BA.debugLineNum = 57213057;BA.debugLine="itemselect6 = \"Selecciona una opcion\""; +__ref._itemselect6 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57213058; + //BA.debugLineNum = 57213058;BA.debugLine="cb_p4_5_m4.SetItems(Items3)"; +__ref._cb_p4_5_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=57213059; + //BA.debugLineNum = 57213059;BA.debugLine="itemselect7 = \"Selecciona una opcion\""; +__ref._itemselect7 /*String*/ = "Selecciona una opcion"; + }else { +RDebugUtils.currentLine=57213061; + //BA.debugLineNum = 57213061;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57213062; + //BA.debugLineNum = 57213062;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57213063; + //BA.debugLineNum = 57213063;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57213065; + //BA.debugLineNum = 57213065;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=57213066; + //BA.debugLineNum = 57213066;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba); + }; + }else { +RDebugUtils.currentLine=57213069; + //BA.debugLineNum = 57213069;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; +__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba); + }; +RDebugUtils.currentLine=57213071; + //BA.debugLineNum = 57213071;BA.debugLine="End Sub"; +return ""; +} +public String _b_guardaencuesta_m4_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_guardaencuesta_m4_click", false)) + {return ((String) Debug.delegate(ba, "b_guardaencuesta_m4_click", null));} +anywheresoftware.b4a.objects.collections.List _items8 = null; +RDebugUtils.currentLine=57278464; + //BA.debugLineNum = 57278464;BA.debugLine="Private Sub B_guardaencuesta_m4_Click"; +RDebugUtils.currentLine=57278466; + //BA.debugLineNum = 57278466;BA.debugLine="PASA = \"1\""; +__ref._pasa /*String*/ = "1"; +RDebugUtils.currentLine=57278468; + //BA.debugLineNum = 57278468;BA.debugLine="If itemselect2 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect2 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57278469; + //BA.debugLineNum = 57278469;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57278471; + //BA.debugLineNum = 57278471;BA.debugLine="If itemselect3 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect3 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57278472; + //BA.debugLineNum = 57278472;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57278474; + //BA.debugLineNum = 57278474;BA.debugLine="If itemselect4 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect4 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57278475; + //BA.debugLineNum = 57278475;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57278477; + //BA.debugLineNum = 57278477;BA.debugLine="If itemselect5 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect5 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57278478; + //BA.debugLineNum = 57278478;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57278480; + //BA.debugLineNum = 57278480;BA.debugLine="If itemselect6 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect6 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57278481; + //BA.debugLineNum = 57278481;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57278483; + //BA.debugLineNum = 57278483;BA.debugLine="If itemselect7 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect7 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57278484; + //BA.debugLineNum = 57278484;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57278486; + //BA.debugLineNum = 57278486;BA.debugLine="If et_p1_m4.Text.Length < 2 Then"; +if (__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()<2) { +RDebugUtils.currentLine=57278488; + //BA.debugLineNum = 57278488;BA.debugLine="et_p1_m4.Text = \"\""; +__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=57278489; + //BA.debugLineNum = 57278489;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57278491; + //BA.debugLineNum = 57278491;BA.debugLine="If PASA = \"1\" Then"; +if ((__ref._pasa /*String*/ ).equals("1")) { +RDebugUtils.currentLine=57278492; + //BA.debugLineNum = 57278492;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO4"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO4 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_p2_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._itemselect2 /*String*/ ),(Object)(__ref._itemselect3 /*String*/ ),(Object)(__ref._itemselect4 /*String*/ ),(Object)(__ref._itemselect5 /*String*/ ),(Object)(__ref._itemselect6 /*String*/ ),(Object)(__ref._itemselect7 /*String*/ )})); +RDebugUtils.currentLine=57278493; + //BA.debugLineNum = 57278493;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57278494; + //BA.debugLineNum = 57278494;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57278496; + //BA.debugLineNum = 57278496;BA.debugLine="If ENCUESTA > 4 Then"; +if ((double)(Double.parseDouble(__ref._encuesta /*String*/ ))>4) { +RDebugUtils.currentLine=57278497; + //BA.debugLineNum = 57278497;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible Then"; +if (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=57278498; + //BA.debugLineNum = 57278498;BA.debugLine="p_m4.Visible = False"; +__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { + }; +RDebugUtils.currentLine=57278502; + //BA.debugLineNum = 57278502;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57278503; + //BA.debugLineNum = 57278503;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57278504; + //BA.debugLineNum = 57278504;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57278505; + //BA.debugLineNum = 57278505;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\")"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA_M5",ba); +RDebugUtils.currentLine=57278506; + //BA.debugLineNum = 57278506;BA.debugLine="p_modulo5.Width = Root.Width * 0.94"; +__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=57278507; + //BA.debugLineNum = 57278507;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Height + 6"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60)); +RDebugUtils.currentLine=57278509; + //BA.debugLineNum = 57278509;BA.debugLine="Dim Items8 As List"; +_items8 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=57278510; + //BA.debugLineNum = 57278510;BA.debugLine="Items8.Initialize"; +_items8.Initialize(); +RDebugUtils.currentLine=57278511; + //BA.debugLineNum = 57278511;BA.debugLine="Items8.Add(\"Selecciona una opcion\")"; +_items8.Add((Object)("Selecciona una opcion")); +RDebugUtils.currentLine=57278512; + //BA.debugLineNum = 57278512;BA.debugLine="Items8.Add(\"Completamente Surtido\")"; +_items8.Add((Object)("Completamente Surtido")); +RDebugUtils.currentLine=57278513; + //BA.debugLineNum = 57278513;BA.debugLine="Items8.Add(\"Bien Surtido\")"; +_items8.Add((Object)("Bien Surtido")); +RDebugUtils.currentLine=57278514; + //BA.debugLineNum = 57278514;BA.debugLine="Items8.Add(\"Poco Surtido\")"; +_items8.Add((Object)("Poco Surtido")); +RDebugUtils.currentLine=57278515; + //BA.debugLineNum = 57278515;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")"; +_items8.Add((Object)("Muy Poco Surtido")); +RDebugUtils.currentLine=57278516; + //BA.debugLineNum = 57278516;BA.debugLine="Items8.Add(\"Sin Existencias\")"; +_items8.Add((Object)("Sin Existencias")); +RDebugUtils.currentLine=57278517; + //BA.debugLineNum = 57278517;BA.debugLine="cb_p1_m5.SetItems(Items8)"; +__ref._cb_p1_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278518; + //BA.debugLineNum = 57278518;BA.debugLine="itemselect8 = \"Selecciona una opcion\""; +__ref._itemselect8 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278519; + //BA.debugLineNum = 57278519;BA.debugLine="cb_p2_m5.SetItems(Items8)"; +__ref._cb_p2_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278520; + //BA.debugLineNum = 57278520;BA.debugLine="itemselect9 = \"Selecciona una opcion\""; +__ref._itemselect9 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278521; + //BA.debugLineNum = 57278521;BA.debugLine="cb_p3_m5.SetItems(Items8)"; +__ref._cb_p3_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278522; + //BA.debugLineNum = 57278522;BA.debugLine="itemselect10 = \"Selecciona una opcion\""; +__ref._itemselect10 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278523; + //BA.debugLineNum = 57278523;BA.debugLine="cb_p4_m5.SetItems(Items8)"; +__ref._cb_p4_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278524; + //BA.debugLineNum = 57278524;BA.debugLine="itemselect11 = \"Selecciona una opcion\""; +__ref._itemselect11 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278525; + //BA.debugLineNum = 57278525;BA.debugLine="cb_p5_m5.SetItems(Items8)"; +__ref._cb_p5_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278526; + //BA.debugLineNum = 57278526;BA.debugLine="itemselect12 = \"Selecciona una opcion\""; +__ref._itemselect12 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278527; + //BA.debugLineNum = 57278527;BA.debugLine="cb_p6_m5.SetItems(Items8)"; +__ref._cb_p6_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278528; + //BA.debugLineNum = 57278528;BA.debugLine="itemselect13 = \"Selecciona una opcion\""; +__ref._itemselect13 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278529; + //BA.debugLineNum = 57278529;BA.debugLine="cb_p7_m5.SetItems(Items8)"; +__ref._cb_p7_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278530; + //BA.debugLineNum = 57278530;BA.debugLine="itemselect14 = \"Selecciona una opcion\""; +__ref._itemselect14 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278531; + //BA.debugLineNum = 57278531;BA.debugLine="cb_p8_m5.SetItems(Items8)"; +__ref._cb_p8_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278532; + //BA.debugLineNum = 57278532;BA.debugLine="itemselect15 = \"Selecciona una opcion\""; +__ref._itemselect15 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278533; + //BA.debugLineNum = 57278533;BA.debugLine="cb_p9_m5.SetItems(Items8)"; +__ref._cb_p9_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=57278534; + //BA.debugLineNum = 57278534;BA.debugLine="itemselect16 = \"Selecciona una opcion\""; +__ref._itemselect16 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=57278535; + //BA.debugLineNum = 57278535;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba); + }else { +RDebugUtils.currentLine=57278537; + //BA.debugLineNum = 57278537;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = __ref._tipo_venta /*String*/ ; +RDebugUtils.currentLine=57278539; + //BA.debugLineNum = 57278539;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57278540; + //BA.debugLineNum = 57278540;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57278541; + //BA.debugLineNum = 57278541;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57278542; + //BA.debugLineNum = 57278542;BA.debugLine="B4XPages.ShowPage(\"productos\")"; _b4xpages._showpage /*String*/ (ba,"productos"); }; - //BA.debugLineNum = 2390;BA.debugLine="s.Close"; -_s.Close(); + }else { +RDebugUtils.currentLine=57278545; + //BA.debugLineNum = 57278545;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; +__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba); }; - //BA.debugLineNum = 2399;BA.debugLine="End Sub"; +RDebugUtils.currentLine=57278548; + //BA.debugLineNum = 57278548;BA.debugLine="End Sub"; return ""; } -public String _cuest_preguntacontestada(anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ - //BA.debugLineNum = 6530;BA.debugLine="Sub cuest_preguntaContestada(m As Map)"; - //BA.debugLineNum = 6532;BA.debugLine="Log(m)"; -__c.LogImpl("461538306",BA.ObjectToString(_m),0); - //BA.debugLineNum = 6535;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le"; -((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_m.Get((Object)("panel"))))).RemoveView(); - //BA.debugLineNum = 6536;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 6537;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 6538;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"' and Q_IDPREGUNTA = '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"'")); - //BA.debugLineNum = 6539;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("pregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idRespuesta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("respuesta")))+"', '"+__c.SmartStringFormatter("",(Object)(__c.DateTime.Date(__c.DateTime.getNow())))+" "+__c.SmartStringFormatter("",(Object)(__c.DateTime.Time(__c.DateTime.getNow())))+"')")); - //BA.debugLineNum = 6540;BA.debugLine="Log(\">> RESP: \" & m.Get(\"respuesta\"))"; -__c.LogImpl("461538314",">> RESP: "+BA.ObjectToString(_m.Get((Object)("respuesta"))),0); - //BA.debugLineNum = 6541;BA.debugLine="Select Case m.Get(\"idPregunta\")"; -switch (BA.switchObjectToInt(_m.Get((Object)("idPregunta")),(Object)("1"),(Object)("2"),(Object)("3"),(Object)("4"),(Object)("5"),(Object)("6"),(Object)("7"))) { -case 0: { - //BA.debugLineNum = 6543;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio"; -if ((_m.Get((Object)("respuesta"))).equals((Object)("Ninguno de los anteriores"))) { - //BA.debugLineNum = 6546;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué produc"; -_cuest._agregapreguntacheckbox /*String*/ ("3","¿Qué productos de Kileo Gato encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Whiskas","KITEKAT","PAL GATO","CAT CHOW","GATINA","MININO","MI MISHI","OTROS","Ninguno de los anteriores"})); - }else { - //BA.debugLineNum = 6549;BA.debugLine="cuest.agregaPreguntaAbierta(\"2\", \"Captura el p"; -_cuest._agregapreguntaabierta /*String*/ ("2","Captura el precio por kilo de los articulos seleccionados anteriormente",_cuest._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (BA.ObjectToString(_m.Get((Object)("idRespuesta")))),_cuest._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (BA.ObjectToString(_m.Get((Object)("respuesta"))))); +public String _b_guardaencuesta_m5_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_guardaencuesta_m5_click", false)) + {return ((String) Debug.delegate(ba, "b_guardaencuesta_m5_click", null));} +RDebugUtils.currentLine=57344000; + //BA.debugLineNum = 57344000;BA.debugLine="Private Sub B_guardaencuesta_m5_Click"; +RDebugUtils.currentLine=57344002; + //BA.debugLineNum = 57344002;BA.debugLine="PASA = \"1\""; +__ref._pasa /*String*/ = "1"; +RDebugUtils.currentLine=57344004; + //BA.debugLineNum = 57344004;BA.debugLine="If itemselect8 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect8 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344005; + //BA.debugLineNum = 57344005;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; }; - break; } -case 1: { - //BA.debugLineNum = 6553;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué product"; -_cuest._agregapreguntacheckbox /*String*/ ("3","¿Qué productos de Kileo Gato encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Whiskas","KITEKAT","PAL GATO","CAT CHOW","GATINA","MININO","MI MISHI","OTROS","Ninguno de los anteriores"})); - break; } -case 2: { - //BA.debugLineNum = 6556;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio"; -if ((_m.Get((Object)("respuesta"))).equals((Object)("Ninguno de los anteriores"))) { - //BA.debugLineNum = 6559;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué produc"; -_cuest._agregapreguntacheckbox /*String*/ ("5","¿Qué productos de húmedo MARS encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Pedigree Adulto res","Pedigree Adulto Pollo","Pedigree Cachorro res","Pedigree Cachorro Pollo","Pedigree Raz Peq res","Pedigree Raz Peq Pollo","Pedigree Adulto Cordero","Pedigree Adulto Lata res","Whiskas Atún","Whiskas Pollo","Whiskas res","Whiskas Salmón","Whiskas Parrillada Mixta","Whiskas Pescado BLANCO","Whiskas Souffle","Ninguno de los anteriores"})); - }else { - //BA.debugLineNum = 6561;BA.debugLine="cuest.agregaPreguntaAbierta(\"4\", \"Captura el p"; -_cuest._agregapreguntaabierta /*String*/ ("4","Captura el precio por kilo de los articulos seleccionados anteriormente",_cuest._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (BA.ObjectToString(_m.Get((Object)("idRespuesta")))),_cuest._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (BA.ObjectToString(_m.Get((Object)("respuesta"))))); +RDebugUtils.currentLine=57344007; + //BA.debugLineNum = 57344007;BA.debugLine="If itemselect9 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect9 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344008; + //BA.debugLineNum = 57344008;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; }; - break; } -case 3: { - //BA.debugLineNum = 6564;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué product"; -_cuest._agregapreguntacheckbox /*String*/ ("5","¿Qué productos de húmedo MARS encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Pedigree Adulto res","Pedigree Adulto Pollo","Pedigree Cachorro res","Pedigree Cachorro Pollo","Pedigree Raz Peq res","Pedigree Raz Peq Pollo","Pedigree Adulto Cordero","Pedigree Adulto Lata res","Whiskas Atún","Whiskas Pollo","Whiskas res","Whiskas Salmón","Whiskas Parrillada Mixta","Whiskas Pescado BLANCO","Whiskas Souffle","Ninguno de los anteriores"})); - break; } -case 4: { - //BA.debugLineNum = 6566;BA.debugLine="cuest.agregaPreguntaCheckbox(\"6\", \"¿Qué product"; -_cuest._agregapreguntacheckbox /*String*/ ("6","¿Qué productos de húmedo otros encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Dog Chow (cualquier sabor)","Ganador (cualquier sabor)","Felix (cualquier sabor)","Minino plus (cualquier sabor)","Cat Chow (cualquier sabor)","Beneful (cualquier sabor)","Amigo Gourmet (cualquier sabor)","Ninguno de los anteriores"})); - break; } -case 5: { - //BA.debugLineNum = 6568;BA.debugLine="cuest.agregaPreguntaCheckbox(\"7\", \"¿Qué product"; -_cuest._agregapreguntacheckbox /*String*/ ("7","¿Qué productos de botanas encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Dentastix","Biscrok","Ninguno de los anteriores"})); - break; } -case 6: { - //BA.debugLineNum = 6571;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False); - //BA.debugLineNum = 6572;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; -__c.LogImpl("461538346",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0); - //BA.debugLineNum = 6573;BA.debugLine="cuest.encuestaIniciada = False"; -_cuest._encuestainiciada /*boolean*/ = __c.False; - //BA.debugLineNum = 6574;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; -__c.LogImpl("461538348",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0); - //BA.debugLineNum = 6577;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - break; } -} -; - //BA.debugLineNum = 6580;BA.debugLine="End Sub"; +RDebugUtils.currentLine=57344010; + //BA.debugLineNum = 57344010;BA.debugLine="If itemselect10 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect10 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344011; + //BA.debugLineNum = 57344011;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57344013; + //BA.debugLineNum = 57344013;BA.debugLine="If itemselect11 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect11 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344014; + //BA.debugLineNum = 57344014;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57344016; + //BA.debugLineNum = 57344016;BA.debugLine="If itemselect12 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect12 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344017; + //BA.debugLineNum = 57344017;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57344019; + //BA.debugLineNum = 57344019;BA.debugLine="If itemselect13 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect13 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344020; + //BA.debugLineNum = 57344020;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57344022; + //BA.debugLineNum = 57344022;BA.debugLine="If itemselect14 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect14 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344023; + //BA.debugLineNum = 57344023;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57344025; + //BA.debugLineNum = 57344025;BA.debugLine="If itemselect15 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect15 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344026; + //BA.debugLineNum = 57344026;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57344028; + //BA.debugLineNum = 57344028;BA.debugLine="If itemselect16 = \"Selecciona una opcion\" Then"; +if ((__ref._itemselect16 /*String*/ ).equals("Selecciona una opcion")) { +RDebugUtils.currentLine=57344029; + //BA.debugLineNum = 57344029;BA.debugLine="PASA = \"0\""; +__ref._pasa /*String*/ = "0"; + }; +RDebugUtils.currentLine=57344032; + //BA.debugLineNum = 57344032;BA.debugLine="If PASA = \"1\" Then"; +if ((__ref._pasa /*String*/ ).equals("1")) { +RDebugUtils.currentLine=57344033; + //BA.debugLineNum = 57344033;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO5"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENCUESTA_MODULO5 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._itemselect8 /*String*/ ),(Object)(__ref._itemselect9 /*String*/ ),(Object)(__ref._itemselect10 /*String*/ ),(Object)(__ref._itemselect11 /*String*/ ),(Object)(__ref._itemselect12 /*String*/ ),(Object)(__ref._itemselect13 /*String*/ ),(Object)(__ref._itemselect14 /*String*/ ),(Object)(__ref._itemselect15 /*String*/ ),(Object)(__ref._itemselect16 /*String*/ )})); +RDebugUtils.currentLine=57344034; + //BA.debugLineNum = 57344034;BA.debugLine="SV_ENCUESTA.Visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=57344035; + //BA.debugLineNum = 57344035;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=57344036; + //BA.debugLineNum = 57344036;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = __ref._tipo_venta /*String*/ ; +RDebugUtils.currentLine=57344037; + //BA.debugLineNum = 57344037;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=57344038; + //BA.debugLineNum = 57344038;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba); + }else { +RDebugUtils.currentLine=57344040; + //BA.debugLineNum = 57344040;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")"; +__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba); + }; +RDebugUtils.currentLine=57344042; + //BA.debugLineNum = 57344042;BA.debugLine="End Sub"; return ""; } -public void _cuestionario() throws Exception{ -ResumableSub_Cuestionario rsub = new ResumableSub_Cuestionario(this); +public void _b_imp_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_imp_click", false)) + {Debug.delegate(ba, "b_imp_click", null); return;} +ResumableSub_B_IMP_Click rsub = new ResumableSub_B_IMP_Click(this,__ref); rsub.resume(ba, null); } -public static class ResumableSub_Cuestionario extends BA.ResumableSub { -public ResumableSub_Cuestionario(gunav2.keymon.com.mx.c_cliente parent) { +public static class ResumableSub_B_IMP_Click extends BA.ResumableSub { +public ResumableSub_B_IMP_Click(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; -boolean _logger = false; -String _fecha = ""; -int _cuantos2 = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _enc = null; -anywheresoftware.b4a.objects.collections.List _listapreguntas = null; -int _j = 0; -int _i = 0; -String _btop = ""; -int step29; -int limit29; -int step35; -int limit35; +int _resultado = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _creditocod = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -9655,3261 +9856,338 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 6195;BA.debugLine="Log(\"Entramos a Cuestionario\")"; -parent.__c.LogImpl("460555265","Entramos a Cuestionario",0); - //BA.debugLineNum = 6196;BA.debugLine="Private logger As Boolean = True"; -_logger = parent.__c.True; - //BA.debugLineNum = 6197;BA.debugLine="b_encuesta_continuar.Visible = False"; -parent._b_encuesta_continuar.setVisible(parent.__c.False); - //BA.debugLineNum = 6198;BA.debugLine="et_encuesta.Visible = False"; -parent._et_encuesta.setVisible(parent.__c.False); - //BA.debugLineNum = 6199;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 6200;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 6201;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 6202;BA.debugLine="Private fecha As String = $\"${DateTime.Date(DateT"; -_fecha = (""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())))+" "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.DateTime.Time(parent.__c.DateTime.getNow())))+""); - //BA.debugLineNum = 6203;BA.debugLine="CUANTOS = 0"; -parent._cuantos = BA.NumberToString(0); - //BA.debugLineNum = 6205;BA.debugLine="If logger Then Log($\"Tomar_Foto = ${TOMAR_FOTO}\"$"; +RDebugUtils.currentLine=53739537; + //BA.debugLineNum = 53739537;BA.debugLine="If ALMACEN = 87 Then"; if (true) break; case 1: //if -this.state = 6; -if (_logger) { +this.state = 44; +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(87))) { this.state = 3; -;}if (true) break; +}else +{RDebugUtils.currentLine=53739543; + //BA.debugLineNum = 53739543;BA.debugLine="Else If ALMACEN = 88 Then"; +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(88))) { +this.state = 11; +}else +{RDebugUtils.currentLine=53739546; + //BA.debugLineNum = 53739546;BA.debugLine="Else If ALMACEN = 81 Or ALMACEN = 102 Or ALMACEN"; +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(81)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(102)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(94))) { +this.state = 13; +}else { +this.state = 43; +}}} +if (true) break; case 3: //C -this.state = 6; -parent.__c.LogImpl("460555275",("Tomar_Foto = "+parent.__c.SmartStringFormatter("",(Object)(parent._tomar_foto))+""),0); +this.state = 4; +RDebugUtils.currentLine=53739538; + //BA.debugLineNum = 53739538;BA.debugLine="If Subs.traemontoprod Then"; if (true) break; +case 4: +//if +this.state = 9; +if (parent._subs._traemontoprod /*boolean*/ (ba)) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + case 6: //C -this.state = 7; -; - //BA.debugLineNum = 6206;BA.debugLine="If TOMAR_FOTO = 0 Then"; -if (true) break; - -case 7: -//if -this.state = 16; -if ((parent._tomar_foto).equals(BA.NumberToString(0))) { this.state = 9; -}if (true) break; +RDebugUtils.currentLine=53739539; + //BA.debugLineNum = 53739539;BA.debugLine="Impresion2"; +__ref._impresion2 /*void*/ (null); + if (true) break; + +case 8: +//C +this.state = 9; +RDebugUtils.currentLine=53739541; + //BA.debugLineNum = 53739541;BA.debugLine="Impresion"; +__ref._impresion /*void*/ (null); + if (true) break; case 9: //C -this.state = 10; - //BA.debugLineNum = 6207;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from HIST_ENCUESTA where HE_CLIE In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 6208;BA.debugLine="s.Position= 0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 6209;BA.debugLine="CUANTOS = s.GetString(\"CUANTOS\")"; -parent._cuantos = parent._s.GetString("CUANTOS"); - //BA.debugLineNum = 6210;BA.debugLine="Private CUANTOS2 As Int = 0"; -_cuantos2 = (int) (0); - //BA.debugLineNum = 6211;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS2 from HIST_ENCUESTA2 where HE_CLIENTE In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 6212;BA.debugLine="s.Position = 0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 6213;BA.debugLine="CUANTOS2 = s.GetString(\"CUANTOS2\")"; -_cuantos2 = (int)(Double.parseDouble(parent._s.GetString("CUANTOS2"))); - //BA.debugLineNum = 6214;BA.debugLine="If logger Then LogColor($\"Hist:encuesta=${CUANTO"; -if (true) break; - -case 10: -//if -this.state = 15; -if (_logger) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -parent.__c.LogImpl("460555284",("Hist:encuesta="+parent.__c.SmartStringFormatter("",(Object)(parent._cuantos))+", hist_encuesta2 = "+parent.__c.SmartStringFormatter("",(Object)(_cuantos2))+""),parent.__c.Colors.Magenta); -if (true) break; - -case 15: -//C -this.state = 16; +this.state = 44; ; if (true) break; -; - //BA.debugLineNum = 6218;BA.debugLine="If logger Then Log(CUANTOS & \"|\" & CUANTOS2)"; + +case 11: +//C +this.state = 44; +RDebugUtils.currentLine=53739545; + //BA.debugLineNum = 53739545;BA.debugLine="Impresion4"; +__ref._impresion4 /*void*/ (null); + if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=53739548; + //BA.debugLineNum = 53739548;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, IFNULL(CONFIRMADO,0) AS CONFIRMADO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=53739549; + //BA.debugLineNum = 53739549;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53739551; + //BA.debugLineNum = 53739551;BA.debugLine="If c.GetString(\"CAT_CL_BCREDITO\") = 0 Then"; +if (true) break; + +case 14: +//if +this.state = 41; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals(BA.NumberToString(0))) { +this.state = 16; +}else +{RDebugUtils.currentLine=53739554; + //BA.debugLineNum = 53739554;BA.debugLine="Else If c.GetString(\"CAT_CL_BCREDITO\") = 1 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals(BA.NumberToString(1))) { +this.state = 18; +}} +if (true) break; case 16: -//if -this.state = 21; -if (_logger) { -this.state = 18; -;}if (true) break; +//C +this.state = 41; +RDebugUtils.currentLine=53739552; + //BA.debugLineNum = 53739552;BA.debugLine="Impresion4"; +__ref._impresion4 /*void*/ (null); + if (true) break; case 18: //C -this.state = 21; -parent.__c.LogImpl("460555288",parent._cuantos+"|"+BA.NumberToString(_cuantos2),0); +this.state = 19; +RDebugUtils.currentLine=53739555; + //BA.debugLineNum = 53739555;BA.debugLine="If c.GetString(\"CONFIRMADO\") = 0 Then"; if (true) break; +case 19: +//if +this.state = 40; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONFIRMADO")).equals(BA.NumberToString(0))) { +this.state = 21; +}else { +this.state = 39; +}if (true) break; + case 21: //C this.state = 22; -; - //BA.debugLineNum = 6219;BA.debugLine="If CUANTOS = 0 And CUANTOS2 = 0 Then"; -if (true) break; - -case 22: -//if -this.state = 224; -if ((parent._cuantos).equals(BA.NumberToString(0)) && _cuantos2==0) { -this.state = 24; -}else { -this.state = 223; -}if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 6220;BA.debugLine="Private enc As Cursor = B4XPages.MainPage.skmt.E"; -_enc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_enc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_EP_ID, CAT_EP_IDTIPOPREGUNTA, CAT_CE_DESCRIPCION, CAT_EP_PREGUNTA, CAT_EP_RES1_PRED, CAT_EP_RES2_PRED, CAT_EP_RES3_PRED, CAT_EP_ORDEN_PREGUNTA FROM CAT_ENCUESTA_PREGUNTA ORDER BY CAT_CE_DESCRIPCION, CAST(CAT_EP_ORDEN_PREGUNTA AS DECIMAL)"))); - //BA.debugLineNum = 6221;BA.debugLine="If enc.RowCount > 0 Then"; -if (true) break; - -case 25: -//if -this.state = 221; -if (_enc.getRowCount()>0) { -this.state = 27; -}else { -this.state = 220; -}if (true) break; - -case 27: -//C -this.state = 28; - //BA.debugLineNum = 6222;BA.debugLine="enc.position = 0"; -_enc.setPosition((int) (0)); - //BA.debugLineNum = 6223;BA.debugLine="If logger Then Log($\"CAT_EP_ID=${enc.GetString("; -if (true) break; - -case 28: -//if -this.state = 33; -if (_logger) { -this.state = 30; -;}if (true) break; - -case 30: -//C -this.state = 33; -parent.__c.LogImpl("460555293",("CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+""),0); -if (true) break; - -case 33: -//C -this.state = 34; -; - //BA.debugLineNum = 6224;BA.debugLine="Private listaPreguntas As List"; -_listapreguntas = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 6225;BA.debugLine="listaPreguntas.Initialize"; -_listapreguntas.Initialize(); - //BA.debugLineNum = 6226;BA.debugLine="For j = 0 To enc.RowCount - 1 'Ponemos en una l"; -if (true) break; - -case 34: -//for -this.state = 37; -step29 = 1; -limit29 = (int) (_enc.getRowCount()-1); -_j = (int) (0) ; -this.state = 225; -if (true) break; - -case 225: -//C -this.state = 37; -if ((step29 > 0 && _j <= limit29) || (step29 < 0 && _j >= limit29)) this.state = 36; -if (true) break; - -case 226: -//C -this.state = 225; -_j = ((int)(0 + _j + step29)) ; -if (true) break; - -case 36: -//C -this.state = 226; - //BA.debugLineNum = 6227;BA.debugLine="enc.Position = j"; -_enc.setPosition(_j); - //BA.debugLineNum = 6228;BA.debugLine="listaPreguntas.Add(enc.GetString(\"CAT_EP_ID\"))"; -_listapreguntas.Add((Object)(_enc.GetString("CAT_EP_ID"))); - if (true) break; -if (true) break; -; - //BA.debugLineNum = 6230;BA.debugLine="If logger Then Log(listaPreguntas)"; - -case 37: -//if -this.state = 42; -if (_logger) { -this.state = 39; -;}if (true) break; - -case 39: -//C -this.state = 42; -parent.__c.LogImpl("460555300",BA.ObjectToString(_listapreguntas),0); -if (true) break; - -case 42: -//C -this.state = 43; -; - //BA.debugLineNum = 6231;BA.debugLine="enc.position = 0"; -_enc.setPosition((int) (0)); - //BA.debugLineNum = 6232;BA.debugLine="For i = 0 To enc.RowCount - 1"; -if (true) break; - -case 43: -//for -this.state = 218; -step35 = 1; -limit35 = (int) (_enc.getRowCount()-1); -_i = (int) (0) ; -this.state = 227; -if (true) break; - -case 227: -//C -this.state = 218; -if ((step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35)) this.state = 45; -if (true) break; - -case 228: -//C -this.state = 227; -_i = ((int)(0 + _i + step35)) ; -if (true) break; - +RDebugUtils.currentLine=53739557; + //BA.debugLineNum = 53739557;BA.debugLine="Msgbox2Async(\"La entrega sera a credito o de c"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("La entrega sera a credito o de contado?"),BA.ObjectToCharSequence("Atención"),"Credito","Contado","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=53739558; + //BA.debugLineNum = 53739558;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"), null); +this.state = 45; +return; case 45: //C -this.state = 46; - //BA.debugLineNum = 6233;BA.debugLine="Log(\"#########################################"; -parent.__c.LogImpl("460555303","########################################################",0); - //BA.debugLineNum = 6236;BA.debugLine="If logger Then Log($\"Tipo: ${enc.GetString(\"CA"; -if (true) break; - -case 46: -//if -this.state = 51; -if (_logger) { -this.state = 48; -;}if (true) break; - -case 48: -//C -this.state = 51; -parent.__c.LogImpl("460555306",("Tipo: "+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_IDTIPOPREGUNTA")))+", CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+", CAT_EP_PREGUNTA="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_PREGUNTA")))+""),0); -if (true) break; - -case 51: -//C -this.state = 52; -; - //BA.debugLineNum = 6237;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") <> 4"; -if (true) break; - -case 52: -//if -this.state = 55; -if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(4)) == false && parent._indicepregunta!=0) { -this.state = 54; -}if (true) break; - -case 54: -//C -this.state = 55; - //BA.debugLineNum = 6238;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G"; -parent._indicepregunta = (int) (_listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_ID")))+1); - //BA.debugLineNum = 6239;BA.debugLine="i = indicePregunta"; -_i = parent._indicepregunta; - //BA.debugLineNum = 6240;BA.debugLine="Log($\"i = ${i}\"$)"; -parent.__c.LogImpl("460555310",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0); - if (true) break; -; - //BA.debugLineNum = 6242;BA.debugLine="If logger Then Log(\"indicePregunta: \" & indice"; - -case 55: -//if -this.state = 60; -if (_logger) { -this.state = 57; -;}if (true) break; - -case 57: -//C -this.state = 60; -parent.__c.LogImpl("460555312","indicePregunta: "+BA.NumberToString(parent._indicepregunta)+", TIPO: "+_enc.GetString("CAT_EP_IDTIPOPREGUNTA"),0); -if (true) break; - -case 60: -//C -this.state = 61; -; - //BA.debugLineNum = 6244;BA.debugLine="If logger Then Log($\"EncuestaRes = ${encuestaR"; -if (true) break; - -case 61: -//if -this.state = 66; -if (_logger) { -this.state = 63; -;}if (true) break; - -case 63: -//C -this.state = 66; -parent.__c.LogImpl("460555314",("EncuestaRes = "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),0); -if (true) break; - -case 66: -//C -this.state = 67; -; - //BA.debugLineNum = 6245;BA.debugLine="If logger Then Log(listaPreguntas)"; -if (true) break; - -case 67: -//if -this.state = 72; -if (_logger) { -this.state = 69; -;}if (true) break; - -case 69: -//C -this.state = 72; -parent.__c.LogImpl("460555315",BA.ObjectToString(_listapreguntas),0); -if (true) break; - -case 72: -//C -this.state = 73; -; - //BA.debugLineNum = 6246;BA.debugLine="If TOMAR_FOTO = 1 Then"; -if (true) break; - -case 73: -//if -this.state = 87; -if ((parent._tomar_foto).equals(BA.NumberToString(1))) { -this.state = 75; -}if (true) break; - -case 75: -//C -this.state = 76; - //BA.debugLineNum = 6247;BA.debugLine="If CURSOR_FOTO + 1 > enc.RowCount -1 Then"; -if (true) break; - -case 76: -//if -this.state = 81; -if (parent._cursor_foto+1>_enc.getRowCount()-1) { -this.state = 78; -}else { -this.state = 80; -}if (true) break; - -case 78: -//C -this.state = 81; - //BA.debugLineNum = 6248;BA.debugLine="TOMAR_FOTO = 0"; -parent._tomar_foto = BA.NumberToString(0); - //BA.debugLineNum = 6249;BA.debugLine="LogColor(\"TOMAR FOTO = 1\", Colors.Red)"; -parent.__c.LogImpl("460555319","TOMAR FOTO = 1",parent.__c.Colors.Red); - //BA.debugLineNum = 6250;BA.debugLine="Exit"; -this.state = 218; -if (true) break; - if (true) break; - -case 80: -//C -this.state = 81; - //BA.debugLineNum = 6252;BA.debugLine="i = CURSOR_FOTO + 1"; -_i = (int) (parent._cursor_foto+1); - if (true) break; -; - //BA.debugLineNum = 6254;BA.debugLine="If logger Then Log($\"i = ${i}\"$)"; - -case 81: -//if -this.state = 86; -if (_logger) { -this.state = 83; -;}if (true) break; - -case 83: -//C -this.state = 86; -parent.__c.LogImpl("460555324",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0); -if (true) break; - -case 86: -//C -this.state = 87; -; - //BA.debugLineNum = 6255;BA.debugLine="TOMAR_FOTO = 0"; -parent._tomar_foto = BA.NumberToString(0); - if (true) break; -; - //BA.debugLineNum = 6257;BA.debugLine="If i > (enc.RowCount - 1) Then"; - -case 87: -//if -this.state = 90; -if (_i>(_enc.getRowCount()-1)) { -this.state = 89; -}if (true) break; - -case 89: -//C -this.state = 90; - //BA.debugLineNum = 6258;BA.debugLine="LogColor(\"MAS DE ${enc.RowCount - 1}\", Colors"; -parent.__c.LogImpl("460555328","MAS DE ${enc.RowCount - 1}",parent.__c.Colors.Red); - //BA.debugLineNum = 6259;BA.debugLine="Exit ' Si se contestó la ultima pregunta, ent"; -this.state = 218; -if (true) break; - if (true) break; - -case 90: -//C -this.state = 91; -; - //BA.debugLineNum = 6263;BA.debugLine="i = indicePregunta"; -_i = parent._indicepregunta; - //BA.debugLineNum = 6265;BA.debugLine="enc.Position = i"; -_enc.setPosition(_i); - //BA.debugLineNum = 6266;BA.debugLine="Log($\"POSICION = ${enc.Position}\"$)"; -parent.__c.LogImpl("460555336",("POSICION = "+parent.__c.SmartStringFormatter("",(Object)(_enc.getPosition()))+""),0); - //BA.debugLineNum = 6267;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") = 5"; -if (true) break; - -case 91: -//if -this.state = 214; -if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(5))) { -this.state = 93; -}else if((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(3))) { -this.state = 101; -}else if((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(4))) { -this.state = 124; -}else if((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(2))) { -this.state = 163; -}else if((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(6))) { -this.state = 187; -}else if((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(1))) { -this.state = 195; -}else { -this.state = 213; -}if (true) break; - -case 93: -//C -this.state = 94; - //BA.debugLineNum = 6268;BA.debugLine="If logger Then Log(\"Pregunta tipo 5\")"; -if (true) break; - -case 94: -//if -this.state = 99; -if (_logger) { -this.state = 96; -;}if (true) break; - -case 96: -//C -this.state = 99; -parent.__c.LogImpl("460555338","Pregunta tipo 5",0); -if (true) break; - -case 99: -//C -this.state = 214; -; - //BA.debugLineNum = 6269;BA.debugLine="id_encuesta = enc.GetString(\"CAT_EP_ID\")"; -parent._id_encuesta = _enc.GetString("CAT_EP_ID"); - //BA.debugLineNum = 6270;BA.debugLine="idencuestaaguardar = enc.GetString(\"CAT_EP_ID"; -parent._idencuestaaguardar = _enc.GetString("CAT_EP_ID"); - //BA.debugLineNum = 6271;BA.debugLine="LogColor(idencuestaaguardar,Colors.Blue)"; -parent.__c.LogImpl("460555341",parent._idencuestaaguardar,parent.__c.Colors.Blue); - //BA.debugLineNum = 6272;BA.debugLine="TOMAR_FOTO = 1"; -parent._tomar_foto = BA.NumberToString(1); - //BA.debugLineNum = 6273;BA.debugLine="CURSOR_FOTO = i"; -parent._cursor_foto = _i; - //BA.debugLineNum = 6274;BA.debugLine="LogColor(\"PREGUNTA TIPO 5 SALIMOS\", Colors.Re"; -parent.__c.LogImpl("460555344","PREGUNTA TIPO 5 SALIMOS",parent.__c.Colors.Red); - //BA.debugLineNum = 6276;BA.debugLine="InitializeCamera2"; -parent._initializecamera2(); - //BA.debugLineNum = 6277;BA.debugLine="p_camara.Visible = True"; -parent._p_camara.setVisible(parent.__c.True); - if (true) break; - -case 101: -//C -this.state = 102; - //BA.debugLineNum = 6281;BA.debugLine="If logger Then Log(\"Pregunta tipo 3\")"; -if (true) break; - -case 102: -//if -this.state = 107; -if (_logger) { -this.state = 104; -;}if (true) break; - -case 104: -//C -this.state = 107; -parent.__c.LogImpl("460555351","Pregunta tipo 3",0); -if (true) break; - -case 107: -//C -this.state = 108; -; - //BA.debugLineNum = 6282;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; -parent._botonpresionado = (int) (0); - //BA.debugLineNum = 6283;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; -parent._l_titencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION"))); - //BA.debugLineNum = 6284;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; -parent._l_txtencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); - //BA.debugLineNum = 6285;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width"; -parent._subs._centraetiqueta /*String*/ (ba,parent._l_txtencuesta,parent._root.getWidth()); - //BA.debugLineNum = 6286;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString"; -parent._muestraboton(parent._b_encuesta_1,"SI",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-350),(int) (580),(int) (300),(int) (160)); - //BA.debugLineNum = 6287;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin"; -parent._muestraboton(parent._b_encuesta_2,"NO",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()+50),(int) (580),(int) (300),(int) (160)); - //BA.debugLineNum = 6288;BA.debugLine="muestraEncuesta"; -parent._muestraencuesta(); - //BA.debugLineNum = 6289;BA.debugLine="Log(\"Esperamos respuesta\")"; -parent.__c.LogImpl("460555359","Esperamos respuesta",0); - //BA.debugLineNum = 6290;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; -if (true) break; - -case 108: -//do until -this.state = 111; -while (!(parent._botonpresionado==1)) { -this.state = 110; -if (true) break; -} -if (true) break; - -case 110: -//C -this.state = 108; - //BA.debugLineNum = 6291;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 229; -return; -case 229: -//C -this.state = 108; -; - if (true) break; -; - //BA.debugLineNum = 6293;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta"; - -case 111: -//if -this.state = 116; -if (_logger) { -this.state = 113; -;}if (true) break; - -case 113: -//C -this.state = 116; -parent.__c.LogImpl("460555363","encuestaRes: "+parent._encuestares,0); -if (true) break; - -case 116: -//C -this.state = 117; -; - //BA.debugLineNum = 6294;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 3 :"; -if (true) break; - -case 117: -//if -this.state = 122; -if (_logger) { -this.state = 119; -;}if (true) break; - -case 119: -//C -this.state = 122; -parent.__c.LogImpl("460555364",("Guardamos tipo 3 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green); -if (true) break; - -case 122: -//C -this.state = 214; -; - //BA.debugLineNum = 6295;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._encuestares),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 6296;BA.debugLine="ocultaPanelEncuesta"; -parent._ocultapanelencuesta(); - if (true) break; - -case 124: -//C -this.state = 125; - //BA.debugLineNum = 6298;BA.debugLine="If logger Then Log(\"Pregunta tipo 4\")"; -if (true) break; - -case 125: -//if -this.state = 130; -if (_logger) { -this.state = 127; -;}if (true) break; - -case 127: -//C -this.state = 130; -parent.__c.LogImpl("460555368","Pregunta tipo 4",0); -if (true) break; - -case 130: -//C -this.state = 131; -; - //BA.debugLineNum = 6299;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; -parent._botonpresionado = (int) (0); - //BA.debugLineNum = 6300;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; -parent._l_titencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION"))); - //BA.debugLineNum = 6301;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; -parent._l_txtencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); - //BA.debugLineNum = 6302;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; -if (true) break; - -case 131: -//if -this.state = 136; -if (_logger) { -this.state = 133; -;}if (true) break; - -case 133: -//C -this.state = 136; -parent.__c.LogImpl("460555372",_enc.GetString("CAT_EP_PREGUNTA"),0); -if (true) break; - -case 136: -//C -this.state = 137; -; - //BA.debugLineNum = 6303;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width"; -parent._subs._centraetiqueta /*String*/ (ba,parent._l_txtencuesta,parent._root.getWidth()); - //BA.debugLineNum = 6304;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString"; -parent._muestraboton(parent._b_encuesta_1,"SI",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-350),(int) (580),(int) (300),(int) (160)); - //BA.debugLineNum = 6305;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin"; -parent._muestraboton(parent._b_encuesta_2,"NO",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()+50),(int) (580),(int) (300),(int) (160)); - //BA.debugLineNum = 6306;BA.debugLine="muestraEncuesta"; -parent._muestraencuesta(); - //BA.debugLineNum = 6307;BA.debugLine="Log(\"Esperamos respuesta\")"; -parent.__c.LogImpl("460555377","Esperamos respuesta",0); - //BA.debugLineNum = 6308;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; -if (true) break; - -case 137: -//do until -this.state = 140; -while (!(parent._botonpresionado==1)) { -this.state = 139; -if (true) break; -} -if (true) break; - -case 139: -//C -this.state = 137; - //BA.debugLineNum = 6309;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 230; -return; -case 230: -//C -this.state = 137; -; - if (true) break; -; - //BA.debugLineNum = 6311;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta"; - -case 140: -//if -this.state = 145; -if (_logger) { -this.state = 142; -;}if (true) break; - -case 142: -//C -this.state = 145; -parent.__c.LogImpl("460555381","encuestaRes: "+parent._encuestares,0); -if (true) break; - -case 145: -//C -this.state = 146; -; - //BA.debugLineNum = 6312;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 4 :"; -if (true) break; - -case 146: -//if -this.state = 151; -if (_logger) { -this.state = 148; -;}if (true) break; - -case 148: -//C -this.state = 151; -parent.__c.LogImpl("460555382",("Guardamos tipo 4 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green); -if (true) break; - -case 151: -//C -this.state = 152; -; - //BA.debugLineNum = 6313;BA.debugLine="If encuestaRes = \"SI\" Then"; -if (true) break; - -case 152: -//if -this.state = 161; -if ((parent._encuestares).equals("SI")) { -this.state = 154; -}else if((parent._encuestares).equals("NO")) { -this.state = 156; -}if (true) break; - -case 154: -//C -this.state = 161; - //BA.debugLineNum = 6314;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)("SI"),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 6315;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc."; -parent._indicepregunta = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_RES1_PRED"))); - //BA.debugLineNum = 6316;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)"; -parent.__c.LogImpl("460555386",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(parent._indicepregunta))+""),0); - //BA.debugLineNum = 6317;BA.debugLine="i = indicePregunta"; -_i = parent._indicepregunta; - if (true) break; - -case 156: -//C -this.state = 157; - //BA.debugLineNum = 6319;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)("NO"),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 6320;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc."; -parent._indicepregunta = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_RES2_PRED"))); - //BA.debugLineNum = 6321;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)"; -parent.__c.LogImpl("460555391",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(parent._indicepregunta))+""),0); - //BA.debugLineNum = 6322;BA.debugLine="i = indicePregunta"; -_i = parent._indicepregunta; - //BA.debugLineNum = 6323;BA.debugLine="Log($\"I = ${i}\"$)"; -parent.__c.LogImpl("460555393",("I = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0); - //BA.debugLineNum = 6324;BA.debugLine="If enc.GetString(\"CAT_EP_RES2_PRED\") = \"null"; -if (true) break; - -case 157: -//if -this.state = 160; -if ((_enc.GetString("CAT_EP_RES2_PRED")).equals("null") || _enc.GetString("CAT_EP_RES2_PRED")== null) { -this.state = 159; -}if (true) break; - -case 159: -//C -this.state = 160; - //BA.debugLineNum = 6325;BA.debugLine="Exit"; -this.state = 218; -if (true) break; - if (true) break; - -case 160: -//C -this.state = 161; -; - if (true) break; - -case 161: -//C -this.state = 214; -; - if (true) break; - -case 163: -//C -this.state = 164; - //BA.debugLineNum = 6329;BA.debugLine="Log(\"Pregunta tipo 2\")"; -parent.__c.LogImpl("460555399","Pregunta tipo 2",0); - //BA.debugLineNum = 6330;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; -parent._botonpresionado = (int) (0); - //BA.debugLineNum = 6331;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; -parent._l_titencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION"))); - //BA.debugLineNum = 6332;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; -parent._l_txtencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); - //BA.debugLineNum = 6333;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; -if (true) break; - -case 164: -//if -this.state = 169; -if (_logger) { -this.state = 166; -;}if (true) break; - -case 166: -//C -this.state = 169; -parent.__c.LogImpl("460555403",_enc.GetString("CAT_EP_PREGUNTA"),0); -if (true) break; - -case 169: -//C -this.state = 170; -; - //BA.debugLineNum = 6334;BA.debugLine="muestraBoton(b_encuesta_1, enc.GetString(\"CAT"; -parent._muestraboton(parent._b_encuesta_1,_enc.GetString("CAT_EP_RES1_PRED"),_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-250),(int) (580),(int) (500),(int) (160)); - //BA.debugLineNum = 6335;BA.debugLine="muestraBoton(b_encuesta_2, enc.GetString(\"CAT"; -parent._muestraboton(parent._b_encuesta_2,_enc.GetString("CAT_EP_RES2_PRED"),_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-250),(int) (740),(int) (500),(int) (160)); - //BA.debugLineNum = 6336;BA.debugLine="muestraBoton(b_encuesta_3, enc.GetString(\"CAT"; -parent._muestraboton(parent._b_encuesta_3,_enc.GetString("CAT_EP_RES3_PRED"),_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-250),(int) (900),(int) (500),(int) (160)); - //BA.debugLineNum = 6337;BA.debugLine="muestraEncuesta"; -parent._muestraencuesta(); - //BA.debugLineNum = 6338;BA.debugLine="Log(\"Esperamos respuesta\")"; -parent.__c.LogImpl("460555408","Esperamos respuesta",0); - //BA.debugLineNum = 6339;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; -if (true) break; - -case 170: -//do until -this.state = 173; -while (!(parent._botonpresionado==1)) { -this.state = 172; -if (true) break; -} -if (true) break; - -case 172: -//C -this.state = 170; - //BA.debugLineNum = 6340;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 231; -return; -case 231: -//C -this.state = 170; -; - if (true) break; - -case 173: -//C -this.state = 174; -; - //BA.debugLineNum = 6342;BA.debugLine="Log(\"encuestaRes: \" & encuestaRes)"; -parent.__c.LogImpl("460555412","encuestaRes: "+parent._encuestares,0); - //BA.debugLineNum = 6343;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 2 :"; -if (true) break; - -case 174: -//if -this.state = 179; -if (_logger) { -this.state = 176; -;}if (true) break; - -case 176: -//C -this.state = 179; -parent.__c.LogImpl("460555413",("Guardamos tipo 2 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green); -if (true) break; - -case 179: -//C -this.state = 180; -; - //BA.debugLineNum = 6344;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._encuestares),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 6346;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G"; -parent._indicepregunta = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_ID"))); - //BA.debugLineNum = 6347;BA.debugLine="i = indicePregunta + 1"; -_i = (int) (parent._indicepregunta+1); - //BA.debugLineNum = 6348;BA.debugLine="If i = enc.RowCount - 1 Then i = i - 1"; -if (true) break; - -case 180: -//if -this.state = 185; -if (_i==_enc.getRowCount()-1) { -this.state = 182; -;}if (true) break; - -case 182: -//C -this.state = 185; -_i = (int) (_i-1); -if (true) break; - -case 185: -//C -this.state = 214; -; - //BA.debugLineNum = 6349;BA.debugLine="Log($\"i = ${i}\"$)"; -parent.__c.LogImpl("460555419",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0); - //BA.debugLineNum = 6350;BA.debugLine="ocultaPanelEncuesta"; -parent._ocultapanelencuesta(); - if (true) break; - -case 187: -//C -this.state = 188; - //BA.debugLineNum = 6352;BA.debugLine="If logger Then Log(\"Pregunta tipo 6\")"; -if (true) break; - -case 188: -//if -this.state = 193; -if (_logger) { -this.state = 190; -;}if (true) break; - -case 190: -//C -this.state = 193; -parent.__c.LogImpl("460555422","Pregunta tipo 6",0); -if (true) break; - -case 193: -//C -this.state = 214; -; - //BA.debugLineNum = 6353;BA.debugLine="Panel10.Visible = True"; -parent._panel10.setVisible(parent.__c.True); - //BA.debugLineNum = 6354;BA.debugLine="l_chk_e.Text = enc.GetString(\"CAT_EP_PREGUNT"; -parent._l_chk_e.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); - //BA.debugLineNum = 6355;BA.debugLine="Chk_1.Checked = False"; -parent._chk_1.setChecked(parent.__c.False); - //BA.debugLineNum = 6356;BA.debugLine="chk_2.Checked = False"; -parent._chk_2.setChecked(parent.__c.False); - //BA.debugLineNum = 6357;BA.debugLine="chk_3.Checked = False"; -parent._chk_3.setChecked(parent.__c.False); - //BA.debugLineNum = 6358;BA.debugLine="Chk_1.Text = enc.GetString(\"CAT_EP_RES1_PRED\""; -parent._chk_1.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES1_PRED"))); - //BA.debugLineNum = 6359;BA.debugLine="chk_2.Text = enc.GetString(\"CAT_EP_RES2_PRED"; -parent._chk_2.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES2_PRED"))); - //BA.debugLineNum = 6360;BA.debugLine="chk_3.Text = enc.GetString(\"CAT_EP_RES3_PRED"; -parent._chk_3.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES3_PRED"))); - //BA.debugLineNum = 6361;BA.debugLine="chk_1_valor = enc.GetString(\"CAT_EP_RES1_PRE"; -parent._chk_1_valor = _enc.GetString("CAT_EP_RES1_PRED"); - //BA.debugLineNum = 6362;BA.debugLine="chk_2_valor = enc.GetString(\"CAT_EP_RES2_PRE"; -parent._chk_2_valor = _enc.GetString("CAT_EP_RES2_PRED"); - //BA.debugLineNum = 6363;BA.debugLine="chk_3_valor = enc.GetString(\"CAT_EP_RES3_PRE"; -parent._chk_3_valor = _enc.GetString("CAT_EP_RES3_PRED"); - //BA.debugLineNum = 6364;BA.debugLine="Chk_1.Tag = enc.GetString(\"CAT_EP_ID\")"; -parent._chk_1.setTag((Object)(_enc.GetString("CAT_EP_ID"))); - //BA.debugLineNum = 6365;BA.debugLine="chk_2.Tag = enc.GetString(\"CAT_EP_ID\")"; -parent._chk_2.setTag((Object)(_enc.GetString("CAT_EP_ID"))); - //BA.debugLineNum = 6366;BA.debugLine="chk_3.Tag = enc.GetString(\"CAT_EP_ID\")"; -parent._chk_3.setTag((Object)(_enc.GetString("CAT_EP_ID"))); - //BA.debugLineNum = 6367;BA.debugLine="TOMAR_FOTO = 1"; -parent._tomar_foto = BA.NumberToString(1); - //BA.debugLineNum = 6368;BA.debugLine="CURSOR_FOTO = i"; -parent._cursor_foto = _i; - //BA.debugLineNum = 6369;BA.debugLine="Exit"; -this.state = 218; -if (true) break; - if (true) break; - -case 195: -//C -this.state = 196; - //BA.debugLineNum = 6371;BA.debugLine="Log(\"Pregunta tipo 1\")"; -parent.__c.LogImpl("460555441","Pregunta tipo 1",0); - //BA.debugLineNum = 6372;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; -parent._botonpresionado = (int) (0); - //BA.debugLineNum = 6373;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; -parent._l_titencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION"))); - //BA.debugLineNum = 6374;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; -parent._l_txtencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); - //BA.debugLineNum = 6375;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; -if (true) break; - -case 196: -//if -this.state = 201; -if (_logger) { -this.state = 198; -;}if (true) break; - -case 198: -//C -this.state = 201; -parent.__c.LogImpl("460555445",_enc.GetString("CAT_EP_PREGUNTA")+"|"+_enc.GetString("CAT_EP_ORDEN_PREGUNTA"),0); -if (true) break; - -case 201: -//C -this.state = 202; -; - //BA.debugLineNum = 6376;BA.debugLine="Subs.centraEditText(et_encuesta, Root.Width)"; -parent._subs._centraedittext /*String*/ (ba,parent._et_encuesta,parent._root.getWidth()); - //BA.debugLineNum = 6377;BA.debugLine="et_encuesta.Visible = True"; -parent._et_encuesta.setVisible(parent.__c.True); - //BA.debugLineNum = 6378;BA.debugLine="b_encuesta_continuar.Enabled = False"; -parent._b_encuesta_continuar.setEnabled(parent.__c.False); - //BA.debugLineNum = 6379;BA.debugLine="Private bTop = et_encuesta.Top + 130"; -_btop = BA.NumberToString(parent._et_encuesta.getTop()+130); - //BA.debugLineNum = 6380;BA.debugLine="muestraBoton(b_encuesta_continuar,\"Continuar\""; -parent._muestraboton(parent._b_encuesta_continuar,"Continuar",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-250),(int)(Double.parseDouble(_btop)),(int) (500),(int) (160)); - //BA.debugLineNum = 6381;BA.debugLine="muestraEncuesta"; -parent._muestraencuesta(); - //BA.debugLineNum = 6382;BA.debugLine="Log(\"Esperamos respuesta\")"; -parent.__c.LogImpl("460555452","Esperamos respuesta",0); - //BA.debugLineNum = 6383;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; -if (true) break; - -case 202: -//do until -this.state = 205; -while (!(parent._botonpresionado==1)) { -this.state = 204; -if (true) break; -} -if (true) break; - -case 204: -//C -this.state = 202; - //BA.debugLineNum = 6384;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 232; -return; -case 232: -//C -this.state = 202; -; - if (true) break; - -case 205: -//C -this.state = 206; -; - //BA.debugLineNum = 6386;BA.debugLine="Log($\"Respuesta: ${encuestaRes}\"$)"; -parent.__c.LogImpl("460555456",("Respuesta: "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),0); - //BA.debugLineNum = 6387;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 1 :"; -if (true) break; - -case 206: -//if -this.state = 211; -if (_logger) { -this.state = 208; -;}if (true) break; - -case 208: -//C -this.state = 211; -parent.__c.LogImpl("460555457",("Guardamos tipo 1 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green); -if (true) break; - -case 211: -//C -this.state = 214; -; - //BA.debugLineNum = 6388;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._encuestares),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 6389;BA.debugLine="ocultaPanelEncuesta"; -parent._ocultapanelencuesta(); - if (true) break; - -case 213: -//C -this.state = 214; - //BA.debugLineNum = 6392;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -parent._b4xpages._showpage /*String*/ (ba,"productos"); - if (true) break; -; - //BA.debugLineNum = 6394;BA.debugLine="If i = enc.RowCount - 1 Then"; - -case 214: -//if -this.state = 217; -if (_i==_enc.getRowCount()-1) { -this.state = 216; -}if (true) break; - -case 216: -//C -this.state = 217; - //BA.debugLineNum = 6395;BA.debugLine="i = i - 1"; -_i = (int) (_i-1); - if (true) break; - -case 217: -//C -this.state = 228; -; - if (true) break; -if (true) break; - -case 218: -//C -this.state = 221; -; - //BA.debugLineNum = 6398;BA.debugLine="enc.Close"; -_enc.Close(); - if (true) break; - -case 220: -//C -this.state = 221; - //BA.debugLineNum = 6401;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -parent._b4xpages._showpage /*String*/ (ba,"productos"); - if (true) break; - -case 221: -//C -this.state = 224; -; - if (true) break; - -case 223: -//C -this.state = 224; - //BA.debugLineNum = 6405;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -parent._b4xpages._showpage /*String*/ (ba,"productos"); - if (true) break; - -case 224: -//C -this.state = -1; -; - //BA.debugLineNum = 6408;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _datos_click() throws Exception{ - //BA.debugLineNum = 2972;BA.debugLine="Sub DATOS_Click"; - //BA.debugLineNum = 2973;BA.debugLine="B4XPages.ShowPage(\"telefonos\")"; -_b4xpages._showpage /*String*/ (ba,"telefonos"); - //BA.debugLineNum = 2974;BA.debugLine="End Sub"; -return ""; -} -public void _enviarpdfwhatsappnumero(String _numerotelefono) throws Exception{ -ResumableSub_EnviarPDFWhatsAppNumero rsub = new ResumableSub_EnviarPDFWhatsAppNumero(this,_numerotelefono); -rsub.resume(ba, null); -} -public static class ResumableSub_EnviarPDFWhatsAppNumero extends BA.ResumableSub { -public ResumableSub_EnviarPDFWhatsAppNumero(gunav2.keymon.com.mx.c_cliente parent,String _numerotelefono) { -this.parent = parent; -this._numerotelefono = _numerotelefono; -} -gunav2.keymon.com.mx.c_cliente parent; -String _numerotelefono; -gunav2.keymon.com.mx.httpjob._multipartfiledata _fd = null; -String _link = ""; -anywheresoftware.b4a.objects.collections.Map _campos = null; -gunav2.keymon.com.mx.httpjob _job = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 7358;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_numerotelefono.length()==10) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -_numerotelefono = "521"+_numerotelefono; -if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 7364;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder"; -if (true) break; - -case 7: -//if -this.state = 12; -if (parent.__c.File.Exists(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,parent._archivoticketpdf)) { -this.state = 9; -}else { -this.state = 11; -}if (true) break; - -case 9: -//C -this.state = 12; - //BA.debugLineNum = 7366;BA.debugLine="Dim fd As MultipartFileData"; -_fd = new gunav2.keymon.com.mx.httpjob._multipartfiledata(); - //BA.debugLineNum = 7367;BA.debugLine="fd.Initialize"; -_fd.Initialize(); - //BA.debugLineNum = 7368;BA.debugLine="fd.KeyName = \"file\""; -_fd.KeyName /*String*/ = "file"; - //BA.debugLineNum = 7369;BA.debugLine="fd.Dir = Starter.fFileProvider.SharedFolder"; -_fd.Dir /*String*/ = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ; - //BA.debugLineNum = 7370;BA.debugLine="fd.FileName = archivoTicketPDF"; -_fd.FileName /*String*/ = parent._archivoticketpdf; - //BA.debugLineNum = 7371;BA.debugLine="fd.ContentType = \"application/pdf\""; -_fd.ContentType /*String*/ = "application/pdf"; - //BA.debugLineNum = 7372;BA.debugLine="Private link As String = \"http://keymon.net:9001"; -_link = "http://keymon.net:9001/v1/ticketpdf"; - //BA.debugLineNum = 7373;BA.debugLine="Private campos As Map = CreateMap( \"message\":\"Tu"; -_campos = new anywheresoftware.b4a.objects.collections.Map(); -_campos = parent.__c.createMap(new Object[] {(Object)("message"),(Object)("Tu compra de Guna va ser a *crédito* por el monto de $${NumberFormat2(monto, 1, 2, 2, True)}\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)")}); - //BA.debugLineNum = 7374;BA.debugLine="campos.Put(\"number\", NumeroTelefono)"; -_campos.Put((Object)("number"),(Object)(_numerotelefono)); - //BA.debugLineNum = 7375;BA.debugLine="Log(NumeroTelefono)"; -parent.__c.LogImpl("462521362",_numerotelefono,0); - //BA.debugLineNum = 7376;BA.debugLine="campos.Put(\"message\",\"Tu recibo\")"; -_campos.Put((Object)("message"),(Object)("Tu recibo")); - //BA.debugLineNum = 7377;BA.debugLine="Log(campos)"; -parent.__c.LogImpl("462521364",BA.ObjectToString(_campos),0); - //BA.debugLineNum = 7378;BA.debugLine="Private job As HttpJob"; -_job = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 7379;BA.debugLine="job.Initialize(\"\", Me)"; -_job._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 7380;BA.debugLine="job.PostMultipart(link, campos, Array(fd))"; -_job._postmultipart /*String*/ (_link,_campos,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fd)})); - //BA.debugLineNum = 7382;BA.debugLine="Log(5555)"; -parent.__c.LogImpl("462521369",BA.NumberToString(5555),0); - //BA.debugLineNum = 7383;BA.debugLine="Wait For (job) JobDone(job As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_job)); -this.state = 13; -return; -case 13: -//C -this.state = 12; -_job = (gunav2.keymon.com.mx.httpjob) result[0]; -; - if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 7411;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe.\", Tr"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("El archivo PDF no existe."),parent.__c.True); - if (true) break; - -case 12: -//C -this.state = -1; -; - //BA.debugLineNum = 7413;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _enviarpdfwhatsappnumero2(String _numerotelefono) throws Exception{ -ResumableSub_EnviarPDFWhatsAppNumero2 rsub = new ResumableSub_EnviarPDFWhatsAppNumero2(this,_numerotelefono); -rsub.resume(ba, null); -} -public static class ResumableSub_EnviarPDFWhatsAppNumero2 extends BA.ResumableSub { -public ResumableSub_EnviarPDFWhatsAppNumero2(gunav2.keymon.com.mx.c_cliente parent,String _numerotelefono) { -this.parent = parent; -this._numerotelefono = _numerotelefono; -} -gunav2.keymon.com.mx.c_cliente parent; -String _numerotelefono; -String _rutaarchivo = ""; -String _uriwhatsapp = ""; -anywheresoftware.b4a.objects.IntentWrapper _intentwhatsapp = null; -Object _uri0 = null; -anywheresoftware.b4a.objects.IntentWrapper _intent1 = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 7416;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_numerotelefono.length()==10) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -_numerotelefono = "521"+_numerotelefono; -if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 7418;BA.debugLine="Dim RutaArchivo As String = Starter.fFileProvi"; -_rutaarchivo = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ +"/"+parent._archivoticketpdf; - //BA.debugLineNum = 7419;BA.debugLine="Log(RutaArchivo)"; -parent.__c.LogImpl("462586884",_rutaarchivo,0); - //BA.debugLineNum = 7422;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder"; -if (true) break; - -case 7: -//if -this.state = 12; -if (parent.__c.File.Exists(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,parent._archivoticketpdf)) { -this.state = 9; -}else { -this.state = 11; -}if (true) break; - -case 9: -//C -this.state = 12; - //BA.debugLineNum = 7424;BA.debugLine="Dim UriWhatsApp As String = \"https://wa.me"; -_uriwhatsapp = "https://wa.me/"+_numerotelefono; - //BA.debugLineNum = 7425;BA.debugLine="Dim IntentWhatsApp As Intent"; -_intentwhatsapp = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 7426;BA.debugLine="IntentWhatsApp.Initialize(IntentWhatsApp.A"; -_intentwhatsapp.Initialize(_intentwhatsapp.ACTION_VIEW,_uriwhatsapp); - //BA.debugLineNum = 7435;BA.debugLine="StartActivity(IntentWhatsApp)"; -parent.__c.StartActivity(ba,(Object)(_intentwhatsapp.getObject())); - //BA.debugLineNum = 7438;BA.debugLine="ToastMessageShow(\"Por favor, comparte el a"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor, comparte el archivo manualmente en WhatsApp."),parent.__c.True); - //BA.debugLineNum = 7441;BA.debugLine="Sleep(3000)"; -parent.__c.Sleep(ba,this,(int) (3000)); -this.state = 13; -return; -case 13: -//C -this.state = 12; -; - //BA.debugLineNum = 7444;BA.debugLine="Dim Uri0 As Object = Starter.fFileProvider.GetFi"; -_uri0 = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (parent._archivoticketpdf); - //BA.debugLineNum = 7447;BA.debugLine="Dim Intent1 As Intent"; -_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 7448;BA.debugLine="Intent1.Initialize(Intent1.ACTION_SEND, \"\""; -_intent1.Initialize(_intent1.ACTION_SEND,""); - //BA.debugLineNum = 7451;BA.debugLine="Intent1.SetType(\"application/pdf\")"; -_intent1.SetType("application/pdf"); - //BA.debugLineNum = 7454;BA.debugLine="Intent1.PutExtra(\"android.intent.extra.STR"; -_intent1.PutExtra("android.intent.extra.STREAM",_uri0); - //BA.debugLineNum = 7457;BA.debugLine="Intent1.Flags = 1 ' FLAG_GRANT_READ_URI_PE"; -_intent1.setFlags((int) (1)); - //BA.debugLineNum = 7460;BA.debugLine="StartActivity(Intent1)"; -parent.__c.StartActivity(ba,(Object)(_intent1.getObject())); - if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 7462;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("El archivo PDF no existe."),parent.__c.True); - if (true) break; - -case 12: -//C -this.state = -1; -; - //BA.debugLineNum = 7464;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _enviaticket() throws Exception{ -ResumableSub_enviaTicket rsub = new ResumableSub_enviaTicket(this); -rsub.resume(ba, null); -} -public static class ResumableSub_enviaTicket extends BA.ResumableSub { -public ResumableSub_enviaTicket(gunav2.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -gunav2.keymon.com.mx.c_cliente parent; -anywheresoftware.b4a.phone.Phone.Email _email = null; -anywheresoftware.b4a.objects.IntentWrapper _in = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -return; - -case 0: -//C -this.state = -1; - //BA.debugLineNum = 7347;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 7348;BA.debugLine="Dim email As Email"; -_email = new anywheresoftware.b4a.phone.Phone.Email(); - //BA.debugLineNum = 7349;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")"; -_email.To.Add((Object)("cheveguerra@gmail.com")); - //BA.debugLineNum = 7350;BA.debugLine="email.Subject = \"subject\""; -_email.Subject = "subject"; - //BA.debugLineNum = 7351;BA.debugLine="email.Attachments.Add(Starter.fFileProvider.GetFi"; -_email.Attachments.Add(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (parent._archivoticketpdf)); - //BA.debugLineNum = 7352;BA.debugLine="Dim in As Intent = email.GetIntent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); -_in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent())); - //BA.debugLineNum = 7353;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; -_in.setFlags((int) (1)); - //BA.debugLineNum = 7354;BA.debugLine="StartActivity(in)"; -parent.__c.StartActivity(ba,(Object)(_in.getObject())); - //BA.debugLineNum = 7355;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _et_encuesta_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 6484;BA.debugLine="Private Sub et_encuesta_TextChanged (Old As String"; - //BA.debugLineNum = 6486;BA.debugLine="If New.Length > 0 Then b_encuesta_continuar.Enabl"; -if (_new.length()>0) { -_b_encuesta_continuar.setEnabled(__c.True);}; - //BA.debugLineNum = 6487;BA.debugLine="If New.Length < 1 Then b_encuesta_continuar.Enabl"; -if (_new.length()<1) { -_b_encuesta_continuar.setEnabled(__c.False);}; - //BA.debugLineNum = 6488;BA.debugLine="End Sub"; -return ""; -} -public String _et_numeropdf_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 7509;BA.debugLine="Private Sub et_numeroPDF_TextChanged (Old As Strin"; - //BA.debugLineNum = 7510;BA.debugLine="If New.Length = 10 Then b_envioPDF.Enabled = True"; -if (_new.length()==10) { -_b_enviopdf.setEnabled(__c.True);} -else { -_b_enviopdf.setEnabled(__c.False);}; - //BA.debugLineNum = 7511;BA.debugLine="End Sub"; -return ""; -} -public String _et_p1_m2_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 5567;BA.debugLine="Private Sub et_p1_m2_TextChanged (Old As String, N"; - //BA.debugLineNum = 5568;BA.debugLine="If et_p1_m2.Text.Length > 2 Or et_p1_m2.Text = 0"; -if (_et_p1_m2.getText().length()>2 || (_et_p1_m2.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 5570;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; -__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba); - //BA.debugLineNum = 5571;BA.debugLine="et_p1_m2.Text = \"\""; -_et_p1_m2.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 5573;BA.debugLine="End Sub"; -return ""; -} -public String _et_p1_m4_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 5592;BA.debugLine="Private Sub et_p1_m4_TextChanged (Old As String, N"; - //BA.debugLineNum = 5593;BA.debugLine="If et_p1_m4.Text.Length > 5 Then"; -if (_et_p1_m4.getText().length()>5) { - //BA.debugLineNum = 5595;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; -__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba); - //BA.debugLineNum = 5596;BA.debugLine="et_p1_m4.Text = \"\""; -_et_p1_m4.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 5598;BA.debugLine="End Sub"; -return ""; -} -public String _et_p2_m2_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 5575;BA.debugLine="Private Sub et_p2_m2_TextChanged (Old As String, N"; - //BA.debugLineNum = 5576;BA.debugLine="If et_p2_m2.Text.Length > 2 Or et_p2_m2.Text = 0"; -if (_et_p2_m2.getText().length()>2 || (_et_p2_m2.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 5578;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; -__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba); - //BA.debugLineNum = 5579;BA.debugLine="et_p2_m2.Text = \"\""; -_et_p2_m2.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 5582;BA.debugLine="End Sub"; -return ""; -} -public String _et_p5_m2_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 5584;BA.debugLine="Private Sub et_p5_m2_TextChanged (Old As String, N"; - //BA.debugLineNum = 5585;BA.debugLine="If et_p5_m2.Text.Length > 4 Then"; -if (_et_p5_m2.getText().length()>4) { - //BA.debugLineNum = 5587;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; -__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba); - //BA.debugLineNum = 5588;BA.debugLine="et_p5_m2.Text = \"\""; -_et_p5_m2.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 5590;BA.debugLine="End Sub"; -return ""; -} -public void _gest_click() throws Exception{ -ResumableSub_gest_Click rsub = new ResumableSub_gest_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_gest_Click extends BA.ResumableSub { -public ResumableSub_gest_Click(gunav2.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -gunav2.keymon.com.mx.c_cliente parent; -anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null; -String _fechainicio = ""; -long _ticksinicio = 0L; -long _tickshoy = 0L; -int _diferenciadias = 0; -int _resultado = 0; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 2083;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; -_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 2084;BA.debugLine="If pagarepen.RowCount > 0 Then"; -if (true) break; - -case 1: -//if -this.state = 32; -if (_pagarepen.getRowCount()>0) { -this.state = 3; -}else { -this.state = 31; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 2085;BA.debugLine="pagarepen.Position = 0"; -_pagarepen.setPosition((int) (0)); - //BA.debugLineNum = 2086;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; -parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 2087;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; -_fechainicio = _pagarepen.GetString("FECHA"); - //BA.debugLineNum = 2089;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; -parent.__c.LogImpl("451314699",_pagarepen.GetString("FECHA"),0); - //BA.debugLineNum = 2092;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; -_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio); - //BA.debugLineNum = 2093;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; -_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())); - //BA.debugLineNum = 2096;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; -_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay); - //BA.debugLineNum = 2099;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; -parent.__c.LogImpl("451314709",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0); - //BA.debugLineNum = 2101;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 2102;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 2104;BA.debugLine="If ALMACEN = 81 Or ALMACEN = 94 Then"; -if (true) break; - -case 4: -//if -this.state = 29; -if ((parent._almacen).equals(BA.NumberToString(81)) || (parent._almacen).equals(BA.NumberToString(94))) { -this.state = 6; -}else { -this.state = 18; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 2105;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI"; -if (true) break; - -case 7: -//if -this.state = 16; -if (_diferenciadias<=parent._c.GetInt("CAT_CL_DIASCREDITO")+8) { -this.state = 9; -}else if(_diferenciadias>parent._c.GetInt("CAT_CL_DIASCREDITO")+1) { -this.state = 15; -}if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 2107;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 2108;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 33; -return; -case 33: -//C -this.state = 10; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 2109;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 10: -//if -this.state = 13; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 12; -}if (true) break; - -case 12: -//C -this.state = 13; - //BA.debugLineNum = 2110;BA.debugLine="gestionar"; -parent._gestionar(); - if (true) break; - -case 13: -//C -this.state = 16; -; - if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 2113;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(parent._c.GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba); - if (true) break; - -case 16: -//C -this.state = 29; -; - if (true) break; - -case 18: -//C -this.state = 19; - //BA.debugLineNum = 2116;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI"; -if (true) break; - -case 19: -//if -this.state = 28; -if (_diferenciadias<=parent._c.GetInt("CAT_CL_DIASCREDITO")+1) { -this.state = 21; -}else if(_diferenciadias>parent._c.GetInt("CAT_CL_DIASCREDITO")+1) { -this.state = 27; -}if (true) break; - -case 21: -//C this.state = 22; - //BA.debugLineNum = 2118;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 2119;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 34; -return; -case 34: -//C -this.state = 22; -_resultado = (Integer) result[0]; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 2120;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=53739559; + //BA.debugLineNum = 53739559;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 22: //if -this.state = 25; +this.state = 37; if (_resultado==parent.__c.DialogResponse.POSITIVE) { this.state = 24; -}if (true) break; +}else +{RDebugUtils.currentLine=53739590; + //BA.debugLineNum = 53739590;BA.debugLine="Else If resultado = DialogResponse.CANCEL Then"; +if (_resultado==parent.__c.DialogResponse.CANCEL) { +this.state = 36; +}} +if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 2121;BA.debugLine="gestionar"; -parent._gestionar(); - if (true) break; +RDebugUtils.currentLine=53739560; + //BA.debugLineNum = 53739560;BA.debugLine="Dim creditocod As Cursor = Starter.skmt.ExecQ"; +_creditocod = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_creditocod = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=53739561; + //BA.debugLineNum = 53739561;BA.debugLine="Log(creditocod.RowCount)"; +parent.__c.LogImpl("053739561",BA.NumberToString(_creditocod.getRowCount()),0); +RDebugUtils.currentLine=53739562; + //BA.debugLineNum = 53739562;BA.debugLine="If creditocod.RowCount > 0 Then"; +if (true) break; case 25: -//C -this.state = 28; -; - if (true) break; +//if +this.state = 34; +if (_creditocod.getRowCount()>0) { +this.state = 27; +}else { +this.state = 33; +}if (true) break; case 27: //C this.state = 28; - //BA.debugLineNum = 2124;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(parent._c.GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba); - if (true) break; +RDebugUtils.currentLine=53739563; + //BA.debugLineNum = 53739563;BA.debugLine="creditocod.Position = 0"; +_creditocod.setPosition((int) (0)); +RDebugUtils.currentLine=53739564; + //BA.debugLineNum = 53739564;BA.debugLine="Dim cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=53739565; + //BA.debugLineNum = 53739565;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=53739568; + //BA.debugLineNum = 53739568;BA.debugLine="cs.Size(16).Append(\"Proporciona el siguiente"; +_cs.Size((int) (16)).Append(BA.ObjectToCharSequence("Proporciona el siguiente codigo al cliente '")); +RDebugUtils.currentLine=53739571; + //BA.debugLineNum = 53739571;BA.debugLine="cs.Bold.Append(creditocod.GetString(\"CODIGO\""; +_cs.Bold().Append(BA.ObjectToCharSequence(_creditocod.GetString("CODIGO"))).Pop(); +RDebugUtils.currentLine=53739574; + //BA.debugLineNum = 53739574;BA.debugLine="cs.Append(\"' para su entrega\").PopAll"; +_cs.Append(BA.ObjectToCharSequence("' para su entrega")).PopAll(); +RDebugUtils.currentLine=53739577; + //BA.debugLineNum = 53739577;BA.debugLine="Msgbox2Async(cs, \"Atención\", \"Ok\", \"\", \"\", L"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence(_cs.getObject()),BA.ObjectToCharSequence("Atención"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=53739578; + //BA.debugLineNum = 53739578;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"), null); +this.state = 46; +return; +case 46: +//C +this.state = 28; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=53739579; + //BA.debugLineNum = 53739579;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; case 28: -//C -this.state = 29; -; - if (true) break; - -case 29: -//C -this.state = 32; -; - if (true) break; - -case 31: -//C -this.state = 32; - //BA.debugLineNum = 2129;BA.debugLine="gestionar"; -parent._gestionar(); - if (true) break; - -case 32: -//C -this.state = -1; -; - //BA.debugLineNum = 2131;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _gestionar() throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _intent1 = null; -String _enviorutas = ""; -gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 2133;BA.debugLine="Sub gestionar"; - //BA.debugLineNum = 2134;BA.debugLine="If B_IMP.Visible = True Then"; -if (_b_imp.getVisible()==__c.True) { - //BA.debugLineNum = 2135;BA.debugLine="If Not(Subs.revisaImpreso) Then"; -if (__c.Not(_subs._revisaimpreso /*boolean*/ (ba))) { - //BA.debugLineNum = 2136;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 2137;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2138;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; -if ((_c.GetString("encuesta")).equals("0")) { - //BA.debugLineNum = 2139;BA.debugLine="Dim Intent1 As Intent"; -_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 2140;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/c"; -_enviorutas = "guna://tienda360/config?clienteId="+_la_cuenta.getText()+"&almacen="+_almacen+"&ruta="+_subs._traeruta /*String*/ (ba); - //BA.debugLineNum = 2141;BA.debugLine="Log(enviorutas)"; -__c.LogImpl("451380232",_enviorutas,0); - //BA.debugLineNum = 2142;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envior"; -_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas); - //BA.debugLineNum = 2143;BA.debugLine="Try"; -try { //BA.debugLineNum = 2144;BA.debugLine="Starter.encuesta = 1"; -_starter._encuesta /*String*/ = BA.NumberToString(1); - //BA.debugLineNum = 2145;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2146;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encu"; -_skmt.ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - //BA.debugLineNum = 2147;BA.debugLine="StartActivity(Intent1)"; -__c.StartActivity(ba,(Object)(_intent1.getObject())); - //BA.debugLineNum = 2148;BA.debugLine="compra"; -_compra(); - } - catch (Exception e17) { - ba.setLastException(e17); //BA.debugLineNum = 2150;BA.debugLine="Starter.encuesta = 0"; -_starter._encuesta /*String*/ = BA.NumberToString(0); - //BA.debugLineNum = 2154;BA.debugLine="compra"; -_compra(); - }; - }else { - //BA.debugLineNum = 2161;BA.debugLine="compra"; -_compra(); - }; - }else { - //BA.debugLineNum = 2164;BA.debugLine="If Subs.traeAlmacen = 94 Then"; -if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) { - //BA.debugLineNum = 2165;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 2166;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2167;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; -if ((_c.GetString("encuesta")).equals("0")) { - //BA.debugLineNum = 2168;BA.debugLine="Dim Intent1 As Intent"; -_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 2169;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/"; -_enviorutas = "guna://tienda360/config?clienteId="+_la_cuenta.getText()+"&almacen="+_almacen+"&ruta="+_subs._traeruta /*String*/ (ba); - //BA.debugLineNum = 2170;BA.debugLine="Log(enviorutas)"; -__c.LogImpl("451380261",_enviorutas,0); - //BA.debugLineNum = 2171;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envio"; -_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas); - //BA.debugLineNum = 2172;BA.debugLine="Try"; -try { //BA.debugLineNum = 2173;BA.debugLine="Starter.encuesta = 1"; -_starter._encuesta /*String*/ = BA.NumberToString(1); - //BA.debugLineNum = 2174;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2175;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET enc"; -_skmt.ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - //BA.debugLineNum = 2176;BA.debugLine="StartActivity(Intent1)"; -__c.StartActivity(ba,(Object)(_intent1.getObject())); - //BA.debugLineNum = 2177;BA.debugLine="compra"; -_compra(); - } - catch (Exception e39) { - ba.setLastException(e39); //BA.debugLineNum = 2179;BA.debugLine="Starter.encuesta = 0"; -_starter._encuesta /*String*/ = BA.NumberToString(0); - //BA.debugLineNum = 2183;BA.debugLine="compra"; -_compra(); - }; - }else { - //BA.debugLineNum = 2190;BA.debugLine="compra"; -_compra(); - }; - }else { - //BA.debugLineNum = 2193;BA.debugLine="p_transparenteTicketImpreso.Visible = True"; -_p_transparenteticketimpreso.setVisible(__c.True); - }; - }; - }else { - //BA.debugLineNum = 2197;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 2198;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2199;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; -if ((_c.GetString("encuesta")).equals("0")) { - //BA.debugLineNum = 2200;BA.debugLine="Dim Intent1 As Intent"; -_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 2201;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/co"; -_enviorutas = "guna://tienda360/config?clienteId="+_la_cuenta.getText()+"&almacen="+_almacen+"&ruta="+_subs._traeruta /*String*/ (ba); - //BA.debugLineNum = 2202;BA.debugLine="Log(enviorutas)"; -__c.LogImpl("451380293",_enviorutas,0); - //BA.debugLineNum = 2203;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envioru"; -_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas); - //BA.debugLineNum = 2204;BA.debugLine="Try"; -try { //BA.debugLineNum = 2205;BA.debugLine="Starter.encuesta = 1"; -_starter._encuesta /*String*/ = BA.NumberToString(1); - //BA.debugLineNum = 2206;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2207;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encue"; -_skmt.ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - //BA.debugLineNum = 2208;BA.debugLine="StartActivity(Intent1)"; -__c.StartActivity(ba,(Object)(_intent1.getObject())); - //BA.debugLineNum = 2209;BA.debugLine="compra"; -_compra(); - } - catch (Exception e64) { - ba.setLastException(e64); //BA.debugLineNum = 2211;BA.debugLine="Starter.encuesta = 0"; -_starter._encuesta /*String*/ = BA.NumberToString(0); - //BA.debugLineNum = 2215;BA.debugLine="compra"; -_compra(); - }; - }else { - //BA.debugLineNum = 2222;BA.debugLine="compra"; -_compra(); - }; - }; - //BA.debugLineNum = 2225;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ -anywheresoftware.b4a.objects.collections.List _ultimasubicaciones = null; -double _latpromedio = 0; -double _lonpromedio = 0; -anywheresoftware.b4a.gps.LocationWrapper _loc = null; -String _al_longitud = ""; -String _al_latitud = ""; -anywheresoftware.b4a.gps.LocationWrapper _ubi1 = null; -anywheresoftware.b4a.gps.LocationWrapper _ubi2 = null; -anywheresoftware.b4a.gps.LocationWrapper _l1 = null; -anywheresoftware.b4a.gps.LocationWrapper _l2 = null; -String _habi = ""; -String _geo = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c5 = null; - //BA.debugLineNum = 1520;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 1521;BA.debugLine="LogColor($\"Entrando a Cliente.GPS_LocationChanged"; -__c.LogImpl("450855937",("Entrando a Cliente.GPS_LocationChanged"),__c.Colors.Red); - //BA.debugLineNum = 1524;BA.debugLine="If Location1 = location2 Then"; -if ((_location1).equals(_location2)) { - //BA.debugLineNum = 1525;BA.debugLine="contIguales = contIguales + 1"; -_contiguales = (int) (_contiguales+1); - //BA.debugLineNum = 1526;BA.debugLine="Log(\"Coords Iguales\")"; -__c.LogImpl("450855942","Coords Iguales",0); - //BA.debugLineNum = 1527;BA.debugLine="If contIguales >= 3 Then"; -if (_contiguales>=3) { - //BA.debugLineNum = 1530;BA.debugLine="CallSubDelayed(Tracker, \"StopFLP\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StopFLP"); - //BA.debugLineNum = 1531;BA.debugLine="Return"; -if (true) return ""; - }; - }else { - //BA.debugLineNum = 1534;BA.debugLine="contIguales = 0"; -_contiguales = (int) (0); - }; - //BA.debugLineNum = 1536;BA.debugLine="Log(\"############################################"; -__c.LogImpl("450855952","################################################################################",0); - //BA.debugLineNum = 1537;BA.debugLine="Log(\"############################################"; -__c.LogImpl("450855953","################################################################################",0); - //BA.debugLineNum = 1538;BA.debugLine="Log(\"############################################"; -__c.LogImpl("450855954","################################################################################",0); - //BA.debugLineNum = 1539;BA.debugLine="location2 = Location1"; -_location2 = _location1; - //BA.debugLineNum = 1549;BA.debugLine="If Location1.Accuracy > 50 Then ' Mayor a 50 metr"; -if (_location1.getAccuracy()>50) { - //BA.debugLineNum = 1550;BA.debugLine="MejorarPrecisionGPS"; -_mejorarprecisiongps(); - //BA.debugLineNum = 1551;BA.debugLine="Return ' Esperar siguiente lectura"; -if (true) return ""; - }; - //BA.debugLineNum = 1555;BA.debugLine="If Location1.Accuracy > 50 Then ' Si la precisión"; -if (_location1.getAccuracy()>50) { - //BA.debugLineNum = 1556;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 1560;BA.debugLine="Dim ultimasUbicaciones As List"; -_ultimasubicaciones = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1561;BA.debugLine="If ultimasUbicaciones.IsInitialized = False Then"; -if (_ultimasubicaciones.IsInitialized()==__c.False) { - //BA.debugLineNum = 1562;BA.debugLine="ultimasUbicaciones.Initialize"; -_ultimasubicaciones.Initialize(); - }; - //BA.debugLineNum = 1565;BA.debugLine="ultimasUbicaciones.Add(Location1)"; -_ultimasubicaciones.Add((Object)(_location1.getObject())); - //BA.debugLineNum = 1566;BA.debugLine="If ultimasUbicaciones.Size > 5 Then"; -if (_ultimasubicaciones.getSize()>5) { - //BA.debugLineNum = 1567;BA.debugLine="ultimasUbicaciones.RemoveAt(0)"; -_ultimasubicaciones.RemoveAt((int) (0)); - }; - //BA.debugLineNum = 1571;BA.debugLine="Dim latPromedio, lonPromedio As Double"; -_latpromedio = 0; -_lonpromedio = 0; - //BA.debugLineNum = 1572;BA.debugLine="For Each loc As Location In ultimasUbicaciones"; -_loc = new anywheresoftware.b4a.gps.LocationWrapper(); -{ -final anywheresoftware.b4a.BA.IterableList group32 = _ultimasubicaciones; -final int groupLen32 = group32.getSize() -;int index32 = 0; -; -for (; index32 < groupLen32;index32++){ -_loc = (anywheresoftware.b4a.gps.LocationWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.gps.LocationWrapper(), (android.location.Location)(group32.Get(index32))); - //BA.debugLineNum = 1573;BA.debugLine="Log(\"***\")"; -__c.LogImpl("450855989","***",0); - //BA.debugLineNum = 1574;BA.debugLine="latPromedio = latPromedio + loc.Latitude"; -_latpromedio = _latpromedio+_loc.getLatitude(); - //BA.debugLineNum = 1575;BA.debugLine="lonPromedio = lonPromedio + loc.Longitude"; -_lonpromedio = _lonpromedio+_loc.getLongitude(); - } -}; - //BA.debugLineNum = 1577;BA.debugLine="latPromedio = latPromedio / ultimasUbicaciones.Si"; -_latpromedio = _latpromedio/(double)_ultimasubicaciones.getSize(); - //BA.debugLineNum = 1578;BA.debugLine="lonPromedio = lonPromedio / ultimasUbicaciones.Si"; -_lonpromedio = _lonpromedio/(double)_ultimasubicaciones.getSize(); - //BA.debugLineNum = 1581;BA.debugLine="B4XPages.MainPage.lat_gps = latPromedio"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_latpromedio); - //BA.debugLineNum = 1582;BA.debugLine="B4XPages.MainPage.lon_gps = lonPromedio"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_lonpromedio); - //BA.debugLineNum = 1584;BA.debugLine="If Tels.IsInitialized Then"; -if (_tels.IsInitialized()) { - //BA.debugLineNum = 1585;BA.debugLine="Dim al_longitud As String = 0"; -_al_longitud = BA.NumberToString(0); - //BA.debugLineNum = 1586;BA.debugLine="Dim al_latitud As String = 0"; -_al_latitud = BA.NumberToString(0); - //BA.debugLineNum = 1587;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"LATITUD"}))); - //BA.debugLineNum = 1588;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1589;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1590;BA.debugLine="Dim al_latitud As String = c.GetString(\"CAT_VA_"; -_al_latitud = _c.GetString("CAT_VA_VALOR"); - }; - //BA.debugLineNum = 1592;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1593;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"LONGITUD"}))); - //BA.debugLineNum = 1594;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1595;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1596;BA.debugLine="Dim al_longitud As String = c.GetString(\"CAT_VA"; -_al_longitud = _c.GetString("CAT_VA_VALOR"); - }; - //BA.debugLineNum = 1598;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1599;BA.debugLine="Dim ubi1, ubi2 As Location"; -_ubi1 = new anywheresoftware.b4a.gps.LocationWrapper(); -_ubi2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 1600;BA.debugLine="ubi1.Initialize2(B4XPages.MainPage.lat_gps, B4XP"; -_ubi1.Initialize2(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ); - //BA.debugLineNum = 1601;BA.debugLine="ubi2.Initialize2(al_latitud, al_longitud)"; -_ubi2.Initialize2(_al_latitud,_al_longitud); - //BA.debugLineNum = 1602;BA.debugLine="distancealm = ubi1.DistanceTo(ubi2)"; -_distancealm = (long) (_ubi1.DistanceTo((android.location.Location)(_ubi2.getObject()))); - }; - //BA.debugLineNum = 1605;BA.debugLine="If LA_GPS.IsInitialized Then"; -if (_la_gps.IsInitialized()) { - //BA.debugLineNum = 1606;BA.debugLine="LA_GPS.Text = $\"UBICACIÓN - Precisión: ${NumberF"; -_la_gps.setText(BA.ObjectToCharSequence(("UBICACIÓN - Precisión: "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_location1.getAccuracy(),(int) (0),(int) (1),(int) (1),__c.False)))+"m"))); - }; - //BA.debugLineNum = 1609;BA.debugLine="If Location1.Accuracy < 30 Then ' Menos de 30 met"; -if (_location1.getAccuracy()<30) { - //BA.debugLineNum = 1611;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); - //BA.debugLineNum = 1612;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); - //BA.debugLineNum = 1614;BA.debugLine="If m_lat.Length > 0 And B4XPages.MainPage.lat_gp"; -if (_m_lat.length()>0 && (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0") == false) { - //BA.debugLineNum = 1615;BA.debugLine="Dim l1, l2 As Location"; -_l1 = new anywheresoftware.b4a.gps.LocationWrapper(); -_l2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 1616;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPa"; -_l1.Initialize2(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ); - //BA.debugLineNum = 1618;BA.debugLine="l2.Initialize2(m_lat, m_lon)"; -_l2.Initialize2(_m_lat,_m_lon); - //BA.debugLineNum = 1619;BA.debugLine="BT_QR.Enabled = True"; -_bt_qr.setEnabled(__c.True); - //BA.debugLineNum = 1622;BA.debugLine="B_GPS.Enabled = True"; -_b_gps.setEnabled(__c.True); - //BA.debugLineNum = 1624;BA.debugLine="Dim distance As Long"; -_distance = 0L; - //BA.debugLineNum = 1625;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is in"; -_distance = (long) (_l1.DistanceTo((android.location.Location)(_l2.getObject()))); - //BA.debugLineNum = 1626;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\""; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT HABILITADO FROM GPS"))); - //BA.debugLineNum = 1627;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1628;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1629;BA.debugLine="Dim habi As String = c.GetString(\"HABILITADO\")"; -_habi = _c.GetString("HABILITADO"); - }; - //BA.debugLineNum = 1631;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1632;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'"))); - //BA.debugLineNum = 1633;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1634;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1635;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\""; -_geo = _c.GetString("CAT_VA_VALOR"); - }; - //BA.debugLineNum = 1637;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1638;BA.debugLine="If gest.IsInitialized And Tels.IsInitialized Th"; -if (_gest.IsInitialized() && _tels.IsInitialized()) { - //BA.debugLineNum = 1639;BA.debugLine="If geo = \"0\" Then"; -if ((_geo).equals("0")) { - //BA.debugLineNum = 1640;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1641;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1642;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1643;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1644;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1645;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1646;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1648;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1651;BA.debugLine="iniciofin"; -_iniciofin(); - //BA.debugLineNum = 1653;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - }else if((_geo).equals("1")) { - //BA.debugLineNum = 1655;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1656;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 1657;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1663;BA.debugLine="If geo = \"1\" Then"; -if ((_geo).equals("1")) { - //BA.debugLineNum = 1664;BA.debugLine="If distance < 100 Then"; -if (_distance<100) { - //BA.debugLineNum = 1665;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; -_la_geo.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 1666;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1667;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1668;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1669;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1670;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1671;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1672;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1674;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1677;BA.debugLine="bitacora.inicioFin"; -_bitacora._iniciofin /*String*/ (); - //BA.debugLineNum = 1678;BA.debugLine="precision = \"1\""; -_precision = "1"; - //BA.debugLineNum = 1680;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - }else if((_habi).equals("1")) { - //BA.debugLineNum = 1683;BA.debugLine="If distancealm < 50 Then"; -if (_distancealm<50) { - //BA.debugLineNum = 1684;BA.debugLine="precision = \"0\""; -_precision = "0"; - //BA.debugLineNum = 1685;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; -_la_geo.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 1686;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1687;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1688;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1689;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1690;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1691;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1692;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1694;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1698;BA.debugLine="bitacora.banderaGeoCerca = \"1\""; -_bitacora._banderageocerca /*String*/ = "1"; - //BA.debugLineNum = 1699;BA.debugLine="iniciofin"; -_iniciofin(); - }else if(_distancealm>50) { - //BA.debugLineNum = 1702;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1703;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 1704;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1706;BA.debugLine="Log(998)"; -__c.LogImpl("450856122",BA.NumberToString(998),0); - //BA.debugLineNum = 1708;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1709;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1710;BA.debugLine="precision = \"0\""; -_precision = "0"; - //BA.debugLineNum = 1711;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1712;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1713;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1714;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1715;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1716;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1717;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1719;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1723;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - //BA.debugLineNum = 1724;BA.debugLine="iniciofin"; -_iniciofin(); - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 1726;BA.debugLine="Private c5 As Cursor = skmt.ExecQuery(\"SELE"; -_c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1727;BA.debugLine="If c5.RowCount > 0 Then"; -if (_c5.getRowCount()>0) { - //BA.debugLineNum = 1728;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1729;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1730;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.s"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1731;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1732;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1733;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1734;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1736;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1739;BA.debugLine="precision = \"0\""; -_precision = "0"; - //BA.debugLineNum = 1741;BA.debugLine="iniciofin"; -_iniciofin(); - }else if(_c5.getRowCount()==0) { - //BA.debugLineNum = 1743;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1744;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 1746;BA.debugLine="Log(997)"; -__c.LogImpl("450856162",BA.NumberToString(997),0); - //BA.debugLineNum = 1748;BA.debugLine="LA_GEO.TextColor = Colors.Red"; -_la_geo.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1749;BA.debugLine="If ALMACEN = \"1\" Then"; -if ((_almacen).equals("1")) { - //BA.debugLineNum = 1750;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1751;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1752;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1754;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - //BA.debugLineNum = 1755;BA.debugLine="iniciofin"; -_iniciofin(); - }; - }; - //BA.debugLineNum = 1758;BA.debugLine="c5.Close"; -_c5.Close(); - }; - //BA.debugLineNum = 1760;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1761;BA.debugLine="LA_GEO.TextColor = Colors.Red"; -_la_geo.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1762;BA.debugLine="If ALMACEN = \"1\" Then"; -if ((_almacen).equals("1")) { - //BA.debugLineNum = 1763;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1764;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1766;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - //BA.debugLineNum = 1767;BA.debugLine="iniciofin"; -_iniciofin(); - }; - }; - }else if((_habi).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1771;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1772;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1773;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1774;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1775;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1776;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1777;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1778;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1779;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1781;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1785;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - //BA.debugLineNum = 1786;BA.debugLine="iniciofin"; -_iniciofin(); - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 1788;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1789;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1790;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 1792;BA.debugLine="Log(996)"; -__c.LogImpl("450856208",BA.NumberToString(996),0); - //BA.debugLineNum = 1794;BA.debugLine="c2 = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1795;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 1796;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1797;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1798;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1799;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1800;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1801;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1802;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1804;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1808;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - //BA.debugLineNum = 1809;BA.debugLine="iniciofin"; -_iniciofin(); - }else if(_c2.getRowCount()==0) { - //BA.debugLineNum = 1811;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1812;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1813;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 1815;BA.debugLine="Log(995)"; -__c.LogImpl("450856231",BA.NumberToString(995),0); - //BA.debugLineNum = 1817;BA.debugLine="LA_GEO.TextColor = Colors.Red"; -_la_geo.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1818;BA.debugLine="If ALMACEN = \"1\" Then"; -if ((_almacen).equals("1")) { - //BA.debugLineNum = 1819;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1820;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1821;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1823;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - //BA.debugLineNum = 1824;BA.debugLine="iniciofin"; -_iniciofin(); - }; - }; - //BA.debugLineNum = 1827;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 1828;BA.debugLine="LA_GEO.TextColor = Colors.Red"; -_la_geo.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1829;BA.debugLine="If ALMACEN = \"1\" Then"; -if ((_almacen).equals("1")) { - //BA.debugLineNum = 1830;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1831;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1832;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1834;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - //BA.debugLineNum = 1835;BA.debugLine="iniciofin"; -_iniciofin(); - }; - }; - //BA.debugLineNum = 1838;BA.debugLine="c.Close"; -_c.Close(); - }else { - //BA.debugLineNum = 1840;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1841;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1842;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 1844;BA.debugLine="Log(994)"; -__c.LogImpl("450856260",BA.NumberToString(994),0); - //BA.debugLineNum = 1846;BA.debugLine="LA_GEO.TextColor = Colors.Red"; -_la_geo.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1847;BA.debugLine="If ALMACEN = \"1\" Then"; -if ((_almacen).equals("1")) { - //BA.debugLineNum = 1848;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1849;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1850;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1852;BA.debugLine="bitacora.banderaGeoCerca = \"0\""; -_bitacora._banderageocerca /*String*/ = "0"; - //BA.debugLineNum = 1853;BA.debugLine="iniciofin"; -_iniciofin(); - }; - }; - }; - }; - }else { - //BA.debugLineNum = 1860;BA.debugLine="If LA_GPS.IsInitialized Then"; -if (_la_gps.IsInitialized()) { - //BA.debugLineNum = 1862;BA.debugLine="LA_GPS.Text = $\"BAJA PRECISIÓN (${NumberFormat2"; -_la_gps.setText(BA.ObjectToCharSequence(("BAJA PRECISIÓN ("+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_location1.getAccuracy(),(int) (0),(int) (1),(int) (1),__c.False)))+"m)"))); - //BA.debugLineNum = 1863;BA.debugLine="LA_GPS.TextColor = Colors.Red"; -_la_gps.setTextColor(__c.Colors.Red); - }; - }; - //BA.debugLineNum = 1867;BA.debugLine="If cuenta.StartsWith(\"N\") Then"; -if (_cuenta.startsWith("N")) { - //BA.debugLineNum = 1868;BA.debugLine="precision = \"0\""; -_precision = "0"; - //BA.debugLineNum = 1869;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; -_la_geo.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 1870;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1871;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1872;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1873;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1874;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1875;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1876;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1878;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1882;BA.debugLine="bitacora.banderaGeoCerca = \"1\""; -_bitacora._banderageocerca /*String*/ = "1"; - //BA.debugLineNum = 1883;BA.debugLine="iniciofin"; -_iniciofin(); - }; - //BA.debugLineNum = 1888;BA.debugLine="If LA_GEO.IsInitialized Then LA_GEO.Text= $\"$1.2{"; -if (_la_geo.IsInitialized()) { -_la_geo.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.2",(Object)(_distance/(double)1000))+" kms")));}; - //BA.debugLineNum = 1891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 1892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 1894;BA.debugLine="End Sub"; -return ""; -} -public String _guardadoventa() throws Exception{ - //BA.debugLineNum = 3068;BA.debugLine="Sub guardadoventa"; - //BA.debugLineNum = 3070;BA.debugLine="End Sub"; -return ""; -} -public String _guardar_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; -float _suma = 0f; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; -int _cbfactura = 0; - //BA.debugLineNum = 2976;BA.debugLine="Sub Guardar_Click"; - //BA.debugLineNum = 2977;BA.debugLine="Guardar.SendToBack"; -_guardar.SendToBack(); - //BA.debugLineNum = 2978;BA.debugLine="bitacora.b_Inicio_Fin_venta2.Text = \"TERMINAR VIS"; -_bitacora._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("TERMINAR VISITA")); - //BA.debugLineNum = 2979;BA.debugLine="bitacora.enVenta = False"; -_bitacora._enventa /*boolean*/ = __c.False; - //BA.debugLineNum = 2980;BA.debugLine="bitacora.inicioFin"; -_bitacora._iniciofin /*String*/ (); - //BA.debugLineNum = 2981;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 2982;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 2983;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 2984;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 2985;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2986;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 2987;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2988;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 2989;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2990;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 2991;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2992;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 2993;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2996;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ"; -_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?",new String[]{"","null",BA.ObjectToString(__c.Null)}))); - //BA.debugLineNum = 2998;BA.debugLine="Private suma As Float = 0"; -_suma = (float) (0); - //BA.debugLineNum = 2999;BA.debugLine="If s3.RowCount > 0 Then"; -if (_s3.getRowCount()>0) { - //BA.debugLineNum = 3000;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO = ? AND PE_RECALCULO = ? AND PE_RECALCULO = ?",new String[]{"","null",BA.ObjectToString(__c.Null)}))); - //BA.debugLineNum = 3001;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 3002;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex"; -_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?",new String[]{"","null",BA.ObjectToString(__c.Null)}))); - //BA.debugLineNum = 3003;BA.debugLine="s5.Position = 0"; -_s5.setPosition((int) (0)); - //BA.debugLineNum = 3004;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\") + s5.GetString("; -_suma = (float) ((double)(Double.parseDouble(_s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))); - //BA.debugLineNum = 3005;BA.debugLine="s.Close"; -_s.Close(); - }else if(_s3.getRowCount()==0) { - //BA.debugLineNum = 3007;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 3008;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 3009;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\")"; -_suma = (float)(Double.parseDouble(_s.GetString("TOTAL_CLIE"))); - //BA.debugLineNum = 3010;BA.debugLine="s.Close"; -_s.Close(); - }; - //BA.debugLineNum = 3013;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 3014;BA.debugLine="Private cbFactura As Int = 0"; -_cbfactura = (int) (0); - //BA.debugLineNum = 3015;BA.debugLine="If CH_FACTURA.Checked Then cbFactura = 1"; -if (_ch_factura.getChecked()) { -_cbfactura = (int) (1);}; - //BA.debugLineNum = 3016;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 3017;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 3018;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_FACTURA,PC_ALMACEN,PC_RUTA) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(__c.NumberFormat2(_suma,(int) (0),(int) (2),(int) (2),__c.False)),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_cbfactura),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))})); - //BA.debugLineNum = 3019;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - }; - //BA.debugLineNum = 3023;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3024;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 3025;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 3026;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 3028;BA.debugLine="Try"; -try { //BA.debugLineNum = 3029;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (sub"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))); - //BA.debugLineNum = 3035;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3036;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; -_stay_hh = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HORAS_TOTALES")))*60*60); - //BA.debugLineNum = 3037;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; -_stay_mi = BA.NumberToString((double)(Double.parseDouble(_c.GetString("MINUTOS_TOTALES")))*60); - //BA.debugLineNum = 3038;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; -_stay_ss = _c.GetString("SEGUNDOS_TOTALES"); - //BA.debugLineNum = 3039;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(_stay_hh))+(double)(Double.parseDouble(_stay_mi))+(double)(Double.parseDouble(_stay_ss)))})); - //BA.debugLineNum = 3040;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 3041;BA.debugLine="c.Close"; -_c.Close(); - } - catch (Exception e55) { - ba.setLastException(e55); //BA.debugLineNum = 3043;BA.debugLine="ToastMessageShow(\".\",True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("."),__c.True); - }; - //BA.debugLineNum = 3045;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 3047;BA.debugLine="Log(BCREDITO)"; -__c.LogImpl("452953159",_bcredito,0); - //BA.debugLineNum = 3061;BA.debugLine="End Sub"; -return ""; -} -public String _guardar_longclick() throws Exception{ - //BA.debugLineNum = 3063;BA.debugLine="Sub Guardar_LongClick"; - //BA.debugLineNum = 3066;BA.debugLine="End Sub"; -return ""; -} -public String _habilitarbotones(boolean _dentroderango) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null; - //BA.debugLineNum = 1481;BA.debugLine="Sub HabilitarBotones(dentroDeRango As Boolean)"; - //BA.debugLineNum = 1482;BA.debugLine="If dentroDeRango Then"; -if (_dentroderango) { - //BA.debugLineNum = 1483;BA.debugLine="If Tels.IsInitialized Then"; -if (_tels.IsInitialized()) { - //BA.debugLineNum = 1484;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 1485;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 1486;BA.debugLine="Tels.Enabled = True"; -_tels.setEnabled(__c.True); - //BA.debugLineNum = 1487;BA.debugLine="gest.Enabled = True"; -_gest.setEnabled(__c.True); - //BA.debugLineNum = 1488;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E"; -_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 1489;BA.debugLine="If future.RowCount > 0 Then"; -if (_future.getRowCount()>0) { - //BA.debugLineNum = 1490;BA.debugLine="future.Position = 0"; -_future.setPosition((int) (0)); - //BA.debugLineNum = 1491;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; -if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 1492;BA.debugLine="b_preventa2.Visible = True"; -_b_preventa2.setVisible(__c.True); - //BA.debugLineNum = 1493;BA.debugLine="b_preventa2.Enabled = True"; -_b_preventa2.setEnabled(__c.True); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 1495;BA.debugLine="b_preventa2.Enabled = False"; -_b_preventa2.setEnabled(__c.False); - //BA.debugLineNum = 1496;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - }; - }; - }; - }else { - //BA.debugLineNum = 1502;BA.debugLine="If Tels.IsInitialized Then"; -if (_tels.IsInitialized()) { - //BA.debugLineNum = 1503;BA.debugLine="b_preventa2.Visible = False"; -_b_preventa2.setVisible(__c.False); - //BA.debugLineNum = 1504;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 1505;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1509;BA.debugLine="End Sub"; -return ""; -} -public String _hist_click() throws Exception{ - //BA.debugLineNum = 3076;BA.debugLine="Sub HIST_Click"; - //BA.debugLineNum = 3077;BA.debugLine="B4XPages.ShowPage(\"historicobat\")"; -_b4xpages._showpage /*String*/ (ba,"historicobat"); - //BA.debugLineNum = 3078;BA.debugLine="End Sub"; -return ""; -} -public String _imageview4_click() throws Exception{ - //BA.debugLineNum = 7695;BA.debugLine="Private Sub ImageView4_Click"; - //BA.debugLineNum = 7696;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 7697;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 7698;BA.debugLine="Subs.centraPanel(p_cam,p_camara.Width)"; -_subs._centrapanel /*String*/ (ba,_p_cam,_p_camara.getWidth()); - //BA.debugLineNum = 7700;BA.debugLine="p_camara.BringToFront"; -_p_camara.BringToFront(); - //BA.debugLineNum = 7701;BA.debugLine="End Sub"; -return ""; -} -public void _impresion() throws Exception{ -ResumableSub_Impresion rsub = new ResumableSub_Impresion(this); -rsub.resume(ba, null); -} -public static class ResumableSub_Impresion extends BA.ResumableSub { -public ResumableSub_Impresion(gunav2.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -gunav2.keymon.com.mx.c_cliente parent; -String _elinefeed = ""; -int _cont = 0; -int _i = 0; -int _e = 0; -int step50; -int limit50; -int step57; -int limit57; -int step71; -int limit71; -int step78; -int limit78; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 4277;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 4278;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 4279;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 4281;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 4282;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 4283;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 4284;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 4289;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; -_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); - //BA.debugLineNum = 4290;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; -parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 4291;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 4292;BA.debugLine="If Not(Printer1.IsConnected) Then"; -if (true) break; - -case 1: //if -this.state = 38; -if (parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { -this.state = 3; -}else { -this.state = 21; +this.state = 31; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 30; }if (true) break; -case 3: -//C -this.state = 4; - //BA.debugLineNum = 4294;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 4295;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 4296;BA.debugLine="Do While Not(impresoraConectada)"; -if (true) break; - -case 4: -//do while -this.state = 19; -while (parent.__c.Not(parent._impresoraconectada)) { -this.state = 6; -if (true) break; -} -if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 4297;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 63; -return; -case 63: -//C -this.state = 7; -; - //BA.debugLineNum = 4298;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 4299;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; -if (true) break; - -case 7: -//if -this.state = 12; -if (_cont==7) { -this.state = 9; -;}if (true) break; - -case 9: -//C -this.state = 12; -parent._printer1._connect /*boolean*/ (); -if (true) break; - -case 12: -//C -this.state = 13; -; - //BA.debugLineNum = 4300;BA.debugLine="If cont > 15 Then impresoraConectada = True"; -if (true) break; - -case 13: -//if -this.state = 18; -if (_cont>15) { -this.state = 15; -;}if (true) break; - -case 15: -//C -this.state = 18; -parent._impresoraconectada = parent.__c.True; -if (true) break; - -case 18: -//C -this.state = 4; -; - if (true) break; - -case 19: -//C -this.state = 38; -; - //BA.debugLineNum = 4302;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 64; -return; -case 64: -//C -this.state = 38; -; - //BA.debugLineNum = 4303;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; - if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 4306;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 4307;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 4308;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; -if (true) break; - -case 22: -//do while -this.state = 37; -while (parent.__c.Not(parent._impresoraconectada) || parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { -this.state = 24; -if (true) break; -} -if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 4309;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 65; -return; -case 65: -//C -this.state = 25; -; - //BA.debugLineNum = 4310;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 4311;BA.debugLine="If cont = 2 Then Printer1.Connect"; -if (true) break; - -case 25: -//if -this.state = 30; -if (_cont==2) { -this.state = 27; -;}if (true) break; - -case 27: -//C -this.state = 30; -parent._printer1._connect /*boolean*/ (); -if (true) break; - case 30: //C this.state = 31; -; - //BA.debugLineNum = 4312;BA.debugLine="If cont > 4 Then impresoraConectada = True"; -if (true) break; +RDebugUtils.currentLine=53739580; + //BA.debugLineNum = 53739580;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 1 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=53739581; + //BA.debugLineNum = 53739581;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_C"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 1 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=53739583; + //BA.debugLineNum = 53739583;BA.debugLine="Impresion4"; +__ref._impresion4 /*void*/ (null); + if (true) break; case 31: -//if -this.state = 36; -if (_cont>4) { -this.state = 33; -;}if (true) break; +//C +this.state = 34; +; + if (true) break; case 33: //C -this.state = 36; -parent._impresoraconectada = parent.__c.True; -if (true) break; +this.state = 34; +RDebugUtils.currentLine=53739586; + //BA.debugLineNum = 53739586;BA.debugLine="Impresion4"; +__ref._impresion4 /*void*/ (null); + if (true) break; + +case 34: +//C +this.state = 37; +; + if (true) break; case 36: //C -this.state = 22; -; +this.state = 37; +RDebugUtils.currentLine=53739591; + //BA.debugLineNum = 53739591;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 1 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=53739592; + //BA.debugLineNum = 53739592;BA.debugLine="Impresion4"; +__ref._impresion4 /*void*/ (null); if (true) break; case 37: //C -this.state = 38; +this.state = 40; ; - //BA.debugLineNum = 4314;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 66; -return; -case 66: -//C -this.state = 38; -; - //BA.debugLineNum = 4315;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; if (true) break; -case 38: -//C -this.state = 39; -; - //BA.debugLineNum = 4318;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 4319;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 4320;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 4337;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; -parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed); - //BA.debugLineNum = 4339;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed); - //BA.debugLineNum = 4340;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._stime+_elinefeed); - //BA.debugLineNum = 4341;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; -parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed); - //BA.debugLineNum = 4342;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; -parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed); - //BA.debugLineNum = 4343;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; -parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed); - //BA.debugLineNum = 4344;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; -parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 4345;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; -parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed); - //BA.debugLineNum = 4347;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; -parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed); - //BA.debugLineNum = 4348;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; -parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed); - //BA.debugLineNum = 4350;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; -parent._printer1._writestring /*String*/ ("-----------PREVENTA-----------"+_elinefeed); - //BA.debugLineNum = 4353;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU > 0.01 GROUP by PE_PROID",new String[]{"DUR"}))); - //BA.debugLineNum = 4354;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; - case 39: -//if -this.state = 50; -if (parent._s.getRowCount()>0) { +//C +this.state = 40; +RDebugUtils.currentLine=53739595; + //BA.debugLineNum = 53739595;BA.debugLine="Impresion4"; +__ref._impresion4 /*void*/ (null); + if (true) break; + +case 40: +//C this.state = 41; -}if (true) break; +; + if (true) break; case 41: //C -this.state = 42; - //BA.debugLineNum = 4355;BA.debugLine="For i=0 To S.RowCount -1"; -if (true) break; +this.state = 44; +; + if (true) break; -case 42: -//for -this.state = 49; -step50 = 1; -limit50 = (int) (parent._s.getRowCount()-1); -_i = (int) (0) ; -this.state = 67; -if (true) break; - -case 67: +case 43: //C -this.state = 49; -if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44; -if (true) break; - -case 68: -//C -this.state = 67; -_i = ((int)(0 + _i + step50)) ; -if (true) break; +this.state = 44; +RDebugUtils.currentLine=53739600; + //BA.debugLineNum = 53739600;BA.debugLine="Impresion"; +__ref._impresion /*void*/ (null); + if (true) break; case 44: //C -this.state = 45; - //BA.debugLineNum = 4356;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 4358;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 4363;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 4364;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 4365;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 4367;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 4369;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 45: -//for -this.state = 48; -step57 = 1; -limit57 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 69; -if (true) break; - -case 69: -//C -this.state = 48; -if ((step57 > 0 && _e <= limit57) || (step57 < 0 && _e >= limit57)) this.state = 47; -if (true) break; - -case 70: -//C -this.state = 69; -_e = ((int)(0 + _e + step57)) ; -if (true) break; - -case 47: -//C -this.state = 70; - //BA.debugLineNum = 4370;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 48: -//C -this.state = 68; -; - //BA.debugLineNum = 4372;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed); - //BA.debugLineNum = 4373;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 4374;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 4375;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; -if (true) break; - -case 49: -//C -this.state = 50; -; - if (true) break; - -case 50: -//C -this.state = 51; -; - //BA.debugLineNum = 4379;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 4380;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4382;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU = 0.01 GROUP by PE_PROID",new String[]{"DUR"}))); - //BA.debugLineNum = 4384;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; - -case 51: -//if -this.state = 62; -if (parent._s.getRowCount()>0) { -this.state = 53; -}if (true) break; - -case 53: -//C -this.state = 54; - //BA.debugLineNum = 4385;BA.debugLine="Printer1.WriteString(\"--------BONIFICACIONES----"; -parent._printer1._writestring /*String*/ ("--------BONIFICACIONES--------"+_elinefeed); - //BA.debugLineNum = 4386;BA.debugLine="For i=0 To S.RowCount -1"; -if (true) break; - -case 54: -//for -this.state = 61; -step71 = 1; -limit71 = (int) (parent._s.getRowCount()-1); -_i = (int) (0) ; -this.state = 71; -if (true) break; - -case 71: -//C -this.state = 61; -if ((step71 > 0 && _i <= limit71) || (step71 < 0 && _i >= limit71)) this.state = 56; -if (true) break; - -case 72: -//C -this.state = 71; -_i = ((int)(0 + _i + step71)) ; -if (true) break; - -case 56: -//C -this.state = 57; - //BA.debugLineNum = 4387;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 4389;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 4394;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 4395;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 4396;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 4398;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 4400;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 57: -//for -this.state = 60; -step78 = 1; -limit78 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 73; -if (true) break; - -case 73: -//C -this.state = 60; -if ((step78 > 0 && _e <= limit78) || (step78 < 0 && _e >= limit78)) this.state = 59; -if (true) break; - -case 74: -//C -this.state = 73; -_e = ((int)(0 + _e + step78)) ; -if (true) break; - -case 59: -//C -this.state = 74; - //BA.debugLineNum = 4401;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 60: -//C -this.state = 72; -; - //BA.debugLineNum = 4403;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed); - //BA.debugLineNum = 4404;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 4405;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 4406;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; -if (true) break; - -case 61: -//C -this.state = 62; -; - //BA.debugLineNum = 4409;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - if (true) break; - -case 62: -//C this.state = -1; ; - //BA.debugLineNum = 4411;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 4443;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 4444;BA.debugLine="s.Position =0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 4448;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & s.Ge"; -parent._printer1._writestring /*String*/ ("Total Preventa: $"+parent._s.GetString("TOTAL")+_elinefeed); - //BA.debugLineNum = 4449;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 4450;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 4451;BA.debugLine="C.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 4452;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; -parent._printer1._writestring /*String*/ ("Total Articulos: "+parent._c.GetString("PC_NOART")+_elinefeed); - //BA.debugLineNum = 4453;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 4455;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4456;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed); - //BA.debugLineNum = 4457;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; -parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed); - //BA.debugLineNum = 4458;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 4459;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; -parent._printer1._writestring /*String*/ ("----ESTE TICKET NO ES UN -----"+_elinefeed); - //BA.debugLineNum = 4460;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; -parent._printer1._writestring /*String*/ ("--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed); - //BA.debugLineNum = 4461;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; -parent._printer1._writestring /*String*/ ("--------INFORMATIVO-----------"+_elinefeed); - //BA.debugLineNum = 4462;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed); - //BA.debugLineNum = 4463;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4465;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 75; -return; -case 75: -//C -this.state = -1; -; - //BA.debugLineNum = 4466;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 4468;BA.debugLine="ProgressDialogHide"; -parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 4471;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53739603; + //BA.debugLineNum = 53739603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=53739604; + //BA.debugLineNum = 53739604;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into TICKET_IMPRESO (idCliente) values ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"')")); +RDebugUtils.currentLine=53739605; + //BA.debugLineNum = 53739605;BA.debugLine="End Sub"; if (true) break; } } } } -public void _impresion2() throws Exception{ -ResumableSub_Impresion2 rsub = new ResumableSub_Impresion2(this); +public void _impresion2(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "impresion2", false)) + {Debug.delegate(ba, "impresion2", null); return;} +ResumableSub_Impresion2 rsub = new ResumableSub_Impresion2(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_Impresion2 extends BA.ResumableSub { -public ResumableSub_Impresion2(gunav2.keymon.com.mx.c_cliente parent) { +public ResumableSub_Impresion2(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; String _elinefeed = ""; int _cont = 0; @@ -12926,6 +10204,7 @@ int limit85; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -12935,33 +10214,44 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 4106;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 4107;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 4108;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 4109;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=54132737; + //BA.debugLineNum = 54132737;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=54132738; + //BA.debugLineNum = 54132738;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54132739; + //BA.debugLineNum = 54132739;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=54132740; + //BA.debugLineNum = 54132740;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 4111;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 4112;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 4113;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 4118;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +RDebugUtils.currentLine=54132742; + //BA.debugLineNum = 54132742;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=54132743; + //BA.debugLineNum = 54132743;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=54132744; + //BA.debugLineNum = 54132744;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54132749; + //BA.debugLineNum = 54132749;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; _elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); - //BA.debugLineNum = 4119;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +RDebugUtils.currentLine=54132750; + //BA.debugLineNum = 54132750;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 4120;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 4121;BA.debugLine="If Not(Printer1.IsConnected) Then"; +RDebugUtils.currentLine=54132751; + //BA.debugLineNum = 54132751;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=54132752; + //BA.debugLineNum = 54132752;BA.debugLine="If Not(Printer1.IsConnected) Then"; if (true) break; case 1: //if this.state = 38; -if (parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { this.state = 3; }else { this.state = 21; @@ -12970,17 +10260,20 @@ this.state = 21; case 3: //C this.state = 4; - //BA.debugLineNum = 4123;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 4124;BA.debugLine="Private cont As Int = 0"; +RDebugUtils.currentLine=54132754; + //BA.debugLineNum = 54132754;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=54132755; + //BA.debugLineNum = 54132755;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 4125;BA.debugLine="Do While Not(impresoraConectada)"; +RDebugUtils.currentLine=54132756; + //BA.debugLineNum = 54132756;BA.debugLine="Do While Not(impresoraConectada)"; if (true) break; case 4: //do while this.state = 19; -while (parent.__c.Not(parent._impresoraconectada)) { +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) { this.state = 6; if (true) break; } @@ -12989,17 +10282,20 @@ if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 4126;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=54132757; + //BA.debugLineNum = 54132757;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (1000)); this.state = 75; return; case 75: //C this.state = 7; ; - //BA.debugLineNum = 4127;BA.debugLine="cont = cont + 1"; +RDebugUtils.currentLine=54132758; + //BA.debugLineNum = 54132758;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 4128;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +RDebugUtils.currentLine=54132759; + //BA.debugLineNum = 54132759;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; if (true) break; case 7: @@ -13012,14 +10308,15 @@ this.state = 9; case 9: //C this.state = 12; -parent._printer1._connect /*boolean*/ (); +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); if (true) break; case 12: //C this.state = 13; ; - //BA.debugLineNum = 4129;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +RDebugUtils.currentLine=54132760; + //BA.debugLineNum = 54132760;BA.debugLine="If cont > 15 Then impresoraConectada = True"; if (true) break; case 13: @@ -13032,7 +10329,7 @@ this.state = 15; case 15: //C this.state = 18; -parent._impresoraconectada = parent.__c.True; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; if (true) break; case 18: @@ -13045,32 +10342,37 @@ case 19: //C this.state = 38; ; - //BA.debugLineNum = 4131;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); +RDebugUtils.currentLine=54132762; + //BA.debugLineNum = 54132762;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (500)); this.state = 76; return; case 76: //C this.state = 38; ; - //BA.debugLineNum = 4132;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; +RDebugUtils.currentLine=54132763; + //BA.debugLineNum = 54132763;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; if (true) break; case 21: //C this.state = 22; - //BA.debugLineNum = 4135;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 4136;BA.debugLine="Private cont As Int = 0"; +RDebugUtils.currentLine=54132766; + //BA.debugLineNum = 54132766;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=54132767; + //BA.debugLineNum = 54132767;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 4137;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +RDebugUtils.currentLine=54132768; + //BA.debugLineNum = 54132768;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; if (true) break; case 22: //do while this.state = 37; -while (parent.__c.Not(parent._impresoraconectada) || parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { this.state = 24; if (true) break; } @@ -13079,17 +10381,20 @@ if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 4138;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=54132769; + //BA.debugLineNum = 54132769;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (1000)); this.state = 77; return; case 77: //C this.state = 25; ; - //BA.debugLineNum = 4139;BA.debugLine="cont = cont + 1"; +RDebugUtils.currentLine=54132770; + //BA.debugLineNum = 54132770;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 4140;BA.debugLine="If cont = 2 Then Printer1.Connect"; +RDebugUtils.currentLine=54132771; + //BA.debugLineNum = 54132771;BA.debugLine="If cont = 2 Then Printer1.Connect"; if (true) break; case 25: @@ -13102,14 +10407,15 @@ this.state = 27; case 27: //C this.state = 30; -parent._printer1._connect /*boolean*/ (); +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); if (true) break; case 30: //C this.state = 31; ; - //BA.debugLineNum = 4141;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +RDebugUtils.currentLine=54132772; + //BA.debugLineNum = 54132772;BA.debugLine="If cont > 4 Then impresoraConectada = True"; if (true) break; case 31: @@ -13122,7 +10428,7 @@ this.state = 33; case 33: //C this.state = 36; -parent._impresoraconectada = parent.__c.True; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; if (true) break; case 36: @@ -13135,73 +10441,92 @@ case 37: //C this.state = 38; ; - //BA.debugLineNum = 4143;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); +RDebugUtils.currentLine=54132774; + //BA.debugLineNum = 54132774;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (500)); this.state = 78; return; case 78: //C this.state = 38; ; - //BA.debugLineNum = 4144;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; +RDebugUtils.currentLine=54132775; + //BA.debugLineNum = 54132775;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; if (true) break; case 38: //C this.state = 39; ; - //BA.debugLineNum = 4147;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 4148;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 4149;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 4166;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; -parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed); - //BA.debugLineNum = 4168;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed); - //BA.debugLineNum = 4169;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._stime+_elinefeed); - //BA.debugLineNum = 4170;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; -parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed); - //BA.debugLineNum = 4171;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; -parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed); - //BA.debugLineNum = 4172;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; -parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed); - //BA.debugLineNum = 4173;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; -parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 4174;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; -parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed); - //BA.debugLineNum = 4176;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; -parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed); - //BA.debugLineNum = 4177;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; -parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed); - //BA.debugLineNum = 4179;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; -parent._printer1._writestring /*String*/ ("-----------PREVENTA-----------"+_elinefeed); - //BA.debugLineNum = 4181;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"DUR"}))); - //BA.debugLineNum = 4182;BA.debugLine="If S.RowCount>0 Then"; +RDebugUtils.currentLine=54132778; + //BA.debugLineNum = 54132778;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54132779; + //BA.debugLineNum = 54132779;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54132780; + //BA.debugLineNum = 54132780;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=54132797; + //BA.debugLineNum = 54132797;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed); +RDebugUtils.currentLine=54132799; + //BA.debugLineNum = 54132799;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=54132800; + //BA.debugLineNum = 54132800;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed); +RDebugUtils.currentLine=54132801; + //BA.debugLineNum = 54132801;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed); +RDebugUtils.currentLine=54132802; + //BA.debugLineNum = 54132802;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54132803; + //BA.debugLineNum = 54132803;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54132804; + //BA.debugLineNum = 54132804;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54132805; + //BA.debugLineNum = 54132805;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54132807; + //BA.debugLineNum = 54132807;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54132808; + //BA.debugLineNum = 54132808;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54132810; + //BA.debugLineNum = 54132810;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-----------PREVENTA-----------"+_elinefeed); +RDebugUtils.currentLine=54132812; + //BA.debugLineNum = 54132812;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"DUR"}))); +RDebugUtils.currentLine=54132813; + //BA.debugLineNum = 54132813;BA.debugLine="If S.RowCount>0 Then"; if (true) break; case 39: //if this.state = 56; -if (parent._s.getRowCount()>0) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 41; }if (true) break; case 41: //C this.state = 42; - //BA.debugLineNum = 4183;BA.debugLine="For i=0 To S.RowCount -1"; +RDebugUtils.currentLine=54132814; + //BA.debugLineNum = 54132814;BA.debugLine="For i=0 To S.RowCount -1"; if (true) break; case 42: //for this.state = 55; step50 = 1; -limit50 = (int) (parent._s.getRowCount()-1); +limit50 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 79; if (true) break; @@ -13221,15 +10546,17 @@ if (true) break; case 44: //C this.state = 45; - //BA.debugLineNum = 4184;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 4185;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +RDebugUtils.currentLine=54132815; + //BA.debugLineNum = 54132815;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=54132816; + //BA.debugLineNum = 54132816;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; if (true) break; case 45: //if this.state = 54; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { this.state = 47; }else { this.state = 49; @@ -13238,31 +10565,38 @@ this.state = 49; case 47: //C this.state = 54; - //BA.debugLineNum = 4186;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54132817; + //BA.debugLineNum = 54132817;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); if (true) break; case 49: //C this.state = 50; - //BA.debugLineNum = 4190;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 4191;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 4192;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 4193;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 4195;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 4197;BA.debugLine="For E=0 To ESPACIO -1"; +RDebugUtils.currentLine=54132821; + //BA.debugLineNum = 54132821;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54132822; + //BA.debugLineNum = 54132822;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54132823; + //BA.debugLineNum = 54132823;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54132824; + //BA.debugLineNum = 54132824;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54132826; + //BA.debugLineNum = 54132826;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54132828; + //BA.debugLineNum = 54132828;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; case 50: //for this.state = 53; step60 = 1; -limit60 = (int) (parent._espacio-1); +limit60 = (int) (__ref._espacio /*int*/ -1); _e = (int) (0) ; this.state = 81; if (true) break; @@ -13282,8 +10616,9 @@ if (true) break; case 52: //C this.state = 82; - //BA.debugLineNum = 4198;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; +RDebugUtils.currentLine=54132829; + //BA.debugLineNum = 54132829;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; if (true) break; @@ -13291,14 +10626,18 @@ case 53: //C this.state = 54; ; - //BA.debugLineNum = 4200;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed); - //BA.debugLineNum = 4201;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 4202;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 4203;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; +RDebugUtils.currentLine=54132831; + //BA.debugLineNum = 54132831;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed); +RDebugUtils.currentLine=54132832; + //BA.debugLineNum = 54132832;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54132833; + //BA.debugLineNum = 54132833;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54132834; + //BA.debugLineNum = 54132834;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; if (true) break; case 54: @@ -13318,35 +10657,41 @@ case 56: //C this.state = 57; ; - //BA.debugLineNum = 4207;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 4208;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4209;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU"))); - //BA.debugLineNum = 4210;BA.debugLine="If S.RowCount>0 Then"; +RDebugUtils.currentLine=54132838; + //BA.debugLineNum = 54132838;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54132839; + //BA.debugLineNum = 54132839;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54132840; + //BA.debugLineNum = 54132840;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU"))); +RDebugUtils.currentLine=54132841; + //BA.debugLineNum = 54132841;BA.debugLine="If S.RowCount>0 Then"; if (true) break; case 57: //if this.state = 74; -if (parent._s.getRowCount()>0) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 59; }if (true) break; case 59: //C this.state = 60; - //BA.debugLineNum = 4211;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------"; -parent._printer1._writestring /*String*/ ("------------PROMOS------------"+_elinefeed); - //BA.debugLineNum = 4212;BA.debugLine="For i=0 To S.RowCount -1"; +RDebugUtils.currentLine=54132842; + //BA.debugLineNum = 54132842;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------PROMOS------------"+_elinefeed); +RDebugUtils.currentLine=54132843; + //BA.debugLineNum = 54132843;BA.debugLine="For i=0 To S.RowCount -1"; if (true) break; case 60: //for this.state = 73; step75 = 1; -limit75 = (int) (parent._s.getRowCount()-1); +limit75 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 83; if (true) break; @@ -13366,15 +10711,17 @@ if (true) break; case 62: //C this.state = 63; - //BA.debugLineNum = 4213;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 4214;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +RDebugUtils.currentLine=54132844; + //BA.debugLineNum = 54132844;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=54132845; + //BA.debugLineNum = 54132845;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; if (true) break; case 63: //if this.state = 72; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { this.state = 65; }else { this.state = 67; @@ -13383,31 +10730,38 @@ this.state = 67; case 65: //C this.state = 72; - //BA.debugLineNum = 4215;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54132846; + //BA.debugLineNum = 54132846;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); if (true) break; case 67: //C this.state = 68; - //BA.debugLineNum = 4219;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 4220;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 4221;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 4222;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 4224;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 4226;BA.debugLine="For E=0 To ESPACIO -1"; +RDebugUtils.currentLine=54132850; + //BA.debugLineNum = 54132850;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54132851; + //BA.debugLineNum = 54132851;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54132852; + //BA.debugLineNum = 54132852;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54132853; + //BA.debugLineNum = 54132853;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54132855; + //BA.debugLineNum = 54132855;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54132857; + //BA.debugLineNum = 54132857;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; case 68: //for this.state = 71; step85 = 1; -limit85 = (int) (parent._espacio-1); +limit85 = (int) (__ref._espacio /*int*/ -1); _e = (int) (0) ; this.state = 85; if (true) break; @@ -13427,8 +10781,9 @@ if (true) break; case 70: //C this.state = 86; - //BA.debugLineNum = 4227;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; +RDebugUtils.currentLine=54132858; + //BA.debugLineNum = 54132858;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; if (true) break; @@ -13436,14 +10791,18 @@ case 71: //C this.state = 72; ; - //BA.debugLineNum = 4229;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed); - //BA.debugLineNum = 4230;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 4231;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 4232;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; +RDebugUtils.currentLine=54132860; + //BA.debugLineNum = 54132860;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed); +RDebugUtils.currentLine=54132861; + //BA.debugLineNum = 54132861;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54132862; + //BA.debugLineNum = 54132862;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54132863; + //BA.debugLineNum = 54132863;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; if (true) break; case 72: @@ -13457,110 +10816,135 @@ case 73: //C this.state = 74; ; - //BA.debugLineNum = 4235;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); +RDebugUtils.currentLine=54132866; + //BA.debugLineNum = 54132866;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); if (true) break; case 74: //C this.state = -1; ; - //BA.debugLineNum = 4237;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 4239;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 4240;BA.debugLine="s.Position =0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 4244;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s"; -parent._printer1._writestring /*String*/ ("Subtotal Preventa: $"+parent._s.GetString("TOTAL")+_elinefeed); - //BA.debugLineNum = 4245;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 4246;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 4247;BA.debugLine="C.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 4248;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; -parent._printer1._writestring /*String*/ ("Total Articulos: "+parent._c.GetString("PC_NOART")+_elinefeed); - //BA.debugLineNum = 4249;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 4250;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 4251;BA.debugLine="s.Position =0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 4255;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & 150 & eL"; -parent._printer1._writestring /*String*/ ("Descuento: $"+BA.NumberToString(150)+_elinefeed); - //BA.debugLineNum = 4256;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & (s.G"; -parent._printer1._writestring /*String*/ ("Total Preventa: $"+BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("TOTAL")))-150))+_elinefeed); - //BA.debugLineNum = 4258;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4259;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed); - //BA.debugLineNum = 4260;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; -parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed); - //BA.debugLineNum = 4261;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 4262;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; -parent._printer1._writestring /*String*/ ("----ESTE TICKET NO ES UN -----"+_elinefeed); - //BA.debugLineNum = 4263;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; -parent._printer1._writestring /*String*/ ("--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed); - //BA.debugLineNum = 4264;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; -parent._printer1._writestring /*String*/ ("--------INFORMATIVO-----------"+_elinefeed); - //BA.debugLineNum = 4265;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed); - //BA.debugLineNum = 4266;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4268;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=54132868; + //BA.debugLineNum = 54132868;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54132870; + //BA.debugLineNum = 54132870;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=54132871; + //BA.debugLineNum = 54132871;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54132875; + //BA.debugLineNum = 54132875;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal Preventa: $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")+_elinefeed); +RDebugUtils.currentLine=54132876; + //BA.debugLineNum = 54132876;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54132877; + //BA.debugLineNum = 54132877;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); +RDebugUtils.currentLine=54132878; + //BA.debugLineNum = 54132878;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54132879; + //BA.debugLineNum = 54132879;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Articulos: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+_elinefeed); +RDebugUtils.currentLine=54132880; + //BA.debugLineNum = 54132880;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54132881; + //BA.debugLineNum = 54132881;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=54132882; + //BA.debugLineNum = 54132882;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54132886; + //BA.debugLineNum = 54132886;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & 150 & eL"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Descuento: $"+BA.NumberToString(150)+_elinefeed); +RDebugUtils.currentLine=54132887; + //BA.debugLineNum = 54132887;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & (s.G"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa: $"+BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-150))+_elinefeed); +RDebugUtils.currentLine=54132889; + //BA.debugLineNum = 54132889;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54132890; + //BA.debugLineNum = 54132890;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=54132891; + //BA.debugLineNum = 54132891;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed); +RDebugUtils.currentLine=54132892; + //BA.debugLineNum = 54132892;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54132893; + //BA.debugLineNum = 54132893;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+_elinefeed); +RDebugUtils.currentLine=54132894; + //BA.debugLineNum = 54132894;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed); +RDebugUtils.currentLine=54132895; + //BA.debugLineNum = 54132895;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+_elinefeed); +RDebugUtils.currentLine=54132896; + //BA.debugLineNum = 54132896;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=54132897; + //BA.debugLineNum = 54132897;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54132899; + //BA.debugLineNum = 54132899;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion2"),(int) (1000)); this.state = 87; return; case 87: //C this.state = -1; ; - //BA.debugLineNum = 4269;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 4271;BA.debugLine="ProgressDialogHide"; +RDebugUtils.currentLine=54132900; + //BA.debugLineNum = 54132900;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=54132902; + //BA.debugLineNum = 54132902;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 4274;BA.debugLine="End Sub"; +RDebugUtils.currentLine=54132905; + //BA.debugLineNum = 54132905;BA.debugLine="End Sub"; if (true) break; } } } } -public void _impresion3() throws Exception{ -ResumableSub_Impresion3 rsub = new ResumableSub_Impresion3(this); +public void _impresion(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "impresion", false)) + {Debug.delegate(ba, "impresion", null); return;} +ResumableSub_Impresion rsub = new ResumableSub_Impresion(this,__ref); rsub.resume(ba, null); } -public static class ResumableSub_Impresion3 extends BA.ResumableSub { -public ResumableSub_Impresion3(gunav2.keymon.com.mx.c_cliente parent) { +public static class ResumableSub_Impresion extends BA.ResumableSub { +public ResumableSub_Impresion(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; String _elinefeed = ""; int _cont = 0; int _i = 0; int _e = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null; -String _subtot = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; int step50; int limit50; -int step61; -int limit61; -int step74; -int limit74; -int step93; -int limit93; -int step105; -int limit105; -int step122; -int limit122; -int step132; -int limit132; +int step57; +int limit57; +int step71; +int limit71; +int step78; +int limit78; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -13570,33 +10954,44 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 3865;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 3866;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 3867;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 3869;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=54198273; + //BA.debugLineNum = 54198273;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=54198274; + //BA.debugLineNum = 54198274;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54198275; + //BA.debugLineNum = 54198275;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=54198277; + //BA.debugLineNum = 54198277;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 3870;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3871;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3872;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 3877;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +RDebugUtils.currentLine=54198278; + //BA.debugLineNum = 54198278;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=54198279; + //BA.debugLineNum = 54198279;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=54198280; + //BA.debugLineNum = 54198280;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54198285; + //BA.debugLineNum = 54198285;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; _elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); - //BA.debugLineNum = 3878;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +RDebugUtils.currentLine=54198286; + //BA.debugLineNum = 54198286;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 3879;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3880;BA.debugLine="If Not(Printer1.IsConnected) Then"; +RDebugUtils.currentLine=54198287; + //BA.debugLineNum = 54198287;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=54198288; + //BA.debugLineNum = 54198288;BA.debugLine="If Not(Printer1.IsConnected) Then"; if (true) break; case 1: //if this.state = 38; -if (parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { this.state = 3; }else { this.state = 21; @@ -13605,17 +11000,20 @@ this.state = 21; case 3: //C this.state = 4; - //BA.debugLineNum = 3882;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3883;BA.debugLine="Private cont As Int = 0"; +RDebugUtils.currentLine=54198290; + //BA.debugLineNum = 54198290;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=54198291; + //BA.debugLineNum = 54198291;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 3884;BA.debugLine="Do While Not(impresoraConectada)"; +RDebugUtils.currentLine=54198292; + //BA.debugLineNum = 54198292;BA.debugLine="Do While Not(impresoraConectada)"; if (true) break; case 4: //do while this.state = 19; -while (parent.__c.Not(parent._impresoraconectada)) { +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) { this.state = 6; if (true) break; } @@ -13624,17 +11022,20 @@ if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 3885;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 99; +RDebugUtils.currentLine=54198293; + //BA.debugLineNum = 54198293;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (1000)); +this.state = 63; return; -case 99: +case 63: //C this.state = 7; ; - //BA.debugLineNum = 3886;BA.debugLine="cont = cont + 1"; +RDebugUtils.currentLine=54198294; + //BA.debugLineNum = 54198294;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 3887;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +RDebugUtils.currentLine=54198295; + //BA.debugLineNum = 54198295;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; if (true) break; case 7: @@ -13647,14 +11048,15 @@ this.state = 9; case 9: //C this.state = 12; -parent._printer1._connect /*boolean*/ (); +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); if (true) break; case 12: //C this.state = 13; ; - //BA.debugLineNum = 3888;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +RDebugUtils.currentLine=54198296; + //BA.debugLineNum = 54198296;BA.debugLine="If cont > 15 Then impresoraConectada = True"; if (true) break; case 13: @@ -13667,7 +11069,7 @@ this.state = 15; case 15: //C this.state = 18; -parent._impresoraconectada = parent.__c.True; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; if (true) break; case 18: @@ -13680,32 +11082,37 @@ case 19: //C this.state = 38; ; - //BA.debugLineNum = 3890;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 100; +RDebugUtils.currentLine=54198298; + //BA.debugLineNum = 54198298;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (500)); +this.state = 64; return; -case 100: +case 64: //C this.state = 38; ; - //BA.debugLineNum = 3891;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; +RDebugUtils.currentLine=54198299; + //BA.debugLineNum = 54198299;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; if (true) break; case 21: //C this.state = 22; - //BA.debugLineNum = 3894;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3895;BA.debugLine="Private cont As Int = 0"; +RDebugUtils.currentLine=54198302; + //BA.debugLineNum = 54198302;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=54198303; + //BA.debugLineNum = 54198303;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 3896;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +RDebugUtils.currentLine=54198304; + //BA.debugLineNum = 54198304;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; if (true) break; case 22: //do while this.state = 37; -while (parent.__c.Not(parent._impresoraconectada) || parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { this.state = 24; if (true) break; } @@ -13714,17 +11121,20 @@ if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 3897;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 101; +RDebugUtils.currentLine=54198305; + //BA.debugLineNum = 54198305;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (1000)); +this.state = 65; return; -case 101: +case 65: //C this.state = 25; ; - //BA.debugLineNum = 3898;BA.debugLine="cont = cont + 1"; +RDebugUtils.currentLine=54198306; + //BA.debugLineNum = 54198306;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 3899;BA.debugLine="If cont = 2 Then Printer1.Connect"; +RDebugUtils.currentLine=54198307; + //BA.debugLineNum = 54198307;BA.debugLine="If cont = 2 Then Printer1.Connect"; if (true) break; case 25: @@ -13737,14 +11147,15 @@ this.state = 27; case 27: //C this.state = 30; -parent._printer1._connect /*boolean*/ (); +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); if (true) break; case 30: //C this.state = 31; ; - //BA.debugLineNum = 3900;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +RDebugUtils.currentLine=54198308; + //BA.debugLineNum = 54198308;BA.debugLine="If cont > 4 Then impresoraConectada = True"; if (true) break; case 31: @@ -13757,7 +11168,7 @@ this.state = 33; case 33: //C this.state = 36; -parent._impresoraconectada = parent.__c.True; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; if (true) break; case 36: @@ -13770,640 +11181,421 @@ case 37: //C this.state = 38; ; - //BA.debugLineNum = 3902;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 102; +RDebugUtils.currentLine=54198310; + //BA.debugLineNum = 54198310;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (500)); +this.state = 66; return; -case 102: +case 66: //C this.state = 38; ; - //BA.debugLineNum = 3903;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; +RDebugUtils.currentLine=54198311; + //BA.debugLineNum = 54198311;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; if (true) break; case 38: //C this.state = 39; ; - //BA.debugLineNum = 3906;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3907;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3908;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 3925;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; -parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed); - //BA.debugLineNum = 3927;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed); - //BA.debugLineNum = 3928;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._stime+_elinefeed); - //BA.debugLineNum = 3929;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; -parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed); - //BA.debugLineNum = 3930;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; -parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed); - //BA.debugLineNum = 3931;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; -parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed); - //BA.debugLineNum = 3932;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; -parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 3933;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; -parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed); - //BA.debugLineNum = 3935;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; -parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed); - //BA.debugLineNum = 3936;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; -parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed); - //BA.debugLineNum = 3938;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; -parent._printer1._writestring /*String*/ ("-----------PREVENTA-----------"+_elinefeed); - //BA.debugLineNum = 3940;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)}))); - //BA.debugLineNum = 3941;BA.debugLine="If S.RowCount>0 Then"; +RDebugUtils.currentLine=54198314; + //BA.debugLineNum = 54198314;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54198315; + //BA.debugLineNum = 54198315;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54198316; + //BA.debugLineNum = 54198316;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=54198333; + //BA.debugLineNum = 54198333;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed); +RDebugUtils.currentLine=54198335; + //BA.debugLineNum = 54198335;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=54198336; + //BA.debugLineNum = 54198336;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed); +RDebugUtils.currentLine=54198337; + //BA.debugLineNum = 54198337;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed); +RDebugUtils.currentLine=54198338; + //BA.debugLineNum = 54198338;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54198339; + //BA.debugLineNum = 54198339;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54198340; + //BA.debugLineNum = 54198340;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54198341; + //BA.debugLineNum = 54198341;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54198343; + //BA.debugLineNum = 54198343;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54198344; + //BA.debugLineNum = 54198344;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54198346; + //BA.debugLineNum = 54198346;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-----------PREVENTA-----------"+_elinefeed); +RDebugUtils.currentLine=54198349; + //BA.debugLineNum = 54198349;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU > 0.01 GROUP by PE_PROID",new String[]{"DUR"}))); +RDebugUtils.currentLine=54198350; + //BA.debugLineNum = 54198350;BA.debugLine="If S.RowCount>0 Then"; if (true) break; case 39: //if -this.state = 76; -if (parent._s.getRowCount()>0) { +this.state = 50; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 41; }if (true) break; case 41: //C this.state = 42; - //BA.debugLineNum = 3942;BA.debugLine="For i=0 To S.RowCount -1"; +RDebugUtils.currentLine=54198351; + //BA.debugLineNum = 54198351;BA.debugLine="For i=0 To S.RowCount -1"; if (true) break; case 42: //for -this.state = 75; +this.state = 49; step50 = 1; -limit50 = (int) (parent._s.getRowCount()-1); +limit50 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; -this.state = 103; +this.state = 67; if (true) break; -case 103: +case 67: //C -this.state = 75; +this.state = 49; if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44; if (true) break; -case 104: +case 68: //C -this.state = 103; +this.state = 67; _i = ((int)(0 + _i + step50)) ; if (true) break; case 44: //C this.state = 45; - //BA.debugLineNum = 3943;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 3944;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +RDebugUtils.currentLine=54198352; + //BA.debugLineNum = 54198352;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=54198354; + //BA.debugLineNum = 54198354;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54198359; + //BA.debugLineNum = 54198359;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54198360; + //BA.debugLineNum = 54198360;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54198361; + //BA.debugLineNum = 54198361;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54198363; + //BA.debugLineNum = 54198363;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54198365; + //BA.debugLineNum = 54198365;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; case 45: -//if -this.state = 74; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { -this.state = 47; -}else { -this.state = 49; -}if (true) break; +//for +this.state = 48; +step57 = 1; +limit57 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 69; +if (true) break; + +case 69: +//C +this.state = 48; +if ((step57 > 0 && _e <= limit57) || (step57 < 0 && _e >= limit57)) this.state = 47; +if (true) break; + +case 70: +//C +this.state = 69; +_e = ((int)(0 + _e + step57)) ; +if (true) break; case 47: //C -this.state = 74; - //BA.debugLineNum = 3945;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed); +this.state = 70; +RDebugUtils.currentLine=54198366; + //BA.debugLineNum = 54198366;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; +if (true) break; + +case 48: +//C +this.state = 68; +; +RDebugUtils.currentLine=54198368; + //BA.debugLineNum = 54198368;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed); +RDebugUtils.currentLine=54198369; + //BA.debugLineNum = 54198369;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54198370; + //BA.debugLineNum = 54198370;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54198371; + //BA.debugLineNum = 54198371;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; +if (true) break; case 49: //C this.state = 50; - //BA.debugLineNum = 3947;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; -if (true) break; +; + if (true) break; case 50: +//C +this.state = 51; +; +RDebugUtils.currentLine=54198375; + //BA.debugLineNum = 54198375;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54198376; + //BA.debugLineNum = 54198376;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54198378; + //BA.debugLineNum = 54198378;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU = 0.01 GROUP by PE_PROID",new String[]{"DUR"}))); +RDebugUtils.currentLine=54198380; + //BA.debugLineNum = 54198380;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 51: //if -this.state = 73; -if (parent._s.GetInt("PE_RECALCULO")==0) { -this.state = 52; -}else if(parent._s.GetInt("PE_CANT")==parent._s.GetInt("PE_RECCANT")) { -this.state = 58; -}else if(parent._s.GetInt("PE_CANT")!=parent._s.GetInt("PE_RECCANT")) { -this.state = 64; +this.state = 62; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 53; }if (true) break; -case 52: -//C -this.state = 53; - //BA.debugLineNum = 3948;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3949;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3950;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 3951;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 3953;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3955;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - case 53: +//C +this.state = 54; +RDebugUtils.currentLine=54198381; + //BA.debugLineNum = 54198381;BA.debugLine="Printer1.WriteString(\"--------BONIFICACIONES----"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------BONIFICACIONES--------"+_elinefeed); +RDebugUtils.currentLine=54198382; + //BA.debugLineNum = 54198382;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 54: //for -this.state = 56; -step61 = 1; -limit61 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 105; -if (true) break; - -case 105: -//C -this.state = 56; -if ((step61 > 0 && _e <= limit61) || (step61 < 0 && _e >= limit61)) this.state = 55; -if (true) break; - -case 106: -//C -this.state = 105; -_e = ((int)(0 + _e + step61)) ; -if (true) break; - -case 55: -//C -this.state = 106; - //BA.debugLineNum = 3956;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 56: -//C -this.state = 73; -; - //BA.debugLineNum = 3958;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed); - //BA.debugLineNum = 3959;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3960;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3961;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; - -case 58: -//C -this.state = 59; - //BA.debugLineNum = 3963;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3964;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3965;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 3966;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano); - //BA.debugLineNum = 3968;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3970;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 59: -//for -this.state = 62; -step74 = 1; -limit74 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 107; -if (true) break; - -case 107: -//C -this.state = 62; -if ((step74 > 0 && _e <= limit74) || (step74 < 0 && _e >= limit74)) this.state = 61; -if (true) break; - -case 108: -//C -this.state = 107; -_e = ((int)(0 + _e + step74)) ; -if (true) break; - -case 61: -//C -this.state = 108; - //BA.debugLineNum = 3971;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 62: -//C -this.state = 73; -; - //BA.debugLineNum = 3974;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; -_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); - //BA.debugLineNum = 3975;BA.debugLine="descpro.Position = 0"; -_descpro.setPosition((int) (0)); - //BA.debugLineNum = 3977;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent._s.GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed); - //BA.debugLineNum = 3979;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; -parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); - //BA.debugLineNum = 3980;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3981;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3982;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; - -case 64: -//C -this.state = 65; - //BA.debugLineNum = 3984;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; -parent.__c.LogImpl("454001784",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0); - //BA.debugLineNum = 3985;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; -parent.__c.LogImpl("454001785",BA.NumberToString(parent._s.GetInt("PE_CANT")),0); - //BA.debugLineNum = 3986;BA.debugLine="Log(\"aqui\")"; -parent.__c.LogImpl("454001786","aqui",0); - //BA.debugLineNum = 3987;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_RECCANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3988;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3989;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 3990;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano); - //BA.debugLineNum = 3992;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3994;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 65: -//for -this.state = 68; -step93 = 1; -limit93 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 109; -if (true) break; - -case 109: -//C -this.state = 68; -if ((step93 > 0 && _e <= limit93) || (step93 < 0 && _e >= limit93)) this.state = 67; -if (true) break; - -case 110: -//C -this.state = 109; -_e = ((int)(0 + _e + step93)) ; -if (true) break; - -case 67: -//C -this.state = 110; - //BA.debugLineNum = 3995;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 68: -//C -this.state = 69; -; - //BA.debugLineNum = 3999;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; -_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); - //BA.debugLineNum = 4000;BA.debugLine="descpro.Position = 0"; -_descpro.setPosition((int) (0)); - //BA.debugLineNum = 4002;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_RECCANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(parent._s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); - //BA.debugLineNum = 4003;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; -parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); - //BA.debugLineNum = 4005;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; -_subtot = BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU")))); - //BA.debugLineNum = 4006;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 4007;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 4008;BA.debugLine="TAMANO = subTot + TAMANO"; -parent._tamano = (int) ((double)(Double.parseDouble(_subtot))+parent._tamano); - //BA.debugLineNum = 4010;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 4012;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 69: -//for -this.state = 72; -step105 = 1; -limit105 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 111; -if (true) break; - -case 111: -//C -this.state = 72; -if ((step105 > 0 && _e <= limit105) || (step105 < 0 && _e >= limit105)) this.state = 71; -if (true) break; - -case 112: -//C -this.state = 111; -_e = ((int)(0 + _e + step105)) ; +this.state = 61; +step71 = 1; +limit71 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 71; if (true) break; case 71: //C -this.state = 112; - //BA.debugLineNum = 4013;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; +this.state = 61; +if ((step71 > 0 && _i <= limit71) || (step71 < 0 && _i >= limit71)) this.state = 56; if (true) break; case 72: //C +this.state = 71; +_i = ((int)(0 + _i + step71)) ; +if (true) break; + +case 56: +//C +this.state = 57; +RDebugUtils.currentLine=54198383; + //BA.debugLineNum = 54198383;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=54198385; + //BA.debugLineNum = 54198385;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54198390; + //BA.debugLineNum = 54198390;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54198391; + //BA.debugLineNum = 54198391;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54198392; + //BA.debugLineNum = 54198392;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54198394; + //BA.debugLineNum = 54198394;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54198396; + //BA.debugLineNum = 54198396;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 57: +//for +this.state = 60; +step78 = 1; +limit78 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; this.state = 73; -; - //BA.debugLineNum = 4016;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; -parent._printer1._writestring /*String*/ (BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 4017;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; -parent._printer1._writestring /*String*/ (parent._blanco+BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); - //BA.debugLineNum = 4020;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 4021;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 4022;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; +if (true) break; case 73: //C -this.state = 74; -; - if (true) break; +this.state = 60; +if ((step78 > 0 && _e <= limit78) || (step78 < 0 && _e >= limit78)) this.state = 59; +if (true) break; case 74: //C -this.state = 104; -; +this.state = 73; +_e = ((int)(0 + _e + step78)) ; +if (true) break; + +case 59: +//C +this.state = 74; +RDebugUtils.currentLine=54198397; + //BA.debugLineNum = 54198397;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; if (true) break; +case 60: +//C +this.state = 72; +; +RDebugUtils.currentLine=54198399; + //BA.debugLineNum = 54198399;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed); +RDebugUtils.currentLine=54198400; + //BA.debugLineNum = 54198400;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54198401; + //BA.debugLineNum = 54198401;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54198402; + //BA.debugLineNum = 54198402;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; +if (true) break; + +case 61: +//C +this.state = 62; +; +RDebugUtils.currentLine=54198405; + //BA.debugLineNum = 54198405;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); + if (true) break; + +case 62: +//C +this.state = -1; +; +RDebugUtils.currentLine=54198407; + //BA.debugLineNum = 54198407;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54198439; + //BA.debugLineNum = 54198439;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=54198440; + //BA.debugLineNum = 54198440;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54198444; + //BA.debugLineNum = 54198444;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & s.Ge"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa: $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")+_elinefeed); +RDebugUtils.currentLine=54198445; + //BA.debugLineNum = 54198445;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54198446; + //BA.debugLineNum = 54198446;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); +RDebugUtils.currentLine=54198447; + //BA.debugLineNum = 54198447;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54198448; + //BA.debugLineNum = 54198448;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Articulos: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+_elinefeed); +RDebugUtils.currentLine=54198449; + //BA.debugLineNum = 54198449;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54198451; + //BA.debugLineNum = 54198451;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54198452; + //BA.debugLineNum = 54198452;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=54198453; + //BA.debugLineNum = 54198453;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed); +RDebugUtils.currentLine=54198454; + //BA.debugLineNum = 54198454;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54198455; + //BA.debugLineNum = 54198455;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+_elinefeed); +RDebugUtils.currentLine=54198456; + //BA.debugLineNum = 54198456;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed); +RDebugUtils.currentLine=54198457; + //BA.debugLineNum = 54198457;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+_elinefeed); +RDebugUtils.currentLine=54198458; + //BA.debugLineNum = 54198458;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=54198459; + //BA.debugLineNum = 54198459;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54198461; + //BA.debugLineNum = 54198461;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion"),(int) (1000)); +this.state = 75; +return; case 75: //C -this.state = 76; -; - if (true) break; - -case 76: -//C -this.state = 77; -; - //BA.debugLineNum = 4027;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 4028;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4029;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU"))); - //BA.debugLineNum = 4030;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; - -case 77: -//if -this.state = 94; -if (parent._s.getRowCount()>0) { -this.state = 79; -}if (true) break; - -case 79: -//C -this.state = 80; - //BA.debugLineNum = 4031;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------"; -parent._printer1._writestring /*String*/ ("------------PROMOS------------"+_elinefeed); - //BA.debugLineNum = 4032;BA.debugLine="For i=0 To S.RowCount -1"; -if (true) break; - -case 80: -//for -this.state = 93; -step122 = 1; -limit122 = (int) (parent._s.getRowCount()-1); -_i = (int) (0) ; -this.state = 113; -if (true) break; - -case 113: -//C -this.state = 93; -if ((step122 > 0 && _i <= limit122) || (step122 < 0 && _i >= limit122)) this.state = 82; -if (true) break; - -case 114: -//C -this.state = 113; -_i = ((int)(0 + _i + step122)) ; -if (true) break; - -case 82: -//C -this.state = 83; - //BA.debugLineNum = 4033;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 4034;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; -if (true) break; - -case 83: -//if -this.state = 92; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { -this.state = 85; -}else { -this.state = 87; -}if (true) break; - -case 85: -//C -this.state = 92; - //BA.debugLineNum = 4035;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - if (true) break; - -case 87: -//C -this.state = 88; - //BA.debugLineNum = 4039;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 4040;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 4041;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 4042;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 4044;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 4046;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 88: -//for -this.state = 91; -step132 = 1; -limit132 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 115; -if (true) break; - -case 115: -//C -this.state = 91; -if ((step132 > 0 && _e <= limit132) || (step132 < 0 && _e >= limit132)) this.state = 90; -if (true) break; - -case 116: -//C -this.state = 115; -_e = ((int)(0 + _e + step132)) ; -if (true) break; - -case 90: -//C -this.state = 116; - //BA.debugLineNum = 4047;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 91: -//C -this.state = 92; -; - //BA.debugLineNum = 4049;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed); - //BA.debugLineNum = 4050;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 4051;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 4052;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; - -case 92: -//C -this.state = 114; -; - if (true) break; -if (true) break; - -case 93: -//C -this.state = 94; -; - //BA.debugLineNum = 4055;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - if (true) break; - -case 94: -//C -this.state = 95; -; - //BA.debugLineNum = 4057;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 4059;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 4060;BA.debugLine="s.Position =0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 4064;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s"; -parent._printer1._writestring /*String*/ ("Subtotal Preventa: $"+parent._s.GetString("TOTAL")+_elinefeed); - //BA.debugLineNum = 4067;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 4068;BA.debugLine="C.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 4069;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; -parent._printer1._writestring /*String*/ ("Total Articulos: "+parent._c.GetString("PC_NOART")+_elinefeed); - //BA.debugLineNum = 4070;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 4071;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(S"; -_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0"))); - //BA.debugLineNum = 4072;BA.debugLine="s3.Position =0"; -_s3.setPosition((int) (0)); - //BA.debugLineNum = 4073;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCULO"; -parent._s2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0"))); - //BA.debugLineNum = 4074;BA.debugLine="S2.Position =0"; -parent._s2.setPosition((int) (0)); - //BA.debugLineNum = 4076;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.GetS"; -if (true) break; - -case 95: -//if -this.state = 98; -if ((parent.__c.NumberFormat2(((double)(Double.parseDouble(_s3.GetString("TOTAL")))+(double)(Double.parseDouble(parent._s2.GetString("TOTAL")))),(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(parent._s.GetString("TOTAL")) == false) { -this.state = 97; -}if (true) break; - -case 97: -//C -this.state = 98; - //BA.debugLineNum = 4078;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo"; -parent._printer1._writestring /*String*/ ("Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("TOTAL")))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); - if (true) break; - -case 98: -//C this.state = -1; ; - //BA.debugLineNum = 4085;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb"; -parent._printer1._writestring /*String*/ ("Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); - //BA.debugLineNum = 4087;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4088;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed); - //BA.debugLineNum = 4089;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; -parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed); - //BA.debugLineNum = 4090;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 4091;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; -parent._printer1._writestring /*String*/ ("----ESTE TICKET NO ES UN -----"+_elinefeed); - //BA.debugLineNum = 4092;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; -parent._printer1._writestring /*String*/ ("--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed); - //BA.debugLineNum = 4093;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; -parent._printer1._writestring /*String*/ ("--------INFORMATIVO-----------"+_elinefeed); - //BA.debugLineNum = 4094;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed); - //BA.debugLineNum = 4095;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 4097;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 117; -return; -case 117: -//C -this.state = -1; -; - //BA.debugLineNum = 4098;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 4100;BA.debugLine="ProgressDialogHide"; +RDebugUtils.currentLine=54198462; + //BA.debugLineNum = 54198462;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=54198464; + //BA.debugLineNum = 54198464;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 4103;BA.debugLine="End Sub"; +RDebugUtils.currentLine=54198467; + //BA.debugLineNum = 54198467;BA.debugLine="End Sub"; if (true) break; } } } } -public void _impresion4() throws Exception{ -ResumableSub_Impresion4 rsub = new ResumableSub_Impresion4(this); +public void _impresion4(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "impresion4", false)) + {Debug.delegate(ba, "impresion4", null); return;} +ResumableSub_Impresion4 rsub = new ResumableSub_Impresion4(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_Impresion4 extends BA.ResumableSub { -public ResumableSub_Impresion4(gunav2.keymon.com.mx.c_cliente parent) { +public ResumableSub_Impresion4(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; anywheresoftware.b4a.sql.SQL.CursorWrapper _pedinow = null; String _elinefeed = ""; @@ -14432,6 +11624,7 @@ int limit140; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -14441,10 +11634,12 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 3230;BA.debugLine="Dim pedinow As Cursor = skmt.ExecQuery(\"select *"; +RDebugUtils.currentLine=53805057; + //BA.debugLineNum = 53805057;BA.debugLine="Dim pedinow As Cursor = skmt.ExecQuery(\"select *"; _pedinow = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pedinow = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '0' "))); - //BA.debugLineNum = 3231;BA.debugLine="If pedinow.RowCount > 0 Then"; +_pedinow = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '0' "))); +RDebugUtils.currentLine=53805058; + //BA.debugLineNum = 53805058;BA.debugLine="If pedinow.RowCount > 0 Then"; if (true) break; case 1: @@ -14457,35 +11652,47 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 3232;BA.debugLine="Mandap"; -parent._mandap(); - //BA.debugLineNum = 3234;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 3235;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 3236;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 3238;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=53805059; + //BA.debugLineNum = 53805059;BA.debugLine="Mandap"; +__ref._mandap /*String*/ (null); +RDebugUtils.currentLine=53805061; + //BA.debugLineNum = 53805061;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=53805062; + //BA.debugLineNum = 53805062;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53805063; + //BA.debugLineNum = 53805063;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=53805065; + //BA.debugLineNum = 53805065;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 3239;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3240;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3241;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 3246;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +RDebugUtils.currentLine=53805066; + //BA.debugLineNum = 53805066;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=53805067; + //BA.debugLineNum = 53805067;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=53805068; + //BA.debugLineNum = 53805068;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53805073; + //BA.debugLineNum = 53805073;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; _elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); - //BA.debugLineNum = 3247;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +RDebugUtils.currentLine=53805074; + //BA.debugLineNum = 53805074;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 3248;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3249;BA.debugLine="If Not(Printer1.IsConnected) Then"; +RDebugUtils.currentLine=53805075; + //BA.debugLineNum = 53805075;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=53805076; + //BA.debugLineNum = 53805076;BA.debugLine="If Not(Printer1.IsConnected) Then"; if (true) break; case 4: //if this.state = 41; -if (parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { this.state = 6; }else { this.state = 24; @@ -14494,17 +11701,20 @@ this.state = 24; case 6: //C this.state = 7; - //BA.debugLineNum = 3251;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3252;BA.debugLine="Private cont As Int = 0"; +RDebugUtils.currentLine=53805078; + //BA.debugLineNum = 53805078;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=53805079; + //BA.debugLineNum = 53805079;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 3253;BA.debugLine="Do While Not(impresoraConectada)"; +RDebugUtils.currentLine=53805080; + //BA.debugLineNum = 53805080;BA.debugLine="Do While Not(impresoraConectada)"; if (true) break; case 7: //do while this.state = 22; -while (parent.__c.Not(parent._impresoraconectada)) { +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) { this.state = 9; if (true) break; } @@ -14513,17 +11723,20 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 3254;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=53805081; + //BA.debugLineNum = 53805081;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (1000)); this.state = 130; return; case 130: //C this.state = 10; ; - //BA.debugLineNum = 3255;BA.debugLine="cont = cont + 1"; +RDebugUtils.currentLine=53805082; + //BA.debugLineNum = 53805082;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 3256;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +RDebugUtils.currentLine=53805083; + //BA.debugLineNum = 53805083;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; if (true) break; case 10: @@ -14536,14 +11749,15 @@ this.state = 12; case 12: //C this.state = 15; -parent._printer1._connect /*boolean*/ (); +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); if (true) break; case 15: //C this.state = 16; ; - //BA.debugLineNum = 3257;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +RDebugUtils.currentLine=53805084; + //BA.debugLineNum = 53805084;BA.debugLine="If cont > 15 Then impresoraConectada = True"; if (true) break; case 16: @@ -14556,7 +11770,7 @@ this.state = 18; case 18: //C this.state = 21; -parent._impresoraconectada = parent.__c.True; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; if (true) break; case 21: @@ -14569,32 +11783,37 @@ case 22: //C this.state = 41; ; - //BA.debugLineNum = 3259;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); +RDebugUtils.currentLine=53805086; + //BA.debugLineNum = 53805086;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (500)); this.state = 131; return; case 131: //C this.state = 41; ; - //BA.debugLineNum = 3260;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; +RDebugUtils.currentLine=53805087; + //BA.debugLineNum = 53805087;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 3263;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3264;BA.debugLine="Private cont As Int = 0"; +RDebugUtils.currentLine=53805090; + //BA.debugLineNum = 53805090;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=53805091; + //BA.debugLineNum = 53805091;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 3265;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +RDebugUtils.currentLine=53805092; + //BA.debugLineNum = 53805092;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; if (true) break; case 25: //do while this.state = 40; -while (parent.__c.Not(parent._impresoraconectada) || parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { this.state = 27; if (true) break; } @@ -14603,17 +11822,20 @@ if (true) break; case 27: //C this.state = 28; - //BA.debugLineNum = 3266;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=53805093; + //BA.debugLineNum = 53805093;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (1000)); this.state = 132; return; case 132: //C this.state = 28; ; - //BA.debugLineNum = 3267;BA.debugLine="cont = cont + 1"; +RDebugUtils.currentLine=53805094; + //BA.debugLineNum = 53805094;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 3268;BA.debugLine="If cont = 2 Then Printer1.Connect"; +RDebugUtils.currentLine=53805095; + //BA.debugLineNum = 53805095;BA.debugLine="If cont = 2 Then Printer1.Connect"; if (true) break; case 28: @@ -14626,14 +11848,15 @@ this.state = 30; case 30: //C this.state = 33; -parent._printer1._connect /*boolean*/ (); +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); if (true) break; case 33: //C this.state = 34; ; - //BA.debugLineNum = 3269;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +RDebugUtils.currentLine=53805096; + //BA.debugLineNum = 53805096;BA.debugLine="If cont > 4 Then impresoraConectada = True"; if (true) break; case 34: @@ -14646,7 +11869,7 @@ this.state = 36; case 36: //C this.state = 39; -parent._impresoraconectada = parent.__c.True; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; if (true) break; case 39: @@ -14659,83 +11882,107 @@ case 40: //C this.state = 41; ; - //BA.debugLineNum = 3271;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); +RDebugUtils.currentLine=53805098; + //BA.debugLineNum = 53805098;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (500)); this.state = 133; return; case 133: //C this.state = 41; ; - //BA.debugLineNum = 3272;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; +RDebugUtils.currentLine=53805099; + //BA.debugLineNum = 53805099;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; if (true) break; case 41: //C this.state = 42; ; - //BA.debugLineNum = 3275;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3276;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3277;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 3293;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client"; -parent._printer1._writestring /*String*/ ("Centro de atencion a Clientes Bat"+_elinefeed); - //BA.debugLineNum = 3294;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &"; -parent._printer1._writestring /*String*/ ("Telefono: 800 400 5000"+_elinefeed); - //BA.debugLineNum = 3295;BA.debugLine="Printer1.WriteString(eLINEFEED)"; -parent._printer1._writestring /*String*/ (_elinefeed); - //BA.debugLineNum = 3296;BA.debugLine="Printer1.WriteString(eLINEFEED)"; -parent._printer1._writestring /*String*/ (_elinefeed); - //BA.debugLineNum = 3299;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA"; -parent._printer1._writestring /*String*/ ("DISTRIBUIDORA ROCHA TULA PACHUCA"+_elinefeed); - //BA.debugLineNum = 3300;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; -parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed); - //BA.debugLineNum = 3302;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed); - //BA.debugLineNum = 3303;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._stime+_elinefeed); - //BA.debugLineNum = 3304;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; -parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed); - //BA.debugLineNum = 3305;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; -parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed); - //BA.debugLineNum = 3306;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; -parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed); - //BA.debugLineNum = 3307;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; -parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 3308;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; -parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed); - //BA.debugLineNum = 3310;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; -parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed); - //BA.debugLineNum = 3311;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; -parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed); - //BA.debugLineNum = 3313;BA.debugLine="Printer1.WriteString(\"--------------------PREVENT"; -parent._printer1._writestring /*String*/ ("--------------------PREVENTA--------------------"+_elinefeed); - //BA.debugLineNum = 3315;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)}))); - //BA.debugLineNum = 3316;BA.debugLine="If S.RowCount>0 Then"; +RDebugUtils.currentLine=53805102; + //BA.debugLineNum = 53805102;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53805103; + //BA.debugLineNum = 53805103;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53805104; + //BA.debugLineNum = 53805104;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=53805120; + //BA.debugLineNum = 53805120;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Centro de atencion a Clientes Bat"+_elinefeed); +RDebugUtils.currentLine=53805121; + //BA.debugLineNum = 53805121;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Telefono: 800 400 5000"+_elinefeed); +RDebugUtils.currentLine=53805122; + //BA.debugLineNum = 53805122;BA.debugLine="Printer1.WriteString(eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,_elinefeed); +RDebugUtils.currentLine=53805123; + //BA.debugLineNum = 53805123;BA.debugLine="Printer1.WriteString(eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,_elinefeed); +RDebugUtils.currentLine=53805126; + //BA.debugLineNum = 53805126;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"DISTRIBUIDORA ROCHA TULA PACHUCA"+_elinefeed); +RDebugUtils.currentLine=53805127; + //BA.debugLineNum = 53805127;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed); +RDebugUtils.currentLine=53805129; + //BA.debugLineNum = 53805129;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=53805130; + //BA.debugLineNum = 53805130;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed); +RDebugUtils.currentLine=53805131; + //BA.debugLineNum = 53805131;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed); +RDebugUtils.currentLine=53805132; + //BA.debugLineNum = 53805132;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53805133; + //BA.debugLineNum = 53805133;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53805134; + //BA.debugLineNum = 53805134;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53805135; + //BA.debugLineNum = 53805135;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53805137; + //BA.debugLineNum = 53805137;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53805138; + //BA.debugLineNum = 53805138;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53805140; + //BA.debugLineNum = 53805140;BA.debugLine="Printer1.WriteString(\"--------------------PREVENT"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------------------PREVENTA--------------------"+_elinefeed); +RDebugUtils.currentLine=53805142; + //BA.debugLineNum = 53805142;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)}))); +RDebugUtils.currentLine=53805143; + //BA.debugLineNum = 53805143;BA.debugLine="If S.RowCount>0 Then"; if (true) break; case 42: //if this.state = 79; -if (parent._s.getRowCount()>0) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 44; }if (true) break; case 44: //C this.state = 45; - //BA.debugLineNum = 3317;BA.debugLine="For i=0 To S.RowCount -1"; +RDebugUtils.currentLine=53805144; + //BA.debugLineNum = 53805144;BA.debugLine="For i=0 To S.RowCount -1"; if (true) break; case 45: //for this.state = 78; step58 = 1; -limit58 = (int) (parent._s.getRowCount()-1); +limit58 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 134; if (true) break; @@ -14755,15 +12002,17 @@ if (true) break; case 47: //C this.state = 48; - //BA.debugLineNum = 3318;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 3319;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +RDebugUtils.currentLine=53805145; + //BA.debugLineNum = 53805145;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53805146; + //BA.debugLineNum = 53805146;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; if (true) break; case 48: //if this.state = 77; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { this.state = 50; }else { this.state = 52; @@ -14777,41 +12026,55 @@ this.state = 77; case 52: //C this.state = 53; - //BA.debugLineNum = 3322;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; +RDebugUtils.currentLine=53805149; + //BA.debugLineNum = 53805149;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; if (true) break; case 53: //if this.state = 76; -if (parent._s.GetInt("PE_RECALCULO")==0) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECALCULO")==0) { this.state = 55; -}else if(parent._s.GetInt("PE_CANT")==parent._s.GetInt("PE_RECCANT")) { +}else +{RDebugUtils.currentLine=53805164; + //BA.debugLineNum = 53805164;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")==__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { this.state = 61; -}else if(parent._s.GetInt("PE_CANT")!=parent._s.GetInt("PE_RECCANT")) { +}else +{RDebugUtils.currentLine=53805187; + //BA.debugLineNum = 53805187;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")!=__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { this.state = 67; -}if (true) break; +}}} +if (true) break; case 55: //C this.state = 56; - //BA.debugLineNum = 3323;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3324;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3325;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 3326;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 3328;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3330;BA.debugLine="For E=0 To ESPACIO -1"; +RDebugUtils.currentLine=53805150; + //BA.debugLineNum = 53805150;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53805151; + //BA.debugLineNum = 53805151;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805152; + //BA.debugLineNum = 53805152;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805153; + //BA.debugLineNum = 53805153;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805155; + //BA.debugLineNum = 53805155;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805157; + //BA.debugLineNum = 53805157;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; case 56: //for this.state = 59; step68 = 1; -limit68 = (int) (parent._espacio-1); +limit68 = (int) (__ref._espacio /*int*/ -1); _e = (int) (0) ; this.state = 136; if (true) break; @@ -14831,8 +12094,9 @@ if (true) break; case 58: //C this.state = 137; - //BA.debugLineNum = 3331;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; +RDebugUtils.currentLine=53805158; + //BA.debugLineNum = 53805158;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; if (true) break; @@ -14840,37 +12104,47 @@ case 59: //C this.state = 76; ; - //BA.debugLineNum = 3333;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed); - //BA.debugLineNum = 3334;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3335;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3336;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; +RDebugUtils.currentLine=53805160; + //BA.debugLineNum = 53805160;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53805161; + //BA.debugLineNum = 53805161;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53805162; + //BA.debugLineNum = 53805162;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53805163; + //BA.debugLineNum = 53805163;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; if (true) break; case 61: //C this.state = 62; - //BA.debugLineNum = 3338;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3339;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3340;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 3341;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano); - //BA.debugLineNum = 3343;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3345;BA.debugLine="For E=0 To ESPACIO -1"; +RDebugUtils.currentLine=53805165; + //BA.debugLineNum = 53805165;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53805166; + //BA.debugLineNum = 53805166;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805167; + //BA.debugLineNum = 53805167;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805168; + //BA.debugLineNum = 53805168;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805170; + //BA.debugLineNum = 53805170;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805172; + //BA.debugLineNum = 53805172;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; case 62: //for this.state = 65; step81 = 1; -limit81 = (int) (parent._espacio-1); +limit81 = (int) (__ref._espacio /*int*/ -1); _e = (int) (0) ; this.state = 138; if (true) break; @@ -14890,8 +12164,9 @@ if (true) break; case 64: //C this.state = 139; - //BA.debugLineNum = 3346;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; +RDebugUtils.currentLine=53805173; + //BA.debugLineNum = 53805173;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; if (true) break; @@ -14899,54 +12174,72 @@ case 65: //C this.state = 76; ; - //BA.debugLineNum = 3349;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=53805176; + //BA.debugLineNum = 53805176;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; _descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); - //BA.debugLineNum = 3350;BA.debugLine="descpro.Position = 0"; +_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); +RDebugUtils.currentLine=53805177; + //BA.debugLineNum = 53805177;BA.debugLine="descpro.Position = 0"; _descpro.setPosition((int) (0)); - //BA.debugLineNum = 3352;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent._s.GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed); - //BA.debugLineNum = 3354;BA.debugLine="Log(s.GetString(\"PE_PRONOMBRE\"))"; -parent.__c.LogImpl("453739645",parent._s.GetString("PE_PRONOMBRE"),0); - //BA.debugLineNum = 3355;BA.debugLine="Log(descpro.GetDouble(\"CAT_PD_DESCUENTO\"))"; -parent.__c.LogImpl("453739646",BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO")),0); - //BA.debugLineNum = 3356;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; -parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); - //BA.debugLineNum = 3357;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3358;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3359;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; +RDebugUtils.currentLine=53805179; + //BA.debugLineNum = 53805179;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53805181; + //BA.debugLineNum = 53805181;BA.debugLine="Log(s.GetString(\"PE_PRONOMBRE\"))"; +parent.__c.LogImpl("053805181",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"),0); +RDebugUtils.currentLine=53805182; + //BA.debugLineNum = 53805182;BA.debugLine="Log(descpro.GetDouble(\"CAT_PD_DESCUENTO\"))"; +parent.__c.LogImpl("053805182",BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO")),0); +RDebugUtils.currentLine=53805183; + //BA.debugLineNum = 53805183;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53805184; + //BA.debugLineNum = 53805184;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53805185; + //BA.debugLineNum = 53805185;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53805186; + //BA.debugLineNum = 53805186;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; if (true) break; case 67: //C this.state = 68; - //BA.debugLineNum = 3361;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; -parent.__c.LogImpl("453739652",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0); - //BA.debugLineNum = 3362;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; -parent.__c.LogImpl("453739653",BA.NumberToString(parent._s.GetInt("PE_CANT")),0); - //BA.debugLineNum = 3363;BA.debugLine="Log(\"aqui\")"; -parent.__c.LogImpl("453739654","aqui",0); - //BA.debugLineNum = 3364;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_RECCANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3365;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3366;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 3367;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano); - //BA.debugLineNum = 3369;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3371;BA.debugLine="For E=0 To ESPACIO -1"; +RDebugUtils.currentLine=53805188; + //BA.debugLineNum = 53805188;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; +parent.__c.LogImpl("053805188",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")),0); +RDebugUtils.currentLine=53805189; + //BA.debugLineNum = 53805189;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; +parent.__c.LogImpl("053805189",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),0); +RDebugUtils.currentLine=53805190; + //BA.debugLineNum = 53805190;BA.debugLine="Log(\"aqui\")"; +parent.__c.LogImpl("053805190","aqui",0); +RDebugUtils.currentLine=53805191; + //BA.debugLineNum = 53805191;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53805192; + //BA.debugLineNum = 53805192;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805193; + //BA.debugLineNum = 53805193;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805194; + //BA.debugLineNum = 53805194;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805196; + //BA.debugLineNum = 53805196;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805198; + //BA.debugLineNum = 53805198;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; case 68: //for this.state = 71; step102 = 1; -limit102 = (int) (parent._espacio-1); +limit102 = (int) (__ref._espacio /*int*/ -1); _e = (int) (0) ; this.state = 140; if (true) break; @@ -14966,8 +12259,9 @@ if (true) break; case 70: //C this.state = 141; - //BA.debugLineNum = 3372;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; +RDebugUtils.currentLine=53805199; + //BA.debugLineNum = 53805199;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; if (true) break; @@ -14975,33 +12269,43 @@ case 71: //C this.state = 72; ; - //BA.debugLineNum = 3376;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=53805203; + //BA.debugLineNum = 53805203;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; _descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); - //BA.debugLineNum = 3377;BA.debugLine="descpro.Position = 0"; +_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); +RDebugUtils.currentLine=53805204; + //BA.debugLineNum = 53805204;BA.debugLine="descpro.Position = 0"; _descpro.setPosition((int) (0)); - //BA.debugLineNum = 3379;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_RECCANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(parent._s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); - //BA.debugLineNum = 3380;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; -parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); - //BA.debugLineNum = 3382;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; -_subtot = BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU")))); - //BA.debugLineNum = 3383;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3384;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 3385;BA.debugLine="TAMANO = subTot + TAMANO"; -parent._tamano = (int) ((double)(Double.parseDouble(_subtot))+parent._tamano); - //BA.debugLineNum = 3387;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3389;BA.debugLine="For E=0 To ESPACIO -1"; +RDebugUtils.currentLine=53805206; + //BA.debugLineNum = 53805206;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53805207; + //BA.debugLineNum = 53805207;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53805209; + //BA.debugLineNum = 53805209;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; +_subtot = BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))); +RDebugUtils.currentLine=53805210; + //BA.debugLineNum = 53805210;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805211; + //BA.debugLineNum = 53805211;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805212; + //BA.debugLineNum = 53805212;BA.debugLine="TAMANO = subTot + TAMANO"; +__ref._tamano /*int*/ = (int) ((double)(Double.parseDouble(_subtot))+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805214; + //BA.debugLineNum = 53805214;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805216; + //BA.debugLineNum = 53805216;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; case 72: //for this.state = 75; step114 = 1; -limit114 = (int) (parent._espacio-1); +limit114 = (int) (__ref._espacio /*int*/ -1); _e = (int) (0) ; this.state = 142; if (true) break; @@ -15021,8 +12325,9 @@ if (true) break; case 74: //C this.state = 143; - //BA.debugLineNum = 3390;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; +RDebugUtils.currentLine=53805217; + //BA.debugLineNum = 53805217;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; if (true) break; @@ -15030,16 +12335,21 @@ case 75: //C this.state = 76; ; - //BA.debugLineNum = 3393;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; -parent._printer1._writestring /*String*/ (BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3394;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; -parent._printer1._writestring /*String*/ (parent._blanco+BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); - //BA.debugLineNum = 3397;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3398;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3399;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; +RDebugUtils.currentLine=53805220; + //BA.debugLineNum = 53805220;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53805221; + //BA.debugLineNum = 53805221;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53805224; + //BA.debugLineNum = 53805224;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53805225; + //BA.debugLineNum = 53805225;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53805226; + //BA.debugLineNum = 53805226;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; if (true) break; case 76: @@ -15065,35 +12375,41 @@ case 79: //C this.state = 80; ; - //BA.debugLineNum = 3404;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 3407;BA.debugLine="totalpromos = 0"; -parent._totalpromos = 0; - //BA.debugLineNum = 3408;BA.debugLine="totalpromostotal = 0"; -parent._totalpromostotal = 0; - //BA.debugLineNum = 3409;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by PE_CEDIS, PE_COSTOU"))); - //BA.debugLineNum = 3410;BA.debugLine="If S.RowCount>0 Then"; +RDebugUtils.currentLine=53805231; + //BA.debugLineNum = 53805231;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53805234; + //BA.debugLineNum = 53805234;BA.debugLine="totalpromos = 0"; +__ref._totalpromos /*double*/ = 0; +RDebugUtils.currentLine=53805235; + //BA.debugLineNum = 53805235;BA.debugLine="totalpromostotal = 0"; +__ref._totalpromostotal /*double*/ = 0; +RDebugUtils.currentLine=53805236; + //BA.debugLineNum = 53805236;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by PE_CEDIS, PE_COSTOU"))); +RDebugUtils.currentLine=53805237; + //BA.debugLineNum = 53805237;BA.debugLine="If S.RowCount>0 Then"; if (true) break; case 80: //if this.state = 110; -if (parent._s.getRowCount()>0) { +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 82; }if (true) break; case 82: //C this.state = 83; - //BA.debugLineNum = 3412;BA.debugLine="For i=0 To S.RowCount -1"; +RDebugUtils.currentLine=53805239; + //BA.debugLineNum = 53805239;BA.debugLine="For i=0 To S.RowCount -1"; if (true) break; case 83: //for this.state = 109; step131 = 1; -limit131 = (int) (parent._s.getRowCount()-1); +limit131 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 144; if (true) break; @@ -15113,15 +12429,17 @@ if (true) break; case 85: //C this.state = 86; - //BA.debugLineNum = 3413;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 3414;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +RDebugUtils.currentLine=53805240; + //BA.debugLineNum = 53805240;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53805241; + //BA.debugLineNum = 53805241;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; if (true) break; case 86: //if this.state = 108; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { this.state = 88; }else { this.state = 90; @@ -15135,24 +12453,30 @@ this.state = 108; case 90: //C this.state = 91; - //BA.debugLineNum = 3419;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3420;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3421;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 3422;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 3424;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3426;BA.debugLine="For E=0 To ESPACIO -1"; +RDebugUtils.currentLine=53805246; + //BA.debugLineNum = 53805246;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53805247; + //BA.debugLineNum = 53805247;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805248; + //BA.debugLineNum = 53805248;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805249; + //BA.debugLineNum = 53805249;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805251; + //BA.debugLineNum = 53805251;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53805253; + //BA.debugLineNum = 53805253;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; case 91: //for this.state = 94; step140 = 1; -limit140 = (int) (parent._espacio-1); +limit140 = (int) (__ref._espacio /*int*/ -1); _e = (int) (0) ; this.state = 146; if (true) break; @@ -15172,8 +12496,9 @@ if (true) break; case 93: //C this.state = 147; - //BA.debugLineNum = 3427;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; +RDebugUtils.currentLine=53805254; + //BA.debugLineNum = 53805254;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; if (true) break; if (true) break; @@ -15181,9 +12506,11 @@ case 94: //C this.state = 95; ; - //BA.debugLineNum = 3429;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed); - //BA.debugLineNum = 3432;BA.debugLine="If Subs.traeTipoCliente= 5 Then"; +RDebugUtils.currentLine=53805256; + //BA.debugLineNum = 53805256;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed); +RDebugUtils.currentLine=53805259; + //BA.debugLineNum = 53805259;BA.debugLine="If Subs.traeTipoCliente= 5 Then"; if (true) break; case 95: @@ -15198,20 +12525,23 @@ this.state = 99; case 97: //C this.state = 100; - //BA.debugLineNum = 3433;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec"; +RDebugUtils.currentLine=53805260; + //BA.debugLineNum = 53805260;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec"; _precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_LISTAPRECIO AS CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"' ")))); +_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_LISTAPRECIO AS CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"' ")))); if (true) break; case 99: //C this.state = 100; - //BA.debugLineNum = 3435;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec"; +RDebugUtils.currentLine=53805262; + //BA.debugLineNum = 53805262;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec"; _precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"' ")))); +_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"' ")))); if (true) break; ; - //BA.debugLineNum = 3438;BA.debugLine="If precioprom.RowCount > 0 Then"; +RDebugUtils.currentLine=53805265; + //BA.debugLineNum = 53805265;BA.debugLine="If precioprom.RowCount > 0 Then"; case 100: //if @@ -15223,27 +12553,32 @@ this.state = 102; case 102: //C this.state = 103; - //BA.debugLineNum = 3439;BA.debugLine="precioprom.Position = 0"; +RDebugUtils.currentLine=53805266; + //BA.debugLineNum = 53805266;BA.debugLine="precioprom.Position = 0"; _precioprom.setPosition((int) (0)); - //BA.debugLineNum = 3440;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; -parent.__c.LogImpl("453739731",_precioprom.GetString("CAT_GP_PRECIO"),0); - //BA.debugLineNum = 3441;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))"; -parent.__c.LogImpl("453739732",parent._s.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 3442;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP"; +RDebugUtils.currentLine=53805267; + //BA.debugLineNum = 53805267;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; +parent.__c.LogImpl("053805267",_precioprom.GetString("CAT_GP_PRECIO"),0); +RDebugUtils.currentLine=53805268; + //BA.debugLineNum = 53805268;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))"; +parent.__c.LogImpl("053805268",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=53805269; + //BA.debugLineNum = 53805269;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP"; if (true) break; case 103: //if this.state = 106; -if ((parent.__c.NumberFormat2((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)) == false) { +if ((parent.__c.NumberFormat2((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)) == false) { this.state = 105; }if (true) break; case 105: //C this.state = 106; - //BA.debugLineNum = 3444;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & prec"; -parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+_precioprom.GetString("CAT_GP_PRECIO")+" Desc.: "+parent.__c.NumberFormat2(((((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))))*100)/(double)(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))),(int) (0.),(int) (2),(int) (2),parent.__c.False)+"%"+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53805271; + //BA.debugLineNum = 53805271;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & prec"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+_precioprom.GetString("CAT_GP_PRECIO")+" Desc.: "+parent.__c.NumberFormat2(((((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))))*100)/(double)(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))),(int) (0.),(int) (2),(int) (2),parent.__c.False)+"%"+_elinefeed+_elinefeed); if (true) break; case 106: @@ -15256,12 +12591,15 @@ case 107: //C this.state = 108; ; - //BA.debugLineNum = 3448;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3449;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3450;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; +RDebugUtils.currentLine=53805275; + //BA.debugLineNum = 53805275;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53805276; + //BA.debugLineNum = 53805276;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53805277; + //BA.debugLineNum = 53805277;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; if (true) break; case 108: @@ -15275,19 +12613,23 @@ case 109: //C this.state = 110; ; - //BA.debugLineNum = 3453;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); +RDebugUtils.currentLine=53805280; + //BA.debugLineNum = 53805280;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); if (true) break; case 110: //C this.state = 111; ; - //BA.debugLineNum = 3455;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 3485;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" &"; -parent._printer1._writestring /*String*/ ("Subtotal Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); - //BA.debugLineNum = 3486;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango"; +RDebugUtils.currentLine=53805282; + //BA.debugLineNum = 53805282;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53805312; + //BA.debugLineNum = 53805312;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); +RDebugUtils.currentLine=53805313; + //BA.debugLineNum = 53805313;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango"; if (true) break; case 111: @@ -15300,22 +12642,27 @@ this.state = 113; case 113: //C this.state = 114; - //BA.debugLineNum = 3487;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberF"; -parent._printer1._writestring /*String*/ ("Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); +RDebugUtils.currentLine=53805314; + //BA.debugLineNum = 53805314;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberF"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); if (true) break; case 114: //C this.state = 115; ; - //BA.debugLineNum = 3490;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Num"; -parent._printer1._writestring /*String*/ ("Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); - //BA.debugLineNum = 3491;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 3493;BA.debugLine="Private contadocredito As Cursor = Starter.skmt."; +RDebugUtils.currentLine=53805317; + //BA.debugLineNum = 53805317;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Num"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); +RDebugUtils.currentLine=53805318; + //BA.debugLineNum = 53805318;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=53805320; + //BA.debugLineNum = 53805320;BA.debugLine="Private contadocredito As Cursor = Starter.skmt."; _contadocredito = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _contadocredito = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT BANDERA FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA) ")))); - //BA.debugLineNum = 3494;BA.debugLine="If contadocredito.RowCount > 0 Then"; +RDebugUtils.currentLine=53805321; + //BA.debugLineNum = 53805321;BA.debugLine="If contadocredito.RowCount > 0 Then"; if (true) break; case 115: @@ -15328,9 +12675,11 @@ this.state = 117; case 117: //C this.state = 118; - //BA.debugLineNum = 3495;BA.debugLine="contadocredito.Position = 0"; +RDebugUtils.currentLine=53805322; + //BA.debugLineNum = 53805322;BA.debugLine="contadocredito.Position = 0"; _contadocredito.setPosition((int) (0)); - //BA.debugLineNum = 3496;BA.debugLine="If contadocredito.getstring(\"BANDERA\") = \"1\" Th"; +RDebugUtils.currentLine=53805323; + //BA.debugLineNum = 53805323;BA.debugLine="If contadocredito.getstring(\"BANDERA\") = \"1\" Th"; if (true) break; case 118: @@ -15345,15 +12694,17 @@ this.state = 122; case 120: //C this.state = 123; - //BA.debugLineNum = 3497;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CREDI"; -parent._printer1._writestring /*String*/ ("Tipo de entrega: CREDITO"+_elinefeed); +RDebugUtils.currentLine=53805324; + //BA.debugLineNum = 53805324;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CREDI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tipo de entrega: CREDITO"+_elinefeed); if (true) break; case 122: //C this.state = 123; - //BA.debugLineNum = 3499;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CONTA"; -parent._printer1._writestring /*String*/ ("Tipo de entrega: CONTADO"+_elinefeed); +RDebugUtils.currentLine=53805326; + //BA.debugLineNum = 53805326;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CONTA"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tipo de entrega: CONTADO"+_elinefeed); if (true) break; case 123: @@ -15366,35 +12717,47 @@ case 124: //C this.state = 125; ; - //BA.debugLineNum = 3503;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 3504;BA.debugLine="Printer1.WriteString(\"--------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed); - //BA.debugLineNum = 3505;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED"; -parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed); - //BA.debugLineNum = 3506;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 3507;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET"; -parent._printer1._writestring /*String*/ ("--------------ESTE TICKET NO ES UN--------------"+_elinefeed); - //BA.debugLineNum = 3508;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISC"; -parent._printer1._writestring /*String*/ ("----------COMPROBANTE FISCAL, SOLO ES-----------"+_elinefeed); - //BA.debugLineNum = 3509;BA.debugLine="Printer1.WriteString(\"------------------INFORMAT"; -parent._printer1._writestring /*String*/ ("------------------INFORMATIVO-------------------"+_elinefeed); - //BA.debugLineNum = 3510;BA.debugLine="Printer1.WriteString(\"--------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed); - //BA.debugLineNum = 3511;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 3513;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=53805330; + //BA.debugLineNum = 53805330;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=53805331; + //BA.debugLineNum = 53805331;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------------------------"+_elinefeed); +RDebugUtils.currentLine=53805332; + //BA.debugLineNum = 53805332;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed); +RDebugUtils.currentLine=53805333; + //BA.debugLineNum = 53805333;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53805334; + //BA.debugLineNum = 53805334;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------------ESTE TICKET NO ES UN--------------"+_elinefeed); +RDebugUtils.currentLine=53805335; + //BA.debugLineNum = 53805335;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISC"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----------COMPROBANTE FISCAL, SOLO ES-----------"+_elinefeed); +RDebugUtils.currentLine=53805336; + //BA.debugLineNum = 53805336;BA.debugLine="Printer1.WriteString(\"------------------INFORMAT"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------INFORMATIVO-------------------"+_elinefeed); +RDebugUtils.currentLine=53805337; + //BA.debugLineNum = 53805337;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------------------------"+_elinefeed); +RDebugUtils.currentLine=53805338; + //BA.debugLineNum = 53805338;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=53805340; + //BA.debugLineNum = 53805340;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (1000)); this.state = 148; return; case 148: //C this.state = 125; ; - //BA.debugLineNum = 3514;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3516;BA.debugLine="ProgressDialogHide"; +RDebugUtils.currentLine=53805341; + //BA.debugLineNum = 53805341;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=53805343; + //BA.debugLineNum = 53805343;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); if (true) break; @@ -15402,18 +12765,21 @@ case 125: //C this.state = 126; ; - //BA.debugLineNum = 3520;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=53805347; + //BA.debugLineNum = 53805347;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion4"),(int) (1000)); this.state = 149; return; case 149: //C this.state = 126; ; - //BA.debugLineNum = 3521;BA.debugLine="Dim pedifutu As Cursor = skmt.ExecQuery(\"select *"; +RDebugUtils.currentLine=53805348; + //BA.debugLineNum = 53805348;BA.debugLine="Dim pedifutu As Cursor = skmt.ExecQuery(\"select *"; _pedifutu = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pedifutu = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '1' "))); - //BA.debugLineNum = 3522;BA.debugLine="If pedifutu.RowCount > 0 Then"; +_pedifutu = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '1' "))); +RDebugUtils.currentLine=53805349; + //BA.debugLineNum = 53805349;BA.debugLine="If pedifutu.RowCount > 0 Then"; if (true) break; case 126: @@ -15426,54 +12792,545 @@ this.state = 128; case 128: //C this.state = 129; - //BA.debugLineNum = 3523;BA.debugLine="Impresion5"; -parent._impresion5(); +RDebugUtils.currentLine=53805350; + //BA.debugLineNum = 53805350;BA.debugLine="Impresion5"; +__ref._impresion5 /*void*/ (null); if (true) break; case 129: //C this.state = -1; ; - //BA.debugLineNum = 3525;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53805352; + //BA.debugLineNum = 53805352;BA.debugLine="End Sub"; if (true) break; } } } } -public void _impresion5() throws Exception{ -ResumableSub_Impresion5 rsub = new ResumableSub_Impresion5(this); +public String _b_inicio_fin_venta_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_inicio_fin_venta_click", false)) + {return ((String) Debug.delegate(ba, "b_inicio_fin_venta_click", null));} +RDebugUtils.currentLine=61669376; + //BA.debugLineNum = 61669376;BA.debugLine="Private Sub b_Inicio_Fin_venta_Click"; +RDebugUtils.currentLine=61669411; + //BA.debugLineNum = 61669411;BA.debugLine="End Sub"; +return ""; +} +public String _b_like_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_like_click", false)) + {return ((String) Debug.delegate(ba, "b_like_click", null));} +RDebugUtils.currentLine=54984704; + //BA.debugLineNum = 54984704;BA.debugLine="Sub b_like_Click"; +RDebugUtils.currentLine=54984705; + //BA.debugLineNum = 54984705;BA.debugLine="Panel1.Visible = True"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=54984706; + //BA.debugLineNum = 54984706;BA.debugLine="b_like.Visible = False"; +__ref._b_like /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54984707; + //BA.debugLineNum = 54984707;BA.debugLine="Tar.Visible = False"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54984708; + //BA.debugLineNum = 54984708;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54984709; + //BA.debugLineNum = 54984709;BA.debugLine="gest.Visible = False ' : ToastMessageShow(\"bbbb\","; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54984710; + //BA.debugLineNum = 54984710;BA.debugLine="b_venta.Visible = False"; +__ref._b_venta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54984711; + //BA.debugLineNum = 54984711;BA.debugLine="Guardar.Visible = False"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=54984712; + //BA.debugLineNum = 54984712;BA.debugLine="End Sub"; +return ""; +} +public String _b_mapa_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_mapa_click", false)) + {return ((String) Debug.delegate(ba, "b_mapa_click", null));} +RDebugUtils.currentLine=53673984; + //BA.debugLineNum = 53673984;BA.debugLine="Sub b_mapa_Click"; +RDebugUtils.currentLine=53673985; + //BA.debugLineNum = 53673985;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; +_b4xpages._showpage /*String*/ (ba,"mapas"); +RDebugUtils.currentLine=53673986; + //BA.debugLineNum = 53673986;BA.debugLine="End Sub"; +return ""; +} +public String _b_okdeuda_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_okdeuda_click", false)) + {return ((String) Debug.delegate(ba, "b_okdeuda_click", null));} +RDebugUtils.currentLine=64356352; + //BA.debugLineNum = 64356352;BA.debugLine="Private Sub b_okdeuda_Click"; +RDebugUtils.currentLine=64356353; + //BA.debugLineNum = 64356353;BA.debugLine="p_deuda.Visible = False"; +__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64356354; + //BA.debugLineNum = 64356354;BA.debugLine="End Sub"; +return ""; +} +public String _b_preguntag_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_preguntag_click", false)) + {return ((String) Debug.delegate(ba, "b_preguntag_click", null));} +anywheresoftware.b4a.objects.collections.List _items2 = null; +anywheresoftware.b4a.objects.collections.List _items3 = null; +anywheresoftware.b4a.objects.collections.List _items8 = null; +RDebugUtils.currentLine=51642368; + //BA.debugLineNum = 51642368;BA.debugLine="Private Sub b_preguntag_Click"; +RDebugUtils.currentLine=51642369; + //BA.debugLineNum = 51642369;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt_"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET CAT_CL_GIRO = ? WHERE CAT_CL_CODIGO = ? And CAT_CL_NOMBRE = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._girotienda /*String*/ ),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=51642370; + //BA.debugLineNum = 51642370;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_AVI"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA_AVISO_GIRO(HEAV_CLIENTE , HEAV_MODULO , HEAV_AVISO ,HEAV_GIRO ) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._encuesta /*String*/ ),(Object)("ACEPTA"),(Object)(__ref._girotienda /*String*/ )})); +RDebugUtils.currentLine=51642371; + //BA.debugLineNum = 51642371;BA.debugLine="If girotienda <> \"Selecciona una opcion\" Then"; +if ((__ref._girotienda /*String*/ ).equals("Selecciona una opcion") == false) { +RDebugUtils.currentLine=51642372; + //BA.debugLineNum = 51642372;BA.debugLine="If girotienda = \"Tienda de Abarrotes (Abarrotes,"; +if ((__ref._girotienda /*String*/ ).equals("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)")) { +RDebugUtils.currentLine=51642373; + //BA.debugLineNum = 51642373;BA.debugLine="Dim result As Int= -3"; +_result = (int) (-3); +RDebugUtils.currentLine=51642374; + //BA.debugLineNum = 51642374;BA.debugLine="Do While result=-3"; +while (__ref._result /*int*/ ==-3) { +RDebugUtils.currentLine=51642375; + //BA.debugLineNum = 51642375;BA.debugLine="result = Msgbox2(\"Entiendo, acepto y consient"; +__ref._result /*int*/ = __c.Msgbox2(BA.ObjectToCharSequence("Entiendo, acepto y consiento que GUNA usará mis datos Personales y serán tratados acorde con lo establecido en la Ley Federal de Protección de Datos Personales en Posesión de los Particulares (en lo sucesivo la “Ley”), y su respectivo Reglamento; bajo lo manifestado en el Aviso de Privacidad – Texto Completo – que se encuentra en la página www.guna.com.mx"),BA.ObjectToCharSequence("AVISO DE PRIVACIDAD"),"ACEPTO","","NO ACEPTO",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba); +RDebugUtils.currentLine=51642376; + //BA.debugLineNum = 51642376;BA.debugLine="Select Case result"; +switch (BA.switchObjectToInt(__ref._result /*int*/ ,__c.DialogResponse.POSITIVE,__c.DialogResponse.NEGATIVE)) { +case 0: { +RDebugUtils.currentLine=51642395; + //BA.debugLineNum = 51642395;BA.debugLine="Log(que_modulo)"; +__c.LogImpl("051642395",__ref._que_modulo /*String*/ ,0); +RDebugUtils.currentLine=51642396; + //BA.debugLineNum = 51642396;BA.debugLine="If que_modulo = Null Or que_modulo = \" \" The"; +if (__ref._que_modulo /*String*/ == null || (__ref._que_modulo /*String*/ ).equals(" ")) { +__ref._que_modulo /*String*/ = "1";}; +RDebugUtils.currentLine=51642398; + //BA.debugLineNum = 51642398;BA.debugLine="If que_modulo < = ENCUESTA Then"; +if ((double)(Double.parseDouble(__ref._que_modulo /*String*/ ))<=(double)(Double.parseDouble(__ref._encuesta /*String*/ ))) { +RDebugUtils.currentLine=51642399; + //BA.debugLineNum = 51642399;BA.debugLine="If que_modulo = \"1\" Then"; +if ((__ref._que_modulo /*String*/ ).equals("1")) { +RDebugUtils.currentLine=51642402; + //BA.debugLineNum = 51642402;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The"; +if (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=51642403; + //BA.debugLineNum = 51642403;BA.debugLine="p_m2.Visible = False"; +__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=51642404; + //BA.debugLineNum = 51642404;BA.debugLine="Else If p_m3.IsInitialized And p_m3.Visibl"; +if (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=51642405; + //BA.debugLineNum = 51642405;BA.debugLine="p_m3.Visible = False"; +__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=51642406; + //BA.debugLineNum = 51642406;BA.debugLine="Else If p_m4.IsInitialized And p_m4.Visibl"; +if (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=51642407; + //BA.debugLineNum = 51642407;BA.debugLine="p_m4.Visible = False"; +__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=51642408; + //BA.debugLineNum = 51642408;BA.debugLine="Else If p_modulo5.IsInitialized And p_modu"; +if (__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=51642409; + //BA.debugLineNum = 51642409;BA.debugLine="p_modulo5.Visible = False"; +__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { + }}}} +; +RDebugUtils.currentLine=51642413; + //BA.debugLineNum = 51642413;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642414; + //BA.debugLineNum = 51642414;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642415; + //BA.debugLineNum = 51642415;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=51642416; + //BA.debugLineNum = 51642416;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA\")"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA",ba); +RDebugUtils.currentLine=51642417; + //BA.debugLineNum = 51642417;BA.debugLine="p_m1.Width = Root.Width * 0.94"; +__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=51642418; + //BA.debugLineNum = 51642418;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m1.Height + 6"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60)); +RDebugUtils.currentLine=51642419; + //BA.debugLineNum = 51642419;BA.debugLine="Panel7.Visible = False"; +__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=51642421; + //BA.debugLineNum = 51642421;BA.debugLine="else if que_modulo = \"2\" Then"; +if ((__ref._que_modulo /*String*/ ).equals("2")) { +RDebugUtils.currentLine=51642423; + //BA.debugLineNum = 51642423;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible The"; +if (__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=51642424; + //BA.debugLineNum = 51642424;BA.debugLine="p_m1.Visible = False"; +__ref._p_m1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { + }; +RDebugUtils.currentLine=51642428; + //BA.debugLineNum = 51642428;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642429; + //BA.debugLineNum = 51642429;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642430; + //BA.debugLineNum = 51642430;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=51642431; + //BA.debugLineNum = 51642431;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ESNCUESTA_m2",ba); +RDebugUtils.currentLine=51642432; + //BA.debugLineNum = 51642432;BA.debugLine="p_m2.Width = Root.Width * 0.94"; +__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=51642433; + //BA.debugLineNum = 51642433;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 6"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60)); +RDebugUtils.currentLine=51642434; + //BA.debugLineNum = 51642434;BA.debugLine="Panel7_M2.Visible = False"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=51642435; + //BA.debugLineNum = 51642435;BA.debugLine="else if que_modulo = \"3\" Then"; +if ((__ref._que_modulo /*String*/ ).equals("3")) { +RDebugUtils.currentLine=51642437; + //BA.debugLineNum = 51642437;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The"; +if (__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=51642438; + //BA.debugLineNum = 51642438;BA.debugLine="p_m2.Visible = False"; +__ref._p_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { + }; +RDebugUtils.currentLine=51642442; + //BA.debugLineNum = 51642442;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642443; + //BA.debugLineNum = 51642443;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642444; + //BA.debugLineNum = 51642444;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=51642445; + //BA.debugLineNum = 51642445;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESSTA_M3",ba); +RDebugUtils.currentLine=51642447; + //BA.debugLineNum = 51642447;BA.debugLine="p_m3.Width = Root.Width * 0.94"; +__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=51642448; + //BA.debugLineNum = 51642448;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 6"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60)); + }else +{RDebugUtils.currentLine=51642449; + //BA.debugLineNum = 51642449;BA.debugLine="else if que_modulo = \"4\" Then"; +if ((__ref._que_modulo /*String*/ ).equals("4")) { +RDebugUtils.currentLine=51642451; + //BA.debugLineNum = 51642451;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible The"; +if (__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=51642453; + //BA.debugLineNum = 51642453;BA.debugLine="p_m3.Visible = False"; +__ref._p_m3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { + }; +RDebugUtils.currentLine=51642456; + //BA.debugLineNum = 51642456;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642457; + //BA.debugLineNum = 51642457;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642458; + //BA.debugLineNum = 51642458;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=51642459; + //BA.debugLineNum = 51642459;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642460; + //BA.debugLineNum = 51642460;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\""; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA_M4",ba); +RDebugUtils.currentLine=51642461; + //BA.debugLineNum = 51642461;BA.debugLine="p_m4.Width = Root.Width * 0.94"; +__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=51642462; + //BA.debugLineNum = 51642462;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 6"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+60)); +RDebugUtils.currentLine=51642464; + //BA.debugLineNum = 51642464;BA.debugLine="Dim Items2 As List"; +_items2 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51642465; + //BA.debugLineNum = 51642465;BA.debugLine="Items2.Initialize"; +_items2.Initialize(); +RDebugUtils.currentLine=51642466; + //BA.debugLineNum = 51642466;BA.debugLine="Items2.Add(\"Selecciona una opcion\")"; +_items2.Add((Object)("Selecciona una opcion")); +RDebugUtils.currentLine=51642467; + //BA.debugLineNum = 51642467;BA.debugLine="Items2.Add(\"Propio\")"; +_items2.Add((Object)("Propio")); +RDebugUtils.currentLine=51642468; + //BA.debugLineNum = 51642468;BA.debugLine="Items2.Add(\"Rentado\")"; +_items2.Add((Object)("Rentado")); +RDebugUtils.currentLine=51642469; + //BA.debugLineNum = 51642469;BA.debugLine="cb_p3_m4.SetItems(Items2)"; +__ref._cb_p3_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items2); +RDebugUtils.currentLine=51642470; + //BA.debugLineNum = 51642470;BA.debugLine="itemselect2 = \"Selecciona una opcion\""; +__ref._itemselect2 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642472; + //BA.debugLineNum = 51642472;BA.debugLine="Dim Items3 As List"; +_items3 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51642473; + //BA.debugLineNum = 51642473;BA.debugLine="Items3.Initialize"; +_items3.Initialize(); +RDebugUtils.currentLine=51642474; + //BA.debugLineNum = 51642474;BA.debugLine="Items3.Add(\"Selecciona una opcion\")"; +_items3.Add((Object)("Selecciona una opcion")); +RDebugUtils.currentLine=51642475; + //BA.debugLineNum = 51642475;BA.debugLine="Items3.Add(\"Completamente Surtido\")"; +_items3.Add((Object)("Completamente Surtido")); +RDebugUtils.currentLine=51642476; + //BA.debugLineNum = 51642476;BA.debugLine="Items3.Add(\"Bien Surtido\")"; +_items3.Add((Object)("Bien Surtido")); +RDebugUtils.currentLine=51642477; + //BA.debugLineNum = 51642477;BA.debugLine="Items3.Add(\"Poco Surtido\")"; +_items3.Add((Object)("Poco Surtido")); +RDebugUtils.currentLine=51642478; + //BA.debugLineNum = 51642478;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")"; +_items3.Add((Object)("Muy Poco Surtido")); +RDebugUtils.currentLine=51642479; + //BA.debugLineNum = 51642479;BA.debugLine="Items3.Add(\"Sin Existencias\")"; +_items3.Add((Object)("Sin Existencias")); +RDebugUtils.currentLine=51642480; + //BA.debugLineNum = 51642480;BA.debugLine="cb_p4_1_m4.SetItems(Items3)"; +__ref._cb_p4_1_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=51642481; + //BA.debugLineNum = 51642481;BA.debugLine="itemselect3 = \"Selecciona una opcion\""; +__ref._itemselect3 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642482; + //BA.debugLineNum = 51642482;BA.debugLine="cb_p4_2_m4.SetItems(Items3)"; +__ref._cb_p4_2_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=51642483; + //BA.debugLineNum = 51642483;BA.debugLine="itemselect4 = \"Selecciona una opcion\""; +__ref._itemselect4 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642484; + //BA.debugLineNum = 51642484;BA.debugLine="cb_p4_3_m4.SetItems(Items3)"; +__ref._cb_p4_3_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=51642485; + //BA.debugLineNum = 51642485;BA.debugLine="itemselect5 = \"Selecciona una opcion\""; +__ref._itemselect5 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642486; + //BA.debugLineNum = 51642486;BA.debugLine="cb_p4_4_m4.SetItems(Items3)"; +__ref._cb_p4_4_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=51642487; + //BA.debugLineNum = 51642487;BA.debugLine="itemselect6 = \"Selecciona una opcion\""; +__ref._itemselect6 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642488; + //BA.debugLineNum = 51642488;BA.debugLine="cb_p4_5_m4.SetItems(Items3)"; +__ref._cb_p4_5_m4 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items3); +RDebugUtils.currentLine=51642489; + //BA.debugLineNum = 51642489;BA.debugLine="itemselect7 = \"Selecciona una opcion\""; +__ref._itemselect7 /*String*/ = "Selecciona una opcion"; + }else +{RDebugUtils.currentLine=51642490; + //BA.debugLineNum = 51642490;BA.debugLine="else if que_modulo = \"5\" Then"; +if ((__ref._que_modulo /*String*/ ).equals("5")) { +RDebugUtils.currentLine=51642492; + //BA.debugLineNum = 51642492;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible The"; +if (__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +RDebugUtils.currentLine=51642493; + //BA.debugLineNum = 51642493;BA.debugLine="p_m4.Visible = False"; +__ref._p_m4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { + }; +RDebugUtils.currentLine=51642496; + //BA.debugLineNum = 51642496;BA.debugLine="p_cliente.Visible = False"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642497; + //BA.debugLineNum = 51642497;BA.debugLine="SV_ENCUESTA.Visible = True"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=51642498; + //BA.debugLineNum = 51642498;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642499; + //BA.debugLineNum = 51642499;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\""; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("ENCUESTA_M5",ba); +RDebugUtils.currentLine=51642500; + //BA.debugLineNum = 51642500;BA.debugLine="p_modulo5.Width = Root.Width * 0.94"; +__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.94)); +RDebugUtils.currentLine=51642501; + //BA.debugLineNum = 51642501;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Heigh"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight((int) (__ref._p_modulo5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()+30)); +RDebugUtils.currentLine=51642502; + //BA.debugLineNum = 51642502;BA.debugLine="Dim Items8 As List"; +_items8 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51642503; + //BA.debugLineNum = 51642503;BA.debugLine="Items8.Initialize"; +_items8.Initialize(); +RDebugUtils.currentLine=51642504; + //BA.debugLineNum = 51642504;BA.debugLine="Items8.Add(\"Selecciona una opcion\")"; +_items8.Add((Object)("Selecciona una opcion")); +RDebugUtils.currentLine=51642505; + //BA.debugLineNum = 51642505;BA.debugLine="Items8.Add(\"Completamente Surtido\")"; +_items8.Add((Object)("Completamente Surtido")); +RDebugUtils.currentLine=51642506; + //BA.debugLineNum = 51642506;BA.debugLine="Items8.Add(\"Bien Surtido\")"; +_items8.Add((Object)("Bien Surtido")); +RDebugUtils.currentLine=51642507; + //BA.debugLineNum = 51642507;BA.debugLine="Items8.Add(\"Poco Surtido\")"; +_items8.Add((Object)("Poco Surtido")); +RDebugUtils.currentLine=51642508; + //BA.debugLineNum = 51642508;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")"; +_items8.Add((Object)("Muy Poco Surtido")); +RDebugUtils.currentLine=51642509; + //BA.debugLineNum = 51642509;BA.debugLine="Items8.Add(\"Sin Existencias\")"; +_items8.Add((Object)("Sin Existencias")); +RDebugUtils.currentLine=51642510; + //BA.debugLineNum = 51642510;BA.debugLine="cb_p1_m5.SetItems(Items8)"; +__ref._cb_p1_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642511; + //BA.debugLineNum = 51642511;BA.debugLine="itemselect8 = \"Selecciona una opcion\""; +__ref._itemselect8 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642512; + //BA.debugLineNum = 51642512;BA.debugLine="cb_p2_m5.SetItems(Items8)"; +__ref._cb_p2_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642513; + //BA.debugLineNum = 51642513;BA.debugLine="itemselect9 = \"Selecciona una opcion\""; +__ref._itemselect9 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642514; + //BA.debugLineNum = 51642514;BA.debugLine="cb_p3_m5.SetItems(Items8)"; +__ref._cb_p3_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642515; + //BA.debugLineNum = 51642515;BA.debugLine="itemselect10 = \"Selecciona una opcion\""; +__ref._itemselect10 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642516; + //BA.debugLineNum = 51642516;BA.debugLine="cb_p4_m5.SetItems(Items8)"; +__ref._cb_p4_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642517; + //BA.debugLineNum = 51642517;BA.debugLine="itemselect11 = \"Selecciona una opcion\""; +__ref._itemselect11 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642518; + //BA.debugLineNum = 51642518;BA.debugLine="cb_p5_m5.SetItems(Items8)"; +__ref._cb_p5_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642519; + //BA.debugLineNum = 51642519;BA.debugLine="itemselect12 = \"Selecciona una opcion\""; +__ref._itemselect12 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642520; + //BA.debugLineNum = 51642520;BA.debugLine="cb_p6_m5.SetItems(Items8)"; +__ref._cb_p6_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642521; + //BA.debugLineNum = 51642521;BA.debugLine="itemselect13 = \"Selecciona una opcion\""; +__ref._itemselect13 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642522; + //BA.debugLineNum = 51642522;BA.debugLine="cb_p7_m5.SetItems(Items8)"; +__ref._cb_p7_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642523; + //BA.debugLineNum = 51642523;BA.debugLine="itemselect14 = \"Selecciona una opcion\""; +__ref._itemselect14 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642524; + //BA.debugLineNum = 51642524;BA.debugLine="cb_p8_m5.SetItems(Items8)"; +__ref._cb_p8_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642525; + //BA.debugLineNum = 51642525;BA.debugLine="itemselect15 = \"Selecciona una opcion\""; +__ref._itemselect15 /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51642526; + //BA.debugLineNum = 51642526;BA.debugLine="cb_p9_m5.SetItems(Items8)"; +__ref._cb_p9_m5 /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items8); +RDebugUtils.currentLine=51642527; + //BA.debugLineNum = 51642527;BA.debugLine="itemselect16 = \"Selecciona una opcion\""; +__ref._itemselect16 /*String*/ = "Selecciona una opcion"; + }}}}} +; + }else { +RDebugUtils.currentLine=51642530; + //BA.debugLineNum = 51642530;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642531; + //BA.debugLineNum = 51642531;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); + }; + break; } +case 1: { +RDebugUtils.currentLine=51642535; + //BA.debugLineNum = 51642535;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); + break; } +} +; + } +; + }else { +RDebugUtils.currentLine=51642687; + //BA.debugLineNum = 51642687;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51642688; + //BA.debugLineNum = 51642688;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); + }; + }else { +RDebugUtils.currentLine=51642691; + //BA.debugLineNum = 51642691;BA.debugLine="Msgbox(\"Contesta la pregunta por favor\",\"AVISO\")"; +__c.Msgbox(BA.ObjectToCharSequence("Contesta la pregunta por favor"),BA.ObjectToCharSequence("AVISO"),ba); + }; +RDebugUtils.currentLine=51642693; + //BA.debugLineNum = 51642693;BA.debugLine="End Sub"; +return ""; +} +public String _b_preventa_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_preventa_click", false)) + {return ((String) Debug.delegate(ba, "b_preventa_click", null));} +RDebugUtils.currentLine=61865984; + //BA.debugLineNum = 61865984;BA.debugLine="Private Sub b_preventa_Click"; +RDebugUtils.currentLine=61865986; + //BA.debugLineNum = 61865986;BA.debugLine="End Sub"; +return ""; +} +public void _b_preventa2_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_preventa2_click", false)) + {Debug.delegate(ba, "b_preventa2_click", null); return;} +ResumableSub_b_preventa2_Click rsub = new ResumableSub_b_preventa2_Click(this,__ref); rsub.resume(ba, null); } -public static class ResumableSub_Impresion5 extends BA.ResumableSub { -public ResumableSub_Impresion5(gunav2.keymon.com.mx.c_cliente parent) { +public static class ResumableSub_b_preventa2_Click extends BA.ResumableSub { +public ResumableSub_b_preventa2_Click(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; -String _elinefeed = ""; -int _cont = 0; -int _i = 0; -int _e = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null; -String _subtot = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null; -int step55; -int limit55; -int step66; -int limit66; -int step79; -int limit79; -int step98; -int limit98; -int step110; -int limit110; -int step125; -int limit125; -int step134; -int limit134; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null; +String _fechainicio = ""; +long _ticksinicio = 0L; +long _tickshoy = 0L; +int _diferenciadias = 0; +int _resultado = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -15483,903 +13340,6629 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 3590;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 3591;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 3592;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 3594;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 3595;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3596;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3597;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 3602;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; -_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); - //BA.debugLineNum = 3603;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; -parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 3604;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3605;BA.debugLine="If Not(Printer1.IsConnected) Then"; +RDebugUtils.currentLine=64487428; + //BA.debugLineNum = 64487428;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTURA\""; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "PREVENTA_FUTURA"; +RDebugUtils.currentLine=64487429; + //BA.debugLineNum = 64487429;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; +_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=64487430; + //BA.debugLineNum = 64487430;BA.debugLine="If pagarepen.RowCount > 0 Then"; if (true) break; case 1: //if -this.state = 38; -if (parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +this.state = 16; +if (_pagarepen.getRowCount()>0) { this.state = 3; }else { -this.state = 21; +this.state = 15; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 3607;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3608;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 3609;BA.debugLine="Do While Not(impresoraConectada)"; +RDebugUtils.currentLine=64487431; + //BA.debugLineNum = 64487431;BA.debugLine="pagarepen.Position = 0"; +_pagarepen.setPosition((int) (0)); +RDebugUtils.currentLine=64487432; + //BA.debugLineNum = 64487432;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=64487433; + //BA.debugLineNum = 64487433;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; +_fechainicio = _pagarepen.GetString("FECHA"); +RDebugUtils.currentLine=64487435; + //BA.debugLineNum = 64487435;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; +parent.__c.LogImpl("064487435",_pagarepen.GetString("FECHA"),0); +RDebugUtils.currentLine=64487438; + //BA.debugLineNum = 64487438;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; +_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio); +RDebugUtils.currentLine=64487439; + //BA.debugLineNum = 64487439;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; +_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())); +RDebugUtils.currentLine=64487442; + //BA.debugLineNum = 64487442;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; +_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay); +RDebugUtils.currentLine=64487445; + //BA.debugLineNum = 64487445;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; +parent.__c.LogImpl("064487445",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0); +RDebugUtils.currentLine=64487447; + //BA.debugLineNum = 64487447;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=64487448; + //BA.debugLineNum = 64487448;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=64487450; + //BA.debugLineNum = 64487450;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT"; if (true) break; case 4: -//do while -this.state = 19; -while (parent.__c.Not(parent._impresoraconectada)) { +//if +this.state = 13; +if (_diferenciadias<=__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { this.state = 6; -if (true) break; -} +}else +{RDebugUtils.currentLine=64487457; + //BA.debugLineNum = 64487457;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASCR"; +if (_diferenciadias>__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { +this.state = 12; +}} if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 3610;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 107; +RDebugUtils.currentLine=64487452; + //BA.debugLineNum = 64487452;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el día"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=64487453; + //BA.debugLineNum = 64487453;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_preventa2_click"), null); +this.state = 17; return; -case 107: +case 17: //C this.state = 7; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 3611;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 3612;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +RDebugUtils.currentLine=64487454; + //BA.debugLineNum = 64487454;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 7: //if -this.state = 12; -if (_cont==7) { +this.state = 10; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { this.state = 9; -;}if (true) break; +}if (true) break; case 9: //C -this.state = 12; -parent._printer1._connect /*boolean*/ (); -if (true) break; +this.state = 10; +RDebugUtils.currentLine=64487455; + //BA.debugLineNum = 64487455;BA.debugLine="gestionar"; +__ref._gestionar /*String*/ (null); + if (true) break; + +case 10: +//C +this.state = 13; +; + if (true) break; case 12: //C this.state = 13; -; - //BA.debugLineNum = 3613;BA.debugLine="If cont > 15 Then impresoraConectada = True"; -if (true) break; +RDebugUtils.currentLine=64487458; + //BA.debugLineNum = 64487458;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por qu"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; case 13: -//if -this.state = 18; -if (_cont>15) { -this.state = 15; -;}if (true) break; +//C +this.state = 16; +; + if (true) break; case 15: //C -this.state = 18; -parent._impresoraconectada = parent.__c.True; +this.state = 16; +RDebugUtils.currentLine=64487461; + //BA.debugLineNum = 64487461;BA.debugLine="gestionar"; +__ref._gestionar /*String*/ (null); + if (true) break; + +case 16: +//C +this.state = -1; +; +RDebugUtils.currentLine=64487463; + //BA.debugLineNum = 64487463;BA.debugLine="End Sub"; if (true) break; + } + } + } +} +public String _gestionar(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "gestionar", false)) + {return ((String) Debug.delegate(ba, "gestionar", null));} +anywheresoftware.b4a.objects.IntentWrapper _intent1 = null; +String _enviorutas = ""; +gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=51445760; + //BA.debugLineNum = 51445760;BA.debugLine="Sub gestionar"; +RDebugUtils.currentLine=51445761; + //BA.debugLineNum = 51445761;BA.debugLine="If B_IMP.Visible = True Then"; +if (__ref._b_imp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=51445762; + //BA.debugLineNum = 51445762;BA.debugLine="If Not(Subs.revisaImpreso) Then"; +if (__c.Not(_subs._revisaimpreso /*boolean*/ (ba))) { +RDebugUtils.currentLine=51445763; + //BA.debugLineNum = 51445763;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=51445764; + //BA.debugLineNum = 51445764;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51445765; + //BA.debugLineNum = 51445765;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("encuesta")).equals("0")) { +RDebugUtils.currentLine=51445766; + //BA.debugLineNum = 51445766;BA.debugLine="Dim Intent1 As Intent"; +_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=51445767; + //BA.debugLineNum = 51445767;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/c"; +_enviorutas = "guna://tienda360/config?clienteId="+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"&almacen="+__ref._almacen /*String*/ +"&ruta="+_subs._traeruta /*String*/ (ba); +RDebugUtils.currentLine=51445768; + //BA.debugLineNum = 51445768;BA.debugLine="Log(enviorutas)"; +__c.LogImpl("051445768",_enviorutas,0); +RDebugUtils.currentLine=51445769; + //BA.debugLineNum = 51445769;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envior"; +_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas); +RDebugUtils.currentLine=51445770; + //BA.debugLineNum = 51445770;BA.debugLine="Try"; +try {RDebugUtils.currentLine=51445771; + //BA.debugLineNum = 51445771;BA.debugLine="Starter.encuesta = 1"; +_starter._encuesta /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=51445772; + //BA.debugLineNum = 51445772;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=51445773; + //BA.debugLineNum = 51445773;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encu"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); +RDebugUtils.currentLine=51445774; + //BA.debugLineNum = 51445774;BA.debugLine="StartActivity(Intent1)"; +__c.StartActivity(ba,(Object)(_intent1.getObject())); +RDebugUtils.currentLine=51445775; + //BA.debugLineNum = 51445775;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + } + catch (Exception e17) { + ba.setLastException(e17);RDebugUtils.currentLine=51445777; + //BA.debugLineNum = 51445777;BA.debugLine="Starter.encuesta = 0"; +_starter._encuesta /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51445781; + //BA.debugLineNum = 51445781;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=51445788; + //BA.debugLineNum = 51445788;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=51445791; + //BA.debugLineNum = 51445791;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) { +RDebugUtils.currentLine=51445792; + //BA.debugLineNum = 51445792;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=51445793; + //BA.debugLineNum = 51445793;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51445794; + //BA.debugLineNum = 51445794;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("encuesta")).equals("0")) { +RDebugUtils.currentLine=51445795; + //BA.debugLineNum = 51445795;BA.debugLine="Dim Intent1 As Intent"; +_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=51445796; + //BA.debugLineNum = 51445796;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/"; +_enviorutas = "guna://tienda360/config?clienteId="+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"&almacen="+__ref._almacen /*String*/ +"&ruta="+_subs._traeruta /*String*/ (ba); +RDebugUtils.currentLine=51445797; + //BA.debugLineNum = 51445797;BA.debugLine="Log(enviorutas)"; +__c.LogImpl("051445797",_enviorutas,0); +RDebugUtils.currentLine=51445798; + //BA.debugLineNum = 51445798;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envio"; +_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas); +RDebugUtils.currentLine=51445799; + //BA.debugLineNum = 51445799;BA.debugLine="Try"; +try {RDebugUtils.currentLine=51445800; + //BA.debugLineNum = 51445800;BA.debugLine="Starter.encuesta = 1"; +_starter._encuesta /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=51445801; + //BA.debugLineNum = 51445801;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=51445802; + //BA.debugLineNum = 51445802;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET enc"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); +RDebugUtils.currentLine=51445803; + //BA.debugLineNum = 51445803;BA.debugLine="StartActivity(Intent1)"; +__c.StartActivity(ba,(Object)(_intent1.getObject())); +RDebugUtils.currentLine=51445804; + //BA.debugLineNum = 51445804;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + } + catch (Exception e39) { + ba.setLastException(e39);RDebugUtils.currentLine=51445806; + //BA.debugLineNum = 51445806;BA.debugLine="Starter.encuesta = 0"; +_starter._encuesta /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51445810; + //BA.debugLineNum = 51445810;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=51445817; + //BA.debugLineNum = 51445817;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=51445820; + //BA.debugLineNum = 51445820;BA.debugLine="p_transparenteTicketImpreso.Visible = True"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); + }; + }; + }else { +RDebugUtils.currentLine=51445824; + //BA.debugLineNum = 51445824;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=51445825; + //BA.debugLineNum = 51445825;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51445826; + //BA.debugLineNum = 51445826;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("encuesta")).equals("0")) { +RDebugUtils.currentLine=51445827; + //BA.debugLineNum = 51445827;BA.debugLine="Dim Intent1 As Intent"; +_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=51445828; + //BA.debugLineNum = 51445828;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/co"; +_enviorutas = "guna://tienda360/config?clienteId="+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"&almacen="+__ref._almacen /*String*/ +"&ruta="+_subs._traeruta /*String*/ (ba); +RDebugUtils.currentLine=51445829; + //BA.debugLineNum = 51445829;BA.debugLine="Log(enviorutas)"; +__c.LogImpl("051445829",_enviorutas,0); +RDebugUtils.currentLine=51445830; + //BA.debugLineNum = 51445830;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envioru"; +_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas); +RDebugUtils.currentLine=51445831; + //BA.debugLineNum = 51445831;BA.debugLine="Try"; +try {RDebugUtils.currentLine=51445832; + //BA.debugLineNum = 51445832;BA.debugLine="Starter.encuesta = 1"; +_starter._encuesta /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=51445833; + //BA.debugLineNum = 51445833;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=51445834; + //BA.debugLineNum = 51445834;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encue"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); +RDebugUtils.currentLine=51445835; + //BA.debugLineNum = 51445835;BA.debugLine="StartActivity(Intent1)"; +__c.StartActivity(ba,(Object)(_intent1.getObject())); +RDebugUtils.currentLine=51445836; + //BA.debugLineNum = 51445836;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + } + catch (Exception e64) { + ba.setLastException(e64);RDebugUtils.currentLine=51445838; + //BA.debugLineNum = 51445838;BA.debugLine="Starter.encuesta = 0"; +_starter._encuesta /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=51445842; + //BA.debugLineNum = 51445842;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=51445849; + //BA.debugLineNum = 51445849;BA.debugLine="compra"; +__ref._compra /*String*/ (null); + }; + }; +RDebugUtils.currentLine=51445852; + //BA.debugLineNum = 51445852;BA.debugLine="End Sub"; +return ""; +} +public String _b_preventa2_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_preventa2_longclick", false)) + {return ((String) Debug.delegate(ba, "b_preventa2_longclick", null));} +RDebugUtils.currentLine=54001664; + //BA.debugLineNum = 54001664;BA.debugLine="Private Sub b_preventa2_LongClick"; +RDebugUtils.currentLine=54001666; + //BA.debugLineNum = 54001666;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango"; +__c.LogImpl("054001666",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0); +RDebugUtils.currentLine=54001667; + //BA.debugLineNum = 54001667;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango"; +__c.LogImpl("054001667",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0); +RDebugUtils.currentLine=54001668; + //BA.debugLineNum = 54001668;BA.debugLine="Log(NumberFormat2( (Subs.calculaTotalConPromoXRan"; +__c.LogImpl("054001668",__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False),0); +RDebugUtils.currentLine=54001669; + //BA.debugLineNum = 54001669;BA.debugLine="Log(NumberFormat2( (((Subs.calculaTotalConPromoXR"; +__c.LogImpl("054001669",__c.NumberFormat2(((((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))))*100)/(double)(double)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)))),(int) (0),(int) (2),(int) (2),__c.False),0); +RDebugUtils.currentLine=54001672; + //BA.debugLineNum = 54001672;BA.debugLine="End Sub"; +return ""; +} +public String _b_venta_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_venta_click", false)) + {return ((String) Debug.delegate(ba, "b_venta_click", null));} +RDebugUtils.currentLine=54591488; + //BA.debugLineNum = 54591488;BA.debugLine="Sub b_venta_Click"; +RDebugUtils.currentLine=54591489; + //BA.debugLineNum = 54591489;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=54591490; + //BA.debugLineNum = 54591490;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=54591491; + //BA.debugLineNum = 54591491;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=54591519; + //BA.debugLineNum = 54591519;BA.debugLine="End Sub"; +return ""; +} +public String _recalculoxcant(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "recalculoxcant", false)) + {return ((String) Debug.delegate(ba, "recalculoxcant", null));} +int _promespdes = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel = null; +int _hjh = 0; +float _recalculo = 0f; +float _recalculototal = 0f; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel2 = null; +RDebugUtils.currentLine=50593792; + //BA.debugLineNum = 50593792;BA.debugLine="Sub recalculoXcant"; +RDebugUtils.currentLine=50593794; + //BA.debugLineNum = 50593794;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_CEDIS = ? ",new String[]{_subs._traealmacen /*String*/ (ba)}))); +RDebugUtils.currentLine=50593795; + //BA.debugLineNum = 50593795;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50593796; + //BA.debugLineNum = 50593796;BA.debugLine="For promespdes = 0 To c.RowCount -1"; +{ +final int step3 = 1; +final int limit3 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_promespdes = (int) (0) ; +for (;_promespdes <= limit3 ;_promespdes = _promespdes + step3 ) { +RDebugUtils.currentLine=50593797; + //BA.debugLineNum = 50593797;BA.debugLine="c.Position = promespdes"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_promespdes); +RDebugUtils.currentLine=50593798; + //BA.debugLineNum = 50593798;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt."; +_rangosel = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rangosel = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT"))}))); +RDebugUtils.currentLine=50593799; + //BA.debugLineNum = 50593799;BA.debugLine="If rangosel.RowCount > 0 Then"; +if (_rangosel.getRowCount()>0) { +RDebugUtils.currentLine=50593800; + //BA.debugLineNum = 50593800;BA.debugLine="For hjh = 0 To rangosel.RowCount-1"; +{ +final int step7 = 1; +final int limit7 = (int) (_rangosel.getRowCount()-1); +_hjh = (int) (0) ; +for (;_hjh <= limit7 ;_hjh = _hjh + step7 ) { +RDebugUtils.currentLine=50593801; + //BA.debugLineNum = 50593801;BA.debugLine="rangosel.Position = hjh"; +_rangosel.setPosition(_hjh); +RDebugUtils.currentLine=50593802; + //BA.debugLineNum = 50593802;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains"; +if (_rangosel.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) { +RDebugUtils.currentLine=50593803; + //BA.debugLineNum = 50593803;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +__c.LogImpl("050593803",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=50593804; + //BA.debugLineNum = 50593804;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; +__c.LogImpl("050593804",_rangosel.GetString("CAT_PD_DESCUENTO"),0); +RDebugUtils.currentLine=50593805; + //BA.debugLineNum = 50593805;BA.debugLine="Private recalculo As Float = c.GetString(\"PE"; +_recalculo = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); +RDebugUtils.currentLine=50593806; + //BA.debugLineNum = 50593806;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +__c.LogImpl("050593806",BA.NumberToString(_recalculo),__c.Colors.Blue); +RDebugUtils.currentLine=50593807; + //BA.debugLineNum = 50593807;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +__c.LogImpl("050593807",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=50593808; + //BA.debugLineNum = 50593808;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")"; +__c.LogImpl("050593808",__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0); +RDebugUtils.currentLine=50593809; + //BA.debugLineNum = 50593809;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; +__c.LogImpl("050593809",_rangosel.GetString("CAT_PD_DESCUENTO"),0); +RDebugUtils.currentLine=50593810; + //BA.debugLineNum = 50593810;BA.debugLine="Private recalculototal As Float =c.GetString"; +_recalculototal = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*_recalculo); +RDebugUtils.currentLine=50593811; + //BA.debugLineNum = 50593811;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_REC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? and PE_FOLIO = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel.GetString("CAT_PD_COD_PROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")})); + }; + } +}; + }else { +RDebugUtils.currentLine=50593815; + //BA.debugLineNum = 50593815;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm"; +_rangosel2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rangosel2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT"))}))); +RDebugUtils.currentLine=50593817; + //BA.debugLineNum = 50593817;BA.debugLine="If rangosel2.RowCount > 0 Then"; +if (_rangosel2.getRowCount()>0) { +RDebugUtils.currentLine=50593819; + //BA.debugLineNum = 50593819;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1"; +{ +final int step24 = 1; +final int limit24 = (int) (_rangosel2.getRowCount()-1); +_hjh = (int) (0) ; +for (;_hjh <= limit24 ;_hjh = _hjh + step24 ) { +RDebugUtils.currentLine=50593820; + //BA.debugLineNum = 50593820;BA.debugLine="rangosel2.Position = hjh"; +_rangosel2.setPosition(_hjh); +RDebugUtils.currentLine=50593821; + //BA.debugLineNum = 50593821;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai"; +if (_rangosel2.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) { +RDebugUtils.currentLine=50593822; + //BA.debugLineNum = 50593822;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +__c.LogImpl("050593822",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=50593823; + //BA.debugLineNum = 50593823;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; +__c.LogImpl("050593823",_rangosel2.GetString("CAT_PD_DESCUENTO"),0); +RDebugUtils.currentLine=50593824; + //BA.debugLineNum = 50593824;BA.debugLine="Private recalculo As Float = c.GetString(\"P"; +_recalculo = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); +RDebugUtils.currentLine=50593825; + //BA.debugLineNum = 50593825;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +__c.LogImpl("050593825",BA.NumberToString(_recalculo),__c.Colors.Blue); +RDebugUtils.currentLine=50593826; + //BA.debugLineNum = 50593826;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +__c.LogImpl("050593826",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=50593827; + //BA.debugLineNum = 50593827;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\""; +__c.LogImpl("050593827",__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0); +RDebugUtils.currentLine=50593828; + //BA.debugLineNum = 50593828;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; +__c.LogImpl("050593828",_rangosel2.GetString("CAT_PD_DESCUENTO"),0); +RDebugUtils.currentLine=50593829; + //BA.debugLineNum = 50593829;BA.debugLine="Private recalculototal As Float = rangosel2"; +_recalculototal = (float) ((double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_RANGO2")))*_recalculo); +RDebugUtils.currentLine=50593832; + //BA.debugLineNum = 50593832;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel2.GetString("CAT_PD_COD_PROMO"),_rangosel2.GetString("CAT_PD_RANGO2"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")})); + }; + } +}; + }else { +RDebugUtils.currentLine=50593836; + //BA.debugLineNum = 50593836;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECA"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")})); + }; +RDebugUtils.currentLine=50593838; + //BA.debugLineNum = 50593838;BA.debugLine="rangosel2.Close"; +_rangosel2.Close(); + }; +RDebugUtils.currentLine=50593840; + //BA.debugLineNum = 50593840;BA.debugLine="rangosel.Close"; +_rangosel.Close(); + } +}; + }; +RDebugUtils.currentLine=50593843; + //BA.debugLineNum = 50593843;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECALCUL"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_subs._traealmacen /*String*/ (ba)})); +RDebugUtils.currentLine=50593844; + //BA.debugLineNum = 50593844;BA.debugLine="End Sub"; +return ""; +} +public void _cuestionario(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cuestionario", false)) + {Debug.delegate(ba, "cuestionario", null); return;} +ResumableSub_Cuestionario rsub = new ResumableSub_Cuestionario(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_Cuestionario extends BA.ResumableSub { +public ResumableSub_Cuestionario(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +gunav2.keymon.com.mx.c_cliente __ref; +gunav2.keymon.com.mx.c_cliente parent; +boolean _logger = false; +String _fecha = ""; +int _cuantos2 = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _enc = null; +anywheresoftware.b4a.objects.collections.List _listapreguntas = null; +int _j = 0; +int _i = 0; +String _btop = ""; +int step29; +int limit29; +int step35; +int limit35; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=60620801; + //BA.debugLineNum = 60620801;BA.debugLine="Log(\"Entramos a Cuestionario\")"; +parent.__c.LogImpl("060620801","Entramos a Cuestionario",0); +RDebugUtils.currentLine=60620802; + //BA.debugLineNum = 60620802;BA.debugLine="Private logger As Boolean = True"; +_logger = parent.__c.True; +RDebugUtils.currentLine=60620803; + //BA.debugLineNum = 60620803;BA.debugLine="b_encuesta_continuar.Visible = False"; +__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=60620804; + //BA.debugLineNum = 60620804;BA.debugLine="et_encuesta.Visible = False"; +__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=60620805; + //BA.debugLineNum = 60620805;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=60620806; + //BA.debugLineNum = 60620806;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=60620807; + //BA.debugLineNum = 60620807;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=60620808; + //BA.debugLineNum = 60620808;BA.debugLine="Private fecha As String = $\"${DateTime.Date(DateT"; +_fecha = (""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())))+" "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.DateTime.Time(parent.__c.DateTime.getNow())))+""); +RDebugUtils.currentLine=60620809; + //BA.debugLineNum = 60620809;BA.debugLine="CUANTOS = 0"; +__ref._cuantos /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=60620811; + //BA.debugLineNum = 60620811;BA.debugLine="If logger Then Log($\"Tomar_Foto = ${TOMAR_FOTO}\"$"; +if (true) break; + +case 1: +//if +this.state = 6; +if (_logger) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +parent.__c.LogImpl("060620811",("Tomar_Foto = "+parent.__c.SmartStringFormatter("",(Object)(__ref._tomar_foto /*String*/ ))+""),0); +if (true) break; + +case 6: +//C +this.state = 7; +; +RDebugUtils.currentLine=60620812; + //BA.debugLineNum = 60620812;BA.debugLine="If TOMAR_FOTO = 0 Then"; +if (true) break; + +case 7: +//if +this.state = 16; +if ((__ref._tomar_foto /*String*/ ).equals(BA.NumberToString(0))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=60620813; + //BA.debugLineNum = 60620813;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from HIST_ENCUESTA where HE_CLIE In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=60620814; + //BA.debugLineNum = 60620814;BA.debugLine="s.Position= 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=60620815; + //BA.debugLineNum = 60620815;BA.debugLine="CUANTOS = s.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=60620816; + //BA.debugLineNum = 60620816;BA.debugLine="Private CUANTOS2 As Int = 0"; +_cuantos2 = (int) (0); +RDebugUtils.currentLine=60620817; + //BA.debugLineNum = 60620817;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS2 from HIST_ENCUESTA2 where HE_CLIENTE In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=60620818; + //BA.debugLineNum = 60620818;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=60620819; + //BA.debugLineNum = 60620819;BA.debugLine="CUANTOS2 = s.GetString(\"CUANTOS2\")"; +_cuantos2 = (int)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS2"))); +RDebugUtils.currentLine=60620820; + //BA.debugLineNum = 60620820;BA.debugLine="If logger Then LogColor($\"Hist:encuesta=${CUANTO"; +if (true) break; + +case 10: +//if +this.state = 15; +if (_logger) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent.__c.LogImpl("060620820",("Hist:encuesta="+parent.__c.SmartStringFormatter("",(Object)(__ref._cuantos /*String*/ ))+", hist_encuesta2 = "+parent.__c.SmartStringFormatter("",(Object)(_cuantos2))+""),parent.__c.Colors.Magenta); +if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; +; +RDebugUtils.currentLine=60620824; + //BA.debugLineNum = 60620824;BA.debugLine="If logger Then Log(CUANTOS & \"|\" & CUANTOS2)"; + +case 16: +//if +this.state = 21; +if (_logger) { +this.state = 18; +;}if (true) break; + case 18: //C -this.state = 4; -; - if (true) break; - -case 19: -//C -this.state = 38; -; - //BA.debugLineNum = 3615;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 108; -return; -case 108: -//C -this.state = 38; -; - //BA.debugLineNum = 3616;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; - if (true) break; +this.state = 21; +parent.__c.LogImpl("060620824",__ref._cuantos /*String*/ +"|"+BA.NumberToString(_cuantos2),0); +if (true) break; case 21: //C this.state = 22; - //BA.debugLineNum = 3619;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3620;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 3621;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +; +RDebugUtils.currentLine=60620825; + //BA.debugLineNum = 60620825;BA.debugLine="If CUANTOS = 0 And CUANTOS2 = 0 Then"; if (true) break; case 22: -//do while -this.state = 37; -while (parent.__c.Not(parent._impresoraconectada) || parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +//if +this.state = 224; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0)) && _cuantos2==0) { this.state = 24; -if (true) break; -} -if (true) break; +}else { +this.state = 223; +}if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 3622;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 109; -return; -case 109: -//C -this.state = 25; -; - //BA.debugLineNum = 3623;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 3624;BA.debugLine="If cont = 2 Then Printer1.Connect"; +RDebugUtils.currentLine=60620826; + //BA.debugLineNum = 60620826;BA.debugLine="Private enc As Cursor = B4XPages.MainPage.skmt.E"; +_enc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_enc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_EP_ID, CAT_EP_IDTIPOPREGUNTA, CAT_CE_DESCRIPCION, CAT_EP_PREGUNTA, CAT_EP_RES1_PRED, CAT_EP_RES2_PRED, CAT_EP_RES3_PRED, CAT_EP_ORDEN_PREGUNTA FROM CAT_ENCUESTA_PREGUNTA ORDER BY CAT_CE_DESCRIPCION, CAST(CAT_EP_ORDEN_PREGUNTA AS DECIMAL)"))); +RDebugUtils.currentLine=60620827; + //BA.debugLineNum = 60620827;BA.debugLine="If enc.RowCount > 0 Then"; if (true) break; case 25: //if -this.state = 30; -if (_cont==2) { +this.state = 221; +if (_enc.getRowCount()>0) { this.state = 27; -;}if (true) break; +}else { +this.state = 220; +}if (true) break; case 27: //C -this.state = 30; -parent._printer1._connect /*boolean*/ (); +this.state = 28; +RDebugUtils.currentLine=60620828; + //BA.debugLineNum = 60620828;BA.debugLine="enc.position = 0"; +_enc.setPosition((int) (0)); +RDebugUtils.currentLine=60620829; + //BA.debugLineNum = 60620829;BA.debugLine="If logger Then Log($\"CAT_EP_ID=${enc.GetString("; if (true) break; +case 28: +//if +this.state = 33; +if (_logger) { +this.state = 30; +;}if (true) break; + case 30: //C -this.state = 31; -; - //BA.debugLineNum = 3625;BA.debugLine="If cont > 4 Then impresoraConectada = True"; -if (true) break; - -case 31: -//if -this.state = 36; -if (_cont>4) { this.state = 33; -;}if (true) break; +parent.__c.LogImpl("060620829",("CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+""),0); +if (true) break; case 33: //C -this.state = 36; -parent._impresoraconectada = parent.__c.True; +this.state = 34; +; +RDebugUtils.currentLine=60620830; + //BA.debugLineNum = 60620830;BA.debugLine="Private listaPreguntas As List"; +_listapreguntas = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=60620831; + //BA.debugLineNum = 60620831;BA.debugLine="listaPreguntas.Initialize"; +_listapreguntas.Initialize(); +RDebugUtils.currentLine=60620832; + //BA.debugLineNum = 60620832;BA.debugLine="For j = 0 To enc.RowCount - 1 'Ponemos en una l"; +if (true) break; + +case 34: +//for +this.state = 37; +step29 = 1; +limit29 = (int) (_enc.getRowCount()-1); +_j = (int) (0) ; +this.state = 225; +if (true) break; + +case 225: +//C +this.state = 37; +if ((step29 > 0 && _j <= limit29) || (step29 < 0 && _j >= limit29)) this.state = 36; +if (true) break; + +case 226: +//C +this.state = 225; +_j = ((int)(0 + _j + step29)) ; if (true) break; case 36: //C -this.state = 22; -; +this.state = 226; +RDebugUtils.currentLine=60620833; + //BA.debugLineNum = 60620833;BA.debugLine="enc.Position = j"; +_enc.setPosition(_j); +RDebugUtils.currentLine=60620834; + //BA.debugLineNum = 60620834;BA.debugLine="listaPreguntas.Add(enc.GetString(\"CAT_EP_ID\"))"; +_listapreguntas.Add((Object)(_enc.GetString("CAT_EP_ID"))); if (true) break; +if (true) break; +; +RDebugUtils.currentLine=60620836; + //BA.debugLineNum = 60620836;BA.debugLine="If logger Then Log(listaPreguntas)"; case 37: -//C -this.state = 38; -; - //BA.debugLineNum = 3627;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 110; -return; -case 110: -//C -this.state = 38; -; - //BA.debugLineNum = 3628;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; - if (true) break; - -case 38: -//C +//if +this.state = 42; +if (_logger) { this.state = 39; -; - //BA.debugLineNum = 3631;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3632;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3633;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 3649;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client"; -parent._printer1._writestring /*String*/ ("Centro de atencion a Clientes Bat"+_elinefeed); - //BA.debugLineNum = 3650;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &"; -parent._printer1._writestring /*String*/ ("Telefono: 800 400 5000"+_elinefeed); - //BA.debugLineNum = 3651;BA.debugLine="Printer1.WriteString(eLINEFEED)"; -parent._printer1._writestring /*String*/ (_elinefeed); - //BA.debugLineNum = 3652;BA.debugLine="Printer1.WriteString(eLINEFEED)"; -parent._printer1._writestring /*String*/ (_elinefeed); - //BA.debugLineNum = 3653;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA"; -parent._printer1._writestring /*String*/ ("DISTRIBUIDORA ROCHA TULA PACHUCA"+_elinefeed); - //BA.debugLineNum = 3654;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; -parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed); - //BA.debugLineNum = 3656;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed); - //BA.debugLineNum = 3657;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._stime+_elinefeed); - //BA.debugLineNum = 3658;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; -parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed); - //BA.debugLineNum = 3659;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; -parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed); - //BA.debugLineNum = 3660;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; -parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed); - //BA.debugLineNum = 3661;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; -parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 3662;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; -parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed); - //BA.debugLineNum = 3664;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; -parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed); - //BA.debugLineNum = 3665;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; -parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed); - //BA.debugLineNum = 3667;BA.debugLine="Printer1.WriteString(\"--------------PEDIDO PREACO"; -parent._printer1._writestring /*String*/ ("--------------PEDIDO PREACORDADO----------------"+_elinefeed); - //BA.debugLineNum = 3669;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)}))); - //BA.debugLineNum = 3670;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; +;}if (true) break; case 39: -//if -this.state = 76; -if (parent._s.getRowCount()>0) { -this.state = 41; -}if (true) break; - -case 41: //C this.state = 42; - //BA.debugLineNum = 3671;BA.debugLine="For i=0 To S.RowCount -1"; +parent.__c.LogImpl("060620836",BA.ObjectToString(_listapreguntas),0); if (true) break; case 42: +//C +this.state = 43; +; +RDebugUtils.currentLine=60620837; + //BA.debugLineNum = 60620837;BA.debugLine="enc.position = 0"; +_enc.setPosition((int) (0)); +RDebugUtils.currentLine=60620838; + //BA.debugLineNum = 60620838;BA.debugLine="For i = 0 To enc.RowCount - 1"; +if (true) break; + +case 43: //for -this.state = 75; -step55 = 1; -limit55 = (int) (parent._s.getRowCount()-1); +this.state = 218; +step35 = 1; +limit35 = (int) (_enc.getRowCount()-1); _i = (int) (0) ; -this.state = 111; +this.state = 227; if (true) break; -case 111: +case 227: //C -this.state = 75; -if ((step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55)) this.state = 44; +this.state = 218; +if ((step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35)) this.state = 45; if (true) break; -case 112: +case 228: //C -this.state = 111; -_i = ((int)(0 + _i + step55)) ; -if (true) break; - -case 44: -//C -this.state = 45; - //BA.debugLineNum = 3672;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 3673;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +this.state = 227; +_i = ((int)(0 + _i + step35)) ; if (true) break; case 45: -//if -this.state = 74; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { -this.state = 47; -}else { -this.state = 49; -}if (true) break; - -case 47: //C -this.state = 74; - //BA.debugLineNum = 3674;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - if (true) break; - -case 49: -//C -this.state = 50; - //BA.debugLineNum = 3676;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; +this.state = 46; +RDebugUtils.currentLine=60620839; + //BA.debugLineNum = 60620839;BA.debugLine="Log(\"#########################################"; +parent.__c.LogImpl("060620839","########################################################",0); +RDebugUtils.currentLine=60620842; + //BA.debugLineNum = 60620842;BA.debugLine="If logger Then Log($\"Tipo: ${enc.GetString(\"CA"; if (true) break; -case 50: +case 46: //if -this.state = 73; -if (parent._s.GetInt("PE_RECALCULO")==0) { +this.state = 51; +if (_logger) { +this.state = 48; +;}if (true) break; + +case 48: +//C +this.state = 51; +parent.__c.LogImpl("060620842",("Tipo: "+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_IDTIPOPREGUNTA")))+", CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+", CAT_EP_PREGUNTA="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_PREGUNTA")))+""),0); +if (true) break; + +case 51: +//C this.state = 52; -}else if(parent._s.GetInt("PE_CANT")==parent._s.GetInt("PE_RECCANT")) { -this.state = 58; -}else if(parent._s.GetInt("PE_CANT")!=parent._s.GetInt("PE_RECCANT")) { -this.state = 64; -}if (true) break; +; +RDebugUtils.currentLine=60620843; + //BA.debugLineNum = 60620843;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") <> 4"; +if (true) break; case 52: -//C -this.state = 53; - //BA.debugLineNum = 3677;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3678;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3679;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 3680;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 3682;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3684;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; +//if +this.state = 55; +if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(4)) == false && __ref._indicepregunta /*int*/ !=0) { +this.state = 54; +}if (true) break; -case 53: -//for -this.state = 56; -step66 = 1; -limit66 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 113; -if (true) break; - -case 113: +case 54: //C -this.state = 56; -if ((step66 > 0 && _e <= limit66) || (step66 < 0 && _e >= limit66)) this.state = 55; -if (true) break; - -case 114: -//C -this.state = 113; -_e = ((int)(0 + _e + step66)) ; -if (true) break; +this.state = 55; +RDebugUtils.currentLine=60620844; + //BA.debugLineNum = 60620844;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G"; +__ref._indicepregunta /*int*/ = (int) (_listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_ID")))+1); +RDebugUtils.currentLine=60620845; + //BA.debugLineNum = 60620845;BA.debugLine="i = indicePregunta"; +_i = __ref._indicepregunta /*int*/ ; +RDebugUtils.currentLine=60620846; + //BA.debugLineNum = 60620846;BA.debugLine="Log($\"i = ${i}\"$)"; +parent.__c.LogImpl("060620846",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0); + if (true) break; +; +RDebugUtils.currentLine=60620848; + //BA.debugLineNum = 60620848;BA.debugLine="If logger Then Log(\"indicePregunta: \" & indice"; case 55: +//if +this.state = 60; +if (_logger) { +this.state = 57; +;}if (true) break; + +case 57: //C -this.state = 114; - //BA.debugLineNum = 3685;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; +this.state = 60; +parent.__c.LogImpl("060620848","indicePregunta: "+BA.NumberToString(__ref._indicepregunta /*int*/ )+", TIPO: "+_enc.GetString("CAT_EP_IDTIPOPREGUNTA"),0); if (true) break; -case 56: +case 60: //C -this.state = 73; +this.state = 61; ; - //BA.debugLineNum = 3687;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed); - //BA.debugLineNum = 3688;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3689;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3690;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; - -case 58: -//C -this.state = 59; - //BA.debugLineNum = 3692;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3693;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3694;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 3695;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano); - //BA.debugLineNum = 3697;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3699;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 59: -//for -this.state = 62; -step79 = 1; -limit79 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 115; -if (true) break; - -case 115: -//C -this.state = 62; -if ((step79 > 0 && _e <= limit79) || (step79 < 0 && _e >= limit79)) this.state = 61; -if (true) break; - -case 116: -//C -this.state = 115; -_e = ((int)(0 + _e + step79)) ; +RDebugUtils.currentLine=60620850; + //BA.debugLineNum = 60620850;BA.debugLine="If logger Then Log($\"EncuestaRes = ${encuestaR"; if (true) break; case 61: +//if +this.state = 66; +if (_logger) { +this.state = 63; +;}if (true) break; + +case 63: //C -this.state = 116; - //BA.debugLineNum = 3700;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; +this.state = 66; +parent.__c.LogImpl("060620850",("EncuestaRes = "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),0); if (true) break; -case 62: +case 66: //C -this.state = 73; +this.state = 67; ; - //BA.debugLineNum = 3703;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; -_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); - //BA.debugLineNum = 3704;BA.debugLine="descpro.Position = 0"; -_descpro.setPosition((int) (0)); - //BA.debugLineNum = 3706;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent._s.GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed); - //BA.debugLineNum = 3708;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; -parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); - //BA.debugLineNum = 3709;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3710;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3711;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; - -case 64: -//C -this.state = 65; - //BA.debugLineNum = 3713;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; -parent.__c.LogImpl("453870716",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0); - //BA.debugLineNum = 3714;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; -parent.__c.LogImpl("453870717",BA.NumberToString(parent._s.GetInt("PE_CANT")),0); - //BA.debugLineNum = 3715;BA.debugLine="Log(\"aqui\")"; -parent.__c.LogImpl("453870718","aqui",0); - //BA.debugLineNum = 3716;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_RECCANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3717;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3718;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 3719;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano); - //BA.debugLineNum = 3721;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3723;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 65: -//for -this.state = 68; -step98 = 1; -limit98 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 117; -if (true) break; - -case 117: -//C -this.state = 68; -if ((step98 > 0 && _e <= limit98) || (step98 < 0 && _e >= limit98)) this.state = 67; -if (true) break; - -case 118: -//C -this.state = 117; -_e = ((int)(0 + _e + step98)) ; +RDebugUtils.currentLine=60620851; + //BA.debugLineNum = 60620851;BA.debugLine="If logger Then Log(listaPreguntas)"; if (true) break; case 67: -//C -this.state = 118; - //BA.debugLineNum = 3724;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 68: -//C +//if +this.state = 72; +if (_logger) { this.state = 69; -; - //BA.debugLineNum = 3728;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; -_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); - //BA.debugLineNum = 3729;BA.debugLine="descpro.Position = 0"; -_descpro.setPosition((int) (0)); - //BA.debugLineNum = 3731;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_RECCANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(parent._s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); - //BA.debugLineNum = 3732;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; -parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); - //BA.debugLineNum = 3734;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; -_subtot = BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU")))); - //BA.debugLineNum = 3735;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3736;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano); - //BA.debugLineNum = 3737;BA.debugLine="TAMANO = subTot + TAMANO"; -parent._tamano = (int) ((double)(Double.parseDouble(_subtot))+parent._tamano); - //BA.debugLineNum = 3739;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3741;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; +;}if (true) break; case 69: -//for -this.state = 72; -step110 = 1; -limit110 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 119; -if (true) break; - -case 119: //C this.state = 72; -if ((step110 > 0 && _e <= limit110) || (step110 < 0 && _e >= limit110)) this.state = 71; -if (true) break; - -case 120: -//C -this.state = 119; -_e = ((int)(0 + _e + step110)) ; -if (true) break; - -case 71: -//C -this.state = 120; - //BA.debugLineNum = 3742;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; +parent.__c.LogImpl("060620851",BA.ObjectToString(_listapreguntas),0); if (true) break; case 72: //C this.state = 73; ; - //BA.debugLineNum = 3745;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; -parent._printer1._writestring /*String*/ (BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3746;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; -parent._printer1._writestring /*String*/ (parent._blanco+BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); - //BA.debugLineNum = 3749;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3750;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3751;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; +RDebugUtils.currentLine=60620852; + //BA.debugLineNum = 60620852;BA.debugLine="If TOMAR_FOTO = 1 Then"; +if (true) break; case 73: -//C -this.state = 74; -; - if (true) break; - -case 74: -//C -this.state = 112; -; - if (true) break; -if (true) break; +//if +this.state = 87; +if ((__ref._tomar_foto /*String*/ ).equals(BA.NumberToString(1))) { +this.state = 75; +}if (true) break; case 75: //C this.state = 76; -; - if (true) break; +RDebugUtils.currentLine=60620853; + //BA.debugLineNum = 60620853;BA.debugLine="If CURSOR_FOTO + 1 > enc.RowCount -1 Then"; +if (true) break; case 76: -//C -this.state = 77; -; - //BA.debugLineNum = 3756;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 3758;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by PE_CEDIS, PE_COSTOU"))); - //BA.debugLineNum = 3759;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; - -case 77: //if -this.state = 102; -if (parent._s.getRowCount()>0) { -this.state = 79; -}if (true) break; - -case 79: -//C -this.state = 80; - //BA.debugLineNum = 3761;BA.debugLine="For i=0 To S.RowCount -1"; -if (true) break; - -case 80: -//for -this.state = 101; -step125 = 1; -limit125 = (int) (parent._s.getRowCount()-1); -_i = (int) (0) ; -this.state = 121; -if (true) break; - -case 121: -//C -this.state = 101; -if ((step125 > 0 && _i <= limit125) || (step125 < 0 && _i >= limit125)) this.state = 82; -if (true) break; - -case 122: -//C -this.state = 121; -_i = ((int)(0 + _i + step125)) ; -if (true) break; - -case 82: -//C -this.state = 83; - //BA.debugLineNum = 3762;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 3763;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; -if (true) break; - -case 83: -//if -this.state = 100; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { -this.state = 85; +this.state = 81; +if (__ref._cursor_foto /*int*/ +1>_enc.getRowCount()-1) { +this.state = 78; }else { -this.state = 87; +this.state = 80; }if (true) break; -case 85: +case 78: //C -this.state = 100; +this.state = 81; +RDebugUtils.currentLine=60620854; + //BA.debugLineNum = 60620854;BA.debugLine="TOMAR_FOTO = 0"; +__ref._tomar_foto /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=60620855; + //BA.debugLineNum = 60620855;BA.debugLine="LogColor(\"TOMAR FOTO = 1\", Colors.Red)"; +parent.__c.LogImpl("060620855","TOMAR FOTO = 1",parent.__c.Colors.Red); +RDebugUtils.currentLine=60620856; + //BA.debugLineNum = 60620856;BA.debugLine="Exit"; +this.state = 218; +if (true) break; if (true) break; +case 80: +//C +this.state = 81; +RDebugUtils.currentLine=60620858; + //BA.debugLineNum = 60620858;BA.debugLine="i = CURSOR_FOTO + 1"; +_i = (int) (__ref._cursor_foto /*int*/ +1); + if (true) break; +; +RDebugUtils.currentLine=60620860; + //BA.debugLineNum = 60620860;BA.debugLine="If logger Then Log($\"i = ${i}\"$)"; + +case 81: +//if +this.state = 86; +if (_logger) { +this.state = 83; +;}if (true) break; + +case 83: +//C +this.state = 86; +parent.__c.LogImpl("060620860",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0); +if (true) break; + +case 86: +//C +this.state = 87; +; +RDebugUtils.currentLine=60620861; + //BA.debugLineNum = 60620861;BA.debugLine="TOMAR_FOTO = 0"; +__ref._tomar_foto /*String*/ = BA.NumberToString(0); + if (true) break; +; +RDebugUtils.currentLine=60620863; + //BA.debugLineNum = 60620863;BA.debugLine="If i > (enc.RowCount - 1) Then"; + case 87: -//C -this.state = 88; - //BA.debugLineNum = 3768;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed); - //BA.debugLineNum = 3769;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 3770;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - //BA.debugLineNum = 3771;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - //BA.debugLineNum = 3773;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 3775;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; +//if +this.state = 90; +if (_i>(_enc.getRowCount()-1)) { +this.state = 89; +}if (true) break; -case 88: -//for -this.state = 91; -step134 = 1; -limit134 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 123; -if (true) break; - -case 123: +case 89: //C -this.state = 91; -if ((step134 > 0 && _e <= limit134) || (step134 < 0 && _e >= limit134)) this.state = 90; -if (true) break; - -case 124: -//C -this.state = 123; -_e = ((int)(0 + _e + step134)) ; +this.state = 90; +RDebugUtils.currentLine=60620864; + //BA.debugLineNum = 60620864;BA.debugLine="LogColor(\"MAS DE ${enc.RowCount - 1}\", Colors"; +parent.__c.LogImpl("060620864","MAS DE ${enc.RowCount - 1}",parent.__c.Colors.Red); +RDebugUtils.currentLine=60620865; + //BA.debugLineNum = 60620865;BA.debugLine="Exit ' Si se contestó la ultima pregunta, ent"; +this.state = 218; if (true) break; + if (true) break; case 90: //C -this.state = 124; - //BA.debugLineNum = 3776;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; +this.state = 91; +; +RDebugUtils.currentLine=60620869; + //BA.debugLineNum = 60620869;BA.debugLine="i = indicePregunta"; +_i = __ref._indicepregunta /*int*/ ; +RDebugUtils.currentLine=60620871; + //BA.debugLineNum = 60620871;BA.debugLine="enc.Position = i"; +_enc.setPosition(_i); +RDebugUtils.currentLine=60620872; + //BA.debugLineNum = 60620872;BA.debugLine="Log($\"POSICION = ${enc.Position}\"$)"; +parent.__c.LogImpl("060620872",("POSICION = "+parent.__c.SmartStringFormatter("",(Object)(_enc.getPosition()))+""),0); +RDebugUtils.currentLine=60620873; + //BA.debugLineNum = 60620873;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") = 5"; if (true) break; case 91: -//C -this.state = 92; -; - //BA.debugLineNum = 3778;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; -parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed); - //BA.debugLineNum = 3780;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQu"; -_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"' ")))); - //BA.debugLineNum = 3781;BA.debugLine="If precioprom.RowCount > 0 Then"; +//if +this.state = 214; +if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(5))) { +this.state = 93; +}else +{RDebugUtils.currentLine=60620886; + //BA.debugLineNum = 60620886;BA.debugLine="ELSE IF enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(3))) { +this.state = 101; +}else +{RDebugUtils.currentLine=60620903; + //BA.debugLineNum = 60620903;BA.debugLine="ELSE IF enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(4))) { +this.state = 124; +}else +{RDebugUtils.currentLine=60620934; + //BA.debugLineNum = 60620934;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(2))) { +this.state = 163; +}else +{RDebugUtils.currentLine=60620957; + //BA.debugLineNum = 60620957;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(6))) { +this.state = 187; +}else +{RDebugUtils.currentLine=60620976; + //BA.debugLineNum = 60620976;BA.debugLine="ELSE If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\")"; +if ((_enc.GetString("CAT_EP_IDTIPOPREGUNTA")).equals(BA.NumberToString(1))) { +this.state = 195; +}else { +this.state = 213; +}}}}}} if (true) break; -case 92: -//if -this.state = 99; -if (_precioprom.getRowCount()>0) { +case 93: +//C this.state = 94; -}if (true) break; +RDebugUtils.currentLine=60620874; + //BA.debugLineNum = 60620874;BA.debugLine="If logger Then Log(\"Pregunta tipo 5\")"; +if (true) break; case 94: -//C -this.state = 95; - //BA.debugLineNum = 3782;BA.debugLine="precioprom.Position = 0"; -_precioprom.setPosition((int) (0)); - //BA.debugLineNum = 3783;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; -parent.__c.LogImpl("453870786",_precioprom.GetString("CAT_GP_PRECIO"),0); - //BA.debugLineNum = 3784;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))"; -parent.__c.LogImpl("453870787",parent._s.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 3785;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP"; -if (true) break; - -case 95: //if -this.state = 98; -if ((parent.__c.NumberFormat2((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)) == false) { -this.state = 97; -}if (true) break; +this.state = 99; +if (_logger) { +this.state = 96; +;}if (true) break; -case 97: -//C -this.state = 98; - //BA.debugLineNum = 3787;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & preci"; -parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+_precioprom.GetString("CAT_GP_PRECIO")+" Desc.: "+parent.__c.NumberFormat2(((((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))))*100)/(double)(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))),(int) (0.),(int) (2),(int) (2),parent.__c.False)+"%"+_elinefeed+_elinefeed); - if (true) break; - -case 98: +case 96: //C this.state = 99; -; - if (true) break; +parent.__c.LogImpl("060620874","Pregunta tipo 5",0); +if (true) break; case 99: //C -this.state = 100; +this.state = 214; ; - //BA.debugLineNum = 3791;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 3792;BA.debugLine="ESPACIO = 21"; -parent._espacio = (int) (21); - //BA.debugLineNum = 3793;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; +RDebugUtils.currentLine=60620875; + //BA.debugLineNum = 60620875;BA.debugLine="id_encuesta = enc.GetString(\"CAT_EP_ID\")"; +__ref._id_encuesta /*String*/ = _enc.GetString("CAT_EP_ID"); +RDebugUtils.currentLine=60620876; + //BA.debugLineNum = 60620876;BA.debugLine="idencuestaaguardar = enc.GetString(\"CAT_EP_ID"; +__ref._idencuestaaguardar /*String*/ = _enc.GetString("CAT_EP_ID"); +RDebugUtils.currentLine=60620877; + //BA.debugLineNum = 60620877;BA.debugLine="LogColor(idencuestaaguardar,Colors.Blue)"; +parent.__c.LogImpl("060620877",__ref._idencuestaaguardar /*String*/ ,parent.__c.Colors.Blue); +RDebugUtils.currentLine=60620878; + //BA.debugLineNum = 60620878;BA.debugLine="TOMAR_FOTO = 1"; +__ref._tomar_foto /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=60620879; + //BA.debugLineNum = 60620879;BA.debugLine="CURSOR_FOTO = i"; +__ref._cursor_foto /*int*/ = _i; +RDebugUtils.currentLine=60620880; + //BA.debugLineNum = 60620880;BA.debugLine="LogColor(\"PREGUNTA TIPO 5 SALIMOS\", Colors.Re"; +parent.__c.LogImpl("060620880","PREGUNTA TIPO 5 SALIMOS",parent.__c.Colors.Red); +RDebugUtils.currentLine=60620882; + //BA.debugLineNum = 60620882;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=60620883; + //BA.debugLineNum = 60620883;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True); if (true) break; -case 100: -//C -this.state = 122; -; - if (true) break; -if (true) break; - case 101: //C this.state = 102; -; - //BA.debugLineNum = 3796;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - if (true) break; - -case 102: -//C -this.state = 103; -; - //BA.debugLineNum = 3798;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 3829;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & N"; -parent._printer1._writestring /*String*/ ("Subtotal Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); - //BA.debugLineNum = 3830;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango4"; +RDebugUtils.currentLine=60620887; + //BA.debugLineNum = 60620887;BA.debugLine="If logger Then Log(\"Pregunta tipo 3\")"; if (true) break; -case 103: +case 102: //if -this.state = 106; -if ((parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)) == false) { -this.state = 105; -}if (true) break; +this.state = 107; +if (_logger) { +this.state = 104; +;}if (true) break; -case 105: +case 104: //C -this.state = 106; - //BA.debugLineNum = 3831;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo"; -parent._printer1._writestring /*String*/ ("Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); +this.state = 107; +parent.__c.LogImpl("060620887","Pregunta tipo 3",0); +if (true) break; + +case 107: +//C +this.state = 108; +; +RDebugUtils.currentLine=60620888; + //BA.debugLineNum = 60620888;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; +__ref._botonpresionado /*int*/ = (int) (0); +RDebugUtils.currentLine=60620889; + //BA.debugLineNum = 60620889;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; +__ref._l_titencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION"))); +RDebugUtils.currentLine=60620890; + //BA.debugLineNum = 60620890;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; +__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); +RDebugUtils.currentLine=60620891; + //BA.debugLineNum = 60620891;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width"; +parent._subs._centraetiqueta /*String*/ (ba,__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=60620892; + //BA.debugLineNum = 60620892;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString"; +__ref._muestraboton /*String*/ (null,__ref._b_encuesta_1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"SI",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-350),(int) (580),(int) (300),(int) (160)); +RDebugUtils.currentLine=60620893; + //BA.debugLineNum = 60620893;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin"; +__ref._muestraboton /*String*/ (null,__ref._b_encuesta_2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"NO",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)+50),(int) (580),(int) (300),(int) (160)); +RDebugUtils.currentLine=60620894; + //BA.debugLineNum = 60620894;BA.debugLine="muestraEncuesta"; +__ref._muestraencuesta /*String*/ (null); +RDebugUtils.currentLine=60620895; + //BA.debugLineNum = 60620895;BA.debugLine="Log(\"Esperamos respuesta\")"; +parent.__c.LogImpl("060620895","Esperamos respuesta",0); +RDebugUtils.currentLine=60620896; + //BA.debugLineNum = 60620896;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; +if (true) break; + +case 108: +//do until +this.state = 111; +while (!(__ref._botonpresionado /*int*/ ==1)) { +this.state = 110; +if (true) break; +} +if (true) break; + +case 110: +//C +this.state = 108; +RDebugUtils.currentLine=60620897; + //BA.debugLineNum = 60620897;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "cuestionario"),(int) (0)); +this.state = 229; +return; +case 229: +//C +this.state = 108; +; + if (true) break; +; +RDebugUtils.currentLine=60620899; + //BA.debugLineNum = 60620899;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta"; + +case 111: +//if +this.state = 116; +if (_logger) { +this.state = 113; +;}if (true) break; + +case 113: +//C +this.state = 116; +parent.__c.LogImpl("060620899","encuestaRes: "+__ref._encuestares /*String*/ ,0); +if (true) break; + +case 116: +//C +this.state = 117; +; +RDebugUtils.currentLine=60620900; + //BA.debugLineNum = 60620900;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 3 :"; +if (true) break; + +case 117: +//if +this.state = 122; +if (_logger) { +this.state = 119; +;}if (true) break; + +case 119: +//C +this.state = 122; +parent.__c.LogImpl("060620900",("Guardamos tipo 3 : "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),parent.__c.Colors.Green); +if (true) break; + +case 122: +//C +this.state = 214; +; +RDebugUtils.currentLine=60620901; + //BA.debugLineNum = 60620901;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._encuestares /*String*/ ),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=60620902; + //BA.debugLineNum = 60620902;BA.debugLine="ocultaPanelEncuesta"; +__ref._ocultapanelencuesta /*String*/ (null); if (true) break; -case 106: +case 124: //C -this.state = -1; -; - //BA.debugLineNum = 3834;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb"; -parent._printer1._writestring /*String*/ ("Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); - //BA.debugLineNum = 3836;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 3837;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed); - //BA.debugLineNum = 3838;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; -parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed); - //BA.debugLineNum = 3839;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; -parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed); - //BA.debugLineNum = 3840;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET N"; -parent._printer1._writestring /*String*/ ("--------------ESTE TICKET NO ES UN--------------"+_elinefeed); - //BA.debugLineNum = 3841;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISCA"; -parent._printer1._writestring /*String*/ ("----------COMPROBANTE FISCAL, SOLO ES-----------"+_elinefeed); - //BA.debugLineNum = 3842;BA.debugLine="Printer1.WriteString(\"------------------INFORMATI"; -parent._printer1._writestring /*String*/ ("------------------INFORMATIVO-------------------"+_elinefeed); - //BA.debugLineNum = 3843;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed); - //BA.debugLineNum = 3844;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; -parent._printer1._writestring /*String*/ (" "+_elinefeed); - //BA.debugLineNum = 3846;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); this.state = 125; -return; +RDebugUtils.currentLine=60620904; + //BA.debugLineNum = 60620904;BA.debugLine="If logger Then Log(\"Pregunta tipo 4\")"; +if (true) break; + case 125: +//if +this.state = 130; +if (_logger) { +this.state = 127; +;}if (true) break; + +case 127: +//C +this.state = 130; +parent.__c.LogImpl("060620904","Pregunta tipo 4",0); +if (true) break; + +case 130: +//C +this.state = 131; +; +RDebugUtils.currentLine=60620905; + //BA.debugLineNum = 60620905;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; +__ref._botonpresionado /*int*/ = (int) (0); +RDebugUtils.currentLine=60620906; + //BA.debugLineNum = 60620906;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; +__ref._l_titencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION"))); +RDebugUtils.currentLine=60620907; + //BA.debugLineNum = 60620907;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; +__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); +RDebugUtils.currentLine=60620908; + //BA.debugLineNum = 60620908;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; +if (true) break; + +case 131: +//if +this.state = 136; +if (_logger) { +this.state = 133; +;}if (true) break; + +case 133: +//C +this.state = 136; +parent.__c.LogImpl("060620908",_enc.GetString("CAT_EP_PREGUNTA"),0); +if (true) break; + +case 136: +//C +this.state = 137; +; +RDebugUtils.currentLine=60620909; + //BA.debugLineNum = 60620909;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width"; +parent._subs._centraetiqueta /*String*/ (ba,__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=60620910; + //BA.debugLineNum = 60620910;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString"; +__ref._muestraboton /*String*/ (null,__ref._b_encuesta_1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"SI",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-350),(int) (580),(int) (300),(int) (160)); +RDebugUtils.currentLine=60620911; + //BA.debugLineNum = 60620911;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin"; +__ref._muestraboton /*String*/ (null,__ref._b_encuesta_2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"NO",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)+50),(int) (580),(int) (300),(int) (160)); +RDebugUtils.currentLine=60620912; + //BA.debugLineNum = 60620912;BA.debugLine="muestraEncuesta"; +__ref._muestraencuesta /*String*/ (null); +RDebugUtils.currentLine=60620913; + //BA.debugLineNum = 60620913;BA.debugLine="Log(\"Esperamos respuesta\")"; +parent.__c.LogImpl("060620913","Esperamos respuesta",0); +RDebugUtils.currentLine=60620914; + //BA.debugLineNum = 60620914;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; +if (true) break; + +case 137: +//do until +this.state = 140; +while (!(__ref._botonpresionado /*int*/ ==1)) { +this.state = 139; +if (true) break; +} +if (true) break; + +case 139: +//C +this.state = 137; +RDebugUtils.currentLine=60620915; + //BA.debugLineNum = 60620915;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "cuestionario"),(int) (0)); +this.state = 230; +return; +case 230: +//C +this.state = 137; +; + if (true) break; +; +RDebugUtils.currentLine=60620917; + //BA.debugLineNum = 60620917;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta"; + +case 140: +//if +this.state = 145; +if (_logger) { +this.state = 142; +;}if (true) break; + +case 142: +//C +this.state = 145; +parent.__c.LogImpl("060620917","encuestaRes: "+__ref._encuestares /*String*/ ,0); +if (true) break; + +case 145: +//C +this.state = 146; +; +RDebugUtils.currentLine=60620918; + //BA.debugLineNum = 60620918;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 4 :"; +if (true) break; + +case 146: +//if +this.state = 151; +if (_logger) { +this.state = 148; +;}if (true) break; + +case 148: +//C +this.state = 151; +parent.__c.LogImpl("060620918",("Guardamos tipo 4 : "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),parent.__c.Colors.Green); +if (true) break; + +case 151: +//C +this.state = 152; +; +RDebugUtils.currentLine=60620919; + //BA.debugLineNum = 60620919;BA.debugLine="If encuestaRes = \"SI\" Then"; +if (true) break; + +case 152: +//if +this.state = 161; +if ((__ref._encuestares /*String*/ ).equals("SI")) { +this.state = 154; +}else +{RDebugUtils.currentLine=60620924; + //BA.debugLineNum = 60620924;BA.debugLine="else if encuestaRes = \"NO\" Then"; +if ((__ref._encuestares /*String*/ ).equals("NO")) { +this.state = 156; +}} +if (true) break; + +case 154: +//C +this.state = 161; +RDebugUtils.currentLine=60620920; + //BA.debugLineNum = 60620920;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)("SI"),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=60620921; + //BA.debugLineNum = 60620921;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc."; +__ref._indicepregunta /*int*/ = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_RES1_PRED"))); +RDebugUtils.currentLine=60620922; + //BA.debugLineNum = 60620922;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)"; +parent.__c.LogImpl("060620922",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(__ref._indicepregunta /*int*/ ))+""),0); +RDebugUtils.currentLine=60620923; + //BA.debugLineNum = 60620923;BA.debugLine="i = indicePregunta"; +_i = __ref._indicepregunta /*int*/ ; + if (true) break; + +case 156: +//C +this.state = 157; +RDebugUtils.currentLine=60620925; + //BA.debugLineNum = 60620925;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)("NO"),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=60620926; + //BA.debugLineNum = 60620926;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc."; +__ref._indicepregunta /*int*/ = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_RES2_PRED"))); +RDebugUtils.currentLine=60620927; + //BA.debugLineNum = 60620927;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)"; +parent.__c.LogImpl("060620927",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(__ref._indicepregunta /*int*/ ))+""),0); +RDebugUtils.currentLine=60620928; + //BA.debugLineNum = 60620928;BA.debugLine="i = indicePregunta"; +_i = __ref._indicepregunta /*int*/ ; +RDebugUtils.currentLine=60620929; + //BA.debugLineNum = 60620929;BA.debugLine="Log($\"I = ${i}\"$)"; +parent.__c.LogImpl("060620929",("I = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0); +RDebugUtils.currentLine=60620930; + //BA.debugLineNum = 60620930;BA.debugLine="If enc.GetString(\"CAT_EP_RES2_PRED\") = \"null"; +if (true) break; + +case 157: +//if +this.state = 160; +if ((_enc.GetString("CAT_EP_RES2_PRED")).equals("null") || _enc.GetString("CAT_EP_RES2_PRED")== null) { +this.state = 159; +}if (true) break; + +case 159: +//C +this.state = 160; +RDebugUtils.currentLine=60620931; + //BA.debugLineNum = 60620931;BA.debugLine="Exit"; +this.state = 218; +if (true) break; + if (true) break; + +case 160: +//C +this.state = 161; +; + if (true) break; + +case 161: +//C +this.state = 214; +; + if (true) break; + +case 163: +//C +this.state = 164; +RDebugUtils.currentLine=60620935; + //BA.debugLineNum = 60620935;BA.debugLine="Log(\"Pregunta tipo 2\")"; +parent.__c.LogImpl("060620935","Pregunta tipo 2",0); +RDebugUtils.currentLine=60620936; + //BA.debugLineNum = 60620936;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; +__ref._botonpresionado /*int*/ = (int) (0); +RDebugUtils.currentLine=60620937; + //BA.debugLineNum = 60620937;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; +__ref._l_titencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION"))); +RDebugUtils.currentLine=60620938; + //BA.debugLineNum = 60620938;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; +__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); +RDebugUtils.currentLine=60620939; + //BA.debugLineNum = 60620939;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; +if (true) break; + +case 164: +//if +this.state = 169; +if (_logger) { +this.state = 166; +;}if (true) break; + +case 166: +//C +this.state = 169; +parent.__c.LogImpl("060620939",_enc.GetString("CAT_EP_PREGUNTA"),0); +if (true) break; + +case 169: +//C +this.state = 170; +; +RDebugUtils.currentLine=60620940; + //BA.debugLineNum = 60620940;BA.debugLine="muestraBoton(b_encuesta_1, enc.GetString(\"CAT"; +__ref._muestraboton /*String*/ (null,__ref._b_encuesta_1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,_enc.GetString("CAT_EP_RES1_PRED"),_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-250),(int) (580),(int) (500),(int) (160)); +RDebugUtils.currentLine=60620941; + //BA.debugLineNum = 60620941;BA.debugLine="muestraBoton(b_encuesta_2, enc.GetString(\"CAT"; +__ref._muestraboton /*String*/ (null,__ref._b_encuesta_2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,_enc.GetString("CAT_EP_RES2_PRED"),_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-250),(int) (740),(int) (500),(int) (160)); +RDebugUtils.currentLine=60620942; + //BA.debugLineNum = 60620942;BA.debugLine="muestraBoton(b_encuesta_3, enc.GetString(\"CAT"; +__ref._muestraboton /*String*/ (null,__ref._b_encuesta_3 /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,_enc.GetString("CAT_EP_RES3_PRED"),_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-250),(int) (900),(int) (500),(int) (160)); +RDebugUtils.currentLine=60620943; + //BA.debugLineNum = 60620943;BA.debugLine="muestraEncuesta"; +__ref._muestraencuesta /*String*/ (null); +RDebugUtils.currentLine=60620944; + //BA.debugLineNum = 60620944;BA.debugLine="Log(\"Esperamos respuesta\")"; +parent.__c.LogImpl("060620944","Esperamos respuesta",0); +RDebugUtils.currentLine=60620945; + //BA.debugLineNum = 60620945;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; +if (true) break; + +case 170: +//do until +this.state = 173; +while (!(__ref._botonpresionado /*int*/ ==1)) { +this.state = 172; +if (true) break; +} +if (true) break; + +case 172: +//C +this.state = 170; +RDebugUtils.currentLine=60620946; + //BA.debugLineNum = 60620946;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "cuestionario"),(int) (0)); +this.state = 231; +return; +case 231: +//C +this.state = 170; +; + if (true) break; + +case 173: +//C +this.state = 174; +; +RDebugUtils.currentLine=60620948; + //BA.debugLineNum = 60620948;BA.debugLine="Log(\"encuestaRes: \" & encuestaRes)"; +parent.__c.LogImpl("060620948","encuestaRes: "+__ref._encuestares /*String*/ ,0); +RDebugUtils.currentLine=60620949; + //BA.debugLineNum = 60620949;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 2 :"; +if (true) break; + +case 174: +//if +this.state = 179; +if (_logger) { +this.state = 176; +;}if (true) break; + +case 176: +//C +this.state = 179; +parent.__c.LogImpl("060620949",("Guardamos tipo 2 : "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),parent.__c.Colors.Green); +if (true) break; + +case 179: +//C +this.state = 180; +; +RDebugUtils.currentLine=60620950; + //BA.debugLineNum = 60620950;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._encuestares /*String*/ ),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=60620952; + //BA.debugLineNum = 60620952;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G"; +__ref._indicepregunta /*int*/ = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_ID"))); +RDebugUtils.currentLine=60620953; + //BA.debugLineNum = 60620953;BA.debugLine="i = indicePregunta + 1"; +_i = (int) (__ref._indicepregunta /*int*/ +1); +RDebugUtils.currentLine=60620954; + //BA.debugLineNum = 60620954;BA.debugLine="If i = enc.RowCount - 1 Then i = i - 1"; +if (true) break; + +case 180: +//if +this.state = 185; +if (_i==_enc.getRowCount()-1) { +this.state = 182; +;}if (true) break; + +case 182: +//C +this.state = 185; +_i = (int) (_i-1); +if (true) break; + +case 185: +//C +this.state = 214; +; +RDebugUtils.currentLine=60620955; + //BA.debugLineNum = 60620955;BA.debugLine="Log($\"i = ${i}\"$)"; +parent.__c.LogImpl("060620955",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0); +RDebugUtils.currentLine=60620956; + //BA.debugLineNum = 60620956;BA.debugLine="ocultaPanelEncuesta"; +__ref._ocultapanelencuesta /*String*/ (null); + if (true) break; + +case 187: +//C +this.state = 188; +RDebugUtils.currentLine=60620958; + //BA.debugLineNum = 60620958;BA.debugLine="If logger Then Log(\"Pregunta tipo 6\")"; +if (true) break; + +case 188: +//if +this.state = 193; +if (_logger) { +this.state = 190; +;}if (true) break; + +case 190: +//C +this.state = 193; +parent.__c.LogImpl("060620958","Pregunta tipo 6",0); +if (true) break; + +case 193: +//C +this.state = 214; +; +RDebugUtils.currentLine=60620959; + //BA.debugLineNum = 60620959;BA.debugLine="Panel10.Visible = True"; +__ref._panel10 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=60620960; + //BA.debugLineNum = 60620960;BA.debugLine="l_chk_e.Text = enc.GetString(\"CAT_EP_PREGUNT"; +__ref._l_chk_e /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); +RDebugUtils.currentLine=60620961; + //BA.debugLineNum = 60620961;BA.debugLine="Chk_1.Checked = False"; +__ref._chk_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.False); +RDebugUtils.currentLine=60620962; + //BA.debugLineNum = 60620962;BA.debugLine="chk_2.Checked = False"; +__ref._chk_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.False); +RDebugUtils.currentLine=60620963; + //BA.debugLineNum = 60620963;BA.debugLine="chk_3.Checked = False"; +__ref._chk_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(parent.__c.False); +RDebugUtils.currentLine=60620964; + //BA.debugLineNum = 60620964;BA.debugLine="Chk_1.Text = enc.GetString(\"CAT_EP_RES1_PRED\""; +__ref._chk_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES1_PRED"))); +RDebugUtils.currentLine=60620965; + //BA.debugLineNum = 60620965;BA.debugLine="chk_2.Text = enc.GetString(\"CAT_EP_RES2_PRED"; +__ref._chk_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES2_PRED"))); +RDebugUtils.currentLine=60620966; + //BA.debugLineNum = 60620966;BA.debugLine="chk_3.Text = enc.GetString(\"CAT_EP_RES3_PRED"; +__ref._chk_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES3_PRED"))); +RDebugUtils.currentLine=60620967; + //BA.debugLineNum = 60620967;BA.debugLine="chk_1_valor = enc.GetString(\"CAT_EP_RES1_PRE"; +__ref._chk_1_valor /*String*/ = _enc.GetString("CAT_EP_RES1_PRED"); +RDebugUtils.currentLine=60620968; + //BA.debugLineNum = 60620968;BA.debugLine="chk_2_valor = enc.GetString(\"CAT_EP_RES2_PRE"; +__ref._chk_2_valor /*String*/ = _enc.GetString("CAT_EP_RES2_PRED"); +RDebugUtils.currentLine=60620969; + //BA.debugLineNum = 60620969;BA.debugLine="chk_3_valor = enc.GetString(\"CAT_EP_RES3_PRE"; +__ref._chk_3_valor /*String*/ = _enc.GetString("CAT_EP_RES3_PRED"); +RDebugUtils.currentLine=60620970; + //BA.debugLineNum = 60620970;BA.debugLine="Chk_1.Tag = enc.GetString(\"CAT_EP_ID\")"; +__ref._chk_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setTag((Object)(_enc.GetString("CAT_EP_ID"))); +RDebugUtils.currentLine=60620971; + //BA.debugLineNum = 60620971;BA.debugLine="chk_2.Tag = enc.GetString(\"CAT_EP_ID\")"; +__ref._chk_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setTag((Object)(_enc.GetString("CAT_EP_ID"))); +RDebugUtils.currentLine=60620972; + //BA.debugLineNum = 60620972;BA.debugLine="chk_3.Tag = enc.GetString(\"CAT_EP_ID\")"; +__ref._chk_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setTag((Object)(_enc.GetString("CAT_EP_ID"))); +RDebugUtils.currentLine=60620973; + //BA.debugLineNum = 60620973;BA.debugLine="TOMAR_FOTO = 1"; +__ref._tomar_foto /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=60620974; + //BA.debugLineNum = 60620974;BA.debugLine="CURSOR_FOTO = i"; +__ref._cursor_foto /*int*/ = _i; +RDebugUtils.currentLine=60620975; + //BA.debugLineNum = 60620975;BA.debugLine="Exit"; +this.state = 218; +if (true) break; + if (true) break; + +case 195: +//C +this.state = 196; +RDebugUtils.currentLine=60620977; + //BA.debugLineNum = 60620977;BA.debugLine="Log(\"Pregunta tipo 1\")"; +parent.__c.LogImpl("060620977","Pregunta tipo 1",0); +RDebugUtils.currentLine=60620978; + //BA.debugLineNum = 60620978;BA.debugLine="botonPresionado = 0 ' Bandera para que espere"; +__ref._botonpresionado /*int*/ = (int) (0); +RDebugUtils.currentLine=60620979; + //BA.debugLineNum = 60620979;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE"; +__ref._l_titencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION"))); +RDebugUtils.currentLine=60620980; + //BA.debugLineNum = 60620980;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR"; +__ref._l_txtencuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA"))); +RDebugUtils.currentLine=60620981; + //BA.debugLineNum = 60620981;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG"; +if (true) break; + +case 196: +//if +this.state = 201; +if (_logger) { +this.state = 198; +;}if (true) break; + +case 198: +//C +this.state = 201; +parent.__c.LogImpl("060620981",_enc.GetString("CAT_EP_PREGUNTA")+"|"+_enc.GetString("CAT_EP_ORDEN_PREGUNTA"),0); +if (true) break; + +case 201: +//C +this.state = 202; +; +RDebugUtils.currentLine=60620982; + //BA.debugLineNum = 60620982;BA.debugLine="Subs.centraEditText(et_encuesta, Root.Width)"; +parent._subs._centraedittext /*String*/ (ba,__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=60620983; + //BA.debugLineNum = 60620983;BA.debugLine="et_encuesta.Visible = True"; +__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=60620984; + //BA.debugLineNum = 60620984;BA.debugLine="b_encuesta_continuar.Enabled = False"; +__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.False); +RDebugUtils.currentLine=60620985; + //BA.debugLineNum = 60620985;BA.debugLine="Private bTop = et_encuesta.Top + 130"; +_btop = BA.NumberToString(__ref._et_encuesta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getTop()+130); +RDebugUtils.currentLine=60620986; + //BA.debugLineNum = 60620986;BA.debugLine="muestraBoton(b_encuesta_continuar,\"Continuar\""; +__ref._muestraboton /*String*/ (null,__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,"Continuar",_enc.GetString("CAT_EP_ID"),(int) (__ref._centropantalla /*int*/ (null)-250),(int)(Double.parseDouble(_btop)),(int) (500),(int) (160)); +RDebugUtils.currentLine=60620987; + //BA.debugLineNum = 60620987;BA.debugLine="muestraEncuesta"; +__ref._muestraencuesta /*String*/ (null); +RDebugUtils.currentLine=60620988; + //BA.debugLineNum = 60620988;BA.debugLine="Log(\"Esperamos respuesta\")"; +parent.__c.LogImpl("060620988","Esperamos respuesta",0); +RDebugUtils.currentLine=60620989; + //BA.debugLineNum = 60620989;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r"; +if (true) break; + +case 202: +//do until +this.state = 205; +while (!(__ref._botonpresionado /*int*/ ==1)) { +this.state = 204; +if (true) break; +} +if (true) break; + +case 204: +//C +this.state = 202; +RDebugUtils.currentLine=60620990; + //BA.debugLineNum = 60620990;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "cuestionario"),(int) (0)); +this.state = 232; +return; +case 232: +//C +this.state = 202; +; + if (true) break; + +case 205: +//C +this.state = 206; +; +RDebugUtils.currentLine=60620992; + //BA.debugLineNum = 60620992;BA.debugLine="Log($\"Respuesta: ${encuestaRes}\"$)"; +parent.__c.LogImpl("060620992",("Respuesta: "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),0); +RDebugUtils.currentLine=60620993; + //BA.debugLineNum = 60620993;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 1 :"; +if (true) break; + +case 206: +//if +this.state = 211; +if (_logger) { +this.state = 208; +;}if (true) break; + +case 208: +//C +this.state = 211; +parent.__c.LogImpl("060620993",("Guardamos tipo 1 : "+parent.__c.SmartStringFormatter("",(Object)(__ref._encuestares /*String*/ ))+""),parent.__c.Colors.Green); +if (true) break; + +case 211: +//C +this.state = 214; +; +RDebugUtils.currentLine=60620994; + //BA.debugLineNum = 60620994;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._encuestares /*String*/ ),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=60620995; + //BA.debugLineNum = 60620995;BA.debugLine="ocultaPanelEncuesta"; +__ref._ocultapanelencuesta /*String*/ (null); + if (true) break; + +case 213: +//C +this.state = 214; +RDebugUtils.currentLine=60620998; + //BA.debugLineNum = 60620998;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +parent._b4xpages._showpage /*String*/ (ba,"productos"); + if (true) break; +; +RDebugUtils.currentLine=60621000; + //BA.debugLineNum = 60621000;BA.debugLine="If i = enc.RowCount - 1 Then"; + +case 214: +//if +this.state = 217; +if (_i==_enc.getRowCount()-1) { +this.state = 216; +}if (true) break; + +case 216: +//C +this.state = 217; +RDebugUtils.currentLine=60621001; + //BA.debugLineNum = 60621001;BA.debugLine="i = i - 1"; +_i = (int) (_i-1); + if (true) break; + +case 217: +//C +this.state = 228; +; + if (true) break; +if (true) break; + +case 218: +//C +this.state = 221; +; +RDebugUtils.currentLine=60621004; + //BA.debugLineNum = 60621004;BA.debugLine="enc.Close"; +_enc.Close(); + if (true) break; + +case 220: +//C +this.state = 221; +RDebugUtils.currentLine=60621007; + //BA.debugLineNum = 60621007;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +parent._b4xpages._showpage /*String*/ (ba,"productos"); + if (true) break; + +case 221: +//C +this.state = 224; +; + if (true) break; + +case 223: +//C +this.state = 224; +RDebugUtils.currentLine=60621011; + //BA.debugLineNum = 60621011;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +parent._b4xpages._showpage /*String*/ (ba,"productos"); + if (true) break; + +case 224: //C this.state = -1; ; - //BA.debugLineNum = 3847;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3849;BA.debugLine="ProgressDialogHide"; -parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 3852;BA.debugLine="End Sub"; +RDebugUtils.currentLine=60621014; + //BA.debugLineNum = 60621014;BA.debugLine="End Sub"; if (true) break; } } } } -public String _inicializarlocalizacionmejorada() throws Exception{ -anywheresoftware.b4j.object.JavaObject _locationmanager = null; - //BA.debugLineNum = 1511;BA.debugLine="Sub InicializarLocalizacionMejorada"; - //BA.debugLineNum = 1513;BA.debugLine="Dim LocationManager As JavaObject"; -_locationmanager = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 1514;BA.debugLine="LocationManager.InitializeStatic(\"android.locatio"; -_locationmanager.InitializeStatic("android.location.LocationManager"); - //BA.debugLineNum = 1516;BA.debugLine="g.Start(0, 0) ' GPS"; -_g.Start(ba,(long) (0),(float) (0)); - //BA.debugLineNum = 1518;BA.debugLine="End Sub"; +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +gunav2.keymon.com.mx.c_cliente __ref; +gunav2.keymon.com.mx.c_cliente parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=52822019; + //BA.debugLineNum = 52822019;BA.debugLine="cuest.encuestaIniciada = False"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=52822020; + //BA.debugLineNum = 52822020;BA.debugLine="cuest.ocultPanelPregunta"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._ocultpanelpregunta /*String*/ (null); +RDebugUtils.currentLine=52822021; + //BA.debugLineNum = 52822021;BA.debugLine="If bitacora.p_transparenteInicioFin2.Visible And"; +if (true) break; + +case 1: +//if +this.state = 16; +if (__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible() && (__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getText()).equals("TERMINAR VISITA")) { +this.state = 3; +}else +{RDebugUtils.currentLine=52822024; + //BA.debugLineNum = 52822024;BA.debugLine="Else if Subs.hayPedido Then"; +if (parent._subs._haypedido /*boolean*/ (ba)) { +this.state = 5; +}else +{RDebugUtils.currentLine=52822027; + //BA.debugLineNum = 52822027;BA.debugLine="else If p_encuesta.Visible Then"; +if (__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 7; +}else +{RDebugUtils.currentLine=52822029; + //BA.debugLineNum = 52822029;BA.debugLine="Else iF p_camara.Visible Then"; +if (__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 9; +}else +{RDebugUtils.currentLine=52822033; + //BA.debugLineNum = 52822033;BA.debugLine="else If p_pregunta1.Visible Then"; +if (__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 11; +}else +{RDebugUtils.currentLine=52822035; + //BA.debugLineNum = 52822035;BA.debugLine="Else if SV_ENCUESTA.Visible Then"; +if (__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getVisible()) { +this.state = 13; +}else { +this.state = 15; +}}}}}} +if (true) break; + +case 3: +//C +this.state = 16; +RDebugUtils.currentLine=52822022; + //BA.debugLineNum = 52822022;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor presione el botón de TERMINAR VISITA"),parent.__c.True); +RDebugUtils.currentLine=52822023; + //BA.debugLineNum = 52822023;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 5: +//C +this.state = 16; +RDebugUtils.currentLine=52822025; + //BA.debugLineNum = 52822025;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor presione el botón de GUARDAR"),parent.__c.True); +RDebugUtils.currentLine=52822026; + //BA.debugLineNum = 52822026;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 7: +//C +this.state = 16; +RDebugUtils.currentLine=52822028; + //BA.debugLineNum = 52822028;BA.debugLine="p_encuesta.Visible = False"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 9: +//C +this.state = 16; +RDebugUtils.currentLine=52822030; + //BA.debugLineNum = 52822030;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 11: +//C +this.state = 16; +RDebugUtils.currentLine=52822034; + //BA.debugLineNum = 52822034;BA.debugLine="p_pregunta1.Visible = False"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 13: +//C +this.state = 16; +RDebugUtils.currentLine=52822036; + //BA.debugLineNum = 52822036;BA.debugLine="SV_ENCUESTA.visible = False"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=52822037; + //BA.debugLineNum = 52822037;BA.debugLine="p_cliente.Visible = True"; +__ref._p_cliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True); + if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=52822040; + //BA.debugLineNum = 52822040;BA.debugLine="Starter.enCliente = False"; +parent._starter._encliente /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=52822041; + //BA.debugLineNum = 52822041;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +parent._b4xpages._showpage /*String*/ (ba,"Clientes"); + if (true) break; + +case 16: +//C +this.state = -1; +; +RDebugUtils.currentLine=52822044; + //BA.debugLineNum = 52822044;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=52822045; + //BA.debugLineNum = 52822045;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=50397184; + //BA.debugLineNum = 50397184;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=50397185; + //BA.debugLineNum = 50397185;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=50397188; + //BA.debugLineNum = 50397188;BA.debugLine="Root.LoadLayout(\"cliente\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("cliente",ba); +RDebugUtils.currentLine=50397189; + //BA.debugLineNum = 50397189;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=50397190; + //BA.debugLineNum = 50397190;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=50397191; + //BA.debugLineNum = 50397191;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + }; +RDebugUtils.currentLine=50397193; + //BA.debugLineNum = 50397193;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",__c.True); +RDebugUtils.currentLine=50397194; + //BA.debugLineNum = 50397194;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=50397195; + //BA.debugLineNum = 50397195;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=50397196; + //BA.debugLineNum = 50397196;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50397197; + //BA.debugLineNum = 50397197;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=50397198; + //BA.debugLineNum = 50397198;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=50397199; + //BA.debugLineNum = 50397199;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))); +RDebugUtils.currentLine=50397200; + //BA.debugLineNum = 50397200;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=50397201; + //BA.debugLineNum = 50397201;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); +RDebugUtils.currentLine=50397202; + //BA.debugLineNum = 50397202;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c."; +__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))); +RDebugUtils.currentLine=50397203; + //BA.debugLineNum = 50397203;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_COLONIA"))); +RDebugUtils.currentLine=50397204; + //BA.debugLineNum = 50397204;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +__ref._la_edo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EDO"))); +RDebugUtils.currentLine=50397206; + //BA.debugLineNum = 50397206;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE1"))); +RDebugUtils.currentLine=50397207; + //BA.debugLineNum = 50397207;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE2"))); +RDebugUtils.currentLine=50397208; + //BA.debugLineNum = 50397208;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1"))); +RDebugUtils.currentLine=50397209; + //BA.debugLineNum = 50397209;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2"))); +RDebugUtils.currentLine=50397210; + //BA.debugLineNum = 50397210;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\""; +__ref._la_saldotot /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO"))); +RDebugUtils.currentLine=50397211; + //BA.debugLineNum = 50397211;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; +__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_EMAIL"))); +RDebugUtils.currentLine=50397212; + //BA.debugLineNum = 50397212;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))); +RDebugUtils.currentLine=50397213; + //BA.debugLineNum = 50397213;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +__ref._total_cliente /*String*/ = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"); +RDebugUtils.currentLine=50397214; + //BA.debugLineNum = 50397214;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")"; +__ref._monto_compra /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_MTOCOMPRA"); + }; +RDebugUtils.currentLine=50397216; + //BA.debugLineNum = 50397216;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50397217; + //BA.debugLineNum = 50397217;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=50397218; + //BA.debugLineNum = 50397218;BA.debugLine="File.Copy(File.DirAssets,\"guna-fondo.jpg\",xui.Def"; +__c.File.Copy(__c.File.getDirAssets(),"guna-fondo.jpg",__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getDefaultFolder(),"guna-fondo.jpg"); +RDebugUtils.currentLine=50397219; + //BA.debugLineNum = 50397219;BA.debugLine="TOMAR_FOTO = 0"; +__ref._tomar_foto /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=50397220; + //BA.debugLineNum = 50397220;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +__ref._btadmin /*anywheresoftware.b4a.objects.Serial.BluetoothAdmin*/ .Initialize(ba,"BlueTeeth"); +RDebugUtils.currentLine=50397221; + //BA.debugLineNum = 50397221;BA.debugLine="cmp20.Initialize(\"Printer\")"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Printer"); +RDebugUtils.currentLine=50397222; + //BA.debugLineNum = 50397222;BA.debugLine="SV_ENCUESTA.Height = Root.Height"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50397223; + //BA.debugLineNum = 50397223;BA.debugLine="SV_ENCUESTA.Width = Root.Height"; +__ref._sv_encuesta /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50397224; + //BA.debugLineNum = 50397224;BA.debugLine="p_pregunta1.Height = Root.Height"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50397225; + //BA.debugLineNum = 50397225;BA.debugLine="p_pregunta1.Width = Root.Height"; +__ref._p_pregunta1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50397226; + //BA.debugLineNum = 50397226;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=50397226; + //BA.debugLineNum = 50397226;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=50397227; + //BA.debugLineNum = 50397227;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to"; +__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=50397227; + //BA.debugLineNum = 50397227;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to"; +__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=50397228; + //BA.debugLineNum = 50397228;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50397228; + //BA.debugLineNum = 50397228;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50397229; + //BA.debugLineNum = 50397229;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar"; +__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50397229; + //BA.debugLineNum = 50397229;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar"; +__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50397230; + //BA.debugLineNum = 50397230;BA.debugLine="Subs.centraPanel(p_ticketImpreso, p_transparenteT"; +_subs._centrapanel /*String*/ (ba,__ref._p_ticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=50397231; + //BA.debugLineNum = 50397231;BA.debugLine="Subs.centraPanel(p_envioPDF, p_transparentePDF.Wi"; +_subs._centrapanel /*String*/ (ba,__ref._p_enviopdf /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_transparentepdf /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=50397232; + //BA.debugLineNum = 50397232;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0"; +__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=50397232; + //BA.debugLineNum = 50397232;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0"; +__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=50397233; + //BA.debugLineNum = 50397233;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He"; +__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50397233; + //BA.debugLineNum = 50397233;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He"; +__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50397234; + //BA.debugLineNum = 50397234;BA.debugLine="Subs.centraPanel(p_comentarios, p_comentario.Widt"; +_subs._centrapanel /*String*/ (ba,__ref._p_comentarios /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_comentario /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=50397235; + //BA.debugLineNum = 50397235;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50397236; + //BA.debugLineNum = 50397236;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50397237; + //BA.debugLineNum = 50397237;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50397238; + //BA.debugLineNum = 50397238;BA.debugLine="l_version.Left = Root.Width - (l_version.Width +"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-(__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth()+10))); +RDebugUtils.currentLine=50397239; + //BA.debugLineNum = 50397239;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, B4XPages.Main"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._initialize /*Object*/ (null,ba,this,"cuest",__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ); +RDebugUtils.currentLine=50397240; + //BA.debugLineNum = 50397240;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._initialize /*Object*/ (null,ba,(Object)("bitacora"),"bitacora",__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ); +RDebugUtils.currentLine=50397241; + //BA.debugLineNum = 50397241;BA.debugLine="l_version.Left = Root.Width - l_version.Width"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth())); +RDebugUtils.currentLine=50397243; + //BA.debugLineNum = 50397243;BA.debugLine="End Sub"; return ""; } -public String _iniciofin() throws Exception{ - //BA.debugLineNum = 1901;BA.debugLine="Private Sub iniciofin"; - //BA.debugLineNum = 1913;BA.debugLine="End Sub"; +public String _bt_qr_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "bt_qr_click", false)) + {return ((String) Debug.delegate(ba, "bt_qr_click", null));} +RDebugUtils.currentLine=53346304; + //BA.debugLineNum = 53346304;BA.debugLine="Sub BT_QR_Click"; +RDebugUtils.currentLine=53346305; + //BA.debugLineNum = 53346305;BA.debugLine="sc.isportrait = True"; +__ref._sc /*ice.zxing.b4aZXingLib*/ .isportrait = __c.True; +RDebugUtils.currentLine=53346306; + //BA.debugLineNum = 53346306;BA.debugLine="sc.timeoutDuration = 45"; +__ref._sc /*ice.zxing.b4aZXingLib*/ .timeoutDuration = (int) (45); +RDebugUtils.currentLine=53346307; + //BA.debugLineNum = 53346307;BA.debugLine="sc.theViewFinderXfactor = 0.7"; +__ref._sc /*ice.zxing.b4aZXingLib*/ .theViewFinderXfactor = 0.7; +RDebugUtils.currentLine=53346308; + //BA.debugLineNum = 53346308;BA.debugLine="sc.theViewFinderYfactor = 0.5"; +__ref._sc /*ice.zxing.b4aZXingLib*/ .theViewFinderYfactor = 0.5; +RDebugUtils.currentLine=53346309; + //BA.debugLineNum = 53346309;BA.debugLine="sc.theResultColor = Colors.Green"; +__ref._sc /*ice.zxing.b4aZXingLib*/ .theResultColor = __c.Colors.Green; +RDebugUtils.currentLine=53346310; + //BA.debugLineNum = 53346310;BA.debugLine="sc.mustVibrate = True"; +__ref._sc /*ice.zxing.b4aZXingLib*/ .mustVibrate = __c.True; +RDebugUtils.currentLine=53346311; + //BA.debugLineNum = 53346311;BA.debugLine="sc.BeginScan(\"sc\")"; +__ref._sc /*ice.zxing.b4aZXingLib*/ .BeginScan(ba,"sc"); +RDebugUtils.currentLine=53346312; + //BA.debugLineNum = 53346312;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 483;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 484;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 485;BA.debugLine="End Sub"; -return null; +public String _btnaceptaplanlealtad_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "btnaceptaplanlealtad_click", false)) + {return ((String) Debug.delegate(ba, "btnaceptaplanlealtad_click", null));} +RDebugUtils.currentLine=63111168; + //BA.debugLineNum = 63111168;BA.debugLine="Private Sub btnAceptaPlanLealtad_Click"; +RDebugUtils.currentLine=63111170; + //BA.debugLineNum = 63111170;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM PLAN_LE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=63111171; + //BA.debugLineNum = 63111171;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=63111172; + //BA.debugLineNum = 63111172;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=63111174; + //BA.debugLineNum = 63111174;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert int"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into PLAN_LEALTAD (PL_BANDERA, PL_CLIENTE) values ('1','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"')")); +RDebugUtils.currentLine=63111175; + //BA.debugLineNum = 63111175;BA.debugLine="pnlPlanLealtad.Visible = False"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=63111176; + //BA.debugLineNum = 63111176;BA.debugLine="Log(\"AQUI\")"; +__c.LogImpl("063111176","AQUI",0); +RDebugUtils.currentLine=63111177; + //BA.debugLineNum = 63111177;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else { +RDebugUtils.currentLine=63111179; + //BA.debugLineNum = 63111179;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE PLAN_LEALTAD"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE PLAN_LEALTAD SET PL_BANDERA = 1 where PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")); +RDebugUtils.currentLine=63111180; + //BA.debugLineNum = 63111180;BA.debugLine="pnlPlanLealtad.Visible = False"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=63111181; + //BA.debugLineNum = 63111181;BA.debugLine="Log(\"AQUI2\")"; +__c.LogImpl("063111181","AQUI2",0); +RDebugUtils.currentLine=63111182; + //BA.debugLineNum = 63111182;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }; +RDebugUtils.currentLine=63111184; + //BA.debugLineNum = 63111184;BA.debugLine="End Sub"; +return ""; } -public void _initializecamera2() throws Exception{ -ResumableSub_InitializeCamera2 rsub = new ResumableSub_InitializeCamera2(this); +public String _btncancelarplanlealtad_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "btncancelarplanlealtad_click", false)) + {return ((String) Debug.delegate(ba, "btncancelarplanlealtad_click", null));} +RDebugUtils.currentLine=63045632; + //BA.debugLineNum = 63045632;BA.debugLine="Private Sub btnCancelarPlanLealtad_Click"; +RDebugUtils.currentLine=63045633; + //BA.debugLineNum = 63045633;BA.debugLine="pnlPlanLealtad.Visible = False"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=63045634; + //BA.debugLineNum = 63045634;BA.debugLine="End Sub"; +return ""; +} +public String _btnplanlealtad_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "btnplanlealtad_click", false)) + {return ((String) Debug.delegate(ba, "btnplanlealtad_click", null));} +RDebugUtils.currentLine=62980096; + //BA.debugLineNum = 62980096;BA.debugLine="Private Sub btnPlanLealtad_Click"; +RDebugUtils.currentLine=62980097; + //BA.debugLineNum = 62980097;BA.debugLine="Subs.centraPanel(pnl_btns, pnlPlanLealtad.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._pnl_btns /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=62980098; + //BA.debugLineNum = 62980098;BA.debugLine="pnlPlanLealtad.Visible = True"; +__ref._pnlplanlealtad /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=62980099; + //BA.debugLineNum = 62980099;BA.debugLine="End Sub"; +return ""; +} +public String _calc_ean_checksum(gunav2.keymon.com.mx.c_cliente __ref,String _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "calc_ean_checksum", false)) + {return ((String) Debug.delegate(ba, "calc_ean_checksum", new Object[] {_number}));} +int _i = 0; +char _co = '\0'; +int _soma = 0; +int _n = 0; +float _digit = 0f; +RDebugUtils.currentLine=53608448; + //BA.debugLineNum = 53608448;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; +RDebugUtils.currentLine=53608449; + //BA.debugLineNum = 53608449;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=53608450; + //BA.debugLineNum = 53608450;BA.debugLine="Dim cO As Char"; +_co = '\0'; +RDebugUtils.currentLine=53608451; + //BA.debugLineNum = 53608451;BA.debugLine="Dim soma As Int"; +_soma = 0; +RDebugUtils.currentLine=53608452; + //BA.debugLineNum = 53608452;BA.debugLine="Dim n As Int"; +_n = 0; +RDebugUtils.currentLine=53608453; + //BA.debugLineNum = 53608453;BA.debugLine="Dim digit As Float"; +_digit = 0f; +RDebugUtils.currentLine=53608454; + //BA.debugLineNum = 53608454;BA.debugLine="soma = 0"; +_soma = (int) (0); +RDebugUtils.currentLine=53608455; + //BA.debugLineNum = 53608455;BA.debugLine="For i=0 To number.Length - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (_number.length()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=53608456; + //BA.debugLineNum = 53608456;BA.debugLine="digit = number.SubString2(i,i+1)"; +_digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1)))); +RDebugUtils.currentLine=53608457; + //BA.debugLineNum = 53608457;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; +_n = (int) (_digit*((_i%2)*2+1)); +RDebugUtils.currentLine=53608458; + //BA.debugLineNum = 53608458;BA.debugLine="soma=soma+n"; +_soma = (int) (_soma+_n); + } +}; +RDebugUtils.currentLine=53608460; + //BA.debugLineNum = 53608460;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; +if (true) return _number+BA.NumberToString(((10-(_soma%10))%10)); +RDebugUtils.currentLine=53608461; + //BA.debugLineNum = 53608461;BA.debugLine="End Sub"; +return ""; +} +public String _camera1_picturetaken(gunav2.keymon.com.mx.c_cliente __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "camera1_picturetaken", false)) + {return ((String) Debug.delegate(ba, "camera1_picturetaken", new Object[] {_data}));} +String _filename = ""; +String _dirp = ""; +String _dir = ""; +String _dir2 = ""; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=63832064; + //BA.debugLineNum = 63832064;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)"; +RDebugUtils.currentLine=63832066; + //BA.debugLineNum = 63832066;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); +RDebugUtils.currentLine=63832067; + //BA.debugLineNum = 63832067;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\""; +__ref._nombrefoto /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO1.jpg"; +RDebugUtils.currentLine=63832068; + //BA.debugLineNum = 63832068;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=63832069; + //BA.debugLineNum = 63832069;BA.debugLine="fototomada = nombrefoto"; +__ref._fototomada /*String*/ = __ref._nombrefoto /*String*/ ; +RDebugUtils.currentLine=63832072; + //BA.debugLineNum = 63832072;BA.debugLine="Log(\"tome foto\")"; +__c.LogImpl("063832072","tome foto",0); +RDebugUtils.currentLine=63832073; + //BA.debugLineNum = 63832073;BA.debugLine="Dim filename As String = fototomada"; +_filename = __ref._fototomada /*String*/ ; +RDebugUtils.currentLine=63832074; + //BA.debugLineNum = 63832074;BA.debugLine="Dim Dirp As String = File.DirInternal"; +_dirp = __c.File.getDirInternal(); +RDebugUtils.currentLine=63832075; + //BA.debugLineNum = 63832075;BA.debugLine="Dim Dir As String"; +_dir = ""; +RDebugUtils.currentLine=63832076; + //BA.debugLineNum = 63832076;BA.debugLine="Dim Dir2 As String"; +_dir2 = ""; +RDebugUtils.currentLine=63832077; + //BA.debugLineNum = 63832077;BA.debugLine="Try"; +try {RDebugUtils.currentLine=63832078; + //BA.debugLineNum = 63832078;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; +__c.File.MakeDir(_dirp,"/md"); +RDebugUtils.currentLine=63832079; + //BA.debugLineNum = 63832079;BA.debugLine="Dir = \"/md\""; +_dir = "/md"; +RDebugUtils.currentLine=63832080; + //BA.debugLineNum = 63832080;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; +__c.LogImpl("063832080","creado en promotoria "+_dirp+_dir,0); + } + catch (Exception e15) { + ba.setLastException(e15);RDebugUtils.currentLine=63832082; + //BA.debugLineNum = 63832082;BA.debugLine="Dir = \"\""; +_dir = ""; +RDebugUtils.currentLine=63832083; + //BA.debugLineNum = 63832083;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("063832083","creado en raiz",0); + }; +RDebugUtils.currentLine=63832086; + //BA.debugLineNum = 63832086;BA.debugLine="Try"; +try {RDebugUtils.currentLine=63832087; + //BA.debugLineNum = 63832087;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; +__c.File.MakeDir(_dirp+_dir,"/reduccion"); +RDebugUtils.currentLine=63832088; + //BA.debugLineNum = 63832088;BA.debugLine="Dir2 = \"/reduccion\""; +_dir2 = "/reduccion"; +RDebugUtils.currentLine=63832089; + //BA.debugLineNum = 63832089;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; +__c.LogImpl("063832089","creado en promotoria "+_dirp+_dir+_dir2,0); + } + catch (Exception e23) { + ba.setLastException(e23);RDebugUtils.currentLine=63832091; + //BA.debugLineNum = 63832091;BA.debugLine="Dir = \"\""; +_dir = ""; +RDebugUtils.currentLine=63832092; + //BA.debugLineNum = 63832092;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("063832092","creado en raiz",0); + }; +RDebugUtils.currentLine=63832095; + //BA.debugLineNum = 63832095;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._savepicturetofile /*String*/ (null,_data,_dirp+_dir,_filename); +RDebugUtils.currentLine=63832096; + //BA.debugLineNum = 63832096;BA.debugLine="camEx.StartPreview 'restart preview"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=63832098; + //BA.debugLineNum = 63832098;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi"; +__c.LogImpl("063832098","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); +RDebugUtils.currentLine=63832099; + //BA.debugLineNum = 63832099;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=63832101; + //BA.debugLineNum = 63832101;BA.debugLine="Log(nombrefoto)"; +__c.LogImpl("063832101",__ref._nombrefoto /*String*/ ,0); +RDebugUtils.currentLine=63832103; + //BA.debugLineNum = 63832103;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File."; +_img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +_img = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (225),(int) (300),__c.True); +RDebugUtils.currentLine=63832104; + //BA.debugLineNum = 63832104;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); +RDebugUtils.currentLine=63832105; + //BA.debugLineNum = 63832105;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +_img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); +RDebugUtils.currentLine=63832108; + //BA.debugLineNum = 63832108;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=63832109; + //BA.debugLineNum = 63832109;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal &"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto /*String*/ ).getObject())); +RDebugUtils.currentLine=63832111; + //BA.debugLineNum = 63832111;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET foto = ("; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto /*String*/ ))})); +RDebugUtils.currentLine=63832112; + //BA.debugLineNum = 63832112;BA.debugLine="StopCamera2"; +__ref._stopcamera2 /*String*/ (null); +RDebugUtils.currentLine=63832114; + //BA.debugLineNum = 63832114;BA.debugLine="End Sub"; +return ""; +} +public String _stopcamera2(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "stopcamera2", false)) + {return ((String) Debug.delegate(ba, "stopcamera2", null));} +RDebugUtils.currentLine=64028672; + //BA.debugLineNum = 64028672;BA.debugLine="Private Sub StopCamera2"; +RDebugUtils.currentLine=64028674; + //BA.debugLineNum = 64028674;BA.debugLine="If camEx.IsInitialized Then"; +if (__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ .IsInitialized /*boolean*/ ()) { +RDebugUtils.currentLine=64028675; + //BA.debugLineNum = 64028675;BA.debugLine="camEx.Release"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._release /*String*/ (null); + }; +RDebugUtils.currentLine=64028677; + //BA.debugLineNum = 64028677;BA.debugLine="End Sub"; +return ""; +} +public String _camera1_ready(gunav2.keymon.com.mx.c_cliente __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "camera1_ready", false)) + {return ((String) Debug.delegate(ba, "camera1_ready", new Object[] {_success}));} +RDebugUtils.currentLine=63766528; + //BA.debugLineNum = 63766528;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +RDebugUtils.currentLine=63766529; + //BA.debugLineNum = 63766529;BA.debugLine="Log(\"Camara ready\")"; +__c.LogImpl("063766529","Camara ready",0); +RDebugUtils.currentLine=63766530; + //BA.debugLineNum = 63766530;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=63766531; + //BA.debugLineNum = 63766531;BA.debugLine="camEx.SetJpegQuality(90)"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._setjpegquality /*String*/ (null,(int) (90)); +RDebugUtils.currentLine=63766532; + //BA.debugLineNum = 63766532;BA.debugLine="camEx.SetContinuousAutoFocus"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._setcontinuousautofocus /*String*/ (null); +RDebugUtils.currentLine=63766533; + //BA.debugLineNum = 63766533;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=63766534; + //BA.debugLineNum = 63766534;BA.debugLine="camEx.StartPreview"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=63766535; + //BA.debugLineNum = 63766535;BA.debugLine="Log(camEx.GetPreviewSize)"; +__c.LogImpl("063766535",BA.ObjectToString(__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._getpreviewsize /*gunav2.keymon.com.mx.cameraexclass._camerasize*/ (null)),0); + }else { +RDebugUtils.currentLine=63766537; + //BA.debugLineNum = 63766537;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); +RDebugUtils.currentLine=63766538; + //BA.debugLineNum = 63766538;BA.debugLine="Log(\"Cannot open camera\")"; +__c.LogImpl("063766538","Cannot open camera",0); + }; +RDebugUtils.currentLine=63766540; + //BA.debugLineNum = 63766540;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p1_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p1_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p1_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52101120; + //BA.debugLineNum = 52101120;BA.debugLine="Private Sub cb_p1_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52101121; + //BA.debugLineNum = 52101121;BA.debugLine="itemselect8 = Sender.As(B4XComboBox).SelectedItem"; +__ref._itemselect8 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52101122; + //BA.debugLineNum = 52101122;BA.debugLine="Log(itemselect8)"; +__c.LogImpl("052101122",__ref._itemselect8 /*String*/ ,0); +RDebugUtils.currentLine=52101123; + //BA.debugLineNum = 52101123;BA.debugLine="Log(Index)"; +__c.LogImpl("052101123",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52101124; + //BA.debugLineNum = 52101124;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p2_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p2_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p2_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52166656; + //BA.debugLineNum = 52166656;BA.debugLine="Private Sub cb_p2_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52166657; + //BA.debugLineNum = 52166657;BA.debugLine="itemselect9 = Sender.As(B4XComboBox).SelectedItem"; +__ref._itemselect9 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52166658; + //BA.debugLineNum = 52166658;BA.debugLine="Log(itemselect9)"; +__c.LogImpl("052166658",__ref._itemselect9 /*String*/ ,0); +RDebugUtils.currentLine=52166659; + //BA.debugLineNum = 52166659;BA.debugLine="Log(Index)"; +__c.LogImpl("052166659",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52166660; + //BA.debugLineNum = 52166660;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p3_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p3_m4_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p3_m4_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=51707904; + //BA.debugLineNum = 51707904;BA.debugLine="Private Sub cb_p3_m4_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=51707905; + //BA.debugLineNum = 51707905;BA.debugLine="itemselect2 = Sender.As(B4XComboBox).SelectedItem"; +__ref._itemselect2 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=51707906; + //BA.debugLineNum = 51707906;BA.debugLine="Log(itemselect2)"; +__c.LogImpl("051707906",__ref._itemselect2 /*String*/ ,0); +RDebugUtils.currentLine=51707907; + //BA.debugLineNum = 51707907;BA.debugLine="Log(Index)"; +__c.LogImpl("051707907",BA.NumberToString(_index),0); +RDebugUtils.currentLine=51707908; + //BA.debugLineNum = 51707908;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p3_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p3_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p3_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52232192; + //BA.debugLineNum = 52232192;BA.debugLine="Private Sub cb_p3_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52232193; + //BA.debugLineNum = 52232193;BA.debugLine="itemselect10 = Sender.As(B4XComboBox).SelectedIte"; +__ref._itemselect10 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52232194; + //BA.debugLineNum = 52232194;BA.debugLine="Log(itemselect10)"; +__c.LogImpl("052232194",__ref._itemselect10 /*String*/ ,0); +RDebugUtils.currentLine=52232195; + //BA.debugLineNum = 52232195;BA.debugLine="Log(Index)"; +__c.LogImpl("052232195",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52232196; + //BA.debugLineNum = 52232196;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p4_1_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p4_1_m4_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p4_1_m4_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=51773440; + //BA.debugLineNum = 51773440;BA.debugLine="Private Sub cb_p4_1_m4_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=51773441; + //BA.debugLineNum = 51773441;BA.debugLine="itemselect3 = Sender.As(B4XComboBox).SelectedItem"; +__ref._itemselect3 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=51773442; + //BA.debugLineNum = 51773442;BA.debugLine="Log(itemselect3)"; +__c.LogImpl("051773442",__ref._itemselect3 /*String*/ ,0); +RDebugUtils.currentLine=51773443; + //BA.debugLineNum = 51773443;BA.debugLine="Log(Index)"; +__c.LogImpl("051773443",BA.NumberToString(_index),0); +RDebugUtils.currentLine=51773444; + //BA.debugLineNum = 51773444;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p4_2_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p4_2_m4_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p4_2_m4_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=51838976; + //BA.debugLineNum = 51838976;BA.debugLine="Private Sub cb_p4_2_m4_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=51838977; + //BA.debugLineNum = 51838977;BA.debugLine="itemselect4 = Sender.As(B4XComboBox).SelectedItem"; +__ref._itemselect4 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=51838978; + //BA.debugLineNum = 51838978;BA.debugLine="Log(itemselect4)"; +__c.LogImpl("051838978",__ref._itemselect4 /*String*/ ,0); +RDebugUtils.currentLine=51838979; + //BA.debugLineNum = 51838979;BA.debugLine="Log(Index)"; +__c.LogImpl("051838979",BA.NumberToString(_index),0); +RDebugUtils.currentLine=51838980; + //BA.debugLineNum = 51838980;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p4_3_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p4_3_m4_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p4_3_m4_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=51904512; + //BA.debugLineNum = 51904512;BA.debugLine="Private Sub cb_p4_3_m4_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=51904513; + //BA.debugLineNum = 51904513;BA.debugLine="itemselect5 = Sender.As(B4XComboBox).SelectedItem"; +__ref._itemselect5 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=51904514; + //BA.debugLineNum = 51904514;BA.debugLine="Log(itemselect5)"; +__c.LogImpl("051904514",__ref._itemselect5 /*String*/ ,0); +RDebugUtils.currentLine=51904515; + //BA.debugLineNum = 51904515;BA.debugLine="Log(Index)"; +__c.LogImpl("051904515",BA.NumberToString(_index),0); +RDebugUtils.currentLine=51904516; + //BA.debugLineNum = 51904516;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p4_4_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p4_4_m4_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p4_4_m4_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=51970048; + //BA.debugLineNum = 51970048;BA.debugLine="Private Sub cb_p4_4_m4_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=51970049; + //BA.debugLineNum = 51970049;BA.debugLine="itemselect6 = Sender.As(B4XComboBox).SelectedItem"; +__ref._itemselect6 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=51970050; + //BA.debugLineNum = 51970050;BA.debugLine="Log(itemselect6)"; +__c.LogImpl("051970050",__ref._itemselect6 /*String*/ ,0); +RDebugUtils.currentLine=51970051; + //BA.debugLineNum = 51970051;BA.debugLine="Log(Index)"; +__c.LogImpl("051970051",BA.NumberToString(_index),0); +RDebugUtils.currentLine=51970052; + //BA.debugLineNum = 51970052;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p4_5_m4_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p4_5_m4_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p4_5_m4_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52035584; + //BA.debugLineNum = 52035584;BA.debugLine="Private Sub cb_p4_5_m4_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=52035585; + //BA.debugLineNum = 52035585;BA.debugLine="itemselect7 = Sender.As(B4XComboBox).SelectedItem"; +__ref._itemselect7 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52035586; + //BA.debugLineNum = 52035586;BA.debugLine="Log(itemselect7)"; +__c.LogImpl("052035586",__ref._itemselect7 /*String*/ ,0); +RDebugUtils.currentLine=52035587; + //BA.debugLineNum = 52035587;BA.debugLine="Log(Index)"; +__c.LogImpl("052035587",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52035588; + //BA.debugLineNum = 52035588;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p4_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p4_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p4_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52297728; + //BA.debugLineNum = 52297728;BA.debugLine="Private Sub cb_p4_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52297729; + //BA.debugLineNum = 52297729;BA.debugLine="itemselect11 = Sender.As(B4XComboBox).SelectedIte"; +__ref._itemselect11 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52297730; + //BA.debugLineNum = 52297730;BA.debugLine="Log(itemselect11)"; +__c.LogImpl("052297730",__ref._itemselect11 /*String*/ ,0); +RDebugUtils.currentLine=52297731; + //BA.debugLineNum = 52297731;BA.debugLine="Log(Index)"; +__c.LogImpl("052297731",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52297732; + //BA.debugLineNum = 52297732;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p5_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p5_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p5_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52363264; + //BA.debugLineNum = 52363264;BA.debugLine="Private Sub cb_p5_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52363265; + //BA.debugLineNum = 52363265;BA.debugLine="itemselect12 = Sender.As(B4XComboBox).SelectedIte"; +__ref._itemselect12 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52363266; + //BA.debugLineNum = 52363266;BA.debugLine="Log(itemselect12)"; +__c.LogImpl("052363266",__ref._itemselect12 /*String*/ ,0); +RDebugUtils.currentLine=52363267; + //BA.debugLineNum = 52363267;BA.debugLine="Log(Index)"; +__c.LogImpl("052363267",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52363268; + //BA.debugLineNum = 52363268;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p6_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p6_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p6_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52428800; + //BA.debugLineNum = 52428800;BA.debugLine="Private Sub cb_p6_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52428801; + //BA.debugLineNum = 52428801;BA.debugLine="itemselect13 = Sender.As(B4XComboBox).SelectedIte"; +__ref._itemselect13 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52428802; + //BA.debugLineNum = 52428802;BA.debugLine="Log(itemselect13)"; +__c.LogImpl("052428802",__ref._itemselect13 /*String*/ ,0); +RDebugUtils.currentLine=52428803; + //BA.debugLineNum = 52428803;BA.debugLine="Log(Index)"; +__c.LogImpl("052428803",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52428804; + //BA.debugLineNum = 52428804;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p7_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p7_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p7_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52494336; + //BA.debugLineNum = 52494336;BA.debugLine="Private Sub cb_p7_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52494337; + //BA.debugLineNum = 52494337;BA.debugLine="itemselect14 = Sender.As(B4XComboBox).SelectedIte"; +__ref._itemselect14 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52494338; + //BA.debugLineNum = 52494338;BA.debugLine="Log(itemselect14)"; +__c.LogImpl("052494338",__ref._itemselect14 /*String*/ ,0); +RDebugUtils.currentLine=52494339; + //BA.debugLineNum = 52494339;BA.debugLine="Log(Index)"; +__c.LogImpl("052494339",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52494340; + //BA.debugLineNum = 52494340;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p8_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p8_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p8_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52559872; + //BA.debugLineNum = 52559872;BA.debugLine="Private Sub cb_p8_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52559873; + //BA.debugLineNum = 52559873;BA.debugLine="itemselect15 = Sender.As(B4XComboBox).SelectedIte"; +__ref._itemselect15 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52559874; + //BA.debugLineNum = 52559874;BA.debugLine="Log(itemselect15)"; +__c.LogImpl("052559874",__ref._itemselect15 /*String*/ ,0); +RDebugUtils.currentLine=52559875; + //BA.debugLineNum = 52559875;BA.debugLine="Log(Index)"; +__c.LogImpl("052559875",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52559876; + //BA.debugLineNum = 52559876;BA.debugLine="End Sub"; +return ""; +} +public String _cb_p9_m5_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_p9_m5_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_p9_m5_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=52625408; + //BA.debugLineNum = 52625408;BA.debugLine="Private Sub cb_p9_m5_SelectedIndexChanged (Index A"; +RDebugUtils.currentLine=52625409; + //BA.debugLineNum = 52625409;BA.debugLine="itemselect16 = Sender.As(B4XComboBox).SelectedIte"; +__ref._itemselect16 /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=52625410; + //BA.debugLineNum = 52625410;BA.debugLine="Log(itemselect16)"; +__c.LogImpl("052625410",__ref._itemselect16 /*String*/ ,0); +RDebugUtils.currentLine=52625411; + //BA.debugLineNum = 52625411;BA.debugLine="Log(Index)"; +__c.LogImpl("052625411",BA.NumberToString(_index),0); +RDebugUtils.currentLine=52625412; + //BA.debugLineNum = 52625412;BA.debugLine="End Sub"; +return ""; +} +public String _cb_pregunta_selectedindexchanged(gunav2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_pregunta_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_pregunta_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=51576832; + //BA.debugLineNum = 51576832;BA.debugLine="Private Sub cb_pregunta_SelectedIndexChanged (Inde"; +RDebugUtils.currentLine=51576833; + //BA.debugLineNum = 51576833;BA.debugLine="girotienda = Sender.As(B4XComboBox).SelectedItem"; +__ref._girotienda /*String*/ = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=51576834; + //BA.debugLineNum = 51576834;BA.debugLine="Log(girotienda)"; +__c.LogImpl("051576834",__ref._girotienda /*String*/ ,0); +RDebugUtils.currentLine=51576835; + //BA.debugLineNum = 51576835;BA.debugLine="Log(Index)"; +__c.LogImpl("051576835",BA.NumberToString(_index),0); +RDebugUtils.currentLine=51576836; + //BA.debugLineNum = 51576836;BA.debugLine="End Sub"; +return ""; +} +public String _cb1_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb1_p3_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb1_p3_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58392576; + //BA.debugLineNum = 58392576;BA.debugLine="Private Sub CB1_P3_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58392577; + //BA.debugLineNum = 58392577;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; +RDebugUtils.currentLine=58392578; + //BA.debugLineNum = 58392578;BA.debugLine="If CB1_P3_M2.Checked Then"; +if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58392579; + //BA.debugLineNum = 58392579;BA.debugLine="textemp2 = CB1_P3_M2.Text"; +__ref._textemp2 /*String*/ = __ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58392581; + //BA.debugLineNum = 58392581;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; + }; +RDebugUtils.currentLine=58392583; + //BA.debugLineNum = 58392583;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58392584; + //BA.debugLineNum = 58392584;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58392585; + //BA.debugLineNum = 58392585;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58392586; + //BA.debugLineNum = 58392586;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58392587; + //BA.debugLineNum = 58392587;BA.debugLine="Log(textemp2)"; +__c.LogImpl("058392587",__ref._textemp2 /*String*/ ,0); +RDebugUtils.currentLine=58392588; + //BA.debugLineNum = 58392588;BA.debugLine="End Sub"; +return ""; +} +public String _cb1_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb1_p3_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb1_p3_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58982400; + //BA.debugLineNum = 58982400;BA.debugLine="Private Sub CB1_P3_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58982401; + //BA.debugLineNum = 58982401;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; +RDebugUtils.currentLine=58982402; + //BA.debugLineNum = 58982402;BA.debugLine="If CB1_P3_M3.Checked Then"; +if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58982403; + //BA.debugLineNum = 58982403;BA.debugLine="textemp4 = CB1_P3_M3.Text"; +__ref._textemp4 /*String*/ = __ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58982405; + //BA.debugLineNum = 58982405;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; + }; +RDebugUtils.currentLine=58982407; + //BA.debugLineNum = 58982407;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58982408; + //BA.debugLineNum = 58982408;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58982409; + //BA.debugLineNum = 58982409;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58982410; + //BA.debugLineNum = 58982410;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58982411; + //BA.debugLineNum = 58982411;BA.debugLine="Log(textemp4)"; +__c.LogImpl("058982411",__ref._textemp4 /*String*/ ,0); +RDebugUtils.currentLine=58982412; + //BA.debugLineNum = 58982412;BA.debugLine="End Sub"; +return ""; +} +public String _cb1_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb1_p4_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb1_p4_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58720256; + //BA.debugLineNum = 58720256;BA.debugLine="Private Sub CB1_P4_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58720257; + //BA.debugLineNum = 58720257;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; +RDebugUtils.currentLine=58720258; + //BA.debugLineNum = 58720258;BA.debugLine="If CB1_P4_M2.Checked Then"; +if (__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58720259; + //BA.debugLineNum = 58720259;BA.debugLine="textemp3 = CB1_P4_M2.Text"; +__ref._textemp3 /*String*/ = __ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58720261; + //BA.debugLineNum = 58720261;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; + }; +RDebugUtils.currentLine=58720263; + //BA.debugLineNum = 58720263;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58720264; + //BA.debugLineNum = 58720264;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58720265; + //BA.debugLineNum = 58720265;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58720266; + //BA.debugLineNum = 58720266;BA.debugLine="Log(textemp3)"; +__c.LogImpl("058720266",__ref._textemp3 /*String*/ ,0); +RDebugUtils.currentLine=58720267; + //BA.debugLineNum = 58720267;BA.debugLine="End Sub"; +return ""; +} +public String _cb1_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb1_p4_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb1_p4_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59310080; + //BA.debugLineNum = 59310080;BA.debugLine="Private Sub CB1_P4_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59310081; + //BA.debugLineNum = 59310081;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; +RDebugUtils.currentLine=59310082; + //BA.debugLineNum = 59310082;BA.debugLine="CB5_P4_M3.Checked = False"; +__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=59310083; + //BA.debugLineNum = 59310083;BA.debugLine="If CB1_P4_M3.Checked Then"; +if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59310084; + //BA.debugLineNum = 59310084;BA.debugLine="textemp5 = CB1_P4_M3.Text"; +__ref._textemp5 /*String*/ = __ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59310086; + //BA.debugLineNum = 59310086;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; + }; +RDebugUtils.currentLine=59310088; + //BA.debugLineNum = 59310088;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59310089; + //BA.debugLineNum = 59310089;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59310090; + //BA.debugLineNum = 59310090;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59310091; + //BA.debugLineNum = 59310091;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59310092; + //BA.debugLineNum = 59310092;BA.debugLine="Log(textemp5)"; +__c.LogImpl("059310092",__ref._textemp5 /*String*/ ,0); +RDebugUtils.currentLine=59310093; + //BA.debugLineNum = 59310093;BA.debugLine="End Sub"; +return ""; +} +public String _cb1_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb1_p6_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb1_p6_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59637760; + //BA.debugLineNum = 59637760;BA.debugLine="Private Sub CB1_P6_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59637761; + //BA.debugLineNum = 59637761;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; +RDebugUtils.currentLine=59637762; + //BA.debugLineNum = 59637762;BA.debugLine="If CB1_P6_M3.Checked Then"; +if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59637763; + //BA.debugLineNum = 59637763;BA.debugLine="textemp6 = CB1_P6_M3.Text"; +__ref._textemp6 /*String*/ = __ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59637765; + //BA.debugLineNum = 59637765;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; + }; +RDebugUtils.currentLine=59637767; + //BA.debugLineNum = 59637767;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59637768; + //BA.debugLineNum = 59637768;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59637769; + //BA.debugLineNum = 59637769;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59637770; + //BA.debugLineNum = 59637770;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59637771; + //BA.debugLineNum = 59637771;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59637772; + //BA.debugLineNum = 59637772;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59637773; + //BA.debugLineNum = 59637773;BA.debugLine="Log(textemp6)"; +__c.LogImpl("059637773",__ref._textemp6 /*String*/ ,0); +RDebugUtils.currentLine=59637774; + //BA.debugLineNum = 59637774;BA.debugLine="End Sub"; +return ""; +} +public String _cb1_p7_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb1_p7_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb1_p7_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60096512; + //BA.debugLineNum = 60096512;BA.debugLine="Private Sub CB1_P7_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60096513; + //BA.debugLineNum = 60096513;BA.debugLine="textemp7 = \"\""; +__ref._textemp7 /*String*/ = ""; +RDebugUtils.currentLine=60096514; + //BA.debugLineNum = 60096514;BA.debugLine="If CB1_P7_M3.Checked Then"; +if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=60096515; + //BA.debugLineNum = 60096515;BA.debugLine="textemp7 = CB1_P7_M3.Text"; +__ref._textemp7 /*String*/ = __ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=60096517; + //BA.debugLineNum = 60096517;BA.debugLine="textemp7 = \"\""; +__ref._textemp7 /*String*/ = ""; + }; +RDebugUtils.currentLine=60096519; + //BA.debugLineNum = 60096519;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60096520; + //BA.debugLineNum = 60096520;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60096521; + //BA.debugLineNum = 60096521;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60096522; + //BA.debugLineNum = 60096522;BA.debugLine="Log(textemp7)"; +__c.LogImpl("060096522",__ref._textemp7 /*String*/ ,0); +RDebugUtils.currentLine=60096523; + //BA.debugLineNum = 60096523;BA.debugLine="End Sub"; +return ""; +} +public String _cb1_p8_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb1_p8_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb1_p8_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60358656; + //BA.debugLineNum = 60358656;BA.debugLine="Private Sub CB1_P8_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60358657; + //BA.debugLineNum = 60358657;BA.debugLine="textemp8 = \"\""; +__ref._textemp8 /*String*/ = ""; +RDebugUtils.currentLine=60358658; + //BA.debugLineNum = 60358658;BA.debugLine="textemp8 = CB1_P8_M3.Text"; +__ref._textemp8 /*String*/ = __ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=60358659; + //BA.debugLineNum = 60358659;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60358660; + //BA.debugLineNum = 60358660;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60358661; + //BA.debugLineNum = 60358661;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60358662; + //BA.debugLineNum = 60358662;BA.debugLine="Log(textemp8)"; +__c.LogImpl("060358662",__ref._textemp8 /*String*/ ,0); +RDebugUtils.currentLine=60358663; + //BA.debugLineNum = 60358663;BA.debugLine="End Sub"; +return ""; +} +public String _cb2_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb2_p3_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb2_p3_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58458112; + //BA.debugLineNum = 58458112;BA.debugLine="Private Sub CB2_P3_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58458113; + //BA.debugLineNum = 58458113;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; +RDebugUtils.currentLine=58458114; + //BA.debugLineNum = 58458114;BA.debugLine="If CB2_P3_M2.Checked Then"; +if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58458115; + //BA.debugLineNum = 58458115;BA.debugLine="textemp2 = CB2_P3_M2.Text"; +__ref._textemp2 /*String*/ = __ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58458117; + //BA.debugLineNum = 58458117;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; + }; +RDebugUtils.currentLine=58458119; + //BA.debugLineNum = 58458119;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58458120; + //BA.debugLineNum = 58458120;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58458121; + //BA.debugLineNum = 58458121;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58458122; + //BA.debugLineNum = 58458122;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58458123; + //BA.debugLineNum = 58458123;BA.debugLine="Log(textemp2)"; +__c.LogImpl("058458123",__ref._textemp2 /*String*/ ,0); +RDebugUtils.currentLine=58458124; + //BA.debugLineNum = 58458124;BA.debugLine="End Sub"; +return ""; +} +public String _cb2_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb2_p3_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb2_p3_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59047936; + //BA.debugLineNum = 59047936;BA.debugLine="Private Sub CB2_P3_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59047937; + //BA.debugLineNum = 59047937;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; +RDebugUtils.currentLine=59047938; + //BA.debugLineNum = 59047938;BA.debugLine="If CB2_P3_M3.Checked Then"; +if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59047939; + //BA.debugLineNum = 59047939;BA.debugLine="textemp4 = CB2_P3_M3.Text"; +__ref._textemp4 /*String*/ = __ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59047941; + //BA.debugLineNum = 59047941;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; + }; +RDebugUtils.currentLine=59047943; + //BA.debugLineNum = 59047943;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59047944; + //BA.debugLineNum = 59047944;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59047945; + //BA.debugLineNum = 59047945;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59047946; + //BA.debugLineNum = 59047946;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59047947; + //BA.debugLineNum = 59047947;BA.debugLine="Log(textemp4)"; +__c.LogImpl("059047947",__ref._textemp4 /*String*/ ,0); +RDebugUtils.currentLine=59047948; + //BA.debugLineNum = 59047948;BA.debugLine="End Sub"; +return ""; +} +public String _cb2_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb2_p4_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb2_p4_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58785792; + //BA.debugLineNum = 58785792;BA.debugLine="Private Sub CB2_P4_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58785793; + //BA.debugLineNum = 58785793;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; +RDebugUtils.currentLine=58785794; + //BA.debugLineNum = 58785794;BA.debugLine="If CB2_P4_M2.Checked Then"; +if (__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58785795; + //BA.debugLineNum = 58785795;BA.debugLine="textemp3 = CB2_P4_M2.Text"; +__ref._textemp3 /*String*/ = __ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58785797; + //BA.debugLineNum = 58785797;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; + }; +RDebugUtils.currentLine=58785799; + //BA.debugLineNum = 58785799;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58785800; + //BA.debugLineNum = 58785800;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58785801; + //BA.debugLineNum = 58785801;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58785802; + //BA.debugLineNum = 58785802;BA.debugLine="Log(textemp3)"; +__c.LogImpl("058785802",__ref._textemp3 /*String*/ ,0); +RDebugUtils.currentLine=58785803; + //BA.debugLineNum = 58785803;BA.debugLine="End Sub"; +return ""; +} +public String _cb2_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb2_p4_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb2_p4_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59375616; + //BA.debugLineNum = 59375616;BA.debugLine="Private Sub CB2_P4_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59375617; + //BA.debugLineNum = 59375617;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; +RDebugUtils.currentLine=59375618; + //BA.debugLineNum = 59375618;BA.debugLine="CB5_P4_M3.Checked = False"; +__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=59375619; + //BA.debugLineNum = 59375619;BA.debugLine="If CB2_P4_M3.Checked Then"; +if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59375620; + //BA.debugLineNum = 59375620;BA.debugLine="textemp5 = CB2_P4_M3.Text"; +__ref._textemp5 /*String*/ = __ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59375622; + //BA.debugLineNum = 59375622;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; + }; +RDebugUtils.currentLine=59375624; + //BA.debugLineNum = 59375624;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59375625; + //BA.debugLineNum = 59375625;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59375626; + //BA.debugLineNum = 59375626;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59375627; + //BA.debugLineNum = 59375627;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59375628; + //BA.debugLineNum = 59375628;BA.debugLine="Log(textemp5)"; +__c.LogImpl("059375628",__ref._textemp5 /*String*/ ,0); +RDebugUtils.currentLine=59375629; + //BA.debugLineNum = 59375629;BA.debugLine="End Sub"; +return ""; +} +public String _cb2_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb2_p6_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb2_p6_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59703296; + //BA.debugLineNum = 59703296;BA.debugLine="Private Sub CB2_P6_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59703297; + //BA.debugLineNum = 59703297;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; +RDebugUtils.currentLine=59703298; + //BA.debugLineNum = 59703298;BA.debugLine="If CB2_P6_M3.Checked Then"; +if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59703299; + //BA.debugLineNum = 59703299;BA.debugLine="textemp6 = CB2_P6_M3.Text"; +__ref._textemp6 /*String*/ = __ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59703301; + //BA.debugLineNum = 59703301;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; + }; +RDebugUtils.currentLine=59703303; + //BA.debugLineNum = 59703303;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59703304; + //BA.debugLineNum = 59703304;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59703305; + //BA.debugLineNum = 59703305;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59703306; + //BA.debugLineNum = 59703306;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59703307; + //BA.debugLineNum = 59703307;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59703308; + //BA.debugLineNum = 59703308;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59703309; + //BA.debugLineNum = 59703309;BA.debugLine="Log(textemp6)"; +__c.LogImpl("059703309",__ref._textemp6 /*String*/ ,0); +RDebugUtils.currentLine=59703310; + //BA.debugLineNum = 59703310;BA.debugLine="End Sub"; +return ""; +} +public String _cb2_p7_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb2_p7_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb2_p7_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60162048; + //BA.debugLineNum = 60162048;BA.debugLine="Private Sub CB2_P7_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60162049; + //BA.debugLineNum = 60162049;BA.debugLine="textemp7 = \"\""; +__ref._textemp7 /*String*/ = ""; +RDebugUtils.currentLine=60162050; + //BA.debugLineNum = 60162050;BA.debugLine="If CB2_P7_M3.Checked Then"; +if (__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=60162051; + //BA.debugLineNum = 60162051;BA.debugLine="textemp7 = CB2_P7_M3.Text"; +__ref._textemp7 /*String*/ = __ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=60162053; + //BA.debugLineNum = 60162053;BA.debugLine="textemp7 = \"\""; +__ref._textemp7 /*String*/ = ""; + }; +RDebugUtils.currentLine=60162055; + //BA.debugLineNum = 60162055;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60162056; + //BA.debugLineNum = 60162056;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60162057; + //BA.debugLineNum = 60162057;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60162058; + //BA.debugLineNum = 60162058;BA.debugLine="Log(textemp7)"; +__c.LogImpl("060162058",__ref._textemp7 /*String*/ ,0); +RDebugUtils.currentLine=60162059; + //BA.debugLineNum = 60162059;BA.debugLine="End Sub"; +return ""; +} +public String _cb2_p8_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb2_p8_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb2_p8_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60424192; + //BA.debugLineNum = 60424192;BA.debugLine="Private Sub CB2_P8_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60424193; + //BA.debugLineNum = 60424193;BA.debugLine="textemp8 = \"\""; +__ref._textemp8 /*String*/ = ""; +RDebugUtils.currentLine=60424194; + //BA.debugLineNum = 60424194;BA.debugLine="textemp8 = CB2_P8_M3.Text"; +__ref._textemp8 /*String*/ = __ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=60424195; + //BA.debugLineNum = 60424195;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60424196; + //BA.debugLineNum = 60424196;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60424197; + //BA.debugLineNum = 60424197;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60424198; + //BA.debugLineNum = 60424198;BA.debugLine="Log(textemp8)"; +__c.LogImpl("060424198",__ref._textemp8 /*String*/ ,0); +RDebugUtils.currentLine=60424199; + //BA.debugLineNum = 60424199;BA.debugLine="End Sub"; +return ""; +} +public String _cb3_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb3_p3_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb3_p3_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58523648; + //BA.debugLineNum = 58523648;BA.debugLine="Private Sub CB3_P3_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58523649; + //BA.debugLineNum = 58523649;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; +RDebugUtils.currentLine=58523650; + //BA.debugLineNum = 58523650;BA.debugLine="If CB3_P3_M2.Checked Then"; +if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58523651; + //BA.debugLineNum = 58523651;BA.debugLine="textemp2 = CB3_P3_M2.Text"; +__ref._textemp2 /*String*/ = __ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58523653; + //BA.debugLineNum = 58523653;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; + }; +RDebugUtils.currentLine=58523655; + //BA.debugLineNum = 58523655;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58523656; + //BA.debugLineNum = 58523656;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58523657; + //BA.debugLineNum = 58523657;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58523658; + //BA.debugLineNum = 58523658;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58523659; + //BA.debugLineNum = 58523659;BA.debugLine="Log(textemp2)"; +__c.LogImpl("058523659",__ref._textemp2 /*String*/ ,0); +RDebugUtils.currentLine=58523660; + //BA.debugLineNum = 58523660;BA.debugLine="End Sub"; +return ""; +} +public String _cb3_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb3_p3_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb3_p3_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59113472; + //BA.debugLineNum = 59113472;BA.debugLine="Private Sub CB3_P3_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59113473; + //BA.debugLineNum = 59113473;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; +RDebugUtils.currentLine=59113474; + //BA.debugLineNum = 59113474;BA.debugLine="If CB3_P3_M3.Checked Then"; +if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59113475; + //BA.debugLineNum = 59113475;BA.debugLine="textemp4 = CB3_P3_M3.Text"; +__ref._textemp4 /*String*/ = __ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59113477; + //BA.debugLineNum = 59113477;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; + }; +RDebugUtils.currentLine=59113479; + //BA.debugLineNum = 59113479;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59113480; + //BA.debugLineNum = 59113480;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59113481; + //BA.debugLineNum = 59113481;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59113482; + //BA.debugLineNum = 59113482;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59113483; + //BA.debugLineNum = 59113483;BA.debugLine="Log(textemp4)"; +__c.LogImpl("059113483",__ref._textemp4 /*String*/ ,0); +RDebugUtils.currentLine=59113484; + //BA.debugLineNum = 59113484;BA.debugLine="End Sub"; +return ""; +} +public String _cb3_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb3_p4_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb3_p4_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58851328; + //BA.debugLineNum = 58851328;BA.debugLine="Private Sub CB3_P4_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58851329; + //BA.debugLineNum = 58851329;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; +RDebugUtils.currentLine=58851330; + //BA.debugLineNum = 58851330;BA.debugLine="If CB3_P4_M2.Checked Then"; +if (__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58851331; + //BA.debugLineNum = 58851331;BA.debugLine="textemp3 = CB3_P4_M2.Text"; +__ref._textemp3 /*String*/ = __ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58851333; + //BA.debugLineNum = 58851333;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; + }; +RDebugUtils.currentLine=58851335; + //BA.debugLineNum = 58851335;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58851336; + //BA.debugLineNum = 58851336;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58851337; + //BA.debugLineNum = 58851337;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58851338; + //BA.debugLineNum = 58851338;BA.debugLine="Log(textemp3)"; +__c.LogImpl("058851338",__ref._textemp3 /*String*/ ,0); +RDebugUtils.currentLine=58851339; + //BA.debugLineNum = 58851339;BA.debugLine="End Sub"; +return ""; +} +public String _cb3_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb3_p4_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb3_p4_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59441152; + //BA.debugLineNum = 59441152;BA.debugLine="Private Sub CB3_P4_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59441153; + //BA.debugLineNum = 59441153;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; +RDebugUtils.currentLine=59441154; + //BA.debugLineNum = 59441154;BA.debugLine="CB5_P4_M3.Checked = False"; +__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=59441155; + //BA.debugLineNum = 59441155;BA.debugLine="If CB3_P4_M3.Checked Then"; +if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59441156; + //BA.debugLineNum = 59441156;BA.debugLine="textemp5 = CB3_P4_M3.Text"; +__ref._textemp5 /*String*/ = __ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59441158; + //BA.debugLineNum = 59441158;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; + }; +RDebugUtils.currentLine=59441160; + //BA.debugLineNum = 59441160;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59441161; + //BA.debugLineNum = 59441161;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59441162; + //BA.debugLineNum = 59441162;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59441163; + //BA.debugLineNum = 59441163;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59441164; + //BA.debugLineNum = 59441164;BA.debugLine="Log(textemp5)"; +__c.LogImpl("059441164",__ref._textemp5 /*String*/ ,0); +RDebugUtils.currentLine=59441165; + //BA.debugLineNum = 59441165;BA.debugLine="End Sub"; +return ""; +} +public String _cb3_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb3_p6_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb3_p6_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59768832; + //BA.debugLineNum = 59768832;BA.debugLine="Private Sub CB3_P6_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59768833; + //BA.debugLineNum = 59768833;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; +RDebugUtils.currentLine=59768834; + //BA.debugLineNum = 59768834;BA.debugLine="If CB3_P6_M3.Checked Then"; +if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59768835; + //BA.debugLineNum = 59768835;BA.debugLine="textemp6 = CB3_P6_M3.Text"; +__ref._textemp6 /*String*/ = __ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59768837; + //BA.debugLineNum = 59768837;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; + }; +RDebugUtils.currentLine=59768839; + //BA.debugLineNum = 59768839;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59768840; + //BA.debugLineNum = 59768840;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59768841; + //BA.debugLineNum = 59768841;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59768842; + //BA.debugLineNum = 59768842;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59768843; + //BA.debugLineNum = 59768843;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59768844; + //BA.debugLineNum = 59768844;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59768845; + //BA.debugLineNum = 59768845;BA.debugLine="Log(textemp6)"; +__c.LogImpl("059768845",__ref._textemp6 /*String*/ ,0); +RDebugUtils.currentLine=59768846; + //BA.debugLineNum = 59768846;BA.debugLine="End Sub"; +return ""; +} +public String _cb3_p7_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb3_p7_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb3_p7_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60227584; + //BA.debugLineNum = 60227584;BA.debugLine="Private Sub CB3_P7_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60227585; + //BA.debugLineNum = 60227585;BA.debugLine="textemp7 = \"\""; +__ref._textemp7 /*String*/ = ""; +RDebugUtils.currentLine=60227586; + //BA.debugLineNum = 60227586;BA.debugLine="If CB3_P7_M3.Checked Then"; +if (__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=60227587; + //BA.debugLineNum = 60227587;BA.debugLine="textemp7 = CB3_P7_M3.Text"; +__ref._textemp7 /*String*/ = __ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=60227589; + //BA.debugLineNum = 60227589;BA.debugLine="textemp7 = \"\""; +__ref._textemp7 /*String*/ = ""; + }; +RDebugUtils.currentLine=60227591; + //BA.debugLineNum = 60227591;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60227592; + //BA.debugLineNum = 60227592;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60227593; + //BA.debugLineNum = 60227593;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60227594; + //BA.debugLineNum = 60227594;BA.debugLine="Log(textemp7)"; +__c.LogImpl("060227594",__ref._textemp7 /*String*/ ,0); +RDebugUtils.currentLine=60227595; + //BA.debugLineNum = 60227595;BA.debugLine="End Sub"; +return ""; +} +public String _cb3_p8_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb3_p8_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb3_p8_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60489728; + //BA.debugLineNum = 60489728;BA.debugLine="Private Sub CB3_P8_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60489729; + //BA.debugLineNum = 60489729;BA.debugLine="textemp8 = \"\""; +__ref._textemp8 /*String*/ = ""; +RDebugUtils.currentLine=60489730; + //BA.debugLineNum = 60489730;BA.debugLine="textemp8 = CB3_P8_M3.Text"; +__ref._textemp8 /*String*/ = __ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=60489731; + //BA.debugLineNum = 60489731;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60489732; + //BA.debugLineNum = 60489732;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60489733; + //BA.debugLineNum = 60489733;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60489734; + //BA.debugLineNum = 60489734;BA.debugLine="Log(textemp8)"; +__c.LogImpl("060489734",__ref._textemp8 /*String*/ ,0); +RDebugUtils.currentLine=60489735; + //BA.debugLineNum = 60489735;BA.debugLine="End Sub"; +return ""; +} +public String _cb4_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb4_p3_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb4_p3_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58589184; + //BA.debugLineNum = 58589184;BA.debugLine="Private Sub CB4_P3_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58589185; + //BA.debugLineNum = 58589185;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; +RDebugUtils.currentLine=58589186; + //BA.debugLineNum = 58589186;BA.debugLine="If CB4_P3_M2.Checked Then"; +if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58589187; + //BA.debugLineNum = 58589187;BA.debugLine="textemp2 = CB4_P3_M2.Text"; +__ref._textemp2 /*String*/ = __ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58589189; + //BA.debugLineNum = 58589189;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; + }; +RDebugUtils.currentLine=58589191; + //BA.debugLineNum = 58589191;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58589192; + //BA.debugLineNum = 58589192;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58589193; + //BA.debugLineNum = 58589193;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58589194; + //BA.debugLineNum = 58589194;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58589195; + //BA.debugLineNum = 58589195;BA.debugLine="Log(textemp2)"; +__c.LogImpl("058589195",__ref._textemp2 /*String*/ ,0); +RDebugUtils.currentLine=58589196; + //BA.debugLineNum = 58589196;BA.debugLine="End Sub"; +return ""; +} +public String _cb4_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb4_p3_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb4_p3_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59179008; + //BA.debugLineNum = 59179008;BA.debugLine="Private Sub CB4_P3_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59179009; + //BA.debugLineNum = 59179009;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; +RDebugUtils.currentLine=59179010; + //BA.debugLineNum = 59179010;BA.debugLine="If CB4_P3_M3.Checked Then"; +if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59179011; + //BA.debugLineNum = 59179011;BA.debugLine="textemp4 = CB4_P3_M3.Text"; +__ref._textemp4 /*String*/ = __ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59179013; + //BA.debugLineNum = 59179013;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; + }; +RDebugUtils.currentLine=59179015; + //BA.debugLineNum = 59179015;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59179016; + //BA.debugLineNum = 59179016;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59179017; + //BA.debugLineNum = 59179017;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59179018; + //BA.debugLineNum = 59179018;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59179019; + //BA.debugLineNum = 59179019;BA.debugLine="Log(textemp4)"; +__c.LogImpl("059179019",__ref._textemp4 /*String*/ ,0); +RDebugUtils.currentLine=59179020; + //BA.debugLineNum = 59179020;BA.debugLine="End Sub"; +return ""; +} +public String _cb4_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb4_p4_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb4_p4_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58916864; + //BA.debugLineNum = 58916864;BA.debugLine="Private Sub CB4_P4_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58916865; + //BA.debugLineNum = 58916865;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; +RDebugUtils.currentLine=58916866; + //BA.debugLineNum = 58916866;BA.debugLine="If CB4_P4_M2.Checked Then"; +if (__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58916867; + //BA.debugLineNum = 58916867;BA.debugLine="textemp3 = CB4_P4_M2.Text"; +__ref._textemp3 /*String*/ = __ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58916869; + //BA.debugLineNum = 58916869;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; + }; +RDebugUtils.currentLine=58916871; + //BA.debugLineNum = 58916871;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58916872; + //BA.debugLineNum = 58916872;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58916873; + //BA.debugLineNum = 58916873;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \""; +if (__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp3 /*String*/ = __ref._textemp3 /*String*/ +", "+__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58916874; + //BA.debugLineNum = 58916874;BA.debugLine="Log(textemp3)"; +__c.LogImpl("058916874",__ref._textemp3 /*String*/ ,0); +RDebugUtils.currentLine=58916875; + //BA.debugLineNum = 58916875;BA.debugLine="End Sub"; +return ""; +} +public String _cb4_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb4_p4_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb4_p4_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59506688; + //BA.debugLineNum = 59506688;BA.debugLine="Private Sub CB4_P4_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59506689; + //BA.debugLineNum = 59506689;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; +RDebugUtils.currentLine=59506690; + //BA.debugLineNum = 59506690;BA.debugLine="CB5_P4_M3.Checked = False"; +__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=59506691; + //BA.debugLineNum = 59506691;BA.debugLine="If CB4_P4_M3.Checked Then"; +if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59506692; + //BA.debugLineNum = 59506692;BA.debugLine="textemp5 = CB4_P4_M3.Text"; +__ref._textemp5 /*String*/ = __ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59506694; + //BA.debugLineNum = 59506694;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; + }; +RDebugUtils.currentLine=59506696; + //BA.debugLineNum = 59506696;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59506697; + //BA.debugLineNum = 59506697;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59506698; + //BA.debugLineNum = 59506698;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59506699; + //BA.debugLineNum = 59506699;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59506700; + //BA.debugLineNum = 59506700;BA.debugLine="Log(textemp5)"; +__c.LogImpl("059506700",__ref._textemp5 /*String*/ ,0); +RDebugUtils.currentLine=59506701; + //BA.debugLineNum = 59506701;BA.debugLine="End Sub"; +return ""; +} +public String _cb4_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb4_p6_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb4_p6_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59834368; + //BA.debugLineNum = 59834368;BA.debugLine="Private Sub CB4_P6_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59834369; + //BA.debugLineNum = 59834369;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; +RDebugUtils.currentLine=59834370; + //BA.debugLineNum = 59834370;BA.debugLine="If CB4_P6_M3.Checked Then"; +if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59834371; + //BA.debugLineNum = 59834371;BA.debugLine="textemp6 = CB4_P6_M3.Text"; +__ref._textemp6 /*String*/ = __ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59834373; + //BA.debugLineNum = 59834373;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; + }; +RDebugUtils.currentLine=59834375; + //BA.debugLineNum = 59834375;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59834376; + //BA.debugLineNum = 59834376;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59834377; + //BA.debugLineNum = 59834377;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59834378; + //BA.debugLineNum = 59834378;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59834379; + //BA.debugLineNum = 59834379;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59834380; + //BA.debugLineNum = 59834380;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59834381; + //BA.debugLineNum = 59834381;BA.debugLine="Log(textemp6)"; +__c.LogImpl("059834381",__ref._textemp6 /*String*/ ,0); +RDebugUtils.currentLine=59834382; + //BA.debugLineNum = 59834382;BA.debugLine="End Sub"; +return ""; +} +public String _cb4_p7_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb4_p7_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb4_p7_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60293120; + //BA.debugLineNum = 60293120;BA.debugLine="Private Sub CB4_P7_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60293121; + //BA.debugLineNum = 60293121;BA.debugLine="textemp7 = \"\""; +__ref._textemp7 /*String*/ = ""; +RDebugUtils.currentLine=60293122; + //BA.debugLineNum = 60293122;BA.debugLine="If CB4_P7_M3.Checked Then"; +if (__ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=60293123; + //BA.debugLineNum = 60293123;BA.debugLine="textemp7 = CB4_P7_M3.Text"; +__ref._textemp7 /*String*/ = __ref._cb4_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=60293125; + //BA.debugLineNum = 60293125;BA.debugLine="textemp7 = \"\""; +__ref._textemp7 /*String*/ = ""; + }; +RDebugUtils.currentLine=60293127; + //BA.debugLineNum = 60293127;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb1_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60293128; + //BA.debugLineNum = 60293128;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb2_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60293129; + //BA.debugLineNum = 60293129;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \""; +if (__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp7 /*String*/ = __ref._textemp7 /*String*/ +", "+__ref._cb3_p7_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60293130; + //BA.debugLineNum = 60293130;BA.debugLine="Log(textemp7)"; +__c.LogImpl("060293130",__ref._textemp7 /*String*/ ,0); +RDebugUtils.currentLine=60293131; + //BA.debugLineNum = 60293131;BA.debugLine="End Sub"; +return ""; +} +public String _cb4_p8_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb4_p8_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb4_p8_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60555264; + //BA.debugLineNum = 60555264;BA.debugLine="Private Sub CB4_P8_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60555265; + //BA.debugLineNum = 60555265;BA.debugLine="textemp8 = \"\""; +__ref._textemp8 /*String*/ = ""; +RDebugUtils.currentLine=60555266; + //BA.debugLineNum = 60555266;BA.debugLine="textemp8 = CB4_P8_M3.Text"; +__ref._textemp8 /*String*/ = __ref._cb4_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=60555267; + //BA.debugLineNum = 60555267;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb1_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60555268; + //BA.debugLineNum = 60555268;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb2_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60555269; + //BA.debugLineNum = 60555269;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \""; +if (__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp8 /*String*/ = __ref._textemp8 /*String*/ +", "+__ref._cb3_p8_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60555270; + //BA.debugLineNum = 60555270;BA.debugLine="Log(textemp8)"; +__c.LogImpl("060555270",__ref._textemp8 /*String*/ ,0); +RDebugUtils.currentLine=60555271; + //BA.debugLineNum = 60555271;BA.debugLine="End Sub"; +return ""; +} +public String _cb5_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb5_p3_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb5_p3_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58654720; + //BA.debugLineNum = 58654720;BA.debugLine="Private Sub CB5_P3_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58654721; + //BA.debugLineNum = 58654721;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; +RDebugUtils.currentLine=58654722; + //BA.debugLineNum = 58654722;BA.debugLine="If CB5_P3_M2.Checked Then"; +if (__ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=58654723; + //BA.debugLineNum = 58654723;BA.debugLine="textemp2 = CB5_P3_M2.Text"; +__ref._textemp2 /*String*/ = __ref._cb5_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=58654725; + //BA.debugLineNum = 58654725;BA.debugLine="textemp2 = \"\""; +__ref._textemp2 /*String*/ = ""; + }; +RDebugUtils.currentLine=58654727; + //BA.debugLineNum = 58654727;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58654728; + //BA.debugLineNum = 58654728;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58654729; + //BA.debugLineNum = 58654729;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58654730; + //BA.debugLineNum = 58654730;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \""; +if (__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp2 /*String*/ = __ref._textemp2 /*String*/ +", "+__ref._cb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=58654731; + //BA.debugLineNum = 58654731;BA.debugLine="Log(textemp2)"; +__c.LogImpl("058654731",__ref._textemp2 /*String*/ ,0); +RDebugUtils.currentLine=58654732; + //BA.debugLineNum = 58654732;BA.debugLine="End Sub"; +return ""; +} +public String _cb5_p3_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb5_p3_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb5_p3_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59244544; + //BA.debugLineNum = 59244544;BA.debugLine="Private Sub CB5_P3_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59244545; + //BA.debugLineNum = 59244545;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; +RDebugUtils.currentLine=59244546; + //BA.debugLineNum = 59244546;BA.debugLine="If CB5_P3_M3.Checked Then"; +if (__ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59244547; + //BA.debugLineNum = 59244547;BA.debugLine="textemp4 = CB5_P3_M3.Text"; +__ref._textemp4 /*String*/ = __ref._cb5_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59244549; + //BA.debugLineNum = 59244549;BA.debugLine="textemp4 = \"\""; +__ref._textemp4 /*String*/ = ""; + }; +RDebugUtils.currentLine=59244551; + //BA.debugLineNum = 59244551;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb1_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59244552; + //BA.debugLineNum = 59244552;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb2_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59244553; + //BA.debugLineNum = 59244553;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb3_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59244554; + //BA.debugLineNum = 59244554;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \""; +if (__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp4 /*String*/ = __ref._textemp4 /*String*/ +", "+__ref._cb4_p3_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59244555; + //BA.debugLineNum = 59244555;BA.debugLine="Log(textemp4)"; +__c.LogImpl("059244555",__ref._textemp4 /*String*/ ,0); +RDebugUtils.currentLine=59244556; + //BA.debugLineNum = 59244556;BA.debugLine="End Sub"; +return ""; +} +public String _cb5_p4_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb5_p4_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb5_p4_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59572224; + //BA.debugLineNum = 59572224;BA.debugLine="Private Sub CB5_P4_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59572225; + //BA.debugLineNum = 59572225;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; +RDebugUtils.currentLine=59572226; + //BA.debugLineNum = 59572226;BA.debugLine="CB1_P4_M3.Checked = False"; +__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=59572227; + //BA.debugLineNum = 59572227;BA.debugLine="CB2_P4_M3.Checked = False"; +__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=59572228; + //BA.debugLineNum = 59572228;BA.debugLine="CB3_P4_M3.Checked = False"; +__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=59572229; + //BA.debugLineNum = 59572229;BA.debugLine="CB4_P4_M3.Checked = False"; +__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=59572230; + //BA.debugLineNum = 59572230;BA.debugLine="If CB5_P4_M3.Checked Then"; +if (__ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59572231; + //BA.debugLineNum = 59572231;BA.debugLine="textemp5 = CB5_P4_M3.Text"; +__ref._textemp5 /*String*/ = __ref._cb5_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59572233; + //BA.debugLineNum = 59572233;BA.debugLine="textemp5 = \"\""; +__ref._textemp5 /*String*/ = ""; + }; +RDebugUtils.currentLine=59572235; + //BA.debugLineNum = 59572235;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb1_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59572236; + //BA.debugLineNum = 59572236;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb2_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59572237; + //BA.debugLineNum = 59572237;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb3_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59572238; + //BA.debugLineNum = 59572238;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \""; +if (__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp5 /*String*/ = __ref._textemp5 /*String*/ +", "+__ref._cb4_p4_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59572239; + //BA.debugLineNum = 59572239;BA.debugLine="Log(textemp5)"; +__c.LogImpl("059572239",__ref._textemp5 /*String*/ ,0); +RDebugUtils.currentLine=59572240; + //BA.debugLineNum = 59572240;BA.debugLine="End Sub"; +return ""; +} +public String _cb5_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb5_p6_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb5_p6_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59899904; + //BA.debugLineNum = 59899904;BA.debugLine="Private Sub CB5_P6_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59899905; + //BA.debugLineNum = 59899905;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; +RDebugUtils.currentLine=59899906; + //BA.debugLineNum = 59899906;BA.debugLine="If CB5_P6_M3.Checked Then"; +if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59899907; + //BA.debugLineNum = 59899907;BA.debugLine="textemp6 = CB5_P6_M3.Text"; +__ref._textemp6 /*String*/ = __ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59899909; + //BA.debugLineNum = 59899909;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; + }; +RDebugUtils.currentLine=59899911; + //BA.debugLineNum = 59899911;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59899912; + //BA.debugLineNum = 59899912;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59899913; + //BA.debugLineNum = 59899913;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59899914; + //BA.debugLineNum = 59899914;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59899915; + //BA.debugLineNum = 59899915;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59899916; + //BA.debugLineNum = 59899916;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59899917; + //BA.debugLineNum = 59899917;BA.debugLine="Log(textemp6)"; +__c.LogImpl("059899917",__ref._textemp6 /*String*/ ,0); +RDebugUtils.currentLine=59899918; + //BA.debugLineNum = 59899918;BA.debugLine="End Sub"; +return ""; +} +public String _cb6_p3_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb6_p3_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb6_p3_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=57147392; + //BA.debugLineNum = 57147392;BA.debugLine="Private Sub CB6_P3_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=57147393; + //BA.debugLineNum = 57147393;BA.debugLine="If CB6_P3_M2.Checked = True Then"; +if (__ref._cb6_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=57147394; + //BA.debugLineNum = 57147394;BA.debugLine="Panel7_M2.Visible = True"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=57147396; + //BA.debugLineNum = 57147396;BA.debugLine="Panel7_M2.Visible = False"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=57147400; + //BA.debugLineNum = 57147400;BA.debugLine="End Sub"; +return ""; +} +public String _cb6_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb6_p6_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb6_p6_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=59965440; + //BA.debugLineNum = 59965440;BA.debugLine="Private Sub CB6_P6_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=59965441; + //BA.debugLineNum = 59965441;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; +RDebugUtils.currentLine=59965442; + //BA.debugLineNum = 59965442;BA.debugLine="If CB6_P6_M3.Checked Then"; +if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=59965443; + //BA.debugLineNum = 59965443;BA.debugLine="textemp6 = CB6_P6_M3.Text"; +__ref._textemp6 /*String*/ = __ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=59965445; + //BA.debugLineNum = 59965445;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; + }; +RDebugUtils.currentLine=59965447; + //BA.debugLineNum = 59965447;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59965448; + //BA.debugLineNum = 59965448;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59965449; + //BA.debugLineNum = 59965449;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59965450; + //BA.debugLineNum = 59965450;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59965451; + //BA.debugLineNum = 59965451;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59965452; + //BA.debugLineNum = 59965452;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=59965453; + //BA.debugLineNum = 59965453;BA.debugLine="Log(textemp6)"; +__c.LogImpl("059965453",__ref._textemp6 /*String*/ ,0); +RDebugUtils.currentLine=59965454; + //BA.debugLineNum = 59965454;BA.debugLine="End Sub"; +return ""; +} +public String _cb7_p6_m3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb7_p6_m3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb7_p6_m3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=60030976; + //BA.debugLineNum = 60030976;BA.debugLine="Private Sub CB7_P6_M3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=60030977; + //BA.debugLineNum = 60030977;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; +RDebugUtils.currentLine=60030978; + //BA.debugLineNum = 60030978;BA.debugLine="If CB7_P6_M3.Checked Then"; +if (__ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +RDebugUtils.currentLine=60030979; + //BA.debugLineNum = 60030979;BA.debugLine="textemp6 = CB7_P6_M3.Text"; +__ref._textemp6 /*String*/ = __ref._cb7_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); + }else { +RDebugUtils.currentLine=60030981; + //BA.debugLineNum = 60030981;BA.debugLine="textemp6 = \"\""; +__ref._textemp6 /*String*/ = ""; + }; +RDebugUtils.currentLine=60030983; + //BA.debugLineNum = 60030983;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb1_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60030984; + //BA.debugLineNum = 60030984;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb2_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60030985; + //BA.debugLineNum = 60030985;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb3_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60030986; + //BA.debugLineNum = 60030986;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb4_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60030987; + //BA.debugLineNum = 60030987;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb5_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60030988; + //BA.debugLineNum = 60030988;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \""; +if (__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +__ref._textemp6 /*String*/ = __ref._textemp6 /*String*/ +", "+__ref._cb6_p6_m3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=60030989; + //BA.debugLineNum = 60030989;BA.debugLine="Log(textemp6)"; +__c.LogImpl("060030989",__ref._textemp6 /*String*/ ,0); +RDebugUtils.currentLine=60030990; + //BA.debugLineNum = 60030990;BA.debugLine="End Sub"; +return ""; +} +public int _centropantalla(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "centropantalla", false)) + {return ((Integer) Debug.delegate(ba, "centropantalla", null));} +int _anchopantalla = 0; +RDebugUtils.currentLine=60817408; + //BA.debugLineNum = 60817408;BA.debugLine="Sub centroPantalla As Int"; +RDebugUtils.currentLine=60817409; + //BA.debugLineNum = 60817409;BA.debugLine="Private anchoPantalla As Int = GetDeviceLayoutVal"; +_anchopantalla = __c.GetDeviceLayoutValues(ba).Width; +RDebugUtils.currentLine=60817410; + //BA.debugLineNum = 60817410;BA.debugLine="Private anchoPantalla As Int = Root.Width"; +_anchopantalla = __ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(); +RDebugUtils.currentLine=60817411; + //BA.debugLineNum = 60817411;BA.debugLine="Return anchoPantalla/2"; +if (true) return (int) (_anchopantalla/(double)2); +RDebugUtils.currentLine=60817412; + //BA.debugLineNum = 60817412;BA.debugLine="End Sub"; +return 0; +} +public String _ch_factura_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "ch_factura_checkedchange", false)) + {return ((String) Debug.delegate(ba, "ch_factura_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=64225280; + //BA.debugLineNum = 64225280;BA.debugLine="Private Sub CH_FACTURA_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=64225282; + //BA.debugLineNum = 64225282;BA.debugLine="End Sub"; +return ""; +} +public String _chb_com_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "chb_com_checkedchange", false)) + {return ((String) Debug.delegate(ba, "chb_com_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=65077248; + //BA.debugLineNum = 65077248;BA.debugLine="Private Sub chb_com_CheckedChange(Checked As Boole"; +RDebugUtils.currentLine=65077250; + //BA.debugLineNum = 65077250;BA.debugLine="End Sub"; +return ""; +} +public String _checkbox1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "checkbox1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "checkbox1_checkedchange", new Object[] {_checked}));} +String _textemp = ""; +RDebugUtils.currentLine=56557568; + //BA.debugLineNum = 56557568;BA.debugLine="Private Sub CheckBox1_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=56557569; + //BA.debugLineNum = 56557569;BA.debugLine="Dim textemp As String =\"\""; +_textemp = ""; +RDebugUtils.currentLine=56557570; + //BA.debugLineNum = 56557570;BA.debugLine="textemp = CheckBox1.Text"; +_textemp = __ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=56557571; + //BA.debugLineNum = 56557571;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56557572; + //BA.debugLineNum = 56557572;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56557573; + //BA.debugLineNum = 56557573;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56557574; + //BA.debugLineNum = 56557574;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56557575; + //BA.debugLineNum = 56557575;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56557576; + //BA.debugLineNum = 56557576;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56557577; + //BA.debugLineNum = 56557577;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56557578; + //BA.debugLineNum = 56557578;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp)); +RDebugUtils.currentLine=56557579; + //BA.debugLineNum = 56557579;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056557579",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56557580; + //BA.debugLineNum = 56557580;BA.debugLine="End Sub"; +return ""; +} +public String _checkbox2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "checkbox2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "checkbox2_checkedchange", new Object[] {_checked}));} +String _textemp = ""; +RDebugUtils.currentLine=56623104; + //BA.debugLineNum = 56623104;BA.debugLine="Private Sub CheckBox2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=56623105; + //BA.debugLineNum = 56623105;BA.debugLine="Dim textemp As String =\"\""; +_textemp = ""; +RDebugUtils.currentLine=56623106; + //BA.debugLineNum = 56623106;BA.debugLine="textemp = CheckBox2.Text"; +_textemp = __ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=56623107; + //BA.debugLineNum = 56623107;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56623108; + //BA.debugLineNum = 56623108;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56623109; + //BA.debugLineNum = 56623109;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56623110; + //BA.debugLineNum = 56623110;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56623111; + //BA.debugLineNum = 56623111;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56623112; + //BA.debugLineNum = 56623112;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56623113; + //BA.debugLineNum = 56623113;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56623114; + //BA.debugLineNum = 56623114;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp)); +RDebugUtils.currentLine=56623115; + //BA.debugLineNum = 56623115;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056623115",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56623116; + //BA.debugLineNum = 56623116;BA.debugLine="End Sub"; +return ""; +} +public String _checkbox3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "checkbox3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "checkbox3_checkedchange", new Object[] {_checked}));} +String _textemp = ""; +RDebugUtils.currentLine=56688640; + //BA.debugLineNum = 56688640;BA.debugLine="Private Sub CheckBox3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=56688641; + //BA.debugLineNum = 56688641;BA.debugLine="Dim textemp As String =\"\""; +_textemp = ""; +RDebugUtils.currentLine=56688642; + //BA.debugLineNum = 56688642;BA.debugLine="textemp = CheckBox3.Text"; +_textemp = __ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=56688643; + //BA.debugLineNum = 56688643;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56688644; + //BA.debugLineNum = 56688644;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56688645; + //BA.debugLineNum = 56688645;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56688646; + //BA.debugLineNum = 56688646;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56688647; + //BA.debugLineNum = 56688647;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56688648; + //BA.debugLineNum = 56688648;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56688649; + //BA.debugLineNum = 56688649;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56688650; + //BA.debugLineNum = 56688650;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp)); +RDebugUtils.currentLine=56688651; + //BA.debugLineNum = 56688651;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056688651",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56688652; + //BA.debugLineNum = 56688652;BA.debugLine="End Sub"; +return ""; +} +public String _checkbox4_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "checkbox4_checkedchange", false)) + {return ((String) Debug.delegate(ba, "checkbox4_checkedchange", new Object[] {_checked}));} +String _textemp = ""; +RDebugUtils.currentLine=56754176; + //BA.debugLineNum = 56754176;BA.debugLine="Private Sub CheckBox4_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=56754177; + //BA.debugLineNum = 56754177;BA.debugLine="Dim textemp As String =\"\""; +_textemp = ""; +RDebugUtils.currentLine=56754178; + //BA.debugLineNum = 56754178;BA.debugLine="textemp = CheckBox4.Text"; +_textemp = __ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=56754179; + //BA.debugLineNum = 56754179;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56754180; + //BA.debugLineNum = 56754180;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56754181; + //BA.debugLineNum = 56754181;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56754182; + //BA.debugLineNum = 56754182;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56754183; + //BA.debugLineNum = 56754183;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56754184; + //BA.debugLineNum = 56754184;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56754185; + //BA.debugLineNum = 56754185;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56754186; + //BA.debugLineNum = 56754186;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp)); +RDebugUtils.currentLine=56754187; + //BA.debugLineNum = 56754187;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056754187",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56754188; + //BA.debugLineNum = 56754188;BA.debugLine="End Sub"; +return ""; +} +public String _checkbox5_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "checkbox5_checkedchange", false)) + {return ((String) Debug.delegate(ba, "checkbox5_checkedchange", new Object[] {_checked}));} +String _textemp = ""; +RDebugUtils.currentLine=56819712; + //BA.debugLineNum = 56819712;BA.debugLine="Private Sub CheckBox5_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=56819713; + //BA.debugLineNum = 56819713;BA.debugLine="Dim textemp As String =\"\""; +_textemp = ""; +RDebugUtils.currentLine=56819714; + //BA.debugLineNum = 56819714;BA.debugLine="textemp = CheckBox5.Text"; +_textemp = __ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=56819715; + //BA.debugLineNum = 56819715;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56819716; + //BA.debugLineNum = 56819716;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56819717; + //BA.debugLineNum = 56819717;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56819718; + //BA.debugLineNum = 56819718;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56819719; + //BA.debugLineNum = 56819719;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56819720; + //BA.debugLineNum = 56819720;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56819721; + //BA.debugLineNum = 56819721;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56819722; + //BA.debugLineNum = 56819722;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp)); +RDebugUtils.currentLine=56819723; + //BA.debugLineNum = 56819723;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056819723",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56819724; + //BA.debugLineNum = 56819724;BA.debugLine="End Sub"; +return ""; +} +public String _checkbox6_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "checkbox6_checkedchange", false)) + {return ((String) Debug.delegate(ba, "checkbox6_checkedchange", new Object[] {_checked}));} +String _textemp = ""; +RDebugUtils.currentLine=56885248; + //BA.debugLineNum = 56885248;BA.debugLine="Private Sub CheckBox6_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=56885249; + //BA.debugLineNum = 56885249;BA.debugLine="Dim textemp As String =\"\""; +_textemp = ""; +RDebugUtils.currentLine=56885250; + //BA.debugLineNum = 56885250;BA.debugLine="textemp = CheckBox6.Text"; +_textemp = __ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=56885251; + //BA.debugLineNum = 56885251;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56885252; + //BA.debugLineNum = 56885252;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56885253; + //BA.debugLineNum = 56885253;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56885254; + //BA.debugLineNum = 56885254;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56885255; + //BA.debugLineNum = 56885255;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56885256; + //BA.debugLineNum = 56885256;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56885257; + //BA.debugLineNum = 56885257;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56885258; + //BA.debugLineNum = 56885258;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp)); +RDebugUtils.currentLine=56885259; + //BA.debugLineNum = 56885259;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056885259",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56885260; + //BA.debugLineNum = 56885260;BA.debugLine="End Sub"; +return ""; +} +public String _checkbox7_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "checkbox7_checkedchange", false)) + {return ((String) Debug.delegate(ba, "checkbox7_checkedchange", new Object[] {_checked}));} +String _textemp = ""; +RDebugUtils.currentLine=56950784; + //BA.debugLineNum = 56950784;BA.debugLine="Private Sub CheckBox7_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=56950785; + //BA.debugLineNum = 56950785;BA.debugLine="Dim textemp As String =\"\""; +_textemp = ""; +RDebugUtils.currentLine=56950786; + //BA.debugLineNum = 56950786;BA.debugLine="textemp = CheckBox7.Text"; +_textemp = __ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=56950787; + //BA.debugLineNum = 56950787;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56950788; + //BA.debugLineNum = 56950788;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56950789; + //BA.debugLineNum = 56950789;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56950790; + //BA.debugLineNum = 56950790;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56950791; + //BA.debugLineNum = 56950791;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56950792; + //BA.debugLineNum = 56950792;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56950793; + //BA.debugLineNum = 56950793;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \","; +if (__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=56950794; + //BA.debugLineNum = 56950794;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp)); +RDebugUtils.currentLine=56950795; + //BA.debugLineNum = 56950795;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056950795",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56950796; + //BA.debugLineNum = 56950796;BA.debugLine="End Sub"; +return ""; +} +public String _checkbox8_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "checkbox8_checkedchange", false)) + {return ((String) Debug.delegate(ba, "checkbox8_checkedchange", new Object[] {_checked}));} +String _textemp = ""; +RDebugUtils.currentLine=57016320; + //BA.debugLineNum = 57016320;BA.debugLine="Private Sub CheckBox8_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=57016321; + //BA.debugLineNum = 57016321;BA.debugLine="Dim textemp As String =\"\""; +_textemp = ""; +RDebugUtils.currentLine=57016322; + //BA.debugLineNum = 57016322;BA.debugLine="textemp = CheckBox8.Text"; +_textemp = __ref._checkbox8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText(); +RDebugUtils.currentLine=57016323; + //BA.debugLineNum = 57016323;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \","; +if (__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=57016324; + //BA.debugLineNum = 57016324;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \","; +if (__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=57016325; + //BA.debugLineNum = 57016325;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \","; +if (__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=57016326; + //BA.debugLineNum = 57016326;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \","; +if (__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=57016327; + //BA.debugLineNum = 57016327;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \","; +if (__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=57016328; + //BA.debugLineNum = 57016328;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \","; +if (__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=57016329; + //BA.debugLineNum = 57016329;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \","; +if (__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_textemp = _textemp+", "+__ref._checkbox7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getText();}; +RDebugUtils.currentLine=57016330; + //BA.debugLineNum = 57016330;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P9"),(Object)(_textemp)); +RDebugUtils.currentLine=57016331; + //BA.debugLineNum = 57016331;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("057016331",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=57016332; + //BA.debugLineNum = 57016332;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +RDebugUtils.currentLine=50266112; + //BA.debugLineNum = 50266112;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=50266113; + //BA.debugLineNum = 50266113;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=50266114; + //BA.debugLineNum = 50266114;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=50266115; + //BA.debugLineNum = 50266115;BA.debugLine="Private p_cliente As Panel"; +_p_cliente = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266116; + //BA.debugLineNum = 50266116;BA.debugLine="Dim cuest As C_Cuestionario"; +_cuest = new gunav2.keymon.com.mx.c_cuestionario(); +RDebugUtils.currentLine=50266117; + //BA.debugLineNum = 50266117;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=50266118; + //BA.debugLineNum = 50266118;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=50266119; + //BA.debugLineNum = 50266119;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=50266120; + //BA.debugLineNum = 50266120;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=50266121; + //BA.debugLineNum = 50266121;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=50266122; + //BA.debugLineNum = 50266122;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=50266123; + //BA.debugLineNum = 50266123;BA.debugLine="Dim total_cliente As String"; +_total_cliente = ""; +RDebugUtils.currentLine=50266124; + //BA.debugLineNum = 50266124;BA.debugLine="Dim m_lat, m_lon As String"; +_m_lat = ""; +_m_lon = ""; +RDebugUtils.currentLine=50266125; + //BA.debugLineNum = 50266125;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); +RDebugUtils.currentLine=50266126; + //BA.debugLineNum = 50266126;BA.debugLine="Dim cmp20 As Serial"; +_cmp20 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=50266127; + //BA.debugLineNum = 50266127;BA.debugLine="Dim printer As TextWriter"; +_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); +RDebugUtils.currentLine=50266128; + //BA.debugLineNum = 50266128;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=50266129; + //BA.debugLineNum = 50266129;BA.debugLine="Dim L As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=50266130; + //BA.debugLineNum = 50266130;BA.debugLine="Dim TAMANO As Int"; +_tamano = 0; +RDebugUtils.currentLine=50266131; + //BA.debugLineNum = 50266131;BA.debugLine="Dim ESPACIO As Int"; +_espacio = 0; +RDebugUtils.currentLine=50266132; + //BA.debugLineNum = 50266132;BA.debugLine="Dim BLANCO As String"; +_blanco = ""; +RDebugUtils.currentLine=50266133; + //BA.debugLineNum = 50266133;BA.debugLine="Dim cuenta As String"; +_cuenta = ""; +RDebugUtils.currentLine=50266134; + //BA.debugLineNum = 50266134;BA.debugLine="Dim tipo_venta As String"; +_tipo_venta = ""; +RDebugUtils.currentLine=50266135; + //BA.debugLineNum = 50266135;BA.debugLine="Dim MAC_IMPRESORA As String"; +_mac_impresora = ""; +RDebugUtils.currentLine=50266136; + //BA.debugLineNum = 50266136;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); +RDebugUtils.currentLine=50266137; + //BA.debugLineNum = 50266137;BA.debugLine="Dim Printer1 As EscPosPrinter"; +_printer1 = new gunav2.keymon.com.mx.escposprinter(); +RDebugUtils.currentLine=50266138; + //BA.debugLineNum = 50266138;BA.debugLine="Private location2 As Location"; +_location2 = new anywheresoftware.b4a.gps.LocationWrapper(); +RDebugUtils.currentLine=50266139; + //BA.debugLineNum = 50266139;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=50266140; + //BA.debugLineNum = 50266140;BA.debugLine="Dim s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=50266141; + //BA.debugLineNum = 50266141;BA.debugLine="Dim DD As Cursor"; +_dd = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=50266142; + //BA.debugLineNum = 50266142;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=50266143; + //BA.debugLineNum = 50266143;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=50266144; + //BA.debugLineNum = 50266144;BA.debugLine="Dim la_cuenta As Label"; +_la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266145; + //BA.debugLineNum = 50266145;BA.debugLine="Dim La_nombre As Label"; +_la_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266146; + //BA.debugLineNum = 50266146;BA.debugLine="Dim la_Calle As Label"; +_la_calle = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266147; + //BA.debugLineNum = 50266147;BA.debugLine="Dim la_numero As Label"; +_la_numero = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266148; + //BA.debugLineNum = 50266148;BA.debugLine="Dim la_nint As Label"; +_la_nint = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266149; + //BA.debugLineNum = 50266149;BA.debugLine="Dim la_edo As Label"; +_la_edo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266150; + //BA.debugLineNum = 50266150;BA.debugLine="Dim la_pob As Label"; +_la_pob = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266151; + //BA.debugLineNum = 50266151;BA.debugLine="Dim la_col As Label"; +_la_col = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266152; + //BA.debugLineNum = 50266152;BA.debugLine="Dim la_cp As Label"; +_la_cp = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266153; + //BA.debugLineNum = 50266153;BA.debugLine="Dim la_zona As Label"; +_la_zona = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266154; + //BA.debugLineNum = 50266154;BA.debugLine="Dim gest As Button"; +_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266155; + //BA.debugLineNum = 50266155;BA.debugLine="Dim la_saldotot As Label"; +_la_saldotot = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266156; + //BA.debugLineNum = 50266156;BA.debugLine="Dim la_saldooper As Label"; +_la_saldooper = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266157; + //BA.debugLineNum = 50266157;BA.debugLine="Private l_cajetillas As Label"; +_l_cajetillas = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266158; + //BA.debugLineNum = 50266158;BA.debugLine="Dim Tels As Button"; +_tels = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266159; + //BA.debugLineNum = 50266159;BA.debugLine="Dim Label10 As Label"; +_label10 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266160; + //BA.debugLineNum = 50266160;BA.debugLine="Dim Label11 As Label"; +_label11 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266162; + //BA.debugLineNum = 50266162;BA.debugLine="Dim Tar As Button"; +_tar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266163; + //BA.debugLineNum = 50266163;BA.debugLine="Dim t1, t2 As Timer"; +_t1 = new anywheresoftware.b4a.objects.Timer(); +_t2 = new anywheresoftware.b4a.objects.Timer(); +RDebugUtils.currentLine=50266164; + //BA.debugLineNum = 50266164;BA.debugLine="Dim la_comm As Label"; +_la_comm = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266165; + //BA.debugLineNum = 50266165;BA.debugLine="Dim la_actdte As Label"; +_la_actdte = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266166; + //BA.debugLineNum = 50266166;BA.debugLine="Dim la_usuario As Label"; +_la_usuario = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266167; + //BA.debugLineNum = 50266167;BA.debugLine="Dim la_resultado As Label"; +_la_resultado = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266168; + //BA.debugLineNum = 50266168;BA.debugLine="Dim l_entre1 As Label"; +_l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266169; + //BA.debugLineNum = 50266169;BA.debugLine="Dim l_entre2 As Label"; +_l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266170; + //BA.debugLineNum = 50266170;BA.debugLine="Dim l_atiende As Label"; +_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266171; + //BA.debugLineNum = 50266171;BA.debugLine="Dim l_atiende2 As Label"; +_l_atiende2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266172; + //BA.debugLineNum = 50266172;BA.debugLine="Dim DATOS As Button"; +_datos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266173; + //BA.debugLineNum = 50266173;BA.debugLine="Dim Guardar As Button"; +_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266174; + //BA.debugLineNum = 50266174;BA.debugLine="Dim NUEVO As Button"; +_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266177; + //BA.debugLineNum = 50266177;BA.debugLine="Dim l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266178; + //BA.debugLineNum = 50266178;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=50266179; + //BA.debugLineNum = 50266179;BA.debugLine="Dim S2 As Cursor"; +_s2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=50266180; + //BA.debugLineNum = 50266180;BA.debugLine="Private s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=50266181; + //BA.debugLineNum = 50266181;BA.debugLine="Dim res As String"; +_res = ""; +RDebugUtils.currentLine=50266182; + //BA.debugLineNum = 50266182;BA.debugLine="Private HIST As Button"; +_hist = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266183; + //BA.debugLineNum = 50266183;BA.debugLine="Private MONTO_COMPRA As String"; +_monto_compra = ""; +RDebugUtils.currentLine=50266184; + //BA.debugLineNum = 50266184;BA.debugLine="Private META As String"; +_meta = ""; +RDebugUtils.currentLine=50266185; + //BA.debugLineNum = 50266185;BA.debugLine="Private META2 As String"; +_meta2 = ""; +RDebugUtils.currentLine=50266186; + //BA.debugLineNum = 50266186;BA.debugLine="Private VERIFICA As String"; +_verifica = ""; +RDebugUtils.currentLine=50266187; + //BA.debugLineNum = 50266187;BA.debugLine="Private L_QR As Label"; +_l_qr = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266188; + //BA.debugLineNum = 50266188;BA.debugLine="Private BT_QR As Button"; +_bt_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266190; + //BA.debugLineNum = 50266190;BA.debugLine="Dim CODIGO As String"; +_codigo = ""; +RDebugUtils.currentLine=50266192; + //BA.debugLineNum = 50266192;BA.debugLine="Private b_mapa As Button"; +_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266193; + //BA.debugLineNum = 50266193;BA.debugLine="Dim CUANTOS As String"; +_cuantos = ""; +RDebugUtils.currentLine=50266194; + //BA.debugLineNum = 50266194;BA.debugLine="Private B_IMP As Button"; +_b_imp = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266195; + //BA.debugLineNum = 50266195;BA.debugLine="Dim Toggla As Toggle"; +_toggla = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=50266196; + //BA.debugLineNum = 50266196;BA.debugLine="Dim tgl As Toggle"; +_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=50266197; + //BA.debugLineNum = 50266197;BA.debugLine="Private Panel1 As Panel"; +_panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266198; + //BA.debugLineNum = 50266198;BA.debugLine="Private I_COMPRA As EditText"; +_i_compra = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266199; + //BA.debugLineNum = 50266199;BA.debugLine="Private B_GUARDA_C As Button"; +_b_guarda_c = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266200; + //BA.debugLineNum = 50266200;BA.debugLine="Private b_venta As Button"; +_b_venta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266201; + //BA.debugLineNum = 50266201;BA.debugLine="Dim ALMACEN As String"; +_almacen = ""; +RDebugUtils.currentLine=50266202; + //BA.debugLineNum = 50266202;BA.debugLine="Dim LA_GPS As Label"; +_la_gps = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266203; + //BA.debugLineNum = 50266203;BA.debugLine="Private B_E_NEXT As Button"; +_b_e_next = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266204; + //BA.debugLineNum = 50266204;BA.debugLine="Private E_RES_E As EditText"; +_e_res_e = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266205; + //BA.debugLineNum = 50266205;BA.debugLine="Private t_tenc As Label"; +_t_tenc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266206; + //BA.debugLineNum = 50266206;BA.debugLine="Private Panel2 As Panel"; +_panel2 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266207; + //BA.debugLineNum = 50266207;BA.debugLine="Private CONTADOR_E As String"; +_contador_e = ""; +RDebugUtils.currentLine=50266208; + //BA.debugLineNum = 50266208;BA.debugLine="Private HR_RES1 As String"; +_hr_res1 = ""; +RDebugUtils.currentLine=50266209; + //BA.debugLineNum = 50266209;BA.debugLine="Private HR_RES2 As String"; +_hr_res2 = ""; +RDebugUtils.currentLine=50266210; + //BA.debugLineNum = 50266210;BA.debugLine="Private HR_RES3 As String"; +_hr_res3 = ""; +RDebugUtils.currentLine=50266211; + //BA.debugLineNum = 50266211;BA.debugLine="Private EXISTE As String"; +_existe = ""; +RDebugUtils.currentLine=50266212; + //BA.debugLineNum = 50266212;BA.debugLine="Private telefono As String"; +_telefono = ""; +RDebugUtils.currentLine=50266215; + //BA.debugLineNum = 50266215;BA.debugLine="Private RB1 As RadioButton"; +_rb1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266216; + //BA.debugLineNum = 50266216;BA.debugLine="Private RB2 As RadioButton"; +_rb2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266217; + //BA.debugLineNum = 50266217;BA.debugLine="Private RB3 As RadioButton"; +_rb3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266218; + //BA.debugLineNum = 50266218;BA.debugLine="Private RB4 As RadioButton"; +_rb4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266219; + //BA.debugLineNum = 50266219;BA.debugLine="Private RB5 As RadioButton"; +_rb5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266221; + //BA.debugLineNum = 50266221;BA.debugLine="Private stay_hh As String"; +_stay_hh = ""; +RDebugUtils.currentLine=50266222; + //BA.debugLineNum = 50266222;BA.debugLine="Private stay_mi As String"; +_stay_mi = ""; +RDebugUtils.currentLine=50266223; + //BA.debugLineNum = 50266223;BA.debugLine="Private stay_ss As String"; +_stay_ss = ""; +RDebugUtils.currentLine=50266225; + //BA.debugLineNum = 50266225;BA.debugLine="Private LA_GEO As Label"; +_la_geo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266226; + //BA.debugLineNum = 50266226;BA.debugLine="Dim result As Int"; +_result = 0; +RDebugUtils.currentLine=50266227; + //BA.debugLineNum = 50266227;BA.debugLine="Private cercavalor As String"; +_cercavalor = ""; +RDebugUtils.currentLine=50266228; + //BA.debugLineNum = 50266228;BA.debugLine="Private LA_RUTA As String"; +_la_ruta = ""; +RDebugUtils.currentLine=50266230; + //BA.debugLineNum = 50266230;BA.debugLine="Private b_like As Button"; +_b_like = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266231; + //BA.debugLineNum = 50266231;BA.debugLine="Private B_GPS As Button"; +_b_gps = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266232; + //BA.debugLineNum = 50266232;BA.debugLine="Dim sc As JhsIceZxing1"; +_sc = new ice.zxing.b4aZXingLib(); +RDebugUtils.currentLine=50266233; + //BA.debugLineNum = 50266233;BA.debugLine="Dim CODIGO As String"; +_codigo = ""; +RDebugUtils.currentLine=50266234; + //BA.debugLineNum = 50266234;BA.debugLine="Private SV_ENCUESTA As ScrollView"; +_sv_encuesta = new anywheresoftware.b4a.objects.ScrollViewWrapper(); +RDebugUtils.currentLine=50266235; + //BA.debugLineNum = 50266235;BA.debugLine="Private RB1_E1 As RadioButton"; +_rb1_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266236; + //BA.debugLineNum = 50266236;BA.debugLine="Private RB2_E1 As RadioButton"; +_rb2_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266237; + //BA.debugLineNum = 50266237;BA.debugLine="Private RB3_E1 As RadioButton"; +_rb3_e1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266238; + //BA.debugLineNum = 50266238;BA.debugLine="Private CHB1 As CheckBox"; +_chb1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266239; + //BA.debugLineNum = 50266239;BA.debugLine="Private CHB2 As CheckBox"; +_chb2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266240; + //BA.debugLineNum = 50266240;BA.debugLine="Private CHB3 As CheckBox"; +_chb3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266241; + //BA.debugLineNum = 50266241;BA.debugLine="Private Panel5 As Panel"; +_panel5 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266242; + //BA.debugLineNum = 50266242;BA.debugLine="Private B_guardaencuesta As Button"; +_b_guardaencuesta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266243; + //BA.debugLineNum = 50266243;BA.debugLine="Private RadioButton1 As RadioButton"; +_radiobutton1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266244; + //BA.debugLineNum = 50266244;BA.debugLine="Private RadioButton2 As RadioButton"; +_radiobutton2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266245; + //BA.debugLineNum = 50266245;BA.debugLine="Private RadioButton3 As RadioButton"; +_radiobutton3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266246; + //BA.debugLineNum = 50266246;BA.debugLine="Private RadioButton4 As RadioButton"; +_radiobutton4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266247; + //BA.debugLineNum = 50266247;BA.debugLine="Private RadioButton5 As RadioButton"; +_radiobutton5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266248; + //BA.debugLineNum = 50266248;BA.debugLine="Private RadioButton6 As RadioButton"; +_radiobutton6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266249; + //BA.debugLineNum = 50266249;BA.debugLine="Private RadioButton7 As RadioButton"; +_radiobutton7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266250; + //BA.debugLineNum = 50266250;BA.debugLine="Private RadioButton8 As RadioButton"; +_radiobutton8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266251; + //BA.debugLineNum = 50266251;BA.debugLine="Private RadioButton9 As RadioButton"; +_radiobutton9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266252; + //BA.debugLineNum = 50266252;BA.debugLine="Private RadioButton10 As RadioButton"; +_radiobutton10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266253; + //BA.debugLineNum = 50266253;BA.debugLine="Private RadioButton11 As RadioButton"; +_radiobutton11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266254; + //BA.debugLineNum = 50266254;BA.debugLine="Private RadioButton12 As RadioButton"; +_radiobutton12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266255; + //BA.debugLineNum = 50266255;BA.debugLine="Private RadioButton13 As RadioButton"; +_radiobutton13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266256; + //BA.debugLineNum = 50266256;BA.debugLine="Private RadioButton14 As RadioButton"; +_radiobutton14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266257; + //BA.debugLineNum = 50266257;BA.debugLine="Private CheckBox1 As CheckBox"; +_checkbox1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266258; + //BA.debugLineNum = 50266258;BA.debugLine="Private CheckBox2 As CheckBox"; +_checkbox2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266259; + //BA.debugLineNum = 50266259;BA.debugLine="Private CheckBox3 As CheckBox"; +_checkbox3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266260; + //BA.debugLineNum = 50266260;BA.debugLine="Private CheckBox4 As CheckBox"; +_checkbox4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266261; + //BA.debugLineNum = 50266261;BA.debugLine="Private CheckBox5 As CheckBox"; +_checkbox5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266262; + //BA.debugLineNum = 50266262;BA.debugLine="Private CheckBox6 As CheckBox"; +_checkbox6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266263; + //BA.debugLineNum = 50266263;BA.debugLine="Private CheckBox7 As CheckBox"; +_checkbox7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266264; + //BA.debugLineNum = 50266264;BA.debugLine="Private CheckBox8 As CheckBox"; +_checkbox8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266265; + //BA.debugLineNum = 50266265;BA.debugLine="Dim encuentasmapa As Map"; +_encuentasmapa = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=50266266; + //BA.debugLineNum = 50266266;BA.debugLine="Private p6 As EditText"; +_p6 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266267; + //BA.debugLineNum = 50266267;BA.debugLine="Private p7 As EditText"; +_p7 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266268; + //BA.debugLineNum = 50266268;BA.debugLine="Private p8 As EditText"; +_p8 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266269; + //BA.debugLineNum = 50266269;BA.debugLine="Private Panel7 As Panel"; +_panel7 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266270; + //BA.debugLineNum = 50266270;BA.debugLine="Private RadioButton17 As RadioButton"; +_radiobutton17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266271; + //BA.debugLineNum = 50266271;BA.debugLine="Private RadioButton16 As RadioButton"; +_radiobutton16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266272; + //BA.debugLineNum = 50266272;BA.debugLine="Private RadioButton15 As RadioButton"; +_radiobutton15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266273; + //BA.debugLineNum = 50266273;BA.debugLine="Private B_guardaencuesta_m2 As Button"; +_b_guardaencuesta_m2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266274; + //BA.debugLineNum = 50266274;BA.debugLine="Private et_p1_m2 As EditText"; +_et_p1_m2 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266275; + //BA.debugLineNum = 50266275;BA.debugLine="Private et_p2_m2 As EditText"; +_et_p2_m2 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266276; + //BA.debugLineNum = 50266276;BA.debugLine="Private RB7_P6_M2 As RadioButton"; +_rb7_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266277; + //BA.debugLineNum = 50266277;BA.debugLine="Private RB6_P6_M2 As RadioButton"; +_rb6_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266278; + //BA.debugLineNum = 50266278;BA.debugLine="Private RB5_P6_M2 As RadioButton"; +_rb5_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266279; + //BA.debugLineNum = 50266279;BA.debugLine="Private RB4_P6_M2 As RadioButton"; +_rb4_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266280; + //BA.debugLineNum = 50266280;BA.debugLine="Private RB3_P6_M2 As RadioButton"; +_rb3_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266281; + //BA.debugLineNum = 50266281;BA.debugLine="Private RB2_P6_M2 As RadioButton"; +_rb2_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266282; + //BA.debugLineNum = 50266282;BA.debugLine="Private RB1_P6_M2 As RadioButton"; +_rb1_p6_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266283; + //BA.debugLineNum = 50266283;BA.debugLine="Private et_p5_m2 As EditText"; +_et_p5_m2 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266284; + //BA.debugLineNum = 50266284;BA.debugLine="Private rd3_p4_m2 As RadioButton"; +_rd3_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266285; + //BA.debugLineNum = 50266285;BA.debugLine="Private rd2_p4_m2 As RadioButton"; +_rd2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266286; + //BA.debugLineNum = 50266286;BA.debugLine="Private rd1_p4_m2 As RadioButton"; +_rd1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266287; + //BA.debugLineNum = 50266287;BA.debugLine="Private RB1_P3_M2 As RadioButton"; +_rb1_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266288; + //BA.debugLineNum = 50266288;BA.debugLine="Private RB2_P3_M2 As RadioButton"; +_rb2_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266289; + //BA.debugLineNum = 50266289;BA.debugLine="Private RB3_P3_M2 As RadioButton"; +_rb3_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266290; + //BA.debugLineNum = 50266290;BA.debugLine="Private RB4_P3_M2 As RadioButton"; +_rb4_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266291; + //BA.debugLineNum = 50266291;BA.debugLine="Private ET_P3_M2 As EditText"; +_et_p3_m2 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266292; + //BA.debugLineNum = 50266292;BA.debugLine="Private Panel7_M2 As Panel"; +_panel7_m2 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266293; + //BA.debugLineNum = 50266293;BA.debugLine="Private P4_M2 As String"; +_p4_m2 = ""; +RDebugUtils.currentLine=50266294; + //BA.debugLineNum = 50266294;BA.debugLine="Private P3_M2 As String"; +_p3_m2 = ""; +RDebugUtils.currentLine=50266295; + //BA.debugLineNum = 50266295;BA.debugLine="Private P6_M2 As String"; +_p6_m2 = ""; +RDebugUtils.currentLine=50266297; + //BA.debugLineNum = 50266297;BA.debugLine="Private CB1_P3_M2 As CheckBox"; +_cb1_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266298; + //BA.debugLineNum = 50266298;BA.debugLine="Private CB2_P3_M2 As CheckBox"; +_cb2_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266299; + //BA.debugLineNum = 50266299;BA.debugLine="Private CB3_P3_M2 As CheckBox"; +_cb3_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266300; + //BA.debugLineNum = 50266300;BA.debugLine="Private CB4_P3_M2 As CheckBox"; +_cb4_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266301; + //BA.debugLineNum = 50266301;BA.debugLine="Private CB5_P3_M2 As CheckBox"; +_cb5_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266302; + //BA.debugLineNum = 50266302;BA.debugLine="Private CB6_P3_M2 As CheckBox"; +_cb6_p3_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266303; + //BA.debugLineNum = 50266303;BA.debugLine="Private EXISTE2 As String"; +_existe2 = ""; +RDebugUtils.currentLine=50266304; + //BA.debugLineNum = 50266304;BA.debugLine="Private EXISTE3 As String"; +_existe3 = ""; +RDebugUtils.currentLine=50266305; + //BA.debugLineNum = 50266305;BA.debugLine="Private EXISTE4 As String"; +_existe4 = ""; +RDebugUtils.currentLine=50266306; + //BA.debugLineNum = 50266306;BA.debugLine="Private EXISTE5 As String"; +_existe5 = ""; +RDebugUtils.currentLine=50266307; + //BA.debugLineNum = 50266307;BA.debugLine="Private et_p1_m3 As EditText"; +_et_p1_m3 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266308; + //BA.debugLineNum = 50266308;BA.debugLine="Private et_p2_m3 As EditText"; +_et_p2_m3 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266309; + //BA.debugLineNum = 50266309;BA.debugLine="Private CB1_P3_M3 As CheckBox"; +_cb1_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266310; + //BA.debugLineNum = 50266310;BA.debugLine="Private CB2_P3_M3 As CheckBox"; +_cb2_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266311; + //BA.debugLineNum = 50266311;BA.debugLine="Private CB3_P3_M3 As CheckBox"; +_cb3_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266312; + //BA.debugLineNum = 50266312;BA.debugLine="Private CB4_P3_M3 As CheckBox"; +_cb4_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266313; + //BA.debugLineNum = 50266313;BA.debugLine="Private CB5_P3_M3 As CheckBox"; +_cb5_p3_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266314; + //BA.debugLineNum = 50266314;BA.debugLine="Private CB1_P4_M3 As CheckBox"; +_cb1_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266315; + //BA.debugLineNum = 50266315;BA.debugLine="Private CB2_P4_M3 As CheckBox"; +_cb2_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266316; + //BA.debugLineNum = 50266316;BA.debugLine="Private CB3_P4_M3 As CheckBox"; +_cb3_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266317; + //BA.debugLineNum = 50266317;BA.debugLine="Private CB4_P4_M3 As CheckBox"; +_cb4_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266318; + //BA.debugLineNum = 50266318;BA.debugLine="Private CB5_P4_M3 As CheckBox"; +_cb5_p4_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266319; + //BA.debugLineNum = 50266319;BA.debugLine="Private rd1_p5_m3 As RadioButton"; +_rd1_p5_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266320; + //BA.debugLineNum = 50266320;BA.debugLine="Private rd2_p5_m3 As RadioButton"; +_rd2_p5_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266321; + //BA.debugLineNum = 50266321;BA.debugLine="Private CB1_P6_M3 As CheckBox"; +_cb1_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266322; + //BA.debugLineNum = 50266322;BA.debugLine="Private CB2_P6_M3 As CheckBox"; +_cb2_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266323; + //BA.debugLineNum = 50266323;BA.debugLine="Private CB3_P6_M3 As CheckBox"; +_cb3_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266324; + //BA.debugLineNum = 50266324;BA.debugLine="Private CB4_P6_M3 As CheckBox"; +_cb4_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266325; + //BA.debugLineNum = 50266325;BA.debugLine="Private CB5_P6_M3 As CheckBox"; +_cb5_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266326; + //BA.debugLineNum = 50266326;BA.debugLine="Private CB6_P6_M3 As CheckBox"; +_cb6_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266327; + //BA.debugLineNum = 50266327;BA.debugLine="Private ET_P6_M3 As EditText"; +_et_p6_m3 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266328; + //BA.debugLineNum = 50266328;BA.debugLine="Private CB1_P7_M3 As CheckBox"; +_cb1_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266329; + //BA.debugLineNum = 50266329;BA.debugLine="Private CB2_P7_M3 As CheckBox"; +_cb2_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266330; + //BA.debugLineNum = 50266330;BA.debugLine="Private CB3_P7_M3 As CheckBox"; +_cb3_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266331; + //BA.debugLineNum = 50266331;BA.debugLine="Private CB4_P7_M3 As CheckBox"; +_cb4_p7_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266332; + //BA.debugLineNum = 50266332;BA.debugLine="Private CB1_P8_M3 As CheckBox"; +_cb1_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266333; + //BA.debugLineNum = 50266333;BA.debugLine="Private CB2_P8_M3 As CheckBox"; +_cb2_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266334; + //BA.debugLineNum = 50266334;BA.debugLine="Private CB4_P8_M3 As CheckBox"; +_cb4_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266335; + //BA.debugLineNum = 50266335;BA.debugLine="Private RB1_P9_M3 As RadioButton"; +_rb1_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266336; + //BA.debugLineNum = 50266336;BA.debugLine="Private RB2_P9_M3 As RadioButton"; +_rb2_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266337; + //BA.debugLineNum = 50266337;BA.debugLine="Private RB3_P9_M3 As RadioButton"; +_rb3_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266338; + //BA.debugLineNum = 50266338;BA.debugLine="Private RB4_P9_M3 As RadioButton"; +_rb4_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266339; + //BA.debugLineNum = 50266339;BA.debugLine="Private RB5_P9_M3 As RadioButton"; +_rb5_p9_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266340; + //BA.debugLineNum = 50266340;BA.debugLine="Private B_guardaencuesta_m3 As Button"; +_b_guardaencuesta_m3 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266341; + //BA.debugLineNum = 50266341;BA.debugLine="Private P_gallina As Panel"; +_p_gallina = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266342; + //BA.debugLineNum = 50266342;BA.debugLine="Private b_acepta_gallina As Button"; +_b_acepta_gallina = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266343; + //BA.debugLineNum = 50266343;BA.debugLine="Private B_CANCELA_GALLINA As Button"; +_b_cancela_gallina = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266344; + //BA.debugLineNum = 50266344;BA.debugLine="Private B_GALLINA As Button"; +_b_gallina = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266345; + //BA.debugLineNum = 50266345;BA.debugLine="Private la_cuenta_gallina As Label"; +_la_cuenta_gallina = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266346; + //BA.debugLineNum = 50266346;BA.debugLine="Private cb_pregunta As B4XComboBox"; +_cb_pregunta = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266347; + //BA.debugLineNum = 50266347;BA.debugLine="Dim girotienda As String"; +_girotienda = ""; +RDebugUtils.currentLine=50266348; + //BA.debugLineNum = 50266348;BA.debugLine="Private p_pregunta1 As Panel"; +_p_pregunta1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266349; + //BA.debugLineNum = 50266349;BA.debugLine="Private b_preguntag As Button"; +_b_preguntag = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266350; + //BA.debugLineNum = 50266350;BA.debugLine="Private EN_QUE_ENCUESTA As String"; +_en_que_encuesta = ""; +RDebugUtils.currentLine=50266351; + //BA.debugLineNum = 50266351;BA.debugLine="Private ENCUESTA As String"; +_encuesta = ""; +RDebugUtils.currentLine=50266352; + //BA.debugLineNum = 50266352;BA.debugLine="Private et_p1_m4 As EditText"; +_et_p1_m4 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266353; + //BA.debugLineNum = 50266353;BA.debugLine="Private et_p2_m4 As EditText"; +_et_p2_m4 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266354; + //BA.debugLineNum = 50266354;BA.debugLine="Private cb_p3_m4 As B4XComboBox"; +_cb_p3_m4 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266355; + //BA.debugLineNum = 50266355;BA.debugLine="Private cb_p4_1_m4 As B4XComboBox"; +_cb_p4_1_m4 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266356; + //BA.debugLineNum = 50266356;BA.debugLine="Private cb_p4_2_m4 As B4XComboBox"; +_cb_p4_2_m4 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266357; + //BA.debugLineNum = 50266357;BA.debugLine="Private cb_p4_3_m4 As B4XComboBox"; +_cb_p4_3_m4 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266358; + //BA.debugLineNum = 50266358;BA.debugLine="Private cb_p4_4_m4 As B4XComboBox"; +_cb_p4_4_m4 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266359; + //BA.debugLineNum = 50266359;BA.debugLine="Private cb_p4_5_m4 As B4XComboBox"; +_cb_p4_5_m4 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266360; + //BA.debugLineNum = 50266360;BA.debugLine="Dim itemselect2 As String"; +_itemselect2 = ""; +RDebugUtils.currentLine=50266361; + //BA.debugLineNum = 50266361;BA.debugLine="Dim itemselect3 As String"; +_itemselect3 = ""; +RDebugUtils.currentLine=50266362; + //BA.debugLineNum = 50266362;BA.debugLine="Dim itemselect4 As String"; +_itemselect4 = ""; +RDebugUtils.currentLine=50266363; + //BA.debugLineNum = 50266363;BA.debugLine="Dim itemselect5 As String"; +_itemselect5 = ""; +RDebugUtils.currentLine=50266364; + //BA.debugLineNum = 50266364;BA.debugLine="Dim itemselect6 As String"; +_itemselect6 = ""; +RDebugUtils.currentLine=50266365; + //BA.debugLineNum = 50266365;BA.debugLine="Dim itemselect7 As String"; +_itemselect7 = ""; +RDebugUtils.currentLine=50266366; + //BA.debugLineNum = 50266366;BA.debugLine="Private B_guardaencuesta_m4 As Button"; +_b_guardaencuesta_m4 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266367; + //BA.debugLineNum = 50266367;BA.debugLine="Private p_modulo5 As Panel"; +_p_modulo5 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266368; + //BA.debugLineNum = 50266368;BA.debugLine="Private cb_p1_m5 As B4XComboBox"; +_cb_p1_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266369; + //BA.debugLineNum = 50266369;BA.debugLine="Private cb_p2_m5 As B4XComboBox"; +_cb_p2_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266370; + //BA.debugLineNum = 50266370;BA.debugLine="Private cb_p3_m5 As B4XComboBox"; +_cb_p3_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266371; + //BA.debugLineNum = 50266371;BA.debugLine="Private cb_p4_m5 As B4XComboBox"; +_cb_p4_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266372; + //BA.debugLineNum = 50266372;BA.debugLine="Private cb_p5_m5 As B4XComboBox"; +_cb_p5_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266373; + //BA.debugLineNum = 50266373;BA.debugLine="Private cb_p6_m5 As B4XComboBox"; +_cb_p6_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266374; + //BA.debugLineNum = 50266374;BA.debugLine="Private cb_p7_m5 As B4XComboBox"; +_cb_p7_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266375; + //BA.debugLineNum = 50266375;BA.debugLine="Private cb_p8_m5 As B4XComboBox"; +_cb_p8_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266376; + //BA.debugLineNum = 50266376;BA.debugLine="Private cb_p9_m5 As B4XComboBox"; +_cb_p9_m5 = new gunav2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=50266377; + //BA.debugLineNum = 50266377;BA.debugLine="Dim itemselect8 As String"; +_itemselect8 = ""; +RDebugUtils.currentLine=50266378; + //BA.debugLineNum = 50266378;BA.debugLine="Dim itemselect9 As String"; +_itemselect9 = ""; +RDebugUtils.currentLine=50266379; + //BA.debugLineNum = 50266379;BA.debugLine="Dim itemselect10 As String"; +_itemselect10 = ""; +RDebugUtils.currentLine=50266380; + //BA.debugLineNum = 50266380;BA.debugLine="Dim itemselect11 As String"; +_itemselect11 = ""; +RDebugUtils.currentLine=50266381; + //BA.debugLineNum = 50266381;BA.debugLine="Dim itemselect12 As String"; +_itemselect12 = ""; +RDebugUtils.currentLine=50266382; + //BA.debugLineNum = 50266382;BA.debugLine="Dim itemselect13 As String"; +_itemselect13 = ""; +RDebugUtils.currentLine=50266383; + //BA.debugLineNum = 50266383;BA.debugLine="Dim itemselect14 As String"; +_itemselect14 = ""; +RDebugUtils.currentLine=50266384; + //BA.debugLineNum = 50266384;BA.debugLine="Dim itemselect15 As String"; +_itemselect15 = ""; +RDebugUtils.currentLine=50266385; + //BA.debugLineNum = 50266385;BA.debugLine="Dim itemselect16 As String"; +_itemselect16 = ""; +RDebugUtils.currentLine=50266386; + //BA.debugLineNum = 50266386;BA.debugLine="Private B_guardaencuesta_m5 As Button"; +_b_guardaencuesta_m5 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266387; + //BA.debugLineNum = 50266387;BA.debugLine="Dim PASA As String"; +_pasa = ""; +RDebugUtils.currentLine=50266388; + //BA.debugLineNum = 50266388;BA.debugLine="Private RB1_P4_M2 As RadioButton"; +_rb1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266389; + //BA.debugLineNum = 50266389;BA.debugLine="Private RB2_P4_M2 As RadioButton"; +_rb2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266390; + //BA.debugLineNum = 50266390;BA.debugLine="Private panel7_p4_m2 As Panel"; +_panel7_p4_m2 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266391; + //BA.debugLineNum = 50266391;BA.debugLine="Private CB1_P4_M2 As CheckBox"; +_cb1_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266392; + //BA.debugLineNum = 50266392;BA.debugLine="Private CB2_P4_M2 As CheckBox"; +_cb2_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266393; + //BA.debugLineNum = 50266393;BA.debugLine="Private CB3_P4_M2 As CheckBox"; +_cb3_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266394; + //BA.debugLineNum = 50266394;BA.debugLine="Private CB4_P4_M2 As CheckBox"; +_cb4_p4_m2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266395; + //BA.debugLineNum = 50266395;BA.debugLine="Private Panel4 As Panel"; +_panel4 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266396; + //BA.debugLineNum = 50266396;BA.debugLine="Private B_GUARDA_CE_PED As Button"; +_b_guarda_ce_ped = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266399; + //BA.debugLineNum = 50266399;BA.debugLine="Private KP_01 As CheckBox"; +_kp_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266400; + //BA.debugLineNum = 50266400;BA.debugLine="Private KP_02 As CheckBox"; +_kp_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266401; + //BA.debugLineNum = 50266401;BA.debugLine="Private KP_03 As CheckBox"; +_kp_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266402; + //BA.debugLineNum = 50266402;BA.debugLine="Private KP_04 As CheckBox"; +_kp_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266403; + //BA.debugLineNum = 50266403;BA.debugLine="Private KP_05 As CheckBox"; +_kp_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266404; + //BA.debugLineNum = 50266404;BA.debugLine="Private KP_06 As CheckBox"; +_kp_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266405; + //BA.debugLineNum = 50266405;BA.debugLine="Private KP_07 As CheckBox"; +_kp_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266406; + //BA.debugLineNum = 50266406;BA.debugLine="Private KP_08 As CheckBox"; +_kp_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266407; + //BA.debugLineNum = 50266407;BA.debugLine="Private KP_09 As CheckBox"; +_kp_09 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266408; + //BA.debugLineNum = 50266408;BA.debugLine="Private KP_10 As CheckBox"; +_kp_10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266409; + //BA.debugLineNum = 50266409;BA.debugLine="Private KP_11 As CheckBox"; +_kp_11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266410; + //BA.debugLineNum = 50266410;BA.debugLine="Private KP_12 As CheckBox"; +_kp_12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266411; + //BA.debugLineNum = 50266411;BA.debugLine="Private KP_13 As CheckBox"; +_kp_13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266412; + //BA.debugLineNum = 50266412;BA.debugLine="Private KP_14 As CheckBox"; +_kp_14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266413; + //BA.debugLineNum = 50266413;BA.debugLine="Private KP_15 As CheckBox"; +_kp_15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266414; + //BA.debugLineNum = 50266414;BA.debugLine="Private KP_16 As CheckBox"; +_kp_16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266415; + //BA.debugLineNum = 50266415;BA.debugLine="Private KP_17 As CheckBox"; +_kp_17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266416; + //BA.debugLineNum = 50266416;BA.debugLine="Private KP_18 As CheckBox"; +_kp_18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266417; + //BA.debugLineNum = 50266417;BA.debugLine="Private KP_19 As CheckBox"; +_kp_19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266418; + //BA.debugLineNum = 50266418;BA.debugLine="Private KP_20 As CheckBox"; +_kp_20 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266420; + //BA.debugLineNum = 50266420;BA.debugLine="Private KG_01 As CheckBox"; +_kg_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266421; + //BA.debugLineNum = 50266421;BA.debugLine="Private KG_02 As CheckBox"; +_kg_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266422; + //BA.debugLineNum = 50266422;BA.debugLine="Private KG_03 As CheckBox"; +_kg_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266423; + //BA.debugLineNum = 50266423;BA.debugLine="Private KG_04 As CheckBox"; +_kg_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266424; + //BA.debugLineNum = 50266424;BA.debugLine="Private KG_05 As CheckBox"; +_kg_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266425; + //BA.debugLineNum = 50266425;BA.debugLine="Private KG_06 As CheckBox"; +_kg_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266427; + //BA.debugLineNum = 50266427;BA.debugLine="Private PK_01 As CheckBox"; +_pk_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266428; + //BA.debugLineNum = 50266428;BA.debugLine="Private PK_02 As CheckBox"; +_pk_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266429; + //BA.debugLineNum = 50266429;BA.debugLine="Private PK_03 As CheckBox"; +_pk_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266430; + //BA.debugLineNum = 50266430;BA.debugLine="Private PK_04 As CheckBox"; +_pk_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266431; + //BA.debugLineNum = 50266431;BA.debugLine="Private PK_05 As CheckBox"; +_pk_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266432; + //BA.debugLineNum = 50266432;BA.debugLine="Private PK_06 As CheckBox"; +_pk_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266433; + //BA.debugLineNum = 50266433;BA.debugLine="Private PK_07 As CheckBox"; +_pk_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266434; + //BA.debugLineNum = 50266434;BA.debugLine="Private PK_08 As CheckBox"; +_pk_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266436; + //BA.debugLineNum = 50266436;BA.debugLine="Private HPG_01 As CheckBox"; +_hpg_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266437; + //BA.debugLineNum = 50266437;BA.debugLine="Private HPG_02 As CheckBox"; +_hpg_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266438; + //BA.debugLineNum = 50266438;BA.debugLine="Private HPG_03 As CheckBox"; +_hpg_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266439; + //BA.debugLineNum = 50266439;BA.debugLine="Private HPG_04 As CheckBox"; +_hpg_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266440; + //BA.debugLineNum = 50266440;BA.debugLine="Private HPG_05 As CheckBox"; +_hpg_05 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266441; + //BA.debugLineNum = 50266441;BA.debugLine="Private HPG_06 As CheckBox"; +_hpg_06 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266442; + //BA.debugLineNum = 50266442;BA.debugLine="Private HPG_07 As CheckBox"; +_hpg_07 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266443; + //BA.debugLineNum = 50266443;BA.debugLine="Private HPG_08 As CheckBox"; +_hpg_08 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266444; + //BA.debugLineNum = 50266444;BA.debugLine="Private HPG_09 As CheckBox"; +_hpg_09 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266445; + //BA.debugLineNum = 50266445;BA.debugLine="Private HPG_10 As CheckBox"; +_hpg_10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266447; + //BA.debugLineNum = 50266447;BA.debugLine="Private HC_01 As CheckBox"; +_hc_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266448; + //BA.debugLineNum = 50266448;BA.debugLine="Private HC_02 As CheckBox"; +_hc_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266449; + //BA.debugLineNum = 50266449;BA.debugLine="Private HC_03 As CheckBox"; +_hc_03 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266450; + //BA.debugLineNum = 50266450;BA.debugLine="Private HC_04 As CheckBox"; +_hc_04 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266452; + //BA.debugLineNum = 50266452;BA.debugLine="Private B_01 As CheckBox"; +_b_01 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266453; + //BA.debugLineNum = 50266453;BA.debugLine="Private B_02 As CheckBox"; +_b_02 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266455; + //BA.debugLineNum = 50266455;BA.debugLine="Private CH_FACTURA As CheckBox"; +_ch_factura = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266456; + //BA.debugLineNum = 50266456;BA.debugLine="Private que_modulo As String"; +_que_modulo = ""; +RDebugUtils.currentLine=50266457; + //BA.debugLineNum = 50266457;BA.debugLine="Private CUENTA_MODULO As String"; +_cuenta_modulo = ""; +RDebugUtils.currentLine=50266458; + //BA.debugLineNum = 50266458;BA.debugLine="Private rb1_m3_p1 As RadioButton"; +_rb1_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266459; + //BA.debugLineNum = 50266459;BA.debugLine="Private RB2_M3_P1 As RadioButton"; +_rb2_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266460; + //BA.debugLineNum = 50266460;BA.debugLine="Private RB3_M3_P1 As RadioButton"; +_rb3_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266461; + //BA.debugLineNum = 50266461;BA.debugLine="Private RB4_M3_P1 As RadioButton"; +_rb4_m3_p1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266462; + //BA.debugLineNum = 50266462;BA.debugLine="Private RB1_M3_P2 As RadioButton"; +_rb1_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266463; + //BA.debugLineNum = 50266463;BA.debugLine="Private RB2_M3_P2 As RadioButton"; +_rb2_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266464; + //BA.debugLineNum = 50266464;BA.debugLine="Private RB3_M3_P2 As RadioButton"; +_rb3_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266465; + //BA.debugLineNum = 50266465;BA.debugLine="Private RB4_M3_P2 As RadioButton"; +_rb4_m3_p2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=50266466; + //BA.debugLineNum = 50266466;BA.debugLine="Private et_p2_m3_1 As EditText"; +_et_p2_m3_1 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266467; + //BA.debugLineNum = 50266467;BA.debugLine="Dim textemp2 As String =\"\""; +_textemp2 = ""; +RDebugUtils.currentLine=50266468; + //BA.debugLineNum = 50266468;BA.debugLine="Dim textemp3 As String =\"\""; +_textemp3 = ""; +RDebugUtils.currentLine=50266469; + //BA.debugLineNum = 50266469;BA.debugLine="Dim textemp4 As String =\"\""; +_textemp4 = ""; +RDebugUtils.currentLine=50266470; + //BA.debugLineNum = 50266470;BA.debugLine="Dim textemp5 As String =\"\""; +_textemp5 = ""; +RDebugUtils.currentLine=50266471; + //BA.debugLineNum = 50266471;BA.debugLine="Dim textemp6 As String =\"\""; +_textemp6 = ""; +RDebugUtils.currentLine=50266472; + //BA.debugLineNum = 50266472;BA.debugLine="Dim textemp7 As String =\"\""; +_textemp7 = ""; +RDebugUtils.currentLine=50266473; + //BA.debugLineNum = 50266473;BA.debugLine="Dim textemp8 As String =\"\""; +_textemp8 = ""; +RDebugUtils.currentLine=50266474; + //BA.debugLineNum = 50266474;BA.debugLine="Private CB3_P8_M3 As CheckBox"; +_cb3_p8_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266475; + //BA.debugLineNum = 50266475;BA.debugLine="Private CB7_P6_M3 As CheckBox"; +_cb7_p6_m3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266476; + //BA.debugLineNum = 50266476;BA.debugLine="Private p_m1 As Panel"; +_p_m1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266477; + //BA.debugLineNum = 50266477;BA.debugLine="Private p_m2 As Panel"; +_p_m2 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266478; + //BA.debugLineNum = 50266478;BA.debugLine="Private p_m3 As Panel"; +_p_m3 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266479; + //BA.debugLineNum = 50266479;BA.debugLine="Private p_m4 As Panel"; +_p_m4 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266480; + //BA.debugLineNum = 50266480;BA.debugLine="Dim impresoraConectada As Boolean = False"; +_impresoraconectada = __c.False; +RDebugUtils.currentLine=50266481; + //BA.debugLineNum = 50266481;BA.debugLine="Dim errorImpresora As Int = 0"; +_errorimpresora = (int) (0); +RDebugUtils.currentLine=50266482; + //BA.debugLineNum = 50266482;BA.debugLine="Dim idencuestaaguardar As String"; +_idencuestaaguardar = ""; +RDebugUtils.currentLine=50266484; + //BA.debugLineNum = 50266484;BA.debugLine="Private botonPresionado As Int"; +_botonpresionado = 0; +RDebugUtils.currentLine=50266485; + //BA.debugLineNum = 50266485;BA.debugLine="Private encuestaRes As String"; +_encuestares = ""; +RDebugUtils.currentLine=50266486; + //BA.debugLineNum = 50266486;BA.debugLine="Dim indicePregunta As Int"; +_indicepregunta = 0; +RDebugUtils.currentLine=50266487; + //BA.debugLineNum = 50266487;BA.debugLine="Dim TOMAR_FOTO As String"; +_tomar_foto = ""; +RDebugUtils.currentLine=50266488; + //BA.debugLineNum = 50266488;BA.debugLine="Dim CURSOR_FOTO As Int"; +_cursor_foto = 0; +RDebugUtils.currentLine=50266489; + //BA.debugLineNum = 50266489;BA.debugLine="Dim id_encuesta As String"; +_id_encuesta = ""; +RDebugUtils.currentLine=50266490; + //BA.debugLineNum = 50266490;BA.debugLine="Private chk_1_valor As String"; +_chk_1_valor = ""; +RDebugUtils.currentLine=50266491; + //BA.debugLineNum = 50266491;BA.debugLine="Private chk_2_valor As String"; +_chk_2_valor = ""; +RDebugUtils.currentLine=50266492; + //BA.debugLineNum = 50266492;BA.debugLine="Private chk_3_valor As String"; +_chk_3_valor = ""; +RDebugUtils.currentLine=50266493; + //BA.debugLineNum = 50266493;BA.debugLine="Private Panel10 As Panel"; +_panel10 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266494; + //BA.debugLineNum = 50266494;BA.debugLine="Private b_chk_e As Button"; +_b_chk_e = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266495; + //BA.debugLineNum = 50266495;BA.debugLine="Private chk_3 As CheckBox"; +_chk_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266496; + //BA.debugLineNum = 50266496;BA.debugLine="Private chk_2 As CheckBox"; +_chk_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266497; + //BA.debugLineNum = 50266497;BA.debugLine="Private Chk_1 As CheckBox"; +_chk_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266498; + //BA.debugLineNum = 50266498;BA.debugLine="Private l_chk_e As Label"; +_l_chk_e = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266499; + //BA.debugLineNum = 50266499;BA.debugLine="Private Label28 As Label"; +_label28 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266500; + //BA.debugLineNum = 50266500;BA.debugLine="Private p_encuesta As Panel"; +_p_encuesta = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266501; + //BA.debugLineNum = 50266501;BA.debugLine="Private b_encuesta_continuar As Button"; +_b_encuesta_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266502; + //BA.debugLineNum = 50266502;BA.debugLine="Private b_encuesta_3 As Button"; +_b_encuesta_3 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266503; + //BA.debugLineNum = 50266503;BA.debugLine="Private b_encuesta_2 As Button"; +_b_encuesta_2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266504; + //BA.debugLineNum = 50266504;BA.debugLine="Private b_encuesta_1 As Button"; +_b_encuesta_1 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266505; + //BA.debugLineNum = 50266505;BA.debugLine="Private et_encuesta As EditText"; +_et_encuesta = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266506; + //BA.debugLineNum = 50266506;BA.debugLine="Private l_txtEncuesta As Label"; +_l_txtencuesta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266507; + //BA.debugLineNum = 50266507;BA.debugLine="Private l_titEncuesta As Label"; +_l_titencuesta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266508; + //BA.debugLineNum = 50266508;BA.debugLine="Private ImageView11 As ImageView"; +_imageview11 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=50266509; + //BA.debugLineNum = 50266509;BA.debugLine="Dim distance As Long"; +_distance = 0L; +RDebugUtils.currentLine=50266510; + //BA.debugLineNum = 50266510;BA.debugLine="Dim distancealm As Long"; +_distancealm = 0L; +RDebugUtils.currentLine=50266511; + //BA.debugLineNum = 50266511;BA.debugLine="Private p_pideGeoPass As Panel"; +_p_pidegeopass = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266512; + //BA.debugLineNum = 50266512;BA.debugLine="Private b_geopass As Button"; +_b_geopass = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266513; + //BA.debugLineNum = 50266513;BA.debugLine="Private et_geopass As EditText"; +_et_geopass = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266514; + //BA.debugLineNum = 50266514;BA.debugLine="Private l_geopass As Label"; +_l_geopass = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266515; + //BA.debugLineNum = 50266515;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new gunav2.keymon.com.mx.dbrequestmanager(); +RDebugUtils.currentLine=50266516; + //BA.debugLineNum = 50266516;BA.debugLine="Dim ime As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=50266517; + //BA.debugLineNum = 50266517;BA.debugLine="Private camEx As CameraExClass"; +_camex = new gunav2.keymon.com.mx.cameraexclass(); +RDebugUtils.currentLine=50266518; + //BA.debugLineNum = 50266518;BA.debugLine="Dim frontCamera As Boolean = False"; +_frontcamera = __c.False; +RDebugUtils.currentLine=50266519; + //BA.debugLineNum = 50266519;BA.debugLine="Private p_cam As Panel"; +_p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266520; + //BA.debugLineNum = 50266520;BA.debugLine="Dim nombrefoto As String = \"0\""; +_nombrefoto = "0"; +RDebugUtils.currentLine=50266521; + //BA.debugLineNum = 50266521;BA.debugLine="Private p_camara As Panel"; +_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266522; + //BA.debugLineNum = 50266522;BA.debugLine="Private teclado As IME"; +_teclado = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=50266523; + //BA.debugLineNum = 50266523;BA.debugLine="Dim fototomada As String"; +_fototomada = ""; +RDebugUtils.currentLine=50266524; + //BA.debugLineNum = 50266524;BA.debugLine="Private b_foto As Button"; +_b_foto = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266525; + //BA.debugLineNum = 50266525;BA.debugLine="Dim precision As String"; +_precision = ""; +RDebugUtils.currentLine=50266526; + //BA.debugLineNum = 50266526;BA.debugLine="Dim b_Inicio_Fin_venta As Button"; +_b_inicio_fin_venta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266528; + //BA.debugLineNum = 50266528;BA.debugLine="Dim dentroDeGeocerca As Boolean = False"; +_dentrodegeocerca = __c.False; +RDebugUtils.currentLine=50266529; + //BA.debugLineNum = 50266529;BA.debugLine="Dim motivoNoVenta, motivoNoVisita As String"; +_motivonoventa = ""; +_motivonovisita = ""; +RDebugUtils.currentLine=50266530; + //BA.debugLineNum = 50266530;BA.debugLine="Dim contadorIniciarVenta As Int = 0"; +_contadoriniciarventa = (int) (0); +RDebugUtils.currentLine=50266531; + //BA.debugLineNum = 50266531;BA.debugLine="Dim IniVenNO As Boolean = False"; +_inivenno = __c.False; +RDebugUtils.currentLine=50266532; + //BA.debugLineNum = 50266532;BA.debugLine="Private geoCont As Int = 0"; +_geocont = (int) (0); +RDebugUtils.currentLine=50266533; + //BA.debugLineNum = 50266533;BA.debugLine="Private l_version As Label"; +_l_version = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266538; + //BA.debugLineNum = 50266538;BA.debugLine="Private b_preventa As Button"; +_b_preventa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266539; + //BA.debugLineNum = 50266539;BA.debugLine="Dim bitacora As C_Bitacora"; +_bitacora = new gunav2.keymon.com.mx.c_bitacora(); +RDebugUtils.currentLine=50266540; + //BA.debugLineNum = 50266540;BA.debugLine="Dim p_transparenteTicketImpreso As Panel"; +_p_transparenteticketimpreso = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266541; + //BA.debugLineNum = 50266541;BA.debugLine="Private et_codigoAutorizacion As EditText"; +_et_codigoautorizacion = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266542; + //BA.debugLineNum = 50266542;BA.debugLine="Private b_codigoAutorizacion As Button"; +_b_codigoautorizacion = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266543; + //BA.debugLineNum = 50266543;BA.debugLine="Private b_cancelarCodigoAutorizacion As Button"; +_b_cancelarcodigoautorizacion = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266544; + //BA.debugLineNum = 50266544;BA.debugLine="Private p_ticketImpreso As Panel"; +_p_ticketimpreso = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266545; + //BA.debugLineNum = 50266545;BA.debugLine="Private b_enviarTicket As Button"; +_b_enviarticket = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266546; + //BA.debugLineNum = 50266546;BA.debugLine="Dim archivoTicketPDF As String"; +_archivoticketpdf = ""; +RDebugUtils.currentLine=50266547; + //BA.debugLineNum = 50266547;BA.debugLine="Private p_transparentePDF As Panel"; +_p_transparentepdf = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266548; + //BA.debugLineNum = 50266548;BA.debugLine="Private p_envioPDF As Panel"; +_p_enviopdf = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266549; + //BA.debugLineNum = 50266549;BA.debugLine="Private b_cancelarEnvioPDF As Button"; +_b_cancelarenviopdf = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266550; + //BA.debugLineNum = 50266550;BA.debugLine="Private b_envioPDF As Button"; +_b_enviopdf = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266551; + //BA.debugLineNum = 50266551;BA.debugLine="Private et_numeroPDF As EditText"; +_et_numeropdf = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266552; + //BA.debugLineNum = 50266552;BA.debugLine="Private btnPlanLealtad As Button"; +_btnplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266553; + //BA.debugLineNum = 50266553;BA.debugLine="Private pnl_btns As Panel"; +_pnl_btns = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266554; + //BA.debugLineNum = 50266554;BA.debugLine="Private pnlPlanLealtad As Panel"; +_pnlplanlealtad = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266555; + //BA.debugLineNum = 50266555;BA.debugLine="Private imgPlanLealtad As ImageView"; +_imgplanlealtad = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=50266556; + //BA.debugLineNum = 50266556;BA.debugLine="Private btnAceptaPlanLealtad As Button"; +_btnaceptaplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266557; + //BA.debugLineNum = 50266557;BA.debugLine="Private btnCancelarPlanLealtad As Button"; +_btncancelarplanlealtad = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266558; + //BA.debugLineNum = 50266558;BA.debugLine="Private BCREDITO As String"; +_bcredito = ""; +RDebugUtils.currentLine=50266561; + //BA.debugLineNum = 50266561;BA.debugLine="Private p_comentarios As Panel"; +_p_comentarios = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266562; + //BA.debugLineNum = 50266562;BA.debugLine="Private p_comentario As Panel"; +_p_comentario = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266563; + //BA.debugLineNum = 50266563;BA.debugLine="Private b_agregarcom As Button"; +_b_agregarcom = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266564; + //BA.debugLineNum = 50266564;BA.debugLine="Private b_cerarcom As Button"; +_b_cerarcom = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266565; + //BA.debugLineNum = 50266565;BA.debugLine="Private Label19 As Label"; +_label19 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266566; + //BA.debugLineNum = 50266566;BA.debugLine="Private et_comentario As EditText"; +_et_comentario = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266567; + //BA.debugLineNum = 50266567;BA.debugLine="Private lv_comentarios As ListView"; +_lv_comentarios = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=50266568; + //BA.debugLineNum = 50266568;BA.debugLine="Private ImageView4 As ImageView"; +_imageview4 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=50266569; + //BA.debugLineNum = 50266569;BA.debugLine="Private p_cliente_ As Panel"; +_p_cliente_ = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266570; + //BA.debugLineNum = 50266570;BA.debugLine="Private l_limite As Label"; +_l_limite = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266571; + //BA.debugLineNum = 50266571;BA.debugLine="Private l_credito As Label"; +_l_credito = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266572; + //BA.debugLineNum = 50266572;BA.debugLine="Private l_tipocliente As Label"; +_l_tipocliente = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266573; + //BA.debugLineNum = 50266573;BA.debugLine="Private l_deuda As Label"; +_l_deuda = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266574; + //BA.debugLineNum = 50266574;BA.debugLine="Private p_deuda As Panel"; +_p_deuda = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266575; + //BA.debugLineNum = 50266575;BA.debugLine="Private Label22 As Label"; +_label22 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266576; + //BA.debugLineNum = 50266576;BA.debugLine="Private l_animal As Label"; +_l_animal = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=50266577; + //BA.debugLineNum = 50266577;BA.debugLine="Private contIguales As Int = 0"; +_contiguales = (int) (0); +RDebugUtils.currentLine=50266578; + //BA.debugLineNum = 50266578;BA.debugLine="Private b_preventa2 As Button"; +_b_preventa2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266579; + //BA.debugLineNum = 50266579;BA.debugLine="Private p_atiende As Panel"; +_p_atiende = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266580; + //BA.debugLineNum = 50266580;BA.debugLine="Private et_atiende As EditText"; +_et_atiende = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266581; + //BA.debugLineNum = 50266581;BA.debugLine="Private b_cancelatiende As Button"; +_b_cancelatiende = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266582; + //BA.debugLineNum = 50266582;BA.debugLine="Private b_acepatiende As Button"; +_b_acepatiende = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266583; + //BA.debugLineNum = 50266583;BA.debugLine="Private p_telefono As Panel"; +_p_telefono = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=50266584; + //BA.debugLineNum = 50266584;BA.debugLine="Private b_canceltelefono As Button"; +_b_canceltelefono = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266585; + //BA.debugLineNum = 50266585;BA.debugLine="Private b_aceptelefono As Button"; +_b_aceptelefono = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=50266586; + //BA.debugLineNum = 50266586;BA.debugLine="Private et_telefono As EditText"; +_et_telefono = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=50266588; + //BA.debugLineNum = 50266588;BA.debugLine="Dim totalpromos As Double"; +_totalpromos = 0; +RDebugUtils.currentLine=50266589; + //BA.debugLineNum = 50266589;BA.debugLine="Dim totalpromostotal As Double"; +_totalpromostotal = 0; +RDebugUtils.currentLine=50266590; + //BA.debugLineNum = 50266590;BA.debugLine="Private chb_com As CheckBox"; +_chb_com = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=50266591; + //BA.debugLineNum = 50266591;BA.debugLine="End Sub"; +return ""; +} +public String _compra(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "compra", false)) + {return ((String) Debug.delegate(ba, "compra", null));} +anywheresoftware.b4a.objects.collections.List _rutasencuesta = null; +anywheresoftware.b4a.objects.collections.List _alamcenesencuesta = null; +anywheresoftware.b4a.objects.collections.List _items = null; +RDebugUtils.currentLine=51511296; + //BA.debugLineNum = 51511296;BA.debugLine="Sub compra"; +RDebugUtils.currentLine=51511311; + //BA.debugLineNum = 51511311;BA.debugLine="Private rutasEncuesta As List"; +_rutasencuesta = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51511312; + //BA.debugLineNum = 51511312;BA.debugLine="rutasEncuesta.Initialize2(Array As Int(702, 703,"; +_rutasencuesta.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new int[]{(int) (702),(int) (703),(int) (707),(int) (718),(int) (730),(int) (732),(int) (733),(int) (734)})); +RDebugUtils.currentLine=51511313; + //BA.debugLineNum = 51511313;BA.debugLine="Private alamcenesEncuesta As List"; +_alamcenesencuesta = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51511314; + //BA.debugLineNum = 51511314;BA.debugLine="alamcenesEncuesta.Initialize2(Array As Int(15, 35"; +_alamcenesencuesta.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new int[]{(int) (15),(int) (35),(int) (43),(int) (54),(int) (56),(int) (73),(int) (75),(int) (79)})); +RDebugUtils.currentLine=51511329; + //BA.debugLineNum = 51511329;BA.debugLine="If TOMAR_FOTO = 0 Then"; +if ((__ref._tomar_foto /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=51511330; + //BA.debugLineNum = 51511330;BA.debugLine="Cuestionario"; +__ref._cuestionario /*void*/ (null); + }else { +RDebugUtils.currentLine=51511332; + //BA.debugLineNum = 51511332;BA.debugLine="Dim Items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51511333; + //BA.debugLineNum = 51511333;BA.debugLine="Items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=51511334; + //BA.debugLineNum = 51511334;BA.debugLine="Items.Add(\"Selecciona una opción\")"; +_items.Add((Object)("Selecciona una opción")); +RDebugUtils.currentLine=51511335; + //BA.debugLineNum = 51511335;BA.debugLine="Items.Add(\"Tienda de Abarrotes (Abarrotes, Misce"; +_items.Add((Object)("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)")); +RDebugUtils.currentLine=51511336; + //BA.debugLineNum = 51511336;BA.debugLine="Items.Add(\"Recaudería (Frutas y Verduras)\")"; +_items.Add((Object)("Recaudería (Frutas y Verduras)")); +RDebugUtils.currentLine=51511337; + //BA.debugLineNum = 51511337;BA.debugLine="Items.Add(\"Vinos y Licores\")"; +_items.Add((Object)("Vinos y Licores")); +RDebugUtils.currentLine=51511338; + //BA.debugLineNum = 51511338;BA.debugLine="Items.Add(\"Carnicería o Pollería\")"; +_items.Add((Object)("Carnicería o Pollería")); +RDebugUtils.currentLine=51511339; + //BA.debugLineNum = 51511339;BA.debugLine="Items.Add(\"Farmacia\")"; +_items.Add((Object)("Farmacia")); +RDebugUtils.currentLine=51511340; + //BA.debugLineNum = 51511340;BA.debugLine="Items.Add(\"Jarciería (Productos de Limpieza)\")"; +_items.Add((Object)("Jarciería (Productos de Limpieza)")); +RDebugUtils.currentLine=51511341; + //BA.debugLineNum = 51511341;BA.debugLine="Items.Add(\"Papelería y Regalos\")"; +_items.Add((Object)("Papelería y Regalos")); +RDebugUtils.currentLine=51511342; + //BA.debugLineNum = 51511342;BA.debugLine="Items.Add(\"Tortillería\")"; +_items.Add((Object)("Tortillería")); +RDebugUtils.currentLine=51511343; + //BA.debugLineNum = 51511343;BA.debugLine="Items.Add(\"Escuelas\")"; +_items.Add((Object)("Escuelas")); +RDebugUtils.currentLine=51511344; + //BA.debugLineNum = 51511344;BA.debugLine="Items.Add(\"Estanquillos (Puestos Semifijos)\")"; +_items.Add((Object)("Estanquillos (Puestos Semifijos)")); +RDebugUtils.currentLine=51511345; + //BA.debugLineNum = 51511345;BA.debugLine="Items.Add(\"Fonda, Cocina Económica, Cafetería)\")"; +_items.Add((Object)("Fonda, Cocina Económica, Cafetería)")); +RDebugUtils.currentLine=51511346; + //BA.debugLineNum = 51511346;BA.debugLine="Items.Add(\"Tlapalería, Ferretería\")"; +_items.Add((Object)("Tlapalería, Ferretería")); +RDebugUtils.currentLine=51511347; + //BA.debugLineNum = 51511347;BA.debugLine="Items.Add(\"Dulcería, Materias Primas\")"; +_items.Add((Object)("Dulcería, Materias Primas")); +RDebugUtils.currentLine=51511348; + //BA.debugLineNum = 51511348;BA.debugLine="Items.Add(\"Semillas y Chiles Secos\")"; +_items.Add((Object)("Semillas y Chiles Secos")); +RDebugUtils.currentLine=51511349; + //BA.debugLineNum = 51511349;BA.debugLine="Items.Add(\"Cybercafé\")"; +_items.Add((Object)("Cybercafé")); +RDebugUtils.currentLine=51511350; + //BA.debugLineNum = 51511350;BA.debugLine="Items.Add(\"Hotel\")"; +_items.Add((Object)("Hotel")); +RDebugUtils.currentLine=51511351; + //BA.debugLineNum = 51511351;BA.debugLine="Items.Add(\"Veterinaria\")"; +_items.Add((Object)("Veterinaria")); +RDebugUtils.currentLine=51511352; + //BA.debugLineNum = 51511352;BA.debugLine="Items.Add(\"Tienda de Mascotas\")"; +_items.Add((Object)("Tienda de Mascotas")); +RDebugUtils.currentLine=51511353; + //BA.debugLineNum = 51511353;BA.debugLine="Items.Add(\"Otros\")"; +_items.Add((Object)("Otros")); +RDebugUtils.currentLine=51511354; + //BA.debugLineNum = 51511354;BA.debugLine="cb_pregunta.SetItems(Items)"; +__ref._cb_pregunta /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=51511355; + //BA.debugLineNum = 51511355;BA.debugLine="girotienda = \"Selecciona una opcion\""; +__ref._girotienda /*String*/ = "Selecciona una opcion"; +RDebugUtils.currentLine=51511356; + //BA.debugLineNum = 51511356;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=51511357; + //BA.debugLineNum = 51511357;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51511358; + //BA.debugLineNum = 51511358;BA.debugLine="CUENTA_MODULO = c.GetString(\"CUANTOS\")"; +__ref._cuenta_modulo /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=51511359; + //BA.debugLineNum = 51511359;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51511360; + //BA.debugLineNum = 51511360;BA.debugLine="If CUENTA_MODULO > 0 Then"; +if ((double)(Double.parseDouble(__ref._cuenta_modulo /*String*/ ))>0) { +RDebugUtils.currentLine=51511361; + //BA.debugLineNum = 51511361;BA.debugLine="c=skmt.ExecQuery(\"SELECT HEC_MODULO FROM HIST_E"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HEC_MODULO FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=51511362; + //BA.debugLineNum = 51511362;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51511363; + //BA.debugLineNum = 51511363;BA.debugLine="que_modulo = c.GetString(\"HEC_MODULO\")"; +__ref._que_modulo /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HEC_MODULO"); +RDebugUtils.currentLine=51511364; + //BA.debugLineNum = 51511364;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=51511366; + //BA.debugLineNum = 51511366;BA.debugLine="Log(Subs.traeAlmacen)"; +__c.LogImpl("051511366",_subs._traealmacen /*String*/ (ba),0); +RDebugUtils.currentLine=51511367; + //BA.debugLineNum = 51511367;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO1 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=51511368; + //BA.debugLineNum = 51511368;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51511369; + //BA.debugLineNum = 51511369;BA.debugLine="EXISTE = c.GetString(\"CUANTOS\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=51511370; + //BA.debugLineNum = 51511370;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51511372; + //BA.debugLineNum = 51511372;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO2 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=51511373; + //BA.debugLineNum = 51511373;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51511374; + //BA.debugLineNum = 51511374;BA.debugLine="EXISTE2 = c.GetString(\"CUANTOS\")"; +__ref._existe2 /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=51511375; + //BA.debugLineNum = 51511375;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51511377; + //BA.debugLineNum = 51511377;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO3 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=51511378; + //BA.debugLineNum = 51511378;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51511379; + //BA.debugLineNum = 51511379;BA.debugLine="EXISTE3 = c.GetString(\"CUANTOS\")"; +__ref._existe3 /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=51511380; + //BA.debugLineNum = 51511380;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51511382; + //BA.debugLineNum = 51511382;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO4 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=51511383; + //BA.debugLineNum = 51511383;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51511384; + //BA.debugLineNum = 51511384;BA.debugLine="EXISTE4 = c.GetString(\"CUANTOS\")"; +__ref._existe4 /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=51511385; + //BA.debugLineNum = 51511385;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51511387; + //BA.debugLineNum = 51511387;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO5 WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=51511388; + //BA.debugLineNum = 51511388;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51511389; + //BA.debugLineNum = 51511389;BA.debugLine="EXISTE5 = c.GetString(\"CUANTOS\")"; +__ref._existe5 /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=51511390; + //BA.debugLineNum = 51511390;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=51511415; + //BA.debugLineNum = 51511415;BA.debugLine="If EXISTE = 0 And EXISTE2 = 0 And EXISTE3 = 0 An"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) && (__ref._existe2 /*String*/ ).equals(BA.NumberToString(0)) && (__ref._existe3 /*String*/ ).equals(BA.NumberToString(0)) && (__ref._existe4 /*String*/ ).equals(BA.NumberToString(0)) && (__ref._existe5 /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=51511416; + //BA.debugLineNum = 51511416;BA.debugLine="S = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM C"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CUESTIONARIO"}))); +RDebugUtils.currentLine=51511417; + //BA.debugLineNum = 51511417;BA.debugLine="S.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51511418; + //BA.debugLineNum = 51511418;BA.debugLine="If s.GetString(\"CAT_VA_VALOR\") > \"0\" Then"; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble("0"))) { +RDebugUtils.currentLine=51511420; + //BA.debugLineNum = 51511420;BA.debugLine="ENCUESTA = s.GetString(\"CAT_VA_VALOR\")"; +__ref._encuesta /*String*/ = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); +RDebugUtils.currentLine=51511421; + //BA.debugLineNum = 51511421;BA.debugLine="ENCUESTA = \"3\""; +__ref._encuesta /*String*/ = "3"; + }else { +RDebugUtils.currentLine=51511454; + //BA.debugLineNum = 51511454;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); + }; + }else { +RDebugUtils.currentLine=51511457; + //BA.debugLineNum = 51511457;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); + }; +RDebugUtils.currentLine=51511459; + //BA.debugLineNum = 51511459;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=51511468; + //BA.debugLineNum = 51511468;BA.debugLine="End Sub"; +return ""; +} +public String _cuest_preguntacontestada(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cuest_preguntacontestada", false)) + {return ((String) Debug.delegate(ba, "cuest_preguntacontestada", new Object[] {_m}));} +RDebugUtils.currentLine=61603840; + //BA.debugLineNum = 61603840;BA.debugLine="Sub cuest_preguntaContestada(m As Map)"; +RDebugUtils.currentLine=61603842; + //BA.debugLineNum = 61603842;BA.debugLine="Log(m)"; +__c.LogImpl("061603842",BA.ObjectToString(_m),0); +RDebugUtils.currentLine=61603845; + //BA.debugLineNum = 61603845;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le"; +((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_m.Get((Object)("panel"))))).RemoveView(); +RDebugUtils.currentLine=61603846; + //BA.debugLineNum = 61603846;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=61603847; + //BA.debugLineNum = 61603847;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=61603848; + //BA.debugLineNum = 61603848;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"' and Q_IDPREGUNTA = '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"'")); +RDebugUtils.currentLine=61603849; + //BA.debugLineNum = 61603849;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("pregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idRespuesta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("respuesta")))+"', '"+__c.SmartStringFormatter("",(Object)(__c.DateTime.Date(__c.DateTime.getNow())))+" "+__c.SmartStringFormatter("",(Object)(__c.DateTime.Time(__c.DateTime.getNow())))+"')")); +RDebugUtils.currentLine=61603850; + //BA.debugLineNum = 61603850;BA.debugLine="Log(\">> RESP: \" & m.Get(\"respuesta\"))"; +__c.LogImpl("061603850",">> RESP: "+BA.ObjectToString(_m.Get((Object)("respuesta"))),0); +RDebugUtils.currentLine=61603851; + //BA.debugLineNum = 61603851;BA.debugLine="Select Case m.Get(\"idPregunta\")"; +switch (BA.switchObjectToInt(_m.Get((Object)("idPregunta")),(Object)("1"),(Object)("2"),(Object)("3"),(Object)("4"),(Object)("5"),(Object)("6"),(Object)("7"))) { +case 0: { +RDebugUtils.currentLine=61603853; + //BA.debugLineNum = 61603853;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("Ninguno de los anteriores"))) { +RDebugUtils.currentLine=61603856; + //BA.debugLineNum = 61603856;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué produc"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"3","¿Qué productos de Kileo Gato encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Whiskas","KITEKAT","PAL GATO","CAT CHOW","GATINA","MININO","MI MISHI","OTROS","Ninguno de los anteriores"})); + }else { +RDebugUtils.currentLine=61603859; + //BA.debugLineNum = 61603859;BA.debugLine="cuest.agregaPreguntaAbierta(\"2\", \"Captura el p"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntaabierta /*String*/ (null,"2","Captura el precio por kilo de los articulos seleccionados anteriormente",__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (null,BA.ObjectToString(_m.Get((Object)("idRespuesta")))),__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (null,BA.ObjectToString(_m.Get((Object)("respuesta"))))); + }; + break; } +case 1: { +RDebugUtils.currentLine=61603863; + //BA.debugLineNum = 61603863;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué product"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"3","¿Qué productos de Kileo Gato encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Whiskas","KITEKAT","PAL GATO","CAT CHOW","GATINA","MININO","MI MISHI","OTROS","Ninguno de los anteriores"})); + break; } +case 2: { +RDebugUtils.currentLine=61603866; + //BA.debugLineNum = 61603866;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("Ninguno de los anteriores"))) { +RDebugUtils.currentLine=61603869; + //BA.debugLineNum = 61603869;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué produc"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"5","¿Qué productos de húmedo MARS encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Pedigree Adulto res","Pedigree Adulto Pollo","Pedigree Cachorro res","Pedigree Cachorro Pollo","Pedigree Raz Peq res","Pedigree Raz Peq Pollo","Pedigree Adulto Cordero","Pedigree Adulto Lata res","Whiskas Atún","Whiskas Pollo","Whiskas res","Whiskas Salmón","Whiskas Parrillada Mixta","Whiskas Pescado BLANCO","Whiskas Souffle","Ninguno de los anteriores"})); + }else { +RDebugUtils.currentLine=61603871; + //BA.debugLineNum = 61603871;BA.debugLine="cuest.agregaPreguntaAbierta(\"4\", \"Captura el p"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntaabierta /*String*/ (null,"4","Captura el precio por kilo de los articulos seleccionados anteriormente",__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (null,BA.ObjectToString(_m.Get((Object)("idRespuesta")))),__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (null,BA.ObjectToString(_m.Get((Object)("respuesta"))))); + }; + break; } +case 3: { +RDebugUtils.currentLine=61603874; + //BA.debugLineNum = 61603874;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué product"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"5","¿Qué productos de húmedo MARS encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Pedigree Adulto res","Pedigree Adulto Pollo","Pedigree Cachorro res","Pedigree Cachorro Pollo","Pedigree Raz Peq res","Pedigree Raz Peq Pollo","Pedigree Adulto Cordero","Pedigree Adulto Lata res","Whiskas Atún","Whiskas Pollo","Whiskas res","Whiskas Salmón","Whiskas Parrillada Mixta","Whiskas Pescado BLANCO","Whiskas Souffle","Ninguno de los anteriores"})); + break; } +case 4: { +RDebugUtils.currentLine=61603876; + //BA.debugLineNum = 61603876;BA.debugLine="cuest.agregaPreguntaCheckbox(\"6\", \"¿Qué product"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"6","¿Qué productos de húmedo otros encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Dog Chow (cualquier sabor)","Ganador (cualquier sabor)","Felix (cualquier sabor)","Minino plus (cualquier sabor)","Cat Chow (cualquier sabor)","Beneful (cualquier sabor)","Amigo Gourmet (cualquier sabor)","Ninguno de los anteriores"})); + break; } +case 5: { +RDebugUtils.currentLine=61603878; + //BA.debugLineNum = 61603878;BA.debugLine="cuest.agregaPreguntaCheckbox(\"7\", \"¿Qué product"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._agregapreguntacheckbox /*String*/ (null,"7","¿Qué productos de botanas encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Dentastix","Biscrok","Ninguno de los anteriores"})); + break; } +case 6: { +RDebugUtils.currentLine=61603881; + //BA.debugLineNum = 61603881;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False); +RDebugUtils.currentLine=61603882; + //BA.debugLineNum = 61603882;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; +__c.LogImpl("061603882",">>>>>>>>>> "+BA.ObjectToString(__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ ),0); +RDebugUtils.currentLine=61603883; + //BA.debugLineNum = 61603883;BA.debugLine="cuest.encuestaIniciada = False"; +__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ = __c.False; +RDebugUtils.currentLine=61603884; + //BA.debugLineNum = 61603884;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; +__c.LogImpl("061603884",">>>>>>>>>> "+BA.ObjectToString(__ref._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ ),0); +RDebugUtils.currentLine=61603887; + //BA.debugLineNum = 61603887;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + break; } +} +; +RDebugUtils.currentLine=61603890; + //BA.debugLineNum = 61603890;BA.debugLine="End Sub"; +return ""; +} +public void _initializecamera2(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "initializecamera2", false)) + {Debug.delegate(ba, "initializecamera2", null); return;} +ResumableSub_InitializeCamera2 rsub = new ResumableSub_InitializeCamera2(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_InitializeCamera2 extends BA.ResumableSub { -public ResumableSub_InitializeCamera2(gunav2.keymon.com.mx.c_cliente parent) { +public ResumableSub_InitializeCamera2(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; String _permission = ""; boolean _resultc = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -16389,19 +19972,22 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 7705;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=63700993; + //BA.debugLineNum = 63700993;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA); - //BA.debugLineNum = 7706;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=63700994; + //BA.debugLineNum = 63700994;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "initializecamera2"), null); this.state = 7; return; case 7: //C this.state = 1; -_permission = (String) result[0]; -_resultc = (Boolean) result[1]; +_permission = (String) result[1]; +_resultc = (Boolean) result[2]; ; - //BA.debugLineNum = 7707;BA.debugLine="If resultC Then"; +RDebugUtils.currentLine=63700995; + //BA.debugLineNum = 63700995;BA.debugLine="If resultC Then"; if (true) break; case 1: @@ -16416,18 +20002,22 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 7708;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; -parent._camex._initialize /*String*/ (ba,parent._p_cam,parent._frontcamera,parent,"Camera1"); - //BA.debugLineNum = 7709;BA.debugLine="frontCamera = camEx.Front"; -parent._frontcamera = parent._camex._front /*boolean*/ ; - //BA.debugLineNum = 7710;BA.debugLine="Log(\"inicializamos Camara\")"; -parent.__c.LogImpl("463635462","inicializamos Camara",0); +RDebugUtils.currentLine=63700996; + //BA.debugLineNum = 63700996;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; +__ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._initialize /*String*/ (null,ba,__ref._p_cam /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._frontcamera /*boolean*/ ,parent,"Camera1"); +RDebugUtils.currentLine=63700997; + //BA.debugLineNum = 63700997;BA.debugLine="frontCamera = camEx.Front"; +__ref._frontcamera /*boolean*/ = __ref._camex /*gunav2.keymon.com.mx.cameraexclass*/ ._front /*boolean*/ ; +RDebugUtils.currentLine=63700998; + //BA.debugLineNum = 63700998;BA.debugLine="Log(\"inicializamos Camara\")"; +parent.__c.LogImpl("063700998","inicializamos Camara",0); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 7712;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; +RDebugUtils.currentLine=63701000; + //BA.debugLineNum = 63701000;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True); if (true) break; @@ -16435,534 +20025,261 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 7714;BA.debugLine="End Sub"; +RDebugUtils.currentLine=63701002; + //BA.debugLineNum = 63701002;BA.debugLine="End Sub"; if (true) break; } } } } -public String _jobdone(gunav2.keymon.com.mx.httpjob _job) throws Exception{ -gunav2.keymon.com.mx.dbrequestmanager._dbresult _result1 = null; -Object[] _records = null; -String _k = ""; -String _permiso_geopass = ""; -gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; -byte[] _cat_cl_foto = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar1 = null; -byte[] _fotomostrarfinal = null; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _inputstream1 = null; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bitmap1 = null; - //BA.debugLineNum = 1947;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1948;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 1950;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars"; -__c.LogImpl("451183619","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red); - }else { - //BA.debugLineNum = 1953;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("451183622","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 1954;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1955;BA.debugLine="Dim result1 As DBResult = reqManager.HandleJob("; -_result1 = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1956;BA.debugLine="If result1.Tag = \"traeGeoPass\" Then 'query tag"; -if ((_result1.Tag /*Object*/ ).equals((Object)("traeGeoPass"))) { - //BA.debugLineNum = 1957;BA.debugLine="Log(\"SIN REGISTROS \" & result1.Rows.Size)"; -__c.LogImpl("451183626","SIN REGISTROS "+BA.NumberToString(_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); - //BA.debugLineNum = 1958;BA.debugLine="If result1.Rows.Size = 0 Then MsgboxAsync(\"Con"; -if (_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { -__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo."),BA.ObjectToCharSequence("ATENCION"),ba);}; - //BA.debugLineNum = 1959;BA.debugLine="For Each records() As Object In result1.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group10 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen10 = group10.getSize() -;int index10 = 0; -; -for (; index10 < groupLen10;index10++){ -_records = (Object[])(group10.Get(index10)); - //BA.debugLineNum = 1960;BA.debugLine="For Each k As String In result1.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group11 = _result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen11 = group11.getSize() -;int index11 = 0; -; -for (; index11 < groupLen11;index11++){ -_k = BA.ObjectToString(group11.Get(index11)); - //BA.debugLineNum = 1961;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(k"; -__c.LogImpl("451183630",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - //BA.debugLineNum = 1963;BA.debugLine="Private permiso_geoPass As String = \"KO\""; -_permiso_geopass = "KO"; - //BA.debugLineNum = 1964;BA.debugLine="Log($\"|${result1.Columns.Get(\"'OK'\")}|\"$)"; -__c.LogImpl("451183633",("|"+__c.SmartStringFormatter("",_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'")))+"|"),0); - //BA.debugLineNum = 1967;BA.debugLine="permiso_geoPass = result1.Columns.Get(\"'OK'\""; -_permiso_geopass = BA.ObjectToString(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'"))); - //BA.debugLineNum = 1969;BA.debugLine="If permiso_geoPass = \"OK\" Then"; -if ((_permiso_geopass).equals("OK")) { - //BA.debugLineNum = 1970;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps"; -_m_lat = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ; - //BA.debugLineNum = 1971;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps"; -_m_lon = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ; - //BA.debugLineNum = 1972;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)"; -_gps_locationchanged(_starter._ubicacionactual /*anywheresoftware.b4a.gps.LocationWrapper*/ ); - //BA.debugLineNum = 1973;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT"; -_skmt.ExecNonQuery(("update kmt_info3 set CAT_CL_LAT = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ))+"', CAT_CL_LONG = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))+"' where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"'")); - //BA.debugLineNum = 1974;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1975;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1976;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\""; -_cmd.Name /*String*/ = "delete_geoPass_GUNA"; - //BA.debugLineNum = 1977;BA.debugLine="cmd.Parameters = Array As Object( Subs.traeA"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; - //BA.debugLineNum = 1978;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPas"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("traeGeoPass")); - }else { - //BA.debugLineNum = 1980;BA.debugLine="MsgboxAsync(\"Contraseña equivocada, por favo"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo."),BA.ObjectToCharSequence("ATENCION"),ba); - }; - } -}; - }; - //BA.debugLineNum = 1985;BA.debugLine="If result1.Tag = \"codigoAutorizacion\" Then"; -if ((_result1.Tag /*Object*/ ).equals((Object)("codigoAutorizacion"))) { - //BA.debugLineNum = 1986;BA.debugLine="If result1.Rows.Size > 0 Then"; -if (_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { - //BA.debugLineNum = 1987;BA.debugLine="Log(\"Si hay codigo de autorizaion\")"; -__c.LogImpl("451183656","Si hay codigo de autorizaion",0); - //BA.debugLineNum = 1988;BA.debugLine="For Each records() As Object In result1.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group35 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen35 = group35.getSize() -;int index35 = 0; -; -for (; index35 < groupLen35;index35++){ -_records = (Object[])(group35.Get(index35)); - //BA.debugLineNum = 1989;BA.debugLine="For Each k As String In result1.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group36 = _result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen36 = group36.getSize() -;int index36 = 0; -; -for (; index36 < groupLen36;index36++){ -_k = BA.ObjectToString(group36.Get(index36)); - //BA.debugLineNum = 1990;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get("; -__c.LogImpl("451183659",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - //BA.debugLineNum = 1993;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1994;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1995;BA.debugLine="cmd.Name = \"delete_codigoAutorizacion\""; -_cmd.Name /*String*/ = "delete_codigoAutorizacion"; - //BA.debugLineNum = 1996;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAut"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_et_codigoautorizacion.getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))}; - //BA.debugLineNum = 1997;BA.debugLine="reqManager.ExecuteCommand(cmd , \"deleteCodigo"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("deleteCodigoAutorizacion")); - //BA.debugLineNum = 1998;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; -__c.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss"); - //BA.debugLineNum = 1999;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2000;BA.debugLine="cmd.Name = \"update_codigoAutorizacion\""; -_cmd.Name /*String*/ = "update_codigoAutorizacion"; - //BA.debugLineNum = 2002;BA.debugLine="cmd.Parameters = Array As Object(DateTime.Dat"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__c.DateTime.Date(__c.DateTime.getNow())),(Object)(_subs._traeusuariodebd /*String*/ (ba)),(Object)(_et_codigoautorizacion.getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))}; - //BA.debugLineNum = 2003;BA.debugLine="reqManager.ExecuteCommand(cmd , \"updateCodigo"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("updateCodigoAutorizacion")); - //BA.debugLineNum = 2004;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)"); - //BA.debugLineNum = 2005;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; -_p_transparenteticketimpreso.setVisible(__c.False); - //BA.debugLineNum = 2006;BA.debugLine="et_codigoAutorizacion.Text = \"\""; -_et_codigoautorizacion.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2007;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 2008;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 2009;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 2010;BA.debugLine="ToastMessageShow(\"Listo, ya se puede modifica"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Listo, ya se puede modificar la venta."),__c.True); - }else { - //BA.debugLineNum = 2012;BA.debugLine="ToastMessageShow(\"El codigo es incorrecto, po"; -__c.ToastMessageShow(BA.ObjectToCharSequence("El codigo es incorrecto, por favor revise y vuelva a intentar!!"),__c.True); - }; - }; - //BA.debugLineNum = 2015;BA.debugLine="If result1.Tag = \"delete_codigoAutorizacion\" Th"; -if ((_result1.Tag /*Object*/ ).equals((Object)("delete_codigoAutorizacion"))) { - //BA.debugLineNum = 2016;BA.debugLine="Log(\"Codigo Borrado!!\")"; -__c.LogImpl("451183685","Codigo Borrado!!",0); - }; - //BA.debugLineNum = 2018;BA.debugLine="If result1.Tag = \"updateCodigoAutorizacion\" The"; -if ((_result1.Tag /*Object*/ ).equals((Object)("updateCodigoAutorizacion"))) { - //BA.debugLineNum = 2019;BA.debugLine="Log(\"Codigo Actualizado\")"; -__c.LogImpl("451183688","Codigo Actualizado",0); - }; - //BA.debugLineNum = 2021;BA.debugLine="If result1.Tag = \"insertEnvioTicketPDF\" Then"; -if ((_result1.Tag /*Object*/ ).equals((Object)("insertEnvioTicketPDF"))) { - //BA.debugLineNum = 2022;BA.debugLine="Log(\"Información de ticket enviada a web!!\")"; -__c.LogImpl("451183691","Información de ticket enviada a web!!",0); - }; - }; - //BA.debugLineNum = 2044;BA.debugLine="If result1.Tag = \"kmt_datos_foto\" Then 'query ta"; -if ((_result1.Tag /*Object*/ ).equals((Object)("kmt_datos_foto"))) { - //BA.debugLineNum = 2045;BA.debugLine="For Each records() As Object In result1.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group72 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen72 = group72.getSize() -;int index72 = 0; -; -for (; index72 < groupLen72;index72++){ -_records = (Object[])(group72.Get(index72)); - //BA.debugLineNum = 2046;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(result1.Co"; -_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]); - } -}; - //BA.debugLineNum = 2048;BA.debugLine="Log(\"si paso\")"; -__c.LogImpl("451183717","si paso",0); - //BA.debugLineNum = 2049;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_foto)})); - //BA.debugLineNum = 2051;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQu"; -_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 2052;BA.debugLine="If fotomostrar.RowCount > 0 Then"; -if (_fotomostrar.getRowCount()>0) { - //BA.debugLineNum = 2053;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.Exec"; -_fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NULL"))); - //BA.debugLineNum = 2054;BA.debugLine="If fotomostrar1.RowCount > 0 Then"; -if (_fotomostrar1.getRowCount()>0) { - //BA.debugLineNum = 2055;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets"; -_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"images.png").getObject())); - //BA.debugLineNum = 2056;BA.debugLine="Log(\"aqui no hay foto\")"; -__c.LogImpl("451183725","aqui no hay foto",0); - }else { - //BA.debugLineNum = 2058;BA.debugLine="fotomostrar.Position = 0"; -_fotomostrar.setPosition((int) (0)); - //BA.debugLineNum = 2059;BA.debugLine="Private fotomostrarfinal() As Byte = fotomost"; -_fotomostrarfinal = _fotomostrar.GetBlob("foto"); - //BA.debugLineNum = 2060;BA.debugLine="Dim InputStream1 As InputStream"; -_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 2061;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomos"; -_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length); - //BA.debugLineNum = 2062;BA.debugLine="Dim Bitmap1 As Bitmap"; -_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 2063;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; -_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject())); - //BA.debugLineNum = 2064;BA.debugLine="InputStream1.Close"; -_inputstream1.Close(); - //BA.debugLineNum = 2065;BA.debugLine="ImageView4.Bitmap = Bitmap1"; -_imageview4.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject())); - //BA.debugLineNum = 2066;BA.debugLine="Log(\"aqui si hay foto\")"; -__c.LogImpl("451183735","aqui si hay foto",0); - }; - }; - }; - }; - //BA.debugLineNum = 2071;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - //BA.debugLineNum = 2072;BA.debugLine="End Sub"; +public String _muestraboton(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.ButtonWrapper _thisbutton,String _thetext,String _thetag,int _left,int _top,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "muestraboton", false)) + {return ((String) Debug.delegate(ba, "muestraboton", new Object[] {_thisbutton,_thetext,_thetag,_left,_top,_width,_height}));} +RDebugUtils.currentLine=61210624; + //BA.debugLineNum = 61210624;BA.debugLine="Sub muestraBoton (thisButton As Button, theText As"; +RDebugUtils.currentLine=61210625; + //BA.debugLineNum = 61210625;BA.debugLine="thisButton.Text = theText"; +_thisbutton.setText(BA.ObjectToCharSequence(_thetext)); +RDebugUtils.currentLine=61210626; + //BA.debugLineNum = 61210626;BA.debugLine="thisButton.Tag = theTag"; +_thisbutton.setTag((Object)(_thetag)); +RDebugUtils.currentLine=61210627; + //BA.debugLineNum = 61210627;BA.debugLine="thisButton.Left = Left"; +_thisbutton.setLeft(_left); +RDebugUtils.currentLine=61210628; + //BA.debugLineNum = 61210628;BA.debugLine="thisButton.Top = Top"; +_thisbutton.setTop(_top); +RDebugUtils.currentLine=61210629; + //BA.debugLineNum = 61210629;BA.debugLine="thisButton.Width = width"; +_thisbutton.setWidth(_width); +RDebugUtils.currentLine=61210630; + //BA.debugLineNum = 61210630;BA.debugLine="thisButton.Height = height"; +_thisbutton.setHeight(_height); +RDebugUtils.currentLine=61210631; + //BA.debugLineNum = 61210631;BA.debugLine="thisButton.Visible = True"; +_thisbutton.setVisible(__c.True); +RDebugUtils.currentLine=61210632; + //BA.debugLineNum = 61210632;BA.debugLine="End Sub"; return ""; } -public String _l_atiende_longclick() throws Exception{ - //BA.debugLineNum = 7933;BA.debugLine="Private Sub l_atiende_LongClick"; - //BA.debugLineNum = 7934;BA.debugLine="p_atiende.Height = Root.Height"; -_p_atiende.setHeight(_root.getHeight()); - //BA.debugLineNum = 7935;BA.debugLine="p_atiende.Width = Root.Width"; -_p_atiende.setWidth(_root.getWidth()); - //BA.debugLineNum = 7936;BA.debugLine="p_atiende.Visible = True"; -_p_atiende.setVisible(__c.True); - //BA.debugLineNum = 7937;BA.debugLine="End Sub"; +public String _muestraencuesta(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "muestraencuesta", false)) + {return ((String) Debug.delegate(ba, "muestraencuesta", null));} +RDebugUtils.currentLine=60686336; + //BA.debugLineNum = 60686336;BA.debugLine="Sub muestraEncuesta"; +RDebugUtils.currentLine=60686337; + //BA.debugLineNum = 60686337;BA.debugLine="Log(\"Muestra Encuesta\")"; +__c.LogImpl("060686337","Muestra Encuesta",0); +RDebugUtils.currentLine=60686338; + //BA.debugLineNum = 60686338;BA.debugLine="p_encuesta.Top = 0"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=60686339; + //BA.debugLineNum = 60686339;BA.debugLine="p_encuesta.left = 0"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=60686340; + //BA.debugLineNum = 60686340;BA.debugLine="p_encuesta.Height = GetDeviceLayoutValues.Height"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__c.GetDeviceLayoutValues(ba).Height); +RDebugUtils.currentLine=60686341; + //BA.debugLineNum = 60686341;BA.debugLine="p_encuesta.Width = GetDeviceLayoutValues.Width"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__c.GetDeviceLayoutValues(ba).Width); +RDebugUtils.currentLine=60686342; + //BA.debugLineNum = 60686342;BA.debugLine="p_encuesta.SetVisibleAnimated(200, True)"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .SetVisibleAnimated((int) (200),__c.True); +RDebugUtils.currentLine=60686343; + //BA.debugLineNum = 60686343;BA.debugLine="p_encuesta.Elevation = 90 'ignore"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .setElevation((float) (90)); +RDebugUtils.currentLine=60686344; + //BA.debugLineNum = 60686344;BA.debugLine="p_encuesta.BringToFront"; +__ref._p_encuesta /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=60686347; + //BA.debugLineNum = 60686347;BA.debugLine="End Sub"; return ""; } -public String _l_chk_e_click() throws Exception{ - //BA.debugLineNum = 6514;BA.debugLine="Private Sub l_chk_e_Click"; - //BA.debugLineNum = 6516;BA.debugLine="End Sub"; +public String _datos_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "datos_click", false)) + {return ((String) Debug.delegate(ba, "datos_click", null));} +RDebugUtils.currentLine=52953088; + //BA.debugLineNum = 52953088;BA.debugLine="Sub DATOS_Click"; +RDebugUtils.currentLine=52953089; + //BA.debugLineNum = 52953089;BA.debugLine="B4XPages.ShowPage(\"telefonos\")"; +_b4xpages._showpage /*String*/ (ba,"telefonos"); +RDebugUtils.currentLine=52953090; + //BA.debugLineNum = 52953090;BA.debugLine="End Sub"; return ""; } -public String _l_limite_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -String _fechainicio = ""; -long _ticksinicio = 0L; -long _tickshoy = 0L; -int _diferenciadias = 0; - //BA.debugLineNum = 7834;BA.debugLine="Private Sub l_limite_Click"; - //BA.debugLineNum = 7837;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; -_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 7838;BA.debugLine="If pagarepen.RowCount > 0 Then"; -if (_pagarepen.getRowCount()>0) { - //BA.debugLineNum = 7839;BA.debugLine="Dim cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 7840;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 7841;BA.debugLine="p_deuda.Visible = True"; -_p_deuda.setVisible(__c.True); - //BA.debugLineNum = 7842;BA.debugLine="p_deuda.Width = Root.Width"; -_p_deuda.setWidth(_root.getWidth()); - //BA.debugLineNum = 7843;BA.debugLine="p_deuda.Height = Root.Height"; -_p_deuda.setHeight(_root.getHeight()); - //BA.debugLineNum = 7845;BA.debugLine="pagarepen.Position = 0"; -_pagarepen.setPosition((int) (0)); - //BA.debugLineNum = 7846;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 7847;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; -_fechainicio = _pagarepen.GetString("FECHA"); - //BA.debugLineNum = 7849;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; -__c.LogImpl("464225295",_pagarepen.GetString("FECHA"),0); - //BA.debugLineNum = 7852;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; -_ticksinicio = __c.DateTime.DateParse(_fechainicio); - //BA.debugLineNum = 7853;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; -_tickshoy = __c.DateTime.DateParse(__c.DateTime.Date(__c.DateTime.getNow())); - //BA.debugLineNum = 7856;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; -_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)__c.DateTime.TicksPerDay); - //BA.debugLineNum = 7859;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; -__c.LogImpl("464225305",("Días transcurridos: "+__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0); - //BA.debugLineNum = 7861;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 7862;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 7864;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT"; -if (_diferenciadias<=_c.GetInt("CAT_CL_DIASCREDITO")+1) { - //BA.debugLineNum = 7868;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M"; -_l_deuda.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.RGB((int) (48),(int) (109),(int) (0))).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE"))).PopAll().getObject())); - }else if(_diferenciadias>_c.GetInt("CAT_CL_DIASCREDITO")+1) { - //BA.debugLineNum = 7871;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M"; -_l_deuda.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Color(__c.Colors.Red).Size((int) (18)).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE")+__c.CRLF+__c.CRLF)).Pop().Size((int) (14)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Dias de atraso:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.Red).Append(BA.ObjectToCharSequence((_diferenciadias-(_c.GetInt("CAT_CL_DIASCREDITO")+1)))).PopAll().getObject())); - }; - }else { - //BA.debugLineNum = 7874;BA.debugLine="p_deuda.Visible = True"; -_p_deuda.setVisible(__c.True); - //BA.debugLineNum = 7876;BA.debugLine="p_deuda.Width = Root.Width"; -_p_deuda.setWidth(_root.getWidth()); - //BA.debugLineNum = 7877;BA.debugLine="p_deuda.Height = Root.Height"; -_p_deuda.setHeight(_root.getHeight()); - //BA.debugLineNum = 7879;BA.debugLine="l_deuda.Text = \"No tiene adeudo\""; -_l_deuda.setText(BA.ObjectToCharSequence("No tiene adeudo")); - }; - //BA.debugLineNum = 7882;BA.debugLine="End Sub"; -return ""; -} -public String _la_geo_click() throws Exception{ - //BA.debugLineNum = 6727;BA.debugLine="Private Sub LA_GEO_Click"; - //BA.debugLineNum = 6728;BA.debugLine="Log(geoCont)"; -__c.LogImpl("461669377",BA.NumberToString(_geocont),0); - //BA.debugLineNum = 6729;BA.debugLine="If geoCont = 3 Then"; -if (_geocont==3) { - //BA.debugLineNum = 6730;BA.debugLine="Subs.centraPanel(p_pideGeoPass, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_pidegeopass,_root.getWidth()); - //BA.debugLineNum = 6731;BA.debugLine="geoCont = 0"; -_geocont = (int) (0); - //BA.debugLineNum = 6732;BA.debugLine="If distance > 99 Then"; -if (_distance>99) { - //BA.debugLineNum = 6733;BA.debugLine="p_pideGeoPass.BringToFront"; -_p_pidegeopass.BringToFront(); - //BA.debugLineNum = 6734;BA.debugLine="et_geopass.RequestFocus"; -_et_geopass.RequestFocus(); - //BA.debugLineNum = 6735;BA.debugLine="p_pideGeoPass.Visible = True"; -_p_pidegeopass.setVisible(__c.True); - }; - }; - //BA.debugLineNum = 6738;BA.debugLine="geoCont = geoCont + 1"; -_geocont = (int) (_geocont+1); - //BA.debugLineNum = 6739;BA.debugLine="End Sub"; -return ""; -} -public String _la_geo_longclick() throws Exception{ - //BA.debugLineNum = 1940;BA.debugLine="Private Sub LA_GEO_LongClick"; - //BA.debugLineNum = 1945;BA.debugLine="End Sub"; -return ""; -} -public String _la_gps_click() throws Exception{ - //BA.debugLineNum = 1453;BA.debugLine="Private Sub LA_GPS_Click"; - //BA.debugLineNum = 1455;BA.debugLine="MejorarPrecisionGPS"; -_mejorarprecisiongps(); - //BA.debugLineNum = 1457;BA.debugLine="ToastMessageShow(\"Mejorando precisión GPS...\", Fa"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Mejorando precisión GPS..."),__c.False); - //BA.debugLineNum = 1458;BA.debugLine="End Sub"; -return ""; -} -public String _label19_click() throws Exception{ -String _numerotel = ""; -anywheresoftware.b4a.objects.IntentWrapper _intent1 = null; - //BA.debugLineNum = 7677;BA.debugLine="Private Sub Label19_Click"; - //BA.debugLineNum = 7678;BA.debugLine="Dim numeroTel As String = Label19.Text"; -_numerotel = _label19.getText(); - //BA.debugLineNum = 7680;BA.debugLine="numeroTel = numeroTel.Replace(\" \", \"\").Replace(\"-"; -_numerotel = _numerotel.replace(" ","").replace("-","").replace("(","").replace(")",""); - //BA.debugLineNum = 7682;BA.debugLine="If numeroTel.Length > 0 Then"; -if (_numerotel.length()>0) { - //BA.debugLineNum = 7683;BA.debugLine="Dim Intent1 As Intent"; -_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 7684;BA.debugLine="Intent1.Initialize(\"android.intent.action.DIAL\","; -_intent1.Initialize("android.intent.action.DIAL","tel:"+_numerotel); - //BA.debugLineNum = 7685;BA.debugLine="StartActivity(Intent1)"; -__c.StartActivity(ba,(Object)(_intent1.getObject())); - }else { - //BA.debugLineNum = 7687;BA.debugLine="ToastMessageShow(\"Número no válido\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Número no válido"),__c.False); - }; - //BA.debugLineNum = 7690;BA.debugLine="Return True"; -if (true) return BA.ObjectToString(__c.True); - //BA.debugLineNum = 7691;BA.debugLine="End Sub"; -return ""; -} -public String _label19_longclick() throws Exception{ - //BA.debugLineNum = 7978;BA.debugLine="Private Sub Label19_LongClick"; - //BA.debugLineNum = 7979;BA.debugLine="p_telefono.Height = Root.Height"; -_p_telefono.setHeight(_root.getHeight()); - //BA.debugLineNum = 7980;BA.debugLine="p_telefono.Width = Root.Width"; -_p_telefono.setWidth(_root.getWidth()); - //BA.debugLineNum = 7981;BA.debugLine="p_telefono.Visible = True"; -_p_telefono.setVisible(__c.True); - //BA.debugLineNum = 7984;BA.debugLine="End Sub"; -return ""; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 2074;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 2076;BA.debugLine="End Sub"; -return ""; -} -public String _mandap() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -int _i = 0; -gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 3527;BA.debugLine="Sub Mandap"; - //BA.debugLineNum = 3529;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_CE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); - //BA.debugLineNum = 3530;BA.debugLine="Dim d As Cursor=B4XPages.MainPage.skmt.ExecQuery("; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO"))); - //BA.debugLineNum = 3531;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 3532;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step4 = 1; -final int limit4 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 3533;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 3534;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 3535;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3536;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 3537;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"P"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 3538;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); - } -}; - }; - //BA.debugLineNum = 3541;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3542;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3545;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3548;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_RE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL",new String[]{"","null"}))); - //BA.debugLineNum = 3549;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUNT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 3550;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 3551;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step19 = 1; -final int limit19 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit19 ;_i = _i + step19 ) { - //BA.debugLineNum = 3552;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 3553;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then"; -if ((_c.GetString("PE_RECCEDIS")).equals("")) { - //BA.debugLineNum = 3554;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 3555;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3556;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 3557;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 3558;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); - }else { - //BA.debugLineNum = 3560;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"PE"; -if ((_c.GetString("PE_RECCANT")).equals(_c.GetString("PE_CANT"))) { - //BA.debugLineNum = 3561;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 3562;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3563;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 3564;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_RECCEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 3565;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); - }else { - //BA.debugLineNum = 3568;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 3569;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3570;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 3571;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_RECCEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_RECCANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 3572;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); - //BA.debugLineNum = 3574;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 3575;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3576;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 3577;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(_c.GetString("PE_CANT")))-(double)(Double.parseDouble(_c.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU"))),(int) (1),(int) (2),(int) (2),__c.False)),(Object)(_c.GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(_c.GetString("PE_CANT")))-(double)(Double.parseDouble(_c.GetString("PE_RECCANT"))))),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 3578;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); - }; - }; - } -}; - }; - //BA.debugLineNum = 3583;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3584;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3586;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3587;BA.debugLine="End Sub"; -return ""; -} -public void _mandawamsgcredito(String _numtel,String _monto) throws Exception{ -ResumableSub_mandaWAMsgCredito rsub = new ResumableSub_mandaWAMsgCredito(this,_numtel,_monto); +public void _enviarpdfwhatsappnumero2(gunav2.keymon.com.mx.c_cliente __ref,String _numerotelefono) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "enviarpdfwhatsappnumero2", false)) + {Debug.delegate(ba, "enviarpdfwhatsappnumero2", new Object[] {_numerotelefono}); return;} +ResumableSub_EnviarPDFWhatsAppNumero2 rsub = new ResumableSub_EnviarPDFWhatsAppNumero2(this,__ref,_numerotelefono); rsub.resume(ba, null); } -public static class ResumableSub_mandaWAMsgCredito extends BA.ResumableSub { -public ResumableSub_mandaWAMsgCredito(gunav2.keymon.com.mx.c_cliente parent,String _numtel,String _monto) { +public static class ResumableSub_EnviarPDFWhatsAppNumero2 extends BA.ResumableSub { +public ResumableSub_EnviarPDFWhatsAppNumero2(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref,String _numerotelefono) { this.parent = parent; -this._numtel = _numtel; -this._monto = _monto; +this.__ref = __ref; +this._numerotelefono = _numerotelefono; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; -String _numtel; -String _monto; -String _fecha = ""; -String _idcliente = ""; -String _link = ""; -String _eljson = ""; -gunav2.keymon.com.mx.httpjob _job = null; +String _numerotelefono; +String _rutaarchivo = ""; +String _uriwhatsapp = ""; +anywheresoftware.b4a.objects.IntentWrapper _intentwhatsapp = null; +Object _uri0 = null; +anywheresoftware.b4a.objects.IntentWrapper _intent1 = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=62652417; + //BA.debugLineNum = 62652417;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono"; +if (true) break; + +case 1: +//if +this.state = 6; +if (_numerotelefono.length()==10) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +_numerotelefono = "521"+_numerotelefono; +if (true) break; + +case 6: +//C +this.state = 7; +; +RDebugUtils.currentLine=62652419; + //BA.debugLineNum = 62652419;BA.debugLine="Dim RutaArchivo As String = Starter.fFileProvi"; +_rutaarchivo = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ +"/"+__ref._archivoticketpdf /*String*/ ; +RDebugUtils.currentLine=62652420; + //BA.debugLineNum = 62652420;BA.debugLine="Log(RutaArchivo)"; +parent.__c.LogImpl("062652420",_rutaarchivo,0); +RDebugUtils.currentLine=62652423; + //BA.debugLineNum = 62652423;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder"; +if (true) break; + +case 7: +//if +this.state = 12; +if (parent.__c.File.Exists(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,__ref._archivoticketpdf /*String*/ )) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 12; +RDebugUtils.currentLine=62652425; + //BA.debugLineNum = 62652425;BA.debugLine="Dim UriWhatsApp As String = \"https://wa.me"; +_uriwhatsapp = "https://wa.me/"+_numerotelefono; +RDebugUtils.currentLine=62652426; + //BA.debugLineNum = 62652426;BA.debugLine="Dim IntentWhatsApp As Intent"; +_intentwhatsapp = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=62652427; + //BA.debugLineNum = 62652427;BA.debugLine="IntentWhatsApp.Initialize(IntentWhatsApp.A"; +_intentwhatsapp.Initialize(_intentwhatsapp.ACTION_VIEW,_uriwhatsapp); +RDebugUtils.currentLine=62652436; + //BA.debugLineNum = 62652436;BA.debugLine="StartActivity(IntentWhatsApp)"; +parent.__c.StartActivity(ba,(Object)(_intentwhatsapp.getObject())); +RDebugUtils.currentLine=62652439; + //BA.debugLineNum = 62652439;BA.debugLine="ToastMessageShow(\"Por favor, comparte el a"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor, comparte el archivo manualmente en WhatsApp."),parent.__c.True); +RDebugUtils.currentLine=62652442; + //BA.debugLineNum = 62652442;BA.debugLine="Sleep(3000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "enviarpdfwhatsappnumero2"),(int) (3000)); +this.state = 13; +return; +case 13: +//C +this.state = 12; +; +RDebugUtils.currentLine=62652445; + //BA.debugLineNum = 62652445;BA.debugLine="Dim Uri0 As Object = Starter.fFileProvider.GetFi"; +_uri0 = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (null,__ref._archivoticketpdf /*String*/ ); +RDebugUtils.currentLine=62652448; + //BA.debugLineNum = 62652448;BA.debugLine="Dim Intent1 As Intent"; +_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=62652449; + //BA.debugLineNum = 62652449;BA.debugLine="Intent1.Initialize(Intent1.ACTION_SEND, \"\""; +_intent1.Initialize(_intent1.ACTION_SEND,""); +RDebugUtils.currentLine=62652452; + //BA.debugLineNum = 62652452;BA.debugLine="Intent1.SetType(\"application/pdf\")"; +_intent1.SetType("application/pdf"); +RDebugUtils.currentLine=62652455; + //BA.debugLineNum = 62652455;BA.debugLine="Intent1.PutExtra(\"android.intent.extra.STR"; +_intent1.PutExtra("android.intent.extra.STREAM",_uri0); +RDebugUtils.currentLine=62652458; + //BA.debugLineNum = 62652458;BA.debugLine="Intent1.Flags = 1 ' FLAG_GRANT_READ_URI_PE"; +_intent1.setFlags((int) (1)); +RDebugUtils.currentLine=62652461; + //BA.debugLineNum = 62652461;BA.debugLine="StartActivity(Intent1)"; +parent.__c.StartActivity(ba,(Object)(_intent1.getObject())); + if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=62652463; + //BA.debugLineNum = 62652463;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("El archivo PDF no existe."),parent.__c.True); + if (true) break; + +case 12: +//C +this.state = -1; +; +RDebugUtils.currentLine=62652465; + //BA.debugLineNum = 62652465;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _enviaticket(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "enviaticket", false)) + {Debug.delegate(ba, "enviaticket", null); return;} +ResumableSub_enviaTicket rsub = new ResumableSub_enviaTicket(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_enviaTicket extends BA.ResumableSub { +public ResumableSub_enviaTicket(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +gunav2.keymon.com.mx.c_cliente __ref; +gunav2.keymon.com.mx.c_cliente parent; +anywheresoftware.b4a.phone.Phone.Email _email = null; +anywheresoftware.b4a.objects.IntentWrapper _in = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -16972,59 +20289,453 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 7542;BA.debugLine="DateTime.DateFormat=\"MM/dd/yyyy HH:mm:ss\""; -parent.__c.DateTime.setDateFormat("MM/dd/yyyy HH:mm:ss"); - //BA.debugLineNum = 7543;BA.debugLine="Private Fecha As String=DateTime.Date(DateTime.no"; -_fecha = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 7544;BA.debugLine="numTel = \"521\" & numTel"; -_numtel = "521"+_numtel; - //BA.debugLineNum = 7545;BA.debugLine="Private numTel As String = \"5215554192439\""; -_numtel = "5215554192439"; - //BA.debugLineNum = 7547;BA.debugLine="Private idCliente As String = Subs.traeCliente '\""; -_idcliente = parent._subs._traecliente /*String*/ (ba); - //BA.debugLineNum = 7548;BA.debugLine="Private ruta As String = Subs.traeRuta '\"333\""; -parent._ruta = parent._subs._traeruta /*String*/ (ba); - //BA.debugLineNum = 7549;BA.debugLine="Private ALMACEN As String = Subs.traeAlmacen '\"1\""; -parent._almacen = parent._subs._traealmacen /*String*/ (ba); - //BA.debugLineNum = 7552;BA.debugLine="Private link As String = \"http://keymon.net:9000/"; -_link = "http://keymon.net:9000/v1/messages"; - //BA.debugLineNum = 7553;BA.debugLine="Private elJSON As String = $\"{ \"number\":\"${numT"; -_eljson = ("{\n"+" \"number\":\""+parent.__c.SmartStringFormatter("",(Object)(_numtel))+"\",\n"+" \"message\":\"Tu compra de Guna va ser a *crédito* por el monto de $"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.NumberFormat2((double)(Double.parseDouble(_monto)),(int) (1),(int) (2),(int) (2),parent.__c.True)))+"\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)\",\n"+" \"monto\":\""+parent.__c.SmartStringFormatter("",(Object)(_monto))+"\",\n"+" \"idcliente\":\""+parent.__c.SmartStringFormatter("",(Object)(_idcliente))+"\",\n"+" \"almacen\":\""+parent.__c.SmartStringFormatter("",(Object)(parent._almacen))+"\",\n"+" \"ruta\": \""+parent.__c.SmartStringFormatter("",(Object)(parent._ruta))+"\",\n"+" \"fecha\":\""+parent.__c.SmartStringFormatter("",(Object)(_fecha))+"\"\n"+" }"); - //BA.debugLineNum = 7562;BA.debugLine="Private job As HttpJob"; -_job = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 7563;BA.debugLine="job.Initialize(\"\", Me)"; -_job._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 7564;BA.debugLine="job.PostString(link, elJSON)"; -_job._poststring /*String*/ (_link,_eljson); - //BA.debugLineNum = 7565;BA.debugLine="job.GetRequest.SetContentType(\"application/json\")"; -_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ().SetContentType("application/json"); - //BA.debugLineNum = 7566;BA.debugLine="Wait For (job) JobDone(job As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_job)); +RDebugUtils.currentLine=62521346; + //BA.debugLineNum = 62521346;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "enviaticket"),(int) (1000)); this.state = 1; return; case 1: //C this.state = -1; -_job = (gunav2.keymon.com.mx.httpjob) result[0]; ; - //BA.debugLineNum = 7578;BA.debugLine="Log(\"Whatsapp enviado con exito: \" & job.Success)"; -parent.__c.LogImpl("463111205","Whatsapp enviado con exito: "+BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 7579;BA.debugLine="End Sub"; +RDebugUtils.currentLine=62521347; + //BA.debugLineNum = 62521347;BA.debugLine="Dim email As Email"; +_email = new anywheresoftware.b4a.phone.Phone.Email(); +RDebugUtils.currentLine=62521348; + //BA.debugLineNum = 62521348;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")"; +_email.To.Add((Object)("cheveguerra@gmail.com")); +RDebugUtils.currentLine=62521349; + //BA.debugLineNum = 62521349;BA.debugLine="email.Subject = \"subject\""; +_email.Subject = "subject"; +RDebugUtils.currentLine=62521350; + //BA.debugLineNum = 62521350;BA.debugLine="email.Attachments.Add(Starter.fFileProvider.GetFi"; +_email.Attachments.Add(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (null,__ref._archivoticketpdf /*String*/ )); +RDebugUtils.currentLine=62521351; + //BA.debugLineNum = 62521351;BA.debugLine="Dim in As Intent = email.GetIntent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +_in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent())); +RDebugUtils.currentLine=62521352; + //BA.debugLineNum = 62521352;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +_in.setFlags((int) (1)); +RDebugUtils.currentLine=62521353; + //BA.debugLineNum = 62521353;BA.debugLine="StartActivity(in)"; +parent.__c.StartActivity(ba,(Object)(_in.getObject())); +RDebugUtils.currentLine=62521354; + //BA.debugLineNum = 62521354;BA.debugLine="End Sub"; if (true) break; } } } } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _mejorarprecisiongps() throws Exception{ -ResumableSub_MejorarPrecisionGPS rsub = new ResumableSub_MejorarPrecisionGPS(this); +public String _et_encuesta_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "et_encuesta_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_encuesta_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=61145088; + //BA.debugLineNum = 61145088;BA.debugLine="Private Sub et_encuesta_TextChanged (Old As String"; +RDebugUtils.currentLine=61145090; + //BA.debugLineNum = 61145090;BA.debugLine="If New.Length > 0 Then b_encuesta_continuar.Enabl"; +if (_new.length()>0) { +__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);}; +RDebugUtils.currentLine=61145091; + //BA.debugLineNum = 61145091;BA.debugLine="If New.Length < 1 Then b_encuesta_continuar.Enabl"; +if (_new.length()<1) { +__ref._b_encuesta_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False);}; +RDebugUtils.currentLine=61145092; + //BA.debugLineNum = 61145092;BA.debugLine="End Sub"; +return ""; +} +public String _et_numeropdf_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "et_numeropdf_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_numeropdf_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=62914560; + //BA.debugLineNum = 62914560;BA.debugLine="Private Sub et_numeroPDF_TextChanged (Old As Strin"; +RDebugUtils.currentLine=62914561; + //BA.debugLineNum = 62914561;BA.debugLine="If New.Length = 10 Then b_envioPDF.Enabled = True"; +if (_new.length()==10) { +__ref._b_enviopdf /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);} +else { +__ref._b_enviopdf /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False);}; +RDebugUtils.currentLine=62914562; + //BA.debugLineNum = 62914562;BA.debugLine="End Sub"; +return ""; +} +public String _et_p1_m2_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "et_p1_m2_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_p1_m2_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=57802752; + //BA.debugLineNum = 57802752;BA.debugLine="Private Sub et_p1_m2_TextChanged (Old As String, N"; +RDebugUtils.currentLine=57802753; + //BA.debugLineNum = 57802753;BA.debugLine="If et_p1_m2.Text.Length > 2 Or et_p1_m2.Text = 0"; +if (__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2 || (__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=57802755; + //BA.debugLineNum = 57802755;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; +__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba); +RDebugUtils.currentLine=57802756; + //BA.debugLineNum = 57802756;BA.debugLine="et_p1_m2.Text = \"\""; +__ref._et_p1_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=57802758; + //BA.debugLineNum = 57802758;BA.debugLine="End Sub"; +return ""; +} +public String _et_p1_m4_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "et_p1_m4_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_p1_m4_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=57999360; + //BA.debugLineNum = 57999360;BA.debugLine="Private Sub et_p1_m4_TextChanged (Old As String, N"; +RDebugUtils.currentLine=57999361; + //BA.debugLineNum = 57999361;BA.debugLine="If et_p1_m4.Text.Length > 5 Then"; +if (__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>5) { +RDebugUtils.currentLine=57999363; + //BA.debugLineNum = 57999363;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; +__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba); +RDebugUtils.currentLine=57999364; + //BA.debugLineNum = 57999364;BA.debugLine="et_p1_m4.Text = \"\""; +__ref._et_p1_m4 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=57999366; + //BA.debugLineNum = 57999366;BA.debugLine="End Sub"; +return ""; +} +public String _et_p2_m2_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "et_p2_m2_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_p2_m2_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=57868288; + //BA.debugLineNum = 57868288;BA.debugLine="Private Sub et_p2_m2_TextChanged (Old As String, N"; +RDebugUtils.currentLine=57868289; + //BA.debugLineNum = 57868289;BA.debugLine="If et_p2_m2.Text.Length > 2 Or et_p2_m2.Text = 0"; +if (__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2 || (__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=57868291; + //BA.debugLineNum = 57868291;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; +__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba); +RDebugUtils.currentLine=57868292; + //BA.debugLineNum = 57868292;BA.debugLine="et_p2_m2.Text = \"\""; +__ref._et_p2_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=57868295; + //BA.debugLineNum = 57868295;BA.debugLine="End Sub"; +return ""; +} +public String _et_p5_m2_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "et_p5_m2_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_p5_m2_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=57933824; + //BA.debugLineNum = 57933824;BA.debugLine="Private Sub et_p5_m2_TextChanged (Old As String, N"; +RDebugUtils.currentLine=57933825; + //BA.debugLineNum = 57933825;BA.debugLine="If et_p5_m2.Text.Length > 4 Then"; +if (__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>4) { +RDebugUtils.currentLine=57933827; + //BA.debugLineNum = 57933827;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av"; +__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba); +RDebugUtils.currentLine=57933828; + //BA.debugLineNum = 57933828;BA.debugLine="et_p5_m2.Text = \"\""; +__ref._et_p5_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=57933830; + //BA.debugLineNum = 57933830;BA.debugLine="End Sub"; +return ""; +} +public void _gest_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "gest_click", false)) + {Debug.delegate(ba, "gest_click", null); return;} +ResumableSub_gest_Click rsub = new ResumableSub_gest_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_gest_Click extends BA.ResumableSub { +public ResumableSub_gest_Click(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +gunav2.keymon.com.mx.c_cliente __ref; +gunav2.keymon.com.mx.c_cliente parent; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null; +String _fechainicio = ""; +long _ticksinicio = 0L; +long _tickshoy = 0L; +int _diferenciadias = 0; +int _resultado = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=51380229; + //BA.debugLineNum = 51380229;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; +_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=51380230; + //BA.debugLineNum = 51380230;BA.debugLine="If pagarepen.RowCount > 0 Then"; +if (true) break; + +case 1: +//if +this.state = 32; +if (_pagarepen.getRowCount()>0) { +this.state = 3; +}else { +this.state = 31; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=51380231; + //BA.debugLineNum = 51380231;BA.debugLine="pagarepen.Position = 0"; +_pagarepen.setPosition((int) (0)); +RDebugUtils.currentLine=51380232; + //BA.debugLineNum = 51380232;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=51380233; + //BA.debugLineNum = 51380233;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; +_fechainicio = _pagarepen.GetString("FECHA"); +RDebugUtils.currentLine=51380235; + //BA.debugLineNum = 51380235;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; +parent.__c.LogImpl("051380235",_pagarepen.GetString("FECHA"),0); +RDebugUtils.currentLine=51380238; + //BA.debugLineNum = 51380238;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; +_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio); +RDebugUtils.currentLine=51380239; + //BA.debugLineNum = 51380239;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; +_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())); +RDebugUtils.currentLine=51380242; + //BA.debugLineNum = 51380242;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; +_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay); +RDebugUtils.currentLine=51380245; + //BA.debugLineNum = 51380245;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; +parent.__c.LogImpl("051380245",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0); +RDebugUtils.currentLine=51380247; + //BA.debugLineNum = 51380247;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=51380248; + //BA.debugLineNum = 51380248;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=51380250; + //BA.debugLineNum = 51380250;BA.debugLine="If ALMACEN = 81 Or ALMACEN = 94 Then"; +if (true) break; + +case 4: +//if +this.state = 29; +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(81)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(94))) { +this.state = 6; +}else { +this.state = 18; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=51380251; + //BA.debugLineNum = 51380251;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI"; +if (true) break; + +case 7: +//if +this.state = 16; +if (_diferenciadias<=__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+8) { +this.state = 9; +}else +{RDebugUtils.currentLine=51380258; + //BA.debugLineNum = 51380258;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASC"; +if (_diferenciadias>__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { +this.state = 15; +}} +if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=51380253; + //BA.debugLineNum = 51380253;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=51380254; + //BA.debugLineNum = 51380254;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "gest_click"), null); +this.state = 33; +return; +case 33: +//C +this.state = 10; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=51380255; + //BA.debugLineNum = 51380255;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 10: +//if +this.state = 13; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; +RDebugUtils.currentLine=51380256; + //BA.debugLineNum = 51380256;BA.debugLine="gestionar"; +__ref._gestionar /*String*/ (null); + if (true) break; + +case 13: +//C +this.state = 16; +; + if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=51380259; + //BA.debugLineNum = 51380259;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 16: +//C +this.state = 29; +; + if (true) break; + +case 18: +//C +this.state = 19; +RDebugUtils.currentLine=51380262; + //BA.debugLineNum = 51380262;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI"; +if (true) break; + +case 19: +//if +this.state = 28; +if (_diferenciadias<=__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { +this.state = 21; +}else +{RDebugUtils.currentLine=51380269; + //BA.debugLineNum = 51380269;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASC"; +if (_diferenciadias>__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { +this.state = 27; +}} +if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=51380264; + //BA.debugLineNum = 51380264;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=51380265; + //BA.debugLineNum = 51380265;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "gest_click"), null); +this.state = 34; +return; +case 34: +//C +this.state = 22; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=51380266; + //BA.debugLineNum = 51380266;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 22: +//if +this.state = 25; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=51380267; + //BA.debugLineNum = 51380267;BA.debugLine="gestionar"; +__ref._gestionar /*String*/ (null); + if (true) break; + +case 25: +//C +this.state = 28; +; + if (true) break; + +case 27: +//C +this.state = 28; +RDebugUtils.currentLine=51380270; + //BA.debugLineNum = 51380270;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 28: +//C +this.state = 29; +; + if (true) break; + +case 29: +//C +this.state = 32; +; + if (true) break; + +case 31: +//C +this.state = 32; +RDebugUtils.currentLine=51380275; + //BA.debugLineNum = 51380275;BA.debugLine="gestionar"; +__ref._gestionar /*String*/ (null); + if (true) break; + +case 32: +//C +this.state = -1; +; +RDebugUtils.currentLine=51380277; + //BA.debugLineNum = 51380277;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _mejorarprecisiongps(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mejorarprecisiongps", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "mejorarprecisiongps", null));} +ResumableSub_MejorarPrecisionGPS rsub = new ResumableSub_MejorarPrecisionGPS(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_MejorarPrecisionGPS extends BA.ResumableSub { -public ResumableSub_MejorarPrecisionGPS(gunav2.keymon.com.mx.c_cliente parent) { +public ResumableSub_MejorarPrecisionGPS(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; int _i = 0; anywheresoftware.b4a.gps.LocationWrapper _loc = null; @@ -17033,6 +20744,7 @@ int limit2; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -17042,9 +20754,11 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 1384;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP2\")"; +RDebugUtils.currentLine=50528264; + //BA.debugLineNum = 50528264;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP2\")"; parent.__c.CallSubDelayed(ba,(Object)(parent._tracker.getObject()),"StartFLP2"); - //BA.debugLineNum = 1386;BA.debugLine="For i = 1 To 10"; +RDebugUtils.currentLine=50528266; + //BA.debugLineNum = 50528266;BA.debugLine="For i = 1 To 10"; if (true) break; case 1: @@ -17071,15 +20785,17 @@ if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 1387;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); +RDebugUtils.currentLine=50528267; + //BA.debugLineNum = 50528267;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "mejorarprecisiongps"),(int) (1000)); this.state = 15; return; case 15: //C this.state = 4; ; - //BA.debugLineNum = 1388;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; +RDebugUtils.currentLine=50528268; + //BA.debugLineNum = 50528268;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; if (true) break; case 4: @@ -17092,10 +20808,12 @@ this.state = 6; case 6: //C this.state = 7; - //BA.debugLineNum = 1389;BA.debugLine="Dim loc As Location = Tracker.FLP.GetLastKnownL"; +RDebugUtils.currentLine=50528269; + //BA.debugLineNum = 50528269;BA.debugLine="Dim loc As Location = Tracker.FLP.GetLastKnownL"; _loc = new anywheresoftware.b4a.gps.LocationWrapper(); _loc = parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); - //BA.debugLineNum = 1390;BA.debugLine="If loc.Accuracy < 25 Then ' Buena precisión"; +RDebugUtils.currentLine=50528270; + //BA.debugLineNum = 50528270;BA.debugLine="If loc.Accuracy < 25 Then ' Buena precisión"; if (true) break; case 7: @@ -17108,7 +20826,8 @@ this.state = 9; case 9: //C this.state = 10; - //BA.debugLineNum = 1391;BA.debugLine="Return True"; +RDebugUtils.currentLine=50528271; + //BA.debugLineNum = 50528271;BA.debugLine="Return True"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; if (true) break; @@ -17130,1615 +20849,206 @@ case 12: //C this.state = -1; ; - //BA.debugLineNum = 1395;BA.debugLine="Return False ' No se logró buena precisión"; +RDebugUtils.currentLine=50528275; + //BA.debugLineNum = 50528275;BA.debugLine="Return False ' No se logró buena precisión"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 1396;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50528276; + //BA.debugLineNum = 50528276;BA.debugLine="End Sub"; if (true) break; } } } } -public String _muestraboton(anywheresoftware.b4a.objects.ButtonWrapper _thisbutton,String _thetext,String _thetag,int _left,int _top,int _width,int _height) throws Exception{ - //BA.debugLineNum = 6491;BA.debugLine="Sub muestraBoton (thisButton As Button, theText As"; - //BA.debugLineNum = 6492;BA.debugLine="thisButton.Text = theText"; -_thisbutton.setText(BA.ObjectToCharSequence(_thetext)); - //BA.debugLineNum = 6493;BA.debugLine="thisButton.Tag = theTag"; -_thisbutton.setTag((Object)(_thetag)); - //BA.debugLineNum = 6494;BA.debugLine="thisButton.Left = Left"; -_thisbutton.setLeft(_left); - //BA.debugLineNum = 6495;BA.debugLine="thisButton.Top = Top"; -_thisbutton.setTop(_top); - //BA.debugLineNum = 6496;BA.debugLine="thisButton.Width = width"; -_thisbutton.setWidth(_width); - //BA.debugLineNum = 6497;BA.debugLine="thisButton.Height = height"; -_thisbutton.setHeight(_height); - //BA.debugLineNum = 6498;BA.debugLine="thisButton.Visible = True"; -_thisbutton.setVisible(__c.True); - //BA.debugLineNum = 6499;BA.debugLine="End Sub"; +public String _iniciofin(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "iniciofin", false)) + {return ((String) Debug.delegate(ba, "iniciofin", null));} +RDebugUtils.currentLine=51052544; + //BA.debugLineNum = 51052544;BA.debugLine="Private Sub iniciofin"; +RDebugUtils.currentLine=51052556; + //BA.debugLineNum = 51052556;BA.debugLine="End Sub"; return ""; } -public String _muestrabotoncentrado(anywheresoftware.b4a.objects.ButtonWrapper _thisbutton,String _thetext,String _thetag,int _top,int _width,int _height) throws Exception{ -int _anchopantalla = 0; - //BA.debugLineNum = 6502;BA.debugLine="Sub muestraBotonCentrado (thisButton As Button, th"; - //BA.debugLineNum = 6503;BA.debugLine="Private anchoPantalla As Int"; -_anchopantalla = 0; - //BA.debugLineNum = 6504;BA.debugLine="thisButton.Text = theText"; -_thisbutton.setText(BA.ObjectToCharSequence(_thetext)); - //BA.debugLineNum = 6505;BA.debugLine="thisButton.Tag = theTag"; -_thisbutton.setTag((Object)(_thetag)); - //BA.debugLineNum = 6506;BA.debugLine="anchoPantalla = GetDeviceLayoutValues.Width"; -_anchopantalla = __c.GetDeviceLayoutValues(ba).Width; - //BA.debugLineNum = 6507;BA.debugLine="thisButton.Left = (anchoPantalla/2) - (width/2)"; -_thisbutton.setLeft((int) ((_anchopantalla/(double)2)-(_width/(double)2))); - //BA.debugLineNum = 6508;BA.debugLine="thisButton.Top = Top"; -_thisbutton.setTop(_top); - //BA.debugLineNum = 6509;BA.debugLine="thisButton.Width = width"; -_thisbutton.setWidth(_width); - //BA.debugLineNum = 6510;BA.debugLine="thisButton.Height = height"; -_thisbutton.setHeight(_height); - //BA.debugLineNum = 6511;BA.debugLine="thisButton.Visible = True"; -_thisbutton.setVisible(__c.True); - //BA.debugLineNum = 6512;BA.debugLine="End Sub"; +public String _guardadoventa(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guardadoventa", false)) + {return ((String) Debug.delegate(ba, "guardadoventa", null));} +RDebugUtils.currentLine=53149696; + //BA.debugLineNum = 53149696;BA.debugLine="Sub guardadoventa"; +RDebugUtils.currentLine=53149698; + //BA.debugLineNum = 53149698;BA.debugLine="End Sub"; return ""; } -public String _muestraencuesta() throws Exception{ - //BA.debugLineNum = 6411;BA.debugLine="Sub muestraEncuesta"; - //BA.debugLineNum = 6412;BA.debugLine="Log(\"Muestra Encuesta\")"; -__c.LogImpl("460620801","Muestra Encuesta",0); - //BA.debugLineNum = 6413;BA.debugLine="p_encuesta.Top = 0"; -_p_encuesta.setTop((int) (0)); - //BA.debugLineNum = 6414;BA.debugLine="p_encuesta.left = 0"; -_p_encuesta.setLeft((int) (0)); - //BA.debugLineNum = 6415;BA.debugLine="p_encuesta.Height = GetDeviceLayoutValues.Height"; -_p_encuesta.setHeight(__c.GetDeviceLayoutValues(ba).Height); - //BA.debugLineNum = 6416;BA.debugLine="p_encuesta.Width = GetDeviceLayoutValues.Width"; -_p_encuesta.setWidth(__c.GetDeviceLayoutValues(ba).Width); - //BA.debugLineNum = 6417;BA.debugLine="p_encuesta.SetVisibleAnimated(200, True)"; -_p_encuesta.SetVisibleAnimated((int) (200),__c.True); - //BA.debugLineNum = 6418;BA.debugLine="p_encuesta.Elevation = 90 'ignore"; -_p_encuesta.setElevation((float) (90)); - //BA.debugLineNum = 6419;BA.debugLine="p_encuesta.BringToFront"; -_p_encuesta.BringToFront(); - //BA.debugLineNum = 6422;BA.debugLine="End Sub"; +public String _guardar_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guardar_longclick", false)) + {return ((String) Debug.delegate(ba, "guardar_longclick", null));} +RDebugUtils.currentLine=53084160; + //BA.debugLineNum = 53084160;BA.debugLine="Sub Guardar_LongClick"; +RDebugUtils.currentLine=53084163; + //BA.debugLineNum = 53084163;BA.debugLine="End Sub"; return ""; } -public String _nuevo_click() throws Exception{ - //BA.debugLineNum = 3072;BA.debugLine="Sub NUEVO_Click"; - //BA.debugLineNum = 3073;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; -_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); - //BA.debugLineNum = 3074;BA.debugLine="End Sub"; -return ""; -} -public String _ocultapanelencuesta() throws Exception{ - //BA.debugLineNum = 6425;BA.debugLine="Sub ocultaPanelEncuesta"; - //BA.debugLineNum = 6427;BA.debugLine="b_encuesta_1.Visible = False"; -_b_encuesta_1.setVisible(__c.False); - //BA.debugLineNum = 6428;BA.debugLine="b_encuesta_2.Visible = False"; -_b_encuesta_2.setVisible(__c.False); - //BA.debugLineNum = 6429;BA.debugLine="b_encuesta_3.Visible = False"; -_b_encuesta_3.setVisible(__c.False); - //BA.debugLineNum = 6430;BA.debugLine="p_encuesta.Visible = False"; -_p_encuesta.setVisible(__c.False); - //BA.debugLineNum = 6433;BA.debugLine="End Sub"; -return ""; -} -public String _openpdf(String _afile) throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _in = null; - //BA.debugLineNum = 7307;BA.debugLine="private Sub openPDF(afile As String)"; - //BA.debugLineNum = 7312;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 7313;BA.debugLine="in.Initialize(in.ACTION_VIEW, \"\")"; -_in.Initialize(_in.ACTION_VIEW,""); - //BA.debugLineNum = 7314;BA.debugLine="Starter.ffileProvider.SetFileUriAsIntentData(in,"; -_starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._setfileuriasintentdata /*String*/ (_in,_afile); - //BA.debugLineNum = 7315;BA.debugLine="in.SetComponent(\"android/com.android.internal.app"; -_in.SetComponent("android/com.android.internal.app.ResolverActivity"); - //BA.debugLineNum = 7316;BA.debugLine="in.SetType(\"application/pdf\")"; -_in.SetType("application/pdf"); - //BA.debugLineNum = 7317;BA.debugLine="StartActivity(in)"; -__c.StartActivity(ba,(Object)(_in.getObject())); - //BA.debugLineNum = 7322;BA.debugLine="End Sub"; -return ""; -} -public String _p_atiende_click() throws Exception{ - //BA.debugLineNum = 7974;BA.debugLine="Private Sub p_atiende_Click"; - //BA.debugLineNum = 7976;BA.debugLine="End Sub"; -return ""; -} -public String _p_camara_click() throws Exception{ - //BA.debugLineNum = 7782;BA.debugLine="Private Sub p_camara_Click"; - //BA.debugLineNum = 7784;BA.debugLine="End Sub"; -return ""; -} -public String _p_cliente__click() throws Exception{ - //BA.debugLineNum = 7822;BA.debugLine="Private Sub p_cliente__Click"; - //BA.debugLineNum = 7824;BA.debugLine="End Sub"; -return ""; -} -public String _p_cliente_click() throws Exception{ - //BA.debugLineNum = 4711;BA.debugLine="Private Sub p_cliente_Click"; - //BA.debugLineNum = 4713;BA.debugLine="End Sub"; -return ""; -} -public String _p_comentario_click() throws Exception{ - //BA.debugLineNum = 7585;BA.debugLine="Private Sub p_comentario_Click"; - //BA.debugLineNum = 7587;BA.debugLine="End Sub"; -return ""; -} -public String _p_comentarios_click() throws Exception{ - //BA.debugLineNum = 7589;BA.debugLine="Private Sub p_comentarios_Click"; - //BA.debugLineNum = 7591;BA.debugLine="End Sub"; -return ""; -} -public String _p_deuda_click() throws Exception{ - //BA.debugLineNum = 7888;BA.debugLine="Private Sub p_deuda_Click"; - //BA.debugLineNum = 7889;BA.debugLine="p_deuda.Visible = False"; -_p_deuda.setVisible(__c.False); - //BA.debugLineNum = 7890;BA.debugLine="End Sub"; -return ""; -} -public String _p_encuesta_click() throws Exception{ - //BA.debugLineNum = 6526;BA.debugLine="Private Sub p_encuesta_Click"; - //BA.debugLineNum = 6528;BA.debugLine="End Sub"; -return ""; -} -public String _p_modulo5_click() throws Exception{ - //BA.debugLineNum = 5700;BA.debugLine="Private Sub p_modulo5_Click"; - //BA.debugLineNum = 5702;BA.debugLine="End Sub"; -return ""; -} -public String _p_pidegeopass_click() throws Exception{ - //BA.debugLineNum = 1896;BA.debugLine="Private Sub p_pideGeoPass_Click"; - //BA.debugLineNum = 1898;BA.debugLine="End Sub"; -return ""; -} -public String _p_telefono_click() throws Exception{ - //BA.debugLineNum = 8025;BA.debugLine="Private Sub p_telefono_Click"; - //BA.debugLineNum = 8027;BA.debugLine="End Sub"; -return ""; -} -public String _p_transparenteiniciofin_click() throws Exception{ - //BA.debugLineNum = 6741;BA.debugLine="Private Sub p_transparenteInicioFin_Click"; - //BA.debugLineNum = 6743;BA.debugLine="End Sub"; -return ""; -} -public String _p_transparentepdf_click() throws Exception{ - //BA.debugLineNum = 7505;BA.debugLine="Private Sub p_transparentePDF_Click"; - //BA.debugLineNum = 7507;BA.debugLine="End Sub"; -return ""; -} -public String _p_transparenteticketimpreso_click() throws Exception{ - //BA.debugLineNum = 6749;BA.debugLine="Private Sub p_transparenteTicketImpreso_Click"; - //BA.debugLineNum = 6751;BA.debugLine="End Sub"; -return ""; -} -public String _p6_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 5521;BA.debugLine="Private Sub p6_TextChanged (Old As String, New As"; - //BA.debugLineNum = 5522;BA.debugLine="If p6.Text.Length > 2 Then"; -if (_p6.getText().length()>2) { - //BA.debugLineNum = 5523;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido1\",\"A"; -__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido1"),BA.ObjectToCharSequence("Aviso"),ba); - //BA.debugLineNum = 5524;BA.debugLine="p6.Text = \"\""; -_p6.setText(BA.ObjectToCharSequence("")); +public String _habilitarbotones(gunav2.keymon.com.mx.c_cliente __ref,boolean _dentroderango) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "habilitarbotones", false)) + {return ((String) Debug.delegate(ba, "habilitarbotones", new Object[] {_dentroderango}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null; +RDebugUtils.currentLine=50790400; + //BA.debugLineNum = 50790400;BA.debugLine="Sub HabilitarBotones(dentroDeRango As Boolean)"; +RDebugUtils.currentLine=50790401; + //BA.debugLineNum = 50790401;BA.debugLine="If dentroDeRango Then"; +if (_dentroderango) { +RDebugUtils.currentLine=50790402; + //BA.debugLineNum = 50790402;BA.debugLine="If Tels.IsInitialized Then"; +if (__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=50790403; + //BA.debugLineNum = 50790403;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50790404; + //BA.debugLineNum = 50790404;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50790405; + //BA.debugLineNum = 50790405;BA.debugLine="Tels.Enabled = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=50790406; + //BA.debugLineNum = 50790406;BA.debugLine="gest.Enabled = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=50790407; + //BA.debugLineNum = 50790407;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E"; +_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); +RDebugUtils.currentLine=50790408; + //BA.debugLineNum = 50790408;BA.debugLine="If future.RowCount > 0 Then"; +if (_future.getRowCount()>0) { +RDebugUtils.currentLine=50790409; + //BA.debugLineNum = 50790409;BA.debugLine="future.Position = 0"; +_future.setPosition((int) (0)); +RDebugUtils.currentLine=50790410; + //BA.debugLineNum = 50790410;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +if (_future.GetInt("CAT_VA_VALOR")==1) { +RDebugUtils.currentLine=50790411; + //BA.debugLineNum = 50790411;BA.debugLine="b_preventa2.Visible = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=50790412; + //BA.debugLineNum = 50790412;BA.debugLine="b_preventa2.Enabled = True"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); + }else +{RDebugUtils.currentLine=50790413; + //BA.debugLineNum = 50790413;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=50790414; + //BA.debugLineNum = 50790414;BA.debugLine="b_preventa2.Enabled = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=50790415; + //BA.debugLineNum = 50790415;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; }; - //BA.debugLineNum = 5526;BA.debugLine="End Sub"; -return ""; -} -public String _p7_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 5530;BA.debugLine="Private Sub p7_TextChanged (Old As String, New As"; - //BA.debugLineNum = 5531;BA.debugLine="If p7.Text.Length > 2 Then"; -if (_p7.getText().length()>2) { - //BA.debugLineNum = 5532;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido2\",\"A"; -__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido2"),BA.ObjectToCharSequence("Aviso"),ba); - //BA.debugLineNum = 5533;BA.debugLine="p7.Text = \"\""; -_p7.setText(BA.ObjectToCharSequence("")); }; - //BA.debugLineNum = 5535;BA.debugLine="End Sub"; -return ""; -} -public String _p8_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 5539;BA.debugLine="Private Sub p8_TextChanged (Old As String, New As"; - //BA.debugLineNum = 5540;BA.debugLine="If p8.Text.Length > 2 Then"; -if (_p8.getText().length()>2) { - //BA.debugLineNum = 5542;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido3\",\"A"; -__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido3"),BA.ObjectToCharSequence("Aviso"),ba); - //BA.debugLineNum = 5543;BA.debugLine="p8.Text = \"\""; -_p8.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 5545;BA.debugLine="End Sub"; -return ""; -} -public String _panel10_click() throws Exception{ - //BA.debugLineNum = 6522;BA.debugLine="Private Sub Panel10_Click"; - //BA.debugLineNum = 6524;BA.debugLine="End Sub"; -return ""; -} -public String _panel4_click() throws Exception{ - //BA.debugLineNum = 5704;BA.debugLine="Private Sub Panel4_Click"; - //BA.debugLineNum = 5706;BA.debugLine="End Sub"; -return ""; -} -public String _panel5_click() throws Exception{ - //BA.debugLineNum = 4715;BA.debugLine="Private Sub Panel5_Click"; - //BA.debugLineNum = 4717;BA.debugLine="End Sub"; -return ""; -} -public String _pdfgenerar() throws Exception{ -gunav2.keymon.com.mx.cpdf _pdf = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null; -double _pagina = 0; -int _multiplicador = 0; -int _i = 0; -int _e = 0; -String _subtot = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; - //BA.debugLineNum = 6775;BA.debugLine="Private Sub PDFGENERAR"; - //BA.debugLineNum = 6776;BA.debugLine="ESPACIO = 0"; -_espacio = (int) (0); - //BA.debugLineNum = 6778;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 6779;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 6780;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 6781;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 6782;BA.debugLine="Dim PDF As cPDF"; -_pdf = new gunav2.keymon.com.mx.cpdf(); - //BA.debugLineNum = 6784;BA.debugLine="PDF.Initialize(\"mm\")"; -_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (ba,"mm"); - //BA.debugLineNum = 6786;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _"; -_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform"); - //BA.debugLineNum = 6793;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON"; -_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 6794;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR"; -_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 6796;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +"; -_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+25; - //BA.debugLineNum = 6798;BA.debugLine="Dim multiplicador As Int = 0"; -_multiplicador = (int) (0); - //BA.debugLineNum = 6799;BA.debugLine="PDF.pageAdd(-300,pagina)"; -_pdf._pageadd /*gunav2.keymon.com.mx.cpdf*/ (-300,_pagina); - //BA.debugLineNum = 6802;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6804;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1"; -_pdf._outimage /*gunav2.keymon.com.mx.cpdf*/ (_xui.getDefaultFolder(),"guna-fondo.jpg",1,_pagina-45,45,0); - //BA.debugLineNum = 6805;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6806;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"GUNA"); - //BA.debugLineNum = 6807;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6808;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_sdate+" "+_stime); - //BA.debugLineNum = 6809;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6810;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\""; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba)); - //BA.debugLineNum = 6811;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6812;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Tienda: "+_la_nombre.getText()); - //BA.debugLineNum = 6813;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6814;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"ID.Cliente: "+_la_cuenta.getText()); - //BA.debugLineNum = 6815;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6816;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Calle: "+_la_calle.getText()); - //BA.debugLineNum = 6817;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6818;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \""; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Colonia: "+_la_col.getText()); - //BA.debugLineNum = 6819;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6820;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 6821;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6822;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 6823;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 6824;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 6827;BA.debugLine="If ALMACEN = 88 Then"; -if ((_almacen).equals(BA.NumberToString(88))) { - //BA.debugLineNum = 6829;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 6830;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 6831;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6832;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------"); - //BA.debugLineNum = 6833;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6834;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 6835;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6836;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 6837;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step45 = 1; -final int limit45 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit45 ;_i = _i + step45 ) { - //BA.debugLineNum = 6838;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 6840;BA.debugLine="If s.GetDouble(\"PE_RECALCULO\") = 0 Then"; -if (_s.GetDouble("PE_RECALCULO")==0) { - //BA.debugLineNum = 6841;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 6842;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6843;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); }else { - //BA.debugLineNum = 6845;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6846;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6847;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 6851;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 6852;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 6853;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 6854;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 6855;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 6856;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step60 = 1; -final int limit60 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit60 ;_e = _e + step60 ) { - //BA.debugLineNum = 6857;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 6859;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6860;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6861;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - }else if(_s.GetDouble("PE_CANT")==_s.GetDouble("PE_RECCANT")) { - //BA.debugLineNum = 6867;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 6868;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6869;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 6871;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6872;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6873;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 6877;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOREC")+_s.GetLong("L_COSTO_TOTREC")); - //BA.debugLineNum = 6878;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 6879;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 6880;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 6881;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 6882;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step80 = 1; -final int limit80 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit80 ;_e = _e + step80 ) { - //BA.debugLineNum = 6883;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 6885;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6886;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6887;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_RECALCULO")+_blanco+_s.GetString("PE_COSTO_TOTREC")); - }; - }else if(_s.GetDouble("PE_CANT")!=_s.GetDouble("PE_RECCANT")) { - //BA.debugLineNum = 6895;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 6896;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6897;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 6899;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6900;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6901;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 6902;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOREC")+_s.GetLong("L_COSTO_TOTREC")); - //BA.debugLineNum = 6903;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 6904;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 6905;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 6906;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 6907;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step100 = 1; -final int limit100 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit100 ;_e = _e + step100 ) { - //BA.debugLineNum = 6908;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 6910;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6911;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6912;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_RECCANT")+_blanco+_s.GetString("PE_RECALCULO")+_blanco+__c.NumberFormat2(((double)(Double.parseDouble(_s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(_s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),__c.False)); - }; - //BA.debugLineNum = 6916;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 6917;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6918;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 6920;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE"; -_subtot = BA.NumberToString(((double)(Double.parseDouble(_s.GetString("PE_CANT")))-(double)(Double.parseDouble(_s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_s.GetString("PE_COSTOU")))); - //BA.debugLineNum = 6921;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6922;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6923;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 6924;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOTREC")); - //BA.debugLineNum = 6925;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 6926;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 6927;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 6928;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 6929;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step120 = 1; -final int limit120 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit120 ;_e = _e + step120 ) { - //BA.debugLineNum = 6930;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 6932;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6933;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6934;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, (s.GE"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,BA.NumberToString(((double)(Double.parseDouble(_s.GetString("PE_CANT")))-(double)(Double.parseDouble(_s.GetString("PE_RECCANT")))))+_blanco+_s.GetString("PE_COSTOU")+_blanco+__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),__c.False)); +RDebugUtils.currentLine=50790421; + //BA.debugLineNum = 50790421;BA.debugLine="If Tels.IsInitialized Then"; +if (__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=50790422; + //BA.debugLineNum = 50790422;BA.debugLine="b_preventa2.Visible = False"; +__ref._b_preventa2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50790423; + //BA.debugLineNum = 50790423;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=50790424; + //BA.debugLineNum = 50790424;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }; }; - } -}; - //BA.debugLineNum = 6940;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,108-9*6," "); - }; - //BA.debugLineNum = 6942;BA.debugLine="s.Close"; -_s.Close(); - }else { - //BA.debugLineNum = 6945;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 6946;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 6947;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6948;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------"); - //BA.debugLineNum = 6949;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6950;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 6951;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6952;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 6953;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step141 = 1; -final int limit141 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit141 ;_i = _i + step141 ) { - //BA.debugLineNum = 6954;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 6955;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 6956;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6957;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 6959;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6960;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6961;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 6965;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 6966;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 6967;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 6968;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 6969;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 6970;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step155 = 1; -final int limit155 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit155 ;_e = _e + step155 ) { - //BA.debugLineNum = 6971;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 6973;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6974;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6975;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - } -}; - //BA.debugLineNum = 6981;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,108-9*6," "); - }; - //BA.debugLineNum = 6983;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 6984;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 6985;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 6986;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6987;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------"); - //BA.debugLineNum = 6988;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6989;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 6990;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6991;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 6992;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step174 = 1; -final int limit174 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit174 ;_i = _i + step174 ) { - //BA.debugLineNum = 6993;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 6994;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 6995;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 6996;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 6998;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 6999;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7000;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 7001;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; -__c.LogImpl("462062818",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta); - //BA.debugLineNum = 7002;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magent"; -__c.LogImpl("462062819",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta); - //BA.debugLineNum = 7003;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mag"; -__c.LogImpl("462062820",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta); - //BA.debugLineNum = 7004;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 7005;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 7006;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 7007;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 7008;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 7009;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step191 = 1; -final int limit191 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit191 ;_e = _e + step191 ) { - //BA.debugLineNum = 7010;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 7012;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 7013;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7014;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - } -}; - }; - }; - //BA.debugLineNum = 7020;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 7023;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7024;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7025;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7026;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7035;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TO"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 7036;BA.debugLine="s.Position =0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 7037;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7038;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Subtotal p"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Subtotal preventa: $"+_s.GetString("TOTAL")); - //BA.debugLineNum = 7040;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 7041;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 7042;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7043;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total articulos preventa: "+_c.GetString("PC_NOART")); - //BA.debugLineNum = 7046;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL("; -_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0"))); - //BA.debugLineNum = 7047;BA.debugLine="s3.Position =0"; -_s3.setPosition((int) (0)); - //BA.debugLineNum = 7048;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCUL"; -_s2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0"))); - //BA.debugLineNum = 7049;BA.debugLine="S2.Position =0"; -_s2.setPosition((int) (0)); - //BA.debugLineNum = 7051;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.Get"; -if ((__c.NumberFormat2(((double)(Double.parseDouble(_s3.GetString("TOTAL")))+(double)(Double.parseDouble(_s2.GetString("TOTAL")))),(int) (0),(int) (2),(int) (2),__c.False)).equals(_s.GetString("TOTAL")) == false) { - //BA.debugLineNum = 7052;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7053;BA.debugLine="Log(s.GetString(\"TOTAL\") & \"|\" & Subs.calculaTo"; -__c.LogImpl("462062870",_s.GetString("TOTAL")+"|"+_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)),0); - //BA.debugLineNum = 7054;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Descuento: $"+__c.NumberFormat2((double)(Double.parseDouble(_s.GetString("TOTAL")))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)); - }; - //BA.debugLineNum = 7057;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7059;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total Prev"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total Preventa: $"+__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)); - }; - //BA.debugLineNum = 7067;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7068;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7069;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7070;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------"); - //BA.debugLineNum = 7071;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7072;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------"); - //BA.debugLineNum = 7073;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7074;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------"); - //BA.debugLineNum = 7075;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7076;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7077;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7078;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7079;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7080;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7081;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7082;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7083;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7084;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7085;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7086;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7087;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7088;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7098;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\""; -__c.DateTime.setDateFormat("ddmmyyyy"); - //BA.debugLineNum = 7099;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 7100;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 7101;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 7102;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\""; -_archivoticketpdf = _sdate+_stime+".pdf"; - //BA.debugLineNum = 7104;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways"; -_savepdf(_pdf,_archivoticketpdf,_pdf._compressalways /*int*/ ); - //BA.debugLineNum = 7107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50790428; + //BA.debugLineNum = 50790428;BA.debugLine="End Sub"; return ""; } -public String _pdfgenerar2() throws Exception{ -gunav2.keymon.com.mx.cpdf _pdf = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null; -double _pagina = 0; -int _multiplicador = 0; -int _i = 0; -int _e = 0; - //BA.debugLineNum = 7109;BA.debugLine="Private Sub PDFGENERAR2"; - //BA.debugLineNum = 7110;BA.debugLine="ESPACIO = 0"; -_espacio = (int) (0); - //BA.debugLineNum = 7111;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 7112;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 7113;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 7114;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 7115;BA.debugLine="Dim PDF As cPDF"; -_pdf = new gunav2.keymon.com.mx.cpdf(); - //BA.debugLineNum = 7117;BA.debugLine="PDF.Initialize(\"mm\")"; -_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (ba,"mm"); - //BA.debugLineNum = 7119;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _"; -_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform"); - //BA.debugLineNum = 7124;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON"; -_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 7125;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR"; -_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 7127;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +"; -_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+12; - //BA.debugLineNum = 7129;BA.debugLine="Dim multiplicador As Int = 0"; -_multiplicador = (int) (0); - //BA.debugLineNum = 7130;BA.debugLine="PDF.pageAdd(-300,pagina)"; -_pdf._pageadd /*gunav2.keymon.com.mx.cpdf*/ (-300,_pagina); - //BA.debugLineNum = 7133;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 7135;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1"; -_pdf._outimage /*gunav2.keymon.com.mx.cpdf*/ (_xui.getDefaultFolder(),"guna-fondo.jpg",1,_pagina-45,45,0); - //BA.debugLineNum = 7136;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7137;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"GUNA"); - //BA.debugLineNum = 7138;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7139;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_sdate+" "+_stime); - //BA.debugLineNum = 7140;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7141;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\""; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba)); - //BA.debugLineNum = 7142;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7143;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Tienda: "+_la_nombre.getText()); - //BA.debugLineNum = 7144;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7145;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"ID.Cliente: "+_la_cuenta.getText()); - //BA.debugLineNum = 7146;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7147;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Calle: "+_la_calle.getText()); - //BA.debugLineNum = 7148;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7149;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \""; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Colonia: "+_la_col.getText()); - //BA.debugLineNum = 7150;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7151;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7152;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7153;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7154;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 7155;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 7156;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 7157;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 7158;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7159;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------"); - //BA.debugLineNum = 7160;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7161;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 7162;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7163;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7164;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step44 = 1; -final int limit44 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit44 ;_i = _i + step44 ) { - //BA.debugLineNum = 7165;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 7166;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 7167;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7168;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 7170;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 7171;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7172;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 7176;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 7177;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 7178;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 7179;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 7180;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 7181;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step58 = 1; -final int limit58 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit58 ;_e = _e + step58 ) { - //BA.debugLineNum = 7182;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 7184;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 7185;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7186;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - } -}; - //BA.debugLineNum = 7192;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,108-9*6," "); - }; - //BA.debugLineNum = 7194;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 7195;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 7196;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 7197;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7198;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------"); - //BA.debugLineNum = 7199;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7200;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 7201;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7202;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7203;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step77 = 1; -final int limit77 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit77 ;_i = _i + step77 ) { - //BA.debugLineNum = 7204;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 7205;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 7206;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7207;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 7209;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 7210;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7211;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 7212;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; -__c.LogImpl("462128231",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta); - //BA.debugLineNum = 7213;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta"; -__c.LogImpl("462128232",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta); - //BA.debugLineNum = 7214;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage"; -__c.LogImpl("462128233",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta); - //BA.debugLineNum = 7215;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 7216;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 7217;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 7218;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 7219;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 7220;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step94 = 1; -final int limit94 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit94 ;_e = _e + step94 ) { - //BA.debugLineNum = 7221;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 7223;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; -_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 7224;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7225;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - } -}; - }; - //BA.debugLineNum = 7229;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 7232;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7233;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7234;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7235;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7236;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 7237;BA.debugLine="s.Position =0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 7240;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7241;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento:"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Descuento: $"+BA.NumberToString(150)); - //BA.debugLineNum = 7242;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7243;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total prev"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total preventa: $"+BA.NumberToString(((double)(Double.parseDouble(_s.GetString("TOTAL")))-150))); - //BA.debugLineNum = 7244;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 7245;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 7246;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 7247;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7248;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total articulos preventa: "+_c.GetString("PC_NOART")); - //BA.debugLineNum = 7249;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 7253;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7254;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7255;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7256;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------"); - //BA.debugLineNum = 7257;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7258;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------"); - //BA.debugLineNum = 7259;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7260;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------"); - //BA.debugLineNum = 7261;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7262;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7263;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7264;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7265;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7266;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7267;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7268;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7269;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 7270;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 7272;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 7280;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\""; -__c.DateTime.setDateFormat("ddmmyyyy"); - //BA.debugLineNum = 7281;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 7282;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 7283;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 7284;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\""; -_archivoticketpdf = _sdate+_stime+".pdf"; - //BA.debugLineNum = 7286;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways"; -_savepdf(_pdf,_archivoticketpdf,_pdf._compressalways /*int*/ ); - //BA.debugLineNum = 7289;BA.debugLine="End Sub"; +public String _hist_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "hist_click", false)) + {return ((String) Debug.delegate(ba, "hist_click", null));} +RDebugUtils.currentLine=53280768; + //BA.debugLineNum = 53280768;BA.debugLine="Sub HIST_Click"; +RDebugUtils.currentLine=53280769; + //BA.debugLineNum = 53280769;BA.debugLine="B4XPages.ShowPage(\"historicobat\")"; +_b4xpages._showpage /*String*/ (ba,"historicobat"); +RDebugUtils.currentLine=53280770; + //BA.debugLineNum = 53280770;BA.debugLine="End Sub"; return ""; } -public String _pnlplanlealtad_click() throws Exception{ - //BA.debugLineNum = 7826;BA.debugLine="Private Sub pnlPlanLealtad_Click"; - //BA.debugLineNum = 7828;BA.debugLine="End Sub"; +public String _imageview4_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "imageview4_click", false)) + {return ((String) Debug.delegate(ba, "imageview4_click", null));} +RDebugUtils.currentLine=63635456; + //BA.debugLineNum = 63635456;BA.debugLine="Private Sub ImageView4_Click"; +RDebugUtils.currentLine=63635457; + //BA.debugLineNum = 63635457;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=63635458; + //BA.debugLineNum = 63635458;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=63635459; + //BA.debugLineNum = 63635459;BA.debugLine="Subs.centraPanel(p_cam,p_camara.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_cam /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=63635461; + //BA.debugLineNum = 63635461;BA.debugLine="p_camara.BringToFront"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=63635462; + //BA.debugLineNum = 63635462;BA.debugLine="End Sub"; return ""; } -public String _printer_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 4542;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; - //BA.debugLineNum = 4543;BA.debugLine="If Success Then"; -if (_success) { - }else { - //BA.debugLineNum = 4548;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; -if (__c.Msgbox2(BA.ObjectToCharSequence(""),BA.ObjectToCharSequence("Printer Error"),"Reprint","Cancel","",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { - //BA.debugLineNum = 4549;BA.debugLine="StartPrinter"; -_startprinter(); - }; - }; - //BA.debugLineNum = 4552;BA.debugLine="End Sub"; -return ""; -} -public String _printer1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 4517;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; - //BA.debugLineNum = 4519;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 4520;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); - //BA.debugLineNum = 4521;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")})); - //BA.debugLineNum = 4522;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )})); - //BA.debugLineNum = 4525;BA.debugLine="impresoraConectada = True"; -_impresoraconectada = __c.True; - }else { - //BA.debugLineNum = 4529;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; -__c.LogImpl("454198284","Error conectando la impresora",__c.Colors.Red); - //BA.debugLineNum = 4530;BA.debugLine="errorImpresora = errorImpresora + 1"; -_errorimpresora = (int) (_errorimpresora+1); - //BA.debugLineNum = 4531;BA.debugLine="If errorImpresora > 1 Then"; -if (_errorimpresora>1) { - //BA.debugLineNum = 4532;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; -_starter._mac_impresora /*String*/ = "0"; - //BA.debugLineNum = 4533;BA.debugLine="errorImpresora = 0"; -_errorimpresora = (int) (0); - }; - }; - //BA.debugLineNum = 4536;BA.debugLine="End Sub"; -return ""; -} -public String _printer1_error() throws Exception{ - //BA.debugLineNum = 4538;BA.debugLine="Sub Printer1_Error"; - //BA.debugLineNum = 4539;BA.debugLine="Log(\"error printer\")"; -__c.LogImpl("454263809","error printer",0); - //BA.debugLineNum = 4540;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4775;BA.debugLine="Private Sub RadioButton1_CheckedChange(Checked As"; - //BA.debugLineNum = 4776;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4777;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455574530",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4778;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton10_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4827;BA.debugLine="Private Sub RadioButton10_CheckedChange(Checked As"; - //BA.debugLineNum = 4828;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4829;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456164354",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4830;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton11_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4832;BA.debugLine="Private Sub RadioButton11_CheckedChange(Checked As"; - //BA.debugLineNum = 4833;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4834;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456229890",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4835;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton12_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4837;BA.debugLine="Private Sub RadioButton12_CheckedChange(Checked As"; - //BA.debugLineNum = 4838;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4839;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456295426",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4840;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton13_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4842;BA.debugLine="Private Sub RadioButton13_CheckedChange(Checked As"; - //BA.debugLineNum = 4843;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4844;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456360962",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4845;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton14_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4847;BA.debugLine="Private Sub RadioButton14_CheckedChange(Checked As"; - //BA.debugLineNum = 4848;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4849;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456426498",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4850;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton15_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4767;BA.debugLine="Private Sub RadioButton15_CheckedChange(Checked As"; - //BA.debugLineNum = 4768;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4769;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455508994",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4770;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton16_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4762;BA.debugLine="Private Sub RadioButton16_CheckedChange(Checked As"; - //BA.debugLineNum = 4763;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4764;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455443458",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4765;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton17_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4757;BA.debugLine="Private Sub RadioButton17_CheckedChange(Checked As"; - //BA.debugLineNum = 4758;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4759;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455377922",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4760;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4780;BA.debugLine="Private Sub RadioButton2_CheckedChange(Checked As"; - //BA.debugLineNum = 4781;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4782;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455640066",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4783;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4785;BA.debugLine="Private Sub RadioButton3_CheckedChange(Checked As"; - //BA.debugLineNum = 4786;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4787;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455705602",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4788;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton4_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4790;BA.debugLine="Private Sub RadioButton4_CheckedChange(Checked As"; - //BA.debugLineNum = 4791;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4792;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455771138",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4793;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton5_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4798;BA.debugLine="Private Sub RadioButton5_CheckedChange(Checked As"; - //BA.debugLineNum = 4799;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4800;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455836674",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4801;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton6_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4803;BA.debugLine="Private Sub RadioButton6_CheckedChange(Checked As"; - //BA.debugLineNum = 4804;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4805;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455902210",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4806;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton7_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4808;BA.debugLine="Private Sub RadioButton7_CheckedChange(Checked As"; - //BA.debugLineNum = 4809;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4810;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455967746",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4811;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton8_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4813;BA.debugLine="Private Sub RadioButton8_CheckedChange(Checked As"; - //BA.debugLineNum = 4814;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4815;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456033282",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4816;BA.debugLine="End Sub"; -return ""; -} -public String _radiobutton9_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4818;BA.debugLine="Private Sub RadioButton9_CheckedChange(Checked As"; - //BA.debugLineNum = 4819;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4820;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("456098818",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4821;BA.debugLine="End Sub"; -return ""; -} -public String _rb1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4668;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 4669;BA.debugLine="If RB1.Checked = True Then"; -if (_rb1.getChecked()==__c.True) { - //BA.debugLineNum = 4670;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\""; -_e_res_e.setText(BA.ObjectToCharSequence("CENTRAL DE ABASTOS")); - }; - //BA.debugLineNum = 4672;BA.debugLine="End Sub"; -return ""; -} -public String _rb1_e1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4721;BA.debugLine="Private Sub RB1_E1_CheckedChange(Checked As Boolea"; - //BA.debugLineNum = 4722;BA.debugLine="Log($\"RB1 Clicked - chk:${Sender.As(RadioButton)."; -__c.LogImpl("455181313",("RB1 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0); - //BA.debugLineNum = 4723;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4724;BA.debugLine="encuentasmapa.Remove(\"P2\")"; -_encuentasmapa.Remove((Object)("P2")); - //BA.debugLineNum = 4725;BA.debugLine="Panel7.Visible = False"; -_panel7.setVisible(__c.False); - //BA.debugLineNum = 4726;BA.debugLine="RadioButton17.Checked = False"; -_radiobutton17.setChecked(__c.False); - //BA.debugLineNum = 4727;BA.debugLine="RadioButton16.Checked = False"; -_radiobutton16.setChecked(__c.False); - //BA.debugLineNum = 4728;BA.debugLine="RadioButton15.Checked = False"; -_radiobutton15.setChecked(__c.False); - //BA.debugLineNum = 4729;BA.debugLine="encuentasmapa.Remove(\"P2\")"; -_encuentasmapa.Remove((Object)("P2")); - //BA.debugLineNum = 4730;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455181321",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4731;BA.debugLine="End Sub"; -return ""; -} -public String _rb1_p4_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5601;BA.debugLine="Private Sub RB1_P4_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5602;BA.debugLine="If RB1_P4_M2.Checked = True Then"; -if (_rb1_p4_m2.getChecked()==__c.True) { - //BA.debugLineNum = 5603;BA.debugLine="Panel7_M2.Visible = True"; -_panel7_m2.setVisible(__c.True); - //BA.debugLineNum = 5604;BA.debugLine="panel7_p4_m2.Visible = True"; -_panel7_p4_m2.setVisible(__c.True); - }else { - //BA.debugLineNum = 5606;BA.debugLine="Panel7_M2.Visible = False"; -_panel7_m2.setVisible(__c.False); - //BA.debugLineNum = 5607;BA.debugLine="panel7_p4_m2.Visible = False"; -_panel7_p4_m2.setVisible(__c.False); - }; - //BA.debugLineNum = 5610;BA.debugLine="End Sub"; -return ""; -} -public String _rb2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4674;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 4675;BA.debugLine="If RB2.Checked = True Then"; -if (_rb2.getChecked()==__c.True) { - //BA.debugLineNum = 4676;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\""; -_e_res_e.setText(BA.ObjectToCharSequence("AUTOSERVICIO")); - }; - //BA.debugLineNum = 4678;BA.debugLine="End Sub"; -return ""; -} -public String _rb2_e1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4733;BA.debugLine="Private Sub RB2_E1_CheckedChange(Checked As Boolea"; - //BA.debugLineNum = 4734;BA.debugLine="Log($\"RB2 Clicked - chk:${Sender.As(RadioButton)."; -__c.LogImpl("455246849",("RB2 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0); - //BA.debugLineNum = 4735;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4736;BA.debugLine="RadioButton17.Checked = False"; -_radiobutton17.setChecked(__c.False); - //BA.debugLineNum = 4737;BA.debugLine="encuentasmapa.Remove(\"P2\")"; -_encuentasmapa.Remove((Object)("P2")); - //BA.debugLineNum = 4738;BA.debugLine="RadioButton17.Checked = False"; -_radiobutton17.setChecked(__c.False); - //BA.debugLineNum = 4739;BA.debugLine="RadioButton16.Checked = False"; -_radiobutton16.setChecked(__c.False); - //BA.debugLineNum = 4740;BA.debugLine="RadioButton15.Checked = False"; -_radiobutton15.setChecked(__c.False); - //BA.debugLineNum = 4741;BA.debugLine="Panel7.Visible = False"; -_panel7.setVisible(__c.False); - //BA.debugLineNum = 4742;BA.debugLine="encuentasmapa.Remove(\"P2\")"; -_encuentasmapa.Remove((Object)("P2")); - //BA.debugLineNum = 4743;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455246858",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4744;BA.debugLine="End Sub"; -return ""; -} -public String _rb2_p4_m2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 5612;BA.debugLine="Private Sub RB2_P4_M2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 5613;BA.debugLine="If RB2_P4_M2.Checked = True Then"; -if (_rb2_p4_m2.getChecked()==__c.True) { - //BA.debugLineNum = 5614;BA.debugLine="Panel7_M2.Visible = False"; -_panel7_m2.setVisible(__c.False); - //BA.debugLineNum = 5615;BA.debugLine="panel7_p4_m2.Visible = False"; -_panel7_p4_m2.setVisible(__c.False); - //BA.debugLineNum = 5616;BA.debugLine="RB1_P3_M2.Checked = False"; -_rb1_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5617;BA.debugLine="RB2_P3_M2.Checked = False"; -_rb2_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5618;BA.debugLine="RB3_P3_M2.Checked = False"; -_rb3_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5619;BA.debugLine="RB4_P3_M2.Checked = False"; -_rb4_p3_m2.setChecked(__c.False); - //BA.debugLineNum = 5620;BA.debugLine="ET_P3_M2.Text = \"\""; -_et_p3_m2.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 5621;BA.debugLine="CB1_P4_M2.Checked = False"; -_cb1_p4_m2.setChecked(__c.False); - //BA.debugLineNum = 5622;BA.debugLine="CB2_P4_M2.Checked = False"; -_cb2_p4_m2.setChecked(__c.False); - //BA.debugLineNum = 5623;BA.debugLine="CB3_P4_M2.Checked = False"; -_cb3_p4_m2.setChecked(__c.False); - //BA.debugLineNum = 5624;BA.debugLine="CB4_P4_M2.Checked = False"; -_cb4_p4_m2.setChecked(__c.False); - //BA.debugLineNum = 5625;BA.debugLine="textemp3 = \"\""; -_textemp3 = ""; - }else { - //BA.debugLineNum = 5627;BA.debugLine="Panel7_M2.Visible = True"; -_panel7_m2.setVisible(__c.True); - //BA.debugLineNum = 5628;BA.debugLine="panel7_p4_m2.Visible = True"; -_panel7_p4_m2.setVisible(__c.True); - }; - //BA.debugLineNum = 5631;BA.debugLine="End Sub"; -return ""; -} -public String _rb3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4680;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 4681;BA.debugLine="If RB3.Checked = True Then"; -if (_rb3.getChecked()==__c.True) { - //BA.debugLineNum = 4682;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\""; -_e_res_e.setText(BA.ObjectToCharSequence("CLUB DE PRECIO")); - }; - //BA.debugLineNum = 4684;BA.debugLine="End Sub"; -return ""; -} -public String _rb3_e1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4746;BA.debugLine="Private Sub RB3_E1_CheckedChange(Checked As Boolea"; - //BA.debugLineNum = 4747;BA.debugLine="Log($\"RB3 Clicked - chk:${Sender.As(RadioButton)."; -__c.LogImpl("455312385",("RB3 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0); - //BA.debugLineNum = 4748;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; -_encuentasmapa.Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); - //BA.debugLineNum = 4750;BA.debugLine="Panel7.Visible = True"; -_panel7.setVisible(__c.True); - //BA.debugLineNum = 4751;BA.debugLine="Log(encuentasmapa)"; -__c.LogImpl("455312389",BA.ObjectToString(_encuentasmapa),0); - //BA.debugLineNum = 4752;BA.debugLine="End Sub"; -return ""; -} -public String _rb4_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 4686;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 4687;BA.debugLine="If RB4.Checked = True Then"; -if (_rb4.getChecked()==__c.True) { - //BA.debugLineNum = 4688;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\""; -_e_res_e.setText(BA.ObjectToCharSequence("DIRECTO PEDEGREE")); - }; - //BA.debugLineNum = 4690;BA.debugLine="End Sub"; -return ""; -} -public String _recalculoxcant() throws Exception{ -int _promespdes = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel = null; -int _hjh = 0; -float _recalculo = 0f; -float _recalculototal = 0f; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel2 = null; - //BA.debugLineNum = 1399;BA.debugLine="Sub recalculoXcant"; - //BA.debugLineNum = 1401;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_CEDIS = ? ",new String[]{_subs._traealmacen /*String*/ (ba)}))); - //BA.debugLineNum = 1402;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1403;BA.debugLine="For promespdes = 0 To c.RowCount -1"; -{ -final int step3 = 1; -final int limit3 = (int) (_c.getRowCount()-1); -_promespdes = (int) (0) ; -for (;_promespdes <= limit3 ;_promespdes = _promespdes + step3 ) { - //BA.debugLineNum = 1404;BA.debugLine="c.Position = promespdes"; -_c.setPosition(_promespdes); - //BA.debugLineNum = 1405;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt."; -_rangosel = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rangosel = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?",new String[]{_c.GetString("PE_PROID"),BA.NumberToString(_c.GetInt("PE_CANT")),BA.NumberToString(_c.GetInt("PE_CANT"))}))); - //BA.debugLineNum = 1406;BA.debugLine="If rangosel.RowCount > 0 Then"; -if (_rangosel.getRowCount()>0) { - //BA.debugLineNum = 1407;BA.debugLine="For hjh = 0 To rangosel.RowCount-1"; -{ -final int step7 = 1; -final int limit7 = (int) (_rangosel.getRowCount()-1); -_hjh = (int) (0) ; -for (;_hjh <= limit7 ;_hjh = _hjh + step7 ) { - //BA.debugLineNum = 1408;BA.debugLine="rangosel.Position = hjh"; -_rangosel.setPosition(_hjh); - //BA.debugLineNum = 1409;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains"; -if (_rangosel.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) { - //BA.debugLineNum = 1410;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; -__c.LogImpl("450528267",_c.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 1411;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; -__c.LogImpl("450528268",_rangosel.GetString("CAT_PD_DESCUENTO"),0); - //BA.debugLineNum = 1412;BA.debugLine="Private recalculo As Float = c.GetString(\"PE"; -_recalculo = (float) ((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); - //BA.debugLineNum = 1413;BA.debugLine="LogColor(recalculo,Colors.Blue)"; -__c.LogImpl("450528270",BA.NumberToString(_recalculo),__c.Colors.Blue); - //BA.debugLineNum = 1414;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; -__c.LogImpl("450528271",_c.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 1415;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")"; -__c.LogImpl("450528272",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0); - //BA.debugLineNum = 1416;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; -__c.LogImpl("450528273",_rangosel.GetString("CAT_PD_DESCUENTO"),0); - //BA.debugLineNum = 1417;BA.debugLine="Private recalculototal As Float =c.GetString"; -_recalculototal = (float) ((double)(Double.parseDouble(_c.GetString("PE_CANT")))*_recalculo); - //BA.debugLineNum = 1418;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_REC"; -_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? and PE_FOLIO = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel.GetString("CAT_PD_COD_PROMO"),_c.GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")})); - }; - } -}; - }else { - //BA.debugLineNum = 1422;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm"; -_rangosel2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rangosel2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2",new String[]{_c.GetString("PE_PROID"),BA.NumberToString(_c.GetInt("PE_CANT"))}))); - //BA.debugLineNum = 1424;BA.debugLine="If rangosel2.RowCount > 0 Then"; -if (_rangosel2.getRowCount()>0) { - //BA.debugLineNum = 1426;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1"; -{ -final int step24 = 1; -final int limit24 = (int) (_rangosel2.getRowCount()-1); -_hjh = (int) (0) ; -for (;_hjh <= limit24 ;_hjh = _hjh + step24 ) { - //BA.debugLineNum = 1427;BA.debugLine="rangosel2.Position = hjh"; -_rangosel2.setPosition(_hjh); - //BA.debugLineNum = 1428;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai"; -if (_rangosel2.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) { - //BA.debugLineNum = 1429;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; -__c.LogImpl("450528286",_c.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 1430;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; -__c.LogImpl("450528287",_rangosel2.GetString("CAT_PD_DESCUENTO"),0); - //BA.debugLineNum = 1431;BA.debugLine="Private recalculo As Float = c.GetString(\"P"; -_recalculo = (float) ((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); - //BA.debugLineNum = 1432;BA.debugLine="LogColor(recalculo,Colors.Blue)"; -__c.LogImpl("450528289",BA.NumberToString(_recalculo),__c.Colors.Blue); - //BA.debugLineNum = 1433;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; -__c.LogImpl("450528290",_c.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 1434;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\""; -__c.LogImpl("450528291",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0); - //BA.debugLineNum = 1435;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; -__c.LogImpl("450528292",_rangosel2.GetString("CAT_PD_DESCUENTO"),0); - //BA.debugLineNum = 1436;BA.debugLine="Private recalculototal As Float = rangosel2"; -_recalculototal = (float) ((double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_RANGO2")))*_recalculo); - //BA.debugLineNum = 1439;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RE"; -_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel2.GetString("CAT_PD_COD_PROMO"),_rangosel2.GetString("CAT_PD_RANGO2"),_c.GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")})); - }; - } -}; - }else { - //BA.debugLineNum = 1443;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECA"; -_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")})); - }; - //BA.debugLineNum = 1445;BA.debugLine="rangosel2.Close"; -_rangosel2.Close(); - }; - //BA.debugLineNum = 1447;BA.debugLine="rangosel.Close"; -_rangosel.Close(); - } -}; - }; - //BA.debugLineNum = 1450;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECALCUL"; -_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_subs._traealmacen /*String*/ (ba)})); - //BA.debugLineNum = 1451;BA.debugLine="End Sub"; -return ""; -} -public String _revisargeocerca() throws Exception{ - //BA.debugLineNum = 1466;BA.debugLine="Private Sub RevisarGeocerca"; - //BA.debugLineNum = 1469;BA.debugLine="Log(distancealm)"; -__c.LogImpl("450659331",BA.NumberToString(_distancealm),0); - //BA.debugLineNum = 1470;BA.debugLine="Log(distance)"; -__c.LogImpl("450659332",BA.NumberToString(_distance),0); - //BA.debugLineNum = 1472;BA.debugLine="If distancealm > 0 Or distance > 50 Then"; -if (_distancealm>0 || _distance>50) { - //BA.debugLineNum = 1473;BA.debugLine="If distancealm < 100 Or distance < 50 Then"; -if (_distancealm<100 || _distance<50) { - //BA.debugLineNum = 1474;BA.debugLine="HabilitarBotones(True)"; -_habilitarbotones(__c.True); - }else { - //BA.debugLineNum = 1476;BA.debugLine="HabilitarBotones(True)"; -_habilitarbotones(__c.True); - }; - }; - //BA.debugLineNum = 1479;BA.debugLine="End Sub"; -return ""; -} -public String _savepdf(gunav2.keymon.com.mx.cpdf _apdf,String _afile,int _acompress) throws Exception{ -String _folder = ""; - //BA.debugLineNum = 7291;BA.debugLine="private Sub savePDF(apdf As cPDF,afile As String,a"; - //BA.debugLineNum = 7292;BA.debugLine="Dim folder As String"; -_folder = ""; - //BA.debugLineNum = 7297;BA.debugLine="folder = Starter.fFileProvider.SharedFolder"; -_folder = _starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ; - //BA.debugLineNum = 7304;BA.debugLine="apdf.saveToFile(folder, afile, acompress)"; -_apdf._savetofile /*gunav2.keymon.com.mx.cpdf*/ (_folder,_afile,_acompress); - //BA.debugLineNum = 7305;BA.debugLine="End Sub"; -return ""; -} -public void _sc_result(String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ -ResumableSub_sc_result rsub = new ResumableSub_sc_result(this,_atype,_values,_image); +public void _impresion3(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "impresion3", false)) + {Debug.delegate(ba, "impresion3", null); return;} +ResumableSub_Impresion3 rsub = new ResumableSub_Impresion3(this,__ref); rsub.resume(ba, null); } -public static class ResumableSub_sc_result extends BA.ResumableSub { -public ResumableSub_sc_result(gunav2.keymon.com.mx.c_cliente parent,String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) { +public static class ResumableSub_Impresion3 extends BA.ResumableSub { +public ResumableSub_Impresion3(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { this.parent = parent; -this._atype = _atype; -this._values = _values; -this._image = _image; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_cliente __ref; gunav2.keymon.com.mx.c_cliente parent; -String _atype; -String _values; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image; -int _resultado = 0; +String _elinefeed = ""; +int _cont = 0; +int _i = 0; +int _e = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null; +String _subtot = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; +int step50; +int limit50; +int step61; +int limit61; +int step74; +int limit74; +int step93; +int limit93; +int step105; +int limit105; +int step122; +int limit122; +int step132; +int limit132; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; while (true) { switch (state) { @@ -18748,19 +21058,4093 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 3093;BA.debugLine="CODIGO = Values"; -parent._codigo = _values; - //BA.debugLineNum = 3094;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; -parent._dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM kmt_info3 WHERE CAT_CL_NUM_SERIEFISICO = ?",new String[]{parent._codigo}))); - //BA.debugLineNum = 3095;BA.debugLine="DD.Position =0"; -parent._dd.setPosition((int) (0)); - //BA.debugLineNum = 3096;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then"; +RDebugUtils.currentLine=54067201; + //BA.debugLineNum = 54067201;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=54067202; + //BA.debugLineNum = 54067202;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54067203; + //BA.debugLineNum = 54067203;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=54067205; + //BA.debugLineNum = 54067205;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=54067206; + //BA.debugLineNum = 54067206;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=54067207; + //BA.debugLineNum = 54067207;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=54067208; + //BA.debugLineNum = 54067208;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54067213; + //BA.debugLineNum = 54067213;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); +RDebugUtils.currentLine=54067214; + //BA.debugLineNum = 54067214;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=54067215; + //BA.debugLineNum = 54067215;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=54067216; + //BA.debugLineNum = 54067216;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=54067218; + //BA.debugLineNum = 54067218;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=54067219; + //BA.debugLineNum = 54067219;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=54067220; + //BA.debugLineNum = 54067220;BA.debugLine="Do While Not(impresoraConectada)"; +if (true) break; + +case 4: +//do while +this.state = 19; +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=54067221; + //BA.debugLineNum = 54067221;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (1000)); +this.state = 99; +return; +case 99: +//C +this.state = 7; +; +RDebugUtils.currentLine=54067222; + //BA.debugLineNum = 54067222;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=54067223; + //BA.debugLineNum = 54067223;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +if (true) break; + +case 7: +//if +this.state = 12; +if (_cont==7) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=54067224; + //BA.debugLineNum = 54067224;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +if (true) break; + +case 13: +//if +this.state = 18; +if (_cont>15) { +this.state = 15; +;}if (true) break; + +case 15: +//C +this.state = 18; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; +if (true) break; + +case 18: +//C +this.state = 4; +; + if (true) break; + +case 19: +//C +this.state = 38; +; +RDebugUtils.currentLine=54067226; + //BA.debugLineNum = 54067226;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (500)); +this.state = 100; +return; +case 100: +//C +this.state = 38; +; +RDebugUtils.currentLine=54067227; + //BA.debugLineNum = 54067227;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=54067230; + //BA.debugLineNum = 54067230;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=54067231; + //BA.debugLineNum = 54067231;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=54067232; + //BA.debugLineNum = 54067232;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +if (true) break; + +case 22: +//do while +this.state = 37; +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=54067233; + //BA.debugLineNum = 54067233;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (1000)); +this.state = 101; +return; +case 101: +//C +this.state = 25; +; +RDebugUtils.currentLine=54067234; + //BA.debugLineNum = 54067234;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=54067235; + //BA.debugLineNum = 54067235;BA.debugLine="If cont = 2 Then Printer1.Connect"; +if (true) break; + +case 25: +//if +this.state = 30; +if (_cont==2) { +this.state = 27; +;}if (true) break; + +case 27: +//C +this.state = 30; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=54067236; + //BA.debugLineNum = 54067236;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +if (true) break; + +case 31: +//if +this.state = 36; +if (_cont>4) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; +if (true) break; + +case 36: +//C +this.state = 22; +; + if (true) break; + +case 37: +//C +this.state = 38; +; +RDebugUtils.currentLine=54067238; + //BA.debugLineNum = 54067238;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (500)); +this.state = 102; +return; +case 102: +//C +this.state = 38; +; +RDebugUtils.currentLine=54067239; + //BA.debugLineNum = 54067239;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=54067242; + //BA.debugLineNum = 54067242;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54067243; + //BA.debugLineNum = 54067243;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54067244; + //BA.debugLineNum = 54067244;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=54067261; + //BA.debugLineNum = 54067261;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed); +RDebugUtils.currentLine=54067263; + //BA.debugLineNum = 54067263;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=54067264; + //BA.debugLineNum = 54067264;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed); +RDebugUtils.currentLine=54067265; + //BA.debugLineNum = 54067265;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed); +RDebugUtils.currentLine=54067266; + //BA.debugLineNum = 54067266;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54067267; + //BA.debugLineNum = 54067267;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54067268; + //BA.debugLineNum = 54067268;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54067269; + //BA.debugLineNum = 54067269;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54067271; + //BA.debugLineNum = 54067271;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54067272; + //BA.debugLineNum = 54067272;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54067274; + //BA.debugLineNum = 54067274;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-----------PREVENTA-----------"+_elinefeed); +RDebugUtils.currentLine=54067276; + //BA.debugLineNum = 54067276;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)}))); +RDebugUtils.currentLine=54067277; + //BA.debugLineNum = 54067277;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 39: +//if +this.state = 76; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=54067278; + //BA.debugLineNum = 54067278;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 42: +//for +this.state = 75; +step50 = 1; +limit50 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 103; +if (true) break; + +case 103: +//C +this.state = 75; +if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 44; +if (true) break; + +case 104: +//C +this.state = 103; +_i = ((int)(0 + _i + step50)) ; +if (true) break; + +case 44: +//C +this.state = 45; +RDebugUtils.currentLine=54067279; + //BA.debugLineNum = 54067279;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=54067280; + //BA.debugLineNum = 54067280;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +if (true) break; + +case 45: +//if +this.state = 74; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +this.state = 47; +}else { +this.state = 49; +}if (true) break; + +case 47: +//C +this.state = 74; +RDebugUtils.currentLine=54067281; + //BA.debugLineNum = 54067281;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); + if (true) break; + +case 49: +//C +this.state = 50; +RDebugUtils.currentLine=54067283; + //BA.debugLineNum = 54067283;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; +if (true) break; + +case 50: +//if +this.state = 73; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECALCULO")==0) { +this.state = 52; +}else +{RDebugUtils.currentLine=54067298; + //BA.debugLineNum = 54067298;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")==__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { +this.state = 58; +}else +{RDebugUtils.currentLine=54067319; + //BA.debugLineNum = 54067319;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")!=__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { +this.state = 64; +}}} +if (true) break; + +case 52: +//C +this.state = 53; +RDebugUtils.currentLine=54067284; + //BA.debugLineNum = 54067284;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54067285; + //BA.debugLineNum = 54067285;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067286; + //BA.debugLineNum = 54067286;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067287; + //BA.debugLineNum = 54067287;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067289; + //BA.debugLineNum = 54067289;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067291; + //BA.debugLineNum = 54067291;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 53: +//for +this.state = 56; +step61 = 1; +limit61 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 105; +if (true) break; + +case 105: +//C +this.state = 56; +if ((step61 > 0 && _e <= limit61) || (step61 < 0 && _e >= limit61)) this.state = 55; +if (true) break; + +case 106: +//C +this.state = 105; +_e = ((int)(0 + _e + step61)) ; +if (true) break; + +case 55: +//C +this.state = 106; +RDebugUtils.currentLine=54067292; + //BA.debugLineNum = 54067292;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 56: +//C +this.state = 73; +; +RDebugUtils.currentLine=54067294; + //BA.debugLineNum = 54067294;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed); +RDebugUtils.currentLine=54067295; + //BA.debugLineNum = 54067295;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54067296; + //BA.debugLineNum = 54067296;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54067297; + //BA.debugLineNum = 54067297;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 58: +//C +this.state = 59; +RDebugUtils.currentLine=54067299; + //BA.debugLineNum = 54067299;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54067300; + //BA.debugLineNum = 54067300;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067301; + //BA.debugLineNum = 54067301;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067302; + //BA.debugLineNum = 54067302;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067304; + //BA.debugLineNum = 54067304;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067306; + //BA.debugLineNum = 54067306;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 59: +//for +this.state = 62; +step74 = 1; +limit74 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 107; +if (true) break; + +case 107: +//C +this.state = 62; +if ((step74 > 0 && _e <= limit74) || (step74 < 0 && _e >= limit74)) this.state = 61; +if (true) break; + +case 108: +//C +this.state = 107; +_e = ((int)(0 + _e + step74)) ; +if (true) break; + +case 61: +//C +this.state = 108; +RDebugUtils.currentLine=54067307; + //BA.debugLineNum = 54067307;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 62: +//C +this.state = 73; +; +RDebugUtils.currentLine=54067310; + //BA.debugLineNum = 54067310;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); +RDebugUtils.currentLine=54067311; + //BA.debugLineNum = 54067311;BA.debugLine="descpro.Position = 0"; +_descpro.setPosition((int) (0)); +RDebugUtils.currentLine=54067313; + //BA.debugLineNum = 54067313;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed); +RDebugUtils.currentLine=54067315; + //BA.debugLineNum = 54067315;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); +RDebugUtils.currentLine=54067316; + //BA.debugLineNum = 54067316;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54067317; + //BA.debugLineNum = 54067317;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54067318; + //BA.debugLineNum = 54067318;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 64: +//C +this.state = 65; +RDebugUtils.currentLine=54067320; + //BA.debugLineNum = 54067320;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; +parent.__c.LogImpl("054067320",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")),0); +RDebugUtils.currentLine=54067321; + //BA.debugLineNum = 54067321;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; +parent.__c.LogImpl("054067321",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),0); +RDebugUtils.currentLine=54067322; + //BA.debugLineNum = 54067322;BA.debugLine="Log(\"aqui\")"; +parent.__c.LogImpl("054067322","aqui",0); +RDebugUtils.currentLine=54067323; + //BA.debugLineNum = 54067323;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54067324; + //BA.debugLineNum = 54067324;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067325; + //BA.debugLineNum = 54067325;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067326; + //BA.debugLineNum = 54067326;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067328; + //BA.debugLineNum = 54067328;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067330; + //BA.debugLineNum = 54067330;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 65: +//for +this.state = 68; +step93 = 1; +limit93 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 109; +if (true) break; + +case 109: +//C +this.state = 68; +if ((step93 > 0 && _e <= limit93) || (step93 < 0 && _e >= limit93)) this.state = 67; +if (true) break; + +case 110: +//C +this.state = 109; +_e = ((int)(0 + _e + step93)) ; +if (true) break; + +case 67: +//C +this.state = 110; +RDebugUtils.currentLine=54067331; + //BA.debugLineNum = 54067331;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +; +RDebugUtils.currentLine=54067335; + //BA.debugLineNum = 54067335;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); +RDebugUtils.currentLine=54067336; + //BA.debugLineNum = 54067336;BA.debugLine="descpro.Position = 0"; +_descpro.setPosition((int) (0)); +RDebugUtils.currentLine=54067338; + //BA.debugLineNum = 54067338;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); +RDebugUtils.currentLine=54067339; + //BA.debugLineNum = 54067339;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); +RDebugUtils.currentLine=54067341; + //BA.debugLineNum = 54067341;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; +_subtot = BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))); +RDebugUtils.currentLine=54067342; + //BA.debugLineNum = 54067342;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067343; + //BA.debugLineNum = 54067343;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067344; + //BA.debugLineNum = 54067344;BA.debugLine="TAMANO = subTot + TAMANO"; +__ref._tamano /*int*/ = (int) ((double)(Double.parseDouble(_subtot))+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067346; + //BA.debugLineNum = 54067346;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067348; + //BA.debugLineNum = 54067348;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 69: +//for +this.state = 72; +step105 = 1; +limit105 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 111; +if (true) break; + +case 111: +//C +this.state = 72; +if ((step105 > 0 && _e <= limit105) || (step105 < 0 && _e >= limit105)) this.state = 71; +if (true) break; + +case 112: +//C +this.state = 111; +_e = ((int)(0 + _e + step105)) ; +if (true) break; + +case 71: +//C +this.state = 112; +RDebugUtils.currentLine=54067349; + //BA.debugLineNum = 54067349;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 72: +//C +this.state = 73; +; +RDebugUtils.currentLine=54067352; + //BA.debugLineNum = 54067352;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54067353; + //BA.debugLineNum = 54067353;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); +RDebugUtils.currentLine=54067356; + //BA.debugLineNum = 54067356;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54067357; + //BA.debugLineNum = 54067357;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54067358; + //BA.debugLineNum = 54067358;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 73: +//C +this.state = 74; +; + if (true) break; + +case 74: +//C +this.state = 104; +; + if (true) break; +if (true) break; + +case 75: +//C +this.state = 76; +; + if (true) break; + +case 76: +//C +this.state = 77; +; +RDebugUtils.currentLine=54067363; + //BA.debugLineNum = 54067363;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54067364; + //BA.debugLineNum = 54067364;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54067365; + //BA.debugLineNum = 54067365;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU"))); +RDebugUtils.currentLine=54067366; + //BA.debugLineNum = 54067366;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 77: +//if +this.state = 94; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 79; +}if (true) break; + +case 79: +//C +this.state = 80; +RDebugUtils.currentLine=54067367; + //BA.debugLineNum = 54067367;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------PROMOS------------"+_elinefeed); +RDebugUtils.currentLine=54067368; + //BA.debugLineNum = 54067368;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 80: +//for +this.state = 93; +step122 = 1; +limit122 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 113; +if (true) break; + +case 113: +//C +this.state = 93; +if ((step122 > 0 && _i <= limit122) || (step122 < 0 && _i >= limit122)) this.state = 82; +if (true) break; + +case 114: +//C +this.state = 113; +_i = ((int)(0 + _i + step122)) ; +if (true) break; + +case 82: +//C +this.state = 83; +RDebugUtils.currentLine=54067369; + //BA.debugLineNum = 54067369;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=54067370; + //BA.debugLineNum = 54067370;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +if (true) break; + +case 83: +//if +this.state = 92; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +this.state = 85; +}else { +this.state = 87; +}if (true) break; + +case 85: +//C +this.state = 92; +RDebugUtils.currentLine=54067371; + //BA.debugLineNum = 54067371;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); + if (true) break; + +case 87: +//C +this.state = 88; +RDebugUtils.currentLine=54067375; + //BA.debugLineNum = 54067375;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=54067376; + //BA.debugLineNum = 54067376;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067377; + //BA.debugLineNum = 54067377;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067378; + //BA.debugLineNum = 54067378;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067380; + //BA.debugLineNum = 54067380;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=54067382; + //BA.debugLineNum = 54067382;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 88: +//for +this.state = 91; +step132 = 1; +limit132 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 115; +if (true) break; + +case 115: +//C +this.state = 91; +if ((step132 > 0 && _e <= limit132) || (step132 < 0 && _e >= limit132)) this.state = 90; +if (true) break; + +case 116: +//C +this.state = 115; +_e = ((int)(0 + _e + step132)) ; +if (true) break; + +case 90: +//C +this.state = 116; +RDebugUtils.currentLine=54067383; + //BA.debugLineNum = 54067383;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 91: +//C +this.state = 92; +; +RDebugUtils.currentLine=54067385; + //BA.debugLineNum = 54067385;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed); +RDebugUtils.currentLine=54067386; + //BA.debugLineNum = 54067386;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=54067387; + //BA.debugLineNum = 54067387;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=54067388; + //BA.debugLineNum = 54067388;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 92: +//C +this.state = 114; +; + if (true) break; +if (true) break; + +case 93: +//C +this.state = 94; +; +RDebugUtils.currentLine=54067391; + //BA.debugLineNum = 54067391;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); + if (true) break; + +case 94: +//C +this.state = 95; +; +RDebugUtils.currentLine=54067393; + //BA.debugLineNum = 54067393;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54067395; + //BA.debugLineNum = 54067395;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=54067396; + //BA.debugLineNum = 54067396;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54067400; + //BA.debugLineNum = 54067400;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal Preventa: $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")+_elinefeed); +RDebugUtils.currentLine=54067403; + //BA.debugLineNum = 54067403;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); +RDebugUtils.currentLine=54067404; + //BA.debugLineNum = 54067404;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54067405; + //BA.debugLineNum = 54067405;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Articulos: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+_elinefeed); +RDebugUtils.currentLine=54067406; + //BA.debugLineNum = 54067406;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=54067407; + //BA.debugLineNum = 54067407;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(S"; +_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0"))); +RDebugUtils.currentLine=54067408; + //BA.debugLineNum = 54067408;BA.debugLine="s3.Position =0"; +_s3.setPosition((int) (0)); +RDebugUtils.currentLine=54067409; + //BA.debugLineNum = 54067409;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCULO"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0"))); +RDebugUtils.currentLine=54067410; + //BA.debugLineNum = 54067410;BA.debugLine="S2.Position =0"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=54067412; + //BA.debugLineNum = 54067412;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.GetS"; +if (true) break; + +case 95: +//if +this.state = 98; +if ((parent.__c.NumberFormat2(((double)(Double.parseDouble(_s3.GetString("TOTAL")))+(double)(Double.parseDouble(__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))),(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")) == false) { +this.state = 97; +}if (true) break; + +case 97: +//C +this.state = 98; +RDebugUtils.currentLine=54067414; + //BA.debugLineNum = 54067414;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); + if (true) break; + +case 98: +//C +this.state = -1; +; +RDebugUtils.currentLine=54067421; + //BA.debugLineNum = 54067421;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); +RDebugUtils.currentLine=54067423; + //BA.debugLineNum = 54067423;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54067424; + //BA.debugLineNum = 54067424;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=54067425; + //BA.debugLineNum = 54067425;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed); +RDebugUtils.currentLine=54067426; + //BA.debugLineNum = 54067426;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=54067427; + //BA.debugLineNum = 54067427;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+_elinefeed); +RDebugUtils.currentLine=54067428; + //BA.debugLineNum = 54067428;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed); +RDebugUtils.currentLine=54067429; + //BA.debugLineNum = 54067429;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+_elinefeed); +RDebugUtils.currentLine=54067430; + //BA.debugLineNum = 54067430;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=54067431; + //BA.debugLineNum = 54067431;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=54067433; + //BA.debugLineNum = 54067433;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion3"),(int) (1000)); +this.state = 117; +return; +case 117: +//C +this.state = -1; +; +RDebugUtils.currentLine=54067434; + //BA.debugLineNum = 54067434;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=54067436; + //BA.debugLineNum = 54067436;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=54067439; + //BA.debugLineNum = 54067439;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _mandap(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandap", false)) + {return ((String) Debug.delegate(ba, "mandap", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +int _i = 0; +gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=53870592; + //BA.debugLineNum = 53870592;BA.debugLine="Sub Mandap"; +RDebugUtils.currentLine=53870594; + //BA.debugLineNum = 53870594;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_CE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); +RDebugUtils.currentLine=53870595; + //BA.debugLineNum = 53870595;BA.debugLine="Dim d As Cursor=B4XPages.MainPage.skmt.ExecQuery("; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO"))); +RDebugUtils.currentLine=53870596; + //BA.debugLineNum = 53870596;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=53870597; + //BA.debugLineNum = 53870597;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step4 = 1; +final int limit4 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=53870598; + //BA.debugLineNum = 53870598;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53870599; + //BA.debugLineNum = 53870599;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=53870600; + //BA.debugLineNum = 53870600;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=53870601; + //BA.debugLineNum = 53870601;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +_cmd.Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=53870602; + //BA.debugLineNum = 53870602;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"P"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=53870603; + //BA.debugLineNum = 53870603;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido")); + } +}; + }; +RDebugUtils.currentLine=53870606; + //BA.debugLineNum = 53870606;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53870607; + //BA.debugLineNum = 53870607;BA.debugLine="d.Position=0"; +_d.setPosition((int) (0)); +RDebugUtils.currentLine=53870610; + //BA.debugLineNum = 53870610;BA.debugLine="d.Close"; +_d.Close(); +RDebugUtils.currentLine=53870613; + //BA.debugLineNum = 53870613;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_RE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL",new String[]{"","null"}))); +RDebugUtils.currentLine=53870614; + //BA.debugLineNum = 53870614;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUNT"; +_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"'")))); +RDebugUtils.currentLine=53870615; + //BA.debugLineNum = 53870615;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=53870616; + //BA.debugLineNum = 53870616;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step19 = 1; +final int limit19 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit19 ;_i = _i + step19 ) { +RDebugUtils.currentLine=53870617; + //BA.debugLineNum = 53870617;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53870618; + //BA.debugLineNum = 53870618;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")).equals("")) { +RDebugUtils.currentLine=53870619; + //BA.debugLineNum = 53870619;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=53870620; + //BA.debugLineNum = 53870620;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=53870621; + //BA.debugLineNum = 53870621;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +_cmd.Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=53870622; + //BA.debugLineNum = 53870622;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=53870623; + //BA.debugLineNum = 53870623;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido")); + }else { +RDebugUtils.currentLine=53870625; + //BA.debugLineNum = 53870625;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"PE"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")).equals(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))) { +RDebugUtils.currentLine=53870626; + //BA.debugLineNum = 53870626;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=53870627; + //BA.debugLineNum = 53870627;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=53870628; + //BA.debugLineNum = 53870628;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +_cmd.Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=53870629; + //BA.debugLineNum = 53870629;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=53870630; + //BA.debugLineNum = 53870630;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido")); + }else { +RDebugUtils.currentLine=53870633; + //BA.debugLineNum = 53870633;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=53870634; + //BA.debugLineNum = 53870634;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=53870635; + //BA.debugLineNum = 53870635;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +_cmd.Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=53870636; + //BA.debugLineNum = 53870636;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=53870637; + //BA.debugLineNum = 53870637;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido")); +RDebugUtils.currentLine=53870639; + //BA.debugLineNum = 53870639;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=53870640; + //BA.debugLineNum = 53870640;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=53870641; + //BA.debugLineNum = 53870641;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +_cmd.Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=53870642; + //BA.debugLineNum = 53870642;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (1),(int) (2),(int) (2),__c.False)),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=53870643; + //BA.debugLineNum = 53870643;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_pedido")); + }; + }; + } +}; + }; +RDebugUtils.currentLine=53870648; + //BA.debugLineNum = 53870648;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53870649; + //BA.debugLineNum = 53870649;BA.debugLine="d.Position=0"; +_d.setPosition((int) (0)); +RDebugUtils.currentLine=53870651; + //BA.debugLineNum = 53870651;BA.debugLine="d.Close"; +_d.Close(); +RDebugUtils.currentLine=53870652; + //BA.debugLineNum = 53870652;BA.debugLine="End Sub"; +return ""; +} +public void _impresion5(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "impresion5", false)) + {Debug.delegate(ba, "impresion5", null); return;} +ResumableSub_Impresion5 rsub = new ResumableSub_Impresion5(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_Impresion5 extends BA.ResumableSub { +public ResumableSub_Impresion5(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +gunav2.keymon.com.mx.c_cliente __ref; +gunav2.keymon.com.mx.c_cliente parent; +String _elinefeed = ""; +int _cont = 0; +int _i = 0; +int _e = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null; +String _subtot = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null; +int step55; +int limit55; +int step66; +int limit66; +int step79; +int limit79; +int step98; +int limit98; +int step110; +int limit110; +int step125; +int limit125; +int step134; +int limit134; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=53936129; + //BA.debugLineNum = 53936129;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=53936130; + //BA.debugLineNum = 53936130;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53936131; + //BA.debugLineNum = 53936131;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=53936133; + //BA.debugLineNum = 53936133;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=53936134; + //BA.debugLineNum = 53936134;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=53936135; + //BA.debugLineNum = 53936135;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=53936136; + //BA.debugLineNum = 53936136;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53936141; + //BA.debugLineNum = 53936141;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); +RDebugUtils.currentLine=53936142; + //BA.debugLineNum = 53936142;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=53936143; + //BA.debugLineNum = 53936143;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=53936144; + //BA.debugLineNum = 53936144;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=53936146; + //BA.debugLineNum = 53936146;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=53936147; + //BA.debugLineNum = 53936147;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=53936148; + //BA.debugLineNum = 53936148;BA.debugLine="Do While Not(impresoraConectada)"; +if (true) break; + +case 4: +//do while +this.state = 19; +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ )) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=53936149; + //BA.debugLineNum = 53936149;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (1000)); +this.state = 107; +return; +case 107: +//C +this.state = 7; +; +RDebugUtils.currentLine=53936150; + //BA.debugLineNum = 53936150;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=53936151; + //BA.debugLineNum = 53936151;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +if (true) break; + +case 7: +//if +this.state = 12; +if (_cont==7) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=53936152; + //BA.debugLineNum = 53936152;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +if (true) break; + +case 13: +//if +this.state = 18; +if (_cont>15) { +this.state = 15; +;}if (true) break; + +case 15: +//C +this.state = 18; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; +if (true) break; + +case 18: +//C +this.state = 4; +; + if (true) break; + +case 19: +//C +this.state = 38; +; +RDebugUtils.currentLine=53936154; + //BA.debugLineNum = 53936154;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (500)); +this.state = 108; +return; +case 108: +//C +this.state = 38; +; +RDebugUtils.currentLine=53936155; + //BA.debugLineNum = 53936155;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=53936158; + //BA.debugLineNum = 53936158;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=53936159; + //BA.debugLineNum = 53936159;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=53936160; + //BA.debugLineNum = 53936160;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +if (true) break; + +case 22: +//do while +this.state = 37; +while (parent.__c.Not(__ref._impresoraconectada /*boolean*/ ) || parent.__c.Not(__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=53936161; + //BA.debugLineNum = 53936161;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (1000)); +this.state = 109; +return; +case 109: +//C +this.state = 25; +; +RDebugUtils.currentLine=53936162; + //BA.debugLineNum = 53936162;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=53936163; + //BA.debugLineNum = 53936163;BA.debugLine="If cont = 2 Then Printer1.Connect"; +if (true) break; + +case 25: +//if +this.state = 30; +if (_cont==2) { +this.state = 27; +;}if (true) break; + +case 27: +//C +this.state = 30; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=53936164; + //BA.debugLineNum = 53936164;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +if (true) break; + +case 31: +//if +this.state = 36; +if (_cont>4) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +__ref._impresoraconectada /*boolean*/ = parent.__c.True; +if (true) break; + +case 36: +//C +this.state = 22; +; + if (true) break; + +case 37: +//C +this.state = 38; +; +RDebugUtils.currentLine=53936166; + //BA.debugLineNum = 53936166;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (500)); +this.state = 110; +return; +case 110: +//C +this.state = 38; +; +RDebugUtils.currentLine=53936167; + //BA.debugLineNum = 53936167;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=53936170; + //BA.debugLineNum = 53936170;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53936171; + //BA.debugLineNum = 53936171;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53936172; + //BA.debugLineNum = 53936172;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=53936188; + //BA.debugLineNum = 53936188;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Centro de atencion a Clientes Bat"+_elinefeed); +RDebugUtils.currentLine=53936189; + //BA.debugLineNum = 53936189;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Telefono: 800 400 5000"+_elinefeed); +RDebugUtils.currentLine=53936190; + //BA.debugLineNum = 53936190;BA.debugLine="Printer1.WriteString(eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,_elinefeed); +RDebugUtils.currentLine=53936191; + //BA.debugLineNum = 53936191;BA.debugLine="Printer1.WriteString(eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,_elinefeed); +RDebugUtils.currentLine=53936192; + //BA.debugLineNum = 53936192;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"DISTRIBUIDORA ROCHA TULA PACHUCA"+_elinefeed); +RDebugUtils.currentLine=53936193; + //BA.debugLineNum = 53936193;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"RFC: DRT-110316-9J1"+_elinefeed); +RDebugUtils.currentLine=53936195; + //BA.debugLineNum = 53936195;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=53936196; + //BA.debugLineNum = 53936196;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed); +RDebugUtils.currentLine=53936197; + //BA.debugLineNum = 53936197;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed); +RDebugUtils.currentLine=53936198; + //BA.debugLineNum = 53936198;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53936199; + //BA.debugLineNum = 53936199;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53936200; + //BA.debugLineNum = 53936200;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53936201; + //BA.debugLineNum = 53936201;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53936203; + //BA.debugLineNum = 53936203;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre calle1: "+__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53936204; + //BA.debugLineNum = 53936204;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2."; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Entre Calle2: "+__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53936206; + //BA.debugLineNum = 53936206;BA.debugLine="Printer1.WriteString(\"--------------PEDIDO PREACO"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------------PEDIDO PREACORDADO----------------"+_elinefeed); +RDebugUtils.currentLine=53936208; + //BA.debugLineNum = 53936208;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)}))); +RDebugUtils.currentLine=53936209; + //BA.debugLineNum = 53936209;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 39: +//if +this.state = 76; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=53936210; + //BA.debugLineNum = 53936210;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 42: +//for +this.state = 75; +step55 = 1; +limit55 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 111; +if (true) break; + +case 111: +//C +this.state = 75; +if ((step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55)) this.state = 44; +if (true) break; + +case 112: +//C +this.state = 111; +_i = ((int)(0 + _i + step55)) ; +if (true) break; + +case 44: +//C +this.state = 45; +RDebugUtils.currentLine=53936211; + //BA.debugLineNum = 53936211;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53936212; + //BA.debugLineNum = 53936212;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +if (true) break; + +case 45: +//if +this.state = 74; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +this.state = 47; +}else { +this.state = 49; +}if (true) break; + +case 47: +//C +this.state = 74; +RDebugUtils.currentLine=53936213; + //BA.debugLineNum = 53936213;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); + if (true) break; + +case 49: +//C +this.state = 50; +RDebugUtils.currentLine=53936215; + //BA.debugLineNum = 53936215;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then"; +if (true) break; + +case 50: +//if +this.state = 73; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECALCULO")==0) { +this.state = 52; +}else +{RDebugUtils.currentLine=53936230; + //BA.debugLineNum = 53936230;BA.debugLine="Else if s.GetInt(\"PE_CANT\") = s.GetInt(\"PE_REC"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")==__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { +this.state = 58; +}else +{RDebugUtils.currentLine=53936251; + //BA.debugLineNum = 53936251;BA.debugLine="Else if s.GetInt(\"PE_CANT\") <> s.GetInt(\"PE_RE"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")!=__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")) { +this.state = 64; +}}} +if (true) break; + +case 52: +//C +this.state = 53; +RDebugUtils.currentLine=53936216; + //BA.debugLineNum = 53936216;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53936217; + //BA.debugLineNum = 53936217;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936218; + //BA.debugLineNum = 53936218;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936219; + //BA.debugLineNum = 53936219;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936221; + //BA.debugLineNum = 53936221;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936223; + //BA.debugLineNum = 53936223;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 53: +//for +this.state = 56; +step66 = 1; +limit66 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 113; +if (true) break; + +case 113: +//C +this.state = 56; +if ((step66 > 0 && _e <= limit66) || (step66 < 0 && _e >= limit66)) this.state = 55; +if (true) break; + +case 114: +//C +this.state = 113; +_e = ((int)(0 + _e + step66)) ; +if (true) break; + +case 55: +//C +this.state = 114; +RDebugUtils.currentLine=53936224; + //BA.debugLineNum = 53936224;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 56: +//C +this.state = 73; +; +RDebugUtils.currentLine=53936226; + //BA.debugLineNum = 53936226;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53936227; + //BA.debugLineNum = 53936227;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53936228; + //BA.debugLineNum = 53936228;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53936229; + //BA.debugLineNum = 53936229;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 58: +//C +this.state = 59; +RDebugUtils.currentLine=53936231; + //BA.debugLineNum = 53936231;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53936232; + //BA.debugLineNum = 53936232;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936233; + //BA.debugLineNum = 53936233;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936234; + //BA.debugLineNum = 53936234;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936236; + //BA.debugLineNum = 53936236;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936238; + //BA.debugLineNum = 53936238;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 59: +//for +this.state = 62; +step79 = 1; +limit79 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 115; +if (true) break; + +case 115: +//C +this.state = 62; +if ((step79 > 0 && _e <= limit79) || (step79 < 0 && _e >= limit79)) this.state = 61; +if (true) break; + +case 116: +//C +this.state = 115; +_e = ((int)(0 + _e + step79)) ; +if (true) break; + +case 61: +//C +this.state = 116; +RDebugUtils.currentLine=53936239; + //BA.debugLineNum = 53936239;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 62: +//C +this.state = 73; +; +RDebugUtils.currentLine=53936242; + //BA.debugLineNum = 53936242;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); +RDebugUtils.currentLine=53936243; + //BA.debugLineNum = 53936243;BA.debugLine="descpro.Position = 0"; +_descpro.setPosition((int) (0)); +RDebugUtils.currentLine=53936245; + //BA.debugLineNum = 53936245;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53936247; + //BA.debugLineNum = 53936247;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53936248; + //BA.debugLineNum = 53936248;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53936249; + //BA.debugLineNum = 53936249;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53936250; + //BA.debugLineNum = 53936250;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 64: +//C +this.state = 65; +RDebugUtils.currentLine=53936252; + //BA.debugLineNum = 53936252;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))"; +parent.__c.LogImpl("053936252",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_RECCANT")),0); +RDebugUtils.currentLine=53936253; + //BA.debugLineNum = 53936253;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))"; +parent.__c.LogImpl("053936253",BA.NumberToString(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),0); +RDebugUtils.currentLine=53936254; + //BA.debugLineNum = 53936254;BA.debugLine="Log(\"aqui\")"; +parent.__c.LogImpl("053936254","aqui",0); +RDebugUtils.currentLine=53936255; + //BA.debugLineNum = 53936255;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\""; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53936256; + //BA.debugLineNum = 53936256;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936257; + //BA.debugLineNum = 53936257;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936258; + //BA.debugLineNum = 53936258;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOTREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936260; + //BA.debugLineNum = 53936260;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936262; + //BA.debugLineNum = 53936262;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 65: +//for +this.state = 68; +step98 = 1; +limit98 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 117; +if (true) break; + +case 117: +//C +this.state = 68; +if ((step98 > 0 && _e <= limit98) || (step98 < 0 && _e >= limit98)) this.state = 67; +if (true) break; + +case 118: +//C +this.state = 117; +_e = ((int)(0 + _e + step98)) ; +if (true) break; + +case 67: +//C +this.state = 118; +RDebugUtils.currentLine=53936263; + //BA.debugLineNum = 53936263;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +; +RDebugUtils.currentLine=53936267; + //BA.debugLineNum = 53936267;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer"; +_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); +RDebugUtils.currentLine=53936268; + //BA.debugLineNum = 53936268;BA.debugLine="descpro.Position = 0"; +_descpro.setPosition((int) (0)); +RDebugUtils.currentLine=53936270; + //BA.debugLineNum = 53936270;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53936271; + //BA.debugLineNum = 53936271;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53936273; + //BA.debugLineNum = 53936273;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C"; +_subtot = BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))); +RDebugUtils.currentLine=53936274; + //BA.debugLineNum = 53936274;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936275; + //BA.debugLineNum = 53936275;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOREC")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936276; + //BA.debugLineNum = 53936276;BA.debugLine="TAMANO = subTot + TAMANO"; +__ref._tamano /*int*/ = (int) ((double)(Double.parseDouble(_subtot))+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936278; + //BA.debugLineNum = 53936278;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936280; + //BA.debugLineNum = 53936280;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 69: +//for +this.state = 72; +step110 = 1; +limit110 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 119; +if (true) break; + +case 119: +//C +this.state = 72; +if ((step110 > 0 && _e <= limit110) || (step110 < 0 && _e >= limit110)) this.state = 71; +if (true) break; + +case 120: +//C +this.state = 119; +_e = ((int)(0 + _e + step110)) ; +if (true) break; + +case 71: +//C +this.state = 120; +RDebugUtils.currentLine=53936281; + //BA.debugLineNum = 53936281;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 72: +//C +this.state = 73; +; +RDebugUtils.currentLine=53936284; + //BA.debugLineNum = 53936284;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53936285; + //BA.debugLineNum = 53936285;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")))))+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed); +RDebugUtils.currentLine=53936288; + //BA.debugLineNum = 53936288;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53936289; + //BA.debugLineNum = 53936289;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53936290; + //BA.debugLineNum = 53936290;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 73: +//C +this.state = 74; +; + if (true) break; + +case 74: +//C +this.state = 112; +; + if (true) break; +if (true) break; + +case 75: +//C +this.state = 76; +; + if (true) break; + +case 76: +//C +this.state = 77; +; +RDebugUtils.currentLine=53936295; + //BA.debugLineNum = 53936295;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53936297; + //BA.debugLineNum = 53936297;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by PE_CEDIS, PE_COSTOU"))); +RDebugUtils.currentLine=53936298; + //BA.debugLineNum = 53936298;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 77: +//if +this.state = 102; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 79; +}if (true) break; + +case 79: +//C +this.state = 80; +RDebugUtils.currentLine=53936300; + //BA.debugLineNum = 53936300;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 80: +//for +this.state = 101; +step125 = 1; +limit125 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 121; +if (true) break; + +case 121: +//C +this.state = 101; +if ((step125 > 0 && _i <= limit125) || (step125 < 0 && _i >= limit125)) this.state = 82; +if (true) break; + +case 122: +//C +this.state = 121; +_i = ((int)(0 + _i + step125)) ; +if (true) break; + +case 82: +//C +this.state = 83; +RDebugUtils.currentLine=53936301; + //BA.debugLineNum = 53936301;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=53936302; + //BA.debugLineNum = 53936302;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR"; +if (true) break; + +case 83: +//if +this.state = 100; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +this.state = 85; +}else { +this.state = 87; +}if (true) break; + +case 85: +//C +this.state = 100; + if (true) break; + +case 87: +//C +this.state = 88; +RDebugUtils.currentLine=53936307; + //BA.debugLineNum = 53936307;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=53936308; + //BA.debugLineNum = 53936308;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936309; + //BA.debugLineNum = 53936309;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTOU")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936310; + //BA.debugLineNum = 53936310;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_COSTO_TOT")+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936312; + //BA.debugLineNum = 53936312;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=53936314; + //BA.debugLineNum = 53936314;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 88: +//for +this.state = 91; +step134 = 1; +limit134 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 123; +if (true) break; + +case 123: +//C +this.state = 91; +if ((step134 > 0 && _e <= limit134) || (step134 < 0 && _e >= limit134)) this.state = 90; +if (true) break; + +case 124: +//C +this.state = 123; +_e = ((int)(0 + _e + step134)) ; +if (true) break; + +case 90: +//C +this.state = 124; +RDebugUtils.currentLine=53936315; + //BA.debugLineNum = 53936315;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 91: +//C +this.state = 92; +; +RDebugUtils.currentLine=53936317; + //BA.debugLineNum = 53936317;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+" X $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")+" $"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")+_elinefeed); +RDebugUtils.currentLine=53936319; + //BA.debugLineNum = 53936319;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQu"; +_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+"' ")))); +RDebugUtils.currentLine=53936320; + //BA.debugLineNum = 53936320;BA.debugLine="If precioprom.RowCount > 0 Then"; +if (true) break; + +case 92: +//if +this.state = 99; +if (_precioprom.getRowCount()>0) { +this.state = 94; +}if (true) break; + +case 94: +//C +this.state = 95; +RDebugUtils.currentLine=53936321; + //BA.debugLineNum = 53936321;BA.debugLine="precioprom.Position = 0"; +_precioprom.setPosition((int) (0)); +RDebugUtils.currentLine=53936322; + //BA.debugLineNum = 53936322;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; +parent.__c.LogImpl("053936322",_precioprom.GetString("CAT_GP_PRECIO"),0); +RDebugUtils.currentLine=53936323; + //BA.debugLineNum = 53936323;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))"; +parent.__c.LogImpl("053936323",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=53936324; + //BA.debugLineNum = 53936324;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP"; +if (true) break; + +case 95: +//if +this.state = 98; +if ((parent.__c.NumberFormat2((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (0.),(int) (2),(int) (2),parent.__c.False)) == false) { +this.state = 97; +}if (true) break; + +case 97: +//C +this.state = 98; +RDebugUtils.currentLine=53936326; + //BA.debugLineNum = 53936326;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & preci"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._blanco /*String*/ +"PL $"+_precioprom.GetString("CAT_GP_PRECIO")+" Desc.: "+parent.__c.NumberFormat2(((((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))))*100)/(double)(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))),(int) (0.),(int) (2),(int) (2),parent.__c.False)+"%"+_elinefeed+_elinefeed); + if (true) break; + +case 98: +//C +this.state = 99; +; + if (true) break; + +case 99: +//C +this.state = 100; +; +RDebugUtils.currentLine=53936330; + //BA.debugLineNum = 53936330;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=53936331; + //BA.debugLineNum = 53936331;BA.debugLine="ESPACIO = 21"; +__ref._espacio /*int*/ = (int) (21); +RDebugUtils.currentLine=53936332; + //BA.debugLineNum = 53936332;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 100: +//C +this.state = 122; +; + if (true) break; +if (true) break; + +case 101: +//C +this.state = 102; +; +RDebugUtils.currentLine=53936335; + //BA.debugLineNum = 53936335;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); + if (true) break; + +case 102: +//C +this.state = 103; +; +RDebugUtils.currentLine=53936337; + //BA.debugLineNum = 53936337;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53936368; + //BA.debugLineNum = 53936368;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & N"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); +RDebugUtils.currentLine=53936369; + //BA.debugLineNum = 53936369;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango4"; +if (true) break; + +case 103: +//if +this.state = 106; +if ((parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)) == false) { +this.state = 105; +}if (true) break; + +case 105: +//C +this.state = 106; +RDebugUtils.currentLine=53936370; + //BA.debugLineNum = 53936370;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); + if (true) break; + +case 106: +//C +this.state = -1; +; +RDebugUtils.currentLine=53936373; + //BA.debugLineNum = 53936373;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed); +RDebugUtils.currentLine=53936375; + //BA.debugLineNum = 53936375;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=53936376; + //BA.debugLineNum = 53936376;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------------------------"+_elinefeed); +RDebugUtils.currentLine=53936377; + //BA.debugLineNum = 53936377;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ENTREGA EN :"+_elinefeed); +RDebugUtils.currentLine=53936378; + //BA.debugLineNum = 53936378;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=53936379; + //BA.debugLineNum = 53936379;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET N"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------------ESTE TICKET NO ES UN--------------"+_elinefeed); +RDebugUtils.currentLine=53936380; + //BA.debugLineNum = 53936380;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISCA"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----------COMPROBANTE FISCAL, SOLO ES-----------"+_elinefeed); +RDebugUtils.currentLine=53936381; + //BA.debugLineNum = 53936381;BA.debugLine="Printer1.WriteString(\"------------------INFORMATI"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------INFORMATIVO-------------------"+_elinefeed); +RDebugUtils.currentLine=53936382; + //BA.debugLineNum = 53936382;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------------------------"+_elinefeed); +RDebugUtils.currentLine=53936383; + //BA.debugLineNum = 53936383;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=53936385; + //BA.debugLineNum = 53936385;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "impresion5"),(int) (1000)); +this.state = 125; +return; +case 125: +//C +this.state = -1; +; +RDebugUtils.currentLine=53936386; + //BA.debugLineNum = 53936386;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*gunav2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=53936388; + //BA.debugLineNum = 53936388;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=53936391; + //BA.debugLineNum = 53936391;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _inicializarlocalizacionmejorada(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "inicializarlocalizacionmejorada", false)) + {return ((String) Debug.delegate(ba, "inicializarlocalizacionmejorada", null));} +anywheresoftware.b4j.object.JavaObject _locationmanager = null; +RDebugUtils.currentLine=50855936; + //BA.debugLineNum = 50855936;BA.debugLine="Sub InicializarLocalizacionMejorada"; +RDebugUtils.currentLine=50855938; + //BA.debugLineNum = 50855938;BA.debugLine="Dim LocationManager As JavaObject"; +_locationmanager = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=50855939; + //BA.debugLineNum = 50855939;BA.debugLine="LocationManager.InitializeStatic(\"android.locatio"; +_locationmanager.InitializeStatic("android.location.LocationManager"); +RDebugUtils.currentLine=50855941; + //BA.debugLineNum = 50855941;BA.debugLine="g.Start(0, 0) ' GPS"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Start(ba,(long) (0),(float) (0)); +RDebugUtils.currentLine=50855943; + //BA.debugLineNum = 50855943;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(gunav2.keymon.com.mx.c_cliente __ref,gunav2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +gunav2.keymon.com.mx.dbrequestmanager._dbresult _result1 = null; +Object[] _records = null; +String _k = ""; +String _permiso_geopass = ""; +gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +byte[] _cat_cl_foto = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar1 = null; +byte[] _fotomostrarfinal = null; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _inputstream1 = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bitmap1 = null; +RDebugUtils.currentLine=51249152; + //BA.debugLineNum = 51249152;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=51249153; + //BA.debugLineNum = 51249153;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=51249155; + //BA.debugLineNum = 51249155;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars"; +__c.LogImpl("051249155","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red); + }else { +RDebugUtils.currentLine=51249158; + //BA.debugLineNum = 51249158;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("051249158","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=51249159; + //BA.debugLineNum = 51249159;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=51249160; + //BA.debugLineNum = 51249160;BA.debugLine="Dim result1 As DBResult = reqManager.HandleJob("; +_result1 = __ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=51249161; + //BA.debugLineNum = 51249161;BA.debugLine="If result1.Tag = \"traeGeoPass\" Then 'query tag"; +if ((_result1.Tag /*Object*/ ).equals((Object)("traeGeoPass"))) { +RDebugUtils.currentLine=51249162; + //BA.debugLineNum = 51249162;BA.debugLine="Log(\"SIN REGISTROS \" & result1.Rows.Size)"; +__c.LogImpl("051249162","SIN REGISTROS "+BA.NumberToString(_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); +RDebugUtils.currentLine=51249163; + //BA.debugLineNum = 51249163;BA.debugLine="If result1.Rows.Size = 0 Then MsgboxAsync(\"Con"; +if (_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo."),BA.ObjectToCharSequence("ATENCION"),ba);}; +RDebugUtils.currentLine=51249164; + //BA.debugLineNum = 51249164;BA.debugLine="For Each records() As Object In result1.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group10 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen10 = group10.getSize() +;int index10 = 0; +; +for (; index10 < groupLen10;index10++){ +_records = (Object[])(group10.Get(index10)); +RDebugUtils.currentLine=51249165; + //BA.debugLineNum = 51249165;BA.debugLine="For Each k As String In result1.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group11 = _result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen11 = group11.getSize() +;int index11 = 0; +; +for (; index11 < groupLen11;index11++){ +_k = BA.ObjectToString(group11.Get(index11)); +RDebugUtils.currentLine=51249166; + //BA.debugLineNum = 51249166;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(k"; +__c.LogImpl("051249166",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; +RDebugUtils.currentLine=51249168; + //BA.debugLineNum = 51249168;BA.debugLine="Private permiso_geoPass As String = \"KO\""; +_permiso_geopass = "KO"; +RDebugUtils.currentLine=51249169; + //BA.debugLineNum = 51249169;BA.debugLine="Log($\"|${result1.Columns.Get(\"'OK'\")}|\"$)"; +__c.LogImpl("051249169",("|"+__c.SmartStringFormatter("",_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'")))+"|"),0); +RDebugUtils.currentLine=51249172; + //BA.debugLineNum = 51249172;BA.debugLine="permiso_geoPass = result1.Columns.Get(\"'OK'\""; +_permiso_geopass = BA.ObjectToString(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'"))); +RDebugUtils.currentLine=51249174; + //BA.debugLineNum = 51249174;BA.debugLine="If permiso_geoPass = \"OK\" Then"; +if ((_permiso_geopass).equals("OK")) { +RDebugUtils.currentLine=51249175; + //BA.debugLineNum = 51249175;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps"; +__ref._m_lat /*String*/ = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ; +RDebugUtils.currentLine=51249176; + //BA.debugLineNum = 51249176;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps"; +__ref._m_lon /*String*/ = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ; +RDebugUtils.currentLine=51249177; + //BA.debugLineNum = 51249177;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)"; +__ref._gps_locationchanged /*String*/ (null,_starter._ubicacionactual /*anywheresoftware.b4a.gps.LocationWrapper*/ ); +RDebugUtils.currentLine=51249178; + //BA.debugLineNum = 51249178;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info3 set CAT_CL_LAT = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ))+"', CAT_CL_LONG = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))+"' where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"'")); +RDebugUtils.currentLine=51249179; + //BA.debugLineNum = 51249179;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=51249180; + //BA.debugLineNum = 51249180;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=51249181; + //BA.debugLineNum = 51249181;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\""; +_cmd.Name /*String*/ = "delete_geoPass_GUNA"; +RDebugUtils.currentLine=51249182; + //BA.debugLineNum = 51249182;BA.debugLine="cmd.Parameters = Array As Object( Subs.traeA"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; +RDebugUtils.currentLine=51249183; + //BA.debugLineNum = 51249183;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPas"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("traeGeoPass")); + }else { +RDebugUtils.currentLine=51249185; + //BA.debugLineNum = 51249185;BA.debugLine="MsgboxAsync(\"Contraseña equivocada, por favo"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo."),BA.ObjectToCharSequence("ATENCION"),ba); + }; + } +}; + }; +RDebugUtils.currentLine=51249190; + //BA.debugLineNum = 51249190;BA.debugLine="If result1.Tag = \"codigoAutorizacion\" Then"; +if ((_result1.Tag /*Object*/ ).equals((Object)("codigoAutorizacion"))) { +RDebugUtils.currentLine=51249191; + //BA.debugLineNum = 51249191;BA.debugLine="If result1.Rows.Size > 0 Then"; +if (_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { +RDebugUtils.currentLine=51249192; + //BA.debugLineNum = 51249192;BA.debugLine="Log(\"Si hay codigo de autorizaion\")"; +__c.LogImpl("051249192","Si hay codigo de autorizaion",0); +RDebugUtils.currentLine=51249193; + //BA.debugLineNum = 51249193;BA.debugLine="For Each records() As Object In result1.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group35 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen35 = group35.getSize() +;int index35 = 0; +; +for (; index35 < groupLen35;index35++){ +_records = (Object[])(group35.Get(index35)); +RDebugUtils.currentLine=51249194; + //BA.debugLineNum = 51249194;BA.debugLine="For Each k As String In result1.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group36 = _result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen36 = group36.getSize() +;int index36 = 0; +; +for (; index36 < groupLen36;index36++){ +_k = BA.ObjectToString(group36.Get(index36)); +RDebugUtils.currentLine=51249195; + //BA.debugLineNum = 51249195;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get("; +__c.LogImpl("051249195",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; +RDebugUtils.currentLine=51249198; + //BA.debugLineNum = 51249198;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=51249199; + //BA.debugLineNum = 51249199;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=51249200; + //BA.debugLineNum = 51249200;BA.debugLine="cmd.Name = \"delete_codigoAutorizacion\""; +_cmd.Name /*String*/ = "delete_codigoAutorizacion"; +RDebugUtils.currentLine=51249201; + //BA.debugLineNum = 51249201;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAut"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))}; +RDebugUtils.currentLine=51249202; + //BA.debugLineNum = 51249202;BA.debugLine="reqManager.ExecuteCommand(cmd , \"deleteCodigo"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("deleteCodigoAutorizacion")); +RDebugUtils.currentLine=51249203; + //BA.debugLineNum = 51249203;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; +__c.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss"); +RDebugUtils.currentLine=51249204; + //BA.debugLineNum = 51249204;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=51249205; + //BA.debugLineNum = 51249205;BA.debugLine="cmd.Name = \"update_codigoAutorizacion\""; +_cmd.Name /*String*/ = "update_codigoAutorizacion"; +RDebugUtils.currentLine=51249207; + //BA.debugLineNum = 51249207;BA.debugLine="cmd.Parameters = Array As Object(DateTime.Dat"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__c.DateTime.Date(__c.DateTime.getNow())),(Object)(_subs._traeusuariodebd /*String*/ (ba)),(Object)(__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))}; +RDebugUtils.currentLine=51249208; + //BA.debugLineNum = 51249208;BA.debugLine="reqManager.ExecuteCommand(cmd , \"updateCodigo"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("updateCodigoAutorizacion")); +RDebugUtils.currentLine=51249209; + //BA.debugLineNum = 51249209;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)"); +RDebugUtils.currentLine=51249210; + //BA.debugLineNum = 51249210;BA.debugLine="p_transparenteTicketImpreso.Visible = False"; +__ref._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=51249211; + //BA.debugLineNum = 51249211;BA.debugLine="et_codigoAutorizacion.Text = \"\""; +__ref._et_codigoautorizacion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=51249212; + //BA.debugLineNum = 51249212;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=51249213; + //BA.debugLineNum = 51249213;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=51249214; + //BA.debugLineNum = 51249214;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=51249215; + //BA.debugLineNum = 51249215;BA.debugLine="ToastMessageShow(\"Listo, ya se puede modifica"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Listo, ya se puede modificar la venta."),__c.True); + }else { +RDebugUtils.currentLine=51249217; + //BA.debugLineNum = 51249217;BA.debugLine="ToastMessageShow(\"El codigo es incorrecto, po"; +__c.ToastMessageShow(BA.ObjectToCharSequence("El codigo es incorrecto, por favor revise y vuelva a intentar!!"),__c.True); + }; + }; +RDebugUtils.currentLine=51249220; + //BA.debugLineNum = 51249220;BA.debugLine="If result1.Tag = \"delete_codigoAutorizacion\" Th"; +if ((_result1.Tag /*Object*/ ).equals((Object)("delete_codigoAutorizacion"))) { +RDebugUtils.currentLine=51249221; + //BA.debugLineNum = 51249221;BA.debugLine="Log(\"Codigo Borrado!!\")"; +__c.LogImpl("051249221","Codigo Borrado!!",0); + }; +RDebugUtils.currentLine=51249223; + //BA.debugLineNum = 51249223;BA.debugLine="If result1.Tag = \"updateCodigoAutorizacion\" The"; +if ((_result1.Tag /*Object*/ ).equals((Object)("updateCodigoAutorizacion"))) { +RDebugUtils.currentLine=51249224; + //BA.debugLineNum = 51249224;BA.debugLine="Log(\"Codigo Actualizado\")"; +__c.LogImpl("051249224","Codigo Actualizado",0); + }; +RDebugUtils.currentLine=51249226; + //BA.debugLineNum = 51249226;BA.debugLine="If result1.Tag = \"insertEnvioTicketPDF\" Then"; +if ((_result1.Tag /*Object*/ ).equals((Object)("insertEnvioTicketPDF"))) { +RDebugUtils.currentLine=51249227; + //BA.debugLineNum = 51249227;BA.debugLine="Log(\"Información de ticket enviada a web!!\")"; +__c.LogImpl("051249227","Información de ticket enviada a web!!",0); + }; + }; +RDebugUtils.currentLine=51249249; + //BA.debugLineNum = 51249249;BA.debugLine="If result1.Tag = \"kmt_datos_foto\" Then 'query ta"; +if ((_result1.Tag /*Object*/ ).equals((Object)("kmt_datos_foto"))) { +RDebugUtils.currentLine=51249250; + //BA.debugLineNum = 51249250;BA.debugLine="For Each records() As Object In result1.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group72 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen72 = group72.getSize() +;int index72 = 0; +; +for (; index72 < groupLen72;index72++){ +_records = (Object[])(group72.Get(index72)); +RDebugUtils.currentLine=51249251; + //BA.debugLineNum = 51249251;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(result1.Co"; +_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]); + } +}; +RDebugUtils.currentLine=51249253; + //BA.debugLineNum = 51249253;BA.debugLine="Log(\"si paso\")"; +__c.LogImpl("051249253","si paso",0); +RDebugUtils.currentLine=51249254; + //BA.debugLineNum = 51249254;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_foto)})); +RDebugUtils.currentLine=51249256; + //BA.debugLineNum = 51249256;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQu"; +_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=51249257; + //BA.debugLineNum = 51249257;BA.debugLine="If fotomostrar.RowCount > 0 Then"; +if (_fotomostrar.getRowCount()>0) { +RDebugUtils.currentLine=51249258; + //BA.debugLineNum = 51249258;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.Exec"; +_fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NULL"))); +RDebugUtils.currentLine=51249259; + //BA.debugLineNum = 51249259;BA.debugLine="If fotomostrar1.RowCount > 0 Then"; +if (_fotomostrar1.getRowCount()>0) { +RDebugUtils.currentLine=51249260; + //BA.debugLineNum = 51249260;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"images.png").getObject())); +RDebugUtils.currentLine=51249261; + //BA.debugLineNum = 51249261;BA.debugLine="Log(\"aqui no hay foto\")"; +__c.LogImpl("051249261","aqui no hay foto",0); + }else { +RDebugUtils.currentLine=51249263; + //BA.debugLineNum = 51249263;BA.debugLine="fotomostrar.Position = 0"; +_fotomostrar.setPosition((int) (0)); +RDebugUtils.currentLine=51249264; + //BA.debugLineNum = 51249264;BA.debugLine="Private fotomostrarfinal() As Byte = fotomost"; +_fotomostrarfinal = _fotomostrar.GetBlob("foto"); +RDebugUtils.currentLine=51249265; + //BA.debugLineNum = 51249265;BA.debugLine="Dim InputStream1 As InputStream"; +_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=51249266; + //BA.debugLineNum = 51249266;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomos"; +_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length); +RDebugUtils.currentLine=51249267; + //BA.debugLineNum = 51249267;BA.debugLine="Dim Bitmap1 As Bitmap"; +_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=51249268; + //BA.debugLineNum = 51249268;BA.debugLine="Bitmap1.Initialize2(InputStream1)"; +_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject())); +RDebugUtils.currentLine=51249269; + //BA.debugLineNum = 51249269;BA.debugLine="InputStream1.Close"; +_inputstream1.Close(); +RDebugUtils.currentLine=51249270; + //BA.debugLineNum = 51249270;BA.debugLine="ImageView4.Bitmap = Bitmap1"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(_bitmap1.getObject())); +RDebugUtils.currentLine=51249271; + //BA.debugLineNum = 51249271;BA.debugLine="Log(\"aqui si hay foto\")"; +__c.LogImpl("051249271","aqui si hay foto",0); + }; + }; + }; + }; +RDebugUtils.currentLine=51249276; + //BA.debugLineNum = 51249276;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); +RDebugUtils.currentLine=51249277; + //BA.debugLineNum = 51249277;BA.debugLine="End Sub"; +return ""; +} +public String _l_atiende_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "l_atiende_longclick", false)) + {return ((String) Debug.delegate(ba, "l_atiende_longclick", null));} +RDebugUtils.currentLine=64552960; + //BA.debugLineNum = 64552960;BA.debugLine="Private Sub l_atiende_LongClick"; +RDebugUtils.currentLine=64552961; + //BA.debugLineNum = 64552961;BA.debugLine="p_atiende.Height = Root.Height"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=64552962; + //BA.debugLineNum = 64552962;BA.debugLine="p_atiende.Width = Root.Width"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=64552963; + //BA.debugLineNum = 64552963;BA.debugLine="p_atiende.Visible = True"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=64552964; + //BA.debugLineNum = 64552964;BA.debugLine="End Sub"; +return ""; +} +public String _l_chk_e_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "l_chk_e_click", false)) + {return ((String) Debug.delegate(ba, "l_chk_e_click", null));} +RDebugUtils.currentLine=61341696; + //BA.debugLineNum = 61341696;BA.debugLine="Private Sub l_chk_e_Click"; +RDebugUtils.currentLine=61341698; + //BA.debugLineNum = 61341698;BA.debugLine="End Sub"; +return ""; +} +public String _l_limite_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "l_limite_click", false)) + {return ((String) Debug.delegate(ba, "l_limite_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +String _fechainicio = ""; +long _ticksinicio = 0L; +long _tickshoy = 0L; +int _diferenciadias = 0; +RDebugUtils.currentLine=64290816; + //BA.debugLineNum = 64290816;BA.debugLine="Private Sub l_limite_Click"; +RDebugUtils.currentLine=64290819; + //BA.debugLineNum = 64290819;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt."; +_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=64290820; + //BA.debugLineNum = 64290820;BA.debugLine="If pagarepen.RowCount > 0 Then"; +if (_pagarepen.getRowCount()>0) { +RDebugUtils.currentLine=64290821; + //BA.debugLineNum = 64290821;BA.debugLine="Dim cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=64290822; + //BA.debugLineNum = 64290822;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=64290823; + //BA.debugLineNum = 64290823;BA.debugLine="p_deuda.Visible = True"; +__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=64290824; + //BA.debugLineNum = 64290824;BA.debugLine="p_deuda.Width = Root.Width"; +__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=64290825; + //BA.debugLineNum = 64290825;BA.debugLine="p_deuda.Height = Root.Height"; +__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=64290827; + //BA.debugLineNum = 64290827;BA.debugLine="pagarepen.Position = 0"; +_pagarepen.setPosition((int) (0)); +RDebugUtils.currentLine=64290828; + //BA.debugLineNum = 64290828;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=64290829; + //BA.debugLineNum = 64290829;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString("; +_fechainicio = _pagarepen.GetString("FECHA"); +RDebugUtils.currentLine=64290831; + //BA.debugLineNum = 64290831;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))"; +__c.LogImpl("064290831",_pagarepen.GetString("FECHA"),0); +RDebugUtils.currentLine=64290834; + //BA.debugLineNum = 64290834;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec"; +_ticksinicio = __c.DateTime.DateParse(_fechainicio); +RDebugUtils.currentLine=64290835; + //BA.debugLineNum = 64290835;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi"; +_tickshoy = __c.DateTime.DateParse(__c.DateTime.Date(__c.DateTime.getNow())); +RDebugUtils.currentLine=64290838; + //BA.debugLineNum = 64290838;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni"; +_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)__c.DateTime.TicksPerDay); +RDebugUtils.currentLine=64290841; + //BA.debugLineNum = 64290841;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)"; +__c.LogImpl("064290841",("Días transcurridos: "+__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0); +RDebugUtils.currentLine=64290843; + //BA.debugLineNum = 64290843;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=64290844; + //BA.debugLineNum = 64290844;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=64290846; + //BA.debugLineNum = 64290846;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT"; +if (_diferenciadias<=__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { +RDebugUtils.currentLine=64290850; + //BA.debugLineNum = 64290850;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M"; +__ref._l_deuda /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.RGB((int) (48),(int) (109),(int) (0))).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE"))).PopAll().getObject())); + }else +{RDebugUtils.currentLine=64290851; + //BA.debugLineNum = 64290851;BA.debugLine="Else If DiferenciaDias > c.GetInt(\"CAT_CL_DIASCR"; +if (_diferenciadias>__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1) { +RDebugUtils.currentLine=64290853; + //BA.debugLineNum = 64290853;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M"; +__ref._l_deuda /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Color(__c.Colors.Red).Size((int) (18)).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE")+__c.CRLF+__c.CRLF)).Pop().Size((int) (14)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Dias de atraso:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.Red).Append(BA.ObjectToCharSequence((_diferenciadias-(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_DIASCREDITO")+1)))).PopAll().getObject())); + }} +; + }else { +RDebugUtils.currentLine=64290856; + //BA.debugLineNum = 64290856;BA.debugLine="p_deuda.Visible = True"; +__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=64290858; + //BA.debugLineNum = 64290858;BA.debugLine="p_deuda.Width = Root.Width"; +__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=64290859; + //BA.debugLineNum = 64290859;BA.debugLine="p_deuda.Height = Root.Height"; +__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=64290861; + //BA.debugLineNum = 64290861;BA.debugLine="l_deuda.Text = \"No tiene adeudo\""; +__ref._l_deuda /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("No tiene adeudo")); + }; +RDebugUtils.currentLine=64290864; + //BA.debugLineNum = 64290864;BA.debugLine="End Sub"; +return ""; +} +public String _la_geo_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "la_geo_click", false)) + {return ((String) Debug.delegate(ba, "la_geo_click", null));} +RDebugUtils.currentLine=61734912; + //BA.debugLineNum = 61734912;BA.debugLine="Private Sub LA_GEO_Click"; +RDebugUtils.currentLine=61734913; + //BA.debugLineNum = 61734913;BA.debugLine="Log(geoCont)"; +__c.LogImpl("061734913",BA.NumberToString(__ref._geocont /*int*/ ),0); +RDebugUtils.currentLine=61734914; + //BA.debugLineNum = 61734914;BA.debugLine="If geoCont = 3 Then"; +if (__ref._geocont /*int*/ ==3) { +RDebugUtils.currentLine=61734915; + //BA.debugLineNum = 61734915;BA.debugLine="Subs.centraPanel(p_pideGeoPass, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_pidegeopass /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=61734916; + //BA.debugLineNum = 61734916;BA.debugLine="geoCont = 0"; +__ref._geocont /*int*/ = (int) (0); +RDebugUtils.currentLine=61734917; + //BA.debugLineNum = 61734917;BA.debugLine="If distance > 99 Then"; +if (__ref._distance /*long*/ >99) { +RDebugUtils.currentLine=61734918; + //BA.debugLineNum = 61734918;BA.debugLine="p_pideGeoPass.BringToFront"; +__ref._p_pidegeopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=61734919; + //BA.debugLineNum = 61734919;BA.debugLine="et_geopass.RequestFocus"; +__ref._et_geopass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=61734920; + //BA.debugLineNum = 61734920;BA.debugLine="p_pideGeoPass.Visible = True"; +__ref._p_pidegeopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); + }; + }; +RDebugUtils.currentLine=61734923; + //BA.debugLineNum = 61734923;BA.debugLine="geoCont = geoCont + 1"; +__ref._geocont /*int*/ = (int) (__ref._geocont /*int*/ +1); +RDebugUtils.currentLine=61734924; + //BA.debugLineNum = 61734924;BA.debugLine="End Sub"; +return ""; +} +public String _la_geo_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "la_geo_longclick", false)) + {return ((String) Debug.delegate(ba, "la_geo_longclick", null));} +RDebugUtils.currentLine=51183616; + //BA.debugLineNum = 51183616;BA.debugLine="Private Sub LA_GEO_LongClick"; +RDebugUtils.currentLine=51183621; + //BA.debugLineNum = 51183621;BA.debugLine="End Sub"; +return ""; +} +public String _la_gps_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "la_gps_click", false)) + {return ((String) Debug.delegate(ba, "la_gps_click", null));} +RDebugUtils.currentLine=50659328; + //BA.debugLineNum = 50659328;BA.debugLine="Private Sub LA_GPS_Click"; +RDebugUtils.currentLine=50659330; + //BA.debugLineNum = 50659330;BA.debugLine="MejorarPrecisionGPS"; +__ref._mejorarprecisiongps /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null); +RDebugUtils.currentLine=50659332; + //BA.debugLineNum = 50659332;BA.debugLine="ToastMessageShow(\"Mejorando precisión GPS...\", Fa"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Mejorando precisión GPS..."),__c.False); +RDebugUtils.currentLine=50659333; + //BA.debugLineNum = 50659333;BA.debugLine="End Sub"; +return ""; +} +public String _label19_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "label19_click", false)) + {return ((String) Debug.delegate(ba, "label19_click", null));} +String _numerotel = ""; +anywheresoftware.b4a.objects.IntentWrapper _intent1 = null; +RDebugUtils.currentLine=63569920; + //BA.debugLineNum = 63569920;BA.debugLine="Private Sub Label19_Click"; +RDebugUtils.currentLine=63569921; + //BA.debugLineNum = 63569921;BA.debugLine="Dim numeroTel As String = Label19.Text"; +_numerotel = __ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=63569923; + //BA.debugLineNum = 63569923;BA.debugLine="numeroTel = numeroTel.Replace(\" \", \"\").Replace(\"-"; +_numerotel = _numerotel.replace(" ","").replace("-","").replace("(","").replace(")",""); +RDebugUtils.currentLine=63569925; + //BA.debugLineNum = 63569925;BA.debugLine="If numeroTel.Length > 0 Then"; +if (_numerotel.length()>0) { +RDebugUtils.currentLine=63569926; + //BA.debugLineNum = 63569926;BA.debugLine="Dim Intent1 As Intent"; +_intent1 = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=63569927; + //BA.debugLineNum = 63569927;BA.debugLine="Intent1.Initialize(\"android.intent.action.DIAL\","; +_intent1.Initialize("android.intent.action.DIAL","tel:"+_numerotel); +RDebugUtils.currentLine=63569928; + //BA.debugLineNum = 63569928;BA.debugLine="StartActivity(Intent1)"; +__c.StartActivity(ba,(Object)(_intent1.getObject())); + }else { +RDebugUtils.currentLine=63569930; + //BA.debugLineNum = 63569930;BA.debugLine="ToastMessageShow(\"Número no válido\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Número no válido"),__c.False); + }; +RDebugUtils.currentLine=63569933; + //BA.debugLineNum = 63569933;BA.debugLine="Return True"; +if (true) return BA.ObjectToString(__c.True); +RDebugUtils.currentLine=63569934; + //BA.debugLineNum = 63569934;BA.debugLine="End Sub"; +return ""; +} +public String _label19_longclick(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "label19_longclick", false)) + {return ((String) Debug.delegate(ba, "label19_longclick", null));} +RDebugUtils.currentLine=64815104; + //BA.debugLineNum = 64815104;BA.debugLine="Private Sub Label19_LongClick"; +RDebugUtils.currentLine=64815105; + //BA.debugLineNum = 64815105;BA.debugLine="p_telefono.Height = Root.Height"; +__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=64815106; + //BA.debugLineNum = 64815106;BA.debugLine="p_telefono.Width = Root.Width"; +__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=64815107; + //BA.debugLineNum = 64815107;BA.debugLine="p_telefono.Visible = True"; +__ref._p_telefono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=64815110; + //BA.debugLineNum = 64815110;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(gunav2.keymon.com.mx.c_cliente __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=51314688; + //BA.debugLineNum = 51314688;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=51314690; + //BA.debugLineNum = 51314690;BA.debugLine="End Sub"; +return ""; +} +public void _mandawamsgcredito(gunav2.keymon.com.mx.c_cliente __ref,String _numtel,String _monto) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandawamsgcredito", false)) + {Debug.delegate(ba, "mandawamsgcredito", new Object[] {_numtel,_monto}); return;} +ResumableSub_mandaWAMsgCredito rsub = new ResumableSub_mandaWAMsgCredito(this,__ref,_numtel,_monto); +rsub.resume(ba, null); +} +public static class ResumableSub_mandaWAMsgCredito extends BA.ResumableSub { +public ResumableSub_mandaWAMsgCredito(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref,String _numtel,String _monto) { +this.parent = parent; +this.__ref = __ref; +this._numtel = _numtel; +this._monto = _monto; +this.__ref = parent; +} +gunav2.keymon.com.mx.c_cliente __ref; +gunav2.keymon.com.mx.c_cliente parent; +String _numtel; +String _monto; +String _fecha = ""; +String _idcliente = ""; +String _link = ""; +String _eljson = ""; +gunav2.keymon.com.mx.httpjob _job = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=63176705; + //BA.debugLineNum = 63176705;BA.debugLine="DateTime.DateFormat=\"MM/dd/yyyy HH:mm:ss\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy HH:mm:ss"); +RDebugUtils.currentLine=63176706; + //BA.debugLineNum = 63176706;BA.debugLine="Private Fecha As String=DateTime.Date(DateTime.no"; +_fecha = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=63176707; + //BA.debugLineNum = 63176707;BA.debugLine="numTel = \"521\" & numTel"; +_numtel = "521"+_numtel; +RDebugUtils.currentLine=63176708; + //BA.debugLineNum = 63176708;BA.debugLine="Private numTel As String = \"5215554192439\""; +_numtel = "5215554192439"; +RDebugUtils.currentLine=63176710; + //BA.debugLineNum = 63176710;BA.debugLine="Private idCliente As String = Subs.traeCliente '\""; +_idcliente = parent._subs._traecliente /*String*/ (ba); +RDebugUtils.currentLine=63176711; + //BA.debugLineNum = 63176711;BA.debugLine="Private ruta As String = Subs.traeRuta '\"333\""; +parent._ruta = parent._subs._traeruta /*String*/ (ba); +RDebugUtils.currentLine=63176712; + //BA.debugLineNum = 63176712;BA.debugLine="Private ALMACEN As String = Subs.traeAlmacen '\"1\""; +parent._almacen = parent._subs._traealmacen /*String*/ (ba); +RDebugUtils.currentLine=63176715; + //BA.debugLineNum = 63176715;BA.debugLine="Private link As String = \"http://keymon.net:9000/"; +_link = "http://keymon.net:9000/v1/messages"; +RDebugUtils.currentLine=63176716; + //BA.debugLineNum = 63176716;BA.debugLine="Private elJSON As String = $\"{ \"number\":\"${numT"; +_eljson = ("{\n"+" \"number\":\""+parent.__c.SmartStringFormatter("",(Object)(_numtel))+"\",\n"+" \"message\":\"Tu compra de Guna va ser a *crédito* por el monto de $"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.NumberFormat2((double)(Double.parseDouble(_monto)),(int) (1),(int) (2),(int) (2),parent.__c.True)))+"\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)\",\n"+" \"monto\":\""+parent.__c.SmartStringFormatter("",(Object)(_monto))+"\",\n"+" \"idcliente\":\""+parent.__c.SmartStringFormatter("",(Object)(_idcliente))+"\",\n"+" \"almacen\":\""+parent.__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+"\",\n"+" \"ruta\": \""+parent.__c.SmartStringFormatter("",(Object)(__ref._ruta /*String*/ ))+"\",\n"+" \"fecha\":\""+parent.__c.SmartStringFormatter("",(Object)(_fecha))+"\"\n"+" }"); +RDebugUtils.currentLine=63176725; + //BA.debugLineNum = 63176725;BA.debugLine="Private job As HttpJob"; +_job = new gunav2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=63176726; + //BA.debugLineNum = 63176726;BA.debugLine="job.Initialize(\"\", Me)"; +_job._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=63176727; + //BA.debugLineNum = 63176727;BA.debugLine="job.PostString(link, elJSON)"; +_job._poststring /*String*/ (null,_link,_eljson); +RDebugUtils.currentLine=63176728; + //BA.debugLineNum = 63176728;BA.debugLine="job.GetRequest.SetContentType(\"application/json\")"; +_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null).SetContentType("application/json"); +RDebugUtils.currentLine=63176729; + //BA.debugLineNum = 63176729;BA.debugLine="Wait For (job) JobDone(job As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "mandawamsgcredito"), (Object)(_job)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_job = (gunav2.keymon.com.mx.httpjob) result[1]; +; +RDebugUtils.currentLine=63176741; + //BA.debugLineNum = 63176741;BA.debugLine="Log(\"Whatsapp enviado con exito: \" & job.Success)"; +parent.__c.LogImpl("063176741","Whatsapp enviado con exito: "+BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=63176742; + //BA.debugLineNum = 63176742;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _muestrabotoncentrado(gunav2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.ButtonWrapper _thisbutton,String _thetext,String _thetag,int _top,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "muestrabotoncentrado", false)) + {return ((String) Debug.delegate(ba, "muestrabotoncentrado", new Object[] {_thisbutton,_thetext,_thetag,_top,_width,_height}));} +int _anchopantalla = 0; +RDebugUtils.currentLine=61276160; + //BA.debugLineNum = 61276160;BA.debugLine="Sub muestraBotonCentrado (thisButton As Button, th"; +RDebugUtils.currentLine=61276161; + //BA.debugLineNum = 61276161;BA.debugLine="Private anchoPantalla As Int"; +_anchopantalla = 0; +RDebugUtils.currentLine=61276162; + //BA.debugLineNum = 61276162;BA.debugLine="thisButton.Text = theText"; +_thisbutton.setText(BA.ObjectToCharSequence(_thetext)); +RDebugUtils.currentLine=61276163; + //BA.debugLineNum = 61276163;BA.debugLine="thisButton.Tag = theTag"; +_thisbutton.setTag((Object)(_thetag)); +RDebugUtils.currentLine=61276164; + //BA.debugLineNum = 61276164;BA.debugLine="anchoPantalla = GetDeviceLayoutValues.Width"; +_anchopantalla = __c.GetDeviceLayoutValues(ba).Width; +RDebugUtils.currentLine=61276165; + //BA.debugLineNum = 61276165;BA.debugLine="thisButton.Left = (anchoPantalla/2) - (width/2)"; +_thisbutton.setLeft((int) ((_anchopantalla/(double)2)-(_width/(double)2))); +RDebugUtils.currentLine=61276166; + //BA.debugLineNum = 61276166;BA.debugLine="thisButton.Top = Top"; +_thisbutton.setTop(_top); +RDebugUtils.currentLine=61276167; + //BA.debugLineNum = 61276167;BA.debugLine="thisButton.Width = width"; +_thisbutton.setWidth(_width); +RDebugUtils.currentLine=61276168; + //BA.debugLineNum = 61276168;BA.debugLine="thisButton.Height = height"; +_thisbutton.setHeight(_height); +RDebugUtils.currentLine=61276169; + //BA.debugLineNum = 61276169;BA.debugLine="thisButton.Visible = True"; +_thisbutton.setVisible(__c.True); +RDebugUtils.currentLine=61276170; + //BA.debugLineNum = 61276170;BA.debugLine="End Sub"; +return ""; +} +public String _nuevo_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "nuevo_click", false)) + {return ((String) Debug.delegate(ba, "nuevo_click", null));} +RDebugUtils.currentLine=53215232; + //BA.debugLineNum = 53215232;BA.debugLine="Sub NUEVO_Click"; +RDebugUtils.currentLine=53215233; + //BA.debugLineNum = 53215233;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); +RDebugUtils.currentLine=53215234; + //BA.debugLineNum = 53215234;BA.debugLine="End Sub"; +return ""; +} +public String _openpdf(gunav2.keymon.com.mx.c_cliente __ref,String _afile) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "openpdf", false)) + {return ((String) Debug.delegate(ba, "openpdf", new Object[] {_afile}));} +anywheresoftware.b4a.objects.IntentWrapper _in = null; +RDebugUtils.currentLine=62324736; + //BA.debugLineNum = 62324736;BA.debugLine="private Sub openPDF(afile As String)"; +RDebugUtils.currentLine=62324741; + //BA.debugLineNum = 62324741;BA.debugLine="Dim in As Intent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=62324742; + //BA.debugLineNum = 62324742;BA.debugLine="in.Initialize(in.ACTION_VIEW, \"\")"; +_in.Initialize(_in.ACTION_VIEW,""); +RDebugUtils.currentLine=62324743; + //BA.debugLineNum = 62324743;BA.debugLine="Starter.ffileProvider.SetFileUriAsIntentData(in,"; +_starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._setfileuriasintentdata /*String*/ (null,_in,_afile); +RDebugUtils.currentLine=62324744; + //BA.debugLineNum = 62324744;BA.debugLine="in.SetComponent(\"android/com.android.internal.app"; +_in.SetComponent("android/com.android.internal.app.ResolverActivity"); +RDebugUtils.currentLine=62324745; + //BA.debugLineNum = 62324745;BA.debugLine="in.SetType(\"application/pdf\")"; +_in.SetType("application/pdf"); +RDebugUtils.currentLine=62324746; + //BA.debugLineNum = 62324746;BA.debugLine="StartActivity(in)"; +__c.StartActivity(ba,(Object)(_in.getObject())); +RDebugUtils.currentLine=62324751; + //BA.debugLineNum = 62324751;BA.debugLine="End Sub"; +return ""; +} +public String _p_atiende_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_atiende_click", false)) + {return ((String) Debug.delegate(ba, "p_atiende_click", null));} +RDebugUtils.currentLine=64749568; + //BA.debugLineNum = 64749568;BA.debugLine="Private Sub p_atiende_Click"; +RDebugUtils.currentLine=64749570; + //BA.debugLineNum = 64749570;BA.debugLine="End Sub"; +return ""; +} +public String _p_camara_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_camara_click", false)) + {return ((String) Debug.delegate(ba, "p_camara_click", null));} +RDebugUtils.currentLine=63897600; + //BA.debugLineNum = 63897600;BA.debugLine="Private Sub p_camara_Click"; +RDebugUtils.currentLine=63897602; + //BA.debugLineNum = 63897602;BA.debugLine="End Sub"; +return ""; +} +public String _p_cliente__click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_cliente__click", false)) + {return ((String) Debug.delegate(ba, "p_cliente__click", null));} +RDebugUtils.currentLine=64094208; + //BA.debugLineNum = 64094208;BA.debugLine="Private Sub p_cliente__Click"; +RDebugUtils.currentLine=64094210; + //BA.debugLineNum = 64094210;BA.debugLine="End Sub"; +return ""; +} +public String _p_cliente_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_cliente_click", false)) + {return ((String) Debug.delegate(ba, "p_cliente_click", null));} +RDebugUtils.currentLine=55115776; + //BA.debugLineNum = 55115776;BA.debugLine="Private Sub p_cliente_Click"; +RDebugUtils.currentLine=55115778; + //BA.debugLineNum = 55115778;BA.debugLine="End Sub"; +return ""; +} +public String _p_comentario_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_comentario_click", false)) + {return ((String) Debug.delegate(ba, "p_comentario_click", null));} +RDebugUtils.currentLine=63242240; + //BA.debugLineNum = 63242240;BA.debugLine="Private Sub p_comentario_Click"; +RDebugUtils.currentLine=63242242; + //BA.debugLineNum = 63242242;BA.debugLine="End Sub"; +return ""; +} +public String _p_comentarios_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_comentarios_click", false)) + {return ((String) Debug.delegate(ba, "p_comentarios_click", null));} +RDebugUtils.currentLine=63307776; + //BA.debugLineNum = 63307776;BA.debugLine="Private Sub p_comentarios_Click"; +RDebugUtils.currentLine=63307778; + //BA.debugLineNum = 63307778;BA.debugLine="End Sub"; +return ""; +} +public String _p_deuda_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_deuda_click", false)) + {return ((String) Debug.delegate(ba, "p_deuda_click", null));} +RDebugUtils.currentLine=64421888; + //BA.debugLineNum = 64421888;BA.debugLine="Private Sub p_deuda_Click"; +RDebugUtils.currentLine=64421889; + //BA.debugLineNum = 64421889;BA.debugLine="p_deuda.Visible = False"; +__ref._p_deuda /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64421890; + //BA.debugLineNum = 64421890;BA.debugLine="End Sub"; +return ""; +} +public String _p_encuesta_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_encuesta_click", false)) + {return ((String) Debug.delegate(ba, "p_encuesta_click", null));} +RDebugUtils.currentLine=61538304; + //BA.debugLineNum = 61538304;BA.debugLine="Private Sub p_encuesta_Click"; +RDebugUtils.currentLine=61538306; + //BA.debugLineNum = 61538306;BA.debugLine="End Sub"; +return ""; +} +public String _p_modulo5_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_modulo5_click", false)) + {return ((String) Debug.delegate(ba, "p_modulo5_click", null));} +RDebugUtils.currentLine=58261504; + //BA.debugLineNum = 58261504;BA.debugLine="Private Sub p_modulo5_Click"; +RDebugUtils.currentLine=58261506; + //BA.debugLineNum = 58261506;BA.debugLine="End Sub"; +return ""; +} +public String _p_pidegeopass_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_pidegeopass_click", false)) + {return ((String) Debug.delegate(ba, "p_pidegeopass_click", null));} +RDebugUtils.currentLine=50987008; + //BA.debugLineNum = 50987008;BA.debugLine="Private Sub p_pideGeoPass_Click"; +RDebugUtils.currentLine=50987010; + //BA.debugLineNum = 50987010;BA.debugLine="End Sub"; +return ""; +} +public String _p_telefono_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_telefono_click", false)) + {return ((String) Debug.delegate(ba, "p_telefono_click", null));} +RDebugUtils.currentLine=65011712; + //BA.debugLineNum = 65011712;BA.debugLine="Private Sub p_telefono_Click"; +RDebugUtils.currentLine=65011714; + //BA.debugLineNum = 65011714;BA.debugLine="End Sub"; +return ""; +} +public String _p_transparenteiniciofin_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_transparenteiniciofin_click", false)) + {return ((String) Debug.delegate(ba, "p_transparenteiniciofin_click", null));} +RDebugUtils.currentLine=61800448; + //BA.debugLineNum = 61800448;BA.debugLine="Private Sub p_transparenteInicioFin_Click"; +RDebugUtils.currentLine=61800450; + //BA.debugLineNum = 61800450;BA.debugLine="End Sub"; +return ""; +} +public String _p_transparentepdf_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_transparentepdf_click", false)) + {return ((String) Debug.delegate(ba, "p_transparentepdf_click", null));} +RDebugUtils.currentLine=62849024; + //BA.debugLineNum = 62849024;BA.debugLine="Private Sub p_transparentePDF_Click"; +RDebugUtils.currentLine=62849026; + //BA.debugLineNum = 62849026;BA.debugLine="End Sub"; +return ""; +} +public String _p_transparenteticketimpreso_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_transparenteticketimpreso_click", false)) + {return ((String) Debug.delegate(ba, "p_transparenteticketimpreso_click", null));} +RDebugUtils.currentLine=61931520; + //BA.debugLineNum = 61931520;BA.debugLine="Private Sub p_transparenteTicketImpreso_Click"; +RDebugUtils.currentLine=61931522; + //BA.debugLineNum = 61931522;BA.debugLine="End Sub"; +return ""; +} +public String _p6_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p6_textchanged", false)) + {return ((String) Debug.delegate(ba, "p6_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=57606144; + //BA.debugLineNum = 57606144;BA.debugLine="Private Sub p6_TextChanged (Old As String, New As"; +RDebugUtils.currentLine=57606145; + //BA.debugLineNum = 57606145;BA.debugLine="If p6.Text.Length > 2 Then"; +if (__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2) { +RDebugUtils.currentLine=57606146; + //BA.debugLineNum = 57606146;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido1\",\"A"; +__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido1"),BA.ObjectToCharSequence("Aviso"),ba); +RDebugUtils.currentLine=57606147; + //BA.debugLineNum = 57606147;BA.debugLine="p6.Text = \"\""; +__ref._p6 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=57606149; + //BA.debugLineNum = 57606149;BA.debugLine="End Sub"; +return ""; +} +public String _p7_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p7_textchanged", false)) + {return ((String) Debug.delegate(ba, "p7_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=57671680; + //BA.debugLineNum = 57671680;BA.debugLine="Private Sub p7_TextChanged (Old As String, New As"; +RDebugUtils.currentLine=57671681; + //BA.debugLineNum = 57671681;BA.debugLine="If p7.Text.Length > 2 Then"; +if (__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2) { +RDebugUtils.currentLine=57671682; + //BA.debugLineNum = 57671682;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido2\",\"A"; +__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido2"),BA.ObjectToCharSequence("Aviso"),ba); +RDebugUtils.currentLine=57671683; + //BA.debugLineNum = 57671683;BA.debugLine="p7.Text = \"\""; +__ref._p7 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=57671685; + //BA.debugLineNum = 57671685;BA.debugLine="End Sub"; +return ""; +} +public String _p8_textchanged(gunav2.keymon.com.mx.c_cliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p8_textchanged", false)) + {return ((String) Debug.delegate(ba, "p8_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=57737216; + //BA.debugLineNum = 57737216;BA.debugLine="Private Sub p8_TextChanged (Old As String, New As"; +RDebugUtils.currentLine=57737217; + //BA.debugLineNum = 57737217;BA.debugLine="If p8.Text.Length > 2 Then"; +if (__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>2) { +RDebugUtils.currentLine=57737219; + //BA.debugLineNum = 57737219;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido3\",\"A"; +__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido3"),BA.ObjectToCharSequence("Aviso"),ba); +RDebugUtils.currentLine=57737220; + //BA.debugLineNum = 57737220;BA.debugLine="p8.Text = \"\""; +__ref._p8 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=57737222; + //BA.debugLineNum = 57737222;BA.debugLine="End Sub"; +return ""; +} +public String _panel10_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "panel10_click", false)) + {return ((String) Debug.delegate(ba, "panel10_click", null));} +RDebugUtils.currentLine=61472768; + //BA.debugLineNum = 61472768;BA.debugLine="Private Sub Panel10_Click"; +RDebugUtils.currentLine=61472770; + //BA.debugLineNum = 61472770;BA.debugLine="End Sub"; +return ""; +} +public String _panel4_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "panel4_click", false)) + {return ((String) Debug.delegate(ba, "panel4_click", null));} +RDebugUtils.currentLine=58327040; + //BA.debugLineNum = 58327040;BA.debugLine="Private Sub Panel4_Click"; +RDebugUtils.currentLine=58327042; + //BA.debugLineNum = 58327042;BA.debugLine="End Sub"; +return ""; +} +public String _panel5_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "panel5_click", false)) + {return ((String) Debug.delegate(ba, "panel5_click", null));} +RDebugUtils.currentLine=55181312; + //BA.debugLineNum = 55181312;BA.debugLine="Private Sub Panel5_Click"; +RDebugUtils.currentLine=55181314; + //BA.debugLineNum = 55181314;BA.debugLine="End Sub"; +return ""; +} +public String _savepdf(gunav2.keymon.com.mx.c_cliente __ref,gunav2.keymon.com.mx.cpdf _apdf,String _afile,int _acompress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "savepdf", false)) + {return ((String) Debug.delegate(ba, "savepdf", new Object[] {_apdf,_afile,_acompress}));} +String _folder = ""; +RDebugUtils.currentLine=62259200; + //BA.debugLineNum = 62259200;BA.debugLine="private Sub savePDF(apdf As cPDF,afile As String,a"; +RDebugUtils.currentLine=62259201; + //BA.debugLineNum = 62259201;BA.debugLine="Dim folder As String"; +_folder = ""; +RDebugUtils.currentLine=62259206; + //BA.debugLineNum = 62259206;BA.debugLine="folder = Starter.fFileProvider.SharedFolder"; +_folder = _starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ; +RDebugUtils.currentLine=62259213; + //BA.debugLineNum = 62259213;BA.debugLine="apdf.saveToFile(folder, afile, acompress)"; +_apdf._savetofile /*gunav2.keymon.com.mx.cpdf*/ (null,_folder,_afile,_acompress); +RDebugUtils.currentLine=62259214; + //BA.debugLineNum = 62259214;BA.debugLine="End Sub"; +return ""; +} +public String _pnlplanlealtad_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "pnlplanlealtad_click", false)) + {return ((String) Debug.delegate(ba, "pnlplanlealtad_click", null));} +RDebugUtils.currentLine=64159744; + //BA.debugLineNum = 64159744;BA.debugLine="Private Sub pnlPlanLealtad_Click"; +RDebugUtils.currentLine=64159746; + //BA.debugLineNum = 64159746;BA.debugLine="End Sub"; +return ""; +} +public String _printer_connected(gunav2.keymon.com.mx.c_cliente __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "printer_connected", false)) + {return ((String) Debug.delegate(ba, "printer_connected", new Object[] {_success}));} +RDebugUtils.currentLine=54394880; + //BA.debugLineNum = 54394880;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +RDebugUtils.currentLine=54394881; + //BA.debugLineNum = 54394881;BA.debugLine="If Success Then"; +if (_success) { + }else { +RDebugUtils.currentLine=54394886; + //BA.debugLineNum = 54394886;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; +if (__c.Msgbox2(BA.ObjectToCharSequence(""),BA.ObjectToCharSequence("Printer Error"),"Reprint","Cancel","",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { +RDebugUtils.currentLine=54394887; + //BA.debugLineNum = 54394887;BA.debugLine="StartPrinter"; +__ref._startprinter /*String*/ (null); + }; + }; +RDebugUtils.currentLine=54394890; + //BA.debugLineNum = 54394890;BA.debugLine="End Sub"; +return ""; +} +public String _startprinter(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "startprinter", false)) + {return ((String) Debug.delegate(ba, "startprinter", null));} +anywheresoftware.b4a.objects.collections.List _l1 = null; +int _resimp = 0; +int _i = 0; +RDebugUtils.currentLine=54460416; + //BA.debugLineNum = 54460416;BA.debugLine="Sub StartPrinter"; +RDebugUtils.currentLine=54460417; + //BA.debugLineNum = 54460417;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=54460418; + //BA.debugLineNum = 54460418;BA.debugLine="Dim L1 As List"; +_l1 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=54460419; + //BA.debugLineNum = 54460419;BA.debugLine="Dim resimp As Int"; +_resimp = 0; +RDebugUtils.currentLine=54460420; + //BA.debugLineNum = 54460420;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); +RDebugUtils.currentLine=54460421; + //BA.debugLineNum = 54460421;BA.debugLine="PairedDevices.Initialize"; +__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=54460422; + //BA.debugLineNum = 54460422;BA.debugLine="Try"; +try {RDebugUtils.currentLine=54460423; + //BA.debugLineNum = 54460423;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ = __ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices(); + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=54460425; + //BA.debugLineNum = 54460425;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=54460426; + //BA.debugLineNum = 54460426;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=54460427; + //BA.debugLineNum = 54460427;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; +RDebugUtils.currentLine=54460430; + //BA.debugLineNum = 54460430;BA.debugLine="If PairedDevices.Size = 0 Then"; +if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==0) { +RDebugUtils.currentLine=54460431; + //BA.debugLineNum = 54460431;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; +__c.Msgbox(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found"),BA.ObjectToCharSequence(""),ba); +RDebugUtils.currentLine=54460432; + //BA.debugLineNum = 54460432;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=54460435; + //BA.debugLineNum = 54460435;BA.debugLine="If PairedDevices.Size = 1 Then"; +if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==1) { +RDebugUtils.currentLine=54460436; + //BA.debugLineNum = 54460436;BA.debugLine="Try"; +try {RDebugUtils.currentLine=54460437; + //BA.debugLineNum = 54460437;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Get(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .GetKeyAt((int) (0))))); + } + catch (Exception e21) { + ba.setLastException(e21);RDebugUtils.currentLine=54460439; + //BA.debugLineNum = 54460439;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=54460440; + //BA.debugLineNum = 54460440;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=54460441; + //BA.debugLineNum = 54460441;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; + }else { +RDebugUtils.currentLine=54460444; + //BA.debugLineNum = 54460444;BA.debugLine="L1.Initialize"; +_l1.Initialize(); +RDebugUtils.currentLine=54460445; + //BA.debugLineNum = 54460445;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +{ +final int step27 = 1; +final int limit27 = (int) (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit27 ;_i = _i + step27 ) { +RDebugUtils.currentLine=54460446; + //BA.debugLineNum = 54460446;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +_l1.Add(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .GetKeyAt(_i)); + } +}; +RDebugUtils.currentLine=54460448; + //BA.debugLineNum = 54460448;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +_resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); +RDebugUtils.currentLine=54460449; + //BA.debugLineNum = 54460449;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +if (_resimp!=__c.DialogResponse.CANCEL) { +RDebugUtils.currentLine=54460450; + //BA.debugLineNum = 54460450;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_l1.Get(_resimp)))); + }; + }; +RDebugUtils.currentLine=54460453; + //BA.debugLineNum = 54460453;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_connected(gunav2.keymon.com.mx.c_cliente __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "printer1_connected", false)) + {return ((String) Debug.delegate(ba, "printer1_connected", new Object[] {_success}));} +RDebugUtils.currentLine=54263808; + //BA.debugLineNum = 54263808;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=54263810; + //BA.debugLineNum = 54263810;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=54263811; + //BA.debugLineNum = 54263811;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); +RDebugUtils.currentLine=54263812; + //BA.debugLineNum = 54263812;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")})); +RDebugUtils.currentLine=54263813; + //BA.debugLineNum = 54263813;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )})); +RDebugUtils.currentLine=54263816; + //BA.debugLineNum = 54263816;BA.debugLine="impresoraConectada = True"; +__ref._impresoraconectada /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=54263820; + //BA.debugLineNum = 54263820;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +__c.LogImpl("054263820","Error conectando la impresora",__c.Colors.Red); +RDebugUtils.currentLine=54263821; + //BA.debugLineNum = 54263821;BA.debugLine="errorImpresora = errorImpresora + 1"; +__ref._errorimpresora /*int*/ = (int) (__ref._errorimpresora /*int*/ +1); +RDebugUtils.currentLine=54263822; + //BA.debugLineNum = 54263822;BA.debugLine="If errorImpresora > 1 Then"; +if (__ref._errorimpresora /*int*/ >1) { +RDebugUtils.currentLine=54263823; + //BA.debugLineNum = 54263823;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +_starter._mac_impresora /*String*/ = "0"; +RDebugUtils.currentLine=54263824; + //BA.debugLineNum = 54263824;BA.debugLine="errorImpresora = 0"; +__ref._errorimpresora /*int*/ = (int) (0); + }; + }; +RDebugUtils.currentLine=54263827; + //BA.debugLineNum = 54263827;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_error(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "printer1_error", false)) + {return ((String) Debug.delegate(ba, "printer1_error", null));} +RDebugUtils.currentLine=54329344; + //BA.debugLineNum = 54329344;BA.debugLine="Sub Printer1_Error"; +RDebugUtils.currentLine=54329345; + //BA.debugLineNum = 54329345;BA.debugLine="Log(\"error printer\")"; +__c.LogImpl("054329345","error printer",0); +RDebugUtils.currentLine=54329346; + //BA.debugLineNum = 54329346;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55640064; + //BA.debugLineNum = 55640064;BA.debugLine="Private Sub RadioButton1_CheckedChange(Checked As"; +RDebugUtils.currentLine=55640065; + //BA.debugLineNum = 55640065;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55640066; + //BA.debugLineNum = 55640066;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055640066",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55640067; + //BA.debugLineNum = 55640067;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton10_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton10_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton10_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=56229888; + //BA.debugLineNum = 56229888;BA.debugLine="Private Sub RadioButton10_CheckedChange(Checked As"; +RDebugUtils.currentLine=56229889; + //BA.debugLineNum = 56229889;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=56229890; + //BA.debugLineNum = 56229890;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056229890",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56229891; + //BA.debugLineNum = 56229891;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton11_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton11_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton11_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=56295424; + //BA.debugLineNum = 56295424;BA.debugLine="Private Sub RadioButton11_CheckedChange(Checked As"; +RDebugUtils.currentLine=56295425; + //BA.debugLineNum = 56295425;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=56295426; + //BA.debugLineNum = 56295426;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056295426",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56295427; + //BA.debugLineNum = 56295427;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton12_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton12_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton12_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=56360960; + //BA.debugLineNum = 56360960;BA.debugLine="Private Sub RadioButton12_CheckedChange(Checked As"; +RDebugUtils.currentLine=56360961; + //BA.debugLineNum = 56360961;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=56360962; + //BA.debugLineNum = 56360962;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056360962",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56360963; + //BA.debugLineNum = 56360963;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton13_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton13_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton13_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=56426496; + //BA.debugLineNum = 56426496;BA.debugLine="Private Sub RadioButton13_CheckedChange(Checked As"; +RDebugUtils.currentLine=56426497; + //BA.debugLineNum = 56426497;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=56426498; + //BA.debugLineNum = 56426498;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056426498",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56426499; + //BA.debugLineNum = 56426499;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton14_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton14_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton14_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=56492032; + //BA.debugLineNum = 56492032;BA.debugLine="Private Sub RadioButton14_CheckedChange(Checked As"; +RDebugUtils.currentLine=56492033; + //BA.debugLineNum = 56492033;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=56492034; + //BA.debugLineNum = 56492034;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056492034",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56492035; + //BA.debugLineNum = 56492035;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton15_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton15_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton15_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55574528; + //BA.debugLineNum = 55574528;BA.debugLine="Private Sub RadioButton15_CheckedChange(Checked As"; +RDebugUtils.currentLine=55574529; + //BA.debugLineNum = 55574529;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55574530; + //BA.debugLineNum = 55574530;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055574530",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55574531; + //BA.debugLineNum = 55574531;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton16_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton16_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton16_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55508992; + //BA.debugLineNum = 55508992;BA.debugLine="Private Sub RadioButton16_CheckedChange(Checked As"; +RDebugUtils.currentLine=55508993; + //BA.debugLineNum = 55508993;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55508994; + //BA.debugLineNum = 55508994;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055508994",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55508995; + //BA.debugLineNum = 55508995;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton17_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton17_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton17_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55443456; + //BA.debugLineNum = 55443456;BA.debugLine="Private Sub RadioButton17_CheckedChange(Checked As"; +RDebugUtils.currentLine=55443457; + //BA.debugLineNum = 55443457;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55443458; + //BA.debugLineNum = 55443458;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055443458",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55443459; + //BA.debugLineNum = 55443459;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55705600; + //BA.debugLineNum = 55705600;BA.debugLine="Private Sub RadioButton2_CheckedChange(Checked As"; +RDebugUtils.currentLine=55705601; + //BA.debugLineNum = 55705601;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55705602; + //BA.debugLineNum = 55705602;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055705602",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55705603; + //BA.debugLineNum = 55705603;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55771136; + //BA.debugLineNum = 55771136;BA.debugLine="Private Sub RadioButton3_CheckedChange(Checked As"; +RDebugUtils.currentLine=55771137; + //BA.debugLineNum = 55771137;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55771138; + //BA.debugLineNum = 55771138;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055771138",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55771139; + //BA.debugLineNum = 55771139;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton4_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton4_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton4_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55836672; + //BA.debugLineNum = 55836672;BA.debugLine="Private Sub RadioButton4_CheckedChange(Checked As"; +RDebugUtils.currentLine=55836673; + //BA.debugLineNum = 55836673;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55836674; + //BA.debugLineNum = 55836674;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055836674",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55836675; + //BA.debugLineNum = 55836675;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton5_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton5_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton5_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55902208; + //BA.debugLineNum = 55902208;BA.debugLine="Private Sub RadioButton5_CheckedChange(Checked As"; +RDebugUtils.currentLine=55902209; + //BA.debugLineNum = 55902209;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55902210; + //BA.debugLineNum = 55902210;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055902210",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55902211; + //BA.debugLineNum = 55902211;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton6_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton6_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton6_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55967744; + //BA.debugLineNum = 55967744;BA.debugLine="Private Sub RadioButton6_CheckedChange(Checked As"; +RDebugUtils.currentLine=55967745; + //BA.debugLineNum = 55967745;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55967746; + //BA.debugLineNum = 55967746;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055967746",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55967747; + //BA.debugLineNum = 55967747;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton7_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton7_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton7_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=56033280; + //BA.debugLineNum = 56033280;BA.debugLine="Private Sub RadioButton7_CheckedChange(Checked As"; +RDebugUtils.currentLine=56033281; + //BA.debugLineNum = 56033281;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=56033282; + //BA.debugLineNum = 56033282;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056033282",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56033283; + //BA.debugLineNum = 56033283;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton8_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton8_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton8_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=56098816; + //BA.debugLineNum = 56098816;BA.debugLine="Private Sub RadioButton8_CheckedChange(Checked As"; +RDebugUtils.currentLine=56098817; + //BA.debugLineNum = 56098817;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=56098818; + //BA.debugLineNum = 56098818;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056098818",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56098819; + //BA.debugLineNum = 56098819;BA.debugLine="End Sub"; +return ""; +} +public String _radiobutton9_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "radiobutton9_checkedchange", false)) + {return ((String) Debug.delegate(ba, "radiobutton9_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=56164352; + //BA.debugLineNum = 56164352;BA.debugLine="Private Sub RadioButton9_CheckedChange(Checked As"; +RDebugUtils.currentLine=56164353; + //BA.debugLineNum = 56164353;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=56164354; + //BA.debugLineNum = 56164354;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("056164354",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=56164355; + //BA.debugLineNum = 56164355;BA.debugLine="End Sub"; +return ""; +} +public String _rb1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=54722560; + //BA.debugLineNum = 54722560;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=54722561; + //BA.debugLineNum = 54722561;BA.debugLine="If RB1.Checked = True Then"; +if (__ref._rb1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=54722562; + //BA.debugLineNum = 54722562;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\""; +__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("CENTRAL DE ABASTOS")); + }; +RDebugUtils.currentLine=54722564; + //BA.debugLineNum = 54722564;BA.debugLine="End Sub"; +return ""; +} +public String _rb1_e1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb1_e1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb1_e1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55246848; + //BA.debugLineNum = 55246848;BA.debugLine="Private Sub RB1_E1_CheckedChange(Checked As Boolea"; +RDebugUtils.currentLine=55246849; + //BA.debugLineNum = 55246849;BA.debugLine="Log($\"RB1 Clicked - chk:${Sender.As(RadioButton)."; +__c.LogImpl("055246849",("RB1 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0); +RDebugUtils.currentLine=55246850; + //BA.debugLineNum = 55246850;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55246851; + //BA.debugLineNum = 55246851;BA.debugLine="encuentasmapa.Remove(\"P2\")"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)("P2")); +RDebugUtils.currentLine=55246852; + //BA.debugLineNum = 55246852;BA.debugLine="Panel7.Visible = False"; +__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=55246853; + //BA.debugLineNum = 55246853;BA.debugLine="RadioButton17.Checked = False"; +__ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=55246854; + //BA.debugLineNum = 55246854;BA.debugLine="RadioButton16.Checked = False"; +__ref._radiobutton16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=55246855; + //BA.debugLineNum = 55246855;BA.debugLine="RadioButton15.Checked = False"; +__ref._radiobutton15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=55246856; + //BA.debugLineNum = 55246856;BA.debugLine="encuentasmapa.Remove(\"P2\")"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)("P2")); +RDebugUtils.currentLine=55246857; + //BA.debugLineNum = 55246857;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055246857",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55246858; + //BA.debugLineNum = 55246858;BA.debugLine="End Sub"; +return ""; +} +public String _rb1_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb1_p4_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb1_p4_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58064896; + //BA.debugLineNum = 58064896;BA.debugLine="Private Sub RB1_P4_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58064897; + //BA.debugLineNum = 58064897;BA.debugLine="If RB1_P4_M2.Checked = True Then"; +if (__ref._rb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=58064898; + //BA.debugLineNum = 58064898;BA.debugLine="Panel7_M2.Visible = True"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=58064899; + //BA.debugLineNum = 58064899;BA.debugLine="panel7_p4_m2.Visible = True"; +__ref._panel7_p4_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=58064901; + //BA.debugLineNum = 58064901;BA.debugLine="Panel7_M2.Visible = False"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=58064902; + //BA.debugLineNum = 58064902;BA.debugLine="panel7_p4_m2.Visible = False"; +__ref._panel7_p4_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=58064905; + //BA.debugLineNum = 58064905;BA.debugLine="End Sub"; +return ""; +} +public String _rb2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=54788096; + //BA.debugLineNum = 54788096;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=54788097; + //BA.debugLineNum = 54788097;BA.debugLine="If RB2.Checked = True Then"; +if (__ref._rb2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=54788098; + //BA.debugLineNum = 54788098;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\""; +__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("AUTOSERVICIO")); + }; +RDebugUtils.currentLine=54788100; + //BA.debugLineNum = 54788100;BA.debugLine="End Sub"; +return ""; +} +public String _rb2_e1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb2_e1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb2_e1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55312384; + //BA.debugLineNum = 55312384;BA.debugLine="Private Sub RB2_E1_CheckedChange(Checked As Boolea"; +RDebugUtils.currentLine=55312385; + //BA.debugLineNum = 55312385;BA.debugLine="Log($\"RB2 Clicked - chk:${Sender.As(RadioButton)."; +__c.LogImpl("055312385",("RB2 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0); +RDebugUtils.currentLine=55312386; + //BA.debugLineNum = 55312386;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55312387; + //BA.debugLineNum = 55312387;BA.debugLine="RadioButton17.Checked = False"; +__ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=55312388; + //BA.debugLineNum = 55312388;BA.debugLine="encuentasmapa.Remove(\"P2\")"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)("P2")); +RDebugUtils.currentLine=55312389; + //BA.debugLineNum = 55312389;BA.debugLine="RadioButton17.Checked = False"; +__ref._radiobutton17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=55312390; + //BA.debugLineNum = 55312390;BA.debugLine="RadioButton16.Checked = False"; +__ref._radiobutton16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=55312391; + //BA.debugLineNum = 55312391;BA.debugLine="RadioButton15.Checked = False"; +__ref._radiobutton15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=55312392; + //BA.debugLineNum = 55312392;BA.debugLine="Panel7.Visible = False"; +__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=55312393; + //BA.debugLineNum = 55312393;BA.debugLine="encuentasmapa.Remove(\"P2\")"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)("P2")); +RDebugUtils.currentLine=55312394; + //BA.debugLineNum = 55312394;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055312394",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55312395; + //BA.debugLineNum = 55312395;BA.debugLine="End Sub"; +return ""; +} +public String _rb2_p4_m2_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb2_p4_m2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb2_p4_m2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=58130432; + //BA.debugLineNum = 58130432;BA.debugLine="Private Sub RB2_P4_M2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=58130433; + //BA.debugLineNum = 58130433;BA.debugLine="If RB2_P4_M2.Checked = True Then"; +if (__ref._rb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=58130434; + //BA.debugLineNum = 58130434;BA.debugLine="Panel7_M2.Visible = False"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=58130435; + //BA.debugLineNum = 58130435;BA.debugLine="panel7_p4_m2.Visible = False"; +__ref._panel7_p4_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=58130436; + //BA.debugLineNum = 58130436;BA.debugLine="RB1_P3_M2.Checked = False"; +__ref._rb1_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=58130437; + //BA.debugLineNum = 58130437;BA.debugLine="RB2_P3_M2.Checked = False"; +__ref._rb2_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=58130438; + //BA.debugLineNum = 58130438;BA.debugLine="RB3_P3_M2.Checked = False"; +__ref._rb3_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=58130439; + //BA.debugLineNum = 58130439;BA.debugLine="RB4_P3_M2.Checked = False"; +__ref._rb4_p3_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=58130440; + //BA.debugLineNum = 58130440;BA.debugLine="ET_P3_M2.Text = \"\""; +__ref._et_p3_m2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=58130441; + //BA.debugLineNum = 58130441;BA.debugLine="CB1_P4_M2.Checked = False"; +__ref._cb1_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=58130442; + //BA.debugLineNum = 58130442;BA.debugLine="CB2_P4_M2.Checked = False"; +__ref._cb2_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=58130443; + //BA.debugLineNum = 58130443;BA.debugLine="CB3_P4_M2.Checked = False"; +__ref._cb3_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=58130444; + //BA.debugLineNum = 58130444;BA.debugLine="CB4_P4_M2.Checked = False"; +__ref._cb4_p4_m2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=58130445; + //BA.debugLineNum = 58130445;BA.debugLine="textemp3 = \"\""; +__ref._textemp3 /*String*/ = ""; + }else { +RDebugUtils.currentLine=58130447; + //BA.debugLineNum = 58130447;BA.debugLine="Panel7_M2.Visible = True"; +__ref._panel7_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=58130448; + //BA.debugLineNum = 58130448;BA.debugLine="panel7_p4_m2.Visible = True"; +__ref._panel7_p4_m2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=58130451; + //BA.debugLineNum = 58130451;BA.debugLine="End Sub"; +return ""; +} +public String _rb3_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=54853632; + //BA.debugLineNum = 54853632;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=54853633; + //BA.debugLineNum = 54853633;BA.debugLine="If RB3.Checked = True Then"; +if (__ref._rb3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=54853634; + //BA.debugLineNum = 54853634;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\""; +__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("CLUB DE PRECIO")); + }; +RDebugUtils.currentLine=54853636; + //BA.debugLineNum = 54853636;BA.debugLine="End Sub"; +return ""; +} +public String _rb3_e1_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb3_e1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb3_e1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=55377920; + //BA.debugLineNum = 55377920;BA.debugLine="Private Sub RB3_E1_CheckedChange(Checked As Boolea"; +RDebugUtils.currentLine=55377921; + //BA.debugLineNum = 55377921;BA.debugLine="Log($\"RB3 Clicked - chk:${Sender.As(RadioButton)."; +__c.LogImpl("055377921",("RB3 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0); +RDebugUtils.currentLine=55377922; + //BA.debugLineNum = 55377922;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te"; +__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText())); +RDebugUtils.currentLine=55377924; + //BA.debugLineNum = 55377924;BA.debugLine="Panel7.Visible = True"; +__ref._panel7 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=55377925; + //BA.debugLineNum = 55377925;BA.debugLine="Log(encuentasmapa)"; +__c.LogImpl("055377925",BA.ObjectToString(__ref._encuentasmapa /*anywheresoftware.b4a.objects.collections.Map*/ ),0); +RDebugUtils.currentLine=55377926; + //BA.debugLineNum = 55377926;BA.debugLine="End Sub"; +return ""; +} +public String _rb4_checkedchange(gunav2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb4_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb4_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=54919168; + //BA.debugLineNum = 54919168;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=54919169; + //BA.debugLineNum = 54919169;BA.debugLine="If RB4.Checked = True Then"; +if (__ref._rb4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=54919170; + //BA.debugLineNum = 54919170;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\""; +__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("DIRECTO PEDEGREE")); + }; +RDebugUtils.currentLine=54919172; + //BA.debugLineNum = 54919172;BA.debugLine="End Sub"; +return ""; +} +public String _revisargeocerca(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "revisargeocerca", false)) + {return ((String) Debug.delegate(ba, "revisargeocerca", null));} +RDebugUtils.currentLine=50724864; + //BA.debugLineNum = 50724864;BA.debugLine="Private Sub RevisarGeocerca"; +RDebugUtils.currentLine=50724867; + //BA.debugLineNum = 50724867;BA.debugLine="Log(distancealm)"; +__c.LogImpl("050724867",BA.NumberToString(__ref._distancealm /*long*/ ),0); +RDebugUtils.currentLine=50724868; + //BA.debugLineNum = 50724868;BA.debugLine="Log(distance)"; +__c.LogImpl("050724868",BA.NumberToString(__ref._distance /*long*/ ),0); +RDebugUtils.currentLine=50724870; + //BA.debugLineNum = 50724870;BA.debugLine="If distancealm > 0 Or distance > 50 Then"; +if (__ref._distancealm /*long*/ >0 || __ref._distance /*long*/ >50) { +RDebugUtils.currentLine=50724871; + //BA.debugLineNum = 50724871;BA.debugLine="If distancealm < 100 Or distance < 50 Then"; +if (__ref._distancealm /*long*/ <100 || __ref._distance /*long*/ <50) { +RDebugUtils.currentLine=50724872; + //BA.debugLineNum = 50724872;BA.debugLine="HabilitarBotones(True)"; +__ref._habilitarbotones /*String*/ (null,__c.True); + }else { +RDebugUtils.currentLine=50724874; + //BA.debugLineNum = 50724874;BA.debugLine="HabilitarBotones(True)"; +__ref._habilitarbotones /*String*/ (null,__c.True); + }; + }; +RDebugUtils.currentLine=50724877; + //BA.debugLineNum = 50724877;BA.debugLine="End Sub"; +return ""; +} +public void _sc_result(gunav2.keymon.com.mx.c_cliente __ref,String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "sc_result", false)) + {Debug.delegate(ba, "sc_result", new Object[] {_atype,_values,_image}); return;} +ResumableSub_sc_result rsub = new ResumableSub_sc_result(this,__ref,_atype,_values,_image); +rsub.resume(ba, null); +} +public static class ResumableSub_sc_result extends BA.ResumableSub { +public ResumableSub_sc_result(gunav2.keymon.com.mx.c_cliente parent,gunav2.keymon.com.mx.c_cliente __ref,String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) { +this.parent = parent; +this.__ref = __ref; +this._atype = _atype; +this._values = _values; +this._image = _image; +this.__ref = parent; +} +gunav2.keymon.com.mx.c_cliente __ref; +gunav2.keymon.com.mx.c_cliente parent; +String _atype; +String _values; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image; +int _resultado = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=53411843; + //BA.debugLineNum = 53411843;BA.debugLine="CODIGO = Values"; +__ref._codigo /*String*/ = _values; +RDebugUtils.currentLine=53411844; + //BA.debugLineNum = 53411844;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM kmt_info3 WHERE CAT_CL_NUM_SERIEFISICO = ?",new String[]{__ref._codigo /*String*/ }))); +RDebugUtils.currentLine=53411845; + //BA.debugLineNum = 53411845;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=53411846; + //BA.debugLineNum = 53411846;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then"; if (true) break; case 1: //if this.state = 16; -if ((double)(Double.parseDouble(parent._dd.GetString("CUANTOS")))>0) { +if ((double)(Double.parseDouble(__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { this.state = 3; }else { this.state = 5; @@ -18769,20 +25153,22 @@ this.state = 5; case 3: //C this.state = 16; - //BA.debugLineNum = 3097;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")"; +RDebugUtils.currentLine=53411847; + //BA.debugLineNum = 53411847;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")"; parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código ya asignado"),BA.ObjectToCharSequence("AVISO"),ba); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 3099;BA.debugLine="If CODIGO.Length = 7 Then"; +RDebugUtils.currentLine=53411849; + //BA.debugLineNum = 53411849;BA.debugLine="If CODIGO.Length = 7 Then"; if (true) break; case 6: //if this.state = 15; -if (parent._codigo.length()==7) { +if (__ref._codigo /*String*/ .length()==7) { this.state = 8; }else { this.state = 14; @@ -18791,18 +25177,21 @@ this.state = 14; case 8: //C this.state = 9; - //BA.debugLineNum = 3100;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El código "+parent._codigo+" es correcto?"),BA.ObjectToCharSequence("Title"),"Yes","Cancel","No",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.False); - //BA.debugLineNum = 3101;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=53411850; + //BA.debugLineNum = 53411850;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El código "+__ref._codigo /*String*/ +" es correcto?"),BA.ObjectToCharSequence("Title"),"Yes","Cancel","No",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.False); +RDebugUtils.currentLine=53411851; + //BA.debugLineNum = 53411851;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "sc_result"), null); this.state = 17; return; case 17: //C this.state = 9; -_resultado = (Integer) result[0]; +_resultado = (Integer) result[1]; ; - //BA.debugLineNum = 3102;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +RDebugUtils.currentLine=53411852; + //BA.debugLineNum = 53411852;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 9: @@ -18815,14 +25204,18 @@ this.state = 11; case 11: //C this.state = 12; - //BA.debugLineNum = 3103;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._codigo),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 3104;BA.debugLine="L_QR.TEXT =CODIGO"; -parent._l_qr.setText(BA.ObjectToCharSequence(parent._codigo)); - //BA.debugLineNum = 3105;BA.debugLine="L_QR.TextColor = Colors.Blue"; -parent._l_qr.setTextColor(parent.__c.Colors.Blue); - //BA.debugLineNum = 3106;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._codigo),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=53411853; + //BA.debugLineNum = 53411853;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._codigo /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=53411854; + //BA.debugLineNum = 53411854;BA.debugLine="L_QR.TEXT =CODIGO"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._codigo /*String*/ )); +RDebugUtils.currentLine=53411855; + //BA.debugLineNum = 53411855;BA.debugLine="L_QR.TextColor = Colors.Blue"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Blue); +RDebugUtils.currentLine=53411856; + //BA.debugLineNum = 53411856;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._codigo /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); if (true) break; case 12: @@ -18834,7 +25227,8 @@ this.state = 15; case 14: //C this.state = 15; - //BA.debugLineNum = 3109;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")"; +RDebugUtils.currentLine=53411859; + //BA.debugLineNum = 53411859;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")"; parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código No Valido"),BA.ObjectToCharSequence("AVISO"),ba); if (true) break; @@ -18848,133 +25242,71 @@ case 16: //C this.state = -1; ; - //BA.debugLineNum = 3112;BA.debugLine="DD.Close"; -parent._dd.Close(); - //BA.debugLineNum = 3113;BA.debugLine="End Sub"; +RDebugUtils.currentLine=53411862; + //BA.debugLineNum = 53411862;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=53411863; + //BA.debugLineNum = 53411863;BA.debugLine="End Sub"; if (true) break; } } } } -public String _sc_timedout(boolean _timedout) throws Exception{ - //BA.debugLineNum = 3115;BA.debugLine="Sub sc_timedout(timedOut As Boolean)"; - //BA.debugLineNum = 3116;BA.debugLine="Log(\"timedOut \" & timedOut)"; -__c.LogImpl("453411841","timedOut "+BA.ObjectToString(_timedout),0); - //BA.debugLineNum = 3117;BA.debugLine="End Sub"; +public String _sc_timedout(gunav2.keymon.com.mx.c_cliente __ref,boolean _timedout) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "sc_timedout", false)) + {return ((String) Debug.delegate(ba, "sc_timedout", new Object[] {_timedout}));} +RDebugUtils.currentLine=53477376; + //BA.debugLineNum = 53477376;BA.debugLine="Sub sc_timedout(timedOut As Boolean)"; +RDebugUtils.currentLine=53477377; + //BA.debugLineNum = 53477377;BA.debugLine="Log(\"timedOut \" & timedOut)"; +__c.LogImpl("053477377","timedOut "+BA.ObjectToString(_timedout),0); +RDebugUtils.currentLine=53477378; + //BA.debugLineNum = 53477378;BA.debugLine="End Sub"; return ""; } -public String _sc_usercancelled(boolean _usercancelled) throws Exception{ - //BA.debugLineNum = 3119;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)"; - //BA.debugLineNum = 3120;BA.debugLine="Log(\"userCancelled \" & userCancelled)"; -__c.LogImpl("453477377","userCancelled "+BA.ObjectToString(_usercancelled),0); - //BA.debugLineNum = 3121;BA.debugLine="End Sub"; +public String _sc_usercancelled(gunav2.keymon.com.mx.c_cliente __ref,boolean _usercancelled) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "sc_usercancelled", false)) + {return ((String) Debug.delegate(ba, "sc_usercancelled", new Object[] {_usercancelled}));} +RDebugUtils.currentLine=53542912; + //BA.debugLineNum = 53542912;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)"; +RDebugUtils.currentLine=53542913; + //BA.debugLineNum = 53542913;BA.debugLine="Log(\"userCancelled \" & userCancelled)"; +__c.LogImpl("053542913","userCancelled "+BA.ObjectToString(_usercancelled),0); +RDebugUtils.currentLine=53542914; + //BA.debugLineNum = 53542914;BA.debugLine="End Sub"; return ""; } -public String _startprinter() throws Exception{ -anywheresoftware.b4a.objects.collections.List _l1 = null; -int _resimp = 0; -int _i = 0; - //BA.debugLineNum = 4554;BA.debugLine="Sub StartPrinter"; - //BA.debugLineNum = 4555;BA.debugLine="Dim PairedDevices As Map"; -_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 4556;BA.debugLine="Dim L1 As List"; -_l1 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 4557;BA.debugLine="Dim resimp As Int"; -_resimp = 0; - //BA.debugLineNum = 4558;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); - //BA.debugLineNum = 4559;BA.debugLine="PairedDevices.Initialize"; -_paireddevices.Initialize(); - //BA.debugLineNum = 4560;BA.debugLine="Try"; -try { //BA.debugLineNum = 4561;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; -_paireddevices = _cmp20.GetPairedDevices(); - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 4563;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; -__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 4564;BA.debugLine="printer.Close"; -_printer.Close(); - //BA.debugLineNum = 4565;BA.debugLine="cmp20.Disconnect"; -_cmp20.Disconnect(); - }; - //BA.debugLineNum = 4568;BA.debugLine="If PairedDevices.Size = 0 Then"; -if (_paireddevices.getSize()==0) { - //BA.debugLineNum = 4569;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; -__c.Msgbox(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found"),BA.ObjectToCharSequence(""),ba); - //BA.debugLineNum = 4570;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 4573;BA.debugLine="If PairedDevices.Size = 1 Then"; -if (_paireddevices.getSize()==1) { - //BA.debugLineNum = 4574;BA.debugLine="Try"; -try { //BA.debugLineNum = 4575;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; -_cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_paireddevices.GetKeyAt((int) (0))))); - } - catch (Exception e21) { - ba.setLastException(e21); //BA.debugLineNum = 4577;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; -__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 4578;BA.debugLine="printer.Close"; -_printer.Close(); - //BA.debugLineNum = 4579;BA.debugLine="cmp20.Disconnect"; -_cmp20.Disconnect(); - }; - }else { - //BA.debugLineNum = 4582;BA.debugLine="L1.Initialize"; -_l1.Initialize(); - //BA.debugLineNum = 4583;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; -{ -final int step27 = 1; -final int limit27 = (int) (_paireddevices.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit27 ;_i = _i + step27 ) { - //BA.debugLineNum = 4584;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; -_l1.Add(_paireddevices.GetKeyAt(_i)); - } -}; - //BA.debugLineNum = 4586;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; -_resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); - //BA.debugLineNum = 4587;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; -if (_resimp!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 4588;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; -_cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l1.Get(_resimp)))); - }; - }; - //BA.debugLineNum = 4591;BA.debugLine="End Sub"; -return ""; -} -public String _stopcamera2() throws Exception{ - //BA.debugLineNum = 7815;BA.debugLine="Private Sub StopCamera2"; - //BA.debugLineNum = 7817;BA.debugLine="If camEx.IsInitialized Then"; -if (_camex.IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 7818;BA.debugLine="camEx.Release"; -_camex._release /*String*/ (); - }; - //BA.debugLineNum = 7820;BA.debugLine="End Sub"; -return ""; -} -public String _tar_click() throws Exception{ - //BA.debugLineNum = 2968;BA.debugLine="Sub Tar_Click"; - //BA.debugLineNum = 2969;BA.debugLine="B4XPages.ShowPage(\"Nota\")"; +public String _tar_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "tar_click", false)) + {return ((String) Debug.delegate(ba, "tar_click", null));} +RDebugUtils.currentLine=52887552; + //BA.debugLineNum = 52887552;BA.debugLine="Sub Tar_Click"; +RDebugUtils.currentLine=52887553; + //BA.debugLineNum = 52887553;BA.debugLine="B4XPages.ShowPage(\"Nota\")"; _b4xpages._showpage /*String*/ (ba,"Nota"); - //BA.debugLineNum = 2970;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52887554; + //BA.debugLineNum = 52887554;BA.debugLine="End Sub"; return ""; } -public String _tels_click() throws Exception{ - //BA.debugLineNum = 2933;BA.debugLine="Sub Tels_Click"; - //BA.debugLineNum = 2934;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")"; +public String _tels_click(gunav2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "tels_click", false)) + {return ((String) Debug.delegate(ba, "tels_click", null));} +RDebugUtils.currentLine=52756480; + //BA.debugLineNum = 52756480;BA.debugLine="Sub Tels_Click"; +RDebugUtils.currentLine=52756481; + //BA.debugLineNum = 52756481;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")"; _b4xpages._showpage /*String*/ (ba,"NoVenta"); - //BA.debugLineNum = 2935;BA.debugLine="End Sub"; +RDebugUtils.currentLine=52756482; + //BA.debugLineNum = 52756482;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((gunav2.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_clientes.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_clientes.java index 630297e..7921b61 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_clientes.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_clientes.java @@ -10,7 +10,7 @@ public class c_clientes extends B4AClass.ImplB4AClass implements BA.SubDelegator private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_clientes"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_clientes"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_clientes extends B4AClass.ImplB4AClass implements BA.SubDelegator ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; @@ -49,116 +56,183 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b_qr_click() throws Exception{ +public Object _initialize(gunav2.keymon.com.mx.c_clientes __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=71041024; + //BA.debugLineNum = 71041024;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=71041025; + //BA.debugLineNum = 71041025;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=71041026; + //BA.debugLineNum = 71041026;BA.debugLine="End Sub"; +return null; +} +public String _b_qr_click(gunav2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_qr_click", false)) + {return ((String) Debug.delegate(ba, "b_qr_click", null));} int _scan_width = 0; int _scan_height = 0; - //BA.debugLineNum = 197;BA.debugLine="Sub b_qr_Click"; - //BA.debugLineNum = 198;BA.debugLine="Dim scan_width As Int"; +RDebugUtils.currentLine=71434240; + //BA.debugLineNum = 71434240;BA.debugLine="Sub b_qr_Click"; +RDebugUtils.currentLine=71434241; + //BA.debugLineNum = 71434241;BA.debugLine="Dim scan_width As Int"; _scan_width = 0; - //BA.debugLineNum = 199;BA.debugLine="Dim scan_height As Int"; +RDebugUtils.currentLine=71434242; + //BA.debugLineNum = 71434242;BA.debugLine="Dim scan_height As Int"; _scan_height = 0; - //BA.debugLineNum = 200;BA.debugLine="scan_width = 400"; +RDebugUtils.currentLine=71434243; + //BA.debugLineNum = 71434243;BA.debugLine="scan_width = 400"; _scan_width = (int) (400); - //BA.debugLineNum = 201;BA.debugLine="scan_height = 400"; +RDebugUtils.currentLine=71434244; + //BA.debugLineNum = 71434244;BA.debugLine="scan_height = 400"; _scan_height = (int) (400); - //BA.debugLineNum = 202;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71434245; + //BA.debugLineNum = 71434245;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(gunav2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 64;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 65;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; -_reqmanager._initialize /*String*/ (ba,this,_starter._server /*String*/ ); - //BA.debugLineNum = 66;BA.debugLine="busca.Text = \"\""; -_busca.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 67;BA.debugLine="entro = \"2\""; -_entro = "2"; - //BA.debugLineNum = 68;BA.debugLine="colonia = 0"; -_colonia = BA.NumberToString(0); - //BA.debugLineNum = 69;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where gestion = 0 ORDER BY CAT_CL_CODIGO"))); - //BA.debugLineNum = 70;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 71;BA.debugLine="lfila.Text = \"NOMBRE\""; -_lfila.setText(BA.ObjectToCharSequence("NOMBRE")); - //BA.debugLineNum = 72;BA.debugLine="Subs.SetDivider(ListView1, Colors.White, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.White,(int) (2)); - //BA.debugLineNum = 73;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 74;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=71172096; + //BA.debugLineNum = 71172096;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=71172097; + //BA.debugLineNum = 71172097;BA.debugLine="reqManager.Initialize(Me, Starter.server)"; +__ref._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_starter._server /*String*/ ); +RDebugUtils.currentLine=71172098; + //BA.debugLineNum = 71172098;BA.debugLine="busca.Text = \"\""; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=71172099; + //BA.debugLineNum = 71172099;BA.debugLine="entro = \"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=71172100; + //BA.debugLineNum = 71172100;BA.debugLine="colonia = 0"; +__ref._colonia /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=71172101; + //BA.debugLineNum = 71172101;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where gestion = 0 ORDER BY CAT_CL_CODIGO"))); +RDebugUtils.currentLine=71172102; + //BA.debugLineNum = 71172102;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=71172103; + //BA.debugLineNum = 71172103;BA.debugLine="lfila.Text = \"NOMBRE\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("NOMBRE")); +RDebugUtils.currentLine=71172104; + //BA.debugLineNum = 71172104;BA.debugLine="Subs.SetDivider(ListView1, Colors.White, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.White,(int) (2)); +RDebugUtils.currentLine=71172105; + //BA.debugLineNum = 71172105;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=71172106; + //BA.debugLineNum = 71172106;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step10 = 1; -final int limit10 = (int) (_c.getRowCount()-1); +final int limit10 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 75;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 76;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=71172107; + //BA.debugLineNum = 71172107;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=71172108; + //BA.debugLineNum = 71172108;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 77;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 78;BA.debugLine="label1.TextSize = 20"; +RDebugUtils.currentLine=71172109; + //BA.debugLineNum = 71172109;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=71172110; + //BA.debugLineNum = 71172110;BA.debugLine="label1.TextSize = 20"; _label1.setTextSize((float) (20)); - //BA.debugLineNum = 79;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=71172111; + //BA.debugLineNum = 71172111;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 80;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=71172112; + //BA.debugLineNum = 71172112;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 81;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 82;BA.debugLine="label2.TextSize = 20"; +RDebugUtils.currentLine=71172113; + //BA.debugLineNum = 71172113;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=71172114; + //BA.debugLineNum = 71172114;BA.debugLine="label2.TextSize = 20"; _label2.setTextSize((float) (20)); - //BA.debugLineNum = 83;BA.debugLine="label2.TextColor = Colors.White"; +RDebugUtils.currentLine=71172115; + //BA.debugLineNum = 71172115;BA.debugLine="label2.TextColor = Colors.White"; _label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 84;BA.debugLine="label1.Height = 25dip"; +RDebugUtils.currentLine=71172116; + //BA.debugLineNum = 71172116;BA.debugLine="label1.Height = 25dip"; _label1.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 85;BA.debugLine="label2.Height = 60dip"; +RDebugUtils.currentLine=71172117; + //BA.debugLineNum = 71172117;BA.debugLine="label2.Height = 60dip"; _label2.setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 87;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; -_listview1.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); - //BA.debugLineNum = 88;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.D"; +RDebugUtils.currentLine=71172119; + //BA.debugLineNum = 71172119;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=71172120; + //BA.debugLineNum = 71172120;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.D"; _label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 89;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; +RDebugUtils.currentLine=71172121; + //BA.debugLineNum = 71172121;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; _label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 90;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODIG"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); +RDebugUtils.currentLine=71172122; + //BA.debugLineNum = 71172122;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODIG"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); } }; }; - //BA.debugLineNum = 93;BA.debugLine="If B4XPages.MainPage.cliente.cuest.IsInitialized"; +RDebugUtils.currentLine=71172125; + //BA.debugLineNum = 71172125;BA.debugLine="If B4XPages.MainPage.cliente.cuest.IsInitialized"; if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._cuest /*gunav2.keymon.com.mx.c_cuestionario*/ .IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 95;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=71172127; + //BA.debugLineNum = 71172127;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUESTIONARIO where Q_IDCLIENTE not in (select Q_IDCLIENTE from CUESTIONARIO where Q_IDPREGUNTA = '7')"); - //BA.debugLineNum = 96;BA.debugLine="Log(\"Borramos encuestas incompletas\")"; -__c.LogImpl("471041056","Borramos encuestas incompletas",0); +RDebugUtils.currentLine=71172128; + //BA.debugLineNum = 71172128;BA.debugLine="Log(\"Borramos encuestas incompletas\")"; +__c.LogImpl("071172128","Borramos encuestas incompletas",0); }; - //BA.debugLineNum = 98;BA.debugLine="entro = \"4\""; -_entro = "4"; - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71172130; + //BA.debugLineNum = 71172130;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; +RDebugUtils.currentLine=71172131; + //BA.debugLineNum = 71172131;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.c_clientes __ref) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_clientes parent) { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_clientes parent,gunav2.keymon.com.mx.c_clientes __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_clientes __ref; gunav2.keymon.com.mx.c_clientes parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; while (true) { switch (state) { @@ -168,346 +242,503 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 164;BA.debugLine="Return True"; +RDebugUtils.currentLine=71303175; + //BA.debugLineNum = 71303175;BA.debugLine="Return True"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; - //BA.debugLineNum = 165;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71303176; + //BA.debugLineNum = 71303176;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 36;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 38;BA.debugLine="Root.LoadLayout(\"clientes\")"; -_root.LoadLayout("clientes",ba); - //BA.debugLineNum = 40;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 41;BA.debugLine="p_clientes.Height = Root.Height"; -_p_clientes.setHeight(_root.getHeight()); - //BA.debugLineNum = 42;BA.debugLine="p_clientes.Width = Root.Width"; -_p_clientes.setWidth(_root.getWidth()); - //BA.debugLineNum = 43;BA.debugLine="Panel4.Left = Round(Root.Width/2)-(Panel4.Width/2"; -_panel4.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_panel4.getWidth()/(double)2))); - //BA.debugLineNum = 44;BA.debugLine="Panel4.Height = Root.Height * 0.70"; -_panel4.setHeight((int) (_root.getHeight()*0.70)); - //BA.debugLineNum = 45;BA.debugLine="ListView1.Height = Panel4.Height * 0.95"; -_listview1.setHeight((int) (_panel4.getHeight()*0.95)); - //BA.debugLineNum = 51;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 58;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 59;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); +public String _b4xpage_created(gunav2.keymon.com.mx.c_clientes __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=71106560; + //BA.debugLineNum = 71106560;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=71106561; + //BA.debugLineNum = 71106561;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=71106563; + //BA.debugLineNum = 71106563;BA.debugLine="Root.LoadLayout(\"clientes\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("clientes",ba); +RDebugUtils.currentLine=71106565; + //BA.debugLineNum = 71106565;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=71106566; + //BA.debugLineNum = 71106566;BA.debugLine="p_clientes.Height = Root.Height"; +__ref._p_clientes /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=71106567; + //BA.debugLineNum = 71106567;BA.debugLine="p_clientes.Width = Root.Width"; +__ref._p_clientes /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=71106568; + //BA.debugLineNum = 71106568;BA.debugLine="Panel4.Left = Round(Root.Width/2)-(Panel4.Width/2"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=71106569; + //BA.debugLineNum = 71106569;BA.debugLine="Panel4.Height = Root.Height * 0.70"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.70)); +RDebugUtils.currentLine=71106570; + //BA.debugLineNum = 71106570;BA.debugLine="ListView1.Height = Panel4.Height * 0.95"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setHeight((int) (__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()*0.95)); +RDebugUtils.currentLine=71106576; + //BA.debugLineNum = 71106576;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=71106583; + //BA.debugLineNum = 71106583;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=71106584; + //BA.debugLineNum = 71106584;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); }; - //BA.debugLineNum = 61;BA.debugLine="qr.initialize"; -_qr.initialize(); - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71106586; + //BA.debugLineNum = 71106586;BA.debugLine="qr.initialize"; +__ref._qr /*com.inforpires.baQRCode.baQRCode*/ .initialize(); +RDebugUtils.currentLine=71106587; + //BA.debugLineNum = 71106587;BA.debugLine="End Sub"; return ""; } -public String _busca_textchanged(String _old,String _new) throws Exception{ +public String _busca_textchanged(gunav2.keymon.com.mx.c_clientes __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "busca_textchanged", false)) + {return ((String) Debug.delegate(ba, "busca_textchanged", new Object[] {_old,_new}));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 167;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; - //BA.debugLineNum = 168;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; -_q_buscar = "%"+_busca.getText()+"%"; - //BA.debugLineNum = 169;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 order by CAT_CL_NOMBRE ",new String[]{_q_buscar,_q_buscar,_q_buscar}))); - //BA.debugLineNum = 170;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 171;BA.debugLine="Subs.SetDivider(ListView1, Colors.White, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.White,(int) (2)); - //BA.debugLineNum = 172;BA.debugLine="lfila.text = \"Nombre y Calle\""; -_lfila.setText(BA.ObjectToCharSequence("Nombre y Calle")); - //BA.debugLineNum = 173;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 174;BA.debugLine="For i=0 To c2.RowCount -1"; +RDebugUtils.currentLine=71368704; + //BA.debugLineNum = 71368704;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +RDebugUtils.currentLine=71368705; + //BA.debugLineNum = 71368705;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=71368706; + //BA.debugLineNum = 71368706;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 order by CAT_CL_NOMBRE ",new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=71368707; + //BA.debugLineNum = 71368707;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=71368708; + //BA.debugLineNum = 71368708;BA.debugLine="Subs.SetDivider(ListView1, Colors.White, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.White,(int) (2)); +RDebugUtils.currentLine=71368709; + //BA.debugLineNum = 71368709;BA.debugLine="lfila.text = \"Nombre y Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre y Calle")); +RDebugUtils.currentLine=71368710; + //BA.debugLineNum = 71368710;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=71368711; + //BA.debugLineNum = 71368711;BA.debugLine="For i=0 To c2.RowCount -1"; { final int step7 = 1; -final int limit7 = (int) (_c2.getRowCount()-1); +final int limit7 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 175;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 176;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=71368712; + //BA.debugLineNum = 71368712;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=71368713; + //BA.debugLineNum = 71368713;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 177;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 178;BA.debugLine="label1.TextSize = 20"; +RDebugUtils.currentLine=71368714; + //BA.debugLineNum = 71368714;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=71368715; + //BA.debugLineNum = 71368715;BA.debugLine="label1.TextSize = 20"; _label1.setTextSize((float) (20)); - //BA.debugLineNum = 179;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=71368716; + //BA.debugLineNum = 71368716;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 180;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=71368717; + //BA.debugLineNum = 71368717;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 181;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 182;BA.debugLine="label2.TextSize = 20"; +RDebugUtils.currentLine=71368718; + //BA.debugLineNum = 71368718;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=71368719; + //BA.debugLineNum = 71368719;BA.debugLine="label2.TextSize = 20"; _label2.setTextSize((float) (20)); - //BA.debugLineNum = 183;BA.debugLine="label2.TextColor = Colors.White"; +RDebugUtils.currentLine=71368720; + //BA.debugLineNum = 71368720;BA.debugLine="label2.TextColor = Colors.White"; _label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 184;BA.debugLine="label1.Height = 25dip"; +RDebugUtils.currentLine=71368721; + //BA.debugLineNum = 71368721;BA.debugLine="label1.Height = 25dip"; _label1.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 185;BA.debugLine="label2.Height = 60dip"; +RDebugUtils.currentLine=71368722; + //BA.debugLineNum = 71368722;BA.debugLine="label2.Height = 60dip"; _label2.setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 187;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; -_listview1.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); - //BA.debugLineNum = 188;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.D"; +RDebugUtils.currentLine=71368724; + //BA.debugLineNum = 71368724;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=71368725; + //BA.debugLineNum = 71368725;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.D"; _label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 189;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; +RDebugUtils.currentLine=71368726; + //BA.debugLineNum = 71368726;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; _label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 190;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c2.GetString("CAT_CL_NOMBRE")+__c.CRLF+"CALLE: "+_c2.GetString("CAT_CL_CALLE"))); +RDebugUtils.currentLine=71368727; + //BA.debugLineNum = 71368727;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")+__c.CRLF+"CALLE: "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"))); } }; }; - //BA.debugLineNum = 193;BA.debugLine="entro = \"4\""; -_entro = "4"; - //BA.debugLineNum = 194;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 195;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71368730; + //BA.debugLineNum = 71368730;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; +RDebugUtils.currentLine=71368731; + //BA.debugLineNum = 71368731;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=71368732; + //BA.debugLineNum = 71368732;BA.debugLine="End Sub"; return ""; } -public String _calc_ean_checksum(String _number) throws Exception{ +public String _calc_ean_checksum(gunav2.keymon.com.mx.c_clientes __ref,String _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "calc_ean_checksum", false)) + {return ((String) Debug.delegate(ba, "calc_ean_checksum", new Object[] {_number}));} int _i = 0; char _co = '\0'; int _soma = 0; int _n = 0; float _digit = 0f; - //BA.debugLineNum = 225;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; - //BA.debugLineNum = 226;BA.debugLine="Dim i As Int"; +RDebugUtils.currentLine=71630848; + //BA.debugLineNum = 71630848;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; +RDebugUtils.currentLine=71630849; + //BA.debugLineNum = 71630849;BA.debugLine="Dim i As Int"; _i = 0; - //BA.debugLineNum = 227;BA.debugLine="Dim cO As Char"; +RDebugUtils.currentLine=71630850; + //BA.debugLineNum = 71630850;BA.debugLine="Dim cO As Char"; _co = '\0'; - //BA.debugLineNum = 228;BA.debugLine="Dim soma As Int"; +RDebugUtils.currentLine=71630851; + //BA.debugLineNum = 71630851;BA.debugLine="Dim soma As Int"; _soma = 0; - //BA.debugLineNum = 229;BA.debugLine="Dim n As Int"; +RDebugUtils.currentLine=71630852; + //BA.debugLineNum = 71630852;BA.debugLine="Dim n As Int"; _n = 0; - //BA.debugLineNum = 230;BA.debugLine="Dim digit As Float"; +RDebugUtils.currentLine=71630853; + //BA.debugLineNum = 71630853;BA.debugLine="Dim digit As Float"; _digit = 0f; - //BA.debugLineNum = 231;BA.debugLine="soma = 0"; +RDebugUtils.currentLine=71630854; + //BA.debugLineNum = 71630854;BA.debugLine="soma = 0"; _soma = (int) (0); - //BA.debugLineNum = 232;BA.debugLine="For i=0 To number.Length - 1"; +RDebugUtils.currentLine=71630855; + //BA.debugLineNum = 71630855;BA.debugLine="For i=0 To number.Length - 1"; { final int step7 = 1; final int limit7 = (int) (_number.length()-1); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 233;BA.debugLine="digit = number.SubString2(i,i+1)"; +RDebugUtils.currentLine=71630856; + //BA.debugLineNum = 71630856;BA.debugLine="digit = number.SubString2(i,i+1)"; _digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1)))); - //BA.debugLineNum = 234;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; +RDebugUtils.currentLine=71630857; + //BA.debugLineNum = 71630857;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; _n = (int) (_digit*((_i%2)*2+1)); - //BA.debugLineNum = 235;BA.debugLine="soma=soma+n"; +RDebugUtils.currentLine=71630858; + //BA.debugLineNum = 71630858;BA.debugLine="soma=soma+n"; _soma = (int) (_soma+_n); } }; - //BA.debugLineNum = 237;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; +RDebugUtils.currentLine=71630860; + //BA.debugLineNum = 71630860;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; if (true) return _number+BA.NumberToString(((10-(_soma%10))%10)); - //BA.debugLineNum = 238;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71630861; + //BA.debugLineNum = 71630861;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +RDebugUtils.currentLine=70975488; + //BA.debugLineNum = 70975488;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=70975489; + //BA.debugLineNum = 70975489;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=70975490; + //BA.debugLineNum = 70975490;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=70975493; + //BA.debugLineNum = 70975493;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Dim c2 As Cursor"; +RDebugUtils.currentLine=70975494; + //BA.debugLineNum = 70975494;BA.debugLine="Dim c2 As Cursor"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim s As Cursor"; +RDebugUtils.currentLine=70975495; + //BA.debugLineNum = 70975495;BA.debugLine="Dim s As Cursor"; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=70975496; + //BA.debugLineNum = 70975496;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim entro As String"; +RDebugUtils.currentLine=70975497; + //BA.debugLineNum = 70975497;BA.debugLine="Dim entro As String"; _entro = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim gest As Button"; +RDebugUtils.currentLine=70975498; + //BA.debugLineNum = 70975498;BA.debugLine="Dim gest As Button"; _gest = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim lfila As Label"; +RDebugUtils.currentLine=70975499; + //BA.debugLineNum = 70975499;BA.debugLine="Dim lfila As Label"; _lfila = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim busca As EditText"; +RDebugUtils.currentLine=70975500; + //BA.debugLineNum = 70975500;BA.debugLine="Dim busca As EditText"; _busca = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim colonia As String"; +RDebugUtils.currentLine=70975501; + //BA.debugLineNum = 70975501;BA.debugLine="Dim colonia As String"; _colonia = ""; - //BA.debugLineNum = 15;BA.debugLine="Private b_qr As Button"; +RDebugUtils.currentLine=70975502; + //BA.debugLineNum = 70975502;BA.debugLine="Private b_qr As Button"; _b_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private qr As QRCode"; +RDebugUtils.currentLine=70975503; + //BA.debugLineNum = 70975503;BA.debugLine="Private qr As QRCode"; _qr = new com.inforpires.baQRCode.baQRCode(); - //BA.debugLineNum = 18;BA.debugLine="Dim CODIGO As String"; +RDebugUtils.currentLine=70975505; + //BA.debugLineNum = 70975505;BA.debugLine="Dim CODIGO As String"; _codigo = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim STIME As String"; +RDebugUtils.currentLine=70975506; + //BA.debugLineNum = 70975506;BA.debugLine="Dim STIME As String"; _stime = ""; - //BA.debugLineNum = 21;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=70975508; + //BA.debugLineNum = 70975508;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 22;BA.debugLine="Dim q_buscar As String"; +RDebugUtils.currentLine=70975509; + //BA.debugLineNum = 70975509;BA.debugLine="Dim q_buscar As String"; _q_buscar = ""; - //BA.debugLineNum = 23;BA.debugLine="Private p_clientes As Panel"; +RDebugUtils.currentLine=70975510; + //BA.debugLineNum = 70975510;BA.debugLine="Private p_clientes As Panel"; _p_clientes = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private Panel4 As Panel"; +RDebugUtils.currentLine=70975511; + //BA.debugLineNum = 70975511;BA.debugLine="Private Panel4 As Panel"; _panel4 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim reqManager As DBRequestManager"; +RDebugUtils.currentLine=70975513; + //BA.debugLineNum = 70975513;BA.debugLine="Dim reqManager As DBRequestManager"; _reqmanager = new gunav2.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +RDebugUtils.currentLine=70975514; + //BA.debugLineNum = 70975514;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 30;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 31;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemclick(int _position,Object _value) throws Exception{ +public String _listview1_itemclick(gunav2.keymon.com.mx.c_clientes __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}));} int _i = 0; - //BA.debugLineNum = 101;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 102;BA.debugLine="If colonia = 0 Then"; -if ((_colonia).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 103;BA.debugLine="colonia = Value"; -_colonia = BA.ObjectToString(_value); +RDebugUtils.currentLine=71237632; + //BA.debugLineNum = 71237632;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=71237633; + //BA.debugLineNum = 71237633;BA.debugLine="If colonia = 0 Then"; +if ((__ref._colonia /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=71237634; + //BA.debugLineNum = 71237634;BA.debugLine="colonia = Value"; +__ref._colonia /*String*/ = BA.ObjectToString(_value); }; - //BA.debugLineNum = 105;BA.debugLine="If entro = \"2\" Then"; -if ((_entro).equals("2")) { - //BA.debugLineNum = 106;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info3 where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ",new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 107;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 108;BA.debugLine="lfila.text = \"Calle\""; -_lfila.setText(BA.ObjectToCharSequence("Calle")); - //BA.debugLineNum = 109;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 110;BA.debugLine="For i=0 To c2.RowCount -1"; +RDebugUtils.currentLine=71237636; + //BA.debugLineNum = 71237636;BA.debugLine="If entro = \"2\" Then"; +if ((__ref._entro /*String*/ ).equals("2")) { +RDebugUtils.currentLine=71237637; + //BA.debugLineNum = 71237637;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info3 where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ",new String[]{BA.ObjectToString(_value)}))); +RDebugUtils.currentLine=71237638; + //BA.debugLineNum = 71237638;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=71237639; + //BA.debugLineNum = 71237639;BA.debugLine="lfila.text = \"Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Calle")); +RDebugUtils.currentLine=71237640; + //BA.debugLineNum = 71237640;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=71237641; + //BA.debugLineNum = 71237641;BA.debugLine="For i=0 To c2.RowCount -1"; { final int step9 = 1; -final int limit9 = (int) (_c2.getRowCount()-1); +final int limit9 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 111;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 112;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CALLE")),BA.ObjectToCharSequence(_c2.GetString("cuantos"))); +RDebugUtils.currentLine=71237642; + //BA.debugLineNum = 71237642;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=71237643; + //BA.debugLineNum = 71237643;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("cuantos"))); } }; }; - //BA.debugLineNum = 115;BA.debugLine="entro = \"3\""; -_entro = "3"; - }else if((_entro).equals("3")) { - //BA.debugLineNum = 117;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ",new String[]{BA.ObjectToString(_value),_colonia}))); - //BA.debugLineNum = 118;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 119;BA.debugLine="lfila.text = \"Nombre\""; -_lfila.setText(BA.ObjectToCharSequence("Nombre")); - //BA.debugLineNum = 120;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 121;BA.debugLine="For i=0 To c2.RowCount -1"; +RDebugUtils.currentLine=71237646; + //BA.debugLineNum = 71237646;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; + }else +{RDebugUtils.currentLine=71237647; + //BA.debugLineNum = 71237647;BA.debugLine="Else If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { +RDebugUtils.currentLine=71237648; + //BA.debugLineNum = 71237648;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info3 where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ",new String[]{BA.ObjectToString(_value),__ref._colonia /*String*/ }))); +RDebugUtils.currentLine=71237649; + //BA.debugLineNum = 71237649;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=71237650; + //BA.debugLineNum = 71237650;BA.debugLine="lfila.text = \"Nombre\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre")); +RDebugUtils.currentLine=71237651; + //BA.debugLineNum = 71237651;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=71237652; + //BA.debugLineNum = 71237652;BA.debugLine="For i=0 To c2.RowCount -1"; { final int step20 = 1; -final int limit20 = (int) (_c2.getRowCount()-1); +final int limit20 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 122;BA.debugLine="c2.Position = i"; -_c2.setPosition(_i); - //BA.debugLineNum = 123;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c2.GetString("CAT_CL_NOMBRE"))); +RDebugUtils.currentLine=71237653; + //BA.debugLineNum = 71237653;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=71237654; + //BA.debugLineNum = 71237654;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); } }; }; - //BA.debugLineNum = 126;BA.debugLine="entro = \"4\""; -_entro = "4"; - }else if((_entro).equals("4")) { - //BA.debugLineNum = 128;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=71237657; + //BA.debugLineNum = 71237657;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; + }else +{RDebugUtils.currentLine=71237658; + //BA.debugLineNum = 71237658;BA.debugLine="Else If entro = \"4\" Then"; +if ((__ref._entro /*String*/ ).equals("4")) { +RDebugUtils.currentLine=71237659; + //BA.debugLineNum = 71237659;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 129;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +RDebugUtils.currentLine=71237660; + //BA.debugLineNum = 71237660;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 130;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +RDebugUtils.currentLine=71237661; + //BA.debugLineNum = 71237661;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; __c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 131;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 133;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)",new String[]{"0"}))); - //BA.debugLineNum = 134;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 135;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; -if ((_s.GetString("CUANTOS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 136;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); +RDebugUtils.currentLine=71237662; + //BA.debugLineNum = 71237662;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=71237664; + //BA.debugLineNum = 71237664;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)",new String[]{"0"}))); +RDebugUtils.currentLine=71237665; + //BA.debugLineNum = 71237665;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=71237666; + //BA.debugLineNum = 71237666;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=71237667; + //BA.debugLineNum = 71237667;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); }else { - //BA.debugLineNum = 138;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +RDebugUtils.currentLine=71237669; + //BA.debugLineNum = 71237669;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 139;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); +RDebugUtils.currentLine=71237670; + //BA.debugLineNum = 71237670;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); }; - //BA.debugLineNum = 141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 142;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=71237672; + //BA.debugLineNum = 71237672;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=71237673; + //BA.debugLineNum = 71237673;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 144;BA.debugLine="If B4XPages.MainPage.cliente.bitacora.IsInitiali"; +RDebugUtils.currentLine=71237675; + //BA.debugLineNum = 71237675;BA.debugLine="If B4XPages.MainPage.cliente.bitacora.IsInitiali"; if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ .IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 145;BA.debugLine="Log(\"VAMOS A CLIENTE CON ENVENTA = FALSO\")"; -__c.LogImpl("471106604","VAMOS A CLIENTE CON ENVENTA = FALSO",0); - //BA.debugLineNum = 146;BA.debugLine="B4XPages.MainPage.cliente.bitacora.iniciamosVen"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciamosventa /*String*/ (); - //BA.debugLineNum = 147;BA.debugLine="Log(B4XPages.MainPage.cliente.bitacora.enVenta)"; -__c.LogImpl("471106606",BA.ObjectToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._enventa /*boolean*/ ),0); +RDebugUtils.currentLine=71237676; + //BA.debugLineNum = 71237676;BA.debugLine="Log(\"VAMOS A CLIENTE CON ENVENTA = FALSO\")"; +__c.LogImpl("071237676","VAMOS A CLIENTE CON ENVENTA = FALSO",0); +RDebugUtils.currentLine=71237677; + //BA.debugLineNum = 71237677;BA.debugLine="B4XPages.MainPage.cliente.bitacora.iniciamosVen"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciamosventa /*String*/ (null); +RDebugUtils.currentLine=71237678; + //BA.debugLineNum = 71237678;BA.debugLine="Log(B4XPages.MainPage.cliente.bitacora.enVenta)"; +__c.LogImpl("071237678",BA.ObjectToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._enventa /*boolean*/ ),0); }; - //BA.debugLineNum = 149;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=71237680; + //BA.debugLineNum = 71237680;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - }; - //BA.debugLineNum = 154;BA.debugLine="Log(entro)"; -__c.LogImpl("471106613",_entro,0); - //BA.debugLineNum = 155;BA.debugLine="End Sub"; + }}} +; +RDebugUtils.currentLine=71237685; + //BA.debugLineNum = 71237685;BA.debugLine="Log(entro)"; +__c.LogImpl("071237685",__ref._entro /*String*/ ,0); +RDebugUtils.currentLine=71237686; + //BA.debugLineNum = 71237686;BA.debugLine="End Sub"; return ""; } -public String _p_clientes_click() throws Exception{ - //BA.debugLineNum = 242;BA.debugLine="Private Sub p_clientes_Click"; - //BA.debugLineNum = 244;BA.debugLine="End Sub"; +public String _p_clientes_click(gunav2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "p_clientes_click", false)) + {return ((String) Debug.delegate(ba, "p_clientes_click", null));} +RDebugUtils.currentLine=71696384; + //BA.debugLineNum = 71696384;BA.debugLine="Private Sub p_clientes_Click"; +RDebugUtils.currentLine=71696386; + //BA.debugLineNum = 71696386;BA.debugLine="End Sub"; return ""; } -public String _sc_noscan() throws Exception{ - //BA.debugLineNum = 221;BA.debugLine="Sub sc_noScan"; - //BA.debugLineNum = 222;BA.debugLine="Log(\"nothing returned from the scan !!!!!\")"; -__c.LogImpl("471434241","nothing returned from the scan !!!!!",0); - //BA.debugLineNum = 223;BA.debugLine="End Sub"; +public String _sc_noscan(gunav2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "sc_noscan", false)) + {return ((String) Debug.delegate(ba, "sc_noscan", null));} +RDebugUtils.currentLine=71565312; + //BA.debugLineNum = 71565312;BA.debugLine="Sub sc_noScan"; +RDebugUtils.currentLine=71565313; + //BA.debugLineNum = 71565313;BA.debugLine="Log(\"nothing returned from the scan !!!!!\")"; +__c.LogImpl("071565313","nothing returned from the scan !!!!!",0); +RDebugUtils.currentLine=71565314; + //BA.debugLineNum = 71565314;BA.debugLine="End Sub"; return ""; } -public String _sc_result(String _atype,String _values) throws Exception{ - //BA.debugLineNum = 204;BA.debugLine="Sub sc_result(atype As String,Values As String)"; - //BA.debugLineNum = 205;BA.debugLine="CODIGO = Values"; -_codigo = _values; - //BA.debugLineNum = 206;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS ENCONTRADO from kmt_info3 where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ",new String[]{_codigo}))); - //BA.debugLineNum = 207;BA.debugLine="c2.Position =0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 208;BA.debugLine="If c2.GetString(\"ENCONTRADO\") > 0 Then"; -if ((double)(Double.parseDouble(_c2.GetString("ENCONTRADO")))>0) { - //BA.debugLineNum = 209;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CODIGO from kmt_info3 where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ",new String[]{_codigo}))); - //BA.debugLineNum = 210;BA.debugLine="s.Position =0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 211;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +public String _sc_result(gunav2.keymon.com.mx.c_clientes __ref,String _atype,String _values) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "sc_result", false)) + {return ((String) Debug.delegate(ba, "sc_result", new Object[] {_atype,_values}));} +RDebugUtils.currentLine=71499776; + //BA.debugLineNum = 71499776;BA.debugLine="Sub sc_result(atype As String,Values As String)"; +RDebugUtils.currentLine=71499777; + //BA.debugLineNum = 71499777;BA.debugLine="CODIGO = Values"; +__ref._codigo /*String*/ = _values; +RDebugUtils.currentLine=71499778; + //BA.debugLineNum = 71499778;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS ENCONTRADO from kmt_info3 where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ",new String[]{__ref._codigo /*String*/ }))); +RDebugUtils.currentLine=71499779; + //BA.debugLineNum = 71499779;BA.debugLine="c2.Position =0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=71499780; + //BA.debugLineNum = 71499780;BA.debugLine="If c2.GetString(\"ENCONTRADO\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ENCONTRADO")))>0) { +RDebugUtils.currentLine=71499781; + //BA.debugLineNum = 71499781;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CODIGO from kmt_info3 where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ",new String[]{__ref._codigo /*String*/ }))); +RDebugUtils.currentLine=71499782; + //BA.debugLineNum = 71499782;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=71499783; + //BA.debugLineNum = 71499783;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 212;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_s.GetString("CAT_CL_CODIGO"))})); - //BA.debugLineNum = 213;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 215;BA.debugLine="B4XPages.ShowPage(\"clientes\")"; +RDebugUtils.currentLine=71499784; + //BA.debugLineNum = 71499784;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))})); +RDebugUtils.currentLine=71499785; + //BA.debugLineNum = 71499785;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=71499787; + //BA.debugLineNum = 71499787;BA.debugLine="B4XPages.ShowPage(\"clientes\")"; _b4xpages._showpage /*String*/ (ba,"clientes"); }else { - //BA.debugLineNum = 217;BA.debugLine="Msgbox(\"CODIGO \" & CODIGO & \" NO ENCONTRADO\",\"AV"; -__c.Msgbox(BA.ObjectToCharSequence("CODIGO "+_codigo+" NO ENCONTRADO"),BA.ObjectToCharSequence("AVISO"),ba); +RDebugUtils.currentLine=71499789; + //BA.debugLineNum = 71499789;BA.debugLine="Msgbox(\"CODIGO \" & CODIGO & \" NO ENCONTRADO\",\"AV"; +__c.Msgbox(BA.ObjectToCharSequence("CODIGO "+__ref._codigo /*String*/ +" NO ENCONTRADO"),BA.ObjectToCharSequence("AVISO"),ba); }; - //BA.debugLineNum = 219;BA.debugLine="End Sub"; +RDebugUtils.currentLine=71499791; + //BA.debugLineNum = 71499791;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_clientescompletos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_clientescompletos.java new file mode 100644 index 0000000..c629a15 --- /dev/null +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_clientescompletos.java @@ -0,0 +1,245 @@ +package gunav2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_clientescompletos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ + private static java.util.HashMap htSubs; + private void innerInitialize(BA _ba) throws Exception { + if (ba == null) { + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_clientescompletos"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", gunav2.keymon.com.mx.c_clientescompletos.class).invoke(this, new Object[] {null}); + else + ba.raiseEvent2(null, true, "class_globals", false); + } + + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public String _q_buscar = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _lfila = null; +public anywheresoftware.b4a.objects.EditTextWrapper _busca = null; +public String _stime = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(gunav2.keymon.com.mx.c_clientescompletos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_clientescompletos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=70713344; + //BA.debugLineNum = 70713344;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=70713345; + //BA.debugLineNum = 70713345;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=70713346; + //BA.debugLineNum = 70713346;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_created(gunav2.keymon.com.mx.c_clientescompletos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientescompletos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=70778880; + //BA.debugLineNum = 70778880;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=70778881; + //BA.debugLineNum = 70778881;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=70778884; + //BA.debugLineNum = 70778884;BA.debugLine="Root.LoadLayout(\"Clientes_completos\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("Clientes_completos",ba); +RDebugUtils.currentLine=70778885; + //BA.debugLineNum = 70778885;BA.debugLine="End Sub"; +return ""; +} +public String _busca_textchanged(gunav2.keymon.com.mx.c_clientescompletos __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientescompletos"; +if (Debug.shouldDelegate(ba, "busca_textchanged", false)) + {return ((String) Debug.delegate(ba, "busca_textchanged", new Object[] {_old,_new}));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=70844416; + //BA.debugLineNum = 70844416;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +RDebugUtils.currentLine=70844417; + //BA.debugLineNum = 70844417;BA.debugLine="If New = \"\" Then"; +if ((_new).equals("")) { +RDebugUtils.currentLine=70844418; + //BA.debugLineNum = 70844418;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); + }else { +RDebugUtils.currentLine=70844420; + //BA.debugLineNum = 70844420;BA.debugLine="q_buscar = \"%\" & BUSCA.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=70844421; + //BA.debugLineNum = 70844421;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from CAT_CATCLIENTESTODOS where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?) order by CAT_CL_NOMBRE ",new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=70844422; + //BA.debugLineNum = 70844422;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=70844423; + //BA.debugLineNum = 70844423;BA.debugLine="Subs.SetDivider(ListView1, Colors.White, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.White,(int) (2)); +RDebugUtils.currentLine=70844424; + //BA.debugLineNum = 70844424;BA.debugLine="lfila.text = \"Nombre y Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre y Calle")); +RDebugUtils.currentLine=70844425; + //BA.debugLineNum = 70844425;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=70844426; + //BA.debugLineNum = 70844426;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step10 = 1; +final int limit10 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit10 ;_i = _i + step10 ) { +RDebugUtils.currentLine=70844427; + //BA.debugLineNum = 70844427;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=70844428; + //BA.debugLineNum = 70844428;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=70844429; + //BA.debugLineNum = 70844429;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=70844430; + //BA.debugLineNum = 70844430;BA.debugLine="label1.TextSize = 20"; +_label1.setTextSize((float) (20)); +RDebugUtils.currentLine=70844431; + //BA.debugLineNum = 70844431;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=70844432; + //BA.debugLineNum = 70844432;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=70844433; + //BA.debugLineNum = 70844433;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=70844434; + //BA.debugLineNum = 70844434;BA.debugLine="label2.TextSize = 20"; +_label2.setTextSize((float) (20)); +RDebugUtils.currentLine=70844435; + //BA.debugLineNum = 70844435;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=70844436; + //BA.debugLineNum = 70844436;BA.debugLine="label1.Height = 25dip"; +_label1.setHeight(__c.DipToCurrent((int) (25))); +RDebugUtils.currentLine=70844437; + //BA.debugLineNum = 70844437;BA.debugLine="label2.Height = 60dip"; +_label2.setHeight(__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=70844439; + //BA.debugLineNum = 70844439;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=70844440; + //BA.debugLineNum = 70844440;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.D"; +_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=70844441; + //BA.debugLineNum = 70844441;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; +_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=70844442; + //BA.debugLineNum = 70844442;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")+__c.CRLF+"CALLE: "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"))); + } +}; + }; +RDebugUtils.currentLine=70844446; + //BA.debugLineNum = 70844446;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=70844448; + //BA.debugLineNum = 70844448;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.c_clientescompletos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientescompletos"; +RDebugUtils.currentLine=70647808; + //BA.debugLineNum = 70647808;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=70647809; + //BA.debugLineNum = 70647809;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=70647810; + //BA.debugLineNum = 70647810;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=70647811; + //BA.debugLineNum = 70647811;BA.debugLine="Dim q_buscar As String"; +_q_buscar = ""; +RDebugUtils.currentLine=70647812; + //BA.debugLineNum = 70647812;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=70647813; + //BA.debugLineNum = 70647813;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=70647814; + //BA.debugLineNum = 70647814;BA.debugLine="Dim lfila As Label"; +_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=70647815; + //BA.debugLineNum = 70647815;BA.debugLine="Private BUSCA As EditText"; +_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=70647816; + //BA.debugLineNum = 70647816;BA.debugLine="Dim STIME As String"; +_stime = ""; +RDebugUtils.currentLine=70647817; + //BA.debugLineNum = 70647817;BA.debugLine="Dim S As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=70647818; + //BA.debugLineNum = 70647818;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemclick(gunav2.keymon.com.mx.c_clientescompletos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientescompletos"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=70909952; + //BA.debugLineNum = 70909952;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=70909954; + //BA.debugLineNum = 70909954;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=70909955; + //BA.debugLineNum = 70909955;BA.debugLine="Log(Value)"; +__c.LogImpl("070909955",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=70909956; + //BA.debugLineNum = 70909956;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=70909961; + //BA.debugLineNum = 70909961;BA.debugLine="B4XPages.ShowPage(\"Tclientes\")"; +_b4xpages._showpage /*String*/ (ba,"Tclientes"); +RDebugUtils.currentLine=70909963; + //BA.debugLineNum = 70909963;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_cuestionario.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_cuestionario.java index 5ef2bb3..1b2eee0 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_cuestionario.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_cuestionario.java @@ -10,7 +10,7 @@ public class c_cuestionario extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_cuestionario"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_cuestionario"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_cuestionario extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.ButtonWrapper _baceptarpregunta = null; @@ -42,47 +49,234 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _agregacolumna(String _tabla,String _columna,String _tipo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 373;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 374;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 375;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 376;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 377;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 378;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; -_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 379;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("472613894",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 382;BA.debugLine="Try"; -try { //BA.debugLineNum = 383;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; -_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 384;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("472613899",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); - } - catch (Exception e13) { - ba.setLastException(e13); //BA.debugLineNum = 386;BA.debugLine="Log(LastException)"; -__c.LogImpl("472613901",BA.ObjectToString(__c.LastException(ba)),0); - }; - }; - //BA.debugLineNum = 389;BA.debugLine="End Sub"; +public String _ocultpanelpregunta(gunav2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "ocultpanelpregunta", false)) + {return ((String) Debug.delegate(ba, "ocultpanelpregunta", null));} +RDebugUtils.currentLine=74514432; + //BA.debugLineNum = 74514432;BA.debugLine="Sub ocultPanelPregunta"; +RDebugUtils.currentLine=74514433; + //BA.debugLineNum = 74514433;BA.debugLine="If panelSombra.IsInitialized Then panelSombra.Rem"; +if (__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized()) { +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .RemoveView();}; +RDebugUtils.currentLine=74514434; + //BA.debugLineNum = 74514434;BA.debugLine="End Sub"; return ""; } -public String _agregapreguntaabierta(String _id,String _pregunta,anywheresoftware.b4a.objects.collections.List _ids,anywheresoftware.b4a.objects.collections.List _respuestas) throws Exception{ +public Object _initialize(gunav2.keymon.com.mx.c_cuestionario __ref,anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname,anywheresoftware.b4a.objects.B4XViewWrapper _vroot,anywheresoftware.b4a.sql.SQL _skmt) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba,_vcallback,_veventname,_vroot,_skmt}));} +RDebugUtils.currentLine=73662464; + //BA.debugLineNum = 73662464;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; +RDebugUtils.currentLine=73662465; + //BA.debugLineNum = 73662465;BA.debugLine="Root2 = vRoot"; +__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _vroot; +RDebugUtils.currentLine=73662466; + //BA.debugLineNum = 73662466;BA.debugLine="EventName = vEventName"; +__ref._eventname /*String*/ = _veventname; +RDebugUtils.currentLine=73662467; + //BA.debugLineNum = 73662467;BA.debugLine="CallBack = vCallback"; +__ref._callback /*Object*/ = _vcallback; +RDebugUtils.currentLine=73662468; + //BA.debugLineNum = 73662468;BA.debugLine="db = skmt"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ = _skmt; +RDebugUtils.currentLine=73662469; + //BA.debugLineNum = 73662469;BA.debugLine="vPreguntaActual = 0"; +__ref._vpreguntaactual /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=73662470; + //BA.debugLineNum = 73662470;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CUEST"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CUESTIONARIO (Q_RUTA TEXT, Q_ALMACEN TEXT, Q_IDCLIENTE TEXT, Q_IDPREGUNTA TEXT, Q_PREGUNTA TEXT, Q_IDRESPUESTA TEXT, Q_RESPUESTA TEXT, Q_FECHA TEXT, Q_ENVIO_OK INTEGER DEFAULT 0)"); +RDebugUtils.currentLine=73662471; + //BA.debugLineNum = 73662471;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_RUTA\", \"TEXT\")"; +__ref._agregacolumna /*String*/ (null,"CUESTIONARIO","Q_RUTA","TEXT"); +RDebugUtils.currentLine=73662472; + //BA.debugLineNum = 73662472;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ALMACEN\", \"TEXT\""; +__ref._agregacolumna /*String*/ (null,"CUESTIONARIO","Q_ALMACEN","TEXT"); +RDebugUtils.currentLine=73662473; + //BA.debugLineNum = 73662473;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=73662474; + //BA.debugLineNum = 73662474;BA.debugLine="End Sub"; +return null; +} +public String _agregapreguntacheckbox(gunav2.keymon.com.mx.c_cuestionario __ref,String _id,String _pregunta,anywheresoftware.b4a.objects.collections.List _respuestas) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "agregapreguntacheckbox", false)) + {return ((String) Debug.delegate(ba, "agregapreguntacheckbox", new Object[] {_id,_pregunta,_respuestas}));} +anywheresoftware.b4a.objects.StringUtils _su = null; +anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; +anywheresoftware.b4a.objects.PanelWrapper _panelx = null; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper[] _cb = null; +int _p = 0; +int _newtop = 0; +RDebugUtils.currentLine=73859072; + //BA.debugLineNum = 73859072;BA.debugLine="Sub agregaPreguntaCheckbox(id As String, pregunta"; +RDebugUtils.currentLine=73859073; + //BA.debugLineNum = 73859073;BA.debugLine="encuestaIniciada = True"; +__ref._encuestainiciada /*boolean*/ = __c.True; +RDebugUtils.currentLine=73859074; + //BA.debugLineNum = 73859074;BA.debugLine="vPreguntaActual = id"; +__ref._vpreguntaactual /*String*/ = _id; +RDebugUtils.currentLine=73859075; + //BA.debugLineNum = 73859075;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .Initialize(ba,"bAceptarPregunta"); +RDebugUtils.currentLine=73859076; + //BA.debugLineNum = 73859076;BA.debugLine="bAceptarPregunta.Enabled = False"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=73859077; + //BA.debugLineNum = 73859077;BA.debugLine="Private su As StringUtils"; +_su = new anywheresoftware.b4a.objects.StringUtils(); +RDebugUtils.currentLine=73859078; + //BA.debugLineNum = 73859078;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .Initialize(ba,"pSombra"); +RDebugUtils.currentLine=73859079; + //BA.debugLineNum = 73859079;BA.debugLine="Private cd As ColorDrawable"; +_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); +RDebugUtils.currentLine=73859080; + //BA.debugLineNum = 73859080;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; +_cd.Initialize(__c.Colors.ARGB((int) (125),(int) (98),(int) (98),(int) (98)),(int) (0)); +RDebugUtils.currentLine=73859081; + //BA.debugLineNum = 73859081;BA.debugLine="panelSombra.Background = cd"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); +RDebugUtils.currentLine=73859082; + //BA.debugLineNum = 73859082;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; +_panelx = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=73859083; + //BA.debugLineNum = 73859083;BA.debugLine="panelX.Initialize(\"pQuest\")"; +_panelx.Initialize(ba,"pQuest"); +RDebugUtils.currentLine=73859084; + //BA.debugLineNum = 73859084;BA.debugLine="panelActual = panelX"; +__ref._panelactual /*anywheresoftware.b4a.objects.PanelWrapper*/ = _panelx; +RDebugUtils.currentLine=73859085; + //BA.debugLineNum = 73859085;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73859086; + //BA.debugLineNum = 73859086;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=73859087; + //BA.debugLineNum = 73859087;BA.debugLine="lbl.Text = pregunta"; +_lbl.setText(BA.ObjectToCharSequence(_pregunta)); +RDebugUtils.currentLine=73859088; + //BA.debugLineNum = 73859088;BA.debugLine="lbl.TextSize = 16"; +_lbl.setTextSize((float) (16)); +RDebugUtils.currentLine=73859089; + //BA.debugLineNum = 73859089;BA.debugLine="lbl.TextColor = Colors.Black"; +_lbl.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=73859090; + //BA.debugLineNum = 73859090;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; +_cd.Initialize2(__c.Colors.White,(int) (20),(int) (1),__c.Colors.Gray); +RDebugUtils.currentLine=73859091; + //BA.debugLineNum = 73859091;BA.debugLine="panelX.Background = cd"; +_panelx.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); +RDebugUtils.currentLine=73859092; + //BA.debugLineNum = 73859092;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .AddView((android.view.View)(_panelx.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (0)),__c.PerXToCurrent((float) (80),ba),__c.DipToCurrent((int) (200))); +RDebugUtils.currentLine=73859093; + //BA.debugLineNum = 73859093;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; +__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=73859094; + //BA.debugLineNum = 73859094;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; +_panelx.AddView((android.view.View)(_lbl.getObject()),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20)),(int) ((_panelx.getWidth()*0.9)),__c.DipToCurrent((int) (40))); +RDebugUtils.currentLine=73859095; + //BA.debugLineNum = 73859095;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; +_lbl.setHeight(_su.MeasureMultilineTextHeight((android.widget.TextView)(_lbl.getObject()),BA.ObjectToCharSequence(_lbl.getText()))); +RDebugUtils.currentLine=73859096; + //BA.debugLineNum = 73859096;BA.debugLine="Private cb(respuestas.Size) As CheckBox"; +_cb = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper[_respuestas.getSize()]; +{ +int d0 = _cb.length; +for (int i0 = 0;i0 < d0;i0++) { +_cb[i0] = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +} +} +; +RDebugUtils.currentLine=73859097; + //BA.debugLineNum = 73859097;BA.debugLine="For p = 0 To respuestas.Size - 1"; +{ +final int step25 = 1; +final int limit25 = (int) (_respuestas.getSize()-1); +_p = (int) (0) ; +for (;_p <= limit25 ;_p = _p + step25 ) { +RDebugUtils.currentLine=73859098; + //BA.debugLineNum = 73859098;BA.debugLine="cb(p).Initialize(\"cb\")"; +_cb[_p].Initialize(ba,"cb"); +RDebugUtils.currentLine=73859099; + //BA.debugLineNum = 73859099;BA.debugLine="cb(p).Text = respuestas.Get(p)"; +_cb[_p].setText(BA.ObjectToCharSequence(_respuestas.Get(_p))); +RDebugUtils.currentLine=73859100; + //BA.debugLineNum = 73859100;BA.debugLine="cb(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregun"; +_cb[_p].setTag((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_id),(Object)("pregunta"),(Object)(_pregunta),(Object)("panel"),(Object)(__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(Object)("idRespuesta"),(Object)(_p+1)}).getObject())); +RDebugUtils.currentLine=73859101; + //BA.debugLineNum = 73859101;BA.debugLine="panelX.AddView(cb(p), 10dip, (70 * (p + 1)), (pa"; +_panelx.AddView((android.view.View)(_cb[_p].getObject()),__c.DipToCurrent((int) (10)),(int) ((70*(_p+1))),(int) ((_panelx.getWidth()*0.9)),(int) (10)); +RDebugUtils.currentLine=73859102; + //BA.debugLineNum = 73859102;BA.debugLine="cb(p).Height = su.MeasureMultilineTextHeight(cb("; +_cb[_p].setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_cb[_p].getObject()),BA.ObjectToCharSequence(_cb[_p].getText()))+1)); +RDebugUtils.currentLine=73859103; + //BA.debugLineNum = 73859103;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; +_newtop = (int) (_lbl.getTop()+_lbl.getHeight()+10); +RDebugUtils.currentLine=73859104; + //BA.debugLineNum = 73859104;BA.debugLine="If p <> 0 Then newTop =cb(p - 1).Top + cb(p - 1)"; +if (_p!=0) { +_newtop = (int) (_cb[(int) (_p-1)].getTop()+_cb[(int) (_p-1)].getHeight()+10);}; +RDebugUtils.currentLine=73859105; + //BA.debugLineNum = 73859105;BA.debugLine="cb(p).Top = newTop"; +_cb[_p].setTop(_newtop); + } +}; +RDebugUtils.currentLine=73859107; + //BA.debugLineNum = 73859107;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Continuar")); +RDebugUtils.currentLine=73859109; + //BA.debugLineNum = 73859109;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + cb("; +_panelx.AddView((android.view.View)(__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getObject()),(int) (10),(int) (_newtop+_cb[(int) (_respuestas.getSize()-1)].getHeight()+20),__c.DipToCurrent((int) (150)),__c.DipToCurrent((int) (50))); +RDebugUtils.currentLine=73859110; + //BA.debugLineNum = 73859110;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((_panelx.getWidth()/(double)2)-(__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=73859111; + //BA.debugLineNum = 73859111;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; +_panelx.setHeight((int) (__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getTop()+__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getHeight()+__c.DipToCurrent((int) (15)))); +RDebugUtils.currentLine=73859112; + //BA.debugLineNum = 73859112;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; +_panelx.setLeft((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(_panelx.getWidth()/(double)2))); +RDebugUtils.currentLine=73859113; + //BA.debugLineNum = 73859113;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; +_panelx.setTop((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)3)-(_panelx.getHeight()/(double)3))); +RDebugUtils.currentLine=73859114; + //BA.debugLineNum = 73859114;BA.debugLine="panelSombra.Width = Root2.Width"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=73859115; + //BA.debugLineNum = 73859115;BA.debugLine="panelSombra.Height = Root2.Height"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=73859116; + //BA.debugLineNum = 73859116;BA.debugLine="panelSombra.Elevation = 100"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setElevation((float) (100)); +RDebugUtils.currentLine=73859117; + //BA.debugLineNum = 73859117;BA.debugLine="panelSombra.BringToFront"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=73859119; + //BA.debugLineNum = 73859119;BA.debugLine="End Sub"; +return ""; +} +public String _agregapreguntaabierta(gunav2.keymon.com.mx.c_cuestionario __ref,String _id,String _pregunta,anywheresoftware.b4a.objects.collections.List _ids,anywheresoftware.b4a.objects.collections.List _respuestas) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "agregapreguntaabierta", false)) + {return ((String) Debug.delegate(ba, "agregapreguntaabierta", new Object[] {_id,_pregunta,_ids,_respuestas}));} anywheresoftware.b4a.objects.ScrollViewWrapper _sv_cuest = null; anywheresoftware.b4a.objects.StringUtils _su = null; anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; @@ -94,72 +288,106 @@ anywheresoftware.b4a.objects.LabelWrapper[] _labelx = null; int _p = 0; anywheresoftware.b4a.objects.LabelWrapper _lx = null; int _newtop = 0; - //BA.debugLineNum = 161;BA.debugLine="Sub agregaPreguntaAbierta(id As String, pregunta A"; - //BA.debugLineNum = 162;BA.debugLine="Log(\"Iniciamos PreguntaAbierta\")"; -__c.LogImpl("472024065","Iniciamos PreguntaAbierta",0); - //BA.debugLineNum = 163;BA.debugLine="Log(ids)"; -__c.LogImpl("472024066",BA.ObjectToString(_ids),0); - //BA.debugLineNum = 164;BA.debugLine="Log(respuestas)"; -__c.LogImpl("472024067",BA.ObjectToString(_respuestas),0); - //BA.debugLineNum = 165;BA.debugLine="Private sv_cuest As ScrollView"; +RDebugUtils.currentLine=73990144; + //BA.debugLineNum = 73990144;BA.debugLine="Sub agregaPreguntaAbierta(id As String, pregunta A"; +RDebugUtils.currentLine=73990145; + //BA.debugLineNum = 73990145;BA.debugLine="Log(\"Iniciamos PreguntaAbierta\")"; +__c.LogImpl("073990145","Iniciamos PreguntaAbierta",0); +RDebugUtils.currentLine=73990146; + //BA.debugLineNum = 73990146;BA.debugLine="Log(ids)"; +__c.LogImpl("073990146",BA.ObjectToString(_ids),0); +RDebugUtils.currentLine=73990147; + //BA.debugLineNum = 73990147;BA.debugLine="Log(respuestas)"; +__c.LogImpl("073990147",BA.ObjectToString(_respuestas),0); +RDebugUtils.currentLine=73990148; + //BA.debugLineNum = 73990148;BA.debugLine="Private sv_cuest As ScrollView"; _sv_cuest = new anywheresoftware.b4a.objects.ScrollViewWrapper(); - //BA.debugLineNum = 166;BA.debugLine="sv_cuest.Initialize(500dip)"; +RDebugUtils.currentLine=73990149; + //BA.debugLineNum = 73990149;BA.debugLine="sv_cuest.Initialize(500dip)"; _sv_cuest.Initialize(ba,__c.DipToCurrent((int) (500))); - //BA.debugLineNum = 167;BA.debugLine="encuestaIniciada = True"; -_encuestainiciada = __c.True; - //BA.debugLineNum = 168;BA.debugLine="vPreguntaActual = id"; -_vpreguntaactual = _id; - //BA.debugLineNum = 169;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; -_baceptarpregunta.Initialize(ba,"bAceptarPregunta"); - //BA.debugLineNum = 170;BA.debugLine="Private su As StringUtils"; +RDebugUtils.currentLine=73990150; + //BA.debugLineNum = 73990150;BA.debugLine="encuestaIniciada = True"; +__ref._encuestainiciada /*boolean*/ = __c.True; +RDebugUtils.currentLine=73990151; + //BA.debugLineNum = 73990151;BA.debugLine="vPreguntaActual = id"; +__ref._vpreguntaactual /*String*/ = _id; +RDebugUtils.currentLine=73990152; + //BA.debugLineNum = 73990152;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .Initialize(ba,"bAceptarPregunta"); +RDebugUtils.currentLine=73990153; + //BA.debugLineNum = 73990153;BA.debugLine="Private su As StringUtils"; _su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 171;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; -_panelsombra.Initialize(ba,"pSombra"); - //BA.debugLineNum = 172;BA.debugLine="Private cd As ColorDrawable"; +RDebugUtils.currentLine=73990154; + //BA.debugLineNum = 73990154;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .Initialize(ba,"pSombra"); +RDebugUtils.currentLine=73990155; + //BA.debugLineNum = 73990155;BA.debugLine="Private cd As ColorDrawable"; _cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); - //BA.debugLineNum = 173;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; +RDebugUtils.currentLine=73990156; + //BA.debugLineNum = 73990156;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; _cd.Initialize(__c.Colors.ARGB((int) (125),(int) (98),(int) (98),(int) (98)),(int) (0)); - //BA.debugLineNum = 174;BA.debugLine="panelSombra.Background = cd"; -_panelsombra.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); - //BA.debugLineNum = 175;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; +RDebugUtils.currentLine=73990157; + //BA.debugLineNum = 73990157;BA.debugLine="panelSombra.Background = cd"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); +RDebugUtils.currentLine=73990158; + //BA.debugLineNum = 73990158;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; _panelx = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 176;BA.debugLine="panelX.Initialize(\"pQuest\")"; +RDebugUtils.currentLine=73990159; + //BA.debugLineNum = 73990159;BA.debugLine="panelX.Initialize(\"pQuest\")"; _panelx.Initialize(ba,"pQuest"); - //BA.debugLineNum = 177;BA.debugLine="Private sv_cuest As ScrollView"; +RDebugUtils.currentLine=73990160; + //BA.debugLineNum = 73990160;BA.debugLine="Private sv_cuest As ScrollView"; _sv_cuest = new anywheresoftware.b4a.objects.ScrollViewWrapper(); - //BA.debugLineNum = 178;BA.debugLine="sv_cuest.Initialize(100dip)"; +RDebugUtils.currentLine=73990161; + //BA.debugLineNum = 73990161;BA.debugLine="sv_cuest.Initialize(100dip)"; _sv_cuest.Initialize(ba,__c.DipToCurrent((int) (100))); - //BA.debugLineNum = 179;BA.debugLine="Private panel2 As Panel 'Panel de la pregunta."; +RDebugUtils.currentLine=73990162; + //BA.debugLineNum = 73990162;BA.debugLine="Private panel2 As Panel 'Panel de la pregunta."; _panel2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 180;BA.debugLine="panel2.Initialize(\"panel2\")"; +RDebugUtils.currentLine=73990163; + //BA.debugLineNum = 73990163;BA.debugLine="panel2.Initialize(\"panel2\")"; _panel2.Initialize(ba,"panel2"); - //BA.debugLineNum = 181;BA.debugLine="panel2.Color = Colors.Yellow"; +RDebugUtils.currentLine=73990164; + //BA.debugLineNum = 73990164;BA.debugLine="panel2.Color = Colors.Yellow"; _panel2.setColor(__c.Colors.Yellow); - //BA.debugLineNum = 182;BA.debugLine="panelActual = panelX"; -_panelactual = _panelx; - //BA.debugLineNum = 183;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; +RDebugUtils.currentLine=73990165; + //BA.debugLineNum = 73990165;BA.debugLine="panelActual = panelX"; +__ref._panelactual /*anywheresoftware.b4a.objects.PanelWrapper*/ = _panelx; +RDebugUtils.currentLine=73990166; + //BA.debugLineNum = 73990166;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; _lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 184;BA.debugLine="lbl.Initialize(\"\")"; +RDebugUtils.currentLine=73990167; + //BA.debugLineNum = 73990167;BA.debugLine="lbl.Initialize(\"\")"; _lbl.Initialize(ba,""); - //BA.debugLineNum = 185;BA.debugLine="lbl.Text = pregunta"; +RDebugUtils.currentLine=73990168; + //BA.debugLineNum = 73990168;BA.debugLine="lbl.Text = pregunta"; _lbl.setText(BA.ObjectToCharSequence(_pregunta)); - //BA.debugLineNum = 186;BA.debugLine="lbl.TextSize = 16"; +RDebugUtils.currentLine=73990169; + //BA.debugLineNum = 73990169;BA.debugLine="lbl.TextSize = 16"; _lbl.setTextSize((float) (16)); - //BA.debugLineNum = 187;BA.debugLine="lbl.TextColor = Colors.Black"; +RDebugUtils.currentLine=73990170; + //BA.debugLineNum = 73990170;BA.debugLine="lbl.TextColor = Colors.Black"; _lbl.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 188;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; +RDebugUtils.currentLine=73990171; + //BA.debugLineNum = 73990171;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; _cd.Initialize2(__c.Colors.White,(int) (20),(int) (1),__c.Colors.Gray); - //BA.debugLineNum = 189;BA.debugLine="panelX.Background = cd"; +RDebugUtils.currentLine=73990172; + //BA.debugLineNum = 73990172;BA.debugLine="panelX.Background = cd"; _panelx.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); - //BA.debugLineNum = 190;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; -_panelsombra.AddView((android.view.View)(_panelx.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (0)),__c.PerXToCurrent((float) (80),ba),__c.DipToCurrent((int) (200))); - //BA.debugLineNum = 191;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; -_root2.AddView((android.view.View)(_panelsombra.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - //BA.debugLineNum = 192;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; +RDebugUtils.currentLine=73990173; + //BA.debugLineNum = 73990173;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .AddView((android.view.View)(_panelx.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (0)),__c.PerXToCurrent((float) (80),ba),__c.DipToCurrent((int) (200))); +RDebugUtils.currentLine=73990174; + //BA.debugLineNum = 73990174;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; +__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=73990175; + //BA.debugLineNum = 73990175;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; _panelx.AddView((android.view.View)(_lbl.getObject()),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20)),(int) ((_panelx.getWidth()*0.9)),__c.DipToCurrent((int) (40))); - //BA.debugLineNum = 193;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; +RDebugUtils.currentLine=73990176; + //BA.debugLineNum = 73990176;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; _lbl.setHeight(_su.MeasureMultilineTextHeight((android.widget.TextView)(_lbl.getObject()),BA.ObjectToCharSequence(_lbl.getText()))); - //BA.debugLineNum = 194;BA.debugLine="Private et(respuestas.Size) As EditText"; +RDebugUtils.currentLine=73990177; + //BA.debugLineNum = 73990177;BA.debugLine="Private et(respuestas.Size) As EditText"; _et = new anywheresoftware.b4a.objects.EditTextWrapper[_respuestas.getSize()]; { int d0 = _et.length; @@ -168,7 +396,8 @@ _et[i0] = new anywheresoftware.b4a.objects.EditTextWrapper(); } } ; - //BA.debugLineNum = 195;BA.debugLine="Private labelX(respuestas.Size) As Label"; +RDebugUtils.currentLine=73990178; + //BA.debugLineNum = 73990178;BA.debugLine="Private labelX(respuestas.Size) As Label"; _labelx = new anywheresoftware.b4a.objects.LabelWrapper[_respuestas.getSize()]; { int d0 = _labelx.length; @@ -177,208 +406,225 @@ _labelx[i0] = new anywheresoftware.b4a.objects.LabelWrapper(); } } ; - //BA.debugLineNum = 196;BA.debugLine="For p = 0 To respuestas.Size - 1"; +RDebugUtils.currentLine=73990179; + //BA.debugLineNum = 73990179;BA.debugLine="For p = 0 To respuestas.Size - 1"; { final int step35 = 1; final int limit35 = (int) (_respuestas.getSize()-1); _p = (int) (0) ; for (;_p <= limit35 ;_p = _p + step35 ) { - //BA.debugLineNum = 197;BA.debugLine="et(p).Initialize(\"et\")"; +RDebugUtils.currentLine=73990180; + //BA.debugLineNum = 73990180;BA.debugLine="et(p).Initialize(\"et\")"; _et[_p].Initialize(ba,"et"); - //BA.debugLineNum = 198;BA.debugLine="labelX(p).Initialize(\"labelX\")"; +RDebugUtils.currentLine=73990181; + //BA.debugLineNum = 73990181;BA.debugLine="labelX(p).Initialize(\"labelX\")"; _labelx[_p].Initialize(ba,"labelX"); - //BA.debugLineNum = 199;BA.debugLine="labelX(p).Height = 60dip"; +RDebugUtils.currentLine=73990182; + //BA.debugLineNum = 73990182;BA.debugLine="labelX(p).Height = 60dip"; _labelx[_p].setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 202;BA.debugLine="et(p).As(B4XView).SetTextAlignment(\"CENTER\", \"CE"; +RDebugUtils.currentLine=73990185; + //BA.debugLineNum = 73990185;BA.debugLine="et(p).As(B4XView).SetTextAlignment(\"CENTER\", \"CE"; ((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_et[_p].getObject()))).SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 203;BA.debugLine="labelX(p).As(B4XView).SetTextAlignment(\"CENTER\","; +RDebugUtils.currentLine=73990186; + //BA.debugLineNum = 73990186;BA.debugLine="labelX(p).As(B4XView).SetTextAlignment(\"CENTER\","; ((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_labelx[_p].getObject()))).SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 204;BA.debugLine="et(p).SetTextSizeAnimated(0, 10)"; +RDebugUtils.currentLine=73990187; + //BA.debugLineNum = 73990187;BA.debugLine="et(p).SetTextSizeAnimated(0, 10)"; _et[_p].SetTextSizeAnimated((int) (0),(float) (10)); - //BA.debugLineNum = 205;BA.debugLine="et(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregun"; -_et[_p].setTag((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_id),(Object)("pregunta"),(Object)(_pregunta),(Object)("panel"),(Object)(_panelsombra.getObject()),(Object)("idRespuesta"),_ids.Get(_p)}).getObject())); - //BA.debugLineNum = 206;BA.debugLine="labelX(p).Text = respuestas.Get(p)"; +RDebugUtils.currentLine=73990188; + //BA.debugLineNum = 73990188;BA.debugLine="et(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregun"; +_et[_p].setTag((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_id),(Object)("pregunta"),(Object)(_pregunta),(Object)("panel"),(Object)(__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(Object)("idRespuesta"),_ids.Get(_p)}).getObject())); +RDebugUtils.currentLine=73990189; + //BA.debugLineNum = 73990189;BA.debugLine="labelX(p).Text = respuestas.Get(p)"; _labelx[_p].setText(BA.ObjectToCharSequence(_respuestas.Get(_p))); - //BA.debugLineNum = 207;BA.debugLine="Private lx As Label = labelX(p)"; +RDebugUtils.currentLine=73990190; + //BA.debugLineNum = 73990190;BA.debugLine="Private lx As Label = labelX(p)"; _lx = new anywheresoftware.b4a.objects.LabelWrapper(); _lx = _labelx[_p]; - //BA.debugLineNum = 208;BA.debugLine="et(p).Text = \"\""; +RDebugUtils.currentLine=73990191; + //BA.debugLineNum = 73990191;BA.debugLine="et(p).Text = \"\""; _et[_p].setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 209;BA.debugLine="Log($\"Agregamos ET ${labelX(p).text} - ${(70*p)}"; -__c.LogImpl("472024112",("Agregamos ET "+__c.SmartStringFormatter("",(Object)(_labelx[_p].getText()))+" - "+__c.SmartStringFormatter("",(Object)((70*_p)))+""),0); - //BA.debugLineNum = 211;BA.debugLine="Log(labelX(p).Height)"; -__c.LogImpl("472024114",BA.NumberToString(_labelx[_p].getHeight()),0); - //BA.debugLineNum = 212;BA.debugLine="sv_cuest.panel.AddView(labelX(p), 0, (70 * p), ("; +RDebugUtils.currentLine=73990192; + //BA.debugLineNum = 73990192;BA.debugLine="Log($\"Agregamos ET ${labelX(p).text} - ${(70*p)}"; +__c.LogImpl("073990192",("Agregamos ET "+__c.SmartStringFormatter("",(Object)(_labelx[_p].getText()))+" - "+__c.SmartStringFormatter("",(Object)((70*_p)))+""),0); +RDebugUtils.currentLine=73990194; + //BA.debugLineNum = 73990194;BA.debugLine="Log(labelX(p).Height)"; +__c.LogImpl("073990194",BA.NumberToString(_labelx[_p].getHeight()),0); +RDebugUtils.currentLine=73990195; + //BA.debugLineNum = 73990195;BA.debugLine="sv_cuest.panel.AddView(labelX(p), 0, (70 * p), ("; _sv_cuest.getPanel().AddView((android.view.View)(_labelx[_p].getObject()),(int) (0),(int) ((70*_p)),(int) ((_panelx.getWidth()*0.72)),(int) (60)); - //BA.debugLineNum = 213;BA.debugLine="sv_cuest.panel.AddView(et(p), (labelX(p).Width +"; +RDebugUtils.currentLine=73990196; + //BA.debugLineNum = 73990196;BA.debugLine="sv_cuest.panel.AddView(et(p), (labelX(p).Width +"; _sv_cuest.getPanel().AddView((android.view.View)(_et[_p].getObject()),(int) ((_labelx[_p].getWidth()+5)),(int) ((70*_p)),(int) ((_panelx.getWidth()*0.2)),(int) (115)); - //BA.debugLineNum = 214;BA.debugLine="Private newTop As Int = 0 'lbl.top + lbl.Height"; +RDebugUtils.currentLine=73990197; + //BA.debugLineNum = 73990197;BA.debugLine="Private newTop As Int = 0 'lbl.top + lbl.Height"; _newtop = (int) (0); - //BA.debugLineNum = 215;BA.debugLine="If p <> 0 Then newTop = et(p - 1).Top + et(p - 1"; +RDebugUtils.currentLine=73990198; + //BA.debugLineNum = 73990198;BA.debugLine="If p <> 0 Then newTop = et(p - 1).Top + et(p - 1"; if (_p!=0) { _newtop = (int) (_et[(int) (_p-1)].getTop()+_et[(int) (_p-1)].getHeight()+5);}; - //BA.debugLineNum = 216;BA.debugLine="et(p).Top = newTop"; +RDebugUtils.currentLine=73990199; + //BA.debugLineNum = 73990199;BA.debugLine="et(p).Top = newTop"; _et[_p].setTop(_newtop); - //BA.debugLineNum = 217;BA.debugLine="labelX(p).Top = newTop"; +RDebugUtils.currentLine=73990200; + //BA.debugLineNum = 73990200;BA.debugLine="labelX(p).Top = newTop"; _labelx[_p].setTop(_newtop); } }; - //BA.debugLineNum = 219;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; -_baceptarpregunta.setText(BA.ObjectToCharSequence("Continuar")); - //BA.debugLineNum = 220;BA.debugLine="panelX.AddView(sv_cuest, 10, lbl.top + lbl.Height"; +RDebugUtils.currentLine=73990202; + //BA.debugLineNum = 73990202;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Continuar")); +RDebugUtils.currentLine=73990203; + //BA.debugLineNum = 73990203;BA.debugLine="panelX.AddView(sv_cuest, 10, lbl.top + lbl.Height"; _panelx.AddView((android.view.View)(_sv_cuest.getObject()),(int) (10),(int) (_lbl.getTop()+_lbl.getHeight()+20),(int) ((_panelx.getWidth()*0.95)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 221;BA.debugLine="sv_cuest.panel.Height = newTop + 40dip"; +RDebugUtils.currentLine=73990204; + //BA.debugLineNum = 73990204;BA.debugLine="sv_cuest.panel.Height = newTop + 40dip"; _sv_cuest.getPanel().setHeight((int) (_newtop+__c.DipToCurrent((int) (40)))); - //BA.debugLineNum = 222;BA.debugLine="panelX.Height = newTop + 80dip + 35dip 'Calculamo"; +RDebugUtils.currentLine=73990205; + //BA.debugLineNum = 73990205;BA.debugLine="panelX.Height = newTop + 80dip + 35dip 'Calculamo"; _panelx.setHeight((int) (_newtop+__c.DipToCurrent((int) (80))+__c.DipToCurrent((int) (35)))); - //BA.debugLineNum = 223;BA.debugLine="panelX.Height = 150dip + (respuestas.Size * 80) '"; +RDebugUtils.currentLine=73990206; + //BA.debugLineNum = 73990206;BA.debugLine="panelX.Height = 150dip + (respuestas.Size * 80) '"; _panelx.setHeight((int) (__c.DipToCurrent((int) (150))+(_respuestas.getSize()*80))); - //BA.debugLineNum = 225;BA.debugLine="If panelX.Height > (Root2.Height * 0.7) Then ' Si"; -if (_panelx.getHeight()>(_root2.getHeight()*0.7)) { - //BA.debugLineNum = 226;BA.debugLine="panelX.Height = Root2.Height * 0.7"; -_panelx.setHeight((int) (_root2.getHeight()*0.7)); +RDebugUtils.currentLine=73990208; + //BA.debugLineNum = 73990208;BA.debugLine="If panelX.Height > (Root2.Height * 0.7) Then ' Si"; +if (_panelx.getHeight()>(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.7)) { +RDebugUtils.currentLine=73990209; + //BA.debugLineNum = 73990209;BA.debugLine="panelX.Height = Root2.Height * 0.7"; +_panelx.setHeight((int) (__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.7)); }; - //BA.debugLineNum = 228;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, (panelX.Heig"; -_panelx.AddView((android.view.View)(_baceptarpregunta.getObject()),(int) (10),(int) ((_panelx.getHeight()-__c.DipToCurrent((int) (55)))),__c.DipToCurrent((int) (150)),__c.DipToCurrent((int) (50))); - //BA.debugLineNum = 229;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; -_baceptarpregunta.setLeft((int) ((_panelx.getWidth()/(double)2)-(_baceptarpregunta.getWidth()/(double)2))); - //BA.debugLineNum = 230;BA.debugLine="bAceptarPregunta.Enabled = False"; -_baceptarpregunta.setEnabled(__c.False); - //BA.debugLineNum = 231;BA.debugLine="sv_cuest.Height = panelX.Height - (lbl.Top + lbl."; +RDebugUtils.currentLine=73990211; + //BA.debugLineNum = 73990211;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, (panelX.Heig"; +_panelx.AddView((android.view.View)(__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getObject()),(int) (10),(int) ((_panelx.getHeight()-__c.DipToCurrent((int) (55)))),__c.DipToCurrent((int) (150)),__c.DipToCurrent((int) (50))); +RDebugUtils.currentLine=73990212; + //BA.debugLineNum = 73990212;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((_panelx.getWidth()/(double)2)-(__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=73990213; + //BA.debugLineNum = 73990213;BA.debugLine="bAceptarPregunta.Enabled = False"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=73990214; + //BA.debugLineNum = 73990214;BA.debugLine="sv_cuest.Height = panelX.Height - (lbl.Top + lbl."; _sv_cuest.setHeight((int) (_panelx.getHeight()-(_lbl.getTop()+_lbl.getHeight())-__c.DipToCurrent((int) (55)))); - //BA.debugLineNum = 232;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; -_panelx.setLeft((int) ((_root2.getWidth()/(double)2)-(_panelx.getWidth()/(double)2))); - //BA.debugLineNum = 233;BA.debugLine="panelX.top = (Root2.Height / 2) - (panelX.Height"; -_panelx.setTop((int) ((_root2.getHeight()/(double)2)-(_panelx.getHeight()/(double)2))); - //BA.debugLineNum = 234;BA.debugLine="If respuestas.Size < 10 Then panelX.top = (Root2."; +RDebugUtils.currentLine=73990215; + //BA.debugLineNum = 73990215;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; +_panelx.setLeft((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(_panelx.getWidth()/(double)2))); +RDebugUtils.currentLine=73990216; + //BA.debugLineNum = 73990216;BA.debugLine="panelX.top = (Root2.Height / 2) - (panelX.Height"; +_panelx.setTop((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2)-(_panelx.getHeight()/(double)2))); +RDebugUtils.currentLine=73990217; + //BA.debugLineNum = 73990217;BA.debugLine="If respuestas.Size < 10 Then panelX.top = (Root2."; if (_respuestas.getSize()<10) { -_panelx.setTop((int) ((_root2.getHeight()/(double)3)-(_panelx.getHeight()/(double)2)));}; - //BA.debugLineNum = 235;BA.debugLine="panelSombra.Width = Root2.Width"; -_panelsombra.setWidth(_root2.getWidth()); - //BA.debugLineNum = 236;BA.debugLine="panelSombra.Height = Root2.Height"; -_panelsombra.setHeight(_root2.getHeight()); - //BA.debugLineNum = 237;BA.debugLine="panelSombra.Elevation = 100dip"; -_panelsombra.setElevation((float) (__c.DipToCurrent((int) (100)))); - //BA.debugLineNum = 238;BA.debugLine="panelSombra.BringToFront"; -_panelsombra.BringToFront(); - //BA.debugLineNum = 239;BA.debugLine="bringToFrontCont = 0"; -_bringtofrontcont = (int) (0); - //BA.debugLineNum = 240;BA.debugLine="End Sub"; +_panelx.setTop((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)3)-(_panelx.getHeight()/(double)2)));}; +RDebugUtils.currentLine=73990218; + //BA.debugLineNum = 73990218;BA.debugLine="panelSombra.Width = Root2.Width"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=73990219; + //BA.debugLineNum = 73990219;BA.debugLine="panelSombra.Height = Root2.Height"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=73990220; + //BA.debugLineNum = 73990220;BA.debugLine="panelSombra.Elevation = 100dip"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setElevation((float) (__c.DipToCurrent((int) (100)))); +RDebugUtils.currentLine=73990221; + //BA.debugLineNum = 73990221;BA.debugLine="panelSombra.BringToFront"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=73990222; + //BA.debugLineNum = 73990222;BA.debugLine="bringToFrontCont = 0"; +__ref._bringtofrontcont /*int*/ = (int) (0); +RDebugUtils.currentLine=73990223; + //BA.debugLineNum = 73990223;BA.debugLine="End Sub"; return ""; } -public String _agregapreguntacheckbox(String _id,String _pregunta,anywheresoftware.b4a.objects.collections.List _respuestas) throws Exception{ -anywheresoftware.b4a.objects.StringUtils _su = null; -anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; -anywheresoftware.b4a.objects.PanelWrapper _panelx = null; -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; -anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper[] _cb = null; -int _p = 0; -int _newtop = 0; - //BA.debugLineNum = 63;BA.debugLine="Sub agregaPreguntaCheckbox(id As String, pregunta"; - //BA.debugLineNum = 64;BA.debugLine="encuestaIniciada = True"; -_encuestainiciada = __c.True; - //BA.debugLineNum = 65;BA.debugLine="vPreguntaActual = id"; -_vpreguntaactual = _id; - //BA.debugLineNum = 66;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; -_baceptarpregunta.Initialize(ba,"bAceptarPregunta"); - //BA.debugLineNum = 67;BA.debugLine="bAceptarPregunta.Enabled = False"; -_baceptarpregunta.setEnabled(__c.False); - //BA.debugLineNum = 68;BA.debugLine="Private su As StringUtils"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 69;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; -_panelsombra.Initialize(ba,"pSombra"); - //BA.debugLineNum = 70;BA.debugLine="Private cd As ColorDrawable"; -_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); - //BA.debugLineNum = 71;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; -_cd.Initialize(__c.Colors.ARGB((int) (125),(int) (98),(int) (98),(int) (98)),(int) (0)); - //BA.debugLineNum = 72;BA.debugLine="panelSombra.Background = cd"; -_panelsombra.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); - //BA.debugLineNum = 73;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; -_panelx = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 74;BA.debugLine="panelX.Initialize(\"pQuest\")"; -_panelx.Initialize(ba,"pQuest"); - //BA.debugLineNum = 75;BA.debugLine="panelActual = panelX"; -_panelactual = _panelx; - //BA.debugLineNum = 76;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 77;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(ba,""); - //BA.debugLineNum = 78;BA.debugLine="lbl.Text = pregunta"; -_lbl.setText(BA.ObjectToCharSequence(_pregunta)); - //BA.debugLineNum = 79;BA.debugLine="lbl.TextSize = 16"; -_lbl.setTextSize((float) (16)); - //BA.debugLineNum = 80;BA.debugLine="lbl.TextColor = Colors.Black"; -_lbl.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 81;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; -_cd.Initialize2(__c.Colors.White,(int) (20),(int) (1),__c.Colors.Gray); - //BA.debugLineNum = 82;BA.debugLine="panelX.Background = cd"; -_panelx.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); - //BA.debugLineNum = 83;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; -_panelsombra.AddView((android.view.View)(_panelx.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (0)),__c.PerXToCurrent((float) (80),ba),__c.DipToCurrent((int) (200))); - //BA.debugLineNum = 84;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; -_root2.AddView((android.view.View)(_panelsombra.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - //BA.debugLineNum = 85;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; -_panelx.AddView((android.view.View)(_lbl.getObject()),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20)),(int) ((_panelx.getWidth()*0.9)),__c.DipToCurrent((int) (40))); - //BA.debugLineNum = 86;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; -_lbl.setHeight(_su.MeasureMultilineTextHeight((android.widget.TextView)(_lbl.getObject()),BA.ObjectToCharSequence(_lbl.getText()))); - //BA.debugLineNum = 87;BA.debugLine="Private cb(respuestas.Size) As CheckBox"; -_cb = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper[_respuestas.getSize()]; +public anywheresoftware.b4a.objects.collections.List _strtolist(gunav2.keymon.com.mx.c_cuestionario __ref,String _str) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "strtolist", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "strtolist", new Object[] {_str}));} +String[] _resps = null; +anywheresoftware.b4a.objects.collections.List _l = null; +int _r = 0; +RDebugUtils.currentLine=74711040; + //BA.debugLineNum = 74711040;BA.debugLine="Sub strToList(str As String) As List 'ignore"; +RDebugUtils.currentLine=74711041; + //BA.debugLineNum = 74711041;BA.debugLine="Private resps() As String = Regex.Split(\"\\|\", str"; +_resps = __c.Regex.Split("\\|",_str); +RDebugUtils.currentLine=74711042; + //BA.debugLineNum = 74711042;BA.debugLine="Private l As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=74711043; + //BA.debugLineNum = 74711043;BA.debugLine="l.Initialize"; +_l.Initialize(); +RDebugUtils.currentLine=74711044; + //BA.debugLineNum = 74711044;BA.debugLine="For r = 0 To resps.Length - 1"; { -int d0 = _cb.length; -for (int i0 = 0;i0 < d0;i0++) { -_cb[i0] = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); -} -} -; - //BA.debugLineNum = 88;BA.debugLine="For p = 0 To respuestas.Size - 1"; -{ -final int step25 = 1; -final int limit25 = (int) (_respuestas.getSize()-1); -_p = (int) (0) ; -for (;_p <= limit25 ;_p = _p + step25 ) { - //BA.debugLineNum = 89;BA.debugLine="cb(p).Initialize(\"cb\")"; -_cb[_p].Initialize(ba,"cb"); - //BA.debugLineNum = 90;BA.debugLine="cb(p).Text = respuestas.Get(p)"; -_cb[_p].setText(BA.ObjectToCharSequence(_respuestas.Get(_p))); - //BA.debugLineNum = 91;BA.debugLine="cb(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregun"; -_cb[_p].setTag((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_id),(Object)("pregunta"),(Object)(_pregunta),(Object)("panel"),(Object)(_panelsombra.getObject()),(Object)("idRespuesta"),(Object)(_p+1)}).getObject())); - //BA.debugLineNum = 92;BA.debugLine="panelX.AddView(cb(p), 10dip, (70 * (p + 1)), (pa"; -_panelx.AddView((android.view.View)(_cb[_p].getObject()),__c.DipToCurrent((int) (10)),(int) ((70*(_p+1))),(int) ((_panelx.getWidth()*0.9)),(int) (10)); - //BA.debugLineNum = 93;BA.debugLine="cb(p).Height = su.MeasureMultilineTextHeight(cb("; -_cb[_p].setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_cb[_p].getObject()),BA.ObjectToCharSequence(_cb[_p].getText()))+1)); - //BA.debugLineNum = 94;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; -_newtop = (int) (_lbl.getTop()+_lbl.getHeight()+10); - //BA.debugLineNum = 95;BA.debugLine="If p <> 0 Then newTop =cb(p - 1).Top + cb(p - 1)"; -if (_p!=0) { -_newtop = (int) (_cb[(int) (_p-1)].getTop()+_cb[(int) (_p-1)].getHeight()+10);}; - //BA.debugLineNum = 96;BA.debugLine="cb(p).Top = newTop"; -_cb[_p].setTop(_newtop); +final int step4 = 1; +final int limit4 = (int) (_resps.length-1); +_r = (int) (0) ; +for (;_r <= limit4 ;_r = _r + step4 ) { +RDebugUtils.currentLine=74711045; + //BA.debugLineNum = 74711045;BA.debugLine="l.Add(resps(r))"; +_l.Add((Object)(_resps[_r])); } }; - //BA.debugLineNum = 98;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; -_baceptarpregunta.setText(BA.ObjectToCharSequence("Continuar")); - //BA.debugLineNum = 100;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + cb("; -_panelx.AddView((android.view.View)(_baceptarpregunta.getObject()),(int) (10),(int) (_newtop+_cb[(int) (_respuestas.getSize()-1)].getHeight()+20),__c.DipToCurrent((int) (150)),__c.DipToCurrent((int) (50))); - //BA.debugLineNum = 101;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; -_baceptarpregunta.setLeft((int) ((_panelx.getWidth()/(double)2)-(_baceptarpregunta.getWidth()/(double)2))); - //BA.debugLineNum = 102;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; -_panelx.setHeight((int) (_baceptarpregunta.getTop()+_baceptarpregunta.getHeight()+__c.DipToCurrent((int) (15)))); - //BA.debugLineNum = 103;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; -_panelx.setLeft((int) ((_root2.getWidth()/(double)2)-(_panelx.getWidth()/(double)2))); - //BA.debugLineNum = 104;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; -_panelx.setTop((int) ((_root2.getHeight()/(double)3)-(_panelx.getHeight()/(double)3))); - //BA.debugLineNum = 105;BA.debugLine="panelSombra.Width = Root2.Width"; -_panelsombra.setWidth(_root2.getWidth()); - //BA.debugLineNum = 106;BA.debugLine="panelSombra.Height = Root2.Height"; -_panelsombra.setHeight(_root2.getHeight()); - //BA.debugLineNum = 107;BA.debugLine="panelSombra.Elevation = 100"; -_panelsombra.setElevation((float) (100)); - //BA.debugLineNum = 108;BA.debugLine="panelSombra.BringToFront"; -_panelsombra.BringToFront(); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; +RDebugUtils.currentLine=74711047; + //BA.debugLineNum = 74711047;BA.debugLine="Return l"; +if (true) return _l; +RDebugUtils.currentLine=74711048; + //BA.debugLineNum = 74711048;BA.debugLine="End Sub"; +return null; +} +public String _agregacolumna(gunav2.keymon.com.mx.c_cuestionario __ref,String _tabla,String _columna,String _tipo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "agregacolumna", false)) + {return ((String) Debug.delegate(ba, "agregacolumna", new Object[] {_tabla,_columna,_tipo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=74579968; + //BA.debugLineNum = 74579968;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=74579969; + //BA.debugLineNum = 74579969;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=74579970; + //BA.debugLineNum = 74579970;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=74579971; + //BA.debugLineNum = 74579971;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=74579972; + //BA.debugLineNum = 74579972;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=74579973; + //BA.debugLineNum = 74579973;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=74579974; + //BA.debugLineNum = 74579974;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("074579974",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); + }; + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=74579977; + //BA.debugLineNum = 74579977;BA.debugLine="Try"; +try {RDebugUtils.currentLine=74579978; + //BA.debugLineNum = 74579978;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=74579979; + //BA.debugLineNum = 74579979;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("074579979",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); + } + catch (Exception e13) { + ba.setLastException(e13);RDebugUtils.currentLine=74579981; + //BA.debugLineNum = 74579981;BA.debugLine="Log(LastException)"; +__c.LogImpl("074579981",BA.ObjectToString(__c.LastException(ba)),0); + }; + }; +RDebugUtils.currentLine=74579984; + //BA.debugLineNum = 74579984;BA.debugLine="End Sub"; return ""; } -public String _agregapreguntaradio(String _id,String _pregunta,anywheresoftware.b4a.objects.collections.List _respuestas) throws Exception{ +public String _agregapreguntaradio(gunav2.keymon.com.mx.c_cuestionario __ref,String _id,String _pregunta,anywheresoftware.b4a.objects.collections.List _respuestas) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "agregapreguntaradio", false)) + {return ((String) Debug.delegate(ba, "agregapreguntaradio", new Object[] {_id,_pregunta,_respuestas}));} anywheresoftware.b4a.objects.StringUtils _su = null; anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; anywheresoftware.b4a.objects.PanelWrapper _panelx = null; @@ -386,52 +632,76 @@ anywheresoftware.b4a.objects.LabelWrapper _lbl = null; anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper[] _r = null; int _p = 0; int _newtop = 0; - //BA.debugLineNum = 112;BA.debugLine="Sub agregaPreguntaRadio(id As String, pregunta As"; - //BA.debugLineNum = 113;BA.debugLine="encuestaIniciada = True"; -_encuestainiciada = __c.True; - //BA.debugLineNum = 114;BA.debugLine="vPreguntaActual = id"; -_vpreguntaactual = _id; - //BA.debugLineNum = 115;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; -_baceptarpregunta.Initialize(ba,"bAceptarPregunta"); - //BA.debugLineNum = 116;BA.debugLine="Private su As StringUtils"; +RDebugUtils.currentLine=73924608; + //BA.debugLineNum = 73924608;BA.debugLine="Sub agregaPreguntaRadio(id As String, pregunta As"; +RDebugUtils.currentLine=73924609; + //BA.debugLineNum = 73924609;BA.debugLine="encuestaIniciada = True"; +__ref._encuestainiciada /*boolean*/ = __c.True; +RDebugUtils.currentLine=73924610; + //BA.debugLineNum = 73924610;BA.debugLine="vPreguntaActual = id"; +__ref._vpreguntaactual /*String*/ = _id; +RDebugUtils.currentLine=73924611; + //BA.debugLineNum = 73924611;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .Initialize(ba,"bAceptarPregunta"); +RDebugUtils.currentLine=73924612; + //BA.debugLineNum = 73924612;BA.debugLine="Private su As StringUtils"; _su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 117;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; -_panelsombra.Initialize(ba,"pSombra"); - //BA.debugLineNum = 118;BA.debugLine="Private cd As ColorDrawable"; +RDebugUtils.currentLine=73924613; + //BA.debugLineNum = 73924613;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .Initialize(ba,"pSombra"); +RDebugUtils.currentLine=73924614; + //BA.debugLineNum = 73924614;BA.debugLine="Private cd As ColorDrawable"; _cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); - //BA.debugLineNum = 119;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; +RDebugUtils.currentLine=73924615; + //BA.debugLineNum = 73924615;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; _cd.Initialize(__c.Colors.ARGB((int) (125),(int) (98),(int) (98),(int) (98)),(int) (0)); - //BA.debugLineNum = 120;BA.debugLine="panelSombra.Background = cd"; -_panelsombra.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); - //BA.debugLineNum = 121;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; +RDebugUtils.currentLine=73924616; + //BA.debugLineNum = 73924616;BA.debugLine="panelSombra.Background = cd"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); +RDebugUtils.currentLine=73924617; + //BA.debugLineNum = 73924617;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; _panelx = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 122;BA.debugLine="panelX.Initialize(\"pQuest\")"; +RDebugUtils.currentLine=73924618; + //BA.debugLineNum = 73924618;BA.debugLine="panelX.Initialize(\"pQuest\")"; _panelx.Initialize(ba,"pQuest"); - //BA.debugLineNum = 123;BA.debugLine="panelActual = panelX"; -_panelactual = _panelx; - //BA.debugLineNum = 124;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; +RDebugUtils.currentLine=73924619; + //BA.debugLineNum = 73924619;BA.debugLine="panelActual = panelX"; +__ref._panelactual /*anywheresoftware.b4a.objects.PanelWrapper*/ = _panelx; +RDebugUtils.currentLine=73924620; + //BA.debugLineNum = 73924620;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; _lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 125;BA.debugLine="lbl.Initialize(\"\")"; +RDebugUtils.currentLine=73924621; + //BA.debugLineNum = 73924621;BA.debugLine="lbl.Initialize(\"\")"; _lbl.Initialize(ba,""); - //BA.debugLineNum = 126;BA.debugLine="lbl.Text = pregunta"; +RDebugUtils.currentLine=73924622; + //BA.debugLineNum = 73924622;BA.debugLine="lbl.Text = pregunta"; _lbl.setText(BA.ObjectToCharSequence(_pregunta)); - //BA.debugLineNum = 127;BA.debugLine="lbl.TextSize = 16"; +RDebugUtils.currentLine=73924623; + //BA.debugLineNum = 73924623;BA.debugLine="lbl.TextSize = 16"; _lbl.setTextSize((float) (16)); - //BA.debugLineNum = 128;BA.debugLine="lbl.TextColor = Colors.Black"; +RDebugUtils.currentLine=73924624; + //BA.debugLineNum = 73924624;BA.debugLine="lbl.TextColor = Colors.Black"; _lbl.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 129;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; +RDebugUtils.currentLine=73924625; + //BA.debugLineNum = 73924625;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; _cd.Initialize2(__c.Colors.White,(int) (20),(int) (1),__c.Colors.Gray); - //BA.debugLineNum = 130;BA.debugLine="panelX.Background = cd"; +RDebugUtils.currentLine=73924626; + //BA.debugLineNum = 73924626;BA.debugLine="panelX.Background = cd"; _panelx.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); - //BA.debugLineNum = 131;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; -_panelsombra.AddView((android.view.View)(_panelx.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (0)),__c.PerXToCurrent((float) (80),ba),__c.DipToCurrent((int) (200))); - //BA.debugLineNum = 132;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; -_root2.AddView((android.view.View)(_panelsombra.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - //BA.debugLineNum = 133;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; +RDebugUtils.currentLine=73924627; + //BA.debugLineNum = 73924627;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .AddView((android.view.View)(_panelx.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (0)),__c.PerXToCurrent((float) (80),ba),__c.DipToCurrent((int) (200))); +RDebugUtils.currentLine=73924628; + //BA.debugLineNum = 73924628;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; +__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=73924629; + //BA.debugLineNum = 73924629;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; _panelx.AddView((android.view.View)(_lbl.getObject()),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20)),(int) ((_panelx.getWidth()*0.9)),__c.DipToCurrent((int) (40))); - //BA.debugLineNum = 134;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; +RDebugUtils.currentLine=73924630; + //BA.debugLineNum = 73924630;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; _lbl.setHeight(_su.MeasureMultilineTextHeight((android.widget.TextView)(_lbl.getObject()),BA.ObjectToCharSequence(_lbl.getText()))); - //BA.debugLineNum = 135;BA.debugLine="Private r(respuestas.Size) As RadioButton"; +RDebugUtils.currentLine=73924631; + //BA.debugLineNum = 73924631;BA.debugLine="Private r(respuestas.Size) As RadioButton"; _r = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper[_respuestas.getSize()]; { int d0 = _r.length; @@ -440,405 +710,508 @@ _r[i0] = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapp } } ; - //BA.debugLineNum = 136;BA.debugLine="For p = 0 To respuestas.Size - 1"; +RDebugUtils.currentLine=73924632; + //BA.debugLineNum = 73924632;BA.debugLine="For p = 0 To respuestas.Size - 1"; { final int step24 = 1; final int limit24 = (int) (_respuestas.getSize()-1); _p = (int) (0) ; for (;_p <= limit24 ;_p = _p + step24 ) { - //BA.debugLineNum = 137;BA.debugLine="r(p).Initialize(\"r\")"; +RDebugUtils.currentLine=73924633; + //BA.debugLineNum = 73924633;BA.debugLine="r(p).Initialize(\"r\")"; _r[_p].Initialize(ba,"r"); - //BA.debugLineNum = 138;BA.debugLine="r(p).Text = respuestas.Get(p)"; +RDebugUtils.currentLine=73924634; + //BA.debugLineNum = 73924634;BA.debugLine="r(p).Text = respuestas.Get(p)"; _r[_p].setText(BA.ObjectToCharSequence(_respuestas.Get(_p))); - //BA.debugLineNum = 139;BA.debugLine="r(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregunt"; -_r[_p].setTag((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_id),(Object)("pregunta"),(Object)(_pregunta),(Object)("panel"),(Object)(_panelsombra.getObject()),(Object)("idRespuesta"),(Object)(_p+1)}).getObject())); - //BA.debugLineNum = 140;BA.debugLine="panelX.AddView(r(p), 10dip, (70 * (p + 1)), (pan"; +RDebugUtils.currentLine=73924635; + //BA.debugLineNum = 73924635;BA.debugLine="r(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregunt"; +_r[_p].setTag((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_id),(Object)("pregunta"),(Object)(_pregunta),(Object)("panel"),(Object)(__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(Object)("idRespuesta"),(Object)(_p+1)}).getObject())); +RDebugUtils.currentLine=73924636; + //BA.debugLineNum = 73924636;BA.debugLine="panelX.AddView(r(p), 10dip, (70 * (p + 1)), (pan"; _panelx.AddView((android.view.View)(_r[_p].getObject()),__c.DipToCurrent((int) (10)),(int) ((70*(_p+1))),(int) ((_panelx.getWidth()*0.9)),(int) (10)); - //BA.debugLineNum = 141;BA.debugLine="r(p).Height = su.MeasureMultilineTextHeight(r(p)"; +RDebugUtils.currentLine=73924637; + //BA.debugLineNum = 73924637;BA.debugLine="r(p).Height = su.MeasureMultilineTextHeight(r(p)"; _r[_p].setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_r[_p].getObject()),BA.ObjectToCharSequence(_r[_p].getText()))+25)); - //BA.debugLineNum = 142;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; +RDebugUtils.currentLine=73924638; + //BA.debugLineNum = 73924638;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; _newtop = (int) (_lbl.getTop()+_lbl.getHeight()+10); - //BA.debugLineNum = 143;BA.debugLine="If p <> 0 Then newTop = r(p - 1).Top + r(p - 1)."; +RDebugUtils.currentLine=73924639; + //BA.debugLineNum = 73924639;BA.debugLine="If p <> 0 Then newTop = r(p - 1).Top + r(p - 1)."; if (_p!=0) { _newtop = (int) (_r[(int) (_p-1)].getTop()+_r[(int) (_p-1)].getHeight()+5);}; - //BA.debugLineNum = 144;BA.debugLine="r(p).Top = newTop"; +RDebugUtils.currentLine=73924640; + //BA.debugLineNum = 73924640;BA.debugLine="r(p).Top = newTop"; _r[_p].setTop(_newtop); } }; - //BA.debugLineNum = 146;BA.debugLine="r(0).Checked = True"; +RDebugUtils.currentLine=73924642; + //BA.debugLineNum = 73924642;BA.debugLine="r(0).Checked = True"; _r[(int) (0)].setChecked(__c.True); - //BA.debugLineNum = 147;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; -_baceptarpregunta.setText(BA.ObjectToCharSequence("Continuar")); - //BA.debugLineNum = 149;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + r(r"; -_panelx.AddView((android.view.View)(_baceptarpregunta.getObject()),(int) (10),(int) (_newtop+_r[(int) (_respuestas.getSize()-1)].getHeight()+20),__c.DipToCurrent((int) (150)),__c.DipToCurrent((int) (50))); - //BA.debugLineNum = 150;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; -_baceptarpregunta.setLeft((int) ((_panelx.getWidth()/(double)2)-(_baceptarpregunta.getWidth()/(double)2))); - //BA.debugLineNum = 151;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; -_panelx.setHeight((int) (_baceptarpregunta.getTop()+_baceptarpregunta.getHeight()+__c.DipToCurrent((int) (15)))); - //BA.debugLineNum = 152;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; -_panelx.setLeft((int) ((_root2.getWidth()/(double)2)-(_panelx.getWidth()/(double)2))); - //BA.debugLineNum = 153;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; -_panelx.setTop((int) ((_root2.getHeight()/(double)3)-(_panelx.getHeight()/(double)2))); - //BA.debugLineNum = 154;BA.debugLine="panelSombra.Width = Root2.Width"; -_panelsombra.setWidth(_root2.getWidth()); - //BA.debugLineNum = 155;BA.debugLine="panelSombra.Height = Root2.Height"; -_panelsombra.setHeight(_root2.getHeight()); - //BA.debugLineNum = 156;BA.debugLine="panelSombra.Elevation = 100"; -_panelsombra.setElevation((float) (100)); - //BA.debugLineNum = 157;BA.debugLine="panelSombra.BringToFront"; -_panelsombra.BringToFront(); - //BA.debugLineNum = 158;BA.debugLine="End Sub"; +RDebugUtils.currentLine=73924643; + //BA.debugLineNum = 73924643;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Continuar")); +RDebugUtils.currentLine=73924645; + //BA.debugLineNum = 73924645;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + r(r"; +_panelx.AddView((android.view.View)(__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getObject()),(int) (10),(int) (_newtop+_r[(int) (_respuestas.getSize()-1)].getHeight()+20),__c.DipToCurrent((int) (150)),__c.DipToCurrent((int) (50))); +RDebugUtils.currentLine=73924646; + //BA.debugLineNum = 73924646;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((_panelx.getWidth()/(double)2)-(__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=73924647; + //BA.debugLineNum = 73924647;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; +_panelx.setHeight((int) (__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getTop()+__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getHeight()+__c.DipToCurrent((int) (15)))); +RDebugUtils.currentLine=73924648; + //BA.debugLineNum = 73924648;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; +_panelx.setLeft((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(_panelx.getWidth()/(double)2))); +RDebugUtils.currentLine=73924649; + //BA.debugLineNum = 73924649;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; +_panelx.setTop((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)3)-(_panelx.getHeight()/(double)2))); +RDebugUtils.currentLine=73924650; + //BA.debugLineNum = 73924650;BA.debugLine="panelSombra.Width = Root2.Width"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=73924651; + //BA.debugLineNum = 73924651;BA.debugLine="panelSombra.Height = Root2.Height"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=73924652; + //BA.debugLineNum = 73924652;BA.debugLine="panelSombra.Elevation = 100"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setElevation((float) (100)); +RDebugUtils.currentLine=73924653; + //BA.debugLineNum = 73924653;BA.debugLine="panelSombra.BringToFront"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=73924654; + //BA.debugLineNum = 73924654;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 33;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +public String _b4xpage_created(gunav2.keymon.com.mx.c_cuestionario __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=73728000; + //BA.debugLineNum = 73728000;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=73728001; + //BA.debugLineNum = 73728001;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=73728003; + //BA.debugLineNum = 73728003;BA.debugLine="End Sub"; return ""; } -public String _baceptarpregunta_click() throws Exception{ +public String _baceptarpregunta_click(gunav2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "baceptarpregunta_click", false)) + {return ((String) Debug.delegate(ba, "baceptarpregunta_click", null));} anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 338;BA.debugLine="Private Sub bAceptarPregunta_Click"; - //BA.debugLineNum = 339;BA.debugLine="encuestaIniciada = True"; -_encuestainiciada = __c.True; - //BA.debugLineNum = 340;BA.debugLine="Private m As Map = Sender.As(Button).tag.As(Map)"; +RDebugUtils.currentLine=74383360; + //BA.debugLineNum = 74383360;BA.debugLine="Private Sub bAceptarPregunta_Click"; +RDebugUtils.currentLine=74383361; + //BA.debugLineNum = 74383361;BA.debugLine="encuestaIniciada = True"; +__ref._encuestainiciada /*boolean*/ = __c.True; +RDebugUtils.currentLine=74383362; + //BA.debugLineNum = 74383362;BA.debugLine="Private m As Map = Sender.As(Button).tag.As(Map)"; _m = new anywheresoftware.b4a.objects.collections.Map(); _m = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)))).getTag()))); - //BA.debugLineNum = 341;BA.debugLine="preguntaContestada(m)"; -_preguntacontestada(_m); - //BA.debugLineNum = 354;BA.debugLine="End Sub"; +RDebugUtils.currentLine=74383363; + //BA.debugLineNum = 74383363;BA.debugLine="preguntaContestada(m)"; +__ref._preguntacontestada /*String*/ (null,_m); +RDebugUtils.currentLine=74383376; + //BA.debugLineNum = 74383376;BA.debugLine="End Sub"; return ""; } -public String _cb_checkedchange(boolean _checked) throws Exception{ +public String _preguntacontestada(gunav2.keymon.com.mx.c_cuestionario __ref,anywheresoftware.b4a.objects.collections.Map _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "preguntacontestada", false)) + {return ((String) Debug.delegate(ba, "preguntacontestada", new Object[] {_success}));} +RDebugUtils.currentLine=74055680; + //BA.debugLineNum = 74055680;BA.debugLine="private Sub preguntaContestada(Success As Map) 'ig"; +RDebugUtils.currentLine=74055681; + //BA.debugLineNum = 74055681;BA.debugLine="If SubExists(CallBack, EventName & \"_preguntaCont"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_preguntaContestada")) { +RDebugUtils.currentLine=74055682; + //BA.debugLineNum = 74055682;BA.debugLine="CallSubDelayed2(CallBack, EventName & \"_pregunta"; +__c.CallSubDelayed2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_preguntaContestada",(Object)(_success)); + }; +RDebugUtils.currentLine=74055684; + //BA.debugLineNum = 74055684;BA.debugLine="End Sub"; +return ""; +} +public String _cb_checkedchange(gunav2.keymon.com.mx.c_cuestionario __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "cb_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb_checkedchange", new Object[] {_checked}));} anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _elcb = null; anywheresoftware.b4a.objects.collections.Map _elcbmap = null; int _cuantoschks = 0; anywheresoftware.b4a.objects.ConcreteViewWrapper _v = null; String _cb_idrespuestas = ""; - //BA.debugLineNum = 255;BA.debugLine="private Sub cb_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 256;BA.debugLine="Private elCB As CheckBox = Sender.As(CheckBox)"; +RDebugUtils.currentLine=74252288; + //BA.debugLineNum = 74252288;BA.debugLine="private Sub cb_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=74252289; + //BA.debugLineNum = 74252289;BA.debugLine="Private elCB As CheckBox = Sender.As(CheckBox)"; _elcb = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); _elcb = ((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(__c.Sender(ba)))); - //BA.debugLineNum = 257;BA.debugLine="Private elCBMap As Map = elCB.tag.As(Map)"; +RDebugUtils.currentLine=74252290; + //BA.debugLineNum = 74252290;BA.debugLine="Private elCBMap As Map = elCB.tag.As(Map)"; _elcbmap = new anywheresoftware.b4a.objects.collections.Map(); _elcbmap = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_elcb.getTag()))); - //BA.debugLineNum = 258;BA.debugLine="Private cuantosChks As Int = 0"; +RDebugUtils.currentLine=74252291; + //BA.debugLineNum = 74252291;BA.debugLine="Private cuantosChks As Int = 0"; _cuantoschks = (int) (0); - //BA.debugLineNum = 260;BA.debugLine="If elCB.Text = \"Ninguno de los anteriores\" And el"; +RDebugUtils.currentLine=74252293; + //BA.debugLineNum = 74252293;BA.debugLine="If elCB.Text = \"Ninguno de los anteriores\" And el"; if ((_elcb.getText()).equals("Ninguno de los anteriores") && _elcb.getChecked()==__c.True) { - //BA.debugLineNum = 261;BA.debugLine="For Each v As View In panelActual.GetAllViewsRec"; +RDebugUtils.currentLine=74252294; + //BA.debugLineNum = 74252294;BA.debugLine="For Each v As View In panelActual.GetAllViewsRec"; _v = new anywheresoftware.b4a.objects.ConcreteViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group5 = _panelactual.GetAllViewsRecursive(); +final anywheresoftware.b4a.BA.IterableList group5 = __ref._panelactual /*anywheresoftware.b4a.objects.PanelWrapper*/ .GetAllViewsRecursive(); final int groupLen5 = group5.getSize() ;int index5 = 0; ; for (; index5 < groupLen5;index5++){ _v = (anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(group5.Get(index5))); - //BA.debugLineNum = 262;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; -if ((_getviewtype(_v)).equals("CheckBox")) { - //BA.debugLineNum = 263;BA.debugLine="cuantosChks = cuantosChks + 1"; +RDebugUtils.currentLine=74252295; + //BA.debugLineNum = 74252295;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; +if ((__ref._getviewtype /*String*/ (null,_v)).equals("CheckBox")) { +RDebugUtils.currentLine=74252296; + //BA.debugLineNum = 74252296;BA.debugLine="cuantosChks = cuantosChks + 1"; _cuantoschks = (int) (_cuantoschks+1); - //BA.debugLineNum = 264;BA.debugLine="v.As(CheckBox).Checked = False"; +RDebugUtils.currentLine=74252297; + //BA.debugLineNum = 74252297;BA.debugLine="v.As(CheckBox).Checked = False"; ((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).setChecked(__c.False); - //BA.debugLineNum = 265;BA.debugLine="v.As(CheckBox).Enabled = False"; +RDebugUtils.currentLine=74252298; + //BA.debugLineNum = 74252298;BA.debugLine="v.As(CheckBox).Enabled = False"; ((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).setEnabled(__c.False); - //BA.debugLineNum = 268;BA.debugLine="If v.As(CheckBox).Text = \"Ninguno de los anter"; +RDebugUtils.currentLine=74252301; + //BA.debugLineNum = 74252301;BA.debugLine="If v.As(CheckBox).Text = \"Ninguno de los anter"; if ((((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getText()).equals("Ninguno de los anteriores")) { - //BA.debugLineNum = 269;BA.debugLine="v.As(CheckBox).Enabled = True"; +RDebugUtils.currentLine=74252302; + //BA.debugLineNum = 74252302;BA.debugLine="v.As(CheckBox).Enabled = True"; ((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).setEnabled(__c.True); - //BA.debugLineNum = 270;BA.debugLine="v.As(CheckBox).Checked = True"; +RDebugUtils.currentLine=74252303; + //BA.debugLineNum = 74252303;BA.debugLine="v.As(CheckBox).Checked = True"; ((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).setChecked(__c.True); }; - //BA.debugLineNum = 272;BA.debugLine="If v.As(CheckBox).Checked Then cb_respuestas ="; +RDebugUtils.currentLine=74252305; + //BA.debugLineNum = 74252305;BA.debugLine="If v.As(CheckBox).Checked Then cb_respuestas ="; if (((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getChecked()) { -_cb_respuestas = _cb_respuestas+"|"+((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getText();}; +__ref._cb_respuestas /*String*/ = __ref._cb_respuestas /*String*/ +"|"+((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getText();}; }; } }; - }else if((_elcb.getText()).equals("Ninguno de los anteriores") && _elcb.getChecked()==__c.False) { - //BA.debugLineNum = 276;BA.debugLine="For Each v As View In panelActual.GetAllViewsRec"; + }else +{RDebugUtils.currentLine=74252308; + //BA.debugLineNum = 74252308;BA.debugLine="else if elCB.Text = \"Ninguno de los anteriores\" A"; +if ((_elcb.getText()).equals("Ninguno de los anteriores") && _elcb.getChecked()==__c.False) { +RDebugUtils.currentLine=74252309; + //BA.debugLineNum = 74252309;BA.debugLine="For Each v As View In panelActual.GetAllViewsRec"; _v = new anywheresoftware.b4a.objects.ConcreteViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group18 = _panelactual.GetAllViewsRecursive(); +final anywheresoftware.b4a.BA.IterableList group18 = __ref._panelactual /*anywheresoftware.b4a.objects.PanelWrapper*/ .GetAllViewsRecursive(); final int groupLen18 = group18.getSize() ;int index18 = 0; ; for (; index18 < groupLen18;index18++){ _v = (anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(group18.Get(index18))); - //BA.debugLineNum = 277;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; -if ((_getviewtype(_v)).equals("CheckBox")) { - //BA.debugLineNum = 278;BA.debugLine="v.As(CheckBox).Enabled = True"; +RDebugUtils.currentLine=74252310; + //BA.debugLineNum = 74252310;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; +if ((__ref._getviewtype /*String*/ (null,_v)).equals("CheckBox")) { +RDebugUtils.currentLine=74252311; + //BA.debugLineNum = 74252311;BA.debugLine="v.As(CheckBox).Enabled = True"; ((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).setEnabled(__c.True); }; } }; - }; - //BA.debugLineNum = 282;BA.debugLine="If cuantosChks = 0 Then bAceptarPregunta.Enabled"; + }} +; +RDebugUtils.currentLine=74252315; + //BA.debugLineNum = 74252315;BA.debugLine="If cuantosChks = 0 Then bAceptarPregunta.Enabled"; if (_cuantoschks==0) { -_baceptarpregunta.setEnabled(__c.False);}; - //BA.debugLineNum = 283;BA.debugLine="cb_respuestas = \"\""; -_cb_respuestas = ""; - //BA.debugLineNum = 284;BA.debugLine="Private cb_idRespuestas As String= \"\""; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False);}; +RDebugUtils.currentLine=74252316; + //BA.debugLineNum = 74252316;BA.debugLine="cb_respuestas = \"\""; +__ref._cb_respuestas /*String*/ = ""; +RDebugUtils.currentLine=74252317; + //BA.debugLineNum = 74252317;BA.debugLine="Private cb_idRespuestas As String= \"\""; _cb_idrespuestas = ""; - //BA.debugLineNum = 285;BA.debugLine="For Each v As View In panelActual.GetAllViewsRecu"; +RDebugUtils.currentLine=74252318; + //BA.debugLineNum = 74252318;BA.debugLine="For Each v As View In panelActual.GetAllViewsRecu"; _v = new anywheresoftware.b4a.objects.ConcreteViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group27 = _panelactual.GetAllViewsRecursive(); +final anywheresoftware.b4a.BA.IterableList group27 = __ref._panelactual /*anywheresoftware.b4a.objects.PanelWrapper*/ .GetAllViewsRecursive(); final int groupLen27 = group27.getSize() ;int index27 = 0; ; for (; index27 < groupLen27;index27++){ _v = (anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(group27.Get(index27))); - //BA.debugLineNum = 287;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; -if ((_getviewtype(_v)).equals("CheckBox")) { - //BA.debugLineNum = 290;BA.debugLine="If v.As(CheckBox).Checked Then"; +RDebugUtils.currentLine=74252320; + //BA.debugLineNum = 74252320;BA.debugLine="If getViewType(v) = \"CheckBox\" Then"; +if ((__ref._getviewtype /*String*/ (null,_v)).equals("CheckBox")) { +RDebugUtils.currentLine=74252323; + //BA.debugLineNum = 74252323;BA.debugLine="If v.As(CheckBox).Checked Then"; if (((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getChecked()) { - //BA.debugLineNum = 292;BA.debugLine="If cb_respuestas = \"\" Then"; -if ((_cb_respuestas).equals("")) { - //BA.debugLineNum = 293;BA.debugLine="cb_respuestas = v.As(CheckBox).Text"; -_cb_respuestas = ((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getText(); - //BA.debugLineNum = 294;BA.debugLine="cb_idRespuestas = v.As(CheckBox).Tag.As(Map)."; +RDebugUtils.currentLine=74252325; + //BA.debugLineNum = 74252325;BA.debugLine="If cb_respuestas = \"\" Then"; +if ((__ref._cb_respuestas /*String*/ ).equals("")) { +RDebugUtils.currentLine=74252326; + //BA.debugLineNum = 74252326;BA.debugLine="cb_respuestas = v.As(CheckBox).Text"; +__ref._cb_respuestas /*String*/ = ((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getText(); +RDebugUtils.currentLine=74252327; + //BA.debugLineNum = 74252327;BA.debugLine="cb_idRespuestas = v.As(CheckBox).Tag.As(Map)."; _cb_idrespuestas = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getTag()))).Get((Object)("idRespuesta"))); }else { - //BA.debugLineNum = 296;BA.debugLine="cb_respuestas = cb_respuestas &\"|\" & v.As(Che"; -_cb_respuestas = _cb_respuestas+"|"+((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getText(); - //BA.debugLineNum = 297;BA.debugLine="cb_idRespuestas = cb_idRespuestas &\"|\" & v.As"; +RDebugUtils.currentLine=74252329; + //BA.debugLineNum = 74252329;BA.debugLine="cb_respuestas = cb_respuestas &\"|\" & v.As(Che"; +__ref._cb_respuestas /*String*/ = __ref._cb_respuestas /*String*/ +"|"+((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getText(); +RDebugUtils.currentLine=74252330; + //BA.debugLineNum = 74252330;BA.debugLine="cb_idRespuestas = cb_idRespuestas &\"|\" & v.As"; _cb_idrespuestas = _cb_idrespuestas+"|"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(_v.getObject()))).getTag()))).Get((Object)("idRespuesta"))); }; - //BA.debugLineNum = 299;BA.debugLine="bAceptarPregunta.Enabled = True ' Si hay opcio"; -_baceptarpregunta.setEnabled(__c.True); +RDebugUtils.currentLine=74252332; + //BA.debugLineNum = 74252332;BA.debugLine="bAceptarPregunta.Enabled = True ' Si hay opcio"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); }; }; } }; - //BA.debugLineNum = 306;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":elC"; -_baceptarpregunta.setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(_elcbmap.Get((Object)("id"))))),(Object)("pregunta"),_elcbmap.Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)(_cb_idrespuestas),(Object)("respuesta"),(Object)(_cb_respuestas),(Object)("panel"),_elcbmap.Get((Object)("panel"))}).getObject())); - //BA.debugLineNum = 307;BA.debugLine="End Sub"; +RDebugUtils.currentLine=74252339; + //BA.debugLineNum = 74252339;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":elC"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(_elcbmap.Get((Object)("id"))))),(Object)("pregunta"),_elcbmap.Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)(_cb_idrespuestas),(Object)("respuesta"),(Object)(__ref._cb_respuestas /*String*/ ),(Object)("panel"),_elcbmap.Get((Object)("panel"))}).getObject())); +RDebugUtils.currentLine=74252340; + //BA.debugLineNum = 74252340;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _getviewtype(gunav2.keymon.com.mx.c_cuestionario __ref,anywheresoftware.b4a.objects.ConcreteViewWrapper _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "getviewtype", false)) + {return ((String) Debug.delegate(ba, "getviewtype", new Object[] {_v}));} +String _t = ""; +String[] _t2 = null; +RDebugUtils.currentLine=74645504; + //BA.debugLineNum = 74645504;BA.debugLine="Sub getViewType (v As View) As String 'ignore"; +RDebugUtils.currentLine=74645505; + //BA.debugLineNum = 74645505;BA.debugLine="Private t As String = GetType(v)"; +_t = __c.GetType((Object)(_v.getObject())); +RDebugUtils.currentLine=74645507; + //BA.debugLineNum = 74645507;BA.debugLine="Private t2() As String = Regex.Split(\"\\.\", t)"; +_t2 = __c.Regex.Split("\\.",_t); +RDebugUtils.currentLine=74645509; + //BA.debugLineNum = 74645509;BA.debugLine="If t2.Length = 3 Then"; +if (_t2.length==3) { +RDebugUtils.currentLine=74645510; + //BA.debugLineNum = 74645510;BA.debugLine="t = t2(2)"; +_t = _t2[(int) (2)]; + }; +RDebugUtils.currentLine=74645512; + //BA.debugLineNum = 74645512;BA.debugLine="Return t"; +if (true) return _t; +RDebugUtils.currentLine=74645513; + //BA.debugLineNum = 74645513;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +RDebugUtils.currentLine=73596928; + //BA.debugLineNum = 73596928;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=73596929; + //BA.debugLineNum = 73596929;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=73596930; + //BA.debugLineNum = 73596930;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private bAceptarPregunta As Button"; +RDebugUtils.currentLine=73596931; + //BA.debugLineNum = 73596931;BA.debugLine="Private bAceptarPregunta As Button"; _baceptarpregunta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Dim encuestaIniciada As Boolean = False"; +RDebugUtils.currentLine=73596932; + //BA.debugLineNum = 73596932;BA.debugLine="Dim encuestaIniciada As Boolean = False"; _encuestainiciada = __c.False; - //BA.debugLineNum = 6;BA.debugLine="Private Root2 As B4XView"; +RDebugUtils.currentLine=73596933; + //BA.debugLineNum = 73596933;BA.debugLine="Private Root2 As B4XView"; _root2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private EventName As String 'ignore"; +RDebugUtils.currentLine=73596934; + //BA.debugLineNum = 73596934;BA.debugLine="Private EventName As String 'ignore"; _eventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private CallBack As Object 'ignore"; +RDebugUtils.currentLine=73596935; + //BA.debugLineNum = 73596935;BA.debugLine="Private CallBack As Object 'ignore"; _callback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Private vPreguntaActual As String"; +RDebugUtils.currentLine=73596936; + //BA.debugLineNum = 73596936;BA.debugLine="Private vPreguntaActual As String"; _vpreguntaactual = ""; - //BA.debugLineNum = 10;BA.debugLine="Private db As SQL"; +RDebugUtils.currentLine=73596937; + //BA.debugLineNum = 73596937;BA.debugLine="Private db As SQL"; _db = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="Dim panelSombra As Panel 'Panel de sombra."; +RDebugUtils.currentLine=73596939; + //BA.debugLineNum = 73596939;BA.debugLine="Dim panelSombra As Panel 'Panel de sombra."; _panelsombra = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim cb_respuestas As String = \"\""; +RDebugUtils.currentLine=73596940; + //BA.debugLineNum = 73596940;BA.debugLine="Dim cb_respuestas As String = \"\""; _cb_respuestas = ""; - //BA.debugLineNum = 14;BA.debugLine="Dim panelActual As Panel"; +RDebugUtils.currentLine=73596941; + //BA.debugLineNum = 73596941;BA.debugLine="Dim panelActual As Panel"; _panelactual = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim bringToFrontCont As Int = 0"; +RDebugUtils.currentLine=73596942; + //BA.debugLineNum = 73596942;BA.debugLine="Dim bringToFrontCont As Int = 0"; _bringtofrontcont = (int) (0); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; +RDebugUtils.currentLine=73596943; + //BA.debugLineNum = 73596943;BA.debugLine="End Sub"; return ""; } -public boolean _clienteconcuestionario(String _idcliente) throws Exception{ +public boolean _clienteconcuestionario(gunav2.keymon.com.mx.c_cuestionario __ref,String _idcliente) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "clienteconcuestionario", false)) + {return ((Boolean) Debug.delegate(ba, "clienteconcuestionario", new Object[] {_idcliente}));} boolean _r = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 357;BA.debugLine="Sub clienteConCuestionario(idCliente As String) As"; - //BA.debugLineNum = 358;BA.debugLine="Private r As Boolean = False"; +RDebugUtils.currentLine=74448896; + //BA.debugLineNum = 74448896;BA.debugLine="Sub clienteConCuestionario(idCliente As String) As"; +RDebugUtils.currentLine=74448897; + //BA.debugLineNum = 74448897;BA.debugLine="Private r As Boolean = False"; _r = __c.False; - //BA.debugLineNum = 359;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select count"; +RDebugUtils.currentLine=74448898; + //BA.debugLineNum = 74448898;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select count"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("select count(*) as q from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_idcliente))+"'")))); - //BA.debugLineNum = 360;BA.debugLine="c.Position = 0"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(*) as q from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_idcliente))+"'")))); +RDebugUtils.currentLine=74448899; + //BA.debugLineNum = 74448899;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 361;BA.debugLine="If c.GetInt(\"q\") > 0 Then r = True"; +RDebugUtils.currentLine=74448900; + //BA.debugLineNum = 74448900;BA.debugLine="If c.GetInt(\"q\") > 0 Then r = True"; if (_c.GetInt("q")>0) { _r = __c.True;}; - //BA.debugLineNum = 362;BA.debugLine="Return r"; +RDebugUtils.currentLine=74448901; + //BA.debugLineNum = 74448901;BA.debugLine="Return r"; if (true) return _r; - //BA.debugLineNum = 363;BA.debugLine="End Sub"; +RDebugUtils.currentLine=74448902; + //BA.debugLineNum = 74448902;BA.debugLine="End Sub"; return false; } -public String _et_textchanged(String _old,String _new) throws Exception{ +public String _et_textchanged(gunav2.keymon.com.mx.c_cuestionario __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "et_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_textchanged", new Object[] {_old,_new}));} int _ettotales = 0; int _etcont = 0; String _etresps = ""; String _etidresps = ""; anywheresoftware.b4a.objects.ConcreteViewWrapper _v = null; - //BA.debugLineNum = 309;BA.debugLine="Private Sub et_TextChanged(Old As String, New As S"; - //BA.debugLineNum = 310;BA.debugLine="Log($\"${Old}, ${New}\"$)"; -__c.LogImpl("472351745",(""+__c.SmartStringFormatter("",(Object)(_old))+", "+__c.SmartStringFormatter("",(Object)(_new))+""),0); - //BA.debugLineNum = 311;BA.debugLine="Private etTotales As Int = 0"; +RDebugUtils.currentLine=74317824; + //BA.debugLineNum = 74317824;BA.debugLine="Private Sub et_TextChanged(Old As String, New As S"; +RDebugUtils.currentLine=74317825; + //BA.debugLineNum = 74317825;BA.debugLine="Log($\"${Old}, ${New}\"$)"; +__c.LogImpl("074317825",(""+__c.SmartStringFormatter("",(Object)(_old))+", "+__c.SmartStringFormatter("",(Object)(_new))+""),0); +RDebugUtils.currentLine=74317826; + //BA.debugLineNum = 74317826;BA.debugLine="Private etTotales As Int = 0"; _ettotales = (int) (0); - //BA.debugLineNum = 312;BA.debugLine="Private etCont As Int = 0"; +RDebugUtils.currentLine=74317827; + //BA.debugLineNum = 74317827;BA.debugLine="Private etCont As Int = 0"; _etcont = (int) (0); - //BA.debugLineNum = 313;BA.debugLine="Private etResps As String = \"\""; +RDebugUtils.currentLine=74317828; + //BA.debugLineNum = 74317828;BA.debugLine="Private etResps As String = \"\""; _etresps = ""; - //BA.debugLineNum = 314;BA.debugLine="Private etIdResps As String = \"\""; +RDebugUtils.currentLine=74317829; + //BA.debugLineNum = 74317829;BA.debugLine="Private etIdResps As String = \"\""; _etidresps = ""; - //BA.debugLineNum = 315;BA.debugLine="For Each v As View In panelActual.GetAllViewsRecu"; +RDebugUtils.currentLine=74317830; + //BA.debugLineNum = 74317830;BA.debugLine="For Each v As View In panelActual.GetAllViewsRecu"; _v = new anywheresoftware.b4a.objects.ConcreteViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group6 = _panelactual.GetAllViewsRecursive(); +final anywheresoftware.b4a.BA.IterableList group6 = __ref._panelactual /*anywheresoftware.b4a.objects.PanelWrapper*/ .GetAllViewsRecursive(); final int groupLen6 = group6.getSize() ;int index6 = 0; ; for (; index6 < groupLen6;index6++){ _v = (anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(group6.Get(index6))); - //BA.debugLineNum = 317;BA.debugLine="If getViewType(v) = \"EditText\" Then"; -if ((_getviewtype(_v)).equals("EditText")) { - //BA.debugLineNum = 318;BA.debugLine="etTotales = etTotales + 1"; +RDebugUtils.currentLine=74317832; + //BA.debugLineNum = 74317832;BA.debugLine="If getViewType(v) = \"EditText\" Then"; +if ((__ref._getviewtype /*String*/ (null,_v)).equals("EditText")) { +RDebugUtils.currentLine=74317833; + //BA.debugLineNum = 74317833;BA.debugLine="etTotales = etTotales + 1"; _ettotales = (int) (_ettotales+1); - //BA.debugLineNum = 320;BA.debugLine="If v.As(EditText).text <> \"\" Then"; +RDebugUtils.currentLine=74317835; + //BA.debugLineNum = 74317835;BA.debugLine="If v.As(EditText).text <> \"\" Then"; if ((((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_v.getObject()))).getText()).equals("") == false) { - //BA.debugLineNum = 321;BA.debugLine="etCont = etCont + 1"; +RDebugUtils.currentLine=74317836; + //BA.debugLineNum = 74317836;BA.debugLine="etCont = etCont + 1"; _etcont = (int) (_etcont+1); - //BA.debugLineNum = 322;BA.debugLine="If etResps = \"\" Then"; +RDebugUtils.currentLine=74317837; + //BA.debugLineNum = 74317837;BA.debugLine="If etResps = \"\" Then"; if ((_etresps).equals("")) { - //BA.debugLineNum = 323;BA.debugLine="etResps = v.As(EditText).Text"; +RDebugUtils.currentLine=74317838; + //BA.debugLineNum = 74317838;BA.debugLine="etResps = v.As(EditText).Text"; _etresps = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_v.getObject()))).getText(); - //BA.debugLineNum = 324;BA.debugLine="etIdResps = v.As(EditText).Tag.As(Map).Get(\"i"; +RDebugUtils.currentLine=74317839; + //BA.debugLineNum = 74317839;BA.debugLine="etIdResps = v.As(EditText).Tag.As(Map).Get(\"i"; _etidresps = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_v.getObject()))).getTag()))).Get((Object)("idRespuesta"))); }else { - //BA.debugLineNum = 326;BA.debugLine="etResps = etResps &\"|\" & v.As(EditText).Text"; +RDebugUtils.currentLine=74317841; + //BA.debugLineNum = 74317841;BA.debugLine="etResps = etResps &\"|\" & v.As(EditText).Text"; _etresps = _etresps+"|"+((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_v.getObject()))).getText(); - //BA.debugLineNum = 327;BA.debugLine="etIdResps = etIdResps &\"|\" & v.As(EditText).T"; +RDebugUtils.currentLine=74317842; + //BA.debugLineNum = 74317842;BA.debugLine="etIdResps = etIdResps &\"|\" & v.As(EditText).T"; _etidresps = _etidresps+"|"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_v.getObject()))).getTag()))).Get((Object)("idRespuesta"))); }; }; }; } }; - //BA.debugLineNum = 333;BA.debugLine="Log($\"${etCont}, ${etTotales}\"$)"; -__c.LogImpl("472351768",(""+__c.SmartStringFormatter("",(Object)(_etcont))+", "+__c.SmartStringFormatter("",(Object)(_ettotales))+""),0); - //BA.debugLineNum = 334;BA.debugLine="bAceptarPregunta.Tag = CreateMap(\"idPregunta\":Sen"; -_baceptarpregunta.setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("id"))))),(Object)("pregunta"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)(_etidresps),(Object)("respuesta"),(Object)(_etresps),(Object)("panel"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("panel"))}).getObject())); - //BA.debugLineNum = 335;BA.debugLine="If etCont = etTotales Then bAceptarPregunta.Enabl"; +RDebugUtils.currentLine=74317848; + //BA.debugLineNum = 74317848;BA.debugLine="Log($\"${etCont}, ${etTotales}\"$)"; +__c.LogImpl("074317848",(""+__c.SmartStringFormatter("",(Object)(_etcont))+", "+__c.SmartStringFormatter("",(Object)(_ettotales))+""),0); +RDebugUtils.currentLine=74317849; + //BA.debugLineNum = 74317849;BA.debugLine="bAceptarPregunta.Tag = CreateMap(\"idPregunta\":Sen"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("id"))))),(Object)("pregunta"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)(_etidresps),(Object)("respuesta"),(Object)(_etresps),(Object)("panel"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("panel"))}).getObject())); +RDebugUtils.currentLine=74317850; + //BA.debugLineNum = 74317850;BA.debugLine="If etCont = etTotales Then bAceptarPregunta.Enabl"; if (_etcont==_ettotales) { -_baceptarpregunta.setEnabled(__c.True);} +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);} else { -_baceptarpregunta.setEnabled(__c.False);}; - //BA.debugLineNum = 336;BA.debugLine="End Sub"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False);}; +RDebugUtils.currentLine=74317851; + //BA.debugLineNum = 74317851;BA.debugLine="End Sub"; return ""; } -public String _getviewtype(anywheresoftware.b4a.objects.ConcreteViewWrapper _v) throws Exception{ -String _t = ""; -String[] _t2 = null; - //BA.debugLineNum = 391;BA.debugLine="Sub getViewType (v As View) As String 'ignore"; - //BA.debugLineNum = 392;BA.debugLine="Private t As String = GetType(v)"; -_t = __c.GetType((Object)(_v.getObject())); - //BA.debugLineNum = 394;BA.debugLine="Private t2() As String = Regex.Split(\"\\.\", t)"; -_t2 = __c.Regex.Split("\\.",_t); - //BA.debugLineNum = 396;BA.debugLine="If t2.Length = 3 Then"; -if (_t2.length==3) { - //BA.debugLineNum = 397;BA.debugLine="t = t2(2)"; -_t = _t2[(int) (2)]; - }; - //BA.debugLineNum = 399;BA.debugLine="Return t"; -if (true) return _t; - //BA.debugLineNum = 400;BA.debugLine="End Sub"; +public String _preguntaactual(gunav2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "preguntaactual", false)) + {return ((String) Debug.delegate(ba, "preguntaactual", null));} +RDebugUtils.currentLine=73793536; + //BA.debugLineNum = 73793536;BA.debugLine="Sub preguntaActual As String 'ignore"; +RDebugUtils.currentLine=73793537; + //BA.debugLineNum = 73793537;BA.debugLine="Return vPreguntaActual"; +if (true) return __ref._vpreguntaactual /*String*/ ; +RDebugUtils.currentLine=73793538; + //BA.debugLineNum = 73793538;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname,anywheresoftware.b4a.objects.B4XViewWrapper _vroot,anywheresoftware.b4a.sql.SQL _skmt) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; - //BA.debugLineNum = 20;BA.debugLine="Root2 = vRoot"; -_root2 = _vroot; - //BA.debugLineNum = 21;BA.debugLine="EventName = vEventName"; -_eventname = _veventname; - //BA.debugLineNum = 22;BA.debugLine="CallBack = vCallback"; -_callback = _vcallback; - //BA.debugLineNum = 23;BA.debugLine="db = skmt"; -_db = _skmt; - //BA.debugLineNum = 24;BA.debugLine="vPreguntaActual = 0"; -_vpreguntaactual = BA.NumberToString(0); - //BA.debugLineNum = 25;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CUEST"; -_db.ExecNonQuery("CREATE TABLE IF NOT EXISTS CUESTIONARIO (Q_RUTA TEXT, Q_ALMACEN TEXT, Q_IDCLIENTE TEXT, Q_IDPREGUNTA TEXT, Q_PREGUNTA TEXT, Q_IDRESPUESTA TEXT, Q_RESPUESTA TEXT, Q_FECHA TEXT, Q_ENVIO_OK INTEGER DEFAULT 0)"); - //BA.debugLineNum = 26;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_RUTA\", \"TEXT\")"; -_agregacolumna("CUESTIONARIO","Q_RUTA","TEXT"); - //BA.debugLineNum = 27;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ALMACEN\", \"TEXT\""; -_agregacolumna("CUESTIONARIO","Q_ALMACEN","TEXT"); - //BA.debugLineNum = 28;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return null; -} -public String _ocultpanelpregunta() throws Exception{ - //BA.debugLineNum = 366;BA.debugLine="Sub ocultPanelPregunta"; - //BA.debugLineNum = 367;BA.debugLine="If panelSombra.IsInitialized Then panelSombra.Rem"; -if (_panelsombra.IsInitialized()) { -_panelsombra.RemoveView();}; - //BA.debugLineNum = 368;BA.debugLine="End Sub"; +public String _psombra_click(gunav2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "psombra_click", false)) + {return ((String) Debug.delegate(ba, "psombra_click", null));} +RDebugUtils.currentLine=74121216; + //BA.debugLineNum = 74121216;BA.debugLine="private Sub pSombra_Click"; +RDebugUtils.currentLine=74121217; + //BA.debugLineNum = 74121217;BA.debugLine="End Sub"; return ""; } -public String _preguntaactual() throws Exception{ - //BA.debugLineNum = 43;BA.debugLine="Sub preguntaActual As String 'ignore"; - //BA.debugLineNum = 44;BA.debugLine="Return vPreguntaActual"; -if (true) return _vpreguntaactual; - //BA.debugLineNum = 45;BA.debugLine="End Sub"; +public String _r_checkedchange(gunav2.keymon.com.mx.c_cuestionario __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "r_checkedchange", false)) + {return ((String) Debug.delegate(ba, "r_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=74186752; + //BA.debugLineNum = 74186752;BA.debugLine="private Sub r_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=74186753; + //BA.debugLineNum = 74186753;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":Sen"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("id"))))),(Object)("pregunta"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("idRespuesta"))))),(Object)("respuesta"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()),(Object)("panel"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("panel"))}).getObject())); +RDebugUtils.currentLine=74186754; + //BA.debugLineNum = 74186754;BA.debugLine="End Sub"; return ""; } -public String _preguntacontestada(anywheresoftware.b4a.objects.collections.Map _success) throws Exception{ - //BA.debugLineNum = 242;BA.debugLine="private Sub preguntaContestada(Success As Map) 'ig"; - //BA.debugLineNum = 243;BA.debugLine="If SubExists(CallBack, EventName & \"_preguntaCont"; -if (__c.SubExists(ba,_callback,_eventname+"_preguntaContestada")) { - //BA.debugLineNum = 244;BA.debugLine="CallSubDelayed2(CallBack, EventName & \"_pregunta"; -__c.CallSubDelayed2(ba,_callback,_eventname+"_preguntaContestada",(Object)(_success)); - }; - //BA.debugLineNum = 246;BA.debugLine="End Sub"; -return ""; -} -public String _psombra_click() throws Exception{ - //BA.debugLineNum = 248;BA.debugLine="private Sub pSombra_Click"; - //BA.debugLineNum = 249;BA.debugLine="End Sub"; -return ""; -} -public String _r_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 251;BA.debugLine="private Sub r_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 252;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":Sen"; -_baceptarpregunta.setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("id"))))),(Object)("pregunta"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("idRespuesta"))))),(Object)("respuesta"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()),(Object)("panel"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("panel"))}).getObject())); - //BA.debugLineNum = 253;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.collections.List _strtolist(String _str) throws Exception{ -String[] _resps = null; -anywheresoftware.b4a.objects.collections.List _l = null; -int _r = 0; - //BA.debugLineNum = 403;BA.debugLine="Sub strToList(str As String) As List 'ignore"; - //BA.debugLineNum = 404;BA.debugLine="Private resps() As String = Regex.Split(\"\\|\", str"; -_resps = __c.Regex.Split("\\|",_str); - //BA.debugLineNum = 405;BA.debugLine="Private l As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 406;BA.debugLine="l.Initialize"; -_l.Initialize(); - //BA.debugLineNum = 407;BA.debugLine="For r = 0 To resps.Length - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_resps.length-1); -_r = (int) (0) ; -for (;_r <= limit4 ;_r = _r + step4 ) { - //BA.debugLineNum = 408;BA.debugLine="l.Add(resps(r))"; -_l.Add((Object)(_resps[_r])); - } -}; - //BA.debugLineNum = 410;BA.debugLine="Return l"; -if (true) return _l; - //BA.debugLineNum = 411;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_historico.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_historico.java index 458b595..3f96df3 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_historico.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_historico.java @@ -10,7 +10,7 @@ public class c_historico extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_historico"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_historico"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_historico extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -51,106 +58,176 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ +public Object _initialize(gunav2.keymon.com.mx.c_historico __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=74842112; + //BA.debugLineNum = 74842112;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=74842113; + //BA.debugLineNum = 74842113;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=74842114; + //BA.debugLineNum = 74842114;BA.debugLine="End Sub"; +return null; +} +public String _gps_locationchanged(gunav2.keymon.com.mx.c_historico __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=75038720; + //BA.debugLineNum = 75038720;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=75038723; + //BA.debugLineNum = 75038723;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(gunav2.keymon.com.mx.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 53;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 54;BA.debugLine="p_nota.Height = Root.Height * 0.9"; -_p_nota.setHeight((int) (_root.getHeight()*0.9)); - //BA.debugLineNum = 55;BA.debugLine="p_nota.Width = Root.Width * 0.9"; -_p_nota.setWidth((int) (_root.getWidth()*0.9)); - //BA.debugLineNum = 56;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 57;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +RDebugUtils.currentLine=74973184; + //BA.debugLineNum = 74973184;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=74973185; + //BA.debugLineNum = 74973185;BA.debugLine="p_nota.Height = Root.Height * 0.9"; +__ref._p_nota /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.9)); +RDebugUtils.currentLine=74973186; + //BA.debugLineNum = 74973186;BA.debugLine="p_nota.Width = Root.Width * 0.9"; +__ref._p_nota /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.9)); +RDebugUtils.currentLine=74973187; + //BA.debugLineNum = 74973187;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=74973188; + //BA.debugLineNum = 74973188;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 58;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +RDebugUtils.currentLine=74973189; + //BA.debugLineNum = 74973189;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; __c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 59;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +RDebugUtils.currentLine=74973190; + //BA.debugLineNum = 74973190;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; __c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); }; - //BA.debugLineNum = 61;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 62;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 63;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 64;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 65;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 66;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 67;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc"))); - //BA.debugLineNum = 68;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 69;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 70;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=74973192; + //BA.debugLineNum = 74973192;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=74973193; + //BA.debugLineNum = 74973193;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=74973194; + //BA.debugLineNum = 74973194;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=74973195; + //BA.debugLineNum = 74973195;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=74973196; + //BA.debugLineNum = 74973196;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=74973197; + //BA.debugLineNum = 74973197;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=74973198; + //BA.debugLineNum = 74973198;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc"))); +RDebugUtils.currentLine=74973199; + //BA.debugLineNum = 74973199;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=74973200; + //BA.debugLineNum = 74973200;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=74973201; + //BA.debugLineNum = 74973201;BA.debugLine="For i=0 To c.RowCount -1"; { final int step17 = 1; -final int limit17 = (int) (_c.getRowCount()-1); +final int limit17 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit17 ;_i = _i + step17 ) { - //BA.debugLineNum = 71;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 72;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=74973202; + //BA.debugLineNum = 74973202;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=74973203; + //BA.debugLineNum = 74973203;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 73;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 74;BA.debugLine="label1.TextSize = 15"; +RDebugUtils.currentLine=74973204; + //BA.debugLineNum = 74973204;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=74973205; + //BA.debugLineNum = 74973205;BA.debugLine="label1.TextSize = 15"; _label1.setTextSize((float) (15)); - //BA.debugLineNum = 75;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=74973206; + //BA.debugLineNum = 74973206;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 76;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=74973207; + //BA.debugLineNum = 74973207;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 77;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 78;BA.debugLine="label2.TextSize = 15"; +RDebugUtils.currentLine=74973208; + //BA.debugLineNum = 74973208;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=74973209; + //BA.debugLineNum = 74973209;BA.debugLine="label2.TextSize = 15"; _label2.setTextSize((float) (15)); - //BA.debugLineNum = 79;BA.debugLine="label2.TextColor = Colors.White"; +RDebugUtils.currentLine=74973210; + //BA.debugLineNum = 74973210;BA.debugLine="label2.TextColor = Colors.White"; _label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 80;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("HVD_PRONOMBRE")),BA.ObjectToCharSequence("Cantidad #"+_c.GetString("HVD_CANT")+" SubTotal $"+_c.GetString("HVD_COSTO_TOT")+" Fecha: "+_c.GetString("HVD_FECHA"))); +RDebugUtils.currentLine=74973211; + //BA.debugLineNum = 74973211;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")),BA.ObjectToCharSequence("Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")+" Fecha: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"))); } }; }; - //BA.debugLineNum = 83;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 84;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 85;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 86;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 87;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; -_l_total.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); +RDebugUtils.currentLine=74973214; + //BA.debugLineNum = 74973214;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=74973215; + //BA.debugLineNum = 74973215;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=74973216; + //BA.debugLineNum = 74973216;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=74973217; + //BA.debugLineNum = 74973217;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=74973218; + //BA.debugLineNum = 74973218;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); }; - //BA.debugLineNum = 93;BA.debugLine="End Sub"; +RDebugUtils.currentLine=74973224; + //BA.debugLineNum = 74973224;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.c_historico __ref) throws Exception{ +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_historico parent) { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_historico parent,gunav2.keymon.com.mx.c_historico __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_historico __ref; gunav2.keymon.com.mx.c_historico parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_historico"; while (true) { switch (state) { @@ -160,152 +237,202 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 107;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=75169795; + //BA.debugLineNum = 75169795;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 108;BA.debugLine="Return False"; +RDebugUtils.currentLine=75169796; + //BA.debugLineNum = 75169796;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 109;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75169797; + //BA.debugLineNum = 75169797;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 38;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 40;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 41;BA.debugLine="Root.LoadLayout(\"nota\")"; -_root.LoadLayout("nota",ba); - //BA.debugLineNum = 42;BA.debugLine="borra.Visible = False"; -_borra.setVisible(__c.False); - //BA.debugLineNum = 43;BA.debugLine="Titulo.Text = \"Acumulado\""; -_titulo.setText(BA.ObjectToCharSequence("Acumulado")); - //BA.debugLineNum = 44;BA.debugLine="b_desc.Visible = False"; -_b_desc.setVisible(__c.False); - //BA.debugLineNum = 45;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 46;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); +public String _b4xpage_created(gunav2.keymon.com.mx.c_historico __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=74907648; + //BA.debugLineNum = 74907648;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=74907649; + //BA.debugLineNum = 74907649;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=74907651; + //BA.debugLineNum = 74907651;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=74907652; + //BA.debugLineNum = 74907652;BA.debugLine="Root.LoadLayout(\"nota\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("nota",ba); +RDebugUtils.currentLine=74907653; + //BA.debugLineNum = 74907653;BA.debugLine="borra.Visible = False"; +__ref._borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=74907654; + //BA.debugLineNum = 74907654;BA.debugLine="Titulo.Text = \"Acumulado\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Acumulado")); +RDebugUtils.currentLine=74907655; + //BA.debugLineNum = 74907655;BA.debugLine="b_desc.Visible = False"; +__ref._b_desc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=74907656; + //BA.debugLineNum = 74907656;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=74907657; + //BA.debugLineNum = 74907657;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); }; - //BA.debugLineNum = 49;BA.debugLine="End Sub"; +RDebugUtils.currentLine=74907660; + //BA.debugLineNum = 74907660;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +RDebugUtils.currentLine=74776576; + //BA.debugLineNum = 74776576;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=74776577; + //BA.debugLineNum = 74776577;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=74776578; + //BA.debugLineNum = 74776578;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=74776580; + //BA.debugLineNum = 74776580;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=74776581; + //BA.debugLineNum = 74776581;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=74776582; + //BA.debugLineNum = 74776582;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=74776583; + //BA.debugLineNum = 74776583;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=74776585; + //BA.debugLineNum = 74776585;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=74776586; + //BA.debugLineNum = 74776586;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim Regresar As Button"; +RDebugUtils.currentLine=74776587; + //BA.debugLineNum = 74776587;BA.debugLine="Dim Regresar As Button"; _regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=74776590; + //BA.debugLineNum = 74776590;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +RDebugUtils.currentLine=74776591; + //BA.debugLineNum = 74776591;BA.debugLine="Dim L_CANT As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +RDebugUtils.currentLine=74776592; + //BA.debugLineNum = 74776592;BA.debugLine="Dim L_TOTAL As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +RDebugUtils.currentLine=74776593; + //BA.debugLineNum = 74776593;BA.debugLine="Dim borra As Button"; _borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +RDebugUtils.currentLine=74776594; + //BA.debugLineNum = 74776594;BA.debugLine="Dim Existe As String"; _existe = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +RDebugUtils.currentLine=74776595; + //BA.debugLineNum = 74776595;BA.debugLine="Dim result As String"; _result = ""; - //BA.debugLineNum = 23;BA.debugLine="Private Titulo As Label"; +RDebugUtils.currentLine=74776598; + //BA.debugLineNum = 74776598;BA.debugLine="Private Titulo As Label"; _titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private b_desc As Button"; +RDebugUtils.currentLine=74776599; + //BA.debugLineNum = 74776599;BA.debugLine="Private b_desc As Button"; _b_desc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Private ListView2 As ListView"; +RDebugUtils.currentLine=74776600; + //BA.debugLineNum = 74776600;BA.debugLine="Private ListView2 As ListView"; _listview2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim tgl As Toggle"; +RDebugUtils.currentLine=74776601; + //BA.debugLineNum = 74776601;BA.debugLine="Dim tgl As Toggle"; _tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 27;BA.debugLine="Private p_nota As Panel"; +RDebugUtils.currentLine=74776602; + //BA.debugLineNum = 74776602;BA.debugLine="Private p_nota As Panel"; _p_nota = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private Panel1 As Panel"; +RDebugUtils.currentLine=74776603; + //BA.debugLineNum = 74776603;BA.debugLine="Private Panel1 As Panel"; _panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; +RDebugUtils.currentLine=74776604; + //BA.debugLineNum = 74776604;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 95;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 98;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 32;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 33;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemclick(int _position,Object _value) throws Exception{ +public String _listview1_itemclick(gunav2.keymon.com.mx.c_historico __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}));} anywheresoftware.b4a.objects.LabelWrapper _label1 = null; int _i = 0; - //BA.debugLineNum = 116;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 117;BA.debugLine="ListView2.Visible = True"; -_listview2.setVisible(__c.True); - //BA.debugLineNum = 118;BA.debugLine="ListView1.Visible = False"; -_listview1.setVisible(__c.False); - //BA.debugLineNum = 119;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=75300864; + //BA.debugLineNum = 75300864;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=75300865; + //BA.debugLineNum = 75300865;BA.debugLine="ListView2.Visible = True"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=75300866; + //BA.debugLineNum = 75300866;BA.debugLine="ListView1.Visible = False"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=75300867; + //BA.debugLineNum = 75300867;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 120;BA.debugLine="For i=0 To 20"; +RDebugUtils.currentLine=75300868; + //BA.debugLineNum = 75300868;BA.debugLine="For i=0 To 20"; { final int step4 = 1; final int limit4 = (int) (20); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 121;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; -_label1 = _listview2.getSingleLineLayout().Label; - //BA.debugLineNum = 122;BA.debugLine="label1.TextSize = 15"; +RDebugUtils.currentLine=75300869; + //BA.debugLineNum = 75300869;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; +_label1 = __ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=75300870; + //BA.debugLineNum = 75300870;BA.debugLine="label1.TextSize = 15"; _label1.setTextSize((float) (15)); - //BA.debugLineNum = 123;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=75300871; + //BA.debugLineNum = 75300871;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 124;BA.debugLine="ListView2.AddSingleLine(i)"; -_listview2.AddSingleLine(BA.ObjectToCharSequence(_i)); +RDebugUtils.currentLine=75300872; + //BA.debugLineNum = 75300872;BA.debugLine="ListView2.AddSingleLine(i)"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_i)); } }; - //BA.debugLineNum = 126;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75300874; + //BA.debugLineNum = 75300874;BA.debugLine="End Sub"; return ""; } -public String _listview2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 111;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 112;BA.debugLine="ListView2.Visible = False"; -_listview2.setVisible(__c.False); - //BA.debugLineNum = 113;BA.debugLine="ListView1.Visible = True"; -_listview1.setVisible(__c.True); - //BA.debugLineNum = 114;BA.debugLine="End Sub"; +public String _listview2_itemclick(gunav2.keymon.com.mx.c_historico __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "listview2_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=75235328; + //BA.debugLineNum = 75235328;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=75235329; + //BA.debugLineNum = 75235329;BA.debugLine="ListView2.Visible = False"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=75235330; + //BA.debugLineNum = 75235330;BA.debugLine="ListView1.Visible = True"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=75235331; + //BA.debugLineNum = 75235331;BA.debugLine="End Sub"; return ""; } -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 100;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 101;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +public String _regresar_click(gunav2.keymon.com.mx.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=75104256; + //BA.debugLineNum = 75104256;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=75104257; + //BA.debugLineNum = 75104257;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 102;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75104258; + //BA.debugLineNum = 75104258;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_historico2.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_historico2.java index 511adaa..ea64c26 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_historico2.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_historico2.java @@ -10,7 +10,7 @@ public class c_historico2 extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_historico2"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_historico2"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_historico2 extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -57,117 +64,199 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ +public String _gps_locationchanged(gunav2.keymon.com.mx.c_historico2 __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico2"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=75628544; + //BA.debugLineNum = 75628544;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=75628547; + //BA.debugLineNum = 75628547;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(gunav2.keymon.com.mx.c_historico2 __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico2"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; int _sfdf = 0; - //BA.debugLineNum = 60;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 61;BA.debugLine="p_nota.Height = Root.Height * 0.9"; -_p_nota.setHeight((int) (_root.getHeight()*0.9)); - //BA.debugLineNum = 62;BA.debugLine="p_nota.Width = Root.Width * 0.9"; -_p_nota.setWidth((int) (_root.getWidth()*0.9)); - //BA.debugLineNum = 63;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 64;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +RDebugUtils.currentLine=75497472; + //BA.debugLineNum = 75497472;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=75497473; + //BA.debugLineNum = 75497473;BA.debugLine="p_nota.Height = Root.Height * 0.9"; +__ref._p_nota /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.9)); +RDebugUtils.currentLine=75497474; + //BA.debugLineNum = 75497474;BA.debugLine="p_nota.Width = Root.Width * 0.9"; +__ref._p_nota /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.9)); +RDebugUtils.currentLine=75497475; + //BA.debugLineNum = 75497475;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=75497476; + //BA.debugLineNum = 75497476;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 65;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +RDebugUtils.currentLine=75497477; + //BA.debugLineNum = 75497477;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; __c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 66;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +RDebugUtils.currentLine=75497478; + //BA.debugLineNum = 75497478;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; __c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); }; - //BA.debugLineNum = 68;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 69;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 70;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 71;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 72;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 73;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 74;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc"))); - //BA.debugLineNum = 75;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 76;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 77;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=75497480; + //BA.debugLineNum = 75497480;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=75497481; + //BA.debugLineNum = 75497481;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=75497482; + //BA.debugLineNum = 75497482;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=75497483; + //BA.debugLineNum = 75497483;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=75497484; + //BA.debugLineNum = 75497484;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=75497485; + //BA.debugLineNum = 75497485;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=75497486; + //BA.debugLineNum = 75497486;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc"))); +RDebugUtils.currentLine=75497487; + //BA.debugLineNum = 75497487;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=75497488; + //BA.debugLineNum = 75497488;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=75497489; + //BA.debugLineNum = 75497489;BA.debugLine="For i=0 To c.RowCount -1"; { final int step17 = 1; -final int limit17 = (int) (_c.getRowCount()-1); +final int limit17 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit17 ;_i = _i + step17 ) { - //BA.debugLineNum = 78;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 79;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=75497490; + //BA.debugLineNum = 75497490;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=75497491; + //BA.debugLineNum = 75497491;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 80;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 81;BA.debugLine="label1.TextSize = 15"; +RDebugUtils.currentLine=75497492; + //BA.debugLineNum = 75497492;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=75497493; + //BA.debugLineNum = 75497493;BA.debugLine="label1.TextSize = 15"; _label1.setTextSize((float) (15)); - //BA.debugLineNum = 82;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=75497494; + //BA.debugLineNum = 75497494;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 83;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=75497495; + //BA.debugLineNum = 75497495;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 84;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 85;BA.debugLine="label2.TextSize = 15"; +RDebugUtils.currentLine=75497496; + //BA.debugLineNum = 75497496;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=75497497; + //BA.debugLineNum = 75497497;BA.debugLine="label2.TextSize = 15"; _label2.setTextSize((float) (15)); - //BA.debugLineNum = 86;BA.debugLine="label2.TextColor = Colors.White"; +RDebugUtils.currentLine=75497498; + //BA.debugLineNum = 75497498;BA.debugLine="label2.TextColor = Colors.White"; _label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 87;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("HVD_PRONOMBRE")),BA.ObjectToCharSequence("Cantidad #"+_c.GetString("HVD_CANT")+" SubTotal $"+_c.GetString("HVD_COSTO_TOT")+" Fecha: "+_c.GetString("HVD_FECHA"))); +RDebugUtils.currentLine=75497499; + //BA.debugLineNum = 75497499;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")),BA.ObjectToCharSequence("Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")+" Fecha: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"))); } }; }; - //BA.debugLineNum = 90;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 91;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 92;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 93;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 94;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; -_l_total.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); +RDebugUtils.currentLine=75497502; + //BA.debugLineNum = 75497502;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=75497503; + //BA.debugLineNum = 75497503;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=75497504; + //BA.debugLineNum = 75497504;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=75497505; + //BA.debugLineNum = 75497505;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=75497506; + //BA.debugLineNum = 75497506;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); }; - //BA.debugLineNum = 100;BA.debugLine="For sfdf = 0 To 1"; +RDebugUtils.currentLine=75497512; + //BA.debugLineNum = 75497512;BA.debugLine="For sfdf = 0 To 1"; { final int step36 = 1; final int limit36 = (int) (1); _sfdf = (int) (0) ; for (;_sfdf <= limit36 ;_sfdf = _sfdf + step36 ) { - //BA.debugLineNum = 101;BA.debugLine="CustomListView1.Add(CreateListItem(\"ejemplo\",\"1\""; -_customlistview1._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem("ejemplo",(int)(Double.parseDouble("1")),(int)(Double.parseDouble("2")),(int)(Double.parseDouble("3")),(int)(Double.parseDouble("4")),(int) (284),(int) (144)).getObject())),(Object)(_sfdf)); +RDebugUtils.currentLine=75497513; + //BA.debugLineNum = 75497513;BA.debugLine="CustomListView1.Add(CreateListItem(\"ejemplo\",\"1\""; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,"ejemplo",(int)(Double.parseDouble("1")),(int)(Double.parseDouble("2")),(int)(Double.parseDouble("3")),(int)(Double.parseDouble("4")),(int) (284),(int) (144)).getObject())),(Object)(_sfdf)); } }; - //BA.debugLineNum = 107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75497519; + //BA.debugLineNum = 75497519;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(gunav2.keymon.com.mx.c_historico2 __ref,String _prodhis,int _s1,int _s2,int _s3,int _s4,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico2"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_prodhis,_s1,_s2,_s3,_s4,_width,_height}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=75563008; + //BA.debugLineNum = 75563008;BA.debugLine="Sub CreateListItem(prodhis As String, s1 As Int, s"; +RDebugUtils.currentLine=75563009; + //BA.debugLineNum = 75563009;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=75563010; + //BA.debugLineNum = 75563010;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=75563011; + //BA.debugLineNum = 75563011;BA.debugLine="p.LoadLayout(\"historicobat\")"; +_p.LoadLayout("historicobat",ba); +RDebugUtils.currentLine=75563025; + //BA.debugLineNum = 75563025;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=75563026; + //BA.debugLineNum = 75563026;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.c_historico2 __ref) throws Exception{ +RDebugUtils.currentModule="c_historico2"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_historico2 parent) { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_historico2 parent,gunav2.keymon.com.mx.c_historico2 __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_historico2 __ref; gunav2.keymon.com.mx.c_historico2 parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_historico2"; while (true) { switch (state) { @@ -177,171 +266,220 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 142;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=75759619; + //BA.debugLineNum = 75759619;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 143;BA.debugLine="Return False"; +RDebugUtils.currentLine=75759620; + //BA.debugLineNum = 75759620;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 144;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75759621; + //BA.debugLineNum = 75759621;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 44;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 45;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 47;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 48;BA.debugLine="Root.LoadLayout(\"nota2\")"; -_root.LoadLayout("nota2",ba); - //BA.debugLineNum = 49;BA.debugLine="borra.Visible = False"; -_borra.setVisible(__c.False); - //BA.debugLineNum = 50;BA.debugLine="Titulo.Text = \"Acumulado\""; -_titulo.setText(BA.ObjectToCharSequence("Acumulado")); - //BA.debugLineNum = 51;BA.debugLine="b_desc.Visible = False"; -_b_desc.setVisible(__c.False); - //BA.debugLineNum = 52;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 53;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); +public String _b4xpage_created(gunav2.keymon.com.mx.c_historico2 __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico2"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=75431936; + //BA.debugLineNum = 75431936;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=75431937; + //BA.debugLineNum = 75431937;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=75431939; + //BA.debugLineNum = 75431939;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=75431940; + //BA.debugLineNum = 75431940;BA.debugLine="Root.LoadLayout(\"nota2\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("nota2",ba); +RDebugUtils.currentLine=75431941; + //BA.debugLineNum = 75431941;BA.debugLine="borra.Visible = False"; +__ref._borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=75431942; + //BA.debugLineNum = 75431942;BA.debugLine="Titulo.Text = \"Acumulado\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Acumulado")); +RDebugUtils.currentLine=75431943; + //BA.debugLineNum = 75431943;BA.debugLine="b_desc.Visible = False"; +__ref._b_desc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=75431944; + //BA.debugLineNum = 75431944;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=75431945; + //BA.debugLineNum = 75431945;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); }; - //BA.debugLineNum = 56;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75431948; + //BA.debugLineNum = 75431948;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_historico2 __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico2"; +RDebugUtils.currentLine=75366400; + //BA.debugLineNum = 75366400;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=75366401; + //BA.debugLineNum = 75366401;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=75366402; + //BA.debugLineNum = 75366402;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=75366404; + //BA.debugLineNum = 75366404;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=75366405; + //BA.debugLineNum = 75366405;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=75366406; + //BA.debugLineNum = 75366406;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=75366407; + //BA.debugLineNum = 75366407;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=75366409; + //BA.debugLineNum = 75366409;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=75366410; + //BA.debugLineNum = 75366410;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim Regresar As Button"; +RDebugUtils.currentLine=75366411; + //BA.debugLineNum = 75366411;BA.debugLine="Dim Regresar As Button"; _regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=75366414; + //BA.debugLineNum = 75366414;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +RDebugUtils.currentLine=75366415; + //BA.debugLineNum = 75366415;BA.debugLine="Dim L_CANT As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +RDebugUtils.currentLine=75366416; + //BA.debugLineNum = 75366416;BA.debugLine="Dim L_TOTAL As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +RDebugUtils.currentLine=75366417; + //BA.debugLineNum = 75366417;BA.debugLine="Dim borra As Button"; _borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +RDebugUtils.currentLine=75366418; + //BA.debugLineNum = 75366418;BA.debugLine="Dim Existe As String"; _existe = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +RDebugUtils.currentLine=75366419; + //BA.debugLineNum = 75366419;BA.debugLine="Dim result As String"; _result = ""; - //BA.debugLineNum = 23;BA.debugLine="Private Titulo As Label"; +RDebugUtils.currentLine=75366422; + //BA.debugLineNum = 75366422;BA.debugLine="Private Titulo As Label"; _titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private b_desc As Button"; +RDebugUtils.currentLine=75366423; + //BA.debugLineNum = 75366423;BA.debugLine="Private b_desc As Button"; _b_desc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Private ListView2 As ListView"; +RDebugUtils.currentLine=75366424; + //BA.debugLineNum = 75366424;BA.debugLine="Private ListView2 As ListView"; _listview2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim tgl As Toggle"; +RDebugUtils.currentLine=75366425; + //BA.debugLineNum = 75366425;BA.debugLine="Dim tgl As Toggle"; _tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 27;BA.debugLine="Private p_nota As Panel"; +RDebugUtils.currentLine=75366426; + //BA.debugLineNum = 75366426;BA.debugLine="Private p_nota As Panel"; _p_nota = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private Panel1 As Panel"; +RDebugUtils.currentLine=75366427; + //BA.debugLineNum = 75366427;BA.debugLine="Private Panel1 As Panel"; _panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private l_productohist As Label"; +RDebugUtils.currentLine=75366428; + //BA.debugLineNum = 75366428;BA.debugLine="Private l_productohist As Label"; _l_productohist = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private l_s1 As Label"; +RDebugUtils.currentLine=75366429; + //BA.debugLineNum = 75366429;BA.debugLine="Private l_s1 As Label"; _l_s1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private l_s2 As Label"; +RDebugUtils.currentLine=75366430; + //BA.debugLineNum = 75366430;BA.debugLine="Private l_s2 As Label"; _l_s2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private l_s3 As Label"; +RDebugUtils.currentLine=75366431; + //BA.debugLineNum = 75366431;BA.debugLine="Private l_s3 As Label"; _l_s3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private l_s4 As Label"; +RDebugUtils.currentLine=75366432; + //BA.debugLineNum = 75366432;BA.debugLine="Private l_s4 As Label"; _l_s4 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private CustomListView1 As CustomListView"; +RDebugUtils.currentLine=75366433; + //BA.debugLineNum = 75366433;BA.debugLine="Private CustomListView1 As CustomListView"; _customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75366435; + //BA.debugLineNum = 75366435;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _prodhis,int _s1,int _s2,int _s3,int _s4,int _width,int _height) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 110;BA.debugLine="Sub CreateListItem(prodhis As String, s1 As Int, s"; - //BA.debugLineNum = 111;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 112;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 113;BA.debugLine="p.LoadLayout(\"historicobat\")"; -_p.LoadLayout("historicobat",ba); - //BA.debugLineNum = 127;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return null; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 133;BA.debugLine="End Sub"; -return ""; -} -public String _listview1_itemclick(int _position,Object _value) throws Exception{ +public String _listview1_itemclick(gunav2.keymon.com.mx.c_historico2 __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico2"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}));} anywheresoftware.b4a.objects.LabelWrapper _label1 = null; int _i = 0; - //BA.debugLineNum = 151;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 152;BA.debugLine="ListView2.Visible = True"; -_listview2.setVisible(__c.True); - //BA.debugLineNum = 153;BA.debugLine="ListView1.Visible = False"; -_listview1.setVisible(__c.False); - //BA.debugLineNum = 154;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=75890688; + //BA.debugLineNum = 75890688;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=75890689; + //BA.debugLineNum = 75890689;BA.debugLine="ListView2.Visible = True"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=75890690; + //BA.debugLineNum = 75890690;BA.debugLine="ListView1.Visible = False"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=75890691; + //BA.debugLineNum = 75890691;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 155;BA.debugLine="For i=0 To 20"; +RDebugUtils.currentLine=75890692; + //BA.debugLineNum = 75890692;BA.debugLine="For i=0 To 20"; { final int step4 = 1; final int limit4 = (int) (20); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 156;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; -_label1 = _listview2.getSingleLineLayout().Label; - //BA.debugLineNum = 157;BA.debugLine="label1.TextSize = 15"; +RDebugUtils.currentLine=75890693; + //BA.debugLineNum = 75890693;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; +_label1 = __ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=75890694; + //BA.debugLineNum = 75890694;BA.debugLine="label1.TextSize = 15"; _label1.setTextSize((float) (15)); - //BA.debugLineNum = 158;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=75890695; + //BA.debugLineNum = 75890695;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 159;BA.debugLine="ListView2.AddSingleLine(i)"; -_listview2.AddSingleLine(BA.ObjectToCharSequence(_i)); +RDebugUtils.currentLine=75890696; + //BA.debugLineNum = 75890696;BA.debugLine="ListView2.AddSingleLine(i)"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_i)); } }; - //BA.debugLineNum = 161;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75890698; + //BA.debugLineNum = 75890698;BA.debugLine="End Sub"; return ""; } -public String _listview2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 146;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 147;BA.debugLine="ListView2.Visible = False"; -_listview2.setVisible(__c.False); - //BA.debugLineNum = 148;BA.debugLine="ListView1.Visible = True"; -_listview1.setVisible(__c.True); - //BA.debugLineNum = 149;BA.debugLine="End Sub"; +public String _listview2_itemclick(gunav2.keymon.com.mx.c_historico2 __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico2"; +if (Debug.shouldDelegate(ba, "listview2_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=75825152; + //BA.debugLineNum = 75825152;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=75825153; + //BA.debugLineNum = 75825153;BA.debugLine="ListView2.Visible = False"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=75825154; + //BA.debugLineNum = 75825154;BA.debugLine="ListView1.Visible = True"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=75825155; + //BA.debugLineNum = 75825155;BA.debugLine="End Sub"; return ""; } -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 135;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 136;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +public String _regresar_click(gunav2.keymon.com.mx.c_historico2 __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico2"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=75694080; + //BA.debugLineNum = 75694080;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=75694081; + //BA.debugLineNum = 75694081;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 137;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75694082; + //BA.debugLineNum = 75694082;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobat.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobat.java index f8a3034..90d4572 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobat.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobat.java @@ -10,7 +10,7 @@ public class c_historicobat extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_historicobat"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_historicobat"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_historicobat extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -58,15 +65,34 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ +public Object _initialize(gunav2.keymon.com.mx.c_historicobat __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_historicobat"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=76021760; + //BA.debugLineNum = 76021760;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=76021761; + //BA.debugLineNum = 76021761;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=76021762; + //BA.debugLineNum = 76021762;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_appear(gunav2.keymon.com.mx.c_historicobat __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historicobat"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} int _i = 0; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; @@ -84,289 +110,406 @@ int _c1 = 0; int _c2 = 0; int _c3 = 0; int _c4 = 0; - //BA.debugLineNum = 54;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 57;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 58;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +RDebugUtils.currentLine=76152832; + //BA.debugLineNum = 76152832;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=76152835; + //BA.debugLineNum = 76152835;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76152836; + //BA.debugLineNum = 76152836;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 59;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +RDebugUtils.currentLine=76152837; + //BA.debugLineNum = 76152837;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; __c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 60;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +RDebugUtils.currentLine=76152838; + //BA.debugLineNum = 76152838;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; __c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); }; - //BA.debugLineNum = 62;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 63;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 64;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 65;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 66;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 67;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 68;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc"))); - //BA.debugLineNum = 69;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 70;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 71;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=76152840; + //BA.debugLineNum = 76152840;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=76152841; + //BA.debugLineNum = 76152841;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=76152842; + //BA.debugLineNum = 76152842;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=76152843; + //BA.debugLineNum = 76152843;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=76152844; + //BA.debugLineNum = 76152844;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=76152845; + //BA.debugLineNum = 76152845;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=76152846; + //BA.debugLineNum = 76152846;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_FECHA asc"))); +RDebugUtils.currentLine=76152847; + //BA.debugLineNum = 76152847;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=76152848; + //BA.debugLineNum = 76152848;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=76152849; + //BA.debugLineNum = 76152849;BA.debugLine="For i=0 To c.RowCount -1"; { final int step15 = 1; -final int limit15 = (int) (_c.getRowCount()-1); +final int limit15 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 72;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 73;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=76152850; + //BA.debugLineNum = 76152850;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=76152851; + //BA.debugLineNum = 76152851;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 74;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 75;BA.debugLine="label1.TextSize = 15"; +RDebugUtils.currentLine=76152852; + //BA.debugLineNum = 76152852;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=76152853; + //BA.debugLineNum = 76152853;BA.debugLine="label1.TextSize = 15"; _label1.setTextSize((float) (15)); - //BA.debugLineNum = 76;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=76152854; + //BA.debugLineNum = 76152854;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 77;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=76152855; + //BA.debugLineNum = 76152855;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 78;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 79;BA.debugLine="label2.TextSize = 15"; +RDebugUtils.currentLine=76152856; + //BA.debugLineNum = 76152856;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=76152857; + //BA.debugLineNum = 76152857;BA.debugLine="label2.TextSize = 15"; _label2.setTextSize((float) (15)); - //BA.debugLineNum = 80;BA.debugLine="label2.TextColor = Colors.White"; +RDebugUtils.currentLine=76152858; + //BA.debugLineNum = 76152858;BA.debugLine="label2.TextColor = Colors.White"; _label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 81;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("HVD_PRONOMBRE")),BA.ObjectToCharSequence("Cantidad #"+_c.GetString("HVD_CANT")+" SubTotal $"+_c.GetString("HVD_COSTO_TOT")+" Fecha: "+_c.GetString("HVD_FECHA"))); +RDebugUtils.currentLine=76152859; + //BA.debugLineNum = 76152859;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")),BA.ObjectToCharSequence("Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")+" Fecha: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"))); } }; }; - //BA.debugLineNum = 84;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 85;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 86;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 87;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 88;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; -_l_total.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); +RDebugUtils.currentLine=76152862; + //BA.debugLineNum = 76152862;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=76152863; + //BA.debugLineNum = 76152863;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=76152864; + //BA.debugLineNum = 76152864;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=76152865; + //BA.debugLineNum = 76152865;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=76152866; + //BA.debugLineNum = 76152866;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); }; - //BA.debugLineNum = 90;BA.debugLine="ListView1.Visible = False"; -_listview1.setVisible(__c.False); - //BA.debugLineNum = 92;BA.debugLine="CustomListView1.AsView.Height = Root.Height * 0.4"; -_customlistview1._asview().setHeight((int) (_root.getHeight()*0.45)); - //BA.debugLineNum = 93;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 94;BA.debugLine="Dim prohit As Cursor = B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=76152868; + //BA.debugLineNum = 76152868;BA.debugLine="ListView1.Visible = False"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76152870; + //BA.debugLineNum = 76152870;BA.debugLine="CustomListView1.AsView.Height = Root.Height * 0.4"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._asview().setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.45)); +RDebugUtils.currentLine=76152871; + //BA.debugLineNum = 76152871;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=76152872; + //BA.debugLineNum = 76152872;BA.debugLine="Dim prohit As Cursor = B4XPages.MainPage.skmt.Exe"; _prohit = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _prohit = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct HVD_PRONOMBRE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 96;BA.debugLine="If prohit.RowCount > 0 Then"; +RDebugUtils.currentLine=76152874; + //BA.debugLineNum = 76152874;BA.debugLine="If prohit.RowCount > 0 Then"; if (_prohit.getRowCount()>0) { - //BA.debugLineNum = 99;BA.debugLine="For sfdf = 0 To prohit.RowCount - 1"; +RDebugUtils.currentLine=76152877; + //BA.debugLineNum = 76152877;BA.debugLine="For sfdf = 0 To prohit.RowCount - 1"; { final int step39 = 1; final int limit39 = (int) (_prohit.getRowCount()-1); _sfdf = (int) (0) ; for (;_sfdf <= limit39 ;_sfdf = _sfdf + step39 ) { - //BA.debugLineNum = 100;BA.debugLine="prohit.Position = sfdf"; +RDebugUtils.currentLine=76152878; + //BA.debugLineNum = 76152878;BA.debugLine="prohit.Position = sfdf"; _prohit.setPosition(_sfdf); - //BA.debugLineNum = 101;BA.debugLine="Dim nombreProducto As String = prohit.GetString"; +RDebugUtils.currentLine=76152879; + //BA.debugLineNum = 76152879;BA.debugLine="Dim nombreProducto As String = prohit.GetString"; _nombreproducto = _prohit.GetString("HVD_PRONOMBRE"); - //BA.debugLineNum = 105;BA.debugLine="Dim cant_sem4 As String = \"0\""; +RDebugUtils.currentLine=76152883; + //BA.debugLineNum = 76152883;BA.debugLine="Dim cant_sem4 As String = \"0\""; _cant_sem4 = "0"; - //BA.debugLineNum = 106;BA.debugLine="Dim cant_sem3 As String = \"0\""; +RDebugUtils.currentLine=76152884; + //BA.debugLineNum = 76152884;BA.debugLine="Dim cant_sem3 As String = \"0\""; _cant_sem3 = "0"; - //BA.debugLineNum = 107;BA.debugLine="Dim cant_sem2 As String = \"0\""; +RDebugUtils.currentLine=76152885; + //BA.debugLineNum = 76152885;BA.debugLine="Dim cant_sem2 As String = \"0\""; _cant_sem2 = "0"; - //BA.debugLineNum = 108;BA.debugLine="Dim cant_sem1 As String = \"0\""; +RDebugUtils.currentLine=76152886; + //BA.debugLineNum = 76152886;BA.debugLine="Dim cant_sem1 As String = \"0\""; _cant_sem1 = "0"; - //BA.debugLineNum = 141;BA.debugLine="Dim sql As String = $\" WITH FechasObjetivo"; +RDebugUtils.currentLine=76152919; + //BA.debugLineNum = 76152919;BA.debugLine="Dim sql As String = $\" WITH FechasObjetivo"; _sql = ("\n"+" WITH FechasObjetivo (Fecha) AS (\n"+" SELECT strftime('%d/%m/%Y', date('now', 'localtime', '-28 days'))\n"+" UNION ALL\n"+" SELECT strftime('%d/%m/%Y', date('now', 'localtime', '-21 days'))\n"+" UNION ALL\n"+" SELECT strftime('%d/%m/%Y', date('now', 'localtime', '-14 days'))\n"+" UNION ALL\n"+" SELECT strftime('%d/%m/%Y', date('now', 'localtime', '-7 days'))\n"+" )\n"+" SELECT \n"+" COALESCE(SUM(H.HVD_CANT), 0) AS HVD_CANT_TOTAL,\n"+" -- Si el mes de la fecha es igual al mes actual, devuelve 1, si no 0\n"+" CASE WHEN SUBSTR(F.Fecha, 4, 2) = strftime('%m', 'now', 'localtime') THEN 1 ELSE 0 END AS EsMesActual\n"+" FROM \n"+" FechasObjetivo AS F\n"+" LEFT JOIN \n"+" HIST_VENTAS AS H \n"+" ON F.Fecha = H.HVD_FECHA\n"+" AND H.HVD_CLIENTE IN (SELECT CUENTA FROM cuentaa)\n"+" AND H.HVD_PRONOMBRE = '"+__c.SmartStringFormatter("",(Object)(_nombreproducto))+"'\n"+" GROUP BY F.Fecha\n"+" ORDER BY SUBSTR(F.Fecha, 7, 4), SUBSTR(F.Fecha, 4, 2), SUBSTR(F.Fecha, 1, 2)\n"+""); - //BA.debugLineNum = 169;BA.debugLine="Dim prohit2 As Cursor = B4XPages.MainPage.skmt."; +RDebugUtils.currentLine=76152947; + //BA.debugLineNum = 76152947;BA.debugLine="Dim prohit2 As Cursor = B4XPages.MainPage.skmt."; _prohit2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _prohit2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(_sql))); - //BA.debugLineNum = 193;BA.debugLine="Dim promx As Double = (cant_sem4 + cant_sem3 +"; +RDebugUtils.currentLine=76152971; + //BA.debugLineNum = 76152971;BA.debugLine="Dim promx As Double = (cant_sem4 + cant_sem3 +"; _promx = ((double)(Double.parseDouble(_cant_sem4))+(double)(Double.parseDouble(_cant_sem3))+(double)(Double.parseDouble(_cant_sem2))+(double)(Double.parseDouble(_cant_sem1)))/(double)4; - //BA.debugLineNum = 200;BA.debugLine="Dim c1, c2, c3, c4 As Int"; +RDebugUtils.currentLine=76152978; + //BA.debugLineNum = 76152978;BA.debugLine="Dim c1, c2, c3, c4 As Int"; _c1 = 0; _c2 = 0; _c3 = 0; _c4 = 0; - //BA.debugLineNum = 202;BA.debugLine="If prohit2.RowCount = 4 Then"; +RDebugUtils.currentLine=76152980; + //BA.debugLineNum = 76152980;BA.debugLine="If prohit2.RowCount = 4 Then"; if (_prohit2.getRowCount()==4) { - //BA.debugLineNum = 203;BA.debugLine="prohit2.Position = 0"; +RDebugUtils.currentLine=76152981; + //BA.debugLineNum = 76152981;BA.debugLine="prohit2.Position = 0"; _prohit2.setPosition((int) (0)); - //BA.debugLineNum = 204;BA.debugLine="cant_sem4 = prohit2.GetString(\"HVD_CANT_TOTAL\""; +RDebugUtils.currentLine=76152982; + //BA.debugLineNum = 76152982;BA.debugLine="cant_sem4 = prohit2.GetString(\"HVD_CANT_TOTAL\""; _cant_sem4 = _prohit2.GetString("HVD_CANT_TOTAL"); - //BA.debugLineNum = 205;BA.debugLine="c1 = prohit2.GetInt(\"EsMesActual\")"; +RDebugUtils.currentLine=76152983; + //BA.debugLineNum = 76152983;BA.debugLine="c1 = prohit2.GetInt(\"EsMesActual\")"; _c1 = _prohit2.GetInt("EsMesActual"); - //BA.debugLineNum = 207;BA.debugLine="prohit2.Position = 1"; +RDebugUtils.currentLine=76152985; + //BA.debugLineNum = 76152985;BA.debugLine="prohit2.Position = 1"; _prohit2.setPosition((int) (1)); - //BA.debugLineNum = 208;BA.debugLine="cant_sem3 = prohit2.GetString(\"HVD_CANT_TOTAL\""; +RDebugUtils.currentLine=76152986; + //BA.debugLineNum = 76152986;BA.debugLine="cant_sem3 = prohit2.GetString(\"HVD_CANT_TOTAL\""; _cant_sem3 = _prohit2.GetString("HVD_CANT_TOTAL"); - //BA.debugLineNum = 209;BA.debugLine="c2 = prohit2.GetInt(\"EsMesActual\")"; +RDebugUtils.currentLine=76152987; + //BA.debugLineNum = 76152987;BA.debugLine="c2 = prohit2.GetInt(\"EsMesActual\")"; _c2 = _prohit2.GetInt("EsMesActual"); - //BA.debugLineNum = 211;BA.debugLine="prohit2.Position = 2"; +RDebugUtils.currentLine=76152989; + //BA.debugLineNum = 76152989;BA.debugLine="prohit2.Position = 2"; _prohit2.setPosition((int) (2)); - //BA.debugLineNum = 212;BA.debugLine="cant_sem2 = prohit2.GetString(\"HVD_CANT_TOTAL\""; +RDebugUtils.currentLine=76152990; + //BA.debugLineNum = 76152990;BA.debugLine="cant_sem2 = prohit2.GetString(\"HVD_CANT_TOTAL\""; _cant_sem2 = _prohit2.GetString("HVD_CANT_TOTAL"); - //BA.debugLineNum = 213;BA.debugLine="c3 = prohit2.GetInt(\"EsMesActual\")"; +RDebugUtils.currentLine=76152991; + //BA.debugLineNum = 76152991;BA.debugLine="c3 = prohit2.GetInt(\"EsMesActual\")"; _c3 = _prohit2.GetInt("EsMesActual"); - //BA.debugLineNum = 215;BA.debugLine="prohit2.Position = 3"; +RDebugUtils.currentLine=76152993; + //BA.debugLineNum = 76152993;BA.debugLine="prohit2.Position = 3"; _prohit2.setPosition((int) (3)); - //BA.debugLineNum = 216;BA.debugLine="cant_sem1 = prohit2.GetString(\"HVD_CANT_TOTAL\""; +RDebugUtils.currentLine=76152994; + //BA.debugLineNum = 76152994;BA.debugLine="cant_sem1 = prohit2.GetString(\"HVD_CANT_TOTAL\""; _cant_sem1 = _prohit2.GetString("HVD_CANT_TOTAL"); - //BA.debugLineNum = 217;BA.debugLine="c4 = prohit2.GetInt(\"EsMesActual\")"; +RDebugUtils.currentLine=76152995; + //BA.debugLineNum = 76152995;BA.debugLine="c4 = prohit2.GetInt(\"EsMesActual\")"; _c4 = _prohit2.GetInt("EsMesActual"); }else { - //BA.debugLineNum = 219;BA.debugLine="Log(\"Error en filas\")"; -__c.LogImpl("474186917","Error en filas",0); +RDebugUtils.currentLine=76152997; + //BA.debugLineNum = 76152997;BA.debugLine="Log(\"Error en filas\")"; +__c.LogImpl("076152997","Error en filas",0); }; - //BA.debugLineNum = 221;BA.debugLine="prohit2.Close"; +RDebugUtils.currentLine=76152999; + //BA.debugLineNum = 76152999;BA.debugLine="prohit2.Close"; _prohit2.Close(); - //BA.debugLineNum = 224;BA.debugLine="CustomListView1.Add(CreateListItem(nombreProduc"; -_customlistview1._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_nombreproducto,(int)(Double.parseDouble(_cant_sem4)),(int)(Double.parseDouble(_cant_sem3)),(int)(Double.parseDouble(_cant_sem2)),(int)(Double.parseDouble(_cant_sem1)),_promx,_c1,_c2,_c3,_c4).getObject())),(Object)(1)); +RDebugUtils.currentLine=76153002; + //BA.debugLineNum = 76153002;BA.debugLine="CustomListView1.Add(CreateListItem(nombreProduc"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,_nombreproducto,(int)(Double.parseDouble(_cant_sem4)),(int)(Double.parseDouble(_cant_sem3)),(int)(Double.parseDouble(_cant_sem2)),(int)(Double.parseDouble(_cant_sem1)),_promx,_c1,_c2,_c3,_c4).getObject())),(Object)(1)); } }; - //BA.debugLineNum = 228;BA.debugLine="prohit.Close ' Cerramos el cursor externo"; +RDebugUtils.currentLine=76153006; + //BA.debugLineNum = 76153006;BA.debugLine="prohit.Close ' Cerramos el cursor externo"; _prohit.Close(); }; - //BA.debugLineNum = 235;BA.debugLine="End Sub"; +RDebugUtils.currentLine=76153013; + //BA.debugLineNum = 76153013;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 44;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 45;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 47;BA.debugLine="Root.LoadLayout(\"nota2\")"; -_root.LoadLayout("nota2",ba); - //BA.debugLineNum = 48;BA.debugLine="borra.Visible = False"; -_borra.setVisible(__c.False); - //BA.debugLineNum = 49;BA.debugLine="Titulo.Text = \"Acumulado\""; -_titulo.setText(BA.ObjectToCharSequence("Acumulado")); - //BA.debugLineNum = 50;BA.debugLine="b_desc.Visible = False"; -_b_desc.setVisible(__c.False); - //BA.debugLineNum = 51;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(gunav2.keymon.com.mx.c_historicobat __ref,String _prodhis,int _s1,int _s2,int _s3,int _s4,double _prom,int _m1,int _m2,int _m3,int _m4) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historicobat"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_prodhis,_s1,_s2,_s3,_s4,_prom,_m1,_m2,_m3,_m4}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=76218368; + //BA.debugLineNum = 76218368;BA.debugLine="Sub CreateListItem(prodhis As String, s1 As Int, s"; +RDebugUtils.currentLine=76218369; + //BA.debugLineNum = 76218369;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=76218371; + //BA.debugLineNum = 76218371;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 288dip, 170dip)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (288)),__c.DipToCurrent((int) (170))); +RDebugUtils.currentLine=76218372; + //BA.debugLineNum = 76218372;BA.debugLine="p.LoadLayout(\"historicobat\")"; +_p.LoadLayout("historicobat",ba); +RDebugUtils.currentLine=76218374; + //BA.debugLineNum = 76218374;BA.debugLine="l_productohist.Text = prodhis"; +__ref._l_productohist /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_prodhis)); +RDebugUtils.currentLine=76218375; + //BA.debugLineNum = 76218375;BA.debugLine="l_s1.Text = s1"; +__ref._l_s1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s1)); +RDebugUtils.currentLine=76218376; + //BA.debugLineNum = 76218376;BA.debugLine="l_s2.Text = s2"; +__ref._l_s2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s2)); +RDebugUtils.currentLine=76218377; + //BA.debugLineNum = 76218377;BA.debugLine="l_s3.Text = s3"; +__ref._l_s3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s3)); +RDebugUtils.currentLine=76218378; + //BA.debugLineNum = 76218378;BA.debugLine="l_s4.Text = s4"; +__ref._l_s4 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s4)); +RDebugUtils.currentLine=76218382; + //BA.debugLineNum = 76218382;BA.debugLine="l_s1.Color = IIf(m1 = 1, xui.Color_Blue, xui.Colo"; +__ref._l_s1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor((int)(BA.ObjectToNumber(((_m1==1) ? ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Blue)) : ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Yellow)))))); +RDebugUtils.currentLine=76218383; + //BA.debugLineNum = 76218383;BA.debugLine="l_s2.Color = IIf(m2 = 1, xui.Color_Blue, xui.Colo"; +__ref._l_s2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor((int)(BA.ObjectToNumber(((_m2==1) ? ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Blue)) : ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Yellow)))))); +RDebugUtils.currentLine=76218384; + //BA.debugLineNum = 76218384;BA.debugLine="l_s3.Color = IIf(m3 = 1, xui.Color_Blue, xui.Colo"; +__ref._l_s3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor((int)(BA.ObjectToNumber(((_m3==1) ? ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Blue)) : ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Yellow)))))); +RDebugUtils.currentLine=76218385; + //BA.debugLineNum = 76218385;BA.debugLine="l_s4.Color = IIf(m4 = 1, xui.Color_Blue, xui.Colo"; +__ref._l_s4 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setColor((int)(BA.ObjectToNumber(((_m4==1) ? ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Blue)) : ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Yellow)))))); +RDebugUtils.currentLine=76218388; + //BA.debugLineNum = 76218388;BA.debugLine="l_s1.TextColor = IIf(m1 = 1, xui.Color_White, xui"; +__ref._l_s1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor((int)(BA.ObjectToNumber(((_m1==1) ? ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White)) : ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black)))))); +RDebugUtils.currentLine=76218389; + //BA.debugLineNum = 76218389;BA.debugLine="l_s2.TextColor = IIf(m2 = 1, xui.Color_White, xui"; +__ref._l_s2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor((int)(BA.ObjectToNumber(((_m2==1) ? ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White)) : ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black)))))); +RDebugUtils.currentLine=76218390; + //BA.debugLineNum = 76218390;BA.debugLine="l_s3.TextColor = IIf(m3 = 1, xui.Color_White, xui"; +__ref._l_s3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor((int)(BA.ObjectToNumber(((_m3==1) ? ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White)) : ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black)))))); +RDebugUtils.currentLine=76218391; + //BA.debugLineNum = 76218391;BA.debugLine="l_s4.TextColor = IIf(m4 = 1, xui.Color_White, xui"; +__ref._l_s4 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor((int)(BA.ObjectToNumber(((_m4==1) ? ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White)) : ((Object)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black)))))); +RDebugUtils.currentLine=76218393; + //BA.debugLineNum = 76218393;BA.debugLine="L_PROMEDIOHIST.Text = \"Promedio \" & NumberFormat("; +__ref._l_promediohist /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Promedio "+__c.NumberFormat(_prom,(int) (1),(int) (2)))); +RDebugUtils.currentLine=76218395; + //BA.debugLineNum = 76218395;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=76218396; + //BA.debugLineNum = 76218396;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_created(gunav2.keymon.com.mx.c_historicobat __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historicobat"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=76087296; + //BA.debugLineNum = 76087296;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=76087297; + //BA.debugLineNum = 76087297;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=76087299; + //BA.debugLineNum = 76087299;BA.debugLine="Root.LoadLayout(\"nota2\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("nota2",ba); +RDebugUtils.currentLine=76087300; + //BA.debugLineNum = 76087300;BA.debugLine="borra.Visible = False"; +__ref._borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76087301; + //BA.debugLineNum = 76087301;BA.debugLine="Titulo.Text = \"Acumulado\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Acumulado")); +RDebugUtils.currentLine=76087302; + //BA.debugLineNum = 76087302;BA.debugLine="b_desc.Visible = False"; +__ref._b_desc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76087303; + //BA.debugLineNum = 76087303;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_historicobat __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historicobat"; +RDebugUtils.currentLine=75956224; + //BA.debugLineNum = 75956224;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=75956225; + //BA.debugLineNum = 75956225;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=75956226; + //BA.debugLineNum = 75956226;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=75956228; + //BA.debugLineNum = 75956228;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=75956229; + //BA.debugLineNum = 75956229;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=75956230; + //BA.debugLineNum = 75956230;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=75956231; + //BA.debugLineNum = 75956231;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=75956233; + //BA.debugLineNum = 75956233;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=75956234; + //BA.debugLineNum = 75956234;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim Regresar As Button"; +RDebugUtils.currentLine=75956235; + //BA.debugLineNum = 75956235;BA.debugLine="Dim Regresar As Button"; _regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=75956238; + //BA.debugLineNum = 75956238;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +RDebugUtils.currentLine=75956239; + //BA.debugLineNum = 75956239;BA.debugLine="Dim L_CANT As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +RDebugUtils.currentLine=75956240; + //BA.debugLineNum = 75956240;BA.debugLine="Dim L_TOTAL As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +RDebugUtils.currentLine=75956241; + //BA.debugLineNum = 75956241;BA.debugLine="Dim borra As Button"; _borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +RDebugUtils.currentLine=75956242; + //BA.debugLineNum = 75956242;BA.debugLine="Dim Existe As String"; _existe = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +RDebugUtils.currentLine=75956243; + //BA.debugLineNum = 75956243;BA.debugLine="Dim result As String"; _result = ""; - //BA.debugLineNum = 23;BA.debugLine="Private Titulo As Label"; +RDebugUtils.currentLine=75956246; + //BA.debugLineNum = 75956246;BA.debugLine="Private Titulo As Label"; _titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private b_desc As Button"; +RDebugUtils.currentLine=75956247; + //BA.debugLineNum = 75956247;BA.debugLine="Private b_desc As Button"; _b_desc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Private ListView2 As ListView"; +RDebugUtils.currentLine=75956248; + //BA.debugLineNum = 75956248;BA.debugLine="Private ListView2 As ListView"; _listview2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim tgl As Toggle"; +RDebugUtils.currentLine=75956249; + //BA.debugLineNum = 75956249;BA.debugLine="Dim tgl As Toggle"; _tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 27;BA.debugLine="Private p_nota As Panel"; +RDebugUtils.currentLine=75956250; + //BA.debugLineNum = 75956250;BA.debugLine="Private p_nota As Panel"; _p_nota = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private Panel1 As Panel"; +RDebugUtils.currentLine=75956251; + //BA.debugLineNum = 75956251;BA.debugLine="Private Panel1 As Panel"; _panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private l_productohist As Label"; +RDebugUtils.currentLine=75956252; + //BA.debugLineNum = 75956252;BA.debugLine="Private l_productohist As Label"; _l_productohist = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private l_s1 As Label"; +RDebugUtils.currentLine=75956253; + //BA.debugLineNum = 75956253;BA.debugLine="Private l_s1 As Label"; _l_s1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private l_s2 As Label"; +RDebugUtils.currentLine=75956254; + //BA.debugLineNum = 75956254;BA.debugLine="Private l_s2 As Label"; _l_s2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private l_s3 As Label"; +RDebugUtils.currentLine=75956255; + //BA.debugLineNum = 75956255;BA.debugLine="Private l_s3 As Label"; _l_s3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private l_s4 As Label"; +RDebugUtils.currentLine=75956256; + //BA.debugLineNum = 75956256;BA.debugLine="Private l_s4 As Label"; _l_s4 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private CustomListView1 As CustomListView"; +RDebugUtils.currentLine=75956257; + //BA.debugLineNum = 75956257;BA.debugLine="Private CustomListView1 As CustomListView"; _customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 35;BA.debugLine="Private L_PROMEDIOHIST As Label"; +RDebugUtils.currentLine=75956258; + //BA.debugLineNum = 75956258;BA.debugLine="Private L_PROMEDIOHIST As Label"; _l_promediohist = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentLine=75956259; + //BA.debugLineNum = 75956259;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _prodhis,int _s1,int _s2,int _s3,int _s4,double _prom,int _m1,int _m2,int _m3,int _m4) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 253;BA.debugLine="Sub CreateListItem(prodhis As String, s1 As Int, s"; - //BA.debugLineNum = 254;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 256;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 288dip, 170dip)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (288)),__c.DipToCurrent((int) (170))); - //BA.debugLineNum = 257;BA.debugLine="p.LoadLayout(\"historicobat\")"; -_p.LoadLayout("historicobat",ba); - //BA.debugLineNum = 259;BA.debugLine="l_productohist.Text = prodhis"; -_l_productohist.setText(BA.ObjectToCharSequence(_prodhis)); - //BA.debugLineNum = 260;BA.debugLine="l_s1.Text = s1"; -_l_s1.setText(BA.ObjectToCharSequence(_s1)); - //BA.debugLineNum = 261;BA.debugLine="l_s2.Text = s2"; -_l_s2.setText(BA.ObjectToCharSequence(_s2)); - //BA.debugLineNum = 262;BA.debugLine="l_s3.Text = s3"; -_l_s3.setText(BA.ObjectToCharSequence(_s3)); - //BA.debugLineNum = 263;BA.debugLine="l_s4.Text = s4"; -_l_s4.setText(BA.ObjectToCharSequence(_s4)); - //BA.debugLineNum = 267;BA.debugLine="l_s1.Color = IIf(m1 = 1, xui.Color_Blue, xui.Colo"; -_l_s1.setColor((int)(BA.ObjectToNumber(((_m1==1) ? ((Object)(_xui.Color_Blue)) : ((Object)(_xui.Color_Yellow)))))); - //BA.debugLineNum = 268;BA.debugLine="l_s2.Color = IIf(m2 = 1, xui.Color_Blue, xui.Colo"; -_l_s2.setColor((int)(BA.ObjectToNumber(((_m2==1) ? ((Object)(_xui.Color_Blue)) : ((Object)(_xui.Color_Yellow)))))); - //BA.debugLineNum = 269;BA.debugLine="l_s3.Color = IIf(m3 = 1, xui.Color_Blue, xui.Colo"; -_l_s3.setColor((int)(BA.ObjectToNumber(((_m3==1) ? ((Object)(_xui.Color_Blue)) : ((Object)(_xui.Color_Yellow)))))); - //BA.debugLineNum = 270;BA.debugLine="l_s4.Color = IIf(m4 = 1, xui.Color_Blue, xui.Colo"; -_l_s4.setColor((int)(BA.ObjectToNumber(((_m4==1) ? ((Object)(_xui.Color_Blue)) : ((Object)(_xui.Color_Yellow)))))); - //BA.debugLineNum = 273;BA.debugLine="l_s1.TextColor = IIf(m1 = 1, xui.Color_White, xui"; -_l_s1.setTextColor((int)(BA.ObjectToNumber(((_m1==1) ? ((Object)(_xui.Color_White)) : ((Object)(_xui.Color_Black)))))); - //BA.debugLineNum = 274;BA.debugLine="l_s2.TextColor = IIf(m2 = 1, xui.Color_White, xui"; -_l_s2.setTextColor((int)(BA.ObjectToNumber(((_m2==1) ? ((Object)(_xui.Color_White)) : ((Object)(_xui.Color_Black)))))); - //BA.debugLineNum = 275;BA.debugLine="l_s3.TextColor = IIf(m3 = 1, xui.Color_White, xui"; -_l_s3.setTextColor((int)(BA.ObjectToNumber(((_m3==1) ? ((Object)(_xui.Color_White)) : ((Object)(_xui.Color_Black)))))); - //BA.debugLineNum = 276;BA.debugLine="l_s4.TextColor = IIf(m4 = 1, xui.Color_White, xui"; -_l_s4.setTextColor((int)(BA.ObjectToNumber(((_m4==1) ? ((Object)(_xui.Color_White)) : ((Object)(_xui.Color_Black)))))); - //BA.debugLineNum = 278;BA.debugLine="L_PROMEDIOHIST.Text = \"Promedio \" & NumberFormat("; -_l_promediohist.setText(BA.ObjectToCharSequence("Promedio "+__c.NumberFormat(_prom,(int) (1),(int) (2)))); - //BA.debugLineNum = 280;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 281;BA.debugLine="End Sub"; -return null; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 39;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 40;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 41;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_mapas.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_mapas.java index 8244edb..26d5ae5 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_mapas.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_mapas.java @@ -10,7 +10,7 @@ public class c_mapas extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_mapas"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_mapas"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_mapas extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; @@ -31,42 +38,56 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(gunav2.keymon.com.mx.c_mapas __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_mapas"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=76349440; + //BA.debugLineNum = 76349440;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=76349441; + //BA.debugLineNum = 76349441;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; +RDebugUtils.currentLine=76349442; + //BA.debugLineNum = 76349442;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_created(gunav2.keymon.com.mx.c_mapas __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_mapas"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=76414976; + //BA.debugLineNum = 76414976;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=76414977; + //BA.debugLineNum = 76414977;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=76414980; + //BA.debugLineNum = 76414980;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(gunav2.keymon.com.mx.c_mapas __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_mapas"; +RDebugUtils.currentLine=76283904; + //BA.debugLineNum = 76283904;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=76283905; + //BA.debugLineNum = 76283905;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=76283906; + //BA.debugLineNum = 76283906;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=76283907; + //BA.debugLineNum = 76283907;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_nota.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_nota.java index 086170f..6edc987 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_nota.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_nota.java @@ -10,7 +10,7 @@ public class c_nota extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_nota"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_nota"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_nota extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.sql.SQL _skmt = null; @@ -65,111 +72,196 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 393;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 395;BA.debugLine="End Sub"; +public Object _initialize(gunav2.keymon.com.mx.c_nota __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=76546048; + //BA.debugLineNum = 76546048;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=76546049; + //BA.debugLineNum = 76546049;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=76546050; + //BA.debugLineNum = 76546050;BA.debugLine="End Sub"; +return null; +} +public String _gps_locationchanged(gunav2.keymon.com.mx.c_nota __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=76808192; + //BA.debugLineNum = 76808192;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=76808195; + //BA.debugLineNum = 76808195;BA.debugLine="End Sub"; return ""; } -public String _b_desc_click() throws Exception{ - //BA.debugLineNum = 1060;BA.debugLine="Sub b_desc_Click"; - //BA.debugLineNum = 1061;BA.debugLine="If DESCUENTO = \"MENOS\" Then"; -if ((_descuento).equals("MENOS")) { - //BA.debugLineNum = 1062;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +public String _activity_pause(gunav2.keymon.com.mx.c_nota __ref,boolean _userclosed) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +RDebugUtils.currentLine=76742656; + //BA.debugLineNum = 76742656;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=76742658; + //BA.debugLineNum = 76742658;BA.debugLine="End Sub"; +return ""; +} +public String _b_desc_click(gunav2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "b_desc_click", false)) + {return ((String) Debug.delegate(ba, "b_desc_click", null));} +RDebugUtils.currentLine=77135872; + //BA.debugLineNum = 77135872;BA.debugLine="Sub b_desc_Click"; +RDebugUtils.currentLine=77135873; + //BA.debugLineNum = 77135873;BA.debugLine="If DESCUENTO = \"MENOS\" Then"; +if ((__ref._descuento /*String*/ ).equals("MENOS")) { +RDebugUtils.currentLine=77135874; + //BA.debugLineNum = 77135874;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1063;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1064;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1065;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 1066;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1067;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 1068;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1069;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 1070;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1071;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1072;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1073;BA.debugLine="result = Msgbox2(\"Seguro que desa dar descuento"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa dar descuento del 5%?"),BA.ObjectToCharSequence("Dar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 1074;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 1075;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; +RDebugUtils.currentLine=77135875; + //BA.debugLineNum = 77135875;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77135876; + //BA.debugLineNum = 77135876;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77135877; + //BA.debugLineNum = 77135877;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=77135878; + //BA.debugLineNum = 77135878;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77135879; + //BA.debugLineNum = 77135879;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=77135880; + //BA.debugLineNum = 77135880;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77135881; + //BA.debugLineNum = 77135881;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=77135882; + //BA.debugLineNum = 77135882;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77135883; + //BA.debugLineNum = 77135883;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77135884; + //BA.debugLineNum = 77135884;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77135885; + //BA.debugLineNum = 77135885;BA.debugLine="result = Msgbox2(\"Seguro que desa dar descuento"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa dar descuento del 5%?"),BA.ObjectToCharSequence("Dar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77135886; + //BA.debugLineNum = 77135886;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77135887; + //BA.debugLineNum = 77135887;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT * .95, PE_DESC = 5 WHERE PE_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1076;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1077;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1078;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=77135888; + //BA.debugLineNum = 77135888;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=77135889; + //BA.debugLineNum = 77135889;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77135890; + //BA.debugLineNum = 77135890;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1079;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 1080;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1081;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77135891; + //BA.debugLineNum = 77135891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=77135892; + //BA.debugLineNum = 77135892;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77135893; + //BA.debugLineNum = 77135893;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; - }else if((_descuento).equals("MAS")) { - //BA.debugLineNum = 1084;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + }else +{RDebugUtils.currentLine=77135895; + //BA.debugLineNum = 77135895;BA.debugLine="ELSE IF DESCUENTO = \"MAS\" Then"; +if ((__ref._descuento /*String*/ ).equals("MAS")) { +RDebugUtils.currentLine=77135896; + //BA.debugLineNum = 77135896;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1085;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1086;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1087;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 1088;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1089;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 1090;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1091;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 1092;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1093;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1094;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1095;BA.debugLine="result = Msgbox2(\"Seguro que desa CANCELAR el d"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa CANCELAR el descuento?"),BA.ObjectToCharSequence("Cancelar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 1096;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 1097;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; +RDebugUtils.currentLine=77135897; + //BA.debugLineNum = 77135897;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77135898; + //BA.debugLineNum = 77135898;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77135899; + //BA.debugLineNum = 77135899;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=77135900; + //BA.debugLineNum = 77135900;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77135901; + //BA.debugLineNum = 77135901;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=77135902; + //BA.debugLineNum = 77135902;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77135903; + //BA.debugLineNum = 77135903;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=77135904; + //BA.debugLineNum = 77135904;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77135905; + //BA.debugLineNum = 77135905;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77135906; + //BA.debugLineNum = 77135906;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77135907; + //BA.debugLineNum = 77135907;BA.debugLine="result = Msgbox2(\"Seguro que desa CANCELAR el d"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa CANCELAR el descuento?"),BA.ObjectToCharSequence("Cancelar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77135908; + //BA.debugLineNum = 77135908;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77135909; + //BA.debugLineNum = 77135909;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT / .95, PE_DESC = 0 WHERE PE_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1098;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1099;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1100;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=77135910; + //BA.debugLineNum = 77135910;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=77135911; + //BA.debugLineNum = 77135911;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77135912; + //BA.debugLineNum = 77135912;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1101;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 1102;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1103;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77135913; + //BA.debugLineNum = 77135913;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=77135914; + //BA.debugLineNum = 77135914;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77135915; + //BA.debugLineNum = 77135915;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; - }; - //BA.debugLineNum = 1106;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=77135918; + //BA.debugLineNum = 77135918;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(gunav2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; int _i = 0; String _nombre = ""; @@ -183,222 +275,326 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null; - //BA.debugLineNum = 250;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 253;BA.debugLine="b_desc.Visible = False"; -_b_desc.setVisible(__c.False); - //BA.debugLineNum = 255;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +RDebugUtils.currentLine=76677120; + //BA.debugLineNum = 76677120;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=76677123; + //BA.debugLineNum = 76677123;BA.debugLine="b_desc.Visible = False"; +__ref._b_desc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76677125; + //BA.debugLineNum = 76677125;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 256;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +RDebugUtils.currentLine=76677126; + //BA.debugLineNum = 76677126;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; __c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 257;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +RDebugUtils.currentLine=76677127; + //BA.debugLineNum = 76677127;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; __c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); }; - //BA.debugLineNum = 260;BA.debugLine="p_nota.Height = Root.Height * 0.9"; -_p_nota.setHeight((int) (_root.getHeight()*0.9)); - //BA.debugLineNum = 261;BA.debugLine="p_nota.Width = Root.Width * 0.9"; -_p_nota.setWidth((int) (_root.getWidth()*0.9)); - //BA.debugLineNum = 262;BA.debugLine="Panel1.Visible = True"; -_panel1.setVisible(__c.True); - //BA.debugLineNum = 266;BA.debugLine="ListView1.Color = Colors.White"; -_listview1.setColor(__c.Colors.White); - //BA.debugLineNum = 269;BA.debugLine="Dim cd As ColorDrawable"; +RDebugUtils.currentLine=76677130; + //BA.debugLineNum = 76677130;BA.debugLine="p_nota.Height = Root.Height * 0.9"; +__ref._p_nota /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.9)); +RDebugUtils.currentLine=76677131; + //BA.debugLineNum = 76677131;BA.debugLine="p_nota.Width = Root.Width * 0.9"; +__ref._p_nota /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.9)); +RDebugUtils.currentLine=76677132; + //BA.debugLineNum = 76677132;BA.debugLine="Panel1.Visible = True"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=76677136; + //BA.debugLineNum = 76677136;BA.debugLine="ListView1.Color = Colors.White"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setColor(__c.Colors.White); +RDebugUtils.currentLine=76677139; + //BA.debugLineNum = 76677139;BA.debugLine="Dim cd As ColorDrawable"; _cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); - //BA.debugLineNum = 270;BA.debugLine="cd.Initialize(Colors.White, 0)"; +RDebugUtils.currentLine=76677140; + //BA.debugLineNum = 76677140;BA.debugLine="cd.Initialize(Colors.White, 0)"; _cd.Initialize(__c.Colors.White,(int) (0)); - //BA.debugLineNum = 271;BA.debugLine="ListView1.SingleLineLayout.Background = cd"; -_listview1.getSingleLineLayout().Background = (android.graphics.drawable.Drawable)(_cd.getObject()); - //BA.debugLineNum = 274;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 275;BA.debugLine="ListView1.Height = Root.Height * 0.55"; -_listview1.setHeight((int) (_root.getHeight()*0.55)); - //BA.debugLineNum = 276;BA.debugLine="ListView1.SingleLineLayout.ItemHeight = 110dip"; -_listview1.getSingleLineLayout().setItemHeight(__c.DipToCurrent((int) (110))); - //BA.debugLineNum = 277;BA.debugLine="ListView1.SingleLineLayout.Label.Left = 15dip"; -_listview1.getSingleLineLayout().Label.setLeft(__c.DipToCurrent((int) (15))); - //BA.debugLineNum = 278;BA.debugLine="ListView1.SingleLineLayout.Label.Width = ListView"; -_listview1.getSingleLineLayout().Label.setWidth((int) (_listview1.getWidth()-__c.DipToCurrent((int) (30)))); - //BA.debugLineNum = 282;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +RDebugUtils.currentLine=76677141; + //BA.debugLineNum = 76677141;BA.debugLine="ListView1.SingleLineLayout.Background = cd"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Background = (android.graphics.drawable.Drawable)(_cd.getObject()); +RDebugUtils.currentLine=76677144; + //BA.debugLineNum = 76677144;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=76677145; + //BA.debugLineNum = 76677145;BA.debugLine="ListView1.Height = Root.Height * 0.55"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.55)); +RDebugUtils.currentLine=76677146; + //BA.debugLineNum = 76677146;BA.debugLine="ListView1.SingleLineLayout.ItemHeight = 110dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().setItemHeight(__c.DipToCurrent((int) (110))); +RDebugUtils.currentLine=76677147; + //BA.debugLineNum = 76677147;BA.debugLine="ListView1.SingleLineLayout.Label.Left = 15dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setLeft(__c.DipToCurrent((int) (15))); +RDebugUtils.currentLine=76677148; + //BA.debugLineNum = 76677148;BA.debugLine="ListView1.SingleLineLayout.Label.Width = ListView"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setWidth((int) (__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getWidth()-__c.DipToCurrent((int) (30)))); +RDebugUtils.currentLine=76677152; + //BA.debugLineNum = 76677152;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, IFNULL(PE_RECALCULOTOT,0) AS PE_RECALCULOTOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS desc"))); - //BA.debugLineNum = 284;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 285;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=76677154; + //BA.debugLineNum = 76677154;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=76677155; + //BA.debugLineNum = 76677155;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step20 = 1; -final int limit20 = (int) (_c.getRowCount()-1); +final int limit20 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 286;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 288;BA.debugLine="Dim Nombre As String = c.GetString(\"PE_PRONOMBR"; -_nombre = _c.GetString("PE_PRONOMBRE"); - //BA.debugLineNum = 289;BA.debugLine="Dim Cantidad As String = c.GetString(\"PE_CANT\")"; -_cantidad = _c.GetString("PE_CANT"); - //BA.debugLineNum = 290;BA.debugLine="Dim FolioItem As String = c.GetString(\"PE_FOLIO"; -_folioitem = _c.GetString("PE_FOLIO"); - //BA.debugLineNum = 291;BA.debugLine="Dim Cedis As String = c.GetString(\"PE_CEDIS\")"; -_cedis = _c.GetString("PE_CEDIS"); - //BA.debugLineNum = 293;BA.debugLine="Dim Precio As Double = IIf(c.GetDouble(\"PE_RECA"; -_precio = (double)(BA.ObjectToNumber(((_c.GetDouble("PE_RECALCULOTOT")==0) ? ((Object)(_c.GetDouble("PE_COSTO_TOT"))) : ((Object)(_c.GetDouble("PE_RECALCULOTOT")))))); - //BA.debugLineNum = 296;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_FUTURA\""; -if ((_c.GetString("PE_FOLIO")).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 297;BA.debugLine="Dim ColorTitulo As Int = Colors.Red"; +RDebugUtils.currentLine=76677156; + //BA.debugLineNum = 76677156;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=76677158; + //BA.debugLineNum = 76677158;BA.debugLine="Dim Nombre As String = c.GetString(\"PE_PRONOMBR"; +_nombre = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"); +RDebugUtils.currentLine=76677159; + //BA.debugLineNum = 76677159;BA.debugLine="Dim Cantidad As String = c.GetString(\"PE_CANT\")"; +_cantidad = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"); +RDebugUtils.currentLine=76677160; + //BA.debugLineNum = 76677160;BA.debugLine="Dim FolioItem As String = c.GetString(\"PE_FOLIO"; +_folioitem = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"); +RDebugUtils.currentLine=76677161; + //BA.debugLineNum = 76677161;BA.debugLine="Dim Cedis As String = c.GetString(\"PE_CEDIS\")"; +_cedis = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS"); +RDebugUtils.currentLine=76677163; + //BA.debugLineNum = 76677163;BA.debugLine="Dim Precio As Double = IIf(c.GetDouble(\"PE_RECA"; +_precio = (double)(BA.ObjectToNumber(((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_RECALCULOTOT")==0) ? ((Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_COSTO_TOT"))) : ((Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_RECALCULOTOT")))))); +RDebugUtils.currentLine=76677166; + //BA.debugLineNum = 76677166;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_FUTURA\""; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("PREVENTA_FUTURA")) { +RDebugUtils.currentLine=76677167; + //BA.debugLineNum = 76677167;BA.debugLine="Dim ColorTitulo As Int = Colors.Red"; _colortitulo = __c.Colors.Red; }else { - //BA.debugLineNum = 299;BA.debugLine="Dim ColorTitulo As Int = Colors.Black"; +RDebugUtils.currentLine=76677169; + //BA.debugLineNum = 76677169;BA.debugLine="Dim ColorTitulo As Int = Colors.Black"; _colortitulo = __c.Colors.Black; }; - //BA.debugLineNum = 301;BA.debugLine="If Cedis.Contains(\"PRO\") Or Not(IsNumber(Cedis)"; +RDebugUtils.currentLine=76677171; + //BA.debugLineNum = 76677171;BA.debugLine="If Cedis.Contains(\"PRO\") Or Not(IsNumber(Cedis)"; if (_cedis.contains("PRO") || __c.Not(__c.IsNumber(_cedis))) { - //BA.debugLineNum = 303;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_FUTURA\""; -if ((_c.GetString("PE_FOLIO")).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 305;BA.debugLine="ColorTitulo = Colors.RGB(166, 0, 0) ' Azul Fu"; +RDebugUtils.currentLine=76677173; + //BA.debugLineNum = 76677173;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_FUTURA\""; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("PREVENTA_FUTURA")) { +RDebugUtils.currentLine=76677175; + //BA.debugLineNum = 76677175;BA.debugLine="ColorTitulo = Colors.RGB(166, 0, 0) ' Azul Fu"; _colortitulo = __c.Colors.RGB((int) (166),(int) (0),(int) (0)); }else { - //BA.debugLineNum = 307;BA.debugLine="ColorTitulo = Colors.RGB(0, 70, 180) ' Azul F"; +RDebugUtils.currentLine=76677177; + //BA.debugLineNum = 76677177;BA.debugLine="ColorTitulo = Colors.RGB(0, 70, 180) ' Azul F"; _colortitulo = __c.Colors.RGB((int) (0),(int) (70),(int) (180)); }; }; - //BA.debugLineNum = 311;BA.debugLine="Dim cs As CSBuilder"; +RDebugUtils.currentLine=76677181; + //BA.debugLineNum = 76677181;BA.debugLine="Dim cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 312;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=76677182; + //BA.debugLineNum = 76677182;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 314;BA.debugLine="cs.Size(19).Typeface(Typeface.DEFAULT_BOLD).Col"; +RDebugUtils.currentLine=76677184; + //BA.debugLineNum = 76677184;BA.debugLine="cs.Size(19).Typeface(Typeface.DEFAULT_BOLD).Col"; _cs.Size((int) (19)).Typeface(__c.Typeface.DEFAULT_BOLD).Color(_colortitulo).Append(BA.ObjectToCharSequence(_nombre)).Pop().Pop(); - //BA.debugLineNum = 315;BA.debugLine="cs.Append(CRLF)"; +RDebugUtils.currentLine=76677185; + //BA.debugLineNum = 76677185;BA.debugLine="cs.Append(CRLF)"; _cs.Append(BA.ObjectToCharSequence(__c.CRLF)); - //BA.debugLineNum = 318;BA.debugLine="cs.Size(15).Color(Colors.RGB(50, 50, 50)).Appen"; +RDebugUtils.currentLine=76677188; + //BA.debugLineNum = 76677188;BA.debugLine="cs.Size(15).Color(Colors.RGB(50, 50, 50)).Appen"; _cs.Size((int) (15)).Color(__c.Colors.RGB((int) (50),(int) (50),(int) (50))).Append(BA.ObjectToCharSequence(" Cant: ")).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence(_cantidad)).Append(BA.ObjectToCharSequence(" ")); - //BA.debugLineNum = 319;BA.debugLine="cs.Color(Colors.RGB(50, 50, 50)).Append(\"Total:"; +RDebugUtils.currentLine=76677189; + //BA.debugLineNum = 76677189;BA.debugLine="cs.Color(Colors.RGB(50, 50, 50)).Append(\"Total:"; _cs.Color(__c.Colors.RGB((int) (50),(int) (50),(int) (50))).Append(BA.ObjectToCharSequence("Total: ")).Color(__c.Colors.RGB((int) (0),(int) (120),(int) (0))).Typeface(__c.Typeface.DEFAULT_BOLD).Append(BA.ObjectToCharSequence("$"+__c.NumberFormat2(_precio,(int) (1),(int) (2),(int) (2),__c.True))).Pop().Pop().Pop(); - //BA.debugLineNum = 320;BA.debugLine="cs.Append(CRLF)"; +RDebugUtils.currentLine=76677190; + //BA.debugLineNum = 76677190;BA.debugLine="cs.Append(CRLF)"; _cs.Append(BA.ObjectToCharSequence(__c.CRLF)); - //BA.debugLineNum = 323;BA.debugLine="cs.Size(13).Color(Colors.RGB(100, 100, 100)).Ap"; +RDebugUtils.currentLine=76677193; + //BA.debugLineNum = 76677193;BA.debugLine="cs.Size(13).Color(Colors.RGB(100, 100, 100)).Ap"; _cs.Size((int) (13)).Color(__c.Colors.RGB((int) (100),(int) (100),(int) (100))).Append(BA.ObjectToCharSequence(" Folio: "+_folioitem+" | "+_cedis)).PopAll(); - //BA.debugLineNum = 325;BA.debugLine="ListView1.AddSingleLine(cs)"; -_listview1.AddSingleLine(BA.ObjectToCharSequence(_cs.getObject())); +RDebugUtils.currentLine=76677195; + //BA.debugLineNum = 76677195;BA.debugLine="ListView1.AddSingleLine(cs)"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_cs.getObject())); } }; }; - //BA.debugLineNum = 328;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 330;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from pedido_cliente WHERE pc_cliente IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 331;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 332;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 333;BA.debugLine="L_CANT.Text = 0"; -_l_cant.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 334;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 335;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_CANT) AS PE_CANT from pedido where pe_cliente in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); - //BA.debugLineNum = 336;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 337;BA.debugLine="L_CANT.Text = c.GetString(\"PE_CANT\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PE_CANT"))); - //BA.debugLineNum = 339;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 340;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(I"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(IFNULL(PE_DESC,0)) AS DESCUENTO FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 341;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 342;BA.debugLine="DESC = c.GetString(\"DESCUENTO\")"; -_desc = _c.GetString("DESCUENTO"); - //BA.debugLineNum = 343;BA.debugLine="b_desc.Visible = False"; -_b_desc.setVisible(__c.False); - //BA.debugLineNum = 346;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=76677198; + //BA.debugLineNum = 76677198;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=76677200; + //BA.debugLineNum = 76677200;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from pedido_cliente WHERE pc_cliente IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=76677201; + //BA.debugLineNum = 76677201;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=76677202; + //BA.debugLineNum = 76677202;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=76677203; + //BA.debugLineNum = 76677203;BA.debugLine="L_CANT.Text = 0"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=76677204; + //BA.debugLineNum = 76677204;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=76677205; + //BA.debugLineNum = 76677205;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_CANT) AS PE_CANT from pedido where pe_cliente in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); +RDebugUtils.currentLine=76677206; + //BA.debugLineNum = 76677206;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=76677207; + //BA.debugLineNum = 76677207;BA.debugLine="L_CANT.Text = c.GetString(\"PE_CANT\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))); +RDebugUtils.currentLine=76677209; + //BA.debugLineNum = 76677209;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=76677210; + //BA.debugLineNum = 76677210;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(I"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(IFNULL(PE_DESC,0)) AS DESCUENTO FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=76677211; + //BA.debugLineNum = 76677211;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=76677212; + //BA.debugLineNum = 76677212;BA.debugLine="DESC = c.GetString(\"DESCUENTO\")"; +__ref._desc /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DESCUENTO"); +RDebugUtils.currentLine=76677213; + //BA.debugLineNum = 76677213;BA.debugLine="b_desc.Visible = False"; +__ref._b_desc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76677216; + //BA.debugLineNum = 76677216;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exec"; _s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{"","null"}))); - //BA.debugLineNum = 347;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; -__c.LogImpl("474711137",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow); - //BA.debugLineNum = 348;BA.debugLine="If s3.RowCount > 0 Then"; +RDebugUtils.currentLine=76677217; + //BA.debugLineNum = 76677217;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; +__c.LogImpl("076677217",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow); +RDebugUtils.currentLine=76677218; + //BA.debugLineNum = 76677218;BA.debugLine="If s3.RowCount > 0 Then"; if (_s3.getRowCount()>0) { - //BA.debugLineNum = 349;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=76677219; + //BA.debugLineNum = 76677219;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exec"; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); - //BA.debugLineNum = 350;BA.debugLine="s.Position=0"; +RDebugUtils.currentLine=76677220; + //BA.debugLineNum = 76677220;BA.debugLine="s.Position=0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 351;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.E"; +RDebugUtils.currentLine=76677221; + //BA.debugLineNum = 76677221;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.E"; _s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"","null"}))); - //BA.debugLineNum = 352;BA.debugLine="s5.Position = 0"; +RDebugUtils.currentLine=76677222; + //BA.debugLineNum = 76677222;BA.debugLine="s5.Position = 0"; _s5.setPosition((int) (0)); - //BA.debugLineNum = 353;BA.debugLine="L_TOTAL.Text =NumberFormat2(s.GetString(\"TOTAL_"; -_l_total.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),__c.True))); - //BA.debugLineNum = 354;BA.debugLine="s.Close"; +RDebugUtils.currentLine=76677223; + //BA.debugLineNum = 76677223;BA.debugLine="L_TOTAL.Text =NumberFormat2(s.GetString(\"TOTAL_"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),__c.True))); +RDebugUtils.currentLine=76677224; + //BA.debugLineNum = 76677224;BA.debugLine="s.Close"; _s.Close(); - }else if(_s3.getRowCount()==0) { - //BA.debugLineNum = 356;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exec"; + }else +{RDebugUtils.currentLine=76677225; + //BA.debugLineNum = 76677225;BA.debugLine="Else If s3.RowCount = 0 Then"; +if (_s3.getRowCount()==0) { +RDebugUtils.currentLine=76677226; + //BA.debugLineNum = 76677226;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exec"; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 357;BA.debugLine="s.Position=0"; +RDebugUtils.currentLine=76677227; + //BA.debugLineNum = 76677227;BA.debugLine="s.Position=0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 358;BA.debugLine="L_TOTAL.Text =NumberFormat2(s.GetString(\"TOTAL_"; -_l_total.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s.GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),__c.True))); - //BA.debugLineNum = 359;BA.debugLine="s.Close"; +RDebugUtils.currentLine=76677228; + //BA.debugLineNum = 76677228;BA.debugLine="L_TOTAL.Text =NumberFormat2(s.GetString(\"TOTAL_"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s.GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),__c.True))); +RDebugUtils.currentLine=76677229; + //BA.debugLineNum = 76677229;BA.debugLine="s.Close"; _s.Close(); + }} +; +RDebugUtils.currentLine=76677232; + //BA.debugLineNum = 76677232;BA.debugLine="L_TOTAL.text = Subs.calculaTotalConPromoXRango(S"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); }; - //BA.debugLineNum = 362;BA.debugLine="L_TOTAL.text = Subs.calculaTotalConPromoXRango(S"; -_l_total.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); - }; - //BA.debugLineNum = 368;BA.debugLine="L_TOTAL.Text = Subs.calculaTotalConPromoXRango(Su"; -_l_total.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); - //BA.debugLineNum = 370;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=76677238; + //BA.debugLineNum = 76677238;BA.debugLine="L_TOTAL.Text = Subs.calculaTotalConPromoXRango(Su"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); +RDebugUtils.currentLine=76677240; + //BA.debugLineNum = 76677240;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe"; _future = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"}))); - //BA.debugLineNum = 371;BA.debugLine="If future.RowCount > 0 Then"; +RDebugUtils.currentLine=76677241; + //BA.debugLineNum = 76677241;BA.debugLine="If future.RowCount > 0 Then"; if (_future.getRowCount()>0) { - //BA.debugLineNum = 372;BA.debugLine="future.Position = 0"; +RDebugUtils.currentLine=76677242; + //BA.debugLineNum = 76677242;BA.debugLine="future.Position = 0"; _future.setPosition((int) (0)); - //BA.debugLineNum = 373;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; +RDebugUtils.currentLine=76677243; + //BA.debugLineNum = 76677243;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then"; if (_future.GetInt("CAT_VA_VALOR")==1) { - //BA.debugLineNum = 374;BA.debugLine="Panel3.Visible = True"; -_panel3.setVisible(__c.True); - //BA.debugLineNum = 375;BA.debugLine="l_ocul.Visible = False"; -_l_ocul.setVisible(__c.False); - //BA.debugLineNum = 376;BA.debugLine="l_desct.Visible = False"; -_l_desct.setVisible(__c.False); - //BA.debugLineNum = 377;BA.debugLine="l_descacor.Text = NumberFormat2( (Subs.calculaT"; -_l_descacor.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 378;BA.debugLine="l_descpre.Text = NumberFormat2( (Subs.calculaTo"; -_l_descpre.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango3 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 379;BA.debugLine="L_PREVENTA.Text = Subs.calculaTotalConPromoXRan"; -_l_preventa.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); - //BA.debugLineNum = 380;BA.debugLine="L_FUTURO.Text = Subs.calculaTotalConPromoXRango"; -_l_futuro.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); - }else if(_future.GetInt("CAT_VA_VALOR")==0) { - //BA.debugLineNum = 382;BA.debugLine="Panel3.Visible = False"; -_panel3.setVisible(__c.False); - //BA.debugLineNum = 383;BA.debugLine="l_ocul.Visible = True"; -_l_ocul.setVisible(__c.True); - //BA.debugLineNum = 384;BA.debugLine="l_desct.Visible = True"; -_l_desct.setVisible(__c.True); - //BA.debugLineNum = 385;BA.debugLine="l_desct.Text = NumberFormat2( (Subs.calculaTota"; -_l_desct.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango3 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 386;BA.debugLine="L_PREVENTA.Text = Subs.calculaTotalConPromoXRan"; -_l_preventa.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); - //BA.debugLineNum = 387;BA.debugLine="L_FUTURO.Text = Subs.calculaTotalConPromoXRango"; -_l_futuro.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); +RDebugUtils.currentLine=76677244; + //BA.debugLineNum = 76677244;BA.debugLine="Panel3.Visible = True"; +__ref._panel3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=76677245; + //BA.debugLineNum = 76677245;BA.debugLine="l_ocul.Visible = False"; +__ref._l_ocul /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76677246; + //BA.debugLineNum = 76677246;BA.debugLine="l_desct.Visible = False"; +__ref._l_desct /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76677247; + //BA.debugLineNum = 76677247;BA.debugLine="l_descacor.Text = NumberFormat2( (Subs.calculaT"; +__ref._l_descacor /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=76677248; + //BA.debugLineNum = 76677248;BA.debugLine="l_descpre.Text = NumberFormat2( (Subs.calculaTo"; +__ref._l_descpre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango3 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=76677249; + //BA.debugLineNum = 76677249;BA.debugLine="L_PREVENTA.Text = Subs.calculaTotalConPromoXRan"; +__ref._l_preventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); +RDebugUtils.currentLine=76677250; + //BA.debugLineNum = 76677250;BA.debugLine="L_FUTURO.Text = Subs.calculaTotalConPromoXRango"; +__ref._l_futuro /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); + }else +{RDebugUtils.currentLine=76677251; + //BA.debugLineNum = 76677251;BA.debugLine="Else If future.GetInt(\"CAT_VA_VALOR\") = 0 Then"; +if (_future.GetInt("CAT_VA_VALOR")==0) { +RDebugUtils.currentLine=76677252; + //BA.debugLineNum = 76677252;BA.debugLine="Panel3.Visible = False"; +__ref._panel3 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=76677253; + //BA.debugLineNum = 76677253;BA.debugLine="l_ocul.Visible = True"; +__ref._l_ocul /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=76677254; + //BA.debugLineNum = 76677254;BA.debugLine="l_desct.Visible = True"; +__ref._l_desct /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=76677255; + //BA.debugLineNum = 76677255;BA.debugLine="l_desct.Text = NumberFormat2( (Subs.calculaTota"; +__ref._l_desct /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango3 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=76677256; + //BA.debugLineNum = 76677256;BA.debugLine="L_PREVENTA.Text = Subs.calculaTotalConPromoXRan"; +__ref._l_preventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); +RDebugUtils.currentLine=76677257; + //BA.debugLineNum = 76677257;BA.debugLine="L_FUTURO.Text = Subs.calculaTotalConPromoXRango"; +__ref._l_futuro /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); + }} +; }; - }; - //BA.debugLineNum = 391;BA.debugLine="End Sub"; +RDebugUtils.currentLine=76677261; + //BA.debugLineNum = 76677261;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.c_nota __ref) throws Exception{ +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_nota parent) { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_nota parent,gunav2.keymon.com.mx.c_nota __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_nota __ref; gunav2.keymon.com.mx.c_nota parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_nota"; while (true) { switch (state) { @@ -408,218 +604,302 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 409;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=76939267; + //BA.debugLineNum = 76939267;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 410;BA.debugLine="Return False"; +RDebugUtils.currentLine=76939268; + //BA.debugLineNum = 76939268;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 411;BA.debugLine="End Sub"; +RDebugUtils.currentLine=76939269; + //BA.debugLineNum = 76939269;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 48;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 49;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 50;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 51;BA.debugLine="Root.LoadLayout(\"nota\")"; -_root.LoadLayout("nota",ba); - //BA.debugLineNum = 52;BA.debugLine="borra.Visible = True"; -_borra.setVisible(__c.True); - //BA.debugLineNum = 53;BA.debugLine="Titulo.Text = \"Pedido Actual\""; -_titulo.setText(BA.ObjectToCharSequence("Pedido Actual")); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +public String _b4xpage_created(gunav2.keymon.com.mx.c_nota __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=76611584; + //BA.debugLineNum = 76611584;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=76611585; + //BA.debugLineNum = 76611585;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=76611586; + //BA.debugLineNum = 76611586;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=76611587; + //BA.debugLineNum = 76611587;BA.debugLine="Root.LoadLayout(\"nota\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("nota",ba); +RDebugUtils.currentLine=76611588; + //BA.debugLineNum = 76611588;BA.debugLine="borra.Visible = True"; +__ref._borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=76611589; + //BA.debugLineNum = 76611589;BA.debugLine="Titulo.Text = \"Pedido Actual\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Pedido Actual")); +RDebugUtils.currentLine=76611596; + //BA.debugLineNum = 76611596;BA.debugLine="End Sub"; return ""; } -public String _borra_click() throws Exception{ +public String _borra_click(gunav2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "borra_click", false)) + {return ((String) Debug.delegate(ba, "borra_click", null));} int _i = 0; - //BA.debugLineNum = 413;BA.debugLine="Sub borra_Click"; - //BA.debugLineNum = 418;BA.debugLine="If Not(Subs.revisaImpreso) Then"; +RDebugUtils.currentLine=77004800; + //BA.debugLineNum = 77004800;BA.debugLine="Sub borra_Click"; +RDebugUtils.currentLine=77004805; + //BA.debugLineNum = 77004805;BA.debugLine="If Not(Subs.revisaImpreso) Then"; if (__c.Not(_subs._revisaimpreso /*boolean*/ (ba))) { - //BA.debugLineNum = 420;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el pe"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 421;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 422;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'"))); - //BA.debugLineNum = 423;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 424;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=77004807; + //BA.debugLineNum = 77004807;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el pe"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77004808; + //BA.debugLineNum = 77004808;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77004809; + //BA.debugLineNum = 77004809;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'"))); +RDebugUtils.currentLine=77004810; + //BA.debugLineNum = 77004810;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77004811; + //BA.debugLineNum = 77004811;BA.debugLine="For i=0 To c.RowCount -1"; { final int step6 = 1; -final int limit6 = (int) (_c.getRowCount()-1); +final int limit6 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 425;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 426;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"updat"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PROID"))})); - //BA.debugLineNum = 427;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); +RDebugUtils.currentLine=77004812; + //BA.debugLineNum = 77004812;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=77004813; + //BA.debugLineNum = 77004813;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"updat"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))})); +RDebugUtils.currentLine=77004814; + //BA.debugLineNum = 77004814;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*-1)})); } }; }; - //BA.debugLineNum = 430;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; +RDebugUtils.currentLine=77004817; + //BA.debugLineNum = 77004817;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 431;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; +RDebugUtils.currentLine=77004818; + //BA.debugLineNum = 77004818;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 432;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE km"; +RDebugUtils.currentLine=77004819; + //BA.debugLineNum = 77004819;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE km"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 433;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77004820; + //BA.debugLineNum = 77004820;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 439;BA.debugLine="Log(\"Aqui\")"; -__c.LogImpl("475038746","Aqui",0); - //BA.debugLineNum = 440;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("475038747",_subs._traealmacen /*String*/ (ba),0); - //BA.debugLineNum = 441;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +RDebugUtils.currentLine=77004826; + //BA.debugLineNum = 77004826;BA.debugLine="Log(\"Aqui\")"; +__c.LogImpl("077004826","Aqui",0); +RDebugUtils.currentLine=77004827; + //BA.debugLineNum = 77004827;BA.debugLine="Log(Subs.traeAlmacen)"; +__c.LogImpl("077004827",_subs._traealmacen /*String*/ (ba),0); +RDebugUtils.currentLine=77004828; + //BA.debugLineNum = 77004828;BA.debugLine="If Subs.traeAlmacen = 94 Then"; if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) { - //BA.debugLineNum = 442;BA.debugLine="Log(\"Aqui\")"; -__c.LogImpl("475038749","Aqui",0); - //BA.debugLineNum = 444;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el p"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 445;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 446;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'"))); - //BA.debugLineNum = 447;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 448;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=77004829; + //BA.debugLineNum = 77004829;BA.debugLine="Log(\"Aqui\")"; +__c.LogImpl("077004829","Aqui",0); +RDebugUtils.currentLine=77004831; + //BA.debugLineNum = 77004831;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el p"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77004832; + //BA.debugLineNum = 77004832;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77004833; + //BA.debugLineNum = 77004833;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'"))); +RDebugUtils.currentLine=77004834; + //BA.debugLineNum = 77004834;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77004835; + //BA.debugLineNum = 77004835;BA.debugLine="For i=0 To c.RowCount -1"; { final int step26 = 1; -final int limit26 = (int) (_c.getRowCount()-1); +final int limit26 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit26 ;_i = _i + step26 ) { - //BA.debugLineNum = 449;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 450;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"upda"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PROID"))})); - //BA.debugLineNum = 451;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); +RDebugUtils.currentLine=77004836; + //BA.debugLineNum = 77004836;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=77004837; + //BA.debugLineNum = 77004837;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"upda"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))})); +RDebugUtils.currentLine=77004838; + //BA.debugLineNum = 77004838;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*-1)})); } }; }; - //BA.debugLineNum = 454;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +RDebugUtils.currentLine=77004841; + //BA.debugLineNum = 77004841;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 455;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +RDebugUtils.currentLine=77004842; + //BA.debugLineNum = 77004842;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 456;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; +RDebugUtils.currentLine=77004843; + //BA.debugLineNum = 77004843;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 457;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 se"; +RDebugUtils.currentLine=77004844; + //BA.debugLineNum = 77004844;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 se"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 458;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRED"; +RDebugUtils.currentLine=77004845; + //BA.debugLineNum = 77004845;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRED"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 459;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77004846; + //BA.debugLineNum = 77004846;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 465;BA.debugLine="Log(\"aqui\")"; -__c.LogImpl("475038772","aqui",0); - //BA.debugLineNum = 466;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, no"; +RDebugUtils.currentLine=77004852; + //BA.debugLineNum = 77004852;BA.debugLine="Log(\"aqui\")"; +__c.LogImpl("077004852","aqui",0); +RDebugUtils.currentLine=77004853; + //BA.debugLineNum = 77004853;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, no"; __c.ToastMessageShow(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!"),__c.True); - //BA.debugLineNum = 467;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicketI"; +RDebugUtils.currentLine=77004854; + //BA.debugLineNum = 77004854;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicketI"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); - //BA.debugLineNum = 468;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +RDebugUtils.currentLine=77004855; + //BA.debugLineNum = 77004855;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; _b4xpages._showpage /*String*/ (ba,"cliente"); }; }; - //BA.debugLineNum = 513;BA.debugLine="End Sub"; +RDebugUtils.currentLine=77004900; + //BA.debugLineNum = 77004900;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +RDebugUtils.currentLine=76480512; + //BA.debugLineNum = 76480512;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=76480513; + //BA.debugLineNum = 76480513;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=76480514; + //BA.debugLineNum = 76480514;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim skmt As SQL"; +RDebugUtils.currentLine=76480516; + //BA.debugLineNum = 76480516;BA.debugLine="Dim skmt As SQL"; _skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 6;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=76480517; + //BA.debugLineNum = 76480517;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 7;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=76480518; + //BA.debugLineNum = 76480518;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=76480519; + //BA.debugLineNum = 76480519;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=76480520; + //BA.debugLineNum = 76480520;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=76480522; + //BA.debugLineNum = 76480522;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=76480523; + //BA.debugLineNum = 76480523;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim Regresar As Button"; +RDebugUtils.currentLine=76480524; + //BA.debugLineNum = 76480524;BA.debugLine="Dim Regresar As Button"; _regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +RDebugUtils.currentLine=76480526; + //BA.debugLineNum = 76480526;BA.debugLine="Dim ListView1 As ListView"; _listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +RDebugUtils.currentLine=76480527; + //BA.debugLineNum = 76480527;BA.debugLine="Dim L_CANT As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +RDebugUtils.currentLine=76480528; + //BA.debugLineNum = 76480528;BA.debugLine="Dim L_TOTAL As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +RDebugUtils.currentLine=76480529; + //BA.debugLineNum = 76480529;BA.debugLine="Dim borra As Button"; _borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +RDebugUtils.currentLine=76480530; + //BA.debugLineNum = 76480530;BA.debugLine="Dim Existe As String"; _existe = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +RDebugUtils.currentLine=76480531; + //BA.debugLineNum = 76480531;BA.debugLine="Dim result As String"; _result = ""; - //BA.debugLineNum = 22;BA.debugLine="Dim DESC As String"; +RDebugUtils.currentLine=76480533; + //BA.debugLineNum = 76480533;BA.debugLine="Dim DESC As String"; _desc = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim c2, j3 As Cursor"; +RDebugUtils.currentLine=76480534; + //BA.debugLineNum = 76480534;BA.debugLine="Dim c2, j3 As Cursor"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private Titulo As Label"; +RDebugUtils.currentLine=76480535; + //BA.debugLineNum = 76480535;BA.debugLine="Private Titulo As Label"; _titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Private b_desc As Button"; +RDebugUtils.currentLine=76480536; + //BA.debugLineNum = 76480536;BA.debugLine="Private b_desc As Button"; _b_desc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim DESCUENTO As String"; +RDebugUtils.currentLine=76480537; + //BA.debugLineNum = 76480537;BA.debugLine="Dim DESCUENTO As String"; _descuento = ""; - //BA.debugLineNum = 27;BA.debugLine="Dim folio As String"; +RDebugUtils.currentLine=76480538; + //BA.debugLineNum = 76480538;BA.debugLine="Dim folio As String"; _folio = ""; - //BA.debugLineNum = 28;BA.debugLine="Dim tgl As Toggle"; +RDebugUtils.currentLine=76480539; + //BA.debugLineNum = 76480539;BA.debugLine="Dim tgl As Toggle"; _tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 29;BA.debugLine="Private almacen As String"; +RDebugUtils.currentLine=76480540; + //BA.debugLineNum = 76480540;BA.debugLine="Private almacen As String"; _almacen = ""; - //BA.debugLineNum = 30;BA.debugLine="Private p_nota As Panel"; +RDebugUtils.currentLine=76480541; + //BA.debugLineNum = 76480541;BA.debugLine="Private p_nota As Panel"; _p_nota = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; +RDebugUtils.currentLine=76480542; + //BA.debugLineNum = 76480542;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; _tipo_venta = _subs._traetipoventadebd /*String*/ (ba); - //BA.debugLineNum = 32;BA.debugLine="Private Panel1 As Panel"; +RDebugUtils.currentLine=76480543; + //BA.debugLineNum = 76480543;BA.debugLine="Private Panel1 As Panel"; _panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private Panel3 As Panel"; +RDebugUtils.currentLine=76480544; + //BA.debugLineNum = 76480544;BA.debugLine="Private Panel3 As Panel"; _panel3 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private L_FUTURO As Label"; +RDebugUtils.currentLine=76480545; + //BA.debugLineNum = 76480545;BA.debugLine="Private L_FUTURO As Label"; _l_futuro = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private L_PREVENTA As Label"; +RDebugUtils.currentLine=76480546; + //BA.debugLineNum = 76480546;BA.debugLine="Private L_PREVENTA As Label"; _l_preventa = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Private l_descacor As Label"; +RDebugUtils.currentLine=76480547; + //BA.debugLineNum = 76480547;BA.debugLine="Private l_descacor As Label"; _l_descacor = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private l_descpre As Label"; +RDebugUtils.currentLine=76480548; + //BA.debugLineNum = 76480548;BA.debugLine="Private l_descpre As Label"; _l_descpre = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private l_ocul As Label"; +RDebugUtils.currentLine=76480549; + //BA.debugLineNum = 76480549;BA.debugLine="Private l_ocul As Label"; _l_ocul = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private l_desct As Label"; +RDebugUtils.currentLine=76480550; + //BA.debugLineNum = 76480550;BA.debugLine="Private l_desct As Label"; _l_desct = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 40;BA.debugLine="End Sub"; +RDebugUtils.currentLine=76480551; + //BA.debugLineNum = 76480551;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 397;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 400;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 43;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 44;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 45;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ +public String _listview1_itemlongclick(gunav2.keymon.com.mx.c_nota __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} String[] _x = null; String _nom = ""; int _i = 0; @@ -628,896 +908,1271 @@ String _cedis = ""; String _foliu = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; int _j = 0; - //BA.debugLineNum = 515;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 516;BA.debugLine="Log(Subs.traeTablaProds(tipo_venta))"; -__c.LogImpl("475104257",_subs._traetablaprods /*String*/ (ba,_tipo_venta),0); - //BA.debugLineNum = 517;BA.debugLine="Log(Value)"; -__c.LogImpl("475104258",BA.ObjectToString(_value),0); - //BA.debugLineNum = 518;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)"; +RDebugUtils.currentLine=77070336; + //BA.debugLineNum = 77070336;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=77070337; + //BA.debugLineNum = 77070337;BA.debugLine="Log(Subs.traeTablaProds(tipo_venta))"; +__c.LogImpl("077070337",_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ ),0); +RDebugUtils.currentLine=77070338; + //BA.debugLineNum = 77070338;BA.debugLine="Log(Value)"; +__c.LogImpl("077070338",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=77070339; + //BA.debugLineNum = 77070339;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)"; _x = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 519;BA.debugLine="Private nom As String = \"\""; +RDebugUtils.currentLine=77070340; + //BA.debugLineNum = 77070340;BA.debugLine="Private nom As String = \"\""; _nom = ""; - //BA.debugLineNum = 521;BA.debugLine="For i = 0 To X.Length - 1"; +RDebugUtils.currentLine=77070342; + //BA.debugLineNum = 77070342;BA.debugLine="For i = 0 To X.Length - 1"; { final int step5 = 1; final int limit5 = (int) (_x.length-1); _i = (int) (0) ; for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 522;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +RDebugUtils.currentLine=77070343; + //BA.debugLineNum = 77070343;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; if (__c.Not(_x[_i].contains(__c.CRLF))) { - //BA.debugLineNum = 524;BA.debugLine="nom = nom & \" \" & X(i)"; +RDebugUtils.currentLine=77070345; + //BA.debugLineNum = 77070345;BA.debugLine="nom = nom & \" \" & X(i)"; _nom = _nom+" "+_x[_i]; }else { - //BA.debugLineNum = 528;BA.debugLine="Dim palabraFinal As String = X(i).Replace(CRLF,"; +RDebugUtils.currentLine=77070349; + //BA.debugLineNum = 77070349;BA.debugLine="Dim palabraFinal As String = X(i).Replace(CRLF,"; _palabrafinal = _x[_i].replace(__c.CRLF,""); - //BA.debugLineNum = 531;BA.debugLine="nom = nom & \" \" & palabraFinal"; +RDebugUtils.currentLine=77070352; + //BA.debugLineNum = 77070352;BA.debugLine="nom = nom & \" \" & palabraFinal"; _nom = _nom+" "+_palabrafinal; - //BA.debugLineNum = 533;BA.debugLine="Exit"; +RDebugUtils.currentLine=77070354; + //BA.debugLineNum = 77070354;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 536;BA.debugLine="nom = nom.Trim"; +RDebugUtils.currentLine=77070357; + //BA.debugLineNum = 77070357;BA.debugLine="nom = nom.Trim"; _nom = _nom.trim(); - //BA.debugLineNum = 537;BA.debugLine="Private cedis As String = X(X.Length-1)"; +RDebugUtils.currentLine=77070358; + //BA.debugLineNum = 77070358;BA.debugLine="Private cedis As String = X(X.Length-1)"; _cedis = _x[(int) (_x.length-1)]; - //BA.debugLineNum = 538;BA.debugLine="Private foliu As String = X(X.Length-3)"; +RDebugUtils.currentLine=77070359; + //BA.debugLineNum = 77070359;BA.debugLine="Private foliu As String = X(X.Length-3)"; _foliu = _x[(int) (_x.length-3)]; - //BA.debugLineNum = 539;BA.debugLine="Log(nom)"; -__c.LogImpl("475104280",_nom,0); - //BA.debugLineNum = 540;BA.debugLine="Log(cedis)"; -__c.LogImpl("475104281",_cedis,0); - //BA.debugLineNum = 541;BA.debugLine="Log(foliu)"; -__c.LogImpl("475104282",_foliu,0); - //BA.debugLineNum = 542;BA.debugLine="Dim cx As Cursor = B4XPages.MainPage.skmt.ExecQue"; +RDebugUtils.currentLine=77070360; + //BA.debugLineNum = 77070360;BA.debugLine="Log(nom)"; +__c.LogImpl("077070360",_nom,0); +RDebugUtils.currentLine=77070361; + //BA.debugLineNum = 77070361;BA.debugLine="Log(cedis)"; +__c.LogImpl("077070361",_cedis,0); +RDebugUtils.currentLine=77070362; + //BA.debugLineNum = 77070362;BA.debugLine="Log(foliu)"; +__c.LogImpl("077070362",_foliu,0); +RDebugUtils.currentLine=77070363; + //BA.debugLineNum = 77070363;BA.debugLine="Dim cx As Cursor = B4XPages.MainPage.skmt.ExecQue"; _cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE, PE_CEDIS/1 AS is_numeric FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and is_numeric > 0 and pe_cliente in (Select CUENTA from cuentaa) and PE_RECALCULO > 0")))); - //BA.debugLineNum = 543;BA.debugLine="Log(\"Recalculados: \" & cx.RowCount)"; -__c.LogImpl("475104284","Recalculados: "+BA.NumberToString(_cx.getRowCount()),0); - //BA.debugLineNum = 544;BA.debugLine="If cx.RowCount > 0 Then ' Si hay recalculo (produ"; +RDebugUtils.currentLine=77070364; + //BA.debugLineNum = 77070364;BA.debugLine="Log(\"Recalculados: \" & cx.RowCount)"; +__c.LogImpl("077070364","Recalculados: "+BA.NumberToString(_cx.getRowCount()),0); +RDebugUtils.currentLine=77070365; + //BA.debugLineNum = 77070365;BA.debugLine="If cx.RowCount > 0 Then ' Si hay recalculo (produ"; if (_cx.getRowCount()>0) { - //BA.debugLineNum = 545;BA.debugLine="result = Msgbox2(\"Si se borra este producto, se"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se borra este producto, se va a borrar el pedido COMPLETO, ¿desea continuar?"),BA.ObjectToCharSequence("Borrar pedido completo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 546;BA.debugLine="If result = DialogResponse.NEGATIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.NEGATIVE))) { - //BA.debugLineNum = 547;BA.debugLine="Return"; +RDebugUtils.currentLine=77070366; + //BA.debugLineNum = 77070366;BA.debugLine="result = Msgbox2(\"Si se borra este producto, se"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se borra este producto, se va a borrar el pedido COMPLETO, ¿desea continuar?"),BA.ObjectToCharSequence("Borrar pedido completo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77070367; + //BA.debugLineNum = 77070367;BA.debugLine="If result = DialogResponse.NEGATIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.NEGATIVE))) { +RDebugUtils.currentLine=77070368; + //BA.debugLineNum = 77070368;BA.debugLine="Return"; if (true) return ""; }else { - //BA.debugLineNum = 549;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido w"; +RDebugUtils.currentLine=77070370; + //BA.debugLineNum = 77070370;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido w"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 550;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; +RDebugUtils.currentLine=77070371; + //BA.debugLineNum = 77070371;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 551;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 552;BA.debugLine="Return"; +RDebugUtils.currentLine=77070372; + //BA.debugLineNum = 77070372;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=77070373; + //BA.debugLineNum = 77070373;BA.debugLine="Return"; if (true) return ""; }; }; - //BA.debugLineNum = 555;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT HABI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADA FROM IMPRESORA"))); - //BA.debugLineNum = 556;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 557;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 558;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; -if ((_c.GetString("HABILITADA")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 559;BA.debugLine="If Not(Subs.revisaImpreso) Then"; +RDebugUtils.currentLine=77070376; + //BA.debugLineNum = 77070376;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT HABI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADA FROM IMPRESORA"))); +RDebugUtils.currentLine=77070377; + //BA.debugLineNum = 77070377;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77070378; + //BA.debugLineNum = 77070378;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070379; + //BA.debugLineNum = 77070379;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADA")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=77070380; + //BA.debugLineNum = 77070380;BA.debugLine="If Not(Subs.revisaImpreso) Then"; if (__c.Not(_subs._revisaimpreso /*boolean*/ (ba))) { - //BA.debugLineNum = 560;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 561;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 562;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 563;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; -__c.LogImpl("475104304",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); - //BA.debugLineNum = 564;BA.debugLine="Log(c.RowCount)"; -__c.LogImpl("475104305",BA.NumberToString(_c.getRowCount()),0); - //BA.debugLineNum = 565;BA.debugLine="Log(\"AQUI ESTOY\")"; -__c.LogImpl("475104306","AQUI ESTOY",0); - //BA.debugLineNum = 566;BA.debugLine="Log(cedis)"; -__c.LogImpl("475104307",_cedis,0); - //BA.debugLineNum = 567;BA.debugLine="Log(foliu)"; -__c.LogImpl("475104308",_foliu,0); - //BA.debugLineNum = 568;BA.debugLine="Log(nom)"; -__c.LogImpl("475104309",_nom,0); - //BA.debugLineNum = 570;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 573;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); - //BA.debugLineNum = 580;BA.debugLine="If Not(IsNumber(cedis)) Then"; +RDebugUtils.currentLine=77070381; + //BA.debugLineNum = 77070381;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77070382; + //BA.debugLineNum = 77070382;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77070383; + //BA.debugLineNum = 77070383;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=77070384; + //BA.debugLineNum = 77070384;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; +__c.LogImpl("077070384",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); +RDebugUtils.currentLine=77070385; + //BA.debugLineNum = 77070385;BA.debugLine="Log(c.RowCount)"; +__c.LogImpl("077070385",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070386; + //BA.debugLineNum = 77070386;BA.debugLine="Log(\"AQUI ESTOY\")"; +__c.LogImpl("077070386","AQUI ESTOY",0); +RDebugUtils.currentLine=77070387; + //BA.debugLineNum = 77070387;BA.debugLine="Log(cedis)"; +__c.LogImpl("077070387",_cedis,0); +RDebugUtils.currentLine=77070388; + //BA.debugLineNum = 77070388;BA.debugLine="Log(foliu)"; +__c.LogImpl("077070388",_foliu,0); +RDebugUtils.currentLine=77070389; + //BA.debugLineNum = 77070389;BA.debugLine="Log(nom)"; +__c.LogImpl("077070389",_nom,0); +RDebugUtils.currentLine=77070391; + //BA.debugLineNum = 77070391;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070394; + //BA.debugLineNum = 77070394;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*-1)})); +RDebugUtils.currentLine=77070401; + //BA.debugLineNum = 77070401;BA.debugLine="If Not(IsNumber(cedis)) Then"; if (__c.Not(__c.IsNumber(_cedis))) { - //BA.debugLineNum = 581;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); - //BA.debugLineNum = 582;BA.debugLine="Log(j3.RowCount)"; -__c.LogImpl("475104323",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 583;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 584;BA.debugLine="Log(\"Soy promo\")"; -__c.LogImpl("475104325","Soy promo",0); - //BA.debugLineNum = 585;BA.debugLine="For j = 0 To j3.RowCount -1"; +RDebugUtils.currentLine=77070402; + //BA.debugLineNum = 77070402;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); +RDebugUtils.currentLine=77070403; + //BA.debugLineNum = 77070403;BA.debugLine="Log(j3.RowCount)"; +__c.LogImpl("077070403",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070404; + //BA.debugLineNum = 77070404;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77070405; + //BA.debugLineNum = 77070405;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("077070405","Soy promo",0); +RDebugUtils.currentLine=77070406; + //BA.debugLineNum = 77070406;BA.debugLine="For j = 0 To j3.RowCount -1"; { final int step54 = 1; -final int limit54 = (int) (_j3.getRowCount()-1); +final int limit54 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _j = (int) (0) ; for (;_j <= limit54 ;_j = _j + step54 ) { - //BA.debugLineNum = 586;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("475104327","aqui tronare?",0); - //BA.debugLineNum = 587;BA.debugLine="j3.Position = j"; -_j3.setPosition(_j); - //BA.debugLineNum = 589;BA.debugLine="Log(nom)"; -__c.LogImpl("475104330",_nom,0); - //BA.debugLineNum = 590;BA.debugLine="If cedis <> \"DUR\" Then"; +RDebugUtils.currentLine=77070407; + //BA.debugLineNum = 77070407;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("077070407","aqui tronare?",0); +RDebugUtils.currentLine=77070408; + //BA.debugLineNum = 77070408;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=77070410; + //BA.debugLineNum = 77070410;BA.debugLine="Log(nom)"; +__c.LogImpl("077070410",_nom,0); +RDebugUtils.currentLine=77070411; + //BA.debugLineNum = 77070411;BA.debugLine="If cedis <> \"DUR\" Then"; if ((_cedis).equals("DUR") == false) { - //BA.debugLineNum = 592;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 593;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"del"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 594;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; +RDebugUtils.currentLine=77070413; + //BA.debugLineNum = 77070413;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070414; + //BA.debugLineNum = 77070414;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"del"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070415; + //BA.debugLineNum = 77070415;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_foliu)})); }else { - //BA.debugLineNum = 596;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; +RDebugUtils.currentLine=77070417; + //BA.debugLineNum = 77070417;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_foliu)})); }; } }; }; - //BA.debugLineNum = 600;BA.debugLine="j3.Close"; -_j3.Close(); +RDebugUtils.currentLine=77070421; + //BA.debugLineNum = 77070421;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 602;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +RDebugUtils.currentLine=77070423; + //BA.debugLineNum = 77070423;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070424; + //BA.debugLineNum = 77070424;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_foliu)})); }; - //BA.debugLineNum = 605;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 607;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=77070426; + //BA.debugLineNum = 77070426;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77070428; + //BA.debugLineNum = 77070428;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 608;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 609;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 610;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 611;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 612;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 613;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 614;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 615;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 616;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 617;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 618;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 619;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070429; + //BA.debugLineNum = 77070429;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070430; + //BA.debugLineNum = 77070430;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070431; + //BA.debugLineNum = 77070431;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=77070432; + //BA.debugLineNum = 77070432;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070433; + //BA.debugLineNum = 77070433;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=77070434; + //BA.debugLineNum = 77070434;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=77070435; + //BA.debugLineNum = 77070435;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070436; + //BA.debugLineNum = 77070436;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77070437; + //BA.debugLineNum = 77070437;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=77070438; + //BA.debugLineNum = 77070438;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070439; + //BA.debugLineNum = 77070439;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=77070440; + //BA.debugLineNum = 77070440;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 620;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 621;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070441; + //BA.debugLineNum = 77070441;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=77070442; + //BA.debugLineNum = 77070442;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }else { - //BA.debugLineNum = 623;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070444; + //BA.debugLineNum = 77070444;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 624;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070445; + //BA.debugLineNum = 77070445;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }; - //BA.debugLineNum = 626;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77070447; + //BA.debugLineNum = 77070447;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 630;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +RDebugUtils.currentLine=77070451; + //BA.debugLineNum = 77070451;BA.debugLine="If Subs.traeAlmacen = 94 Then"; if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) { - //BA.debugLineNum = 631;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar es"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 632;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 633;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 634;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_"; -__c.LogImpl("475104375",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); - //BA.debugLineNum = 635;BA.debugLine="Log(c.RowCount)"; -__c.LogImpl("475104376",BA.NumberToString(_c.getRowCount()),0); - //BA.debugLineNum = 636;BA.debugLine="Log(\"AQUI ESTOY\")"; -__c.LogImpl("475104377","AQUI ESTOY",0); - //BA.debugLineNum = 637;BA.debugLine="Log(cedis)"; -__c.LogImpl("475104378",_cedis,0); - //BA.debugLineNum = 638;BA.debugLine="Log(foliu)"; -__c.LogImpl("475104379",_foliu,0); - //BA.debugLineNum = 639;BA.debugLine="Log(nom)"; -__c.LogImpl("475104380",_nom,0); - //BA.debugLineNum = 641;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 644;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); - //BA.debugLineNum = 651;BA.debugLine="If Not(IsNumber(cedis)) Then"; +RDebugUtils.currentLine=77070452; + //BA.debugLineNum = 77070452;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar es"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77070453; + //BA.debugLineNum = 77070453;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77070454; + //BA.debugLineNum = 77070454;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=77070455; + //BA.debugLineNum = 77070455;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_"; +__c.LogImpl("077070455",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); +RDebugUtils.currentLine=77070456; + //BA.debugLineNum = 77070456;BA.debugLine="Log(c.RowCount)"; +__c.LogImpl("077070456",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070457; + //BA.debugLineNum = 77070457;BA.debugLine="Log(\"AQUI ESTOY\")"; +__c.LogImpl("077070457","AQUI ESTOY",0); +RDebugUtils.currentLine=77070458; + //BA.debugLineNum = 77070458;BA.debugLine="Log(cedis)"; +__c.LogImpl("077070458",_cedis,0); +RDebugUtils.currentLine=77070459; + //BA.debugLineNum = 77070459;BA.debugLine="Log(foliu)"; +__c.LogImpl("077070459",_foliu,0); +RDebugUtils.currentLine=77070460; + //BA.debugLineNum = 77070460;BA.debugLine="Log(nom)"; +__c.LogImpl("077070460",_nom,0); +RDebugUtils.currentLine=77070462; + //BA.debugLineNum = 77070462;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070465; + //BA.debugLineNum = 77070465;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*-1)})); +RDebugUtils.currentLine=77070472; + //BA.debugLineNum = 77070472;BA.debugLine="If Not(IsNumber(cedis)) Then"; if (__c.Not(__c.IsNumber(_cedis))) { - //BA.debugLineNum = 652;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SEL"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); - //BA.debugLineNum = 653;BA.debugLine="Log(j3.RowCount)"; -__c.LogImpl("475104394",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 654;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 655;BA.debugLine="Log(\"Soy promo\")"; -__c.LogImpl("475104396","Soy promo",0); - //BA.debugLineNum = 656;BA.debugLine="For j = 0 To j3.RowCount -1"; +RDebugUtils.currentLine=77070473; + //BA.debugLineNum = 77070473;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SEL"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); +RDebugUtils.currentLine=77070474; + //BA.debugLineNum = 77070474;BA.debugLine="Log(j3.RowCount)"; +__c.LogImpl("077070474",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070475; + //BA.debugLineNum = 77070475;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77070476; + //BA.debugLineNum = 77070476;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("077070476","Soy promo",0); +RDebugUtils.currentLine=77070477; + //BA.debugLineNum = 77070477;BA.debugLine="For j = 0 To j3.RowCount -1"; { final int step112 = 1; -final int limit112 = (int) (_j3.getRowCount()-1); +final int limit112 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _j = (int) (0) ; for (;_j <= limit112 ;_j = _j + step112 ) { - //BA.debugLineNum = 657;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("475104398","aqui tronare?",0); - //BA.debugLineNum = 658;BA.debugLine="j3.Position = j"; -_j3.setPosition(_j); - //BA.debugLineNum = 660;BA.debugLine="Log(nom)"; -__c.LogImpl("475104401",_nom,0); - //BA.debugLineNum = 661;BA.debugLine="If cedis <> \"DUR\" Then"; +RDebugUtils.currentLine=77070478; + //BA.debugLineNum = 77070478;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("077070478","aqui tronare?",0); +RDebugUtils.currentLine=77070479; + //BA.debugLineNum = 77070479;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=77070481; + //BA.debugLineNum = 77070481;BA.debugLine="Log(nom)"; +__c.LogImpl("077070481",_nom,0); +RDebugUtils.currentLine=77070482; + //BA.debugLineNum = 77070482;BA.debugLine="If cedis <> \"DUR\" Then"; if ((_cedis).equals("DUR") == false) { - //BA.debugLineNum = 663;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"up"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 664;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"de"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 665;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; +RDebugUtils.currentLine=77070484; + //BA.debugLineNum = 77070484;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"up"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070485; + //BA.debugLineNum = 77070485;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"de"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070486; + //BA.debugLineNum = 77070486;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_foliu)})); }else { - //BA.debugLineNum = 667;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; +RDebugUtils.currentLine=77070488; + //BA.debugLineNum = 77070488;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_foliu)})); }; } }; }; - //BA.debugLineNum = 671;BA.debugLine="j3.Close"; -_j3.Close(); +RDebugUtils.currentLine=77070492; + //BA.debugLineNum = 77070492;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 673;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 674;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delet"; +RDebugUtils.currentLine=77070494; + //BA.debugLineNum = 77070494;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070495; + //BA.debugLineNum = 77070495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delet"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_foliu)})); }; - //BA.debugLineNum = 676;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 678;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=77070497; + //BA.debugLineNum = 77070497;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77070499; + //BA.debugLineNum = 77070499;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 679;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 680;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 681;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 682;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 683;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 684;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select U"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 685;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 686;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 687;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select s"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 688;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 689;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 690;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070500; + //BA.debugLineNum = 77070500;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070501; + //BA.debugLineNum = 77070501;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070502; + //BA.debugLineNum = 77070502;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=77070503; + //BA.debugLineNum = 77070503;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070504; + //BA.debugLineNum = 77070504;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=77070505; + //BA.debugLineNum = 77070505;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select U"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=77070506; + //BA.debugLineNum = 77070506;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070507; + //BA.debugLineNum = 77070507;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77070508; + //BA.debugLineNum = 77070508;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select s"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=77070509; + //BA.debugLineNum = 77070509;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070510; + //BA.debugLineNum = 77070510;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=77070511; + //BA.debugLineNum = 77070511;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 691;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"inser"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 692;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070512; + //BA.debugLineNum = 77070512;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"inser"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=77070513; + //BA.debugLineNum = 77070513;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }else { - //BA.debugLineNum = 694;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070515; + //BA.debugLineNum = 77070515;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 695;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070516; + //BA.debugLineNum = 77070516;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }; - //BA.debugLineNum = 697;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; +RDebugUtils.currentLine=77070518; + //BA.debugLineNum = 77070518;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 698;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CR"; +RDebugUtils.currentLine=77070519; + //BA.debugLineNum = 77070519;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CR"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 699;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77070520; + //BA.debugLineNum = 77070520;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 702;BA.debugLine="Log(\"aqui\")"; -__c.LogImpl("475104443","aqui",0); - //BA.debugLineNum = 703;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicke"; +RDebugUtils.currentLine=77070523; + //BA.debugLineNum = 77070523;BA.debugLine="Log(\"aqui\")"; +__c.LogImpl("077070523","aqui",0); +RDebugUtils.currentLine=77070524; + //BA.debugLineNum = 77070524;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicke"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); - //BA.debugLineNum = 704;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +RDebugUtils.currentLine=77070525; + //BA.debugLineNum = 77070525;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; _b4xpages._showpage /*String*/ (ba,"cliente"); - //BA.debugLineNum = 705;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, n"; +RDebugUtils.currentLine=77070526; + //BA.debugLineNum = 77070526;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, n"; __c.ToastMessageShow(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!"),__c.True); }; }; - }else if((_c.GetString("HABILITADA")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 709;BA.debugLine="If Not(Subs.revisaImpreso) Then"; + }else +{RDebugUtils.currentLine=77070529; + //BA.debugLineNum = 77070529;BA.debugLine="Else If c.GetString(\"HABILITADA\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADA")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=77070530; + //BA.debugLineNum = 77070530;BA.debugLine="If Not(Subs.revisaImpreso) Then"; if (__c.Not(_subs._revisaimpreso /*boolean*/ (ba))) { - //BA.debugLineNum = 710;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 711;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 712;BA.debugLine="Private X() As String = Regex.Split(\" \", Valu"; +RDebugUtils.currentLine=77070531; + //BA.debugLineNum = 77070531;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77070532; + //BA.debugLineNum = 77070532;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77070533; + //BA.debugLineNum = 77070533;BA.debugLine="Private X() As String = Regex.Split(\" \", Valu"; _x = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 713;BA.debugLine="Log(X)"; -__c.LogImpl("475104454",BA.ObjectToString(_x),0); - //BA.debugLineNum = 714;BA.debugLine="Log(X.Length)"; -__c.LogImpl("475104455",BA.NumberToString(_x.length),0); - //BA.debugLineNum = 715;BA.debugLine="Private nom As String = \"\""; +RDebugUtils.currentLine=77070534; + //BA.debugLineNum = 77070534;BA.debugLine="Log(X)"; +__c.LogImpl("077070534",BA.ObjectToString(_x),0); +RDebugUtils.currentLine=77070535; + //BA.debugLineNum = 77070535;BA.debugLine="Log(X.Length)"; +__c.LogImpl("077070535",BA.NumberToString(_x.length),0); +RDebugUtils.currentLine=77070536; + //BA.debugLineNum = 77070536;BA.debugLine="Private nom As String = \"\""; _nom = ""; - //BA.debugLineNum = 716;BA.debugLine="For i = 0 To X.Length -1"; +RDebugUtils.currentLine=77070537; + //BA.debugLineNum = 77070537;BA.debugLine="For i = 0 To X.Length -1"; { final int step169 = 1; final int limit169 = (int) (_x.length-1); _i = (int) (0) ; for (;_i <= limit169 ;_i = _i + step169 ) { - //BA.debugLineNum = 718;BA.debugLine="If X(i).Contains(CRLF) Then"; +RDebugUtils.currentLine=77070539; + //BA.debugLineNum = 77070539;BA.debugLine="If X(i).Contains(CRLF) Then"; if (_x[_i].contains(__c.CRLF)) { }; - //BA.debugLineNum = 721;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +RDebugUtils.currentLine=77070542; + //BA.debugLineNum = 77070542;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; if (__c.Not(_x[_i].contains(__c.CRLF))) { - //BA.debugLineNum = 722;BA.debugLine="nom = nom & \" \" & X(i)"; +RDebugUtils.currentLine=77070543; + //BA.debugLineNum = 77070543;BA.debugLine="nom = nom & \" \" & X(i)"; _nom = _nom+" "+_x[_i]; }else { - //BA.debugLineNum = 724;BA.debugLine="Exit"; +RDebugUtils.currentLine=77070545; + //BA.debugLineNum = 77070545;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 729;BA.debugLine="nom = nom.Trim"; +RDebugUtils.currentLine=77070550; + //BA.debugLineNum = 77070550;BA.debugLine="nom = nom.Trim"; _nom = _nom.trim(); - //BA.debugLineNum = 730;BA.debugLine="If X(X.Length-1) <> \".01\" Then"; +RDebugUtils.currentLine=77070551; + //BA.debugLineNum = 77070551;BA.debugLine="If X(X.Length-1) <> \".01\" Then"; if ((_x[(int) (_x.length-1)]).equals(".01") == false) { - //BA.debugLineNum = 731;BA.debugLine="Private cedis As String = X(X.Length-1)"; +RDebugUtils.currentLine=77070552; + //BA.debugLineNum = 77070552;BA.debugLine="Private cedis As String = X(X.Length-1)"; _cedis = _x[(int) (_x.length-1)]; }else { - //BA.debugLineNum = 733;BA.debugLine="Private cedis As String = (X(X.Length-2) &\""; +RDebugUtils.currentLine=77070554; + //BA.debugLineNum = 77070554;BA.debugLine="Private cedis As String = (X(X.Length-2) &\""; _cedis = (_x[(int) (_x.length-2)]+" "+_x[(int) (_x.length-1)]); }; - //BA.debugLineNum = 735;BA.debugLine="Log(nom)"; -__c.LogImpl("475104476",_nom,0); - //BA.debugLineNum = 736;BA.debugLine="Log(cedis)"; -__c.LogImpl("475104477",_cedis,0); - //BA.debugLineNum = 737;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 738;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; -__c.LogImpl("475104479",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); - //BA.debugLineNum = 739;BA.debugLine="Log(c.RowCount)"; -__c.LogImpl("475104480",BA.NumberToString(_c.getRowCount()),0); - //BA.debugLineNum = 740;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 750;BA.debugLine="If Not(IsNumber(cedis)) Then"; +RDebugUtils.currentLine=77070556; + //BA.debugLineNum = 77070556;BA.debugLine="Log(nom)"; +__c.LogImpl("077070556",_nom,0); +RDebugUtils.currentLine=77070557; + //BA.debugLineNum = 77070557;BA.debugLine="Log(cedis)"; +__c.LogImpl("077070557",_cedis,0); +RDebugUtils.currentLine=77070558; + //BA.debugLineNum = 77070558;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=77070559; + //BA.debugLineNum = 77070559;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; +__c.LogImpl("077070559",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); +RDebugUtils.currentLine=77070560; + //BA.debugLineNum = 77070560;BA.debugLine="Log(c.RowCount)"; +__c.LogImpl("077070560",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070561; + //BA.debugLineNum = 77070561;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070571; + //BA.debugLineNum = 77070571;BA.debugLine="If Not(IsNumber(cedis)) Then"; if (__c.Not(__c.IsNumber(_cedis))) { - //BA.debugLineNum = 751;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); - //BA.debugLineNum = 752;BA.debugLine="Log(j3.RowCount)"; -__c.LogImpl("475104493",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 753;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 754;BA.debugLine="Log(\"Soy promo\")"; -__c.LogImpl("475104495","Soy promo",0); - //BA.debugLineNum = 755;BA.debugLine="For j = 0 To j3.RowCount -1"; +RDebugUtils.currentLine=77070572; + //BA.debugLineNum = 77070572;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); +RDebugUtils.currentLine=77070573; + //BA.debugLineNum = 77070573;BA.debugLine="Log(j3.RowCount)"; +__c.LogImpl("077070573",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070574; + //BA.debugLineNum = 77070574;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77070575; + //BA.debugLineNum = 77070575;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("077070575","Soy promo",0); +RDebugUtils.currentLine=77070576; + //BA.debugLineNum = 77070576;BA.debugLine="For j = 0 To j3.RowCount -1"; { final int step195 = 1; -final int limit195 = (int) (_j3.getRowCount()-1); +final int limit195 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _j = (int) (0) ; for (;_j <= limit195 ;_j = _j + step195 ) { - //BA.debugLineNum = 756;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("475104497","aqui tronare?",0); - //BA.debugLineNum = 757;BA.debugLine="j3.Position = j"; -_j3.setPosition(_j); - //BA.debugLineNum = 759;BA.debugLine="If cedis <> \"DUR\" Then"; +RDebugUtils.currentLine=77070577; + //BA.debugLineNum = 77070577;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("077070577","aqui tronare?",0); +RDebugUtils.currentLine=77070578; + //BA.debugLineNum = 77070578;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=77070580; + //BA.debugLineNum = 77070580;BA.debugLine="If cedis <> \"DUR\" Then"; if ((_cedis).equals("DUR") == false) { - //BA.debugLineNum = 760;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 761;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"del"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 762;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; +RDebugUtils.currentLine=77070581; + //BA.debugLineNum = 77070581;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070582; + //BA.debugLineNum = 77070582;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"del"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070583; + //BA.debugLineNum = 77070583;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_foliu)})); }else { - //BA.debugLineNum = 764;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; +RDebugUtils.currentLine=77070585; + //BA.debugLineNum = 77070585;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"del"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_foliu)})); }; } }; }; - //BA.debugLineNum = 768;BA.debugLine="j3.Close"; -_j3.Close(); +RDebugUtils.currentLine=77070589; + //BA.debugLineNum = 77070589;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 770;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 771;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +RDebugUtils.currentLine=77070591; + //BA.debugLineNum = 77070591;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070592; + //BA.debugLineNum = 77070592;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_foliu)})); }; - //BA.debugLineNum = 773;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 775;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=77070594; + //BA.debugLineNum = 77070594;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77070596; + //BA.debugLineNum = 77070596;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 776;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 777;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 778;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 779;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 780;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 781;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 782;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 783;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 784;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 785;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 786;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 787;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070597; + //BA.debugLineNum = 77070597;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070598; + //BA.debugLineNum = 77070598;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070599; + //BA.debugLineNum = 77070599;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=77070600; + //BA.debugLineNum = 77070600;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070601; + //BA.debugLineNum = 77070601;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=77070602; + //BA.debugLineNum = 77070602;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=77070603; + //BA.debugLineNum = 77070603;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070604; + //BA.debugLineNum = 77070604;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77070605; + //BA.debugLineNum = 77070605;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=77070606; + //BA.debugLineNum = 77070606;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070607; + //BA.debugLineNum = 77070607;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=77070608; + //BA.debugLineNum = 77070608;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 788;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 789;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070609; + //BA.debugLineNum = 77070609;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=77070610; + //BA.debugLineNum = 77070610;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }else { - //BA.debugLineNum = 791;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070612; + //BA.debugLineNum = 77070612;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 792;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070613; + //BA.debugLineNum = 77070613;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }; - //BA.debugLineNum = 794;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77070615; + //BA.debugLineNum = 77070615;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 797;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +RDebugUtils.currentLine=77070618; + //BA.debugLineNum = 77070618;BA.debugLine="If Subs.traeAlmacen = 94 Then"; if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) { - //BA.debugLineNum = 798;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar es"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 799;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 800;BA.debugLine="Private X() As String = Regex.Split(\" \", Val"; +RDebugUtils.currentLine=77070619; + //BA.debugLineNum = 77070619;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar es"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77070620; + //BA.debugLineNum = 77070620;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77070621; + //BA.debugLineNum = 77070621;BA.debugLine="Private X() As String = Regex.Split(\" \", Val"; _x = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 801;BA.debugLine="Log(X)"; -__c.LogImpl("475104542",BA.ObjectToString(_x),0); - //BA.debugLineNum = 802;BA.debugLine="Log(X.Length)"; -__c.LogImpl("475104543",BA.NumberToString(_x.length),0); - //BA.debugLineNum = 803;BA.debugLine="Private nom As String = \"\""; +RDebugUtils.currentLine=77070622; + //BA.debugLineNum = 77070622;BA.debugLine="Log(X)"; +__c.LogImpl("077070622",BA.ObjectToString(_x),0); +RDebugUtils.currentLine=77070623; + //BA.debugLineNum = 77070623;BA.debugLine="Log(X.Length)"; +__c.LogImpl("077070623",BA.NumberToString(_x.length),0); +RDebugUtils.currentLine=77070624; + //BA.debugLineNum = 77070624;BA.debugLine="Private nom As String = \"\""; _nom = ""; - //BA.debugLineNum = 804;BA.debugLine="For i = 0 To X.Length -1"; +RDebugUtils.currentLine=77070625; + //BA.debugLineNum = 77070625;BA.debugLine="For i = 0 To X.Length -1"; { final int step242 = 1; final int limit242 = (int) (_x.length-1); _i = (int) (0) ; for (;_i <= limit242 ;_i = _i + step242 ) { - //BA.debugLineNum = 806;BA.debugLine="If X(i).Contains(CRLF) Then"; +RDebugUtils.currentLine=77070627; + //BA.debugLineNum = 77070627;BA.debugLine="If X(i).Contains(CRLF) Then"; if (_x[_i].contains(__c.CRLF)) { }; - //BA.debugLineNum = 809;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +RDebugUtils.currentLine=77070630; + //BA.debugLineNum = 77070630;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; if (__c.Not(_x[_i].contains(__c.CRLF))) { - //BA.debugLineNum = 810;BA.debugLine="nom = nom & \" \" & X(i)"; +RDebugUtils.currentLine=77070631; + //BA.debugLineNum = 77070631;BA.debugLine="nom = nom & \" \" & X(i)"; _nom = _nom+" "+_x[_i]; }else { - //BA.debugLineNum = 812;BA.debugLine="Exit"; +RDebugUtils.currentLine=77070633; + //BA.debugLineNum = 77070633;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 817;BA.debugLine="nom = nom.Trim"; +RDebugUtils.currentLine=77070638; + //BA.debugLineNum = 77070638;BA.debugLine="nom = nom.Trim"; _nom = _nom.trim(); - //BA.debugLineNum = 818;BA.debugLine="If X(X.Length-1) <> \".01\" Then"; +RDebugUtils.currentLine=77070639; + //BA.debugLineNum = 77070639;BA.debugLine="If X(X.Length-1) <> \".01\" Then"; if ((_x[(int) (_x.length-1)]).equals(".01") == false) { - //BA.debugLineNum = 819;BA.debugLine="Private cedis As String = X(X.Length-1)"; +RDebugUtils.currentLine=77070640; + //BA.debugLineNum = 77070640;BA.debugLine="Private cedis As String = X(X.Length-1)"; _cedis = _x[(int) (_x.length-1)]; }else { - //BA.debugLineNum = 821;BA.debugLine="Private cedis As String = (X(X.Length-2) &\""; +RDebugUtils.currentLine=77070642; + //BA.debugLineNum = 77070642;BA.debugLine="Private cedis As String = (X(X.Length-2) &\""; _cedis = (_x[(int) (_x.length-2)]+" "+_x[(int) (_x.length-1)]); }; - //BA.debugLineNum = 823;BA.debugLine="Log(nom)"; -__c.LogImpl("475104564",_nom,0); - //BA.debugLineNum = 824;BA.debugLine="Log(cedis)"; -__c.LogImpl("475104565",_cedis,0); - //BA.debugLineNum = 825;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 826;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_"; -__c.LogImpl("475104567",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); - //BA.debugLineNum = 827;BA.debugLine="Log(c.RowCount)"; -__c.LogImpl("475104568",BA.NumberToString(_c.getRowCount()),0); - //BA.debugLineNum = 828;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 838;BA.debugLine="If Not(IsNumber(cedis)) Then"; +RDebugUtils.currentLine=77070644; + //BA.debugLineNum = 77070644;BA.debugLine="Log(nom)"; +__c.LogImpl("077070644",_nom,0); +RDebugUtils.currentLine=77070645; + //BA.debugLineNum = 77070645;BA.debugLine="Log(cedis)"; +__c.LogImpl("077070645",_cedis,0); +RDebugUtils.currentLine=77070646; + //BA.debugLineNum = 77070646;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=77070647; + //BA.debugLineNum = 77070647;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_"; +__c.LogImpl("077070647",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); +RDebugUtils.currentLine=77070648; + //BA.debugLineNum = 77070648;BA.debugLine="Log(c.RowCount)"; +__c.LogImpl("077070648",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070649; + //BA.debugLineNum = 77070649;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070659; + //BA.debugLineNum = 77070659;BA.debugLine="If Not(IsNumber(cedis)) Then"; if (__c.Not(__c.IsNumber(_cedis))) { - //BA.debugLineNum = 839;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SEL"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); - //BA.debugLineNum = 840;BA.debugLine="Log(j3.RowCount)"; -__c.LogImpl("475104581",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 841;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 842;BA.debugLine="Log(\"Soy promo\")"; -__c.LogImpl("475104583","Soy promo",0); - //BA.debugLineNum = 843;BA.debugLine="For j = 0 To j3.RowCount -1"; +RDebugUtils.currentLine=77070660; + //BA.debugLineNum = 77070660;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SEL"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); +RDebugUtils.currentLine=77070661; + //BA.debugLineNum = 77070661;BA.debugLine="Log(j3.RowCount)"; +__c.LogImpl("077070661",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070662; + //BA.debugLineNum = 77070662;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77070663; + //BA.debugLineNum = 77070663;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("077070663","Soy promo",0); +RDebugUtils.currentLine=77070664; + //BA.debugLineNum = 77070664;BA.debugLine="For j = 0 To j3.RowCount -1"; { final int step268 = 1; -final int limit268 = (int) (_j3.getRowCount()-1); +final int limit268 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _j = (int) (0) ; for (;_j <= limit268 ;_j = _j + step268 ) { - //BA.debugLineNum = 844;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("475104585","aqui tronare?",0); - //BA.debugLineNum = 845;BA.debugLine="j3.Position = j"; -_j3.setPosition(_j); - //BA.debugLineNum = 847;BA.debugLine="If cedis <> \"DUR\" Then"; +RDebugUtils.currentLine=77070665; + //BA.debugLineNum = 77070665;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("077070665","aqui tronare?",0); +RDebugUtils.currentLine=77070666; + //BA.debugLineNum = 77070666;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=77070668; + //BA.debugLineNum = 77070668;BA.debugLine="If cedis <> \"DUR\" Then"; if ((_cedis).equals("DUR") == false) { - //BA.debugLineNum = 848;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"up"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 849;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"de"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 850;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; +RDebugUtils.currentLine=77070669; + //BA.debugLineNum = 77070669;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"up"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070670; + //BA.debugLineNum = 77070670;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"de"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070671; + //BA.debugLineNum = 77070671;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_foliu)})); }else { - //BA.debugLineNum = 852;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; +RDebugUtils.currentLine=77070673; + //BA.debugLineNum = 77070673;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"de"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis= ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_foliu)})); }; } }; }; - //BA.debugLineNum = 856;BA.debugLine="j3.Close"; -_j3.Close(); +RDebugUtils.currentLine=77070677; + //BA.debugLineNum = 77070677;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 858;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 859;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delet"; +RDebugUtils.currentLine=77070679; + //BA.debugLineNum = 77070679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070680; + //BA.debugLineNum = 77070680;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delet"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_foliu)})); }; - //BA.debugLineNum = 861;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 863;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=77070682; + //BA.debugLineNum = 77070682;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77070684; + //BA.debugLineNum = 77070684;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 864;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 865;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 866;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 867;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 868;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 869;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select U"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 870;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 871;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 872;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select s"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 873;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 874;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 875;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070685; + //BA.debugLineNum = 77070685;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070686; + //BA.debugLineNum = 77070686;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070687; + //BA.debugLineNum = 77070687;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=77070688; + //BA.debugLineNum = 77070688;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070689; + //BA.debugLineNum = 77070689;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=77070690; + //BA.debugLineNum = 77070690;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select U"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=77070691; + //BA.debugLineNum = 77070691;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070692; + //BA.debugLineNum = 77070692;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77070693; + //BA.debugLineNum = 77070693;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select s"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=77070694; + //BA.debugLineNum = 77070694;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070695; + //BA.debugLineNum = 77070695;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=77070696; + //BA.debugLineNum = 77070696;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 876;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"inser"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 877;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070697; + //BA.debugLineNum = 77070697;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"inser"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=77070698; + //BA.debugLineNum = 77070698;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }else { - //BA.debugLineNum = 879;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070700; + //BA.debugLineNum = 77070700;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 880;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070701; + //BA.debugLineNum = 77070701;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }; - //BA.debugLineNum = 882;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; +RDebugUtils.currentLine=77070703; + //BA.debugLineNum = 77070703;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 883;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CR"; +RDebugUtils.currentLine=77070704; + //BA.debugLineNum = 77070704;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CR"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 884;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77070705; + //BA.debugLineNum = 77070705;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 887;BA.debugLine="Log(\"aqui\")"; -__c.LogImpl("475104628","aqui",0); - //BA.debugLineNum = 888;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicke"; +RDebugUtils.currentLine=77070708; + //BA.debugLineNum = 77070708;BA.debugLine="Log(\"aqui\")"; +__c.LogImpl("077070708","aqui",0); +RDebugUtils.currentLine=77070709; + //BA.debugLineNum = 77070709;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicke"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); - //BA.debugLineNum = 889;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +RDebugUtils.currentLine=77070710; + //BA.debugLineNum = 77070710;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; _b4xpages._showpage /*String*/ (ba,"cliente"); - //BA.debugLineNum = 890;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, n"; +RDebugUtils.currentLine=77070711; + //BA.debugLineNum = 77070711;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, n"; __c.ToastMessageShow(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!"),__c.True); }; }; - }; - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 895;BA.debugLine="If Not(Subs.revisaImpreso) Then"; + }} +; + }else +{RDebugUtils.currentLine=77070715; + //BA.debugLineNum = 77070715;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=77070716; + //BA.debugLineNum = 77070716;BA.debugLine="If Not(Subs.revisaImpreso) Then"; if (__c.Not(_subs._revisaimpreso /*boolean*/ (ba))) { - //BA.debugLineNum = 896;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 897;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 898;BA.debugLine="Private X() As String = Regex.Split(\" \", Value"; +RDebugUtils.currentLine=77070717; + //BA.debugLineNum = 77070717;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77070718; + //BA.debugLineNum = 77070718;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77070719; + //BA.debugLineNum = 77070719;BA.debugLine="Private X() As String = Regex.Split(\" \", Value"; _x = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 899;BA.debugLine="Log(X)"; -__c.LogImpl("475104640",BA.ObjectToString(_x),0); - //BA.debugLineNum = 900;BA.debugLine="Log(X.Length)"; -__c.LogImpl("475104641",BA.NumberToString(_x.length),0); - //BA.debugLineNum = 901;BA.debugLine="Private nom As String = \"\""; +RDebugUtils.currentLine=77070720; + //BA.debugLineNum = 77070720;BA.debugLine="Log(X)"; +__c.LogImpl("077070720",BA.ObjectToString(_x),0); +RDebugUtils.currentLine=77070721; + //BA.debugLineNum = 77070721;BA.debugLine="Log(X.Length)"; +__c.LogImpl("077070721",BA.NumberToString(_x.length),0); +RDebugUtils.currentLine=77070722; + //BA.debugLineNum = 77070722;BA.debugLine="Private nom As String = \"\""; _nom = ""; - //BA.debugLineNum = 902;BA.debugLine="For i = 0 To X.Length -1"; +RDebugUtils.currentLine=77070723; + //BA.debugLineNum = 77070723;BA.debugLine="For i = 0 To X.Length -1"; { final int step325 = 1; final int limit325 = (int) (_x.length-1); _i = (int) (0) ; for (;_i <= limit325 ;_i = _i + step325 ) { - //BA.debugLineNum = 904;BA.debugLine="If X(i).Contains(CRLF) Then"; +RDebugUtils.currentLine=77070725; + //BA.debugLineNum = 77070725;BA.debugLine="If X(i).Contains(CRLF) Then"; if (_x[_i].contains(__c.CRLF)) { }; - //BA.debugLineNum = 907;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +RDebugUtils.currentLine=77070728; + //BA.debugLineNum = 77070728;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; if (__c.Not(_x[_i].contains(__c.CRLF))) { - //BA.debugLineNum = 908;BA.debugLine="nom = nom & \" \" & X(i)"; +RDebugUtils.currentLine=77070729; + //BA.debugLineNum = 77070729;BA.debugLine="nom = nom & \" \" & X(i)"; _nom = _nom+" "+_x[_i]; }else { - //BA.debugLineNum = 910;BA.debugLine="Exit"; +RDebugUtils.currentLine=77070731; + //BA.debugLineNum = 77070731;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 915;BA.debugLine="nom = nom.Trim"; +RDebugUtils.currentLine=77070736; + //BA.debugLineNum = 77070736;BA.debugLine="nom = nom.Trim"; _nom = _nom.trim(); - //BA.debugLineNum = 916;BA.debugLine="Private cedis As String = X(X.Length-1)"; +RDebugUtils.currentLine=77070737; + //BA.debugLineNum = 77070737;BA.debugLine="Private cedis As String = X(X.Length-1)"; _cedis = _x[(int) (_x.length-1)]; - //BA.debugLineNum = 917;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 918;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_CE"; -__c.LogImpl("475104659",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); - //BA.debugLineNum = 919;BA.debugLine="Log(c.RowCount)"; -__c.LogImpl("475104660",BA.NumberToString(_c.getRowCount()),0); - //BA.debugLineNum = 920;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 923;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); - //BA.debugLineNum = 930;BA.debugLine="If Not(IsNumber(cedis)) Then"; +RDebugUtils.currentLine=77070738; + //BA.debugLineNum = 77070738;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=77070739; + //BA.debugLineNum = 77070739;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_CE"; +__c.LogImpl("077070739",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); +RDebugUtils.currentLine=77070740; + //BA.debugLineNum = 77070740;BA.debugLine="Log(c.RowCount)"; +__c.LogImpl("077070740",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070741; + //BA.debugLineNum = 77070741;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070744; + //BA.debugLineNum = 77070744;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*-1)})); +RDebugUtils.currentLine=77070751; + //BA.debugLineNum = 77070751;BA.debugLine="If Not(IsNumber(cedis)) Then"; if (__c.Not(__c.IsNumber(_cedis))) { - //BA.debugLineNum = 931;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELEC"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); - //BA.debugLineNum = 932;BA.debugLine="Log(j3.RowCount)"; -__c.LogImpl("475104673",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 933;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 934;BA.debugLine="Log(\"Soy promo\")"; -__c.LogImpl("475104675","Soy promo",0); - //BA.debugLineNum = 935;BA.debugLine="For j = 0 To j3.RowCount -1"; +RDebugUtils.currentLine=77070752; + //BA.debugLineNum = 77070752;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELEC"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); +RDebugUtils.currentLine=77070753; + //BA.debugLineNum = 77070753;BA.debugLine="Log(j3.RowCount)"; +__c.LogImpl("077070753",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070754; + //BA.debugLineNum = 77070754;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77070755; + //BA.debugLineNum = 77070755;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("077070755","Soy promo",0); +RDebugUtils.currentLine=77070756; + //BA.debugLineNum = 77070756;BA.debugLine="For j = 0 To j3.RowCount -1"; { final int step346 = 1; -final int limit346 = (int) (_j3.getRowCount()-1); +final int limit346 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _j = (int) (0) ; for (;_j <= limit346 ;_j = _j + step346 ) { - //BA.debugLineNum = 936;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("475104677","aqui tronare?",0); - //BA.debugLineNum = 937;BA.debugLine="j3.Position = j"; -_j3.setPosition(_j); - //BA.debugLineNum = 938;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 939;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delet"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070757; + //BA.debugLineNum = 77070757;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("077070757","aqui tronare?",0); +RDebugUtils.currentLine=77070758; + //BA.debugLineNum = 77070758;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=77070759; + //BA.debugLineNum = 77070759;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070760; + //BA.debugLineNum = 77070760;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delet"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); } }; }; - //BA.debugLineNum = 943;BA.debugLine="j3.Close"; -_j3.Close(); +RDebugUtils.currentLine=77070764; + //BA.debugLineNum = 77070764;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 945;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 946;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +RDebugUtils.currentLine=77070766; + //BA.debugLineNum = 77070766;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070767; + //BA.debugLineNum = 77070767;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_foliu)})); }; - //BA.debugLineNum = 948;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 950;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=77070769; + //BA.debugLineNum = 77070769;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77070771; + //BA.debugLineNum = 77070771;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 951;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 952;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 953;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 954;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 955;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 956;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 957;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 958;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 959;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 960;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 961;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 962;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +RDebugUtils.currentLine=77070772; + //BA.debugLineNum = 77070772;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070773; + //BA.debugLineNum = 77070773;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070774; + //BA.debugLineNum = 77070774;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=77070775; + //BA.debugLineNum = 77070775;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070776; + //BA.debugLineNum = 77070776;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=77070777; + //BA.debugLineNum = 77070777;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=77070778; + //BA.debugLineNum = 77070778;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070779; + //BA.debugLineNum = 77070779;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77070780; + //BA.debugLineNum = 77070780;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=77070781; + //BA.debugLineNum = 77070781;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070782; + //BA.debugLineNum = 77070782;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=77070783; + //BA.debugLineNum = 77070783;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 963;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 964;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; +RDebugUtils.currentLine=77070784; + //BA.debugLineNum = 77070784;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=77070785; + //BA.debugLineNum = 77070785;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }else { - //BA.debugLineNum = 966;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +RDebugUtils.currentLine=77070787; + //BA.debugLineNum = 77070787;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 967;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; +RDebugUtils.currentLine=77070788; + //BA.debugLineNum = 77070788;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE k"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }; - //BA.debugLineNum = 969;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77070790; + //BA.debugLineNum = 77070790;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 972;BA.debugLine="If Subs.traeAlmacen = 94 Then"; +RDebugUtils.currentLine=77070793; + //BA.debugLineNum = 77070793;BA.debugLine="If Subs.traeAlmacen = 94 Then"; if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) { - //BA.debugLineNum = 973;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 974;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 975;BA.debugLine="Private X() As String = Regex.Split(\" \", Valu"; +RDebugUtils.currentLine=77070794; + //BA.debugLineNum = 77070794;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar est"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=77070795; + //BA.debugLineNum = 77070795;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=77070796; + //BA.debugLineNum = 77070796;BA.debugLine="Private X() As String = Regex.Split(\" \", Valu"; _x = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 976;BA.debugLine="Log(X)"; -__c.LogImpl("475104717",BA.ObjectToString(_x),0); - //BA.debugLineNum = 977;BA.debugLine="Log(X.Length)"; -__c.LogImpl("475104718",BA.NumberToString(_x.length),0); - //BA.debugLineNum = 978;BA.debugLine="Private nom As String = \"\""; +RDebugUtils.currentLine=77070797; + //BA.debugLineNum = 77070797;BA.debugLine="Log(X)"; +__c.LogImpl("077070797",BA.ObjectToString(_x),0); +RDebugUtils.currentLine=77070798; + //BA.debugLineNum = 77070798;BA.debugLine="Log(X.Length)"; +__c.LogImpl("077070798",BA.NumberToString(_x.length),0); +RDebugUtils.currentLine=77070799; + //BA.debugLineNum = 77070799;BA.debugLine="Private nom As String = \"\""; _nom = ""; - //BA.debugLineNum = 979;BA.debugLine="For i = 0 To X.Length -1"; +RDebugUtils.currentLine=77070800; + //BA.debugLineNum = 77070800;BA.debugLine="For i = 0 To X.Length -1"; { final int step388 = 1; final int limit388 = (int) (_x.length-1); _i = (int) (0) ; for (;_i <= limit388 ;_i = _i + step388 ) { - //BA.debugLineNum = 981;BA.debugLine="If X(i).Contains(CRLF) Then"; +RDebugUtils.currentLine=77070802; + //BA.debugLineNum = 77070802;BA.debugLine="If X(i).Contains(CRLF) Then"; if (_x[_i].contains(__c.CRLF)) { }; - //BA.debugLineNum = 984;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +RDebugUtils.currentLine=77070805; + //BA.debugLineNum = 77070805;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; if (__c.Not(_x[_i].contains(__c.CRLF))) { - //BA.debugLineNum = 985;BA.debugLine="nom = nom & \" \" & X(i)"; +RDebugUtils.currentLine=77070806; + //BA.debugLineNum = 77070806;BA.debugLine="nom = nom & \" \" & X(i)"; _nom = _nom+" "+_x[_i]; }else { - //BA.debugLineNum = 987;BA.debugLine="Exit"; +RDebugUtils.currentLine=77070808; + //BA.debugLineNum = 77070808;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 992;BA.debugLine="nom = nom.Trim"; +RDebugUtils.currentLine=77070813; + //BA.debugLineNum = 77070813;BA.debugLine="nom = nom.Trim"; _nom = _nom.trim(); - //BA.debugLineNum = 993;BA.debugLine="Private cedis As String = X(X.Length-1)"; +RDebugUtils.currentLine=77070814; + //BA.debugLineNum = 77070814;BA.debugLine="Private cedis As String = X(X.Length-1)"; _cedis = _x[(int) (_x.length-1)]; - //BA.debugLineNum = 994;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 995;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; -__c.LogImpl("475104736",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); - //BA.debugLineNum = 996;BA.debugLine="Log(c.RowCount)"; -__c.LogImpl("475104737",BA.NumberToString(_c.getRowCount()),0); - //BA.debugLineNum = 997;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1000;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); - //BA.debugLineNum = 1007;BA.debugLine="If Not(IsNumber(cedis)) Then"; +RDebugUtils.currentLine=77070815; + //BA.debugLineNum = 77070815;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=77070816; + //BA.debugLineNum = 77070816;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C"; +__c.LogImpl("077070816",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); +RDebugUtils.currentLine=77070817; + //BA.debugLineNum = 77070817;BA.debugLine="Log(c.RowCount)"; +__c.LogImpl("077070817",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070818; + //BA.debugLineNum = 77070818;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070821; + //BA.debugLineNum = 77070821;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*-1)})); +RDebugUtils.currentLine=77070828; + //BA.debugLineNum = 77070828;BA.debugLine="If Not(IsNumber(cedis)) Then"; if (__c.Not(__c.IsNumber(_cedis))) { - //BA.debugLineNum = 1008;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); - //BA.debugLineNum = 1009;BA.debugLine="Log(j3.RowCount)"; -__c.LogImpl("475104750",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 1010;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 1011;BA.debugLine="Log(\"Soy promo\")"; -__c.LogImpl("475104752","Soy promo",0); - //BA.debugLineNum = 1012;BA.debugLine="For j = 0 To j3.RowCount -1"; +RDebugUtils.currentLine=77070829; + //BA.debugLineNum = 77070829;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); +RDebugUtils.currentLine=77070830; + //BA.debugLineNum = 77070830;BA.debugLine="Log(j3.RowCount)"; +__c.LogImpl("077070830",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=77070831; + //BA.debugLineNum = 77070831;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77070832; + //BA.debugLineNum = 77070832;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("077070832","Soy promo",0); +RDebugUtils.currentLine=77070833; + //BA.debugLineNum = 77070833;BA.debugLine="For j = 0 To j3.RowCount -1"; { final int step409 = 1; -final int limit409 = (int) (_j3.getRowCount()-1); +final int limit409 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _j = (int) (0) ; for (;_j <= limit409 ;_j = _j + step409 ) { - //BA.debugLineNum = 1013;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("475104754","aqui tronare?",0); - //BA.debugLineNum = 1014;BA.debugLine="j3.Position = j"; -_j3.setPosition(_j); - //BA.debugLineNum = 1015;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upda"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 1016;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"dele"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070834; + //BA.debugLineNum = 77070834;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("077070834","aqui tronare?",0); +RDebugUtils.currentLine=77070835; + //BA.debugLineNum = 77070835;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=77070836; + //BA.debugLineNum = 77070836;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upda"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070837; + //BA.debugLineNum = 77070837;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"dele"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); } }; }; - //BA.debugLineNum = 1020;BA.debugLine="j3.Close"; -_j3.Close(); +RDebugUtils.currentLine=77070841; + //BA.debugLineNum = 77070841;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 1022;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 1023;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +RDebugUtils.currentLine=77070843; + //BA.debugLineNum = 77070843;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=77070844; + //BA.debugLineNum = 77070844;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_foliu)})); }; - //BA.debugLineNum = 1025;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1027;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=77070846; + //BA.debugLineNum = 77070846;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77070848; + //BA.debugLineNum = 77070848;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1028;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1029;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1030;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 1031;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1032;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 1033;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 1034;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1035;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1036;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1037;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1038;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 1039;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070849; + //BA.debugLineNum = 77070849;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070850; + //BA.debugLineNum = 77070850;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77070851; + //BA.debugLineNum = 77070851;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=77070852; + //BA.debugLineNum = 77070852;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070853; + //BA.debugLineNum = 77070853;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=77070854; + //BA.debugLineNum = 77070854;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=77070855; + //BA.debugLineNum = 77070855;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070856; + //BA.debugLineNum = 77070856;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77070857; + //BA.debugLineNum = 77070857;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select su"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=77070858; + //BA.debugLineNum = 77070858;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77070859; + //BA.debugLineNum = 77070859;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=77070860; + //BA.debugLineNum = 77070860;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1040;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 1041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070861; + //BA.debugLineNum = 77070861;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=77070862; + //BA.debugLineNum = 77070862;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }else { - //BA.debugLineNum = 1043;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; +RDebugUtils.currentLine=77070864; + //BA.debugLineNum = 77070864;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1044;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; +RDebugUtils.currentLine=77070865; + //BA.debugLineNum = 77070865;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }; - //BA.debugLineNum = 1046;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; +RDebugUtils.currentLine=77070867; + //BA.debugLineNum = 77070867;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 1047;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE"; +RDebugUtils.currentLine=77070868; + //BA.debugLineNum = 77070868;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 1048;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=77070869; + //BA.debugLineNum = 77070869;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; }else { - //BA.debugLineNum = 1051;BA.debugLine="Log(\"aqui\")"; -__c.LogImpl("475104792","aqui",0); - //BA.debugLineNum = 1052;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicket"; +RDebugUtils.currentLine=77070872; + //BA.debugLineNum = 77070872;BA.debugLine="Log(\"aqui\")"; +__c.LogImpl("077070872","aqui",0); +RDebugUtils.currentLine=77070873; + //BA.debugLineNum = 77070873;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicket"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); - //BA.debugLineNum = 1053;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +RDebugUtils.currentLine=77070874; + //BA.debugLineNum = 77070874;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; _b4xpages._showpage /*String*/ (ba,"cliente"); - //BA.debugLineNum = 1054;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, no"; +RDebugUtils.currentLine=77070875; + //BA.debugLineNum = 77070875;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, no"; __c.ToastMessageShow(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!"),__c.True); }; }; - }; - //BA.debugLineNum = 1058;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=77070879; + //BA.debugLineNum = 77070879;BA.debugLine="End Sub"; return ""; } -public String _p_nota_click() throws Exception{ - //BA.debugLineNum = 1108;BA.debugLine="Private Sub p_nota_Click"; - //BA.debugLineNum = 1110;BA.debugLine="End Sub"; +public String _p_nota_click(gunav2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "p_nota_click", false)) + {return ((String) Debug.delegate(ba, "p_nota_click", null));} +RDebugUtils.currentLine=77201408; + //BA.debugLineNum = 77201408;BA.debugLine="Private Sub p_nota_Click"; +RDebugUtils.currentLine=77201410; + //BA.debugLineNum = 77201410;BA.debugLine="End Sub"; return ""; } -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 402;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 403;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +public String _regresar_click(gunav2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=76873728; + //BA.debugLineNum = 76873728;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=76873729; + //BA.debugLineNum = 76873729;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 404;BA.debugLine="End Sub"; +RDebugUtils.currentLine=76873730; + //BA.debugLineNum = 76873730;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_noventa.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_noventa.java index 28369e8..c01cd3b 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_noventa.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_noventa.java @@ -10,7 +10,7 @@ public class c_noventa extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_noventa"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_noventa"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_noventa extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -55,242 +62,366 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 56;BA.debugLine="Panel1.Height = Root.Height"; -_panel1.setHeight(_root.getHeight()); - //BA.debugLineNum = 57;BA.debugLine="Panel1.Width = Root.Width"; -_panel1.setWidth(_root.getWidth()); - //BA.debugLineNum = 58;BA.debugLine="Subs.centraPanel(Panel1, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_panel1,_root.getWidth()); - //BA.debugLineNum = 59;BA.debugLine="Subs.centraPanelV(Panel1, Root.Height)"; -_subs._centrapanelv /*String*/ (ba,_panel1,_root.getHeight()); - //BA.debugLineNum = 60;BA.debugLine="e_comm.Text=\"\""; -_e_comm.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 61;BA.debugLine="tgl.Initialize"; -_tgl.Initialize(ba); - //BA.debugLineNum = 62;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +public Object _initialize(gunav2.keymon.com.mx.c_noventa __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=65208320; + //BA.debugLineNum = 65208320;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=65208321; + //BA.debugLineNum = 65208321;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=65208322; + //BA.debugLineNum = 65208322;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_appear(gunav2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +RDebugUtils.currentLine=65339392; + //BA.debugLineNum = 65339392;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=65339393; + //BA.debugLineNum = 65339393;BA.debugLine="Panel1.Height = Root.Height"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=65339394; + //BA.debugLineNum = 65339394;BA.debugLine="Panel1.Width = Root.Width"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=65339395; + //BA.debugLineNum = 65339395;BA.debugLine="Subs.centraPanel(Panel1, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=65339396; + //BA.debugLineNum = 65339396;BA.debugLine="Subs.centraPanelV(Panel1, Root.Height)"; +_subs._centrapanelv /*String*/ (ba,__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=65339397; + //BA.debugLineNum = 65339397;BA.debugLine="e_comm.Text=\"\""; +__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=65339398; + //BA.debugLineNum = 65339398;BA.debugLine="tgl.Initialize"; +__ref._tgl /*com.rootsoft.togglelibrary.ToggleLibrary*/ .Initialize(ba); +RDebugUtils.currentLine=65339399; + //BA.debugLineNum = 65339399;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 63;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +RDebugUtils.currentLine=65339400; + //BA.debugLineNum = 65339400;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; __c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 64;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +RDebugUtils.currentLine=65339401; + //BA.debugLineNum = 65339401;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; __c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); }; - //BA.debugLineNum = 66;BA.debugLine="r_1.Checked = False"; -_r_1.setChecked(__c.False); - //BA.debugLineNum = 67;BA.debugLine="r_2.Checked = False"; -_r_2.setChecked(__c.False); - //BA.debugLineNum = 68;BA.debugLine="r_3.Checked = False"; -_r_3.setChecked(__c.False); - //BA.debugLineNum = 69;BA.debugLine="r_4.Checked = False"; -_r_4.setChecked(__c.False); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65339403; + //BA.debugLineNum = 65339403;BA.debugLine="r_1.Checked = False"; +__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=65339404; + //BA.debugLineNum = 65339404;BA.debugLine="r_2.Checked = False"; +__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=65339405; + //BA.debugLineNum = 65339405;BA.debugLine="r_3.Checked = False"; +__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=65339406; + //BA.debugLineNum = 65339406;BA.debugLine="r_4.Checked = False"; +__ref._r_4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=65339407; + //BA.debugLineNum = 65339407;BA.debugLine="End Sub"; return ""; } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 39;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 40;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 42;BA.debugLine="Root.LoadLayout(\"noventa\")"; -_root.LoadLayout("noventa",ba); - //BA.debugLineNum = 44;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 46;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 47;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); +public String _b4xpage_created(gunav2.keymon.com.mx.c_noventa __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=65273856; + //BA.debugLineNum = 65273856;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=65273857; + //BA.debugLineNum = 65273857;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=65273859; + //BA.debugLineNum = 65273859;BA.debugLine="Root.LoadLayout(\"noventa\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("noventa",ba); +RDebugUtils.currentLine=65273861; + //BA.debugLineNum = 65273861;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=65273863; + //BA.debugLineNum = 65273863;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=65273864; + //BA.debugLineNum = 65273864;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); }; - //BA.debugLineNum = 50;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; -_bitacora._initialize /*Object*/ (ba,(Object)("bitacora"),"bitacora",_root,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ); - //BA.debugLineNum = 51;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65273867; + //BA.debugLineNum = 65273867;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._initialize /*Object*/ (null,ba,(Object)("bitacora"),"bitacora",__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ); +RDebugUtils.currentLine=65273868; + //BA.debugLineNum = 65273868;BA.debugLine="End Sub"; return ""; } -public String _cancela_click() throws Exception{ - //BA.debugLineNum = 77;BA.debugLine="Sub CANCELA_Click"; - //BA.debugLineNum = 78;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +public String _cancela_click(gunav2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "cancela_click", false)) + {return ((String) Debug.delegate(ba, "cancela_click", null));} +RDebugUtils.currentLine=65470464; + //BA.debugLineNum = 65470464;BA.debugLine="Sub CANCELA_Click"; +RDebugUtils.currentLine=65470465; + //BA.debugLineNum = 65470465;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 79;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65470466; + //BA.debugLineNum = 65470466;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +RDebugUtils.currentLine=65142784; + //BA.debugLineNum = 65142784;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=65142785; + //BA.debugLineNum = 65142785;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=65142786; + //BA.debugLineNum = 65142786;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=65142788; + //BA.debugLineNum = 65142788;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=65142789; + //BA.debugLineNum = 65142789;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +RDebugUtils.currentLine=65142790; + //BA.debugLineNum = 65142790;BA.debugLine="Dim skmt As SQL"; _skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=65142791; + //BA.debugLineNum = 65142791;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim CANCELA As Button"; +RDebugUtils.currentLine=65142793; + //BA.debugLineNum = 65142793;BA.debugLine="Dim CANCELA As Button"; _cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim GUARDA As Button"; +RDebugUtils.currentLine=65142794; + //BA.debugLineNum = 65142794;BA.debugLine="Dim GUARDA As Button"; _guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim r_1 As RadioButton"; +RDebugUtils.currentLine=65142795; + //BA.debugLineNum = 65142795;BA.debugLine="Dim r_1 As RadioButton"; _r_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim r_2 As RadioButton"; +RDebugUtils.currentLine=65142796; + //BA.debugLineNum = 65142796;BA.debugLine="Dim r_2 As RadioButton"; _r_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim r_3 As RadioButton"; +RDebugUtils.currentLine=65142797; + //BA.debugLineNum = 65142797;BA.debugLine="Dim r_3 As RadioButton"; _r_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim e_comm As EditText"; +RDebugUtils.currentLine=65142798; + //BA.debugLineNum = 65142798;BA.debugLine="Dim e_comm As EditText"; _e_comm = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim motivo As String"; +RDebugUtils.currentLine=65142799; + //BA.debugLineNum = 65142799;BA.debugLine="Dim motivo As String"; _motivo = ""; - //BA.debugLineNum = 17;BA.debugLine="Dim cuenta As String"; +RDebugUtils.currentLine=65142800; + //BA.debugLineNum = 65142800;BA.debugLine="Dim cuenta As String"; _cuenta = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=65142801; + //BA.debugLineNum = 65142801;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=65142802; + //BA.debugLineNum = 65142802;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 21;BA.debugLine="Dim tgl As Toggle"; +RDebugUtils.currentLine=65142804; + //BA.debugLineNum = 65142804;BA.debugLine="Dim tgl As Toggle"; _tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 22;BA.debugLine="Dim r_4 As RadioButton"; +RDebugUtils.currentLine=65142805; + //BA.debugLineNum = 65142805;BA.debugLine="Dim r_4 As RadioButton"; _r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private stay_hh As String"; +RDebugUtils.currentLine=65142807; + //BA.debugLineNum = 65142807;BA.debugLine="Private stay_hh As String"; _stay_hh = ""; - //BA.debugLineNum = 25;BA.debugLine="Private stay_mi As String"; +RDebugUtils.currentLine=65142808; + //BA.debugLineNum = 65142808;BA.debugLine="Private stay_mi As String"; _stay_mi = ""; - //BA.debugLineNum = 26;BA.debugLine="Private stay_ss As String"; +RDebugUtils.currentLine=65142809; + //BA.debugLineNum = 65142809;BA.debugLine="Private stay_ss As String"; _stay_ss = ""; - //BA.debugLineNum = 27;BA.debugLine="Private p_NoVenta As Panel"; +RDebugUtils.currentLine=65142810; + //BA.debugLineNum = 65142810;BA.debugLine="Private p_NoVenta As Panel"; _p_noventa = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim tipo_venta = Subs.traeTipoVentaDeBD"; +RDebugUtils.currentLine=65142811; + //BA.debugLineNum = 65142811;BA.debugLine="Dim tipo_venta = Subs.traeTipoVentaDeBD"; _tipo_venta = _subs._traetipoventadebd /*String*/ (ba); - //BA.debugLineNum = 29;BA.debugLine="Dim bitacora As C_Bitacora"; +RDebugUtils.currentLine=65142812; + //BA.debugLineNum = 65142812;BA.debugLine="Dim bitacora As C_Bitacora"; _bitacora = new gunav2.keymon.com.mx.c_bitacora(); - //BA.debugLineNum = 30;BA.debugLine="Private Panel1 As Panel"; +RDebugUtils.currentLine=65142813; + //BA.debugLineNum = 65142813;BA.debugLine="Private Panel1 As Panel"; _panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65142814; + //BA.debugLineNum = 65142814;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 72;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 75;BA.debugLine="End Sub"; +public String _gps_locationchanged(gunav2.keymon.com.mx.c_noventa __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=65404928; + //BA.debugLineNum = 65404928;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=65404931; + //BA.debugLineNum = 65404931;BA.debugLine="End Sub"; return ""; } -public String _guarda_click() throws Exception{ +public String _guarda_click(gunav2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "guarda_click", false)) + {return ((String) Debug.delegate(ba, "guarda_click", null));} int _i = 0; - //BA.debugLineNum = 81;BA.debugLine="Sub GUARDA_Click"; - //BA.debugLineNum = 82;BA.debugLine="If r_1.Checked Then"; -if (_r_1.getChecked()) { - //BA.debugLineNum = 83;BA.debugLine="motivo = \"CERRADO\""; -_motivo = "CERRADO"; - }else if(_r_2.getChecked()) { - //BA.debugLineNum = 85;BA.debugLine="motivo = \"NO COMPRA\""; -_motivo = "NO COMPRA"; - }else if(_r_3.getChecked()) { - //BA.debugLineNum = 87;BA.debugLine="motivo = \"CON PRODUCTO\""; -_motivo = "CON PRODUCTO"; +RDebugUtils.currentLine=65536000; + //BA.debugLineNum = 65536000;BA.debugLine="Sub GUARDA_Click"; +RDebugUtils.currentLine=65536001; + //BA.debugLineNum = 65536001;BA.debugLine="If r_1.Checked Then"; +if (__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=65536002; + //BA.debugLineNum = 65536002;BA.debugLine="motivo = \"CERRADO\""; +__ref._motivo /*String*/ = "CERRADO"; + }else +{RDebugUtils.currentLine=65536003; + //BA.debugLineNum = 65536003;BA.debugLine="Else If r_2.Checked Then"; +if (__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=65536004; + //BA.debugLineNum = 65536004;BA.debugLine="motivo = \"NO COMPRA\""; +__ref._motivo /*String*/ = "NO COMPRA"; + }else +{RDebugUtils.currentLine=65536005; + //BA.debugLineNum = 65536005;BA.debugLine="Else If r_3.Checked Then"; +if (__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=65536006; + //BA.debugLineNum = 65536006;BA.debugLine="motivo = \"CON PRODUCTO\""; +__ref._motivo /*String*/ = "CON PRODUCTO"; }else { - //BA.debugLineNum = 89;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; -_motivo = "NO ESTA EL ENCARGADO"; - }; - //BA.debugLineNum = 91;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=65536008; + //BA.debugLineNum = 65536008;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +__ref._motivo /*String*/ = "NO ESTA EL ENCARGADO"; + }}} +; +RDebugUtils.currentLine=65536010; + //BA.debugLineNum = 65536010;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 92;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 93;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 94;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CUENTA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); - //BA.debugLineNum = 95;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 96;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 97;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 98;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 99;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 100;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) "))); - //BA.debugLineNum = 101;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 102;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=65536011; + //BA.debugLineNum = 65536011;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=65536012; + //BA.debugLineNum = 65536012;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=65536013; + //BA.debugLineNum = 65536013;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CUENTA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=65536014; + //BA.debugLineNum = 65536014;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=65536015; + //BA.debugLineNum = 65536015;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=65536016; + //BA.debugLineNum = 65536016;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=65536017; + //BA.debugLineNum = 65536017;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=65536018; + //BA.debugLineNum = 65536018;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=65536019; + //BA.debugLineNum = 65536019;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) "))); +RDebugUtils.currentLine=65536020; + //BA.debugLineNum = 65536020;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=65536021; + //BA.debugLineNum = 65536021;BA.debugLine="For i=0 To c.RowCount -1"; { final int step21 = 1; -final int limit21 = (int) (_c.getRowCount()-1); +final int limit21 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit21 ;_i = _i + step21 ) { - //BA.debugLineNum = 103;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 104;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update $"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PROID"))})); +RDebugUtils.currentLine=65536022; + //BA.debugLineNum = 65536022;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=65536023; + //BA.debugLineNum = 65536023;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update $"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))})); } }; }; - //BA.debugLineNum = 108;BA.debugLine="If B4XPages.MainPage.cliente.IsInitialized Then"; +RDebugUtils.currentLine=65536027; + //BA.debugLineNum = 65536027;BA.debugLine="If B4XPages.MainPage.cliente.IsInitialized Then"; if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ .IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 109;BA.debugLine="B4XPages.MainPage.cliente.motivoNoVenta = motivo"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._motivonoventa /*String*/ = _motivo; - //BA.debugLineNum = 111;BA.debugLine="Starter.enVenta = False"; +RDebugUtils.currentLine=65536028; + //BA.debugLineNum = 65536028;BA.debugLine="B4XPages.MainPage.cliente.motivoNoVenta = motivo"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._motivonoventa /*String*/ = __ref._motivo /*String*/ ; +RDebugUtils.currentLine=65536030; + //BA.debugLineNum = 65536030;BA.debugLine="Starter.enVenta = False"; _starter._enventa /*boolean*/ = __c.False; }; - //BA.debugLineNum = 114;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=65536033; + //BA.debugLineNum = 65536033;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 115;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=65536034; + //BA.debugLineNum = 65536034;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 117;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_motivo),(Object)(_e_comm.getText()),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 118;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; +RDebugUtils.currentLine=65536036; + //BA.debugLineNum = 65536036;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cuenta /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._motivo /*String*/ ),(Object)(__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=65536037; + //BA.debugLineNum = 65536037;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 119;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +RDebugUtils.currentLine=65536038; + //BA.debugLineNum = 65536038;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; __c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 120;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 121;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 124;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (subs"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))); - //BA.debugLineNum = 130;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 131;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; -_stay_hh = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HORAS_TOTALES")))*60*60); - //BA.debugLineNum = 132;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; -_stay_mi = BA.NumberToString((double)(Double.parseDouble(_c.GetString("MINUTOS_TOTALES")))*60); - //BA.debugLineNum = 133;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; -_stay_ss = _c.GetString("SEGUNDOS_TOTALES"); - //BA.debugLineNum = 134;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(_stay_hh))+(double)(Double.parseDouble(_stay_mi))+(double)(Double.parseDouble(_stay_ss)))})); - //BA.debugLineNum = 135;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 136;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=65536039; + //BA.debugLineNum = 65536039;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=65536040; + //BA.debugLineNum = 65536040;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=65536043; + //BA.debugLineNum = 65536043;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (subs"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))); +RDebugUtils.currentLine=65536049; + //BA.debugLineNum = 65536049;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=65536050; + //BA.debugLineNum = 65536050;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; +__ref._stay_hh /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HORAS_TOTALES")))*60*60); +RDebugUtils.currentLine=65536051; + //BA.debugLineNum = 65536051;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; +__ref._stay_mi /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MINUTOS_TOTALES")))*60); +RDebugUtils.currentLine=65536052; + //BA.debugLineNum = 65536052;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; +__ref._stay_ss /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SEGUNDOS_TOTALES"); +RDebugUtils.currentLine=65536053; + //BA.debugLineNum = 65536053;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(__ref._stay_hh /*String*/ ))+(double)(Double.parseDouble(__ref._stay_mi /*String*/ ))+(double)(Double.parseDouble(__ref._stay_ss /*String*/ )))})); +RDebugUtils.currentLine=65536054; + //BA.debugLineNum = 65536054;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=65536055; + //BA.debugLineNum = 65536055;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 137;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTime."; -_bitacora._mandabitacora /*String*/ (_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_usuario,_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"NO VENTA",_subs._traecliente /*String*/ (ba),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(2),_motivo,BA.ObjectToString(_r_1.getChecked()),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ ); - //BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +RDebugUtils.currentLine=65536056; + //BA.debugLineNum = 65536056;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTime."; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._mandabitacora /*String*/ (null,_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),__ref._usuario /*String*/ ,_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"NO VENTA",_subs._traecliente /*String*/ (ba),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(2),__ref._motivo /*String*/ ,BA.ObjectToString(__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._banderageocerca /*String*/ ); +RDebugUtils.currentLine=65536057; + //BA.debugLineNum = 65536057;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 139;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65536058; + //BA.debugLineNum = 65536058;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 34;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 35;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_nuevocliente.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_nuevocliente.java index 7a5bdd1..cce7494 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_nuevocliente.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_nuevocliente.java @@ -10,7 +10,7 @@ public class c_nuevocliente extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_nuevocliente"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_nuevocliente"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_nuevocliente extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -83,160 +90,303 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.collections.List _items = null; -int _i = 0; - //BA.debugLineNum = 247;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 249;BA.debugLine="scv_nuevocliente.Panel.RemoveAllViews"; -_scv_nuevocliente.getPanel().RemoveAllViews(); - //BA.debugLineNum = 250;BA.debugLine="scv_nuevocliente.Panel.LoadLayout(\"Panel_Nuevocli"; -_scv_nuevocliente.getPanel().LoadLayout("Panel_Nuevocliente",ba); - //BA.debugLineNum = 251;BA.debugLine="scv_nuevocliente.Panel.Height = 1100dip"; -_scv_nuevocliente.getPanel().setHeight(__c.DipToCurrent((int) (1100))); - //BA.debugLineNum = 253;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 254;BA.debugLine="p_nuevoCliente.Visible = False"; -_p_nuevocliente.setVisible(__c.False); - //BA.debugLineNum = 255;BA.debugLine="p_nuevoCliente.Visible = True"; -_p_nuevocliente.setVisible(__c.True); - //BA.debugLineNum = 256;BA.debugLine="Panel1.Visible = True"; -_panel1.setVisible(__c.True); - //BA.debugLineNum = 257;BA.debugLine="et_direccion.Text = \"\""; -_et_direccion.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 258;BA.debugLine="E_NOMBRE.Text = \"\""; -_e_nombre.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 259;BA.debugLine="ET_Atiende.Text = \"\""; -_et_atiende.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 260;BA.debugLine="et_colonia.Text = \"\""; -_et_colonia.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 261;BA.debugLine="et_telefono.Text = \"\""; -_et_telefono.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 262;BA.debugLine="et_cp.Text = \"\""; -_et_cp.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 263;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 264;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 265;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 267;BA.debugLine="GUARDA.Visible = False"; -_guarda.setVisible(__c.False); - //BA.debugLineNum = 268;BA.debugLine="Subs.panelVisible(p_nuevoCliente, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_nuevocliente,(int) (0),(int) (0)); - //BA.debugLineNum = 269;BA.debugLine="Subs.panelVisible(Panel1, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_panel1,(int) (0),(int) (0)); - //BA.debugLineNum = 271;BA.debugLine="p_nuevoCliente.Width = Root.Width"; -_p_nuevocliente.setWidth(_root.getWidth()); - //BA.debugLineNum = 272;BA.debugLine="Panel1.Width = Root.Width"; -_panel1.setWidth(_root.getWidth()); - //BA.debugLineNum = 273;BA.debugLine="Panel1.Height = p_nuevoCliente.Height"; -_panel1.setHeight(_p_nuevocliente.getHeight()); - //BA.debugLineNum = 274;BA.debugLine="Subs.centraEtiqueta(Label1, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_label1,_root.getWidth()); - //BA.debugLineNum = 275;BA.debugLine="Subs.centraEtiqueta(Label5, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_label5,_root.getWidth()); - //BA.debugLineNum = 276;BA.debugLine="Subs.centraEtiqueta(Label6, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_label6,_root.getWidth()); - //BA.debugLineNum = 277;BA.debugLine="Subs.centraEtiqueta(Label2, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_label2,_root.getWidth()); - //BA.debugLineNum = 278;BA.debugLine="Subs.centraEtiqueta(Label3, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_label3,_root.getWidth()); - //BA.debugLineNum = 279;BA.debugLine="Subs.centraEtiqueta(l_sinUbicacion, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_l_sinubicacion,_root.getWidth()); - //BA.debugLineNum = 280;BA.debugLine="Subs.centraEtiqueta(b_ubicacion, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_b_ubicacion,_root.getWidth()); - //BA.debugLineNum = 281;BA.debugLine="Subs.centraPanel(p_botones, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_botones,_root.getWidth()); - //BA.debugLineNum = 282;BA.debugLine="E_NOMBRE.Left = Round(Root.Width/2)-(E_NOMBRE.Wid"; -_e_nombre.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_e_nombre.getWidth()/(double)2))); - //BA.debugLineNum = 283;BA.debugLine="et_cp.Left = Round(Root.Width/2)-(E_NOMBRE.Width/"; -_et_cp.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_e_nombre.getWidth()/(double)2))); - //BA.debugLineNum = 284;BA.debugLine="et_colonia.Left = Round(Root.Width/2)-(et_colonia"; -_et_colonia.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_et_colonia.getWidth()/(double)2))); - //BA.debugLineNum = 285;BA.debugLine="et_direccion.Left = Round(Root.Width/2)-(et_direc"; -_et_direccion.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_et_direccion.getWidth()/(double)2))); - //BA.debugLineNum = 286;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; +public Object _initialize(gunav2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=77332480; + //BA.debugLineNum = 77332480;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=77332481; + //BA.debugLineNum = 77332481;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=77332482; + //BA.debugLineNum = 77332482;BA.debugLine="End Sub"; +return null; +} +public String _gps_locationchanged(gunav2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=77529088; + //BA.debugLineNum = 77529088;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=77529089; + //BA.debugLineNum = 77529089;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0.0") == false) { - //BA.debugLineNum = 287;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; -_guarda.setVisible(__c.True); - //BA.debugLineNum = 288;BA.debugLine="l_sinUbicacion.Visible = True"; -_l_sinubicacion.setVisible(__c.True); +RDebugUtils.currentLine=77529090; + //BA.debugLineNum = 77529090;BA.debugLine="If GUARDA.IsInitialized Then"; +if (__ref._guarda /*anywheresoftware.b4a.objects.ButtonWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=77529091; + //BA.debugLineNum = 77529091;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostr"; +__ref._guarda /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=77529092; + //BA.debugLineNum = 77529092;BA.debugLine="l_sinUbicacion.Visible = True"; +__ref._l_sinubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=77529094; + //BA.debugLineNum = 77529094;BA.debugLine="lat = Location1.Latitude"; +__ref._lat /*double*/ = _location1.getLatitude(); +RDebugUtils.currentLine=77529095; + //BA.debugLineNum = 77529095;BA.debugLine="lon = Location1.Longitude"; +__ref._lon /*double*/ = _location1.getLongitude(); +RDebugUtils.currentLine=77529096; + //BA.debugLineNum = 77529096;BA.debugLine="l_sinUbicacion.Text = (\"Latitud: \" & lat & \", L"; +__ref._l_sinubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Latitud: "+BA.NumberToString(__ref._lat /*double*/ )+", Longotud: "+BA.NumberToString(__ref._lon /*double*/ )))); }; - //BA.debugLineNum = 291;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"Track"); - //BA.debugLineNum = 292;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); - //BA.debugLineNum = 293;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; -if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 294;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); - //BA.debugLineNum = 295;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); - //BA.debugLineNum = 297;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; -_gps_locationchanged(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); }; - //BA.debugLineNum = 312;BA.debugLine="If Not(Starter.GPS.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 313;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),__c.True); - //BA.debugLineNum = 314;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }else { - //BA.debugLineNum = 316;BA.debugLine="Starter.GPS.Start(0, 0)"; -_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .Start(ba,(long) (0),(float) (0)); +RDebugUtils.currentLine=77529100; + //BA.debugLineNum = 77529100;BA.debugLine="If b_ubicacion.IsInitialized Then"; +if (__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=77529101; + //BA.debugLineNum = 77529101;BA.debugLine="b_ubicacion.TextSize = 13"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (13)); +RDebugUtils.currentLine=77529102; + //BA.debugLineNum = 77529102;BA.debugLine="b_ubicacion.Text = $\"Precisión GPS $1.0{Location"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Precisión GPS "+__c.SmartStringFormatter("1.0",(Object)(_location1.getAccuracy()))+" m"))); +RDebugUtils.currentLine=77529103; + //BA.debugLineNum = 77529103;BA.debugLine="If Location1.Accuracy > 200 Then"; +if (_location1.getAccuracy()>200) { +RDebugUtils.currentLine=77529104; + //BA.debugLineNum = 77529104;BA.debugLine="b_ubicacion.TextColor = Colors.Red"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=77529105; + //BA.debugLineNum = 77529105;BA.debugLine="b_ubicacion.TextSize = 16"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (16)); +RDebugUtils.currentLine=77529106; + //BA.debugLineNum = 77529106;BA.debugLine="b_ubicacion.Text = $\"Mala señal $1.0{Location1."; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Mala señal "+__c.SmartStringFormatter("1.0",(Object)(_location1.getAccuracy()))+" m"))); }; - //BA.debugLineNum = 319;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); - //BA.debugLineNum = 321;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT GIRO FROM CAT_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT GIRO FROM CAT_GIRO order by 1"))); - //BA.debugLineNum = 322;BA.debugLine="Dim Items As List"; -_items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 323;BA.debugLine="Items.Initialize"; -_items.Initialize(); - //BA.debugLineNum = 324;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCIÓN\")"; -_items.Add((Object)("SELECCIONA UNA OPCIÓN")); - //BA.debugLineNum = 325;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 326;BA.debugLine="For i = 0 To c.RowCount-1"; -{ -final int step59 = 1; -final int limit59 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit59 ;_i = _i + step59 ) { - //BA.debugLineNum = 327;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 328;BA.debugLine="Items.Add(c.GetString(\"GIRO\"))"; -_items.Add((Object)(_c.GetString("GIRO"))); - } -}; - //BA.debugLineNum = 330;BA.debugLine="cb_giro.SetItems(Items)"; -_cb_giro._setitems /*String*/ (_items); }; - //BA.debugLineNum = 332;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; -_giros = "SELECCIONA UNA OPCIÓN"; - //BA.debugLineNum = 333;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 334;BA.debugLine="End Sub"; +RDebugUtils.currentLine=77529110; + //BA.debugLineNum = 77529110;BA.debugLine="End Sub"; return ""; } -public void _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(this,_root1); +public String _b4xpage_appear(gunav2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.objects.collections.List _items = null; +int _i = 0; +RDebugUtils.currentLine=77463552; + //BA.debugLineNum = 77463552;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=77463554; + //BA.debugLineNum = 77463554;BA.debugLine="scv_nuevocliente.Panel.RemoveAllViews"; +__ref._scv_nuevocliente /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().RemoveAllViews(); +RDebugUtils.currentLine=77463555; + //BA.debugLineNum = 77463555;BA.debugLine="scv_nuevocliente.Panel.LoadLayout(\"Panel_Nuevocli"; +__ref._scv_nuevocliente /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("Panel_Nuevocliente",ba); +RDebugUtils.currentLine=77463556; + //BA.debugLineNum = 77463556;BA.debugLine="scv_nuevocliente.Panel.Height = 1100dip"; +__ref._scv_nuevocliente /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight(__c.DipToCurrent((int) (1100))); +RDebugUtils.currentLine=77463558; + //BA.debugLineNum = 77463558;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=77463559; + //BA.debugLineNum = 77463559;BA.debugLine="p_nuevoCliente.Visible = False"; +__ref._p_nuevocliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=77463560; + //BA.debugLineNum = 77463560;BA.debugLine="p_nuevoCliente.Visible = True"; +__ref._p_nuevocliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=77463561; + //BA.debugLineNum = 77463561;BA.debugLine="Panel1.Visible = True"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=77463562; + //BA.debugLineNum = 77463562;BA.debugLine="et_direccion.Text = \"\""; +__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=77463563; + //BA.debugLineNum = 77463563;BA.debugLine="E_NOMBRE.Text = \"\""; +__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=77463564; + //BA.debugLineNum = 77463564;BA.debugLine="ET_Atiende.Text = \"\""; +__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=77463565; + //BA.debugLineNum = 77463565;BA.debugLine="et_colonia.Text = \"\""; +__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=77463566; + //BA.debugLineNum = 77463566;BA.debugLine="et_telefono.Text = \"\""; +__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=77463567; + //BA.debugLineNum = 77463567;BA.debugLine="et_cp.Text = \"\""; +__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=77463568; + //BA.debugLineNum = 77463568;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=77463569; + //BA.debugLineNum = 77463569;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); +RDebugUtils.currentLine=77463570; + //BA.debugLineNum = 77463570;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }; +RDebugUtils.currentLine=77463572; + //BA.debugLineNum = 77463572;BA.debugLine="GUARDA.Visible = False"; +__ref._guarda /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=77463573; + //BA.debugLineNum = 77463573;BA.debugLine="Subs.panelVisible(p_nuevoCliente, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_nuevocliente /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=77463574; + //BA.debugLineNum = 77463574;BA.debugLine="Subs.panelVisible(Panel1, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=77463576; + //BA.debugLineNum = 77463576;BA.debugLine="p_nuevoCliente.Width = Root.Width"; +__ref._p_nuevocliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463577; + //BA.debugLineNum = 77463577;BA.debugLine="Panel1.Width = Root.Width"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463578; + //BA.debugLineNum = 77463578;BA.debugLine="Panel1.Height = p_nuevoCliente.Height"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._p_nuevocliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=77463579; + //BA.debugLineNum = 77463579;BA.debugLine="Subs.centraEtiqueta(Label1, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label1 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463580; + //BA.debugLineNum = 77463580;BA.debugLine="Subs.centraEtiqueta(Label5, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label5 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463581; + //BA.debugLineNum = 77463581;BA.debugLine="Subs.centraEtiqueta(Label6, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label6 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463582; + //BA.debugLineNum = 77463582;BA.debugLine="Subs.centraEtiqueta(Label2, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463583; + //BA.debugLineNum = 77463583;BA.debugLine="Subs.centraEtiqueta(Label3, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label3 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463584; + //BA.debugLineNum = 77463584;BA.debugLine="Subs.centraEtiqueta(l_sinUbicacion, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._l_sinubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463585; + //BA.debugLineNum = 77463585;BA.debugLine="Subs.centraEtiqueta(b_ubicacion, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463586; + //BA.debugLineNum = 77463586;BA.debugLine="Subs.centraPanel(p_botones, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_botones /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77463587; + //BA.debugLineNum = 77463587;BA.debugLine="E_NOMBRE.Left = Round(Root.Width/2)-(E_NOMBRE.Wid"; +__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=77463588; + //BA.debugLineNum = 77463588;BA.debugLine="et_cp.Left = Round(Root.Width/2)-(E_NOMBRE.Width/"; +__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=77463589; + //BA.debugLineNum = 77463589;BA.debugLine="et_colonia.Left = Round(Root.Width/2)-(et_colonia"; +__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=77463590; + //BA.debugLineNum = 77463590;BA.debugLine="et_direccion.Left = Round(Root.Width/2)-(et_direc"; +__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=77463591; + //BA.debugLineNum = 77463591;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; +if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0.0") == false) { +RDebugUtils.currentLine=77463592; + //BA.debugLineNum = 77463592;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; +__ref._guarda /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=77463593; + //BA.debugLineNum = 77463593;BA.debugLine="l_sinUbicacion.Visible = True"; +__ref._l_sinubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=77463596; + //BA.debugLineNum = 77463596;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"Track"); +RDebugUtils.currentLine=77463597; + //BA.debugLineNum = 77463597;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); +RDebugUtils.currentLine=77463598; + //BA.debugLineNum = 77463598;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=77463599; + //BA.debugLineNum = 77463599;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); +RDebugUtils.currentLine=77463600; + //BA.debugLineNum = 77463600;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); +RDebugUtils.currentLine=77463602; + //BA.debugLineNum = 77463602;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +__ref._gps_locationchanged /*String*/ (null,_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); + }; +RDebugUtils.currentLine=77463617; + //BA.debugLineNum = 77463617;BA.debugLine="If Not(Starter.GPS.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=77463618; + //BA.debugLineNum = 77463618;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),__c.True); +RDebugUtils.currentLine=77463619; + //BA.debugLineNum = 77463619;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }else { +RDebugUtils.currentLine=77463621; + //BA.debugLineNum = 77463621;BA.debugLine="Starter.GPS.Start(0, 0)"; +_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .Start(ba,(long) (0),(float) (0)); + }; +RDebugUtils.currentLine=77463624; + //BA.debugLineNum = 77463624;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); +RDebugUtils.currentLine=77463626; + //BA.debugLineNum = 77463626;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT GIRO FROM CAT_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT GIRO FROM CAT_GIRO order by 1"))); +RDebugUtils.currentLine=77463627; + //BA.debugLineNum = 77463627;BA.debugLine="Dim Items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=77463628; + //BA.debugLineNum = 77463628;BA.debugLine="Items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=77463629; + //BA.debugLineNum = 77463629;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCIÓN\")"; +_items.Add((Object)("SELECCIONA UNA OPCIÓN")); +RDebugUtils.currentLine=77463630; + //BA.debugLineNum = 77463630;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77463631; + //BA.debugLineNum = 77463631;BA.debugLine="For i = 0 To c.RowCount-1"; +{ +final int step59 = 1; +final int limit59 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit59 ;_i = _i + step59 ) { +RDebugUtils.currentLine=77463632; + //BA.debugLineNum = 77463632;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=77463633; + //BA.debugLineNum = 77463633;BA.debugLine="Items.Add(c.GetString(\"GIRO\"))"; +_items.Add((Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("GIRO"))); + } +}; +RDebugUtils.currentLine=77463635; + //BA.debugLineNum = 77463635;BA.debugLine="cb_giro.SetItems(Items)"; +__ref._cb_giro /*gunav2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items); + }; +RDebugUtils.currentLine=77463637; + //BA.debugLineNum = 77463637;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +__ref._giros /*String*/ = "SELECCIONA UNA OPCIÓN"; +RDebugUtils.currentLine=77463638; + //BA.debugLineNum = 77463638;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77463639; + //BA.debugLineNum = 77463639;BA.debugLine="End Sub"; +return ""; +} +public void _b4xpage_created(gunav2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}); return;} +ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(this,__ref,_root1); rsub.resume(ba, null); } public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { -public ResumableSub_B4XPage_Created(gunav2.keymon.com.mx.c_nuevocliente parent,anywheresoftware.b4a.objects.B4XViewWrapper _root1) { +public ResumableSub_B4XPage_Created(gunav2.keymon.com.mx.c_nuevocliente parent,gunav2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) { this.parent = parent; +this.__ref = __ref; this._root1 = _root1; +this.__ref = parent; } +gunav2.keymon.com.mx.c_nuevocliente __ref; gunav2.keymon.com.mx.c_nuevocliente parent; anywheresoftware.b4a.objects.B4XViewWrapper _root1; String _permission = ""; @@ -244,6 +394,7 @@ boolean _result = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_nuevocliente"; while (true) { switch (state) { @@ -253,50 +404,60 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 206;BA.debugLine="Root = Root1"; -parent._root = _root1; - //BA.debugLineNum = 208;BA.debugLine="Root.LoadLayout(\"nuevocliente\")"; -parent._root.LoadLayout("nuevocliente",ba); - //BA.debugLineNum = 209;BA.debugLine="scv_nuevocliente.Height = Root.Height"; -parent._scv_nuevocliente.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 210;BA.debugLine="scv_nuevocliente.Width = Root.Width"; -parent._scv_nuevocliente.setWidth(parent._root.getWidth()); - //BA.debugLineNum = 212;BA.debugLine="ruta = File.DirInternal"; -parent._ruta = parent.__c.File.getDirInternal(); - //BA.debugLineNum = 213;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +RDebugUtils.currentLine=77398018; + //BA.debugLineNum = 77398018;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=77398020; + //BA.debugLineNum = 77398020;BA.debugLine="Root.LoadLayout(\"nuevocliente\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("nuevocliente",ba); +RDebugUtils.currentLine=77398021; + //BA.debugLineNum = 77398021;BA.debugLine="scv_nuevocliente.Height = Root.Height"; +__ref._scv_nuevocliente /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=77398022; + //BA.debugLineNum = 77398022;BA.debugLine="scv_nuevocliente.Width = Root.Width"; +__ref._scv_nuevocliente /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=77398024; + //BA.debugLineNum = 77398024;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = parent.__c.File.getDirInternal(); +RDebugUtils.currentLine=77398025; + //BA.debugLineNum = 77398025;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; if (true) break; case 1: //if this.state = 4; -if (parent.__c.File.Exists(parent._ruta,"kmt.db")==parent.__c.False) { +if (parent.__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==parent.__c.False) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 214;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",parent._ruta,"kmt.db"); +RDebugUtils.currentLine=77398026; + //BA.debugLineNum = 77398026;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); if (true) break; case 4: //C this.state = 5; ; - //BA.debugLineNum = 228;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=77398040; + //BA.debugLineNum = 77398040;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 229;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=77398041; + //BA.debugLineNum = 77398041;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_nuevocliente", "b4xpage_created"), null); this.state = 17; return; case 17: //C this.state = 5; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 230;BA.debugLine="If Result Then"; +RDebugUtils.currentLine=77398042; + //BA.debugLineNum = 77398042;BA.debugLine="If Result Then"; if (true) break; case 5: @@ -311,14 +472,16 @@ this.state = 9; case 7: //C this.state = 10; - //BA.debugLineNum = 231;BA.debugLine="Log(\"Con permisos para escritura\")"; -parent.__c.LogImpl("475431963","Con permisos para escritura",0); +RDebugUtils.currentLine=77398043; + //BA.debugLineNum = 77398043;BA.debugLine="Log(\"Con permisos para escritura\")"; +parent.__c.LogImpl("077398043","Con permisos para escritura",0); if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 233;BA.debugLine="ToastMessageShow(\"Sin permisos de escritura!!!\","; +RDebugUtils.currentLine=77398045; + //BA.debugLineNum = 77398045;BA.debugLine="ToastMessageShow(\"Sin permisos de escritura!!!\","; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de escritura!!!"),parent.__c.True); if (true) break; @@ -326,19 +489,22 @@ case 10: //C this.state = 11; ; - //BA.debugLineNum = 236;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +RDebugUtils.currentLine=77398048; + //BA.debugLineNum = 77398048;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_READ_EXTERNAL_STORAGE); - //BA.debugLineNum = 237;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); +RDebugUtils.currentLine=77398049; + //BA.debugLineNum = 77398049;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_nuevocliente", "b4xpage_created"), null); this.state = 18; return; case 18: //C this.state = 11; -_permission = (String) result[0]; -_result = (Boolean) result[1]; +_permission = (String) result[1]; +_result = (Boolean) result[2]; ; - //BA.debugLineNum = 238;BA.debugLine="If Result Then"; +RDebugUtils.currentLine=77398050; + //BA.debugLineNum = 77398050;BA.debugLine="If Result Then"; if (true) break; case 11: @@ -353,14 +519,16 @@ this.state = 15; case 13: //C this.state = 16; - //BA.debugLineNum = 239;BA.debugLine="Log(\"Con permisos para escritura\")"; -parent.__c.LogImpl("475431971","Con permisos para escritura",0); +RDebugUtils.currentLine=77398051; + //BA.debugLineNum = 77398051;BA.debugLine="Log(\"Con permisos para escritura\")"; +parent.__c.LogImpl("077398051","Con permisos para escritura",0); if (true) break; case 15: //C this.state = 16; - //BA.debugLineNum = 241;BA.debugLine="ToastMessageShow(\"Sin permisos de lectura!!!\", T"; +RDebugUtils.currentLine=77398053; + //BA.debugLineNum = 77398053;BA.debugLine="ToastMessageShow(\"Sin permisos de lectura!!!\", T"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de lectura!!!"),parent.__c.True); if (true) break; @@ -368,386 +536,522 @@ case 16: //C this.state = -1; ; - //BA.debugLineNum = 243;BA.debugLine="End Sub"; +RDebugUtils.currentLine=77398055; + //BA.debugLineNum = 77398055;BA.debugLine="End Sub"; if (true) break; } } } } -public void _b4xpage_permissionresult(String _permission,boolean _result) throws Exception{ -} -public String _cancela_click() throws Exception{ - //BA.debugLineNum = 360;BA.debugLine="Sub CANCELA_Click"; - //BA.debugLineNum = 361;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +public String _cancela_click(gunav2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "cancela_click", false)) + {return ((String) Debug.delegate(ba, "cancela_click", null));} +RDebugUtils.currentLine=77594624; + //BA.debugLineNum = 77594624;BA.debugLine="Sub CANCELA_Click"; +RDebugUtils.currentLine=77594625; + //BA.debugLineNum = 77594625;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 362;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +RDebugUtils.currentLine=77594626; + //BA.debugLineNum = 77594626;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; __c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLP"); - //BA.debugLineNum = 363;BA.debugLine="End Sub"; +RDebugUtils.currentLine=77594627; + //BA.debugLineNum = 77594627;BA.debugLine="End Sub"; return ""; } -public String _cb_giro_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 633;BA.debugLine="Private Sub cb_giro_SelectedIndexChanged (Index As"; - //BA.debugLineNum = 634;BA.debugLine="giros = cb_giro.SelectedItem"; -_giros = _cb_giro._getselecteditem /*String*/ (); - //BA.debugLineNum = 635;BA.debugLine="End Sub"; +public String _cb_giro_selectedindexchanged(gunav2.keymon.com.mx.c_nuevocliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "cb_giro_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_giro_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=77856768; + //BA.debugLineNum = 77856768;BA.debugLine="Private Sub cb_giro_SelectedIndexChanged (Index As"; +RDebugUtils.currentLine=77856769; + //BA.debugLineNum = 77856769;BA.debugLine="giros = cb_giro.SelectedItem"; +__ref._giros /*String*/ = __ref._cb_giro /*gunav2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=77856770; + //BA.debugLineNum = 77856770;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 140;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 141;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +RDebugUtils.currentLine=77266944; + //BA.debugLineNum = 77266944;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=77266945; + //BA.debugLineNum = 77266945;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 142;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=77266946; + //BA.debugLineNum = 77266946;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 144;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=77266948; + //BA.debugLineNum = 77266948;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 145;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=77266949; + //BA.debugLineNum = 77266949;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 146;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=77266950; + //BA.debugLineNum = 77266950;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 148;BA.debugLine="Dim CANCELA As Button"; +RDebugUtils.currentLine=77266952; + //BA.debugLineNum = 77266952;BA.debugLine="Dim CANCELA As Button"; _cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 149;BA.debugLine="Dim GUARDA As Button"; +RDebugUtils.currentLine=77266953; + //BA.debugLineNum = 77266953;BA.debugLine="Dim GUARDA As Button"; _guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 150;BA.debugLine="Dim cuenta As String"; +RDebugUtils.currentLine=77266954; + //BA.debugLineNum = 77266954;BA.debugLine="Dim cuenta As String"; _cuenta = ""; - //BA.debugLineNum = 151;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=77266955; + //BA.debugLineNum = 77266955;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 152;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=77266956; + //BA.debugLineNum = 77266956;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 153;BA.debugLine="Dim sDate2,sTime2 As String"; +RDebugUtils.currentLine=77266957; + //BA.debugLineNum = 77266957;BA.debugLine="Dim sDate2,sTime2 As String"; _sdate2 = ""; _stime2 = ""; - //BA.debugLineNum = 154;BA.debugLine="Dim no_cliente As String"; +RDebugUtils.currentLine=77266958; + //BA.debugLineNum = 77266958;BA.debugLine="Dim no_cliente As String"; _no_cliente = ""; - //BA.debugLineNum = 155;BA.debugLine="Dim no_ruta As String"; +RDebugUtils.currentLine=77266959; + //BA.debugLineNum = 77266959;BA.debugLine="Dim no_ruta As String"; _no_ruta = ""; - //BA.debugLineNum = 156;BA.debugLine="Dim lista_punta As List"; +RDebugUtils.currentLine=77266960; + //BA.debugLineNum = 77266960;BA.debugLine="Dim lista_punta As List"; _lista_punta = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 157;BA.debugLine="Dim r_4 As RadioButton"; +RDebugUtils.currentLine=77266961; + //BA.debugLineNum = 77266961;BA.debugLine="Dim r_4 As RadioButton"; _r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 158;BA.debugLine="Dim E_NOMBRE As EditText"; +RDebugUtils.currentLine=77266962; + //BA.debugLineNum = 77266962;BA.debugLine="Dim E_NOMBRE As EditText"; _e_nombre = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 159;BA.debugLine="Dim tgl As Toggle"; +RDebugUtils.currentLine=77266963; + //BA.debugLineNum = 77266963;BA.debugLine="Dim tgl As Toggle"; _tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 160;BA.debugLine="Private l_sinUbicacion As Label"; +RDebugUtils.currentLine=77266964; + //BA.debugLineNum = 77266964;BA.debugLine="Private l_sinUbicacion As Label"; _l_sinubicacion = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 161;BA.debugLine="Private p_nuevoCliente As Panel"; +RDebugUtils.currentLine=77266965; + //BA.debugLineNum = 77266965;BA.debugLine="Private p_nuevoCliente As Panel"; _p_nuevocliente = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 162;BA.debugLine="Private Label1 As Label"; +RDebugUtils.currentLine=77266966; + //BA.debugLineNum = 77266966;BA.debugLine="Private Label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 163;BA.debugLine="Private p_botones As Panel"; +RDebugUtils.currentLine=77266967; + //BA.debugLineNum = 77266967;BA.debugLine="Private p_botones As Panel"; _p_botones = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 164;BA.debugLine="Private p_cam As Panel"; +RDebugUtils.currentLine=77266968; + //BA.debugLineNum = 77266968;BA.debugLine="Private p_cam As Panel"; _p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 165;BA.debugLine="Private p_camara As Panel"; +RDebugUtils.currentLine=77266969; + //BA.debugLineNum = 77266969;BA.debugLine="Private p_camara As Panel"; _p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 166;BA.debugLine="Private b_foto_inci As Button"; +RDebugUtils.currentLine=77266970; + //BA.debugLineNum = 77266970;BA.debugLine="Private b_foto_inci As Button"; _b_foto_inci = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 168;BA.debugLine="Dim frontCamera As Boolean = False"; +RDebugUtils.currentLine=77266972; + //BA.debugLineNum = 77266972;BA.debugLine="Dim frontCamera As Boolean = False"; _frontcamera = __c.False; - //BA.debugLineNum = 169;BA.debugLine="Dim fototomada As String = \"0\""; +RDebugUtils.currentLine=77266973; + //BA.debugLineNum = 77266973;BA.debugLine="Dim fototomada As String = \"0\""; _fototomada = "0"; - //BA.debugLineNum = 170;BA.debugLine="Dim ALMACEN As String"; +RDebugUtils.currentLine=77266974; + //BA.debugLineNum = 77266974;BA.debugLine="Dim ALMACEN As String"; _almacen = ""; - //BA.debugLineNum = 171;BA.debugLine="Private et_direccion As EditText"; +RDebugUtils.currentLine=77266975; + //BA.debugLineNum = 77266975;BA.debugLine="Private et_direccion As EditText"; _et_direccion = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 172;BA.debugLine="Private Label2 As Label"; +RDebugUtils.currentLine=77266976; + //BA.debugLineNum = 77266976;BA.debugLine="Private Label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 173;BA.debugLine="Dim lat As Double = 0"; +RDebugUtils.currentLine=77266977; + //BA.debugLineNum = 77266977;BA.debugLine="Dim lat As Double = 0"; _lat = 0; - //BA.debugLineNum = 174;BA.debugLine="Dim lon As Double = 0"; +RDebugUtils.currentLine=77266978; + //BA.debugLineNum = 77266978;BA.debugLine="Dim lon As Double = 0"; _lon = 0; - //BA.debugLineNum = 175;BA.debugLine="Private b_ubicacion As Label"; +RDebugUtils.currentLine=77266979; + //BA.debugLineNum = 77266979;BA.debugLine="Private b_ubicacion As Label"; _b_ubicacion = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 176;BA.debugLine="Private Label3 As Label"; +RDebugUtils.currentLine=77266980; + //BA.debugLineNum = 77266980;BA.debugLine="Private Label3 As Label"; _label3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 177;BA.debugLine="Private cb_giro As B4XComboBox"; +RDebugUtils.currentLine=77266981; + //BA.debugLineNum = 77266981;BA.debugLine="Private cb_giro As B4XComboBox"; _cb_giro = new gunav2.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 178;BA.debugLine="Dim giros As String"; +RDebugUtils.currentLine=77266982; + //BA.debugLineNum = 77266982;BA.debugLine="Dim giros As String"; _giros = ""; - //BA.debugLineNum = 179;BA.debugLine="Private L_Atiende As Label"; +RDebugUtils.currentLine=77266983; + //BA.debugLineNum = 77266983;BA.debugLine="Private L_Atiende As Label"; _l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 180;BA.debugLine="Private ET_Atiende As EditText"; +RDebugUtils.currentLine=77266984; + //BA.debugLineNum = 77266984;BA.debugLine="Private ET_Atiende As EditText"; _et_atiende = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 181;BA.debugLine="Private Label5 As Label"; +RDebugUtils.currentLine=77266985; + //BA.debugLineNum = 77266985;BA.debugLine="Private Label5 As Label"; _label5 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 182;BA.debugLine="Private et_colonia As EditText"; +RDebugUtils.currentLine=77266986; + //BA.debugLineNum = 77266986;BA.debugLine="Private et_colonia As EditText"; _et_colonia = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 183;BA.debugLine="Private et_telefono As EditText"; +RDebugUtils.currentLine=77266987; + //BA.debugLineNum = 77266987;BA.debugLine="Private et_telefono As EditText"; _et_telefono = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 184;BA.debugLine="Private et_cp As EditText"; +RDebugUtils.currentLine=77266988; + //BA.debugLineNum = 77266988;BA.debugLine="Private et_cp As EditText"; _et_cp = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 185;BA.debugLine="Private Label6 As Label"; +RDebugUtils.currentLine=77266989; + //BA.debugLineNum = 77266989;BA.debugLine="Private Label6 As Label"; _label6 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 186;BA.debugLine="Private Panel1 As Panel"; +RDebugUtils.currentLine=77266990; + //BA.debugLineNum = 77266990;BA.debugLine="Private Panel1 As Panel"; _panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 187;BA.debugLine="Private et_calle1 As EditText"; +RDebugUtils.currentLine=77266991; + //BA.debugLineNum = 77266991;BA.debugLine="Private et_calle1 As EditText"; _et_calle1 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 188;BA.debugLine="Private et_calle2 As EditText"; +RDebugUtils.currentLine=77266992; + //BA.debugLineNum = 77266992;BA.debugLine="Private et_calle2 As EditText"; _et_calle2 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 189;BA.debugLine="Private scv_nuevocliente As ScrollView"; +RDebugUtils.currentLine=77266993; + //BA.debugLineNum = 77266993;BA.debugLine="Private scv_nuevocliente As ScrollView"; _scv_nuevocliente = new anywheresoftware.b4a.objects.ScrollViewWrapper(); - //BA.debugLineNum = 190;BA.debugLine="Private Label9 As Label"; +RDebugUtils.currentLine=77266994; + //BA.debugLineNum = 77266994;BA.debugLine="Private Label9 As Label"; _label9 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 191;BA.debugLine="Private et_numeroint As EditText"; +RDebugUtils.currentLine=77266995; + //BA.debugLineNum = 77266995;BA.debugLine="Private et_numeroint As EditText"; _et_numeroint = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 192;BA.debugLine="Private Label10 As Label"; +RDebugUtils.currentLine=77266996; + //BA.debugLineNum = 77266996;BA.debugLine="Private Label10 As Label"; _label10 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 193;BA.debugLine="Private et_numeroext As EditText"; +RDebugUtils.currentLine=77266997; + //BA.debugLineNum = 77266997;BA.debugLine="Private et_numeroext As EditText"; _et_numeroext = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 194;BA.debugLine="Private Label11 As Label"; +RDebugUtils.currentLine=77266998; + //BA.debugLineNum = 77266998;BA.debugLine="Private Label11 As Label"; _label11 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 195;BA.debugLine="Private et_referencia As EditText"; +RDebugUtils.currentLine=77266999; + //BA.debugLineNum = 77266999;BA.debugLine="Private et_referencia As EditText"; _et_referencia = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 196;BA.debugLine="End Sub"; +RDebugUtils.currentLine=77267000; + //BA.debugLineNum = 77267000;BA.debugLine="End Sub"; return ""; } -public String _et_cp_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 637;BA.debugLine="Private Sub et_cp_TextChanged (Old As String, New"; - //BA.debugLineNum = 638;BA.debugLine="If New.Length > 5 Then"; +public String _et_cp_textchanged(gunav2.keymon.com.mx.c_nuevocliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "et_cp_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_cp_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=77922304; + //BA.debugLineNum = 77922304;BA.debugLine="Private Sub et_cp_TextChanged (Old As String, New"; +RDebugUtils.currentLine=77922305; + //BA.debugLineNum = 77922305;BA.debugLine="If New.Length > 5 Then"; if (_new.length()>5) { - //BA.debugLineNum = 639;BA.debugLine="et_cp.Text = Old"; -_et_cp.setText(BA.ObjectToCharSequence(_old)); - }else if(_new.length()>1 && _new.length()<=5) { - //BA.debugLineNum = 641;BA.debugLine="If New.Contains(Chr(10)) Or New.Contains(Chr(13)"; +RDebugUtils.currentLine=77922306; + //BA.debugLineNum = 77922306;BA.debugLine="et_cp.Text = Old"; +__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_old)); + }else +{RDebugUtils.currentLine=77922307; + //BA.debugLineNum = 77922307;BA.debugLine="Else If New.Length > 1 And New.Length <= 5 Then"; +if (_new.length()>1 && _new.length()<=5) { +RDebugUtils.currentLine=77922308; + //BA.debugLineNum = 77922308;BA.debugLine="If New.Contains(Chr(10)) Or New.Contains(Chr(13)"; if (_new.contains(BA.ObjectToString(__c.Chr((int) (10)))) || _new.contains(BA.ObjectToString(__c.Chr((int) (13)))) || _new.contains(BA.ObjectToString(__c.Chr((int) (34))))) { - //BA.debugLineNum = 642;BA.debugLine="et_cp.Text = Old"; -_et_cp.setText(BA.ObjectToCharSequence(_old)); +RDebugUtils.currentLine=77922309; + //BA.debugLineNum = 77922309;BA.debugLine="et_cp.Text = Old"; +__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_old)); }; - }; - //BA.debugLineNum = 646;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=77922313; + //BA.debugLineNum = 77922313;BA.debugLine="End Sub"; return ""; } -public String _et_telefono_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 648;BA.debugLine="Private Sub et_telefono_TextChanged (Old As String"; - //BA.debugLineNum = 649;BA.debugLine="If New.Length > 10 Then"; +public String _et_telefono_textchanged(gunav2.keymon.com.mx.c_nuevocliente __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "et_telefono_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_telefono_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=77987840; + //BA.debugLineNum = 77987840;BA.debugLine="Private Sub et_telefono_TextChanged (Old As String"; +RDebugUtils.currentLine=77987841; + //BA.debugLineNum = 77987841;BA.debugLine="If New.Length > 10 Then"; if (_new.length()>10) { - //BA.debugLineNum = 650;BA.debugLine="et_telefono.Text = Old"; -_et_telefono.setText(BA.ObjectToCharSequence(_old)); - }else if(_new.length()>1 && _new.length()<=10) { - //BA.debugLineNum = 652;BA.debugLine="If New.Contains(Chr(10)) Or New.Contains(Chr(13)"; +RDebugUtils.currentLine=77987842; + //BA.debugLineNum = 77987842;BA.debugLine="et_telefono.Text = Old"; +__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_old)); + }else +{RDebugUtils.currentLine=77987843; + //BA.debugLineNum = 77987843;BA.debugLine="Else If New.Length > 1 And New.Length <= 10 Then"; +if (_new.length()>1 && _new.length()<=10) { +RDebugUtils.currentLine=77987844; + //BA.debugLineNum = 77987844;BA.debugLine="If New.Contains(Chr(10)) Or New.Contains(Chr(13)"; if (_new.contains(BA.ObjectToString(__c.Chr((int) (10)))) || _new.contains(BA.ObjectToString(__c.Chr((int) (13)))) || _new.contains(BA.ObjectToString(__c.Chr((int) (34))))) { - //BA.debugLineNum = 653;BA.debugLine="et_telefono.Text = Old"; -_et_telefono.setText(BA.ObjectToCharSequence(_old)); +RDebugUtils.currentLine=77987845; + //BA.debugLineNum = 77987845;BA.debugLine="et_telefono.Text = Old"; +__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_old)); }; - }; - //BA.debugLineNum = 657;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=77987849; + //BA.debugLineNum = 77987849;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 336;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 337;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; -if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0.0") == false) { - //BA.debugLineNum = 338;BA.debugLine="If GUARDA.IsInitialized Then"; -if (_guarda.IsInitialized()) { - //BA.debugLineNum = 339;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostr"; -_guarda.setVisible(__c.True); - //BA.debugLineNum = 340;BA.debugLine="l_sinUbicacion.Visible = True"; -_l_sinubicacion.setVisible(__c.True); - //BA.debugLineNum = 342;BA.debugLine="lat = Location1.Latitude"; -_lat = _location1.getLatitude(); - //BA.debugLineNum = 343;BA.debugLine="lon = Location1.Longitude"; -_lon = _location1.getLongitude(); - //BA.debugLineNum = 344;BA.debugLine="l_sinUbicacion.Text = (\"Latitud: \" & lat & \", L"; -_l_sinubicacion.setText(BA.ObjectToCharSequence(("Latitud: "+BA.NumberToString(_lat)+", Longotud: "+BA.NumberToString(_lon)))); - }; - }; - //BA.debugLineNum = 348;BA.debugLine="If b_ubicacion.IsInitialized Then"; -if (_b_ubicacion.IsInitialized()) { - //BA.debugLineNum = 349;BA.debugLine="b_ubicacion.TextSize = 13"; -_b_ubicacion.setTextSize((float) (13)); - //BA.debugLineNum = 350;BA.debugLine="b_ubicacion.Text = $\"Precisión GPS $1.0{Location"; -_b_ubicacion.setText(BA.ObjectToCharSequence(("Precisión GPS "+__c.SmartStringFormatter("1.0",(Object)(_location1.getAccuracy()))+" m"))); - //BA.debugLineNum = 351;BA.debugLine="If Location1.Accuracy > 200 Then"; -if (_location1.getAccuracy()>200) { - //BA.debugLineNum = 352;BA.debugLine="b_ubicacion.TextColor = Colors.Red"; -_b_ubicacion.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 353;BA.debugLine="b_ubicacion.TextSize = 16"; -_b_ubicacion.setTextSize((float) (16)); - //BA.debugLineNum = 354;BA.debugLine="b_ubicacion.Text = $\"Mala señal $1.0{Location1."; -_b_ubicacion.setText(BA.ObjectToCharSequence(("Mala señal "+__c.SmartStringFormatter("1.0",(Object)(_location1.getAccuracy()))+" m"))); - }; - }; - //BA.debugLineNum = 358;BA.debugLine="End Sub"; -return ""; -} -public String _guarda_click() throws Exception{ +public String _guarda_click(gunav2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "guarda_click", false)) + {return ((String) Debug.delegate(ba, "guarda_click", null));} String _hora = ""; String _mins = ""; String _segs = ""; String[] _fechacliente = null; - //BA.debugLineNum = 391;BA.debugLine="Sub GUARDA_Click"; - //BA.debugLineNum = 401;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +RDebugUtils.currentLine=77725696; + //BA.debugLineNum = 77725696;BA.debugLine="Sub GUARDA_Click"; +RDebugUtils.currentLine=77725706; + //BA.debugLineNum = 77725706;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; _b4xpages._showpage /*String*/ (ba,"NuevoCliente"); - //BA.debugLineNum = 419;BA.debugLine="If E_NOMBRE.Text = \"\" Then"; -if ((_e_nombre.getText()).equals("")) { - //BA.debugLineNum = 420;BA.debugLine="MsgboxAsync(\"Por favor captura el nombre de la T"; +RDebugUtils.currentLine=77725724; + //BA.debugLineNum = 77725724;BA.debugLine="If E_NOMBRE.Text = \"\" Then"; +if ((__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=77725725; + //BA.debugLineNum = 77725725;BA.debugLine="MsgboxAsync(\"Por favor captura el nombre de la T"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura el nombre de la Tienda"),BA.ObjectToCharSequence("Atención"),ba); - }else if(_et_direccion.getText().length()>3) { - //BA.debugLineNum = 424;BA.debugLine="If lat <> 0 Then"; -if (_lat!=0) { - //BA.debugLineNum = 426;BA.debugLine="If giros <> \"SELECCIONA UNA OPCIÓN\" Or cb_giro."; -if ((_giros).equals("SELECCIONA UNA OPCIÓN") == false || (_cb_giro._getselecteditem /*String*/ ()).equals("SELECCIONA UNA OPCIÓN") == false) { - //BA.debugLineNum = 428;BA.debugLine="If ET_Atiende.Text <> \"\" Then"; -if ((_et_atiende.getText()).equals("") == false) { - //BA.debugLineNum = 429;BA.debugLine="If et_telefono.Text <> \"\" Then"; -if ((_et_telefono.getText()).equals("") == false) { - //BA.debugLineNum = 430;BA.debugLine="If et_colonia.Text <> \"\" Then"; -if ((_et_colonia.getText()).equals("") == false) { - //BA.debugLineNum = 431;BA.debugLine="If et_cp.Text <> \"\" Then"; -if ((_et_cp.getText()).equals("") == false) { - //BA.debugLineNum = 432;BA.debugLine="If et_calle1.Text <> \"\" Then"; -if ((_et_calle1.getText()).equals("") == false) { - //BA.debugLineNum = 433;BA.debugLine="If et_calle2.Text <> \"\" Then"; -if ((_et_calle2.getText()).equals("") == false) { - //BA.debugLineNum = 434;BA.debugLine="If et_numeroint.Text <> \"\" Then"; -if ((_et_numeroint.getText()).equals("") == false) { - //BA.debugLineNum = 435;BA.debugLine="If et_numeroext.Text <> \"\" Then"; -if ((_et_numeroext.getText()).equals("") == false) { - //BA.debugLineNum = 436;BA.debugLine="If et_referencia.Text <> \"\" Then"; -if ((_et_referencia.getText()).equals("") == false) { - //BA.debugLineNum = 440;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + }else +{RDebugUtils.currentLine=77725727; + //BA.debugLineNum = 77725727;BA.debugLine="Else If et_direccion.Text.Length > 3 Then"; +if (__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>3) { +RDebugUtils.currentLine=77725729; + //BA.debugLineNum = 77725729;BA.debugLine="If lat <> 0 Then"; +if (__ref._lat /*double*/ !=0) { +RDebugUtils.currentLine=77725731; + //BA.debugLineNum = 77725731;BA.debugLine="If giros <> \"SELECCIONA UNA OPCIÓN\" Or cb_giro."; +if ((__ref._giros /*String*/ ).equals("SELECCIONA UNA OPCIÓN") == false || (__ref._cb_giro /*gunav2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null)).equals("SELECCIONA UNA OPCIÓN") == false) { +RDebugUtils.currentLine=77725733; + //BA.debugLineNum = 77725733;BA.debugLine="If ET_Atiende.Text <> \"\" Then"; +if ((__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725734; + //BA.debugLineNum = 77725734;BA.debugLine="If et_telefono.Text <> \"\" Then"; +if ((__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725735; + //BA.debugLineNum = 77725735;BA.debugLine="If et_colonia.Text <> \"\" Then"; +if ((__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725736; + //BA.debugLineNum = 77725736;BA.debugLine="If et_cp.Text <> \"\" Then"; +if ((__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725737; + //BA.debugLineNum = 77725737;BA.debugLine="If et_calle1.Text <> \"\" Then"; +if ((__ref._et_calle1 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725738; + //BA.debugLineNum = 77725738;BA.debugLine="If et_calle2.Text <> \"\" Then"; +if ((__ref._et_calle2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725739; + //BA.debugLineNum = 77725739;BA.debugLine="If et_numeroint.Text <> \"\" Then"; +if ((__ref._et_numeroint /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725740; + //BA.debugLineNum = 77725740;BA.debugLine="If et_numeroext.Text <> \"\" Then"; +if ((__ref._et_numeroext /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725741; + //BA.debugLineNum = 77725741;BA.debugLine="If et_referencia.Text <> \"\" Then"; +if ((__ref._et_referencia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=77725745; + //BA.debugLineNum = 77725745;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 441;BA.debugLine="DateTime.Timeformat = \"HHmmss\""; +RDebugUtils.currentLine=77725746; + //BA.debugLineNum = 77725746;BA.debugLine="DateTime.Timeformat = \"HHmmss\""; __c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 442;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 443;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 444;BA.debugLine="Log($\" //////////// Date: ${sDate} - T"; -__c.LogImpl("475759669",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(_sdate))+" - Time: "+__c.SmartStringFormatter("",(Object)(_stime))+" ////////////////"),0); - //BA.debugLineNum = 446;BA.debugLine="Private hora As String = sTime.SubString"; -_hora = _stime.substring((int) (0),(int) (2)); - //BA.debugLineNum = 447;BA.debugLine="Private mins As String = sTime.SubString"; -_mins = _stime.substring((int) (2),(int) (4)); - //BA.debugLineNum = 448;BA.debugLine="Private segs As String = sTime.SubString"; -_segs = _stime.substring((int) (4)); - //BA.debugLineNum = 449;BA.debugLine="sTime = hora & \":\" & mins & \":\" & segs"; -_stime = _hora+":"+_mins+":"+_segs; - //BA.debugLineNum = 450;BA.debugLine="Dim Fechacliente() As String = Regex.Spl"; -_fechacliente = __c.Regex.Split("/",_sdate); - //BA.debugLineNum = 451;BA.debugLine="Log(\"////////////// sTime: \"&sTime&\" ///"; -__c.LogImpl("475759676","////////////// sTime: "+_stime+" ////////////////",0); - //BA.debugLineNum = 452;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA FROM kmt_info3"))); - //BA.debugLineNum = 453;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 454;BA.debugLine="no_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_no_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 455;BA.debugLine="no_cliente = \"N\" & sTime & no_ruta"; -_no_cliente = "N"+_stime+_no_ruta; - //BA.debugLineNum = 456;BA.debugLine="Log(\"++ ++ no_cliente = \"&no_cliente)"; -__c.LogImpl("475759681","++ ++ no_cliente = "+_no_cliente,0); - //BA.debugLineNum = 457;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 459;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_no_cliente)})); - //BA.debugLineNum = 460;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from C"; +RDebugUtils.currentLine=77725747; + //BA.debugLineNum = 77725747;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77725748; + //BA.debugLineNum = 77725748;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77725749; + //BA.debugLineNum = 77725749;BA.debugLine="Log($\" //////////// Date: ${sDate} - T"; +__c.LogImpl("077725749",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ ))+" - Time: "+__c.SmartStringFormatter("",(Object)(__ref._stime /*String*/ ))+" ////////////////"),0); +RDebugUtils.currentLine=77725751; + //BA.debugLineNum = 77725751;BA.debugLine="Private hora As String = sTime.SubString"; +_hora = __ref._stime /*String*/ .substring((int) (0),(int) (2)); +RDebugUtils.currentLine=77725752; + //BA.debugLineNum = 77725752;BA.debugLine="Private mins As String = sTime.SubString"; +_mins = __ref._stime /*String*/ .substring((int) (2),(int) (4)); +RDebugUtils.currentLine=77725753; + //BA.debugLineNum = 77725753;BA.debugLine="Private segs As String = sTime.SubString"; +_segs = __ref._stime /*String*/ .substring((int) (4)); +RDebugUtils.currentLine=77725754; + //BA.debugLineNum = 77725754;BA.debugLine="sTime = hora & \":\" & mins & \":\" & segs"; +__ref._stime /*String*/ = _hora+":"+_mins+":"+_segs; +RDebugUtils.currentLine=77725755; + //BA.debugLineNum = 77725755;BA.debugLine="Dim Fechacliente() As String = Regex.Spl"; +_fechacliente = __c.Regex.Split("/",__ref._sdate /*String*/ ); +RDebugUtils.currentLine=77725756; + //BA.debugLineNum = 77725756;BA.debugLine="Log(\"////////////// sTime: \"&sTime&\" ///"; +__c.LogImpl("077725756","////////////// sTime: "+__ref._stime /*String*/ +" ////////////////",0); +RDebugUtils.currentLine=77725757; + //BA.debugLineNum = 77725757;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA FROM kmt_info3"))); +RDebugUtils.currentLine=77725758; + //BA.debugLineNum = 77725758;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77725759; + //BA.debugLineNum = 77725759;BA.debugLine="no_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._no_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=77725760; + //BA.debugLineNum = 77725760;BA.debugLine="no_cliente = \"N\" & sTime & no_ruta"; +__ref._no_cliente /*String*/ = "N"+__ref._stime /*String*/ +__ref._no_ruta /*String*/ ; +RDebugUtils.currentLine=77725761; + //BA.debugLineNum = 77725761;BA.debugLine="Log(\"++ ++ no_cliente = \"&no_cliente)"; +__c.LogImpl("077725761","++ ++ no_cliente = "+__ref._no_cliente /*String*/ ,0); +RDebugUtils.currentLine=77725762; + //BA.debugLineNum = 77725762;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77725764; + //BA.debugLineNum = 77725764;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._no_cliente /*String*/ )})); +RDebugUtils.currentLine=77725765; + //BA.debugLineNum = 77725765;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from C"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 461;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_no_cliente)})); - //BA.debugLineNum = 462;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_AL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 463;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 464;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 465;BA.debugLine="ALMACEN = c.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); +RDebugUtils.currentLine=77725766; + //BA.debugLineNum = 77725766;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._no_cliente /*String*/ )})); +RDebugUtils.currentLine=77725767; + //BA.debugLineNum = 77725767;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_AL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=77725768; + //BA.debugLineNum = 77725768;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=77725769; + //BA.debugLineNum = 77725769;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77725770; + //BA.debugLineNum = 77725770;BA.debugLine="ALMACEN = c.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); }; - //BA.debugLineNum = 467;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 468;BA.debugLine="c = Starter.skmt.ExecQuery(\"select usuar"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 469;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 470;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 471;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 475;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +RDebugUtils.currentLine=77725772; + //BA.debugLineNum = 77725772;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77725773; + //BA.debugLineNum = 77725773;BA.debugLine="c = Starter.skmt.ExecQuery(\"select usuar"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=77725774; + //BA.debugLineNum = 77725774;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=77725775; + //BA.debugLineNum = 77725775;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=77725776; + //BA.debugLineNum = 77725776;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=77725780; + //BA.debugLineNum = 77725780;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 476;BA.debugLine="DateTime.Timeformat = \"HH:mm:ss\""; +RDebugUtils.currentLine=77725781; + //BA.debugLineNum = 77725781;BA.debugLine="DateTime.Timeformat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 477;BA.debugLine="sDate2 = DateTime.Date(DateTime.Now)"; -_sdate2 = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 478;BA.debugLine="sTime2 = DateTime.Time(DateTime.Now)"; -_stime2 = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 480;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_CP,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_NUMEROINT,CAT_CL_NUMEROEXT,CAT_CL_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_no_cliente),(Object)(_no_ruta),(Object)(_e_nombre.getText()),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_cb_giro._getselecteditem /*String*/ ()),(Object)(_et_cp.getText()),(Object)(_et_calle1.getText()),(Object)(_et_calle2.getText()),(Object)(_et_numeroint.getText()),(Object)(_et_numeroext.getText()),(Object)(_et_referencia.getText())})); - //BA.debugLineNum = 481;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CLIENTES_NUEVOS(CN_ID, CN_FECHA, CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA,CN_COLONIA, CN_TELEFONO,CN_CP,CN_CALLE1,CN_CALLE2,CN_NUMEROINT,CN_NUMEROEXT,CN_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_no_cliente,_sdate2+" "+_stime2,_usuario,BA.NumberToString(_lat),BA.NumberToString(_lon),_e_nombre.getText(),_et_direccion.getText(),_almacen,_no_ruta,_cb_giro._getselecteditem /*String*/ (),_et_atiende.getText(),_et_colonia.getText(),_et_telefono.getText(),_et_cp.getText(),_et_calle1.getText(),_et_calle2.getText(),_et_numeroint.getText(),_et_numeroext.getText(),_et_referencia.getText()})); - //BA.debugLineNum = 483;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=77725782; + //BA.debugLineNum = 77725782;BA.debugLine="sDate2 = DateTime.Date(DateTime.Now)"; +__ref._sdate2 /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=77725783; + //BA.debugLineNum = 77725783;BA.debugLine="sTime2 = DateTime.Time(DateTime.Now)"; +__ref._stime2 /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=77725785; + //BA.debugLineNum = 77725785;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_CP,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_NUMEROINT,CAT_CL_NUMEROEXT,CAT_CL_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._no_cliente /*String*/ ),(Object)(__ref._no_ruta /*String*/ ),(Object)(__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._cb_giro /*gunav2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null)),(Object)(__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_calle1 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_calle2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_numeroint /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_numeroext /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_referencia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=77725786; + //BA.debugLineNum = 77725786;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CLIENTES_NUEVOS(CN_ID, CN_FECHA, CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA,CN_COLONIA, CN_TELEFONO,CN_CP,CN_CALLE1,CN_CALLE2,CN_NUMEROINT,CN_NUMEROEXT,CN_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._no_cliente /*String*/ ,__ref._sdate2 /*String*/ +" "+__ref._stime2 /*String*/ ,__ref._usuario /*String*/ ,BA.NumberToString(__ref._lat /*double*/ ),BA.NumberToString(__ref._lon /*double*/ ),__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._almacen /*String*/ ,__ref._no_ruta /*String*/ ,__ref._cb_giro /*gunav2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null),__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_calle1 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_calle2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_numeroint /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_numeroext /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_referencia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})); +RDebugUtils.currentLine=77725788; + //BA.debugLineNum = 77725788;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 484;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +RDebugUtils.currentLine=77725789; + //BA.debugLineNum = 77725789;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; __c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLP"); }else { - //BA.debugLineNum = 486;BA.debugLine="MsgboxAsync(\"Por favor, captura la re"; +RDebugUtils.currentLine=77725791; + //BA.debugLineNum = 77725791;BA.debugLine="MsgboxAsync(\"Por favor, captura la re"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, captura la referencia"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 489;BA.debugLine="MsgboxAsync(\"Por favor, captura el nú"; +RDebugUtils.currentLine=77725794; + //BA.debugLineNum = 77725794;BA.debugLine="MsgboxAsync(\"Por favor, captura el nú"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, captura el número ext"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 492;BA.debugLine="MsgboxAsync(\"Por favor, captura el núm"; +RDebugUtils.currentLine=77725797; + //BA.debugLineNum = 77725797;BA.debugLine="MsgboxAsync(\"Por favor, captura el núm"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, captura el número int"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 496;BA.debugLine="MsgboxAsync(\"Por favor, captura Entre c"; +RDebugUtils.currentLine=77725801; + //BA.debugLineNum = 77725801;BA.debugLine="MsgboxAsync(\"Por favor, captura Entre c"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, captura Entre calle2"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 499;BA.debugLine="MsgboxAsync(\"Por favor, captura Entre ca"; +RDebugUtils.currentLine=77725804; + //BA.debugLineNum = 77725804;BA.debugLine="MsgboxAsync(\"Por favor, captura Entre ca"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, captura Entre calle1"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 503;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el C"; +RDebugUtils.currentLine=77725808; + //BA.debugLineNum = 77725808;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el C"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar el C.P. el negocio."),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 506;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar la co"; +RDebugUtils.currentLine=77725811; + //BA.debugLineNum = 77725811;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar la co"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar la colonia el negocio."),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 509;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el tel"; +RDebugUtils.currentLine=77725814; + //BA.debugLineNum = 77725814;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el tel"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar el telefono."),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 513;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar al enca"; +RDebugUtils.currentLine=77725818; + //BA.debugLineNum = 77725818;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar al enca"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar al encargado que atiende el negocio."),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 516;BA.debugLine="MsgboxAsync(\"Por favor captura el giro del cli"; +RDebugUtils.currentLine=77725821; + //BA.debugLineNum = 77725821;BA.debugLine="MsgboxAsync(\"Por favor captura el giro del cli"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura el giro del cliente"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 519;BA.debugLine="MsgboxAsync(\"Por favor revisa que tengas señal"; +RDebugUtils.currentLine=77725824; + //BA.debugLineNum = 77725824;BA.debugLine="MsgboxAsync(\"Por favor revisa que tengas señal"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor revisa que tengas señal GPS"),BA.ObjectToCharSequence("Atención"),ba); }; }else { - //BA.debugLineNum = 522;BA.debugLine="MsgboxAsync(\"Por favor captura la dirección del"; +RDebugUtils.currentLine=77725827; + //BA.debugLineNum = 77725827;BA.debugLine="MsgboxAsync(\"Por favor captura la dirección del"; __c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura la dirección del cliente"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 529;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=77725834; + //BA.debugLineNum = 77725834;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 199;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 200;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 201;BA.debugLine="End Sub"; -return null; -} -public String _p_nuevocliente_click() throws Exception{ - //BA.debugLineNum = 534;BA.debugLine="Private Sub p_nuevoCliente_Click"; - //BA.debugLineNum = 536;BA.debugLine="End Sub"; +public String _p_nuevocliente_click(gunav2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "p_nuevocliente_click", false)) + {return ((String) Debug.delegate(ba, "p_nuevocliente_click", null));} +RDebugUtils.currentLine=77791232; + //BA.debugLineNum = 77791232;BA.debugLine="Private Sub p_nuevoCliente_Click"; +RDebugUtils.currentLine=77791234; + //BA.debugLineNum = 77791234;BA.debugLine="End Sub"; return ""; } -public boolean _pointinpolygon(anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _point,anywheresoftware.b4a.objects.collections.List _polygon) throws Exception{ +public boolean _pointinpolygon(gunav2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _point,anywheresoftware.b4a.objects.collections.List _polygon) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "pointinpolygon", false)) + {return ((Boolean) Debug.delegate(ba, "pointinpolygon", new Object[] {_point,_polygon}));} double _x = 0; double _y = 0; boolean _inside = false; @@ -760,53 +1064,64 @@ double _yi = 0; double _xj = 0; double _yj = 0; boolean _intersect = false; - //BA.debugLineNum = 365;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; - //BA.debugLineNum = 366;BA.debugLine="Dim x As Double = point.Longitude"; +RDebugUtils.currentLine=77660160; + //BA.debugLineNum = 77660160;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +RDebugUtils.currentLine=77660161; + //BA.debugLineNum = 77660161;BA.debugLine="Dim x As Double = point.Longitude"; _x = _point.getLongitude(); - //BA.debugLineNum = 367;BA.debugLine="Dim y As Double = point.Latitude"; +RDebugUtils.currentLine=77660162; + //BA.debugLineNum = 77660162;BA.debugLine="Dim y As Double = point.Latitude"; _y = _point.getLatitude(); - //BA.debugLineNum = 369;BA.debugLine="Dim inside As Boolean = False"; +RDebugUtils.currentLine=77660164; + //BA.debugLineNum = 77660164;BA.debugLine="Dim inside As Boolean = False"; _inside = __c.False; - //BA.debugLineNum = 370;BA.debugLine="For i = 0 To polygon.Size - 1"; +RDebugUtils.currentLine=77660165; + //BA.debugLineNum = 77660165;BA.debugLine="For i = 0 To polygon.Size - 1"; { final int step4 = 1; final int limit4 = (int) (_polygon.getSize()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 371;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +RDebugUtils.currentLine=77660166; + //BA.debugLineNum = 77660166;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; _j = (int) ((_i+1)%_polygon.getSize()); - //BA.debugLineNum = 372;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +RDebugUtils.currentLine=77660167; + //BA.debugLineNum = 77660167;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; _p1_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); _p1_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_i))); - //BA.debugLineNum = 373;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +RDebugUtils.currentLine=77660168; + //BA.debugLineNum = 77660168;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; _p2_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); _p2_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_j))); - //BA.debugLineNum = 375;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +RDebugUtils.currentLine=77660170; + //BA.debugLineNum = 77660170;BA.debugLine="Dim xi As Double = p1_1.Longitude"; _xi = _p1_1.getLongitude(); - //BA.debugLineNum = 376;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +RDebugUtils.currentLine=77660171; + //BA.debugLineNum = 77660171;BA.debugLine="Dim yi As Double = p1_1.Latitude"; _yi = _p1_1.getLatitude(); - //BA.debugLineNum = 377;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +RDebugUtils.currentLine=77660172; + //BA.debugLineNum = 77660172;BA.debugLine="Dim xj As Double = p2_1.Longitude"; _xj = _p2_1.getLongitude(); - //BA.debugLineNum = 378;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +RDebugUtils.currentLine=77660173; + //BA.debugLineNum = 77660173;BA.debugLine="Dim yj As Double = p2_1.Latitude"; _yj = _p2_1.getLatitude(); - //BA.debugLineNum = 380;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +RDebugUtils.currentLine=77660175; + //BA.debugLineNum = 77660175;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; _intersect = ((_yi>_y)!=(_yj>_y)) && (_x<(_xj-_xi)*(_y-_yi)/(double)(_yj-_yi)+_xi); - //BA.debugLineNum = 381;BA.debugLine="If intersect Then"; +RDebugUtils.currentLine=77660176; + //BA.debugLineNum = 77660176;BA.debugLine="If intersect Then"; if (_intersect) { - //BA.debugLineNum = 382;BA.debugLine="inside = Not(inside)"; +RDebugUtils.currentLine=77660177; + //BA.debugLineNum = 77660177;BA.debugLine="inside = Not(inside)"; _inside = __c.Not(_inside); }; } }; - //BA.debugLineNum = 386;BA.debugLine="Return inside"; +RDebugUtils.currentLine=77660181; + //BA.debugLineNum = 77660181;BA.debugLine="Return inside"; if (true) return _inside; - //BA.debugLineNum = 389;BA.debugLine="End Sub"; +RDebugUtils.currentLine=77660184; + //BA.debugLineNum = 77660184;BA.debugLine="End Sub"; return false; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_pedidos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_pedidos.java index afa4f97..61344d9 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_pedidos.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_pedidos.java @@ -10,7 +10,7 @@ public class c_pedidos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_pedidos"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_pedidos"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_pedidos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.gps.GPS _g = null; @@ -82,243 +89,386 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 80;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 81;BA.debugLine="tgl.Initialize"; -_tgl.Initialize(ba); - //BA.debugLineNum = 82;BA.debugLine="BONSABOR = 0"; -_bonsabor = BA.NumberToString(0); - //BA.debugLineNum = 83;BA.debugLine="BONSABOR2 = 0"; -_bonsabor2 = BA.NumberToString(0); - //BA.debugLineNum = 84;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 85;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 86;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 88;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 89;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 90;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 91;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 92;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 93;BA.debugLine="i_fotol.Visible = False"; -_i_fotol.setVisible(__c.False); - //BA.debugLineNum = 94;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 95;BA.debugLine="p.Shell(\"ping -c1 -W1 177.244.63.54\",Null, sb,Nul"; -_p.Shell("ping -c1 -W1 177.244.63.54",(String[])(__c.Null),(java.lang.StringBuilder)(_sb.getObject()),(java.lang.StringBuilder)(__c.Null)); - //BA.debugLineNum = 96;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -_skmt.Initialize(_ruta,"kmt.db",__c.True); - //BA.debugLineNum = 97;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_DEV from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_NOMBRE In (Select PDESC from PROID)")))); - //BA.debugLineNum = 98;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 99;BA.debugLine="L_PROID.Text = c.GetString(\"CAT_GP_ID\")"; -_l_proid.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_ID"))); - //BA.debugLineNum = 100;BA.debugLine="l_tipo.Text = c.GetString(\"CAT_GP_TIPO\")"; -_l_tipo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_TIPO"))); - //BA.debugLineNum = 101;BA.debugLine="l_sub.Text = c.GetString(\"CAT_GP_SUBTIPO\")"; -_l_sub.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_SUBTIPO"))); - //BA.debugLineNum = 102;BA.debugLine="l_marca.Text = c.GetString(\"CAT_GP_CLASIF\")"; -_l_marca.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_CLASIF"))); - //BA.debugLineNum = 103;BA.debugLine="l_desc.Text = c.GetString(\"CAT_GP_NOMBRE\")"; -_l_desc.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_NOMBRE"))); - //BA.debugLineNum = 104;BA.debugLine="l_precio.Text = c.GetDouble(\"CAT_GP_PRECIO\")"; -_l_precio.setText(BA.ObjectToCharSequence(_c.GetDouble("CAT_GP_PRECIO"))); - //BA.debugLineNum = 105;BA.debugLine="l_bodega.Text = c.GetString(\"CAT_GP_ALMACEN\")"; -_l_bodega.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_ALMACEN"))); - //BA.debugLineNum = 106;BA.debugLine="IMG_PASO = c.GetBlob(\"CAT_GP_IMG\")"; -_img_paso = _c.GetBlob("CAT_GP_IMG"); - //BA.debugLineNum = 107;BA.debugLine="PROMO_C = c.GetString(\"CAT_GP_STS\")"; -_promo_c = _c.GetString("CAT_GP_STS"); - //BA.debugLineNum = 108;BA.debugLine="cambio = c.GetString(\"CAT_GP_DEV\")"; -_cambio = _c.GetString("CAT_GP_DEV"); - //BA.debugLineNum = 109;BA.debugLine="preciosin = c.GetString(\"CAT_GP_IMP2\")"; -_preciosin = _c.GetString("CAT_GP_IMP2"); - //BA.debugLineNum = 110;BA.debugLine="PROMO_CR = c.GetString(\"CAT_GP_IMP1\")"; -_promo_cr = _c.GetString("CAT_GP_IMP1"); - //BA.debugLineNum = 111;BA.debugLine="cambio = \"0\""; -_cambio = "0"; - //BA.debugLineNum = 113;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS FROM pedido WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select cuenta from cuentaa) ",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 114;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 115;BA.debugLine="If e.GetString(\"CUANTOS\") = 0 Then"; -if ((_e.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 116;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; -if ((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS")) { - //BA.debugLineNum = 117;BA.debugLine="DESC_PROMO.Visible = True"; -_desc_promo.setVisible(__c.True); - //BA.debugLineNum = 118;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select co"; -_cc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS FROM PROMOS_COMP WHERE CAT_PA_ID = ?",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 119;BA.debugLine="CC.Position =0"; -_cc.setPosition((int) (0)); - //BA.debugLineNum = 120;BA.debugLine="If CC.GetString(\"CUANTOS\") = 0 Then"; -if ((_cc.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 121;BA.debugLine="l_bodega.Text = \"0\" ' se modifica a cero para"; -_l_bodega.setText(BA.ObjectToCharSequence("0")); - }else { - //BA.debugLineNum = 123;BA.debugLine="CC.Close"; -_cc.Close(); - //BA.debugLineNum = 124;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select C"; -_cc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE FROM PROMOS_COMP WHERE CAT_PA_ID = ?",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 125;BA.debugLine="CC.Position =0"; -_cc.setPosition((int) (0)); - //BA.debugLineNum = 127;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 128;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 129;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; -if ((_dd.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 130;BA.debugLine="HCCP_CANT = 0"; -_hccp_cant = BA.NumberToString(0); - }else { - //BA.debugLineNum = 132;BA.debugLine="DD.Close"; -_dd.Close(); - //BA.debugLineNum = 133;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT HCCP_CANT FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 134;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 135;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; -_hccp_cant = _dd.GetString("HCCP_CANT"); - //BA.debugLineNum = 136;BA.debugLine="DD.Close"; -_dd.Close(); - }; - //BA.debugLineNum = 138;BA.debugLine="BONSABOR = HCCP_CANT"; -_bonsabor = _hccp_cant; - //BA.debugLineNum = 139;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{_c.GetString("CAT_GP_NOMBRE")}))); - //BA.debugLineNum = 140;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 141;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; -if ((_dd.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 142;BA.debugLine="HCCP_CANT = 0"; -_hccp_cant = BA.NumberToString(0); - }else { - //BA.debugLineNum = 144;BA.debugLine="DD.Close"; -_dd.Close(); - //BA.debugLineNum = 145;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(HVD_CANT) AS HCCP_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{_c.GetString("CAT_GP_NOMBRE")}))); - //BA.debugLineNum = 146;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 147;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; -_hccp_cant = _dd.GetString("HCCP_CANT"); - //BA.debugLineNum = 148;BA.debugLine="DD.Close"; -_dd.Close(); - }; - //BA.debugLineNum = 150;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2($\"Select"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_CLASIF = ?) "),new String[]{_c.GetString("CAT_GP_NOMBRE")}))); - //BA.debugLineNum = 151;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 152;BA.debugLine="BONSABOR2 = DD.GetString(\"CUANTOS\")"; -_bonsabor2 = _dd.GetString("CUANTOS"); - //BA.debugLineNum = 153;BA.debugLine="DD.Close"; -_dd.Close(); - //BA.debugLineNum = 154;BA.debugLine="TOTAL_PROMO = CC.GetString(\"CAT_PA_MAXPROMCLIE"; -_total_promo = BA.NumberToString((double)(Double.parseDouble(_cc.GetString("CAT_PA_MAXPROMCLIE")))-(double)(Double.parseDouble(_hccp_cant))); - //BA.debugLineNum = 155;BA.debugLine="If HCCP_CANT = 0 Then"; -if ((_hccp_cant).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 156;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM\""; -_l_bodega.setText(BA.ObjectToCharSequence(_cc.GetString("CAT_PA_MAXPROM"))); - }else if((double)(Double.parseDouble(_total_promo))>(double)(Double.parseDouble(_cc.GetString("CAT_PA_MAXPROMREC")))) { - //BA.debugLineNum = 158;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM"; -_l_bodega.setText(BA.ObjectToCharSequence(_cc.GetString("CAT_PA_MAXPROMREC"))); - }else { - //BA.debugLineNum = 160;BA.debugLine="l_bodega.Text = TOTAL_PROMO"; -_l_bodega.setText(BA.ObjectToCharSequence(_total_promo)); - }; - }; - }else { - //BA.debugLineNum = 164;BA.debugLine="DESC_PROMO.Visible = False"; -_desc_promo.setVisible(__c.False); - }; - //BA.debugLineNum = 166;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 167;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CASE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CASE WHEN pe_costo_tot is null then 0 else sum( pe_costo_tot ) end as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 168;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 169;BA.debugLine="t_venta.Text = c.GetString(\"TOTAL_CLIE\")"; -_t_venta.setText(BA.ObjectToCharSequence(_c.GetString("TOTAL_CLIE"))); - //BA.debugLineNum = 170;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 171;BA.debugLine="Terminar.Visible = True"; -_terminar.setVisible(__c.True); - //BA.debugLineNum = 172;BA.debugLine="guardar.Visible = True"; -_guardar.setVisible(__c.True); - //BA.debugLineNum = 173;BA.debugLine="cantidad.Visible = True"; -_cantidad.setVisible(__c.True); - //BA.debugLineNum = 174;BA.debugLine="If cambio = \"1\" Then"; -if ((_cambio).equals("1")) { - //BA.debugLineNum = 175;BA.debugLine="nopromo.Visible = True"; -_nopromo.setVisible(__c.True); - }else { - //BA.debugLineNum = 177;BA.debugLine="nopromo.Visible = False"; -_nopromo.setVisible(__c.False); - }; - //BA.debugLineNum = 179;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 180;BA.debugLine="out = File.OpenOutput(ruta, \"1.jpg\", False)"; -_out = __c.File.OpenOutput(_ruta,"1.jpg",__c.False); - //BA.debugLineNum = 181;BA.debugLine="out.WriteBytes(IMG_PASO, 0, IMG_PASO.Length)"; -_out.WriteBytes(_img_paso,(int) (0),_img_paso.length); - //BA.debugLineNum = 182;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 183;BA.debugLine="img_prod.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; -_img_prod.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(_ruta,"1.jpg").getObject())); - //BA.debugLineNum = 184;BA.debugLine="TOT_ART_PROMO = \"0\""; -_tot_art_promo = "0"; - //BA.debugLineNum = 185;BA.debugLine="TOT_ART_PROMOR = \"0\""; -_tot_art_promor = "0"; - //BA.debugLineNum = 186;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; -if ((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (_l_bodega.getText()).equals("0")) { - //BA.debugLineNum = 187;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; -__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"),ba); - //BA.debugLineNum = 188;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (_l_proid.getText()).equals("PROUNI1") && (_bonsabor).equals("1") == false && (_bonsabor2).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 190;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; -__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"),ba); - //BA.debugLineNum = 191;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }; - }else { - //BA.debugLineNum = 194;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE YA COMPRO ESTE PRODU"; -__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE YA COMPRO ESTE PRODUCTO REVISAR NOTA"),ba); - //BA.debugLineNum = 195;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }; - //BA.debugLineNum = 197;BA.debugLine="End Sub"; +public Object _initialize(gunav2.keymon.com.mx.c_pedidos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=78118912; + //BA.debugLineNum = 78118912;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=78118913; + //BA.debugLineNum = 78118913;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=78118914; + //BA.debugLineNum = 78118914;BA.debugLine="End Sub"; +return null; +} +public String _gps_locationchanged(gunav2.keymon.com.mx.c_pedidos __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=78381056; + //BA.debugLineNum = 78381056;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=78381059; + //BA.debugLineNum = 78381059;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _b4xpage_appear(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=78249984; + //BA.debugLineNum = 78249984;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=78249985; + //BA.debugLineNum = 78249985;BA.debugLine="tgl.Initialize"; +__ref._tgl /*com.rootsoft.togglelibrary.ToggleLibrary*/ .Initialize(ba); +RDebugUtils.currentLine=78249986; + //BA.debugLineNum = 78249986;BA.debugLine="BONSABOR = 0"; +__ref._bonsabor /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=78249987; + //BA.debugLineNum = 78249987;BA.debugLine="BONSABOR2 = 0"; +__ref._bonsabor2 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=78249988; + //BA.debugLineNum = 78249988;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=78249989; + //BA.debugLineNum = 78249989;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); +RDebugUtils.currentLine=78249990; + //BA.debugLineNum = 78249990;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }; +RDebugUtils.currentLine=78249992; + //BA.debugLineNum = 78249992;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=78249993; + //BA.debugLineNum = 78249993;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=78249994; + //BA.debugLineNum = 78249994;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78249995; + //BA.debugLineNum = 78249995;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=78249996; + //BA.debugLineNum = 78249996;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78249997; + //BA.debugLineNum = 78249997;BA.debugLine="i_fotol.Visible = False"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=78249998; + //BA.debugLineNum = 78249998;BA.debugLine="sb.Initialize"; +__ref._sb /*anywheresoftware.b4a.keywords.StringBuilderWrapper*/ .Initialize(); +RDebugUtils.currentLine=78249999; + //BA.debugLineNum = 78249999;BA.debugLine="p.Shell(\"ping -c1 -W1 177.244.63.54\",Null, sb,Nul"; +__ref._p /*anywheresoftware.b4a.phone.Phone*/ .Shell("ping -c1 -W1 177.244.63.54",(String[])(__c.Null),(java.lang.StringBuilder)(__ref._sb /*anywheresoftware.b4a.keywords.StringBuilderWrapper*/ .getObject()),(java.lang.StringBuilder)(__c.Null)); +RDebugUtils.currentLine=78250000; + //BA.debugLineNum = 78250000;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",__c.True); +RDebugUtils.currentLine=78250001; + //BA.debugLineNum = 78250001;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_DEV from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_NOMBRE In (Select PDESC from PROID)")))); +RDebugUtils.currentLine=78250002; + //BA.debugLineNum = 78250002;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250003; + //BA.debugLineNum = 78250003;BA.debugLine="L_PROID.Text = c.GetString(\"CAT_GP_ID\")"; +__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"))); +RDebugUtils.currentLine=78250004; + //BA.debugLineNum = 78250004;BA.debugLine="l_tipo.Text = c.GetString(\"CAT_GP_TIPO\")"; +__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_TIPO"))); +RDebugUtils.currentLine=78250005; + //BA.debugLineNum = 78250005;BA.debugLine="l_sub.Text = c.GetString(\"CAT_GP_SUBTIPO\")"; +__ref._l_sub /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_SUBTIPO"))); +RDebugUtils.currentLine=78250006; + //BA.debugLineNum = 78250006;BA.debugLine="l_marca.Text = c.GetString(\"CAT_GP_CLASIF\")"; +__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF"))); +RDebugUtils.currentLine=78250007; + //BA.debugLineNum = 78250007;BA.debugLine="l_desc.Text = c.GetString(\"CAT_GP_NOMBRE\")"; +__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE"))); +RDebugUtils.currentLine=78250008; + //BA.debugLineNum = 78250008;BA.debugLine="l_precio.Text = c.GetDouble(\"CAT_GP_PRECIO\")"; +__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("CAT_GP_PRECIO"))); +RDebugUtils.currentLine=78250009; + //BA.debugLineNum = 78250009;BA.debugLine="l_bodega.Text = c.GetString(\"CAT_GP_ALMACEN\")"; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ALMACEN"))); +RDebugUtils.currentLine=78250010; + //BA.debugLineNum = 78250010;BA.debugLine="IMG_PASO = c.GetBlob(\"CAT_GP_IMG\")"; +__ref._img_paso /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("CAT_GP_IMG"); +RDebugUtils.currentLine=78250011; + //BA.debugLineNum = 78250011;BA.debugLine="PROMO_C = c.GetString(\"CAT_GP_STS\")"; +__ref._promo_c /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_STS"); +RDebugUtils.currentLine=78250012; + //BA.debugLineNum = 78250012;BA.debugLine="cambio = c.GetString(\"CAT_GP_DEV\")"; +__ref._cambio /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_DEV"); +RDebugUtils.currentLine=78250013; + //BA.debugLineNum = 78250013;BA.debugLine="preciosin = c.GetString(\"CAT_GP_IMP2\")"; +__ref._preciosin /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_IMP2"); +RDebugUtils.currentLine=78250014; + //BA.debugLineNum = 78250014;BA.debugLine="PROMO_CR = c.GetString(\"CAT_GP_IMP1\")"; +__ref._promo_cr /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_IMP1"); +RDebugUtils.currentLine=78250015; + //BA.debugLineNum = 78250015;BA.debugLine="cambio = \"0\""; +__ref._cambio /*String*/ = "0"; +RDebugUtils.currentLine=78250017; + //BA.debugLineNum = 78250017;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS FROM pedido WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select cuenta from cuentaa) ",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=78250018; + //BA.debugLineNum = 78250018;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250019; + //BA.debugLineNum = 78250019;BA.debugLine="If e.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78250020; + //BA.debugLineNum = 78250020;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS")) { +RDebugUtils.currentLine=78250021; + //BA.debugLineNum = 78250021;BA.debugLine="DESC_PROMO.Visible = True"; +__ref._desc_promo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=78250022; + //BA.debugLineNum = 78250022;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select co"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS FROM PROMOS_COMP WHERE CAT_PA_ID = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=78250023; + //BA.debugLineNum = 78250023;BA.debugLine="CC.Position =0"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250024; + //BA.debugLineNum = 78250024;BA.debugLine="If CC.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78250025; + //BA.debugLineNum = 78250025;BA.debugLine="l_bodega.Text = \"0\" ' se modifica a cero para"; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }else { +RDebugUtils.currentLine=78250027; + //BA.debugLineNum = 78250027;BA.debugLine="CC.Close"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78250028; + //BA.debugLineNum = 78250028;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select C"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE FROM PROMOS_COMP WHERE CAT_PA_ID = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=78250029; + //BA.debugLineNum = 78250029;BA.debugLine="CC.Position =0"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250031; + //BA.debugLineNum = 78250031;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=78250032; + //BA.debugLineNum = 78250032;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250033; + //BA.debugLineNum = 78250033;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78250034; + //BA.debugLineNum = 78250034;BA.debugLine="HCCP_CANT = 0"; +__ref._hccp_cant /*String*/ = BA.NumberToString(0); + }else { +RDebugUtils.currentLine=78250036; + //BA.debugLineNum = 78250036;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78250037; + //BA.debugLineNum = 78250037;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT HCCP_CANT FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=78250038; + //BA.debugLineNum = 78250038;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250039; + //BA.debugLineNum = 78250039;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; +__ref._hccp_cant /*String*/ = __ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HCCP_CANT"); +RDebugUtils.currentLine=78250040; + //BA.debugLineNum = 78250040;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=78250042; + //BA.debugLineNum = 78250042;BA.debugLine="BONSABOR = HCCP_CANT"; +__ref._bonsabor /*String*/ = __ref._hccp_cant /*String*/ ; +RDebugUtils.currentLine=78250043; + //BA.debugLineNum = 78250043;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")}))); +RDebugUtils.currentLine=78250044; + //BA.debugLineNum = 78250044;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250045; + //BA.debugLineNum = 78250045;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78250046; + //BA.debugLineNum = 78250046;BA.debugLine="HCCP_CANT = 0"; +__ref._hccp_cant /*String*/ = BA.NumberToString(0); + }else { +RDebugUtils.currentLine=78250048; + //BA.debugLineNum = 78250048;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78250049; + //BA.debugLineNum = 78250049;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(HVD_CANT) AS HCCP_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")}))); +RDebugUtils.currentLine=78250050; + //BA.debugLineNum = 78250050;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250051; + //BA.debugLineNum = 78250051;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; +__ref._hccp_cant /*String*/ = __ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HCCP_CANT"); +RDebugUtils.currentLine=78250052; + //BA.debugLineNum = 78250052;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=78250054; + //BA.debugLineNum = 78250054;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2($\"Select"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_CLASIF = ?) "),new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")}))); +RDebugUtils.currentLine=78250055; + //BA.debugLineNum = 78250055;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250056; + //BA.debugLineNum = 78250056;BA.debugLine="BONSABOR2 = DD.GetString(\"CUANTOS\")"; +__ref._bonsabor2 /*String*/ = __ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=78250057; + //BA.debugLineNum = 78250057;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78250058; + //BA.debugLineNum = 78250058;BA.debugLine="TOTAL_PROMO = CC.GetString(\"CAT_PA_MAXPROMCLIE"; +__ref._total_promo /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_MAXPROMCLIE")))-(double)(Double.parseDouble(__ref._hccp_cant /*String*/ ))); +RDebugUtils.currentLine=78250059; + //BA.debugLineNum = 78250059;BA.debugLine="If HCCP_CANT = 0 Then"; +if ((__ref._hccp_cant /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78250060; + //BA.debugLineNum = 78250060;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM\""; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_MAXPROM"))); + }else +{RDebugUtils.currentLine=78250061; + //BA.debugLineNum = 78250061;BA.debugLine="Else IF TOTAL_PROMO > CC.GetString(\"CAT_PA_MAX"; +if ((double)(Double.parseDouble(__ref._total_promo /*String*/ ))>(double)(Double.parseDouble(__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_MAXPROMREC")))) { +RDebugUtils.currentLine=78250062; + //BA.debugLineNum = 78250062;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM"; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_MAXPROMREC"))); + }else { +RDebugUtils.currentLine=78250064; + //BA.debugLineNum = 78250064;BA.debugLine="l_bodega.Text = TOTAL_PROMO"; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._total_promo /*String*/ )); + }} +; + }; + }else { +RDebugUtils.currentLine=78250068; + //BA.debugLineNum = 78250068;BA.debugLine="DESC_PROMO.Visible = False"; +__ref._desc_promo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=78250070; + //BA.debugLineNum = 78250070;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78250071; + //BA.debugLineNum = 78250071;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CASE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CASE WHEN pe_costo_tot is null then 0 else sum( pe_costo_tot ) end as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=78250072; + //BA.debugLineNum = 78250072;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78250073; + //BA.debugLineNum = 78250073;BA.debugLine="t_venta.Text = c.GetString(\"TOTAL_CLIE\")"; +__ref._t_venta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))); +RDebugUtils.currentLine=78250074; + //BA.debugLineNum = 78250074;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78250075; + //BA.debugLineNum = 78250075;BA.debugLine="Terminar.Visible = True"; +__ref._terminar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=78250076; + //BA.debugLineNum = 78250076;BA.debugLine="guardar.Visible = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=78250077; + //BA.debugLineNum = 78250077;BA.debugLine="cantidad.Visible = True"; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=78250078; + //BA.debugLineNum = 78250078;BA.debugLine="If cambio = \"1\" Then"; +if ((__ref._cambio /*String*/ ).equals("1")) { +RDebugUtils.currentLine=78250079; + //BA.debugLineNum = 78250079;BA.debugLine="nopromo.Visible = True"; +__ref._nopromo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=78250081; + //BA.debugLineNum = 78250081;BA.debugLine="nopromo.Visible = False"; +__ref._nopromo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=78250083; + //BA.debugLineNum = 78250083;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=78250084; + //BA.debugLineNum = 78250084;BA.debugLine="out = File.OpenOutput(ruta, \"1.jpg\", False)"; +_out = __c.File.OpenOutput(__ref._ruta /*String*/ ,"1.jpg",__c.False); +RDebugUtils.currentLine=78250085; + //BA.debugLineNum = 78250085;BA.debugLine="out.WriteBytes(IMG_PASO, 0, IMG_PASO.Length)"; +_out.WriteBytes(__ref._img_paso /*byte[]*/ ,(int) (0),__ref._img_paso /*byte[]*/ .length); +RDebugUtils.currentLine=78250086; + //BA.debugLineNum = 78250086;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=78250087; + //BA.debugLineNum = 78250087;BA.debugLine="img_prod.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; +__ref._img_prod /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__ref._ruta /*String*/ ,"1.jpg").getObject())); +RDebugUtils.currentLine=78250088; + //BA.debugLineNum = 78250088;BA.debugLine="TOT_ART_PROMO = \"0\""; +__ref._tot_art_promo /*String*/ = "0"; +RDebugUtils.currentLine=78250089; + //BA.debugLineNum = 78250089;BA.debugLine="TOT_ART_PROMOR = \"0\""; +__ref._tot_art_promor /*String*/ = "0"; +RDebugUtils.currentLine=78250090; + //BA.debugLineNum = 78250090;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=78250091; + //BA.debugLineNum = 78250091;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; +__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"),ba); +RDebugUtils.currentLine=78250092; + //BA.debugLineNum = 78250092;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }else +{RDebugUtils.currentLine=78250093; + //BA.debugLineNum = 78250093;BA.debugLine="ELSE IF l_marca.text = \"PROMOS\" And l_tipo.Text"; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROUNI1") && (__ref._bonsabor /*String*/ ).equals("1") == false && (__ref._bonsabor2 /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78250094; + //BA.debugLineNum = 78250094;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; +__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"),ba); +RDebugUtils.currentLine=78250095; + //BA.debugLineNum = 78250095;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }} +; + }else { +RDebugUtils.currentLine=78250098; + //BA.debugLineNum = 78250098;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE YA COMPRO ESTE PRODU"; +__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE YA COMPRO ESTE PRODUCTO REVISAR NOTA"),ba); +RDebugUtils.currentLine=78250099; + //BA.debugLineNum = 78250099;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }; +RDebugUtils.currentLine=78250101; + //BA.debugLineNum = 78250101;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_pedidos parent) { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_pedidos parent,gunav2.keymon.com.mx.c_pedidos __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_pedidos __ref; gunav2.keymon.com.mx.c_pedidos parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_pedidos"; while (true) { switch (state) { @@ -328,864 +478,1269 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 535;BA.debugLine="Msgbox(\"Presione Boton Terminar.\",\"ADVERTENCIA\")"; +RDebugUtils.currentLine=78512131; + //BA.debugLineNum = 78512131;BA.debugLine="Msgbox(\"Presione Boton Terminar.\",\"ADVERTENCIA\")"; parent.__c.Msgbox(BA.ObjectToCharSequence("Presione Boton Terminar."),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - //BA.debugLineNum = 536;BA.debugLine="Return False"; +RDebugUtils.currentLine=78512132; + //BA.debugLineNum = 78512132;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 537;BA.debugLine="End Sub"; +RDebugUtils.currentLine=78512133; + //BA.debugLineNum = 78512133;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 65;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 66;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 68;BA.debugLine="Root.LoadLayout(\"pedido\")"; -_root.LoadLayout("pedido",ba); - //BA.debugLineNum = 69;BA.debugLine="i_fotol.Visible = False"; -_i_fotol.setVisible(__c.False); - //BA.debugLineNum = 71;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 72;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 73;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); +public String _b4xpage_created(gunav2.keymon.com.mx.c_pedidos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=78184448; + //BA.debugLineNum = 78184448;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=78184449; + //BA.debugLineNum = 78184449;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=78184451; + //BA.debugLineNum = 78184451;BA.debugLine="Root.LoadLayout(\"pedido\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("pedido",ba); +RDebugUtils.currentLine=78184452; + //BA.debugLineNum = 78184452;BA.debugLine="i_fotol.Visible = False"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=78184454; + //BA.debugLineNum = 78184454;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=78184455; + //BA.debugLineNum = 78184455;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=78184456; + //BA.debugLineNum = 78184456;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); }; - //BA.debugLineNum = 76;BA.debugLine="End Sub"; +RDebugUtils.currentLine=78184459; + //BA.debugLineNum = 78184459;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +RDebugUtils.currentLine=78053376; + //BA.debugLineNum = 78053376;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=78053377; + //BA.debugLineNum = 78053377;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=78053378; + //BA.debugLineNum = 78053378;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=78053380; + //BA.debugLineNum = 78053380;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=78053381; + //BA.debugLineNum = 78053381;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +RDebugUtils.currentLine=78053382; + //BA.debugLineNum = 78053382;BA.debugLine="Dim skmt As SQL"; _skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 8;BA.debugLine="Private t3 As Timer"; +RDebugUtils.currentLine=78053383; + //BA.debugLineNum = 78053383;BA.debugLine="Private t3 As Timer"; _t3 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; +RDebugUtils.currentLine=78053384; + //BA.debugLineNum = 78053384;BA.debugLine="Dim p As Phone"; _p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 10;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=78053385; + //BA.debugLineNum = 78053385;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=78053387; + //BA.debugLineNum = 78053387;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim e As Cursor"; +RDebugUtils.currentLine=78053388; + //BA.debugLineNum = 78053388;BA.debugLine="Dim e As Cursor"; _e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim f As Cursor"; +RDebugUtils.currentLine=78053389; + //BA.debugLineNum = 78053389;BA.debugLine="Dim f As Cursor"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim h As Cursor"; +RDebugUtils.currentLine=78053390; + //BA.debugLineNum = 78053390;BA.debugLine="Dim h As Cursor"; _h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim CC As Cursor"; +RDebugUtils.currentLine=78053391; + //BA.debugLineNum = 78053391;BA.debugLine="Dim CC As Cursor"; _cc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim DD As Cursor"; +RDebugUtils.currentLine=78053392; + //BA.debugLineNum = 78053392;BA.debugLine="Dim DD As Cursor"; _dd = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim l_tipo As Label"; +RDebugUtils.currentLine=78053393; + //BA.debugLineNum = 78053393;BA.debugLine="Dim l_tipo As Label"; _l_tipo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim l_sub As Label"; +RDebugUtils.currentLine=78053394; + //BA.debugLineNum = 78053394;BA.debugLine="Dim l_sub As Label"; _l_sub = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim l_marca As Label"; +RDebugUtils.currentLine=78053395; + //BA.debugLineNum = 78053395;BA.debugLine="Dim l_marca As Label"; _l_marca = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim l_desc As Label"; +RDebugUtils.currentLine=78053396; + //BA.debugLineNum = 78053396;BA.debugLine="Dim l_desc As Label"; _l_desc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim l_precio As Label"; +RDebugUtils.currentLine=78053397; + //BA.debugLineNum = 78053397;BA.debugLine="Dim l_precio As Label"; _l_precio = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Dim l_bodega As Label"; +RDebugUtils.currentLine=78053398; + //BA.debugLineNum = 78053398;BA.debugLine="Dim l_bodega As Label"; _l_bodega = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim cantidad As EditText"; +RDebugUtils.currentLine=78053399; + //BA.debugLineNum = 78053399;BA.debugLine="Dim cantidad As EditText"; _cantidad = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim guardar As Button"; +RDebugUtils.currentLine=78053400; + //BA.debugLineNum = 78053400;BA.debugLine="Dim guardar As Button"; _guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim Terminar As Button"; +RDebugUtils.currentLine=78053401; + //BA.debugLineNum = 78053401;BA.debugLine="Dim Terminar As Button"; _terminar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Dim img_prod As ImageView"; +RDebugUtils.currentLine=78053402; + //BA.debugLineNum = 78053402;BA.debugLine="Dim img_prod As ImageView"; _img_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim IMG_PASO() As Byte"; +RDebugUtils.currentLine=78053403; + //BA.debugLineNum = 78053403;BA.debugLine="Dim IMG_PASO() As Byte"; _img_paso = new byte[(int) (0)]; ; - //BA.debugLineNum = 29;BA.debugLine="Dim L_PROID As Label"; +RDebugUtils.currentLine=78053404; + //BA.debugLineNum = 78053404;BA.debugLine="Dim L_PROID As Label"; _l_proid = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim clie_id As String"; +RDebugUtils.currentLine=78053405; + //BA.debugLineNum = 78053405;BA.debugLine="Dim clie_id As String"; _clie_id = ""; - //BA.debugLineNum = 31;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=78053406; + //BA.debugLineNum = 78053406;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 32;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=78053407; + //BA.debugLineNum = 78053407;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 34;BA.debugLine="Dim t_venta As Label"; +RDebugUtils.currentLine=78053409; + //BA.debugLineNum = 78053409;BA.debugLine="Dim t_venta As Label"; _t_venta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim PROMO_C As String"; +RDebugUtils.currentLine=78053410; + //BA.debugLineNum = 78053410;BA.debugLine="Dim PROMO_C As String"; _promo_c = ""; - //BA.debugLineNum = 36;BA.debugLine="Dim i_fotol As ImageView"; +RDebugUtils.currentLine=78053411; + //BA.debugLineNum = 78053411;BA.debugLine="Dim i_fotol As ImageView"; _i_fotol = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private DESC_PROMO As Button"; +RDebugUtils.currentLine=78053412; + //BA.debugLineNum = 78053412;BA.debugLine="Private DESC_PROMO As Button"; _desc_promo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private nopromo As Button"; +RDebugUtils.currentLine=78053413; + //BA.debugLineNum = 78053413;BA.debugLine="Private nopromo As Button"; _nopromo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim TOT_ART_PROMO As String"; +RDebugUtils.currentLine=78053414; + //BA.debugLineNum = 78053414;BA.debugLine="Dim TOT_ART_PROMO As String"; _tot_art_promo = ""; - //BA.debugLineNum = 40;BA.debugLine="Dim cambio As String"; +RDebugUtils.currentLine=78053415; + //BA.debugLineNum = 78053415;BA.debugLine="Dim cambio As String"; _cambio = ""; - //BA.debugLineNum = 41;BA.debugLine="Dim COSTO_TOT As String"; +RDebugUtils.currentLine=78053416; + //BA.debugLineNum = 78053416;BA.debugLine="Dim COSTO_TOT As String"; _costo_tot = ""; - //BA.debugLineNum = 42;BA.debugLine="Dim ALMACEN As String"; +RDebugUtils.currentLine=78053417; + //BA.debugLineNum = 78053417;BA.debugLine="Dim ALMACEN As String"; _almacen = ""; - //BA.debugLineNum = 43;BA.debugLine="Dim preciosin As String"; +RDebugUtils.currentLine=78053418; + //BA.debugLineNum = 78053418;BA.debugLine="Dim preciosin As String"; _preciosin = ""; - //BA.debugLineNum = 44;BA.debugLine="Dim cl_ruta As String"; +RDebugUtils.currentLine=78053419; + //BA.debugLineNum = 78053419;BA.debugLine="Dim cl_ruta As String"; _cl_ruta = ""; - //BA.debugLineNum = 45;BA.debugLine="Dim d As Cursor"; +RDebugUtils.currentLine=78053420; + //BA.debugLineNum = 78053420;BA.debugLine="Dim d As Cursor"; _d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Dim TOT_ART_PROMOR As String"; +RDebugUtils.currentLine=78053421; + //BA.debugLineNum = 78053421;BA.debugLine="Dim TOT_ART_PROMOR As String"; _tot_art_promor = ""; - //BA.debugLineNum = 47;BA.debugLine="Dim PROMO_CR As String"; +RDebugUtils.currentLine=78053422; + //BA.debugLineNum = 78053422;BA.debugLine="Dim PROMO_CR As String"; _promo_cr = ""; - //BA.debugLineNum = 48;BA.debugLine="Dim TOTAL_PROMO As String"; +RDebugUtils.currentLine=78053423; + //BA.debugLineNum = 78053423;BA.debugLine="Dim TOTAL_PROMO As String"; _total_promo = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim HCCP_CANT As String"; +RDebugUtils.currentLine=78053424; + //BA.debugLineNum = 78053424;BA.debugLine="Dim HCCP_CANT As String"; _hccp_cant = ""; - //BA.debugLineNum = 50;BA.debugLine="Dim tgl As Toggle"; +RDebugUtils.currentLine=78053425; + //BA.debugLineNum = 78053425;BA.debugLine="Dim tgl As Toggle"; _tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 51;BA.debugLine="Dim precio_Cero As String"; +RDebugUtils.currentLine=78053426; + //BA.debugLineNum = 78053426;BA.debugLine="Dim precio_Cero As String"; _precio_cero = ""; - //BA.debugLineNum = 52;BA.debugLine="Private BONSABOR As String"; +RDebugUtils.currentLine=78053427; + //BA.debugLineNum = 78053427;BA.debugLine="Private BONSABOR As String"; _bonsabor = ""; - //BA.debugLineNum = 53;BA.debugLine="Private BONSABOR2 As String"; +RDebugUtils.currentLine=78053428; + //BA.debugLineNum = 78053428;BA.debugLine="Private BONSABOR2 As String"; _bonsabor2 = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=78053429; + //BA.debugLineNum = 78053429;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 55;BA.debugLine="Private p_pedido As Panel"; +RDebugUtils.currentLine=78053430; + //BA.debugLineNum = 78053430;BA.debugLine="Private p_pedido As Panel"; _p_pedido = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 56;BA.debugLine="dim tipo_venta as string = Subs.traeTipoVentaDeBD"; +RDebugUtils.currentLine=78053431; + //BA.debugLineNum = 78053431;BA.debugLine="dim tipo_venta as string = Subs.traeTipoVentaDeBD"; _tipo_venta = _subs._traetipoventadebd /*String*/ (ba); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; +RDebugUtils.currentLine=78053432; + //BA.debugLineNum = 78053432;BA.debugLine="End Sub"; return ""; } -public String _desc_promo_click() throws Exception{ - //BA.debugLineNum = 549;BA.debugLine="Sub DESC_PROMO_Click"; - //BA.debugLineNum = 550;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +public String _desc_promo_click(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "desc_promo_click", false)) + {return ((String) Debug.delegate(ba, "desc_promo_click", null));} +RDebugUtils.currentLine=78708736; + //BA.debugLineNum = 78708736;BA.debugLine="Sub DESC_PROMO_Click"; +RDebugUtils.currentLine=78708737; + //BA.debugLineNum = 78708737;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 551;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 552;BA.debugLine="B4XPages.ShowPage(\"detalle_promo\")"; +RDebugUtils.currentLine=78708738; + //BA.debugLineNum = 78708738;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78708739; + //BA.debugLineNum = 78708739;BA.debugLine="B4XPages.ShowPage(\"detalle_promo\")"; _b4xpages._showpage /*String*/ (ba,"detalle_promo"); - //BA.debugLineNum = 553;BA.debugLine="End Sub"; +RDebugUtils.currentLine=78708740; + //BA.debugLineNum = 78708740;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 360;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 363;BA.debugLine="End Sub"; -return ""; -} -public String _guardar_click() throws Exception{ +public String _guardar_click(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "guardar_click", false)) + {return ((String) Debug.delegate(ba, "guardar_click", null));} int _i = 0; - //BA.debugLineNum = 199;BA.debugLine="Sub guardar_Click"; - //BA.debugLineNum = 200;BA.debugLine="If cantidad.Text = \"\" Then"; -if ((_cantidad.getText()).equals("")) { - //BA.debugLineNum = 201;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +RDebugUtils.currentLine=78315520; + //BA.debugLineNum = 78315520;BA.debugLine="Sub guardar_Click"; +RDebugUtils.currentLine=78315521; + //BA.debugLineNum = 78315521;BA.debugLine="If cantidad.Text = \"\" Then"; +if ((__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=78315522; + //BA.debugLineNum = 78315522;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); - }else if((double)(Double.parseDouble(_cantidad.getText()))>(double)(Double.parseDouble(_l_bodega.getText()))) { - //BA.debugLineNum = 203;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; + }else +{RDebugUtils.currentLine=78315523; + //BA.debugLineNum = 78315523;BA.debugLine="ELSE If cantidad.Text > l_bodega.Text Then"; +if ((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))) { +RDebugUtils.currentLine=78315524; + //BA.debugLineNum = 78315524;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; __c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (double)(Double.parseDouble(_promo_c))>0 && (double)(Double.parseDouble(_cantidad.getText()))>0) { - //BA.debugLineNum = 205;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; + }else +{RDebugUtils.currentLine=78315525; + //BA.debugLineNum = 78315525;BA.debugLine="Else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (double)(Double.parseDouble(__ref._promo_c /*String*/ ))>0 && (double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>0) { +RDebugUtils.currentLine=78315526; + //BA.debugLineNum = 78315526;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 206;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 207;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 208;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 209;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; -if ((_c.GetString("CUANTOSD")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 210;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; +RDebugUtils.currentLine=78315527; + //BA.debugLineNum = 78315527;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78315528; + //BA.debugLineNum = 78315528;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=78315529; + //BA.debugLineNum = 78315529;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315530; + //BA.debugLineNum = 78315530;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOSD")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78315531; + //BA.debugLineNum = 78315531;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; __c.Msgbox(BA.ObjectToCharSequence("No tiene venta el cliente para la promo"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); }else { - //BA.debugLineNum = 212;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)"))); - //BA.debugLineNum = 213;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 214;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; -_tot_art_promo = _c.GetString("TOT_ART_PROMO"); - //BA.debugLineNum = 215;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; -_costo_tot = _c.GetString("COSTO_TOT"); - //BA.debugLineNum = 216;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 217;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 218;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 219;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; -if ((_c.GetString("CUANTOSD")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 220;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; -_tot_art_promor = "0"; +RDebugUtils.currentLine=78315533; + //BA.debugLineNum = 78315533;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)"))); +RDebugUtils.currentLine=78315534; + //BA.debugLineNum = 78315534;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315535; + //BA.debugLineNum = 78315535;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; +__ref._tot_art_promo /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOT_ART_PROMO"); +RDebugUtils.currentLine=78315536; + //BA.debugLineNum = 78315536;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; +__ref._costo_tot /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COSTO_TOT"); +RDebugUtils.currentLine=78315537; + //BA.debugLineNum = 78315537;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315538; + //BA.debugLineNum = 78315538;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=78315539; + //BA.debugLineNum = 78315539;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315540; + //BA.debugLineNum = 78315540;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOSD")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78315541; + //BA.debugLineNum = 78315541;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; +__ref._tot_art_promor /*String*/ = "0"; }else { - //BA.debugLineNum = 222;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 223;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 224;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; -_tot_art_promor = _c.GetString("TOT_ART_PROMO"); +RDebugUtils.currentLine=78315543; + //BA.debugLineNum = 78315543;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=78315544; + //BA.debugLineNum = 78315544;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315545; + //BA.debugLineNum = 78315545;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; +__ref._tot_art_promor /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOT_ART_PROMO"); }; - //BA.debugLineNum = 226;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 227;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; -_promo_c = BA.NumberToString((double)(Double.parseDouble(_promo_c))*(double)(Double.parseDouble(_cantidad.getText()))); - //BA.debugLineNum = 228;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; -_promo_cr = BA.NumberToString((double)(Double.parseDouble(_promo_cr))*(double)(Double.parseDouble(_cantidad.getText()))); - //BA.debugLineNum = 229;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; -if ((_tot_art_promo).equals(_promo_c) && (_tot_art_promor).equals(_promo_cr)) { - //BA.debugLineNum = 230;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 231;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1"))); - //BA.debugLineNum = 232;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 233;BA.debugLine="For i=0 To D.RowCount -1"; +RDebugUtils.currentLine=78315547; + //BA.debugLineNum = 78315547;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315548; + //BA.debugLineNum = 78315548;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; +__ref._promo_c /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._promo_c /*String*/ ))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=78315549; + //BA.debugLineNum = 78315549;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; +__ref._promo_cr /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._promo_cr /*String*/ ))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=78315550; + //BA.debugLineNum = 78315550;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; +if ((__ref._tot_art_promo /*String*/ ).equals(__ref._promo_c /*String*/ ) && (__ref._tot_art_promor /*String*/ ).equals(__ref._promo_cr /*String*/ )) { +RDebugUtils.currentLine=78315551; + //BA.debugLineNum = 78315551;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78315552; + //BA.debugLineNum = 78315552;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1"))); +RDebugUtils.currentLine=78315553; + //BA.debugLineNum = 78315553;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=78315554; + //BA.debugLineNum = 78315554;BA.debugLine="For i=0 To D.RowCount -1"; { final int step34 = 1; -final int limit34 = (int) (_d.getRowCount()-1); +final int limit34 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit34 ;_i = _i + step34 ) { - //BA.debugLineNum = 234;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 235;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(_d.GetString("CAT_DP_IDPROD"))})); +RDebugUtils.currentLine=78315555; + //BA.debugLineNum = 78315555;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=78315556; + //BA.debugLineNum = 78315556;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"))})); } }; }; - //BA.debugLineNum = 238;BA.debugLine="D.Close"; -_d.Close(); - //BA.debugLineNum = 239;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1"))); - //BA.debugLineNum = 240;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 241;BA.debugLine="For i=0 To D.RowCount -1"; +RDebugUtils.currentLine=78315559; + //BA.debugLineNum = 78315559;BA.debugLine="D.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315560; + //BA.debugLineNum = 78315560;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1"))); +RDebugUtils.currentLine=78315561; + //BA.debugLineNum = 78315561;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=78315562; + //BA.debugLineNum = 78315562;BA.debugLine="For i=0 To D.RowCount -1"; { final int step42 = 1; -final int limit42 = (int) (_d.getRowCount()-1); +final int limit42 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit42 ;_i = _i + step42 ) { - //BA.debugLineNum = 242;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 243;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(_d.GetString("CAT_DP_IDPROD"))})); +RDebugUtils.currentLine=78315563; + //BA.debugLineNum = 78315563;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=78315564; + //BA.debugLineNum = 78315564;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"))})); } }; }; - //BA.debugLineNum = 246;BA.debugLine="D.Close"; -_d.Close(); - //BA.debugLineNum = 247;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=78315567; + //BA.debugLineNum = 78315567;BA.debugLine="D.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315568; + //BA.debugLineNum = 78315568;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 248;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 249;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 250;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 251;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 252;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 253;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 254;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 255;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 256;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 257;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 258;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 259;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 260;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 261;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); - //BA.debugLineNum = 263;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 264;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_e.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 265;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); - //BA.debugLineNum = 268;BA.debugLine="If f.RowCount>0 Then"; -if (_f.getRowCount()>0) { - //BA.debugLineNum = 269;BA.debugLine="For i=0 To f.RowCount -1"; +RDebugUtils.currentLine=78315569; + //BA.debugLineNum = 78315569;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=78315570; + //BA.debugLineNum = 78315570;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=78315571; + //BA.debugLineNum = 78315571;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=78315572; + //BA.debugLineNum = 78315572;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315573; + //BA.debugLineNum = 78315573;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=78315574; + //BA.debugLineNum = 78315574;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315575; + //BA.debugLineNum = 78315575;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=78315576; + //BA.debugLineNum = 78315576;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315577; + //BA.debugLineNum = 78315577;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=78315578; + //BA.debugLineNum = 78315578;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315579; + //BA.debugLineNum = 78315579;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=78315580; + //BA.debugLineNum = 78315580;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315581; + //BA.debugLineNum = 78315581;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=78315582; + //BA.debugLineNum = 78315582;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); +RDebugUtils.currentLine=78315584; + //BA.debugLineNum = 78315584;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315585; + //BA.debugLineNum = 78315585;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=78315586; + //BA.debugLineNum = 78315586;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); +RDebugUtils.currentLine=78315589; + //BA.debugLineNum = 78315589;BA.debugLine="If f.RowCount>0 Then"; +if (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=78315590; + //BA.debugLineNum = 78315590;BA.debugLine="For i=0 To f.RowCount -1"; { final int step67 = 1; -final int limit67 = (int) (_f.getRowCount()-1); +final int limit67 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit67 ;_i = _i + step67 ) { - //BA.debugLineNum = 270;BA.debugLine="f.Position=i"; -_f.setPosition(_i); - //BA.debugLineNum = 271;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; -_precio_cero = _f.GetString("CAT_DP_PRECIO"); - //BA.debugLineNum = 272;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"selec"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_ID = ? "),new String[]{_f.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 273;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 275;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_precio_cero))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_precio_cero),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta)})); - //BA.debugLineNum = 276;BA.debugLine="h.Close"; -_h.Close(); +RDebugUtils.currentLine=78315591; + //BA.debugLineNum = 78315591;BA.debugLine="f.Position=i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=78315592; + //BA.debugLineNum = 78315592;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; +__ref._precio_cero /*String*/ = __ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO"); +RDebugUtils.currentLine=78315593; + //BA.debugLineNum = 78315593;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"selec"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_ID = ? "),new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=78315594; + //BA.debugLineNum = 78315594;BA.debugLine="h.Position=0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315596; + //BA.debugLineNum = 78315596;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)((double)(Double.parseDouble(__ref._precio_cero /*String*/ ))*(double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._precio_cero /*String*/ ),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ )})); +RDebugUtils.currentLine=78315597; + //BA.debugLineNum = 78315597;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); } }; }; - //BA.debugLineNum = 279;BA.debugLine="f.Close"; -_f.Close(); +RDebugUtils.currentLine=78315600; + //BA.debugLineNum = 78315600;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 281;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 282;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 283;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); +RDebugUtils.currentLine=78315602; + //BA.debugLineNum = 78315602;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315603; + //BA.debugLineNum = 78315603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78315604; + //BA.debugLineNum = 78315604;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); }else { - //BA.debugLineNum = 285;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; -__c.Msgbox(BA.ObjectToCharSequence("Tiene "+_tot_art_promo+" "+_tot_art_promor+" y necesita "+_promo_c+" "+_promo_cr+" Para la Promo. "),BA.ObjectToCharSequence("ADVERTENCIA"),ba); +RDebugUtils.currentLine=78315606; + //BA.debugLineNum = 78315606;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; +__c.Msgbox(BA.ObjectToCharSequence("Tiene "+__ref._tot_art_promo /*String*/ +" "+__ref._tot_art_promor /*String*/ +" y necesita "+__ref._promo_c /*String*/ +" "+__ref._promo_cr /*String*/ +" Para la Promo. "),BA.ObjectToCharSequence("ADVERTENCIA"),ba); }; }; - //BA.debugLineNum = 288;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 289;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +RDebugUtils.currentLine=78315609; + //BA.debugLineNum = 78315609;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=78315610; + //BA.debugLineNum = 78315610;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (_promo_c).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 291;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; + }else +{RDebugUtils.currentLine=78315611; + //BA.debugLineNum = 78315611;BA.debugLine="else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._promo_c /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78315612; + //BA.debugLineNum = 78315612;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 292;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 293;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 294;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 295;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 296;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 297;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=78315613; + //BA.debugLineNum = 78315613;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78315614; + //BA.debugLineNum = 78315614;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=78315615; + //BA.debugLineNum = 78315615;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315616; + //BA.debugLineNum = 78315616;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=78315617; + //BA.debugLineNum = 78315617;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315618; + //BA.debugLineNum = 78315618;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 298;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 299;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 300;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 301;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 302;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 303;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 304;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 305;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 306;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 309;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) "))); - //BA.debugLineNum = 310;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 311;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_e.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 312;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); - //BA.debugLineNum = 313;BA.debugLine="For i =0 To f.RowCount -1"; +RDebugUtils.currentLine=78315619; + //BA.debugLineNum = 78315619;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=78315620; + //BA.debugLineNum = 78315620;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=78315621; + //BA.debugLineNum = 78315621;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=78315622; + //BA.debugLineNum = 78315622;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315623; + //BA.debugLineNum = 78315623;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=78315624; + //BA.debugLineNum = 78315624;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315625; + //BA.debugLineNum = 78315625;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=78315626; + //BA.debugLineNum = 78315626;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315627; + //BA.debugLineNum = 78315627;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=78315630; + //BA.debugLineNum = 78315630;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) "))); +RDebugUtils.currentLine=78315631; + //BA.debugLineNum = 78315631;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315632; + //BA.debugLineNum = 78315632;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=78315633; + //BA.debugLineNum = 78315633;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); +RDebugUtils.currentLine=78315634; + //BA.debugLineNum = 78315634;BA.debugLine="For i =0 To f.RowCount -1"; { final int step108 = 1; -final int limit108 = (int) (_f.getRowCount()-1); +final int limit108 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit108 ;_i = _i + step108 ) { - //BA.debugLineNum = 314;BA.debugLine="F.Position =i"; -_f.setPosition(_i); - //BA.debugLineNum = 315;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_ID = ? "),new String[]{_f.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 316;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 317;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))),(Object)(_f.GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 318;BA.debugLine="h.Close"; -_h.Close(); +RDebugUtils.currentLine=78315635; + //BA.debugLineNum = 78315635;BA.debugLine="F.Position =i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=78315636; + //BA.debugLineNum = 78315636;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_ID = ? "),new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=78315637; + //BA.debugLineNum = 78315637;BA.debugLine="h.Position=0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315638; + //BA.debugLineNum = 78315638;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*(double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78315639; + //BA.debugLineNum = 78315639;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); } }; - //BA.debugLineNum = 320;BA.debugLine="f.Close"; -_f.Close(); +RDebugUtils.currentLine=78315641; + //BA.debugLineNum = 78315641;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 322;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 324;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 325;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 326;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 327;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 328;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 329;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=78315643; + //BA.debugLineNum = 78315643;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315645; + //BA.debugLineNum = 78315645;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78315646; + //BA.debugLineNum = 78315646;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78315647; + //BA.debugLineNum = 78315647;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=78315648; + //BA.debugLineNum = 78315648;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=78315649; + //BA.debugLineNum = 78315649;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315650; + //BA.debugLineNum = 78315650;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 330;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_cl_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 331;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +RDebugUtils.currentLine=78315651; + //BA.debugLineNum = 78315651;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=78315652; + //BA.debugLineNum = 78315652;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 332;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +RDebugUtils.currentLine=78315653; + //BA.debugLineNum = 78315653;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); }else { - //BA.debugLineNum = 334;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=78315655; + //BA.debugLineNum = 78315655;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 335;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 336;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 337;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 338;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 339;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 340;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 341;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 342;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 343;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 344;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 345;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 346;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 347;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 348;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)((double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_l_precio.getText()))),(Object)(_l_precio.getText()),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_preciosin),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 349;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 350;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 351;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 352;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=78315656; + //BA.debugLineNum = 78315656;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=78315657; + //BA.debugLineNum = 78315657;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=78315658; + //BA.debugLineNum = 78315658;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=78315659; + //BA.debugLineNum = 78315659;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315660; + //BA.debugLineNum = 78315660;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=78315661; + //BA.debugLineNum = 78315661;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315662; + //BA.debugLineNum = 78315662;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=78315663; + //BA.debugLineNum = 78315663;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315664; + //BA.debugLineNum = 78315664;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=78315665; + //BA.debugLineNum = 78315665;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78315666; + //BA.debugLineNum = 78315666;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=78315667; + //BA.debugLineNum = 78315667;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315668; + //BA.debugLineNum = 78315668;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=78315669; + //BA.debugLineNum = 78315669;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*(double)(Double.parseDouble(__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))),(Object)(__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._preciosin /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78315670; + //BA.debugLineNum = 78315670;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78315671; + //BA.debugLineNum = 78315671;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=78315672; + //BA.debugLineNum = 78315672;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78315673; + //BA.debugLineNum = 78315673;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 353;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_cl_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 354;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +RDebugUtils.currentLine=78315674; + //BA.debugLineNum = 78315674;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=78315675; + //BA.debugLineNum = 78315675;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 355;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_l_proid.getText()),(Object)(_cantidad.getText())})); - //BA.debugLineNum = 356;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +RDebugUtils.currentLine=78315676; + //BA.debugLineNum = 78315676;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=78315677; + //BA.debugLineNum = 78315677;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); - }; - //BA.debugLineNum = 358;BA.debugLine="End Sub"; + }}}} +; +RDebugUtils.currentLine=78315679; + //BA.debugLineNum = 78315679;BA.debugLine="End Sub"; return ""; } -public String _i_fotol_click() throws Exception{ - //BA.debugLineNum = 544;BA.debugLine="Sub i_fotol_Click"; - //BA.debugLineNum = 545;BA.debugLine="i_fotol.Visible = False"; -_i_fotol.setVisible(__c.False); - //BA.debugLineNum = 547;BA.debugLine="End Sub"; +public String _i_fotol_click(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "i_fotol_click", false)) + {return ((String) Debug.delegate(ba, "i_fotol_click", null));} +RDebugUtils.currentLine=78643200; + //BA.debugLineNum = 78643200;BA.debugLine="Sub i_fotol_Click"; +RDebugUtils.currentLine=78643201; + //BA.debugLineNum = 78643201;BA.debugLine="i_fotol.Visible = False"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=78643203; + //BA.debugLineNum = 78643203;BA.debugLine="End Sub"; return ""; } -public String _img_prod_click() throws Exception{ - //BA.debugLineNum = 539;BA.debugLine="Sub img_prod_Click"; - //BA.debugLineNum = 540;BA.debugLine="i_fotol.Visible = True"; -_i_fotol.setVisible(__c.True); - //BA.debugLineNum = 541;BA.debugLine="i_fotol.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; -_i_fotol.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(_ruta,"1.jpg").getObject())); - //BA.debugLineNum = 543;BA.debugLine="End Sub"; +public String _img_prod_click(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "img_prod_click", false)) + {return ((String) Debug.delegate(ba, "img_prod_click", null));} +RDebugUtils.currentLine=78577664; + //BA.debugLineNum = 78577664;BA.debugLine="Sub img_prod_Click"; +RDebugUtils.currentLine=78577665; + //BA.debugLineNum = 78577665;BA.debugLine="i_fotol.Visible = True"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=78577666; + //BA.debugLineNum = 78577666;BA.debugLine="i_fotol.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__ref._ruta /*String*/ ,"1.jpg").getObject())); +RDebugUtils.currentLine=78577668; + //BA.debugLineNum = 78577668;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 60;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 61;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return null; -} -public String _nopromo_click() throws Exception{ - //BA.debugLineNum = 555;BA.debugLine="Sub nopromo_Click"; - //BA.debugLineNum = 556;BA.debugLine="If cantidad.Text = \"\" Then"; -if ((_cantidad.getText()).equals("")) { - //BA.debugLineNum = 557;BA.debugLine="Msgbox(\"Cantidad no puede ser 0\",\"Cantidad\") 'ig"; +public String _nopromo_click(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "nopromo_click", false)) + {return ((String) Debug.delegate(ba, "nopromo_click", null));} +RDebugUtils.currentLine=78774272; + //BA.debugLineNum = 78774272;BA.debugLine="Sub nopromo_Click"; +RDebugUtils.currentLine=78774273; + //BA.debugLineNum = 78774273;BA.debugLine="If cantidad.Text = \"\" Then"; +if ((__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=78774274; + //BA.debugLineNum = 78774274;BA.debugLine="Msgbox(\"Cantidad no puede ser 0\",\"Cantidad\") 'ig"; __c.Msgbox(BA.ObjectToCharSequence("Cantidad no puede ser 0"),BA.ObjectToCharSequence("Cantidad"),ba); - }else if((double)(Double.parseDouble(_cantidad.getText()))>(double)(Double.parseDouble(_l_bodega.getText()))) { - //BA.debugLineNum = 559;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; + }else +{RDebugUtils.currentLine=78774275; + //BA.debugLineNum = 78774275;BA.debugLine="Else If cantidad.Text > l_bodega.Text Then"; +if ((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))) { +RDebugUtils.currentLine=78774276; + //BA.debugLineNum = 78774276;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; __c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); }else { - //BA.debugLineNum = 561;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=78774278; + //BA.debugLineNum = 78774278;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 562;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 563;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 564;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 565;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 566;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 567;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 568;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 569;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 570;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COACALCO"),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 571;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 572;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 573;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +RDebugUtils.currentLine=78774279; + //BA.debugLineNum = 78774279;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=78774280; + //BA.debugLineNum = 78774280;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=78774281; + //BA.debugLineNum = 78774281;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=78774282; + //BA.debugLineNum = 78774282;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78774283; + //BA.debugLineNum = 78774283;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=78774284; + //BA.debugLineNum = 78774284;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=78774285; + //BA.debugLineNum = 78774285;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78774286; + //BA.debugLineNum = 78774286;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=78774287; + //BA.debugLineNum = 78774287;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COACALCO"),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78774288; + //BA.debugLineNum = 78774288;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78774289; + //BA.debugLineNum = 78774289;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=78774290; + //BA.debugLineNum = 78774290;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); - }; - //BA.debugLineNum = 575;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=78774292; + //BA.debugLineNum = 78774292;BA.debugLine="End Sub"; return ""; } -public String _p_pedido_click() throws Exception{ - //BA.debugLineNum = 577;BA.debugLine="Private Sub p_pedido_Click"; - //BA.debugLineNum = 579;BA.debugLine="End Sub"; +public String _p_pedido_click(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "p_pedido_click", false)) + {return ((String) Debug.delegate(ba, "p_pedido_click", null));} +RDebugUtils.currentLine=78839808; + //BA.debugLineNum = 78839808;BA.debugLine="Private Sub p_pedido_Click"; +RDebugUtils.currentLine=78839810; + //BA.debugLineNum = 78839810;BA.debugLine="End Sub"; return ""; } -public String _terminar_click() throws Exception{ +public String _terminar_click(gunav2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "terminar_click", false)) + {return ((String) Debug.delegate(ba, "terminar_click", null));} int _i = 0; - //BA.debugLineNum = 365;BA.debugLine="Sub Terminar_Click"; - //BA.debugLineNum = 366;BA.debugLine="If cantidad.Text = \"\" Then"; -if ((_cantidad.getText()).equals("")) { - //BA.debugLineNum = 367;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=78446592; + //BA.debugLineNum = 78446592;BA.debugLine="Sub Terminar_Click"; +RDebugUtils.currentLine=78446593; + //BA.debugLineNum = 78446593;BA.debugLine="If cantidad.Text = \"\" Then"; +if ((__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=78446594; + //BA.debugLineNum = 78446594;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - }else if((double)(Double.parseDouble(_cantidad.getText()))>(double)(Double.parseDouble(_l_bodega.getText()))) { - //BA.debugLineNum = 369;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; + }else +{RDebugUtils.currentLine=78446595; + //BA.debugLineNum = 78446595;BA.debugLine="ELSE If cantidad.Text > l_bodega.Text Then"; +if ((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))) { +RDebugUtils.currentLine=78446596; + //BA.debugLineNum = 78446596;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; __c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (double)(Double.parseDouble(_promo_c))>0 && (double)(Double.parseDouble(_cantidad.getText()))>0) { - //BA.debugLineNum = 371;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; + }else +{RDebugUtils.currentLine=78446597; + //BA.debugLineNum = 78446597;BA.debugLine="Else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (double)(Double.parseDouble(__ref._promo_c /*String*/ ))>0 && (double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>0) { +RDebugUtils.currentLine=78446598; + //BA.debugLineNum = 78446598;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 372;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 373;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 374;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 375;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; -if ((_c.GetString("CUANTOSD")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 376;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; +RDebugUtils.currentLine=78446599; + //BA.debugLineNum = 78446599;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78446600; + //BA.debugLineNum = 78446600;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=78446601; + //BA.debugLineNum = 78446601;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446602; + //BA.debugLineNum = 78446602;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOSD")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78446603; + //BA.debugLineNum = 78446603;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; __c.Msgbox(BA.ObjectToCharSequence("No tiene venta el cliente para la promo"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); }else { - //BA.debugLineNum = 378;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)"))); - //BA.debugLineNum = 379;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 380;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; -_tot_art_promo = _c.GetString("TOT_ART_PROMO"); - //BA.debugLineNum = 381;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; -_costo_tot = _c.GetString("COSTO_TOT"); - //BA.debugLineNum = 382;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 383;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 384;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 385;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; -if ((_c.GetString("CUANTOSD")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 386;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; -_tot_art_promor = "0"; +RDebugUtils.currentLine=78446605; + //BA.debugLineNum = 78446605;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)"))); +RDebugUtils.currentLine=78446606; + //BA.debugLineNum = 78446606;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446607; + //BA.debugLineNum = 78446607;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; +__ref._tot_art_promo /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOT_ART_PROMO"); +RDebugUtils.currentLine=78446608; + //BA.debugLineNum = 78446608;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; +__ref._costo_tot /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COSTO_TOT"); +RDebugUtils.currentLine=78446609; + //BA.debugLineNum = 78446609;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446610; + //BA.debugLineNum = 78446610;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=78446611; + //BA.debugLineNum = 78446611;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446612; + //BA.debugLineNum = 78446612;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOSD")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78446613; + //BA.debugLineNum = 78446613;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; +__ref._tot_art_promor /*String*/ = "0"; }else { - //BA.debugLineNum = 388;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 389;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 390;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; -_tot_art_promor = _c.GetString("TOT_ART_PROMO"); +RDebugUtils.currentLine=78446615; + //BA.debugLineNum = 78446615;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=78446616; + //BA.debugLineNum = 78446616;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446617; + //BA.debugLineNum = 78446617;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; +__ref._tot_art_promor /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOT_ART_PROMO"); }; - //BA.debugLineNum = 392;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 393;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; -_promo_c = BA.NumberToString((double)(Double.parseDouble(_promo_c))*(double)(Double.parseDouble(_cantidad.getText()))); - //BA.debugLineNum = 394;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; -_promo_cr = BA.NumberToString((double)(Double.parseDouble(_promo_cr))*(double)(Double.parseDouble(_cantidad.getText()))); - //BA.debugLineNum = 395;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; -if ((_tot_art_promo).equals(_promo_c) && (_tot_art_promor).equals(_promo_cr)) { - //BA.debugLineNum = 399;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 400;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1"))); - //BA.debugLineNum = 401;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 402;BA.debugLine="For i=0 To D.RowCount -1"; +RDebugUtils.currentLine=78446619; + //BA.debugLineNum = 78446619;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446620; + //BA.debugLineNum = 78446620;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; +__ref._promo_c /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._promo_c /*String*/ ))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=78446621; + //BA.debugLineNum = 78446621;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; +__ref._promo_cr /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._promo_cr /*String*/ ))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=78446622; + //BA.debugLineNum = 78446622;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; +if ((__ref._tot_art_promo /*String*/ ).equals(__ref._promo_c /*String*/ ) && (__ref._tot_art_promor /*String*/ ).equals(__ref._promo_cr /*String*/ )) { +RDebugUtils.currentLine=78446626; + //BA.debugLineNum = 78446626;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78446627; + //BA.debugLineNum = 78446627;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1"))); +RDebugUtils.currentLine=78446628; + //BA.debugLineNum = 78446628;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=78446629; + //BA.debugLineNum = 78446629;BA.debugLine="For i=0 To D.RowCount -1"; { final int step34 = 1; -final int limit34 = (int) (_d.getRowCount()-1); +final int limit34 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit34 ;_i = _i + step34 ) { - //BA.debugLineNum = 403;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 404;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(_d.GetString("CAT_DP_IDPROD"))})); +RDebugUtils.currentLine=78446630; + //BA.debugLineNum = 78446630;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=78446631; + //BA.debugLineNum = 78446631;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"))})); } }; }; - //BA.debugLineNum = 407;BA.debugLine="D.Close"; -_d.Close(); - //BA.debugLineNum = 408;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1"))); - //BA.debugLineNum = 409;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 410;BA.debugLine="For i=0 To D.RowCount -1"; +RDebugUtils.currentLine=78446634; + //BA.debugLineNum = 78446634;BA.debugLine="D.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446635; + //BA.debugLineNum = 78446635;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1"))); +RDebugUtils.currentLine=78446636; + //BA.debugLineNum = 78446636;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=78446637; + //BA.debugLineNum = 78446637;BA.debugLine="For i=0 To D.RowCount -1"; { final int step42 = 1; -final int limit42 = (int) (_d.getRowCount()-1); +final int limit42 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit42 ;_i = _i + step42 ) { - //BA.debugLineNum = 411;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 412;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(_d.GetString("CAT_DP_IDPROD"))})); +RDebugUtils.currentLine=78446638; + //BA.debugLineNum = 78446638;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=78446639; + //BA.debugLineNum = 78446639;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"))})); } }; }; - //BA.debugLineNum = 415;BA.debugLine="D.Close"; -_d.Close(); - //BA.debugLineNum = 416;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=78446642; + //BA.debugLineNum = 78446642;BA.debugLine="D.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446643; + //BA.debugLineNum = 78446643;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 417;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 418;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 419;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 420;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 421;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 422;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 423;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 424;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 425;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 426;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 427;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 428;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 429;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 431;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); - //BA.debugLineNum = 433;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 434;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_e.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 435;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); - //BA.debugLineNum = 438;BA.debugLine="If f.RowCount>0 Then"; -if (_f.getRowCount()>0) { - //BA.debugLineNum = 439;BA.debugLine="For i=0 To f.RowCount -1"; +RDebugUtils.currentLine=78446644; + //BA.debugLineNum = 78446644;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=78446645; + //BA.debugLineNum = 78446645;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=78446646; + //BA.debugLineNum = 78446646;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=78446647; + //BA.debugLineNum = 78446647;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446648; + //BA.debugLineNum = 78446648;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=78446649; + //BA.debugLineNum = 78446649;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446650; + //BA.debugLineNum = 78446650;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=78446651; + //BA.debugLineNum = 78446651;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446652; + //BA.debugLineNum = 78446652;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=78446653; + //BA.debugLineNum = 78446653;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446654; + //BA.debugLineNum = 78446654;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=78446655; + //BA.debugLineNum = 78446655;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446656; + //BA.debugLineNum = 78446656;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=78446658; + //BA.debugLineNum = 78446658;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); +RDebugUtils.currentLine=78446660; + //BA.debugLineNum = 78446660;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446661; + //BA.debugLineNum = 78446661;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=78446662; + //BA.debugLineNum = 78446662;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); +RDebugUtils.currentLine=78446665; + //BA.debugLineNum = 78446665;BA.debugLine="If f.RowCount>0 Then"; +if (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=78446666; + //BA.debugLineNum = 78446666;BA.debugLine="For i=0 To f.RowCount -1"; { final int step67 = 1; -final int limit67 = (int) (_f.getRowCount()-1); +final int limit67 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit67 ;_i = _i + step67 ) { - //BA.debugLineNum = 440;BA.debugLine="f.Position=i"; -_f.setPosition(_i); - //BA.debugLineNum = 441;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; -_precio_cero = _f.GetString("CAT_DP_PRECIO"); - //BA.debugLineNum = 442;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"selec"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_ID = ? "),new String[]{_f.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 443;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 444;BA.debugLine="Log(111)"; -__c.LogImpl("476480591",BA.NumberToString(111),0); - //BA.debugLineNum = 445;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_precio_cero))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_precio_cero),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 446;BA.debugLine="h.Close"; -_h.Close(); +RDebugUtils.currentLine=78446667; + //BA.debugLineNum = 78446667;BA.debugLine="f.Position=i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=78446668; + //BA.debugLineNum = 78446668;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; +__ref._precio_cero /*String*/ = __ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO"); +RDebugUtils.currentLine=78446669; + //BA.debugLineNum = 78446669;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"selec"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_ID = ? "),new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=78446670; + //BA.debugLineNum = 78446670;BA.debugLine="h.Position=0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446671; + //BA.debugLineNum = 78446671;BA.debugLine="Log(111)"; +__c.LogImpl("078446671",BA.NumberToString(111),0); +RDebugUtils.currentLine=78446672; + //BA.debugLineNum = 78446672;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)((double)(Double.parseDouble(__ref._precio_cero /*String*/ ))*(double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._precio_cero /*String*/ ),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78446673; + //BA.debugLineNum = 78446673;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); } }; }; - //BA.debugLineNum = 449;BA.debugLine="f.Close"; -_f.Close(); +RDebugUtils.currentLine=78446676; + //BA.debugLineNum = 78446676;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 451;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 452;BA.debugLine="Log(222)"; -__c.LogImpl("476480599",BA.NumberToString(222),0); - //BA.debugLineNum = 453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 454;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); +RDebugUtils.currentLine=78446678; + //BA.debugLineNum = 78446678;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446679; + //BA.debugLineNum = 78446679;BA.debugLine="Log(222)"; +__c.LogImpl("078446679",BA.NumberToString(222),0); +RDebugUtils.currentLine=78446680; + //BA.debugLineNum = 78446680;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78446681; + //BA.debugLineNum = 78446681;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); }else { - //BA.debugLineNum = 456;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; -__c.Msgbox(BA.ObjectToCharSequence("Tiene "+_tot_art_promo+" "+_tot_art_promor+" y necesita "+_promo_c+" "+_promo_cr+" Para la Promo. "),BA.ObjectToCharSequence("ADVERTENCIA"),ba); +RDebugUtils.currentLine=78446683; + //BA.debugLineNum = 78446683;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; +__c.Msgbox(BA.ObjectToCharSequence("Tiene "+__ref._tot_art_promo /*String*/ +" "+__ref._tot_art_promor /*String*/ +" y necesita "+__ref._promo_c /*String*/ +" "+__ref._promo_cr /*String*/ +" Para la Promo. "),BA.ObjectToCharSequence("ADVERTENCIA"),ba); }; }; - //BA.debugLineNum = 459;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 460;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=78446686; + //BA.debugLineNum = 78446686;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=78446687; + //BA.debugLineNum = 78446687;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (_promo_c).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 462;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; + }else +{RDebugUtils.currentLine=78446688; + //BA.debugLineNum = 78446688;BA.debugLine="else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._promo_c /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=78446689; + //BA.debugLineNum = 78446689;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 463;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 464;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 465;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 466;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 467;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 468;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=78446690; + //BA.debugLineNum = 78446690;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78446691; + //BA.debugLineNum = 78446691;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=78446692; + //BA.debugLineNum = 78446692;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446693; + //BA.debugLineNum = 78446693;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=78446694; + //BA.debugLineNum = 78446694;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446695; + //BA.debugLineNum = 78446695;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 469;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 470;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 471;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 472;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 473;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 474;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 475;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 476;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 477;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 479;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) "))); - //BA.debugLineNum = 480;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 481;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_e.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 482;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); - //BA.debugLineNum = 483;BA.debugLine="For i =0 To f.RowCount -1"; +RDebugUtils.currentLine=78446696; + //BA.debugLineNum = 78446696;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=78446697; + //BA.debugLineNum = 78446697;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=78446698; + //BA.debugLineNum = 78446698;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=78446699; + //BA.debugLineNum = 78446699;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446700; + //BA.debugLineNum = 78446700;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=78446701; + //BA.debugLineNum = 78446701;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446702; + //BA.debugLineNum = 78446702;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=78446703; + //BA.debugLineNum = 78446703;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446704; + //BA.debugLineNum = 78446704;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=78446706; + //BA.debugLineNum = 78446706;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) "))); +RDebugUtils.currentLine=78446707; + //BA.debugLineNum = 78446707;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446708; + //BA.debugLineNum = 78446708;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=78446709; + //BA.debugLineNum = 78446709;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); +RDebugUtils.currentLine=78446710; + //BA.debugLineNum = 78446710;BA.debugLine="For i =0 To f.RowCount -1"; { final int step110 = 1; -final int limit110 = (int) (_f.getRowCount()-1); +final int limit110 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit110 ;_i = _i + step110 ) { - //BA.debugLineNum = 484;BA.debugLine="F.Position =i"; -_f.setPosition(_i); - //BA.debugLineNum = 485;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_ID = ? "),new String[]{_f.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 486;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 487;BA.debugLine="Log(333)"; -__c.LogImpl("476480634",BA.NumberToString(333),0); - //BA.debugLineNum = 488;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))),(Object)(_f.GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 489;BA.debugLine="h.Close"; -_h.Close(); +RDebugUtils.currentLine=78446711; + //BA.debugLineNum = 78446711;BA.debugLine="F.Position =i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=78446712; + //BA.debugLineNum = 78446712;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_ID = ? "),new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=78446713; + //BA.debugLineNum = 78446713;BA.debugLine="h.Position=0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446714; + //BA.debugLineNum = 78446714;BA.debugLine="Log(333)"; +__c.LogImpl("078446714",BA.NumberToString(333),0); +RDebugUtils.currentLine=78446715; + //BA.debugLineNum = 78446715;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*(double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78446716; + //BA.debugLineNum = 78446716;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); } }; - //BA.debugLineNum = 491;BA.debugLine="f.Close"; -_f.Close(); +RDebugUtils.currentLine=78446718; + //BA.debugLineNum = 78446718;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 493;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 494;BA.debugLine="Log(444)"; -__c.LogImpl("476480641",BA.NumberToString(444),0); - //BA.debugLineNum = 495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 496;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 497;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 498;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 499;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 500;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=78446720; + //BA.debugLineNum = 78446720;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446721; + //BA.debugLineNum = 78446721;BA.debugLine="Log(444)"; +__c.LogImpl("078446721",BA.NumberToString(444),0); +RDebugUtils.currentLine=78446722; + //BA.debugLineNum = 78446722;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78446723; + //BA.debugLineNum = 78446723;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78446724; + //BA.debugLineNum = 78446724;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=78446725; + //BA.debugLineNum = 78446725;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=78446726; + //BA.debugLineNum = 78446726;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446727; + //BA.debugLineNum = 78446727;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 501;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_cl_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 502;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +RDebugUtils.currentLine=78446728; + //BA.debugLineNum = 78446728;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=78446729; + //BA.debugLineNum = 78446729;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 503;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=78446730; + //BA.debugLineNum = 78446730;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); }else { - //BA.debugLineNum = 505;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=78446732; + //BA.debugLineNum = 78446732;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 506;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 507;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 508;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 509;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 510;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 511;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 512;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 513;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 514;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 515;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 516;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 517;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 518;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 519;BA.debugLine="Log(555)"; -__c.LogImpl("476480666",BA.NumberToString(555),0); - //BA.debugLineNum = 520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)((double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_l_precio.getText()))),(Object)(_l_precio.getText()),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_preciosin),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 521;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 522;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 523;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 524;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=78446733; + //BA.debugLineNum = 78446733;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=78446734; + //BA.debugLineNum = 78446734;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=78446735; + //BA.debugLineNum = 78446735;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=78446736; + //BA.debugLineNum = 78446736;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446737; + //BA.debugLineNum = 78446737;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=78446738; + //BA.debugLineNum = 78446738;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446739; + //BA.debugLineNum = 78446739;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=78446740; + //BA.debugLineNum = 78446740;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446741; + //BA.debugLineNum = 78446741;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=78446742; + //BA.debugLineNum = 78446742;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=78446743; + //BA.debugLineNum = 78446743;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=78446744; + //BA.debugLineNum = 78446744;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446745; + //BA.debugLineNum = 78446745;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=78446746; + //BA.debugLineNum = 78446746;BA.debugLine="Log(555)"; +__c.LogImpl("078446746",BA.NumberToString(555),0); +RDebugUtils.currentLine=78446747; + //BA.debugLineNum = 78446747;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*(double)(Double.parseDouble(__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))),(Object)(__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._preciosin /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=78446748; + //BA.debugLineNum = 78446748;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=78446749; + //BA.debugLineNum = 78446749;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=78446750; + //BA.debugLineNum = 78446750;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=78446751; + //BA.debugLineNum = 78446751;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 525;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_cl_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 526;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +RDebugUtils.currentLine=78446752; + //BA.debugLineNum = 78446752;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=78446753; + //BA.debugLineNum = 78446753;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 527;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_l_proid.getText()),(Object)(_cantidad.getText())})); - //BA.debugLineNum = 528;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=78446754; + //BA.debugLineNum = 78446754;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=78446755; + //BA.debugLineNum = 78446755;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - }; - //BA.debugLineNum = 530;BA.debugLine="End Sub"; + }}}} +; +RDebugUtils.currentLine=78446757; + //BA.debugLineNum = 78446757;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_principal.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_principal.java index caeba5b..7dfa75e 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_principal.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_principal.java @@ -10,7 +10,7 @@ public class c_principal extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_principal"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_principal"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,25 @@ public class c_principal extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public static class _titledata{ +public boolean IsInitialized; +public String Title; +public void Initialize() { +IsInitialized = true; +Title = ""; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public String _conectado = ""; @@ -257,969 +275,2539 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_faltan = null; public anywheresoftware.b4a.objects.LabelWrapper _l_visitas = null; public anywheresoftware.b4a.objects.LabelWrapper _l_visitartotal = null; public anywheresoftware.b4a.objects.LabelWrapper _de = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_traec = null; public b4a.example.dateutils _dateutils = null; public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _titledata{ -public boolean IsInitialized; -public String Title; -public void Initialize() { -IsInitialized = true; -Title = ""; +public Object _initialize(gunav2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=3342336; + //BA.debugLineNum = 3342336;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=3342337; + //BA.debugLineNum = 3342337;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=3342338; + //BA.debugLineNum = 3342338;BA.debugLine="End Sub"; +return null; } -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _addtitle(String _title) throws Exception{ +public String _addtitle(gunav2.keymon.com.mx.c_principal __ref,String _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "addtitle", false)) + {return ((String) Debug.delegate(ba, "addtitle", new Object[] {_title}));} anywheresoftware.b4a.objects.B4XViewWrapper _p_marcas = null; gunav2.keymon.com.mx.c_principal._titledata _td = null; - //BA.debugLineNum = 3834;BA.debugLine="Sub AddTitle (Title As String)"; - //BA.debugLineNum = 3835;BA.debugLine="Dim p_marcas As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=5505024; + //BA.debugLineNum = 5505024;BA.debugLine="Sub AddTitle (Title As String)"; +RDebugUtils.currentLine=5505025; + //BA.debugLineNum = 5505025;BA.debugLine="Dim p_marcas As B4XView = xui.CreatePanel(\"\")"; _p_marcas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p_marcas = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 3836;BA.debugLine="p_marcas.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; -_p_marcas.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv1._asview().getWidth(),_titleheight); - //BA.debugLineNum = 3837;BA.debugLine="p_marcas.LoadLayout(\"CellTitle\")"; +_p_marcas = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=5505026; + //BA.debugLineNum = 5505026;BA.debugLine="p_marcas.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; +_p_marcas.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._clv1 /*b4a.example3.customlistview*/ ._asview().getWidth(),__ref._titleheight /*int*/ ); +RDebugUtils.currentLine=5505027; + //BA.debugLineNum = 5505027;BA.debugLine="p_marcas.LoadLayout(\"CellTitle\")"; _p_marcas.LoadLayout("CellTitle",ba); - //BA.debugLineNum = 3838;BA.debugLine="lblTitle.Text = Title"; -_lbltitle.setText(BA.ObjectToCharSequence(_title)); - //BA.debugLineNum = 3839;BA.debugLine="Dim td As TitleData"; +RDebugUtils.currentLine=5505028; + //BA.debugLineNum = 5505028;BA.debugLine="lblTitle.Text = Title"; +__ref._lbltitle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_title)); +RDebugUtils.currentLine=5505029; + //BA.debugLineNum = 5505029;BA.debugLine="Dim td As TitleData"; _td = new gunav2.keymon.com.mx.c_principal._titledata(); - //BA.debugLineNum = 3840;BA.debugLine="td.Title = Title"; +RDebugUtils.currentLine=5505030; + //BA.debugLineNum = 5505030;BA.debugLine="td.Title = Title"; _td.Title /*String*/ = _title; - //BA.debugLineNum = 3841;BA.debugLine="CLV1.Add(p_marcas, td)"; -_clv1._add(_p_marcas,(Object)(_td)); - //BA.debugLineNum = 3842;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5505031; + //BA.debugLineNum = 5505031;BA.debugLine="CLV1.Add(p_marcas, td)"; +__ref._clv1 /*b4a.example3.customlistview*/ ._add(_p_marcas,(Object)(_td)); +RDebugUtils.currentLine=5505032; + //BA.debugLineNum = 5505032;BA.debugLine="End Sub"; return ""; } -public String _b_abordo_click() throws Exception{ - //BA.debugLineNum = 3884;BA.debugLine="Private Sub b_abordo_Click"; - //BA.debugLineNum = 3885;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from cuentaa\"$"; +public String _b_abordo_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_abordo_click", false)) + {return ((String) Debug.delegate(ba, "b_abordo_click", null));} +RDebugUtils.currentLine=5898240; + //BA.debugLineNum = 5898240;BA.debugLine="Private Sub b_abordo_Click"; +RDebugUtils.currentLine=5898241; + //BA.debugLineNum = 5898241;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from cuentaa\"$"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from cuentaa")); - //BA.debugLineNum = 3886;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into cuentaa ("; +RDebugUtils.currentLine=5898242; + //BA.debugLineNum = 5898242;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into cuentaa ("; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into cuentaa (cuenta) values ('0')")); - //BA.debugLineNum = 3887;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=5898243; + //BA.debugLineNum = 5898243;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 3888;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5898244; + //BA.debugLineNum = 5898244;BA.debugLine="End Sub"; return ""; } -public String _b_clientesvisitados_click() throws Exception{ - //BA.debugLineNum = 3894;BA.debugLine="Private Sub b_clientesvisitados_Click"; - //BA.debugLineNum = 3895;BA.debugLine="tickets_dia_Click"; -_tickets_dia_click(); - //BA.debugLineNum = 3896;BA.debugLine="End Sub"; +public String _b_clientesvisitados_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_clientesvisitados_click", false)) + {return ((String) Debug.delegate(ba, "b_clientesvisitados_click", null));} +RDebugUtils.currentLine=6029312; + //BA.debugLineNum = 6029312;BA.debugLine="Private Sub b_clientesvisitados_Click"; +RDebugUtils.currentLine=6029313; + //BA.debugLineNum = 6029313;BA.debugLine="tickets_dia_Click"; +__ref._tickets_dia_click /*String*/ (null); +RDebugUtils.currentLine=6029314; + //BA.debugLineNum = 6029314;BA.debugLine="End Sub"; return ""; } -public String _b_comm_click() throws Exception{ - //BA.debugLineNum = 3715;BA.debugLine="Sub B_COMM_Click"; - //BA.debugLineNum = 3716;BA.debugLine="Btn_Ubicar.Visible=False"; -_btn_ubicar.setVisible(__c.False); - //BA.debugLineNum = 3717;BA.debugLine="SCROLL_RESDIA.Visible = True"; -_scroll_resdia.setVisible(__c.True); - //BA.debugLineNum = 3718;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")"; -_scroll_resdia.getPanel().LoadLayout("COMIS",ba); - //BA.debugLineNum = 3719;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height"; -_scroll_resdia.getPanel().setHeight(_panel_c.getHeight()); - //BA.debugLineNum = 3720;BA.debugLine="Panel4.Visible = False"; -_panel4.setVisible(__c.False); - //BA.debugLineNum = 3721;BA.debugLine="Panel_C.Visible = True"; -_panel_c.setVisible(__c.True); - //BA.debugLineNum = 3722;BA.debugLine="Panel_C.Width = Root.Width * 0.90"; -_panel_c.setWidth((int) (_root.getWidth()*0.90)); - //BA.debugLineNum = 3726;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 3727;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 3728;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 3729;BA.debugLine="Subir.Visible=False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 3730;BA.debugLine="cargar.Visible=False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 3731;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - //BA.debugLineNum = 3733;BA.debugLine="If l_ruta.Text <> 0 Then"; -if ((_l_ruta.getText()).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 3734;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HCM_T"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HCM_TOTAL_V, HCM_TOTAL_VIVE, HCM_TOTAL_GUNA, HCM_TOTAL_BEB from HIST_COMISIONES_MOVIL"))); - //BA.debugLineNum = 3735;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 3736;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3737;BA.debugLine="L_TOTAL_BA.Text = c.GetString(\"HCM_TOTAL_BEB\")"; -_l_total_ba.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_BEB"))); - //BA.debugLineNum = 3738;BA.debugLine="L_TOTAL_GUNA.Text = c.GetString(\"HCM_TOTAL_GUNA"; -_l_total_guna.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_GUNA"))); - //BA.debugLineNum = 3739;BA.debugLine="L_TOTAL_MM.Text = c.GetString(\"HCM_TOTAL_V\")"; -_l_total_mm.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_V"))); - //BA.debugLineNum = 3740;BA.debugLine="L_TOTAL_VIVE.Text = c.GetString(\"HCM_TOTAL_VIVE"; -_l_total_vive.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_VIVE"))); - //BA.debugLineNum = 3741;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3742;BA.debugLine="L_TOTAL_COMIS.Text = 0"; -_l_total_comis.setText(BA.ObjectToCharSequence(0)); +public String _tickets_dia_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "tickets_dia_click", false)) + {return ((String) Debug.delegate(ba, "tickets_dia_click", null));} +RDebugUtils.currentLine=4980736; + //BA.debugLineNum = 4980736;BA.debugLine="Sub tickets_dia_Click"; +RDebugUtils.currentLine=4980737; + //BA.debugLineNum = 4980737;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; +_b4xpages._showpage /*String*/ (ba,"TicketsDia"); +RDebugUtils.currentLine=4980738; + //BA.debugLineNum = 4980738;BA.debugLine="End Sub"; +return ""; +} +public String _b_comm_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_comm_click", false)) + {return ((String) Debug.delegate(ba, "b_comm_click", null));} +RDebugUtils.currentLine=5308416; + //BA.debugLineNum = 5308416;BA.debugLine="Sub B_COMM_Click"; +RDebugUtils.currentLine=5308417; + //BA.debugLineNum = 5308417;BA.debugLine="Btn_Ubicar.Visible=False"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5308418; + //BA.debugLineNum = 5308418;BA.debugLine="SCROLL_RESDIA.Visible = True"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5308419; + //BA.debugLineNum = 5308419;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("COMIS",ba); +RDebugUtils.currentLine=5308420; + //BA.debugLineNum = 5308420;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight(__ref._panel_c /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=5308421; + //BA.debugLineNum = 5308421;BA.debugLine="Panel4.Visible = False"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5308422; + //BA.debugLineNum = 5308422;BA.debugLine="Panel_C.Visible = True"; +__ref._panel_c /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5308423; + //BA.debugLineNum = 5308423;BA.debugLine="Panel_C.Width = Root.Width * 0.90"; +__ref._panel_c /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.90)); +RDebugUtils.currentLine=5308427; + //BA.debugLineNum = 5308427;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5308428; + //BA.debugLineNum = 5308428;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5308429; + //BA.debugLineNum = 5308429;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5308430; + //BA.debugLineNum = 5308430;BA.debugLine="Subir.Visible=False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5308431; + //BA.debugLineNum = 5308431;BA.debugLine="cargar.Visible=False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5308432; + //BA.debugLineNum = 5308432;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5308434; + //BA.debugLineNum = 5308434;BA.debugLine="If l_ruta.Text <> 0 Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=5308435; + //BA.debugLineNum = 5308435;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HCM_T"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HCM_TOTAL_V, HCM_TOTAL_VIVE, HCM_TOTAL_GUNA, HCM_TOTAL_BEB from HIST_COMISIONES_MOVIL"))); +RDebugUtils.currentLine=5308436; + //BA.debugLineNum = 5308436;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=5308437; + //BA.debugLineNum = 5308437;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5308438; + //BA.debugLineNum = 5308438;BA.debugLine="L_TOTAL_BA.Text = c.GetString(\"HCM_TOTAL_BEB\")"; +__ref._l_total_ba /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HCM_TOTAL_BEB"))); +RDebugUtils.currentLine=5308439; + //BA.debugLineNum = 5308439;BA.debugLine="L_TOTAL_GUNA.Text = c.GetString(\"HCM_TOTAL_GUNA"; +__ref._l_total_guna /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HCM_TOTAL_GUNA"))); +RDebugUtils.currentLine=5308440; + //BA.debugLineNum = 5308440;BA.debugLine="L_TOTAL_MM.Text = c.GetString(\"HCM_TOTAL_V\")"; +__ref._l_total_mm /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HCM_TOTAL_V"))); +RDebugUtils.currentLine=5308441; + //BA.debugLineNum = 5308441;BA.debugLine="L_TOTAL_VIVE.Text = c.GetString(\"HCM_TOTAL_VIVE"; +__ref._l_total_vive /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HCM_TOTAL_VIVE"))); +RDebugUtils.currentLine=5308442; + //BA.debugLineNum = 5308442;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5308443; + //BA.debugLineNum = 5308443;BA.debugLine="L_TOTAL_COMIS.Text = 0"; +__ref._l_total_comis /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); }; }else { - //BA.debugLineNum = 3745;BA.debugLine="L_TOTAL_BA.Text = 0"; -_l_total_ba.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3746;BA.debugLine="L_TOTAL_GUNA.Text = 0"; -_l_total_guna.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3747;BA.debugLine="L_TOTAL_MM.Text = 0"; -_l_total_mm.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3748;BA.debugLine="L_TOTAL_VIVE.Text = 0"; -_l_total_vive.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3749;BA.debugLine="L_TOTAL_COMIS.Text = 0"; -_l_total_comis.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=5308446; + //BA.debugLineNum = 5308446;BA.debugLine="L_TOTAL_BA.Text = 0"; +__ref._l_total_ba /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=5308447; + //BA.debugLineNum = 5308447;BA.debugLine="L_TOTAL_GUNA.Text = 0"; +__ref._l_total_guna /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=5308448; + //BA.debugLineNum = 5308448;BA.debugLine="L_TOTAL_MM.Text = 0"; +__ref._l_total_mm /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=5308449; + //BA.debugLineNum = 5308449;BA.debugLine="L_TOTAL_VIVE.Text = 0"; +__ref._l_total_vive /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=5308450; + //BA.debugLineNum = 5308450;BA.debugLine="L_TOTAL_COMIS.Text = 0"; +__ref._l_total_comis /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); }; - //BA.debugLineNum = 3752;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5308453; + //BA.debugLineNum = 5308453;BA.debugLine="End Sub"; return ""; } -public String _b_hacerpedido_click() throws Exception{ - //BA.debugLineNum = 3906;BA.debugLine="Private Sub b_hacerpedido_Click"; - //BA.debugLineNum = 3907;BA.debugLine="hacer_ped_Click"; -_hacer_ped_click(); - //BA.debugLineNum = 3908;BA.debugLine="End Sub"; +public String _b_hacerpedido_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_hacerpedido_click", false)) + {return ((String) Debug.delegate(ba, "b_hacerpedido_click", null));} +RDebugUtils.currentLine=6225920; + //BA.debugLineNum = 6225920;BA.debugLine="Private Sub b_hacerpedido_Click"; +RDebugUtils.currentLine=6225921; + //BA.debugLineNum = 6225921;BA.debugLine="hacer_ped_Click"; +__ref._hacer_ped_click /*String*/ (null); +RDebugUtils.currentLine=6225922; + //BA.debugLineNum = 6225922;BA.debugLine="End Sub"; return ""; } -public String _b_mapa_click() throws Exception{ - //BA.debugLineNum = 2873;BA.debugLine="Sub b_mapa_Click"; - //BA.debugLineNum = 2875;BA.debugLine="B4XPages.GetPage(\"Mapas\")"; +public String _hacer_ped_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "hacer_ped_click", false)) + {return ((String) Debug.delegate(ba, "hacer_ped_click", null));} +RDebugUtils.currentLine=4849664; + //BA.debugLineNum = 4849664;BA.debugLine="Sub hacer_ped_Click"; +RDebugUtils.currentLine=4849665; + //BA.debugLineNum = 4849665;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +_b4xpages._showpage /*String*/ (ba,"Clientes"); +RDebugUtils.currentLine=4849666; + //BA.debugLineNum = 4849666;BA.debugLine="End Sub"; +return ""; +} +public String _b_mapa_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_mapa_click", false)) + {return ((String) Debug.delegate(ba, "b_mapa_click", null));} +RDebugUtils.currentLine=4063232; + //BA.debugLineNum = 4063232;BA.debugLine="Sub b_mapa_Click"; +RDebugUtils.currentLine=4063234; + //BA.debugLineNum = 4063234;BA.debugLine="B4XPages.GetPage(\"Mapas\")"; _b4xpages._getpage /*Object*/ (ba,"Mapas"); - //BA.debugLineNum = 2876;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4063235; + //BA.debugLineNum = 4063235;BA.debugLine="End Sub"; return ""; } -public String _b_marcas_click() throws Exception{ +public String _b_marcas_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_marcas_click", false)) + {return ((String) Debug.delegate(ba, "b_marcas_click", null));} int _i = 0; - //BA.debugLineNum = 3767;BA.debugLine="Sub B_MARCAS_Click"; - //BA.debugLineNum = 3768;BA.debugLine="SCROLL_RESDIA.Visible = True"; -_scroll_resdia.setVisible(__c.True); - //BA.debugLineNum = 3769;BA.debugLine="p_sombra.Width = Root.Width"; -_p_sombra.setWidth(_root.getWidth()); - //BA.debugLineNum = 3770;BA.debugLine="p_sombra.Height = Root.Height"; -_p_sombra.setHeight(_root.getHeight()); - //BA.debugLineNum = 3771;BA.debugLine="Subs.panelVisible(p_sombra, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_sombra,(int) (0),(int) (0)); - //BA.debugLineNum = 3772;BA.debugLine="p_marcasRes.Visible = True"; -_p_marcasres.setVisible(__c.True); - //BA.debugLineNum = 3773;BA.debugLine="p_marcasRes.Height = Root.Height * 0.8"; -_p_marcasres.setHeight((int) (_root.getHeight()*0.8)); - //BA.debugLineNum = 3774;BA.debugLine="p_marcasRes.BringToFront"; -_p_marcasres.BringToFront(); - //BA.debugLineNum = 3776;BA.debugLine="pnlTitle.Visible = False"; -_pnltitle.setVisible(__c.False); - //BA.debugLineNum = 3780;BA.debugLine="B_OK_PANEL5.Top = p_marcasRes.Height - (B_OK_PANE"; -_b_ok_panel5.setTop((int) (_p_marcasres.getHeight()-(_b_ok_panel5.getHeight()+20))); - //BA.debugLineNum = 3781;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF"))); - //BA.debugLineNum = 3782;BA.debugLine="CLV1.Clear"; -_clv1._clear(); - //BA.debugLineNum = 3783;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 3784;BA.debugLine="For i=0 To c.RowCount - 1"; +RDebugUtils.currentLine=5439488; + //BA.debugLineNum = 5439488;BA.debugLine="Sub B_MARCAS_Click"; +RDebugUtils.currentLine=5439489; + //BA.debugLineNum = 5439489;BA.debugLine="SCROLL_RESDIA.Visible = True"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5439490; + //BA.debugLineNum = 5439490;BA.debugLine="p_sombra.Width = Root.Width"; +__ref._p_sombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=5439491; + //BA.debugLineNum = 5439491;BA.debugLine="p_sombra.Height = Root.Height"; +__ref._p_sombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=5439492; + //BA.debugLineNum = 5439492;BA.debugLine="Subs.panelVisible(p_sombra, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_sombra /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=5439493; + //BA.debugLineNum = 5439493;BA.debugLine="p_marcasRes.Visible = True"; +__ref._p_marcasres /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5439494; + //BA.debugLineNum = 5439494;BA.debugLine="p_marcasRes.Height = Root.Height * 0.8"; +__ref._p_marcasres /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.8)); +RDebugUtils.currentLine=5439495; + //BA.debugLineNum = 5439495;BA.debugLine="p_marcasRes.BringToFront"; +__ref._p_marcasres /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=5439497; + //BA.debugLineNum = 5439497;BA.debugLine="pnlTitle.Visible = False"; +__ref._pnltitle /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5439501; + //BA.debugLineNum = 5439501;BA.debugLine="B_OK_PANEL5.Top = p_marcasRes.Height - (B_OK_PANE"; +__ref._b_ok_panel5 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTop((int) (__ref._p_marcasres /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-(__ref._b_ok_panel5 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getHeight()+20))); +RDebugUtils.currentLine=5439502; + //BA.debugLineNum = 5439502;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF"))); +RDebugUtils.currentLine=5439503; + //BA.debugLineNum = 5439503;BA.debugLine="CLV1.Clear"; +__ref._clv1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=5439504; + //BA.debugLineNum = 5439504;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=5439505; + //BA.debugLineNum = 5439505;BA.debugLine="For i=0 To c.RowCount - 1"; { final int step13 = 1; -final int limit13 = (int) (_c.getRowCount()-1); +final int limit13 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit13 ;_i = _i + step13 ) { - //BA.debugLineNum = 3785;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 3786;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))"; -_addtitle(_c.GetString("CAT_GP_CLASIF")); - //BA.debugLineNum = 3787;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then"; -if ((_c.GetString("CAT_GP_CLASIF")).equals("PROMOS")) { - //BA.debugLineNum = 3788;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID"))); - //BA.debugLineNum = 3789;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3790;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G"; -_clv1._addtextitem((Object)("CANTIDAD DE PROMOS = "+_d.GetString("CUANTOS")),(Object)("1")); - //BA.debugLineNum = 3791;BA.debugLine="d.Close"; -_d.Close(); +RDebugUtils.currentLine=5439506; + //BA.debugLineNum = 5439506;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=5439507; + //BA.debugLineNum = 5439507;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))"; +__ref._addtitle /*String*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")); +RDebugUtils.currentLine=5439508; + //BA.debugLineNum = 5439508;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")).equals("PROMOS")) { +RDebugUtils.currentLine=5439509; + //BA.debugLineNum = 5439509;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID"))); +RDebugUtils.currentLine=5439510; + //BA.debugLineNum = 5439510;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5439511; + //BA.debugLineNum = 5439511;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("CANTIDAD DE PROMOS = "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")),(Object)("1")); +RDebugUtils.currentLine=5439512; + //BA.debugLineNum = 5439512;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 3793;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{_c.GetString("CAT_GP_CLASIF")}))); - //BA.debugLineNum = 3794;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 3795;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_f.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 3796;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{_c.GetString("CAT_GP_CLASIF")}))); - //BA.debugLineNum = 3797;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 3798;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" WHERE CAT_GP_CLASIF =?)"),new String[]{_c.GetString("CAT_GP_CLASIF")}))); - //BA.debugLineNum = 3799;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3800;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; -_clv1._addtextitem((Object)("TOTAL PREVENTA = $"+_c.GetString("TOTAL")),(Object)("1")); - //BA.debugLineNum = 3801;BA.debugLine="CLV1.AddTextItem(\"META MES= $\" & e.GetString("; -_clv1._addtextitem((Object)("META MES= $"+_e.GetString("HMC_TOTAL")),(Object)("1")); - //BA.debugLineNum = 3802;BA.debugLine="CLV1.AddTextItem(\"META DIA= $\" & Round(e.GetS"; -_clv1._addtextitem((Object)("META DIA= $"+BA.NumberToString(__c.Round((double)(Double.parseDouble(_e.GetString("HMC_TOTAL")))/(double)25))),(Object)("1")); - //BA.debugLineNum = 3803;BA.debugLine="CLV1.AddTextItem(\"FALTA DIA= $\" & Round((e.Ge"; -_clv1._addtextitem((Object)("FALTA DIA= $"+BA.NumberToString(__c.Round(((double)(Double.parseDouble(_e.GetString("HMC_TOTAL")))/(double)25)-(double)(Double.parseDouble(_c.GetString("TOTAL")))))),(Object)("1")); - //BA.debugLineNum = 3804;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; -_clv1._addtextitem((Object)("CLIENTES = "+_d.GetString("CUANTOS")),(Object)("1")); - //BA.debugLineNum = 3805;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3806;BA.debugLine="e.Close"; -_e.Close(); +RDebugUtils.currentLine=5439514; + //BA.debugLineNum = 5439514;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")}))); +RDebugUtils.currentLine=5439515; + //BA.debugLineNum = 5439515;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5439516; + //BA.debugLineNum = 5439516;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=5439517; + //BA.debugLineNum = 5439517;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")}))); +RDebugUtils.currentLine=5439518; + //BA.debugLineNum = 5439518;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5439519; + //BA.debugLineNum = 5439519;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" WHERE CAT_GP_CLASIF =?)"),new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")}))); +RDebugUtils.currentLine=5439520; + //BA.debugLineNum = 5439520;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5439521; + //BA.debugLineNum = 5439521;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("TOTAL PREVENTA = $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")),(Object)("1")); +RDebugUtils.currentLine=5439522; + //BA.debugLineNum = 5439522;BA.debugLine="CLV1.AddTextItem(\"META MES= $\" & e.GetString("; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("META MES= $"+__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HMC_TOTAL")),(Object)("1")); +RDebugUtils.currentLine=5439523; + //BA.debugLineNum = 5439523;BA.debugLine="CLV1.AddTextItem(\"META DIA= $\" & Round(e.GetS"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("META DIA= $"+BA.NumberToString(__c.Round((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HMC_TOTAL")))/(double)25))),(Object)("1")); +RDebugUtils.currentLine=5439524; + //BA.debugLineNum = 5439524;BA.debugLine="CLV1.AddTextItem(\"FALTA DIA= $\" & Round((e.Ge"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("FALTA DIA= $"+BA.NumberToString(__c.Round(((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HMC_TOTAL")))/(double)25)-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))))),(Object)("1")); +RDebugUtils.currentLine=5439525; + //BA.debugLineNum = 5439525;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("CLIENTES = "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")),(Object)("1")); +RDebugUtils.currentLine=5439526; + //BA.debugLineNum = 5439526;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5439527; + //BA.debugLineNum = 5439527;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 3808;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" WHERE CAT_GP_CLASIF =?)"),new String[]{_c.GetString("CAT_GP_CLASIF")}))); - //BA.debugLineNum = 3809;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3810;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; -_clv1._addtextitem((Object)("TOTAL PREVENTA = $"+_c.GetString("TOTAL")),(Object)("1")); - //BA.debugLineNum = 3811;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & \"1000\",\"1\")"; -_clv1._addtextitem((Object)("M E T A = $"+"1000"),(Object)("1")); - //BA.debugLineNum = 3812;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (1000 - c.Get"; -_clv1._addtextitem((Object)("FALTA = $"+BA.NumberToString((1000-(double)(Double.parseDouble(_c.GetString("TOTAL")))))),(Object)("1")); - //BA.debugLineNum = 3813;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; -_clv1._addtextitem((Object)("CLIENTES = "+_d.GetString("CUANTOS")),(Object)("1")); - //BA.debugLineNum = 3814;BA.debugLine="d.Close"; -_d.Close(); +RDebugUtils.currentLine=5439529; + //BA.debugLineNum = 5439529;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" WHERE CAT_GP_CLASIF =?)"),new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")}))); +RDebugUtils.currentLine=5439530; + //BA.debugLineNum = 5439530;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5439531; + //BA.debugLineNum = 5439531;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("TOTAL PREVENTA = $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")),(Object)("1")); +RDebugUtils.currentLine=5439532; + //BA.debugLineNum = 5439532;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & \"1000\",\"1\")"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("M E T A = $"+"1000"),(Object)("1")); +RDebugUtils.currentLine=5439533; + //BA.debugLineNum = 5439533;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (1000 - c.Get"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("FALTA = $"+BA.NumberToString((1000-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))))),(Object)("1")); +RDebugUtils.currentLine=5439534; + //BA.debugLineNum = 5439534;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("CLIENTES = "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")),(Object)("1")); +RDebugUtils.currentLine=5439535; + //BA.debugLineNum = 5439535;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 3816;BA.debugLine="f.Close"; -_f.Close(); +RDebugUtils.currentLine=5439537; + //BA.debugLineNum = 5439537;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; } }; }; - //BA.debugLineNum = 3820;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3832;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5439541; + //BA.debugLineNum = 5439541;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5439553; + //BA.debugLineNum = 5439553;BA.debugLine="End Sub"; return ""; } -public String _b_nuevocliente_click() throws Exception{ - //BA.debugLineNum = 3902;BA.debugLine="Private Sub b_nuevocliente_Click"; - //BA.debugLineNum = 3903;BA.debugLine="nvo_cliente_Click"; -_nvo_cliente_click(); - //BA.debugLineNum = 3904;BA.debugLine="End Sub"; +public String _b_nuevocliente_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_nuevocliente_click", false)) + {return ((String) Debug.delegate(ba, "b_nuevocliente_click", null));} +RDebugUtils.currentLine=6160384; + //BA.debugLineNum = 6160384;BA.debugLine="Private Sub b_nuevocliente_Click"; +RDebugUtils.currentLine=6160385; + //BA.debugLineNum = 6160385;BA.debugLine="nvo_cliente_Click"; +__ref._nvo_cliente_click /*String*/ (null); +RDebugUtils.currentLine=6160386; + //BA.debugLineNum = 6160386;BA.debugLine="End Sub"; return ""; } -public String _b_ok_comiss_click() throws Exception{ - //BA.debugLineNum = 3754;BA.debugLine="Sub B_OK_COMISS_Click"; - //BA.debugLineNum = 3755;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 3756;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 3757;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3758;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 3759;BA.debugLine="P_RESUMEN.Visible=False"; -_p_resumen.setVisible(__c.False); - //BA.debugLineNum = 3760;BA.debugLine="Panel_C.Visible = False"; -_panel_c.setVisible(__c.False); - //BA.debugLineNum = 3761;BA.debugLine="SCROLL_RESDIA.Visible = False"; -_scroll_resdia.setVisible(__c.False); - //BA.debugLineNum = 3762;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 3763;BA.debugLine="p_principal.Visible = True"; -_p_principal.setVisible(__c.True); - //BA.debugLineNum = 3764;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews"; -_scroll_resdia.getPanel().RemoveAllViews(); - //BA.debugLineNum = 3765;BA.debugLine="End Sub"; +public String _nvo_cliente_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "nvo_cliente_click", false)) + {return ((String) Debug.delegate(ba, "nvo_cliente_click", null));} +RDebugUtils.currentLine=4915200; + //BA.debugLineNum = 4915200;BA.debugLine="Sub nvo_cliente_Click"; +RDebugUtils.currentLine=4915201; + //BA.debugLineNum = 4915201;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); +RDebugUtils.currentLine=4915202; + //BA.debugLineNum = 4915202;BA.debugLine="End Sub"; return ""; } -public String _b_ok_panel5_click() throws Exception{ - //BA.debugLineNum = 3844;BA.debugLine="Sub B_OK_PANEL5_Click"; - //BA.debugLineNum = 3845;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 3846;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 3847;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3848;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 3849;BA.debugLine="P_RESUMEN.Visible=False"; -_p_resumen.setVisible(__c.False); - //BA.debugLineNum = 3850;BA.debugLine="Panel4.Visible = False"; -_panel4.setVisible(__c.False); - //BA.debugLineNum = 3851;BA.debugLine="SCROLL_RESDIA.Visible = False"; -_scroll_resdia.setVisible(__c.False); - //BA.debugLineNum = 3852;BA.debugLine="p_marcasRes.Visible = False"; -_p_marcasres.setVisible(__c.False); - //BA.debugLineNum = 3853;BA.debugLine="p_sombra.Visible = False"; -_p_sombra.setVisible(__c.False); - //BA.debugLineNum = 3854;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 3855;BA.debugLine="p_principal.Visible = True"; -_p_principal.setVisible(__c.True); - //BA.debugLineNum = 3856;BA.debugLine="End Sub"; +public String _b_ok_comiss_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ok_comiss_click", false)) + {return ((String) Debug.delegate(ba, "b_ok_comiss_click", null));} +RDebugUtils.currentLine=5373952; + //BA.debugLineNum = 5373952;BA.debugLine="Sub B_OK_COMISS_Click"; +RDebugUtils.currentLine=5373953; + //BA.debugLineNum = 5373953;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5373954; + //BA.debugLineNum = 5373954;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5373955; + //BA.debugLineNum = 5373955;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5373956; + //BA.debugLineNum = 5373956;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5373957; + //BA.debugLineNum = 5373957;BA.debugLine="P_RESUMEN.Visible=False"; +__ref._p_resumen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5373958; + //BA.debugLineNum = 5373958;BA.debugLine="Panel_C.Visible = False"; +__ref._panel_c /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5373959; + //BA.debugLineNum = 5373959;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5373960; + //BA.debugLineNum = 5373960;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5373961; + //BA.debugLineNum = 5373961;BA.debugLine="p_principal.Visible = True"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5373962; + //BA.debugLineNum = 5373962;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().RemoveAllViews(); +RDebugUtils.currentLine=5373963; + //BA.debugLineNum = 5373963;BA.debugLine="End Sub"; return ""; } -public String _b_ok_pas_click() throws Exception{ +public String _b_ok_panel5_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ok_panel5_click", false)) + {return ((String) Debug.delegate(ba, "b_ok_panel5_click", null));} +RDebugUtils.currentLine=5570560; + //BA.debugLineNum = 5570560;BA.debugLine="Sub B_OK_PANEL5_Click"; +RDebugUtils.currentLine=5570561; + //BA.debugLineNum = 5570561;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5570562; + //BA.debugLineNum = 5570562;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5570563; + //BA.debugLineNum = 5570563;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5570564; + //BA.debugLineNum = 5570564;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5570565; + //BA.debugLineNum = 5570565;BA.debugLine="P_RESUMEN.Visible=False"; +__ref._p_resumen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5570566; + //BA.debugLineNum = 5570566;BA.debugLine="Panel4.Visible = False"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5570567; + //BA.debugLineNum = 5570567;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5570568; + //BA.debugLineNum = 5570568;BA.debugLine="p_marcasRes.Visible = False"; +__ref._p_marcasres /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5570569; + //BA.debugLineNum = 5570569;BA.debugLine="p_sombra.Visible = False"; +__ref._p_sombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5570570; + //BA.debugLineNum = 5570570;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5570571; + //BA.debugLineNum = 5570571;BA.debugLine="p_principal.Visible = True"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=5570572; + //BA.debugLineNum = 5570572;BA.debugLine="End Sub"; +return ""; +} +public String _b_ok_pas_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ok_pas_click", false)) + {return ((String) Debug.delegate(ba, "b_ok_pas_click", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _cn = null; int _gh = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _c11 = null; int _i = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _c12 = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _c13 = null; - //BA.debugLineNum = 3036;BA.debugLine="Sub B_OK_PAS_Click"; - //BA.debugLineNum = 3037;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then"; -if ((_carga).equals("SUBIR") && (_s_cp.getText()).equals("INFO OK")) { - //BA.debugLineNum = 3038;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 3039;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 3041;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 3042;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 3043;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3044;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 3045;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 3046;BA.debugLine="CARGA = \"\""; -_carga = ""; - //BA.debugLineNum = 3048;BA.debugLine="E_RUTA2.Text = \"\""; -_e_ruta2.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 3049;BA.debugLine="e_ruta.Text = \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 3050;BA.debugLine="Label4.Visible = True"; -_label4.setVisible(__c.True); - //BA.debugLineNum = 3051;BA.debugLine="l_ruta.Visible = True"; -_l_ruta.setVisible(__c.True); - //BA.debugLineNum = 3052;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_carga).equals("SUBIR") && (_s_cp.getText()).equals("ERROR")) { - //BA.debugLineNum = 3054;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\""; +RDebugUtils.currentLine=4390912; + //BA.debugLineNum = 4390912;BA.debugLine="Sub B_OK_PAS_Click"; +RDebugUtils.currentLine=4390913; + //BA.debugLineNum = 4390913;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then"; +if ((__ref._carga /*String*/ ).equals("SUBIR") && (__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("INFO OK")) { +RDebugUtils.currentLine=4390914; + //BA.debugLineNum = 4390914;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4390915; + //BA.debugLineNum = 4390915;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390917; + //BA.debugLineNum = 4390917;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390918; + //BA.debugLineNum = 4390918;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390919; + //BA.debugLineNum = 4390919;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390920; + //BA.debugLineNum = 4390920;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390921; + //BA.debugLineNum = 4390921;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4390922; + //BA.debugLineNum = 4390922;BA.debugLine="CARGA = \"\""; +__ref._carga /*String*/ = ""; +RDebugUtils.currentLine=4390924; + //BA.debugLineNum = 4390924;BA.debugLine="E_RUTA2.Text = \"\""; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=4390925; + //BA.debugLineNum = 4390925;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=4390926; + //BA.debugLineNum = 4390926;BA.debugLine="Label4.Visible = True"; +__ref._label4 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390927; + //BA.debugLineNum = 4390927;BA.debugLine="l_ruta.Visible = True"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390928; + //BA.debugLineNum = 4390928;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else +{RDebugUtils.currentLine=4390929; + //BA.debugLineNum = 4390929;BA.debugLine="Else If CARGA = \"SUBIR\" And S_CP.Text = \"ERROR\" T"; +if ((__ref._carga /*String*/ ).equals("SUBIR") && (__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("ERROR")) { +RDebugUtils.currentLine=4390930; + //BA.debugLineNum = 4390930;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\""; __c.Msgbox(BA.ObjectToCharSequence("Tiene que subir de nuevo la información"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 3055;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 3057;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 3058;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 3059;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3060;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 3061;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - }else if((_carga).equals("SUBIR") && (_s_cp.getText()).equals("INFO OK") == false) { - //BA.debugLineNum = 3064;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce"; -_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 3065;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; -if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 3066;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 3068;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 3069;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 3070;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3071;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 3072;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 3073;BA.debugLine="l_visitartotal.Visible = True"; -_l_visitartotal.setVisible(__c.True); - //BA.debugLineNum = 3074;BA.debugLine="de.Visible = True"; -_de.setVisible(__c.True); - //BA.debugLineNum = 3075;BA.debugLine="l_faltan.Visible = True"; -_l_faltan.setVisible(__c.True); - //BA.debugLineNum = 3076;BA.debugLine="l_visitas.Visible = True"; -_l_visitas.setVisible(__c.True); - //BA.debugLineNum = 3078;BA.debugLine="ExitApplication"; +RDebugUtils.currentLine=4390931; + //BA.debugLineNum = 4390931;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4390933; + //BA.debugLineNum = 4390933;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390934; + //BA.debugLineNum = 4390934;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390935; + //BA.debugLineNum = 4390935;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390936; + //BA.debugLineNum = 4390936;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390937; + //BA.debugLineNum = 4390937;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=4390939; + //BA.debugLineNum = 4390939;BA.debugLine="Else if CARGA = \"SUBIR\" And S_CP.Text <> \"INFO OK"; +if ((__ref._carga /*String*/ ).equals("SUBIR") && (__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("INFO OK") == false) { +RDebugUtils.currentLine=4390940; + //BA.debugLineNum = 4390940;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce"; +__ref._res /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=4390941; + //BA.debugLineNum = 4390941;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +if ((__ref._res /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=4390942; + //BA.debugLineNum = 4390942;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4390944; + //BA.debugLineNum = 4390944;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390945; + //BA.debugLineNum = 4390945;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390946; + //BA.debugLineNum = 4390946;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390947; + //BA.debugLineNum = 4390947;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390948; + //BA.debugLineNum = 4390948;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4390949; + //BA.debugLineNum = 4390949;BA.debugLine="l_visitartotal.Visible = True"; +__ref._l_visitartotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390950; + //BA.debugLineNum = 4390950;BA.debugLine="de.Visible = True"; +__ref._de /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390951; + //BA.debugLineNum = 4390951;BA.debugLine="l_faltan.Visible = True"; +__ref._l_faltan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390952; + //BA.debugLineNum = 4390952;BA.debugLine="l_visitas.Visible = True"; +__ref._l_visitas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390954; + //BA.debugLineNum = 4390954;BA.debugLine="ExitApplication"; __c.ExitApplication(); }; - }; - //BA.debugLineNum = 3081;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S"; -if ((_carga).equals("CARGAR") && (_s_cp.getText()).equals("LISTO") && (_s_cc.getText()).equals("LISTO") && (_s_ch.getText()).equals("LISTO")) { - //BA.debugLineNum = 3082;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 3083;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 3085;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 3086;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 3087;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3088;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 3089;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 3091;BA.debugLine="Label4.Visible = True"; -_label4.setVisible(__c.True); - //BA.debugLineNum = 3092;BA.debugLine="l_ruta.Visible = True"; -_l_ruta.setVisible(__c.True); - //BA.debugLineNum = 3093;BA.debugLine="l_visitartotal.Visible = True"; -_l_visitartotal.setVisible(__c.True); - //BA.debugLineNum = 3094;BA.debugLine="de.Visible = True"; -_de.setVisible(__c.True); - //BA.debugLineNum = 3095;BA.debugLine="l_faltan.Visible = True"; -_l_faltan.setVisible(__c.True); - //BA.debugLineNum = 3096;BA.debugLine="l_visitas.Visible = True"; -_l_visitas.setVisible(__c.True); - //BA.debugLineNum = 3097;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 3099;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC"; + }}} +; +RDebugUtils.currentLine=4390957; + //BA.debugLineNum = 4390957;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S"; +if ((__ref._carga /*String*/ ).equals("CARGAR") && (__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") && (__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") && (__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO")) { +RDebugUtils.currentLine=4390958; + //BA.debugLineNum = 4390958;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4390959; + //BA.debugLineNum = 4390959;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390961; + //BA.debugLineNum = 4390961;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390962; + //BA.debugLineNum = 4390962;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390963; + //BA.debugLineNum = 4390963;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390964; + //BA.debugLineNum = 4390964;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390965; + //BA.debugLineNum = 4390965;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4390967; + //BA.debugLineNum = 4390967;BA.debugLine="Label4.Visible = True"; +__ref._label4 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390968; + //BA.debugLineNum = 4390968;BA.debugLine="l_ruta.Visible = True"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390969; + //BA.debugLineNum = 4390969;BA.debugLine="l_visitartotal.Visible = True"; +__ref._l_visitartotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390970; + //BA.debugLineNum = 4390970;BA.debugLine="de.Visible = True"; +__ref._de /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390971; + //BA.debugLineNum = 4390971;BA.debugLine="l_faltan.Visible = True"; +__ref._l_faltan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390972; + //BA.debugLineNum = 4390972;BA.debugLine="l_visitas.Visible = True"; +__ref._l_visitas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4390973; + //BA.debugLineNum = 4390973;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=4390975; + //BA.debugLineNum = 4390975;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC"; _cn = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cn = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CLIENTES_NUEVOS"))); - //BA.debugLineNum = 3100;BA.debugLine="If cn.RowCount > 0 Then"; +RDebugUtils.currentLine=4390976; + //BA.debugLineNum = 4390976;BA.debugLine="If cn.RowCount > 0 Then"; if (_cn.getRowCount()>0) { - //BA.debugLineNum = 3101;BA.debugLine="For gh = 0 To cn.RowCount -1"; +RDebugUtils.currentLine=4390977; + //BA.debugLineNum = 4390977;BA.debugLine="For gh = 0 To cn.RowCount -1"; { final int step56 = 1; final int limit56 = (int) (_cn.getRowCount()-1); _gh = (int) (0) ; for (;_gh <= limit56 ;_gh = _gh + step56 ) { - //BA.debugLineNum = 3102;BA.debugLine="cn.Position = gh"; +RDebugUtils.currentLine=4390978; + //BA.debugLineNum = 4390978;BA.debugLine="cn.Position = gh"; _cn.setPosition(_gh); - //BA.debugLineNum = 3103;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; +RDebugUtils.currentLine=4390979; + //BA.debugLineNum = 4390979;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_NUMEROINT,CAT_CL_NUMEROEXT,CAT_CL_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cn.GetString("CN_ID")),(Object)(_cn.GetString("CN_RUTA")),(Object)(_cn.GetString("CN_NOMBRE")),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_cn.GetString("CN_CALLE1")),(Object)(_cn.GetString("CN_CALLE2")),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_cn.GetString("CN_LON")),(Object)(_cn.GetString("CN_LAT")),(Object)(_cn.GetString("CN_GIRO")),(Object)(_cn.GetString("CN_NUMEROINT")),(Object)(_cn.GetString("CN_NUMEROEXT")),(Object)(_cn.GetString("CN_REFERENCIA"))})); } }; }; - //BA.debugLineNum = 3107;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +RDebugUtils.currentLine=4390983; + //BA.debugLineNum = 4390983;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"CARGA_DIA"})); - //BA.debugLineNum = 3108;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +RDebugUtils.currentLine=4390984; + //BA.debugLineNum = 4390984;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CARGA_DIA"),(Object)(1)})); - //BA.debugLineNum = 3109;BA.debugLine="If E_RUTA2.Visible = True Then"; -if (_e_ruta2.getVisible()==__c.True) { - //BA.debugLineNum = 3110;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; -_bitacora._mandabitacora /*String*/ (_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_usuario,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Carga día suplencia","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","",""); +RDebugUtils.currentLine=4390985; + //BA.debugLineNum = 4390985;BA.debugLine="If E_RUTA2.Visible = True Then"; +if (__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=4390986; + //BA.debugLineNum = 4390986;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._mandabitacora /*String*/ (null,_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),__ref._usuario /*String*/ ,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Carga día suplencia","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","",""); }else { - //BA.debugLineNum = 3112;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; -_bitacora._mandabitacora /*String*/ (_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_usuario,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Carga día","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","",""); +RDebugUtils.currentLine=4390988; + //BA.debugLineNum = 4390988;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._mandabitacora /*String*/ (null,_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),__ref._usuario /*String*/ ,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Carga día","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","",""); }; - //BA.debugLineNum = 3114;BA.debugLine="Dim c11 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +RDebugUtils.currentLine=4390990; + //BA.debugLineNum = 4390990;BA.debugLine="Dim c11 As Cursor = Starter.skmt.ExecQuery(\"Sel"; _c11 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c11 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'PREVENTA'"))); - //BA.debugLineNum = 3115;BA.debugLine="If c11.RowCount > 0 Then"; +RDebugUtils.currentLine=4390991; + //BA.debugLineNum = 4390991;BA.debugLine="If c11.RowCount > 0 Then"; if (_c11.getRowCount()>0) { - //BA.debugLineNum = 3116;BA.debugLine="For i = 0 To c11.RowCount - 1"; +RDebugUtils.currentLine=4390992; + //BA.debugLineNum = 4390992;BA.debugLine="For i = 0 To c11.RowCount - 1"; { final int step70 = 1; final int limit70 = (int) (_c11.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit70 ;_i = _i + step70 ) { - //BA.debugLineNum = 3117;BA.debugLine="c11.Position = i"; +RDebugUtils.currentLine=4390993; + //BA.debugLineNum = 4390993;BA.debugLine="c11.Position = i"; _c11.setPosition(_i); - //BA.debugLineNum = 3118;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +RDebugUtils.currentLine=4390994; + //BA.debugLineNum = 4390994;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "+__c.SmartStringFormatter("",(Object)(_c11.GetString("PE_CANT")))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c11.GetString("PE_PROID")))+"'")); } }; }; - //BA.debugLineNum = 3121;BA.debugLine="c11.Close"; +RDebugUtils.currentLine=4390997; + //BA.debugLineNum = 4390997;BA.debugLine="c11.Close"; _c11.Close(); - //BA.debugLineNum = 3123;BA.debugLine="Dim c12 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +RDebugUtils.currentLine=4390999; + //BA.debugLineNum = 4390999;BA.debugLine="Dim c12 As Cursor = Starter.skmt.ExecQuery(\"Sel"; _c12 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c12 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'ABORDO'"))); - //BA.debugLineNum = 3124;BA.debugLine="If c12.RowCount > 0 Then"; +RDebugUtils.currentLine=4391000; + //BA.debugLineNum = 4391000;BA.debugLine="If c12.RowCount > 0 Then"; if (_c12.getRowCount()>0) { - //BA.debugLineNum = 3125;BA.debugLine="For i = 0 To c12.RowCount - 1"; +RDebugUtils.currentLine=4391001; + //BA.debugLineNum = 4391001;BA.debugLine="For i = 0 To c12.RowCount - 1"; { final int step78 = 1; final int limit78 = (int) (_c12.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit78 ;_i = _i + step78 ) { - //BA.debugLineNum = 3126;BA.debugLine="c12.Position = i"; +RDebugUtils.currentLine=4391002; + //BA.debugLineNum = 4391002;BA.debugLine="c12.Position = i"; _c12.setPosition(_i); - //BA.debugLineNum = 3127;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +RDebugUtils.currentLine=4391003; + //BA.debugLineNum = 4391003;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "+__c.SmartStringFormatter("",(Object)(_c12.GetString("PE_CANT")))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c12.GetString("PE_PROID")))+"'")); } }; }; - //BA.debugLineNum = 3130;BA.debugLine="c12.Close"; +RDebugUtils.currentLine=4391006; + //BA.debugLineNum = 4391006;BA.debugLine="c12.Close"; _c12.Close(); - //BA.debugLineNum = 3132;BA.debugLine="Dim c13 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +RDebugUtils.currentLine=4391008; + //BA.debugLineNum = 4391008;BA.debugLine="Dim c13 As Cursor = Starter.skmt.ExecQuery(\"Sel"; _c13 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c13 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'VENTA'"))); - //BA.debugLineNum = 3133;BA.debugLine="If c13.RowCount > 0 Then"; +RDebugUtils.currentLine=4391009; + //BA.debugLineNum = 4391009;BA.debugLine="If c13.RowCount > 0 Then"; if (_c13.getRowCount()>0) { - //BA.debugLineNum = 3134;BA.debugLine="For i = 0 To c13.RowCount - 1"; +RDebugUtils.currentLine=4391010; + //BA.debugLineNum = 4391010;BA.debugLine="For i = 0 To c13.RowCount - 1"; { final int step86 = 1; final int limit86 = (int) (_c13.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit86 ;_i = _i + step86 ) { - //BA.debugLineNum = 3135;BA.debugLine="c13.Position = i"; +RDebugUtils.currentLine=4391011; + //BA.debugLineNum = 4391011;BA.debugLine="c13.Position = i"; _c13.setPosition(_i); - //BA.debugLineNum = 3136;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +RDebugUtils.currentLine=4391012; + //BA.debugLineNum = 4391012;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CAT_GUNAPROD2 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "+__c.SmartStringFormatter("",(Object)(_c13.GetString("PE_CANT")))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c13.GetString("PE_PROID")))+"'")); } }; }; - //BA.debugLineNum = 3139;BA.debugLine="c13.Close"; +RDebugUtils.currentLine=4391015; + //BA.debugLineNum = 4391015;BA.debugLine="c13.Close"; _c13.Close(); - //BA.debugLineNum = 3143;BA.debugLine="checaPedido"; -_checapedido(); - }else if((_carga).equals("CARGAR") && ((_s_cp.getText()).equals("LISTO") == false || (_s_cc.getText()).equals("LISTO") == false || (_s_ch.getText()).equals("LISTO") == false)) { - //BA.debugLineNum = 3145;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce"; -_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 3146;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; -if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 3147;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 3149;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 3150;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 3151;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3152;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 3153;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 3155;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 3156;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391019; + //BA.debugLineNum = 4391019;BA.debugLine="checaPedido"; +__ref._checapedido /*String*/ (null); + }else +{RDebugUtils.currentLine=4391020; + //BA.debugLineNum = 4391020;BA.debugLine="Else if CARGA = \"CARGAR\" And (S_CP.Text <> \"LISTO"; +if ((__ref._carga /*String*/ ).equals("CARGAR") && ((__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") == false || (__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") == false || (__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") == false)) { +RDebugUtils.currentLine=4391021; + //BA.debugLineNum = 4391021;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce"; +__ref._res /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=4391022; + //BA.debugLineNum = 4391022;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +if ((__ref._res /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=4391023; + //BA.debugLineNum = 4391023;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4391025; + //BA.debugLineNum = 4391025;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4391026; + //BA.debugLineNum = 4391026;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4391027; + //BA.debugLineNum = 4391027;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4391028; + //BA.debugLineNum = 4391028;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4391029; + //BA.debugLineNum = 4391029;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4391031; + //BA.debugLineNum = 4391031;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=4391032; + //BA.debugLineNum = 4391032;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info3"); - //BA.debugLineNum = 3157;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391033; + //BA.debugLineNum = 4391033;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 3158;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391034; + //BA.debugLineNum = 4391034;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 3159;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391035; + //BA.debugLineNum = 4391035;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 3160;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391036; + //BA.debugLineNum = 4391036;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 3161;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391037; + //BA.debugLineNum = 4391037;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 3162;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391038; + //BA.debugLineNum = 4391038;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 3163;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391039; + //BA.debugLineNum = 4391039;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PROMOS"); - //BA.debugLineNum = 3164;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391040; + //BA.debugLineNum = 4391040;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS"); - //BA.debugLineNum = 3165;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391041; + //BA.debugLineNum = 4391041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMOS_COMP"); - //BA.debugLineNum = 3166;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=4391042; + //BA.debugLineNum = 4391042;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VERIFICACION"); - //BA.debugLineNum = 3167;BA.debugLine="ExitApplication"; +RDebugUtils.currentLine=4391043; + //BA.debugLineNum = 4391043;BA.debugLine="ExitApplication"; __c.ExitApplication(); }; - }; - //BA.debugLineNum = 3170;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT"; + }} +; +RDebugUtils.currentLine=4391046; + //BA.debugLineNum = 4391046;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT"; if ((_subs._traetipoventadebd /*String*/ (ba)).equals("VENTA") || (_subs._traetipoventadebd /*String*/ (ba)).equals("ABORDO")) { - //BA.debugLineNum = 3171;BA.debugLine="If l_ruta.Text <> \"0\" Then"; -if ((_l_ruta.getText()).equals("0") == false) { - //BA.debugLineNum = 3172;BA.debugLine="Log(888 & \"|\" & l_ruta.Text & \"|\")"; -__c.LogImpl("440960136",BA.NumberToString(888)+"|"+_l_ruta.getText()+"|",0); - //BA.debugLineNum = 3173;BA.debugLine="b_abordo.Visible = False"; -_b_abordo.setVisible(__c.False); +RDebugUtils.currentLine=4391047; + //BA.debugLineNum = 4391047;BA.debugLine="If l_ruta.Text <> \"0\" Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") == false) { +RDebugUtils.currentLine=4391048; + //BA.debugLineNum = 4391048;BA.debugLine="Log(888 & \"|\" & l_ruta.Text & \"|\")"; +__c.LogImpl("04391048",BA.NumberToString(888)+"|"+__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"|",0); +RDebugUtils.currentLine=4391049; + //BA.debugLineNum = 4391049;BA.debugLine="b_abordo.Visible = False"; +__ref._b_abordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }; }else { - //BA.debugLineNum = 3176;BA.debugLine="b_abordo.Visible = False"; -_b_abordo.setVisible(__c.False); +RDebugUtils.currentLine=4391052; + //BA.debugLineNum = 4391052;BA.debugLine="b_abordo.Visible = False"; +__ref._b_abordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }; - //BA.debugLineNum = 3178;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4391054; + //BA.debugLineNum = 4391054;BA.debugLine="End Sub"; return ""; } -public String _b_ok_res_click() throws Exception{ - //BA.debugLineNum = 3184;BA.debugLine="Sub B_OK_RES_Click"; - //BA.debugLineNum = 3186;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 3187;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 3188;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3189;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 3190;BA.debugLine="P_RESUMEN.Visible=False"; -_p_resumen.setVisible(__c.False); - //BA.debugLineNum = 3191;BA.debugLine="Panel4.Visible = False"; -_panel4.setVisible(__c.False); - //BA.debugLineNum = 3192;BA.debugLine="SCROLL_RESDIA.Visible = False"; -_scroll_resdia.setVisible(__c.False); - //BA.debugLineNum = 3193;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 3194;BA.debugLine="p_principal.Visible = True"; -_p_principal.setVisible(__c.True); - //BA.debugLineNum = 3195;BA.debugLine="End Sub"; -return ""; -} -public String _b_resdia_click() throws Exception{ - //BA.debugLineNum = 3910;BA.debugLine="Private Sub b_resdia_Click"; - //BA.debugLineNum = 3911;BA.debugLine="resdia_Click"; -_resdia_click(); - //BA.debugLineNum = 3912;BA.debugLine="End Sub"; -return ""; -} -public String _b_ubicar_click() throws Exception{ - //BA.debugLineNum = 3898;BA.debugLine="Private Sub b_ubicar_Click"; - //BA.debugLineNum = 3899;BA.debugLine="Btn_Ubicar_Click"; -_btn_ubicar_click(); - //BA.debugLineNum = 3900;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ +public String _b4xpage_appear(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _totalcisitas = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _visitasfaltantes = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; String _total7 = ""; int _i = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; - //BA.debugLineNum = 381;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 385;BA.debugLine="p_principal.Visible = True"; -_p_principal.setVisible(__c.True); - //BA.debugLineNum = 386;BA.debugLine="E_RUTA2.Text = \"\""; -_e_ruta2.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 387;BA.debugLine="p_ruta2.Visible = False"; -_p_ruta2.setVisible(__c.False); - //BA.debugLineNum = 388;BA.debugLine="E_RUTA2.Visible = False"; -_e_ruta2.setVisible(__c.False); - //BA.debugLineNum = 389;BA.debugLine="p_somvra_2.Visible = False"; -_p_somvra_2.setVisible(__c.False); - //BA.debugLineNum = 390;BA.debugLine="Subs.validaPromoProcterPRO3009"; +RDebugUtils.currentLine=3473408; + //BA.debugLineNum = 3473408;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=3473412; + //BA.debugLineNum = 3473412;BA.debugLine="p_principal.Visible = True"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3473413; + //BA.debugLineNum = 3473413;BA.debugLine="E_RUTA2.Text = \"\""; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=3473414; + //BA.debugLineNum = 3473414;BA.debugLine="p_ruta2.Visible = False"; +__ref._p_ruta2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3473415; + //BA.debugLineNum = 3473415;BA.debugLine="E_RUTA2.Visible = False"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3473416; + //BA.debugLineNum = 3473416;BA.debugLine="p_somvra_2.Visible = False"; +__ref._p_somvra_2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3473417; + //BA.debugLineNum = 3473417;BA.debugLine="Subs.validaPromoProcterPRO3009"; _subs._validapromoprocterpro3009 /*String*/ (ba); - //BA.debugLineNum = 391;BA.debugLine="HORAINGRESO =\"000000\""; -_horaingreso = "000000"; - //BA.debugLineNum = 392;BA.debugLine="Btn_Ubicar.Left = (Panel4.Width/2) - (Btn_Ubicar."; -_btn_ubicar.setLeft((int) ((_panel4.getWidth()/(double)2)-(_btn_ubicar.getWidth()/(double)2))); - //BA.debugLineNum = 394;BA.debugLine="PASO = 0"; -_paso = BA.NumberToString(0); - //BA.debugLineNum = 395;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +RDebugUtils.currentLine=3473418; + //BA.debugLineNum = 3473418;BA.debugLine="HORAINGRESO =\"000000\""; +__ref._horaingreso /*String*/ = "000000"; +RDebugUtils.currentLine=3473419; + //BA.debugLineNum = 3473419;BA.debugLine="Btn_Ubicar.Left = (Panel4.Width/2) - (Btn_Ubicar."; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()/(double)2)-(__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=3473421; + //BA.debugLineNum = 3473421;BA.debugLine="PASO = 0"; +__ref._paso /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=3473422; + //BA.debugLineNum = 3473422;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 396;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +RDebugUtils.currentLine=3473423; + //BA.debugLineNum = 3473423;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { __c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True);}; - //BA.debugLineNum = 397;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +RDebugUtils.currentLine=3473424; + //BA.debugLineNum = 3473424;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; __c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); }; - //BA.debugLineNum = 399;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); - //BA.debugLineNum = 400;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 401;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; -if ((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 402;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 403;BA.debugLine="cmd.Name = \"select_fecha\""; -_cmd.Name /*String*/ = "select_fecha"; - //BA.debugLineNum = 404;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("fecha")); - //BA.debugLineNum = 405;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore"; +RDebugUtils.currentLine=3473426; + //BA.debugLineNum = 3473426;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); +RDebugUtils.currentLine=3473427; + //BA.debugLineNum = 3473427;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473428; + //BA.debugLineNum = 3473428;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=3473429; + //BA.debugLineNum = 3473429;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3473430; + //BA.debugLineNum = 3473430;BA.debugLine="cmd.Name = \"select_fecha\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_fecha"; +RDebugUtils.currentLine=3473431; + //BA.debugLineNum = 3473431;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("fecha")); +RDebugUtils.currentLine=3473432; + //BA.debugLineNum = 3473432;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore"; __c.Msgbox(BA.ObjectToCharSequence("AJUSTAR FECHA"),BA.ObjectToCharSequence("AVISO"),ba); - //BA.debugLineNum = 406;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=3473433; + //BA.debugLineNum = 3473433;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }else { - //BA.debugLineNum = 408;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); - //BA.debugLineNum = 409;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 410;BA.debugLine="Dim sDate, sTime As String"; +RDebugUtils.currentLine=3473435; + //BA.debugLineNum = 3473435;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); +RDebugUtils.currentLine=3473436; + //BA.debugLineNum = 3473436;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473437; + //BA.debugLineNum = 3473437;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 411;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +RDebugUtils.currentLine=3473438; + //BA.debugLineNum = 3473438;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; __c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 412;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 413;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; -if ((double)(Double.parseDouble(_c.GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble(_sdate))) { - //BA.debugLineNum = 414;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; +RDebugUtils.currentLine=3473439; + //BA.debugLineNum = 3473439;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=3473440; + //BA.debugLineNum = 3473440;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble(__ref._sdate /*String*/ ))) { +RDebugUtils.currentLine=3473441; + //BA.debugLineNum = 3473441;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; __c.Msgbox(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA"),BA.ObjectToCharSequence("AVISO"),ba); - //BA.debugLineNum = 415;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 416;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); +RDebugUtils.currentLine=3473442; + //BA.debugLineNum = 3473442;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473443; + //BA.debugLineNum = 3473443;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); }; - //BA.debugLineNum = 418;BA.debugLine="c.Close"; -_c.Close(); +RDebugUtils.currentLine=3473445; + //BA.debugLineNum = 3473445;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 420;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 421;BA.debugLine="If EJECUTANDO = 0 Then"; -if ((_ejecutando).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 422;BA.debugLine="Listo1 = 0"; -_listo1 = BA.NumberToString(0); - //BA.debugLineNum = 423;BA.debugLine="Listo2 = 0"; -_listo2 = BA.NumberToString(0); - //BA.debugLineNum = 424;BA.debugLine="Listo3 = 0"; -_listo3 = BA.NumberToString(0); - //BA.debugLineNum = 425;BA.debugLine="Listo4 = 0"; -_listo4 = BA.NumberToString(0); - //BA.debugLineNum = 426;BA.debugLine="Listo5 = 0"; -_listo5 = BA.NumberToString(0); - //BA.debugLineNum = 427;BA.debugLine="inve = 0"; -_inve = BA.NumberToString(0); - //BA.debugLineNum = 428;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); +RDebugUtils.currentLine=3473447; + //BA.debugLineNum = 3473447;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473448; + //BA.debugLineNum = 3473448;BA.debugLine="If EJECUTANDO = 0 Then"; +if ((__ref._ejecutando /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=3473449; + //BA.debugLineNum = 3473449;BA.debugLine="Listo1 = 0"; +__ref._listo1 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=3473450; + //BA.debugLineNum = 3473450;BA.debugLine="Listo2 = 0"; +__ref._listo2 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=3473451; + //BA.debugLineNum = 3473451;BA.debugLine="Listo3 = 0"; +__ref._listo3 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=3473452; + //BA.debugLineNum = 3473452;BA.debugLine="Listo4 = 0"; +__ref._listo4 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=3473453; + //BA.debugLineNum = 3473453;BA.debugLine="Listo5 = 0"; +__ref._listo5 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=3473454; + //BA.debugLineNum = 3473454;BA.debugLine="inve = 0"; +__ref._inve /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=3473455; + //BA.debugLineNum = 3473455;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); }; - //BA.debugLineNum = 430;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=3473457; + //BA.debugLineNum = 3473457;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 431;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; -_fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 432;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); - //BA.debugLineNum = 433;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 434;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; -_cuantos = _b.GetString("CUANTOS"); - //BA.debugLineNum = 435;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 436;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageSh"; +RDebugUtils.currentLine=3473458; + //BA.debugLineNum = 3473458;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +__ref._fecha /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=3473459; + //BA.debugLineNum = 3473459;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); +RDebugUtils.currentLine=3473460; + //BA.debugLineNum = 3473460;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473461; + //BA.debugLineNum = 3473461;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=3473462; + //BA.debugLineNum = 3473462;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473463; + //BA.debugLineNum = 3473463;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageSh"; if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence(_cuantos),__c.True);}; - //BA.debugLineNum = 437;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info3 where gestion = 0"))); - //BA.debugLineNum = 438;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 439;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info3"))); - //BA.debugLineNum = 440;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 441;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info3"))); - //BA.debugLineNum = 442;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 443;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - //BA.debugLineNum = 444;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 445;BA.debugLine="If l_ruta.Text = 0 Then"; -if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 446;BA.debugLine="l_ruta.Text =0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 447;BA.debugLine="l_visitas.Text = 0"; -_l_visitas.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 448;BA.debugLine="l_faltan.Text = 0"; -_l_faltan.setText(BA.ObjectToCharSequence(0)); +__c.ToastMessageShow(BA.ObjectToCharSequence(__ref._cuantos /*String*/ ),__c.True);}; +RDebugUtils.currentLine=3473464; + //BA.debugLineNum = 3473464;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info3 where gestion = 0"))); +RDebugUtils.currentLine=3473465; + //BA.debugLineNum = 3473465;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473466; + //BA.debugLineNum = 3473466;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info3"))); +RDebugUtils.currentLine=3473467; + //BA.debugLineNum = 3473467;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473468; + //BA.debugLineNum = 3473468;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info3"))); +RDebugUtils.currentLine=3473469; + //BA.debugLineNum = 3473469;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473470; + //BA.debugLineNum = 3473470;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=3473471; + //BA.debugLineNum = 3473471;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473472; + //BA.debugLineNum = 3473472;BA.debugLine="If l_ruta.Text = 0 Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=3473473; + //BA.debugLineNum = 3473473;BA.debugLine="l_ruta.Text =0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3473474; + //BA.debugLineNum = 3473474;BA.debugLine="l_visitas.Text = 0"; +__ref._l_visitas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3473475; + //BA.debugLineNum = 3473475;BA.debugLine="l_faltan.Text = 0"; +__ref._l_faltan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 450;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select disti"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); - //BA.debugLineNum = 451;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 452;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - //BA.debugLineNum = 453;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 455;BA.debugLine="Dim totalcisitas As Cursor = Starter.skmt.ExecQu"; +RDebugUtils.currentLine=3473477; + //BA.debugLineNum = 3473477;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select disti"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); +RDebugUtils.currentLine=3473478; + //BA.debugLineNum = 3473478;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473479; + //BA.debugLineNum = 3473479;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=3473480; + //BA.debugLineNum = 3473480;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473482; + //BA.debugLineNum = 3473482;BA.debugLine="Dim totalcisitas As Cursor = Starter.skmt.ExecQu"; _totalcisitas = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _totalcisitas = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUENTA FROM KMT_INFO3 where cat_cl_codigo <> 0"))); - //BA.debugLineNum = 456;BA.debugLine="totalcisitas.Position = 0"; +RDebugUtils.currentLine=3473483; + //BA.debugLineNum = 3473483;BA.debugLine="totalcisitas.Position = 0"; _totalcisitas.setPosition((int) (0)); - //BA.debugLineNum = 457;BA.debugLine="l_visitas.Text = totalcisitas.GetInt(\"CUENTA\")"; -_l_visitas.setText(BA.ObjectToCharSequence(_totalcisitas.GetInt("CUENTA"))); - //BA.debugLineNum = 458;BA.debugLine="Dim visitasfaltantes As Cursor = Starter.skmt.Ex"; +RDebugUtils.currentLine=3473484; + //BA.debugLineNum = 3473484;BA.debugLine="l_visitas.Text = totalcisitas.GetInt(\"CUENTA\")"; +__ref._l_visitas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_totalcisitas.GetInt("CUENTA"))); +RDebugUtils.currentLine=3473485; + //BA.debugLineNum = 3473485;BA.debugLine="Dim visitasfaltantes As Cursor = Starter.skmt.Ex"; _visitasfaltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _visitasfaltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUENTA FROM KMT_INFO3 WHERE gestion = 0 and cat_cl_codigo <> 0"))); - //BA.debugLineNum = 459;BA.debugLine="visitasfaltantes.Position = 0"; +RDebugUtils.currentLine=3473486; + //BA.debugLineNum = 3473486;BA.debugLine="visitasfaltantes.Position = 0"; _visitasfaltantes.setPosition((int) (0)); - //BA.debugLineNum = 460;BA.debugLine="l_faltan.Text = visitasfaltantes.GetInt(\"CUENTA\""; -_l_faltan.setText(BA.ObjectToCharSequence(_visitasfaltantes.GetInt("CUENTA"))); +RDebugUtils.currentLine=3473487; + //BA.debugLineNum = 3473487;BA.debugLine="l_faltan.Text = visitasfaltantes.GetInt(\"CUENTA\""; +__ref._l_faltan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_visitasfaltantes.GetInt("CUENTA"))); }; - //BA.debugLineNum = 462;BA.debugLine="If Cuantos = 0 Then"; -if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 463;BA.debugLine="L_MONTOD.Text =0"; -_l_montod.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 464;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 465;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 466;BA.debugLine="L_CUANTOST.Text = 0"; -_l_cuantost.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 467;BA.debugLine="drop = 0"; -_drop = 0; - //BA.debugLineNum = 468;BA.debugLine="l_drop.Text = 0"; -_l_drop.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 469;BA.debugLine="efectiva = 0"; -_efectiva = 0; - //BA.debugLineNum = 470;BA.debugLine="l_efectiva.text =0"; -_l_efectiva.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 471;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 472;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 473;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 474;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 475;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count( distinct NV_CLIENTE) as CUANTOS from noventa"))); - //BA.debugLineNum = 476;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 477;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; -_l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS"))); - //BA.debugLineNum = 478;BA.debugLine="b.close"; -_b.Close(); +RDebugUtils.currentLine=3473489; + //BA.debugLineNum = 3473489;BA.debugLine="If Cuantos = 0 Then"; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=3473490; + //BA.debugLineNum = 3473490;BA.debugLine="L_MONTOD.Text =0"; +__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3473491; + //BA.debugLineNum = 3473491;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3473492; + //BA.debugLineNum = 3473492;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3473493; + //BA.debugLineNum = 3473493;BA.debugLine="L_CUANTOST.Text = 0"; +__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3473494; + //BA.debugLineNum = 3473494;BA.debugLine="drop = 0"; +__ref._drop /*double*/ = 0; +RDebugUtils.currentLine=3473495; + //BA.debugLineNum = 3473495;BA.debugLine="l_drop.Text = 0"; +__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3473496; + //BA.debugLineNum = 3473496;BA.debugLine="efectiva = 0"; +__ref._efectiva /*double*/ = 0; +RDebugUtils.currentLine=3473497; + //BA.debugLineNum = 3473497;BA.debugLine="l_efectiva.text =0"; +__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3473498; + //BA.debugLineNum = 3473498;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR"))); +RDebugUtils.currentLine=3473499; + //BA.debugLineNum = 3473499;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=3473500; + //BA.debugLineNum = 3473500;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473501; + //BA.debugLineNum = 3473501;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473502; + //BA.debugLineNum = 3473502;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count( distinct NV_CLIENTE) as CUANTOS from noventa"))); +RDebugUtils.currentLine=3473503; + //BA.debugLineNum = 3473503;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473504; + //BA.debugLineNum = 3473504;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=3473505; + //BA.debugLineNum = 3473505;BA.debugLine="b.close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 480;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) as MONTO_DIA, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA from PEDIDO"))); - //BA.debugLineNum = 481;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count( distinct NV_CLIENTE) as CUANTOS from noventa"))); - //BA.debugLineNum = 482;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 483;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 484;BA.debugLine="L_MONTOD.Text = NumberFormat2(c.GetDouble(\"MONTO"; -_l_montod.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_c.GetDouble("MONTO_DIA"),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 485;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; -_l_cuantosc.setText(BA.ObjectToCharSequence(_c.GetString("CLIENTES_DIA"))); - //BA.debugLineNum = 486;BA.debugLine="D2=B4XPages.MainPage.skmt.ExecQuery(\"select COU"; -_d2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from PEDIDO "))); - //BA.debugLineNum = 487;BA.debugLine="D2.Position = 0"; -_d2.setPosition((int) (0)); - //BA.debugLineNum = 488;BA.debugLine="LPT = D2.GetString(\"CUANTOS\") / l_cuantosc.Text"; -_lpt = BA.NumberToString((double)(Double.parseDouble(_d2.GetString("CUANTOS")))/(double)(double)(Double.parseDouble(_l_cuantosc.getText()))); - //BA.debugLineNum = 489;BA.debugLine="D2.Close"; -_d2.Close(); - //BA.debugLineNum = 490;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; -_l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS"))); - //BA.debugLineNum = 491;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; -_efectiva = (double)(Double.parseDouble(_c.GetString("CLIENTES_DIA")))/(double)(double)(Double.parseDouble(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 492;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; -_l_efectiva.setText(BA.ObjectToCharSequence(__c.Round2(_efectiva*100,(int) (2)))); - //BA.debugLineNum = 493;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 494;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 495;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 496;BA.debugLine="L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.T"; -_l_cuantost.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_l_cuantosc.getText()))+(double)(Double.parseDouble(_l_cuantosn.getText())))); - //BA.debugLineNum = 497;BA.debugLine="drop = L_CUANTOST.Text / l_porvisitar.Text"; -_drop = (double)(Double.parseDouble(_l_cuantost.getText()))/(double)(double)(Double.parseDouble(_l_porvisitar.getText())); - //BA.debugLineNum = 498;BA.debugLine="l_drop.Text = Round(drop * 100)"; -_l_drop.setText(BA.ObjectToCharSequence(__c.Round(_drop*100))); - //BA.debugLineNum = 499;BA.debugLine="If L_CUANTOST.Text < 40 Then"; -if ((double)(Double.parseDouble(_l_cuantost.getText()))<40) { - //BA.debugLineNum = 500;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"tache_rojo.png").getObject())); - }else if((double)(Double.parseDouble(_l_cuantost.getText()))>=40 && (double)(Double.parseDouble(_l_cuantost.getText()))<50) { - //BA.debugLineNum = 502;BA.debugLine="ImageView3.bitmap = LoadBitmap(File.DirAssets,"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alerta_amarilla.png").getObject())); +RDebugUtils.currentLine=3473507; + //BA.debugLineNum = 3473507;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) as MONTO_DIA, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA from PEDIDO"))); +RDebugUtils.currentLine=3473508; + //BA.debugLineNum = 3473508;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count( distinct NV_CLIENTE) as CUANTOS from noventa"))); +RDebugUtils.currentLine=3473509; + //BA.debugLineNum = 3473509;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473510; + //BA.debugLineNum = 3473510;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473511; + //BA.debugLineNum = 3473511;BA.debugLine="L_MONTOD.Text = NumberFormat2(c.GetDouble(\"MONTO"; +__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("MONTO_DIA"),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=3473512; + //BA.debugLineNum = 3473512;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA"))); +RDebugUtils.currentLine=3473513; + //BA.debugLineNum = 3473513;BA.debugLine="D2=B4XPages.MainPage.skmt.ExecQuery(\"select COU"; +__ref._d2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from PEDIDO "))); +RDebugUtils.currentLine=3473514; + //BA.debugLineNum = 3473514;BA.debugLine="D2.Position = 0"; +__ref._d2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473515; + //BA.debugLineNum = 3473515;BA.debugLine="LPT = D2.GetString(\"CUANTOS\") / l_cuantosc.Text"; +__ref._lpt /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._d2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))/(double)(double)(Double.parseDouble(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))); +RDebugUtils.currentLine=3473516; + //BA.debugLineNum = 3473516;BA.debugLine="D2.Close"; +__ref._d2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473517; + //BA.debugLineNum = 3473517;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=3473518; + //BA.debugLineNum = 3473518;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; +__ref._efectiva /*double*/ = (double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA")))/(double)(double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=3473519; + //BA.debugLineNum = 3473519;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; +__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(__ref._efectiva /*double*/ *100,(int) (2)))); +RDebugUtils.currentLine=3473520; + //BA.debugLineNum = 3473520;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR"))); +RDebugUtils.currentLine=3473521; + //BA.debugLineNum = 3473521;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473522; + //BA.debugLineNum = 3473522;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=3473523; + //BA.debugLineNum = 3473523;BA.debugLine="L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.T"; +__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((double)(Double.parseDouble(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+(double)(Double.parseDouble(__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())))); +RDebugUtils.currentLine=3473524; + //BA.debugLineNum = 3473524;BA.debugLine="drop = L_CUANTOST.Text / l_porvisitar.Text"; +__ref._drop /*double*/ = (double)(Double.parseDouble(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=3473525; + //BA.debugLineNum = 3473525;BA.debugLine="l_drop.Text = Round(drop * 100)"; +__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round(__ref._drop /*double*/ *100))); +RDebugUtils.currentLine=3473526; + //BA.debugLineNum = 3473526;BA.debugLine="If L_CUANTOST.Text < 40 Then"; +if ((double)(Double.parseDouble(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))<40) { +RDebugUtils.currentLine=3473527; + //BA.debugLineNum = 3473527;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"tache_rojo.png").getObject())); + }else +{RDebugUtils.currentLine=3473528; + //BA.debugLineNum = 3473528;BA.debugLine="Else If L_CUANTOST.Text > = 40 And L_CUANTOST."; +if ((double)(Double.parseDouble(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))>=40 && (double)(Double.parseDouble(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))<50) { +RDebugUtils.currentLine=3473529; + //BA.debugLineNum = 3473529;BA.debugLine="ImageView3.bitmap = LoadBitmap(File.DirAssets,"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alerta_amarilla.png").getObject())); }else { - //BA.debugLineNum = 504;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"palomita_verde.png").getObject())); +RDebugUtils.currentLine=3473531; + //BA.debugLineNum = 3473531;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"palomita_verde.png").getObject())); + }} +; +RDebugUtils.currentLine=3473533; + //BA.debugLineNum = 3473533;BA.debugLine="Log(\"|\" & c.GetString(\"MONTO_DIA\") & \"|\")"; +__c.LogImpl("03473533","|"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA")+"|",0); +RDebugUtils.currentLine=3473534; + //BA.debugLineNum = 3473534;BA.debugLine="Log(\"|\" & c.GetString(\"CLIENTES_DIA\") & \"|\")"; +__c.LogImpl("03473534","|"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA")+"|",0); +RDebugUtils.currentLine=3473543; + //BA.debugLineNum = 3473543;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473544; + //BA.debugLineNum = 3473544;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 506;BA.debugLine="Log(\"|\" & c.GetString(\"MONTO_DIA\") & \"|\")"; -__c.LogImpl("440042621","|"+_c.GetString("MONTO_DIA")+"|",0); - //BA.debugLineNum = 507;BA.debugLine="Log(\"|\" & c.GetString(\"CLIENTES_DIA\") & \"|\")"; -__c.LogImpl("440042622","|"+_c.GetString("CLIENTES_DIA")+"|",0); - //BA.debugLineNum = 516;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 517;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 519;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 520;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 521;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 522;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 523;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 524;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 525;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 526;BA.debugLine="bu.Initialize"; -_bu._initialize /*String*/ (ba); - //BA.debugLineNum = 527;BA.debugLine="batterystatus = bu.BatteryInformation"; -_batterystatus = _bu._getbatteryinformation /*int[]*/ (); - //BA.debugLineNum = 528;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 529;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 530;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 531;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 533;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=3473546; + //BA.debugLineNum = 3473546;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473547; + //BA.debugLineNum = 3473547;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473548; + //BA.debugLineNum = 3473548;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473549; + //BA.debugLineNum = 3473549;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=3473550; + //BA.debugLineNum = 3473550;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473551; + //BA.debugLineNum = 3473551;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=3473552; + //BA.debugLineNum = 3473552;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473553; + //BA.debugLineNum = 3473553;BA.debugLine="bu.Initialize"; +__ref._bu /*gunav2.keymon.com.mx.batteryutilities*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=3473554; + //BA.debugLineNum = 3473554;BA.debugLine="batterystatus = bu.BatteryInformation"; +__ref._batterystatus /*int[]*/ = __ref._bu /*gunav2.keymon.com.mx.batteryutilities*/ ._getbatteryinformation /*int[]*/ (null); +RDebugUtils.currentLine=3473555; + //BA.debugLineNum = 3473555;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=3473556; + //BA.debugLineNum = 3473556;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473557; + //BA.debugLineNum = 3473557;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=3473558; + //BA.debugLineNum = 3473558;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473560; + //BA.debugLineNum = 3473560;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; _s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 535;BA.debugLine="If s3.RowCount > 0 Then"; +RDebugUtils.currentLine=3473562; + //BA.debugLineNum = 3473562;BA.debugLine="If s3.RowCount > 0 Then"; if (_s3.getRowCount()>0) { - //BA.debugLineNum = 536;BA.debugLine="Private total7 As String = 0"; +RDebugUtils.currentLine=3473563; + //BA.debugLineNum = 3473563;BA.debugLine="Private total7 As String = 0"; _total7 = BA.NumberToString(0); - //BA.debugLineNum = 537;BA.debugLine="For i = 0 To s3.RowCount - 1"; +RDebugUtils.currentLine=3473564; + //BA.debugLineNum = 3473564;BA.debugLine="For i = 0 To s3.RowCount - 1"; { final int step141 = 1; final int limit141 = (int) (_s3.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit141 ;_i = _i + step141 ) { - //BA.debugLineNum = 538;BA.debugLine="s3.Position = i"; +RDebugUtils.currentLine=3473565; + //BA.debugLineNum = 3473565;BA.debugLine="s3.Position = i"; _s3.setPosition(_i); - //BA.debugLineNum = 540;BA.debugLine="total7 = total7 + Subs.calculaTotalConPromoXRan"; +RDebugUtils.currentLine=3473567; + //BA.debugLineNum = 3473567;BA.debugLine="total7 = total7 + Subs.calculaTotalConPromoXRan"; _total7 = BA.NumberToString((double)(Double.parseDouble(_total7))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_s3.GetString("PE_CLIENTE"))))); } }; - //BA.debugLineNum = 545;BA.debugLine="B4XPages.MainPage.montoActual = NumberFormat2(to"; +RDebugUtils.currentLine=3473572; + //BA.debugLineNum = 3473572;BA.debugLine="B4XPages.MainPage.montoActual = NumberFormat2(to"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ = __c.NumberFormat2((double)(Double.parseDouble(_total7)),(int) (0),(int) (2),(int) (2),__c.False); }else { - //BA.debugLineNum = 547;BA.debugLine="B4XPages.MainPage.montoActual = 0"; +RDebugUtils.currentLine=3473574; + //BA.debugLineNum = 3473574;BA.debugLine="B4XPages.MainPage.montoActual = 0"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ = BA.NumberToString(0); }; - //BA.debugLineNum = 551;BA.debugLine="B4XPages.MainPage.clientestotal = L_CUANTOST.Text"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientestotal /*String*/ = _l_cuantost.getText(); - //BA.debugLineNum = 552;BA.debugLine="B4XPages.MainPage.clientesventa = l_cuantosc.Tex"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientesventa /*String*/ = _l_cuantosc.getText(); - //BA.debugLineNum = 553;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = _l_porvisitar.getText(); - //BA.debugLineNum = 554;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._almacen /*String*/ = _almacen; - //BA.debugLineNum = 555;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.text"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _l_ruta.getText(); - //BA.debugLineNum = 558;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 559;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 560;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 561;BA.debugLine="B4XPages.MainPage.usuario = usuario"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._usuario /*String*/ = _usuario; - //BA.debugLineNum = 562;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 564;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")"; -__c.CallSubNew(ba,(Object)(_starter.getObject()),"ENVIA_ULTIMA_GPS"); - //BA.debugLineNum = 568;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=3473578; + //BA.debugLineNum = 3473578;BA.debugLine="B4XPages.MainPage.clientestotal = L_CUANTOST.Text"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientestotal /*String*/ = __ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=3473579; + //BA.debugLineNum = 3473579;BA.debugLine="B4XPages.MainPage.clientesventa = l_cuantosc.Tex"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientesventa /*String*/ = __ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=3473580; + //BA.debugLineNum = 3473580;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = __ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=3473581; + //BA.debugLineNum = 3473581;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._almacen /*String*/ = __ref._almacen /*String*/ ; +RDebugUtils.currentLine=3473582; + //BA.debugLineNum = 3473582;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.text"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._rutapreventa /*String*/ = __ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=3473585; + //BA.debugLineNum = 3473585;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=3473586; + //BA.debugLineNum = 3473586;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473587; + //BA.debugLineNum = 3473587;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=3473588; + //BA.debugLineNum = 3473588;BA.debugLine="B4XPages.MainPage.usuario = usuario"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._usuario /*String*/ = __ref._usuario /*String*/ ; +RDebugUtils.currentLine=3473589; + //BA.debugLineNum = 3473589;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473591; + //BA.debugLineNum = 3473591;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")"; +__c.CallSubDebug(ba,(Object)(_starter.getObject()),"ENVIA_ULTIMA_GPS"); +RDebugUtils.currentLine=3473595; + //BA.debugLineNum = 3473595;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec"; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(RS_RUTA) as cuenta, RS_RUTA FROM RUTA_SUPLENCIA"))); - //BA.debugLineNum = 569;BA.debugLine="s.Position = 0"; +RDebugUtils.currentLine=3473596; + //BA.debugLineNum = 3473596;BA.debugLine="s.Position = 0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 570;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then"; +RDebugUtils.currentLine=3473597; + //BA.debugLineNum = 3473597;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then"; if ((_s.GetString("cuenta")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 571;BA.debugLine="Label22.Visible = False"; -_label22.setVisible(__c.False); - //BA.debugLineNum = 572;BA.debugLine="l_rutasuplencia.Visible = False"; -_l_rutasuplencia.setVisible(__c.False); - //BA.debugLineNum = 573;BA.debugLine="l_rutasuplencia.Text = \"\""; -_l_rutasuplencia.setText(BA.ObjectToCharSequence("")); - }else if((double)(Double.parseDouble(_s.GetString("cuenta")))>0) { - //BA.debugLineNum = 575;BA.debugLine="Label22.Visible = True"; -_label22.setVisible(__c.True); - //BA.debugLineNum = 576;BA.debugLine="l_rutasuplencia.Visible = True"; -_l_rutasuplencia.setVisible(__c.True); - //BA.debugLineNum = 577;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; -_l_rutasuplencia.setText(BA.ObjectToCharSequence(_s.GetString("RS_RUTA"))); - }; - //BA.debugLineNum = 579;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3473598; + //BA.debugLineNum = 3473598;BA.debugLine="Label22.Visible = False"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3473599; + //BA.debugLineNum = 3473599;BA.debugLine="l_rutasuplencia.Visible = False"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3473600; + //BA.debugLineNum = 3473600;BA.debugLine="l_rutasuplencia.Text = \"\""; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); + }else +{RDebugUtils.currentLine=3473601; + //BA.debugLineNum = 3473601;BA.debugLine="Else If s.GetString(\"cuenta\") > 0 Then"; +if ((double)(Double.parseDouble(_s.GetString("cuenta")))>0) { +RDebugUtils.currentLine=3473602; + //BA.debugLineNum = 3473602;BA.debugLine="Label22.Visible = True"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3473603; + //BA.debugLineNum = 3473603;BA.debugLine="l_rutasuplencia.Visible = True"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3473604; + //BA.debugLineNum = 3473604;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s.GetString("RS_RUTA"))); + }} +; +RDebugUtils.currentLine=3473606; + //BA.debugLineNum = 3473606;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _checapedido(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "checapedido", false)) + {return ((String) Debug.delegate(ba, "checapedido", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null; +int _cor = 0; +RDebugUtils.currentLine=6422528; + //BA.debugLineNum = 6422528;BA.debugLine="Sub checaPedido"; +RDebugUtils.currentLine=6422529; + //BA.debugLineNum = 6422529;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE"))); +RDebugUtils.currentLine=6422530; + //BA.debugLineNum = 6422530;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=6422531; + //BA.debugLineNum = 6422531;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)"); + }; +RDebugUtils.currentLine=6422533; + //BA.debugLineNum = 6422533;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA"))); +RDebugUtils.currentLine=6422534; + //BA.debugLineNum = 6422534;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=6422535; + //BA.debugLineNum = 6422535;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA)"); + }; +RDebugUtils.currentLine=6422538; + //BA.debugLineNum = 6422538;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_ID IN (SELECT CAT_PD_PRODUCTO FROM CAT_PROMOS_DESCUENTOS) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRIORITARIO")})); +RDebugUtils.currentLine=6422541; + //BA.debugLineNum = 6422541;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ATIENDE"))); +RDebugUtils.currentLine=6422542; + //BA.debugLineNum = 6422542;BA.debugLine="If coord.RowCount > 0 Then"; +if (_coord.getRowCount()>0) { +RDebugUtils.currentLine=6422543; + //BA.debugLineNum = 6422543;BA.debugLine="For cor = 0 To coord.RowCount -1"; +{ +final int step12 = 1; +final int limit12 = (int) (_coord.getRowCount()-1); +_cor = (int) (0) ; +for (;_cor <= limit12 ;_cor = _cor + step12 ) { +RDebugUtils.currentLine=6422544; + //BA.debugLineNum = 6422544;BA.debugLine="coord.Position = cor"; +_coord.setPosition(_cor); +RDebugUtils.currentLine=6422545; + //BA.debugLineNum = 6422545;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("ATIENDE")),(Object)(_coord.GetString("CLIENTE"))})); + } +}; + }; +RDebugUtils.currentLine=6422549; + //BA.debugLineNum = 6422549;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM TELEFONO"))); +RDebugUtils.currentLine=6422550; + //BA.debugLineNum = 6422550;BA.debugLine="If coord.RowCount > 0 Then"; +if (_coord.getRowCount()>0) { +RDebugUtils.currentLine=6422551; + //BA.debugLineNum = 6422551;BA.debugLine="For cor = 0 To coord.RowCount -1"; +{ +final int step19 = 1; +final int limit19 = (int) (_coord.getRowCount()-1); +_cor = (int) (0) ; +for (;_cor <= limit19 ;_cor = _cor + step19 ) { +RDebugUtils.currentLine=6422552; + //BA.debugLineNum = 6422552;BA.debugLine="coord.Position = cor"; +_coord.setPosition(_cor); +RDebugUtils.currentLine=6422553; + //BA.debugLineNum = 6422553;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_TELEFONO = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("TELEFONO")),(Object)(_coord.GetString("CLIENTE"))})); + } +}; + }; +RDebugUtils.currentLine=6422557; + //BA.debugLineNum = 6422557;BA.debugLine="End Sub"; +return ""; +} +public String _b_ok_res_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ok_res_click", false)) + {return ((String) Debug.delegate(ba, "b_ok_res_click", null));} +RDebugUtils.currentLine=4521984; + //BA.debugLineNum = 4521984;BA.debugLine="Sub B_OK_RES_Click"; +RDebugUtils.currentLine=4521986; + //BA.debugLineNum = 4521986;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4521987; + //BA.debugLineNum = 4521987;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4521988; + //BA.debugLineNum = 4521988;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4521989; + //BA.debugLineNum = 4521989;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4521990; + //BA.debugLineNum = 4521990;BA.debugLine="P_RESUMEN.Visible=False"; +__ref._p_resumen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4521991; + //BA.debugLineNum = 4521991;BA.debugLine="Panel4.Visible = False"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4521992; + //BA.debugLineNum = 4521992;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4521993; + //BA.debugLineNum = 4521993;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4521994; + //BA.debugLineNum = 4521994;BA.debugLine="p_principal.Visible = True"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4521995; + //BA.debugLineNum = 4521995;BA.debugLine="End Sub"; +return ""; +} +public String _b_resdia_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_resdia_click", false)) + {return ((String) Debug.delegate(ba, "b_resdia_click", null));} +RDebugUtils.currentLine=6291456; + //BA.debugLineNum = 6291456;BA.debugLine="Private Sub b_resdia_Click"; +RDebugUtils.currentLine=6291457; + //BA.debugLineNum = 6291457;BA.debugLine="resdia_Click"; +__ref._resdia_click /*String*/ (null); +RDebugUtils.currentLine=6291458; + //BA.debugLineNum = 6291458;BA.debugLine="End Sub"; +return ""; +} +public String _resdia_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "resdia_click", false)) + {return ((String) Debug.delegate(ba, "resdia_click", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; +String _total1 = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; +String _total4 = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s6 = null; +String _total3 = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _ru_o = null; +String _total2 = ""; +int _i2 = 0; +String _rutor = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _ru_s = null; +String _rusu = ""; +String _cuantos_obj = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s7 = null; +int _totalstick = 0; +int _sfsdf = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s8 = null; +int _totaltotaltot = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s0 = null; +RDebugUtils.currentLine=4784128; + //BA.debugLineNum = 4784128;BA.debugLine="Sub resdia_Click"; +RDebugUtils.currentLine=4784130; + //BA.debugLineNum = 4784130;BA.debugLine="Btn_Ubicar.Visible=False"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4784131; + //BA.debugLineNum = 4784131;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().RemoveAllViews(); +RDebugUtils.currentLine=4784132; + //BA.debugLineNum = 4784132;BA.debugLine="SCROLL_RESDIA.Visible = True"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4784133; + //BA.debugLineNum = 4784133;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("RESDIA",ba); +RDebugUtils.currentLine=4784134; + //BA.debugLineNum = 4784134;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight(__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=4784135; + //BA.debugLineNum = 4784135;BA.debugLine="Panel4.Visible = True"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4784137; + //BA.debugLineNum = 4784137;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4784138; + //BA.debugLineNum = 4784138;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4784139; + //BA.debugLineNum = 4784139;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4784140; + //BA.debugLineNum = 4784140;BA.debugLine="Subir.Visible=False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4784141; + //BA.debugLineNum = 4784141;BA.debugLine="cargar.Visible=False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4784142; + //BA.debugLineNum = 4784142;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4784144; + //BA.debugLineNum = 4784144;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"}))); +RDebugUtils.currentLine=4784145; + //BA.debugLineNum = 4784145;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784146; + //BA.debugLineNum = 4784146;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")"; +__ref._l_encuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=4784147; + //BA.debugLineNum = 4784147;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784149; + //BA.debugLineNum = 4784149;BA.debugLine="L_MARCAS.CLEAR"; +__ref._l_marcas /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=4784150; + //BA.debugLineNum = 4784150;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"}))); +RDebugUtils.currentLine=4784151; + //BA.debugLineNum = 4784151;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=4784152; + //BA.debugLineNum = 4784152;BA.debugLine="For i=0 To D.RowCount -1"; +{ +final int step20 = 1; +final int limit20 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit20 ;_i = _i + step20 ) { +RDebugUtils.currentLine=4784153; + //BA.debugLineNum = 4784153;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=4784154; + //BA.debugLineNum = 4784154;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select HE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select HE_RES from HIST_ENCUESTA where HE_CLIE = ? AND HE_TIPO = ?",new String[]{__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE"),"TELEFONO"}))); +RDebugUtils.currentLine=4784155; + //BA.debugLineNum = 4784155;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784156; + //BA.debugLineNum = 4784156;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4784157; + //BA.debugLineNum = 4784157;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label"; +_label1 = __ref._l_marcas /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=4784158; + //BA.debugLineNum = 4784158;BA.debugLine="label1.TextSize = 13"; +_label1.setTextSize((float) (13)); +RDebugUtils.currentLine=4784159; + //BA.debugLineNum = 4784159;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=4784160; + //BA.debugLineNum = 4784160;BA.debugLine="Dim Label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4784161; + //BA.debugLineNum = 4784161;BA.debugLine="Label2 = L_MARCAS.TwoLinesLayout.SecondLabel"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ = __ref._l_marcas /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=4784162; + //BA.debugLineNum = 4784162;BA.debugLine="Label2.TextSize = 13"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (13)); +RDebugUtils.currentLine=4784163; + //BA.debugLineNum = 4784163;BA.debugLine="Label2.TextColor = Colors.Black"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=4784164; + //BA.debugLineNum = 4784164;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE"; +__ref._l_marcas /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE")),BA.ObjectToCharSequence("TELEFONO :"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HE_RES"))); +RDebugUtils.currentLine=4784165; + //BA.debugLineNum = 4784165;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; + }; +RDebugUtils.currentLine=4784168; + //BA.debugLineNum = 4784168;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784170; + //BA.debugLineNum = 4784170;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_TIPO = ? )"),new String[]{"RTEC"}))); +RDebugUtils.currentLine=4784171; + //BA.debugLineNum = 4784171;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784172; + //BA.debugLineNum = 4784172;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")"; +__ref._l_monto_k /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=4784173; + //BA.debugLineNum = 4784173;BA.debugLine="If l_monto_k.Text = \"null\" Then"; +if ((__ref._l_monto_k /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=4784174; + //BA.debugLineNum = 4784174;BA.debugLine="l_monto_k.Text = \"0\""; +__ref._l_monto_k /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; +RDebugUtils.currentLine=4784176; + //BA.debugLineNum = 4784176;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784178; + //BA.debugLineNum = 4784178;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_TIPO = ? )"),new String[]{"PING"}))); +RDebugUtils.currentLine=4784179; + //BA.debugLineNum = 4784179;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784180; + //BA.debugLineNum = 4784180;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")"; +__ref._l_monto_kp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=4784181; + //BA.debugLineNum = 4784181;BA.debugLine="If l_monto_kp.Text = \"null\" Then"; +if ((__ref._l_monto_kp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=4784182; + //BA.debugLineNum = 4784182;BA.debugLine="l_monto_kp.Text = \"0\""; +__ref._l_monto_kp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; +RDebugUtils.currentLine=4784184; + //BA.debugLineNum = 4784184;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784194; + //BA.debugLineNum = 4784194;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 "))); +RDebugUtils.currentLine=4784195; + //BA.debugLineNum = 4784195;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784196; + //BA.debugLineNum = 4784196;BA.debugLine="l_monto_ks.Text = c.GetString(\"MONTO_DIA\")"; +__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=4784197; + //BA.debugLineNum = 4784197;BA.debugLine="If l_monto_ks.Text = \"null\" Then"; +if ((__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=4784198; + //BA.debugLineNum = 4784198;BA.debugLine="l_monto_ks.Text = \"0\""; +__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; +RDebugUtils.currentLine=4784200; + //BA.debugLineNum = 4784200;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784225; + //BA.debugLineNum = 4784225;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); +RDebugUtils.currentLine=4784227; + //BA.debugLineNum = 4784227;BA.debugLine="If s3.RowCount > 0 Then"; +if (_s3.getRowCount()>0) { +RDebugUtils.currentLine=4784228; + //BA.debugLineNum = 4784228;BA.debugLine="Private total1 As String = 0"; +_total1 = BA.NumberToString(0); +RDebugUtils.currentLine=4784229; + //BA.debugLineNum = 4784229;BA.debugLine="For i = 0 To s3.RowCount - 1"; +{ +final int step61 = 1; +final int limit61 = (int) (_s3.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit61 ;_i = _i + step61 ) { +RDebugUtils.currentLine=4784230; + //BA.debugLineNum = 4784230;BA.debugLine="s3.Position = i"; +_s3.setPosition(_i); +RDebugUtils.currentLine=4784232; + //BA.debugLineNum = 4784232;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan"; +_total1 = BA.NumberToString((double)(Double.parseDouble(_total1))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_s3.GetString("PE_CLIENTE"))))); + } +}; +RDebugUtils.currentLine=4784236; + //BA.debugLineNum = 4784236;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)"; +__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total1)),(int) (0),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=4784238; + //BA.debugLineNum = 4784238;BA.debugLine="L_REAL.Text = 0"; +__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784242; + //BA.debugLineNum = 4784242;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); +RDebugUtils.currentLine=4784244; + //BA.debugLineNum = 4784244;BA.debugLine="If s5.RowCount > 0 Then"; +if (_s5.getRowCount()>0) { +RDebugUtils.currentLine=4784245; + //BA.debugLineNum = 4784245;BA.debugLine="Private total4 As String = 0"; +_total4 = BA.NumberToString(0); +RDebugUtils.currentLine=4784246; + //BA.debugLineNum = 4784246;BA.debugLine="For i = 0 To s5.RowCount - 1"; +{ +final int step72 = 1; +final int limit72 = (int) (_s5.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit72 ;_i = _i + step72 ) { +RDebugUtils.currentLine=4784247; + //BA.debugLineNum = 4784247;BA.debugLine="s5.Position = i"; +_s5.setPosition(_i); +RDebugUtils.currentLine=4784249; + //BA.debugLineNum = 4784249;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; +_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_s5.GetString("PE_CLIENTE"))))); + } +}; +RDebugUtils.currentLine=4784253; + //BA.debugLineNum = 4784253;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,"; +__ref._l_preacordada /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=4784255; + //BA.debugLineNum = 4784255;BA.debugLine="l_preacordada.Text = 0"; +__ref._l_preacordada /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784258; + //BA.debugLineNum = 4784258;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); +RDebugUtils.currentLine=4784260; + //BA.debugLineNum = 4784260;BA.debugLine="If s6.RowCount > 0 Then"; +if (_s6.getRowCount()>0) { +RDebugUtils.currentLine=4784261; + //BA.debugLineNum = 4784261;BA.debugLine="Private total3 As String = 0"; +_total3 = BA.NumberToString(0); +RDebugUtils.currentLine=4784262; + //BA.debugLineNum = 4784262;BA.debugLine="For i = 0 To s6.RowCount - 1"; +{ +final int step83 = 1; +final int limit83 = (int) (_s6.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit83 ;_i = _i + step83 ) { +RDebugUtils.currentLine=4784263; + //BA.debugLineNum = 4784263;BA.debugLine="s6.Position = i"; +_s6.setPosition(_i); +RDebugUtils.currentLine=4784265; + //BA.debugLineNum = 4784265;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan"; +_total3 = BA.NumberToString((double)(Double.parseDouble(_total3))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_s6.GetString("PE_CLIENTE"))))); + } +}; +RDebugUtils.currentLine=4784269; + //BA.debugLineNum = 4784269;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa"; +__ref._l_prevtotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total3)),(int) (0),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=4784271; + //BA.debugLineNum = 4784271;BA.debugLine="l_prevtotal.Text = 0"; +__ref._l_prevtotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784288; + //BA.debugLineNum = 4784288;BA.debugLine="Private ru_o As Cursor = B4XPages.MainPage.skmt.E"; +_ru_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ru_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT distinct pe_cliente, pe_ruta FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA IS NULL",(String[])(__c.Null)))); +RDebugUtils.currentLine=4784290; + //BA.debugLineNum = 4784290;BA.debugLine="Log(\"##### \" & ru_o.RowCount)"; +__c.LogImpl("04784290","##### "+BA.NumberToString(_ru_o.getRowCount()),0); +RDebugUtils.currentLine=4784291; + //BA.debugLineNum = 4784291;BA.debugLine="Private total2 As String = 0"; +_total2 = BA.NumberToString(0); +RDebugUtils.currentLine=4784292; + //BA.debugLineNum = 4784292;BA.debugLine="If ru_o.RowCount > 0 Then"; +if (_ru_o.getRowCount()>0) { +RDebugUtils.currentLine=4784293; + //BA.debugLineNum = 4784293;BA.debugLine="For i2 = 0 To ru_o.RowCount - 1"; +{ +final int step95 = 1; +final int limit95 = (int) (_ru_o.getRowCount()-1); +_i2 = (int) (0) ; +for (;_i2 <= limit95 ;_i2 = _i2 + step95 ) { +RDebugUtils.currentLine=4784294; + //BA.debugLineNum = 4784294;BA.debugLine="ru_o.Position = i2"; +_ru_o.setPosition(_i2); +RDebugUtils.currentLine=4784296; + //BA.debugLineNum = 4784296;BA.debugLine="Private rutOr As String = ru_o.GetString(\"PE_RU"; +_rutor = _ru_o.GetString("PE_RUTA"); +RDebugUtils.currentLine=4784298; + //BA.debugLineNum = 4784298;BA.debugLine="total2 = total2 + Subs.calculaTotalConPromoXRan"; +_total2 = BA.NumberToString((double)(Double.parseDouble(_total2))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_ru_o.GetString("PE_CLIENTE"))))); + } +}; + }; +RDebugUtils.currentLine=4784302; + //BA.debugLineNum = 4784302;BA.debugLine="l_ru_pri.Text = NumberFormat2(total2,0,2,2,False)"; +__ref._l_ru_pri /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total2)),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=4784305; + //BA.debugLineNum = 4784305;BA.debugLine="Private ru_s As Cursor = B4XPages.MainPage.skmt.E"; +_ru_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ru_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT IFNULL(PE_RUTA, 0) As PE_RUTA, IFNULL(SUM(PE_COSTO_TOT), 0) As TOTAL_CLIE FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA Is Not Null",(String[])(__c.Null)))); +RDebugUtils.currentLine=4784306; + //BA.debugLineNum = 4784306;BA.debugLine="ru_s.Position = 0"; +_ru_s.setPosition((int) (0)); +RDebugUtils.currentLine=4784307; + //BA.debugLineNum = 4784307;BA.debugLine="If ru_s.GetString(\"PE_RUTA\") = 0 Then"; +if ((_ru_s.GetString("PE_RUTA")).equals(BA.NumberToString(0))) { + }else { +RDebugUtils.currentLine=4784310; + //BA.debugLineNum = 4784310;BA.debugLine="Private RuSu As String = ru_s.GetString(\"PE_RUTA"; +_rusu = _ru_s.GetString("PE_RUTA"); +RDebugUtils.currentLine=4784312; + //BA.debugLineNum = 4784312;BA.debugLine="ru_s.Position = 0"; +_ru_s.setPosition((int) (0)); +RDebugUtils.currentLine=4784313; + //BA.debugLineNum = 4784313;BA.debugLine="l_ru_sup.Text = NumberFormat2(ru_s.GetDouble(\"TO"; +__ref._l_ru_sup /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_ru_s.GetDouble("TOTAL_CLIE"),(int) (0),(int) (2),(int) (2),__c.False))); + }; +RDebugUtils.currentLine=4784315; + //BA.debugLineNum = 4784315;BA.debugLine="ru_s.Close"; +_ru_s.Close(); +RDebugUtils.currentLine=4784317; + //BA.debugLineNum = 4784317;BA.debugLine="Dim cuantos_obj As String"; +_cuantos_obj = ""; +RDebugUtils.currentLine=4784318; + //BA.debugLineNum = 4784318;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) AS TOTAL from HIST_MARCAS_CUOTAS "))); +RDebugUtils.currentLine=4784319; + //BA.debugLineNum = 4784319;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784320; + //BA.debugLineNum = 4784320;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")"; +_cuantos_obj = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"); +RDebugUtils.currentLine=4784321; + //BA.debugLineNum = 4784321;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784323; + //BA.debugLineNum = 4784323;BA.debugLine="If cuantos_obj > 0 Then"; +if ((double)(Double.parseDouble(_cuantos_obj))>0) { +RDebugUtils.currentLine=4784324; + //BA.debugLineNum = 4784324;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select SUM(HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS "))); +RDebugUtils.currentLine=4784325; + //BA.debugLineNum = 4784325;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784326; + //BA.debugLineNum = 4784326;BA.debugLine="If c.GetString(\"TOTAL\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))>0) { +RDebugUtils.currentLine=4784327; + //BA.debugLineNum = 4784327;BA.debugLine="L_NES.Text = Round(c.GetString(\"TOTAL\") / 25)"; +__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))/(double)25))); + }else { +RDebugUtils.currentLine=4784329; + //BA.debugLineNum = 4784329;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")"; +__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"))); + }; +RDebugUtils.currentLine=4784331; + //BA.debugLineNum = 4784331;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=4784334; + //BA.debugLineNum = 4784334;BA.debugLine="Log(L_NES.Text)"; +__c.LogImpl("04784334",__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),0); +RDebugUtils.currentLine=4784335; + //BA.debugLineNum = 4784335;BA.debugLine="Log(L_REAL.Text)"; +__c.LogImpl("04784335",__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),0); +RDebugUtils.currentLine=4784339; + //BA.debugLineNum = 4784339;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text"; +__ref._l_alcance /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(((double)(Double.parseDouble(__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+1),(int) (2)))); +RDebugUtils.currentLine=4784340; + //BA.debugLineNum = 4784340;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text"; +__ref._l_vplan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=4784341; + //BA.debugLineNum = 4784341;BA.debugLine="L_VREAL.Text = L_CUANTOST.text"; +__ref._l_vreal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=4784342; + //BA.debugLineNum = 4784342;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T"; +__ref._l_efec_vis /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_vreal /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_vplan /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); +RDebugUtils.currentLine=4784343; + //BA.debugLineNum = 4784343;BA.debugLine="L_VISITCC.Text = l_cuantosc.text"; +__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=4784344; + //BA.debugLineNum = 4784344;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL."; +__ref._l_efec_pv /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_vreal /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); +RDebugUtils.currentLine=4784345; + //BA.debugLineNum = 4784345;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA"; +__ref._l_efec_pura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_vplan /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); +RDebugUtils.currentLine=4784346; + //BA.debugLineNum = 4784346;BA.debugLine="l_preventa.Text = Subs.calculaTotalConPromoXRango"; +__ref._l_preventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); +RDebugUtils.currentLine=4784347; + //BA.debugLineNum = 4784347;BA.debugLine="l_futura.Text = Subs.calculaTotalConPromoXRango1("; +__ref._l_futura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); +RDebugUtils.currentLine=4784348; + //BA.debugLineNum = 4784348;BA.debugLine="L_LIN_TICK.Text = LPT"; +__ref._l_lin_tick /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._lpt /*String*/ )); +RDebugUtils.currentLine=4784349; + //BA.debugLineNum = 4784349;BA.debugLine="If l_monto_ks.Text <> \"0\" Then"; +if ((__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") == false) { +RDebugUtils.currentLine=4784350; + //BA.debugLineNum = 4784350;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select COU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = ? ",new String[]{__ref._almacen /*String*/ }))); +RDebugUtils.currentLine=4784351; + //BA.debugLineNum = 4784351;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784352; + //BA.debugLineNum = 4784352;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")"; +__ref._l_cte_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=4784353; + //BA.debugLineNum = 4784353;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784354; + //BA.debugLineNum = 4784354;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"PRIORITARIO"}))); +RDebugUtils.currentLine=4784355; + //BA.debugLineNum = 4784355;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784364; + //BA.debugLineNum = 4784364;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")"; +__ref._l_prio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=4784365; + //BA.debugLineNum = 4784365;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784367; + //BA.debugLineNum = 4784367;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"ESTRATEGICO"}))); +RDebugUtils.currentLine=4784368; + //BA.debugLineNum = 4784368;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784369; + //BA.debugLineNum = 4784369;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")"; +__ref._l_secund /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=4784370; + //BA.debugLineNum = 4784370;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784372; + //BA.debugLineNum = 4784372;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"COMPLEMENTARIO"}))); +RDebugUtils.currentLine=4784373; + //BA.debugLineNum = 4784373;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784374; + //BA.debugLineNum = 4784374;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")"; +__ref._l_comp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=4784375; + //BA.debugLineNum = 4784375;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=4784377; + //BA.debugLineNum = 4784377;BA.debugLine="L_PRIO.Text = \"0\""; +__ref._l_prio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); +RDebugUtils.currentLine=4784378; + //BA.debugLineNum = 4784378;BA.debugLine="L_SECUND.Text = \"0\""; +__ref._l_secund /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); +RDebugUtils.currentLine=4784379; + //BA.debugLineNum = 4784379;BA.debugLine="L_COMP.Text = \"0\""; +__ref._l_comp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; +RDebugUtils.currentLine=4784382; + //BA.debugLineNum = 4784382;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))); +RDebugUtils.currentLine=4784383; + //BA.debugLineNum = 4784383;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784384; + //BA.debugLineNum = 4784384;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=4784385; + //BA.debugLineNum = 4784385;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))); +RDebugUtils.currentLine=4784386; + //BA.debugLineNum = 4784386;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784387; + //BA.debugLineNum = 4784387;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")"; +__ref._l_cte_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=4784388; + //BA.debugLineNum = 4784388;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784389; + //BA.debugLineNum = 4784389;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C"; +__ref._l_reden_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_cte_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); + }else { +RDebugUtils.currentLine=4784391; + //BA.debugLineNum = 4784391;BA.debugLine="L_CTE_PROMO.Text = 0"; +__ref._l_cte_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784392; + //BA.debugLineNum = 4784392;BA.debugLine="L_REDEN_PROMO.Text = 0"; +__ref._l_reden_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784394; + //BA.debugLineNum = 4784394;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784395; + //BA.debugLineNum = 4784395;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO "))); +RDebugUtils.currentLine=4784396; + //BA.debugLineNum = 4784396;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784397; + //BA.debugLineNum = 4784397;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /"; +__ref._l_lin_tick /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))/(double)(double)(Double.parseDouble(__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); +RDebugUtils.currentLine=4784398; + //BA.debugLineNum = 4784398;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784400; + //BA.debugLineNum = 4784400;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from HIST_CUOTAS "))); +RDebugUtils.currentLine=4784401; + //BA.debugLineNum = 4784401;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4784402; + //BA.debugLineNum = 4784402;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { + }else { +RDebugUtils.currentLine=4784410; + //BA.debugLineNum = 4784410;BA.debugLine="l_monto_c1.Text = 4000"; +__ref._l_monto_c1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(4000)); +RDebugUtils.currentLine=4784411; + //BA.debugLineNum = 4784411;BA.debugLine="l_monto_c2.Text = 2000"; +__ref._l_monto_c2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(2000)); +RDebugUtils.currentLine=4784412; + //BA.debugLineNum = 4784412;BA.debugLine="l_monto_c3.Text = 1000"; +__ref._l_monto_c3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(1000)); + }; +RDebugUtils.currentLine=4784414; + //BA.debugLineNum = 4784414;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4784419; + //BA.debugLineNum = 4784419;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); +RDebugUtils.currentLine=4784421; + //BA.debugLineNum = 4784421;BA.debugLine="If s3.RowCount > 0 Then"; +if (_s3.getRowCount()>0) { +RDebugUtils.currentLine=4784422; + //BA.debugLineNum = 4784422;BA.debugLine="Private total1 As String = 0"; +_total1 = BA.NumberToString(0); +RDebugUtils.currentLine=4784423; + //BA.debugLineNum = 4784423;BA.debugLine="For i = 0 To s3.RowCount - 1"; +{ +final int step189 = 1; +final int limit189 = (int) (_s3.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit189 ;_i = _i + step189 ) { +RDebugUtils.currentLine=4784424; + //BA.debugLineNum = 4784424;BA.debugLine="s3.Position = i"; +_s3.setPosition(_i); +RDebugUtils.currentLine=4784426; + //BA.debugLineNum = 4784426;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan"; +_total1 = BA.NumberToString((double)(Double.parseDouble(_total1))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_s3.GetString("PE_CLIENTE"))))); + } +}; +RDebugUtils.currentLine=4784430; + //BA.debugLineNum = 4784430;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)"; +__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total1)),(int) (0),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=4784432; + //BA.debugLineNum = 4784432;BA.debugLine="L_REAL.Text = 0"; +__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784436; + //BA.debugLineNum = 4784436;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); +RDebugUtils.currentLine=4784438; + //BA.debugLineNum = 4784438;BA.debugLine="If s5.RowCount > 0 Then"; +if (_s5.getRowCount()>0) { +RDebugUtils.currentLine=4784439; + //BA.debugLineNum = 4784439;BA.debugLine="Private total4 As String = 0"; +_total4 = BA.NumberToString(0); +RDebugUtils.currentLine=4784440; + //BA.debugLineNum = 4784440;BA.debugLine="For i = 0 To s5.RowCount - 1"; +{ +final int step200 = 1; +final int limit200 = (int) (_s5.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit200 ;_i = _i + step200 ) { +RDebugUtils.currentLine=4784441; + //BA.debugLineNum = 4784441;BA.debugLine="s5.Position = i"; +_s5.setPosition(_i); +RDebugUtils.currentLine=4784443; + //BA.debugLineNum = 4784443;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; +_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_s5.GetString("PE_CLIENTE"))))); + } +}; +RDebugUtils.currentLine=4784447; + //BA.debugLineNum = 4784447;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,"; +__ref._l_preacordada /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=4784449; + //BA.debugLineNum = 4784449;BA.debugLine="l_preacordada.Text = 0"; +__ref._l_preacordada /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784452; + //BA.debugLineNum = 4784452;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); +RDebugUtils.currentLine=4784454; + //BA.debugLineNum = 4784454;BA.debugLine="If s6.RowCount > 0 Then"; +if (_s6.getRowCount()>0) { +RDebugUtils.currentLine=4784455; + //BA.debugLineNum = 4784455;BA.debugLine="Private total3 As String = 0"; +_total3 = BA.NumberToString(0); +RDebugUtils.currentLine=4784456; + //BA.debugLineNum = 4784456;BA.debugLine="For i = 0 To s6.RowCount - 1"; +{ +final int step211 = 1; +final int limit211 = (int) (_s6.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit211 ;_i = _i + step211 ) { +RDebugUtils.currentLine=4784457; + //BA.debugLineNum = 4784457;BA.debugLine="s6.Position = i"; +_s6.setPosition(_i); +RDebugUtils.currentLine=4784459; + //BA.debugLineNum = 4784459;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan"; +_total3 = BA.NumberToString((double)(Double.parseDouble(_total3))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_s6.GetString("PE_CLIENTE"))))); + } +}; +RDebugUtils.currentLine=4784463; + //BA.debugLineNum = 4784463;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa"; +__ref._l_prevtotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total3)),(int) (0),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=4784465; + //BA.debugLineNum = 4784465;BA.debugLine="l_prevtotal.Text = 0"; +__ref._l_prevtotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784469; + //BA.debugLineNum = 4784469;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s7 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s7 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select Ifnull(SUM(PE_CANT),0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO') GROUP BY PE_PROID"))); +RDebugUtils.currentLine=4784470; + //BA.debugLineNum = 4784470;BA.debugLine="If s7.RowCount > 0 Then"; +if (_s7.getRowCount()>0) { +RDebugUtils.currentLine=4784471; + //BA.debugLineNum = 4784471;BA.debugLine="Dim totalstick As Int = 0"; +_totalstick = (int) (0); +RDebugUtils.currentLine=4784472; + //BA.debugLineNum = 4784472;BA.debugLine="For sfsdf = 0 To s7.RowCount -1"; +{ +final int step222 = 1; +final int limit222 = (int) (_s7.getRowCount()-1); +_sfsdf = (int) (0) ; +for (;_sfsdf <= limit222 ;_sfsdf = _sfsdf + step222 ) { +RDebugUtils.currentLine=4784473; + //BA.debugLineNum = 4784473;BA.debugLine="s7.Position= sfsdf"; +_s7.setPosition(_sfsdf); +RDebugUtils.currentLine=4784474; + //BA.debugLineNum = 4784474;BA.debugLine="Log(\"ENTRE AQUI\")"; +__c.LogImpl("04784474","ENTRE AQUI",0); +RDebugUtils.currentLine=4784475; + //BA.debugLineNum = 4784475;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ"; +_s8 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s8 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_s7.GetString("PE_PROID")))+"'")))); +RDebugUtils.currentLine=4784476; + //BA.debugLineNum = 4784476;BA.debugLine="s8.Position = 0"; +_s8.setPosition((int) (0)); +RDebugUtils.currentLine=4784477; + //BA.debugLineNum = 4784477;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN"; +_totalstick = (int) (_totalstick+((double)(Double.parseDouble(_s7.GetString("PE_CANT")))*(double)(Double.parseDouble(_s8.GetString("CAT_GP_CONVERSION3"))))); + } +}; +RDebugUtils.currentLine=4784479; + //BA.debugLineNum = 4784479;BA.debugLine="Dim totaltotaltot As Int = totalstick/200"; +_totaltotaltot = (int) (_totalstick/(double)200); +RDebugUtils.currentLine=4784480; + //BA.debugLineNum = 4784480;BA.debugLine="l_ru_pri.Text = totaltotaltot"; +__ref._l_ru_pri /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_totaltotaltot)); + }else { +RDebugUtils.currentLine=4784482; + //BA.debugLineNum = 4784482;BA.debugLine="l_ru_pri.Text = 0"; +__ref._l_ru_pri /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784485; + //BA.debugLineNum = 4784485;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')"))); +RDebugUtils.currentLine=4784486; + //BA.debugLineNum = 4784486;BA.debugLine="If s0.RowCount > 0 Then"; +if (_s0.getRowCount()>0) { +RDebugUtils.currentLine=4784488; + //BA.debugLineNum = 4784488;BA.debugLine="s0.Position = 0"; +_s0.setPosition((int) (0)); +RDebugUtils.currentLine=4784489; + //BA.debugLineNum = 4784489;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; +__c.LogImpl("04784489",_s0.GetString("PE_CANT"),0); +RDebugUtils.currentLine=4784490; + //BA.debugLineNum = 4784490;BA.debugLine="L_REAL.Text = s0.GetString(\"PE_CANT\")"; +__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT"))); + }else { +RDebugUtils.currentLine=4784492; + //BA.debugLineNum = 4784492;BA.debugLine="L_REAL.Text = 0"; +__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784495; + //BA.debugLineNum = 4784495;BA.debugLine="L_NES.Text = 0"; +__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784496; + //BA.debugLineNum = 4784496;BA.debugLine="l_ru_sup.Text = 0"; +__ref._l_ru_sup /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784497; + //BA.debugLineNum = 4784497;BA.debugLine="L_ALCANCE.Text = 0"; +__ref._l_alcance /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784498; + //BA.debugLineNum = 4784498;BA.debugLine="L_VPLAN.Text = 0"; +__ref._l_vplan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784499; + //BA.debugLineNum = 4784499;BA.debugLine="L_VREAL.Text = 0"; +__ref._l_vreal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784500; + //BA.debugLineNum = 4784500;BA.debugLine="L_EFEC_VIS.Text = 0"; +__ref._l_efec_vis /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784501; + //BA.debugLineNum = 4784501;BA.debugLine="L_VISITCC.Text = 0"; +__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784502; + //BA.debugLineNum = 4784502;BA.debugLine="L_EFEC_PV.Text = 0"; +__ref._l_efec_pv /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784503; + //BA.debugLineNum = 4784503;BA.debugLine="L_EFEC_PURA.Text = 0"; +__ref._l_efec_pura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784504; + //BA.debugLineNum = 4784504;BA.debugLine="l_preventa.Text = 0"; +__ref._l_preventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784505; + //BA.debugLineNum = 4784505;BA.debugLine="l_futura.Text = 0"; +__ref._l_futura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784506; + //BA.debugLineNum = 4784506;BA.debugLine="Label13.Text = 0"; +__ref._label13 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784507; + //BA.debugLineNum = 4784507;BA.debugLine="Label19.Text = 0"; +__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784508; + //BA.debugLineNum = 4784508;BA.debugLine="Label21.Text = 0"; +__ref._label21 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784511; + //BA.debugLineNum = 4784511;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')"))); +RDebugUtils.currentLine=4784512; + //BA.debugLineNum = 4784512;BA.debugLine="If s0.RowCount > 0 Then"; +if (_s0.getRowCount()>0) { +RDebugUtils.currentLine=4784513; + //BA.debugLineNum = 4784513;BA.debugLine="s0.Position = 0"; +_s0.setPosition((int) (0)); +RDebugUtils.currentLine=4784514; + //BA.debugLineNum = 4784514;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; +__c.LogImpl("04784514",_s0.GetString("PE_CANT"),0); +RDebugUtils.currentLine=4784515; + //BA.debugLineNum = 4784515;BA.debugLine="Label33.Text = s0.GetString(\"PE_CANT\")"; +__ref._label33 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT"))); + }else { +RDebugUtils.currentLine=4784517; + //BA.debugLineNum = 4784517;BA.debugLine="Label33.Text = 0"; +__ref._label33 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784520; + //BA.debugLineNum = 4784520;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); +RDebugUtils.currentLine=4784522; + //BA.debugLineNum = 4784522;BA.debugLine="If s5.RowCount > 0 Then"; +if (_s5.getRowCount()>0) { +RDebugUtils.currentLine=4784523; + //BA.debugLineNum = 4784523;BA.debugLine="Private total4 As String = 0"; +_total4 = BA.NumberToString(0); +RDebugUtils.currentLine=4784524; + //BA.debugLineNum = 4784524;BA.debugLine="For i = 0 To s5.RowCount - 1"; +{ +final int step267 = 1; +final int limit267 = (int) (_s5.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit267 ;_i = _i + step267 ) { +RDebugUtils.currentLine=4784525; + //BA.debugLineNum = 4784525;BA.debugLine="s5.Position = i"; +_s5.setPosition(_i); +RDebugUtils.currentLine=4784527; + //BA.debugLineNum = 4784527;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; +_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango5 /*String*/ (ba,_s5.GetString("PE_CLIENTE"))))); + } +}; +RDebugUtils.currentLine=4784531; + //BA.debugLineNum = 4784531;BA.debugLine="Label35.Text = NumberFormat2(total4,0,2,2,False)"; +__ref._label35 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=4784533; + //BA.debugLineNum = 4784533;BA.debugLine="Label35.Text = 0"; +__ref._label35 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784536; + //BA.debugLineNum = 4784536;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')"))); +RDebugUtils.currentLine=4784537; + //BA.debugLineNum = 4784537;BA.debugLine="If s0.RowCount > 0 Then"; +if (_s0.getRowCount()>0) { +RDebugUtils.currentLine=4784538; + //BA.debugLineNum = 4784538;BA.debugLine="s0.Position = 0"; +_s0.setPosition((int) (0)); +RDebugUtils.currentLine=4784539; + //BA.debugLineNum = 4784539;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; +__c.LogImpl("04784539",_s0.GetString("PE_CANT"),0); +RDebugUtils.currentLine=4784540; + //BA.debugLineNum = 4784540;BA.debugLine="Label43.Text = s0.GetString(\"PE_CANT\")"; +__ref._label43 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT"))); + }else { +RDebugUtils.currentLine=4784542; + //BA.debugLineNum = 4784542;BA.debugLine="Label43.Text = 0"; +__ref._label43 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784545; + //BA.debugLineNum = 4784545;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); +RDebugUtils.currentLine=4784547; + //BA.debugLineNum = 4784547;BA.debugLine="If s5.RowCount > 0 Then"; +if (_s5.getRowCount()>0) { +RDebugUtils.currentLine=4784548; + //BA.debugLineNum = 4784548;BA.debugLine="Private total4 As String = 0"; +_total4 = BA.NumberToString(0); +RDebugUtils.currentLine=4784549; + //BA.debugLineNum = 4784549;BA.debugLine="For i = 0 To s5.RowCount - 1"; +{ +final int step286 = 1; +final int limit286 = (int) (_s5.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit286 ;_i = _i + step286 ) { +RDebugUtils.currentLine=4784550; + //BA.debugLineNum = 4784550;BA.debugLine="s5.Position = i"; +_s5.setPosition(_i); +RDebugUtils.currentLine=4784552; + //BA.debugLineNum = 4784552;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; +_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango6 /*String*/ (ba,_s5.GetString("PE_CLIENTE"))))); + } +}; +RDebugUtils.currentLine=4784556; + //BA.debugLineNum = 4784556;BA.debugLine="Label51.Text = NumberFormat2(total4,0,2,2,False)"; +__ref._label51 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=4784558; + //BA.debugLineNum = 4784558;BA.debugLine="Label51.Text = 0"; +__ref._label51 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784561; + //BA.debugLineNum = 4784561;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; +_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(COB_VOLUMEN,0) AS COB_VOLUMEN, IFNULL(COB_MARCAE,0) AS COB_MARCAE, IFNULL(COB_PORTAFOLIO,0) AS COB_PORTAFOLIO, IFNULL(COB_OBJPP,0) AS COB_OBJPP, IFNULL(COB_GEV,0) as COB_GEV FROM CAT_OBJETIVO_BAT"))); +RDebugUtils.currentLine=4784562; + //BA.debugLineNum = 4784562;BA.debugLine="If s6.RowCount > 0 Then"; +if (_s6.getRowCount()>0) { +RDebugUtils.currentLine=4784563; + //BA.debugLineNum = 4784563;BA.debugLine="s6.Position = 0"; +_s6.setPosition((int) (0)); +RDebugUtils.currentLine=4784564; + //BA.debugLineNum = 4784564;BA.debugLine="L_NES.Text = NumberFormat2(s6.GetString(\"COB_VOL"; +__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_VOLUMEN"))),(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=4784565; + //BA.debugLineNum = 4784565;BA.debugLine="L_EFEC_PURA.Text = NumberFormat2(s6.GetString(\"C"; +__ref._l_efec_pura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_MARCAE"))),(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=4784566; + //BA.debugLineNum = 4784566;BA.debugLine="L_VISITCC.Text = NumberFormat2(s6.GetString(\"COB"; +__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_PORTAFOLIO"))),(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=4784567; + //BA.debugLineNum = 4784567;BA.debugLine="l_ru_sup.Text = NumberFormat2(s6.GetString(\"COB_"; +__ref._l_ru_sup /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_OBJPP"))),(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=4784568; + //BA.debugLineNum = 4784568;BA.debugLine="l_futura.Text = NumberFormat2(s6.GetString(\"COB_"; +__ref._l_futura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_GEV"))),(int) (0),(int) (0),(int) (0),__c.False))); + }else { +RDebugUtils.currentLine=4784570; + //BA.debugLineNum = 4784570;BA.debugLine="L_NES.Text = 0"; +__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784571; + //BA.debugLineNum = 4784571;BA.debugLine="L_EFEC_PURA.Text = 0"; +__ref._l_efec_pura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784572; + //BA.debugLineNum = 4784572;BA.debugLine="L_VISITCC.Text = 0"; +__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784573; + //BA.debugLineNum = 4784573;BA.debugLine="l_ru_sup.Text = 0"; +__ref._l_ru_sup /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=4784574; + //BA.debugLineNum = 4784574;BA.debugLine="l_futura.Text = 0"; +__ref._l_futura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=4784577; + //BA.debugLineNum = 4784577;BA.debugLine="End Sub"; +return ""; +} +public String _b_traec_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_traec_click", false)) + {return ((String) Debug.delegate(ba, "b_traec_click", null));} +RDebugUtils.currentLine=6356992; + //BA.debugLineNum = 6356992;BA.debugLine="Private Sub B_traec_click"; +RDebugUtils.currentLine=6356993; + //BA.debugLineNum = 6356993;BA.debugLine="B4XPages.ShowPage(\"Clientes_Completos\")"; +_b4xpages._showpage /*String*/ (ba,"Clientes_Completos"); +RDebugUtils.currentLine=6356994; + //BA.debugLineNum = 6356994;BA.debugLine="End Sub"; +return ""; +} +public String _b_ubicar_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ubicar_click", false)) + {return ((String) Debug.delegate(ba, "b_ubicar_click", null));} +RDebugUtils.currentLine=6094848; + //BA.debugLineNum = 6094848;BA.debugLine="Private Sub b_ubicar_Click"; +RDebugUtils.currentLine=6094849; + //BA.debugLineNum = 6094849;BA.debugLine="Btn_Ubicar_Click"; +__ref._btn_ubicar_click /*String*/ (null); +RDebugUtils.currentLine=6094850; + //BA.debugLineNum = 6094850;BA.debugLine="End Sub"; +return ""; +} +public String _btn_ubicar_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "btn_ubicar_click", false)) + {return ((String) Debug.delegate(ba, "btn_ubicar_click", null));} +RDebugUtils.currentLine=5111808; + //BA.debugLineNum = 5111808;BA.debugLine="Sub Btn_Ubicar_Click"; +RDebugUtils.currentLine=5111809; + //BA.debugLineNum = 5111809;BA.debugLine="StartActivity(MAPA_RUTAS)"; +__c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); +RDebugUtils.currentLine=5111810; + //BA.debugLineNum = 5111810;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_principal parent) { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_principal parent,gunav2.keymon.com.mx.c_principal __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_principal __ref; gunav2.keymon.com.mx.c_principal parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_principal"; while (true) { switch (state) { @@ -1229,13 +2817,14 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 2766;BA.debugLine="If SCROLL_RESDIA.Visible Then"; +RDebugUtils.currentLine=3866626; + //BA.debugLineNum = 3866626;BA.debugLine="If SCROLL_RESDIA.Visible Then"; if (true) break; case 1: //if this.state = 6; -if (parent._scroll_resdia.getVisible()) { +if (__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getVisible()) { this.state = 3; }else { this.state = 5; @@ -1244,11 +2833,14 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 2767;BA.debugLine="SCROLL_RESDIA.Visible = False"; -parent._scroll_resdia.setVisible(parent.__c.False); - //BA.debugLineNum = 2768;BA.debugLine="B_OK_RES_Click"; -parent._b_ok_res_click(); - //BA.debugLineNum = 2769;BA.debugLine="Return False"; +RDebugUtils.currentLine=3866627; + //BA.debugLineNum = 3866627;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=3866628; + //BA.debugLineNum = 3866628;BA.debugLine="B_OK_RES_Click"; +__ref._b_ok_res_click /*String*/ (null); +RDebugUtils.currentLine=3866629; + //BA.debugLineNum = 3866629;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1256,7 +2848,8 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; case 5: //C this.state = 6; - //BA.debugLineNum = 2771;BA.debugLine="B4XPages.ShowPage(\"login\")"; +RDebugUtils.currentLine=3866631; + //BA.debugLineNum = 3866631;BA.debugLine="B4XPages.ShowPage(\"login\")"; parent._b4xpages._showpage /*String*/ (ba,"login"); if (true) break; @@ -1264,222 +2857,332 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 2773;BA.debugLine="Return False"; +RDebugUtils.currentLine=3866633; + //BA.debugLineNum = 3866633;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 2774;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3866634; + //BA.debugLineNum = 3866634;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +public String _b4xpage_created(gunav2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} String _ruta = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; - //BA.debugLineNum = 267;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 268;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 269;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; -_bitacora._initialize /*Object*/ (ba,(Object)("bitacora"),"bitacora",_root,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ); - //BA.debugLineNum = 271;BA.debugLine="Root.LoadLayout(\"principal\")"; -_root.LoadLayout("principal",ba); - //BA.debugLineNum = 272;BA.debugLine="SCROLL_RESDIA.Width = Root.Width"; -_scroll_resdia.setWidth(_root.getWidth()); - //BA.debugLineNum = 273;BA.debugLine="SCROLL_RESDIA.Height = Root.Height"; -_scroll_resdia.setHeight(_root.getHeight()); - //BA.debugLineNum = 274;BA.debugLine="B_OK_RES.color = Colors.Red"; -_b_ok_res.setColor(__c.Colors.Red); - //BA.debugLineNum = 275;BA.debugLine="B_OK_RES.TextColor = Colors.White"; -_b_ok_res.setTextColor(__c.Colors.White); - //BA.debugLineNum = 276;BA.debugLine="l_version.Left = Root.Width - l_version.Width"; -_l_version.setLeft((int) (_root.getWidth()-_l_version.getWidth())); - //BA.debugLineNum = 277;BA.debugLine="l_version.Text = Application.VersionName"; -_l_version.setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); - //BA.debugLineNum = 278;BA.debugLine="EJECUTANDO=1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 279;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=3407872; + //BA.debugLineNum = 3407872;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=3407873; + //BA.debugLineNum = 3407873;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=3407874; + //BA.debugLineNum = 3407874;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._initialize /*Object*/ (null,ba,(Object)("bitacora"),"bitacora",__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ); +RDebugUtils.currentLine=3407876; + //BA.debugLineNum = 3407876;BA.debugLine="Root.LoadLayout(\"principal\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("principal",ba); +RDebugUtils.currentLine=3407877; + //BA.debugLineNum = 3407877;BA.debugLine="SCROLL_RESDIA.Width = Root.Width"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=3407878; + //BA.debugLineNum = 3407878;BA.debugLine="SCROLL_RESDIA.Height = Root.Height"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=3407879; + //BA.debugLineNum = 3407879;BA.debugLine="B_OK_RES.color = Colors.Red"; +__ref._b_ok_res /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setColor(__c.Colors.Red); +RDebugUtils.currentLine=3407880; + //BA.debugLineNum = 3407880;BA.debugLine="B_OK_RES.TextColor = Colors.White"; +__ref._b_ok_res /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTextColor(__c.Colors.White); +RDebugUtils.currentLine=3407881; + //BA.debugLineNum = 3407881;BA.debugLine="l_version.Left = Root.Width - l_version.Width"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth())); +RDebugUtils.currentLine=3407882; + //BA.debugLineNum = 3407882;BA.debugLine="l_version.Text = Application.VersionName"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); +RDebugUtils.currentLine=3407883; + //BA.debugLineNum = 3407883;BA.debugLine="EJECUTANDO=1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3407884; + //BA.debugLineNum = 3407884;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 280;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 281;BA.debugLine="ruta = File.DirInternal"; +RDebugUtils.currentLine=3407885; + //BA.debugLineNum = 3407885;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3407886; + //BA.debugLineNum = 3407886;BA.debugLine="ruta = File.DirInternal"; _ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 282;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +RDebugUtils.currentLine=3407887; + //BA.debugLineNum = 3407887;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 283;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +RDebugUtils.currentLine=3407888; + //BA.debugLineNum = 3407888;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; __c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); }; - //BA.debugLineNum = 285;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=3407890; + //BA.debugLineNum = 3407890;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 286;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; -_fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 287;BA.debugLine="B4XPages.MainPage.skmt.Initialize(ruta,\"kmt.db\","; +RDebugUtils.currentLine=3407891; + //BA.debugLineNum = 3407891;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +__ref._fecha /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=3407892; + //BA.debugLineNum = 3407892;BA.debugLine="B4XPages.MainPage.skmt.Initialize(ruta,\"kmt.db\","; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_ruta,"kmt.db",__c.True); - //BA.debugLineNum = 288;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); - //BA.debugLineNum = 289;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 290;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; -_cuantos = _b.GetString("CUANTOS"); - //BA.debugLineNum = 291;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 292;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info3 where gestion = 0"))); - //BA.debugLineNum = 293;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 294;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info3"))); - //BA.debugLineNum = 295;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 296;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info3"))); - //BA.debugLineNum = 297;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 298;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - //BA.debugLineNum = 299;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 300;BA.debugLine="b_abordo.Left = (Root.Width / 2) - (b_abordo.Widt"; -_b_abordo.setLeft((int) ((_root.getWidth()/(double)2)-(_b_abordo.getWidth()/(double)2))); - //BA.debugLineNum = 301;BA.debugLine="p_principal.Width = Root.Width : p_principal.Heig"; -_p_principal.setWidth(_root.getWidth()); - //BA.debugLineNum = 301;BA.debugLine="p_principal.Width = Root.Width : p_principal.Heig"; -_p_principal.setHeight(_root.getHeight()); - //BA.debugLineNum = 309;BA.debugLine="If l_ruta.Text = 0 Then"; -if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 310;BA.debugLine="l_ruta.Text = 0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - }else if((double)(Double.parseDouble(_l_ruta.getText()))>0) { - //BA.debugLineNum = 312;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select disti"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); - //BA.debugLineNum = 313;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 314;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - //BA.debugLineNum = 315;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 318;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT"; +RDebugUtils.currentLine=3407893; + //BA.debugLineNum = 3407893;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); +RDebugUtils.currentLine=3407894; + //BA.debugLineNum = 3407894;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3407895; + //BA.debugLineNum = 3407895;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=3407896; + //BA.debugLineNum = 3407896;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3407897; + //BA.debugLineNum = 3407897;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info3 where gestion = 0"))); +RDebugUtils.currentLine=3407898; + //BA.debugLineNum = 3407898;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3407899; + //BA.debugLineNum = 3407899;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info3"))); +RDebugUtils.currentLine=3407900; + //BA.debugLineNum = 3407900;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3407901; + //BA.debugLineNum = 3407901;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info3"))); +RDebugUtils.currentLine=3407902; + //BA.debugLineNum = 3407902;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3407903; + //BA.debugLineNum = 3407903;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=3407904; + //BA.debugLineNum = 3407904;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3407905; + //BA.debugLineNum = 3407905;BA.debugLine="b_abordo.Left = (Root.Width / 2) - (b_abordo.Widt"; +__ref._b_abordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._b_abordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=3407906; + //BA.debugLineNum = 3407906;BA.debugLine="p_principal.Width = Root.Width : p_principal.Heig"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=3407906; + //BA.debugLineNum = 3407906;BA.debugLine="p_principal.Width = Root.Width : p_principal.Heig"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=3407914; + //BA.debugLineNum = 3407914;BA.debugLine="If l_ruta.Text = 0 Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=3407915; + //BA.debugLineNum = 3407915;BA.debugLine="l_ruta.Text = 0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }else +{RDebugUtils.currentLine=3407916; + //BA.debugLineNum = 3407916;BA.debugLine="Else If l_ruta.Text > 0 Then"; +if ((double)(Double.parseDouble(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))>0) { +RDebugUtils.currentLine=3407917; + //BA.debugLineNum = 3407917;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select disti"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); +RDebugUtils.currentLine=3407918; + //BA.debugLineNum = 3407918;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3407919; + //BA.debugLineNum = 3407919;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=3407920; + //BA.debugLineNum = 3407920;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; +RDebugUtils.currentLine=3407923; + //BA.debugLineNum = 3407923;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT"; if ((_subs._traetipoventadebd /*String*/ (ba)).equals("VENTA") || (_subs._traetipoventadebd /*String*/ (ba)).equals("ABORDO")) { - //BA.debugLineNum = 319;BA.debugLine="If l_ruta.Text <> \"0\" Then"; -if ((_l_ruta.getText()).equals("0") == false) { - //BA.debugLineNum = 320;BA.debugLine="Log(999 & \"|\" & l_ruta.Text & \"|\")"; -__c.LogImpl("439977013",BA.NumberToString(999)+"|"+_l_ruta.getText()+"|",0); - //BA.debugLineNum = 321;BA.debugLine="b_abordo.Visible = False"; -_b_abordo.setVisible(__c.False); +RDebugUtils.currentLine=3407924; + //BA.debugLineNum = 3407924;BA.debugLine="If l_ruta.Text <> \"0\" Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") == false) { +RDebugUtils.currentLine=3407925; + //BA.debugLineNum = 3407925;BA.debugLine="Log(999 & \"|\" & l_ruta.Text & \"|\")"; +__c.LogImpl("03407925",BA.NumberToString(999)+"|"+__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"|",0); +RDebugUtils.currentLine=3407926; + //BA.debugLineNum = 3407926;BA.debugLine="b_abordo.Visible = False"; +__ref._b_abordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }; }else { - //BA.debugLineNum = 324;BA.debugLine="b_abordo.Visible = False"; -_b_abordo.setVisible(__c.False); +RDebugUtils.currentLine=3407929; + //BA.debugLineNum = 3407929;BA.debugLine="b_abordo.Visible = False"; +__ref._b_abordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }; - //BA.debugLineNum = 331;BA.debugLine="If Cuantos = 0 Then"; -if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 332;BA.debugLine="L_MONTOD.Text =0"; -_l_montod.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 333;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 334;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 335;BA.debugLine="drop = 0"; -_drop = 0; - //BA.debugLineNum = 336;BA.debugLine="l_drop.Text = 0"; -_l_drop.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 337;BA.debugLine="efectiva = 0"; -_efectiva = 0; - //BA.debugLineNum = 338;BA.debugLine="l_efectiva.text =0"; -_l_efectiva.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 339;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 340;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); +RDebugUtils.currentLine=3407936; + //BA.debugLineNum = 3407936;BA.debugLine="If Cuantos = 0 Then"; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=3407937; + //BA.debugLineNum = 3407937;BA.debugLine="L_MONTOD.Text =0"; +__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3407938; + //BA.debugLineNum = 3407938;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3407939; + //BA.debugLineNum = 3407939;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3407940; + //BA.debugLineNum = 3407940;BA.debugLine="drop = 0"; +__ref._drop /*double*/ = 0; +RDebugUtils.currentLine=3407941; + //BA.debugLineNum = 3407941;BA.debugLine="l_drop.Text = 0"; +__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3407942; + //BA.debugLineNum = 3407942;BA.debugLine="efectiva = 0"; +__ref._efectiva /*double*/ = 0; +RDebugUtils.currentLine=3407943; + //BA.debugLineNum = 3407943;BA.debugLine="l_efectiva.text =0"; +__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=3407944; + //BA.debugLineNum = 3407944;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR"))); +RDebugUtils.currentLine=3407945; + //BA.debugLineNum = 3407945;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); }else { - //BA.debugLineNum = 342;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA from pedido_cliente "))); - //BA.debugLineNum = 343;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct NV_CLIENTE) as CUANTOS from noventa"))); - //BA.debugLineNum = 345;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 346;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 347;BA.debugLine="L_MONTOD.Text = NumberFormat2(c.GetDouble(\"MONTO"; -_l_montod.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_c.GetDouble("MONTO_DIA"),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 348;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; -_l_cuantosc.setText(BA.ObjectToCharSequence(_c.GetString("CLIENTES_DIA"))); - //BA.debugLineNum = 349;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; -_l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS"))); - //BA.debugLineNum = 350;BA.debugLine="drop = c.GetString(\"MONTO_DIA\") / c.GetString(\"C"; -_drop = (double)(Double.parseDouble(_c.GetString("MONTO_DIA")))/(double)(double)(Double.parseDouble(_c.GetString("CLIENTES_DIA"))); - //BA.debugLineNum = 351;BA.debugLine="l_drop.Text = Round2(drop,2)"; -_l_drop.setText(BA.ObjectToCharSequence(__c.Round2(_drop,(int) (2)))); - //BA.debugLineNum = 352;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; -_efectiva = (double)(Double.parseDouble(_c.GetString("CLIENTES_DIA")))/(double)(double)(Double.parseDouble(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 353;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; -_l_efectiva.setText(BA.ObjectToCharSequence(__c.Round2(_efectiva*100,(int) (2)))); - //BA.debugLineNum = 354;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 355;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 356;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 357;BA.debugLine="c.Close"; -_c.Close(); +RDebugUtils.currentLine=3407947; + //BA.debugLineNum = 3407947;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA from pedido_cliente "))); +RDebugUtils.currentLine=3407948; + //BA.debugLineNum = 3407948;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct NV_CLIENTE) as CUANTOS from noventa"))); +RDebugUtils.currentLine=3407950; + //BA.debugLineNum = 3407950;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3407951; + //BA.debugLineNum = 3407951;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3407952; + //BA.debugLineNum = 3407952;BA.debugLine="L_MONTOD.Text = NumberFormat2(c.GetDouble(\"MONTO"; +__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("MONTO_DIA"),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=3407953; + //BA.debugLineNum = 3407953;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA"))); +RDebugUtils.currentLine=3407954; + //BA.debugLineNum = 3407954;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=3407955; + //BA.debugLineNum = 3407955;BA.debugLine="drop = c.GetString(\"MONTO_DIA\") / c.GetString(\"C"; +__ref._drop /*double*/ = (double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA"))); +RDebugUtils.currentLine=3407956; + //BA.debugLineNum = 3407956;BA.debugLine="l_drop.Text = Round2(drop,2)"; +__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(__ref._drop /*double*/ ,(int) (2)))); +RDebugUtils.currentLine=3407957; + //BA.debugLineNum = 3407957;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; +__ref._efectiva /*double*/ = (double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA")))/(double)(double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=3407958; + //BA.debugLineNum = 3407958;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; +__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(__ref._efectiva /*double*/ *100,(int) (2)))); +RDebugUtils.currentLine=3407959; + //BA.debugLineNum = 3407959;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR"))); +RDebugUtils.currentLine=3407960; + //BA.debugLineNum = 3407960;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=3407961; + //BA.debugLineNum = 3407961;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3407962; + //BA.debugLineNum = 3407962;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 359;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 360;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 361;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; +RDebugUtils.currentLine=3407964; + //BA.debugLineNum = 3407964;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3407965; + //BA.debugLineNum = 3407965;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3407966; + //BA.debugLineNum = 3407966;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; __c.CallSubDelayed(ba,(Object)(_firebasemessaging.getObject()),"SubscribeToTopics"); - //BA.debugLineNum = 363;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=3407968; + //BA.debugLineNum = 3407968;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec"; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(RS_RUTA) as cuenta, RS_RUTA FROM RUTA_SUPLENCIA"))); - //BA.debugLineNum = 364;BA.debugLine="s.Position = 0"; +RDebugUtils.currentLine=3407969; + //BA.debugLineNum = 3407969;BA.debugLine="s.Position = 0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 365;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then"; +RDebugUtils.currentLine=3407970; + //BA.debugLineNum = 3407970;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then"; if ((_s.GetString("cuenta")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 366;BA.debugLine="Label22.Visible = False"; -_label22.setVisible(__c.False); - //BA.debugLineNum = 367;BA.debugLine="l_rutasuplencia.Visible = False"; -_l_rutasuplencia.setVisible(__c.False); - }else if((double)(Double.parseDouble(_s.GetString("cuenta")))>0) { - //BA.debugLineNum = 369;BA.debugLine="Label22.Visible = True"; -_label22.setVisible(__c.True); - //BA.debugLineNum = 370;BA.debugLine="l_rutasuplencia.Visible = True"; -_l_rutasuplencia.setVisible(__c.True); - //BA.debugLineNum = 371;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; -_l_rutasuplencia.setText(BA.ObjectToCharSequence(_s.GetString("RS_RUTA"))); - }; - //BA.debugLineNum = 373;BA.debugLine="p_transparenteActualizacion.Width = Root.Width"; -_p_transparenteactualizacion.setWidth(_root.getWidth()); - //BA.debugLineNum = 374;BA.debugLine="p_transparenteActualizacion.Height = Root.Height"; -_p_transparenteactualizacion.setHeight(_root.getHeight()); - //BA.debugLineNum = 375;BA.debugLine="Subs.centraPanel(p_forzarActualizacion, p_transpa"; -_subs._centrapanel /*String*/ (ba,_p_forzaractualizacion,_p_transparenteactualizacion.getWidth()); - //BA.debugLineNum = 377;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3407971; + //BA.debugLineNum = 3407971;BA.debugLine="Label22.Visible = False"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3407972; + //BA.debugLineNum = 3407972;BA.debugLine="l_rutasuplencia.Visible = False"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=3407973; + //BA.debugLineNum = 3407973;BA.debugLine="Else If s.GetString(\"cuenta\") > 0 Then"; +if ((double)(Double.parseDouble(_s.GetString("cuenta")))>0) { +RDebugUtils.currentLine=3407974; + //BA.debugLineNum = 3407974;BA.debugLine="Label22.Visible = True"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3407975; + //BA.debugLineNum = 3407975;BA.debugLine="l_rutasuplencia.Visible = True"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3407976; + //BA.debugLineNum = 3407976;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_s.GetString("RS_RUTA"))); + }} +; +RDebugUtils.currentLine=3407978; + //BA.debugLineNum = 3407978;BA.debugLine="p_transparenteActualizacion.Width = Root.Width"; +__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=3407979; + //BA.debugLineNum = 3407979;BA.debugLine="p_transparenteActualizacion.Height = Root.Height"; +__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=3407980; + //BA.debugLineNum = 3407980;BA.debugLine="Subs.centraPanel(p_forzarActualizacion, p_transpa"; +_subs._centrapanel /*String*/ (ba,__ref._p_forzaractualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=3407982; + //BA.debugLineNum = 3407982;BA.debugLine="End Sub"; return ""; } -public String _btn_ubicar_click() throws Exception{ - //BA.debugLineNum = 3683;BA.debugLine="Sub Btn_Ubicar_Click"; - //BA.debugLineNum = 3684;BA.debugLine="StartActivity(MAPA_RUTAS)"; -__c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); - //BA.debugLineNum = 3685;BA.debugLine="End Sub"; -return ""; -} -public String _busca_click() throws Exception{ - //BA.debugLineNum = 2869;BA.debugLine="Sub BUSCA_Click"; - //BA.debugLineNum = 2870;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; +public String _busca_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "busca_click", false)) + {return ((String) Debug.delegate(ba, "busca_click", null));} +RDebugUtils.currentLine=3997696; + //BA.debugLineNum = 3997696;BA.debugLine="Sub BUSCA_Click"; +RDebugUtils.currentLine=3997697; + //BA.debugLineNum = 3997697;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; _b4xpages._showpage /*String*/ (ba,"TicketsDia"); - //BA.debugLineNum = 2871;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3997698; + //BA.debugLineNum = 3997698;BA.debugLine="End Sub"; return ""; } -public String _carga_click() throws Exception{ - //BA.debugLineNum = 3212;BA.debugLine="Sub CARGA_Click"; - //BA.debugLineNum = 3213;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +public String _carga_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "carga_click", false)) + {return ((String) Debug.delegate(ba, "carga_click", null));} +RDebugUtils.currentLine=4718592; + //BA.debugLineNum = 4718592;BA.debugLine="Sub CARGA_Click"; +RDebugUtils.currentLine=4718593; + //BA.debugLineNum = 4718593;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); - //BA.debugLineNum = 3214;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4718594; + //BA.debugLineNum = 4718594;BA.debugLine="End Sub"; return ""; } -public String _cargar_click() throws Exception{ +public String _cargar_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "cargar_click", false)) + {return ((String) Debug.delegate(ba, "cargar_click", null));} boolean _pedidodiaanterior = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _cp = null; String[] _fecha2 = null; @@ -1493,1179 +3196,1698 @@ String _dia2 = ""; int _i = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _sup = null; int _i2 = 0; - //BA.debugLineNum = 1137;BA.debugLine="Sub cargar_Click"; - //BA.debugLineNum = 1139;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +RDebugUtils.currentLine=3670016; + //BA.debugLineNum = 3670016;BA.debugLine="Sub cargar_Click"; +RDebugUtils.currentLine=3670018; + //BA.debugLineNum = 3670018;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; _pedidodiaanterior = __c.False; - //BA.debugLineNum = 1140;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue"; +RDebugUtils.currentLine=3670019; + //BA.debugLineNum = 3670019;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue"; _cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cp = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from PEDIDO"))); - //BA.debugLineNum = 1141;BA.debugLine="If cp.RowCount > 0 Then"; +RDebugUtils.currentLine=3670020; + //BA.debugLineNum = 3670020;BA.debugLine="If cp.RowCount > 0 Then"; if (_cp.getRowCount()>0) { - //BA.debugLineNum = 1142;BA.debugLine="cp.Position = 0"; +RDebugUtils.currentLine=3670021; + //BA.debugLineNum = 3670021;BA.debugLine="cp.Position = 0"; _cp.setPosition((int) (0)); - //BA.debugLineNum = 1143;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA"; +RDebugUtils.currentLine=3670022; + //BA.debugLineNum = 3670022;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA"; _fecha = _cp.GetString("PE_FECHA"); - //BA.debugLineNum = 1144;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)"; -_fecha2 = __c.Regex.Split("/",_fecha); - //BA.debugLineNum = 1145;BA.debugLine="Dim fecha5() As String = Regex.Split(\"\\:\",fecha2"; +RDebugUtils.currentLine=3670023; + //BA.debugLineNum = 3670023;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)"; +_fecha2 = __c.Regex.Split("/",__ref._fecha /*String*/ ); +RDebugUtils.currentLine=3670024; + //BA.debugLineNum = 3670024;BA.debugLine="Dim fecha5() As String = Regex.Split(\"\\:\",fecha2"; _fecha5 = __c.Regex.Split("\\:",_fecha2[(int) (2)]); - //BA.debugLineNum = 1146;BA.debugLine="Dim dia As String = fecha5(0).SubString2(0,4)&fe"; +RDebugUtils.currentLine=3670025; + //BA.debugLineNum = 3670025;BA.debugLine="Dim dia As String = fecha5(0).SubString2(0,4)&fe"; _dia = _fecha5[(int) (0)].substring((int) (0),(int) (4))+_fecha2[(int) (0)]+_fecha2[(int) (1)]; - //BA.debugLineNum = 1147;BA.debugLine="Log(fecha5(0))"; -__c.LogImpl("440239114",_fecha5[(int) (0)],0); - //BA.debugLineNum = 1148;BA.debugLine="Log(dia)"; -__c.LogImpl("440239115",_dia,0); - //BA.debugLineNum = 1149;BA.debugLine="Dim mescom As String = DateTime.GetMonth(DateTim"; +RDebugUtils.currentLine=3670026; + //BA.debugLineNum = 3670026;BA.debugLine="Log(fecha5(0))"; +__c.LogImpl("03670026",_fecha5[(int) (0)],0); +RDebugUtils.currentLine=3670027; + //BA.debugLineNum = 3670027;BA.debugLine="Log(dia)"; +__c.LogImpl("03670027",_dia,0); +RDebugUtils.currentLine=3670028; + //BA.debugLineNum = 3670028;BA.debugLine="Dim mescom As String = DateTime.GetMonth(DateTim"; _mescom = BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow())); - //BA.debugLineNum = 1150;BA.debugLine="Dim mescom2 As String"; +RDebugUtils.currentLine=3670029; + //BA.debugLineNum = 3670029;BA.debugLine="Dim mescom2 As String"; _mescom2 = ""; - //BA.debugLineNum = 1151;BA.debugLine="If mescom.Length = 1 Then"; +RDebugUtils.currentLine=3670030; + //BA.debugLineNum = 3670030;BA.debugLine="If mescom.Length = 1 Then"; if (_mescom.length()==1) { - //BA.debugLineNum = 1152;BA.debugLine="mescom2 = \"0\"&DateTime.GetMonth(DateTime.Now)"; +RDebugUtils.currentLine=3670031; + //BA.debugLineNum = 3670031;BA.debugLine="mescom2 = \"0\"&DateTime.GetMonth(DateTime.Now)"; _mescom2 = "0"+BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow())); }else { - //BA.debugLineNum = 1154;BA.debugLine="mescom2 = DateTime.GetMonth(DateTime.Now)"; +RDebugUtils.currentLine=3670033; + //BA.debugLineNum = 3670033;BA.debugLine="mescom2 = DateTime.GetMonth(DateTime.Now)"; _mescom2 = BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow())); }; - //BA.debugLineNum = 1157;BA.debugLine="Dim diacom As String = DateTime.GetDayOfMonth(Da"; +RDebugUtils.currentLine=3670036; + //BA.debugLineNum = 3670036;BA.debugLine="Dim diacom As String = DateTime.GetDayOfMonth(Da"; _diacom = BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow())); - //BA.debugLineNum = 1158;BA.debugLine="Log(DateTime.GetMonth(DateTime.Now))"; -__c.LogImpl("440239125",BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow())),0); - //BA.debugLineNum = 1159;BA.debugLine="Dim diacom2 As String"; +RDebugUtils.currentLine=3670037; + //BA.debugLineNum = 3670037;BA.debugLine="Log(DateTime.GetMonth(DateTime.Now))"; +__c.LogImpl("03670037",BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow())),0); +RDebugUtils.currentLine=3670038; + //BA.debugLineNum = 3670038;BA.debugLine="Dim diacom2 As String"; _diacom2 = ""; - //BA.debugLineNum = 1160;BA.debugLine="If diacom.Length = 1 Then"; +RDebugUtils.currentLine=3670039; + //BA.debugLineNum = 3670039;BA.debugLine="If diacom.Length = 1 Then"; if (_diacom.length()==1) { - //BA.debugLineNum = 1161;BA.debugLine="diacom2 = \"0\"&DateTime.GetDayOfMonth(DateTime.N"; +RDebugUtils.currentLine=3670040; + //BA.debugLineNum = 3670040;BA.debugLine="diacom2 = \"0\"&DateTime.GetDayOfMonth(DateTime.N"; _diacom2 = "0"+BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow())); }else { - //BA.debugLineNum = 1163;BA.debugLine="diacom2 = DateTime.GetDayOfMonth(DateTime.Now)"; +RDebugUtils.currentLine=3670042; + //BA.debugLineNum = 3670042;BA.debugLine="diacom2 = DateTime.GetDayOfMonth(DateTime.Now)"; _diacom2 = BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow())); }; - //BA.debugLineNum = 1167;BA.debugLine="Dim dia2 As String = DateTime.GetYear(DateTime.N"; +RDebugUtils.currentLine=3670046; + //BA.debugLineNum = 3670046;BA.debugLine="Dim dia2 As String = DateTime.GetYear(DateTime.N"; _dia2 = BA.NumberToString(__c.DateTime.GetYear(__c.DateTime.getNow()))+_mescom2+_diacom2; - //BA.debugLineNum = 1168;BA.debugLine="Log(dia & \" , \" & dia2)"; -__c.LogImpl("440239135",_dia+" , "+_dia2,0); - //BA.debugLineNum = 1169;BA.debugLine="Log(\"SI PASO\")"; -__c.LogImpl("440239136","SI PASO",0); - //BA.debugLineNum = 1170;BA.debugLine="If dia < dia2 Then"; +RDebugUtils.currentLine=3670047; + //BA.debugLineNum = 3670047;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("03670047",_dia+" , "+_dia2,0); +RDebugUtils.currentLine=3670048; + //BA.debugLineNum = 3670048;BA.debugLine="Log(\"SI PASO\")"; +__c.LogImpl("03670048","SI PASO",0); +RDebugUtils.currentLine=3670049; + //BA.debugLineNum = 3670049;BA.debugLine="If dia < dia2 Then"; if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { - //BA.debugLineNum = 1171;BA.debugLine="pedidodiaanterior = True"; +RDebugUtils.currentLine=3670050; + //BA.debugLineNum = 3670050;BA.debugLine="pedidodiaanterior = True"; _pedidodiaanterior = __c.True; }; }; - //BA.debugLineNum = 1174;BA.debugLine="If Not (pedidodiaanterior) Then"; +RDebugUtils.currentLine=3670053; + //BA.debugLineNum = 3670053;BA.debugLine="If Not (pedidodiaanterior) Then"; if (__c.Not(_pedidodiaanterior)) { - //BA.debugLineNum = 1177;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e_ru"; -_i = (int)(Double.parseDouble(__c.Regex.Replace("[^0-9.]",_e_ruta.getText(),""))); - //BA.debugLineNum = 1178;BA.debugLine="e_ruta.text = i"; -_e_ruta.setText(BA.ObjectToCharSequence(_i)); - //BA.debugLineNum = 1180;BA.debugLine="Private sup As Cursor = Starter.skmt.ExecQuery(\""; +RDebugUtils.currentLine=3670056; + //BA.debugLineNum = 3670056;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e_ru"; +_i = (int)(Double.parseDouble(__c.Regex.Replace("[^0-9.]",__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),""))); +RDebugUtils.currentLine=3670057; + //BA.debugLineNum = 3670057;BA.debugLine="e_ruta.text = i"; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_i)); +RDebugUtils.currentLine=3670059; + //BA.debugLineNum = 3670059;BA.debugLine="Private sup As Cursor = Starter.skmt.ExecQuery(\""; _sup = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _sup = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RS_RUTA FROM RUTA_SUPLENCIA"))); - //BA.debugLineNum = 1181;BA.debugLine="If E_RUTA2.Visible = False And E_RUTA2.text = \"\""; -if (_e_ruta2.getVisible()==__c.False && (_e_ruta2.getText()).equals("") && _sup.getRowCount()>0) { - //BA.debugLineNum = 1182;BA.debugLine="sup.Position = 0"; +RDebugUtils.currentLine=3670060; + //BA.debugLineNum = 3670060;BA.debugLine="If E_RUTA2.Visible = False And E_RUTA2.text = \"\""; +if (__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getVisible()==__c.False && (__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") && _sup.getRowCount()>0) { +RDebugUtils.currentLine=3670061; + //BA.debugLineNum = 3670061;BA.debugLine="sup.Position = 0"; _sup.setPosition((int) (0)); - //BA.debugLineNum = 1183;BA.debugLine="E_RUTA2.text = sup.GetString(\"RS_RUTA\")"; -_e_ruta2.setText(BA.ObjectToCharSequence(_sup.GetString("RS_RUTA"))); - //BA.debugLineNum = 1184;BA.debugLine="E_RUTA2.Visible = True"; -_e_ruta2.setVisible(__c.True); +RDebugUtils.currentLine=3670062; + //BA.debugLineNum = 3670062;BA.debugLine="E_RUTA2.text = sup.GetString(\"RS_RUTA\")"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_sup.GetString("RS_RUTA"))); +RDebugUtils.currentLine=3670063; + //BA.debugLineNum = 3670063;BA.debugLine="E_RUTA2.Visible = True"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.True); }; - //BA.debugLineNum = 1187;BA.debugLine="If E_RUTA2.Visible = True Then"; -if (_e_ruta2.getVisible()==__c.True) { - //BA.debugLineNum = 1188;BA.debugLine="Private i2 As Int = Regex.Replace(\"[^0-9.]\", E_"; -_i2 = (int)(Double.parseDouble(__c.Regex.Replace("[^0-9.]",_e_ruta2.getText(),""))); - //BA.debugLineNum = 1189;BA.debugLine="E_RUTA2.text = i2"; -_e_ruta2.setText(BA.ObjectToCharSequence(_i2)); - //BA.debugLineNum = 1190;BA.debugLine="Rut_Rep = e_ruta.Text & \" \" & E_RUTA2.Text"; -_rut_rep = _e_ruta.getText()+" "+_e_ruta2.getText(); +RDebugUtils.currentLine=3670066; + //BA.debugLineNum = 3670066;BA.debugLine="If E_RUTA2.Visible = True Then"; +if (__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=3670067; + //BA.debugLineNum = 3670067;BA.debugLine="Private i2 As Int = Regex.Replace(\"[^0-9.]\", E_"; +_i2 = (int)(Double.parseDouble(__c.Regex.Replace("[^0-9.]",__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),""))); +RDebugUtils.currentLine=3670068; + //BA.debugLineNum = 3670068;BA.debugLine="E_RUTA2.text = i2"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_i2)); +RDebugUtils.currentLine=3670069; + //BA.debugLineNum = 3670069;BA.debugLine="Rut_Rep = e_ruta.Text & \" \" & E_RUTA2.Text"; +__ref._rut_rep /*String*/ = __ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+" "+__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); }else { - //BA.debugLineNum = 1192;BA.debugLine="Rut_Rep = e_ruta.Text"; -_rut_rep = _e_ruta.getText(); +RDebugUtils.currentLine=3670071; + //BA.debugLineNum = 3670071;BA.debugLine="Rut_Rep = e_ruta.Text"; +__ref._rut_rep /*String*/ = __ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); }; - //BA.debugLineNum = 1194;BA.debugLine="Log(Rut_Rep)"; -__c.LogImpl("440239161",_rut_rep,0); - //BA.debugLineNum = 1195;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; +RDebugUtils.currentLine=3670073; + //BA.debugLineNum = 3670073;BA.debugLine="Log(Rut_Rep)"; +__c.LogImpl("03670073",__ref._rut_rep /*String*/ ,0); +RDebugUtils.currentLine=3670074; + //BA.debugLineNum = 3670074;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); - //BA.debugLineNum = 1196;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +RDebugUtils.currentLine=3670075; + //BA.debugLineNum = 3670075;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"CARGA_DIA"})); - //BA.debugLineNum = 1197;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +RDebugUtils.currentLine=3670076; + //BA.debugLineNum = 3670076;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"pasword"})); - //BA.debugLineNum = 1198;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +RDebugUtils.currentLine=3670077; + //BA.debugLineNum = 3670077;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"VENTAFUTURA"})); - //BA.debugLineNum = 1199;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +RDebugUtils.currentLine=3670078; + //BA.debugLineNum = 3670078;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"LATITUD"})); - //BA.debugLineNum = 1200;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +RDebugUtils.currentLine=3670079; + //BA.debugLineNum = 3670079;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"GEOCERCA"})); - //BA.debugLineNum = 1201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; +RDebugUtils.currentLine=3670080; + //BA.debugLineNum = 3670080;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"LONGITUD"})); - //BA.debugLineNum = 1202;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; +RDebugUtils.currentLine=3670081; + //BA.debugLineNum = 3670081;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); - //BA.debugLineNum = 1203;BA.debugLine="CARGA = \"CARGAR\""; -_carga = "CARGAR"; - //BA.debugLineNum = 1205;BA.debugLine="L_P_1.Visible = True"; -_l_p_1.setVisible(__c.True); - //BA.debugLineNum = 1206;BA.debugLine="S_CC.Visible = True"; -_s_cc.setVisible(__c.True); - //BA.debugLineNum = 1207;BA.debugLine="Btn_Ubicar.Visible=False"; -_btn_ubicar.setVisible(__c.False); - //BA.debugLineNum = 1209;BA.debugLine="p_principal.Visible = False"; -_p_principal.setVisible(__c.False); - //BA.debugLineNum = 1210;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p1,(int) (0),(int) (0)); - //BA.debugLineNum = 1211;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p1,_root.getWidth()); - //BA.debugLineNum = 1212;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; -_subs._centrapanelv /*String*/ (ba,_p1,_root.getHeight()); - //BA.debugLineNum = 1213;BA.debugLine="Label4.Visible = False"; -_label4.setVisible(__c.False); - //BA.debugLineNum = 1214;BA.debugLine="l_ruta.Visible = False"; -_l_ruta.setVisible(__c.False); - //BA.debugLineNum = 1215;BA.debugLine="Label22.Visible = False"; -_label22.setVisible(__c.False); - //BA.debugLineNum = 1216;BA.debugLine="l_rutasuplencia.Visible = False"; -_l_rutasuplencia.setVisible(__c.False); - //BA.debugLineNum = 1217;BA.debugLine="l_visitartotal.Visible = False"; -_l_visitartotal.setVisible(__c.False); - //BA.debugLineNum = 1218;BA.debugLine="de.Visible = False"; -_de.setVisible(__c.False); - //BA.debugLineNum = 1219;BA.debugLine="l_faltan.Visible = False"; -_l_faltan.setVisible(__c.False); - //BA.debugLineNum = 1220;BA.debugLine="l_visitas.Visible = False"; -_l_visitas.setVisible(__c.False); - //BA.debugLineNum = 1222;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 1223;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 1224;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 1225;BA.debugLine="L_P_3.Visible = True"; -_l_p_3.setVisible(__c.True); - //BA.debugLineNum = 1226;BA.debugLine="S_CH.Visible = True"; -_s_ch.setVisible(__c.True); - //BA.debugLineNum = 1227;BA.debugLine="PB1.Visible = True"; -_pb1.setVisible(__c.True); - //BA.debugLineNum = 1228;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - //BA.debugLineNum = 1230;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\""; -_l_p_1.setText(BA.ObjectToCharSequence("Catalogo de Clientes")); - //BA.debugLineNum = 1231;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\""; -_l_p_2.setText(BA.ObjectToCharSequence("Catalogos de Productos")); - //BA.debugLineNum = 1232;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\""; -_l_p_3.setText(BA.ObjectToCharSequence("Catalogos Historicos")); - //BA.debugLineNum = 1233;BA.debugLine="S_CC.Text = \"EN PROCESO\""; -_s_cc.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 1234;BA.debugLine="S_CH.Text = \"EN PROCESO\""; -_s_ch.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 1235;BA.debugLine="S_CP.Text = \"EN PROCESO\""; -_s_cp.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 1236;BA.debugLine="PB1.Progress = 0"; -_pb1.setProgress((int) (0)); - //BA.debugLineNum = 1237;BA.debugLine="PB2.Progress = 0"; -_pb2.setProgress((int) (0)); - //BA.debugLineNum = 1238;BA.debugLine="EJECUTANDO = 1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 1241;BA.debugLine="TOPE = 0"; -_tope = (int) (0); - //BA.debugLineNum = 1244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670082; + //BA.debugLineNum = 3670082;BA.debugLine="CARGA = \"CARGAR\""; +__ref._carga /*String*/ = "CARGAR"; +RDebugUtils.currentLine=3670084; + //BA.debugLineNum = 3670084;BA.debugLine="L_P_1.Visible = True"; +__ref._l_p_1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3670085; + //BA.debugLineNum = 3670085;BA.debugLine="S_CC.Visible = True"; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3670086; + //BA.debugLineNum = 3670086;BA.debugLine="Btn_Ubicar.Visible=False"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670088; + //BA.debugLineNum = 3670088;BA.debugLine="p_principal.Visible = False"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670089; + //BA.debugLineNum = 3670089;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=3670090; + //BA.debugLineNum = 3670090;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=3670091; + //BA.debugLineNum = 3670091;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; +_subs._centrapanelv /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=3670092; + //BA.debugLineNum = 3670092;BA.debugLine="Label4.Visible = False"; +__ref._label4 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670093; + //BA.debugLineNum = 3670093;BA.debugLine="l_ruta.Visible = False"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670094; + //BA.debugLineNum = 3670094;BA.debugLine="Label22.Visible = False"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670095; + //BA.debugLineNum = 3670095;BA.debugLine="l_rutasuplencia.Visible = False"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670096; + //BA.debugLineNum = 3670096;BA.debugLine="l_visitartotal.Visible = False"; +__ref._l_visitartotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670097; + //BA.debugLineNum = 3670097;BA.debugLine="de.Visible = False"; +__ref._de /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670098; + //BA.debugLineNum = 3670098;BA.debugLine="l_faltan.Visible = False"; +__ref._l_faltan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670099; + //BA.debugLineNum = 3670099;BA.debugLine="l_visitas.Visible = False"; +__ref._l_visitas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670101; + //BA.debugLineNum = 3670101;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670102; + //BA.debugLineNum = 3670102;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670103; + //BA.debugLineNum = 3670103;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670104; + //BA.debugLineNum = 3670104;BA.debugLine="L_P_3.Visible = True"; +__ref._l_p_3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3670105; + //BA.debugLineNum = 3670105;BA.debugLine="S_CH.Visible = True"; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3670106; + //BA.debugLineNum = 3670106;BA.debugLine="PB1.Visible = True"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3670107; + //BA.debugLineNum = 3670107;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670109; + //BA.debugLineNum = 3670109;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\""; +__ref._l_p_1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Catalogo de Clientes")); +RDebugUtils.currentLine=3670110; + //BA.debugLineNum = 3670110;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\""; +__ref._l_p_2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Catalogos de Productos")); +RDebugUtils.currentLine=3670111; + //BA.debugLineNum = 3670111;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\""; +__ref._l_p_3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Catalogos Historicos")); +RDebugUtils.currentLine=3670112; + //BA.debugLineNum = 3670112;BA.debugLine="S_CC.Text = \"EN PROCESO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=3670113; + //BA.debugLineNum = 3670113;BA.debugLine="S_CH.Text = \"EN PROCESO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=3670114; + //BA.debugLineNum = 3670114;BA.debugLine="S_CP.Text = \"EN PROCESO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=3670115; + //BA.debugLineNum = 3670115;BA.debugLine="PB1.Progress = 0"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=3670116; + //BA.debugLineNum = 3670116;BA.debugLine="PB2.Progress = 0"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=3670117; + //BA.debugLineNum = 3670117;BA.debugLine="EJECUTANDO = 1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3670120; + //BA.debugLineNum = 3670120;BA.debugLine="TOPE = 0"; +__ref._tope /*int*/ = (int) (0); +RDebugUtils.currentLine=3670123; + //BA.debugLineNum = 3670123;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info3"); - //BA.debugLineNum = 1245;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670124; + //BA.debugLineNum = 3670124;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMO_ESP"); - //BA.debugLineNum = 1246;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670125; + //BA.debugLineNum = 3670125;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 1247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670126; + //BA.debugLineNum = 3670126;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ABONOSP"); - //BA.debugLineNum = 1248;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670127; + //BA.debugLineNum = 3670127;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 1249;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670128; + //BA.debugLineNum = 3670128;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1250;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670129; + //BA.debugLineNum = 3670129;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); - //BA.debugLineNum = 1251;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670130; + //BA.debugLineNum = 3670130;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1252;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670131; + //BA.debugLineNum = 3670131;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 1253;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670132; + //BA.debugLineNum = 3670132;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1254;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670133; + //BA.debugLineNum = 3670133;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PROMOS"); - //BA.debugLineNum = 1255;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670134; + //BA.debugLineNum = 3670134;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS"); - //BA.debugLineNum = 1256;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670135; + //BA.debugLineNum = 3670135;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMOS_COMP"); - //BA.debugLineNum = 1257;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670136; + //BA.debugLineNum = 3670136;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VERIFICACION"); - //BA.debugLineNum = 1258;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3670137; + //BA.debugLineNum = 3670137;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_PROMOS_DESCUENTOS"); - //BA.debugLineNum = 1259;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=3670138; + //BA.debugLineNum = 3670138;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM MARCAS_RUTAS"); - //BA.debugLineNum = 1260;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=3670139; + //BA.debugLineNum = 3670139;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_STORE"); - //BA.debugLineNum = 1261;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=3670140; + //BA.debugLineNum = 3670140;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GEOCERCA"); - //BA.debugLineNum = 1262;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=3670141; + //BA.debugLineNum = 3670141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_MARCAS_CUOTAS"); - //BA.debugLineNum = 1263;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=3670142; + //BA.debugLineNum = 3670142;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA_CLIENTE"); - //BA.debugLineNum = 1264;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=3670143; + //BA.debugLineNum = 3670143;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CAT_ENCUESTA_PREGUNTA"); - //BA.debugLineNum = 1266;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ",new String[]{"HoraIngreso"}))); - //BA.debugLineNum = 1267;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1268;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +RDebugUtils.currentLine=3670144; + //BA.debugLineNum = 3670144;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CAT_CATCLIENTESTODOS"); +RDebugUtils.currentLine=3670145; + //BA.debugLineNum = 3670145;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM hist_ventastodos"); +RDebugUtils.currentLine=3670147; + //BA.debugLineNum = 3670147;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ",new String[]{"HoraIngreso"}))); +RDebugUtils.currentLine=3670148; + //BA.debugLineNum = 3670148;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3670149; + //BA.debugLineNum = 3670149;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; __c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 1270;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("HoraIngreso")))>0) { - //BA.debugLineNum = 1271;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca"; +RDebugUtils.currentLine=3670151; + //BA.debugLineNum = 3670151;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HoraIngreso")))>0) { +RDebugUtils.currentLine=3670152; + //BA.debugLineNum = 3670152;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.DateTime.Time(__c.DateTime.getNow()),"HoraIngreso"})); }else { - //BA.debugLineNum = 1273;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +RDebugUtils.currentLine=3670154; + //BA.debugLineNum = 3670154;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_VALOR,CAT_VA_DESCRIPCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.DateTime.Time(__c.DateTime.getNow()),"HoraIngreso"})); }; - //BA.debugLineNum = 1275;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1276;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=3670156; + //BA.debugLineNum = 3670156;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3670157; + //BA.debugLineNum = 3670157;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 1277;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 1278;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1279;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1280;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1282;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=3670158; + //BA.debugLineNum = 3670158;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=3670159; + //BA.debugLineNum = 3670159;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3670160; + //BA.debugLineNum = 3670160;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=3670161; + //BA.debugLineNum = 3670161;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3670163; + //BA.debugLineNum = 3670163;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 1283;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=3670164; + //BA.debugLineNum = 3670164;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1284;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1285;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1286;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1287;BA.debugLine="cmd.Name = \"select_planLealtad_GUNA\""; -_cmd.Name /*String*/ = "select_planLealtad_GUNA"; - //BA.debugLineNum = 1288;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1289;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("planLealtad")); - //BA.debugLineNum = 1291;BA.debugLine="Subs.guardaVariable(\"RUTA\", e_ruta.text)"; -_subs._guardavariable /*String*/ (ba,"RUTA",_e_ruta.getText()); - //BA.debugLineNum = 1293;BA.debugLine="Dim P As PhoneId"; +RDebugUtils.currentLine=3670165; + //BA.debugLineNum = 3670165;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=3670166; + //BA.debugLineNum = 3670166;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=3670167; + //BA.debugLineNum = 3670167;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670168; + //BA.debugLineNum = 3670168;BA.debugLine="cmd.Name = \"select_planLealtad_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_planLealtad_GUNA"; +RDebugUtils.currentLine=3670169; + //BA.debugLineNum = 3670169;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670170; + //BA.debugLineNum = 3670170;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("planLealtad")); +RDebugUtils.currentLine=3670172; + //BA.debugLineNum = 3670172;BA.debugLine="Subs.guardaVariable(\"RUTA\", e_ruta.text)"; +_subs._guardavariable /*String*/ (ba,"RUTA",__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()); +RDebugUtils.currentLine=3670174; + //BA.debugLineNum = 3670174;BA.debugLine="Dim P As PhoneId"; _p = new anywheresoftware.b4a.phone.Phone.PhoneId(); - //BA.debugLineNum = 1294;BA.debugLine="imei = \"\""; -_imei = ""; - //BA.debugLineNum = 1295;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1296;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\""; -_cmd.Name /*String*/ = "insert_drop_GV2_3"; - //BA.debugLineNum = 1297;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta."; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_e_ruta.getText()),(Object)(_sdate),(Object)(_imei),(Object)(_stime),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("CARGA"),(Object)(_almacen),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 1298;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1300;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1301;BA.debugLine="cmd.Name = \"select_TipoVenta\""; -_cmd.Name /*String*/ = "select_TipoVenta"; - //BA.debugLineNum = 1302;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1303;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("tipoVenta")); - //BA.debugLineNum = 1305;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1306;BA.debugLine="cmd.Name = \"select_cat_GIRO_GUNA\""; -_cmd.Name /*String*/ = "select_cat_GIRO_GUNA"; - //BA.debugLineNum = 1307;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("giro")); - //BA.debugLineNum = 1309;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1310;BA.debugLine="cmd.Name = \"select_coments_GUNA\""; -_cmd.Name /*String*/ = "select_coments_GUNA"; - //BA.debugLineNum = 1311;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1312;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("coments")); - //BA.debugLineNum = 1319;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1320;BA.debugLine="cmd.Name = \"traeFechaFotosGuna\""; -_cmd.Name /*String*/ = "traeFechaFotosGuna"; - //BA.debugLineNum = 1321;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1322;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("traeFechaFotosGuna")); - //BA.debugLineNum = 1324;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1325;BA.debugLine="cmd.Name = \"traecodigosGUNA\""; -_cmd.Name /*String*/ = "traecodigosGUNA"; - //BA.debugLineNum = 1326;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1327;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("traecodigos")); - //BA.debugLineNum = 1329;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1330;BA.debugLine="cmd.Name = \"select_objetivosbat_GUNA_VN\""; -_cmd.Name /*String*/ = "select_objetivosbat_GUNA_VN"; - //BA.debugLineNum = 1331;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1332;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("objetivos")); - //BA.debugLineNum = 1335;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1336;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\""; -_cmd.Name /*String*/ = "select_cat_gunaprod_GV2"; - //BA.debugLineNum = 1337;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1338;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 1340;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1341;BA.debugLine="cmd.Name = \"Select_promo_descuento_guna\""; -_cmd.Name /*String*/ = "Select_promo_descuento_guna"; - //BA.debugLineNum = 1342;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1343;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promodesp")); - //BA.debugLineNum = 1345;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1346;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\""; -_cmd.Name /*String*/ = "select_cat_gunaprod2_GV2"; - //BA.debugLineNum = 1347;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1348;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod2")); - //BA.debugLineNum = 1350;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1351;BA.debugLine="cmd.Name = \"select_abonosp_GUNA_pre\""; -_cmd.Name /*String*/ = "select_abonosp_GUNA_pre"; - //BA.debugLineNum = 1352;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1353;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("select_abonosp")); - //BA.debugLineNum = 1355;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1356;BA.debugLine="cmd.Name = \"select_HIST_ESPECIAL_GUNA\""; -_cmd.Name /*String*/ = "select_HIST_ESPECIAL_GUNA"; - //BA.debugLineNum = 1358;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("histespecial")); - //BA.debugLineNum = 1365;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1366;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV6\""; -_cmd.Name /*String*/ = "select_cat_paquetes_GV6"; - //BA.debugLineNum = 1367;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1368;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp")); - //BA.debugLineNum = 1370;BA.debugLine="If ALMACEN = 32 Then 'Or ALMACEN = 6"; -if ((_almacen).equals(BA.NumberToString(32))) { - //BA.debugLineNum = 1372;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1373;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA\""; -_cmd.Name /*String*/ = "select_cat_promoesp_GUNA"; - //BA.debugLineNum = 1374;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1375;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp")); +RDebugUtils.currentLine=3670175; + //BA.debugLineNum = 3670175;BA.debugLine="imei = \"\""; +__ref._imei /*String*/ = ""; +RDebugUtils.currentLine=3670176; + //BA.debugLineNum = 3670176;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670177; + //BA.debugLineNum = 3670177;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_GV2_3"; +RDebugUtils.currentLine=3670178; + //BA.debugLineNum = 3670178;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta."; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._usuario /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ ),(Object)(__ref._imei /*String*/ ),(Object)(__ref._stime /*String*/ ),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("CARGA"),(Object)(__ref._almacen /*String*/ ),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=3670179; + //BA.debugLineNum = 3670179;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); +RDebugUtils.currentLine=3670181; + //BA.debugLineNum = 3670181;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670182; + //BA.debugLineNum = 3670182;BA.debugLine="cmd.Name = \"select_TipoVenta\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_TipoVenta"; +RDebugUtils.currentLine=3670183; + //BA.debugLineNum = 3670183;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670184; + //BA.debugLineNum = 3670184;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("tipoVenta")); +RDebugUtils.currentLine=3670186; + //BA.debugLineNum = 3670186;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670187; + //BA.debugLineNum = 3670187;BA.debugLine="cmd.Name = \"select_cat_GIRO_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_GIRO_GUNA"; +RDebugUtils.currentLine=3670188; + //BA.debugLineNum = 3670188;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("giro")); +RDebugUtils.currentLine=3670190; + //BA.debugLineNum = 3670190;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670191; + //BA.debugLineNum = 3670191;BA.debugLine="cmd.Name = \"select_coments_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_coments_GUNA"; +RDebugUtils.currentLine=3670192; + //BA.debugLineNum = 3670192;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670193; + //BA.debugLineNum = 3670193;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("coments")); +RDebugUtils.currentLine=3670200; + //BA.debugLineNum = 3670200;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670201; + //BA.debugLineNum = 3670201;BA.debugLine="cmd.Name = \"traeFechaFotosGuna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "traeFechaFotosGuna"; +RDebugUtils.currentLine=3670202; + //BA.debugLineNum = 3670202;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670203; + //BA.debugLineNum = 3670203;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("traeFechaFotosGuna")); +RDebugUtils.currentLine=3670205; + //BA.debugLineNum = 3670205;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670206; + //BA.debugLineNum = 3670206;BA.debugLine="cmd.Name = \"traecodigosGUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "traecodigosGUNA"; +RDebugUtils.currentLine=3670207; + //BA.debugLineNum = 3670207;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670208; + //BA.debugLineNum = 3670208;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("traecodigos")); +RDebugUtils.currentLine=3670210; + //BA.debugLineNum = 3670210;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670211; + //BA.debugLineNum = 3670211;BA.debugLine="cmd.Name = \"select_objetivosbat_GUNA_VN\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_objetivosbat_GUNA_VN"; +RDebugUtils.currentLine=3670212; + //BA.debugLineNum = 3670212;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670213; + //BA.debugLineNum = 3670213;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("objetivos")); +RDebugUtils.currentLine=3670216; + //BA.debugLineNum = 3670216;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670217; + //BA.debugLineNum = 3670217;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_gunaprod_GV2"; +RDebugUtils.currentLine=3670218; + //BA.debugLineNum = 3670218;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670219; + //BA.debugLineNum = 3670219;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=3670221; + //BA.debugLineNum = 3670221;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670222; + //BA.debugLineNum = 3670222;BA.debugLine="cmd.Name = \"Select_promo_descuento_guna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "Select_promo_descuento_guna"; +RDebugUtils.currentLine=3670223; + //BA.debugLineNum = 3670223;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670224; + //BA.debugLineNum = 3670224;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("promodesp")); +RDebugUtils.currentLine=3670226; + //BA.debugLineNum = 3670226;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670227; + //BA.debugLineNum = 3670227;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_gunaprod2_GV2"; +RDebugUtils.currentLine=3670228; + //BA.debugLineNum = 3670228;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670229; + //BA.debugLineNum = 3670229;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod2")); +RDebugUtils.currentLine=3670231; + //BA.debugLineNum = 3670231;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670232; + //BA.debugLineNum = 3670232;BA.debugLine="cmd.Name = \"select_abonosp_GUNA_pre\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_abonosp_GUNA_pre"; +RDebugUtils.currentLine=3670233; + //BA.debugLineNum = 3670233;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670234; + //BA.debugLineNum = 3670234;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("select_abonosp")); +RDebugUtils.currentLine=3670236; + //BA.debugLineNum = 3670236;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670237; + //BA.debugLineNum = 3670237;BA.debugLine="cmd.Name = \"select_HIST_ESPECIAL_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_HIST_ESPECIAL_GUNA"; +RDebugUtils.currentLine=3670239; + //BA.debugLineNum = 3670239;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("histespecial")); +RDebugUtils.currentLine=3670246; + //BA.debugLineNum = 3670246;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670247; + //BA.debugLineNum = 3670247;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV6\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_paquetes_GV6"; +RDebugUtils.currentLine=3670248; + //BA.debugLineNum = 3670248;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670249; + //BA.debugLineNum = 3670249;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprodp")); +RDebugUtils.currentLine=3670251; + //BA.debugLineNum = 3670251;BA.debugLine="If ALMACEN = 32 Then 'Or ALMACEN = 6"; +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(32))) { +RDebugUtils.currentLine=3670253; + //BA.debugLineNum = 3670253;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670254; + //BA.debugLineNum = 3670254;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_promoesp_GUNA"; +RDebugUtils.currentLine=3670255; + //BA.debugLineNum = 3670255;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670256; + //BA.debugLineNum = 3670256;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("promoesp")); }; - //BA.debugLineNum = 1379;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; -if ((_almacen).equals(BA.NumberToString(87)) || (_almacen).equals(BA.NumberToString(6))) { - //BA.debugLineNum = 1381;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1382;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA2\""; -_cmd.Name /*String*/ = "select_cat_promoesp_GUNA2"; - //BA.debugLineNum = 1383;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1384;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp")); +RDebugUtils.currentLine=3670260; + //BA.debugLineNum = 3670260;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then"; +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(87)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(6))) { +RDebugUtils.currentLine=3670262; + //BA.debugLineNum = 3670262;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670263; + //BA.debugLineNum = 3670263;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_promoesp_GUNA2"; +RDebugUtils.currentLine=3670264; + //BA.debugLineNum = 3670264;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670265; + //BA.debugLineNum = 3670265;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("promoesp")); }; - //BA.debugLineNum = 1388;BA.debugLine="If ALMACEN = 88 Or ALMACEN = 6 Then"; -if ((_almacen).equals(BA.NumberToString(88)) || (_almacen).equals(BA.NumberToString(6))) { - //BA.debugLineNum = 1390;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1391;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA3\""; -_cmd.Name /*String*/ = "select_cat_promoesp_GUNA3"; - //BA.debugLineNum = 1392;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1393;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp")); +RDebugUtils.currentLine=3670269; + //BA.debugLineNum = 3670269;BA.debugLine="If ALMACEN = 88 Or ALMACEN = 6 Then"; +if ((__ref._almacen /*String*/ ).equals(BA.NumberToString(88)) || (__ref._almacen /*String*/ ).equals(BA.NumberToString(6))) { +RDebugUtils.currentLine=3670271; + //BA.debugLineNum = 3670271;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670272; + //BA.debugLineNum = 3670272;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA3\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_promoesp_GUNA3"; +RDebugUtils.currentLine=3670273; + //BA.debugLineNum = 3670273;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670274; + //BA.debugLineNum = 3670274;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("promoesp")); }; - //BA.debugLineNum = 1397;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1398;BA.debugLine="cmd.Name = \"select_cat_paquetess_GV2\""; -_cmd.Name /*String*/ = "select_cat_paquetess_GV2"; - //BA.debugLineNum = 1399;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1400;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp")); - //BA.debugLineNum = 1402;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1403;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\""; -_cmd.Name /*String*/ = "select_cat_detallepa_GV2"; - //BA.debugLineNum = 1404;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1405;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("detallepaq")); - //BA.debugLineNum = 1407;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1408;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '####"; -_cmd.Name /*String*/ = "select_cat_clientes2_guna_GV2"; - //BA.debugLineNum = 1409;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1410;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1412;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1413;BA.debugLine="cmd.Name = \"select_preventa_futura\""; -_cmd.Name /*String*/ = "select_preventa_futura"; - //BA.debugLineNum = 1414;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1415;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("KMT_VENTAFUTURA")); - //BA.debugLineNum = 1417;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1418;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\""; -_cmd.Name /*String*/ = "select_hist_datos_GV2_3"; - //BA.debugLineNum = 1419;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1420;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1422;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1423;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\""; -_cmd.Name /*String*/ = "select_hist_promos_GV2"; - //BA.debugLineNum = 1424;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1425;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_promos")); - //BA.debugLineNum = 1427;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1428;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\""; -_cmd.Name /*String*/ = "select_hist_cliente_promos_GV2"; - //BA.debugLineNum = 1429;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1430;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_cliente_promos")); - //BA.debugLineNum = 1432;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1433;BA.debugLine="cmd.Name = \"select_HIST_MARCAS_CUOTAS\""; -_cmd.Name /*String*/ = "select_HIST_MARCAS_CUOTAS"; - //BA.debugLineNum = 1434;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1435;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("HIST_MARCAS_CUOTAS")); - //BA.debugLineNum = 1437;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1438;BA.debugLine="cmd.Name = \"select_cat_encuesta_p_GUNA\""; -_cmd.Name /*String*/ = "select_cat_encuesta_p_GUNA"; - //BA.debugLineNum = 1439;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1440;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("carga_encuesta")); - //BA.debugLineNum = 1447;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1448;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\""; -_cmd.Name /*String*/ = "SELECT_HIST_PRODPROM_GUNA"; - //BA.debugLineNum = 1449;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1450;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("HIST_PROM")); - //BA.debugLineNum = 1454;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1455;BA.debugLine="cmd.Name = \"selectPromo2265JulAgo_Guna\""; -_cmd.Name /*String*/ = "selectPromo2265JulAgo_Guna"; - //BA.debugLineNum = 1456;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1457;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_pro2265")); - //BA.debugLineNum = 1464;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1465;BA.debugLine="cmd.Name = \"selectPromo3054Jul-Sep_Guna\""; -_cmd.Name /*String*/ = "selectPromo3054Jul-Sep_Guna"; - //BA.debugLineNum = 1466;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1467;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_pro3054")); - //BA.debugLineNum = 1471;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1472;BA.debugLine="cmd.Name = \"selectPromo3055Jul-Sep_Guna\""; -_cmd.Name /*String*/ = "selectPromo3055Jul-Sep_Guna"; - //BA.debugLineNum = 1473;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1474;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_pro3055")); - //BA.debugLineNum = 1477;BA.debugLine="If E_RUTA2.text <> \"\" Then"; -if ((_e_ruta2.getText()).equals("") == false) { - //BA.debugLineNum = 1478;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_e_ruta2.getText()})); - //BA.debugLineNum = 1479;BA.debugLine="E_RUTA2.Visible = False"; -_e_ruta2.setVisible(__c.False); - //BA.debugLineNum = 1480;BA.debugLine="p_ruta2.Visible = False"; -_p_ruta2.setVisible(__c.False); - //BA.debugLineNum = 1481;BA.debugLine="p_somvra_2.Visible = False"; -_p_somvra_2.setVisible(__c.False); - //BA.debugLineNum = 1483;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1484;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '###"; -_cmd.Name /*String*/ = "select_cat_clientes2_guna_GV2"; - //BA.debugLineNum = 1485;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1486;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos2")); - //BA.debugLineNum = 1488;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1489;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\""; -_cmd.Name /*String*/ = "select_hist_datos_GV2_3"; - //BA.debugLineNum = 1490;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen),(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1491;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1493;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1494;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\""; -_cmd.Name /*String*/ = "select_hist_promos_GV2"; - //BA.debugLineNum = 1495;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1496;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_promos")); - //BA.debugLineNum = 1498;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1499;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\""; -_cmd.Name /*String*/ = "select_hist_cliente_promos_GV2"; - //BA.debugLineNum = 1500;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1501;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_cliente_promos")); - //BA.debugLineNum = 1503;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1504;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\""; -_cmd.Name /*String*/ = "SELECT_HIST_PRODPROM_GUNA"; - //BA.debugLineNum = 1505;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,E_RUTA"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta2.getText())}; - //BA.debugLineNum = 1506;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("HIST_PROM")); +RDebugUtils.currentLine=3670278; + //BA.debugLineNum = 3670278;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670279; + //BA.debugLineNum = 3670279;BA.debugLine="cmd.Name = \"select_cat_paquetess_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_paquetess_GV2"; +RDebugUtils.currentLine=3670280; + //BA.debugLineNum = 3670280;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670281; + //BA.debugLineNum = 3670281;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprodp")); +RDebugUtils.currentLine=3670283; + //BA.debugLineNum = 3670283;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670284; + //BA.debugLineNum = 3670284;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_detallepa_GV2"; +RDebugUtils.currentLine=3670285; + //BA.debugLineNum = 3670285;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670286; + //BA.debugLineNum = 3670286;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("detallepaq")); +RDebugUtils.currentLine=3670288; + //BA.debugLineNum = 3670288;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670289; + //BA.debugLineNum = 3670289;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '####"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_clientes2_guna_GV2"; +RDebugUtils.currentLine=3670290; + //BA.debugLineNum = 3670290;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670291; + //BA.debugLineNum = 3670291;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=3670293; + //BA.debugLineNum = 3670293;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670294; + //BA.debugLineNum = 3670294;BA.debugLine="cmd.Name = \"select_preventa_futura\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_preventa_futura"; +RDebugUtils.currentLine=3670295; + //BA.debugLineNum = 3670295;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670296; + //BA.debugLineNum = 3670296;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("KMT_VENTAFUTURA")); +RDebugUtils.currentLine=3670298; + //BA.debugLineNum = 3670298;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670299; + //BA.debugLineNum = 3670299;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_datos_GV2_3"; +RDebugUtils.currentLine=3670300; + //BA.debugLineNum = 3670300;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670301; + //BA.debugLineNum = 3670301;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=3670303; + //BA.debugLineNum = 3670303;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670304; + //BA.debugLineNum = 3670304;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_promos_GV2"; +RDebugUtils.currentLine=3670305; + //BA.debugLineNum = 3670305;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670306; + //BA.debugLineNum = 3670306;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_promos")); +RDebugUtils.currentLine=3670308; + //BA.debugLineNum = 3670308;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670309; + //BA.debugLineNum = 3670309;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_cliente_promos_GV2"; +RDebugUtils.currentLine=3670310; + //BA.debugLineNum = 3670310;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670311; + //BA.debugLineNum = 3670311;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_cliente_promos")); +RDebugUtils.currentLine=3670313; + //BA.debugLineNum = 3670313;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670314; + //BA.debugLineNum = 3670314;BA.debugLine="cmd.Name = \"select_HIST_MARCAS_CUOTAS\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_HIST_MARCAS_CUOTAS"; +RDebugUtils.currentLine=3670315; + //BA.debugLineNum = 3670315;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670316; + //BA.debugLineNum = 3670316;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("HIST_MARCAS_CUOTAS")); +RDebugUtils.currentLine=3670318; + //BA.debugLineNum = 3670318;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670319; + //BA.debugLineNum = 3670319;BA.debugLine="cmd.Name = \"select_cat_encuesta_p_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_encuesta_p_GUNA"; +RDebugUtils.currentLine=3670320; + //BA.debugLineNum = 3670320;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670321; + //BA.debugLineNum = 3670321;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("carga_encuesta")); +RDebugUtils.currentLine=3670323; + //BA.debugLineNum = 3670323;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670324; + //BA.debugLineNum = 3670324;BA.debugLine="cmd.Name = \"select_cat_clientes_guna_todos\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_clientes_guna_todos"; +RDebugUtils.currentLine=3670325; + //BA.debugLineNum = 3670325;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670326; + //BA.debugLineNum = 3670326;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_CAT_CATCLIENTESTODOS")); +RDebugUtils.currentLine=3670328; + //BA.debugLineNum = 3670328;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670329; + //BA.debugLineNum = 3670329;BA.debugLine="cmd.Name = \"select_hist_ventastodos_guna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_ventastodos_guna"; +RDebugUtils.currentLine=3670330; + //BA.debugLineNum = 3670330;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670331; + //BA.debugLineNum = 3670331;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_ventastodos")); +RDebugUtils.currentLine=3670338; + //BA.debugLineNum = 3670338;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670339; + //BA.debugLineNum = 3670339;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "SELECT_HIST_PRODPROM_GUNA"; +RDebugUtils.currentLine=3670340; + //BA.debugLineNum = 3670340;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670341; + //BA.debugLineNum = 3670341;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("HIST_PROM")); +RDebugUtils.currentLine=3670345; + //BA.debugLineNum = 3670345;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670346; + //BA.debugLineNum = 3670346;BA.debugLine="cmd.Name = \"selectPromo2265JulAgo_Guna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "selectPromo2265JulAgo_Guna"; +RDebugUtils.currentLine=3670347; + //BA.debugLineNum = 3670347;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670348; + //BA.debugLineNum = 3670348;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_pro2265")); +RDebugUtils.currentLine=3670355; + //BA.debugLineNum = 3670355;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670356; + //BA.debugLineNum = 3670356;BA.debugLine="cmd.Name = \"selectPromo3054Jul-Sep_Guna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "selectPromo3054Jul-Sep_Guna"; +RDebugUtils.currentLine=3670357; + //BA.debugLineNum = 3670357;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670358; + //BA.debugLineNum = 3670358;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_pro3054")); +RDebugUtils.currentLine=3670362; + //BA.debugLineNum = 3670362;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670363; + //BA.debugLineNum = 3670363;BA.debugLine="cmd.Name = \"selectPromo3055Jul-Sep_Guna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "selectPromo3055Jul-Sep_Guna"; +RDebugUtils.currentLine=3670364; + //BA.debugLineNum = 3670364;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670365; + //BA.debugLineNum = 3670365;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_pro3055")); +RDebugUtils.currentLine=3670368; + //BA.debugLineNum = 3670368;BA.debugLine="If E_RUTA2.text <> \"\" Then"; +if ((__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=3670369; + //BA.debugLineNum = 3670369;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})); +RDebugUtils.currentLine=3670370; + //BA.debugLineNum = 3670370;BA.debugLine="E_RUTA2.Visible = False"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670371; + //BA.debugLineNum = 3670371;BA.debugLine="p_ruta2.Visible = False"; +__ref._p_ruta2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670372; + //BA.debugLineNum = 3670372;BA.debugLine="p_somvra_2.Visible = False"; +__ref._p_somvra_2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670374; + //BA.debugLineNum = 3670374;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670375; + //BA.debugLineNum = 3670375;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '###"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_clientes2_guna_GV2"; +RDebugUtils.currentLine=3670376; + //BA.debugLineNum = 3670376;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670377; + //BA.debugLineNum = 3670377;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos2")); +RDebugUtils.currentLine=3670379; + //BA.debugLineNum = 3670379;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670380; + //BA.debugLineNum = 3670380;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_datos_GV2_3"; +RDebugUtils.currentLine=3670381; + //BA.debugLineNum = 3670381;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670382; + //BA.debugLineNum = 3670382;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=3670384; + //BA.debugLineNum = 3670384;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670385; + //BA.debugLineNum = 3670385;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_promos_GV2"; +RDebugUtils.currentLine=3670386; + //BA.debugLineNum = 3670386;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670387; + //BA.debugLineNum = 3670387;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_promos")); +RDebugUtils.currentLine=3670389; + //BA.debugLineNum = 3670389;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670390; + //BA.debugLineNum = 3670390;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_cliente_promos_GV2"; +RDebugUtils.currentLine=3670391; + //BA.debugLineNum = 3670391;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670392; + //BA.debugLineNum = 3670392;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_cliente_promos")); +RDebugUtils.currentLine=3670394; + //BA.debugLineNum = 3670394;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670395; + //BA.debugLineNum = 3670395;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "SELECT_HIST_PRODPROM_GUNA"; +RDebugUtils.currentLine=3670396; + //BA.debugLineNum = 3670396;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,E_RUTA"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670397; + //BA.debugLineNum = 3670397;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("HIST_PROM")); }; - //BA.debugLineNum = 1509;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1510;BA.debugLine="cmd.Name = \"select_promo_comp_GV2\""; -_cmd.Name /*String*/ = "select_promo_comp_GV2"; - //BA.debugLineNum = 1511;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1512;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_comp_promos")); - //BA.debugLineNum = 1514;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1515;BA.debugLine="cmd.Name = \"select_coordenadas_GUNA\""; -_cmd.Name /*String*/ = "select_coordenadas_GUNA"; - //BA.debugLineNum = 1516;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1517;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("coordenadas")); - //BA.debugLineNum = 1519;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1520;BA.debugLine="cmd.Name = \"select_PASS_GUNA\""; -_cmd.Name /*String*/ = "select_PASS_GUNA"; - //BA.debugLineNum = 1521;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1522;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("password")); - //BA.debugLineNum = 1529;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1530;BA.debugLine="cmd.Name = \"select_fecha\""; -_cmd.Name /*String*/ = "select_fecha"; - //BA.debugLineNum = 1531;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1532;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("fecha")); - //BA.debugLineNum = 1539;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1540;BA.debugLine="cmd.Name = \"select_marcas_rutas\""; -_cmd.Name /*String*/ = "select_marcas_rutas"; - //BA.debugLineNum = 1541;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1542;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("marcas_rutas")); - //BA.debugLineNum = 1544;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1545;BA.debugLine="cmd.Name = \"select_CUEST2_GV2\""; -_cmd.Name /*String*/ = "select_CUEST2_GV2"; - //BA.debugLineNum = 1546;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1547;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("CUESTIONARIO")); - //BA.debugLineNum = 1560;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1561;BA.debugLine="cmd.Name = \"select_comis_cedex\""; -_cmd.Name /*String*/ = "select_comis_cedex"; - //BA.debugLineNum = 1562;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1563;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("COMISIONES")); - //BA.debugLineNum = 1565;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 1566;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 1567;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 1568;BA.debugLine="E_RUTA2.Visible = False"; -_e_ruta2.setVisible(__c.False); - //BA.debugLineNum = 1569;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +RDebugUtils.currentLine=3670400; + //BA.debugLineNum = 3670400;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670401; + //BA.debugLineNum = 3670401;BA.debugLine="cmd.Name = \"select_promo_comp_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_promo_comp_GV2"; +RDebugUtils.currentLine=3670402; + //BA.debugLineNum = 3670402;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670403; + //BA.debugLineNum = 3670403;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_comp_promos")); +RDebugUtils.currentLine=3670405; + //BA.debugLineNum = 3670405;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670406; + //BA.debugLineNum = 3670406;BA.debugLine="cmd.Name = \"select_coordenadas_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_coordenadas_GUNA"; +RDebugUtils.currentLine=3670407; + //BA.debugLineNum = 3670407;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670408; + //BA.debugLineNum = 3670408;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("coordenadas")); +RDebugUtils.currentLine=3670410; + //BA.debugLineNum = 3670410;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670411; + //BA.debugLineNum = 3670411;BA.debugLine="cmd.Name = \"select_PASS_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_PASS_GUNA"; +RDebugUtils.currentLine=3670412; + //BA.debugLineNum = 3670412;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670413; + //BA.debugLineNum = 3670413;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("password")); +RDebugUtils.currentLine=3670420; + //BA.debugLineNum = 3670420;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670421; + //BA.debugLineNum = 3670421;BA.debugLine="cmd.Name = \"select_fecha\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_fecha"; +RDebugUtils.currentLine=3670422; + //BA.debugLineNum = 3670422;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670423; + //BA.debugLineNum = 3670423;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("fecha")); +RDebugUtils.currentLine=3670430; + //BA.debugLineNum = 3670430;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670431; + //BA.debugLineNum = 3670431;BA.debugLine="cmd.Name = \"select_marcas_rutas\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_marcas_rutas"; +RDebugUtils.currentLine=3670432; + //BA.debugLineNum = 3670432;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670433; + //BA.debugLineNum = 3670433;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("marcas_rutas")); +RDebugUtils.currentLine=3670435; + //BA.debugLineNum = 3670435;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670436; + //BA.debugLineNum = 3670436;BA.debugLine="cmd.Name = \"select_CUEST2_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_CUEST2_GV2"; +RDebugUtils.currentLine=3670437; + //BA.debugLineNum = 3670437;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=3670438; + //BA.debugLineNum = 3670438;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("CUESTIONARIO")); +RDebugUtils.currentLine=3670451; + //BA.debugLineNum = 3670451;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3670452; + //BA.debugLineNum = 3670452;BA.debugLine="cmd.Name = \"select_comis_cedex\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_comis_cedex"; +RDebugUtils.currentLine=3670453; + //BA.debugLineNum = 3670453;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=3670454; + //BA.debugLineNum = 3670454;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("COMISIONES")); +RDebugUtils.currentLine=3670456; + //BA.debugLineNum = 3670456;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670457; + //BA.debugLineNum = 3670457;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670458; + //BA.debugLineNum = 3670458;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670459; + //BA.debugLineNum = 3670459;BA.debugLine="E_RUTA2.Visible = False"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670460; + //BA.debugLineNum = 3670460;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { __c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True);}; }else { - //BA.debugLineNum = 1572;BA.debugLine="Log(\"XXXX\")"; -__c.LogImpl("440239539","XXXX",0); - //BA.debugLineNum = 1573;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; +RDebugUtils.currentLine=3670463; + //BA.debugLineNum = 3670463;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("03670463","XXXX",0); +RDebugUtils.currentLine=3670464; + //BA.debugLineNum = 3670464;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 1575;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3670466; + //BA.debugLineNum = 3670466;BA.debugLine="End Sub"; return ""; } -public String _checapedido() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null; -int _cor = 0; - //BA.debugLineNum = 3914;BA.debugLine="Sub checaPedido"; - //BA.debugLineNum = 3915;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE"))); - //BA.debugLineNum = 3916;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 3917;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)"); - }; - //BA.debugLineNum = 3919;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA"))); - //BA.debugLineNum = 3920;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 3921;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA)"); - }; - //BA.debugLineNum = 3924;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_ID IN (SELECT CAT_PD_PRODUCTO FROM CAT_PROMOS_DESCUENTOS) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRIORITARIO")})); - //BA.debugLineNum = 3927;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; -_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ATIENDE"))); - //BA.debugLineNum = 3928;BA.debugLine="If coord.RowCount > 0 Then"; -if (_coord.getRowCount()>0) { - //BA.debugLineNum = 3929;BA.debugLine="For cor = 0 To coord.RowCount -1"; -{ -final int step12 = 1; -final int limit12 = (int) (_coord.getRowCount()-1); -_cor = (int) (0) ; -for (;_cor <= limit12 ;_cor = _cor + step12 ) { - //BA.debugLineNum = 3930;BA.debugLine="coord.Position = cor"; -_coord.setPosition(_cor); - //BA.debugLineNum = 3931;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("ATIENDE")),(Object)(_coord.GetString("CLIENTE"))})); - } -}; - }; - //BA.debugLineNum = 3935;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; -_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM TELEFONO"))); - //BA.debugLineNum = 3936;BA.debugLine="If coord.RowCount > 0 Then"; -if (_coord.getRowCount()>0) { - //BA.debugLineNum = 3937;BA.debugLine="For cor = 0 To coord.RowCount -1"; -{ -final int step19 = 1; -final int limit19 = (int) (_coord.getRowCount()-1); -_cor = (int) (0) ; -for (;_cor <= limit19 ;_cor = _cor + step19 ) { - //BA.debugLineNum = 3938;BA.debugLine="coord.Position = cor"; -_coord.setPosition(_cor); - //BA.debugLineNum = 3939;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_TELEFONO = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("TELEFONO")),(Object)(_coord.GetString("CLIENTE"))})); - } -}; - }; - //BA.debugLineNum = 3943;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +RDebugUtils.currentLine=3276800; + //BA.debugLineNum = 3276800;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=3276801; + //BA.debugLineNum = 3276801;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=3276802; + //BA.debugLineNum = 3276802;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim conectado As String"; +RDebugUtils.currentLine=3276803; + //BA.debugLineNum = 3276803;BA.debugLine="Dim conectado As String"; _conectado = ""; - //BA.debugLineNum = 5;BA.debugLine="Dim t1, t2 As Timer"; +RDebugUtils.currentLine=3276804; + //BA.debugLineNum = 3276804;BA.debugLine="Dim t1, t2 As Timer"; _t1 = new anywheresoftware.b4a.objects.Timer(); _t2 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 6;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=3276805; + //BA.debugLineNum = 3276805;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Dim PHONE As Phone"; +RDebugUtils.currentLine=3276806; + //BA.debugLineNum = 3276806;BA.debugLine="Dim PHONE As Phone"; _phone = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 8;BA.debugLine="Dim g As GPS"; +RDebugUtils.currentLine=3276807; + //BA.debugLineNum = 3276807;BA.debugLine="Dim g As GPS"; _g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 9;BA.debugLine="Dim trabajar As Button"; +RDebugUtils.currentLine=3276808; + //BA.debugLineNum = 3276808;BA.debugLine="Dim trabajar As Button"; _trabajar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=3276810; + //BA.debugLineNum = 3276810;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim d As Cursor"; +RDebugUtils.currentLine=3276811; + //BA.debugLineNum = 3276811;BA.debugLine="Dim d As Cursor"; _d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim b As Cursor"; +RDebugUtils.currentLine=3276812; + //BA.debugLineNum = 3276812;BA.debugLine="Dim b As Cursor"; _b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim e As Cursor"; +RDebugUtils.currentLine=3276813; + //BA.debugLineNum = 3276813;BA.debugLine="Dim e As Cursor"; _e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim f As Cursor"; +RDebugUtils.currentLine=3276814; + //BA.debugLineNum = 3276814;BA.debugLine="Dim f As Cursor"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim ro As Cursor"; +RDebugUtils.currentLine=3276815; + //BA.debugLineNum = 3276815;BA.debugLine="Dim ro As Cursor"; _ro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim D2 As Cursor"; +RDebugUtils.currentLine=3276816; + //BA.debugLineNum = 3276816;BA.debugLine="Dim D2 As Cursor"; _d2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim lv As ListView"; +RDebugUtils.currentLine=3276817; + //BA.debugLineNum = 3276817;BA.debugLine="Dim lv As ListView"; _lv = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim cargar As Button"; +RDebugUtils.currentLine=3276818; + //BA.debugLineNum = 3276818;BA.debugLine="Dim cargar As Button"; _cargar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim pendiente As Button"; +RDebugUtils.currentLine=3276819; + //BA.debugLineNum = 3276819;BA.debugLine="Dim pendiente As Button"; _pendiente = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim foto1() As Byte"; +RDebugUtils.currentLine=3276820; + //BA.debugLineNum = 3276820;BA.debugLine="Dim foto1() As Byte"; _foto1 = new byte[(int) (0)]; ; - //BA.debugLineNum = 22;BA.debugLine="Dim usuario As String"; +RDebugUtils.currentLine=3276821; + //BA.debugLineNum = 3276821;BA.debugLine="Dim usuario As String"; _usuario = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim connecta As Button"; +RDebugUtils.currentLine=3276822; + //BA.debugLineNum = 3276822;BA.debugLine="Dim connecta As Button"; _connecta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim conn As String"; +RDebugUtils.currentLine=3276823; + //BA.debugLineNum = 3276823;BA.debugLine="Dim conn As String"; _conn = ""; - //BA.debugLineNum = 25;BA.debugLine="Dim Subir As Button"; +RDebugUtils.currentLine=3276824; + //BA.debugLineNum = 3276824;BA.debugLine="Dim Subir As Button"; _subir = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3276825; + //BA.debugLineNum = 3276825;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 27;BA.debugLine="Dim TOPE As Int"; +RDebugUtils.currentLine=3276826; + //BA.debugLineNum = 3276826;BA.debugLine="Dim TOPE As Int"; _tope = 0; - //BA.debugLineNum = 28;BA.debugLine="Dim COUNT_CLIE As Int"; +RDebugUtils.currentLine=3276827; + //BA.debugLineNum = 3276827;BA.debugLine="Dim COUNT_CLIE As Int"; _count_clie = 0; - //BA.debugLineNum = 29;BA.debugLine="Dim fecha As String"; +RDebugUtils.currentLine=3276828; + //BA.debugLineNum = 3276828;BA.debugLine="Dim fecha As String"; _fecha = ""; - //BA.debugLineNum = 30;BA.debugLine="Dim drop As Double"; +RDebugUtils.currentLine=3276829; + //BA.debugLineNum = 3276829;BA.debugLine="Dim drop As Double"; _drop = 0; - //BA.debugLineNum = 31;BA.debugLine="Dim efectiva As Double"; +RDebugUtils.currentLine=3276830; + //BA.debugLineNum = 3276830;BA.debugLine="Dim efectiva As Double"; _efectiva = 0; - //BA.debugLineNum = 33;BA.debugLine="Dim L_MONTOD As Label"; +RDebugUtils.currentLine=3276832; + //BA.debugLineNum = 3276832;BA.debugLine="Dim L_MONTOD As Label"; _l_montod = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim l_cuantosc As Label"; +RDebugUtils.currentLine=3276833; + //BA.debugLineNum = 3276833;BA.debugLine="Dim l_cuantosc As Label"; _l_cuantosc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim l_drop As Label"; +RDebugUtils.currentLine=3276834; + //BA.debugLineNum = 3276834;BA.debugLine="Dim l_drop As Label"; _l_drop = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Dim l_efectiva As Label"; +RDebugUtils.currentLine=3276835; + //BA.debugLineNum = 3276835;BA.debugLine="Dim l_efectiva As Label"; _l_efectiva = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Dim l_ctast As Label"; +RDebugUtils.currentLine=3276836; + //BA.debugLineNum = 3276836;BA.debugLine="Dim l_ctast As Label"; _l_ctast = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Dim BUSCA As Button"; +RDebugUtils.currentLine=3276837; + //BA.debugLineNum = 3276837;BA.debugLine="Dim BUSCA As Button"; _busca = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim Cuantos As String"; +RDebugUtils.currentLine=3276838; + //BA.debugLineNum = 3276838;BA.debugLine="Dim Cuantos As String"; _cuantos = ""; - //BA.debugLineNum = 40;BA.debugLine="Dim l_cuantosn As Label"; +RDebugUtils.currentLine=3276839; + //BA.debugLineNum = 3276839;BA.debugLine="Dim l_cuantosn As Label"; _l_cuantosn = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Dim e_ruta As EditText"; +RDebugUtils.currentLine=3276840; + //BA.debugLineNum = 3276840;BA.debugLine="Dim e_ruta As EditText"; _e_ruta = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim Rut_Rep As String"; +RDebugUtils.currentLine=3276841; + //BA.debugLineNum = 3276841;BA.debugLine="Dim Rut_Rep As String"; _rut_rep = ""; - //BA.debugLineNum = 43;BA.debugLine="Dim l_porvisitar As Label"; +RDebugUtils.currentLine=3276842; + //BA.debugLineNum = 3276842;BA.debugLine="Dim l_porvisitar As Label"; _l_porvisitar = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim b_mapa As Button"; +RDebugUtils.currentLine=3276843; + //BA.debugLineNum = 3276843;BA.debugLine="Dim b_mapa As Button"; _b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim l_ruta As Label"; +RDebugUtils.currentLine=3276844; + //BA.debugLineNum = 3276844;BA.debugLine="Dim l_ruta As Label"; _l_ruta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Dim ALMACEN As String"; +RDebugUtils.currentLine=3276845; + //BA.debugLineNum = 3276845;BA.debugLine="Dim ALMACEN As String"; _almacen = ""; - //BA.debugLineNum = 47;BA.debugLine="Private img2 As ImageView"; +RDebugUtils.currentLine=3276846; + //BA.debugLineNum = 3276846;BA.debugLine="Private img2 As ImageView"; _img2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Dim Listo1 As String"; +RDebugUtils.currentLine=3276847; + //BA.debugLineNum = 3276847;BA.debugLine="Dim Listo1 As String"; _listo1 = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim Listo2 As String"; +RDebugUtils.currentLine=3276848; + //BA.debugLineNum = 3276848;BA.debugLine="Dim Listo2 As String"; _listo2 = ""; - //BA.debugLineNum = 50;BA.debugLine="Dim Listo3 As String"; +RDebugUtils.currentLine=3276849; + //BA.debugLineNum = 3276849;BA.debugLine="Dim Listo3 As String"; _listo3 = ""; - //BA.debugLineNum = 51;BA.debugLine="Dim Listo4 As String"; +RDebugUtils.currentLine=3276850; + //BA.debugLineNum = 3276850;BA.debugLine="Dim Listo4 As String"; _listo4 = ""; - //BA.debugLineNum = 52;BA.debugLine="Dim Listo5 As String"; +RDebugUtils.currentLine=3276851; + //BA.debugLineNum = 3276851;BA.debugLine="Dim Listo5 As String"; _listo5 = ""; - //BA.debugLineNum = 53;BA.debugLine="Dim EJECUTANDO As String"; +RDebugUtils.currentLine=3276852; + //BA.debugLineNum = 3276852;BA.debugLine="Dim EJECUTANDO As String"; _ejecutando = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim RES As String"; +RDebugUtils.currentLine=3276853; + //BA.debugLineNum = 3276853;BA.debugLine="Dim RES As String"; _res = ""; - //BA.debugLineNum = 55;BA.debugLine="Dim inve As String"; +RDebugUtils.currentLine=3276854; + //BA.debugLineNum = 3276854;BA.debugLine="Dim inve As String"; _inve = ""; - //BA.debugLineNum = 56;BA.debugLine="Dim cuantos_pedidosc As String"; +RDebugUtils.currentLine=3276855; + //BA.debugLineNum = 3276855;BA.debugLine="Dim cuantos_pedidosc As String"; _cuantos_pedidosc = ""; - //BA.debugLineNum = 57;BA.debugLine="Dim cuantos_pedido As String"; +RDebugUtils.currentLine=3276856; + //BA.debugLineNum = 3276856;BA.debugLine="Dim cuantos_pedido As String"; _cuantos_pedido = ""; - //BA.debugLineNum = 58;BA.debugLine="Dim cuantos_noventa As String"; +RDebugUtils.currentLine=3276857; + //BA.debugLineNum = 3276857;BA.debugLine="Dim cuantos_noventa As String"; _cuantos_noventa = ""; - //BA.debugLineNum = 59;BA.debugLine="Dim datos_iguales As String"; +RDebugUtils.currentLine=3276858; + //BA.debugLineNum = 3276858;BA.debugLine="Dim datos_iguales As String"; _datos_iguales = ""; - //BA.debugLineNum = 60;BA.debugLine="Dim p As PhoneId"; +RDebugUtils.currentLine=3276859; + //BA.debugLineNum = 3276859;BA.debugLine="Dim p As PhoneId"; _p = new anywheresoftware.b4a.phone.Phone.PhoneId(); - //BA.debugLineNum = 61;BA.debugLine="Dim imei As String"; +RDebugUtils.currentLine=3276860; + //BA.debugLineNum = 3276860;BA.debugLine="Dim imei As String"; _imei = ""; - //BA.debugLineNum = 65;BA.debugLine="Private inv As Button"; +RDebugUtils.currentLine=3276864; + //BA.debugLineNum = 3276864;BA.debugLine="Private inv As Button"; _inv = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Private P1 As Panel"; +RDebugUtils.currentLine=3276865; + //BA.debugLineNum = 3276865;BA.debugLine="Private P1 As Panel"; _p1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Private CLAVE As EditText"; +RDebugUtils.currentLine=3276866; + //BA.debugLineNum = 3276866;BA.debugLine="Private CLAVE As EditText"; _clave = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Private B_OK_PAS As Button"; +RDebugUtils.currentLine=3276867; + //BA.debugLineNum = 3276867;BA.debugLine="Private B_OK_PAS As Button"; _b_ok_pas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 69;BA.debugLine="Dim PASO As String"; +RDebugUtils.currentLine=3276868; + //BA.debugLineNum = 3276868;BA.debugLine="Dim PASO As String"; _paso = ""; - //BA.debugLineNum = 70;BA.debugLine="Private USUARIO1 As EditText"; +RDebugUtils.currentLine=3276869; + //BA.debugLineNum = 3276869;BA.debugLine="Private USUARIO1 As EditText"; _usuario1 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Dim connecta1 As Double"; +RDebugUtils.currentLine=3276870; + //BA.debugLineNum = 3276870;BA.debugLine="Dim connecta1 As Double"; _connecta1 = 0; - //BA.debugLineNum = 72;BA.debugLine="Dim armafolio As String"; +RDebugUtils.currentLine=3276871; + //BA.debugLineNum = 3276871;BA.debugLine="Dim armafolio As String"; _armafolio = ""; - //BA.debugLineNum = 73;BA.debugLine="Private NUEVO As Button"; +RDebugUtils.currentLine=3276872; + //BA.debugLineNum = 3276872;BA.debugLine="Private NUEVO As Button"; _nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 74;BA.debugLine="Private S_CC As Label"; +RDebugUtils.currentLine=3276873; + //BA.debugLineNum = 3276873;BA.debugLine="Private S_CC As Label"; _s_cc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 75;BA.debugLine="Private S_CP As Label"; +RDebugUtils.currentLine=3276874; + //BA.debugLineNum = 3276874;BA.debugLine="Private S_CP As Label"; _s_cp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 76;BA.debugLine="Private S_CH As Label"; +RDebugUtils.currentLine=3276875; + //BA.debugLineNum = 3276875;BA.debugLine="Private S_CH As Label"; _s_ch = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Private PB2 As ProgressBar"; +RDebugUtils.currentLine=3276876; + //BA.debugLineNum = 3276876;BA.debugLine="Private PB2 As ProgressBar"; _pb2 = new anywheresoftware.b4a.objects.ProgressBarWrapper(); - //BA.debugLineNum = 78;BA.debugLine="Private PB1 As ProgressBar"; +RDebugUtils.currentLine=3276877; + //BA.debugLineNum = 3276877;BA.debugLine="Private PB1 As ProgressBar"; _pb1 = new anywheresoftware.b4a.objects.ProgressBarWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Private L_P_1 As Label"; +RDebugUtils.currentLine=3276878; + //BA.debugLineNum = 3276878;BA.debugLine="Private L_P_1 As Label"; _l_p_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 80;BA.debugLine="Private L_P_2 As Label"; +RDebugUtils.currentLine=3276879; + //BA.debugLineNum = 3276879;BA.debugLine="Private L_P_2 As Label"; _l_p_2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 81;BA.debugLine="Private L_P_3 As Label"; +RDebugUtils.currentLine=3276880; + //BA.debugLineNum = 3276880;BA.debugLine="Private L_P_3 As Label"; _l_p_3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 82;BA.debugLine="Private CARGA As String"; +RDebugUtils.currentLine=3276881; + //BA.debugLineNum = 3276881;BA.debugLine="Private CARGA As String"; _carga = ""; - //BA.debugLineNum = 83;BA.debugLine="Private PORCENTAJE As String"; +RDebugUtils.currentLine=3276882; + //BA.debugLineNum = 3276882;BA.debugLine="Private PORCENTAJE As String"; _porcentaje = ""; - //BA.debugLineNum = 84;BA.debugLine="Private P_RESUMEN As Panel"; +RDebugUtils.currentLine=3276883; + //BA.debugLineNum = 3276883;BA.debugLine="Private P_RESUMEN As Panel"; _p_resumen = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Private B_OK_RES As Button"; +RDebugUtils.currentLine=3276884; + //BA.debugLineNum = 3276884;BA.debugLine="Private B_OK_RES As Button"; _b_ok_res = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 86;BA.debugLine="Private Resumen As Button"; +RDebugUtils.currentLine=3276885; + //BA.debugLineNum = 3276885;BA.debugLine="Private Resumen As Button"; _resumen = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Private L_CUANTOST As Label"; +RDebugUtils.currentLine=3276886; + //BA.debugLineNum = 3276886;BA.debugLine="Private L_CUANTOST As Label"; _l_cuantost = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private img3 As ImageView"; +RDebugUtils.currentLine=3276887; + //BA.debugLineNum = 3276887;BA.debugLine="Private img3 As ImageView"; _img3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Private ImageView3 As ImageView"; +RDebugUtils.currentLine=3276889; + //BA.debugLineNum = 3276889;BA.debugLine="Private ImageView3 As ImageView"; _imageview3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Private ImageView5 As ImageView"; +RDebugUtils.currentLine=3276890; + //BA.debugLineNum = 3276890;BA.debugLine="Private ImageView5 As ImageView"; _imageview5 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Private L_TICKPROM As Label"; +RDebugUtils.currentLine=3276891; + //BA.debugLineNum = 3276891;BA.debugLine="Private L_TICKPROM As Label"; _l_tickprom = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private L_MARCAS As ListView"; +RDebugUtils.currentLine=3276892; + //BA.debugLineNum = 3276892;BA.debugLine="Private L_MARCAS As ListView"; _l_marcas = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Private p_ruta2 As Panel"; +RDebugUtils.currentLine=3276893; + //BA.debugLineNum = 3276893;BA.debugLine="Private p_ruta2 As Panel"; _p_ruta2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Private E_RUTA2 As EditText"; +RDebugUtils.currentLine=3276894; + //BA.debugLineNum = 3276894;BA.debugLine="Private E_RUTA2 As EditText"; _e_ruta2 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 96;BA.debugLine="Private resdia As ImageView"; +RDebugUtils.currentLine=3276895; + //BA.debugLineNum = 3276895;BA.debugLine="Private resdia As ImageView"; _resdia = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 97;BA.debugLine="Private hacer_ped As ImageView"; +RDebugUtils.currentLine=3276896; + //BA.debugLineNum = 3276896;BA.debugLine="Private hacer_ped As ImageView"; _hacer_ped = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 98;BA.debugLine="Private nvo_cliente As ImageView"; +RDebugUtils.currentLine=3276897; + //BA.debugLineNum = 3276897;BA.debugLine="Private nvo_cliente As ImageView"; _nvo_cliente = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 99;BA.debugLine="Private tickets_dia As ImageView"; +RDebugUtils.currentLine=3276898; + //BA.debugLineNum = 3276898;BA.debugLine="Private tickets_dia As ImageView"; _tickets_dia = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 101;BA.debugLine="Private l_monto_ks As Label"; +RDebugUtils.currentLine=3276900; + //BA.debugLineNum = 3276900;BA.debugLine="Private l_monto_ks As Label"; _l_monto_ks = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 102;BA.debugLine="Private l_monto_kp As Label"; +RDebugUtils.currentLine=3276901; + //BA.debugLineNum = 3276901;BA.debugLine="Private l_monto_kp As Label"; _l_monto_kp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 103;BA.debugLine="Private l_monto_k As Label"; +RDebugUtils.currentLine=3276902; + //BA.debugLineNum = 3276902;BA.debugLine="Private l_monto_k As Label"; _l_monto_k = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 105;BA.debugLine="Private l_monto_c1 As Label"; +RDebugUtils.currentLine=3276904; + //BA.debugLineNum = 3276904;BA.debugLine="Private l_monto_c1 As Label"; _l_monto_c1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 106;BA.debugLine="Private l_monto_c2 As Label"; +RDebugUtils.currentLine=3276905; + //BA.debugLineNum = 3276905;BA.debugLine="Private l_monto_c2 As Label"; _l_monto_c2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 107;BA.debugLine="Private l_monto_c3 As Label"; +RDebugUtils.currentLine=3276906; + //BA.debugLineNum = 3276906;BA.debugLine="Private l_monto_c3 As Label"; _l_monto_c3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 109;BA.debugLine="Private l_encuesta As Label"; +RDebugUtils.currentLine=3276908; + //BA.debugLineNum = 3276908;BA.debugLine="Private l_encuesta As Label"; _l_encuesta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 112;BA.debugLine="Private bpv1 As BatteryProgressView"; +RDebugUtils.currentLine=3276911; + //BA.debugLineNum = 3276911;BA.debugLine="Private bpv1 As BatteryProgressView"; _bpv1 = new batteryprogressviewwrapper.batteryprogressviewWrapper(); - //BA.debugLineNum = 113;BA.debugLine="Dim batterystatus(11) As Int"; +RDebugUtils.currentLine=3276912; + //BA.debugLineNum = 3276912;BA.debugLine="Dim batterystatus(11) As Int"; _batterystatus = new int[(int) (11)]; ; - //BA.debugLineNum = 114;BA.debugLine="Private bu As BatteryUtilities"; +RDebugUtils.currentLine=3276913; + //BA.debugLineNum = 3276913;BA.debugLine="Private bu As BatteryUtilities"; _bu = new gunav2.keymon.com.mx.batteryutilities(); - //BA.debugLineNum = 117;BA.debugLine="Private Panel4 As Panel"; +RDebugUtils.currentLine=3276916; + //BA.debugLineNum = 3276916;BA.debugLine="Private Panel4 As Panel"; _panel4 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 118;BA.debugLine="Private L_NES As Label"; +RDebugUtils.currentLine=3276917; + //BA.debugLineNum = 3276917;BA.debugLine="Private L_NES As Label"; _l_nes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 119;BA.debugLine="Private L_REAL As Label"; +RDebugUtils.currentLine=3276918; + //BA.debugLineNum = 3276918;BA.debugLine="Private L_REAL As Label"; _l_real = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 120;BA.debugLine="Private L_ALCANCE As Label"; +RDebugUtils.currentLine=3276919; + //BA.debugLineNum = 3276919;BA.debugLine="Private L_ALCANCE As Label"; _l_alcance = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 121;BA.debugLine="Private L_VPLAN As Label"; +RDebugUtils.currentLine=3276920; + //BA.debugLineNum = 3276920;BA.debugLine="Private L_VPLAN As Label"; _l_vplan = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 122;BA.debugLine="Private L_VREAL As Label"; +RDebugUtils.currentLine=3276921; + //BA.debugLineNum = 3276921;BA.debugLine="Private L_VREAL As Label"; _l_vreal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 123;BA.debugLine="Private L_EFEC_VIS As Label"; +RDebugUtils.currentLine=3276922; + //BA.debugLineNum = 3276922;BA.debugLine="Private L_EFEC_VIS As Label"; _l_efec_vis = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 124;BA.debugLine="Private L_VISITCC As Label"; +RDebugUtils.currentLine=3276923; + //BA.debugLineNum = 3276923;BA.debugLine="Private L_VISITCC As Label"; _l_visitcc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 125;BA.debugLine="Private L_EFEC_PV As Label"; +RDebugUtils.currentLine=3276924; + //BA.debugLineNum = 3276924;BA.debugLine="Private L_EFEC_PV As Label"; _l_efec_pv = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 126;BA.debugLine="Private L_EFEC_PURA As Label"; +RDebugUtils.currentLine=3276925; + //BA.debugLineNum = 3276925;BA.debugLine="Private L_EFEC_PURA As Label"; _l_efec_pura = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 127;BA.debugLine="Private L_CTE_PROMO As Label"; +RDebugUtils.currentLine=3276926; + //BA.debugLineNum = 3276926;BA.debugLine="Private L_CTE_PROMO As Label"; _l_cte_promo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 128;BA.debugLine="Private L_REDEN_PROMO As Label"; +RDebugUtils.currentLine=3276927; + //BA.debugLineNum = 3276927;BA.debugLine="Private L_REDEN_PROMO As Label"; _l_reden_promo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 129;BA.debugLine="Private L_LIN_TICK As Label"; +RDebugUtils.currentLine=3276928; + //BA.debugLineNum = 3276928;BA.debugLine="Private L_LIN_TICK As Label"; _l_lin_tick = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 130;BA.debugLine="Private SCROLL_RESDIA As ScrollView"; +RDebugUtils.currentLine=3276929; + //BA.debugLineNum = 3276929;BA.debugLine="Private SCROLL_RESDIA As ScrollView"; _scroll_resdia = new anywheresoftware.b4a.objects.ScrollViewWrapper(); - //BA.debugLineNum = 131;BA.debugLine="Private L_ACUMULADO As Label"; +RDebugUtils.currentLine=3276930; + //BA.debugLineNum = 3276930;BA.debugLine="Private L_ACUMULADO As Label"; _l_acumulado = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 132;BA.debugLine="Private L_UNILEVER As Label"; +RDebugUtils.currentLine=3276931; + //BA.debugLineNum = 3276931;BA.debugLine="Private L_UNILEVER As Label"; _l_unilever = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 133;BA.debugLine="Private L_RECHAZOP As Label"; +RDebugUtils.currentLine=3276932; + //BA.debugLineNum = 3276932;BA.debugLine="Private L_RECHAZOP As Label"; _l_rechazop = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 134;BA.debugLine="Private L_RECHAZOM As Label"; +RDebugUtils.currentLine=3276933; + //BA.debugLineNum = 3276933;BA.debugLine="Private L_RECHAZOM As Label"; _l_rechazom = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 135;BA.debugLine="Private L_VTA_3MES As Label"; +RDebugUtils.currentLine=3276934; + //BA.debugLineNum = 3276934;BA.debugLine="Private L_VTA_3MES As Label"; _l_vta_3mes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 136;BA.debugLine="Private L_VTA_2MES As Label"; +RDebugUtils.currentLine=3276935; + //BA.debugLineNum = 3276935;BA.debugLine="Private L_VTA_2MES As Label"; _l_vta_2mes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 137;BA.debugLine="Private L_VTA_1MES As Label"; +RDebugUtils.currentLine=3276936; + //BA.debugLineNum = 3276936;BA.debugLine="Private L_VTA_1MES As Label"; _l_vta_1mes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 138;BA.debugLine="Private L_MES_PY As Label"; +RDebugUtils.currentLine=3276937; + //BA.debugLineNum = 3276937;BA.debugLine="Private L_MES_PY As Label"; _l_mes_py = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 139;BA.debugLine="Private L_FREC_DE_CREAL As Label"; +RDebugUtils.currentLine=3276938; + //BA.debugLineNum = 3276938;BA.debugLine="Private L_FREC_DE_CREAL As Label"; _l_frec_de_creal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 140;BA.debugLine="Private L_FREC_DE_COBJ As Label"; +RDebugUtils.currentLine=3276939; + //BA.debugLineNum = 3276939;BA.debugLine="Private L_FREC_DE_COBJ As Label"; _l_frec_de_cobj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 141;BA.debugLine="Private L_COB_VISIT As Label"; +RDebugUtils.currentLine=3276940; + //BA.debugLineNum = 3276940;BA.debugLine="Private L_COB_VISIT As Label"; _l_cob_visit = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 142;BA.debugLine="Private L_VISIT_REAL As Label"; +RDebugUtils.currentLine=3276941; + //BA.debugLineNum = 3276941;BA.debugLine="Private L_VISIT_REAL As Label"; _l_visit_real = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 143;BA.debugLine="Private L_VISIT_PLAN As Label"; +RDebugUtils.currentLine=3276942; + //BA.debugLineNum = 3276942;BA.debugLine="Private L_VISIT_PLAN As Label"; _l_visit_plan = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 144;BA.debugLine="Private L_ECO As Label"; +RDebugUtils.currentLine=3276943; + //BA.debugLineNum = 3276943;BA.debugLine="Private L_ECO As Label"; _l_eco = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 145;BA.debugLine="Private L_COB_CCC As Label"; +RDebugUtils.currentLine=3276944; + //BA.debugLineNum = 3276944;BA.debugLine="Private L_COB_CCC As Label"; _l_cob_ccc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 146;BA.debugLine="Private L_CTES As Label"; +RDebugUtils.currentLine=3276945; + //BA.debugLineNum = 3276945;BA.debugLine="Private L_CTES As Label"; _l_ctes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 147;BA.debugLine="Private L_VPO_VTA As Label"; +RDebugUtils.currentLine=3276946; + //BA.debugLineNum = 3276946;BA.debugLine="Private L_VPO_VTA As Label"; _l_vpo_vta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 148;BA.debugLine="Private L_VPO_OBJ As Label"; +RDebugUtils.currentLine=3276947; + //BA.debugLineNum = 3276947;BA.debugLine="Private L_VPO_OBJ As Label"; _l_vpo_obj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 149;BA.debugLine="Private L_DS_VTA As Label"; +RDebugUtils.currentLine=3276948; + //BA.debugLineNum = 3276948;BA.debugLine="Private L_DS_VTA As Label"; _l_ds_vta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 150;BA.debugLine="Private L_DS_OBJ As Label"; +RDebugUtils.currentLine=3276949; + //BA.debugLineNum = 3276949;BA.debugLine="Private L_DS_OBJ As Label"; _l_ds_obj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 151;BA.debugLine="Private L_DRA_VTA As Label"; +RDebugUtils.currentLine=3276950; + //BA.debugLineNum = 3276950;BA.debugLine="Private L_DRA_VTA As Label"; _l_dra_vta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 152;BA.debugLine="Private L_DRA_OBJ As Label"; +RDebugUtils.currentLine=3276951; + //BA.debugLineNum = 3276951;BA.debugLine="Private L_DRA_OBJ As Label"; _l_dra_obj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 153;BA.debugLine="Private L_ALCANCEM As Label"; +RDebugUtils.currentLine=3276952; + //BA.debugLineNum = 3276952;BA.debugLine="Private L_ALCANCEM As Label"; _l_alcancem = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 154;BA.debugLine="Private L_TENDENCIA As Label"; +RDebugUtils.currentLine=3276953; + //BA.debugLineNum = 3276953;BA.debugLine="Private L_TENDENCIA As Label"; _l_tendencia = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 155;BA.debugLine="Private L_VTA_ACUM As Label"; +RDebugUtils.currentLine=3276954; + //BA.debugLineNum = 3276954;BA.debugLine="Private L_VTA_ACUM As Label"; _l_vta_acum = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 156;BA.debugLine="Private L_OBJ_MES As Label"; +RDebugUtils.currentLine=3276955; + //BA.debugLineNum = 3276955;BA.debugLine="Private L_OBJ_MES As Label"; _l_obj_mes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 157;BA.debugLine="Private L_DS_OBJD As Label"; +RDebugUtils.currentLine=3276956; + //BA.debugLineNum = 3276956;BA.debugLine="Private L_DS_OBJD As Label"; _l_ds_objd = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 158;BA.debugLine="Private L_DS_VTAD As Label"; +RDebugUtils.currentLine=3276957; + //BA.debugLineNum = 3276957;BA.debugLine="Private L_DS_VTAD As Label"; _l_ds_vtad = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 159;BA.debugLine="Private LPT As String"; +RDebugUtils.currentLine=3276958; + //BA.debugLineNum = 3276958;BA.debugLine="Private LPT As String"; _lpt = ""; - //BA.debugLineNum = 160;BA.debugLine="Private STEYIN As String"; +RDebugUtils.currentLine=3276959; + //BA.debugLineNum = 3276959;BA.debugLine="Private STEYIN As String"; _steyin = ""; - //BA.debugLineNum = 161;BA.debugLine="Private STEYOUT As String"; +RDebugUtils.currentLine=3276960; + //BA.debugLineNum = 3276960;BA.debugLine="Private STEYOUT As String"; _steyout = ""; - //BA.debugLineNum = 163;BA.debugLine="Private L_PRIO As Label"; +RDebugUtils.currentLine=3276962; + //BA.debugLineNum = 3276962;BA.debugLine="Private L_PRIO As Label"; _l_prio = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 164;BA.debugLine="Private L_SECUND As Label"; +RDebugUtils.currentLine=3276963; + //BA.debugLineNum = 3276963;BA.debugLine="Private L_SECUND As Label"; _l_secund = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 165;BA.debugLine="Private L_COMP As Label"; +RDebugUtils.currentLine=3276964; + //BA.debugLineNum = 3276964;BA.debugLine="Private L_COMP As Label"; _l_comp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 168;BA.debugLine="Private stay_hh As String"; +RDebugUtils.currentLine=3276967; + //BA.debugLineNum = 3276967;BA.debugLine="Private stay_hh As String"; _stay_hh = ""; - //BA.debugLineNum = 169;BA.debugLine="Private stay_mi As String"; +RDebugUtils.currentLine=3276968; + //BA.debugLineNum = 3276968;BA.debugLine="Private stay_mi As String"; _stay_mi = ""; - //BA.debugLineNum = 170;BA.debugLine="Private stay_ss As String"; +RDebugUtils.currentLine=3276969; + //BA.debugLineNum = 3276969;BA.debugLine="Private stay_ss As String"; _stay_ss = ""; - //BA.debugLineNum = 172;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=3276971; + //BA.debugLineNum = 3276971;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 173;BA.debugLine="Dim HORAINGRESO As String"; +RDebugUtils.currentLine=3276972; + //BA.debugLineNum = 3276972;BA.debugLine="Dim HORAINGRESO As String"; _horaingreso = ""; - //BA.debugLineNum = 175;BA.debugLine="Private L_QUALA As Label"; +RDebugUtils.currentLine=3276974; + //BA.debugLineNum = 3276974;BA.debugLine="Private L_QUALA As Label"; _l_quala = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 176;BA.debugLine="Private L_FERRERO As Label"; +RDebugUtils.currentLine=3276975; + //BA.debugLineNum = 3276975;BA.debugLine="Private L_FERRERO As Label"; _l_ferrero = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 177;BA.debugLine="Private L_SANMARCOS As Label"; +RDebugUtils.currentLine=3276976; + //BA.debugLineNum = 3276976;BA.debugLine="Private L_SANMARCOS As Label"; _l_sanmarcos = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 178;BA.debugLine="Private L_CAMPARI As Label"; +RDebugUtils.currentLine=3276977; + //BA.debugLineNum = 3276977;BA.debugLine="Private L_CAMPARI As Label"; _l_campari = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 179;BA.debugLine="Private L_IBERIA As Label"; +RDebugUtils.currentLine=3276978; + //BA.debugLineNum = 3276978;BA.debugLine="Private L_IBERIA As Label"; _l_iberia = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 180;BA.debugLine="Private L_BEPENSA As Label"; +RDebugUtils.currentLine=3276979; + //BA.debugLineNum = 3276979;BA.debugLine="Private L_BEPENSA As Label"; _l_bepensa = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 181;BA.debugLine="Private L_SCJ As Label"; +RDebugUtils.currentLine=3276980; + //BA.debugLineNum = 3276980;BA.debugLine="Private L_SCJ As Label"; _l_scj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 182;BA.debugLine="Private L_MEDJ As Label"; +RDebugUtils.currentLine=3276981; + //BA.debugLineNum = 3276981;BA.debugLine="Private L_MEDJ As Label"; _l_medj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 183;BA.debugLine="Private L_DURACELL As Label"; +RDebugUtils.currentLine=3276982; + //BA.debugLineNum = 3276982;BA.debugLine="Private L_DURACELL As Label"; _l_duracell = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 184;BA.debugLine="Private L_GUNA As Label"; +RDebugUtils.currentLine=3276983; + //BA.debugLineNum = 3276983;BA.debugLine="Private L_GUNA As Label"; _l_guna = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 185;BA.debugLine="Private L_KIMB As Label"; +RDebugUtils.currentLine=3276984; + //BA.debugLineNum = 3276984;BA.debugLine="Private L_KIMB As Label"; _l_kimb = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 186;BA.debugLine="Private L_TRESM As Label"; +RDebugUtils.currentLine=3276985; + //BA.debugLineNum = 3276985;BA.debugLine="Private L_TRESM As Label"; _l_tresm = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 187;BA.debugLine="Private L_REDB As Label"; +RDebugUtils.currentLine=3276986; + //BA.debugLineNum = 3276986;BA.debugLine="Private L_REDB As Label"; _l_redb = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 188;BA.debugLine="Private Btn_Ubicar As Button"; +RDebugUtils.currentLine=3276987; + //BA.debugLineNum = 3276987;BA.debugLine="Private Btn_Ubicar As Button"; _btn_ubicar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 189;BA.debugLine="Private B_COMM As Button"; +RDebugUtils.currentLine=3276988; + //BA.debugLineNum = 3276988;BA.debugLine="Private B_COMM As Button"; _b_comm = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 190;BA.debugLine="Private L_TOTAL_MM As Label"; +RDebugUtils.currentLine=3276989; + //BA.debugLineNum = 3276989;BA.debugLine="Private L_TOTAL_MM As Label"; _l_total_mm = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 191;BA.debugLine="Private L_TOTAL_VIVE As Label"; +RDebugUtils.currentLine=3276990; + //BA.debugLineNum = 3276990;BA.debugLine="Private L_TOTAL_VIVE As Label"; _l_total_vive = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 192;BA.debugLine="Private L_TOTAL_GUNA As Label"; +RDebugUtils.currentLine=3276991; + //BA.debugLineNum = 3276991;BA.debugLine="Private L_TOTAL_GUNA As Label"; _l_total_guna = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 193;BA.debugLine="Private L_TOTAL_BA As Label"; +RDebugUtils.currentLine=3276992; + //BA.debugLineNum = 3276992;BA.debugLine="Private L_TOTAL_BA As Label"; _l_total_ba = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 194;BA.debugLine="Private L_TOTAL_COMIS As Label"; +RDebugUtils.currentLine=3276993; + //BA.debugLineNum = 3276993;BA.debugLine="Private L_TOTAL_COMIS As Label"; _l_total_comis = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 195;BA.debugLine="Private L_TOTAL_MM_1 As Label"; +RDebugUtils.currentLine=3276994; + //BA.debugLineNum = 3276994;BA.debugLine="Private L_TOTAL_MM_1 As Label"; _l_total_mm_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 196;BA.debugLine="Private L_TOTAL_VIVE_1 As Label"; +RDebugUtils.currentLine=3276995; + //BA.debugLineNum = 3276995;BA.debugLine="Private L_TOTAL_VIVE_1 As Label"; _l_total_vive_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 197;BA.debugLine="Private L_TOTAL_GUNA_1 As Label"; +RDebugUtils.currentLine=3276996; + //BA.debugLineNum = 3276996;BA.debugLine="Private L_TOTAL_GUNA_1 As Label"; _l_total_guna_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 198;BA.debugLine="Private L_TOTAL_BA_1 As Label"; +RDebugUtils.currentLine=3276997; + //BA.debugLineNum = 3276997;BA.debugLine="Private L_TOTAL_BA_1 As Label"; _l_total_ba_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 199;BA.debugLine="Private L_TOTAL_COMIS_1 As Label"; +RDebugUtils.currentLine=3276998; + //BA.debugLineNum = 3276998;BA.debugLine="Private L_TOTAL_COMIS_1 As Label"; _l_total_comis_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 200;BA.debugLine="Private B_OK_COMISS As Button"; +RDebugUtils.currentLine=3276999; + //BA.debugLineNum = 3276999;BA.debugLine="Private B_OK_COMISS As Button"; _b_ok_comiss = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 201;BA.debugLine="Private Panel_C As Panel"; +RDebugUtils.currentLine=3277000; + //BA.debugLineNum = 3277000;BA.debugLine="Private Panel_C As Panel"; _panel_c = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 203;BA.debugLine="Private TitleHeight As Int = 50dip"; +RDebugUtils.currentLine=3277002; + //BA.debugLineNum = 3277002;BA.debugLine="Private TitleHeight As Int = 50dip"; _titleheight = __c.DipToCurrent((int) (50)); - //BA.debugLineNum = 204;BA.debugLine="Private Title2Height As Int = 100dip"; +RDebugUtils.currentLine=3277003; + //BA.debugLineNum = 3277003;BA.debugLine="Private Title2Height As Int = 100dip"; _title2height = __c.DipToCurrent((int) (100)); - //BA.debugLineNum = 206;BA.debugLine="Private DividerHeight As Int = 5dip"; +RDebugUtils.currentLine=3277005; + //BA.debugLineNum = 3277005;BA.debugLine="Private DividerHeight As Int = 5dip"; _dividerheight = __c.DipToCurrent((int) (5)); - //BA.debugLineNum = 207;BA.debugLine="Private CLV1 As CustomListView"; +RDebugUtils.currentLine=3277006; + //BA.debugLineNum = 3277006;BA.debugLine="Private CLV1 As CustomListView"; _clv1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 208;BA.debugLine="Private pnlTitle As B4XView"; +RDebugUtils.currentLine=3277007; + //BA.debugLineNum = 3277007;BA.debugLine="Private pnlTitle As B4XView"; _pnltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 209;BA.debugLine="Private xui As XUI"; +RDebugUtils.currentLine=3277008; + //BA.debugLineNum = 3277008;BA.debugLine="Private xui As XUI"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 210;BA.debugLine="Type TitleData (Title As String)"; +RDebugUtils.currentLine=3277009; + //BA.debugLineNum = 3277009;BA.debugLine="Type TitleData (Title As String)"; ; - //BA.debugLineNum = 212;BA.debugLine="Private B_MARCAS As Button"; +RDebugUtils.currentLine=3277011; + //BA.debugLineNum = 3277011;BA.debugLine="Private B_MARCAS As Button"; _b_marcas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 213;BA.debugLine="Private lblTitle As Label"; +RDebugUtils.currentLine=3277012; + //BA.debugLineNum = 3277012;BA.debugLine="Private lblTitle As Label"; _lbltitle = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 214;BA.debugLine="Private B_OK_PANEL5 As Button"; +RDebugUtils.currentLine=3277013; + //BA.debugLineNum = 3277013;BA.debugLine="Private B_OK_PANEL5 As Button"; _b_ok_panel5 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 215;BA.debugLine="Private p_principal As Panel"; +RDebugUtils.currentLine=3277014; + //BA.debugLineNum = 3277014;BA.debugLine="Private p_principal As Panel"; _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 217;BA.debugLine="Private teclado As IME"; +RDebugUtils.currentLine=3277016; + //BA.debugLineNum = 3277016;BA.debugLine="Private teclado As IME"; _teclado = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 218;BA.debugLine="Private panel5 As Panel"; +RDebugUtils.currentLine=3277017; + //BA.debugLineNum = 3277017;BA.debugLine="Private panel5 As Panel"; _panel5 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 219;BA.debugLine="Private panel_5 As Panel"; +RDebugUtils.currentLine=3277018; + //BA.debugLineNum = 3277018;BA.debugLine="Private panel_5 As Panel"; _panel_5 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 220;BA.debugLine="Private p_marcasRes As Panel"; +RDebugUtils.currentLine=3277019; + //BA.debugLineNum = 3277019;BA.debugLine="Private p_marcasRes As Panel"; _p_marcasres = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 221;BA.debugLine="Private p_sombra As Panel"; +RDebugUtils.currentLine=3277020; + //BA.debugLineNum = 3277020;BA.debugLine="Private p_sombra As Panel"; _p_sombra = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 223;BA.debugLine="Private Label22 As Label"; +RDebugUtils.currentLine=3277022; + //BA.debugLineNum = 3277022;BA.debugLine="Private Label22 As Label"; _label22 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 224;BA.debugLine="Private l_rutasuplencia As Label"; +RDebugUtils.currentLine=3277023; + //BA.debugLineNum = 3277023;BA.debugLine="Private l_rutasuplencia As Label"; _l_rutasuplencia = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 225;BA.debugLine="Dim l_ru_pri As Label"; +RDebugUtils.currentLine=3277024; + //BA.debugLineNum = 3277024;BA.debugLine="Dim l_ru_pri As Label"; _l_ru_pri = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 226;BA.debugLine="Private l_ru_sup As Label"; +RDebugUtils.currentLine=3277025; + //BA.debugLineNum = 3277025;BA.debugLine="Private l_ru_sup As Label"; _l_ru_sup = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 227;BA.debugLine="Private Label4 As Label"; +RDebugUtils.currentLine=3277026; + //BA.debugLineNum = 3277026;BA.debugLine="Private Label4 As Label"; _label4 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 228;BA.debugLine="Private Label2 As Label"; +RDebugUtils.currentLine=3277027; + //BA.debugLineNum = 3277027;BA.debugLine="Private Label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 229;BA.debugLine="Private Label25 As Label"; +RDebugUtils.currentLine=3277028; + //BA.debugLineNum = 3277028;BA.debugLine="Private Label25 As Label"; _label25 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 230;BA.debugLine="Dim p_transparenteActualizacion As Panel"; +RDebugUtils.currentLine=3277029; + //BA.debugLineNum = 3277029;BA.debugLine="Dim p_transparenteActualizacion As Panel"; _p_transparenteactualizacion = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 231;BA.debugLine="Private p_forzarActualizacion As Panel"; +RDebugUtils.currentLine=3277030; + //BA.debugLineNum = 3277030;BA.debugLine="Private p_forzarActualizacion As Panel"; _p_forzaractualizacion = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 232;BA.debugLine="Dim l_forzarActualizacion As Label"; +RDebugUtils.currentLine=3277031; + //BA.debugLineNum = 3277031;BA.debugLine="Dim l_forzarActualizacion As Label"; _l_forzaractualizacion = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 233;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; +RDebugUtils.currentLine=3277032; + //BA.debugLineNum = 3277032;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; _tipo_venta = _subs._traetipoventadebd /*String*/ (ba); - //BA.debugLineNum = 234;BA.debugLine="Private b_abordo As Button"; +RDebugUtils.currentLine=3277033; + //BA.debugLineNum = 3277033;BA.debugLine="Private b_abordo As Button"; _b_abordo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 235;BA.debugLine="Dim bitacora As C_Bitacora"; +RDebugUtils.currentLine=3277034; + //BA.debugLineNum = 3277034;BA.debugLine="Dim bitacora As C_Bitacora"; _bitacora = new gunav2.keymon.com.mx.c_bitacora(); - //BA.debugLineNum = 236;BA.debugLine="Private l_version As Label"; +RDebugUtils.currentLine=3277035; + //BA.debugLineNum = 3277035;BA.debugLine="Private l_version As Label"; _l_version = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 237;BA.debugLine="Dim contadorSubir As Int = 0"; +RDebugUtils.currentLine=3277036; + //BA.debugLineNum = 3277036;BA.debugLine="Dim contadorSubir As Int = 0"; _contadorsubir = (int) (0); - //BA.debugLineNum = 239;BA.debugLine="Private p_somvra_2 As Panel"; +RDebugUtils.currentLine=3277038; + //BA.debugLineNum = 3277038;BA.debugLine="Private p_somvra_2 As Panel"; _p_somvra_2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 240;BA.debugLine="Private b_resdia As Button"; +RDebugUtils.currentLine=3277039; + //BA.debugLineNum = 3277039;BA.debugLine="Private b_resdia As Button"; _b_resdia = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 241;BA.debugLine="Private b_hacerpedido As Button"; +RDebugUtils.currentLine=3277040; + //BA.debugLineNum = 3277040;BA.debugLine="Private b_hacerpedido As Button"; _b_hacerpedido = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 242;BA.debugLine="Private b_nuevocliente As Button"; +RDebugUtils.currentLine=3277041; + //BA.debugLineNum = 3277041;BA.debugLine="Private b_nuevocliente As Button"; _b_nuevocliente = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 243;BA.debugLine="Private b_clientesvisitados As Button"; +RDebugUtils.currentLine=3277042; + //BA.debugLineNum = 3277042;BA.debugLine="Private b_clientesvisitados As Button"; _b_clientesvisitados = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 244;BA.debugLine="Private l_futura As Label"; +RDebugUtils.currentLine=3277043; + //BA.debugLineNum = 3277043;BA.debugLine="Private l_futura As Label"; _l_futura = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 245;BA.debugLine="Private l_preventa As Label"; +RDebugUtils.currentLine=3277044; + //BA.debugLineNum = 3277044;BA.debugLine="Private l_preventa As Label"; _l_preventa = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 246;BA.debugLine="Private l_preacordada As Label"; +RDebugUtils.currentLine=3277045; + //BA.debugLineNum = 3277045;BA.debugLine="Private l_preacordada As Label"; _l_preacordada = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 247;BA.debugLine="Private l_prevtotal As Label"; +RDebugUtils.currentLine=3277046; + //BA.debugLineNum = 3277046;BA.debugLine="Private l_prevtotal As Label"; _l_prevtotal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 248;BA.debugLine="Private Label13 As Label"; +RDebugUtils.currentLine=3277047; + //BA.debugLineNum = 3277047;BA.debugLine="Private Label13 As Label"; _label13 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 249;BA.debugLine="Private Label19 As Label"; +RDebugUtils.currentLine=3277048; + //BA.debugLineNum = 3277048;BA.debugLine="Private Label19 As Label"; _label19 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 250;BA.debugLine="Private Label21 As Label"; +RDebugUtils.currentLine=3277049; + //BA.debugLineNum = 3277049;BA.debugLine="Private Label21 As Label"; _label21 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 251;BA.debugLine="Private Label33 As Label"; +RDebugUtils.currentLine=3277050; + //BA.debugLineNum = 3277050;BA.debugLine="Private Label33 As Label"; _label33 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 252;BA.debugLine="Private Label35 As Label"; +RDebugUtils.currentLine=3277051; + //BA.debugLineNum = 3277051;BA.debugLine="Private Label35 As Label"; _label35 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 253;BA.debugLine="Private Label43 As Label"; +RDebugUtils.currentLine=3277052; + //BA.debugLineNum = 3277052;BA.debugLine="Private Label43 As Label"; _label43 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 254;BA.debugLine="Private Label51 As Label"; +RDebugUtils.currentLine=3277053; + //BA.debugLineNum = 3277053;BA.debugLine="Private Label51 As Label"; _label51 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 255;BA.debugLine="Private l_faltan As Label"; +RDebugUtils.currentLine=3277054; + //BA.debugLineNum = 3277054;BA.debugLine="Private l_faltan As Label"; _l_faltan = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 256;BA.debugLine="Private l_visitas As Label"; +RDebugUtils.currentLine=3277055; + //BA.debugLineNum = 3277055;BA.debugLine="Private l_visitas As Label"; _l_visitas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 257;BA.debugLine="Private l_visitartotal As Label"; +RDebugUtils.currentLine=3277056; + //BA.debugLineNum = 3277056;BA.debugLine="Private l_visitartotal As Label"; _l_visitartotal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 258;BA.debugLine="Private de As Label"; +RDebugUtils.currentLine=3277057; + //BA.debugLineNum = 3277057;BA.debugLine="Private de As Label"; _de = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 259;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3277058; + //BA.debugLineNum = 3277058;BA.debugLine="Private B_traec As Button"; +_b_traec = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=3277059; + //BA.debugLineNum = 3277059;BA.debugLine="End Sub"; return ""; } -public void _connecta_click() throws Exception{ -ResumableSub_connecta_Click rsub = new ResumableSub_connecta_Click(this); +public void _connecta_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "connecta_click", false)) + {Debug.delegate(ba, "connecta_click", null); return;} +ResumableSub_connecta_Click rsub = new ResumableSub_connecta_Click(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_connecta_Click extends BA.ResumableSub { -public ResumableSub_connecta_Click(gunav2.keymon.com.mx.c_principal parent) { +public ResumableSub_connecta_Click(gunav2.keymon.com.mx.c_principal parent,gunav2.keymon.com.mx.c_principal __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_principal __ref; gunav2.keymon.com.mx.c_principal parent; anywheresoftware.b4a.objects.collections.Map _revisaactualizacion = null; int _i = 0; @@ -2674,6 +4896,7 @@ String _passt = ""; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_principal"; while (true) { try { @@ -2685,20 +4908,24 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 2777;BA.debugLine="Log(\">>> REVISAMOS ACTUALIZACION\")"; -parent.__c.LogImpl("440501249",">>> REVISAMOS ACTUALIZACION",0); - //BA.debugLineNum = 2778;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF"; +RDebugUtils.currentLine=3932161; + //BA.debugLineNum = 3932161;BA.debugLine="Log(\">>> REVISAMOS ACTUALIZACION\")"; +parent.__c.LogImpl("03932161",">>> REVISAMOS ACTUALIZACION",0); +RDebugUtils.currentLine=3932162; + //BA.debugLineNum = 3932162;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF"; _revisaactualizacion = new anywheresoftware.b4a.objects.collections.Map(); _revisaactualizacion = parent._subs._revisaforzaractualizacion /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 2779;BA.debugLine="Log(revisaActualizacion)"; -parent.__c.LogImpl("440501251",BA.ObjectToString(_revisaactualizacion),0); - //BA.debugLineNum = 2780;BA.debugLine="If E_RUTA2.Text = e_ruta.Text And e_ruta.Text <>"; +RDebugUtils.currentLine=3932163; + //BA.debugLineNum = 3932163;BA.debugLine="Log(revisaActualizacion)"; +parent.__c.LogImpl("03932163",BA.ObjectToString(_revisaactualizacion),0); +RDebugUtils.currentLine=3932164; + //BA.debugLineNum = 3932164;BA.debugLine="If E_RUTA2.Text = e_ruta.Text And e_ruta.Text <>"; if (true) break; case 1: //if this.state = 40; -if ((parent._e_ruta2.getText()).equals(parent._e_ruta.getText()) && (parent._e_ruta.getText()).equals("") == false) { +if ((__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()) && (__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { this.state = 3; }else { this.state = 5; @@ -2707,20 +4934,22 @@ this.state = 5; case 3: //C this.state = 40; - //BA.debugLineNum = 2781;BA.debugLine="Msgbox(\"La ruta principal y la de suplencia NO p"; +RDebugUtils.currentLine=3932165; + //BA.debugLineNum = 3932165;BA.debugLine="Msgbox(\"La ruta principal y la de suplencia NO p"; parent.__c.Msgbox(BA.ObjectToCharSequence("La ruta principal y la de suplencia NO pueden ser la misma."),BA.ObjectToCharSequence("ERROR"),ba); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 2783;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then"; +RDebugUtils.currentLine=3932167; + //BA.debugLineNum = 3932167;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then"; if (true) break; case 6: //if this.state = 39; -if ((parent._e_ruta.getText()).equals("KMTS1")) { +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { this.state = 8; }else { this.state = 10; @@ -2729,20 +4958,25 @@ this.state = 10; case 8: //C this.state = 39; - //BA.debugLineNum = 2784;BA.debugLine="cargar.Visible = True"; -parent._cargar.setVisible(parent.__c.True); - //BA.debugLineNum = 2785;BA.debugLine="Subir.Visible = True"; -parent._subir.setVisible(parent.__c.True); - //BA.debugLineNum = 2786;BA.debugLine="e_ruta.Text = \"\""; -parent._e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2787;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, Sta"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ ); +RDebugUtils.currentLine=3932168; + //BA.debugLineNum = 3932168;BA.debugLine="cargar.Visible = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=3932169; + //BA.debugLineNum = 3932169;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=3932170; + //BA.debugLineNum = 3932170;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=3932171; + //BA.debugLineNum = 3932171;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, Sta"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._server /*String*/ ); if (true) break; case 10: //C this.state = 11; - //BA.debugLineNum = 2789;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 1 Then '"; +RDebugUtils.currentLine=3932173; + //BA.debugLineNum = 3932173;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 1 Then '"; if (true) break; case 11: @@ -2750,62 +4984,82 @@ case 11: this.state = 38; if ((_revisaactualizacion.Get((Object)("forzar"))).equals((Object)(1))) { this.state = 13; -}else if((_revisaactualizacion.Get((Object)("forzar"))).equals((Object)(2))) { +}else +{RDebugUtils.currentLine=3932185; + //BA.debugLineNum = 3932185;BA.debugLine="else if revisaActualizacion.Get(\"forzar\") = 2 T"; +if ((_revisaactualizacion.Get((Object)("forzar"))).equals((Object)(2))) { this.state = 15; }else { this.state = 17; -}if (true) break; +}} +if (true) break; case 13: //C this.state = 38; - //BA.debugLineNum = 2794;BA.debugLine="l_forzarActualizacion.TextColor = Colors.black"; -parent._l_forzaractualizacion.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 2795;BA.debugLine="l_forzarActualizacion.Text = \"Hay una nueva ac"; -parent._l_forzaractualizacion.setText(BA.ObjectToCharSequence("Hay una nueva actualización para la aplicación, por favor revise que tenga DATOS y espere mientras se descarga.")); - //BA.debugLineNum = 2796;BA.debugLine="p_transparenteActualizacion.Visible = True"; -parent._p_transparenteactualizacion.setVisible(parent.__c.True); - //BA.debugLineNum = 2797;BA.debugLine="p_transparenteActualizacion.BringToFront"; -parent._p_transparenteactualizacion.BringToFront(); - //BA.debugLineNum = 2798;BA.debugLine="Starter.nuevoLink = $\"https://keymon.net/movil"; +RDebugUtils.currentLine=3932178; + //BA.debugLineNum = 3932178;BA.debugLine="l_forzarActualizacion.TextColor = Colors.black"; +__ref._l_forzaractualizacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=3932179; + //BA.debugLineNum = 3932179;BA.debugLine="l_forzarActualizacion.Text = \"Hay una nueva ac"; +__ref._l_forzaractualizacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Hay una nueva actualización para la aplicación, por favor revise que tenga DATOS y espere mientras se descarga.")); +RDebugUtils.currentLine=3932180; + //BA.debugLineNum = 3932180;BA.debugLine="p_transparenteActualizacion.Visible = True"; +__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=3932181; + //BA.debugLineNum = 3932181;BA.debugLine="p_transparenteActualizacion.BringToFront"; +__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=3932182; + //BA.debugLineNum = 3932182;BA.debugLine="Starter.nuevoLink = $\"https://keymon.net/movil"; parent._starter._nuevolink /*String*/ = ("https://keymon.net/movil/guna/GP_"+parent.__c.SmartStringFormatter("",_revisaactualizacion.Get((Object)("nuevaVersion")))+".apk"); - //BA.debugLineNum = 2799;BA.debugLine="Log(\"Descargar: GP_\" & Starter.newApp.appLink)"; -parent.__c.LogImpl("440501271","Descargar: GP_"+parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .appLink /*String*/ ,0); - //BA.debugLineNum = 2800;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +RDebugUtils.currentLine=3932183; + //BA.debugLineNum = 3932183;BA.debugLine="Log(\"Descargar: GP_\" & Starter.newApp.appLink)"; +parent.__c.LogImpl("03932183","Descargar: GP_"+parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .appLink /*String*/ ,0); +RDebugUtils.currentLine=3932184; + //BA.debugLineNum = 3932184;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; parent.__c.CallSubDelayed(ba,(Object)(parent._appupdater.getObject()),"download_newApk"); if (true) break; case 15: //C this.state = 38; - //BA.debugLineNum = 2802;BA.debugLine="l_forzarActualizacion.TextColor = Colors.red"; -parent._l_forzaractualizacion.setTextColor(parent.__c.Colors.Red); - //BA.debugLineNum = 2803;BA.debugLine="l_forzarActualizacion.Text = \"Es necesaria una"; -parent._l_forzaractualizacion.setText(BA.ObjectToCharSequence("Es necesaria una conexión a internet, por favor revise su conexión y vuelva a intentar.")); - //BA.debugLineNum = 2804;BA.debugLine="p_transparenteActualizacion.Visible = True"; -parent._p_transparenteactualizacion.setVisible(parent.__c.True); - //BA.debugLineNum = 2805;BA.debugLine="p_transparenteActualizacion.BringToFront"; -parent._p_transparenteactualizacion.BringToFront(); - //BA.debugLineNum = 2806;BA.debugLine="Sleep(4500)"; -parent.__c.Sleep(ba,this,(int) (4500)); +RDebugUtils.currentLine=3932186; + //BA.debugLineNum = 3932186;BA.debugLine="l_forzarActualizacion.TextColor = Colors.red"; +__ref._l_forzaractualizacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Red); +RDebugUtils.currentLine=3932187; + //BA.debugLineNum = 3932187;BA.debugLine="l_forzarActualizacion.Text = \"Es necesaria una"; +__ref._l_forzaractualizacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Es necesaria una conexión a internet, por favor revise su conexión y vuelva a intentar.")); +RDebugUtils.currentLine=3932188; + //BA.debugLineNum = 3932188;BA.debugLine="p_transparenteActualizacion.Visible = True"; +__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=3932189; + //BA.debugLineNum = 3932189;BA.debugLine="p_transparenteActualizacion.BringToFront"; +__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=3932190; + //BA.debugLineNum = 3932190;BA.debugLine="Sleep(4500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "connecta_click"),(int) (4500)); this.state = 41; return; case 41: //C this.state = 38; ; - //BA.debugLineNum = 2807;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuario"; +RDebugUtils.currentLine=3932191; + //BA.debugLineNum = 3932191;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuario"; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 2808;BA.debugLine="p_transparenteActualizacion.Visible = False"; -parent._p_transparenteactualizacion.setVisible(parent.__c.False); - //BA.debugLineNum = 2809;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +RDebugUtils.currentLine=3932192; + //BA.debugLineNum = 3932192;BA.debugLine="p_transparenteActualizacion.Visible = False"; +__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=3932193; + //BA.debugLineNum = 3932193;BA.debugLine="B4XPages.ShowPage(\"Login\")"; parent._b4xpages._showpage /*String*/ (ba,"Login"); if (true) break; case 17: //C this.state = 18; - //BA.debugLineNum = 2811;BA.debugLine="Try"; +RDebugUtils.currentLine=3932195; + //BA.debugLineNum = 3932195;BA.debugLine="Try"; if (true) break; case 18: @@ -2819,101 +5073,129 @@ case 20: //C this.state = 21; this.catchState = 36; - //BA.debugLineNum = 2812;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e"; -_i = (int)(Double.parseDouble(parent.__c.Regex.Replace("[^0-9.]",parent._e_ruta.getText(),""))); - //BA.debugLineNum = 2813;BA.debugLine="Log($\"|${i}|\"$)"; -parent.__c.LogImpl("440501285",("|"+parent.__c.SmartStringFormatter("",(Object)(_i))+"|"),0); - //BA.debugLineNum = 2814;BA.debugLine="e_ruta.text = i"; -parent._e_ruta.setText(BA.ObjectToCharSequence(_i)); - //BA.debugLineNum = 2815;BA.debugLine="p_transparenteActualizacion.Visible = False"; -parent._p_transparenteactualizacion.setVisible(parent.__c.False); - //BA.debugLineNum = 2816;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, S"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ ); - //BA.debugLineNum = 2817;BA.debugLine="teclado.HideKeyboard"; -parent._teclado.HideKeyboard(ba); - //BA.debugLineNum = 2818;BA.debugLine="connecta1 = connecta1 + 1"; -parent._connecta1 = parent._connecta1+1; - //BA.debugLineNum = 2820;BA.debugLine="conn = \"1\""; -parent._conn = "1"; - //BA.debugLineNum = 2821;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3932196; + //BA.debugLineNum = 3932196;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e"; +_i = (int)(Double.parseDouble(parent.__c.Regex.Replace("[^0-9.]",__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),""))); +RDebugUtils.currentLine=3932197; + //BA.debugLineNum = 3932197;BA.debugLine="Log($\"|${i}|\"$)"; +parent.__c.LogImpl("03932197",("|"+parent.__c.SmartStringFormatter("",(Object)(_i))+"|"),0); +RDebugUtils.currentLine=3932198; + //BA.debugLineNum = 3932198;BA.debugLine="e_ruta.text = i"; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_i)); +RDebugUtils.currentLine=3932199; + //BA.debugLineNum = 3932199;BA.debugLine="p_transparenteActualizacion.Visible = False"; +__ref._p_transparenteactualizacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=3932200; + //BA.debugLineNum = 3932200;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, S"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._server /*String*/ ); +RDebugUtils.currentLine=3932201; + //BA.debugLineNum = 3932201;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=3932202; + //BA.debugLineNum = 3932202;BA.debugLine="connecta1 = connecta1 + 1"; +__ref._connecta1 /*double*/ = __ref._connecta1 /*double*/ +1; +RDebugUtils.currentLine=3932204; + //BA.debugLineNum = 3932204;BA.debugLine="conn = \"1\""; +__ref._conn /*String*/ = "1"; +RDebugUtils.currentLine=3932205; + //BA.debugLineNum = 3932205;BA.debugLine="Dim cmd As DBCommand"; parent._cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2822;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 2823;BA.debugLine="cmd.Name = \"select_version_GV2\""; -parent._cmd.Name /*String*/ = "select_version_GV2"; - //BA.debugLineNum = 2824;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (parent._cmd,(int) (0),(Object)("version")); - //BA.debugLineNum = 2826;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO, PASS from usuarioa"))); - //BA.debugLineNum = 2827;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 2828;BA.debugLine="If c.RowCount > 0 And c.GetString(\"USUARIO\")"; +RDebugUtils.currentLine=3932206; + //BA.debugLineNum = 3932206;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3932207; + //BA.debugLineNum = 3932207;BA.debugLine="cmd.Name = \"select_version_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_version_GV2"; +RDebugUtils.currentLine=3932208; + //BA.debugLineNum = 3932208;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("version")); +RDebugUtils.currentLine=3932210; + //BA.debugLineNum = 3932210;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO, PASS from usuarioa"))); +RDebugUtils.currentLine=3932211; + //BA.debugLineNum = 3932211;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3932212; + //BA.debugLineNum = 3932212;BA.debugLine="If c.RowCount > 0 And c.GetString(\"USUARIO\")"; if (true) break; case 21: //if this.state = 24; -if (parent._c.getRowCount()>0 && (parent._c.GetString("USUARIO")).equals("KMTS1") == false) { +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0 && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO")).equals("KMTS1") == false) { this.state = 23; }if (true) break; case 23: //C this.state = 24; - //BA.debugLineNum = 2829;BA.debugLine="Private usrT As String = c.GetString(\"USUARI"; -_usrt = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 2830;BA.debugLine="Private passT As String = c.GetString(\"PASS\""; -_passt = parent._c.GetString("PASS"); - //BA.debugLineNum = 2831;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 2832;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\""; -parent._cmd.Name /*String*/ = "select_usuario_guna_GV2_10"; - //BA.debugLineNum = 2833;BA.debugLine="cmd.Parameters = Array As Object(usrT, passT"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usrt),(Object)(_passt)}; - //BA.debugLineNum = 2834;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (parent._cmd,(int) (0),(Object)("usuarioA")); +RDebugUtils.currentLine=3932213; + //BA.debugLineNum = 3932213;BA.debugLine="Private usrT As String = c.GetString(\"USUARI"; +_usrt = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=3932214; + //BA.debugLineNum = 3932214;BA.debugLine="Private passT As String = c.GetString(\"PASS\""; +_passt = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PASS"); +RDebugUtils.currentLine=3932215; + //BA.debugLineNum = 3932215;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3932216; + //BA.debugLineNum = 3932216;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_usuario_guna_GV2_10"; +RDebugUtils.currentLine=3932217; + //BA.debugLineNum = 3932217;BA.debugLine="cmd.Parameters = Array As Object(usrT, passT"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_usrt),(Object)(_passt)}; +RDebugUtils.currentLine=3932218; + //BA.debugLineNum = 3932218;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("usuarioA")); if (true) break; case 24: //C this.state = 25; ; - //BA.debugLineNum = 2836;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 2837;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then"; +RDebugUtils.currentLine=3932220; + //BA.debugLineNum = 3932220;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3932221; + //BA.debugLineNum = 3932221;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then"; if (true) break; case 25: //if this.state = 28; -if ((parent._e_ruta.getText()).equals("BERNA1")) { +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("BERNA1")) { this.state = 27; }if (true) break; case 27: //C this.state = 28; - //BA.debugLineNum = 2838;BA.debugLine="cargar.Visible = True"; -parent._cargar.setVisible(parent.__c.True); - //BA.debugLineNum = 2839;BA.debugLine="Subir.Visible = True"; -parent._subir.setVisible(parent.__c.True); - //BA.debugLineNum = 2840;BA.debugLine="e_ruta.Text = \"\""; -parent._e_ruta.setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=3932222; + //BA.debugLineNum = 3932222;BA.debugLine="cargar.Visible = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=3932223; + //BA.debugLineNum = 3932223;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=3932224; + //BA.debugLineNum = 3932224;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); if (true) break; case 28: //C this.state = 29; ; - //BA.debugLineNum = 2842;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True"; +RDebugUtils.currentLine=3932226; + //BA.debugLineNum = 3932226;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),parent.__c.True); - //BA.debugLineNum = 2843;BA.debugLine="If connecta1 / 2 = 1 Then"; +RDebugUtils.currentLine=3932227; + //BA.debugLineNum = 3932227;BA.debugLine="If connecta1 / 2 = 1 Then"; if (true) break; case 29: //if this.state = 34; -if (parent._connecta1/(double)2==1) { +if (__ref._connecta1 /*double*/ /(double)2==1) { this.state = 31; }else { this.state = 33; @@ -2922,15 +5204,17 @@ this.state = 33; case 31: //C this.state = 34; - //BA.debugLineNum = 2849;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ ); +RDebugUtils.currentLine=3932233; + //BA.debugLineNum = 3932233;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._server /*String*/ ); if (true) break; case 33: //C this.state = 34; - //BA.debugLineNum = 2856;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,"; -parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ ); +RDebugUtils.currentLine=3932240; + //BA.debugLineNum = 3932240;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,"; +parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._server /*String*/ ); if (true) break; case 34: @@ -2943,8 +5227,9 @@ case 36: //C this.state = 37; this.catchState = 0; - //BA.debugLineNum = 2859;BA.debugLine="Log(LastException)"; -parent.__c.LogImpl("440501331",BA.ObjectToString(parent.__c.LastException(ba)),0); +RDebugUtils.currentLine=3932243; + //BA.debugLineNum = 3932243;BA.debugLine="Log(LastException)"; +parent.__c.LogImpl("03932243",BA.ObjectToString(parent.__c.LastException(ba)),0); if (true) break; if (true) break; @@ -2971,7 +5256,8 @@ case 40: //C this.state = -1; ; - //BA.debugLineNum = 2867;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3932251; + //BA.debugLineNum = 3932251;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -2985,265 +5271,401 @@ ba.setLastException(e0);} } } } -public String _connecta_longclick() throws Exception{ +public String _connecta_longclick(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "connecta_longclick", false)) + {return ((String) Debug.delegate(ba, "connecta_longclick", null));} int _i = 0; int _dia = 0; String _dialetra = ""; - //BA.debugLineNum = 2727;BA.debugLine="Private Sub connecta_LongClick"; - //BA.debugLineNum = 2735;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS"))); - //BA.debugLineNum = 2736;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2737;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=3801088; + //BA.debugLineNum = 3801088;BA.debugLine="Private Sub connecta_LongClick"; +RDebugUtils.currentLine=3801096; + //BA.debugLineNum = 3801096;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS"))); +RDebugUtils.currentLine=3801097; + //BA.debugLineNum = 3801097;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3801098; + //BA.debugLineNum = 3801098;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step3 = 1; -final int limit3 = (int) (_c.getRowCount()-1); +final int limit3 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 2738;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 2739;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTime"; +RDebugUtils.currentLine=3801099; + //BA.debugLineNum = 3801099;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3801100; + //BA.debugLineNum = 3801100;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTime"; _dia = __c.DateTime.GetDayOfWeek(__c.DateTime.getNow()); - //BA.debugLineNum = 2740;BA.debugLine="If dia = 2 Then"; +RDebugUtils.currentLine=3801101; + //BA.debugLineNum = 3801101;BA.debugLine="If dia = 2 Then"; if (_dia==2) { - //BA.debugLineNum = 2741;BA.debugLine="Dim dialetra As String = \"LUNES\""; +RDebugUtils.currentLine=3801102; + //BA.debugLineNum = 3801102;BA.debugLine="Dim dialetra As String = \"LUNES\""; _dialetra = "LUNES"; - }else if(_dia==3) { - //BA.debugLineNum = 2743;BA.debugLine="Dim dialetra As String = \"MARTES\""; + }else +{RDebugUtils.currentLine=3801103; + //BA.debugLineNum = 3801103;BA.debugLine="Else If dia = 3 Then"; +if (_dia==3) { +RDebugUtils.currentLine=3801104; + //BA.debugLineNum = 3801104;BA.debugLine="Dim dialetra As String = \"MARTES\""; _dialetra = "MARTES"; - }else if(_dia==4) { - //BA.debugLineNum = 2745;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; + }else +{RDebugUtils.currentLine=3801105; + //BA.debugLineNum = 3801105;BA.debugLine="Else If dia = 4 Then"; +if (_dia==4) { +RDebugUtils.currentLine=3801106; + //BA.debugLineNum = 3801106;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; _dialetra = "MIERCOLES"; - }else if(_dia==5) { - //BA.debugLineNum = 2747;BA.debugLine="Dim dialetra As String = \"JUEVES\""; + }else +{RDebugUtils.currentLine=3801107; + //BA.debugLineNum = 3801107;BA.debugLine="Else If dia = 5 Then"; +if (_dia==5) { +RDebugUtils.currentLine=3801108; + //BA.debugLineNum = 3801108;BA.debugLine="Dim dialetra As String = \"JUEVES\""; _dialetra = "JUEVES"; - }else if(_dia==6) { - //BA.debugLineNum = 2749;BA.debugLine="Dim dialetra As String = \"VIERNES\""; + }else +{RDebugUtils.currentLine=3801109; + //BA.debugLineNum = 3801109;BA.debugLine="Else If dia = 6 Then"; +if (_dia==6) { +RDebugUtils.currentLine=3801110; + //BA.debugLineNum = 3801110;BA.debugLine="Dim dialetra As String = \"VIERNES\""; _dialetra = "VIERNES"; - }else if(_dia==7) { - //BA.debugLineNum = 2751;BA.debugLine="Dim dialetra As String = \"SABADO\""; + }else +{RDebugUtils.currentLine=3801111; + //BA.debugLineNum = 3801111;BA.debugLine="Else If dia = 7 Then"; +if (_dia==7) { +RDebugUtils.currentLine=3801112; + //BA.debugLineNum = 3801112;BA.debugLine="Dim dialetra As String = \"SABADO\""; _dialetra = "SABADO"; - }; - //BA.debugLineNum = 2753;BA.debugLine="Dim cmd As DBCommand"; + }}}}}} +; +RDebugUtils.currentLine=3801114; + //BA.debugLineNum = 3801114;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2754;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2755;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA\""; -_cmd.Name /*String*/ = "insert_clientesnuevos_GUNA"; - //BA.debugLineNum = 2756;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString(\""; -__c.LogImpl("440370205",_c.GetString("CN_ID")+" ,"+_c.GetString("CN_FECHA")+" ,"+_c.GetString("CN_USER")+" ,"+_c.GetString("CN_LAT")+" ,"+_c.GetString("CN_LON")+" ,"+_c.GetString("CN_NOMBRE")+" ,"+_c.GetString("CN_DIRECCION")+" ,"+_almacen+_c.GetString("CN_RUTA")+" ,"+"En espera"+_c.GetString("CN_GIRO")+" ,"+_dialetra+_c.GetString("CN_SOLICITA")+" ,"+_c.GetString("CN_COLONIA")+" ,"+_c.GetString("CN_TELEFONO"),0); - //BA.debugLineNum = 2757;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CN_ID")),(Object)(_c.GetString("CN_FECHA")),(Object)(_c.GetString("CN_USER")),(Object)(_c.GetString("CN_LAT")),(Object)(_c.GetString("CN_LON")),(Object)(_c.GetString("CN_NOMBRE")),(Object)(_c.GetString("CN_DIRECCION")),(Object)(_almacen),(Object)(_c.GetString("CN_RUTA")),(Object)("En espera"),(Object)(_c.GetString("CN_GIRO")),(Object)(_dialetra),(Object)(_c.GetString("CN_SOLICITA")),(Object)(_c.GetString("CN_COLONIA")),(Object)(_c.GetString("CN_TELEFONO")),(Object)(_c.GetString("CN_CP"))}; - //BA.debugLineNum = 2758;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_clientesn")); +RDebugUtils.currentLine=3801115; + //BA.debugLineNum = 3801115;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3801116; + //BA.debugLineNum = 3801116;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_clientesnuevos_GUNA"; +RDebugUtils.currentLine=3801117; + //BA.debugLineNum = 3801117;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString(\""; +__c.LogImpl("03801117",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_ID")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_FECHA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_USER")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LAT")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LON")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_NOMBRE")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_DIRECCION")+" ,"+__ref._almacen /*String*/ +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_RUTA")+" ,"+"En espera"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_GIRO")+" ,"+_dialetra+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_SOLICITA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_COLONIA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_TELEFONO"),0); +RDebugUtils.currentLine=3801118; + //BA.debugLineNum = 3801118;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_ID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LAT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LON")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_NOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_DIRECCION")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_RUTA")),(Object)("En espera"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_GIRO")),(Object)(_dialetra),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_SOLICITA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_COLONIA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_TELEFONO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_CP"))}; +RDebugUtils.currentLine=3801119; + //BA.debugLineNum = 3801119;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_clientesn")); } }; }; - //BA.debugLineNum = 2761;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2762;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3801122; + //BA.debugLineNum = 3801122;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3801123; + //BA.debugLineNum = 3801123;BA.debugLine="End Sub"; return ""; } -public String _e_ruta_click() throws Exception{ +public String _e_ruta_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "e_ruta_click", false)) + {return ((String) Debug.delegate(ba, "e_ruta_click", null));} anywheresoftware.b4a.objects.collections.Map _revisaactualizacion = null; - //BA.debugLineNum = 3858;BA.debugLine="Sub e_ruta_Click"; - //BA.debugLineNum = 3859;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF"; +RDebugUtils.currentLine=5636096; + //BA.debugLineNum = 5636096;BA.debugLine="Sub e_ruta_Click"; +RDebugUtils.currentLine=5636097; + //BA.debugLineNum = 5636097;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF"; _revisaactualizacion = new anywheresoftware.b4a.objects.collections.Map(); _revisaactualizacion = _subs._revisaforzaractualizacion /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 3860;BA.debugLine="Log(\"revisaActualizacion = \" & revisaActualizacio"; -__c.LogImpl("442205186","revisaActualizacion = "+BA.ObjectToString(_revisaactualizacion),0); - //BA.debugLineNum = 3861;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 2 Then"; +RDebugUtils.currentLine=5636098; + //BA.debugLineNum = 5636098;BA.debugLine="Log(\"revisaActualizacion = \" & revisaActualizacio"; +__c.LogImpl("05636098","revisaActualizacion = "+BA.ObjectToString(_revisaactualizacion),0); +RDebugUtils.currentLine=5636099; + //BA.debugLineNum = 5636099;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 2 Then"; if ((_revisaactualizacion.Get((Object)("forzar"))).equals((Object)(2))) { - //BA.debugLineNum = 3862;BA.debugLine="LogColor(\"No hay info de versión para actualizar"; -__c.LogImpl("442205188","No hay info de versión para actualizar en CAT_VARIABLES, traemos la información!",__c.Colors.Red); - //BA.debugLineNum = 3863;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3864;BA.debugLine="cmd.Name = \"selectVersionAppGuna\""; -_cmd.Name /*String*/ = "selectVersionAppGuna"; - //BA.debugLineNum = 3865;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 3866;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("traeVersion")); +RDebugUtils.currentLine=5636100; + //BA.debugLineNum = 5636100;BA.debugLine="LogColor(\"No hay info de versión para actualizar"; +__c.LogImpl("05636100","No hay info de versión para actualizar en CAT_VARIABLES, traemos la información!",__c.Colors.Red); +RDebugUtils.currentLine=5636101; + //BA.debugLineNum = 5636101;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=5636102; + //BA.debugLineNum = 5636102;BA.debugLine="cmd.Name = \"selectVersionAppGuna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "selectVersionAppGuna"; +RDebugUtils.currentLine=5636103; + //BA.debugLineNum = 5636103;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=5636104; + //BA.debugLineNum = 5636104;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("traeVersion")); }; - //BA.debugLineNum = 3868;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5636106; + //BA.debugLineNum = 5636106;BA.debugLine="End Sub"; return ""; } -public String _e_ruta_enterpressed() throws Exception{ - //BA.debugLineNum = 2942;BA.debugLine="Sub e_ruta_EnterPressed"; - //BA.debugLineNum = 2943;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; -if ((_e_ruta.getText()).equals("FIN DIA")) { - //BA.debugLineNum = 2944;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre?"; -_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea hacer el cierre? Todos los datos se borrarán."),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 2945;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; -if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 2946;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; -_bitacora._mandabitacora /*String*/ (_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_usuario,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Fin Día","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","",""); - //BA.debugLineNum = 2947;BA.debugLine="Label22.Visible = False"; -_label22.setVisible(__c.False); - //BA.debugLineNum = 2948;BA.debugLine="l_rutasuplencia.Visible = False"; -_l_rutasuplencia.setVisible(__c.False); - //BA.debugLineNum = 2949;BA.debugLine="l_rutasuplencia.Text = \"\""; -_l_rutasuplencia.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2950;BA.debugLine="b_abordo.Visible = False"; -_b_abordo.setVisible(__c.False); - //BA.debugLineNum = 2951;BA.debugLine="t2.Initialize(\"t2\", 1000) ' 1000 ms = 1 segund"; -_t2.Initialize(ba,"t2",(long) (1000)); - //BA.debugLineNum = 2952;BA.debugLine="t2.Enabled = True"; -_t2.setEnabled(__c.True); +public String _e_ruta_enterpressed(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "e_ruta_enterpressed", false)) + {return ((String) Debug.delegate(ba, "e_ruta_enterpressed", null));} +RDebugUtils.currentLine=4194304; + //BA.debugLineNum = 4194304;BA.debugLine="Sub e_ruta_EnterPressed"; +RDebugUtils.currentLine=4194305; + //BA.debugLineNum = 4194305;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("FIN DIA")) { +RDebugUtils.currentLine=4194306; + //BA.debugLineNum = 4194306;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre?"; +__ref._res /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea hacer el cierre? Todos los datos se borrarán."),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=4194307; + //BA.debugLineNum = 4194307;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +if ((__ref._res /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=4194308; + //BA.debugLineNum = 4194308;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim"; +__ref._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._mandabitacora /*String*/ (null,_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),__ref._usuario /*String*/ ,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Fin Día","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","",""); +RDebugUtils.currentLine=4194309; + //BA.debugLineNum = 4194309;BA.debugLine="Label22.Visible = False"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4194310; + //BA.debugLineNum = 4194310;BA.debugLine="l_rutasuplencia.Visible = False"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4194311; + //BA.debugLineNum = 4194311;BA.debugLine="l_rutasuplencia.Text = \"\""; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=4194312; + //BA.debugLineNum = 4194312;BA.debugLine="b_abordo.Visible = False"; +__ref._b_abordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4194313; + //BA.debugLineNum = 4194313;BA.debugLine="t2.Initialize(\"t2\", 1000) ' 1000 ms = 1 segund"; +__ref._t2 /*anywheresoftware.b4a.objects.Timer*/ .Initialize(ba,"t2",(long) (1000)); +RDebugUtils.currentLine=4194314; + //BA.debugLineNum = 4194314;BA.debugLine="t2.Enabled = True"; +__ref._t2 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.True); }; }; - //BA.debugLineNum = 2956;BA.debugLine="If e_ruta.Text = \"IWL\" Then"; -if ((_e_ruta.getText()).equals("IWL")) { - //BA.debugLineNum = 2958;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 2959;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 2960;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 2961;BA.debugLine="img3.Visible =True"; -_img3.setVisible(__c.True); - //BA.debugLineNum = 2962;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); +RDebugUtils.currentLine=4194318; + //BA.debugLineNum = 4194318;BA.debugLine="If e_ruta.Text = \"IWL\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("IWL")) { +RDebugUtils.currentLine=4194320; + //BA.debugLineNum = 4194320;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4194321; + //BA.debugLineNum = 4194321;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4194322; + //BA.debugLineNum = 4194322;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4194323; + //BA.debugLineNum = 4194323;BA.debugLine="img3.Visible =True"; +__ref._img3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4194324; + //BA.debugLineNum = 4194324;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }; - //BA.debugLineNum = 2965;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then"; -if ((_e_ruta.getText()).equals("SUPLENCIA")) { - //BA.debugLineNum = 2966;BA.debugLine="e_ruta.Text = \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2967;BA.debugLine="E_RUTA2.Visible = True"; -_e_ruta2.setVisible(__c.True); - //BA.debugLineNum = 2968;BA.debugLine="p_ruta2.Visible = True"; -_p_ruta2.setVisible(__c.True); - //BA.debugLineNum = 2969;BA.debugLine="p_somvra_2.Visible = False"; -_p_somvra_2.setVisible(__c.False); +RDebugUtils.currentLine=4194327; + //BA.debugLineNum = 4194327;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("SUPLENCIA")) { +RDebugUtils.currentLine=4194328; + //BA.debugLineNum = 4194328;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=4194329; + //BA.debugLineNum = 4194329;BA.debugLine="E_RUTA2.Visible = True"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4194330; + //BA.debugLineNum = 4194330;BA.debugLine="p_ruta2.Visible = True"; +__ref._p_ruta2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4194331; + //BA.debugLineNum = 4194331;BA.debugLine="p_somvra_2.Visible = False"; +__ref._p_somvra_2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); }; - //BA.debugLineNum = 2971;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4194333; + //BA.debugLineNum = 4194333;BA.debugLine="End Sub"; return ""; } -public String _e_ruta_textchanged(String _old,String _new) throws Exception{ +public String _e_ruta_textchanged(gunav2.keymon.com.mx.c_principal __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "e_ruta_textchanged", false)) + {return ((String) Debug.delegate(ba, "e_ruta_textchanged", new Object[] {_old,_new}));} String _validchars = ""; - //BA.debugLineNum = 3688;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri"; - //BA.debugLineNum = 3689;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV"; +RDebugUtils.currentLine=5177344; + //BA.debugLineNum = 5177344;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri"; +RDebugUtils.currentLine=5177345; + //BA.debugLineNum = 5177345;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV"; _validchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 "; - //BA.debugLineNum = 3691;BA.debugLine="If Old <> \"KMTS1\" Then"; +RDebugUtils.currentLine=5177347; + //BA.debugLineNum = 5177347;BA.debugLine="If Old <> \"KMTS1\" Then"; if ((_old).equals("KMTS1") == false) { - //BA.debugLineNum = 3693;BA.debugLine="Try"; -try { //BA.debugLineNum = 3694;BA.debugLine="If validChars.Contains(New.SubString(New.Length"; +RDebugUtils.currentLine=5177349; + //BA.debugLineNum = 5177349;BA.debugLine="Try"; +try {RDebugUtils.currentLine=5177350; + //BA.debugLineNum = 5177350;BA.debugLine="If validChars.Contains(New.SubString(New.Length"; if (_validchars.contains(_new.substring((int) (_new.length()-1)))==__c.False) { - //BA.debugLineNum = 3695;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)"; -_e_ruta.setText(BA.ObjectToCharSequence(_new.substring((int) (0),(int) (_new.length()-1)))); - //BA.debugLineNum = 3696;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length"; -_e_ruta.setSelectionStart(_e_ruta.getText().length()); +RDebugUtils.currentLine=5177351; + //BA.debugLineNum = 5177351;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)"; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_new.substring((int) (0),(int) (_new.length()-1)))); +RDebugUtils.currentLine=5177352; + //BA.debugLineNum = 5177352;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length"; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setSelectionStart(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()); }; } catch (Exception e9) { ba.setLastException(e9); }; }; - //BA.debugLineNum = 3702;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5177358; + //BA.debugLineNum = 5177358;BA.debugLine="End Sub"; return ""; } -public String _e_ruta2_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 3704;BA.debugLine="Sub e_ruta2_TextChanged (Old As String, New As Str"; - //BA.debugLineNum = 3707;BA.debugLine="If New = e_ruta.text And New <> \"\" Then"; -if ((_new).equals(_e_ruta.getText()) && (_new).equals("") == false) { - //BA.debugLineNum = 3708;BA.debugLine="cargar.Enabled = False"; -_cargar.setEnabled(__c.False); - //BA.debugLineNum = 3709;BA.debugLine="ToastMessageShow(\"Las rutas NO PUEDEN ser iguale"; +public String _e_ruta2_textchanged(gunav2.keymon.com.mx.c_principal __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "e_ruta2_textchanged", false)) + {return ((String) Debug.delegate(ba, "e_ruta2_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=5242880; + //BA.debugLineNum = 5242880;BA.debugLine="Sub e_ruta2_TextChanged (Old As String, New As Str"; +RDebugUtils.currentLine=5242883; + //BA.debugLineNum = 5242883;BA.debugLine="If New = e_ruta.text And New <> \"\" Then"; +if ((_new).equals(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()) && (_new).equals("") == false) { +RDebugUtils.currentLine=5242884; + //BA.debugLineNum = 5242884;BA.debugLine="cargar.Enabled = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=5242885; + //BA.debugLineNum = 5242885;BA.debugLine="ToastMessageShow(\"Las rutas NO PUEDEN ser iguale"; __c.ToastMessageShow(BA.ObjectToCharSequence("Las rutas NO PUEDEN ser iguales!!"),__c.False); }else { - //BA.debugLineNum = 3711;BA.debugLine="cargar.Enabled = True"; -_cargar.setEnabled(__c.True); +RDebugUtils.currentLine=5242887; + //BA.debugLineNum = 5242887;BA.debugLine="cargar.Enabled = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); }; - //BA.debugLineNum = 3713;BA.debugLine="End Sub"; +RDebugUtils.currentLine=5242889; + //BA.debugLineNum = 5242889;BA.debugLine="End Sub"; return ""; } -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 3679;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 3681;BA.debugLine="End Sub"; +public String _gps_locationchanged(gunav2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=5046272; + //BA.debugLineNum = 5046272;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=5046274; + //BA.debugLineNum = 5046274;BA.debugLine="End Sub"; return ""; } -public String _hacer_ped_click() throws Exception{ - //BA.debugLineNum = 3667;BA.debugLine="Sub hacer_ped_Click"; - //BA.debugLineNum = 3668;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -_b4xpages._showpage /*String*/ (ba,"Clientes"); - //BA.debugLineNum = 3669;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 262;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 263;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 264;BA.debugLine="End Sub"; -return null; -} -public String _inv_click() throws Exception{ - //BA.debugLineNum = 2973;BA.debugLine="Sub inv_Click"; - //BA.debugLineNum = 2974;BA.debugLine="img2.Visible =True"; -_img2.setVisible(__c.True); - //BA.debugLineNum = 2975;BA.debugLine="EJECUTANDO = 1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 2976;BA.debugLine="inve = 1"; -_inve = BA.NumberToString(1); - //BA.debugLineNum = 2977;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +public String _inv_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "inv_click", false)) + {return ((String) Debug.delegate(ba, "inv_click", null));} +RDebugUtils.currentLine=4259840; + //BA.debugLineNum = 4259840;BA.debugLine="Sub inv_Click"; +RDebugUtils.currentLine=4259841; + //BA.debugLineNum = 4259841;BA.debugLine="img2.Visible =True"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4259842; + //BA.debugLineNum = 4259842;BA.debugLine="EJECUTANDO = 1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=4259843; + //BA.debugLineNum = 4259843;BA.debugLine="inve = 1"; +__ref._inve /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=4259844; + //BA.debugLineNum = 4259844;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 2978;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4259845; + //BA.debugLineNum = 4259845;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); - //BA.debugLineNum = 2979;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4259846; + //BA.debugLineNum = 4259846;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 2980;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 2981;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2982;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 2983;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2984;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2985;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\""; -_cmd.Name /*String*/ = "select_cat_gunaprod_GV2"; - //BA.debugLineNum = 2986;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 2987;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 2988;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2989;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\""; -_cmd.Name /*String*/ = "select_cat_gunaprod2_GV2"; - //BA.debugLineNum = 2990;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta."; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 2991;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod2")); - //BA.debugLineNum = 2992;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2993;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV2\""; -_cmd.Name /*String*/ = "select_cat_paquetes_GV2"; - //BA.debugLineNum = 2994;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 2995;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp")); - //BA.debugLineNum = 2997;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2998;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\""; -_cmd.Name /*String*/ = "select_cat_detallepa_GV2"; - //BA.debugLineNum = 2999;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 3000;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("detallepaq")); - //BA.debugLineNum = 3002;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 3003;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 3004;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 3005;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 3006;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; +RDebugUtils.currentLine=4259847; + //BA.debugLineNum = 4259847;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=4259848; + //BA.debugLineNum = 4259848;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4259849; + //BA.debugLineNum = 4259849;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=4259850; + //BA.debugLineNum = 4259850;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4259851; + //BA.debugLineNum = 4259851;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=4259852; + //BA.debugLineNum = 4259852;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_gunaprod_GV2"; +RDebugUtils.currentLine=4259853; + //BA.debugLineNum = 4259853;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=4259854; + //BA.debugLineNum = 4259854;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=4259855; + //BA.debugLineNum = 4259855;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=4259856; + //BA.debugLineNum = 4259856;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_gunaprod2_GV2"; +RDebugUtils.currentLine=4259857; + //BA.debugLineNum = 4259857;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta."; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=4259858; + //BA.debugLineNum = 4259858;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod2")); +RDebugUtils.currentLine=4259859; + //BA.debugLineNum = 4259859;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=4259860; + //BA.debugLineNum = 4259860;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_paquetes_GV2"; +RDebugUtils.currentLine=4259861; + //BA.debugLineNum = 4259861;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=4259862; + //BA.debugLineNum = 4259862;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprodp")); +RDebugUtils.currentLine=4259864; + //BA.debugLineNum = 4259864;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=4259865; + //BA.debugLineNum = 4259865;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_detallepa_GV2"; +RDebugUtils.currentLine=4259866; + //BA.debugLineNum = 4259866;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=4259867; + //BA.debugLineNum = 4259867;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("detallepaq")); +RDebugUtils.currentLine=4259869; + //BA.debugLineNum = 4259869;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4259870; + //BA.debugLineNum = 4259870;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4259871; + //BA.debugLineNum = 4259871;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4259872; + //BA.debugLineNum = 4259872;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4259873; + //BA.debugLineNum = 4259873;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; __c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 3007;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4259874; + //BA.debugLineNum = 4259874;BA.debugLine="End Sub"; return ""; } -public String _jobdone(gunav2.keymon.com.mx.httpjob _job) throws Exception{ +public String _jobdone(gunav2.keymon.com.mx.c_principal __ref,gunav2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} gunav2.keymon.com.mx.dbrequestmanager._dbresult _result = null; String _n = ""; Object[] _records = null; @@ -3291,6 +5713,8 @@ String _cat_cl_clasificador4 = ""; String _cat_cl_clasificador3 = ""; String _cat_cl_clasificador2 = ""; String _cat_cl_bcredito = ""; +String _cat_cl_tipo_ruta = ""; +String _cat_cl_dias_visita = ""; String _hp_cliente = ""; String _hp_codigo_promocion = ""; String _promocion = ""; @@ -3395,43 +5819,60 @@ String _cob_marcae = ""; String _cob_portafolio = ""; String _cob_objpp = ""; String _cob_gev = ""; - //BA.debugLineNum = 1579;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1580;BA.debugLine="B4XPages.MainPage.reqManager.trackNext(Job)"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._tracknext /*String*/ (_job); - //BA.debugLineNum = 1581;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")"; -__c.LogImpl("440304642","JOBDONE PRINCIPAL",0); - //BA.debugLineNum = 1587;BA.debugLine="If Job.Success = False Then"; +RDebugUtils.currentLine=3735552; + //BA.debugLineNum = 3735552;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=3735553; + //BA.debugLineNum = 3735553;BA.debugLine="B4XPages.MainPage.reqManager.trackNext(Job)"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._tracknext /*String*/ (null,_job); +RDebugUtils.currentLine=3735554; + //BA.debugLineNum = 3735554;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")"; +__c.LogImpl("03735554","JOBDONE PRINCIPAL",0); +RDebugUtils.currentLine=3735560; + //BA.debugLineNum = 3735560;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 1588;BA.debugLine="If Job.ErrorMessage <> \"STREAM\" Then LogColor(\"E"; +RDebugUtils.currentLine=3735561; + //BA.debugLineNum = 3735561;BA.debugLine="If Job.ErrorMessage <> \"STREAM\" Then LogColor(\"E"; if ((_job._errormessage /*String*/ ).equals("STREAM") == false) { -__c.LogImpl("440304649","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);}; - //BA.debugLineNum = 1590;BA.debugLine="If Job.ErrorMessage = \"STREAM\" Then"; +__c.LogImpl("03735561","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);}; +RDebugUtils.currentLine=3735563; + //BA.debugLineNum = 3735563;BA.debugLine="If Job.ErrorMessage = \"STREAM\" Then"; if ((_job._errormessage /*String*/ ).equals("STREAM")) { - //BA.debugLineNum = 1591;BA.debugLine="If CARGA = \"SUBIR\" Then"; -if ((_carga).equals("SUBIR")) { - //BA.debugLineNum = 1592;BA.debugLine="PB2.Progress = PB2.Progress + PORCENTAJE"; -_pb2.setProgress((int) (_pb2.getProgress()+(double)(Double.parseDouble(_porcentaje)))); - //BA.debugLineNum = 1593;BA.debugLine="S_CP.Text = \"SUBIENDO\""; -_s_cp.setText(BA.ObjectToCharSequence("SUBIENDO")); - //BA.debugLineNum = 1594;BA.debugLine="If PB2.Progress > 99 Then"; -if (_pb2.getProgress()>99) { - //BA.debugLineNum = 1595;BA.debugLine="S_CP.Text = \"VALIDANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("VALIDANDO")); +RDebugUtils.currentLine=3735564; + //BA.debugLineNum = 3735564;BA.debugLine="If CARGA = \"SUBIR\" Then"; +if ((__ref._carga /*String*/ ).equals("SUBIR")) { +RDebugUtils.currentLine=3735565; + //BA.debugLineNum = 3735565;BA.debugLine="PB2.Progress = PB2.Progress + PORCENTAJE"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()+(double)(Double.parseDouble(__ref._porcentaje /*String*/ )))); +RDebugUtils.currentLine=3735566; + //BA.debugLineNum = 3735566;BA.debugLine="S_CP.Text = \"SUBIENDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SUBIENDO")); +RDebugUtils.currentLine=3735567; + //BA.debugLineNum = 3735567;BA.debugLine="If PB2.Progress > 99 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()>99) { +RDebugUtils.currentLine=3735568; + //BA.debugLineNum = 3735568;BA.debugLine="S_CP.Text = \"VALIDANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("VALIDANDO")); }; }; }; }else { - //BA.debugLineNum = 1600;BA.debugLine="LogColor(\"JobDone: '\" & B4XPages.MainPage.reqMan"; -__c.LogImpl("440304661","JobDone: '"+BA.ObjectToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 1602;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735573; + //BA.debugLineNum = 3735573;BA.debugLine="LogColor(\"JobDone: '\" & B4XPages.MainPage.reqMan"; +__c.LogImpl("03735573","JobDone: '"+BA.ObjectToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=3735575; + //BA.debugLineNum = 3735575;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1603;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1604;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag"; +RDebugUtils.currentLine=3735576; + //BA.debugLineNum = 3735576;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735577; + //BA.debugLineNum = 3735577;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("usuarioA"))) { - //BA.debugLineNum = 1605;BA.debugLine="Private n As String = \"Sin Usuario\""; +RDebugUtils.currentLine=3735578; + //BA.debugLineNum = 3735578;BA.debugLine="Private n As String = \"Sin Usuario\""; _n = "Sin Usuario"; - //BA.debugLineNum = 1606;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735579; + //BA.debugLineNum = 3735579;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group20 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen20 = group20.getSize() @@ -3439,41 +5880,56 @@ final int groupLen20 = group20.getSize() ; for (; index20 < groupLen20;index20++){ _records = (Object[])(group20.Get(index20)); - //BA.debugLineNum = 1607;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))"; +RDebugUtils.currentLine=3735580; + //BA.debugLineNum = 3735580;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))"; _n = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]); } }; - //BA.debugLineNum = 1609;BA.debugLine="LogColor(\"************************** \" & n, C"; -__c.LogImpl("440304670","************************** "+_n,__c.Colors.Green); - //BA.debugLineNum = 1610;BA.debugLine="If n = \"OKActivo\" Then"; +RDebugUtils.currentLine=3735582; + //BA.debugLineNum = 3735582;BA.debugLine="LogColor(\"************************** \" & n, C"; +__c.LogImpl("03735582","************************** "+_n,__c.Colors.Green); +RDebugUtils.currentLine=3735583; + //BA.debugLineNum = 3735583;BA.debugLine="If n = \"OKActivo\" Then"; if ((_n).equals("OKActivo")) { - //BA.debugLineNum = 1611;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3735584; + //BA.debugLineNum = 3735584;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1612;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1613;BA.debugLine="cmd.Name = \"select_ruta_GV2_70_13\""; -_cmd.Name /*String*/ = "select_ruta_GV2_70_13"; - //BA.debugLineNum = 1614;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ru"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_usuario)}; - //BA.debugLineNum = 1615;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("ruta")); +RDebugUtils.currentLine=3735585; + //BA.debugLineNum = 3735585;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3735586; + //BA.debugLineNum = 3735586;BA.debugLine="cmd.Name = \"select_ruta_GV2_70_14\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ruta_GV2_70_14"; +RDebugUtils.currentLine=3735587; + //BA.debugLineNum = 3735587;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ru"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._usuario /*String*/ )}; +RDebugUtils.currentLine=3735588; + //BA.debugLineNum = 3735588;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("ruta")); }else { - //BA.debugLineNum = 1618;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; +RDebugUtils.currentLine=3735591; + //BA.debugLineNum = 3735591;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; __c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); - //BA.debugLineNum = 1619;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +RDebugUtils.currentLine=3735592; + //BA.debugLineNum = 3735592;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 1620;BA.debugLine="ExitApplication"; +RDebugUtils.currentLine=3735593; + //BA.debugLineNum = 3735593;BA.debugLine="ExitApplication"; __c.ExitApplication(); }; }; }; - //BA.debugLineNum = 1626;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735599; + //BA.debugLineNum = 3735599;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1627;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1628;BA.debugLine="If RESULT.Tag = \"FOTO\" Then 'query tag"; +RDebugUtils.currentLine=3735600; + //BA.debugLineNum = 3735600;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735601; + //BA.debugLineNum = 3735601;BA.debugLine="If RESULT.Tag = \"FOTO\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("FOTO"))) { - //BA.debugLineNum = 1630;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735603; + //BA.debugLineNum = 3735603;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group40 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen40 = group40.getSize() @@ -3481,25 +5937,34 @@ final int groupLen40 = group40.getSize() ; for (; index40 < groupLen40;index40++){ _records = (Object[])(group40.Get(index40)); - //BA.debugLineNum = 1633;BA.debugLine="Dim CODIGO As String = records(RESULT.Columns"; +RDebugUtils.currentLine=3735606; + //BA.debugLineNum = 3735606;BA.debugLine="Dim CODIGO As String = records(RESULT.Columns"; _codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]); - //BA.debugLineNum = 1634;BA.debugLine="Dim FOTOS As String = records(RESULT.Columns."; +RDebugUtils.currentLine=3735607; + //BA.debugLineNum = 3735607;BA.debugLine="Dim FOTOS As String = records(RESULT.Columns."; _fotos = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLIENTE"))))]); - //BA.debugLineNum = 1635;BA.debugLine="Dim BANDERA As String = records(RESULT.Column"; +RDebugUtils.currentLine=3735608; + //BA.debugLineNum = 3735608;BA.debugLine="Dim BANDERA As String = records(RESULT.Column"; _bandera = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BFOTO"))))]); - //BA.debugLineNum = 1637;BA.debugLine="Dim fot As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=3735610; + //BA.debugLineNum = 3735610;BA.debugLine="Dim fot As Cursor = Starter.skmt.ExecQuery($\""; _fot = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _fot = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * FROM FOTOS WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_codigo))+"'")))); - //BA.debugLineNum = 1638;BA.debugLine="If fot.RowCount = 0 Then"; +RDebugUtils.currentLine=3735611; + //BA.debugLineNum = 3735611;BA.debugLine="If fot.RowCount = 0 Then"; if (_fot.getRowCount()==0) { - //BA.debugLineNum = 1639;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTO"; +RDebugUtils.currentLine=3735612; + //BA.debugLineNum = 3735612;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO FOTOS(CLIENTE,FOTO,MOVIMIENTO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_codigo),(Object)(_fotos),(Object)(_bandera)})); }else { - //BA.debugLineNum = 1641;BA.debugLine="fot.Position = 0"; +RDebugUtils.currentLine=3735614; + //BA.debugLineNum = 3735614;BA.debugLine="fot.Position = 0"; _fot.setPosition((int) (0)); - //BA.debugLineNum = 1642;BA.debugLine="If fot.GetString(\"MOVIMIENTO\") > BANDERA The"; +RDebugUtils.currentLine=3735615; + //BA.debugLineNum = 3735615;BA.debugLine="If fot.GetString(\"MOVIMIENTO\") > BANDERA The"; if ((double)(Double.parseDouble(_fot.GetString("MOVIMIENTO")))>(double)(Double.parseDouble(_bandera))) { - //BA.debugLineNum = 1643;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE FOTOS SE"; +RDebugUtils.currentLine=3735616; + //BA.debugLineNum = 3735616;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE FOTOS SE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE FOTOS SET FOTO = ?, MOVIMIENTO = ? IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fotos),(Object)(_bandera)})); }; }; @@ -3507,13 +5972,17 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE FOTOS SET }; }; }; - //BA.debugLineNum = 1651;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735624; + //BA.debugLineNum = 3735624;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1652;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1653;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag"; +RDebugUtils.currentLine=3735625; + //BA.debugLineNum = 3735625;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735626; + //BA.debugLineNum = 3735626;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("giro"))) { - //BA.debugLineNum = 1654;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735627; + //BA.debugLineNum = 3735627;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group59 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen59 = group59.getSize() @@ -3521,23 +5990,30 @@ final int groupLen59 = group59.getSize() ; for (; index59 < groupLen59;index59++){ _records = (Object[])(group59.Get(index59)); - //BA.debugLineNum = 1655;BA.debugLine="Dim giro As String = records(RESULT.Columns."; +RDebugUtils.currentLine=3735628; + //BA.debugLineNum = 3735628;BA.debugLine="Dim giro As String = records(RESULT.Columns."; _giro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GR_DESCRIPCION"))))]); - //BA.debugLineNum = 1657;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +RDebugUtils.currentLine=3735630; + //BA.debugLineNum = 3735630;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GIRO(GIRO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_giro)})); } }; }; }; - //BA.debugLineNum = 1663;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735636; + //BA.debugLineNum = 3735636;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1664;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1665;BA.debugLine="If RESULT.Tag = \"select_abonosp\" Then 'query ta"; +RDebugUtils.currentLine=3735637; + //BA.debugLineNum = 3735637;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735638; + //BA.debugLineNum = 3735638;BA.debugLine="If RESULT.Tag = \"select_abonosp\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("select_abonosp"))) { - //BA.debugLineNum = 1666;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; +RDebugUtils.currentLine=3735639; + //BA.debugLineNum = 3735639;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ABONOSP"); - //BA.debugLineNum = 1667;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735640; + //BA.debugLineNum = 3735640;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group69 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen69 = group69.getSize() @@ -3545,27 +6021,36 @@ final int groupLen69 = group69.getSize() ; for (; index69 < groupLen69;index69++){ _records = (Object[])(group69.Get(index69)); - //BA.debugLineNum = 1668;BA.debugLine="Dim NOTA As String = records(RESULT.Columns.G"; +RDebugUtils.currentLine=3735641; + //BA.debugLineNum = 3735641;BA.debugLine="Dim NOTA As String = records(RESULT.Columns.G"; _nota = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("NOTA"))))]); - //BA.debugLineNum = 1669;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column"; +RDebugUtils.currentLine=3735642; + //BA.debugLineNum = 3735642;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column"; _cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTE"))))]); - //BA.debugLineNum = 1670;BA.debugLine="Dim SALDO_PENDIENTE As String = records(RESUL"; +RDebugUtils.currentLine=3735643; + //BA.debugLineNum = 3735643;BA.debugLine="Dim SALDO_PENDIENTE As String = records(RESUL"; _saldo_pendiente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("SALDO_PENDIENTE"))))]); - //BA.debugLineNum = 1672;BA.debugLine="Dim FECHA_PAGARE As String = records(RESULT.C"; +RDebugUtils.currentLine=3735645; + //BA.debugLineNum = 3735645;BA.debugLine="Dim FECHA_PAGARE As String = records(RESULT.C"; _fecha_pagare = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA_PREVENTA"))))]); - //BA.debugLineNum = 1673;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; +RDebugUtils.currentLine=3735646; + //BA.debugLineNum = 3735646;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE,FECHA) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nota),(Object)(_cliente),(Object)(_saldo_pendiente),(Object)(_fecha_pagare)})); } }; }; }; - //BA.debugLineNum = 1678;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735651; + //BA.debugLineNum = 3735651;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1679;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req"; -_result1 = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1680;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta"; +RDebugUtils.currentLine=3735652; + //BA.debugLineNum = 3735652;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req"; +_result1 = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735653; + //BA.debugLineNum = 3735653;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta"; if ((_result1.Tag /*Object*/ ).equals((Object)("CHECAENCUESTA"))) { - //BA.debugLineNum = 1681;BA.debugLine="For Each records() As Object In result1.Rows"; +RDebugUtils.currentLine=3735654; + //BA.debugLineNum = 3735654;BA.debugLine="For Each records() As Object In result1.Rows"; { final anywheresoftware.b4a.BA.IterableList group81 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen81 = group81.getSize() @@ -3573,43 +6058,59 @@ final int groupLen81 = group81.getSize() ; for (; index81 < groupLen81;index81++){ _records = (Object[])(group81.Get(index81)); - //BA.debugLineNum = 1682;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul"; +RDebugUtils.currentLine=3735655; + //BA.debugLineNum = 3735655;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul"; _cuantosencuesta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOS"))))]); - //BA.debugLineNum = 1683;BA.debugLine="Log(CUANTOSENCUESTA)"; -__c.LogImpl("440304744",_cuantosencuesta,0); +RDebugUtils.currentLine=3735656; + //BA.debugLineNum = 3735656;BA.debugLine="Log(CUANTOSENCUESTA)"; +__c.LogImpl("03735656",_cuantosencuesta,0); } }; - //BA.debugLineNum = 1685;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=3735658; + //BA.debugLineNum = 3735658;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 1686;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=3735659; + //BA.debugLineNum = 3735659;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1687;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1688;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1689;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then"; +RDebugUtils.currentLine=3735660; + //BA.debugLineNum = 3735660;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=3735661; + //BA.debugLineNum = 3735661;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=3735662; + //BA.debugLineNum = 3735662;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then"; if ((_cuantosencuesta).equals("0")) { - //BA.debugLineNum = 1690;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1691;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\""; -_cmd.Name /*String*/ = "insert_drop_GV2_4"; - //BA.debugLineNum = 1692;BA.debugLine="cmd.Parameters = Array As Object(usuario,B4XP"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._principal /*gunav2.keymon.com.mx.c_principal*/ ._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_sdate),(Object)(""),(Object)(_stime),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("ENCUESTA"),(Object)(_almacen),(Object)(__c.Application.getVersionName()),(Object)(_starter._encuesta /*String*/ )}; - //BA.debugLineNum = 1693;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_drop")); +RDebugUtils.currentLine=3735663; + //BA.debugLineNum = 3735663;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3735664; + //BA.debugLineNum = 3735664;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_GV2_4"; +RDebugUtils.currentLine=3735665; + //BA.debugLineNum = 3735665;BA.debugLine="cmd.Parameters = Array As Object(usuario,B4XP"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._usuario /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._principal /*gunav2.keymon.com.mx.c_principal*/ ._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ ),(Object)(""),(Object)(__ref._stime /*String*/ ),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("ENCUESTA"),(Object)(__ref._almacen /*String*/ ),(Object)(__c.Application.getVersionName()),(Object)(_starter._encuesta /*String*/ )}; +RDebugUtils.currentLine=3735666; + //BA.debugLineNum = 3735666;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); }; }; }; - //BA.debugLineNum = 1698;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735671; + //BA.debugLineNum = 3735671;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1699;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1700;BA.debugLine="If RESULT.Tag = \"traeFechaFotosGuna\" Then 'quer"; +RDebugUtils.currentLine=3735672; + //BA.debugLineNum = 3735672;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735673; + //BA.debugLineNum = 3735673;BA.debugLine="If RESULT.Tag = \"traeFechaFotosGuna\" Then 'quer"; if ((_result.Tag /*Object*/ ).equals((Object)("traeFechaFotosGuna"))) { - //BA.debugLineNum = 1701;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; +RDebugUtils.currentLine=3735674; + //BA.debugLineNum = 3735674;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; _subs._logjobdoneresultados /*String*/ (ba,_result); - //BA.debugLineNum = 1703;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735676; + //BA.debugLineNum = 3735676;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group101 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen101 = group101.getSize() @@ -3617,41 +6118,56 @@ final int groupLen101 = group101.getSize() ; for (; index101 < groupLen101;index101++){ _records = (Object[])(group101.Get(index101)); - //BA.debugLineNum = 1704;BA.debugLine="Private fecha As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3735677; + //BA.debugLineNum = 3735677;BA.debugLine="Private fecha As String = records(RESULT.Colu"; _fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO_FECHA"))))]); - //BA.debugLineNum = 1705;BA.debugLine="Private CLIENTE As String = records(RESULT.Co"; +RDebugUtils.currentLine=3735678; + //BA.debugLineNum = 3735678;BA.debugLine="Private CLIENTE As String = records(RESULT.Co"; _cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1706;BA.debugLine="Private f As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=3735679; + //BA.debugLineNum = 3735679;BA.debugLine="Private f As Cursor = Starter.skmt.ExecQuery("; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from fotos where cliente = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"' and fecha = '"+__c.SmartStringFormatter("",(Object)(_fecha))+"'")))); - //BA.debugLineNum = 1707;BA.debugLine="Log(\"==> EXISTE LA FOTO:\" & f.RowCount)"; -__c.LogImpl("440304768","==> EXISTE LA FOTO:"+BA.NumberToString(_f.getRowCount()),0); - //BA.debugLineNum = 1708;BA.debugLine="If f.RowCount = 0 Then"; -if (_f.getRowCount()==0) { - //BA.debugLineNum = 1709;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1710;BA.debugLine="cmd.Name = \"traeFotoGuna\""; -_cmd.Name /*String*/ = "traeFotoGuna"; - //BA.debugLineNum = 1711;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_cliente)}; - //BA.debugLineNum = 1712;BA.debugLine="Log(\"BUSCAMOS FOTO: \" & ALMACEN &\"|\" & e_rut"; -__c.LogImpl("440304773","BUSCAMOS FOTO: "+_almacen+"|"+_e_ruta.getText()+"|"+_cliente,0); - //BA.debugLineNum = 1713;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)(("traeFotoGuna_"+__c.SmartStringFormatter("",(Object)(_cliente))+""))); - //BA.debugLineNum = 1714;BA.debugLine="Log($\"==>> traeFotoGuna_${CLIENTE}\"$)"; -__c.LogImpl("440304775",("==>> traeFotoGuna_"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from fotos where cliente = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"' and fecha = '"+__c.SmartStringFormatter("",(Object)(__ref._fecha /*String*/ ))+"'")))); +RDebugUtils.currentLine=3735680; + //BA.debugLineNum = 3735680;BA.debugLine="Log(\"==> EXISTE LA FOTO:\" & f.RowCount)"; +__c.LogImpl("03735680","==> EXISTE LA FOTO:"+BA.NumberToString(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=3735681; + //BA.debugLineNum = 3735681;BA.debugLine="If f.RowCount = 0 Then"; +if (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=3735682; + //BA.debugLineNum = 3735682;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3735683; + //BA.debugLineNum = 3735683;BA.debugLine="cmd.Name = \"traeFotoGuna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "traeFotoGuna"; +RDebugUtils.currentLine=3735684; + //BA.debugLineNum = 3735684;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_cliente)}; +RDebugUtils.currentLine=3735685; + //BA.debugLineNum = 3735685;BA.debugLine="Log(\"BUSCAMOS FOTO: \" & ALMACEN &\"|\" & e_rut"; +__c.LogImpl("03735685","BUSCAMOS FOTO: "+__ref._almacen /*String*/ +"|"+__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"|"+_cliente,0); +RDebugUtils.currentLine=3735686; + //BA.debugLineNum = 3735686;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)(("traeFotoGuna_"+__c.SmartStringFormatter("",(Object)(_cliente))+""))); +RDebugUtils.currentLine=3735687; + //BA.debugLineNum = 3735687;BA.debugLine="Log($\"==>> traeFotoGuna_${CLIENTE}\"$)"; +__c.LogImpl("03735687",("==>> traeFotoGuna_"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); }; } }; }; }; - //BA.debugLineNum = 1756;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735729; + //BA.debugLineNum = 3735729;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1757;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1758;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traeFotoGuna"; +RDebugUtils.currentLine=3735730; + //BA.debugLineNum = 3735730;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735731; + //BA.debugLineNum = 3735731;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traeFotoGuna"; if ((BA.ObjectToString(_result.Tag /*Object*/ )).contains("traeFotoGuna_")) { - //BA.debugLineNum = 1759;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735732; + //BA.debugLineNum = 3735732;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group120 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen120 = group120.getSize() @@ -3659,27 +6175,36 @@ final int groupLen120 = group120.getSize() ; for (; index120 < groupLen120;index120++){ _records = (Object[])(group120.Get(index120)); - //BA.debugLineNum = 1760;BA.debugLine="Private FOTO() As Byte = records(RESULT.Colum"; +RDebugUtils.currentLine=3735733; + //BA.debugLineNum = 3735733;BA.debugLine="Private FOTO() As Byte = records(RESULT.Colum"; _foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]); - //BA.debugLineNum = 1761;BA.debugLine="Private CLIENTE As String = records(RESULT.Co"; +RDebugUtils.currentLine=3735734; + //BA.debugLineNum = 3735734;BA.debugLine="Private CLIENTE As String = records(RESULT.Co"; _cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1762;BA.debugLine="Private fecha As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3735735; + //BA.debugLineNum = 3735735;BA.debugLine="Private fecha As String = records(RESULT.Colu"; _fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO_FECHA"))))]); - //BA.debugLineNum = 1763;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE from FOTOS"; +RDebugUtils.currentLine=3735736; + //BA.debugLineNum = 3735736;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE from FOTOS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE from FOTOS where CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'")); - //BA.debugLineNum = 1764;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTOS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO FOTOS(CLIENTE,FOTO,FECHA) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cliente),(Object)(_foto),(Object)(_fecha)})); +RDebugUtils.currentLine=3735737; + //BA.debugLineNum = 3735737;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTOS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO FOTOS(CLIENTE,FOTO,FECHA) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cliente),(Object)(_foto),(Object)(__ref._fecha /*String*/ )})); } }; }; }; - //BA.debugLineNum = 1769;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735742; + //BA.debugLineNum = 3735742;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1770;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1771;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traecodigos\""; +RDebugUtils.currentLine=3735743; + //BA.debugLineNum = 3735743;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735744; + //BA.debugLineNum = 3735744;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traecodigos\""; if ((BA.ObjectToString(_result.Tag /*Object*/ )).contains("traecodigos")) { - //BA.debugLineNum = 1772;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735745; + //BA.debugLineNum = 3735745;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group132 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen132 = group132.getSize() @@ -3687,42 +6212,56 @@ final int groupLen132 = group132.getSize() ; for (; index132 < groupLen132;index132++){ _records = (Object[])(group132.Get(index132)); - //BA.debugLineNum = 1773;BA.debugLine="Private CODIGOCREDITO As String = records(RES"; +RDebugUtils.currentLine=3735746; + //BA.debugLineNum = 3735746;BA.debugLine="Private CODIGOCREDITO As String = records(RES"; _codigocredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLABE"))))]); - //BA.debugLineNum = 1774;BA.debugLine="Private BANDERACREDITO As String = records(RE"; +RDebugUtils.currentLine=3735747; + //BA.debugLineNum = 3735747;BA.debugLine="Private BANDERACREDITO As String = records(RE"; _banderacredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CTA"))))]); - //BA.debugLineNum = 1775;BA.debugLine="Private CLIENTECREDITO As String = records(RE"; +RDebugUtils.currentLine=3735748; + //BA.debugLineNum = 3735748;BA.debugLine="Private CLIENTECREDITO As String = records(RE"; _clientecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1777;BA.debugLine="If l_ruta.Text = \"0\" Then"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1778;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CODI"; +RDebugUtils.currentLine=3735750; + //BA.debugLineNum = 3735750;BA.debugLine="If l_ruta.Text = \"0\" Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=3735751; + //BA.debugLineNum = 3735751;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CODI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CODIGOS_CREDITO(CODIGO,BANDERA,CLIENTE) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_codigocredito),(Object)(_banderacredito),(Object)(_clientecredito)})); }else { - //BA.debugLineNum = 1780;BA.debugLine="Private hdsgf As Cursor = Starter.skmt.ExecQ"; +RDebugUtils.currentLine=3735753; + //BA.debugLineNum = 3735753;BA.debugLine="Private hdsgf As Cursor = Starter.skmt.ExecQ"; _hdsgf = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _hdsgf = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * FROM CODIGOS_CREDITO where CODIGO = '"+__c.SmartStringFormatter("",(Object)(_codigocredito))+"' and BANDERA = '"+__c.SmartStringFormatter("",(Object)(_banderacredito))+"' and CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clientecredito))+"' ")))); - //BA.debugLineNum = 1781;BA.debugLine="If hdsgf.RowCount = 0 Then"; +RDebugUtils.currentLine=3735754; + //BA.debugLineNum = 3735754;BA.debugLine="If hdsgf.RowCount = 0 Then"; if (_hdsgf.getRowCount()==0) { - //BA.debugLineNum = 1782;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO COD"; +RDebugUtils.currentLine=3735755; + //BA.debugLineNum = 3735755;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO COD"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CODIGOS_CREDITO(CODIGO,BANDERA,CLIENTE) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_codigocredito),(Object)(_banderacredito),(Object)(_clientecredito)})); }else { - //BA.debugLineNum = 1784;BA.debugLine="Log(\"NO ENTRO\")"; -__c.LogImpl("440304845","NO ENTRO",0); +RDebugUtils.currentLine=3735757; + //BA.debugLineNum = 3735757;BA.debugLine="Log(\"NO ENTRO\")"; +__c.LogImpl("03735757","NO ENTRO",0); }; }; } }; }; }; - //BA.debugLineNum = 1794;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735767; + //BA.debugLineNum = 3735767;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1795;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1796;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag"; +RDebugUtils.currentLine=3735768; + //BA.debugLineNum = 3735768;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735769; + //BA.debugLineNum = 3735769;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) { - //BA.debugLineNum = 1797;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; -_s_cc.setText(BA.ObjectToCharSequence("CARGANDO")); - //BA.debugLineNum = 1798;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735770; + //BA.debugLineNum = 3735770;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); +RDebugUtils.currentLine=3735771; + //BA.debugLineNum = 3735771;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group153 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen153 = group153.getSize() @@ -3730,474 +6269,664 @@ final int groupLen153 = group153.getSize() ; for (; index153 < groupLen153;index153++){ _records = (Object[])(group153.Get(index153)); - //BA.debugLineNum = 1799;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; +RDebugUtils.currentLine=3735772; + //BA.debugLineNum = 3735772;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; _cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1800;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; +RDebugUtils.currentLine=3735773; + //BA.debugLineNum = 3735773;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; _cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]); - //BA.debugLineNum = 1801;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; +RDebugUtils.currentLine=3735774; + //BA.debugLineNum = 3735774;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; _cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]); - //BA.debugLineNum = 1802;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; +RDebugUtils.currentLine=3735775; + //BA.debugLineNum = 3735775;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; _cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]); - //BA.debugLineNum = 1803;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; +RDebugUtils.currentLine=3735776; + //BA.debugLineNum = 3735776;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; _cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]); - //BA.debugLineNum = 1804;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; +RDebugUtils.currentLine=3735777; + //BA.debugLineNum = 3735777;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; _cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]); - //BA.debugLineNum = 1805;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; +RDebugUtils.currentLine=3735778; + //BA.debugLineNum = 3735778;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; _cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]); - //BA.debugLineNum = 1806;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; +RDebugUtils.currentLine=3735779; + //BA.debugLineNum = 3735779;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; _cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]); - //BA.debugLineNum = 1807;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; +RDebugUtils.currentLine=3735780; + //BA.debugLineNum = 3735780;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; _cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]); - //BA.debugLineNum = 1808;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; +RDebugUtils.currentLine=3735781; + //BA.debugLineNum = 3735781;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; _cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]); - //BA.debugLineNum = 1809;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; +RDebugUtils.currentLine=3735782; + //BA.debugLineNum = 3735782;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; _cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]); - //BA.debugLineNum = 1810;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; +RDebugUtils.currentLine=3735783; + //BA.debugLineNum = 3735783;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; _cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]); - //BA.debugLineNum = 1811;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; +RDebugUtils.currentLine=3735784; + //BA.debugLineNum = 3735784;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; _cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]); - //BA.debugLineNum = 1812;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; +RDebugUtils.currentLine=3735785; + //BA.debugLineNum = 3735785;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; _cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]); - //BA.debugLineNum = 1813;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; +RDebugUtils.currentLine=3735786; + //BA.debugLineNum = 3735786;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; _cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]); - //BA.debugLineNum = 1814;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3735787; + //BA.debugLineNum = 3735787;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; _cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]); - //BA.debugLineNum = 1815;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; +RDebugUtils.currentLine=3735788; + //BA.debugLineNum = 3735788;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; _cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]); - //BA.debugLineNum = 1816;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; +RDebugUtils.currentLine=3735789; + //BA.debugLineNum = 3735789;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; _cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]); - //BA.debugLineNum = 1817;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co"; +RDebugUtils.currentLine=3735790; + //BA.debugLineNum = 3735790;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co"; _cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]); - //BA.debugLineNum = 1818;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +RDebugUtils.currentLine=3735791; + //BA.debugLineNum = 3735791;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; _cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]); - //BA.debugLineNum = 1819;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +RDebugUtils.currentLine=3735792; + //BA.debugLineNum = 3735792;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; _cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]); - //BA.debugLineNum = 1820;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; +RDebugUtils.currentLine=3735793; + //BA.debugLineNum = 3735793;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; _cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]); - //BA.debugLineNum = 1821;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; +RDebugUtils.currentLine=3735794; + //BA.debugLineNum = 3735794;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; _cat_cl_limitecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LIMITECREDITO"))))]); - //BA.debugLineNum = 1822;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE"; +RDebugUtils.currentLine=3735795; + //BA.debugLineNum = 3735795;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE"; _cat_cl_diascredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_DIASCREDITO"))))]); - //BA.debugLineNum = 1823;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records("; +RDebugUtils.currentLine=3735796; + //BA.debugLineNum = 3735796;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records("; _cat_cl_clasificador4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR4"))))]); - //BA.debugLineNum = 1824;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records("; +RDebugUtils.currentLine=3735797; + //BA.debugLineNum = 3735797;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records("; _cat_cl_clasificador3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR3"))))]); - //BA.debugLineNum = 1825;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records("; +RDebugUtils.currentLine=3735798; + //BA.debugLineNum = 3735798;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records("; _cat_cl_clasificador2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR2"))))]); - //BA.debugLineNum = 1829;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +RDebugUtils.currentLine=3735802; + //BA.debugLineNum = 3735802;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; _cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]); - //BA.debugLineNum = 1830;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3735803; + //BA.debugLineNum = 3735803;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_foto),(Object)(_cat_cl_limitecredito),(Object)(_cat_cl_diascredito),(Object)(_cat_cl_clasificador3),(Object)(_cat_cl_clasificador2),(Object)(_cat_cl_clasificador4)})); - //BA.debugLineNum = 1832;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3735805; + //BA.debugLineNum = 3735805;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)})); } }; - //BA.debugLineNum = 1834;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_NUM_SERIEFISICO) VALUES (?,?,?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("0"),(Object)(_e_ruta.getText()),(Object)("ABORDO")})); - //BA.debugLineNum = 1835;BA.debugLine="Listo1 = 1"; -_listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1836;BA.debugLine="S_CC.Text = \"LISTO\""; -_s_cc.setText(BA.ObjectToCharSequence("LISTO")); - //BA.debugLineNum = 1838;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1840;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1841;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); +RDebugUtils.currentLine=3735807; + //BA.debugLineNum = 3735807;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_NUM_SERIEFISICO) VALUES (?,?,?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("0"),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)("ABORDO")})); +RDebugUtils.currentLine=3735808; + //BA.debugLineNum = 3735808;BA.debugLine="Listo1 = 1"; +__ref._listo1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3735809; + //BA.debugLineNum = 3735809;BA.debugLine="S_CC.Text = \"LISTO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); +RDebugUtils.currentLine=3735811; + //BA.debugLineNum = 3735811;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3735813; + //BA.debugLineNum = 3735813;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3735814; + //BA.debugLineNum = 3735814;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1846;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735820; + //BA.debugLineNum = 3735820;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1847;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1848;BA.debugLine="If RESULT.Tag = \"kmt_datos2\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos2"))) { - //BA.debugLineNum = 1849;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; -_s_cc.setText(BA.ObjectToCharSequence("CARGANDO")); - //BA.debugLineNum = 1850;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735821; + //BA.debugLineNum = 3735821;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735822; + //BA.debugLineNum = 3735822;BA.debugLine="If RESULT.Tag = \"kmt_CAT_CATCLIENTESTODOS\" Then"; +if ((_result.Tag /*Object*/ ).equals((Object)("kmt_CAT_CATCLIENTESTODOS"))) { +RDebugUtils.currentLine=3735824; + //BA.debugLineNum = 3735824;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group198 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen198 = group198.getSize() -;int index198 = 0; +final anywheresoftware.b4a.BA.IterableList group197 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen197 = group197.getSize() +;int index197 = 0; ; -for (; index198 < groupLen198;index198++){ -_records = (Object[])(group198.Get(index198)); - //BA.debugLineNum = 1851;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; +for (; index197 < groupLen197;index197++){ +_records = (Object[])(group197.Get(index197)); +RDebugUtils.currentLine=3735825; + //BA.debugLineNum = 3735825;BA.debugLine="Dim CAT_CL_TIPO_RUTA As String = records(RESU"; +_cat_cl_tipo_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPO_RUTA"))))]); +RDebugUtils.currentLine=3735826; + //BA.debugLineNum = 3735826;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE"; +_cat_cl_dias_visita = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_DIAS_VISITA"))))]); +RDebugUtils.currentLine=3735827; + //BA.debugLineNum = 3735827;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; _cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1852;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; +RDebugUtils.currentLine=3735829; + //BA.debugLineNum = 3735829;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records("; +_cat_cl_clasificador3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR3"))))]); +RDebugUtils.currentLine=3735830; + //BA.debugLineNum = 3735830;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records("; +_cat_cl_clasificador4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR4"))))]); +RDebugUtils.currentLine=3735831; + //BA.debugLineNum = 3735831;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records("; +_cat_cl_clasificador2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR2"))))]); +RDebugUtils.currentLine=3735832; + //BA.debugLineNum = 3735832;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; _cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]); - //BA.debugLineNum = 1853;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; +RDebugUtils.currentLine=3735833; + //BA.debugLineNum = 3735833;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; _cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]); - //BA.debugLineNum = 1854;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; +RDebugUtils.currentLine=3735834; + //BA.debugLineNum = 3735834;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; _cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]); - //BA.debugLineNum = 1855;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; +RDebugUtils.currentLine=3735835; + //BA.debugLineNum = 3735835;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; _cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]); - //BA.debugLineNum = 1856;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; +RDebugUtils.currentLine=3735836; + //BA.debugLineNum = 3735836;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; _cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]); - //BA.debugLineNum = 1857;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; +RDebugUtils.currentLine=3735837; + //BA.debugLineNum = 3735837;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; _cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]); - //BA.debugLineNum = 1858;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; +RDebugUtils.currentLine=3735838; + //BA.debugLineNum = 3735838;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; _cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]); - //BA.debugLineNum = 1859;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; +RDebugUtils.currentLine=3735839; + //BA.debugLineNum = 3735839;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; _cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]); - //BA.debugLineNum = 1860;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; +RDebugUtils.currentLine=3735840; + //BA.debugLineNum = 3735840;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; _cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]); - //BA.debugLineNum = 1861;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; +RDebugUtils.currentLine=3735841; + //BA.debugLineNum = 3735841;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; _cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]); - //BA.debugLineNum = 1862;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; +RDebugUtils.currentLine=3735842; + //BA.debugLineNum = 3735842;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; _cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]); - //BA.debugLineNum = 1863;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; +RDebugUtils.currentLine=3735843; + //BA.debugLineNum = 3735843;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; _cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]); - //BA.debugLineNum = 1864;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; +RDebugUtils.currentLine=3735844; + //BA.debugLineNum = 3735844;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; _cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]); - //BA.debugLineNum = 1865;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; +RDebugUtils.currentLine=3735845; + //BA.debugLineNum = 3735845;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; _cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]); - //BA.debugLineNum = 1866;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3735846; + //BA.debugLineNum = 3735846;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; _cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]); - //BA.debugLineNum = 1867;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; +RDebugUtils.currentLine=3735847; + //BA.debugLineNum = 3735847;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; _cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]); - //BA.debugLineNum = 1868;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; +RDebugUtils.currentLine=3735848; + //BA.debugLineNum = 3735848;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; _cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]); - //BA.debugLineNum = 1869;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +RDebugUtils.currentLine=3735849; + //BA.debugLineNum = 3735849;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; _cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]); - //BA.debugLineNum = 1870;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +RDebugUtils.currentLine=3735850; + //BA.debugLineNum = 3735850;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; _cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]); - //BA.debugLineNum = 1871;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; -_cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]); - //BA.debugLineNum = 1872;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co"; -_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]); - //BA.debugLineNum = 1875;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +RDebugUtils.currentLine=3735851; + //BA.debugLineNum = 3735851;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; _cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]); - //BA.debugLineNum = 1876;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_foto)})); - //BA.debugLineNum = 1879;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3735852; + //BA.debugLineNum = 3735852;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE"; +_cat_cl_diascredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_DIASCREDITO"))))]); +RDebugUtils.currentLine=3735853; + //BA.debugLineNum = 3735853;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; +_cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]); +RDebugUtils.currentLine=3735854; + //BA.debugLineNum = 3735854;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; +_cat_cl_limitecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LIMITECREDITO"))))]); +RDebugUtils.currentLine=3735859; + //BA.debugLineNum = 3735859;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]); +RDebugUtils.currentLine=3735860; + //BA.debugLineNum = 3735860;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_CATCLIENTESTODOS(CAT_CL_TIPO_RUTA,CAT_CL_DIAS_VISITA,CAT_CL_CODIGO,CAT_CL_FOTO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR4,CAT_CL_CLASIFICADOR2,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,CAT_CL_BCREDITO,CAT_CL_DIASCREDITO,CAT_CL_TIPOCLIENTE,CAT_CL_LIMITECREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_tipo_ruta),(Object)(_cat_cl_dias_visita),(Object)(_cat_cl_codigo),(Object)(_cat_cl_foto),(Object)(_cat_cl_clasificador3),(Object)(_cat_cl_clasificador4),(Object)(_cat_cl_clasificador2),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_diascredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_limitecredito)})); +RDebugUtils.currentLine=3735862; + //BA.debugLineNum = 3735862;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)})); } }; - //BA.debugLineNum = 1881;BA.debugLine="Listo1 = 1"; -_listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1882;BA.debugLine="S_CC.Text = \"LISTO\""; -_s_cc.setText(BA.ObjectToCharSequence("LISTO")); - //BA.debugLineNum = 1884;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1886;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1887;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); }; }; - }; - //BA.debugLineNum = 1951;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3735869; + //BA.debugLineNum = 3735869;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1952;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1953;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_promos"))) { - //BA.debugLineNum = 1954;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3735870; + //BA.debugLineNum = 3735870;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735871; + //BA.debugLineNum = 3735871;BA.debugLine="If RESULT.Tag = \"kmt_datos2\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos2"))) { +RDebugUtils.currentLine=3735872; + //BA.debugLineNum = 3735872;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); +RDebugUtils.currentLine=3735873; + //BA.debugLineNum = 3735873;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group236 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen236 = group236.getSize() -;int index236 = 0; +final anywheresoftware.b4a.BA.IterableList group237 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen237 = group237.getSize() +;int index237 = 0; ; -for (; index236 < groupLen236;index236++){ -_records = (Object[])(group236.Get(index236)); - //BA.debugLineNum = 1955;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col"; +for (; index237 < groupLen237;index237++){ +_records = (Object[])(group237.Get(index237)); +RDebugUtils.currentLine=3735874; + //BA.debugLineNum = 3735874;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; +_cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); +RDebugUtils.currentLine=3735875; + //BA.debugLineNum = 3735875;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; +_cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]); +RDebugUtils.currentLine=3735876; + //BA.debugLineNum = 3735876;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; +_cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]); +RDebugUtils.currentLine=3735877; + //BA.debugLineNum = 3735877;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; +_cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]); +RDebugUtils.currentLine=3735878; + //BA.debugLineNum = 3735878;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; +_cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]); +RDebugUtils.currentLine=3735879; + //BA.debugLineNum = 3735879;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; +_cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]); +RDebugUtils.currentLine=3735880; + //BA.debugLineNum = 3735880;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; +_cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]); +RDebugUtils.currentLine=3735881; + //BA.debugLineNum = 3735881;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; +_cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]); +RDebugUtils.currentLine=3735882; + //BA.debugLineNum = 3735882;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; +_cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]); +RDebugUtils.currentLine=3735883; + //BA.debugLineNum = 3735883;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; +_cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]); +RDebugUtils.currentLine=3735884; + //BA.debugLineNum = 3735884;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; +_cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]); +RDebugUtils.currentLine=3735885; + //BA.debugLineNum = 3735885;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; +_cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]); +RDebugUtils.currentLine=3735886; + //BA.debugLineNum = 3735886;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; +_cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]); +RDebugUtils.currentLine=3735887; + //BA.debugLineNum = 3735887;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; +_cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]); +RDebugUtils.currentLine=3735888; + //BA.debugLineNum = 3735888;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; +_cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]); +RDebugUtils.currentLine=3735889; + //BA.debugLineNum = 3735889;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; +_cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]); +RDebugUtils.currentLine=3735890; + //BA.debugLineNum = 3735890;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; +_cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]); +RDebugUtils.currentLine=3735891; + //BA.debugLineNum = 3735891;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; +_cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]); +RDebugUtils.currentLine=3735892; + //BA.debugLineNum = 3735892;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]); +RDebugUtils.currentLine=3735893; + //BA.debugLineNum = 3735893;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]); +RDebugUtils.currentLine=3735894; + //BA.debugLineNum = 3735894;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; +_cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]); +RDebugUtils.currentLine=3735895; + //BA.debugLineNum = 3735895;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co"; +_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]); +RDebugUtils.currentLine=3735898; + //BA.debugLineNum = 3735898;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]); +RDebugUtils.currentLine=3735899; + //BA.debugLineNum = 3735899;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_foto)})); +RDebugUtils.currentLine=3735902; + //BA.debugLineNum = 3735902;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)})); + } +}; +RDebugUtils.currentLine=3735904; + //BA.debugLineNum = 3735904;BA.debugLine="Listo1 = 1"; +__ref._listo1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3735905; + //BA.debugLineNum = 3735905;BA.debugLine="S_CC.Text = \"LISTO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); +RDebugUtils.currentLine=3735907; + //BA.debugLineNum = 3735907;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3735909; + //BA.debugLineNum = 3735909;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3735910; + //BA.debugLineNum = 3735910;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=3735974; + //BA.debugLineNum = 3735974;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3735975; + //BA.debugLineNum = 3735975;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735976; + //BA.debugLineNum = 3735976;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_promos"))) { +RDebugUtils.currentLine=3735977; + //BA.debugLineNum = 3735977;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group275 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen275 = group275.getSize() +;int index275 = 0; +; +for (; index275 < groupLen275;index275++){ +_records = (Object[])(group275.Get(index275)); +RDebugUtils.currentLine=3735978; + //BA.debugLineNum = 3735978;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col"; _hp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HP_CLIENTE"))))]); - //BA.debugLineNum = 1956;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R"; +RDebugUtils.currentLine=3735979; + //BA.debugLineNum = 3735979;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R"; _hp_codigo_promocion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HP_CODIGO_PROMOCION"))))]); - //BA.debugLineNum = 1957;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3735980; + //BA.debugLineNum = 3735980;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hp_cliente),(Object)(_hp_codigo_promocion)})); } }; - //BA.debugLineNum = 1960;BA.debugLine="If PB1.Progress = 0 Then"; -if (_pb1.getProgress()==0) { - //BA.debugLineNum = 1961;BA.debugLine="PB1.Progress = 30"; -_pb1.setProgress((int) (30)); - //BA.debugLineNum = 1962;BA.debugLine="S_CH.Text = \"CARGANDO\""; -_s_ch.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb1.getProgress()==30) { - //BA.debugLineNum = 1964;BA.debugLine="PB1.Progress = 60"; -_pb1.setProgress((int) (60)); - }else if(_pb1.getProgress()==60) { - //BA.debugLineNum = 1966;BA.debugLine="PB1.Progress = 100"; -_pb1.setProgress((int) (100)); - //BA.debugLineNum = 1967;BA.debugLine="S_CH.Text = \"LISTO\""; -_s_ch.setText(BA.ObjectToCharSequence("LISTO")); - }; - }; - }; - //BA.debugLineNum = 1972;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1973;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1974;BA.debugLine="If RESULT.Tag = \"histespecial\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("histespecial"))) { - //BA.debugLineNum = 1975;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group255 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen255 = group255.getSize() -;int index255 = 0; +RDebugUtils.currentLine=3735983; + //BA.debugLineNum = 3735983;BA.debugLine="If PB1.Progress = 0 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3735984; + //BA.debugLineNum = 3735984;BA.debugLine="PB1.Progress = 30"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3735985; + //BA.debugLineNum = 3735985;BA.debugLine="S_CH.Text = \"CARGANDO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3735986; + //BA.debugLineNum = 3735986;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3735987; + //BA.debugLineNum = 3735987;BA.debugLine="PB1.Progress = 60"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3735988; + //BA.debugLineNum = 3735988;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3735989; + //BA.debugLineNum = 3735989;BA.debugLine="PB1.Progress = 100"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3735990; + //BA.debugLineNum = 3735990;BA.debugLine="S_CH.Text = \"LISTO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} ; -for (; index255 < groupLen255;index255++){ -_records = (Object[])(group255.Get(index255)); - //BA.debugLineNum = 1976;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column"; + }; + }; +RDebugUtils.currentLine=3735995; + //BA.debugLineNum = 3735995;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3735996; + //BA.debugLineNum = 3735996;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3735997; + //BA.debugLineNum = 3735997;BA.debugLine="If RESULT.Tag = \"histespecial\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("histespecial"))) { +RDebugUtils.currentLine=3735998; + //BA.debugLineNum = 3735998;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group294 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen294 = group294.getSize() +;int index294 = 0; +; +for (; index294 < groupLen294;index294++){ +_records = (Object[])(group294.Get(index294)); +RDebugUtils.currentLine=3735999; + //BA.debugLineNum = 3735999;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column"; _cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTE"))))]); - //BA.debugLineNum = 1977;BA.debugLine="Dim PROMOCION As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736000; + //BA.debugLineNum = 3736000;BA.debugLine="Dim PROMOCION As String = records(RESULT.Colu"; _promocion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("PRMOCION"))))]); - //BA.debugLineNum = 1978;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736001; + //BA.debugLineNum = 3736001;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cliente),(Object)(_promocion)})); } }; - //BA.debugLineNum = 1981;BA.debugLine="If PB1.Progress = 0 Then"; -if (_pb1.getProgress()==0) { - //BA.debugLineNum = 1982;BA.debugLine="PB1.Progress = 30"; -_pb1.setProgress((int) (30)); - //BA.debugLineNum = 1983;BA.debugLine="S_CH.Text = \"CARGANDO\""; -_s_ch.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb1.getProgress()==30) { - //BA.debugLineNum = 1985;BA.debugLine="PB1.Progress = 60"; -_pb1.setProgress((int) (60)); - }else if(_pb1.getProgress()==60) { - //BA.debugLineNum = 1987;BA.debugLine="PB1.Progress = 100"; -_pb1.setProgress((int) (100)); - //BA.debugLineNum = 1988;BA.debugLine="S_CH.Text = \"LISTO\""; -_s_ch.setText(BA.ObjectToCharSequence("LISTO")); - }; - }; - }; - //BA.debugLineNum = 1993;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1994;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1995;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_cliente_promos"))) { - //BA.debugLineNum = 1996;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group274 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen274 = group274.getSize() -;int index274 = 0; +RDebugUtils.currentLine=3736004; + //BA.debugLineNum = 3736004;BA.debugLine="If PB1.Progress = 0 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3736005; + //BA.debugLineNum = 3736005;BA.debugLine="PB1.Progress = 30"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3736006; + //BA.debugLineNum = 3736006;BA.debugLine="S_CH.Text = \"CARGANDO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3736007; + //BA.debugLineNum = 3736007;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3736008; + //BA.debugLineNum = 3736008;BA.debugLine="PB1.Progress = 60"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3736009; + //BA.debugLineNum = 3736009;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3736010; + //BA.debugLineNum = 3736010;BA.debugLine="PB1.Progress = 100"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736011; + //BA.debugLineNum = 3736011;BA.debugLine="S_CH.Text = \"LISTO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} ; -for (; index274 < groupLen274;index274++){ -_records = (Object[])(group274.Get(index274)); - //BA.debugLineNum = 1997;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C"; + }; + }; +RDebugUtils.currentLine=3736016; + //BA.debugLineNum = 3736016;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736017; + //BA.debugLineNum = 3736017;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736018; + //BA.debugLineNum = 3736018;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_cliente_promos"))) { +RDebugUtils.currentLine=3736019; + //BA.debugLineNum = 3736019;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group313 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen313 = group313.getSize() +;int index313 = 0; +; +for (; index313 < groupLen313;index313++){ +_records = (Object[])(group313.Get(index313)); +RDebugUtils.currentLine=3736020; + //BA.debugLineNum = 3736020;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C"; _hccp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_CLIENTE"))))]); - //BA.debugLineNum = 1998;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col"; +RDebugUtils.currentLine=3736021; + //BA.debugLineNum = 3736021;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col"; _hccp_promo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_PROMO"))))]); - //BA.debugLineNum = 1999;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736022; + //BA.debugLineNum = 3736022;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu"; _hccp_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_CANT"))))]); - //BA.debugLineNum = 2000;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736023; + //BA.debugLineNum = 3736023;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_CLIENTE_CANT_PROMOS(HCCP_CLIENTE, HCCP_PROMO, HCCP_CANT) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hccp_cliente),(Object)(_hccp_promo),(Object)(_hccp_cant)})); } }; }; }; - //BA.debugLineNum = 2006;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736029; + //BA.debugLineNum = 3736029;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2007;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2008;BA.debugLine="If RESULT.Tag = \"promodesp\" Then 'query tag"; +RDebugUtils.currentLine=3736030; + //BA.debugLineNum = 3736030;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736031; + //BA.debugLineNum = 3736031;BA.debugLine="If RESULT.Tag = \"promodesp\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("promodesp"))) { - //BA.debugLineNum = 2009;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736032; + //BA.debugLineNum = 3736032;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group285 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen285 = group285.getSize() -;int index285 = 0; +final anywheresoftware.b4a.BA.IterableList group324 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen324 = group324.getSize() +;int index324 = 0; ; -for (; index285 < groupLen285;index285++){ -_records = (Object[])(group285.Get(index285)); - //BA.debugLineNum = 2010;BA.debugLine="Dim CAT_PD_ALMACEN As String = records(RESULT"; +for (; index324 < groupLen324;index324++){ +_records = (Object[])(group324.Get(index324)); +RDebugUtils.currentLine=3736033; + //BA.debugLineNum = 3736033;BA.debugLine="Dim CAT_PD_ALMACEN As String = records(RESULT"; _cat_pd_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_ALMACEN"))))]); - //BA.debugLineNum = 2011;BA.debugLine="Dim CAT_PD_COD_PROMO As String = records(RESU"; +RDebugUtils.currentLine=3736034; + //BA.debugLineNum = 3736034;BA.debugLine="Dim CAT_PD_COD_PROMO As String = records(RESU"; _cat_pd_cod_promo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_COD_PROMO"))))]); - //BA.debugLineNum = 2012;BA.debugLine="Dim CAT_PD_RANGO As String = records(RESULT.C"; +RDebugUtils.currentLine=3736035; + //BA.debugLineNum = 3736035;BA.debugLine="Dim CAT_PD_RANGO As String = records(RESULT.C"; _cat_pd_rango = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_RANGO"))))]); - //BA.debugLineNum = 2013;BA.debugLine="Dim CAT_PD_RANGO2 As String = records(RESULT."; +RDebugUtils.currentLine=3736036; + //BA.debugLineNum = 3736036;BA.debugLine="Dim CAT_PD_RANGO2 As String = records(RESULT."; _cat_pd_rango2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_RANGO2"))))]); - //BA.debugLineNum = 2014;BA.debugLine="Dim CAT_PD_VIGENCIA As String = records(RESUL"; +RDebugUtils.currentLine=3736037; + //BA.debugLineNum = 3736037;BA.debugLine="Dim CAT_PD_VIGENCIA As String = records(RESUL"; _cat_pd_vigencia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_VIGENCIA"))))]); - //BA.debugLineNum = 2015;BA.debugLine="Dim CAT_PD_DESCUENTO As String = records(RESU"; +RDebugUtils.currentLine=3736038; + //BA.debugLineNum = 3736038;BA.debugLine="Dim CAT_PD_DESCUENTO As String = records(RESU"; _cat_pd_descuento = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_DESCUENTO"))))]); - //BA.debugLineNum = 2016;BA.debugLine="Dim CAT_PD_PRODUCTO As String = records(RESUL"; +RDebugUtils.currentLine=3736039; + //BA.debugLineNum = 3736039;BA.debugLine="Dim CAT_PD_PRODUCTO As String = records(RESUL"; _cat_pd_producto = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_PRODUCTO"))))]); - //BA.debugLineNum = 2017;BA.debugLine="Dim CAT_PD_TIER As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736040; + //BA.debugLineNum = 3736040;BA.debugLine="Dim CAT_PD_TIER As String = records(RESULT.Co"; _cat_pd_tier = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_TIER"))))]); - //BA.debugLineNum = 2018;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736041; + //BA.debugLineNum = 3736041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_PROMOS_DESCUENTOS(CAT_PD_ALMACEN, CAT_PD_COD_PROMO, CAT_PD_RANGO, CAT_PD_VIGENCIA, CAT_PD_DESCUENTO, CAT_PD_PRODUCTO, CAT_PD_TIER,CAT_PD_RANGO2) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pd_almacen),(Object)(_cat_pd_cod_promo),(Object)(_cat_pd_rango),(Object)(_cat_pd_vigencia),(Object)(_cat_pd_descuento),(Object)(_cat_pd_producto),(Object)(_cat_pd_tier),(Object)(_cat_pd_rango2)})); } }; }; }; - //BA.debugLineNum = 2023;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736046; + //BA.debugLineNum = 3736046;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2024;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2025;BA.debugLine="If RESULT.Tag = \"HIST_PROM\" Then 'query tag"; +RDebugUtils.currentLine=3736047; + //BA.debugLineNum = 3736047;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736048; + //BA.debugLineNum = 3736048;BA.debugLine="If RESULT.Tag = \"HIST_PROM\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("HIST_PROM"))) { - //BA.debugLineNum = 2027;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736050; + //BA.debugLineNum = 3736050;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group301 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen301 = group301.getSize() -;int index301 = 0; +final anywheresoftware.b4a.BA.IterableList group340 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen340 = group340.getSize() +;int index340 = 0; ; -for (; index301 < groupLen301;index301++){ -_records = (Object[])(group301.Get(index301)); - //BA.debugLineNum = 2028;BA.debugLine="Dim HVD_CLIENTE2 As String = records(RESULT.C"; +for (; index340 < groupLen340;index340++){ +_records = (Object[])(group340.Get(index340)); +RDebugUtils.currentLine=3736051; + //BA.debugLineNum = 3736051;BA.debugLine="Dim HVD_CLIENTE2 As String = records(RESULT.C"; _hvd_cliente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]); - //BA.debugLineNum = 2029;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736052; + //BA.debugLineNum = 3736052;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROMO_ESP(HVD_CLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente2)})); } }; }; }; - //BA.debugLineNum = 2035;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736058; + //BA.debugLineNum = 3736058;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2036;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2037;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer"; +RDebugUtils.currentLine=3736059; + //BA.debugLineNum = 3736059;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736060; + //BA.debugLineNum = 3736060;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer"; if ((_result.Tag /*Object*/ ).equals((Object)("HIST_MARCAS_CUOTAS"))) { - //BA.debugLineNum = 2038;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736061; + //BA.debugLineNum = 3736061;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group310 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen310 = group310.getSize() -;int index310 = 0; +final anywheresoftware.b4a.BA.IterableList group349 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen349 = group349.getSize() +;int index349 = 0; ; -for (; index310 < groupLen310;index310++){ -_records = (Object[])(group310.Get(index310)); - //BA.debugLineNum = 2039;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu"; +for (; index349 < groupLen349;index349++){ +_records = (Object[])(group349.Get(index349)); +RDebugUtils.currentLine=3736062; + //BA.debugLineNum = 3736062;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu"; _hmc_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HMC_MARCA"))))]); - //BA.debugLineNum = 2040;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736063; + //BA.debugLineNum = 3736063;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu"; _hmc_total = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HMC_TOTAL"))))]); - //BA.debugLineNum = 2041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736064; + //BA.debugLineNum = 3736064;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_MARCAS_CUOTAS(HMC_MARCA, HMC_TOTAL) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hmc_marca),(Object)(_hmc_total)})); } }; }; }; - //BA.debugLineNum = 2047;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736070; + //BA.debugLineNum = 3736070;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2048;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2049;BA.debugLine="If RESULT.Tag = \"coordenadas\" Then 'query tag"; +RDebugUtils.currentLine=3736071; + //BA.debugLineNum = 3736071;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736072; + //BA.debugLineNum = 3736072;BA.debugLine="If RESULT.Tag = \"coordenadas\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("coordenadas"))) { - //BA.debugLineNum = 2050;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736073; + //BA.debugLineNum = 3736073;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group320 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen320 = group320.getSize() -;int index320 = 0; +final anywheresoftware.b4a.BA.IterableList group359 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen359 = group359.getSize() +;int index359 = 0; ; -for (; index320 < groupLen320;index320++){ -_records = (Object[])(group320.Get(index320)); - //BA.debugLineNum = 2051;BA.debugLine="Dim latitud As String = records(RESULT.Column"; +for (; index359 < groupLen359;index359++){ +_records = (Object[])(group359.Get(index359)); +RDebugUtils.currentLine=3736074; + //BA.debugLineNum = 3736074;BA.debugLine="Dim latitud As String = records(RESULT.Column"; _latitud = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))]); - //BA.debugLineNum = 2052;BA.debugLine="Dim longitud As String = records(RESULT.Colum"; +RDebugUtils.currentLine=3736075; + //BA.debugLineNum = 3736075;BA.debugLine="Dim longitud As String = records(RESULT.Colum"; _longitud = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]); - //BA.debugLineNum = 2053;BA.debugLine="Dim GEOCERCA As String = records(RESULT.Colum"; +RDebugUtils.currentLine=3736076; + //BA.debugLineNum = 3736076;BA.debugLine="Dim GEOCERCA As String = records(RESULT.Colum"; _geocerca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_GEOCERCA"))))]); - //BA.debugLineNum = 2054;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736077; + //BA.debugLineNum = 3736077;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("LATITUD"),(Object)(_latitud)})); - //BA.debugLineNum = 2055;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736078; + //BA.debugLineNum = 3736078;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("LONGITUD"),(Object)(_longitud)})); - //BA.debugLineNum = 2056;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736079; + //BA.debugLineNum = 3736079;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("GEOCERCA"),(Object)(_geocerca)})); } }; }; }; - //BA.debugLineNum = 2062;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736085; + //BA.debugLineNum = 3736085;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2063;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2064;BA.debugLine="If RESULT.Tag = \"password\" Then 'query tag"; +RDebugUtils.currentLine=3736086; + //BA.debugLineNum = 3736086;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736087; + //BA.debugLineNum = 3736087;BA.debugLine="If RESULT.Tag = \"password\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("password"))) { - //BA.debugLineNum = 2065;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group333 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen333 = group333.getSize() -;int index333 = 0; -; -for (; index333 < groupLen333;index333++){ -_records = (Object[])(group333.Get(index333)); - //BA.debugLineNum = 2066;BA.debugLine="Dim password As String = records(RESULT.Colum"; -_password = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_VALOR"))))]); - //BA.debugLineNum = 2067;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("pasword"),(Object)(_password)})); - } -}; - }; - }; - //BA.debugLineNum = 2073;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2074;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2075;BA.debugLine="If RESULT.Tag = \"KMT_VENTAFUTURA\" Then 'query t"; -if ((_result.Tag /*Object*/ ).equals((Object)("KMT_VENTAFUTURA"))) { - //BA.debugLineNum = 2076;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group342 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen342 = group342.getSize() -;int index342 = 0; -; -for (; index342 < groupLen342;index342++){ -_records = (Object[])(group342.Get(index342)); - //BA.debugLineNum = 2077;BA.debugLine="Dim CAT_RU_VENTAF As String = records(RESULT."; -_cat_ru_ventaf = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_RU_VENTAF"))))]); - //BA.debugLineNum = 2078;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VENTAFUTURA"),(Object)(_cat_ru_ventaf)})); - } -}; - }; - }; - //BA.debugLineNum = 2085;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2086;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2087;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_comp_promos"))) { - //BA.debugLineNum = 2088;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group351 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen351 = group351.getSize() -;int index351 = 0; -; -for (; index351 < groupLen351;index351++){ -_records = (Object[])(group351.Get(index351)); - //BA.debugLineNum = 2089;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu"; -_cat_pa_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_ID"))))]); - //BA.debugLineNum = 2090;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT"; -_cat_pa_maxprom = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROM"))))]); - //BA.debugLineNum = 2091;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES"; -_cat_pa_maxpromrec = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMREC"))))]); - //BA.debugLineNum = 2092;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE"; -_cat_pa_maxpromclie = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMCLIE"))))]); - //BA.debugLineNum = 2093;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pa_id),(Object)(_cat_pa_maxprom),(Object)(_cat_pa_maxpromrec),(Object)(_cat_pa_maxpromclie)})); - } -}; - //BA.debugLineNum = 2095;BA.debugLine="If PB1.Progress = 0 Then"; -if (_pb1.getProgress()==0) { - //BA.debugLineNum = 2096;BA.debugLine="PB1.Progress = 30"; -_pb1.setProgress((int) (30)); - //BA.debugLineNum = 2097;BA.debugLine="S_CH.Text = \"CARGANDO\""; -_s_ch.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb1.getProgress()==30) { - //BA.debugLineNum = 2099;BA.debugLine="PB1.Progress = 60"; -_pb1.setProgress((int) (60)); - }else if(_pb1.getProgress()==60) { - //BA.debugLineNum = 2101;BA.debugLine="PB1.Progress = 100"; -_pb1.setProgress((int) (100)); - //BA.debugLineNum = 2102;BA.debugLine="S_CH.Text = \"LISTO\""; -_s_ch.setText(BA.ObjectToCharSequence("LISTO")); - }; - }; - }; - //BA.debugLineNum = 2119;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2120;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2121;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("marcas_rutas"))) { - //BA.debugLineNum = 2122;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736088; + //BA.debugLineNum = 3736088;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group372 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen372 = group372.getSize() @@ -4205,778 +6934,1122 @@ final int groupLen372 = group372.getSize() ; for (; index372 < groupLen372;index372++){ _records = (Object[])(group372.Get(index372)); - //BA.debugLineNum = 2123;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736089; + //BA.debugLineNum = 3736089;BA.debugLine="Dim password As String = records(RESULT.Colum"; +_password = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_VALOR"))))]); +RDebugUtils.currentLine=3736090; + //BA.debugLineNum = 3736090;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("pasword"),(Object)(_password)})); + } +}; + }; + }; +RDebugUtils.currentLine=3736096; + //BA.debugLineNum = 3736096;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736097; + //BA.debugLineNum = 3736097;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736098; + //BA.debugLineNum = 3736098;BA.debugLine="If RESULT.Tag = \"KMT_VENTAFUTURA\" Then 'query t"; +if ((_result.Tag /*Object*/ ).equals((Object)("KMT_VENTAFUTURA"))) { +RDebugUtils.currentLine=3736099; + //BA.debugLineNum = 3736099;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group381 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen381 = group381.getSize() +;int index381 = 0; +; +for (; index381 < groupLen381;index381++){ +_records = (Object[])(group381.Get(index381)); +RDebugUtils.currentLine=3736100; + //BA.debugLineNum = 3736100;BA.debugLine="Dim CAT_RU_VENTAF As String = records(RESULT."; +_cat_ru_ventaf = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_RU_VENTAF"))))]); +RDebugUtils.currentLine=3736101; + //BA.debugLineNum = 3736101;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VENTAFUTURA"),(Object)(_cat_ru_ventaf)})); + } +}; + }; + }; +RDebugUtils.currentLine=3736108; + //BA.debugLineNum = 3736108;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736109; + //BA.debugLineNum = 3736109;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736110; + //BA.debugLineNum = 3736110;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_comp_promos"))) { +RDebugUtils.currentLine=3736111; + //BA.debugLineNum = 3736111;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group390 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen390 = group390.getSize() +;int index390 = 0; +; +for (; index390 < groupLen390;index390++){ +_records = (Object[])(group390.Get(index390)); +RDebugUtils.currentLine=3736112; + //BA.debugLineNum = 3736112;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu"; +_cat_pa_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_ID"))))]); +RDebugUtils.currentLine=3736113; + //BA.debugLineNum = 3736113;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT"; +_cat_pa_maxprom = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROM"))))]); +RDebugUtils.currentLine=3736114; + //BA.debugLineNum = 3736114;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES"; +_cat_pa_maxpromrec = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMREC"))))]); +RDebugUtils.currentLine=3736115; + //BA.debugLineNum = 3736115;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE"; +_cat_pa_maxpromclie = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMCLIE"))))]); +RDebugUtils.currentLine=3736116; + //BA.debugLineNum = 3736116;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pa_id),(Object)(_cat_pa_maxprom),(Object)(_cat_pa_maxpromrec),(Object)(_cat_pa_maxpromclie)})); + } +}; +RDebugUtils.currentLine=3736118; + //BA.debugLineNum = 3736118;BA.debugLine="If PB1.Progress = 0 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3736119; + //BA.debugLineNum = 3736119;BA.debugLine="PB1.Progress = 30"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3736120; + //BA.debugLineNum = 3736120;BA.debugLine="S_CH.Text = \"CARGANDO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3736121; + //BA.debugLineNum = 3736121;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3736122; + //BA.debugLineNum = 3736122;BA.debugLine="PB1.Progress = 60"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3736123; + //BA.debugLineNum = 3736123;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3736124; + //BA.debugLineNum = 3736124;BA.debugLine="PB1.Progress = 100"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736125; + //BA.debugLineNum = 3736125;BA.debugLine="S_CH.Text = \"LISTO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; + }; + }; +RDebugUtils.currentLine=3736142; + //BA.debugLineNum = 3736142;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736143; + //BA.debugLineNum = 3736143;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736144; + //BA.debugLineNum = 3736144;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("marcas_rutas"))) { +RDebugUtils.currentLine=3736145; + //BA.debugLineNum = 3736145;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group411 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen411 = group411.getSize() +;int index411 = 0; +; +for (; index411 < groupLen411;index411++){ +_records = (Object[])(group411.Get(index411)); +RDebugUtils.currentLine=3736146; + //BA.debugLineNum = 3736146;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu"; _hvd_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_MARCA"))))]); - //BA.debugLineNum = 2124;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum"; +RDebugUtils.currentLine=3736147; + //BA.debugLineNum = 3736147;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum"; _clientes = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTES"))))]); - //BA.debugLineNum = 2125;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736148; + //BA.debugLineNum = 3736148;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO MARCAS_RUTAS(HVD_MARCA, CLIENTES) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_marca),(Object)(_clientes)})); } }; }; }; - //BA.debugLineNum = 2154;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736177; + //BA.debugLineNum = 3736177;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2155;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2156;BA.debugLine="If RESULT.Tag = \"COMISIONES\" Then 'query tag"; +RDebugUtils.currentLine=3736178; + //BA.debugLineNum = 3736178;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736179; + //BA.debugLineNum = 3736179;BA.debugLine="If RESULT.Tag = \"COMISIONES\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("COMISIONES"))) { - //BA.debugLineNum = 2157;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736180; + //BA.debugLineNum = 3736180;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group382 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen382 = group382.getSize() -;int index382 = 0; +final anywheresoftware.b4a.BA.IterableList group421 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen421 = group421.getSize() +;int index421 = 0; ; -for (; index382 < groupLen382;index382++){ -_records = (Object[])(group382.Get(index382)); - //BA.debugLineNum = 2158;BA.debugLine="Dim HCM_TOTAL_V As String = records(RESULT.Co"; +for (; index421 < groupLen421;index421++){ +_records = (Object[])(group421.Get(index421)); +RDebugUtils.currentLine=3736181; + //BA.debugLineNum = 3736181;BA.debugLine="Dim HCM_TOTAL_V As String = records(RESULT.Co"; _hcm_total_v = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_V"))))]); - //BA.debugLineNum = 2159;BA.debugLine="Dim HCM_TOTAL_VIVE As String = records(RESULT"; +RDebugUtils.currentLine=3736182; + //BA.debugLineNum = 3736182;BA.debugLine="Dim HCM_TOTAL_VIVE As String = records(RESULT"; _hcm_total_vive = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_VIVE"))))]); - //BA.debugLineNum = 2160;BA.debugLine="Dim HCM_TOTAL_GUNA As String = records(RESULT"; +RDebugUtils.currentLine=3736183; + //BA.debugLineNum = 3736183;BA.debugLine="Dim HCM_TOTAL_GUNA As String = records(RESULT"; _hcm_total_guna = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_GUNA"))))]); - //BA.debugLineNum = 2161;BA.debugLine="Dim HCM_TOTAL_BEB As String = records(RESULT."; +RDebugUtils.currentLine=3736184; + //BA.debugLineNum = 3736184;BA.debugLine="Dim HCM_TOTAL_BEB As String = records(RESULT."; _hcm_total_beb = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_BEB"))))]); - //BA.debugLineNum = 2162;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736185; + //BA.debugLineNum = 3736185;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_COMISIONES_MOVIL (HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA , HCM_TOTAL_BEB) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hcm_total_v),(Object)(_hcm_total_vive),(Object)(_hcm_total_guna),(Object)(_hcm_total_beb)})); } }; }; }; - //BA.debugLineNum = 2167;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736190; + //BA.debugLineNum = 3736190;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2168;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2169;BA.debugLine="If RESULT.Tag = \"ENCUESTA_CLIENTE\" Then 'query"; +RDebugUtils.currentLine=3736191; + //BA.debugLineNum = 3736191;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736192; + //BA.debugLineNum = 3736192;BA.debugLine="If RESULT.Tag = \"ENCUESTA_CLIENTE\" Then 'query"; if ((_result.Tag /*Object*/ ).equals((Object)("ENCUESTA_CLIENTE"))) { - //BA.debugLineNum = 2170;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736193; + //BA.debugLineNum = 3736193;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group394 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen394 = group394.getSize() -;int index394 = 0; +final anywheresoftware.b4a.BA.IterableList group433 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen433 = group433.getSize() +;int index433 = 0; ; -for (; index394 < groupLen394;index394++){ -_records = (Object[])(group394.Get(index394)); - //BA.debugLineNum = 2171;BA.debugLine="Dim HEC_CLIENTE As String = records(RESULT.Co"; +for (; index433 < groupLen433;index433++){ +_records = (Object[])(group433.Get(index433)); +RDebugUtils.currentLine=3736194; + //BA.debugLineNum = 3736194;BA.debugLine="Dim HEC_CLIENTE As String = records(RESULT.Co"; _hec_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HEC_CLIENTE"))))]); - //BA.debugLineNum = 2172;BA.debugLine="Dim HEC_MODULO As String = records(RESULT.Col"; +RDebugUtils.currentLine=3736195; + //BA.debugLineNum = 3736195;BA.debugLine="Dim HEC_MODULO As String = records(RESULT.Col"; _hec_modulo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HEC_MODULO"))))]); - //BA.debugLineNum = 2173;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736196; + //BA.debugLineNum = 3736196;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA_CLIENTE (HEC_CLIENTE , HEC_MODULO) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hec_cliente),(Object)(_hec_modulo)})); } }; }; }; - //BA.debugLineNum = 2178;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736201; + //BA.debugLineNum = 3736201;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2179;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2180;BA.debugLine="If RESULT.Tag = \"promoesp\" Then 'query tag"; +RDebugUtils.currentLine=3736202; + //BA.debugLineNum = 3736202;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736203; + //BA.debugLineNum = 3736203;BA.debugLine="If RESULT.Tag = \"promoesp\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("promoesp"))) { - //BA.debugLineNum = 2181;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; +RDebugUtils.currentLine=3736204; + //BA.debugLineNum = 3736204;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_PROMO_ESP"); - //BA.debugLineNum = 2182;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736205; + //BA.debugLineNum = 3736205;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group405 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen405 = group405.getSize() -;int index405 = 0; +final anywheresoftware.b4a.BA.IterableList group444 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen444 = group444.getSize() +;int index444 = 0; ; -for (; index405 < groupLen405;index405++){ -_records = (Object[])(group405.Get(index405)); - //BA.debugLineNum = 2183;BA.debugLine="Dim CAT_PE_ID As String = records(RESULT.Colu"; +for (; index444 < groupLen444;index444++){ +_records = (Object[])(group444.Get(index444)); +RDebugUtils.currentLine=3736206; + //BA.debugLineNum = 3736206;BA.debugLine="Dim CAT_PE_ID As String = records(RESULT.Colu"; _cat_pe_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PE_ID"))))]); - //BA.debugLineNum = 2184;BA.debugLine="Dim CAT_PE_IDPROMO As String = records(RESULT"; +RDebugUtils.currentLine=3736207; + //BA.debugLineNum = 3736207;BA.debugLine="Dim CAT_PE_IDPROMO As String = records(RESULT"; _cat_pe_idpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PE_IDPROMO"))))]); - //BA.debugLineNum = 2185;BA.debugLine="Dim CAT_PE_MONTO As String = records(RESULT.C"; +RDebugUtils.currentLine=3736208; + //BA.debugLineNum = 3736208;BA.debugLine="Dim CAT_PE_MONTO As String = records(RESULT.C"; _cat_pe_monto = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PE_MONTO"))))]); - //BA.debugLineNum = 2186;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736209; + //BA.debugLineNum = 3736209;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_PROMO_ESP(CAT_PE_ID, CAT_PE_IDPROMO, CAT_PE_MONTO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pe_id),(Object)(_cat_pe_idpromo),(Object)(_cat_pe_monto)})); } }; }; }; - //BA.debugLineNum = 2192;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736215; + //BA.debugLineNum = 3736215;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2193;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2194;BA.debugLine="If RESULT.Tag = \"HIST_ENCUESTA2\" Then 'query ta"; +RDebugUtils.currentLine=3736216; + //BA.debugLineNum = 3736216;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736217; + //BA.debugLineNum = 3736217;BA.debugLine="If RESULT.Tag = \"HIST_ENCUESTA2\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("HIST_ENCUESTA2"))) { - //BA.debugLineNum = 2195;BA.debugLine="B4XPages.MainPage.skmt.BeginTransaction"; +RDebugUtils.currentLine=3736218; + //BA.debugLineNum = 3736218;BA.debugLine="B4XPages.MainPage.skmt.BeginTransaction"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 2196;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736219; + //BA.debugLineNum = 3736219;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group417 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen417 = group417.getSize() -;int index417 = 0; +final anywheresoftware.b4a.BA.IterableList group456 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen456 = group456.getSize() +;int index456 = 0; ; -for (; index417 < groupLen417;index417++){ -_records = (Object[])(group417.Get(index417)); - //BA.debugLineNum = 2197;BA.debugLine="Dim HE_CLIENTE As String = records(RESULT.Col"; +for (; index456 < groupLen456;index456++){ +_records = (Object[])(group456.Get(index456)); +RDebugUtils.currentLine=3736220; + //BA.debugLineNum = 3736220;BA.debugLine="Dim HE_CLIENTE As String = records(RESULT.Col"; _he_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HE_CLIENTE"))))]); - //BA.debugLineNum = 2198;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736221; + //BA.debugLineNum = 3736221;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA2(HE_CLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_he_cliente)})); } }; - //BA.debugLineNum = 2200;BA.debugLine="B4XPages.MainPage.skmt.TransactionSuccessful"; +RDebugUtils.currentLine=3736223; + //BA.debugLineNum = 3736223;BA.debugLine="B4XPages.MainPage.skmt.TransactionSuccessful"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 2201;BA.debugLine="B4XPages.MainPage.skmt.EndTransaction"; +RDebugUtils.currentLine=3736224; + //BA.debugLineNum = 3736224;BA.debugLine="B4XPages.MainPage.skmt.EndTransaction"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); }; }; - //BA.debugLineNum = 2205;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736228; + //BA.debugLineNum = 3736228;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2206;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2207;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag"; +RDebugUtils.currentLine=3736229; + //BA.debugLineNum = 3736229;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736230; + //BA.debugLineNum = 3736230;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) { - //BA.debugLineNum = 2208;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; -if (_pb2.getProgress()<30) { -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));}; - //BA.debugLineNum = 2209;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736231; + //BA.debugLineNum = 3736231;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()<30) { +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO"));}; +RDebugUtils.currentLine=3736232; + //BA.debugLineNum = 3736232;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group429 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen429 = group429.getSize() -;int index429 = 0; +final anywheresoftware.b4a.BA.IterableList group468 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen468 = group468.getSize() +;int index468 = 0; ; -for (; index429 < groupLen429;index429++){ -_records = (Object[])(group429.Get(index429)); - //BA.debugLineNum = 2210;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +for (; index468 < groupLen468;index468++){ +_records = (Object[])(group468.Get(index468)); +RDebugUtils.currentLine=3736233; + //BA.debugLineNum = 3736233;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 2211;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +RDebugUtils.currentLine=3736234; + //BA.debugLineNum = 3736234;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 2212;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736235; + //BA.debugLineNum = 3736235;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 2213;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736236; + //BA.debugLineNum = 3736236;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 2214;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +RDebugUtils.currentLine=3736237; + //BA.debugLineNum = 3736237;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 2215;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +RDebugUtils.currentLine=3736238; + //BA.debugLineNum = 3736238;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 2216;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +RDebugUtils.currentLine=3736239; + //BA.debugLineNum = 3736239;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 2217;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736240; + //BA.debugLineNum = 3736240;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 2218;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +RDebugUtils.currentLine=3736241; + //BA.debugLineNum = 3736241;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 2219;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +RDebugUtils.currentLine=3736242; + //BA.debugLineNum = 3736242;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 2220;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +RDebugUtils.currentLine=3736243; + //BA.debugLineNum = 3736243;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; _cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 2221;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col"; +RDebugUtils.currentLine=3736244; + //BA.debugLineNum = 3736244;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col"; _cat_gp_dev = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_DEV"))))]); - //BA.debugLineNum = 2222;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +RDebugUtils.currentLine=3736245; + //BA.debugLineNum = 3736245;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; _cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 2223;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; +RDebugUtils.currentLine=3736246; + //BA.debugLineNum = 3736246;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; _cat_gp_iniciativa = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_INICIATIVA"))))])); - //BA.debugLineNum = 2224;BA.debugLine="Dim CAT_LISTAPRECIO As String = records(RESUL"; +RDebugUtils.currentLine=3736247; + //BA.debugLineNum = 3736247;BA.debugLine="Dim CAT_LISTAPRECIO As String = records(RESUL"; _cat_listaprecio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LISTAPRECIO"))))]); - //BA.debugLineNum = 2225;BA.debugLine="Dim CAT_GP_CONVERSION3 As String = records(RE"; +RDebugUtils.currentLine=3736248; + //BA.debugLineNum = 3736248;BA.debugLine="Dim CAT_GP_CONVERSION3 As String = records(RE"; _cat_gp_conversion3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CONVERSION3"))))]); - //BA.debugLineNum = 2226;BA.debugLine="Dim CAT_GP_CONVERSION2 As String = records(RE"; +RDebugUtils.currentLine=3736249; + //BA.debugLineNum = 3736249;BA.debugLine="Dim CAT_GP_CONVERSION2 As String = records(RE"; _cat_gp_conversion2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CONVERSION2"))))]); - //BA.debugLineNum = 2230;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736253; + //BA.debugLineNum = 3736253;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_LISTAPRECIO, CAT_GP_DEV, CAT_GP_CONVERSION3,CAT_GP_CONVERSION2) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_listaprecio),(Object)(_cat_gp_dev),(Object)(_cat_gp_conversion3),(Object)(_cat_gp_conversion2)})); } }; - //BA.debugLineNum = 2232;BA.debugLine="Listo2=1"; -_listo2 = BA.NumberToString(1); - //BA.debugLineNum = 2233;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 2234;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 2235;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 2237;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 2239;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 2240;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 2243;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2245;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2246;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 2251;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2252;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2253;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod2"))) { - //BA.debugLineNum = 2254;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; -if (_pb2.getProgress()<30) { -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));}; - //BA.debugLineNum = 2255;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group469 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen469 = group469.getSize() -;int index469 = 0; +RDebugUtils.currentLine=3736255; + //BA.debugLineNum = 3736255;BA.debugLine="Listo2=1"; +__ref._listo2 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3736256; + //BA.debugLineNum = 3736256;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3736257; + //BA.debugLineNum = 3736257;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3736258; + //BA.debugLineNum = 3736258;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3736259; + //BA.debugLineNum = 3736259;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3736260; + //BA.debugLineNum = 3736260;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3736261; + //BA.debugLineNum = 3736261;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3736262; + //BA.debugLineNum = 3736262;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736263; + //BA.debugLineNum = 3736263;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} ; -for (; index469 < groupLen469;index469++){ -_records = (Object[])(group469.Get(index469)); - //BA.debugLineNum = 2256;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736266; + //BA.debugLineNum = 3736266;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736268; + //BA.debugLineNum = 3736268;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736269; + //BA.debugLineNum = 3736269;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=3736274; + //BA.debugLineNum = 3736274;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736275; + //BA.debugLineNum = 3736275;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736276; + //BA.debugLineNum = 3736276;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod2"))) { +RDebugUtils.currentLine=3736277; + //BA.debugLineNum = 3736277;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()<30) { +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO"));}; +RDebugUtils.currentLine=3736278; + //BA.debugLineNum = 3736278;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group508 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen508 = group508.getSize() +;int index508 = 0; +; +for (; index508 < groupLen508;index508++){ +_records = (Object[])(group508.Get(index508)); +RDebugUtils.currentLine=3736279; + //BA.debugLineNum = 3736279;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 2257;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +RDebugUtils.currentLine=3736280; + //BA.debugLineNum = 3736280;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 2258;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736281; + //BA.debugLineNum = 3736281;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 2259;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736282; + //BA.debugLineNum = 3736282;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 2260;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +RDebugUtils.currentLine=3736283; + //BA.debugLineNum = 3736283;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 2261;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +RDebugUtils.currentLine=3736284; + //BA.debugLineNum = 3736284;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 2262;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +RDebugUtils.currentLine=3736285; + //BA.debugLineNum = 3736285;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 2263;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736286; + //BA.debugLineNum = 3736286;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 2264;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +RDebugUtils.currentLine=3736287; + //BA.debugLineNum = 3736287;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 2265;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +RDebugUtils.currentLine=3736288; + //BA.debugLineNum = 3736288;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 2266;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +RDebugUtils.currentLine=3736289; + //BA.debugLineNum = 3736289;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; _cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 2268;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +RDebugUtils.currentLine=3736291; + //BA.debugLineNum = 3736291;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; _cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 2269;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; +RDebugUtils.currentLine=3736292; + //BA.debugLineNum = 3736292;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; _cat_gp_iniciativa = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_INICIATIVA"))))])); - //BA.debugLineNum = 2270;BA.debugLine="Dim CAT_GP_CODPROMO As String = records(RESUL"; +RDebugUtils.currentLine=3736293; + //BA.debugLineNum = 3736293;BA.debugLine="Dim CAT_GP_CODPROMO As String = records(RESUL"; _cat_gp_codpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CODPROMO"))))]); - //BA.debugLineNum = 2273;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736296; + //BA.debugLineNum = 3736296;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_GP_CODPROMO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_gp_codpromo)})); } }; - //BA.debugLineNum = 2275;BA.debugLine="Listo2=1"; -_listo2 = BA.NumberToString(1); - //BA.debugLineNum = 2276;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 2277;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 2278;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 2280;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 2282;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 2283;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 2286;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2288;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2289;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 2294;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2295;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2296;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { - //BA.debugLineNum = 2297;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group505 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen505 = group505.getSize() -;int index505 = 0; +RDebugUtils.currentLine=3736298; + //BA.debugLineNum = 3736298;BA.debugLine="Listo2=1"; +__ref._listo2 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3736299; + //BA.debugLineNum = 3736299;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3736300; + //BA.debugLineNum = 3736300;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3736301; + //BA.debugLineNum = 3736301;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3736302; + //BA.debugLineNum = 3736302;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3736303; + //BA.debugLineNum = 3736303;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3736304; + //BA.debugLineNum = 3736304;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3736305; + //BA.debugLineNum = 3736305;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736306; + //BA.debugLineNum = 3736306;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} ; -for (; index505 < groupLen505;index505++){ -_records = (Object[])(group505.Get(index505)); - //BA.debugLineNum = 2298;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736309; + //BA.debugLineNum = 3736309;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736311; + //BA.debugLineNum = 3736311;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736312; + //BA.debugLineNum = 3736312;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=3736317; + //BA.debugLineNum = 3736317;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736318; + //BA.debugLineNum = 3736318;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736319; + //BA.debugLineNum = 3736319;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { +RDebugUtils.currentLine=3736320; + //BA.debugLineNum = 3736320;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group544 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen544 = group544.getSize() +;int index544 = 0; +; +for (; index544 < groupLen544;index544++){ +_records = (Object[])(group544.Get(index544)); +RDebugUtils.currentLine=3736321; + //BA.debugLineNum = 3736321;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 2299;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +RDebugUtils.currentLine=3736322; + //BA.debugLineNum = 3736322;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 2300;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736323; + //BA.debugLineNum = 3736323;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 2301;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736324; + //BA.debugLineNum = 3736324;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 2302;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +RDebugUtils.currentLine=3736325; + //BA.debugLineNum = 3736325;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 2303;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +RDebugUtils.currentLine=3736326; + //BA.debugLineNum = 3736326;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 2304;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +RDebugUtils.currentLine=3736327; + //BA.debugLineNum = 3736327;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 2305;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736328; + //BA.debugLineNum = 3736328;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 2306;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +RDebugUtils.currentLine=3736329; + //BA.debugLineNum = 3736329;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 2307;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +RDebugUtils.currentLine=3736330; + //BA.debugLineNum = 3736330;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 2308;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +RDebugUtils.currentLine=3736331; + //BA.debugLineNum = 3736331;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; _cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 2309;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +RDebugUtils.currentLine=3736332; + //BA.debugLineNum = 3736332;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; _cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 2310;BA.debugLine="Dim CAT_PA_BSEGMENTA As String = records(RESU"; +RDebugUtils.currentLine=3736333; + //BA.debugLineNum = 3736333;BA.debugLine="Dim CAT_PA_BSEGMENTA As String = records(RESU"; _cat_pa_bsegmenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_BSEGMENTA"))))]); - //BA.debugLineNum = 2311;BA.debugLine="Dim CAT_PA_SEGMENTAV As String = records(RESU"; +RDebugUtils.currentLine=3736334; + //BA.debugLineNum = 3736334;BA.debugLine="Dim CAT_PA_SEGMENTAV As String = records(RESU"; _cat_pa_segmentav = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_SEGMENTAV"))))]); - //BA.debugLineNum = 2312;BA.debugLine="CAT_GP_TIPOPROD = \"5\""; +RDebugUtils.currentLine=3736335; + //BA.debugLineNum = 3736335;BA.debugLine="CAT_GP_TIPOPROD = \"5\""; _cat_gp_tipoprod = (int)(Double.parseDouble("5")); - //BA.debugLineNum = 2313;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then"; +RDebugUtils.currentLine=3736336; + //BA.debugLineNum = 3736336;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then"; if ((_cat_gp_id).equals("PAQUNI003")) { - //BA.debugLineNum = 2314;BA.debugLine="CAT_GP_ALMACEN = 60"; +RDebugUtils.currentLine=3736337; + //BA.debugLineNum = 3736337;BA.debugLine="CAT_GP_ALMACEN = 60"; _cat_gp_almacen = (int) (60); }; - //BA.debugLineNum = 2316;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736339; + //BA.debugLineNum = 3736339;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_PA_BSEGMENTA,CAT_PA_SEGMENTAV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_pa_bsegmenta),(Object)(_cat_pa_segmentav)})); - //BA.debugLineNum = 2320;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736343; + //BA.debugLineNum = 3736343;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_PA_BSEGMENTA,CAT_PA_SEGMENTAV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_pa_bsegmenta),(Object)(_cat_pa_segmentav)})); } }; - //BA.debugLineNum = 2323;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 2324;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 2325;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 2327;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 2329;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 2330;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 2333;BA.debugLine="Listo4=1"; -_listo4 = BA.NumberToString(1); - //BA.debugLineNum = 2334;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2336;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2337;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2340;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2341;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 2346;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2347;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2348;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodps"))) { - //BA.debugLineNum = 2349;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group549 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen549 = group549.getSize() -;int index549 = 0; +RDebugUtils.currentLine=3736346; + //BA.debugLineNum = 3736346;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3736347; + //BA.debugLineNum = 3736347;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3736348; + //BA.debugLineNum = 3736348;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3736349; + //BA.debugLineNum = 3736349;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3736350; + //BA.debugLineNum = 3736350;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3736351; + //BA.debugLineNum = 3736351;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3736352; + //BA.debugLineNum = 3736352;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736353; + //BA.debugLineNum = 3736353;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} ; -for (; index549 < groupLen549;index549++){ -_records = (Object[])(group549.Get(index549)); - //BA.debugLineNum = 2350;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736356; + //BA.debugLineNum = 3736356;BA.debugLine="Listo4=1"; +__ref._listo4 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3736357; + //BA.debugLineNum = 3736357;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736359; + //BA.debugLineNum = 3736359;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736360; + //BA.debugLineNum = 3736360;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=3736361; + //BA.debugLineNum = 3736361;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +if ((__ref._listo4 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._inve /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736363; + //BA.debugLineNum = 3736363;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736364; + //BA.debugLineNum = 3736364;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=3736369; + //BA.debugLineNum = 3736369;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736370; + //BA.debugLineNum = 3736370;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736371; + //BA.debugLineNum = 3736371;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodps"))) { +RDebugUtils.currentLine=3736372; + //BA.debugLineNum = 3736372;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group588 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen588 = group588.getSize() +;int index588 = 0; +; +for (; index588 < groupLen588;index588++){ +_records = (Object[])(group588.Get(index588)); +RDebugUtils.currentLine=3736373; + //BA.debugLineNum = 3736373;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 2351;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +RDebugUtils.currentLine=3736374; + //BA.debugLineNum = 3736374;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 2352;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736375; + //BA.debugLineNum = 3736375;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 2353;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736376; + //BA.debugLineNum = 3736376;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 2354;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +RDebugUtils.currentLine=3736377; + //BA.debugLineNum = 3736377;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 2355;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +RDebugUtils.currentLine=3736378; + //BA.debugLineNum = 3736378;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 2356;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +RDebugUtils.currentLine=3736379; + //BA.debugLineNum = 3736379;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 2357;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736380; + //BA.debugLineNum = 3736380;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 2358;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +RDebugUtils.currentLine=3736381; + //BA.debugLineNum = 3736381;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 2359;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +RDebugUtils.currentLine=3736382; + //BA.debugLineNum = 3736382;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 2360;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +RDebugUtils.currentLine=3736383; + //BA.debugLineNum = 3736383;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; _cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 2361;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +RDebugUtils.currentLine=3736384; + //BA.debugLineNum = 3736384;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; _cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 2362;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736385; + //BA.debugLineNum = 3736385;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)})); } }; - //BA.debugLineNum = 2364;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 2365;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 2366;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 2369;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 2371;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 2372;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 2376;BA.debugLine="Listo4=1"; -_listo4 = BA.NumberToString(1); - //BA.debugLineNum = 2377;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2379;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2380;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2383;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2384;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 2389;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2390;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2391;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { - //BA.debugLineNum = 2392;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group586 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen586 = group586.getSize() -;int index586 = 0; +RDebugUtils.currentLine=3736387; + //BA.debugLineNum = 3736387;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3736388; + //BA.debugLineNum = 3736388;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3736389; + //BA.debugLineNum = 3736389;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3736391; + //BA.debugLineNum = 3736391;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3736392; + //BA.debugLineNum = 3736392;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3736393; + //BA.debugLineNum = 3736393;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3736394; + //BA.debugLineNum = 3736394;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736395; + //BA.debugLineNum = 3736395;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} ; -for (; index586 < groupLen586;index586++){ -_records = (Object[])(group586.Get(index586)); - //BA.debugLineNum = 2393;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(RESUL"; +RDebugUtils.currentLine=3736399; + //BA.debugLineNum = 3736399;BA.debugLine="Listo4=1"; +__ref._listo4 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3736400; + //BA.debugLineNum = 3736400;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736402; + //BA.debugLineNum = 3736402;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736403; + //BA.debugLineNum = 3736403;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=3736404; + //BA.debugLineNum = 3736404;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +if ((__ref._listo4 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._inve /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736406; + //BA.debugLineNum = 3736406;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736407; + //BA.debugLineNum = 3736407;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=3736412; + //BA.debugLineNum = 3736412;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736413; + //BA.debugLineNum = 3736413;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736414; + //BA.debugLineNum = 3736414;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { +RDebugUtils.currentLine=3736415; + //BA.debugLineNum = 3736415;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group625 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen625 = group625.getSize() +;int index625 = 0; +; +for (; index625 < groupLen625;index625++){ +_records = (Object[])(group625.Get(index625)); +RDebugUtils.currentLine=3736416; + //BA.debugLineNum = 3736416;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(RESUL"; _cat_dp_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ALMACEN"))))]); - //BA.debugLineNum = 2394;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736417; + //BA.debugLineNum = 3736417;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu"; _cat_dp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ID"))))]); - //BA.debugLineNum = 2395;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT."; +RDebugUtils.currentLine=3736418; + //BA.debugLineNum = 3736418;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT."; _cat_dp_idprod = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IDPROD"))))]); - //BA.debugLineNum = 2396;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736419; + //BA.debugLineNum = 3736419;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co"; _cat_dp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_TIPO"))))]); - //BA.debugLineNum = 2397;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736420; + //BA.debugLineNum = 3736420;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co"; _cat_dp_pzas = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PZAS"))))]); - //BA.debugLineNum = 2398;BA.debugLine="Dim CAT_DP_USUARIO As String = records(RESUL"; +RDebugUtils.currentLine=3736421; + //BA.debugLineNum = 3736421;BA.debugLine="Dim CAT_DP_USUARIO As String = records(RESUL"; _cat_dp_usuario = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_USUARIO"))))]); - //BA.debugLineNum = 2399;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C"; +RDebugUtils.currentLine=3736422; + //BA.debugLineNum = 3736422;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C"; _cat_dp_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_FECHA"))))]); - //BA.debugLineNum = 2400;BA.debugLine="Dim CAT_DP_REGALO As String = records(RESULT"; +RDebugUtils.currentLine=3736423; + //BA.debugLineNum = 3736423;BA.debugLine="Dim CAT_DP_REGALO As String = records(RESULT"; _cat_dp_regalo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_REGALO"))))]); - //BA.debugLineNum = 2401;BA.debugLine="Dim CAT_DP_CLASIF As String = records(RESULT"; +RDebugUtils.currentLine=3736424; + //BA.debugLineNum = 3736424;BA.debugLine="Dim CAT_DP_CLASIF As String = records(RESULT"; _cat_dp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CLASIF"))))]); - //BA.debugLineNum = 2402;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT."; +RDebugUtils.currentLine=3736425; + //BA.debugLineNum = 3736425;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT."; _cat_dp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO"))))]); - //BA.debugLineNum = 2403;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; +RDebugUtils.currentLine=3736426; + //BA.debugLineNum = 3736426;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; _cat_dp_precio_simptos = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO_SIMPTOS"))))]); - //BA.debugLineNum = 2404;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736427; + //BA.debugLineNum = 3736427;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_dp_almacen),(Object)(_cat_dp_id),(Object)(_cat_dp_idprod),(Object)(_cat_dp_tipo),(Object)(_cat_dp_pzas),(Object)(_cat_dp_usuario),(Object)(_cat_dp_fecha),(Object)(_cat_dp_regalo),(Object)(_cat_dp_clasif),(Object)(_cat_dp_precio),(Object)(_cat_dp_precio_simptos)})); } }; - //BA.debugLineNum = 2406;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 2407;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 2408;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 2410;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 2412;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 2413;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 2415;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 2416;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2418;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2419;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2422;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2423;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 2428;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2429;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2430;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { - //BA.debugLineNum = 2431;BA.debugLine="Dim cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 2432;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group623 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen623 = group623.getSize() -;int index623 = 0; +RDebugUtils.currentLine=3736429; + //BA.debugLineNum = 3736429;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3736430; + //BA.debugLineNum = 3736430;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3736431; + //BA.debugLineNum = 3736431;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3736432; + //BA.debugLineNum = 3736432;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3736433; + //BA.debugLineNum = 3736433;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3736434; + //BA.debugLineNum = 3736434;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3736435; + //BA.debugLineNum = 3736435;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736436; + //BA.debugLineNum = 3736436;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} ; -for (; index623 < groupLen623;index623++){ -_records = (Object[])(group623.Get(index623)); - //BA.debugLineNum = 2433;BA.debugLine="cont = cont +1"; +RDebugUtils.currentLine=3736438; + //BA.debugLineNum = 3736438;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3736439; + //BA.debugLineNum = 3736439;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736441; + //BA.debugLineNum = 3736441;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736442; + //BA.debugLineNum = 3736442;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=3736443; + //BA.debugLineNum = 3736443;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +if ((__ref._listo4 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._inve /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736445; + //BA.debugLineNum = 3736445;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736446; + //BA.debugLineNum = 3736446;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=3736451; + //BA.debugLineNum = 3736451;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736452; + //BA.debugLineNum = 3736452;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736453; + //BA.debugLineNum = 3736453;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { +RDebugUtils.currentLine=3736454; + //BA.debugLineNum = 3736454;BA.debugLine="Dim cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=3736455; + //BA.debugLineNum = 3736455;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group662 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen662 = group662.getSize() +;int index662 = 0; +; +for (; index662 < groupLen662;index662++){ +_records = (Object[])(group662.Get(index662)); +RDebugUtils.currentLine=3736456; + //BA.debugLineNum = 3736456;BA.debugLine="cont = cont +1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 2434;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736457; + //BA.debugLineNum = 3736457;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co"; _hvd_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]); - //BA.debugLineNum = 2435;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT."; +RDebugUtils.currentLine=3736458; + //BA.debugLineNum = 3736458;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT."; _hvd_pronombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PRONOMBRE"))))]); - //BA.debugLineNum = 2436;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum"; +RDebugUtils.currentLine=3736459; + //BA.debugLineNum = 3736459;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum"; _hvd_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANT"))))]); - //BA.debugLineNum = 2437;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT."; +RDebugUtils.currentLine=3736460; + //BA.debugLineNum = 3736460;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT."; _hvd_costo_tot = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_COSTO_TOT"))))]); - //BA.debugLineNum = 2438;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736461; + //BA.debugLineNum = 3736461;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu"; _hvd_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_FECHA"))))]); - //BA.debugLineNum = 2440;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736463; + //BA.debugLineNum = 3736463;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA) VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha)})); } }; - //BA.debugLineNum = 2442;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 2443;BA.debugLine="If PB1.Progress = 0 Then"; -if (_pb1.getProgress()==0) { - //BA.debugLineNum = 2444;BA.debugLine="PB1.Progress = 30"; -_pb1.setProgress((int) (30)); - //BA.debugLineNum = 2445;BA.debugLine="S_CH.Text = \"CARGANDO\""; -_s_ch.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb1.getProgress()==30) { - //BA.debugLineNum = 2447;BA.debugLine="PB1.Progress = 60"; -_pb1.setProgress((int) (60)); - }else if(_pb1.getProgress()==60) { - //BA.debugLineNum = 2449;BA.debugLine="PB1.Progress = 100"; -_pb1.setProgress((int) (100)); - //BA.debugLineNum = 2450;BA.debugLine="S_CH.Text = \"LISTO\""; -_s_ch.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 2453;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2455;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2456;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 2461;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2462;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2463;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { - //BA.debugLineNum = 2464;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group651 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen651 = group651.getSize() -;int index651 = 0; +RDebugUtils.currentLine=3736465; + //BA.debugLineNum = 3736465;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3736466; + //BA.debugLineNum = 3736466;BA.debugLine="If PB1.Progress = 0 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=3736467; + //BA.debugLineNum = 3736467;BA.debugLine="PB1.Progress = 30"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=3736468; + //BA.debugLineNum = 3736468;BA.debugLine="S_CH.Text = \"CARGANDO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=3736469; + //BA.debugLineNum = 3736469;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=3736470; + //BA.debugLineNum = 3736470;BA.debugLine="PB1.Progress = 60"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=3736471; + //BA.debugLineNum = 3736471;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=3736472; + //BA.debugLineNum = 3736472;BA.debugLine="PB1.Progress = 100"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736473; + //BA.debugLineNum = 3736473;BA.debugLine="S_CH.Text = \"LISTO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} ; -for (; index651 < groupLen651;index651++){ -_records = (Object[])(group651.Get(index651)); - //BA.debugLineNum = 2465;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE"; +RDebugUtils.currentLine=3736476; + //BA.debugLineNum = 3736476;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo2 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo4 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3736478; + //BA.debugLineNum = 3736478;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736479; + //BA.debugLineNum = 3736479;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=3736484; + //BA.debugLineNum = 3736484;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736485; + //BA.debugLineNum = 3736485;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736486; + //BA.debugLineNum = 3736486;BA.debugLine="If RESULT.Tag = \"hist_ventastodos\" Then 'query"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_ventastodos"))) { +RDebugUtils.currentLine=3736488; + //BA.debugLineNum = 3736488;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group690 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen690 = group690.getSize() +;int index690 = 0; +; +for (; index690 < groupLen690;index690++){ +_records = (Object[])(group690.Get(index690)); +RDebugUtils.currentLine=3736490; + //BA.debugLineNum = 3736490;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co"; +_hvd_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]); +RDebugUtils.currentLine=3736491; + //BA.debugLineNum = 3736491;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT."; +_hvd_pronombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PRONOMBRE"))))]); +RDebugUtils.currentLine=3736492; + //BA.debugLineNum = 3736492;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum"; +_hvd_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANT"))))]); +RDebugUtils.currentLine=3736493; + //BA.debugLineNum = 3736493;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT."; +_hvd_costo_tot = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_COSTO_TOT"))))]); +RDebugUtils.currentLine=3736494; + //BA.debugLineNum = 3736494;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu"; +_hvd_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_FECHA"))))]); +RDebugUtils.currentLine=3736495; + //BA.debugLineNum = 3736495;BA.debugLine="Log(HVD_CLIENTE&\"--\"&HVD_PRONOMBRE&\"--\"&HVD_C"; +__c.LogImpl("03736495",_hvd_cliente+"--"+_hvd_pronombre+"--"+_hvd_cant+"--"+_hvd_costo_tot,0); +RDebugUtils.currentLine=3736496; + //BA.debugLineNum = 3736496;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO hist_ventastodos(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA) VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha)})); + } +}; + }; + }; +RDebugUtils.currentLine=3736502; + //BA.debugLineNum = 3736502;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736503; + //BA.debugLineNum = 3736503;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736504; + //BA.debugLineNum = 3736504;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { +RDebugUtils.currentLine=3736505; + //BA.debugLineNum = 3736505;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group704 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen704 = group704.getSize() +;int index704 = 0; +; +for (; index704 < groupLen704;index704++){ +_records = (Object[])(group704.Get(index704)); +RDebugUtils.currentLine=3736506; + //BA.debugLineNum = 3736506;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE"; _cat_va_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_DESCRIPCION"))))]); - //BA.debugLineNum = 2466;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; +RDebugUtils.currentLine=3736507; + //BA.debugLineNum = 3736507;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; _cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_VALOR"))))]); - //BA.debugLineNum = 2467;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736508; + //BA.debugLineNum = 3736508;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_va_descripcion),(Object)(_cat_va_valor)})); } }; }; }; - //BA.debugLineNum = 2472;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736513; + //BA.debugLineNum = 3736513;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2473;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2474;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag"; +RDebugUtils.currentLine=3736514; + //BA.debugLineNum = 3736514;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736515; + //BA.debugLineNum = 3736515;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("CUESTIONARIO"))) { - //BA.debugLineNum = 2475;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736516; + //BA.debugLineNum = 3736516;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group661 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen661 = group661.getSize() -;int index661 = 0; +final anywheresoftware.b4a.BA.IterableList group714 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen714 = group714.getSize() +;int index714 = 0; ; -for (; index661 < groupLen661;index661++){ -_records = (Object[])(group661.Get(index661)); - //BA.debugLineNum = 2476;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; +for (; index714 < groupLen714;index714++){ +_records = (Object[])(group714.Get(index714)); +RDebugUtils.currentLine=3736517; + //BA.debugLineNum = 3736517;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; _cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VALOR"))))]); - //BA.debugLineNum = 2477;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE"; +RDebugUtils.currentLine=3736518; + //BA.debugLineNum = 3736518;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CUESTIONARIO")})); - //BA.debugLineNum = 2478;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736519; + //BA.debugLineNum = 3736519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CUESTIONARIO"),(Object)(_cat_va_valor)})); } }; }; }; - //BA.debugLineNum = 2483;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736524; + //BA.debugLineNum = 3736524;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2484;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2485;BA.debugLine="If RESULT.Tag = \"carga_encuesta\" Then 'query ta"; +RDebugUtils.currentLine=3736525; + //BA.debugLineNum = 3736525;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736526; + //BA.debugLineNum = 3736526;BA.debugLine="If RESULT.Tag = \"carga_encuesta\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("carga_encuesta"))) { - //BA.debugLineNum = 2486;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736527; + //BA.debugLineNum = 3736527;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group671 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen671 = group671.getSize() -;int index671 = 0; +final anywheresoftware.b4a.BA.IterableList group724 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen724 = group724.getSize() +;int index724 = 0; ; -for (; index671 < groupLen671;index671++){ -_records = (Object[])(group671.Get(index671)); - //BA.debugLineNum = 2487;BA.debugLine="Dim CAT_EP_ID As String = records(RESULT.COLU"; +for (; index724 < groupLen724;index724++){ +_records = (Object[])(group724.Get(index724)); +RDebugUtils.currentLine=3736528; + //BA.debugLineNum = 3736528;BA.debugLine="Dim CAT_EP_ID As String = records(RESULT.COLU"; _cat_ep_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_ID"))))]); - //BA.debugLineNum = 2488;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records"; +RDebugUtils.currentLine=3736529; + //BA.debugLineNum = 3736529;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records"; _cat_ep_idtipopregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_IDTIPOPREGUNTA"))))]); - //BA.debugLineNum = 2489;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(RE"; +RDebugUtils.currentLine=3736530; + //BA.debugLineNum = 3736530;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(RE"; _cat_ce_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CE_DESCRIPCION"))))]); - //BA.debugLineNum = 2490;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(RESUL"; +RDebugUtils.currentLine=3736531; + //BA.debugLineNum = 3736531;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(RESUL"; _cat_ep_pregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_PREGUNTA"))))]); - //BA.debugLineNum = 2491;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(RESU"; +RDebugUtils.currentLine=3736532; + //BA.debugLineNum = 3736532;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(RESU"; _cat_ep_res1_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES1_PRED"))))]); - //BA.debugLineNum = 2492;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(RESU"; +RDebugUtils.currentLine=3736533; + //BA.debugLineNum = 3736533;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(RESU"; _cat_ep_res2_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES2_PRED"))))]); - //BA.debugLineNum = 2493;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(RESU"; +RDebugUtils.currentLine=3736534; + //BA.debugLineNum = 3736534;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(RESU"; _cat_ep_res3_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES3_PRED"))))]); - //BA.debugLineNum = 2494;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records"; +RDebugUtils.currentLine=3736535; + //BA.debugLineNum = 3736535;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records"; _cat_ep_orden_pregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_ORDEN_PREGUNTA"))))]); - //BA.debugLineNum = 2495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736536; + //BA.debugLineNum = 3736536;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ENCUESTA_PREGUNTA (CAT_EP_ID ,CAT_EP_IDTIPOPREGUNTA ,CAT_CE_DESCRIPCION ,CAT_EP_PREGUNTA ,CAT_EP_RES1_PRED ,CAT_EP_RES2_PRED ,CAT_EP_RES3_PRED ,CAT_EP_ORDEN_PREGUNTA ) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ep_id),(Object)(_cat_ep_idtipopregunta),(Object)(_cat_ce_descripcion),(Object)(_cat_ep_pregunta),(Object)(_cat_ep_res1_pred),(Object)(_cat_ep_res2_pred),(Object)(_cat_ep_res3_pred),(Object)(_cat_ep_orden_pregunta)})); } }; }; }; - //BA.debugLineNum = 2500;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736541; + //BA.debugLineNum = 3736541;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2501;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2502;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag"; +RDebugUtils.currentLine=3736542; + //BA.debugLineNum = 3736542;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736543; + //BA.debugLineNum = 3736543;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { - //BA.debugLineNum = 2503;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group687 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen687 = group687.getSize() -;int index687 = 0; -; -for (; index687 < groupLen687;index687++){ -_records = (Object[])(group687.Get(index687)); - //BA.debugLineNum = 2504;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns."; -_cuantosp = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSP"))))])); - //BA.debugLineNum = 2507;BA.debugLine="If cuantos_pedido < = CUANTOSP Then"; -if ((double)(Double.parseDouble(_cuantos_pedido))<=_cuantosp) { - //BA.debugLineNum = 2509;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - //BA.debugLineNum = 2510;BA.debugLine="S_CP.Text = \"INFO OK\""; -_s_cp.setText(BA.ObjectToCharSequence("INFO OK")); - //BA.debugLineNum = 2511;BA.debugLine="B_OK_PAS.Text = \"OK\""; -_b_ok_pas.setText(BA.ObjectToCharSequence("OK")); - }else { - //BA.debugLineNum = 2513;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+_cuantos_pedido),__c.True);}; - //BA.debugLineNum = 2514;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\""; -_s_cp.setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-2)")); - }; - } -}; - }; - }; - //BA.debugLineNum = 2520;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2521;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2522;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { - //BA.debugLineNum = 2523;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group703 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen703 = group703.getSize() -;int index703 = 0; -; -for (; index703 < groupLen703;index703++){ -_records = (Object[])(group703.Get(index703)); - //BA.debugLineNum = 2524;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns."; -_cuantosc = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSC"))))])); - //BA.debugLineNum = 2525;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; -if ((_cuantos_pedidosc).equals(BA.NumberToString(_cuantosc))) { - //BA.debugLineNum = 2527;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 2529;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+_cuantos_pedidosc),__c.True);}; - }; - } -}; - }; - }; - //BA.debugLineNum = 2535;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2536;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2537;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { - //BA.debugLineNum = 2538;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group716 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen716 = group716.getSize() -;int index716 = 0; -; -for (; index716 < groupLen716;index716++){ -_records = (Object[])(group716.Get(index716)); - //BA.debugLineNum = 2539;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns."; -_cuantosn = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSN"))))])); - //BA.debugLineNum = 2540;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; -if ((_cuantos_noventa).equals(BA.NumberToString(_cuantosn))) { - //BA.debugLineNum = 2542;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 2544;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+_cuantos_noventa),__c.True);}; - }; - } -}; - }; - }; - //BA.debugLineNum = 2550;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2551;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2552;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ins_pedido"))) { - //BA.debugLineNum = 2553;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group729 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen729 = group729.getSize() -;int index729 = 0; -; -for (; index729 < groupLen729;index729++){ -_records = (Object[])(group729.Get(index729)); - //BA.debugLineNum = 2554;BA.debugLine="PB2.Progress = PB2.Progress + 5"; -_pb2.setProgress((int) (_pb2.getProgress()+5)); - //BA.debugLineNum = 2555;BA.debugLine="S_CP.Text = \"SUBIENDO\""; -_s_cp.setText(BA.ObjectToCharSequence("SUBIENDO")); - } -}; - //BA.debugLineNum = 2557;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 2558;BA.debugLine="S_CP.Text = \"ENVIANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("ENVIANDO")); - }; - }; - //BA.debugLineNum = 2563;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2564;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2565;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 2566;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736544; + //BA.debugLineNum = 3736544;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group740 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen740 = group740.getSize() @@ -4984,117 +8057,153 @@ final int groupLen740 = group740.getSize() ; for (; index740 < groupLen740;index740++){ _records = (Object[])(group740.Get(index740)); - //BA.debugLineNum = 2567;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 2568;BA.debugLine="Dim CAT_VE_VERSION As String = records(RESULT"; -_cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]); - //BA.debugLineNum = 2569;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); - } -}; - }; - }; - //BA.debugLineNum = 2574;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2575;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2576;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { - //BA.debugLineNum = 2577;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group750 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen750 = group750.getSize() -;int index750 = 0; -; -for (; index750 < groupLen750;index750++){ -_records = (Object[])(group750.Get(index750)); - //BA.debugLineNum = 2578;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN"; -_count_clie = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT_CLIE"))))])); - } -}; - }; - }; - //BA.debugLineNum = 2583;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2584;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2585;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { - //BA.debugLineNum = 2586;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group758 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen758 = group758.getSize() -;int index758 = 0; -; -for (; index758 < groupLen758;index758++){ -_records = (Object[])(group758.Get(index758)); - //BA.debugLineNum = 2587;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns"; -_valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); - //BA.debugLineNum = 2588;BA.debugLine="If VALIDO = \"OK\" Then"; -if ((_valido).equals("OK")) { - //BA.debugLineNum = 2589;BA.debugLine="cargar.Visible = True"; -_cargar.setVisible(__c.True); - //BA.debugLineNum = 2590;BA.debugLine="Subir.Visible = True"; -_subir.setVisible(__c.True); - //BA.debugLineNum = 2591;BA.debugLine="inv.Visible = True"; -_inv.setVisible(__c.True); - //BA.debugLineNum = 2592;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 2593;BA.debugLine="If conn = \"1\" Then"; -if ((_conn).equals("1")) { - //BA.debugLineNum = 2594;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); - }; +RDebugUtils.currentLine=3736545; + //BA.debugLineNum = 3736545;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns."; +_cuantosp = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSP"))))])); +RDebugUtils.currentLine=3736548; + //BA.debugLineNum = 3736548;BA.debugLine="If cuantos_pedido < = CUANTOSP Then"; +if ((double)(Double.parseDouble(__ref._cuantos_pedido /*String*/ ))<=_cuantosp) { +RDebugUtils.currentLine=3736550; + //BA.debugLineNum = 3736550;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; +RDebugUtils.currentLine=3736551; + //BA.debugLineNum = 3736551;BA.debugLine="S_CP.Text = \"INFO OK\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("INFO OK")); +RDebugUtils.currentLine=3736552; + //BA.debugLineNum = 3736552;BA.debugLine="B_OK_PAS.Text = \"OK\""; +__ref._b_ok_pas /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("OK")); }else { - //BA.debugLineNum = 2597;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 2598;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 2599;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 2600;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 2601;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Ruta invalida."),__c.True); +RDebugUtils.currentLine=3736554; + //BA.debugLineNum = 3736554;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+__ref._cuantos_pedido /*String*/ ),__c.True);}; +RDebugUtils.currentLine=3736555; + //BA.debugLineNum = 3736555;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-2)")); }; } }; }; }; - //BA.debugLineNum = 2607;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736561; + //BA.debugLineNum = 3736561;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2608;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2609;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { - //BA.debugLineNum = 2610;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736562; + //BA.debugLineNum = 3736562;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736563; + //BA.debugLineNum = 3736563;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { +RDebugUtils.currentLine=3736564; + //BA.debugLineNum = 3736564;BA.debugLine="For Each records() As Object In RESULT.Rows"; { -final anywheresoftware.b4a.BA.IterableList group781 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen781 = group781.getSize() -;int index781 = 0; +final anywheresoftware.b4a.BA.IterableList group756 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen756 = group756.getSize() +;int index756 = 0; ; -for (; index781 < groupLen781;index781++){ -_records = (Object[])(group781.Get(index781)); - //BA.debugLineNum = 2611;BA.debugLine="Dim name2 As String = records(RESULT.Columns."; -_name2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); +for (; index756 < groupLen756;index756++){ +_records = (Object[])(group756.Get(index756)); +RDebugUtils.currentLine=3736565; + //BA.debugLineNum = 3736565;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns."; +_cuantosc = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSC"))))])); +RDebugUtils.currentLine=3736566; + //BA.debugLineNum = 3736566;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; +if ((__ref._cuantos_pedidosc /*String*/ ).equals(BA.NumberToString(_cuantosc))) { +RDebugUtils.currentLine=3736568; + //BA.debugLineNum = 3736568;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; + }else { +RDebugUtils.currentLine=3736570; + //BA.debugLineNum = 3736570;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+__ref._cuantos_pedidosc /*String*/ ),__c.True);}; + }; } }; - //BA.debugLineNum = 2613;BA.debugLine="If name2 = \"OK\" Then"; -if ((_name2).equals("OK")) { - //BA.debugLineNum = 2614;BA.debugLine="PASO = 1"; -_paso = BA.NumberToString(1); - }; - //BA.debugLineNum = 2616;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); }; }; - //BA.debugLineNum = 2620;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736576; + //BA.debugLineNum = 3736576;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2621;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2622;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) { - //BA.debugLineNum = 2623;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736577; + //BA.debugLineNum = 3736577;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736578; + //BA.debugLineNum = 3736578;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { +RDebugUtils.currentLine=3736579; + //BA.debugLineNum = 3736579;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group769 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen769 = group769.getSize() +;int index769 = 0; +; +for (; index769 < groupLen769;index769++){ +_records = (Object[])(group769.Get(index769)); +RDebugUtils.currentLine=3736580; + //BA.debugLineNum = 3736580;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns."; +_cuantosn = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSN"))))])); +RDebugUtils.currentLine=3736581; + //BA.debugLineNum = 3736581;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; +if ((__ref._cuantos_noventa /*String*/ ).equals(BA.NumberToString(_cuantosn))) { +RDebugUtils.currentLine=3736583; + //BA.debugLineNum = 3736583;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; + }else { +RDebugUtils.currentLine=3736585; + //BA.debugLineNum = 3736585;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+__ref._cuantos_noventa /*String*/ ),__c.True);}; + }; + } +}; + }; + }; +RDebugUtils.currentLine=3736591; + //BA.debugLineNum = 3736591;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736592; + //BA.debugLineNum = 3736592;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736593; + //BA.debugLineNum = 3736593;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ins_pedido"))) { +RDebugUtils.currentLine=3736594; + //BA.debugLineNum = 3736594;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group782 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen782 = group782.getSize() +;int index782 = 0; +; +for (; index782 < groupLen782;index782++){ +_records = (Object[])(group782.Get(index782)); +RDebugUtils.currentLine=3736595; + //BA.debugLineNum = 3736595;BA.debugLine="PB2.Progress = PB2.Progress + 5"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()+5)); +RDebugUtils.currentLine=3736596; + //BA.debugLineNum = 3736596;BA.debugLine="S_CP.Text = \"SUBIENDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SUBIENDO")); + } +}; +RDebugUtils.currentLine=3736598; + //BA.debugLineNum = 3736598;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=3736599; + //BA.debugLineNum = 3736599;BA.debugLine="S_CP.Text = \"ENVIANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("ENVIANDO")); + }; + }; +RDebugUtils.currentLine=3736604; + //BA.debugLineNum = 3736604;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736605; + //BA.debugLineNum = 3736605;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736606; + //BA.debugLineNum = 3736606;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { +RDebugUtils.currentLine=3736607; + //BA.debugLineNum = 3736607;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group793 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen793 = group793.getSize() @@ -5102,166 +8211,188 @@ final int groupLen793 = group793.getSize() ; for (; index793 < groupLen793;index793++){ _records = (Object[])(group793.Get(index793)); - //BA.debugLineNum = 2624;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736608; + //BA.debugLineNum = 3736608;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=3736609; + //BA.debugLineNum = 3736609;BA.debugLine="Dim CAT_VE_VERSION As String = records(RESULT"; +_cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]); +RDebugUtils.currentLine=3736610; + //BA.debugLineNum = 3736610;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); + } +}; + }; + }; +RDebugUtils.currentLine=3736615; + //BA.debugLineNum = 3736615;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736616; + //BA.debugLineNum = 3736616;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736617; + //BA.debugLineNum = 3736617;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { +RDebugUtils.currentLine=3736618; + //BA.debugLineNum = 3736618;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group803 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen803 = group803.getSize() +;int index803 = 0; +; +for (; index803 < groupLen803;index803++){ +_records = (Object[])(group803.Get(index803)); +RDebugUtils.currentLine=3736619; + //BA.debugLineNum = 3736619;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN"; +__ref._count_clie /*int*/ = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT_CLIE"))))])); + } +}; + }; + }; +RDebugUtils.currentLine=3736624; + //BA.debugLineNum = 3736624;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736625; + //BA.debugLineNum = 3736625;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736626; + //BA.debugLineNum = 3736626;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { +RDebugUtils.currentLine=3736627; + //BA.debugLineNum = 3736627;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group811 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen811 = group811.getSize() +;int index811 = 0; +; +for (; index811 < groupLen811;index811++){ +_records = (Object[])(group811.Get(index811)); +RDebugUtils.currentLine=3736628; + //BA.debugLineNum = 3736628;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns"; +_valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); +RDebugUtils.currentLine=3736629; + //BA.debugLineNum = 3736629;BA.debugLine="If VALIDO = \"OK\" Then"; +if ((_valido).equals("OK")) { +RDebugUtils.currentLine=3736630; + //BA.debugLineNum = 3736630;BA.debugLine="cargar.Visible = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3736631; + //BA.debugLineNum = 3736631;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3736632; + //BA.debugLineNum = 3736632;BA.debugLine="inv.Visible = True"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3736633; + //BA.debugLineNum = 3736633;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736634; + //BA.debugLineNum = 3736634;BA.debugLine="If conn = \"1\" Then"; +if ((__ref._conn /*String*/ ).equals("1")) { +RDebugUtils.currentLine=3736635; + //BA.debugLineNum = 3736635;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); + }; + }else { +RDebugUtils.currentLine=3736638; + //BA.debugLineNum = 3736638;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736639; + //BA.debugLineNum = 3736639;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736640; + //BA.debugLineNum = 3736640;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736641; + //BA.debugLineNum = 3736641;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3736642; + //BA.debugLineNum = 3736642;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Ruta invalida."),__c.True); + }; + } +}; + }; + }; +RDebugUtils.currentLine=3736648; + //BA.debugLineNum = 3736648;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736649; + //BA.debugLineNum = 3736649;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736650; + //BA.debugLineNum = 3736650;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { +RDebugUtils.currentLine=3736651; + //BA.debugLineNum = 3736651;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group834 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen834 = group834.getSize() +;int index834 = 0; +; +for (; index834 < groupLen834;index834++){ +_records = (Object[])(group834.Get(index834)); +RDebugUtils.currentLine=3736652; + //BA.debugLineNum = 3736652;BA.debugLine="Dim name2 As String = records(RESULT.Columns."; +_name2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); + } +}; +RDebugUtils.currentLine=3736654; + //BA.debugLineNum = 3736654;BA.debugLine="If name2 = \"OK\" Then"; +if ((_name2).equals("OK")) { +RDebugUtils.currentLine=3736655; + //BA.debugLineNum = 3736655;BA.debugLine="PASO = 1"; +__ref._paso /*String*/ = BA.NumberToString(1); + }; +RDebugUtils.currentLine=3736657; + //BA.debugLineNum = 3736657;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; + }; +RDebugUtils.currentLine=3736661; + //BA.debugLineNum = 3736661;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=3736662; + //BA.debugLineNum = 3736662;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736663; + //BA.debugLineNum = 3736663;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) { +RDebugUtils.currentLine=3736664; + //BA.debugLineNum = 3736664;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group846 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen846 = group846.getSize() +;int index846 = 0; +; +for (; index846 < groupLen846;index846++){ +_records = (Object[])(group846.Get(index846)); +RDebugUtils.currentLine=3736665; + //BA.debugLineNum = 3736665;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu"; _fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]); - //BA.debugLineNum = 2625;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +RDebugUtils.currentLine=3736666; + //BA.debugLineNum = 3736666;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")})); - //BA.debugLineNum = 2626;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736667; + //BA.debugLineNum = 3736667;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)})); } }; }; }; - //BA.debugLineNum = 2631;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=3736672; + //BA.debugLineNum = 3736672;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2632;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2641;BA.debugLine="If RESULT.Tag = \"hist_pro2265\" Then 'query tag"; +RDebugUtils.currentLine=3736673; + //BA.debugLineNum = 3736673;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=3736682; + //BA.debugLineNum = 3736682;BA.debugLine="If RESULT.Tag = \"hist_pro2265\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro2265"))) { - //BA.debugLineNum = 2642;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; +RDebugUtils.currentLine=3736683; + //BA.debugLineNum = 3736683;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO2265"); - //BA.debugLineNum = 2643;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group804 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen804 = group804.getSize() -;int index804 = 0; -; -for (; index804 < groupLen804;index804++){ -_records = (Object[])(group804.Get(index804)); - //BA.debugLineNum = 2644;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO2265(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]})); - } -}; - }; - //BA.debugLineNum = 2647;BA.debugLine="If RESULT.Tag = \"hist_pro3054\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro3054"))) { - //BA.debugLineNum = 2648;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO3054"); - //BA.debugLineNum = 2649;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group810 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen810 = group810.getSize() -;int index810 = 0; -; -for (; index810 < groupLen810;index810++){ -_records = (Object[])(group810.Get(index810)); - //BA.debugLineNum = 2650;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO3054(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]})); - } -}; - }; - //BA.debugLineNum = 2653;BA.debugLine="If RESULT.Tag = \"hist_pro3055\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro3055"))) { - //BA.debugLineNum = 2654;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO3055"); - //BA.debugLineNum = 2655;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group816 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen816 = group816.getSize() -;int index816 = 0; -; -for (; index816 < groupLen816;index816++){ -_records = (Object[])(group816.Get(index816)); - //BA.debugLineNum = 2656;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO3055(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]})); - } -}; - }; - //BA.debugLineNum = 2659;BA.debugLine="If RESULT.Tag = \"traeVersion\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("traeVersion"))) { - //BA.debugLineNum = 2660;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group821 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen821 = group821.getSize() -;int index821 = 0; -; -for (; index821 < groupLen821;index821++){ -_records = (Object[])(group821.Get(index821)); - //BA.debugLineNum = 2661;BA.debugLine="Private version As String = records(RESULT.C"; -_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSION"))))]); - //BA.debugLineNum = 2662;BA.debugLine="Private actualizarAplicacion As String = rec"; -_actualizaraplicacion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_ACTUALIZACION"))))]); - } -}; - //BA.debugLineNum = 2664;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")})); - //BA.debugLineNum = 2665;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)})); - //BA.debugLineNum = 2666;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")})); - //BA.debugLineNum = 2667;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)})); - //BA.debugLineNum = 2668;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; -__c.LogImpl("440305729",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0); - }; - //BA.debugLineNum = 2670;BA.debugLine="If RESULT.Tag = \"tipoVenta\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("tipoVenta"))) { - //BA.debugLineNum = 2671;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group832 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen832 = group832.getSize() -;int index832 = 0; -; -for (; index832 < groupLen832;index832++){ -_records = (Object[])(group832.Get(index832)); - //BA.debugLineNum = 2672;BA.debugLine="Private tipoVenta As String = records(RESULT"; -_tipoventa = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_RU_CATEGORIA"))))]); - } -}; - //BA.debugLineNum = 2674;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TIPO_VENTA")})); - //BA.debugLineNum = 2675;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TIPO_VENTA"),(Object)(_tipoventa)})); - //BA.debugLineNum = 2676;BA.debugLine="Log($\">>>> GUARDAMOS TIPO_VENTA: ${tipoVenta}"; -__c.LogImpl("440305737",(">>>> GUARDAMOS TIPO_VENTA: "+__c.SmartStringFormatter("",(Object)(_tipoventa))+""),0); - }; - //BA.debugLineNum = 2678;BA.debugLine="If RESULT.Tag = \"planLealtad\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("planLealtad"))) { - //BA.debugLineNum = 2679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PLAN_LEALTAD WHERE DESCARGADO = 1"); - //BA.debugLineNum = 2680;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group841 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen841 = group841.getSize() -;int index841 = 0; -; -for (; index841 < groupLen841;index841++){ -_records = (Object[])(group841.Get(index841)); - //BA.debugLineNum = 2681;BA.debugLine="Dim PL_CLIENTE As String = records(RESULT.Col"; -_pl_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_PL_CLIENTE"))))]); - //BA.debugLineNum = 2682;BA.debugLine="Dim PL_BANDERA As String = records(RESULT.Col"; -_pl_bandera = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_PL_BANDERA"))))]); - //BA.debugLineNum = 2683;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PLAN_LEALTAD(PL_CLIENTE, PL_BANDERA, DESCARGADO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_pl_cliente),(Object)(_pl_bandera),(Object)(1)})); - } -}; - }; - //BA.debugLineNum = 2687;BA.debugLine="If RESULT.Tag = \"coments\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("coments"))) { - //BA.debugLineNum = 2688;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM COMENTARIOS WHERE DESCARGADO = 1"); - //BA.debugLineNum = 2689;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group849 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen849 = group849.getSize() -;int index849 = 0; -; -for (; index849 < groupLen849;index849++){ -_records = (Object[])(group849.Get(index849)); - //BA.debugLineNum = 2690;BA.debugLine="Dim COMENTARIO As String = records(RESULT.Col"; -_comentario = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_COM_COMENTARIO"))))]); - //BA.debugLineNum = 2691;BA.debugLine="Dim CLIENTECOM As String = records(RESULT.Col"; -_clientecom = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_COM_CLIENTE"))))]); - //BA.debugLineNum = 2692;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO COMENTARIOS(COMENTARTIO, CLIENTE, DESCARGADO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_comentario),(Object)(_clientecom),(Object)(1)})); - } -}; - }; - //BA.debugLineNum = 2696;BA.debugLine="If RESULT.Tag = \"objetivos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("objetivos"))) { - //BA.debugLineNum = 2697;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CAT_OBJETIVO_BAT"); - //BA.debugLineNum = 2698;BA.debugLine="For Each records() As Object In RESULT.Rows"; +RDebugUtils.currentLine=3736684; + //BA.debugLineNum = 3736684;BA.debugLine="For Each records() As Object In RESULT.Rows"; { final anywheresoftware.b4a.BA.IterableList group857 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen857 = group857.getSize() @@ -5269,867 +8400,487 @@ final int groupLen857 = group857.getSize() ; for (; index857 < groupLen857;index857++){ _records = (Object[])(group857.Get(index857)); - //BA.debugLineNum = 2699;BA.debugLine="Dim COB_VOLUMEN As String = records(RESULT.Co"; +RDebugUtils.currentLine=3736685; + //BA.debugLineNum = 3736685;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO2265(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]})); + } +}; + }; +RDebugUtils.currentLine=3736688; + //BA.debugLineNum = 3736688;BA.debugLine="If RESULT.Tag = \"hist_pro3054\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro3054"))) { +RDebugUtils.currentLine=3736689; + //BA.debugLineNum = 3736689;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO3054"); +RDebugUtils.currentLine=3736690; + //BA.debugLineNum = 3736690;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group863 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen863 = group863.getSize() +;int index863 = 0; +; +for (; index863 < groupLen863;index863++){ +_records = (Object[])(group863.Get(index863)); +RDebugUtils.currentLine=3736691; + //BA.debugLineNum = 3736691;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO3054(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]})); + } +}; + }; +RDebugUtils.currentLine=3736694; + //BA.debugLineNum = 3736694;BA.debugLine="If RESULT.Tag = \"hist_pro3055\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro3055"))) { +RDebugUtils.currentLine=3736695; + //BA.debugLineNum = 3736695;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO3055"); +RDebugUtils.currentLine=3736696; + //BA.debugLineNum = 3736696;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group869 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen869 = group869.getSize() +;int index869 = 0; +; +for (; index869 < groupLen869;index869++){ +_records = (Object[])(group869.Get(index869)); +RDebugUtils.currentLine=3736697; + //BA.debugLineNum = 3736697;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO3055(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]})); + } +}; + }; +RDebugUtils.currentLine=3736700; + //BA.debugLineNum = 3736700;BA.debugLine="If RESULT.Tag = \"traeVersion\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("traeVersion"))) { +RDebugUtils.currentLine=3736701; + //BA.debugLineNum = 3736701;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group874 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen874 = group874.getSize() +;int index874 = 0; +; +for (; index874 < groupLen874;index874++){ +_records = (Object[])(group874.Get(index874)); +RDebugUtils.currentLine=3736702; + //BA.debugLineNum = 3736702;BA.debugLine="Private version As String = records(RESULT.C"; +_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSION"))))]); +RDebugUtils.currentLine=3736703; + //BA.debugLineNum = 3736703;BA.debugLine="Private actualizarAplicacion As String = rec"; +_actualizaraplicacion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_ACTUALIZACION"))))]); + } +}; +RDebugUtils.currentLine=3736705; + //BA.debugLineNum = 3736705;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")})); +RDebugUtils.currentLine=3736706; + //BA.debugLineNum = 3736706;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)})); +RDebugUtils.currentLine=3736707; + //BA.debugLineNum = 3736707;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")})); +RDebugUtils.currentLine=3736708; + //BA.debugLineNum = 3736708;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)})); +RDebugUtils.currentLine=3736709; + //BA.debugLineNum = 3736709;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version"; +__c.LogImpl("03736709",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0); + }; +RDebugUtils.currentLine=3736711; + //BA.debugLineNum = 3736711;BA.debugLine="If RESULT.Tag = \"tipoVenta\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("tipoVenta"))) { +RDebugUtils.currentLine=3736712; + //BA.debugLineNum = 3736712;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group885 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen885 = group885.getSize() +;int index885 = 0; +; +for (; index885 < groupLen885;index885++){ +_records = (Object[])(group885.Get(index885)); +RDebugUtils.currentLine=3736713; + //BA.debugLineNum = 3736713;BA.debugLine="Private tipoVenta As String = records(RESULT"; +_tipoventa = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_RU_CATEGORIA"))))]); + } +}; +RDebugUtils.currentLine=3736715; + //BA.debugLineNum = 3736715;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TIPO_VENTA")})); +RDebugUtils.currentLine=3736716; + //BA.debugLineNum = 3736716;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TIPO_VENTA"),(Object)(_tipoventa)})); +RDebugUtils.currentLine=3736717; + //BA.debugLineNum = 3736717;BA.debugLine="Log($\">>>> GUARDAMOS TIPO_VENTA: ${tipoVenta}"; +__c.LogImpl("03736717",(">>>> GUARDAMOS TIPO_VENTA: "+__c.SmartStringFormatter("",(Object)(_tipoventa))+""),0); + }; +RDebugUtils.currentLine=3736719; + //BA.debugLineNum = 3736719;BA.debugLine="If RESULT.Tag = \"planLealtad\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("planLealtad"))) { +RDebugUtils.currentLine=3736720; + //BA.debugLineNum = 3736720;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PLAN_LEALTAD WHERE DESCARGADO = 1"); +RDebugUtils.currentLine=3736721; + //BA.debugLineNum = 3736721;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group894 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen894 = group894.getSize() +;int index894 = 0; +; +for (; index894 < groupLen894;index894++){ +_records = (Object[])(group894.Get(index894)); +RDebugUtils.currentLine=3736722; + //BA.debugLineNum = 3736722;BA.debugLine="Dim PL_CLIENTE As String = records(RESULT.Col"; +_pl_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_PL_CLIENTE"))))]); +RDebugUtils.currentLine=3736723; + //BA.debugLineNum = 3736723;BA.debugLine="Dim PL_BANDERA As String = records(RESULT.Col"; +_pl_bandera = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_PL_BANDERA"))))]); +RDebugUtils.currentLine=3736724; + //BA.debugLineNum = 3736724;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PLAN_LEALTAD(PL_CLIENTE, PL_BANDERA, DESCARGADO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_pl_cliente),(Object)(_pl_bandera),(Object)(1)})); + } +}; + }; +RDebugUtils.currentLine=3736728; + //BA.debugLineNum = 3736728;BA.debugLine="If RESULT.Tag = \"coments\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("coments"))) { +RDebugUtils.currentLine=3736729; + //BA.debugLineNum = 3736729;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM COMENTARIOS WHERE DESCARGADO = 1"); +RDebugUtils.currentLine=3736730; + //BA.debugLineNum = 3736730;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group902 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen902 = group902.getSize() +;int index902 = 0; +; +for (; index902 < groupLen902;index902++){ +_records = (Object[])(group902.Get(index902)); +RDebugUtils.currentLine=3736731; + //BA.debugLineNum = 3736731;BA.debugLine="Dim COMENTARIO As String = records(RESULT.Col"; +_comentario = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_COM_COMENTARIO"))))]); +RDebugUtils.currentLine=3736732; + //BA.debugLineNum = 3736732;BA.debugLine="Dim CLIENTECOM As String = records(RESULT.Col"; +_clientecom = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_COM_CLIENTE"))))]); +RDebugUtils.currentLine=3736733; + //BA.debugLineNum = 3736733;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO COMENTARIOS(COMENTARTIO, CLIENTE, DESCARGADO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_comentario),(Object)(_clientecom),(Object)(1)})); + } +}; + }; +RDebugUtils.currentLine=3736737; + //BA.debugLineNum = 3736737;BA.debugLine="If RESULT.Tag = \"objetivos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("objetivos"))) { +RDebugUtils.currentLine=3736738; + //BA.debugLineNum = 3736738;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CAT_OBJETIVO_BAT"); +RDebugUtils.currentLine=3736739; + //BA.debugLineNum = 3736739;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group910 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen910 = group910.getSize() +;int index910 = 0; +; +for (; index910 < groupLen910;index910++){ +_records = (Object[])(group910.Get(index910)); +RDebugUtils.currentLine=3736740; + //BA.debugLineNum = 3736740;BA.debugLine="Dim COB_VOLUMEN As String = records(RESULT.Co"; _cob_volumen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_VOLUMEN"))))]); - //BA.debugLineNum = 2700;BA.debugLine="Dim COB_MARCAE As String = records(RESULT.Col"; +RDebugUtils.currentLine=3736741; + //BA.debugLineNum = 3736741;BA.debugLine="Dim COB_MARCAE As String = records(RESULT.Col"; _cob_marcae = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_MARCAE"))))]); - //BA.debugLineNum = 2701;BA.debugLine="Dim COB_PORTAFOLIO As String = records(RESULT"; +RDebugUtils.currentLine=3736742; + //BA.debugLineNum = 3736742;BA.debugLine="Dim COB_PORTAFOLIO As String = records(RESULT"; _cob_portafolio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_PORTAFOLIO"))))]); - //BA.debugLineNum = 2702;BA.debugLine="Dim COB_OBJPP As String = records(RESULT.Colu"; +RDebugUtils.currentLine=3736743; + //BA.debugLineNum = 3736743;BA.debugLine="Dim COB_OBJPP As String = records(RESULT.Colu"; _cob_objpp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_OBJPP"))))]); - //BA.debugLineNum = 2703;BA.debugLine="Dim COB_GEV As String = records(RESULT.Column"; +RDebugUtils.currentLine=3736744; + //BA.debugLineNum = 3736744;BA.debugLine="Dim COB_GEV As String = records(RESULT.Column"; _cob_gev = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_GEV"))))]); - //BA.debugLineNum = 2704;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +RDebugUtils.currentLine=3736745; + //BA.debugLineNum = 3736745;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_OBJETIVO_BAT(COB_VOLUMEN, COB_MARCAE, COB_PORTAFOLIO, COB_OBJPP, COB_GEV) VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cob_volumen),(Object)(_cob_marcae),(Object)(_cob_portafolio),(Object)(_cob_objpp),(Object)(_cob_gev)})); } }; }; }; }; - //BA.debugLineNum = 2710;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia"; +RDebugUtils.currentLine=3736751; + //BA.debugLineNum = 3736751;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia"; if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { - //BA.debugLineNum = 2711;BA.debugLine="LogColor($\"REQUESTS: ${B4XPages.MainPage.reqMana"; -__c.LogImpl("440305772",("REQUESTS: "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),__c.Colors.Red); - //BA.debugLineNum = 2713;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.Size ="; -if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0 && (_carga).equals("SUBIR")) { - //BA.debugLineNum = 2714;BA.debugLine="t1.Enabled = False"; -_t1.setEnabled(__c.False); - //BA.debugLineNum = 2715;BA.debugLine="t1.Initialize(\"T1\", 3000) ' 1000 = 1 second"; -_t1.Initialize(ba,"T1",(long) (3000)); - //BA.debugLineNum = 2717;BA.debugLine="If contadorSubir < 3 Then ' Si no hacen click e"; -if (_contadorsubir<3) { - //BA.debugLineNum = 2718;BA.debugLine="t1.Enabled = True"; -_t1.setEnabled(__c.True); - //BA.debugLineNum = 2719;BA.debugLine="Log(\"TIMER ENABLED\")"; -__c.LogImpl("440305780","TIMER ENABLED",0); +RDebugUtils.currentLine=3736752; + //BA.debugLineNum = 3736752;BA.debugLine="LogColor($\"REQUESTS: ${B4XPages.MainPage.reqMana"; +__c.LogImpl("03736752",("REQUESTS: "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),__c.Colors.Red); +RDebugUtils.currentLine=3736754; + //BA.debugLineNum = 3736754;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.Size ="; +if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0 && (__ref._carga /*String*/ ).equals("SUBIR")) { +RDebugUtils.currentLine=3736755; + //BA.debugLineNum = 3736755;BA.debugLine="t1.Enabled = False"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.False); +RDebugUtils.currentLine=3736756; + //BA.debugLineNum = 3736756;BA.debugLine="t1.Initialize(\"T1\", 3000) ' 1000 = 1 second"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .Initialize(ba,"T1",(long) (3000)); +RDebugUtils.currentLine=3736758; + //BA.debugLineNum = 3736758;BA.debugLine="If contadorSubir < 3 Then ' Si no hacen click e"; +if (__ref._contadorsubir /*int*/ <3) { +RDebugUtils.currentLine=3736759; + //BA.debugLineNum = 3736759;BA.debugLine="t1.Enabled = True"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.True); +RDebugUtils.currentLine=3736760; + //BA.debugLineNum = 3736760;BA.debugLine="Log(\"TIMER ENABLED\")"; +__c.LogImpl("03736760","TIMER ENABLED",0); }; - //BA.debugLineNum = 2721;BA.debugLine="contadorSubir = contadorSubir + 1"; -_contadorsubir = (int) (_contadorsubir+1); +RDebugUtils.currentLine=3736762; + //BA.debugLineNum = 3736762;BA.debugLine="contadorSubir = contadorSubir + 1"; +__ref._contadorsubir /*int*/ = (int) (__ref._contadorsubir /*int*/ +1); }; }; - //BA.debugLineNum = 2724;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - //BA.debugLineNum = 2725;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3736765; + //BA.debugLineNum = 3736765;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); +RDebugUtils.currentLine=3736766; + //BA.debugLineNum = 3736766;BA.debugLine="End Sub"; return ""; } -public String _nuevo_click() throws Exception{ - //BA.debugLineNum = 3180;BA.debugLine="Sub NUEVO_Click"; - //BA.debugLineNum = 3181;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +public String _nuevo_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "nuevo_click", false)) + {return ((String) Debug.delegate(ba, "nuevo_click", null));} +RDebugUtils.currentLine=4456448; + //BA.debugLineNum = 4456448;BA.debugLine="Sub NUEVO_Click"; +RDebugUtils.currentLine=4456449; + //BA.debugLineNum = 4456449;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; _b4xpages._showpage /*String*/ (ba,"NuevoCliente"); - //BA.debugLineNum = 3182;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4456450; + //BA.debugLineNum = 4456450;BA.debugLine="End Sub"; return ""; } -public String _nvo_cliente_click() throws Exception{ - //BA.debugLineNum = 3671;BA.debugLine="Sub nvo_cliente_Click"; - //BA.debugLineNum = 3672;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; -_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); - //BA.debugLineNum = 3673;BA.debugLine="End Sub"; +public String _p_marcasres_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_marcasres_click", false)) + {return ((String) Debug.delegate(ba, "p_marcasres_click", null));} +RDebugUtils.currentLine=5701632; + //BA.debugLineNum = 5701632;BA.debugLine="Private Sub p_marcasRes_Click"; +RDebugUtils.currentLine=5701634; + //BA.debugLineNum = 5701634;BA.debugLine="End Sub"; return ""; } -public String _p_marcasres_click() throws Exception{ - //BA.debugLineNum = 3872;BA.debugLine="Private Sub p_marcasRes_Click"; - //BA.debugLineNum = 3874;BA.debugLine="End Sub"; +public String _p_resumen_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_resumen_click", false)) + {return ((String) Debug.delegate(ba, "p_resumen_click", null));} +RDebugUtils.currentLine=4653056; + //BA.debugLineNum = 4653056;BA.debugLine="Sub P_RESUMEN_click"; +RDebugUtils.currentLine=4653058; + //BA.debugLineNum = 4653058;BA.debugLine="End Sub"; return ""; } -public String _p_resumen_click() throws Exception{ - //BA.debugLineNum = 3208;BA.debugLine="Sub P_RESUMEN_click"; - //BA.debugLineNum = 3210;BA.debugLine="End Sub"; +public String _p_sombra_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_sombra_click", false)) + {return ((String) Debug.delegate(ba, "p_sombra_click", null));} +RDebugUtils.currentLine=5767168; + //BA.debugLineNum = 5767168;BA.debugLine="Private Sub p_sombra_Click"; +RDebugUtils.currentLine=5767170; + //BA.debugLineNum = 5767170;BA.debugLine="End Sub"; return ""; } -public String _p_sombra_click() throws Exception{ - //BA.debugLineNum = 3876;BA.debugLine="Private Sub p_sombra_Click"; - //BA.debugLineNum = 3878;BA.debugLine="End Sub"; +public String _p_transparenteactualizacion_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_transparenteactualizacion_click", false)) + {return ((String) Debug.delegate(ba, "p_transparenteactualizacion_click", null));} +RDebugUtils.currentLine=5832704; + //BA.debugLineNum = 5832704;BA.debugLine="Private Sub p_transparenteActualizacion_Click"; +RDebugUtils.currentLine=5832706; + //BA.debugLineNum = 5832706;BA.debugLine="End Sub"; return ""; } -public String _p_transparenteactualizacion_click() throws Exception{ - //BA.debugLineNum = 3880;BA.debugLine="Private Sub p_transparenteActualizacion_Click"; - //BA.debugLineNum = 3882;BA.debugLine="End Sub"; +public String _p1_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p1_click", false)) + {return ((String) Debug.delegate(ba, "p1_click", null));} +RDebugUtils.currentLine=5963776; + //BA.debugLineNum = 5963776;BA.debugLine="Private Sub P1_Click"; +RDebugUtils.currentLine=5963778; + //BA.debugLineNum = 5963778;BA.debugLine="End Sub"; return ""; } -public String _p1_click() throws Exception{ - //BA.debugLineNum = 3890;BA.debugLine="Private Sub P1_Click"; - //BA.debugLineNum = 3892;BA.debugLine="End Sub"; -return ""; -} -public String _recalculoxcant() throws Exception{ +public String _recalculoxcant(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "recalculoxcant", false)) + {return ((String) Debug.delegate(ba, "recalculoxcant", null));} int _promespdes = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel = null; int _hjh = 0; float _recalculo = 0f; float _recalculototal = 0f; anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel2 = null; - //BA.debugLineNum = 581;BA.debugLine="Sub recalculoXcant"; - //BA.debugLineNum = 583;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=3538944; + //BA.debugLineNum = 3538944;BA.debugLine="Sub recalculoXcant"; +RDebugUtils.currentLine=3538946; + //BA.debugLineNum = 3538946;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_CEDIS = ? and PE_RECCEDIS IS NOT NULL AND PE_RECALCULADO IS NULL ",new String[]{_subs._traealmacen /*String*/ (ba)}))); - //BA.debugLineNum = 584;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 585;BA.debugLine="For promespdes = 0 To c.RowCount -1"; +RDebugUtils.currentLine=3538947; + //BA.debugLineNum = 3538947;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3538948; + //BA.debugLineNum = 3538948;BA.debugLine="For promespdes = 0 To c.RowCount -1"; { final int step3 = 1; -final int limit3 = (int) (_c.getRowCount()-1); +final int limit3 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _promespdes = (int) (0) ; for (;_promespdes <= limit3 ;_promespdes = _promespdes + step3 ) { - //BA.debugLineNum = 586;BA.debugLine="c.Position = promespdes"; -_c.setPosition(_promespdes); - //BA.debugLineNum = 587;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt."; +RDebugUtils.currentLine=3538949; + //BA.debugLineNum = 3538949;BA.debugLine="c.Position = promespdes"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_promespdes); +RDebugUtils.currentLine=3538950; + //BA.debugLineNum = 3538950;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt."; _rangosel = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rangosel = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?",new String[]{_c.GetString("PE_PROID"),BA.NumberToString(_c.GetInt("PE_CANT")),BA.NumberToString(_c.GetInt("PE_CANT"))}))); - //BA.debugLineNum = 588;BA.debugLine="If rangosel.RowCount > 0 Then"; +_rangosel = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT")),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT"))}))); +RDebugUtils.currentLine=3538951; + //BA.debugLineNum = 3538951;BA.debugLine="If rangosel.RowCount > 0 Then"; if (_rangosel.getRowCount()>0) { - //BA.debugLineNum = 589;BA.debugLine="For hjh = 0 To rangosel.RowCount-1"; +RDebugUtils.currentLine=3538952; + //BA.debugLineNum = 3538952;BA.debugLine="For hjh = 0 To rangosel.RowCount-1"; { final int step7 = 1; final int limit7 = (int) (_rangosel.getRowCount()-1); _hjh = (int) (0) ; for (;_hjh <= limit7 ;_hjh = _hjh + step7 ) { - //BA.debugLineNum = 590;BA.debugLine="rangosel.Position = hjh"; +RDebugUtils.currentLine=3538953; + //BA.debugLineNum = 3538953;BA.debugLine="rangosel.Position = hjh"; _rangosel.setPosition(_hjh); - //BA.debugLineNum = 591;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains"; +RDebugUtils.currentLine=3538954; + //BA.debugLineNum = 3538954;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains"; if (_rangosel.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) { - //BA.debugLineNum = 592;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; -__c.LogImpl("440108043",_c.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 593;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; -__c.LogImpl("440108044",_rangosel.GetString("CAT_PD_DESCUENTO"),0); - //BA.debugLineNum = 594;BA.debugLine="Private recalculo As Float = c.GetString(\"PE"; -_recalculo = (float) ((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); - //BA.debugLineNum = 595;BA.debugLine="LogColor(recalculo,Colors.Blue)"; -__c.LogImpl("440108046",BA.NumberToString(_recalculo),__c.Colors.Blue); - //BA.debugLineNum = 596;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; -__c.LogImpl("440108047",_c.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 597;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")"; -__c.LogImpl("440108048",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0); - //BA.debugLineNum = 598;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; -__c.LogImpl("440108049",_rangosel.GetString("CAT_PD_DESCUENTO"),0); - //BA.debugLineNum = 599;BA.debugLine="Private recalculototal As Float =c.GetString"; -_recalculototal = (float) ((double)(Double.parseDouble(_c.GetString("PE_CANT")))*_recalculo); - //BA.debugLineNum = 600;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? and PE_FOLIO = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel.GetString("CAT_PD_COD_PROMO"),_c.GetString("PE_PROID"),_c.GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")})); +RDebugUtils.currentLine=3538955; + //BA.debugLineNum = 3538955;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +__c.LogImpl("03538955",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=3538956; + //BA.debugLineNum = 3538956;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; +__c.LogImpl("03538956",_rangosel.GetString("CAT_PD_DESCUENTO"),0); +RDebugUtils.currentLine=3538957; + //BA.debugLineNum = 3538957;BA.debugLine="Private recalculo As Float = c.GetString(\"PE"; +_recalculo = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); +RDebugUtils.currentLine=3538958; + //BA.debugLineNum = 3538958;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +__c.LogImpl("03538958",BA.NumberToString(_recalculo),__c.Colors.Blue); +RDebugUtils.currentLine=3538959; + //BA.debugLineNum = 3538959;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +__c.LogImpl("03538959",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=3538960; + //BA.debugLineNum = 3538960;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")"; +__c.LogImpl("03538960",__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0); +RDebugUtils.currentLine=3538961; + //BA.debugLineNum = 3538961;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))"; +__c.LogImpl("03538961",_rangosel.GetString("CAT_PD_DESCUENTO"),0); +RDebugUtils.currentLine=3538962; + //BA.debugLineNum = 3538962;BA.debugLine="Private recalculototal As Float =c.GetString"; +_recalculototal = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*_recalculo); +RDebugUtils.currentLine=3538963; + //BA.debugLineNum = 3538963;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? and PE_FOLIO = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel.GetString("CAT_PD_COD_PROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")})); }; } }; }else { - //BA.debugLineNum = 604;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm"; +RDebugUtils.currentLine=3538967; + //BA.debugLineNum = 3538967;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm"; _rangosel2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rangosel2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2",new String[]{_c.GetString("PE_PROID"),BA.NumberToString(_c.GetInt("PE_CANT"))}))); - //BA.debugLineNum = 606;BA.debugLine="If rangosel2.RowCount > 0 Then"; +_rangosel2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT"))}))); +RDebugUtils.currentLine=3538969; + //BA.debugLineNum = 3538969;BA.debugLine="If rangosel2.RowCount > 0 Then"; if (_rangosel2.getRowCount()>0) { - //BA.debugLineNum = 608;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1"; +RDebugUtils.currentLine=3538971; + //BA.debugLineNum = 3538971;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1"; { final int step24 = 1; final int limit24 = (int) (_rangosel2.getRowCount()-1); _hjh = (int) (0) ; for (;_hjh <= limit24 ;_hjh = _hjh + step24 ) { - //BA.debugLineNum = 609;BA.debugLine="rangosel2.Position = hjh"; +RDebugUtils.currentLine=3538972; + //BA.debugLineNum = 3538972;BA.debugLine="rangosel2.Position = hjh"; _rangosel2.setPosition(_hjh); - //BA.debugLineNum = 610;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai"; +RDebugUtils.currentLine=3538973; + //BA.debugLineNum = 3538973;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai"; if (_rangosel2.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) { - //BA.debugLineNum = 611;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; -__c.LogImpl("440108062",_c.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 612;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; -__c.LogImpl("440108063",_rangosel2.GetString("CAT_PD_DESCUENTO"),0); - //BA.debugLineNum = 613;BA.debugLine="Private recalculo As Float = c.GetString(\"P"; -_recalculo = (float) ((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); - //BA.debugLineNum = 614;BA.debugLine="LogColor(recalculo,Colors.Blue)"; -__c.LogImpl("440108065",BA.NumberToString(_recalculo),__c.Colors.Blue); - //BA.debugLineNum = 615;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; -__c.LogImpl("440108066",_c.GetString("PE_COSTOU"),0); - //BA.debugLineNum = 616;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\""; -__c.LogImpl("440108067",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0); - //BA.debugLineNum = 617;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; -__c.LogImpl("440108068",_rangosel2.GetString("CAT_PD_DESCUENTO"),0); - //BA.debugLineNum = 618;BA.debugLine="Private recalculototal As Float = rangosel2"; +RDebugUtils.currentLine=3538974; + //BA.debugLineNum = 3538974;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +__c.LogImpl("03538974",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=3538975; + //BA.debugLineNum = 3538975;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; +__c.LogImpl("03538975",_rangosel2.GetString("CAT_PD_DESCUENTO"),0); +RDebugUtils.currentLine=3538976; + //BA.debugLineNum = 3538976;BA.debugLine="Private recalculo As Float = c.GetString(\"P"; +_recalculo = (float) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); +RDebugUtils.currentLine=3538977; + //BA.debugLineNum = 3538977;BA.debugLine="LogColor(recalculo,Colors.Blue)"; +__c.LogImpl("03538977",BA.NumberToString(_recalculo),__c.Colors.Blue); +RDebugUtils.currentLine=3538978; + //BA.debugLineNum = 3538978;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))"; +__c.LogImpl("03538978",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"),0); +RDebugUtils.currentLine=3538979; + //BA.debugLineNum = 3538979;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\""; +__c.LogImpl("03538979",__c.NumberFormat2((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0); +RDebugUtils.currentLine=3538980; + //BA.debugLineNum = 3538980;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")"; +__c.LogImpl("03538980",_rangosel2.GetString("CAT_PD_DESCUENTO"),0); +RDebugUtils.currentLine=3538981; + //BA.debugLineNum = 3538981;BA.debugLine="Private recalculototal As Float = rangosel2"; _recalculototal = (float) ((double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_RANGO2")))*_recalculo); - //BA.debugLineNum = 621;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDAT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? , PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel2.GetString("CAT_PD_COD_PROMO"),_rangosel2.GetString("CAT_PD_RANGO2"),_c.GetString("PE_PROID"),_c.GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")})); +RDebugUtils.currentLine=3538984; + //BA.debugLineNum = 3538984;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDAT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? , PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel2.GetString("CAT_PD_COD_PROMO"),_rangosel2.GetString("CAT_PD_RANGO2"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")})); }; } }; }else { - //BA.debugLineNum = 625;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("PE_PROID"),_c.GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")})); +RDebugUtils.currentLine=3538988; + //BA.debugLineNum = 3538988;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")})); }; - //BA.debugLineNum = 627;BA.debugLine="rangosel2.Close"; +RDebugUtils.currentLine=3538990; + //BA.debugLineNum = 3538990;BA.debugLine="rangosel2.Close"; _rangosel2.Close(); }; - //BA.debugLineNum = 629;BA.debugLine="rangosel.Close"; +RDebugUtils.currentLine=3538992; + //BA.debugLineNum = 3538992;BA.debugLine="rangosel.Close"; _rangosel.Close(); } }; }; - //BA.debugLineNum = 632;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE PEDI"; +RDebugUtils.currentLine=3538995; + //BA.debugLineNum = 3538995;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE PEDI"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_CEDIS <> ? AND PE_RECALCULADO IS NULL ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_subs._traealmacen /*String*/ (ba)})); - //BA.debugLineNum = 633;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3538996; + //BA.debugLineNum = 3538996;BA.debugLine="End Sub"; return ""; } -public String _resdia_click() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; -String _total1 = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; -String _total4 = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s6 = null; -String _total3 = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _ru_o = null; -String _total2 = ""; -int _i2 = 0; -String _rutor = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _ru_s = null; -String _rusu = ""; -String _cuantos_obj = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s7 = null; -int _totalstick = 0; -int _sfsdf = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s8 = null; -int _totaltotaltot = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s0 = null; - //BA.debugLineNum = 3216;BA.debugLine="Sub resdia_Click"; - //BA.debugLineNum = 3218;BA.debugLine="Btn_Ubicar.Visible=False"; -_btn_ubicar.setVisible(__c.False); - //BA.debugLineNum = 3219;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews"; -_scroll_resdia.getPanel().RemoveAllViews(); - //BA.debugLineNum = 3220;BA.debugLine="SCROLL_RESDIA.Visible = True"; -_scroll_resdia.setVisible(__c.True); - //BA.debugLineNum = 3221;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")"; -_scroll_resdia.getPanel().LoadLayout("RESDIA",ba); - //BA.debugLineNum = 3222;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height"; -_scroll_resdia.getPanel().setHeight(_panel4.getHeight()); - //BA.debugLineNum = 3223;BA.debugLine="Panel4.Visible = True"; -_panel4.setVisible(__c.True); - //BA.debugLineNum = 3225;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 3226;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 3227;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 3228;BA.debugLine="Subir.Visible=False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 3229;BA.debugLine="cargar.Visible=False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 3230;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - //BA.debugLineNum = 3232;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"}))); - //BA.debugLineNum = 3233;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3234;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")"; -_l_encuesta.setText(BA.ObjectToCharSequence(_d.GetString("CUANTOS"))); - //BA.debugLineNum = 3235;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3237;BA.debugLine="L_MARCAS.CLEAR"; -_l_marcas.Clear(); - //BA.debugLineNum = 3238;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"}))); - //BA.debugLineNum = 3239;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 3240;BA.debugLine="For i=0 To D.RowCount -1"; -{ -final int step20 = 1; -final int limit20 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 3241;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 3242;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select HE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select HE_RES from HIST_ENCUESTA where HE_CLIE = ? AND HE_TIPO = ?",new String[]{_d.GetString("CLIENTE"),"TELEFONO"}))); - //BA.debugLineNum = 3243;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3244;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 3245;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label"; -_label1 = _l_marcas.getTwoLinesLayout().Label; - //BA.debugLineNum = 3246;BA.debugLine="label1.TextSize = 13"; -_label1.setTextSize((float) (13)); - //BA.debugLineNum = 3247;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 3248;BA.debugLine="Dim Label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 3249;BA.debugLine="Label2 = L_MARCAS.TwoLinesLayout.SecondLabel"; -_label2 = _l_marcas.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 3250;BA.debugLine="Label2.TextSize = 13"; -_label2.setTextSize((float) (13)); - //BA.debugLineNum = 3251;BA.debugLine="Label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 3252;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE"; -_l_marcas.AddTwoLines(BA.ObjectToCharSequence(_d.GetString("CLIENTE")),BA.ObjectToCharSequence("TELEFONO :"+_c.GetString("HE_RES"))); - //BA.debugLineNum = 3253;BA.debugLine="c.Close"; -_c.Close(); - } -}; - }; - //BA.debugLineNum = 3256;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3258;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPO = ? )"),new String[]{"RTEC"}))); - //BA.debugLineNum = 3259;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3260;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")"; -_l_monto_k.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA"))); - //BA.debugLineNum = 3261;BA.debugLine="If l_monto_k.Text = \"null\" Then"; -if ((_l_monto_k.getText()).equals("null")) { - //BA.debugLineNum = 3262;BA.debugLine="l_monto_k.Text = \"0\""; -_l_monto_k.setText(BA.ObjectToCharSequence("0")); - }; - //BA.debugLineNum = 3264;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3266;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPO = ? )"),new String[]{"PING"}))); - //BA.debugLineNum = 3267;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3268;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")"; -_l_monto_kp.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA"))); - //BA.debugLineNum = 3269;BA.debugLine="If l_monto_kp.Text = \"null\" Then"; -if ((_l_monto_kp.getText()).equals("null")) { - //BA.debugLineNum = 3270;BA.debugLine="l_monto_kp.Text = \"0\""; -_l_monto_kp.setText(BA.ObjectToCharSequence("0")); - }; - //BA.debugLineNum = 3272;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3282;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 "))); - //BA.debugLineNum = 3283;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3284;BA.debugLine="l_monto_ks.Text = c.GetString(\"MONTO_DIA\")"; -_l_monto_ks.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA"))); - //BA.debugLineNum = 3285;BA.debugLine="If l_monto_ks.Text = \"null\" Then"; -if ((_l_monto_ks.getText()).equals("null")) { - //BA.debugLineNum = 3286;BA.debugLine="l_monto_ks.Text = \"0\""; -_l_monto_ks.setText(BA.ObjectToCharSequence("0")); - }; - //BA.debugLineNum = 3288;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3313;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 3315;BA.debugLine="If s3.RowCount > 0 Then"; -if (_s3.getRowCount()>0) { - //BA.debugLineNum = 3316;BA.debugLine="Private total1 As String = 0"; -_total1 = BA.NumberToString(0); - //BA.debugLineNum = 3317;BA.debugLine="For i = 0 To s3.RowCount - 1"; -{ -final int step61 = 1; -final int limit61 = (int) (_s3.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit61 ;_i = _i + step61 ) { - //BA.debugLineNum = 3318;BA.debugLine="s3.Position = i"; -_s3.setPosition(_i); - //BA.debugLineNum = 3320;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan"; -_total1 = BA.NumberToString((double)(Double.parseDouble(_total1))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_s3.GetString("PE_CLIENTE"))))); - } -}; - //BA.debugLineNum = 3324;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)"; -_l_real.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total1)),(int) (0),(int) (2),(int) (2),__c.False))); - }else { - //BA.debugLineNum = 3326;BA.debugLine="L_REAL.Text = 0"; -_l_real.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3330;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 3332;BA.debugLine="If s5.RowCount > 0 Then"; -if (_s5.getRowCount()>0) { - //BA.debugLineNum = 3333;BA.debugLine="Private total4 As String = 0"; -_total4 = BA.NumberToString(0); - //BA.debugLineNum = 3334;BA.debugLine="For i = 0 To s5.RowCount - 1"; -{ -final int step72 = 1; -final int limit72 = (int) (_s5.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit72 ;_i = _i + step72 ) { - //BA.debugLineNum = 3335;BA.debugLine="s5.Position = i"; -_s5.setPosition(_i); - //BA.debugLineNum = 3337;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; -_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_s5.GetString("PE_CLIENTE"))))); - } -}; - //BA.debugLineNum = 3341;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,"; -_l_preacordada.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False))); - }else { - //BA.debugLineNum = 3343;BA.debugLine="l_preacordada.Text = 0"; -_l_preacordada.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3346;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 3348;BA.debugLine="If s6.RowCount > 0 Then"; -if (_s6.getRowCount()>0) { - //BA.debugLineNum = 3349;BA.debugLine="Private total3 As String = 0"; -_total3 = BA.NumberToString(0); - //BA.debugLineNum = 3350;BA.debugLine="For i = 0 To s6.RowCount - 1"; -{ -final int step83 = 1; -final int limit83 = (int) (_s6.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit83 ;_i = _i + step83 ) { - //BA.debugLineNum = 3351;BA.debugLine="s6.Position = i"; -_s6.setPosition(_i); - //BA.debugLineNum = 3353;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan"; -_total3 = BA.NumberToString((double)(Double.parseDouble(_total3))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_s6.GetString("PE_CLIENTE"))))); - } -}; - //BA.debugLineNum = 3357;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa"; -_l_prevtotal.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total3)),(int) (0),(int) (2),(int) (2),__c.False))); - }else { - //BA.debugLineNum = 3359;BA.debugLine="l_prevtotal.Text = 0"; -_l_prevtotal.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3376;BA.debugLine="Private ru_o As Cursor = B4XPages.MainPage.skmt.E"; -_ru_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_ru_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT distinct pe_cliente, pe_ruta FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA IS NULL",(String[])(__c.Null)))); - //BA.debugLineNum = 3378;BA.debugLine="Log(\"##### \" & ru_o.RowCount)"; -__c.LogImpl("441353378","##### "+BA.NumberToString(_ru_o.getRowCount()),0); - //BA.debugLineNum = 3379;BA.debugLine="Private total2 As String = 0"; -_total2 = BA.NumberToString(0); - //BA.debugLineNum = 3380;BA.debugLine="If ru_o.RowCount > 0 Then"; -if (_ru_o.getRowCount()>0) { - //BA.debugLineNum = 3381;BA.debugLine="For i2 = 0 To ru_o.RowCount - 1"; -{ -final int step95 = 1; -final int limit95 = (int) (_ru_o.getRowCount()-1); -_i2 = (int) (0) ; -for (;_i2 <= limit95 ;_i2 = _i2 + step95 ) { - //BA.debugLineNum = 3382;BA.debugLine="ru_o.Position = i2"; -_ru_o.setPosition(_i2); - //BA.debugLineNum = 3384;BA.debugLine="Private rutOr As String = ru_o.GetString(\"PE_RU"; -_rutor = _ru_o.GetString("PE_RUTA"); - //BA.debugLineNum = 3386;BA.debugLine="total2 = total2 + Subs.calculaTotalConPromoXRan"; -_total2 = BA.NumberToString((double)(Double.parseDouble(_total2))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_ru_o.GetString("PE_CLIENTE"))))); - } -}; - }; - //BA.debugLineNum = 3390;BA.debugLine="l_ru_pri.Text = NumberFormat2(total2,0,2,2,False)"; -_l_ru_pri.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total2)),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 3393;BA.debugLine="Private ru_s As Cursor = B4XPages.MainPage.skmt.E"; -_ru_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_ru_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT IFNULL(PE_RUTA, 0) As PE_RUTA, IFNULL(SUM(PE_COSTO_TOT), 0) As TOTAL_CLIE FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA Is Not Null",(String[])(__c.Null)))); - //BA.debugLineNum = 3394;BA.debugLine="ru_s.Position = 0"; -_ru_s.setPosition((int) (0)); - //BA.debugLineNum = 3395;BA.debugLine="If ru_s.GetString(\"PE_RUTA\") = 0 Then"; -if ((_ru_s.GetString("PE_RUTA")).equals(BA.NumberToString(0))) { - }else { - //BA.debugLineNum = 3398;BA.debugLine="Private RuSu As String = ru_s.GetString(\"PE_RUTA"; -_rusu = _ru_s.GetString("PE_RUTA"); - //BA.debugLineNum = 3400;BA.debugLine="ru_s.Position = 0"; -_ru_s.setPosition((int) (0)); - //BA.debugLineNum = 3401;BA.debugLine="l_ru_sup.Text = NumberFormat2(ru_s.GetDouble(\"TO"; -_l_ru_sup.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_ru_s.GetDouble("TOTAL_CLIE"),(int) (0),(int) (2),(int) (2),__c.False))); - }; - //BA.debugLineNum = 3403;BA.debugLine="ru_s.Close"; -_ru_s.Close(); - //BA.debugLineNum = 3405;BA.debugLine="Dim cuantos_obj As String"; -_cuantos_obj = ""; - //BA.debugLineNum = 3406;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) AS TOTAL from HIST_MARCAS_CUOTAS "))); - //BA.debugLineNum = 3407;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3408;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")"; -_cuantos_obj = _c.GetString("TOTAL"); - //BA.debugLineNum = 3409;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3411;BA.debugLine="If cuantos_obj > 0 Then"; -if ((double)(Double.parseDouble(_cuantos_obj))>0) { - //BA.debugLineNum = 3412;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select SUM(HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS "))); - //BA.debugLineNum = 3413;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3414;BA.debugLine="If c.GetString(\"TOTAL\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("TOTAL")))>0) { - //BA.debugLineNum = 3415;BA.debugLine="L_NES.Text = Round(c.GetString(\"TOTAL\") / 25)"; -_l_nes.setText(BA.ObjectToCharSequence(__c.Round((double)(Double.parseDouble(_c.GetString("TOTAL")))/(double)25))); - }else { - //BA.debugLineNum = 3417;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")"; -_l_nes.setText(BA.ObjectToCharSequence(_c.GetString("TOTAL"))); - }; - //BA.debugLineNum = 3419;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 3422;BA.debugLine="Log(L_NES.Text)"; -__c.LogImpl("441353422",_l_nes.getText(),0); - //BA.debugLineNum = 3423;BA.debugLine="Log(L_REAL.Text)"; -__c.LogImpl("441353423",_l_real.getText(),0); - //BA.debugLineNum = 3427;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text"; -_l_alcance.setText(BA.ObjectToCharSequence(__c.Round2(((double)(Double.parseDouble(_l_nes.getText()))/(double)(double)(Double.parseDouble(_l_real.getText()))+1),(int) (2)))); - //BA.debugLineNum = 3428;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text"; -_l_vplan.setText(BA.ObjectToCharSequence(_l_porvisitar.getText())); - //BA.debugLineNum = 3429;BA.debugLine="L_VREAL.Text = L_CUANTOST.text"; -_l_vreal.setText(BA.ObjectToCharSequence(_l_cuantost.getText())); - //BA.debugLineNum = 3430;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T"; -_l_efec_vis.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_vreal.getText()))/(double)(double)(Double.parseDouble(_l_vplan.getText())),(int) (2)))); - //BA.debugLineNum = 3431;BA.debugLine="L_VISITCC.Text = l_cuantosc.text"; -_l_visitcc.setText(BA.ObjectToCharSequence(_l_cuantosc.getText())); - //BA.debugLineNum = 3432;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL."; -_l_efec_pv.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_vreal.getText())),(int) (2)))); - //BA.debugLineNum = 3433;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA"; -_l_efec_pura.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_vplan.getText())),(int) (2)))); - //BA.debugLineNum = 3434;BA.debugLine="l_preventa.Text = Subs.calculaTotalConPromoXRango"; -_l_preventa.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); - //BA.debugLineNum = 3435;BA.debugLine="l_futura.Text = Subs.calculaTotalConPromoXRango1("; -_l_futura.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); - //BA.debugLineNum = 3436;BA.debugLine="L_LIN_TICK.Text = LPT"; -_l_lin_tick.setText(BA.ObjectToCharSequence(_lpt)); - //BA.debugLineNum = 3437;BA.debugLine="If l_monto_ks.Text <> \"0\" Then"; -if ((_l_monto_ks.getText()).equals("0") == false) { - //BA.debugLineNum = 3438;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select COU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = ? ",new String[]{_almacen}))); - //BA.debugLineNum = 3439;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3440;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")"; -_l_cte_promo.setText(BA.ObjectToCharSequence(_c.GetString("CUANTOS"))); - //BA.debugLineNum = 3441;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3442;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"PRIORITARIO"}))); - //BA.debugLineNum = 3443;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3452;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")"; -_l_prio.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA"))); - //BA.debugLineNum = 3453;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3455;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"ESTRATEGICO"}))); - //BA.debugLineNum = 3456;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3457;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")"; -_l_secund.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA"))); - //BA.debugLineNum = 3458;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3460;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"COMPLEMENTARIO"}))); - //BA.debugLineNum = 3461;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3462;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")"; -_l_comp.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA"))); - //BA.debugLineNum = 3463;BA.debugLine="d.Close"; -_d.Close(); - }else { - //BA.debugLineNum = 3465;BA.debugLine="L_PRIO.Text = \"0\""; -_l_prio.setText(BA.ObjectToCharSequence("0")); - //BA.debugLineNum = 3466;BA.debugLine="L_SECUND.Text = \"0\""; -_l_secund.setText(BA.ObjectToCharSequence("0")); - //BA.debugLineNum = 3467;BA.debugLine="L_COMP.Text = \"0\""; -_l_comp.setText(BA.ObjectToCharSequence("0")); - }; - //BA.debugLineNum = 3470;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))); - //BA.debugLineNum = 3471;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 3472;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 3473;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))); - //BA.debugLineNum = 3474;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3475;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")"; -_l_cte_promo.setText(BA.ObjectToCharSequence(_d.GetString("CUANTOS"))); - //BA.debugLineNum = 3476;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3477;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C"; -_l_reden_promo.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_cte_promo.getText())),(int) (2)))); - }else { - //BA.debugLineNum = 3479;BA.debugLine="L_CTE_PROMO.Text = 0"; -_l_cte_promo.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3480;BA.debugLine="L_REDEN_PROMO.Text = 0"; -_l_reden_promo.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3482;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 3483;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO "))); - //BA.debugLineNum = 3484;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3485;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /"; -_l_lin_tick.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_d.GetString("CUANTOS")))/(double)(double)(Double.parseDouble(_l_visitcc.getText())),(int) (2)))); - //BA.debugLineNum = 3486;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3488;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from HIST_CUOTAS "))); - //BA.debugLineNum = 3489;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 3490;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_d.GetString("CUANTOS")))>0) { - }else { - //BA.debugLineNum = 3498;BA.debugLine="l_monto_c1.Text = 4000"; -_l_monto_c1.setText(BA.ObjectToCharSequence(4000)); - //BA.debugLineNum = 3499;BA.debugLine="l_monto_c2.Text = 2000"; -_l_monto_c2.setText(BA.ObjectToCharSequence(2000)); - //BA.debugLineNum = 3500;BA.debugLine="l_monto_c3.Text = 1000"; -_l_monto_c3.setText(BA.ObjectToCharSequence(1000)); - }; - //BA.debugLineNum = 3502;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 3507;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 3509;BA.debugLine="If s3.RowCount > 0 Then"; -if (_s3.getRowCount()>0) { - //BA.debugLineNum = 3510;BA.debugLine="Private total1 As String = 0"; -_total1 = BA.NumberToString(0); - //BA.debugLineNum = 3511;BA.debugLine="For i = 0 To s3.RowCount - 1"; -{ -final int step189 = 1; -final int limit189 = (int) (_s3.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit189 ;_i = _i + step189 ) { - //BA.debugLineNum = 3512;BA.debugLine="s3.Position = i"; -_s3.setPosition(_i); - //BA.debugLineNum = 3514;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan"; -_total1 = BA.NumberToString((double)(Double.parseDouble(_total1))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_s3.GetString("PE_CLIENTE"))))); - } -}; - //BA.debugLineNum = 3518;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)"; -_l_real.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total1)),(int) (0),(int) (2),(int) (2),__c.False))); - }else { - //BA.debugLineNum = 3520;BA.debugLine="L_REAL.Text = 0"; -_l_real.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3524;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 3526;BA.debugLine="If s5.RowCount > 0 Then"; -if (_s5.getRowCount()>0) { - //BA.debugLineNum = 3527;BA.debugLine="Private total4 As String = 0"; -_total4 = BA.NumberToString(0); - //BA.debugLineNum = 3528;BA.debugLine="For i = 0 To s5.RowCount - 1"; -{ -final int step200 = 1; -final int limit200 = (int) (_s5.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit200 ;_i = _i + step200 ) { - //BA.debugLineNum = 3529;BA.debugLine="s5.Position = i"; -_s5.setPosition(_i); - //BA.debugLineNum = 3531;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; -_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_s5.GetString("PE_CLIENTE"))))); - } -}; - //BA.debugLineNum = 3535;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,"; -_l_preacordada.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False))); - }else { - //BA.debugLineNum = 3537;BA.debugLine="l_preacordada.Text = 0"; -_l_preacordada.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3540;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 3542;BA.debugLine="If s6.RowCount > 0 Then"; -if (_s6.getRowCount()>0) { - //BA.debugLineNum = 3543;BA.debugLine="Private total3 As String = 0"; -_total3 = BA.NumberToString(0); - //BA.debugLineNum = 3544;BA.debugLine="For i = 0 To s6.RowCount - 1"; -{ -final int step211 = 1; -final int limit211 = (int) (_s6.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit211 ;_i = _i + step211 ) { - //BA.debugLineNum = 3545;BA.debugLine="s6.Position = i"; -_s6.setPosition(_i); - //BA.debugLineNum = 3547;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan"; -_total3 = BA.NumberToString((double)(Double.parseDouble(_total3))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_s6.GetString("PE_CLIENTE"))))); - } -}; - //BA.debugLineNum = 3551;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa"; -_l_prevtotal.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total3)),(int) (0),(int) (2),(int) (2),__c.False))); - }else { - //BA.debugLineNum = 3553;BA.debugLine="l_prevtotal.Text = 0"; -_l_prevtotal.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3557;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s7 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s7 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select Ifnull(SUM(PE_CANT),0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO') GROUP BY PE_PROID"))); - //BA.debugLineNum = 3558;BA.debugLine="If s7.RowCount > 0 Then"; -if (_s7.getRowCount()>0) { - //BA.debugLineNum = 3559;BA.debugLine="Dim totalstick As Int = 0"; -_totalstick = (int) (0); - //BA.debugLineNum = 3560;BA.debugLine="For sfsdf = 0 To s7.RowCount -1"; -{ -final int step222 = 1; -final int limit222 = (int) (_s7.getRowCount()-1); -_sfsdf = (int) (0) ; -for (;_sfsdf <= limit222 ;_sfsdf = _sfsdf + step222 ) { - //BA.debugLineNum = 3561;BA.debugLine="s7.Position= sfsdf"; -_s7.setPosition(_sfsdf); - //BA.debugLineNum = 3562;BA.debugLine="Log(\"ENTRE AQUI\")"; -__c.LogImpl("441353562","ENTRE AQUI",0); - //BA.debugLineNum = 3563;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ"; -_s8 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s8 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_s7.GetString("PE_PROID")))+"'")))); - //BA.debugLineNum = 3564;BA.debugLine="s8.Position = 0"; -_s8.setPosition((int) (0)); - //BA.debugLineNum = 3565;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN"; -_totalstick = (int) (_totalstick+((double)(Double.parseDouble(_s7.GetString("PE_CANT")))*(double)(Double.parseDouble(_s8.GetString("CAT_GP_CONVERSION3"))))); - } -}; - //BA.debugLineNum = 3567;BA.debugLine="Dim totaltotaltot As Int = totalstick/200"; -_totaltotaltot = (int) (_totalstick/(double)200); - //BA.debugLineNum = 3568;BA.debugLine="l_ru_pri.Text = totaltotaltot"; -_l_ru_pri.setText(BA.ObjectToCharSequence(_totaltotaltot)); - }else { - //BA.debugLineNum = 3570;BA.debugLine="l_ru_pri.Text = 0"; -_l_ru_pri.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3573;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')"))); - //BA.debugLineNum = 3574;BA.debugLine="If s0.RowCount > 0 Then"; -if (_s0.getRowCount()>0) { - //BA.debugLineNum = 3576;BA.debugLine="s0.Position = 0"; -_s0.setPosition((int) (0)); - //BA.debugLineNum = 3577;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; -__c.LogImpl("441353577",_s0.GetString("PE_CANT"),0); - //BA.debugLineNum = 3578;BA.debugLine="L_REAL.Text = s0.GetString(\"PE_CANT\")"; -_l_real.setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT"))); - }else { - //BA.debugLineNum = 3580;BA.debugLine="L_REAL.Text = 0"; -_l_real.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3583;BA.debugLine="L_NES.Text = 0"; -_l_nes.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3584;BA.debugLine="l_ru_sup.Text = 0"; -_l_ru_sup.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3585;BA.debugLine="L_ALCANCE.Text = 0"; -_l_alcance.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3586;BA.debugLine="L_VPLAN.Text = 0"; -_l_vplan.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3587;BA.debugLine="L_VREAL.Text = 0"; -_l_vreal.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3588;BA.debugLine="L_EFEC_VIS.Text = 0"; -_l_efec_vis.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3589;BA.debugLine="L_VISITCC.Text = 0"; -_l_visitcc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3590;BA.debugLine="L_EFEC_PV.Text = 0"; -_l_efec_pv.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3591;BA.debugLine="L_EFEC_PURA.Text = 0"; -_l_efec_pura.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3592;BA.debugLine="l_preventa.Text = 0"; -_l_preventa.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3593;BA.debugLine="l_futura.Text = 0"; -_l_futura.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3594;BA.debugLine="Label13.Text = 0"; -_label13.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3595;BA.debugLine="Label19.Text = 0"; -_label19.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3596;BA.debugLine="Label21.Text = 0"; -_label21.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3599;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')"))); - //BA.debugLineNum = 3600;BA.debugLine="If s0.RowCount > 0 Then"; -if (_s0.getRowCount()>0) { - //BA.debugLineNum = 3601;BA.debugLine="s0.Position = 0"; -_s0.setPosition((int) (0)); - //BA.debugLineNum = 3602;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; -__c.LogImpl("441353602",_s0.GetString("PE_CANT"),0); - //BA.debugLineNum = 3603;BA.debugLine="Label33.Text = s0.GetString(\"PE_CANT\")"; -_label33.setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT"))); - }else { - //BA.debugLineNum = 3605;BA.debugLine="Label33.Text = 0"; -_label33.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3608;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 3610;BA.debugLine="If s5.RowCount > 0 Then"; -if (_s5.getRowCount()>0) { - //BA.debugLineNum = 3611;BA.debugLine="Private total4 As String = 0"; -_total4 = BA.NumberToString(0); - //BA.debugLineNum = 3612;BA.debugLine="For i = 0 To s5.RowCount - 1"; -{ -final int step267 = 1; -final int limit267 = (int) (_s5.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit267 ;_i = _i + step267 ) { - //BA.debugLineNum = 3613;BA.debugLine="s5.Position = i"; -_s5.setPosition(_i); - //BA.debugLineNum = 3615;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; -_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango5 /*String*/ (ba,_s5.GetString("PE_CLIENTE"))))); - } -}; - //BA.debugLineNum = 3619;BA.debugLine="Label35.Text = NumberFormat2(total4,0,2,2,False)"; -_label35.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False))); - }else { - //BA.debugLineNum = 3621;BA.debugLine="Label35.Text = 0"; -_label35.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3624;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')"))); - //BA.debugLineNum = 3625;BA.debugLine="If s0.RowCount > 0 Then"; -if (_s0.getRowCount()>0) { - //BA.debugLineNum = 3626;BA.debugLine="s0.Position = 0"; -_s0.setPosition((int) (0)); - //BA.debugLineNum = 3627;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))"; -__c.LogImpl("441353627",_s0.GetString("PE_CANT"),0); - //BA.debugLineNum = 3628;BA.debugLine="Label43.Text = s0.GetString(\"PE_CANT\")"; -_label43.setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT"))); - }else { - //BA.debugLineNum = 3630;BA.debugLine="Label43.Text = 0"; -_label43.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3633;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO"))); - //BA.debugLineNum = 3635;BA.debugLine="If s5.RowCount > 0 Then"; -if (_s5.getRowCount()>0) { - //BA.debugLineNum = 3636;BA.debugLine="Private total4 As String = 0"; -_total4 = BA.NumberToString(0); - //BA.debugLineNum = 3637;BA.debugLine="For i = 0 To s5.RowCount - 1"; -{ -final int step286 = 1; -final int limit286 = (int) (_s5.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit286 ;_i = _i + step286 ) { - //BA.debugLineNum = 3638;BA.debugLine="s5.Position = i"; -_s5.setPosition(_i); - //BA.debugLineNum = 3640;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan"; -_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango6 /*String*/ (ba,_s5.GetString("PE_CLIENTE"))))); - } -}; - //BA.debugLineNum = 3644;BA.debugLine="Label51.Text = NumberFormat2(total4,0,2,2,False)"; -_label51.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False))); - }else { - //BA.debugLineNum = 3646;BA.debugLine="Label51.Text = 0"; -_label51.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3649;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe"; -_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(COB_VOLUMEN,0) AS COB_VOLUMEN, IFNULL(COB_MARCAE,0) AS COB_MARCAE, IFNULL(COB_PORTAFOLIO,0) AS COB_PORTAFOLIO, IFNULL(COB_OBJPP,0) AS COB_OBJPP, IFNULL(COB_GEV,0) as COB_GEV FROM CAT_OBJETIVO_BAT"))); - //BA.debugLineNum = 3650;BA.debugLine="If s6.RowCount > 0 Then"; -if (_s6.getRowCount()>0) { - //BA.debugLineNum = 3651;BA.debugLine="s6.Position = 0"; -_s6.setPosition((int) (0)); - //BA.debugLineNum = 3652;BA.debugLine="L_NES.Text = NumberFormat2(s6.GetString(\"COB_VOL"; -_l_nes.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_VOLUMEN"))),(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 3653;BA.debugLine="L_EFEC_PURA.Text = NumberFormat2(s6.GetString(\"C"; -_l_efec_pura.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_MARCAE"))),(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 3654;BA.debugLine="L_VISITCC.Text = NumberFormat2(s6.GetString(\"COB"; -_l_visitcc.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_PORTAFOLIO"))),(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 3655;BA.debugLine="l_ru_sup.Text = NumberFormat2(s6.GetString(\"COB_"; -_l_ru_sup.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_OBJPP"))),(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 3656;BA.debugLine="l_futura.Text = NumberFormat2(s6.GetString(\"COB_"; -_l_futura.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_GEV"))),(int) (0),(int) (0),(int) (0),__c.False))); - }else { - //BA.debugLineNum = 3658;BA.debugLine="L_NES.Text = 0"; -_l_nes.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3659;BA.debugLine="L_EFEC_PURA.Text = 0"; -_l_efec_pura.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3660;BA.debugLine="L_VISITCC.Text = 0"; -_l_visitcc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3661;BA.debugLine="l_ru_sup.Text = 0"; -_l_ru_sup.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 3662;BA.debugLine="l_futura.Text = 0"; -_l_futura.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 3665;BA.debugLine="End Sub"; +public String _resumen_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "resumen_click", false)) + {return ((String) Debug.delegate(ba, "resumen_click", null));} +RDebugUtils.currentLine=4587520; + //BA.debugLineNum = 4587520;BA.debugLine="Sub Resumen_Click"; +RDebugUtils.currentLine=4587521; + //BA.debugLineNum = 4587521;BA.debugLine="P_RESUMEN.Visible = True"; +__ref._p_resumen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4587529; + //BA.debugLineNum = 4587529;BA.debugLine="End Sub"; return ""; } -public String _resumen_click() throws Exception{ - //BA.debugLineNum = 3197;BA.debugLine="Sub Resumen_Click"; - //BA.debugLineNum = 3198;BA.debugLine="P_RESUMEN.Visible = True"; -_p_resumen.setVisible(__c.True); - //BA.debugLineNum = 3206;BA.debugLine="End Sub"; -return ""; -} -public String _subir_click() throws Exception{ +public String _subir_click(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "subir_click", false)) + {return ((String) Debug.delegate(ba, "subir_click", null));} int _i = 0; int _dia = 0; String _dialetra = ""; @@ -6144,1053 +8895,1480 @@ String _rutaactual = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _x1 = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _x2 = null; - //BA.debugLineNum = 635;BA.debugLine="Sub Subir_Click"; - //BA.debugLineNum = 636;BA.debugLine="checaPedido"; -_checapedido(); - //BA.debugLineNum = 637;BA.debugLine="CARGA = \"SUBIR\""; -_carga = "SUBIR"; - //BA.debugLineNum = 638;BA.debugLine="P1.Visible = True"; -_p1.setVisible(__c.True); - //BA.debugLineNum = 639;BA.debugLine="P1.BringToFront"; -_p1.BringToFront(); - //BA.debugLineNum = 641;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 642;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 643;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 644;BA.debugLine="Subir.Visible=False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 645;BA.debugLine="cargar.Visible=False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 646;BA.debugLine="L_P_1.Visible = False"; -_l_p_1.setVisible(__c.False); - //BA.debugLineNum = 647;BA.debugLine="S_CC.Visible = False"; -_s_cc.setVisible(__c.False); - //BA.debugLineNum = 648;BA.debugLine="L_P_3.Visible = False"; -_l_p_3.setVisible(__c.False); - //BA.debugLineNum = 649;BA.debugLine="S_CH.Visible = False"; -_s_ch.setVisible(__c.False); - //BA.debugLineNum = 650;BA.debugLine="PB1.Visible = False"; -_pb1.setVisible(__c.False); - //BA.debugLineNum = 651;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - //BA.debugLineNum = 652;BA.debugLine="l_visitartotal.Visible = False"; -_l_visitartotal.setVisible(__c.False); - //BA.debugLineNum = 653;BA.debugLine="de.Visible = False"; -_de.setVisible(__c.False); - //BA.debugLineNum = 654;BA.debugLine="l_faltan.Visible = False"; -_l_faltan.setVisible(__c.False); - //BA.debugLineNum = 655;BA.debugLine="l_visitas.Visible = False"; -_l_visitas.setVisible(__c.False); - //BA.debugLineNum = 657;BA.debugLine="p_principal.Visible = False"; -_p_principal.setVisible(__c.False); - //BA.debugLineNum = 658;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p1,(int) (0),(int) (0)); - //BA.debugLineNum = 659;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p1,_root.getWidth()); - //BA.debugLineNum = 660;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; -_subs._centrapanelv /*String*/ (ba,_p1,_root.getHeight()); - //BA.debugLineNum = 661;BA.debugLine="B4XPages.MainPage.reqManager.trackInit"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._trackinit /*String*/ (); - //BA.debugLineNum = 663;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\""; -_l_p_2.setText(BA.ObjectToCharSequence("Envio de Pedidos")); - //BA.debugLineNum = 664;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\""; -_l_p_3.setText(BA.ObjectToCharSequence("Envio de Pedidos")); - //BA.debugLineNum = 665;BA.debugLine="S_CH.Text = \"EN PROCESO\""; -_s_ch.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 666;BA.debugLine="S_CP.Text = \"EN PROCESO\""; -_s_cp.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 667;BA.debugLine="B_OK_PAS.Text = \"ENVIANDO\""; -_b_ok_pas.setText(BA.ObjectToCharSequence("ENVIANDO")); - //BA.debugLineNum = 668;BA.debugLine="PB1.Progress = 0"; -_pb1.setProgress((int) (0)); - //BA.debugLineNum = 669;BA.debugLine="PB2.Progress = 0"; -_pb2.setProgress((int) (0)); - //BA.debugLineNum = 675;BA.debugLine="PASO = 1"; -_paso = BA.NumberToString(1); - //BA.debugLineNum = 677;BA.debugLine="If PASO =1 Then"; -if ((_paso).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 678;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=3604480; + //BA.debugLineNum = 3604480;BA.debugLine="Sub Subir_Click"; +RDebugUtils.currentLine=3604481; + //BA.debugLineNum = 3604481;BA.debugLine="checaPedido"; +__ref._checapedido /*String*/ (null); +RDebugUtils.currentLine=3604482; + //BA.debugLineNum = 3604482;BA.debugLine="CARGA = \"SUBIR\""; +__ref._carga /*String*/ = "SUBIR"; +RDebugUtils.currentLine=3604483; + //BA.debugLineNum = 3604483;BA.debugLine="P1.Visible = True"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=3604484; + //BA.debugLineNum = 3604484;BA.debugLine="P1.BringToFront"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=3604486; + //BA.debugLineNum = 3604486;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604487; + //BA.debugLineNum = 3604487;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604488; + //BA.debugLineNum = 3604488;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604489; + //BA.debugLineNum = 3604489;BA.debugLine="Subir.Visible=False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604490; + //BA.debugLineNum = 3604490;BA.debugLine="cargar.Visible=False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604491; + //BA.debugLineNum = 3604491;BA.debugLine="L_P_1.Visible = False"; +__ref._l_p_1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604492; + //BA.debugLineNum = 3604492;BA.debugLine="S_CC.Visible = False"; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604493; + //BA.debugLineNum = 3604493;BA.debugLine="L_P_3.Visible = False"; +__ref._l_p_3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604494; + //BA.debugLineNum = 3604494;BA.debugLine="S_CH.Visible = False"; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604495; + //BA.debugLineNum = 3604495;BA.debugLine="PB1.Visible = False"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604496; + //BA.debugLineNum = 3604496;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604497; + //BA.debugLineNum = 3604497;BA.debugLine="l_visitartotal.Visible = False"; +__ref._l_visitartotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604498; + //BA.debugLineNum = 3604498;BA.debugLine="de.Visible = False"; +__ref._de /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604499; + //BA.debugLineNum = 3604499;BA.debugLine="l_faltan.Visible = False"; +__ref._l_faltan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604500; + //BA.debugLineNum = 3604500;BA.debugLine="l_visitas.Visible = False"; +__ref._l_visitas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604502; + //BA.debugLineNum = 3604502;BA.debugLine="p_principal.Visible = False"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604503; + //BA.debugLineNum = 3604503;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=3604504; + //BA.debugLineNum = 3604504;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=3604505; + //BA.debugLineNum = 3604505;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; +_subs._centrapanelv /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=3604506; + //BA.debugLineNum = 3604506;BA.debugLine="B4XPages.MainPage.reqManager.trackInit"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._trackinit /*String*/ (null); +RDebugUtils.currentLine=3604508; + //BA.debugLineNum = 3604508;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\""; +__ref._l_p_2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Envio de Pedidos")); +RDebugUtils.currentLine=3604509; + //BA.debugLineNum = 3604509;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\""; +__ref._l_p_3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Envio de Pedidos")); +RDebugUtils.currentLine=3604510; + //BA.debugLineNum = 3604510;BA.debugLine="S_CH.Text = \"EN PROCESO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=3604511; + //BA.debugLineNum = 3604511;BA.debugLine="S_CP.Text = \"EN PROCESO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=3604512; + //BA.debugLineNum = 3604512;BA.debugLine="B_OK_PAS.Text = \"ENVIANDO\""; +__ref._b_ok_pas /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("ENVIANDO")); +RDebugUtils.currentLine=3604513; + //BA.debugLineNum = 3604513;BA.debugLine="PB1.Progress = 0"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=3604514; + //BA.debugLineNum = 3604514;BA.debugLine="PB2.Progress = 0"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=3604520; + //BA.debugLineNum = 3604520;BA.debugLine="PASO = 1"; +__ref._paso /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=3604522; + //BA.debugLineNum = 3604522;BA.debugLine="If PASO =1 Then"; +if ((__ref._paso /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=3604523; + //BA.debugLineNum = 3604523;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)"); - //BA.debugLineNum = 679;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 680;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 681;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 682;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 683;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS"))); - //BA.debugLineNum = 684;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 685;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604524; + //BA.debugLineNum = 3604524;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=3604525; + //BA.debugLineNum = 3604525;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3604526; + //BA.debugLineNum = 3604526;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=3604527; + //BA.debugLineNum = 3604527;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604528; + //BA.debugLineNum = 3604528;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS"))); +RDebugUtils.currentLine=3604529; + //BA.debugLineNum = 3604529;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604530; + //BA.debugLineNum = 3604530;BA.debugLine="For i=0 To c.RowCount -1"; { final int step41 = 1; -final int limit41 = (int) (_c.getRowCount()-1); +final int limit41 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit41 ;_i = _i + step41 ) { - //BA.debugLineNum = 686;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 687;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604531; + //BA.debugLineNum = 3604531;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604532; + //BA.debugLineNum = 3604532;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 688;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 689;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS\""; -_cmd.Name /*String*/ = "UPDATE_GUNA_ACTUAL2_GPS"; - //BA.debugLineNum = 690;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__c.NumberFormat2((double)(Double.parseDouble(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ )),(int) (0),(int) (2),(int) (2),__c.False)),(Object)(_l_cuantost.getText()),(Object)(_l_cuantosc.getText()),(Object)(_l_porvisitar.getText()),(Object)(_c.GetString("hglat")),(Object)(_c.GetString("hglon")),(Object)(_batterystatus[(int) (0)]),(Object)(_lpt),(Object)(_steyin),(Object)(_steyout),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 691;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_visitas")); +RDebugUtils.currentLine=3604533; + //BA.debugLineNum = 3604533;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604534; + //BA.debugLineNum = 3604534;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "UPDATE_GUNA_ACTUAL2_GPS"; +RDebugUtils.currentLine=3604535; + //BA.debugLineNum = 3604535;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__c.NumberFormat2((double)(Double.parseDouble(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ )),(int) (0),(int) (2),(int) (2),__c.False)),(Object)(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hglat")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hglon")),(Object)(__ref._batterystatus /*int[]*/ [(int) (0)]),(Object)(__ref._lpt /*String*/ ),(Object)(__ref._steyin /*String*/ ),(Object)(__ref._steyout /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=3604536; + //BA.debugLineNum = 3604536;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_visitas")); } }; }; - //BA.debugLineNum = 694;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 697;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE "))); - //BA.debugLineNum = 698;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE "))); - //BA.debugLineNum = 699;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 700;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604539; + //BA.debugLineNum = 3604539;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604542; + //BA.debugLineNum = 3604542;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE "))); +RDebugUtils.currentLine=3604543; + //BA.debugLineNum = 3604543;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE "))); +RDebugUtils.currentLine=3604544; + //BA.debugLineNum = 3604544;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604545; + //BA.debugLineNum = 3604545;BA.debugLine="For i=0 To c.RowCount -1"; { final int step54 = 1; -final int limit54 = (int) (_c.getRowCount()-1); +final int limit54 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit54 ;_i = _i + step54 ) { - //BA.debugLineNum = 701;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 702;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604546; + //BA.debugLineNum = 3604546;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604547; + //BA.debugLineNum = 3604547;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 703;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 704;BA.debugLine="cmd.Name = \"insert_pedidos_GV3\""; -_cmd.Name /*String*/ = "insert_pedidos_GV3"; - //BA.debugLineNum = 705;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CLIENTE")),(Object)(_c.GetString("PC_FECHA")),(Object)(_c.GetString("PC_USER")),(Object)(_c.GetString("PC_NOART")),(Object)(_c.GetString("PC_MONTO")),(Object)(_c.GetString("PC_LON")),(Object)(_c.GetString("PC_LAT")),(Object)(_almacen),(Object)(_l_ruta.getText()),(Object)(_c.GetString("PC_COSTO_SIN")),(Object)(_c.GetString("PC_FACTURA"))}; - //BA.debugLineNum = 706;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedidos")); +RDebugUtils.currentLine=3604548; + //BA.debugLineNum = 3604548;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604549; + //BA.debugLineNum = 3604549;BA.debugLine="cmd.Name = \"insert_pedidos_GV3\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedidos_GV3"; +RDebugUtils.currentLine=3604550; + //BA.debugLineNum = 3604550;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_LON")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_LAT")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FACTURA"))}; +RDebugUtils.currentLine=3604551; + //BA.debugLineNum = 3604551;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedidos")); } }; }; - //BA.debugLineNum = 709;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 710;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 711;BA.debugLine="cuantos_pedidosc = D.GetString(\"CUANTOS_PEDIDOSC"; -_cuantos_pedidosc = _d.GetString("CUANTOS_PEDIDOSC"); - //BA.debugLineNum = 712;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 716;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CODIG"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGOKMTS, CODIGOB, LAT, LON FROM HIST_CODIGO_BARRAS"))); - //BA.debugLineNum = 717;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 718;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604554; + //BA.debugLineNum = 3604554;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604555; + //BA.debugLineNum = 3604555;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3604556; + //BA.debugLineNum = 3604556;BA.debugLine="cuantos_pedidosc = D.GetString(\"CUANTOS_PEDIDOSC"; +__ref._cuantos_pedidosc /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_PEDIDOSC"); +RDebugUtils.currentLine=3604557; + //BA.debugLineNum = 3604557;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604561; + //BA.debugLineNum = 3604561;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CODIG"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGOKMTS, CODIGOB, LAT, LON FROM HIST_CODIGO_BARRAS"))); +RDebugUtils.currentLine=3604562; + //BA.debugLineNum = 3604562;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604563; + //BA.debugLineNum = 3604563;BA.debugLine="For i=0 To c.RowCount -1"; { final int step69 = 1; -final int limit69 = (int) (_c.getRowCount()-1); +final int limit69 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit69 ;_i = _i + step69 ) { - //BA.debugLineNum = 719;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 720;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604564; + //BA.debugLineNum = 3604564;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604565; + //BA.debugLineNum = 3604565;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 721;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 722;BA.debugLine="cmd.Name = \"insert_QR_2_GV2\""; -_cmd.Name /*String*/ = "insert_QR_2_GV2"; - //BA.debugLineNum = 723;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CODIGOKMTS")),(Object)(_c.GetString("CODIGOB")),(Object)(_c.GetString("LON")),(Object)(_c.GetString("LAT")),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 724;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_QR2")); +RDebugUtils.currentLine=3604566; + //BA.debugLineNum = 3604566;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604567; + //BA.debugLineNum = 3604567;BA.debugLine="cmd.Name = \"insert_QR_2_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_QR_2_GV2"; +RDebugUtils.currentLine=3604568; + //BA.debugLineNum = 3604568;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CODIGOKMTS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CODIGOB")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LON")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LAT")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=3604569; + //BA.debugLineNum = 3604569;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_QR2")); } }; }; - //BA.debugLineNum = 727;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 730;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PLAN_LEALTAD WHERE DESCARGADO IS NULL"))); - //BA.debugLineNum = 731;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 732;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604572; + //BA.debugLineNum = 3604572;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604575; + //BA.debugLineNum = 3604575;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PLAN_LEALTAD WHERE DESCARGADO IS NULL"))); +RDebugUtils.currentLine=3604576; + //BA.debugLineNum = 3604576;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604577; + //BA.debugLineNum = 3604577;BA.debugLine="For i=0 To c.RowCount -1"; { final int step81 = 1; -final int limit81 = (int) (_c.getRowCount()-1); +final int limit81 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit81 ;_i = _i + step81 ) { - //BA.debugLineNum = 733;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 734;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604578; + //BA.debugLineNum = 3604578;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604579; + //BA.debugLineNum = 3604579;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 735;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 736;BA.debugLine="cmd.Name = \"insert_plan_lealtad_GUNA\""; -_cmd.Name /*String*/ = "insert_plan_lealtad_GUNA"; - //BA.debugLineNum = 737;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PL_BANDERA")),(Object)(_c.GetString("PL_CLIENTE")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; - //BA.debugLineNum = 738;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insPlanLealtad")); +RDebugUtils.currentLine=3604580; + //BA.debugLineNum = 3604580;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604581; + //BA.debugLineNum = 3604581;BA.debugLine="cmd.Name = \"insert_plan_lealtad_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_plan_lealtad_GUNA"; +RDebugUtils.currentLine=3604582; + //BA.debugLineNum = 3604582;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PL_BANDERA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PL_CLIENTE")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; +RDebugUtils.currentLine=3604583; + //BA.debugLineNum = 3604583;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insPlanLealtad")); } }; }; - //BA.debugLineNum = 741;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 744;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM COMENTARIOS WHERE DESCARGADO IS NULL"))); - //BA.debugLineNum = 745;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 746;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604586; + //BA.debugLineNum = 3604586;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604589; + //BA.debugLineNum = 3604589;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM COMENTARIOS WHERE DESCARGADO IS NULL"))); +RDebugUtils.currentLine=3604590; + //BA.debugLineNum = 3604590;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604591; + //BA.debugLineNum = 3604591;BA.debugLine="For i=0 To c.RowCount -1"; { final int step93 = 1; -final int limit93 = (int) (_c.getRowCount()-1); +final int limit93 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit93 ;_i = _i + step93 ) { - //BA.debugLineNum = 747;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 748;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604592; + //BA.debugLineNum = 3604592;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604593; + //BA.debugLineNum = 3604593;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 749;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 750;BA.debugLine="cmd.Name = \"insert_coments_GUNA2\""; -_cmd.Name /*String*/ = "insert_coments_GUNA2"; - //BA.debugLineNum = 751;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("COMENTARTIO")),(Object)(_c.GetString("CLIENTE")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_c.GetInt("comentario_tmp"))}; - //BA.debugLineNum = 752;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INS_coment")); +RDebugUtils.currentLine=3604594; + //BA.debugLineNum = 3604594;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604595; + //BA.debugLineNum = 3604595;BA.debugLine="cmd.Name = \"insert_coments_GUNA2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_coments_GUNA2"; +RDebugUtils.currentLine=3604596; + //BA.debugLineNum = 3604596;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COMENTARTIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("comentario_tmp"))}; +RDebugUtils.currentLine=3604597; + //BA.debugLineNum = 3604597;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("INS_coment")); } }; }; - //BA.debugLineNum = 755;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 757;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT * FROM CLIENTES"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CLIENTES_NUEVOS"))); - //BA.debugLineNum = 758;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 759;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=3604600; + //BA.debugLineNum = 3604600;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604602; + //BA.debugLineNum = 3604602;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT * FROM CLIENTES"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CLIENTES_NUEVOS"))); +RDebugUtils.currentLine=3604603; + //BA.debugLineNum = 3604603;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604604; + //BA.debugLineNum = 3604604;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step105 = 1; -final int limit105 = (int) (_c.getRowCount()-1); +final int limit105 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit105 ;_i = _i + step105 ) { - //BA.debugLineNum = 760;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 761;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim"; +RDebugUtils.currentLine=3604605; + //BA.debugLineNum = 3604605;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604606; + //BA.debugLineNum = 3604606;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim"; _dia = __c.DateTime.GetDayOfWeek(__c.DateTime.getNow()); - //BA.debugLineNum = 762;BA.debugLine="If dia = 2 Then"; +RDebugUtils.currentLine=3604607; + //BA.debugLineNum = 3604607;BA.debugLine="If dia = 2 Then"; if (_dia==2) { - //BA.debugLineNum = 763;BA.debugLine="Dim dialetra As String = \"LUNES\""; +RDebugUtils.currentLine=3604608; + //BA.debugLineNum = 3604608;BA.debugLine="Dim dialetra As String = \"LUNES\""; _dialetra = "LUNES"; - }else if(_dia==3) { - //BA.debugLineNum = 765;BA.debugLine="Dim dialetra As String = \"MARTES\""; + }else +{RDebugUtils.currentLine=3604609; + //BA.debugLineNum = 3604609;BA.debugLine="Else If dia = 3 Then"; +if (_dia==3) { +RDebugUtils.currentLine=3604610; + //BA.debugLineNum = 3604610;BA.debugLine="Dim dialetra As String = \"MARTES\""; _dialetra = "MARTES"; - }else if(_dia==4) { - //BA.debugLineNum = 767;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; + }else +{RDebugUtils.currentLine=3604611; + //BA.debugLineNum = 3604611;BA.debugLine="Else If dia = 4 Then"; +if (_dia==4) { +RDebugUtils.currentLine=3604612; + //BA.debugLineNum = 3604612;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; _dialetra = "MIERCOLES"; - }else if(_dia==5) { - //BA.debugLineNum = 769;BA.debugLine="Dim dialetra As String = \"JUEVES\""; + }else +{RDebugUtils.currentLine=3604613; + //BA.debugLineNum = 3604613;BA.debugLine="Else If dia = 5 Then"; +if (_dia==5) { +RDebugUtils.currentLine=3604614; + //BA.debugLineNum = 3604614;BA.debugLine="Dim dialetra As String = \"JUEVES\""; _dialetra = "JUEVES"; - }else if(_dia==6) { - //BA.debugLineNum = 771;BA.debugLine="Dim dialetra As String = \"VIERNES\""; + }else +{RDebugUtils.currentLine=3604615; + //BA.debugLineNum = 3604615;BA.debugLine="Else If dia = 6 Then"; +if (_dia==6) { +RDebugUtils.currentLine=3604616; + //BA.debugLineNum = 3604616;BA.debugLine="Dim dialetra As String = \"VIERNES\""; _dialetra = "VIERNES"; - }else if(_dia==7) { - //BA.debugLineNum = 773;BA.debugLine="Dim dialetra As String = \"SABADO\""; + }else +{RDebugUtils.currentLine=3604617; + //BA.debugLineNum = 3604617;BA.debugLine="Else If dia = 7 Then"; +if (_dia==7) { +RDebugUtils.currentLine=3604618; + //BA.debugLineNum = 3604618;BA.debugLine="Dim dialetra As String = \"SABADO\""; _dialetra = "SABADO"; - }; - //BA.debugLineNum = 775;BA.debugLine="Dim cmd As DBCommand"; + }}}}}} +; +RDebugUtils.currentLine=3604620; + //BA.debugLineNum = 3604620;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 776;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 777;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA2\""; -_cmd.Name /*String*/ = "insert_clientesnuevos_GUNA2"; - //BA.debugLineNum = 778;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString("; -__c.LogImpl("440173711",_c.GetString("CN_ID")+" ,"+_c.GetString("CN_FECHA")+" ,"+_c.GetString("CN_USER")+" ,"+_c.GetString("CN_LAT")+" ,"+_c.GetString("CN_LON")+" ,"+_c.GetString("CN_NOMBRE")+" ,"+_c.GetString("CN_DIRECCION")+" ,"+_almacen+_c.GetString("CN_RUTA")+" ,"+"En espera"+_c.GetString("CN_GIRO")+" ,"+_dialetra+_c.GetString("CN_SOLICITA")+" ,"+_c.GetString("CN_COLONIA")+" ,"+_c.GetString("CN_TELEFONO")+" ,"+_c.GetString("CN_CALLE1")+" ,"+_c.GetString("CN_CALLE2"),0); - //BA.debugLineNum = 779;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CN_ID")),(Object)(_c.GetString("CN_FECHA")),(Object)(_c.GetString("CN_USER")),(Object)(_c.GetString("CN_LAT")),(Object)(_c.GetString("CN_LON")),(Object)(_c.GetString("CN_NOMBRE")),(Object)(_c.GetString("CN_DIRECCION")),(Object)(_almacen),(Object)(_c.GetString("CN_RUTA")),(Object)("En espera"),(Object)(_c.GetString("CN_GIRO")),(Object)(_dialetra),(Object)(_c.GetString("CN_SOLICITA")),(Object)(_c.GetString("CN_COLONIA")),(Object)(_c.GetString("CN_TELEFONO")),(Object)(_c.GetString("CN_CP")),(Object)(_c.GetString("CN_CALLE1")),(Object)(_c.GetString("CN_CALLE2")),(Object)(_c.GetString("CN_NUMEROINT")),(Object)(_c.GetString("CN_NUMEROEXT")),(Object)(_c.GetString("CN_REFERENCIA"))}; - //BA.debugLineNum = 780;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_clientesn")); +RDebugUtils.currentLine=3604621; + //BA.debugLineNum = 3604621;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604622; + //BA.debugLineNum = 3604622;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_clientesnuevos_GUNA2"; +RDebugUtils.currentLine=3604623; + //BA.debugLineNum = 3604623;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString("; +__c.LogImpl("03604623",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_ID")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_FECHA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_USER")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LAT")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LON")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_NOMBRE")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_DIRECCION")+" ,"+__ref._almacen /*String*/ +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_RUTA")+" ,"+"En espera"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_GIRO")+" ,"+_dialetra+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_SOLICITA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_COLONIA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_TELEFONO")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_CALLE1")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_CALLE2"),0); +RDebugUtils.currentLine=3604624; + //BA.debugLineNum = 3604624;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_ID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LAT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LON")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_NOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_DIRECCION")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_RUTA")),(Object)("En espera"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_GIRO")),(Object)(_dialetra),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_SOLICITA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_COLONIA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_TELEFONO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_CP")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_CALLE1")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_CALLE2")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_NUMEROINT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_NUMEROEXT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_REFERENCIA"))}; +RDebugUtils.currentLine=3604625; + //BA.debugLineNum = 3604625;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_clientesn")); } }; }; - //BA.debugLineNum = 783;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 785;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQu"; +RDebugUtils.currentLine=3604628; + //BA.debugLineNum = 3604628;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604630; + //BA.debugLineNum = 3604630;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQu"; _fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM kmt_info3 where foto is not NULL"))); - //BA.debugLineNum = 786;BA.debugLine="If fotomostrar1.RowCount>0 Then"; +RDebugUtils.currentLine=3604631; + //BA.debugLineNum = 3604631;BA.debugLine="If fotomostrar1.RowCount>0 Then"; if (_fotomostrar1.getRowCount()>0) { - //BA.debugLineNum = 787;BA.debugLine="For i=0 To fotomostrar1.RowCount -1"; +RDebugUtils.currentLine=3604632; + //BA.debugLineNum = 3604632;BA.debugLine="For i=0 To fotomostrar1.RowCount -1"; { final int step132 = 1; final int limit132 = (int) (_fotomostrar1.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit132 ;_i = _i + step132 ) { - //BA.debugLineNum = 788;BA.debugLine="fotomostrar1.Position=i"; +RDebugUtils.currentLine=3604633; + //BA.debugLineNum = 3604633;BA.debugLine="fotomostrar1.Position=i"; _fotomostrar1.setPosition(_i); - //BA.debugLineNum = 789;BA.debugLine="Dim fotoenvio() As Byte = fotomostrar1.GetBlob"; +RDebugUtils.currentLine=3604634; + //BA.debugLineNum = 3604634;BA.debugLine="Dim fotoenvio() As Byte = fotomostrar1.GetBlob"; _fotoenvio = _fotomostrar1.GetBlob("foto"); - //BA.debugLineNum = 790;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604635; + //BA.debugLineNum = 3604635;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 791;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 792;BA.debugLine="cmd.Name = \"UPDATE_FOTO_GUNA\""; -_cmd.Name /*String*/ = "UPDATE_FOTO_GUNA"; - //BA.debugLineNum = 793;BA.debugLine="cmd.Parameters = Array As Object(fotoenvio,fot"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_fotoenvio),(Object)(_fotomostrar1.GetString("CAT_CL_CODIGO")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; - //BA.debugLineNum = 794;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INS_coment")); +RDebugUtils.currentLine=3604636; + //BA.debugLineNum = 3604636;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604637; + //BA.debugLineNum = 3604637;BA.debugLine="cmd.Name = \"UPDATE_FOTO_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "UPDATE_FOTO_GUNA"; +RDebugUtils.currentLine=3604638; + //BA.debugLineNum = 3604638;BA.debugLine="cmd.Parameters = Array As Object(fotoenvio,fot"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_fotoenvio),(Object)(_fotomostrar1.GetString("CAT_CL_CODIGO")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; +RDebugUtils.currentLine=3604639; + //BA.debugLineNum = 3604639;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("INS_coment")); } }; }; - //BA.debugLineNum = 797;BA.debugLine="fotomostrar1.Close"; +RDebugUtils.currentLine=3604642; + //BA.debugLineNum = 3604642;BA.debugLine="fotomostrar1.Close"; _fotomostrar1.Close(); - //BA.debugLineNum = 799;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_NUM_SERIEFISICO,CAT_CL_CODIGO ,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info3 where CAT_CL_NUM_SERIEFISICO IS NOT NULL and gestion <> '0'"))); - //BA.debugLineNum = 800;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 801;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604644; + //BA.debugLineNum = 3604644;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_NUM_SERIEFISICO,CAT_CL_CODIGO ,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info3 where CAT_CL_NUM_SERIEFISICO IS NOT NULL and gestion <> '0'"))); +RDebugUtils.currentLine=3604645; + //BA.debugLineNum = 3604645;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604646; + //BA.debugLineNum = 3604646;BA.debugLine="For i=0 To c.RowCount -1"; { final int step145 = 1; -final int limit145 = (int) (_c.getRowCount()-1); +final int limit145 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit145 ;_i = _i + step145 ) { - //BA.debugLineNum = 802;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 805;BA.debugLine="foto1 = c.GetBlob(\"CAT_CL_FOTO\")"; -_foto1 = _c.GetBlob("CAT_CL_FOTO"); - //BA.debugLineNum = 806;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604647; + //BA.debugLineNum = 3604647;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604650; + //BA.debugLineNum = 3604650;BA.debugLine="foto1 = c.GetBlob(\"CAT_CL_FOTO\")"; +__ref._foto1 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("CAT_CL_FOTO"); +RDebugUtils.currentLine=3604651; + //BA.debugLineNum = 3604651;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 807;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 808;BA.debugLine="cmd.Name = \"insert_QR_GV2\""; -_cmd.Name /*String*/ = "insert_QR_GV2"; - //BA.debugLineNum = 809;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_NUM_SERIEFISICO")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_c.GetString("CAT_CL_LONG")),(Object)(_c.GetString("CAT_CL_LAT")),(Object)(_almacen),(Object)(_l_ruta.getText()),(Object)(_foto1)}; - //BA.debugLineNum = 810;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_QR")); +RDebugUtils.currentLine=3604652; + //BA.debugLineNum = 3604652;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604653; + //BA.debugLineNum = 3604653;BA.debugLine="cmd.Name = \"insert_QR_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_QR_GV2"; +RDebugUtils.currentLine=3604654; + //BA.debugLineNum = 3604654;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._foto1 /*byte[]*/ )}; +RDebugUtils.currentLine=3604655; + //BA.debugLineNum = 3604655;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_QR")); } }; }; - //BA.debugLineNum = 813;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 816;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_CL_ATIENDE1, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)"))); - //BA.debugLineNum = 817;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 818;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604658; + //BA.debugLineNum = 3604658;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604661; + //BA.debugLineNum = 3604661;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_CL_ATIENDE1, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)"))); +RDebugUtils.currentLine=3604662; + //BA.debugLineNum = 3604662;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604663; + //BA.debugLineNum = 3604663;BA.debugLine="For i=0 To c.RowCount -1"; { final int step158 = 1; -final int limit158 = (int) (_c.getRowCount()-1); +final int limit158 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit158 ;_i = _i + step158 ) { - //BA.debugLineNum = 819;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 820;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604664; + //BA.debugLineNum = 3604664;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604665; + //BA.debugLineNum = 3604665;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 821;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 822;BA.debugLine="cmd.Name = \"update_atiende_guna\""; -_cmd.Name /*String*/ = "update_atiende_guna"; - //BA.debugLineNum = 823;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_ATIENDE1")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CAT_CL_CODIGO")))}; - //BA.debugLineNum = 824;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("up_coordenadas")); +RDebugUtils.currentLine=3604666; + //BA.debugLineNum = 3604666;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604667; + //BA.debugLineNum = 3604667;BA.debugLine="cmd.Name = \"update_atiende_guna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_atiende_guna"; +RDebugUtils.currentLine=3604668; + //BA.debugLineNum = 3604668;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),(Object)(__ref._almacen /*String*/ ),(Object)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))}; +RDebugUtils.currentLine=3604669; + //BA.debugLineNum = 3604669;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("up_coordenadas")); } }; }; - //BA.debugLineNum = 827;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 831;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select * fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CODIGOS_CREDITO where BANDERA = 1"))); - //BA.debugLineNum = 832;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 833;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604672; + //BA.debugLineNum = 3604672;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604676; + //BA.debugLineNum = 3604676;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select * fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CODIGOS_CREDITO where BANDERA = 1"))); +RDebugUtils.currentLine=3604677; + //BA.debugLineNum = 3604677;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604678; + //BA.debugLineNum = 3604678;BA.debugLine="For i=0 To c.RowCount -1"; { final int step170 = 1; -final int limit170 = (int) (_c.getRowCount()-1); +final int limit170 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit170 ;_i = _i + step170 ) { - //BA.debugLineNum = 834;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 835;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604679; + //BA.debugLineNum = 3604679;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604680; + //BA.debugLineNum = 3604680;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 836;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 837;BA.debugLine="cmd.Name = \"update_ventacredito_guna\""; -_cmd.Name /*String*/ = "update_ventacredito_guna"; - //BA.debugLineNum = 838;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("BANDERA")),(Object)(_c.GetString("CLIENTE")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CLIENTE")))}; - //BA.debugLineNum = 839;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("up_coordenadas")); +RDebugUtils.currentLine=3604681; + //BA.debugLineNum = 3604681;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604682; + //BA.debugLineNum = 3604682;BA.debugLine="cmd.Name = \"update_ventacredito_guna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_ventacredito_guna"; +RDebugUtils.currentLine=3604683; + //BA.debugLineNum = 3604683;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BANDERA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE")),(Object)(__ref._almacen /*String*/ ),(Object)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE")))}; +RDebugUtils.currentLine=3604684; + //BA.debugLineNum = 3604684;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("up_coordenadas")); } }; }; - //BA.debugLineNum = 842;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 845;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_CL_TELEFONO, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)"))); - //BA.debugLineNum = 846;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 847;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604687; + //BA.debugLineNum = 3604687;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604690; + //BA.debugLineNum = 3604690;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_CL_TELEFONO, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)"))); +RDebugUtils.currentLine=3604691; + //BA.debugLineNum = 3604691;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604692; + //BA.debugLineNum = 3604692;BA.debugLine="For i=0 To c.RowCount -1"; { final int step182 = 1; -final int limit182 = (int) (_c.getRowCount()-1); +final int limit182 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit182 ;_i = _i + step182 ) { - //BA.debugLineNum = 848;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 849;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604693; + //BA.debugLineNum = 3604693;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604694; + //BA.debugLineNum = 3604694;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 850;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 851;BA.debugLine="cmd.Name = \"update_telefono_guna\""; -_cmd.Name /*String*/ = "update_telefono_guna"; - //BA.debugLineNum = 852;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_TELEFONO")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CAT_CL_CODIGO")))}; - //BA.debugLineNum = 853;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("up_coordenadas")); +RDebugUtils.currentLine=3604695; + //BA.debugLineNum = 3604695;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604696; + //BA.debugLineNum = 3604696;BA.debugLine="cmd.Name = \"update_telefono_guna\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_telefono_guna"; +RDebugUtils.currentLine=3604697; + //BA.debugLineNum = 3604697;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),(Object)(__ref._almacen /*String*/ ),(Object)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))}; +RDebugUtils.currentLine=3604698; + //BA.debugLineNum = 3604698;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("up_coordenadas")); } }; }; - //BA.debugLineNum = 856;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 859;BA.debugLine="Private h As ResultSet = B4XPages.MainPage.skmt."; +RDebugUtils.currentLine=3604701; + //BA.debugLineNum = 3604701;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604704; + //BA.debugLineNum = 3604704;BA.debugLine="Private h As ResultSet = B4XPages.MainPage.skmt."; _h = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); _h = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from bitacoraGPS")))); - //BA.debugLineNum = 860;BA.debugLine="Do While h.nextrow"; +RDebugUtils.currentLine=3604705; + //BA.debugLineNum = 3604705;BA.debugLine="Do While h.nextrow"; while (_h.NextRow()) { - //BA.debugLineNum = 861;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 862;BA.debugLine="Private eventob As String = h.GetString(\"evento"; +RDebugUtils.currentLine=3604706; + //BA.debugLineNum = 3604706;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604707; + //BA.debugLineNum = 3604707;BA.debugLine="Private eventob As String = h.GetString(\"evento"; _eventob = _h.GetString("eventob"); - //BA.debugLineNum = 863;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\""; -_cmd.Name /*String*/ = "mandaBitacora3_GUNA"; - //BA.debugLineNum = 865;BA.debugLine="Private clienteb As String = h.GetString(\"clien"; +RDebugUtils.currentLine=3604708; + //BA.debugLineNum = 3604708;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "mandaBitacora3_GUNA"; +RDebugUtils.currentLine=3604710; + //BA.debugLineNum = 3604710;BA.debugLine="Private clienteb As String = h.GetString(\"clien"; _clienteb = _h.GetString("clienteb"); - //BA.debugLineNum = 866;BA.debugLine="Private finb As String = h.GetString(\"finb\")"; +RDebugUtils.currentLine=3604711; + //BA.debugLineNum = 3604711;BA.debugLine="Private finb As String = h.GetString(\"finb\")"; _finb = _h.GetString("finb"); - //BA.debugLineNum = 867;BA.debugLine="Private nombreCliente As String =Subs. traeNomb"; +RDebugUtils.currentLine=3604712; + //BA.debugLineNum = 3604712;BA.debugLine="Private nombreCliente As String =Subs. traeNomb"; _nombrecliente = _subs._traenombrecliente /*String*/ (ba,_h.GetString("clienteb")); - //BA.debugLineNum = 868;BA.debugLine="If eventob = \"Llega a almacen\" Then"; +RDebugUtils.currentLine=3604713; + //BA.debugLineNum = 3604713;BA.debugLine="If eventob = \"Llega a almacen\" Then"; if ((_eventob).equals("Llega a almacen")) { - //BA.debugLineNum = 869;BA.debugLine="nombreCliente = \"BOLETA\""; +RDebugUtils.currentLine=3604714; + //BA.debugLineNum = 3604714;BA.debugLine="nombreCliente = \"BOLETA\""; _nombrecliente = "BOLETA"; - //BA.debugLineNum = 870;BA.debugLine="clienteb = \"\""; +RDebugUtils.currentLine=3604715; + //BA.debugLineNum = 3604715;BA.debugLine="clienteb = \"\""; _clienteb = ""; - //BA.debugLineNum = 871;BA.debugLine="finb = h.GetString(\"iniciob\")"; +RDebugUtils.currentLine=3604716; + //BA.debugLineNum = 3604716;BA.debugLine="finb = h.GetString(\"iniciob\")"; _finb = _h.GetString("iniciob"); }; - //BA.debugLineNum = 875;BA.debugLine="If eventob = \"Salida almacen\" Then nombreClient"; +RDebugUtils.currentLine=3604720; + //BA.debugLineNum = 3604720;BA.debugLine="If eventob = \"Salida almacen\" Then nombreClient"; if ((_eventob).equals("Salida almacen")) { _nombrecliente = "CHECKLIST";}; - //BA.debugLineNum = 876;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FI"; +RDebugUtils.currentLine=3604721; + //BA.debugLineNum = 3604721;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FI"; if ((_eventob).equals("Fin Día")) { _nombrecliente = "FIN DIA";}; - //BA.debugLineNum = 877;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \""; +RDebugUtils.currentLine=3604722; + //BA.debugLineNum = 3604722;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \""; if ((_eventob).equals("Carga día")) { _nombrecliente = "CARGA DIA";}; - //BA.debugLineNum = 878;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreC"; +RDebugUtils.currentLine=3604723; + //BA.debugLineNum = 3604723;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreC"; if ((_eventob).equals("Carga día suplencia")) { _nombrecliente = _subs._traerutassup /*String*/ (ba);}; - //BA.debugLineNum = 882;BA.debugLine="cmd.Parameters = Array As Object(h.GetString(\"a"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_h.GetString("almacenb")),(Object)(_h.GetString("usuariob")),(Object)(_h.GetString("rutab")),(Object)(_eventob),(Object)(_clienteb),(Object)(_nombrecliente),(Object)(_h.GetString("iniciob")),(Object)(_finb),(Object)(_h.GetString("latitudb")),(Object)(_h.GetString("longitudb")),(Object)(_h.GetString("precision")),(Object)(_h.GetString("motivonoventa")),(Object)(_h.GetString("motivonovisita")),(Object)(_h.GetString("fechab")),(Object)(_h.GetString("BAN_GEOB"))}; - //BA.debugLineNum = 883;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("mandaBitacora")); +RDebugUtils.currentLine=3604727; + //BA.debugLineNum = 3604727;BA.debugLine="cmd.Parameters = Array As Object(h.GetString(\"a"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_h.GetString("almacenb")),(Object)(_h.GetString("usuariob")),(Object)(_h.GetString("rutab")),(Object)(_eventob),(Object)(_clienteb),(Object)(_nombrecliente),(Object)(_h.GetString("iniciob")),(Object)(_finb),(Object)(_h.GetString("latitudb")),(Object)(_h.GetString("longitudb")),(Object)(_h.GetString("precision")),(Object)(_h.GetString("motivonoventa")),(Object)(_h.GetString("motivonovisita")),(Object)(_h.GetString("fechab")),(Object)(_h.GetString("BAN_GEOB"))}; +RDebugUtils.currentLine=3604728; + //BA.debugLineNum = 3604728;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("mandaBitacora")); } ; - //BA.debugLineNum = 885;BA.debugLine="Log(\"MANDAMOS BITACORA\")"; -__c.LogImpl("440173818","MANDAMOS BITACORA",0); - //BA.debugLineNum = 887;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT HE_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON, HE_FOTO FROM HIST_ENCUESTA"))); - //BA.debugLineNum = 888;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 889;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604730; + //BA.debugLineNum = 3604730;BA.debugLine="Log(\"MANDAMOS BITACORA\")"; +__c.LogImpl("03604730","MANDAMOS BITACORA",0); +RDebugUtils.currentLine=3604732; + //BA.debugLineNum = 3604732;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT HE_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON, HE_FOTO FROM HIST_ENCUESTA"))); +RDebugUtils.currentLine=3604733; + //BA.debugLineNum = 3604733;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604734; + //BA.debugLineNum = 3604734;BA.debugLine="For i=0 To c.RowCount -1"; { final int step215 = 1; -final int limit215 = (int) (_c.getRowCount()-1); +final int limit215 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit215 ;_i = _i + step215 ) { - //BA.debugLineNum = 890;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 891;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604735; + //BA.debugLineNum = 3604735;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604736; + //BA.debugLineNum = 3604736;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 892;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 893;BA.debugLine="cmd.Name = \"insert_encuesta2_GUNA\""; -_cmd.Name /*String*/ = "insert_encuesta2_GUNA"; - //BA.debugLineNum = 895;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HE_CLIE")),(Object)(_c.GetString("HE_RES")),(Object)(_c.GetString("HE_FECHA")),(Object)(_c.GetString("HE_TIPO")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_c.GetString("HE_LAT")),(Object)(_c.GetString("HE_LON")),(Object)(""),(Object)(_c.GetBlob("HE_FOTO"))}; - //BA.debugLineNum = 896;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_encuesta")); +RDebugUtils.currentLine=3604737; + //BA.debugLineNum = 3604737;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604738; + //BA.debugLineNum = 3604738;BA.debugLine="cmd.Name = \"insert_encuesta2_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_encuesta2_GUNA"; +RDebugUtils.currentLine=3604740; + //BA.debugLineNum = 3604740;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HE_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HE_RES")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HE_TIPO")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HE_LAT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HE_LON")),(Object)(""),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("HE_FOTO"))}; +RDebugUtils.currentLine=3604741; + //BA.debugLineNum = 3604741;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_encuesta")); } }; }; - //BA.debugLineNum = 899;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 902;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); - //BA.debugLineNum = 903;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO"))); - //BA.debugLineNum = 904;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 905;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604744; + //BA.debugLineNum = 3604744;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604747; + //BA.debugLineNum = 3604747;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"}))); +RDebugUtils.currentLine=3604748; + //BA.debugLineNum = 3604748;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO"))); +RDebugUtils.currentLine=3604749; + //BA.debugLineNum = 3604749;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604750; + //BA.debugLineNum = 3604750;BA.debugLine="For i=0 To c.RowCount -1"; { final int step228 = 1; -final int limit228 = (int) (_c.getRowCount()-1); +final int limit228 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit228 ;_i = _i + step228 ) { - //BA.debugLineNum = 906;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 907;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604751; + //BA.debugLineNum = 3604751;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604752; + //BA.debugLineNum = 3604752;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 908;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 909;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 910;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 911;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); +RDebugUtils.currentLine=3604753; + //BA.debugLineNum = 3604753;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604754; + //BA.debugLineNum = 3604754;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=3604755; + //BA.debugLineNum = 3604755;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=3604756; + //BA.debugLineNum = 3604756;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedido")); } }; }; - //BA.debugLineNum = 914;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 915;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 917;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; -_cuantos_pedido = _d.GetString("CUANTOS_PEDIDO"); - //BA.debugLineNum = 918;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 921;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_R"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL",new String[]{"","null"}))); - //BA.debugLineNum = 922;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUN"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 923;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 924;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604759; + //BA.debugLineNum = 3604759;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604760; + //BA.debugLineNum = 3604760;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3604762; + //BA.debugLineNum = 3604762;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; +__ref._cuantos_pedido /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_PEDIDO"); +RDebugUtils.currentLine=3604763; + //BA.debugLineNum = 3604763;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604766; + //BA.debugLineNum = 3604766;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_R"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL",new String[]{"","null"}))); +RDebugUtils.currentLine=3604767; + //BA.debugLineNum = 3604767;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUN"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"'")))); +RDebugUtils.currentLine=3604768; + //BA.debugLineNum = 3604768;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604769; + //BA.debugLineNum = 3604769;BA.debugLine="For i=0 To c.RowCount -1"; { final int step244 = 1; -final int limit244 = (int) (_c.getRowCount()-1); +final int limit244 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit244 ;_i = _i + step244 ) { - //BA.debugLineNum = 925;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 926;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then"; -if ((_c.GetString("PE_RECCEDIS")).equals("")) { - //BA.debugLineNum = 927;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604770; + //BA.debugLineNum = 3604770;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604771; + //BA.debugLineNum = 3604771;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")).equals("")) { +RDebugUtils.currentLine=3604772; + //BA.debugLineNum = 3604772;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 928;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 929;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 930;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 931;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); +RDebugUtils.currentLine=3604773; + //BA.debugLineNum = 3604773;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604774; + //BA.debugLineNum = 3604774;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=3604775; + //BA.debugLineNum = 3604775;BA.debugLine="cmd.Parameters = Array As Object(C.GetString("; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=3604776; + //BA.debugLineNum = 3604776;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedido")); }else { - //BA.debugLineNum = 933;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"P"; -if ((_c.GetString("PE_RECCANT")).equals(_c.GetString("PE_CANT"))) { - //BA.debugLineNum = 934;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604778; + //BA.debugLineNum = 3604778;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"P"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")).equals(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))) { +RDebugUtils.currentLine=3604779; + //BA.debugLineNum = 3604779;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 935;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 936;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 937;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_RECCEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 938;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); +RDebugUtils.currentLine=3604780; + //BA.debugLineNum = 3604780;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604781; + //BA.debugLineNum = 3604781;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=3604782; + //BA.debugLineNum = 3604782;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=3604783; + //BA.debugLineNum = 3604783;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedido")); }else { - //BA.debugLineNum = 941;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604786; + //BA.debugLineNum = 3604786;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 942;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 943;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 944;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_RECCEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_RECCANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 945;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); - //BA.debugLineNum = 947;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604787; + //BA.debugLineNum = 3604787;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604788; + //BA.debugLineNum = 3604788;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=3604789; + //BA.debugLineNum = 3604789;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULOTOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECALCULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=3604790; + //BA.debugLineNum = 3604790;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedido")); +RDebugUtils.currentLine=3604792; + //BA.debugLineNum = 3604792;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 948;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 949;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; -_cmd.Name /*String*/ = "insert_pedido_GV2"; - //BA.debugLineNum = 950;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(_c.GetString("PE_CANT")))-(double)(Double.parseDouble(_c.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU"))),(int) (1),(int) (2),(int) (2),__c.False)),(Object)(_c.GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(_c.GetString("PE_CANT")))-(double)(Double.parseDouble(_c.GetString("PE_RECCANT"))))),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))}; - //BA.debugLineNum = 951;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido")); +RDebugUtils.currentLine=3604793; + //BA.debugLineNum = 3604793;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604794; + //BA.debugLineNum = 3604794;BA.debugLine="cmd.Name = \"insert_pedido_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido_GV2"; +RDebugUtils.currentLine=3604795; + //BA.debugLineNum = 3604795;BA.debugLine="cmd.Parameters = Array As Object(C.GetString"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))*(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (1),(int) (2),(int) (2),__c.False)),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RECCANT"))))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))}; +RDebugUtils.currentLine=3604796; + //BA.debugLineNum = 3604796;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand("; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedido")); }; }; } }; }; - //BA.debugLineNum = 956;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 957;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 958;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; -_cuantos_pedido = _d.GetString("CUANTOS_PEDIDO"); - //BA.debugLineNum = 959;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 981;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select *"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from cuestionario")))); - //BA.debugLineNum = 982;BA.debugLine="Private rutaActual As String = Subs.traeRuta"; +RDebugUtils.currentLine=3604801; + //BA.debugLineNum = 3604801;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604802; + //BA.debugLineNum = 3604802;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3604803; + //BA.debugLineNum = 3604803;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; +__ref._cuantos_pedido /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_PEDIDO"); +RDebugUtils.currentLine=3604804; + //BA.debugLineNum = 3604804;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604826; + //BA.debugLineNum = 3604826;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select *"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from cuestionario")))); +RDebugUtils.currentLine=3604827; + //BA.debugLineNum = 3604827;BA.debugLine="Private rutaActual As String = Subs.traeRuta"; _rutaactual = _subs._traeruta /*String*/ (ba); - //BA.debugLineNum = 983;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 984;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=3604828; + //BA.debugLineNum = 3604828;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604829; + //BA.debugLineNum = 3604829;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step281 = 1; -final int limit281 = (int) (_c.getRowCount()-1); +final int limit281 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit281 ;_i = _i + step281 ) { - //BA.debugLineNum = 985;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 986;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604830; + //BA.debugLineNum = 3604830;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604831; + //BA.debugLineNum = 3604831;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 987;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 988;BA.debugLine="cmd.Name = \"insert_CUESTIONARIO_GUNA\""; -_cmd.Name /*String*/ = "insert_CUESTIONARIO_GUNA"; - //BA.debugLineNum = 989;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("Q_IDCLIENTE")),(Object)(_rutaactual),(Object)(_almacen),(Object)(_c.GetString("Q_FECHA")),(Object)(_c.GetString("Q_IDPREGUNTA")),(Object)(_c.GetString("Q_PREGUNTA")),(Object)(_c.GetString("Q_IDRESPUESTA")),(Object)(_c.GetString("Q_RESPUESTA"))}; - //BA.debugLineNum = 990;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_cuestionario")); +RDebugUtils.currentLine=3604832; + //BA.debugLineNum = 3604832;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604833; + //BA.debugLineNum = 3604833;BA.debugLine="cmd.Name = \"insert_CUESTIONARIO_GUNA\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_CUESTIONARIO_GUNA"; +RDebugUtils.currentLine=3604834; + //BA.debugLineNum = 3604834;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("Q_IDCLIENTE")),(Object)(_rutaactual),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("Q_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("Q_IDPREGUNTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("Q_PREGUNTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("Q_IDRESPUESTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("Q_RESPUESTA"))}; +RDebugUtils.currentLine=3604835; + //BA.debugLineNum = 3604835;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_cuestionario")); } }; }; - //BA.debugLineNum = 993;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 996;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA"))); - //BA.debugLineNum = 997;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 998;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 999;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604838; + //BA.debugLineNum = 3604838;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604841; + //BA.debugLineNum = 3604841;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA"))); +RDebugUtils.currentLine=3604842; + //BA.debugLineNum = 3604842;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); +RDebugUtils.currentLine=3604843; + //BA.debugLineNum = 3604843;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604844; + //BA.debugLineNum = 3604844;BA.debugLine="For i=0 To c.RowCount -1"; { final int step294 = 1; -final int limit294 = (int) (_c.getRowCount()-1); +final int limit294 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit294 ;_i = _i + step294 ) { - //BA.debugLineNum = 1000;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 1001;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604845; + //BA.debugLineNum = 3604845;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604846; + //BA.debugLineNum = 3604846;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1002;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1003;BA.debugLine="cmd.Name = \"insert_noventa_GV2\""; -_cmd.Name /*String*/ = "insert_noventa_GV2"; - //BA.debugLineNum = 1004;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("NV_CLIENTE")),(Object)(_c.GetString("NV_FECHA")),(Object)(_c.GetString("NV_USER")),(Object)(_c.GetString("NV_MOTIVO")),(Object)(_c.GetString("NV_COMM")),(Object)(_c.GetString("NV_LAT")),(Object)(_c.GetString("NV_LON")),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1005;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); +RDebugUtils.currentLine=3604847; + //BA.debugLineNum = 3604847;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604848; + //BA.debugLineNum = 3604848;BA.debugLine="cmd.Name = \"insert_noventa_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_noventa_GV2"; +RDebugUtils.currentLine=3604849; + //BA.debugLineNum = 3604849;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_MOTIVO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_COMM")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_LAT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_LON")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=3604850; + //BA.debugLineNum = 3604850;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_noventa")); } }; }; - //BA.debugLineNum = 1008;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1009;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 1010;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; -_cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 1011;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1029;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HGCLI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HGCLIENTE, HGDATE, HGLAT, HGLON from HIST_GEOCERCA"))); - //BA.debugLineNum = 1030;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1031;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604853; + //BA.debugLineNum = 3604853;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604854; + //BA.debugLineNum = 3604854;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3604855; + //BA.debugLineNum = 3604855;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +__ref._cuantos_noventa /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_NOVENTA"); +RDebugUtils.currentLine=3604856; + //BA.debugLineNum = 3604856;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604874; + //BA.debugLineNum = 3604874;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HGCLI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HGCLIENTE, HGDATE, HGLAT, HGLON from HIST_GEOCERCA"))); +RDebugUtils.currentLine=3604875; + //BA.debugLineNum = 3604875;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604876; + //BA.debugLineNum = 3604876;BA.debugLine="For i=0 To c.RowCount -1"; { final int step309 = 1; -final int limit309 = (int) (_c.getRowCount()-1); +final int limit309 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit309 ;_i = _i + step309 ) { - //BA.debugLineNum = 1032;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 1033;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604877; + //BA.debugLineNum = 3604877;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604878; + //BA.debugLineNum = 3604878;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1034;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1035;BA.debugLine="cmd.Name = \"insert_geocerca_GV2\""; -_cmd.Name /*String*/ = "insert_geocerca_GV2"; - //BA.debugLineNum = 1036;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HGCLIENTE")),(Object)(_c.GetString("HGDATE")),(Object)(_c.GetString("HGLAT")),(Object)(_c.GetString("HGLON"))}; - //BA.debugLineNum = 1037;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_hist_geo")); +RDebugUtils.currentLine=3604879; + //BA.debugLineNum = 3604879;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604880; + //BA.debugLineNum = 3604880;BA.debugLine="cmd.Name = \"insert_geocerca_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_geocerca_GV2"; +RDebugUtils.currentLine=3604881; + //BA.debugLineNum = 3604881;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HGCLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HGDATE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HGLAT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HGLON"))}; +RDebugUtils.currentLine=3604882; + //BA.debugLineNum = 3604882;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_hist_geo")); } }; }; - //BA.debugLineNum = 1040;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1043;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HFCLI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN from HIST_FACE"))); - //BA.debugLineNum = 1044;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1045;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=3604885; + //BA.debugLineNum = 3604885;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604888; + //BA.debugLineNum = 3604888;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HFCLI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN from HIST_FACE"))); +RDebugUtils.currentLine=3604889; + //BA.debugLineNum = 3604889;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604890; + //BA.debugLineNum = 3604890;BA.debugLine="For i=0 To c.RowCount -1"; { final int step321 = 1; -final int limit321 = (int) (_c.getRowCount()-1); +final int limit321 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit321 ;_i = _i + step321 ) { - //BA.debugLineNum = 1046;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 1047;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604891; + //BA.debugLineNum = 3604891;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3604892; + //BA.debugLineNum = 3604892;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1048;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1049;BA.debugLine="cmd.Name = \"insert_face_like_GV2\""; -_cmd.Name /*String*/ = "insert_face_like_GV2"; - //BA.debugLineNum = 1050;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HFCLIENTE")),(Object)(_c.GetString("HFALIAS")),(Object)(_c.GetString("HFRUTA")),(Object)(_c.GetString("HFALMACEN"))}; - //BA.debugLineNum = 1051;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_hist_face")); +RDebugUtils.currentLine=3604893; + //BA.debugLineNum = 3604893;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604894; + //BA.debugLineNum = 3604894;BA.debugLine="cmd.Name = \"insert_face_like_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_face_like_GV2"; +RDebugUtils.currentLine=3604895; + //BA.debugLineNum = 3604895;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HFCLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HFALIAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HFRUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HFALMACEN"))}; +RDebugUtils.currentLine=3604896; + //BA.debugLineNum = 3604896;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_hist_face")); } }; }; - //BA.debugLineNum = 1054;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1057;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second"; -_t1.Initialize(ba,"T1",(long) (30000)); - //BA.debugLineNum = 1058;BA.debugLine="t1.Enabled = True"; -_t1.setEnabled(__c.True); - //BA.debugLineNum = 1059;BA.debugLine="Dim sDate,sTime As String"; +RDebugUtils.currentLine=3604899; + //BA.debugLineNum = 3604899;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604902; + //BA.debugLineNum = 3604902;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .Initialize(ba,"T1",(long) (30000)); +RDebugUtils.currentLine=3604903; + //BA.debugLineNum = 3604903;BA.debugLine="t1.Enabled = True"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.True); +RDebugUtils.currentLine=3604904; + //BA.debugLineNum = 3604904;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 1060;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=3604905; + //BA.debugLineNum = 3604905;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1061;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1062;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1063;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604906; + //BA.debugLineNum = 3604906;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=3604907; + //BA.debugLineNum = 3604907;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=3604908; + //BA.debugLineNum = 3604908;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1064;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1065;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\""; -_cmd.Name /*String*/ = "insert_drop_GV2_3"; - //BA.debugLineNum = 1066;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta."; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_l_ruta.getText()),(Object)(_sdate+_stime),(Object)(_l_porvisitar.getText()),(Object)(_l_drop.getText()),(Object)(_l_efectiva.getText()),(Object)(_l_cuantosc.getText()),(Object)(_l_cuantosn.getText()),(Object)(__c.NumberFormat2((double)(Double.parseDouble(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ )),(int) (0),(int) (2),(int) (2),__c.False)),(Object)("ENVIO"),(Object)(_almacen),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 1067;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1068;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1069;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant"; -_porcentaje = BA.NumberToString(__c.Round(100/(double)((double)(Double.parseDouble(_cuantos_noventa))+(double)(Double.parseDouble(_cuantos_pedido))+(double)(Double.parseDouble(_cuantos_pedidosc))+1))); - //BA.debugLineNum = 1070;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +RDebugUtils.currentLine=3604909; + //BA.debugLineNum = 3604909;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604910; + //BA.debugLineNum = 3604910;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_GV2_3"; +RDebugUtils.currentLine=3604911; + //BA.debugLineNum = 3604911;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta."; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._usuario /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__c.NumberFormat2((double)(Double.parseDouble(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ )),(int) (0),(int) (2),(int) (2),__c.False)),(Object)("ENVIO"),(Object)(__ref._almacen /*String*/ ),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=3604912; + //BA.debugLineNum = 3604912;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); +RDebugUtils.currentLine=3604913; + //BA.debugLineNum = 3604913;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604914; + //BA.debugLineNum = 3604914;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant"; +__ref._porcentaje /*String*/ = BA.NumberToString(__c.Round(100/(double)((double)(Double.parseDouble(__ref._cuantos_noventa /*String*/ ))+(double)(Double.parseDouble(__ref._cuantos_pedido /*String*/ ))+(double)(Double.parseDouble(__ref._cuantos_pedidosc /*String*/ ))+1))); +RDebugUtils.currentLine=3604915; + //BA.debugLineNum = 3604915;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "+_l_ruta.getText()),__c.True);}; +__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "+__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),__c.True);}; }; - //BA.debugLineNum = 1073;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=3604918; + //BA.debugLineNum = 3604918;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; _x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO1"))); - //BA.debugLineNum = 1074;BA.debugLine="If x.RowCount>0 Then"; +RDebugUtils.currentLine=3604919; + //BA.debugLineNum = 3604919;BA.debugLine="If x.RowCount>0 Then"; if (_x.getRowCount()>0) { - //BA.debugLineNum = 1075;BA.debugLine="For i=0 To x.RowCount -1"; +RDebugUtils.currentLine=3604920; + //BA.debugLineNum = 3604920;BA.debugLine="For i=0 To x.RowCount -1"; { final int step348 = 1; final int limit348 = (int) (_x.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit348 ;_i = _i + step348 ) { - //BA.debugLineNum = 1076;BA.debugLine="x.Position=i"; +RDebugUtils.currentLine=3604921; + //BA.debugLineNum = 3604921;BA.debugLine="x.Position=i"; _x.setPosition(_i); - //BA.debugLineNum = 1077;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604922; + //BA.debugLineNum = 3604922;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1078;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1079;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO1\""; -_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO1"; - //BA.debugLineNum = 1080;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8")),(Object)(_x.GetString("P9"))}; - //BA.debugLineNum = 1081;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO1")); +RDebugUtils.currentLine=3604923; + //BA.debugLineNum = 3604923;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604924; + //BA.debugLineNum = 3604924;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO1\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_ENCUESTA_MODULO1"; +RDebugUtils.currentLine=3604925; + //BA.debugLineNum = 3604925;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8")),(Object)(_x.GetString("P9"))}; +RDebugUtils.currentLine=3604926; + //BA.debugLineNum = 3604926;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insert_ENCUESTA_MODULO1")); } }; }; - //BA.debugLineNum = 1084;BA.debugLine="x.Close"; +RDebugUtils.currentLine=3604929; + //BA.debugLineNum = 3604929;BA.debugLine="x.Close"; _x.Close(); - //BA.debugLineNum = 1086;BA.debugLine="Private x1 As Cursor = B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=3604931; + //BA.debugLineNum = 3604931;BA.debugLine="Private x1 As Cursor = B4XPages.MainPage.skmt.Exe"; _x1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _x1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6 from ENCUESTA_MODULO2"))); - //BA.debugLineNum = 1087;BA.debugLine="If x1.RowCount>0 Then"; +RDebugUtils.currentLine=3604932; + //BA.debugLineNum = 3604932;BA.debugLine="If x1.RowCount>0 Then"; if (_x1.getRowCount()>0) { - //BA.debugLineNum = 1088;BA.debugLine="For i=0 To x1.RowCount -1"; +RDebugUtils.currentLine=3604933; + //BA.debugLineNum = 3604933;BA.debugLine="For i=0 To x1.RowCount -1"; { final int step360 = 1; final int limit360 = (int) (_x1.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit360 ;_i = _i + step360 ) { - //BA.debugLineNum = 1089;BA.debugLine="x1.Position=i"; +RDebugUtils.currentLine=3604934; + //BA.debugLineNum = 3604934;BA.debugLine="x1.Position=i"; _x1.setPosition(_i); - //BA.debugLineNum = 1090;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604935; + //BA.debugLineNum = 3604935;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1091;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1092;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO2\""; -_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO2"; - //BA.debugLineNum = 1093;BA.debugLine="cmd.Parameters = Array As Object(x1.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x1.GetString("CLIENTE")),(Object)(_x1.GetString("ALMACEN")),(Object)(_x1.GetString("P1")),(Object)(_x1.GetString("P2")),(Object)(_x1.GetString("P3")),(Object)(_x1.GetString("P4")),(Object)(_x1.GetString("P5")),(Object)(_x1.GetString("P6"))}; - //BA.debugLineNum = 1094;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO2")); +RDebugUtils.currentLine=3604936; + //BA.debugLineNum = 3604936;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604937; + //BA.debugLineNum = 3604937;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_ENCUESTA_MODULO2"; +RDebugUtils.currentLine=3604938; + //BA.debugLineNum = 3604938;BA.debugLine="cmd.Parameters = Array As Object(x1.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_x1.GetString("CLIENTE")),(Object)(_x1.GetString("ALMACEN")),(Object)(_x1.GetString("P1")),(Object)(_x1.GetString("P2")),(Object)(_x1.GetString("P3")),(Object)(_x1.GetString("P4")),(Object)(_x1.GetString("P5")),(Object)(_x1.GetString("P6"))}; +RDebugUtils.currentLine=3604939; + //BA.debugLineNum = 3604939;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insert_ENCUESTA_MODULO2")); } }; }; - //BA.debugLineNum = 1097;BA.debugLine="x1.Close"; +RDebugUtils.currentLine=3604942; + //BA.debugLineNum = 3604942;BA.debugLine="x1.Close"; _x1.Close(); - //BA.debugLineNum = 1098;BA.debugLine="Private x2 As Cursor = B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=3604943; + //BA.debugLineNum = 3604943;BA.debugLine="Private x2 As Cursor = B4XPages.MainPage.skmt.Exe"; _x2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _x2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 from ENCUESTA_MODULO3"))); - //BA.debugLineNum = 1099;BA.debugLine="If x2.RowCount>0 Then"; +RDebugUtils.currentLine=3604944; + //BA.debugLineNum = 3604944;BA.debugLine="If x2.RowCount>0 Then"; if (_x2.getRowCount()>0) { - //BA.debugLineNum = 1100;BA.debugLine="For i=0 To x2.RowCount -1"; +RDebugUtils.currentLine=3604945; + //BA.debugLineNum = 3604945;BA.debugLine="For i=0 To x2.RowCount -1"; { final int step372 = 1; final int limit372 = (int) (_x2.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit372 ;_i = _i + step372 ) { - //BA.debugLineNum = 1101;BA.debugLine="x2.Position=i"; +RDebugUtils.currentLine=3604946; + //BA.debugLineNum = 3604946;BA.debugLine="x2.Position=i"; _x2.setPosition(_i); - //BA.debugLineNum = 1103;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604948; + //BA.debugLineNum = 3604948;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1104;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1105;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO3\""; -_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO3"; - //BA.debugLineNum = 1106;BA.debugLine="cmd.Parameters = Array As Object(x2.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x2.GetString("CLIENTE")),(Object)(_x2.GetString("ALMACEN")),(Object)(_x2.GetString("P1")),(Object)(_x2.GetString("P2")),(Object)(_x2.GetString("P3")),(Object)(_x2.GetString("P4")),(Object)(_x2.GetString("P5")),(Object)(_x2.GetString("P6")),(Object)(_x2.GetString("P7")),(Object)(_x2.GetString("P8")),(Object)(_x2.GetString("P9")),(Object)(_x2.GetString("P10")),(Object)(_x2.GetString("P11"))}; - //BA.debugLineNum = 1107;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO3")); +RDebugUtils.currentLine=3604949; + //BA.debugLineNum = 3604949;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604950; + //BA.debugLineNum = 3604950;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO3\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_ENCUESTA_MODULO3"; +RDebugUtils.currentLine=3604951; + //BA.debugLineNum = 3604951;BA.debugLine="cmd.Parameters = Array As Object(x2.GetString(\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_x2.GetString("CLIENTE")),(Object)(_x2.GetString("ALMACEN")),(Object)(_x2.GetString("P1")),(Object)(_x2.GetString("P2")),(Object)(_x2.GetString("P3")),(Object)(_x2.GetString("P4")),(Object)(_x2.GetString("P5")),(Object)(_x2.GetString("P6")),(Object)(_x2.GetString("P7")),(Object)(_x2.GetString("P8")),(Object)(_x2.GetString("P9")),(Object)(_x2.GetString("P10")),(Object)(_x2.GetString("P11"))}; +RDebugUtils.currentLine=3604952; + //BA.debugLineNum = 3604952;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insert_ENCUESTA_MODULO3")); } }; }; - //BA.debugLineNum = 1110;BA.debugLine="x2.Close"; +RDebugUtils.currentLine=3604955; + //BA.debugLineNum = 3604955;BA.debugLine="x2.Close"; _x2.Close(); - //BA.debugLineNum = 1111;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=3604956; + //BA.debugLineNum = 3604956;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; _x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8 from ENCUESTA_MODULO4"))); - //BA.debugLineNum = 1112;BA.debugLine="If x.RowCount>0 Then"; +RDebugUtils.currentLine=3604957; + //BA.debugLineNum = 3604957;BA.debugLine="If x.RowCount>0 Then"; if (_x.getRowCount()>0) { - //BA.debugLineNum = 1113;BA.debugLine="For i=0 To x.RowCount -1"; +RDebugUtils.currentLine=3604958; + //BA.debugLineNum = 3604958;BA.debugLine="For i=0 To x.RowCount -1"; { final int step384 = 1; final int limit384 = (int) (_x.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit384 ;_i = _i + step384 ) { - //BA.debugLineNum = 1114;BA.debugLine="x.Position=i"; +RDebugUtils.currentLine=3604959; + //BA.debugLineNum = 3604959;BA.debugLine="x.Position=i"; _x.setPosition(_i); - //BA.debugLineNum = 1115;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604960; + //BA.debugLineNum = 3604960;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1116;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1117;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO4\""; -_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO4"; - //BA.debugLineNum = 1118;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8"))}; - //BA.debugLineNum = 1119;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO4")); +RDebugUtils.currentLine=3604961; + //BA.debugLineNum = 3604961;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604962; + //BA.debugLineNum = 3604962;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO4\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_ENCUESTA_MODULO4"; +RDebugUtils.currentLine=3604963; + //BA.debugLineNum = 3604963;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8"))}; +RDebugUtils.currentLine=3604964; + //BA.debugLineNum = 3604964;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insert_ENCUESTA_MODULO4")); } }; }; - //BA.debugLineNum = 1122;BA.debugLine="x.Close"; +RDebugUtils.currentLine=3604967; + //BA.debugLineNum = 3604967;BA.debugLine="x.Close"; _x.Close(); - //BA.debugLineNum = 1123;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=3604968; + //BA.debugLineNum = 3604968;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec"; _x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO5"))); - //BA.debugLineNum = 1124;BA.debugLine="If x.RowCount>0 Then"; +RDebugUtils.currentLine=3604969; + //BA.debugLineNum = 3604969;BA.debugLine="If x.RowCount>0 Then"; if (_x.getRowCount()>0) { - //BA.debugLineNum = 1125;BA.debugLine="For i=0 To x.RowCount -1"; +RDebugUtils.currentLine=3604970; + //BA.debugLineNum = 3604970;BA.debugLine="For i=0 To x.RowCount -1"; { final int step396 = 1; final int limit396 = (int) (_x.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit396 ;_i = _i + step396 ) { - //BA.debugLineNum = 1126;BA.debugLine="x.Position=i"; +RDebugUtils.currentLine=3604971; + //BA.debugLineNum = 3604971;BA.debugLine="x.Position=i"; _x.setPosition(_i); - //BA.debugLineNum = 1127;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=3604972; + //BA.debugLineNum = 3604972;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1128;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1129;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO5\""; -_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO5"; - //BA.debugLineNum = 1130;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8")),(Object)(_x.GetString("P9"))}; - //BA.debugLineNum = 1131;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO5")); +RDebugUtils.currentLine=3604973; + //BA.debugLineNum = 3604973;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604974; + //BA.debugLineNum = 3604974;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO5\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_ENCUESTA_MODULO5"; +RDebugUtils.currentLine=3604975; + //BA.debugLineNum = 3604975;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8")),(Object)(_x.GetString("P9"))}; +RDebugUtils.currentLine=3604976; + //BA.debugLineNum = 3604976;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insert_ENCUESTA_MODULO5")); } }; }; - //BA.debugLineNum = 1134;BA.debugLine="x.Close"; +RDebugUtils.currentLine=3604979; + //BA.debugLineNum = 3604979;BA.debugLine="x.Close"; _x.Close(); - //BA.debugLineNum = 1135;BA.debugLine="End Sub"; +RDebugUtils.currentLine=3604980; + //BA.debugLineNum = 3604980;BA.debugLine="End Sub"; return ""; } -public String _t1_tick() throws Exception{ - //BA.debugLineNum = 3009;BA.debugLine="Sub t1_tick"; - //BA.debugLineNum = 3011;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3012;BA.debugLine="cmd.Name = \"select_cuantos_pedido_GV2\""; -_cmd.Name /*String*/ = "select_cuantos_pedido_GV2"; - //BA.debugLineNum = 3013;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 3014;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedido")); - //BA.debugLineNum = 3016;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3017;BA.debugLine="cmd.Name = \"select_cuantos_noventa_GV2\""; -_cmd.Name /*String*/ = "select_cuantos_noventa_GV2"; - //BA.debugLineNum = 3018;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 3019;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_noventa")); - //BA.debugLineNum = 3021;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 3022;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_GV2\""; -_cmd.Name /*String*/ = "select_cuantos_pedidoc_GV2"; - //BA.debugLineNum = 3023;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 3024;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedidoc")); - //BA.debugLineNum = 3026;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 3027;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\""; -_s_cp.setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-1)")); +public String _t1_tick(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "t1_tick", false)) + {return ((String) Debug.delegate(ba, "t1_tick", null));} +RDebugUtils.currentLine=4325376; + //BA.debugLineNum = 4325376;BA.debugLine="Sub t1_tick"; +RDebugUtils.currentLine=4325378; + //BA.debugLineNum = 4325378;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=4325379; + //BA.debugLineNum = 4325379;BA.debugLine="cmd.Name = \"select_cuantos_pedido_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_pedido_GV2"; +RDebugUtils.currentLine=4325380; + //BA.debugLineNum = 4325380;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=4325381; + //BA.debugLineNum = 4325381;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_pedido")); +RDebugUtils.currentLine=4325383; + //BA.debugLineNum = 4325383;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=4325384; + //BA.debugLineNum = 4325384;BA.debugLine="cmd.Name = \"select_cuantos_noventa_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_noventa_GV2"; +RDebugUtils.currentLine=4325385; + //BA.debugLineNum = 4325385;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=4325386; + //BA.debugLineNum = 4325386;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_noventa")); +RDebugUtils.currentLine=4325388; + //BA.debugLineNum = 4325388;BA.debugLine="cmd.Initialize"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=4325389; + //BA.debugLineNum = 4325389;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_GV2\""; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_pedidoc_GV2"; +RDebugUtils.currentLine=4325390; + //BA.debugLineNum = 4325390;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=4325391; + //BA.debugLineNum = 4325391;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*gunav2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_pedidoc")); +RDebugUtils.currentLine=4325393; + //BA.debugLineNum = 4325393;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=4325394; + //BA.debugLineNum = 4325394;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-1)")); }; - //BA.debugLineNum = 3029;BA.debugLine="Log(\"TIMER DISABLED\")"; -__c.LogImpl("440894484","TIMER DISABLED",0); - //BA.debugLineNum = 3030;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 3031;BA.debugLine="t1.Enabled = False"; -_t1.setEnabled(__c.False); - //BA.debugLineNum = 3034;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4325396; + //BA.debugLineNum = 4325396;BA.debugLine="Log(\"TIMER DISABLED\")"; +__c.LogImpl("04325396","TIMER DISABLED",0); +RDebugUtils.currentLine=4325397; + //BA.debugLineNum = 4325397;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4325398; + //BA.debugLineNum = 4325398;BA.debugLine="t1.Enabled = False"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.False); +RDebugUtils.currentLine=4325401; + //BA.debugLineNum = 4325401;BA.debugLine="End Sub"; return ""; } -public String _t2_tick() throws Exception{ - //BA.debugLineNum = 2878;BA.debugLine="Sub t2_tick"; - //BA.debugLineNum = 2880;BA.debugLine="Log(\"--------> BORRAMOS\")"; -__c.LogImpl("440697858","--------> BORRAMOS",0); - //BA.debugLineNum = 2881;BA.debugLine="If B4XPages.MainPage.productos.lv_catalogos.IsIni"; +public String _t2_tick(gunav2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "t2_tick", false)) + {return ((String) Debug.delegate(ba, "t2_tick", null));} +RDebugUtils.currentLine=4128768; + //BA.debugLineNum = 4128768;BA.debugLine="Sub t2_tick"; +RDebugUtils.currentLine=4128770; + //BA.debugLineNum = 4128770;BA.debugLine="Log(\"--------> BORRAMOS\")"; +__c.LogImpl("04128770","--------> BORRAMOS",0); +RDebugUtils.currentLine=4128771; + //BA.debugLineNum = 4128771;BA.debugLine="If B4XPages.MainPage.productos.lv_catalogos.IsIni"; if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .IsInitialized()) { _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear();}; - //BA.debugLineNum = 2882;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128772; + //BA.debugLineNum = 4128772;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); - //BA.debugLineNum = 2883;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128773; + //BA.debugLineNum = 4128773;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); - //BA.debugLineNum = 2884;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128774; + //BA.debugLineNum = 4128774;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); - //BA.debugLineNum = 2885;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128775; + //BA.debugLineNum = 4128775;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from COMENTARIOS"); - //BA.debugLineNum = 2886;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128776; + //BA.debugLineNum = 4128776;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_PROMOS_DESCUENTOS"); - //BA.debugLineNum = 2887;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128777; + //BA.debugLineNum = 4128777;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TELEFONO"); - //BA.debugLineNum = 2888;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128778; + //BA.debugLineNum = 4128778;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ATIENDE"); - //BA.debugLineNum = 2889;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128779; + //BA.debugLineNum = 4128779;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PLAN_LEALTAD"); - //BA.debugLineNum = 2890;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128780; + //BA.debugLineNum = 4128780;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); - //BA.debugLineNum = 2891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128781; + //BA.debugLineNum = 4128781;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info3"); - //BA.debugLineNum = 2892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128782; + //BA.debugLineNum = 4128782;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CLIENTES_NUEVOS"); - //BA.debugLineNum = 2893;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\")"; +RDebugUtils.currentLine=4128783; + //BA.debugLineNum = 4128783;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_GIRO"); - //BA.debugLineNum = 2894;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128784; + //BA.debugLineNum = 4128784;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 2895;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128785; + //BA.debugLineNum = 4128785;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); - //BA.debugLineNum = 2896;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128786; + //BA.debugLineNum = 4128786;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 2897;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128787; + //BA.debugLineNum = 4128787;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 2898;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=4128788; + //BA.debugLineNum = 4128788;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VERIFICACION"); - //BA.debugLineNum = 2899;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128789; + //BA.debugLineNum = 4128789;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA"); - //BA.debugLineNum = 2900;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128790; + //BA.debugLineNum = 4128790;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA2"); - //BA.debugLineNum = 2901;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128791; + //BA.debugLineNum = 4128791;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_OUT"); - //BA.debugLineNum = 2902;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128792; + //BA.debugLineNum = 4128792;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 2903;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE from"; +RDebugUtils.currentLine=4128793; + //BA.debugLineNum = 4128793;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE from CODIGOS_CREDITO"); - //BA.debugLineNum = 2904;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128794; + //BA.debugLineNum = 4128794;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_FACE"); - //BA.debugLineNum = 2905;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INTO"; +RDebugUtils.currentLine=4128795; + //BA.debugLineNum = 4128795;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INTO"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"); - //BA.debugLineNum = 2906;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128796; + //BA.debugLineNum = 4128796;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_CODIGO_BARRAS"); - //BA.debugLineNum = 2907;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128797; + //BA.debugLineNum = 4128797;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO1"); - //BA.debugLineNum = 2908;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128798; + //BA.debugLineNum = 4128798;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO2"); - //BA.debugLineNum = 2909;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128799; + //BA.debugLineNum = 4128799;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO3"); - //BA.debugLineNum = 2910;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128800; + //BA.debugLineNum = 4128800;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO4"); - //BA.debugLineNum = 2911;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128801; + //BA.debugLineNum = 4128801;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO5"); - //BA.debugLineNum = 2912;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128802; + //BA.debugLineNum = 4128802;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BITACORAGPS"); - //BA.debugLineNum = 2913;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128803; + //BA.debugLineNum = 4128803;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTA_SUPLENCIA"); - //BA.debugLineNum = 2914;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=4128804; + //BA.debugLineNum = 4128804;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TICKET_IMPRESO"); - //BA.debugLineNum = 2915;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +RDebugUtils.currentLine=4128805; + //BA.debugLineNum = 4128805;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"CARGA_DIA"})); - //BA.debugLineNum = 2916;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +RDebugUtils.currentLine=4128806; + //BA.debugLineNum = 4128806;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"VENTAFUTURA"})); - //BA.debugLineNum = 2917;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +RDebugUtils.currentLine=4128807; + //BA.debugLineNum = 4128807;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"pasword"})); - //BA.debugLineNum = 2918;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +RDebugUtils.currentLine=4128808; + //BA.debugLineNum = 4128808;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"LATITUD"})); - //BA.debugLineNum = 2919;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +RDebugUtils.currentLine=4128809; + //BA.debugLineNum = 4128809;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"LONGITUD"})); - //BA.debugLineNum = 2920;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; +RDebugUtils.currentLine=4128810; + //BA.debugLineNum = 4128810;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"RUTA"})); - //BA.debugLineNum = 2923;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; +RDebugUtils.currentLine=4128813; + //BA.debugLineNum = 4128813;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); - //BA.debugLineNum = 2924;BA.debugLine="Subs.deleteFolder(Starter.fFileProvider.SharedFol"; +RDebugUtils.currentLine=4128814; + //BA.debugLineNum = 4128814;BA.debugLine="Subs.deleteFolder(Starter.fFileProvider.SharedFol"; _subs._deletefolder /*String*/ (ba,_starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ); - //BA.debugLineNum = 2926;BA.debugLine="E_RUTA2.Visible = False"; -_e_ruta2.setVisible(__c.False); - //BA.debugLineNum = 2928;BA.debugLine="b_abordo.Visible = False"; -_b_abordo.setVisible(__c.False); - //BA.debugLineNum = 2929;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 2930;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 2931;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2937;BA.debugLine="t2.Enabled = False"; -_t2.setEnabled(__c.False); - //BA.debugLineNum = 2938;BA.debugLine="e_ruta.Text = \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2939;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 2940;BA.debugLine="End Sub"; +RDebugUtils.currentLine=4128816; + //BA.debugLineNum = 4128816;BA.debugLine="E_RUTA2.Visible = False"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4128818; + //BA.debugLineNum = 4128818;BA.debugLine="b_abordo.Visible = False"; +__ref._b_abordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4128819; + //BA.debugLineNum = 4128819;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4128820; + //BA.debugLineNum = 4128820;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4128821; + //BA.debugLineNum = 4128821;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4128827; + //BA.debugLineNum = 4128827;BA.debugLine="t2.Enabled = False"; +__ref._t2 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.False); +RDebugUtils.currentLine=4128828; + //BA.debugLineNum = 4128828;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=4128829; + //BA.debugLineNum = 4128829;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=4128830; + //BA.debugLineNum = 4128830;BA.debugLine="End Sub"; return ""; } -public String _tickets_dia_click() throws Exception{ - //BA.debugLineNum = 3675;BA.debugLine="Sub tickets_dia_Click"; - //BA.debugLineNum = 3676;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; -_b4xpages._showpage /*String*/ (ba,"TicketsDia"); - //BA.debugLineNum = 3677;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((gunav2.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_productos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_productos.java index b2695c5..1b2a2fb 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_productos.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_productos.java @@ -10,7 +10,7 @@ public class c_productos extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_productos"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_productos"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_productos extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public String _ruta = ""; @@ -127,133 +134,311 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b_acep_dev_click() throws Exception{ - //BA.debugLineNum = 2383;BA.debugLine="Private Sub b_acep_dev_Click"; - //BA.debugLineNum = 2384;BA.debugLine="p_devo.Visible = False"; -_p_devo.setVisible(__c.False); - //BA.debugLineNum = 2385;BA.debugLine="End Sub"; +public Object _initialize(gunav2.keymon.com.mx.c_productos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=65667072; + //BA.debugLineNum = 65667072;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=65667073; + //BA.debugLineNum = 65667073;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=65667074; + //BA.debugLineNum = 65667074;BA.debugLine="End Sub"; +return null; +} +public String _terminarpromoesp(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "terminarpromoesp", false)) + {return ((String) Debug.delegate(ba, "terminarpromoesp", null));} +int _i = 0; +String _pn = ""; +RDebugUtils.currentLine=67764224; + //BA.debugLineNum = 67764224;BA.debugLine="Sub terminarpromoesp"; +RDebugUtils.currentLine=67764225; + //BA.debugLineNum = 67764225;BA.debugLine="c2 = B4XPages.MainPage.skmt.ExecQuery($\"select *"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" WHERE CAT_GP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)")))); +RDebugUtils.currentLine=67764226; + //BA.debugLineNum = 67764226;BA.debugLine="If c2.RowCount > 0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=67764227; + //BA.debugLineNum = 67764227;BA.debugLine="c2.Position = 0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67764228; + //BA.debugLineNum = 67764228;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"), \""; +_subs._guardaproducto /*String*/ (ba,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),"0",BA.NumberToString(1),__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE"),__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ); +RDebugUtils.currentLine=67764229; + //BA.debugLineNum = 67764229;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select * f"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)"))); +RDebugUtils.currentLine=67764230; + //BA.debugLineNum = 67764230;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=67764231; + //BA.debugLineNum = 67764231;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=67764232; + //BA.debugLineNum = 67764232;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=67764233; + //BA.debugLineNum = 67764233;BA.debugLine="Private pn As String = Subs.traeProdNombre(c.G"; +_pn = _subs._traeprodnombre /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")); +RDebugUtils.currentLine=67764234; + //BA.debugLineNum = 67764234;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"),"; +_subs._guardaproducto /*String*/ (ba,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS"),_pn,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ); + } +}; + }; +RDebugUtils.currentLine=67764237; + //BA.debugLineNum = 67764237;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=67764239; + //BA.debugLineNum = 67764239;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=67764240; + //BA.debugLineNum = 67764240;BA.debugLine="End Sub"; return ""; } -public String _b_aceptar_click() throws Exception{ - //BA.debugLineNum = 1349;BA.debugLine="Private Sub b_aceptar_Click"; - //BA.debugLineNum = 1350;BA.debugLine="p_vistaPreviaTrans.Visible=False"; -_p_vistapreviatrans.setVisible(__c.False); - //BA.debugLineNum = 1351;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +public String _b_acep_dev_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_acep_dev_click", false)) + {return ((String) Debug.delegate(ba, "b_acep_dev_click", null));} +RDebugUtils.currentLine=68026368; + //BA.debugLineNum = 68026368;BA.debugLine="Private Sub b_acep_dev_Click"; +RDebugUtils.currentLine=68026369; + //BA.debugLineNum = 68026369;BA.debugLine="p_devo.Visible = False"; +__ref._p_devo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=68026370; + //BA.debugLineNum = 68026370;BA.debugLine="End Sub"; +return ""; +} +public String _b_aceptar_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_aceptar_click", false)) + {return ((String) Debug.delegate(ba, "b_aceptar_click", null));} +RDebugUtils.currentLine=67239936; + //BA.debugLineNum = 67239936;BA.debugLine="Private Sub b_aceptar_Click"; +RDebugUtils.currentLine=67239937; + //BA.debugLineNum = 67239937;BA.debugLine="p_vistaPreviaTrans.Visible=False"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=67239938; + //BA.debugLineNum = 67239938;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 1352;BA.debugLine="End Sub"; +RDebugUtils.currentLine=67239939; + //BA.debugLineNum = 67239939;BA.debugLine="End Sub"; return ""; } -public String _b_continuar_click() throws Exception{ +public String _b_continuar_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_continuar_click", false)) + {return ((String) Debug.delegate(ba, "b_continuar_click", null));} anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 1239;BA.debugLine="Private Sub b_continuar_Click"; - //BA.debugLineNum = 1240;BA.debugLine="Log(\"b_continuar_Click\")"; -__c.LogImpl("466715649","b_continuar_Click",0); - //BA.debugLineNum = 1241;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 1243;BA.debugLine="Log($\"prodsMap=${prodsMap}\"$)"; -__c.LogImpl("466715652",("prodsMap="+__c.SmartStringFormatter("",(Object)(_prodsmap.getObject()))+""),0); - //BA.debugLineNum = 1251;BA.debugLine="Log(\"promos-inv, prods-inv, cat-vis\")"; -__c.LogImpl("466715660","promos-inv, prods-inv, cat-vis",0); - //BA.debugLineNum = 1252;BA.debugLine="lv_promos.Visible = False"; -_lv_promos.setVisible(__c.False); - //BA.debugLineNum = 1253;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -_clv_prods_ll._asview().setVisible(__c.False); - //BA.debugLineNum = 1254;BA.debugLine="lv_subtipo.Visible = False"; -_lv_subtipo.setVisible(__c.False); - //BA.debugLineNum = 1255;BA.debugLine="lv_tipo.Visible = False"; -_lv_tipo.setVisible(__c.False); - //BA.debugLineNum = 1256;BA.debugLine="lv_catalogos.Visible = True"; -_lv_catalogos.setVisible(__c.True); - //BA.debugLineNum = 1257;BA.debugLine="Log(\"Continuar\")"; -__c.LogImpl("466715666","Continuar",0); - //BA.debugLineNum = 1258;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +RDebugUtils.currentLine=66781184; + //BA.debugLineNum = 66781184;BA.debugLine="Private Sub b_continuar_Click"; +RDebugUtils.currentLine=66781185; + //BA.debugLineNum = 66781185;BA.debugLine="Log(\"b_continuar_Click\")"; +__c.LogImpl("066781185","b_continuar_Click",0); +RDebugUtils.currentLine=66781186; + //BA.debugLineNum = 66781186;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=66781188; + //BA.debugLineNum = 66781188;BA.debugLine="Log($\"prodsMap=${prodsMap}\"$)"; +__c.LogImpl("066781188",("prodsMap="+__c.SmartStringFormatter("",(Object)(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()))+""),0); +RDebugUtils.currentLine=66781196; + //BA.debugLineNum = 66781196;BA.debugLine="Log(\"promos-inv, prods-inv, cat-vis\")"; +__c.LogImpl("066781196","promos-inv, prods-inv, cat-vis",0); +RDebugUtils.currentLine=66781197; + //BA.debugLineNum = 66781197;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=66781198; + //BA.debugLineNum = 66781198;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); +RDebugUtils.currentLine=66781199; + //BA.debugLineNum = 66781199;BA.debugLine="lv_subtipo.Visible = False"; +__ref._lv_subtipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=66781200; + //BA.debugLineNum = 66781200;BA.debugLine="lv_tipo.Visible = False"; +__ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=66781201; + //BA.debugLineNum = 66781201;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=66781202; + //BA.debugLineNum = 66781202;BA.debugLine="Log(\"Continuar\")"; +__c.LogImpl("066781202","Continuar",0); +RDebugUtils.currentLine=66781203; + //BA.debugLineNum = 66781203;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; _m = new anywheresoftware.b4a.objects.collections.Map(); _m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 1259;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; -_prodspedidoactual = BA.ObjectToString(_m.Get((Object)("productos"))); - //BA.debugLineNum = 1260;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; -_montopedidoactual = BA.ObjectToString(_m.Get((Object)("monto"))); - //BA.debugLineNum = 1261;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66781204; + //BA.debugLineNum = 66781204;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +__ref._prodspedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("productos"))); +RDebugUtils.currentLine=66781205; + //BA.debugLineNum = 66781205;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +__ref._montopedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("monto"))); +RDebugUtils.currentLine=66781206; + //BA.debugLineNum = 66781206;BA.debugLine="End Sub"; return ""; } -public String _b_devmas_click() throws Exception{ +public String _cuentaprods(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", null));} +RDebugUtils.currentLine=66650112; + //BA.debugLineNum = 66650112;BA.debugLine="Sub cuentaProds"; +RDebugUtils.currentLine=66650114; + //BA.debugLineNum = 66650114;BA.debugLine="Log(\"===========================\")"; +__c.LogImpl("066650114","===========================",0); +RDebugUtils.currentLine=66650115; + //BA.debugLineNum = 66650115;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._clienteid /*String*/ ))+"'")))); +RDebugUtils.currentLine=66650118; + //BA.debugLineNum = 66650118;BA.debugLine="p_botonesVenta.Visible = True"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=66650119; + //BA.debugLineNum = 66650119;BA.debugLine="p_botonesVenta.BringToFront"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=66650120; + //BA.debugLineNum = 66650120;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=66650122; + //BA.debugLineNum = 66650122;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=66650124; + //BA.debugLineNum = 66650124;BA.debugLine="End Sub"; +return ""; +} +public String _b_devmas_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_devmas_click", false)) + {return ((String) Debug.delegate(ba, "b_devmas_click", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c6 = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _dev2 = null; - //BA.debugLineNum = 2404;BA.debugLine="Private Sub b_devmas_Click"; - //BA.debugLineNum = 2406;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQue"; +RDebugUtils.currentLine=68157440; + //BA.debugLineNum = 68157440;BA.debugLine="Private Sub b_devmas_Click"; +RDebugUtils.currentLine=68157442; + //BA.debugLineNum = 68157442;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQue"; _c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS <> 'DUR' "))); - //BA.debugLineNum = 2407;BA.debugLine="If c6.RowCount > 0 Then"; +RDebugUtils.currentLine=68157443; + //BA.debugLineNum = 68157443;BA.debugLine="If c6.RowCount > 0 Then"; if (_c6.getRowCount()>0) { - //BA.debugLineNum = 2408;BA.debugLine="c6.Position = 0"; +RDebugUtils.currentLine=68157444; + //BA.debugLineNum = 68157444;BA.debugLine="c6.Position = 0"; _c6.setPosition((int) (0)); - //BA.debugLineNum = 2412;BA.debugLine="Log(((l_cantdev.Text + 1)* preciodev))"; -__c.LogImpl("468091912",BA.NumberToString((((double)(Double.parseDouble(_l_cantdev.getText()))+1)*_preciodev)),0); - //BA.debugLineNum = 2413;BA.debugLine="If c6.GetString(\"PC_MONTO\")- ((l_cantdev.Text +"; -if ((double)(Double.parseDouble(_c6.GetString("PC_MONTO")))-(((double)(Double.parseDouble(_l_cantdev.getText()))+1)*_preciodev)>=0) { - //BA.debugLineNum = 2414;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=68157448; + //BA.debugLineNum = 68157448;BA.debugLine="Log(((l_cantdev.Text + 1)* preciodev))"; +__c.LogImpl("068157448",BA.NumberToString((((double)(Double.parseDouble(__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+1)*__ref._preciodev /*double*/ )),0); +RDebugUtils.currentLine=68157449; + //BA.debugLineNum = 68157449;BA.debugLine="If c6.GetString(\"PC_MONTO\")- ((l_cantdev.Text +"; +if ((double)(Double.parseDouble(_c6.GetString("PC_MONTO")))-(((double)(Double.parseDouble(__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+1)*__ref._preciodev /*double*/ )>=0) { +RDebugUtils.currentLine=68157450; + //BA.debugLineNum = 68157450;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exe"; _dev2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_dev2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_nombredev))+"'")))); - //BA.debugLineNum = 2415;BA.debugLine="dev2.Position = 0"; +_dev2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(__ref._nombredev /*String*/ ))+"'")))); +RDebugUtils.currentLine=68157451; + //BA.debugLineNum = 68157451;BA.debugLine="dev2.Position = 0"; _dev2.setPosition((int) (0)); - //BA.debugLineNum = 2416;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text"; -_l_cantdev.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_l_cantdev.getText()))+1),(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 2418;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; +RDebugUtils.currentLine=68157452; + //BA.debugLineNum = 68157452;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text"; +__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+1),(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=68157454; + //BA.debugLineNum = 68157454;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 2420;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1"; -_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((_preciodev*-1)),_l_cantdev.getText(),_nombredev,_dev2.GetString("CAT_GP_ID"),_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(1)); +RDebugUtils.currentLine=68157456; + //BA.debugLineNum = 68157456;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1"; +_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((__ref._preciodev /*double*/ *-1)),__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),__ref._nombredev /*String*/ ,_dev2.GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(1)); }else { - //BA.debugLineNum = 2422;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1"; -_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((_preciodev*-1)),_l_cantdev.getText(),_nombredev,_dev2.GetString("CAT_GP_ID"),_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(0)); +RDebugUtils.currentLine=68157458; + //BA.debugLineNum = 68157458;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1"; +_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((__ref._preciodev /*double*/ *-1)),__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),__ref._nombredev /*String*/ ,_dev2.GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(0)); }; }else { - //BA.debugLineNum = 2428;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al prec"; +RDebugUtils.currentLine=68157464; + //BA.debugLineNum = 68157464;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al prec"; __c.MsgboxAsync(BA.ObjectToCharSequence("El monto de venta es menor al precio de este producto"),BA.ObjectToCharSequence("Atención"),ba); }; }; - //BA.debugLineNum = 2439;BA.debugLine="End Sub"; +RDebugUtils.currentLine=68157475; + //BA.debugLineNum = 68157475;BA.debugLine="End Sub"; return ""; } -public String _b_devmenos_click() throws Exception{ +public String _b_devmenos_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_devmenos_click", false)) + {return ((String) Debug.delegate(ba, "b_devmenos_click", null));} anywheresoftware.b4a.sql.SQL.CursorWrapper _dev2 = null; - //BA.debugLineNum = 2387;BA.debugLine="Private Sub b_devmenos_Click"; - //BA.debugLineNum = 2388;BA.debugLine="If NumberFormat2((l_cantdev.Text - 1),0,0,0, Fals"; -if ((double)(Double.parseDouble(__c.NumberFormat2(((double)(Double.parseDouble(_l_cantdev.getText()))-1),(int) (0),(int) (0),(int) (0),__c.False)))>=0) { - //BA.debugLineNum = 2390;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=68091904; + //BA.debugLineNum = 68091904;BA.debugLine="Private Sub b_devmenos_Click"; +RDebugUtils.currentLine=68091905; + //BA.debugLineNum = 68091905;BA.debugLine="If NumberFormat2((l_cantdev.Text - 1),0,0,0, Fals"; +if ((double)(Double.parseDouble(__c.NumberFormat2(((double)(Double.parseDouble(__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))-1),(int) (0),(int) (0),(int) (0),__c.False)))>=0) { +RDebugUtils.currentLine=68091907; + //BA.debugLineNum = 68091907;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exec"; _dev2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_dev2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_nombredev))+"'")))); - //BA.debugLineNum = 2391;BA.debugLine="dev2.Position = 0"; +_dev2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(__ref._nombredev /*String*/ ))+"'")))); +RDebugUtils.currentLine=68091908; + //BA.debugLineNum = 68091908;BA.debugLine="dev2.Position = 0"; _dev2.setPosition((int) (0)); - //BA.debugLineNum = 2392;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text -"; -_l_cantdev.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_l_cantdev.getText()))-1),(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 2393;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +RDebugUtils.currentLine=68091909; + //BA.debugLineNum = 68091909;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text -"; +__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))-1),(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=68091910; + //BA.debugLineNum = 68091910;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 2395;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)"; -_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((_preciodev*-1)),_l_cantdev.getText(),_nombredev,_dev2.GetString("CAT_GP_ID"),_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(1)); +RDebugUtils.currentLine=68091912; + //BA.debugLineNum = 68091912;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)"; +_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((__ref._preciodev /*double*/ *-1)),__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),__ref._nombredev /*String*/ ,_dev2.GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(1)); }else { - //BA.debugLineNum = 2397;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)"; -_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((_preciodev*-1)),_l_cantdev.getText(),_nombredev,_dev2.GetString("CAT_GP_ID"),_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(0)); +RDebugUtils.currentLine=68091914; + //BA.debugLineNum = 68091914;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)"; +_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((__ref._preciodev /*double*/ *-1)),__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),__ref._nombredev /*String*/ ,_dev2.GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(0)); }; }; - //BA.debugLineNum = 2402;BA.debugLine="End Sub"; +RDebugUtils.currentLine=68091919; + //BA.debugLineNum = 68091919;BA.debugLine="End Sub"; return ""; } -public String _b_okpromodesc_click() throws Exception{ - //BA.debugLineNum = 2296;BA.debugLine="Private Sub b_okpromodesc_Click"; - //BA.debugLineNum = 2297;BA.debugLine="p_promodesc.Visible = False"; -_p_promodesc.setVisible(__c.False); - //BA.debugLineNum = 2298;BA.debugLine="End Sub"; +public String _b_okpromodesc_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_okpromodesc_click", false)) + {return ((String) Debug.delegate(ba, "b_okpromodesc_click", null));} +RDebugUtils.currentLine=67829760; + //BA.debugLineNum = 67829760;BA.debugLine="Private Sub b_okpromodesc_Click"; +RDebugUtils.currentLine=67829761; + //BA.debugLineNum = 67829761;BA.debugLine="p_promodesc.Visible = False"; +__ref._p_promodesc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=67829762; + //BA.debugLineNum = 67829762;BA.debugLine="End Sub"; return ""; } -public String _b_prodmas_click() throws Exception{ +public String _b_prodmas_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmas_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas_click", null));} int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; @@ -268,114 +453,164 @@ String _nombrex = ""; anywheresoftware.b4a.objects.CSBuilder _cs = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; String _invactualizado = ""; - //BA.debugLineNum = 878;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 879;BA.debugLine="totalcajasmaspiezas = 0"; -_totalcajasmaspiezas = (int) (0); - //BA.debugLineNum = 880;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 881;BA.debugLine="Root.RequestFocus"; -_root.RequestFocus(); - //BA.debugLineNum = 884;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 885;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +RDebugUtils.currentLine=66453504; + //BA.debugLineNum = 66453504;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=66453505; + //BA.debugLineNum = 66453505;BA.debugLine="totalcajasmaspiezas = 0"; +__ref._totalcajasmaspiezas /*int*/ = (int) (0); +RDebugUtils.currentLine=66453506; + //BA.debugLineNum = 66453506;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=66453507; + //BA.debugLineNum = 66453507;BA.debugLine="Root.RequestFocus"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=66453510; + //BA.debugLineNum = 66453510;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=66453511; + //BA.debugLineNum = 66453511;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; _pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 886;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=66453512; + //BA.debugLineNum = 66453512;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 887;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +RDebugUtils.currentLine=66453513; + //BA.debugLineNum = 66453513;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; _lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 889;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +RDebugUtils.currentLine=66453515; + //BA.debugLineNum = 66453515;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; _panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); _panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 891;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +RDebugUtils.currentLine=66453517; + //BA.debugLineNum = 66453517;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; _lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 894;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 895;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; -_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 896;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; -_existencias = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 897;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; -__c.LogImpl("466387987",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0); - //BA.debugLineNum = 898;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +RDebugUtils.currentLine=66453520; + //BA.debugLineNum = 66453520;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=66453521; + //BA.debugLineNum = 66453521;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; +_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=66453522; + //BA.debugLineNum = 66453522;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; +_existencias = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=66453523; + //BA.debugLineNum = 66453523;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; +__c.LogImpl("066453523",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0); +RDebugUtils.currentLine=66453524; + //BA.debugLineNum = 66453524;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 899;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 916;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; -__c.LogImpl("466388006",_lacant.getText(),__c.Colors.Red); - //BA.debugLineNum = 918;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text <"; +RDebugUtils.currentLine=66453525; + //BA.debugLineNum = 66453525;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=66453542; + //BA.debugLineNum = 66453542;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("066453542",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=66453544; + //BA.debugLineNum = 66453544;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text <"; if ((double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))>0 && ((double)(Double.parseDouble(_lacant.getText()))<=((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))))) { - //BA.debugLineNum = 920;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almace"; -((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Put((Object)("almacen"),(Object)(((double)(Double.parseDouble(_inv))-1))); - //BA.debugLineNum = 921;BA.debugLine="inv = inv - 1"; +RDebugUtils.currentLine=66453546; + //BA.debugLineNum = 66453546;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almace"; +((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Put((Object)("almacen"),(Object)(((double)(Double.parseDouble(_inv))-1))); +RDebugUtils.currentLine=66453547; + //BA.debugLineNum = 66453547;BA.debugLine="inv = inv - 1"; _inv = BA.NumberToString((double)(Double.parseDouble(_inv))-1); - //BA.debugLineNum = 923;BA.debugLine="laCant.Text = NumberFormat2((laCant.Text + 1), 1"; +RDebugUtils.currentLine=66453549; + //BA.debugLineNum = 66453549;BA.debugLine="laCant.Text = NumberFormat2((laCant.Text + 1), 1"; _lacant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_lacant.getText()))+1),(int) (1),(int) (0),(int) (0),__c.False))); }; - //BA.debugLineNum = 926;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; +RDebugUtils.currentLine=66453552; + //BA.debugLineNum = 66453552;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; _nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 935;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; -__c.LogImpl("466388025",_lacant.getText(),__c.Colors.Red); - //BA.debugLineNum = 941;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; -__c.LogImpl("466388031",_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,0); - //BA.debugLineNum = 942;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; +RDebugUtils.currentLine=66453561; + //BA.debugLineNum = 66453561;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("066453561",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=66453567; + //BA.debugLineNum = 66453567;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; +__c.LogImpl("066453567",_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,0); +RDebugUtils.currentLine=66453568; + //BA.debugLineNum = 66453568;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 943;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(1)); +RDebugUtils.currentLine=66453569; + //BA.debugLineNum = 66453569;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(1)); }else { - //BA.debugLineNum = 945;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); +RDebugUtils.currentLine=66453571; + //BA.debugLineNum = 66453571;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); }; - //BA.debugLineNum = 948;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 951;BA.debugLine="Private cs As CSBuilder"; +RDebugUtils.currentLine=66453574; + //BA.debugLineNum = 66453574;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=66453577; + //BA.debugLineNum = 66453577;BA.debugLine="Private cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 952;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=66453578; + //BA.debugLineNum = 66453578;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 953;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"se"; +RDebugUtils.currentLine=66453579; + //BA.debugLineNum = 66453579;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"se"; _o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 954;BA.debugLine="Private invActualizado As String = \"0\""; +RDebugUtils.currentLine=66453580; + //BA.debugLineNum = 66453580;BA.debugLine="Private invActualizado As String = \"0\""; _invactualizado = "0"; - //BA.debugLineNum = 955;BA.debugLine="If o.RowCount > 0 Then"; +RDebugUtils.currentLine=66453581; + //BA.debugLineNum = 66453581;BA.debugLine="If o.RowCount > 0 Then"; if (_o.getRowCount()>0) { - //BA.debugLineNum = 956;BA.debugLine="o.Position = 0"; +RDebugUtils.currentLine=66453582; + //BA.debugLineNum = 66453582;BA.debugLine="o.Position = 0"; _o.setPosition((int) (0)); - //BA.debugLineNum = 957;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +RDebugUtils.currentLine=66453583; + //BA.debugLineNum = 66453583;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; _invactualizado = _o.GetString("CAT_GP_ALMACEN"); }; - //BA.debugLineNum = 966;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)."; +RDebugUtils.currentLine=66453592; + //BA.debugLineNum = 66453592;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)."; if (2==2) { _lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""))).PopAll().getObject()));}; - //BA.debugLineNum = 969;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 971;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); - //BA.debugLineNum = 972;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 973;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 974;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr"; -__c.LogImpl("466388064",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0); - //BA.debugLineNum = 975;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_NO"; -_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART"))); - //BA.debugLineNum = 976;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MONT"; -_l_total.setText(BA.ObjectToCharSequence("Total: $"+_c.GetString("PC_MONTO"))); - //BA.debugLineNum = 977;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; -if (_l_total.getText()== null || (_l_total.getText()).equals("null") || (_l_total.getText()).equals("") || (_l_total.getText()).equals("Total: $null")) { -_l_total.setText(BA.ObjectToCharSequence("Total: $0.0"));}; - //BA.debugLineNum = 978;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text = \""; -if (_l_totprods.getText()== null || (_l_totprods.getText()).equals("null") || (_l_totprods.getText()).equals("") || (_l_totprods.getText()).equals("Prods: null")) { -_l_totprods.setText(BA.ObjectToCharSequence("Prods: 0"));}; +RDebugUtils.currentLine=66453595; + //BA.debugLineNum = 66453595;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); +RDebugUtils.currentLine=66453597; + //BA.debugLineNum = 66453597;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); +RDebugUtils.currentLine=66453598; + //BA.debugLineNum = 66453598;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=66453599; + //BA.debugLineNum = 66453599;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=66453600; + //BA.debugLineNum = 66453600;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr"; +__c.LogImpl("066453600",("registros: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")))+""),0); +RDebugUtils.currentLine=66453601; + //BA.debugLineNum = 66453601;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_NO"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=66453602; + //BA.debugLineNum = 66453602;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MONT"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); +RDebugUtils.currentLine=66453603; + //BA.debugLineNum = 66453603;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +if (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("") || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("Total: $null")) { +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $0.0"));}; +RDebugUtils.currentLine=66453604; + //BA.debugLineNum = 66453604;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text = \""; +if (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("") || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("Prods: null")) { +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: 0"));}; }; - //BA.debugLineNum = 981;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66453607; + //BA.debugLineNum = 66453607;BA.debugLine="End Sub"; return ""; } -public String _b_prodmenos_click() throws Exception{ +public String _b_prodmenos_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmenos_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos_click", null));} int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; @@ -395,357 +630,320 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c7 = null; double _totaldev = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _c6 = null; double _totalprod = 0; - //BA.debugLineNum = 734;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 735;BA.debugLine="totalcajasmaspiezas = 0"; -_totalcajasmaspiezas = (int) (0); - //BA.debugLineNum = 736;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 737;BA.debugLine="Root.RequestFocus"; -_root.RequestFocus(); - //BA.debugLineNum = 739;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 740;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +RDebugUtils.currentLine=66387968; + //BA.debugLineNum = 66387968;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=66387969; + //BA.debugLineNum = 66387969;BA.debugLine="totalcajasmaspiezas = 0"; +__ref._totalcajasmaspiezas /*int*/ = (int) (0); +RDebugUtils.currentLine=66387970; + //BA.debugLineNum = 66387970;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=66387971; + //BA.debugLineNum = 66387971;BA.debugLine="Root.RequestFocus"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=66387973; + //BA.debugLineNum = 66387973;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=66387974; + //BA.debugLineNum = 66387974;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; _pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 741;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=66387975; + //BA.debugLineNum = 66387975;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 742;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +RDebugUtils.currentLine=66387976; + //BA.debugLineNum = 66387976;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; _lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 744;BA.debugLine="Dim panelbotonesc As B4XView = pnl.GetView(3)"; +RDebugUtils.currentLine=66387978; + //BA.debugLineNum = 66387978;BA.debugLine="Dim panelbotonesc As B4XView = pnl.GetView(3)"; _panelbotonesc = new anywheresoftware.b4a.objects.B4XViewWrapper(); _panelbotonesc = _pnl.GetView((int) (3)); - //BA.debugLineNum = 745;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +RDebugUtils.currentLine=66387979; + //BA.debugLineNum = 66387979;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; _lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 747;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +RDebugUtils.currentLine=66387981; + //BA.debugLineNum = 66387981;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; _panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); _panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 749;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +RDebugUtils.currentLine=66387983; + //BA.debugLineNum = 66387983;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 751;BA.debugLine="laCant.Text = $\"${NumberFormat2(laCant.Text-1,0,0"; +RDebugUtils.currentLine=66387985; + //BA.debugLineNum = 66387985;BA.debugLine="laCant.Text = $\"${NumberFormat2(laCant.Text-1,0,0"; _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_lacant.getText()))-1,(int) (0),(int) (0),(int) (0),__c.False)))+""))); - //BA.debugLineNum = 752;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +RDebugUtils.currentLine=66387986; + //BA.debugLineNum = 66387986;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; if ((double)(Double.parseDouble(_lacant.getText()))<0) { _lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 753;BA.debugLine="Private tmpMap1 As Map = clv_prods_ll.GetValue(in"; +RDebugUtils.currentLine=66387987; + //BA.debugLineNum = 66387987;BA.debugLine="Private tmpMap1 As Map = clv_prods_ll.GetValue(in"; _tmpmap1 = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap1 = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))); - //BA.debugLineNum = 754;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 755;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 756;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +_tmpmap1 = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))); +RDebugUtils.currentLine=66387988; + //BA.debugLineNum = 66387988;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=66387989; + //BA.debugLineNum = 66387989;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=66387990; + //BA.debugLineNum = 66387990;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; _tmpmap = new anywheresoftware.b4a.objects.collections.Map(); _tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_subs._traealmacen /*String*/ (ba))}); - //BA.debugLineNum = 757;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; +RDebugUtils.currentLine=66387991; + //BA.debugLineNum = 66387991;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; _nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 758;BA.debugLine="LogColor(tmpMap1,Colors.Magenta)"; -__c.LogImpl("466322456",BA.ObjectToString(_tmpmap1),__c.Colors.Magenta); - //BA.debugLineNum = 759;BA.debugLine="prodsMap.Put(id, tmpMap)"; -_prodsmap.Put((Object)(_id),(Object)(_tmpmap.getObject())); - //BA.debugLineNum = 760;BA.debugLine="If laCant.Text = 0 Then prodsMap.Remove(id)"; +RDebugUtils.currentLine=66387992; + //BA.debugLineNum = 66387992;BA.debugLine="LogColor(tmpMap1,Colors.Magenta)"; +__c.LogImpl("066387992",BA.ObjectToString(_tmpmap1),__c.Colors.Magenta); +RDebugUtils.currentLine=66387993; + //BA.debugLineNum = 66387993;BA.debugLine="prodsMap.Put(id, tmpMap)"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_id),(Object)(_tmpmap.getObject())); +RDebugUtils.currentLine=66387994; + //BA.debugLineNum = 66387994;BA.debugLine="If laCant.Text = 0 Then prodsMap.Remove(id)"; if ((_lacant.getText()).equals(BA.NumberToString(0))) { -_prodsmap.Remove((Object)(_id));}; - //BA.debugLineNum = 772;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; -__c.LogImpl("466322470","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue); - //BA.debugLineNum = 774;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant.te"; -__c.LogImpl("466322472",(""+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_precio))+", "+__c.SmartStringFormatter("",(Object)(_lacant.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeprodnombre /*String*/ (ba,_id)))+", "+__c.SmartStringFormatter("",(Object)(_id))+", "+__c.SmartStringFormatter("",(Object)(_clienteid))+""),0); - //BA.debugLineNum = 775;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)(_id));}; +RDebugUtils.currentLine=66388006; + //BA.debugLineNum = 66388006;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +__c.LogImpl("066388006","prodsMap="+BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=66388008; + //BA.debugLineNum = 66388008;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant.te"; +__c.LogImpl("066388008",(""+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_precio))+", "+__c.SmartStringFormatter("",(Object)(_lacant.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeprodnombre /*String*/ (ba,_id)))+", "+__c.SmartStringFormatter("",(Object)(_id))+", "+__c.SmartStringFormatter("",(Object)(__ref._clienteid /*String*/ ))+""),0); +RDebugUtils.currentLine=66388009; + //BA.debugLineNum = 66388009;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 776;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(1)); +RDebugUtils.currentLine=66388010; + //BA.debugLineNum = 66388010;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(1)); }else { - //BA.debugLineNum = 778;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); +RDebugUtils.currentLine=66388012; + //BA.debugLineNum = 66388012;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); }; - //BA.debugLineNum = 780;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 781;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; -__c.LogImpl("466322479","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue); - //BA.debugLineNum = 782;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; -__c.LogImpl("466322480",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0); - //BA.debugLineNum = 783;BA.debugLine="If 1 = 1 Then"; +RDebugUtils.currentLine=66388014; + //BA.debugLineNum = 66388014;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=66388015; + //BA.debugLineNum = 66388015;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +__c.LogImpl("066388015","prodsMap="+BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=66388016; + //BA.debugLineNum = 66388016;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +__c.LogImpl("066388016",("Total Prods: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""),0); +RDebugUtils.currentLine=66388017; + //BA.debugLineNum = 66388017;BA.debugLine="If 1 = 1 Then"; if (1==1) { - //BA.debugLineNum = 784;BA.debugLine="Private cs As CSBuilder"; +RDebugUtils.currentLine=66388018; + //BA.debugLineNum = 66388018;BA.debugLine="Private cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 785;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=66388019; + //BA.debugLineNum = 66388019;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 786;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=66388020; + //BA.debugLineNum = 66388020;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; _o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 787;BA.debugLine="Private invActualizado As String = \"0\""; +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=66388021; + //BA.debugLineNum = 66388021;BA.debugLine="Private invActualizado As String = \"0\""; _invactualizado = "0"; - //BA.debugLineNum = 788;BA.debugLine="If o.RowCount > 0 Then"; +RDebugUtils.currentLine=66388022; + //BA.debugLineNum = 66388022;BA.debugLine="If o.RowCount > 0 Then"; if (_o.getRowCount()>0) { - //BA.debugLineNum = 789;BA.debugLine="o.Position = 0"; +RDebugUtils.currentLine=66388023; + //BA.debugLineNum = 66388023;BA.debugLine="o.Position = 0"; _o.setPosition((int) (0)); - //BA.debugLineNum = 790;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +RDebugUtils.currentLine=66388024; + //BA.debugLineNum = 66388024;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; _invactualizado = _o.GetString("CAT_GP_ALMACEN"); }; - //BA.debugLineNum = 800;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; +RDebugUtils.currentLine=66388034; + //BA.debugLineNum = 66388034;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; if (2==2) { _lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""))).PopAll().getObject()));}; }; - //BA.debugLineNum = 814;BA.debugLine="If Subs.totalPedido < 1 Then laCant.Text = \"0\""; +RDebugUtils.currentLine=66388048; + //BA.debugLineNum = 66388048;BA.debugLine="If Subs.totalPedido < 1 Then laCant.Text = \"0\""; if ((double)(Double.parseDouble(_subs._totalpedido /*String*/ (ba)))<1) { _lacant.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 815;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 834;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); - //BA.debugLineNum = 837;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 838;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 839;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr"; -__c.LogImpl("466322537",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0); - //BA.debugLineNum = 840;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_NO"; -_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART"))); - //BA.debugLineNum = 841;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MONT"; -_l_total.setText(BA.ObjectToCharSequence("Total: $"+_c.GetString("PC_MONTO"))); - //BA.debugLineNum = 842;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; -if (_l_total.getText()== null || (_l_total.getText()).equals("null") || (_l_total.getText()).equals("")) { -_l_total.setText(BA.ObjectToCharSequence("Total: $0.0"));}; - //BA.debugLineNum = 843;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text = \""; -if (_l_totprods.getText()== null || (_l_totprods.getText()).equals("null") || (_l_totprods.getText()).equals("")) { -_l_totprods.setText(BA.ObjectToCharSequence("Prods: 0"));}; +RDebugUtils.currentLine=66388049; + //BA.debugLineNum = 66388049;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); +RDebugUtils.currentLine=66388068; + //BA.debugLineNum = 66388068;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); +RDebugUtils.currentLine=66388071; + //BA.debugLineNum = 66388071;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=66388072; + //BA.debugLineNum = 66388072;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=66388073; + //BA.debugLineNum = 66388073;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr"; +__c.LogImpl("066388073",("registros: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")))+""),0); +RDebugUtils.currentLine=66388074; + //BA.debugLineNum = 66388074;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_NO"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=66388075; + //BA.debugLineNum = 66388075;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MONT"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); +RDebugUtils.currentLine=66388076; + //BA.debugLineNum = 66388076;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +if (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("")) { +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $0.0"));}; +RDebugUtils.currentLine=66388077; + //BA.debugLineNum = 66388077;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text = \""; +if (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("")) { +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: 0"));}; }; - //BA.debugLineNum = 849;BA.debugLine="Dim c7 As Cursor = B4XPages.MainPage.skmt.ExecQue"; +RDebugUtils.currentLine=66388083; + //BA.debugLineNum = 66388083;BA.debugLine="Dim c7 As Cursor = B4XPages.MainPage.skmt.ExecQue"; _c7 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c7 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS = 'DUR'"))); - //BA.debugLineNum = 850;BA.debugLine="If c7.RowCount > 0 Then"; +RDebugUtils.currentLine=66388084; + //BA.debugLineNum = 66388084;BA.debugLine="If c7.RowCount > 0 Then"; if (_c7.getRowCount()>0) { - //BA.debugLineNum = 851;BA.debugLine="c7.Position = 0"; +RDebugUtils.currentLine=66388085; + //BA.debugLineNum = 66388085;BA.debugLine="c7.Position = 0"; _c7.setPosition((int) (0)); - //BA.debugLineNum = 853;BA.debugLine="Dim totaldev As Double = c7.GetString(\"PC_MONTO\""; +RDebugUtils.currentLine=66388087; + //BA.debugLineNum = 66388087;BA.debugLine="Dim totaldev As Double = c7.GetString(\"PC_MONTO\""; _totaldev = (double)(Double.parseDouble(_c7.GetString("PC_MONTO"))); }; - //BA.debugLineNum = 857;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQue"; +RDebugUtils.currentLine=66388091; + //BA.debugLineNum = 66388091;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQue"; _c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS <> 'DUR' "))); - //BA.debugLineNum = 858;BA.debugLine="If c6.RowCount > 0 Then"; +RDebugUtils.currentLine=66388092; + //BA.debugLineNum = 66388092;BA.debugLine="If c6.RowCount > 0 Then"; if (_c6.getRowCount()>0) { - //BA.debugLineNum = 859;BA.debugLine="c6.Position = 0"; +RDebugUtils.currentLine=66388093; + //BA.debugLineNum = 66388093;BA.debugLine="c6.Position = 0"; _c6.setPosition((int) (0)); - //BA.debugLineNum = 861;BA.debugLine="Dim totalprod As Double = c6.GetString(\"PC_MONTO"; +RDebugUtils.currentLine=66388095; + //BA.debugLineNum = 66388095;BA.debugLine="Dim totalprod As Double = c6.GetString(\"PC_MONTO"; _totalprod = (double)(Double.parseDouble(_c6.GetString("PC_MONTO"))); }; - //BA.debugLineNum = 865;BA.debugLine="Log(totaldev &\" \" & totalprod)"; -__c.LogImpl("466322563",BA.NumberToString(_totaldev)+" "+BA.NumberToString(_totalprod),0); - //BA.debugLineNum = 866;BA.debugLine="If totalprod = 0 Then"; +RDebugUtils.currentLine=66388099; + //BA.debugLineNum = 66388099;BA.debugLine="Log(totaldev &\" \" & totalprod)"; +__c.LogImpl("066388099",BA.NumberToString(_totaldev)+" "+BA.NumberToString(_totalprod),0); +RDebugUtils.currentLine=66388100; + //BA.debugLineNum = 66388100;BA.debugLine="If totalprod = 0 Then"; if (_totalprod==0) { - //BA.debugLineNum = 867;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=66388101; + //BA.debugLineNum = 66388101;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CEDIS = 'DUR'"); - //BA.debugLineNum = 868;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; +RDebugUtils.currentLine=66388102; + //BA.debugLineNum = 66388102;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; __c.MsgboxAsync(BA.ObjectToCharSequence("Las devloluciones se elimanron por que no hay venta."),BA.ObjectToCharSequence("Atención"),ba); - }else if(_totalprod<(_totaldev*-1)) { - //BA.debugLineNum = 870;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; + }else +{RDebugUtils.currentLine=66388103; + //BA.debugLineNum = 66388103;BA.debugLine="Else If totalprod < (totaldev * -1) Then"; +if (_totalprod<(_totaldev*-1)) { +RDebugUtils.currentLine=66388104; + //BA.debugLineNum = 66388104;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CEDIS = 'DUR'"); - //BA.debugLineNum = 871;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; +RDebugUtils.currentLine=66388105; + //BA.debugLineNum = 66388105;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; __c.MsgboxAsync(BA.ObjectToCharSequence("Las devloluciones se elimanron por que el monto de la devolucion es mayor al monto de la venta."),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 876;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=66388110; + //BA.debugLineNum = 66388110;BA.debugLine="End Sub"; return ""; } -public String _b_qr_click() throws Exception{ - //BA.debugLineNum = 690;BA.debugLine="Sub b_QR_Click"; - //BA.debugLineNum = 691;BA.debugLine="If ciclo = 1 Then"; -if ((_ciclo).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 692;BA.debugLine="ciclo = 2"; -_ciclo = BA.NumberToString(2); - //BA.debugLineNum = 693;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 694;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_ciclo).equals(BA.NumberToString(2))) { - //BA.debugLineNum = 696;BA.debugLine="ciclo = 3"; -_ciclo = BA.NumberToString(3); - //BA.debugLineNum = 697;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 698;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_ciclo).equals(BA.NumberToString(3))) { - //BA.debugLineNum = 700;BA.debugLine="ciclo = 4"; -_ciclo = BA.NumberToString(4); - //BA.debugLineNum = 701;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 702;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_ciclo).equals(BA.NumberToString(4))) { - //BA.debugLineNum = 704;BA.debugLine="ciclo = 5"; -_ciclo = BA.NumberToString(5); - //BA.debugLineNum = 705;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 706;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_ciclo).equals(BA.NumberToString(5))) { - //BA.debugLineNum = 708;BA.debugLine="ciclo = 1"; -_ciclo = BA.NumberToString(1); - //BA.debugLineNum = 709;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 710;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - //BA.debugLineNum = 712;BA.debugLine="End Sub"; +public String _b_qr_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_qr_click", false)) + {return ((String) Debug.delegate(ba, "b_qr_click", null));} +RDebugUtils.currentLine=66256896; + //BA.debugLineNum = 66256896;BA.debugLine="Sub b_QR_Click"; +RDebugUtils.currentLine=66256897; + //BA.debugLineNum = 66256897;BA.debugLine="If ciclo = 1 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=66256898; + //BA.debugLineNum = 66256898;BA.debugLine="ciclo = 2"; +__ref._ciclo /*String*/ = BA.NumberToString(2); +RDebugUtils.currentLine=66256899; + //BA.debugLineNum = 66256899;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=66256900; + //BA.debugLineNum = 66256900;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=66256901; + //BA.debugLineNum = 66256901;BA.debugLine="else if ciclo = 2 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(2))) { +RDebugUtils.currentLine=66256902; + //BA.debugLineNum = 66256902;BA.debugLine="ciclo = 3"; +__ref._ciclo /*String*/ = BA.NumberToString(3); +RDebugUtils.currentLine=66256903; + //BA.debugLineNum = 66256903;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=66256904; + //BA.debugLineNum = 66256904;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=66256905; + //BA.debugLineNum = 66256905;BA.debugLine="else if ciclo = 3 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(3))) { +RDebugUtils.currentLine=66256906; + //BA.debugLineNum = 66256906;BA.debugLine="ciclo = 4"; +__ref._ciclo /*String*/ = BA.NumberToString(4); +RDebugUtils.currentLine=66256907; + //BA.debugLineNum = 66256907;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=66256908; + //BA.debugLineNum = 66256908;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=66256909; + //BA.debugLineNum = 66256909;BA.debugLine="else if ciclo = 4 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(4))) { +RDebugUtils.currentLine=66256910; + //BA.debugLineNum = 66256910;BA.debugLine="ciclo = 5"; +__ref._ciclo /*String*/ = BA.NumberToString(5); +RDebugUtils.currentLine=66256911; + //BA.debugLineNum = 66256911;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=66256912; + //BA.debugLineNum = 66256912;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=66256913; + //BA.debugLineNum = 66256913;BA.debugLine="else if ciclo = 5 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(5))) { +RDebugUtils.currentLine=66256914; + //BA.debugLineNum = 66256914;BA.debugLine="ciclo = 1"; +__ref._ciclo /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=66256915; + //BA.debugLineNum = 66256915;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=66256916; + //BA.debugLineNum = 66256916;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }}}}} +; +RDebugUtils.currentLine=66256918; + //BA.debugLineNum = 66256918;BA.debugLine="End Sub"; return ""; } -public String _b_rechazar_click() throws Exception{ - //BA.debugLineNum = 1326;BA.debugLine="Private Sub b_rechazar_Click"; - //BA.debugLineNum = 1328;BA.debugLine="result = Msgbox2($\"Seguro que desea borrar el pe"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence(("Seguro que desea borrar el pedido completo?"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Haciendo clic largo sobre un producto se pueden borrar articulos independientes.")),BA.ObjectToCharSequence("Rechazar Pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 1329;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 1330;BA.debugLine="Subs.borraPedidoClienteActual"; -_subs._borrapedidoclienteactual /*String*/ (ba); - //BA.debugLineNum = 1331;BA.debugLine="prodsMap.Initialize"; -_prodsmap.Initialize(); - //BA.debugLineNum = 1335;BA.debugLine="clv_prods_ll.Clear"; -_clv_prods_ll._clear(); - //BA.debugLineNum = 1336;BA.debugLine="Log(\"Positivo\")"; -__c.LogImpl("467108874","Positivo",0); - //BA.debugLineNum = 1337;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }else { - //BA.debugLineNum = 1339;BA.debugLine="Log(\"NO Positivo\")"; -__c.LogImpl("467108877","NO Positivo",0); - //BA.debugLineNum = 1340;BA.debugLine="p_vistaPreviaTrans.Visible = False"; -_p_vistapreviatrans.setVisible(__c.False); - }; - //BA.debugLineNum = 1345;BA.debugLine="p_vistaPreviaTrans.Visible=False"; -_p_vistapreviatrans.setVisible(__c.False); - //BA.debugLineNum = 1346;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 1347;BA.debugLine="End Sub"; -return ""; -} -public String _b_terminar1_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c_prods = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -int _textcolor = 0; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 1167;BA.debugLine="Sub b_terminar1_Click"; - //BA.debugLineNum = 1170;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete from"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("N/A")})); - //BA.debugLineNum = 1172;BA.debugLine="lv_promos.Visible = False"; -_lv_promos.setVisible(__c.False); - //BA.debugLineNum = 1173;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -_clv_prods_ll._asview().setVisible(__c.False); - //BA.debugLineNum = 1174;BA.debugLine="lv_catalogos.Visible = True"; -_lv_catalogos.setVisible(__c.True); - //BA.debugLineNum = 1175;BA.debugLine="lv_prodsPedido.Clear"; -_lv_prodspedido.Clear(); - //BA.debugLineNum = 1176;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Height = 35di"; -_lv_prodspedido.getTwoLinesLayout().Label.setHeight(__c.DipToCurrent((int) (35))); - //BA.debugLineNum = 1177;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.Height"; -_lv_prodspedido.getTwoLinesLayout().SecondLabel.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 1178;BA.debugLine="Private c_prods As Cursor=B4XPages.MainPage.skmt."; -_c_prods = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c_prods = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE,PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_PRONOMBRE"))); - //BA.debugLineNum = 1179;BA.debugLine="If c_prods.RowCount > 0 Then"; -if (_c_prods.getRowCount()>0) { - //BA.debugLineNum = 1180;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1182;BA.debugLine="vamoaver.Initialize"; -_vamoaver.Initialize(); - //BA.debugLineNum = 1183;BA.debugLine="For i=0 To c_prods.RowCount -1"; -{ -final int step12 = 1; -final int limit12 = (int) (_c_prods.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit12 ;_i = _i + step12 ) { - //BA.debugLineNum = 1184;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 1185;BA.debugLine="c_prods.Position=i"; -_c_prods.setPosition(_i); - //BA.debugLineNum = 1186;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1187;BA.debugLine="label1 = lv_prodsPedido.TwoLinesLayout.Label"; -_label1 = _lv_prodspedido.getTwoLinesLayout().Label; - //BA.debugLineNum = 1188;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 1189;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 1190;BA.debugLine="label1.color = Colors.White"; -_label1.setColor(__c.Colors.White); - //BA.debugLineNum = 1191;BA.debugLine="Private textColor As Int = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 1193;BA.debugLine="If c_prods.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; -if ((_c_prods.GetString("PE_FOLIO")).equals("VENTA")) { - //BA.debugLineNum = 1194;BA.debugLine="textColor = Colors.RGB(48,3,195)"; -_textcolor = __c.Colors.RGB((int) (48),(int) (3),(int) (195)); - }else if((_c_prods.GetString("PE_FOLIO")).equals("PREVENTA") || (_c_prods.GetString("PE_FOLIO")).equals("ABORDO") || (_c_prods.GetString("PE_FOLIO")).equals("RECARGA")) { - //BA.debugLineNum = 1196;BA.debugLine="textColor = Colors.RGB(166,0,0)"; -_textcolor = __c.Colors.RGB((int) (166),(int) (0),(int) (0)); - }; - //BA.debugLineNum = 1198;BA.debugLine="If Not(IsNumber(c_prods.GetString(\"PE_CEDIS\")))"; -if (__c.Not(__c.IsNumber(_c_prods.GetString("PE_CEDIS"))) && (_c_prods.GetString("PE_FOLIO")).equals("VENTA")) { - //BA.debugLineNum = 1199;BA.debugLine="textColor = Colors.RGB(154,131,231) 'Si es pro"; -_textcolor = __c.Colors.RGB((int) (154),(int) (131),(int) (231)); - }else if(__c.Not(__c.IsNumber(_c_prods.GetString("PE_CEDIS"))) && (_c_prods.GetString("PE_FOLIO")).equals("PREVENTA")) { - //BA.debugLineNum = 1201;BA.debugLine="textColor = Colors.RGB(255,111,111) 'Si es pro"; -_textcolor = __c.Colors.RGB((int) (255),(int) (111),(int) (111)); - }; - //BA.debugLineNum = 1203;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1204;BA.debugLine="label2 = lv_prodsPedido.TwoLinesLayout.SecondLa"; -_label2 = _lv_prodspedido.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 1205;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 1206;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 1209;BA.debugLine="lv_prodsPedido.AddSingleLine(cs.Color(textColor"; -_lv_prodspedido.AddSingleLine(BA.ObjectToCharSequence(_cs.Color(_textcolor).Size((int) (15)).Append(BA.ObjectToCharSequence(_c_prods.GetString("PE_PRONOMBRE")+" ")).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Size((int) (10)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Cantidad #"+_c_prods.GetString("PE_CANT"))).Append(BA.ObjectToCharSequence(" SubTotal $"+_c_prods.GetString("PE_COSTO_TOT"))).Append(BA.ObjectToCharSequence(" "+_c_prods.GetString("PE_FOLIO")+" "+_c_prods.GetString("PE_CEDIS"))).PopAll().getObject())); - //BA.debugLineNum = 1210;BA.debugLine="label1.Height = 120dip"; -_label1.setHeight(__c.DipToCurrent((int) (120))); - //BA.debugLineNum = 1211;BA.debugLine="lv_prodsPedido.SingleLineLayout.ItemHeight = 90"; -_lv_prodspedido.getSingleLineLayout().setItemHeight(__c.DipToCurrent((int) (90))); - //BA.debugLineNum = 1212;BA.debugLine="vamoaver.Add(c_prods.GetString(\"PE_FOLIO\"))"; -_vamoaver.Add((Object)(_c_prods.GetString("PE_FOLIO"))); - //BA.debugLineNum = 1213;BA.debugLine="folio = c_prods.GetString(\"PE_FOLIO\")"; -_folio = _c_prods.GetString("PE_FOLIO"); - } -}; - //BA.debugLineNum = 1219;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 1220;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1221;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 1222;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; -_l_total2.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); - //BA.debugLineNum = 1223;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 1226;BA.debugLine="c_prods.Close"; -_c_prods.Close(); - //BA.debugLineNum = 1228;BA.debugLine="l_total2.Text = Subs.calculaTotalConPromoXRango(S"; -_l_total2.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); - //BA.debugLineNum = 1231;BA.debugLine="p_vistaPreviaTrans.Width = Root.Width"; -_p_vistapreviatrans.setWidth(_root.getWidth()); - //BA.debugLineNum = 1232;BA.debugLine="p_vistaPreviaTrans.Height = Root.Height"; -_p_vistapreviatrans.setHeight(_root.getHeight()); - //BA.debugLineNum = 1233;BA.debugLine="Subs.centraPanel(p_vistaPrevia, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_vistaprevia,_root.getWidth()); - //BA.debugLineNum = 1235;BA.debugLine="p_vistaPrevia.Visible=True"; -_p_vistaprevia.setVisible(__c.True); - //BA.debugLineNum = 1236;BA.debugLine="p_vistaPreviaTrans.Visible=True"; -_p_vistapreviatrans.setVisible(__c.True); - //BA.debugLineNum = 1237;BA.debugLine="End Sub"; -return ""; -} -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); +public void _b4xpage_appear(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_productos parent) { +public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_productos parent,gunav2.keymon.com.mx.c_productos __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_productos __ref; gunav2.keymon.com.mx.c_productos parent; anywheresoftware.b4a.objects.LabelWrapper _label1 = null; boolean _haypromos = false; @@ -757,6 +955,7 @@ int limit59; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_productos"; while (true) { switch (state) { @@ -766,9 +965,11 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 155;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD"; -parent._tipo_venta = parent._subs._traetipoventadebd /*String*/ (ba); - //BA.debugLineNum = 156;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA\" Or B"; +RDebugUtils.currentLine=65798145; + //BA.debugLineNum = 65798145;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD"; +__ref._tipo_venta /*String*/ = parent._subs._traetipoventadebd /*String*/ (ba); +RDebugUtils.currentLine=65798146; + //BA.debugLineNum = 65798146;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA\" Or B"; if (true) break; case 1: @@ -776,30 +977,40 @@ case 1: this.state = 8; if ((parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA") || (parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("ABORDO") || (parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { this.state = 3; -}else if((parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("VENTA")) { +}else +{RDebugUtils.currentLine=65798148; + //BA.debugLineNum = 65798148;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"VENTA\" Th"; +if ((parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("VENTA")) { this.state = 5; -}else if((parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("RECARGA")) { +}else +{RDebugUtils.currentLine=65798150; + //BA.debugLineNum = 65798150;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"RECARGA\""; +if ((parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("RECARGA")) { this.state = 7; -}if (true) break; +}}} +if (true) break; case 3: //C this.state = 8; - //BA.debugLineNum = 157;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; +RDebugUtils.currentLine=65798147; + //BA.debugLineNum = 65798147;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; parent._starter._tabla /*String*/ = "CAT_GUNAPROD"; if (true) break; case 5: //C this.state = 8; - //BA.debugLineNum = 159;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; +RDebugUtils.currentLine=65798149; + //BA.debugLineNum = 65798149;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; parent._starter._tabla /*String*/ = "CAT_GUNAPROD2"; if (true) break; case 7: //C this.state = 8; - //BA.debugLineNum = 161;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD3\""; +RDebugUtils.currentLine=65798151; + //BA.debugLineNum = 65798151;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD3\""; parent._starter._tabla /*String*/ = "CAT_GUNAPROD3"; if (true) break; @@ -807,27 +1018,38 @@ case 8: //C this.state = 9; ; - //BA.debugLineNum = 163;BA.debugLine="Log(Starter.tabla)"; -parent.__c.LogImpl("465732617",parent._starter._tabla /*String*/ ,0); - //BA.debugLineNum = 164;BA.debugLine="clienteId = Subs.traeCliente"; -parent._clienteid = parent._subs._traecliente /*String*/ (ba); - //BA.debugLineNum = 165;BA.debugLine="rutaUsuario = Subs.traeRuta"; -parent._rutausuario = parent._subs._traeruta /*String*/ (ba); - //BA.debugLineNum = 166;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +RDebugUtils.currentLine=65798153; + //BA.debugLineNum = 65798153;BA.debugLine="Log(Starter.tabla)"; +parent.__c.LogImpl("065798153",parent._starter._tabla /*String*/ ,0); +RDebugUtils.currentLine=65798154; + //BA.debugLineNum = 65798154;BA.debugLine="clienteId = Subs.traeCliente"; +__ref._clienteid /*String*/ = parent._subs._traecliente /*String*/ (ba); +RDebugUtils.currentLine=65798155; + //BA.debugLineNum = 65798155;BA.debugLine="rutaUsuario = Subs.traeRuta"; +__ref._rutausuario /*String*/ = parent._subs._traeruta /*String*/ (ba); +RDebugUtils.currentLine=65798156; + //BA.debugLineNum = 65798156;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRIORITARIO"),(Object)("1")})); - //BA.debugLineNum = 167;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +RDebugUtils.currentLine=65798157; + //BA.debugLineNum = 65798157;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ESTRATEGICO"),(Object)("2")})); - //BA.debugLineNum = 168;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +RDebugUtils.currentLine=65798158; + //BA.debugLineNum = 65798158;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COMPLEMENTARIO"),(Object)("3")})); - //BA.debugLineNum = 169;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +RDebugUtils.currentLine=65798159; + //BA.debugLineNum = 65798159;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CATALOGO REGULAR"),(Object)("0")})); - //BA.debugLineNum = 170;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +RDebugUtils.currentLine=65798160; + //BA.debugLineNum = 65798160;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_CLASIF = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PROMOS"),(Object)("PROMOS")})); - //BA.debugLineNum = 171;BA.debugLine="clv_prods_ll.GetBase.SetLayoutAnimated(0, 5dip, 1"; -parent._clv_prods_ll._getbase().SetLayoutAnimated((int) (0),parent.__c.DipToCurrent((int) (5)),parent.__c.DipToCurrent((int) (130)),(int) (parent._root.getWidth()+10),(int) (parent._root.getHeight()*0.74)); - //BA.debugLineNum = 172;BA.debugLine="clv_prods_ll.Base_Resize(clv_prods_ll.GetBase.Wid"; -parent._clv_prods_ll._base_resize(parent._clv_prods_ll._getbase().getWidth(),parent._clv_prods_ll._getbase().getHeight()); - //BA.debugLineNum = 173;BA.debugLine="If B4XPages.MainPage.bTerminarClicked Then"; +RDebugUtils.currentLine=65798161; + //BA.debugLineNum = 65798161;BA.debugLine="clv_prods_ll.GetBase.SetLayoutAnimated(0, 5dip, 1"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getbase().SetLayoutAnimated((int) (0),parent.__c.DipToCurrent((int) (5)),parent.__c.DipToCurrent((int) (130)),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+10),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.74)); +RDebugUtils.currentLine=65798162; + //BA.debugLineNum = 65798162;BA.debugLine="clv_prods_ll.Base_Resize(clv_prods_ll.GetBase.Wid"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getbase().getHeight()); +RDebugUtils.currentLine=65798163; + //BA.debugLineNum = 65798163;BA.debugLine="If B4XPages.MainPage.bTerminarClicked Then"; if (true) break; case 9: @@ -840,136 +1062,172 @@ this.state = 11; case 11: //C this.state = 12; - //BA.debugLineNum = 174;BA.debugLine="lv_catalogos.Visible = True"; -parent._lv_catalogos.setVisible(parent.__c.True); - //BA.debugLineNum = 175;BA.debugLine="lv_promos.Visible = False"; -parent._lv_promos.setVisible(parent.__c.False); - //BA.debugLineNum = 176;BA.debugLine="lv_tipo.Visible = False"; -parent._lv_tipo.setVisible(parent.__c.False); - //BA.debugLineNum = 177;BA.debugLine="lv_subtipo.Visible = False"; -parent._lv_subtipo.setVisible(parent.__c.False); - //BA.debugLineNum = 178;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 179;BA.debugLine="B4XPages.MainPage.bTerminarClicked = False"; +RDebugUtils.currentLine=65798164; + //BA.debugLineNum = 65798164;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=65798165; + //BA.debugLineNum = 65798165;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65798166; + //BA.debugLineNum = 65798166;BA.debugLine="lv_tipo.Visible = False"; +__ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65798167; + //BA.debugLineNum = 65798167;BA.debugLine="lv_subtipo.Visible = False"; +__ref._lv_subtipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65798168; + //BA.debugLineNum = 65798168;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=65798169; + //BA.debugLineNum = 65798169;BA.debugLine="B4XPages.MainPage.bTerminarClicked = False"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = parent.__c.False; if (true) break; ; - //BA.debugLineNum = 181;BA.debugLine="If ya_entro <> \"1\" Then"; +RDebugUtils.currentLine=65798171; + //BA.debugLineNum = 65798171;BA.debugLine="If ya_entro <> \"1\" Then"; case 12: //if this.state = 21; -if ((parent._ya_entro).equals("1") == false) { +if ((__ref._ya_entro /*String*/ ).equals("1") == false) { this.state = 14; }if (true) break; case 14: //C this.state = 15; - //BA.debugLineNum = 182;BA.debugLine="If BUSCA.Text <> \"\" Then BUSCA.Text =\"\""; +RDebugUtils.currentLine=65798172; + //BA.debugLineNum = 65798172;BA.debugLine="If BUSCA.Text <> \"\" Then BUSCA.Text =\"\""; if (true) break; case 15: //if this.state = 20; -if ((parent._busca.getText()).equals("") == false) { +if ((__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { this.state = 17; ;}if (true) break; case 17: //C this.state = 20; -parent._busca.setText(BA.ObjectToCharSequence("")); +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); if (true) break; case 20: //C this.state = 21; ; - //BA.debugLineNum = 183;BA.debugLine="entro =\"3\""; -parent._entro = "3"; - //BA.debugLineNum = 184;BA.debugLine="lv_catalogos.Clear"; -parent._lv_catalogos.Clear(); - //BA.debugLineNum = 185;BA.debugLine="Sleep(100)"; -parent.__c.Sleep(ba,this,(int) (100)); +RDebugUtils.currentLine=65798173; + //BA.debugLineNum = 65798173;BA.debugLine="entro =\"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=65798174; + //BA.debugLineNum = 65798174;BA.debugLine="lv_catalogos.Clear"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=65798175; + //BA.debugLineNum = 65798175;BA.debugLine="Sleep(100)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_productos", "b4xpage_appear"),(int) (100)); this.state = 56; return; case 56: //C this.state = 21; ; - //BA.debugLineNum = 186;BA.debugLine="lfila.Text = \"PORTAFOLIO\""; -parent._lfila.setText(BA.ObjectToCharSequence("PORTAFOLIO")); - //BA.debugLineNum = 187;BA.debugLine="p_productos.Height = Root.Height"; -parent._p_productos.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 188;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 189;BA.debugLine="lv_catalogos.Visible = True"; -parent._lv_catalogos.setVisible(parent.__c.True); - //BA.debugLineNum = 190;BA.debugLine="p_botonesVenta.Visible = False"; -parent._p_botonesventa.setVisible(parent.__c.False); - //BA.debugLineNum = 191;BA.debugLine="p_botonesVenta.Top = clv_prods_ll.AsView.top + c"; -parent._p_botonesventa.setTop((int) (parent._clv_prods_ll._asview().getTop()+parent._clv_prods_ll._asview().getHeight()-10)); - //BA.debugLineNum = 192;BA.debugLine="lv_promos.Visible = False"; -parent._lv_promos.setVisible(parent.__c.False); +RDebugUtils.currentLine=65798176; + //BA.debugLineNum = 65798176;BA.debugLine="lfila.Text = \"PORTAFOLIO\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PORTAFOLIO")); +RDebugUtils.currentLine=65798177; + //BA.debugLineNum = 65798177;BA.debugLine="p_productos.Height = Root.Height"; +__ref._p_productos /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=65798178; + //BA.debugLineNum = 65798178;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=65798179; + //BA.debugLineNum = 65798179;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=65798180; + //BA.debugLineNum = 65798180;BA.debugLine="p_botonesVenta.Visible = False"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65798181; + //BA.debugLineNum = 65798181;BA.debugLine="p_botonesVenta.Top = clv_prods_ll.AsView.top + c"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getTop()+__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getHeight()-10)); +RDebugUtils.currentLine=65798182; + //BA.debugLineNum = 65798182;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); if (true) break; case 21: //C this.state = 22; ; - //BA.debugLineNum = 194;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=65798184; + //BA.debugLineNum = 65798184;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 195;BA.debugLine="label1 = lv_catalogos.SingleLineLayout.Label"; -_label1 = parent._lv_catalogos.getSingleLineLayout().Label; - //BA.debugLineNum = 196;BA.debugLine="label1.TextSize = 20"; +RDebugUtils.currentLine=65798185; + //BA.debugLineNum = 65798185;BA.debugLine="label1 = lv_catalogos.SingleLineLayout.Label"; +_label1 = __ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=65798186; + //BA.debugLineNum = 65798186;BA.debugLine="label1.TextSize = 20"; _label1.setTextSize((float) (20)); - //BA.debugLineNum = 197;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=65798187; + //BA.debugLineNum = 65798187;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(parent.__c.Colors.White); - //BA.debugLineNum = 198;BA.debugLine="label1.Color = Colors.ARGB(58,255,255,255)"; +RDebugUtils.currentLine=65798188; + //BA.debugLineNum = 65798188;BA.debugLine="label1.Color = Colors.ARGB(58,255,255,255)"; _label1.setColor(parent.__c.Colors.ARGB((int) (58),(int) (255),(int) (255),(int) (255))); - //BA.debugLineNum = 199;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF"; +RDebugUtils.currentLine=65798189; + //BA.debugLineNum = 65798189;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF"; _label1.setTypeface(parent.__c.Typeface.CreateNew(parent.__c.Typeface.DEFAULT_BOLD,parent.__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 200;BA.debugLine="lv_catalogos.Width = Root.Width * 0.99"; -parent._lv_catalogos.setWidth((int) (parent._root.getWidth()*0.99)); - //BA.debugLineNum = 201;BA.debugLine="lv_catalogos.Clear"; -parent._lv_catalogos.Clear(); - //BA.debugLineNum = 202;BA.debugLine="lv_catalogos.AddSingleLine(\"PORTAFOLIO\")"; -parent._lv_catalogos.AddSingleLine(BA.ObjectToCharSequence("PORTAFOLIO")); - //BA.debugLineNum = 204;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select cou"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(*) as hayPromos from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,parent._tipo_venta)))+" where CAT_GP_TIPO = 'PROMOS'")))); - //BA.debugLineNum = 205;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 207;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT CUE"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CUENTA FROM CUENTAA")))); - //BA.debugLineNum = 208;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 209;BA.debugLine="If c.GetString(\"CUENTA\") <> \"0\" And c.GetString(\""; +RDebugUtils.currentLine=65798190; + //BA.debugLineNum = 65798190;BA.debugLine="lv_catalogos.Width = Root.Width * 0.99"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.99)); +RDebugUtils.currentLine=65798191; + //BA.debugLineNum = 65798191;BA.debugLine="lv_catalogos.Clear"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=65798192; + //BA.debugLineNum = 65798192;BA.debugLine="lv_catalogos.AddSingleLine(\"PORTAFOLIO\")"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("PORTAFOLIO")); +RDebugUtils.currentLine=65798194; + //BA.debugLineNum = 65798194;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select cou"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(*) as hayPromos from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_TIPO = 'PROMOS'")))); +RDebugUtils.currentLine=65798195; + //BA.debugLineNum = 65798195;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=65798197; + //BA.debugLineNum = 65798197;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT CUE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CUENTA FROM CUENTAA")))); +RDebugUtils.currentLine=65798198; + //BA.debugLineNum = 65798198;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=65798199; + //BA.debugLineNum = 65798199;BA.debugLine="If c.GetString(\"CUENTA\") <> \"0\" And c.GetString(\""; if (true) break; case 22: //if this.state = 44; -if ((parent._c.GetString("CUENTA")).equals("0") == false && (parent._c.GetString("CUENTA")).equals("1") == false) { +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")).equals("0") == false && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")).equals("1") == false) { this.state = 24; }if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 210;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,parent._tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),new String[]{"PROMOS","PROMOS"}))); - //BA.debugLineNum = 211;BA.debugLine="LogColor($\"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_"; -parent.__c.LogImpl("465732665",("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,parent._tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),parent.__c.Colors.Cyan); - //BA.debugLineNum = 213;BA.debugLine="Private hayPromos As Boolean = False"; +RDebugUtils.currentLine=65798200; + //BA.debugLineNum = 65798200;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),new String[]{"PROMOS","PROMOS"}))); +RDebugUtils.currentLine=65798201; + //BA.debugLineNum = 65798201;BA.debugLine="LogColor($\"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_"; +parent.__c.LogImpl("065798201",("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),parent.__c.Colors.Cyan); +RDebugUtils.currentLine=65798203; + //BA.debugLineNum = 65798203;BA.debugLine="Private hayPromos As Boolean = False"; _haypromos = parent.__c.False; - //BA.debugLineNum = 214;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=65798204; + //BA.debugLineNum = 65798204;BA.debugLine="If c2.RowCount > 0 Then"; if (true) break; case 25: //if this.state = 43; -if (parent._c2.getRowCount()>0) { +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 27; }else { this.state = 42; @@ -978,16 +1236,18 @@ this.state = 42; case 27: //C this.state = 28; - //BA.debugLineNum = 215;BA.debugLine="Log(\"Esto es un conteo --->\"&c2.RowCount) 'Isaa"; -parent.__c.LogImpl("465732669","Esto es un conteo --->"+BA.NumberToString(parent._c2.getRowCount()),0); - //BA.debugLineNum = 216;BA.debugLine="For i=0 To c2.RowCount -1"; +RDebugUtils.currentLine=65798205; + //BA.debugLineNum = 65798205;BA.debugLine="Log(\"Esto es un conteo --->\"&c2.RowCount) 'Isaa"; +parent.__c.LogImpl("065798205","Esto es un conteo --->"+BA.NumberToString(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=65798206; + //BA.debugLineNum = 65798206;BA.debugLine="For i=0 To c2.RowCount -1"; if (true) break; case 28: //for this.state = 35; step59 = 1; -limit59 = (int) (parent._c2.getRowCount()-1); +limit59 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 57; if (true) break; @@ -1007,14 +1267,18 @@ if (true) break; case 30: //C this.state = 31; - //BA.debugLineNum = 217;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 218;BA.debugLine="Log(\"Esto es i----->\"& i)'Isaac"; -parent.__c.LogImpl("465732672","Esto es i----->"+BA.NumberToString(_i),0); - //BA.debugLineNum = 219;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +RDebugUtils.currentLine=65798207; + //BA.debugLineNum = 65798207;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=65798208; + //BA.debugLineNum = 65798208;BA.debugLine="Log(\"Esto es i----->\"& i)'Isaac"; +parent.__c.LogImpl("065798208","Esto es i----->"+BA.NumberToString(_i),0); +RDebugUtils.currentLine=65798209; + //BA.debugLineNum = 65798209;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; _tm = new anywheresoftware.b4a.objects.collections.Map(); -_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,parent._c2.GetString("CAT_GP_ID"),parent._clienteid); - //BA.debugLineNum = 220;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; +_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ); +RDebugUtils.currentLine=65798210; + //BA.debugLineNum = 65798210;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; if (true) break; case 31: @@ -1027,7 +1291,8 @@ this.state = 33; case 33: //C this.state = 34; - //BA.debugLineNum = 221;BA.debugLine="hayPromos = True"; +RDebugUtils.currentLine=65798211; + //BA.debugLineNum = 65798211;BA.debugLine="hayPromos = True"; _haypromos = parent.__c.True; if (true) break; @@ -1038,7 +1303,8 @@ this.state = 58; if (true) break; if (true) break; ; - //BA.debugLineNum = 224;BA.debugLine="If hayPromos Then lv_catalogos.AddSingleLine(\"P"; +RDebugUtils.currentLine=65798214; + //BA.debugLineNum = 65798214;BA.debugLine="If hayPromos Then lv_catalogos.AddSingleLine(\"P"; case 35: //if @@ -1050,7 +1316,7 @@ this.state = 37; case 37: //C this.state = 40; -parent._lv_catalogos.AddSingleLine(BA.ObjectToCharSequence("PROMOCIONES")); +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("PROMOCIONES")); if (true) break; case 40: @@ -1062,136 +1328,646 @@ this.state = 43; case 42: //C this.state = 43; - //BA.debugLineNum = 226;BA.debugLine="Log(\"NO HAY PROMOS\")"; -parent.__c.LogImpl("465732680","NO HAY PROMOS",0); +RDebugUtils.currentLine=65798216; + //BA.debugLineNum = 65798216;BA.debugLine="Log(\"NO HAY PROMOS\")"; +parent.__c.LogImpl("065798216","NO HAY PROMOS",0); if (true) break; case 43: //C this.state = 44; ; - //BA.debugLineNum = 228;BA.debugLine="c2.Close"; -parent._c2.Close(); +RDebugUtils.currentLine=65798218; + //BA.debugLineNum = 65798218;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 44: //C this.state = 45; ; - //BA.debugLineNum = 231;BA.debugLine="Sleep(100)"; -parent.__c.Sleep(ba,this,(int) (100)); +RDebugUtils.currentLine=65798221; + //BA.debugLineNum = 65798221;BA.debugLine="Sleep(100)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_productos", "b4xpage_appear"),(int) (100)); this.state = 59; return; case 59: //C this.state = 45; ; - //BA.debugLineNum = 232;BA.debugLine="l_total.Visible =False"; -parent._l_total.setVisible(parent.__c.False); - //BA.debugLineNum = 233;BA.debugLine="l_totProds.Visible = False"; -parent._l_totprods.setVisible(parent.__c.False); - //BA.debugLineNum = 234;BA.debugLine="l_total.Left = 5dip"; -parent._l_total.setLeft(parent.__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 235;BA.debugLine="l_totProds.Width = Root.Width * 0.19"; -parent._l_totprods.setWidth((int) (parent._root.getWidth()*0.19)); - //BA.debugLineNum = 236;BA.debugLine="l_total.Left = l_totProds.Width + 20"; -parent._l_total.setLeft((int) (parent._l_totprods.getWidth()+20)); - //BA.debugLineNum = 237;BA.debugLine="l_total.Width = Root.Width * 0.25"; -parent._l_total.setWidth((int) (parent._root.getWidth()*0.25)); - //BA.debugLineNum = 239;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +RDebugUtils.currentLine=65798222; + //BA.debugLineNum = 65798222;BA.debugLine="l_total.Visible =False"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65798223; + //BA.debugLineNum = 65798223;BA.debugLine="l_totProds.Visible = False"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65798224; + //BA.debugLineNum = 65798224;BA.debugLine="l_total.Left = 5dip"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft(parent.__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=65798225; + //BA.debugLineNum = 65798225;BA.debugLine="l_totProds.Width = Root.Width * 0.19"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.19)); +RDebugUtils.currentLine=65798226; + //BA.debugLineNum = 65798226;BA.debugLine="l_total.Left = l_totProds.Width + 20"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth()+20)); +RDebugUtils.currentLine=65798227; + //BA.debugLineNum = 65798227;BA.debugLine="l_total.Width = Root.Width * 0.25"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.25)); +RDebugUtils.currentLine=65798229; + //BA.debugLineNum = 65798229;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; _m = new anywheresoftware.b4a.objects.collections.Map(); _m = parent._subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 240;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; -parent._prodspedidoactual = BA.ObjectToString(_m.Get((Object)("productos"))); - //BA.debugLineNum = 241;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; -parent._montopedidoactual = BA.ObjectToString(_m.Get((Object)("monto"))); - //BA.debugLineNum = 242;BA.debugLine="hayPedido = Subs.hayPedido"; -parent._haypedido = parent._subs._haypedido /*boolean*/ (ba); - //BA.debugLineNum = 244;BA.debugLine="B4XPages.MainPage.productos.clv_prods_ll.Clear"; +RDebugUtils.currentLine=65798230; + //BA.debugLineNum = 65798230;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +__ref._prodspedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("productos"))); +RDebugUtils.currentLine=65798231; + //BA.debugLineNum = 65798231;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +__ref._montopedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("monto"))); +RDebugUtils.currentLine=65798232; + //BA.debugLineNum = 65798232;BA.debugLine="hayPedido = Subs.hayPedido"; +__ref._haypedido /*boolean*/ = parent._subs._haypedido /*boolean*/ (ba); +RDebugUtils.currentLine=65798234; + //BA.debugLineNum = 65798234;BA.debugLine="B4XPages.MainPage.productos.clv_prods_ll.Clear"; parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); - //BA.debugLineNum = 245;BA.debugLine="If reiniciarlistaProds Then"; +RDebugUtils.currentLine=65798235; + //BA.debugLineNum = 65798235;BA.debugLine="If reiniciarlistaProds Then"; if (true) break; case 45: //if this.state = 50; -if (parent._reiniciarlistaprods) { +if (__ref._reiniciarlistaprods /*boolean*/ ) { this.state = 47; -}else if(parent._haypedido) { +}else +{RDebugUtils.currentLine=65798239; + //BA.debugLineNum = 65798239;BA.debugLine="else If hayPedido Then"; +if (__ref._haypedido /*boolean*/ ) { this.state = 49; -}if (true) break; +}} +if (true) break; case 47: //C this.state = 50; - //BA.debugLineNum = 248;BA.debugLine="clv_prods_ll.Clear"; -parent._clv_prods_ll._clear(); +RDebugUtils.currentLine=65798238; + //BA.debugLineNum = 65798238;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); if (true) break; case 49: //C this.state = 50; - //BA.debugLineNum = 253;BA.debugLine="clv_prods_ll.Clear"; -parent._clv_prods_ll._clear(); +RDebugUtils.currentLine=65798243; + //BA.debugLineNum = 65798243;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); if (true) break; ; - //BA.debugLineNum = 255;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; +RDebugUtils.currentLine=65798245; + //BA.debugLineNum = 65798245;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; case 50: //if this.state = 55; -if (parent._clv_prods_ll._getsize()==0) { +if (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()==0) { this.state = 52; ;}if (true) break; case 52: //C this.state = 55; -parent._llenaprodsll((anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent.__c.Null))); +__ref._llenaprodsll /*String*/ (null,(anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent.__c.Null))); if (true) break; case 55: //C this.state = -1; ; - //BA.debugLineNum = 256;BA.debugLine="clv_prods_ll.JumpToItem(0) 'Vamos al primer artíc"; -parent._clv_prods_ll._jumptoitem((int) (0)); - //BA.debugLineNum = 257;BA.debugLine="PCLV.lblHint.SetTextSizeAnimated(0,13)"; -parent._pclv._lblhint /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextSizeAnimated((int) (0),(float) (13)); - //BA.debugLineNum = 258;BA.debugLine="PCLV.B4XSeekBar1.Color1=Colors.DarkGray"; -parent._pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._color1 /*int*/ = parent.__c.Colors.DarkGray; - //BA.debugLineNum = 259;BA.debugLine="PCLV.B4XSeekBar1.Color2=Colors.DarkGray"; -parent._pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._color2 /*int*/ = parent.__c.Colors.DarkGray; - //BA.debugLineNum = 260;BA.debugLine="PCLV.B4XSeekBar1.ThumbColor=Colors.red"; -parent._pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._thumbcolor /*int*/ = parent.__c.Colors.Red; - //BA.debugLineNum = 261;BA.debugLine="PCLV.B4XSeekBar1.mBase.Left=Root.Width *0.91"; -parent._pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setLeft((int) (parent._root.getWidth()*0.91)); - //BA.debugLineNum = 263;BA.debugLine="PCLV.B4XSeekBar1.mBase.Height=clv_prods_ll.AsView"; -parent._pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setHeight(parent._clv_prods_ll._asview().getHeight()); - //BA.debugLineNum = 264;BA.debugLine="PCLV.pnlOverlay.Height = clv_prods_ll.AsView.Heig"; -parent._pclv._pnloverlay /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setHeight(parent._clv_prods_ll._asview().getHeight()); - //BA.debugLineNum = 265;BA.debugLine="PCLV.B4XSeekBar1.Update"; -parent._pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (); - //BA.debugLineNum = 269;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65798246; + //BA.debugLineNum = 65798246;BA.debugLine="clv_prods_ll.JumpToItem(0) 'Vamos al primer artíc"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._jumptoitem((int) (0)); +RDebugUtils.currentLine=65798247; + //BA.debugLineNum = 65798247;BA.debugLine="PCLV.lblHint.SetTextSizeAnimated(0,13)"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._lblhint /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextSizeAnimated((int) (0),(float) (13)); +RDebugUtils.currentLine=65798248; + //BA.debugLineNum = 65798248;BA.debugLine="PCLV.B4XSeekBar1.Color1=Colors.DarkGray"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._color1 /*int*/ = parent.__c.Colors.DarkGray; +RDebugUtils.currentLine=65798249; + //BA.debugLineNum = 65798249;BA.debugLine="PCLV.B4XSeekBar1.Color2=Colors.DarkGray"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._color2 /*int*/ = parent.__c.Colors.DarkGray; +RDebugUtils.currentLine=65798250; + //BA.debugLineNum = 65798250;BA.debugLine="PCLV.B4XSeekBar1.ThumbColor=Colors.red"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._thumbcolor /*int*/ = parent.__c.Colors.Red; +RDebugUtils.currentLine=65798251; + //BA.debugLineNum = 65798251;BA.debugLine="PCLV.B4XSeekBar1.mBase.Left=Root.Width *0.91"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.91)); +RDebugUtils.currentLine=65798253; + //BA.debugLineNum = 65798253;BA.debugLine="PCLV.B4XSeekBar1.mBase.Height=clv_prods_ll.AsView"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setHeight(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getHeight()); +RDebugUtils.currentLine=65798254; + //BA.debugLineNum = 65798254;BA.debugLine="PCLV.pnlOverlay.Height = clv_prods_ll.AsView.Heig"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._pnloverlay /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setHeight(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getHeight()); +RDebugUtils.currentLine=65798255; + //BA.debugLineNum = 65798255;BA.debugLine="PCLV.B4XSeekBar1.Update"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (null); +RDebugUtils.currentLine=65798259; + //BA.debugLineNum = 65798259;BA.debugLine="End Sub"; if (true) break; } } } } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); +public String _b_rechazar_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_rechazar_click", false)) + {return ((String) Debug.delegate(ba, "b_rechazar_click", null));} +RDebugUtils.currentLine=67174400; + //BA.debugLineNum = 67174400;BA.debugLine="Private Sub b_rechazar_Click"; +RDebugUtils.currentLine=67174402; + //BA.debugLineNum = 67174402;BA.debugLine="result = Msgbox2($\"Seguro que desea borrar el pe"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence(("Seguro que desea borrar el pedido completo?"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Haciendo clic largo sobre un producto se pueden borrar articulos independientes.")),BA.ObjectToCharSequence("Rechazar Pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=67174403; + //BA.debugLineNum = 67174403;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=67174404; + //BA.debugLineNum = 67174404;BA.debugLine="Subs.borraPedidoClienteActual"; +_subs._borrapedidoclienteactual /*String*/ (ba); +RDebugUtils.currentLine=67174405; + //BA.debugLineNum = 67174405;BA.debugLine="prodsMap.Initialize"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=67174409; + //BA.debugLineNum = 67174409;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=67174410; + //BA.debugLineNum = 67174410;BA.debugLine="Log(\"Positivo\")"; +__c.LogImpl("067174410","Positivo",0); +RDebugUtils.currentLine=67174411; + //BA.debugLineNum = 67174411;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }else { +RDebugUtils.currentLine=67174413; + //BA.debugLineNum = 67174413;BA.debugLine="Log(\"NO Positivo\")"; +__c.LogImpl("067174413","NO Positivo",0); +RDebugUtils.currentLine=67174414; + //BA.debugLineNum = 67174414;BA.debugLine="p_vistaPreviaTrans.Visible = False"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=67174419; + //BA.debugLineNum = 67174419;BA.debugLine="p_vistaPreviaTrans.Visible=False"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=67174420; + //BA.debugLineNum = 67174420;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=67174421; + //BA.debugLineNum = 67174421;BA.debugLine="End Sub"; +return ""; +} +public String _b_terminar1_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_terminar1_click", false)) + {return ((String) Debug.delegate(ba, "b_terminar1_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c_prods = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +int _textcolor = 0; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=66715648; + //BA.debugLineNum = 66715648;BA.debugLine="Sub b_terminar1_Click"; +RDebugUtils.currentLine=66715651; + //BA.debugLineNum = 66715651;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete from"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("N/A")})); +RDebugUtils.currentLine=66715653; + //BA.debugLineNum = 66715653;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=66715654; + //BA.debugLineNum = 66715654;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); +RDebugUtils.currentLine=66715655; + //BA.debugLineNum = 66715655;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=66715656; + //BA.debugLineNum = 66715656;BA.debugLine="lv_prodsPedido.Clear"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=66715657; + //BA.debugLineNum = 66715657;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Height = 35di"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setHeight(__c.DipToCurrent((int) (35))); +RDebugUtils.currentLine=66715658; + //BA.debugLineNum = 66715658;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.Height"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel.setHeight(__c.DipToCurrent((int) (25))); +RDebugUtils.currentLine=66715659; + //BA.debugLineNum = 66715659;BA.debugLine="Private c_prods As Cursor=B4XPages.MainPage.skmt."; +_c_prods = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c_prods = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE,PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_PRONOMBRE"))); +RDebugUtils.currentLine=66715660; + //BA.debugLineNum = 66715660;BA.debugLine="If c_prods.RowCount > 0 Then"; +if (_c_prods.getRowCount()>0) { +RDebugUtils.currentLine=66715661; + //BA.debugLineNum = 66715661;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=66715663; + //BA.debugLineNum = 66715663;BA.debugLine="vamoaver.Initialize"; +__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=66715664; + //BA.debugLineNum = 66715664;BA.debugLine="For i=0 To c_prods.RowCount -1"; +{ +final int step12 = 1; +final int limit12 = (int) (_c_prods.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit12 ;_i = _i + step12 ) { +RDebugUtils.currentLine=66715665; + //BA.debugLineNum = 66715665;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=66715666; + //BA.debugLineNum = 66715666;BA.debugLine="c_prods.Position=i"; +_c_prods.setPosition(_i); +RDebugUtils.currentLine=66715667; + //BA.debugLineNum = 66715667;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=66715668; + //BA.debugLineNum = 66715668;BA.debugLine="label1 = lv_prodsPedido.TwoLinesLayout.Label"; +_label1 = __ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=66715669; + //BA.debugLineNum = 66715669;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=66715670; + //BA.debugLineNum = 66715670;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=66715671; + //BA.debugLineNum = 66715671;BA.debugLine="label1.color = Colors.White"; +_label1.setColor(__c.Colors.White); +RDebugUtils.currentLine=66715672; + //BA.debugLineNum = 66715672;BA.debugLine="Private textColor As Int = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=66715674; + //BA.debugLineNum = 66715674;BA.debugLine="If c_prods.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; +if ((_c_prods.GetString("PE_FOLIO")).equals("VENTA")) { +RDebugUtils.currentLine=66715675; + //BA.debugLineNum = 66715675;BA.debugLine="textColor = Colors.RGB(48,3,195)"; +_textcolor = __c.Colors.RGB((int) (48),(int) (3),(int) (195)); + }else +{RDebugUtils.currentLine=66715676; + //BA.debugLineNum = 66715676;BA.debugLine="Else If c_prods.GetString(\"PE_FOLIO\") = \"PREVEN"; +if ((_c_prods.GetString("PE_FOLIO")).equals("PREVENTA") || (_c_prods.GetString("PE_FOLIO")).equals("ABORDO") || (_c_prods.GetString("PE_FOLIO")).equals("RECARGA")) { +RDebugUtils.currentLine=66715677; + //BA.debugLineNum = 66715677;BA.debugLine="textColor = Colors.RGB(166,0,0)"; +_textcolor = __c.Colors.RGB((int) (166),(int) (0),(int) (0)); + }} +; +RDebugUtils.currentLine=66715679; + //BA.debugLineNum = 66715679;BA.debugLine="If Not(IsNumber(c_prods.GetString(\"PE_CEDIS\")))"; +if (__c.Not(__c.IsNumber(_c_prods.GetString("PE_CEDIS"))) && (_c_prods.GetString("PE_FOLIO")).equals("VENTA")) { +RDebugUtils.currentLine=66715680; + //BA.debugLineNum = 66715680;BA.debugLine="textColor = Colors.RGB(154,131,231) 'Si es pro"; +_textcolor = __c.Colors.RGB((int) (154),(int) (131),(int) (231)); + }else +{RDebugUtils.currentLine=66715681; + //BA.debugLineNum = 66715681;BA.debugLine="Else If Not(IsNumber(c_prods.GetString(\"PE_CEDI"; +if (__c.Not(__c.IsNumber(_c_prods.GetString("PE_CEDIS"))) && (_c_prods.GetString("PE_FOLIO")).equals("PREVENTA")) { +RDebugUtils.currentLine=66715682; + //BA.debugLineNum = 66715682;BA.debugLine="textColor = Colors.RGB(255,111,111) 'Si es pro"; +_textcolor = __c.Colors.RGB((int) (255),(int) (111),(int) (111)); + }} +; +RDebugUtils.currentLine=66715684; + //BA.debugLineNum = 66715684;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=66715685; + //BA.debugLineNum = 66715685;BA.debugLine="label2 = lv_prodsPedido.TwoLinesLayout.SecondLa"; +_label2 = __ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=66715686; + //BA.debugLineNum = 66715686;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=66715687; + //BA.debugLineNum = 66715687;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=66715690; + //BA.debugLineNum = 66715690;BA.debugLine="lv_prodsPedido.AddSingleLine(cs.Color(textColor"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_cs.Color(_textcolor).Size((int) (15)).Append(BA.ObjectToCharSequence(_c_prods.GetString("PE_PRONOMBRE")+" ")).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Size((int) (10)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Cantidad #"+_c_prods.GetString("PE_CANT"))).Append(BA.ObjectToCharSequence(" SubTotal $"+_c_prods.GetString("PE_COSTO_TOT"))).Append(BA.ObjectToCharSequence(" "+_c_prods.GetString("PE_FOLIO")+" "+_c_prods.GetString("PE_CEDIS"))).PopAll().getObject())); +RDebugUtils.currentLine=66715691; + //BA.debugLineNum = 66715691;BA.debugLine="label1.Height = 120dip"; +_label1.setHeight(__c.DipToCurrent((int) (120))); +RDebugUtils.currentLine=66715692; + //BA.debugLineNum = 66715692;BA.debugLine="lv_prodsPedido.SingleLineLayout.ItemHeight = 90"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().setItemHeight(__c.DipToCurrent((int) (90))); +RDebugUtils.currentLine=66715693; + //BA.debugLineNum = 66715693;BA.debugLine="vamoaver.Add(c_prods.GetString(\"PE_FOLIO\"))"; +__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_c_prods.GetString("PE_FOLIO"))); +RDebugUtils.currentLine=66715694; + //BA.debugLineNum = 66715694;BA.debugLine="folio = c_prods.GetString(\"PE_FOLIO\")"; +__ref._folio /*String*/ = _c_prods.GetString("PE_FOLIO"); + } +}; +RDebugUtils.currentLine=66715700; + //BA.debugLineNum = 66715700;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select sum"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); +RDebugUtils.currentLine=66715701; + //BA.debugLineNum = 66715701;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=66715702; + //BA.debugLineNum = 66715702;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=66715703; + //BA.debugLineNum = 66715703;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); +RDebugUtils.currentLine=66715704; + //BA.debugLineNum = 66715704;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=66715707; + //BA.debugLineNum = 66715707;BA.debugLine="c_prods.Close"; +_c_prods.Close(); +RDebugUtils.currentLine=66715709; + //BA.debugLineNum = 66715709;BA.debugLine="l_total2.Text = Subs.calculaTotalConPromoXRango(S"; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))); +RDebugUtils.currentLine=66715712; + //BA.debugLineNum = 66715712;BA.debugLine="p_vistaPreviaTrans.Width = Root.Width"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=66715713; + //BA.debugLineNum = 66715713;BA.debugLine="p_vistaPreviaTrans.Height = Root.Height"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=66715714; + //BA.debugLineNum = 66715714;BA.debugLine="Subs.centraPanel(p_vistaPrevia, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_vistaprevia /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=66715716; + //BA.debugLineNum = 66715716;BA.debugLine="p_vistaPrevia.Visible=True"; +__ref._p_vistaprevia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=66715717; + //BA.debugLineNum = 66715717;BA.debugLine="p_vistaPreviaTrans.Visible=True"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=66715718; + //BA.debugLineNum = 66715718;BA.debugLine="End Sub"; +return ""; +} +public String _llenaprodsll(gunav2.keymon.com.mx.c_productos __ref,anywheresoftware.b4a.sql.SQL.ResultSetWrapper _p) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "llenaprodsll", false)) + {return ((String) Debug.delegate(ba, "llenaprodsll", new Object[] {_p}));} +anywheresoftware.b4a.objects.collections.Map _cantsmap = null; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _pe = null; +int _cant = 0; +anywheresoftware.b4a.objects.collections.Map _tempmap = null; +anywheresoftware.b4a.objects.collections.List _listaprodsconcant = null; +anywheresoftware.b4a.objects.collections.List _listaprodsconcantindex = null; +int _q = 0; +int _cont = 0; +int _pr0 = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +int _pr = 0; +RDebugUtils.currentLine=67633152; + //BA.debugLineNum = 67633152;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)"; +RDebugUtils.currentLine=67633153; + //BA.debugLineNum = 67633153;BA.debugLine="Log(\"Iniciamos LlenaProdsLL\")"; +__c.LogImpl("067633153","Iniciamos LlenaProdsLL",0); +RDebugUtils.currentLine=67633154; + //BA.debugLineNum = 67633154;BA.debugLine="listaProds.Initialize"; +__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=67633155; + //BA.debugLineNum = 67633155;BA.debugLine="If hayPedido Then 'Si hay pedido obtenemos las ca"; +if (__ref._haypedido /*boolean*/ ) { +RDebugUtils.currentLine=67633156; + //BA.debugLineNum = 67633156;BA.debugLine="Dim cantsMap As Map"; +_cantsmap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=67633157; + //BA.debugLineNum = 67633157;BA.debugLine="cantsMap.Initialize"; +_cantsmap.Initialize(); +RDebugUtils.currentLine=67633158; + //BA.debugLineNum = 67633158;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { +RDebugUtils.currentLine=67633159; + //BA.debugLineNum = 67633159;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex"; +_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID, PE_CANT from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._clienteid /*String*/ ))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"' AND PE_FUTURO = '1' ")))); + }else { +RDebugUtils.currentLine=67633161; + //BA.debugLineNum = 67633161;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex"; +_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID, PE_CANT from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._clienteid /*String*/ ))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"' AND PE_FUTURO = '0' ")))); + }; +RDebugUtils.currentLine=67633164; + //BA.debugLineNum = 67633164;BA.debugLine="Do While pe.NextRow"; +while (_pe.NextRow()) { +RDebugUtils.currentLine=67633165; + //BA.debugLineNum = 67633165;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=67633167; + //BA.debugLineNum = 67633167;BA.debugLine="cantsMap.put(pe.GetString(\"PE_PROID\"), pe.GetS"; +_cantsmap.Put((Object)(_pe.GetString("PE_PROID")),(Object)(_pe.GetString("PE_CANT"))); +RDebugUtils.currentLine=67633171; + //BA.debugLineNum = 67633171;BA.debugLine="Log(clienteId &\"|||||\"&pe.GetString(\"PE_PROID\")"; +__c.LogImpl("067633171",__ref._clienteid /*String*/ +"|||||"+_pe.GetString("PE_PROID")+"|||||"+_pe.GetString("PE_CANT"),0); + } +; +RDebugUtils.currentLine=67633173; + //BA.debugLineNum = 67633173;BA.debugLine="pe.Close"; +_pe.Close(); + }; +RDebugUtils.currentLine=67633176; + //BA.debugLineNum = 67633176;BA.debugLine="If p.IsInitialized Then"; +if (_p.IsInitialized()) { + }else { +RDebugUtils.currentLine=67633183; + //BA.debugLineNum = 67633183;BA.debugLine="LogColor(Starter.tabla,Colors.blue)"; +__c.LogImpl("067633183",_starter._tabla /*String*/ ,__c.Colors.Blue); +RDebugUtils.currentLine=67633207; + //BA.debugLineNum = 67633207;BA.debugLine="If Subs.traeTipoCliente = 5 Then"; +if (_subs._traetipocliente /*int*/ (ba)==5) { +RDebugUtils.currentLine=67633208; + //BA.debugLineNum = 67633208;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe"; +_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_LISTAPRECIO, CAT_LISTAPRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPO <> 'PROMOS' and CAT_GP_TIPO <> 'PROMOCION'\n"+" order by\n"+" Case CAT_GP_TIPOPROD when 'PRIORITARIO' THEN 0\n"+" WHEN 'ESTRATEGICO' THEN 1\n"+" WHEN 'COMPLEMENTARIO' then 2\n"+" Else 3\n"+" End, CAT_GP_NOMBRE")))); + }else { +RDebugUtils.currentLine=67633216; + //BA.debugLineNum = 67633216;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe"; +_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_LISTAPRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPO <> 'PROMOS' and CAT_GP_TIPO <> 'PROMOCION'\n"+" order by\n"+" Case CAT_GP_TIPOPROD when 'PRIORITARIO' THEN 0\n"+" WHEN 'ESTRATEGICO' THEN 1\n"+" WHEN 'COMPLEMENTARIO' then 2\n"+" Else 3\n"+" End, CAT_GP_NOMBRE")))); + }; + }; +RDebugUtils.currentLine=67633243; + //BA.debugLineNum = 67633243;BA.debugLine="Do While p.NextRow"; +while (_p.NextRow()) { +RDebugUtils.currentLine=67633244; + //BA.debugLineNum = 67633244;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=67633245; + //BA.debugLineNum = 67633245;BA.debugLine="If hayPedido And cantsMap.ContainsKey(p.GetStrin"; +if (__ref._haypedido /*boolean*/ && _cantsmap.ContainsKey((Object)(_p.GetString("CAT_GP_ID")))) { +RDebugUtils.currentLine=67633246; + //BA.debugLineNum = 67633246;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))"; +__c.LogImpl("067633246",_p.GetString("CAT_GP_ID"),0); +RDebugUtils.currentLine=67633247; + //BA.debugLineNum = 67633247;BA.debugLine="cant = cantsMap.Get(p.GetString(\"CAT_GP_ID\"))"; +_cant = (int)(BA.ObjectToNumber(_cantsmap.Get((Object)(_p.GetString("CAT_GP_ID"))))); + }; +RDebugUtils.currentLine=67633249; + //BA.debugLineNum = 67633249;BA.debugLine="If Subs.traeTipoCliente = 5 Then"; +if (_subs._traetipocliente /*int*/ (ba)==5) { +RDebugUtils.currentLine=67633250; + //BA.debugLineNum = 67633250;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G"; +if ((_p.GetString("CAT_GP_ID")).equals("GUN141") == false && (_p.GetString("CAT_GP_ID")).equals("GUN142") == false) { +RDebugUtils.currentLine=67633253; + //BA.debugLineNum = 67633253;BA.debugLine="Dim tempMap As Map = CreateMap( _"; +_tempmap = new anywheresoftware.b4a.objects.collections.Map(); +_tempmap = __c.createMap(new Object[] {(Object)("prod"),(Object)(_p.GetString("CAT_GP_NOMBRE")),(Object)("precio"),(Object)(_p.GetString("CAT_LISTAPRECIO")),(Object)("prioridad"),(Object)(_p.GetString("CAT_GP_TIPOPROD")),(Object)("almacen"),(Object)(_p.GetString("CAT_GP_ALMACEN")),(Object)("id"),(Object)(_p.GetString("CAT_GP_ID")),(Object)("cant"),(Object)(_cant),(Object)("conversion"),(Object)(1),(Object)("precio_caja"),(Object)(0),(Object)("b_caja"),(Object)(0)}); +RDebugUtils.currentLine=67633264; + //BA.debugLineNum = 67633264;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map"; +__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_tempmap.getObject())); + }; + }else { +RDebugUtils.currentLine=67633267; + //BA.debugLineNum = 67633267;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G"; +if ((_p.GetString("CAT_GP_ID")).equals("GUN141") == false && (_p.GetString("CAT_GP_ID")).equals("GUN142") == false) { +RDebugUtils.currentLine=67633270; + //BA.debugLineNum = 67633270;BA.debugLine="Dim tempMap As Map = CreateMap( _"; +_tempmap = new anywheresoftware.b4a.objects.collections.Map(); +_tempmap = __c.createMap(new Object[] {(Object)("prod"),(Object)(_p.GetString("CAT_GP_NOMBRE")),(Object)("precio"),(Object)(_p.GetString("CAT_GP_PRECIO")),(Object)("prioridad"),(Object)(_p.GetString("CAT_GP_TIPOPROD")),(Object)("almacen"),(Object)(_p.GetString("CAT_GP_ALMACEN")),(Object)("id"),(Object)(_p.GetString("CAT_GP_ID")),(Object)("cant"),(Object)(_cant),(Object)("conversion"),(Object)(1),(Object)("precio_caja"),(Object)(0),(Object)("b_caja"),(Object)(0)}); +RDebugUtils.currentLine=67633281; + //BA.debugLineNum = 67633281;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map"; +__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_tempmap.getObject())); + }; + }; + } +; +RDebugUtils.currentLine=67633288; + //BA.debugLineNum = 67633288;BA.debugLine="PCLV.Commit"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._commit /*String*/ (null); +RDebugUtils.currentLine=67633289; + //BA.debugLineNum = 67633289;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=67633290; + //BA.debugLineNum = 67633290;BA.debugLine="Private listaProdsConCant, listaProdsConCantIndex"; +_listaprodsconcant = new anywheresoftware.b4a.objects.collections.List(); +_listaprodsconcantindex = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=67633291; + //BA.debugLineNum = 67633291;BA.debugLine="listaProdsConCant.Initialize"; +_listaprodsconcant.Initialize(); +RDebugUtils.currentLine=67633292; + //BA.debugLineNum = 67633292;BA.debugLine="listaProdsConCantIndex.Initialize"; +_listaprodsconcantindex.Initialize(); +RDebugUtils.currentLine=67633293; + //BA.debugLineNum = 67633293;BA.debugLine="listaHints.Initialize"; +__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=67633294; + //BA.debugLineNum = 67633294;BA.debugLine="For q=0 To listaProds.Size-1' quitamos los produc"; +{ +final int step51 = 1; +final int limit51 = (int) (__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_q = (int) (0) ; +for (;_q <= limit51 ;_q = _q + step51 ) { +RDebugUtils.currentLine=67633295; + //BA.debugLineNum = 67633295;BA.debugLine="If listaProds.Get(q).As(Map).Get(\"cant\").As(Int)"; +if (((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Get(_q)))).Get((Object)("cant")))))!=0) { +RDebugUtils.currentLine=67633297; + //BA.debugLineNum = 67633297;BA.debugLine="listaProdsConCant.Add(listaProds.Get(q))"; +_listaprodsconcant.Add(__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Get(_q)); +RDebugUtils.currentLine=67633298; + //BA.debugLineNum = 67633298;BA.debugLine="listaProdsConCantIndex.Add(q)"; +_listaprodsconcantindex.Add((Object)(_q)); + }; + } +}; +RDebugUtils.currentLine=67633302; + //BA.debugLineNum = 67633302;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=67633303; + //BA.debugLineNum = 67633303;BA.debugLine="For pr0=0 To listaProdsConCant.Size - 1 'Agregamo"; +{ +final int step58 = 1; +final int limit58 = (int) (_listaprodsconcant.getSize()-1); +_pr0 = (int) (0) ; +for (;_pr0 <= limit58 ;_pr0 = _pr0 + step58 ) { +RDebugUtils.currentLine=67633304; + //BA.debugLineNum = 67633304;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=67633306; + //BA.debugLineNum = 67633306;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsVi"; +_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (65))); +RDebugUtils.currentLine=67633307; + //BA.debugLineNum = 67633307;BA.debugLine="clv_prods_ll.Add(Pnl, listaProdsConCant.Get(pr0)"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._add(_pnl,_listaprodsconcant.Get(_pr0)); +RDebugUtils.currentLine=67633308; + //BA.debugLineNum = 67633308;BA.debugLine="listaHints.Add(listaProdsConCant.get(pr0).As(Map"; +__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Add(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprodsconcant.Get(_pr0)))).Get((Object)("prod"))); +RDebugUtils.currentLine=67633309; + //BA.debugLineNum = 67633309;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); + } +}; +RDebugUtils.currentLine=67633313; + //BA.debugLineNum = 67633313;BA.debugLine="For pr=0 To listaProds.Size-1"; +{ +final int step65 = 1; +final int limit65 = (int) (__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_pr = (int) (0) ; +for (;_pr <= limit65 ;_pr = _pr + step65 ) { +RDebugUtils.currentLine=67633314; + //BA.debugLineNum = 67633314;BA.debugLine="If listaProdsConCantIndex.IndexOf(pr) = -1 Then"; +if (_listaprodsconcantindex.IndexOf((Object)(_pr))==-1) { +RDebugUtils.currentLine=67633315; + //BA.debugLineNum = 67633315;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=67633316; + //BA.debugLineNum = 67633316;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsV"; +_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (65))); +RDebugUtils.currentLine=67633319; + //BA.debugLineNum = 67633319;BA.debugLine="listaHints.Add(listaProds.get(pr).As(Map).Get(\""; +__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Add(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pr)))).Get((Object)("prod"))); +RDebugUtils.currentLine=67633320; + //BA.debugLineNum = 67633320;BA.debugLine="clv_prods_ll.Add(Pnl, listaProds.Get(pr))"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._add(_pnl,__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pr)); +RDebugUtils.currentLine=67633322; + //BA.debugLineNum = 67633322;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); + }; + } +}; +RDebugUtils.currentLine=67633329; + //BA.debugLineNum = 67633329;BA.debugLine="PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._maxvalue /*int*/ = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize(); +RDebugUtils.currentLine=67633330; + //BA.debugLineNum = 67633330;BA.debugLine="PCLV.B4XSeekBar1.MinValue = 0"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._minvalue /*int*/ = (int) (0); +RDebugUtils.currentLine=67633331; + //BA.debugLineNum = 67633331;BA.debugLine="PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ = (int) (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()/(double)20); +RDebugUtils.currentLine=67633332; + //BA.debugLineNum = 67633332;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ (null,__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()); +RDebugUtils.currentLine=67633333; + //BA.debugLineNum = 67633333;BA.debugLine="PCLV.B4XSeekBar1.Update"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (null); +RDebugUtils.currentLine=67633335; + //BA.debugLineNum = 67633335;BA.debugLine="reiniciarlistaProds = False"; +__ref._reiniciarlistaprods /*boolean*/ = __c.False; +RDebugUtils.currentLine=67633336; + //BA.debugLineNum = 67633336;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_productos parent) { +public ResumableSub_B4XPage_CloseRequest(gunav2.keymon.com.mx.c_productos parent,gunav2.keymon.com.mx.c_productos __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_productos __ref; gunav2.keymon.com.mx.c_productos parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_productos"; while (true) { switch (state) { @@ -1201,36 +1977,56 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 635;BA.debugLine="If l_info.Visible Then"; +RDebugUtils.currentLine=66191363; + //BA.debugLineNum = 66191363;BA.debugLine="If l_info.Visible Then"; if (true) break; case 1: //if this.state = 16; -if (parent._l_info.getVisible()) { +if (__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .getVisible()) { this.state = 3; -}else if(parent._p_vistapreviatrans.getVisible()) { +}else +{RDebugUtils.currentLine=66191367; + //BA.debugLineNum = 66191367;BA.debugLine="else if p_vistaPreviaTrans.Visible Then"; +if (__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { this.state = 5; -}else if(parent._lv_promos.getVisible()) { +}else +{RDebugUtils.currentLine=66191371; + //BA.debugLineNum = 66191371;BA.debugLine="else if lv_promos.visible Then"; +if (__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getVisible()) { this.state = 7; -}else if(parent._clv_prods_ll._asview().getVisible()) { +}else +{RDebugUtils.currentLine=66191379; + //BA.debugLineNum = 66191379;BA.debugLine="else if clv_prods_ll.AsView.Visible Then"; +if (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getVisible()) { this.state = 9; -}else if((parent._entro).equals("4")) { +}else +{RDebugUtils.currentLine=66191399; + //BA.debugLineNum = 66191399;BA.debugLine="else If entro = \"4\" Then"; +if ((__ref._entro /*String*/ ).equals("4")) { this.state = 11; -}else if((parent._entro).equals("3")) { +}else +{RDebugUtils.currentLine=66191405; + //BA.debugLineNum = 66191405;BA.debugLine="Else If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { this.state = 13; }else { this.state = 15; -}if (true) break; +}}}}}} +if (true) break; case 3: //C this.state = 16; - //BA.debugLineNum = 636;BA.debugLine="l_info.Visible = False"; -parent._l_info.setVisible(parent.__c.False); - //BA.debugLineNum = 637;BA.debugLine="Log(\"AQUI\")"; -parent.__c.LogImpl("466125829","AQUI",0); - //BA.debugLineNum = 638;BA.debugLine="Return False"; +RDebugUtils.currentLine=66191364; + //BA.debugLineNum = 66191364;BA.debugLine="l_info.Visible = False"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191365; + //BA.debugLineNum = 66191365;BA.debugLine="Log(\"AQUI\")"; +parent.__c.LogImpl("066191365","AQUI",0); +RDebugUtils.currentLine=66191366; + //BA.debugLineNum = 66191366;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1238,11 +2034,14 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; case 5: //C this.state = 16; - //BA.debugLineNum = 640;BA.debugLine="p_vistaPreviaTrans.Visible = False"; -parent._p_vistapreviatrans.setVisible(parent.__c.False); - //BA.debugLineNum = 641;BA.debugLine="Log(\"AQUI\")"; -parent.__c.LogImpl("466125833","AQUI",0); - //BA.debugLineNum = 642;BA.debugLine="Return False"; +RDebugUtils.currentLine=66191368; + //BA.debugLineNum = 66191368;BA.debugLine="p_vistaPreviaTrans.Visible = False"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191369; + //BA.debugLineNum = 66191369;BA.debugLine="Log(\"AQUI\")"; +parent.__c.LogImpl("066191369","AQUI",0); +RDebugUtils.currentLine=66191370; + //BA.debugLineNum = 66191370;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1250,19 +2049,26 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; case 7: //C this.state = 16; - //BA.debugLineNum = 644;BA.debugLine="lv_promos.Visible = False"; -parent._lv_promos.setVisible(parent.__c.False); - //BA.debugLineNum = 645;BA.debugLine="lv_catalogos.Visible = True"; -parent._lv_catalogos.setVisible(parent.__c.True); - //BA.debugLineNum = 646;BA.debugLine="p_botonesVenta.Visible = False"; -parent._p_botonesventa.setVisible(parent.__c.False); - //BA.debugLineNum = 647;BA.debugLine="l_total.Visible = False"; -parent._l_total.setVisible(parent.__c.False); - //BA.debugLineNum = 648;BA.debugLine="l_totProds.Visible = False"; -parent._l_totprods.setVisible(parent.__c.False); - //BA.debugLineNum = 649;BA.debugLine="Log(\"AQUI\")"; -parent.__c.LogImpl("466125841","AQUI",0); - //BA.debugLineNum = 650;BA.debugLine="Return False"; +RDebugUtils.currentLine=66191372; + //BA.debugLineNum = 66191372;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191373; + //BA.debugLineNum = 66191373;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=66191374; + //BA.debugLineNum = 66191374;BA.debugLine="p_botonesVenta.Visible = False"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191375; + //BA.debugLineNum = 66191375;BA.debugLine="l_total.Visible = False"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191376; + //BA.debugLineNum = 66191376;BA.debugLine="l_totProds.Visible = False"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191377; + //BA.debugLineNum = 66191377;BA.debugLine="Log(\"AQUI\")"; +parent.__c.LogImpl("066191377","AQUI",0); +RDebugUtils.currentLine=66191378; + //BA.debugLineNum = 66191378;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1270,23 +2076,32 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; case 9: //C this.state = 16; - //BA.debugLineNum = 652;BA.debugLine="lfila.text = \"PORTAFOLIO\""; -parent._lfila.setText(BA.ObjectToCharSequence("PORTAFOLIO")); - //BA.debugLineNum = 653;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 654;BA.debugLine="lv_subtipo.Visible = False"; -parent._lv_subtipo.setVisible(parent.__c.False); - //BA.debugLineNum = 655;BA.debugLine="p_botonesVenta.Visible = False"; -parent._p_botonesventa.setVisible(parent.__c.False); - //BA.debugLineNum = 656;BA.debugLine="l_total.Visible = False"; -parent._l_total.setVisible(parent.__c.False); - //BA.debugLineNum = 657;BA.debugLine="l_totProds.Visible = False"; -parent._l_totprods.setVisible(parent.__c.False); - //BA.debugLineNum = 658;BA.debugLine="lv_catalogos.Visible = True"; -parent._lv_catalogos.setVisible(parent.__c.True); - //BA.debugLineNum = 659;BA.debugLine="Log(\"AQUI\")"; -parent.__c.LogImpl("466125851","AQUI",0); - //BA.debugLineNum = 660;BA.debugLine="Return False"; +RDebugUtils.currentLine=66191380; + //BA.debugLineNum = 66191380;BA.debugLine="lfila.text = \"PORTAFOLIO\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PORTAFOLIO")); +RDebugUtils.currentLine=66191381; + //BA.debugLineNum = 66191381;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=66191382; + //BA.debugLineNum = 66191382;BA.debugLine="lv_subtipo.Visible = False"; +__ref._lv_subtipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191383; + //BA.debugLineNum = 66191383;BA.debugLine="p_botonesVenta.Visible = False"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191384; + //BA.debugLineNum = 66191384;BA.debugLine="l_total.Visible = False"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191385; + //BA.debugLineNum = 66191385;BA.debugLine="l_totProds.Visible = False"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=66191386; + //BA.debugLineNum = 66191386;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=66191387; + //BA.debugLineNum = 66191387;BA.debugLine="Log(\"AQUI\")"; +parent.__c.LogImpl("066191387","AQUI",0); +RDebugUtils.currentLine=66191388; + //BA.debugLineNum = 66191388;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1294,11 +2109,14 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; case 11: //C this.state = 16; - //BA.debugLineNum = 673;BA.debugLine="Log(\"AQUI\")"; -parent.__c.LogImpl("466125865","AQUI",0); - //BA.debugLineNum = 675;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=66191401; + //BA.debugLineNum = 66191401;BA.debugLine="Log(\"AQUI\")"; +parent.__c.LogImpl("066191401","AQUI",0); +RDebugUtils.currentLine=66191403; + //BA.debugLineNum = 66191403;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 676;BA.debugLine="Return True"; +RDebugUtils.currentLine=66191404; + //BA.debugLineNum = 66191404;BA.debugLine="Return True"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; if (true) break; @@ -1306,11 +2124,14 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; case 13: //C this.state = 16; - //BA.debugLineNum = 678;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=66191406; + //BA.debugLineNum = 66191406;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 679;BA.debugLine="Log(\"AQUI\")"; -parent.__c.LogImpl("466125871","AQUI",0); - //BA.debugLineNum = 680;BA.debugLine="Return False"; +RDebugUtils.currentLine=66191407; + //BA.debugLineNum = 66191407;BA.debugLine="Log(\"AQUI\")"; +parent.__c.LogImpl("066191407","AQUI",0); +RDebugUtils.currentLine=66191408; + //BA.debugLineNum = 66191408;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1318,11 +2139,14 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; case 15: //C this.state = 16; - //BA.debugLineNum = 682;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=66191410; + //BA.debugLineNum = 66191410;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 683;BA.debugLine="Log(\"AQUI\")"; -parent.__c.LogImpl("466125875","AQUI",0); - //BA.debugLineNum = 684;BA.debugLine="Return False"; +RDebugUtils.currentLine=66191411; + //BA.debugLineNum = 66191411;BA.debugLine="Log(\"AQUI\")"; +parent.__c.LogImpl("066191411","AQUI",0); +RDebugUtils.currentLine=66191412; + //BA.debugLineNum = 66191412;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; if (true) break; @@ -1331,92 +2155,132 @@ case 16: //C this.state = -1; ; - //BA.debugLineNum = 686;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66191414; + //BA.debugLineNum = 66191414;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +public String _b4xpage_created(gunav2.keymon.com.mx.c_productos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} anywheresoftware.b4a.objects.LabelWrapper _label1 = null; int _i = 0; - //BA.debugLineNum = 113;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 114;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 117;BA.debugLine="Root.LoadLayout(\"productos\")"; -_root.LoadLayout("productos",ba); - //BA.debugLineNum = 118;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 119;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 120;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); +RDebugUtils.currentLine=65732608; + //BA.debugLineNum = 65732608;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=65732609; + //BA.debugLineNum = 65732609;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=65732612; + //BA.debugLineNum = 65732612;BA.debugLine="Root.LoadLayout(\"productos\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("productos",ba); +RDebugUtils.currentLine=65732613; + //BA.debugLineNum = 65732613;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=65732614; + //BA.debugLineNum = 65732614;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=65732615; + //BA.debugLineNum = 65732615;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); }; - //BA.debugLineNum = 122;BA.debugLine="PCLV.Initialize(Me, \"PCLV\", clv_prods_ll)"; -_pclv._initialize /*String*/ (ba,this,"PCLV",_clv_prods_ll); - //BA.debugLineNum = 123;BA.debugLine="ciclo = 1"; -_ciclo = BA.NumberToString(1); - //BA.debugLineNum = 124;BA.debugLine="l_info.Width = Root.Width * 0.8"; -_l_info.setWidth((int) (_root.getWidth()*0.8)); - //BA.debugLineNum = 125;BA.debugLine="l_info.Left = (Root.Width/2) - (l_info.Width/2)"; -_l_info.setLeft((int) ((_root.getWidth()/(double)2)-(_l_info.getWidth()/(double)2))); - //BA.debugLineNum = 126;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select dist"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_GP_TIPO from cat_gunaprod where CAT_GP_TIPO <> 'PROMOS' order by CAT_GP_TIPO"))); - //BA.debugLineNum = 127;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 128;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=65732617; + //BA.debugLineNum = 65732617;BA.debugLine="PCLV.Initialize(Me, \"PCLV\", clv_prods_ll)"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._initialize /*String*/ (null,ba,this,"PCLV",__ref._clv_prods_ll /*b4a.example3.customlistview*/ ); +RDebugUtils.currentLine=65732618; + //BA.debugLineNum = 65732618;BA.debugLine="ciclo = 1"; +__ref._ciclo /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=65732619; + //BA.debugLineNum = 65732619;BA.debugLine="l_info.Width = Root.Width * 0.8"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.8)); +RDebugUtils.currentLine=65732620; + //BA.debugLineNum = 65732620;BA.debugLine="l_info.Left = (Root.Width/2) - (l_info.Width/2)"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) ((__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=65732621; + //BA.debugLineNum = 65732621;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select dist"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_GP_TIPO from cat_gunaprod where CAT_GP_TIPO <> 'PROMOS' order by CAT_GP_TIPO"))); +RDebugUtils.currentLine=65732622; + //BA.debugLineNum = 65732622;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=65732623; + //BA.debugLineNum = 65732623;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 129;BA.debugLine="label1 = lv_tipo.SingleLineLayout.Label"; -_label1 = _lv_tipo.getSingleLineLayout().Label; - //BA.debugLineNum = 130;BA.debugLine="label1.TextSize = 17"; +RDebugUtils.currentLine=65732624; + //BA.debugLineNum = 65732624;BA.debugLine="label1 = lv_tipo.SingleLineLayout.Label"; +_label1 = __ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=65732625; + //BA.debugLineNum = 65732625;BA.debugLine="label1.TextSize = 17"; _label1.setTextSize((float) (17)); - //BA.debugLineNum = 131;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=65732626; + //BA.debugLineNum = 65732626;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 132;BA.debugLine="lv_tipo.Clear"; -_lv_tipo.Clear(); - //BA.debugLineNum = 133;BA.debugLine="For i=0 To c.RowCount-1"; +RDebugUtils.currentLine=65732627; + //BA.debugLineNum = 65732627;BA.debugLine="lv_tipo.Clear"; +__ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=65732628; + //BA.debugLineNum = 65732628;BA.debugLine="For i=0 To c.RowCount-1"; { final int step18 = 1; -final int limit18 = (int) (_c.getRowCount()-1); +final int limit18 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit18 ;_i = _i + step18 ) { - //BA.debugLineNum = 134;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 135;BA.debugLine="Log(\"ENTRE AQUI EN PROMOS create\")"; -__c.LogImpl("465667094","ENTRE AQUI EN PROMOS create",0); - //BA.debugLineNum = 136;BA.debugLine="lv_tipo.AddSingleLine(c.GetString(\"CAT_GP_TIPO\""; -_lv_tipo.AddSingleLine(BA.ObjectToCharSequence(_c.GetString("CAT_GP_TIPO"))); +RDebugUtils.currentLine=65732629; + //BA.debugLineNum = 65732629;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=65732630; + //BA.debugLineNum = 65732630;BA.debugLine="Log(\"ENTRE AQUI EN PROMOS create\")"; +__c.LogImpl("065732630","ENTRE AQUI EN PROMOS create",0); +RDebugUtils.currentLine=65732631; + //BA.debugLineNum = 65732631;BA.debugLine="lv_tipo.AddSingleLine(c.GetString(\"CAT_GP_TIPO\""; +__ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_TIPO"))); } }; }; - //BA.debugLineNum = 139;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 142;BA.debugLine="listaTiempos.Initialize"; -_listatiempos.Initialize(); - //BA.debugLineNum = 143;BA.debugLine="listaProds.Initialize"; -_listaprods.Initialize(); - //BA.debugLineNum = 144;BA.debugLine="pedidoMap.Initialize"; -_pedidomap.Initialize(); - //BA.debugLineNum = 145;BA.debugLine="listaHints.Initialize"; -_listahints.Initialize(); - //BA.debugLineNum = 148;BA.debugLine="clv_prods_ll.Clear"; -_clv_prods_ll._clear(); - //BA.debugLineNum = 149;BA.debugLine="prodsMap.Initialize"; -_prodsmap.Initialize(); - //BA.debugLineNum = 150;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65732634; + //BA.debugLineNum = 65732634;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=65732637; + //BA.debugLineNum = 65732637;BA.debugLine="listaTiempos.Initialize"; +__ref._listatiempos /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=65732638; + //BA.debugLineNum = 65732638;BA.debugLine="listaProds.Initialize"; +__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=65732639; + //BA.debugLineNum = 65732639;BA.debugLine="pedidoMap.Initialize"; +__ref._pedidomap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=65732640; + //BA.debugLineNum = 65732640;BA.debugLine="listaHints.Initialize"; +__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=65732643; + //BA.debugLineNum = 65732643;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=65732644; + //BA.debugLineNum = 65732644;BA.debugLine="prodsMap.Initialize"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=65732645; + //BA.debugLineNum = 65732645;BA.debugLine="End Sub"; return ""; } -public void _busca_textchanged(String _old,String _new) throws Exception{ -ResumableSub_Busca_TextChanged rsub = new ResumableSub_Busca_TextChanged(this,_old,_new); +public void _busca_textchanged(gunav2.keymon.com.mx.c_productos __ref,String _old,String _new) throws Exception{ +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "busca_textchanged", false)) + {Debug.delegate(ba, "busca_textchanged", new Object[] {_old,_new}); return;} +ResumableSub_Busca_TextChanged rsub = new ResumableSub_Busca_TextChanged(this,__ref,_old,_new); rsub.resume(ba, null); } public static class ResumableSub_Busca_TextChanged extends BA.ResumableSub { -public ResumableSub_Busca_TextChanged(gunav2.keymon.com.mx.c_productos parent,String _old,String _new) { +public ResumableSub_Busca_TextChanged(gunav2.keymon.com.mx.c_productos parent,gunav2.keymon.com.mx.c_productos __ref,String _old,String _new) { this.parent = parent; +this.__ref = __ref; this._old = _old; this._new = _new; +this.__ref = parent; } +gunav2.keymon.com.mx.c_productos __ref; gunav2.keymon.com.mx.c_productos parent; String _old; String _new; @@ -1424,6 +2288,7 @@ anywheresoftware.b4a.sql.SQL.ResultSetWrapper _p = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_productos"; while (true) { switch (state) { @@ -1433,33 +2298,35 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 1750;BA.debugLine="If Not(clv_prods_ll.AsView.Visible) Then clv_prod"; +RDebugUtils.currentLine=67567618; + //BA.debugLineNum = 67567618;BA.debugLine="If Not(clv_prods_ll.AsView.Visible) Then clv_prod"; if (true) break; case 1: //if this.state = 6; -if (parent.__c.Not(parent._clv_prods_ll._asview().getVisible())) { +if (parent.__c.Not(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getVisible())) { this.state = 3; ;}if (true) break; case 3: //C this.state = 6; -parent._clv_prods_ll._asview().setVisible(parent.__c.True); +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.True); if (true) break; case 6: //C this.state = 7; ; - //BA.debugLineNum = 1751;BA.debugLine="If (New.Length = 1 Or New.Length = 2) And Not(for"; +RDebugUtils.currentLine=67567619; + //BA.debugLineNum = 67567619;BA.debugLine="If (New.Length = 1 Or New.Length = 2) And Not(for"; if (true) break; case 7: //if this.state = 12; -if ((_new.length()==1 || _new.length()==2) && parent.__c.Not(parent._forzarbusqueda)) { +if ((_new.length()==1 || _new.length()==2) && parent.__c.Not(__ref._forzarbusqueda /*boolean*/ )) { this.state = 9; ;}if (true) break; @@ -1473,405 +2340,582 @@ case 12: //C this.state = -1; ; - //BA.debugLineNum = 1752;BA.debugLine="forzarBusqueda = False"; -parent._forzarbusqueda = parent.__c.False; - //BA.debugLineNum = 1753;BA.debugLine="clv_prods_ll.Clear"; -parent._clv_prods_ll._clear(); - //BA.debugLineNum = 1754;BA.debugLine="listaProds.Initialize"; -parent._listaprods.Initialize(); - //BA.debugLineNum = 1755;BA.debugLine="listaHints.Initialize"; -parent._listahints.Initialize(); - //BA.debugLineNum = 1756;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); +RDebugUtils.currentLine=67567620; + //BA.debugLineNum = 67567620;BA.debugLine="forzarBusqueda = False"; +__ref._forzarbusqueda /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=67567621; + //BA.debugLineNum = 67567621;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=67567622; + //BA.debugLineNum = 67567622;BA.debugLine="listaProds.Initialize"; +__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=67567623; + //BA.debugLineNum = 67567623;BA.debugLine="listaHints.Initialize"; +__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=67567624; + //BA.debugLineNum = 67567624;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_productos", "busca_textchanged"),(int) (0)); this.state = 13; return; case 13: //C this.state = -1; ; - //BA.debugLineNum = 1761;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=67567629; + //BA.debugLineNum = 67567629;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exec"; _p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); _p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_LISTAPRECIO from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%"+parent.__c.SmartStringFormatter("",(Object)(_new))+"%' AND CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' AND CAT_GP_TIPO <> 'PROMOCION' union all select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_LISTAPRECIO from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2")))); - //BA.debugLineNum = 1763;BA.debugLine="Log(\"Llamamos LlenaProdsLL\")"; -parent.__c.LogImpl("467502095","Llamamos LlenaProdsLL",0); - //BA.debugLineNum = 1764;BA.debugLine="LlenaProdsLL(p)"; -parent._llenaprodsll(_p); - //BA.debugLineNum = 1783;BA.debugLine="End Sub"; +RDebugUtils.currentLine=67567631; + //BA.debugLineNum = 67567631;BA.debugLine="Log(\"Llamamos LlenaProdsLL\")"; +parent.__c.LogImpl("067567631","Llamamos LlenaProdsLL",0); +RDebugUtils.currentLine=67567632; + //BA.debugLineNum = 67567632;BA.debugLine="LlenaProdsLL(p)"; +__ref._llenaprodsll /*String*/ (null,_p); +RDebugUtils.currentLine=67567651; + //BA.debugLineNum = 67567651;BA.debugLine="End Sub"; if (true) break; } } } } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +RDebugUtils.currentLine=65601536; + //BA.debugLineNum = 65601536;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=65601537; + //BA.debugLineNum = 65601537;BA.debugLine="Private Root As B4XView 'ignore"; _root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=65601538; + //BA.debugLineNum = 65601538;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim ruta As String"; +RDebugUtils.currentLine=65601539; + //BA.debugLineNum = 65601539;BA.debugLine="Dim ruta As String"; _ruta = ""; - //BA.debugLineNum = 5;BA.debugLine="Dim q_buscar As String"; +RDebugUtils.currentLine=65601540; + //BA.debugLineNum = 65601540;BA.debugLine="Dim q_buscar As String"; _q_buscar = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim forzarBusqueda As Boolean = False"; +RDebugUtils.currentLine=65601541; + //BA.debugLineNum = 65601541;BA.debugLine="Dim forzarBusqueda As Boolean = False"; _forzarbusqueda = __c.False; - //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +RDebugUtils.currentLine=65601542; + //BA.debugLineNum = 65601542;BA.debugLine="Dim skmt As SQL"; _skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=65601543; + //BA.debugLineNum = 65601543;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim c2 As Cursor"; +RDebugUtils.currentLine=65601544; + //BA.debugLineNum = 65601544;BA.debugLine="Dim c2 As Cursor"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim C3 As Cursor"; +RDebugUtils.currentLine=65601545; + //BA.debugLineNum = 65601545;BA.debugLine="Dim C3 As Cursor"; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim s As Cursor"; +RDebugUtils.currentLine=65601546; + //BA.debugLineNum = 65601546;BA.debugLine="Dim s As Cursor"; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim lv_catalogos As ListView"; +RDebugUtils.currentLine=65601547; + //BA.debugLineNum = 65601547;BA.debugLine="Dim lv_catalogos As ListView"; _lv_catalogos = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim lv_promos As ListView"; +RDebugUtils.currentLine=65601548; + //BA.debugLineNum = 65601548;BA.debugLine="Dim lv_promos As ListView"; _lv_promos = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim entro As String"; +RDebugUtils.currentLine=65601549; + //BA.debugLineNum = 65601549;BA.debugLine="Dim entro As String"; _entro = ""; - //BA.debugLineNum = 15;BA.debugLine="Dim gest As Button"; +RDebugUtils.currentLine=65601550; + //BA.debugLineNum = 65601550;BA.debugLine="Dim gest As Button"; _gest = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim lfila As Label"; +RDebugUtils.currentLine=65601551; + //BA.debugLineNum = 65601551;BA.debugLine="Dim lfila As Label"; _lfila = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim marca As String"; +RDebugUtils.currentLine=65601552; + //BA.debugLineNum = 65601552;BA.debugLine="Dim marca As String"; _marca = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim tipo As String"; +RDebugUtils.currentLine=65601553; + //BA.debugLineNum = 65601553;BA.debugLine="Dim tipo As String"; _tipo = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim subtipo As String"; +RDebugUtils.currentLine=65601554; + //BA.debugLineNum = 65601554;BA.debugLine="Dim subtipo As String"; _subtipo = ""; - //BA.debugLineNum = 20;BA.debugLine="Private BUSCA As EditText"; +RDebugUtils.currentLine=65601555; + //BA.debugLineNum = 65601555;BA.debugLine="Private BUSCA As EditText"; _busca = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim ya_entro As String"; +RDebugUtils.currentLine=65601556; + //BA.debugLineNum = 65601556;BA.debugLine="Dim ya_entro As String"; _ya_entro = ""; - //BA.debugLineNum = 22;BA.debugLine="Dim TIENE_PROMOS As String"; +RDebugUtils.currentLine=65601557; + //BA.debugLineNum = 65601557;BA.debugLine="Dim TIENE_PROMOS As String"; _tiene_promos = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim RES As String"; +RDebugUtils.currentLine=65601558; + //BA.debugLineNum = 65601558;BA.debugLine="Dim RES As String"; _res = ""; - //BA.debugLineNum = 24;BA.debugLine="Dim S1 As Cursor"; +RDebugUtils.currentLine=65601559; + //BA.debugLineNum = 65601559;BA.debugLine="Dim S1 As Cursor"; _s1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim bmp As Bitmap"; +RDebugUtils.currentLine=65601560; + //BA.debugLineNum = 65601560;BA.debugLine="Dim bmp As Bitmap"; _bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim ciclo As String"; +RDebugUtils.currentLine=65601561; + //BA.debugLineNum = 65601561;BA.debugLine="Dim ciclo As String"; _ciclo = ""; - //BA.debugLineNum = 27;BA.debugLine="Private b_qr As Button"; +RDebugUtils.currentLine=65601562; + //BA.debugLineNum = 65601562;BA.debugLine="Private b_qr As Button"; _b_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private p_productos As Panel"; +RDebugUtils.currentLine=65601563; + //BA.debugLineNum = 65601563;BA.debugLine="Private p_productos As Panel"; _p_productos = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Dim clv_productos As CustomListView"; +RDebugUtils.currentLine=65601564; + //BA.debugLineNum = 65601564;BA.debugLine="Dim clv_productos As CustomListView"; _clv_productos = new b4a.example3.customlistview(); - //BA.debugLineNum = 30;BA.debugLine="Private ImageView1 As ImageView"; +RDebugUtils.currentLine=65601565; + //BA.debugLineNum = 65601565;BA.debugLine="Private ImageView1 As ImageView"; _imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private Panel3 As Panel"; +RDebugUtils.currentLine=65601566; + //BA.debugLineNum = 65601566;BA.debugLine="Private Panel3 As Panel"; _panel3 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private p_prods As Panel"; +RDebugUtils.currentLine=65601567; + //BA.debugLineNum = 65601567;BA.debugLine="Private p_prods As Panel"; _p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private i_prod As ImageView"; +RDebugUtils.currentLine=65601568; + //BA.debugLineNum = 65601568;BA.debugLine="Private i_prod As ImageView"; _i_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private l_prodX As Label"; +RDebugUtils.currentLine=65601569; + //BA.debugLineNum = 65601569;BA.debugLine="Private l_prodX As Label"; _l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private b_prodMas As Button"; +RDebugUtils.currentLine=65601570; + //BA.debugLineNum = 65601570;BA.debugLine="Private b_prodMas As Button"; _b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Private l_pCant As Label"; +RDebugUtils.currentLine=65601571; + //BA.debugLineNum = 65601571;BA.debugLine="Private l_pCant As Label"; _l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private et_pCant As EditText"; +RDebugUtils.currentLine=65601572; + //BA.debugLineNum = 65601572;BA.debugLine="Private et_pCant As EditText"; _et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_prodMenos As Button"; +RDebugUtils.currentLine=65601573; + //BA.debugLineNum = 65601573;BA.debugLine="Private b_prodMenos As Button"; _b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim b_terminar1 As Button"; +RDebugUtils.currentLine=65601574; + //BA.debugLineNum = 65601574;BA.debugLine="Dim b_terminar1 As Button"; _b_terminar1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim b_continuar As Button"; +RDebugUtils.currentLine=65601575; + //BA.debugLineNum = 65601575;BA.debugLine="Dim b_continuar As Button"; _b_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private l_total As Label"; +RDebugUtils.currentLine=65601576; + //BA.debugLineNum = 65601576;BA.debugLine="Private l_total As Label"; _l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Private l_totProds As Label"; +RDebugUtils.currentLine=65601577; + //BA.debugLineNum = 65601577;BA.debugLine="Private l_totProds As Label"; _l_totprods = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim totalProds As Int = 0"; +RDebugUtils.currentLine=65601578; + //BA.debugLineNum = 65601578;BA.debugLine="Dim totalProds As Int = 0"; _totalprods = (int) (0); - //BA.debugLineNum = 44;BA.debugLine="Dim totalCompra As Float = 0"; +RDebugUtils.currentLine=65601579; + //BA.debugLineNum = 65601579;BA.debugLine="Dim totalCompra As Float = 0"; _totalcompra = (float) (0); - //BA.debugLineNum = 45;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +RDebugUtils.currentLine=65601580; + //BA.debugLineNum = 65601580;BA.debugLine="Dim etCantHasFocus As Boolean = False"; _etcanthasfocus = __c.False; - //BA.debugLineNum = 46;BA.debugLine="Dim prodsMap As Map"; +RDebugUtils.currentLine=65601581; + //BA.debugLineNum = 65601581;BA.debugLine="Dim prodsMap As Map"; _prodsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 47;BA.debugLine="Private l_Cargando As Label"; +RDebugUtils.currentLine=65601582; + //BA.debugLineNum = 65601582;BA.debugLine="Private l_Cargando As Label"; _l_cargando = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Private l_info As Label"; +RDebugUtils.currentLine=65601583; + //BA.debugLineNum = 65601583;BA.debugLine="Private l_info As Label"; _l_info = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Private b_buscar As Button"; +RDebugUtils.currentLine=65601584; + //BA.debugLineNum = 65601584;BA.debugLine="Private b_buscar As Button"; _b_buscar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Private p_botonesVenta As Panel"; +RDebugUtils.currentLine=65601585; + //BA.debugLineNum = 65601585;BA.debugLine="Private p_botonesVenta As Panel"; _p_botonesventa = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 51;BA.debugLine="Private lv_tipo As ListView"; +RDebugUtils.currentLine=65601586; + //BA.debugLineNum = 65601586;BA.debugLine="Private lv_tipo As ListView"; _lv_tipo = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Private lv_subtipo As ListView"; +RDebugUtils.currentLine=65601587; + //BA.debugLineNum = 65601587;BA.debugLine="Private lv_subtipo As ListView"; _lv_subtipo = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Private p_vistaPreviaTrans As Panel"; +RDebugUtils.currentLine=65601588; + //BA.debugLineNum = 65601588;BA.debugLine="Private p_vistaPreviaTrans As Panel"; _p_vistapreviatrans = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Private lv_prodsPedido As ListView"; +RDebugUtils.currentLine=65601589; + //BA.debugLineNum = 65601589;BA.debugLine="Private lv_prodsPedido As ListView"; _lv_prodspedido = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 55;BA.debugLine="Private b_rechazar As Button"; +RDebugUtils.currentLine=65601590; + //BA.debugLineNum = 65601590;BA.debugLine="Private b_rechazar As Button"; _b_rechazar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Private b_aceptar As Button"; +RDebugUtils.currentLine=65601591; + //BA.debugLineNum = 65601591;BA.debugLine="Private b_aceptar As Button"; _b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Private p_vistaPrevia As Panel"; +RDebugUtils.currentLine=65601592; + //BA.debugLineNum = 65601592;BA.debugLine="Private p_vistaPrevia As Panel"; _p_vistaprevia = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Dim folio As String"; +RDebugUtils.currentLine=65601593; + //BA.debugLineNum = 65601593;BA.debugLine="Dim folio As String"; _folio = ""; - //BA.debugLineNum = 59;BA.debugLine="Dim result As String"; +RDebugUtils.currentLine=65601594; + //BA.debugLineNum = 65601594;BA.debugLine="Dim result As String"; _result = ""; - //BA.debugLineNum = 60;BA.debugLine="Private l_cant As Label"; +RDebugUtils.currentLine=65601595; + //BA.debugLineNum = 65601595;BA.debugLine="Private l_cant As Label"; _l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Private l_total2 As Label"; +RDebugUtils.currentLine=65601596; + //BA.debugLineNum = 65601596;BA.debugLine="Private l_total2 As Label"; _l_total2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 62;BA.debugLine="Dim prodsPedidoActual As String"; +RDebugUtils.currentLine=65601597; + //BA.debugLineNum = 65601597;BA.debugLine="Dim prodsPedidoActual As String"; _prodspedidoactual = ""; - //BA.debugLineNum = 63;BA.debugLine="Dim montoPedidoActual As String"; +RDebugUtils.currentLine=65601598; + //BA.debugLineNum = 65601598;BA.debugLine="Dim montoPedidoActual As String"; _montopedidoactual = ""; - //BA.debugLineNum = 64;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; +RDebugUtils.currentLine=65601599; + //BA.debugLineNum = 65601599;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD"; _tipo_venta = _subs._traetipoventadebd /*String*/ (ba); - //BA.debugLineNum = 65;BA.debugLine="Dim clv_prods_ll As CustomListView"; +RDebugUtils.currentLine=65601600; + //BA.debugLineNum = 65601600;BA.debugLine="Dim clv_prods_ll As CustomListView"; _clv_prods_ll = new b4a.example3.customlistview(); - //BA.debugLineNum = 66;BA.debugLine="Private PCLV As PreoptimizedCLV"; +RDebugUtils.currentLine=65601601; + //BA.debugLineNum = 65601601;BA.debugLine="Private PCLV As PreoptimizedCLV"; _pclv = new gunav2.keymon.com.mx.preoptimizedclv(); - //BA.debugLineNum = 67;BA.debugLine="Dim listaProds As List"; +RDebugUtils.currentLine=65601602; + //BA.debugLineNum = 65601602;BA.debugLine="Dim listaProds As List"; _listaprods = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 69;BA.debugLine="Dim pedidoMap As Map"; +RDebugUtils.currentLine=65601604; + //BA.debugLineNum = 65601604;BA.debugLine="Dim pedidoMap As Map"; _pedidomap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 70;BA.debugLine="Private p_botMasMen As Panel"; +RDebugUtils.currentLine=65601605; + //BA.debugLineNum = 65601605;BA.debugLine="Private p_botMasMen As Panel"; _p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Dim reiniciarlistaProds As Boolean= False"; +RDebugUtils.currentLine=65601606; + //BA.debugLineNum = 65601606;BA.debugLine="Dim reiniciarlistaProds As Boolean= False"; _reiniciarlistaprods = __c.False; - //BA.debugLineNum = 73;BA.debugLine="Dim listaTiempos As List"; +RDebugUtils.currentLine=65601608; + //BA.debugLineNum = 65601608;BA.debugLine="Dim listaTiempos As List"; _listatiempos = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 74;BA.debugLine="Dim clienteId As String"; +RDebugUtils.currentLine=65601609; + //BA.debugLineNum = 65601609;BA.debugLine="Dim clienteId As String"; _clienteid = ""; - //BA.debugLineNum = 75;BA.debugLine="Dim rutaUsuario As String"; +RDebugUtils.currentLine=65601610; + //BA.debugLineNum = 65601610;BA.debugLine="Dim rutaUsuario As String"; _rutausuario = ""; - //BA.debugLineNum = 76;BA.debugLine="Dim hayPedido As Boolean"; +RDebugUtils.currentLine=65601611; + //BA.debugLineNum = 65601611;BA.debugLine="Dim hayPedido As Boolean"; _haypedido = false; - //BA.debugLineNum = 77;BA.debugLine="Dim listaHints As List"; +RDebugUtils.currentLine=65601612; + //BA.debugLineNum = 65601612;BA.debugLine="Dim listaHints As List"; _listahints = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 78;BA.debugLine="Dim r As Cursor"; +RDebugUtils.currentLine=65601613; + //BA.debugLineNum = 65601613;BA.debugLine="Dim r As Cursor"; _r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Dim vamoaver As List"; +RDebugUtils.currentLine=65601614; + //BA.debugLineNum = 65601614;BA.debugLine="Dim vamoaver As List"; _vamoaver = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 80;BA.debugLine="Dim j3 As Cursor"; +RDebugUtils.currentLine=65601615; + //BA.debugLineNum = 65601615;BA.debugLine="Dim j3 As Cursor"; _j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 81;BA.debugLine="Dim invTotal As Int"; +RDebugUtils.currentLine=65601616; + //BA.debugLineNum = 65601616;BA.debugLine="Dim invTotal As Int"; _invtotal = 0; - //BA.debugLineNum = 82;BA.debugLine="Private et_pCantc As EditText"; +RDebugUtils.currentLine=65601617; + //BA.debugLineNum = 65601617;BA.debugLine="Private et_pCantc As EditText"; _et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 83;BA.debugLine="Private b_prodMenosc As Button"; +RDebugUtils.currentLine=65601618; + //BA.debugLineNum = 65601618;BA.debugLine="Private b_prodMenosc As Button"; _b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Private b_prodMasc As Button"; +RDebugUtils.currentLine=65601619; + //BA.debugLineNum = 65601619;BA.debugLine="Private b_prodMasc As Button"; _b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Dim totalcajasmaspiezas As Int"; +RDebugUtils.currentLine=65601620; + //BA.debugLineNum = 65601620;BA.debugLine="Dim totalcajasmaspiezas As Int"; _totalcajasmaspiezas = 0; - //BA.debugLineNum = 86;BA.debugLine="Dim cajas As Int"; +RDebugUtils.currentLine=65601621; + //BA.debugLineNum = 65601621;BA.debugLine="Dim cajas As Int"; _cajas = 0; - //BA.debugLineNum = 87;BA.debugLine="Dim piezas As Int"; +RDebugUtils.currentLine=65601622; + //BA.debugLineNum = 65601622;BA.debugLine="Dim piezas As Int"; _piezas = 0; - //BA.debugLineNum = 88;BA.debugLine="Dim P_CALATOLOS As Panel"; +RDebugUtils.currentLine=65601623; + //BA.debugLineNum = 65601623;BA.debugLine="Dim P_CALATOLOS As Panel"; _p_calatolos = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Dim Panel2 As Panel"; +RDebugUtils.currentLine=65601625; + //BA.debugLineNum = 65601625;BA.debugLine="Dim Panel2 As Panel"; _panel2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Private p_botMasMenc As Panel"; +RDebugUtils.currentLine=65601626; + //BA.debugLineNum = 65601626;BA.debugLine="Private p_botMasMenc As Panel"; _p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Private p_promodesc As Panel"; +RDebugUtils.currentLine=65601627; + //BA.debugLineNum = 65601627;BA.debugLine="Private p_promodesc As Panel"; _p_promodesc = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private l_promodesc As Label"; +RDebugUtils.currentLine=65601628; + //BA.debugLineNum = 65601628;BA.debugLine="Private l_promodesc As Label"; _l_promodesc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Private b_okpromodesc As Button"; +RDebugUtils.currentLine=65601629; + //BA.debugLineNum = 65601629;BA.debugLine="Private b_okpromodesc As Button"; _b_okpromodesc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Private p_devo As Panel"; +RDebugUtils.currentLine=65601630; + //BA.debugLineNum = 65601630;BA.debugLine="Private p_devo As Panel"; _p_devo = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 96;BA.debugLine="Private l_proddev As Label"; +RDebugUtils.currentLine=65601631; + //BA.debugLineNum = 65601631;BA.debugLine="Private l_proddev As Label"; _l_proddev = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 97;BA.debugLine="Private b_devmas As Button"; +RDebugUtils.currentLine=65601632; + //BA.debugLineNum = 65601632;BA.debugLine="Private b_devmas As Button"; _b_devmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 98;BA.debugLine="Private l_cantdev As Label"; +RDebugUtils.currentLine=65601633; + //BA.debugLineNum = 65601633;BA.debugLine="Private l_cantdev As Label"; _l_cantdev = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 99;BA.debugLine="Private b_devmenos As Button"; +RDebugUtils.currentLine=65601634; + //BA.debugLineNum = 65601634;BA.debugLine="Private b_devmenos As Button"; _b_devmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Private b_acep_dev As Button"; +RDebugUtils.currentLine=65601635; + //BA.debugLineNum = 65601635;BA.debugLine="Private b_acep_dev As Button"; _b_acep_dev = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 103;BA.debugLine="Dim preciodev As Double"; +RDebugUtils.currentLine=65601638; + //BA.debugLineNum = 65601638;BA.debugLine="Dim preciodev As Double"; _preciodev = 0; - //BA.debugLineNum = 104;BA.debugLine="Dim nombredev As String"; +RDebugUtils.currentLine=65601639; + //BA.debugLineNum = 65601639;BA.debugLine="Dim nombredev As String"; _nombredev = ""; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65601640; + //BA.debugLineNum = 65601640;BA.debugLine="End Sub"; return ""; } -public String _clv_prods_ll_itemclick(int _index,Object _value) throws Exception{ - //BA.debugLineNum = 1529;BA.debugLine="Private Sub clv_prods_ll_ItemClick (Index As Int,"; - //BA.debugLineNum = 1531;BA.debugLine="End Sub"; +public String _clv_prods_ll_itemclick(gunav2.keymon.com.mx.c_productos __ref,int _index,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "clv_prods_ll_itemclick", false)) + {return ((String) Debug.delegate(ba, "clv_prods_ll_itemclick", new Object[] {_index,_value}));} +RDebugUtils.currentLine=67371008; + //BA.debugLineNum = 67371008;BA.debugLine="Private Sub clv_prods_ll_ItemClick (Index As Int,"; +RDebugUtils.currentLine=67371010; + //BA.debugLineNum = 67371010;BA.debugLine="End Sub"; return ""; } -public String _clv_prods_ll_visiblerangechanged(int _firstindex,int _lastindex) throws Exception{ +public String _clv_prods_ll_visiblerangechanged(gunav2.keymon.com.mx.c_productos __ref,int _firstindex,int _lastindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "clv_prods_ll_visiblerangechanged", false)) + {return ((String) Debug.delegate(ba, "clv_prods_ll_visiblerangechanged", new Object[] {_firstindex,_lastindex}));} int _extrasize = 0; int _i = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; anywheresoftware.b4a.objects.CSBuilder _cs = null; String _precio = ""; - //BA.debugLineNum = 1579;BA.debugLine="Private Sub clv_prods_ll_VisibleRangeChanged (Firs"; - //BA.debugLineNum = 1623;BA.debugLine="Dim ExtraSize As Int = 15 'List size"; +RDebugUtils.currentLine=67502080; + //BA.debugLineNum = 67502080;BA.debugLine="Private Sub clv_prods_ll_VisibleRangeChanged (Firs"; +RDebugUtils.currentLine=67502124; + //BA.debugLineNum = 67502124;BA.debugLine="Dim ExtraSize As Int = 15 'List size"; _extrasize = (int) (15); - //BA.debugLineNum = 1624;BA.debugLine="For i = Max(0, FirstIndex - ExtraSize) To Min(Las"; +RDebugUtils.currentLine=67502125; + //BA.debugLineNum = 67502125;BA.debugLine="For i = Max(0, FirstIndex - ExtraSize) To Min(Las"; { final int step2 = 1; -final int limit2 = (int) (__c.Min(_lastindex+_extrasize,_clv_prods_ll._getsize()-1)); +final int limit2 = (int) (__c.Min(_lastindex+_extrasize,__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()-1)); _i = (int) (__c.Max(0,_firstindex-_extrasize)) ; for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 1625;BA.debugLine="Dim Pnl As B4XView = clv_prods_ll.GetPanel(i)"; +RDebugUtils.currentLine=67502126; + //BA.debugLineNum = 67502126;BA.debugLine="Dim Pnl As B4XView = clv_prods_ll.GetPanel(i)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _clv_prods_ll._getpanel(_i); - //BA.debugLineNum = 1626;BA.debugLine="If i > FirstIndex - ExtraSize And i < LastIndex"; +_pnl = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=67502127; + //BA.debugLineNum = 67502127;BA.debugLine="If i > FirstIndex - ExtraSize And i < LastIndex"; if (_i>_firstindex-_extrasize && _i<_lastindex+_extrasize) { - //BA.debugLineNum = 1628;BA.debugLine="If Pnl.NumberOfViews = 0 Then 'Add each item/la"; +RDebugUtils.currentLine=67502129; + //BA.debugLineNum = 67502129;BA.debugLine="If Pnl.NumberOfViews = 0 Then 'Add each item/la"; if (_pnl.getNumberOfViews()==0) { - //BA.debugLineNum = 1629;BA.debugLine="Pnl.LoadLayout(\"proditem\")"; +RDebugUtils.currentLine=67502130; + //BA.debugLineNum = 67502130;BA.debugLine="Pnl.LoadLayout(\"proditem\")"; _pnl.LoadLayout("proditem",ba); - //BA.debugLineNum = 1631;BA.debugLine="p_prods.Width = Root.Width * 0.92"; -_p_prods.setWidth((int) (_root.getWidth()*0.92)); - //BA.debugLineNum = 1632;BA.debugLine="p_botMasMen.Left = p_prods.Width - (p_botMasMe"; -_p_botmasmen.setLeft((int) (_p_prods.getWidth()-(_p_botmasmen.getWidth()+5))); - //BA.debugLineNum = 1633;BA.debugLine="p_botMasMenc.Left = p_prods.Width - (p_botMasM"; -_p_botmasmenc.setLeft((int) (_p_prods.getWidth()-(_p_botmasmen.getWidth()+5))); - //BA.debugLineNum = 1634;BA.debugLine="p_prods.Height = 134dip"; -_p_prods.setHeight(__c.DipToCurrent((int) (134))); - //BA.debugLineNum = 1642;BA.debugLine="Pnl.SetLayoutAnimated(0,0,0,Pnl.Width,145dip)"; +RDebugUtils.currentLine=67502132; + //BA.debugLineNum = 67502132;BA.debugLine="p_prods.Width = Root.Width * 0.92"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.92)); +RDebugUtils.currentLine=67502133; + //BA.debugLineNum = 67502133;BA.debugLine="p_botMasMen.Left = p_prods.Width - (p_botMasMe"; +__ref._p_botmasmen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()-(__ref._p_botmasmen /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()+5))); +RDebugUtils.currentLine=67502134; + //BA.debugLineNum = 67502134;BA.debugLine="p_botMasMenc.Left = p_prods.Width - (p_botMasM"; +__ref._p_botmasmenc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()-(__ref._p_botmasmen /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()+5))); +RDebugUtils.currentLine=67502135; + //BA.debugLineNum = 67502135;BA.debugLine="p_prods.Height = 134dip"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__c.DipToCurrent((int) (134))); +RDebugUtils.currentLine=67502143; + //BA.debugLineNum = 67502143;BA.debugLine="Pnl.SetLayoutAnimated(0,0,0,Pnl.Width,145dip)"; _pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pnl.getWidth(),__c.DipToCurrent((int) (145))); - //BA.debugLineNum = 1643;BA.debugLine="Private cs As CSBuilder"; +RDebugUtils.currentLine=67502144; + //BA.debugLineNum = 67502144;BA.debugLine="Private cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1644;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=67502145; + //BA.debugLineNum = 67502145;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 1645;BA.debugLine="l_prodX.SetTextSizeAnimated(0, 13)"; -_l_prodx.SetTextSizeAnimated((int) (0),(float) (13)); - //BA.debugLineNum = 1646;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant\""; -if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))!= null && (double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))))>0) { - //BA.debugLineNum = 1647;BA.debugLine="p_prods.Color=0xFFE2EEFF"; -_p_prods.setColor(((int)0xffe2eeff)); - //BA.debugLineNum = 1652;BA.debugLine="et_pCant.TextColor=Colors.Red"; -_et_pcant.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1653;BA.debugLine="et_pCantc.TextColor=Colors.Red"; -_et_pcantc.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1654;BA.debugLine="If Subs.pedidoGuardado Then"; +RDebugUtils.currentLine=67502146; + //BA.debugLineNum = 67502146;BA.debugLine="l_prodX.SetTextSizeAnimated(0, 13)"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .SetTextSizeAnimated((int) (0),(float) (13)); +RDebugUtils.currentLine=67502147; + //BA.debugLineNum = 67502147;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant\""; +if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("cant"))!= null && (double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("cant"))))>0) { +RDebugUtils.currentLine=67502148; + //BA.debugLineNum = 67502148;BA.debugLine="p_prods.Color=0xFFE2EEFF"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(((int)0xffe2eeff)); +RDebugUtils.currentLine=67502153; + //BA.debugLineNum = 67502153;BA.debugLine="et_pCant.TextColor=Colors.Red"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=67502154; + //BA.debugLineNum = 67502154;BA.debugLine="et_pCantc.TextColor=Colors.Red"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=67502155; + //BA.debugLineNum = 67502155;BA.debugLine="If Subs.pedidoGuardado Then"; if (_subs._pedidoguardado /*boolean*/ (ba)) { - //BA.debugLineNum = 1656;BA.debugLine="et_pCant.Enabled = False"; -_et_pcant.setEnabled(__c.False); - //BA.debugLineNum = 1658;BA.debugLine="b_prodMenos.Enabled = False"; -_b_prodmenos.setEnabled(__c.False); +RDebugUtils.currentLine=67502157; + //BA.debugLineNum = 67502157;BA.debugLine="et_pCant.Enabled = False"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=67502159; + //BA.debugLineNum = 67502159;BA.debugLine="b_prodMenos.Enabled = False"; +__ref._b_prodmenos /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); }; }else { - //BA.debugLineNum = 1661;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"prio"; -if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("PRIORITARIO"))) { - //BA.debugLineNum = 1662;BA.debugLine="p_prods.Color = Colors.RGB(255, 212, 163) 'n"; -_p_prods.setColor(__c.Colors.RGB((int) (255),(int) (212),(int) (163))); - }else if((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("COMPLEMENTARIO"))) { - //BA.debugLineNum = 1665;BA.debugLine="p_prods.Color = Colors.RGB(177, 200, 249)'az"; -_p_prods.setColor(__c.Colors.RGB((int) (177),(int) (200),(int) (249))); - }else if((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("CATALOGO REGULAR"))) { - //BA.debugLineNum = 1668;BA.debugLine="p_prods.Color = Colors.White"; -_p_prods.setColor(__c.Colors.White); - }else if((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("ESTRATEGICO"))) { - //BA.debugLineNum = 1671;BA.debugLine="p_prods.Color = Colors.RGB(241, 255, 163) 'a"; -_p_prods.setColor(__c.Colors.RGB((int) (241),(int) (255),(int) (163))); +RDebugUtils.currentLine=67502162; + //BA.debugLineNum = 67502162;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"prio"; +if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("PRIORITARIO"))) { +RDebugUtils.currentLine=67502163; + //BA.debugLineNum = 67502163;BA.debugLine="p_prods.Color = Colors.RGB(255, 212, 163) 'n"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(__c.Colors.RGB((int) (255),(int) (212),(int) (163))); + }else +{RDebugUtils.currentLine=67502165; + //BA.debugLineNum = 67502165;BA.debugLine="Else If clv_prods_ll.GetValue(i).As(Map).Get("; +if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("COMPLEMENTARIO"))) { +RDebugUtils.currentLine=67502166; + //BA.debugLineNum = 67502166;BA.debugLine="p_prods.Color = Colors.RGB(177, 200, 249)'az"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(__c.Colors.RGB((int) (177),(int) (200),(int) (249))); + }else +{RDebugUtils.currentLine=67502168; + //BA.debugLineNum = 67502168;BA.debugLine="else If clv_prods_ll.GetValue(i).As(Map).Get("; +if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("CATALOGO REGULAR"))) { +RDebugUtils.currentLine=67502169; + //BA.debugLineNum = 67502169;BA.debugLine="p_prods.Color = Colors.White"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(__c.Colors.White); + }else +{RDebugUtils.currentLine=67502171; + //BA.debugLineNum = 67502171;BA.debugLine="else If clv_prods_ll.GetValue(i).As(Map).Get("; +if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("ESTRATEGICO"))) { +RDebugUtils.currentLine=67502172; + //BA.debugLineNum = 67502172;BA.debugLine="p_prods.Color = Colors.RGB(241, 255, 163) 'a"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(__c.Colors.RGB((int) (241),(int) (255),(int) (163))); + }}}} +; }; - }; - //BA.debugLineNum = 1675;BA.debugLine="Private precio As String=NumberFormat2(clv_pro"; -_precio = __c.NumberFormat2(((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("precio"))))),(int) (1),(int) (2),(int) (2),__c.False); - //BA.debugLineNum = 1686;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant"; -if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))!= null) { -_et_pcant.setText(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))));}; - //BA.debugLineNum = 1718;BA.debugLine="l_prodX.Text = cs.Color(Colors.red).append(clv"; -_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prod")))).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("almacen"))))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(_precio))+""))).PopAll().getObject())); +RDebugUtils.currentLine=67502176; + //BA.debugLineNum = 67502176;BA.debugLine="Private precio As String=NumberFormat2(clv_pro"; +_precio = __c.NumberFormat2(((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("precio"))))),(int) (1),(int) (2),(int) (2),__c.False); +RDebugUtils.currentLine=67502187; + //BA.debugLineNum = 67502187;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant"; +if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("cant"))!= null) { +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("cant"))));}; +RDebugUtils.currentLine=67502219; + //BA.debugLineNum = 67502219;BA.debugLine="l_prodX.Text = cs.Color(Colors.red).append(clv"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("prod")))).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i)))).Get((Object)("almacen"))))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(_precio))+""))).PopAll().getObject())); }; }else { }; - //BA.debugLineNum = 1743;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size - Fir"; -_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ ((int) (_clv_prods_ll._getsize()-_firstindex)); +RDebugUtils.currentLine=67502244; + //BA.debugLineNum = 67502244;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size - Fir"; +__ref._pclv /*gunav2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ (null,(int) (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()-_firstindex)); } }; - //BA.debugLineNum = 1746;BA.debugLine="End Sub"; +RDebugUtils.currentLine=67502247; + //BA.debugLineNum = 67502247;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc) throws Exception{ - //BA.debugLineNum = 717;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 732;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(gunav2.keymon.com.mx.c_productos __ref,String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_width,_height,_img,_prodid,_bc,_tc}));} +RDebugUtils.currentLine=66322432; + //BA.debugLineNum = 66322432;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=66322447; + //BA.debugLineNum = 66322447;BA.debugLine="End Sub"; return null; } -public String _cuentaprods() throws Exception{ - //BA.debugLineNum = 1153;BA.debugLine="Sub cuentaProds"; - //BA.debugLineNum = 1155;BA.debugLine="Log(\"===========================\")"; -__c.LogImpl("466584578","===========================",0); - //BA.debugLineNum = 1156;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"'")))); - //BA.debugLineNum = 1159;BA.debugLine="p_botonesVenta.Visible = True"; -_p_botonesventa.setVisible(__c.True); - //BA.debugLineNum = 1160;BA.debugLine="p_botonesVenta.BringToFront"; -_p_botonesventa.BringToFront(); - //BA.debugLineNum = 1161;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1163;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1165;BA.debugLine="End Sub"; -return ""; -} -public String _et_pcant_focuschanged(boolean _hasfocus) throws Exception{ +public String _et_pcant_focuschanged(gunav2.keymon.com.mx.c_productos __ref,boolean _hasfocus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "et_pcant_focuschanged", false)) + {return ((String) Debug.delegate(ba, "et_pcant_focuschanged", new Object[] {_hasfocus}));} int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; String _id = ""; - //BA.debugLineNum = 983;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; - //BA.debugLineNum = 984;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; -__c.LogImpl("466453505",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta); - //BA.debugLineNum = 985;BA.debugLine="If et_pCant.Text = \"\" Then et_pCant.Text = \"0\""; -if ((_et_pcant.getText()).equals("")) { -_et_pcant.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 986;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 987;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +RDebugUtils.currentLine=66519040; + //BA.debugLineNum = 66519040;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; +RDebugUtils.currentLine=66519041; + //BA.debugLineNum = 66519041;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; +__c.LogImpl("066519041",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta); +RDebugUtils.currentLine=66519042; + //BA.debugLineNum = 66519042;BA.debugLine="If et_pCant.Text = \"\" Then et_pCant.Text = \"0\""; +if ((__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("0"));}; +RDebugUtils.currentLine=66519043; + //BA.debugLineNum = 66519043;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=66519044; + //BA.debugLineNum = 66519044;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; _pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 988;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=66519045; + //BA.debugLineNum = 66519045;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 989;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +RDebugUtils.currentLine=66519046; + //BA.debugLineNum = 66519046;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; _lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 990;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +RDebugUtils.currentLine=66519047; + //BA.debugLineNum = 66519047;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; _lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 991;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 992;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = \"0\""; +RDebugUtils.currentLine=66519048; + //BA.debugLineNum = 66519048;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=66519049; + //BA.debugLineNum = 66519049;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = \"0\""; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 993;BA.debugLine="etCantHasFocus = HasFocus"; -_etcanthasfocus = _hasfocus; - //BA.debugLineNum = 994;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; -__c.LogImpl("466453515",_lacant.getText(),__c.Colors.Red); - //BA.debugLineNum = 995;BA.debugLine="If laCant2.IsInitialized Then"; +RDebugUtils.currentLine=66519050; + //BA.debugLineNum = 66519050;BA.debugLine="etCantHasFocus = HasFocus"; +__ref._etcanthasfocus /*boolean*/ = _hasfocus; +RDebugUtils.currentLine=66519051; + //BA.debugLineNum = 66519051;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("066519051",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=66519052; + //BA.debugLineNum = 66519052;BA.debugLine="If laCant2.IsInitialized Then"; if (_lacant2.IsInitialized()) { - //BA.debugLineNum = 996;BA.debugLine="totalcajasmaspiezas = laCant.Text + laCant2.Text"; -_totalcajasmaspiezas = (int) ((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_lacant2.getText()))); +RDebugUtils.currentLine=66519053; + //BA.debugLineNum = 66519053;BA.debugLine="totalcajasmaspiezas = laCant.Text + laCant2.Text"; +__ref._totalcajasmaspiezas /*int*/ = (int) ((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_lacant2.getText()))); }else { - //BA.debugLineNum = 998;BA.debugLine="totalcajasmaspiezas = laCant.Text"; -_totalcajasmaspiezas = (int)(Double.parseDouble(_lacant.getText())); +RDebugUtils.currentLine=66519055; + //BA.debugLineNum = 66519055;BA.debugLine="totalcajasmaspiezas = laCant.Text"; +__ref._totalcajasmaspiezas /*int*/ = (int)(Double.parseDouble(_lacant.getText())); }; - //BA.debugLineNum = 1000;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 1003;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 1004;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66519057; + //BA.debugLineNum = 66519057;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); +RDebugUtils.currentLine=66519060; + //BA.debugLineNum = 66519060;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=66519061; + //BA.debugLineNum = 66519061;BA.debugLine="End Sub"; return ""; } -public String _et_pcant_textchanged(String _old,String _new) throws Exception{ +public String _et_pcant_textchanged(gunav2.keymon.com.mx.c_productos __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "et_pcant_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_pcant_textchanged", new Object[] {_old,_new}));} int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; @@ -1889,179 +2933,251 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c7 = null; double _totaldev = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _c6 = null; double _totalprod = 0; - //BA.debugLineNum = 1006;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; - //BA.debugLineNum = 1009;BA.debugLine="If etCantHasFocus = True Then"; -if (_etcanthasfocus==__c.True) { - //BA.debugLineNum = 1010;BA.debugLine="LogColor($\"txt changed: ${Old}|${New}, hasfocus="; -__c.LogImpl("466519044",("txt changed: "+__c.SmartStringFormatter("",(Object)(_old))+"|"+__c.SmartStringFormatter("",(Object)(_new))+", hasfocus="+__c.SmartStringFormatter("",(Object)(_etcanthasfocus))+""),__c.Colors.Magenta); - //BA.debugLineNum = 1011;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1012;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; +RDebugUtils.currentLine=66584576; + //BA.debugLineNum = 66584576;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; +RDebugUtils.currentLine=66584579; + //BA.debugLineNum = 66584579;BA.debugLine="If etCantHasFocus = True Then"; +if (__ref._etcanthasfocus /*boolean*/ ==__c.True) { +RDebugUtils.currentLine=66584580; + //BA.debugLineNum = 66584580;BA.debugLine="LogColor($\"txt changed: ${Old}|${New}, hasfocus="; +__c.LogImpl("066584580",("txt changed: "+__c.SmartStringFormatter("",(Object)(_old))+"|"+__c.SmartStringFormatter("",(Object)(_new))+", hasfocus="+__c.SmartStringFormatter("",(Object)(__ref._etcanthasfocus /*boolean*/ ))+""),__c.Colors.Magenta); +RDebugUtils.currentLine=66584581; + //BA.debugLineNum = 66584581;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=66584582; + //BA.debugLineNum = 66584582;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; _pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 1013;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=66584583; + //BA.debugLineNum = 66584583;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 1014;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; +RDebugUtils.currentLine=66584584; + //BA.debugLineNum = 66584584;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; _lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 1016;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +RDebugUtils.currentLine=66584586; + //BA.debugLineNum = 66584586;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; _lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 1017;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 1018;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 1019;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; -_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 1020;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; +RDebugUtils.currentLine=66584587; + //BA.debugLineNum = 66584587;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=66584588; + //BA.debugLineNum = 66584588;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=66584589; + //BA.debugLineNum = 66584589;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; +_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=66584590; + //BA.debugLineNum = 66584590;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; _inv = _subs._traeinventario /*String*/ (ba,_id); - //BA.debugLineNum = 1021;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +RDebugUtils.currentLine=66584591; + //BA.debugLineNum = 66584591;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; _nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 1023;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +RDebugUtils.currentLine=66584593; + //BA.debugLineNum = 66584593;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; _panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); _panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 1026;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; +RDebugUtils.currentLine=66584596; + //BA.debugLineNum = 66584596;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; if (((_new).equals("") || _new== null || (_new).equals("-"))) { _new = BA.NumberToString(0);}; - //BA.debugLineNum = 1028;BA.debugLine="If(New > invTotal) Then"; -if (((double)(Double.parseDouble(_new))>_invtotal)) { - //BA.debugLineNum = 1029;BA.debugLine="Sender.As(EditText).text = invTotal"; -((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).setText(BA.ObjectToCharSequence(_invtotal)); +RDebugUtils.currentLine=66584598; + //BA.debugLineNum = 66584598;BA.debugLine="If(New > invTotal) Then"; +if (((double)(Double.parseDouble(_new))>__ref._invtotal /*int*/ )) { +RDebugUtils.currentLine=66584599; + //BA.debugLineNum = 66584599;BA.debugLine="Sender.As(EditText).text = invTotal"; +((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).setText(BA.ObjectToCharSequence(__ref._invtotal /*int*/ )); }; - //BA.debugLineNum = 1033;BA.debugLine="If New = \"\" Then New = 0"; +RDebugUtils.currentLine=66584603; + //BA.debugLineNum = 66584603;BA.debugLine="If New = \"\" Then New = 0"; if ((_new).equals("")) { _new = BA.NumberToString(0);}; - //BA.debugLineNum = 1034;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +RDebugUtils.currentLine=66584604; + //BA.debugLineNum = 66584604;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1035;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; -__c.LogImpl("466519069",_lacant.getText(),__c.Colors.Red); - //BA.debugLineNum = 1049;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Text <"; -if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant.getText()!= null && (_lacant.getText()).equals("") == false && _etcanthasfocus) { - //BA.debugLineNum = 1050;BA.debugLine="Log(\"actualizamos producto\")"; -__c.LogImpl("466519084","actualizamos producto",0); - //BA.debugLineNum = 1051;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; +RDebugUtils.currentLine=66584605; + //BA.debugLineNum = 66584605;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("066584605",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=66584619; + //BA.debugLineNum = 66584619;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Text <"; +if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant.getText()!= null && (_lacant.getText()).equals("") == false && __ref._etcanthasfocus /*boolean*/ ) { +RDebugUtils.currentLine=66584620; + //BA.debugLineNum = 66584620;BA.debugLine="Log(\"actualizamos producto\")"; +__c.LogImpl("066584620","actualizamos producto",0); +RDebugUtils.currentLine=66584621; + //BA.debugLineNum = 66584621;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 1052;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, preci"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(1)); +RDebugUtils.currentLine=66584622; + //BA.debugLineNum = 66584622;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, preci"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(1)); }else { - //BA.debugLineNum = 1054;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, preci"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); +RDebugUtils.currentLine=66584624; + //BA.debugLineNum = 66584624;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, preci"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,_lacant.getText(),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); }; - //BA.debugLineNum = 1057;BA.debugLine="cuentaProds"; -_cuentaprods(); +RDebugUtils.currentLine=66584627; + //BA.debugLineNum = 66584627;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); }; - //BA.debugLineNum = 1070;BA.debugLine="If 1 = 1 Then"; +RDebugUtils.currentLine=66584640; + //BA.debugLineNum = 66584640;BA.debugLine="If 1 = 1 Then"; if (1==1) { - //BA.debugLineNum = 1071;BA.debugLine="Private cs As CSBuilder"; +RDebugUtils.currentLine=66584641; + //BA.debugLineNum = 66584641;BA.debugLine="Private cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1072;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=66584642; + //BA.debugLineNum = 66584642;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 1073;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=66584643; + //BA.debugLineNum = 66584643;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; _o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 1074;BA.debugLine="Private invActualizado As String = \"0\""; +RDebugUtils.currentLine=66584644; + //BA.debugLineNum = 66584644;BA.debugLine="Private invActualizado As String = \"0\""; _invactualizado = "0"; - //BA.debugLineNum = 1076;BA.debugLine="o.Position = 0"; +RDebugUtils.currentLine=66584646; + //BA.debugLineNum = 66584646;BA.debugLine="o.Position = 0"; _o.setPosition((int) (0)); - //BA.debugLineNum = 1077;BA.debugLine="invActualizado = Subs.traeinventario(id)"; +RDebugUtils.currentLine=66584647; + //BA.debugLineNum = 66584647;BA.debugLine="invActualizado = Subs.traeinventario(id)"; _invactualizado = _subs._traeinventario /*String*/ (ba,_id); - //BA.debugLineNum = 1078;BA.debugLine="Log(Subs.traeinventario(id))"; -__c.LogImpl("466519112",_subs._traeinventario /*String*/ (ba,_id),0); - //BA.debugLineNum = 1089;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr"; +RDebugUtils.currentLine=66584648; + //BA.debugLineNum = 66584648;BA.debugLine="Log(Subs.traeinventario(id))"; +__c.LogImpl("066584648",_subs._traeinventario /*String*/ (ba,_id),0); +RDebugUtils.currentLine=66584659; + //BA.debugLineNum = 66584659;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr"; _lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""))).PopAll().getObject())); }; - //BA.debugLineNum = 1103;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); - //BA.debugLineNum = 1104;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1105;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1106;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; -__c.LogImpl("466519140",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0); - //BA.debugLineNum = 1107;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; -_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART"))); - //BA.debugLineNum = 1108;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; -_l_total.setText(BA.ObjectToCharSequence("Total: $"+_c.GetString("PC_MONTO"))); - //BA.debugLineNum = 1109;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; -if (_l_total.getText()== null || (_l_total.getText()).equals("null") || (_l_total.getText()).equals("")) { -_l_total.setText(BA.ObjectToCharSequence("Total: $0.0"));}; - //BA.debugLineNum = 1110;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; -if (_l_totprods.getText()== null || (_l_totprods.getText()).equals("null") || (_l_totprods.getText()).equals("")) { -_l_totprods.setText(BA.ObjectToCharSequence("Prods: 0"));}; +RDebugUtils.currentLine=66584673; + //BA.debugLineNum = 66584673;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); +RDebugUtils.currentLine=66584674; + //BA.debugLineNum = 66584674;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=66584675; + //BA.debugLineNum = 66584675;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=66584676; + //BA.debugLineNum = 66584676;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; +__c.LogImpl("066584676",("registros: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")))+""),0); +RDebugUtils.currentLine=66584677; + //BA.debugLineNum = 66584677;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=66584678; + //BA.debugLineNum = 66584678;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); +RDebugUtils.currentLine=66584679; + //BA.debugLineNum = 66584679;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +if (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("")) { +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $0.0"));}; +RDebugUtils.currentLine=66584680; + //BA.debugLineNum = 66584680;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; +if (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("")) { +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: 0"));}; }; - //BA.debugLineNum = 1113;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); - //BA.debugLineNum = 1114;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1115;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1116;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; -__c.LogImpl("466519150",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0); - //BA.debugLineNum = 1117;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; -_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART"))); - //BA.debugLineNum = 1118;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; -_l_total.setText(BA.ObjectToCharSequence("Total: $"+_c.GetString("PC_MONTO"))); - //BA.debugLineNum = 1119;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; -if (_l_total.getText()== null || (_l_total.getText()).equals("null") || (_l_total.getText()).equals("")) { -_l_total.setText(BA.ObjectToCharSequence("Total: $0.0"));}; - //BA.debugLineNum = 1120;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; -if (_l_totprods.getText()== null || (_l_totprods.getText()).equals("null") || (_l_totprods.getText()).equals("")) { -_l_totprods.setText(BA.ObjectToCharSequence("Prods: 0"));}; +RDebugUtils.currentLine=66584683; + //BA.debugLineNum = 66584683;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); +RDebugUtils.currentLine=66584684; + //BA.debugLineNum = 66584684;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=66584685; + //BA.debugLineNum = 66584685;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=66584686; + //BA.debugLineNum = 66584686;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; +__c.LogImpl("066584686",("registros: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")))+""),0); +RDebugUtils.currentLine=66584687; + //BA.debugLineNum = 66584687;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=66584688; + //BA.debugLineNum = 66584688;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); +RDebugUtils.currentLine=66584689; + //BA.debugLineNum = 66584689;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +if (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("")) { +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $0.0"));}; +RDebugUtils.currentLine=66584690; + //BA.debugLineNum = 66584690;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; +if (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("")) { +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: 0"));}; }; - //BA.debugLineNum = 1126;BA.debugLine="Dim c7 As Cursor = B4XPages.MainPage.skmt.ExecQu"; +RDebugUtils.currentLine=66584696; + //BA.debugLineNum = 66584696;BA.debugLine="Dim c7 As Cursor = B4XPages.MainPage.skmt.ExecQu"; _c7 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c7 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS = 'DUR'"))); - //BA.debugLineNum = 1127;BA.debugLine="If c7.RowCount > 0 Then"; +RDebugUtils.currentLine=66584697; + //BA.debugLineNum = 66584697;BA.debugLine="If c7.RowCount > 0 Then"; if (_c7.getRowCount()>0) { - //BA.debugLineNum = 1128;BA.debugLine="c7.Position = 0"; +RDebugUtils.currentLine=66584698; + //BA.debugLineNum = 66584698;BA.debugLine="c7.Position = 0"; _c7.setPosition((int) (0)); - //BA.debugLineNum = 1130;BA.debugLine="Dim totaldev As Double = c7.GetString(\"PC_MONTO"; +RDebugUtils.currentLine=66584700; + //BA.debugLineNum = 66584700;BA.debugLine="Dim totaldev As Double = c7.GetString(\"PC_MONTO"; _totaldev = (double)(Double.parseDouble(_c7.GetString("PC_MONTO"))); }; - //BA.debugLineNum = 1134;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQu"; +RDebugUtils.currentLine=66584704; + //BA.debugLineNum = 66584704;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQu"; _c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS <> 'DUR' "))); - //BA.debugLineNum = 1135;BA.debugLine="If c6.RowCount > 0 Then"; +RDebugUtils.currentLine=66584705; + //BA.debugLineNum = 66584705;BA.debugLine="If c6.RowCount > 0 Then"; if (_c6.getRowCount()>0) { - //BA.debugLineNum = 1136;BA.debugLine="c6.Position = 0"; +RDebugUtils.currentLine=66584706; + //BA.debugLineNum = 66584706;BA.debugLine="c6.Position = 0"; _c6.setPosition((int) (0)); - //BA.debugLineNum = 1138;BA.debugLine="Dim totalprod As Double = c6.GetString(\"PC_MONT"; +RDebugUtils.currentLine=66584708; + //BA.debugLineNum = 66584708;BA.debugLine="Dim totalprod As Double = c6.GetString(\"PC_MONT"; _totalprod = (double)(Double.parseDouble(_c6.GetString("PC_MONTO"))); }; - //BA.debugLineNum = 1143;BA.debugLine="If totalprod = 0 Then"; +RDebugUtils.currentLine=66584713; + //BA.debugLineNum = 66584713;BA.debugLine="If totalprod = 0 Then"; if (_totalprod==0) { - //BA.debugLineNum = 1144;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=66584714; + //BA.debugLineNum = 66584714;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CEDIS = 'DUR'"); - //BA.debugLineNum = 1145;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; +RDebugUtils.currentLine=66584715; + //BA.debugLineNum = 66584715;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; __c.MsgboxAsync(BA.ObjectToCharSequence("Las devloluciones se elimanron por que no hay venta."),BA.ObjectToCharSequence("Atención"),ba); - }else if(_totalprod<_totaldev) { - //BA.debugLineNum = 1147;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; + }else +{RDebugUtils.currentLine=66584716; + //BA.debugLineNum = 66584716;BA.debugLine="Else If totalprod < totaldev Then"; +if (_totalprod<_totaldev) { +RDebugUtils.currentLine=66584717; + //BA.debugLineNum = 66584717;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CEDIS = 'DUR'"); - //BA.debugLineNum = 1148;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; +RDebugUtils.currentLine=66584718; + //BA.debugLineNum = 66584718;BA.debugLine="MsgboxAsync(\"Las devloluciones se elimanron por"; __c.MsgboxAsync(BA.ObjectToCharSequence("Las devloluciones se elimanron por que el monto de la devolucion es mayor al monto de la venta."),BA.ObjectToCharSequence("Atención"),ba); + }} +; }; - }; - //BA.debugLineNum = 1151;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66584721; + //BA.debugLineNum = 66584721;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 108;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 109;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return null; -} -public String _l_info_click() throws Exception{ - //BA.debugLineNum = 1265;BA.debugLine="Private Sub l_info_Click"; - //BA.debugLineNum = 1266;BA.debugLine="l_info.Visible = False"; -_l_info.setVisible(__c.False); - //BA.debugLineNum = 1267;BA.debugLine="End Sub"; +public String _l_info_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_info_click", false)) + {return ((String) Debug.delegate(ba, "l_info_click", null));} +RDebugUtils.currentLine=66846720; + //BA.debugLineNum = 66846720;BA.debugLine="Private Sub l_info_Click"; +RDebugUtils.currentLine=66846721; + //BA.debugLineNum = 66846721;BA.debugLine="l_info.Visible = False"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=66846722; + //BA.debugLineNum = 66846722;BA.debugLine="End Sub"; return ""; } -public String _l_prodx_click() throws Exception{ +public String _l_prodx_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_prodx_click", false)) + {return ((String) Debug.delegate(ba, "l_prodx_click", null));} anywheresoftware.b4a.objects.CSBuilder _cs = null; int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; @@ -2074,85 +3190,121 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null; int _hgfd = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _preciocat = null; float _recalculo = 0f; - //BA.debugLineNum = 1533;BA.debugLine="Sub l_prodx_click"; - //BA.debugLineNum = 1535;BA.debugLine="Dim cs As CSBuilder"; +RDebugUtils.currentLine=67436544; + //BA.debugLineNum = 67436544;BA.debugLine="Sub l_prodx_click"; +RDebugUtils.currentLine=67436546; + //BA.debugLineNum = 67436546;BA.debugLine="Dim cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1536;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=67436547; + //BA.debugLineNum = 67436547;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 1537;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1538;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(Ind"; +RDebugUtils.currentLine=67436548; + //BA.debugLineNum = 67436548;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=67436549; + //BA.debugLineNum = 67436549;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(Ind"; _p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 1539;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=67436550; + //BA.debugLineNum = 67436550;BA.debugLine="Private p As B4XView = p0.GetView(0)"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p = _p0.GetView((int) (0)); - //BA.debugLineNum = 1540;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView(2"; +RDebugUtils.currentLine=67436551; + //BA.debugLineNum = 67436551;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView(2"; _cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _cant1 = _p.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 1541;BA.debugLine="Private PRDOX As B4XView = p.GetView(1)"; +RDebugUtils.currentLine=67436552; + //BA.debugLineNum = 67436552;BA.debugLine="Private PRDOX As B4XView = p.GetView(1)"; _prdox = new anywheresoftware.b4a.objects.B4XViewWrapper(); _prdox = _p.GetView((int) (1)); - //BA.debugLineNum = 1542;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1545;BA.debugLine="Log(cant1.Text)"; -__c.LogImpl("467371020",_cant1.getText(),0); - //BA.debugLineNum = 1546;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Tex"; +RDebugUtils.currentLine=67436553; + //BA.debugLineNum = 67436553;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=67436556; + //BA.debugLineNum = 67436556;BA.debugLine="Log(cant1.Text)"; +__c.LogImpl("067436556",_cant1.getText(),0); +RDebugUtils.currentLine=67436557; + //BA.debugLineNum = 67436557;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Tex"; _prodx1 = __c.Regex.Split(__c.CRLF,_prdox.getText()); - //BA.debugLineNum = 1547;BA.debugLine="Log(prodx1(1))"; -__c.LogImpl("467371022",_prodx1[(int) (1)],0); - //BA.debugLineNum = 1548;BA.debugLine="p_promodesc.Visible = True"; -_p_promodesc.setVisible(__c.True); - //BA.debugLineNum = 1549;BA.debugLine="p_promodesc.Height = Root.Height"; -_p_promodesc.setHeight(_root.getHeight()); - //BA.debugLineNum = 1550;BA.debugLine="p_promodesc.Width = Root.Width"; -_p_promodesc.setWidth(_root.getWidth()); - //BA.debugLineNum = 1551;BA.debugLine="Dim textprom As String = \"\""; +RDebugUtils.currentLine=67436558; + //BA.debugLineNum = 67436558;BA.debugLine="Log(prodx1(1))"; +__c.LogImpl("067436558",_prodx1[(int) (1)],0); +RDebugUtils.currentLine=67436559; + //BA.debugLineNum = 67436559;BA.debugLine="p_promodesc.Visible = True"; +__ref._p_promodesc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=67436560; + //BA.debugLineNum = 67436560;BA.debugLine="p_promodesc.Height = Root.Height"; +__ref._p_promodesc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=67436561; + //BA.debugLineNum = 67436561;BA.debugLine="p_promodesc.Width = Root.Width"; +__ref._p_promodesc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=67436562; + //BA.debugLineNum = 67436562;BA.debugLine="Dim textprom As String = \"\""; _textprom = ""; - //BA.debugLineNum = 1552;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuery($\""; +RDebugUtils.currentLine=67436563; + //BA.debugLineNum = 67436563;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuery($\""; _descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+__c.SmartStringFormatter("",(Object)(_subs._traetipocliente /*int*/ (ba)))+",') > 0 ")))); - //BA.debugLineNum = 1553;BA.debugLine="Log($\"SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_"; -__c.LogImpl("467371028",("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"') AND INSTR(',' || CAT_DP_TIER || ',' , ',"+__c.SmartStringFormatter("",(Object)(_subs._traetipocliente /*int*/ (ba)))+",') > 0 "),0); - //BA.debugLineNum = 1554;BA.debugLine="Log(descpro.RowCount)"; -__c.LogImpl("467371029",BA.NumberToString(_descpro.getRowCount()),0); - //BA.debugLineNum = 1555;BA.debugLine="If descpro.RowCount > 0 Then"; +RDebugUtils.currentLine=67436564; + //BA.debugLineNum = 67436564;BA.debugLine="Log($\"SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_"; +__c.LogImpl("067436564",("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"') AND INSTR(',' || CAT_DP_TIER || ',' , ',"+__c.SmartStringFormatter("",(Object)(_subs._traetipocliente /*int*/ (ba)))+",') > 0 "),0); +RDebugUtils.currentLine=67436565; + //BA.debugLineNum = 67436565;BA.debugLine="Log(descpro.RowCount)"; +__c.LogImpl("067436565",BA.NumberToString(_descpro.getRowCount()),0); +RDebugUtils.currentLine=67436566; + //BA.debugLineNum = 67436566;BA.debugLine="If descpro.RowCount > 0 Then"; if (_descpro.getRowCount()>0) { - //BA.debugLineNum = 1556;BA.debugLine="l_promodesc.Text = \"\""; -_l_promodesc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1557;BA.debugLine="For hgfd = 0 To descpro.RowCount -1"; +RDebugUtils.currentLine=67436567; + //BA.debugLineNum = 67436567;BA.debugLine="l_promodesc.Text = \"\""; +__ref._l_promodesc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=67436568; + //BA.debugLineNum = 67436568;BA.debugLine="For hgfd = 0 To descpro.RowCount -1"; { final int step21 = 1; final int limit21 = (int) (_descpro.getRowCount()-1); _hgfd = (int) (0) ; for (;_hgfd <= limit21 ;_hgfd = _hgfd + step21 ) { - //BA.debugLineNum = 1558;BA.debugLine="descpro.Position = hgfd"; +RDebugUtils.currentLine=67436569; + //BA.debugLineNum = 67436569;BA.debugLine="descpro.Position = hgfd"; _descpro.setPosition(_hgfd); - //BA.debugLineNum = 1560;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQuer"; +RDebugUtils.currentLine=67436571; + //BA.debugLineNum = 67436571;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQuer"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"'")))); - //BA.debugLineNum = 1561;BA.debugLine="preciocat.Position = 0"; +RDebugUtils.currentLine=67436572; + //BA.debugLineNum = 67436572;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 1562;BA.debugLine="textprom = \"\""; +RDebugUtils.currentLine=67436573; + //BA.debugLineNum = 67436573;BA.debugLine="textprom = \"\""; _textprom = ""; - //BA.debugLineNum = 1563;BA.debugLine="Private recalculo As Float = preciocat.GetStrin"; +RDebugUtils.currentLine=67436574; + //BA.debugLineNum = 67436574;BA.debugLine="Private recalculo As Float = preciocat.GetStrin"; _recalculo = (float) ((double)(Double.parseDouble(_preciocat.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_preciocat.GetString("CAT_GP_PRECIO")))*(double)(Double.parseDouble(_descpro.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False)))); - //BA.debugLineNum = 1565;BA.debugLine="textprom = cs.Color(Colors.Black).Append(\"Descu"; +RDebugUtils.currentLine=67436576; + //BA.debugLineNum = 67436576;BA.debugLine="textprom = cs.Color(Colors.Black).Append(\"Descu"; _textprom = BA.ObjectToString(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Descuento "+BA.NumberToString((_hgfd+1))+__c.CRLF+__c.CRLF+" Min: "+BA.NumberToString(_descpro.GetInt("CAT_PD_RANGO"))+" Max: "+BA.NumberToString(_descpro.GetInt("CAT_PD_RANGO2"))+__c.CRLF+__c.CRLF)).Pop().Color(__c.Colors.Red).Size((int) (18)).Append(BA.ObjectToCharSequence("Descuento: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+__c.CRLF+__c.CRLF)).Pop().Color(__c.Colors.Red).Size((int) (18)).Append(BA.ObjectToCharSequence("Precio: "+__c.NumberFormat2(_recalculo,(int) (0),(int) (0),(int) (2),__c.False)+__c.CRLF+__c.CRLF)).PopAll()); - //BA.debugLineNum = 1566;BA.debugLine="l_promodesc.Text = \"\""; -_l_promodesc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1567;BA.debugLine="l_promodesc.Text = textprom"; -_l_promodesc.setText(BA.ObjectToCharSequence(_textprom)); +RDebugUtils.currentLine=67436577; + //BA.debugLineNum = 67436577;BA.debugLine="l_promodesc.Text = \"\""; +__ref._l_promodesc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=67436578; + //BA.debugLineNum = 67436578;BA.debugLine="l_promodesc.Text = textprom"; +__ref._l_promodesc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_textprom)); } }; }else { - //BA.debugLineNum = 1573;BA.debugLine="l_promodesc.Text = \"El producto no tiene descuen"; -_l_promodesc.setText(BA.ObjectToCharSequence("El producto no tiene descuento o el tipo de cliente no es apto para este descuento.")); +RDebugUtils.currentLine=67436584; + //BA.debugLineNum = 67436584;BA.debugLine="l_promodesc.Text = \"El producto no tiene descuen"; +__ref._l_promodesc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("El producto no tiene descuento o el tipo de cliente no es apto para este descuento.")); }; - //BA.debugLineNum = 1577;BA.debugLine="End Sub"; +RDebugUtils.currentLine=67436588; + //BA.debugLineNum = 67436588;BA.debugLine="End Sub"; return ""; } -public String _l_prodx_longclick() throws Exception{ +public String _l_prodx_longclick(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_prodx_longclick", false)) + {return ((String) Debug.delegate(ba, "l_prodx_longclick", null));} anywheresoftware.b4a.objects.CSBuilder _cs = null; int _index = 0; anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; @@ -2163,283 +3315,154 @@ String[] _prodx1 = null; String[] _prodx3 = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _dev = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _devo = null; - //BA.debugLineNum = 2306;BA.debugLine="Private Sub l_prodX_LongClick"; - //BA.debugLineNum = 2307;BA.debugLine="If tipo_venta <> \"PREVENTA_FUTURA\" Then"; -if ((_tipo_venta).equals("PREVENTA_FUTURA") == false) { - //BA.debugLineNum = 2310;BA.debugLine="Log(l_total.Text)"; -__c.LogImpl("467895300",_l_total.getText(),0); - //BA.debugLineNum = 2311;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CEDIS <> 'DUR'"))); - //BA.debugLineNum = 2313;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2314;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2316;BA.debugLine="If c.GetString(\"PC_MONTO\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("PC_MONTO")))>0) { - //BA.debugLineNum = 2319;BA.debugLine="Dim cs As CSBuilder"; +RDebugUtils.currentLine=67960832; + //BA.debugLineNum = 67960832;BA.debugLine="Private Sub l_prodX_LongClick"; +RDebugUtils.currentLine=67960833; + //BA.debugLineNum = 67960833;BA.debugLine="If tipo_venta <> \"PREVENTA_FUTURA\" Then"; +if ((__ref._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA") == false) { +RDebugUtils.currentLine=67960836; + //BA.debugLineNum = 67960836;BA.debugLine="Log(l_total.Text)"; +__c.LogImpl("067960836",__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),0); +RDebugUtils.currentLine=67960837; + //BA.debugLineNum = 67960837;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CEDIS <> 'DUR'"))); +RDebugUtils.currentLine=67960839; + //BA.debugLineNum = 67960839;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=67960840; + //BA.debugLineNum = 67960840;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67960842; + //BA.debugLineNum = 67960842;BA.debugLine="If c.GetString(\"PC_MONTO\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")))>0) { +RDebugUtils.currentLine=67960845; + //BA.debugLineNum = 67960845;BA.debugLine="Dim cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 2320;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=67960846; + //BA.debugLineNum = 67960846;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 2321;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView("; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 2322;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(In"; +RDebugUtils.currentLine=67960847; + //BA.debugLineNum = 67960847;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView("; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=67960848; + //BA.debugLineNum = 67960848;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(In"; _p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 2323;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=67960849; + //BA.debugLineNum = 67960849;BA.debugLine="Private p As B4XView = p0.GetView(0)"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p = _p0.GetView((int) (0)); - //BA.debugLineNum = 2324;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; +RDebugUtils.currentLine=67960850; + //BA.debugLineNum = 67960850;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; _cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _cant1 = _p.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 2325;BA.debugLine="Private PRDOX As B4XView = p.GetView(1)"; +RDebugUtils.currentLine=67960851; + //BA.debugLineNum = 67960851;BA.debugLine="Private PRDOX As B4XView = p.GetView(1)"; _prdox = new anywheresoftware.b4a.objects.B4XViewWrapper(); _prdox = _p.GetView((int) (1)); - //BA.debugLineNum = 2326;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView("; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 2329;BA.debugLine="Log(cant1.Text)"; -__c.LogImpl("467895319",_cant1.getText(),0); - //BA.debugLineNum = 2330;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Te"; +RDebugUtils.currentLine=67960852; + //BA.debugLineNum = 67960852;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView("; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=67960855; + //BA.debugLineNum = 67960855;BA.debugLine="Log(cant1.Text)"; +__c.LogImpl("067960855",_cant1.getText(),0); +RDebugUtils.currentLine=67960856; + //BA.debugLineNum = 67960856;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Te"; _prodx1 = __c.Regex.Split(__c.CRLF,_prdox.getText()); - //BA.debugLineNum = 2331;BA.debugLine="Dim prodx3() As String=Regex.Split(\"\\$\",prodx1(1"; +RDebugUtils.currentLine=67960857; + //BA.debugLineNum = 67960857;BA.debugLine="Dim prodx3() As String=Regex.Split(\"\\$\",prodx1(1"; _prodx3 = __c.Regex.Split("\\$",_prodx1[(int) (1)]); - //BA.debugLineNum = 2332;BA.debugLine="Log(prodx1(1))"; -__c.LogImpl("467895322",_prodx1[(int) (1)],0); - //BA.debugLineNum = 2334;BA.debugLine="preciodev = prodx3(1)"; -_preciodev = (double)(Double.parseDouble(_prodx3[(int) (1)])); - //BA.debugLineNum = 2335;BA.debugLine="nombredev = prodx1(0)"; -_nombredev = _prodx1[(int) (0)]; - //BA.debugLineNum = 2337;BA.debugLine="Dim dev As Cursor = B4XPages.MainPage.skmt.ExecQ"; +RDebugUtils.currentLine=67960858; + //BA.debugLineNum = 67960858;BA.debugLine="Log(prodx1(1))"; +__c.LogImpl("067960858",_prodx1[(int) (1)],0); +RDebugUtils.currentLine=67960860; + //BA.debugLineNum = 67960860;BA.debugLine="preciodev = prodx3(1)"; +__ref._preciodev /*double*/ = (double)(Double.parseDouble(_prodx3[(int) (1)])); +RDebugUtils.currentLine=67960861; + //BA.debugLineNum = 67960861;BA.debugLine="nombredev = prodx1(0)"; +__ref._nombredev /*String*/ = _prodx1[(int) (0)]; +RDebugUtils.currentLine=67960863; + //BA.debugLineNum = 67960863;BA.debugLine="Dim dev As Cursor = B4XPages.MainPage.skmt.ExecQ"; _dev = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _dev = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_DEV, 0) AS CAT_GP_DEV, CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"'")))); - //BA.debugLineNum = 2338;BA.debugLine="dev.Position = 0"; +RDebugUtils.currentLine=67960864; + //BA.debugLineNum = 67960864;BA.debugLine="dev.Position = 0"; _dev.setPosition((int) (0)); - //BA.debugLineNum = 2339;BA.debugLine="If dev.GetInt(\"CAT_GP_DEV\") = 1 Then"; +RDebugUtils.currentLine=67960865; + //BA.debugLineNum = 67960865;BA.debugLine="If dev.GetInt(\"CAT_GP_DEV\") = 1 Then"; if (_dev.GetInt("CAT_GP_DEV")==1) { - //BA.debugLineNum = 2342;BA.debugLine="c.GetString(\"PC_MONTO\")"; -_c.GetString("PC_MONTO"); - //BA.debugLineNum = 2345;BA.debugLine="If c.GetString(\"PC_MONTO\") < dev.GetInt(\"CAT_G"; -if ((double)(Double.parseDouble(_c.GetString("PC_MONTO")))<_dev.GetInt("CAT_GP_PRECIO")) { - //BA.debugLineNum = 2346;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al pr"; +RDebugUtils.currentLine=67960868; + //BA.debugLineNum = 67960868;BA.debugLine="c.GetString(\"PC_MONTO\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"); +RDebugUtils.currentLine=67960871; + //BA.debugLineNum = 67960871;BA.debugLine="If c.GetString(\"PC_MONTO\") < dev.GetInt(\"CAT_G"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")))<_dev.GetInt("CAT_GP_PRECIO")) { +RDebugUtils.currentLine=67960872; + //BA.debugLineNum = 67960872;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al pr"; __c.MsgboxAsync(BA.ObjectToCharSequence("El monto de venta es menor al precio de este producto"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 2347;BA.debugLine="Log(1)"; -__c.LogImpl("467895337",BA.NumberToString(1),0); +RDebugUtils.currentLine=67960873; + //BA.debugLineNum = 67960873;BA.debugLine="Log(1)"; +__c.LogImpl("067960873",BA.NumberToString(1),0); }else { - //BA.debugLineNum = 2349;BA.debugLine="p_devo.Visible = True"; -_p_devo.setVisible(__c.True); - //BA.debugLineNum = 2350;BA.debugLine="p_devo.Height = Root.Height"; -_p_devo.setHeight(_root.getHeight()); - //BA.debugLineNum = 2351;BA.debugLine="p_devo.Width = Root.Width"; -_p_devo.setWidth(_root.getWidth()); - //BA.debugLineNum = 2352;BA.debugLine="l_proddev.Text = prodx1(0)"; -_l_proddev.setText(BA.ObjectToCharSequence(_prodx1[(int) (0)])); - //BA.debugLineNum = 2355;BA.debugLine="Dim devo As Cursor = B4XPages.MainPage.skmt.E"; +RDebugUtils.currentLine=67960875; + //BA.debugLineNum = 67960875;BA.debugLine="p_devo.Visible = True"; +__ref._p_devo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=67960876; + //BA.debugLineNum = 67960876;BA.debugLine="p_devo.Height = Root.Height"; +__ref._p_devo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=67960877; + //BA.debugLineNum = 67960877;BA.debugLine="p_devo.Width = Root.Width"; +__ref._p_devo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=67960878; + //BA.debugLineNum = 67960878;BA.debugLine="l_proddev.Text = prodx1(0)"; +__ref._l_proddev /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_prodx1[(int) (0)])); +RDebugUtils.currentLine=67960881; + //BA.debugLineNum = 67960881;BA.debugLine="Dim devo As Cursor = B4XPages.MainPage.skmt.E"; _devo = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _devo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select SUM(IFNULL(PE_CANT,0)) as suma from PEDIDO where PE_PRONOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"' AND PE_CEDIS = 'DUR'")))); - //BA.debugLineNum = 2356;BA.debugLine="devo.Position = 0"; +RDebugUtils.currentLine=67960882; + //BA.debugLineNum = 67960882;BA.debugLine="devo.Position = 0"; _devo.setPosition((int) (0)); - //BA.debugLineNum = 2358;BA.debugLine="l_cantdev.Text = devo.GetInt(\"suma\")"; -_l_cantdev.setText(BA.ObjectToCharSequence(_devo.GetInt("suma"))); +RDebugUtils.currentLine=67960884; + //BA.debugLineNum = 67960884;BA.debugLine="l_cantdev.Text = devo.GetInt(\"suma\")"; +__ref._l_cantdev /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_devo.GetInt("suma"))); }; - }else if(_dev.GetInt("CAT_GP_DEV")==0) { - //BA.debugLineNum = 2368;BA.debugLine="MsgboxAsync(\"El producto no se puede devolver\","; + }else +{RDebugUtils.currentLine=67960893; + //BA.debugLineNum = 67960893;BA.debugLine="Else If dev.GetInt(\"CAT_GP_DEV\") = 0 Then"; +if (_dev.GetInt("CAT_GP_DEV")==0) { +RDebugUtils.currentLine=67960894; + //BA.debugLineNum = 67960894;BA.debugLine="MsgboxAsync(\"El producto no se puede devolver\","; __c.MsgboxAsync(BA.ObjectToCharSequence("El producto no se puede devolver"),BA.ObjectToCharSequence("Atención"),ba); - }; + }} +; }else { - //BA.debugLineNum = 2374;BA.debugLine="MsgboxAsync(\"El Cliente no tiene venta para mete"; +RDebugUtils.currentLine=67960900; + //BA.debugLineNum = 67960900;BA.debugLine="MsgboxAsync(\"El Cliente no tiene venta para mete"; __c.MsgboxAsync(BA.ObjectToCharSequence("El Cliente no tiene venta para meter devoluciones"),BA.ObjectToCharSequence("Atención"),ba); }; }; }; - //BA.debugLineNum = 2380;BA.debugLine="End Sub"; +RDebugUtils.currentLine=67960906; + //BA.debugLineNum = 67960906;BA.debugLine="End Sub"; return ""; } -public String _llenacatalogo(String _subtipo1) throws Exception{ - //BA.debugLineNum = 607;BA.debugLine="Sub llenaCatalogo(subtipo1 As String)"; - //BA.debugLineNum = 630;BA.debugLine="End Sub"; +public String _llenacatalogo(gunav2.keymon.com.mx.c_productos __ref,String _subtipo1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "llenacatalogo", false)) + {return ((String) Debug.delegate(ba, "llenacatalogo", new Object[] {_subtipo1}));} +RDebugUtils.currentLine=66125824; + //BA.debugLineNum = 66125824;BA.debugLine="Sub llenaCatalogo(subtipo1 As String)"; +RDebugUtils.currentLine=66125847; + //BA.debugLineNum = 66125847;BA.debugLine="End Sub"; return ""; } -public String _llenaprodsll(anywheresoftware.b4a.sql.SQL.ResultSetWrapper _p) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _cantsmap = null; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _pe = null; -int _cant = 0; -anywheresoftware.b4a.objects.collections.Map _tempmap = null; -anywheresoftware.b4a.objects.collections.List _listaprodsconcant = null; -anywheresoftware.b4a.objects.collections.List _listaprodsconcantindex = null; -int _q = 0; -int _cont = 0; -int _pr0 = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -int _pr = 0; - //BA.debugLineNum = 1785;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)"; - //BA.debugLineNum = 1786;BA.debugLine="Log(\"Iniciamos LlenaProdsLL\")"; -__c.LogImpl("467567617","Iniciamos LlenaProdsLL",0); - //BA.debugLineNum = 1787;BA.debugLine="listaProds.Initialize"; -_listaprods.Initialize(); - //BA.debugLineNum = 1788;BA.debugLine="If hayPedido Then 'Si hay pedido obtenemos las ca"; -if (_haypedido) { - //BA.debugLineNum = 1789;BA.debugLine="Dim cantsMap As Map"; -_cantsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1790;BA.debugLine="cantsMap.Initialize"; -_cantsmap.Initialize(); - //BA.debugLineNum = 1791;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; -if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 1792;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex"; -_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID, PE_CANT from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"' AND PE_FUTURO = '1' ")))); - }else { - //BA.debugLineNum = 1794;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex"; -_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID, PE_CANT from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"' AND PE_FUTURO = '0' ")))); - }; - //BA.debugLineNum = 1797;BA.debugLine="Do While pe.NextRow"; -while (_pe.NextRow()) { - //BA.debugLineNum = 1798;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 1800;BA.debugLine="cantsMap.put(pe.GetString(\"PE_PROID\"), pe.GetS"; -_cantsmap.Put((Object)(_pe.GetString("PE_PROID")),(Object)(_pe.GetString("PE_CANT"))); - //BA.debugLineNum = 1804;BA.debugLine="Log(clienteId &\"|||||\"&pe.GetString(\"PE_PROID\")"; -__c.LogImpl("467567635",_clienteid+"|||||"+_pe.GetString("PE_PROID")+"|||||"+_pe.GetString("PE_CANT"),0); - } -; - //BA.debugLineNum = 1806;BA.debugLine="pe.Close"; -_pe.Close(); - }; - //BA.debugLineNum = 1809;BA.debugLine="If p.IsInitialized Then"; -if (_p.IsInitialized()) { - }else { - //BA.debugLineNum = 1816;BA.debugLine="LogColor(Starter.tabla,Colors.blue)"; -__c.LogImpl("467567647",_starter._tabla /*String*/ ,__c.Colors.Blue); - //BA.debugLineNum = 1840;BA.debugLine="If Subs.traeTipoCliente = 5 Then"; -if (_subs._traetipocliente /*int*/ (ba)==5) { - //BA.debugLineNum = 1841;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe"; -_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_LISTAPRECIO, CAT_LISTAPRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPO <> 'PROMOS' and CAT_GP_TIPO <> 'PROMOCION'\n"+" order by\n"+" Case CAT_GP_TIPOPROD when 'PRIORITARIO' THEN 0\n"+" WHEN 'ESTRATEGICO' THEN 1\n"+" WHEN 'COMPLEMENTARIO' then 2\n"+" Else 3\n"+" End, CAT_GP_NOMBRE")))); - }else { - //BA.debugLineNum = 1849;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe"; -_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_LISTAPRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPO <> 'PROMOS' and CAT_GP_TIPO <> 'PROMOCION'\n"+" order by\n"+" Case CAT_GP_TIPOPROD when 'PRIORITARIO' THEN 0\n"+" WHEN 'ESTRATEGICO' THEN 1\n"+" WHEN 'COMPLEMENTARIO' then 2\n"+" Else 3\n"+" End, CAT_GP_NOMBRE")))); - }; - }; - //BA.debugLineNum = 1876;BA.debugLine="Do While p.NextRow"; -while (_p.NextRow()) { - //BA.debugLineNum = 1877;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 1878;BA.debugLine="If hayPedido And cantsMap.ContainsKey(p.GetStrin"; -if (_haypedido && _cantsmap.ContainsKey((Object)(_p.GetString("CAT_GP_ID")))) { - //BA.debugLineNum = 1879;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))"; -__c.LogImpl("467567710",_p.GetString("CAT_GP_ID"),0); - //BA.debugLineNum = 1880;BA.debugLine="cant = cantsMap.Get(p.GetString(\"CAT_GP_ID\"))"; -_cant = (int)(BA.ObjectToNumber(_cantsmap.Get((Object)(_p.GetString("CAT_GP_ID"))))); - }; - //BA.debugLineNum = 1882;BA.debugLine="If Subs.traeTipoCliente = 5 Then"; -if (_subs._traetipocliente /*int*/ (ba)==5) { - //BA.debugLineNum = 1883;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G"; -if ((_p.GetString("CAT_GP_ID")).equals("GUN141") == false && (_p.GetString("CAT_GP_ID")).equals("GUN142") == false) { - //BA.debugLineNum = 1886;BA.debugLine="Dim tempMap As Map = CreateMap( _"; -_tempmap = new anywheresoftware.b4a.objects.collections.Map(); -_tempmap = __c.createMap(new Object[] {(Object)("prod"),(Object)(_p.GetString("CAT_GP_NOMBRE")),(Object)("precio"),(Object)(_p.GetString("CAT_LISTAPRECIO")),(Object)("prioridad"),(Object)(_p.GetString("CAT_GP_TIPOPROD")),(Object)("almacen"),(Object)(_p.GetString("CAT_GP_ALMACEN")),(Object)("id"),(Object)(_p.GetString("CAT_GP_ID")),(Object)("cant"),(Object)(_cant),(Object)("conversion"),(Object)(1),(Object)("precio_caja"),(Object)(0),(Object)("b_caja"),(Object)(0)}); - //BA.debugLineNum = 1897;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map"; -_listaprods.Add((Object)(_tempmap.getObject())); - }; - }else { - //BA.debugLineNum = 1900;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G"; -if ((_p.GetString("CAT_GP_ID")).equals("GUN141") == false && (_p.GetString("CAT_GP_ID")).equals("GUN142") == false) { - //BA.debugLineNum = 1903;BA.debugLine="Dim tempMap As Map = CreateMap( _"; -_tempmap = new anywheresoftware.b4a.objects.collections.Map(); -_tempmap = __c.createMap(new Object[] {(Object)("prod"),(Object)(_p.GetString("CAT_GP_NOMBRE")),(Object)("precio"),(Object)(_p.GetString("CAT_GP_PRECIO")),(Object)("prioridad"),(Object)(_p.GetString("CAT_GP_TIPOPROD")),(Object)("almacen"),(Object)(_p.GetString("CAT_GP_ALMACEN")),(Object)("id"),(Object)(_p.GetString("CAT_GP_ID")),(Object)("cant"),(Object)(_cant),(Object)("conversion"),(Object)(1),(Object)("precio_caja"),(Object)(0),(Object)("b_caja"),(Object)(0)}); - //BA.debugLineNum = 1914;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map"; -_listaprods.Add((Object)(_tempmap.getObject())); - }; - }; - } -; - //BA.debugLineNum = 1921;BA.debugLine="PCLV.Commit"; -_pclv._commit /*String*/ (); - //BA.debugLineNum = 1922;BA.debugLine="clv_prods_ll.Clear"; -_clv_prods_ll._clear(); - //BA.debugLineNum = 1923;BA.debugLine="Private listaProdsConCant, listaProdsConCantIndex"; -_listaprodsconcant = new anywheresoftware.b4a.objects.collections.List(); -_listaprodsconcantindex = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1924;BA.debugLine="listaProdsConCant.Initialize"; -_listaprodsconcant.Initialize(); - //BA.debugLineNum = 1925;BA.debugLine="listaProdsConCantIndex.Initialize"; -_listaprodsconcantindex.Initialize(); - //BA.debugLineNum = 1926;BA.debugLine="listaHints.Initialize"; -_listahints.Initialize(); - //BA.debugLineNum = 1927;BA.debugLine="For q=0 To listaProds.Size-1' quitamos los produc"; -{ -final int step51 = 1; -final int limit51 = (int) (_listaprods.getSize()-1); -_q = (int) (0) ; -for (;_q <= limit51 ;_q = _q + step51 ) { - //BA.debugLineNum = 1928;BA.debugLine="If listaProds.Get(q).As(Map).Get(\"cant\").As(Int)"; -if (((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_q)))).Get((Object)("cant")))))!=0) { - //BA.debugLineNum = 1930;BA.debugLine="listaProdsConCant.Add(listaProds.Get(q))"; -_listaprodsconcant.Add(_listaprods.Get(_q)); - //BA.debugLineNum = 1931;BA.debugLine="listaProdsConCantIndex.Add(q)"; -_listaprodsconcantindex.Add((Object)(_q)); - }; - } -}; - //BA.debugLineNum = 1935;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 1936;BA.debugLine="For pr0=0 To listaProdsConCant.Size - 1 'Agregamo"; -{ -final int step58 = 1; -final int limit58 = (int) (_listaprodsconcant.getSize()-1); -_pr0 = (int) (0) ; -for (;_pr0 <= limit58 ;_pr0 = _pr0 + step58 ) { - //BA.debugLineNum = 1937;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 1939;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsVi"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv_prods_ll._asview().getWidth(),__c.DipToCurrent((int) (65))); - //BA.debugLineNum = 1940;BA.debugLine="clv_prods_ll.Add(Pnl, listaProdsConCant.Get(pr0)"; -_clv_prods_ll._add(_pnl,_listaprodsconcant.Get(_pr0)); - //BA.debugLineNum = 1941;BA.debugLine="listaHints.Add(listaProdsConCant.get(pr0).As(Map"; -_listahints.Add(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprodsconcant.Get(_pr0)))).Get((Object)("prod"))); - //BA.debugLineNum = 1942;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - } -}; - //BA.debugLineNum = 1946;BA.debugLine="For pr=0 To listaProds.Size-1"; -{ -final int step65 = 1; -final int limit65 = (int) (_listaprods.getSize()-1); -_pr = (int) (0) ; -for (;_pr <= limit65 ;_pr = _pr + step65 ) { - //BA.debugLineNum = 1947;BA.debugLine="If listaProdsConCantIndex.IndexOf(pr) = -1 Then"; -if (_listaprodsconcantindex.IndexOf((Object)(_pr))==-1) { - //BA.debugLineNum = 1948;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 1949;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsV"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv_prods_ll._asview().getWidth(),__c.DipToCurrent((int) (65))); - //BA.debugLineNum = 1952;BA.debugLine="listaHints.Add(listaProds.get(pr).As(Map).Get(\""; -_listahints.Add(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_pr)))).Get((Object)("prod"))); - //BA.debugLineNum = 1953;BA.debugLine="clv_prods_ll.Add(Pnl, listaProds.Get(pr))"; -_clv_prods_ll._add(_pnl,_listaprods.Get(_pr)); - //BA.debugLineNum = 1955;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - }; - } -}; - //BA.debugLineNum = 1962;BA.debugLine="PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size"; -_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._maxvalue /*int*/ = _clv_prods_ll._getsize(); - //BA.debugLineNum = 1963;BA.debugLine="PCLV.B4XSeekBar1.MinValue = 0"; -_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._minvalue /*int*/ = (int) (0); - //BA.debugLineNum = 1964;BA.debugLine="PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20"; -_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ = (int) (_clv_prods_ll._getsize()/(double)20); - //BA.debugLineNum = 1965;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size"; -_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ (_clv_prods_ll._getsize()); - //BA.debugLineNum = 1966;BA.debugLine="PCLV.B4XSeekBar1.Update"; -_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (); - //BA.debugLineNum = 1968;BA.debugLine="reiniciarlistaProds = False"; -_reiniciarlistaprods = __c.False; - //BA.debugLineNum = 1969;BA.debugLine="End Sub"; -return ""; -} -public String _lv_catalogos_itemclick(int _position,Object _value) throws Exception{ +public String _lv_catalogos_itemclick(gunav2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_catalogos_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_catalogos_itemclick", new Object[] {_position,_value}));} anywheresoftware.b4a.objects.LabelWrapper _label1 = null; anywheresoftware.b4a.objects.LabelWrapper _label2 = null; anywheresoftware.b4a.objects.LabelWrapper _label13 = null; @@ -2451,224 +3474,322 @@ int _tipocliente = 0; int _i = 0; boolean _muestrapromo = false; anywheresoftware.b4a.objects.collections.Map _tm = null; - //BA.debugLineNum = 275;BA.debugLine="Sub lv_catalogos_ItemClick (Position As Int, Value"; - //BA.debugLineNum = 276;BA.debugLine="If Value = \"PORTAFOLIO\" Then"; +RDebugUtils.currentLine=65929216; + //BA.debugLineNum = 65929216;BA.debugLine="Sub lv_catalogos_ItemClick (Position As Int, Value"; +RDebugUtils.currentLine=65929217; + //BA.debugLineNum = 65929217;BA.debugLine="If Value = \"PORTAFOLIO\" Then"; if ((_value).equals((Object)("PORTAFOLIO"))) { - //BA.debugLineNum = 278;BA.debugLine="lfila.text = \"PRODUCTOS\""; -_lfila.setText(BA.ObjectToCharSequence("PRODUCTOS")); - //BA.debugLineNum = 279;BA.debugLine="lv_catalogos.Visible = False"; -_lv_catalogos.setVisible(__c.False); - //BA.debugLineNum = 281;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; -if (_clv_prods_ll._getsize()==0) { -_llenaprodsll((anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(__c.Null)));}; - //BA.debugLineNum = 282;BA.debugLine="clv_prods_ll.AsView.Visible = True"; -_clv_prods_ll._asview().setVisible(__c.True); - //BA.debugLineNum = 283;BA.debugLine="If hayPedido Then p_botonesVenta.Visible = True"; -if (_haypedido) { -_p_botonesventa.setVisible(__c.True);}; - //BA.debugLineNum = 286;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); - //BA.debugLineNum = 287;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 288;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 289;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; -__c.LogImpl("465863694",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0); - //BA.debugLineNum = 290;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; -_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART"))); - //BA.debugLineNum = 291;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; -_l_total.setText(BA.ObjectToCharSequence("Total: $"+_c.GetString("PC_MONTO"))); - //BA.debugLineNum = 292;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; -if (_l_total.getText()== null || (_l_total.getText()).equals("null") || (_l_total.getText()).equals("")) { -_l_total.setText(BA.ObjectToCharSequence("Total: $0.0"));}; - //BA.debugLineNum = 293;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; -if (_l_totprods.getText()== null || (_l_totprods.getText()).equals("null") || (_l_totprods.getText()).equals("")) { -_l_totprods.setText(BA.ObjectToCharSequence("Prods: 0"));}; +RDebugUtils.currentLine=65929219; + //BA.debugLineNum = 65929219;BA.debugLine="lfila.text = \"PRODUCTOS\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PRODUCTOS")); +RDebugUtils.currentLine=65929220; + //BA.debugLineNum = 65929220;BA.debugLine="lv_catalogos.Visible = False"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=65929222; + //BA.debugLineNum = 65929222;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; +if (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()==0) { +__ref._llenaprodsll /*String*/ (null,(anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(__c.Null)));}; +RDebugUtils.currentLine=65929223; + //BA.debugLineNum = 65929223;BA.debugLine="clv_prods_ll.AsView.Visible = True"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.True); +RDebugUtils.currentLine=65929224; + //BA.debugLineNum = 65929224;BA.debugLine="If hayPedido Then p_botonesVenta.Visible = True"; +if (__ref._haypedido /*boolean*/ ) { +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);}; +RDebugUtils.currentLine=65929227; + //BA.debugLineNum = 65929227;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFN"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); +RDebugUtils.currentLine=65929228; + //BA.debugLineNum = 65929228;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=65929229; + //BA.debugLineNum = 65929229;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=65929230; + //BA.debugLineNum = 65929230;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt"; +__c.LogImpl("065929230",("registros: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")))+""),0); +RDebugUtils.currentLine=65929231; + //BA.debugLineNum = 65929231;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=65929232; + //BA.debugLineNum = 65929232;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); +RDebugUtils.currentLine=65929233; + //BA.debugLineNum = 65929233;BA.debugLine="If l_total.Text = Null Or l_total.Text = \"null\""; +if (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("")) { +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Total: $0.0"));}; +RDebugUtils.currentLine=65929234; + //BA.debugLineNum = 65929234;BA.debugLine="If l_totProds.Text = Null Or l_totProds.Text ="; +if (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()== null || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") || (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("")) { +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Prods: 0"));}; }; }else { - //BA.debugLineNum = 296;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -_clv_prods_ll._asview().setVisible(__c.False); - //BA.debugLineNum = 297;BA.debugLine="lv_promos.Visible = True"; -_lv_promos.setVisible(__c.True); - //BA.debugLineNum = 298;BA.debugLine="lfila.text = \"PROMOCIONES\""; -_lfila.setText(BA.ObjectToCharSequence("PROMOCIONES")); - //BA.debugLineNum = 299;BA.debugLine="lv_catalogos.Visible = False"; -_lv_catalogos.setVisible(__c.False); - //BA.debugLineNum = 319;BA.debugLine="lv_promos.Clear"; -_lv_promos.Clear(); - //BA.debugLineNum = 320;BA.debugLine="lv_promos.Height = Root.Height * 0.65"; -_lv_promos.setHeight((int) (_root.getHeight()*0.65)); - //BA.debugLineNum = 321;BA.debugLine="lv_promos.Width = Root.Width *0.96"; -_lv_promos.setWidth((int) (_root.getWidth()*0.96)); - //BA.debugLineNum = 323;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=65929237; + //BA.debugLineNum = 65929237;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); +RDebugUtils.currentLine=65929238; + //BA.debugLineNum = 65929238;BA.debugLine="lv_promos.Visible = True"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=65929239; + //BA.debugLineNum = 65929239;BA.debugLine="lfila.text = \"PROMOCIONES\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PROMOCIONES")); +RDebugUtils.currentLine=65929240; + //BA.debugLineNum = 65929240;BA.debugLine="lv_catalogos.Visible = False"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=65929260; + //BA.debugLineNum = 65929260;BA.debugLine="lv_promos.Clear"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=65929261; + //BA.debugLineNum = 65929261;BA.debugLine="lv_promos.Height = Root.Height * 0.65"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.65)); +RDebugUtils.currentLine=65929262; + //BA.debugLineNum = 65929262;BA.debugLine="lv_promos.Width = Root.Width *0.96"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.96)); +RDebugUtils.currentLine=65929264; + //BA.debugLineNum = 65929264;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 324;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; -_label1 = _lv_promos.getTwoLinesLayout().Label; - //BA.debugLineNum = 325;BA.debugLine="label1.TextSize = 20"; +RDebugUtils.currentLine=65929265; + //BA.debugLineNum = 65929265;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; +_label1 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=65929266; + //BA.debugLineNum = 65929266;BA.debugLine="label1.TextSize = 20"; _label1.setTextSize((float) (20)); - //BA.debugLineNum = 326;BA.debugLine="label1.TextColor = Colors.White"; +RDebugUtils.currentLine=65929267; + //BA.debugLineNum = 65929267;BA.debugLine="label1.TextColor = Colors.White"; _label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 327;BA.debugLine="label1.Color = Colors.ARGB(58,255,255,255)"; +RDebugUtils.currentLine=65929268; + //BA.debugLineNum = 65929268;BA.debugLine="label1.Color = Colors.ARGB(58,255,255,255)"; _label1.setColor(__c.Colors.ARGB((int) (58),(int) (255),(int) (255),(int) (255))); - //BA.debugLineNum = 328;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=65929269; + //BA.debugLineNum = 65929269;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 329;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; -_label2 = _lv_promos.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 330;BA.debugLine="label2.TextSize = 20"; +RDebugUtils.currentLine=65929270; + //BA.debugLineNum = 65929270;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; +_label2 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=65929271; + //BA.debugLineNum = 65929271;BA.debugLine="label2.TextSize = 20"; _label2.setTextSize((float) (20)); - //BA.debugLineNum = 331;BA.debugLine="label2.TextColor = Colors.White"; +RDebugUtils.currentLine=65929272; + //BA.debugLineNum = 65929272;BA.debugLine="label2.TextColor = Colors.White"; _label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 332;BA.debugLine="label2.Color = Colors.ARGB(58,255,255,255)"; +RDebugUtils.currentLine=65929273; + //BA.debugLineNum = 65929273;BA.debugLine="label2.Color = Colors.ARGB(58,255,255,255)"; _label2.setColor(__c.Colors.ARGB((int) (58),(int) (255),(int) (255),(int) (255))); - //BA.debugLineNum = 333;BA.debugLine="Dim label13 As Label"; +RDebugUtils.currentLine=65929274; + //BA.debugLineNum = 65929274;BA.debugLine="Dim label13 As Label"; _label13 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 334;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; -_label13 = _lv_promos.getTwoLinesAndBitmap().Label; - //BA.debugLineNum = 335;BA.debugLine="label13.TextSize = 20"; +RDebugUtils.currentLine=65929275; + //BA.debugLineNum = 65929275;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; +_label13 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesAndBitmap().Label; +RDebugUtils.currentLine=65929276; + //BA.debugLineNum = 65929276;BA.debugLine="label13.TextSize = 20"; _label13.setTextSize((float) (20)); - //BA.debugLineNum = 336;BA.debugLine="label13.TextColor = Colors.White"; +RDebugUtils.currentLine=65929277; + //BA.debugLineNum = 65929277;BA.debugLine="label13.TextColor = Colors.White"; _label13.setTextColor(__c.Colors.White); - //BA.debugLineNum = 337;BA.debugLine="label13.Color = Colors.ARGB(58,255,255,255)"; +RDebugUtils.currentLine=65929278; + //BA.debugLineNum = 65929278;BA.debugLine="label13.Color = Colors.ARGB(58,255,255,255)"; _label13.setColor(__c.Colors.ARGB((int) (58),(int) (255),(int) (255),(int) (255))); - //BA.debugLineNum = 338;BA.debugLine="Dim label14 As Label"; +RDebugUtils.currentLine=65929279; + //BA.debugLineNum = 65929279;BA.debugLine="Dim label14 As Label"; _label14 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 339;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; -_label14 = _lv_promos.getTwoLinesAndBitmap().SecondLabel; - //BA.debugLineNum = 340;BA.debugLine="label14.TextSize = 20"; +RDebugUtils.currentLine=65929280; + //BA.debugLineNum = 65929280;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; +_label14 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesAndBitmap().SecondLabel; +RDebugUtils.currentLine=65929281; + //BA.debugLineNum = 65929281;BA.debugLine="label14.TextSize = 20"; _label14.setTextSize((float) (20)); - //BA.debugLineNum = 341;BA.debugLine="label14.TextColor = Colors.White"; +RDebugUtils.currentLine=65929282; + //BA.debugLineNum = 65929282;BA.debugLine="label14.TextColor = Colors.White"; _label14.setTextColor(__c.Colors.White); - //BA.debugLineNum = 342;BA.debugLine="label14.Color = Colors.ARGB(58,255,255,255)"; +RDebugUtils.currentLine=65929283; + //BA.debugLineNum = 65929283;BA.debugLine="label14.Color = Colors.ARGB(58,255,255,255)"; _label14.setColor(__c.Colors.ARGB((int) (58),(int) (255),(int) (255),(int) (255))); - //BA.debugLineNum = 353;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +RDebugUtils.currentLine=65929294; + //BA.debugLineNum = 65929294;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 354;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_PA_BSEGMENTA, CAT_PA_SEGMENTAV from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_FUTURO = '1' )"),new String[]{"PROMOS","PROMOS"}))); +RDebugUtils.currentLine=65929295; + //BA.debugLineNum = 65929295;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_PA_BSEGMENTA, CAT_PA_SEGMENTAV from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_FUTURO = '1' )"),new String[]{"PROMOS","PROMOS"}))); }else { - //BA.debugLineNum = 356;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_PA_BSEGMENTA, CAT_PA_SEGMENTAV from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_FUTURO = '0' )"),new String[]{"PROMOS","PROMOS"}))); +RDebugUtils.currentLine=65929297; + //BA.debugLineNum = 65929297;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_PA_BSEGMENTA, CAT_PA_SEGMENTAV from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_FUTURO = '0' )"),new String[]{"PROMOS","PROMOS"}))); }; - //BA.debugLineNum = 360;BA.debugLine="Private yaComproPRO2265 As Boolean = Subs.revisa"; +RDebugUtils.currentLine=65929301; + //BA.debugLineNum = 65929301;BA.debugLine="Private yaComproPRO2265 As Boolean = Subs.revisa"; _yacompropro2265 = _subs._revisapro2265 /*boolean*/ (ba,_subs._traecliente /*String*/ (ba)); - //BA.debugLineNum = 361;BA.debugLine="Private yaComproPRO3054 As Boolean = Subs.revisa"; +RDebugUtils.currentLine=65929302; + //BA.debugLineNum = 65929302;BA.debugLine="Private yaComproPRO3054 As Boolean = Subs.revisa"; _yacompropro3054 = _subs._revisapro3054 /*boolean*/ (ba,_subs._traecliente /*String*/ (ba)); - //BA.debugLineNum = 362;BA.debugLine="Private yaComproPRO3055 As Boolean = Subs.revisa"; +RDebugUtils.currentLine=65929303; + //BA.debugLineNum = 65929303;BA.debugLine="Private yaComproPRO3055 As Boolean = Subs.revisa"; _yacompropro3055 = _subs._revisapro3055 /*boolean*/ (ba,_subs._traecliente /*String*/ (ba)); - //BA.debugLineNum = 363;BA.debugLine="Private tipoCliente As Int = Subs.traeTipoClient"; +RDebugUtils.currentLine=65929304; + //BA.debugLineNum = 65929304;BA.debugLine="Private tipoCliente As Int = Subs.traeTipoClient"; _tipocliente = _subs._traetipocliente /*int*/ (ba); - //BA.debugLineNum = 364;BA.debugLine="Log(c2.RowCount)"; -__c.LogImpl("465863769",BA.NumberToString(_c2.getRowCount()),0); - //BA.debugLineNum = 365;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 383;BA.debugLine="For i=0 To c2.RowCount - 1"; +RDebugUtils.currentLine=65929305; + //BA.debugLineNum = 65929305;BA.debugLine="Log(c2.RowCount)"; +__c.LogImpl("065929305",BA.NumberToString(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=65929306; + //BA.debugLineNum = 65929306;BA.debugLine="If c2.RowCount > 0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=65929324; + //BA.debugLineNum = 65929324;BA.debugLine="For i=0 To c2.RowCount - 1"; { final int step55 = 1; -final int limit55 = (int) (_c2.getRowCount()-1); +final int limit55 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; for (;_i <= limit55 ;_i = _i + step55 ) { - //BA.debugLineNum = 384;BA.debugLine="c2.Position = i"; -_c2.setPosition(_i); - //BA.debugLineNum = 385;BA.debugLine="Private muestraPromo As Boolean = True"; +RDebugUtils.currentLine=65929325; + //BA.debugLineNum = 65929325;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=65929326; + //BA.debugLineNum = 65929326;BA.debugLine="Private muestraPromo As Boolean = True"; _muestrapromo = __c.True; - //BA.debugLineNum = 386;BA.debugLine="Log($\"SEGMENTADA: ${c2.GetString(\"CAT_PA_BSEGM"; -__c.LogImpl("465863791",("SEGMENTADA: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_BSEGMENTA")))+""),0); - //BA.debugLineNum = 387;BA.debugLine="If c2.GetInt(\"CAT_PA_BSEGMENTA\") = 1 Then"; -if (_c2.GetInt("CAT_PA_BSEGMENTA")==1) { - //BA.debugLineNum = 388;BA.debugLine="LogColor(\"####### PROMO SEGMENTADA #### \"&"; -__c.LogImpl("465863793","####### PROMO SEGMENTADA #### "+_c2.GetString("CAT_GP_ID"),__c.Colors.Blue); - //BA.debugLineNum = 389;BA.debugLine="LogColor($\"####### SEGV: ${c2.GetString(\"CA"; -__c.LogImpl("465863794",("####### SEGV: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_SEGMENTAV")))+" ####"),__c.Colors.Blue); - //BA.debugLineNum = 390;BA.debugLine="LogColor($\"####### TIPOCLIE: ${tipoCliente}"; -__c.LogImpl("465863795",("####### TIPOCLIE: "+__c.SmartStringFormatter("",(Object)(_tipocliente))+" ####"),__c.Colors.Blue); - //BA.debugLineNum = 391;BA.debugLine="LogColor($\"####### ¿ENTRA?: ${c2.GetString("; -__c.LogImpl("465863796",("####### ¿ENTRA?: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_SEGMENTAV").contains(BA.NumberToString(_tipocliente))))+" ####"),__c.Colors.Blue); - //BA.debugLineNum = 392;BA.debugLine="If Not(c2.GetString(\"CAT_PA_SEGMENTAV\").Conta"; -if (__c.Not(_c2.GetString("CAT_PA_SEGMENTAV").contains(BA.NumberToString(_tipocliente)))) { +RDebugUtils.currentLine=65929327; + //BA.debugLineNum = 65929327;BA.debugLine="Log($\"SEGMENTADA: ${c2.GetString(\"CAT_PA_BSEGM"; +__c.LogImpl("065929327",("SEGMENTADA: "+__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_BSEGMENTA")))+""),0); +RDebugUtils.currentLine=65929328; + //BA.debugLineNum = 65929328;BA.debugLine="If c2.GetInt(\"CAT_PA_BSEGMENTA\") = 1 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_PA_BSEGMENTA")==1) { +RDebugUtils.currentLine=65929329; + //BA.debugLineNum = 65929329;BA.debugLine="LogColor(\"####### PROMO SEGMENTADA #### \"&"; +__c.LogImpl("065929329","####### PROMO SEGMENTADA #### "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__c.Colors.Blue); +RDebugUtils.currentLine=65929330; + //BA.debugLineNum = 65929330;BA.debugLine="LogColor($\"####### SEGV: ${c2.GetString(\"CA"; +__c.LogImpl("065929330",("####### SEGV: "+__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_SEGMENTAV")))+" ####"),__c.Colors.Blue); +RDebugUtils.currentLine=65929331; + //BA.debugLineNum = 65929331;BA.debugLine="LogColor($\"####### TIPOCLIE: ${tipoCliente}"; +__c.LogImpl("065929331",("####### TIPOCLIE: "+__c.SmartStringFormatter("",(Object)(_tipocliente))+" ####"),__c.Colors.Blue); +RDebugUtils.currentLine=65929332; + //BA.debugLineNum = 65929332;BA.debugLine="LogColor($\"####### ¿ENTRA?: ${c2.GetString("; +__c.LogImpl("065929332",("####### ¿ENTRA?: "+__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_SEGMENTAV").contains(BA.NumberToString(_tipocliente))))+" ####"),__c.Colors.Blue); +RDebugUtils.currentLine=65929333; + //BA.debugLineNum = 65929333;BA.debugLine="If Not(c2.GetString(\"CAT_PA_SEGMENTAV\").Conta"; +if (__c.Not(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_SEGMENTAV").contains(BA.NumberToString(_tipocliente)))) { _muestrapromo = __c.False;}; }; - //BA.debugLineNum = 398;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +RDebugUtils.currentLine=65929339; + //BA.debugLineNum = 65929339;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; _tm = new anywheresoftware.b4a.objects.collections.Map(); -_tm = _subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_c2.GetString("CAT_GP_ID"),_subs._traecliente /*String*/ (ba)); - //BA.debugLineNum = 399;BA.debugLine="Log($\"TM=${tm}\"$)"; -__c.LogImpl("465863804",("TM="+__c.SmartStringFormatter("",(Object)(_tm.getObject()))+""),0); - //BA.debugLineNum = 400;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; +_tm = _subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),_subs._traecliente /*String*/ (ba)); +RDebugUtils.currentLine=65929340; + //BA.debugLineNum = 65929340;BA.debugLine="Log($\"TM=${tm}\"$)"; +__c.LogImpl("065929340",("TM="+__c.SmartStringFormatter("",(Object)(_tm.getObject()))+""),0); +RDebugUtils.currentLine=65929341; + //BA.debugLineNum = 65929341;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; if ((_tm.Get((Object)("status"))).equals((Object)("ok"))) { - //BA.debugLineNum = 401;BA.debugLine="If yaComproPRO2265 And c2.GetString(\"CAT_GP_I"; -if (_yacompropro2265 && (_c2.GetString("CAT_GP_ID")).equals("PRO3015")) { - //BA.debugLineNum = 402;BA.debugLine="LogColor(\"Ya compro la PRO2265, ya no se mue"; -__c.LogImpl("465863807","Ya compro la PRO2265, ya no se muestra la PRO3015",__c.Colors.Red); +RDebugUtils.currentLine=65929342; + //BA.debugLineNum = 65929342;BA.debugLine="If yaComproPRO2265 And c2.GetString(\"CAT_GP_I"; +if (_yacompropro2265 && (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")).equals("PRO3015")) { +RDebugUtils.currentLine=65929343; + //BA.debugLineNum = 65929343;BA.debugLine="LogColor(\"Ya compro la PRO2265, ya no se mue"; +__c.LogImpl("065929343","Ya compro la PRO2265, ya no se muestra la PRO3015",__c.Colors.Red); }else { - //BA.debugLineNum = 404;BA.debugLine="If (yaComproPRO3054 And c2.GetString(\"CAT_GP"; -if ((_yacompropro3054 && (_c2.GetString("CAT_GP_ID")).equals("PRO3054")) || (_yacompropro3055 && (_c2.GetString("CAT_GP_ID")).equals("PRO3055"))) { - //BA.debugLineNum = 406;BA.debugLine="LogColor(\"Ya compro prods de la PRO3054 o P"; -__c.LogImpl("465863811","Ya compro prods de la PRO3054 o PRO3055 o es cliente nuevo, ya no se muestra.",__c.Colors.Red); +RDebugUtils.currentLine=65929345; + //BA.debugLineNum = 65929345;BA.debugLine="If (yaComproPRO3054 And c2.GetString(\"CAT_GP"; +if ((_yacompropro3054 && (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")).equals("PRO3054")) || (_yacompropro3055 && (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")).equals("PRO3055"))) { +RDebugUtils.currentLine=65929347; + //BA.debugLineNum = 65929347;BA.debugLine="LogColor(\"Ya compro prods de la PRO3054 o P"; +__c.LogImpl("065929347","Ya compro prods de la PRO3054 o PRO3055 o es cliente nuevo, ya no se muestra.",__c.Colors.Red); }else { - //BA.debugLineNum = 408;BA.debugLine="If Subs.traeAlmacen = 88 Then"; +RDebugUtils.currentLine=65929349; + //BA.debugLineNum = 65929349;BA.debugLine="If Subs.traeAlmacen = 88 Then"; if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(88))) { - //BA.debugLineNum = 409;BA.debugLine="Log(\"SI ENTRE1\")"; -__c.LogImpl("465863814","SI ENTRE1",0); - //BA.debugLineNum = 410;BA.debugLine="Log(c2.GetString(\"CAT_GP_ID\"))"; -__c.LogImpl("465863815",_c2.GetString("CAT_GP_ID"),0); - //BA.debugLineNum = 411;BA.debugLine="If c2.GetString(\"CAT_GP_ID\") = \"MYKONOS_01"; -if ((_c2.GetString("CAT_GP_ID")).equals("MYKONOS_01") && _subs._traemontoprod /*boolean*/ (ba)) { - //BA.debugLineNum = 412;BA.debugLine="Log(\"SI ENTRE\")"; -__c.LogImpl("465863817","SI ENTRE",0); - //BA.debugLineNum = 413;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLine"; +RDebugUtils.currentLine=65929350; + //BA.debugLineNum = 65929350;BA.debugLine="Log(\"SI ENTRE1\")"; +__c.LogImpl("065929350","SI ENTRE1",0); +RDebugUtils.currentLine=65929351; + //BA.debugLineNum = 65929351;BA.debugLine="Log(c2.GetString(\"CAT_GP_ID\"))"; +__c.LogImpl("065929351",__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),0); +RDebugUtils.currentLine=65929352; + //BA.debugLineNum = 65929352;BA.debugLine="If c2.GetString(\"CAT_GP_ID\") = \"MYKONOS_01"; +if ((__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")).equals("MYKONOS_01") && _subs._traemontoprod /*boolean*/ (ba)) { +RDebugUtils.currentLine=65929353; + //BA.debugLineNum = 65929353;BA.debugLine="Log(\"SI ENTRE\")"; +__c.LogImpl("065929353","SI ENTRE",0); +RDebugUtils.currentLine=65929354; + //BA.debugLineNum = 65929354;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLine"; if (_muestrapromo) { -_lv_promos.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+_c2.GetString("CAT_GP_ALMACEN")+" $ "+_c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));}; - }else if((_c2.GetString("CAT_GP_ID")).equals("MYKONOS_01") == false) { - //BA.debugLineNum = 415;BA.debugLine="Log(\"SI ENTRE2\")"; -__c.LogImpl("465863820","SI ENTRE2",0); - //BA.debugLineNum = 416;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLine"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ALMACEN")+" $ "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));}; + }else +{RDebugUtils.currentLine=65929355; + //BA.debugLineNum = 65929355;BA.debugLine="Else If c2.GetString(\"CAT_GP_ID\") <> \"MYKO"; +if ((__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")).equals("MYKONOS_01") == false) { +RDebugUtils.currentLine=65929356; + //BA.debugLineNum = 65929356;BA.debugLine="Log(\"SI ENTRE2\")"; +__c.LogImpl("065929356","SI ENTRE2",0); +RDebugUtils.currentLine=65929357; + //BA.debugLineNum = 65929357;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLine"; if (_muestrapromo) { -_lv_promos.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+_c2.GetString("CAT_GP_ALMACEN")+" $ "+_c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));}; - }; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ALMACEN")+" $ "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));}; + }} +; }else { - //BA.debugLineNum = 419;BA.debugLine="Log(\"SI ENTRE3\")"; -__c.LogImpl("465863824","SI ENTRE3",0); - //BA.debugLineNum = 420;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLines"; +RDebugUtils.currentLine=65929360; + //BA.debugLineNum = 65929360;BA.debugLine="Log(\"SI ENTRE3\")"; +__c.LogImpl("065929360","SI ENTRE3",0); +RDebugUtils.currentLine=65929361; + //BA.debugLineNum = 65929361;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLines"; if (_muestrapromo) { -_lv_promos.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+_c2.GetString("CAT_GP_ALMACEN")+" $ "+_c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));}; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ALMACEN")+" $ "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));}; }; - //BA.debugLineNum = 422;BA.debugLine="Log($\"################################${CRL"; -__c.LogImpl("465863827",("################################"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+" "+__c.SmartStringFormatter("",(Object)(_muestrapromo))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"################################"),0); +RDebugUtils.currentLine=65929363; + //BA.debugLineNum = 65929363;BA.debugLine="Log($\"################################${CRL"; +__c.LogImpl("065929363",("################################"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+" "+__c.SmartStringFormatter("",(Object)(_muestrapromo))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"################################"),0); }; }; }; } }; - //BA.debugLineNum = 433;BA.debugLine="label1.Height = 50dip"; +RDebugUtils.currentLine=65929374; + //BA.debugLineNum = 65929374;BA.debugLine="label1.Height = 50dip"; _label1.setHeight(__c.DipToCurrent((int) (50))); - //BA.debugLineNum = 434;BA.debugLine="label2.Height = 45dip"; +RDebugUtils.currentLine=65929375; + //BA.debugLineNum = 65929375;BA.debugLine="label2.Height = 45dip"; _label2.setHeight(__c.DipToCurrent((int) (45))); - //BA.debugLineNum = 435;BA.debugLine="label2.Top = label1.Height"; +RDebugUtils.currentLine=65929376; + //BA.debugLineNum = 65929376;BA.debugLine="label2.Top = label1.Height"; _label2.setTop(_label1.getHeight()); - //BA.debugLineNum = 436;BA.debugLine="lv_promos.TwoLinesLayout.ItemHeight = 95dip"; -_lv_promos.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); - //BA.debugLineNum = 437;BA.debugLine="Subs.SetDivider(lv_promos, Colors.White, 2)"; -_subs._setdivider /*String*/ (ba,_lv_promos,__c.Colors.White,(int) (2)); +RDebugUtils.currentLine=65929377; + //BA.debugLineNum = 65929377;BA.debugLine="lv_promos.TwoLinesLayout.ItemHeight = 95dip"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=65929378; + //BA.debugLineNum = 65929378;BA.debugLine="Subs.SetDivider(lv_promos, Colors.White, 2)"; +_subs._setdivider /*String*/ (ba,__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.White,(int) (2)); }else { - //BA.debugLineNum = 439;BA.debugLine="ToastMessageShow(\"No hay PROMOS disponibles.\","; +RDebugUtils.currentLine=65929380; + //BA.debugLineNum = 65929380;BA.debugLine="ToastMessageShow(\"No hay PROMOS disponibles.\","; __c.ToastMessageShow(BA.ObjectToCharSequence("No hay PROMOS disponibles."),__c.False); }; - //BA.debugLineNum = 441;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 442;BA.debugLine="entro = \"4\""; -_entro = "4"; +RDebugUtils.currentLine=65929382; + //BA.debugLineNum = 65929382;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=65929383; + //BA.debugLineNum = 65929383;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; }; - //BA.debugLineNum = 444;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65929385; + //BA.debugLineNum = 65929385;BA.debugLine="End Sub"; return ""; } -public void _lv_catalogos2_itemclick(int _position,Object _value) throws Exception{ -ResumableSub_lv_catalogos2_ItemClick rsub = new ResumableSub_lv_catalogos2_ItemClick(this,_position,_value); +public void _lv_catalogos2_itemclick(gunav2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_catalogos2_itemclick", false)) + {Debug.delegate(ba, "lv_catalogos2_itemclick", new Object[] {_position,_value}); return;} +ResumableSub_lv_catalogos2_ItemClick rsub = new ResumableSub_lv_catalogos2_ItemClick(this,__ref,_position,_value); rsub.resume(ba, null); } public static class ResumableSub_lv_catalogos2_ItemClick extends BA.ResumableSub { -public ResumableSub_lv_catalogos2_ItemClick(gunav2.keymon.com.mx.c_productos parent,int _position,Object _value) { +public ResumableSub_lv_catalogos2_ItemClick(gunav2.keymon.com.mx.c_productos parent,gunav2.keymon.com.mx.c_productos __ref,int _position,Object _value) { this.parent = parent; +this.__ref = __ref; this._position = _position; this._value = _value; +this.__ref = parent; } +gunav2.keymon.com.mx.c_productos __ref; gunav2.keymon.com.mx.c_productos parent; int _position; Object _value; @@ -2685,6 +3806,7 @@ int limit58; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_productos"; while (true) { switch (state) { @@ -2694,15 +3816,20 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 447;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 448;BA.debugLine="BUSCA.Text = \"\""; -parent._busca.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 449;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; +RDebugUtils.currentLine=65994753; + //BA.debugLineNum = 65994753;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=65994754; + //BA.debugLineNum = 65994754;BA.debugLine="BUSCA.Text = \"\""; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=65994755; + //BA.debugLineNum = 65994755;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; _cliente = (gunav2.keymon.com.mx.c_cliente)(parent._b4xpages._getpage /*Object*/ (ba,"Cliente")); - //BA.debugLineNum = 450;BA.debugLine="Log($\"value=${Value}\"$)"; -parent.__c.LogImpl("465929220",("value="+parent.__c.SmartStringFormatter("",_value)+""),0); - //BA.debugLineNum = 451;BA.debugLine="If Value = \"PROMOCIONES\" And cliente.cuenta <> \"N"; +RDebugUtils.currentLine=65994756; + //BA.debugLineNum = 65994756;BA.debugLine="Log($\"value=${Value}\"$)"; +parent.__c.LogImpl("065994756",("value="+parent.__c.SmartStringFormatter("",_value)+""),0); +RDebugUtils.currentLine=65994757; + //BA.debugLineNum = 65994757;BA.debugLine="If Value = \"PROMOCIONES\" And cliente.cuenta <> \"N"; if (true) break; case 1: @@ -2710,31 +3837,41 @@ case 1: this.state = 6; if ((_value).equals((Object)("PROMOCIONES")) && (_cliente._cuenta /*String*/ ).equals("N") == false) { this.state = 3; -}else if((_value).equals((Object)("PROMOCIONES")) && (_cliente._cuenta /*String*/ ).equals("N")) { +}else +{RDebugUtils.currentLine=65994761; + //BA.debugLineNum = 65994761;BA.debugLine="Else if Value = \"PROMOCIONES\" And cliente.cuenta"; +if ((_value).equals((Object)("PROMOCIONES")) && (_cliente._cuenta /*String*/ ).equals("N")) { this.state = 5; -}if (true) break; +}} +if (true) break; case 3: //C this.state = 6; - //BA.debugLineNum = 452;BA.debugLine="entro = \"3\""; -parent._entro = "3"; - //BA.debugLineNum = 453;BA.debugLine="marca = \"PROMOS\""; -parent._marca = "PROMOS"; - //BA.debugLineNum = 454;BA.debugLine="tipo = \"PROMOS\""; -parent._tipo = "PROMOS"; +RDebugUtils.currentLine=65994758; + //BA.debugLineNum = 65994758;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=65994759; + //BA.debugLineNum = 65994759;BA.debugLine="marca = \"PROMOS\""; +__ref._marca /*String*/ = "PROMOS"; +RDebugUtils.currentLine=65994760; + //BA.debugLineNum = 65994760;BA.debugLine="tipo = \"PROMOS\""; +__ref._tipo /*String*/ = "PROMOS"; if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 456;BA.debugLine="entro = \"5\""; -parent._entro = "5"; - //BA.debugLineNum = 457;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=65994762; + //BA.debugLineNum = 65994762;BA.debugLine="entro = \"5\""; +__ref._entro /*String*/ = "5"; +RDebugUtils.currentLine=65994763; + //BA.debugLineNum = 65994763;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; parent._b4xpages._showpage /*String*/ (ba,"Cliente"); if (true) break; ; - //BA.debugLineNum = 459;BA.debugLine="If Value = \"PROMOCIONES\" Then"; +RDebugUtils.currentLine=65994765; + //BA.debugLineNum = 65994765;BA.debugLine="If Value = \"PROMOCIONES\" Then"; case 6: //if @@ -2748,22 +3885,27 @@ this.state = 10; case 8: //C this.state = 11; - //BA.debugLineNum = 460;BA.debugLine="LogColor(\"Promos\", Colors.red)"; -parent.__c.LogImpl("465929230","Promos",parent.__c.Colors.Red); - //BA.debugLineNum = 461;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) ) ORDER BY 1"),new String[]{"PROMOS",parent._marca,parent._tipo}))); +RDebugUtils.currentLine=65994766; + //BA.debugLineNum = 65994766;BA.debugLine="LogColor(\"Promos\", Colors.red)"; +parent.__c.LogImpl("065994766","Promos",parent.__c.Colors.Red); +RDebugUtils.currentLine=65994767; + //BA.debugLineNum = 65994767;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) ) ORDER BY 1"),new String[]{"PROMOS",__ref._marca /*String*/ ,__ref._tipo /*String*/ }))); if (true) break; case 10: //C this.state = 11; - //BA.debugLineNum = 463;BA.debugLine="LogColor(\"Catalogo\", Colors.red)"; -parent.__c.LogImpl("465929233","Catalogo",parent.__c.Colors.Red); - //BA.debugLineNum = 464;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' ")))); +RDebugUtils.currentLine=65994769; + //BA.debugLineNum = 65994769;BA.debugLine="LogColor(\"Catalogo\", Colors.red)"; +parent.__c.LogImpl("065994769","Catalogo",parent.__c.Colors.Red); +RDebugUtils.currentLine=65994770; + //BA.debugLineNum = 65994770;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' ")))); if (true) break; ; - //BA.debugLineNum = 486;BA.debugLine="If Value = \"PORTAFOLIO\" Then"; +RDebugUtils.currentLine=65994792; + //BA.debugLineNum = 65994792;BA.debugLine="If Value = \"PORTAFOLIO\" Then"; case 11: //if @@ -2777,108 +3919,145 @@ this.state = 15; case 13: //C this.state = 28; - //BA.debugLineNum = 487;BA.debugLine="lv_catalogos.Visible = False"; -parent._lv_catalogos.setVisible(parent.__c.False); - //BA.debugLineNum = 488;BA.debugLine="lv_promos.Visible = False"; -parent._lv_promos.setVisible(parent.__c.False); - //BA.debugLineNum = 489;BA.debugLine="lfila.text = \"PORTAFOLIO\""; -parent._lfila.setText(BA.ObjectToCharSequence("PORTAFOLIO")); - //BA.debugLineNum = 490;BA.debugLine="Log(\"PGS\")"; -parent.__c.LogImpl("465929260","PGS",0); - //BA.debugLineNum = 491;BA.debugLine="ProgressDialogShow(\"Cargando catalogo ...\")"; +RDebugUtils.currentLine=65994793; + //BA.debugLineNum = 65994793;BA.debugLine="lv_catalogos.Visible = False"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65994794; + //BA.debugLineNum = 65994794;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65994795; + //BA.debugLineNum = 65994795;BA.debugLine="lfila.text = \"PORTAFOLIO\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PORTAFOLIO")); +RDebugUtils.currentLine=65994796; + //BA.debugLineNum = 65994796;BA.debugLine="Log(\"PGS\")"; +parent.__c.LogImpl("065994796","PGS",0); +RDebugUtils.currentLine=65994797; + //BA.debugLineNum = 65994797;BA.debugLine="ProgressDialogShow(\"Cargando catalogo ...\")"; parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Cargando catalogo ...")); - //BA.debugLineNum = 492;BA.debugLine="Sleep(100)"; -parent.__c.Sleep(ba,this,(int) (100)); +RDebugUtils.currentLine=65994798; + //BA.debugLineNum = 65994798;BA.debugLine="Sleep(100)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_productos", "lv_catalogos2_itemclick"),(int) (100)); this.state = 29; return; case 29: //C this.state = 28; ; - //BA.debugLineNum = 493;BA.debugLine="Private inicioContador As String = DateTime.Now"; +RDebugUtils.currentLine=65994799; + //BA.debugLineNum = 65994799;BA.debugLine="Private inicioContador As String = DateTime.Now"; _iniciocontador = BA.NumberToString(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 494;BA.debugLine="llenaCatalogo(False)"; -parent._llenacatalogo(BA.ObjectToString(parent.__c.False)); - //BA.debugLineNum = 495;BA.debugLine="clv_prods_ll.AsView.Visible = True"; -parent._clv_prods_ll._asview().setVisible(parent.__c.True); - //BA.debugLineNum = 496;BA.debugLine="Log(\"PGH\")"; -parent.__c.LogImpl("465929266","PGH",0); - //BA.debugLineNum = 497;BA.debugLine="LogColor(\"TIEMPO DE PROCESO DEL CATALOGO: \" & (("; -parent.__c.LogImpl("465929267","TIEMPO DE PROCESO DEL CATALOGO: "+BA.NumberToString(((parent.__c.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),parent.__c.Colors.Red); - //BA.debugLineNum = 498;BA.debugLine="ProgressDialogHide"; +RDebugUtils.currentLine=65994800; + //BA.debugLineNum = 65994800;BA.debugLine="llenaCatalogo(False)"; +__ref._llenacatalogo /*String*/ (null,BA.ObjectToString(parent.__c.False)); +RDebugUtils.currentLine=65994801; + //BA.debugLineNum = 65994801;BA.debugLine="clv_prods_ll.AsView.Visible = True"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.True); +RDebugUtils.currentLine=65994802; + //BA.debugLineNum = 65994802;BA.debugLine="Log(\"PGH\")"; +parent.__c.LogImpl("065994802","PGH",0); +RDebugUtils.currentLine=65994803; + //BA.debugLineNum = 65994803;BA.debugLine="LogColor(\"TIEMPO DE PROCESO DEL CATALOGO: \" & (("; +parent.__c.LogImpl("065994803","TIEMPO DE PROCESO DEL CATALOGO: "+BA.NumberToString(((parent.__c.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),parent.__c.Colors.Red); +RDebugUtils.currentLine=65994804; + //BA.debugLineNum = 65994804;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 499;BA.debugLine="c2.Close"; -parent._c2.Close(); +RDebugUtils.currentLine=65994805; + //BA.debugLineNum = 65994805;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 15: //C this.state = 16; - //BA.debugLineNum = 501;BA.debugLine="Log(\"ENTRAMOS A PROMOS\")"; -parent.__c.LogImpl("465929271","ENTRAMOS A PROMOS",0); - //BA.debugLineNum = 502;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 503;BA.debugLine="lv_promos.Visible = True"; -parent._lv_promos.setVisible(parent.__c.True); - //BA.debugLineNum = 504;BA.debugLine="lv_catalogos.Visible = False"; -parent._lv_catalogos.setVisible(parent.__c.False); - //BA.debugLineNum = 505;BA.debugLine="lv_promos.Clear"; -parent._lv_promos.Clear(); - //BA.debugLineNum = 506;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=65994807; + //BA.debugLineNum = 65994807;BA.debugLine="Log(\"ENTRAMOS A PROMOS\")"; +parent.__c.LogImpl("065994807","ENTRAMOS A PROMOS",0); +RDebugUtils.currentLine=65994808; + //BA.debugLineNum = 65994808;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=65994809; + //BA.debugLineNum = 65994809;BA.debugLine="lv_promos.Visible = True"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=65994810; + //BA.debugLineNum = 65994810;BA.debugLine="lv_catalogos.Visible = False"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=65994811; + //BA.debugLineNum = 65994811;BA.debugLine="lv_promos.Clear"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=65994812; + //BA.debugLineNum = 65994812;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 507;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; -_label1 = parent._lv_promos.getTwoLinesLayout().Label; - //BA.debugLineNum = 508;BA.debugLine="label1.TextSize = 15"; +RDebugUtils.currentLine=65994813; + //BA.debugLineNum = 65994813;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; +_label1 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=65994814; + //BA.debugLineNum = 65994814;BA.debugLine="label1.TextSize = 15"; _label1.setTextSize((float) (15)); - //BA.debugLineNum = 509;BA.debugLine="label1.TextColor = Colors.Black"; +RDebugUtils.currentLine=65994815; + //BA.debugLineNum = 65994815;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 510;BA.debugLine="Dim label2 As Label"; +RDebugUtils.currentLine=65994816; + //BA.debugLineNum = 65994816;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 511;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; -_label2 = parent._lv_promos.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 512;BA.debugLine="label2.TextSize = 15"; +RDebugUtils.currentLine=65994817; + //BA.debugLineNum = 65994817;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; +_label2 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=65994818; + //BA.debugLineNum = 65994818;BA.debugLine="label2.TextSize = 15"; _label2.setTextSize((float) (15)); - //BA.debugLineNum = 513;BA.debugLine="label2.TextColor = Colors.Black"; +RDebugUtils.currentLine=65994819; + //BA.debugLineNum = 65994819;BA.debugLine="label2.TextColor = Colors.Black"; _label2.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 514;BA.debugLine="Dim label13 As Label"; +RDebugUtils.currentLine=65994820; + //BA.debugLineNum = 65994820;BA.debugLine="Dim label13 As Label"; _label13 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 515;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; -_label13 = parent._lv_promos.getTwoLinesAndBitmap().Label; - //BA.debugLineNum = 516;BA.debugLine="label13.TextSize = 15"; +RDebugUtils.currentLine=65994821; + //BA.debugLineNum = 65994821;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; +_label13 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesAndBitmap().Label; +RDebugUtils.currentLine=65994822; + //BA.debugLineNum = 65994822;BA.debugLine="label13.TextSize = 15"; _label13.setTextSize((float) (15)); - //BA.debugLineNum = 517;BA.debugLine="label13.TextColor = Colors.Black"; +RDebugUtils.currentLine=65994823; + //BA.debugLineNum = 65994823;BA.debugLine="label13.TextColor = Colors.Black"; _label13.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 518;BA.debugLine="Dim label14 As Label"; +RDebugUtils.currentLine=65994824; + //BA.debugLineNum = 65994824;BA.debugLine="Dim label14 As Label"; _label14 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 519;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; -_label14 = parent._lv_promos.getTwoLinesAndBitmap().SecondLabel; - //BA.debugLineNum = 520;BA.debugLine="label14.TextSize = 15"; +RDebugUtils.currentLine=65994825; + //BA.debugLineNum = 65994825;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; +_label14 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesAndBitmap().SecondLabel; +RDebugUtils.currentLine=65994826; + //BA.debugLineNum = 65994826;BA.debugLine="label14.TextSize = 15"; _label14.setTextSize((float) (15)); - //BA.debugLineNum = 521;BA.debugLine="label14.TextColor = Colors.Black"; +RDebugUtils.currentLine=65994827; + //BA.debugLineNum = 65994827;BA.debugLine="label14.TextColor = Colors.Black"; _label14.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 522;BA.debugLine="lfila.text = \"PROMOCIONES\""; -parent._lfila.setText(BA.ObjectToCharSequence("PROMOCIONES")); - //BA.debugLineNum = 523;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=65994828; + //BA.debugLineNum = 65994828;BA.debugLine="lfila.text = \"PROMOCIONES\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PROMOCIONES")); +RDebugUtils.currentLine=65994829; + //BA.debugLineNum = 65994829;BA.debugLine="If c2.RowCount > 0 Then"; if (true) break; case 16: //if this.state = 27; -if (parent._c2.getRowCount()>0) { +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { this.state = 18; }if (true) break; case 18: //C this.state = 19; - //BA.debugLineNum = 524;BA.debugLine="For i=0 To c2.RowCount -1"; +RDebugUtils.currentLine=65994830; + //BA.debugLineNum = 65994830;BA.debugLine="For i=0 To c2.RowCount -1"; if (true) break; case 19: //for this.state = 26; step58 = 1; -limit58 = (int) (parent._c2.getRowCount()-1); +limit58 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _i = (int) (0) ; this.state = 30; if (true) break; @@ -2898,12 +4077,15 @@ if (true) break; case 21: //C this.state = 22; - //BA.debugLineNum = 525;BA.debugLine="c2.Position=i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 526;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +RDebugUtils.currentLine=65994831; + //BA.debugLineNum = 65994831;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=65994832; + //BA.debugLineNum = 65994832;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; _tm = new anywheresoftware.b4a.objects.collections.Map(); -_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,parent._c2.GetString("CAT_GP_ID"),parent._clienteid); - //BA.debugLineNum = 527;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; +_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ); +RDebugUtils.currentLine=65994833; + //BA.debugLineNum = 65994833;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; if (true) break; case 22: @@ -2916,8 +4098,9 @@ this.state = 24; case 24: //C this.state = 25; - //BA.debugLineNum = 528;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_NO"; -parent._lv_promos.AddTwoLines(BA.ObjectToCharSequence(parent._c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+parent._c2.GetString("CAT_GP_ALMACEN")+" $ "+parent._c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant"))))); +RDebugUtils.currentLine=65994834; + //BA.debugLineNum = 65994834;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_NO"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ALMACEN")+" $ "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant"))))); if (true) break; case 25: @@ -2937,24 +4120,31 @@ case 27: //C this.state = 28; ; - //BA.debugLineNum = 576;BA.debugLine="c2.Close"; -parent._c2.Close(); +RDebugUtils.currentLine=65994882; + //BA.debugLineNum = 65994882;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); if (true) break; case 28: //C this.state = -1; ; - //BA.debugLineNum = 578;BA.debugLine="entro = \"4\""; -parent._entro = "4"; - //BA.debugLineNum = 579;BA.debugLine="End Sub"; +RDebugUtils.currentLine=65994884; + //BA.debugLineNum = 65994884;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; +RDebugUtils.currentLine=65994885; + //BA.debugLineNum = 65994885;BA.debugLine="End Sub"; if (true) break; } } } } -public String _lv_prodspedido_itemlongclick(int _position,Object _value) throws Exception{ +public String _lv_prodspedido_itemlongclick(gunav2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_prodspedido_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "lv_prodspedido_itemlongclick", new Object[] {_position,_value}));} String[] _x = null; String _nom = ""; int _i = 0; @@ -2964,352 +4154,478 @@ String _stime = ""; String _clie_id = ""; String _usuario = ""; int _j = 0; - //BA.debugLineNum = 1354;BA.debugLine="Private Sub lv_prodsPedido_ItemLongClick (Position"; - //BA.debugLineNum = 1355;BA.debugLine="Log(Value)"; -__c.LogImpl("467239937",BA.ObjectToString(_value),0); - //BA.debugLineNum = 1356;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)"; +RDebugUtils.currentLine=67305472; + //BA.debugLineNum = 67305472;BA.debugLine="Private Sub lv_prodsPedido_ItemLongClick (Position"; +RDebugUtils.currentLine=67305473; + //BA.debugLineNum = 67305473;BA.debugLine="Log(Value)"; +__c.LogImpl("067305473",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=67305474; + //BA.debugLineNum = 67305474;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)"; _x = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 1357;BA.debugLine="Log(X.Length)"; -__c.LogImpl("467239939",BA.NumberToString(_x.length),0); - //BA.debugLineNum = 1358;BA.debugLine="Private nom As String = \"\""; +RDebugUtils.currentLine=67305475; + //BA.debugLineNum = 67305475;BA.debugLine="Log(X.Length)"; +__c.LogImpl("067305475",BA.NumberToString(_x.length),0); +RDebugUtils.currentLine=67305476; + //BA.debugLineNum = 67305476;BA.debugLine="Private nom As String = \"\""; _nom = ""; - //BA.debugLineNum = 1359;BA.debugLine="For i = 0 To X.Length -1"; +RDebugUtils.currentLine=67305477; + //BA.debugLineNum = 67305477;BA.debugLine="For i = 0 To X.Length -1"; { final int step5 = 1; final int limit5 = (int) (_x.length-1); _i = (int) (0) ; for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 1360;BA.debugLine="If X(i).Contains(CRLF) Then"; +RDebugUtils.currentLine=67305478; + //BA.debugLineNum = 67305478;BA.debugLine="If X(i).Contains(CRLF) Then"; if (_x[_i].contains(__c.CRLF)) { }; - //BA.debugLineNum = 1362;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; +RDebugUtils.currentLine=67305480; + //BA.debugLineNum = 67305480;BA.debugLine="If Not(X(i).Contains(CRLF)) Then"; if (__c.Not(_x[_i].contains(__c.CRLF))) { - //BA.debugLineNum = 1363;BA.debugLine="nom = nom & \" \" & X(i)"; +RDebugUtils.currentLine=67305481; + //BA.debugLineNum = 67305481;BA.debugLine="nom = nom & \" \" & X(i)"; _nom = _nom+" "+_x[_i]; }else { - //BA.debugLineNum = 1365;BA.debugLine="Exit"; +RDebugUtils.currentLine=67305483; + //BA.debugLineNum = 67305483;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 1368;BA.debugLine="nom = nom.Trim"; +RDebugUtils.currentLine=67305486; + //BA.debugLineNum = 67305486;BA.debugLine="nom = nom.Trim"; _nom = _nom.trim(); - //BA.debugLineNum = 1369;BA.debugLine="Private cedis As String = X(X.Length-1)"; +RDebugUtils.currentLine=67305487; + //BA.debugLineNum = 67305487;BA.debugLine="Private cedis As String = X(X.Length-1)"; _cedis = _x[(int) (_x.length-1)]; - //BA.debugLineNum = 1370;BA.debugLine="Log(nom)"; -__c.LogImpl("467239952",_nom,0); - //BA.debugLineNum = 1371;BA.debugLine="Log(cedis)"; -__c.LogImpl("467239953",_cedis,0); - //BA.debugLineNum = 1372;BA.debugLine="Private sDate,sTime, clie_id, usuario As String"; +RDebugUtils.currentLine=67305488; + //BA.debugLineNum = 67305488;BA.debugLine="Log(nom)"; +__c.LogImpl("067305488",_nom,0); +RDebugUtils.currentLine=67305489; + //BA.debugLineNum = 67305489;BA.debugLine="Log(cedis)"; +__c.LogImpl("067305489",_cedis,0); +RDebugUtils.currentLine=67305490; + //BA.debugLineNum = 67305490;BA.debugLine="Private sDate,sTime, clie_id, usuario As String"; _sdate = ""; _stime = ""; _clie_id = ""; _usuario = ""; - //BA.debugLineNum = 1374;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este a"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 1375;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 1376;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select PE_P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) ",new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 1377;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1378;BA.debugLine="Log(vamoaver.Get(Position))"; -__c.LogImpl("467239960",BA.ObjectToString(_vamoaver.Get(_position)),0); - //BA.debugLineNum = 1379;BA.debugLine="If vamoaver.Get(Position) = \"VENTA\" Then"; -if ((_vamoaver.Get(_position)).equals((Object)("VENTA"))) { - //BA.debugLineNum = 1380;BA.debugLine="Log(\"CAT_GUNAPROD2\")"; -__c.LogImpl("467239962","CAT_GUNAPROD2",0); - //BA.debugLineNum = 1381;BA.debugLine="Log(Position)"; -__c.LogImpl("467239963",BA.NumberToString(_position),0); - //BA.debugLineNum = 1382;BA.debugLine="Log(Value)"; -__c.LogImpl("467239964",BA.ObjectToString(_value),0); - //BA.debugLineNum = 1383;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; +RDebugUtils.currentLine=67305492; + //BA.debugLineNum = 67305492;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este a"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=67305493; + //BA.debugLineNum = 67305493;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=67305494; + //BA.debugLineNum = 67305494;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select PE_P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) ",new String[]{BA.ObjectToString(_value)}))); +RDebugUtils.currentLine=67305495; + //BA.debugLineNum = 67305495;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67305496; + //BA.debugLineNum = 67305496;BA.debugLine="Log(vamoaver.Get(Position))"; +__c.LogImpl("067305496",BA.ObjectToString(__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Get(_position)),0); +RDebugUtils.currentLine=67305497; + //BA.debugLineNum = 67305497;BA.debugLine="If vamoaver.Get(Position) = \"VENTA\" Then"; +if ((__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Get(_position)).equals((Object)("VENTA"))) { +RDebugUtils.currentLine=67305498; + //BA.debugLineNum = 67305498;BA.debugLine="Log(\"CAT_GUNAPROD2\")"; +__c.LogImpl("067305498","CAT_GUNAPROD2",0); +RDebugUtils.currentLine=67305499; + //BA.debugLineNum = 67305499;BA.debugLine="Log(Position)"; +__c.LogImpl("067305499",BA.NumberToString(_position),0); +RDebugUtils.currentLine=67305500; + //BA.debugLineNum = 67305500;BA.debugLine="Log(Value)"; +__c.LogImpl("067305500",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=67305501; + //BA.debugLineNum = 67305501;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; _starter._tabla /*String*/ = "CAT_GUNAPROD2"; }else { - //BA.debugLineNum = 1385;BA.debugLine="Log(\"CAT_GUNAPROD\")"; -__c.LogImpl("467239967","CAT_GUNAPROD",0); - //BA.debugLineNum = 1386;BA.debugLine="Log(Position)"; -__c.LogImpl("467239968",BA.NumberToString(_position),0); - //BA.debugLineNum = 1387;BA.debugLine="Log(Value)"; -__c.LogImpl("467239969",BA.ObjectToString(_value),0); - //BA.debugLineNum = 1388;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; +RDebugUtils.currentLine=67305503; + //BA.debugLineNum = 67305503;BA.debugLine="Log(\"CAT_GUNAPROD\")"; +__c.LogImpl("067305503","CAT_GUNAPROD",0); +RDebugUtils.currentLine=67305504; + //BA.debugLineNum = 67305504;BA.debugLine="Log(Position)"; +__c.LogImpl("067305504",BA.NumberToString(_position),0); +RDebugUtils.currentLine=67305505; + //BA.debugLineNum = 67305505;BA.debugLine="Log(Value)"; +__c.LogImpl("067305505",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=67305506; + //BA.debugLineNum = 67305506;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; _starter._tabla /*String*/ = "CAT_GUNAPROD"; }; - //BA.debugLineNum = 1447;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 1448;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDI"; -__c.LogImpl("467240030",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); - //BA.debugLineNum = 1449;BA.debugLine="Log(c.RowCount)"; -__c.LogImpl("467240031",BA.NumberToString(_c.getRowCount()),0); - //BA.debugLineNum = 1450;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); - //BA.debugLineNum = 1460;BA.debugLine="If Not(IsNumber(cedis)) Then"; +RDebugUtils.currentLine=67305565; + //BA.debugLineNum = 67305565;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=67305566; + //BA.debugLineNum = 67305566;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDI"; +__c.LogImpl("067305566",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0); +RDebugUtils.currentLine=67305567; + //BA.debugLineNum = 67305567;BA.debugLine="Log(c.RowCount)"; +__c.LogImpl("067305567",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=67305568; + //BA.debugLineNum = 67305568;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67305571; + //BA.debugLineNum = 67305571;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*-1)})); +RDebugUtils.currentLine=67305578; + //BA.debugLineNum = 67305578;BA.debugLine="If Not(IsNumber(cedis)) Then"; if (__c.Not(__c.IsNumber(_cedis))) { - //BA.debugLineNum = 1461;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); - //BA.debugLineNum = 1463;BA.debugLine="LogColor(j3.RowCount,Colors.Yellow)"; -__c.LogImpl("467240045",BA.NumberToString(_j3.getRowCount()),__c.Colors.Yellow); - //BA.debugLineNum = 1464;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 1465;BA.debugLine="Log(\"Soy promo\")"; -__c.LogImpl("467240047","Soy promo",0); - //BA.debugLineNum = 1466;BA.debugLine="For j = 0 To j3.RowCount -1"; +RDebugUtils.currentLine=67305579; + //BA.debugLineNum = 67305579;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis}))); +RDebugUtils.currentLine=67305581; + //BA.debugLineNum = 67305581;BA.debugLine="LogColor(j3.RowCount,Colors.Yellow)"; +__c.LogImpl("067305581",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),__c.Colors.Yellow); +RDebugUtils.currentLine=67305582; + //BA.debugLineNum = 67305582;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=67305583; + //BA.debugLineNum = 67305583;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("067305583","Soy promo",0); +RDebugUtils.currentLine=67305584; + //BA.debugLineNum = 67305584;BA.debugLine="For j = 0 To j3.RowCount -1"; { final int step45 = 1; -final int limit45 = (int) (_j3.getRowCount()-1); +final int limit45 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); _j = (int) (0) ; for (;_j <= limit45 ;_j = _j + step45 ) { - //BA.debugLineNum = 1467;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("467240049","aqui tronare?",0); - //BA.debugLineNum = 1468;BA.debugLine="j3.Position = j"; -_j3.setPosition(_j); - //BA.debugLineNum = 1469;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 1470;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_FOLIO")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=67305585; + //BA.debugLineNum = 67305585;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("067305585","aqui tronare?",0); +RDebugUtils.currentLine=67305586; + //BA.debugLineNum = 67305586;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=67305587; + //BA.debugLineNum = 67305587;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=67305588; + //BA.debugLineNum = 67305588;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); } }; - //BA.debugLineNum = 1473;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select s"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 1474;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1475;BA.debugLine="If c.GetString(\"PC_NOART\") = Null Then"; -if (_c.GetString("PC_NOART")== null) { - //BA.debugLineNum = 1476;BA.debugLine="l_cant.Text = 0"; -_l_cant.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 1477;BA.debugLine="l_total2.Text = 0"; -_l_total2.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=67305591; + //BA.debugLineNum = 67305591;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select s"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); +RDebugUtils.currentLine=67305592; + //BA.debugLineNum = 67305592;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67305593; + //BA.debugLineNum = 67305593;BA.debugLine="If c.GetString(\"PC_NOART\") = Null Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")== null) { +RDebugUtils.currentLine=67305594; + //BA.debugLineNum = 67305594;BA.debugLine="l_cant.Text = 0"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=67305595; + //BA.debugLineNum = 67305595;BA.debugLine="l_total2.Text = 0"; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 1479;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 1480;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; -_l_total2.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); +RDebugUtils.currentLine=67305597; + //BA.debugLineNum = 67305597;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=67305598; + //BA.debugLineNum = 67305598;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); }; - //BA.debugLineNum = 1482;BA.debugLine="c.Close"; -_c.Close(); +RDebugUtils.currentLine=67305600; + //BA.debugLineNum = 67305600;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 1484;BA.debugLine="j3.Close"; -_j3.Close(); +RDebugUtils.currentLine=67305602; + //BA.debugLineNum = 67305602;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }else { - //BA.debugLineNum = 1487;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 1488;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_c.GetString("PE_FOLIO"))})); - //BA.debugLineNum = 1489;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select su"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 1490;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1491;BA.debugLine="If c.GetString(\"PC_NOART\") = Null Then"; -if (_c.GetString("PC_NOART")== null) { - //BA.debugLineNum = 1492;BA.debugLine="l_cant.Text = 0"; -_l_cant.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 1493;BA.debugLine="l_total2.Text = 0"; -_l_total2.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=67305605; + //BA.debugLineNum = 67305605;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,__ref._tipo_venta /*String*/ )))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=67305606; + //BA.debugLineNum = 67305606;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"))})); +RDebugUtils.currentLine=67305607; + //BA.debugLineNum = 67305607;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select su"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); +RDebugUtils.currentLine=67305608; + //BA.debugLineNum = 67305608;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67305609; + //BA.debugLineNum = 67305609;BA.debugLine="If c.GetString(\"PC_NOART\") = Null Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")== null) { +RDebugUtils.currentLine=67305610; + //BA.debugLineNum = 67305610;BA.debugLine="l_cant.Text = 0"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=67305611; + //BA.debugLineNum = 67305611;BA.debugLine="l_total2.Text = 0"; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 1495;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 1496;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; -_l_total2.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); +RDebugUtils.currentLine=67305613; + //BA.debugLineNum = 67305613;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))); +RDebugUtils.currentLine=67305614; + //BA.debugLineNum = 67305614;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); }; - //BA.debugLineNum = 1498;BA.debugLine="c.Close"; -_c.Close(); +RDebugUtils.currentLine=67305616; + //BA.debugLineNum = 67305616;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); }; - //BA.debugLineNum = 1500;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1502;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +RDebugUtils.currentLine=67305618; + //BA.debugLineNum = 67305618;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=67305620; + //BA.debugLineNum = 67305620;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1503;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +RDebugUtils.currentLine=67305621; + //BA.debugLineNum = 67305621;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1504;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +RDebugUtils.currentLine=67305622; + //BA.debugLineNum = 67305622;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1505;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 1506;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1507;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 1508;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 1509;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1510;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1511;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1512;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1513;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 1514;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=67305623; + //BA.debugLineNum = 67305623;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=67305624; + //BA.debugLineNum = 67305624;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67305625; + //BA.debugLineNum = 67305625;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +_clie_id = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=67305626; + //BA.debugLineNum = 67305626;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=67305627; + //BA.debugLineNum = 67305627;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67305628; + //BA.debugLineNum = 67305628;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +_usuario = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=67305629; + //BA.debugLineNum = 67305629;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=67305630; + //BA.debugLineNum = 67305630;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=67305631; + //BA.debugLineNum = 67305631;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=67305632; + //BA.debugLineNum = 67305632;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1515;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 1516;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +RDebugUtils.currentLine=67305633; + //BA.debugLineNum = 67305633;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=67305634; + //BA.debugLineNum = 67305634;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }else { - //BA.debugLineNum = 1518;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +RDebugUtils.currentLine=67305636; + //BA.debugLineNum = 67305636;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +RDebugUtils.currentLine=67305637; + //BA.debugLineNum = 67305637;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); }; - //BA.debugLineNum = 1522;BA.debugLine="b_terminar1_Click"; -_b_terminar1_click(); +RDebugUtils.currentLine=67305640; + //BA.debugLineNum = 67305640;BA.debugLine="b_terminar1_Click"; +__ref._b_terminar1_click /*String*/ (null); }; - //BA.debugLineNum = 1527;BA.debugLine="End Sub"; +RDebugUtils.currentLine=67305645; + //BA.debugLineNum = 67305645;BA.debugLine="End Sub"; return ""; } -public String _lv_promos_itemclick(int _position,Object _value) throws Exception{ +public String _lv_promos_itemclick(gunav2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_promos_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_promos_itemclick", new Object[] {_position,_value}));} gunav2.keymon.com.mx.c_cliente _cliente = null; gunav2.keymon.com.mx.c_promos _promos = null; - //BA.debugLineNum = 581;BA.debugLine="Sub lv_promos_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 582;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -_clv_prods_ll._asview().setVisible(__c.False); - //BA.debugLineNum = 583;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; +RDebugUtils.currentLine=66060288; + //BA.debugLineNum = 66060288;BA.debugLine="Sub lv_promos_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=66060289; + //BA.debugLineNum = 66060289;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); +RDebugUtils.currentLine=66060290; + //BA.debugLineNum = 66060290;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; _cliente = (gunav2.keymon.com.mx.c_cliente)(_b4xpages._getpage /*Object*/ (ba,"Cliente")); - //BA.debugLineNum = 585;BA.debugLine="If Value = \"PROMOCIONES\" And cliente.cuenta <> \"N"; +RDebugUtils.currentLine=66060292; + //BA.debugLineNum = 66060292;BA.debugLine="If Value = \"PROMOCIONES\" And cliente.cuenta <> \"N"; if ((_value).equals((Object)("PROMOCIONES")) && (_cliente._cuenta /*String*/ ).equals("N") == false) { - //BA.debugLineNum = 586;BA.debugLine="entro = \"3\""; -_entro = "3"; - //BA.debugLineNum = 587;BA.debugLine="marca = \"PROMOS\""; -_marca = "PROMOS"; - //BA.debugLineNum = 588;BA.debugLine="tipo = \"PROMOS\""; -_tipo = "PROMOS"; - }else if((_value).equals((Object)("PROMOCIONES")) && (_cliente._cuenta /*String*/ ).equals("N")) { - //BA.debugLineNum = 590;BA.debugLine="entro = \"5\""; -_entro = "5"; - //BA.debugLineNum = 591;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=66060293; + //BA.debugLineNum = 66060293;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=66060294; + //BA.debugLineNum = 66060294;BA.debugLine="marca = \"PROMOS\""; +__ref._marca /*String*/ = "PROMOS"; +RDebugUtils.currentLine=66060295; + //BA.debugLineNum = 66060295;BA.debugLine="tipo = \"PROMOS\""; +__ref._tipo /*String*/ = "PROMOS"; + }else +{RDebugUtils.currentLine=66060296; + //BA.debugLineNum = 66060296;BA.debugLine="Else if Value = \"PROMOCIONES\" And cliente.cuenta"; +if ((_value).equals((Object)("PROMOCIONES")) && (_cliente._cuenta /*String*/ ).equals("N")) { +RDebugUtils.currentLine=66060297; + //BA.debugLineNum = 66060297;BA.debugLine="entro = \"5\""; +__ref._entro /*String*/ = "5"; +RDebugUtils.currentLine=66060298; + //BA.debugLineNum = 66060298;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - }; - //BA.debugLineNum = 593;BA.debugLine="If entro = \"3\" Then"; -if ((_entro).equals("3")) { - }else if((_entro).equals("4")) { - //BA.debugLineNum = 597;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; + }} +; +RDebugUtils.currentLine=66060300; + //BA.debugLineNum = 66060300;BA.debugLine="If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { + }else +{RDebugUtils.currentLine=66060302; + //BA.debugLineNum = 66060302;BA.debugLine="Else If entro = \"4\" Then"; +if ((__ref._entro /*String*/ ).equals("4")) { +RDebugUtils.currentLine=66060304; + //BA.debugLineNum = 66060304;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROID"); - //BA.debugLineNum = 598;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +RDebugUtils.currentLine=66060305; + //BA.debugLineNum = 66060305;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 599;BA.debugLine="Dim promos As C_Promos = B4XPages.GetPage(\"Promo"; +RDebugUtils.currentLine=66060306; + //BA.debugLineNum = 66060306;BA.debugLine="Dim promos As C_Promos = B4XPages.GetPage(\"Promo"; _promos = (gunav2.keymon.com.mx.c_promos)(_b4xpages._getpage /*Object*/ (ba,"Promos")); - //BA.debugLineNum = 600;BA.debugLine="promos.laPromo = Subs.traeProdIdDeBD.Get(\"id\")"; +RDebugUtils.currentLine=66060307; + //BA.debugLineNum = 66060307;BA.debugLine="promos.laPromo = Subs.traeProdIdDeBD.Get(\"id\")"; _promos._lapromo /*String*/ = BA.ObjectToString(_subs._traeprodiddebd /*anywheresoftware.b4a.objects.collections.Map*/ (ba).Get((Object)("id"))); - //BA.debugLineNum = 601;BA.debugLine="promos.elCliente = Subs.traeUsuarioDeBD"; +RDebugUtils.currentLine=66060308; + //BA.debugLineNum = 66060308;BA.debugLine="promos.elCliente = Subs.traeUsuarioDeBD"; _promos._elcliente /*String*/ = _subs._traeusuariodebd /*String*/ (ba); - //BA.debugLineNum = 602;BA.debugLine="B4XPages.ShowPage(\"Promos\")"; +RDebugUtils.currentLine=66060309; + //BA.debugLineNum = 66060309;BA.debugLine="B4XPages.ShowPage(\"Promos\")"; _b4xpages._showpage /*String*/ (ba,"Promos"); - }; - //BA.debugLineNum = 604;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=66060311; + //BA.debugLineNum = 66060311;BA.debugLine="End Sub"; return ""; } -public String _lv_promos_itemlongclick(int _position,Object _value) throws Exception{ +public String _lv_promos_itemlongclick(gunav2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_promos_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "lv_promos_itemlongclick", new Object[] {_position,_value}));} String _id = ""; - //BA.debugLineNum = 1269;BA.debugLine="Private Sub lv_promos_ItemLongClick (Position As I"; - //BA.debugLineNum = 1270;BA.debugLine="Log(\"Promo longclic = \"&Value)"; -__c.LogImpl("466846721","Promo longclic = "+BA.ObjectToString(_value),0); - //BA.debugLineNum = 1271;BA.debugLine="Private id As String = \"\""; +RDebugUtils.currentLine=66912256; + //BA.debugLineNum = 66912256;BA.debugLine="Private Sub lv_promos_ItemLongClick (Position As I"; +RDebugUtils.currentLine=66912257; + //BA.debugLineNum = 66912257;BA.debugLine="Log(\"Promo longclic = \"&Value)"; +__c.LogImpl("066912257","Promo longclic = "+BA.ObjectToString(_value),0); +RDebugUtils.currentLine=66912258; + //BA.debugLineNum = 66912258;BA.debugLine="Private id As String = \"\""; _id = ""; - //BA.debugLineNum = 1272;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +RDebugUtils.currentLine=66912259; + //BA.debugLineNum = 66912259;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_TIPO = 'PROMOS' and CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",_value)+"'")))); - //BA.debugLineNum = 1273;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1274;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1275;BA.debugLine="id = c.GetString(\"CAT_GP_ID\")"; -_id = _c.GetString("CAT_GP_ID"); +RDebugUtils.currentLine=66912260; + //BA.debugLineNum = 66912260;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=66912261; + //BA.debugLineNum = 66912261;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=66912262; + //BA.debugLineNum = 66912262;BA.debugLine="id = c.GetString(\"CAT_GP_ID\")"; +_id = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"); }; - //BA.debugLineNum = 1277;BA.debugLine="l_info.Text = $\"ID: ${id}${CRLF}${Value}\"$"; -_l_info.setText(BA.ObjectToCharSequence(("ID: "+__c.SmartStringFormatter("",(Object)(_id))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",_value)+""))); - //BA.debugLineNum = 1278;BA.debugLine="l_info.Visible = True"; -_l_info.setVisible(__c.True); - //BA.debugLineNum = 1279;BA.debugLine="End Sub"; +RDebugUtils.currentLine=66912264; + //BA.debugLineNum = 66912264;BA.debugLine="l_info.Text = $\"ID: ${id}${CRLF}${Value}\"$"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("ID: "+__c.SmartStringFormatter("",(Object)(_id))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",_value)+""))); +RDebugUtils.currentLine=66912265; + //BA.debugLineNum = 66912265;BA.debugLine="l_info.Visible = True"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=66912266; + //BA.debugLineNum = 66912266;BA.debugLine="End Sub"; return ""; } -public String _lv_subtipo_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 1306;BA.debugLine="Private Sub lv_subtipo_ItemClick (Position As Int,"; - //BA.debugLineNum = 1320;BA.debugLine="End Sub"; +public String _lv_subtipo_itemclick(gunav2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_subtipo_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_subtipo_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=67043328; + //BA.debugLineNum = 67043328;BA.debugLine="Private Sub lv_subtipo_ItemClick (Position As Int,"; +RDebugUtils.currentLine=67043342; + //BA.debugLineNum = 67043342;BA.debugLine="End Sub"; return ""; } -public String _lv_tipo_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 1286;BA.debugLine="Private Sub lv_tipo_ItemClick (Position As Int, Va"; - //BA.debugLineNum = 1304;BA.debugLine="End Sub"; +public String _lv_tipo_itemclick(gunav2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_tipo_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_tipo_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=66977792; + //BA.debugLineNum = 66977792;BA.debugLine="Private Sub lv_tipo_ItemClick (Position As Int, Va"; +RDebugUtils.currentLine=66977810; + //BA.debugLineNum = 66977810;BA.debugLine="End Sub"; return ""; } -public String _p_devo_click() throws Exception{ - //BA.debugLineNum = 2441;BA.debugLine="Private Sub p_devo_Click"; - //BA.debugLineNum = 2443;BA.debugLine="End Sub"; +public String _p_devo_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "p_devo_click", false)) + {return ((String) Debug.delegate(ba, "p_devo_click", null));} +RDebugUtils.currentLine=68222976; + //BA.debugLineNum = 68222976;BA.debugLine="Private Sub p_devo_Click"; +RDebugUtils.currentLine=68222978; + //BA.debugLineNum = 68222978;BA.debugLine="End Sub"; return ""; } -public String _p_promodesc_click() throws Exception{ - //BA.debugLineNum = 2300;BA.debugLine="Private Sub p_promodesc_Click"; - //BA.debugLineNum = 2301;BA.debugLine="p_promodesc.Visible = False"; -_p_promodesc.setVisible(__c.False); - //BA.debugLineNum = 2302;BA.debugLine="End Sub"; +public String _p_promodesc_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "p_promodesc_click", false)) + {return ((String) Debug.delegate(ba, "p_promodesc_click", null));} +RDebugUtils.currentLine=67895296; + //BA.debugLineNum = 67895296;BA.debugLine="Private Sub p_promodesc_Click"; +RDebugUtils.currentLine=67895297; + //BA.debugLineNum = 67895297;BA.debugLine="p_promodesc.Visible = False"; +__ref._p_promodesc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=67895298; + //BA.debugLineNum = 67895298;BA.debugLine="End Sub"; return ""; } -public String _p_vistapreviatrans_click() throws Exception{ - //BA.debugLineNum = 1322;BA.debugLine="Private Sub p_vistaPreviaTrans_Click"; - //BA.debugLineNum = 1324;BA.debugLine="End Sub"; +public String _p_vistapreviatrans_click(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "p_vistapreviatrans_click", false)) + {return ((String) Debug.delegate(ba, "p_vistapreviatrans_click", null));} +RDebugUtils.currentLine=67108864; + //BA.debugLineNum = 67108864;BA.debugLine="Private Sub p_vistaPreviaTrans_Click"; +RDebugUtils.currentLine=67108866; + //BA.debugLineNum = 67108866;BA.debugLine="End Sub"; return ""; } -public String _pclv_addprods() throws Exception{ - //BA.debugLineNum = 271;BA.debugLine="Sub PCLV_AddProds"; - //BA.debugLineNum = 273;BA.debugLine="End Sub"; +public String _pclv_addprods(gunav2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "pclv_addprods", false)) + {return ((String) Debug.delegate(ba, "pclv_addprods", null));} +RDebugUtils.currentLine=65863680; + //BA.debugLineNum = 65863680;BA.debugLine="Sub PCLV_AddProds"; +RDebugUtils.currentLine=65863682; + //BA.debugLineNum = 65863682;BA.debugLine="End Sub"; return ""; } -public Object _pclv_hintrequested(int _index) throws Exception{ +public Object _pclv_hintrequested(gunav2.keymon.com.mx.c_productos __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "pclv_hintrequested", false)) + {return ((Object) Debug.delegate(ba, "pclv_hintrequested", new Object[] {_index}));} String _word = ""; - //BA.debugLineNum = 1972;BA.debugLine="Sub PCLV_HintRequested(Index As Int) As Object"; - //BA.debugLineNum = 1973;BA.debugLine="Dim word As String = listaHints.get(Index)"; -_word = BA.ObjectToString(_listahints.Get(_index)); - //BA.debugLineNum = 1974;BA.debugLine="Return word"; +RDebugUtils.currentLine=67698688; + //BA.debugLineNum = 67698688;BA.debugLine="Sub PCLV_HintRequested(Index As Int) As Object"; +RDebugUtils.currentLine=67698689; + //BA.debugLineNum = 67698689;BA.debugLine="Dim word As String = listaHints.get(Index)"; +_word = BA.ObjectToString(__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Get(_index)); +RDebugUtils.currentLine=67698690; + //BA.debugLineNum = 67698690;BA.debugLine="Return word"; if (true) return (Object)(_word); - //BA.debugLineNum = 1975;BA.debugLine="End Sub"; +RDebugUtils.currentLine=67698691; + //BA.debugLineNum = 67698691;BA.debugLine="End Sub"; return null; } -public String _terminarpromoesp() throws Exception{ -int _i = 0; -String _pn = ""; - //BA.debugLineNum = 2278;BA.debugLine="Sub terminarpromoesp"; - //BA.debugLineNum = 2279;BA.debugLine="c2 = B4XPages.MainPage.skmt.ExecQuery($\"select *"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" WHERE CAT_GP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)")))); - //BA.debugLineNum = 2280;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 2281;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 2282;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"), \""; -_subs._guardaproducto /*String*/ (ba,_c2.GetString("CAT_GP_ID"),"0",BA.NumberToString(1),_c2.GetString("CAT_GP_NOMBRE"),_c2.GetString("CAT_GP_ID"),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ); - //BA.debugLineNum = 2283;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select * f"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)"))); - //BA.debugLineNum = 2284;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2285;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 2286;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 2287;BA.debugLine="Private pn As String = Subs.traeProdNombre(c.G"; -_pn = _subs._traeprodnombre /*String*/ (ba,_c.GetString("CAT_DP_IDPROD")); - //BA.debugLineNum = 2288;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"),"; -_subs._guardaproducto /*String*/ (ba,_c2.GetString("CAT_GP_ID"),_c.GetString("CAT_DP_PRECIO"),_c.GetString("CAT_DP_PZAS"),_pn,_c.GetString("CAT_DP_IDPROD"),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ); - } -}; - }; - //BA.debugLineNum = 2291;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 2293;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 2294;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_promos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_promos.java index 3ea8e66..b76a95f 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_promos.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_promos.java @@ -10,7 +10,7 @@ public class c_promos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_promos"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_promos"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_promos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.LabelWrapper _l_promodesc = null; @@ -84,15 +91,34 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _agregafijosalista(anywheresoftware.b4a.objects.collections.Map _mp,boolean _addlistitem) throws Exception{ +public Object _initialize(gunav2.keymon.com.mx.c_promos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=78970880; + //BA.debugLineNum = 78970880;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=78970881; + //BA.debugLineNum = 78970881;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=78970882; + //BA.debugLineNum = 78970882;BA.debugLine="End Sub"; +return null; +} +public String _agregafijosalista(gunav2.keymon.com.mx.c_promos __ref,anywheresoftware.b4a.objects.collections.Map _mp,boolean _addlistitem) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "agregafijosalista", false)) + {return ((String) Debug.delegate(ba, "agregafijosalista", new Object[] {_mp,_addlistitem}));} boolean _thislog = false; int _cont = 0; anywheresoftware.b4a.objects.collections.List _pf = null; @@ -100,32 +126,45 @@ String _p = ""; String _tpi = ""; String _tpr = ""; int _ntpi = 0; - //BA.debugLineNum = 638;BA.debugLine="Sub agregaFijosALista(mp As Map, addListItem As Bo"; - //BA.debugLineNum = 639;BA.debugLine="Private thisLog As Boolean = False"; +RDebugUtils.currentLine=79233024; + //BA.debugLineNum = 79233024;BA.debugLine="Sub agregaFijosALista(mp As Map, addListItem As Bo"; +RDebugUtils.currentLine=79233025; + //BA.debugLineNum = 79233025;BA.debugLine="Private thisLog As Boolean = False"; _thislog = __c.False; - //BA.debugLineNum = 640;BA.debugLine="Private cont As Int = 0"; +RDebugUtils.currentLine=79233026; + //BA.debugLineNum = 79233026;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 641;BA.debugLine="prodsFijosTot = 0"; -_prodsfijostot = (float) (0); - //BA.debugLineNum = 642;BA.debugLine="Dim pf As List = mp.Get(\"prodsFijos\")"; +RDebugUtils.currentLine=79233027; + //BA.debugLineNum = 79233027;BA.debugLine="prodsFijosTot = 0"; +__ref._prodsfijostot /*float*/ = (float) (0); +RDebugUtils.currentLine=79233028; + //BA.debugLineNum = 79233028;BA.debugLine="Dim pf As List = mp.Get(\"prodsFijos\")"; _pf = new anywheresoftware.b4a.objects.collections.List(); _pf = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 643;BA.debugLine="If pf.Size < 1 Then pf.Add(\"Sin productos fijos.\""; +RDebugUtils.currentLine=79233029; + //BA.debugLineNum = 79233029;BA.debugLine="If pf.Size < 1 Then pf.Add(\"Sin productos fijos.\""; if (_pf.getSize()<1) { _pf.Add((Object)("Sin productos fijos."));}; - //BA.debugLineNum = 647;BA.debugLine="prodsIds.clear"; -_prodsids.Clear(); - //BA.debugLineNum = 648;BA.debugLine="prodsCants.clear"; -_prodscants.Clear(); - //BA.debugLineNum = 649;BA.debugLine="prodsPrecios.clear"; -_prodsprecios.Clear(); - //BA.debugLineNum = 650;BA.debugLine="prodsIds.Add(estaPromo)"; -_prodsids.Add((Object)(_estapromo)); - //BA.debugLineNum = 651;BA.debugLine="prodsCants.Add(et_promoCant.text.As(Int))"; -_prodscants.Add((Object)(((int)(Double.parseDouble(_et_promocant.getText()))))); - //BA.debugLineNum = 652;BA.debugLine="prodsPrecios.Add(0)"; -_prodsprecios.Add((Object)(0)); - //BA.debugLineNum = 653;BA.debugLine="For Each p As String In pf"; +RDebugUtils.currentLine=79233033; + //BA.debugLineNum = 79233033;BA.debugLine="prodsIds.clear"; +__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=79233034; + //BA.debugLineNum = 79233034;BA.debugLine="prodsCants.clear"; +__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=79233035; + //BA.debugLineNum = 79233035;BA.debugLine="prodsPrecios.clear"; +__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=79233036; + //BA.debugLineNum = 79233036;BA.debugLine="prodsIds.Add(estaPromo)"; +__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(__ref._estapromo /*String*/ )); +RDebugUtils.currentLine=79233037; + //BA.debugLineNum = 79233037;BA.debugLine="prodsCants.Add(et_promoCant.text.As(Int))"; +__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))))); +RDebugUtils.currentLine=79233038; + //BA.debugLineNum = 79233038;BA.debugLine="prodsPrecios.Add(0)"; +__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(0)); +RDebugUtils.currentLine=79233039; + //BA.debugLineNum = 79233039;BA.debugLine="For Each p As String In pf"; { final anywheresoftware.b4a.BA.IterableList group12 = _pf; final int groupLen12 = group12.getSize() @@ -133,662 +172,156 @@ final int groupLen12 = group12.getSize() ; for (; index12 < groupLen12;index12++){ _p = BA.ObjectToString(group12.Get(index12)); - //BA.debugLineNum = 655;BA.debugLine="If mp.Get(\"prodsFijosPiezas\").As(List).Size > 0"; +RDebugUtils.currentLine=79233041; + //BA.debugLineNum = 79233041;BA.debugLine="If mp.Get(\"prodsFijosPiezas\").As(List).Size > 0"; if (((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))).getSize()>0) { - //BA.debugLineNum = 656;BA.debugLine="Private tpi As String = mp.Get(\"prodsFijosPieza"; +RDebugUtils.currentLine=79233042; + //BA.debugLineNum = 79233042;BA.debugLine="Private tpi As String = mp.Get(\"prodsFijosPieza"; _tpi = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))).Get(_cont)); }else { - //BA.debugLineNum = 658;BA.debugLine="Private tpi As String = 0"; +RDebugUtils.currentLine=79233044; + //BA.debugLineNum = 79233044;BA.debugLine="Private tpi As String = 0"; _tpi = BA.NumberToString(0); }; - //BA.debugLineNum = 660;BA.debugLine="If mp.Get(\"prodsFijosPrecios\").As(List).Size > 0"; +RDebugUtils.currentLine=79233046; + //BA.debugLineNum = 79233046;BA.debugLine="If mp.Get(\"prodsFijosPrecios\").As(List).Size > 0"; if (((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPrecios"))))).getSize()>0) { - //BA.debugLineNum = 661;BA.debugLine="Private tpr As String = mp.Get(\"prodsFijosPreci"; +RDebugUtils.currentLine=79233047; + //BA.debugLineNum = 79233047;BA.debugLine="Private tpr As String = mp.Get(\"prodsFijosPreci"; _tpr = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPrecios"))))).Get(_cont)); }else { - //BA.debugLineNum = 663;BA.debugLine="Private tpr As String = 0"; +RDebugUtils.currentLine=79233049; + //BA.debugLineNum = 79233049;BA.debugLine="Private tpr As String = 0"; _tpr = BA.NumberToString(0); }; - //BA.debugLineNum = 665;BA.debugLine="prodsFijosTot = prodsFijosTot + (tpi * tpr)"; -_prodsfijostot = (float) (_prodsfijostot+((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_tpr)))); - //BA.debugLineNum = 666;BA.debugLine="If thisLog Then Log(\"|\"&tpi&\"|\"&p)"; +RDebugUtils.currentLine=79233051; + //BA.debugLineNum = 79233051;BA.debugLine="prodsFijosTot = prodsFijosTot + (tpi * tpr)"; +__ref._prodsfijostot /*float*/ = (float) (__ref._prodsfijostot /*float*/ +((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_tpr)))); +RDebugUtils.currentLine=79233052; + //BA.debugLineNum = 79233052;BA.debugLine="If thisLog Then Log(\"|\"&tpi&\"|\"&p)"; if (_thislog) { -__c.LogImpl("477266972","|"+_tpi+"|"+_p,0);}; - //BA.debugLineNum = 667;BA.debugLine="Private ntpi As Int = tpi * et_promoCant.text"; -_ntpi = (int) ((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_et_promocant.getText()))); - //BA.debugLineNum = 668;BA.debugLine="If addListItem And tpi > 0 Then lv_prodsFijos.Ad"; +__c.LogImpl("079233052","|"+_tpi+"|"+_p,0);}; +RDebugUtils.currentLine=79233053; + //BA.debugLineNum = 79233053;BA.debugLine="Private ntpi As Int = tpi * et_promoCant.text"; +_ntpi = (int) ((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=79233054; + //BA.debugLineNum = 79233054;BA.debugLine="If addListItem And tpi > 0 Then lv_prodsFijos.Ad"; if (_addlistitem && (double)(Double.parseDouble(_tpi))>0) { -_lv_prodsfijos.AddSingleLine(BA.ObjectToCharSequence(BA.NumberToString(_ntpi)+" "+_subs._traeprodnombre /*String*/ (ba,_p)+" - $"+_tpr));}; - //BA.debugLineNum = 669;BA.debugLine="cont = cont+1"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(BA.NumberToString(_ntpi)+" "+_subs._traeprodnombre /*String*/ (ba,_p)+" - $"+_tpr));}; +RDebugUtils.currentLine=79233055; + //BA.debugLineNum = 79233055;BA.debugLine="cont = cont+1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 672;BA.debugLine="prodsIds.Add(p)"; -_prodsids.Add((Object)(_p)); - //BA.debugLineNum = 673;BA.debugLine="prodsCants.Add(tpi.As(Int)*et_promoCant.text.As("; -_prodscants.Add((Object)(((int)(Double.parseDouble(_tpi)))*((int)(Double.parseDouble(_et_promocant.getText()))))); - //BA.debugLineNum = 674;BA.debugLine="prodsPrecios.Add(tpr) '*et_promoCant.text.As(Int"; -_prodsprecios.Add((Object)(_tpr)); +RDebugUtils.currentLine=79233058; + //BA.debugLineNum = 79233058;BA.debugLine="prodsIds.Add(p)"; +__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_p)); +RDebugUtils.currentLine=79233059; + //BA.debugLineNum = 79233059;BA.debugLine="prodsCants.Add(tpi.As(Int)*et_promoCant.text.As("; +__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(((int)(Double.parseDouble(_tpi)))*((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))))); +RDebugUtils.currentLine=79233060; + //BA.debugLineNum = 79233060;BA.debugLine="prodsPrecios.Add(tpr) '*et_promoCant.text.As(Int"; +__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_tpr)); } }; - //BA.debugLineNum = 676;BA.debugLine="End Sub"; +RDebugUtils.currentLine=79233062; + //BA.debugLineNum = 79233062;BA.debugLine="End Sub"; return ""; } -public String _b_continuar_click() throws Exception{ +public String _b_continuar_click(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_continuar_click", false)) + {return ((String) Debug.delegate(ba, "b_continuar_click", null));} int _t = 0; String _pn = ""; gunav2.keymon.com.mx.c_productos _prodspage = null; - //BA.debugLineNum = 1011;BA.debugLine="Private Sub b_continuar_Click"; - //BA.debugLineNum = 1012;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 1013;BA.debugLine="Log(\"============================================"; -__c.LogImpl("478118914","====================================================================",0); - //BA.debugLineNum = 1014;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; +RDebugUtils.currentLine=80084992; + //BA.debugLineNum = 80084992;BA.debugLine="Private Sub b_continuar_Click"; +RDebugUtils.currentLine=80084993; + //BA.debugLineNum = 80084993;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=80084994; + //BA.debugLineNum = 80084994;BA.debugLine="Log(\"============================================"; +__c.LogImpl("080084994","====================================================================",0); +RDebugUtils.currentLine=80084995; + //BA.debugLineNum = 80084995;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; { final int step3 = 1; -final int limit3 = (int) (_prodsids.getSize()-1); +final int limit3 = (int) (__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _t = (int) (0) ; for (;_t <= limit3 ;_t = _t + step3 ) { - //BA.debugLineNum = 1015;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; -_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(_prodsids.Get(_t))); - //BA.debugLineNum = 1016;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +RDebugUtils.currentLine=80084996; + //BA.debugLineNum = 80084996;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t))); +RDebugUtils.currentLine=80084997; + //BA.debugLineNum = 80084997;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 1017;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios.Get(_t)),BA.ObjectToString(_prodscants.Get(_t)),_pn,BA.ObjectToString(_prodsids.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1)); +RDebugUtils.currentLine=80084998; + //BA.debugLineNum = 80084998;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1)); }else { - //BA.debugLineNum = 1019;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios.Get(_t)),BA.ObjectToString(_prodscants.Get(_t)),_pn,BA.ObjectToString(_prodsids.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0)); +RDebugUtils.currentLine=80085000; + //BA.debugLineNum = 80085000;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0)); }; } }; - //BA.debugLineNum = 1022;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; +RDebugUtils.currentLine=80085003; + //BA.debugLineNum = 80085003;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; { final int step11 = 1; -final int limit11 = (int) (_prodsids2.getSize()-1); +final int limit11 = (int) (__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _t = (int) (0) ; for (;_t <= limit11 ;_t = _t + step11 ) { - //BA.debugLineNum = 1023;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; -_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(_prodsids2.Get(_t))); - //BA.debugLineNum = 1024;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +RDebugUtils.currentLine=80085004; + //BA.debugLineNum = 80085004;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t))); +RDebugUtils.currentLine=80085005; + //BA.debugLineNum = 80085005;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 1025;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios2.Get(_t)),BA.ObjectToString(_prodscants2.Get(_t)),_pn,BA.ObjectToString(_prodsids2.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1)); +RDebugUtils.currentLine=80085006; + //BA.debugLineNum = 80085006;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1)); }else { - //BA.debugLineNum = 1027;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios2.Get(_t)),BA.ObjectToString(_prodscants2.Get(_t)),_pn,BA.ObjectToString(_prodsids2.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0)); +RDebugUtils.currentLine=80085008; + //BA.debugLineNum = 80085008;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0)); }; } }; - //BA.debugLineNum = 1042;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 1045;BA.debugLine="Private prodspage As C_Productos"; +RDebugUtils.currentLine=80085023; + //BA.debugLineNum = 80085023;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=80085026; + //BA.debugLineNum = 80085026;BA.debugLine="Private prodspage As C_Productos"; _prodspage = new gunav2.keymon.com.mx.c_productos(); - //BA.debugLineNum = 1046;BA.debugLine="If prodspage.IsInitialized Then"; +RDebugUtils.currentLine=80085027; + //BA.debugLineNum = 80085027;BA.debugLine="If prodspage.IsInitialized Then"; if (_prodspage.IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 1047;BA.debugLine="prodspage.lv_catalogos.Visible = True"; +RDebugUtils.currentLine=80085028; + //BA.debugLineNum = 80085028;BA.debugLine="prodspage.lv_catalogos.Visible = True"; _prodspage._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); - //BA.debugLineNum = 1048;BA.debugLine="prodspage.lv_promos.Visible = False"; +RDebugUtils.currentLine=80085029; + //BA.debugLineNum = 80085029;BA.debugLine="prodspage.lv_promos.Visible = False"; _prodspage._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); - //BA.debugLineNum = 1049;BA.debugLine="prodspage.clv_productos.AsView.Visible = False"; +RDebugUtils.currentLine=80085030; + //BA.debugLineNum = 80085030;BA.debugLine="prodspage.clv_productos.AsView.Visible = False"; _prodspage._clv_productos /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); }; - //BA.debugLineNum = 1051;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; +RDebugUtils.currentLine=80085032; + //BA.debugLineNum = 80085032;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = __c.True; - //BA.debugLineNum = 1052;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +RDebugUtils.currentLine=80085033; + //BA.debugLineNum = 80085033;BA.debugLine="B4XPages.ShowPage(\"productos\")"; _b4xpages._showpage /*String*/ (ba,"productos"); - //BA.debugLineNum = 1053;BA.debugLine="End Sub"; +RDebugUtils.currentLine=80085034; + //BA.debugLineNum = 80085034;BA.debugLine="End Sub"; return ""; } -public String _b_prodmas_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _precio = ""; -String _prodid = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; - //BA.debugLineNum = 743;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 744;BA.debugLine="If prodsVar1 < prodsVarReq Then"; -if (_prodsvar1<_prodsvarreq) { - //BA.debugLineNum = 745;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFrom"; -_index = _clv_prodsvariabes._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 746;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prodsvariabes._getpanel(_index); - //BA.debugLineNum = 747;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 749;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 752;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 755;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; -if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { - //BA.debugLineNum = 756;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); - //BA.debugLineNum = 757;BA.debugLine="cuentaProds"; -_cuentaprods(); - }; - //BA.debugLineNum = 761;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; -_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; - //BA.debugLineNum = 763;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; -_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; - //BA.debugLineNum = 764;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_estapromo)}); - //BA.debugLineNum = 766;BA.debugLine="promosMap.Put(prodId, tmpMap)"; -_promosmap.Put((Object)(_prodid),(Object)(_tmpmap.getObject())); - }; - //BA.debugLineNum = 772;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmas2_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _precio = ""; -String _prodid = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; - //BA.debugLineNum = 799;BA.debugLine="Sub b_prodMas2_Click"; - //BA.debugLineNum = 801;BA.debugLine="If prodsVar2 < prodsVarReq2 Then"; -if (_prodsvar2<_prodsvarreq2) { - //BA.debugLineNum = 802;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFro"; -_index = _clv_prodsvariabes2._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 803;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPane"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prodsvariabes2._getpanel(_index); - //BA.debugLineNum = 804;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 806;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 809;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 811;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; -if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { - //BA.debugLineNum = 812;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); - //BA.debugLineNum = 813;BA.debugLine="cuentaProds"; -_cuentaprods(); - }; - //BA.debugLineNum = 817;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; -_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; - //BA.debugLineNum = 819;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; -_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; - //BA.debugLineNum = 820;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_estapromo)}); - //BA.debugLineNum = 822;BA.debugLine="promosMap.Put(prodId, tmpMap)"; -_promosmap.Put((Object)(_prodid),(Object)(_tmpmap.getObject())); - }; - //BA.debugLineNum = 828;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenos_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -String _precio = ""; -String _prodid = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; - //BA.debugLineNum = 719;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 720;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFromV"; -_index = _clv_prodsvariabes._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 721;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel("; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prodsvariabes._getpanel(_index); - //BA.debugLineNum = 722;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 724;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 726;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); - //BA.debugLineNum = 727;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 730;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; -_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; - //BA.debugLineNum = 732;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; -_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; - //BA.debugLineNum = 733;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_estapromo)}); - //BA.debugLineNum = 735;BA.debugLine="promosMap.Put(prodId, tmpMap)"; -_promosmap.Put((Object)(_prodid),(Object)(_tmpmap.getObject())); - //BA.debugLineNum = 736;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; -if ((_lacant.getText()).equals(BA.NumberToString(0))) { -_promosmap.Remove((Object)(_prodid));}; - //BA.debugLineNum = 738;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 741;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenos2_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -String _precio = ""; -String _prodid = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; - //BA.debugLineNum = 775;BA.debugLine="Sub b_prodMenos2_Click"; - //BA.debugLineNum = 776;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFrom"; -_index = _clv_prodsvariabes2._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 777;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPanel"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prodsvariabes2._getpanel(_index); - //BA.debugLineNum = 778;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 780;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 782;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); - //BA.debugLineNum = 783;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 786;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; -_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; - //BA.debugLineNum = 788;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; -_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; - //BA.debugLineNum = 789;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_estapromo)}); - //BA.debugLineNum = 791;BA.debugLine="promosMap.Put(prodId, tmpMap)"; -_promosmap.Put((Object)(_prodid),(Object)(_tmpmap.getObject())); - //BA.debugLineNum = 792;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; -if ((_lacant.getText()).equals(BA.NumberToString(0))) { -_promosmap.Remove((Object)(_prodid));}; - //BA.debugLineNum = 794;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 797;BA.debugLine="End Sub"; -return ""; -} -public String _b_promomas_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; - //BA.debugLineNum = 935;BA.debugLine="Private Sub b_promoMas_Click"; - //BA.debugLineNum = 937;BA.debugLine="If laPromo = \"MYKONOS_01\" Then"; -if ((_lapromo).equals("MYKONOS_01")) { - //BA.debugLineNum = 938;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 939;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 940;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 941;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.E"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))); - //BA.debugLineNum = 942;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 943;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 945;BA.debugLine="If c.GetString(\"suma\") >= 300 And c.GetString("; -if ((double)(Double.parseDouble(_c.GetString("suma")))>=300 && (double)(Double.parseDouble(_c.GetString("suma")))<600) { - //BA.debugLineNum = 946;BA.debugLine="maxCantPromos = 1"; -_maxcantpromos = (int) (1); - }else if((double)(Double.parseDouble(_c.GetString("suma")))>=600 && (double)(Double.parseDouble(_c.GetString("suma")))<900) { - //BA.debugLineNum = 948;BA.debugLine="maxCantPromos = 2"; -_maxcantpromos = (int) (2); - }else if((double)(Double.parseDouble(_c.GetString("suma")))>=900) { - //BA.debugLineNum = 950;BA.debugLine="maxCantPromos = 3"; -_maxcantpromos = (int) (3); - }; - }; - }; - }; - //BA.debugLineNum = 958;BA.debugLine="If et_promoCant.Text < maxCantPromos Then"; -if ((double)(Double.parseDouble(_et_promocant.getText()))<_maxcantpromos) { - //BA.debugLineNum = 959;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) +"; -_et_promocant.setText(BA.ObjectToCharSequence(((int)(Double.parseDouble(_et_promocant.getText())))+1)); - //BA.debugLineNum = 960;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 *"; -_l_prodsfijos.setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(_tpf2*((int)(Double.parseDouble(_et_promocant.getText())))))+")"))); - //BA.debugLineNum = 961;BA.debugLine="l_prodsVariables.Text = $\"Productos variables re"; -_l_prodsvariables.setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getText())))))+""))); - //BA.debugLineNum = 962;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2"; -_l_prodsvariables2.setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText())))))+""))); - //BA.debugLineNum = 963;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; -_tpf = (int) (_tpf2*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 964;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.A"; -_prodsvarreq = (int) (_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 965;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text"; -_prodsvarreq2 = (int) (_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 966;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P"; -__c.LogImpl("477987871",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0); - }; - //BA.debugLineNum = 968;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom"; -if ((double)(Double.parseDouble(_et_promocant.getText()))>_maxcantpromos) { -_et_promocant.setText(BA.ObjectToCharSequence(_maxcantpromos));}; - //BA.debugLineNum = 969;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 970;BA.debugLine="End Sub"; -return ""; -} -public String _b_promomenos_click() throws Exception{ - //BA.debugLineNum = 921;BA.debugLine="Private Sub b_promoMenos_Click"; - //BA.debugLineNum = 922;BA.debugLine="If et_promoCant.Text > 1 Then"; -if ((double)(Double.parseDouble(_et_promocant.getText()))>1) { - //BA.debugLineNum = 923;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) -"; -_et_promocant.setText(BA.ObjectToCharSequence(((int)(Double.parseDouble(_et_promocant.getText())))-1)); - }; - //BA.debugLineNum = 925;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 * e"; -_l_prodsfijos.setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(_tpf2*((int)(Double.parseDouble(_et_promocant.getText())))))+")"))); - //BA.debugLineNum = 926;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; -_l_prodsvariables.setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getText())))))+""))); - //BA.debugLineNum = 927;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; -_l_prodsvariables2.setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText())))))+""))); - //BA.debugLineNum = 928;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; -_tpf = (int) (_tpf2*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 929;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.As"; -_prodsvarreq = (int) (_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 930;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text."; -_prodsvarreq2 = (int) (_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 931;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, Pr"; -__c.LogImpl("477922314",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0); - //BA.debugLineNum = 932;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 933;BA.debugLine="End Sub"; -return ""; -} -public String _b_terminar1_click() throws Exception{ -int _t = 0; -String _pn = ""; - //BA.debugLineNum = 972;BA.debugLine="Private Sub b_terminar1_Click"; - //BA.debugLineNum = 973;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 974;BA.debugLine="Log(\"============================================"; -__c.LogImpl("478053378","====================================================================",0); - //BA.debugLineNum = 975;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; -{ -final int step3 = 1; -final int limit3 = (int) (_prodsids.getSize()-1); -_t = (int) (0) ; -for (;_t <= limit3 ;_t = _t + step3 ) { - //BA.debugLineNum = 976;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; -_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(_prodsids.Get(_t))); - //BA.debugLineNum = 977;BA.debugLine="If prodsCants.Get(t) > 0 Then"; -if ((double)(BA.ObjectToNumber(_prodscants.Get(_t)))>0) { - //BA.debugLineNum = 978;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; -if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 979;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prods"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios.Get(_t)),BA.ObjectToString(_prodscants.Get(_t)),_pn,BA.ObjectToString(_prodsids.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1)); - }else { - //BA.debugLineNum = 981;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prods"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios.Get(_t)),BA.ObjectToString(_prodscants.Get(_t)),_pn,BA.ObjectToString(_prodsids.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0)); - }; - }; - } -}; - //BA.debugLineNum = 985;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; -{ -final int step13 = 1; -final int limit13 = (int) (_prodsids2.getSize()-1); -_t = (int) (0) ; -for (;_t <= limit13 ;_t = _t + step13 ) { - //BA.debugLineNum = 986;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; -_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(_prodsids2.Get(_t))); - //BA.debugLineNum = 987;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; -if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 988;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios2.Get(_t)),BA.ObjectToString(_prodscants2.Get(_t)),_pn,BA.ObjectToString(_prodsids2.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1)); - }else { - //BA.debugLineNum = 990;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios2.Get(_t)),BA.ObjectToString(_prodscants2.Get(_t)),_pn,BA.ObjectToString(_prodsids2.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0)); - }; - } -}; - //BA.debugLineNum = 1005;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 1006;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = __c.True; - //BA.debugLineNum = 1007;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - //BA.debugLineNum = 1008;BA.debugLine="B4XPages.MainPage.productos.b_terminar1_Click"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._b_terminar1_click /*String*/ (); - //BA.debugLineNum = 1009;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 465;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 467;BA.debugLine="prodsIds.Initialize"; -_prodsids.Initialize(); - //BA.debugLineNum = 468;BA.debugLine="prodsCants.Initialize"; -_prodscants.Initialize(); - //BA.debugLineNum = 469;BA.debugLine="prodsPrecios.Initialize"; -_prodsprecios.Initialize(); - //BA.debugLineNum = 470;BA.debugLine="prodsIds2.Initialize"; -_prodsids2.Initialize(); - //BA.debugLineNum = 471;BA.debugLine="prodsCants2.Initialize"; -_prodscants2.Initialize(); - //BA.debugLineNum = 472;BA.debugLine="prodsPrecios2.Initialize"; -_prodsprecios2.Initialize(); - //BA.debugLineNum = 473;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 474;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; -_prodspedidoactual = BA.ObjectToString(_m.Get((Object)("productos"))); - //BA.debugLineNum = 475;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; -_montopedidoactual = BA.ObjectToString(_m.Get((Object)("monto"))); - //BA.debugLineNum = 477;BA.debugLine="If laPromo <> \"\" Then muestraPromo(laPromo, elCli"; -if ((_lapromo).equals("") == false) { -_muestrapromo(_lapromo,_elcliente);}; - //BA.debugLineNum = 478;BA.debugLine="Log(laPromo)"; -__c.LogImpl("477135885",_lapromo,0); - //BA.debugLineNum = 479;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 450;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 451;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 453;BA.debugLine="Root.LoadLayout(\"promociones\")"; -_root.LoadLayout("promociones",ba); - //BA.debugLineNum = 455;BA.debugLine="p_promociones.Height= Root.Height"; -_p_promociones.setHeight(_root.getHeight()); - //BA.debugLineNum = 456;BA.debugLine="p_promociones.Width= Root.Width"; -_p_promociones.setWidth(_root.getWidth()); - //BA.debugLineNum = 457;BA.debugLine="promosMap.Initialize"; -_promosmap.Initialize(); - //BA.debugLineNum = 458;BA.debugLine="p_promociones.Top=0"; -_p_promociones.setTop((int) (0)); - //BA.debugLineNum = 459;BA.debugLine="p_promociones.Left=0"; -_p_promociones.setLeft((int) (0)); - //BA.debugLineNum = 460;BA.debugLine="b_terminar1.Left = Root.Width - (b_terminar1.Widt"; -_b_terminar1.setLeft((int) (_root.getWidth()-(_b_terminar1.getWidth()+10))); - //BA.debugLineNum = 461;BA.debugLine="b_continuar.Left = Root.Width - b_terminar1.Width"; -_b_continuar.setLeft((int) (_root.getWidth()-_b_terminar1.getWidth()-(_b_continuar.getWidth()+20))); - //BA.debugLineNum = 462;BA.debugLine="Subs.centraPanel(p_promociones,Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_promociones,_root.getWidth()); - //BA.debugLineNum = 463;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 398;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 399;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 400;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 401;BA.debugLine="Private l_promoDesc As Label"; -_l_promodesc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 402;BA.debugLine="Private lv_prodsFijos As ListView"; -_lv_prodsfijos = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 403;BA.debugLine="Private clv_prodsVariabes, clv_prodsVariabes2 As"; -_clv_prodsvariabes = new b4a.example3.customlistview(); -_clv_prodsvariabes2 = new b4a.example3.customlistview(); - //BA.debugLineNum = 404;BA.debugLine="Private l_prodsFijos As Label"; -_l_prodsfijos = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 405;BA.debugLine="Private l_prodsVariables, l_prodsVariables2 As La"; -_l_prodsvariables = new anywheresoftware.b4a.objects.LabelWrapper(); -_l_prodsvariables2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 406;BA.debugLine="Private i_prod As ImageView"; -_i_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 407;BA.debugLine="Private l_prodX As Label"; -_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 408;BA.debugLine="Private p_prods As Panel"; -_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 409;BA.debugLine="Private b_prodMenos, b_prodMenos2 As Button"; -_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); -_b_prodmenos2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 410;BA.debugLine="Private et_pCant As EditText"; -_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 411;BA.debugLine="Private b_prodMas, b_prodMas2 As Button"; -_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); -_b_prodmas2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 412;BA.debugLine="Private l_pCant As Label"; -_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 413;BA.debugLine="Dim totalProds As Int = 0"; -_totalprods = (int) (0); - //BA.debugLineNum = 414;BA.debugLine="Dim prodsVar1 As Int = 0"; -_prodsvar1 = (int) (0); - //BA.debugLineNum = 415;BA.debugLine="Dim prodsVar2 As Int = 0"; -_prodsvar2 = (int) (0); - //BA.debugLineNum = 416;BA.debugLine="Dim prodsVarReq As Int = 0"; -_prodsvarreq = (int) (0); - //BA.debugLineNum = 417;BA.debugLine="Dim prodsVarReq_ As Int = 0"; -_prodsvarreq_ = (int) (0); - //BA.debugLineNum = 418;BA.debugLine="Dim prodsVarReq2 As Int = 0"; -_prodsvarreq2 = (int) (0); - //BA.debugLineNum = 419;BA.debugLine="Dim prodsVarReq2_ As Int = 0"; -_prodsvarreq2_ = (int) (0); - //BA.debugLineNum = 420;BA.debugLine="Dim totalCompra As Float = 0"; -_totalcompra = (float) (0); - //BA.debugLineNum = 421;BA.debugLine="Dim prodsFijosTot As Float = 0"; -_prodsfijostot = (float) (0); - //BA.debugLineNum = 422;BA.debugLine="Dim tpf As Int = 0"; -_tpf = (int) (0); - //BA.debugLineNum = 423;BA.debugLine="Dim tpf2 As Int = 0"; -_tpf2 = (int) (0); - //BA.debugLineNum = 424;BA.debugLine="Dim maxCantPromos As Int = 1"; -_maxcantpromos = (int) (1); - //BA.debugLineNum = 425;BA.debugLine="Private l_totProds As Label"; -_l_totprods = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 426;BA.debugLine="Private l_total As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 427;BA.debugLine="Private b_terminar1 As Button"; -_b_terminar1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 428;BA.debugLine="Private p_promociones As Panel"; -_p_promociones = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 429;BA.debugLine="Dim prodsIds, prodsCants, prodsPrecios, prodsIds2"; -_prodsids = new anywheresoftware.b4a.objects.collections.List(); -_prodscants = new anywheresoftware.b4a.objects.collections.List(); -_prodsprecios = new anywheresoftware.b4a.objects.collections.List(); -_prodsids2 = new anywheresoftware.b4a.objects.collections.List(); -_prodscants2 = new anywheresoftware.b4a.objects.collections.List(); -_prodsprecios2 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 430;BA.debugLine="Dim estaPromo, esteCliente As String"; -_estapromo = ""; -_estecliente = ""; - //BA.debugLineNum = 431;BA.debugLine="Private b_promoMas As Button"; -_b_promomas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 432;BA.debugLine="Private b_promoMenos As Button"; -_b_promomenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 433;BA.debugLine="Private et_promoCant As EditText"; -_et_promocant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 434;BA.debugLine="Private l_promosCant As Label"; -_l_promoscant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 435;BA.debugLine="Private b_continuar As Button"; -_b_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 436;BA.debugLine="Private p_prodsVariables, p_prodsVariables2 As Pa"; -_p_prodsvariables = new anywheresoftware.b4a.objects.PanelWrapper(); -_p_prodsvariables2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 437;BA.debugLine="Dim laPromo = \"\", elCliente = \"\" As String"; -_lapromo = ""; -_elcliente = ""; - //BA.debugLineNum = 438;BA.debugLine="Dim prodsPedidoActual As String"; -_prodspedidoactual = ""; - //BA.debugLineNum = 439;BA.debugLine="Dim montoPedidoActual As String"; -_montopedidoactual = ""; - //BA.debugLineNum = 440;BA.debugLine="Dim promosMap As Map"; -_promosmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 441;BA.debugLine="Dim su As StringUtils"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 442;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 678;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 679;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 680;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 681;BA.debugLine="p.LoadLayout(\"prodItem1\")"; -_p.LoadLayout("prodItem1",ba); - //BA.debugLineNum = 682;BA.debugLine="l_prodX.TextSize = 15"; -_l_prodx.setTextSize((float) (15)); - //BA.debugLineNum = 683;BA.debugLine="l_prodX.Text = Text"; -_l_prodx.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 684;BA.debugLine="l_prodX.TextSize = 15"; -_l_prodx.setTextSize((float) (15)); - //BA.debugLineNum = 687;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; -_p_prods.setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_l_prodx.getObject()),BA.ObjectToCharSequence(_l_prodx.getText()))+20)); - //BA.debugLineNum = 688;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; -if (_p_prods.getHeight()<_height) { -_p_prods.setHeight(_height);}; - //BA.debugLineNum = 689;BA.debugLine="l_prodX.Height = p_prods.Height"; -_l_prodx.setHeight(_p_prods.getHeight()); - //BA.debugLineNum = 690;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; -_l_pcant.setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); - //BA.debugLineNum = 691;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; -_et_pcant.setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); - //BA.debugLineNum = 692;BA.debugLine="et_pCant.BringToFront"; -_et_pcant.BringToFront(); - //BA.debugLineNum = 694;BA.debugLine="p.Height = p_prods.Height"; -_p.setHeight(_p_prods.getHeight()); - //BA.debugLineNum = 695;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 696;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 698;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; - //BA.debugLineNum = 699;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 700;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 701;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 702;BA.debugLine="l_prodX.TextSize = 15"; -_l_prodx.setTextSize((float) (15)); - //BA.debugLineNum = 703;BA.debugLine="l_prodX.Text = Text"; -_l_prodx.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 704;BA.debugLine="l_prodX.TextSize = 15"; -_l_prodx.setTextSize((float) (15)); - //BA.debugLineNum = 707;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; -_p_prods.setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_l_prodx.getObject()),BA.ObjectToCharSequence(_l_prodx.getText()))+20)); - //BA.debugLineNum = 708;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; -if (_p_prods.getHeight()<_height) { -_p_prods.setHeight(_height);}; - //BA.debugLineNum = 709;BA.debugLine="l_prodX.Height = p_prods.Height"; -_l_prodx.setHeight(_p_prods.getHeight()); - //BA.debugLineNum = 711;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; -_l_pcant.setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); - //BA.debugLineNum = 712;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; -_et_pcant.setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); - //BA.debugLineNum = 713;BA.debugLine="et_pCant.BringToFront"; -_et_pcant.BringToFront(); - //BA.debugLineNum = 715;BA.debugLine="p.Height = p_prods.Height"; -_p.setHeight(_p_prods.getHeight()); - //BA.debugLineNum = 716;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 717;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods() throws Exception{ +public String _cuentaprods(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", null));} boolean _thislog = false; float _tcpf = 0f; int _pf = 0; @@ -798,188 +331,743 @@ anywheresoftware.b4a.objects.B4XViewWrapper _p = null; anywheresoftware.b4a.objects.B4XViewWrapper _cant1 = null; anywheresoftware.b4a.objects.collections.List _estetag = null; anywheresoftware.b4a.objects.B4XViewWrapper _cant2 = null; - //BA.debugLineNum = 836;BA.debugLine="Sub cuentaProds"; - //BA.debugLineNum = 839;BA.debugLine="Private thisLog As Boolean = False"; +RDebugUtils.currentLine=79757312; + //BA.debugLineNum = 79757312;BA.debugLine="Sub cuentaProds"; +RDebugUtils.currentLine=79757315; + //BA.debugLineNum = 79757315;BA.debugLine="Private thisLog As Boolean = False"; _thislog = __c.False; - //BA.debugLineNum = 841;BA.debugLine="prodsIds2.Clear"; -_prodsids2.Clear(); - //BA.debugLineNum = 842;BA.debugLine="prodsCants2.Clear"; -_prodscants2.Clear(); - //BA.debugLineNum = 843;BA.debugLine="prodsPrecios2.Clear"; -_prodsprecios2.Clear(); - //BA.debugLineNum = 844;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 845;BA.debugLine="prodsVar1 = 0"; -_prodsvar1 = (int) (0); - //BA.debugLineNum = 846;BA.debugLine="prodsVar2 = 0"; -_prodsvar2 = (int) (0); - //BA.debugLineNum = 847;BA.debugLine="agregaFijosALista(Subs.traePromo(estaPromo, esteC"; -_agregafijosalista(_subs._traepromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_estapromo,_estecliente),__c.True); - //BA.debugLineNum = 849;BA.debugLine="Private tcpf As Float = 0 'Total de compra de pro"; +RDebugUtils.currentLine=79757317; + //BA.debugLineNum = 79757317;BA.debugLine="prodsIds2.Clear"; +__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=79757318; + //BA.debugLineNum = 79757318;BA.debugLine="prodsCants2.Clear"; +__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=79757319; + //BA.debugLineNum = 79757319;BA.debugLine="prodsPrecios2.Clear"; +__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=79757320; + //BA.debugLineNum = 79757320;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=79757321; + //BA.debugLineNum = 79757321;BA.debugLine="prodsVar1 = 0"; +__ref._prodsvar1 /*int*/ = (int) (0); +RDebugUtils.currentLine=79757322; + //BA.debugLineNum = 79757322;BA.debugLine="prodsVar2 = 0"; +__ref._prodsvar2 /*int*/ = (int) (0); +RDebugUtils.currentLine=79757323; + //BA.debugLineNum = 79757323;BA.debugLine="agregaFijosALista(Subs.traePromo(estaPromo, esteC"; +__ref._agregafijosalista /*String*/ (null,_subs._traepromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._estapromo /*String*/ ,__ref._estecliente /*String*/ ),__c.True); +RDebugUtils.currentLine=79757325; + //BA.debugLineNum = 79757325;BA.debugLine="Private tcpf As Float = 0 'Total de compra de pro"; _tcpf = (float) (0); - //BA.debugLineNum = 850;BA.debugLine="For pf = 0 To prodsIds.Size - 1"; +RDebugUtils.currentLine=79757326; + //BA.debugLineNum = 79757326;BA.debugLine="For pf = 0 To prodsIds.Size - 1"; { final int step10 = 1; -final int limit10 = (int) (_prodsids.getSize()-1); +final int limit10 = (int) (__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _pf = (int) (0) ; for (;_pf <= limit10 ;_pf = _pf + step10 ) { - //BA.debugLineNum = 851;BA.debugLine="If thisLog Then Log($\"${tcpf} + ${prodsCants.Get"; +RDebugUtils.currentLine=79757327; + //BA.debugLineNum = 79757327;BA.debugLine="If thisLog Then Log($\"${tcpf} + ${prodsCants.Get"; if (_thislog) { -__c.LogImpl("477791247",(""+__c.SmartStringFormatter("",(Object)(_tcpf))+" + "+__c.SmartStringFormatter("",_prodscants.Get(_pf))+" * "+__c.SmartStringFormatter("",_prodsprecios.Get(_pf))+" = "+__c.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf))))))+""),0);}; - //BA.debugLineNum = 852;BA.debugLine="tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants"; -_tcpf = (float) (_tcpf+((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf))))); +__c.LogImpl("079757327",(""+__c.SmartStringFormatter("",(Object)(_tcpf))+" + "+__c.SmartStringFormatter("",__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf))+" * "+__c.SmartStringFormatter("",__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf))+" = "+__c.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf)))*(double)(BA.ObjectToNumber(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf))))))+""),0);}; +RDebugUtils.currentLine=79757328; + //BA.debugLineNum = 79757328;BA.debugLine="tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants"; +_tcpf = (float) (_tcpf+((double)(BA.ObjectToNumber(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf)))*(double)(BA.ObjectToNumber(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf))))); } }; - //BA.debugLineNum = 855;BA.debugLine="totalCompra = tcpf"; -_totalcompra = _tcpf; - //BA.debugLineNum = 856;BA.debugLine="totalProds = tpf 'Cantidad total de productos fij"; -_totalprods = _tpf; - //BA.debugLineNum = 858;BA.debugLine="For i = 0 To clv_prodsVariabes.GetSize - 1"; +RDebugUtils.currentLine=79757331; + //BA.debugLineNum = 79757331;BA.debugLine="totalCompra = tcpf"; +__ref._totalcompra /*float*/ = _tcpf; +RDebugUtils.currentLine=79757332; + //BA.debugLineNum = 79757332;BA.debugLine="totalProds = tpf 'Cantidad total de productos fij"; +__ref._totalprods /*int*/ = __ref._tpf /*int*/ ; +RDebugUtils.currentLine=79757334; + //BA.debugLineNum = 79757334;BA.debugLine="For i = 0 To clv_prodsVariabes.GetSize - 1"; { final int step16 = 1; -final int limit16 = (int) (_clv_prodsvariabes._getsize()-1); +final int limit16 = (int) (__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getsize()-1); _i = (int) (0) ; for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 859;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes.GetPan"; +RDebugUtils.currentLine=79757335; + //BA.debugLineNum = 79757335;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes.GetPan"; _p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_prodsvariabes._getpanel(_i); - //BA.debugLineNum = 860;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p0 = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=79757336; + //BA.debugLineNum = 79757336;BA.debugLine="Private p As B4XView = p0.GetView(0)"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p = _p0.GetView((int) (0)); - //BA.debugLineNum = 861;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; +RDebugUtils.currentLine=79757337; + //BA.debugLineNum = 79757337;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; _cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _cant1 = _p.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 862;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +RDebugUtils.currentLine=79757338; + //BA.debugLineNum = 79757338;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; if ((_cant1.getText()).equals("")) { _cant1.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 863;BA.debugLine="totalProds = totalProds + cant1.Text"; -_totalprods = (int) (_totalprods+(double)(Double.parseDouble(_cant1.getText()))); - //BA.debugLineNum = 864;BA.debugLine="prodsVar1 = prodsVar1 + cant1.Text"; -_prodsvar1 = (int) (_prodsvar1+(double)(Double.parseDouble(_cant1.getText()))); - //BA.debugLineNum = 865;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; +RDebugUtils.currentLine=79757339; + //BA.debugLineNum = 79757339;BA.debugLine="totalProds = totalProds + cant1.Text"; +__ref._totalprods /*int*/ = (int) (__ref._totalprods /*int*/ +(double)(Double.parseDouble(_cant1.getText()))); +RDebugUtils.currentLine=79757340; + //BA.debugLineNum = 79757340;BA.debugLine="prodsVar1 = prodsVar1 + cant1.Text"; +__ref._prodsvar1 /*int*/ = (int) (__ref._prodsvar1 /*int*/ +(double)(Double.parseDouble(_cant1.getText()))); +RDebugUtils.currentLine=79757341; + //BA.debugLineNum = 79757341;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); - //BA.debugLineNum = 866;BA.debugLine="If cant1.Text > esteTag.Get(1) Then cant1.Text ="; +RDebugUtils.currentLine=79757342; + //BA.debugLineNum = 79757342;BA.debugLine="If cant1.Text > esteTag.Get(1) Then cant1.Text ="; if ((double)(Double.parseDouble(_cant1.getText()))>(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { _cant1.setText(BA.ObjectToCharSequence(_estetag.Get((int) (1))));}; - //BA.debugLineNum = 867;BA.debugLine="If cant1.Text > 0 Then"; +RDebugUtils.currentLine=79757343; + //BA.debugLineNum = 79757343;BA.debugLine="If cant1.Text > 0 Then"; if ((double)(Double.parseDouble(_cant1.getText()))>0) { - //BA.debugLineNum = 869;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; -_totalcompra = (float) (_totalcompra+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText())))); - //BA.debugLineNum = 870;BA.debugLine="If thisLog Then Log($\"Cant: ${cant1.Text}, Suma"; +RDebugUtils.currentLine=79757345; + //BA.debugLineNum = 79757345;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; +__ref._totalcompra /*float*/ = (float) (__ref._totalcompra /*float*/ +((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText())))); +RDebugUtils.currentLine=79757346; + //BA.debugLineNum = 79757346;BA.debugLine="If thisLog Then Log($\"Cant: ${cant1.Text}, Suma"; if (_thislog) { -__c.LogImpl("477791266",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);}; - //BA.debugLineNum = 871;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; -_prodsids2.Add(_estetag.Get((int) (2))); - //BA.debugLineNum = 872;BA.debugLine="prodsCants2.Add(cant1.Text)"; -_prodscants2.Add((Object)(_cant1.getText())); - //BA.debugLineNum = 873;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; -_prodsprecios2.Add(_estetag.Get((int) (0))); +__c.LogImpl("079757346",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(__ref._totalcompra /*float*/ ))+""),0);}; +RDebugUtils.currentLine=79757347; + //BA.debugLineNum = 79757347;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; +__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Add(_estetag.Get((int) (2))); +RDebugUtils.currentLine=79757348; + //BA.debugLineNum = 79757348;BA.debugLine="prodsCants2.Add(cant1.Text)"; +__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_cant1.getText())); +RDebugUtils.currentLine=79757349; + //BA.debugLineNum = 79757349;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; +__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Add(_estetag.Get((int) (0))); }; - //BA.debugLineNum = 875;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; -_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""))); - //BA.debugLineNum = 876;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; -_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_totalprods))+""))); +RDebugUtils.currentLine=79757351; + //BA.debugLineNum = 79757351;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""))); +RDebugUtils.currentLine=79757352; + //BA.debugLineNum = 79757352;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+""))); } }; - //BA.debugLineNum = 879;BA.debugLine="For i = 0 To clv_prodsVariabes2.GetSize - 1"; +RDebugUtils.currentLine=79757355; + //BA.debugLineNum = 79757355;BA.debugLine="For i = 0 To clv_prodsVariabes2.GetSize - 1"; { final int step35 = 1; -final int limit35 = (int) (_clv_prodsvariabes2._getsize()-1); +final int limit35 = (int) (__ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getsize()-1); _i = (int) (0) ; for (;_i <= limit35 ;_i = _i + step35 ) { - //BA.debugLineNum = 880;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes2.GetPa"; +RDebugUtils.currentLine=79757356; + //BA.debugLineNum = 79757356;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes2.GetPa"; _p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_prodsvariabes2._getpanel(_i); - //BA.debugLineNum = 881;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p0 = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=79757357; + //BA.debugLineNum = 79757357;BA.debugLine="Private p As B4XView = p0.GetView(0)"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p = _p0.GetView((int) (0)); - //BA.debugLineNum = 882;BA.debugLine="Private cant2 As B4XView = p.GetView(2).GetView("; +RDebugUtils.currentLine=79757358; + //BA.debugLineNum = 79757358;BA.debugLine="Private cant2 As B4XView = p.GetView(2).GetView("; _cant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); _cant2 = _p.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 883;BA.debugLine="totalProds = totalProds + cant2.Text"; -_totalprods = (int) (_totalprods+(double)(Double.parseDouble(_cant2.getText()))); - //BA.debugLineNum = 884;BA.debugLine="prodsVar2 = prodsVar2 + cant2.Text"; -_prodsvar2 = (int) (_prodsvar2+(double)(Double.parseDouble(_cant2.getText()))); - //BA.debugLineNum = 885;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; +RDebugUtils.currentLine=79757359; + //BA.debugLineNum = 79757359;BA.debugLine="totalProds = totalProds + cant2.Text"; +__ref._totalprods /*int*/ = (int) (__ref._totalprods /*int*/ +(double)(Double.parseDouble(_cant2.getText()))); +RDebugUtils.currentLine=79757360; + //BA.debugLineNum = 79757360;BA.debugLine="prodsVar2 = prodsVar2 + cant2.Text"; +__ref._prodsvar2 /*int*/ = (int) (__ref._prodsvar2 /*int*/ +(double)(Double.parseDouble(_cant2.getText()))); +RDebugUtils.currentLine=79757361; + //BA.debugLineNum = 79757361;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant2.getTag()))); - //BA.debugLineNum = 886;BA.debugLine="If cant2.Text > esteTag.Get(1) Then cant2.Text ="; +RDebugUtils.currentLine=79757362; + //BA.debugLineNum = 79757362;BA.debugLine="If cant2.Text > esteTag.Get(1) Then cant2.Text ="; if ((double)(Double.parseDouble(_cant2.getText()))>(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { _cant2.setText(BA.ObjectToCharSequence(_estetag.Get((int) (1))));}; - //BA.debugLineNum = 887;BA.debugLine="If cant2.Text > 0 Then"; +RDebugUtils.currentLine=79757363; + //BA.debugLineNum = 79757363;BA.debugLine="If cant2.Text > 0 Then"; if ((double)(Double.parseDouble(_cant2.getText()))>0) { - //BA.debugLineNum = 889;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; -_totalcompra = (float) (_totalcompra+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText())))); - //BA.debugLineNum = 890;BA.debugLine="If thisLog Then Log($\"Cant: ${cant2.Text}, Suma"; +RDebugUtils.currentLine=79757365; + //BA.debugLineNum = 79757365;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; +__ref._totalcompra /*float*/ = (float) (__ref._totalcompra /*float*/ +((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText())))); +RDebugUtils.currentLine=79757366; + //BA.debugLineNum = 79757366;BA.debugLine="If thisLog Then Log($\"Cant: ${cant2.Text}, Suma"; if (_thislog) { -__c.LogImpl("477791286",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);}; - //BA.debugLineNum = 891;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; -_prodsids2.Add(_estetag.Get((int) (2))); - //BA.debugLineNum = 892;BA.debugLine="prodsCants2.Add(cant2.Text)"; -_prodscants2.Add((Object)(_cant2.getText())); - //BA.debugLineNum = 893;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; -_prodsprecios2.Add(_estetag.Get((int) (0))); +__c.LogImpl("079757366",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(__ref._totalcompra /*float*/ ))+""),0);}; +RDebugUtils.currentLine=79757367; + //BA.debugLineNum = 79757367;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; +__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Add(_estetag.Get((int) (2))); +RDebugUtils.currentLine=79757368; + //BA.debugLineNum = 79757368;BA.debugLine="prodsCants2.Add(cant2.Text)"; +__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_cant2.getText())); +RDebugUtils.currentLine=79757369; + //BA.debugLineNum = 79757369;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; +__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Add(_estetag.Get((int) (0))); }; - //BA.debugLineNum = 895;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; -_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""))); - //BA.debugLineNum = 896;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; -_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_totalprods))+""))); +RDebugUtils.currentLine=79757371; + //BA.debugLineNum = 79757371;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""))); +RDebugUtils.currentLine=79757372; + //BA.debugLineNum = 79757372;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+""))); } }; - //BA.debugLineNum = 899;BA.debugLine="If thisLog Then Log($\"Total Prods: ${totalProds},"; +RDebugUtils.currentLine=79757375; + //BA.debugLineNum = 79757375;BA.debugLine="If thisLog Then Log($\"Total Prods: ${totalProds},"; if (_thislog) { -__c.LogImpl("477791295",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);}; - //BA.debugLineNum = 900;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; -_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""))); - //BA.debugLineNum = 901;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; -_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_totalprods))+""))); - //BA.debugLineNum = 902;BA.debugLine="If totalProds < prodsVarReq + prodsVarReq2 + tpf"; -if (_totalprods<_prodsvarreq+_prodsvarreq2+_tpf || _totalprods>_prodsvarreq+_prodsvarreq2+_tpf) { - //BA.debugLineNum = 904;BA.debugLine="b_terminar1.Visible = False"; -_b_terminar1.setVisible(__c.False); - //BA.debugLineNum = 905;BA.debugLine="b_continuar.Visible = False"; -_b_continuar.setVisible(__c.False); +__c.LogImpl("079757375",("Total Prods: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""),0);}; +RDebugUtils.currentLine=79757376; + //BA.debugLineNum = 79757376;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""))); +RDebugUtils.currentLine=79757377; + //BA.debugLineNum = 79757377;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+""))); +RDebugUtils.currentLine=79757378; + //BA.debugLineNum = 79757378;BA.debugLine="If totalProds < prodsVarReq + prodsVarReq2 + tpf"; +if (__ref._totalprods /*int*/ <__ref._prodsvarreq /*int*/ +__ref._prodsvarreq2 /*int*/ +__ref._tpf /*int*/ || __ref._totalprods /*int*/ >__ref._prodsvarreq /*int*/ +__ref._prodsvarreq2 /*int*/ +__ref._tpf /*int*/ ) { +RDebugUtils.currentLine=79757380; + //BA.debugLineNum = 79757380;BA.debugLine="b_terminar1.Visible = False"; +__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=79757381; + //BA.debugLineNum = 79757381;BA.debugLine="b_continuar.Visible = False"; +__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); }else { - //BA.debugLineNum = 908;BA.debugLine="b_terminar1.Visible = True"; -_b_terminar1.setVisible(__c.True); - //BA.debugLineNum = 909;BA.debugLine="b_continuar.Visible = True"; -_b_continuar.setVisible(__c.True); +RDebugUtils.currentLine=79757384; + //BA.debugLineNum = 79757384;BA.debugLine="b_terminar1.Visible = True"; +__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=79757385; + //BA.debugLineNum = 79757385;BA.debugLine="b_continuar.Visible = True"; +__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); }; - //BA.debugLineNum = 911;BA.debugLine="If thisLog Then LogColor($\"${prodsIds}${CRLF}${pr"; +RDebugUtils.currentLine=79757387; + //BA.debugLineNum = 79757387;BA.debugLine="If thisLog Then LogColor($\"${prodsIds}${CRLF}${pr"; if (_thislog) { -__c.LogImpl("477791307",(""+__c.SmartStringFormatter("",(Object)(_prodsids.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios.getObject()))+""),__c.Colors.Blue);}; - //BA.debugLineNum = 912;BA.debugLine="If thisLog Then LogColor($\"${prodsIds2}${CRLF}${p"; +__c.LogImpl("079757387",(""+__c.SmartStringFormatter("",(Object)(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""),__c.Colors.Blue);}; +RDebugUtils.currentLine=79757388; + //BA.debugLineNum = 79757388;BA.debugLine="If thisLog Then LogColor($\"${prodsIds2}${CRLF}${p"; if (_thislog) { -__c.LogImpl("477791308",(""+__c.SmartStringFormatter("",(Object)(_prodsids2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios2.getObject()))+""),__c.Colors.Magenta);}; - //BA.debugLineNum = 914;BA.debugLine="End Sub"; +__c.LogImpl("079757388",(""+__c.SmartStringFormatter("",(Object)(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""),__c.Colors.Magenta);}; +RDebugUtils.currentLine=79757390; + //BA.debugLineNum = 79757390;BA.debugLine="End Sub"; return ""; } -public String _et_pcant_focuschanged(boolean _hasfocus) throws Exception{ - //BA.debugLineNum = 916;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; - //BA.debugLineNum = 917;BA.debugLine="LogColor(\"focus changed\", Colors.Magenta)"; -__c.LogImpl("477856769","focus changed",__c.Colors.Magenta); - //BA.debugLineNum = 918;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 919;BA.debugLine="End Sub"; +public String _b_prodmas_click(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_prodmas_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _precio = ""; +String _prodid = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +RDebugUtils.currentLine=79495168; + //BA.debugLineNum = 79495168;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=79495169; + //BA.debugLineNum = 79495169;BA.debugLine="If prodsVar1 < prodsVarReq Then"; +if (__ref._prodsvar1 /*int*/ <__ref._prodsvarreq /*int*/ ) { +RDebugUtils.currentLine=79495170; + //BA.debugLineNum = 79495170;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFrom"; +_index = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=79495171; + //BA.debugLineNum = 79495171;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=79495172; + //BA.debugLineNum = 79495172;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=79495174; + //BA.debugLineNum = 79495174;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=79495177; + //BA.debugLineNum = 79495177;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=79495180; + //BA.debugLineNum = 79495180;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; +if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { +RDebugUtils.currentLine=79495181; + //BA.debugLineNum = 79495181;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); +RDebugUtils.currentLine=79495182; + //BA.debugLineNum = 79495182;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }; +RDebugUtils.currentLine=79495186; + //BA.debugLineNum = 79495186;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; +_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; +RDebugUtils.currentLine=79495188; + //BA.debugLineNum = 79495188;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; +_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; +RDebugUtils.currentLine=79495189; + //BA.debugLineNum = 79495189;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(__ref._estapromo /*String*/ )}); +RDebugUtils.currentLine=79495191; + //BA.debugLineNum = 79495191;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_prodid),(Object)(_tmpmap.getObject())); + }; +RDebugUtils.currentLine=79495197; + //BA.debugLineNum = 79495197;BA.debugLine="End Sub"; return ""; } -public String _et_pcant_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 831;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; - //BA.debugLineNum = 833;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 834;BA.debugLine="End Sub"; +public String _b_prodmas2_click(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_prodmas2_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas2_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _precio = ""; +String _prodid = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +RDebugUtils.currentLine=79626240; + //BA.debugLineNum = 79626240;BA.debugLine="Sub b_prodMas2_Click"; +RDebugUtils.currentLine=79626242; + //BA.debugLineNum = 79626242;BA.debugLine="If prodsVar2 < prodsVarReq2 Then"; +if (__ref._prodsvar2 /*int*/ <__ref._prodsvarreq2 /*int*/ ) { +RDebugUtils.currentLine=79626243; + //BA.debugLineNum = 79626243;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFro"; +_index = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=79626244; + //BA.debugLineNum = 79626244;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPane"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=79626245; + //BA.debugLineNum = 79626245;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=79626247; + //BA.debugLineNum = 79626247;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=79626250; + //BA.debugLineNum = 79626250;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=79626252; + //BA.debugLineNum = 79626252;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; +if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { +RDebugUtils.currentLine=79626253; + //BA.debugLineNum = 79626253;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); +RDebugUtils.currentLine=79626254; + //BA.debugLineNum = 79626254;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }; +RDebugUtils.currentLine=79626258; + //BA.debugLineNum = 79626258;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; +_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; +RDebugUtils.currentLine=79626260; + //BA.debugLineNum = 79626260;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; +_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; +RDebugUtils.currentLine=79626261; + //BA.debugLineNum = 79626261;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(__ref._estapromo /*String*/ )}); +RDebugUtils.currentLine=79626263; + //BA.debugLineNum = 79626263;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_prodid),(Object)(_tmpmap.getObject())); + }; +RDebugUtils.currentLine=79626269; + //BA.debugLineNum = 79626269;BA.debugLine="End Sub"; return ""; } -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 445;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 446;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 447;BA.debugLine="End Sub"; -return null; +public String _b_prodmenos_click(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_prodmenos_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +String _precio = ""; +String _prodid = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +RDebugUtils.currentLine=79429632; + //BA.debugLineNum = 79429632;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=79429633; + //BA.debugLineNum = 79429633;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFromV"; +_index = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=79429634; + //BA.debugLineNum = 79429634;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel("; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=79429635; + //BA.debugLineNum = 79429635;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=79429637; + //BA.debugLineNum = 79429637;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=79429639; + //BA.debugLineNum = 79429639;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); +RDebugUtils.currentLine=79429640; + //BA.debugLineNum = 79429640;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=79429643; + //BA.debugLineNum = 79429643;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; +_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; +RDebugUtils.currentLine=79429645; + //BA.debugLineNum = 79429645;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; +_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; +RDebugUtils.currentLine=79429646; + //BA.debugLineNum = 79429646;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(__ref._estapromo /*String*/ )}); +RDebugUtils.currentLine=79429648; + //BA.debugLineNum = 79429648;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_prodid),(Object)(_tmpmap.getObject())); +RDebugUtils.currentLine=79429649; + //BA.debugLineNum = 79429649;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)(_prodid));}; +RDebugUtils.currentLine=79429651; + //BA.debugLineNum = 79429651;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=79429654; + //BA.debugLineNum = 79429654;BA.debugLine="End Sub"; +return ""; } -public String _muestrapromo(String _promo,String _cliente) throws Exception{ +public String _b_prodmenos2_click(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_prodmenos2_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos2_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +String _precio = ""; +String _prodid = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +RDebugUtils.currentLine=79560704; + //BA.debugLineNum = 79560704;BA.debugLine="Sub b_prodMenos2_Click"; +RDebugUtils.currentLine=79560705; + //BA.debugLineNum = 79560705;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFrom"; +_index = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=79560706; + //BA.debugLineNum = 79560706;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPanel"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=79560707; + //BA.debugLineNum = 79560707;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=79560709; + //BA.debugLineNum = 79560709;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=79560711; + //BA.debugLineNum = 79560711;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); +RDebugUtils.currentLine=79560712; + //BA.debugLineNum = 79560712;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=79560715; + //BA.debugLineNum = 79560715;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; +_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; +RDebugUtils.currentLine=79560717; + //BA.debugLineNum = 79560717;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; +_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; +RDebugUtils.currentLine=79560718; + //BA.debugLineNum = 79560718;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(__ref._estapromo /*String*/ )}); +RDebugUtils.currentLine=79560720; + //BA.debugLineNum = 79560720;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_prodid),(Object)(_tmpmap.getObject())); +RDebugUtils.currentLine=79560721; + //BA.debugLineNum = 79560721;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)(_prodid));}; +RDebugUtils.currentLine=79560723; + //BA.debugLineNum = 79560723;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=79560726; + //BA.debugLineNum = 79560726;BA.debugLine="End Sub"; +return ""; +} +public String _b_promomas_click(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_promomas_click", false)) + {return ((String) Debug.delegate(ba, "b_promomas_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +RDebugUtils.currentLine=79953920; + //BA.debugLineNum = 79953920;BA.debugLine="Private Sub b_promoMas_Click"; +RDebugUtils.currentLine=79953922; + //BA.debugLineNum = 79953922;BA.debugLine="If laPromo = \"MYKONOS_01\" Then"; +if ((__ref._lapromo /*String*/ ).equals("MYKONOS_01")) { +RDebugUtils.currentLine=79953923; + //BA.debugLineNum = 79953923;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=79953924; + //BA.debugLineNum = 79953924;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=79953925; + //BA.debugLineNum = 79953925;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=79953926; + //BA.debugLineNum = 79953926;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.E"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))); +RDebugUtils.currentLine=79953927; + //BA.debugLineNum = 79953927;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=79953928; + //BA.debugLineNum = 79953928;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=79953930; + //BA.debugLineNum = 79953930;BA.debugLine="If c.GetString(\"suma\") >= 300 And c.GetString("; +if ((double)(Double.parseDouble(_c.GetString("suma")))>=300 && (double)(Double.parseDouble(_c.GetString("suma")))<600) { +RDebugUtils.currentLine=79953931; + //BA.debugLineNum = 79953931;BA.debugLine="maxCantPromos = 1"; +__ref._maxcantpromos /*int*/ = (int) (1); + }else +{RDebugUtils.currentLine=79953932; + //BA.debugLineNum = 79953932;BA.debugLine="Else If c.GetString(\"suma\") >= 600 And c.GetSt"; +if ((double)(Double.parseDouble(_c.GetString("suma")))>=600 && (double)(Double.parseDouble(_c.GetString("suma")))<900) { +RDebugUtils.currentLine=79953933; + //BA.debugLineNum = 79953933;BA.debugLine="maxCantPromos = 2"; +__ref._maxcantpromos /*int*/ = (int) (2); + }else +{RDebugUtils.currentLine=79953934; + //BA.debugLineNum = 79953934;BA.debugLine="Else If c.GetString(\"suma\") >= 900 Then"; +if ((double)(Double.parseDouble(_c.GetString("suma")))>=900) { +RDebugUtils.currentLine=79953935; + //BA.debugLineNum = 79953935;BA.debugLine="maxCantPromos = 3"; +__ref._maxcantpromos /*int*/ = (int) (3); + }}} +; + }; + }; + }; +RDebugUtils.currentLine=79953943; + //BA.debugLineNum = 79953943;BA.debugLine="If et_promoCant.Text < maxCantPromos Then"; +if ((double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))<__ref._maxcantpromos /*int*/ ) { +RDebugUtils.currentLine=79953944; + //BA.debugLineNum = 79953944;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) +"; +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))+1)); +RDebugUtils.currentLine=79953945; + //BA.debugLineNum = 79953945;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 *"; +__ref._l_prodsfijos /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+")"))); +RDebugUtils.currentLine=79953946; + //BA.debugLineNum = 79953946;BA.debugLine="l_prodsVariables.Text = $\"Productos variables re"; +__ref._l_prodsvariables /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=79953947; + //BA.debugLineNum = 79953947;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=79953948; + //BA.debugLineNum = 79953948;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +__ref._tpf /*int*/ = (int) (__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=79953949; + //BA.debugLineNum = 79953949;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.A"; +__ref._prodsvarreq /*int*/ = (int) (__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=79953950; + //BA.debugLineNum = 79953950;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text"; +__ref._prodsvarreq2 /*int*/ = (int) (__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=79953951; + //BA.debugLineNum = 79953951;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P"; +__c.LogImpl("079953951",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+", "),0); + }; +RDebugUtils.currentLine=79953953; + //BA.debugLineNum = 79953953;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom"; +if ((double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>__ref._maxcantpromos /*int*/ ) { +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._maxcantpromos /*int*/ ));}; +RDebugUtils.currentLine=79953954; + //BA.debugLineNum = 79953954;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=79953955; + //BA.debugLineNum = 79953955;BA.debugLine="End Sub"; +return ""; +} +public String _b_promomenos_click(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_promomenos_click", false)) + {return ((String) Debug.delegate(ba, "b_promomenos_click", null));} +RDebugUtils.currentLine=79888384; + //BA.debugLineNum = 79888384;BA.debugLine="Private Sub b_promoMenos_Click"; +RDebugUtils.currentLine=79888385; + //BA.debugLineNum = 79888385;BA.debugLine="If et_promoCant.Text > 1 Then"; +if ((double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>1) { +RDebugUtils.currentLine=79888386; + //BA.debugLineNum = 79888386;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) -"; +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))-1)); + }; +RDebugUtils.currentLine=79888388; + //BA.debugLineNum = 79888388;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 * e"; +__ref._l_prodsfijos /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+")"))); +RDebugUtils.currentLine=79888389; + //BA.debugLineNum = 79888389;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; +__ref._l_prodsvariables /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=79888390; + //BA.debugLineNum = 79888390;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=79888391; + //BA.debugLineNum = 79888391;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +__ref._tpf /*int*/ = (int) (__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=79888392; + //BA.debugLineNum = 79888392;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.As"; +__ref._prodsvarreq /*int*/ = (int) (__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=79888393; + //BA.debugLineNum = 79888393;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text."; +__ref._prodsvarreq2 /*int*/ = (int) (__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=79888394; + //BA.debugLineNum = 79888394;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, Pr"; +__c.LogImpl("079888394",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+", "),0); +RDebugUtils.currentLine=79888395; + //BA.debugLineNum = 79888395;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=79888396; + //BA.debugLineNum = 79888396;BA.debugLine="End Sub"; +return ""; +} +public String _b_terminar1_click(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_terminar1_click", false)) + {return ((String) Debug.delegate(ba, "b_terminar1_click", null));} +int _t = 0; +String _pn = ""; +RDebugUtils.currentLine=80019456; + //BA.debugLineNum = 80019456;BA.debugLine="Private Sub b_terminar1_Click"; +RDebugUtils.currentLine=80019457; + //BA.debugLineNum = 80019457;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=80019458; + //BA.debugLineNum = 80019458;BA.debugLine="Log(\"============================================"; +__c.LogImpl("080019458","====================================================================",0); +RDebugUtils.currentLine=80019459; + //BA.debugLineNum = 80019459;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; +{ +final int step3 = 1; +final int limit3 = (int) (__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_t = (int) (0) ; +for (;_t <= limit3 ;_t = _t + step3 ) { +RDebugUtils.currentLine=80019460; + //BA.debugLineNum = 80019460;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t))); +RDebugUtils.currentLine=80019461; + //BA.debugLineNum = 80019461;BA.debugLine="If prodsCants.Get(t) > 0 Then"; +if ((double)(BA.ObjectToNumber(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)))>0) { +RDebugUtils.currentLine=80019462; + //BA.debugLineNum = 80019462;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT"; +if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { +RDebugUtils.currentLine=80019463; + //BA.debugLineNum = 80019463;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prods"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1)); + }else { +RDebugUtils.currentLine=80019465; + //BA.debugLineNum = 80019465;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prods"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0)); + }; + }; + } +}; +RDebugUtils.currentLine=80019469; + //BA.debugLineNum = 80019469;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; +{ +final int step13 = 1; +final int limit13 = (int) (__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_t = (int) (0) ; +for (;_t <= limit13 ;_t = _t + step13 ) { +RDebugUtils.currentLine=80019470; + //BA.debugLineNum = 80019470;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t))); +RDebugUtils.currentLine=80019471; + //BA.debugLineNum = 80019471;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU"; +if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { +RDebugUtils.currentLine=80019472; + //BA.debugLineNum = 80019472;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1)); + }else { +RDebugUtils.currentLine=80019474; + //BA.debugLineNum = 80019474;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsP"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0)); + }; + } +}; +RDebugUtils.currentLine=80019489; + //BA.debugLineNum = 80019489;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=80019490; + //BA.debugLineNum = 80019490;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = __c.True; +RDebugUtils.currentLine=80019491; + //BA.debugLineNum = 80019491;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=80019492; + //BA.debugLineNum = 80019492;BA.debugLine="B4XPages.MainPage.productos.b_terminar1_Click"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._b_terminar1_click /*String*/ (null); +RDebugUtils.currentLine=80019493; + //BA.debugLineNum = 80019493;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.objects.collections.Map _m = null; +RDebugUtils.currentLine=79101952; + //BA.debugLineNum = 79101952;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=79101954; + //BA.debugLineNum = 79101954;BA.debugLine="prodsIds.Initialize"; +__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=79101955; + //BA.debugLineNum = 79101955;BA.debugLine="prodsCants.Initialize"; +__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=79101956; + //BA.debugLineNum = 79101956;BA.debugLine="prodsPrecios.Initialize"; +__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=79101957; + //BA.debugLineNum = 79101957;BA.debugLine="prodsIds2.Initialize"; +__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=79101958; + //BA.debugLineNum = 79101958;BA.debugLine="prodsCants2.Initialize"; +__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=79101959; + //BA.debugLineNum = 79101959;BA.debugLine="prodsPrecios2.Initialize"; +__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=79101960; + //BA.debugLineNum = 79101960;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); +RDebugUtils.currentLine=79101961; + //BA.debugLineNum = 79101961;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +__ref._prodspedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("productos"))); +RDebugUtils.currentLine=79101962; + //BA.debugLineNum = 79101962;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +__ref._montopedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("monto"))); +RDebugUtils.currentLine=79101964; + //BA.debugLineNum = 79101964;BA.debugLine="If laPromo <> \"\" Then muestraPromo(laPromo, elCli"; +if ((__ref._lapromo /*String*/ ).equals("") == false) { +__ref._muestrapromo /*String*/ (null,__ref._lapromo /*String*/ ,__ref._elcliente /*String*/ );}; +RDebugUtils.currentLine=79101965; + //BA.debugLineNum = 79101965;BA.debugLine="Log(laPromo)"; +__c.LogImpl("079101965",__ref._lapromo /*String*/ ,0); +RDebugUtils.currentLine=79101966; + //BA.debugLineNum = 79101966;BA.debugLine="End Sub"; +return ""; +} +public String _muestrapromo(gunav2.keymon.com.mx.c_promos __ref,String _promo,String _cliente) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "muestrapromo", false)) + {return ((String) Debug.delegate(ba, "muestrapromo", new Object[] {_promo,_cliente}));} boolean _thislog = false; anywheresoftware.b4a.objects.collections.Map _mp = null; anywheresoftware.b4a.objects.collections.Map _prodspromo = null; @@ -1000,103 +1088,148 @@ String _indicepv = ""; String _esteprecio = ""; anywheresoftware.b4a.objects.collections.Map _thisprod = null; String _indicepv2 = ""; - //BA.debugLineNum = 482;BA.debugLine="Sub muestraPromo(promo As String, cliente As Strin"; - //BA.debugLineNum = 483;BA.debugLine="Private thisLog As Boolean = False"; +RDebugUtils.currentLine=79167488; + //BA.debugLineNum = 79167488;BA.debugLine="Sub muestraPromo(promo As String, cliente As Strin"; +RDebugUtils.currentLine=79167489; + //BA.debugLineNum = 79167489;BA.debugLine="Private thisLog As Boolean = False"; _thislog = __c.False; - //BA.debugLineNum = 485;BA.debugLine="estaPromo = promo"; -_estapromo = _promo; - //BA.debugLineNum = 486;BA.debugLine="esteCliente = cliente"; -_estecliente = _cliente; - //BA.debugLineNum = 487;BA.debugLine="Private mp As Map = Subs.traePromo(promo, cliente"; +RDebugUtils.currentLine=79167491; + //BA.debugLineNum = 79167491;BA.debugLine="estaPromo = promo"; +__ref._estapromo /*String*/ = _promo; +RDebugUtils.currentLine=79167492; + //BA.debugLineNum = 79167492;BA.debugLine="esteCliente = cliente"; +__ref._estecliente /*String*/ = _cliente; +RDebugUtils.currentLine=79167493; + //BA.debugLineNum = 79167493;BA.debugLine="Private mp As Map = Subs.traePromo(promo, cliente"; _mp = new anywheresoftware.b4a.objects.collections.Map(); _mp = _subs._traepromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_promo,_cliente); - //BA.debugLineNum = 488;BA.debugLine="Private prodsPromo As Map = mp.Get(\"productos\") '"; +RDebugUtils.currentLine=79167494; + //BA.debugLineNum = 79167494;BA.debugLine="Private prodsPromo As Map = mp.Get(\"productos\") '"; _prodspromo = new anywheresoftware.b4a.objects.collections.Map(); _prodspromo = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_mp.Get((Object)("productos")))); - //BA.debugLineNum = 489;BA.debugLine="Private invDispPromo As Map = Subs.traemosInventa"; +RDebugUtils.currentLine=79167495; + //BA.debugLineNum = 79167495;BA.debugLine="Private invDispPromo As Map = Subs.traemosInventa"; _invdisppromo = new anywheresoftware.b4a.objects.collections.Map(); _invdisppromo = _subs._traemosinventariodisponibleparapromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_promo); - //BA.debugLineNum = 491;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; +RDebugUtils.currentLine=79167497; + //BA.debugLineNum = 79167497;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; if (_thislog) { -__c.LogImpl("477201417","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);}; - //BA.debugLineNum = 492;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; +__c.LogImpl("079167497","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);}; +RDebugUtils.currentLine=79167498; + //BA.debugLineNum = 79167498;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; if (_thislog) { -__c.LogImpl("477201418","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);}; - //BA.debugLineNum = 493;BA.debugLine="maxCantPromos = Subs.revisaMaxPromosProdsVariable"; -_maxcantpromos = _subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp); - //BA.debugLineNum = 494;BA.debugLine="et_promoCant.Text = 1"; -_et_promocant.setText(BA.ObjectToCharSequence(1)); - //BA.debugLineNum = 496;BA.debugLine="If laPromo = \"MYKONOS_01\" Then"; -if ((_lapromo).equals("MYKONOS_01")) { - //BA.debugLineNum = 497;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +__c.LogImpl("079167498","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);}; +RDebugUtils.currentLine=79167499; + //BA.debugLineNum = 79167499;BA.debugLine="maxCantPromos = Subs.revisaMaxPromosProdsVariable"; +__ref._maxcantpromos /*int*/ = _subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp); +RDebugUtils.currentLine=79167500; + //BA.debugLineNum = 79167500;BA.debugLine="et_promoCant.Text = 1"; +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(1)); +RDebugUtils.currentLine=79167502; + //BA.debugLineNum = 79167502;BA.debugLine="If laPromo = \"MYKONOS_01\" Then"; +if ((__ref._lapromo /*String*/ ).equals("MYKONOS_01")) { +RDebugUtils.currentLine=79167503; + //BA.debugLineNum = 79167503;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 498;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=79167504; + //BA.debugLineNum = 79167504;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 499;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=79167505; + //BA.debugLineNum = 79167505;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 500;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.E"; +RDebugUtils.currentLine=79167506; + //BA.debugLineNum = 79167506;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.E"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))); - //BA.debugLineNum = 501;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=79167507; + //BA.debugLineNum = 79167507;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 502;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=79167508; + //BA.debugLineNum = 79167508;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 504;BA.debugLine="If c.GetString(\"suma\") >= 300 And c.GetString("; +RDebugUtils.currentLine=79167510; + //BA.debugLineNum = 79167510;BA.debugLine="If c.GetString(\"suma\") >= 300 And c.GetString("; if ((double)(Double.parseDouble(_c.GetString("suma")))>=300 && (double)(Double.parseDouble(_c.GetString("suma")))<600) { - //BA.debugLineNum = 505;BA.debugLine="l_promosCant.text = \"Max promos: \" & 1"; -_l_promoscant.setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(1))); - }else if((double)(Double.parseDouble(_c.GetString("suma")))>=600 && (double)(Double.parseDouble(_c.GetString("suma")))<900) { - //BA.debugLineNum = 507;BA.debugLine="l_promosCant.text = \"Max promos: \" & 2"; -_l_promoscant.setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(2))); - }else if((double)(Double.parseDouble(_c.GetString("suma")))>=900) { - //BA.debugLineNum = 509;BA.debugLine="l_promosCant.text = \"Max promos: \" & 3"; -_l_promoscant.setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(3))); - }; +RDebugUtils.currentLine=79167511; + //BA.debugLineNum = 79167511;BA.debugLine="l_promosCant.text = \"Max promos: \" & 1"; +__ref._l_promoscant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(1))); + }else +{RDebugUtils.currentLine=79167512; + //BA.debugLineNum = 79167512;BA.debugLine="Else If c.GetString(\"suma\") >= 600 And c.GetSt"; +if ((double)(Double.parseDouble(_c.GetString("suma")))>=600 && (double)(Double.parseDouble(_c.GetString("suma")))<900) { +RDebugUtils.currentLine=79167513; + //BA.debugLineNum = 79167513;BA.debugLine="l_promosCant.text = \"Max promos: \" & 2"; +__ref._l_promoscant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(2))); + }else +{RDebugUtils.currentLine=79167514; + //BA.debugLineNum = 79167514;BA.debugLine="Else If c.GetString(\"suma\") >= 900 Then"; +if ((double)(Double.parseDouble(_c.GetString("suma")))>=900) { +RDebugUtils.currentLine=79167515; + //BA.debugLineNum = 79167515;BA.debugLine="l_promosCant.text = \"Max promos: \" & 3"; +__ref._l_promoscant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(3))); + }}} +; }; }; }else { - //BA.debugLineNum = 515;BA.debugLine="l_promosCant.text = \"Max promos: \" & maxCantProm"; -_l_promoscant.setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(_maxcantpromos))); +RDebugUtils.currentLine=79167521; + //BA.debugLineNum = 79167521;BA.debugLine="l_promosCant.text = \"Max promos: \" & maxCantProm"; +__ref._l_promoscant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(__ref._maxcantpromos /*int*/ ))); }; - //BA.debugLineNum = 519;BA.debugLine="Private cs As CSBuilder"; +RDebugUtils.currentLine=79167525; + //BA.debugLineNum = 79167525;BA.debugLine="Private cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 520;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=79167526; + //BA.debugLineNum = 79167526;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 521;BA.debugLine="If thisLog Then Log(mp)"; +RDebugUtils.currentLine=79167527; + //BA.debugLineNum = 79167527;BA.debugLine="If thisLog Then Log(mp)"; if (_thislog) { -__c.LogImpl("477201447",BA.ObjectToString(_mp),0);}; - //BA.debugLineNum = 522;BA.debugLine="If thisLog Then Log(prodsPromo)"; +__c.LogImpl("079167527",BA.ObjectToString(_mp),0);}; +RDebugUtils.currentLine=79167528; + //BA.debugLineNum = 79167528;BA.debugLine="If thisLog Then Log(prodsPromo)"; if (_thislog) { -__c.LogImpl("477201448",BA.ObjectToString(_prodspromo),0);}; - //BA.debugLineNum = 523;BA.debugLine="Private listaPV As List = mp.Get(\"prodsVariables\""; +__c.LogImpl("079167528",BA.ObjectToString(_prodspromo),0);}; +RDebugUtils.currentLine=79167529; + //BA.debugLineNum = 79167529;BA.debugLine="Private listaPV As List = mp.Get(\"prodsVariables\""; _listapv = new anywheresoftware.b4a.objects.collections.List(); _listapv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables")))); - //BA.debugLineNum = 524;BA.debugLine="Private listaPreciosPV As List = mp.Get(\"prodsVar"; +RDebugUtils.currentLine=79167530; + //BA.debugLineNum = 79167530;BA.debugLine="Private listaPreciosPV As List = mp.Get(\"prodsVar"; _listapreciospv = new anywheresoftware.b4a.objects.collections.List(); _listapreciospv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariablesPrecios")))); - //BA.debugLineNum = 525;BA.debugLine="Private listaPV2 As List = mp.Get(\"prodsVariables"; +RDebugUtils.currentLine=79167531; + //BA.debugLineNum = 79167531;BA.debugLine="Private listaPV2 As List = mp.Get(\"prodsVariables"; _listapv2 = new anywheresoftware.b4a.objects.collections.List(); _listapv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables2")))); - //BA.debugLineNum = 526;BA.debugLine="Private listaPreciosPV2 As List = mp.Get(\"prodsVa"; +RDebugUtils.currentLine=79167532; + //BA.debugLineNum = 79167532;BA.debugLine="Private listaPreciosPV2 As List = mp.Get(\"prodsVa"; _listapreciospv2 = new anywheresoftware.b4a.objects.collections.List(); _listapreciospv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariablesPrecios2")))); - //BA.debugLineNum = 531;BA.debugLine="l_promoDesc.Text = cs.Color(Colors.RGB(100,149,23"; -_l_promodesc.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence("Promocion: ")).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence(_promo)).Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence(_mp.Get((Object)("descripcion")))).PopAll().getObject())); - //BA.debugLineNum = 532;BA.debugLine="prodsFijosTot = 0"; -_prodsfijostot = (float) (0); - //BA.debugLineNum = 535;BA.debugLine="Dim pv As List = mp.Get(\"prodsVariables\")"; +RDebugUtils.currentLine=79167537; + //BA.debugLineNum = 79167537;BA.debugLine="l_promoDesc.Text = cs.Color(Colors.RGB(100,149,23"; +__ref._l_promodesc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence("Promocion: ")).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence(_promo)).Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence(_mp.Get((Object)("descripcion")))).PopAll().getObject())); +RDebugUtils.currentLine=79167538; + //BA.debugLineNum = 79167538;BA.debugLine="prodsFijosTot = 0"; +__ref._prodsfijostot /*float*/ = (float) (0); +RDebugUtils.currentLine=79167541; + //BA.debugLineNum = 79167541;BA.debugLine="Dim pv As List = mp.Get(\"prodsVariables\")"; _pv = new anywheresoftware.b4a.objects.collections.List(); _pv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables")))); - //BA.debugLineNum = 536;BA.debugLine="Dim pv2 As List = mp.Get(\"prodsVariables2\")"; +RDebugUtils.currentLine=79167542; + //BA.debugLineNum = 79167542;BA.debugLine="Dim pv2 As List = mp.Get(\"prodsVariables2\")"; _pv2 = new anywheresoftware.b4a.objects.collections.List(); _pv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables2")))); - //BA.debugLineNum = 537;BA.debugLine="If thisLog Then Log(mp)"; +RDebugUtils.currentLine=79167543; + //BA.debugLineNum = 79167543;BA.debugLine="If thisLog Then Log(mp)"; if (_thislog) { -__c.LogImpl("477201463",BA.ObjectToString(_mp),0);}; - //BA.debugLineNum = 538;BA.debugLine="tpf = 0"; -_tpf = (int) (0); - //BA.debugLineNum = 539;BA.debugLine="For Each pfp As Int In mp.Get(\"prodsFijosPiezas\")"; +__c.LogImpl("079167543",BA.ObjectToString(_mp),0);}; +RDebugUtils.currentLine=79167544; + //BA.debugLineNum = 79167544;BA.debugLine="tpf = 0"; +__ref._tpf /*int*/ = (int) (0); +RDebugUtils.currentLine=79167545; + //BA.debugLineNum = 79167545;BA.debugLine="For Each pfp As Int In mp.Get(\"prodsFijosPiezas\")"; { final anywheresoftware.b4a.BA.IterableList group44 = ((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))); final int groupLen44 = group44.getSize() @@ -1104,71 +1237,100 @@ final int groupLen44 = group44.getSize() ; for (; index44 < groupLen44;index44++){ _pfp = (int)(BA.ObjectToNumber(group44.Get(index44))); - //BA.debugLineNum = 540;BA.debugLine="tpf = tpf + pfp"; -_tpf = (int) (_tpf+_pfp); +RDebugUtils.currentLine=79167546; + //BA.debugLineNum = 79167546;BA.debugLine="tpf = tpf + pfp"; +__ref._tpf /*int*/ = (int) (__ref._tpf /*int*/ +_pfp); } }; - //BA.debugLineNum = 542;BA.debugLine="tpf2 = tpf"; -_tpf2 = _tpf; - //BA.debugLineNum = 544;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf})\"$"; -_l_prodsfijos.setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(_tpf))+")"))); - //BA.debugLineNum = 545;BA.debugLine="prodsVarReq = mp.Get(\"prodsVariablesRequeridos\")"; -_prodsvarreq = (int)(BA.ObjectToNumber(_mp.Get((Object)("prodsVariablesRequeridos")))); - //BA.debugLineNum = 546;BA.debugLine="prodsVarReq_ = prodsVarReq"; -_prodsvarreq_ = _prodsvarreq; - //BA.debugLineNum = 547;BA.debugLine="prodsVarReq2 = mp.Get(\"prodsVariables2Requeridos\""; -_prodsvarreq2 = (int)(BA.ObjectToNumber(_mp.Get((Object)("prodsVariables2Requeridos")))); - //BA.debugLineNum = 548;BA.debugLine="prodsVarReq2_ = prodsVarReq2"; -_prodsvarreq2_ = _prodsvarreq2; - //BA.debugLineNum = 550;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; -_l_prodsvariables.setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq))+""))); - //BA.debugLineNum = 551;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; -_l_prodsvariables2.setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq2))+""))); - //BA.debugLineNum = 552;BA.debugLine="If prodsVarReq = 0 Then"; -if (_prodsvarreq==0) { - //BA.debugLineNum = 553;BA.debugLine="p_prodsVariables.Visible = False"; -_p_prodsvariables.setVisible(__c.False); +RDebugUtils.currentLine=79167548; + //BA.debugLineNum = 79167548;BA.debugLine="tpf2 = tpf"; +__ref._tpf2 /*int*/ = __ref._tpf /*int*/ ; +RDebugUtils.currentLine=79167550; + //BA.debugLineNum = 79167550;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf})\"$"; +__ref._l_prodsfijos /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+")"))); +RDebugUtils.currentLine=79167551; + //BA.debugLineNum = 79167551;BA.debugLine="prodsVarReq = mp.Get(\"prodsVariablesRequeridos\")"; +__ref._prodsvarreq /*int*/ = (int)(BA.ObjectToNumber(_mp.Get((Object)("prodsVariablesRequeridos")))); +RDebugUtils.currentLine=79167552; + //BA.debugLineNum = 79167552;BA.debugLine="prodsVarReq_ = prodsVarReq"; +__ref._prodsvarreq_ /*int*/ = __ref._prodsvarreq /*int*/ ; +RDebugUtils.currentLine=79167553; + //BA.debugLineNum = 79167553;BA.debugLine="prodsVarReq2 = mp.Get(\"prodsVariables2Requeridos\""; +__ref._prodsvarreq2 /*int*/ = (int)(BA.ObjectToNumber(_mp.Get((Object)("prodsVariables2Requeridos")))); +RDebugUtils.currentLine=79167554; + //BA.debugLineNum = 79167554;BA.debugLine="prodsVarReq2_ = prodsVarReq2"; +__ref._prodsvarreq2_ /*int*/ = __ref._prodsvarreq2 /*int*/ ; +RDebugUtils.currentLine=79167556; + //BA.debugLineNum = 79167556;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; +__ref._l_prodsvariables /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq /*int*/ ))+""))); +RDebugUtils.currentLine=79167557; + //BA.debugLineNum = 79167557;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq2 /*int*/ ))+""))); +RDebugUtils.currentLine=79167558; + //BA.debugLineNum = 79167558;BA.debugLine="If prodsVarReq = 0 Then"; +if (__ref._prodsvarreq /*int*/ ==0) { +RDebugUtils.currentLine=79167559; + //BA.debugLineNum = 79167559;BA.debugLine="p_prodsVariables.Visible = False"; +__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); }else { - //BA.debugLineNum = 555;BA.debugLine="p_prodsVariables.Visible = True"; -_p_prodsvariables.setVisible(__c.True); +RDebugUtils.currentLine=79167561; + //BA.debugLineNum = 79167561;BA.debugLine="p_prodsVariables.Visible = True"; +__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); }; - //BA.debugLineNum = 558;BA.debugLine="Dim label1 As Label"; +RDebugUtils.currentLine=79167564; + //BA.debugLineNum = 79167564;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 559;BA.debugLine="label1 = lv_prodsFijos.SingleLineLayout.Label"; -_label1 = _lv_prodsfijos.getSingleLineLayout().Label; - //BA.debugLineNum = 560;BA.debugLine="label1.TextSize = 13"; +RDebugUtils.currentLine=79167565; + //BA.debugLineNum = 79167565;BA.debugLine="label1 = lv_prodsFijos.SingleLineLayout.Label"; +_label1 = __ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=79167566; + //BA.debugLineNum = 79167566;BA.debugLine="label1.TextSize = 13"; _label1.setTextSize((float) (13)); - //BA.debugLineNum = 561;BA.debugLine="label1.TextColor = Colors.black"; +RDebugUtils.currentLine=79167567; + //BA.debugLineNum = 79167567;BA.debugLine="label1.TextColor = Colors.black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 562;BA.debugLine="lv_prodsFijos.SingleLineLayout.ItemHeight = 30dip"; -_lv_prodsfijos.getSingleLineLayout().setItemHeight(__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 563;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 565;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 566;BA.debugLine="agregaFijosALista(mp, True)"; -_agregafijosalista(_mp,__c.True); - //BA.debugLineNum = 567;BA.debugLine="If thisLog Then Log(\"Total prods fijos = \" & prod"; +RDebugUtils.currentLine=79167568; + //BA.debugLineNum = 79167568;BA.debugLine="lv_prodsFijos.SingleLineLayout.ItemHeight = 30dip"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().setItemHeight(__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=79167569; + //BA.debugLineNum = 79167569;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=79167571; + //BA.debugLineNum = 79167571;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=79167572; + //BA.debugLineNum = 79167572;BA.debugLine="agregaFijosALista(mp, True)"; +__ref._agregafijosalista /*String*/ (null,_mp,__c.True); +RDebugUtils.currentLine=79167573; + //BA.debugLineNum = 79167573;BA.debugLine="If thisLog Then Log(\"Total prods fijos = \" & prod"; if (_thislog) { -__c.LogImpl("477201493","Total prods fijos = "+BA.NumberToString(_prodsfijostot),0);}; - //BA.debugLineNum = 569;BA.debugLine="l_totProds.text = $\"Productos: ${tpf}\"$"; -_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_tpf))+""))); - //BA.debugLineNum = 570;BA.debugLine="l_total.Text = $\"Total: $$1.2{prodsFijosTot}\"$"; -_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_prodsfijostot))+""))); - //BA.debugLineNum = 576;BA.debugLine="If thisLog Then Log($\"PV1: ${pv.Size}, ${pv}\"$)"; +__c.LogImpl("079167573","Total prods fijos = "+BA.NumberToString(__ref._prodsfijostot /*float*/ ),0);}; +RDebugUtils.currentLine=79167575; + //BA.debugLineNum = 79167575;BA.debugLine="l_totProds.text = $\"Productos: ${tpf}\"$"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+""))); +RDebugUtils.currentLine=79167576; + //BA.debugLineNum = 79167576;BA.debugLine="l_total.Text = $\"Total: $$1.2{prodsFijosTot}\"$"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._prodsfijostot /*float*/ ))+""))); +RDebugUtils.currentLine=79167582; + //BA.debugLineNum = 79167582;BA.debugLine="If thisLog Then Log($\"PV1: ${pv.Size}, ${pv}\"$)"; if (_thislog) { -__c.LogImpl("477201502",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);}; - //BA.debugLineNum = 577;BA.debugLine="If thisLog Then Log($\"PV2: ${pv2.Size}, ${pv2}\"$)"; +__c.LogImpl("079167582",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);}; +RDebugUtils.currentLine=79167583; + //BA.debugLineNum = 79167583;BA.debugLine="If thisLog Then Log($\"PV2: ${pv2.Size}, ${pv2}\"$)"; if (_thislog) { -__c.LogImpl("477201503",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);}; - //BA.debugLineNum = 578;BA.debugLine="If thisLog Then Log(\"invDisp=\" & invDispPromo)"; +__c.LogImpl("079167583",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);}; +RDebugUtils.currentLine=79167584; + //BA.debugLineNum = 79167584;BA.debugLine="If thisLog Then Log(\"invDisp=\" & invDispPromo)"; if (_thislog) { -__c.LogImpl("477201504","invDisp="+BA.ObjectToString(_invdisppromo),0);}; - //BA.debugLineNum = 579;BA.debugLine="clv_prodsVariabes.Clear"; -_clv_prodsvariabes._clear(); - //BA.debugLineNum = 580;BA.debugLine="clv_prodsVariabes2.Clear"; -_clv_prodsvariabes2._clear(); - //BA.debugLineNum = 581;BA.debugLine="For Each p As String In pv"; +__c.LogImpl("079167584","invDisp="+BA.ObjectToString(_invdisppromo),0);}; +RDebugUtils.currentLine=79167585; + //BA.debugLineNum = 79167585;BA.debugLine="clv_prodsVariabes.Clear"; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=79167586; + //BA.debugLineNum = 79167586;BA.debugLine="clv_prodsVariabes2.Clear"; +__ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=79167587; + //BA.debugLineNum = 79167587;BA.debugLine="For Each p As String In pv"; { final anywheresoftware.b4a.BA.IterableList group76 = _pv; final int groupLen76 = group76.getSize() @@ -1176,24 +1338,31 @@ final int groupLen76 = group76.getSize() ; for (; index76 < groupLen76;index76++){ _p = BA.ObjectToString(group76.Get(index76)); - //BA.debugLineNum = 582;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; +RDebugUtils.currentLine=79167588; + //BA.debugLineNum = 79167588;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; if (_invdisppromo.ContainsKey((Object)(_p))) { - //BA.debugLineNum = 583;BA.debugLine="Private indicePV = listaPV.IndexOf(p)"; +RDebugUtils.currentLine=79167589; + //BA.debugLineNum = 79167589;BA.debugLine="Private indicePV = listaPV.IndexOf(p)"; _indicepv = BA.NumberToString(_listapv.IndexOf((Object)(_p))); - //BA.debugLineNum = 585;BA.debugLine="Private estePrecio = listaPreciosPV.Get(indiceP"; +RDebugUtils.currentLine=79167591; + //BA.debugLineNum = 79167591;BA.debugLine="Private estePrecio = listaPreciosPV.Get(indiceP"; _esteprecio = BA.ObjectToString(_listapreciospv.Get((int)(Double.parseDouble(_indicepv)))); - //BA.debugLineNum = 590;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; +RDebugUtils.currentLine=79167596; + //BA.debugLineNum = 79167596;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; _thisprod = new anywheresoftware.b4a.objects.collections.Map(); _thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p)))); - //BA.debugLineNum = 591;BA.debugLine="If thisLog Then Log(thisProd)"; +RDebugUtils.currentLine=79167597; + //BA.debugLineNum = 79167597;BA.debugLine="If thisLog Then Log(thisProd)"; if (_thislog) { -__c.LogImpl("477201517",BA.ObjectToString(_thisprod),0);}; - //BA.debugLineNum = 592;BA.debugLine="clv_prodsVariabes.Add(CreateListItem(Subs.traeP"; -_clv_prodsvariabes._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),_clv_prodsvariabes._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p)); +__c.LogImpl("079167597",BA.ObjectToString(_thisprod),0);}; +RDebugUtils.currentLine=79167598; + //BA.debugLineNum = 79167598;BA.debugLine="clv_prodsVariabes.Add(CreateListItem(Subs.traeP"; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p)); }; } }; - //BA.debugLineNum = 596;BA.debugLine="For Each p As String In pv2"; +RDebugUtils.currentLine=79167602; + //BA.debugLineNum = 79167602;BA.debugLine="For Each p As String In pv2"; { final anywheresoftware.b4a.BA.IterableList group85 = _pv2; final int groupLen85 = group85.getSize() @@ -1201,58 +1370,406 @@ final int groupLen85 = group85.getSize() ; for (; index85 < groupLen85;index85++){ _p = BA.ObjectToString(group85.Get(index85)); - //BA.debugLineNum = 597;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; +RDebugUtils.currentLine=79167603; + //BA.debugLineNum = 79167603;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; if (_invdisppromo.ContainsKey((Object)(_p))) { - //BA.debugLineNum = 602;BA.debugLine="Private indicePV2 = listaPV2.IndexOf(p)"; +RDebugUtils.currentLine=79167608; + //BA.debugLineNum = 79167608;BA.debugLine="Private indicePV2 = listaPV2.IndexOf(p)"; _indicepv2 = BA.NumberToString(_listapv2.IndexOf((Object)(_p))); - //BA.debugLineNum = 605;BA.debugLine="Private estePrecio = listaPreciosPV2.Get(indice"; +RDebugUtils.currentLine=79167611; + //BA.debugLineNum = 79167611;BA.debugLine="Private estePrecio = listaPreciosPV2.Get(indice"; _esteprecio = BA.ObjectToString(_listapreciospv2.Get((int)(Double.parseDouble(_indicepv2)))); - //BA.debugLineNum = 610;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; +RDebugUtils.currentLine=79167616; + //BA.debugLineNum = 79167616;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; _thisprod = new anywheresoftware.b4a.objects.collections.Map(); _thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p)))); - //BA.debugLineNum = 611;BA.debugLine="If thisLog Then Log(thisProd)"; +RDebugUtils.currentLine=79167617; + //BA.debugLineNum = 79167617;BA.debugLine="If thisLog Then Log(thisProd)"; if (_thislog) { -__c.LogImpl("477201537",BA.ObjectToString(_thisprod),0);}; - //BA.debugLineNum = 612;BA.debugLine="clv_prodsVariabes2.Add(CreateListItem2(Subs.tra"; -_clv_prodsvariabes2._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),_clv_prodsvariabes2._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p)); +__c.LogImpl("079167617",BA.ObjectToString(_thisprod),0);}; +RDebugUtils.currentLine=79167618; + //BA.debugLineNum = 79167618;BA.debugLine="clv_prodsVariabes2.Add(CreateListItem2(Subs.tra"; +__ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),__ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p)); }; } }; - //BA.debugLineNum = 615;BA.debugLine="If pv2.Size = 0 Then"; +RDebugUtils.currentLine=79167621; + //BA.debugLineNum = 79167621;BA.debugLine="If pv2.Size = 0 Then"; if (_pv2.getSize()==0) { - //BA.debugLineNum = 617;BA.debugLine="l_prodsVariables2.Visible = False"; -_l_prodsvariables2.setVisible(__c.False); - //BA.debugLineNum = 618;BA.debugLine="p_prodsVariables2.Visible = False"; -_p_prodsvariables2.setVisible(__c.False); - //BA.debugLineNum = 620;BA.debugLine="p_prodsVariables.Height = 410dip"; -_p_prodsvariables.setHeight(__c.DipToCurrent((int) (410))); - //BA.debugLineNum = 621;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; -_clv_prodsvariabes._getbase().setHeight((int) (_p_prodsvariables.getHeight()-20)); - //BA.debugLineNum = 625;BA.debugLine="clv_prodsVariabes.Base_Resize(clv_prodsVariabes."; -_clv_prodsvariabes._base_resize(_clv_prodsvariabes._getbase().getWidth(),_p_prodsvariables.getHeight()-20); +RDebugUtils.currentLine=79167623; + //BA.debugLineNum = 79167623;BA.debugLine="l_prodsVariables2.Visible = False"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=79167624; + //BA.debugLineNum = 79167624;BA.debugLine="p_prodsVariables2.Visible = False"; +__ref._p_prodsvariables2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=79167626; + //BA.debugLineNum = 79167626;BA.debugLine="p_prodsVariables.Height = 410dip"; +__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__c.DipToCurrent((int) (410))); +RDebugUtils.currentLine=79167627; + //BA.debugLineNum = 79167627;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getbase().setHeight((int) (__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-20)); +RDebugUtils.currentLine=79167631; + //BA.debugLineNum = 79167631;BA.debugLine="clv_prodsVariabes.Base_Resize(clv_prodsVariabes."; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-20); }else { - //BA.debugLineNum = 627;BA.debugLine="l_prodsVariables2.Visible = True"; -_l_prodsvariables2.setVisible(__c.True); - //BA.debugLineNum = 628;BA.debugLine="p_prodsVariables2.Visible = True"; -_p_prodsvariables2.setVisible(__c.True); - //BA.debugLineNum = 629;BA.debugLine="p_prodsVariables.Height = 210dip"; -_p_prodsvariables.setHeight(__c.DipToCurrent((int) (210))); - //BA.debugLineNum = 630;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; -_clv_prodsvariabes._getbase().setHeight((int) (_p_prodsvariables.getHeight()-20)); +RDebugUtils.currentLine=79167633; + //BA.debugLineNum = 79167633;BA.debugLine="l_prodsVariables2.Visible = True"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=79167634; + //BA.debugLineNum = 79167634;BA.debugLine="p_prodsVariables2.Visible = True"; +__ref._p_prodsvariables2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=79167635; + //BA.debugLineNum = 79167635;BA.debugLine="p_prodsVariables.Height = 210dip"; +__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__c.DipToCurrent((int) (210))); +RDebugUtils.currentLine=79167636; + //BA.debugLineNum = 79167636;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getbase().setHeight((int) (__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-20)); }; - //BA.debugLineNum = 632;BA.debugLine="b_terminar1.Visible = False"; -_b_terminar1.setVisible(__c.False); - //BA.debugLineNum = 633;BA.debugLine="b_continuar.Visible = False"; -_b_continuar.setVisible(__c.False); - //BA.debugLineNum = 634;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 635;BA.debugLine="End Sub"; +RDebugUtils.currentLine=79167638; + //BA.debugLineNum = 79167638;BA.debugLine="b_terminar1.Visible = False"; +__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=79167639; + //BA.debugLineNum = 79167639;BA.debugLine="b_continuar.Visible = False"; +__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=79167640; + //BA.debugLineNum = 79167640;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=79167641; + //BA.debugLineNum = 79167641;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_created(gunav2.keymon.com.mx.c_promos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=79036416; + //BA.debugLineNum = 79036416;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=79036417; + //BA.debugLineNum = 79036417;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=79036419; + //BA.debugLineNum = 79036419;BA.debugLine="Root.LoadLayout(\"promociones\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("promociones",ba); +RDebugUtils.currentLine=79036421; + //BA.debugLineNum = 79036421;BA.debugLine="p_promociones.Height= Root.Height"; +__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=79036422; + //BA.debugLineNum = 79036422;BA.debugLine="p_promociones.Width= Root.Width"; +__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=79036423; + //BA.debugLineNum = 79036423;BA.debugLine="promosMap.Initialize"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=79036424; + //BA.debugLineNum = 79036424;BA.debugLine="p_promociones.Top=0"; +__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=79036425; + //BA.debugLineNum = 79036425;BA.debugLine="p_promociones.Left=0"; +__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=79036426; + //BA.debugLineNum = 79036426;BA.debugLine="b_terminar1.Left = Root.Width - (b_terminar1.Widt"; +__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-(__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()+10))); +RDebugUtils.currentLine=79036427; + //BA.debugLineNum = 79036427;BA.debugLine="b_continuar.Left = Root.Width - b_terminar1.Width"; +__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()-(__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()+20))); +RDebugUtils.currentLine=79036428; + //BA.debugLineNum = 79036428;BA.debugLine="Subs.centraPanel(p_promociones,Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=79036429; + //BA.debugLineNum = 79036429;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(gunav2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +RDebugUtils.currentLine=78905344; + //BA.debugLineNum = 78905344;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=78905345; + //BA.debugLineNum = 78905345;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=78905346; + //BA.debugLineNum = 78905346;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=78905347; + //BA.debugLineNum = 78905347;BA.debugLine="Private l_promoDesc As Label"; +_l_promodesc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78905348; + //BA.debugLineNum = 78905348;BA.debugLine="Private lv_prodsFijos As ListView"; +_lv_prodsfijos = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=78905349; + //BA.debugLineNum = 78905349;BA.debugLine="Private clv_prodsVariabes, clv_prodsVariabes2 As"; +_clv_prodsvariabes = new b4a.example3.customlistview(); +_clv_prodsvariabes2 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=78905350; + //BA.debugLineNum = 78905350;BA.debugLine="Private l_prodsFijos As Label"; +_l_prodsfijos = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78905351; + //BA.debugLineNum = 78905351;BA.debugLine="Private l_prodsVariables, l_prodsVariables2 As La"; +_l_prodsvariables = new anywheresoftware.b4a.objects.LabelWrapper(); +_l_prodsvariables2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78905352; + //BA.debugLineNum = 78905352;BA.debugLine="Private i_prod As ImageView"; +_i_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=78905353; + //BA.debugLineNum = 78905353;BA.debugLine="Private l_prodX As Label"; +_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78905354; + //BA.debugLineNum = 78905354;BA.debugLine="Private p_prods As Panel"; +_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=78905355; + //BA.debugLineNum = 78905355;BA.debugLine="Private b_prodMenos, b_prodMenos2 As Button"; +_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); +_b_prodmenos2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=78905356; + //BA.debugLineNum = 78905356;BA.debugLine="Private et_pCant As EditText"; +_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=78905357; + //BA.debugLineNum = 78905357;BA.debugLine="Private b_prodMas, b_prodMas2 As Button"; +_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); +_b_prodmas2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=78905358; + //BA.debugLineNum = 78905358;BA.debugLine="Private l_pCant As Label"; +_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78905359; + //BA.debugLineNum = 78905359;BA.debugLine="Dim totalProds As Int = 0"; +_totalprods = (int) (0); +RDebugUtils.currentLine=78905360; + //BA.debugLineNum = 78905360;BA.debugLine="Dim prodsVar1 As Int = 0"; +_prodsvar1 = (int) (0); +RDebugUtils.currentLine=78905361; + //BA.debugLineNum = 78905361;BA.debugLine="Dim prodsVar2 As Int = 0"; +_prodsvar2 = (int) (0); +RDebugUtils.currentLine=78905362; + //BA.debugLineNum = 78905362;BA.debugLine="Dim prodsVarReq As Int = 0"; +_prodsvarreq = (int) (0); +RDebugUtils.currentLine=78905363; + //BA.debugLineNum = 78905363;BA.debugLine="Dim prodsVarReq_ As Int = 0"; +_prodsvarreq_ = (int) (0); +RDebugUtils.currentLine=78905364; + //BA.debugLineNum = 78905364;BA.debugLine="Dim prodsVarReq2 As Int = 0"; +_prodsvarreq2 = (int) (0); +RDebugUtils.currentLine=78905365; + //BA.debugLineNum = 78905365;BA.debugLine="Dim prodsVarReq2_ As Int = 0"; +_prodsvarreq2_ = (int) (0); +RDebugUtils.currentLine=78905366; + //BA.debugLineNum = 78905366;BA.debugLine="Dim totalCompra As Float = 0"; +_totalcompra = (float) (0); +RDebugUtils.currentLine=78905367; + //BA.debugLineNum = 78905367;BA.debugLine="Dim prodsFijosTot As Float = 0"; +_prodsfijostot = (float) (0); +RDebugUtils.currentLine=78905368; + //BA.debugLineNum = 78905368;BA.debugLine="Dim tpf As Int = 0"; +_tpf = (int) (0); +RDebugUtils.currentLine=78905369; + //BA.debugLineNum = 78905369;BA.debugLine="Dim tpf2 As Int = 0"; +_tpf2 = (int) (0); +RDebugUtils.currentLine=78905370; + //BA.debugLineNum = 78905370;BA.debugLine="Dim maxCantPromos As Int = 1"; +_maxcantpromos = (int) (1); +RDebugUtils.currentLine=78905371; + //BA.debugLineNum = 78905371;BA.debugLine="Private l_totProds As Label"; +_l_totprods = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78905372; + //BA.debugLineNum = 78905372;BA.debugLine="Private l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78905373; + //BA.debugLineNum = 78905373;BA.debugLine="Private b_terminar1 As Button"; +_b_terminar1 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=78905374; + //BA.debugLineNum = 78905374;BA.debugLine="Private p_promociones As Panel"; +_p_promociones = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=78905375; + //BA.debugLineNum = 78905375;BA.debugLine="Dim prodsIds, prodsCants, prodsPrecios, prodsIds2"; +_prodsids = new anywheresoftware.b4a.objects.collections.List(); +_prodscants = new anywheresoftware.b4a.objects.collections.List(); +_prodsprecios = new anywheresoftware.b4a.objects.collections.List(); +_prodsids2 = new anywheresoftware.b4a.objects.collections.List(); +_prodscants2 = new anywheresoftware.b4a.objects.collections.List(); +_prodsprecios2 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=78905376; + //BA.debugLineNum = 78905376;BA.debugLine="Dim estaPromo, esteCliente As String"; +_estapromo = ""; +_estecliente = ""; +RDebugUtils.currentLine=78905377; + //BA.debugLineNum = 78905377;BA.debugLine="Private b_promoMas As Button"; +_b_promomas = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=78905378; + //BA.debugLineNum = 78905378;BA.debugLine="Private b_promoMenos As Button"; +_b_promomenos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=78905379; + //BA.debugLineNum = 78905379;BA.debugLine="Private et_promoCant As EditText"; +_et_promocant = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=78905380; + //BA.debugLineNum = 78905380;BA.debugLine="Private l_promosCant As Label"; +_l_promoscant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78905381; + //BA.debugLineNum = 78905381;BA.debugLine="Private b_continuar As Button"; +_b_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=78905382; + //BA.debugLineNum = 78905382;BA.debugLine="Private p_prodsVariables, p_prodsVariables2 As Pa"; +_p_prodsvariables = new anywheresoftware.b4a.objects.PanelWrapper(); +_p_prodsvariables2 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=78905383; + //BA.debugLineNum = 78905383;BA.debugLine="Dim laPromo = \"\", elCliente = \"\" As String"; +_lapromo = ""; +_elcliente = ""; +RDebugUtils.currentLine=78905384; + //BA.debugLineNum = 78905384;BA.debugLine="Dim prodsPedidoActual As String"; +_prodspedidoactual = ""; +RDebugUtils.currentLine=78905385; + //BA.debugLineNum = 78905385;BA.debugLine="Dim montoPedidoActual As String"; +_montopedidoactual = ""; +RDebugUtils.currentLine=78905386; + //BA.debugLineNum = 78905386;BA.debugLine="Dim promosMap As Map"; +_promosmap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=78905387; + //BA.debugLineNum = 78905387;BA.debugLine="Dim su As StringUtils"; +_su = new anywheresoftware.b4a.objects.StringUtils(); +RDebugUtils.currentLine=78905388; + //BA.debugLineNum = 78905388;BA.debugLine="End Sub"; +return ""; } +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(gunav2.keymon.com.mx.c_promos __ref,String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_width,_height,_img,_prodid}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=79298560; + //BA.debugLineNum = 79298560;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=79298561; + //BA.debugLineNum = 79298561;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=79298562; + //BA.debugLineNum = 79298562;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=79298563; + //BA.debugLineNum = 79298563;BA.debugLine="p.LoadLayout(\"prodItem1\")"; +_p.LoadLayout("prodItem1",ba); +RDebugUtils.currentLine=79298564; + //BA.debugLineNum = 79298564;BA.debugLine="l_prodX.TextSize = 15"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (15)); +RDebugUtils.currentLine=79298565; + //BA.debugLineNum = 79298565;BA.debugLine="l_prodX.Text = Text"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=79298566; + //BA.debugLineNum = 79298566;BA.debugLine="l_prodX.TextSize = 15"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (15)); +RDebugUtils.currentLine=79298569; + //BA.debugLineNum = 79298569;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._su /*anywheresoftware.b4a.objects.StringUtils*/ .MeasureMultilineTextHeight((android.widget.TextView)(__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .getObject()),BA.ObjectToCharSequence(__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+20)); +RDebugUtils.currentLine=79298570; + //BA.debugLineNum = 79298570;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; +if (__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()<_height) { +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(_height);}; +RDebugUtils.currentLine=79298571; + //BA.debugLineNum = 79298571;BA.debugLine="l_prodX.Height = p_prods.Height"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setHeight(__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=79298572; + //BA.debugLineNum = 79298572;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); +RDebugUtils.currentLine=79298573; + //BA.debugLineNum = 79298573;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); +RDebugUtils.currentLine=79298574; + //BA.debugLineNum = 79298574;BA.debugLine="et_pCant.BringToFront"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .BringToFront(); +RDebugUtils.currentLine=79298576; + //BA.debugLineNum = 79298576;BA.debugLine="p.Height = p_prods.Height"; +_p.setHeight(__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=79298577; + //BA.debugLineNum = 79298577;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=79298578; + //BA.debugLineNum = 79298578;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(gunav2.keymon.com.mx.c_promos __ref,String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_text,_preciou,_inv,_width,_height,_img,_prodid}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=79364096; + //BA.debugLineNum = 79364096;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +RDebugUtils.currentLine=79364097; + //BA.debugLineNum = 79364097;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=79364098; + //BA.debugLineNum = 79364098;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=79364099; + //BA.debugLineNum = 79364099;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=79364100; + //BA.debugLineNum = 79364100;BA.debugLine="l_prodX.TextSize = 15"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (15)); +RDebugUtils.currentLine=79364101; + //BA.debugLineNum = 79364101;BA.debugLine="l_prodX.Text = Text"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=79364102; + //BA.debugLineNum = 79364102;BA.debugLine="l_prodX.TextSize = 15"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (15)); +RDebugUtils.currentLine=79364105; + //BA.debugLineNum = 79364105;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._su /*anywheresoftware.b4a.objects.StringUtils*/ .MeasureMultilineTextHeight((android.widget.TextView)(__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .getObject()),BA.ObjectToCharSequence(__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+20)); +RDebugUtils.currentLine=79364106; + //BA.debugLineNum = 79364106;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; +if (__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()<_height) { +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(_height);}; +RDebugUtils.currentLine=79364107; + //BA.debugLineNum = 79364107;BA.debugLine="l_prodX.Height = p_prods.Height"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setHeight(__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=79364109; + //BA.debugLineNum = 79364109;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); +RDebugUtils.currentLine=79364110; + //BA.debugLineNum = 79364110;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); +RDebugUtils.currentLine=79364111; + //BA.debugLineNum = 79364111;BA.debugLine="et_pCant.BringToFront"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .BringToFront(); +RDebugUtils.currentLine=79364113; + //BA.debugLineNum = 79364113;BA.debugLine="p.Height = p_prods.Height"; +_p.setHeight(__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=79364114; + //BA.debugLineNum = 79364114;BA.debugLine="Return p"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); +RDebugUtils.currentLine=79364115; + //BA.debugLineNum = 79364115;BA.debugLine="End Sub"; +return null; +} +public String _et_pcant_focuschanged(gunav2.keymon.com.mx.c_promos __ref,boolean _hasfocus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "et_pcant_focuschanged", false)) + {return ((String) Debug.delegate(ba, "et_pcant_focuschanged", new Object[] {_hasfocus}));} +RDebugUtils.currentLine=79822848; + //BA.debugLineNum = 79822848;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; +RDebugUtils.currentLine=79822849; + //BA.debugLineNum = 79822849;BA.debugLine="LogColor(\"focus changed\", Colors.Magenta)"; +__c.LogImpl("079822849","focus changed",__c.Colors.Magenta); +RDebugUtils.currentLine=79822850; + //BA.debugLineNum = 79822850;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=79822851; + //BA.debugLineNum = 79822851;BA.debugLine="End Sub"; +return ""; +} +public String _et_pcant_textchanged(gunav2.keymon.com.mx.c_promos __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "et_pcant_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_pcant_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=79691776; + //BA.debugLineNum = 79691776;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; +RDebugUtils.currentLine=79691778; + //BA.debugLineNum = 79691778;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=79691779; + //BA.debugLineNum = 79691779;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_ticketsdia.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_ticketsdia.java index 66404be..0fa1b3e 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_ticketsdia.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_ticketsdia.java @@ -10,7 +10,7 @@ public class c_ticketsdia extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_ticketsdia"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_ticketsdia"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_ticketsdia extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public anywheresoftware.b4a.objects.PanelWrapper _p_ticketsdia = null; @@ -40,479 +47,711 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 135;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; - //BA.debugLineNum = 137;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; -if (_key==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 139;BA.debugLine="B4XPages.ShowPage(\"principal\")"; -_b4xpages._showpage /*String*/ (ba,"principal"); - }; - //BA.debugLineNum = 143;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 144;BA.debugLine="End Sub"; -return false; -} -public String _b_noventa_click() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; - //BA.debugLineNum = 162;BA.debugLine="Sub b_noventa_Click"; - //BA.debugLineNum = 163;BA.debugLine="If nombre_boton = \"NOVENTA\" Then"; -if ((_nombre_boton).equals("NOVENTA")) { - //BA.debugLineNum = 164;BA.debugLine="nombre_boton = \"VENTA\""; -_nombre_boton = "VENTA"; - //BA.debugLineNum = 165;BA.debugLine="b_noventa.Text =\"VENTA\""; -_b_noventa.setText(BA.ObjectToCharSequence("VENTA")); - //BA.debugLineNum = 166;BA.debugLine="L_ventanoventa.Text = \"Clientes sin venta\""; -_l_ventanoventa.setText(BA.ObjectToCharSequence("Clientes sin venta")); - //BA.debugLineNum = 167;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select NV_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select NV_CLIENTE,NV_MOTIVO,NV_COMM, (select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = NV_CLIENTE ) as NOMBRE FROM NOVENTA ORDER BY NV_CLIENTE asc"))); - //BA.debugLineNum = 168;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 169;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 170;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step8 = 1; -final int limit8 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 171;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 172;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 173;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 174;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 175;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 176;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 177;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 178;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 179;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 180;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("NV_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Motivo #"+_c.GetString("NV_MOTIVO")+" Comentario $"+_c.GetString("NV_COMM"))); - } -}; - }; - }else { - //BA.debugLineNum = 184;BA.debugLine="nombre_boton = \"NOVENTA\""; -_nombre_boton = "NOVENTA"; - //BA.debugLineNum = 185;BA.debugLine="b_noventa.Text =\"NO VENTA\""; -_b_noventa.setText(BA.ObjectToCharSequence("NO VENTA")); - //BA.debugLineNum = 186;BA.debugLine="L_ventanoventa.Text = \"Clientes con venta\""; -_l_ventanoventa.setText(BA.ObjectToCharSequence("Clientes con venta")); - //BA.debugLineNum = 187;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 188;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); - //BA.debugLineNum = 191;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 192;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 193;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step29 = 1; -final int limit29 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit29 ;_i = _i + step29 ) { - //BA.debugLineNum = 194;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 195;BA.debugLine="Log(C.GetString(\"PC_CLIENTE\"))"; -__c.LogImpl("468681761",_c.GetString("PC_CLIENTE"),0); - //BA.debugLineNum = 196;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Ex"; -_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE = ? and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{_c.GetString("PC_CLIENTE"),"","null"}))); - //BA.debugLineNum = 197;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; -__c.LogImpl("468681763",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow); - //BA.debugLineNum = 198;BA.debugLine="If s3.RowCount > 0 Then"; -if (_s3.getRowCount()>0) { - //BA.debugLineNum = 199;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Ex"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL ) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)",new String[]{_c.GetString("PC_CLIENTE"),"","null"}))); - //BA.debugLineNum = 200;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 201;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt"; -_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)",new String[]{_c.GetString("PC_CLIENTE"),"","null"}))); - //BA.debugLineNum = 202;BA.debugLine="s5.Position = 0"; -_s5.setPosition((int) (0)); - //BA.debugLineNum = 203;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 204;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 205;BA.debugLine="label1.TextSize = 20"; -_label1.setTextSize((float) (20)); - //BA.debugLineNum = 206;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 207;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 208;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 209;BA.debugLine="label2.TextSize = 20"; -_label2.setTextSize((float) (20)); - //BA.debugLineNum = 210;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 211;BA.debugLine="label1.Height = 25dip"; -_label1.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 212;BA.debugLine="label2.Height = 60dip"; -_label2.setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 214;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; -_listview1.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); - //BA.debugLineNum = 215;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface"; -_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 216;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface"; -_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 218;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+BA.NumberToString(((double)(Double.parseDouble(_s.GetString("CANT_CLIE")))+(double)(Double.parseDouble(_s5.GetString("CANT_CLIE")))))+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,_c.GetString("PC_CLIENTE")))); - //BA.debugLineNum = 219;BA.debugLine="s.Close"; -_s.Close(); - }else if(_s3.getRowCount()==0) { - //BA.debugLineNum = 221;BA.debugLine="Log(s3.RowCount)"; -__c.LogImpl("468681787",BA.NumberToString(_s3.getRowCount()),0); - //BA.debugLineNum = 222;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Ex"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ?",new String[]{_c.GetString("PC_CLIENTE")}))); - //BA.debugLineNum = 223;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 225;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 226;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 227;BA.debugLine="label1.TextSize = 20"; -_label1.setTextSize((float) (20)); - //BA.debugLineNum = 228;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 229;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 230;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 231;BA.debugLine="label2.TextSize = 20"; -_label2.setTextSize((float) (20)); - //BA.debugLineNum = 232;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 233;BA.debugLine="label1.Height = 25dip"; -_label1.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 234;BA.debugLine="label2.Height = 60dip"; -_label2.setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 236;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; -_listview1.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); - //BA.debugLineNum = 237;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface"; -_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 238;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface"; -_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 239;BA.debugLine="Log(c.GetString(\"PC_CLIENTE\"))"; -__c.LogImpl("468681805",_c.GetString("PC_CLIENTE"),0); - //BA.debugLineNum = 240;BA.debugLine="Log(c.GetString(\"NOMBRE\"))"; -__c.LogImpl("468681806",_c.GetString("NOMBRE"),0); - //BA.debugLineNum = 241;BA.debugLine="Log(s.GetString(\"CANT_CLIE\"))"; -__c.LogImpl("468681807",_s.GetString("CANT_CLIE"),0); - //BA.debugLineNum = 242;BA.debugLine="Log(c.GetString(\"PC_CLIENTE\"))"; -__c.LogImpl("468681808",_c.GetString("PC_CLIENTE"),0); - //BA.debugLineNum = 243;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+_s.GetString("CANT_CLIE")+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,_c.GetString("PC_CLIENTE")))); - //BA.debugLineNum = 244;BA.debugLine="s.Close"; -_s.Close(); - }; - } -}; - }; - //BA.debugLineNum = 249;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 251;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 58;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 59;BA.debugLine="nombre_boton = \"NOVENTA\""; -_nombre_boton = "NOVENTA"; - //BA.debugLineNum = 60;BA.debugLine="L_ventanoventa.Text = \"Clientes con venta\""; -_l_ventanoventa.setText(BA.ObjectToCharSequence("Clientes con venta")); - //BA.debugLineNum = 61;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 62;BA.debugLine="ListView1.Height = Root.Height * 0.70"; -_listview1.setHeight((int) (_root.getHeight()*0.70)); - //BA.debugLineNum = 63;BA.debugLine="p_ticketsdia.Height = Root.Height * 0.80"; -_p_ticketsdia.setHeight((int) (_root.getHeight()*0.80)); - //BA.debugLineNum = 64;BA.debugLine="p_ticketsdia.Width = Root.Width * 0.90"; -_p_ticketsdia.setWidth((int) (_root.getWidth()*0.90)); - //BA.debugLineNum = 66;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); - //BA.debugLineNum = 69;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 70;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 71;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step10 = 1; -final int limit10 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 72;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 75;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe"; -_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE = ? and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{_c.GetString("PC_CLIENTE"),"","null"}))); - //BA.debugLineNum = 76;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; -__c.LogImpl("468419602",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow); - //BA.debugLineNum = 77;BA.debugLine="If s3.RowCount > 0 Then"; -if (_s3.getRowCount()>0) { - //BA.debugLineNum = 79;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exe"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL ) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)",new String[]{_c.GetString("PC_CLIENTE"),"","null"}))); - //BA.debugLineNum = 80;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 81;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt."; -_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)",new String[]{_c.GetString("PC_CLIENTE"),"","null"}))); - //BA.debugLineNum = 82;BA.debugLine="s5.Position = 0"; -_s5.setPosition((int) (0)); - //BA.debugLineNum = 87;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 88;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 89;BA.debugLine="label1.TextSize = 20"; -_label1.setTextSize((float) (20)); - //BA.debugLineNum = 90;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 91;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 92;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 93;BA.debugLine="label2.TextSize = 20"; -_label2.setTextSize((float) (20)); - //BA.debugLineNum = 94;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 95;BA.debugLine="label1.Height = 25dip"; -_label1.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 96;BA.debugLine="label2.Height = 60dip"; -_label2.setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 98;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; -_listview1.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); - //BA.debugLineNum = 99;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface."; -_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 100;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface."; -_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 101;BA.debugLine="Log(1)"; -__c.LogImpl("468419627",BA.NumberToString(1),0); - //BA.debugLineNum = 103;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+BA.NumberToString(((double)(Double.parseDouble(_s.GetString("CANT_CLIE")))+(double)(Double.parseDouble(_s5.GetString("CANT_CLIE")))))+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,_c.GetString("PC_CLIENTE")))); - //BA.debugLineNum = 104;BA.debugLine="s.Close"; -_s.Close(); - }else if(_s3.getRowCount()==0) { - //BA.debugLineNum = 106;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exe"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ?",new String[]{_c.GetString("PC_CLIENTE")}))); - //BA.debugLineNum = 107;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 109;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 110;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 111;BA.debugLine="label1.TextSize = 20"; -_label1.setTextSize((float) (20)); - //BA.debugLineNum = 112;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 113;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 114;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 115;BA.debugLine="label2.TextSize = 20"; -_label2.setTextSize((float) (20)); - //BA.debugLineNum = 116;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 117;BA.debugLine="label1.Height = 25dip"; -_label1.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 118;BA.debugLine="label2.Height = 60dip"; -_label2.setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 120;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; -_listview1.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); - //BA.debugLineNum = 121;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface."; -_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 122;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface."; -_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 123;BA.debugLine="Log(2)"; -__c.LogImpl("468419649",BA.NumberToString(2),0); - //BA.debugLineNum = 124;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+_s.GetString("CANT_CLIE")+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,_c.GetString("PC_CLIENTE")))); - //BA.debugLineNum = 125;BA.debugLine="s.Close"; -_s.Close(); - }; - } -}; - }; - //BA.debugLineNum = 129;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 130;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 23;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 24;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 26;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 27;BA.debugLine="Root.LoadLayout(\"ticketsdia\")"; -_root.LoadLayout("ticketsdia",ba); - //BA.debugLineNum = 29;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 30;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); - }; - //BA.debugLineNum = 32;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); - //BA.debugLineNum = 33;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 34;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 35;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step10 = 1; -final int limit10 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 36;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 37;BA.debugLine="Dim Label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 39;BA.debugLine="Label1.TextSize = 20"; -_label1.setTextSize((float) (20)); - //BA.debugLineNum = 40;BA.debugLine="Label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 41;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 43;BA.debugLine="label2.TextSize = 20"; -_label2.setTextSize((float) (20)); - //BA.debugLineNum = 44;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 45;BA.debugLine="Label1.Height = 25dip"; -_label1.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 46;BA.debugLine="label2.Height = 60dip"; -_label2.setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 48;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; -_listview1.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); - //BA.debugLineNum = 49;BA.debugLine="Label1.Typeface = Typeface.CreateNew(Typeface.D"; -_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 50;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; -_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); - //BA.debugLineNum = 51;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence("Cantidad #"+_c.GetString("PC_NOART")+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,_c.GetString("PC_CLIENTE")))); - } -}; - }; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private p_ticketsdia As Panel"; -_p_ticketsdia = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Dim S As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim b_noventa As Button"; -_b_noventa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim nombre_boton As String"; -_nombre_boton = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim STIME As String"; -_stime = ""; - //BA.debugLineNum = 14;BA.debugLine="Private L_ventanoventa As Label"; -_l_ventanoventa = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +public Object _initialize(gunav2.keymon.com.mx.c_ticketsdia __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 18;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 19;BA.debugLine="Return Me"; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=68354048; + //BA.debugLineNum = 68354048;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=68354049; + //BA.debugLineNum = 68354049;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 20;BA.debugLine="End Sub"; +RDebugUtils.currentLine=68354050; + //BA.debugLineNum = 68354050;BA.debugLine="End Sub"; return null; } -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 145;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 146;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 147;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 148;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 149;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 150;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT("; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)"))); - //BA.debugLineNum = 151;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 152;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; -if ((_s.GetString("CUANTOS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 153;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - }else { - //BA.debugLineNum = 155;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 156;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); +public boolean _activity_keypress(gunav2.keymon.com.mx.c_ticketsdia __ref,int _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=68616192; + //BA.debugLineNum = 68616192;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +RDebugUtils.currentLine=68616194; + //BA.debugLineNum = 68616194;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +if (_key==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=68616196; + //BA.debugLineNum = 68616196;BA.debugLine="B4XPages.ShowPage(\"principal\")"; +_b4xpages._showpage /*String*/ (ba,"principal"); }; - //BA.debugLineNum = 158;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +RDebugUtils.currentLine=68616200; + //BA.debugLineNum = 68616200;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=68616201; + //BA.debugLineNum = 68616201;BA.debugLine="End Sub"; +return false; +} +public String _b_noventa_click(gunav2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "b_noventa_click", false)) + {return ((String) Debug.delegate(ba, "b_noventa_click", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; +RDebugUtils.currentLine=68747264; + //BA.debugLineNum = 68747264;BA.debugLine="Sub b_noventa_Click"; +RDebugUtils.currentLine=68747265; + //BA.debugLineNum = 68747265;BA.debugLine="If nombre_boton = \"NOVENTA\" Then"; +if ((__ref._nombre_boton /*String*/ ).equals("NOVENTA")) { +RDebugUtils.currentLine=68747266; + //BA.debugLineNum = 68747266;BA.debugLine="nombre_boton = \"VENTA\""; +__ref._nombre_boton /*String*/ = "VENTA"; +RDebugUtils.currentLine=68747267; + //BA.debugLineNum = 68747267;BA.debugLine="b_noventa.Text =\"VENTA\""; +__ref._b_noventa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("VENTA")); +RDebugUtils.currentLine=68747268; + //BA.debugLineNum = 68747268;BA.debugLine="L_ventanoventa.Text = \"Clientes sin venta\""; +__ref._l_ventanoventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Clientes sin venta")); +RDebugUtils.currentLine=68747269; + //BA.debugLineNum = 68747269;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select NV_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select NV_CLIENTE,NV_MOTIVO,NV_COMM, (select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = NV_CLIENTE ) as NOMBRE FROM NOVENTA ORDER BY NV_CLIENTE asc"))); +RDebugUtils.currentLine=68747270; + //BA.debugLineNum = 68747270;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=68747271; + //BA.debugLineNum = 68747271;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=68747272; + //BA.debugLineNum = 68747272;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step8 = 1; +final int limit8 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit8 ;_i = _i + step8 ) { +RDebugUtils.currentLine=68747273; + //BA.debugLineNum = 68747273;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=68747274; + //BA.debugLineNum = 68747274;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68747275; + //BA.debugLineNum = 68747275;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=68747276; + //BA.debugLineNum = 68747276;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=68747277; + //BA.debugLineNum = 68747277;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=68747278; + //BA.debugLineNum = 68747278;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68747279; + //BA.debugLineNum = 68747279;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=68747280; + //BA.debugLineNum = 68747280;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=68747281; + //BA.debugLineNum = 68747281;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=68747282; + //BA.debugLineNum = 68747282;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE")+" Motivo #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_MOTIVO")+" Comentario $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_COMM"))); + } +}; + }; + }else { +RDebugUtils.currentLine=68747286; + //BA.debugLineNum = 68747286;BA.debugLine="nombre_boton = \"NOVENTA\""; +__ref._nombre_boton /*String*/ = "NOVENTA"; +RDebugUtils.currentLine=68747287; + //BA.debugLineNum = 68747287;BA.debugLine="b_noventa.Text =\"NO VENTA\""; +__ref._b_noventa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("NO VENTA")); +RDebugUtils.currentLine=68747288; + //BA.debugLineNum = 68747288;BA.debugLine="L_ventanoventa.Text = \"Clientes con venta\""; +__ref._l_ventanoventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Clientes con venta")); +RDebugUtils.currentLine=68747289; + //BA.debugLineNum = 68747289;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=68747290; + //BA.debugLineNum = 68747290;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); +RDebugUtils.currentLine=68747293; + //BA.debugLineNum = 68747293;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=68747294; + //BA.debugLineNum = 68747294;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=68747295; + //BA.debugLineNum = 68747295;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step29 = 1; +final int limit29 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit29 ;_i = _i + step29 ) { +RDebugUtils.currentLine=68747296; + //BA.debugLineNum = 68747296;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=68747297; + //BA.debugLineNum = 68747297;BA.debugLine="Log(C.GetString(\"PC_CLIENTE\"))"; +__c.LogImpl("068747297",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),0); +RDebugUtils.currentLine=68747298; + //BA.debugLineNum = 68747298;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Ex"; +_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE = ? and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),"","null"}))); +RDebugUtils.currentLine=68747299; + //BA.debugLineNum = 68747299;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; +__c.LogImpl("068747299",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow); +RDebugUtils.currentLine=68747300; + //BA.debugLineNum = 68747300;BA.debugLine="If s3.RowCount > 0 Then"; +if (_s3.getRowCount()>0) { +RDebugUtils.currentLine=68747301; + //BA.debugLineNum = 68747301;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Ex"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL ) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),"","null"}))); +RDebugUtils.currentLine=68747302; + //BA.debugLineNum = 68747302;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=68747303; + //BA.debugLineNum = 68747303;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt"; +_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),"","null"}))); +RDebugUtils.currentLine=68747304; + //BA.debugLineNum = 68747304;BA.debugLine="s5.Position = 0"; +_s5.setPosition((int) (0)); +RDebugUtils.currentLine=68747305; + //BA.debugLineNum = 68747305;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68747306; + //BA.debugLineNum = 68747306;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=68747307; + //BA.debugLineNum = 68747307;BA.debugLine="label1.TextSize = 20"; +_label1.setTextSize((float) (20)); +RDebugUtils.currentLine=68747308; + //BA.debugLineNum = 68747308;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68747309; + //BA.debugLineNum = 68747309;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68747310; + //BA.debugLineNum = 68747310;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=68747311; + //BA.debugLineNum = 68747311;BA.debugLine="label2.TextSize = 20"; +_label2.setTextSize((float) (20)); +RDebugUtils.currentLine=68747312; + //BA.debugLineNum = 68747312;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68747313; + //BA.debugLineNum = 68747313;BA.debugLine="label1.Height = 25dip"; +_label1.setHeight(__c.DipToCurrent((int) (25))); +RDebugUtils.currentLine=68747314; + //BA.debugLineNum = 68747314;BA.debugLine="label2.Height = 60dip"; +_label2.setHeight(__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=68747316; + //BA.debugLineNum = 68747316;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=68747317; + //BA.debugLineNum = 68747317;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface"; +_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68747318; + //BA.debugLineNum = 68747318;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface"; +_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68747320; + //BA.debugLineNum = 68747320;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE")+" Cantidad #"+BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")))+(double)(Double.parseDouble(_s5.GetString("CANT_CLIE")))))+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")))); +RDebugUtils.currentLine=68747321; + //BA.debugLineNum = 68747321;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=68747322; + //BA.debugLineNum = 68747322;BA.debugLine="Else If s3.RowCount = 0 Then"; +if (_s3.getRowCount()==0) { +RDebugUtils.currentLine=68747323; + //BA.debugLineNum = 68747323;BA.debugLine="Log(s3.RowCount)"; +__c.LogImpl("068747323",BA.NumberToString(_s3.getRowCount()),0); +RDebugUtils.currentLine=68747324; + //BA.debugLineNum = 68747324;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Ex"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")}))); +RDebugUtils.currentLine=68747325; + //BA.debugLineNum = 68747325;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=68747327; + //BA.debugLineNum = 68747327;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68747328; + //BA.debugLineNum = 68747328;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=68747329; + //BA.debugLineNum = 68747329;BA.debugLine="label1.TextSize = 20"; +_label1.setTextSize((float) (20)); +RDebugUtils.currentLine=68747330; + //BA.debugLineNum = 68747330;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68747331; + //BA.debugLineNum = 68747331;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68747332; + //BA.debugLineNum = 68747332;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=68747333; + //BA.debugLineNum = 68747333;BA.debugLine="label2.TextSize = 20"; +_label2.setTextSize((float) (20)); +RDebugUtils.currentLine=68747334; + //BA.debugLineNum = 68747334;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68747335; + //BA.debugLineNum = 68747335;BA.debugLine="label1.Height = 25dip"; +_label1.setHeight(__c.DipToCurrent((int) (25))); +RDebugUtils.currentLine=68747336; + //BA.debugLineNum = 68747336;BA.debugLine="label2.Height = 60dip"; +_label2.setHeight(__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=68747338; + //BA.debugLineNum = 68747338;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=68747339; + //BA.debugLineNum = 68747339;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface"; +_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68747340; + //BA.debugLineNum = 68747340;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface"; +_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68747341; + //BA.debugLineNum = 68747341;BA.debugLine="Log(c.GetString(\"PC_CLIENTE\"))"; +__c.LogImpl("068747341",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),0); +RDebugUtils.currentLine=68747342; + //BA.debugLineNum = 68747342;BA.debugLine="Log(c.GetString(\"NOMBRE\"))"; +__c.LogImpl("068747342",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE"),0); +RDebugUtils.currentLine=68747343; + //BA.debugLineNum = 68747343;BA.debugLine="Log(s.GetString(\"CANT_CLIE\"))"; +__c.LogImpl("068747343",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE"),0); +RDebugUtils.currentLine=68747344; + //BA.debugLineNum = 68747344;BA.debugLine="Log(c.GetString(\"PC_CLIENTE\"))"; +__c.LogImpl("068747344",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),0); +RDebugUtils.currentLine=68747345; + //BA.debugLineNum = 68747345;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE")+" Cantidad #"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")))); +RDebugUtils.currentLine=68747346; + //BA.debugLineNum = 68747346;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; + } +}; + }; +RDebugUtils.currentLine=68747351; + //BA.debugLineNum = 68747351;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=68747353; + //BA.debugLineNum = 68747353;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(gunav2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=68485120; + //BA.debugLineNum = 68485120;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=68485121; + //BA.debugLineNum = 68485121;BA.debugLine="nombre_boton = \"NOVENTA\""; +__ref._nombre_boton /*String*/ = "NOVENTA"; +RDebugUtils.currentLine=68485122; + //BA.debugLineNum = 68485122;BA.debugLine="L_ventanoventa.Text = \"Clientes con venta\""; +__ref._l_ventanoventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Clientes con venta")); +RDebugUtils.currentLine=68485123; + //BA.debugLineNum = 68485123;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=68485124; + //BA.debugLineNum = 68485124;BA.debugLine="ListView1.Height = Root.Height * 0.70"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.70)); +RDebugUtils.currentLine=68485125; + //BA.debugLineNum = 68485125;BA.debugLine="p_ticketsdia.Height = Root.Height * 0.80"; +__ref._p_ticketsdia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.80)); +RDebugUtils.currentLine=68485126; + //BA.debugLineNum = 68485126;BA.debugLine="p_ticketsdia.Width = Root.Width * 0.90"; +__ref._p_ticketsdia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.90)); +RDebugUtils.currentLine=68485128; + //BA.debugLineNum = 68485128;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info3 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); +RDebugUtils.currentLine=68485131; + //BA.debugLineNum = 68485131;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=68485132; + //BA.debugLineNum = 68485132;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=68485133; + //BA.debugLineNum = 68485133;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step10 = 1; +final int limit10 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit10 ;_i = _i + step10 ) { +RDebugUtils.currentLine=68485134; + //BA.debugLineNum = 68485134;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=68485137; + //BA.debugLineNum = 68485137;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe"; +_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE = ? and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),"","null"}))); +RDebugUtils.currentLine=68485138; + //BA.debugLineNum = 68485138;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)"; +__c.LogImpl("068485138",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow); +RDebugUtils.currentLine=68485139; + //BA.debugLineNum = 68485139;BA.debugLine="If s3.RowCount > 0 Then"; +if (_s3.getRowCount()>0) { +RDebugUtils.currentLine=68485141; + //BA.debugLineNum = 68485141;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exe"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL ) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),"","null"}))); +RDebugUtils.currentLine=68485142; + //BA.debugLineNum = 68485142;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=68485143; + //BA.debugLineNum = 68485143;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt."; +_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE, IFNULL(SUM(PE_CANT),0) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ? and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"),"","null"}))); +RDebugUtils.currentLine=68485144; + //BA.debugLineNum = 68485144;BA.debugLine="s5.Position = 0"; +_s5.setPosition((int) (0)); +RDebugUtils.currentLine=68485149; + //BA.debugLineNum = 68485149;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68485150; + //BA.debugLineNum = 68485150;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=68485151; + //BA.debugLineNum = 68485151;BA.debugLine="label1.TextSize = 20"; +_label1.setTextSize((float) (20)); +RDebugUtils.currentLine=68485152; + //BA.debugLineNum = 68485152;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68485153; + //BA.debugLineNum = 68485153;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68485154; + //BA.debugLineNum = 68485154;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=68485155; + //BA.debugLineNum = 68485155;BA.debugLine="label2.TextSize = 20"; +_label2.setTextSize((float) (20)); +RDebugUtils.currentLine=68485156; + //BA.debugLineNum = 68485156;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68485157; + //BA.debugLineNum = 68485157;BA.debugLine="label1.Height = 25dip"; +_label1.setHeight(__c.DipToCurrent((int) (25))); +RDebugUtils.currentLine=68485158; + //BA.debugLineNum = 68485158;BA.debugLine="label2.Height = 60dip"; +_label2.setHeight(__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=68485160; + //BA.debugLineNum = 68485160;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=68485161; + //BA.debugLineNum = 68485161;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface."; +_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68485162; + //BA.debugLineNum = 68485162;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface."; +_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68485163; + //BA.debugLineNum = 68485163;BA.debugLine="Log(1)"; +__c.LogImpl("068485163",BA.NumberToString(1),0); +RDebugUtils.currentLine=68485165; + //BA.debugLineNum = 68485165;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE")+" Cantidad #"+BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")))+(double)(Double.parseDouble(_s5.GetString("CANT_CLIE")))))+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")))); +RDebugUtils.currentLine=68485166; + //BA.debugLineNum = 68485166;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=68485167; + //BA.debugLineNum = 68485167;BA.debugLine="Else If s3.RowCount = 0 Then"; +if (_s3.getRowCount()==0) { +RDebugUtils.currentLine=68485168; + //BA.debugLineNum = 68485168;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exe"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")}))); +RDebugUtils.currentLine=68485169; + //BA.debugLineNum = 68485169;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=68485171; + //BA.debugLineNum = 68485171;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68485172; + //BA.debugLineNum = 68485172;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=68485173; + //BA.debugLineNum = 68485173;BA.debugLine="label1.TextSize = 20"; +_label1.setTextSize((float) (20)); +RDebugUtils.currentLine=68485174; + //BA.debugLineNum = 68485174;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68485175; + //BA.debugLineNum = 68485175;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68485176; + //BA.debugLineNum = 68485176;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=68485177; + //BA.debugLineNum = 68485177;BA.debugLine="label2.TextSize = 20"; +_label2.setTextSize((float) (20)); +RDebugUtils.currentLine=68485178; + //BA.debugLineNum = 68485178;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68485179; + //BA.debugLineNum = 68485179;BA.debugLine="label1.Height = 25dip"; +_label1.setHeight(__c.DipToCurrent((int) (25))); +RDebugUtils.currentLine=68485180; + //BA.debugLineNum = 68485180;BA.debugLine="label2.Height = 60dip"; +_label2.setHeight(__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=68485182; + //BA.debugLineNum = 68485182;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=68485183; + //BA.debugLineNum = 68485183;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface."; +_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68485184; + //BA.debugLineNum = 68485184;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface."; +_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68485185; + //BA.debugLineNum = 68485185;BA.debugLine="Log(2)"; +__c.LogImpl("068485185",BA.NumberToString(2),0); +RDebugUtils.currentLine=68485186; + //BA.debugLineNum = 68485186;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE")+" Cantidad #"+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")))); +RDebugUtils.currentLine=68485187; + //BA.debugLineNum = 68485187;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; + } +}; + }; +RDebugUtils.currentLine=68485191; + //BA.debugLineNum = 68485191;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=68485192; + //BA.debugLineNum = 68485192;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(gunav2.keymon.com.mx.c_ticketsdia __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=68419584; + //BA.debugLineNum = 68419584;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=68419585; + //BA.debugLineNum = 68419585;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=68419587; + //BA.debugLineNum = 68419587;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=68419588; + //BA.debugLineNum = 68419588;BA.debugLine="Root.LoadLayout(\"ticketsdia\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("ticketsdia",ba); +RDebugUtils.currentLine=68419590; + //BA.debugLineNum = 68419590;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=68419591; + //BA.debugLineNum = 68419591;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + }; +RDebugUtils.currentLine=68419593; + //BA.debugLineNum = 68419593;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); +RDebugUtils.currentLine=68419594; + //BA.debugLineNum = 68419594;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=68419595; + //BA.debugLineNum = 68419595;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=68419596; + //BA.debugLineNum = 68419596;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step10 = 1; +final int limit10 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit10 ;_i = _i + step10 ) { +RDebugUtils.currentLine=68419597; + //BA.debugLineNum = 68419597;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=68419598; + //BA.debugLineNum = 68419598;BA.debugLine="Dim Label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68419599; + //BA.debugLineNum = 68419599;BA.debugLine="Label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=68419600; + //BA.debugLineNum = 68419600;BA.debugLine="Label1.TextSize = 20"; +_label1.setTextSize((float) (20)); +RDebugUtils.currentLine=68419601; + //BA.debugLineNum = 68419601;BA.debugLine="Label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68419602; + //BA.debugLineNum = 68419602;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68419603; + //BA.debugLineNum = 68419603;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=68419604; + //BA.debugLineNum = 68419604;BA.debugLine="label2.TextSize = 20"; +_label2.setTextSize((float) (20)); +RDebugUtils.currentLine=68419605; + //BA.debugLineNum = 68419605;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=68419606; + //BA.debugLineNum = 68419606;BA.debugLine="Label1.Height = 25dip"; +_label1.setHeight(__c.DipToCurrent((int) (25))); +RDebugUtils.currentLine=68419607; + //BA.debugLineNum = 68419607;BA.debugLine="label2.Height = 60dip"; +_label2.setHeight(__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=68419609; + //BA.debugLineNum = 68419609;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 95dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (95))); +RDebugUtils.currentLine=68419610; + //BA.debugLineNum = 68419610;BA.debugLine="Label1.Typeface = Typeface.CreateNew(Typeface.D"; +_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68419611; + //BA.debugLineNum = 68419611;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.D"; +_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD)); +RDebugUtils.currentLine=68419612; + //BA.debugLineNum = 68419612;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),BA.ObjectToCharSequence("Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")))); + } +}; + }; +RDebugUtils.currentLine=68419615; + //BA.debugLineNum = 68419615;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +RDebugUtils.currentLine=68288512; + //BA.debugLineNum = 68288512;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=68288513; + //BA.debugLineNum = 68288513;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=68288514; + //BA.debugLineNum = 68288514;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=68288515; + //BA.debugLineNum = 68288515;BA.debugLine="Private p_ticketsdia As Panel"; +_p_ticketsdia = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=68288517; + //BA.debugLineNum = 68288517;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=68288518; + //BA.debugLineNum = 68288518;BA.debugLine="Dim S As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=68288519; + //BA.debugLineNum = 68288519;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=68288520; + //BA.debugLineNum = 68288520;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=68288521; + //BA.debugLineNum = 68288521;BA.debugLine="Dim b_noventa As Button"; +_b_noventa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=68288522; + //BA.debugLineNum = 68288522;BA.debugLine="Dim nombre_boton As String"; +_nombre_boton = ""; +RDebugUtils.currentLine=68288523; + //BA.debugLineNum = 68288523;BA.debugLine="Dim STIME As String"; +_stime = ""; +RDebugUtils.currentLine=68288525; + //BA.debugLineNum = 68288525;BA.debugLine="Private L_ventanoventa As Label"; +_l_ventanoventa = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=68288526; + //BA.debugLineNum = 68288526;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(gunav2.keymon.com.mx.c_ticketsdia __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=68681728; + //BA.debugLineNum = 68681728;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=68681729; + //BA.debugLineNum = 68681729;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=68681730; + //BA.debugLineNum = 68681730;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=68681731; + //BA.debugLineNum = 68681731;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=68681732; + //BA.debugLineNum = 68681732;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=68681733; + //BA.debugLineNum = 68681733;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT("; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)"))); +RDebugUtils.currentLine=68681734; + //BA.debugLineNum = 68681734;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=68681735; + //BA.debugLineNum = 68681735;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=68681736; + //BA.debugLineNum = 68681736;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); + }else { +RDebugUtils.currentLine=68681738; + //BA.debugLineNum = 68681738;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=68681739; + //BA.debugLineNum = 68681739;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); + }; +RDebugUtils.currentLine=68681741; + //BA.debugLineNum = 68681741;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 159;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +RDebugUtils.currentLine=68681742; + //BA.debugLineNum = 68681742;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; _b4xpages._showpage /*String*/ (ba,"cliente"); - //BA.debugLineNum = 160;BA.debugLine="End Sub"; +RDebugUtils.currentLine=68681743; + //BA.debugLineNum = 68681743;BA.debugLine="End Sub"; return ""; } -public String _p_ticketsdia_click() throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Private Sub p_ticketsdia_Click"; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +public String _p_ticketsdia_click(gunav2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "p_ticketsdia_click", false)) + {return ((String) Debug.delegate(ba, "p_ticketsdia_click", null));} +RDebugUtils.currentLine=68812800; + //BA.debugLineNum = 68812800;BA.debugLine="Private Sub p_ticketsdia_Click"; +RDebugUtils.currentLine=68812802; + //BA.debugLineNum = 68812802;BA.debugLine="End Sub"; return ""; } -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 133;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +public String _regresar_click(gunav2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=68550656; + //BA.debugLineNum = 68550656;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=68550657; + //BA.debugLineNum = 68550657;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; _b4xpages._showpage /*String*/ (ba,"cliente"); - //BA.debugLineNum = 134;BA.debugLine="End Sub"; +RDebugUtils.currentLine=68550658; + //BA.debugLineNum = 68550658;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_updateavailable.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_updateavailable.java index 951d4b8..04fc09a 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/c_updateavailable.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_updateavailable.java @@ -10,7 +10,7 @@ public class c_updateavailable extends B4AClass.ImplB4AClass implements BA.SubDe private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_updateavailable"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.c_updateavailable"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class c_updateavailable extends B4AClass.ImplB4AClass implements BA.SubDe ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; @@ -31,28 +38,50 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); +public Object _initialize(gunav2.keymon.com.mx.c_updateavailable __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=80216064; + //BA.debugLineNum = 80216064;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=80216065; + //BA.debugLineNum = 80216065;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=80216066; + //BA.debugLineNum = 80216066;BA.debugLine="End Sub"; +return null; +} +public void _b4xpage_appear(gunav2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_updateavailable parent) { +public ResumableSub_B4XPage_Appear(gunav2.keymon.com.mx.c_updateavailable parent,gunav2.keymon.com.mx.c_updateavailable __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.c_updateavailable __ref; gunav2.keymon.com.mx.c_updateavailable parent; int _result = 0; anywheresoftware.b4a.objects.IntentWrapper _in = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_updateavailable"; while (true) { try { @@ -64,7 +93,8 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 19;BA.debugLine="Try"; +RDebugUtils.currentLine=80347137; + //BA.debugLineNum = 80347137;BA.debugLine="Try"; if (true) break; case 1: @@ -78,13 +108,14 @@ case 3: //C this.state = 4; this.catchState = 9; - //BA.debugLineNum = 20;BA.debugLine="Do While Not(CanRequestPackageInstalls)"; +RDebugUtils.currentLine=80347138; + //BA.debugLineNum = 80347138;BA.debugLine="Do While Not(CanRequestPackageInstalls)"; if (true) break; case 4: //do while this.state = 7; -while (parent.__c.Not(parent._canrequestpackageinstalls())) { +while (parent.__c.Not(__ref._canrequestpackageinstalls /*boolean*/ (null))) { this.state = 6; if (true) break; } @@ -93,22 +124,27 @@ if (true) break; case 6: //C this.state = 4; - //BA.debugLineNum = 21;BA.debugLine="MsgboxAsync($\"Por favor permita que ${Applicati"; +RDebugUtils.currentLine=80347139; + //BA.debugLineNum = 80347139;BA.debugLine="MsgboxAsync($\"Por favor permita que ${Applicati"; parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("Por favor permita que "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.Application.getPackageName()))+" instale actualizaciones")),BA.ObjectToCharSequence("Instalar actualización"),ba); - //BA.debugLineNum = 22;BA.debugLine="Wait For Msgbox_Result(Result As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); +RDebugUtils.currentLine=80347140; + //BA.debugLineNum = 80347140;BA.debugLine="Wait For Msgbox_Result(Result As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_updateavailable", "b4xpage_appear"), null); this.state = 16; return; case 16: //C this.state = 4; -_result = (Integer) result[0]; +_result = (Integer) result[1]; ; - //BA.debugLineNum = 23;BA.debugLine="Dim in As Intent"; +RDebugUtils.currentLine=80347141; + //BA.debugLineNum = 80347141;BA.debugLine="Dim in As Intent"; _in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 24;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; +RDebugUtils.currentLine=80347142; + //BA.debugLineNum = 80347142;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; _in.Initialize("android.settings.MANAGE_UNKNOWN_APP_SOURCES","package:"+parent.__c.Application.getPackageName()); - //BA.debugLineNum = 25;BA.debugLine="StartActivity(in)"; +RDebugUtils.currentLine=80347143; + //BA.debugLineNum = 80347143;BA.debugLine="StartActivity(in)"; parent.__c.StartActivity(ba,(Object)(_in.getObject())); if (true) break; @@ -122,12 +158,14 @@ case 9: //C this.state = 10; this.catchState = 0; - //BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; -parent.__c.LogImpl("478381066","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); +RDebugUtils.currentLine=80347146; + //BA.debugLineNum = 80347146;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; +parent.__c.LogImpl("080347146","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); if (true) break; if (true) break; ; - //BA.debugLineNum = 30;BA.debugLine="If appUpdater.newApp.update Then"; +RDebugUtils.currentLine=80347148; + //BA.debugLineNum = 80347148;BA.debugLine="If appUpdater.newApp.update Then"; case 10: //if @@ -142,22 +180,25 @@ this.state = 14; case 12: //C this.state = 15; - //BA.debugLineNum = 31;BA.debugLine="ofreceActualizacion"; -parent._ofreceactualizacion(); +RDebugUtils.currentLine=80347149; + //BA.debugLineNum = 80347149;BA.debugLine="ofreceActualizacion"; +__ref._ofreceactualizacion /*String*/ (null); if (true) break; case 14: //C this.state = 15; - //BA.debugLineNum = 33;BA.debugLine="sinActualizacion"; -parent._sinactualizacion(); +RDebugUtils.currentLine=80347151; + //BA.debugLineNum = 80347151;BA.debugLine="sinActualizacion"; +__ref._sinactualizacion /*String*/ (null); if (true) break; case 15: //C this.state = -1; ; - //BA.debugLineNum = 35;BA.debugLine="End Sub"; +RDebugUtils.currentLine=80347153; + //BA.debugLineNum = 80347153;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -171,79 +212,106 @@ ba.setLastException(e0);} } } } -public void _msgbox_result(int _result) throws Exception{ -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 15;BA.debugLine="Root.Color = Colors.Transparent"; -_root.setColor(__c.Colors.Transparent); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public boolean _canrequestpackageinstalls() throws Exception{ +public boolean _canrequestpackageinstalls(gunav2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "canrequestpackageinstalls", false)) + {return ((Boolean) Debug.delegate(ba, "canrequestpackageinstalls", null));} anywheresoftware.b4j.object.JavaObject _ctxt = null; anywheresoftware.b4j.object.JavaObject _packagemanager = null; - //BA.debugLineNum = 42;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; - //BA.debugLineNum = 44;BA.debugLine="Dim ctxt As JavaObject"; +RDebugUtils.currentLine=80412672; + //BA.debugLineNum = 80412672;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; +RDebugUtils.currentLine=80412674; + //BA.debugLineNum = 80412674;BA.debugLine="Dim ctxt As JavaObject"; _ctxt = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 45;BA.debugLine="ctxt.InitializeContext"; +RDebugUtils.currentLine=80412675; + //BA.debugLineNum = 80412675;BA.debugLine="ctxt.InitializeContext"; _ctxt.InitializeContext(ba); - //BA.debugLineNum = 46;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; +RDebugUtils.currentLine=80412676; + //BA.debugLineNum = 80412676;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; _packagemanager = new anywheresoftware.b4j.object.JavaObject(); _packagemanager = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_ctxt.RunMethod("getPackageManager",(Object[])(__c.Null)))); - //BA.debugLineNum = 47;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +RDebugUtils.currentLine=80412677; + //BA.debugLineNum = 80412677;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +RDebugUtils.currentLine=80412678; + //BA.debugLineNum = 80412678;BA.debugLine="End Sub"; return false; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return null; -} -public String _ofreceactualizacion() throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Sub ofreceActualizacion"; - //BA.debugLineNum = 51;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; +public String _ofreceactualizacion(gunav2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "ofreceactualizacion", false)) + {return ((String) Debug.delegate(ba, "ofreceactualizacion", null));} +RDebugUtils.currentLine=80478208; + //BA.debugLineNum = 80478208;BA.debugLine="Sub ofreceActualizacion"; +RDebugUtils.currentLine=80478209; + //BA.debugLineNum = 80478209;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; if (__c.Msgbox2(BA.ObjectToCharSequence(_appupdater._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .newMsg /*String*/ ),BA.ObjectToCharSequence("Actualización disponible"),"Si","","No",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { - //BA.debugLineNum = 53;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +RDebugUtils.currentLine=80478211; + //BA.debugLineNum = 80478211;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; __c.CallSubDelayed(ba,(Object)(_appupdater.getObject()),"download_newApk"); }; - //BA.debugLineNum = 55;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 57;BA.debugLine="StartActivity(Main)"; +RDebugUtils.currentLine=80478213; + //BA.debugLineNum = 80478213;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=80478215; + //BA.debugLineNum = 80478215;BA.debugLine="StartActivity(Main)"; __c.StartActivity(ba,(Object)(_main.getObject())); - //BA.debugLineNum = 61;BA.debugLine="End Sub"; +RDebugUtils.currentLine=80478219; + //BA.debugLineNum = 80478219;BA.debugLine="End Sub"; return ""; } -public String _sinactualizacion() throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Sub sinActualizacion"; - //BA.debugLineNum = 69;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al c"; +public String _sinactualizacion(gunav2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "sinactualizacion", false)) + {return ((String) Debug.delegate(ba, "sinactualizacion", null));} +RDebugUtils.currentLine=80543744; + //BA.debugLineNum = 80543744;BA.debugLine="Sub sinActualizacion"; +RDebugUtils.currentLine=80543750; + //BA.debugLineNum = 80543750;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al c"; __c.Msgbox(BA.ObjectToCharSequence(_appupdater._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .okMsg /*String*/ ),BA.ObjectToCharSequence("Aplicación al corriente"),ba); - //BA.debugLineNum = 74;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 78;BA.debugLine="B4XPages.ShowPage(\"login\")"; +RDebugUtils.currentLine=80543755; + //BA.debugLineNum = 80543755;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=80543759; + //BA.debugLineNum = 80543759;BA.debugLine="B4XPages.ShowPage(\"login\")"; _b4xpages._showpage /*String*/ (ba,"login"); - //BA.debugLineNum = 79;BA.debugLine="End Sub"; +RDebugUtils.currentLine=80543760; + //BA.debugLineNum = 80543760;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; +public String _b4xpage_created(gunav2.keymon.com.mx.c_updateavailable __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=80281600; + //BA.debugLineNum = 80281600;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=80281601; + //BA.debugLineNum = 80281601;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=80281603; + //BA.debugLineNum = 80281603;BA.debugLine="Root.Color = Colors.Transparent"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__c.Colors.Transparent); +RDebugUtils.currentLine=80281604; + //BA.debugLineNum = 80281604;BA.debugLine="End Sub"; +return ""; } +public String _class_globals(gunav2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +RDebugUtils.currentLine=80150528; + //BA.debugLineNum = 80150528;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=80150529; + //BA.debugLineNum = 80150529;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=80150530; + //BA.debugLineNum = 80150530;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=80150531; + //BA.debugLineNum = 80150531;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/cameraexclass.java b/B4A/Objects/src/gunav2/keymon/com/mx/cameraexclass.java index 3d4a123..627e115 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/cameraexclass.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/cameraexclass.java @@ -10,7 +10,7 @@ public class cameraexclass extends B4AClass.ImplB4AClass implements BA.SubDelega private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.cameraexclass"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.cameraexclass"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,27 +23,13 @@ public class cameraexclass extends B4AClass.ImplB4AClass implements BA.SubDelega ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public Object _nativecam = null; -public anywheresoftware.b4a.objects.CameraW _cam = null; -public anywheresoftware.b4a.agraham.reflection.Reflection _r = null; -public Object _target = null; -public String _event = ""; -public boolean _front = false; -public Object _parameters = null; -public b4a.example.dateutils _dateutils = null; -public gunav2.keymon.com.mx.main _main = null; -public gunav2.keymon.com.mx.starter _starter = null; -public gunav2.keymon.com.mx.subs _subs = null; -public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; -public gunav2.keymon.com.mx.newinst2 _newinst2 = null; -public gunav2.keymon.com.mx.b4xpages _b4xpages = null; -public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; -public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _camerainfoandid{ public boolean IsInitialized; public Object CameraInfo; @@ -70,281 +56,737 @@ Height = 0; public String toString() { return BA.TypeToString(this, false); }} -public String _camera_focusdone(boolean _success) throws Exception{ - //BA.debugLineNum = 275;BA.debugLine="Private Sub Camera_FocusDone (Success As Boolean)"; - //BA.debugLineNum = 276;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 277;BA.debugLine="TakePicture"; -_takepicture(); +public anywheresoftware.b4a.keywords.Common __c = null; +public Object _nativecam = null; +public anywheresoftware.b4a.objects.CameraW _cam = null; +public anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +public Object _target = null; +public String _event = ""; +public boolean _front = false; +public Object _parameters = null; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _takepicture(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "takepicture", false)) + {return ((String) Debug.delegate(ba, "takepicture", null));} +RDebugUtils.currentLine=81002496; + //BA.debugLineNum = 81002496;BA.debugLine="Public Sub TakePicture"; +RDebugUtils.currentLine=81002497; + //BA.debugLineNum = 81002497;BA.debugLine="cam.TakePicture"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .TakePicture(); +RDebugUtils.currentLine=81002498; + //BA.debugLineNum = 81002498;BA.debugLine="End Sub"; +return ""; +} +public String _savepicturetofile(gunav2.keymon.com.mx.cameraexclass __ref,byte[] _data,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "savepicturetofile", false)) + {return ((String) Debug.delegate(ba, "savepicturetofile", new Object[] {_data,_dir,_filename}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=81330176; + //BA.debugLineNum = 81330176;BA.debugLine="Public Sub SavePictureToFile(Data() As Byte, Dir A"; +RDebugUtils.currentLine=81330177; + //BA.debugLineNum = 81330177;BA.debugLine="Dim out As OutputStream = File.OpenOutput(Dir, Fi"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = __c.File.OpenOutput(_dir,_filename,__c.False); +RDebugUtils.currentLine=81330178; + //BA.debugLineNum = 81330178;BA.debugLine="out.WriteBytes(Data, 0, Data.Length)"; +_out.WriteBytes(_data,(int) (0),_data.length); +RDebugUtils.currentLine=81330179; + //BA.debugLineNum = 81330179;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=81330180; + //BA.debugLineNum = 81330180;BA.debugLine="End Sub"; +return ""; +} +public String _startpreview(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "startpreview", false)) + {return ((String) Debug.delegate(ba, "startpreview", null));} +RDebugUtils.currentLine=81133568; + //BA.debugLineNum = 81133568;BA.debugLine="Public Sub StartPreview"; +RDebugUtils.currentLine=81133569; + //BA.debugLineNum = 81133569;BA.debugLine="cam.StartPreview"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .StartPreview(); +RDebugUtils.currentLine=81133570; + //BA.debugLineNum = 81133570;BA.debugLine="End Sub"; +return ""; +} +public String _setjpegquality(gunav2.keymon.com.mx.cameraexclass __ref,int _quality) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setjpegquality", false)) + {return ((String) Debug.delegate(ba, "setjpegquality", new Object[] {_quality}));} +RDebugUtils.currentLine=81854464; + //BA.debugLineNum = 81854464;BA.debugLine="Public Sub SetJpegQuality(Quality As Int)"; +RDebugUtils.currentLine=81854465; + //BA.debugLineNum = 81854465;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=81854466; + //BA.debugLineNum = 81854466;BA.debugLine="r.RunMethod2(\"setJpegQuality\", Quality, \"java.lan"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setJpegQuality",BA.NumberToString(_quality),"java.lang.int"); +RDebugUtils.currentLine=81854467; + //BA.debugLineNum = 81854467;BA.debugLine="End Sub"; +return ""; +} +public String _setcontinuousautofocus(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setcontinuousautofocus", false)) + {return ((String) Debug.delegate(ba, "setcontinuousautofocus", null));} +anywheresoftware.b4a.objects.collections.List _modes = null; +RDebugUtils.currentLine=82444288; + //BA.debugLineNum = 82444288;BA.debugLine="Public Sub SetContinuousAutoFocus"; +RDebugUtils.currentLine=82444289; + //BA.debugLineNum = 82444289;BA.debugLine="Dim modes As List = GetSupportedFocusModes"; +_modes = new anywheresoftware.b4a.objects.collections.List(); +_modes = __ref._getsupportedfocusmodes /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=82444290; + //BA.debugLineNum = 82444290;BA.debugLine="If modes.IndexOf(\"continuous-picture\") > -1 Th"; +if (_modes.IndexOf((Object)("continuous-picture"))>-1) { +RDebugUtils.currentLine=82444291; + //BA.debugLineNum = 82444291;BA.debugLine="SetFocusMode(\"continuous-picture\")"; +__ref._setfocusmode /*String*/ (null,"continuous-picture"); + }else +{RDebugUtils.currentLine=82444292; + //BA.debugLineNum = 82444292;BA.debugLine="Else If modes.IndexOf(\"continuous-video\") > -1"; +if (_modes.IndexOf((Object)("continuous-video"))>-1) { +RDebugUtils.currentLine=82444293; + //BA.debugLineNum = 82444293;BA.debugLine="SetFocusMode(\"continuous-video\")"; +__ref._setfocusmode /*String*/ (null,"continuous-video"); }else { - //BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")"; -__c.LogImpl("480805892","AutoFocus error.",0); - }; - //BA.debugLineNum = 281;BA.debugLine="End Sub"; -return ""; -} -public String _camera_picturetaken(byte[] _data) throws Exception{ - //BA.debugLineNum = 104;BA.debugLine="Private Sub Camera_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 105;BA.debugLine="CallSub2(target, event & \"_PictureTaken\", Data)"; -__c.CallSubNew2(ba,_target,_event+"_PictureTaken",(Object)(_data)); - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return ""; -} -public String _camera_preview(byte[] _data) throws Exception{ - //BA.debugLineNum = 95;BA.debugLine="Sub Camera_Preview (Data() As Byte)"; - //BA.debugLineNum = 96;BA.debugLine="If SubExists(target, event & \"_preview\") Then"; -if (__c.SubExists(ba,_target,_event+"_preview")) { - //BA.debugLineNum = 97;BA.debugLine="CallSub2(target, event & \"_preview\", Data)"; -__c.CallSubNew2(ba,_target,_event+"_preview",(Object)(_data)); - }; - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return ""; -} -public String _camera_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 82;BA.debugLine="Private Sub Camera_Ready (Success As Boolean)"; - //BA.debugLineNum = 83;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 84;BA.debugLine="r.target = cam"; -_r.Target = (Object)(_cam); - //BA.debugLineNum = 85;BA.debugLine="nativeCam = r.GetField(\"camera\")"; -_nativecam = _r.GetField("camera"); - //BA.debugLineNum = 86;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 87;BA.debugLine="parameters = r.RunMethod(\"getParameters\")"; -_parameters = _r.RunMethod("getParameters"); - //BA.debugLineNum = 88;BA.debugLine="SetDisplayOrientation"; -_setdisplayorientation(); - }else { - //BA.debugLineNum = 90;BA.debugLine="Log(\"success = false, \" & LastException)"; -__c.LogImpl("478905352","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); - }; - //BA.debugLineNum = 92;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; -__c.CallSubNew2(ba,_target,_event+"_ready",(Object)(_success)); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private nativeCam As Object"; -_nativecam = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Private cam As Camera"; -_cam = new anywheresoftware.b4a.objects.CameraW(); - //BA.debugLineNum = 10;BA.debugLine="Private r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 11;BA.debugLine="Private target As Object"; -_target = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Private event As String"; -_event = ""; - //BA.debugLineNum = 13;BA.debugLine="Public Front As Boolean"; -_front = false; - //BA.debugLineNum = 14;BA.debugLine="Type CameraInfoAndId (CameraInfo As Object, Id As"; +RDebugUtils.currentLine=82444295; + //BA.debugLineNum = 82444295;BA.debugLine="Log(\"Continuous focus mode is not availabl"; +__c.LogImpl("082444295","Continuous focus mode is not available",0); + }} ; - //BA.debugLineNum = 15;BA.debugLine="Type CameraSize (Width As Int, Height As Int)"; -; - //BA.debugLineNum = 16;BA.debugLine="Private parameters As Object"; -_parameters = new Object(); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +RDebugUtils.currentLine=82444297; + //BA.debugLineNum = 82444297;BA.debugLine="End Sub"; return ""; } -public String _closenow() throws Exception{ - //BA.debugLineNum = 266;BA.debugLine="Public Sub CloseNow"; - //BA.debugLineNum = 267;BA.debugLine="cam.Release"; -_cam.Release(); - //BA.debugLineNum = 268;BA.debugLine="r.target = cam"; -_r.Target = (Object)(_cam); - //BA.debugLineNum = 269;BA.debugLine="r.RunMethod2(\"releaseCameras\", True, \"java.lang.b"; -_r.RunMethod2("releaseCameras",BA.ObjectToString(__c.True),"java.lang.boolean"); - //BA.debugLineNum = 270;BA.debugLine="End Sub"; -return ""; -} -public String _commitparameters() throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Public Sub CommitParameters"; - //BA.debugLineNum = 138;BA.debugLine="Try"; -try { //BA.debugLineNum = 139;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 140;BA.debugLine="r.RunMethod4(\"setParameters\", Array As Object(pa"; -_r.RunMethod4("setParameters",new Object[]{_parameters},new String[]{"android.hardware.Camera$Parameters"}); +public String _commitparameters(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "commitparameters", false)) + {return ((String) Debug.delegate(ba, "commitparameters", null));} +RDebugUtils.currentLine=81526784; + //BA.debugLineNum = 81526784;BA.debugLine="Public Sub CommitParameters"; +RDebugUtils.currentLine=81526785; + //BA.debugLineNum = 81526785;BA.debugLine="Try"; +try {RDebugUtils.currentLine=81526786; + //BA.debugLineNum = 81526786;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=81526787; + //BA.debugLineNum = 81526787;BA.debugLine="r.RunMethod4(\"setParameters\", Array As Object(pa"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod4("setParameters",new Object[]{__ref._parameters /*Object*/ },new String[]{"android.hardware.Camera$Parameters"}); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 142;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr"; + ba.setLastException(e5);RDebugUtils.currentLine=81526789; + //BA.debugLineNum = 81526789;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr"; __c.ToastMessageShow(BA.ObjectToCharSequence("Error setting parameters."),__c.True); - //BA.debugLineNum = 143;BA.debugLine="Log(LastException)"; -__c.LogImpl("479560710",BA.ObjectToString(__c.LastException(ba)),0); +RDebugUtils.currentLine=81526790; + //BA.debugLineNum = 81526790;BA.debugLine="Log(LastException)"; +__c.LogImpl("081526790",BA.ObjectToString(__c.LastException(ba)),0); }; - //BA.debugLineNum = 145;BA.debugLine="End Sub"; +RDebugUtils.currentLine=81526792; + //BA.debugLineNum = 81526792;BA.debugLine="End Sub"; return ""; } -public gunav2.keymon.com.mx.cameraexclass._camerainfoandid _findcamera(boolean _frontcamera) throws Exception{ +public gunav2.keymon.com.mx.cameraexclass._camerasize _getpreviewsize(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getpreviewsize", false)) + {return ((gunav2.keymon.com.mx.cameraexclass._camerasize) Debug.delegate(ba, "getpreviewsize", null));} +gunav2.keymon.com.mx.cameraexclass._camerasize _cs = null; +RDebugUtils.currentLine=82182144; + //BA.debugLineNum = 82182144;BA.debugLine="Public Sub GetPreviewSize As CameraSize"; +RDebugUtils.currentLine=82182145; + //BA.debugLineNum = 82182145;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=82182146; + //BA.debugLineNum = 82182146;BA.debugLine="r.target = r.RunMethod(\"getPreviewSize\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPreviewSize"); +RDebugUtils.currentLine=82182147; + //BA.debugLineNum = 82182147;BA.debugLine="Dim cs As CameraSize"; +_cs = new gunav2.keymon.com.mx.cameraexclass._camerasize(); +RDebugUtils.currentLine=82182148; + //BA.debugLineNum = 82182148;BA.debugLine="cs.Width = r.GetField(\"width\")"; +_cs.Width /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +RDebugUtils.currentLine=82182149; + //BA.debugLineNum = 82182149;BA.debugLine="cs.Height = r.GetField(\"height\")"; +_cs.Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); +RDebugUtils.currentLine=82182150; + //BA.debugLineNum = 82182150;BA.debugLine="Return cs"; +if (true) return _cs; +RDebugUtils.currentLine=82182151; + //BA.debugLineNum = 82182151;BA.debugLine="End Sub"; +return null; +} +public String _initialize(gunav2.keymon.com.mx.cameraexclass __ref,anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _panel1,boolean _frontcamera,Object _targetmodule,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_panel1,_frontcamera,_targetmodule,_eventname}));} +int _id = 0; +RDebugUtils.currentLine=80674816; + //BA.debugLineNum = 80674816;BA.debugLine="Public Sub Initialize (Panel1 As Panel, FrontCamer"; +RDebugUtils.currentLine=80674817; + //BA.debugLineNum = 80674817;BA.debugLine="target = TargetModule"; +__ref._target /*Object*/ = _targetmodule; +RDebugUtils.currentLine=80674818; + //BA.debugLineNum = 80674818;BA.debugLine="event = EventName"; +__ref._event /*String*/ = _eventname; +RDebugUtils.currentLine=80674819; + //BA.debugLineNum = 80674819;BA.debugLine="Front = FrontCamera"; +__ref._front /*boolean*/ = _frontcamera; +RDebugUtils.currentLine=80674820; + //BA.debugLineNum = 80674820;BA.debugLine="Dim id As Int"; +_id = 0; +RDebugUtils.currentLine=80674821; + //BA.debugLineNum = 80674821;BA.debugLine="id = FindCamera(Front).id"; +_id = __ref._findcamera /*gunav2.keymon.com.mx.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ).Id /*int*/ ; +RDebugUtils.currentLine=80674822; + //BA.debugLineNum = 80674822;BA.debugLine="If id = -1 Then"; +if (_id==-1) { +RDebugUtils.currentLine=80674823; + //BA.debugLineNum = 80674823;BA.debugLine="Front = Not(Front) 'try different camera"; +__ref._front /*boolean*/ = __c.Not(__ref._front /*boolean*/ ); +RDebugUtils.currentLine=80674824; + //BA.debugLineNum = 80674824;BA.debugLine="id = FindCamera(Front).id"; +_id = __ref._findcamera /*gunav2.keymon.com.mx.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ).Id /*int*/ ; +RDebugUtils.currentLine=80674825; + //BA.debugLineNum = 80674825;BA.debugLine="If id = -1 Then"; +if (_id==-1) { +RDebugUtils.currentLine=80674826; + //BA.debugLineNum = 80674826;BA.debugLine="ToastMessageShow(\"No camera found.\", True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No camera found."),__c.True); +RDebugUtils.currentLine=80674827; + //BA.debugLineNum = 80674827;BA.debugLine="Return"; +if (true) return ""; + }; + }; +RDebugUtils.currentLine=80674830; + //BA.debugLineNum = 80674830;BA.debugLine="cam.Initialize2(Panel1, \"camera\", id)"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Initialize2(ba,(android.view.ViewGroup)(_panel1.getObject()),"camera",_id); +RDebugUtils.currentLine=80674831; + //BA.debugLineNum = 80674831;BA.debugLine="End Sub"; +return ""; +} +public String _release(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "release", false)) + {return ((String) Debug.delegate(ba, "release", null));} +RDebugUtils.currentLine=81264640; + //BA.debugLineNum = 81264640;BA.debugLine="Public Sub Release"; +RDebugUtils.currentLine=81264641; + //BA.debugLineNum = 81264641;BA.debugLine="cam.Release"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Release(); +RDebugUtils.currentLine=81264642; + //BA.debugLineNum = 81264642;BA.debugLine="End Sub"; +return ""; +} +public String _camera_focusdone(gunav2.keymon.com.mx.cameraexclass __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "camera_focusdone", false)) + {return ((String) Debug.delegate(ba, "camera_focusdone", new Object[] {_success}));} +RDebugUtils.currentLine=82771968; + //BA.debugLineNum = 82771968;BA.debugLine="Private Sub Camera_FocusDone (Success As Boolean)"; +RDebugUtils.currentLine=82771969; + //BA.debugLineNum = 82771969;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=82771970; + //BA.debugLineNum = 82771970;BA.debugLine="TakePicture"; +__ref._takepicture /*String*/ (null); + }else { +RDebugUtils.currentLine=82771972; + //BA.debugLineNum = 82771972;BA.debugLine="Log(\"AutoFocus error.\")"; +__c.LogImpl("082771972","AutoFocus error.",0); + }; +RDebugUtils.currentLine=82771974; + //BA.debugLineNum = 82771974;BA.debugLine="End Sub"; +return ""; +} +public String _camera_picturetaken(gunav2.keymon.com.mx.cameraexclass __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "camera_picturetaken", false)) + {return ((String) Debug.delegate(ba, "camera_picturetaken", new Object[] {_data}));} +RDebugUtils.currentLine=81068032; + //BA.debugLineNum = 81068032;BA.debugLine="Private Sub Camera_PictureTaken (Data() As Byte)"; +RDebugUtils.currentLine=81068033; + //BA.debugLineNum = 81068033;BA.debugLine="CallSub2(target, event & \"_PictureTaken\", Data)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_PictureTaken",(Object)(_data)); +RDebugUtils.currentLine=81068034; + //BA.debugLineNum = 81068034;BA.debugLine="End Sub"; +return ""; +} +public String _camera_preview(gunav2.keymon.com.mx.cameraexclass __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "camera_preview", false)) + {return ((String) Debug.delegate(ba, "camera_preview", new Object[] {_data}));} +RDebugUtils.currentLine=80936960; + //BA.debugLineNum = 80936960;BA.debugLine="Sub Camera_Preview (Data() As Byte)"; +RDebugUtils.currentLine=80936961; + //BA.debugLineNum = 80936961;BA.debugLine="If SubExists(target, event & \"_preview\") Then"; +if (__c.SubExists(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_preview")) { +RDebugUtils.currentLine=80936962; + //BA.debugLineNum = 80936962;BA.debugLine="CallSub2(target, event & \"_preview\", Data)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_preview",(Object)(_data)); + }; +RDebugUtils.currentLine=80936964; + //BA.debugLineNum = 80936964;BA.debugLine="End Sub"; +return ""; +} +public String _camera_ready(gunav2.keymon.com.mx.cameraexclass __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "camera_ready", false)) + {return ((String) Debug.delegate(ba, "camera_ready", new Object[] {_success}));} +RDebugUtils.currentLine=80871424; + //BA.debugLineNum = 80871424;BA.debugLine="Private Sub Camera_Ready (Success As Boolean)"; +RDebugUtils.currentLine=80871425; + //BA.debugLineNum = 80871425;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=80871426; + //BA.debugLineNum = 80871426;BA.debugLine="r.target = cam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = (Object)(__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ ); +RDebugUtils.currentLine=80871427; + //BA.debugLineNum = 80871427;BA.debugLine="nativeCam = r.GetField(\"camera\")"; +__ref._nativecam /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("camera"); +RDebugUtils.currentLine=80871428; + //BA.debugLineNum = 80871428;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=80871429; + //BA.debugLineNum = 80871429;BA.debugLine="parameters = r.RunMethod(\"getParameters\")"; +__ref._parameters /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getParameters"); +RDebugUtils.currentLine=80871430; + //BA.debugLineNum = 80871430;BA.debugLine="SetDisplayOrientation"; +__ref._setdisplayorientation /*String*/ (null); + }else { +RDebugUtils.currentLine=80871432; + //BA.debugLineNum = 80871432;BA.debugLine="Log(\"success = false, \" & LastException)"; +__c.LogImpl("080871432","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); + }; +RDebugUtils.currentLine=80871434; + //BA.debugLineNum = 80871434;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_ready",(Object)(_success)); +RDebugUtils.currentLine=80871435; + //BA.debugLineNum = 80871435;BA.debugLine="End Sub"; +return ""; +} +public String _setdisplayorientation(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setdisplayorientation", false)) + {return ((String) Debug.delegate(ba, "setdisplayorientation", null));} +int _previewresult = 0; +int _result = 0; +int _degrees = 0; +gunav2.keymon.com.mx.cameraexclass._camerainfoandid _ci = null; +int _orientation = 0; +RDebugUtils.currentLine=80805888; + //BA.debugLineNum = 80805888;BA.debugLine="Private Sub SetDisplayOrientation"; +RDebugUtils.currentLine=80805889; + //BA.debugLineNum = 80805889;BA.debugLine="r.target = r.GetActivity"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = (Object)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetActivity(ba)); +RDebugUtils.currentLine=80805890; + //BA.debugLineNum = 80805890;BA.debugLine="r.target = r.RunMethod(\"getWindowManager\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getWindowManager"); +RDebugUtils.currentLine=80805891; + //BA.debugLineNum = 80805891;BA.debugLine="r.target = r.RunMethod(\"getDefaultDisplay\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getDefaultDisplay"); +RDebugUtils.currentLine=80805892; + //BA.debugLineNum = 80805892;BA.debugLine="r.target = r.RunMethod(\"getRotation\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getRotation"); +RDebugUtils.currentLine=80805893; + //BA.debugLineNum = 80805893;BA.debugLine="Dim previewResult, result, degrees As Int = r.tar"; +_previewresult = 0; +_result = 0; +_degrees = (int) ((double)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target))*90); +RDebugUtils.currentLine=80805894; + //BA.debugLineNum = 80805894;BA.debugLine="Dim ci As CameraInfoAndId = FindCamera(Front)"; +_ci = __ref._findcamera /*gunav2.keymon.com.mx.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ); +RDebugUtils.currentLine=80805895; + //BA.debugLineNum = 80805895;BA.debugLine="r.target = ci.CameraInfo"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _ci.CameraInfo /*Object*/ ; +RDebugUtils.currentLine=80805896; + //BA.debugLineNum = 80805896;BA.debugLine="Dim orientation As Int = r.GetField(\"orientation\""; +_orientation = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("orientation"))); +RDebugUtils.currentLine=80805897; + //BA.debugLineNum = 80805897;BA.debugLine="If Front Then"; +if (__ref._front /*boolean*/ ) { +RDebugUtils.currentLine=80805898; + //BA.debugLineNum = 80805898;BA.debugLine="previewResult = (orientation + degrees) Mod 360"; +_previewresult = (int) ((_orientation+_degrees)%360); +RDebugUtils.currentLine=80805899; + //BA.debugLineNum = 80805899;BA.debugLine="result = previewResult"; +_result = _previewresult; +RDebugUtils.currentLine=80805900; + //BA.debugLineNum = 80805900;BA.debugLine="previewResult = (360 - previewResult) Mod 360"; +_previewresult = (int) ((360-_previewresult)%360); + }else { +RDebugUtils.currentLine=80805902; + //BA.debugLineNum = 80805902;BA.debugLine="previewResult = (orientation - degrees + 360) Mo"; +_previewresult = (int) ((_orientation-_degrees+360)%360); +RDebugUtils.currentLine=80805903; + //BA.debugLineNum = 80805903;BA.debugLine="result = previewResult"; +_result = _previewresult; +RDebugUtils.currentLine=80805904; + //BA.debugLineNum = 80805904;BA.debugLine="Log(previewResult)"; +__c.LogImpl("080805904",BA.NumberToString(_previewresult),0); + }; +RDebugUtils.currentLine=80805906; + //BA.debugLineNum = 80805906;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=80805907; + //BA.debugLineNum = 80805907;BA.debugLine="r.RunMethod2(\"setDisplayOrientation\", previewResu"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setDisplayOrientation",BA.NumberToString(_previewresult),"java.lang.int"); +RDebugUtils.currentLine=80805908; + //BA.debugLineNum = 80805908;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=80805909; + //BA.debugLineNum = 80805909;BA.debugLine="r.RunMethod2(\"setRotation\", result, \"java.lang.in"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setRotation",BA.NumberToString(_result),"java.lang.int"); +RDebugUtils.currentLine=80805910; + //BA.debugLineNum = 80805910;BA.debugLine="CommitParameters"; +__ref._commitparameters /*String*/ (null); +RDebugUtils.currentLine=80805911; + //BA.debugLineNum = 80805911;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +RDebugUtils.currentLine=80609280; + //BA.debugLineNum = 80609280;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=80609281; + //BA.debugLineNum = 80609281;BA.debugLine="Private nativeCam As Object"; +_nativecam = new Object(); +RDebugUtils.currentLine=80609282; + //BA.debugLineNum = 80609282;BA.debugLine="Private cam As Camera"; +_cam = new anywheresoftware.b4a.objects.CameraW(); +RDebugUtils.currentLine=80609283; + //BA.debugLineNum = 80609283;BA.debugLine="Private r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=80609284; + //BA.debugLineNum = 80609284;BA.debugLine="Private target As Object"; +_target = new Object(); +RDebugUtils.currentLine=80609285; + //BA.debugLineNum = 80609285;BA.debugLine="Private event As String"; +_event = ""; +RDebugUtils.currentLine=80609286; + //BA.debugLineNum = 80609286;BA.debugLine="Public Front As Boolean"; +_front = false; +RDebugUtils.currentLine=80609287; + //BA.debugLineNum = 80609287;BA.debugLine="Type CameraInfoAndId (CameraInfo As Object, Id As"; +; +RDebugUtils.currentLine=80609288; + //BA.debugLineNum = 80609288;BA.debugLine="Type CameraSize (Width As Int, Height As Int)"; +; +RDebugUtils.currentLine=80609289; + //BA.debugLineNum = 80609289;BA.debugLine="Private parameters As Object"; +_parameters = new Object(); +RDebugUtils.currentLine=80609290; + //BA.debugLineNum = 80609290;BA.debugLine="End Sub"; +return ""; +} +public String _closenow(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "closenow", false)) + {return ((String) Debug.delegate(ba, "closenow", null));} +RDebugUtils.currentLine=82640896; + //BA.debugLineNum = 82640896;BA.debugLine="Public Sub CloseNow"; +RDebugUtils.currentLine=82640897; + //BA.debugLineNum = 82640897;BA.debugLine="cam.Release"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Release(); +RDebugUtils.currentLine=82640898; + //BA.debugLineNum = 82640898;BA.debugLine="r.target = cam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = (Object)(__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ ); +RDebugUtils.currentLine=82640899; + //BA.debugLineNum = 82640899;BA.debugLine="r.RunMethod2(\"releaseCameras\", True, \"java.lang.b"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("releaseCameras",BA.ObjectToString(__c.True),"java.lang.boolean"); +RDebugUtils.currentLine=82640900; + //BA.debugLineNum = 82640900;BA.debugLine="End Sub"; +return ""; +} +public gunav2.keymon.com.mx.cameraexclass._camerainfoandid _findcamera(gunav2.keymon.com.mx.cameraexclass __ref,boolean _frontcamera) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "findcamera", false)) + {return ((gunav2.keymon.com.mx.cameraexclass._camerainfoandid) Debug.delegate(ba, "findcamera", new Object[] {_frontcamera}));} gunav2.keymon.com.mx.cameraexclass._camerainfoandid _ci = null; Object _camerainfo = null; int _cameravalue = 0; int _numberofcameras = 0; int _i = 0; - //BA.debugLineNum = 36;BA.debugLine="Private Sub FindCamera (frontCamera As Boolean) As"; - //BA.debugLineNum = 37;BA.debugLine="Dim ci As CameraInfoAndId"; +RDebugUtils.currentLine=80740352; + //BA.debugLineNum = 80740352;BA.debugLine="Private Sub FindCamera (frontCamera As Boolean) As"; +RDebugUtils.currentLine=80740353; + //BA.debugLineNum = 80740353;BA.debugLine="Dim ci As CameraInfoAndId"; _ci = new gunav2.keymon.com.mx.cameraexclass._camerainfoandid(); - //BA.debugLineNum = 38;BA.debugLine="Dim cameraInfo As Object"; +RDebugUtils.currentLine=80740354; + //BA.debugLineNum = 80740354;BA.debugLine="Dim cameraInfo As Object"; _camerainfo = new Object(); - //BA.debugLineNum = 39;BA.debugLine="Dim cameraValue As Int"; +RDebugUtils.currentLine=80740355; + //BA.debugLineNum = 80740355;BA.debugLine="Dim cameraValue As Int"; _cameravalue = 0; - //BA.debugLineNum = 40;BA.debugLine="If frontCamera Then cameraValue = 1 Else cameraVa"; +RDebugUtils.currentLine=80740356; + //BA.debugLineNum = 80740356;BA.debugLine="If frontCamera Then cameraValue = 1 Else cameraVa"; if (_frontcamera) { _cameravalue = (int) (1);} else { _cameravalue = (int) (0);}; - //BA.debugLineNum = 41;BA.debugLine="cameraInfo = r.CreateObject(\"android.hardware.Cam"; -_camerainfo = _r.CreateObject("android.hardware.Camera$CameraInfo"); - //BA.debugLineNum = 42;BA.debugLine="Dim numberOfCameras As Int = r.RunStaticMethod(\"a"; -_numberofcameras = (int)(BA.ObjectToNumber(_r.RunStaticMethod("android.hardware.Camera","getNumberOfCameras",(Object[])(__c.Null),(String[])(__c.Null)))); - //BA.debugLineNum = 43;BA.debugLine="For i = 0 To numberOfCameras - 1"; +RDebugUtils.currentLine=80740357; + //BA.debugLineNum = 80740357;BA.debugLine="cameraInfo = r.CreateObject(\"android.hardware.Cam"; +_camerainfo = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .CreateObject("android.hardware.Camera$CameraInfo"); +RDebugUtils.currentLine=80740358; + //BA.debugLineNum = 80740358;BA.debugLine="Dim numberOfCameras As Int = r.RunStaticMethod(\"a"; +_numberofcameras = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunStaticMethod("android.hardware.Camera","getNumberOfCameras",(Object[])(__c.Null),(String[])(__c.Null)))); +RDebugUtils.currentLine=80740359; + //BA.debugLineNum = 80740359;BA.debugLine="For i = 0 To numberOfCameras - 1"; { final int step7 = 1; final int limit7 = (int) (_numberofcameras-1); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 44;BA.debugLine="r.RunStaticMethod(\"android.hardware.Camera\", \"ge"; -_r.RunStaticMethod("android.hardware.Camera","getCameraInfo",new Object[]{(Object)(_i),_camerainfo},new String[]{"java.lang.int","android.hardware.Camera$CameraInfo"}); - //BA.debugLineNum = 46;BA.debugLine="r.target = cameraInfo"; -_r.Target = _camerainfo; - //BA.debugLineNum = 47;BA.debugLine="If r.GetField(\"facing\") = cameraValue Then"; -if ((_r.GetField("facing")).equals((Object)(_cameravalue))) { - //BA.debugLineNum = 48;BA.debugLine="ci.cameraInfo = r.target"; -_ci.CameraInfo /*Object*/ = _r.Target; - //BA.debugLineNum = 49;BA.debugLine="ci.Id = i"; +RDebugUtils.currentLine=80740360; + //BA.debugLineNum = 80740360;BA.debugLine="r.RunStaticMethod(\"android.hardware.Camera\", \"ge"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunStaticMethod("android.hardware.Camera","getCameraInfo",new Object[]{(Object)(_i),_camerainfo},new String[]{"java.lang.int","android.hardware.Camera$CameraInfo"}); +RDebugUtils.currentLine=80740362; + //BA.debugLineNum = 80740362;BA.debugLine="r.target = cameraInfo"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _camerainfo; +RDebugUtils.currentLine=80740363; + //BA.debugLineNum = 80740363;BA.debugLine="If r.GetField(\"facing\") = cameraValue Then"; +if ((__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("facing")).equals((Object)(_cameravalue))) { +RDebugUtils.currentLine=80740364; + //BA.debugLineNum = 80740364;BA.debugLine="ci.cameraInfo = r.target"; +_ci.CameraInfo /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target; +RDebugUtils.currentLine=80740365; + //BA.debugLineNum = 80740365;BA.debugLine="ci.Id = i"; _ci.Id /*int*/ = _i; - //BA.debugLineNum = 50;BA.debugLine="Return ci"; +RDebugUtils.currentLine=80740366; + //BA.debugLineNum = 80740366;BA.debugLine="Return ci"; if (true) return _ci; }; } }; - //BA.debugLineNum = 53;BA.debugLine="ci.id = -1"; +RDebugUtils.currentLine=80740369; + //BA.debugLineNum = 80740369;BA.debugLine="ci.id = -1"; _ci.Id /*int*/ = (int) (-1); - //BA.debugLineNum = 54;BA.debugLine="Return ci"; +RDebugUtils.currentLine=80740370; + //BA.debugLineNum = 80740370;BA.debugLine="Return ci"; if (true) return _ci; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; +RDebugUtils.currentLine=80740371; + //BA.debugLineNum = 80740371;BA.debugLine="End Sub"; return null; } -public String _focusandtakepicture() throws Exception{ - //BA.debugLineNum = 272;BA.debugLine="Public Sub FocusAndTakePicture"; - //BA.debugLineNum = 273;BA.debugLine="cam.AutoFocus"; -_cam.AutoFocus(); - //BA.debugLineNum = 274;BA.debugLine="End Sub"; +public String _focusandtakepicture(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "focusandtakepicture", false)) + {return ((String) Debug.delegate(ba, "focusandtakepicture", null));} +RDebugUtils.currentLine=82706432; + //BA.debugLineNum = 82706432;BA.debugLine="Public Sub FocusAndTakePicture"; +RDebugUtils.currentLine=82706433; + //BA.debugLineNum = 82706433;BA.debugLine="cam.AutoFocus"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .AutoFocus(); +RDebugUtils.currentLine=82706434; + //BA.debugLineNum = 82706434;BA.debugLine="End Sub"; return ""; } -public String _getcoloreffect() throws Exception{ - //BA.debugLineNum = 147;BA.debugLine="Public Sub GetColorEffect As String"; - //BA.debugLineNum = 148;BA.debugLine="Return GetParameter(\"effect\")"; -if (true) return _getparameter("effect"); - //BA.debugLineNum = 149;BA.debugLine="End Sub"; +public String _getcoloreffect(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getcoloreffect", false)) + {return ((String) Debug.delegate(ba, "getcoloreffect", null));} +RDebugUtils.currentLine=81592320; + //BA.debugLineNum = 81592320;BA.debugLine="Public Sub GetColorEffect As String"; +RDebugUtils.currentLine=81592321; + //BA.debugLineNum = 81592321;BA.debugLine="Return GetParameter(\"effect\")"; +if (true) return __ref._getparameter /*String*/ (null,"effect"); +RDebugUtils.currentLine=81592322; + //BA.debugLineNum = 81592322;BA.debugLine="End Sub"; return ""; } -public String _getflashmode() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub GetFlashMode As String"; - //BA.debugLineNum = 183;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 184;BA.debugLine="Return r.RunMethod(\"getFlashMode\")"; -if (true) return BA.ObjectToString(_r.RunMethod("getFlashMode")); - //BA.debugLineNum = 185;BA.debugLine="End Sub"; +public String _getparameter(gunav2.keymon.com.mx.cameraexclass __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getparameter", false)) + {return ((String) Debug.delegate(ba, "getparameter", new Object[] {_key}));} +RDebugUtils.currentLine=81461248; + //BA.debugLineNum = 81461248;BA.debugLine="Public Sub GetParameter(Key As String) As String"; +RDebugUtils.currentLine=81461249; + //BA.debugLineNum = 81461249;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=81461250; + //BA.debugLineNum = 81461250;BA.debugLine="Return r.RunMethod2(\"get\", Key, \"java.lang.String"; +if (true) return BA.ObjectToString(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("get",_key,"java.lang.String")); +RDebugUtils.currentLine=81461251; + //BA.debugLineNum = 81461251;BA.debugLine="End Sub"; return ""; } -public float[] _getfocusdistances() throws Exception{ +public String _getflashmode(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getflashmode", false)) + {return ((String) Debug.delegate(ba, "getflashmode", null));} +RDebugUtils.currentLine=81985536; + //BA.debugLineNum = 81985536;BA.debugLine="Public Sub GetFlashMode As String"; +RDebugUtils.currentLine=81985537; + //BA.debugLineNum = 81985537;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=81985538; + //BA.debugLineNum = 81985538;BA.debugLine="Return r.RunMethod(\"getFlashMode\")"; +if (true) return BA.ObjectToString(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getFlashMode")); +RDebugUtils.currentLine=81985539; + //BA.debugLineNum = 81985539;BA.debugLine="End Sub"; +return ""; +} +public float[] _getfocusdistances(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getfocusdistances", false)) + {return ((float[]) Debug.delegate(ba, "getfocusdistances", null));} float[] _f = null; - //BA.debugLineNum = 258;BA.debugLine="Public Sub GetFocusDistances As Float()"; - //BA.debugLineNum = 259;BA.debugLine="Dim F(3) As Float"; +RDebugUtils.currentLine=82575360; + //BA.debugLineNum = 82575360;BA.debugLine="Public Sub GetFocusDistances As Float()"; +RDebugUtils.currentLine=82575361; + //BA.debugLineNum = 82575361;BA.debugLine="Dim F(3) As Float"; _f = new float[(int) (3)]; ; - //BA.debugLineNum = 260;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 261;BA.debugLine="r.RunMethod4(\"getFocusDistances\", Array As Object"; -_r.RunMethod4("getFocusDistances",new Object[]{(Object)(_f)},new String[]{"[F"}); - //BA.debugLineNum = 262;BA.debugLine="Return F"; +RDebugUtils.currentLine=82575362; + //BA.debugLineNum = 82575362;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=82575363; + //BA.debugLineNum = 82575363;BA.debugLine="r.RunMethod4(\"getFocusDistances\", Array As Object"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod4("getFocusDistances",new Object[]{(Object)(_f)},new String[]{"[F"}); +RDebugUtils.currentLine=82575364; + //BA.debugLineNum = 82575364;BA.debugLine="Return F"; if (true) return _f; - //BA.debugLineNum = 263;BA.debugLine="End Sub"; +RDebugUtils.currentLine=82575365; + //BA.debugLineNum = 82575365;BA.debugLine="End Sub"; return null; } -public String _getparameter(String _key) throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Public Sub GetParameter(Key As String) As String"; - //BA.debugLineNum = 133;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 134;BA.debugLine="Return r.RunMethod2(\"get\", Key, \"java.lang.String"; -if (true) return BA.ObjectToString(_r.RunMethod2("get",_key,"java.lang.String")); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return ""; -} -public gunav2.keymon.com.mx.cameraexclass._camerasize _getpicturesize() throws Exception{ +public gunav2.keymon.com.mx.cameraexclass._camerasize _getpicturesize(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getpicturesize", false)) + {return ((gunav2.keymon.com.mx.cameraexclass._camerasize) Debug.delegate(ba, "getpicturesize", null));} gunav2.keymon.com.mx.cameraexclass._camerasize _cs = null; - //BA.debugLineNum = 206;BA.debugLine="Public Sub GetPictureSize As CameraSize"; - //BA.debugLineNum = 207;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 208;BA.debugLine="r.target = r.RunMethod(\"getPictureSize\")"; -_r.Target = _r.RunMethod("getPictureSize"); - //BA.debugLineNum = 209;BA.debugLine="Dim cs As CameraSize"; +RDebugUtils.currentLine=82247680; + //BA.debugLineNum = 82247680;BA.debugLine="Public Sub GetPictureSize As CameraSize"; +RDebugUtils.currentLine=82247681; + //BA.debugLineNum = 82247681;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=82247682; + //BA.debugLineNum = 82247682;BA.debugLine="r.target = r.RunMethod(\"getPictureSize\")"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPictureSize"); +RDebugUtils.currentLine=82247683; + //BA.debugLineNum = 82247683;BA.debugLine="Dim cs As CameraSize"; _cs = new gunav2.keymon.com.mx.cameraexclass._camerasize(); - //BA.debugLineNum = 210;BA.debugLine="cs.Width = r.GetField(\"width\")"; -_cs.Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 211;BA.debugLine="cs.Height = r.GetField(\"height\")"; -_cs.Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 212;BA.debugLine="Return cs"; +RDebugUtils.currentLine=82247684; + //BA.debugLineNum = 82247684;BA.debugLine="cs.Width = r.GetField(\"width\")"; +_cs.Width /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +RDebugUtils.currentLine=82247685; + //BA.debugLineNum = 82247685;BA.debugLine="cs.Height = r.GetField(\"height\")"; +_cs.Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); +RDebugUtils.currentLine=82247686; + //BA.debugLineNum = 82247686;BA.debugLine="Return cs"; if (true) return _cs; - //BA.debugLineNum = 213;BA.debugLine="End Sub"; +RDebugUtils.currentLine=82247687; + //BA.debugLineNum = 82247687;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cameraexclass._camerasize _getpreviewsize() throws Exception{ -gunav2.keymon.com.mx.cameraexclass._camerasize _cs = null; - //BA.debugLineNum = 197;BA.debugLine="Public Sub GetPreviewSize As CameraSize"; - //BA.debugLineNum = 198;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 199;BA.debugLine="r.target = r.RunMethod(\"getPreviewSize\")"; -_r.Target = _r.RunMethod("getPreviewSize"); - //BA.debugLineNum = 200;BA.debugLine="Dim cs As CameraSize"; -_cs = new gunav2.keymon.com.mx.cameraexclass._camerasize(); - //BA.debugLineNum = 201;BA.debugLine="cs.Width = r.GetField(\"width\")"; -_cs.Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 202;BA.debugLine="cs.Height = r.GetField(\"height\")"; -_cs.Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 203;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 204;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _getsupportedcoloreffects(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedcoloreffects", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getsupportedcoloreffects", null));} +RDebugUtils.currentLine=82116608; + //BA.debugLineNum = 82116608;BA.debugLine="Public Sub GetSupportedColorEffects As List"; +RDebugUtils.currentLine=82116609; + //BA.debugLineNum = 82116609;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=82116610; + //BA.debugLineNum = 82116610;BA.debugLine="Return r.RunMethod(\"getSupportedColorEffects\")"; +if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedColorEffects"))); +RDebugUtils.currentLine=82116611; + //BA.debugLineNum = 82116611;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.collections.List _getsupportedcoloreffects() throws Exception{ - //BA.debugLineNum = 192;BA.debugLine="Public Sub GetSupportedColorEffects As List"; - //BA.debugLineNum = 193;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 194;BA.debugLine="Return r.RunMethod(\"getSupportedColorEffects\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedColorEffects"))); - //BA.debugLineNum = 195;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _getsupportedflashmodes(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedflashmodes", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getsupportedflashmodes", null));} +RDebugUtils.currentLine=82051072; + //BA.debugLineNum = 82051072;BA.debugLine="Public Sub GetSupportedFlashModes As List"; +RDebugUtils.currentLine=82051073; + //BA.debugLineNum = 82051073;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=82051074; + //BA.debugLineNum = 82051074;BA.debugLine="Return r.RunMethod(\"getSupportedFlashModes\")"; +if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedFlashModes"))); +RDebugUtils.currentLine=82051075; + //BA.debugLineNum = 82051075;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.collections.List _getsupportedflashmodes() throws Exception{ - //BA.debugLineNum = 187;BA.debugLine="Public Sub GetSupportedFlashModes As List"; - //BA.debugLineNum = 188;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 189;BA.debugLine="Return r.RunMethod(\"getSupportedFlashModes\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedFlashModes"))); - //BA.debugLineNum = 190;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.collections.List _getsupportedfocusmodes(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedfocusmodes", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getsupportedfocusmodes", null));} +RDebugUtils.currentLine=82378752; + //BA.debugLineNum = 82378752;BA.debugLine="Public Sub GetSupportedFocusModes As List"; +RDebugUtils.currentLine=82378753; + //BA.debugLineNum = 82378753;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=82378754; + //BA.debugLineNum = 82378754;BA.debugLine="Return r.RunMethod(\"getSupportedFocusModes\")"; +if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedFocusModes"))); +RDebugUtils.currentLine=82378755; + //BA.debugLineNum = 82378755;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.collections.List _getsupportedfocusmodes() throws Exception{ - //BA.debugLineNum = 237;BA.debugLine="Public Sub GetSupportedFocusModes As List"; - //BA.debugLineNum = 238;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 239;BA.debugLine="Return r.RunMethod(\"getSupportedFocusModes\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedFocusModes"))); - //BA.debugLineNum = 240;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cameraexclass._camerasize[] _getsupportedpicturessizes() throws Exception{ +public gunav2.keymon.com.mx.cameraexclass._camerasize[] _getsupportedpicturessizes(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedpicturessizes", false)) + {return ((gunav2.keymon.com.mx.cameraexclass._camerasize[]) Debug.delegate(ba, "getsupportedpicturessizes", null));} anywheresoftware.b4a.objects.collections.List _list1 = null; gunav2.keymon.com.mx.cameraexclass._camerasize[] _cs = null; int _i = 0; - //BA.debugLineNum = 155;BA.debugLine="Public Sub GetSupportedPicturesSizes As CameraSize"; - //BA.debugLineNum = 156;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 157;BA.debugLine="Dim list1 As List = r.RunMethod(\"getSupportedPict"; +RDebugUtils.currentLine=81723392; + //BA.debugLineNum = 81723392;BA.debugLine="Public Sub GetSupportedPicturesSizes As CameraSize"; +RDebugUtils.currentLine=81723393; + //BA.debugLineNum = 81723393;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=81723394; + //BA.debugLineNum = 81723394;BA.debugLine="Dim list1 As List = r.RunMethod(\"getSupportedPict"; _list1 = new anywheresoftware.b4a.objects.collections.List(); -_list1 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedPictureSizes"))); - //BA.debugLineNum = 158;BA.debugLine="Dim cs(list1.Size) As CameraSize"; +_list1 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedPictureSizes"))); +RDebugUtils.currentLine=81723395; + //BA.debugLineNum = 81723395;BA.debugLine="Dim cs(list1.Size) As CameraSize"; _cs = new gunav2.keymon.com.mx.cameraexclass._camerasize[_list1.getSize()]; { int d0 = _cs.length; @@ -353,59 +795,36 @@ _cs[i0] = new gunav2.keymon.com.mx.cameraexclass._camerasize(); } } ; - //BA.debugLineNum = 159;BA.debugLine="For i = 0 To list1.Size - 1"; +RDebugUtils.currentLine=81723396; + //BA.debugLineNum = 81723396;BA.debugLine="For i = 0 To list1.Size - 1"; { final int step4 = 1; final int limit4 = (int) (_list1.getSize()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 160;BA.debugLine="r.target = list1.Get(i)"; -_r.Target = _list1.Get(_i); - //BA.debugLineNum = 161;BA.debugLine="cs(i).Width = r.GetField(\"width\")"; -_cs[_i].Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 162;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; -_cs[_i].Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); +RDebugUtils.currentLine=81723397; + //BA.debugLineNum = 81723397;BA.debugLine="r.target = list1.Get(i)"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _list1.Get(_i); +RDebugUtils.currentLine=81723398; + //BA.debugLineNum = 81723398;BA.debugLine="cs(i).Width = r.GetField(\"width\")"; +_cs[_i].Width /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +RDebugUtils.currentLine=81723399; + //BA.debugLineNum = 81723399;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; +_cs[_i].Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); } }; - //BA.debugLineNum = 164;BA.debugLine="Return cs"; +RDebugUtils.currentLine=81723401; + //BA.debugLineNum = 81723401;BA.debugLine="Return cs"; if (true) return _cs; - //BA.debugLineNum = 165;BA.debugLine="End Sub"; +RDebugUtils.currentLine=81723402; + //BA.debugLineNum = 81723402;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _panel1,boolean _frontcamera,Object _targetmodule,String _eventname) throws Exception{ -innerInitialize(_ba); -int _id = 0; - //BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (Panel1 As Panel, FrontCamer"; - //BA.debugLineNum = 20;BA.debugLine="target = TargetModule"; -_target = _targetmodule; - //BA.debugLineNum = 21;BA.debugLine="event = EventName"; -_event = _eventname; - //BA.debugLineNum = 22;BA.debugLine="Front = FrontCamera"; -_front = _frontcamera; - //BA.debugLineNum = 23;BA.debugLine="Dim id As Int"; -_id = 0; - //BA.debugLineNum = 24;BA.debugLine="id = FindCamera(Front).id"; -_id = _findcamera(_front).Id /*int*/ ; - //BA.debugLineNum = 25;BA.debugLine="If id = -1 Then"; -if (_id==-1) { - //BA.debugLineNum = 26;BA.debugLine="Front = Not(Front) 'try different camera"; -_front = __c.Not(_front); - //BA.debugLineNum = 27;BA.debugLine="id = FindCamera(Front).id"; -_id = _findcamera(_front).Id /*int*/ ; - //BA.debugLineNum = 28;BA.debugLine="If id = -1 Then"; -if (_id==-1) { - //BA.debugLineNum = 29;BA.debugLine="ToastMessageShow(\"No camera found.\", True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No camera found."),__c.True); - //BA.debugLineNum = 30;BA.debugLine="Return"; -if (true) return ""; - }; - }; - //BA.debugLineNum = 33;BA.debugLine="cam.Initialize2(Panel1, \"camera\", id)"; -_cam.Initialize2(ba,(android.view.ViewGroup)(_panel1.getObject()),"camera",_id); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public byte[] _previewimagetojpeg(byte[] _data,int _quality) throws Exception{ +public byte[] _previewimagetojpeg(gunav2.keymon.com.mx.cameraexclass __ref,byte[] _data,int _quality) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "previewimagetojpeg", false)) + {return ((byte[]) Debug.delegate(ba, "previewimagetojpeg", new Object[] {_data,_quality}));} Object _size = null; Object _previewformat = null; int _width = 0; @@ -413,209 +832,150 @@ int _height = 0; Object _yuvimage = null; anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _rect1 = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 217;BA.debugLine="Public Sub PreviewImageToJpeg(data() As Byte, qual"; - //BA.debugLineNum = 218;BA.debugLine="Dim size, previewFormat As Object"; +RDebugUtils.currentLine=82313216; + //BA.debugLineNum = 82313216;BA.debugLine="Public Sub PreviewImageToJpeg(data() As Byte, qual"; +RDebugUtils.currentLine=82313217; + //BA.debugLineNum = 82313217;BA.debugLine="Dim size, previewFormat As Object"; _size = new Object(); _previewformat = new Object(); - //BA.debugLineNum = 219;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 220;BA.debugLine="size = r.RunMethod(\"getPreviewSize\")"; -_size = _r.RunMethod("getPreviewSize"); - //BA.debugLineNum = 221;BA.debugLine="previewFormat = r.RunMethod(\"getPreviewFormat\")"; -_previewformat = _r.RunMethod("getPreviewFormat"); - //BA.debugLineNum = 222;BA.debugLine="r.target = size"; -_r.Target = _size; - //BA.debugLineNum = 223;BA.debugLine="Dim width = r.GetField(\"width\"), height = r.GetFi"; -_width = (int)(BA.ObjectToNumber(_r.GetField("width"))); -_height = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 224;BA.debugLine="Dim yuvImage As Object = r.CreateObject2(\"android"; -_yuvimage = _r.CreateObject2("android.graphics.YuvImage",new Object[]{(Object)(_data),_previewformat,(Object)(_width),(Object)(_height),__c.Null},new String[]{"[B","java.lang.int","java.lang.int","java.lang.int","[I"}); - //BA.debugLineNum = 227;BA.debugLine="r.target = yuvImage"; -_r.Target = _yuvimage; - //BA.debugLineNum = 228;BA.debugLine="Dim rect1 As Rect"; +RDebugUtils.currentLine=82313218; + //BA.debugLineNum = 82313218;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=82313219; + //BA.debugLineNum = 82313219;BA.debugLine="size = r.RunMethod(\"getPreviewSize\")"; +_size = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPreviewSize"); +RDebugUtils.currentLine=82313220; + //BA.debugLineNum = 82313220;BA.debugLine="previewFormat = r.RunMethod(\"getPreviewFormat\")"; +_previewformat = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPreviewFormat"); +RDebugUtils.currentLine=82313221; + //BA.debugLineNum = 82313221;BA.debugLine="r.target = size"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _size; +RDebugUtils.currentLine=82313222; + //BA.debugLineNum = 82313222;BA.debugLine="Dim width = r.GetField(\"width\"), height = r.GetFi"; +_width = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +_height = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); +RDebugUtils.currentLine=82313223; + //BA.debugLineNum = 82313223;BA.debugLine="Dim yuvImage As Object = r.CreateObject2(\"android"; +_yuvimage = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .CreateObject2("android.graphics.YuvImage",new Object[]{(Object)(_data),_previewformat,(Object)(_width),(Object)(_height),__c.Null},new String[]{"[B","java.lang.int","java.lang.int","java.lang.int","[I"}); +RDebugUtils.currentLine=82313226; + //BA.debugLineNum = 82313226;BA.debugLine="r.target = yuvImage"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _yuvimage; +RDebugUtils.currentLine=82313227; + //BA.debugLineNum = 82313227;BA.debugLine="Dim rect1 As Rect"; _rect1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); - //BA.debugLineNum = 229;BA.debugLine="rect1.Initialize(0, 0, r.RunMethod(\"getWidth\"), r"; -_rect1.Initialize((int) (0),(int) (0),(int)(BA.ObjectToNumber(_r.RunMethod("getWidth"))),(int)(BA.ObjectToNumber(_r.RunMethod("getHeight")))); - //BA.debugLineNum = 230;BA.debugLine="Dim out As OutputStream"; +RDebugUtils.currentLine=82313228; + //BA.debugLineNum = 82313228;BA.debugLine="rect1.Initialize(0, 0, r.RunMethod(\"getWidth\"), r"; +_rect1.Initialize((int) (0),(int) (0),(int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getWidth"))),(int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getHeight")))); +RDebugUtils.currentLine=82313229; + //BA.debugLineNum = 82313229;BA.debugLine="Dim out As OutputStream"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 231;BA.debugLine="out.InitializeToBytesArray(100)"; +RDebugUtils.currentLine=82313230; + //BA.debugLineNum = 82313230;BA.debugLine="out.InitializeToBytesArray(100)"; _out.InitializeToBytesArray((int) (100)); - //BA.debugLineNum = 232;BA.debugLine="r.RunMethod4(\"compressToJpeg\", Array As Object(re"; -_r.RunMethod4("compressToJpeg",new Object[]{(Object)(_rect1.getObject()),(Object)(_quality),(Object)(_out.getObject())},new String[]{"android.graphics.Rect","java.lang.int","java.io.OutputStream"}); - //BA.debugLineNum = 234;BA.debugLine="Return out.ToBytesArray"; +RDebugUtils.currentLine=82313231; + //BA.debugLineNum = 82313231;BA.debugLine="r.RunMethod4(\"compressToJpeg\", Array As Object(re"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod4("compressToJpeg",new Object[]{(Object)(_rect1.getObject()),(Object)(_quality),(Object)(_out.getObject())},new String[]{"android.graphics.Rect","java.lang.int","java.io.OutputStream"}); +RDebugUtils.currentLine=82313233; + //BA.debugLineNum = 82313233;BA.debugLine="Return out.ToBytesArray"; if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 235;BA.debugLine="End Sub"; +RDebugUtils.currentLine=82313234; + //BA.debugLineNum = 82313234;BA.debugLine="End Sub"; return null; } -public String _release() throws Exception{ - //BA.debugLineNum = 116;BA.debugLine="Public Sub Release"; - //BA.debugLineNum = 117;BA.debugLine="cam.Release"; -_cam.Release(); - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +public String _setcoloreffect(gunav2.keymon.com.mx.cameraexclass __ref,String _effect) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setcoloreffect", false)) + {return ((String) Debug.delegate(ba, "setcoloreffect", new Object[] {_effect}));} +RDebugUtils.currentLine=81657856; + //BA.debugLineNum = 81657856;BA.debugLine="Public Sub SetColorEffect(Effect As String)"; +RDebugUtils.currentLine=81657857; + //BA.debugLineNum = 81657857;BA.debugLine="SetParameter(\"effect\", Effect)"; +__ref._setparameter /*String*/ (null,"effect",_effect); +RDebugUtils.currentLine=81657858; + //BA.debugLineNum = 81657858;BA.debugLine="End Sub"; return ""; } -public String _savepicturetofile(byte[] _data,String _dir,String _filename) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 121;BA.debugLine="Public Sub SavePictureToFile(Data() As Byte, Dir A"; - //BA.debugLineNum = 122;BA.debugLine="Dim out As OutputStream = File.OpenOutput(Dir, Fi"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(_dir,_filename,__c.False); - //BA.debugLineNum = 123;BA.debugLine="out.WriteBytes(Data, 0, Data.Length)"; -_out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 124;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 125;BA.debugLine="End Sub"; +public String _setparameter(gunav2.keymon.com.mx.cameraexclass __ref,String _key,String _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setparameter", false)) + {return ((String) Debug.delegate(ba, "setparameter", new Object[] {_key,_value}));} +RDebugUtils.currentLine=81395712; + //BA.debugLineNum = 81395712;BA.debugLine="Public Sub SetParameter(Key As String, Value As St"; +RDebugUtils.currentLine=81395713; + //BA.debugLineNum = 81395713;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=81395714; + //BA.debugLineNum = 81395714;BA.debugLine="r.RunMethod3(\"set\", Key, \"java.lang.String\", Valu"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod3("set",_key,"java.lang.String",_value,"java.lang.String"); +RDebugUtils.currentLine=81395715; + //BA.debugLineNum = 81395715;BA.debugLine="End Sub"; return ""; } -public String _setcoloreffect(String _effect) throws Exception{ - //BA.debugLineNum = 151;BA.debugLine="Public Sub SetColorEffect(Effect As String)"; - //BA.debugLineNum = 152;BA.debugLine="SetParameter(\"effect\", Effect)"; -_setparameter("effect",_effect); - //BA.debugLineNum = 153;BA.debugLine="End Sub"; +public String _setfocusmode(gunav2.keymon.com.mx.cameraexclass __ref,String _mode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setfocusmode", false)) + {return ((String) Debug.delegate(ba, "setfocusmode", new Object[] {_mode}));} +RDebugUtils.currentLine=82509824; + //BA.debugLineNum = 82509824;BA.debugLine="Public Sub SetFocusMode(Mode As String)"; +RDebugUtils.currentLine=82509825; + //BA.debugLineNum = 82509825;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=82509826; + //BA.debugLineNum = 82509826;BA.debugLine="r.RunMethod2(\"setFocusMode\", Mode, \"java.lang."; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setFocusMode",_mode,"java.lang.String"); +RDebugUtils.currentLine=82509827; + //BA.debugLineNum = 82509827;BA.debugLine="End Sub"; return ""; } -public String _setcontinuousautofocus() throws Exception{ -anywheresoftware.b4a.objects.collections.List _modes = null; - //BA.debugLineNum = 242;BA.debugLine="Public Sub SetContinuousAutoFocus"; - //BA.debugLineNum = 243;BA.debugLine="Dim modes As List = GetSupportedFocusModes"; -_modes = new anywheresoftware.b4a.objects.collections.List(); -_modes = _getsupportedfocusmodes(); - //BA.debugLineNum = 244;BA.debugLine="If modes.IndexOf(\"continuous-picture\") > -1 Th"; -if (_modes.IndexOf((Object)("continuous-picture"))>-1) { - //BA.debugLineNum = 245;BA.debugLine="SetFocusMode(\"continuous-picture\")"; -_setfocusmode("continuous-picture"); - }else if(_modes.IndexOf((Object)("continuous-video"))>-1) { - //BA.debugLineNum = 247;BA.debugLine="SetFocusMode(\"continuous-video\")"; -_setfocusmode("continuous-video"); - }else { - //BA.debugLineNum = 249;BA.debugLine="Log(\"Continuous focus mode is not availabl"; -__c.LogImpl("480478215","Continuous focus mode is not available",0); - }; - //BA.debugLineNum = 251;BA.debugLine="End Sub"; +public String _setflashmode(gunav2.keymon.com.mx.cameraexclass __ref,String _mode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setflashmode", false)) + {return ((String) Debug.delegate(ba, "setflashmode", new Object[] {_mode}));} +RDebugUtils.currentLine=81920000; + //BA.debugLineNum = 81920000;BA.debugLine="Public Sub SetFlashMode(Mode As String)"; +RDebugUtils.currentLine=81920001; + //BA.debugLineNum = 81920001;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=81920002; + //BA.debugLineNum = 81920002;BA.debugLine="r.RunMethod2(\"setFlashMode\", Mode, \"java.lang.Str"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setFlashMode",_mode,"java.lang.String"); +RDebugUtils.currentLine=81920003; + //BA.debugLineNum = 81920003;BA.debugLine="End Sub"; return ""; } -public String _setdisplayorientation() throws Exception{ -int _previewresult = 0; -int _result = 0; -int _degrees = 0; -gunav2.keymon.com.mx.cameraexclass._camerainfoandid _ci = null; -int _orientation = 0; - //BA.debugLineNum = 57;BA.debugLine="Private Sub SetDisplayOrientation"; - //BA.debugLineNum = 58;BA.debugLine="r.target = r.GetActivity"; -_r.Target = (Object)(_r.GetActivity(ba)); - //BA.debugLineNum = 59;BA.debugLine="r.target = r.RunMethod(\"getWindowManager\")"; -_r.Target = _r.RunMethod("getWindowManager"); - //BA.debugLineNum = 60;BA.debugLine="r.target = r.RunMethod(\"getDefaultDisplay\")"; -_r.Target = _r.RunMethod("getDefaultDisplay"); - //BA.debugLineNum = 61;BA.debugLine="r.target = r.RunMethod(\"getRotation\")"; -_r.Target = _r.RunMethod("getRotation"); - //BA.debugLineNum = 62;BA.debugLine="Dim previewResult, result, degrees As Int = r.tar"; -_previewresult = 0; -_result = 0; -_degrees = (int) ((double)(BA.ObjectToNumber(_r.Target))*90); - //BA.debugLineNum = 63;BA.debugLine="Dim ci As CameraInfoAndId = FindCamera(Front)"; -_ci = _findcamera(_front); - //BA.debugLineNum = 64;BA.debugLine="r.target = ci.CameraInfo"; -_r.Target = _ci.CameraInfo /*Object*/ ; - //BA.debugLineNum = 65;BA.debugLine="Dim orientation As Int = r.GetField(\"orientation\""; -_orientation = (int)(BA.ObjectToNumber(_r.GetField("orientation"))); - //BA.debugLineNum = 66;BA.debugLine="If Front Then"; -if (_front) { - //BA.debugLineNum = 67;BA.debugLine="previewResult = (orientation + degrees) Mod 360"; -_previewresult = (int) ((_orientation+_degrees)%360); - //BA.debugLineNum = 68;BA.debugLine="result = previewResult"; -_result = _previewresult; - //BA.debugLineNum = 69;BA.debugLine="previewResult = (360 - previewResult) Mod 360"; -_previewresult = (int) ((360-_previewresult)%360); - }else { - //BA.debugLineNum = 71;BA.debugLine="previewResult = (orientation - degrees + 360) Mo"; -_previewresult = (int) ((_orientation-_degrees+360)%360); - //BA.debugLineNum = 72;BA.debugLine="result = previewResult"; -_result = _previewresult; - //BA.debugLineNum = 73;BA.debugLine="Log(previewResult)"; -__c.LogImpl("478839824",BA.NumberToString(_previewresult),0); - }; - //BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 76;BA.debugLine="r.RunMethod2(\"setDisplayOrientation\", previewResu"; -_r.RunMethod2("setDisplayOrientation",BA.NumberToString(_previewresult),"java.lang.int"); - //BA.debugLineNum = 77;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 78;BA.debugLine="r.RunMethod2(\"setRotation\", result, \"java.lang.in"; -_r.RunMethod2("setRotation",BA.NumberToString(_result),"java.lang.int"); - //BA.debugLineNum = 79;BA.debugLine="CommitParameters"; -_commitparameters(); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; +public String _setpicturesize(gunav2.keymon.com.mx.cameraexclass __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "setpicturesize", false)) + {return ((String) Debug.delegate(ba, "setpicturesize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=81788928; + //BA.debugLineNum = 81788928;BA.debugLine="Public Sub SetPictureSize(Width As Int, Height As"; +RDebugUtils.currentLine=81788929; + //BA.debugLineNum = 81788929;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=81788930; + //BA.debugLineNum = 81788930;BA.debugLine="r.RunMethod3(\"setPictureSize\", Width, \"java.lang."; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod3("setPictureSize",BA.NumberToString(_width),"java.lang.int",BA.NumberToString(_height),"java.lang.int"); +RDebugUtils.currentLine=81788931; + //BA.debugLineNum = 81788931;BA.debugLine="End Sub"; return ""; } -public String _setflashmode(String _mode) throws Exception{ - //BA.debugLineNum = 177;BA.debugLine="Public Sub SetFlashMode(Mode As String)"; - //BA.debugLineNum = 178;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 179;BA.debugLine="r.RunMethod2(\"setFlashMode\", Mode, \"java.lang.Str"; -_r.RunMethod2("setFlashMode",_mode,"java.lang.String"); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; +public String _stoppreview(gunav2.keymon.com.mx.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "stoppreview", false)) + {return ((String) Debug.delegate(ba, "stoppreview", null));} +RDebugUtils.currentLine=81199104; + //BA.debugLineNum = 81199104;BA.debugLine="Public Sub StopPreview"; +RDebugUtils.currentLine=81199105; + //BA.debugLineNum = 81199105;BA.debugLine="cam.StopPreview"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .StopPreview(); +RDebugUtils.currentLine=81199106; + //BA.debugLineNum = 81199106;BA.debugLine="End Sub"; return ""; } -public String _setfocusmode(String _mode) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Public Sub SetFocusMode(Mode As String)"; - //BA.debugLineNum = 254;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 255;BA.debugLine="r.RunMethod2(\"setFocusMode\", Mode, \"java.lang."; -_r.RunMethod2("setFocusMode",_mode,"java.lang.String"); - //BA.debugLineNum = 256;BA.debugLine="End Sub"; -return ""; -} -public String _setjpegquality(int _quality) throws Exception{ - //BA.debugLineNum = 172;BA.debugLine="Public Sub SetJpegQuality(Quality As Int)"; - //BA.debugLineNum = 173;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 174;BA.debugLine="r.RunMethod2(\"setJpegQuality\", Quality, \"java.lan"; -_r.RunMethod2("setJpegQuality",BA.NumberToString(_quality),"java.lang.int"); - //BA.debugLineNum = 175;BA.debugLine="End Sub"; -return ""; -} -public String _setparameter(String _key,String _value) throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub SetParameter(Key As String, Value As St"; - //BA.debugLineNum = 128;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 129;BA.debugLine="r.RunMethod3(\"set\", Key, \"java.lang.String\", Valu"; -_r.RunMethod3("set",_key,"java.lang.String",_value,"java.lang.String"); - //BA.debugLineNum = 130;BA.debugLine="End Sub"; -return ""; -} -public String _setpicturesize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 167;BA.debugLine="Public Sub SetPictureSize(Width As Int, Height As"; - //BA.debugLineNum = 168;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 169;BA.debugLine="r.RunMethod3(\"setPictureSize\", Width, \"java.lang."; -_r.RunMethod3("setPictureSize",BA.NumberToString(_width),"java.lang.int",BA.NumberToString(_height),"java.lang.int"); - //BA.debugLineNum = 170;BA.debugLine="End Sub"; -return ""; -} -public String _startpreview() throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub StartPreview"; - //BA.debugLineNum = 109;BA.debugLine="cam.StartPreview"; -_cam.StartPreview(); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public String _stoppreview() throws Exception{ - //BA.debugLineNum = 112;BA.debugLine="Public Sub StopPreview"; - //BA.debugLineNum = 113;BA.debugLine="cam.StopPreview"; -_cam.StopPreview(); - //BA.debugLineNum = 114;BA.debugLine="End Sub"; -return ""; -} -public String _takepicture() throws Exception{ - //BA.debugLineNum = 100;BA.debugLine="Public Sub TakePicture"; - //BA.debugLineNum = 101;BA.debugLine="cam.TakePicture"; -_cam.TakePicture(); - //BA.debugLineNum = 102;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/cl_appupdate.java b/B4A/Objects/src/gunav2/keymon/com/mx/cl_appupdate.java index 77c3194..ef5d53a 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/cl_appupdate.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/cl_appupdate.java @@ -10,7 +10,7 @@ public class cl_appupdate extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.cl_appupdate"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.cl_appupdate"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class cl_appupdate extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public int _err_nopkg = 0; public int _err_notxt = 0; public int _err_noapk = 0; @@ -65,150 +72,221 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public boolean _canrequestpackageinstalls() throws Exception{ +public boolean _canrequestpackageinstalls(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "canrequestpackageinstalls", true)) + {return ((Boolean) Debug.delegate(ba, "canrequestpackageinstalls", null));} anywheresoftware.b4j.object.JavaObject _ctxt = null; anywheresoftware.b4j.object.JavaObject _packagemanager = null; - //BA.debugLineNum = 448;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; - //BA.debugLineNum = 449;BA.debugLine="Dim ctxt As JavaObject"; +RDebugUtils.currentLine=8388608; + //BA.debugLineNum = 8388608;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; +RDebugUtils.currentLine=8388609; + //BA.debugLineNum = 8388609;BA.debugLine="Dim ctxt As JavaObject"; _ctxt = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 450;BA.debugLine="ctxt.InitializeContext"; +RDebugUtils.currentLine=8388610; + //BA.debugLineNum = 8388610;BA.debugLine="ctxt.InitializeContext"; _ctxt.InitializeContext(ba); - //BA.debugLineNum = 451;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; +RDebugUtils.currentLine=8388611; + //BA.debugLineNum = 8388611;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; _packagemanager = new anywheresoftware.b4j.object.JavaObject(); _packagemanager = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_ctxt.RunMethod("getPackageManager",(Object[])(__c.Null)))); - //BA.debugLineNum = 452;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +RDebugUtils.currentLine=8388612; + //BA.debugLineNum = 8388612;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); - //BA.debugLineNum = 453;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8388613; + //BA.debugLineNum = 8388613;BA.debugLine="End Sub"; return false; } -public boolean _checknonmarketappsenabled() throws Exception{ +public boolean _checknonmarketappsenabled(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "checknonmarketappsenabled", true)) + {return ((Boolean) Debug.delegate(ba, "checknonmarketappsenabled", null));} anywheresoftware.b4j.object.JavaObject _context = null; anywheresoftware.b4j.object.JavaObject _resolver = null; anywheresoftware.b4j.object.JavaObject _global = null; - //BA.debugLineNum = 471;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; - //BA.debugLineNum = 472;BA.debugLine="If phone.SdkVersion >= 26 Then Return True"; -if (_phone.getSdkVersion()>=26) { +RDebugUtils.currentLine=8454144; + //BA.debugLineNum = 8454144;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; +RDebugUtils.currentLine=8454145; + //BA.debugLineNum = 8454145;BA.debugLine="If phone.SdkVersion >= 26 Then Return True"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=26) { if (true) return __c.True;}; - //BA.debugLineNum = 473;BA.debugLine="If phone.SdkVersion < 17 Or phone.SdkVersion >= 2"; -if (_phone.getSdkVersion()<17 || _phone.getSdkVersion()>=21) { - //BA.debugLineNum = 474;BA.debugLine="Return phone.GetSettings(\"install_non_market_app"; -if (true) return (_phone.GetSettings("install_non_market_apps")).equals("1"); +RDebugUtils.currentLine=8454146; + //BA.debugLineNum = 8454146;BA.debugLine="If phone.SdkVersion < 17 Or phone.SdkVersion >= 2"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()<17 || __ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=21) { +RDebugUtils.currentLine=8454147; + //BA.debugLineNum = 8454147;BA.debugLine="Return phone.GetSettings(\"install_non_market_app"; +if (true) return (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .GetSettings("install_non_market_apps")).equals("1"); }else { - //BA.debugLineNum = 476;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=8454149; + //BA.debugLineNum = 8454149;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 477;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=8454150; + //BA.debugLineNum = 8454150;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 478;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\""; +RDebugUtils.currentLine=8454151; + //BA.debugLineNum = 8454151;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\""; _resolver = new anywheresoftware.b4j.object.JavaObject(); _resolver = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_context.RunMethod("getContentResolver",(Object[])(__c.Null)))); - //BA.debugLineNum = 479;BA.debugLine="Dim global As JavaObject"; +RDebugUtils.currentLine=8454152; + //BA.debugLineNum = 8454152;BA.debugLine="Dim global As JavaObject"; _global = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 480;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; +RDebugUtils.currentLine=8454153; + //BA.debugLineNum = 8454153;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; _global.InitializeStatic("android.provider.Settings.Global"); - //BA.debugLineNum = 481;BA.debugLine="Return global.RunMethod(\"getString\", Array(resol"; +RDebugUtils.currentLine=8454154; + //BA.debugLineNum = 8454154;BA.debugLine="Return global.RunMethod(\"getString\", Array(resol"; if (true) return (_global.RunMethod("getString",new Object[]{(Object)(_resolver.getObject()),(Object)("install_non_market_apps")})).equals((Object)("1")); }; - //BA.debugLineNum = 483;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8454156; + //BA.debugLineNum = 8454156;BA.debugLine="End Sub"; return false; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Private Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; +public String _class_globals(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +RDebugUtils.currentLine=6488064; + //BA.debugLineNum = 6488064;BA.debugLine="Private Sub Class_Globals"; +RDebugUtils.currentLine=6488066; + //BA.debugLineNum = 6488066;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; _err_nopkg = (int) (-1); - //BA.debugLineNum = 9;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; +RDebugUtils.currentLine=6488067; + //BA.debugLineNum = 6488067;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; _err_notxt = (int) (-2); - //BA.debugLineNum = 10;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; +RDebugUtils.currentLine=6488068; + //BA.debugLineNum = 6488068;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; _err_noapk = (int) (-3); - //BA.debugLineNum = 11;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; +RDebugUtils.currentLine=6488069; + //BA.debugLineNum = 6488069;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; _err_txtrow = (int) (-4); - //BA.debugLineNum = 12;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; +RDebugUtils.currentLine=6488070; + //BA.debugLineNum = 6488070;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; _err_html = (int) (-5); - //BA.debugLineNum = 13;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; +RDebugUtils.currentLine=6488071; + //BA.debugLineNum = 6488071;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; _err_nospace = (int) (-6); - //BA.debugLineNum = 14;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; +RDebugUtils.currentLine=6488072; + //BA.debugLineNum = 6488072;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; _err_noperm = (int) (-7); - //BA.debugLineNum = 15;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; +RDebugUtils.currentLine=6488073; + //BA.debugLineNum = 6488073;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; _err_download = (int) (-8); - //BA.debugLineNum = 16;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; +RDebugUtils.currentLine=6488074; + //BA.debugLineNum = 6488074;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; _err_http = (int) (-100); - //BA.debugLineNum = 17;BA.debugLine="Public OK_INIT = 0 As Int"; +RDebugUtils.currentLine=6488075; + //BA.debugLineNum = 6488075;BA.debugLine="Public OK_INIT = 0 As Int"; _ok_init = (int) (0); - //BA.debugLineNum = 18;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; +RDebugUtils.currentLine=6488076; + //BA.debugLineNum = 6488076;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; _ok_curver = (int) (1); - //BA.debugLineNum = 19;BA.debugLine="Public OK_WEBVER = 2 As Int"; +RDebugUtils.currentLine=6488077; + //BA.debugLineNum = 6488077;BA.debugLine="Public OK_WEBVER = 2 As Int"; _ok_webver = (int) (2); - //BA.debugLineNum = 20;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; +RDebugUtils.currentLine=6488078; + //BA.debugLineNum = 6488078;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; _no_newerapk = (int) (3); - //BA.debugLineNum = 21;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; +RDebugUtils.currentLine=6488079; + //BA.debugLineNum = 6488079;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; _ok_newerapk = (int) (4); - //BA.debugLineNum = 22;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; +RDebugUtils.currentLine=6488080; + //BA.debugLineNum = 6488080;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; _ok_download = (int) (5); - //BA.debugLineNum = 23;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; +RDebugUtils.currentLine=6488081; + //BA.debugLineNum = 6488081;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; _ok_install = (int) (6); - //BA.debugLineNum = 26;BA.debugLine="Private Callback As Object"; +RDebugUtils.currentLine=6488084; + //BA.debugLineNum = 6488084;BA.debugLine="Private Callback As Object"; _callback = new Object(); - //BA.debugLineNum = 27;BA.debugLine="Private Event As String"; +RDebugUtils.currentLine=6488085; + //BA.debugLineNum = 6488085;BA.debugLine="Private Event As String"; _event = ""; - //BA.debugLineNum = 28;BA.debugLine="Private sPackageName As String 'ex: com.te"; +RDebugUtils.currentLine=6488086; + //BA.debugLineNum = 6488086;BA.debugLine="Private sPackageName As String 'ex: com.te"; _spackagename = ""; - //BA.debugLineNum = 29;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; +RDebugUtils.currentLine=6488087; + //BA.debugLineNum = 6488087;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; _snewvertxt = ""; - //BA.debugLineNum = 30;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; +RDebugUtils.currentLine=6488088; + //BA.debugLineNum = 6488088;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; _snewverapk = ""; - //BA.debugLineNum = 31;BA.debugLine="Private sStatusCode As Int 'negatives"; +RDebugUtils.currentLine=6488089; + //BA.debugLineNum = 6488089;BA.debugLine="Private sStatusCode As Int 'negatives"; _sstatuscode = 0; - //BA.debugLineNum = 32;BA.debugLine="Private sUserName As String 'user name"; +RDebugUtils.currentLine=6488090; + //BA.debugLineNum = 6488090;BA.debugLine="Private sUserName As String 'user name"; _susername = ""; - //BA.debugLineNum = 33;BA.debugLine="Private sUPassword As String 'password r"; +RDebugUtils.currentLine=6488091; + //BA.debugLineNum = 6488091;BA.debugLine="Private sUPassword As String 'password r"; _supassword = ""; - //BA.debugLineNum = 34;BA.debugLine="Private curver, webver As String 'curver = c"; +RDebugUtils.currentLine=6488092; + //BA.debugLineNum = 6488092;BA.debugLine="Private curver, webver As String 'curver = c"; _curver = ""; _webver = ""; - //BA.debugLineNum = 35;BA.debugLine="Private webclog As String 'webclog = optional"; +RDebugUtils.currentLine=6488093; + //BA.debugLineNum = 6488093;BA.debugLine="Private webclog As String 'webclog = optional"; _webclog = ""; - //BA.debugLineNum = 36;BA.debugLine="Private webfsize As String 'webfsize = option"; +RDebugUtils.currentLine=6488094; + //BA.debugLineNum = 6488094;BA.debugLine="Private webfsize As String 'webfsize = option"; _webfsize = ""; - //BA.debugLineNum = 37;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; +RDebugUtils.currentLine=6488095; + //BA.debugLineNum = 6488095;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; _sverbose = false; - //BA.debugLineNum = 38;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; +RDebugUtils.currentLine=6488096; + //BA.debugLineNum = 6488096;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; _pnlsplash = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; +RDebugUtils.currentLine=6488097; + //BA.debugLineNum = 6488097;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; _splashshowing = false; - //BA.debugLineNum = 40;BA.debugLine="Private phone As Phone"; +RDebugUtils.currentLine=6488098; + //BA.debugLineNum = 6488098;BA.debugLine="Private phone As Phone"; _phone = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 41;BA.debugLine="Private rp As RuntimePermissions"; +RDebugUtils.currentLine=6488099; + //BA.debugLineNum = 6488099;BA.debugLine="Private rp As RuntimePermissions"; _rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 42;BA.debugLine="Private SharedFolder As String 'Foder where to"; +RDebugUtils.currentLine=6488100; + //BA.debugLineNum = 6488100;BA.debugLine="Private SharedFolder As String 'Foder where to"; _sharedfolder = ""; - //BA.debugLineNum = 43;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; +RDebugUtils.currentLine=6488101; + //BA.debugLineNum = 6488101;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; _usefileprovider = false; - //BA.debugLineNum = 44;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; +RDebugUtils.currentLine=6488102; + //BA.debugLineNum = 6488102;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; _logcolor1 = ((int)0xffff8c00); - //BA.debugLineNum = 45;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6488103; + //BA.debugLineNum = 6488103;BA.debugLine="End Sub"; return ""; } -public void _downloadapk() throws Exception{ -ResumableSub_DownloadApk rsub = new ResumableSub_DownloadApk(this); +public void _downloadapk(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "downloadapk", true)) + {Debug.delegate(ba, "downloadapk", null); return;} +ResumableSub_DownloadApk rsub = new ResumableSub_DownloadApk(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_DownloadApk extends BA.ResumableSub { -public ResumableSub_DownloadApk(gunav2.keymon.com.mx.cl_appupdate parent) { +public ResumableSub_DownloadApk(gunav2.keymon.com.mx.cl_appupdate parent,gunav2.keymon.com.mx.cl_appupdate __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.cl_appupdate __ref; gunav2.keymon.com.mx.cl_appupdate parent; gunav2.keymon.com.mx.httpjob _j = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { switch (state) { @@ -218,46 +296,52 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; -parent.__c.LogImpl("91376257","---- AppUpdating.DownloadApk",parent._logcolor1); - //BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then"; +RDebugUtils.currentLine=7536641; + //BA.debugLineNum = 7536641;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; +parent.__c.LogImpl("97536641","---- AppUpdating.DownloadApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=7536643; + //BA.debugLineNum = 7536643;BA.debugLine="If sNewVerApk = \"\" Then"; if (true) break; case 1: //if this.state = 10; -if ((parent._snewverapk).equals("")) { +if ((__ref._snewverapk /*String*/ ).equals("")) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 162;BA.debugLine="sStatusCode = ERR_NOAPK"; -parent._sstatuscode = parent._err_noapk; - //BA.debugLineNum = 163;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk file fu"; +RDebugUtils.currentLine=7536644; + //BA.debugLineNum = 7536644;BA.debugLine="sStatusCode = ERR_NOAPK"; +__ref._sstatuscode /*int*/ = __ref._err_noapk /*int*/ ; +RDebugUtils.currentLine=7536645; + //BA.debugLineNum = 7536645;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk file fu"; if (true) break; case 4: //if this.state = 9; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 6; ;}if (true) break; case 6: //C this.state = 9; -parent.__c.LogImpl("91376261",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); +parent.__c.LogImpl("97536645",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); if (true) break; case 9: //C this.state = 10; ; - //BA.debugLineNum = 164;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 165;BA.debugLine="Return"; +RDebugUtils.currentLine=7536646; + //BA.debugLineNum = 7536646;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=7536647; + //BA.debugLineNum = 7536647;BA.debugLine="Return"; if (true) return ; if (true) break; @@ -265,28 +349,36 @@ case 10: //C this.state = 11; ; - //BA.debugLineNum = 168;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=7536650; + //BA.debugLineNum = 7536650;BA.debugLine="Dim j As HttpJob"; _j = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 169;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 170;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 171;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 172;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; -_j._download /*String*/ (parent._snewverapk); - //BA.debugLineNum = 173;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); +RDebugUtils.currentLine=7536651; + //BA.debugLineNum = 7536651;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=7536652; + //BA.debugLineNum = 7536652;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=7536653; + //BA.debugLineNum = 7536653;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=7536654; + //BA.debugLineNum = 7536654;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; +_j._download /*String*/ (null,__ref._snewverapk /*String*/ ); +RDebugUtils.currentLine=7536655; + //BA.debugLineNum = 7536655;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "downloadapk"), (Object)(_j)); this.state = 29; return; case 29: //C this.state = 11; -_j = (gunav2.keymon.com.mx.httpjob) result[0]; +_j = (gunav2.keymon.com.mx.httpjob) result[1]; ; - //BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("91376272",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); - //BA.debugLineNum = 175;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=7536656; + //BA.debugLineNum = 7536656;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +parent.__c.LogImpl("97536656",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=7536657; + //BA.debugLineNum = 7536657;BA.debugLine="If j.Success Then"; if (true) break; case 11: @@ -301,32 +393,39 @@ this.state = 21; case 13: //C this.state = 14; - //BA.debugLineNum = 177;BA.debugLine="Dim out As OutputStream"; +RDebugUtils.currentLine=7536659; + //BA.debugLineNum = 7536659;BA.debugLine="Dim out As OutputStream"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 178;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",Fal"; -_out = parent.__c.File.OpenOutput(parent._sharedfolder,"tmp.apk",parent.__c.False); - //BA.debugLineNum = 179;BA.debugLine="File.Copy2(J.GetInputStream, out)"; -parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 180;BA.debugLine="out.Close"; +RDebugUtils.currentLine=7536660; + //BA.debugLineNum = 7536660;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",Fal"; +_out = parent.__c.File.OpenOutput(__ref._sharedfolder /*String*/ ,"tmp.apk",parent.__c.False); +RDebugUtils.currentLine=7536661; + //BA.debugLineNum = 7536661;BA.debugLine="File.Copy2(J.GetInputStream, out)"; +parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (null).getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=7536662; + //BA.debugLineNum = 7536662;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; -parent.__c.LogImpl("91376279",("Copy2 (saving) ok? TRUE"),0); - //BA.debugLineNum = 182;BA.debugLine="sStatusCode = OK_DOWNLOAD"; -parent._sstatuscode = parent._ok_download; - //BA.debugLineNum = 183;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow"; +RDebugUtils.currentLine=7536663; + //BA.debugLineNum = 7536663;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +parent.__c.LogImpl("97536663",("Copy2 (saving) ok? TRUE"),0); +RDebugUtils.currentLine=7536664; + //BA.debugLineNum = 7536664;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._ok_download /*int*/ ; +RDebugUtils.currentLine=7536665; + //BA.debugLineNum = 7536665;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow"; if (true) break; case 14: //if this.state = 19; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 16; ;}if (true) break; case 16: //C this.state = 19; -parent.__c.LogImpl("91376281",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); +parent.__c.LogImpl("97536665",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); if (true) break; case 19: @@ -338,31 +437,35 @@ this.state = 28; case 21: //C this.state = 22; - //BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("91376283",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 186;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 187;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2"; +RDebugUtils.currentLine=7536667; + //BA.debugLineNum = 7536667;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("97536667",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=7536668; + //BA.debugLineNum = 7536668;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=7536669; + //BA.debugLineNum = 7536669;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2"; if (true) break; case 22: //if this.state = 27; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 24; ;}if (true) break; case 24: //C this.state = 27; -parent.__c.LogImpl("91376285",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("97536669",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); if (true) break; case 27: //C this.state = 28; ; - //BA.debugLineNum = 188;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tru"; +RDebugUtils.currentLine=7536670; + //BA.debugLineNum = 7536670;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tru"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_j._errormessage /*String*/ ),parent.__c.True); if (true) break; @@ -370,389 +473,648 @@ case 28: //C this.state = -1; ; - //BA.debugLineNum = 190;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 191;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 192;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7536672; + //BA.debugLineNum = 7536672;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=7536673; + //BA.debugLineNum = 7536673;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=7536674; + //BA.debugLineNum = 7536674;BA.debugLine="End Sub"; if (true) break; } } } } -public void _jobdone(gunav2.keymon.com.mx.httpjob _j) throws Exception{ +public String _finito(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "finito", true)) + {return ((String) Debug.delegate(ba, "finito", null));} +RDebugUtils.currentLine=7798784; + //BA.debugLineNum = 7798784;BA.debugLine="Private Sub Finito"; +RDebugUtils.currentLine=7798785; + //BA.debugLineNum = 7798785;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._event /*String*/ +"_UpdateComplete")) { +RDebugUtils.currentLine=7798786; + //BA.debugLineNum = 7798786;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._event /*String*/ +"_UpdateComplete"); + }; +RDebugUtils.currentLine=7798788; + //BA.debugLineNum = 7798788;BA.debugLine="End Sub"; +return ""; } -public String _extractcl(String _txtrow) throws Exception{ +public String _extractcl(gunav2.keymon.com.mx.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractcl", true)) + {return ((String) Debug.delegate(ba, "extractcl", new Object[] {_txtrow}));} int _i = 0; int _j1 = 0; int _j2 = 0; - //BA.debugLineNum = 381;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; - //BA.debugLineNum = 382;BA.debugLine="Dim i As Int"; +RDebugUtils.currentLine=8060928; + //BA.debugLineNum = 8060928;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; +RDebugUtils.currentLine=8060929; + //BA.debugLineNum = 8060929;BA.debugLine="Dim i As Int"; _i = 0; - //BA.debugLineNum = 383;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +RDebugUtils.currentLine=8060930; + //BA.debugLineNum = 8060930;BA.debugLine="i = TxtRow.IndexOf(\"\")"; _i = _txtrow.indexOf(""); - //BA.debugLineNum = 384;BA.debugLine="If i <> -1 Then"; +RDebugUtils.currentLine=8060931; + //BA.debugLineNum = 8060931;BA.debugLine="If i <> -1 Then"; if (_i!=-1) { - //BA.debugLineNum = 385;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; +RDebugUtils.currentLine=8060932; + //BA.debugLineNum = 8060932;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; _j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 386;BA.debugLine="If j1 = -1 Then"; +RDebugUtils.currentLine=8060933; + //BA.debugLineNum = 8060933;BA.debugLine="If j1 = -1 Then"; if (_j1==-1) { - //BA.debugLineNum = 387;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; +RDebugUtils.currentLine=8060934; + //BA.debugLineNum = 8060934;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; _j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 388;BA.debugLine="j1 = j2"; +RDebugUtils.currentLine=8060935; + //BA.debugLineNum = 8060935;BA.debugLine="j1 = j2"; _j1 = _j2; - //BA.debugLineNum = 389;BA.debugLine="If j1 < i Then j1 = -1"; +RDebugUtils.currentLine=8060936; + //BA.debugLineNum = 8060936;BA.debugLine="If j1 < i Then j1 = -1"; if (_j1<_i) { _j1 = (int) (-1);}; }; - //BA.debugLineNum = 391;BA.debugLine="If j1 <> -1 Then Return TxtRow.SubString2(i+11,j"; +RDebugUtils.currentLine=8060938; + //BA.debugLineNum = 8060938;BA.debugLine="If j1 <> -1 Then Return TxtRow.SubString2(i+11,j"; if (_j1!=-1) { if (true) return _txtrow.substring((int) (_i+11),_j1);} else { if (true) return _txtrow.substring((int) (_i+11));}; }else { - //BA.debugLineNum = 393;BA.debugLine="Return \"\""; +RDebugUtils.currentLine=8060940; + //BA.debugLineNum = 8060940;BA.debugLine="Return \"\""; if (true) return ""; }; - //BA.debugLineNum = 395;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8060942; + //BA.debugLineNum = 8060942;BA.debugLine="End Sub"; return ""; } -public String _extractsz(String _txtrow) throws Exception{ +public String _extractsz(gunav2.keymon.com.mx.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractsz", true)) + {return ((String) Debug.delegate(ba, "extractsz", new Object[] {_txtrow}));} int _i = 0; int _j1 = 0; int _j2 = 0; String _s = ""; - //BA.debugLineNum = 399;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; - //BA.debugLineNum = 400;BA.debugLine="Dim i As Int"; +RDebugUtils.currentLine=8126464; + //BA.debugLineNum = 8126464;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; +RDebugUtils.currentLine=8126465; + //BA.debugLineNum = 8126465;BA.debugLine="Dim i As Int"; _i = 0; - //BA.debugLineNum = 401;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +RDebugUtils.currentLine=8126466; + //BA.debugLineNum = 8126466;BA.debugLine="i = TxtRow.IndexOf(\"\")"; _i = _txtrow.indexOf(""); - //BA.debugLineNum = 402;BA.debugLine="If i <> -1 Then"; +RDebugUtils.currentLine=8126467; + //BA.debugLineNum = 8126467;BA.debugLine="If i <> -1 Then"; if (_i!=-1) { - //BA.debugLineNum = 403;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; +RDebugUtils.currentLine=8126468; + //BA.debugLineNum = 8126468;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; _j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 404;BA.debugLine="If j1 = -1 Then"; +RDebugUtils.currentLine=8126469; + //BA.debugLineNum = 8126469;BA.debugLine="If j1 = -1 Then"; if (_j1==-1) { - //BA.debugLineNum = 405;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; +RDebugUtils.currentLine=8126470; + //BA.debugLineNum = 8126470;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; _j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 406;BA.debugLine="j1 = j2"; +RDebugUtils.currentLine=8126471; + //BA.debugLineNum = 8126471;BA.debugLine="j1 = j2"; _j1 = _j2; - //BA.debugLineNum = 407;BA.debugLine="If j1 < i Then j1 = -1"; +RDebugUtils.currentLine=8126472; + //BA.debugLineNum = 8126472;BA.debugLine="If j1 < i Then j1 = -1"; if (_j1<_i) { _j1 = (int) (-1);}; }; - //BA.debugLineNum = 409;BA.debugLine="Dim s As String"; +RDebugUtils.currentLine=8126474; + //BA.debugLineNum = 8126474;BA.debugLine="Dim s As String"; _s = ""; - //BA.debugLineNum = 410;BA.debugLine="If j1 <> -1 Then s = TxtRow.SubString2(i+10,j1)"; +RDebugUtils.currentLine=8126475; + //BA.debugLineNum = 8126475;BA.debugLine="If j1 <> -1 Then s = TxtRow.SubString2(i+10,j1)"; if (_j1!=-1) { _s = _txtrow.substring((int) (_i+10),_j1);} else { _s = _txtrow.substring((int) (_i+10));}; - //BA.debugLineNum = 411;BA.debugLine="s = s.Replace(CRLF,\"\")"; +RDebugUtils.currentLine=8126476; + //BA.debugLineNum = 8126476;BA.debugLine="s = s.Replace(CRLF,\"\")"; _s = _s.replace(__c.CRLF,""); - //BA.debugLineNum = 412;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +RDebugUtils.currentLine=8126477; + //BA.debugLineNum = 8126477;BA.debugLine="s=s.Replace(Chr(13),\"\")"; _s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); - //BA.debugLineNum = 413;BA.debugLine="Return s"; +RDebugUtils.currentLine=8126478; + //BA.debugLineNum = 8126478;BA.debugLine="Return s"; if (true) return _s; }else { - //BA.debugLineNum = 415;BA.debugLine="Return \"\""; +RDebugUtils.currentLine=8126480; + //BA.debugLineNum = 8126480;BA.debugLine="Return \"\""; if (true) return ""; }; - //BA.debugLineNum = 417;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8126482; + //BA.debugLineNum = 8126482;BA.debugLine="End Sub"; return ""; } -public String _extractvn(String _txtrow) throws Exception{ +public String _extractvn(gunav2.keymon.com.mx.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractvn", true)) + {return ((String) Debug.delegate(ba, "extractvn", new Object[] {_txtrow}));} int _i = 0; int _j1 = 0; int _j2 = 0; int _j = 0; String _s = ""; - //BA.debugLineNum = 360;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; - //BA.debugLineNum = 361;BA.debugLine="Dim i As Int"; +RDebugUtils.currentLine=7995392; + //BA.debugLineNum = 7995392;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; +RDebugUtils.currentLine=7995393; + //BA.debugLineNum = 7995393;BA.debugLine="Dim i As Int"; _i = 0; - //BA.debugLineNum = 362;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; +RDebugUtils.currentLine=7995394; + //BA.debugLineNum = 7995394;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; _i = _txtrow.indexOf("="); - //BA.debugLineNum = 363;BA.debugLine="If i <> -1 Then"; +RDebugUtils.currentLine=7995395; + //BA.debugLineNum = 7995395;BA.debugLine="If i <> -1 Then"; if (_i!=-1) { - //BA.debugLineNum = 364;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; +RDebugUtils.currentLine=7995396; + //BA.debugLineNum = 7995396;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; _j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 365;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; +RDebugUtils.currentLine=7995397; + //BA.debugLineNum = 7995397;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; _j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 366;BA.debugLine="Dim j As Int = Min(j1, j2)"; +RDebugUtils.currentLine=7995398; + //BA.debugLineNum = 7995398;BA.debugLine="Dim j As Int = Min(j1, j2)"; _j = (int) (__c.Min(_j1,_j2)); - //BA.debugLineNum = 367;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; +RDebugUtils.currentLine=7995399; + //BA.debugLineNum = 7995399;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; if (_j==-1) { _j = (int) (__c.Max(_j1,_j2));}; - //BA.debugLineNum = 368;BA.debugLine="Dim s As String"; +RDebugUtils.currentLine=7995400; + //BA.debugLineNum = 7995400;BA.debugLine="Dim s As String"; _s = ""; - //BA.debugLineNum = 369;BA.debugLine="If j <> - 1 Then s=TxtRow.SubString2(i+1,j) Else"; +RDebugUtils.currentLine=7995401; + //BA.debugLineNum = 7995401;BA.debugLine="If j <> - 1 Then s=TxtRow.SubString2(i+1,j) Else"; if (_j!=-1) { _s = _txtrow.substring((int) (_i+1),_j);} else { _s = _txtrow.substring((int) (_i+1));}; - //BA.debugLineNum = 370;BA.debugLine="s=s.Replace(CRLF,\"\")"; +RDebugUtils.currentLine=7995402; + //BA.debugLineNum = 7995402;BA.debugLine="s=s.Replace(CRLF,\"\")"; _s = _s.replace(__c.CRLF,""); - //BA.debugLineNum = 371;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +RDebugUtils.currentLine=7995403; + //BA.debugLineNum = 7995403;BA.debugLine="s=s.Replace(Chr(13),\"\")"; _s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); - //BA.debugLineNum = 372;BA.debugLine="Return s"; +RDebugUtils.currentLine=7995404; + //BA.debugLineNum = 7995404;BA.debugLine="Return s"; if (true) return _s; }else { - //BA.debugLineNum = 374;BA.debugLine="Return \"\""; +RDebugUtils.currentLine=7995406; + //BA.debugLineNum = 7995406;BA.debugLine="Return \"\""; if (true) return ""; }; - //BA.debugLineNum = 376;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7995408; + //BA.debugLineNum = 7995408;BA.debugLine="End Sub"; return ""; } -public String _finito() throws Exception{ - //BA.debugLineNum = 290;BA.debugLine="Private Sub Finito"; - //BA.debugLineNum = 291;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; -if (__c.SubExists(ba,_callback,_event+"_UpdateComplete")) { - //BA.debugLineNum = 292;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; -__c.CallSubNew(ba,_callback,_event+"_UpdateComplete"); - }; - //BA.debugLineNum = 294;BA.debugLine="End Sub"; -return ""; -} -public long _getavailablespace() throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Public Sub GetAvailableSpace As Long"; - //BA.debugLineNum = 138;BA.debugLine="Return GetFreeSpace"; -if (true) return _getfreespace(); - //BA.debugLineNum = 139;BA.debugLine="End Sub"; +public long _getavailablespace(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getavailablespace", true)) + {return ((Long) Debug.delegate(ba, "getavailablespace", null));} +RDebugUtils.currentLine=7340032; + //BA.debugLineNum = 7340032;BA.debugLine="Public Sub GetAvailableSpace As Long"; +RDebugUtils.currentLine=7340033; + //BA.debugLineNum = 7340033;BA.debugLine="Return GetFreeSpace"; +if (true) return __ref._getfreespace /*long*/ (null); +RDebugUtils.currentLine=7340034; + //BA.debugLineNum = 7340034;BA.debugLine="End Sub"; return 0L; } -public String _getcurvn() throws Exception{ - //BA.debugLineNum = 114;BA.debugLine="Public Sub getCurVN As String"; - //BA.debugLineNum = 115;BA.debugLine="Return curver"; -if (true) return _curver; - //BA.debugLineNum = 116;BA.debugLine="End Sub"; +public long _getfreespace(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getfreespace", true)) + {return ((Long) Debug.delegate(ba, "getfreespace", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=8192000; + //BA.debugLineNum = 8192000;BA.debugLine="Private Sub GetFreeSpace As Long"; +RDebugUtils.currentLine=8192001; + //BA.debugLineNum = 8192001;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=8192002; + //BA.debugLineNum = 8192002;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_jo.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ )}); +RDebugUtils.currentLine=8192003; + //BA.debugLineNum = 8192003;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; +if (true) return BA.ObjectToLongNumber(_jo.RunMethod("getFreeSpace",(Object[])(__c.Null))); +RDebugUtils.currentLine=8192004; + //BA.debugLineNum = 8192004;BA.debugLine="End Sub"; +return 0L; +} +public String _getcurvn(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getcurvn", true)) + {return ((String) Debug.delegate(ba, "getcurvn", null));} +RDebugUtils.currentLine=7077888; + //BA.debugLineNum = 7077888;BA.debugLine="Public Sub getCurVN As String"; +RDebugUtils.currentLine=7077889; + //BA.debugLineNum = 7077889;BA.debugLine="Return curver"; +if (true) return __ref._curver /*String*/ ; +RDebugUtils.currentLine=7077890; + //BA.debugLineNum = 7077890;BA.debugLine="End Sub"; return ""; } -public Object _getfileuri(String _filename) throws Exception{ +public Object _getfileuri(gunav2.keymon.com.mx.cl_appupdate __ref,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getfileuri", true)) + {return ((Object) Debug.delegate(ba, "getfileuri", new Object[] {_filename}));} anywheresoftware.b4j.object.JavaObject _uri = null; anywheresoftware.b4j.object.JavaObject _f = null; anywheresoftware.b4j.object.JavaObject _fp = null; anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 503;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; - //BA.debugLineNum = 504;BA.debugLine="If UseFileProvider = False Then"; -if (_usefileprovider==__c.False) { - //BA.debugLineNum = 505;BA.debugLine="Dim uri As JavaObject"; +RDebugUtils.currentLine=8585216; + //BA.debugLineNum = 8585216;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; +RDebugUtils.currentLine=8585217; + //BA.debugLineNum = 8585217;BA.debugLine="If UseFileProvider = False Then"; +if (__ref._usefileprovider /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=8585218; + //BA.debugLineNum = 8585218;BA.debugLine="Dim uri As JavaObject"; _uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 506;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; -if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(_sharedfolder,_filename))}); +RDebugUtils.currentLine=8585219; + //BA.debugLineNum = 8585219;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; +if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(__ref._sharedfolder /*String*/ ,_filename))}); }else { - //BA.debugLineNum = 508;BA.debugLine="Dim f As JavaObject"; +RDebugUtils.currentLine=8585221; + //BA.debugLineNum = 8585221;BA.debugLine="Dim f As JavaObject"; _f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 509;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 510;BA.debugLine="Dim fp As JavaObject"; +RDebugUtils.currentLine=8585222; + //BA.debugLineNum = 8585222;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ ),(Object)(_filename)}); +RDebugUtils.currentLine=8585223; + //BA.debugLineNum = 8585223;BA.debugLine="Dim fp As JavaObject"; _fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 511;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=8585224; + //BA.debugLineNum = 8585224;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 512;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=8585225; + //BA.debugLineNum = 8585225;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 513;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +RDebugUtils.currentLine=8585226; + //BA.debugLineNum = 8585226;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; _fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 514;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +RDebugUtils.currentLine=8585227; + //BA.debugLineNum = 8585227;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(__c.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); }; - //BA.debugLineNum = 516;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8585229; + //BA.debugLineNum = 8585229;BA.debugLine="End Sub"; return null; } -public long _getfreespace() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 421;BA.debugLine="Private Sub GetFreeSpace As Long"; - //BA.debugLineNum = 422;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 423;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_jo.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder)}); - //BA.debugLineNum = 424;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; -if (true) return BA.ObjectToLongNumber(_jo.RunMethod("getFreeSpace",(Object[])(__c.Null))); - //BA.debugLineNum = 425;BA.debugLine="End Sub"; -return 0L; -} -public String _getnmappinst() throws Exception{ +public String _getnmappinst(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getnmappinst", true)) + {return ((String) Debug.delegate(ba, "getnmappinst", null));} anywheresoftware.b4j.object.JavaObject _jo = null; anywheresoftware.b4j.object.JavaObject _context = null; anywheresoftware.b4j.object.JavaObject _resolver = null; - //BA.debugLineNum = 435;BA.debugLine="Private Sub GetNMAppInst As String"; - //BA.debugLineNum = 436;BA.debugLine="Dim jo As JavaObject"; +RDebugUtils.currentLine=8323072; + //BA.debugLineNum = 8323072;BA.debugLine="Private Sub GetNMAppInst As String"; +RDebugUtils.currentLine=8323073; + //BA.debugLineNum = 8323073;BA.debugLine="Dim jo As JavaObject"; _jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 437;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; +RDebugUtils.currentLine=8323074; + //BA.debugLineNum = 8323074;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; _jo.InitializeStatic("android.provider.Settings.Secure"); - //BA.debugLineNum = 438;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=8323075; + //BA.debugLineNum = 8323075;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 439;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=8323076; + //BA.debugLineNum = 8323076;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 440;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\"g"; +RDebugUtils.currentLine=8323077; + //BA.debugLineNum = 8323077;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\"g"; _resolver = new anywheresoftware.b4j.object.JavaObject(); _resolver = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_context.RunMethod("getContentResolver",(Object[])(__c.Null)))); - //BA.debugLineNum = 441;BA.debugLine="Return jo.RunMethod(\"getString\", Array(resolver,"; +RDebugUtils.currentLine=8323078; + //BA.debugLineNum = 8323078;BA.debugLine="Return jo.RunMethod(\"getString\", Array(resolver,"; if (true) return BA.ObjectToString(_jo.RunMethod("getString",new Object[]{(Object)(_resolver.getObject()),(Object)("install_non_market_apps")})); - //BA.debugLineNum = 442;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8323079; + //BA.debugLineNum = 8323079;BA.debugLine="End Sub"; return ""; } -public String _getpackagename() throws Exception{ - //BA.debugLineNum = 79;BA.debugLine="Public Sub getPackageName As String"; - //BA.debugLineNum = 80;BA.debugLine="Return sPackageName"; -if (true) return _spackagename; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; +public String _getpackagename(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getpackagename", true)) + {return ((String) Debug.delegate(ba, "getpackagename", null));} +RDebugUtils.currentLine=6684672; + //BA.debugLineNum = 6684672;BA.debugLine="Public Sub getPackageName As String"; +RDebugUtils.currentLine=6684673; + //BA.debugLineNum = 6684673;BA.debugLine="Return sPackageName"; +if (true) return __ref._spackagename /*String*/ ; +RDebugUtils.currentLine=6684674; + //BA.debugLineNum = 6684674;BA.debugLine="End Sub"; return ""; } -public int _getsdkversion() throws Exception{ +public int _getsdkversion(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getsdkversion", true)) + {return ((Integer) Debug.delegate(ba, "getsdkversion", null));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 428;BA.debugLine="Private Sub GetSDKVersion As Int"; - //BA.debugLineNum = 429;BA.debugLine="Dim jo As JavaObject"; +RDebugUtils.currentLine=8257536; + //BA.debugLineNum = 8257536;BA.debugLine="Private Sub GetSDKVersion As Int"; +RDebugUtils.currentLine=8257537; + //BA.debugLineNum = 8257537;BA.debugLine="Dim jo As JavaObject"; _jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 430;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; +RDebugUtils.currentLine=8257538; + //BA.debugLineNum = 8257538;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; _jo.InitializeStatic("android.os.Build.VERSION"); - //BA.debugLineNum = 431;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; +RDebugUtils.currentLine=8257539; + //BA.debugLineNum = 8257539;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; if (true) return (int)(BA.ObjectToNumber(_jo.GetField("SDK_INT"))); - //BA.debugLineNum = 432;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8257540; + //BA.debugLineNum = 8257540;BA.debugLine="End Sub"; return 0; } -public int _getstatus() throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub getStatus As Int"; - //BA.debugLineNum = 109;BA.debugLine="Return sStatusCode"; -if (true) return _sstatuscode; - //BA.debugLineNum = 110;BA.debugLine="End Sub"; +public int _getstatus(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getstatus", true)) + {return ((Integer) Debug.delegate(ba, "getstatus", null));} +RDebugUtils.currentLine=7012352; + //BA.debugLineNum = 7012352;BA.debugLine="Public Sub getStatus As Int"; +RDebugUtils.currentLine=7012353; + //BA.debugLineNum = 7012353;BA.debugLine="Return sStatusCode"; +if (true) return __ref._sstatuscode /*int*/ ; +RDebugUtils.currentLine=7012354; + //BA.debugLineNum = 7012354;BA.debugLine="End Sub"; return 0; } -public String _getwebchangelog() throws Exception{ - //BA.debugLineNum = 126;BA.debugLine="Public Sub getWebChangeLog As String"; - //BA.debugLineNum = 127;BA.debugLine="Return webclog"; -if (true) return _webclog; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; +public String _getwebchangelog(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebchangelog", true)) + {return ((String) Debug.delegate(ba, "getwebchangelog", null));} +RDebugUtils.currentLine=7208960; + //BA.debugLineNum = 7208960;BA.debugLine="Public Sub getWebChangeLog As String"; +RDebugUtils.currentLine=7208961; + //BA.debugLineNum = 7208961;BA.debugLine="Return webclog"; +if (true) return __ref._webclog /*String*/ ; +RDebugUtils.currentLine=7208962; + //BA.debugLineNum = 7208962;BA.debugLine="End Sub"; return ""; } -public String _getwebfilesize() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Public Sub getWebFileSize As String"; - //BA.debugLineNum = 133;BA.debugLine="Return webfsize"; -if (true) return _webfsize; - //BA.debugLineNum = 134;BA.debugLine="End Sub"; +public String _getwebfilesize(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebfilesize", true)) + {return ((String) Debug.delegate(ba, "getwebfilesize", null));} +RDebugUtils.currentLine=7274496; + //BA.debugLineNum = 7274496;BA.debugLine="Public Sub getWebFileSize As String"; +RDebugUtils.currentLine=7274497; + //BA.debugLineNum = 7274497;BA.debugLine="Return webfsize"; +if (true) return __ref._webfsize /*String*/ ; +RDebugUtils.currentLine=7274498; + //BA.debugLineNum = 7274498;BA.debugLine="End Sub"; return ""; } -public String _getwebvn() throws Exception{ - //BA.debugLineNum = 120;BA.debugLine="Public Sub getWebVN As String"; - //BA.debugLineNum = 121;BA.debugLine="Return webver"; -if (true) return _webver; - //BA.debugLineNum = 122;BA.debugLine="End Sub"; +public String _getwebvn(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebvn", true)) + {return ((String) Debug.delegate(ba, "getwebvn", null));} +RDebugUtils.currentLine=7143424; + //BA.debugLineNum = 7143424;BA.debugLine="Public Sub getWebVN As String"; +RDebugUtils.currentLine=7143425; + //BA.debugLineNum = 7143425;BA.debugLine="Return webver"; +if (true) return __ref._webver /*String*/ ; +RDebugUtils.currentLine=7143426; + //BA.debugLineNum = 7143426;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callbackmodule,String _eventname) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.cl_appupdate __ref,anywheresoftware.b4a.BA _ba,Object _callbackmodule,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callbackmodule,_eventname}));} anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 48;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; - //BA.debugLineNum = 49;BA.debugLine="Callback = CallbackModule"; -_callback = _callbackmodule; - //BA.debugLineNum = 50;BA.debugLine="Event = EventName"; -_event = _eventname; - //BA.debugLineNum = 51;BA.debugLine="sPackageName = \"\""; -_spackagename = ""; - //BA.debugLineNum = 52;BA.debugLine="sNewVerTxt = \"\""; -_snewvertxt = ""; - //BA.debugLineNum = 53;BA.debugLine="sNewVerApk = \"\""; -_snewverapk = ""; - //BA.debugLineNum = 54;BA.debugLine="sUserName = \"\""; -_susername = ""; - //BA.debugLineNum = 55;BA.debugLine="sUPassword = \"\""; -_supassword = ""; - //BA.debugLineNum = 56;BA.debugLine="sStatusCode = OK_INIT"; -_sstatuscode = _ok_init; - //BA.debugLineNum = 57;BA.debugLine="curver = \"\""; -_curver = ""; - //BA.debugLineNum = 58;BA.debugLine="webver = \"\""; -_webver = ""; - //BA.debugLineNum = 59;BA.debugLine="sVerbose = False"; -_sverbose = __c.False; - //BA.debugLineNum = 60;BA.debugLine="Dim p As Phone"; +RDebugUtils.currentLine=6553600; + //BA.debugLineNum = 6553600;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; +RDebugUtils.currentLine=6553601; + //BA.debugLineNum = 6553601;BA.debugLine="Callback = CallbackModule"; +__ref._callback /*Object*/ = _callbackmodule; +RDebugUtils.currentLine=6553602; + //BA.debugLineNum = 6553602;BA.debugLine="Event = EventName"; +__ref._event /*String*/ = _eventname; +RDebugUtils.currentLine=6553603; + //BA.debugLineNum = 6553603;BA.debugLine="sPackageName = \"\""; +__ref._spackagename /*String*/ = ""; +RDebugUtils.currentLine=6553604; + //BA.debugLineNum = 6553604;BA.debugLine="sNewVerTxt = \"\""; +__ref._snewvertxt /*String*/ = ""; +RDebugUtils.currentLine=6553605; + //BA.debugLineNum = 6553605;BA.debugLine="sNewVerApk = \"\""; +__ref._snewverapk /*String*/ = ""; +RDebugUtils.currentLine=6553606; + //BA.debugLineNum = 6553606;BA.debugLine="sUserName = \"\""; +__ref._susername /*String*/ = ""; +RDebugUtils.currentLine=6553607; + //BA.debugLineNum = 6553607;BA.debugLine="sUPassword = \"\""; +__ref._supassword /*String*/ = ""; +RDebugUtils.currentLine=6553608; + //BA.debugLineNum = 6553608;BA.debugLine="sStatusCode = OK_INIT"; +__ref._sstatuscode /*int*/ = __ref._ok_init /*int*/ ; +RDebugUtils.currentLine=6553609; + //BA.debugLineNum = 6553609;BA.debugLine="curver = \"\""; +__ref._curver /*String*/ = ""; +RDebugUtils.currentLine=6553610; + //BA.debugLineNum = 6553610;BA.debugLine="webver = \"\""; +__ref._webver /*String*/ = ""; +RDebugUtils.currentLine=6553611; + //BA.debugLineNum = 6553611;BA.debugLine="sVerbose = False"; +__ref._sverbose /*boolean*/ = __c.False; +RDebugUtils.currentLine=6553612; + //BA.debugLineNum = 6553612;BA.debugLine="Dim p As Phone"; _p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 61;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +RDebugUtils.currentLine=6553613; + //BA.debugLineNum = 6553613;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { - //BA.debugLineNum = 62;BA.debugLine="UseFileProvider = True"; -_usefileprovider = __c.True; - //BA.debugLineNum = 63;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; -_sharedfolder = __c.File.Combine(__c.File.getDirInternal(),"shared"); - //BA.debugLineNum = 64;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; -__c.File.MakeDir("",_sharedfolder); +RDebugUtils.currentLine=6553614; + //BA.debugLineNum = 6553614;BA.debugLine="UseFileProvider = True"; +__ref._usefileprovider /*boolean*/ = __c.True; +RDebugUtils.currentLine=6553615; + //BA.debugLineNum = 6553615;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +__ref._sharedfolder /*String*/ = __c.File.Combine(__c.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=6553616; + //BA.debugLineNum = 6553616;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +__c.File.MakeDir("",__ref._sharedfolder /*String*/ ); }else { - //BA.debugLineNum = 66;BA.debugLine="UseFileProvider = False"; -_usefileprovider = __c.False; - //BA.debugLineNum = 67;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; -_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); +RDebugUtils.currentLine=6553618; + //BA.debugLineNum = 6553618;BA.debugLine="UseFileProvider = False"; +__ref._usefileprovider /*boolean*/ = __c.False; +RDebugUtils.currentLine=6553619; + //BA.debugLineNum = 6553619;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +__ref._sharedfolder /*String*/ = __ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .GetSafeDirDefaultExternal("shared"); }; - //BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; -__c.LogImpl("9393237",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6553621; + //BA.debugLineNum = 6553621;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; +__c.LogImpl("96553621",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(__ref._usefileprovider /*boolean*/ ))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(__ref._sharedfolder /*String*/ ))+""),0); +RDebugUtils.currentLine=6553622; + //BA.debugLineNum = 6553622;BA.debugLine="End Sub"; return ""; } -public String _installapk(boolean _pstatus) throws Exception{ - //BA.debugLineNum = 195;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; - //BA.debugLineNum = 196;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; -__c.LogImpl("91441793","---- AppUpdating.InstallApk",_logcolor1); - //BA.debugLineNum = 197;BA.debugLine="If pstatus Then"; +public String _installapk(gunav2.keymon.com.mx.cl_appupdate __ref,boolean _pstatus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "installapk", true)) + {return ((String) Debug.delegate(ba, "installapk", new Object[] {_pstatus}));} +RDebugUtils.currentLine=7602176; + //BA.debugLineNum = 7602176;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; +RDebugUtils.currentLine=7602177; + //BA.debugLineNum = 7602177;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; +__c.LogImpl("97602177","---- AppUpdating.InstallApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=7602178; + //BA.debugLineNum = 7602178;BA.debugLine="If pstatus Then"; if (_pstatus) { - //BA.debugLineNum = 198;BA.debugLine="SendInstallIntent"; -_sendinstallintent(); - //BA.debugLineNum = 199;BA.debugLine="sStatusCode = OK_INSTALL"; -_sstatuscode = _ok_install; - //BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; -if (_sverbose) { -__c.LogImpl("91441797",__c.TAB+"user asked to install new apk",0);}; +RDebugUtils.currentLine=7602179; + //BA.debugLineNum = 7602179;BA.debugLine="SendInstallIntent"; +__ref._sendinstallintent /*String*/ (null); +RDebugUtils.currentLine=7602180; + //BA.debugLineNum = 7602180;BA.debugLine="sStatusCode = OK_INSTALL"; +__ref._sstatuscode /*int*/ = __ref._ok_install /*int*/ ; +RDebugUtils.currentLine=7602181; + //BA.debugLineNum = 7602181;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("97602181",__c.TAB+"user asked to install new apk",0);}; }else { - //BA.debugLineNum = 202;BA.debugLine="sStatusCode = ERR_NOPERM"; -_sstatuscode = _err_noperm; - //BA.debugLineNum = 203;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; -if (_sverbose) { -__c.LogImpl("91441800",__c.TAB+"no permissions from user to install new apk",0);}; +RDebugUtils.currentLine=7602183; + //BA.debugLineNum = 7602183;BA.debugLine="sStatusCode = ERR_NOPERM"; +__ref._sstatuscode /*int*/ = __ref._err_noperm /*int*/ ; +RDebugUtils.currentLine=7602184; + //BA.debugLineNum = 7602184;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("97602184",__c.TAB+"no permissions from user to install new apk",0);}; }; - //BA.debugLineNum = 205;BA.debugLine="Finito"; -_finito(); - //BA.debugLineNum = 206;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7602186; + //BA.debugLineNum = 7602186;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=7602187; + //BA.debugLineNum = 7602187;BA.debugLine="End Sub"; return ""; } -public boolean _isvalidcv() throws Exception{ -anywheresoftware.b4a.phone.PackageManagerWrapper _pm = null; - //BA.debugLineNum = 297;BA.debugLine="Private Sub IsValidCV As Boolean"; - //BA.debugLineNum = 298;BA.debugLine="If sPackageName = \"\" Then"; -if ((_spackagename).equals("")) { - //BA.debugLineNum = 299;BA.debugLine="curver = \"\""; -_curver = ""; - //BA.debugLineNum = 300;BA.debugLine="sStatusCode = ERR_NOPKG"; -_sstatuscode = _err_nopkg; - //BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; -if (_sverbose) { -__c.LogImpl("91703940",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; +public String _sendinstallintent(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "sendinstallintent", true)) + {return ((String) Debug.delegate(ba, "sendinstallintent", null));} +String _apkname = ""; +anywheresoftware.b4a.objects.IntentWrapper _i = null; +RDebugUtils.currentLine=8519680; + //BA.debugLineNum = 8519680;BA.debugLine="Private Sub SendInstallIntent"; +RDebugUtils.currentLine=8519681; + //BA.debugLineNum = 8519681;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; +_apkname = "tmp.apk"; +RDebugUtils.currentLine=8519682; + //BA.debugLineNum = 8519682;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=8519683; + //BA.debugLineNum = 8519683;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=24) { +RDebugUtils.currentLine=8519684; + //BA.debugLineNum = 8519684;BA.debugLine="i.Initialize(\"android.intent.action.INSTALL_PACK"; +_i.Initialize("android.intent.action.INSTALL_PACKAGE",BA.ObjectToString(__ref._getfileuri /*Object*/ (null,_apkname))); +RDebugUtils.currentLine=8519685; + //BA.debugLineNum = 8519685;BA.debugLine="i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_UR"; +_i.setFlags(__c.Bit.Or(_i.getFlags(),(int) (1))); }else { - //BA.debugLineNum = 303;BA.debugLine="Dim pm As PackageManager"; -_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper(); - //BA.debugLineNum = 304;BA.debugLine="curver = pm.GetVersionName(sPackageName)"; -_curver = _pm.GetVersionName(_spackagename); - //BA.debugLineNum = 305;BA.debugLine="sStatusCode = OK_CURVER 'got current ve"; -_sstatuscode = _ok_curver; - //BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; -if (_sverbose) { -__c.LogImpl("91703945",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);}; +RDebugUtils.currentLine=8519687; + //BA.debugLineNum = 8519687;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +_i.Initialize(_i.ACTION_VIEW,"file://"+__c.File.Combine(__ref._sharedfolder /*String*/ ,_apkname)); +RDebugUtils.currentLine=8519688; + //BA.debugLineNum = 8519688;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +_i.SetType("application/vnd.android.package-archive"); }; - //BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)"; -if (true) return (_sstatuscode==_ok_curver); - //BA.debugLineNum = 309;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8519690; + //BA.debugLineNum = 8519690;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); +RDebugUtils.currentLine=8519691; + //BA.debugLineNum = 8519691;BA.debugLine="End Sub"; +return ""; +} +public boolean _isvalidcv(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "isvalidcv", true)) + {return ((Boolean) Debug.delegate(ba, "isvalidcv", null));} +anywheresoftware.b4a.phone.PackageManagerWrapper _pm = null; +RDebugUtils.currentLine=7864320; + //BA.debugLineNum = 7864320;BA.debugLine="Private Sub IsValidCV As Boolean"; +RDebugUtils.currentLine=7864321; + //BA.debugLineNum = 7864321;BA.debugLine="If sPackageName = \"\" Then"; +if ((__ref._spackagename /*String*/ ).equals("")) { +RDebugUtils.currentLine=7864322; + //BA.debugLineNum = 7864322;BA.debugLine="curver = \"\""; +__ref._curver /*String*/ = ""; +RDebugUtils.currentLine=7864323; + //BA.debugLineNum = 7864323;BA.debugLine="sStatusCode = ERR_NOPKG"; +__ref._sstatuscode /*int*/ = __ref._err_nopkg /*int*/ ; +RDebugUtils.currentLine=7864324; + //BA.debugLineNum = 7864324;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("97864324",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; + }else { +RDebugUtils.currentLine=7864326; + //BA.debugLineNum = 7864326;BA.debugLine="Dim pm As PackageManager"; +_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper(); +RDebugUtils.currentLine=7864327; + //BA.debugLineNum = 7864327;BA.debugLine="curver = pm.GetVersionName(sPackageName)"; +__ref._curver /*String*/ = _pm.GetVersionName(__ref._spackagename /*String*/ ); +RDebugUtils.currentLine=7864328; + //BA.debugLineNum = 7864328;BA.debugLine="sStatusCode = OK_CURVER 'got current ve"; +__ref._sstatuscode /*int*/ = __ref._ok_curver /*int*/ ; +RDebugUtils.currentLine=7864329; + //BA.debugLineNum = 7864329;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("97864329",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(__ref._curver /*String*/ ))+""),0);}; + }; +RDebugUtils.currentLine=7864331; + //BA.debugLineNum = 7864331;BA.debugLine="Return (sStatusCode == OK_CURVER)"; +if (true) return (__ref._sstatuscode /*int*/ ==__ref._ok_curver /*int*/ ); +RDebugUtils.currentLine=7864332; + //BA.debugLineNum = 7864332;BA.debugLine="End Sub"; return false; } -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _isvalidwv() throws Exception{ -ResumableSub_IsvalidWV rsub = new ResumableSub_IsvalidWV(this); +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _isvalidwv(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "isvalidwv", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "isvalidwv", null));} +ResumableSub_IsvalidWV rsub = new ResumableSub_IsvalidWV(this,__ref); rsub.resume(ba, null); return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); } public static class ResumableSub_IsvalidWV extends BA.ResumableSub { -public ResumableSub_IsvalidWV(gunav2.keymon.com.mx.cl_appupdate parent) { +public ResumableSub_IsvalidWV(gunav2.keymon.com.mx.cl_appupdate parent,gunav2.keymon.com.mx.cl_appupdate __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.cl_appupdate __ref; gunav2.keymon.com.mx.cl_appupdate parent; gunav2.keymon.com.mx.httpjob _j = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { switch (state) { @@ -762,15 +1124,17 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")"; -parent.__c.LogImpl("91769473","IsValidComplete start",0); - //BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then"; +RDebugUtils.currentLine=7929857; + //BA.debugLineNum = 7929857;BA.debugLine="Log(\"IsValidComplete start\")"; +parent.__c.LogImpl("97929857","IsValidComplete start",0); +RDebugUtils.currentLine=7929858; + //BA.debugLineNum = 7929858;BA.debugLine="If sNewVerTxt = \"\" Then"; if (true) break; case 1: //if this.state = 60; -if ((parent._snewvertxt).equals("")) { +if ((__ref._snewvertxt /*String*/ ).equals("")) { this.state = 3; }else { this.state = 11; @@ -779,24 +1143,27 @@ this.state = 11; case 3: //C this.state = 4; - //BA.debugLineNum = 315;BA.debugLine="webver = \"\""; -parent._webver = ""; - //BA.debugLineNum = 316;BA.debugLine="sStatusCode = ERR_NOTXT"; -parent._sstatuscode = parent._err_notxt; - //BA.debugLineNum = 317;BA.debugLine="If sVerbose Then Log($\"${TAB}missing info file f"; +RDebugUtils.currentLine=7929859; + //BA.debugLineNum = 7929859;BA.debugLine="webver = \"\""; +__ref._webver /*String*/ = ""; +RDebugUtils.currentLine=7929860; + //BA.debugLineNum = 7929860;BA.debugLine="sStatusCode = ERR_NOTXT"; +__ref._sstatuscode /*int*/ = __ref._err_notxt /*int*/ ; +RDebugUtils.currentLine=7929861; + //BA.debugLineNum = 7929861;BA.debugLine="If sVerbose Then Log($\"${TAB}missing info file f"; if (true) break; case 4: //if this.state = 9; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 6; ;}if (true) break; case 6: //C this.state = 9; -parent.__c.LogImpl("91769477",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0); +parent.__c.LogImpl("97929861",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0); if (true) break; case 9: @@ -808,30 +1175,39 @@ this.state = 60; case 11: //C this.state = 12; - //BA.debugLineNum = 320;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=7929864; + //BA.debugLineNum = 7929864;BA.debugLine="Dim j As HttpJob"; _j = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 321;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 322;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 323;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; -_j._download /*String*/ (parent._snewvertxt); - //BA.debugLineNum = 325;BA.debugLine="Log(\"before\")"; -parent.__c.LogImpl("91769485","before",0); - //BA.debugLineNum = 326;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); +RDebugUtils.currentLine=7929865; + //BA.debugLineNum = 7929865;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=7929866; + //BA.debugLineNum = 7929866;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=7929867; + //BA.debugLineNum = 7929867;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=7929868; + //BA.debugLineNum = 7929868;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; +_j._download /*String*/ (null,__ref._snewvertxt /*String*/ ); +RDebugUtils.currentLine=7929869; + //BA.debugLineNum = 7929869;BA.debugLine="Log(\"before\")"; +parent.__c.LogImpl("97929869","before",0); +RDebugUtils.currentLine=7929870; + //BA.debugLineNum = 7929870;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "isvalidwv"), (Object)(_j)); this.state = 61; return; case 61: //C this.state = 12; -_j = (gunav2.keymon.com.mx.httpjob) result[0]; +_j = (gunav2.keymon.com.mx.httpjob) result[1]; ; - //BA.debugLineNum = 327;BA.debugLine="Log(\"after\")"; -parent.__c.LogImpl("91769487","after",0); - //BA.debugLineNum = 328;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=7929871; + //BA.debugLineNum = 7929871;BA.debugLine="Log(\"after\")"; +parent.__c.LogImpl("97929871","after",0); +RDebugUtils.currentLine=7929872; + //BA.debugLineNum = 7929872;BA.debugLine="If j.Success Then"; if (true) break; case 12: @@ -846,33 +1222,35 @@ this.state = 52; case 14: //C this.state = 15; - //BA.debugLineNum = 329;BA.debugLine="If sVerbose Then Log($\"Webserver's info file co"; +RDebugUtils.currentLine=7929873; + //BA.debugLineNum = 7929873;BA.debugLine="If sVerbose Then Log($\"Webserver's info file co"; if (true) break; case 15: //if this.state = 20; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 17; ;}if (true) break; case 17: //C this.state = 20; -parent.__c.LogImpl("91769489",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0); +parent.__c.LogImpl("97929873",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ (null)))+""),0); if (true) break; case 20: //C this.state = 21; ; - //BA.debugLineNum = 330;BA.debugLine="If Not(J.GetString.Contains(\"\"))"; +RDebugUtils.currentLine=7929874; + //BA.debugLineNum = 7929874;BA.debugLine="If Not(J.GetString.Contains(\"\"))"; if (true) break; case 21: //if this.state = 50; -if (parent.__c.Not(_j._getstring /*String*/ ().contains(""))) { +if (parent.__c.Not(_j._getstring /*String*/ (null).contains(""))) { this.state = 23; }else { this.state = 43; @@ -881,19 +1259,23 @@ this.state = 43; case 23: //C this.state = 24; - //BA.debugLineNum = 331;BA.debugLine="webver = ExtractVN(J.GetString)"; -parent._webver = parent._extractvn(_j._getstring /*String*/ ()); - //BA.debugLineNum = 332;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; -parent._webclog = parent._extractcl(_j._getstring /*String*/ ()); - //BA.debugLineNum = 333;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; -parent._webfsize = parent._extractsz(_j._getstring /*String*/ ()); - //BA.debugLineNum = 334;BA.debugLine="If webver = \"\" Then"; +RDebugUtils.currentLine=7929875; + //BA.debugLineNum = 7929875;BA.debugLine="webver = ExtractVN(J.GetString)"; +__ref._webver /*String*/ = __ref._extractvn /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=7929876; + //BA.debugLineNum = 7929876;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; +__ref._webclog /*String*/ = __ref._extractcl /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=7929877; + //BA.debugLineNum = 7929877;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; +__ref._webfsize /*String*/ = __ref._extractsz /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=7929878; + //BA.debugLineNum = 7929878;BA.debugLine="If webver = \"\" Then"; if (true) break; case 24: //if this.state = 41; -if ((parent._webver).equals("")) { +if ((__ref._webver /*String*/ ).equals("")) { this.state = 26; }else { this.state = 34; @@ -902,22 +1284,24 @@ this.state = 34; case 26: //C this.state = 27; - //BA.debugLineNum = 335;BA.debugLine="sStatusCode = ERR_TXTROW"; -parent._sstatuscode = parent._err_txtrow; - //BA.debugLineNum = 336;BA.debugLine="If sVerbose Then Log($\"${TAB}wrong row format"; +RDebugUtils.currentLine=7929879; + //BA.debugLineNum = 7929879;BA.debugLine="sStatusCode = ERR_TXTROW"; +__ref._sstatuscode /*int*/ = __ref._err_txtrow /*int*/ ; +RDebugUtils.currentLine=7929880; + //BA.debugLineNum = 7929880;BA.debugLine="If sVerbose Then Log($\"${TAB}wrong row format"; if (true) break; case 27: //if this.state = 32; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 29; ;}if (true) break; case 29: //C this.state = 32; -parent.__c.LogImpl("91769496",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0); +parent.__c.LogImpl("97929880",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0); if (true) break; case 32: @@ -929,22 +1313,24 @@ this.state = 41; case 34: //C this.state = 35; - //BA.debugLineNum = 338;BA.debugLine="sStatusCode = OK_WEBVER 'read apk's ver"; -parent._sstatuscode = parent._ok_webver; - //BA.debugLineNum = 339;BA.debugLine="If sVerbose Then Log($\"${TAB}Web version numb"; +RDebugUtils.currentLine=7929882; + //BA.debugLineNum = 7929882;BA.debugLine="sStatusCode = OK_WEBVER 'read apk's ver"; +__ref._sstatuscode /*int*/ = __ref._ok_webver /*int*/ ; +RDebugUtils.currentLine=7929883; + //BA.debugLineNum = 7929883;BA.debugLine="If sVerbose Then Log($\"${TAB}Web version numb"; if (true) break; case 35: //if this.state = 40; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 37; ;}if (true) break; case 37: //C this.state = 40; -parent.__c.LogImpl("91769499",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0); +parent.__c.LogImpl("97929883",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(__ref._webver /*String*/ ))+""),0); if (true) break; case 40: @@ -962,22 +1348,24 @@ this.state = 50; case 43: //C this.state = 44; - //BA.debugLineNum = 342;BA.debugLine="sStatusCode = ERR_HTML 'website returne"; -parent._sstatuscode = parent._err_html; - //BA.debugLineNum = 343;BA.debugLine="If sVerbose Then Log($\"${TAB}ERROR: website re"; +RDebugUtils.currentLine=7929886; + //BA.debugLineNum = 7929886;BA.debugLine="sStatusCode = ERR_HTML 'website returne"; +__ref._sstatuscode /*int*/ = __ref._err_html /*int*/ ; +RDebugUtils.currentLine=7929887; + //BA.debugLineNum = 7929887;BA.debugLine="If sVerbose Then Log($\"${TAB}ERROR: website re"; if (true) break; case 44: //if this.state = 49; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 46; ;}if (true) break; case 46: //C this.state = 49; -parent.__c.LogImpl("91769503",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0); +parent.__c.LogImpl("97929887",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0); if (true) break; case 49: @@ -995,31 +1383,35 @@ this.state = 59; case 52: //C this.state = 53; - //BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("91769506",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 347;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 348;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; +RDebugUtils.currentLine=7929890; + //BA.debugLineNum = 7929890;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("97929890",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=7929891; + //BA.debugLineNum = 7929891;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=7929892; + //BA.debugLineNum = 7929892;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; if (true) break; case 53: //if this.state = 58; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 55; ;}if (true) break; case 55: //C this.state = 58; -parent.__c.LogImpl("91769508",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("97929892",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); if (true) break; case 58: //C this.state = 59; ; - //BA.debugLineNum = 349;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tr"; +RDebugUtils.currentLine=7929893; + //BA.debugLineNum = 7929893;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tr"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_j._errormessage /*String*/ ),parent.__c.True); if (true) break; @@ -1027,48 +1419,67 @@ case 59: //C this.state = 60; ; - //BA.debugLineNum = 351;BA.debugLine="j.Release"; -_j._release /*String*/ (); +RDebugUtils.currentLine=7929895; + //BA.debugLineNum = 7929895;BA.debugLine="j.Release"; +_j._release /*String*/ (null); if (true) break; case 60: //C this.state = -1; ; - //BA.debugLineNum = 353;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; +RDebugUtils.currentLine=7929897; + //BA.debugLineNum = 7929897;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)((parent._sstatuscode==parent._ok_webver)));return;}; - //BA.debugLineNum = 354;BA.debugLine="End Sub"; +parent.__c.ReturnFromResumableSub(this,(Object)((__ref._sstatuscode /*int*/ ==__ref._ok_webver /*int*/ )));return;}; +RDebugUtils.currentLine=7929898; + //BA.debugLineNum = 7929898;BA.debugLine="End Sub"; if (true) break; } } } } -public String _readcurvn() throws Exception{ - //BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN"; - //BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; -__c.LogImpl("91245185","---- AppUpdating.ReadCurVN",_logcolor1); - //BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu"; -_isvalidcv(); - //BA.debugLineNum = 146;BA.debugLine="Finito"; -_finito(); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; +public String _readcurvn(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "readcurvn", true)) + {return ((String) Debug.delegate(ba, "readcurvn", null));} +RDebugUtils.currentLine=7405568; + //BA.debugLineNum = 7405568;BA.debugLine="Public Sub ReadCurVN"; +RDebugUtils.currentLine=7405569; + //BA.debugLineNum = 7405569;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; +__c.LogImpl("97405569","---- AppUpdating.ReadCurVN",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=7405570; + //BA.debugLineNum = 7405570;BA.debugLine="IsValidCV 'we don't care about its resu"; +__ref._isvalidcv /*boolean*/ (null); +RDebugUtils.currentLine=7405571; + //BA.debugLineNum = 7405571;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=7405572; + //BA.debugLineNum = 7405572;BA.debugLine="End Sub"; return ""; } -public void _readwebvn() throws Exception{ -ResumableSub_ReadWebVN rsub = new ResumableSub_ReadWebVN(this); +public void _readwebvn(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "readwebvn", true)) + {Debug.delegate(ba, "readwebvn", null); return;} +ResumableSub_ReadWebVN rsub = new ResumableSub_ReadWebVN(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_ReadWebVN extends BA.ResumableSub { -public ResumableSub_ReadWebVN(gunav2.keymon.com.mx.cl_appupdate parent) { +public ResumableSub_ReadWebVN(gunav2.keymon.com.mx.cl_appupdate parent,gunav2.keymon.com.mx.cl_appupdate __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.cl_appupdate __ref; gunav2.keymon.com.mx.cl_appupdate parent; boolean _okwebver = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { switch (state) { @@ -1078,158 +1489,213 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; -parent.__c.LogImpl("91310721","---- AppUpdating.ReadWebVN",parent._logcolor1); - //BA.debugLineNum = 153;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean"; -parent.__c.WaitFor("complete", ba, this, parent._isvalidwv()); +RDebugUtils.currentLine=7471105; + //BA.debugLineNum = 7471105;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; +parent.__c.LogImpl("97471105","---- AppUpdating.ReadWebVN",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=7471106; + //BA.debugLineNum = 7471106;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "readwebvn"), __ref._isvalidwv /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null)); this.state = 1; return; case 1: //C this.state = -1; -_okwebver = (Boolean) result[0]; +_okwebver = (Boolean) result[1]; ; - //BA.debugLineNum = 154;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 155;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7471107; + //BA.debugLineNum = 7471107;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=7471108; + //BA.debugLineNum = 7471108;BA.debugLine="End Sub"; if (true) break; } } } } -public void _complete(boolean _okwebver) throws Exception{ -} -public String _sendinstallintent() throws Exception{ -String _apkname = ""; -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 487;BA.debugLine="Private Sub SendInstallIntent"; - //BA.debugLineNum = 488;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; -_apkname = "tmp.apk"; - //BA.debugLineNum = 489;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 490;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; -if (_phone.getSdkVersion()>=24) { - //BA.debugLineNum = 491;BA.debugLine="i.Initialize(\"android.intent.action.INSTALL_PACK"; -_i.Initialize("android.intent.action.INSTALL_PACKAGE",BA.ObjectToString(_getfileuri(_apkname))); - //BA.debugLineNum = 492;BA.debugLine="i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_UR"; -_i.setFlags(__c.Bit.Or(_i.getFlags(),(int) (1))); - }else { - //BA.debugLineNum = 494;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; -_i.Initialize(_i.ACTION_VIEW,"file://"+__c.File.Combine(_sharedfolder,_apkname)); - //BA.debugLineNum = 495;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; -_i.SetType("application/vnd.android.package-archive"); - }; - //BA.debugLineNum = 497;BA.debugLine="StartActivity(i)"; -__c.StartActivity(ba,(Object)(_i.getObject())); - //BA.debugLineNum = 498;BA.debugLine="End Sub"; -return ""; -} -public String _setandstartsplashscreen(anywheresoftware.b4a.objects.ActivityWrapper _callingact,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bm) throws Exception{ +public String _setandstartsplashscreen(gunav2.keymon.com.mx.cl_appupdate __ref,anywheresoftware.b4a.objects.ActivityWrapper _callingact,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bm) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setandstartsplashscreen", true)) + {return ((String) Debug.delegate(ba, "setandstartsplashscreen", new Object[] {_callingact,_bm}));} anywheresoftware.b4a.objects.drawable.BitmapDrawable _bitimage = null; - //BA.debugLineNum = 532;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; - //BA.debugLineNum = 533;BA.debugLine="If BM.IsInitialized Then"; +RDebugUtils.currentLine=8716288; + //BA.debugLineNum = 8716288;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; +RDebugUtils.currentLine=8716289; + //BA.debugLineNum = 8716289;BA.debugLine="If BM.IsInitialized Then"; if (_bm.IsInitialized()) { - //BA.debugLineNum = 534;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; -_pnlsplash.Initialize(ba,"pnl1"); - //BA.debugLineNum = 535;BA.debugLine="pnlSplash.Tag = \"splash\""; -_pnlsplash.setTag((Object)("splash")); - //BA.debugLineNum = 536;BA.debugLine="Dim BitImage As BitmapDrawable"; +RDebugUtils.currentLine=8716290; + //BA.debugLineNum = 8716290;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .Initialize(ba,"pnl1"); +RDebugUtils.currentLine=8716291; + //BA.debugLineNum = 8716291;BA.debugLine="pnlSplash.Tag = \"splash\""; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag((Object)("splash")); +RDebugUtils.currentLine=8716292; + //BA.debugLineNum = 8716292;BA.debugLine="Dim BitImage As BitmapDrawable"; _bitimage = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); - //BA.debugLineNum = 537;BA.debugLine="BitImage.Initialize(BM)"; +RDebugUtils.currentLine=8716293; + //BA.debugLineNum = 8716293;BA.debugLine="BitImage.Initialize(BM)"; _bitimage.Initialize((android.graphics.Bitmap)(_bm.getObject())); - //BA.debugLineNum = 538;BA.debugLine="BitImage.Gravity = Gravity.FILL"; +RDebugUtils.currentLine=8716294; + //BA.debugLineNum = 8716294;BA.debugLine="BitImage.Gravity = Gravity.FILL"; _bitimage.setGravity(__c.Gravity.FILL); - //BA.debugLineNum = 539;BA.debugLine="CallingAct.AddView(pnlSplash, 0, 0, CallingAct.W"; -_callingact.AddView((android.view.View)(_pnlsplash.getObject()),(int) (0),(int) (0),_callingact.getWidth(),_callingact.getHeight()); - //BA.debugLineNum = 540;BA.debugLine="pnlSplash.Background = BitImage"; -_pnlsplash.setBackground((android.graphics.drawable.Drawable)(_bitimage.getObject())); - //BA.debugLineNum = 541;BA.debugLine="pnlSplash.BringToFront"; -_pnlsplash.BringToFront(); - //BA.debugLineNum = 542;BA.debugLine="SplashShowing = True"; -_splashshowing = __c.True; +RDebugUtils.currentLine=8716295; + //BA.debugLineNum = 8716295;BA.debugLine="CallingAct.AddView(pnlSplash, 0, 0, CallingAct.W"; +_callingact.AddView((android.view.View)(__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(int) (0),(int) (0),_callingact.getWidth(),_callingact.getHeight()); +RDebugUtils.currentLine=8716296; + //BA.debugLineNum = 8716296;BA.debugLine="pnlSplash.Background = BitImage"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .setBackground((android.graphics.drawable.Drawable)(_bitimage.getObject())); +RDebugUtils.currentLine=8716297; + //BA.debugLineNum = 8716297;BA.debugLine="pnlSplash.BringToFront"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=8716298; + //BA.debugLineNum = 8716298;BA.debugLine="SplashShowing = True"; +__ref._splashshowing /*boolean*/ = __c.True; }; - //BA.debugLineNum = 544;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8716300; + //BA.debugLineNum = 8716300;BA.debugLine="End Sub"; return ""; } -public String _setcredentials(String _usern,String _userp) throws Exception{ - //BA.debugLineNum = 96;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; - //BA.debugLineNum = 97;BA.debugLine="sUserName = UserN"; -_susername = _usern; - //BA.debugLineNum = 98;BA.debugLine="sUPassword = UserP"; -_supassword = _userp; - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +public String _setcredentials(gunav2.keymon.com.mx.cl_appupdate __ref,String _usern,String _userp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setcredentials", true)) + {return ((String) Debug.delegate(ba, "setcredentials", new Object[] {_usern,_userp}));} +RDebugUtils.currentLine=6881280; + //BA.debugLineNum = 6881280;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; +RDebugUtils.currentLine=6881281; + //BA.debugLineNum = 6881281;BA.debugLine="sUserName = UserN"; +__ref._susername /*String*/ = _usern; +RDebugUtils.currentLine=6881282; + //BA.debugLineNum = 6881282;BA.debugLine="sUPassword = UserP"; +__ref._supassword /*String*/ = _userp; +RDebugUtils.currentLine=6881283; + //BA.debugLineNum = 6881283;BA.debugLine="End Sub"; return ""; } -public String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +public String _setfileuriasintentdata(gunav2.keymon.com.mx.cl_appupdate __ref,anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setfileuriasintentdata", true)) + {return ((String) Debug.delegate(ba, "setfileuriasintentdata", new Object[] {_intent,_filename}));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 520;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; - //BA.debugLineNum = 521;BA.debugLine="Dim jo As JavaObject = Intent"; +RDebugUtils.currentLine=8650752; + //BA.debugLineNum = 8650752;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; +RDebugUtils.currentLine=8650753; + //BA.debugLineNum = 8650753;BA.debugLine="Dim jo As JavaObject = Intent"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 522;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 523;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +RDebugUtils.currentLine=8650754; + //BA.debugLineNum = 8650754;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{__ref._getfileuri /*Object*/ (null,_filename)}); +RDebugUtils.currentLine=8650755; + //BA.debugLineNum = 8650755;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; _intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 524;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8650756; + //BA.debugLineNum = 8650756;BA.debugLine="End Sub"; return ""; } -public String _setnewverapk(String _nva) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; - //BA.debugLineNum = 92;BA.debugLine="sNewVerApk = NVA"; -_snewverapk = _nva; - //BA.debugLineNum = 93;BA.debugLine="End Sub"; +public String _setnewverapk(gunav2.keymon.com.mx.cl_appupdate __ref,String _nva) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setnewverapk", true)) + {return ((String) Debug.delegate(ba, "setnewverapk", new Object[] {_nva}));} +RDebugUtils.currentLine=6815744; + //BA.debugLineNum = 6815744;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; +RDebugUtils.currentLine=6815745; + //BA.debugLineNum = 6815745;BA.debugLine="sNewVerApk = NVA"; +__ref._snewverapk /*String*/ = _nva; +RDebugUtils.currentLine=6815746; + //BA.debugLineNum = 6815746;BA.debugLine="End Sub"; return ""; } -public String _setnewvertxt(String _nvt) throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; - //BA.debugLineNum = 87;BA.debugLine="sNewVerTxt = NVT"; -_snewvertxt = _nvt; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; +public String _setnewvertxt(gunav2.keymon.com.mx.cl_appupdate __ref,String _nvt) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setnewvertxt", true)) + {return ((String) Debug.delegate(ba, "setnewvertxt", new Object[] {_nvt}));} +RDebugUtils.currentLine=6750208; + //BA.debugLineNum = 6750208;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; +RDebugUtils.currentLine=6750209; + //BA.debugLineNum = 6750209;BA.debugLine="sNewVerTxt = NVT"; +__ref._snewvertxt /*String*/ = _nvt; +RDebugUtils.currentLine=6750210; + //BA.debugLineNum = 6750210;BA.debugLine="End Sub"; return ""; } -public String _setpackagename(String _pn) throws Exception{ - //BA.debugLineNum = 74;BA.debugLine="Public Sub setPackageName(PN As String)"; - //BA.debugLineNum = 75;BA.debugLine="sPackageName = PN"; -_spackagename = _pn; - //BA.debugLineNum = 76;BA.debugLine="End Sub"; +public String _setpackagename(gunav2.keymon.com.mx.cl_appupdate __ref,String _pn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setpackagename", true)) + {return ((String) Debug.delegate(ba, "setpackagename", new Object[] {_pn}));} +RDebugUtils.currentLine=6619136; + //BA.debugLineNum = 6619136;BA.debugLine="Public Sub setPackageName(PN As String)"; +RDebugUtils.currentLine=6619137; + //BA.debugLineNum = 6619137;BA.debugLine="sPackageName = PN"; +__ref._spackagename /*String*/ = _pn; +RDebugUtils.currentLine=6619138; + //BA.debugLineNum = 6619138;BA.debugLine="End Sub"; return ""; } -public String _setverbose(boolean _verbose) throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; - //BA.debugLineNum = 103;BA.debugLine="sVerbose = Verbose"; -_sverbose = _verbose; - //BA.debugLineNum = 104;BA.debugLine="newinst2.svcVerbose = Verbose"; +public String _setverbose(gunav2.keymon.com.mx.cl_appupdate __ref,boolean _verbose) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setverbose", true)) + {return ((String) Debug.delegate(ba, "setverbose", new Object[] {_verbose}));} +RDebugUtils.currentLine=6946816; + //BA.debugLineNum = 6946816;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; +RDebugUtils.currentLine=6946817; + //BA.debugLineNum = 6946817;BA.debugLine="sVerbose = Verbose"; +__ref._sverbose /*boolean*/ = _verbose; +RDebugUtils.currentLine=6946818; + //BA.debugLineNum = 6946818;BA.debugLine="newinst2.svcVerbose = Verbose"; _newinst2._svcverbose /*boolean*/ = _verbose; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; +RDebugUtils.currentLine=6946819; + //BA.debugLineNum = 6946819;BA.debugLine="End Sub"; return ""; } -public String _stopsplashscreen() throws Exception{ - //BA.debugLineNum = 547;BA.debugLine="Public Sub StopSplashScreen"; - //BA.debugLineNum = 548;BA.debugLine="If SplashShowing Then"; -if (_splashshowing) { - //BA.debugLineNum = 549;BA.debugLine="SplashShowing = False"; -_splashshowing = __c.False; - //BA.debugLineNum = 550;BA.debugLine="pnlSplash.RemoveView"; -_pnlsplash.RemoveView(); +public String _stopsplashscreen(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "stopsplashscreen", true)) + {return ((String) Debug.delegate(ba, "stopsplashscreen", null));} +RDebugUtils.currentLine=8781824; + //BA.debugLineNum = 8781824;BA.debugLine="Public Sub StopSplashScreen"; +RDebugUtils.currentLine=8781825; + //BA.debugLineNum = 8781825;BA.debugLine="If SplashShowing Then"; +if (__ref._splashshowing /*boolean*/ ) { +RDebugUtils.currentLine=8781826; + //BA.debugLineNum = 8781826;BA.debugLine="SplashShowing = False"; +__ref._splashshowing /*boolean*/ = __c.False; +RDebugUtils.currentLine=8781827; + //BA.debugLineNum = 8781827;BA.debugLine="pnlSplash.RemoveView"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .RemoveView(); }; - //BA.debugLineNum = 552;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8781829; + //BA.debugLineNum = 8781829;BA.debugLine="End Sub"; return ""; } -public void _tryapkupdate() throws Exception{ -ResumableSub_TryApkUpdate rsub = new ResumableSub_TryApkUpdate(this); +public void _tryapkupdate(gunav2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "tryapkupdate", true)) + {Debug.delegate(ba, "tryapkupdate", null); return;} +ResumableSub_TryApkUpdate rsub = new ResumableSub_TryApkUpdate(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_TryApkUpdate extends BA.ResumableSub { -public ResumableSub_TryApkUpdate(gunav2.keymon.com.mx.cl_appupdate parent) { +public ResumableSub_TryApkUpdate(gunav2.keymon.com.mx.cl_appupdate parent,gunav2.keymon.com.mx.cl_appupdate __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.cl_appupdate __ref; gunav2.keymon.com.mx.cl_appupdate parent; gunav2.keymon.com.mx.httpjob _j = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { try { @@ -1241,43 +1707,53 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; -parent.__c.LogImpl("91572865",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1); - //BA.debugLineNum = 248;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW"; +RDebugUtils.currentLine=7733249; + //BA.debugLineNum = 7733249;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; +parent.__c.LogImpl("97733249",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=7733251; + //BA.debugLineNum = 7733251;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW"; if (true) break; case 1: //if this.state = 44; -if (((parent._sstatuscode>=0) && (parent._sstatuscode!=parent._no_newerapk))) { +if (((__ref._sstatuscode /*int*/ >=0) && (__ref._sstatuscode /*int*/ !=__ref._no_newerapk /*int*/ ))) { this.state = 3; }if (true) break; case 3: //C this.state = 4; - //BA.debugLineNum = 250;BA.debugLine="Dim j As HttpJob"; +RDebugUtils.currentLine=7733253; + //BA.debugLineNum = 7733253;BA.debugLine="Dim j As HttpJob"; _j = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 251;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 252;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 253;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 254;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; -_j._download /*String*/ (parent._snewverapk); - //BA.debugLineNum = 255;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); +RDebugUtils.currentLine=7733254; + //BA.debugLineNum = 7733254;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=7733255; + //BA.debugLineNum = 7733255;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=7733256; + //BA.debugLineNum = 7733256;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=7733257; + //BA.debugLineNum = 7733257;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; +_j._download /*String*/ (null,__ref._snewverapk /*String*/ ); +RDebugUtils.currentLine=7733258; + //BA.debugLineNum = 7733258;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "tryapkupdate"), (Object)(_j)); this.state = 45; return; case 45: //C this.state = 4; -_j = (gunav2.keymon.com.mx.httpjob) result[0]; +_j = (gunav2.keymon.com.mx.httpjob) result[1]; ; - //BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("91572875",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); - //BA.debugLineNum = 257;BA.debugLine="If j.Success Then"; +RDebugUtils.currentLine=7733259; + //BA.debugLineNum = 7733259;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +parent.__c.LogImpl("97733259",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=7733260; + //BA.debugLineNum = 7733260;BA.debugLine="If j.Success Then"; if (true) break; case 4: @@ -1292,7 +1768,8 @@ this.state = 26; case 6: //C this.state = 7; - //BA.debugLineNum = 258;BA.debugLine="Try"; +RDebugUtils.currentLine=7733261; + //BA.debugLineNum = 7733261;BA.debugLine="Try"; if (true) break; case 7: @@ -1306,32 +1783,39 @@ case 9: //C this.state = 10; this.catchState = 17; - //BA.debugLineNum = 260;BA.debugLine="Dim out As OutputStream"; +RDebugUtils.currentLine=7733263; + //BA.debugLineNum = 7733263;BA.debugLine="Dim out As OutputStream"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 261;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",F"; -_out = parent.__c.File.OpenOutput(parent._sharedfolder,"tmp.apk",parent.__c.False); - //BA.debugLineNum = 262;BA.debugLine="File.Copy2(j.GetInputStream, out)"; -parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 263;BA.debugLine="out.Close"; +RDebugUtils.currentLine=7733264; + //BA.debugLineNum = 7733264;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",F"; +_out = parent.__c.File.OpenOutput(__ref._sharedfolder /*String*/ ,"tmp.apk",parent.__c.False); +RDebugUtils.currentLine=7733265; + //BA.debugLineNum = 7733265;BA.debugLine="File.Copy2(j.GetInputStream, out)"; +parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (null).getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=7733266; + //BA.debugLineNum = 7733266;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; -parent.__c.LogImpl("91572883",("Copy2 (saving) ok? TRUE"),0); - //BA.debugLineNum = 265;BA.debugLine="sStatusCode = OK_DOWNLOAD"; -parent._sstatuscode = parent._ok_download; - //BA.debugLineNum = 266;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d"; +RDebugUtils.currentLine=7733267; + //BA.debugLineNum = 7733267;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +parent.__c.LogImpl("97733267",("Copy2 (saving) ok? TRUE"),0); +RDebugUtils.currentLine=7733268; + //BA.debugLineNum = 7733268;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._ok_download /*int*/ ; +RDebugUtils.currentLine=7733269; + //BA.debugLineNum = 7733269;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d"; if (true) break; case 10: //if this.state = 15; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 12; ;}if (true) break; case 12: //C this.state = 15; -parent.__c.LogImpl("91572885",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); +parent.__c.LogImpl("97733269",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); if (true) break; case 15: @@ -1344,31 +1828,35 @@ case 17: //C this.state = 18; this.catchState = 0; - //BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; -parent.__c.LogImpl("91572887",("Copy2 (saving) ok? FALSE"),0); - //BA.debugLineNum = 269;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; -parent._sstatuscode = parent._err_download; - //BA.debugLineNum = 270;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o"; +RDebugUtils.currentLine=7733271; + //BA.debugLineNum = 7733271;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; +parent.__c.LogImpl("97733271",("Copy2 (saving) ok? FALSE"),0); +RDebugUtils.currentLine=7733272; + //BA.debugLineNum = 7733272;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._err_download /*int*/ ; +RDebugUtils.currentLine=7733273; + //BA.debugLineNum = 7733273;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o"; if (true) break; case 18: //if this.state = 23; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 20; ;}if (true) break; case 20: //C this.state = 23; -parent.__c.LogImpl("91572889",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0); +parent.__c.LogImpl("97733273",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0); if (true) break; case 23: //C this.state = 24; ; - //BA.debugLineNum = 271;BA.debugLine="ToastMessageShow(LastException, True)"; +RDebugUtils.currentLine=7733274; + //BA.debugLineNum = 7733274;BA.debugLine="ToastMessageShow(LastException, True)"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence(parent.__c.LastException(ba).getObject()),parent.__c.True); if (true) break; if (true) break; @@ -1383,31 +1871,35 @@ this.catchState = 0; case 26: //C this.state = 27; - //BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("91572893",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 275;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 276;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; +RDebugUtils.currentLine=7733277; + //BA.debugLineNum = 7733277;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("97733277",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=7733278; + //BA.debugLineNum = 7733278;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=7733279; + //BA.debugLineNum = 7733279;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; if (true) break; case 27: //if this.state = 32; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 29; ;}if (true) break; case 29: //C this.state = 32; -parent.__c.LogImpl("91572895",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("97733279",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); if (true) break; case 32: //C this.state = 33; ; - //BA.debugLineNum = 277;BA.debugLine="ToastMessageShow($\"Error: ${J.ErrorMessage}\"$,"; +RDebugUtils.currentLine=7733280; + //BA.debugLineNum = 7733280;BA.debugLine="ToastMessageShow($\"Error: ${J.ErrorMessage}\"$,"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence(("Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+"")),parent.__c.True); if (true) break; @@ -1415,39 +1907,44 @@ case 33: //C this.state = 34; ; - //BA.debugLineNum = 279;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 280;BA.debugLine="If sStatusCode == OK_DOWNLOAD Then"; +RDebugUtils.currentLine=7733282; + //BA.debugLineNum = 7733282;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=7733283; + //BA.debugLineNum = 7733283;BA.debugLine="If sStatusCode == OK_DOWNLOAD Then"; if (true) break; case 34: //if this.state = 43; -if (parent._sstatuscode==parent._ok_download) { +if (__ref._sstatuscode /*int*/ ==__ref._ok_download /*int*/ ) { this.state = 36; }if (true) break; case 36: //C this.state = 37; - //BA.debugLineNum = 281;BA.debugLine="SendInstallIntent"; -parent._sendinstallintent(); - //BA.debugLineNum = 282;BA.debugLine="sStatusCode = OK_INSTALL"; -parent._sstatuscode = parent._ok_install; - //BA.debugLineNum = 283;BA.debugLine="If sVerbose Then Log($\"${TAB}user asked to inst"; +RDebugUtils.currentLine=7733284; + //BA.debugLineNum = 7733284;BA.debugLine="SendInstallIntent"; +__ref._sendinstallintent /*String*/ (null); +RDebugUtils.currentLine=7733285; + //BA.debugLineNum = 7733285;BA.debugLine="sStatusCode = OK_INSTALL"; +__ref._sstatuscode /*int*/ = __ref._ok_install /*int*/ ; +RDebugUtils.currentLine=7733286; + //BA.debugLineNum = 7733286;BA.debugLine="If sVerbose Then Log($\"${TAB}user asked to inst"; if (true) break; case 37: //if this.state = 42; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 39; ;}if (true) break; case 39: //C this.state = 42; -parent.__c.LogImpl("91572902",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0); +parent.__c.LogImpl("97733286",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0); if (true) break; case 42: @@ -1466,9 +1963,11 @@ case 44: //C this.state = -1; ; - //BA.debugLineNum = 286;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 287;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7733289; + //BA.debugLineNum = 7733289;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=7733290; + //BA.debugLineNum = 7733290;BA.debugLine="End Sub"; if (true) break; }} catch (Exception e0) { @@ -1482,15 +1981,21 @@ ba.setLastException(e0);} } } } -public void _updateapk(boolean _pstatus) throws Exception{ -ResumableSub_UpdateApk rsub = new ResumableSub_UpdateApk(this,_pstatus); +public void _updateapk(gunav2.keymon.com.mx.cl_appupdate __ref,boolean _pstatus) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "updateapk", true)) + {Debug.delegate(ba, "updateapk", new Object[] {_pstatus}); return;} +ResumableSub_UpdateApk rsub = new ResumableSub_UpdateApk(this,__ref,_pstatus); rsub.resume(ba, null); } public static class ResumableSub_UpdateApk extends BA.ResumableSub { -public ResumableSub_UpdateApk(gunav2.keymon.com.mx.cl_appupdate parent,boolean _pstatus) { +public ResumableSub_UpdateApk(gunav2.keymon.com.mx.cl_appupdate parent,gunav2.keymon.com.mx.cl_appupdate __ref,boolean _pstatus) { this.parent = parent; +this.__ref = __ref; this._pstatus = _pstatus; +this.__ref = parent; } +gunav2.keymon.com.mx.cl_appupdate __ref; gunav2.keymon.com.mx.cl_appupdate parent; boolean _pstatus; boolean _okwebver = false; @@ -1498,6 +2003,7 @@ long _fsize = 0L; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; while (true) { switch (state) { @@ -1507,9 +2013,11 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; -parent.__c.LogImpl("91507329","---- AppUpdating.UpdateApk",parent._logcolor1); - //BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then"; +RDebugUtils.currentLine=7667713; + //BA.debugLineNum = 7667713;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; +parent.__c.LogImpl("97667713","---- AppUpdating.UpdateApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=7667714; + //BA.debugLineNum = 7667714;BA.debugLine="If Not(pstatus) Then"; if (true) break; case 1: @@ -1524,22 +2032,24 @@ this.state = 11; case 3: //C this.state = 4; - //BA.debugLineNum = 213;BA.debugLine="sStatusCode = ERR_NOPERM"; -parent._sstatuscode = parent._err_noperm; - //BA.debugLineNum = 214;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +RDebugUtils.currentLine=7667715; + //BA.debugLineNum = 7667715;BA.debugLine="sStatusCode = ERR_NOPERM"; +__ref._sstatuscode /*int*/ = __ref._err_noperm /*int*/ ; +RDebugUtils.currentLine=7667716; + //BA.debugLineNum = 7667716;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; if (true) break; case 4: //if this.state = 9; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 6; ;}if (true) break; case 6: //C this.state = 9; -parent.__c.LogImpl("91507332",parent.__c.TAB+"no permissions from user to install new apk",0); +parent.__c.LogImpl("97667716",parent.__c.TAB+"no permissions from user to install new apk",0); if (true) break; case 9: @@ -1551,35 +2061,38 @@ this.state = 61; case 11: //C this.state = 12; - //BA.debugLineNum = 216;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolea"; -parent.__c.WaitFor("complete", ba, this, parent._isvalidwv()); +RDebugUtils.currentLine=7667718; + //BA.debugLineNum = 7667718;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolea"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "cl_appupdate", "updateapk"), __ref._isvalidwv /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null)); this.state = 62; return; case 62: //C this.state = 12; -_okwebver = (Boolean) result[0]; +_okwebver = (Boolean) result[1]; ; - //BA.debugLineNum = 217;BA.debugLine="If (IsValidCV And OkWebVer) Then 'here we"; +RDebugUtils.currentLine=7667719; + //BA.debugLineNum = 7667719;BA.debugLine="If (IsValidCV And OkWebVer) Then 'here we"; if (true) break; case 12: //if this.state = 60; -if ((parent._isvalidcv() && _okwebver)) { +if ((__ref._isvalidcv /*boolean*/ (null) && _okwebver)) { this.state = 14; }if (true) break; case 14: //C this.state = 15; - //BA.debugLineNum = 218;BA.debugLine="If curver < webver Then"; +RDebugUtils.currentLine=7667720; + //BA.debugLineNum = 7667720;BA.debugLine="If curver < webver Then"; if (true) break; case 15: //if this.state = 59; -if ((double)(Double.parseDouble(parent._curver))<(double)(Double.parseDouble(parent._webver))) { +if ((double)(Double.parseDouble(__ref._curver /*String*/ ))<(double)(Double.parseDouble(__ref._webver /*String*/ ))) { this.state = 17; }else { this.state = 52; @@ -1588,50 +2101,55 @@ this.state = 52; case 17: //C this.state = 18; - //BA.debugLineNum = 220;BA.debugLine="If IsNumber(webfsize) Then"; +RDebugUtils.currentLine=7667722; + //BA.debugLineNum = 7667722;BA.debugLine="If IsNumber(webfsize) Then"; if (true) break; case 18: //if this.state = 31; -if (parent.__c.IsNumber(parent._webfsize)) { +if (parent.__c.IsNumber(__ref._webfsize /*String*/ )) { this.state = 20; }if (true) break; case 20: //C this.state = 21; - //BA.debugLineNum = 221;BA.debugLine="Dim fsize As Long = webfsize"; -_fsize = (long)(Double.parseDouble(parent._webfsize)); - //BA.debugLineNum = 222;BA.debugLine="If fsize*2 > GetFreeSpace Then"; +RDebugUtils.currentLine=7667723; + //BA.debugLineNum = 7667723;BA.debugLine="Dim fsize As Long = webfsize"; +_fsize = (long)(Double.parseDouble(__ref._webfsize /*String*/ )); +RDebugUtils.currentLine=7667724; + //BA.debugLineNum = 7667724;BA.debugLine="If fsize*2 > GetFreeSpace Then"; if (true) break; case 21: //if this.state = 30; -if (_fsize*2>parent._getfreespace()) { +if (_fsize*2>__ref._getfreespace /*long*/ (null)) { this.state = 23; }if (true) break; case 23: //C this.state = 24; - //BA.debugLineNum = 223;BA.debugLine="sStatusCode = ERR_NOSPACE"; -parent._sstatuscode = parent._err_nospace; - //BA.debugLineNum = 224;BA.debugLine="If sVerbose Then Log($\"${TAB}no enough avail"; +RDebugUtils.currentLine=7667725; + //BA.debugLineNum = 7667725;BA.debugLine="sStatusCode = ERR_NOSPACE"; +__ref._sstatuscode /*int*/ = __ref._err_nospace /*int*/ ; +RDebugUtils.currentLine=7667726; + //BA.debugLineNum = 7667726;BA.debugLine="If sVerbose Then Log($\"${TAB}no enough avail"; if (true) break; case 24: //if this.state = 29; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 26; ;}if (true) break; case 26: //C this.state = 29; -parent.__c.LogImpl("91507342",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0); +parent.__c.LogImpl("97667726",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0); if (true) break; case 29: @@ -1646,69 +2164,75 @@ this.state = 31; ; if (true) break; ; - //BA.debugLineNum = 227;BA.debugLine="If sStatusCode >= 0 Then"; +RDebugUtils.currentLine=7667729; + //BA.debugLineNum = 7667729;BA.debugLine="If sStatusCode >= 0 Then"; case 31: //if this.state = 50; -if (parent._sstatuscode>=0) { +if (__ref._sstatuscode /*int*/ >=0) { this.state = 33; }if (true) break; case 33: //C this.state = 34; - //BA.debugLineNum = 228;BA.debugLine="sStatusCode = OK_NEWERAPK 'info file tells"; -parent._sstatuscode = parent._ok_newerapk; - //BA.debugLineNum = 229;BA.debugLine="If sVerbose Then Log($\"${TAB}Newer version av"; +RDebugUtils.currentLine=7667730; + //BA.debugLineNum = 7667730;BA.debugLine="sStatusCode = OK_NEWERAPK 'info file tells"; +__ref._sstatuscode /*int*/ = __ref._ok_newerapk /*int*/ ; +RDebugUtils.currentLine=7667731; + //BA.debugLineNum = 7667731;BA.debugLine="If sVerbose Then Log($\"${TAB}Newer version av"; if (true) break; case 34: //if this.state = 39; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 36; ;}if (true) break; case 36: //C this.state = 39; -parent.__c.LogImpl("91507347",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0); +parent.__c.LogImpl("97667731",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0); if (true) break; case 39: //C this.state = 40; ; - //BA.debugLineNum = 230;BA.debugLine="If sNewVerApk = \"\" Then"; +RDebugUtils.currentLine=7667732; + //BA.debugLineNum = 7667732;BA.debugLine="If sNewVerApk = \"\" Then"; if (true) break; case 40: //if this.state = 49; -if ((parent._snewverapk).equals("")) { +if ((__ref._snewverapk /*String*/ ).equals("")) { this.state = 42; }if (true) break; case 42: //C this.state = 43; - //BA.debugLineNum = 231;BA.debugLine="sStatusCode = ERR_NOAPK"; -parent._sstatuscode = parent._err_noapk; - //BA.debugLineNum = 232;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk fil"; +RDebugUtils.currentLine=7667733; + //BA.debugLineNum = 7667733;BA.debugLine="sStatusCode = ERR_NOAPK"; +__ref._sstatuscode /*int*/ = __ref._err_noapk /*int*/ ; +RDebugUtils.currentLine=7667734; + //BA.debugLineNum = 7667734;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk fil"; if (true) break; case 43: //if this.state = 48; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 45; ;}if (true) break; case 45: //C this.state = 48; -parent.__c.LogImpl("91507350",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); +parent.__c.LogImpl("97667734",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); if (true) break; case 48: @@ -1732,22 +2256,24 @@ this.state = 59; case 52: //C this.state = 53; - //BA.debugLineNum = 236;BA.debugLine="sStatusCode = NO_NEWERAPK"; -parent._sstatuscode = parent._no_newerapk; - //BA.debugLineNum = 237;BA.debugLine="If sVerbose Then Log($\"${TAB}No newer version"; +RDebugUtils.currentLine=7667738; + //BA.debugLineNum = 7667738;BA.debugLine="sStatusCode = NO_NEWERAPK"; +__ref._sstatuscode /*int*/ = __ref._no_newerapk /*int*/ ; +RDebugUtils.currentLine=7667739; + //BA.debugLineNum = 7667739;BA.debugLine="If sVerbose Then Log($\"${TAB}No newer version"; if (true) break; case 53: //if this.state = 58; -if (parent._sverbose) { +if (__ref._sverbose /*boolean*/ ) { this.state = 55; ;}if (true) break; case 55: //C this.state = 58; -parent.__c.LogImpl("91507355",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0); +parent.__c.LogImpl("97667739",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0); if (true) break; case 58: @@ -1772,17 +2298,15 @@ case 61: //C this.state = -1; ; - //BA.debugLineNum = 241;BA.debugLine="TryApkUpdate 'if available and permitted, do"; -parent._tryapkupdate(); - //BA.debugLineNum = 242;BA.debugLine="End Sub"; +RDebugUtils.currentLine=7667743; + //BA.debugLineNum = 7667743;BA.debugLine="TryApkUpdate 'if available and permitted, do"; +__ref._tryapkupdate /*void*/ (null); +RDebugUtils.currentLine=7667744; + //BA.debugLineNum = 7667744;BA.debugLine="End Sub"; if (true) break; } } } } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/cpdf.java b/B4A/Objects/src/gunav2/keymon/com/mx/cpdf.java index f151859..b1fc13d 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/cpdf.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/cpdf.java @@ -10,7 +10,7 @@ public class cpdf extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.cpdf"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.cpdf"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,146 @@ public class cpdf extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public static class _tpdfcontext{ +public boolean IsInitialized; +public double fX; +public double fY; +public String fFontFamily; +public double fFontSize; +public int fFontStyle; +public double[] fFontColor; +public double fDrawWidth; +public double[] fDrawColor; +public double[] fFillColor; +public void Initialize() { +IsInitialized = true; +fX = 0; +fY = 0; +fFontFamily = ""; +fFontSize = 0; +fFontStyle = 0; +fFontColor = new double[3]; +; +fDrawWidth = 0; +fDrawColor = new double[3]; +; +fFillColor = new double[3]; +; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _tpdfpage{ +public boolean IsInitialized; +public double fWidth; +public double fHeight; +public String fBuffer; +public void Initialize() { +IsInitialized = true; +fWidth = 0; +fHeight = 0; +fBuffer = ""; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _tpdfimageinfo{ +public boolean IsInitialized; +public int fError; +public int fWidth; +public int fHeight; +public int fBPP; +public int fColorSpace; +public int fCompression; +public int fFilter; +public int fInterlacing; +public byte[] fData; +public byte[] fPalette; +public void Initialize() { +IsInitialized = true; +fError = 0; +fWidth = 0; +fHeight = 0; +fBPP = 0; +fColorSpace = 0; +fCompression = 0; +fFilter = 0; +fInterlacing = 0; +fData = new byte[0]; +; +fPalette = new byte[0]; +; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _tpdffontinfo{ +public boolean IsInitialized; +public int[] fCharsWidths; +public int fYUnderline; +public int fHUnderline; +public int fYStrikeThrough; +public int fHStrikeThrough; +public int fYBottom; +public int fYTop; +public void Initialize() { +IsInitialized = true; +fCharsWidths = new int[256]; +; +fYUnderline = 0; +fHUnderline = 0; +fYStrikeThrough = 0; +fHStrikeThrough = 0; +fYBottom = 0; +fYTop = 0; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _tpdftextsize{ +public boolean IsInitialized; +public double fWidth; +public double fTop; +public double fBottom; +public double fHeight; +public void Initialize() { +IsInitialized = true; +fWidth = 0; +fTop = 0; +fBottom = 0; +fHeight = 0; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _tpdfmultilinetextsize{ +public boolean IsInitialized; +public double fWidth; +public double fHeight; +public anywheresoftware.b4a.objects.collections.List fParagraphs; +public void Initialize() { +IsInitialized = true; +fWidth = 0; +fHeight = 0; +fParagraphs = new anywheresoftware.b4a.objects.collections.List(); +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _fxui = null; public String _ftextencoding = ""; public String _flibversion = ""; @@ -94,605 +233,1051 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _tpdfcontext{ -public boolean IsInitialized; -public double fX; -public double fY; -public String fFontFamily; -public double fFontSize; -public int fFontStyle; -public double[] fFontColor; -public double fDrawWidth; -public double[] fDrawColor; -public double[] fFillColor; -public void Initialize() { -IsInitialized = true; -fX = 0; -fY = 0; -fFontFamily = ""; -fFontSize = 0; -fFontStyle = 0; -fFontColor = new double[(int) (3)]; -; -fDrawWidth = 0; -fDrawColor = new double[(int) (3)]; -; -fFillColor = new double[(int) (3)]; -; +public gunav2.keymon.com.mx.cpdf _initialize(gunav2.keymon.com.mx.cpdf __ref,anywheresoftware.b4a.BA _ba,String _aunit) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "initialize", new Object[] {_ba,_aunit}));} +RDebugUtils.currentLine=82903040; + //BA.debugLineNum = 82903040;BA.debugLine="Public Sub Initialize(aunit As String) As cPDF"; +RDebugUtils.currentLine=82903041; + //BA.debugLineNum = 82903041;BA.debugLine="fLibVersion=\"0.6\""; +__ref._flibversion /*String*/ = "0.6"; +RDebugUtils.currentLine=82903042; + //BA.debugLineNum = 82903042;BA.debugLine="fPDFVersion=\"1.3\""; +__ref._fpdfversion /*String*/ = "1.3"; +RDebugUtils.currentLine=82903043; + //BA.debugLineNum = 82903043;BA.debugLine="sUnit(aunit)"; +__ref._sunit /*gunav2.keymon.com.mx.cpdf*/ (null,_aunit); +RDebugUtils.currentLine=82903044; + //BA.debugLineNum = 82903044;BA.debugLine="fProperties=CreateMap(\"Producer\":\"B4XPDF\",\"Creati"; +__ref._fproperties /*anywheresoftware.b4a.objects.collections.Map*/ = __c.createMap(new Object[] {(Object)("Producer"),(Object)("B4XPDF"),(Object)("CreationDate"),(Object)(__ref._gcreationdate /*String*/ (null)),(Object)("ModDate"),(Object)(__ref._gcreationdate /*String*/ (null))}); +RDebugUtils.currentLine=82903045; + //BA.debugLineNum = 82903045;BA.debugLine="fContext.Initialize"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .Initialize(); +RDebugUtils.currentLine=82903046; + //BA.debugLineNum = 82903046;BA.debugLine="fObjs.Initialize"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=82903047; + //BA.debugLineNum = 82903047;BA.debugLine="fPages.Initialize"; +__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=82903048; + //BA.debugLineNum = 82903048;BA.debugLine="fPage=0"; +__ref._fpage /*int*/ = (int) (0); +RDebugUtils.currentLine=82903049; + //BA.debugLineNum = 82903049;BA.debugLine="fUsedImages.Initialize"; +__ref._fusedimages /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=82903050; + //BA.debugLineNum = 82903050;BA.debugLine="fUsedFonts.Initialize"; +__ref._fusedfonts /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=82903051; + //BA.debugLineNum = 82903051;BA.debugLine="initFontsInfos"; +__ref._initfontsinfos /*String*/ (null); +RDebugUtils.currentLine=82903052; + //BA.debugLineNum = 82903052;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=82903053; + //BA.debugLineNum = 82903053;BA.debugLine="End Sub"; +return null; } -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdfpage{ -public boolean IsInitialized; -public double fWidth; -public double fHeight; -public String fBuffer; -public void Initialize() { -IsInitialized = true; -fWidth = 0; -fHeight = 0; -fBuffer = ""; +public gunav2.keymon.com.mx.cpdf _sproperty(gunav2.keymon.com.mx.cpdf __ref,String _aproperty,String _avalue) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "sproperty", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "sproperty", new Object[] {_aproperty,_avalue}));} +RDebugUtils.currentLine=86179840; + //BA.debugLineNum = 86179840;BA.debugLine="public Sub sProperty(aproperty As String,avalue As"; +RDebugUtils.currentLine=86179841; + //BA.debugLineNum = 86179841;BA.debugLine="fProperties.Put(aproperty,avalue)"; +__ref._fproperties /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_aproperty),(Object)(_avalue)); +RDebugUtils.currentLine=86179842; + //BA.debugLineNum = 86179842;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=86179843; + //BA.debugLineNum = 86179843;BA.debugLine="End Sub"; +return null; } -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdfimageinfo{ -public boolean IsInitialized; -public int fError; -public int fWidth; -public int fHeight; -public int fBPP; -public int fColorSpace; -public int fCompression; -public int fFilter; -public int fInterlacing; -public byte[] fData; -public byte[] fPalette; -public void Initialize() { -IsInitialized = true; -fError = 0; -fWidth = 0; -fHeight = 0; -fBPP = 0; -fColorSpace = 0; -fCompression = 0; -fFilter = 0; -fInterlacing = 0; -fData = new byte[0]; -; -fPalette = new byte[0]; -; +public gunav2.keymon.com.mx.cpdf _pageadd(gunav2.keymon.com.mx.cpdf __ref,double _awidth,double _aheight) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "pageadd", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "pageadd", new Object[] {_awidth,_aheight}));} +RDebugUtils.currentLine=85262336; + //BA.debugLineNum = 85262336;BA.debugLine="public Sub pageAdd(awidth As Double,aheight As Dou"; +RDebugUtils.currentLine=85262337; + //BA.debugLineNum = 85262337;BA.debugLine="fPages.Add(createPage(IIf(awidth<0,-awidth,awidth"; +__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(__ref._createpage /*gunav2.keymon.com.mx.cpdf._tpdfpage*/ (null,(double)(BA.ObjectToNumber(((_awidth<0) ? ((Object)(-_awidth)) : ((Object)(_awidth*__ref._funitfactor /*double*/ ))))),(double)(BA.ObjectToNumber(((_aheight<0) ? ((Object)(-_aheight)) : ((Object)(_aheight*__ref._funitfactor /*double*/ ))))),""))); +RDebugUtils.currentLine=85262338; + //BA.debugLineNum = 85262338;BA.debugLine="fPage=fPages.Size-1"; +__ref._fpage /*int*/ = (int) (__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +RDebugUtils.currentLine=85262339; + //BA.debugLineNum = 85262339;BA.debugLine="sFont(fContext.fFontFamily,fContext.fFontStyle,fC"; +__ref._sfont /*gunav2.keymon.com.mx.cpdf*/ (null,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontFamily /*String*/ ,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontStyle /*int*/ ,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ ,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontColor /*double[]*/ ); +RDebugUtils.currentLine=85262340; + //BA.debugLineNum = 85262340;BA.debugLine="sDrawColor(fContext.fDrawColor)"; +__ref._sdrawcolor /*gunav2.keymon.com.mx.cpdf*/ (null,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fDrawColor /*double[]*/ ); +RDebugUtils.currentLine=85262341; + //BA.debugLineNum = 85262341;BA.debugLine="sDrawWidth(fContext.fDrawWidth)"; +__ref._sdrawwidth /*gunav2.keymon.com.mx.cpdf*/ (null,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fDrawWidth /*double*/ ); +RDebugUtils.currentLine=85262342; + //BA.debugLineNum = 85262342;BA.debugLine="sFillColor(fContext.fFillColor)"; +__ref._sfillcolor /*gunav2.keymon.com.mx.cpdf*/ (null,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFillColor /*double[]*/ ); +RDebugUtils.currentLine=85262343; + //BA.debugLineNum = 85262343;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=85262344; + //BA.debugLineNum = 85262344;BA.debugLine="End Sub"; +return null; } -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdffontinfo{ -public boolean IsInitialized; -public int[] fCharsWidths; -public int fYUnderline; -public int fHUnderline; -public int fYStrikeThrough; -public int fHStrikeThrough; -public int fYBottom; -public int fYTop; -public void Initialize() { -IsInitialized = true; -fCharsWidths = new int[(int) (256)]; -; -fYUnderline = 0; -fHUnderline = 0; -fYStrikeThrough = 0; -fHStrikeThrough = 0; -fYBottom = 0; -fYTop = 0; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdftextsize{ -public boolean IsInitialized; -public double fWidth; -public double fTop; -public double fBottom; -public double fHeight; -public void Initialize() { -IsInitialized = true; -fWidth = 0; -fTop = 0; -fBottom = 0; -fHeight = 0; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdfmultilinetextsize{ -public boolean IsInitialized; -public double fWidth; -public double fHeight; -public anywheresoftware.b4a.objects.collections.List fParagraphs; -public void Initialize() { -IsInitialized = true; -fWidth = 0; -fHeight = 0; -fParagraphs = new anywheresoftware.b4a.objects.collections.List(); -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _calcfontkey(String _afamily,int _astyle) throws Exception{ - //BA.debugLineNum = 421;BA.debugLine="private Sub calcFontKey(afamily As String,astyle A"; - //BA.debugLineNum = 422;BA.debugLine="If afamily=\"zapfdingbats\" Or afamily=\"Symbol\" The"; -if ((_afamily).equals("zapfdingbats") || (_afamily).equals("Symbol")) { - //BA.debugLineNum = 423;BA.debugLine="astyle=Bit.And(astyle,Bit.Not(Bit.Or(fontBold,fo"; -_astyle = __c.Bit.And(_astyle,__c.Bit.Not(__c.Bit.Or(_fontbold,_fontitalic))); +public gunav2.keymon.com.mx.cpdf _sfont(gunav2.keymon.com.mx.cpdf __ref,String _afamily,int _astyle,double _asize,double[] _acolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "sfont", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "sfont", new Object[] {_afamily,_astyle,_asize,_acolor}));} +String _k = ""; +int _i = 0; +RDebugUtils.currentLine=85655552; + //BA.debugLineNum = 85655552;BA.debugLine="public Sub sFont(afamily As String,astyle As Int,a"; +RDebugUtils.currentLine=85655553; + //BA.debugLineNum = 85655553;BA.debugLine="Dim k As String=calcFontKey(afamily,astyle)"; +_k = __ref._calcfontkey /*String*/ (null,_afamily,_astyle); +RDebugUtils.currentLine=85655554; + //BA.debugLineNum = 85655554;BA.debugLine="Dim i As Int=fUsedFonts.IndexOf(k)"; +_i = __ref._fusedfonts /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)(_k)); +RDebugUtils.currentLine=85655555; + //BA.debugLineNum = 85655555;BA.debugLine="If i=-1 Then"; +if (_i==-1) { +RDebugUtils.currentLine=85655556; + //BA.debugLineNum = 85655556;BA.debugLine="fUsedFonts.Add(k)"; +__ref._fusedfonts /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_k)); +RDebugUtils.currentLine=85655557; + //BA.debugLineNum = 85655557;BA.debugLine="i=fUsedFonts.Size-1"; +_i = (int) (__ref._fusedfonts /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); }; - //BA.debugLineNum = 425;BA.debugLine="If Bit.And(astyle,fontBold)<>0 And Bit.And(astyle"; -if (__c.Bit.And(_astyle,_fontbold)!=0 && __c.Bit.And(_astyle,_fontitalic)!=0) { - //BA.debugLineNum = 426;BA.debugLine="Return afamily & \"-BoldOblique\""; +RDebugUtils.currentLine=85655559; + //BA.debugLineNum = 85655559;BA.debugLine="contentAdd(fPage,$\"BT /F${i} ${NumberFormat2(asiz"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,("BT /F"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_asize,(int) (1),(int) (3),(int) (3),__c.False)))+" Tf ET"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); +RDebugUtils.currentLine=85655560; + //BA.debugLineNum = 85655560;BA.debugLine="fContext.fFontFamily=afamily"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontFamily /*String*/ = _afamily; +RDebugUtils.currentLine=85655561; + //BA.debugLineNum = 85655561;BA.debugLine="fContext.fFontStyle=astyle"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontStyle /*int*/ = _astyle; +RDebugUtils.currentLine=85655562; + //BA.debugLineNum = 85655562;BA.debugLine="fContext.fFontSize=asize"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ = _asize; +RDebugUtils.currentLine=85655563; + //BA.debugLineNum = 85655563;BA.debugLine="fContext.fFontColor=acolor"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontColor /*double[]*/ = _acolor; +RDebugUtils.currentLine=85655564; + //BA.debugLineNum = 85655564;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=85655565; + //BA.debugLineNum = 85655565;BA.debugLine="End Sub"; +return null; +} +public gunav2.keymon.com.mx.cpdf _outimage(gunav2.keymon.com.mx.cpdf __ref,String _adir,String _afile,double _ax,double _ay,double _aw,double _ah) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "outimage", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "outimage", new Object[] {_adir,_afile,_ax,_ay,_aw,_ah}));} +gunav2.keymon.com.mx.cpdf._tpdfimageinfo _ii = null; +String _k = ""; +int _i = 0; +RDebugUtils.currentLine=86048768; + //BA.debugLineNum = 86048768;BA.debugLine="public Sub outImage(adir As String,afile As String"; +RDebugUtils.currentLine=86048769; + //BA.debugLineNum = 86048769;BA.debugLine="Dim ii As TPDFImageInfo"; +_ii = new gunav2.keymon.com.mx.cpdf._tpdfimageinfo(); +RDebugUtils.currentLine=86048770; + //BA.debugLineNum = 86048770;BA.debugLine="afile=convertImage(adir,afile)"; +_afile = __ref._convertimage /*String*/ (null,_adir,_afile); +RDebugUtils.currentLine=86048772; + //BA.debugLineNum = 86048772;BA.debugLine="Dim k As String=imageKey(adir,afile)"; +_k = __ref._imagekey /*String*/ (null,_adir,_afile); +RDebugUtils.currentLine=86048773; + //BA.debugLineNum = 86048773;BA.debugLine="Dim i As Int=findImageKey(k)"; +_i = __ref._findimagekey /*int*/ (null,_k); +RDebugUtils.currentLine=86048775; + //BA.debugLineNum = 86048775;BA.debugLine="If i=-1 Then"; +if (_i==-1) { +RDebugUtils.currentLine=86048777; + //BA.debugLineNum = 86048777;BA.debugLine="ii=imageInfo(adir,afile)"; +_ii = __ref._imageinfo /*gunav2.keymon.com.mx.cpdf._tpdfimageinfo*/ (null,_adir,_afile); +RDebugUtils.currentLine=86048779; + //BA.debugLineNum = 86048779;BA.debugLine="fUsedImages.add(CreateMap(\"path\":k,\"info\":ii))"; +__ref._fusedimages /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(__c.createMap(new Object[] {(Object)("path"),(Object)(_k),(Object)("info"),(Object)(_ii)}).getObject())); +RDebugUtils.currentLine=86048780; + //BA.debugLineNum = 86048780;BA.debugLine="i=fUsedImages.Size-1"; +_i = (int) (__ref._fusedimages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); + }else { +RDebugUtils.currentLine=86048782; + //BA.debugLineNum = 86048782;BA.debugLine="ii=fUsedImages.Get(i).As(Map).Get(\"info\")"; +_ii = (gunav2.keymon.com.mx.cpdf._tpdfimageinfo)(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._fusedimages /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)))).Get((Object)("info"))); + }; +RDebugUtils.currentLine=86048785; + //BA.debugLineNum = 86048785;BA.debugLine="File.Delete(adir,afile)"; +__c.File.Delete(_adir,_afile); +RDebugUtils.currentLine=86048787; + //BA.debugLineNum = 86048787;BA.debugLine="If ii.fError=0 Then"; +if (_ii.fError /*int*/ ==0) { +RDebugUtils.currentLine=86048789; + //BA.debugLineNum = 86048789;BA.debugLine="If aw=0 And ah=0 Then"; +if (_aw==0 && _ah==0) { +RDebugUtils.currentLine=86048790; + //BA.debugLineNum = 86048790;BA.debugLine="aw=-96"; +_aw = -96; +RDebugUtils.currentLine=86048791; + //BA.debugLineNum = 86048791;BA.debugLine="ah=-96"; +_ah = -96; + }; +RDebugUtils.currentLine=86048795; + //BA.debugLineNum = 86048795;BA.debugLine="If aw<0 Then"; +if (_aw<0) { +RDebugUtils.currentLine=86048796; + //BA.debugLineNum = 86048796;BA.debugLine="aw=-ii.fWidth*72/aw/fUnitFactor"; +_aw = -_ii.fWidth /*int*/ *72/(double)_aw/(double)__ref._funitfactor /*double*/ ; + }; +RDebugUtils.currentLine=86048799; + //BA.debugLineNum = 86048799;BA.debugLine="If ah<0 Then"; +if (_ah<0) { +RDebugUtils.currentLine=86048800; + //BA.debugLineNum = 86048800;BA.debugLine="ah=-ii.fHeight*72/ah/fUnitFactor"; +_ah = -_ii.fHeight /*int*/ *72/(double)_ah/(double)__ref._funitfactor /*double*/ ; + }; +RDebugUtils.currentLine=86048804; + //BA.debugLineNum = 86048804;BA.debugLine="If aw=0 Then"; +if (_aw==0) { +RDebugUtils.currentLine=86048805; + //BA.debugLineNum = 86048805;BA.debugLine="aw=ah*ii.fWidth/ii.fHeight"; +_aw = _ah*_ii.fWidth /*int*/ /(double)_ii.fHeight /*int*/ ; + }; +RDebugUtils.currentLine=86048808; + //BA.debugLineNum = 86048808;BA.debugLine="If ah=0 Then"; +if (_ah==0) { +RDebugUtils.currentLine=86048809; + //BA.debugLineNum = 86048809;BA.debugLine="ah=aw*ii.fHeight/ii.fWidth"; +_ah = _aw*_ii.fHeight /*int*/ /(double)_ii.fWidth /*int*/ ; + }; +RDebugUtils.currentLine=86048812; + //BA.debugLineNum = 86048812;BA.debugLine="contentAdd(fPage,$\"q ${NumberFormat2(aw*fUnitFac"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,("q "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_aw*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" 0 0 "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ah*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" cm /I"+__c.SmartStringFormatter("",(Object)(_i))+" Do Q"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); + }; +RDebugUtils.currentLine=86048814; + //BA.debugLineNum = 86048814;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=86048815; + //BA.debugLineNum = 86048815;BA.debugLine="End Sub"; +return null; +} +public gunav2.keymon.com.mx.cpdf _outtext(gunav2.keymon.com.mx.cpdf __ref,double _ax,double _ay,String _atext) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "outtext", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "outtext", new Object[] {_ax,_ay,_atext}));} +gunav2.keymon.com.mx.cpdf._tpdffontinfo _fi = null; +gunav2.keymon.com.mx.cpdf._tpdftextsize _ts = null; +RDebugUtils.currentLine=85721088; + //BA.debugLineNum = 85721088;BA.debugLine="public Sub outText(ax As Double,ay As Double,atext"; +RDebugUtils.currentLine=85721089; + //BA.debugLineNum = 85721089;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(fContext.fFont"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontColor /*double[]*/ [(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontColor /*double[]*/ [(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontColor /*double[]*/ [(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" rg"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); +RDebugUtils.currentLine=85721090; + //BA.debugLineNum = 85721090;BA.debugLine="contentAdd(fPage,$\"BT ${NumberFormat2(ax*fUnitFac"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,("BT "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" Td ("+__c.SmartStringFormatter("",(Object)(__ref._escapetext /*String*/ (null,_atext)))+")Tj ET"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); +RDebugUtils.currentLine=85721091; + //BA.debugLineNum = 85721091;BA.debugLine="If Bit.And(fContext.fFontstyle,fontUnderline+font"; +if (__c.Bit.And(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontStyle /*int*/ ,(int) (__ref._fontunderline /*int*/ +__ref._fontstrikethrough /*int*/ ))!=0) { +RDebugUtils.currentLine=85721092; + //BA.debugLineNum = 85721092;BA.debugLine="Dim fi As TPDFFontInfo=fFontsInfos.Get(calcFontK"; +_fi = ((gunav2.keymon.com.mx.cpdf._tpdffontinfo)(__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(__ref._calcfontkey /*String*/ (null,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontFamily /*String*/ ,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontStyle /*int*/ ))))); +RDebugUtils.currentLine=85721093; + //BA.debugLineNum = 85721093;BA.debugLine="Dim ts As TPDFTextSize=gTextSize(atext)"; +_ts = __ref._gtextsize /*gunav2.keymon.com.mx.cpdf._tpdftextsize*/ (null,_atext); + }; +RDebugUtils.currentLine=85721095; + //BA.debugLineNum = 85721095;BA.debugLine="If Bit.And(fContext.fFontstyle,fontUnderline)<>0"; +if (__c.Bit.And(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontStyle /*int*/ ,__ref._fontunderline /*int*/ )!=0) { +RDebugUtils.currentLine=85721096; + //BA.debugLineNum = 85721096;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFacto"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*__ref._funitfactor /*double*/ +_fi.fYUnderline /*int*/ *__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ts.fWidth /*double*/ *__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((_fi.fHUnderline /*int*/ )*__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" re f "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); + }; +RDebugUtils.currentLine=85721098; + //BA.debugLineNum = 85721098;BA.debugLine="If Bit.And(fContext.fFontstyle,fontStrikeThrough)"; +if (__c.Bit.And(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontStyle /*int*/ ,__ref._fontstrikethrough /*int*/ )!=0) { +RDebugUtils.currentLine=85721099; + //BA.debugLineNum = 85721099;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFacto"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*__ref._funitfactor /*double*/ +_fi.fYStrikeThrough /*int*/ *__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ts.fWidth /*double*/ *__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((_fi.fHStrikeThrough /*int*/ )*__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" re f "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); + }; +RDebugUtils.currentLine=85721101; + //BA.debugLineNum = 85721101;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=85721102; + //BA.debugLineNum = 85721102;BA.debugLine="End Sub"; +return null; +} +public gunav2.keymon.com.mx.cpdf _savetofile(gunav2.keymon.com.mx.cpdf __ref,String _adir,String _afile,int _acompress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "savetofile", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "savetofile", new Object[] {_adir,_afile,_acompress}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outputstream = null; +RDebugUtils.currentLine=84934656; + //BA.debugLineNum = 84934656;BA.debugLine="public Sub saveToFile(adir As String, afile As Str"; +RDebugUtils.currentLine=84934657; + //BA.debugLineNum = 84934657;BA.debugLine="Log(afile)"; +__c.LogImpl("084934657",_afile,0); +RDebugUtils.currentLine=84934658; + //BA.debugLineNum = 84934658;BA.debugLine="File.Delete(adir,afile)"; +__c.File.Delete(_adir,_afile); +RDebugUtils.currentLine=84934659; + //BA.debugLineNum = 84934659;BA.debugLine="Dim outputstream As OutputStream=File.OpenOutput("; +_outputstream = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_outputstream = __c.File.OpenOutput(_adir,_afile,__c.False); +RDebugUtils.currentLine=84934660; + //BA.debugLineNum = 84934660;BA.debugLine="saveToStream(outputstream,acompress)"; +__ref._savetostream /*gunav2.keymon.com.mx.cpdf*/ (null,_outputstream,_acompress); +RDebugUtils.currentLine=84934661; + //BA.debugLineNum = 84934661;BA.debugLine="outputstream.Close"; +_outputstream.Close(); +RDebugUtils.currentLine=84934662; + //BA.debugLineNum = 84934662;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=84934663; + //BA.debugLineNum = 84934663;BA.debugLine="End Sub"; +return null; +} +public String _calcfontkey(gunav2.keymon.com.mx.cpdf __ref,String _afamily,int _astyle) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "calcfontkey", false)) + {return ((String) Debug.delegate(ba, "calcfontkey", new Object[] {_afamily,_astyle}));} +RDebugUtils.currentLine=84410368; + //BA.debugLineNum = 84410368;BA.debugLine="private Sub calcFontKey(afamily As String,astyle A"; +RDebugUtils.currentLine=84410369; + //BA.debugLineNum = 84410369;BA.debugLine="If afamily=\"zapfdingbats\" Or afamily=\"Symbol\" The"; +if ((_afamily).equals("zapfdingbats") || (_afamily).equals("Symbol")) { +RDebugUtils.currentLine=84410370; + //BA.debugLineNum = 84410370;BA.debugLine="astyle=Bit.And(astyle,Bit.Not(Bit.Or(fontBold,fo"; +_astyle = __c.Bit.And(_astyle,__c.Bit.Not(__c.Bit.Or(__ref._fontbold /*int*/ ,__ref._fontitalic /*int*/ ))); + }; +RDebugUtils.currentLine=84410372; + //BA.debugLineNum = 84410372;BA.debugLine="If Bit.And(astyle,fontBold)<>0 And Bit.And(astyle"; +if (__c.Bit.And(_astyle,__ref._fontbold /*int*/ )!=0 && __c.Bit.And(_astyle,__ref._fontitalic /*int*/ )!=0) { +RDebugUtils.currentLine=84410373; + //BA.debugLineNum = 84410373;BA.debugLine="Return afamily & \"-BoldOblique\""; if (true) return _afamily+"-BoldOblique"; }; - //BA.debugLineNum = 428;BA.debugLine="If Bit.And(astyle,fontBold)<>0 Then"; -if (__c.Bit.And(_astyle,_fontbold)!=0) { - //BA.debugLineNum = 429;BA.debugLine="Return afamily & \"-Bold\""; +RDebugUtils.currentLine=84410375; + //BA.debugLineNum = 84410375;BA.debugLine="If Bit.And(astyle,fontBold)<>0 Then"; +if (__c.Bit.And(_astyle,__ref._fontbold /*int*/ )!=0) { +RDebugUtils.currentLine=84410376; + //BA.debugLineNum = 84410376;BA.debugLine="Return afamily & \"-Bold\""; if (true) return _afamily+"-Bold"; }; - //BA.debugLineNum = 431;BA.debugLine="If Bit.And(astyle,fontItalic)<>0 Then"; -if (__c.Bit.And(_astyle,_fontitalic)!=0) { - //BA.debugLineNum = 432;BA.debugLine="Return afamily & \"-Oblique\""; +RDebugUtils.currentLine=84410378; + //BA.debugLineNum = 84410378;BA.debugLine="If Bit.And(astyle,fontItalic)<>0 Then"; +if (__c.Bit.And(_astyle,__ref._fontitalic /*int*/ )!=0) { +RDebugUtils.currentLine=84410379; + //BA.debugLineNum = 84410379;BA.debugLine="Return afamily & \"-Oblique\""; if (true) return _afamily+"-Oblique"; }; - //BA.debugLineNum = 434;BA.debugLine="If afamily=\"Times\" Then"; +RDebugUtils.currentLine=84410381; + //BA.debugLineNum = 84410381;BA.debugLine="If afamily=\"Times\" Then"; if ((_afamily).equals("Times")) { - //BA.debugLineNum = 435;BA.debugLine="Return \"Times-Roman\""; +RDebugUtils.currentLine=84410382; + //BA.debugLineNum = 84410382;BA.debugLine="Return \"Times-Roman\""; if (true) return "Times-Roman"; }; - //BA.debugLineNum = 437;BA.debugLine="Return afamily"; +RDebugUtils.currentLine=84410384; + //BA.debugLineNum = 84410384;BA.debugLine="Return afamily"; if (true) return _afamily; - //BA.debugLineNum = 438;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84410385; + //BA.debugLineNum = 84410385;BA.debugLine="End Sub"; return ""; } -public byte[] _catalogwrite() throws Exception{ +public byte[] _catalogwrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "catalogwrite", false)) + {return ((byte[]) Debug.delegate(ba, "catalogwrite", null));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; - //BA.debugLineNum = 209;BA.debugLine="private Sub catalogWrite As Byte()"; - //BA.debugLineNum = 210;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83296256; + //BA.debugLineNum = 83296256;BA.debugLine="private Sub catalogWrite As Byte()"; +RDebugUtils.currentLine=83296257; + //BA.debugLineNum = 83296257;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 211;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 212;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 213;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 214;BA.debugLine="Return bb.toarray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 215;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83296258; + //BA.debugLineNum = 83296258;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83296259; + //BA.debugLineNum = 83296259;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83296260; + //BA.debugLineNum = 83296260;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=83296261; + //BA.debugLineNum = 83296261;BA.debugLine="Return bb.toarray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83296262; + //BA.debugLineNum = 83296262;BA.debugLine="End Sub"; return null; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 13;BA.debugLine="Type TPDFContext(fX As Double,fY As Double, _"; +public String _class_globals(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +RDebugUtils.currentLine=82837504; + //BA.debugLineNum = 82837504;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=82837505; + //BA.debugLineNum = 82837505;BA.debugLine="Type TPDFContext(fX As Double,fY As Double, _"; ; - //BA.debugLineNum = 16;BA.debugLine="Type TPDFPage(fWidth As Double,fHeight As Double,"; +RDebugUtils.currentLine=82837508; + //BA.debugLineNum = 82837508;BA.debugLine="Type TPDFPage(fWidth As Double,fHeight As Double,"; ; - //BA.debugLineNum = 17;BA.debugLine="Type TPDFImageInfo(fError As Int,fWidth As Int,fH"; +RDebugUtils.currentLine=82837509; + //BA.debugLineNum = 82837509;BA.debugLine="Type TPDFImageInfo(fError As Int,fWidth As Int,fH"; ; - //BA.debugLineNum = 18;BA.debugLine="Type TPDFFontInfo(fCharsWidths(256) As Int,fYUnde"; +RDebugUtils.currentLine=82837510; + //BA.debugLineNum = 82837510;BA.debugLine="Type TPDFFontInfo(fCharsWidths(256) As Int,fYUnde"; ; - //BA.debugLineNum = 19;BA.debugLine="Type TPDFTextSize(fWidth As Double,fTop As Double"; +RDebugUtils.currentLine=82837511; + //BA.debugLineNum = 82837511;BA.debugLine="Type TPDFTextSize(fWidth As Double,fTop As Double"; ; - //BA.debugLineNum = 20;BA.debugLine="Type TPDFMultilineTextSize(fWidth As Double,fHeig"; +RDebugUtils.currentLine=82837512; + //BA.debugLineNum = 82837512;BA.debugLine="Type TPDFMultilineTextSize(fWidth As Double,fHeig"; ; - //BA.debugLineNum = 23;BA.debugLine="Private fXUI As XUI"; +RDebugUtils.currentLine=82837515; + //BA.debugLineNum = 82837515;BA.debugLine="Private fXUI As XUI"; _fxui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 26;BA.debugLine="Private const fTextEncoding As String=\"cp1252\""; +RDebugUtils.currentLine=82837518; + //BA.debugLineNum = 82837518;BA.debugLine="Private const fTextEncoding As String=\"cp1252\""; _ftextencoding = "cp1252"; - //BA.debugLineNum = 28;BA.debugLine="Private fLibVersion As String"; +RDebugUtils.currentLine=82837520; + //BA.debugLineNum = 82837520;BA.debugLine="Private fLibVersion As String"; _flibversion = ""; - //BA.debugLineNum = 29;BA.debugLine="Private fPDFVersion As String"; +RDebugUtils.currentLine=82837521; + //BA.debugLineNum = 82837521;BA.debugLine="Private fPDFVersion As String"; _fpdfversion = ""; - //BA.debugLineNum = 31;BA.debugLine="Private fUnitFactor As Double"; +RDebugUtils.currentLine=82837523; + //BA.debugLineNum = 82837523;BA.debugLine="Private fUnitFactor As Double"; _funitfactor = 0; - //BA.debugLineNum = 33;BA.debugLine="Private fContext As TPDFContext"; +RDebugUtils.currentLine=82837525; + //BA.debugLineNum = 82837525;BA.debugLine="Private fContext As TPDFContext"; _fcontext = new gunav2.keymon.com.mx.cpdf._tpdfcontext(); - //BA.debugLineNum = 35;BA.debugLine="Private fProperties As Map"; +RDebugUtils.currentLine=82837527; + //BA.debugLineNum = 82837527;BA.debugLine="Private fProperties As Map"; _fproperties = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 37;BA.debugLine="Private fObjs As List"; +RDebugUtils.currentLine=82837529; + //BA.debugLineNum = 82837529;BA.debugLine="Private fObjs As List"; _fobjs = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 39;BA.debugLine="Private fPage As Int"; +RDebugUtils.currentLine=82837531; + //BA.debugLineNum = 82837531;BA.debugLine="Private fPage As Int"; _fpage = 0; - //BA.debugLineNum = 41;BA.debugLine="Private fPages As List"; +RDebugUtils.currentLine=82837533; + //BA.debugLineNum = 82837533;BA.debugLine="Private fPages As List"; _fpages = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 43;BA.debugLine="Private fUsedImages As List"; +RDebugUtils.currentLine=82837535; + //BA.debugLineNum = 82837535;BA.debugLine="Private fUsedImages As List"; _fusedimages = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 45;BA.debugLine="Private fUsedFonts As List"; +RDebugUtils.currentLine=82837537; + //BA.debugLineNum = 82837537;BA.debugLine="Private fUsedFonts As List"; _fusedfonts = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 47;BA.debugLine="Private fFontsInfos As Map"; +RDebugUtils.currentLine=82837539; + //BA.debugLineNum = 82837539;BA.debugLine="Private fFontsInfos As Map"; _ffontsinfos = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 50;BA.debugLine="Public const pageSizeA3PortraitWidth As Double=-8"; +RDebugUtils.currentLine=82837542; + //BA.debugLineNum = 82837542;BA.debugLine="Public const pageSizeA3PortraitWidth As Double=-8"; _pagesizea3portraitwidth = -841.89; - //BA.debugLineNum = 51;BA.debugLine="Public const pageSizeA3PortraitHeight As Double=-"; +RDebugUtils.currentLine=82837543; + //BA.debugLineNum = 82837543;BA.debugLine="Public const pageSizeA3PortraitHeight As Double=-"; _pagesizea3portraitheight = -1190.55; - //BA.debugLineNum = 54;BA.debugLine="Public const pageSizeA4PortraitWidth As Double=-3"; +RDebugUtils.currentLine=82837546; + //BA.debugLineNum = 82837546;BA.debugLine="Public const pageSizeA4PortraitWidth As Double=-3"; _pagesizea4portraitwidth = -370; - //BA.debugLineNum = 55;BA.debugLine="Public const pageSizeA4PortraitHeight As Double=-"; +RDebugUtils.currentLine=82837547; + //BA.debugLineNum = 82837547;BA.debugLine="Public const pageSizeA4PortraitHeight As Double=-"; _pagesizea4portraitheight = -72; - //BA.debugLineNum = 56;BA.debugLine="Public const pageSizeA5PortraitWidth As Double=-4"; +RDebugUtils.currentLine=82837548; + //BA.debugLineNum = 82837548;BA.debugLine="Public const pageSizeA5PortraitWidth As Double=-4"; _pagesizea5portraitwidth = -420.94; - //BA.debugLineNum = 57;BA.debugLine="Public const pageSizeA5PortraitHeight As Double=-"; +RDebugUtils.currentLine=82837549; + //BA.debugLineNum = 82837549;BA.debugLine="Public const pageSizeA5PortraitHeight As Double=-"; _pagesizea5portraitheight = -595.28; - //BA.debugLineNum = 58;BA.debugLine="Public const pageSizeLetterPortraitWidth As Doubl"; +RDebugUtils.currentLine=82837550; + //BA.debugLineNum = 82837550;BA.debugLine="Public const pageSizeLetterPortraitWidth As Doubl"; _pagesizeletterportraitwidth = -612; - //BA.debugLineNum = 59;BA.debugLine="Public const pageSizeLetterPortraitHeight As Doub"; +RDebugUtils.currentLine=82837551; + //BA.debugLineNum = 82837551;BA.debugLine="Public const pageSizeLetterPortraitHeight As Doub"; _pagesizeletterportraitheight = -792; - //BA.debugLineNum = 60;BA.debugLine="Public const pageSizeLegalPortraitWidth As Double"; +RDebugUtils.currentLine=82837552; + //BA.debugLineNum = 82837552;BA.debugLine="Public const pageSizeLegalPortraitWidth As Double"; _pagesizelegalportraitwidth = -612; - //BA.debugLineNum = 61;BA.debugLine="Public const pageSizeLegalPortraitHeight As Doubl"; +RDebugUtils.currentLine=82837553; + //BA.debugLineNum = 82837553;BA.debugLine="Public const pageSizeLegalPortraitHeight As Doubl"; _pagesizelegalportraitheight = -1008; - //BA.debugLineNum = 62;BA.debugLine="Public const pageSizeA3LandscapeWidth As Double=-"; +RDebugUtils.currentLine=82837554; + //BA.debugLineNum = 82837554;BA.debugLine="Public const pageSizeA3LandscapeWidth As Double=-"; _pagesizea3landscapewidth = -1190.55; - //BA.debugLineNum = 63;BA.debugLine="Public const pageSizeA3LandscapeHeight As Double="; +RDebugUtils.currentLine=82837555; + //BA.debugLineNum = 82837555;BA.debugLine="Public const pageSizeA3LandscapeHeight As Double="; _pagesizea3landscapeheight = -841.89; - //BA.debugLineNum = 64;BA.debugLine="Public const pageSizeA4LandscapeWidth As Double=-"; +RDebugUtils.currentLine=82837556; + //BA.debugLineNum = 82837556;BA.debugLine="Public const pageSizeA4LandscapeWidth As Double=-"; _pagesizea4landscapewidth = -841.89; - //BA.debugLineNum = 65;BA.debugLine="Public const pageSizeA4LandscapeHeight As Double="; +RDebugUtils.currentLine=82837557; + //BA.debugLineNum = 82837557;BA.debugLine="Public const pageSizeA4LandscapeHeight As Double="; _pagesizea4landscapeheight = -595.28; - //BA.debugLineNum = 66;BA.debugLine="Public const pageSizeA5LandscapeWidth As Double=-"; +RDebugUtils.currentLine=82837558; + //BA.debugLineNum = 82837558;BA.debugLine="Public const pageSizeA5LandscapeWidth As Double=-"; _pagesizea5landscapewidth = -595.28; - //BA.debugLineNum = 67;BA.debugLine="Public const pageSizeA5LandscapeHeight As Double="; +RDebugUtils.currentLine=82837559; + //BA.debugLineNum = 82837559;BA.debugLine="Public const pageSizeA5LandscapeHeight As Double="; _pagesizea5landscapeheight = -420.94; - //BA.debugLineNum = 68;BA.debugLine="Public const pageSizeLetterLandscapeWidth As Doub"; +RDebugUtils.currentLine=82837560; + //BA.debugLineNum = 82837560;BA.debugLine="Public const pageSizeLetterLandscapeWidth As Doub"; _pagesizeletterlandscapewidth = -792; - //BA.debugLineNum = 69;BA.debugLine="Public const pageSizeLetterLandscapeHeight As Dou"; +RDebugUtils.currentLine=82837561; + //BA.debugLineNum = 82837561;BA.debugLine="Public const pageSizeLetterLandscapeHeight As Dou"; _pagesizeletterlandscapeheight = -612; - //BA.debugLineNum = 70;BA.debugLine="Public const pageSizeLegalLandscapeWidth As Doubl"; +RDebugUtils.currentLine=82837562; + //BA.debugLineNum = 82837562;BA.debugLine="Public const pageSizeLegalLandscapeWidth As Doubl"; _pagesizelegallandscapewidth = -1008; - //BA.debugLineNum = 71;BA.debugLine="Public const pageSizeLegalLandscapeHeight As Doub"; +RDebugUtils.currentLine=82837563; + //BA.debugLineNum = 82837563;BA.debugLine="Public const pageSizeLegalLandscapeHeight As Doub"; _pagesizelegallandscapeheight = -612; - //BA.debugLineNum = 74;BA.debugLine="Public const fontCourier As String=\"Courier\""; +RDebugUtils.currentLine=82837566; + //BA.debugLineNum = 82837566;BA.debugLine="Public const fontCourier As String=\"Courier\""; _fontcourier = "Courier"; - //BA.debugLineNum = 75;BA.debugLine="Public const fontHelvetica As String=\"Helvetica\""; +RDebugUtils.currentLine=82837567; + //BA.debugLineNum = 82837567;BA.debugLine="Public const fontHelvetica As String=\"Helvetica\""; _fonthelvetica = "Helvetica"; - //BA.debugLineNum = 76;BA.debugLine="Public const fontTimes As String=\"Times\""; +RDebugUtils.currentLine=82837568; + //BA.debugLineNum = 82837568;BA.debugLine="Public const fontTimes As String=\"Times\""; _fonttimes = "Times"; - //BA.debugLineNum = 77;BA.debugLine="Public const fontSymbol As String=\"Symbol\""; +RDebugUtils.currentLine=82837569; + //BA.debugLineNum = 82837569;BA.debugLine="Public const fontSymbol As String=\"Symbol\""; _fontsymbol = "Symbol"; - //BA.debugLineNum = 78;BA.debugLine="Public const fontZapfdingbats As String=\"zapfding"; +RDebugUtils.currentLine=82837570; + //BA.debugLineNum = 82837570;BA.debugLine="Public const fontZapfdingbats As String=\"zapfding"; _fontzapfdingbats = "zapfdingbats"; - //BA.debugLineNum = 81;BA.debugLine="Public const fontNormal As Int=0"; +RDebugUtils.currentLine=82837573; + //BA.debugLineNum = 82837573;BA.debugLine="Public const fontNormal As Int=0"; _fontnormal = (int) (0); - //BA.debugLineNum = 82;BA.debugLine="Public const fontBold As Int=1"; +RDebugUtils.currentLine=82837574; + //BA.debugLineNum = 82837574;BA.debugLine="Public const fontBold As Int=1"; _fontbold = (int) (1); - //BA.debugLineNum = 83;BA.debugLine="Public const fontItalic As Int=2"; +RDebugUtils.currentLine=82837575; + //BA.debugLineNum = 82837575;BA.debugLine="Public const fontItalic As Int=2"; _fontitalic = (int) (2); - //BA.debugLineNum = 84;BA.debugLine="Public const fontUnderline As Int=4"; +RDebugUtils.currentLine=82837576; + //BA.debugLineNum = 82837576;BA.debugLine="Public const fontUnderline As Int=4"; _fontunderline = (int) (4); - //BA.debugLineNum = 85;BA.debugLine="Public const fontStrikeThrough As Int=8"; +RDebugUtils.currentLine=82837577; + //BA.debugLineNum = 82837577;BA.debugLine="Public const fontStrikeThrough As Int=8"; _fontstrikethrough = (int) (8); - //BA.debugLineNum = 88;BA.debugLine="Public const PropertyAuthor As String=\"Author\""; +RDebugUtils.currentLine=82837580; + //BA.debugLineNum = 82837580;BA.debugLine="Public const PropertyAuthor As String=\"Author\""; _propertyauthor = "Author"; - //BA.debugLineNum = 89;BA.debugLine="Public const PropertyCreator As String=\"Creator\""; +RDebugUtils.currentLine=82837581; + //BA.debugLineNum = 82837581;BA.debugLine="Public const PropertyCreator As String=\"Creator\""; _propertycreator = "Creator"; - //BA.debugLineNum = 90;BA.debugLine="Public const PropertyProducer As String=\"Producer"; +RDebugUtils.currentLine=82837582; + //BA.debugLineNum = 82837582;BA.debugLine="Public const PropertyProducer As String=\"Producer"; _propertyproducer = "Producer"; - //BA.debugLineNum = 91;BA.debugLine="Public const PropertyTitle As String=\"Title\""; +RDebugUtils.currentLine=82837583; + //BA.debugLineNum = 82837583;BA.debugLine="Public const PropertyTitle As String=\"Title\""; _propertytitle = "Title"; - //BA.debugLineNum = 92;BA.debugLine="Public const PropertySubject As String=\"Subject\""; +RDebugUtils.currentLine=82837584; + //BA.debugLineNum = 82837584;BA.debugLine="Public const PropertySubject As String=\"Subject\""; _propertysubject = "Subject"; - //BA.debugLineNum = 93;BA.debugLine="Public const PropertyKeywords As String=\"Keywords"; +RDebugUtils.currentLine=82837585; + //BA.debugLineNum = 82837585;BA.debugLine="Public const PropertyKeywords As String=\"Keywords"; _propertykeywords = "Keywords"; - //BA.debugLineNum = 96;BA.debugLine="Public const RectangleBorderOnly As String=\"S\""; +RDebugUtils.currentLine=82837588; + //BA.debugLineNum = 82837588;BA.debugLine="Public const RectangleBorderOnly As String=\"S\""; _rectangleborderonly = "S"; - //BA.debugLineNum = 97;BA.debugLine="Public const RectangleFillOnly As String=\"f\""; +RDebugUtils.currentLine=82837589; + //BA.debugLineNum = 82837589;BA.debugLine="Public const RectangleFillOnly As String=\"f\""; _rectanglefillonly = "f"; - //BA.debugLineNum = 98;BA.debugLine="Public const RectangleBorderAndFill As String=\"B\""; +RDebugUtils.currentLine=82837590; + //BA.debugLineNum = 82837590;BA.debugLine="Public const RectangleBorderAndFill As String=\"B\""; _rectangleborderandfill = "B"; - //BA.debugLineNum = 101;BA.debugLine="Public const AlignLeft As String=\"L\""; +RDebugUtils.currentLine=82837593; + //BA.debugLineNum = 82837593;BA.debugLine="Public const AlignLeft As String=\"L\""; _alignleft = "L"; - //BA.debugLineNum = 102;BA.debugLine="Public const AlignCenter As String=\"C\""; +RDebugUtils.currentLine=82837594; + //BA.debugLineNum = 82837594;BA.debugLine="Public const AlignCenter As String=\"C\""; _aligncenter = "C"; - //BA.debugLineNum = 103;BA.debugLine="Public const AlignRight As String=\"R\""; +RDebugUtils.currentLine=82837595; + //BA.debugLineNum = 82837595;BA.debugLine="Public const AlignRight As String=\"R\""; _alignright = "R"; - //BA.debugLineNum = 104;BA.debugLine="Public const AlignJusify As String=\"J\""; +RDebugUtils.currentLine=82837596; + //BA.debugLineNum = 82837596;BA.debugLine="Public const AlignJusify As String=\"J\""; _alignjusify = "J"; - //BA.debugLineNum = 107;BA.debugLine="Public const CompressAlways As Int=0"; +RDebugUtils.currentLine=82837599; + //BA.debugLineNum = 82837599;BA.debugLine="Public const CompressAlways As Int=0"; _compressalways = (int) (0); - //BA.debugLineNum = 108;BA.debugLine="Public const CompressIfSmaller As Int=1"; +RDebugUtils.currentLine=82837600; + //BA.debugLineNum = 82837600;BA.debugLine="Public const CompressIfSmaller As Int=1"; _compressifsmaller = (int) (1); - //BA.debugLineNum = 109;BA.debugLine="Public const CompressNever As Int=2"; +RDebugUtils.currentLine=82837601; + //BA.debugLineNum = 82837601;BA.debugLine="Public const CompressNever As Int=2"; _compressnever = (int) (2); - //BA.debugLineNum = 111;BA.debugLine="Public const colorBlack(3) As Double=Array As Dou"; +RDebugUtils.currentLine=82837603; + //BA.debugLineNum = 82837603;BA.debugLine="Public const colorBlack(3) As Double=Array As Dou"; _colorblack = new double[]{0,0,0}; - //BA.debugLineNum = 112;BA.debugLine="Public const colorWhite(3) As Double=Array As Dou"; +RDebugUtils.currentLine=82837604; + //BA.debugLineNum = 82837604;BA.debugLine="Public const colorWhite(3) As Double=Array As Dou"; _colorwhite = new double[]{1,1,1}; - //BA.debugLineNum = 113;BA.debugLine="Public const colorGray(3) As Double=Array As Doub"; +RDebugUtils.currentLine=82837605; + //BA.debugLineNum = 82837605;BA.debugLine="Public const colorGray(3) As Double=Array As Doub"; _colorgray = new double[]{0.5,0.5,0.5}; - //BA.debugLineNum = 114;BA.debugLine="Public const colorRed(3) As Double=Array As Doubl"; +RDebugUtils.currentLine=82837606; + //BA.debugLineNum = 82837606;BA.debugLine="Public const colorRed(3) As Double=Array As Doubl"; _colorred = new double[]{1,0,0}; - //BA.debugLineNum = 115;BA.debugLine="Public const colorGreen(3) As Double=Array As Dou"; +RDebugUtils.currentLine=82837607; + //BA.debugLineNum = 82837607;BA.debugLine="Public const colorGreen(3) As Double=Array As Dou"; _colorgreen = new double[]{0,1,0}; - //BA.debugLineNum = 116;BA.debugLine="Public const colorBlue(3) As Double=Array As Doub"; +RDebugUtils.currentLine=82837608; + //BA.debugLineNum = 82837608;BA.debugLine="Public const colorBlue(3) As Double=Array As Doub"; _colorblue = new double[]{0,0,1}; - //BA.debugLineNum = 118;BA.debugLine="End Sub"; +RDebugUtils.currentLine=82837610; + //BA.debugLineNum = 82837610;BA.debugLine="End Sub"; return ""; } -public String _contentadd(int _apage,String _acontent) throws Exception{ +public String _contentadd(gunav2.keymon.com.mx.cpdf __ref,int _apage,String _acontent) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "contentadd", false)) + {return ((String) Debug.delegate(ba, "contentadd", new Object[] {_apage,_acontent}));} anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; - //BA.debugLineNum = 441;BA.debugLine="private Sub contentAdd(apage As Int,acontent As St"; - //BA.debugLineNum = 442;BA.debugLine="Dim sb As StringBuilder"; +RDebugUtils.currentLine=84475904; + //BA.debugLineNum = 84475904;BA.debugLine="private Sub contentAdd(apage As Int,acontent As St"; +RDebugUtils.currentLine=84475905; + //BA.debugLineNum = 84475905;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 443;BA.debugLine="sb.Initialize"; +RDebugUtils.currentLine=84475906; + //BA.debugLineNum = 84475906;BA.debugLine="sb.Initialize"; _sb.Initialize(); - //BA.debugLineNum = 444;BA.debugLine="sb.Append(fPages.Get(apage).As(TPDFPage).fbuffer)"; -_sb.Append(((gunav2.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get(_apage))).fBuffer /*String*/ ); - //BA.debugLineNum = 445;BA.debugLine="sb.Append(acontent)"; +RDebugUtils.currentLine=84475907; + //BA.debugLineNum = 84475907;BA.debugLine="sb.Append(fPages.Get(apage).As(TPDFPage).fbuffer)"; +_sb.Append(((gunav2.keymon.com.mx.cpdf._tpdfpage)(__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .Get(_apage))).fBuffer /*String*/ ); +RDebugUtils.currentLine=84475908; + //BA.debugLineNum = 84475908;BA.debugLine="sb.Append(acontent)"; _sb.Append(_acontent); - //BA.debugLineNum = 446;BA.debugLine="fPages.Get(apage).As(TPDFPage).fbuffer=sb.ToStrin"; -((gunav2.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get(_apage))).fBuffer /*String*/ = _sb.ToString(); - //BA.debugLineNum = 447;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84475909; + //BA.debugLineNum = 84475909;BA.debugLine="fPages.Get(apage).As(TPDFPage).fbuffer=sb.ToStrin"; +((gunav2.keymon.com.mx.cpdf._tpdfpage)(__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .Get(_apage))).fBuffer /*String*/ = _sb.ToString(); +RDebugUtils.currentLine=84475910; + //BA.debugLineNum = 84475910;BA.debugLine="End Sub"; return ""; } -public byte[] _contentswrite(int _acompress) throws Exception{ +public byte[] _contentswrite(gunav2.keymon.com.mx.cpdf __ref,int _acompress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "contentswrite", false)) + {return ((byte[]) Debug.delegate(ba, "contentswrite", new Object[] {_acompress}));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; int _i = 0; - //BA.debugLineNum = 248;BA.debugLine="private Sub contentsWrite(acompress As Int) As Byt"; - //BA.debugLineNum = 249;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83558400; + //BA.debugLineNum = 83558400;BA.debugLine="private Sub contentsWrite(acompress As Int) As Byt"; +RDebugUtils.currentLine=83558401; + //BA.debugLineNum = 83558401;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 250;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 251;BA.debugLine="For i=0 To fPages.Size-1"; +RDebugUtils.currentLine=83558402; + //BA.debugLineNum = 83558402;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83558403; + //BA.debugLineNum = 83558403;BA.debugLine="For i=0 To fPages.Size-1"; { final int step3 = 1; -final int limit3 = (int) (_fpages.getSize()-1); +final int limit3 = (int) (__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 252;BA.debugLine="bb.append(contentWrite(acompress,i))"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_contentwrite(_acompress,_i)); +RDebugUtils.currentLine=83558404; + //BA.debugLineNum = 83558404;BA.debugLine="bb.append(contentWrite(acompress,i))"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,__ref._contentwrite /*byte[]*/ (null,_acompress,_i)); } }; - //BA.debugLineNum = 254;BA.debugLine="Return bb.toarray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83558406; + //BA.debugLineNum = 83558406;BA.debugLine="Return bb.toarray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83558407; + //BA.debugLineNum = 83558407;BA.debugLine="End Sub"; return null; } -public byte[] _contentwrite(int _acompress,int _apage) throws Exception{ +public byte[] _contentwrite(gunav2.keymon.com.mx.cpdf __ref,int _acompress,int _apage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "contentwrite", false)) + {return ((byte[]) Debug.delegate(ba, "contentwrite", new Object[] {_acompress,_apage}));} String _compress = ""; gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; byte[] _c = null; String _filter = ""; anywheresoftware.b4a.randomaccessfile.CompressedStreams _cs = null; byte[] _b = null; - //BA.debugLineNum = 257;BA.debugLine="private Sub contentWrite(acompress As Int,apage As"; - //BA.debugLineNum = 258;BA.debugLine="Dim const compress As String=\"/Filter/FlateDecode"; +RDebugUtils.currentLine=83623936; + //BA.debugLineNum = 83623936;BA.debugLine="private Sub contentWrite(acompress As Int,apage As"; +RDebugUtils.currentLine=83623937; + //BA.debugLineNum = 83623937;BA.debugLine="Dim const compress As String=\"/Filter/FlateDecode"; _compress = "/Filter/FlateDecode"; - //BA.debugLineNum = 259;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83623938; + //BA.debugLineNum = 83623938;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 260;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 262;BA.debugLine="Dim c() As Byte=fPages.Get(apage).As(TPDFPage).fB"; -_c = ((gunav2.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get(_apage))).fBuffer /*String*/ .getBytes(_ftextencoding); - //BA.debugLineNum = 263;BA.debugLine="Dim filter As String=\"\""; +RDebugUtils.currentLine=83623939; + //BA.debugLineNum = 83623939;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83623941; + //BA.debugLineNum = 83623941;BA.debugLine="Dim c() As Byte=fPages.Get(apage).As(TPDFPage).fB"; +_c = ((gunav2.keymon.com.mx.cpdf._tpdfpage)(__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .Get(_apage))).fBuffer /*String*/ .getBytes(__ref._ftextencoding /*String*/ ); +RDebugUtils.currentLine=83623942; + //BA.debugLineNum = 83623942;BA.debugLine="Dim filter As String=\"\""; _filter = ""; - //BA.debugLineNum = 265;BA.debugLine="If acompress<>CompressNever Then"; -if (_acompress!=_compressnever) { - //BA.debugLineNum = 266;BA.debugLine="Dim cs As CompressedStreams"; +RDebugUtils.currentLine=83623944; + //BA.debugLineNum = 83623944;BA.debugLine="If acompress<>CompressNever Then"; +if (_acompress!=__ref._compressnever /*int*/ ) { +RDebugUtils.currentLine=83623945; + //BA.debugLineNum = 83623945;BA.debugLine="Dim cs As CompressedStreams"; _cs = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 267;BA.debugLine="Dim b() As Byte=cs.CompressBytes(c,\"zlib\")"; +RDebugUtils.currentLine=83623946; + //BA.debugLineNum = 83623946;BA.debugLine="Dim b() As Byte=cs.CompressBytes(c,\"zlib\")"; _b = _cs.CompressBytes(_c,"zlib"); - //BA.debugLineNum = 268;BA.debugLine="If acompress=CompressAlways Or b.Length+compress"; -if (_acompress==_compressalways || _b.length+_compress.length()<_c.length) { - //BA.debugLineNum = 269;BA.debugLine="c=b"; +RDebugUtils.currentLine=83623947; + //BA.debugLineNum = 83623947;BA.debugLine="If acompress=CompressAlways Or b.Length+compress"; +if (_acompress==__ref._compressalways /*int*/ || _b.length+_compress.length()<_c.length) { +RDebugUtils.currentLine=83623948; + //BA.debugLineNum = 83623948;BA.debugLine="c=b"; _c = _b; - //BA.debugLineNum = 270;BA.debugLine="filter=compress"; +RDebugUtils.currentLine=83623949; + //BA.debugLineNum = 83623949;BA.debugLine="filter=compress"; _filter = _compress; }; }; - //BA.debugLineNum = 274;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <<${filter}/Len"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+" 0 obj <<"+__c.SmartStringFormatter("",(Object)(_filter))+"/Length "+__c.SmartStringFormatter("",(Object)(_c.length))+">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 275;BA.debugLine="bb.Append(c)"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_c); - //BA.debugLineNum = 276;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 277;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 278;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 279;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83623953; + //BA.debugLineNum = 83623953;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <<${filter}/Len"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1))+" 0 obj <<"+__c.SmartStringFormatter("",(Object)(_filter))+"/Length "+__c.SmartStringFormatter("",(Object)(_c.length))+">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83623954; + //BA.debugLineNum = 83623954;BA.debugLine="bb.Append(c)"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_c); +RDebugUtils.currentLine=83623955; + //BA.debugLineNum = 83623955;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83623956; + //BA.debugLineNum = 83623956;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=83623957; + //BA.debugLineNum = 83623957;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83623958; + //BA.debugLineNum = 83623958;BA.debugLine="End Sub"; return null; } -public String _convertimage(String _adir,String _afile) throws Exception{ +public String _convertimage(gunav2.keymon.com.mx.cpdf __ref,String _adir,String _afile) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "convertimage", false)) + {return ((String) Debug.delegate(ba, "convertimage", new Object[] {_adir,_afile}));} anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 796;BA.debugLine="private Sub convertImage(adir As String,afile As S"; - //BA.debugLineNum = 798;BA.debugLine="Dim img As B4XBitmap"; +RDebugUtils.currentLine=85983232; + //BA.debugLineNum = 85983232;BA.debugLine="private Sub convertImage(adir As String,afile As S"; +RDebugUtils.currentLine=85983234; + //BA.debugLineNum = 85983234;BA.debugLine="Dim img As B4XBitmap"; _img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 799;BA.debugLine="img=fXUI.LoadBitmap(adir,afile)"; -_img = _fxui.LoadBitmap(_adir,_afile); - //BA.debugLineNum = 800;BA.debugLine="Dim out As OutputStream=File.OpenOutput(adir,afil"; +RDebugUtils.currentLine=85983235; + //BA.debugLineNum = 85983235;BA.debugLine="img=fXUI.LoadBitmap(adir,afile)"; +_img = __ref._fxui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .LoadBitmap(_adir,_afile); +RDebugUtils.currentLine=85983236; + //BA.debugLineNum = 85983236;BA.debugLine="Dim out As OutputStream=File.OpenOutput(adir,afil"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = __c.File.OpenOutput(_adir,_afile+".jpg",__c.False); - //BA.debugLineNum = 801;BA.debugLine="img.WriteToStream(out,100,\"JPEG\")"; +RDebugUtils.currentLine=85983237; + //BA.debugLineNum = 85983237;BA.debugLine="img.WriteToStream(out,100,\"JPEG\")"; _img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG")); - //BA.debugLineNum = 802;BA.debugLine="out.close"; +RDebugUtils.currentLine=85983238; + //BA.debugLineNum = 85983238;BA.debugLine="out.close"; _out.Close(); - //BA.debugLineNum = 805;BA.debugLine="Dim img As B4XBitmap"; +RDebugUtils.currentLine=85983241; + //BA.debugLineNum = 85983241;BA.debugLine="Dim img As B4XBitmap"; _img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 806;BA.debugLine="img=fXUI.LoadBitmap(adir,afile & \".jpg\")"; -_img = _fxui.LoadBitmap(_adir,_afile+".jpg"); - //BA.debugLineNum = 807;BA.debugLine="Dim out As OutputStream=File.OpenOutput(adir,afil"; +RDebugUtils.currentLine=85983242; + //BA.debugLineNum = 85983242;BA.debugLine="img=fXUI.LoadBitmap(adir,afile & \".jpg\")"; +_img = __ref._fxui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .LoadBitmap(_adir,_afile+".jpg"); +RDebugUtils.currentLine=85983243; + //BA.debugLineNum = 85983243;BA.debugLine="Dim out As OutputStream=File.OpenOutput(adir,afil"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = __c.File.OpenOutput(_adir,_afile+".png",__c.False); - //BA.debugLineNum = 808;BA.debugLine="img.WriteToStream(out,100,\"PNG\")"; +RDebugUtils.currentLine=85983244; + //BA.debugLineNum = 85983244;BA.debugLine="img.WriteToStream(out,100,\"PNG\")"; _img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 809;BA.debugLine="out.close"; +RDebugUtils.currentLine=85983245; + //BA.debugLineNum = 85983245;BA.debugLine="out.close"; _out.Close(); - //BA.debugLineNum = 811;BA.debugLine="File.Delete(adir,afile & \".jpg\")"; +RDebugUtils.currentLine=85983247; + //BA.debugLineNum = 85983247;BA.debugLine="File.Delete(adir,afile & \".jpg\")"; __c.File.Delete(_adir,_afile+".jpg"); - //BA.debugLineNum = 812;BA.debugLine="Return afile & \".png\""; +RDebugUtils.currentLine=85983248; + //BA.debugLineNum = 85983248;BA.debugLine="Return afile & \".png\""; if (true) return _afile+".png"; - //BA.debugLineNum = 813;BA.debugLine="End Sub"; +RDebugUtils.currentLine=85983249; + //BA.debugLineNum = 85983249;BA.debugLine="End Sub"; return ""; } -public gunav2.keymon.com.mx.cpdf._tpdffontinfo _createfontinfo(int[] _acharswidths,int _ayunderline,int _ahunderline,int _aystrikethrough,int _ahstrikethrough,int _aytop,int _aybottom) throws Exception{ +public gunav2.keymon.com.mx.cpdf._tpdffontinfo _createfontinfo(gunav2.keymon.com.mx.cpdf __ref,int[] _acharswidths,int _ayunderline,int _ahunderline,int _aystrikethrough,int _ahstrikethrough,int _aytop,int _aybottom) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "createfontinfo", false)) + {return ((gunav2.keymon.com.mx.cpdf._tpdffontinfo) Debug.delegate(ba, "createfontinfo", new Object[] {_acharswidths,_ayunderline,_ahunderline,_aystrikethrough,_ahstrikethrough,_aytop,_aybottom}));} gunav2.keymon.com.mx.cpdf._tpdffontinfo _fi = null; - //BA.debugLineNum = 136;BA.debugLine="private Sub createFontInfo(acharsWidths() As Int,a"; - //BA.debugLineNum = 137;BA.debugLine="Dim fi As TPDFFontInfo"; +RDebugUtils.currentLine=82968576; + //BA.debugLineNum = 82968576;BA.debugLine="private Sub createFontInfo(acharsWidths() As Int,a"; +RDebugUtils.currentLine=82968577; + //BA.debugLineNum = 82968577;BA.debugLine="Dim fi As TPDFFontInfo"; _fi = new gunav2.keymon.com.mx.cpdf._tpdffontinfo(); - //BA.debugLineNum = 138;BA.debugLine="fi.Initialize"; +RDebugUtils.currentLine=82968578; + //BA.debugLineNum = 82968578;BA.debugLine="fi.Initialize"; _fi.Initialize(); - //BA.debugLineNum = 140;BA.debugLine="fi.fCharsWidths=acharsWidths"; +RDebugUtils.currentLine=82968580; + //BA.debugLineNum = 82968580;BA.debugLine="fi.fCharsWidths=acharsWidths"; _fi.fCharsWidths /*int[]*/ = _acharswidths; - //BA.debugLineNum = 142;BA.debugLine="fi.fYUnderline=ayunderline"; +RDebugUtils.currentLine=82968582; + //BA.debugLineNum = 82968582;BA.debugLine="fi.fYUnderline=ayunderline"; _fi.fYUnderline /*int*/ = _ayunderline; - //BA.debugLineNum = 144;BA.debugLine="fi.fHUnderline=ahunderline"; +RDebugUtils.currentLine=82968584; + //BA.debugLineNum = 82968584;BA.debugLine="fi.fHUnderline=ahunderline"; _fi.fHUnderline /*int*/ = _ahunderline; - //BA.debugLineNum = 146;BA.debugLine="fi.fYStrikeThrough=aystrikethrough"; +RDebugUtils.currentLine=82968586; + //BA.debugLineNum = 82968586;BA.debugLine="fi.fYStrikeThrough=aystrikethrough"; _fi.fYStrikeThrough /*int*/ = _aystrikethrough; - //BA.debugLineNum = 148;BA.debugLine="fi.fHStrikeThrough=ahstrikethrough"; +RDebugUtils.currentLine=82968588; + //BA.debugLineNum = 82968588;BA.debugLine="fi.fHStrikeThrough=ahstrikethrough"; _fi.fHStrikeThrough /*int*/ = _ahstrikethrough; - //BA.debugLineNum = 150;BA.debugLine="fi.fYTop=aytop"; +RDebugUtils.currentLine=82968590; + //BA.debugLineNum = 82968590;BA.debugLine="fi.fYTop=aytop"; _fi.fYTop /*int*/ = _aytop; - //BA.debugLineNum = 152;BA.debugLine="fi.fybottom=aybottom"; +RDebugUtils.currentLine=82968592; + //BA.debugLineNum = 82968592;BA.debugLine="fi.fybottom=aybottom"; _fi.fYBottom /*int*/ = _aybottom; - //BA.debugLineNum = 153;BA.debugLine="Return fi"; +RDebugUtils.currentLine=82968593; + //BA.debugLineNum = 82968593;BA.debugLine="Return fi"; if (true) return _fi; - //BA.debugLineNum = 154;BA.debugLine="End Sub"; +RDebugUtils.currentLine=82968594; + //BA.debugLineNum = 82968594;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cpdf._tpdfpage _createpage(double _awidth,double _aheight,String _abuffer) throws Exception{ +public gunav2.keymon.com.mx.cpdf._tpdfpage _createpage(gunav2.keymon.com.mx.cpdf __ref,double _awidth,double _aheight,String _abuffer) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "createpage", false)) + {return ((gunav2.keymon.com.mx.cpdf._tpdfpage) Debug.delegate(ba, "createpage", new Object[] {_awidth,_aheight,_abuffer}));} gunav2.keymon.com.mx.cpdf._tpdfpage _p = null; - //BA.debugLineNum = 455;BA.debugLine="private Sub createPage(awidth As Double,aheight As"; - //BA.debugLineNum = 456;BA.debugLine="Dim p As TPDFPage"; +RDebugUtils.currentLine=84606976; + //BA.debugLineNum = 84606976;BA.debugLine="private Sub createPage(awidth As Double,aheight As"; +RDebugUtils.currentLine=84606977; + //BA.debugLineNum = 84606977;BA.debugLine="Dim p As TPDFPage"; _p = new gunav2.keymon.com.mx.cpdf._tpdfpage(); - //BA.debugLineNum = 457;BA.debugLine="p.Initialize"; +RDebugUtils.currentLine=84606978; + //BA.debugLineNum = 84606978;BA.debugLine="p.Initialize"; _p.Initialize(); - //BA.debugLineNum = 458;BA.debugLine="p.fWidth=awidth"; +RDebugUtils.currentLine=84606979; + //BA.debugLineNum = 84606979;BA.debugLine="p.fWidth=awidth"; _p.fWidth /*double*/ = _awidth; - //BA.debugLineNum = 459;BA.debugLine="p.fHeight=aheight"; +RDebugUtils.currentLine=84606980; + //BA.debugLineNum = 84606980;BA.debugLine="p.fHeight=aheight"; _p.fHeight /*double*/ = _aheight; - //BA.debugLineNum = 460;BA.debugLine="p.fBuffer=abuffer"; +RDebugUtils.currentLine=84606981; + //BA.debugLineNum = 84606981;BA.debugLine="p.fBuffer=abuffer"; _p.fBuffer /*String*/ = _abuffer; - //BA.debugLineNum = 461;BA.debugLine="Return p"; +RDebugUtils.currentLine=84606982; + //BA.debugLineNum = 84606982;BA.debugLine="Return p"; if (true) return _p; - //BA.debugLineNum = 462;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84606983; + //BA.debugLineNum = 84606983;BA.debugLine="End Sub"; return null; } -public String _escapetext(String _atext) throws Exception{ - //BA.debugLineNum = 450;BA.debugLine="private Sub escapeText(atext As String) As String"; - //BA.debugLineNum = 451;BA.debugLine="Return atext.Replace(\"\\\",\"\\\\\").Replace(\"(\",\"\\(\")."; +public String _escapetext(gunav2.keymon.com.mx.cpdf __ref,String _atext) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "escapetext", false)) + {return ((String) Debug.delegate(ba, "escapetext", new Object[] {_atext}));} +RDebugUtils.currentLine=84541440; + //BA.debugLineNum = 84541440;BA.debugLine="private Sub escapeText(atext As String) As String"; +RDebugUtils.currentLine=84541441; + //BA.debugLineNum = 84541441;BA.debugLine="Return atext.Replace(\"\\\",\"\\\\\").Replace(\"(\",\"\\(\")."; if (true) return _atext.replace("\\","\\\\").replace("(","\\(").replace(")","\\)"); - //BA.debugLineNum = 452;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84541442; + //BA.debugLineNum = 84541442;BA.debugLine="End Sub"; return ""; } -public int _findimagekey(String _akey) throws Exception{ +public int _findimagekey(gunav2.keymon.com.mx.cpdf __ref,String _akey) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "findimagekey", false)) + {return ((Integer) Debug.delegate(ba, "findimagekey", new Object[] {_akey}));} int _i = 0; - //BA.debugLineNum = 617;BA.debugLine="private Sub findImageKey(akey As String) As Int"; - //BA.debugLineNum = 618;BA.debugLine="For i=0 To fUsedImages.Size-1"; +RDebugUtils.currentLine=85000192; + //BA.debugLineNum = 85000192;BA.debugLine="private Sub findImageKey(akey As String) As Int"; +RDebugUtils.currentLine=85000193; + //BA.debugLineNum = 85000193;BA.debugLine="For i=0 To fUsedImages.Size-1"; { final int step1 = 1; -final int limit1 = (int) (_fusedimages.getSize()-1); +final int limit1 = (int) (__ref._fusedimages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit1 ;_i = _i + step1 ) { - //BA.debugLineNum = 619;BA.debugLine="If fUsedImages.Get(i).As(Map).Get(\"path\")=akey T"; -if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_fusedimages.Get(_i)))).Get((Object)("path"))).equals((Object)(_akey))) { - //BA.debugLineNum = 620;BA.debugLine="Return i"; +RDebugUtils.currentLine=85000194; + //BA.debugLineNum = 85000194;BA.debugLine="If fUsedImages.Get(i).As(Map).Get(\"path\")=akey T"; +if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._fusedimages /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)))).Get((Object)("path"))).equals((Object)(_akey))) { +RDebugUtils.currentLine=85000195; + //BA.debugLineNum = 85000195;BA.debugLine="Return i"; if (true) return _i; }; } }; - //BA.debugLineNum = 623;BA.debugLine="Return -1"; +RDebugUtils.currentLine=85000198; + //BA.debugLineNum = 85000198;BA.debugLine="Return -1"; if (true) return (int) (-1); - //BA.debugLineNum = 624;BA.debugLine="End Sub"; +RDebugUtils.currentLine=85000199; + //BA.debugLineNum = 85000199;BA.debugLine="End Sub"; return 0; } -public byte[] _fontswrite() throws Exception{ +public byte[] _fontswrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "fontswrite", false)) + {return ((byte[]) Debug.delegate(ba, "fontswrite", null));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; int _i = 0; - //BA.debugLineNum = 305;BA.debugLine="private Sub fontsWrite As Byte()"; - //BA.debugLineNum = 306;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83755008; + //BA.debugLineNum = 83755008;BA.debugLine="private Sub fontsWrite As Byte()"; +RDebugUtils.currentLine=83755009; + //BA.debugLineNum = 83755009;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 307;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 308;BA.debugLine="For i=0 To fUsedFonts.Size-1"; +RDebugUtils.currentLine=83755010; + //BA.debugLineNum = 83755010;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83755011; + //BA.debugLineNum = 83755011;BA.debugLine="For i=0 To fUsedFonts.Size-1"; { final int step3 = 1; -final int limit3 = (int) (_fusedfonts.getSize()-1); +final int limit3 = (int) (__ref._fusedfonts /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 309;BA.debugLine="bb.append(fontWrite(i))"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_fontwrite(_i)); +RDebugUtils.currentLine=83755012; + //BA.debugLineNum = 83755012;BA.debugLine="bb.append(fontWrite(i))"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,__ref._fontwrite /*byte[]*/ (null,_i)); } }; - //BA.debugLineNum = 311;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 312;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83755014; + //BA.debugLineNum = 83755014;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83755015; + //BA.debugLineNum = 83755015;BA.debugLine="End Sub"; return null; } -public byte[] _fontwrite(int _afont) throws Exception{ +public byte[] _fontwrite(gunav2.keymon.com.mx.cpdf __ref,int _afont) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "fontwrite", false)) + {return ((byte[]) Debug.delegate(ba, "fontwrite", new Object[] {_afont}));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; String _c = ""; - //BA.debugLineNum = 314;BA.debugLine="private Sub fontWrite(afont As Int) As Byte()"; - //BA.debugLineNum = 315;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83820544; + //BA.debugLineNum = 83820544;BA.debugLine="private Sub fontWrite(afont As Int) As Byte()"; +RDebugUtils.currentLine=83820545; + //BA.debugLineNum = 83820545;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 316;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 317;BA.debugLine="Dim c As String=fUsedFonts.Get(afont)"; -_c = BA.ObjectToString(_fusedfonts.Get(_afont)); - //BA.debugLineNum = 318;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj << /Type /Font"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+" 0 obj << /Type /Font /Subtype /Type1 /BaseFont /"+__c.SmartStringFormatter("",(Object)(_c))+" /Encoding /WinAnsiEncoding>> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 319;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 320;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 321;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83820546; + //BA.debugLineNum = 83820546;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83820547; + //BA.debugLineNum = 83820547;BA.debugLine="Dim c As String=fUsedFonts.Get(afont)"; +_c = BA.ObjectToString(__ref._fusedfonts /*anywheresoftware.b4a.objects.collections.List*/ .Get(_afont)); +RDebugUtils.currentLine=83820548; + //BA.debugLineNum = 83820548;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj << /Type /Font"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1))+" 0 obj << /Type /Font /Subtype /Type1 /BaseFont /"+__c.SmartStringFormatter("",(Object)(_c))+" /Encoding /WinAnsiEncoding>> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83820549; + //BA.debugLineNum = 83820549;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=83820550; + //BA.debugLineNum = 83820550;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83820551; + //BA.debugLineNum = 83820551;BA.debugLine="End Sub"; return null; } -public byte[] _footerwrite() throws Exception{ - //BA.debugLineNum = 416;BA.debugLine="private Sub footerWrite As Byte()"; - //BA.debugLineNum = 417;BA.debugLine="Return \"%%EOF\".GetBytes(fTextEncoding)"; -if (true) return "%%EOF".getBytes(_ftextencoding); - //BA.debugLineNum = 418;BA.debugLine="End Sub"; +public byte[] _footerwrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "footerwrite", false)) + {return ((byte[]) Debug.delegate(ba, "footerwrite", null));} +RDebugUtils.currentLine=84344832; + //BA.debugLineNum = 84344832;BA.debugLine="private Sub footerWrite As Byte()"; +RDebugUtils.currentLine=84344833; + //BA.debugLineNum = 84344833;BA.debugLine="Return \"%%EOF\".GetBytes(fTextEncoding)"; +if (true) return "%%EOF".getBytes(__ref._ftextencoding /*String*/ ); +RDebugUtils.currentLine=84344834; + //BA.debugLineNum = 84344834;BA.debugLine="End Sub"; return null; } -public String _gcreationdate() throws Exception{ +public String _gcreationdate(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gcreationdate", false)) + {return ((String) Debug.delegate(ba, "gcreationdate", null));} String _z = ""; - //BA.debugLineNum = 192;BA.debugLine="private Sub gCreationDate As String"; - //BA.debugLineNum = 193;BA.debugLine="DateTime.DateFormat=\"yyyyMMdd\""; +RDebugUtils.currentLine=83165184; + //BA.debugLineNum = 83165184;BA.debugLine="private Sub gCreationDate As String"; +RDebugUtils.currentLine=83165185; + //BA.debugLineNum = 83165185;BA.debugLine="DateTime.DateFormat=\"yyyyMMdd\""; __c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 194;BA.debugLine="DateTime.TimeFormat=\"hhmmss\""; +RDebugUtils.currentLine=83165186; + //BA.debugLineNum = 83165186;BA.debugLine="DateTime.TimeFormat=\"hhmmss\""; __c.DateTime.setTimeFormat("hhmmss"); - //BA.debugLineNum = 195;BA.debugLine="Dim z As String=NumberFormat2(DateTime.TimeZoneOf"; +RDebugUtils.currentLine=83165187; + //BA.debugLineNum = 83165187;BA.debugLine="Dim z As String=NumberFormat2(DateTime.TimeZoneOf"; _z = __c.NumberFormat2(__c.DateTime.getTimeZoneOffset(),(int) (2),(int) (2),(int) (2),__c.False); - //BA.debugLineNum = 196;BA.debugLine="z=IIf(z.SubString2(0,1)<>\"-\",\"+\",\"\") & z"; +RDebugUtils.currentLine=83165188; + //BA.debugLineNum = 83165188;BA.debugLine="z=IIf(z.SubString2(0,1)<>\"-\",\"+\",\"\") & z"; _z = BA.ObjectToString((((_z.substring((int) (0),(int) (1))).equals("-") == false) ? ((Object)("+")) : ((Object)(""))))+_z; - //BA.debugLineNum = 197;BA.debugLine="z=z.SubString2(0,3) & \"'\" & z.SubString(4) & \"'\""; +RDebugUtils.currentLine=83165189; + //BA.debugLineNum = 83165189;BA.debugLine="z=z.SubString2(0,3) & \"'\" & z.SubString(4) & \"'\""; _z = _z.substring((int) (0),(int) (3))+"'"+_z.substring((int) (4))+"'"; - //BA.debugLineNum = 198;BA.debugLine="Return \"D:\" & DateTime.Date(DateTime.Now) & DateT"; +RDebugUtils.currentLine=83165190; + //BA.debugLineNum = 83165190;BA.debugLine="Return \"D:\" & DateTime.Date(DateTime.Now) & DateT"; if (true) return "D:"+__c.DateTime.Date(__c.DateTime.getNow())+__c.DateTime.Time(__c.DateTime.getNow())+_z; - //BA.debugLineNum = 199;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83165191; + //BA.debugLineNum = 83165191;BA.debugLine="End Sub"; return ""; } -public String _glibversion() throws Exception{ - //BA.debugLineNum = 996;BA.debugLine="public Sub glibversion As String"; - //BA.debugLineNum = 997;BA.debugLine="Return fLibVersion"; -if (true) return _flibversion; - //BA.debugLineNum = 998;BA.debugLine="End Sub"; +public String _glibversion(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "glibversion", false)) + {return ((String) Debug.delegate(ba, "glibversion", null));} +RDebugUtils.currentLine=86769664; + //BA.debugLineNum = 86769664;BA.debugLine="public Sub glibversion As String"; +RDebugUtils.currentLine=86769665; + //BA.debugLineNum = 86769665;BA.debugLine="Return fLibVersion"; +if (true) return __ref._flibversion /*String*/ ; +RDebugUtils.currentLine=86769666; + //BA.debugLineNum = 86769666;BA.debugLine="End Sub"; return ""; } -public gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize _gmultilinetextsize(double _awidth,String _atext) throws Exception{ +public gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize _gmultilinetextsize(gunav2.keymon.com.mx.cpdf __ref,double _awidth,String _atext) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gmultilinetextsize", false)) + {return ((gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize) Debug.delegate(ba, "gmultilinetextsize", new Object[] {_awidth,_atext}));} gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize _mts = null; gunav2.keymon.com.mx.cpdf._tpdftextsize _ts = null; char _c = '\0'; @@ -702,175 +1287,341 @@ String _p = ""; int _j = 0; anywheresoftware.b4a.objects.collections.List _lines = null; int _i = 0; - //BA.debugLineNum = 943;BA.debugLine="public Sub gMultilineTextSize(awidth As Double,ate"; - //BA.debugLineNum = 944;BA.debugLine="Dim mts As TPDFMultilineTextSize"; +RDebugUtils.currentLine=86441984; + //BA.debugLineNum = 86441984;BA.debugLine="public Sub gMultilineTextSize(awidth As Double,ate"; +RDebugUtils.currentLine=86441985; + //BA.debugLineNum = 86441985;BA.debugLine="Dim mts As TPDFMultilineTextSize"; _mts = new gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize(); - //BA.debugLineNum = 945;BA.debugLine="Dim ts As TPDFTextSize"; +RDebugUtils.currentLine=86441986; + //BA.debugLineNum = 86441986;BA.debugLine="Dim ts As TPDFTextSize"; _ts = new gunav2.keymon.com.mx.cpdf._tpdftextsize(); - //BA.debugLineNum = 946;BA.debugLine="Dim c As Char"; +RDebugUtils.currentLine=86441987; + //BA.debugLineNum = 86441987;BA.debugLine="Dim c As Char"; _c = '\0'; - //BA.debugLineNum = 947;BA.debugLine="Dim l As String=\"\""; +RDebugUtils.currentLine=86441988; + //BA.debugLineNum = 86441988;BA.debugLine="Dim l As String=\"\""; _l = ""; - //BA.debugLineNum = 948;BA.debugLine="mts.Initialize"; +RDebugUtils.currentLine=86441989; + //BA.debugLineNum = 86441989;BA.debugLine="mts.Initialize"; _mts.Initialize(); - //BA.debugLineNum = 949;BA.debugLine="mts.fParagraphs.Initialize"; +RDebugUtils.currentLine=86441990; + //BA.debugLineNum = 86441990;BA.debugLine="mts.fParagraphs.Initialize"; _mts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 950;BA.debugLine="mts.fWidth=awidth"; +RDebugUtils.currentLine=86441991; + //BA.debugLineNum = 86441991;BA.debugLine="mts.fWidth=awidth"; _mts.fWidth /*double*/ = _awidth; - //BA.debugLineNum = 952;BA.debugLine="Dim paragraphs() As String=Regex.Split(CRLF,atext"; +RDebugUtils.currentLine=86441993; + //BA.debugLineNum = 86441993;BA.debugLine="Dim paragraphs() As String=Regex.Split(CRLF,atext"; _paragraphs = __c.Regex.Split(__c.CRLF,_atext); - //BA.debugLineNum = 953;BA.debugLine="Dim p As String"; +RDebugUtils.currentLine=86441994; + //BA.debugLineNum = 86441994;BA.debugLine="Dim p As String"; _p = ""; - //BA.debugLineNum = 954;BA.debugLine="For j=0 To paragraphs.Length-1"; +RDebugUtils.currentLine=86441995; + //BA.debugLineNum = 86441995;BA.debugLine="For j=0 To paragraphs.Length-1"; { final int step10 = 1; final int limit10 = (int) (_paragraphs.length-1); _j = (int) (0) ; for (;_j <= limit10 ;_j = _j + step10 ) { - //BA.debugLineNum = 955;BA.debugLine="Dim lines As List"; +RDebugUtils.currentLine=86441996; + //BA.debugLineNum = 86441996;BA.debugLine="Dim lines As List"; _lines = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 956;BA.debugLine="lines.Initialize"; +RDebugUtils.currentLine=86441997; + //BA.debugLineNum = 86441997;BA.debugLine="lines.Initialize"; _lines.Initialize(); - //BA.debugLineNum = 957;BA.debugLine="mts.fParagraphs.Add(lines)"; +RDebugUtils.currentLine=86441998; + //BA.debugLineNum = 86441998;BA.debugLine="mts.fParagraphs.Add(lines)"; _mts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_lines.getObject())); - //BA.debugLineNum = 958;BA.debugLine="p=paragraphs(j)"; +RDebugUtils.currentLine=86441999; + //BA.debugLineNum = 86441999;BA.debugLine="p=paragraphs(j)"; _p = _paragraphs[_j]; - //BA.debugLineNum = 959;BA.debugLine="l=\"\""; +RDebugUtils.currentLine=86442000; + //BA.debugLineNum = 86442000;BA.debugLine="l=\"\""; _l = ""; - //BA.debugLineNum = 960;BA.debugLine="For i=0 To p.Length-1"; +RDebugUtils.currentLine=86442001; + //BA.debugLineNum = 86442001;BA.debugLine="For i=0 To p.Length-1"; { final int step16 = 1; final int limit16 = (int) (_p.length()-1); _i = (int) (0) ; for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 961;BA.debugLine="c=p.CharAt(i)"; +RDebugUtils.currentLine=86442002; + //BA.debugLineNum = 86442002;BA.debugLine="c=p.CharAt(i)"; _c = _p.charAt(_i); - //BA.debugLineNum = 962;BA.debugLine="If Asc(c)>31 Then"; +RDebugUtils.currentLine=86442003; + //BA.debugLineNum = 86442003;BA.debugLine="If Asc(c)>31 Then"; if (__c.Asc(_c)>31) { - //BA.debugLineNum = 963;BA.debugLine="l=l & c"; +RDebugUtils.currentLine=86442004; + //BA.debugLineNum = 86442004;BA.debugLine="l=l & c"; _l = _l+BA.ObjectToString(_c); - //BA.debugLineNum = 964;BA.debugLine="ts=gTextSize(l)"; -_ts = _gtextsize(_l); - //BA.debugLineNum = 965;BA.debugLine="If ts.fWidth>awidth Then"; +RDebugUtils.currentLine=86442005; + //BA.debugLineNum = 86442005;BA.debugLine="ts=gTextSize(l)"; +_ts = __ref._gtextsize /*gunav2.keymon.com.mx.cpdf._tpdftextsize*/ (null,_l); +RDebugUtils.currentLine=86442006; + //BA.debugLineNum = 86442006;BA.debugLine="If ts.fWidth>awidth Then"; if (_ts.fWidth /*double*/ >_awidth) { - //BA.debugLineNum = 966;BA.debugLine="l=MultilineTextSizeAddLine(mts,ts,l,awidth)"; -_l = _multilinetextsizeaddline(_mts,_ts,_l,_awidth); +RDebugUtils.currentLine=86442007; + //BA.debugLineNum = 86442007;BA.debugLine="l=MultilineTextSizeAddLine(mts,ts,l,awidth)"; +_l = __ref._multilinetextsizeaddline /*String*/ (null,_mts,_ts,_l,_awidth); }; }; } }; - //BA.debugLineNum = 970;BA.debugLine="ts=gTextSize(l)"; -_ts = _gtextsize(_l); - //BA.debugLineNum = 971;BA.debugLine="l=MultilineTextSizeAddLine(mts,ts,l,awidth)"; -_l = _multilinetextsizeaddline(_mts,_ts,_l,_awidth); +RDebugUtils.currentLine=86442011; + //BA.debugLineNum = 86442011;BA.debugLine="ts=gTextSize(l)"; +_ts = __ref._gtextsize /*gunav2.keymon.com.mx.cpdf._tpdftextsize*/ (null,_l); +RDebugUtils.currentLine=86442012; + //BA.debugLineNum = 86442012;BA.debugLine="l=MultilineTextSizeAddLine(mts,ts,l,awidth)"; +_l = __ref._multilinetextsizeaddline /*String*/ (null,_mts,_ts,_l,_awidth); } }; - //BA.debugLineNum = 974;BA.debugLine="Return mts"; +RDebugUtils.currentLine=86442015; + //BA.debugLineNum = 86442015;BA.debugLine="Return mts"; if (true) return _mts; - //BA.debugLineNum = 975;BA.debugLine="End Sub"; +RDebugUtils.currentLine=86442016; + //BA.debugLineNum = 86442016;BA.debugLine="End Sub"; return null; } -public int _gpage() throws Exception{ - //BA.debugLineNum = 659;BA.debugLine="public Sub gPage As Int"; - //BA.debugLineNum = 660;BA.debugLine="Return fPage+1"; -if (true) return (int) (_fpage+1); - //BA.debugLineNum = 661;BA.debugLine="End Sub"; -return 0; -} -public double _gpageheight(int _apage) throws Exception{ - //BA.debugLineNum = 640;BA.debugLine="public Sub gPageHeight(apage As Int) As Double"; - //BA.debugLineNum = 641;BA.debugLine="Return fPages.Get(apage-1).As(TPDFPage).fHeight/f"; -if (true) return ((gunav2.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get((int) (_apage-1)))).fHeight /*double*/ /(double)_funitfactor; - //BA.debugLineNum = 642;BA.debugLine="End Sub"; -return 0; -} -public int _gpagescount() throws Exception{ - //BA.debugLineNum = 628;BA.debugLine="public Sub gPagesCount As Int"; - //BA.debugLineNum = 629;BA.debugLine="Return fPages.size"; -if (true) return _fpages.getSize(); - //BA.debugLineNum = 630;BA.debugLine="End Sub"; -return 0; -} -public double _gpagewidth(int _apage) throws Exception{ - //BA.debugLineNum = 634;BA.debugLine="public Sub gPageWidth(apage As Int) As Double"; - //BA.debugLineNum = 635;BA.debugLine="Return fPages.Get(apage-1).As(TPDFPage).fWidth/fU"; -if (true) return ((gunav2.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get((int) (_apage-1)))).fWidth /*double*/ /(double)_funitfactor; - //BA.debugLineNum = 636;BA.debugLine="End Sub"; -return 0; -} -public gunav2.keymon.com.mx.cpdf._tpdftextsize _gtextsize(String _atext) throws Exception{ +public gunav2.keymon.com.mx.cpdf._tpdftextsize _gtextsize(gunav2.keymon.com.mx.cpdf __ref,String _atext) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gtextsize", false)) + {return ((gunav2.keymon.com.mx.cpdf._tpdftextsize) Debug.delegate(ba, "gtextsize", new Object[] {_atext}));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; gunav2.keymon.com.mx.cpdf._tpdftextsize _ts = null; gunav2.keymon.com.mx.cpdf._tpdffontinfo _fi = null; double _w = 0; int _i = 0; - //BA.debugLineNum = 904;BA.debugLine="public Sub gTextSize(atext As String) As TPDFTextS"; - //BA.debugLineNum = 905;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=86310912; + //BA.debugLineNum = 86310912;BA.debugLine="public Sub gTextSize(atext As String) As TPDFTextS"; +RDebugUtils.currentLine=86310913; + //BA.debugLineNum = 86310913;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 906;BA.debugLine="Dim ts As TPDFTextSize"; +RDebugUtils.currentLine=86310914; + //BA.debugLineNum = 86310914;BA.debugLine="Dim ts As TPDFTextSize"; _ts = new gunav2.keymon.com.mx.cpdf._tpdftextsize(); - //BA.debugLineNum = 907;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 908;BA.debugLine="bb.Append(atext.GetBytes(fTextEncoding))"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_atext.getBytes(_ftextencoding)); - //BA.debugLineNum = 909;BA.debugLine="ts.Initialize"; +RDebugUtils.currentLine=86310915; + //BA.debugLineNum = 86310915;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=86310916; + //BA.debugLineNum = 86310916;BA.debugLine="bb.Append(atext.GetBytes(fTextEncoding))"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_atext.getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=86310917; + //BA.debugLineNum = 86310917;BA.debugLine="ts.Initialize"; _ts.Initialize(); - //BA.debugLineNum = 910;BA.debugLine="Dim fi As TPDFFontInfo=fFontsInfos.Get(calcFontKe"; -_fi = ((gunav2.keymon.com.mx.cpdf._tpdffontinfo)(_ffontsinfos.Get((Object)(_calcfontkey(_fcontext.fFontFamily /*String*/ ,_fcontext.fFontStyle /*int*/ ))))); - //BA.debugLineNum = 911;BA.debugLine="Dim w As Double"; +RDebugUtils.currentLine=86310918; + //BA.debugLineNum = 86310918;BA.debugLine="Dim fi As TPDFFontInfo=fFontsInfos.Get(calcFontKe"; +_fi = ((gunav2.keymon.com.mx.cpdf._tpdffontinfo)(__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(__ref._calcfontkey /*String*/ (null,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontFamily /*String*/ ,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontStyle /*int*/ ))))); +RDebugUtils.currentLine=86310919; + //BA.debugLineNum = 86310919;BA.debugLine="Dim w As Double"; _w = 0; - //BA.debugLineNum = 912;BA.debugLine="For i=0 To bb.Length-1"; +RDebugUtils.currentLine=86310920; + //BA.debugLineNum = 86310920;BA.debugLine="For i=0 To bb.Length-1"; { final int step8 = 1; -final int limit8 = (int) (_bb._getlength /*int*/ ()-1); +final int limit8 = (int) (_bb._getlength /*int*/ (null)-1); _i = (int) (0) ; for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 913;BA.debugLine="w=w+fi.fCharsWidths(ToUnsigned(bb.InternalBuffer"; -_w = _w+_fi.fCharsWidths /*int[]*/ [_tounsigned(_bb._getinternalbuffer /*byte[]*/ ()[_i])]; +RDebugUtils.currentLine=86310921; + //BA.debugLineNum = 86310921;BA.debugLine="w=w+fi.fCharsWidths(ToUnsigned(bb.InternalBuffer"; +_w = _w+_fi.fCharsWidths /*int[]*/ [__ref._tounsigned /*int*/ (null,_bb._getinternalbuffer /*byte[]*/ (null)[_i])]; } }; - //BA.debugLineNum = 915;BA.debugLine="ts.fWidth=w*fContext.fFontSize/1000/fUnitFactor"; -_ts.fWidth /*double*/ = _w*_fcontext.fFontSize /*double*/ /(double)1000/(double)_funitfactor; - //BA.debugLineNum = 916;BA.debugLine="ts.fTop=fi.fYTop*fContext.fFontSize/1000/fUnitFac"; -_ts.fTop /*double*/ = _fi.fYTop /*int*/ *_fcontext.fFontSize /*double*/ /(double)1000/(double)_funitfactor; - //BA.debugLineNum = 917;BA.debugLine="ts.fBottom=fi.fYBottom*fContext.fFontSize/1000/fU"; -_ts.fBottom /*double*/ = _fi.fYBottom /*int*/ *_fcontext.fFontSize /*double*/ /(double)1000/(double)_funitfactor; - //BA.debugLineNum = 918;BA.debugLine="ts.fHeight=ts.fBottom-ts.fTop"; +RDebugUtils.currentLine=86310923; + //BA.debugLineNum = 86310923;BA.debugLine="ts.fWidth=w*fContext.fFontSize/1000/fUnitFactor"; +_ts.fWidth /*double*/ = _w*__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ /(double)1000/(double)__ref._funitfactor /*double*/ ; +RDebugUtils.currentLine=86310924; + //BA.debugLineNum = 86310924;BA.debugLine="ts.fTop=fi.fYTop*fContext.fFontSize/1000/fUnitFac"; +_ts.fTop /*double*/ = _fi.fYTop /*int*/ *__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ /(double)1000/(double)__ref._funitfactor /*double*/ ; +RDebugUtils.currentLine=86310925; + //BA.debugLineNum = 86310925;BA.debugLine="ts.fBottom=fi.fYBottom*fContext.fFontSize/1000/fU"; +_ts.fBottom /*double*/ = _fi.fYBottom /*int*/ *__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFontSize /*double*/ /(double)1000/(double)__ref._funitfactor /*double*/ ; +RDebugUtils.currentLine=86310926; + //BA.debugLineNum = 86310926;BA.debugLine="ts.fHeight=ts.fBottom-ts.fTop"; _ts.fHeight /*double*/ = _ts.fBottom /*double*/ -_ts.fTop /*double*/ ; - //BA.debugLineNum = 919;BA.debugLine="Return ts"; +RDebugUtils.currentLine=86310927; + //BA.debugLineNum = 86310927;BA.debugLine="Return ts"; if (true) return _ts; - //BA.debugLineNum = 920;BA.debugLine="End Sub"; +RDebugUtils.currentLine=86310928; + //BA.debugLineNum = 86310928;BA.debugLine="End Sub"; return null; } -public double _gx() throws Exception{ - //BA.debugLineNum = 987;BA.debugLine="public Sub gX As Double"; - //BA.debugLineNum = 988;BA.debugLine="Return fContext.fX"; -if (true) return _fcontext.fX /*double*/ ; - //BA.debugLineNum = 989;BA.debugLine="End Sub"; +public String _multilinetextsizeaddline(gunav2.keymon.com.mx.cpdf __ref,gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize _amts,gunav2.keymon.com.mx.cpdf._tpdftextsize _ats,String _atext,double _awidth) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "multilinetextsizeaddline", false)) + {return ((String) Debug.delegate(ba, "multilinetextsizeaddline", new Object[] {_amts,_ats,_atext,_awidth}));} +String _s = ""; +int _p = 0; +RDebugUtils.currentLine=86376448; + //BA.debugLineNum = 86376448;BA.debugLine="private Sub MultilineTextSizeAddLine(amts As TPDFM"; +RDebugUtils.currentLine=86376449; + //BA.debugLineNum = 86376449;BA.debugLine="Dim s As String"; +_s = ""; +RDebugUtils.currentLine=86376450; + //BA.debugLineNum = 86376450;BA.debugLine="If ats.fWidth>awidth Then"; +if (_ats.fWidth /*double*/ >_awidth) { +RDebugUtils.currentLine=86376451; + //BA.debugLineNum = 86376451;BA.debugLine="Dim p As Int=atext.LastIndexOf(\" \")"; +_p = _atext.lastIndexOf(" "); +RDebugUtils.currentLine=86376452; + //BA.debugLineNum = 86376452;BA.debugLine="If p=-1 Then"; +if (_p==-1) { +RDebugUtils.currentLine=86376453; + //BA.debugLineNum = 86376453;BA.debugLine="p=atext.Length-1"; +_p = (int) (_atext.length()-1); + }; +RDebugUtils.currentLine=86376455; + //BA.debugLineNum = 86376455;BA.debugLine="s=atext.SubString(p+1)"; +_s = _atext.substring((int) (_p+1)); +RDebugUtils.currentLine=86376456; + //BA.debugLineNum = 86376456;BA.debugLine="atext=atext.SubString2(0,p)"; +_atext = _atext.substring((int) (0),_p); + }else { +RDebugUtils.currentLine=86376458; + //BA.debugLineNum = 86376458;BA.debugLine="s=\"\""; +_s = ""; + }; +RDebugUtils.currentLine=86376460; + //BA.debugLineNum = 86376460;BA.debugLine="amts.fparagraphs.Get(amts.fParagraphs.Size-1).As("; +((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_amts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (_amts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1))))).Add((Object)(_atext)); +RDebugUtils.currentLine=86376461; + //BA.debugLineNum = 86376461;BA.debugLine="amts.fHeight=amts.fHeight+ats.fHeight"; +_amts.fHeight /*double*/ = _amts.fHeight /*double*/ +_ats.fHeight /*double*/ ; +RDebugUtils.currentLine=86376462; + //BA.debugLineNum = 86376462;BA.debugLine="Return s"; +if (true) return _s; +RDebugUtils.currentLine=86376463; + //BA.debugLineNum = 86376463;BA.debugLine="End Sub"; +return ""; +} +public int _gpage(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gpage", false)) + {return ((Integer) Debug.delegate(ba, "gpage", null));} +RDebugUtils.currentLine=85327872; + //BA.debugLineNum = 85327872;BA.debugLine="public Sub gPage As Int"; +RDebugUtils.currentLine=85327873; + //BA.debugLineNum = 85327873;BA.debugLine="Return fPage+1"; +if (true) return (int) (__ref._fpage /*int*/ +1); +RDebugUtils.currentLine=85327874; + //BA.debugLineNum = 85327874;BA.debugLine="End Sub"; return 0; } -public double _gy() throws Exception{ - //BA.debugLineNum = 991;BA.debugLine="public Sub gy As Double"; - //BA.debugLineNum = 992;BA.debugLine="Return fContext.fy"; -if (true) return _fcontext.fY /*double*/ ; - //BA.debugLineNum = 993;BA.debugLine="End Sub"; +public double _gpageheight(gunav2.keymon.com.mx.cpdf __ref,int _apage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gpageheight", false)) + {return ((Double) Debug.delegate(ba, "gpageheight", new Object[] {_apage}));} +RDebugUtils.currentLine=85196800; + //BA.debugLineNum = 85196800;BA.debugLine="public Sub gPageHeight(apage As Int) As Double"; +RDebugUtils.currentLine=85196801; + //BA.debugLineNum = 85196801;BA.debugLine="Return fPages.Get(apage-1).As(TPDFPage).fHeight/f"; +if (true) return ((gunav2.keymon.com.mx.cpdf._tpdfpage)(__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (_apage-1)))).fHeight /*double*/ /(double)__ref._funitfactor /*double*/ ; +RDebugUtils.currentLine=85196802; + //BA.debugLineNum = 85196802;BA.debugLine="End Sub"; return 0; } -public byte[] _headerwrite() throws Exception{ +public int _gpagescount(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gpagescount", false)) + {return ((Integer) Debug.delegate(ba, "gpagescount", null));} +RDebugUtils.currentLine=85065728; + //BA.debugLineNum = 85065728;BA.debugLine="public Sub gPagesCount As Int"; +RDebugUtils.currentLine=85065729; + //BA.debugLineNum = 85065729;BA.debugLine="Return fPages.size"; +if (true) return __ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .getSize(); +RDebugUtils.currentLine=85065730; + //BA.debugLineNum = 85065730;BA.debugLine="End Sub"; +return 0; +} +public double _gpagewidth(gunav2.keymon.com.mx.cpdf __ref,int _apage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gpagewidth", false)) + {return ((Double) Debug.delegate(ba, "gpagewidth", new Object[] {_apage}));} +RDebugUtils.currentLine=85131264; + //BA.debugLineNum = 85131264;BA.debugLine="public Sub gPageWidth(apage As Int) As Double"; +RDebugUtils.currentLine=85131265; + //BA.debugLineNum = 85131265;BA.debugLine="Return fPages.Get(apage-1).As(TPDFPage).fWidth/fU"; +if (true) return ((gunav2.keymon.com.mx.cpdf._tpdfpage)(__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (_apage-1)))).fWidth /*double*/ /(double)__ref._funitfactor /*double*/ ; +RDebugUtils.currentLine=85131266; + //BA.debugLineNum = 85131266;BA.debugLine="End Sub"; +return 0; +} +public int _tounsigned(gunav2.keymon.com.mx.cpdf __ref,byte _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "tounsigned", false)) + {return ((Integer) Debug.delegate(ba, "tounsigned", new Object[] {_b}));} +RDebugUtils.currentLine=86245376; + //BA.debugLineNum = 86245376;BA.debugLine="private Sub ToUnsigned(b As Byte) As Int"; +RDebugUtils.currentLine=86245377; + //BA.debugLineNum = 86245377;BA.debugLine="Return Bit.And(0xFF, b)"; +if (true) return __c.Bit.And(((int)0xff),(int) (_b)); +RDebugUtils.currentLine=86245378; + //BA.debugLineNum = 86245378;BA.debugLine="End Sub"; +return 0; +} +public double _gx(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gx", false)) + {return ((Double) Debug.delegate(ba, "gx", null));} +RDebugUtils.currentLine=86638592; + //BA.debugLineNum = 86638592;BA.debugLine="public Sub gX As Double"; +RDebugUtils.currentLine=86638593; + //BA.debugLineNum = 86638593;BA.debugLine="Return fContext.fX"; +if (true) return __ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fX /*double*/ ; +RDebugUtils.currentLine=86638594; + //BA.debugLineNum = 86638594;BA.debugLine="End Sub"; +return 0; +} +public double _gy(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "gy", false)) + {return ((Double) Debug.delegate(ba, "gy", null));} +RDebugUtils.currentLine=86704128; + //BA.debugLineNum = 86704128;BA.debugLine="public Sub gy As Double"; +RDebugUtils.currentLine=86704129; + //BA.debugLineNum = 86704129;BA.debugLine="Return fContext.fy"; +if (true) return __ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ ; +RDebugUtils.currentLine=86704130; + //BA.debugLineNum = 86704130;BA.debugLine="End Sub"; +return 0; +} +public byte[] _headerwrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "headerwrite", false)) + {return ((byte[]) Debug.delegate(ba, "headerwrite", null));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; - //BA.debugLineNum = 202;BA.debugLine="private Sub headerWrite As Byte()"; - //BA.debugLineNum = 203;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83230720; + //BA.debugLineNum = 83230720;BA.debugLine="private Sub headerWrite As Byte()"; +RDebugUtils.currentLine=83230721; + //BA.debugLineNum = 83230721;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 204;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 205;BA.debugLine="bb.Append($\"%PDF-${NumberFormat2(fPDFVersion,1,1,"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("%PDF-"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_fpdfversion)),(int) (1),(int) (1),(int) (1),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 206;BA.debugLine="Return bb.toarray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 207;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83230722; + //BA.debugLineNum = 83230722;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83230723; + //BA.debugLineNum = 83230723;BA.debugLine="bb.Append($\"%PDF-${NumberFormat2(fPDFVersion,1,1,"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("%PDF-"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(__ref._fpdfversion /*String*/ )),(int) (1),(int) (1),(int) (1),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83230724; + //BA.debugLineNum = 83230724;BA.debugLine="Return bb.toarray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83230725; + //BA.debugLineNum = 83230725;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cpdf._tpdfimageinfo _imageinfo(String _adir,String _afile) throws Exception{ +public gunav2.keymon.com.mx.cpdf._tpdfimageinfo _imageinfo(gunav2.keymon.com.mx.cpdf __ref,String _adir,String _afile) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "imageinfo", false)) + {return ((gunav2.keymon.com.mx.cpdf._tpdfimageinfo) Debug.delegate(ba, "imageinfo", new Object[] {_adir,_afile}));} gunav2.keymon.com.mx.cpdf._tpdfimageinfo _ii = null; anywheresoftware.b4a.randomaccessfile.RandomAccessFile _raf = null; long _rafpos = 0L; @@ -879,508 +1630,636 @@ gunav2.keymon.com.mx.b4xbytesbuilder _bbpalette = null; int _chunklength = 0; String _chunktype = ""; byte[] _b = null; - //BA.debugLineNum = 478;BA.debugLine="private Sub imageInfo(adir As String,afile As Stri"; - //BA.debugLineNum = 479;BA.debugLine="Dim ii As TPDFImageInfo"; +RDebugUtils.currentLine=84803584; + //BA.debugLineNum = 84803584;BA.debugLine="private Sub imageInfo(adir As String,afile As Stri"; +RDebugUtils.currentLine=84803585; + //BA.debugLineNum = 84803585;BA.debugLine="Dim ii As TPDFImageInfo"; _ii = new gunav2.keymon.com.mx.cpdf._tpdfimageinfo(); - //BA.debugLineNum = 480;BA.debugLine="Dim raf As RandomAccessFile"; +RDebugUtils.currentLine=84803586; + //BA.debugLineNum = 84803586;BA.debugLine="Dim raf As RandomAccessFile"; _raf = new anywheresoftware.b4a.randomaccessfile.RandomAccessFile(); - //BA.debugLineNum = 481;BA.debugLine="Dim rafpos As Long"; +RDebugUtils.currentLine=84803587; + //BA.debugLineNum = 84803587;BA.debugLine="Dim rafpos As Long"; _rafpos = 0L; - //BA.debugLineNum = 482;BA.debugLine="Dim bbData As B4XBytesBuilder"; +RDebugUtils.currentLine=84803588; + //BA.debugLineNum = 84803588;BA.debugLine="Dim bbData As B4XBytesBuilder"; _bbdata = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 483;BA.debugLine="Dim bbPalette As B4XBytesBuilder"; +RDebugUtils.currentLine=84803589; + //BA.debugLineNum = 84803589;BA.debugLine="Dim bbPalette As B4XBytesBuilder"; _bbpalette = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 485;BA.debugLine="bbData.Initialize"; -_bbdata._initialize /*String*/ (ba); - //BA.debugLineNum = 486;BA.debugLine="bbPalette.Initialize"; -_bbpalette._initialize /*String*/ (ba); - //BA.debugLineNum = 487;BA.debugLine="ii.Initialize"; +RDebugUtils.currentLine=84803591; + //BA.debugLineNum = 84803591;BA.debugLine="bbData.Initialize"; +_bbdata._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=84803592; + //BA.debugLineNum = 84803592;BA.debugLine="bbPalette.Initialize"; +_bbpalette._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=84803593; + //BA.debugLineNum = 84803593;BA.debugLine="ii.Initialize"; _ii.Initialize(); - //BA.debugLineNum = 488;BA.debugLine="ii.fError=0"; +RDebugUtils.currentLine=84803594; + //BA.debugLineNum = 84803594;BA.debugLine="ii.fError=0"; _ii.fError /*int*/ = (int) (0); - //BA.debugLineNum = 489;BA.debugLine="raf.Initialize(adir,afile,True)"; +RDebugUtils.currentLine=84803595; + //BA.debugLineNum = 84803595;BA.debugLine="raf.Initialize(adir,afile,True)"; _raf.Initialize(_adir,_afile,__c.True); - //BA.debugLineNum = 490;BA.debugLine="rafpos=0"; +RDebugUtils.currentLine=84803596; + //BA.debugLineNum = 84803596;BA.debugLine="rafpos=0"; _rafpos = (long) (0); - //BA.debugLineNum = 494;BA.debugLine="If rafReadString(raf,rafpos,8)<>Chr(137) & \"PNG\""; -if ((_rafreadstring(_raf,_rafpos,(long) (8))).equals(BA.ObjectToString(__c.Chr((int) (137)))+"PNG"+BA.ObjectToString(__c.Chr((int) (13)))+BA.ObjectToString(__c.Chr((int) (10)))+BA.ObjectToString(__c.Chr((int) (26)))+BA.ObjectToString(__c.Chr((int) (10)))) == false) { - //BA.debugLineNum = 495;BA.debugLine="ii.fError=1"; +RDebugUtils.currentLine=84803600; + //BA.debugLineNum = 84803600;BA.debugLine="If rafReadString(raf,rafpos,8)<>Chr(137) & \"PNG\""; +if ((__ref._rafreadstring /*String*/ (null,_raf,_rafpos,(long) (8))).equals(BA.ObjectToString(__c.Chr((int) (137)))+"PNG"+BA.ObjectToString(__c.Chr((int) (13)))+BA.ObjectToString(__c.Chr((int) (10)))+BA.ObjectToString(__c.Chr((int) (26)))+BA.ObjectToString(__c.Chr((int) (10)))) == false) { +RDebugUtils.currentLine=84803601; + //BA.debugLineNum = 84803601;BA.debugLine="ii.fError=1"; _ii.fError /*int*/ = (int) (1); }; - //BA.debugLineNum = 497;BA.debugLine="rafpos=rafpos+8"; +RDebugUtils.currentLine=84803603; + //BA.debugLineNum = 84803603;BA.debugLine="rafpos=rafpos+8"; _rafpos = (long) (_rafpos+8); - //BA.debugLineNum = 500;BA.debugLine="Dim chunkLength As Int"; +RDebugUtils.currentLine=84803606; + //BA.debugLineNum = 84803606;BA.debugLine="Dim chunkLength As Int"; _chunklength = 0; - //BA.debugLineNum = 501;BA.debugLine="Dim chunkType As String"; +RDebugUtils.currentLine=84803607; + //BA.debugLineNum = 84803607;BA.debugLine="Dim chunkType As String"; _chunktype = ""; - //BA.debugLineNum = 502;BA.debugLine="Do While (ii.fError=0) And (chunkType<>\"IEND\")"; +RDebugUtils.currentLine=84803608; + //BA.debugLineNum = 84803608;BA.debugLine="Do While (ii.fError=0) And (chunkType<>\"IEND\")"; while ((_ii.fError /*int*/ ==0) && ((_chunktype).equals("IEND") == false)) { - //BA.debugLineNum = 503;BA.debugLine="chunkLength=raf.ReadInt(rafpos)"; +RDebugUtils.currentLine=84803609; + //BA.debugLineNum = 84803609;BA.debugLine="chunkLength=raf.ReadInt(rafpos)"; _chunklength = _raf.ReadInt(_rafpos); - //BA.debugLineNum = 504;BA.debugLine="rafpos=rafpos+4"; +RDebugUtils.currentLine=84803610; + //BA.debugLineNum = 84803610;BA.debugLine="rafpos=rafpos+4"; _rafpos = (long) (_rafpos+4); - //BA.debugLineNum = 505;BA.debugLine="chunkType=rafReadString(raf,rafpos,4)"; -_chunktype = _rafreadstring(_raf,_rafpos,(long) (4)); - //BA.debugLineNum = 506;BA.debugLine="rafpos=rafpos+4"; +RDebugUtils.currentLine=84803611; + //BA.debugLineNum = 84803611;BA.debugLine="chunkType=rafReadString(raf,rafpos,4)"; +_chunktype = __ref._rafreadstring /*String*/ (null,_raf,_rafpos,(long) (4)); +RDebugUtils.currentLine=84803612; + //BA.debugLineNum = 84803612;BA.debugLine="rafpos=rafpos+4"; _rafpos = (long) (_rafpos+4); - //BA.debugLineNum = 507;BA.debugLine="Select chunkType"; +RDebugUtils.currentLine=84803613; + //BA.debugLineNum = 84803613;BA.debugLine="Select chunkType"; switch (BA.switchObjectToInt(_chunktype,"IHDR","IDAT","PLTE")) { case 0: { - //BA.debugLineNum = 510;BA.debugLine="ii.fWidth=raf.ReadInt(rafpos)"; +RDebugUtils.currentLine=84803616; + //BA.debugLineNum = 84803616;BA.debugLine="ii.fWidth=raf.ReadInt(rafpos)"; _ii.fWidth /*int*/ = _raf.ReadInt(_rafpos); - //BA.debugLineNum = 511;BA.debugLine="rafpos=rafpos+4"; +RDebugUtils.currentLine=84803617; + //BA.debugLineNum = 84803617;BA.debugLine="rafpos=rafpos+4"; _rafpos = (long) (_rafpos+4); - //BA.debugLineNum = 513;BA.debugLine="ii.fHeight=raf.ReadInt(rafpos)"; +RDebugUtils.currentLine=84803619; + //BA.debugLineNum = 84803619;BA.debugLine="ii.fHeight=raf.ReadInt(rafpos)"; _ii.fHeight /*int*/ = _raf.ReadInt(_rafpos); - //BA.debugLineNum = 514;BA.debugLine="rafpos=rafpos+4"; +RDebugUtils.currentLine=84803620; + //BA.debugLineNum = 84803620;BA.debugLine="rafpos=rafpos+4"; _rafpos = (long) (_rafpos+4); - //BA.debugLineNum = 516;BA.debugLine="ii.fBPP=raf.ReadUnsignedByte(rafpos)"; +RDebugUtils.currentLine=84803622; + //BA.debugLineNum = 84803622;BA.debugLine="ii.fBPP=raf.ReadUnsignedByte(rafpos)"; _ii.fBPP /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 517;BA.debugLine="If ii.fBPP>8 Then"; +RDebugUtils.currentLine=84803623; + //BA.debugLineNum = 84803623;BA.debugLine="If ii.fBPP>8 Then"; if (_ii.fBPP /*int*/ >8) { - //BA.debugLineNum = 518;BA.debugLine="ii.fError=2"; +RDebugUtils.currentLine=84803624; + //BA.debugLineNum = 84803624;BA.debugLine="ii.fError=2"; _ii.fError /*int*/ = (int) (2); }; - //BA.debugLineNum = 520;BA.debugLine="rafpos=rafpos+1"; +RDebugUtils.currentLine=84803626; + //BA.debugLineNum = 84803626;BA.debugLine="rafpos=rafpos+1"; _rafpos = (long) (_rafpos+1); - //BA.debugLineNum = 522;BA.debugLine="ii.fColorSpace=raf.ReadUnsignedByte(rafpos)"; +RDebugUtils.currentLine=84803628; + //BA.debugLineNum = 84803628;BA.debugLine="ii.fColorSpace=raf.ReadUnsignedByte(rafpos)"; _ii.fColorSpace /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 523;BA.debugLine="If ii.fColorSpace<>0 And ii.fColorSpace<>2 And"; +RDebugUtils.currentLine=84803629; + //BA.debugLineNum = 84803629;BA.debugLine="If ii.fColorSpace<>0 And ii.fColorSpace<>2 And"; if (_ii.fColorSpace /*int*/ !=0 && _ii.fColorSpace /*int*/ !=2 && _ii.fColorSpace /*int*/ !=3 && _ii.fColorSpace /*int*/ !=4) { - //BA.debugLineNum = 524;BA.debugLine="ii.FError=3"; +RDebugUtils.currentLine=84803630; + //BA.debugLineNum = 84803630;BA.debugLine="ii.FError=3"; _ii.fError /*int*/ = (int) (3); }; - //BA.debugLineNum = 526;BA.debugLine="rafpos=rafpos+1"; +RDebugUtils.currentLine=84803632; + //BA.debugLineNum = 84803632;BA.debugLine="rafpos=rafpos+1"; _rafpos = (long) (_rafpos+1); - //BA.debugLineNum = 528;BA.debugLine="ii.FCompression=raf.ReadUnsignedByte(rafpos)"; +RDebugUtils.currentLine=84803634; + //BA.debugLineNum = 84803634;BA.debugLine="ii.FCompression=raf.ReadUnsignedByte(rafpos)"; _ii.fCompression /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 529;BA.debugLine="If ii.FCompression<>0 Then"; +RDebugUtils.currentLine=84803635; + //BA.debugLineNum = 84803635;BA.debugLine="If ii.FCompression<>0 Then"; if (_ii.fCompression /*int*/ !=0) { - //BA.debugLineNum = 530;BA.debugLine="ii.FError=4"; +RDebugUtils.currentLine=84803636; + //BA.debugLineNum = 84803636;BA.debugLine="ii.FError=4"; _ii.fError /*int*/ = (int) (4); }; - //BA.debugLineNum = 532;BA.debugLine="rafpos=rafpos+1"; +RDebugUtils.currentLine=84803638; + //BA.debugLineNum = 84803638;BA.debugLine="rafpos=rafpos+1"; _rafpos = (long) (_rafpos+1); - //BA.debugLineNum = 534;BA.debugLine="ii.FFilter=raf.ReadUnsignedByte(rafpos)"; +RDebugUtils.currentLine=84803640; + //BA.debugLineNum = 84803640;BA.debugLine="ii.FFilter=raf.ReadUnsignedByte(rafpos)"; _ii.fFilter /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 535;BA.debugLine="If ii.FFilter<>0 Then"; +RDebugUtils.currentLine=84803641; + //BA.debugLineNum = 84803641;BA.debugLine="If ii.FFilter<>0 Then"; if (_ii.fFilter /*int*/ !=0) { - //BA.debugLineNum = 536;BA.debugLine="ii.FError=5"; +RDebugUtils.currentLine=84803642; + //BA.debugLineNum = 84803642;BA.debugLine="ii.FError=5"; _ii.fError /*int*/ = (int) (5); }; - //BA.debugLineNum = 538;BA.debugLine="rafpos=rafpos+1"; +RDebugUtils.currentLine=84803644; + //BA.debugLineNum = 84803644;BA.debugLine="rafpos=rafpos+1"; _rafpos = (long) (_rafpos+1); - //BA.debugLineNum = 540;BA.debugLine="ii.FInterlacing=raf.ReadUnsignedByte(rafpos)"; +RDebugUtils.currentLine=84803646; + //BA.debugLineNum = 84803646;BA.debugLine="ii.FInterlacing=raf.ReadUnsignedByte(rafpos)"; _ii.fInterlacing /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 541;BA.debugLine="If ii.FInterlacing<>0 Then"; +RDebugUtils.currentLine=84803647; + //BA.debugLineNum = 84803647;BA.debugLine="If ii.FInterlacing<>0 Then"; if (_ii.fInterlacing /*int*/ !=0) { - //BA.debugLineNum = 542;BA.debugLine="ii.FError=6"; +RDebugUtils.currentLine=84803648; + //BA.debugLineNum = 84803648;BA.debugLine="ii.FError=6"; _ii.fError /*int*/ = (int) (6); }; - //BA.debugLineNum = 544;BA.debugLine="rafpos=rafpos+1"; +RDebugUtils.currentLine=84803650; + //BA.debugLineNum = 84803650;BA.debugLine="rafpos=rafpos+1"; _rafpos = (long) (_rafpos+1); break; } case 1: { - //BA.debugLineNum = 547;BA.debugLine="Dim b(chunkLength) As Byte"; +RDebugUtils.currentLine=84803653; + //BA.debugLineNum = 84803653;BA.debugLine="Dim b(chunkLength) As Byte"; _b = new byte[_chunklength]; ; - //BA.debugLineNum = 548;BA.debugLine="raf.ReadBytes(b,0,chunkLength,rafpos)"; +RDebugUtils.currentLine=84803654; + //BA.debugLineNum = 84803654;BA.debugLine="raf.ReadBytes(b,0,chunkLength,rafpos)"; _raf.ReadBytes(_b,(int) (0),_chunklength,_rafpos); - //BA.debugLineNum = 549;BA.debugLine="bbData.Append(b)"; -_bbdata._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_b); - //BA.debugLineNum = 550;BA.debugLine="rafpos=rafpos+chunkLength"; +RDebugUtils.currentLine=84803655; + //BA.debugLineNum = 84803655;BA.debugLine="bbData.Append(b)"; +_bbdata._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_b); +RDebugUtils.currentLine=84803656; + //BA.debugLineNum = 84803656;BA.debugLine="rafpos=rafpos+chunkLength"; _rafpos = (long) (_rafpos+_chunklength); break; } case 2: { - //BA.debugLineNum = 553;BA.debugLine="Dim b(chunkLength) As Byte"; +RDebugUtils.currentLine=84803659; + //BA.debugLineNum = 84803659;BA.debugLine="Dim b(chunkLength) As Byte"; _b = new byte[_chunklength]; ; - //BA.debugLineNum = 554;BA.debugLine="raf.ReadBytes(b,0,chunkLength,rafpos)"; +RDebugUtils.currentLine=84803660; + //BA.debugLineNum = 84803660;BA.debugLine="raf.ReadBytes(b,0,chunkLength,rafpos)"; _raf.ReadBytes(_b,(int) (0),_chunklength,_rafpos); - //BA.debugLineNum = 555;BA.debugLine="bbPalette.Append(b)"; -_bbpalette._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_b); - //BA.debugLineNum = 556;BA.debugLine="rafpos=rafpos+chunkLength"; +RDebugUtils.currentLine=84803661; + //BA.debugLineNum = 84803661;BA.debugLine="bbPalette.Append(b)"; +_bbpalette._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_b); +RDebugUtils.currentLine=84803662; + //BA.debugLineNum = 84803662;BA.debugLine="rafpos=rafpos+chunkLength"; _rafpos = (long) (_rafpos+_chunklength); break; } default: { - //BA.debugLineNum = 560;BA.debugLine="rafpos=rafpos+chunkLength"; +RDebugUtils.currentLine=84803666; + //BA.debugLineNum = 84803666;BA.debugLine="rafpos=rafpos+chunkLength"; _rafpos = (long) (_rafpos+_chunklength); break; } } ; - //BA.debugLineNum = 563;BA.debugLine="rafpos=rafpos+4"; +RDebugUtils.currentLine=84803669; + //BA.debugLineNum = 84803669;BA.debugLine="rafpos=rafpos+4"; _rafpos = (long) (_rafpos+4); } ; - //BA.debugLineNum = 566;BA.debugLine="raf.close"; +RDebugUtils.currentLine=84803672; + //BA.debugLineNum = 84803672;BA.debugLine="raf.close"; _raf.Close(); - //BA.debugLineNum = 567;BA.debugLine="ii.fData=bbData.ToArray"; -_ii.fData /*byte[]*/ = _bbdata._toarray /*byte[]*/ (); - //BA.debugLineNum = 568;BA.debugLine="ii.fPalette=bbPalette.ToArray"; -_ii.fPalette /*byte[]*/ = _bbpalette._toarray /*byte[]*/ (); - //BA.debugLineNum = 570;BA.debugLine="Return ii"; +RDebugUtils.currentLine=84803673; + //BA.debugLineNum = 84803673;BA.debugLine="ii.fData=bbData.ToArray"; +_ii.fData /*byte[]*/ = _bbdata._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=84803674; + //BA.debugLineNum = 84803674;BA.debugLine="ii.fPalette=bbPalette.ToArray"; +_ii.fPalette /*byte[]*/ = _bbpalette._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=84803676; + //BA.debugLineNum = 84803676;BA.debugLine="Return ii"; if (true) return _ii; - //BA.debugLineNum = 571;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84803677; + //BA.debugLineNum = 84803677;BA.debugLine="End Sub"; return null; } -public String _imagekey(String _adir,String _afile) throws Exception{ - //BA.debugLineNum = 473;BA.debugLine="private Sub imageKey(adir As String,afile As Strin"; - //BA.debugLineNum = 474;BA.debugLine="Return adir & afile"; -if (true) return _adir+_afile; - //BA.debugLineNum = 475;BA.debugLine="End Sub"; -return ""; -} -public byte[] _imageswrite() throws Exception{ -gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; +public String _rafreadstring(gunav2.keymon.com.mx.cpdf __ref,anywheresoftware.b4a.randomaccessfile.RandomAccessFile _araf,long _astart,long _acount) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "rafreadstring", false)) + {return ((String) Debug.delegate(ba, "rafreadstring", new Object[] {_araf,_astart,_acount}));} +String _s = ""; int _i = 0; - //BA.debugLineNum = 323;BA.debugLine="private Sub imagesWrite As Byte()"; - //BA.debugLineNum = 324;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 325;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 326;BA.debugLine="For i=0 To fUsedImages.Size-1"; +RDebugUtils.currentLine=84672512; + //BA.debugLineNum = 84672512;BA.debugLine="private Sub rafReadString(araf As RandomAccessFile"; +RDebugUtils.currentLine=84672513; + //BA.debugLineNum = 84672513;BA.debugLine="Dim s As String"; +_s = ""; +RDebugUtils.currentLine=84672514; + //BA.debugLineNum = 84672514;BA.debugLine="For i=0 To acount-1"; { -final int step3 = 1; -final int limit3 = (int) (_fusedimages.getSize()-1); +final int step2 = 1; +final int limit2 = (int) (_acount-1); _i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 327;BA.debugLine="bb.append(imageWrite(i))"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_imagewrite(_i)); +for (;_i <= limit2 ;_i = _i + step2 ) { +RDebugUtils.currentLine=84672515; + //BA.debugLineNum = 84672515;BA.debugLine="s=s & Chr(araf.ReadUnsignedByte(astart+i))"; +_s = _s+BA.ObjectToString(__c.Chr(_araf.ReadUnsignedByte((long) (_astart+_i)))); } }; - //BA.debugLineNum = 329;BA.debugLine="Return bb.toarray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 330;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84672517; + //BA.debugLineNum = 84672517;BA.debugLine="Return s"; +if (true) return _s; +RDebugUtils.currentLine=84672518; + //BA.debugLineNum = 84672518;BA.debugLine="End Sub"; +return ""; +} +public String _imagekey(gunav2.keymon.com.mx.cpdf __ref,String _adir,String _afile) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "imagekey", false)) + {return ((String) Debug.delegate(ba, "imagekey", new Object[] {_adir,_afile}));} +RDebugUtils.currentLine=84738048; + //BA.debugLineNum = 84738048;BA.debugLine="private Sub imageKey(adir As String,afile As Strin"; +RDebugUtils.currentLine=84738049; + //BA.debugLineNum = 84738049;BA.debugLine="Return adir & afile"; +if (true) return _adir+_afile; +RDebugUtils.currentLine=84738050; + //BA.debugLineNum = 84738050;BA.debugLine="End Sub"; +return ""; +} +public byte[] _imageswrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "imageswrite", false)) + {return ((byte[]) Debug.delegate(ba, "imageswrite", null));} +gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; +int _i = 0; +RDebugUtils.currentLine=83886080; + //BA.debugLineNum = 83886080;BA.debugLine="private Sub imagesWrite As Byte()"; +RDebugUtils.currentLine=83886081; + //BA.debugLineNum = 83886081;BA.debugLine="Dim bb As B4XBytesBuilder"; +_bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); +RDebugUtils.currentLine=83886082; + //BA.debugLineNum = 83886082;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83886083; + //BA.debugLineNum = 83886083;BA.debugLine="For i=0 To fUsedImages.Size-1"; +{ +final int step3 = 1; +final int limit3 = (int) (__ref._fusedimages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=83886084; + //BA.debugLineNum = 83886084;BA.debugLine="bb.append(imageWrite(i))"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,__ref._imagewrite /*byte[]*/ (null,_i)); + } +}; +RDebugUtils.currentLine=83886086; + //BA.debugLineNum = 83886086;BA.debugLine="Return bb.toarray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83886087; + //BA.debugLineNum = 83886087;BA.debugLine="End Sub"; return null; } -public byte[] _imagewrite(int _aimage) throws Exception{ +public byte[] _imagewrite(gunav2.keymon.com.mx.cpdf __ref,int _aimage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "imagewrite", false)) + {return ((byte[]) Debug.delegate(ba, "imagewrite", new Object[] {_aimage}));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; gunav2.keymon.com.mx.cpdf._tpdfimageinfo _ii = null; String _cs = ""; - //BA.debugLineNum = 332;BA.debugLine="private Sub imageWrite(aimage As Int) As Byte()"; - //BA.debugLineNum = 333;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83951616; + //BA.debugLineNum = 83951616;BA.debugLine="private Sub imageWrite(aimage As Int) As Byte()"; +RDebugUtils.currentLine=83951617; + //BA.debugLineNum = 83951617;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 334;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 335;BA.debugLine="Dim ii As TPDFImageInfo=fUsedImages.Get(aimage).A"; -_ii = (gunav2.keymon.com.mx.cpdf._tpdfimageinfo)(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_fusedimages.Get(_aimage)))).Get((Object)("info"))); - //BA.debugLineNum = 336;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj${Chr(10)}<>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 344;BA.debugLine="bb.Append($\"/Length ${ii.fData.length}>>${Chr(10)"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/Length "+__c.SmartStringFormatter("",(Object)(_ii.fData /*byte[]*/ .length))+">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 345;BA.debugLine="bb.Append(ii.fdata)"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_ii.fData /*byte[]*/ ); - //BA.debugLineNum = 346;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 347;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 348;BA.debugLine="If cs=\"Indexed\" Then"; +RDebugUtils.currentLine=83951627; + //BA.debugLineNum = 83951627;BA.debugLine="bb.Append($\"/BitsPerComponent ${ii.fBPP}${Chr(10)"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/BitsPerComponent "+__c.SmartStringFormatter("",(Object)(_ii.fBPP /*int*/ ))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"/Filter /FlateDecode"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"/DecodeParms <>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83951628; + //BA.debugLineNum = 83951628;BA.debugLine="bb.Append($\"/Length ${ii.fData.length}>>${Chr(10)"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/Length "+__c.SmartStringFormatter("",(Object)(_ii.fData /*byte[]*/ .length))+">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83951629; + //BA.debugLineNum = 83951629;BA.debugLine="bb.Append(ii.fdata)"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_ii.fData /*byte[]*/ ); +RDebugUtils.currentLine=83951630; + //BA.debugLineNum = 83951630;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83951631; + //BA.debugLineNum = 83951631;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=83951632; + //BA.debugLineNum = 83951632;BA.debugLine="If cs=\"Indexed\" Then"; if ((_cs).equals("Indexed")) { - //BA.debugLineNum = 349;BA.debugLine="bb.Append(paletteWrite(ii.fPalette))"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_palettewrite(_ii.fPalette /*byte[]*/ )); +RDebugUtils.currentLine=83951633; + //BA.debugLineNum = 83951633;BA.debugLine="bb.Append(paletteWrite(ii.fPalette))"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,__ref._palettewrite /*byte[]*/ (null,_ii.fPalette /*byte[]*/ )); }; - //BA.debugLineNum = 351;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 352;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83951635; + //BA.debugLineNum = 83951635;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83951636; + //BA.debugLineNum = 83951636;BA.debugLine="End Sub"; return null; } -public String _initfontsinfos() throws Exception{ - //BA.debugLineNum = 156;BA.debugLine="private Sub initFontsInfos"; - //BA.debugLineNum = 157;BA.debugLine="fFontsInfos.Initialize"; -_ffontsinfos.Initialize(); - //BA.debugLineNum = 158;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontNormal)"; -_ffontsinfos.Put((Object)(_calcfontkey("Courier",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 159;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontBold),c"; -_ffontsinfos.Put((Object)(_calcfontkey("Courier",_fontbold)),(Object)(_createfontinfo(new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 160;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontItalic)"; -_ffontsinfos.Put((Object)(_calcfontkey("Courier",_fontitalic)),(Object)(_createfontinfo(new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 161;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontBold+fo"; -_ffontsinfos.Put((Object)(_calcfontkey("Courier",(int) (_fontbold+_fontitalic))),(Object)(_createfontinfo(new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 162;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontNorma"; -_ffontsinfos.Put((Object)(_calcfontkey("Helvetica",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (355),(int) (556),(int) (556),(int) (889),(int) (667),(int) (191),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (584),(int) (584),(int) (584),(int) (556),(int) (1015),(int) (667),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (500),(int) (667),(int) (556),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (278),(int) (278),(int) (278),(int) (469),(int) (556),(int) (333),(int) (556),(int) (556),(int) (500),(int) (556),(int) (556),(int) (278),(int) (556),(int) (556),(int) (222),(int) (222),(int) (500),(int) (222),(int) (833),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (500),(int) (278),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (500),(int) (334),(int) (260),(int) (334),(int) (584),(int) (350),(int) (556),(int) (350),(int) (222),(int) (556),(int) (333),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (222),(int) (222),(int) (333),(int) (333),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (260),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (556),(int) (537),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (584),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 163;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontBold)"; -_ffontsinfos.Put((Object)(_calcfontkey("Helvetica",_fontbold)),(Object)(_createfontinfo(new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (333),(int) (474),(int) (556),(int) (556),(int) (889),(int) (722),(int) (238),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (333),(int) (584),(int) (584),(int) (584),(int) (611),(int) (975),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (556),(int) (722),(int) (611),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (333),(int) (278),(int) (333),(int) (584),(int) (556),(int) (333),(int) (556),(int) (611),(int) (556),(int) (611),(int) (556),(int) (333),(int) (611),(int) (611),(int) (278),(int) (278),(int) (556),(int) (278),(int) (889),(int) (611),(int) (611),(int) (611),(int) (611),(int) (389),(int) (556),(int) (333),(int) (611),(int) (556),(int) (778),(int) (556),(int) (556),(int) (500),(int) (389),(int) (280),(int) (389),(int) (584),(int) (350),(int) (556),(int) (350),(int) (278),(int) (556),(int) (500),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (278),(int) (278),(int) (500),(int) (500),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (280),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (611),(int) (556),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (584),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (556),(int) (611),(int) (556)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 164;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontItali"; -_ffontsinfos.Put((Object)(_calcfontkey("Helvetica",_fontitalic)),(Object)(_createfontinfo(new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (355),(int) (556),(int) (556),(int) (889),(int) (667),(int) (191),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (584),(int) (584),(int) (584),(int) (556),(int) (1015),(int) (667),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (500),(int) (667),(int) (556),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (278),(int) (278),(int) (278),(int) (469),(int) (556),(int) (333),(int) (556),(int) (556),(int) (500),(int) (556),(int) (556),(int) (278),(int) (556),(int) (556),(int) (222),(int) (222),(int) (500),(int) (222),(int) (833),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (500),(int) (278),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (500),(int) (334),(int) (260),(int) (334),(int) (584),(int) (350),(int) (556),(int) (350),(int) (222),(int) (556),(int) (333),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (222),(int) (222),(int) (333),(int) (333),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (260),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (556),(int) (537),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (584),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 165;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontBold+"; -_ffontsinfos.Put((Object)(_calcfontkey("Helvetica",(int) (_fontbold+_fontitalic))),(Object)(_createfontinfo(new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (333),(int) (474),(int) (556),(int) (556),(int) (889),(int) (722),(int) (238),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (333),(int) (584),(int) (584),(int) (584),(int) (611),(int) (975),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (556),(int) (722),(int) (611),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (333),(int) (278),(int) (333),(int) (584),(int) (556),(int) (333),(int) (556),(int) (611),(int) (556),(int) (611),(int) (556),(int) (333),(int) (611),(int) (611),(int) (278),(int) (278),(int) (556),(int) (278),(int) (889),(int) (611),(int) (611),(int) (611),(int) (611),(int) (389),(int) (556),(int) (333),(int) (611),(int) (556),(int) (778),(int) (556),(int) (556),(int) (500),(int) (389),(int) (280),(int) (389),(int) (584),(int) (350),(int) (556),(int) (350),(int) (278),(int) (556),(int) (500),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (278),(int) (278),(int) (500),(int) (500),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (280),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (611),(int) (556),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (584),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (556),(int) (611),(int) (556)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 166;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontNormal),c"; -_ffontsinfos.Put((Object)(_calcfontkey("Times",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (408),(int) (500),(int) (500),(int) (833),(int) (778),(int) (180),(int) (333),(int) (333),(int) (500),(int) (564),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (278),(int) (278),(int) (564),(int) (564),(int) (564),(int) (444),(int) (921),(int) (722),(int) (667),(int) (667),(int) (722),(int) (611),(int) (556),(int) (722),(int) (722),(int) (333),(int) (389),(int) (722),(int) (611),(int) (889),(int) (722),(int) (722),(int) (556),(int) (722),(int) (667),(int) (556),(int) (611),(int) (722),(int) (722),(int) (944),(int) (722),(int) (722),(int) (611),(int) (333),(int) (278),(int) (333),(int) (469),(int) (500),(int) (333),(int) (444),(int) (500),(int) (444),(int) (500),(int) (444),(int) (333),(int) (500),(int) (500),(int) (278),(int) (278),(int) (500),(int) (278),(int) (778),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (389),(int) (278),(int) (500),(int) (500),(int) (722),(int) (500),(int) (500),(int) (444),(int) (480),(int) (200),(int) (480),(int) (541),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (444),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (889),(int) (350),(int) (611),(int) (350),(int) (350),(int) (333),(int) (333),(int) (444),(int) (444),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (980),(int) (389),(int) (333),(int) (722),(int) (350),(int) (444),(int) (722),(int) (250),(int) (333),(int) (500),(int) (500),(int) (500),(int) (500),(int) (200),(int) (500),(int) (333),(int) (760),(int) (276),(int) (500),(int) (564),(int) (333),(int) (760),(int) (333),(int) (400),(int) (564),(int) (300),(int) (300),(int) (333),(int) (500),(int) (453),(int) (250),(int) (333),(int) (300),(int) (310),(int) (500),(int) (750),(int) (750),(int) (750),(int) (444),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (889),(int) (667),(int) (611),(int) (611),(int) (611),(int) (611),(int) (333),(int) (333),(int) (333),(int) (333),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (564),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (556),(int) (500),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (667),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (564),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500)},(int) (-60),(int) (40),(int) (2200),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 167;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontBold),cre"; -_ffontsinfos.Put((Object)(_calcfontkey("Times",_fontbold)),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (555),(int) (500),(int) (500),(int) (1000),(int) (833),(int) (278),(int) (333),(int) (333),(int) (500),(int) (570),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (570),(int) (570),(int) (570),(int) (500),(int) (930),(int) (722),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (778),(int) (389),(int) (500),(int) (778),(int) (667),(int) (944),(int) (722),(int) (778),(int) (611),(int) (778),(int) (722),(int) (556),(int) (667),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (722),(int) (667),(int) (333),(int) (278),(int) (333),(int) (581),(int) (500),(int) (333),(int) (500),(int) (556),(int) (444),(int) (556),(int) (444),(int) (333),(int) (500),(int) (556),(int) (278),(int) (333),(int) (556),(int) (278),(int) (833),(int) (556),(int) (500),(int) (556),(int) (556),(int) (444),(int) (389),(int) (333),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (444),(int) (394),(int) (220),(int) (394),(int) (520),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (500),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (1000),(int) (350),(int) (667),(int) (350),(int) (350),(int) (333),(int) (333),(int) (500),(int) (500),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (1000),(int) (389),(int) (333),(int) (722),(int) (350),(int) (444),(int) (722),(int) (250),(int) (333),(int) (500),(int) (500),(int) (500),(int) (500),(int) (220),(int) (500),(int) (333),(int) (747),(int) (300),(int) (500),(int) (570),(int) (333),(int) (747),(int) (333),(int) (400),(int) (570),(int) (300),(int) (300),(int) (333),(int) (556),(int) (540),(int) (250),(int) (333),(int) (300),(int) (330),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (389),(int) (389),(int) (389),(int) (389),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (570),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (611),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (722),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (570),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 168;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontItalic),c"; -_ffontsinfos.Put((Object)(_calcfontkey("Times",_fontitalic)),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (420),(int) (500),(int) (500),(int) (833),(int) (778),(int) (214),(int) (333),(int) (333),(int) (500),(int) (675),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (675),(int) (675),(int) (675),(int) (500),(int) (920),(int) (611),(int) (611),(int) (667),(int) (722),(int) (611),(int) (611),(int) (722),(int) (722),(int) (333),(int) (444),(int) (667),(int) (556),(int) (833),(int) (667),(int) (722),(int) (611),(int) (722),(int) (611),(int) (500),(int) (556),(int) (722),(int) (611),(int) (833),(int) (611),(int) (556),(int) (556),(int) (389),(int) (278),(int) (389),(int) (422),(int) (500),(int) (333),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444),(int) (278),(int) (500),(int) (500),(int) (278),(int) (278),(int) (444),(int) (278),(int) (722),(int) (500),(int) (500),(int) (500),(int) (500),(int) (389),(int) (389),(int) (278),(int) (500),(int) (444),(int) (667),(int) (444),(int) (444),(int) (389),(int) (400),(int) (275),(int) (400),(int) (541),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (556),(int) (889),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (556),(int) (350),(int) (350),(int) (333),(int) (333),(int) (556),(int) (556),(int) (350),(int) (500),(int) (889),(int) (333),(int) (980),(int) (389),(int) (333),(int) (667),(int) (350),(int) (389),(int) (556),(int) (250),(int) (389),(int) (500),(int) (500),(int) (500),(int) (500),(int) (275),(int) (500),(int) (333),(int) (760),(int) (276),(int) (500),(int) (675),(int) (333),(int) (760),(int) (333),(int) (400),(int) (675),(int) (300),(int) (300),(int) (333),(int) (500),(int) (523),(int) (250),(int) (333),(int) (300),(int) (310),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (889),(int) (667),(int) (611),(int) (611),(int) (611),(int) (611),(int) (333),(int) (333),(int) (333),(int) (333),(int) (722),(int) (667),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (675),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (556),(int) (611),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (667),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (675),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 169;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontBold+font"; -_ffontsinfos.Put((Object)(_calcfontkey("Times",(int) (_fontbold+_fontitalic))),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (389),(int) (555),(int) (500),(int) (500),(int) (833),(int) (778),(int) (278),(int) (333),(int) (333),(int) (500),(int) (570),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (570),(int) (570),(int) (570),(int) (500),(int) (832),(int) (667),(int) (667),(int) (667),(int) (722),(int) (667),(int) (667),(int) (722),(int) (778),(int) (389),(int) (500),(int) (667),(int) (611),(int) (889),(int) (722),(int) (722),(int) (611),(int) (722),(int) (667),(int) (556),(int) (611),(int) (722),(int) (667),(int) (889),(int) (667),(int) (611),(int) (611),(int) (333),(int) (278),(int) (333),(int) (570),(int) (500),(int) (333),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444),(int) (333),(int) (500),(int) (556),(int) (278),(int) (278),(int) (500),(int) (278),(int) (778),(int) (556),(int) (500),(int) (500),(int) (500),(int) (389),(int) (389),(int) (278),(int) (556),(int) (444),(int) (667),(int) (500),(int) (444),(int) (389),(int) (348),(int) (220),(int) (348),(int) (570),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (500),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (611),(int) (350),(int) (350),(int) (333),(int) (333),(int) (500),(int) (500),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (1000),(int) (389),(int) (333),(int) (722),(int) (350),(int) (389),(int) (611),(int) (250),(int) (389),(int) (500),(int) (500),(int) (500),(int) (500),(int) (220),(int) (500),(int) (333),(int) (747),(int) (266),(int) (500),(int) (606),(int) (333),(int) (747),(int) (333),(int) (400),(int) (570),(int) (300),(int) (300),(int) (333),(int) (576),(int) (500),(int) (250),(int) (333),(int) (300),(int) (300),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (944),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (389),(int) (389),(int) (389),(int) (389),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (570),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (611),(int) (611),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (722),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (570),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (444),(int) (500),(int) (444)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 170;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Symbol\",fontNormal),"; -_ffontsinfos.Put((Object)(_calcfontkey("Symbol",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (713),(int) (500),(int) (549),(int) (833),(int) (778),(int) (439),(int) (333),(int) (333),(int) (500),(int) (549),(int) (250),(int) (549),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (278),(int) (278),(int) (549),(int) (549),(int) (549),(int) (444),(int) (549),(int) (722),(int) (667),(int) (722),(int) (612),(int) (611),(int) (763),(int) (603),(int) (722),(int) (333),(int) (631),(int) (722),(int) (686),(int) (889),(int) (722),(int) (722),(int) (768),(int) (741),(int) (556),(int) (592),(int) (611),(int) (690),(int) (439),(int) (768),(int) (645),(int) (795),(int) (611),(int) (333),(int) (863),(int) (333),(int) (658),(int) (500),(int) (500),(int) (631),(int) (549),(int) (549),(int) (494),(int) (439),(int) (521),(int) (411),(int) (603),(int) (329),(int) (603),(int) (549),(int) (549),(int) (576),(int) (521),(int) (549),(int) (549),(int) (521),(int) (549),(int) (603),(int) (439),(int) (576),(int) (713),(int) (686),(int) (493),(int) (686),(int) (494),(int) (480),(int) (200),(int) (480),(int) (549),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (750),(int) (620),(int) (247),(int) (549),(int) (167),(int) (713),(int) (500),(int) (753),(int) (753),(int) (753),(int) (753),(int) (1042),(int) (987),(int) (603),(int) (987),(int) (603),(int) (400),(int) (549),(int) (411),(int) (549),(int) (549),(int) (713),(int) (494),(int) (460),(int) (549),(int) (549),(int) (549),(int) (549),(int) (1000),(int) (603),(int) (1000),(int) (658),(int) (823),(int) (686),(int) (795),(int) (987),(int) (768),(int) (768),(int) (823),(int) (768),(int) (768),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (768),(int) (713),(int) (790),(int) (790),(int) (890),(int) (823),(int) (549),(int) (250),(int) (713),(int) (603),(int) (603),(int) (1042),(int) (987),(int) (603),(int) (987),(int) (603),(int) (494),(int) (329),(int) (790),(int) (790),(int) (786),(int) (713),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (494),(int) (494),(int) (494),(int) (494),(int) (0),(int) (329),(int) (274),(int) (686),(int) (686),(int) (686),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (494),(int) (494),(int) (494),(int) (0)},(int) (-60),(int) (10),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 171;BA.debugLine="fFontsInfos.Put(calcFontKey(\"zapfdingbats\",fontNo"; -_ffontsinfos.Put((Object)(_calcfontkey("zapfdingbats",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (278),(int) (974),(int) (961),(int) (974),(int) (980),(int) (719),(int) (789),(int) (790),(int) (791),(int) (690),(int) (960),(int) (939),(int) (549),(int) (855),(int) (911),(int) (933),(int) (911),(int) (945),(int) (974),(int) (755),(int) (846),(int) (762),(int) (761),(int) (571),(int) (677),(int) (763),(int) (760),(int) (759),(int) (754),(int) (494),(int) (552),(int) (537),(int) (577),(int) (692),(int) (786),(int) (788),(int) (788),(int) (790),(int) (793),(int) (794),(int) (816),(int) (823),(int) (789),(int) (841),(int) (823),(int) (833),(int) (816),(int) (831),(int) (923),(int) (744),(int) (723),(int) (749),(int) (790),(int) (792),(int) (695),(int) (776),(int) (768),(int) (792),(int) (759),(int) (707),(int) (708),(int) (682),(int) (701),(int) (826),(int) (815),(int) (789),(int) (789),(int) (707),(int) (687),(int) (696),(int) (689),(int) (786),(int) (787),(int) (713),(int) (791),(int) (785),(int) (791),(int) (873),(int) (761),(int) (762),(int) (762),(int) (759),(int) (759),(int) (892),(int) (892),(int) (788),(int) (784),(int) (438),(int) (138),(int) (277),(int) (415),(int) (392),(int) (392),(int) (668),(int) (668),(int) (0),(int) (390),(int) (390),(int) (317),(int) (317),(int) (276),(int) (276),(int) (509),(int) (509),(int) (410),(int) (410),(int) (234),(int) (234),(int) (334),(int) (334),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (732),(int) (544),(int) (544),(int) (910),(int) (667),(int) (760),(int) (760),(int) (776),(int) (595),(int) (694),(int) (626),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (894),(int) (838),(int) (1016),(int) (458),(int) (748),(int) (924),(int) (748),(int) (918),(int) (927),(int) (928),(int) (928),(int) (834),(int) (873),(int) (828),(int) (924),(int) (924),(int) (917),(int) (930),(int) (931),(int) (463),(int) (883),(int) (836),(int) (836),(int) (867),(int) (867),(int) (696),(int) (696),(int) (874),(int) (0),(int) (874),(int) (760),(int) (946),(int) (771),(int) (865),(int) (771),(int) (888),(int) (967),(int) (888),(int) (831),(int) (873),(int) (927),(int) (970),(int) (918),(int) (0)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 172;BA.debugLine="End Sub"; +public byte[] _palettewrite(gunav2.keymon.com.mx.cpdf __ref,byte[] _apalette) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "palettewrite", false)) + {return ((byte[]) Debug.delegate(ba, "palettewrite", new Object[] {_apalette}));} +gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; +RDebugUtils.currentLine=84017152; + //BA.debugLineNum = 84017152;BA.debugLine="private Sub paletteWrite(apalette() As Byte) As By"; +RDebugUtils.currentLine=84017153; + //BA.debugLineNum = 84017153;BA.debugLine="Dim bb As B4XBytesBuilder"; +_bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); +RDebugUtils.currentLine=84017154; + //BA.debugLineNum = 84017154;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=84017155; + //BA.debugLineNum = 84017155;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj${Chr(10)}<>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84017156; + //BA.debugLineNum = 84017156;BA.debugLine="bb.Append(apalette)"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,_apalette); +RDebugUtils.currentLine=84017157; + //BA.debugLineNum = 84017157;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84017158; + //BA.debugLineNum = 84017158;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=84017159; + //BA.debugLineNum = 84017159;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=84017160; + //BA.debugLineNum = 84017160;BA.debugLine="End Sub"; +return null; +} +public String _initfontsinfos(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "initfontsinfos", false)) + {return ((String) Debug.delegate(ba, "initfontsinfos", null));} +RDebugUtils.currentLine=83034112; + //BA.debugLineNum = 83034112;BA.debugLine="private Sub initFontsInfos"; +RDebugUtils.currentLine=83034113; + //BA.debugLineNum = 83034113;BA.debugLine="fFontsInfos.Initialize"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=83034114; + //BA.debugLineNum = 83034114;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontNormal)"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Courier",__ref._fontnormal /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034115; + //BA.debugLineNum = 83034115;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontBold),c"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Courier",__ref._fontbold /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034116; + //BA.debugLineNum = 83034116;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontItalic)"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Courier",__ref._fontitalic /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034117; + //BA.debugLineNum = 83034117;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontBold+fo"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Courier",(int) (__ref._fontbold /*int*/ +__ref._fontitalic /*int*/ ))),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034118; + //BA.debugLineNum = 83034118;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontNorma"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Helvetica",__ref._fontnormal /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (355),(int) (556),(int) (556),(int) (889),(int) (667),(int) (191),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (584),(int) (584),(int) (584),(int) (556),(int) (1015),(int) (667),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (500),(int) (667),(int) (556),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (278),(int) (278),(int) (278),(int) (469),(int) (556),(int) (333),(int) (556),(int) (556),(int) (500),(int) (556),(int) (556),(int) (278),(int) (556),(int) (556),(int) (222),(int) (222),(int) (500),(int) (222),(int) (833),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (500),(int) (278),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (500),(int) (334),(int) (260),(int) (334),(int) (584),(int) (350),(int) (556),(int) (350),(int) (222),(int) (556),(int) (333),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (222),(int) (222),(int) (333),(int) (333),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (260),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (556),(int) (537),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (584),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034119; + //BA.debugLineNum = 83034119;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontBold)"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Helvetica",__ref._fontbold /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (333),(int) (474),(int) (556),(int) (556),(int) (889),(int) (722),(int) (238),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (333),(int) (584),(int) (584),(int) (584),(int) (611),(int) (975),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (556),(int) (722),(int) (611),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (333),(int) (278),(int) (333),(int) (584),(int) (556),(int) (333),(int) (556),(int) (611),(int) (556),(int) (611),(int) (556),(int) (333),(int) (611),(int) (611),(int) (278),(int) (278),(int) (556),(int) (278),(int) (889),(int) (611),(int) (611),(int) (611),(int) (611),(int) (389),(int) (556),(int) (333),(int) (611),(int) (556),(int) (778),(int) (556),(int) (556),(int) (500),(int) (389),(int) (280),(int) (389),(int) (584),(int) (350),(int) (556),(int) (350),(int) (278),(int) (556),(int) (500),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (278),(int) (278),(int) (500),(int) (500),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (280),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (611),(int) (556),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (584),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (556),(int) (611),(int) (556)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034120; + //BA.debugLineNum = 83034120;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontItali"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Helvetica",__ref._fontitalic /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (355),(int) (556),(int) (556),(int) (889),(int) (667),(int) (191),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (584),(int) (584),(int) (584),(int) (556),(int) (1015),(int) (667),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (500),(int) (667),(int) (556),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (278),(int) (278),(int) (278),(int) (469),(int) (556),(int) (333),(int) (556),(int) (556),(int) (500),(int) (556),(int) (556),(int) (278),(int) (556),(int) (556),(int) (222),(int) (222),(int) (500),(int) (222),(int) (833),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (500),(int) (278),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (500),(int) (334),(int) (260),(int) (334),(int) (584),(int) (350),(int) (556),(int) (350),(int) (222),(int) (556),(int) (333),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (222),(int) (222),(int) (333),(int) (333),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (260),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (556),(int) (537),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (584),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034121; + //BA.debugLineNum = 83034121;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontBold+"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Helvetica",(int) (__ref._fontbold /*int*/ +__ref._fontitalic /*int*/ ))),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (333),(int) (474),(int) (556),(int) (556),(int) (889),(int) (722),(int) (238),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (333),(int) (584),(int) (584),(int) (584),(int) (611),(int) (975),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (556),(int) (722),(int) (611),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (333),(int) (278),(int) (333),(int) (584),(int) (556),(int) (333),(int) (556),(int) (611),(int) (556),(int) (611),(int) (556),(int) (333),(int) (611),(int) (611),(int) (278),(int) (278),(int) (556),(int) (278),(int) (889),(int) (611),(int) (611),(int) (611),(int) (611),(int) (389),(int) (556),(int) (333),(int) (611),(int) (556),(int) (778),(int) (556),(int) (556),(int) (500),(int) (389),(int) (280),(int) (389),(int) (584),(int) (350),(int) (556),(int) (350),(int) (278),(int) (556),(int) (500),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (278),(int) (278),(int) (500),(int) (500),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (280),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (611),(int) (556),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (584),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (556),(int) (611),(int) (556)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034122; + //BA.debugLineNum = 83034122;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontNormal),c"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Times",__ref._fontnormal /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (408),(int) (500),(int) (500),(int) (833),(int) (778),(int) (180),(int) (333),(int) (333),(int) (500),(int) (564),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (278),(int) (278),(int) (564),(int) (564),(int) (564),(int) (444),(int) (921),(int) (722),(int) (667),(int) (667),(int) (722),(int) (611),(int) (556),(int) (722),(int) (722),(int) (333),(int) (389),(int) (722),(int) (611),(int) (889),(int) (722),(int) (722),(int) (556),(int) (722),(int) (667),(int) (556),(int) (611),(int) (722),(int) (722),(int) (944),(int) (722),(int) (722),(int) (611),(int) (333),(int) (278),(int) (333),(int) (469),(int) (500),(int) (333),(int) (444),(int) (500),(int) (444),(int) (500),(int) (444),(int) (333),(int) (500),(int) (500),(int) (278),(int) (278),(int) (500),(int) (278),(int) (778),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (389),(int) (278),(int) (500),(int) (500),(int) (722),(int) (500),(int) (500),(int) (444),(int) (480),(int) (200),(int) (480),(int) (541),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (444),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (889),(int) (350),(int) (611),(int) (350),(int) (350),(int) (333),(int) (333),(int) (444),(int) (444),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (980),(int) (389),(int) (333),(int) (722),(int) (350),(int) (444),(int) (722),(int) (250),(int) (333),(int) (500),(int) (500),(int) (500),(int) (500),(int) (200),(int) (500),(int) (333),(int) (760),(int) (276),(int) (500),(int) (564),(int) (333),(int) (760),(int) (333),(int) (400),(int) (564),(int) (300),(int) (300),(int) (333),(int) (500),(int) (453),(int) (250),(int) (333),(int) (300),(int) (310),(int) (500),(int) (750),(int) (750),(int) (750),(int) (444),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (889),(int) (667),(int) (611),(int) (611),(int) (611),(int) (611),(int) (333),(int) (333),(int) (333),(int) (333),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (564),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (556),(int) (500),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (667),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (564),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500)},(int) (-60),(int) (40),(int) (2200),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034123; + //BA.debugLineNum = 83034123;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontBold),cre"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Times",__ref._fontbold /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (555),(int) (500),(int) (500),(int) (1000),(int) (833),(int) (278),(int) (333),(int) (333),(int) (500),(int) (570),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (570),(int) (570),(int) (570),(int) (500),(int) (930),(int) (722),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (778),(int) (389),(int) (500),(int) (778),(int) (667),(int) (944),(int) (722),(int) (778),(int) (611),(int) (778),(int) (722),(int) (556),(int) (667),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (722),(int) (667),(int) (333),(int) (278),(int) (333),(int) (581),(int) (500),(int) (333),(int) (500),(int) (556),(int) (444),(int) (556),(int) (444),(int) (333),(int) (500),(int) (556),(int) (278),(int) (333),(int) (556),(int) (278),(int) (833),(int) (556),(int) (500),(int) (556),(int) (556),(int) (444),(int) (389),(int) (333),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (444),(int) (394),(int) (220),(int) (394),(int) (520),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (500),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (1000),(int) (350),(int) (667),(int) (350),(int) (350),(int) (333),(int) (333),(int) (500),(int) (500),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (1000),(int) (389),(int) (333),(int) (722),(int) (350),(int) (444),(int) (722),(int) (250),(int) (333),(int) (500),(int) (500),(int) (500),(int) (500),(int) (220),(int) (500),(int) (333),(int) (747),(int) (300),(int) (500),(int) (570),(int) (333),(int) (747),(int) (333),(int) (400),(int) (570),(int) (300),(int) (300),(int) (333),(int) (556),(int) (540),(int) (250),(int) (333),(int) (300),(int) (330),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (389),(int) (389),(int) (389),(int) (389),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (570),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (611),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (722),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (570),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034124; + //BA.debugLineNum = 83034124;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontItalic),c"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Times",__ref._fontitalic /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (420),(int) (500),(int) (500),(int) (833),(int) (778),(int) (214),(int) (333),(int) (333),(int) (500),(int) (675),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (675),(int) (675),(int) (675),(int) (500),(int) (920),(int) (611),(int) (611),(int) (667),(int) (722),(int) (611),(int) (611),(int) (722),(int) (722),(int) (333),(int) (444),(int) (667),(int) (556),(int) (833),(int) (667),(int) (722),(int) (611),(int) (722),(int) (611),(int) (500),(int) (556),(int) (722),(int) (611),(int) (833),(int) (611),(int) (556),(int) (556),(int) (389),(int) (278),(int) (389),(int) (422),(int) (500),(int) (333),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444),(int) (278),(int) (500),(int) (500),(int) (278),(int) (278),(int) (444),(int) (278),(int) (722),(int) (500),(int) (500),(int) (500),(int) (500),(int) (389),(int) (389),(int) (278),(int) (500),(int) (444),(int) (667),(int) (444),(int) (444),(int) (389),(int) (400),(int) (275),(int) (400),(int) (541),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (556),(int) (889),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (556),(int) (350),(int) (350),(int) (333),(int) (333),(int) (556),(int) (556),(int) (350),(int) (500),(int) (889),(int) (333),(int) (980),(int) (389),(int) (333),(int) (667),(int) (350),(int) (389),(int) (556),(int) (250),(int) (389),(int) (500),(int) (500),(int) (500),(int) (500),(int) (275),(int) (500),(int) (333),(int) (760),(int) (276),(int) (500),(int) (675),(int) (333),(int) (760),(int) (333),(int) (400),(int) (675),(int) (300),(int) (300),(int) (333),(int) (500),(int) (523),(int) (250),(int) (333),(int) (300),(int) (310),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (889),(int) (667),(int) (611),(int) (611),(int) (611),(int) (611),(int) (333),(int) (333),(int) (333),(int) (333),(int) (722),(int) (667),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (675),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (556),(int) (611),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (667),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (675),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034125; + //BA.debugLineNum = 83034125;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontBold+font"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Times",(int) (__ref._fontbold /*int*/ +__ref._fontitalic /*int*/ ))),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (389),(int) (555),(int) (500),(int) (500),(int) (833),(int) (778),(int) (278),(int) (333),(int) (333),(int) (500),(int) (570),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (570),(int) (570),(int) (570),(int) (500),(int) (832),(int) (667),(int) (667),(int) (667),(int) (722),(int) (667),(int) (667),(int) (722),(int) (778),(int) (389),(int) (500),(int) (667),(int) (611),(int) (889),(int) (722),(int) (722),(int) (611),(int) (722),(int) (667),(int) (556),(int) (611),(int) (722),(int) (667),(int) (889),(int) (667),(int) (611),(int) (611),(int) (333),(int) (278),(int) (333),(int) (570),(int) (500),(int) (333),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444),(int) (333),(int) (500),(int) (556),(int) (278),(int) (278),(int) (500),(int) (278),(int) (778),(int) (556),(int) (500),(int) (500),(int) (500),(int) (389),(int) (389),(int) (278),(int) (556),(int) (444),(int) (667),(int) (500),(int) (444),(int) (389),(int) (348),(int) (220),(int) (348),(int) (570),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (500),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (611),(int) (350),(int) (350),(int) (333),(int) (333),(int) (500),(int) (500),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (1000),(int) (389),(int) (333),(int) (722),(int) (350),(int) (389),(int) (611),(int) (250),(int) (389),(int) (500),(int) (500),(int) (500),(int) (500),(int) (220),(int) (500),(int) (333),(int) (747),(int) (266),(int) (500),(int) (606),(int) (333),(int) (747),(int) (333),(int) (400),(int) (570),(int) (300),(int) (300),(int) (333),(int) (576),(int) (500),(int) (250),(int) (333),(int) (300),(int) (300),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (944),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (389),(int) (389),(int) (389),(int) (389),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (570),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (611),(int) (611),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (722),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (570),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (444),(int) (500),(int) (444)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034126; + //BA.debugLineNum = 83034126;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Symbol\",fontNormal),"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"Symbol",__ref._fontnormal /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (713),(int) (500),(int) (549),(int) (833),(int) (778),(int) (439),(int) (333),(int) (333),(int) (500),(int) (549),(int) (250),(int) (549),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (278),(int) (278),(int) (549),(int) (549),(int) (549),(int) (444),(int) (549),(int) (722),(int) (667),(int) (722),(int) (612),(int) (611),(int) (763),(int) (603),(int) (722),(int) (333),(int) (631),(int) (722),(int) (686),(int) (889),(int) (722),(int) (722),(int) (768),(int) (741),(int) (556),(int) (592),(int) (611),(int) (690),(int) (439),(int) (768),(int) (645),(int) (795),(int) (611),(int) (333),(int) (863),(int) (333),(int) (658),(int) (500),(int) (500),(int) (631),(int) (549),(int) (549),(int) (494),(int) (439),(int) (521),(int) (411),(int) (603),(int) (329),(int) (603),(int) (549),(int) (549),(int) (576),(int) (521),(int) (549),(int) (549),(int) (521),(int) (549),(int) (603),(int) (439),(int) (576),(int) (713),(int) (686),(int) (493),(int) (686),(int) (494),(int) (480),(int) (200),(int) (480),(int) (549),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (750),(int) (620),(int) (247),(int) (549),(int) (167),(int) (713),(int) (500),(int) (753),(int) (753),(int) (753),(int) (753),(int) (1042),(int) (987),(int) (603),(int) (987),(int) (603),(int) (400),(int) (549),(int) (411),(int) (549),(int) (549),(int) (713),(int) (494),(int) (460),(int) (549),(int) (549),(int) (549),(int) (549),(int) (1000),(int) (603),(int) (1000),(int) (658),(int) (823),(int) (686),(int) (795),(int) (987),(int) (768),(int) (768),(int) (823),(int) (768),(int) (768),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (768),(int) (713),(int) (790),(int) (790),(int) (890),(int) (823),(int) (549),(int) (250),(int) (713),(int) (603),(int) (603),(int) (1042),(int) (987),(int) (603),(int) (987),(int) (603),(int) (494),(int) (329),(int) (790),(int) (790),(int) (786),(int) (713),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (494),(int) (494),(int) (494),(int) (494),(int) (0),(int) (329),(int) (274),(int) (686),(int) (686),(int) (686),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (494),(int) (494),(int) (494),(int) (0)},(int) (-60),(int) (10),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034127; + //BA.debugLineNum = 83034127;BA.debugLine="fFontsInfos.Put(calcFontKey(\"zapfdingbats\",fontNo"; +__ref._ffontsinfos /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(__ref._calcfontkey /*String*/ (null,"zapfdingbats",__ref._fontnormal /*int*/ )),(Object)(__ref._createfontinfo /*gunav2.keymon.com.mx.cpdf._tpdffontinfo*/ (null,new int[]{(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (278),(int) (974),(int) (961),(int) (974),(int) (980),(int) (719),(int) (789),(int) (790),(int) (791),(int) (690),(int) (960),(int) (939),(int) (549),(int) (855),(int) (911),(int) (933),(int) (911),(int) (945),(int) (974),(int) (755),(int) (846),(int) (762),(int) (761),(int) (571),(int) (677),(int) (763),(int) (760),(int) (759),(int) (754),(int) (494),(int) (552),(int) (537),(int) (577),(int) (692),(int) (786),(int) (788),(int) (788),(int) (790),(int) (793),(int) (794),(int) (816),(int) (823),(int) (789),(int) (841),(int) (823),(int) (833),(int) (816),(int) (831),(int) (923),(int) (744),(int) (723),(int) (749),(int) (790),(int) (792),(int) (695),(int) (776),(int) (768),(int) (792),(int) (759),(int) (707),(int) (708),(int) (682),(int) (701),(int) (826),(int) (815),(int) (789),(int) (789),(int) (707),(int) (687),(int) (696),(int) (689),(int) (786),(int) (787),(int) (713),(int) (791),(int) (785),(int) (791),(int) (873),(int) (761),(int) (762),(int) (762),(int) (759),(int) (759),(int) (892),(int) (892),(int) (788),(int) (784),(int) (438),(int) (138),(int) (277),(int) (415),(int) (392),(int) (392),(int) (668),(int) (668),(int) (0),(int) (390),(int) (390),(int) (317),(int) (317),(int) (276),(int) (276),(int) (509),(int) (509),(int) (410),(int) (410),(int) (234),(int) (234),(int) (334),(int) (334),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (732),(int) (544),(int) (544),(int) (910),(int) (667),(int) (760),(int) (760),(int) (776),(int) (595),(int) (694),(int) (626),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (894),(int) (838),(int) (1016),(int) (458),(int) (748),(int) (924),(int) (748),(int) (918),(int) (927),(int) (928),(int) (928),(int) (834),(int) (873),(int) (828),(int) (924),(int) (924),(int) (917),(int) (930),(int) (931),(int) (463),(int) (883),(int) (836),(int) (836),(int) (867),(int) (867),(int) (696),(int) (696),(int) (874),(int) (0),(int) (874),(int) (760),(int) (946),(int) (771),(int) (865),(int) (771),(int) (888),(int) (967),(int) (888),(int) (831),(int) (873),(int) (927),(int) (970),(int) (918),(int) (0)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); +RDebugUtils.currentLine=83034128; + //BA.debugLineNum = 83034128;BA.debugLine="End Sub"; return ""; } -public gunav2.keymon.com.mx.cpdf _initialize(anywheresoftware.b4a.BA _ba,String _aunit) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 121;BA.debugLine="Public Sub Initialize(aunit As String) As cPDF"; - //BA.debugLineNum = 122;BA.debugLine="fLibVersion=\"0.6\""; -_flibversion = "0.6"; - //BA.debugLineNum = 123;BA.debugLine="fPDFVersion=\"1.3\""; -_fpdfversion = "1.3"; - //BA.debugLineNum = 124;BA.debugLine="sUnit(aunit)"; -_sunit(_aunit); - //BA.debugLineNum = 125;BA.debugLine="fProperties=CreateMap(\"Producer\":\"B4XPDF\",\"Creati"; -_fproperties = __c.createMap(new Object[] {(Object)("Producer"),(Object)("B4XPDF"),(Object)("CreationDate"),(Object)(_gcreationdate()),(Object)("ModDate"),(Object)(_gcreationdate())}); - //BA.debugLineNum = 126;BA.debugLine="fContext.Initialize"; -_fcontext.Initialize(); - //BA.debugLineNum = 127;BA.debugLine="fObjs.Initialize"; -_fobjs.Initialize(); - //BA.debugLineNum = 128;BA.debugLine="fPages.Initialize"; -_fpages.Initialize(); - //BA.debugLineNum = 129;BA.debugLine="fPage=0"; -_fpage = (int) (0); - //BA.debugLineNum = 130;BA.debugLine="fUsedImages.Initialize"; -_fusedimages.Initialize(); - //BA.debugLineNum = 131;BA.debugLine="fUsedFonts.Initialize"; -_fusedfonts.Initialize(); - //BA.debugLineNum = 132;BA.debugLine="initFontsInfos"; -_initfontsinfos(); - //BA.debugLineNum = 133;BA.debugLine="Return Me"; +public gunav2.keymon.com.mx.cpdf _sunit(gunav2.keymon.com.mx.cpdf __ref,String _aunit) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "sunit", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "sunit", new Object[] {_aunit}));} +RDebugUtils.currentLine=83099648; + //BA.debugLineNum = 83099648;BA.debugLine="private Sub sUnit(aunit As String) As cPDF"; +RDebugUtils.currentLine=83099649; + //BA.debugLineNum = 83099649;BA.debugLine="Select aunit.ToLowerCase"; +switch (BA.switchObjectToInt(_aunit.toLowerCase(),"pt","mm","cm","in")) { +case 0: { +RDebugUtils.currentLine=83099651; + //BA.debugLineNum = 83099651;BA.debugLine="fUnitFactor=1.0"; +__ref._funitfactor /*double*/ = 1.0; + break; } +case 1: { +RDebugUtils.currentLine=83099653; + //BA.debugLineNum = 83099653;BA.debugLine="fUnitFactor=72.0/25.4"; +__ref._funitfactor /*double*/ = 72.0/(double)25.4; + break; } +case 2: { +RDebugUtils.currentLine=83099655; + //BA.debugLineNum = 83099655;BA.debugLine="fUnitFactor=72.0/2.54"; +__ref._funitfactor /*double*/ = 72.0/(double)2.54; + break; } +case 3: { +RDebugUtils.currentLine=83099657; + //BA.debugLineNum = 83099657;BA.debugLine="fUnitFactor=72.0"; +__ref._funitfactor /*double*/ = 72.0; + break; } +default: { +RDebugUtils.currentLine=83099659; + //BA.debugLineNum = 83099659;BA.debugLine="fUnitFactor=1.0"; +__ref._funitfactor /*double*/ = 1.0; + break; } +} +; +RDebugUtils.currentLine=83099661; + //BA.debugLineNum = 83099661;BA.debugLine="Return Me"; if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 134;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83099662; + //BA.debugLineNum = 83099662;BA.debugLine="End Sub"; return null; } -public byte[] _kidswrite() throws Exception{ +public byte[] _kidswrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "kidswrite", false)) + {return ((byte[]) Debug.delegate(ba, "kidswrite", null));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; int _i = 0; - //BA.debugLineNum = 217;BA.debugLine="private Sub kidsWrite As Byte()"; - //BA.debugLineNum = 218;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83361792; + //BA.debugLineNum = 83361792;BA.debugLine="private Sub kidsWrite As Byte()"; +RDebugUtils.currentLine=83361793; + //BA.debugLineNum = 83361793;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 219;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 220;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj${Chr"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("] /Count "+__c.SmartStringFormatter("",(Object)(_fpages.getSize()))+">> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 225;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 226;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 227;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83361799; + //BA.debugLineNum = 83361799;BA.debugLine="bb.Append($\"] /Count ${fPages.size}>> endobj${Chr"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("] /Count "+__c.SmartStringFormatter("",(Object)(__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+">> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83361800; + //BA.debugLineNum = 83361800;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=83361801; + //BA.debugLineNum = 83361801;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83361802; + //BA.debugLineNum = 83361802;BA.debugLine="End Sub"; return null; } -public String _multilinetextsizeaddline(gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize _amts,gunav2.keymon.com.mx.cpdf._tpdftextsize _ats,String _atext,double _awidth) throws Exception{ -String _s = ""; -int _p = 0; - //BA.debugLineNum = 925;BA.debugLine="private Sub MultilineTextSizeAddLine(amts As TPDFM"; - //BA.debugLineNum = 926;BA.debugLine="Dim s As String"; -_s = ""; - //BA.debugLineNum = 927;BA.debugLine="If ats.fWidth>awidth Then"; -if (_ats.fWidth /*double*/ >_awidth) { - //BA.debugLineNum = 928;BA.debugLine="Dim p As Int=atext.LastIndexOf(\" \")"; -_p = _atext.lastIndexOf(" "); - //BA.debugLineNum = 929;BA.debugLine="If p=-1 Then"; -if (_p==-1) { - //BA.debugLineNum = 930;BA.debugLine="p=atext.Length-1"; -_p = (int) (_atext.length()-1); - }; - //BA.debugLineNum = 932;BA.debugLine="s=atext.SubString(p+1)"; -_s = _atext.substring((int) (_p+1)); - //BA.debugLineNum = 933;BA.debugLine="atext=atext.SubString2(0,p)"; -_atext = _atext.substring((int) (0),_p); - }else { - //BA.debugLineNum = 935;BA.debugLine="s=\"\""; -_s = ""; - }; - //BA.debugLineNum = 937;BA.debugLine="amts.fparagraphs.Get(amts.fParagraphs.Size-1).As("; -((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_amts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (_amts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1))))).Add((Object)(_atext)); - //BA.debugLineNum = 938;BA.debugLine="amts.fHeight=amts.fHeight+ats.fHeight"; -_amts.fHeight /*double*/ = _amts.fHeight /*double*/ +_ats.fHeight /*double*/ ; - //BA.debugLineNum = 939;BA.debugLine="Return s"; -if (true) return _s; - //BA.debugLineNum = 940;BA.debugLine="End Sub"; -return ""; -} -public gunav2.keymon.com.mx.cpdf _outimage(String _adir,String _afile,double _ax,double _ay,double _aw,double _ah) throws Exception{ -gunav2.keymon.com.mx.cpdf._tpdfimageinfo _ii = null; -String _k = ""; -int _i = 0; - //BA.debugLineNum = 817;BA.debugLine="public Sub outImage(adir As String,afile As String"; - //BA.debugLineNum = 818;BA.debugLine="Dim ii As TPDFImageInfo"; -_ii = new gunav2.keymon.com.mx.cpdf._tpdfimageinfo(); - //BA.debugLineNum = 819;BA.debugLine="afile=convertImage(adir,afile)"; -_afile = _convertimage(_adir,_afile); - //BA.debugLineNum = 821;BA.debugLine="Dim k As String=imageKey(adir,afile)"; -_k = _imagekey(_adir,_afile); - //BA.debugLineNum = 822;BA.debugLine="Dim i As Int=findImageKey(k)"; -_i = _findimagekey(_k); - //BA.debugLineNum = 824;BA.debugLine="If i=-1 Then"; -if (_i==-1) { - //BA.debugLineNum = 826;BA.debugLine="ii=imageInfo(adir,afile)"; -_ii = _imageinfo(_adir,_afile); - //BA.debugLineNum = 828;BA.debugLine="fUsedImages.add(CreateMap(\"path\":k,\"info\":ii))"; -_fusedimages.Add((Object)(__c.createMap(new Object[] {(Object)("path"),(Object)(_k),(Object)("info"),(Object)(_ii)}).getObject())); - //BA.debugLineNum = 829;BA.debugLine="i=fUsedImages.Size-1"; -_i = (int) (_fusedimages.getSize()-1); - }else { - //BA.debugLineNum = 831;BA.debugLine="ii=fUsedImages.Get(i).As(Map).Get(\"info\")"; -_ii = (gunav2.keymon.com.mx.cpdf._tpdfimageinfo)(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_fusedimages.Get(_i)))).Get((Object)("info"))); - }; - //BA.debugLineNum = 834;BA.debugLine="File.Delete(adir,afile)"; -__c.File.Delete(_adir,_afile); - //BA.debugLineNum = 836;BA.debugLine="If ii.fError=0 Then"; -if (_ii.fError /*int*/ ==0) { - //BA.debugLineNum = 838;BA.debugLine="If aw=0 And ah=0 Then"; -if (_aw==0 && _ah==0) { - //BA.debugLineNum = 839;BA.debugLine="aw=-96"; -_aw = -96; - //BA.debugLineNum = 840;BA.debugLine="ah=-96"; -_ah = -96; - }; - //BA.debugLineNum = 844;BA.debugLine="If aw<0 Then"; -if (_aw<0) { - //BA.debugLineNum = 845;BA.debugLine="aw=-ii.fWidth*72/aw/fUnitFactor"; -_aw = -_ii.fWidth /*int*/ *72/(double)_aw/(double)_funitfactor; - }; - //BA.debugLineNum = 848;BA.debugLine="If ah<0 Then"; -if (_ah<0) { - //BA.debugLineNum = 849;BA.debugLine="ah=-ii.fHeight*72/ah/fUnitFactor"; -_ah = -_ii.fHeight /*int*/ *72/(double)_ah/(double)_funitfactor; - }; - //BA.debugLineNum = 853;BA.debugLine="If aw=0 Then"; -if (_aw==0) { - //BA.debugLineNum = 854;BA.debugLine="aw=ah*ii.fWidth/ii.fHeight"; -_aw = _ah*_ii.fWidth /*int*/ /(double)_ii.fHeight /*int*/ ; - }; - //BA.debugLineNum = 857;BA.debugLine="If ah=0 Then"; -if (_ah==0) { - //BA.debugLineNum = 858;BA.debugLine="ah=aw*ii.fHeight/ii.fWidth"; -_ah = _aw*_ii.fHeight /*int*/ /(double)_ii.fWidth /*int*/ ; - }; - //BA.debugLineNum = 861;BA.debugLine="contentAdd(fPage,$\"q ${NumberFormat2(aw*fUnitFac"; -_contentadd(_fpage,("q "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_aw*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" 0 0 "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ah*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" cm /I"+__c.SmartStringFormatter("",(Object)(_i))+" Do Q"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - }; - //BA.debugLineNum = 863;BA.debugLine="Return Me"; +public gunav2.keymon.com.mx.cpdf _outline(gunav2.keymon.com.mx.cpdf __ref,double _ax1,double _ay1,double _ax2,double _ay2) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "outline", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "outline", new Object[] {_ax1,_ay1,_ax2,_ay2}));} +RDebugUtils.currentLine=85852160; + //BA.debugLineNum = 85852160;BA.debugLine="public Sub outLine(ax1 As Double,ay1 As Double,ax2"; +RDebugUtils.currentLine=85852161; + //BA.debugLineNum = 85852161;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax1*fUnitFacto"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax1*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay1*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" m "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax2*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay2*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" l h S"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); +RDebugUtils.currentLine=85852162; + //BA.debugLineNum = 85852162;BA.debugLine="Return Me"; if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 864;BA.debugLine="End Sub"; +RDebugUtils.currentLine=85852163; + //BA.debugLineNum = 85852163;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cpdf _outline(double _ax1,double _ay1,double _ax2,double _ay2) throws Exception{ - //BA.debugLineNum = 779;BA.debugLine="public Sub outLine(ax1 As Double,ay1 As Double,ax2"; - //BA.debugLineNum = 780;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax1*fUnitFacto"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax1*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay1*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" m "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax2*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay2*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" l h S"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 781;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 782;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _outraw(String _atext) throws Exception{ +public gunav2.keymon.com.mx.cpdf _outraw(gunav2.keymon.com.mx.cpdf __ref,String _atext) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "outraw", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "outraw", new Object[] {_atext}));} int _shift = 0; anywheresoftware.b4a.keywords.Regex.MatcherWrapper _m = null; int _g = 0; String _v = ""; - //BA.debugLineNum = 869;BA.debugLine="public Sub outRaw(atext As String) As cPDF"; - //BA.debugLineNum = 870;BA.debugLine="If fUnitFactor<>1 Then"; -if (_funitfactor!=1) { - //BA.debugLineNum = 872;BA.debugLine="Dim shift As Int=0"; +RDebugUtils.currentLine=86114304; + //BA.debugLineNum = 86114304;BA.debugLine="public Sub outRaw(atext As String) As cPDF"; +RDebugUtils.currentLine=86114305; + //BA.debugLineNum = 86114305;BA.debugLine="If fUnitFactor<>1 Then"; +if (__ref._funitfactor /*double*/ !=1) { +RDebugUtils.currentLine=86114307; + //BA.debugLineNum = 86114307;BA.debugLine="Dim shift As Int=0"; _shift = (int) (0); - //BA.debugLineNum = 873;BA.debugLine="atext=atext & Chr(10)"; +RDebugUtils.currentLine=86114308; + //BA.debugLineNum = 86114308;BA.debugLine="atext=atext & Chr(10)"; _atext = _atext+BA.ObjectToString(__c.Chr((int) (10))); - //BA.debugLineNum = 874;BA.debugLine="Dim m As Matcher = Regex.Matcher(\"([+-]?[0-9]{1,"; +RDebugUtils.currentLine=86114309; + //BA.debugLineNum = 86114309;BA.debugLine="Dim m As Matcher = Regex.Matcher(\"([+-]?[0-9]{1,"; _m = new anywheresoftware.b4a.keywords.Regex.MatcherWrapper(); _m = __c.Regex.Matcher("([+-]?[0-9]{1,}[\\.]{0,1}[0-9]{0,})",_atext); - //BA.debugLineNum = 875;BA.debugLine="Do While m.Find"; +RDebugUtils.currentLine=86114310; + //BA.debugLineNum = 86114310;BA.debugLine="Do While m.Find"; while (_m.Find()) { - //BA.debugLineNum = 876;BA.debugLine="For g=1 To m.GroupCount"; +RDebugUtils.currentLine=86114311; + //BA.debugLineNum = 86114311;BA.debugLine="For g=1 To m.GroupCount"; { final int step6 = 1; final int limit6 = _m.getGroupCount(); _g = (int) (1) ; for (;_g <= limit6 ;_g = _g + step6 ) { - //BA.debugLineNum = 877;BA.debugLine="Dim v As String=NumberFormat2(fUnitFactor*m.Gr"; -_v = __c.NumberFormat2(_funitfactor*(double)(Double.parseDouble(_m.Group(_g))),(int) (1),(int) (3),(int) (3),__c.False); - //BA.debugLineNum = 878;BA.debugLine="atext=atext.SubString2(0,m.getstart(g)+shift)"; +RDebugUtils.currentLine=86114312; + //BA.debugLineNum = 86114312;BA.debugLine="Dim v As String=NumberFormat2(fUnitFactor*m.Gr"; +_v = __c.NumberFormat2(__ref._funitfactor /*double*/ *(double)(Double.parseDouble(_m.Group(_g))),(int) (1),(int) (3),(int) (3),__c.False); +RDebugUtils.currentLine=86114313; + //BA.debugLineNum = 86114313;BA.debugLine="atext=atext.SubString2(0,m.getstart(g)+shift)"; _atext = _atext.substring((int) (0),(int) (_m.GetStart(_g)+_shift))+_v+_atext.substring((int) (_m.GetEnd(_g)+_shift)); - //BA.debugLineNum = 879;BA.debugLine="shift=shift+v.Length-m.Group(g).Length"; +RDebugUtils.currentLine=86114314; + //BA.debugLineNum = 86114314;BA.debugLine="shift=shift+v.Length-m.Group(g).Length"; _shift = (int) (_shift+_v.length()-_m.Group(_g).length()); } }; } ; }; - //BA.debugLineNum = 883;BA.debugLine="contentAdd(fPage,atext)"; -_contentadd(_fpage,_atext); - //BA.debugLineNum = 884;BA.debugLine="Return Me"; +RDebugUtils.currentLine=86114318; + //BA.debugLineNum = 86114318;BA.debugLine="contentAdd(fPage,atext)"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,_atext); +RDebugUtils.currentLine=86114319; + //BA.debugLineNum = 86114319;BA.debugLine="Return Me"; if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 885;BA.debugLine="End Sub"; +RDebugUtils.currentLine=86114320; + //BA.debugLineNum = 86114320;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cpdf _outrectangle(double _ax,double _ay,double _aw,double _ah,String _astyle) throws Exception{ - //BA.debugLineNum = 788;BA.debugLine="public Sub outRectangle(ax As Double,ay As Double,"; - //BA.debugLineNum = 789;BA.debugLine="If astyle=RectangleBorderAndFill Or astyle=Rectan"; -if ((_astyle).equals(_rectangleborderandfill) || (_astyle).equals(_rectanglefillonly)) { - //BA.debugLineNum = 790;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(fContext.fFil"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFillColor /*double[]*/ [(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFillColor /*double[]*/ [(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFillColor /*double[]*/ [(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" rg"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); +public gunav2.keymon.com.mx.cpdf _outrectangle(gunav2.keymon.com.mx.cpdf __ref,double _ax,double _ay,double _aw,double _ah,String _astyle) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "outrectangle", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "outrectangle", new Object[] {_ax,_ay,_aw,_ah,_astyle}));} +RDebugUtils.currentLine=85917696; + //BA.debugLineNum = 85917696;BA.debugLine="public Sub outRectangle(ax As Double,ay As Double,"; +RDebugUtils.currentLine=85917697; + //BA.debugLineNum = 85917697;BA.debugLine="If astyle=RectangleBorderAndFill Or astyle=Rectan"; +if ((_astyle).equals(__ref._rectangleborderandfill /*String*/ ) || (_astyle).equals(__ref._rectanglefillonly /*String*/ )) { +RDebugUtils.currentLine=85917698; + //BA.debugLineNum = 85917698;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(fContext.fFil"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFillColor /*double[]*/ [(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFillColor /*double[]*/ [(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFillColor /*double[]*/ [(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" rg"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); }; - //BA.debugLineNum = 792;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFactor"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_aw*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ah*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" re "+__c.SmartStringFormatter("",(Object)(_astyle))+" "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 793;BA.debugLine="Return Me"; +RDebugUtils.currentLine=85917700; + //BA.debugLineNum = 85917700;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFactor"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_aw*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ah*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" re "+__c.SmartStringFormatter("",(Object)(_astyle))+" "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); +RDebugUtils.currentLine=85917701; + //BA.debugLineNum = 85917701;BA.debugLine="Return Me"; if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 794;BA.debugLine="End Sub"; +RDebugUtils.currentLine=85917702; + //BA.debugLineNum = 85917702;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cpdf _outtext(double _ax,double _ay,String _atext) throws Exception{ -gunav2.keymon.com.mx.cpdf._tpdffontinfo _fi = null; -gunav2.keymon.com.mx.cpdf._tpdftextsize _ts = null; - //BA.debugLineNum = 716;BA.debugLine="public Sub outText(ax As Double,ay As Double,atext"; - //BA.debugLineNum = 717;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(fContext.fFont"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFontColor /*double[]*/ [(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFontColor /*double[]*/ [(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFontColor /*double[]*/ [(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" rg"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 718;BA.debugLine="contentAdd(fPage,$\"BT ${NumberFormat2(ax*fUnitFac"; -_contentadd(_fpage,("BT "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" Td ("+__c.SmartStringFormatter("",(Object)(_escapetext(_atext)))+")Tj ET"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 719;BA.debugLine="If Bit.And(fContext.fFontstyle,fontUnderline+font"; -if (__c.Bit.And(_fcontext.fFontStyle /*int*/ ,(int) (_fontunderline+_fontstrikethrough))!=0) { - //BA.debugLineNum = 720;BA.debugLine="Dim fi As TPDFFontInfo=fFontsInfos.Get(calcFontK"; -_fi = ((gunav2.keymon.com.mx.cpdf._tpdffontinfo)(_ffontsinfos.Get((Object)(_calcfontkey(_fcontext.fFontFamily /*String*/ ,_fcontext.fFontStyle /*int*/ ))))); - //BA.debugLineNum = 721;BA.debugLine="Dim ts As TPDFTextSize=gTextSize(atext)"; -_ts = _gtextsize(_atext); - }; - //BA.debugLineNum = 723;BA.debugLine="If Bit.And(fContext.fFontstyle,fontUnderline)<>0"; -if (__c.Bit.And(_fcontext.fFontStyle /*int*/ ,_fontunderline)!=0) { - //BA.debugLineNum = 724;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFacto"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor+_fi.fYUnderline /*int*/ *_fcontext.fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ts.fWidth /*double*/ *_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((_fi.fHUnderline /*int*/ )*_fcontext.fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" re f "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - }; - //BA.debugLineNum = 726;BA.debugLine="If Bit.And(fContext.fFontstyle,fontStrikeThrough)"; -if (__c.Bit.And(_fcontext.fFontStyle /*int*/ ,_fontstrikethrough)!=0) { - //BA.debugLineNum = 727;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFacto"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor+_fi.fYStrikeThrough /*int*/ *_fcontext.fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ts.fWidth /*double*/ *_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((_fi.fHStrikeThrough /*int*/ )*_fcontext.fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" re f "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - }; - //BA.debugLineNum = 729;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 730;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _outtextflow(double _aleftmargin,double _arightmargin,String _aalign,String _atext) throws Exception{ +public gunav2.keymon.com.mx.cpdf _outtextflow(gunav2.keymon.com.mx.cpdf __ref,double _aleftmargin,double _arightmargin,String _aalign,String _atext) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "outtextflow", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "outtextflow", new Object[] {_aleftmargin,_arightmargin,_aalign,_atext}));} gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize _mts = null; gunav2.keymon.com.mx.cpdf._tpdftextsize _ts = null; int _p = 0; @@ -1392,67 +2271,88 @@ double _x = 0; double _s = 0; int _j = 0; gunav2.keymon.com.mx.cpdf._tpdftextsize _ww = null; - //BA.debugLineNum = 737;BA.debugLine="public Sub outTextFlow(aleftMargin As Double,arigh"; - //BA.debugLineNum = 738;BA.debugLine="Dim mts As TPDFMultilineTextSize=gMultilineTextSi"; -_mts = _gmultilinetextsize(_arightmargin-_aleftmargin,_atext); - //BA.debugLineNum = 739;BA.debugLine="Dim ts As TPDFTextSize"; +RDebugUtils.currentLine=85786624; + //BA.debugLineNum = 85786624;BA.debugLine="public Sub outTextFlow(aleftMargin As Double,arigh"; +RDebugUtils.currentLine=85786625; + //BA.debugLineNum = 85786625;BA.debugLine="Dim mts As TPDFMultilineTextSize=gMultilineTextSi"; +_mts = __ref._gmultilinetextsize /*gunav2.keymon.com.mx.cpdf._tpdfmultilinetextsize*/ (null,_arightmargin-_aleftmargin,_atext); +RDebugUtils.currentLine=85786626; + //BA.debugLineNum = 85786626;BA.debugLine="Dim ts As TPDFTextSize"; _ts = new gunav2.keymon.com.mx.cpdf._tpdftextsize(); - //BA.debugLineNum = 740;BA.debugLine="For p=0 To mts.fParagraphs.Size-1"; +RDebugUtils.currentLine=85786627; + //BA.debugLineNum = 85786627;BA.debugLine="For p=0 To mts.fParagraphs.Size-1"; { final int step3 = 1; final int limit3 = (int) (_mts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _p = (int) (0) ; for (;_p <= limit3 ;_p = _p + step3 ) { - //BA.debugLineNum = 741;BA.debugLine="Dim lines As List=mts.fParagraphs.Get(p).As(List"; +RDebugUtils.currentLine=85786628; + //BA.debugLineNum = 85786628;BA.debugLine="Dim lines As List=mts.fParagraphs.Get(p).As(List"; _lines = new anywheresoftware.b4a.objects.collections.List(); _lines = ((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Get(_p)))); - //BA.debugLineNum = 742;BA.debugLine="For i=0 To lines.Size-1"; +RDebugUtils.currentLine=85786629; + //BA.debugLineNum = 85786629;BA.debugLine="For i=0 To lines.Size-1"; { final int step5 = 1; final int limit5 = (int) (_lines.getSize()-1); _i = (int) (0) ; for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 743;BA.debugLine="Dim l As String=lines.Get(i)"; +RDebugUtils.currentLine=85786630; + //BA.debugLineNum = 85786630;BA.debugLine="Dim l As String=lines.Get(i)"; _l = BA.ObjectToString(_lines.Get(_i)); - //BA.debugLineNum = 744;BA.debugLine="ts=gTextSize(l)"; -_ts = _gtextsize(_l); - //BA.debugLineNum = 745;BA.debugLine="Select Case aalign"; +RDebugUtils.currentLine=85786631; + //BA.debugLineNum = 85786631;BA.debugLine="ts=gTextSize(l)"; +_ts = __ref._gtextsize /*gunav2.keymon.com.mx.cpdf._tpdftextsize*/ (null,_l); +RDebugUtils.currentLine=85786632; + //BA.debugLineNum = 85786632;BA.debugLine="Select Case aalign"; switch (BA.switchObjectToInt(_aalign,"L","C","R","J")) { case 0: { - //BA.debugLineNum = 747;BA.debugLine="outText(aleftMargin,fContext.fy,l)"; -_outtext(_aleftmargin,_fcontext.fY /*double*/ ,_l); +RDebugUtils.currentLine=85786634; + //BA.debugLineNum = 85786634;BA.debugLine="outText(aleftMargin,fContext.fy,l)"; +__ref._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,_aleftmargin,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ ,_l); break; } case 1: { - //BA.debugLineNum = 749;BA.debugLine="outText(aleftMargin+(arightMargin-aleftMargin"; -_outtext(_aleftmargin+(_arightmargin-_aleftmargin-_ts.fWidth /*double*/ )/(double)2,_fcontext.fY /*double*/ ,_l); +RDebugUtils.currentLine=85786636; + //BA.debugLineNum = 85786636;BA.debugLine="outText(aleftMargin+(arightMargin-aleftMargin"; +__ref._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,_aleftmargin+(_arightmargin-_aleftmargin-_ts.fWidth /*double*/ )/(double)2,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ ,_l); break; } case 2: { - //BA.debugLineNum = 751;BA.debugLine="outText(arightMargin-ts.fWidth,fContext.fy,l)"; -_outtext(_arightmargin-_ts.fWidth /*double*/ ,_fcontext.fY /*double*/ ,_l); +RDebugUtils.currentLine=85786638; + //BA.debugLineNum = 85786638;BA.debugLine="outText(arightMargin-ts.fWidth,fContext.fy,l)"; +__ref._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,_arightmargin-_ts.fWidth /*double*/ ,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ ,_l); break; } case 3: { - //BA.debugLineNum = 753;BA.debugLine="If i=lines.Size-1 Then"; +RDebugUtils.currentLine=85786640; + //BA.debugLineNum = 85786640;BA.debugLine="If i=lines.Size-1 Then"; if (_i==_lines.getSize()-1) { - //BA.debugLineNum = 755;BA.debugLine="outText(aleftMargin,fContext.fy,l)"; -_outtext(_aleftmargin,_fcontext.fY /*double*/ ,_l); +RDebugUtils.currentLine=85786642; + //BA.debugLineNum = 85786642;BA.debugLine="outText(aleftMargin,fContext.fy,l)"; +__ref._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,_aleftmargin,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ ,_l); }else { - //BA.debugLineNum = 758;BA.debugLine="Dim w() As String=Regex.split(\" \",l)"; +RDebugUtils.currentLine=85786645; + //BA.debugLineNum = 85786645;BA.debugLine="Dim w() As String=Regex.split(\" \",l)"; _w = __c.Regex.Split(" ",_l); - //BA.debugLineNum = 759;BA.debugLine="Dim x As Double=aleftMargin"; +RDebugUtils.currentLine=85786646; + //BA.debugLineNum = 85786646;BA.debugLine="Dim x As Double=aleftMargin"; _x = _aleftmargin; - //BA.debugLineNum = 761;BA.debugLine="Dim s As Double=((arightMargin-aleftMargin)-"; -_s = ((_arightmargin-_aleftmargin)-_ts.fWidth /*double*/ +(_gtextsize(" ").fWidth /*double*/ *(_w.length-1)))/(double)(_w.length-1); - //BA.debugLineNum = 762;BA.debugLine="For j=0 To w.Length-1"; +RDebugUtils.currentLine=85786648; + //BA.debugLineNum = 85786648;BA.debugLine="Dim s As Double=((arightMargin-aleftMargin)-"; +_s = ((_arightmargin-_aleftmargin)-_ts.fWidth /*double*/ +(__ref._gtextsize /*gunav2.keymon.com.mx.cpdf._tpdftextsize*/ (null," ").fWidth /*double*/ *(_w.length-1)))/(double)(_w.length-1); +RDebugUtils.currentLine=85786649; + //BA.debugLineNum = 85786649;BA.debugLine="For j=0 To w.Length-1"; { final int step22 = 1; final int limit22 = (int) (_w.length-1); _j = (int) (0) ; for (;_j <= limit22 ;_j = _j + step22 ) { - //BA.debugLineNum = 763;BA.debugLine="Dim ww As TPDFTextSize=gTextSize(w(j))"; -_ww = _gtextsize(_w[_j]); - //BA.debugLineNum = 764;BA.debugLine="outText(x,fContext.fy,w(j))"; -_outtext(_x,_fcontext.fY /*double*/ ,_w[_j]); - //BA.debugLineNum = 765;BA.debugLine="x=x+s+ww.fWidth"; +RDebugUtils.currentLine=85786650; + //BA.debugLineNum = 85786650;BA.debugLine="Dim ww As TPDFTextSize=gTextSize(w(j))"; +_ww = __ref._gtextsize /*gunav2.keymon.com.mx.cpdf._tpdftextsize*/ (null,_w[_j]); +RDebugUtils.currentLine=85786651; + //BA.debugLineNum = 85786651;BA.debugLine="outText(x,fContext.fy,w(j))"; +__ref._outtext /*gunav2.keymon.com.mx.cpdf*/ (null,_x,__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ ,_w[_j]); +RDebugUtils.currentLine=85786652; + //BA.debugLineNum = 85786652;BA.debugLine="x=x+s+ww.fWidth"; _x = _x+_s+_ww.fWidth /*double*/ ; } }; @@ -1460,510 +2360,541 @@ _x = _x+_s+_ww.fWidth /*double*/ ; break; } } ; - //BA.debugLineNum = 769;BA.debugLine="fContext.fX=aleftMargin"; -_fcontext.fX /*double*/ = _aleftmargin; - //BA.debugLineNum = 770;BA.debugLine="fContext.fy=fContext.fy+ts.fHeight"; -_fcontext.fY /*double*/ = _fcontext.fY /*double*/ +_ts.fHeight /*double*/ ; +RDebugUtils.currentLine=85786656; + //BA.debugLineNum = 85786656;BA.debugLine="fContext.fX=aleftMargin"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fX /*double*/ = _aleftmargin; +RDebugUtils.currentLine=85786657; + //BA.debugLineNum = 85786657;BA.debugLine="fContext.fy=fContext.fy+ts.fHeight"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ = __ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ +_ts.fHeight /*double*/ ; } }; } }; - //BA.debugLineNum = 773;BA.debugLine="Return Me"; +RDebugUtils.currentLine=85786660; + //BA.debugLineNum = 85786660;BA.debugLine="Return Me"; if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 774;BA.debugLine="End Sub"; +RDebugUtils.currentLine=85786661; + //BA.debugLineNum = 85786661;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cpdf _pageadd(double _awidth,double _aheight) throws Exception{ - //BA.debugLineNum = 648;BA.debugLine="public Sub pageAdd(awidth As Double,aheight As Dou"; - //BA.debugLineNum = 649;BA.debugLine="fPages.Add(createPage(IIf(awidth<0,-awidth,awidth"; -_fpages.Add((Object)(_createpage((double)(BA.ObjectToNumber(((_awidth<0) ? ((Object)(-_awidth)) : ((Object)(_awidth*_funitfactor))))),(double)(BA.ObjectToNumber(((_aheight<0) ? ((Object)(-_aheight)) : ((Object)(_aheight*_funitfactor))))),""))); - //BA.debugLineNum = 650;BA.debugLine="fPage=fPages.Size-1"; -_fpage = (int) (_fpages.getSize()-1); - //BA.debugLineNum = 651;BA.debugLine="sFont(fContext.fFontFamily,fContext.fFontStyle,fC"; -_sfont(_fcontext.fFontFamily /*String*/ ,_fcontext.fFontStyle /*int*/ ,_fcontext.fFontSize /*double*/ ,_fcontext.fFontColor /*double[]*/ ); - //BA.debugLineNum = 652;BA.debugLine="sDrawColor(fContext.fDrawColor)"; -_sdrawcolor(_fcontext.fDrawColor /*double[]*/ ); - //BA.debugLineNum = 653;BA.debugLine="sDrawWidth(fContext.fDrawWidth)"; -_sdrawwidth(_fcontext.fDrawWidth /*double*/ ); - //BA.debugLineNum = 654;BA.debugLine="sFillColor(fContext.fFillColor)"; -_sfillcolor(_fcontext.fFillColor /*double[]*/ ); - //BA.debugLineNum = 655;BA.debugLine="Return Me"; +public gunav2.keymon.com.mx.cpdf _sdrawcolor(gunav2.keymon.com.mx.cpdf __ref,double[] _argb) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "sdrawcolor", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "sdrawcolor", new Object[] {_argb}));} +RDebugUtils.currentLine=85458944; + //BA.debugLineNum = 85458944;BA.debugLine="public Sub sDrawColor(argb() As Double) As cPDF"; +RDebugUtils.currentLine=85458945; + //BA.debugLineNum = 85458945;BA.debugLine="fContext.fDrawColor=argb"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fDrawColor /*double[]*/ = _argb; +RDebugUtils.currentLine=85458946; + //BA.debugLineNum = 85458946;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(argb(0),1,3,3,"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" RG"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); +RDebugUtils.currentLine=85458947; + //BA.debugLineNum = 85458947;BA.debugLine="Return Me"; if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 656;BA.debugLine="End Sub"; +RDebugUtils.currentLine=85458948; + //BA.debugLineNum = 85458948;BA.debugLine="End Sub"; return null; } -public byte[] _pageswrite() throws Exception{ +public gunav2.keymon.com.mx.cpdf _sdrawwidth(gunav2.keymon.com.mx.cpdf __ref,double _awidth) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "sdrawwidth", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "sdrawwidth", new Object[] {_awidth}));} +RDebugUtils.currentLine=85524480; + //BA.debugLineNum = 85524480;BA.debugLine="public Sub sDrawWidth(awidth As Double) As cPDF"; +RDebugUtils.currentLine=85524481; + //BA.debugLineNum = 85524481;BA.debugLine="fContext.fDrawWidth=awidth"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fDrawWidth /*double*/ = _awidth; +RDebugUtils.currentLine=85524482; + //BA.debugLineNum = 85524482;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(awidth*fUnitFa"; +__ref._contentadd /*String*/ (null,__ref._fpage /*int*/ ,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_awidth*__ref._funitfactor /*double*/ ,(int) (1),(int) (3),(int) (3),__c.False)))+" w"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); +RDebugUtils.currentLine=85524483; + //BA.debugLineNum = 85524483;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=85524484; + //BA.debugLineNum = 85524484;BA.debugLine="End Sub"; +return null; +} +public gunav2.keymon.com.mx.cpdf _sfillcolor(gunav2.keymon.com.mx.cpdf __ref,double[] _argb) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "sfillcolor", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "sfillcolor", new Object[] {_argb}));} +RDebugUtils.currentLine=85590016; + //BA.debugLineNum = 85590016;BA.debugLine="public Sub sFillColor(argb() As Double) As cPDF"; +RDebugUtils.currentLine=85590017; + //BA.debugLineNum = 85590017;BA.debugLine="fContext.fFillColor=argb"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fFillColor /*double[]*/ = _argb; +RDebugUtils.currentLine=85590018; + //BA.debugLineNum = 85590018;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=85590019; + //BA.debugLineNum = 85590019;BA.debugLine="End Sub"; +return null; +} +public byte[] _pageswrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "pageswrite", false)) + {return ((byte[]) Debug.delegate(ba, "pageswrite", null));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; int _r = 0; int _i = 0; - //BA.debugLineNum = 229;BA.debugLine="private Sub pagesWrite As Byte()"; - //BA.debugLineNum = 230;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83427328; + //BA.debugLineNum = 83427328;BA.debugLine="private Sub pagesWrite As Byte()"; +RDebugUtils.currentLine=83427329; + //BA.debugLineNum = 83427329;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 231;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 232;BA.debugLine="Dim r As Int=fObjs.Size+1+fPages.Size*2"; -_r = (int) (_fobjs.getSize()+1+_fpages.getSize()*2); - //BA.debugLineNum = 233;BA.debugLine="For i=0 To fPages.Size-1"; +RDebugUtils.currentLine=83427330; + //BA.debugLineNum = 83427330;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83427331; + //BA.debugLineNum = 83427331;BA.debugLine="Dim r As Int=fObjs.Size+1+fPages.Size*2"; +_r = (int) (__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1+__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()*2); +RDebugUtils.currentLine=83427332; + //BA.debugLineNum = 83427332;BA.debugLine="For i=0 To fPages.Size-1"; { final int step4 = 1; -final int limit4 = (int) (_fpages.getSize()-1); +final int limit4 = (int) (__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 234;BA.debugLine="bb.append(pageWrite(i,r))"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_pagewrite(_i,_r)); +RDebugUtils.currentLine=83427333; + //BA.debugLineNum = 83427333;BA.debugLine="bb.append(pageWrite(i,r))"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,__ref._pagewrite /*byte[]*/ (null,_i,_r)); } }; - //BA.debugLineNum = 236;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 237;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83427335; + //BA.debugLineNum = 83427335;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83427336; + //BA.debugLineNum = 83427336;BA.debugLine="End Sub"; return null; } -public byte[] _pagewrite(int _apage,int _aresource) throws Exception{ +public byte[] _pagewrite(gunav2.keymon.com.mx.cpdf __ref,int _apage,int _aresource) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "pagewrite", false)) + {return ((byte[]) Debug.delegate(ba, "pagewrite", new Object[] {_apage,_aresource}));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; gunav2.keymon.com.mx.cpdf._tpdfpage _p = null; - //BA.debugLineNum = 239;BA.debugLine="private Sub pageWrite(apage As Int,aresource As In"; - //BA.debugLineNum = 240;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83492864; + //BA.debugLineNum = 83492864;BA.debugLine="private Sub pageWrite(apage As Int,aresource As In"; +RDebugUtils.currentLine=83492865; + //BA.debugLineNum = 83492865;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 241;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 242;BA.debugLine="Dim p As TPDFPage=fPages.Get(apage)"; -_p = (gunav2.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get(_apage)); - //BA.debugLineNum = 243;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 244;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 245;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 246;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83492866; + //BA.debugLineNum = 83492866;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83492867; + //BA.debugLineNum = 83492867;BA.debugLine="Dim p As TPDFPage=fPages.Get(apage)"; +_p = (gunav2.keymon.com.mx.cpdf._tpdfpage)(__ref._fpages /*anywheresoftware.b4a.objects.collections.List*/ .Get(_apage)); +RDebugUtils.currentLine=83492868; + //BA.debugLineNum = 83492868;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83492869; + //BA.debugLineNum = 83492869;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=83492870; + //BA.debugLineNum = 83492870;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83492871; + //BA.debugLineNum = 83492871;BA.debugLine="End Sub"; return null; } -public byte[] _palettewrite(byte[] _apalette) throws Exception{ -gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; - //BA.debugLineNum = 354;BA.debugLine="private Sub paletteWrite(apalette() As Byte) As By"; - //BA.debugLineNum = 355;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 356;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 357;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj${Chr(10)}<>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 358;BA.debugLine="bb.Append(apalette)"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_apalette); - //BA.debugLineNum = 359;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 360;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 361;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 362;BA.debugLine="End Sub"; -return null; -} -public byte[] _propertieswrite() throws Exception{ +public byte[] _propertieswrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "propertieswrite", false)) + {return ((byte[]) Debug.delegate(ba, "propertieswrite", null));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; String _k = ""; - //BA.debugLineNum = 364;BA.debugLine="private Sub propertiesWrite As Byte()"; - //BA.debugLineNum = 365;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=84082688; + //BA.debugLineNum = 84082688;BA.debugLine="private Sub propertiesWrite As Byte()"; +RDebugUtils.currentLine=84082689; + //BA.debugLineNum = 84082689;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 366;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 367;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <<${Chr(10)}\"$."; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+" 0 obj <<"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 368;BA.debugLine="For Each k As String In fProperties.keys"; +RDebugUtils.currentLine=84082690; + //BA.debugLineNum = 84082690;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=84082691; + //BA.debugLineNum = 84082691;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <<${Chr(10)}\"$."; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1))+" 0 obj <<"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84082692; + //BA.debugLineNum = 84082692;BA.debugLine="For Each k As String In fProperties.keys"; { -final anywheresoftware.b4a.BA.IterableList group4 = _fproperties.Keys(); +final anywheresoftware.b4a.BA.IterableList group4 = __ref._fproperties /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen4 = group4.getSize() ;int index4 = 0; ; for (; index4 < groupLen4;index4++){ _k = BA.ObjectToString(group4.Get(index4)); - //BA.debugLineNum = 369;BA.debugLine="bb.Append($\"/${k}(${escapeText(fProperties.Get(k"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/"+__c.SmartStringFormatter("",(Object)(_k))+"("+__c.SmartStringFormatter("",(Object)(_escapetext(BA.ObjectToString(_fproperties.Get((Object)(_k))))))+")"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); +RDebugUtils.currentLine=84082693; + //BA.debugLineNum = 84082693;BA.debugLine="bb.Append($\"/${k}(${escapeText(fProperties.Get(k"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/"+__c.SmartStringFormatter("",(Object)(_k))+"("+__c.SmartStringFormatter("",(Object)(__ref._escapetext /*String*/ (null,BA.ObjectToString(__ref._fproperties /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))))+")"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); } }; - //BA.debugLineNum = 371;BA.debugLine="bb.Append($\" >> endobj${Chr(10)}\"$.getBytes(fText"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((" >> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 372;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 373;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 374;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84082695; + //BA.debugLineNum = 84082695;BA.debugLine="bb.Append($\" >> endobj${Chr(10)}\"$.getBytes(fText"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(" >> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84082696; + //BA.debugLineNum = 84082696;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=84082697; + //BA.debugLineNum = 84082697;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=84082698; + //BA.debugLineNum = 84082698;BA.debugLine="End Sub"; return null; } -public String _rafreadstring(anywheresoftware.b4a.randomaccessfile.RandomAccessFile _araf,long _astart,long _acount) throws Exception{ -String _s = ""; -int _i = 0; - //BA.debugLineNum = 464;BA.debugLine="private Sub rafReadString(araf As RandomAccessFile"; - //BA.debugLineNum = 465;BA.debugLine="Dim s As String"; -_s = ""; - //BA.debugLineNum = 466;BA.debugLine="For i=0 To acount-1"; -{ -final int step2 = 1; -final int limit2 = (int) (_acount-1); -_i = (int) (0) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 467;BA.debugLine="s=s & Chr(araf.ReadUnsignedByte(astart+i))"; -_s = _s+BA.ObjectToString(__c.Chr(_araf.ReadUnsignedByte((long) (_astart+_i)))); - } -}; - //BA.debugLineNum = 469;BA.debugLine="Return s"; -if (true) return _s; - //BA.debugLineNum = 470;BA.debugLine="End Sub"; -return ""; -} -public byte[] _refwrite(long _astart,int _ageneration,String _astatus) throws Exception{ +public byte[] _refwrite(gunav2.keymon.com.mx.cpdf __ref,long _astart,int _ageneration,String _astatus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "refwrite", false)) + {return ((byte[]) Debug.delegate(ba, "refwrite", new Object[] {_astart,_ageneration,_astatus}));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; - //BA.debugLineNum = 376;BA.debugLine="private Sub refWrite(astart As Long,ageneration As"; - //BA.debugLineNum = 377;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=84148224; + //BA.debugLineNum = 84148224;BA.debugLine="private Sub refWrite(astart As Long,ageneration As"; +RDebugUtils.currentLine=84148225; + //BA.debugLineNum = 84148225;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 378;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 379;BA.debugLine="bb.Append($\"${NumberFormat2(astart,10,0,0,False)}"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_astart,(int) (10),(int) (0),(int) (0),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ageneration,(int) (5),(int) (0),(int) (0),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(_astatus))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 380;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 381;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84148226; + //BA.debugLineNum = 84148226;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=84148227; + //BA.debugLineNum = 84148227;BA.debugLine="bb.Append($\"${NumberFormat2(astart,10,0,0,False)}"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_astart,(int) (10),(int) (0),(int) (0),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ageneration,(int) (5),(int) (0),(int) (0),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(_astatus))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84148228; + //BA.debugLineNum = 84148228;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=84148229; + //BA.debugLineNum = 84148229;BA.debugLine="End Sub"; return null; } -public byte[] _resourceswrite() throws Exception{ +public byte[] _resourceswrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "resourceswrite", false)) + {return ((byte[]) Debug.delegate(ba, "resourceswrite", null));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; int _i = 0; - //BA.debugLineNum = 281;BA.debugLine="private Sub resourcesWrite As Byte()"; - //BA.debugLineNum = 282;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=83689472; + //BA.debugLineNum = 83689472;BA.debugLine="private Sub resourcesWrite As Byte()"; +RDebugUtils.currentLine=83689473; + //BA.debugLineNum = 83689473;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 283;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 284;BA.debugLine="bb.Append($\"${fObjs.size+1} 0 obj << \"$.getBytes"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+" 0 obj << ").getBytes(_ftextencoding)); - //BA.debugLineNum = 286;BA.debugLine="bb.Append($\"/ProcSet [/PDF /Text /ImageB /ImageC"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI] "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 288;BA.debugLine="bb.append($\"/Font << ${Chr(10)}\"$.getBytes(fTextE"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/Font << "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 289;BA.debugLine="For i=0 To fUsedFonts.Size-1"; +RDebugUtils.currentLine=83689474; + //BA.debugLineNum = 83689474;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=83689475; + //BA.debugLineNum = 83689475;BA.debugLine="bb.Append($\"${fObjs.size+1} 0 obj << \"$.getBytes"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1))+" 0 obj << ").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83689477; + //BA.debugLineNum = 83689477;BA.debugLine="bb.Append($\"/ProcSet [/PDF /Text /ImageB /ImageC"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI] "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83689479; + //BA.debugLineNum = 83689479;BA.debugLine="bb.append($\"/Font << ${Chr(10)}\"$.getBytes(fTextE"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/Font << "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83689480; + //BA.debugLineNum = 83689480;BA.debugLine="For i=0 To fUsedFonts.Size-1"; { final int step6 = 1; -final int limit6 = (int) (_fusedfonts.getSize()-1); +final int limit6 = (int) (__ref._fusedfonts /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 290;BA.debugLine="bb.Append($\"/F${i} ${fObjs.Size+1+i+1} 0 R \"$.ge"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/F"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1+_i+1))+" 0 R ").getBytes(_ftextencoding)); +RDebugUtils.currentLine=83689481; + //BA.debugLineNum = 83689481;BA.debugLine="bb.Append($\"/F${i} ${fObjs.Size+1+i+1} 0 R \"$.ge"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/F"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1+_i+1))+" 0 R ").getBytes(__ref._ftextencoding /*String*/ )); } }; - //BA.debugLineNum = 292;BA.debugLine="bb.append($\" >> ${Chr(10)}\"$.getBytes(fTextEncodi"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((" >> "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 294;BA.debugLine="bb.append($\"/XObject << ${Chr(10)}\"$.getBytes(fTe"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/XObject << "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 295;BA.debugLine="For i=0 To fUsedImages.Size-1"; +RDebugUtils.currentLine=83689483; + //BA.debugLineNum = 83689483;BA.debugLine="bb.append($\" >> ${Chr(10)}\"$.getBytes(fTextEncodi"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(" >> "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83689485; + //BA.debugLineNum = 83689485;BA.debugLine="bb.append($\"/XObject << ${Chr(10)}\"$.getBytes(fTe"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/XObject << "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83689486; + //BA.debugLineNum = 83689486;BA.debugLine="For i=0 To fUsedImages.Size-1"; { final int step11 = 1; -final int limit11 = (int) (_fusedimages.getSize()-1); +final int limit11 = (int) (__ref._fusedimages /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit11 ;_i = _i + step11 ) { - //BA.debugLineNum = 296;BA.debugLine="bb.Append($\"/I${i} ${fObjs.Size+1+i+1+fUsedFonts"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/I"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1+_i+1+_fusedfonts.getSize()))+" 0 R ").getBytes(_ftextencoding)); +RDebugUtils.currentLine=83689487; + //BA.debugLineNum = 83689487;BA.debugLine="bb.Append($\"/I${i} ${fObjs.Size+1+i+1+fUsedFonts"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/I"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1+_i+1+__ref._fusedfonts /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+" 0 R ").getBytes(__ref._ftextencoding /*String*/ )); } }; - //BA.debugLineNum = 298;BA.debugLine="bb.append($\" >> ${Chr(10)}\"$.getBytes(fTextEncodi"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((" >> "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 300;BA.debugLine="bb.Append($\" >> endobj${Chr(10)}\"$.getBytes(fText"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((" >> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 301;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 302;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 303;BA.debugLine="End Sub"; +RDebugUtils.currentLine=83689489; + //BA.debugLineNum = 83689489;BA.debugLine="bb.append($\" >> ${Chr(10)}\"$.getBytes(fTextEncodi"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(" >> "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83689491; + //BA.debugLineNum = 83689491;BA.debugLine="bb.Append($\" >> endobj${Chr(10)}\"$.getBytes(fText"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(" >> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=83689492; + //BA.debugLineNum = 83689492;BA.debugLine="fObjs.Add(bb.Length)"; +__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_bb._getlength /*int*/ (null))); +RDebugUtils.currentLine=83689493; + //BA.debugLineNum = 83689493;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=83689494; + //BA.debugLineNum = 83689494;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cpdf _savetofile(String _adir,String _afile,int _acompress) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outputstream = null; - //BA.debugLineNum = 605;BA.debugLine="public Sub saveToFile(adir As String, afile As Str"; - //BA.debugLineNum = 606;BA.debugLine="Log(afile)"; -__c.LogImpl("482968577",_afile,0); - //BA.debugLineNum = 607;BA.debugLine="File.Delete(adir,afile)"; -__c.File.Delete(_adir,_afile); - //BA.debugLineNum = 608;BA.debugLine="Dim outputstream As OutputStream=File.OpenOutput("; -_outputstream = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_outputstream = __c.File.OpenOutput(_adir,_afile,__c.False); - //BA.debugLineNum = 609;BA.debugLine="saveToStream(outputstream,acompress)"; -_savetostream(_outputstream,_acompress); - //BA.debugLineNum = 610;BA.debugLine="outputstream.Close"; -_outputstream.Close(); - //BA.debugLineNum = 611;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 612;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _savetostream(anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _aoutputstream,int _acompress) throws Exception{ +public gunav2.keymon.com.mx.cpdf _savetostream(gunav2.keymon.com.mx.cpdf __ref,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _aoutputstream,int _acompress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "savetostream", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "savetostream", new Object[] {_aoutputstream,_acompress}));} byte[] _b = null; - //BA.debugLineNum = 576;BA.debugLine="public Sub saveToStream(aoutputstream As OutputStr"; - //BA.debugLineNum = 577;BA.debugLine="Dim b() As Byte=headerWrite"; -_b = _headerwrite(); - //BA.debugLineNum = 578;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869120; + //BA.debugLineNum = 84869120;BA.debugLine="public Sub saveToStream(aoutputstream As OutputStr"; +RDebugUtils.currentLine=84869121; + //BA.debugLineNum = 84869121;BA.debugLine="Dim b() As Byte=headerWrite"; +_b = __ref._headerwrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869122; + //BA.debugLineNum = 84869122;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 579;BA.debugLine="Dim b() As Byte=catalogWrite"; -_b = _catalogwrite(); - //BA.debugLineNum = 580;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869123; + //BA.debugLineNum = 84869123;BA.debugLine="Dim b() As Byte=catalogWrite"; +_b = __ref._catalogwrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869124; + //BA.debugLineNum = 84869124;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 581;BA.debugLine="Dim b() As Byte=kidsWrite"; -_b = _kidswrite(); - //BA.debugLineNum = 582;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869125; + //BA.debugLineNum = 84869125;BA.debugLine="Dim b() As Byte=kidsWrite"; +_b = __ref._kidswrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869126; + //BA.debugLineNum = 84869126;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 583;BA.debugLine="Dim b() As Byte=pagesWrite"; -_b = _pageswrite(); - //BA.debugLineNum = 584;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869127; + //BA.debugLineNum = 84869127;BA.debugLine="Dim b() As Byte=pagesWrite"; +_b = __ref._pageswrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869128; + //BA.debugLineNum = 84869128;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 585;BA.debugLine="Dim b() As Byte=contentsWrite(acompress)"; -_b = _contentswrite(_acompress); - //BA.debugLineNum = 586;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869129; + //BA.debugLineNum = 84869129;BA.debugLine="Dim b() As Byte=contentsWrite(acompress)"; +_b = __ref._contentswrite /*byte[]*/ (null,_acompress); +RDebugUtils.currentLine=84869130; + //BA.debugLineNum = 84869130;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 587;BA.debugLine="Dim b() As Byte=resourcesWrite"; -_b = _resourceswrite(); - //BA.debugLineNum = 588;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869131; + //BA.debugLineNum = 84869131;BA.debugLine="Dim b() As Byte=resourcesWrite"; +_b = __ref._resourceswrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869132; + //BA.debugLineNum = 84869132;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 589;BA.debugLine="Dim b() As Byte=fontsWrite"; -_b = _fontswrite(); - //BA.debugLineNum = 590;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869133; + //BA.debugLineNum = 84869133;BA.debugLine="Dim b() As Byte=fontsWrite"; +_b = __ref._fontswrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869134; + //BA.debugLineNum = 84869134;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 591;BA.debugLine="Dim b() As Byte=imagesWrite"; -_b = _imageswrite(); - //BA.debugLineNum = 592;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869135; + //BA.debugLineNum = 84869135;BA.debugLine="Dim b() As Byte=imagesWrite"; +_b = __ref._imageswrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869136; + //BA.debugLineNum = 84869136;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 593;BA.debugLine="Dim b() As Byte=propertiesWrite"; -_b = _propertieswrite(); - //BA.debugLineNum = 594;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869137; + //BA.debugLineNum = 84869137;BA.debugLine="Dim b() As Byte=propertiesWrite"; +_b = __ref._propertieswrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869138; + //BA.debugLineNum = 84869138;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 595;BA.debugLine="Dim b() As Byte=xrefWrite"; -_b = _xrefwrite(); - //BA.debugLineNum = 596;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869139; + //BA.debugLineNum = 84869139;BA.debugLine="Dim b() As Byte=xrefWrite"; +_b = __ref._xrefwrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869140; + //BA.debugLineNum = 84869140;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 597;BA.debugLine="Dim b() As Byte=trailerWrite"; -_b = _trailerwrite(); - //BA.debugLineNum = 598;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869141; + //BA.debugLineNum = 84869141;BA.debugLine="Dim b() As Byte=trailerWrite"; +_b = __ref._trailerwrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869142; + //BA.debugLineNum = 84869142;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 599;BA.debugLine="Dim b() As Byte=footerWrite"; -_b = _footerwrite(); - //BA.debugLineNum = 600;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; +RDebugUtils.currentLine=84869143; + //BA.debugLineNum = 84869143;BA.debugLine="Dim b() As Byte=footerWrite"; +_b = __ref._footerwrite /*byte[]*/ (null); +RDebugUtils.currentLine=84869144; + //BA.debugLineNum = 84869144;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; _aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 601;BA.debugLine="Return Me"; +RDebugUtils.currentLine=84869145; + //BA.debugLineNum = 84869145;BA.debugLine="Return Me"; if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 602;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84869146; + //BA.debugLineNum = 84869146;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.cpdf _sdrawcolor(double[] _argb) throws Exception{ - //BA.debugLineNum = 673;BA.debugLine="public Sub sDrawColor(argb() As Double) As cPDF"; - //BA.debugLineNum = 674;BA.debugLine="fContext.fDrawColor=argb"; -_fcontext.fDrawColor /*double[]*/ = _argb; - //BA.debugLineNum = 675;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(argb(0),1,3,3,"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" RG"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 676;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 677;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _sdrawwidth(double _awidth) throws Exception{ - //BA.debugLineNum = 680;BA.debugLine="public Sub sDrawWidth(awidth As Double) As cPDF"; - //BA.debugLineNum = 681;BA.debugLine="fContext.fDrawWidth=awidth"; -_fcontext.fDrawWidth /*double*/ = _awidth; - //BA.debugLineNum = 682;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(awidth*fUnitFa"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_awidth*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" w"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 683;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 684;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _sfillcolor(double[] _argb) throws Exception{ - //BA.debugLineNum = 689;BA.debugLine="public Sub sFillColor(argb() As Double) As cPDF"; - //BA.debugLineNum = 690;BA.debugLine="fContext.fFillColor=argb"; -_fcontext.fFillColor /*double[]*/ = _argb; - //BA.debugLineNum = 691;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 692;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _sfont(String _afamily,int _astyle,double _asize,double[] _acolor) throws Exception{ -String _k = ""; -int _i = 0; - //BA.debugLineNum = 698;BA.debugLine="public Sub sFont(afamily As String,astyle As Int,a"; - //BA.debugLineNum = 699;BA.debugLine="Dim k As String=calcFontKey(afamily,astyle)"; -_k = _calcfontkey(_afamily,_astyle); - //BA.debugLineNum = 700;BA.debugLine="Dim i As Int=fUsedFonts.IndexOf(k)"; -_i = _fusedfonts.IndexOf((Object)(_k)); - //BA.debugLineNum = 701;BA.debugLine="If i=-1 Then"; -if (_i==-1) { - //BA.debugLineNum = 702;BA.debugLine="fUsedFonts.Add(k)"; -_fusedfonts.Add((Object)(_k)); - //BA.debugLineNum = 703;BA.debugLine="i=fUsedFonts.Size-1"; -_i = (int) (_fusedfonts.getSize()-1); - }; - //BA.debugLineNum = 705;BA.debugLine="contentAdd(fPage,$\"BT /F${i} ${NumberFormat2(asiz"; -_contentadd(_fpage,("BT /F"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_asize,(int) (1),(int) (3),(int) (3),__c.False)))+" Tf ET"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 706;BA.debugLine="fContext.fFontFamily=afamily"; -_fcontext.fFontFamily /*String*/ = _afamily; - //BA.debugLineNum = 707;BA.debugLine="fContext.fFontStyle=astyle"; -_fcontext.fFontStyle /*int*/ = _astyle; - //BA.debugLineNum = 708;BA.debugLine="fContext.fFontSize=asize"; -_fcontext.fFontSize /*double*/ = _asize; - //BA.debugLineNum = 709;BA.debugLine="fContext.fFontColor=acolor"; -_fcontext.fFontColor /*double[]*/ = _acolor; - //BA.debugLineNum = 710;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 711;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _spage(int _apage) throws Exception{ - //BA.debugLineNum = 665;BA.debugLine="public Sub sPage(apage As Int) As cPDF"; - //BA.debugLineNum = 666;BA.debugLine="fPage=apage-1"; -_fpage = (int) (_apage-1); - //BA.debugLineNum = 667;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 668;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _sproperty(String _aproperty,String _avalue) throws Exception{ - //BA.debugLineNum = 889;BA.debugLine="public Sub sProperty(aproperty As String,avalue As"; - //BA.debugLineNum = 890;BA.debugLine="fProperties.Put(aproperty,avalue)"; -_fproperties.Put((Object)(_aproperty),(Object)(_avalue)); - //BA.debugLineNum = 891;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 892;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _sunit(String _aunit) throws Exception{ - //BA.debugLineNum = 175;BA.debugLine="private Sub sUnit(aunit As String) As cPDF"; - //BA.debugLineNum = 176;BA.debugLine="Select aunit.ToLowerCase"; -switch (BA.switchObjectToInt(_aunit.toLowerCase(),"pt","mm","cm","in")) { -case 0: { - //BA.debugLineNum = 178;BA.debugLine="fUnitFactor=1.0"; -_funitfactor = 1.0; - break; } -case 1: { - //BA.debugLineNum = 180;BA.debugLine="fUnitFactor=72.0/25.4"; -_funitfactor = 72.0/(double)25.4; - break; } -case 2: { - //BA.debugLineNum = 182;BA.debugLine="fUnitFactor=72.0/2.54"; -_funitfactor = 72.0/(double)2.54; - break; } -case 3: { - //BA.debugLineNum = 184;BA.debugLine="fUnitFactor=72.0"; -_funitfactor = 72.0; - break; } -default: { - //BA.debugLineNum = 186;BA.debugLine="fUnitFactor=1.0"; -_funitfactor = 1.0; - break; } -} -; - //BA.debugLineNum = 188;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 189;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _sx(double _avalue) throws Exception{ - //BA.debugLineNum = 977;BA.debugLine="public Sub sX(avalue As Double) As cPDF"; - //BA.debugLineNum = 978;BA.debugLine="fContext.fX=avalue"; -_fcontext.fX /*double*/ = _avalue; - //BA.debugLineNum = 979;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 980;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.cpdf _sy(double _avalue) throws Exception{ - //BA.debugLineNum = 982;BA.debugLine="public Sub sY(avalue As Double) As cPDF"; - //BA.debugLineNum = 983;BA.debugLine="fContext.fy=avalue"; -_fcontext.fY /*double*/ = _avalue; - //BA.debugLineNum = 984;BA.debugLine="Return Me"; -if (true) return (gunav2.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 985;BA.debugLine="End Sub"; -return null; -} -public int _tounsigned(byte _b) throws Exception{ - //BA.debugLineNum = 895;BA.debugLine="private Sub ToUnsigned(b As Byte) As Int"; - //BA.debugLineNum = 896;BA.debugLine="Return Bit.And(0xFF, b)"; -if (true) return __c.Bit.And(((int)0xff),(int) (_b)); - //BA.debugLineNum = 897;BA.debugLine="End Sub"; -return 0; -} -public byte[] _trailerwrite() throws Exception{ +public byte[] _xrefwrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "xrefwrite", false)) + {return ((byte[]) Debug.delegate(ba, "xrefwrite", null));} gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; long _s = 0L; int _i = 0; int _l = 0; - //BA.debugLineNum = 398;BA.debugLine="private Sub trailerWrite As Byte()"; - //BA.debugLineNum = 399;BA.debugLine="Dim bb As B4XBytesBuilder"; +RDebugUtils.currentLine=84213760; + //BA.debugLineNum = 84213760;BA.debugLine="private Sub xrefWrite As Byte()"; +RDebugUtils.currentLine=84213761; + //BA.debugLineNum = 84213761;BA.debugLine="Dim bb As B4XBytesBuilder"; _bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 400;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 401;BA.debugLine="Dim s As Long=headerWrite.length"; -_s = (long) (_headerwrite().length); - //BA.debugLineNum = 402;BA.debugLine="For i=0 To fObjs.Size-1"; -{ -final int step4 = 1; -final int limit4 = (int) (_fobjs.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 403;BA.debugLine="Dim l As Int=fObjs.Get(i)"; -_l = (int)(BA.ObjectToNumber(_fobjs.Get(_i))); - //BA.debugLineNum = 404;BA.debugLine="s=s+l"; -_s = (long) (_s+_l); - } -}; - //BA.debugLineNum = 406;BA.debugLine="bb.Append($\"trailer <<${Chr(10)}\"$.getBytes(fText"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("trailer <<"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 407;BA.debugLine="bb.Append($\"/Size ${fObjs.Size+1}${Chr(10)}\"$.get"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/Size "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 408;BA.debugLine="bb.Append($\"/Info ${fObjs.Size} 0 R${Chr(10)}\"$.g"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/Info "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()))+" 0 R"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 409;BA.debugLine="bb.Append($\"/Root 1 0 R${Chr(10)}\"$.getBytes(fTex"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("/Root 1 0 R"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 410;BA.debugLine="bb.Append($\">>${Chr(10)}\"$.getBytes(fTextEncoding"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 411;BA.debugLine="bb.Append($\"startxref${Chr(10)}\"$.getBytes(fTextE"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("startxref"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 412;BA.debugLine="bb.Append($\"${s}${Chr(10)}\"$.getBytes(fTextEncodi"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_s))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 413;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 414;BA.debugLine="End Sub"; -return null; -} -public byte[] _xrefwrite() throws Exception{ -gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; -long _s = 0L; -int _i = 0; -int _l = 0; - //BA.debugLineNum = 383;BA.debugLine="private Sub xrefWrite As Byte()"; - //BA.debugLineNum = 384;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 385;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 386;BA.debugLine="Dim s As Long=headerWrite.length"; -_s = (long) (_headerwrite().length); - //BA.debugLineNum = 387;BA.debugLine="bb.Append($\"xref${Chr(10)}\"$.getBytes(fTextEncodi"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("xref"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 388;BA.debugLine="bb.Append($\"0 ${fObjs.Size+1}${Chr(10)}\"$.getByte"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (("0 "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 389;BA.debugLine="bb.Append(refWrite(0,65535,\"f\"))"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_refwrite((long) (0),(int) (65535),"f")); - //BA.debugLineNum = 390;BA.debugLine="For i=0 To fObjs.Size-1"; +RDebugUtils.currentLine=84213762; + //BA.debugLineNum = 84213762;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=84213763; + //BA.debugLineNum = 84213763;BA.debugLine="Dim s As Long=headerWrite.length"; +_s = (long) (__ref._headerwrite /*byte[]*/ (null).length); +RDebugUtils.currentLine=84213764; + //BA.debugLineNum = 84213764;BA.debugLine="bb.Append($\"xref${Chr(10)}\"$.getBytes(fTextEncodi"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("xref"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84213765; + //BA.debugLineNum = 84213765;BA.debugLine="bb.Append($\"0 ${fObjs.Size+1}${Chr(10)}\"$.getByte"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("0 "+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84213766; + //BA.debugLineNum = 84213766;BA.debugLine="bb.Append(refWrite(0,65535,\"f\"))"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,__ref._refwrite /*byte[]*/ (null,(long) (0),(int) (65535),"f")); +RDebugUtils.currentLine=84213767; + //BA.debugLineNum = 84213767;BA.debugLine="For i=0 To fObjs.Size-1"; { final int step7 = 1; -final int limit7 = (int) (_fobjs.getSize()-1); +final int limit7 = (int) (__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 391;BA.debugLine="Dim l As Int=fObjs.Get(i)"; -_l = (int)(BA.ObjectToNumber(_fobjs.Get(_i))); - //BA.debugLineNum = 392;BA.debugLine="bb.Append(refWrite(s,0,\"n\"))"; -_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (_refwrite(_s,(int) (0),"n")); - //BA.debugLineNum = 393;BA.debugLine="s=s+l"; +RDebugUtils.currentLine=84213768; + //BA.debugLineNum = 84213768;BA.debugLine="Dim l As Int=fObjs.Get(i)"; +_l = (int)(BA.ObjectToNumber(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=84213769; + //BA.debugLineNum = 84213769;BA.debugLine="bb.Append(refWrite(s,0,\"n\"))"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,__ref._refwrite /*byte[]*/ (null,_s,(int) (0),"n")); +RDebugUtils.currentLine=84213770; + //BA.debugLineNum = 84213770;BA.debugLine="s=s+l"; _s = (long) (_s+_l); } }; - //BA.debugLineNum = 395;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 396;BA.debugLine="End Sub"; +RDebugUtils.currentLine=84213772; + //BA.debugLineNum = 84213772;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=84213773; + //BA.debugLineNum = 84213773;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public byte[] _trailerwrite(gunav2.keymon.com.mx.cpdf __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "trailerwrite", false)) + {return ((byte[]) Debug.delegate(ba, "trailerwrite", null));} +gunav2.keymon.com.mx.b4xbytesbuilder _bb = null; +long _s = 0L; +int _i = 0; +int _l = 0; +RDebugUtils.currentLine=84279296; + //BA.debugLineNum = 84279296;BA.debugLine="private Sub trailerWrite As Byte()"; +RDebugUtils.currentLine=84279297; + //BA.debugLineNum = 84279297;BA.debugLine="Dim bb As B4XBytesBuilder"; +_bb = new gunav2.keymon.com.mx.b4xbytesbuilder(); +RDebugUtils.currentLine=84279298; + //BA.debugLineNum = 84279298;BA.debugLine="bb.Initialize"; +_bb._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=84279299; + //BA.debugLineNum = 84279299;BA.debugLine="Dim s As Long=headerWrite.length"; +_s = (long) (__ref._headerwrite /*byte[]*/ (null).length); +RDebugUtils.currentLine=84279300; + //BA.debugLineNum = 84279300;BA.debugLine="For i=0 To fObjs.Size-1"; +{ +final int step4 = 1; +final int limit4 = (int) (__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=84279301; + //BA.debugLineNum = 84279301;BA.debugLine="Dim l As Int=fObjs.Get(i)"; +_l = (int)(BA.ObjectToNumber(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=84279302; + //BA.debugLineNum = 84279302;BA.debugLine="s=s+l"; +_s = (long) (_s+_l); + } +}; +RDebugUtils.currentLine=84279304; + //BA.debugLineNum = 84279304;BA.debugLine="bb.Append($\"trailer <<${Chr(10)}\"$.getBytes(fText"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("trailer <<"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84279305; + //BA.debugLineNum = 84279305;BA.debugLine="bb.Append($\"/Size ${fObjs.Size+1}${Chr(10)}\"$.get"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/Size "+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()+1))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84279306; + //BA.debugLineNum = 84279306;BA.debugLine="bb.Append($\"/Info ${fObjs.Size} 0 R${Chr(10)}\"$.g"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/Info "+__c.SmartStringFormatter("",(Object)(__ref._fobjs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+" 0 R"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84279307; + //BA.debugLineNum = 84279307;BA.debugLine="bb.Append($\"/Root 1 0 R${Chr(10)}\"$.getBytes(fTex"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("/Root 1 0 R"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84279308; + //BA.debugLineNum = 84279308;BA.debugLine="bb.Append($\">>${Chr(10)}\"$.getBytes(fTextEncoding"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84279309; + //BA.debugLineNum = 84279309;BA.debugLine="bb.Append($\"startxref${Chr(10)}\"$.getBytes(fTextE"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,("startxref"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84279310; + //BA.debugLineNum = 84279310;BA.debugLine="bb.Append($\"${s}${Chr(10)}\"$.getBytes(fTextEncodi"; +_bb._append /*gunav2.keymon.com.mx.b4xbytesbuilder*/ (null,(""+__c.SmartStringFormatter("",(Object)(_s))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(__ref._ftextencoding /*String*/ )); +RDebugUtils.currentLine=84279311; + //BA.debugLineNum = 84279311;BA.debugLine="Return bb.ToArray"; +if (true) return _bb._toarray /*byte[]*/ (null); +RDebugUtils.currentLine=84279312; + //BA.debugLineNum = 84279312;BA.debugLine="End Sub"; +return null; } +public gunav2.keymon.com.mx.cpdf _spage(gunav2.keymon.com.mx.cpdf __ref,int _apage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "spage", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "spage", new Object[] {_apage}));} +RDebugUtils.currentLine=85393408; + //BA.debugLineNum = 85393408;BA.debugLine="public Sub sPage(apage As Int) As cPDF"; +RDebugUtils.currentLine=85393409; + //BA.debugLineNum = 85393409;BA.debugLine="fPage=apage-1"; +__ref._fpage /*int*/ = (int) (_apage-1); +RDebugUtils.currentLine=85393410; + //BA.debugLineNum = 85393410;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=85393411; + //BA.debugLineNum = 85393411;BA.debugLine="End Sub"; +return null; } +public gunav2.keymon.com.mx.cpdf _sx(gunav2.keymon.com.mx.cpdf __ref,double _avalue) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "sx", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "sx", new Object[] {_avalue}));} +RDebugUtils.currentLine=86507520; + //BA.debugLineNum = 86507520;BA.debugLine="public Sub sX(avalue As Double) As cPDF"; +RDebugUtils.currentLine=86507521; + //BA.debugLineNum = 86507521;BA.debugLine="fContext.fX=avalue"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fX /*double*/ = _avalue; +RDebugUtils.currentLine=86507522; + //BA.debugLineNum = 86507522;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=86507523; + //BA.debugLineNum = 86507523;BA.debugLine="End Sub"; +return null; +} +public gunav2.keymon.com.mx.cpdf _sy(gunav2.keymon.com.mx.cpdf __ref,double _avalue) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cpdf"; +if (Debug.shouldDelegate(ba, "sy", false)) + {return ((gunav2.keymon.com.mx.cpdf) Debug.delegate(ba, "sy", new Object[] {_avalue}));} +RDebugUtils.currentLine=86573056; + //BA.debugLineNum = 86573056;BA.debugLine="public Sub sY(avalue As Double) As cPDF"; +RDebugUtils.currentLine=86573057; + //BA.debugLineNum = 86573057;BA.debugLine="fContext.fy=avalue"; +__ref._fcontext /*gunav2.keymon.com.mx.cpdf._tpdfcontext*/ .fY /*double*/ = _avalue; +RDebugUtils.currentLine=86573058; + //BA.debugLineNum = 86573058;BA.debugLine="Return Me"; +if (true) return (gunav2.keymon.com.mx.cpdf)(this); +RDebugUtils.currentLine=86573059; + //BA.debugLineNum = 86573059;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/dbrequestmanager.java b/B4A/Objects/src/gunav2/keymon/com/mx/dbrequestmanager.java index 615634d..4dfd815 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/dbrequestmanager.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/dbrequestmanager.java @@ -10,7 +10,7 @@ public class dbrequestmanager extends B4AClass.ImplB4AClass implements BA.SubDel private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.dbrequestmanager"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.dbrequestmanager"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,41 +23,13 @@ public class dbrequestmanager extends B4AClass.ImplB4AClass implements BA.SubDel ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public Object _mtarget = null; -public String _link = ""; -public anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; -public byte _t_null = (byte)0; -public byte _t_string = (byte)0; -public byte _t_short = (byte)0; -public byte _t_int = (byte)0; -public byte _t_long = (byte)0; -public byte _t_float = (byte)0; -public byte _t_double = (byte)0; -public byte _t_boolean = (byte)0; -public byte _t_blob = (byte)0; -public float _version = 0f; -public Object[] _temparray = null; -public String _jobtaganterior = ""; -public anywheresoftware.b4a.objects.collections.List _reqslist = null; -public anywheresoftware.b4a.objects.collections.List _timeslist = null; -public long _iniciorequest = 0L; -public long _iniciojobdone = 0L; -public anywheresoftware.b4a.objects.collections.Map _iniciorequestmap = null; -public anywheresoftware.b4a.objects.collections.Map _iniciojobdonemap = null; -public b4a.example.dateutils _dateutils = null; -public gunav2.keymon.com.mx.main _main = null; -public gunav2.keymon.com.mx.starter _starter = null; -public gunav2.keymon.com.mx.subs _subs = null; -public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; -public gunav2.keymon.com.mx.newinst2 _newinst2 = null; -public gunav2.keymon.com.mx.b4xpages _b4xpages = null; -public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; -public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _dbresult{ public boolean IsInitialized; public Object Tag; @@ -93,188 +65,60 @@ Parameters[i0] = new Object(); public String toString() { return BA.TypeToString(this, false); }} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bytestoimage(byte[] _bytes) throws Exception{ -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; - //BA.debugLineNum = 277;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; - //BA.debugLineNum = 278;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 279;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; -_in.InitializeFromBytesArray(_bytes,(int) (0),_bytes.length); - //BA.debugLineNum = 280;BA.debugLine="Dim bmp As Bitmap"; -_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 281;BA.debugLine="bmp.Initialize2(In)"; -_bmp.Initialize2((java.io.InputStream)(_in.getObject())); - //BA.debugLineNum = 282;BA.debugLine="Return bmp"; -if (true) return _bmp; - //BA.debugLineNum = 283;BA.debugLine="End Sub"; -return null; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mTarget As Object"; -_mtarget = new Object(); - //BA.debugLineNum = 4;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; -; - //BA.debugLineNum = 5;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; -; - //BA.debugLineNum = 6;BA.debugLine="Private link As String"; -_link = ""; - //BA.debugLineNum = 7;BA.debugLine="Private bc As ByteConverter"; -_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); - //BA.debugLineNum = 8;BA.debugLine="Private T_NULL = 0, T_STRING = 1, T_SHORT = 2, T_"; -_t_null = (byte) (0); -_t_string = (byte) (1); -_t_short = (byte) (2); -_t_int = (byte) (3); -_t_long = (byte) (4); -_t_float = (byte) (5); -_t_double = (byte) (6); -_t_boolean = (byte) (7); -_t_blob = (byte) (8); - //BA.debugLineNum = 10;BA.debugLine="Private VERSION As Float = 0.9"; -_version = (float) (0.9); - //BA.debugLineNum = 11;BA.debugLine="Private tempArray(1) As Object"; -_temparray = new Object[(int) (1)]; -{ -int d0 = _temparray.length; -for (int i0 = 0;i0 < d0;i0++) { -_temparray[i0] = new Object(); -} -} -; - //BA.debugLineNum = 12;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; -_jobtaganterior = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim reqsList, timesList As List"; -_reqslist = new anywheresoftware.b4a.objects.collections.List(); -_timeslist = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Dim inicioRequest As Long 'ignore"; -_iniciorequest = 0L; - //BA.debugLineNum = 15;BA.debugLine="Dim inicioJobDone As Long 'ignore"; -_iniciojobdone = 0L; - //BA.debugLineNum = 16;BA.debugLine="Dim inicioRequestMap, inicioJobDoneMap As Map"; -_iniciorequestmap = new anywheresoftware.b4a.objects.collections.Map(); -_iniciojobdonemap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +public anywheresoftware.b4a.keywords.Common __c = null; +public Object _mtarget = null; +public String _link = ""; +public anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; +public byte _t_null = (byte)0; +public byte _t_string = (byte)0; +public byte _t_short = (byte)0; +public byte _t_int = (byte)0; +public byte _t_long = (byte)0; +public byte _t_float = (byte)0; +public byte _t_double = (byte)0; +public byte _t_boolean = (byte)0; +public byte _t_blob = (byte)0; +public float _version = 0f; +public Object[] _temparray = null; +public String _jobtaganterior = ""; +public anywheresoftware.b4a.objects.collections.List _reqslist = null; +public anywheresoftware.b4a.objects.collections.List _timeslist = null; +public long _iniciorequest = 0L; +public long _iniciojobdone = 0L; +public anywheresoftware.b4a.objects.collections.Map _iniciorequestmap = null; +public anywheresoftware.b4a.objects.collections.Map _iniciojobdonemap = null; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _executecommand(gunav2.keymon.com.mx.dbrequestmanager __ref,gunav2.keymon.com.mx.dbrequestmanager._dbcommand _command,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executecommand", false)) + {return ((String) Debug.delegate(ba, "executecommand", new Object[] {_command,_tag}));} +RDebugUtils.currentLine=87162880; + //BA.debugLineNum = 87162880;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; +RDebugUtils.currentLine=87162883; + //BA.debugLineNum = 87162883;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; +__ref._executebatch /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(new gunav2.keymon.com.mx.dbrequestmanager._dbcommand[]{_command}),_tag); +RDebugUtils.currentLine=87162884; + //BA.debugLineNum = 87162884;BA.debugLine="End Sub"; return ""; } -public String _executebatch(anywheresoftware.b4a.objects.collections.List _listofcommands,Object _tag) throws Exception{ -gunav2.keymon.com.mx.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; -gunav2.keymon.com.mx.dbrequestmanager._dbcommand _command = null; - //BA.debugLineNum = 64;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; - //BA.debugLineNum = 65;BA.debugLine="Dim j As HttpJob"; -_j = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 66;BA.debugLine="Dim ms As OutputStream"; -_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Dim out2 As OutputStream = StartJob(j, ms, Tag)"; -_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out2 = _startjob(_j,_ms,_tag); - //BA.debugLineNum = 68;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; -_writeint(_listofcommands.getSize(),_out2); - //BA.debugLineNum = 69;BA.debugLine="For Each Command As DBCommand In ListOfCommands"; -{ -final anywheresoftware.b4a.BA.IterableList group5 = _listofcommands; -final int groupLen5 = group5.getSize() -;int index5 = 0; -; -for (; index5 < groupLen5;index5++){ -_command = (gunav2.keymon.com.mx.dbrequestmanager._dbcommand)(group5.Get(index5)); - //BA.debugLineNum = 70;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 71;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - } -}; - //BA.debugLineNum = 73;BA.debugLine="out2.Close"; -_out2.Close(); - //BA.debugLineNum = 74;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=batch",_ms.ToBytesArray()); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return ""; -} -public String _executecommand(gunav2.keymon.com.mx.dbrequestmanager._dbcommand _command,Object _tag) throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; - //BA.debugLineNum = 81;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; -_executebatch(anywheresoftware.b4a.keywords.Common.ArrayToList(new gunav2.keymon.com.mx.dbrequestmanager._dbcommand[]{_command}),_tag); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; -return ""; -} -public String _executequery(gunav2.keymon.com.mx.dbrequestmanager._dbcommand _command,int _limit,Object _tag) throws Exception{ -gunav2.keymon.com.mx.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; - //BA.debugLineNum = 30;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; - //BA.debugLineNum = 31;BA.debugLine="Dim j As HttpJob"; -_j = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 32;BA.debugLine="Dim ms As OutputStream"; -_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Dim out2 As OutputStream = StartJob(j, ms, Tag)"; -_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out2 = _startjob(_j,_ms,_tag); - //BA.debugLineNum = 37;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 38;BA.debugLine="WriteInt(Limit, out2)"; -_writeint(_limit,_out2); - //BA.debugLineNum = 39;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - //BA.debugLineNum = 40;BA.debugLine="out2.Close"; -_out2.Close(); - //BA.debugLineNum = 41;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=query",_ms.ToBytesArray()); - //BA.debugLineNum = 42;BA.debugLine="End Sub"; -return ""; -} -public String _executequery3(gunav2.keymon.com.mx.dbrequestmanager._dbcommand _command,int _limit,Object _tag,int _timeout) throws Exception{ -gunav2.keymon.com.mx.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; - //BA.debugLineNum = 49;BA.debugLine="Public Sub ExecuteQuery3(Command As DBCommand, Lim"; - //BA.debugLineNum = 50;BA.debugLine="Dim j As HttpJob"; -_j = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 51;BA.debugLine="Dim ms As OutputStream"; -_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; -_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out2 = _startjob(_j,_ms,_tag); - //BA.debugLineNum = 53;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 54;BA.debugLine="WriteInt(Limit, out2)"; -_writeint(_limit,_out2); - //BA.debugLineNum = 55;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - //BA.debugLineNum = 56;BA.debugLine="out2.Close"; -_out2.Close(); - //BA.debugLineNum = 57;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=query",_ms.ToBytesArray()); - //BA.debugLineNum = 58;BA.debugLine="If Timeout <> 0 Then j.GetRequest.Timeout = Time"; -if (_timeout!=0) { -_j._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ().setTimeout(_timeout);}; - //BA.debugLineNum = 59;BA.debugLine="End Sub"; -return ""; -} -public byte[] _filetobytes(String _dir,String _filename) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 258;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; - //BA.debugLineNum = 259;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 260;BA.debugLine="out.InitializeToBytesArray(0)"; -_out.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 261;BA.debugLine="Dim In As InputStream = File.OpenInput(Dir, FileN"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); -_in = __c.File.OpenInput(_dir,_filename); - //BA.debugLineNum = 262;BA.debugLine="File.Copy2(In, out)"; -__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 263;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 264;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 265;BA.debugLine="End Sub"; -return null; -} -public gunav2.keymon.com.mx.dbrequestmanager._dbresult _handlejob(gunav2.keymon.com.mx.httpjob _job) throws Exception{ +public gunav2.keymon.com.mx.dbrequestmanager._dbresult _handlejob(gunav2.keymon.com.mx.dbrequestmanager __ref,gunav2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "handlejob", false)) + {return ((gunav2.keymon.com.mx.dbrequestmanager._dbresult) Debug.delegate(ba, "handlejob", new Object[] {_job}));} anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; anywheresoftware.b4a.randomaccessfile.CompressedStreams _cs = null; float _serverversion = 0f; @@ -286,51 +130,70 @@ Object[] _rowobjects = null; int _col = 0; Object _o = null; int _rows = 0; - //BA.debugLineNum = 210;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; - //BA.debugLineNum = 211;BA.debugLine="If jobTagAnterior <> Job.Tag Then"; -if ((_jobtaganterior).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) { - //BA.debugLineNum = 213;BA.debugLine="If inicioJobDoneMap.IsInitialized Then inicioJob"; -if (_iniciojobdonemap.IsInitialized()) { -_iniciojobdonemap.Put(_job._tag /*Object*/ ,(Object)(__c.DateTime.getNow()));}; +RDebugUtils.currentLine=87752704; + //BA.debugLineNum = 87752704;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; +RDebugUtils.currentLine=87752705; + //BA.debugLineNum = 87752705;BA.debugLine="If jobTagAnterior <> Job.Tag Then"; +if ((__ref._jobtaganterior /*String*/ ).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) { +RDebugUtils.currentLine=87752707; + //BA.debugLineNum = 87752707;BA.debugLine="If inicioJobDoneMap.IsInitialized Then inicioJob"; +if (__ref._iniciojobdonemap /*anywheresoftware.b4a.objects.collections.Map*/ .IsInitialized()) { +__ref._iniciojobdonemap /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_job._tag /*Object*/ ,(Object)(__c.DateTime.getNow()));}; }; - //BA.debugLineNum = 218;BA.debugLine="Dim In As InputStream = Job.GetInputStream"; +RDebugUtils.currentLine=87752712; + //BA.debugLineNum = 87752712;BA.debugLine="Dim In As InputStream = Job.GetInputStream"; _in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); -_in = _job._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (); - //BA.debugLineNum = 219;BA.debugLine="Dim cs As CompressedStreams"; +_in = _job._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (null); +RDebugUtils.currentLine=87752713; + //BA.debugLineNum = 87752713;BA.debugLine="Dim cs As CompressedStreams"; _cs = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 220;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; +RDebugUtils.currentLine=87752714; + //BA.debugLineNum = 87752714;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; _in = _cs.WrapInputStream((java.io.InputStream)(_in.getObject()),"gzip"); - //BA.debugLineNum = 221;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; -_serverversion = (float)(BA.ObjectToNumber(_readobject(_in))); - //BA.debugLineNum = 222;BA.debugLine="Dim method As String = ReadObject(In)"; -_method = BA.ObjectToString(_readobject(_in)); - //BA.debugLineNum = 223;BA.debugLine="Dim table As DBResult"; +RDebugUtils.currentLine=87752715; + //BA.debugLineNum = 87752715;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; +_serverversion = (float)(BA.ObjectToNumber(__ref._readobject /*Object*/ (null,_in))); +RDebugUtils.currentLine=87752716; + //BA.debugLineNum = 87752716;BA.debugLine="Dim method As String = ReadObject(In)"; +_method = BA.ObjectToString(__ref._readobject /*Object*/ (null,_in)); +RDebugUtils.currentLine=87752717; + //BA.debugLineNum = 87752717;BA.debugLine="Dim table As DBResult"; _table = new gunav2.keymon.com.mx.dbrequestmanager._dbresult(); - //BA.debugLineNum = 224;BA.debugLine="table.Initialize"; +RDebugUtils.currentLine=87752718; + //BA.debugLineNum = 87752718;BA.debugLine="table.Initialize"; _table.Initialize(); - //BA.debugLineNum = 225;BA.debugLine="table.Columns.Initialize"; +RDebugUtils.currentLine=87752719; + //BA.debugLineNum = 87752719;BA.debugLine="table.Columns.Initialize"; _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 226;BA.debugLine="table.rows.Initialize"; +RDebugUtils.currentLine=87752720; + //BA.debugLineNum = 87752720;BA.debugLine="table.rows.Initialize"; _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 227;BA.debugLine="table.Tag = Job.Tag"; +RDebugUtils.currentLine=87752721; + //BA.debugLineNum = 87752721;BA.debugLine="table.Tag = Job.Tag"; _table.Tag /*Object*/ = _job._tag /*Object*/ ; - //BA.debugLineNum = 228;BA.debugLine="If method = \"query\" Then"; +RDebugUtils.currentLine=87752722; + //BA.debugLineNum = 87752722;BA.debugLine="If method = \"query\" Then"; if ((_method).equals("query")) { - //BA.debugLineNum = 229;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; -_numberofcolumns = _readint(_in); - //BA.debugLineNum = 230;BA.debugLine="For i = 0 To numberOfColumns - 1"; +RDebugUtils.currentLine=87752723; + //BA.debugLineNum = 87752723;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; +_numberofcolumns = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=87752724; + //BA.debugLineNum = 87752724;BA.debugLine="For i = 0 To numberOfColumns - 1"; { final int step16 = 1; final int limit16 = (int) (_numberofcolumns-1); _i = (int) (0) ; for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 231;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; -_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_readobject(_in),(Object)(_i)); +RDebugUtils.currentLine=87752725; + //BA.debugLineNum = 87752725;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; +_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put(__ref._readobject /*Object*/ (null,_in),(Object)(_i)); } }; - //BA.debugLineNum = 233;BA.debugLine="Do While ReadByte(In) = 1"; -while (_readbyte(_in)==1) { - //BA.debugLineNum = 234;BA.debugLine="Dim rowObjects(numberOfColumns) As Object"; +RDebugUtils.currentLine=87752727; + //BA.debugLineNum = 87752727;BA.debugLine="Do While ReadByte(In) = 1"; +while (__ref._readbyte /*byte*/ (null,_in)==1) { +RDebugUtils.currentLine=87752728; + //BA.debugLineNum = 87752728;BA.debugLine="Dim rowObjects(numberOfColumns) As Object"; _rowobjects = new Object[_numberofcolumns]; { int d0 = _rowobjects.length; @@ -339,405 +202,567 @@ _rowobjects[i0] = new Object(); } } ; - //BA.debugLineNum = 235;BA.debugLine="table.rows.Add(rowObjects)"; +RDebugUtils.currentLine=87752729; + //BA.debugLineNum = 87752729;BA.debugLine="table.rows.Add(rowObjects)"; _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_rowobjects)); - //BA.debugLineNum = 236;BA.debugLine="For col = 0 To numberOfColumns - 1"; +RDebugUtils.currentLine=87752730; + //BA.debugLineNum = 87752730;BA.debugLine="For col = 0 To numberOfColumns - 1"; { final int step22 = 1; final int limit22 = (int) (_numberofcolumns-1); _col = (int) (0) ; for (;_col <= limit22 ;_col = _col + step22 ) { - //BA.debugLineNum = 237;BA.debugLine="Dim o As Object = ReadObject(In)"; -_o = _readobject(_in); - //BA.debugLineNum = 238;BA.debugLine="rowObjects(col) = o"; +RDebugUtils.currentLine=87752731; + //BA.debugLineNum = 87752731;BA.debugLine="Dim o As Object = ReadObject(In)"; +_o = __ref._readobject /*Object*/ (null,_in); +RDebugUtils.currentLine=87752732; + //BA.debugLineNum = 87752732;BA.debugLine="rowObjects(col) = o"; _rowobjects[_col] = _o; } }; } ; - }else if((_method).equals("batch")) { - //BA.debugLineNum = 242;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; + }else +{RDebugUtils.currentLine=87752735; + //BA.debugLineNum = 87752735;BA.debugLine="Else If method = \"batch\" Then"; +if ((_method).equals("batch")) { +RDebugUtils.currentLine=87752736; + //BA.debugLineNum = 87752736;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("AffectedRows"),(Object)(0)); - //BA.debugLineNum = 243;BA.debugLine="Dim rows As Int = ReadInt(In)"; -_rows = _readint(_in); - //BA.debugLineNum = 244;BA.debugLine="For i = 0 To rows - 1"; +RDebugUtils.currentLine=87752737; + //BA.debugLineNum = 87752737;BA.debugLine="Dim rows As Int = ReadInt(In)"; +_rows = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=87752738; + //BA.debugLineNum = 87752738;BA.debugLine="For i = 0 To rows - 1"; { final int step30 = 1; final int limit30 = (int) (_rows-1); _i = (int) (0) ; for (;_i <= limit30 ;_i = _i + step30 ) { - //BA.debugLineNum = 245;BA.debugLine="table.rows.Add(Array As Object(ReadInt(In)))"; -_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(new Object[]{(Object)(_readint(_in))})); +RDebugUtils.currentLine=87752739; + //BA.debugLineNum = 87752739;BA.debugLine="table.rows.Add(Array As Object(ReadInt(In)))"; +_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(new Object[]{(Object)(__ref._readint /*int*/ (null,_in))})); } }; - }; - //BA.debugLineNum = 248;BA.debugLine="In.Close"; + }} +; +RDebugUtils.currentLine=87752742; + //BA.debugLineNum = 87752742;BA.debugLine="In.Close"; _in.Close(); - //BA.debugLineNum = 250;BA.debugLine="If jobTagAnterior <> table.Tag Then"; -if ((_jobtaganterior).equals(BA.ObjectToString(_table.Tag /*Object*/ )) == false) { - //BA.debugLineNum = 251;BA.debugLine="LogColor(\"HandleJob: '\"&table.Tag&\"'\" & \" - Regi"; -__c.LogImpl("485786665","HandleJob: '"+BA.ObjectToString(_table.Tag /*Object*/ )+"'"+" - Registros: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.RGB((int) (115),(int) (0),(int) (140))); +RDebugUtils.currentLine=87752744; + //BA.debugLineNum = 87752744;BA.debugLine="If jobTagAnterior <> table.Tag Then"; +if ((__ref._jobtaganterior /*String*/ ).equals(BA.ObjectToString(_table.Tag /*Object*/ )) == false) { +RDebugUtils.currentLine=87752745; + //BA.debugLineNum = 87752745;BA.debugLine="LogColor(\"HandleJob: '\"&table.Tag&\"'\" & \" - Regi"; +__c.LogImpl("087752745","HandleJob: '"+BA.ObjectToString(_table.Tag /*Object*/ )+"'"+" - Registros: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.RGB((int) (115),(int) (0),(int) (140))); }; - //BA.debugLineNum = 253;BA.debugLine="jobTagAnterior = table.Tag 'Mod por CHV - 211109"; -_jobtaganterior = BA.ObjectToString(_table.Tag /*Object*/ ); - //BA.debugLineNum = 254;BA.debugLine="Return table"; +RDebugUtils.currentLine=87752747; + //BA.debugLineNum = 87752747;BA.debugLine="jobTagAnterior = table.Tag 'Mod por CHV - 211109"; +__ref._jobtaganterior /*String*/ = BA.ObjectToString(_table.Tag /*Object*/ ); +RDebugUtils.currentLine=87752748; + //BA.debugLineNum = 87752748;BA.debugLine="Return table"; if (true) return _table; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +RDebugUtils.currentLine=87752749; + //BA.debugLineNum = 87752749;BA.debugLine="End Sub"; return null; } -public byte[] _imagetobytes(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 268;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; - //BA.debugLineNum = 269;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 270;BA.debugLine="out.InitializeToBytesArray(0)"; -_out.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 271;BA.debugLine="Image.WriteToStream(out, 100, \"JPEG\")"; -_image.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG")); - //BA.debugLineNum = 272;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 273;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 274;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _target,String _connectorlink) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.BA _ba,Object _target,String _connectorlink) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 21;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; - //BA.debugLineNum = 22;BA.debugLine="mTarget = Target"; -_mtarget = _target; - //BA.debugLineNum = 23;BA.debugLine="link = ConnectorLink"; -_link = _connectorlink; - //BA.debugLineNum = 24;BA.debugLine="End Sub"; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_target,_connectorlink}));} +RDebugUtils.currentLine=86900736; + //BA.debugLineNum = 86900736;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; +RDebugUtils.currentLine=86900737; + //BA.debugLineNum = 86900737;BA.debugLine="mTarget = Target"; +__ref._mtarget /*Object*/ = _target; +RDebugUtils.currentLine=86900738; + //BA.debugLineNum = 86900738;BA.debugLine="link = ConnectorLink"; +__ref._link /*String*/ = _connectorlink; +RDebugUtils.currentLine=86900739; + //BA.debugLineNum = 86900739;BA.debugLine="End Sub"; return ""; } -public String _printtable(gunav2.keymon.com.mx.dbrequestmanager._dbresult _table) throws Exception{ -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -Object _col = null; -Object[] _row = null; -Object _record = null; - //BA.debugLineNum = 286;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; - //BA.debugLineNum = 287;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; -__c.LogImpl("486048769","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); - //BA.debugLineNum = 288;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 289;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 290;BA.debugLine="For Each col In Table.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group4 = _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen4 = group4.getSize() -;int index4 = 0; -; -for (; index4 < groupLen4;index4++){ -_col = group4.Get(index4); - //BA.debugLineNum = 291;BA.debugLine="sb.Append(col).Append(TAB)"; -_sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); - } -}; - //BA.debugLineNum = 293;BA.debugLine="Log(sb.ToString)"; -__c.LogImpl("486048775",_sb.ToString(),0); - //BA.debugLineNum = 294;BA.debugLine="For Each row() As Object In Table.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group8 = _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen8 = group8.getSize() -;int index8 = 0; -; -for (; index8 < groupLen8;index8++){ -_row = (Object[])(group8.Get(index8)); - //BA.debugLineNum = 295;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 296;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 297;BA.debugLine="For Each record As Object In row"; -{ -final Object[] group11 = _row; -final int groupLen11 = group11.length -;int index11 = 0; -; -for (; index11 < groupLen11;index11++){ -_record = group11[index11]; - //BA.debugLineNum = 298;BA.debugLine="sb.Append(record).Append(TAB)"; -_sb.Append(BA.ObjectToString(_record)).Append(__c.TAB); - } -}; - //BA.debugLineNum = 300;BA.debugLine="Log(sb.ToString)"; -__c.LogImpl("486048782",_sb.ToString(),0); - } -}; - //BA.debugLineNum = 302;BA.debugLine="End Sub"; +public String _executequery(gunav2.keymon.com.mx.dbrequestmanager __ref,gunav2.keymon.com.mx.dbrequestmanager._dbcommand _command,int _limit,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executequery", false)) + {return ((String) Debug.delegate(ba, "executequery", new Object[] {_command,_limit,_tag}));} +gunav2.keymon.com.mx.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; +RDebugUtils.currentLine=86966272; + //BA.debugLineNum = 86966272;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; +RDebugUtils.currentLine=86966273; + //BA.debugLineNum = 86966273;BA.debugLine="Dim j As HttpJob"; +_j = new gunav2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=86966274; + //BA.debugLineNum = 86966274;BA.debugLine="Dim ms As OutputStream"; +_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=86966275; + //BA.debugLineNum = 86966275;BA.debugLine="Dim out2 As OutputStream = StartJob(j, ms, Tag)"; +_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out2 = __ref._startjob /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ (null,_j,_ms,_tag); +RDebugUtils.currentLine=86966279; + //BA.debugLineNum = 86966279;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=86966280; + //BA.debugLineNum = 86966280;BA.debugLine="WriteInt(Limit, out2)"; +__ref._writeint /*String*/ (null,_limit,_out2); +RDebugUtils.currentLine=86966281; + //BA.debugLineNum = 86966281;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); +RDebugUtils.currentLine=86966282; + //BA.debugLineNum = 86966282;BA.debugLine="out2.Close"; +_out2.Close(); +RDebugUtils.currentLine=86966283; + //BA.debugLineNum = 86966283;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=query",_ms.ToBytesArray()); +RDebugUtils.currentLine=86966284; + //BA.debugLineNum = 86966284;BA.debugLine="End Sub"; return ""; } -public byte _readbyte(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 203;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; - //BA.debugLineNum = 204;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 205;BA.debugLine="In.ReadBytes(data, 0, 1)"; -_in.ReadBytes(_data,(int) (0),(int) (1)); - //BA.debugLineNum = 206;BA.debugLine="Return data(0)"; -if (true) return _data[(int) (0)]; - //BA.debugLineNum = 207;BA.debugLine="End Sub"; -return (byte)0; -} -public byte[] _readbytesfully(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in,byte[] _data,int _len) throws Exception{ -int _count = 0; -int _read = 0; - //BA.debugLineNum = 183;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; - //BA.debugLineNum = 184;BA.debugLine="Dim count = 0, read As Int"; -_count = (int) (0); -_read = 0; - //BA.debugLineNum = 185;BA.debugLine="Do While count < Len And read > -1"; -while (_count<_len && _read>-1) { - //BA.debugLineNum = 186;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; -_read = _in.ReadBytes(_data,_count,(int) (_len-_count)); - //BA.debugLineNum = 187;BA.debugLine="count = count + read"; -_count = (int) (_count+_read); - } -; - //BA.debugLineNum = 189;BA.debugLine="Return Data"; -if (true) return _data; - //BA.debugLineNum = 190;BA.debugLine="End Sub"; -return null; -} -public int _readint(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 198;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; - //BA.debugLineNum = 199;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 200;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; -if (true) return _bc.IntsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]; - //BA.debugLineNum = 201;BA.debugLine="End Sub"; -return 0; -} -public Object _readobject(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; -byte _b = (byte)0; -int _len = 0; - //BA.debugLineNum = 147;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; - //BA.debugLineNum = 148;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 149;BA.debugLine="In.ReadBytes(data, 0, 1)"; -_in.ReadBytes(_data,(int) (0),(int) (1)); - //BA.debugLineNum = 150;BA.debugLine="Select data(0)"; -switch (BA.switchObjectToInt(_data[(int) (0)],_t_null,_t_short,_t_int,_t_long,_t_float,_t_double,_t_boolean,_t_blob)) { -case 0: { - //BA.debugLineNum = 152;BA.debugLine="Return Null"; -if (true) return __c.Null; - break; } -case 1: { - //BA.debugLineNum = 154;BA.debugLine="Dim data(2) As Byte"; -_data = new byte[(int) (2)]; -; - //BA.debugLineNum = 155;BA.debugLine="Return bc.ShortsFromBytes(ReadBytesFully(In, da"; -if (true) return (Object)(_bc.ShortsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 2: { - //BA.debugLineNum = 157;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 158;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data"; -if (true) return (Object)(_bc.IntsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 3: { - //BA.debugLineNum = 160;BA.debugLine="Dim data(8) As Byte"; -_data = new byte[(int) (8)]; -; - //BA.debugLineNum = 161;BA.debugLine="Return bc.LongsFromBytes(ReadBytesFully(In, dat"; -if (true) return (Object)(_bc.LongsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 4: { - //BA.debugLineNum = 163;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 164;BA.debugLine="Return bc.FloatsFromBytes(ReadBytesFully(In, da"; -if (true) return (Object)(_bc.FloatsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 5: { - //BA.debugLineNum = 166;BA.debugLine="Dim data(8) As Byte"; -_data = new byte[(int) (8)]; -; - //BA.debugLineNum = 167;BA.debugLine="Return bc.DoublesFromBytes(ReadBytesFully(In, d"; -if (true) return (Object)(_bc.DoublesFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 6: { - //BA.debugLineNum = 169;BA.debugLine="Dim b As Byte = ReadByte(In)"; -_b = _readbyte(_in); - //BA.debugLineNum = 170;BA.debugLine="Return b = 1"; -if (true) return (Object)(_b==1); - break; } -case 7: { - //BA.debugLineNum = 172;BA.debugLine="Dim len As Int = ReadInt(In)"; -_len = _readint(_in); - //BA.debugLineNum = 173;BA.debugLine="Dim data(len) As Byte"; -_data = new byte[_len]; -; - //BA.debugLineNum = 174;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; -if (true) return (Object)(_readbytesfully(_in,_data,_data.length)); - break; } -default: { - //BA.debugLineNum = 176;BA.debugLine="Dim len As Int = ReadInt(In)"; -_len = _readint(_in); - //BA.debugLineNum = 177;BA.debugLine="Dim data(len) As Byte"; -_data = new byte[_len]; -; - //BA.debugLineNum = 178;BA.debugLine="ReadBytesFully(In, data, data.Length)"; -_readbytesfully(_in,_data,_data.length); - //BA.debugLineNum = 179;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; -if (true) return (Object)(__c.BytesToString(_data,(int) (0),_data.length,"UTF8")); - break; } -} -; - //BA.debugLineNum = 181;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.Map _requesttimes(String _tag) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _times = null; -String _requesttime = ""; -String _jobdonetime = ""; - //BA.debugLineNum = 304;BA.debugLine="Sub requestTimes(tag As String) As Map 'ignore"; - //BA.debugLineNum = 305;BA.debugLine="Private times As Map"; -_times = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 306;BA.debugLine="times.Initialize"; -_times.Initialize(); - //BA.debugLineNum = 309;BA.debugLine="If reqsList.IsInitialized Then"; -if (_reqslist.IsInitialized()) { - //BA.debugLineNum = 312;BA.debugLine="If inicioRequestMap.ContainsKey(tag) Then"; -if (_iniciorequestmap.ContainsKey((Object)(_tag))) { - //BA.debugLineNum = 313;BA.debugLine="inicioRequest = inicioRequestMap.Get(tag)"; -_iniciorequest = BA.ObjectToLongNumber(_iniciorequestmap.Get((Object)(_tag))); - }; - //BA.debugLineNum = 316;BA.debugLine="If inicioJobDoneMap.ContainsKey(tag) Then"; -if (_iniciojobdonemap.ContainsKey((Object)(_tag))) { - //BA.debugLineNum = 317;BA.debugLine="inicioJobDone = inicioJobDoneMap.Get(tag)"; -_iniciojobdone = BA.ObjectToLongNumber(_iniciojobdonemap.Get((Object)(_tag))); - }; - }; - //BA.debugLineNum = 322;BA.debugLine="Private requestTime As String = NumberFormat2(((i"; -_requesttime = __c.NumberFormat2(((_iniciojobdone-_iniciorequest)/(double)1000),(int) (1),(int) (5),(int) (0),__c.False); - //BA.debugLineNum = 323;BA.debugLine="Private JobDoneTime As String = NumberFormat2(((D"; -_jobdonetime = __c.NumberFormat2(((__c.DateTime.getNow()-_iniciojobdone)/(double)1000),(int) (1),(int) (5),(int) (0),__c.False); - //BA.debugLineNum = 324;BA.debugLine="times.Put(\"requestTime\", requestTime)"; -_times.Put((Object)("requestTime"),(Object)(_requesttime)); - //BA.debugLineNum = 325;BA.debugLine="times.Put(\"jobDoneTime\", JobDoneTime)"; -_times.Put((Object)("jobDoneTime"),(Object)(_jobdonetime)); - //BA.debugLineNum = 326;BA.debugLine="times.Put(\"totalTime\", NumberFormat2((JobDoneTime"; -_times.Put((Object)("totalTime"),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(_jobdonetime))+(double)(Double.parseDouble(_requesttime))),(int) (1),(int) (5),(int) (0),__c.False))); - //BA.debugLineNum = 327;BA.debugLine="Return times"; -if (true) return _times; - //BA.debugLineNum = 328;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _startjob(gunav2.keymon.com.mx.httpjob _j,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _memorystream,Object _tag) throws Exception{ -anywheresoftware.b4a.randomaccessfile.CompressedStreams _compress = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 84;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; - //BA.debugLineNum = 86;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; -if (_reqslist.IsInitialized()) { -_reqslist.Add(_tag);}; - //BA.debugLineNum = 87;BA.debugLine="If timesList.IsInitialized Then timesList.Add(Dat"; -if (_timeslist.IsInitialized()) { -_timeslist.Add((Object)(__c.DateTime.getNow()));}; - //BA.debugLineNum = 88;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; -_j._initialize /*String*/ (ba,"DBRequest",_mtarget); - //BA.debugLineNum = 89;BA.debugLine="j.Tag = Tag"; -_j._tag /*Object*/ = _tag; - //BA.debugLineNum = 90;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; -_memorystream.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 91;BA.debugLine="Dim compress As CompressedStreams"; -_compress = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 92;BA.debugLine="Dim out As OutputStream = compress.WrapOutputStre"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = _compress.WrapOutputStream((java.io.OutputStream)(_memorystream.getObject()),"gzip"); - //BA.debugLineNum = 93;BA.debugLine="WriteObject(VERSION, out)"; -_writeobject((Object)(_version),_out); - //BA.debugLineNum = 94;BA.debugLine="Return out"; -if (true) return _out; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return null; -} -public String _trackinit() throws Exception{ - //BA.debugLineNum = 331;BA.debugLine="Sub trackInit 'ignore"; - //BA.debugLineNum = 332;BA.debugLine="Log(\">>>>>>>>> TRACKINIT \")"; -__c.LogImpl("486179841",">>>>>>>>> TRACKINIT ",0); - //BA.debugLineNum = 333;BA.debugLine="reqsList.Initialize"; -_reqslist.Initialize(); - //BA.debugLineNum = 334;BA.debugLine="timesList.Initialize"; -_timeslist.Initialize(); - //BA.debugLineNum = 335;BA.debugLine="inicioRequestMap.Initialize"; -_iniciorequestmap.Initialize(); - //BA.debugLineNum = 336;BA.debugLine="inicioJobDoneMap.Initialize"; -_iniciojobdonemap.Initialize(); - //BA.debugLineNum = 337;BA.debugLine="End Sub"; -return ""; -} -public String _tracknext(gunav2.keymon.com.mx.httpjob _job) throws Exception{ +public String _tracknext(gunav2.keymon.com.mx.dbrequestmanager __ref,gunav2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "tracknext", false)) + {return ((String) Debug.delegate(ba, "tracknext", new Object[] {_job}));} String _quitamos = ""; int _pos = 0; - //BA.debugLineNum = 339;BA.debugLine="Sub trackNext(job As HttpJob)"; - //BA.debugLineNum = 340;BA.debugLine="If reqsList.IsInitialized Then 'Si tenemos lista"; -if (_reqslist.IsInitialized()) { - //BA.debugLineNum = 341;BA.debugLine="Private quitamos As String = \"\""; +RDebugUtils.currentLine=88211456; + //BA.debugLineNum = 88211456;BA.debugLine="Sub trackNext(job As HttpJob)"; +RDebugUtils.currentLine=88211457; + //BA.debugLineNum = 88211457;BA.debugLine="If reqsList.IsInitialized Then 'Si tenemos lista"; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { +RDebugUtils.currentLine=88211458; + //BA.debugLineNum = 88211458;BA.debugLine="Private quitamos As String = \"\""; _quitamos = ""; - //BA.debugLineNum = 342;BA.debugLine="If reqsList.IndexOf(job.tag) <> -1 Then"; -if (_reqslist.IndexOf(_job._tag /*Object*/ )!=-1) { - //BA.debugLineNum = 343;BA.debugLine="Private pos As Int = reqsList.IndexOf(job.tag)"; -_pos = _reqslist.IndexOf(_job._tag /*Object*/ ); - //BA.debugLineNum = 344;BA.debugLine="If pos <> -1 Then"; +RDebugUtils.currentLine=88211459; + //BA.debugLineNum = 88211459;BA.debugLine="If reqsList.IndexOf(job.tag) <> -1 Then"; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )!=-1) { +RDebugUtils.currentLine=88211460; + //BA.debugLineNum = 88211460;BA.debugLine="Private pos As Int = reqsList.IndexOf(job.tag)"; +_pos = __ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ ); +RDebugUtils.currentLine=88211461; + //BA.debugLineNum = 88211461;BA.debugLine="If pos <> -1 Then"; if (_pos!=-1) { - //BA.debugLineNum = 345;BA.debugLine="inicioRequestMap.Put(job.Tag, timesList.Get(po"; -_iniciorequestmap.Put(_job._tag /*Object*/ ,_timeslist.Get(_pos)); - //BA.debugLineNum = 346;BA.debugLine="reqsList.RemoveAt(pos)"; -_reqslist.RemoveAt(_pos); - //BA.debugLineNum = 347;BA.debugLine="timesList.RemoveAt(pos)"; -_timeslist.RemoveAt(_pos); +RDebugUtils.currentLine=88211462; + //BA.debugLineNum = 88211462;BA.debugLine="inicioRequestMap.Put(job.Tag, timesList.Get(po"; +__ref._iniciorequestmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_job._tag /*Object*/ ,__ref._timeslist /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pos)); +RDebugUtils.currentLine=88211463; + //BA.debugLineNum = 88211463;BA.debugLine="reqsList.RemoveAt(pos)"; +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_pos); +RDebugUtils.currentLine=88211464; + //BA.debugLineNum = 88211464;BA.debugLine="timesList.RemoveAt(pos)"; +__ref._timeslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_pos); }; - //BA.debugLineNum = 349;BA.debugLine="quitamos = $\"Quitamos ${job.tag} - \"$"; +RDebugUtils.currentLine=88211466; + //BA.debugLineNum = 88211466;BA.debugLine="quitamos = $\"Quitamos ${job.tag} - \"$"; _quitamos = ("Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+" - "); }; - //BA.debugLineNum = 351;BA.debugLine="LogColor(\">>>>>> Requests: \" & reqsList.Size & \""; -__c.LogImpl("486245388",">>>>>> Requests: "+BA.NumberToString(_reqslist.getSize())+" - "+_quitamos+BA.ObjectToString(_reqslist),__c.Colors.Blue); - //BA.debugLineNum = 352;BA.debugLine="LogColor(\">>>>>> inicioRequestMap:\" & inicioRequ"; -__c.LogImpl("486245389",">>>>>> inicioRequestMap:"+BA.NumberToString(_iniciorequestmap.getSize())+" - "+BA.ObjectToString(_iniciorequestmap),__c.Colors.Magenta); +RDebugUtils.currentLine=88211468; + //BA.debugLineNum = 88211468;BA.debugLine="LogColor(\">>>>>> Requests: \" & reqsList.Size & \""; +__c.LogImpl("088211468",">>>>>> Requests: "+BA.NumberToString(__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+_quitamos+BA.ObjectToString(__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=88211469; + //BA.debugLineNum = 88211469;BA.debugLine="LogColor(\">>>>>> inicioRequestMap:\" & inicioRequ"; +__c.LogImpl("088211469",">>>>>> inicioRequestMap:"+BA.NumberToString(__ref._iniciorequestmap /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+" - "+BA.ObjectToString(__ref._iniciorequestmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Magenta); }; - //BA.debugLineNum = 354;BA.debugLine="End Sub"; +RDebugUtils.currentLine=88211471; + //BA.debugLineNum = 88211471;BA.debugLine="End Sub"; return ""; } -public String _writeint(int _i,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +public String _trackinit(gunav2.keymon.com.mx.dbrequestmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "trackinit", false)) + {return ((String) Debug.delegate(ba, "trackinit", null));} +RDebugUtils.currentLine=88145920; + //BA.debugLineNum = 88145920;BA.debugLine="Sub trackInit 'ignore"; +RDebugUtils.currentLine=88145921; + //BA.debugLineNum = 88145921;BA.debugLine="Log(\">>>>>>>>> TRACKINIT \")"; +__c.LogImpl("088145921",">>>>>>>>> TRACKINIT ",0); +RDebugUtils.currentLine=88145922; + //BA.debugLineNum = 88145922;BA.debugLine="reqsList.Initialize"; +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=88145923; + //BA.debugLineNum = 88145923;BA.debugLine="timesList.Initialize"; +__ref._timeslist /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=88145924; + //BA.debugLineNum = 88145924;BA.debugLine="inicioRequestMap.Initialize"; +__ref._iniciorequestmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=88145925; + //BA.debugLineNum = 88145925;BA.debugLine="inicioJobDoneMap.Initialize"; +__ref._iniciojobdonemap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=88145926; + //BA.debugLineNum = 88145926;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bytestoimage(gunav2.keymon.com.mx.dbrequestmanager __ref,byte[] _bytes) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "bytestoimage", false)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "bytestoimage", new Object[] {_bytes}));} +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +RDebugUtils.currentLine=87949312; + //BA.debugLineNum = 87949312;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; +RDebugUtils.currentLine=87949313; + //BA.debugLineNum = 87949313;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=87949314; + //BA.debugLineNum = 87949314;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; +_in.InitializeFromBytesArray(_bytes,(int) (0),_bytes.length); +RDebugUtils.currentLine=87949315; + //BA.debugLineNum = 87949315;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=87949316; + //BA.debugLineNum = 87949316;BA.debugLine="bmp.Initialize2(In)"; +_bmp.Initialize2((java.io.InputStream)(_in.getObject())); +RDebugUtils.currentLine=87949317; + //BA.debugLineNum = 87949317;BA.debugLine="Return bmp"; +if (true) return _bmp; +RDebugUtils.currentLine=87949318; + //BA.debugLineNum = 87949318;BA.debugLine="End Sub"; +return null; +} +public String _class_globals(gunav2.keymon.com.mx.dbrequestmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +RDebugUtils.currentLine=86835200; + //BA.debugLineNum = 86835200;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=86835201; + //BA.debugLineNum = 86835201;BA.debugLine="Private mTarget As Object"; +_mtarget = new Object(); +RDebugUtils.currentLine=86835202; + //BA.debugLineNum = 86835202;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; +; +RDebugUtils.currentLine=86835203; + //BA.debugLineNum = 86835203;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; +; +RDebugUtils.currentLine=86835204; + //BA.debugLineNum = 86835204;BA.debugLine="Private link As String"; +_link = ""; +RDebugUtils.currentLine=86835205; + //BA.debugLineNum = 86835205;BA.debugLine="Private bc As ByteConverter"; +_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); +RDebugUtils.currentLine=86835206; + //BA.debugLineNum = 86835206;BA.debugLine="Private T_NULL = 0, T_STRING = 1, T_SHORT = 2, T_"; +_t_null = (byte) (0); +_t_string = (byte) (1); +_t_short = (byte) (2); +_t_int = (byte) (3); +_t_long = (byte) (4); +_t_float = (byte) (5); +_t_double = (byte) (6); +_t_boolean = (byte) (7); +_t_blob = (byte) (8); +RDebugUtils.currentLine=86835208; + //BA.debugLineNum = 86835208;BA.debugLine="Private VERSION As Float = 0.9"; +_version = (float) (0.9); +RDebugUtils.currentLine=86835209; + //BA.debugLineNum = 86835209;BA.debugLine="Private tempArray(1) As Object"; +_temparray = new Object[(int) (1)]; +{ +int d0 = _temparray.length; +for (int i0 = 0;i0 < d0;i0++) { +_temparray[i0] = new Object(); +} +} +; +RDebugUtils.currentLine=86835210; + //BA.debugLineNum = 86835210;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; +_jobtaganterior = ""; +RDebugUtils.currentLine=86835211; + //BA.debugLineNum = 86835211;BA.debugLine="Dim reqsList, timesList As List"; +_reqslist = new anywheresoftware.b4a.objects.collections.List(); +_timeslist = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=86835212; + //BA.debugLineNum = 86835212;BA.debugLine="Dim inicioRequest As Long 'ignore"; +_iniciorequest = 0L; +RDebugUtils.currentLine=86835213; + //BA.debugLineNum = 86835213;BA.debugLine="Dim inicioJobDone As Long 'ignore"; +_iniciojobdone = 0L; +RDebugUtils.currentLine=86835214; + //BA.debugLineNum = 86835214;BA.debugLine="Dim inicioRequestMap, inicioJobDoneMap As Map"; +_iniciorequestmap = new anywheresoftware.b4a.objects.collections.Map(); +_iniciojobdonemap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=86835215; + //BA.debugLineNum = 86835215;BA.debugLine="End Sub"; +return ""; +} +public String _executebatch(gunav2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.collections.List _listofcommands,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executebatch", false)) + {return ((String) Debug.delegate(ba, "executebatch", new Object[] {_listofcommands,_tag}));} +gunav2.keymon.com.mx.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; +gunav2.keymon.com.mx.dbrequestmanager._dbcommand _command = null; +RDebugUtils.currentLine=87097344; + //BA.debugLineNum = 87097344;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; +RDebugUtils.currentLine=87097345; + //BA.debugLineNum = 87097345;BA.debugLine="Dim j As HttpJob"; +_j = new gunav2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=87097346; + //BA.debugLineNum = 87097346;BA.debugLine="Dim ms As OutputStream"; +_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=87097347; + //BA.debugLineNum = 87097347;BA.debugLine="Dim out2 As OutputStream = StartJob(j, ms, Tag)"; +_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out2 = __ref._startjob /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ (null,_j,_ms,_tag); +RDebugUtils.currentLine=87097348; + //BA.debugLineNum = 87097348;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; +__ref._writeint /*String*/ (null,_listofcommands.getSize(),_out2); +RDebugUtils.currentLine=87097349; + //BA.debugLineNum = 87097349;BA.debugLine="For Each Command As DBCommand In ListOfCommands"; +{ +final anywheresoftware.b4a.BA.IterableList group5 = _listofcommands; +final int groupLen5 = group5.getSize() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_command = (gunav2.keymon.com.mx.dbrequestmanager._dbcommand)(group5.Get(index5)); +RDebugUtils.currentLine=87097350; + //BA.debugLineNum = 87097350;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=87097351; + //BA.debugLineNum = 87097351;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); + } +}; +RDebugUtils.currentLine=87097353; + //BA.debugLineNum = 87097353;BA.debugLine="out2.Close"; +_out2.Close(); +RDebugUtils.currentLine=87097354; + //BA.debugLineNum = 87097354;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=batch",_ms.ToBytesArray()); +RDebugUtils.currentLine=87097355; + //BA.debugLineNum = 87097355;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _startjob(gunav2.keymon.com.mx.dbrequestmanager __ref,gunav2.keymon.com.mx.httpjob _j,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _memorystream,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "startjob", false)) + {return ((anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper) Debug.delegate(ba, "startjob", new Object[] {_j,_memorystream,_tag}));} +anywheresoftware.b4a.randomaccessfile.CompressedStreams _compress = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=87228416; + //BA.debugLineNum = 87228416;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; +RDebugUtils.currentLine=87228418; + //BA.debugLineNum = 87228418;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Add(_tag);}; +RDebugUtils.currentLine=87228419; + //BA.debugLineNum = 87228419;BA.debugLine="If timesList.IsInitialized Then timesList.Add(Dat"; +if (__ref._timeslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { +__ref._timeslist /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(__c.DateTime.getNow()));}; +RDebugUtils.currentLine=87228420; + //BA.debugLineNum = 87228420;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; +_j._initialize /*String*/ (null,ba,"DBRequest",__ref._mtarget /*Object*/ ); +RDebugUtils.currentLine=87228421; + //BA.debugLineNum = 87228421;BA.debugLine="j.Tag = Tag"; +_j._tag /*Object*/ = _tag; +RDebugUtils.currentLine=87228422; + //BA.debugLineNum = 87228422;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; +_memorystream.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=87228423; + //BA.debugLineNum = 87228423;BA.debugLine="Dim compress As CompressedStreams"; +_compress = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); +RDebugUtils.currentLine=87228424; + //BA.debugLineNum = 87228424;BA.debugLine="Dim out As OutputStream = compress.WrapOutputStre"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = _compress.WrapOutputStream((java.io.OutputStream)(_memorystream.getObject()),"gzip"); +RDebugUtils.currentLine=87228425; + //BA.debugLineNum = 87228425;BA.debugLine="WriteObject(VERSION, out)"; +__ref._writeobject /*String*/ (null,(Object)(__ref._version /*float*/ ),_out); +RDebugUtils.currentLine=87228426; + //BA.debugLineNum = 87228426;BA.debugLine="Return out"; +if (true) return _out; +RDebugUtils.currentLine=87228427; + //BA.debugLineNum = 87228427;BA.debugLine="End Sub"; +return null; +} +public String _writeint(gunav2.keymon.com.mx.dbrequestmanager __ref,int _i,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writeint", false)) + {return ((String) Debug.delegate(ba, "writeint", new Object[] {_i,_out}));} byte[] _data = null; - //BA.debugLineNum = 192;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; - //BA.debugLineNum = 193;BA.debugLine="Dim data() As Byte"; +RDebugUtils.currentLine=87556096; + //BA.debugLineNum = 87556096;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; +RDebugUtils.currentLine=87556097; + //BA.debugLineNum = 87556097;BA.debugLine="Dim data() As Byte"; _data = new byte[(int) (0)]; ; - //BA.debugLineNum = 194;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; -_data = _bc.IntsToBytes(new int[]{_i}); - //BA.debugLineNum = 195;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +RDebugUtils.currentLine=87556098; + //BA.debugLineNum = 87556098;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsToBytes(new int[]{_i}); +RDebugUtils.currentLine=87556099; + //BA.debugLineNum = 87556099;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; _out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 196;BA.debugLine="End Sub"; +RDebugUtils.currentLine=87556100; + //BA.debugLineNum = 87556100;BA.debugLine="End Sub"; return ""; } -public String _writelist(anywheresoftware.b4a.objects.collections.List _parameters,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +public String _writeobject(gunav2.keymon.com.mx.dbrequestmanager __ref,Object _o,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writeobject", false)) + {return ((String) Debug.delegate(ba, "writeobject", new Object[] {_o,_out}));} +byte[] _data = null; +boolean _b = false; +RDebugUtils.currentLine=87359488; + //BA.debugLineNum = 87359488;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; +RDebugUtils.currentLine=87359489; + //BA.debugLineNum = 87359489;BA.debugLine="Dim data() As Byte"; +_data = new byte[(int) (0)]; +; +RDebugUtils.currentLine=87359490; + //BA.debugLineNum = 87359490;BA.debugLine="tempArray(0) = o"; +__ref._temparray /*Object[]*/ [(int) (0)] = _o; +RDebugUtils.currentLine=87359491; + //BA.debugLineNum = 87359491;BA.debugLine="If tempArray(0) = Null Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)]== null) { +RDebugUtils.currentLine=87359492; + //BA.debugLineNum = 87359492;BA.debugLine="out.WriteBytes(Array As Byte(T_NULL), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_null /*byte*/ },(int) (0),(int) (1)); + }else +{RDebugUtils.currentLine=87359493; + //BA.debugLineNum = 87359493;BA.debugLine="Else If tempArray(0) Is Short Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Short) { +RDebugUtils.currentLine=87359494; + //BA.debugLineNum = 87359494;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_short /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=87359495; + //BA.debugLineNum = 87359495;BA.debugLine="data = bc.ShortsToBytes(Array As Short(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .ShortsToBytes(new short[]{(short)(BA.ObjectToNumber(_o))}); + }else +{RDebugUtils.currentLine=87359496; + //BA.debugLineNum = 87359496;BA.debugLine="Else If tempArray(0) Is Int Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Integer) { +RDebugUtils.currentLine=87359497; + //BA.debugLineNum = 87359497;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_int /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=87359498; + //BA.debugLineNum = 87359498;BA.debugLine="data = bc.IntsToBytes(Array As Int(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsToBytes(new int[]{(int)(BA.ObjectToNumber(_o))}); + }else +{RDebugUtils.currentLine=87359499; + //BA.debugLineNum = 87359499;BA.debugLine="Else If tempArray(0) Is Float Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Float) { +RDebugUtils.currentLine=87359500; + //BA.debugLineNum = 87359500;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_float /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=87359501; + //BA.debugLineNum = 87359501;BA.debugLine="data = bc.FloatsToBytes(Array As Float(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .FloatsToBytes(new float[]{(float)(BA.ObjectToNumber(_o))}); + }else +{RDebugUtils.currentLine=87359502; + //BA.debugLineNum = 87359502;BA.debugLine="Else If tempArray(0) Is Double Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Double) { +RDebugUtils.currentLine=87359503; + //BA.debugLineNum = 87359503;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_double /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=87359504; + //BA.debugLineNum = 87359504;BA.debugLine="data = bc.DoublesToBytes(Array As Double(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .DoublesToBytes(new double[]{(double)(BA.ObjectToNumber(_o))}); + }else +{RDebugUtils.currentLine=87359505; + //BA.debugLineNum = 87359505;BA.debugLine="Else If tempArray(0) Is Long Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Long) { +RDebugUtils.currentLine=87359506; + //BA.debugLineNum = 87359506;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_long /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=87359507; + //BA.debugLineNum = 87359507;BA.debugLine="data = bc.LongsToBytes(Array As Long(o))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .LongsToBytes(new long[]{BA.ObjectToLongNumber(_o)}); + }else +{RDebugUtils.currentLine=87359508; + //BA.debugLineNum = 87359508;BA.debugLine="Else If tempArray(0) Is Boolean Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Boolean) { +RDebugUtils.currentLine=87359509; + //BA.debugLineNum = 87359509;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_boolean /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=87359510; + //BA.debugLineNum = 87359510;BA.debugLine="Dim b As Boolean = 0"; +_b = BA.ObjectToBoolean(0); +RDebugUtils.currentLine=87359511; + //BA.debugLineNum = 87359511;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=87359512; + //BA.debugLineNum = 87359512;BA.debugLine="If b Then data(0) = 1 Else data(0) = 0"; +if (_b) { +_data[(int) (0)] = (byte) (1);} +else { +_data[(int) (0)] = (byte) (0);}; + }else +{RDebugUtils.currentLine=87359513; + //BA.debugLineNum = 87359513;BA.debugLine="Else If GetType(tempArray(0)) = \"[B\" Then"; +if ((__c.GetType(__ref._temparray /*Object[]*/ [(int) (0)])).equals("[B")) { +RDebugUtils.currentLine=87359514; + //BA.debugLineNum = 87359514;BA.debugLine="data = o"; +_data = (byte[])(_o); +RDebugUtils.currentLine=87359515; + //BA.debugLineNum = 87359515;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_blob /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=87359516; + //BA.debugLineNum = 87359516;BA.debugLine="WriteInt(data.Length, out)"; +__ref._writeint /*String*/ (null,_data.length,_out); + }else { +RDebugUtils.currentLine=87359518; + //BA.debugLineNum = 87359518;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; +_out.WriteBytes(new byte[]{__ref._t_string /*byte*/ },(int) (0),(int) (1)); +RDebugUtils.currentLine=87359519; + //BA.debugLineNum = 87359519;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .StringToBytes(BA.ObjectToString(_o),"UTF8"); +RDebugUtils.currentLine=87359520; + //BA.debugLineNum = 87359520;BA.debugLine="WriteInt(data.Length, out)"; +__ref._writeint /*String*/ (null,_data.length,_out); + }}}}}}}} +; +RDebugUtils.currentLine=87359522; + //BA.debugLineNum = 87359522;BA.debugLine="If data.Length > 0 Then out.WriteBytes(data, 0, d"; +if (_data.length>0) { +_out.WriteBytes(_data,(int) (0),_data.length);}; +RDebugUtils.currentLine=87359523; + //BA.debugLineNum = 87359523;BA.debugLine="End Sub"; +return ""; +} +public String _writelist(gunav2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.collections.List _parameters,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writelist", false)) + {return ((String) Debug.delegate(ba, "writelist", new Object[] {_parameters,_out}));} byte[] _data = null; Object _o = null; - //BA.debugLineNum = 97;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; - //BA.debugLineNum = 98;BA.debugLine="Dim data() As Byte"; +RDebugUtils.currentLine=87293952; + //BA.debugLineNum = 87293952;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; +RDebugUtils.currentLine=87293953; + //BA.debugLineNum = 87293953;BA.debugLine="Dim data() As Byte"; _data = new byte[(int) (0)]; ; - //BA.debugLineNum = 99;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; +RDebugUtils.currentLine=87293954; + //BA.debugLineNum = 87293954;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; if (_parameters== null || _parameters.IsInitialized()==__c.False) { - //BA.debugLineNum = 100;BA.debugLine="Dim Parameters As List"; +RDebugUtils.currentLine=87293955; + //BA.debugLineNum = 87293955;BA.debugLine="Dim Parameters As List"; _parameters = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 101;BA.debugLine="Parameters.Initialize"; +RDebugUtils.currentLine=87293956; + //BA.debugLineNum = 87293956;BA.debugLine="Parameters.Initialize"; _parameters.Initialize(); }; - //BA.debugLineNum = 103;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; -_data = _bc.IntsToBytes(new int[]{_parameters.getSize()}); - //BA.debugLineNum = 104;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +RDebugUtils.currentLine=87293958; + //BA.debugLineNum = 87293958;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsToBytes(new int[]{_parameters.getSize()}); +RDebugUtils.currentLine=87293959; + //BA.debugLineNum = 87293959;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; _out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 105;BA.debugLine="For Each o As Object In Parameters"; +RDebugUtils.currentLine=87293960; + //BA.debugLineNum = 87293960;BA.debugLine="For Each o As Object In Parameters"; { final anywheresoftware.b4a.BA.IterableList group8 = _parameters; final int groupLen8 = group8.getSize() @@ -745,87 +770,429 @@ final int groupLen8 = group8.getSize() ; for (; index8 < groupLen8;index8++){ _o = group8.Get(index8); - //BA.debugLineNum = 106;BA.debugLine="WriteObject(o, out)"; -_writeobject(_o,_out); +RDebugUtils.currentLine=87293961; + //BA.debugLineNum = 87293961;BA.debugLine="WriteObject(o, out)"; +__ref._writeobject /*String*/ (null,_o,_out); } }; - //BA.debugLineNum = 108;BA.debugLine="End Sub"; +RDebugUtils.currentLine=87293963; + //BA.debugLineNum = 87293963;BA.debugLine="End Sub"; return ""; } -public String _writeobject(Object _o,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +public String _executequery3(gunav2.keymon.com.mx.dbrequestmanager __ref,gunav2.keymon.com.mx.dbrequestmanager._dbcommand _command,int _limit,Object _tag,int _timeout) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executequery3", false)) + {return ((String) Debug.delegate(ba, "executequery3", new Object[] {_command,_limit,_tag,_timeout}));} +gunav2.keymon.com.mx.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; +RDebugUtils.currentLine=87031808; + //BA.debugLineNum = 87031808;BA.debugLine="Public Sub ExecuteQuery3(Command As DBCommand, Lim"; +RDebugUtils.currentLine=87031809; + //BA.debugLineNum = 87031809;BA.debugLine="Dim j As HttpJob"; +_j = new gunav2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=87031810; + //BA.debugLineNum = 87031810;BA.debugLine="Dim ms As OutputStream"; +_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=87031811; + //BA.debugLineNum = 87031811;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; +_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out2 = __ref._startjob /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ (null,_j,_ms,_tag); +RDebugUtils.currentLine=87031812; + //BA.debugLineNum = 87031812;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=87031813; + //BA.debugLineNum = 87031813;BA.debugLine="WriteInt(Limit, out2)"; +__ref._writeint /*String*/ (null,_limit,_out2); +RDebugUtils.currentLine=87031814; + //BA.debugLineNum = 87031814;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); +RDebugUtils.currentLine=87031815; + //BA.debugLineNum = 87031815;BA.debugLine="out2.Close"; +_out2.Close(); +RDebugUtils.currentLine=87031816; + //BA.debugLineNum = 87031816;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=query",_ms.ToBytesArray()); +RDebugUtils.currentLine=87031817; + //BA.debugLineNum = 87031817;BA.debugLine="If Timeout <> 0 Then j.GetRequest.Timeout = Time"; +if (_timeout!=0) { +_j._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null).setTimeout(_timeout);}; +RDebugUtils.currentLine=87031818; + //BA.debugLineNum = 87031818;BA.debugLine="End Sub"; +return ""; +} +public byte[] _filetobytes(gunav2.keymon.com.mx.dbrequestmanager __ref,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "filetobytes", false)) + {return ((byte[]) Debug.delegate(ba, "filetobytes", new Object[] {_dir,_filename}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +RDebugUtils.currentLine=87818240; + //BA.debugLineNum = 87818240;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; +RDebugUtils.currentLine=87818241; + //BA.debugLineNum = 87818241;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=87818242; + //BA.debugLineNum = 87818242;BA.debugLine="out.InitializeToBytesArray(0)"; +_out.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=87818243; + //BA.debugLineNum = 87818243;BA.debugLine="Dim In As InputStream = File.OpenInput(Dir, FileN"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +_in = __c.File.OpenInput(_dir,_filename); +RDebugUtils.currentLine=87818244; + //BA.debugLineNum = 87818244;BA.debugLine="File.Copy2(In, out)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=87818245; + //BA.debugLineNum = 87818245;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=87818246; + //BA.debugLineNum = 87818246;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=87818247; + //BA.debugLineNum = 87818247;BA.debugLine="End Sub"; +return null; +} +public Object _readobject(gunav2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readobject", false)) + {return ((Object) Debug.delegate(ba, "readobject", new Object[] {_in}));} byte[] _data = null; -boolean _b = false; - //BA.debugLineNum = 110;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; - //BA.debugLineNum = 111;BA.debugLine="Dim data() As Byte"; -_data = new byte[(int) (0)]; -; - //BA.debugLineNum = 112;BA.debugLine="tempArray(0) = o"; -_temparray[(int) (0)] = _o; - //BA.debugLineNum = 113;BA.debugLine="If tempArray(0) = Null Then"; -if (_temparray[(int) (0)]== null) { - //BA.debugLineNum = 114;BA.debugLine="out.WriteBytes(Array As Byte(T_NULL), 0, 1)"; -_out.WriteBytes(new byte[]{_t_null},(int) (0),(int) (1)); - }else if(_temparray[(int) (0)] instanceof Short) { - //BA.debugLineNum = 116;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_short},(int) (0),(int) (1)); - //BA.debugLineNum = 117;BA.debugLine="data = bc.ShortsToBytes(Array As Short(o))"; -_data = _bc.ShortsToBytes(new short[]{(short)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Integer) { - //BA.debugLineNum = 119;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_int},(int) (0),(int) (1)); - //BA.debugLineNum = 120;BA.debugLine="data = bc.IntsToBytes(Array As Int(o))"; -_data = _bc.IntsToBytes(new int[]{(int)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Float) { - //BA.debugLineNum = 122;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_float},(int) (0),(int) (1)); - //BA.debugLineNum = 123;BA.debugLine="data = bc.FloatsToBytes(Array As Float(o))"; -_data = _bc.FloatsToBytes(new float[]{(float)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Double) { - //BA.debugLineNum = 125;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; -_out.WriteBytes(new byte[]{_t_double},(int) (0),(int) (1)); - //BA.debugLineNum = 126;BA.debugLine="data = bc.DoublesToBytes(Array As Double(o))"; -_data = _bc.DoublesToBytes(new double[]{(double)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Long) { - //BA.debugLineNum = 128;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; -_out.WriteBytes(new byte[]{_t_long},(int) (0),(int) (1)); - //BA.debugLineNum = 129;BA.debugLine="data = bc.LongsToBytes(Array As Long(o))"; -_data = _bc.LongsToBytes(new long[]{BA.ObjectToLongNumber(_o)}); - }else if(_temparray[(int) (0)] instanceof Boolean) { - //BA.debugLineNum = 131;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; -_out.WriteBytes(new byte[]{_t_boolean},(int) (0),(int) (1)); - //BA.debugLineNum = 132;BA.debugLine="Dim b As Boolean = 0"; -_b = BA.ObjectToBoolean(0); - //BA.debugLineNum = 133;BA.debugLine="Dim data(1) As Byte"; +byte _b = (byte)0; +int _len = 0; +RDebugUtils.currentLine=87425024; + //BA.debugLineNum = 87425024;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; +RDebugUtils.currentLine=87425025; + //BA.debugLineNum = 87425025;BA.debugLine="Dim data(1) As Byte"; _data = new byte[(int) (1)]; ; - //BA.debugLineNum = 134;BA.debugLine="If b Then data(0) = 1 Else data(0) = 0"; -if (_b) { -_data[(int) (0)] = (byte) (1);} -else { -_data[(int) (0)] = (byte) (0);}; - }else if((__c.GetType(_temparray[(int) (0)])).equals("[B")) { - //BA.debugLineNum = 136;BA.debugLine="data = o"; -_data = (byte[])(_o); - //BA.debugLineNum = 137;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; -_out.WriteBytes(new byte[]{_t_blob},(int) (0),(int) (1)); - //BA.debugLineNum = 138;BA.debugLine="WriteInt(data.Length, out)"; -_writeint(_data.length,_out); - }else { - //BA.debugLineNum = 140;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; -_out.WriteBytes(new byte[]{_t_string},(int) (0),(int) (1)); - //BA.debugLineNum = 141;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; -_data = _bc.StringToBytes(BA.ObjectToString(_o),"UTF8"); - //BA.debugLineNum = 142;BA.debugLine="WriteInt(data.Length, out)"; -_writeint(_data.length,_out); - }; - //BA.debugLineNum = 144;BA.debugLine="If data.Length > 0 Then out.WriteBytes(data, 0, d"; -if (_data.length>0) { -_out.WriteBytes(_data,(int) (0),_data.length);}; - //BA.debugLineNum = 145;BA.debugLine="End Sub"; +RDebugUtils.currentLine=87425026; + //BA.debugLineNum = 87425026;BA.debugLine="In.ReadBytes(data, 0, 1)"; +_in.ReadBytes(_data,(int) (0),(int) (1)); +RDebugUtils.currentLine=87425027; + //BA.debugLineNum = 87425027;BA.debugLine="Select data(0)"; +switch (BA.switchObjectToInt(_data[(int) (0)],__ref._t_null /*byte*/ ,__ref._t_short /*byte*/ ,__ref._t_int /*byte*/ ,__ref._t_long /*byte*/ ,__ref._t_float /*byte*/ ,__ref._t_double /*byte*/ ,__ref._t_boolean /*byte*/ ,__ref._t_blob /*byte*/ )) { +case 0: { +RDebugUtils.currentLine=87425029; + //BA.debugLineNum = 87425029;BA.debugLine="Return Null"; +if (true) return __c.Null; + break; } +case 1: { +RDebugUtils.currentLine=87425031; + //BA.debugLineNum = 87425031;BA.debugLine="Dim data(2) As Byte"; +_data = new byte[(int) (2)]; +; +RDebugUtils.currentLine=87425032; + //BA.debugLineNum = 87425032;BA.debugLine="Return bc.ShortsFromBytes(ReadBytesFully(In, da"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .ShortsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 2: { +RDebugUtils.currentLine=87425034; + //BA.debugLineNum = 87425034;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=87425035; + //BA.debugLineNum = 87425035;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 3: { +RDebugUtils.currentLine=87425037; + //BA.debugLineNum = 87425037;BA.debugLine="Dim data(8) As Byte"; +_data = new byte[(int) (8)]; +; +RDebugUtils.currentLine=87425038; + //BA.debugLineNum = 87425038;BA.debugLine="Return bc.LongsFromBytes(ReadBytesFully(In, dat"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .LongsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 4: { +RDebugUtils.currentLine=87425040; + //BA.debugLineNum = 87425040;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=87425041; + //BA.debugLineNum = 87425041;BA.debugLine="Return bc.FloatsFromBytes(ReadBytesFully(In, da"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .FloatsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 5: { +RDebugUtils.currentLine=87425043; + //BA.debugLineNum = 87425043;BA.debugLine="Dim data(8) As Byte"; +_data = new byte[(int) (8)]; +; +RDebugUtils.currentLine=87425044; + //BA.debugLineNum = 87425044;BA.debugLine="Return bc.DoublesFromBytes(ReadBytesFully(In, d"; +if (true) return (Object)(__ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .DoublesFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]); + break; } +case 6: { +RDebugUtils.currentLine=87425046; + //BA.debugLineNum = 87425046;BA.debugLine="Dim b As Byte = ReadByte(In)"; +_b = __ref._readbyte /*byte*/ (null,_in); +RDebugUtils.currentLine=87425047; + //BA.debugLineNum = 87425047;BA.debugLine="Return b = 1"; +if (true) return (Object)(_b==1); + break; } +case 7: { +RDebugUtils.currentLine=87425049; + //BA.debugLineNum = 87425049;BA.debugLine="Dim len As Int = ReadInt(In)"; +_len = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=87425050; + //BA.debugLineNum = 87425050;BA.debugLine="Dim data(len) As Byte"; +_data = new byte[_len]; +; +RDebugUtils.currentLine=87425051; + //BA.debugLineNum = 87425051;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; +if (true) return (Object)(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length)); + break; } +default: { +RDebugUtils.currentLine=87425053; + //BA.debugLineNum = 87425053;BA.debugLine="Dim len As Int = ReadInt(In)"; +_len = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=87425054; + //BA.debugLineNum = 87425054;BA.debugLine="Dim data(len) As Byte"; +_data = new byte[_len]; +; +RDebugUtils.currentLine=87425055; + //BA.debugLineNum = 87425055;BA.debugLine="ReadBytesFully(In, data, data.Length)"; +__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length); +RDebugUtils.currentLine=87425056; + //BA.debugLineNum = 87425056;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; +if (true) return (Object)(__c.BytesToString(_data,(int) (0),_data.length,"UTF8")); + break; } +} +; +RDebugUtils.currentLine=87425058; + //BA.debugLineNum = 87425058;BA.debugLine="End Sub"; +return null; +} +public int _readint(gunav2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readint", false)) + {return ((Integer) Debug.delegate(ba, "readint", new Object[] {_in}));} +byte[] _data = null; +RDebugUtils.currentLine=87621632; + //BA.debugLineNum = 87621632;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; +RDebugUtils.currentLine=87621633; + //BA.debugLineNum = 87621633;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=87621634; + //BA.debugLineNum = 87621634;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; +if (true) return __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsFromBytes(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length))[(int) (0)]; +RDebugUtils.currentLine=87621635; + //BA.debugLineNum = 87621635;BA.debugLine="End Sub"; +return 0; +} +public byte _readbyte(gunav2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readbyte", false)) + {return ((Byte) Debug.delegate(ba, "readbyte", new Object[] {_in}));} +byte[] _data = null; +RDebugUtils.currentLine=87687168; + //BA.debugLineNum = 87687168;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; +RDebugUtils.currentLine=87687169; + //BA.debugLineNum = 87687169;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=87687170; + //BA.debugLineNum = 87687170;BA.debugLine="In.ReadBytes(data, 0, 1)"; +_in.ReadBytes(_data,(int) (0),(int) (1)); +RDebugUtils.currentLine=87687171; + //BA.debugLineNum = 87687171;BA.debugLine="Return data(0)"; +if (true) return _data[(int) (0)]; +RDebugUtils.currentLine=87687172; + //BA.debugLineNum = 87687172;BA.debugLine="End Sub"; +return (byte)0; +} +public byte[] _imagetobytes(gunav2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "imagetobytes", false)) + {return ((byte[]) Debug.delegate(ba, "imagetobytes", new Object[] {_image}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=87883776; + //BA.debugLineNum = 87883776;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; +RDebugUtils.currentLine=87883777; + //BA.debugLineNum = 87883777;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=87883778; + //BA.debugLineNum = 87883778;BA.debugLine="out.InitializeToBytesArray(0)"; +_out.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=87883779; + //BA.debugLineNum = 87883779;BA.debugLine="Image.WriteToStream(out, 100, \"JPEG\")"; +_image.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG")); +RDebugUtils.currentLine=87883780; + //BA.debugLineNum = 87883780;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=87883781; + //BA.debugLineNum = 87883781;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=87883782; + //BA.debugLineNum = 87883782;BA.debugLine="End Sub"; +return null; +} +public String _printtable(gunav2.keymon.com.mx.dbrequestmanager __ref,gunav2.keymon.com.mx.dbrequestmanager._dbresult _table) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "printtable", false)) + {return ((String) Debug.delegate(ba, "printtable", new Object[] {_table}));} +anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +Object _col = null; +Object[] _row = null; +Object _record = null; +RDebugUtils.currentLine=88014848; + //BA.debugLineNum = 88014848;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; +RDebugUtils.currentLine=88014849; + //BA.debugLineNum = 88014849;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; +__c.LogImpl("088014849","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); +RDebugUtils.currentLine=88014850; + //BA.debugLineNum = 88014850;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=88014851; + //BA.debugLineNum = 88014851;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=88014852; + //BA.debugLineNum = 88014852;BA.debugLine="For Each col In Table.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group4 = _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen4 = group4.getSize() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_col = group4.Get(index4); +RDebugUtils.currentLine=88014853; + //BA.debugLineNum = 88014853;BA.debugLine="sb.Append(col).Append(TAB)"; +_sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); + } +}; +RDebugUtils.currentLine=88014855; + //BA.debugLineNum = 88014855;BA.debugLine="Log(sb.ToString)"; +__c.LogImpl("088014855",_sb.ToString(),0); +RDebugUtils.currentLine=88014856; + //BA.debugLineNum = 88014856;BA.debugLine="For Each row() As Object In Table.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group8 = _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen8 = group8.getSize() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_row = (Object[])(group8.Get(index8)); +RDebugUtils.currentLine=88014857; + //BA.debugLineNum = 88014857;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=88014858; + //BA.debugLineNum = 88014858;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=88014859; + //BA.debugLineNum = 88014859;BA.debugLine="For Each record As Object In row"; +{ +final Object[] group11 = _row; +final int groupLen11 = group11.length +;int index11 = 0; +; +for (; index11 < groupLen11;index11++){ +_record = group11[index11]; +RDebugUtils.currentLine=88014860; + //BA.debugLineNum = 88014860;BA.debugLine="sb.Append(record).Append(TAB)"; +_sb.Append(BA.ObjectToString(_record)).Append(__c.TAB); + } +}; +RDebugUtils.currentLine=88014862; + //BA.debugLineNum = 88014862;BA.debugLine="Log(sb.ToString)"; +__c.LogImpl("088014862",_sb.ToString(),0); + } +}; +RDebugUtils.currentLine=88014864; + //BA.debugLineNum = 88014864;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public byte[] _readbytesfully(gunav2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in,byte[] _data,int _len) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readbytesfully", false)) + {return ((byte[]) Debug.delegate(ba, "readbytesfully", new Object[] {_in,_data,_len}));} +int _count = 0; +int _read = 0; +RDebugUtils.currentLine=87490560; + //BA.debugLineNum = 87490560;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; +RDebugUtils.currentLine=87490561; + //BA.debugLineNum = 87490561;BA.debugLine="Dim count = 0, read As Int"; +_count = (int) (0); +_read = 0; +RDebugUtils.currentLine=87490562; + //BA.debugLineNum = 87490562;BA.debugLine="Do While count < Len And read > -1"; +while (_count<_len && _read>-1) { +RDebugUtils.currentLine=87490563; + //BA.debugLineNum = 87490563;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; +_read = _in.ReadBytes(_data,_count,(int) (_len-_count)); +RDebugUtils.currentLine=87490564; + //BA.debugLineNum = 87490564;BA.debugLine="count = count + read"; +_count = (int) (_count+_read); + } +; +RDebugUtils.currentLine=87490566; + //BA.debugLineNum = 87490566;BA.debugLine="Return Data"; +if (true) return _data; +RDebugUtils.currentLine=87490567; + //BA.debugLineNum = 87490567;BA.debugLine="End Sub"; +return null; } +public anywheresoftware.b4a.objects.collections.Map _requesttimes(gunav2.keymon.com.mx.dbrequestmanager __ref,String _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "requesttimes", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(ba, "requesttimes", new Object[] {_tag}));} +anywheresoftware.b4a.objects.collections.Map _times = null; +String _requesttime = ""; +String _jobdonetime = ""; +RDebugUtils.currentLine=88080384; + //BA.debugLineNum = 88080384;BA.debugLine="Sub requestTimes(tag As String) As Map 'ignore"; +RDebugUtils.currentLine=88080385; + //BA.debugLineNum = 88080385;BA.debugLine="Private times As Map"; +_times = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=88080386; + //BA.debugLineNum = 88080386;BA.debugLine="times.Initialize"; +_times.Initialize(); +RDebugUtils.currentLine=88080389; + //BA.debugLineNum = 88080389;BA.debugLine="If reqsList.IsInitialized Then"; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { +RDebugUtils.currentLine=88080392; + //BA.debugLineNum = 88080392;BA.debugLine="If inicioRequestMap.ContainsKey(tag) Then"; +if (__ref._iniciorequestmap /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey((Object)(_tag))) { +RDebugUtils.currentLine=88080393; + //BA.debugLineNum = 88080393;BA.debugLine="inicioRequest = inicioRequestMap.Get(tag)"; +__ref._iniciorequest /*long*/ = BA.ObjectToLongNumber(__ref._iniciorequestmap /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_tag))); + }; +RDebugUtils.currentLine=88080396; + //BA.debugLineNum = 88080396;BA.debugLine="If inicioJobDoneMap.ContainsKey(tag) Then"; +if (__ref._iniciojobdonemap /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey((Object)(_tag))) { +RDebugUtils.currentLine=88080397; + //BA.debugLineNum = 88080397;BA.debugLine="inicioJobDone = inicioJobDoneMap.Get(tag)"; +__ref._iniciojobdone /*long*/ = BA.ObjectToLongNumber(__ref._iniciojobdonemap /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_tag))); + }; + }; +RDebugUtils.currentLine=88080402; + //BA.debugLineNum = 88080402;BA.debugLine="Private requestTime As String = NumberFormat2(((i"; +_requesttime = __c.NumberFormat2(((__ref._iniciojobdone /*long*/ -__ref._iniciorequest /*long*/ )/(double)1000),(int) (1),(int) (5),(int) (0),__c.False); +RDebugUtils.currentLine=88080403; + //BA.debugLineNum = 88080403;BA.debugLine="Private JobDoneTime As String = NumberFormat2(((D"; +_jobdonetime = __c.NumberFormat2(((__c.DateTime.getNow()-__ref._iniciojobdone /*long*/ )/(double)1000),(int) (1),(int) (5),(int) (0),__c.False); +RDebugUtils.currentLine=88080404; + //BA.debugLineNum = 88080404;BA.debugLine="times.Put(\"requestTime\", requestTime)"; +_times.Put((Object)("requestTime"),(Object)(_requesttime)); +RDebugUtils.currentLine=88080405; + //BA.debugLineNum = 88080405;BA.debugLine="times.Put(\"jobDoneTime\", JobDoneTime)"; +_times.Put((Object)("jobDoneTime"),(Object)(_jobdonetime)); +RDebugUtils.currentLine=88080406; + //BA.debugLineNum = 88080406;BA.debugLine="times.Put(\"totalTime\", NumberFormat2((JobDoneTime"; +_times.Put((Object)("totalTime"),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(_jobdonetime))+(double)(Double.parseDouble(_requesttime))),(int) (1),(int) (5),(int) (0),__c.False))); +RDebugUtils.currentLine=88080407; + //BA.debugLineNum = 88080407;BA.debugLine="Return times"; +if (true) return _times; +RDebugUtils.currentLine=88080408; + //BA.debugLineNum = 88080408;BA.debugLine="End Sub"; +return null; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.java b/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.java new file mode 100644 index 0000000..ce5d211 --- /dev/null +++ b/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_clientes_completos.java @@ -0,0 +1,21 @@ +package gunav2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_clientes_completos{ + +public static void LS_320x480_1(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, +java.util.Map views, int width, int height, float scale) throws Exception { +anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); +views.get("panel4").vw.setLeft((int)((50d / 100 * width) - (views.get("panel4").vw.getWidth() / 2))); + +} +public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, +java.util.Map views, int width, int height, float scale) throws Exception { +anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_principal.java b/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_principal.java index 2a03dee..3d0b7c7 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_principal.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_principal.java @@ -25,6 +25,9 @@ views.get("subir").vw.setLeft((int)((76d / 100 * width) - (views.get("subir").vw views.get("p_sombra3").vw.setLeft((int)((76.5d / 100 * width) - (views.get("p_sombra3").vw.getWidth() / 2))); views.get("b_ubicar").vw.setLeft((int)((76d / 100 * width) - (views.get("b_ubicar").vw.getWidth() / 2))); views.get("p_sombra4").vw.setLeft((int)((76.5d / 100 * width) - (views.get("p_sombra4").vw.getWidth() / 2))); +views.get("b_traec").vw.setLeft((int)((76d / 100 * width) - (views.get("b_traec").vw.getWidth() / 2))); +views.get("subir").vw.setLeft((int)((76d / 100 * width) - (views.get("subir").vw.getWidth() / 2))); +views.get("panel14").vw.setLeft((int)((76.5d / 100 * width) - (views.get("panel14").vw.getWidth() / 2))); } } \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.java b/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.java new file mode 100644 index 0000000..aa80bed --- /dev/null +++ b/B4A/Objects/src/gunav2/keymon/com/mx/designerscripts/LS_vista_todoslosclientes.java @@ -0,0 +1,19 @@ +package gunav2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_vista_todoslosclientes{ + +public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, +java.util.Map views, int width, int height, float scale) throws Exception { +anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); +views.get("p_cliente").vw.setLeft((int)(0d)); +views.get("p_cliente").vw.setWidth((int)((100d / 100 * width) - (0d))); +views.get("p_cliente_").vw.setLeft((int)(0d)); +views.get("p_cliente_").vw.setWidth((int)((100d / 100 * width) - (0d))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/escposprinter.java b/B4A/Objects/src/gunav2/keymon/com/mx/escposprinter.java index afa95d3..f398e09 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/escposprinter.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/escposprinter.java @@ -10,7 +10,7 @@ public class escposprinter extends B4AClass.ImplB4AClass implements BA.SubDelega private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.escposprinter"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.escposprinter"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,30 @@ public class escposprinter extends B4AClass.ImplB4AClass implements BA.SubDelega ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public static class _animage{ +public boolean IsInitialized; +public int Width; +public int Height; +public byte[] Data; +public void Initialize() { +IsInitialized = true; +Width = 0; +Height = 0; +Data = new byte[0]; +; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; public double _version = 0; public String _eventname = ""; public Object _callback = null; @@ -63,263 +86,454 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _animage{ -public boolean IsInitialized; -public int Width; -public int Height; -public byte[] Data; -public void Initialize() { -IsInitialized = true; -Width = 0; -Height = 0; -Data = new byte[0]; -; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _astream_error() throws Exception{ - //BA.debugLineNum = 1141;BA.debugLine="Private Sub AStream_Error"; - //BA.debugLineNum = 1142;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; -if (__c.SubExists(ba,_callback,_eventname+"_Error")) { - //BA.debugLineNum = 1143;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; -__c.CallSubNew(ba,_callback,_eventname+"_Error"); - }; - //BA.debugLineNum = 1145;BA.debugLine="End Sub"; +public String _initialize(gunav2.keymon.com.mx.escposprinter __ref,anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_vcallback,_veventname}));} +RDebugUtils.currentLine=88342528; + //BA.debugLineNum = 88342528;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; +RDebugUtils.currentLine=88342529; + //BA.debugLineNum = 88342529;BA.debugLine="EventName = vEventName"; +__ref._eventname /*String*/ = _veventname; +RDebugUtils.currentLine=88342530; + //BA.debugLineNum = 88342530;BA.debugLine="CallBack = vCallback"; +__ref._callback /*Object*/ = _vcallback; +RDebugUtils.currentLine=88342531; + //BA.debugLineNum = 88342531;BA.debugLine="Serial1.Initialize(\"Serial1\")"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Serial1"); +RDebugUtils.currentLine=88342532; + //BA.debugLineNum = 88342532;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=88342533; + //BA.debugLineNum = 88342533;BA.debugLine="ConnectedError = \"\""; +__ref._connectederror /*String*/ = ""; +RDebugUtils.currentLine=88342534; + //BA.debugLineNum = 88342534;BA.debugLine="End Sub"; return ""; } -public String _astream_newdata(byte[] _buffer) throws Exception{ - //BA.debugLineNum = 1134;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; - //BA.debugLineNum = 1135;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; -if (__c.SubExists(ba,_callback,_eventname+"_NewData")) { - //BA.debugLineNum = 1136;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; -__c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer)); - }; - //BA.debugLineNum = 1138;BA.debugLine="Log(\"Data \" & Buffer(0))"; -__c.LogImpl("489784324","Data "+BA.NumberToString(_buffer[(int) (0)]),0); - //BA.debugLineNum = 1139;BA.debugLine="End Sub"; +public boolean _isconnected(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "isconnected", false)) + {return ((Boolean) Debug.delegate(ba, "isconnected", null));} +RDebugUtils.currentLine=88473600; + //BA.debugLineNum = 88473600;BA.debugLine="Public Sub IsConnected As Boolean"; +RDebugUtils.currentLine=88473601; + //BA.debugLineNum = 88473601;BA.debugLine="Return Connected"; +if (true) return __ref._connected /*boolean*/ ; +RDebugUtils.currentLine=88473602; + //BA.debugLineNum = 88473602;BA.debugLine="End Sub"; +return false; +} +public String _disconnect(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "disconnect", false)) + {return ((String) Debug.delegate(ba, "disconnect", null));} +RDebugUtils.currentLine=88670208; + //BA.debugLineNum = 88670208;BA.debugLine="Public Sub DisConnect"; +RDebugUtils.currentLine=88670209; + //BA.debugLineNum = 88670209;BA.debugLine="Serial1.Disconnect"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); +RDebugUtils.currentLine=88670210; + //BA.debugLineNum = 88670210;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=88670211; + //BA.debugLineNum = 88670211;BA.debugLine="End Sub"; return ""; } -public String _astream_terminated() throws Exception{ - //BA.debugLineNum = 1147;BA.debugLine="Private Sub AStream_Terminated"; - //BA.debugLineNum = 1148;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 1149;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; -if (__c.SubExists(ba,_callback,_eventname+"_Terminated")) { - //BA.debugLineNum = 1150;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; -__c.CallSubNew(ba,_callback,_eventname+"_Terminated"); - }; - //BA.debugLineNum = 1152;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 11;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; -_version = 2.0; - //BA.debugLineNum = 13;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; -; - //BA.debugLineNum = 15;BA.debugLine="Private EventName As String 'ignore"; -_eventname = ""; - //BA.debugLineNum = 16;BA.debugLine="Private CallBack As Object 'ignore"; -_callback = new Object(); - //BA.debugLineNum = 18;BA.debugLine="Private Serial1 As Serial"; -_serial1 = new anywheresoftware.b4a.objects.Serial(); - //BA.debugLineNum = 19;BA.debugLine="Private Astream As AsyncStreams"; -_astream = new anywheresoftware.b4a.randomaccessfile.AsyncStreams(); - //BA.debugLineNum = 20;BA.debugLine="Private Connected As Boolean"; -_connected = false; - //BA.debugLineNum = 21;BA.debugLine="Private ConnectedError As String"; -_connectederror = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim ESC As String = Chr(27)"; -_esc = BA.ObjectToString(__c.Chr((int) (27))); - //BA.debugLineNum = 24;BA.debugLine="Dim FS As String = Chr(28)"; -_fs = BA.ObjectToString(__c.Chr((int) (28))); - //BA.debugLineNum = 25;BA.debugLine="Dim GS As String = Chr(29)"; -_gs = BA.ObjectToString(__c.Chr((int) (29))); - //BA.debugLineNum = 28;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; -_unreverse = _gs+"B"+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 29;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; -_reverse = _gs+"B"+BA.ObjectToString(__c.Chr((int) (1))); - //BA.debugLineNum = 32;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; -_uninvert = _esc+"{0"; - //BA.debugLineNum = 33;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; -_invert = _esc+"{1"; - //BA.debugLineNum = 36;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; -_unrotate = _esc+"V0"; - //BA.debugLineNum = 37;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; -_rotate = _esc+"V1"; - //BA.debugLineNum = 40;BA.debugLine="Dim HT As String = Chr(9)"; -_ht = BA.ObjectToString(__c.Chr((int) (9))); - //BA.debugLineNum = 43;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; -_uline0 = _esc+"-0"; - //BA.debugLineNum = 44;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; -_uline1 = _esc+"-1"; - //BA.debugLineNum = 45;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; -_uline2 = _esc+"-2"; - //BA.debugLineNum = 48;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; -_bold = _esc+"E1"; - //BA.debugLineNum = 49;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; -_nobold = _esc+"E0"; - //BA.debugLineNum = 52;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; -_single = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x00))); - //BA.debugLineNum = 53;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; -_high = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x01))); - //BA.debugLineNum = 54;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; -_wide = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x10))); - //BA.debugLineNum = 55;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; -_highwide = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x11))); - //BA.debugLineNum = 58;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; -_leftjustify = _esc+"a0"; - //BA.debugLineNum = 59;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; -_linedefault = _esc+"2"; - //BA.debugLineNum = 60;BA.debugLine="Private LINSET0 As String = ESC & \"$\" & Chr(0x0)"; -_linset0 = _esc+"$"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); - //BA.debugLineNum = 61;BA.debugLine="Private LMARGIN0 As String = GS & \"L\" & Chr(0x0)"; -_lmargin0 = _gs+"L"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); - //BA.debugLineNum = 62;BA.debugLine="Private WIDTH0 As String = GS & \"W\" & Chr(0xff) &"; -_width0 = _gs+"W"+BA.ObjectToString(__c.Chr(((int)0xff)))+BA.ObjectToString(__c.Chr(((int)0xff))); - //BA.debugLineNum = 63;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; -_charspacing0 = _esc+" "+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 64;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; -_charfont0 = _esc+"M"+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 65;BA.debugLine="Dim DEFAULTS As String = CHARSPACING0 & CHARFONT"; -_defaults = _charspacing0+_charfont0+_lmargin0+_width0+_linset0+_linedefault+_leftjustify+_uninvert+_unrotate+_unreverse+_nobold+_uline0; - //BA.debugLineNum = 68;BA.debugLine="End Sub"; -return ""; -} -public boolean _connect() throws Exception{ +public boolean _connect(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "connect", false)) + {return ((Boolean) Debug.delegate(ba, "connect", null));} anywheresoftware.b4a.objects.collections.Map _paireddevices = null; anywheresoftware.b4a.objects.collections.List _l = null; int _i = 0; int _res = 0; - //BA.debugLineNum = 100;BA.debugLine="Public Sub Connect As Boolean"; - //BA.debugLineNum = 104;BA.debugLine="Try"; -try { //BA.debugLineNum = 105;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; +RDebugUtils.currentLine=88604672; + //BA.debugLineNum = 88604672;BA.debugLine="Public Sub Connect As Boolean"; +RDebugUtils.currentLine=88604676; + //BA.debugLineNum = 88604676;BA.debugLine="Try"; +try {RDebugUtils.currentLine=88604677; + //BA.debugLineNum = 88604677;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; if ((_starter._mac_impresora /*String*/ ).equals("0")) { - //BA.debugLineNum = 106;BA.debugLine="Dim PairedDevices As Map"; +RDebugUtils.currentLine=88604678; + //BA.debugLineNum = 88604678;BA.debugLine="Dim PairedDevices As Map"; _paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 107;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; -_paireddevices = _serial1.GetPairedDevices(); - //BA.debugLineNum = 108;BA.debugLine="Dim l As List"; +RDebugUtils.currentLine=88604679; + //BA.debugLineNum = 88604679;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; +_paireddevices = __ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices(); +RDebugUtils.currentLine=88604680; + //BA.debugLineNum = 88604680;BA.debugLine="Dim l As List"; _l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 109;BA.debugLine="l.Initialize"; +RDebugUtils.currentLine=88604681; + //BA.debugLineNum = 88604681;BA.debugLine="l.Initialize"; _l.Initialize(); - //BA.debugLineNum = 110;BA.debugLine="Log(\"aqui 1\")"; -__c.LogImpl("486638602","aqui 1",0); - //BA.debugLineNum = 111;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +RDebugUtils.currentLine=88604682; + //BA.debugLineNum = 88604682;BA.debugLine="Log(\"aqui 1\")"; +__c.LogImpl("088604682","aqui 1",0); +RDebugUtils.currentLine=88604683; + //BA.debugLineNum = 88604683;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; { final int step8 = 1; final int limit8 = (int) (_paireddevices.getSize()-1); _i = (int) (0) ; for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 112;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; +RDebugUtils.currentLine=88604684; + //BA.debugLineNum = 88604684;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; _l.Add(_paireddevices.GetKeyAt(_i)); - //BA.debugLineNum = 113;BA.debugLine="Log(\"aqui 2\")"; -__c.LogImpl("486638605","aqui 2",0); - //BA.debugLineNum = 114;BA.debugLine="DisConnect"; -_disconnect(); +RDebugUtils.currentLine=88604685; + //BA.debugLineNum = 88604685;BA.debugLine="Log(\"aqui 2\")"; +__c.LogImpl("088604685","aqui 2",0); +RDebugUtils.currentLine=88604686; + //BA.debugLineNum = 88604686;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); } }; - //BA.debugLineNum = 116;BA.debugLine="Dim Res As Int"; +RDebugUtils.currentLine=88604688; + //BA.debugLineNum = 88604688;BA.debugLine="Dim Res As Int"; _res = 0; - //BA.debugLineNum = 117;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; +RDebugUtils.currentLine=88604689; + //BA.debugLineNum = 88604689;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; _res = __c.InputList(_l,BA.ObjectToCharSequence("Choose a printer"),(int) (-1),getActivityBA()); - //BA.debugLineNum = 118;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; +RDebugUtils.currentLine=88604690; + //BA.debugLineNum = 88604690;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; if (_res!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 119;BA.debugLine="Serial1.Connect(PairedDevices.Get(l.Get(Res)))"; -_serial1.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_res)))); - //BA.debugLineNum = 121;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; +RDebugUtils.currentLine=88604691; + //BA.debugLineNum = 88604691;BA.debugLine="Serial1.Connect(PairedDevices.Get(l.Get(Res)))"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_res)))); +RDebugUtils.currentLine=88604693; + //BA.debugLineNum = 88604693;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; _starter._mac_impresora /*String*/ = BA.ObjectToString(_paireddevices.Get(_l.Get(_res))); - //BA.debugLineNum = 122;BA.debugLine="Return True"; +RDebugUtils.currentLine=88604694; + //BA.debugLineNum = 88604694;BA.debugLine="Return True"; if (true) return __c.True; - //BA.debugLineNum = 123;BA.debugLine="DisConnect"; -_disconnect(); - //BA.debugLineNum = 124;BA.debugLine="Log(\"aqui 3\")"; -__c.LogImpl("486638616","aqui 3",0); +RDebugUtils.currentLine=88604695; + //BA.debugLineNum = 88604695;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); +RDebugUtils.currentLine=88604696; + //BA.debugLineNum = 88604696;BA.debugLine="Log(\"aqui 3\")"; +__c.LogImpl("088604696","aqui 3",0); }; - //BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")"; -__c.LogImpl("486638618","aqui 4",0); - //BA.debugLineNum = 127;BA.debugLine="Return False"; +RDebugUtils.currentLine=88604698; + //BA.debugLineNum = 88604698;BA.debugLine="Log(\"aqui 4\")"; +__c.LogImpl("088604698","aqui 4",0); +RDebugUtils.currentLine=88604699; + //BA.debugLineNum = 88604699;BA.debugLine="Return False"; if (true) return __c.False; }else { - //BA.debugLineNum = 129;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; -_serial1.Connect(ba,_starter._mac_impresora /*String*/ ); - //BA.debugLineNum = 131;BA.debugLine="Return True"; +RDebugUtils.currentLine=88604701; + //BA.debugLineNum = 88604701;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,_starter._mac_impresora /*String*/ ); +RDebugUtils.currentLine=88604703; + //BA.debugLineNum = 88604703;BA.debugLine="Return True"; if (true) return __c.True; - //BA.debugLineNum = 132;BA.debugLine="DisConnect"; -_disconnect(); - //BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")"; -__c.LogImpl("486638625","aqui 5",0); +RDebugUtils.currentLine=88604704; + //BA.debugLineNum = 88604704;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); +RDebugUtils.currentLine=88604705; + //BA.debugLineNum = 88604705;BA.debugLine="Log(\"aqui 5\")"; +__c.LogImpl("088604705","aqui 5",0); }; } catch (Exception e31) { - ba.setLastException(e31); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)"; -__c.LogImpl("486638628",BA.ObjectToString(__c.LastException(getActivityBA())),0); - //BA.debugLineNum = 137;BA.debugLine="Return False"; + ba.setLastException(e31);RDebugUtils.currentLine=88604708; + //BA.debugLineNum = 88604708;BA.debugLine="Log(LastException)"; +__c.LogImpl("088604708",BA.ObjectToString(__c.LastException(getActivityBA())),0); +RDebugUtils.currentLine=88604709; + //BA.debugLineNum = 88604709;BA.debugLine="Return False"; if (true) return __c.False; }; - //BA.debugLineNum = 139;BA.debugLine="End Sub"; +RDebugUtils.currentLine=88604711; + //BA.debugLineNum = 88604711;BA.debugLine="End Sub"; return false; } -public String _connectederrormsg() throws Exception{ - //BA.debugLineNum = 84;BA.debugLine="Public Sub ConnectedErrorMsg As String"; - //BA.debugLineNum = 85;BA.debugLine="Return ConnectedError"; -if (true) return _connectederror; - //BA.debugLineNum = 86;BA.debugLine="End Sub"; +public String _writestring(gunav2.keymon.com.mx.escposprinter __ref,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writestring", false)) + {return ((String) Debug.delegate(ba, "writestring", new Object[] {_data}));} +RDebugUtils.currentLine=89587712; + //BA.debugLineNum = 89587712;BA.debugLine="Public Sub WriteString(data As String)"; +RDebugUtils.currentLine=89587713; + //BA.debugLineNum = 89587713;BA.debugLine="WriteString2(data, \"IBM437\")"; +__ref._writestring2 /*String*/ (null,_data,"IBM437"); +RDebugUtils.currentLine=89587714; + //BA.debugLineNum = 89587714;BA.debugLine="End Sub"; return ""; } -public int _createbox(int _x0,int _y0,int _x1,int _y1,boolean _fill) throws Exception{ +public String _astream_error(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_error", false)) + {return ((String) Debug.delegate(ba, "astream_error", null));} +RDebugUtils.currentLine=91815936; + //BA.debugLineNum = 91815936;BA.debugLine="Private Sub AStream_Error"; +RDebugUtils.currentLine=91815937; + //BA.debugLineNum = 91815937;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Error")) { +RDebugUtils.currentLine=91815938; + //BA.debugLineNum = 91815938;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Error"); + }; +RDebugUtils.currentLine=91815940; + //BA.debugLineNum = 91815940;BA.debugLine="End Sub"; +return ""; +} +public String _astream_newdata(gunav2.keymon.com.mx.escposprinter __ref,byte[] _buffer) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_newdata", false)) + {return ((String) Debug.delegate(ba, "astream_newdata", new Object[] {_buffer}));} +RDebugUtils.currentLine=91750400; + //BA.debugLineNum = 91750400;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; +RDebugUtils.currentLine=91750401; + //BA.debugLineNum = 91750401;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_NewData")) { +RDebugUtils.currentLine=91750402; + //BA.debugLineNum = 91750402;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_NewData",(Object)(_buffer)); + }; +RDebugUtils.currentLine=91750404; + //BA.debugLineNum = 91750404;BA.debugLine="Log(\"Data \" & Buffer(0))"; +__c.LogImpl("091750404","Data "+BA.NumberToString(_buffer[(int) (0)]),0); +RDebugUtils.currentLine=91750405; + //BA.debugLineNum = 91750405;BA.debugLine="End Sub"; +return ""; +} +public String _astream_terminated(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_terminated", false)) + {return ((String) Debug.delegate(ba, "astream_terminated", null));} +RDebugUtils.currentLine=91881472; + //BA.debugLineNum = 91881472;BA.debugLine="Private Sub AStream_Terminated"; +RDebugUtils.currentLine=91881473; + //BA.debugLineNum = 91881473;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=91881474; + //BA.debugLineNum = 91881474;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Terminated")) { +RDebugUtils.currentLine=91881475; + //BA.debugLineNum = 91881475;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Terminated"); + }; +RDebugUtils.currentLine=91881477; + //BA.debugLineNum = 91881477;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +RDebugUtils.currentLine=88276992; + //BA.debugLineNum = 88276992;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=88276999; + //BA.debugLineNum = 88276999;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; +_version = 2.0; +RDebugUtils.currentLine=88277001; + //BA.debugLineNum = 88277001;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; +; +RDebugUtils.currentLine=88277003; + //BA.debugLineNum = 88277003;BA.debugLine="Private EventName As String 'ignore"; +_eventname = ""; +RDebugUtils.currentLine=88277004; + //BA.debugLineNum = 88277004;BA.debugLine="Private CallBack As Object 'ignore"; +_callback = new Object(); +RDebugUtils.currentLine=88277006; + //BA.debugLineNum = 88277006;BA.debugLine="Private Serial1 As Serial"; +_serial1 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=88277007; + //BA.debugLineNum = 88277007;BA.debugLine="Private Astream As AsyncStreams"; +_astream = new anywheresoftware.b4a.randomaccessfile.AsyncStreams(); +RDebugUtils.currentLine=88277008; + //BA.debugLineNum = 88277008;BA.debugLine="Private Connected As Boolean"; +_connected = false; +RDebugUtils.currentLine=88277009; + //BA.debugLineNum = 88277009;BA.debugLine="Private ConnectedError As String"; +_connectederror = ""; +RDebugUtils.currentLine=88277011; + //BA.debugLineNum = 88277011;BA.debugLine="Dim ESC As String = Chr(27)"; +_esc = BA.ObjectToString(__c.Chr((int) (27))); +RDebugUtils.currentLine=88277012; + //BA.debugLineNum = 88277012;BA.debugLine="Dim FS As String = Chr(28)"; +_fs = BA.ObjectToString(__c.Chr((int) (28))); +RDebugUtils.currentLine=88277013; + //BA.debugLineNum = 88277013;BA.debugLine="Dim GS As String = Chr(29)"; +_gs = BA.ObjectToString(__c.Chr((int) (29))); +RDebugUtils.currentLine=88277016; + //BA.debugLineNum = 88277016;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; +_unreverse = __ref._gs /*String*/ +"B"+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=88277017; + //BA.debugLineNum = 88277017;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; +_reverse = __ref._gs /*String*/ +"B"+BA.ObjectToString(__c.Chr((int) (1))); +RDebugUtils.currentLine=88277020; + //BA.debugLineNum = 88277020;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; +_uninvert = __ref._esc /*String*/ +"{0"; +RDebugUtils.currentLine=88277021; + //BA.debugLineNum = 88277021;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; +_invert = __ref._esc /*String*/ +"{1"; +RDebugUtils.currentLine=88277024; + //BA.debugLineNum = 88277024;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; +_unrotate = __ref._esc /*String*/ +"V0"; +RDebugUtils.currentLine=88277025; + //BA.debugLineNum = 88277025;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; +_rotate = __ref._esc /*String*/ +"V1"; +RDebugUtils.currentLine=88277028; + //BA.debugLineNum = 88277028;BA.debugLine="Dim HT As String = Chr(9)"; +_ht = BA.ObjectToString(__c.Chr((int) (9))); +RDebugUtils.currentLine=88277031; + //BA.debugLineNum = 88277031;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; +_uline0 = __ref._esc /*String*/ +"-0"; +RDebugUtils.currentLine=88277032; + //BA.debugLineNum = 88277032;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; +_uline1 = __ref._esc /*String*/ +"-1"; +RDebugUtils.currentLine=88277033; + //BA.debugLineNum = 88277033;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; +_uline2 = __ref._esc /*String*/ +"-2"; +RDebugUtils.currentLine=88277036; + //BA.debugLineNum = 88277036;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; +_bold = __ref._esc /*String*/ +"E1"; +RDebugUtils.currentLine=88277037; + //BA.debugLineNum = 88277037;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; +_nobold = __ref._esc /*String*/ +"E0"; +RDebugUtils.currentLine=88277040; + //BA.debugLineNum = 88277040;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; +_single = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x00))); +RDebugUtils.currentLine=88277041; + //BA.debugLineNum = 88277041;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; +_high = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x01))); +RDebugUtils.currentLine=88277042; + //BA.debugLineNum = 88277042;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; +_wide = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x10))); +RDebugUtils.currentLine=88277043; + //BA.debugLineNum = 88277043;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; +_highwide = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x11))); +RDebugUtils.currentLine=88277046; + //BA.debugLineNum = 88277046;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; +_leftjustify = __ref._esc /*String*/ +"a0"; +RDebugUtils.currentLine=88277047; + //BA.debugLineNum = 88277047;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; +_linedefault = __ref._esc /*String*/ +"2"; +RDebugUtils.currentLine=88277048; + //BA.debugLineNum = 88277048;BA.debugLine="Private LINSET0 As String = ESC & \"$\" & Chr(0x0)"; +_linset0 = __ref._esc /*String*/ +"$"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); +RDebugUtils.currentLine=88277049; + //BA.debugLineNum = 88277049;BA.debugLine="Private LMARGIN0 As String = GS & \"L\" & Chr(0x0)"; +_lmargin0 = __ref._gs /*String*/ +"L"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); +RDebugUtils.currentLine=88277050; + //BA.debugLineNum = 88277050;BA.debugLine="Private WIDTH0 As String = GS & \"W\" & Chr(0xff) &"; +_width0 = __ref._gs /*String*/ +"W"+BA.ObjectToString(__c.Chr(((int)0xff)))+BA.ObjectToString(__c.Chr(((int)0xff))); +RDebugUtils.currentLine=88277051; + //BA.debugLineNum = 88277051;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; +_charspacing0 = __ref._esc /*String*/ +" "+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=88277052; + //BA.debugLineNum = 88277052;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; +_charfont0 = __ref._esc /*String*/ +"M"+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=88277053; + //BA.debugLineNum = 88277053;BA.debugLine="Dim DEFAULTS As String = CHARSPACING0 & CHARFONT"; +_defaults = __ref._charspacing0 /*String*/ +__ref._charfont0 /*String*/ +__ref._lmargin0 /*String*/ +__ref._width0 /*String*/ +__ref._linset0 /*String*/ +__ref._linedefault /*String*/ +__ref._leftjustify /*String*/ +__ref._uninvert /*String*/ +__ref._unrotate /*String*/ +__ref._unreverse /*String*/ +__ref._nobold /*String*/ +__ref._uline0 /*String*/ ; +RDebugUtils.currentLine=88277056; + //BA.debugLineNum = 88277056;BA.debugLine="End Sub"; +return ""; +} +public String _connectederrormsg(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "connectederrormsg", false)) + {return ((String) Debug.delegate(ba, "connectederrormsg", null));} +RDebugUtils.currentLine=88408064; + //BA.debugLineNum = 88408064;BA.debugLine="Public Sub ConnectedErrorMsg As String"; +RDebugUtils.currentLine=88408065; + //BA.debugLineNum = 88408065;BA.debugLine="Return ConnectedError"; +if (true) return __ref._connectederror /*String*/ ; +RDebugUtils.currentLine=88408066; + //BA.debugLineNum = 88408066;BA.debugLine="End Sub"; +return ""; +} +public int _createbox(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createbox", false)) + {return ((Integer) Debug.delegate(ba, "createbox", new Object[] {_x0,_y0,_x1,_y1,_fill}));} int _box = 0; - //BA.debugLineNum = 520;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; - //BA.debugLineNum = 521;BA.debugLine="Dim box As Int = 0x10000000"; +RDebugUtils.currentLine=90177536; + //BA.debugLineNum = 90177536;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; +RDebugUtils.currentLine=90177537; + //BA.debugLineNum = 90177537;BA.debugLine="Dim box As Int = 0x10000000"; _box = ((int)0x10000000); - //BA.debugLineNum = 522;BA.debugLine="If fill Then box = box + 0x80000000"; +RDebugUtils.currentLine=90177538; + //BA.debugLineNum = 90177538;BA.debugLine="If fill Then box = box + 0x80000000"; if (_fill) { _box = (int) (_box+((int)0x80000000));}; - //BA.debugLineNum = 523;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +RDebugUtils.currentLine=90177539; + //BA.debugLineNum = 90177539;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; _box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 524;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +RDebugUtils.currentLine=90177540; + //BA.debugLineNum = 90177540;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; _box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 525;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +RDebugUtils.currentLine=90177541; + //BA.debugLineNum = 90177541;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; _box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 526;BA.debugLine="box = box + Bit.And(0x1f,y1)"; +RDebugUtils.currentLine=90177542; + //BA.debugLineNum = 90177542;BA.debugLine="box = box + Bit.And(0x1f,y1)"; _box = (int) (_box+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 527;BA.debugLine="Return box"; +RDebugUtils.currentLine=90177543; + //BA.debugLineNum = 90177543;BA.debugLine="Return box"; if (true) return _box; - //BA.debugLineNum = 528;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90177544; + //BA.debugLineNum = 90177544;BA.debugLine="End Sub"; return 0; } -public int _createcircle(int _radius,int _quadrants,int _x1,int _y1,boolean _fill) throws Exception{ +public int _createcircle(gunav2.keymon.com.mx.escposprinter __ref,int _radius,int _quadrants,int _x1,int _y1,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createcircle", false)) + {return ((Integer) Debug.delegate(ba, "createcircle", new Object[] {_radius,_quadrants,_x1,_y1,_fill}));} int _circle = 0; - //BA.debugLineNum = 490;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; - //BA.debugLineNum = 491;BA.debugLine="Dim circle As Int = 0x20000000"; +RDebugUtils.currentLine=90046464; + //BA.debugLineNum = 90046464;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; +RDebugUtils.currentLine=90046465; + //BA.debugLineNum = 90046465;BA.debugLine="Dim circle As Int = 0x20000000"; _circle = ((int)0x20000000); - //BA.debugLineNum = 492;BA.debugLine="If fill Then circle = circle + 0x80000000"; +RDebugUtils.currentLine=90046466; + //BA.debugLineNum = 90046466;BA.debugLine="If fill Then circle = circle + 0x80000000"; if (_fill) { _circle = (int) (_circle+((int)0x80000000));}; - //BA.debugLineNum = 493;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; +RDebugUtils.currentLine=90046467; + //BA.debugLineNum = 90046467;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; _circle = (int) (_circle+__c.Bit.ShiftLeft(_radius,(int) (24))); - //BA.debugLineNum = 494;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; +RDebugUtils.currentLine=90046468; + //BA.debugLineNum = 90046468;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; _circle = (int) (_circle+__c.Bit.ShiftLeft(_quadrants,(int) (16))); - //BA.debugLineNum = 495;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; +RDebugUtils.currentLine=90046469; + //BA.debugLineNum = 90046469;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; _circle = (int) (_circle+__c.Bit.ShiftLeft(_x1,(int) (8))); - //BA.debugLineNum = 496;BA.debugLine="circle = circle + y1"; +RDebugUtils.currentLine=90046470; + //BA.debugLineNum = 90046470;BA.debugLine="circle = circle + y1"; _circle = (int) (_circle+_y1); - //BA.debugLineNum = 497;BA.debugLine="Return circle"; +RDebugUtils.currentLine=90046471; + //BA.debugLineNum = 90046471;BA.debugLine="Return circle"; if (true) return _circle; - //BA.debugLineNum = 498;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90046472; + //BA.debugLineNum = 90046472;BA.debugLine="End Sub"; return 0; } -public byte[] _createcustomcharacter(int[] _shapes,int _characterfont) throws Exception{ +public byte[] _createcustomcharacter(gunav2.keymon.com.mx.escposprinter __ref,int[] _shapes,int _characterfont) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createcustomcharacter", false)) + {return ((byte[]) Debug.delegate(ba, "createcustomcharacter", new Object[] {_shapes,_characterfont}));} byte[] _masks = null; byte[][] _points = null; int _x = 0; @@ -339,27 +553,38 @@ int _y2 = 0; String _logmsg = ""; byte _bits = (byte)0; int _b = 0; - //BA.debugLineNum = 404;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; - //BA.debugLineNum = 405;BA.debugLine="Dim masks(8) As Byte"; +RDebugUtils.currentLine=89915392; + //BA.debugLineNum = 89915392;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; +RDebugUtils.currentLine=89915393; + //BA.debugLineNum = 89915393;BA.debugLine="Dim masks(8) As Byte"; _masks = new byte[(int) (8)]; ; - //BA.debugLineNum = 406;BA.debugLine="masks(0) = 0x80"; +RDebugUtils.currentLine=89915394; + //BA.debugLineNum = 89915394;BA.debugLine="masks(0) = 0x80"; _masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 407;BA.debugLine="masks(1) = 0x40"; +RDebugUtils.currentLine=89915395; + //BA.debugLineNum = 89915395;BA.debugLine="masks(1) = 0x40"; _masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 408;BA.debugLine="masks(2) = 0x20"; +RDebugUtils.currentLine=89915396; + //BA.debugLineNum = 89915396;BA.debugLine="masks(2) = 0x20"; _masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 409;BA.debugLine="masks(3) = 0x10"; +RDebugUtils.currentLine=89915397; + //BA.debugLineNum = 89915397;BA.debugLine="masks(3) = 0x10"; _masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 410;BA.debugLine="masks(4) = 0x08"; +RDebugUtils.currentLine=89915398; + //BA.debugLineNum = 89915398;BA.debugLine="masks(4) = 0x08"; _masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 411;BA.debugLine="masks(5) = 0x04"; +RDebugUtils.currentLine=89915399; + //BA.debugLineNum = 89915399;BA.debugLine="masks(5) = 0x04"; _masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 412;BA.debugLine="masks(6) = 0x02"; +RDebugUtils.currentLine=89915400; + //BA.debugLineNum = 89915400;BA.debugLine="masks(6) = 0x02"; _masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 413;BA.debugLine="masks(7) = 0x01"; +RDebugUtils.currentLine=89915401; + //BA.debugLineNum = 89915401;BA.debugLine="masks(7) = 0x01"; _masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 416;BA.debugLine="Dim points(16,32) As Byte"; +RDebugUtils.currentLine=89915404; + //BA.debugLineNum = 89915404;BA.debugLine="Dim points(16,32) As Byte"; _points = new byte[(int) (16)][]; { int d0 = _points.length; @@ -369,116 +594,157 @@ _points[i0] = new byte[d1]; } } ; - //BA.debugLineNum = 418;BA.debugLine="For x = 0 To 15"; +RDebugUtils.currentLine=89915406; + //BA.debugLineNum = 89915406;BA.debugLine="For x = 0 To 15"; { final int step11 = 1; final int limit11 = (int) (15); _x = (int) (0) ; for (;_x <= limit11 ;_x = _x + step11 ) { - //BA.debugLineNum = 419;BA.debugLine="For y = 0 To 31"; +RDebugUtils.currentLine=89915407; + //BA.debugLineNum = 89915407;BA.debugLine="For y = 0 To 31"; { final int step12 = 1; final int limit12 = (int) (31); _y = (int) (0) ; for (;_y <= limit12 ;_y = _y + step12 ) { - //BA.debugLineNum = 420;BA.debugLine="points(x,y) = 0"; +RDebugUtils.currentLine=89915408; + //BA.debugLineNum = 89915408;BA.debugLine="points(x,y) = 0"; _points[_x][_y] = (byte) (0); } }; } }; - //BA.debugLineNum = 423;BA.debugLine="Dim size As Int = 12"; +RDebugUtils.currentLine=89915411; + //BA.debugLineNum = 89915411;BA.debugLine="Dim size As Int = 12"; _size = (int) (12); - //BA.debugLineNum = 424;BA.debugLine="If characterfont = 1 Then size = 9"; +RDebugUtils.currentLine=89915412; + //BA.debugLineNum = 89915412;BA.debugLine="If characterfont = 1 Then size = 9"; if (_characterfont==1) { _size = (int) (9);}; - //BA.debugLineNum = 425;BA.debugLine="Dim charbyes(size * 3) As Byte"; +RDebugUtils.currentLine=89915413; + //BA.debugLineNum = 89915413;BA.debugLine="Dim charbyes(size * 3) As Byte"; _charbyes = new byte[(int) (_size*3)]; ; - //BA.debugLineNum = 426;BA.debugLine="For c = 0 To charbyes.Length - 1"; +RDebugUtils.currentLine=89915414; + //BA.debugLineNum = 89915414;BA.debugLine="For c = 0 To charbyes.Length - 1"; { final int step19 = 1; final int limit19 = (int) (_charbyes.length-1); _c = (int) (0) ; for (;_c <= limit19 ;_c = _c + step19 ) { - //BA.debugLineNum = 427;BA.debugLine="charbyes(c) = 0"; +RDebugUtils.currentLine=89915415; + //BA.debugLineNum = 89915415;BA.debugLine="charbyes(c) = 0"; _charbyes[_c] = (byte) (0); } }; - //BA.debugLineNum = 430;BA.debugLine="For i = 0 To shapes.Length -1"; +RDebugUtils.currentLine=89915418; + //BA.debugLineNum = 89915418;BA.debugLine="For i = 0 To shapes.Length -1"; { final int step22 = 1; final int limit22 = (int) (_shapes.length-1); _i = (int) (0) ; for (;_i <= limit22 ;_i = _i + step22 ) { - //BA.debugLineNum = 431;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; +RDebugUtils.currentLine=89915419; + //BA.debugLineNum = 89915419;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; _fill = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x80000000),_shapes[_i]),(int) (31)); - //BA.debugLineNum = 432;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; +RDebugUtils.currentLine=89915420; + //BA.debugLineNum = 89915420;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; _shape = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x70000000),_shapes[_i]),(int) (28)); - //BA.debugLineNum = 433;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=89915421; + //BA.debugLineNum = 89915421;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _x0 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x0f000000),_shapes[_i]),(int) (24)); - //BA.debugLineNum = 434;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=89915422; + //BA.debugLineNum = 89915422;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _y0 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x001f0000),_shapes[_i]),(int) (16)); - //BA.debugLineNum = 435;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=89915423; + //BA.debugLineNum = 89915423;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _x1 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x00000f00),_shapes[_i]),(int) (8)); - //BA.debugLineNum = 436;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; +RDebugUtils.currentLine=89915424; + //BA.debugLineNum = 89915424;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; _y1 = __c.Bit.And(((int)0x0000001f),_shapes[_i]); - //BA.debugLineNum = 437;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=89915425; + //BA.debugLineNum = 89915425;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _x2 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x0000f000),_shapes[_i]),(int) (12)); - //BA.debugLineNum = 438;BA.debugLine="Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +RDebugUtils.currentLine=89915426; + //BA.debugLineNum = 89915426;BA.debugLine="Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; _y2 = (int) (__c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x00e00000),_shapes[_i]),(int) (18))+__c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x000000e0),_shapes[_i]),(int) (5))); - //BA.debugLineNum = 444;BA.debugLine="Dim logmsg As String = \": Fill=\" & fill & \" : Po"; +RDebugUtils.currentLine=89915432; + //BA.debugLineNum = 89915432;BA.debugLine="Dim logmsg As String = \": Fill=\" & fill & \" : Po"; _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0)+","+BA.NumberToString(_y0)+" "+BA.NumberToString(_x1)+","+BA.NumberToString(_y1)+" "+BA.NumberToString(_x2)+","+BA.NumberToString(_y2); - //BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then"; +RDebugUtils.currentLine=89915433; + //BA.debugLineNum = 89915433;BA.debugLine="If shape = 3 Then"; if (_shape==3) { - //BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)"; -__c.LogImpl("487949354","Triangle "+_logmsg,0); - //BA.debugLineNum = 447;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi"; -_plottriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill); - }else if(_shape==2) { - //BA.debugLineNum = 449;BA.debugLine="Log(\"Circle \" & logmsg)"; -__c.LogImpl("487949357","Circle "+_logmsg,0); - //BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; -_plotcircle(_x0,_y0,_x1,_y1,_points,_fill); - }else if(_shape==1) { - //BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)"; -__c.LogImpl("487949360","Box "+_logmsg,0); - //BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; -_plotbox(_x0,_y0,_x1,_y1,_points,_fill); +RDebugUtils.currentLine=89915434; + //BA.debugLineNum = 89915434;BA.debugLine="Log(\"Triangle \" & logmsg)"; +__c.LogImpl("089915434","Triangle "+_logmsg,0); +RDebugUtils.currentLine=89915435; + //BA.debugLineNum = 89915435;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi"; +__ref._plottriangle /*String*/ (null,_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill); + }else +{RDebugUtils.currentLine=89915436; + //BA.debugLineNum = 89915436;BA.debugLine="else If shape = 2 Then"; +if (_shape==2) { +RDebugUtils.currentLine=89915437; + //BA.debugLineNum = 89915437;BA.debugLine="Log(\"Circle \" & logmsg)"; +__c.LogImpl("089915437","Circle "+_logmsg,0); +RDebugUtils.currentLine=89915438; + //BA.debugLineNum = 89915438;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; +__ref._plotcircle /*String*/ (null,_x0,_y0,_x1,_y1,_points,_fill); + }else +{RDebugUtils.currentLine=89915439; + //BA.debugLineNum = 89915439;BA.debugLine="Else If shape = 1 Then"; +if (_shape==1) { +RDebugUtils.currentLine=89915440; + //BA.debugLineNum = 89915440;BA.debugLine="Log(\"Box \" & logmsg)"; +__c.LogImpl("089915440","Box "+_logmsg,0); +RDebugUtils.currentLine=89915441; + //BA.debugLineNum = 89915441;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; +__ref._plotbox /*String*/ (null,_x0,_y0,_x1,_y1,_points,_fill); }else { - //BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)"; -__c.LogImpl("487949363","Line "+_logmsg,0); - //BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; -_plotline(_x0,_y0,_x1,_y1,_points); - }; - //BA.debugLineNum = 459;BA.debugLine="For x = 0 To size -1 ' 9 or 12 horizontal bytes"; +RDebugUtils.currentLine=89915443; + //BA.debugLineNum = 89915443;BA.debugLine="Log(\"Line \" & logmsg)"; +__c.LogImpl("089915443","Line "+_logmsg,0); +RDebugUtils.currentLine=89915444; + //BA.debugLineNum = 89915444;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }}} +; +RDebugUtils.currentLine=89915447; + //BA.debugLineNum = 89915447;BA.debugLine="For x = 0 To size -1 ' 9 or 12 horizontal bytes"; { final int step45 = 1; final int limit45 = (int) (_size-1); _x = (int) (0) ; for (;_x <= limit45 ;_x = _x + step45 ) { - //BA.debugLineNum = 460;BA.debugLine="For y = 0 To 2 ' 3 vertical bytes"; +RDebugUtils.currentLine=89915448; + //BA.debugLineNum = 89915448;BA.debugLine="For y = 0 To 2 ' 3 vertical bytes"; { final int step46 = 1; final int limit46 = (int) (2); _y = (int) (0) ; for (;_y <= limit46 ;_y = _y + step46 ) { - //BA.debugLineNum = 461;BA.debugLine="Dim bits As Byte = 0"; +RDebugUtils.currentLine=89915449; + //BA.debugLineNum = 89915449;BA.debugLine="Dim bits As Byte = 0"; _bits = (byte) (0); - //BA.debugLineNum = 462;BA.debugLine="For b = 0 To 7 ' 8 vertical bits"; +RDebugUtils.currentLine=89915450; + //BA.debugLineNum = 89915450;BA.debugLine="For b = 0 To 7 ' 8 vertical bits"; { final int step48 = 1; final int limit48 = (int) (7); _b = (int) (0) ; for (;_b <= limit48 ;_b = _b + step48 ) { - //BA.debugLineNum = 463;BA.debugLine="If points(x, y*8+b) <> 0 Then"; +RDebugUtils.currentLine=89915451; + //BA.debugLineNum = 89915451;BA.debugLine="If points(x, y*8+b) <> 0 Then"; if (_points[_x][(int) (_y*8+_b)]!=0) { - //BA.debugLineNum = 464;BA.debugLine="bits = Bit.Or(bits, masks(b))"; +RDebugUtils.currentLine=89915452; + //BA.debugLineNum = 89915452;BA.debugLine="bits = Bit.Or(bits, masks(b))"; _bits = (byte) (__c.Bit.Or((int) (_bits),(int) (_masks[_b]))); }; } }; - //BA.debugLineNum = 467;BA.debugLine="charbyes(x*3+y) = bits"; +RDebugUtils.currentLine=89915455; + //BA.debugLineNum = 89915455;BA.debugLine="charbyes(x*3+y) = bits"; _charbyes[(int) (_x*3+_y)] = _bits; } }; @@ -486,177 +752,442 @@ _charbyes[(int) (_x*3+_y)] = _bits; }; } }; - //BA.debugLineNum = 471;BA.debugLine="Return charbyes"; +RDebugUtils.currentLine=89915459; + //BA.debugLineNum = 89915459;BA.debugLine="Return charbyes"; if (true) return _charbyes; - //BA.debugLineNum = 472;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89915460; + //BA.debugLineNum = 89915460;BA.debugLine="End Sub"; return null; } -public int _createline(int _x0,int _y0,int _x1,int _y1) throws Exception{ +public String _plottriangle(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plottriangle", false)) + {return ((String) Debug.delegate(ba, "plottriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill}));} +RDebugUtils.currentLine=90243072; + //BA.debugLineNum = 90243072;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=90243074; + //BA.debugLineNum = 90243074;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y1,_points); +RDebugUtils.currentLine=90243075; + //BA.debugLineNum = 90243075;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; +__ref._plotline /*String*/ (null,_x1,_y1,_x2,_y2,_points); +RDebugUtils.currentLine=90243076; + //BA.debugLineNum = 90243076;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; +__ref._plotline /*String*/ (null,_x2,_y2,_x0,_y0,_points); +RDebugUtils.currentLine=90243077; + //BA.debugLineNum = 90243077;BA.debugLine="If Fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=90243078; + //BA.debugLineNum = 90243078;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; +__ref._filltriangle /*String*/ (null,_x0,_y0,_x1,_y1,_x2,_y2,_points); + }; +RDebugUtils.currentLine=90243080; + //BA.debugLineNum = 90243080;BA.debugLine="End Sub"; +return ""; +} +public String _plotcircle(gunav2.keymon.com.mx.escposprinter __ref,int _radius,int _quadrants,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotcircle", false)) + {return ((String) Debug.delegate(ba, "plotcircle", new Object[] {_radius,_quadrants,_x1,_y1,_points,_fill}));} +int _mask = 0; +int _q = 0; +int _i = 0; +double _x = 0; +double _y = 0; +RDebugUtils.currentLine=90439680; + //BA.debugLineNum = 90439680;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; +RDebugUtils.currentLine=90439682; + //BA.debugLineNum = 90439682;BA.debugLine="Dim mask As Int = 1"; +_mask = (int) (1); +RDebugUtils.currentLine=90439683; + //BA.debugLineNum = 90439683;BA.debugLine="For q = 3 To 0 Step -1"; +{ +final int step2 = -1; +final int limit2 = (int) (0); +_q = (int) (3) ; +for (;_q >= limit2 ;_q = _q + step2 ) { +RDebugUtils.currentLine=90439684; + //BA.debugLineNum = 90439684;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; +if (__c.Bit.And(_quadrants,_mask)!=0) { +RDebugUtils.currentLine=90439685; + //BA.debugLineNum = 90439685;BA.debugLine="For i = q*90 To q*90+90 Step 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_q*90+90); +_i = (int) (_q*90) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=90439686; + //BA.debugLineNum = 90439686;BA.debugLine="Dim x,y As Double"; +_x = 0; +_y = 0; +RDebugUtils.currentLine=90439687; + //BA.debugLineNum = 90439687;BA.debugLine="x = x1 - SinD(i)*radius"; +_x = _x1-__c.SinD(_i)*_radius; +RDebugUtils.currentLine=90439688; + //BA.debugLineNum = 90439688;BA.debugLine="y = y1 - CosD(i)*radius"; +_y = _y1-__c.CosD(_i)*_radius; +RDebugUtils.currentLine=90439689; + //BA.debugLineNum = 90439689;BA.debugLine="If fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=90439690; + //BA.debugLineNum = 90439690;BA.debugLine="PlotLine(x1, y1, x, y, points)"; +__ref._plotline /*String*/ (null,_x1,_y1,(int) (_x),(int) (_y),_points); + }else { +RDebugUtils.currentLine=90439692; + //BA.debugLineNum = 90439692;BA.debugLine="points(Round(x), Round(y)) = 1"; +_points[(int) (__c.Round(_x))][(int) (__c.Round(_y))] = (byte) (1); + }; + } +}; + }; +RDebugUtils.currentLine=90439696; + //BA.debugLineNum = 90439696;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; +_mask = __c.Bit.ShiftLeft(_mask,(int) (1)); + } +}; +RDebugUtils.currentLine=90439698; + //BA.debugLineNum = 90439698;BA.debugLine="End Sub"; +return ""; +} +public String _plotbox(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotbox", false)) + {return ((String) Debug.delegate(ba, "plotbox", new Object[] {_x0,_y0,_x1,_y1,_points,_fill}));} +int _x = 0; +RDebugUtils.currentLine=90374144; + //BA.debugLineNum = 90374144;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; +RDebugUtils.currentLine=90374146; + //BA.debugLineNum = 90374146;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x0,_y1,_points); +RDebugUtils.currentLine=90374147; + //BA.debugLineNum = 90374147;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y0,_points); +RDebugUtils.currentLine=90374148; + //BA.debugLineNum = 90374148;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x1,_y0,_x1,_y1,_points); +RDebugUtils.currentLine=90374149; + //BA.debugLineNum = 90374149;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y1,_x1,_y1,_points); +RDebugUtils.currentLine=90374150; + //BA.debugLineNum = 90374150;BA.debugLine="If Fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=90374151; + //BA.debugLineNum = 90374151;BA.debugLine="For x = x0 To x1"; +{ +final int step6 = 1; +final int limit6 = _x1; +_x = _x0 ; +for (;_x <= limit6 ;_x = _x + step6 ) { +RDebugUtils.currentLine=90374152; + //BA.debugLineNum = 90374152;BA.debugLine="PlotLine(x, y0, x, y1, points)"; +__ref._plotline /*String*/ (null,_x,_y0,_x,_y1,_points); + } +}; + }; +RDebugUtils.currentLine=90374155; + //BA.debugLineNum = 90374155;BA.debugLine="End Sub"; +return ""; +} +public String _plotline(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotline", false)) + {return ((String) Debug.delegate(ba, "plotline", new Object[] {_x0,_y0,_x1,_y1,_points}));} +RDebugUtils.currentLine=90505216; + //BA.debugLineNum = 90505216;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; +RDebugUtils.currentLine=90505217; + //BA.debugLineNum = 90505217;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; +if (__c.Abs(_y1-_y0)<__c.Abs(_x1-_x0)) { +RDebugUtils.currentLine=90505218; + //BA.debugLineNum = 90505218;BA.debugLine="If x0 > x1 Then"; +if (_x0>_x1) { +RDebugUtils.currentLine=90505219; + //BA.debugLineNum = 90505219;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; +__ref._plotlinelow /*String*/ (null,_x1,_y1,_x0,_y0,_points); + }else { +RDebugUtils.currentLine=90505221; + //BA.debugLineNum = 90505221;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; +__ref._plotlinelow /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }; + }else { +RDebugUtils.currentLine=90505224; + //BA.debugLineNum = 90505224;BA.debugLine="If y0 > y1 Then"; +if (_y0>_y1) { +RDebugUtils.currentLine=90505225; + //BA.debugLineNum = 90505225;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; +__ref._plotlinehigh /*String*/ (null,_x1,_y1,_x0,_y0,_points); + }else { +RDebugUtils.currentLine=90505227; + //BA.debugLineNum = 90505227;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; +__ref._plotlinehigh /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }; + }; +RDebugUtils.currentLine=90505230; + //BA.debugLineNum = 90505230;BA.debugLine="End Sub"; +return ""; +} +public int _createline(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createline", false)) + {return ((Integer) Debug.delegate(ba, "createline", new Object[] {_x0,_y0,_x1,_y1}));} int _line = 0; - //BA.debugLineNum = 477;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; - //BA.debugLineNum = 478;BA.debugLine="Dim line As Int = 0"; +RDebugUtils.currentLine=89980928; + //BA.debugLineNum = 89980928;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; +RDebugUtils.currentLine=89980929; + //BA.debugLineNum = 89980929;BA.debugLine="Dim line As Int = 0"; _line = (int) (0); - //BA.debugLineNum = 479;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +RDebugUtils.currentLine=89980930; + //BA.debugLineNum = 89980930;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; _line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 480;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +RDebugUtils.currentLine=89980931; + //BA.debugLineNum = 89980931;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; _line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 481;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +RDebugUtils.currentLine=89980932; + //BA.debugLineNum = 89980932;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; _line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 482;BA.debugLine="line = line + Bit.And(0x1f,y1)"; +RDebugUtils.currentLine=89980933; + //BA.debugLineNum = 89980933;BA.debugLine="line = line + Bit.And(0x1f,y1)"; _line = (int) (_line+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 483;BA.debugLine="Return line"; +RDebugUtils.currentLine=89980934; + //BA.debugLineNum = 89980934;BA.debugLine="Return line"; if (true) return _line; - //BA.debugLineNum = 484;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89980935; + //BA.debugLineNum = 89980935;BA.debugLine="End Sub"; return 0; } -public int _createtriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,boolean _fill) throws Exception{ +public int _createtriangle(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createtriangle", false)) + {return ((Integer) Debug.delegate(ba, "createtriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_fill}));} int _triangle = 0; - //BA.debugLineNum = 504;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 505;BA.debugLine="Dim triangle As Int = 0x30000000"; +RDebugUtils.currentLine=90112000; + //BA.debugLineNum = 90112000;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=90112001; + //BA.debugLineNum = 90112001;BA.debugLine="Dim triangle As Int = 0x30000000"; _triangle = ((int)0x30000000); - //BA.debugLineNum = 506;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; +RDebugUtils.currentLine=90112002; + //BA.debugLineNum = 90112002;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; if (_fill) { _triangle = (int) (_triangle+((int)0x80000000));}; - //BA.debugLineNum = 507;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +RDebugUtils.currentLine=90112003; + //BA.debugLineNum = 90112003;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 508;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; +RDebugUtils.currentLine=90112004; + //BA.debugLineNum = 90112004;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 509;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +RDebugUtils.currentLine=90112005; + //BA.debugLineNum = 90112005;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 510;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; +RDebugUtils.currentLine=90112006; + //BA.debugLineNum = 90112006;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; _triangle = (int) (_triangle+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 511;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +RDebugUtils.currentLine=90112007; + //BA.debugLineNum = 90112007;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x2),(int) (12))); - //BA.debugLineNum = 512;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; +RDebugUtils.currentLine=90112008; + //BA.debugLineNum = 90112008;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x7),_y2),(int) (5))); - //BA.debugLineNum = 513;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; +RDebugUtils.currentLine=90112009; + //BA.debugLineNum = 90112009;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; _triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x18),_y2),(int) (18))); - //BA.debugLineNum = 514;BA.debugLine="Return triangle"; +RDebugUtils.currentLine=90112010; + //BA.debugLineNum = 90112010;BA.debugLine="Return triangle"; if (true) return _triangle; - //BA.debugLineNum = 515;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90112011; + //BA.debugLineNum = 90112011;BA.debugLine="End Sub"; return 0; } -public int _definecustomcharacter(int _charcode,byte[] _bitdata) throws Exception{ +public int _definecustomcharacter(gunav2.keymon.com.mx.escposprinter __ref,int _charcode,byte[] _bitdata) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "definecustomcharacter", false)) + {return ((Integer) Debug.delegate(ba, "definecustomcharacter", new Object[] {_charcode,_bitdata}));} int _excess = 0; int _size = 0; byte[] _params = null; - //BA.debugLineNum = 352;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; - //BA.debugLineNum = 353;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; +RDebugUtils.currentLine=89849856; + //BA.debugLineNum = 89849856;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; +RDebugUtils.currentLine=89849857; + //BA.debugLineNum = 89849857;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; _excess = (int) (_bitdata.length%3); - //BA.debugLineNum = 354;BA.debugLine="If excess <> 0 Then Return -1"; +RDebugUtils.currentLine=89849858; + //BA.debugLineNum = 89849858;BA.debugLine="If excess <> 0 Then Return -1"; if (_excess!=0) { if (true) return (int) (-1);}; - //BA.debugLineNum = 355;BA.debugLine="Dim size As Int = bitdata.Length / 3"; +RDebugUtils.currentLine=89849859; + //BA.debugLineNum = 89849859;BA.debugLine="Dim size As Int = bitdata.Length / 3"; _size = (int) (_bitdata.length/(double)3); - //BA.debugLineNum = 356;BA.debugLine="WriteString(ESC & \"&\")"; -_writestring(_esc+"&"); - //BA.debugLineNum = 357;BA.debugLine="Dim params(4) As Byte"; +RDebugUtils.currentLine=89849860; + //BA.debugLineNum = 89849860;BA.debugLine="WriteString(ESC & \"&\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"&"); +RDebugUtils.currentLine=89849861; + //BA.debugLineNum = 89849861;BA.debugLine="Dim params(4) As Byte"; _params = new byte[(int) (4)]; ; - //BA.debugLineNum = 358;BA.debugLine="params(0) = 3"; +RDebugUtils.currentLine=89849862; + //BA.debugLineNum = 89849862;BA.debugLine="params(0) = 3"; _params[(int) (0)] = (byte) (3); - //BA.debugLineNum = 359;BA.debugLine="params(1) = charcode"; +RDebugUtils.currentLine=89849863; + //BA.debugLineNum = 89849863;BA.debugLine="params(1) = charcode"; _params[(int) (1)] = (byte) (_charcode); - //BA.debugLineNum = 360;BA.debugLine="params(2) = charcode"; +RDebugUtils.currentLine=89849864; + //BA.debugLineNum = 89849864;BA.debugLine="params(2) = charcode"; _params[(int) (2)] = (byte) (_charcode); - //BA.debugLineNum = 361;BA.debugLine="params(3) = size"; +RDebugUtils.currentLine=89849865; + //BA.debugLineNum = 89849865;BA.debugLine="params(3) = size"; _params[(int) (3)] = (byte) (_size); - //BA.debugLineNum = 362;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 363;BA.debugLine="WriteBytes(bitdata)"; -_writebytes(_bitdata); - //BA.debugLineNum = 364;BA.debugLine="Return 0"; +RDebugUtils.currentLine=89849866; + //BA.debugLineNum = 89849866;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=89849867; + //BA.debugLineNum = 89849867;BA.debugLine="WriteBytes(bitdata)"; +__ref._writebytes /*String*/ (null,_bitdata); +RDebugUtils.currentLine=89849868; + //BA.debugLineNum = 89849868;BA.debugLine="Return 0"; if (true) return (int) (0); - //BA.debugLineNum = 365;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89849869; + //BA.debugLineNum = 89849869;BA.debugLine="End Sub"; return 0; } -public String _deletecustomcharacter(int _charcode) throws Exception{ +public String _writebytes(gunav2.keymon.com.mx.escposprinter __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writebytes", false)) + {return ((String) Debug.delegate(ba, "writebytes", new Object[] {_data}));} +RDebugUtils.currentLine=89522176; + //BA.debugLineNum = 89522176;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; +RDebugUtils.currentLine=89522177; + //BA.debugLineNum = 89522177;BA.debugLine="If Connected Then"; +if (__ref._connected /*boolean*/ ) { +RDebugUtils.currentLine=89522178; + //BA.debugLineNum = 89522178;BA.debugLine="Astream.Write(data)"; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Write(_data); + }; +RDebugUtils.currentLine=89522180; + //BA.debugLineNum = 89522180;BA.debugLine="End Sub"; +return ""; +} +public String _deletecustomcharacter(gunav2.keymon.com.mx.escposprinter __ref,int _charcode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "deletecustomcharacter", false)) + {return ((String) Debug.delegate(ba, "deletecustomcharacter", new Object[] {_charcode}));} byte[] _params = null; - //BA.debugLineNum = 317;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; - //BA.debugLineNum = 318;BA.debugLine="WriteString(ESC & \"?\")"; -_writestring(_esc+"?"); - //BA.debugLineNum = 319;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=89718784; + //BA.debugLineNum = 89718784;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; +RDebugUtils.currentLine=89718785; + //BA.debugLineNum = 89718785;BA.debugLine="WriteString(ESC & \"?\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"?"); +RDebugUtils.currentLine=89718786; + //BA.debugLineNum = 89718786;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 320;BA.debugLine="params(0) = charcode"; +RDebugUtils.currentLine=89718787; + //BA.debugLineNum = 89718787;BA.debugLine="params(0) = charcode"; _params[(int) (0)] = (byte) (_charcode); - //BA.debugLineNum = 321;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 322;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89718788; + //BA.debugLineNum = 89718788;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=89718789; + //BA.debugLineNum = 89718789;BA.debugLine="End Sub"; return ""; } -public String _disconnect() throws Exception{ - //BA.debugLineNum = 143;BA.debugLine="Public Sub DisConnect"; - //BA.debugLineNum = 144;BA.debugLine="Serial1.Disconnect"; -_serial1.Disconnect(); - //BA.debugLineNum = 145;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return ""; -} -public gunav2.keymon.com.mx.escposprinter._animage _ditherimage1d(gunav2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +public gunav2.keymon.com.mx.escposprinter._animage _ditherimage1d(gunav2.keymon.com.mx.escposprinter __ref,gunav2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "ditherimage1d", false)) + {return ((gunav2.keymon.com.mx.escposprinter._animage) Debug.delegate(ba, "ditherimage1d", new Object[] {_img,_threshold}));} byte[] _pixels = null; int _error = 0; int _y = 0; int _x = 0; int _lum = 0; gunav2.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 763;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; - //BA.debugLineNum = 764;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +RDebugUtils.currentLine=90832896; + //BA.debugLineNum = 90832896;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; +RDebugUtils.currentLine=90832897; + //BA.debugLineNum = 90832897;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; _pixels = new byte[_img.Data /*byte[]*/ .length]; ; - //BA.debugLineNum = 765;BA.debugLine="Dim error As Int"; +RDebugUtils.currentLine=90832898; + //BA.debugLineNum = 90832898;BA.debugLine="Dim error As Int"; _error = 0; - //BA.debugLineNum = 766;BA.debugLine="For y = 0 To img.Height - 1"; +RDebugUtils.currentLine=90832899; + //BA.debugLineNum = 90832899;BA.debugLine="For y = 0 To img.Height - 1"; { final int step3 = 1; final int limit3 = (int) (_img.Height /*int*/ -1); _y = (int) (0) ; for (;_y <= limit3 ;_y = _y + step3 ) { - //BA.debugLineNum = 767;BA.debugLine="error = 0 ' reset on each new line"; +RDebugUtils.currentLine=90832900; + //BA.debugLineNum = 90832900;BA.debugLine="error = 0 ' reset on each new line"; _error = (int) (0); - //BA.debugLineNum = 768;BA.debugLine="For x = 0 To img.Width - 1"; +RDebugUtils.currentLine=90832901; + //BA.debugLineNum = 90832901;BA.debugLine="For x = 0 To img.Width - 1"; { final int step5 = 1; final int limit5 = (int) (_img.Width /*int*/ -1); _x = (int) (0) ; for (;_x <= limit5 ;_x = _x + step5 ) { - //BA.debugLineNum = 769;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +RDebugUtils.currentLine=90832902; + //BA.debugLineNum = 90832902;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; _lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [(int) (_y*_img.Width /*int*/ +_x)]),((int)0xff)); - //BA.debugLineNum = 770;BA.debugLine="lum = lum + error"; +RDebugUtils.currentLine=90832903; + //BA.debugLineNum = 90832903;BA.debugLine="lum = lum + error"; _lum = (int) (_lum+_error); - //BA.debugLineNum = 771;BA.debugLine="If lum < threshold Then"; +RDebugUtils.currentLine=90832904; + //BA.debugLineNum = 90832904;BA.debugLine="If lum < threshold Then"; if (_lum<_threshold) { - //BA.debugLineNum = 772;BA.debugLine="error = lum"; +RDebugUtils.currentLine=90832905; + //BA.debugLineNum = 90832905;BA.debugLine="error = lum"; _error = _lum; - //BA.debugLineNum = 773;BA.debugLine="lum = 1"; +RDebugUtils.currentLine=90832906; + //BA.debugLineNum = 90832906;BA.debugLine="lum = 1"; _lum = (int) (1); }else { - //BA.debugLineNum = 775;BA.debugLine="error = lum - 255"; +RDebugUtils.currentLine=90832908; + //BA.debugLineNum = 90832908;BA.debugLine="error = lum - 255"; _error = (int) (_lum-255); - //BA.debugLineNum = 776;BA.debugLine="lum = 0"; +RDebugUtils.currentLine=90832909; + //BA.debugLineNum = 90832909;BA.debugLine="lum = 0"; _lum = (int) (0); }; - //BA.debugLineNum = 778;BA.debugLine="pixels(y*img.Width + x) = lum"; +RDebugUtils.currentLine=90832911; + //BA.debugLineNum = 90832911;BA.debugLine="pixels(y*img.Width + x) = lum"; _pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); } }; } }; - //BA.debugLineNum = 781;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=90832914; + //BA.debugLineNum = 90832914;BA.debugLine="Dim ret As AnImage"; _ret = new gunav2.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 782;BA.debugLine="ret.Width = img.Width"; +RDebugUtils.currentLine=90832915; + //BA.debugLineNum = 90832915;BA.debugLine="ret.Width = img.Width"; _ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 783;BA.debugLine="ret.Height = img.Height"; +RDebugUtils.currentLine=90832916; + //BA.debugLineNum = 90832916;BA.debugLine="ret.Height = img.Height"; _ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 784;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=90832917; + //BA.debugLineNum = 90832917;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 785;BA.debugLine="Return ret"; +RDebugUtils.currentLine=90832918; + //BA.debugLineNum = 90832918;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 786;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90832919; + //BA.debugLineNum = 90832919;BA.debugLine="End Sub"; return null; } -public gunav2.keymon.com.mx.escposprinter._animage _ditherimage2d(gunav2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +public gunav2.keymon.com.mx.escposprinter._animage _ditherimage2d(gunav2.keymon.com.mx.escposprinter __ref,gunav2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "ditherimage2d", false)) + {return ((gunav2.keymon.com.mx.escposprinter._animage) Debug.delegate(ba, "ditherimage2d", new Object[] {_img,_threshold}));} byte[] _pixels = null; int _xerror = 0; int[] _yerrors = null; @@ -665,79 +1196,108 @@ int _y = 0; int _x = 0; int _lum = 0; gunav2.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 794;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; - //BA.debugLineNum = 795;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +RDebugUtils.currentLine=90898432; + //BA.debugLineNum = 90898432;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; +RDebugUtils.currentLine=90898433; + //BA.debugLineNum = 90898433;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; _pixels = new byte[_img.Data /*byte[]*/ .length]; ; - //BA.debugLineNum = 796;BA.debugLine="Dim xerror As Int"; +RDebugUtils.currentLine=90898434; + //BA.debugLineNum = 90898434;BA.debugLine="Dim xerror As Int"; _xerror = 0; - //BA.debugLineNum = 797;BA.debugLine="Dim yerrors(img.Width) As Int"; +RDebugUtils.currentLine=90898435; + //BA.debugLineNum = 90898435;BA.debugLine="Dim yerrors(img.Width) As Int"; _yerrors = new int[_img.Width /*int*/ ]; ; - //BA.debugLineNum = 798;BA.debugLine="For i = 0 To yerrors.Length -1"; +RDebugUtils.currentLine=90898436; + //BA.debugLineNum = 90898436;BA.debugLine="For i = 0 To yerrors.Length -1"; { final int step4 = 1; final int limit4 = (int) (_yerrors.length-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 799;BA.debugLine="yerrors(0) = 0"; +RDebugUtils.currentLine=90898437; + //BA.debugLineNum = 90898437;BA.debugLine="yerrors(0) = 0"; _yerrors[(int) (0)] = (int) (0); } }; - //BA.debugLineNum = 801;BA.debugLine="For y = 0 To img.Height - 1"; +RDebugUtils.currentLine=90898439; + //BA.debugLineNum = 90898439;BA.debugLine="For y = 0 To img.Height - 1"; { final int step7 = 1; final int limit7 = (int) (_img.Height /*int*/ -1); _y = (int) (0) ; for (;_y <= limit7 ;_y = _y + step7 ) { - //BA.debugLineNum = 802;BA.debugLine="xerror = 0 ' reset on each new line"; +RDebugUtils.currentLine=90898440; + //BA.debugLineNum = 90898440;BA.debugLine="xerror = 0 ' reset on each new line"; _xerror = (int) (0); - //BA.debugLineNum = 803;BA.debugLine="For x = 0 To img.Width - 1"; +RDebugUtils.currentLine=90898441; + //BA.debugLineNum = 90898441;BA.debugLine="For x = 0 To img.Width - 1"; { final int step9 = 1; final int limit9 = (int) (_img.Width /*int*/ -1); _x = (int) (0) ; for (;_x <= limit9 ;_x = _x + step9 ) { - //BA.debugLineNum = 804;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +RDebugUtils.currentLine=90898442; + //BA.debugLineNum = 90898442;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; _lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [(int) (_y*_img.Width /*int*/ +_x)]),((int)0xff)); - //BA.debugLineNum = 805;BA.debugLine="lum = lum + xerror + yerrors(x)"; +RDebugUtils.currentLine=90898443; + //BA.debugLineNum = 90898443;BA.debugLine="lum = lum + xerror + yerrors(x)"; _lum = (int) (_lum+_xerror+_yerrors[_x]); - //BA.debugLineNum = 806;BA.debugLine="If lum < threshold Then"; +RDebugUtils.currentLine=90898444; + //BA.debugLineNum = 90898444;BA.debugLine="If lum < threshold Then"; if (_lum<_threshold) { - //BA.debugLineNum = 807;BA.debugLine="xerror = lum/2"; +RDebugUtils.currentLine=90898445; + //BA.debugLineNum = 90898445;BA.debugLine="xerror = lum/2"; _xerror = (int) (_lum/(double)2); - //BA.debugLineNum = 808;BA.debugLine="yerrors(x) = xerror"; +RDebugUtils.currentLine=90898446; + //BA.debugLineNum = 90898446;BA.debugLine="yerrors(x) = xerror"; _yerrors[_x] = _xerror; - //BA.debugLineNum = 809;BA.debugLine="lum = 1"; +RDebugUtils.currentLine=90898447; + //BA.debugLineNum = 90898447;BA.debugLine="lum = 1"; _lum = (int) (1); }else { - //BA.debugLineNum = 811;BA.debugLine="xerror = (lum - 255)/2"; +RDebugUtils.currentLine=90898449; + //BA.debugLineNum = 90898449;BA.debugLine="xerror = (lum - 255)/2"; _xerror = (int) ((_lum-255)/(double)2); - //BA.debugLineNum = 812;BA.debugLine="yerrors(x) = xerror"; +RDebugUtils.currentLine=90898450; + //BA.debugLineNum = 90898450;BA.debugLine="yerrors(x) = xerror"; _yerrors[_x] = _xerror; - //BA.debugLineNum = 813;BA.debugLine="lum = 0"; +RDebugUtils.currentLine=90898451; + //BA.debugLineNum = 90898451;BA.debugLine="lum = 0"; _lum = (int) (0); }; - //BA.debugLineNum = 815;BA.debugLine="pixels(y*img.Width + x) = lum"; +RDebugUtils.currentLine=90898453; + //BA.debugLineNum = 90898453;BA.debugLine="pixels(y*img.Width + x) = lum"; _pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); } }; } }; - //BA.debugLineNum = 818;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=90898456; + //BA.debugLineNum = 90898456;BA.debugLine="Dim ret As AnImage"; _ret = new gunav2.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 819;BA.debugLine="ret.Width = img.Width"; +RDebugUtils.currentLine=90898457; + //BA.debugLineNum = 90898457;BA.debugLine="ret.Width = img.Width"; _ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 820;BA.debugLine="ret.Height = img.Height"; +RDebugUtils.currentLine=90898458; + //BA.debugLineNum = 90898458;BA.debugLine="ret.Height = img.Height"; _ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 821;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=90898459; + //BA.debugLineNum = 90898459;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 822;BA.debugLine="Return ret"; +RDebugUtils.currentLine=90898460; + //BA.debugLineNum = 90898460;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 823;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90898461; + //BA.debugLineNum = 90898461;BA.debugLine="End Sub"; return null; } -public String _filltriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points) throws Exception{ +public String _filltriangle(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "filltriangle", false)) + {return ((String) Debug.delegate(ba, "filltriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_points}));} int _tx = 0; int _ty = 0; double _dx0 = 0; @@ -749,217 +1309,294 @@ double _y3 = 0; double _y4 = 0; int _inc = 0; int _x = 0; - //BA.debugLineNum = 544;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 546;BA.debugLine="Dim tx, ty As Int"; +RDebugUtils.currentLine=90308608; + //BA.debugLineNum = 90308608;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=90308610; + //BA.debugLineNum = 90308610;BA.debugLine="Dim tx, ty As Int"; _tx = 0; _ty = 0; - //BA.debugLineNum = 547;BA.debugLine="If y0 > y1 Then"; +RDebugUtils.currentLine=90308611; + //BA.debugLineNum = 90308611;BA.debugLine="If y0 > y1 Then"; if (_y0>_y1) { - //BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; +RDebugUtils.currentLine=90308612; + //BA.debugLineNum = 90308612;BA.debugLine="tx = x0 : ty = y0"; _tx = _x0; - //BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; +RDebugUtils.currentLine=90308612; + //BA.debugLineNum = 90308612;BA.debugLine="tx = x0 : ty = y0"; _ty = _y0; - //BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; +RDebugUtils.currentLine=90308613; + //BA.debugLineNum = 90308613;BA.debugLine="x0 = x1 : y0 = y1"; _x0 = _x1; - //BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; +RDebugUtils.currentLine=90308613; + //BA.debugLineNum = 90308613;BA.debugLine="x0 = x1 : y0 = y1"; _y0 = _y1; - //BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; +RDebugUtils.currentLine=90308614; + //BA.debugLineNum = 90308614;BA.debugLine="x1 = tx : y1 = ty"; _x1 = _tx; - //BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; +RDebugUtils.currentLine=90308614; + //BA.debugLineNum = 90308614;BA.debugLine="x1 = tx : y1 = ty"; _y1 = _ty; }; - //BA.debugLineNum = 552;BA.debugLine="If y0 > y2 Then"; +RDebugUtils.currentLine=90308616; + //BA.debugLineNum = 90308616;BA.debugLine="If y0 > y2 Then"; if (_y0>_y2) { - //BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; +RDebugUtils.currentLine=90308617; + //BA.debugLineNum = 90308617;BA.debugLine="tx = x0 : ty = y0"; _tx = _x0; - //BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; +RDebugUtils.currentLine=90308617; + //BA.debugLineNum = 90308617;BA.debugLine="tx = x0 : ty = y0"; _ty = _y0; - //BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; +RDebugUtils.currentLine=90308618; + //BA.debugLineNum = 90308618;BA.debugLine="x0 = x2 : y0 = y2"; _x0 = _x2; - //BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; +RDebugUtils.currentLine=90308618; + //BA.debugLineNum = 90308618;BA.debugLine="x0 = x2 : y0 = y2"; _y0 = _y2; - //BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; +RDebugUtils.currentLine=90308619; + //BA.debugLineNum = 90308619;BA.debugLine="x2 = tx : y2 = ty"; _x2 = _tx; - //BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; +RDebugUtils.currentLine=90308619; + //BA.debugLineNum = 90308619;BA.debugLine="x2 = tx : y2 = ty"; _y2 = _ty; }; - //BA.debugLineNum = 557;BA.debugLine="If y1 > y2 Then"; +RDebugUtils.currentLine=90308621; + //BA.debugLineNum = 90308621;BA.debugLine="If y1 > y2 Then"; if (_y1>_y2) { - //BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; +RDebugUtils.currentLine=90308622; + //BA.debugLineNum = 90308622;BA.debugLine="tx = x1 : ty = y1"; _tx = _x1; - //BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; +RDebugUtils.currentLine=90308622; + //BA.debugLineNum = 90308622;BA.debugLine="tx = x1 : ty = y1"; _ty = _y1; - //BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; +RDebugUtils.currentLine=90308623; + //BA.debugLineNum = 90308623;BA.debugLine="x1 = x2 : y1 = y2"; _x1 = _x2; - //BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; +RDebugUtils.currentLine=90308623; + //BA.debugLineNum = 90308623;BA.debugLine="x1 = x2 : y1 = y2"; _y1 = _y2; - //BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; +RDebugUtils.currentLine=90308624; + //BA.debugLineNum = 90308624;BA.debugLine="x2 = tx : y2 = ty"; _x2 = _tx; - //BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; +RDebugUtils.currentLine=90308624; + //BA.debugLineNum = 90308624;BA.debugLine="x2 = tx : y2 = ty"; _y2 = _ty; }; - //BA.debugLineNum = 563;BA.debugLine="Dim dx0, dx1, dx2 As Double"; +RDebugUtils.currentLine=90308627; + //BA.debugLineNum = 90308627;BA.debugLine="Dim dx0, dx1, dx2 As Double"; _dx0 = 0; _dx1 = 0; _dx2 = 0; - //BA.debugLineNum = 564;BA.debugLine="Dim x3, x4, y3, y4 As Double"; +RDebugUtils.currentLine=90308628; + //BA.debugLineNum = 90308628;BA.debugLine="Dim x3, x4, y3, y4 As Double"; _x3 = 0; _x4 = 0; _y3 = 0; _y4 = 0; - //BA.debugLineNum = 565;BA.debugLine="Dim inc As Int"; +RDebugUtils.currentLine=90308629; + //BA.debugLineNum = 90308629;BA.debugLine="Dim inc As Int"; _inc = 0; - //BA.debugLineNum = 567;BA.debugLine="If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0="; +RDebugUtils.currentLine=90308631; + //BA.debugLineNum = 90308631;BA.debugLine="If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0="; if (_y1-_y0>0) { _dx0 = (_x1-_x0)/(double)(_y1-_y0);} else { _dx0 = 0;}; - //BA.debugLineNum = 568;BA.debugLine="If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1="; +RDebugUtils.currentLine=90308632; + //BA.debugLineNum = 90308632;BA.debugLine="If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1="; if (_y2-_y0>0) { _dx1 = (_x2-_x0)/(double)(_y2-_y0);} else { _dx1 = 0;}; - //BA.debugLineNum = 569;BA.debugLine="If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2="; +RDebugUtils.currentLine=90308633; + //BA.debugLineNum = 90308633;BA.debugLine="If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2="; if (_y2-_y1>0) { _dx2 = (_x2-_x1)/(double)(_y2-_y1);} else { _dx2 = 0;}; - //BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; +RDebugUtils.currentLine=90308634; + //BA.debugLineNum = 90308634;BA.debugLine="x3 = x0 : x4 = x0"; _x3 = _x0; - //BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; +RDebugUtils.currentLine=90308634; + //BA.debugLineNum = 90308634;BA.debugLine="x3 = x0 : x4 = x0"; _x4 = _x0; - //BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; +RDebugUtils.currentLine=90308635; + //BA.debugLineNum = 90308635;BA.debugLine="y3 = y0 : y4 = y0"; _y3 = _y0; - //BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; +RDebugUtils.currentLine=90308635; + //BA.debugLineNum = 90308635;BA.debugLine="y3 = y0 : y4 = y0"; _y4 = _y0; - //BA.debugLineNum = 572;BA.debugLine="If dx0 > dx1 Then"; +RDebugUtils.currentLine=90308636; + //BA.debugLineNum = 90308636;BA.debugLine="If dx0 > dx1 Then"; if (_dx0>_dx1) { - //BA.debugLineNum = 573;BA.debugLine="While"; +RDebugUtils.currentLine=90308637; + //BA.debugLineNum = 90308637;BA.debugLine="While"; __c.While(); - //BA.debugLineNum = 574;BA.debugLine="Do While y3 <= y1"; +RDebugUtils.currentLine=90308638; + //BA.debugLineNum = 90308638;BA.debugLine="Do While y3 <= y1"; while (_y3<=_y1) { - //BA.debugLineNum = 575;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +RDebugUtils.currentLine=90308639; + //BA.debugLineNum = 90308639;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; if (_x3>_x4) { _inc = (int) (-1);} else { _inc = (int) (1);}; - //BA.debugLineNum = 576;BA.debugLine="For x = x3 To x4 Step inc"; +RDebugUtils.currentLine=90308640; + //BA.debugLineNum = 90308640;BA.debugLine="For x = x3 To x4 Step inc"; { final int step40 = _inc; final int limit40 = (int) (_x4); _x = (int) (_x3) ; for (;(step40 > 0 && _x <= limit40) || (step40 < 0 && _x >= limit40) ;_x = ((int)(0 + _x + step40)) ) { - //BA.debugLineNum = 577;BA.debugLine="points(x, y3) = 1"; +RDebugUtils.currentLine=90308641; + //BA.debugLineNum = 90308641;BA.debugLine="points(x, y3) = 1"; _points[_x][(int) (_y3)] = (byte) (1); } }; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=90308643; + //BA.debugLineNum = 90308643;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _y3 = _y3+1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=90308643; + //BA.debugLineNum = 90308643;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _y4 = _y4+1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=90308643; + //BA.debugLineNum = 90308643;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _x3 = _x3+_dx1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=90308643; + //BA.debugLineNum = 90308643;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _x4 = _x4+_dx0; } ; - //BA.debugLineNum = 581;BA.debugLine="x4=x1"; +RDebugUtils.currentLine=90308645; + //BA.debugLineNum = 90308645;BA.debugLine="x4=x1"; _x4 = _x1; - //BA.debugLineNum = 582;BA.debugLine="y4=y1"; +RDebugUtils.currentLine=90308646; + //BA.debugLineNum = 90308646;BA.debugLine="y4=y1"; _y4 = _y1; - //BA.debugLineNum = 583;BA.debugLine="Do While y3 <= y2"; +RDebugUtils.currentLine=90308647; + //BA.debugLineNum = 90308647;BA.debugLine="Do While y3 <= y2"; while (_y3<=_y2) { - //BA.debugLineNum = 584;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +RDebugUtils.currentLine=90308648; + //BA.debugLineNum = 90308648;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; if (_x3>_x4) { _inc = (int) (-1);} else { _inc = (int) (1);}; - //BA.debugLineNum = 585;BA.debugLine="For x = x3 To x4 Step inc"; +RDebugUtils.currentLine=90308649; + //BA.debugLineNum = 90308649;BA.debugLine="For x = x3 To x4 Step inc"; { final int step52 = _inc; final int limit52 = (int) (_x4); _x = (int) (_x3) ; for (;(step52 > 0 && _x <= limit52) || (step52 < 0 && _x >= limit52) ;_x = ((int)(0 + _x + step52)) ) { - //BA.debugLineNum = 586;BA.debugLine="points(x ,y3) = 1"; +RDebugUtils.currentLine=90308650; + //BA.debugLineNum = 90308650;BA.debugLine="points(x ,y3) = 1"; _points[_x][(int) (_y3)] = (byte) (1); } }; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=90308652; + //BA.debugLineNum = 90308652;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _y3 = _y3+1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=90308652; + //BA.debugLineNum = 90308652;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _y4 = _y4+1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=90308652; + //BA.debugLineNum = 90308652;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _x3 = _x3+_dx1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +RDebugUtils.currentLine=90308652; + //BA.debugLineNum = 90308652;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; _x4 = _x4+_dx2; } ; }else { - //BA.debugLineNum = 591;BA.debugLine="While"; +RDebugUtils.currentLine=90308655; + //BA.debugLineNum = 90308655;BA.debugLine="While"; __c.While(); - //BA.debugLineNum = 592;BA.debugLine="Do While y3 <= y1"; +RDebugUtils.currentLine=90308656; + //BA.debugLineNum = 90308656;BA.debugLine="Do While y3 <= y1"; while (_y3<=_y1) { - //BA.debugLineNum = 593;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +RDebugUtils.currentLine=90308657; + //BA.debugLineNum = 90308657;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; if (_x3>_x4) { _inc = (int) (-1);} else { _inc = (int) (1);}; - //BA.debugLineNum = 594;BA.debugLine="For x = x3 To x4 Step inc"; +RDebugUtils.currentLine=90308658; + //BA.debugLineNum = 90308658;BA.debugLine="For x = x3 To x4 Step inc"; { final int step64 = _inc; final int limit64 = (int) (_x4); _x = (int) (_x3) ; for (;(step64 > 0 && _x <= limit64) || (step64 < 0 && _x >= limit64) ;_x = ((int)(0 + _x + step64)) ) { - //BA.debugLineNum = 595;BA.debugLine="points(x, y3) = 1"; +RDebugUtils.currentLine=90308659; + //BA.debugLineNum = 90308659;BA.debugLine="points(x, y3) = 1"; _points[_x][(int) (_y3)] = (byte) (1); } }; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +RDebugUtils.currentLine=90308661; + //BA.debugLineNum = 90308661;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; _y3 = _y3+1; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +RDebugUtils.currentLine=90308661; + //BA.debugLineNum = 90308661;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; _y4 = _y4+1; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +RDebugUtils.currentLine=90308661; + //BA.debugLineNum = 90308661;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; _x3 = _x3+_dx0; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +RDebugUtils.currentLine=90308661; + //BA.debugLineNum = 90308661;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; _x4 = _x4+_dx1; } ; - //BA.debugLineNum = 599;BA.debugLine="x3=x1"; +RDebugUtils.currentLine=90308663; + //BA.debugLineNum = 90308663;BA.debugLine="x3=x1"; _x3 = _x1; - //BA.debugLineNum = 600;BA.debugLine="y3=y1"; +RDebugUtils.currentLine=90308664; + //BA.debugLineNum = 90308664;BA.debugLine="y3=y1"; _y3 = _y1; - //BA.debugLineNum = 601;BA.debugLine="Do While y3<=y2"; +RDebugUtils.currentLine=90308665; + //BA.debugLineNum = 90308665;BA.debugLine="Do While y3<=y2"; while (_y3<=_y2) { - //BA.debugLineNum = 602;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +RDebugUtils.currentLine=90308666; + //BA.debugLineNum = 90308666;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; if (_x3>_x4) { _inc = (int) (-1);} else { _inc = (int) (1);}; - //BA.debugLineNum = 603;BA.debugLine="For x = x3 To x4 Step inc"; +RDebugUtils.currentLine=90308667; + //BA.debugLineNum = 90308667;BA.debugLine="For x = x3 To x4 Step inc"; { final int step76 = _inc; final int limit76 = (int) (_x4); _x = (int) (_x3) ; for (;(step76 > 0 && _x <= limit76) || (step76 < 0 && _x >= limit76) ;_x = ((int)(0 + _x + step76)) ) { - //BA.debugLineNum = 604;BA.debugLine="points(x, y3) = 1"; +RDebugUtils.currentLine=90308668; + //BA.debugLineNum = 90308668;BA.debugLine="points(x, y3) = 1"; _points[_x][(int) (_y3)] = (byte) (1); } }; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +RDebugUtils.currentLine=90308670; + //BA.debugLineNum = 90308670;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; _y3 = _y3+1; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +RDebugUtils.currentLine=90308670; + //BA.debugLineNum = 90308670;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; _y4 = _y4+1; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +RDebugUtils.currentLine=90308670; + //BA.debugLineNum = 90308670;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; _x3 = _x3+_dx2; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +RDebugUtils.currentLine=90308670; + //BA.debugLineNum = 90308670;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; _x4 = _x4+_dx1; } ; }; - //BA.debugLineNum = 609;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90308673; + //BA.debugLineNum = 90308673;BA.debugLine="End Sub"; return ""; } -public gunav2.keymon.com.mx.escposprinter._animage _imagetobwimage(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{ +public gunav2.keymon.com.mx.escposprinter._animage _imagetobwimage(gunav2.keymon.com.mx.escposprinter __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "imagetobwimage", false)) + {return ((gunav2.keymon.com.mx.escposprinter._animage) Debug.delegate(ba, "imagetobwimage", new Object[] {_bmp}));} b4a.example.bitmapcreator _bc = null; int _w = 0; int _h = 0; @@ -970,89 +1607,96 @@ int _j = 0; b4a.example.bitmapcreator._argbcolor _col = null; int _lum = 0; gunav2.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 713;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; - //BA.debugLineNum = 714;BA.debugLine="Dim BC As BitmapCreator 'ignore"; +RDebugUtils.currentLine=90701824; + //BA.debugLineNum = 90701824;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; +RDebugUtils.currentLine=90701825; + //BA.debugLineNum = 90701825;BA.debugLine="Dim BC As BitmapCreator 'ignore"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 715;BA.debugLine="Dim W As Int = bmp.Width"; +RDebugUtils.currentLine=90701826; + //BA.debugLineNum = 90701826;BA.debugLine="Dim W As Int = bmp.Width"; _w = _bmp.getWidth(); - //BA.debugLineNum = 716;BA.debugLine="Dim H As Int = bmp.Height"; +RDebugUtils.currentLine=90701827; + //BA.debugLineNum = 90701827;BA.debugLine="Dim H As Int = bmp.Height"; _h = _bmp.getHeight(); - //BA.debugLineNum = 717;BA.debugLine="Dim pixels(W * H) As Byte"; +RDebugUtils.currentLine=90701828; + //BA.debugLineNum = 90701828;BA.debugLine="Dim pixels(W * H) As Byte"; _pixels = new byte[(int) (_w*_h)]; ; - //BA.debugLineNum = 719;BA.debugLine="For y = 0 To H - 1"; +RDebugUtils.currentLine=90701830; + //BA.debugLineNum = 90701830;BA.debugLine="For y = 0 To H - 1"; { final int step5 = 1; final int limit5 = (int) (_h-1); _y = (int) (0) ; for (;_y <= limit5 ;_y = _y + step5 ) { - //BA.debugLineNum = 720;BA.debugLine="For x = 0 To W - 1"; +RDebugUtils.currentLine=90701831; + //BA.debugLineNum = 90701831;BA.debugLine="For x = 0 To W - 1"; { final int step6 = 1; final int limit6 = (int) (_w-1); _x = (int) (0) ; for (;_x <= limit6 ;_x = _x + step6 ) { - //BA.debugLineNum = 721;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; +RDebugUtils.currentLine=90701832; + //BA.debugLineNum = 90701832;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; _j = _bmp.GetPixel(_x,_y); - //BA.debugLineNum = 723;BA.debugLine="Dim col As ARGBColor"; +RDebugUtils.currentLine=90701834; + //BA.debugLineNum = 90701834;BA.debugLine="Dim col As ARGBColor"; _col = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 724;BA.debugLine="BC.ColorToARGB(j, col )"; +RDebugUtils.currentLine=90701835; + //BA.debugLineNum = 90701835;BA.debugLine="BC.ColorToARGB(j, col )"; _bc._colortoargb(_j,_col); - //BA.debugLineNum = 725;BA.debugLine="Dim lum As Int = col.r * 0.2 + col.b*0.1 + col."; +RDebugUtils.currentLine=90701836; + //BA.debugLineNum = 90701836;BA.debugLine="Dim lum As Int = col.r * 0.2 + col.b*0.1 + col."; _lum = (int) (_col.r*0.2+_col.b*0.1+_col.g*0.7); - //BA.debugLineNum = 726;BA.debugLine="If lum> 255 Then lum = 255"; +RDebugUtils.currentLine=90701837; + //BA.debugLineNum = 90701837;BA.debugLine="If lum> 255 Then lum = 255"; if (_lum>255) { _lum = (int) (255);}; - //BA.debugLineNum = 728;BA.debugLine="pixels(y*W + x) = lum"; +RDebugUtils.currentLine=90701839; + //BA.debugLineNum = 90701839;BA.debugLine="pixels(y*W + x) = lum"; _pixels[(int) (_y*_w+_x)] = (byte) (_lum); } }; } }; - //BA.debugLineNum = 731;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=90701842; + //BA.debugLineNum = 90701842;BA.debugLine="Dim ret As AnImage"; _ret = new gunav2.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 732;BA.debugLine="ret.Width = bmp.Width"; +RDebugUtils.currentLine=90701843; + //BA.debugLineNum = 90701843;BA.debugLine="ret.Width = bmp.Width"; _ret.Width /*int*/ = _bmp.getWidth(); - //BA.debugLineNum = 733;BA.debugLine="ret.Height = bmp.Height"; +RDebugUtils.currentLine=90701844; + //BA.debugLineNum = 90701844;BA.debugLine="ret.Height = bmp.Height"; _ret.Height /*int*/ = _bmp.getHeight(); - //BA.debugLineNum = 734;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=90701845; + //BA.debugLineNum = 90701845;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 735;BA.debugLine="Return ret"; +RDebugUtils.currentLine=90701846; + //BA.debugLineNum = 90701846;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 736;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90701847; + //BA.debugLineNum = 90701847;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 75;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; - //BA.debugLineNum = 76;BA.debugLine="EventName = vEventName"; -_eventname = _veventname; - //BA.debugLineNum = 77;BA.debugLine="CallBack = vCallback"; -_callback = _vcallback; - //BA.debugLineNum = 78;BA.debugLine="Serial1.Initialize(\"Serial1\")"; -_serial1.Initialize("Serial1"); - //BA.debugLineNum = 79;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 80;BA.debugLine="ConnectedError = \"\""; -_connectederror = ""; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; -return ""; -} -public boolean _isbluetoothon() throws Exception{ - //BA.debugLineNum = 94;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; - //BA.debugLineNum = 95;BA.debugLine="Return Serial1.IsEnabled"; -if (true) return _serial1.IsEnabled(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; +public boolean _isbluetoothon(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "isbluetoothon", false)) + {return ((Boolean) Debug.delegate(ba, "isbluetoothon", null));} +RDebugUtils.currentLine=88539136; + //BA.debugLineNum = 88539136;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; +RDebugUtils.currentLine=88539137; + //BA.debugLineNum = 88539137;BA.debugLine="Return Serial1.IsEnabled"; +if (true) return __ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .IsEnabled(); +RDebugUtils.currentLine=88539138; + //BA.debugLineNum = 88539138;BA.debugLine="End Sub"; return false; } -public boolean _isconnected() throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Public Sub IsConnected As Boolean"; - //BA.debugLineNum = 90;BA.debugLine="Return Connected"; -if (true) return _connected; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return false; -} -public gunav2.keymon.com.mx.escposprinter._animage _packimage(gunav2.keymon.com.mx.escposprinter._animage _imagedata) throws Exception{ +public gunav2.keymon.com.mx.escposprinter._animage _packimage(gunav2.keymon.com.mx.escposprinter __ref,gunav2.keymon.com.mx.escposprinter._animage _imagedata) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "packimage", false)) + {return ((gunav2.keymon.com.mx.escposprinter._animage) Debug.delegate(ba, "packimage", new Object[] {_imagedata}));} int _xbytes = 0; byte[] _pixels = null; byte[] _masks = null; @@ -1063,84 +1707,116 @@ byte _xbyte = (byte)0; int _b = 0; byte _pix = (byte)0; gunav2.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 865;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; - //BA.debugLineNum = 866;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; +RDebugUtils.currentLine=91029504; + //BA.debugLineNum = 91029504;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; +RDebugUtils.currentLine=91029505; + //BA.debugLineNum = 91029505;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; _xbytes = (int) (_imagedata.Width /*int*/ /(double)8); - //BA.debugLineNum = 867;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; +RDebugUtils.currentLine=91029506; + //BA.debugLineNum = 91029506;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; _pixels = new byte[(int) (_xbytes*_imagedata.Height /*int*/ )]; ; - //BA.debugLineNum = 868;BA.debugLine="Dim masks(8) As Byte"; +RDebugUtils.currentLine=91029507; + //BA.debugLineNum = 91029507;BA.debugLine="Dim masks(8) As Byte"; _masks = new byte[(int) (8)]; ; - //BA.debugLineNum = 869;BA.debugLine="masks(0) = 0x80"; +RDebugUtils.currentLine=91029508; + //BA.debugLineNum = 91029508;BA.debugLine="masks(0) = 0x80"; _masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 870;BA.debugLine="masks(1) = 0x40"; +RDebugUtils.currentLine=91029509; + //BA.debugLineNum = 91029509;BA.debugLine="masks(1) = 0x40"; _masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 871;BA.debugLine="masks(2) = 0x20"; +RDebugUtils.currentLine=91029510; + //BA.debugLineNum = 91029510;BA.debugLine="masks(2) = 0x20"; _masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 872;BA.debugLine="masks(3) = 0x10"; +RDebugUtils.currentLine=91029511; + //BA.debugLineNum = 91029511;BA.debugLine="masks(3) = 0x10"; _masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 873;BA.debugLine="masks(4) = 0x08"; +RDebugUtils.currentLine=91029512; + //BA.debugLineNum = 91029512;BA.debugLine="masks(4) = 0x08"; _masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 874;BA.debugLine="masks(5) = 0x04"; +RDebugUtils.currentLine=91029513; + //BA.debugLineNum = 91029513;BA.debugLine="masks(5) = 0x04"; _masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 875;BA.debugLine="masks(6) = 0x02"; +RDebugUtils.currentLine=91029514; + //BA.debugLineNum = 91029514;BA.debugLine="masks(6) = 0x02"; _masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 876;BA.debugLine="masks(7) = 0x01"; +RDebugUtils.currentLine=91029515; + //BA.debugLineNum = 91029515;BA.debugLine="masks(7) = 0x01"; _masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 877;BA.debugLine="Dim index As Int = 0"; +RDebugUtils.currentLine=91029516; + //BA.debugLineNum = 91029516;BA.debugLine="Dim index As Int = 0"; _index = (int) (0); - //BA.debugLineNum = 878;BA.debugLine="For y = 0 To imagedata.Height - 1"; +RDebugUtils.currentLine=91029517; + //BA.debugLineNum = 91029517;BA.debugLine="For y = 0 To imagedata.Height - 1"; { final int step13 = 1; final int limit13 = (int) (_imagedata.Height /*int*/ -1); _y = (int) (0) ; for (;_y <= limit13 ;_y = _y + step13 ) { - //BA.debugLineNum = 879;BA.debugLine="For x = 0 To xbytes - 1"; +RDebugUtils.currentLine=91029518; + //BA.debugLineNum = 91029518;BA.debugLine="For x = 0 To xbytes - 1"; { final int step14 = 1; final int limit14 = (int) (_xbytes-1); _x = (int) (0) ; for (;_x <= limit14 ;_x = _x + step14 ) { - //BA.debugLineNum = 880;BA.debugLine="Dim xbyte As Byte = 0"; +RDebugUtils.currentLine=91029519; + //BA.debugLineNum = 91029519;BA.debugLine="Dim xbyte As Byte = 0"; _xbyte = (byte) (0); - //BA.debugLineNum = 881;BA.debugLine="For b = 0 To 7"; +RDebugUtils.currentLine=91029520; + //BA.debugLineNum = 91029520;BA.debugLine="For b = 0 To 7"; { final int step16 = 1; final int limit16 = (int) (7); _b = (int) (0) ; for (;_b <= limit16 ;_b = _b + step16 ) { - //BA.debugLineNum = 883;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; +RDebugUtils.currentLine=91029522; + //BA.debugLineNum = 91029522;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; _pix = _imagedata.Data /*byte[]*/ [_index]; - //BA.debugLineNum = 884;BA.debugLine="If pix <> 0 Then"; +RDebugUtils.currentLine=91029523; + //BA.debugLineNum = 91029523;BA.debugLine="If pix <> 0 Then"; if (_pix!=0) { - //BA.debugLineNum = 885;BA.debugLine="xbyte = xbyte + masks(b)"; +RDebugUtils.currentLine=91029524; + //BA.debugLineNum = 91029524;BA.debugLine="xbyte = xbyte + masks(b)"; _xbyte = (byte) (_xbyte+_masks[_b]); }; - //BA.debugLineNum = 887;BA.debugLine="index = index + 1"; +RDebugUtils.currentLine=91029526; + //BA.debugLineNum = 91029526;BA.debugLine="index = index + 1"; _index = (int) (_index+1); } }; - //BA.debugLineNum = 889;BA.debugLine="pixels(y*xbytes + x) = xbyte"; +RDebugUtils.currentLine=91029528; + //BA.debugLineNum = 91029528;BA.debugLine="pixels(y*xbytes + x) = xbyte"; _pixels[(int) (_y*_xbytes+_x)] = _xbyte; } }; } }; - //BA.debugLineNum = 892;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=91029531; + //BA.debugLineNum = 91029531;BA.debugLine="Dim ret As AnImage"; _ret = new gunav2.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 893;BA.debugLine="ret.Width = xbytes"; +RDebugUtils.currentLine=91029532; + //BA.debugLineNum = 91029532;BA.debugLine="ret.Width = xbytes"; _ret.Width /*int*/ = _xbytes; - //BA.debugLineNum = 894;BA.debugLine="ret.Height = imagedata.Height"; +RDebugUtils.currentLine=91029533; + //BA.debugLineNum = 91029533;BA.debugLine="ret.Height = imagedata.Height"; _ret.Height /*int*/ = _imagedata.Height /*int*/ ; - //BA.debugLineNum = 895;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=91029534; + //BA.debugLineNum = 91029534;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 896;BA.debugLine="Return ret"; +RDebugUtils.currentLine=91029535; + //BA.debugLineNum = 91029535;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 897;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91029536; + //BA.debugLineNum = 91029536;BA.debugLine="End Sub"; return null; } -public byte[] _packimageslice(gunav2.keymon.com.mx.escposprinter._animage _img,int _slice,boolean _dots24) throws Exception{ +public byte[] _packimageslice(gunav2.keymon.com.mx.escposprinter __ref,gunav2.keymon.com.mx.escposprinter._animage _img,int _slice,boolean _dots24) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "packimageslice", false)) + {return ((byte[]) Debug.delegate(ba, "packimageslice", new Object[] {_img,_slice,_dots24}));} int _bytes = 0; byte[] _pixels = null; int _slicestart = 0; @@ -1150,890 +1826,1146 @@ int _s = 0; byte _xbyte = (byte)0; int _b = 0; byte _pix = (byte)0; - //BA.debugLineNum = 963;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; - //BA.debugLineNum = 964;BA.debugLine="Dim bytes As Int = img.width"; +RDebugUtils.currentLine=91160576; + //BA.debugLineNum = 91160576;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; +RDebugUtils.currentLine=91160577; + //BA.debugLineNum = 91160577;BA.debugLine="Dim bytes As Int = img.width"; _bytes = _img.Width /*int*/ ; - //BA.debugLineNum = 965;BA.debugLine="If dots24 Then"; +RDebugUtils.currentLine=91160578; + //BA.debugLineNum = 91160578;BA.debugLine="If dots24 Then"; if (_dots24) { - //BA.debugLineNum = 966;BA.debugLine="Dim pixels(bytes * 3) As Byte"; +RDebugUtils.currentLine=91160579; + //BA.debugLineNum = 91160579;BA.debugLine="Dim pixels(bytes * 3) As Byte"; _pixels = new byte[(int) (_bytes*3)]; ; - //BA.debugLineNum = 967;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; +RDebugUtils.currentLine=91160580; + //BA.debugLineNum = 91160580;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; _slicestart = (int) (_slice*_bytes*8*3); }else { - //BA.debugLineNum = 969;BA.debugLine="Dim pixels(bytes) As Byte"; +RDebugUtils.currentLine=91160582; + //BA.debugLineNum = 91160582;BA.debugLine="Dim pixels(bytes) As Byte"; _pixels = new byte[_bytes]; ; - //BA.debugLineNum = 970;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; +RDebugUtils.currentLine=91160583; + //BA.debugLineNum = 91160583;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; _slicestart = (int) (_slice*_bytes*8); }; - //BA.debugLineNum = 973;BA.debugLine="Dim masks(8) As Byte"; +RDebugUtils.currentLine=91160586; + //BA.debugLineNum = 91160586;BA.debugLine="Dim masks(8) As Byte"; _masks = new byte[(int) (8)]; ; - //BA.debugLineNum = 974;BA.debugLine="masks(0) = 0x80"; +RDebugUtils.currentLine=91160587; + //BA.debugLineNum = 91160587;BA.debugLine="masks(0) = 0x80"; _masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 975;BA.debugLine="masks(1) = 0x40"; +RDebugUtils.currentLine=91160588; + //BA.debugLineNum = 91160588;BA.debugLine="masks(1) = 0x40"; _masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 976;BA.debugLine="masks(2) = 0x20"; +RDebugUtils.currentLine=91160589; + //BA.debugLineNum = 91160589;BA.debugLine="masks(2) = 0x20"; _masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 977;BA.debugLine="masks(3) = 0x10"; +RDebugUtils.currentLine=91160590; + //BA.debugLineNum = 91160590;BA.debugLine="masks(3) = 0x10"; _masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 978;BA.debugLine="masks(4) = 0x08"; +RDebugUtils.currentLine=91160591; + //BA.debugLineNum = 91160591;BA.debugLine="masks(4) = 0x08"; _masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 979;BA.debugLine="masks(5) = 0x04"; +RDebugUtils.currentLine=91160592; + //BA.debugLineNum = 91160592;BA.debugLine="masks(5) = 0x04"; _masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 980;BA.debugLine="masks(6) = 0x02"; +RDebugUtils.currentLine=91160593; + //BA.debugLineNum = 91160593;BA.debugLine="masks(6) = 0x02"; _masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 981;BA.debugLine="masks(7) = 0x01"; +RDebugUtils.currentLine=91160594; + //BA.debugLineNum = 91160594;BA.debugLine="masks(7) = 0x01"; _masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 983;BA.debugLine="If dots24 Then"; +RDebugUtils.currentLine=91160596; + //BA.debugLineNum = 91160596;BA.debugLine="If dots24 Then"; if (_dots24) { - //BA.debugLineNum = 984;BA.debugLine="For x = 0 To bytes - 1"; +RDebugUtils.currentLine=91160597; + //BA.debugLineNum = 91160597;BA.debugLine="For x = 0 To bytes - 1"; { final int step19 = 1; final int limit19 = (int) (_bytes-1); _x = (int) (0) ; for (;_x <= limit19 ;_x = _x + step19 ) { - //BA.debugLineNum = 985;BA.debugLine="For s = 0 To 2"; +RDebugUtils.currentLine=91160598; + //BA.debugLineNum = 91160598;BA.debugLine="For s = 0 To 2"; { final int step20 = 1; final int limit20 = (int) (2); _s = (int) (0) ; for (;_s <= limit20 ;_s = _s + step20 ) { - //BA.debugLineNum = 986;BA.debugLine="Dim xbyte As Byte = 0"; +RDebugUtils.currentLine=91160599; + //BA.debugLineNum = 91160599;BA.debugLine="Dim xbyte As Byte = 0"; _xbyte = (byte) (0); - //BA.debugLineNum = 987;BA.debugLine="For b = 0 To 7"; +RDebugUtils.currentLine=91160600; + //BA.debugLineNum = 91160600;BA.debugLine="For b = 0 To 7"; { final int step22 = 1; final int limit22 = (int) (7); _b = (int) (0) ; for (;_b <= limit22 ;_b = _b + step22 ) { - //BA.debugLineNum = 989;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; +RDebugUtils.currentLine=91160602; + //BA.debugLineNum = 91160602;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; _pix = _img.Data /*byte[]*/ [(int) (_slicestart+((_b+_s*8)*_bytes)+_x)]; - //BA.debugLineNum = 990;BA.debugLine="If pix <> 0 Then"; +RDebugUtils.currentLine=91160603; + //BA.debugLineNum = 91160603;BA.debugLine="If pix <> 0 Then"; if (_pix!=0) { - //BA.debugLineNum = 991;BA.debugLine="xbyte = xbyte + masks(b)"; +RDebugUtils.currentLine=91160604; + //BA.debugLineNum = 91160604;BA.debugLine="xbyte = xbyte + masks(b)"; _xbyte = (byte) (_xbyte+_masks[_b]); }; } }; - //BA.debugLineNum = 994;BA.debugLine="pixels(x*3+s) = xbyte"; +RDebugUtils.currentLine=91160607; + //BA.debugLineNum = 91160607;BA.debugLine="pixels(x*3+s) = xbyte"; _pixels[(int) (_x*3+_s)] = _xbyte; } }; } }; }else { - //BA.debugLineNum = 998;BA.debugLine="For x = 0 To bytes - 1"; +RDebugUtils.currentLine=91160611; + //BA.debugLineNum = 91160611;BA.debugLine="For x = 0 To bytes - 1"; { final int step32 = 1; final int limit32 = (int) (_bytes-1); _x = (int) (0) ; for (;_x <= limit32 ;_x = _x + step32 ) { - //BA.debugLineNum = 999;BA.debugLine="Dim xbyte As Byte = 0"; +RDebugUtils.currentLine=91160612; + //BA.debugLineNum = 91160612;BA.debugLine="Dim xbyte As Byte = 0"; _xbyte = (byte) (0); - //BA.debugLineNum = 1000;BA.debugLine="For b = 0 To 7"; +RDebugUtils.currentLine=91160613; + //BA.debugLineNum = 91160613;BA.debugLine="For b = 0 To 7"; { final int step34 = 1; final int limit34 = (int) (7); _b = (int) (0) ; for (;_b <= limit34 ;_b = _b + step34 ) { - //BA.debugLineNum = 1002;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; +RDebugUtils.currentLine=91160615; + //BA.debugLineNum = 91160615;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; _pix = _img.Data /*byte[]*/ [(int) (_slicestart+(_b*_bytes)+_x)]; - //BA.debugLineNum = 1003;BA.debugLine="If pix <> 0 Then"; +RDebugUtils.currentLine=91160616; + //BA.debugLineNum = 91160616;BA.debugLine="If pix <> 0 Then"; if (_pix!=0) { - //BA.debugLineNum = 1004;BA.debugLine="xbyte = xbyte + masks(b)"; +RDebugUtils.currentLine=91160617; + //BA.debugLineNum = 91160617;BA.debugLine="xbyte = xbyte + masks(b)"; _xbyte = (byte) (_xbyte+_masks[_b]); }; } }; - //BA.debugLineNum = 1007;BA.debugLine="pixels(x) = xbyte"; +RDebugUtils.currentLine=91160620; + //BA.debugLineNum = 91160620;BA.debugLine="pixels(x) = xbyte"; _pixels[_x] = _xbyte; } }; }; - //BA.debugLineNum = 1010;BA.debugLine="Return pixels"; +RDebugUtils.currentLine=91160623; + //BA.debugLineNum = 91160623;BA.debugLine="Return pixels"; if (true) return _pixels; - //BA.debugLineNum = 1011;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91160624; + //BA.debugLineNum = 91160624;BA.debugLine="End Sub"; return null; } -public String _plotbox(int _x0,int _y0,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ -int _x = 0; - //BA.debugLineNum = 611;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; - //BA.debugLineNum = 613;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; -_plotline(_x0,_y0,_x0,_y1,_points); - //BA.debugLineNum = 614;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; -_plotline(_x0,_y0,_x1,_y0,_points); - //BA.debugLineNum = 615;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; -_plotline(_x1,_y0,_x1,_y1,_points); - //BA.debugLineNum = 616;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; -_plotline(_x0,_y1,_x1,_y1,_points); - //BA.debugLineNum = 617;BA.debugLine="If Fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 618;BA.debugLine="For x = x0 To x1"; -{ -final int step6 = 1; -final int limit6 = _x1; -_x = _x0 ; -for (;_x <= limit6 ;_x = _x + step6 ) { - //BA.debugLineNum = 619;BA.debugLine="PlotLine(x, y0, x, y1, points)"; -_plotline(_x,_y0,_x,_y1,_points); - } -}; - }; - //BA.debugLineNum = 622;BA.debugLine="End Sub"; -return ""; -} -public String _plotcircle(int _radius,int _quadrants,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ -int _mask = 0; -int _q = 0; -int _i = 0; -double _x = 0; -double _y = 0; - //BA.debugLineNum = 625;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; - //BA.debugLineNum = 627;BA.debugLine="Dim mask As Int = 1"; -_mask = (int) (1); - //BA.debugLineNum = 628;BA.debugLine="For q = 3 To 0 Step -1"; -{ -final int step2 = -1; -final int limit2 = (int) (0); -_q = (int) (3) ; -for (;_q >= limit2 ;_q = _q + step2 ) { - //BA.debugLineNum = 629;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; -if (__c.Bit.And(_quadrants,_mask)!=0) { - //BA.debugLineNum = 630;BA.debugLine="For i = q*90 To q*90+90 Step 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_q*90+90); -_i = (int) (_q*90) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 631;BA.debugLine="Dim x,y As Double"; -_x = 0; -_y = 0; - //BA.debugLineNum = 632;BA.debugLine="x = x1 - SinD(i)*radius"; -_x = _x1-__c.SinD(_i)*_radius; - //BA.debugLineNum = 633;BA.debugLine="y = y1 - CosD(i)*radius"; -_y = _y1-__c.CosD(_i)*_radius; - //BA.debugLineNum = 634;BA.debugLine="If fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 635;BA.debugLine="PlotLine(x1, y1, x, y, points)"; -_plotline(_x1,_y1,(int) (_x),(int) (_y),_points); - }else { - //BA.debugLineNum = 637;BA.debugLine="points(Round(x), Round(y)) = 1"; -_points[(int) (__c.Round(_x))][(int) (__c.Round(_y))] = (byte) (1); - }; - } -}; - }; - //BA.debugLineNum = 641;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; -_mask = __c.Bit.ShiftLeft(_mask,(int) (1)); - } -}; - //BA.debugLineNum = 643;BA.debugLine="End Sub"; -return ""; -} -public String _plotline(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ - //BA.debugLineNum = 646;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; - //BA.debugLineNum = 647;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; -if (__c.Abs(_y1-_y0)<__c.Abs(_x1-_x0)) { - //BA.debugLineNum = 648;BA.debugLine="If x0 > x1 Then"; -if (_x0>_x1) { - //BA.debugLineNum = 649;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; -_plotlinelow(_x1,_y1,_x0,_y0,_points); - }else { - //BA.debugLineNum = 651;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; -_plotlinelow(_x0,_y0,_x1,_y1,_points); - }; - }else { - //BA.debugLineNum = 654;BA.debugLine="If y0 > y1 Then"; -if (_y0>_y1) { - //BA.debugLineNum = 655;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; -_plotlinehigh(_x1,_y1,_x0,_y0,_points); - }else { - //BA.debugLineNum = 657;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; -_plotlinehigh(_x0,_y0,_x1,_y1,_points); - }; - }; - //BA.debugLineNum = 660;BA.debugLine="End Sub"; -return ""; -} -public String _plotlinehigh(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ -int _dx = 0; -int _dy = 0; -int _xi = 0; -int _d = 0; -int _x = 0; -int _y = 0; - //BA.debugLineNum = 662;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 663;BA.debugLine="Dim dx As Int = x1 - x0"; -_dx = (int) (_x1-_x0); - //BA.debugLineNum = 664;BA.debugLine="Dim dy As Int = y1 - y0"; -_dy = (int) (_y1-_y0); - //BA.debugLineNum = 665;BA.debugLine="Dim xi As Int = 1"; -_xi = (int) (1); - //BA.debugLineNum = 666;BA.debugLine="If dx < 0 Then"; -if (_dx<0) { - //BA.debugLineNum = 667;BA.debugLine="xi = -1"; -_xi = (int) (-1); - //BA.debugLineNum = 668;BA.debugLine="dx = -dx"; -_dx = (int) (-_dx); - }; - //BA.debugLineNum = 670;BA.debugLine="Dim D As Int = 2*dx - dy"; -_d = (int) (2*_dx-_dy); - //BA.debugLineNum = 671;BA.debugLine="Dim x As Int = x0"; -_x = _x0; - //BA.debugLineNum = 672;BA.debugLine="For y = y0 To y1"; -{ -final int step10 = 1; -final int limit10 = _y1; -_y = _y0 ; -for (;_y <= limit10 ;_y = _y + step10 ) { - //BA.debugLineNum = 673;BA.debugLine="points(x,y) = 1"; -_points[_x][_y] = (byte) (1); - //BA.debugLineNum = 674;BA.debugLine="If D > 0 Then"; -if (_d>0) { - //BA.debugLineNum = 675;BA.debugLine="x = x + xi"; -_x = (int) (_x+_xi); - //BA.debugLineNum = 676;BA.debugLine="D = D - 2*dy"; -_d = (int) (_d-2*_dy); - }; - //BA.debugLineNum = 678;BA.debugLine="D = D + 2*dx"; -_d = (int) (_d+2*_dx); - } -}; - //BA.debugLineNum = 680;BA.debugLine="End Sub"; -return ""; -} -public String _plotlinelow(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +public String _plotlinelow(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotlinelow", false)) + {return ((String) Debug.delegate(ba, "plotlinelow", new Object[] {_x0,_y0,_x1,_y1,_points}));} int _dx = 0; int _dy = 0; int _yi = 0; int _d = 0; int _y = 0; int _x = 0; - //BA.debugLineNum = 682;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; - //BA.debugLineNum = 683;BA.debugLine="Dim dx As Int = x1 - x0"; +RDebugUtils.currentLine=90636288; + //BA.debugLineNum = 90636288;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; +RDebugUtils.currentLine=90636289; + //BA.debugLineNum = 90636289;BA.debugLine="Dim dx As Int = x1 - x0"; _dx = (int) (_x1-_x0); - //BA.debugLineNum = 684;BA.debugLine="Dim dy As Int = y1 - y0"; +RDebugUtils.currentLine=90636290; + //BA.debugLineNum = 90636290;BA.debugLine="Dim dy As Int = y1 - y0"; _dy = (int) (_y1-_y0); - //BA.debugLineNum = 685;BA.debugLine="Dim yi As Int = 1"; +RDebugUtils.currentLine=90636291; + //BA.debugLineNum = 90636291;BA.debugLine="Dim yi As Int = 1"; _yi = (int) (1); - //BA.debugLineNum = 686;BA.debugLine="If dy < 0 Then"; +RDebugUtils.currentLine=90636292; + //BA.debugLineNum = 90636292;BA.debugLine="If dy < 0 Then"; if (_dy<0) { - //BA.debugLineNum = 687;BA.debugLine="yi = -1"; +RDebugUtils.currentLine=90636293; + //BA.debugLineNum = 90636293;BA.debugLine="yi = -1"; _yi = (int) (-1); - //BA.debugLineNum = 688;BA.debugLine="dy = -dy"; +RDebugUtils.currentLine=90636294; + //BA.debugLineNum = 90636294;BA.debugLine="dy = -dy"; _dy = (int) (-_dy); }; - //BA.debugLineNum = 690;BA.debugLine="Dim D As Int = 2*dy - dx"; +RDebugUtils.currentLine=90636296; + //BA.debugLineNum = 90636296;BA.debugLine="Dim D As Int = 2*dy - dx"; _d = (int) (2*_dy-_dx); - //BA.debugLineNum = 691;BA.debugLine="Dim y As Int = y0"; +RDebugUtils.currentLine=90636297; + //BA.debugLineNum = 90636297;BA.debugLine="Dim y As Int = y0"; _y = _y0; - //BA.debugLineNum = 692;BA.debugLine="For x = x0 To x1"; +RDebugUtils.currentLine=90636298; + //BA.debugLineNum = 90636298;BA.debugLine="For x = x0 To x1"; { final int step10 = 1; final int limit10 = _x1; _x = _x0 ; for (;_x <= limit10 ;_x = _x + step10 ) { - //BA.debugLineNum = 693;BA.debugLine="points(x,y) = 1"; +RDebugUtils.currentLine=90636299; + //BA.debugLineNum = 90636299;BA.debugLine="points(x,y) = 1"; _points[_x][_y] = (byte) (1); - //BA.debugLineNum = 694;BA.debugLine="If D > 0 Then"; +RDebugUtils.currentLine=90636300; + //BA.debugLineNum = 90636300;BA.debugLine="If D > 0 Then"; if (_d>0) { - //BA.debugLineNum = 695;BA.debugLine="y = y + yi"; +RDebugUtils.currentLine=90636301; + //BA.debugLineNum = 90636301;BA.debugLine="y = y + yi"; _y = (int) (_y+_yi); - //BA.debugLineNum = 696;BA.debugLine="D = D - 2*dx"; +RDebugUtils.currentLine=90636302; + //BA.debugLineNum = 90636302;BA.debugLine="D = D - 2*dx"; _d = (int) (_d-2*_dx); }; - //BA.debugLineNum = 698;BA.debugLine="D = D + 2*dy"; +RDebugUtils.currentLine=90636304; + //BA.debugLineNum = 90636304;BA.debugLine="D = D + 2*dy"; _d = (int) (_d+2*_dy); } }; - //BA.debugLineNum = 700;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90636306; + //BA.debugLineNum = 90636306;BA.debugLine="End Sub"; return ""; } -public String _plottriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points,int _fill) throws Exception{ - //BA.debugLineNum = 534;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 536;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; -_plotline(_x0,_y0,_x1,_y1,_points); - //BA.debugLineNum = 537;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; -_plotline(_x1,_y1,_x2,_y2,_points); - //BA.debugLineNum = 538;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; -_plotline(_x2,_y2,_x0,_y0,_points); - //BA.debugLineNum = 539;BA.debugLine="If Fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 540;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; -_filltriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points); +public String _plotlinehigh(gunav2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotlinehigh", false)) + {return ((String) Debug.delegate(ba, "plotlinehigh", new Object[] {_x0,_y0,_x1,_y1,_points}));} +int _dx = 0; +int _dy = 0; +int _xi = 0; +int _d = 0; +int _x = 0; +int _y = 0; +RDebugUtils.currentLine=90570752; + //BA.debugLineNum = 90570752;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=90570753; + //BA.debugLineNum = 90570753;BA.debugLine="Dim dx As Int = x1 - x0"; +_dx = (int) (_x1-_x0); +RDebugUtils.currentLine=90570754; + //BA.debugLineNum = 90570754;BA.debugLine="Dim dy As Int = y1 - y0"; +_dy = (int) (_y1-_y0); +RDebugUtils.currentLine=90570755; + //BA.debugLineNum = 90570755;BA.debugLine="Dim xi As Int = 1"; +_xi = (int) (1); +RDebugUtils.currentLine=90570756; + //BA.debugLineNum = 90570756;BA.debugLine="If dx < 0 Then"; +if (_dx<0) { +RDebugUtils.currentLine=90570757; + //BA.debugLineNum = 90570757;BA.debugLine="xi = -1"; +_xi = (int) (-1); +RDebugUtils.currentLine=90570758; + //BA.debugLineNum = 90570758;BA.debugLine="dx = -dx"; +_dx = (int) (-_dx); }; - //BA.debugLineNum = 542;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90570760; + //BA.debugLineNum = 90570760;BA.debugLine="Dim D As Int = 2*dx - dy"; +_d = (int) (2*_dx-_dy); +RDebugUtils.currentLine=90570761; + //BA.debugLineNum = 90570761;BA.debugLine="Dim x As Int = x0"; +_x = _x0; +RDebugUtils.currentLine=90570762; + //BA.debugLineNum = 90570762;BA.debugLine="For y = y0 To y1"; +{ +final int step10 = 1; +final int limit10 = _y1; +_y = _y0 ; +for (;_y <= limit10 ;_y = _y + step10 ) { +RDebugUtils.currentLine=90570763; + //BA.debugLineNum = 90570763;BA.debugLine="points(x,y) = 1"; +_points[_x][_y] = (byte) (1); +RDebugUtils.currentLine=90570764; + //BA.debugLineNum = 90570764;BA.debugLine="If D > 0 Then"; +if (_d>0) { +RDebugUtils.currentLine=90570765; + //BA.debugLineNum = 90570765;BA.debugLine="x = x + xi"; +_x = (int) (_x+_xi); +RDebugUtils.currentLine=90570766; + //BA.debugLineNum = 90570766;BA.debugLine="D = D - 2*dy"; +_d = (int) (_d-2*_dy); + }; +RDebugUtils.currentLine=90570768; + //BA.debugLineNum = 90570768;BA.debugLine="D = D + 2*dx"; +_d = (int) (_d+2*_dx); + } +}; +RDebugUtils.currentLine=90570770; + //BA.debugLineNum = 90570770;BA.debugLine="End Sub"; return ""; } -public String _printandfeedpaper(int _units) throws Exception{ +public String _printandfeedpaper(gunav2.keymon.com.mx.escposprinter __ref,int _units) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printandfeedpaper", false)) + {return ((String) Debug.delegate(ba, "printandfeedpaper", new Object[] {_units}));} byte[] _params = null; - //BA.debugLineNum = 160;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; - //BA.debugLineNum = 161;BA.debugLine="WriteString(ESC & \"J\")"; -_writestring(_esc+"J"); - //BA.debugLineNum = 162;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=88801280; + //BA.debugLineNum = 88801280;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; +RDebugUtils.currentLine=88801281; + //BA.debugLineNum = 88801281;BA.debugLine="WriteString(ESC & \"J\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"J"); +RDebugUtils.currentLine=88801282; + //BA.debugLineNum = 88801282;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 163;BA.debugLine="params(0) = units"; +RDebugUtils.currentLine=88801283; + //BA.debugLineNum = 88801283;BA.debugLine="params(0) = units"; _params[(int) (0)] = (byte) (_units); - //BA.debugLineNum = 164;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 165;BA.debugLine="End Sub"; +RDebugUtils.currentLine=88801284; + //BA.debugLineNum = 88801284;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=88801285; + //BA.debugLineNum = 88801285;BA.debugLine="End Sub"; return ""; } -public int _printimage(gunav2.keymon.com.mx.escposprinter._animage _img) throws Exception{ +public int _printimage(gunav2.keymon.com.mx.escposprinter __ref,gunav2.keymon.com.mx.escposprinter._animage _img) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printimage", false)) + {return ((Integer) Debug.delegate(ba, "printimage", new Object[] {_img}));} int _xh = 0; int _xl = 0; int _yh = 0; int _yl = 0; byte[] _params = null; - //BA.debugLineNum = 837;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; - //BA.debugLineNum = 840;BA.debugLine="If img.width > 72 Then Return -1"; +RDebugUtils.currentLine=90963968; + //BA.debugLineNum = 90963968;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; +RDebugUtils.currentLine=90963971; + //BA.debugLineNum = 90963971;BA.debugLine="If img.width > 72 Then Return -1"; if (_img.Width /*int*/ >72) { if (true) return (int) (-1);}; - //BA.debugLineNum = 841;BA.debugLine="If img.height > 512 Then Return -2"; +RDebugUtils.currentLine=90963972; + //BA.debugLineNum = 90963972;BA.debugLine="If img.height > 512 Then Return -2"; if (_img.Height /*int*/ >512) { if (true) return (int) (-2);}; - //BA.debugLineNum = 842;BA.debugLine="If img.data.Length < img.width * img.height Then"; +RDebugUtils.currentLine=90963973; + //BA.debugLineNum = 90963973;BA.debugLine="If img.data.Length < img.width * img.height Then"; if (_img.Data /*byte[]*/ .length<_img.Width /*int*/ *_img.Height /*int*/ ) { if (true) return (int) (-3);}; - //BA.debugLineNum = 843;BA.debugLine="Dim xh As Int = img.width / 256"; +RDebugUtils.currentLine=90963974; + //BA.debugLineNum = 90963974;BA.debugLine="Dim xh As Int = img.width / 256"; _xh = (int) (_img.Width /*int*/ /(double)256); - //BA.debugLineNum = 844;BA.debugLine="Dim xl As Int = img.width - xh * 256"; +RDebugUtils.currentLine=90963975; + //BA.debugLineNum = 90963975;BA.debugLine="Dim xl As Int = img.width - xh * 256"; _xl = (int) (_img.Width /*int*/ -_xh*256); - //BA.debugLineNum = 845;BA.debugLine="Dim yh As Int = img.height / 256"; +RDebugUtils.currentLine=90963976; + //BA.debugLineNum = 90963976;BA.debugLine="Dim yh As Int = img.height / 256"; _yh = (int) (_img.Height /*int*/ /(double)256); - //BA.debugLineNum = 846;BA.debugLine="Dim yl As Int = img.height - yh * 256"; +RDebugUtils.currentLine=90963977; + //BA.debugLineNum = 90963977;BA.debugLine="Dim yl As Int = img.height - yh * 256"; _yl = (int) (_img.Height /*int*/ -_yh*256); - //BA.debugLineNum = 847;BA.debugLine="Dim params(5) As Byte"; +RDebugUtils.currentLine=90963978; + //BA.debugLineNum = 90963978;BA.debugLine="Dim params(5) As Byte"; _params = new byte[(int) (5)]; ; - //BA.debugLineNum = 848;BA.debugLine="params(0) = 0 '"; +RDebugUtils.currentLine=90963979; + //BA.debugLineNum = 90963979;BA.debugLine="params(0) = 0 '"; _params[(int) (0)] = (byte) (0); - //BA.debugLineNum = 849;BA.debugLine="params(1) = xl"; +RDebugUtils.currentLine=90963980; + //BA.debugLineNum = 90963980;BA.debugLine="params(1) = xl"; _params[(int) (1)] = (byte) (_xl); - //BA.debugLineNum = 850;BA.debugLine="params(2) = xh"; +RDebugUtils.currentLine=90963981; + //BA.debugLineNum = 90963981;BA.debugLine="params(2) = xh"; _params[(int) (2)] = (byte) (_xh); - //BA.debugLineNum = 851;BA.debugLine="params(3) = yl"; +RDebugUtils.currentLine=90963982; + //BA.debugLineNum = 90963982;BA.debugLine="params(3) = yl"; _params[(int) (3)] = (byte) (_yl); - //BA.debugLineNum = 852;BA.debugLine="params(4) = yh"; +RDebugUtils.currentLine=90963983; + //BA.debugLineNum = 90963983;BA.debugLine="params(4) = yh"; _params[(int) (4)] = (byte) (_yh); - //BA.debugLineNum = 853;BA.debugLine="WriteString(GS & \"v0\")"; -_writestring(_gs+"v0"); - //BA.debugLineNum = 854;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 855;BA.debugLine="WriteBytes(img.data)"; -_writebytes(_img.Data /*byte[]*/ ); - //BA.debugLineNum = 856;BA.debugLine="WriteString(CRLF)"; -_writestring(__c.CRLF); - //BA.debugLineNum = 857;BA.debugLine="Return 0"; +RDebugUtils.currentLine=90963984; + //BA.debugLineNum = 90963984;BA.debugLine="WriteString(GS & \"v0\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"v0"); +RDebugUtils.currentLine=90963985; + //BA.debugLineNum = 90963985;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=90963986; + //BA.debugLineNum = 90963986;BA.debugLine="WriteBytes(img.data)"; +__ref._writebytes /*String*/ (null,_img.Data /*byte[]*/ ); +RDebugUtils.currentLine=90963987; + //BA.debugLineNum = 90963987;BA.debugLine="WriteString(CRLF)"; +__ref._writestring /*String*/ (null,__c.CRLF); +RDebugUtils.currentLine=90963988; + //BA.debugLineNum = 90963988;BA.debugLine="Return 0"; if (true) return (int) (0); - //BA.debugLineNum = 858;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90963989; + //BA.debugLineNum = 90963989;BA.debugLine="End Sub"; return 0; } -public int _printimage2(int _width,byte[] _data,boolean _highdensity,boolean _dotds24) throws Exception{ +public int _printimage2(gunav2.keymon.com.mx.escposprinter __ref,int _width,byte[] _data,boolean _highdensity,boolean _dotds24) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printimage2", false)) + {return ((Integer) Debug.delegate(ba, "printimage2", new Object[] {_width,_data,_highdensity,_dotds24}));} String _d = ""; int _xh = 0; int _xl = 0; byte[] _params = null; - //BA.debugLineNum = 927;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; - //BA.debugLineNum = 928;BA.debugLine="Dim d As String = Chr(0)"; +RDebugUtils.currentLine=91095040; + //BA.debugLineNum = 91095040;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; +RDebugUtils.currentLine=91095041; + //BA.debugLineNum = 91095041;BA.debugLine="Dim d As String = Chr(0)"; _d = BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 929;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; +RDebugUtils.currentLine=91095042; + //BA.debugLineNum = 91095042;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; if (__c.Not(_highdensity) && __c.Not(_dotds24)) { - //BA.debugLineNum = 930;BA.debugLine="d = Chr(0)"; +RDebugUtils.currentLine=91095043; + //BA.debugLineNum = 91095043;BA.debugLine="d = Chr(0)"; _d = BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 931;BA.debugLine="If width > 288 Then Return -1"; +RDebugUtils.currentLine=91095044; + //BA.debugLineNum = 91095044;BA.debugLine="If width > 288 Then Return -1"; if (_width>288) { if (true) return (int) (-1);}; - //BA.debugLineNum = 932;BA.debugLine="If data.Length <> width Then Return -3"; +RDebugUtils.currentLine=91095045; + //BA.debugLineNum = 91095045;BA.debugLine="If data.Length <> width Then Return -3"; if (_data.length!=_width) { if (true) return (int) (-3);}; - }else if(_highdensity && __c.Not(_dotds24)) { - //BA.debugLineNum = 934;BA.debugLine="d = Chr(1)"; + }else +{RDebugUtils.currentLine=91095046; + //BA.debugLineNum = 91095046;BA.debugLine="Else If highdensity And Not(dotds24) Then"; +if (_highdensity && __c.Not(_dotds24)) { +RDebugUtils.currentLine=91095047; + //BA.debugLineNum = 91095047;BA.debugLine="d = Chr(1)"; _d = BA.ObjectToString(__c.Chr((int) (1))); - //BA.debugLineNum = 935;BA.debugLine="If width > 576 Then Return -1"; +RDebugUtils.currentLine=91095048; + //BA.debugLineNum = 91095048;BA.debugLine="If width > 576 Then Return -1"; if (_width>576) { if (true) return (int) (-1);}; - //BA.debugLineNum = 936;BA.debugLine="If data.Length <> width Then Return -3"; +RDebugUtils.currentLine=91095049; + //BA.debugLineNum = 91095049;BA.debugLine="If data.Length <> width Then Return -3"; if (_data.length!=_width) { if (true) return (int) (-3);}; - }else if(__c.Not(_highdensity) && _dotds24) { - //BA.debugLineNum = 938;BA.debugLine="d = Chr(32)"; + }else +{RDebugUtils.currentLine=91095050; + //BA.debugLineNum = 91095050;BA.debugLine="Else If Not(highdensity) And dotds24 Then"; +if (__c.Not(_highdensity) && _dotds24) { +RDebugUtils.currentLine=91095051; + //BA.debugLineNum = 91095051;BA.debugLine="d = Chr(32)"; _d = BA.ObjectToString(__c.Chr((int) (32))); - //BA.debugLineNum = 939;BA.debugLine="If width > 288 Then Return -1"; +RDebugUtils.currentLine=91095052; + //BA.debugLineNum = 91095052;BA.debugLine="If width > 288 Then Return -1"; if (_width>288) { if (true) return (int) (-1);}; - //BA.debugLineNum = 940;BA.debugLine="If data.Length <> width*3 Then Return -3"; +RDebugUtils.currentLine=91095053; + //BA.debugLineNum = 91095053;BA.debugLine="If data.Length <> width*3 Then Return -3"; if (_data.length!=_width*3) { if (true) return (int) (-3);}; }else { - //BA.debugLineNum = 942;BA.debugLine="d = Chr(33)"; +RDebugUtils.currentLine=91095055; + //BA.debugLineNum = 91095055;BA.debugLine="d = Chr(33)"; _d = BA.ObjectToString(__c.Chr((int) (33))); - //BA.debugLineNum = 943;BA.debugLine="If width > 576 Then Return -1"; +RDebugUtils.currentLine=91095056; + //BA.debugLineNum = 91095056;BA.debugLine="If width > 576 Then Return -1"; if (_width>576) { if (true) return (int) (-1);}; - //BA.debugLineNum = 944;BA.debugLine="If data.Length <> width*3 Then Return -3"; +RDebugUtils.currentLine=91095057; + //BA.debugLineNum = 91095057;BA.debugLine="If data.Length <> width*3 Then Return -3"; if (_data.length!=_width*3) { if (true) return (int) (-3);}; - }; - //BA.debugLineNum = 946;BA.debugLine="Dim xh As Int = width / 256"; + }}} +; +RDebugUtils.currentLine=91095059; + //BA.debugLineNum = 91095059;BA.debugLine="Dim xh As Int = width / 256"; _xh = (int) (_width/(double)256); - //BA.debugLineNum = 947;BA.debugLine="Dim xl As Int = width - xh * 256"; +RDebugUtils.currentLine=91095060; + //BA.debugLineNum = 91095060;BA.debugLine="Dim xl As Int = width - xh * 256"; _xl = (int) (_width-_xh*256); - //BA.debugLineNum = 948;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=91095061; + //BA.debugLineNum = 91095061;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 949;BA.debugLine="params(0) = xl"; +RDebugUtils.currentLine=91095062; + //BA.debugLineNum = 91095062;BA.debugLine="params(0) = xl"; _params[(int) (0)] = (byte) (_xl); - //BA.debugLineNum = 950;BA.debugLine="params(1) = xh"; +RDebugUtils.currentLine=91095063; + //BA.debugLineNum = 91095063;BA.debugLine="params(1) = xh"; _params[(int) (1)] = (byte) (_xh); - //BA.debugLineNum = 951;BA.debugLine="WriteString(ESC & \"*\" & d)"; -_writestring(_esc+"*"+_d); - //BA.debugLineNum = 952;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 953;BA.debugLine="WriteBytes(data)"; -_writebytes(_data); - //BA.debugLineNum = 954;BA.debugLine="WriteString(CRLF)"; -_writestring(__c.CRLF); - //BA.debugLineNum = 955;BA.debugLine="Return 0"; +RDebugUtils.currentLine=91095064; + //BA.debugLineNum = 91095064;BA.debugLine="WriteString(ESC & \"*\" & d)"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"*"+_d); +RDebugUtils.currentLine=91095065; + //BA.debugLineNum = 91095065;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=91095066; + //BA.debugLineNum = 91095066;BA.debugLine="WriteBytes(data)"; +__ref._writebytes /*String*/ (null,_data); +RDebugUtils.currentLine=91095067; + //BA.debugLineNum = 91095067;BA.debugLine="WriteString(CRLF)"; +__ref._writestring /*String*/ (null,__c.CRLF); +RDebugUtils.currentLine=91095068; + //BA.debugLineNum = 91095068;BA.debugLine="Return 0"; if (true) return (int) (0); - //BA.debugLineNum = 956;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91095069; + //BA.debugLineNum = 91095069;BA.debugLine="End Sub"; return 0; } -public String _reset() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Public Sub Reset"; - //BA.debugLineNum = 150;BA.debugLine="WriteString(ESC & \"@\")"; -_writestring(_esc+"@"); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; +public String _reset(gunav2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "reset", false)) + {return ((String) Debug.delegate(ba, "reset", null));} +RDebugUtils.currentLine=88735744; + //BA.debugLineNum = 88735744;BA.debugLine="Public Sub Reset"; +RDebugUtils.currentLine=88735745; + //BA.debugLineNum = 88735745;BA.debugLine="WriteString(ESC & \"@\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"@"); +RDebugUtils.currentLine=88735746; + //BA.debugLineNum = 88735746;BA.debugLine="End Sub"; return ""; } -public String _serial1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 1115;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; - //BA.debugLineNum = 1116;BA.debugLine="If Success Then"; +public String _serial1_connected(gunav2.keymon.com.mx.escposprinter __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "serial1_connected", false)) + {return ((String) Debug.delegate(ba, "serial1_connected", new Object[] {_success}));} +RDebugUtils.currentLine=91684864; + //BA.debugLineNum = 91684864;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=91684865; + //BA.debugLineNum = 91684865;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 1117;BA.debugLine="Astream.Initialize(Serial1.InputStream, Serial1."; -_astream.Initialize(ba,_serial1.getInputStream(),_serial1.getOutputStream(),"astream"); - //BA.debugLineNum = 1118;BA.debugLine="Connected = True"; -_connected = __c.True; - //BA.debugLineNum = 1119;BA.debugLine="ConnectedError = \"\""; -_connectederror = ""; - //BA.debugLineNum = 1120;BA.debugLine="Serial1.Listen"; -_serial1.Listen(ba); +RDebugUtils.currentLine=91684866; + //BA.debugLineNum = 91684866;BA.debugLine="Astream.Initialize(Serial1.InputStream, Serial1."; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Initialize(ba,__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .getInputStream(),__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .getOutputStream(),"astream"); +RDebugUtils.currentLine=91684867; + //BA.debugLineNum = 91684867;BA.debugLine="Connected = True"; +__ref._connected /*boolean*/ = __c.True; +RDebugUtils.currentLine=91684868; + //BA.debugLineNum = 91684868;BA.debugLine="ConnectedError = \"\""; +__ref._connectederror /*String*/ = ""; +RDebugUtils.currentLine=91684869; + //BA.debugLineNum = 91684869;BA.debugLine="Serial1.Listen"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Listen(ba); }else { - //BA.debugLineNum = 1122;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 1123;BA.debugLine="ConnectedError = LastException.Message"; -_connectederror = __c.LastException(getActivityBA()).getMessage(); +RDebugUtils.currentLine=91684871; + //BA.debugLineNum = 91684871;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=91684872; + //BA.debugLineNum = 91684872;BA.debugLine="ConnectedError = LastException.Message"; +__ref._connectederror /*String*/ = __c.LastException(getActivityBA()).getMessage(); }; - //BA.debugLineNum = 1125;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; -if (__c.SubExists(ba,_callback,_eventname+"_Connected")) { - //BA.debugLineNum = 1126;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; -__c.CallSubNew2(ba,_callback,_eventname+"_Connected",(Object)(_success)); +RDebugUtils.currentLine=91684874; + //BA.debugLineNum = 91684874;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Connected")) { +RDebugUtils.currentLine=91684875; + //BA.debugLineNum = 91684875;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Connected",(Object)(_success)); }; - //BA.debugLineNum = 1128;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91684877; + //BA.debugLineNum = 91684877;BA.debugLine="End Sub"; return ""; } -public String _setbarcodeheight(int _height) throws Exception{ +public String _setbarcodeheight(gunav2.keymon.com.mx.escposprinter __ref,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodeheight", false)) + {return ((String) Debug.delegate(ba, "setbarcodeheight", new Object[] {_height}));} byte[] _params = null; - //BA.debugLineNum = 1019;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; - //BA.debugLineNum = 1020;BA.debugLine="WriteString(GS & \"h\")"; -_writestring(_gs+"h"); - //BA.debugLineNum = 1021;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=91226112; + //BA.debugLineNum = 91226112;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; +RDebugUtils.currentLine=91226113; + //BA.debugLineNum = 91226113;BA.debugLine="WriteString(GS & \"h\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"h"); +RDebugUtils.currentLine=91226114; + //BA.debugLineNum = 91226114;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1022;BA.debugLine="params(0) = height"; +RDebugUtils.currentLine=91226115; + //BA.debugLineNum = 91226115;BA.debugLine="params(0) = height"; _params[(int) (0)] = (byte) (_height); - //BA.debugLineNum = 1023;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1024;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91226116; + //BA.debugLineNum = 91226116;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=91226117; + //BA.debugLineNum = 91226117;BA.debugLine="End Sub"; return ""; } -public String _setbarcodeleft(int _left) throws Exception{ +public String _setbarcodeleft(gunav2.keymon.com.mx.escposprinter __ref,int _left) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodeleft", false)) + {return ((String) Debug.delegate(ba, "setbarcodeleft", new Object[] {_left}));} byte[] _params = null; - //BA.debugLineNum = 1028;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; - //BA.debugLineNum = 1029;BA.debugLine="WriteString(GS & \"x\")"; -_writestring(_gs+"x"); - //BA.debugLineNum = 1030;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=91291648; + //BA.debugLineNum = 91291648;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; +RDebugUtils.currentLine=91291649; + //BA.debugLineNum = 91291649;BA.debugLine="WriteString(GS & \"x\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"x"); +RDebugUtils.currentLine=91291650; + //BA.debugLineNum = 91291650;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1031;BA.debugLine="params(0) = left"; +RDebugUtils.currentLine=91291651; + //BA.debugLineNum = 91291651;BA.debugLine="params(0) = left"; _params[(int) (0)] = (byte) (_left); - //BA.debugLineNum = 1032;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1033;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91291652; + //BA.debugLineNum = 91291652;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=91291653; + //BA.debugLineNum = 91291653;BA.debugLine="End Sub"; return ""; } -public String _setbarcodewidth(int _width) throws Exception{ +public String _setbarcodewidth(gunav2.keymon.com.mx.escposprinter __ref,int _width) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodewidth", false)) + {return ((String) Debug.delegate(ba, "setbarcodewidth", new Object[] {_width}));} byte[] _params = null; - //BA.debugLineNum = 1038;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; - //BA.debugLineNum = 1039;BA.debugLine="WriteString(GS & \"w\")"; -_writestring(_gs+"w"); - //BA.debugLineNum = 1040;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=91357184; + //BA.debugLineNum = 91357184;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; +RDebugUtils.currentLine=91357185; + //BA.debugLineNum = 91357185;BA.debugLine="WriteString(GS & \"w\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"w"); +RDebugUtils.currentLine=91357186; + //BA.debugLineNum = 91357186;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1041;BA.debugLine="params(0) = width"; +RDebugUtils.currentLine=91357187; + //BA.debugLineNum = 91357187;BA.debugLine="params(0) = width"; _params[(int) (0)] = (byte) (_width); - //BA.debugLineNum = 1042;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1043;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91357188; + //BA.debugLineNum = 91357188;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=91357189; + //BA.debugLineNum = 91357189;BA.debugLine="End Sub"; return ""; } -public String _setcharacterfont(int _font) throws Exception{ - //BA.debugLineNum = 247;BA.debugLine="Public Sub setCharacterFont(font As Int)"; - //BA.debugLineNum = 248;BA.debugLine="WriteString(ESC & \"M\" & Chr(Bit.And(1,font)))"; -_writestring(_esc+"M"+BA.ObjectToString(__c.Chr(__c.Bit.And((int) (1),_font)))); - //BA.debugLineNum = 249;BA.debugLine="End Sub"; +public String _setcharacterfont(gunav2.keymon.com.mx.escposprinter __ref,int _font) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcharacterfont", false)) + {return ((String) Debug.delegate(ba, "setcharacterfont", new Object[] {_font}));} +RDebugUtils.currentLine=89325568; + //BA.debugLineNum = 89325568;BA.debugLine="Public Sub setCharacterFont(font As Int)"; +RDebugUtils.currentLine=89325569; + //BA.debugLineNum = 89325569;BA.debugLine="WriteString(ESC & \"M\" & Chr(Bit.And(1,font)))"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"M"+BA.ObjectToString(__c.Chr(__c.Bit.And((int) (1),_font)))); +RDebugUtils.currentLine=89325570; + //BA.debugLineNum = 89325570;BA.debugLine="End Sub"; return ""; } -public String _setcharacterspacing(int _spacing) throws Exception{ +public String _setcharacterspacing(gunav2.keymon.com.mx.escposprinter __ref,int _spacing) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcharacterspacing", false)) + {return ((String) Debug.delegate(ba, "setcharacterspacing", new Object[] {_spacing}));} byte[] _params = null; - //BA.debugLineNum = 168;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; - //BA.debugLineNum = 169;BA.debugLine="WriteString(ESC & \" \")"; -_writestring(_esc+" "); - //BA.debugLineNum = 170;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=88866816; + //BA.debugLineNum = 88866816;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; +RDebugUtils.currentLine=88866817; + //BA.debugLineNum = 88866817;BA.debugLine="WriteString(ESC & \" \")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +" "); +RDebugUtils.currentLine=88866818; + //BA.debugLineNum = 88866818;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 171;BA.debugLine="params(0) = spacing"; +RDebugUtils.currentLine=88866819; + //BA.debugLineNum = 88866819;BA.debugLine="params(0) = spacing"; _params[(int) (0)] = (byte) (_spacing); - //BA.debugLineNum = 172;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +RDebugUtils.currentLine=88866820; + //BA.debugLineNum = 88866820;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=88866821; + //BA.debugLineNum = 88866821;BA.debugLine="End Sub"; return ""; } -public String _setcodepage(int _codepage) throws Exception{ +public String _setcodepage(gunav2.keymon.com.mx.escposprinter __ref,int _codepage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcodepage", false)) + {return ((String) Debug.delegate(ba, "setcodepage", new Object[] {_codepage}));} byte[] _params = null; - //BA.debugLineNum = 236;BA.debugLine="Public Sub setCodePage(codepage As Int)"; - //BA.debugLineNum = 237;BA.debugLine="WriteString(ESC & \"t\")"; -_writestring(_esc+"t"); - //BA.debugLineNum = 238;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=89260032; + //BA.debugLineNum = 89260032;BA.debugLine="Public Sub setCodePage(codepage As Int)"; +RDebugUtils.currentLine=89260033; + //BA.debugLineNum = 89260033;BA.debugLine="WriteString(ESC & \"t\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"t"); +RDebugUtils.currentLine=89260034; + //BA.debugLineNum = 89260034;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 239;BA.debugLine="params(0) = codepage"; +RDebugUtils.currentLine=89260035; + //BA.debugLineNum = 89260035;BA.debugLine="params(0) = codepage"; _params[(int) (0)] = (byte) (_codepage); - //BA.debugLineNum = 240;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 241;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89260036; + //BA.debugLineNum = 89260036;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=89260037; + //BA.debugLineNum = 89260037;BA.debugLine="End Sub"; return ""; } -public String _sethrifont(int _font) throws Exception{ - //BA.debugLineNum = 1060;BA.debugLine="Public Sub setHriFont(font As Int)"; - //BA.debugLineNum = 1061;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; -_writestring(_gs+"f"+BA.ObjectToString(__c.Chr(_font))); - //BA.debugLineNum = 1062;BA.debugLine="End Sub"; +public String _sethrifont(gunav2.keymon.com.mx.escposprinter __ref,int _font) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "sethrifont", false)) + {return ((String) Debug.delegate(ba, "sethrifont", new Object[] {_font}));} +RDebugUtils.currentLine=91488256; + //BA.debugLineNum = 91488256;BA.debugLine="Public Sub setHriFont(font As Int)"; +RDebugUtils.currentLine=91488257; + //BA.debugLineNum = 91488257;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"f"+BA.ObjectToString(__c.Chr(_font))); +RDebugUtils.currentLine=91488258; + //BA.debugLineNum = 91488258;BA.debugLine="End Sub"; return ""; } -public String _sethriposn(int _posn) throws Exception{ +public String _sethriposn(gunav2.keymon.com.mx.escposprinter __ref,int _posn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "sethriposn", false)) + {return ((String) Debug.delegate(ba, "sethriposn", new Object[] {_posn}));} byte[] _params = null; - //BA.debugLineNum = 1049;BA.debugLine="Public Sub setHriPosn(posn As Int)"; - //BA.debugLineNum = 1050;BA.debugLine="WriteString(GS & \"H\")"; -_writestring(_gs+"H"); - //BA.debugLineNum = 1051;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=91422720; + //BA.debugLineNum = 91422720;BA.debugLine="Public Sub setHriPosn(posn As Int)"; +RDebugUtils.currentLine=91422721; + //BA.debugLineNum = 91422721;BA.debugLine="WriteString(GS & \"H\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"H"); +RDebugUtils.currentLine=91422722; + //BA.debugLineNum = 91422722;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1052;BA.debugLine="params(0) = posn"; +RDebugUtils.currentLine=91422723; + //BA.debugLineNum = 91422723;BA.debugLine="params(0) = posn"; _params[(int) (0)] = (byte) (_posn); - //BA.debugLineNum = 1053;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1054;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91422724; + //BA.debugLineNum = 91422724;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=91422725; + //BA.debugLineNum = 91422725;BA.debugLine="End Sub"; return ""; } -public String _setjustify(int _justify) throws Exception{ - //BA.debugLineNum = 230;BA.debugLine="Public Sub setJustify(justify As Int)"; - //BA.debugLineNum = 231;BA.debugLine="WriteString(ESC & \"a\" & Chr(justify + 48))"; -_writestring(_esc+"a"+BA.ObjectToString(__c.Chr((int) (_justify+48)))); - //BA.debugLineNum = 232;BA.debugLine="End Sub"; +public String _setjustify(gunav2.keymon.com.mx.escposprinter __ref,int _justify) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setjustify", false)) + {return ((String) Debug.delegate(ba, "setjustify", new Object[] {_justify}));} +RDebugUtils.currentLine=89194496; + //BA.debugLineNum = 89194496;BA.debugLine="Public Sub setJustify(justify As Int)"; +RDebugUtils.currentLine=89194497; + //BA.debugLineNum = 89194497;BA.debugLine="WriteString(ESC & \"a\" & Chr(justify + 48))"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"a"+BA.ObjectToString(__c.Chr((int) (_justify+48)))); +RDebugUtils.currentLine=89194498; + //BA.debugLineNum = 89194498;BA.debugLine="End Sub"; return ""; } -public String _setleftinset(int _inset) throws Exception{ +public String _setleftinset(gunav2.keymon.com.mx.escposprinter __ref,int _inset) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setleftinset", false)) + {return ((String) Debug.delegate(ba, "setleftinset", new Object[] {_inset}));} int _dh = 0; int _dl = 0; byte[] _params = null; - //BA.debugLineNum = 178;BA.debugLine="Public Sub setLeftInset(inset As Int)"; - //BA.debugLineNum = 179;BA.debugLine="Dim dh As Int = inset / 256"; +RDebugUtils.currentLine=88932352; + //BA.debugLineNum = 88932352;BA.debugLine="Public Sub setLeftInset(inset As Int)"; +RDebugUtils.currentLine=88932353; + //BA.debugLineNum = 88932353;BA.debugLine="Dim dh As Int = inset / 256"; _dh = (int) (_inset/(double)256); - //BA.debugLineNum = 180;BA.debugLine="Dim dl As Int = inset - dh"; +RDebugUtils.currentLine=88932354; + //BA.debugLineNum = 88932354;BA.debugLine="Dim dl As Int = inset - dh"; _dl = (int) (_inset-_dh); - //BA.debugLineNum = 181;BA.debugLine="WriteString(ESC & \"$\" & Chr(dl) & Chr(dh))"; -_writestring(_esc+"$"+BA.ObjectToString(__c.Chr(_dl))+BA.ObjectToString(__c.Chr(_dh))); - //BA.debugLineNum = 182;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=88932355; + //BA.debugLineNum = 88932355;BA.debugLine="WriteString(ESC & \"$\" & Chr(dl) & Chr(dh))"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"$"+BA.ObjectToString(__c.Chr(_dl))+BA.ObjectToString(__c.Chr(_dh))); +RDebugUtils.currentLine=88932356; + //BA.debugLineNum = 88932356;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 183;BA.debugLine="params(0) = dl"; +RDebugUtils.currentLine=88932357; + //BA.debugLineNum = 88932357;BA.debugLine="params(0) = dl"; _params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 184;BA.debugLine="params(1) = dh"; +RDebugUtils.currentLine=88932358; + //BA.debugLineNum = 88932358;BA.debugLine="params(1) = dh"; _params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 185;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 186;BA.debugLine="End Sub"; +RDebugUtils.currentLine=88932359; + //BA.debugLineNum = 88932359;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=88932360; + //BA.debugLineNum = 88932360;BA.debugLine="End Sub"; return ""; } -public String _setleftmargin(int _margin) throws Exception{ +public String _setleftmargin(gunav2.keymon.com.mx.escposprinter __ref,int _margin) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setleftmargin", false)) + {return ((String) Debug.delegate(ba, "setleftmargin", new Object[] {_margin}));} int _dh = 0; int _dl = 0; byte[] _params = null; - //BA.debugLineNum = 191;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; - //BA.debugLineNum = 192;BA.debugLine="Dim dh As Int = margin / 256"; +RDebugUtils.currentLine=88997888; + //BA.debugLineNum = 88997888;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; +RDebugUtils.currentLine=88997889; + //BA.debugLineNum = 88997889;BA.debugLine="Dim dh As Int = margin / 256"; _dh = (int) (_margin/(double)256); - //BA.debugLineNum = 193;BA.debugLine="Dim dl As Int = margin - dh"; +RDebugUtils.currentLine=88997890; + //BA.debugLineNum = 88997890;BA.debugLine="Dim dl As Int = margin - dh"; _dl = (int) (_margin-_dh); - //BA.debugLineNum = 194;BA.debugLine="WriteString(GS & \"L\")"; -_writestring(_gs+"L"); - //BA.debugLineNum = 195;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=88997891; + //BA.debugLineNum = 88997891;BA.debugLine="WriteString(GS & \"L\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"L"); +RDebugUtils.currentLine=88997892; + //BA.debugLineNum = 88997892;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 196;BA.debugLine="params(0) = dl"; +RDebugUtils.currentLine=88997893; + //BA.debugLineNum = 88997893;BA.debugLine="params(0) = dl"; _params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 197;BA.debugLine="params(1) = dh"; +RDebugUtils.currentLine=88997894; + //BA.debugLineNum = 88997894;BA.debugLine="params(1) = dh"; _params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 198;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 199;BA.debugLine="End Sub"; +RDebugUtils.currentLine=88997895; + //BA.debugLineNum = 88997895;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=88997896; + //BA.debugLineNum = 88997896;BA.debugLine="End Sub"; return ""; } -public String _setlinespacing(int _spacing) throws Exception{ +public String _setlinespacing(gunav2.keymon.com.mx.escposprinter __ref,int _spacing) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setlinespacing", false)) + {return ((String) Debug.delegate(ba, "setlinespacing", new Object[] {_spacing}));} byte[] _params = null; - //BA.debugLineNum = 217;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; - //BA.debugLineNum = 218;BA.debugLine="If spacing < 0 Then"; +RDebugUtils.currentLine=89128960; + //BA.debugLineNum = 89128960;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; +RDebugUtils.currentLine=89128961; + //BA.debugLineNum = 89128961;BA.debugLine="If spacing < 0 Then"; if (_spacing<0) { - //BA.debugLineNum = 219;BA.debugLine="WriteString(ESC & \"2\")"; -_writestring(_esc+"2"); +RDebugUtils.currentLine=89128962; + //BA.debugLineNum = 89128962;BA.debugLine="WriteString(ESC & \"2\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"2"); }else { - //BA.debugLineNum = 221;BA.debugLine="WriteString(ESC & \"3\")"; -_writestring(_esc+"3"); - //BA.debugLineNum = 222;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=89128964; + //BA.debugLineNum = 89128964;BA.debugLine="WriteString(ESC & \"3\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"3"); +RDebugUtils.currentLine=89128965; + //BA.debugLineNum = 89128965;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 223;BA.debugLine="params(0) = spacing"; +RDebugUtils.currentLine=89128966; + //BA.debugLineNum = 89128966;BA.debugLine="params(0) = spacing"; _params[(int) (0)] = (byte) (_spacing); - //BA.debugLineNum = 224;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); +RDebugUtils.currentLine=89128967; + //BA.debugLineNum = 89128967;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); }; - //BA.debugLineNum = 226;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89128969; + //BA.debugLineNum = 89128969;BA.debugLine="End Sub"; return ""; } -public String _setprintwidth(int _width) throws Exception{ +public String _setprintwidth(gunav2.keymon.com.mx.escposprinter __ref,int _width) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setprintwidth", false)) + {return ((String) Debug.delegate(ba, "setprintwidth", new Object[] {_width}));} int _dh = 0; int _dl = 0; byte[] _params = null; - //BA.debugLineNum = 205;BA.debugLine="Public Sub setPrintWidth(width As Int)"; - //BA.debugLineNum = 206;BA.debugLine="Dim dh As Int = width / 256"; +RDebugUtils.currentLine=89063424; + //BA.debugLineNum = 89063424;BA.debugLine="Public Sub setPrintWidth(width As Int)"; +RDebugUtils.currentLine=89063425; + //BA.debugLineNum = 89063425;BA.debugLine="Dim dh As Int = width / 256"; _dh = (int) (_width/(double)256); - //BA.debugLineNum = 207;BA.debugLine="Dim dl As Int = width - dh"; +RDebugUtils.currentLine=89063426; + //BA.debugLineNum = 89063426;BA.debugLine="Dim dl As Int = width - dh"; _dl = (int) (_width-_dh); - //BA.debugLineNum = 208;BA.debugLine="WriteString(GS & \"W\")"; -_writestring(_gs+"W"); - //BA.debugLineNum = 209;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=89063427; + //BA.debugLineNum = 89063427;BA.debugLine="WriteString(GS & \"W\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"W"); +RDebugUtils.currentLine=89063428; + //BA.debugLineNum = 89063428;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 210;BA.debugLine="params(0) = dl"; +RDebugUtils.currentLine=89063429; + //BA.debugLineNum = 89063429;BA.debugLine="params(0) = dl"; _params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 211;BA.debugLine="params(1) = dh"; +RDebugUtils.currentLine=89063430; + //BA.debugLineNum = 89063430;BA.debugLine="params(1) = dh"; _params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 212;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 213;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89063431; + //BA.debugLineNum = 89063431;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=89063432; + //BA.debugLineNum = 89063432;BA.debugLine="End Sub"; return ""; } -public String _setrelativeprintposn(int _relposn) throws Exception{ +public String _setrelativeprintposn(gunav2.keymon.com.mx.escposprinter __ref,int _relposn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setrelativeprintposn", false)) + {return ((String) Debug.delegate(ba, "setrelativeprintposn", new Object[] {_relposn}));} int _dh = 0; int _dl = 0; byte[] _params = null; - //BA.debugLineNum = 269;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; - //BA.debugLineNum = 270;BA.debugLine="Dim dh As Int = relposn / 256"; +RDebugUtils.currentLine=89456640; + //BA.debugLineNum = 89456640;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; +RDebugUtils.currentLine=89456641; + //BA.debugLineNum = 89456641;BA.debugLine="Dim dh As Int = relposn / 256"; _dh = (int) (_relposn/(double)256); - //BA.debugLineNum = 271;BA.debugLine="Dim dl As Int = relposn - dh"; +RDebugUtils.currentLine=89456642; + //BA.debugLineNum = 89456642;BA.debugLine="Dim dl As Int = relposn - dh"; _dl = (int) (_relposn-_dh); - //BA.debugLineNum = 272;BA.debugLine="WriteString(ESC & \"\\\")"; -_writestring(_esc+"\\"); - //BA.debugLineNum = 273;BA.debugLine="Dim params(2) As Byte"; +RDebugUtils.currentLine=89456643; + //BA.debugLineNum = 89456643;BA.debugLine="WriteString(ESC & \"\\\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"\\"); +RDebugUtils.currentLine=89456644; + //BA.debugLineNum = 89456644;BA.debugLine="Dim params(2) As Byte"; _params = new byte[(int) (2)]; ; - //BA.debugLineNum = 274;BA.debugLine="params(0) = dl"; +RDebugUtils.currentLine=89456645; + //BA.debugLineNum = 89456645;BA.debugLine="params(0) = dl"; _params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 275;BA.debugLine="params(1) = dh"; +RDebugUtils.currentLine=89456646; + //BA.debugLineNum = 89456646;BA.debugLine="params(1) = dh"; _params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 276;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 277;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89456647; + //BA.debugLineNum = 89456647;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=89456648; + //BA.debugLineNum = 89456648;BA.debugLine="End Sub"; return ""; } -public String _settabpositions(int[] _tabs) throws Exception{ +public String _settabpositions(gunav2.keymon.com.mx.escposprinter __ref,int[] _tabs) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "settabpositions", false)) + {return ((String) Debug.delegate(ba, "settabpositions", new Object[] {_tabs}));} byte[] _data = null; int _i = 0; - //BA.debugLineNum = 255;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; - //BA.debugLineNum = 256;BA.debugLine="WriteString(ESC & \"D\")"; -_writestring(_esc+"D"); - //BA.debugLineNum = 257;BA.debugLine="Dim data(tabs.Length+1) As Byte"; +RDebugUtils.currentLine=89391104; + //BA.debugLineNum = 89391104;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; +RDebugUtils.currentLine=89391105; + //BA.debugLineNum = 89391105;BA.debugLine="WriteString(ESC & \"D\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"D"); +RDebugUtils.currentLine=89391106; + //BA.debugLineNum = 89391106;BA.debugLine="Dim data(tabs.Length+1) As Byte"; _data = new byte[(int) (_tabs.length+1)]; ; - //BA.debugLineNum = 258;BA.debugLine="For i = 0 To tabs.Length - 1"; +RDebugUtils.currentLine=89391107; + //BA.debugLineNum = 89391107;BA.debugLine="For i = 0 To tabs.Length - 1"; { final int step3 = 1; final int limit3 = (int) (_tabs.length-1); _i = (int) (0) ; for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 259;BA.debugLine="data(i) = tabs(i)"; +RDebugUtils.currentLine=89391108; + //BA.debugLineNum = 89391108;BA.debugLine="data(i) = tabs(i)"; _data[_i] = (byte) (_tabs[_i]); } }; - //BA.debugLineNum = 261;BA.debugLine="data(tabs.Length) = 0"; +RDebugUtils.currentLine=89391110; + //BA.debugLineNum = 89391110;BA.debugLine="data(tabs.Length) = 0"; _data[_tabs.length] = (byte) (0); - //BA.debugLineNum = 262;BA.debugLine="WriteBytes(data)"; -_writebytes(_data); - //BA.debugLineNum = 263;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89391111; + //BA.debugLineNum = 89391111;BA.debugLine="WriteBytes(data)"; +__ref._writebytes /*String*/ (null,_data); +RDebugUtils.currentLine=89391112; + //BA.debugLineNum = 89391112;BA.debugLine="End Sub"; return ""; } -public String _setusecustomcharacters(boolean _custom) throws Exception{ - //BA.debugLineNum = 329;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; - //BA.debugLineNum = 330;BA.debugLine="If custom Then"; +public String _setusecustomcharacters(gunav2.keymon.com.mx.escposprinter __ref,boolean _custom) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setusecustomcharacters", false)) + {return ((String) Debug.delegate(ba, "setusecustomcharacters", new Object[] {_custom}));} +RDebugUtils.currentLine=89784320; + //BA.debugLineNum = 89784320;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; +RDebugUtils.currentLine=89784321; + //BA.debugLineNum = 89784321;BA.debugLine="If custom Then"; if (_custom) { - //BA.debugLineNum = 331;BA.debugLine="WriteString(ESC & \"%1\")"; -_writestring(_esc+"%1"); +RDebugUtils.currentLine=89784322; + //BA.debugLineNum = 89784322;BA.debugLine="WriteString(ESC & \"%1\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"%1"); }else { - //BA.debugLineNum = 333;BA.debugLine="WriteString(ESC & \"%0\")"; -_writestring(_esc+"%0"); +RDebugUtils.currentLine=89784324; + //BA.debugLineNum = 89784324;BA.debugLine="WriteString(ESC & \"%0\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"%0"); }; - //BA.debugLineNum = 335;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89784326; + //BA.debugLineNum = 89784326;BA.debugLine="End Sub"; return ""; } -public gunav2.keymon.com.mx.escposprinter._animage _thresholdimage(gunav2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +public gunav2.keymon.com.mx.escposprinter._animage _thresholdimage(gunav2.keymon.com.mx.escposprinter __ref,gunav2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "thresholdimage", false)) + {return ((gunav2.keymon.com.mx.escposprinter._animage) Debug.delegate(ba, "thresholdimage", new Object[] {_img,_threshold}));} byte[] _pixels = null; int _i = 0; int _lum = 0; gunav2.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 740;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; - //BA.debugLineNum = 741;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +RDebugUtils.currentLine=90767360; + //BA.debugLineNum = 90767360;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; +RDebugUtils.currentLine=90767361; + //BA.debugLineNum = 90767361;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; _pixels = new byte[_img.Data /*byte[]*/ .length]; ; - //BA.debugLineNum = 742;BA.debugLine="For i = 0 To pixels.Length - 1"; +RDebugUtils.currentLine=90767362; + //BA.debugLineNum = 90767362;BA.debugLine="For i = 0 To pixels.Length - 1"; { final int step2 = 1; final int limit2 = (int) (_pixels.length-1); _i = (int) (0) ; for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 743;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; +RDebugUtils.currentLine=90767363; + //BA.debugLineNum = 90767363;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; _lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [_i]),((int)0xff)); - //BA.debugLineNum = 744;BA.debugLine="If lum < threshold Then"; +RDebugUtils.currentLine=90767364; + //BA.debugLineNum = 90767364;BA.debugLine="If lum < threshold Then"; if (_lum<_threshold) { - //BA.debugLineNum = 745;BA.debugLine="lum = 1"; +RDebugUtils.currentLine=90767365; + //BA.debugLineNum = 90767365;BA.debugLine="lum = 1"; _lum = (int) (1); }else { - //BA.debugLineNum = 747;BA.debugLine="lum = 0"; +RDebugUtils.currentLine=90767367; + //BA.debugLineNum = 90767367;BA.debugLine="lum = 0"; _lum = (int) (0); }; - //BA.debugLineNum = 749;BA.debugLine="pixels(i) = lum"; +RDebugUtils.currentLine=90767369; + //BA.debugLineNum = 90767369;BA.debugLine="pixels(i) = lum"; _pixels[_i] = (byte) (_lum); } }; - //BA.debugLineNum = 751;BA.debugLine="Dim ret As AnImage"; +RDebugUtils.currentLine=90767371; + //BA.debugLineNum = 90767371;BA.debugLine="Dim ret As AnImage"; _ret = new gunav2.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 752;BA.debugLine="ret.Width = img.Width"; +RDebugUtils.currentLine=90767372; + //BA.debugLineNum = 90767372;BA.debugLine="ret.Width = img.Width"; _ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 753;BA.debugLine="ret.Height = img.Height"; +RDebugUtils.currentLine=90767373; + //BA.debugLineNum = 90767373;BA.debugLine="ret.Height = img.Height"; _ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 754;BA.debugLine="ret.Data = pixels"; +RDebugUtils.currentLine=90767374; + //BA.debugLineNum = 90767374;BA.debugLine="ret.Data = pixels"; _ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 755;BA.debugLine="Return ret"; +RDebugUtils.currentLine=90767375; + //BA.debugLineNum = 90767375;BA.debugLine="Return ret"; if (true) return _ret; - //BA.debugLineNum = 756;BA.debugLine="End Sub"; +RDebugUtils.currentLine=90767376; + //BA.debugLineNum = 90767376;BA.debugLine="End Sub"; return null; } -public String _writebarcode(String _bartype,String _data) throws Exception{ +public String _writebarcode(gunav2.keymon.com.mx.escposprinter __ref,String _bartype,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writebarcode", false)) + {return ((String) Debug.delegate(ba, "writebarcode", new Object[] {_bartype,_data}));} byte[] _databytes = null; int _dlow = 0; byte[] _params = null; - //BA.debugLineNum = 1076;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; - //BA.debugLineNum = 1077;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; +RDebugUtils.currentLine=91553792; + //BA.debugLineNum = 91553792;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; +RDebugUtils.currentLine=91553793; + //BA.debugLineNum = 91553793;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; _databytes = _data.getBytes("ASCII"); - //BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length"; +RDebugUtils.currentLine=91553794; + //BA.debugLineNum = 91553794;BA.debugLine="Dim dlow As Int = databytes.Length"; _dlow = _databytes.length; - //BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; -__c.LogImpl("489587715","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); - //BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; -_writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0)))); - //BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte"; +RDebugUtils.currentLine=91553795; + //BA.debugLineNum = 91553795;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; +__c.LogImpl("091553795","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); +RDebugUtils.currentLine=91553796; + //BA.debugLineNum = 91553796;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0)))); +RDebugUtils.currentLine=91553797; + //BA.debugLineNum = 91553797;BA.debugLine="Dim params(1) As Byte"; _params = new byte[(int) (1)]; ; - //BA.debugLineNum = 1082;BA.debugLine="params(0) = dlow"; +RDebugUtils.currentLine=91553798; + //BA.debugLineNum = 91553798;BA.debugLine="params(0) = dlow"; _params[(int) (0)] = (byte) (_dlow); - //BA.debugLineNum = 1083;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1084;BA.debugLine="WriteBytes(databytes)"; -_writebytes(_databytes); - //BA.debugLineNum = 1085;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91553799; + //BA.debugLineNum = 91553799;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=91553800; + //BA.debugLineNum = 91553800;BA.debugLine="WriteBytes(databytes)"; +__ref._writebytes /*String*/ (null,_databytes); +RDebugUtils.currentLine=91553801; + //BA.debugLineNum = 91553801;BA.debugLine="End Sub"; return ""; } -public String _writebytes(byte[] _data) throws Exception{ - //BA.debugLineNum = 281;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; - //BA.debugLineNum = 282;BA.debugLine="If Connected Then"; -if (_connected) { - //BA.debugLineNum = 283;BA.debugLine="Astream.Write(data)"; -_astream.Write(_data); - }; - //BA.debugLineNum = 285;BA.debugLine="End Sub"; -return ""; -} -public String _writeqrcode(int _size,String _ec,int _scale,String _data) throws Exception{ +public String _writeqrcode(gunav2.keymon.com.mx.escposprinter __ref,int _size,String _ec,int _scale,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writeqrcode", false)) + {return ((String) Debug.delegate(ba, "writeqrcode", new Object[] {_size,_ec,_scale,_data}));} byte[] _databytes = null; int _dhigh = 0; int _dlow = 0; byte[] _params = null; - //BA.debugLineNum = 1092;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; - //BA.debugLineNum = 1093;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; +RDebugUtils.currentLine=91619328; + //BA.debugLineNum = 91619328;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; +RDebugUtils.currentLine=91619329; + //BA.debugLineNum = 91619329;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; _databytes = _data.getBytes("ISO-8859-1"); - //BA.debugLineNum = 1094;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; +RDebugUtils.currentLine=91619330; + //BA.debugLineNum = 91619330;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; _dhigh = (int) (_databytes.length/(double)256); - //BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; +RDebugUtils.currentLine=91619331; + //BA.debugLineNum = 91619331;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; _dlow = (int) (_databytes.length-_dhigh*256); - //BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; -__c.LogImpl("489653252","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); - //BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte"; +RDebugUtils.currentLine=91619332; + //BA.debugLineNum = 91619332;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; +__c.LogImpl("091619332","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); +RDebugUtils.currentLine=91619333; + //BA.debugLineNum = 91619333;BA.debugLine="Dim params(3) As Byte"; _params = new byte[(int) (3)]; ; - //BA.debugLineNum = 1098;BA.debugLine="params(0) = scale"; +RDebugUtils.currentLine=91619334; + //BA.debugLineNum = 91619334;BA.debugLine="params(0) = scale"; _params[(int) (0)] = (byte) (_scale); - //BA.debugLineNum = 1099;BA.debugLine="params(1) = dlow"; +RDebugUtils.currentLine=91619335; + //BA.debugLineNum = 91619335;BA.debugLine="params(1) = dlow"; _params[(int) (1)] = (byte) (_dlow); - //BA.debugLineNum = 1100;BA.debugLine="params(2) = dhigh"; +RDebugUtils.currentLine=91619336; + //BA.debugLineNum = 91619336;BA.debugLine="params(2) = dhigh"; _params[(int) (2)] = (byte) (_dhigh); - //BA.debugLineNum = 1101;BA.debugLine="WriteString(ESC & \"Z\" & Chr(size) & EC.ToUpperCas"; -_writestring(_esc+"Z"+BA.ObjectToString(__c.Chr(_size))+BA.ObjectToString(_ec.toUpperCase().charAt((int) (0)))); - //BA.debugLineNum = 1102;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1103;BA.debugLine="WriteBytes(databytes)"; -_writebytes(_databytes); - //BA.debugLineNum = 1104;BA.debugLine="End Sub"; +RDebugUtils.currentLine=91619337; + //BA.debugLineNum = 91619337;BA.debugLine="WriteString(ESC & \"Z\" & Chr(size) & EC.ToUpperCas"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"Z"+BA.ObjectToString(__c.Chr(_size))+BA.ObjectToString(_ec.toUpperCase().charAt((int) (0)))); +RDebugUtils.currentLine=91619338; + //BA.debugLineNum = 91619338;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=91619339; + //BA.debugLineNum = 91619339;BA.debugLine="WriteBytes(databytes)"; +__ref._writebytes /*String*/ (null,_databytes); +RDebugUtils.currentLine=91619340; + //BA.debugLineNum = 91619340;BA.debugLine="End Sub"; return ""; } -public String _writestring(String _data) throws Exception{ - //BA.debugLineNum = 291;BA.debugLine="Public Sub WriteString(data As String)"; - //BA.debugLineNum = 292;BA.debugLine="WriteString2(data, \"IBM437\")"; -_writestring2(_data,"IBM437"); - //BA.debugLineNum = 293;BA.debugLine="End Sub"; -return ""; -} -public String _writestring2(String _data,String _encoding) throws Exception{ - //BA.debugLineNum = 299;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; - //BA.debugLineNum = 300;BA.debugLine="Try"; -try { //BA.debugLineNum = 301;BA.debugLine="If Connected Then"; -if (_connected) { - //BA.debugLineNum = 302;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; -_astream.Write(_data.getBytes(_encoding)); +public String _writestring2(gunav2.keymon.com.mx.escposprinter __ref,String _data,String _encoding) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writestring2", false)) + {return ((String) Debug.delegate(ba, "writestring2", new Object[] {_data,_encoding}));} +RDebugUtils.currentLine=89653248; + //BA.debugLineNum = 89653248;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; +RDebugUtils.currentLine=89653249; + //BA.debugLineNum = 89653249;BA.debugLine="Try"; +try {RDebugUtils.currentLine=89653250; + //BA.debugLineNum = 89653250;BA.debugLine="If Connected Then"; +if (__ref._connected /*boolean*/ ) { +RDebugUtils.currentLine=89653251; + //BA.debugLineNum = 89653251;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Write(_data.getBytes(_encoding)); }; } catch (Exception e6) { - ba.setLastException(e6); //BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; -__c.LogImpl("487687174","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); - //BA.debugLineNum = 306;BA.debugLine="AStream_Error"; -_astream_error(); + ba.setLastException(e6);RDebugUtils.currentLine=89653254; + //BA.debugLineNum = 89653254;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; +__c.LogImpl("089653254","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); +RDebugUtils.currentLine=89653255; + //BA.debugLineNum = 89653255;BA.debugLine="AStream_Error"; +__ref._astream_error /*String*/ (null); }; - //BA.debugLineNum = 308;BA.debugLine="End Sub"; +RDebugUtils.currentLine=89653257; + //BA.debugLineNum = 89653257;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/fileprovider.java b/B4A/Objects/src/gunav2/keymon/com/mx/fileprovider.java index 700a0ac..23af644 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/fileprovider.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/fileprovider.java @@ -10,7 +10,7 @@ public class fileprovider extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.fileprovider"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.fileprovider"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class fileprovider extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _sharedfolder = ""; public boolean _usefileprovider = false; public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; @@ -32,96 +39,138 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Public SharedFolder As String"; -_sharedfolder = ""; - //BA.debugLineNum = 4;BA.debugLine="Public UseFileProvider As Boolean"; -_usefileprovider = false; - //BA.debugLineNum = 5;BA.debugLine="Private rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 6;BA.debugLine="End Sub"; +public String _initialize(gunav2.keymon.com.mx.fileprovider __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +anywheresoftware.b4a.phone.Phone _p = null; +RDebugUtils.currentLine=17956864; + //BA.debugLineNum = 17956864;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=17956865; + //BA.debugLineNum = 17956865;BA.debugLine="Dim p As Phone"; +_p = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=17956866; + //BA.debugLineNum = 17956866;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { +RDebugUtils.currentLine=17956867; + //BA.debugLineNum = 17956867;BA.debugLine="UseFileProvider = True"; +__ref._usefileprovider /*boolean*/ = __c.True; +RDebugUtils.currentLine=17956868; + //BA.debugLineNum = 17956868;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +__ref._sharedfolder /*String*/ = __c.File.Combine(__c.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=17956869; + //BA.debugLineNum = 17956869;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +__c.File.MakeDir("",__ref._sharedfolder /*String*/ ); + }else { +RDebugUtils.currentLine=17956871; + //BA.debugLineNum = 17956871;BA.debugLine="UseFileProvider = False"; +__ref._usefileprovider /*boolean*/ = __c.False; +RDebugUtils.currentLine=17956872; + //BA.debugLineNum = 17956872;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +__ref._sharedfolder /*String*/ = __ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .GetSafeDirDefaultExternal("shared"); + }; +RDebugUtils.currentLine=17956874; + //BA.debugLineNum = 17956874;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +__c.LogImpl("917956874",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(__ref._usefileprovider /*boolean*/ ))+""),0); +RDebugUtils.currentLine=17956875; + //BA.debugLineNum = 17956875;BA.debugLine="End Sub"; return ""; } -public Object _getfileuri(String _filename) throws Exception{ +public Object _getfileuri(gunav2.keymon.com.mx.fileprovider __ref,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "getfileuri", true)) + {return ((Object) Debug.delegate(ba, "getfileuri", new Object[] {_filename}));} anywheresoftware.b4j.object.JavaObject _uri = null; anywheresoftware.b4j.object.JavaObject _f = null; anywheresoftware.b4j.object.JavaObject _fp = null; anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 22;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; - //BA.debugLineNum = 24;BA.debugLine="If UseFileProvider = False Then"; -if (_usefileprovider==__c.False) { - //BA.debugLineNum = 25;BA.debugLine="Dim uri As JavaObject"; +RDebugUtils.currentLine=18022400; + //BA.debugLineNum = 18022400;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; +RDebugUtils.currentLine=18022402; + //BA.debugLineNum = 18022402;BA.debugLine="If UseFileProvider = False Then"; +if (__ref._usefileprovider /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=18022403; + //BA.debugLineNum = 18022403;BA.debugLine="Dim uri As JavaObject"; _uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 26;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; -if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(_sharedfolder,_filename))}); +RDebugUtils.currentLine=18022404; + //BA.debugLineNum = 18022404;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; +if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(__ref._sharedfolder /*String*/ ,_filename))}); }else { - //BA.debugLineNum = 28;BA.debugLine="Dim f As JavaObject"; +RDebugUtils.currentLine=18022406; + //BA.debugLineNum = 18022406;BA.debugLine="Dim f As JavaObject"; _f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 29;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 30;BA.debugLine="Dim fp As JavaObject"; +RDebugUtils.currentLine=18022407; + //BA.debugLineNum = 18022407;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ ),(Object)(_filename)}); +RDebugUtils.currentLine=18022408; + //BA.debugLineNum = 18022408;BA.debugLine="Dim fp As JavaObject"; _fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 31;BA.debugLine="Dim context As JavaObject"; +RDebugUtils.currentLine=18022409; + //BA.debugLineNum = 18022409;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 32;BA.debugLine="context.InitializeContext"; +RDebugUtils.currentLine=18022410; + //BA.debugLineNum = 18022410;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 33;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +RDebugUtils.currentLine=18022411; + //BA.debugLineNum = 18022411;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; _fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 34;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +RDebugUtils.currentLine=18022412; + //BA.debugLineNum = 18022412;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(__c.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); }; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18022414; + //BA.debugLineNum = 18022414;BA.debugLine="End Sub"; return null; } -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; -_p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 10;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; -if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { - //BA.debugLineNum = 11;BA.debugLine="UseFileProvider = True"; -_usefileprovider = __c.True; - //BA.debugLineNum = 12;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; -_sharedfolder = __c.File.Combine(__c.File.getDirInternal(),"shared"); - //BA.debugLineNum = 13;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; -__c.File.MakeDir("",_sharedfolder); - }else { - //BA.debugLineNum = 15;BA.debugLine="UseFileProvider = False"; -_usefileprovider = __c.False; - //BA.debugLineNum = 16;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; -_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); - }; - //BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; -__c.LogImpl("911796490",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); - //BA.debugLineNum = 19;BA.debugLine="End Sub"; -return ""; -} -public String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +public String _setfileuriasintentdata(gunav2.keymon.com.mx.fileprovider __ref,anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "setfileuriasintentdata", true)) + {return ((String) Debug.delegate(ba, "setfileuriasintentdata", new Object[] {_intent,_filename}));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 40;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; - //BA.debugLineNum = 41;BA.debugLine="Dim jo As JavaObject = Intent"; +RDebugUtils.currentLine=18087936; + //BA.debugLineNum = 18087936;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; +RDebugUtils.currentLine=18087937; + //BA.debugLineNum = 18087937;BA.debugLine="Dim jo As JavaObject = Intent"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 42;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 43;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +RDebugUtils.currentLine=18087938; + //BA.debugLineNum = 18087938;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{__ref._getfileuri /*Object*/ (null,_filename)}); +RDebugUtils.currentLine=18087939; + //BA.debugLineNum = 18087939;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; _intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18087940; + //BA.debugLineNum = 18087940;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} +public String _class_globals(gunav2.keymon.com.mx.fileprovider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +RDebugUtils.currentLine=17891328; + //BA.debugLineNum = 17891328;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=17891329; + //BA.debugLineNum = 17891329;BA.debugLine="Public SharedFolder As String"; +_sharedfolder = ""; +RDebugUtils.currentLine=17891330; + //BA.debugLineNum = 17891330;BA.debugLine="Public UseFileProvider As Boolean"; +_usefileprovider = false; +RDebugUtils.currentLine=17891331; + //BA.debugLineNum = 17891331;BA.debugLine="Private rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=17891332; + //BA.debugLineNum = 17891332;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/firebasemessaging.java b/B4A/Objects/src/gunav2/keymon/com/mx/firebasemessaging.java index 5cfc380..97bc005 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/firebasemessaging.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/firebasemessaging.java @@ -14,7 +14,7 @@ public class firebasemessaging extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, firebasemessaging.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class firebasemessaging extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.firebasemessaging"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.firebasemessaging"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,7 +127,8 @@ public class firebasemessaging extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; + } +public anywheresoftware.b4a.keywords.Common __c = null; public static anywheresoftware.b4a.objects.FirebaseNotificationsService.FirebaseMessageWrapper _fm = null; public static String _api_key = ""; public static String _locrequest = ""; @@ -142,266 +143,303 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; public static String _borragpshist() throws Exception{ - //BA.debugLineNum = 218;BA.debugLine="Sub borraGPSHist"; - //BA.debugLineNum = 219;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"delete FROM"; +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "borragpshist", false)) + {return ((String) Debug.delegate(processBA, "borragpshist", null));} +RDebugUtils.currentLine=92864512; + //BA.debugLineNum = 92864512;BA.debugLine="Sub borraGPSHist"; +RDebugUtils.currentLine=92864513; + //BA.debugLineNum = 92864513;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"delete FROM"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("delete FROM RUTA_GPS"))); - //BA.debugLineNum = 220;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92864514; + //BA.debugLineNum = 92864514;BA.debugLine="End Sub"; return ""; } public static String _borramosarchivogps() throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "borramosarchivogps", false)) + {return ((String) Debug.delegate(processBA, "borramosarchivogps", null));} anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; String _s = ""; byte[] _t = null; - //BA.debugLineNum = 167;BA.debugLine="Sub borramosArchivoGPS"; - //BA.debugLineNum = 168;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +RDebugUtils.currentLine=92536832; + //BA.debugLineNum = 92536832;BA.debugLine="Sub borramosArchivoGPS"; +RDebugUtils.currentLine=92536833; + //BA.debugLineNum = 92536833;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 169;BA.debugLine="Dim s As String = \"\""; +RDebugUtils.currentLine=92536834; + //BA.debugLineNum = 92536834;BA.debugLine="Dim s As String = \"\""; _s = ""; - //BA.debugLineNum = 170;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +RDebugUtils.currentLine=92536835; + //BA.debugLineNum = 92536835;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; _t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 171;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +RDebugUtils.currentLine=92536836; + //BA.debugLineNum = 92536836;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; _out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 172;BA.debugLine="out.Close"; +RDebugUtils.currentLine=92536837; + //BA.debugLineNum = 92536837;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92536838; + //BA.debugLineNum = 92536838;BA.debugLine="End Sub"; return ""; } public static String _compress(String _str) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "compress", false)) + {return ((String) Debug.delegate(processBA, "compress", new Object[] {_str}));} anywheresoftware.b4a.objects.StringUtils _su = null; byte[] _compressed = null; String _base64 = ""; - //BA.debugLineNum = 179;BA.debugLine="Sub compress(str As String) As String"; - //BA.debugLineNum = 181;BA.debugLine="Private su As StringUtils"; +RDebugUtils.currentLine=92667904; + //BA.debugLineNum = 92667904;BA.debugLine="Sub compress(str As String) As String"; +RDebugUtils.currentLine=92667906; + //BA.debugLineNum = 92667906;BA.debugLine="Private su As StringUtils"; _su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 182;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +RDebugUtils.currentLine=92667907; + //BA.debugLineNum = 92667907;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; _compressed = _gzip.compress(_str); - //BA.debugLineNum = 183;BA.debugLine="Log($\"CompressedBytesLength: ${compressed.Length}"; -anywheresoftware.b4a.keywords.Common.LogImpl("490701828",("CompressedBytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_compressed.length))+""),0); - //BA.debugLineNum = 184;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +RDebugUtils.currentLine=92667908; + //BA.debugLineNum = 92667908;BA.debugLine="Log($\"CompressedBytesLength: ${compressed.Length}"; +anywheresoftware.b4a.keywords.Common.LogImpl("092667908",("CompressedBytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_compressed.length))+""),0); +RDebugUtils.currentLine=92667909; + //BA.debugLineNum = 92667909;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; _base64 = _su.EncodeBase64(_compressed); - //BA.debugLineNum = 185;BA.debugLine="Log($\"CompressedBytes converted to base64 Length:"; -anywheresoftware.b4a.keywords.Common.LogImpl("490701830",("CompressedBytes converted to base64 Length: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); - //BA.debugLineNum = 186;BA.debugLine="Log($\"CompressedBytes converted to base64: ${base"; -anywheresoftware.b4a.keywords.Common.LogImpl("490701831",("CompressedBytes converted to base64: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64))+""),0); - //BA.debugLineNum = 187;BA.debugLine="Return base64"; +RDebugUtils.currentLine=92667910; + //BA.debugLineNum = 92667910;BA.debugLine="Log($\"CompressedBytes converted to base64 Length:"; +anywheresoftware.b4a.keywords.Common.LogImpl("092667910",("CompressedBytes converted to base64 Length: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); +RDebugUtils.currentLine=92667911; + //BA.debugLineNum = 92667911;BA.debugLine="Log($\"CompressedBytes converted to base64: ${base"; +anywheresoftware.b4a.keywords.Common.LogImpl("092667911",("CompressedBytes converted to base64: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64))+""),0); +RDebugUtils.currentLine=92667912; + //BA.debugLineNum = 92667912;BA.debugLine="Return base64"; if (true) return _base64; - //BA.debugLineNum = 188;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92667913; + //BA.debugLineNum = 92667913;BA.debugLine="End Sub"; return ""; } public static String _dameruta() throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "dameruta", false)) + {return ((String) Debug.delegate(processBA, "dameruta", null));} String _ruta2 = ""; int _i = 0; - //BA.debugLineNum = 202;BA.debugLine="Sub dameRuta As String"; - //BA.debugLineNum = 203;BA.debugLine="Log(\"dameRuta\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490832897","dameRuta",0); - //BA.debugLineNum = 204;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=92798976; + //BA.debugLineNum = 92798976;BA.debugLine="Sub dameRuta As String"; +RDebugUtils.currentLine=92798977; + //BA.debugLineNum = 92798977;BA.debugLine="Log(\"dameRuta\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092798977","dameRuta",0); +RDebugUtils.currentLine=92798978; + //BA.debugLineNum = 92798978;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 205;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select LAT,"; +RDebugUtils.currentLine=92798979; + //BA.debugLineNum = 92798979;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select LAT,"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select LAT, LON from RUTA_GPS order by FECHA desc limit 390"))); - //BA.debugLineNum = 206;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=92798980; + //BA.debugLineNum = 92798980;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 207;BA.debugLine="Dim ruta2 As String = \"\""; +RDebugUtils.currentLine=92798981; + //BA.debugLineNum = 92798981;BA.debugLine="Dim ruta2 As String = \"\""; _ruta2 = ""; - //BA.debugLineNum = 208;BA.debugLine="If c.RowCount>0 Then"; +RDebugUtils.currentLine=92798982; + //BA.debugLineNum = 92798982;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 209;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=92798983; + //BA.debugLineNum = 92798983;BA.debugLine="For i=0 To c.RowCount -1"; { final int step7 = 1; final int limit7 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 210;BA.debugLine="c.Position=i"; +RDebugUtils.currentLine=92798984; + //BA.debugLineNum = 92798984;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 211;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; +RDebugUtils.currentLine=92798985; + //BA.debugLineNum = 92798985;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; _ruta2 = _ruta2+anywheresoftware.b4a.keywords.Common.CRLF+_c.GetString("LAT")+","+_c.GetString("LON"); } }; }; - //BA.debugLineNum = 214;BA.debugLine="c.Close"; +RDebugUtils.currentLine=92798988; + //BA.debugLineNum = 92798988;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 215;BA.debugLine="Return compress(ruta2)"; +RDebugUtils.currentLine=92798989; + //BA.debugLineNum = 92798989;BA.debugLine="Return compress(ruta2)"; if (true) return _compress(_ruta2); - //BA.debugLineNum = 216;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92798990; + //BA.debugLineNum = 92798990;BA.debugLine="End Sub"; return ""; } public static String _decompress(String _base64) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "decompress", false)) + {return ((String) Debug.delegate(processBA, "decompress", new Object[] {_base64}));} anywheresoftware.b4a.objects.StringUtils _su = null; byte[] _decompressedbytes = null; anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; String _uncompressed = ""; - //BA.debugLineNum = 190;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; - //BA.debugLineNum = 192;BA.debugLine="Private su As StringUtils"; +RDebugUtils.currentLine=92733440; + //BA.debugLineNum = 92733440;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +RDebugUtils.currentLine=92733442; + //BA.debugLineNum = 92733442;BA.debugLine="Private su As StringUtils"; _su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 193;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +RDebugUtils.currentLine=92733443; + //BA.debugLineNum = 92733443;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; _decompressedbytes = _su.DecodeBase64(_base64); - //BA.debugLineNum = 194;BA.debugLine="Log($\"decompressedbytesLength: ${decompressedbyte"; -anywheresoftware.b4a.keywords.Common.LogImpl("490767364",("decompressedbytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_decompressedbytes.length))+""),0); - //BA.debugLineNum = 195;BA.debugLine="Dim bc As ByteConverter"; +RDebugUtils.currentLine=92733444; + //BA.debugLineNum = 92733444;BA.debugLine="Log($\"decompressedbytesLength: ${decompressedbyte"; +anywheresoftware.b4a.keywords.Common.LogImpl("092733444",("decompressedbytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_decompressedbytes.length))+""),0); +RDebugUtils.currentLine=92733445; + //BA.debugLineNum = 92733445;BA.debugLine="Dim bc As ByteConverter"; _bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); - //BA.debugLineNum = 196;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +RDebugUtils.currentLine=92733446; + //BA.debugLineNum = 92733446;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; _uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); - //BA.debugLineNum = 197;BA.debugLine="Log($\"uncompressedLength: ${uncompressed.Length}\""; -anywheresoftware.b4a.keywords.Common.LogImpl("490767367",("uncompressedLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); - //BA.debugLineNum = 198;BA.debugLine="Log($\"Decompressed String = ${uncompressed}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("490767368",("Decompressed String = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed))+""),0); - //BA.debugLineNum = 199;BA.debugLine="Return uncompressed"; +RDebugUtils.currentLine=92733447; + //BA.debugLineNum = 92733447;BA.debugLine="Log($\"uncompressedLength: ${uncompressed.Length}\""; +anywheresoftware.b4a.keywords.Common.LogImpl("092733447",("uncompressedLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); +RDebugUtils.currentLine=92733448; + //BA.debugLineNum = 92733448;BA.debugLine="Log($\"Decompressed String = ${uncompressed}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("092733448",("Decompressed String = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed))+""),0); +RDebugUtils.currentLine=92733449; + //BA.debugLineNum = 92733449;BA.debugLine="Return uncompressed"; if (true) return _uncompressed; - //BA.debugLineNum = 200;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92733450; + //BA.debugLineNum = 92733450;BA.debugLine="End Sub"; return ""; } public static String _fm_messagearrived(anywheresoftware.b4a.objects.FirebaseNotificationsService.RemoteMessageWrapper _message) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "fm_messagearrived", false)) + {return ((String) Debug.delegate(processBA, "fm_messagearrived", new Object[] {_message}));} anywheresoftware.b4a.objects.collections.List _tipos = null; anywheresoftware.b4a.objects.collections.Map _params = null; String _rutagpscmp = ""; - //BA.debugLineNum = 72;BA.debugLine="Sub fm_MessageArrived (Message As RemoteMessage)"; - //BA.debugLineNum = 73;BA.debugLine="Log(\"Message arrived\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243073","Message arrived",0); - //BA.debugLineNum = 74;BA.debugLine="Log($\"Message data: ${Message.GetData}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243074",("Message data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_message.GetData().getObject()))+""),0); - //BA.debugLineNum = 76;BA.debugLine="If Message.GetData.ContainsKey(\"t\") Then"; +RDebugUtils.currentLine=92209152; + //BA.debugLineNum = 92209152;BA.debugLine="Sub fm_MessageArrived (Message As RemoteMessage)"; +RDebugUtils.currentLine=92209153; + //BA.debugLineNum = 92209153;BA.debugLine="Log(\"Message arrived\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209153","Message arrived",0); +RDebugUtils.currentLine=92209154; + //BA.debugLineNum = 92209154;BA.debugLine="Log($\"Message data: ${Message.GetData}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209154",("Message data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_message.GetData().getObject()))+""),0); +RDebugUtils.currentLine=92209156; + //BA.debugLineNum = 92209156;BA.debugLine="If Message.GetData.ContainsKey(\"t\") Then"; if (_message.GetData().ContainsKey((Object)("t"))) { - //BA.debugLineNum = 77;BA.debugLine="Dim tipos As List = Regex.Split(\",\",Message.GetD"; +RDebugUtils.currentLine=92209157; + //BA.debugLineNum = 92209157;BA.debugLine="Dim tipos As List = Regex.Split(\",\",Message.GetD"; _tipos = new anywheresoftware.b4a.objects.collections.List(); _tipos = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.keywords.Common.Regex.Split(",",BA.ObjectToString(_message.GetData().Get((Object)("t"))))); - //BA.debugLineNum = 78;BA.debugLine="If tipos.IndexOf(\"pu\") <> -1 Or tipos.IndexOf(\"a"; +RDebugUtils.currentLine=92209158; + //BA.debugLineNum = 92209158;BA.debugLine="If tipos.IndexOf(\"pu\") <> -1 Or tipos.IndexOf(\"a"; if (_tipos.IndexOf((Object)("pu"))!=-1 || _tipos.IndexOf((Object)("au"))!=-1) { - //BA.debugLineNum = 79;BA.debugLine="Log(\"Es una peticion de ubicacion\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243079","Es una peticion de ubicacion",0); - //BA.debugLineNum = 80;BA.debugLine="locRequest=\"Activa\""; +RDebugUtils.currentLine=92209159; + //BA.debugLineNum = 92209159;BA.debugLine="Log(\"Es una peticion de ubicacion\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209159","Es una peticion de ubicacion",0); +RDebugUtils.currentLine=92209160; + //BA.debugLineNum = 92209160;BA.debugLine="locRequest=\"Activa\""; _locrequest = "Activa"; - //BA.debugLineNum = 81;BA.debugLine="Log(\"Llamamos StartFLPSmall\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243081","Llamamos StartFLPSmall",0); - //BA.debugLineNum = 82;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +RDebugUtils.currentLine=92209161; + //BA.debugLineNum = 92209161;BA.debugLine="Log(\"Llamamos StartFLPSmall\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209161","Llamamos StartFLPSmall",0); +RDebugUtils.currentLine=92209162; + //BA.debugLineNum = 92209162;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"StartFLPSmall"); - //BA.debugLineNum = 83;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +RDebugUtils.currentLine=92209163; + //BA.debugLineNum = 92209163;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"StartFLP"); }; - //BA.debugLineNum = 85;BA.debugLine="If tipos.IndexOf(\"au\") <> -1 Then 'Si es una act"; +RDebugUtils.currentLine=92209165; + //BA.debugLineNum = 92209165;BA.debugLine="If tipos.IndexOf(\"au\") <> -1 Then 'Si es una act"; if (_tipos.IndexOf((Object)("au"))!=-1) { - //BA.debugLineNum = 86;BA.debugLine="au = 1"; +RDebugUtils.currentLine=92209166; + //BA.debugLineNum = 92209166;BA.debugLine="au = 1"; _au = BA.NumberToString(1); }; - //BA.debugLineNum = 88;BA.debugLine="If tipos.IndexOf(\"ping\") <> -1 Then 'Si es un pi"; +RDebugUtils.currentLine=92209168; + //BA.debugLineNum = 92209168;BA.debugLine="If tipos.IndexOf(\"ping\") <> -1 Then 'Si es un pi"; if (_tipos.IndexOf((Object)("ping"))!=-1) { - //BA.debugLineNum = 89;BA.debugLine="Log(\"Es un ping\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243089","Es un ping",0); - //BA.debugLineNum = 90;BA.debugLine="Log(\"Mandamos pong\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243090","Mandamos pong",0); - //BA.debugLineNum = 91;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t"; +RDebugUtils.currentLine=92209169; + //BA.debugLineNum = 92209169;BA.debugLine="Log(\"Es un ping\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209169","Es un ping",0); +RDebugUtils.currentLine=92209170; + //BA.debugLineNum = 92209170;BA.debugLine="Log(\"Mandamos pong\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209170","Mandamos pong",0); +RDebugUtils.currentLine=92209171; + //BA.debugLineNum = 92209171;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t"; _params = new anywheresoftware.b4a.objects.collections.Map(); _params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("pong"),(Object)("body"),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._usuario /*String*/ +" - Recibi mensaje "+BA.ObjectToString(_message.GetData().Get((Object)("title")))),(Object)("t"),(Object)("pong")}); - //BA.debugLineNum = 92;BA.debugLine="SendMessage(params)"; +RDebugUtils.currentLine=92209172; + //BA.debugLineNum = 92209172;BA.debugLine="SendMessage(params)"; _sendmessage(_params); }; - //BA.debugLineNum = 94;BA.debugLine="If tipos.IndexOf(\"bgps\") <> -1 Then 'Si es una i"; +RDebugUtils.currentLine=92209174; + //BA.debugLineNum = 92209174;BA.debugLine="If tipos.IndexOf(\"bgps\") <> -1 Then 'Si es una i"; if (_tipos.IndexOf((Object)("bgps"))!=-1) { - //BA.debugLineNum = 95;BA.debugLine="Log(\"Es una instruccion de borrar archivo gps\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243095","Es una instruccion de borrar archivo gps",0); - //BA.debugLineNum = 96;BA.debugLine="Log(\"Borramos archivo gps\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243096","Borramos archivo gps",0); - //BA.debugLineNum = 97;BA.debugLine="borramosArchivoGPS"; +RDebugUtils.currentLine=92209175; + //BA.debugLineNum = 92209175;BA.debugLine="Log(\"Es una instruccion de borrar archivo gps\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209175","Es una instruccion de borrar archivo gps",0); +RDebugUtils.currentLine=92209176; + //BA.debugLineNum = 92209176;BA.debugLine="Log(\"Borramos archivo gps\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209176","Borramos archivo gps",0); +RDebugUtils.currentLine=92209177; + //BA.debugLineNum = 92209177;BA.debugLine="borramosArchivoGPS"; _borramosarchivogps(); }; - //BA.debugLineNum = 99;BA.debugLine="If tipos.IndexOf(\"dr\") <> -1 Then 'Si es una pet"; +RDebugUtils.currentLine=92209179; + //BA.debugLineNum = 92209179;BA.debugLine="If tipos.IndexOf(\"dr\") <> -1 Then 'Si es una pet"; if (_tipos.IndexOf((Object)("dr"))!=-1) { - //BA.debugLineNum = 100;BA.debugLine="Log(\"Es una peticion de Ruta GPS\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243100","Es una peticion de Ruta GPS",0); - //BA.debugLineNum = 101;BA.debugLine="Dim rutaGpsCmp As String = dameRuta"; +RDebugUtils.currentLine=92209180; + //BA.debugLineNum = 92209180;BA.debugLine="Log(\"Es una peticion de Ruta GPS\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209180","Es una peticion de Ruta GPS",0); +RDebugUtils.currentLine=92209181; + //BA.debugLineNum = 92209181;BA.debugLine="Dim rutaGpsCmp As String = dameRuta"; _rutagpscmp = _dameruta(); - //BA.debugLineNum = 102;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t"; +RDebugUtils.currentLine=92209182; + //BA.debugLineNum = 92209182;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t"; _params = new anywheresoftware.b4a.objects.collections.Map(); _params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("ruta"),(Object)("body"),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._usuario /*String*/ +" - Recibi mensaje "+BA.ObjectToString(_message.GetData().Get((Object)("title")))),(Object)("t"),(Object)("ruta"),(Object)("r"),(Object)(_rutagpscmp)}); - //BA.debugLineNum = 103;BA.debugLine="SendMessage(params)"; +RDebugUtils.currentLine=92209183; + //BA.debugLineNum = 92209183;BA.debugLine="SendMessage(params)"; _sendmessage(_params); }; - //BA.debugLineNum = 105;BA.debugLine="If tipos.IndexOf(\"bgps2\") <> -1 Then 'Si es una"; +RDebugUtils.currentLine=92209185; + //BA.debugLineNum = 92209185;BA.debugLine="If tipos.IndexOf(\"bgps2\") <> -1 Then 'Si es una"; if (_tipos.IndexOf((Object)("bgps2"))!=-1) { - //BA.debugLineNum = 106;BA.debugLine="Log(\"Es una instruccion de borrar BD gps\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243106","Es una instruccion de borrar BD gps",0); - //BA.debugLineNum = 107;BA.debugLine="Log(\"Borramos BD gps\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243107","Borramos BD gps",0); - //BA.debugLineNum = 108;BA.debugLine="borraGPSHist"; +RDebugUtils.currentLine=92209186; + //BA.debugLineNum = 92209186;BA.debugLine="Log(\"Es una instruccion de borrar BD gps\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209186","Es una instruccion de borrar BD gps",0); +RDebugUtils.currentLine=92209187; + //BA.debugLineNum = 92209187;BA.debugLine="Log(\"Borramos BD gps\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209187","Borramos BD gps",0); +RDebugUtils.currentLine=92209188; + //BA.debugLineNum = 92209188;BA.debugLine="borraGPSHist"; _borragpshist(); }; - //BA.debugLineNum = 110;BA.debugLine="If tipos.IndexOf(\"pu\") = -1 And tipos.IndexOf(\"a"; +RDebugUtils.currentLine=92209190; + //BA.debugLineNum = 92209190;BA.debugLine="If tipos.IndexOf(\"pu\") = -1 And tipos.IndexOf(\"a"; if (_tipos.IndexOf((Object)("pu"))==-1 && _tipos.IndexOf((Object)("au"))==-1 && _tipos.IndexOf((Object)("ping"))==-1 && _tipos.IndexOf((Object)("dr"))==-1) { - //BA.debugLineNum = 111;BA.debugLine="Log(\"No es ping ni solicitud de ubicacion o rut"; -anywheresoftware.b4a.keywords.Common.LogImpl("490243111","No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada",0); +RDebugUtils.currentLine=92209191; + //BA.debugLineNum = 92209191;BA.debugLine="Log(\"No es ping ni solicitud de ubicacion o rut"; +anywheresoftware.b4a.keywords.Common.LogImpl("092209191","No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada",0); }; }; - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return ""; -} -public static String _guardainfoenarchivo(String _coords) throws Exception{ -String[] _latlon = null; - //BA.debugLineNum = 161;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; - //BA.debugLineNum = 162;BA.debugLine="Log(\"Guardamos ubicacion en BD\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490505217","Guardamos ubicacion en BD",0); - //BA.debugLineNum = 163;BA.debugLine="Dim latlon() As String = Regex.Split(\",\", coords)"; -_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords); - //BA.debugLineNum = 164;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])})); - //BA.debugLineNum = 165;BA.debugLine="End Sub"; -return ""; -} -public static String _mandamosloc(String _coords) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _params = null; - //BA.debugLineNum = 150;BA.debugLine="Sub mandamosLoc(coords As String)"; - //BA.debugLineNum = 153;BA.debugLine="If locRequest=\"Activa\" Then 'Si hay solicitud de"; -if ((_locrequest).equals("Activa")) { - //BA.debugLineNum = 154;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"ti"; -_params = new anywheresoftware.b4a.objects.collections.Map(); -_params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("ubicacionRecibida"),(Object)("body"),(Object)(_coords),(Object)("t"),(Object)("u")}); - //BA.debugLineNum = 155;BA.debugLine="SendMessage(params)"; -_sendmessage(_params); - //BA.debugLineNum = 156;BA.debugLine="locRequest=\"Enviada\""; -_locrequest = "Enviada"; - //BA.debugLineNum = 157;BA.debugLine="CallSubDelayed(Tracker,\"CreateLocationRequest\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"CreateLocationRequest"); - }; - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public static String _pe_batterychanged(int _level,int _scale,boolean _plugged,anywheresoftware.b4a.objects.IntentWrapper _intent) throws Exception{ - //BA.debugLineNum = 175;BA.debugLine="Sub pe_BatteryChanged (Level As Int, Scale As Int,"; - //BA.debugLineNum = 176;BA.debugLine="B4XPages.MainPage.batt=Level"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ = _level; - //BA.debugLineNum = 177;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 33;BA.debugLine="Private fm As FirebaseMessaging"; -_fm = new anywheresoftware.b4a.objects.FirebaseNotificationsService.FirebaseMessageWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private const API_KEY As String = \"AAAAv1qt3Lk:AP"; -_api_key = "AAAAv1qt3Lk:APA91bECIR-pHn6ul53eYyoVlpPuOo85RO-0zcAgEXwE7vqw8DFSbBtCaCINiqWQAkBBZXxHtQMdpU6B-jHIqgFKVL196UgwHv0Gw6_IgmipfV_NiItjzlH9d2QNpGLp9y_JUKVjUEhP"; - //BA.debugLineNum = 35;BA.debugLine="Dim locRequest As String"; -_locrequest = ""; - //BA.debugLineNum = 37;BA.debugLine="Dim pe As PhoneEvents"; -_pe = new anywheresoftware.b4a.phone.PhoneEvents(); - //BA.debugLineNum = 38;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Public GZip As GZipStrings"; -_gzip = new de.donmanfred.GZipStringswrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim Sprvsr As String = \"Sprv-Cedex\" ' El topico a"; -_sprvsr = "Sprv-Cedex"; - //BA.debugLineNum = 41;BA.debugLine="Dim Subscrito As String"; -_subscrito = ""; - //BA.debugLineNum = 42;BA.debugLine="Dim au As String 'ignore"; -_au = ""; - //BA.debugLineNum = 43;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92209199; + //BA.debugLineNum = 92209199;BA.debugLine="End Sub"; return ""; } public static String _sendmessage(anywheresoftware.b4a.objects.collections.Map _params) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "sendmessage", false)) + {return ((String) Debug.delegate(processBA, "sendmessage", new Object[] {_params}));} String _topic = ""; String _title = ""; String _body = ""; @@ -411,69 +449,167 @@ gunav2.keymon.com.mx.httpjob _job = null; anywheresoftware.b4a.objects.collections.Map _m = null; anywheresoftware.b4a.objects.collections.Map _data = null; anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _jg = null; - //BA.debugLineNum = 125;BA.debugLine="Sub SendMessage(params As Map)"; - //BA.debugLineNum = 126;BA.debugLine="Dim topic As String= params.Get(\"topic\")"; +RDebugUtils.currentLine=92340224; + //BA.debugLineNum = 92340224;BA.debugLine="Sub SendMessage(params As Map)"; +RDebugUtils.currentLine=92340225; + //BA.debugLineNum = 92340225;BA.debugLine="Dim topic As String= params.Get(\"topic\")"; _topic = BA.ObjectToString(_params.Get((Object)("topic"))); - //BA.debugLineNum = 127;BA.debugLine="Dim title As String= params.Get(\"title\")"; +RDebugUtils.currentLine=92340226; + //BA.debugLineNum = 92340226;BA.debugLine="Dim title As String= params.Get(\"title\")"; _title = BA.ObjectToString(_params.Get((Object)("title"))); - //BA.debugLineNum = 128;BA.debugLine="Dim body As String= params.Get(\"body\")"; +RDebugUtils.currentLine=92340227; + //BA.debugLineNum = 92340227;BA.debugLine="Dim body As String= params.Get(\"body\")"; _body = BA.ObjectToString(_params.Get((Object)("body"))); - //BA.debugLineNum = 129;BA.debugLine="Dim tipo As String= params.Get(\"t\")"; +RDebugUtils.currentLine=92340228; + //BA.debugLineNum = 92340228;BA.debugLine="Dim tipo As String= params.Get(\"t\")"; _tipo = BA.ObjectToString(_params.Get((Object)("t"))); - //BA.debugLineNum = 130;BA.debugLine="If params.ContainsKey(\"r\") Then"; +RDebugUtils.currentLine=92340229; + //BA.debugLineNum = 92340229;BA.debugLine="If params.ContainsKey(\"r\") Then"; if (_params.ContainsKey((Object)("r"))) { - //BA.debugLineNum = 131;BA.debugLine="Log(\"Con ruta\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490374150","Con ruta",0); - //BA.debugLineNum = 132;BA.debugLine="Dim rutaGpsCmp As String= params.Get(\"r\")"; +RDebugUtils.currentLine=92340230; + //BA.debugLineNum = 92340230;BA.debugLine="Log(\"Con ruta\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092340230","Con ruta",0); +RDebugUtils.currentLine=92340231; + //BA.debugLineNum = 92340231;BA.debugLine="Dim rutaGpsCmp As String= params.Get(\"r\")"; _rutagpscmp = BA.ObjectToString(_params.Get((Object)("r"))); }else { - //BA.debugLineNum = 134;BA.debugLine="Log(\"Sin ruta\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("490374153","Sin ruta",0); - //BA.debugLineNum = 135;BA.debugLine="Dim rutaGpsCmp As String = \"\""; +RDebugUtils.currentLine=92340233; + //BA.debugLineNum = 92340233;BA.debugLine="Log(\"Sin ruta\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092340233","Sin ruta",0); +RDebugUtils.currentLine=92340234; + //BA.debugLineNum = 92340234;BA.debugLine="Dim rutaGpsCmp As String = \"\""; _rutagpscmp = ""; }; - //BA.debugLineNum = 137;BA.debugLine="Dim Job As HttpJob"; +RDebugUtils.currentLine=92340236; + //BA.debugLineNum = 92340236;BA.debugLine="Dim Job As HttpJob"; _job = new gunav2.keymon.com.mx.httpjob(); - //BA.debugLineNum = 138;BA.debugLine="Job.Initialize(\"fcm\", Me)"; -_job._initialize /*String*/ (processBA,"fcm",firebasemessaging.getObject()); - //BA.debugLineNum = 139;BA.debugLine="Dim m As Map = CreateMap(\"to\": $\"/topics/${topic}"; +RDebugUtils.currentLine=92340237; + //BA.debugLineNum = 92340237;BA.debugLine="Job.Initialize(\"fcm\", Me)"; +_job._initialize /*String*/ (null,processBA,"fcm",firebasemessaging.getObject()); +RDebugUtils.currentLine=92340238; + //BA.debugLineNum = 92340238;BA.debugLine="Dim m As Map = CreateMap(\"to\": $\"/topics/${topic}"; _m = new anywheresoftware.b4a.objects.collections.Map(); _m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("to"),(Object)(("/topics/"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_topic))+""))}); - //BA.debugLineNum = 140;BA.debugLine="Dim data As Map = CreateMap(\"title\":title, \"body\""; +RDebugUtils.currentLine=92340239; + //BA.debugLineNum = 92340239;BA.debugLine="Dim data As Map = CreateMap(\"title\":title, \"body\""; _data = new anywheresoftware.b4a.objects.collections.Map(); _data = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("title"),(Object)(_title),(Object)("body"),(Object)(_body),(Object)("d"),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._usuario /*String*/ ),(Object)("t"),(Object)(_tipo),(Object)("b"),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)("mt"),(Object)(anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ )),(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False)),(Object)("r"),(Object)(_rutagpscmp),(Object)("v"),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._v /*String*/ )}); - //BA.debugLineNum = 141;BA.debugLine="m.Put(\"data\", data)"; +RDebugUtils.currentLine=92340240; + //BA.debugLineNum = 92340240;BA.debugLine="m.Put(\"data\", data)"; _m.Put((Object)("data"),(Object)(_data.getObject())); - //BA.debugLineNum = 142;BA.debugLine="Dim jg As JSONGenerator"; +RDebugUtils.currentLine=92340241; + //BA.debugLineNum = 92340241;BA.debugLine="Dim jg As JSONGenerator"; _jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 143;BA.debugLine="jg.Initialize(m)"; +RDebugUtils.currentLine=92340242; + //BA.debugLineNum = 92340242;BA.debugLine="jg.Initialize(m)"; _jg.Initialize(_m); - //BA.debugLineNum = 144;BA.debugLine="Job.PostString(\"https://fcm.googleapis.com/fcm/se"; -_job._poststring /*String*/ ("https://fcm.googleapis.com/fcm/send",_jg.ToString()); - //BA.debugLineNum = 145;BA.debugLine="Job.GetRequest.SetContentType(\"application/json;c"; -_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ().SetContentType("application/json;charset=UTF-8"); - //BA.debugLineNum = 146;BA.debugLine="Job.GetRequest.SetHeader(\"Authorization\", \"key=\""; -_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ().SetHeader("Authorization","key="+_api_key); - //BA.debugLineNum = 147;BA.debugLine="Log(m) 'ignore"; -anywheresoftware.b4a.keywords.Common.LogImpl("490374166",BA.ObjectToString(_m),0); - //BA.debugLineNum = 148;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92340243; + //BA.debugLineNum = 92340243;BA.debugLine="Job.PostString(\"https://fcm.googleapis.com/fcm/se"; +_job._poststring /*String*/ (null,"https://fcm.googleapis.com/fcm/send",_jg.ToString()); +RDebugUtils.currentLine=92340244; + //BA.debugLineNum = 92340244;BA.debugLine="Job.GetRequest.SetContentType(\"application/json;c"; +_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null).SetContentType("application/json;charset=UTF-8"); +RDebugUtils.currentLine=92340245; + //BA.debugLineNum = 92340245;BA.debugLine="Job.GetRequest.SetHeader(\"Authorization\", \"key=\""; +_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null).SetHeader("Authorization","key="+_api_key); +RDebugUtils.currentLine=92340246; + //BA.debugLineNum = 92340246;BA.debugLine="Log(m) 'ignore"; +anywheresoftware.b4a.keywords.Common.LogImpl("092340246",BA.ObjectToString(_m),0); +RDebugUtils.currentLine=92340247; + //BA.debugLineNum = 92340247;BA.debugLine="End Sub"; +return ""; +} +public static String _guardainfoenarchivo(String _coords) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "guardainfoenarchivo", false)) + {return ((String) Debug.delegate(processBA, "guardainfoenarchivo", new Object[] {_coords}));} +String[] _latlon = null; +RDebugUtils.currentLine=92471296; + //BA.debugLineNum = 92471296;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +RDebugUtils.currentLine=92471297; + //BA.debugLineNum = 92471297;BA.debugLine="Log(\"Guardamos ubicacion en BD\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("092471297","Guardamos ubicacion en BD",0); +RDebugUtils.currentLine=92471298; + //BA.debugLineNum = 92471298;BA.debugLine="Dim latlon() As String = Regex.Split(\",\", coords)"; +_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords); +RDebugUtils.currentLine=92471299; + //BA.debugLineNum = 92471299;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])})); +RDebugUtils.currentLine=92471300; + //BA.debugLineNum = 92471300;BA.debugLine="End Sub"; +return ""; +} +public static String _mandamosloc(String _coords) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "mandamosloc", false)) + {return ((String) Debug.delegate(processBA, "mandamosloc", new Object[] {_coords}));} +anywheresoftware.b4a.objects.collections.Map _params = null; +RDebugUtils.currentLine=92405760; + //BA.debugLineNum = 92405760;BA.debugLine="Sub mandamosLoc(coords As String)"; +RDebugUtils.currentLine=92405763; + //BA.debugLineNum = 92405763;BA.debugLine="If locRequest=\"Activa\" Then 'Si hay solicitud de"; +if ((_locrequest).equals("Activa")) { +RDebugUtils.currentLine=92405764; + //BA.debugLineNum = 92405764;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"ti"; +_params = new anywheresoftware.b4a.objects.collections.Map(); +_params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("ubicacionRecibida"),(Object)("body"),(Object)(_coords),(Object)("t"),(Object)("u")}); +RDebugUtils.currentLine=92405765; + //BA.debugLineNum = 92405765;BA.debugLine="SendMessage(params)"; +_sendmessage(_params); +RDebugUtils.currentLine=92405766; + //BA.debugLineNum = 92405766;BA.debugLine="locRequest=\"Enviada\""; +_locrequest = "Enviada"; +RDebugUtils.currentLine=92405767; + //BA.debugLineNum = 92405767;BA.debugLine="CallSubDelayed(Tracker,\"CreateLocationRequest\")"; +anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"CreateLocationRequest"); + }; +RDebugUtils.currentLine=92405769; + //BA.debugLineNum = 92405769;BA.debugLine="End Sub"; +return ""; +} +public static String _pe_batterychanged(int _level,int _scale,boolean _plugged,anywheresoftware.b4a.objects.IntentWrapper _intent) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "pe_batterychanged", false)) + {return ((String) Debug.delegate(processBA, "pe_batterychanged", new Object[] {_level,_scale,_plugged,_intent}));} +RDebugUtils.currentLine=92602368; + //BA.debugLineNum = 92602368;BA.debugLine="Sub pe_BatteryChanged (Level As Int, Scale As Int,"; +RDebugUtils.currentLine=92602369; + //BA.debugLineNum = 92602369;BA.debugLine="B4XPages.MainPage.batt=Level"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ = _level; +RDebugUtils.currentLine=92602370; + //BA.debugLineNum = 92602370;BA.debugLine="End Sub"; return ""; } public static String _service_create() throws Exception{ - //BA.debugLineNum = 45;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 46;BA.debugLine="fm.Initialize(\"fm\") 'Inicializamos FirebaseMessag"; +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=92012544; + //BA.debugLineNum = 92012544;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=92012545; + //BA.debugLineNum = 92012545;BA.debugLine="fm.Initialize(\"fm\") 'Inicializamos FirebaseMessag"; _fm.Initialize(processBA,"fm"); - //BA.debugLineNum = 47;BA.debugLine="pe.Initialize(\"pe\") 'Para obtener la bateria"; +RDebugUtils.currentLine=92012546; + //BA.debugLineNum = 92012546;BA.debugLine="pe.Initialize(\"pe\") 'Para obtener la bateria"; _pe.Initialize(processBA,"pe"); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92012547; + //BA.debugLineNum = 92012547;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 121;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 123;BA.debugLine="End Sub"; +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=92274688; + //BA.debugLineNum = 92274688;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=92274690; + //BA.debugLineNum = 92274690;BA.debugLine="End Sub"; return ""; } public static void _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {Debug.delegate(processBA, "service_start", new Object[] {_startingintent}); return;} ResumableSub_Service_Start rsub = new ResumableSub_Service_Start(null,_startingintent); rsub.resume(processBA, null); } @@ -487,6 +623,7 @@ anywheresoftware.b4a.objects.IntentWrapper _startingintent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="firebasemessaging"; while (true) { switch (state) { @@ -496,7 +633,8 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 66;BA.debugLine="If StartingIntent.IsInitialized Then fm.HandleInt"; +RDebugUtils.currentLine=92143617; + //BA.debugLineNum = 92143617;BA.debugLine="If StartingIntent.IsInitialized Then fm.HandleInt"; if (true) break; case 1: @@ -516,19 +654,23 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 67;BA.debugLine="Sleep(0)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (0)); +RDebugUtils.currentLine=92143618; + //BA.debugLineNum = 92143618;BA.debugLine="Sleep(0)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "firebasemessaging", "service_start"),(int) (0)); this.state = 7; return; case 7: //C this.state = -1; ; - //BA.debugLineNum = 68;BA.debugLine="Service.StopAutomaticForeground 'remove if not us"; +RDebugUtils.currentLine=92143619; + //BA.debugLineNum = 92143619;BA.debugLine="Service.StopAutomaticForeground 'remove if not us"; parent.mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 69;BA.debugLine="StartServiceAt(Me, DateTime.Now + 15 * DateTime.T"; +RDebugUtils.currentLine=92143620; + //BA.debugLineNum = 92143620;BA.debugLine="StartServiceAt(Me, DateTime.Now + 15 * DateTime.T"; anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,firebasemessaging.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+15*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92143621; + //BA.debugLineNum = 92143621;BA.debugLine="End Sub"; if (true) break; } @@ -536,21 +678,32 @@ if (true) break; } } public static String _subscribetotopics() throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub SubscribeToTopics"; - //BA.debugLineNum = 52;BA.debugLine="fm.SubscribeToTopic(\"Trckr\") 'Tracker Global"; +RDebugUtils.currentModule="firebasemessaging"; +if (Debug.shouldDelegate(processBA, "subscribetotopics", false)) + {return ((String) Debug.delegate(processBA, "subscribetotopics", null));} +RDebugUtils.currentLine=92078080; + //BA.debugLineNum = 92078080;BA.debugLine="Public Sub SubscribeToTopics"; +RDebugUtils.currentLine=92078082; + //BA.debugLineNum = 92078082;BA.debugLine="fm.SubscribeToTopic(\"Trckr\") 'Tracker Global"; _fm.SubscribeToTopic("Trckr"); - //BA.debugLineNum = 54;BA.debugLine="fm.SubscribeToTopic(\"Trckr-Cedex\") 'Topico de Gun"; +RDebugUtils.currentLine=92078084; + //BA.debugLineNum = 92078084;BA.debugLine="fm.SubscribeToTopic(\"Trckr-Cedex\") 'Topico de Gun"; _fm.SubscribeToTopic("Trckr-Cedex"); - //BA.debugLineNum = 55;BA.debugLine="If \"Cdx_\"&B4XPages.MainPage.usuario <> Subscrito"; +RDebugUtils.currentLine=92078085; + //BA.debugLineNum = 92078085;BA.debugLine="If \"Cdx_\"&B4XPages.MainPage.usuario <> Subscrito"; if (("Cdx_"+mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._usuario /*String*/ ).equals(_subscrito) == false) { - //BA.debugLineNum = 56;BA.debugLine="fm.SubscribeToTopic(\"Cdx_\"&B4XPages.MainPage.usu"; +RDebugUtils.currentLine=92078086; + //BA.debugLineNum = 92078086;BA.debugLine="fm.SubscribeToTopic(\"Cdx_\"&B4XPages.MainPage.usu"; _fm.SubscribeToTopic("Cdx_"+mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._usuario /*String*/ ); - //BA.debugLineNum = 57;BA.debugLine="fm.UnsubscribeFromTopic(Subscrito) 'Unsubscribe"; +RDebugUtils.currentLine=92078087; + //BA.debugLineNum = 92078087;BA.debugLine="fm.UnsubscribeFromTopic(Subscrito) 'Unsubscribe"; _fm.UnsubscribeFromTopic(_subscrito); }; - //BA.debugLineNum = 60;BA.debugLine="Subscrito = \"Cdx_\"&B4XPages.MainPage.usuario"; +RDebugUtils.currentLine=92078090; + //BA.debugLineNum = 92078090;BA.debugLine="Subscrito = \"Cdx_\"&B4XPages.MainPage.usuario"; _subscrito = "Cdx_"+mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._usuario /*String*/ ; - //BA.debugLineNum = 63;BA.debugLine="End Sub"; +RDebugUtils.currentLine=92078093; + //BA.debugLineNum = 92078093;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/httpjob.java b/B4A/Objects/src/gunav2/keymon/com/mx/httpjob.java index 335c85a..e8984a5 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/httpjob.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/httpjob.java @@ -10,7 +10,7 @@ public class httpjob extends B4AClass.ImplB4AClass implements BA.SubDelegator{ private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.httpjob"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.httpjob"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,32 +23,13 @@ public class httpjob extends B4AClass.ImplB4AClass implements BA.SubDelegator{ ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; -public String _jobname = ""; -public boolean _success = false; -public String _username = ""; -public String _password = ""; -public String _errormessage = ""; -public Object _target = null; -public String _taskid = ""; -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _req = null; -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response = null; -public Object _tag = null; -public String _invalidurl = ""; -public String _defaultscheme = ""; -public b4a.example.dateutils _dateutils = null; -public gunav2.keymon.com.mx.main _main = null; -public gunav2.keymon.com.mx.starter _starter = null; -public gunav2.keymon.com.mx.subs _subs = null; -public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; -public gunav2.keymon.com.mx.newinst2 _newinst2 = null; -public gunav2.keymon.com.mx.b4xpages _b4xpages = null; -public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; -public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } public static class _multipartfiledata{ public boolean IsInitialized; public String Dir; @@ -66,377 +47,128 @@ ContentType = ""; public String toString() { return BA.TypeToString(this, false); }} -public String _addscheme(String _link) throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Private Sub AddScheme (Link As String) As String"; - //BA.debugLineNum = 53;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; -if ((_defaultscheme).equals("") || _link.contains(":")) { -if (true) return _link;}; - //BA.debugLineNum = 54;BA.debugLine="Return DefaultScheme & \"://\" & Link"; -if (true) return _defaultscheme+"://"+_link; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; +public anywheresoftware.b4a.keywords.Common __c = null; +public String _jobname = ""; +public boolean _success = false; +public String _username = ""; +public String _password = ""; +public String _errormessage = ""; +public Object _target = null; +public String _taskid = ""; +public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _req = null; +public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response = null; +public Object _tag = null; +public String _invalidurl = ""; +public String _defaultscheme = ""; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _release(gunav2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "release", true)) + {return ((String) Debug.delegate(ba, "release", null));} +RDebugUtils.currentLine=19988480; + //BA.debugLineNum = 19988480;BA.debugLine="Public Sub Release"; +RDebugUtils.currentLine=19988482; + //BA.debugLineNum = 19988482;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; +__c.File.Delete(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=19988484; + //BA.debugLineNum = 19988484;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Public JobName As String"; -_jobname = ""; - //BA.debugLineNum = 4;BA.debugLine="Public Success As Boolean"; -_success = false; - //BA.debugLineNum = 5;BA.debugLine="Public Username, Password As String"; -_username = ""; -_password = ""; - //BA.debugLineNum = 6;BA.debugLine="Public ErrorMessage As String"; -_errormessage = ""; - //BA.debugLineNum = 7;BA.debugLine="Private target As Object"; -_target = new Object(); - //BA.debugLineNum = 13;BA.debugLine="Private taskId As String"; -_taskid = ""; - //BA.debugLineNum = 15;BA.debugLine="Private req As OkHttpRequest"; -_req = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest(); - //BA.debugLineNum = 16;BA.debugLine="Public Response As OkHttpResponse"; -_response = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse(); - //BA.debugLineNum = 25;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 26;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; -; - //BA.debugLineNum = 30;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; -_invalidurl = "https://invalid-url/"; - //BA.debugLineNum = 31;BA.debugLine="Public DefaultScheme As String = \"https\""; -_defaultscheme = "https"; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +public String _getstring(gunav2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getstring", true)) + {return ((String) Debug.delegate(ba, "getstring", null));} +RDebugUtils.currentLine=20054016; + //BA.debugLineNum = 20054016;BA.debugLine="Public Sub GetString As String"; +RDebugUtils.currentLine=20054017; + //BA.debugLineNum = 20054017;BA.debugLine="Return GetString2(\"UTF8\")"; +if (true) return __ref._getstring2 /*String*/ (null,"UTF8"); +RDebugUtils.currentLine=20054018; + //BA.debugLineNum = 20054018;BA.debugLine="End Sub"; return ""; } -public String _complete(int _id) throws Exception{ - //BA.debugLineNum = 315;BA.debugLine="Public Sub Complete (id As Int)"; - //BA.debugLineNum = 316;BA.debugLine="taskId = id"; -_taskid = BA.NumberToString(_id); - //BA.debugLineNum = 317;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; -__c.CallSubDelayed2(ba,_target,"JobDone",this); - //BA.debugLineNum = 318;BA.debugLine="End Sub"; -return ""; -} -public String _delete(String _link) throws Exception{ - //BA.debugLineNum = 261;BA.debugLine="Public Sub Delete(Link As String)"; - //BA.debugLineNum = 262;BA.debugLine="Try"; -try { //BA.debugLineNum = 263;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 264;BA.debugLine="req.InitializeDelete(Link)"; -_req.InitializeDelete(_link); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913697029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)"; -_req.InitializeDelete(_invalidurl); - }; - //BA.debugLineNum = 269;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 270;BA.debugLine="End Sub"; -return ""; -} -public String _delete2(String _link,String[] _parameters) throws Exception{ - //BA.debugLineNum = 272;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; - //BA.debugLineNum = 273;BA.debugLine="Try"; -try { //BA.debugLineNum = 274;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 275;BA.debugLine="req.InitializeDelete(escapeLink(Link, Parameters"; -_req.InitializeDelete(_escapelink(_link,_parameters)); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913762565",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para"; -_req.InitializeDelete(_escapelink(_invalidurl,_parameters)); - }; - //BA.debugLineNum = 280;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 281;BA.debugLine="End Sub"; -return ""; -} -public String _download(String _link) throws Exception{ - //BA.debugLineNum = 219;BA.debugLine="Public Sub Download(Link As String)"; - //BA.debugLineNum = 220;BA.debugLine="Try"; -try { //BA.debugLineNum = 221;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 222;BA.debugLine="req.InitializeGet(Link)"; -_req.InitializeGet(_link); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913500421",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)"; -_req.InitializeGet(_invalidurl); - }; - //BA.debugLineNum = 227;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 228;BA.debugLine="End Sub"; -return ""; -} -public String _download2(String _link,String[] _parameters) throws Exception{ - //BA.debugLineNum = 235;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; - //BA.debugLineNum = 236;BA.debugLine="Try"; -try { //BA.debugLineNum = 237;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 238;BA.debugLine="req.InitializeGet(escapeLink(Link, Parameters))"; -_req.InitializeGet(_escapelink(_link,_parameters)); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913565957",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet"; -_req.InitializeGet(_escapelink(_invalidurl,_parameters)); - }; - //BA.debugLineNum = 243;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 244;BA.debugLine="End Sub"; -return ""; -} -public String _escapelink(String _link,String[] _parameters) throws Exception{ -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -anywheresoftware.b4a.objects.StringUtils _su = null; -int _i = 0; - //BA.debugLineNum = 246;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; - //BA.debugLineNum = 247;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 248;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 249;BA.debugLine="sb.Append(Link)"; -_sb.Append(_link); - //BA.debugLineNum = 250;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; -if (_parameters.length>0) { -_sb.Append("?");}; - //BA.debugLineNum = 251;BA.debugLine="Dim su As StringUtils"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 252;BA.debugLine="For i = 0 To Parameters.Length - 1 Step 2"; -{ -final int step6 = 2; -final int limit6 = (int) (_parameters.length-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 253;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; -if (_i>0) { -_sb.Append("&");}; - //BA.debugLineNum = 254;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; -_sb.Append(_su.EncodeUrl(_parameters[_i],"UTF8")).Append("="); - //BA.debugLineNum = 255;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; -_sb.Append(_su.EncodeUrl(_parameters[(int) (_i+1)],"UTF8")); - } -}; - //BA.debugLineNum = 257;BA.debugLine="Return sb.ToString"; -if (true) return _sb.ToString(); - //BA.debugLineNum = 258;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmap() throws Exception{ -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _b = null; - //BA.debugLineNum = 330;BA.debugLine="Public Sub GetBitmap As Bitmap"; - //BA.debugLineNum = 331;BA.debugLine="Dim b As Bitmap"; -_b = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 332;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; -_b = __c.LoadBitmap(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 333;BA.debugLine="Return b"; -if (true) return _b; - //BA.debugLineNum = 334;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapresize(int _width,int _height,boolean _keepaspectratio) throws Exception{ - //BA.debugLineNum = 341;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; - //BA.debugLineNum = 342;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; -if (true) return __c.LoadBitmapResize(_httputils2service._tempfolder /*String*/ ,_taskid,_width,_height,_keepaspectratio); - //BA.debugLineNum = 343;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapsample(int _width,int _height) throws Exception{ - //BA.debugLineNum = 337;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; - //BA.debugLineNum = 338;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; -if (true) return __c.LoadBitmapSample(_httputils2service._tempfolder /*String*/ ,_taskid,_width,_height); - //BA.debugLineNum = 339;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _getinputstream() throws Exception{ -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 347;BA.debugLine="Public Sub GetInputStream As InputStream"; - //BA.debugLineNum = 348;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 349;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; -_in = __c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 350;BA.debugLine="Return In"; -if (true) return _in; - //BA.debugLineNum = 351;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _getrequest() throws Exception{ - //BA.debugLineNum = 310;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; - //BA.debugLineNum = 311;BA.debugLine="Return req"; -if (true) return _req; - //BA.debugLineNum = 312;BA.debugLine="End Sub"; -return null; -} -public String _getstring() throws Exception{ - //BA.debugLineNum = 291;BA.debugLine="Public Sub GetString As String"; - //BA.debugLineNum = 292;BA.debugLine="Return GetString2(\"UTF8\")"; -if (true) return _getstring2("UTF8"); - //BA.debugLineNum = 293;BA.debugLine="End Sub"; -return ""; -} -public String _getstring2(String _encoding) throws Exception{ -anywheresoftware.b4a.objects.streams.File.TextReaderWrapper _tr = null; -String _res = ""; - //BA.debugLineNum = 296;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; - //BA.debugLineNum = 300;BA.debugLine="Dim tr As TextReader"; -_tr = new anywheresoftware.b4a.objects.streams.File.TextReaderWrapper(); - //BA.debugLineNum = 301;BA.debugLine="tr.Initialize2(File.OpenInput(HttpUtils2Service.T"; -_tr.Initialize2((java.io.InputStream)(__c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,_taskid).getObject()),_encoding); - //BA.debugLineNum = 302;BA.debugLine="Dim res As String = tr.ReadAll"; -_res = _tr.ReadAll(); - //BA.debugLineNum = 303;BA.debugLine="tr.Close"; -_tr.Close(); - //BA.debugLineNum = 304;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 306;BA.debugLine="End Sub"; -return ""; -} -public String _head(String _link) throws Exception{ - //BA.debugLineNum = 119;BA.debugLine="Public Sub Head(Link As String)"; - //BA.debugLineNum = 120;BA.debugLine="Try"; -try { //BA.debugLineNum = 121;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 122;BA.debugLine="req.InitializeHead(Link)"; -_req.InitializeHead(_link); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913238277",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)"; -_req.InitializeHead(_invalidurl); - }; - //BA.debugLineNum = 127;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,String _name,Object _targetmodule) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.httpjob __ref,anywheresoftware.b4a.BA _ba,String _name,Object _targetmodule) throws Exception{ +__ref = this; innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; - //BA.debugLineNum = 39;BA.debugLine="JobName = Name"; -_jobname = _name; - //BA.debugLineNum = 40;BA.debugLine="target = TargetModule"; -_target = _targetmodule; - //BA.debugLineNum = 42;BA.debugLine="If HttpUtils2Service.TempFolder = \"\" Then"; -if ((_httputils2service._tempfolder /*String*/ ).equals("")) { - //BA.debugLineNum = 43;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 44;BA.debugLine="jo.InitializeNewInstance(Application.PackageName"; -_jo.InitializeNewInstance(__c.Application.getPackageName()+".httputils2service",(Object[])(__c.Null)); - //BA.debugLineNum = 45;BA.debugLine="jo.RunMethod(\"onReceive\", Array(Null, Null))"; -_jo.RunMethod("onReceive",new Object[]{__c.Null,__c.Null}); - }; - //BA.debugLineNum = 48;BA.debugLine="End Sub"; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_name,_targetmodule}));} +RDebugUtils.currentLine=18874368; + //BA.debugLineNum = 18874368;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; +RDebugUtils.currentLine=18874369; + //BA.debugLineNum = 18874369;BA.debugLine="JobName = Name"; +__ref._jobname /*String*/ = _name; +RDebugUtils.currentLine=18874370; + //BA.debugLineNum = 18874370;BA.debugLine="target = TargetModule"; +__ref._target /*Object*/ = _targetmodule; +RDebugUtils.currentLine=18874378; + //BA.debugLineNum = 18874378;BA.debugLine="End Sub"; return ""; } -public boolean _multipartstartsection(anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream,boolean _empty) throws Exception{ - //BA.debugLineNum = 179;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; - //BA.debugLineNum = 180;BA.debugLine="If empty = False Then"; -if (_empty==__c.False) { - //BA.debugLineNum = 181;BA.debugLine="stream.WriteBytes(Array As Byte(13, 10), 0, 2)"; -_stream.WriteBytes(new byte[]{(byte) (13),(byte) (10)},(int) (0),(int) (2)); - }else { - //BA.debugLineNum = 183;BA.debugLine="empty = False"; -_empty = __c.False; - }; - //BA.debugLineNum = 185;BA.debugLine="Return empty"; -if (true) return _empty; - //BA.debugLineNum = 186;BA.debugLine="End Sub"; -return false; +public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _getrequest(gunav2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getrequest", true)) + {return ((anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest) Debug.delegate(ba, "getrequest", null));} +RDebugUtils.currentLine=20185088; + //BA.debugLineNum = 20185088;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; +RDebugUtils.currentLine=20185089; + //BA.debugLineNum = 20185089;BA.debugLine="Return req"; +if (true) return __ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ; +RDebugUtils.currentLine=20185090; + //BA.debugLineNum = 20185090;BA.debugLine="End Sub"; +return null; } -public String _patchbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; - //BA.debugLineNum = 98;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 106;BA.debugLine="Try"; -try { //BA.debugLineNum = 107;BA.debugLine="req.InitializePatch2(Link, Data)"; -_req.InitializePatch2(_link,_data); +public String _download(gunav2.keymon.com.mx.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "download", true)) + {return ((String) Debug.delegate(ba, "download", new Object[] {_link}));} +RDebugUtils.currentLine=19660800; + //BA.debugLineNum = 19660800;BA.debugLine="Public Sub Download(Link As String)"; +RDebugUtils.currentLine=19660801; + //BA.debugLineNum = 19660801;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19660802; + //BA.debugLineNum = 19660802;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19660803; + //BA.debugLineNum = 19660803;BA.debugLine="req.InitializeGet(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(_link); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913172748",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; -_req.InitializePatch2(_invalidurl,_data); + ba.setLastException(e5);RDebugUtils.currentLine=19660805; + //BA.debugLineNum = 19660805;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("919660805",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=19660806; + //BA.debugLineNum = 19660806;BA.debugLine="req.InitializeGet(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(__ref._invalidurl /*String*/ ); }; - //BA.debugLineNum = 114;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +RDebugUtils.currentLine=19660808; + //BA.debugLineNum = 19660808;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; __c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; +RDebugUtils.currentLine=19660809; + //BA.debugLineNum = 19660809;BA.debugLine="End Sub"; return ""; } -public String _patchstring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 92;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; - //BA.debugLineNum = 93;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; -_patchbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 94;BA.debugLine="End Sub"; -return ""; -} -public String _postbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; - //BA.debugLineNum = 64;BA.debugLine="Try"; -try { //BA.debugLineNum = 65;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 66;BA.debugLine="req.InitializePost2(Link, Data)"; -_req.InitializePost2(_link,_data); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("912910597",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; -_req.InitializePost2(_invalidurl,_data); - }; - //BA.debugLineNum = 71;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 72;BA.debugLine="End Sub"; -return ""; -} -public String _postfile(String _link,String _dir,String _filename) throws Exception{ -int _length = 0; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 190;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; - //BA.debugLineNum = 191;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 196;BA.debugLine="Dim length As Int"; -_length = 0; - //BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then"; -if ((_dir).equals(__c.File.getDirAssets())) { - //BA.debugLineNum = 198;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; -__c.LogImpl("913434888","Cannot send files from the assets folder.",0); - //BA.debugLineNum = 199;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 201;BA.debugLine="length = File.Size(Dir, FileName)"; -_length = (int) (__c.File.Size(_dir,_filename)); - //BA.debugLineNum = 202;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 203;BA.debugLine="In = File.OpenInput(Dir, FileName)"; -_in = __c.File.OpenInput(_dir,_filename); - //BA.debugLineNum = 204;BA.debugLine="If length < 1000000 Then '1mb"; -if (_length<1000000) { - //BA.debugLineNum = 207;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 208;BA.debugLine="out.InitializeToBytesArray(length)"; -_out.InitializeToBytesArray(_length); - //BA.debugLineNum = 209;BA.debugLine="File.Copy2(In, out)"; -__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 210;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; -_postbytes(_link,_out.ToBytesArray()); - }else { - //BA.debugLineNum = 212;BA.debugLine="req.InitializePost(Link, In, length)"; -_req.InitializePost(_link,(java.io.InputStream)(_in.getObject()),_length); - //BA.debugLineNum = 213;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - }; - //BA.debugLineNum = 216;BA.debugLine="End Sub"; -return ""; -} -public String _postmultipart(String _link,anywheresoftware.b4a.objects.collections.Map _namevalues,anywheresoftware.b4a.objects.collections.List _files) throws Exception{ +public String _postmultipart(gunav2.keymon.com.mx.httpjob __ref,String _link,anywheresoftware.b4a.objects.collections.Map _namevalues,anywheresoftware.b4a.objects.collections.List _files) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postmultipart", true)) + {return ((String) Debug.delegate(ba, "postmultipart", new Object[] {_link,_namevalues,_files}));} String _boundary = ""; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream = null; byte[] _b = null; @@ -447,23 +179,32 @@ String _value = ""; String _s = ""; gunav2.keymon.com.mx.httpjob._multipartfiledata _fd = null; anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 133;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; - //BA.debugLineNum = 134;BA.debugLine="Dim boundary As String = \"-----------------------"; +RDebugUtils.currentLine=19464192; + //BA.debugLineNum = 19464192;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; +RDebugUtils.currentLine=19464193; + //BA.debugLineNum = 19464193;BA.debugLine="Dim boundary As String = \"-----------------------"; _boundary = "---------------------------1461124740692"; - //BA.debugLineNum = 135;BA.debugLine="Dim stream As OutputStream"; +RDebugUtils.currentLine=19464194; + //BA.debugLineNum = 19464194;BA.debugLine="Dim stream As OutputStream"; _stream = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 136;BA.debugLine="stream.InitializeToBytesArray(0)"; +RDebugUtils.currentLine=19464195; + //BA.debugLineNum = 19464195;BA.debugLine="stream.InitializeToBytesArray(0)"; _stream.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 137;BA.debugLine="Dim b() As Byte"; +RDebugUtils.currentLine=19464196; + //BA.debugLineNum = 19464196;BA.debugLine="Dim b() As Byte"; _b = new byte[(int) (0)]; ; - //BA.debugLineNum = 138;BA.debugLine="Dim eol As String = Chr(13) & Chr(10)"; +RDebugUtils.currentLine=19464197; + //BA.debugLineNum = 19464197;BA.debugLine="Dim eol As String = Chr(13) & Chr(10)"; _eol = BA.ObjectToString(__c.Chr((int) (13)))+BA.ObjectToString(__c.Chr((int) (10))); - //BA.debugLineNum = 139;BA.debugLine="Dim empty As Boolean = True"; +RDebugUtils.currentLine=19464198; + //BA.debugLineNum = 19464198;BA.debugLine="Dim empty As Boolean = True"; _empty = __c.True; - //BA.debugLineNum = 140;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; +RDebugUtils.currentLine=19464199; + //BA.debugLineNum = 19464199;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; if (_namevalues!= null && _namevalues.IsInitialized()) { - //BA.debugLineNum = 141;BA.debugLine="For Each key As String In NameValues.Keys"; +RDebugUtils.currentLine=19464200; + //BA.debugLineNum = 19464200;BA.debugLine="For Each key As String In NameValues.Keys"; { final anywheresoftware.b4a.BA.IterableList group8 = _namevalues.Keys(); final int groupLen8 = group8.getSize() @@ -471,22 +212,29 @@ final int groupLen8 = group8.getSize() ; for (; index8 < groupLen8;index8++){ _key = BA.ObjectToString(group8.Get(index8)); - //BA.debugLineNum = 142;BA.debugLine="Dim value As String = NameValues.Get(key)"; +RDebugUtils.currentLine=19464201; + //BA.debugLineNum = 19464201;BA.debugLine="Dim value As String = NameValues.Get(key)"; _value = BA.ObjectToString(_namevalues.Get((Object)(_key))); - //BA.debugLineNum = 143;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 144;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; +RDebugUtils.currentLine=19464202; + //BA.debugLineNum = 19464202;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=19464203; + //BA.debugLineNum = 19464203;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; _s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"\n"+"Content-Disposition: form-data; name=\""+__c.SmartStringFormatter("",(Object)(_key))+"\"\n"+"\n"+""+__c.SmartStringFormatter("",(Object)(_value))+""); - //BA.debugLineNum = 149;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +RDebugUtils.currentLine=19464208; + //BA.debugLineNum = 19464208;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; _b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 150;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +RDebugUtils.currentLine=19464209; + //BA.debugLineNum = 19464209;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; _stream.WriteBytes(_b,(int) (0),_b.length); } }; }; - //BA.debugLineNum = 153;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; +RDebugUtils.currentLine=19464212; + //BA.debugLineNum = 19464212;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; if (_files!= null && _files.IsInitialized()) { - //BA.debugLineNum = 154;BA.debugLine="For Each fd As MultipartFileData In Files"; +RDebugUtils.currentLine=19464213; + //BA.debugLineNum = 19464213;BA.debugLine="For Each fd As MultipartFileData In Files"; { final anywheresoftware.b4a.BA.IterableList group17 = _files; final int groupLen17 = group17.getSize() @@ -494,81 +242,628 @@ final int groupLen17 = group17.getSize() ; for (; index17 < groupLen17;index17++){ _fd = (gunav2.keymon.com.mx.httpjob._multipartfiledata)(group17.Get(index17)); - //BA.debugLineNum = 155;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 156;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; +RDebugUtils.currentLine=19464214; + //BA.debugLineNum = 19464214;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=19464215; + //BA.debugLineNum = 19464215;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; _s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"\n"+"Content-Disposition: form-data; name=\""+__c.SmartStringFormatter("",(Object)(_fd.KeyName /*String*/ ))+"\"; filename=\""+__c.SmartStringFormatter("",(Object)(_fd.FileName /*String*/ ))+"\"\n"+"Content-Type: "+__c.SmartStringFormatter("",(Object)(_fd.ContentType /*String*/ ))+"\n"+"\n"+""); - //BA.debugLineNum = 162;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +RDebugUtils.currentLine=19464221; + //BA.debugLineNum = 19464221;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; _b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 163;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +RDebugUtils.currentLine=19464222; + //BA.debugLineNum = 19464222;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; _stream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 164;BA.debugLine="Dim in As InputStream = File.OpenInput(fd.Dir,"; +RDebugUtils.currentLine=19464223; + //BA.debugLineNum = 19464223;BA.debugLine="Dim in As InputStream = File.OpenInput(fd.Dir,"; _in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); _in = __c.File.OpenInput(_fd.Dir /*String*/ ,_fd.FileName /*String*/ ); - //BA.debugLineNum = 165;BA.debugLine="File.Copy2(in, stream)"; +RDebugUtils.currentLine=19464224; + //BA.debugLineNum = 19464224;BA.debugLine="File.Copy2(in, stream)"; __c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_stream.getObject())); } }; }; - //BA.debugLineNum = 168;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 169;BA.debugLine="s = _ $\"--${boundary}-- \"$"; +RDebugUtils.currentLine=19464227; + //BA.debugLineNum = 19464227;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=19464228; + //BA.debugLineNum = 19464228;BA.debugLine="s = _ $\"--${boundary}-- \"$"; _s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"--\n"+""); - //BA.debugLineNum = 172;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +RDebugUtils.currentLine=19464231; + //BA.debugLineNum = 19464231;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; _b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 173;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +RDebugUtils.currentLine=19464232; + //BA.debugLineNum = 19464232;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; _stream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 174;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; -_postbytes(_link,_stream.ToBytesArray()); - //BA.debugLineNum = 175;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; -_req.SetContentType("multipart/form-data; boundary="+_boundary); - //BA.debugLineNum = 176;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; -_req.SetContentEncoding("UTF8"); - //BA.debugLineNum = 177;BA.debugLine="End Sub"; +RDebugUtils.currentLine=19464233; + //BA.debugLineNum = 19464233;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; +__ref._postbytes /*String*/ (null,_link,_stream.ToBytesArray()); +RDebugUtils.currentLine=19464234; + //BA.debugLineNum = 19464234;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .SetContentType("multipart/form-data; boundary="+_boundary); +RDebugUtils.currentLine=19464235; + //BA.debugLineNum = 19464235;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .SetContentEncoding("UTF8"); +RDebugUtils.currentLine=19464236; + //BA.debugLineNum = 19464236;BA.debugLine="End Sub"; return ""; } -public String _poststring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 58;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; - //BA.debugLineNum = 59;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; -_postbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +public String _poststring(gunav2.keymon.com.mx.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "poststring", true)) + {return ((String) Debug.delegate(ba, "poststring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=19005440; + //BA.debugLineNum = 19005440;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; +RDebugUtils.currentLine=19005441; + //BA.debugLineNum = 19005441;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._postbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=19005442; + //BA.debugLineNum = 19005442;BA.debugLine="End Sub"; return ""; } -public String _putbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; - //BA.debugLineNum = 81;BA.debugLine="Try"; -try { //BA.debugLineNum = 82;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 83;BA.debugLine="req.InitializePut2(Link, Data)"; -_req.InitializePut2(_link,_data); +public anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _getinputstream(gunav2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getinputstream", true)) + {return ((anywheresoftware.b4a.objects.streams.File.InputStreamWrapper) Debug.delegate(ba, "getinputstream", null));} +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +RDebugUtils.currentLine=20512768; + //BA.debugLineNum = 20512768;BA.debugLine="Public Sub GetInputStream As InputStream"; +RDebugUtils.currentLine=20512769; + //BA.debugLineNum = 20512769;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=20512770; + //BA.debugLineNum = 20512770;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; +_in = __c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=20512771; + //BA.debugLineNum = 20512771;BA.debugLine="Return In"; +if (true) return _in; +RDebugUtils.currentLine=20512772; + //BA.debugLineNum = 20512772;BA.debugLine="End Sub"; +return null; +} +public String _postbytes(gunav2.keymon.com.mx.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postbytes", true)) + {return ((String) Debug.delegate(ba, "postbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=19070976; + //BA.debugLineNum = 19070976;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; +RDebugUtils.currentLine=19070977; + //BA.debugLineNum = 19070977;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19070978; + //BA.debugLineNum = 19070978;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19070979; + //BA.debugLineNum = 19070979;BA.debugLine="req.InitializePost2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost2(_link,_data); } catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913041669",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; -_req.InitializePut2(_invalidurl,_data); + ba.setLastException(e5);RDebugUtils.currentLine=19070981; + //BA.debugLineNum = 19070981;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("919070981",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=19070982; + //BA.debugLineNum = 19070982;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost2(__ref._invalidurl /*String*/ ,_data); }; - //BA.debugLineNum = 88;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +RDebugUtils.currentLine=19070984; + //BA.debugLineNum = 19070984;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; __c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; +RDebugUtils.currentLine=19070985; + //BA.debugLineNum = 19070985;BA.debugLine="End Sub"; return ""; } -public String _putstring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 75;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; - //BA.debugLineNum = 76;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; -_putbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 77;BA.debugLine="End Sub"; +public String _complete(gunav2.keymon.com.mx.httpjob __ref,int _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "complete", true)) + {return ((String) Debug.delegate(ba, "complete", new Object[] {_id}));} +RDebugUtils.currentLine=20250624; + //BA.debugLineNum = 20250624;BA.debugLine="Public Sub Complete (id As Int)"; +RDebugUtils.currentLine=20250625; + //BA.debugLineNum = 20250625;BA.debugLine="taskId = id"; +__ref._taskid /*String*/ = BA.NumberToString(_id); +RDebugUtils.currentLine=20250626; + //BA.debugLineNum = 20250626;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; +__c.CallSubDelayed2(ba,__ref._target /*Object*/ ,"JobDone",this); +RDebugUtils.currentLine=20250627; + //BA.debugLineNum = 20250627;BA.debugLine="End Sub"; return ""; } -public String _release() throws Exception{ - //BA.debugLineNum = 284;BA.debugLine="Public Sub Release"; - //BA.debugLineNum = 286;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; -__c.File.Delete(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 288;BA.debugLine="End Sub"; +public String _addscheme(gunav2.keymon.com.mx.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "addscheme", true)) + {return ((String) Debug.delegate(ba, "addscheme", new Object[] {_link}));} +RDebugUtils.currentLine=18939904; + //BA.debugLineNum = 18939904;BA.debugLine="Private Sub AddScheme (Link As String) As String"; +RDebugUtils.currentLine=18939905; + //BA.debugLineNum = 18939905;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; +if ((__ref._defaultscheme /*String*/ ).equals("") || _link.contains(":")) { +if (true) return _link;}; +RDebugUtils.currentLine=18939906; + //BA.debugLineNum = 18939906;BA.debugLine="Return DefaultScheme & \"://\" & Link"; +if (true) return __ref._defaultscheme /*String*/ +"://"+_link; +RDebugUtils.currentLine=18939907; + //BA.debugLineNum = 18939907;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _class_globals(gunav2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +RDebugUtils.currentLine=18808832; + //BA.debugLineNum = 18808832;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=18808833; + //BA.debugLineNum = 18808833;BA.debugLine="Public JobName As String"; +_jobname = ""; +RDebugUtils.currentLine=18808834; + //BA.debugLineNum = 18808834;BA.debugLine="Public Success As Boolean"; +_success = false; +RDebugUtils.currentLine=18808835; + //BA.debugLineNum = 18808835;BA.debugLine="Public Username, Password As String"; +_username = ""; +_password = ""; +RDebugUtils.currentLine=18808836; + //BA.debugLineNum = 18808836;BA.debugLine="Public ErrorMessage As String"; +_errormessage = ""; +RDebugUtils.currentLine=18808837; + //BA.debugLineNum = 18808837;BA.debugLine="Private target As Object"; +_target = new Object(); +RDebugUtils.currentLine=18808843; + //BA.debugLineNum = 18808843;BA.debugLine="Private taskId As String"; +_taskid = ""; +RDebugUtils.currentLine=18808845; + //BA.debugLineNum = 18808845;BA.debugLine="Private req As OkHttpRequest"; +_req = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest(); +RDebugUtils.currentLine=18808846; + //BA.debugLineNum = 18808846;BA.debugLine="Public Response As OkHttpResponse"; +_response = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse(); +RDebugUtils.currentLine=18808855; + //BA.debugLineNum = 18808855;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=18808856; + //BA.debugLineNum = 18808856;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; +; +RDebugUtils.currentLine=18808860; + //BA.debugLineNum = 18808860;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; +_invalidurl = "https://invalid-url/"; +RDebugUtils.currentLine=18808861; + //BA.debugLineNum = 18808861;BA.debugLine="Public DefaultScheme As String = \"https\""; +_defaultscheme = "https"; +RDebugUtils.currentLine=18808862; + //BA.debugLineNum = 18808862;BA.debugLine="End Sub"; +return ""; } +public String _delete(gunav2.keymon.com.mx.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "delete", true)) + {return ((String) Debug.delegate(ba, "delete", new Object[] {_link}));} +RDebugUtils.currentLine=19857408; + //BA.debugLineNum = 19857408;BA.debugLine="Public Sub Delete(Link As String)"; +RDebugUtils.currentLine=19857409; + //BA.debugLineNum = 19857409;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19857410; + //BA.debugLineNum = 19857410;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19857411; + //BA.debugLineNum = 19857411;BA.debugLine="req.InitializeDelete(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=19857413; + //BA.debugLineNum = 19857413;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("919857413",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=19857414; + //BA.debugLineNum = 19857414;BA.debugLine="req.InitializeDelete(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=19857416; + //BA.debugLineNum = 19857416;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=19857417; + //BA.debugLineNum = 19857417;BA.debugLine="End Sub"; +return ""; } +public String _delete2(gunav2.keymon.com.mx.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "delete2", true)) + {return ((String) Debug.delegate(ba, "delete2", new Object[] {_link,_parameters}));} +RDebugUtils.currentLine=19922944; + //BA.debugLineNum = 19922944;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; +RDebugUtils.currentLine=19922945; + //BA.debugLineNum = 19922945;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19922946; + //BA.debugLineNum = 19922946;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19922947; + //BA.debugLineNum = 19922947;BA.debugLine="req.InitializeDelete(escapeLink(Link, Parameters"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(__ref._escapelink /*String*/ (null,_link,_parameters)); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=19922949; + //BA.debugLineNum = 19922949;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("919922949",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=19922950; + //BA.debugLineNum = 19922950;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(__ref._escapelink /*String*/ (null,__ref._invalidurl /*String*/ ,_parameters)); + }; +RDebugUtils.currentLine=19922952; + //BA.debugLineNum = 19922952;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=19922953; + //BA.debugLineNum = 19922953;BA.debugLine="End Sub"; +return ""; +} +public String _escapelink(gunav2.keymon.com.mx.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "escapelink", true)) + {return ((String) Debug.delegate(ba, "escapelink", new Object[] {_link,_parameters}));} +anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +anywheresoftware.b4a.objects.StringUtils _su = null; +int _i = 0; +RDebugUtils.currentLine=19791872; + //BA.debugLineNum = 19791872;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; +RDebugUtils.currentLine=19791873; + //BA.debugLineNum = 19791873;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=19791874; + //BA.debugLineNum = 19791874;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=19791875; + //BA.debugLineNum = 19791875;BA.debugLine="sb.Append(Link)"; +_sb.Append(_link); +RDebugUtils.currentLine=19791876; + //BA.debugLineNum = 19791876;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; +if (_parameters.length>0) { +_sb.Append("?");}; +RDebugUtils.currentLine=19791877; + //BA.debugLineNum = 19791877;BA.debugLine="Dim su As StringUtils"; +_su = new anywheresoftware.b4a.objects.StringUtils(); +RDebugUtils.currentLine=19791878; + //BA.debugLineNum = 19791878;BA.debugLine="For i = 0 To Parameters.Length - 1 Step 2"; +{ +final int step6 = 2; +final int limit6 = (int) (_parameters.length-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=19791879; + //BA.debugLineNum = 19791879;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; +if (_i>0) { +_sb.Append("&");}; +RDebugUtils.currentLine=19791880; + //BA.debugLineNum = 19791880;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; +_sb.Append(_su.EncodeUrl(_parameters[_i],"UTF8")).Append("="); +RDebugUtils.currentLine=19791881; + //BA.debugLineNum = 19791881;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; +_sb.Append(_su.EncodeUrl(_parameters[(int) (_i+1)],"UTF8")); + } +}; +RDebugUtils.currentLine=19791883; + //BA.debugLineNum = 19791883;BA.debugLine="Return sb.ToString"; +if (true) return _sb.ToString(); +RDebugUtils.currentLine=19791884; + //BA.debugLineNum = 19791884;BA.debugLine="End Sub"; +return ""; +} +public String _download2(gunav2.keymon.com.mx.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "download2", true)) + {return ((String) Debug.delegate(ba, "download2", new Object[] {_link,_parameters}));} +RDebugUtils.currentLine=19726336; + //BA.debugLineNum = 19726336;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; +RDebugUtils.currentLine=19726337; + //BA.debugLineNum = 19726337;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19726338; + //BA.debugLineNum = 19726338;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19726339; + //BA.debugLineNum = 19726339;BA.debugLine="req.InitializeGet(escapeLink(Link, Parameters))"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(__ref._escapelink /*String*/ (null,_link,_parameters)); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=19726341; + //BA.debugLineNum = 19726341;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("919726341",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=19726342; + //BA.debugLineNum = 19726342;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(__ref._escapelink /*String*/ (null,__ref._invalidurl /*String*/ ,_parameters)); + }; +RDebugUtils.currentLine=19726344; + //BA.debugLineNum = 19726344;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=19726345; + //BA.debugLineNum = 19726345;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmap(gunav2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmap", null));} +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _b = null; +RDebugUtils.currentLine=20316160; + //BA.debugLineNum = 20316160;BA.debugLine="Public Sub GetBitmap As Bitmap"; +RDebugUtils.currentLine=20316161; + //BA.debugLineNum = 20316161;BA.debugLine="Dim b As Bitmap"; +_b = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=20316162; + //BA.debugLineNum = 20316162;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; +_b = __c.LoadBitmap(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=20316163; + //BA.debugLineNum = 20316163;BA.debugLine="Return b"; +if (true) return _b; +RDebugUtils.currentLine=20316164; + //BA.debugLineNum = 20316164;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapresize(gunav2.keymon.com.mx.httpjob __ref,int _width,int _height,boolean _keepaspectratio) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmapresize", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmapresize", new Object[] {_width,_height,_keepaspectratio}));} +RDebugUtils.currentLine=20447232; + //BA.debugLineNum = 20447232;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; +RDebugUtils.currentLine=20447233; + //BA.debugLineNum = 20447233;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; +if (true) return __c.LoadBitmapResize(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ,_width,_height,_keepaspectratio); +RDebugUtils.currentLine=20447234; + //BA.debugLineNum = 20447234;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapsample(gunav2.keymon.com.mx.httpjob __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmapsample", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmapsample", new Object[] {_width,_height}));} +RDebugUtils.currentLine=20381696; + //BA.debugLineNum = 20381696;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; +RDebugUtils.currentLine=20381697; + //BA.debugLineNum = 20381697;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; +if (true) return __c.LoadBitmapSample(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ,_width,_height); +RDebugUtils.currentLine=20381698; + //BA.debugLineNum = 20381698;BA.debugLine="End Sub"; +return null; +} +public String _getstring2(gunav2.keymon.com.mx.httpjob __ref,String _encoding) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getstring2", true)) + {return ((String) Debug.delegate(ba, "getstring2", new Object[] {_encoding}));} +anywheresoftware.b4a.objects.streams.File.TextReaderWrapper _tr = null; +String _res = ""; +RDebugUtils.currentLine=20119552; + //BA.debugLineNum = 20119552;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; +RDebugUtils.currentLine=20119556; + //BA.debugLineNum = 20119556;BA.debugLine="Dim tr As TextReader"; +_tr = new anywheresoftware.b4a.objects.streams.File.TextReaderWrapper(); +RDebugUtils.currentLine=20119557; + //BA.debugLineNum = 20119557;BA.debugLine="tr.Initialize2(File.OpenInput(HttpUtils2Service.T"; +_tr.Initialize2((java.io.InputStream)(__c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ).getObject()),_encoding); +RDebugUtils.currentLine=20119558; + //BA.debugLineNum = 20119558;BA.debugLine="Dim res As String = tr.ReadAll"; +_res = _tr.ReadAll(); +RDebugUtils.currentLine=20119559; + //BA.debugLineNum = 20119559;BA.debugLine="tr.Close"; +_tr.Close(); +RDebugUtils.currentLine=20119560; + //BA.debugLineNum = 20119560;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=20119562; + //BA.debugLineNum = 20119562;BA.debugLine="End Sub"; +return ""; +} +public String _head(gunav2.keymon.com.mx.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "head", true)) + {return ((String) Debug.delegate(ba, "head", new Object[] {_link}));} +RDebugUtils.currentLine=19398656; + //BA.debugLineNum = 19398656;BA.debugLine="Public Sub Head(Link As String)"; +RDebugUtils.currentLine=19398657; + //BA.debugLineNum = 19398657;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19398658; + //BA.debugLineNum = 19398658;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19398659; + //BA.debugLineNum = 19398659;BA.debugLine="req.InitializeHead(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeHead(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=19398661; + //BA.debugLineNum = 19398661;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("919398661",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=19398662; + //BA.debugLineNum = 19398662;BA.debugLine="req.InitializeHead(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeHead(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=19398664; + //BA.debugLineNum = 19398664;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=19398665; + //BA.debugLineNum = 19398665;BA.debugLine="End Sub"; +return ""; +} +public boolean _multipartstartsection(gunav2.keymon.com.mx.httpjob __ref,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream,boolean _empty) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "multipartstartsection", true)) + {return ((Boolean) Debug.delegate(ba, "multipartstartsection", new Object[] {_stream,_empty}));} +RDebugUtils.currentLine=19529728; + //BA.debugLineNum = 19529728;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; +RDebugUtils.currentLine=19529729; + //BA.debugLineNum = 19529729;BA.debugLine="If empty = False Then"; +if (_empty==__c.False) { +RDebugUtils.currentLine=19529730; + //BA.debugLineNum = 19529730;BA.debugLine="stream.WriteBytes(Array As Byte(13, 10), 0, 2)"; +_stream.WriteBytes(new byte[]{(byte) (13),(byte) (10)},(int) (0),(int) (2)); + }else { +RDebugUtils.currentLine=19529732; + //BA.debugLineNum = 19529732;BA.debugLine="empty = False"; +_empty = __c.False; + }; +RDebugUtils.currentLine=19529734; + //BA.debugLineNum = 19529734;BA.debugLine="Return empty"; +if (true) return _empty; +RDebugUtils.currentLine=19529735; + //BA.debugLineNum = 19529735;BA.debugLine="End Sub"; +return false; +} +public String _patchbytes(gunav2.keymon.com.mx.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "patchbytes", true)) + {return ((String) Debug.delegate(ba, "patchbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=19333120; + //BA.debugLineNum = 19333120;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; +RDebugUtils.currentLine=19333121; + //BA.debugLineNum = 19333121;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19333129; + //BA.debugLineNum = 19333129;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19333130; + //BA.debugLineNum = 19333130;BA.debugLine="req.InitializePatch2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePatch2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=19333132; + //BA.debugLineNum = 19333132;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("919333132",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=19333133; + //BA.debugLineNum = 19333133;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePatch2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=19333137; + //BA.debugLineNum = 19333137;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=19333138; + //BA.debugLineNum = 19333138;BA.debugLine="End Sub"; +return ""; +} +public String _patchstring(gunav2.keymon.com.mx.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "patchstring", true)) + {return ((String) Debug.delegate(ba, "patchstring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=19267584; + //BA.debugLineNum = 19267584;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; +RDebugUtils.currentLine=19267585; + //BA.debugLineNum = 19267585;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._patchbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=19267586; + //BA.debugLineNum = 19267586;BA.debugLine="End Sub"; +return ""; +} +public String _postfile(gunav2.keymon.com.mx.httpjob __ref,String _link,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postfile", true)) + {return ((String) Debug.delegate(ba, "postfile", new Object[] {_link,_dir,_filename}));} +int _length = 0; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=19595264; + //BA.debugLineNum = 19595264;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; +RDebugUtils.currentLine=19595265; + //BA.debugLineNum = 19595265;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19595270; + //BA.debugLineNum = 19595270;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=19595271; + //BA.debugLineNum = 19595271;BA.debugLine="If Dir = File.DirAssets Then"; +if ((_dir).equals(__c.File.getDirAssets())) { +RDebugUtils.currentLine=19595272; + //BA.debugLineNum = 19595272;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; +__c.LogImpl("919595272","Cannot send files from the assets folder.",0); +RDebugUtils.currentLine=19595273; + //BA.debugLineNum = 19595273;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=19595275; + //BA.debugLineNum = 19595275;BA.debugLine="length = File.Size(Dir, FileName)"; +_length = (int) (__c.File.Size(_dir,_filename)); +RDebugUtils.currentLine=19595276; + //BA.debugLineNum = 19595276;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=19595277; + //BA.debugLineNum = 19595277;BA.debugLine="In = File.OpenInput(Dir, FileName)"; +_in = __c.File.OpenInput(_dir,_filename); +RDebugUtils.currentLine=19595278; + //BA.debugLineNum = 19595278;BA.debugLine="If length < 1000000 Then '1mb"; +if (_length<1000000) { +RDebugUtils.currentLine=19595281; + //BA.debugLineNum = 19595281;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=19595282; + //BA.debugLineNum = 19595282;BA.debugLine="out.InitializeToBytesArray(length)"; +_out.InitializeToBytesArray(_length); +RDebugUtils.currentLine=19595283; + //BA.debugLineNum = 19595283;BA.debugLine="File.Copy2(In, out)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=19595284; + //BA.debugLineNum = 19595284;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; +__ref._postbytes /*String*/ (null,_link,_out.ToBytesArray()); + }else { +RDebugUtils.currentLine=19595286; + //BA.debugLineNum = 19595286;BA.debugLine="req.InitializePost(Link, In, length)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost(_link,(java.io.InputStream)(_in.getObject()),_length); +RDebugUtils.currentLine=19595287; + //BA.debugLineNum = 19595287;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); + }; +RDebugUtils.currentLine=19595290; + //BA.debugLineNum = 19595290;BA.debugLine="End Sub"; +return ""; +} +public String _putbytes(gunav2.keymon.com.mx.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "putbytes", true)) + {return ((String) Debug.delegate(ba, "putbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=19202048; + //BA.debugLineNum = 19202048;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; +RDebugUtils.currentLine=19202049; + //BA.debugLineNum = 19202049;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19202050; + //BA.debugLineNum = 19202050;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=19202051; + //BA.debugLineNum = 19202051;BA.debugLine="req.InitializePut2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePut2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=19202053; + //BA.debugLineNum = 19202053;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("919202053",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=19202054; + //BA.debugLineNum = 19202054;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePut2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=19202056; + //BA.debugLineNum = 19202056;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=19202057; + //BA.debugLineNum = 19202057;BA.debugLine="End Sub"; +return ""; +} +public String _putstring(gunav2.keymon.com.mx.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "putstring", true)) + {return ((String) Debug.delegate(ba, "putstring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=19136512; + //BA.debugLineNum = 19136512;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; +RDebugUtils.currentLine=19136513; + //BA.debugLineNum = 19136513;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._putbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=19136514; + //BA.debugLineNum = 19136514;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/httputils2service.java b/B4A/Objects/src/gunav2/keymon/com/mx/httputils2service.java index 48e2de6..cb70e77 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/httputils2service.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/httputils2service.java @@ -20,7 +20,7 @@ public class httputils2service extends android.content.BroadcastReceiver{ if (processBA == null) { - processBA = new BA(context, null, null, anywheresoftware.b4a.BA.SharedProcessBA.ModuleType.RECEIVER, "gunav2.keymon.com.mx.httputils2service"); + processBA = new anywheresoftware.b4a.ShellBA(context, null, null, anywheresoftware.b4a.BA.SharedProcessBA.ModuleType.RECEIVER, "gunav2.keymon.com.mx.httputils2service"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -43,6 +43,7 @@ public class httputils2service extends android.content.BroadcastReceiver{ firstTime = false; } + public anywheresoftware.b4a.keywords.Common __c = null; public static anywheresoftware.b4h.okhttp.OkHttpClientWrapper _hc = null; public static anywheresoftware.b4a.objects.collections.Map _taskidtojob = null; @@ -53,183 +54,262 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; public static String _completejob(int _taskid,boolean _success,String _errormessage) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "completejob", false)) + {return ((String) Debug.delegate(processBA, "completejob", new Object[] {_taskid,_success,_errormessage}));} gunav2.keymon.com.mx.httpjob _job = null; - //BA.debugLineNum = 152;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; - //BA.debugLineNum = 156;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +RDebugUtils.currentLine=18743296; + //BA.debugLineNum = 18743296;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; +RDebugUtils.currentLine=18743300; + //BA.debugLineNum = 18743300;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; _job = (gunav2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 157;BA.debugLine="If job = Null Then"; +RDebugUtils.currentLine=18743301; + //BA.debugLineNum = 18743301;BA.debugLine="If job = Null Then"; if (_job== null) { - //BA.debugLineNum = 158;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; -anywheresoftware.b4a.keywords.Common.LogImpl("412582918","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 159;BA.debugLine="Return"; +RDebugUtils.currentLine=18743302; + //BA.debugLineNum = 18743302;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; +anywheresoftware.b4a.keywords.Common.LogImpl("018743302","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=18743303; + //BA.debugLineNum = 18743303;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 161;BA.debugLine="TaskIdToJob.Remove(TaskId)"; +RDebugUtils.currentLine=18743305; + //BA.debugLineNum = 18743305;BA.debugLine="TaskIdToJob.Remove(TaskId)"; _taskidtojob.Remove((Object)(_taskid)); - //BA.debugLineNum = 162;BA.debugLine="job.success = success"; +RDebugUtils.currentLine=18743306; + //BA.debugLineNum = 18743306;BA.debugLine="job.success = success"; _job._success /*boolean*/ = _success; - //BA.debugLineNum = 163;BA.debugLine="job.errorMessage = errorMessage"; +RDebugUtils.currentLine=18743307; + //BA.debugLineNum = 18743307;BA.debugLine="job.errorMessage = errorMessage"; _job._errormessage /*String*/ = _errormessage; - //BA.debugLineNum = 165;BA.debugLine="job.Complete(TaskId)"; -_job._complete /*String*/ (_taskid); - //BA.debugLineNum = 169;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18743309; + //BA.debugLineNum = 18743309;BA.debugLine="job.Complete(TaskId)"; +_job._complete /*String*/ (null,_taskid); +RDebugUtils.currentLine=18743313; + //BA.debugLineNum = 18743313;BA.debugLine="End Sub"; return ""; } public static String _hc_responseerror(anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response,String _reason,int _statuscode,int _taskid) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "hc_responseerror", false)) + {return ((String) Debug.delegate(processBA, "hc_responseerror", new Object[] {_response,_reason,_statuscode,_taskid}));} gunav2.keymon.com.mx.httpjob _job = null; - //BA.debugLineNum = 115;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; - //BA.debugLineNum = 117;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; -anywheresoftware.b4a.keywords.Common.LogImpl("412517378",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); - //BA.debugLineNum = 119;BA.debugLine="Response.Release"; +RDebugUtils.currentLine=18677760; + //BA.debugLineNum = 18677760;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; +RDebugUtils.currentLine=18677762; + //BA.debugLineNum = 18677762;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; +anywheresoftware.b4a.keywords.Common.LogImpl("018677762",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); +RDebugUtils.currentLine=18677764; + //BA.debugLineNum = 18677764;BA.debugLine="Response.Release"; _response.Release(); - //BA.debugLineNum = 120;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +RDebugUtils.currentLine=18677765; + //BA.debugLineNum = 18677765;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; _job = (gunav2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 121;BA.debugLine="If job = Null Then"; +RDebugUtils.currentLine=18677766; + //BA.debugLineNum = 18677766;BA.debugLine="If job = Null Then"; if (_job== null) { - //BA.debugLineNum = 122;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c"; -anywheresoftware.b4a.keywords.Common.LogImpl("412517383","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 123;BA.debugLine="Return"; +RDebugUtils.currentLine=18677767; + //BA.debugLineNum = 18677767;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c"; +anywheresoftware.b4a.keywords.Common.LogImpl("018677767","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=18677768; + //BA.debugLineNum = 18677768;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 125;BA.debugLine="job.Response = Response"; +RDebugUtils.currentLine=18677770; + //BA.debugLineNum = 18677770;BA.debugLine="job.Response = Response"; _job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; - //BA.debugLineNum = 126;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; +RDebugUtils.currentLine=18677771; + //BA.debugLineNum = 18677771;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; if ((_response.getErrorResponse()).equals("") == false) { - //BA.debugLineNum = 127;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; +RDebugUtils.currentLine=18677772; + //BA.debugLineNum = 18677772;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; _completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_response.getErrorResponse()); }else { - //BA.debugLineNum = 129;BA.debugLine="CompleteJob(TaskId, False, Reason)"; +RDebugUtils.currentLine=18677774; + //BA.debugLineNum = 18677774;BA.debugLine="CompleteJob(TaskId, False, Reason)"; _completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_reason); }; - //BA.debugLineNum = 131;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18677776; + //BA.debugLineNum = 18677776;BA.debugLine="End Sub"; return ""; } public static String _hc_responsesuccess(anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response,int _taskid) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "hc_responsesuccess", false)) + {return ((String) Debug.delegate(processBA, "hc_responsesuccess", new Object[] {_response,_taskid}));} gunav2.keymon.com.mx.httpjob _job = null; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 92;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; - //BA.debugLineNum = 93;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +RDebugUtils.currentLine=18546688; + //BA.debugLineNum = 18546688;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; +RDebugUtils.currentLine=18546689; + //BA.debugLineNum = 18546689;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; _job = (gunav2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 94;BA.debugLine="If job = Null Then"; +RDebugUtils.currentLine=18546690; + //BA.debugLineNum = 18546690;BA.debugLine="If job = Null Then"; if (_job== null) { - //BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; -anywheresoftware.b4a.keywords.Common.LogImpl("412386307","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 96;BA.debugLine="Return"; +RDebugUtils.currentLine=18546691; + //BA.debugLineNum = 18546691;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; +anywheresoftware.b4a.keywords.Common.LogImpl("018546691","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=18546692; + //BA.debugLineNum = 18546692;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 98;BA.debugLine="job.Response = Response"; +RDebugUtils.currentLine=18546694; + //BA.debugLineNum = 18546694;BA.debugLine="job.Response = Response"; _job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; - //BA.debugLineNum = 99;BA.debugLine="Dim out As OutputStream = File.OpenOutput(TempFol"; +RDebugUtils.currentLine=18546695; + //BA.debugLineNum = 18546695;BA.debugLine="Dim out As OutputStream = File.OpenOutput(TempFol"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(_tempfolder,BA.NumberToString(_taskid),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 103;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; +RDebugUtils.currentLine=18546699; + //BA.debugLineNum = 18546699;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; _response.GetAsynchronously(processBA,"response",(java.io.OutputStream)(_out.getObject()),anywheresoftware.b4a.keywords.Common.True,_taskid); - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 12;BA.debugLine="Private hc As OkHttpClient"; -_hc = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private TaskIdToJob As Map"; -_taskidtojob = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 19;BA.debugLine="Public TempFolder As String"; -_tempfolder = ""; - //BA.debugLineNum = 23;BA.debugLine="Private taskCounter As Int"; -_taskcounter = 0; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18546701; + //BA.debugLineNum = 18546701;BA.debugLine="End Sub"; return ""; } public static String _receiver_receive(boolean _firsttime,anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 58;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; - //BA.debugLineNum = 59;BA.debugLine="If FirstTime Then"; +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "receiver_receive", false)) + {return ((String) Debug.delegate(processBA, "receiver_receive", new Object[] {_firsttime,_startingintent}));} +RDebugUtils.currentLine=18284544; + //BA.debugLineNum = 18284544;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; +RDebugUtils.currentLine=18284545; + //BA.debugLineNum = 18284545;BA.debugLine="If FirstTime Then"; if (_firsttime) { - //BA.debugLineNum = 60;BA.debugLine="Service_Create"; +RDebugUtils.currentLine=18284546; + //BA.debugLineNum = 18284546;BA.debugLine="Service_Create"; _service_create(); }; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return ""; -} -public static String _response_streamfinish(boolean _success,int _taskid) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; - //BA.debugLineNum = 108;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 109;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; -_completejob(_taskid,_success,""); - }else { - //BA.debugLineNum = 111;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; -_completejob(_taskid,_success,anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage()); - }; - //BA.debugLineNum = 113;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18284548; + //BA.debugLineNum = 18284548;BA.debugLine="End Sub"; return ""; } public static String _service_create() throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 29;BA.debugLine="TempFolder = File.DirInternalCache"; +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=18219008; + //BA.debugLineNum = 18219008;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=18219010; + //BA.debugLineNum = 18219010;BA.debugLine="TempFolder = File.DirInternalCache"; _tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternalCache(); - //BA.debugLineNum = 30;BA.debugLine="Try"; -try { //BA.debugLineNum = 31;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; +RDebugUtils.currentLine=18219011; + //BA.debugLineNum = 18219011;BA.debugLine="Try"; +try {RDebugUtils.currentLine=18219012; + //BA.debugLineNum = 18219012;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; anywheresoftware.b4a.keywords.Common.File.WriteString(_tempfolder,"~test.test","test"); - //BA.debugLineNum = 32;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; +RDebugUtils.currentLine=18219013; + //BA.debugLineNum = 18219013;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; anywheresoftware.b4a.keywords.Common.File.Delete(_tempfolder,"~test.test"); } catch (Exception e6) { - processBA.setLastException(e6); //BA.debugLineNum = 34;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("412058631",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); - //BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("412058632","Switching to File.DirInternal",0); - //BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal"; + processBA.setLastException(e6);RDebugUtils.currentLine=18219015; + //BA.debugLineNum = 18219015;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("018219015",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); +RDebugUtils.currentLine=18219016; + //BA.debugLineNum = 18219016;BA.debugLine="Log(\"Switching to File.DirInternal\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("018219016","Switching to File.DirInternal",0); +RDebugUtils.currentLine=18219017; + //BA.debugLineNum = 18219017;BA.debugLine="TempFolder = File.DirInternal"; _tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); }; - //BA.debugLineNum = 41;BA.debugLine="If hc.IsInitialized = False Then"; +RDebugUtils.currentLine=18219022; + //BA.debugLineNum = 18219022;BA.debugLine="If hc.IsInitialized = False Then"; if (_hc.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 46;BA.debugLine="hc.Initialize(\"hc\")"; +RDebugUtils.currentLine=18219027; + //BA.debugLineNum = 18219027;BA.debugLine="hc.Initialize(\"hc\")"; _hc.Initialize("hc"); }; - //BA.debugLineNum = 54;BA.debugLine="TaskIdToJob.Initialize"; +RDebugUtils.currentLine=18219035; + //BA.debugLineNum = 18219035;BA.debugLine="TaskIdToJob.Initialize"; _taskidtojob.Initialize(); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18219037; + //BA.debugLineNum = 18219037;BA.debugLine="End Sub"; +return ""; +} +public static String _response_streamfinish(boolean _success,int _taskid) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "response_streamfinish", false)) + {return ((String) Debug.delegate(processBA, "response_streamfinish", new Object[] {_success,_taskid}));} +RDebugUtils.currentLine=18612224; + //BA.debugLineNum = 18612224;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; +RDebugUtils.currentLine=18612225; + //BA.debugLineNum = 18612225;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=18612226; + //BA.debugLineNum = 18612226;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; +_completejob(_taskid,_success,""); + }else { +RDebugUtils.currentLine=18612228; + //BA.debugLineNum = 18612228;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; +_completejob(_taskid,_success,anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage()); + }; +RDebugUtils.currentLine=18612230; + //BA.debugLineNum = 18612230;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 68;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 70;BA.debugLine="End Sub"; +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=18415616; + //BA.debugLineNum = 18415616;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=18415618; + //BA.debugLineNum = 18415618;BA.debugLine="End Sub"; return ""; } public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 64;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=18350080; + //BA.debugLineNum = 18350080;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=18350082; + //BA.debugLineNum = 18350082;BA.debugLine="End Sub"; return ""; } public static String _submitjob(gunav2.keymon.com.mx.httpjob _job) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "submitjob", false)) + {return ((String) Debug.delegate(processBA, "submitjob", new Object[] {_job}));} int _taskid = 0; - //BA.debugLineNum = 74;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; - //BA.debugLineNum = 75;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; +RDebugUtils.currentLine=18481152; + //BA.debugLineNum = 18481152;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; +RDebugUtils.currentLine=18481153; + //BA.debugLineNum = 18481153;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; if (_taskidtojob.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { _service_create();}; - //BA.debugLineNum = 79;BA.debugLine="taskCounter = taskCounter + 1"; +RDebugUtils.currentLine=18481157; + //BA.debugLineNum = 18481157;BA.debugLine="taskCounter = taskCounter + 1"; _taskcounter = (int) (_taskcounter+1); - //BA.debugLineNum = 80;BA.debugLine="Dim TaskId As Int = taskCounter"; +RDebugUtils.currentLine=18481158; + //BA.debugLineNum = 18481158;BA.debugLine="Dim TaskId As Int = taskCounter"; _taskid = _taskcounter; - //BA.debugLineNum = 82;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; +RDebugUtils.currentLine=18481160; + //BA.debugLineNum = 18481160;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; _taskidtojob.Put((Object)(_taskid),(Object)(_job)); - //BA.debugLineNum = 83;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; +RDebugUtils.currentLine=18481161; + //BA.debugLineNum = 18481161;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; if ((_job._username /*String*/ ).equals("") == false && (_job._password /*String*/ ).equals("") == false) { - //BA.debugLineNum = 84;BA.debugLine="hc.ExecuteCredentials(job.GetRequest, TaskId, jo"; -_hc.ExecuteCredentials(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (),_taskid,_job._username /*String*/ ,_job._password /*String*/ ); +RDebugUtils.currentLine=18481162; + //BA.debugLineNum = 18481162;BA.debugLine="hc.ExecuteCredentials(job.GetRequest, TaskId, jo"; +_hc.ExecuteCredentials(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null),_taskid,_job._username /*String*/ ,_job._password /*String*/ ); }else { - //BA.debugLineNum = 86;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; -_hc.Execute(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (),_taskid); +RDebugUtils.currentLine=18481164; + //BA.debugLineNum = 18481164;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; +_hc.Execute(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null),_taskid); }; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; +RDebugUtils.currentLine=18481166; + //BA.debugLineNum = 18481166;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/madewithlove.java b/B4A/Objects/src/gunav2/keymon/com/mx/madewithlove.java index e4dbd8a..cb82e0d 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/madewithlove.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/madewithlove.java @@ -10,7 +10,7 @@ public class madewithlove extends B4AClass.ImplB4AClass implements BA.SubDelegat private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.madewithlove"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.madewithlove"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class madewithlove extends B4AClass.ImplB4AClass implements BA.SubDelegat ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -34,74 +41,109 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 47;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Wid"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; +public String _base_resize(gunav2.keymon.com.mx.madewithlove __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=39256064; + //BA.debugLineNum = 39256064;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=39256065; + //BA.debugLineNum = 39256065;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Wid"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=39256066; + //BA.debugLineNum = 39256066;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mEventName As String 'ignore"; +public String _class_globals(gunav2.keymon.com.mx.madewithlove __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +RDebugUtils.currentLine=39059456; + //BA.debugLineNum = 39059456;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=39059457; + //BA.debugLineNum = 39059457;BA.debugLine="Private mEventName As String 'ignore"; _meventname = ""; - //BA.debugLineNum = 3;BA.debugLine="Private mCallBack As Object 'ignore"; +RDebugUtils.currentLine=39059458; + //BA.debugLineNum = 39059458;BA.debugLine="Private mCallBack As Object 'ignore"; _mcallback = new Object(); - //BA.debugLineNum = 4;BA.debugLine="Public mBase As B4XView"; +RDebugUtils.currentLine=39059459; + //BA.debugLineNum = 39059459;BA.debugLine="Public mBase As B4XView"; _mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI 'ignore"; +RDebugUtils.currentLine=39059460; + //BA.debugLineNum = 39059460;BA.debugLine="Private xui As XUI 'ignore"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Public Tag As Object"; +RDebugUtils.currentLine=39059461; + //BA.debugLineNum = 39059461;BA.debugLine="Public Tag As Object"; _tag = new Object(); - //BA.debugLineNum = 7;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39059462; + //BA.debugLineNum = 39059462;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +public String _designercreateview(gunav2.keymon.com.mx.madewithlove __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 15;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 16;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 17;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 17;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 18;BA.debugLine="Dim xlbl As B4XView = Lbl"; +RDebugUtils.currentLine=39190528; + //BA.debugLineNum = 39190528;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=39190529; + //BA.debugLineNum = 39190529;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=39190530; + //BA.debugLineNum = 39190530;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=39190530; + //BA.debugLineNum = 39190530;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=39190531; + //BA.debugLineNum = 39190531;BA.debugLine="Dim xlbl As B4XView = Lbl"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 33;BA.debugLine="Dim cs As CSBuilder"; +RDebugUtils.currentLine=39190546; + //BA.debugLineNum = 39190546;BA.debugLine="Dim cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 34;BA.debugLine="cs.Initialize.Append(\"Made with \").Typeface(Typef"; -_cs.Initialize().Append(BA.ObjectToCharSequence("Made with ")).Typeface(__c.Typeface.getFONTAWESOME()).Color(_xui.Color_Red).Append(BA.ObjectToCharSequence(__c.Chr(((int)0xf004)))).Pop().Pop().Append(BA.ObjectToCharSequence(" in B4X")).PopAll(); - //BA.debugLineNum = 35;BA.debugLine="xlbl.Text = cs"; +RDebugUtils.currentLine=39190547; + //BA.debugLineNum = 39190547;BA.debugLine="cs.Initialize.Append(\"Made with \").Typeface(Typef"; +_cs.Initialize().Append(BA.ObjectToCharSequence("Made with ")).Typeface(__c.Typeface.getFONTAWESOME()).Color(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Red).Append(BA.ObjectToCharSequence(__c.Chr(((int)0xf004)))).Pop().Pop().Append(BA.ObjectToCharSequence(" in B4X")).PopAll(); +RDebugUtils.currentLine=39190548; + //BA.debugLineNum = 39190548;BA.debugLine="xlbl.Text = cs"; _xlbl.setText(BA.ObjectToCharSequence(_cs.getObject())); - //BA.debugLineNum = 36;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +RDebugUtils.currentLine=39190549; + //BA.debugLineNum = 39190549;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; _xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 37;BA.debugLine="mBase.AddView(xlbl, 0, 0, mBase.Width, mBase.Heig"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 45;BA.debugLine="End Sub"; +RDebugUtils.currentLine=39190550; + //BA.debugLineNum = 39190550;BA.debugLine="mBase.AddView(xlbl, 0, 0, mBase.Width, mBase.Heig"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=39190558; + //BA.debugLineNum = 39190558;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.madewithlove __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 10;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 11;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 12;BA.debugLine="End Sub"; +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=39124992; + //BA.debugLineNum = 39124992;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=39124993; + //BA.debugLineNum = 39124993;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=39124994; + //BA.debugLineNum = 39124994;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=39124995; + //BA.debugLineNum = 39124995;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/main.java b/B4A/Objects/src/gunav2/keymon/com/mx/main.java index 3b6cc3a..0445f47 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/main.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/main.java @@ -34,7 +34,7 @@ public class main extends Activity implements B4AActivity{ super.onCreate(savedInstanceState); mostCurrent = this; if (processBA == null) { - processBA = new BA(this.getApplicationContext(), null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.main"); + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.main"); processBA.loadHtSubs(this.getClass()); float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; BALayout.setDeviceScale(deviceScale); @@ -335,87 +335,7 @@ public class main extends Activity implements B4AActivity{ } -public anywheresoftware.b4a.keywords.Common __c = null; -public static boolean _actionbarhomeclicked = false; -public b4a.example.dateutils _dateutils = null; -public gunav2.keymon.com.mx.starter _starter = null; -public gunav2.keymon.com.mx.subs _subs = null; -public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; -public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; -public gunav2.keymon.com.mx.newinst2 _newinst2 = null; -public gunav2.keymon.com.mx.b4xpages _b4xpages = null; -public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; -public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static boolean isAnyActivityVisible() { - boolean vis = false; -vis = vis | (main.mostCurrent != null); -vis = vis | (mapa_rutas.mostCurrent != null); -return vis;} -public static String _activity_actionbarhomeclick() throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 36;BA.debugLine="ActionBarHomeClicked = True"; -_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 37;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; -mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_actionbarhomeclick /*String*/ (); - //BA.debugLineNum = 38;BA.debugLine="ActionBarHomeClicked = False"; -_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_create(boolean _firsttime) throws Exception{ -gunav2.keymon.com.mx.b4xpagesmanager _pm = null; - //BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 28;BA.debugLine="Dim pm As B4XPagesManager"; -_pm = new gunav2.keymon.com.mx.b4xpagesmanager(); - //BA.debugLineNum = 29;BA.debugLine="pm.Initialize(Activity)"; -_pm._initialize /*String*/ (mostCurrent.activityBA,mostCurrent._activity); - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public static boolean _activity_keypress(int _keycode) throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; - //BA.debugLineNum = 42;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; -if (true) return mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_keypress /*boolean*/ (_keycode); - //BA.debugLineNum = 43;BA.debugLine="End Sub"; -return false; -} -public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 49;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 50;BA.debugLine="B4XPages.Delegate.Activity_Pause"; -mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_pause /*String*/ (); - //BA.debugLineNum = 51;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_permissionresult(String _permission,boolean _result) throws Exception{ - //BA.debugLineNum = 53;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; - //BA.debugLineNum = 54;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; -mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_permissionresult /*String*/ (_permission,_result); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 45;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 46;BA.debugLine="B4XPages.Delegate.Activity_Resume"; -mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_resume /*String*/ (); - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return ""; -} -public static String _create_menu(Object _menu) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Sub Create_Menu (Menu As Object)"; - //BA.debugLineNum = 58;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; -mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._create_menu /*String*/ (_menu); - //BA.debugLineNum = 59;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 23;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} public static void initializeProcessGlobals() { @@ -423,28 +343,168 @@ public static void initializeProcessGlobals() { main.processGlobalsRun = true; try { b4a.example.dateutils._process_globals(); -main._process_globals(); -starter._process_globals(); -subs._process_globals(); -appupdater._process_globals(); -firebasemessaging._process_globals(); -mapa_rutas._process_globals(); -tracker._process_globals(); -newinst2._process_globals(); -b4xpages._process_globals(); -b4xcollections._process_globals(); -httputils2service._process_globals(); -xuiviewsutils._process_globals(); } catch (Exception e) { throw new RuntimeException(e); } } -}public static String _process_globals() throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 20;BA.debugLine="Public ActionBarHomeClicked As Boolean"; -_actionbarhomeclicked = false; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; +} +public static boolean isAnyActivityVisible() { + boolean vis = false; +vis = vis | (main.mostCurrent != null); +vis = vis | (mapa_rutas.mostCurrent != null); +return vis;} + +private static BA killProgramHelper(BA ba) { + if (ba == null) + return null; + anywheresoftware.b4a.BA.SharedProcessBA sharedProcessBA = ba.sharedProcessBA; + if (sharedProcessBA == null || sharedProcessBA.activityBA == null) + return null; + return sharedProcessBA.activityBA.get(); +} +public static void killProgram() { + { + Activity __a = null; + if (main.previousOne != null) { + __a = main.previousOne.get(); + } + else { + BA ba = killProgramHelper(main.mostCurrent == null ? null : main.mostCurrent.processBA); + if (ba != null) __a = ba.activity; + } + if (__a != null) + __a.finish();} + +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, starter.class)); +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, appupdater.class)); +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, tracker.class)); +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, firebasemessaging.class)); + { + Activity __a = null; + if (mapa_rutas.previousOne != null) { + __a = mapa_rutas.previousOne.get(); + } + else { + BA ba = killProgramHelper(mapa_rutas.mostCurrent == null ? null : mapa_rutas.mostCurrent.processBA); + if (ba != null) __a = ba.activity; + } + if (__a != null) + __a.finish();} + +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, newinst2.class)); +} +public anywheresoftware.b4a.keywords.Common __c = null; +public static boolean _actionbarhomeclicked = false; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static String _activity_actionbarhomeclick() throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_actionbarhomeclick", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_actionbarhomeclick", null));} +RDebugUtils.currentLine=42795008; + //BA.debugLineNum = 42795008;BA.debugLine="Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=42795009; + //BA.debugLineNum = 42795009;BA.debugLine="ActionBarHomeClicked = True"; +_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=42795010; + //BA.debugLineNum = 42795010;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; +mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_actionbarhomeclick /*String*/ (null); +RDebugUtils.currentLine=42795011; + //BA.debugLineNum = 42795011;BA.debugLine="ActionBarHomeClicked = False"; +_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=42795012; + //BA.debugLineNum = 42795012;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_create(boolean _firsttime) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}));} +gunav2.keymon.com.mx.b4xpagesmanager _pm = null; +RDebugUtils.currentLine=131072; + //BA.debugLineNum = 131072;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=131073; + //BA.debugLineNum = 131073;BA.debugLine="Dim pm As B4XPagesManager"; +_pm = new gunav2.keymon.com.mx.b4xpagesmanager(); +RDebugUtils.currentLine=131074; + //BA.debugLineNum = 131074;BA.debugLine="pm.Initialize(Activity)"; +_pm._initialize /*String*/ (null,mostCurrent.activityBA,mostCurrent._activity); +RDebugUtils.currentLine=131075; + //BA.debugLineNum = 131075;BA.debugLine="End Sub"; +return ""; +} +public static boolean _activity_keypress(int _keycode) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(mostCurrent.activityBA, "activity_keypress", new Object[] {_keycode}));} +RDebugUtils.currentLine=42860544; + //BA.debugLineNum = 42860544;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; +RDebugUtils.currentLine=42860545; + //BA.debugLineNum = 42860545;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; +if (true) return mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_keypress /*boolean*/ (null,_keycode); +RDebugUtils.currentLine=42860546; + //BA.debugLineNum = 42860546;BA.debugLine="End Sub"; +return false; +} +public static String _activity_pause(boolean _userclosed) throws Exception{ +RDebugUtils.currentModule="main"; +RDebugUtils.currentLine=262144; + //BA.debugLineNum = 262144;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=262145; + //BA.debugLineNum = 262145;BA.debugLine="B4XPages.Delegate.Activity_Pause"; +mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_pause /*String*/ (null); +RDebugUtils.currentLine=262146; + //BA.debugLineNum = 262146;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_permissionresult(String _permission,boolean _result) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_permissionresult", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_permissionresult", new Object[] {_permission,_result}));} +RDebugUtils.currentLine=42926080; + //BA.debugLineNum = 42926080;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +RDebugUtils.currentLine=42926081; + //BA.debugLineNum = 42926081;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; +mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_permissionresult /*String*/ (null,_permission,_result); +RDebugUtils.currentLine=42926082; + //BA.debugLineNum = 42926082;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_resume() throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=196608; + //BA.debugLineNum = 196608;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=196609; + //BA.debugLineNum = 196609;BA.debugLine="B4XPages.Delegate.Activity_Resume"; +mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._activity_resume /*String*/ (null); +RDebugUtils.currentLine=196610; + //BA.debugLineNum = 196610;BA.debugLine="End Sub"; +return ""; +} +public static String _create_menu(Object _menu) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "create_menu", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "create_menu", new Object[] {_menu}));} +RDebugUtils.currentLine=42991616; + //BA.debugLineNum = 42991616;BA.debugLine="Sub Create_Menu (Menu As Object)"; +RDebugUtils.currentLine=42991617; + //BA.debugLineNum = 42991617;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; +mostCurrent._b4xpages._delegate /*gunav2.keymon.com.mx.b4xpagesdelegator*/ ._create_menu /*String*/ (null,_menu); +RDebugUtils.currentLine=42991618; + //BA.debugLineNum = 42991618;BA.debugLine="End Sub"; return ""; } public boolean _onCreateOptionsMenu(android.view.Menu menu) { @@ -452,4 +512,4 @@ public boolean _onCreateOptionsMenu(android.view.Menu menu) { return true; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/mapa_rutas.java b/B4A/Objects/src/gunav2/keymon/com/mx/mapa_rutas.java index e2e109c..5fe9ce8 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/mapa_rutas.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/mapa_rutas.java @@ -34,7 +34,7 @@ public class mapa_rutas extends Activity implements B4AActivity{ super.onCreate(savedInstanceState); mostCurrent = this; if (processBA == null) { - processBA = new BA(this.getApplicationContext(), null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.mapa_rutas"); + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.mapa_rutas"); processBA.loadHtSubs(this.getClass()); float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; BALayout.setDeviceScale(deviceScale); @@ -335,6 +335,15 @@ public class mapa_rutas extends Activity implements B4AActivity{ } + + +public static void initializeProcessGlobals() { + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } +} public anywheresoftware.b4a.keywords.Common __c = null; public static anywheresoftware.b4a.gps.GPS _gps = null; public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; @@ -385,258 +394,191 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; -public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; - -public static void initializeProcessGlobals() { - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } +public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "gps_locationchanged", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "gps_locationchanged", new Object[] {_parametro}));} +RDebugUtils.currentLine=93257728; + //BA.debugLineNum = 93257728;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +RDebugUtils.currentLine=93257729; + //BA.debugLineNum = 93257729;BA.debugLine="MARK_CEDIS.IsInitialized"; +mostCurrent._mark_cedis.IsInitialized(); +RDebugUtils.currentLine=93257747; + //BA.debugLineNum = 93257747;BA.debugLine="End Sub"; +return ""; } public static String _activity_create(boolean _firsttime) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 57;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}));} +RDebugUtils.currentLine=93061120; + //BA.debugLineNum = 93061120;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=93061121; + //BA.debugLineNum = 93061121;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; mostCurrent._activity.LoadLayout("MAPA_RUTAS",mostCurrent.activityBA); - //BA.debugLineNum = 61;BA.debugLine="ruta = File.DirInternal"; +RDebugUtils.currentLine=93061125; + //BA.debugLineNum = 93061125;BA.debugLine="ruta = File.DirInternal"; _ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - //BA.debugLineNum = 63;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +RDebugUtils.currentLine=93061127; + //BA.debugLineNum = 93061127;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; if (anywheresoftware.b4a.keywords.Common.File.Exists(_ruta,"kmt.db")==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 64;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +RDebugUtils.currentLine=93061128; + //BA.debugLineNum = 93061128;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); }; - //BA.debugLineNum = 66;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +RDebugUtils.currentLine=93061130; + //BA.debugLineNum = 93061130;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 68;BA.debugLine="If(FirstTime) Then"; +RDebugUtils.currentLine=93061132; + //BA.debugLineNum = 93061132;BA.debugLine="If(FirstTime) Then"; if ((_firsttime)) { - //BA.debugLineNum = 69;BA.debugLine="GPS.Initialize(\"GPS\")"; +RDebugUtils.currentLine=93061133; + //BA.debugLineNum = 93061133;BA.debugLine="GPS.Initialize(\"GPS\")"; _gps.Initialize("GPS"); }; - //BA.debugLineNum = 72;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +RDebugUtils.currentLine=93061136; + //BA.debugLineNum = 93061136;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 73;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; +RDebugUtils.currentLine=93061137; + //BA.debugLineNum = 93061137;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Please install Google Play Services."),anywheresoftware.b4a.keywords.Common.True); }; - //BA.debugLineNum = 84;BA.debugLine="MARK_AZUL.IsInitialized"; +RDebugUtils.currentLine=93061148; + //BA.debugLineNum = 93061148;BA.debugLine="MARK_AZUL.IsInitialized"; mostCurrent._mark_azul.IsInitialized(); - //BA.debugLineNum = 85;BA.debugLine="MARK_ROJO.IsInitialized"; +RDebugUtils.currentLine=93061149; + //BA.debugLineNum = 93061149;BA.debugLine="MARK_ROJO.IsInitialized"; mostCurrent._mark_rojo.IsInitialized(); - //BA.debugLineNum = 86;BA.debugLine="MARK_VERDE.IsInitialized"; +RDebugUtils.currentLine=93061150; + //BA.debugLineNum = 93061150;BA.debugLine="MARK_VERDE.IsInitialized"; mostCurrent._mark_verde.IsInitialized(); - //BA.debugLineNum = 88;BA.debugLine="LIST_AZUL.Initialize"; +RDebugUtils.currentLine=93061152; + //BA.debugLineNum = 93061152;BA.debugLine="LIST_AZUL.Initialize"; mostCurrent._list_azul.Initialize(); - //BA.debugLineNum = 89;BA.debugLine="LIST_ROJO.Initialize"; +RDebugUtils.currentLine=93061153; + //BA.debugLineNum = 93061153;BA.debugLine="LIST_ROJO.Initialize"; mostCurrent._list_rojo.Initialize(); - //BA.debugLineNum = 90;BA.debugLine="LIST_VERDE.Initialize"; +RDebugUtils.currentLine=93061154; + //BA.debugLineNum = 93061154;BA.debugLine="LIST_VERDE.Initialize"; mostCurrent._list_verde.Initialize(); - //BA.debugLineNum = 92;BA.debugLine="verde = 0"; +RDebugUtils.currentLine=93061156; + //BA.debugLineNum = 93061156;BA.debugLine="verde = 0"; mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 93;BA.debugLine="azul = 0"; +RDebugUtils.currentLine=93061157; + //BA.debugLineNum = 93061157;BA.debugLine="azul = 0"; mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 94;BA.debugLine="rojo = 0"; +RDebugUtils.currentLine=93061158; + //BA.debugLineNum = 93061158;BA.debugLine="rojo = 0"; mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 95;BA.debugLine="todos = 1"; +RDebugUtils.currentLine=93061159; + //BA.debugLineNum = 93061159;BA.debugLine="todos = 1"; mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 96;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) AS CUANTOS fro"; +RDebugUtils.currentLine=93061160; + //BA.debugLineNum = 93061160;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) AS CUANTOS fro"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select count(*) AS CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"SEMANA"}))); - //BA.debugLineNum = 97;BA.debugLine="c.Position =0"; +RDebugUtils.currentLine=93061161; + //BA.debugLineNum = 93061161;BA.debugLine="c.Position =0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 98;BA.debugLine="SEMANA = c.GetString(\"CUANTOS\")"; +RDebugUtils.currentLine=93061162; + //BA.debugLineNum = 93061162;BA.debugLine="SEMANA = c.GetString(\"CUANTOS\")"; mostCurrent._semana = _c.GetString("CUANTOS"); - //BA.debugLineNum = 99;BA.debugLine="c.Close"; +RDebugUtils.currentLine=93061163; + //BA.debugLineNum = 93061163;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 101;BA.debugLine="If SEMANA > 0 Then"; +RDebugUtils.currentLine=93061165; + //BA.debugLineNum = 93061165;BA.debugLine="If SEMANA > 0 Then"; if ((double)(Double.parseDouble(mostCurrent._semana))>0) { - //BA.debugLineNum = 102;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; +RDebugUtils.currentLine=93061166; + //BA.debugLineNum = 93061166;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"SEMANA"}))); - //BA.debugLineNum = 103;BA.debugLine="c.Position =0"; +RDebugUtils.currentLine=93061167; + //BA.debugLineNum = 93061167;BA.debugLine="c.Position =0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 104;BA.debugLine="SEMANA = c.GetString(\"CAT_VA_VALOR\")"; +RDebugUtils.currentLine=93061168; + //BA.debugLineNum = 93061168;BA.debugLine="SEMANA = c.GetString(\"CAT_VA_VALOR\")"; mostCurrent._semana = _c.GetString("CAT_VA_VALOR"); - //BA.debugLineNum = 105;BA.debugLine="c.Close"; +RDebugUtils.currentLine=93061169; + //BA.debugLineNum = 93061169;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 109;BA.debugLine="End Sub"; +RDebugUtils.currentLine=93061173; + //BA.debugLineNum = 93061173;BA.debugLine="End Sub"; return ""; } public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 269;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 270;BA.debugLine="GPS.Stop"; +RDebugUtils.currentModule="mapa_rutas"; +RDebugUtils.currentLine=93388800; + //BA.debugLineNum = 93388800;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=93388801; + //BA.debugLineNum = 93388801;BA.debugLine="GPS.Stop"; _gps.Stop(); - //BA.debugLineNum = 271;BA.debugLine="End Sub"; +RDebugUtils.currentLine=93388802; + //BA.debugLineNum = 93388802;BA.debugLine="End Sub"; return ""; } public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 259;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 261;BA.debugLine="If GPS.GPSEnabled = False Then"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=93323264; + //BA.debugLineNum = 93323264;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=93323266; + //BA.debugLineNum = 93323266;BA.debugLine="If GPS.GPSEnabled = False Then"; if (_gps.getGPSEnabled()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 262;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +RDebugUtils.currentLine=93323267; + //BA.debugLineNum = 93323267;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 263;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; +RDebugUtils.currentLine=93323268; + //BA.debugLineNum = 93323268;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_gps.getLocationSettingsIntent())); }else { - //BA.debugLineNum = 265;BA.debugLine="GPS.Start(0, 0)"; +RDebugUtils.currentLine=93323270; + //BA.debugLineNum = 93323270;BA.debugLine="GPS.Start(0, 0)"; _gps.Start(processBA,(long) (0),(float) (0)); }; - //BA.debugLineNum = 267;BA.debugLine="End Sub"; +RDebugUtils.currentLine=93323272; + //BA.debugLineNum = 93323272;BA.debugLine="End Sub"; return ""; } public static String _b_azul_click() throws Exception{ - //BA.debugLineNum = 305;BA.debugLine="Sub B_AZUL_Click"; - //BA.debugLineNum = 306;BA.debugLine="azul = 1"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_azul_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_azul_click", null));} +RDebugUtils.currentLine=93650944; + //BA.debugLineNum = 93650944;BA.debugLine="Sub B_AZUL_Click"; +RDebugUtils.currentLine=93650945; + //BA.debugLineNum = 93650945;BA.debugLine="azul = 1"; mostCurrent._azul = BA.NumberToString(1); - //BA.debugLineNum = 307;BA.debugLine="verde = 0"; +RDebugUtils.currentLine=93650946; + //BA.debugLineNum = 93650946;BA.debugLine="verde = 0"; mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 308;BA.debugLine="rojo = 0"; +RDebugUtils.currentLine=93650947; + //BA.debugLineNum = 93650947;BA.debugLine="rojo = 0"; mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 309;BA.debugLine="todos = 0"; +RDebugUtils.currentLine=93650948; + //BA.debugLineNum = 93650948;BA.debugLine="todos = 0"; mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 310;BA.debugLine="gmap.Clear"; +RDebugUtils.currentLine=93650949; + //BA.debugLineNum = 93650949;BA.debugLine="gmap.Clear"; mostCurrent._gmap.Clear(); - //BA.debugLineNum = 312;BA.debugLine="MapFragment1_Ready"; +RDebugUtils.currentLine=93650951; + //BA.debugLineNum = 93650951;BA.debugLine="MapFragment1_Ready"; _mapfragment1_ready(); - //BA.debugLineNum = 314;BA.debugLine="End Sub"; -return ""; -} -public static String _b_rojo_click() throws Exception{ - //BA.debugLineNum = 294;BA.debugLine="Sub B_ROJO_Click"; - //BA.debugLineNum = 295;BA.debugLine="rojo = 1"; -mostCurrent._rojo = BA.NumberToString(1); - //BA.debugLineNum = 296;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 297;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 298;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 299;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 301;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 303;BA.debugLine="End Sub"; -return ""; -} -public static String _b_todos_click() throws Exception{ - //BA.debugLineNum = 274;BA.debugLine="Sub B_TODOS_Click"; - //BA.debugLineNum = 275;BA.debugLine="todos =1"; -mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 276;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 277;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 278;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 280;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 282;BA.debugLine="End Sub"; -return ""; -} -public static String _b_verde_click() throws Exception{ - //BA.debugLineNum = 284;BA.debugLine="Sub B_VERDE_Click"; - //BA.debugLineNum = 285;BA.debugLine="verde = 1"; -mostCurrent._verde = BA.NumberToString(1); - //BA.debugLineNum = 286;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 287;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 288;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 289;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 290;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 292;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 18;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 19;BA.debugLine="Private gmap As GoogleMap"; -mostCurrent._gmap = new anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private MapFragment1 As MapFragment"; -mostCurrent._mapfragment1 = new anywheresoftware.b4a.objects.MapFragmentWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim Latitud As Double = 0"; -_latitud = 0; - //BA.debugLineNum = 22;BA.debugLine="Dim Longitud As Double = 0"; -_longitud = 0; - //BA.debugLineNum = 23;BA.debugLine="Dim Lat2 As Double = 0"; -_lat2 = 0; - //BA.debugLineNum = 24;BA.debugLine="Dim Lon2 As Double = 0"; -_lon2 = 0; - //BA.debugLineNum = 25;BA.debugLine="Dim p1, p2 As Location"; -mostCurrent._p1 = new anywheresoftware.b4a.gps.LocationWrapper(); -mostCurrent._p2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim Distance As Float"; -_distance = 0f; - //BA.debugLineNum = 27;BA.debugLine="Dim boton1 As Button"; -mostCurrent._boton1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim HUE_BLUE As Float"; -_hue_blue = 0f; - //BA.debugLineNum = 29;BA.debugLine="Dim HUE_RED As Float"; -_hue_red = 0f; - //BA.debugLineNum = 30;BA.debugLine="Dim HUE_GREEN As Float"; -_hue_green = 0f; - //BA.debugLineNum = 31;BA.debugLine="Private B_AZUL As Button"; -mostCurrent._b_azul = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private B_ROJO As Button"; -mostCurrent._b_rojo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private B_VERDE As Button"; -mostCurrent._b_verde = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private B_TODOS As Button"; -mostCurrent._b_todos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim Tienda As String"; -mostCurrent._tienda = ""; - //BA.debugLineNum = 36;BA.debugLine="Dim LatitudRu As Double"; -_latitudru = 0; - //BA.debugLineNum = 37;BA.debugLine="Dim LongitudRU As Double"; -_longitudru = 0; - //BA.debugLineNum = 38;BA.debugLine="Dim LIST_AZUL As List"; -mostCurrent._list_azul = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 39;BA.debugLine="Dim LIST_ROJO As List"; -mostCurrent._list_rojo = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 40;BA.debugLine="Dim LIST_VERDE As List"; -mostCurrent._list_verde = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 41;BA.debugLine="Dim MARK_AZUL As Marker"; -mostCurrent._mark_azul = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim MARK_ROJO As Marker"; -mostCurrent._mark_rojo = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim MARK_VERDE As Marker"; -mostCurrent._mark_verde = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim MARK_CEDIS As Marker"; -mostCurrent._mark_cedis = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim rojo As String"; -mostCurrent._rojo = ""; - //BA.debugLineNum = 46;BA.debugLine="Dim azul As String"; -mostCurrent._azul = ""; - //BA.debugLineNum = 47;BA.debugLine="Dim verde As String"; -mostCurrent._verde = ""; - //BA.debugLineNum = 48;BA.debugLine="Dim todos As String"; -mostCurrent._todos = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim NumSerie As Int"; -_numserie = 0; - //BA.debugLineNum = 50;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; -mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); - //BA.debugLineNum = 51;BA.debugLine="Dim GoogleMapEXTRA As GoogleMapsExtras"; -mostCurrent._googlemapextra = new uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras(); - //BA.debugLineNum = 52;BA.debugLine="Dim CODIGO As String"; -mostCurrent._codigo = ""; - //BA.debugLineNum = 53;BA.debugLine="Private SEMANA As String"; -mostCurrent._semana = ""; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ - //BA.debugLineNum = 238;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; - //BA.debugLineNum = 239;BA.debugLine="MARK_CEDIS.IsInitialized"; -mostCurrent._mark_cedis.IsInitialized(); - //BA.debugLineNum = 257;BA.debugLine="End Sub"; +RDebugUtils.currentLine=93650953; + //BA.debugLineNum = 93650953;BA.debugLine="End Sub"; return ""; } public static void _mapfragment1_ready() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "mapfragment1_ready", false)) + {Debug.delegate(mostCurrent.activityBA, "mapfragment1_ready", null); return;} ResumableSub_MapFragment1_Ready rsub = new ResumableSub_MapFragment1_Ready(null); rsub.resume(processBA, null); } @@ -663,6 +605,7 @@ int limit75; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; while (true) { switch (state) { @@ -672,16 +615,21 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 112;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("491160577","ENTRANDO MapFragment1_Ready",0); - //BA.debugLineNum = 113;BA.debugLine="gmap = MapFragment1.GetMap"; +RDebugUtils.currentLine=93126657; + //BA.debugLineNum = 93126657;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("093126657","ENTRANDO MapFragment1_Ready",0); +RDebugUtils.currentLine=93126658; + //BA.debugLineNum = 93126658;BA.debugLine="gmap = MapFragment1.GetMap"; parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); - //BA.debugLineNum = 114;BA.debugLine="gmap.IsInitialized"; +RDebugUtils.currentLine=93126659; + //BA.debugLineNum = 93126659;BA.debugLine="gmap.IsInitialized"; parent.mostCurrent._gmap.IsInitialized(); - //BA.debugLineNum = 118;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +RDebugUtils.currentLine=93126663; + //BA.debugLineNum = 93126663;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 119;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; -anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); +RDebugUtils.currentLine=93126664; + //BA.debugLineNum = 93126664;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "mapa_rutas", "mapfragment1_ready"), null); this.state = 76; return; case 76: @@ -690,15 +638,20 @@ this.state = 1; _permission = (String) result[0]; _result = (Boolean) result[1]; ; - //BA.debugLineNum = 120;BA.debugLine="gmap.MyLocationEnabled = Result"; +RDebugUtils.currentLine=93126665; + //BA.debugLineNum = 93126665;BA.debugLine="gmap.MyLocationEnabled = Result"; parent.mostCurrent._gmap.setMyLocationEnabled(_result); - //BA.debugLineNum = 122;BA.debugLine="Dim JavaMapsObject As JavaObject"; +RDebugUtils.currentLine=93126667; + //BA.debugLineNum = 93126667;BA.debugLine="Dim JavaMapsObject As JavaObject"; _javamapsobject = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 123;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; +RDebugUtils.currentLine=93126668; + //BA.debugLineNum = 93126668;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; _javamapsobject = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(parent.mostCurrent._gmap.GetUiSettings().getObject())); - //BA.debugLineNum = 124;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +RDebugUtils.currentLine=93126669; + //BA.debugLineNum = 93126669;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; _javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); - //BA.debugLineNum = 126;BA.debugLine="If azul = 1 Or todos = 1 Then"; +RDebugUtils.currentLine=93126671; + //BA.debugLineNum = 93126671;BA.debugLine="If azul = 1 Or todos = 1 Then"; if (true) break; case 1: @@ -711,13 +664,17 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 127;BA.debugLine="c.IsInitialized"; +RDebugUtils.currentLine=93126672; + //BA.debugLineNum = 93126672;BA.debugLine="c.IsInitialized"; parent._c.IsInitialized(); - //BA.debugLineNum = 128;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO"; +RDebugUtils.currentLine=93126673; + //BA.debugLineNum = 93126673;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO"; parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info3 where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' "))); - //BA.debugLineNum = 129;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +RDebugUtils.currentLine=93126674; + //BA.debugLineNum = 93126674;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; parent._skmt.Initialize(parent._ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 130;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=93126675; + //BA.debugLineNum = 93126675;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 4: @@ -730,7 +687,8 @@ this.state = 6; case 6: //C this.state = 7; - //BA.debugLineNum = 131;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=93126676; + //BA.debugLineNum = 93126676;BA.debugLine="For i = 0 To c.RowCount - 1"; if (true) break; case 7: @@ -757,11 +715,14 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 132;BA.debugLine="c.Position = i"; +RDebugUtils.currentLine=93126677; + //BA.debugLineNum = 93126677;BA.debugLine="c.Position = i"; parent._c.setPosition(_i); - //BA.debugLineNum = 134;BA.debugLine="LatitudRu = 0"; +RDebugUtils.currentLine=93126679; + //BA.debugLineNum = 93126679;BA.debugLine="LatitudRu = 0"; parent._latitudru = 0; - //BA.debugLineNum = 135;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu"; +RDebugUtils.currentLine=93126680; + //BA.debugLineNum = 93126680;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu"; if (true) break; case 10: @@ -781,9 +742,11 @@ case 15: //C this.state = 16; ; - //BA.debugLineNum = 136;BA.debugLine="LongitudRU = 0"; +RDebugUtils.currentLine=93126681; + //BA.debugLineNum = 93126681;BA.debugLine="LongitudRU = 0"; parent._longitudru = 0; - //BA.debugLineNum = 137;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then Longi"; +RDebugUtils.currentLine=93126682; + //BA.debugLineNum = 93126682;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then Longi"; if (true) break; case 16: @@ -803,13 +766,17 @@ case 21: //C this.state = 78; ; - //BA.debugLineNum = 138;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=93126683; + //BA.debugLineNum = 93126683;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 139;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=93126684; + //BA.debugLineNum = 93126684;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 140;BA.debugLine="MARK_AZUL = gmap.AddMarker2(LatitudRu, Longitu"; +RDebugUtils.currentLine=93126685; + //BA.debugLineNum = 93126685;BA.debugLine="MARK_AZUL = gmap.AddMarker2(LatitudRu, Longitu"; parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_BLUE); - //BA.debugLineNum = 141;BA.debugLine="MARK_AZUL.Snippet = Tienda"; +RDebugUtils.currentLine=93126686; + //BA.debugLineNum = 93126686;BA.debugLine="MARK_AZUL.Snippet = Tienda"; parent.mostCurrent._mark_azul.setSnippet(parent.mostCurrent._tienda); if (true) break; if (true) break; @@ -824,9 +791,11 @@ case 23: //C this.state = 24; ; - //BA.debugLineNum = 144;BA.debugLine="c .Close"; +RDebugUtils.currentLine=93126689; + //BA.debugLineNum = 93126689;BA.debugLine="c .Close"; parent._c.Close(); - //BA.debugLineNum = 147;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; +RDebugUtils.currentLine=93126692; + //BA.debugLineNum = 93126692;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; if (true) break; case 24: @@ -848,7 +817,8 @@ this.state = 30; ; if (true) break; ; - //BA.debugLineNum = 150;BA.debugLine="If verde =1 Or todos = 1 Then"; +RDebugUtils.currentLine=93126695; + //BA.debugLineNum = 93126695;BA.debugLine="If verde =1 Or todos = 1 Then"; case 30: //if @@ -862,11 +832,14 @@ this.state = 38; case 32: //C this.state = 33; - //BA.debugLineNum = 151;BA.debugLine="c2.IsInitialized"; +RDebugUtils.currentLine=93126696; + //BA.debugLineNum = 93126696;BA.debugLine="c2.IsInitialized"; parent._c2.IsInitialized(); - //BA.debugLineNum = 152;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; +RDebugUtils.currentLine=93126697; + //BA.debugLineNum = 93126697;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0"))); - //BA.debugLineNum = 153;BA.debugLine="For i = 0 To c2.RowCount -1"; +RDebugUtils.currentLine=93126698; + //BA.debugLineNum = 93126698;BA.debugLine="For i = 0 To c2.RowCount -1"; if (true) break; case 33: @@ -893,19 +866,26 @@ if (true) break; case 35: //C this.state = 80; - //BA.debugLineNum = 154;BA.debugLine="c2.Position = i"; +RDebugUtils.currentLine=93126699; + //BA.debugLineNum = 93126699;BA.debugLine="c2.Position = i"; parent._c2.setPosition(_i); - //BA.debugLineNum = 155;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=93126700; + //BA.debugLineNum = 93126700;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 156;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=93126701; + //BA.debugLineNum = 93126701;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 157;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=93126702; + //BA.debugLineNum = 93126702;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 158;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=93126703; + //BA.debugLineNum = 93126703;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 159;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longitu"; +RDebugUtils.currentLine=93126704; + //BA.debugLineNum = 93126704;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longitu"; parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); - //BA.debugLineNum = 160;BA.debugLine="MARK_VERDE.Snippet = Tienda"; +RDebugUtils.currentLine=93126705; + //BA.debugLineNum = 93126705;BA.debugLine="MARK_VERDE.Snippet = Tienda"; parent.mostCurrent._mark_verde.setSnippet(parent.mostCurrent._tienda); if (true) break; if (true) break; @@ -919,7 +899,8 @@ this.state = 53; case 38: //C this.state = 39; - //BA.debugLineNum = 163;BA.debugLine="If verde =1 Or todos = 1 Then"; +RDebugUtils.currentLine=93126708; + //BA.debugLineNum = 93126708;BA.debugLine="If verde =1 Or todos = 1 Then"; if (true) break; case 39: @@ -932,11 +913,14 @@ this.state = 41; case 41: //C this.state = 42; - //BA.debugLineNum = 164;BA.debugLine="c2.IsInitialized"; +RDebugUtils.currentLine=93126709; + //BA.debugLineNum = 93126709;BA.debugLine="c2.IsInitialized"; parent._c2.IsInitialized(); - //BA.debugLineNum = 165;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; +RDebugUtils.currentLine=93126710; + //BA.debugLineNum = 93126710;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0"))); - //BA.debugLineNum = 166;BA.debugLine="For i = 0 To c2.RowCount -1"; +RDebugUtils.currentLine=93126711; + //BA.debugLineNum = 93126711;BA.debugLine="For i = 0 To c2.RowCount -1"; if (true) break; case 42: @@ -963,19 +947,26 @@ if (true) break; case 44: //C this.state = 82; - //BA.debugLineNum = 167;BA.debugLine="c2.Position = i"; +RDebugUtils.currentLine=93126712; + //BA.debugLineNum = 93126712;BA.debugLine="c2.Position = i"; parent._c2.setPosition(_i); - //BA.debugLineNum = 168;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=93126713; + //BA.debugLineNum = 93126713;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 169;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=93126714; + //BA.debugLineNum = 93126714;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 170;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=93126715; + //BA.debugLineNum = 93126715;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 171;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=93126716; + //BA.debugLineNum = 93126716;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 172;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; +RDebugUtils.currentLine=93126717; + //BA.debugLineNum = 93126717;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); - //BA.debugLineNum = 173;BA.debugLine="MARK_VERDE.Snippet = Tienda"; +RDebugUtils.currentLine=93126718; + //BA.debugLineNum = 93126718;BA.debugLine="MARK_VERDE.Snippet = Tienda"; parent.mostCurrent._mark_verde.setSnippet(parent.mostCurrent._tienda); if (true) break; if (true) break; @@ -984,9 +975,11 @@ case 45: //C this.state = 46; ; - //BA.debugLineNum = 175;BA.debugLine="c2 .Close"; +RDebugUtils.currentLine=93126720; + //BA.debugLineNum = 93126720;BA.debugLine="c2 .Close"; parent._c2.Close(); - //BA.debugLineNum = 176;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; +RDebugUtils.currentLine=93126721; + //BA.debugLineNum = 93126721;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; if (true) break; case 46: @@ -1014,7 +1007,8 @@ this.state = 53; ; if (true) break; ; - //BA.debugLineNum = 181;BA.debugLine="If rojo =1 Or todos = 1 Then"; +RDebugUtils.currentLine=93126726; + //BA.debugLineNum = 93126726;BA.debugLine="If rojo =1 Or todos = 1 Then"; case 53: //if @@ -1028,11 +1022,14 @@ this.state = 61; case 55: //C this.state = 56; - //BA.debugLineNum = 182;BA.debugLine="c3.IsInitialized"; +RDebugUtils.currentLine=93126727; + //BA.debugLineNum = 93126727;BA.debugLine="c3.IsInitialized"; parent._c3.IsInitialized(); - //BA.debugLineNum = 183;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; +RDebugUtils.currentLine=93126728; + //BA.debugLineNum = 93126728;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0"))); - //BA.debugLineNum = 184;BA.debugLine="For i = 0 To c3.RowCount -1"; +RDebugUtils.currentLine=93126729; + //BA.debugLineNum = 93126729;BA.debugLine="For i = 0 To c3.RowCount -1"; if (true) break; case 56: @@ -1059,19 +1056,26 @@ if (true) break; case 58: //C this.state = 84; - //BA.debugLineNum = 185;BA.debugLine="c3.Position = i"; +RDebugUtils.currentLine=93126730; + //BA.debugLineNum = 93126730;BA.debugLine="c3.Position = i"; parent._c3.setPosition(_i); - //BA.debugLineNum = 186;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=93126731; + //BA.debugLineNum = 93126731;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 187;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=93126732; + //BA.debugLineNum = 93126732;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 188;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=93126733; + //BA.debugLineNum = 93126733;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 189;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=93126734; + //BA.debugLineNum = 93126734;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 190;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitud"; +RDebugUtils.currentLine=93126735; + //BA.debugLineNum = 93126735;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitud"; parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED); - //BA.debugLineNum = 191;BA.debugLine="MARK_ROJO.Snippet = Tienda"; +RDebugUtils.currentLine=93126736; + //BA.debugLineNum = 93126736;BA.debugLine="MARK_ROJO.Snippet = Tienda"; parent.mostCurrent._mark_rojo.setSnippet(parent.mostCurrent._tienda); if (true) break; if (true) break; @@ -1085,7 +1089,8 @@ this.state = 75; case 61: //C this.state = 62; - //BA.debugLineNum = 194;BA.debugLine="If rojo =1 Or todos = 1 Then"; +RDebugUtils.currentLine=93126739; + //BA.debugLineNum = 93126739;BA.debugLine="If rojo =1 Or todos = 1 Then"; if (true) break; case 62: @@ -1098,11 +1103,14 @@ this.state = 64; case 64: //C this.state = 65; - //BA.debugLineNum = 195;BA.debugLine="c3.IsInitialized"; +RDebugUtils.currentLine=93126740; + //BA.debugLineNum = 93126740;BA.debugLine="c3.IsInitialized"; parent._c3.IsInitialized(); - //BA.debugLineNum = 196;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; +RDebugUtils.currentLine=93126741; + //BA.debugLineNum = 93126741;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0"))); - //BA.debugLineNum = 197;BA.debugLine="For i = 0 To c3.RowCount -1"; +RDebugUtils.currentLine=93126742; + //BA.debugLineNum = 93126742;BA.debugLine="For i = 0 To c3.RowCount -1"; if (true) break; case 65: @@ -1129,24 +1137,32 @@ if (true) break; case 67: //C this.state = 86; - //BA.debugLineNum = 198;BA.debugLine="c3.Position = i"; +RDebugUtils.currentLine=93126743; + //BA.debugLineNum = 93126743;BA.debugLine="c3.Position = i"; parent._c3.setPosition(_i); - //BA.debugLineNum = 199;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +RDebugUtils.currentLine=93126744; + //BA.debugLineNum = 93126744;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 200;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +RDebugUtils.currentLine=93126745; + //BA.debugLineNum = 93126745;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 201;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +RDebugUtils.currentLine=93126746; + //BA.debugLineNum = 93126746;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 202;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +RDebugUtils.currentLine=93126747; + //BA.debugLineNum = 93126747;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 203;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitu"; +RDebugUtils.currentLine=93126748; + //BA.debugLineNum = 93126748;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitu"; parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED); - //BA.debugLineNum = 204;BA.debugLine="MARK_ROJO.Snippet = Tienda"; +RDebugUtils.currentLine=93126749; + //BA.debugLineNum = 93126749;BA.debugLine="MARK_ROJO.Snippet = Tienda"; parent.mostCurrent._mark_rojo.setSnippet(parent.mostCurrent._tienda); if (true) break; if (true) break; ; - //BA.debugLineNum = 206;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; +RDebugUtils.currentLine=93126751; + //BA.debugLineNum = 93126751;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; case 68: //if @@ -1165,7 +1181,8 @@ case 73: //C this.state = 74; ; - //BA.debugLineNum = 207;BA.debugLine="c3.Close"; +RDebugUtils.currentLine=93126752; + //BA.debugLineNum = 93126752;BA.debugLine="c3.Close"; parent._c3.Close(); if (true) break; @@ -1179,59 +1196,133 @@ case 75: //C this.state = -1; ; - //BA.debugLineNum = 216;BA.debugLine="Dim aa As CameraPosition"; +RDebugUtils.currentLine=93126761; + //BA.debugLineNum = 93126761;BA.debugLine="Dim aa As CameraPosition"; _aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); - //BA.debugLineNum = 217;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; +RDebugUtils.currentLine=93126762; + //BA.debugLineNum = 93126762;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; _aa.Initialize(parent._latitudru,parent._longitudru,(float) (15)); - //BA.debugLineNum = 218;BA.debugLine="gmap.AnimateCamera(aa)"; +RDebugUtils.currentLine=93126763; + //BA.debugLineNum = 93126763;BA.debugLine="gmap.AnimateCamera(aa)"; parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); - //BA.debugLineNum = 221;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; +RDebugUtils.currentLine=93126766; + //BA.debugLineNum = 93126766;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; parent.mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); - //BA.debugLineNum = 222;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; +RDebugUtils.currentLine=93126767; + //BA.debugLineNum = 93126767;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; parent.mostCurrent._oninfowindowclicklistener1.Initialize(mostCurrent.activityBA,"OnInfoWindowClickListener1"); - //BA.debugLineNum = 223;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; +RDebugUtils.currentLine=93126768; + //BA.debugLineNum = 93126768;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; parent.mostCurrent._googlemapextra.SetOnInfoWindowClickListener((com.google.android.gms.maps.GoogleMap)(parent.mostCurrent._gmap.getObject()),(com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener)(parent.mostCurrent._oninfowindowclicklistener1.getObject())); - //BA.debugLineNum = 225;BA.debugLine="End Sub"; +RDebugUtils.currentLine=93126770; + //BA.debugLineNum = 93126770;BA.debugLine="End Sub"; if (true) break; } } } } -public static void _activity_permissionresult(String _permission,boolean _result) throws Exception{ +public static String _b_rojo_click() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_rojo_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_rojo_click", null));} +RDebugUtils.currentLine=93585408; + //BA.debugLineNum = 93585408;BA.debugLine="Sub B_ROJO_Click"; +RDebugUtils.currentLine=93585409; + //BA.debugLineNum = 93585409;BA.debugLine="rojo = 1"; +mostCurrent._rojo = BA.NumberToString(1); +RDebugUtils.currentLine=93585410; + //BA.debugLineNum = 93585410;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=93585411; + //BA.debugLineNum = 93585411;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=93585412; + //BA.debugLineNum = 93585412;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=93585413; + //BA.debugLineNum = 93585413;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=93585415; + //BA.debugLineNum = 93585415;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=93585417; + //BA.debugLineNum = 93585417;BA.debugLine="End Sub"; +return ""; +} +public static String _b_todos_click() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_todos_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_todos_click", null));} +RDebugUtils.currentLine=93454336; + //BA.debugLineNum = 93454336;BA.debugLine="Sub B_TODOS_Click"; +RDebugUtils.currentLine=93454337; + //BA.debugLineNum = 93454337;BA.debugLine="todos =1"; +mostCurrent._todos = BA.NumberToString(1); +RDebugUtils.currentLine=93454338; + //BA.debugLineNum = 93454338;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=93454339; + //BA.debugLineNum = 93454339;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=93454340; + //BA.debugLineNum = 93454340;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=93454342; + //BA.debugLineNum = 93454342;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=93454344; + //BA.debugLineNum = 93454344;BA.debugLine="End Sub"; +return ""; +} +public static String _b_verde_click() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_verde_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_verde_click", null));} +RDebugUtils.currentLine=93519872; + //BA.debugLineNum = 93519872;BA.debugLine="Sub B_VERDE_Click"; +RDebugUtils.currentLine=93519873; + //BA.debugLineNum = 93519873;BA.debugLine="verde = 1"; +mostCurrent._verde = BA.NumberToString(1); +RDebugUtils.currentLine=93519874; + //BA.debugLineNum = 93519874;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=93519875; + //BA.debugLineNum = 93519875;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=93519876; + //BA.debugLineNum = 93519876;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=93519877; + //BA.debugLineNum = 93519877;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=93519878; + //BA.debugLineNum = 93519878;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=93519880; + //BA.debugLineNum = 93519880;BA.debugLine="End Sub"; +return ""; } public static String _oninfowindowclicklistener1_click(anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marker1) throws Exception{ - //BA.debugLineNum = 230;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; - //BA.debugLineNum = 231;BA.debugLine="skmt.ExecNonQuery(\"delete from CUENTAA\")"; +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "oninfowindowclicklistener1_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "oninfowindowclicklistener1_click", new Object[] {_marker1}));} +RDebugUtils.currentLine=93192192; + //BA.debugLineNum = 93192192;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; +RDebugUtils.currentLine=93192193; + //BA.debugLineNum = 93192193;BA.debugLine="skmt.ExecNonQuery(\"delete from CUENTAA\")"; _skmt.ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 232;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CUENTAA VALUES (?"; +RDebugUtils.currentLine=93192194; + //BA.debugLineNum = 93192194;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CUENTAA VALUES (?"; _skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marker1.getTitle())})); - //BA.debugLineNum = 233;BA.debugLine="Activity.Finish"; +RDebugUtils.currentLine=93192195; + //BA.debugLineNum = 93192195;BA.debugLine="Activity.Finish"; mostCurrent._activity.Finish(); - //BA.debugLineNum = 234;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +RDebugUtils.currentLine=93192196; + //BA.debugLineNum = 93192196;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 235;BA.debugLine="End Sub"; +RDebugUtils.currentLine=93192197; + //BA.debugLineNum = 93192197;BA.debugLine="End Sub"; return ""; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Dim GPS As GPS"; -_gps = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 9;BA.debugLine="Dim rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 10;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim c22 As Cursor"; -_c22 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim c3 As Cursor"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/newinst2.java b/B4A/Objects/src/gunav2/keymon/com/mx/newinst2.java index 3f6e044..804b35c 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/newinst2.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/newinst2.java @@ -14,7 +14,7 @@ public class newinst2 extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, newinst2.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class newinst2 extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.newinst2"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.newinst2"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,7 +127,8 @@ public class newinst2 extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; + } +public anywheresoftware.b4a.keywords.Common __c = null; public static String _pkg = ""; public static boolean _svcverbose = false; public static int _logcolor1 = 0; @@ -136,92 +137,125 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; public static String _getpackagename() throws Exception{ +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "getpackagename", false)) + {return ((String) Debug.delegate(processBA, "getpackagename", null));} anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 38;BA.debugLine="Sub GetPackageName As String"; - //BA.debugLineNum = 39;BA.debugLine="Dim r As Reflector"; +RDebugUtils.currentLine=9109504; + //BA.debugLineNum = 9109504;BA.debugLine="Sub GetPackageName As String"; +RDebugUtils.currentLine=9109505; + //BA.debugLineNum = 9109505;BA.debugLine="Dim r As Reflector"; _r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 40;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; +RDebugUtils.currentLine=9109506; + //BA.debugLineNum = 9109506;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; if (true) return BA.ObjectToString(_r.GetStaticField("anywheresoftware.b4a.BA","packageName")); - //BA.debugLineNum = 41;BA.debugLine="End Sub"; +RDebugUtils.currentLine=9109507; + //BA.debugLineNum = 9109507;BA.debugLine="End Sub"; return ""; } public static String _myappreload() throws Exception{ - //BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload"; - //BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "myappreload", false)) + {return ((String) Debug.delegate(processBA, "myappreload", null));} +RDebugUtils.currentLine=9175040; + //BA.debugLineNum = 9175040;BA.debugLine="Sub MyAppReload"; +RDebugUtils.currentLine=9175041; + //BA.debugLineNum = 9175041;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("43014657","-- AppUpdating.NewInst2: processing MyAppReload",0);}; - //BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then"; +anywheresoftware.b4a.keywords.Common.LogImpl("09175041","-- AppUpdating.NewInst2: processing MyAppReload",0);}; +RDebugUtils.currentLine=9175042; + //BA.debugLineNum = 9175042;BA.debugLine="If IsPaused(\"main\") Then"; if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) { - //BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")"; +RDebugUtils.currentLine=9175043; + //BA.debugLineNum = 9175043;BA.debugLine="StartActivity(\"main\")"; anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)("main")); }; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Dim pkg As String 'app's package name"; -_pkg = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim svcVerbose As Boolean 'True = shows start"; -_svcverbose = false; - //BA.debugLineNum = 10;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'color for"; -_logcolor1 = ((int)0xffff8c00); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; +RDebugUtils.currentLine=9175047; + //BA.debugLineNum = 9175047;BA.debugLine="End Sub"; return ""; } public static String _service_create() throws Exception{ - //BA.debugLineNum = 13;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; -anywheresoftware.b4a.keywords.Common.LogImpl("42752513","---- AppUpdating.newinst2: service created",_logcolor1); - //BA.debugLineNum = 15;BA.debugLine="pkg = \"\""; +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=8912896; + //BA.debugLineNum = 8912896;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=8912897; + //BA.debugLineNum = 8912897;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; +anywheresoftware.b4a.keywords.Common.LogImpl("08912897","---- AppUpdating.newinst2: service created",_logcolor1); +RDebugUtils.currentLine=8912898; + //BA.debugLineNum = 8912898;BA.debugLine="pkg = \"\""; _pkg = ""; - //BA.debugLineNum = 16;BA.debugLine="svcVerbose = False"; +RDebugUtils.currentLine=8912899; + //BA.debugLineNum = 8912899;BA.debugLine="svcVerbose = False"; _svcverbose = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 17;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8912900; + //BA.debugLineNum = 8912900;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=9043968; + //BA.debugLineNum = 9043968;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=9043969; + //BA.debugLineNum = 9043969;BA.debugLine="End Sub"; return ""; } public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; -anywheresoftware.b4a.keywords.Common.LogImpl("42818049","---- AppUpdating.newinst2: service_started",_logcolor1); - //BA.debugLineNum = 21;BA.debugLine="If svcVerbose Then"; +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=8978432; + //BA.debugLineNum = 8978432;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=8978433; + //BA.debugLineNum = 8978433;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; +anywheresoftware.b4a.keywords.Common.LogImpl("08978433","---- AppUpdating.newinst2: service_started",_logcolor1); +RDebugUtils.currentLine=8978434; + //BA.debugLineNum = 8978434;BA.debugLine="If svcVerbose Then"; if (_svcverbose) { - //BA.debugLineNum = 22;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("42818051",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0); - //BA.debugLineNum = 23;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("42818052",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0); - //BA.debugLineNum = 24;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri"; -anywheresoftware.b4a.keywords.Common.LogImpl("42818053",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0); - //BA.debugLineNum = 25;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("42818054",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); +RDebugUtils.currentLine=8978435; + //BA.debugLineNum = 8978435;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("08978435",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0); +RDebugUtils.currentLine=8978436; + //BA.debugLineNum = 8978436;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("08978436",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0); +RDebugUtils.currentLine=8978437; + //BA.debugLineNum = 8978437;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri"; +anywheresoftware.b4a.keywords.Common.LogImpl("08978437",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0); +RDebugUtils.currentLine=8978438; + //BA.debugLineNum = 8978438;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("08978438",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); }; - //BA.debugLineNum = 27;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; +RDebugUtils.currentLine=8978440; + //BA.debugLineNum = 8978440;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; if ((_startingintent.getAction()).equals("android.intent.action.MY_PACKAGE_REPLACED")) { - //BA.debugLineNum = 28;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; +RDebugUtils.currentLine=8978441; + //BA.debugLineNum = 8978441;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("42818057",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; - //BA.debugLineNum = 29;BA.debugLine="pkg = GetPackageName"; +anywheresoftware.b4a.keywords.Common.LogImpl("08978441",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; +RDebugUtils.currentLine=8978442; + //BA.debugLineNum = 8978442;BA.debugLine="pkg = GetPackageName"; _pkg = _getpackagename(); - //BA.debugLineNum = 30;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; +RDebugUtils.currentLine=8978443; + //BA.debugLineNum = 8978443;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("42818059",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; - //BA.debugLineNum = 31;BA.debugLine="MyAppReload"; +anywheresoftware.b4a.keywords.Common.LogImpl("08978443",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; +RDebugUtils.currentLine=8978444; + //BA.debugLineNum = 8978444;BA.debugLine="MyAppReload"; _myappreload(); }; - //BA.debugLineNum = 33;BA.debugLine="End Sub"; +RDebugUtils.currentLine=8978446; + //BA.debugLineNum = 8978446;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/preoptimizedclv.java b/B4A/Objects/src/gunav2/keymon/com/mx/preoptimizedclv.java index 5a1b736..dcb2fa6 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/preoptimizedclv.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/preoptimizedclv.java @@ -10,7 +10,7 @@ public class preoptimizedclv extends B4AClass.ImplB4AClass implements BA.SubDele private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.preoptimizedclv"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.preoptimizedclv"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class preoptimizedclv extends B4AClass.ImplB4AClass implements BA.SubDele ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public b4a.example3.customlistview _mclv = null; public anywheresoftware.b4a.objects.collections.List _items = null; public anywheresoftware.b4a.objects.collections.List _panelscache = null; @@ -49,47 +56,195 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _additem(int _size,int _clr,Object _value) throws Exception{ -b4a.example3.customlistview._clvitem _newitem = null; - //BA.debugLineNum = 53;BA.debugLine="Public Sub AddItem (Size As Int, Clr As Int, Value"; - //BA.debugLineNum = 54;BA.debugLine="Dim NewItem As CLVItem"; -_newitem = new b4a.example3.customlistview._clvitem(); - //BA.debugLineNum = 55;BA.debugLine="NewItem.Color = Clr"; -_newitem.Color = _clr; - //BA.debugLineNum = 56;BA.debugLine="NewItem.Panel = StubPanel"; -_newitem.Panel = _stubpanel; - //BA.debugLineNum = 57;BA.debugLine="NewItem.Value = Value"; -_newitem.Value = _value; - //BA.debugLineNum = 58;BA.debugLine="NewItem.Size = Size"; -_newitem.Size = _size; - //BA.debugLineNum = 59;BA.debugLine="items.Add(NewItem)"; -_items.Add((Object)(_newitem)); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +public String _initialize(gunav2.keymon.com.mx.preoptimizedclv __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname,b4a.example3.customlistview _clv) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname,_clv}));} +RDebugUtils.currentLine=20643840; + //BA.debugLineNum = 20643840;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=20643841; + //BA.debugLineNum = 20643841;BA.debugLine="mCLV = CLV"; +__ref._mclv /*b4a.example3.customlistview*/ = _clv; +RDebugUtils.currentLine=20643842; + //BA.debugLineNum = 20643842;BA.debugLine="jclv = mCLV 'ignore"; +__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._mclv /*b4a.example3.customlistview*/ )); +RDebugUtils.currentLine=20643847; + //BA.debugLineNum = 20643847;BA.debugLine="items = jclv.GetFieldJO(\"_items\").RunMethod(\"getO"; +__ref._items /*anywheresoftware.b4a.objects.collections.List*/ = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .GetFieldJO("_items").RunMethod("getObject",(Object[])(__c.Null)))); +RDebugUtils.currentLine=20643848; + //BA.debugLineNum = 20643848;BA.debugLine="horizontal = jclv.GetField(\"_horizontal\")"; +__ref._horizontal /*boolean*/ = BA.ObjectToBoolean(__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .GetField("_horizontal")); +RDebugUtils.currentLine=20643850; + //BA.debugLineNum = 20643850;BA.debugLine="PanelsCache.Initialize"; +__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=20643851; + //BA.debugLineNum = 20643851;BA.debugLine="StubPanel = CreatePanel"; +__ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null); +RDebugUtils.currentLine=20643852; + //BA.debugLineNum = 20643852;BA.debugLine="StubPanel.AddView(xui.CreatePanel(\"\"), 0, 0, 10di"; +__ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"").getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (10))); +RDebugUtils.currentLine=20643853; + //BA.debugLineNum = 20643853;BA.debugLine="AssignedItems = Array As B4XSet(B4XCollections.Cr"; +__ref._assigneditems /*gunav2.keymon.com.mx.b4xset[]*/ = new gunav2.keymon.com.mx.b4xset[]{_b4xcollections._createset /*gunav2.keymon.com.mx.b4xset*/ (ba),_b4xcollections._createset /*gunav2.keymon.com.mx.b4xset*/ (ba)}; +RDebugUtils.currentLine=20643854; + //BA.debugLineNum = 20643854;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; +__ref._listofitemsthatshouldbeupdated /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=20643855; + //BA.debugLineNum = 20643855;BA.debugLine="mCLV.AsView.LoadLayout(\"PCLVSeekBar\")"; +__ref._mclv /*b4a.example3.customlistview*/ ._asview().LoadLayout("PCLVSeekBar",ba); +RDebugUtils.currentLine=20643856; + //BA.debugLineNum = 20643856;BA.debugLine="B4XSeekBar1.Size1 = 1dip"; +__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._size1 /*int*/ = __c.DipToCurrent((int) (1)); +RDebugUtils.currentLine=20643857; + //BA.debugLineNum = 20643857;BA.debugLine="B4XSeekBar1.Size2 = 1dip"; +__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._size2 /*int*/ = __c.DipToCurrent((int) (1)); +RDebugUtils.currentLine=20643858; + //BA.debugLineNum = 20643858;BA.debugLine="B4XSeekBar1.Radius1 = 8dip"; +__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._radius1 /*int*/ = __c.DipToCurrent((int) (8)); +RDebugUtils.currentLine=20643859; + //BA.debugLineNum = 20643859;BA.debugLine="B4XSeekBar1.Update"; +__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (null); +RDebugUtils.currentLine=20643860; + //BA.debugLineNum = 20643860;BA.debugLine="mCallback = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=20643861; + //BA.debugLineNum = 20643861;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=20643862; + //BA.debugLineNum = 20643862;BA.debugLine="End Sub"; return ""; } -public void _b4xseekbar1_touchstatechanged(boolean _pressed) throws Exception{ -ResumableSub_B4XSeekBar1_TouchStateChanged rsub = new ResumableSub_B4XSeekBar1_TouchStateChanged(this,_pressed); +public String _commit(gunav2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "commit", true)) + {return ((String) Debug.delegate(ba, "commit", null));} +int _dividersize = 0; +int _totalsize = 0; +int _i = 0; +b4a.example3.customlistview._clvitem _it = null; +RDebugUtils.currentLine=20774912; + //BA.debugLineNum = 20774912;BA.debugLine="Public Sub Commit"; +RDebugUtils.currentLine=20774913; + //BA.debugLineNum = 20774913;BA.debugLine="ClearAssignedItems"; +__ref._clearassigneditems /*String*/ (null); +RDebugUtils.currentLine=20774914; + //BA.debugLineNum = 20774914;BA.debugLine="Dim DividerSize As Int = mCLV.DividerSize"; +_dividersize = (int) (__ref._mclv /*b4a.example3.customlistview*/ ._getdividersize()); +RDebugUtils.currentLine=20774915; + //BA.debugLineNum = 20774915;BA.debugLine="Dim TotalSize As Int = DividerSize"; +_totalsize = _dividersize; +RDebugUtils.currentLine=20774916; + //BA.debugLineNum = 20774916;BA.debugLine="For i = 0 To items.Size - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=20774917; + //BA.debugLineNum = 20774917;BA.debugLine="Dim it As CLVItem = items.Get(i)"; +_it = (b4a.example3.customlistview._clvitem)(__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); +RDebugUtils.currentLine=20774918; + //BA.debugLineNum = 20774918;BA.debugLine="it.Offset = TotalSize"; +_it.Offset = _totalsize; +RDebugUtils.currentLine=20774919; + //BA.debugLineNum = 20774919;BA.debugLine="TotalSize = TotalSize + it.Size + DividerSize"; +_totalsize = (int) (_totalsize+_it.Size+_dividersize); + } +}; +RDebugUtils.currentLine=20774921; + //BA.debugLineNum = 20774921;BA.debugLine="If horizontal Then"; +if (__ref._horizontal /*boolean*/ ) { +RDebugUtils.currentLine=20774922; + //BA.debugLineNum = 20774922;BA.debugLine="mCLV.sv.ScrollViewContentWidth = TotalSize"; +__ref._mclv /*b4a.example3.customlistview*/ ._sv.setScrollViewContentWidth(_totalsize); + }else { +RDebugUtils.currentLine=20774924; + //BA.debugLineNum = 20774924;BA.debugLine="mCLV.sv.ScrollViewContentHeight = TotalSize"; +__ref._mclv /*b4a.example3.customlistview*/ ._sv.setScrollViewContentHeight(_totalsize); + }; +RDebugUtils.currentLine=20774926; + //BA.debugLineNum = 20774926;BA.debugLine="B4XSeekBar1.mBase.Visible = ShowScrollBar"; +__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__ref._showscrollbar /*boolean*/ ); +RDebugUtils.currentLine=20774927; + //BA.debugLineNum = 20774927;BA.debugLine="If ShowScrollBar Then"; +if (__ref._showscrollbar /*boolean*/ ) { +RDebugUtils.currentLine=20774928; + //BA.debugLineNum = 20774928;BA.debugLine="B4XSeekBar1.MaxValue = items.Size"; +__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._maxvalue /*int*/ = __ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize(); +RDebugUtils.currentLine=20774929; + //BA.debugLineNum = 20774929;BA.debugLine="B4XSeekBar1.Interval = items.Size / NumberOfStep"; +__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ = (int) (__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize()/(double)__ref._numberofsteps /*int*/ ); + }; +RDebugUtils.currentLine=20774931; + //BA.debugLineNum = 20774931;BA.debugLine="RaiseVisibleRangeEvent"; +__ref._raisevisiblerangeevent /*String*/ (null); +RDebugUtils.currentLine=20774933; + //BA.debugLineNum = 20774933;BA.debugLine="End Sub"; +return ""; +} +public String _additem(gunav2.keymon.com.mx.preoptimizedclv __ref,int _size,int _clr,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "additem", true)) + {return ((String) Debug.delegate(ba, "additem", new Object[] {_size,_clr,_value}));} +b4a.example3.customlistview._clvitem _newitem = null; +RDebugUtils.currentLine=20709376; + //BA.debugLineNum = 20709376;BA.debugLine="Public Sub AddItem (Size As Int, Clr As Int, Value"; +RDebugUtils.currentLine=20709377; + //BA.debugLineNum = 20709377;BA.debugLine="Dim NewItem As CLVItem"; +_newitem = new b4a.example3.customlistview._clvitem(); +RDebugUtils.currentLine=20709378; + //BA.debugLineNum = 20709378;BA.debugLine="NewItem.Color = Clr"; +_newitem.Color = _clr; +RDebugUtils.currentLine=20709379; + //BA.debugLineNum = 20709379;BA.debugLine="NewItem.Panel = StubPanel"; +_newitem.Panel = __ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=20709380; + //BA.debugLineNum = 20709380;BA.debugLine="NewItem.Value = Value"; +_newitem.Value = _value; +RDebugUtils.currentLine=20709381; + //BA.debugLineNum = 20709381;BA.debugLine="NewItem.Size = Size"; +_newitem.Size = _size; +RDebugUtils.currentLine=20709382; + //BA.debugLineNum = 20709382;BA.debugLine="items.Add(NewItem)"; +__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_newitem)); +RDebugUtils.currentLine=20709383; + //BA.debugLineNum = 20709383;BA.debugLine="End Sub"; +return ""; +} +public void _b4xseekbar1_touchstatechanged(gunav2.keymon.com.mx.preoptimizedclv __ref,boolean _pressed) throws Exception{ +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "b4xseekbar1_touchstatechanged", true)) + {Debug.delegate(ba, "b4xseekbar1_touchstatechanged", new Object[] {_pressed}); return;} +ResumableSub_B4XSeekBar1_TouchStateChanged rsub = new ResumableSub_B4XSeekBar1_TouchStateChanged(this,__ref,_pressed); rsub.resume(ba, null); } public static class ResumableSub_B4XSeekBar1_TouchStateChanged extends BA.ResumableSub { -public ResumableSub_B4XSeekBar1_TouchStateChanged(gunav2.keymon.com.mx.preoptimizedclv parent,boolean _pressed) { +public ResumableSub_B4XSeekBar1_TouchStateChanged(gunav2.keymon.com.mx.preoptimizedclv parent,gunav2.keymon.com.mx.preoptimizedclv __ref,boolean _pressed) { this.parent = parent; +this.__ref = __ref; this._pressed = _pressed; +this.__ref = parent; } +gunav2.keymon.com.mx.preoptimizedclv __ref; gunav2.keymon.com.mx.preoptimizedclv parent; boolean _pressed; anywheresoftware.b4j.object.JavaObject _jo = null; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="preoptimizedclv"; while (true) { switch (state) { @@ -99,7 +254,8 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 164;BA.debugLine="If Pressed = False Then"; +RDebugUtils.currentLine=21299201; + //BA.debugLineNum = 21299201;BA.debugLine="If Pressed = False Then"; if (true) break; case 1: @@ -114,29 +270,35 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 165;BA.debugLine="mCLV.JumpToItem(LastUserChangeIndex)"; -parent._mclv._jumptoitem(parent._lastuserchangeindex); - //BA.debugLineNum = 166;BA.debugLine="Sleep(DelayBeforeHidingOverlay)"; -parent.__c.Sleep(ba,this,parent._delaybeforehidingoverlay); +RDebugUtils.currentLine=21299202; + //BA.debugLineNum = 21299202;BA.debugLine="mCLV.JumpToItem(LastUserChangeIndex)"; +__ref._mclv /*b4a.example3.customlistview*/ ._jumptoitem(__ref._lastuserchangeindex /*int*/ ); +RDebugUtils.currentLine=21299203; + //BA.debugLineNum = 21299203;BA.debugLine="Sleep(DelayBeforeHidingOverlay)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "preoptimizedclv", "b4xseekbar1_touchstatechanged"),__ref._delaybeforehidingoverlay /*int*/ ); this.state = 7; return; case 7: //C this.state = 6; ; - //BA.debugLineNum = 167;BA.debugLine="pnlOverlay.Visible = False"; -parent._pnloverlay.setVisible(parent.__c.False); +RDebugUtils.currentLine=21299204; + //BA.debugLineNum = 21299204;BA.debugLine="pnlOverlay.Visible = False"; +__ref._pnloverlay /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(parent.__c.False); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 169;BA.debugLine="pnlOverlay.Visible = True"; -parent._pnloverlay.setVisible(parent.__c.True); - //BA.debugLineNum = 171;BA.debugLine="Dim jo As JavaObject = mCLV.sv"; +RDebugUtils.currentLine=21299206; + //BA.debugLineNum = 21299206;BA.debugLine="pnlOverlay.Visible = True"; +__ref._pnloverlay /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=21299208; + //BA.debugLineNum = 21299208;BA.debugLine="Dim jo As JavaObject = mCLV.sv"; _jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(parent._mclv._sv.getObject())); - //BA.debugLineNum = 172;BA.debugLine="jo.RunMethod(\"fling\", Array(0))"; +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._mclv /*b4a.example3.customlistview*/ ._sv.getObject())); +RDebugUtils.currentLine=21299209; + //BA.debugLineNum = 21299209;BA.debugLine="jo.RunMethod(\"fling\", Array(0))"; _jo.RunMethod("fling",new Object[]{(Object)(0)}); if (true) break; @@ -144,49 +306,86 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 175;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21299212; + //BA.debugLineNum = 21299212;BA.debugLine="End Sub"; if (true) break; } } } } -public String _b4xseekbar1_valuechanged(int _value) throws Exception{ +public String _b4xseekbar1_valuechanged(gunav2.keymon.com.mx.preoptimizedclv __ref,int _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "b4xseekbar1_valuechanged", true)) + {return ((String) Debug.delegate(ba, "b4xseekbar1_valuechanged", new Object[] {_value}));} Object _t = null; - //BA.debugLineNum = 177;BA.debugLine="Sub B4XSeekBar1_ValueChanged (Value As Int)"; - //BA.debugLineNum = 178;BA.debugLine="LastUserChangeIndex = Max(0, items.Size - 1 - Val"; -_lastuserchangeindex = (int) (__c.Max(0,_items.getSize()-1-_value)); - //BA.debugLineNum = 179;BA.debugLine="If LastUserChangeIndex < B4XSeekBar1.Interval The"; -if (_lastuserchangeindex<_b4xseekbar1._interval /*int*/ ) { -_lastuserchangeindex = (int) (0);}; - //BA.debugLineNum = 180;BA.debugLine="lblHint.Text = \"\""; -_lblhint.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 181;BA.debugLine="If xui.SubExists(mCallback, mEventName & \"_HintRe"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_HintRequested",(int) (1))) { - //BA.debugLineNum = 182;BA.debugLine="Dim t As Object = CallSub2(mCallback, mEventName"; -_t = __c.CallSubNew2(ba,_mcallback,_meventname+"_HintRequested",(Object)(_lastuserchangeindex)); - //BA.debugLineNum = 183;BA.debugLine="If t <> Null Then"; +RDebugUtils.currentLine=21364736; + //BA.debugLineNum = 21364736;BA.debugLine="Sub B4XSeekBar1_ValueChanged (Value As Int)"; +RDebugUtils.currentLine=21364737; + //BA.debugLineNum = 21364737;BA.debugLine="LastUserChangeIndex = Max(0, items.Size - 1 - Val"; +__ref._lastuserchangeindex /*int*/ = (int) (__c.Max(0,__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1-_value)); +RDebugUtils.currentLine=21364738; + //BA.debugLineNum = 21364738;BA.debugLine="If LastUserChangeIndex < B4XSeekBar1.Interval The"; +if (__ref._lastuserchangeindex /*int*/ <__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ ) { +__ref._lastuserchangeindex /*int*/ = (int) (0);}; +RDebugUtils.currentLine=21364739; + //BA.debugLineNum = 21364739;BA.debugLine="lblHint.Text = \"\""; +__ref._lblhint /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=21364740; + //BA.debugLineNum = 21364740;BA.debugLine="If xui.SubExists(mCallback, mEventName & \"_HintRe"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_HintRequested",(int) (1))) { +RDebugUtils.currentLine=21364741; + //BA.debugLineNum = 21364741;BA.debugLine="Dim t As Object = CallSub2(mCallback, mEventName"; +_t = __c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_HintRequested",(Object)(__ref._lastuserchangeindex /*int*/ )); +RDebugUtils.currentLine=21364742; + //BA.debugLineNum = 21364742;BA.debugLine="If t <> Null Then"; if (_t!= null) { - //BA.debugLineNum = 184;BA.debugLine="InternalSetTextOrCSBuilderToLabel(lblHint, t)"; -_internalsettextorcsbuildertolabel(_lblhint,_t); +RDebugUtils.currentLine=21364743; + //BA.debugLineNum = 21364743;BA.debugLine="InternalSetTextOrCSBuilderToLabel(lblHint, t)"; +__ref._internalsettextorcsbuildertolabel /*String*/ (null,__ref._lblhint /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_t); }; }; - //BA.debugLineNum = 187;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21364746; + //BA.debugLineNum = 21364746;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mCLV As CustomListView"; +public String _internalsettextorcsbuildertolabel(gunav2.keymon.com.mx.preoptimizedclv __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "internalsettextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(ba, "internalsettextorcsbuildertolabel", new Object[] {_xlbl,_text}));} +RDebugUtils.currentLine=21430272; + //BA.debugLineNum = 21430272;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=21430274; + //BA.debugLineNum = 21430274;BA.debugLine="xlbl.Text = Text"; +_xlbl.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=21430284; + //BA.debugLineNum = 21430284;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +RDebugUtils.currentLine=20578304; + //BA.debugLineNum = 20578304;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=20578305; + //BA.debugLineNum = 20578305;BA.debugLine="Private mCLV As CustomListView"; _mclv = new b4a.example3.customlistview(); - //BA.debugLineNum = 4;BA.debugLine="Private items As List"; +RDebugUtils.currentLine=20578306; + //BA.debugLineNum = 20578306;BA.debugLine="Private items As List"; _items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 5;BA.debugLine="Private PanelsCache As List"; +RDebugUtils.currentLine=20578307; + //BA.debugLineNum = 20578307;BA.debugLine="Private PanelsCache As List"; _panelscache = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 6;BA.debugLine="Private StubPanel As B4XView"; +RDebugUtils.currentLine=20578308; + //BA.debugLineNum = 20578308;BA.debugLine="Private StubPanel As B4XView"; _stubpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private horizontal As Boolean"; +RDebugUtils.currentLine=20578309; + //BA.debugLineNum = 20578309;BA.debugLine="Private horizontal As Boolean"; _horizontal = false; - //BA.debugLineNum = 8;BA.debugLine="Private AssignedItems() As B4XSet"; +RDebugUtils.currentLine=20578310; + //BA.debugLineNum = 20578310;BA.debugLine="Private AssignedItems() As B4XSet"; _assigneditems = new gunav2.keymon.com.mx.b4xset[(int) (0)]; { int d0 = _assigneditems.length; @@ -195,193 +394,172 @@ _assigneditems[i0] = new gunav2.keymon.com.mx.b4xset(); } } ; - //BA.debugLineNum = 9;BA.debugLine="Private AssignedItemsAsIndex As Int"; +RDebugUtils.currentLine=20578311; + //BA.debugLineNum = 20578311;BA.debugLine="Private AssignedItemsAsIndex As Int"; _assigneditemsasindex = 0; - //BA.debugLineNum = 13;BA.debugLine="Private jclv As JavaObject"; +RDebugUtils.currentLine=20578315; + //BA.debugLineNum = 20578315;BA.debugLine="Private jclv As JavaObject"; _jclv = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 15;BA.debugLine="Public ExtraItems As Int = 3"; +RDebugUtils.currentLine=20578317; + //BA.debugLineNum = 20578317;BA.debugLine="Public ExtraItems As Int = 3"; _extraitems = (int) (3); - //BA.debugLineNum = 16;BA.debugLine="Private ListOfItemsThatShouldBeUpdated As List"; +RDebugUtils.currentLine=20578318; + //BA.debugLineNum = 20578318;BA.debugLine="Private ListOfItemsThatShouldBeUpdated As List"; _listofitemsthatshouldbeupdated = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 17;BA.debugLine="Private xui As XUI"; +RDebugUtils.currentLine=20578319; + //BA.debugLineNum = 20578319;BA.debugLine="Private xui As XUI"; _xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 18;BA.debugLine="Public ShowScrollBar As Boolean = True"; +RDebugUtils.currentLine=20578320; + //BA.debugLineNum = 20578320;BA.debugLine="Public ShowScrollBar As Boolean = True"; _showscrollbar = __c.True; - //BA.debugLineNum = 19;BA.debugLine="Public B4XSeekBar1 As B4XSeekBar"; +RDebugUtils.currentLine=20578321; + //BA.debugLineNum = 20578321;BA.debugLine="Public B4XSeekBar1 As B4XSeekBar"; _b4xseekbar1 = new gunav2.keymon.com.mx.b4xseekbar(); - //BA.debugLineNum = 20;BA.debugLine="Public pnlOverlay As B4XView"; +RDebugUtils.currentLine=20578322; + //BA.debugLineNum = 20578322;BA.debugLine="Public pnlOverlay As B4XView"; _pnloverlay = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Public lblHint As B4XView"; +RDebugUtils.currentLine=20578323; + //BA.debugLineNum = 20578323;BA.debugLine="Public lblHint As B4XView"; _lblhint = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private LastUserChangeIndex As Int"; +RDebugUtils.currentLine=20578324; + //BA.debugLineNum = 20578324;BA.debugLine="Private LastUserChangeIndex As Int"; _lastuserchangeindex = 0; - //BA.debugLineNum = 23;BA.debugLine="Public NumberOfSteps As Int = 20"; +RDebugUtils.currentLine=20578325; + //BA.debugLineNum = 20578325;BA.debugLine="Public NumberOfSteps As Int = 20"; _numberofsteps = (int) (20); - //BA.debugLineNum = 24;BA.debugLine="Public DelayBeforeHidingOverlay As Int = 50"; +RDebugUtils.currentLine=20578326; + //BA.debugLineNum = 20578326;BA.debugLine="Public DelayBeforeHidingOverlay As Int = 50"; _delaybeforehidingoverlay = (int) (50); - //BA.debugLineNum = 25;BA.debugLine="Private mCallback As Object"; +RDebugUtils.currentLine=20578327; + //BA.debugLineNum = 20578327;BA.debugLine="Private mCallback As Object"; _mcallback = new Object(); - //BA.debugLineNum = 26;BA.debugLine="Private mEventName As String"; +RDebugUtils.currentLine=20578328; + //BA.debugLineNum = 20578328;BA.debugLine="Private mEventName As String"; _meventname = ""; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; +RDebugUtils.currentLine=20578329; + //BA.debugLineNum = 20578329;BA.debugLine="End Sub"; return ""; } -public String _clearassigneditems() throws Exception{ +public String _clearassigneditems(gunav2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "clearassigneditems", true)) + {return ((String) Debug.delegate(ba, "clearassigneditems", null));} gunav2.keymon.com.mx.b4xset _s = null; - //BA.debugLineNum = 151;BA.debugLine="Private Sub ClearAssignedItems"; - //BA.debugLineNum = 152;BA.debugLine="For Each s As B4XSet In AssignedItems"; +RDebugUtils.currentLine=21168128; + //BA.debugLineNum = 21168128;BA.debugLine="Private Sub ClearAssignedItems"; +RDebugUtils.currentLine=21168129; + //BA.debugLineNum = 21168129;BA.debugLine="For Each s As B4XSet In AssignedItems"; { -final gunav2.keymon.com.mx.b4xset[] group1 = _assigneditems; +final gunav2.keymon.com.mx.b4xset[] group1 = __ref._assigneditems /*gunav2.keymon.com.mx.b4xset[]*/ ; final int groupLen1 = group1.length ;int index1 = 0; ; for (; index1 < groupLen1;index1++){ _s = group1[index1]; - //BA.debugLineNum = 153;BA.debugLine="s.Clear"; -_s._clear /*String*/ (); +RDebugUtils.currentLine=21168130; + //BA.debugLineNum = 21168130;BA.debugLine="s.Clear"; +_s._clear /*String*/ (null); } }; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21168132; + //BA.debugLineNum = 21168132;BA.debugLine="End Sub"; return ""; } -public String _commit() throws Exception{ -int _dividersize = 0; -int _totalsize = 0; -int _i = 0; -b4a.example3.customlistview._clvitem _it = null; - //BA.debugLineNum = 62;BA.debugLine="Public Sub Commit"; - //BA.debugLineNum = 63;BA.debugLine="ClearAssignedItems"; -_clearassigneditems(); - //BA.debugLineNum = 64;BA.debugLine="Dim DividerSize As Int = mCLV.DividerSize"; -_dividersize = (int) (_mclv._getdividersize()); - //BA.debugLineNum = 65;BA.debugLine="Dim TotalSize As Int = DividerSize"; -_totalsize = _dividersize; - //BA.debugLineNum = 66;BA.debugLine="For i = 0 To items.Size - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_items.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 67;BA.debugLine="Dim it As CLVItem = items.Get(i)"; -_it = (b4a.example3.customlistview._clvitem)(_items.Get(_i)); - //BA.debugLineNum = 68;BA.debugLine="it.Offset = TotalSize"; -_it.Offset = _totalsize; - //BA.debugLineNum = 69;BA.debugLine="TotalSize = TotalSize + it.Size + DividerSize"; -_totalsize = (int) (_totalsize+_it.Size+_dividersize); - } -}; - //BA.debugLineNum = 71;BA.debugLine="If horizontal Then"; -if (_horizontal) { - //BA.debugLineNum = 72;BA.debugLine="mCLV.sv.ScrollViewContentWidth = TotalSize"; -_mclv._sv.setScrollViewContentWidth(_totalsize); - }else { - //BA.debugLineNum = 74;BA.debugLine="mCLV.sv.ScrollViewContentHeight = TotalSize"; -_mclv._sv.setScrollViewContentHeight(_totalsize); - }; - //BA.debugLineNum = 76;BA.debugLine="B4XSeekBar1.mBase.Visible = ShowScrollBar"; -_b4xseekbar1._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(_showscrollbar); - //BA.debugLineNum = 77;BA.debugLine="If ShowScrollBar Then"; -if (_showscrollbar) { - //BA.debugLineNum = 78;BA.debugLine="B4XSeekBar1.MaxValue = items.Size"; -_b4xseekbar1._maxvalue /*int*/ = _items.getSize(); - //BA.debugLineNum = 79;BA.debugLine="B4XSeekBar1.Interval = items.Size / NumberOfStep"; -_b4xseekbar1._interval /*int*/ = (int) (_items.getSize()/(double)_numberofsteps); - }; - //BA.debugLineNum = 81;BA.debugLine="RaiseVisibleRangeEvent"; -_raisevisiblerangeevent(); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; +public String _raisevisiblerangeevent(gunav2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "raisevisiblerangeevent", true)) + {return ((String) Debug.delegate(ba, "raisevisiblerangeevent", null));} +RDebugUtils.currentLine=20840448; + //BA.debugLineNum = 20840448;BA.debugLine="Private Sub RaiseVisibleRangeEvent"; +RDebugUtils.currentLine=20840449; + //BA.debugLineNum = 20840449;BA.debugLine="jclv.RunMethod(\"_resetvisibles\", Null)"; +__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("_resetvisibles",(Object[])(__c.Null)); +RDebugUtils.currentLine=20840450; + //BA.debugLineNum = 20840450;BA.debugLine="jclv.RunMethod(\"_updatevisiblerange\", Null)"; +__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("_updatevisiblerange",(Object[])(__c.Null)); +RDebugUtils.currentLine=20840451; + //BA.debugLineNum = 20840451;BA.debugLine="End Sub"; return ""; } -public anywheresoftware.b4a.objects.B4XViewWrapper _createpanel() throws Exception{ - //BA.debugLineNum = 90;BA.debugLine="Private Sub CreatePanel As B4XView"; - //BA.debugLineNum = 94;BA.debugLine="Return jclv.RunMethodJO(\"_createpanel\", Array(\"Pa"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_jclv.RunMethodJO("_createpanel",new Object[]{(Object)("Panel")}).RunMethod("getObject",(Object[])(__c.Null)))); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; +public anywheresoftware.b4a.objects.B4XViewWrapper _createpanel(gunav2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "createpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createpanel", null));} +RDebugUtils.currentLine=20905984; + //BA.debugLineNum = 20905984;BA.debugLine="Private Sub CreatePanel As B4XView"; +RDebugUtils.currentLine=20905988; + //BA.debugLineNum = 20905988;BA.debugLine="Return jclv.RunMethodJO(\"_createpanel\", Array(\"Pa"; +if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .RunMethodJO("_createpanel",new Object[]{(Object)("Panel")}).RunMethod("getObject",(Object[])(__c.Null)))); +RDebugUtils.currentLine=20905990; + //BA.debugLineNum = 20905990;BA.debugLine="End Sub"; return null; } -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel() throws Exception{ +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(gunav2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", null));} anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 144;BA.debugLine="Private Sub GetPanel As B4XView"; - //BA.debugLineNum = 145;BA.debugLine="If PanelsCache.Size = 0 Then Return CreatePanel"; -if (_panelscache.getSize()==0) { -if (true) return _createpanel();}; - //BA.debugLineNum = 146;BA.debugLine="Dim p As B4XView = PanelsCache.Get(PanelsCache.Si"; +RDebugUtils.currentLine=21102592; + //BA.debugLineNum = 21102592;BA.debugLine="Private Sub GetPanel As B4XView"; +RDebugUtils.currentLine=21102593; + //BA.debugLineNum = 21102593;BA.debugLine="If PanelsCache.Size = 0 Then Return CreatePanel"; +if (__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +if (true) return __ref._createpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null);}; +RDebugUtils.currentLine=21102594; + //BA.debugLineNum = 21102594;BA.debugLine="Dim p As B4XView = PanelsCache.Get(PanelsCache.Si"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_panelscache.Get((int) (_panelscache.getSize()-1)))); - //BA.debugLineNum = 147;BA.debugLine="PanelsCache.RemoveAt(PanelsCache.Size - 1)"; -_panelscache.RemoveAt((int) (_panelscache.getSize()-1)); - //BA.debugLineNum = 148;BA.debugLine="Return p"; +_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)))); +RDebugUtils.currentLine=21102595; + //BA.debugLineNum = 21102595;BA.debugLine="PanelsCache.RemoveAt(PanelsCache.Size - 1)"; +__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt((int) (__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)); +RDebugUtils.currentLine=21102596; + //BA.debugLineNum = 21102596;BA.debugLine="Return p"; if (true) return _p; - //BA.debugLineNum = 149;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21102597; + //BA.debugLineNum = 21102597;BA.debugLine="End Sub"; return null; } -public String _handlescrollbar(int _firstvisible) throws Exception{ - //BA.debugLineNum = 139;BA.debugLine="Private Sub HandleScrollBar (FirstVisible As Int)"; - //BA.debugLineNum = 140;BA.debugLine="If ShowScrollBar = False Then Return"; -if (_showscrollbar==__c.False) { +public String _handlescrollbar(gunav2.keymon.com.mx.preoptimizedclv __ref,int _firstvisible) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "handlescrollbar", true)) + {return ((String) Debug.delegate(ba, "handlescrollbar", new Object[] {_firstvisible}));} +RDebugUtils.currentLine=21037056; + //BA.debugLineNum = 21037056;BA.debugLine="Private Sub HandleScrollBar (FirstVisible As Int)"; +RDebugUtils.currentLine=21037057; + //BA.debugLineNum = 21037057;BA.debugLine="If ShowScrollBar = False Then Return"; +if (__ref._showscrollbar /*boolean*/ ==__c.False) { if (true) return "";}; - //BA.debugLineNum = 141;BA.debugLine="B4XSeekBar1.Value = items.Size - FirstVisible"; -_b4xseekbar1._setvalue /*int*/ ((int) (_items.getSize()-_firstvisible)); - //BA.debugLineNum = 142;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21037058; + //BA.debugLineNum = 21037058;BA.debugLine="B4XSeekBar1.Value = items.Size - FirstVisible"; +__ref._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ (null,(int) (__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-_firstvisible)); +RDebugUtils.currentLine=21037059; + //BA.debugLineNum = 21037059;BA.debugLine="End Sub"; return ""; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname,b4a.example3.customlistview _clv) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 30;BA.debugLine="mCLV = CLV"; -_mclv = _clv; - //BA.debugLineNum = 31;BA.debugLine="jclv = mCLV 'ignore"; -_jclv = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_mclv)); - //BA.debugLineNum = 36;BA.debugLine="items = jclv.GetFieldJO(\"_items\").RunMethod(\"getO"; -_items = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_jclv.GetFieldJO("_items").RunMethod("getObject",(Object[])(__c.Null)))); - //BA.debugLineNum = 37;BA.debugLine="horizontal = jclv.GetField(\"_horizontal\")"; -_horizontal = BA.ObjectToBoolean(_jclv.GetField("_horizontal")); - //BA.debugLineNum = 39;BA.debugLine="PanelsCache.Initialize"; -_panelscache.Initialize(); - //BA.debugLineNum = 40;BA.debugLine="StubPanel = CreatePanel"; -_stubpanel = _createpanel(); - //BA.debugLineNum = 41;BA.debugLine="StubPanel.AddView(xui.CreatePanel(\"\"), 0, 0, 10di"; -_stubpanel.AddView((android.view.View)(_xui.CreatePanel(ba,"").getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (10))); - //BA.debugLineNum = 42;BA.debugLine="AssignedItems = Array As B4XSet(B4XCollections.Cr"; -_assigneditems = new gunav2.keymon.com.mx.b4xset[]{_b4xcollections._createset /*gunav2.keymon.com.mx.b4xset*/ (ba),_b4xcollections._createset /*gunav2.keymon.com.mx.b4xset*/ (ba)}; - //BA.debugLineNum = 43;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; -_listofitemsthatshouldbeupdated.Initialize(); - //BA.debugLineNum = 44;BA.debugLine="mCLV.AsView.LoadLayout(\"PCLVSeekBar\")"; -_mclv._asview().LoadLayout("PCLVSeekBar",ba); - //BA.debugLineNum = 45;BA.debugLine="B4XSeekBar1.Size1 = 1dip"; -_b4xseekbar1._size1 /*int*/ = __c.DipToCurrent((int) (1)); - //BA.debugLineNum = 46;BA.debugLine="B4XSeekBar1.Size2 = 1dip"; -_b4xseekbar1._size2 /*int*/ = __c.DipToCurrent((int) (1)); - //BA.debugLineNum = 47;BA.debugLine="B4XSeekBar1.Radius1 = 8dip"; -_b4xseekbar1._radius1 /*int*/ = __c.DipToCurrent((int) (8)); - //BA.debugLineNum = 48;BA.debugLine="B4XSeekBar1.Update"; -_b4xseekbar1._update /*String*/ (); - //BA.debugLineNum = 49;BA.debugLine="mCallback = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 50;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 51;BA.debugLine="End Sub"; -return ""; -} -public String _internalsettextorcsbuildertolabel(anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 189;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; - //BA.debugLineNum = 191;BA.debugLine="xlbl.Text = Text"; -_xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 201;BA.debugLine="End Sub"; -return ""; -} -public void _listchangedexternally() throws Exception{ -ResumableSub_ListChangedExternally rsub = new ResumableSub_ListChangedExternally(this); +public void _listchangedexternally(gunav2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "listchangedexternally", true)) + {Debug.delegate(ba, "listchangedexternally", null); return;} +ResumableSub_ListChangedExternally rsub = new ResumableSub_ListChangedExternally(this,__ref); rsub.resume(ba, null); } public static class ResumableSub_ListChangedExternally extends BA.ResumableSub { -public ResumableSub_ListChangedExternally(gunav2.keymon.com.mx.preoptimizedclv parent) { +public ResumableSub_ListChangedExternally(gunav2.keymon.com.mx.preoptimizedclv parent,gunav2.keymon.com.mx.preoptimizedclv __ref) { this.parent = parent; +this.__ref = __ref; +this.__ref = parent; } +gunav2.keymon.com.mx.preoptimizedclv __ref; gunav2.keymon.com.mx.preoptimizedclv parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="preoptimizedclv"; while (true) { switch (state) { @@ -391,35 +569,34 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 158;BA.debugLine="ClearAssignedItems"; -parent._clearassigneditems(); - //BA.debugLineNum = 159;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); +RDebugUtils.currentLine=21233665; + //BA.debugLineNum = 21233665;BA.debugLine="ClearAssignedItems"; +__ref._clearassigneditems /*String*/ (null); +RDebugUtils.currentLine=21233666; + //BA.debugLineNum = 21233666;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "preoptimizedclv", "listchangedexternally"),(int) (0)); this.state = 1; return; case 1: //C this.state = -1; ; - //BA.debugLineNum = 160;BA.debugLine="RaiseVisibleRangeEvent"; -parent._raisevisiblerangeevent(); - //BA.debugLineNum = 161;BA.debugLine="End Sub"; +RDebugUtils.currentLine=21233667; + //BA.debugLineNum = 21233667;BA.debugLine="RaiseVisibleRangeEvent"; +__ref._raisevisiblerangeevent /*String*/ (null); +RDebugUtils.currentLine=21233668; + //BA.debugLineNum = 21233668;BA.debugLine="End Sub"; if (true) break; } } } } -public String _raisevisiblerangeevent() throws Exception{ - //BA.debugLineNum = 85;BA.debugLine="Private Sub RaiseVisibleRangeEvent"; - //BA.debugLineNum = 86;BA.debugLine="jclv.RunMethod(\"_resetvisibles\", Null)"; -_jclv.RunMethod("_resetvisibles",(Object[])(__c.Null)); - //BA.debugLineNum = 87;BA.debugLine="jclv.RunMethod(\"_updatevisiblerange\", Null)"; -_jclv.RunMethod("_updatevisiblerange",(Object[])(__c.Null)); - //BA.debugLineNum = 88;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.collections.List _visiblerangechanged(int _firstindex,int _lastindex) throws Exception{ +public anywheresoftware.b4a.objects.collections.List _visiblerangechanged(gunav2.keymon.com.mx.preoptimizedclv __ref,int _firstindex,int _lastindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "visiblerangechanged", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "visiblerangechanged", new Object[] {_firstindex,_lastindex}));} int _fromindex = 0; int _toindex = 0; gunav2.keymon.com.mx.b4xset _prevset = null; @@ -427,95 +604,125 @@ gunav2.keymon.com.mx.b4xset _nextset = null; int _i = 0; b4a.example3.customlistview._clvitem _it = null; anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; - //BA.debugLineNum = 98;BA.debugLine="Public Sub VisibleRangeChanged (FirstIndex As Int,"; - //BA.debugLineNum = 99;BA.debugLine="Dim FromIndex As Int = Max(0, FirstIndex - ExtraI"; -_fromindex = (int) (__c.Max(0,_firstindex-_extraitems)); - //BA.debugLineNum = 100;BA.debugLine="Dim ToIndex As Int = Min(mCLV.Size - 1, LastIndex"; -_toindex = (int) (__c.Min(_mclv._getsize()-1,_lastindex+_extraitems)); - //BA.debugLineNum = 101;BA.debugLine="Dim PrevSet As B4XSet = AssignedItems(AssignedIte"; -_prevset = _assigneditems[_assigneditemsasindex]; - //BA.debugLineNum = 102;BA.debugLine="AssignedItemsAsIndex = (AssignedItemsAsIndex + 1)"; -_assigneditemsasindex = (int) ((_assigneditemsasindex+1)%2); - //BA.debugLineNum = 103;BA.debugLine="Dim NextSet As B4XSet = AssignedItems(AssignedIte"; -_nextset = _assigneditems[_assigneditemsasindex]; - //BA.debugLineNum = 104;BA.debugLine="NextSet.Clear"; -_nextset._clear /*String*/ (); - //BA.debugLineNum = 105;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; -_listofitemsthatshouldbeupdated.Initialize(); - //BA.debugLineNum = 106;BA.debugLine="For i = FromIndex To ToIndex"; +RDebugUtils.currentLine=20971520; + //BA.debugLineNum = 20971520;BA.debugLine="Public Sub VisibleRangeChanged (FirstIndex As Int,"; +RDebugUtils.currentLine=20971521; + //BA.debugLineNum = 20971521;BA.debugLine="Dim FromIndex As Int = Max(0, FirstIndex - ExtraI"; +_fromindex = (int) (__c.Max(0,_firstindex-__ref._extraitems /*int*/ )); +RDebugUtils.currentLine=20971522; + //BA.debugLineNum = 20971522;BA.debugLine="Dim ToIndex As Int = Min(mCLV.Size - 1, LastIndex"; +_toindex = (int) (__c.Min(__ref._mclv /*b4a.example3.customlistview*/ ._getsize()-1,_lastindex+__ref._extraitems /*int*/ )); +RDebugUtils.currentLine=20971523; + //BA.debugLineNum = 20971523;BA.debugLine="Dim PrevSet As B4XSet = AssignedItems(AssignedIte"; +_prevset = __ref._assigneditems /*gunav2.keymon.com.mx.b4xset[]*/ [__ref._assigneditemsasindex /*int*/ ]; +RDebugUtils.currentLine=20971524; + //BA.debugLineNum = 20971524;BA.debugLine="AssignedItemsAsIndex = (AssignedItemsAsIndex + 1)"; +__ref._assigneditemsasindex /*int*/ = (int) ((__ref._assigneditemsasindex /*int*/ +1)%2); +RDebugUtils.currentLine=20971525; + //BA.debugLineNum = 20971525;BA.debugLine="Dim NextSet As B4XSet = AssignedItems(AssignedIte"; +_nextset = __ref._assigneditems /*gunav2.keymon.com.mx.b4xset[]*/ [__ref._assigneditemsasindex /*int*/ ]; +RDebugUtils.currentLine=20971526; + //BA.debugLineNum = 20971526;BA.debugLine="NextSet.Clear"; +_nextset._clear /*String*/ (null); +RDebugUtils.currentLine=20971527; + //BA.debugLineNum = 20971527;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; +__ref._listofitemsthatshouldbeupdated /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=20971528; + //BA.debugLineNum = 20971528;BA.debugLine="For i = FromIndex To ToIndex"; { final int step8 = 1; final int limit8 = _toindex; _i = _fromindex ; for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 107;BA.debugLine="Dim it As CLVItem = items.Get(i)"; -_it = (b4a.example3.customlistview._clvitem)(_items.Get(_i)); - //BA.debugLineNum = 108;BA.debugLine="If it.Panel = StubPanel Then"; -if ((_it.Panel).equals(_stubpanel)) { - //BA.debugLineNum = 109;BA.debugLine="it.Panel = GetPanel"; -_it.Panel = _getpanel(); - //BA.debugLineNum = 110;BA.debugLine="it.Panel.Tag = i"; +RDebugUtils.currentLine=20971529; + //BA.debugLineNum = 20971529;BA.debugLine="Dim it As CLVItem = items.Get(i)"; +_it = (b4a.example3.customlistview._clvitem)(__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); +RDebugUtils.currentLine=20971530; + //BA.debugLineNum = 20971530;BA.debugLine="If it.Panel = StubPanel Then"; +if ((_it.Panel).equals(__ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ )) { +RDebugUtils.currentLine=20971531; + //BA.debugLineNum = 20971531;BA.debugLine="it.Panel = GetPanel"; +_it.Panel = __ref._getpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null); +RDebugUtils.currentLine=20971532; + //BA.debugLineNum = 20971532;BA.debugLine="it.Panel.Tag = i"; _it.Panel.setTag((Object)(_i)); - //BA.debugLineNum = 111;BA.debugLine="it.Panel.Color = it.Color"; +RDebugUtils.currentLine=20971533; + //BA.debugLineNum = 20971533;BA.debugLine="it.Panel.Color = it.Color"; _it.Panel.setColor(_it.Color); - //BA.debugLineNum = 112;BA.debugLine="If horizontal Then"; -if (_horizontal) { - //BA.debugLineNum = 113;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; -_mclv._sv.getScrollViewInnerPanel().AddView((android.view.View)(_it.Panel.getObject()),_it.Offset,(int) (0),_it.Size,_mclv._sv.getHeight()); +RDebugUtils.currentLine=20971534; + //BA.debugLineNum = 20971534;BA.debugLine="If horizontal Then"; +if (__ref._horizontal /*boolean*/ ) { +RDebugUtils.currentLine=20971535; + //BA.debugLineNum = 20971535;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; +__ref._mclv /*b4a.example3.customlistview*/ ._sv.getScrollViewInnerPanel().AddView((android.view.View)(_it.Panel.getObject()),_it.Offset,(int) (0),_it.Size,__ref._mclv /*b4a.example3.customlistview*/ ._sv.getHeight()); }else { - //BA.debugLineNum = 115;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; -_mclv._sv.getScrollViewInnerPanel().AddView((android.view.View)(_it.Panel.getObject()),(int) (0),_it.Offset,_mclv._sv.getWidth(),_it.Size); - }; - //BA.debugLineNum = 117;BA.debugLine="NextSet.Add(it.Panel)"; -_nextset._add /*String*/ ((Object)(_it.Panel.getObject())); - //BA.debugLineNum = 118;BA.debugLine="ListOfItemsThatShouldBeUpdated.Add(i)"; -_listofitemsthatshouldbeupdated.Add((Object)(_i)); - }else if(_prevset._contains /*boolean*/ ((Object)(_it.Panel.getObject()))) { - //BA.debugLineNum = 120;BA.debugLine="NextSet.Add(it.Panel)"; -_nextset._add /*String*/ ((Object)(_it.Panel.getObject())); +RDebugUtils.currentLine=20971537; + //BA.debugLineNum = 20971537;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; +__ref._mclv /*b4a.example3.customlistview*/ ._sv.getScrollViewInnerPanel().AddView((android.view.View)(_it.Panel.getObject()),(int) (0),_it.Offset,__ref._mclv /*b4a.example3.customlistview*/ ._sv.getWidth(),_it.Size); }; +RDebugUtils.currentLine=20971539; + //BA.debugLineNum = 20971539;BA.debugLine="NextSet.Add(it.Panel)"; +_nextset._add /*String*/ (null,(Object)(_it.Panel.getObject())); +RDebugUtils.currentLine=20971540; + //BA.debugLineNum = 20971540;BA.debugLine="ListOfItemsThatShouldBeUpdated.Add(i)"; +__ref._listofitemsthatshouldbeupdated /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_i)); + }else +{RDebugUtils.currentLine=20971541; + //BA.debugLineNum = 20971541;BA.debugLine="Else if PrevSet.Contains(it.Panel) Then"; +if (_prevset._contains /*boolean*/ (null,(Object)(_it.Panel.getObject()))) { +RDebugUtils.currentLine=20971542; + //BA.debugLineNum = 20971542;BA.debugLine="NextSet.Add(it.Panel)"; +_nextset._add /*String*/ (null,(Object)(_it.Panel.getObject())); + }} +; } }; - //BA.debugLineNum = 123;BA.debugLine="For Each pnl As B4XView In PrevSet.AsList"; +RDebugUtils.currentLine=20971545; + //BA.debugLineNum = 20971545;BA.debugLine="For Each pnl As B4XView In PrevSet.AsList"; _pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group25 = _prevset._aslist /*anywheresoftware.b4a.objects.collections.List*/ (); +final anywheresoftware.b4a.BA.IterableList group25 = _prevset._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null); final int groupLen25 = group25.getSize() ;int index25 = 0; ; for (; index25 < groupLen25;index25++){ _pnl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group25.Get(index25))); - //BA.debugLineNum = 124;BA.debugLine="If NextSet.Contains(pnl) = False Then"; -if (_nextset._contains /*boolean*/ ((Object)(_pnl.getObject()))==__c.False) { - //BA.debugLineNum = 125;BA.debugLine="If pnl.Parent.IsInitialized Then"; +RDebugUtils.currentLine=20971546; + //BA.debugLineNum = 20971546;BA.debugLine="If NextSet.Contains(pnl) = False Then"; +if (_nextset._contains /*boolean*/ (null,(Object)(_pnl.getObject()))==__c.False) { +RDebugUtils.currentLine=20971547; + //BA.debugLineNum = 20971547;BA.debugLine="If pnl.Parent.IsInitialized Then"; if (_pnl.getParent().IsInitialized()) { - //BA.debugLineNum = 126;BA.debugLine="pnl.RemoveViewFromParent"; +RDebugUtils.currentLine=20971548; + //BA.debugLineNum = 20971548;BA.debugLine="pnl.RemoveViewFromParent"; _pnl.RemoveViewFromParent(); - //BA.debugLineNum = 127;BA.debugLine="pnl.GetView(0).RemoveAllViews"; +RDebugUtils.currentLine=20971549; + //BA.debugLineNum = 20971549;BA.debugLine="pnl.GetView(0).RemoveAllViews"; _pnl.GetView((int) (0)).RemoveAllViews(); - //BA.debugLineNum = 128;BA.debugLine="pnl.RemoveAllViews"; +RDebugUtils.currentLine=20971550; + //BA.debugLineNum = 20971550;BA.debugLine="pnl.RemoveAllViews"; _pnl.RemoveAllViews(); - //BA.debugLineNum = 129;BA.debugLine="PanelsCache.Add(pnl)"; -_panelscache.Add((Object)(_pnl.getObject())); - //BA.debugLineNum = 130;BA.debugLine="Dim it As CLVItem = items.Get(pnl.Tag)"; -_it = (b4a.example3.customlistview._clvitem)(_items.Get((int)(BA.ObjectToNumber(_pnl.getTag())))); - //BA.debugLineNum = 131;BA.debugLine="it.Panel = StubPanel"; -_it.Panel = _stubpanel; +RDebugUtils.currentLine=20971551; + //BA.debugLineNum = 20971551;BA.debugLine="PanelsCache.Add(pnl)"; +__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_pnl.getObject())); +RDebugUtils.currentLine=20971552; + //BA.debugLineNum = 20971552;BA.debugLine="Dim it As CLVItem = items.Get(pnl.Tag)"; +_it = (b4a.example3.customlistview._clvitem)(__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .Get((int)(BA.ObjectToNumber(_pnl.getTag())))); +RDebugUtils.currentLine=20971553; + //BA.debugLineNum = 20971553;BA.debugLine="it.Panel = StubPanel"; +_it.Panel = __ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; }; }; } }; - //BA.debugLineNum = 135;BA.debugLine="HandleScrollBar (FirstIndex)"; -_handlescrollbar(_firstindex); - //BA.debugLineNum = 136;BA.debugLine="Return ListOfItemsThatShouldBeUpdated"; -if (true) return _listofitemsthatshouldbeupdated; - //BA.debugLineNum = 137;BA.debugLine="End Sub"; +RDebugUtils.currentLine=20971557; + //BA.debugLineNum = 20971557;BA.debugLine="HandleScrollBar (FirstIndex)"; +__ref._handlescrollbar /*String*/ (null,_firstindex); +RDebugUtils.currentLine=20971558; + //BA.debugLineNum = 20971558;BA.debugLine="Return ListOfItemsThatShouldBeUpdated"; +if (true) return __ref._listofitemsthatshouldbeupdated /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=20971559; + //BA.debugLineNum = 20971559;BA.debugLine="End Sub"; return null; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel(); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/roundslider.java b/B4A/Objects/src/gunav2/keymon/com/mx/roundslider.java index e490227..cdbad27 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/roundslider.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/roundslider.java @@ -10,7 +10,7 @@ public class roundslider extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.roundslider"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.roundslider"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class roundslider extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -50,164 +57,113 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 90;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 91;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 92;BA.debugLine="If thumb.IsInitialized = False Then CreateThumb"; -if (_thumb.IsInitialized()==__c.False) { -_createthumb();}; - //BA.debugLineNum = 93;BA.debugLine="CircleRect.Initialize(ThumbSize + stroke, ThumbSi"; -_circlerect.Initialize((float) (_thumbsize+_stroke),(float) (_thumbsize+_stroke),(float) (_width-_thumbsize-_stroke),(float) (_height-_thumbsize-_stroke)); - //BA.debugLineNum = 94;BA.debugLine="xlbl.SetLayoutAnimated(0, CircleRect.Left, Circle"; -_xlbl.SetLayoutAnimated((int) (0),(int) (_circlerect.getLeft()),(int) (_circlerect.getTop()),(int) (_circlerect.getWidth()),(int) (_circlerect.getHeight())); - //BA.debugLineNum = 95;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; +public String _base_resize(gunav2.keymon.com.mx.roundslider __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=40370176; + //BA.debugLineNum = 40370176;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=40370177; + //BA.debugLineNum = 40370177;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=40370178; + //BA.debugLineNum = 40370178;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width, Height)"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=40370179; + //BA.debugLineNum = 40370179;BA.debugLine="If thumb.IsInitialized = False Then CreateThumb"; +if (__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.False) { +__ref._createthumb /*String*/ (null);}; +RDebugUtils.currentLine=40370180; + //BA.debugLineNum = 40370180;BA.debugLine="CircleRect.Initialize(ThumbSize + stroke, ThumbSi"; +__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .Initialize((float) (__ref._thumbsize /*int*/ +__ref._stroke /*int*/ ),(float) (__ref._thumbsize /*int*/ +__ref._stroke /*int*/ ),(float) (_width-__ref._thumbsize /*int*/ -__ref._stroke /*int*/ ),(float) (_height-__ref._thumbsize /*int*/ -__ref._stroke /*int*/ )); +RDebugUtils.currentLine=40370181; + //BA.debugLineNum = 40370181;BA.debugLine="xlbl.SetLayoutAnimated(0, CircleRect.Left, Circle"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getLeft()),(int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getTop()),(int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()),(int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getHeight())); +RDebugUtils.currentLine=40370182; + //BA.debugLineNum = 40370182;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=40370183; + //BA.debugLineNum = 40370183;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 12;BA.debugLine="Private mValue As Int = 75"; -_mvalue = (int) (75); - //BA.debugLineNum = 13;BA.debugLine="Private mMin, mMax As Int"; -_mmin = 0; -_mmax = 0; - //BA.debugLineNum = 14;BA.debugLine="Private thumb As B4XBitmap"; -_thumb = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private pnl As B4XView"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private xlbl As B4XView"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private CircleRect As B4XRect"; -_circlerect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 18;BA.debugLine="Private ValueColor As Int"; -_valuecolor = 0; - //BA.debugLineNum = 19;BA.debugLine="Private stroke As Int"; -_stroke = 0; - //BA.debugLineNum = 20;BA.debugLine="Private ThumbSize As Int"; -_thumbsize = 0; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; -_mthumbbordercolor = ((int)0xff5b5b5b); - //BA.debugLineNum = 23;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; -_mthumbinnercolor = _xui.Color_White; - //BA.debugLineNum = 24;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; -_mcirclefillcolor = _xui.Color_White; - //BA.debugLineNum = 25;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; -_mcirclenonvaluecolor = ((int)0xffb6b6b6); - //BA.debugLineNum = 26;BA.debugLine="Private mRollOver As Boolean"; -_mrollover = false; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _createthumb() throws Exception{ +public String _createthumb(gunav2.keymon.com.mx.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "createthumb", true)) + {return ((String) Debug.delegate(ba, "createthumb", null));} b4a.example.bcpath _p = null; int _r = 0; int _g = 0; int _l = 0; b4a.example.bitmapcreator _bc = null; - //BA.debugLineNum = 70;BA.debugLine="Private Sub CreateThumb"; - //BA.debugLineNum = 71;BA.debugLine="Dim p As BCPath"; +RDebugUtils.currentLine=40304640; + //BA.debugLineNum = 40304640;BA.debugLine="Private Sub CreateThumb"; +RDebugUtils.currentLine=40304641; + //BA.debugLineNum = 40304641;BA.debugLine="Dim p As BCPath"; _p = new b4a.example.bcpath(); - //BA.debugLineNum = 72;BA.debugLine="Dim r As Int = 80dip"; +RDebugUtils.currentLine=40304642; + //BA.debugLineNum = 40304642;BA.debugLine="Dim r As Int = 80dip"; _r = __c.DipToCurrent((int) (80)); - //BA.debugLineNum = 73;BA.debugLine="Dim g As Int = 8dip"; +RDebugUtils.currentLine=40304643; + //BA.debugLineNum = 40304643;BA.debugLine="Dim g As Int = 8dip"; _g = __c.DipToCurrent((int) (8)); - //BA.debugLineNum = 74;BA.debugLine="Dim l As Int = 28dip"; +RDebugUtils.currentLine=40304644; + //BA.debugLineNum = 40304644;BA.debugLine="Dim l As Int = 28dip"; _l = __c.DipToCurrent((int) (28)); - //BA.debugLineNum = 75;BA.debugLine="Dim bc As BitmapCreator"; +RDebugUtils.currentLine=40304645; + //BA.debugLineNum = 40304645;BA.debugLine="Dim bc As BitmapCreator"; _bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 76;BA.debugLine="bc.Initialize(2 * r + g + 3dip, 2 * r + l + g)"; +RDebugUtils.currentLine=40304646; + //BA.debugLineNum = 40304646;BA.debugLine="bc.Initialize(2 * r + g + 3dip, 2 * r + l + g)"; _bc._initialize(ba,(int) (2*_r+_g+__c.DipToCurrent((int) (3))),(int) (2*_r+_l+_g)); - //BA.debugLineNum = 77;BA.debugLine="p.Initialize(r - l + g, 2 * r - 2dip + g)"; +RDebugUtils.currentLine=40304647; + //BA.debugLineNum = 40304647;BA.debugLine="p.Initialize(r - l + g, 2 * r - 2dip + g)"; _p._initialize(ba,(float) (_r-_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 78;BA.debugLine="p.LineTo(r + l + g, 2 * r - 2dip + g)"; +RDebugUtils.currentLine=40304648; + //BA.debugLineNum = 40304648;BA.debugLine="p.LineTo(r + l + g, 2 * r - 2dip + g)"; _p._lineto((float) (_r+_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 79;BA.debugLine="p.LineTo(r + g, 2 * r + l + g)"; +RDebugUtils.currentLine=40304649; + //BA.debugLineNum = 40304649;BA.debugLine="p.LineTo(r + g, 2 * r + l + g)"; _p._lineto((float) (_r+_g),(float) (2*_r+_l+_g)); - //BA.debugLineNum = 80;BA.debugLine="p.LineTo(r - l + g, 2 * r - 2dip + g)"; +RDebugUtils.currentLine=40304650; + //BA.debugLineNum = 40304650;BA.debugLine="p.LineTo(r - l + g, 2 * r - 2dip + g)"; _p._lineto((float) (_r-_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 81;BA.debugLine="bc.DrawPath(p, mThumbBorderColor, True, 0)"; -_bc._drawpath(_p,_mthumbbordercolor,__c.True,(int) (0)); - //BA.debugLineNum = 82;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbInnerColor,"; -_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),_mthumbinnercolor,__c.True,(int) (0)); - //BA.debugLineNum = 83;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbBorderColor,"; -_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),_mthumbbordercolor,__c.False,__c.DipToCurrent((int) (10))); - //BA.debugLineNum = 84;BA.debugLine="thumb = bc.Bitmap"; -_thumb = _bc._getbitmap(); - //BA.debugLineNum = 85;BA.debugLine="ThumbSize = thumb.Height / 4"; -_thumbsize = (int) (_thumb.getHeight()/(double)4); - //BA.debugLineNum = 86;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 87;BA.debugLine="End Sub"; +RDebugUtils.currentLine=40304651; + //BA.debugLineNum = 40304651;BA.debugLine="bc.DrawPath(p, mThumbBorderColor, True, 0)"; +_bc._drawpath(_p,__ref._mthumbbordercolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=40304652; + //BA.debugLineNum = 40304652;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbInnerColor,"; +_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),__ref._mthumbinnercolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=40304653; + //BA.debugLineNum = 40304653;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbBorderColor,"; +_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),__ref._mthumbbordercolor /*int*/ ,__c.False,__c.DipToCurrent((int) (10))); +RDebugUtils.currentLine=40304654; + //BA.debugLineNum = 40304654;BA.debugLine="thumb = bc.Bitmap"; +__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bc._getbitmap(); +RDebugUtils.currentLine=40304655; + //BA.debugLineNum = 40304655;BA.debugLine="ThumbSize = thumb.Height / 4"; +__ref._thumbsize /*int*/ = (int) (__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()/(double)4); +RDebugUtils.currentLine=40304656; + //BA.debugLineNum = 40304656;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=40304657; + //BA.debugLineNum = 40304657;BA.debugLine="End Sub"; return ""; } -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 36;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 38;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 39;BA.debugLine="mMin = Props.Get(\"Min\")"; -_mmin = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); - //BA.debugLineNum = 40;BA.debugLine="mMax = Props.Get(\"Max\")"; -_mmax = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); - //BA.debugLineNum = 41;BA.debugLine="mValue = mMin"; -_mvalue = _mmin; - //BA.debugLineNum = 42;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 43;BA.debugLine="xlbl = Lbl"; -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 44;BA.debugLine="xlbl.Visible = True"; -_xlbl.setVisible(__c.True); - //BA.debugLineNum = 45;BA.debugLine="mBase.AddView(xlbl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 46;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 47;BA.debugLine="ValueColor = xui.PaintOrColorToColor(Props.Get(\"V"; -_valuecolor = _xui.PaintOrColorToColor(_props.Get((Object)("ValueColor"))); - //BA.debugLineNum = 48;BA.debugLine="mRollOver = Props.GetDefault(\"RollOver\", False)"; -_mrollover = BA.ObjectToBoolean(_props.GetDefault((Object)("RollOver"),(Object)(__c.False))); - //BA.debugLineNum = 49;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { - //BA.debugLineNum = 50;BA.debugLine="stroke = 8dip"; -_stroke = __c.DipToCurrent((int) (8)); - }else if(_xui.getIsB4J()) { - //BA.debugLineNum = 52;BA.debugLine="stroke = 6dip"; -_stroke = __c.DipToCurrent((int) (6)); - }; - //BA.debugLineNum = 54;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ +public String _draw(gunav2.keymon.com.mx.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} int _radius = 0; anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; int _angle = 0; @@ -216,178 +172,415 @@ anywheresoftware.b4a.objects.B4XCanvas.B4XRect _dest = null; int _r = 0; int _cx = 0; int _cy = 0; - //BA.debugLineNum = 98;BA.debugLine="Public Sub Draw"; - //BA.debugLineNum = 99;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 100;BA.debugLine="Dim radius As Int = CircleRect.Width / 2"; -_radius = (int) (_circlerect.getWidth()/(double)2); - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius),_mcirclenonvaluecolor,__c.False,(float) (_stroke)); - //BA.debugLineNum = 102;BA.debugLine="Dim p As B4XPath"; +RDebugUtils.currentLine=40435712; + //BA.debugLineNum = 40435712;BA.debugLine="Public Sub Draw"; +RDebugUtils.currentLine=40435713; + //BA.debugLineNum = 40435713;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=40435714; + //BA.debugLineNum = 40435714;BA.debugLine="Dim radius As Int = CircleRect.Width / 2"; +_radius = (int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()/(double)2); +RDebugUtils.currentLine=40435715; + //BA.debugLineNum = 40435715;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle(__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX(),__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY(),(float) (_radius),__ref._mcirclenonvaluecolor /*int*/ ,__c.False,(float) (__ref._stroke /*int*/ )); +RDebugUtils.currentLine=40435716; + //BA.debugLineNum = 40435716;BA.debugLine="Dim p As B4XPath"; _p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 103;BA.debugLine="Dim angle As Int = (mValue - mMin) / (mMax - mMin"; -_angle = (int) ((_mvalue-_mmin)/(double)(_mmax-_mmin)*360); - //BA.debugLineNum = 104;BA.debugLine="Dim B4JStrokeOffset As Int"; +RDebugUtils.currentLine=40435717; + //BA.debugLineNum = 40435717;BA.debugLine="Dim angle As Int = (mValue - mMin) / (mMax - mMin"; +_angle = (int) ((__ref._mvalue /*int*/ -__ref._mmin /*int*/ )/(double)(__ref._mmax /*int*/ -__ref._mmin /*int*/ )*360); +RDebugUtils.currentLine=40435718; + //BA.debugLineNum = 40435718;BA.debugLine="Dim B4JStrokeOffset As Int"; _b4jstrokeoffset = 0; - //BA.debugLineNum = 105;BA.debugLine="If xui.IsB4J Then B4JStrokeOffset = stroke / 2"; -if (_xui.getIsB4J()) { -_b4jstrokeoffset = (int) (_stroke/(double)2);}; - //BA.debugLineNum = 106;BA.debugLine="If mValue = mMax Then"; -if (_mvalue==_mmax) { - //BA.debugLineNum = 107;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Ce"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius),_valuecolor,__c.False,(float) (_stroke)); +RDebugUtils.currentLine=40435719; + //BA.debugLineNum = 40435719;BA.debugLine="If xui.IsB4J Then B4JStrokeOffset = stroke / 2"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +_b4jstrokeoffset = (int) (__ref._stroke /*int*/ /(double)2);}; +RDebugUtils.currentLine=40435720; + //BA.debugLineNum = 40435720;BA.debugLine="If mValue = mMax Then"; +if (__ref._mvalue /*int*/ ==__ref._mmax /*int*/ ) { +RDebugUtils.currentLine=40435721; + //BA.debugLineNum = 40435721;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Ce"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle(__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX(),__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY(),(float) (_radius),__ref._valuecolor /*int*/ ,__c.False,(float) (__ref._stroke /*int*/ )); }else { - //BA.debugLineNum = 109;BA.debugLine="p.InitializeArc(CircleRect.CenterX, CircleRect.C"; -_p.InitializeArc(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius+_b4jstrokeoffset),(float) (-90),(float) (_angle)); - //BA.debugLineNum = 110;BA.debugLine="cvs.DrawPath(p, ValueColor, False, stroke)"; -_cvs.DrawPath(_p,_valuecolor,__c.False,(float) (_stroke)); +RDebugUtils.currentLine=40435723; + //BA.debugLineNum = 40435723;BA.debugLine="p.InitializeArc(CircleRect.CenterX, CircleRect.C"; +_p.InitializeArc(__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX(),__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY(),(float) (_radius+_b4jstrokeoffset),(float) (-90),(float) (_angle)); +RDebugUtils.currentLine=40435724; + //BA.debugLineNum = 40435724;BA.debugLine="cvs.DrawPath(p, ValueColor, False, stroke)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,__ref._valuecolor /*int*/ ,__c.False,(float) (__ref._stroke /*int*/ )); }; - //BA.debugLineNum = 112;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius-_b4jstrokeoffset),_mcirclefillcolor,__c.True,(float) (0)); - //BA.debugLineNum = 113;BA.debugLine="Dim dest As B4XRect"; +RDebugUtils.currentLine=40435726; + //BA.debugLineNum = 40435726;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle(__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX(),__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY(),(float) (_radius-_b4jstrokeoffset),__ref._mcirclefillcolor /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=40435727; + //BA.debugLineNum = 40435727;BA.debugLine="Dim dest As B4XRect"; _dest = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 114;BA.debugLine="Dim r As Int = radius + ThumbSize / 2 + stroke /"; -_r = (int) (_radius+_thumbsize/(double)2+_stroke/(double)2); - //BA.debugLineNum = 115;BA.debugLine="Dim cx As Int = CircleRect.CenterX + r * CosD(ang"; -_cx = (int) (_circlerect.getCenterX()+_r*__c.CosD(_angle-90)); - //BA.debugLineNum = 116;BA.debugLine="Dim cy As Int = CircleRect.CenterY + r * SinD(ang"; -_cy = (int) (_circlerect.getCenterY()+_r*__c.SinD(_angle-90)); - //BA.debugLineNum = 117;BA.debugLine="dest.Initialize(cx - thumb.Width / 8, cy - ThumbS"; -_dest.Initialize((float) (_cx-_thumb.getWidth()/(double)8),(float) (_cy-_thumbsize/(double)2),(float) (_cx+_thumb.getWidth()/(double)8),(float) (_cy+_thumbsize/(double)2)); - //BA.debugLineNum = 118;BA.debugLine="cvs.DrawBitmapRotated(thumb, dest, angle)"; -_cvs.DrawBitmapRotated((android.graphics.Bitmap)(_thumb.getObject()),_dest,(float) (_angle)); - //BA.debugLineNum = 119;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 120;BA.debugLine="xlbl.Text = mValue"; -_xlbl.setText(BA.ObjectToCharSequence(_mvalue)); - //BA.debugLineNum = 121;BA.debugLine="End Sub"; +RDebugUtils.currentLine=40435728; + //BA.debugLineNum = 40435728;BA.debugLine="Dim r As Int = radius + ThumbSize / 2 + stroke /"; +_r = (int) (_radius+__ref._thumbsize /*int*/ /(double)2+__ref._stroke /*int*/ /(double)2); +RDebugUtils.currentLine=40435729; + //BA.debugLineNum = 40435729;BA.debugLine="Dim cx As Int = CircleRect.CenterX + r * CosD(ang"; +_cx = (int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX()+_r*__c.CosD(_angle-90)); +RDebugUtils.currentLine=40435730; + //BA.debugLineNum = 40435730;BA.debugLine="Dim cy As Int = CircleRect.CenterY + r * SinD(ang"; +_cy = (int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY()+_r*__c.SinD(_angle-90)); +RDebugUtils.currentLine=40435731; + //BA.debugLineNum = 40435731;BA.debugLine="dest.Initialize(cx - thumb.Width / 8, cy - ThumbS"; +_dest.Initialize((float) (_cx-__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()/(double)8),(float) (_cy-__ref._thumbsize /*int*/ /(double)2),(float) (_cx+__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()/(double)8),(float) (_cy+__ref._thumbsize /*int*/ /(double)2)); +RDebugUtils.currentLine=40435732; + //BA.debugLineNum = 40435732;BA.debugLine="cvs.DrawBitmapRotated(thumb, dest, angle)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawBitmapRotated((android.graphics.Bitmap)(__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getObject()),_dest,(float) (_angle)); +RDebugUtils.currentLine=40435733; + //BA.debugLineNum = 40435733;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=40435734; + //BA.debugLineNum = 40435734;BA.debugLine="xlbl.Text = mValue"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._mvalue /*int*/ )); +RDebugUtils.currentLine=40435735; + //BA.debugLineNum = 40435735;BA.debugLine="End Sub"; return ""; } -public int _getvalue() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 183;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 184;BA.debugLine="End Sub"; +public String _class_globals(gunav2.keymon.com.mx.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +RDebugUtils.currentLine=39976960; + //BA.debugLineNum = 39976960;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=39976961; + //BA.debugLineNum = 39976961;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=39976962; + //BA.debugLineNum = 39976962;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=39976963; + //BA.debugLineNum = 39976963;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=39976964; + //BA.debugLineNum = 39976964;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=39976965; + //BA.debugLineNum = 39976965;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=39976966; + //BA.debugLineNum = 39976966;BA.debugLine="Private mValue As Int = 75"; +_mvalue = (int) (75); +RDebugUtils.currentLine=39976967; + //BA.debugLineNum = 39976967;BA.debugLine="Private mMin, mMax As Int"; +_mmin = 0; +_mmax = 0; +RDebugUtils.currentLine=39976968; + //BA.debugLineNum = 39976968;BA.debugLine="Private thumb As B4XBitmap"; +_thumb = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=39976969; + //BA.debugLineNum = 39976969;BA.debugLine="Private pnl As B4XView"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=39976970; + //BA.debugLineNum = 39976970;BA.debugLine="Private xlbl As B4XView"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=39976971; + //BA.debugLineNum = 39976971;BA.debugLine="Private CircleRect As B4XRect"; +_circlerect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=39976972; + //BA.debugLineNum = 39976972;BA.debugLine="Private ValueColor As Int"; +_valuecolor = 0; +RDebugUtils.currentLine=39976973; + //BA.debugLineNum = 39976973;BA.debugLine="Private stroke As Int"; +_stroke = 0; +RDebugUtils.currentLine=39976974; + //BA.debugLineNum = 39976974;BA.debugLine="Private ThumbSize As Int"; +_thumbsize = 0; +RDebugUtils.currentLine=39976975; + //BA.debugLineNum = 39976975;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=39976976; + //BA.debugLineNum = 39976976;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; +_mthumbbordercolor = ((int)0xff5b5b5b); +RDebugUtils.currentLine=39976977; + //BA.debugLineNum = 39976977;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; +_mthumbinnercolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=39976978; + //BA.debugLineNum = 39976978;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; +_mcirclefillcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=39976979; + //BA.debugLineNum = 39976979;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; +_mcirclenonvaluecolor = ((int)0xffb6b6b6); +RDebugUtils.currentLine=39976980; + //BA.debugLineNum = 39976980;BA.debugLine="Private mRollOver As Boolean"; +_mrollover = false; +RDebugUtils.currentLine=39976981; + //BA.debugLineNum = 39976981;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(gunav2.keymon.com.mx.roundslider __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +RDebugUtils.currentLine=40108032; + //BA.debugLineNum = 40108032;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=40108033; + //BA.debugLineNum = 40108033;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=40108034; + //BA.debugLineNum = 40108034;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=40108034; + //BA.debugLineNum = 40108034;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=40108035; + //BA.debugLineNum = 40108035;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=40108036; + //BA.debugLineNum = 40108036;BA.debugLine="mMin = Props.Get(\"Min\")"; +__ref._mmin /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); +RDebugUtils.currentLine=40108037; + //BA.debugLineNum = 40108037;BA.debugLine="mMax = Props.Get(\"Max\")"; +__ref._mmax /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); +RDebugUtils.currentLine=40108038; + //BA.debugLineNum = 40108038;BA.debugLine="mValue = mMin"; +__ref._mvalue /*int*/ = __ref._mmin /*int*/ ; +RDebugUtils.currentLine=40108039; + //BA.debugLineNum = 40108039;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=40108040; + //BA.debugLineNum = 40108040;BA.debugLine="xlbl = Lbl"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=40108041; + //BA.debugLineNum = 40108041;BA.debugLine="xlbl.Visible = True"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=40108042; + //BA.debugLineNum = 40108042;BA.debugLine="mBase.AddView(xlbl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=40108043; + //BA.debugLineNum = 40108043;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=40108044; + //BA.debugLineNum = 40108044;BA.debugLine="ValueColor = xui.PaintOrColorToColor(Props.Get(\"V"; +__ref._valuecolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ValueColor"))); +RDebugUtils.currentLine=40108045; + //BA.debugLineNum = 40108045;BA.debugLine="mRollOver = Props.GetDefault(\"RollOver\", False)"; +__ref._mrollover /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("RollOver"),(Object)(__c.False))); +RDebugUtils.currentLine=40108046; + //BA.debugLineNum = 40108046;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=40108047; + //BA.debugLineNum = 40108047;BA.debugLine="stroke = 8dip"; +__ref._stroke /*int*/ = __c.DipToCurrent((int) (8)); + }else +{RDebugUtils.currentLine=40108048; + //BA.debugLineNum = 40108048;BA.debugLine="Else If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=40108049; + //BA.debugLineNum = 40108049;BA.debugLine="stroke = 6dip"; +__ref._stroke /*int*/ = __c.DipToCurrent((int) (6)); + }} +; +RDebugUtils.currentLine=40108051; + //BA.debugLineNum = 40108051;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=40108052; + //BA.debugLineNum = 40108052;BA.debugLine="End Sub"; +return ""; +} +public int _getvalue(gunav2.keymon.com.mx.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=40697856; + //BA.debugLineNum = 40697856;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=40697857; + //BA.debugLineNum = 40697857;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=40697858; + //BA.debugLineNum = 40697858;BA.debugLine="End Sub"; return 0; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.roundslider __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 30;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 31;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=40042496; + //BA.debugLineNum = 40042496;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=40042497; + //BA.debugLineNum = 40042497;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=40042498; + //BA.debugLineNum = 40042498;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=40042499; + //BA.debugLineNum = 40042499;BA.debugLine="End Sub"; return ""; } -public String _pnl_touch(int _action,float _x,float _y) throws Exception{ +public String _pnl_touch(gunav2.keymon.com.mx.roundslider __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "pnl_touch", true)) + {return ((String) Debug.delegate(ba, "pnl_touch", new Object[] {_action,_x,_y}));} int _dx = 0; int _dy = 0; float _dist = 0f; int _angle = 0; int _newvalue = 0; - //BA.debugLineNum = 123;BA.debugLine="Private Sub pnl_Touch (Action As Int, X As Float,"; - //BA.debugLineNum = 124;BA.debugLine="If Action = pnl.TOUCH_ACTION_MOVE_NOTOUCH Then Re"; -if (_action==_pnl.TOUCH_ACTION_MOVE_NOTOUCH) { +RDebugUtils.currentLine=40501248; + //BA.debugLineNum = 40501248;BA.debugLine="Private Sub pnl_Touch (Action As Int, X As Float,"; +RDebugUtils.currentLine=40501249; + //BA.debugLineNum = 40501249;BA.debugLine="If Action = pnl.TOUCH_ACTION_MOVE_NOTOUCH Then Re"; +if (_action==__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE_NOTOUCH) { if (true) return "";}; - //BA.debugLineNum = 125;BA.debugLine="Dim dx As Int = x - CircleRect.CenterX"; -_dx = (int) (_x-_circlerect.getCenterX()); - //BA.debugLineNum = 126;BA.debugLine="Dim dy As Int = y - CircleRect.CenterY"; -_dy = (int) (_y-_circlerect.getCenterY()); - //BA.debugLineNum = 127;BA.debugLine="Dim dist As Float = Sqrt(Power(dx, 2) + Power(dy,"; +RDebugUtils.currentLine=40501250; + //BA.debugLineNum = 40501250;BA.debugLine="Dim dx As Int = x - CircleRect.CenterX"; +_dx = (int) (_x-__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX()); +RDebugUtils.currentLine=40501251; + //BA.debugLineNum = 40501251;BA.debugLine="Dim dy As Int = y - CircleRect.CenterY"; +_dy = (int) (_y-__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY()); +RDebugUtils.currentLine=40501252; + //BA.debugLineNum = 40501252;BA.debugLine="Dim dist As Float = Sqrt(Power(dx, 2) + Power(dy,"; _dist = (float) (__c.Sqrt(__c.Power(_dx,2)+__c.Power(_dy,2))); - //BA.debugLineNum = 128;BA.debugLine="If dist > CircleRect.Width / 2 Then"; -if (_dist>_circlerect.getWidth()/(double)2) { - //BA.debugLineNum = 129;BA.debugLine="Dim angle As Int = Round(ATan2D(dy, dx))"; +RDebugUtils.currentLine=40501253; + //BA.debugLineNum = 40501253;BA.debugLine="If dist > CircleRect.Width / 2 Then"; +if (_dist>__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()/(double)2) { +RDebugUtils.currentLine=40501254; + //BA.debugLineNum = 40501254;BA.debugLine="Dim angle As Int = Round(ATan2D(dy, dx))"; _angle = (int) (__c.Round(__c.ATan2D(_dy,_dx))); - //BA.debugLineNum = 130;BA.debugLine="angle = angle + 90"; +RDebugUtils.currentLine=40501255; + //BA.debugLineNum = 40501255;BA.debugLine="angle = angle + 90"; _angle = (int) (_angle+90); - //BA.debugLineNum = 131;BA.debugLine="angle = (angle + 360) Mod 360"; +RDebugUtils.currentLine=40501256; + //BA.debugLineNum = 40501256;BA.debugLine="angle = (angle + 360) Mod 360"; _angle = (int) ((_angle+360)%360); - //BA.debugLineNum = 132;BA.debugLine="Dim NewValue As Int = mMin + angle / 360 * (mMax"; -_newvalue = (int) (_mmin+_angle/(double)360*(_mmax-_mmin)); - //BA.debugLineNum = 133;BA.debugLine="NewValue = Max(mMin, Min(mMax, NewValue))"; -_newvalue = (int) (__c.Max(_mmin,__c.Min(_mmax,_newvalue))); - //BA.debugLineNum = 134;BA.debugLine="If NewValue <> mValue Then"; -if (_newvalue!=_mvalue) { - //BA.debugLineNum = 135;BA.debugLine="If mRollOver = False Then"; -if (_mrollover==__c.False) { - //BA.debugLineNum = 136;BA.debugLine="If Abs(NewValue - mValue) > (mMax - mMin) / 2"; -if (__c.Abs(_newvalue-_mvalue)>(_mmax-_mmin)/(double)2) { - //BA.debugLineNum = 137;BA.debugLine="If mValue >= (mMax + mMin) / 2 Then"; -if (_mvalue>=(_mmax+_mmin)/(double)2) { - //BA.debugLineNum = 138;BA.debugLine="mValue = mMax"; -_mvalue = _mmax; +RDebugUtils.currentLine=40501257; + //BA.debugLineNum = 40501257;BA.debugLine="Dim NewValue As Int = mMin + angle / 360 * (mMax"; +_newvalue = (int) (__ref._mmin /*int*/ +_angle/(double)360*(__ref._mmax /*int*/ -__ref._mmin /*int*/ )); +RDebugUtils.currentLine=40501258; + //BA.debugLineNum = 40501258;BA.debugLine="NewValue = Max(mMin, Min(mMax, NewValue))"; +_newvalue = (int) (__c.Max(__ref._mmin /*int*/ ,__c.Min(__ref._mmax /*int*/ ,_newvalue))); +RDebugUtils.currentLine=40501259; + //BA.debugLineNum = 40501259;BA.debugLine="If NewValue <> mValue Then"; +if (_newvalue!=__ref._mvalue /*int*/ ) { +RDebugUtils.currentLine=40501260; + //BA.debugLineNum = 40501260;BA.debugLine="If mRollOver = False Then"; +if (__ref._mrollover /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=40501261; + //BA.debugLineNum = 40501261;BA.debugLine="If Abs(NewValue - mValue) > (mMax - mMin) / 2"; +if (__c.Abs(_newvalue-__ref._mvalue /*int*/ )>(__ref._mmax /*int*/ -__ref._mmin /*int*/ )/(double)2) { +RDebugUtils.currentLine=40501262; + //BA.debugLineNum = 40501262;BA.debugLine="If mValue >= (mMax + mMin) / 2 Then"; +if (__ref._mvalue /*int*/ >=(__ref._mmax /*int*/ +__ref._mmin /*int*/ )/(double)2) { +RDebugUtils.currentLine=40501263; + //BA.debugLineNum = 40501263;BA.debugLine="mValue = mMax"; +__ref._mvalue /*int*/ = __ref._mmax /*int*/ ; }else { - //BA.debugLineNum = 140;BA.debugLine="mValue = mMin"; -_mvalue = _mmin; +RDebugUtils.currentLine=40501265; + //BA.debugLineNum = 40501265;BA.debugLine="mValue = mMin"; +__ref._mvalue /*int*/ = __ref._mmin /*int*/ ; }; }else { - //BA.debugLineNum = 143;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; +RDebugUtils.currentLine=40501268; + //BA.debugLineNum = 40501268;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; }; }else { - //BA.debugLineNum = 146;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; +RDebugUtils.currentLine=40501271; + //BA.debugLineNum = 40501271;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; }; - //BA.debugLineNum = 148;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Valu"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 149;BA.debugLine="CallSub2(mCallBack, mEventName & \"_ValueChange"; -__c.CallSubNew2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); +RDebugUtils.currentLine=40501273; + //BA.debugLineNum = 40501273;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Valu"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(int) (1))) { +RDebugUtils.currentLine=40501274; + //BA.debugLineNum = 40501274;BA.debugLine="CallSub2(mCallBack, mEventName & \"_ValueChange"; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*int*/ )); }; }; - //BA.debugLineNum = 152;BA.debugLine="Draw"; -_draw(); +RDebugUtils.currentLine=40501277; + //BA.debugLineNum = 40501277;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); }; - //BA.debugLineNum = 154;BA.debugLine="End Sub"; +RDebugUtils.currentLine=40501279; + //BA.debugLineNum = 40501279;BA.debugLine="End Sub"; return ""; } -public String _setcirclecolor(int _nonvaluecolor,int _innercolor) throws Exception{ - //BA.debugLineNum = 64;BA.debugLine="Public Sub SetCircleColor (NonValueColor As Int, I"; - //BA.debugLineNum = 65;BA.debugLine="mCircleNonValueColor = NonValueColor"; -_mcirclenonvaluecolor = _nonvaluecolor; - //BA.debugLineNum = 66;BA.debugLine="mCircleFillColor = InnerColor"; -_mcirclefillcolor = _innercolor; - //BA.debugLineNum = 67;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; +public String _setcirclecolor(gunav2.keymon.com.mx.roundslider __ref,int _nonvaluecolor,int _innercolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setcirclecolor", true)) + {return ((String) Debug.delegate(ba, "setcirclecolor", new Object[] {_nonvaluecolor,_innercolor}));} +RDebugUtils.currentLine=40239104; + //BA.debugLineNum = 40239104;BA.debugLine="Public Sub SetCircleColor (NonValueColor As Int, I"; +RDebugUtils.currentLine=40239105; + //BA.debugLineNum = 40239105;BA.debugLine="mCircleNonValueColor = NonValueColor"; +__ref._mcirclenonvaluecolor /*int*/ = _nonvaluecolor; +RDebugUtils.currentLine=40239106; + //BA.debugLineNum = 40239106;BA.debugLine="mCircleFillColor = InnerColor"; +__ref._mcirclefillcolor /*int*/ = _innercolor; +RDebugUtils.currentLine=40239107; + //BA.debugLineNum = 40239107;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=40239108; + //BA.debugLineNum = 40239108;BA.debugLine="End Sub"; return ""; } -public String _setrange(int _newmin,int _newmax) throws Exception{ - //BA.debugLineNum = 176;BA.debugLine="Public Sub SetRange(NewMin As Int, NewMax As Int)"; - //BA.debugLineNum = 177;BA.debugLine="mMin = NewMin"; -_mmin = _newmin; - //BA.debugLineNum = 178;BA.debugLine="mMax = NewMax"; -_mmax = _newmax; - //BA.debugLineNum = 179;BA.debugLine="setValue(mValue)"; -_setvalue(_mvalue); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; +public String _setrange(gunav2.keymon.com.mx.roundslider __ref,int _newmin,int _newmax) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setrange", true)) + {return ((String) Debug.delegate(ba, "setrange", new Object[] {_newmin,_newmax}));} +RDebugUtils.currentLine=40632320; + //BA.debugLineNum = 40632320;BA.debugLine="Public Sub SetRange(NewMin As Int, NewMax As Int)"; +RDebugUtils.currentLine=40632321; + //BA.debugLineNum = 40632321;BA.debugLine="mMin = NewMin"; +__ref._mmin /*int*/ = _newmin; +RDebugUtils.currentLine=40632322; + //BA.debugLineNum = 40632322;BA.debugLine="mMax = NewMax"; +__ref._mmax /*int*/ = _newmax; +RDebugUtils.currentLine=40632323; + //BA.debugLineNum = 40632323;BA.debugLine="setValue(mValue)"; +__ref._setvalue /*String*/ (null,__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=40632324; + //BA.debugLineNum = 40632324;BA.debugLine="End Sub"; return ""; } -public String _setthumbcolor(int _bordercolor,int _innercolor) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Public Sub SetThumbColor(BorderColor As Int, Inner"; - //BA.debugLineNum = 58;BA.debugLine="mThumbBorderColor = BorderColor"; -_mthumbbordercolor = _bordercolor; - //BA.debugLineNum = 59;BA.debugLine="mThumbInnerColor = InnerColor"; -_mthumbinnercolor = _innercolor; - //BA.debugLineNum = 60;BA.debugLine="CreateThumb"; -_createthumb(); - //BA.debugLineNum = 61;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +public String _setvalue(gunav2.keymon.com.mx.roundslider __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=40566784; + //BA.debugLineNum = 40566784;BA.debugLine="Public Sub setValue (v As Int)"; +RDebugUtils.currentLine=40566785; + //BA.debugLineNum = 40566785;BA.debugLine="mValue = Max(mMin, Min(mMax, v))"; +__ref._mvalue /*int*/ = (int) (__c.Max(__ref._mmin /*int*/ ,__c.Min(__ref._mmax /*int*/ ,_v))); +RDebugUtils.currentLine=40566786; + //BA.debugLineNum = 40566786;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=40566787; + //BA.debugLineNum = 40566787;BA.debugLine="End Sub"; return ""; } -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 170;BA.debugLine="Public Sub setValue (v As Int)"; - //BA.debugLineNum = 171;BA.debugLine="mValue = Max(mMin, Min(mMax, v))"; -_mvalue = (int) (__c.Max(_mmin,__c.Min(_mmax,_v))); - //BA.debugLineNum = 172;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +public String _setthumbcolor(gunav2.keymon.com.mx.roundslider __ref,int _bordercolor,int _innercolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setthumbcolor", true)) + {return ((String) Debug.delegate(ba, "setthumbcolor", new Object[] {_bordercolor,_innercolor}));} +RDebugUtils.currentLine=40173568; + //BA.debugLineNum = 40173568;BA.debugLine="Public Sub SetThumbColor(BorderColor As Int, Inner"; +RDebugUtils.currentLine=40173569; + //BA.debugLineNum = 40173569;BA.debugLine="mThumbBorderColor = BorderColor"; +__ref._mthumbbordercolor /*int*/ = _bordercolor; +RDebugUtils.currentLine=40173570; + //BA.debugLineNum = 40173570;BA.debugLine="mThumbInnerColor = InnerColor"; +__ref._mthumbinnercolor /*int*/ = _innercolor; +RDebugUtils.currentLine=40173571; + //BA.debugLineNum = 40173571;BA.debugLine="CreateThumb"; +__ref._createthumb /*String*/ (null); +RDebugUtils.currentLine=40173572; + //BA.debugLineNum = 40173572;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=40173573; + //BA.debugLineNum = 40173573;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/scrollinglabel.java b/B4A/Objects/src/gunav2/keymon/com/mx/scrollinglabel.java index 9a287f0..ab48b5a 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/scrollinglabel.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/scrollinglabel.java @@ -10,7 +10,7 @@ public class scrollinglabel extends B4AClass.ImplB4AClass implements BA.SubDeleg private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.scrollinglabel"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.scrollinglabel"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class scrollinglabel extends B4AClass.ImplB4AClass implements BA.SubDeleg ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -41,123 +48,36 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 41;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 42;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 43;BA.debugLine="End Sub"; +public String _base_resize(gunav2.keymon.com.mx.scrollinglabel __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=40960000; + //BA.debugLineNum = 40960000;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=40960001; + //BA.debugLineNum = 40960001;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); +RDebugUtils.currentLine=40960002; + //BA.debugLineNum = 40960002;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=40960003; + //BA.debugLineNum = 40960003;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 7;BA.debugLine="Private mText As String"; -_mtext = ""; - //BA.debugLineNum = 8;BA.debugLine="Private taskIndex As Int"; -_taskindex = 0; - //BA.debugLineNum = 9;BA.debugLine="Private fnt As B4XFont"; -_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Public WidthPerSecond As Int = 100dip"; -_widthpersecond = __c.DipToCurrent((int) (100)); - //BA.debugLineNum = 13;BA.debugLine="Public StartPositionDelay As Int = 1000"; -_startpositiondelay = (int) (1000); - //BA.debugLineNum = 14;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; -_mtextcolor = _xui.Color_Black; - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XViewWrapper _l = null; - //BA.debugLineNum = 23;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 24;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 25;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 25;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 27;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 28;BA.debugLine="mBase.AddView(p, 0, 0, mBase.Width, mBase.Height)"; -_mbase.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 29;BA.debugLine="mText = Lbl.Text"; -_mtext = _lbl.getText(); - //BA.debugLineNum = 30;BA.debugLine="Dim l As B4XView = Lbl"; -_l = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_l = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 31;BA.debugLine="fnt = l.Font"; -_fnt = _l.getFont(); - //BA.debugLineNum = 32;BA.debugLine="mTextColor = l.TextColor"; -_mtextcolor = _l.getTextColor(); - //BA.debugLineNum = 33;BA.debugLine="If mTextColor = xui.Color_Transparent Then mTextC"; -if (_mtextcolor==_xui.Color_Transparent) { -_mtextcolor = _xui.Color_Black;}; - //BA.debugLineNum = 34;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 35;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 36;BA.debugLine="cvs.Initialize(p)"; -_cvs.Initialize(_p); - //BA.debugLineNum = 37;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public String _gettext() throws Exception{ - //BA.debugLineNum = 93;BA.debugLine="Public Sub getText As String"; - //BA.debugLineNum = 94;BA.debugLine="Return mText"; -if (true) return _mtext; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return ""; -} -public int _gettextcolor() throws Exception{ - //BA.debugLineNum = 126;BA.debugLine="Public Sub getTextColor As Int"; - //BA.debugLineNum = 127;BA.debugLine="Return mTextColor"; -if (true) return _mtextcolor; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 18;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 19;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 20;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return ""; -} -public float _measuretextwidth(String _s,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1) throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Private Sub MeasureTextWidth(s As String, font1 As"; - //BA.debugLineNum = 118;BA.debugLine="Return cvs.MeasureText(s, font1).Width"; -if (true) return _cvs.MeasureText(_s,_font1).getWidth(); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return 0f; -} -public String _settext(String _t) throws Exception{ +public String _settext(gunav2.keymon.com.mx.scrollinglabel __ref,String _t) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_t}));} boolean _needtocreatenewlabel = false; anywheresoftware.b4a.objects.B4XViewWrapper _parent = null; anywheresoftware.b4a.objects.B4XViewWrapper _p = null; @@ -166,109 +86,321 @@ float _originaltextwidth = 0f; anywheresoftware.b4a.objects.LabelWrapper _lbl = null; String _duplicatetext = ""; float _width = 0f; - //BA.debugLineNum = 45;BA.debugLine="Public Sub setText(t As String)"; - //BA.debugLineNum = 46;BA.debugLine="Dim NeedToCreateNewLabel As Boolean = True"; +RDebugUtils.currentLine=41025536; + //BA.debugLineNum = 41025536;BA.debugLine="Public Sub setText(t As String)"; +RDebugUtils.currentLine=41025537; + //BA.debugLineNum = 41025537;BA.debugLine="Dim NeedToCreateNewLabel As Boolean = True"; _needtocreatenewlabel = __c.True; - //BA.debugLineNum = 47;BA.debugLine="Dim parent As B4XView = mBase.GetView(0)"; +RDebugUtils.currentLine=41025538; + //BA.debugLineNum = 41025538;BA.debugLine="Dim parent As B4XView = mBase.GetView(0)"; _parent = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_parent = _mbase.GetView((int) (0)); - //BA.debugLineNum = 48;BA.debugLine="If parent.NumberOfViews > 0 Then"; +_parent = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)); +RDebugUtils.currentLine=41025539; + //BA.debugLineNum = 41025539;BA.debugLine="If parent.NumberOfViews > 0 Then"; if (_parent.getNumberOfViews()>0) { - //BA.debugLineNum = 50;BA.debugLine="Dim p As B4XView = parent.GetView(0)"; +RDebugUtils.currentLine=41025541; + //BA.debugLineNum = 41025541;BA.debugLine="Dim p As B4XView = parent.GetView(0)"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); _p = _parent.GetView((int) (0)); - //BA.debugLineNum = 51;BA.debugLine="If p.Tag = \"static\" Then"; +RDebugUtils.currentLine=41025542; + //BA.debugLineNum = 41025542;BA.debugLine="If p.Tag = \"static\" Then"; if ((_p.getTag()).equals((Object)("static"))) { - //BA.debugLineNum = 52;BA.debugLine="NeedToCreateNewLabel = False"; +RDebugUtils.currentLine=41025543; + //BA.debugLineNum = 41025543;BA.debugLine="NeedToCreateNewLabel = False"; _needtocreatenewlabel = __c.False; - //BA.debugLineNum = 53;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, parent.Width, pare"; +RDebugUtils.currentLine=41025544; + //BA.debugLineNum = 41025544;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, parent.Width, pare"; _p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); - //BA.debugLineNum = 54;BA.debugLine="Dim xlbl As B4XView = p.GetView(0)"; +RDebugUtils.currentLine=41025545; + //BA.debugLineNum = 41025545;BA.debugLine="Dim xlbl As B4XView = p.GetView(0)"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = _p.GetView((int) (0)); - //BA.debugLineNum = 55;BA.debugLine="xlbl.SetLayoutAnimated(0, 0, 0, parent.Width, p"; +RDebugUtils.currentLine=41025546; + //BA.debugLineNum = 41025546;BA.debugLine="xlbl.SetLayoutAnimated(0, 0, 0, parent.Width, p"; _xlbl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); }; }; - //BA.debugLineNum = 59;BA.debugLine="Dim originalTextWidth As Float = MeasureTextWidth"; -_originaltextwidth = _measuretextwidth(_t,_fnt); - //BA.debugLineNum = 60;BA.debugLine="mText = t"; -_mtext = _t; - //BA.debugLineNum = 61;BA.debugLine="If NeedToCreateNewLabel Then"; +RDebugUtils.currentLine=41025550; + //BA.debugLineNum = 41025550;BA.debugLine="Dim originalTextWidth As Float = MeasureTextWidth"; +_originaltextwidth = __ref._measuretextwidth /*float*/ (null,_t,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=41025551; + //BA.debugLineNum = 41025551;BA.debugLine="mText = t"; +__ref._mtext /*String*/ = _t; +RDebugUtils.currentLine=41025552; + //BA.debugLineNum = 41025552;BA.debugLine="If NeedToCreateNewLabel Then"; if (_needtocreatenewlabel) { - //BA.debugLineNum = 62;BA.debugLine="parent.RemoveAllViews"; +RDebugUtils.currentLine=41025553; + //BA.debugLineNum = 41025553;BA.debugLine="parent.RemoveAllViews"; _parent.RemoveAllViews(); - //BA.debugLineNum = 63;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +RDebugUtils.currentLine=41025554; + //BA.debugLineNum = 41025554;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; _p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 64;BA.debugLine="parent.AddView(p, 0, 0, parent.Width, parent.Hei"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=41025555; + //BA.debugLineNum = 41025555;BA.debugLine="parent.AddView(p, 0, 0, parent.Width, parent.Hei"; _parent.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); - //BA.debugLineNum = 65;BA.debugLine="Dim lbl As Label"; +RDebugUtils.currentLine=41025556; + //BA.debugLineNum = 41025556;BA.debugLine="Dim lbl As Label"; _lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 66;BA.debugLine="lbl.Initialize(\"\")"; +RDebugUtils.currentLine=41025557; + //BA.debugLineNum = 41025557;BA.debugLine="lbl.Initialize(\"\")"; _lbl.Initialize(ba,""); - //BA.debugLineNum = 68;BA.debugLine="lbl.SingleLine = True"; +RDebugUtils.currentLine=41025559; + //BA.debugLineNum = 41025559;BA.debugLine="lbl.SingleLine = True"; _lbl.setSingleLine(__c.True); - //BA.debugLineNum = 69;BA.debugLine="lbl.Padding = Array As Int(0, 0, 0, 0)"; +RDebugUtils.currentLine=41025560; + //BA.debugLineNum = 41025560;BA.debugLine="lbl.Padding = Array As Int(0, 0, 0, 0)"; _lbl.setPadding(new int[]{(int) (0),(int) (0),(int) (0),(int) (0)}); - //BA.debugLineNum = 71;BA.debugLine="Dim xlbl As B4XView = lbl"; +RDebugUtils.currentLine=41025562; + //BA.debugLineNum = 41025562;BA.debugLine="Dim xlbl As B4XView = lbl"; _xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); _xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 72;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +RDebugUtils.currentLine=41025563; + //BA.debugLineNum = 41025563;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; _xlbl.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 73;BA.debugLine="xlbl.Font = fnt"; -_xlbl.setFont(_fnt); - //BA.debugLineNum = 75;BA.debugLine="p.AddView(xlbl, 0, 0, mBase.Width, mBase.Height)"; -_p.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); +RDebugUtils.currentLine=41025564; + //BA.debugLineNum = 41025564;BA.debugLine="xlbl.Font = fnt"; +_xlbl.setFont(__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=41025566; + //BA.debugLineNum = 41025566;BA.debugLine="p.AddView(xlbl, 0, 0, mBase.Width, mBase.Height)"; +_p.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); }; - //BA.debugLineNum = 77;BA.debugLine="xlbl.TextColor = mTextColor"; -_xlbl.setTextColor(_mtextcolor); - //BA.debugLineNum = 78;BA.debugLine="If originalTextWidth <= mBase.Width Then"; -if (_originaltextwidth<=_mbase.getWidth()) { - //BA.debugLineNum = 79;BA.debugLine="xlbl.Text = t"; +RDebugUtils.currentLine=41025568; + //BA.debugLineNum = 41025568;BA.debugLine="xlbl.TextColor = mTextColor"; +_xlbl.setTextColor(__ref._mtextcolor /*int*/ ); +RDebugUtils.currentLine=41025569; + //BA.debugLineNum = 41025569;BA.debugLine="If originalTextWidth <= mBase.Width Then"; +if (_originaltextwidth<=__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()) { +RDebugUtils.currentLine=41025570; + //BA.debugLineNum = 41025570;BA.debugLine="xlbl.Text = t"; _xlbl.setText(BA.ObjectToCharSequence(_t)); - //BA.debugLineNum = 80;BA.debugLine="p.Tag = \"static\""; +RDebugUtils.currentLine=41025571; + //BA.debugLineNum = 41025571;BA.debugLine="p.Tag = \"static\""; _p.setTag((Object)("static")); - //BA.debugLineNum = 81;BA.debugLine="StopScrolling"; -_stopscrolling(); +RDebugUtils.currentLine=41025572; + //BA.debugLineNum = 41025572;BA.debugLine="StopScrolling"; +__ref._stopscrolling /*String*/ (null); }else { - //BA.debugLineNum = 83;BA.debugLine="p.Tag = \"\""; +RDebugUtils.currentLine=41025574; + //BA.debugLineNum = 41025574;BA.debugLine="p.Tag = \"\""; _p.setTag((Object)("")); - //BA.debugLineNum = 84;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; +RDebugUtils.currentLine=41025575; + //BA.debugLineNum = 41025575;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; _duplicatetext = _t+" "+_t; - //BA.debugLineNum = 85;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; -_width = _measuretextwidth(_duplicatetext,_fnt); - //BA.debugLineNum = 86;BA.debugLine="p.Width = Width"; +RDebugUtils.currentLine=41025576; + //BA.debugLineNum = 41025576;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; +_width = __ref._measuretextwidth /*float*/ (null,_duplicatetext,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=41025577; + //BA.debugLineNum = 41025577;BA.debugLine="p.Width = Width"; _p.setWidth((int) (_width)); - //BA.debugLineNum = 87;BA.debugLine="xlbl.Width = Width"; +RDebugUtils.currentLine=41025578; + //BA.debugLineNum = 41025578;BA.debugLine="xlbl.Width = Width"; _xlbl.setWidth((int) (_width)); - //BA.debugLineNum = 88;BA.debugLine="xlbl.Text = duplicateText"; +RDebugUtils.currentLine=41025579; + //BA.debugLineNum = 41025579;BA.debugLine="xlbl.Text = duplicateText"; _xlbl.setText(BA.ObjectToCharSequence(_duplicatetext)); - //BA.debugLineNum = 89;BA.debugLine="StartScrolling (p, originalTextWidth)"; -_startscrolling(_p,_originaltextwidth); +RDebugUtils.currentLine=41025580; + //BA.debugLineNum = 41025580;BA.debugLine="StartScrolling (p, originalTextWidth)"; +__ref._startscrolling /*void*/ (null,_p,_originaltextwidth); }; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; +RDebugUtils.currentLine=41025582; + //BA.debugLineNum = 41025582;BA.debugLine="End Sub"; return ""; } -public String _settextcolor(int _c) throws Exception{ - //BA.debugLineNum = 121;BA.debugLine="Public Sub setTextColor(c As Int)"; - //BA.debugLineNum = 122;BA.debugLine="mTextColor = c"; -_mtextcolor = _c; - //BA.debugLineNum = 123;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; +public String _class_globals(gunav2.keymon.com.mx.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +RDebugUtils.currentLine=40763392; + //BA.debugLineNum = 40763392;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=40763393; + //BA.debugLineNum = 40763393;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=40763394; + //BA.debugLineNum = 40763394;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=40763395; + //BA.debugLineNum = 40763395;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=40763396; + //BA.debugLineNum = 40763396;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=40763397; + //BA.debugLineNum = 40763397;BA.debugLine="Private mText As String"; +_mtext = ""; +RDebugUtils.currentLine=40763398; + //BA.debugLineNum = 40763398;BA.debugLine="Private taskIndex As Int"; +_taskindex = 0; +RDebugUtils.currentLine=40763399; + //BA.debugLineNum = 40763399;BA.debugLine="Private fnt As B4XFont"; +_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=40763400; + //BA.debugLineNum = 40763400;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=40763401; + //BA.debugLineNum = 40763401;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=40763402; + //BA.debugLineNum = 40763402;BA.debugLine="Public WidthPerSecond As Int = 100dip"; +_widthpersecond = __c.DipToCurrent((int) (100)); +RDebugUtils.currentLine=40763403; + //BA.debugLineNum = 40763403;BA.debugLine="Public StartPositionDelay As Int = 1000"; +_startpositiondelay = (int) (1000); +RDebugUtils.currentLine=40763404; + //BA.debugLineNum = 40763404;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; +_mtextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=40763405; + //BA.debugLineNum = 40763405;BA.debugLine="End Sub"; return ""; } -public void _startscrolling(anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) throws Exception{ -ResumableSub_StartScrolling rsub = new ResumableSub_StartScrolling(this,_p,_originalwidth); +public String _designercreateview(gunav2.keymon.com.mx.scrollinglabel __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XViewWrapper _l = null; +RDebugUtils.currentLine=40894464; + //BA.debugLineNum = 40894464;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=40894465; + //BA.debugLineNum = 40894465;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=40894466; + //BA.debugLineNum = 40894466;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=40894466; + //BA.debugLineNum = 40894466;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=40894468; + //BA.debugLineNum = 40894468;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=40894469; + //BA.debugLineNum = 40894469;BA.debugLine="mBase.AddView(p, 0, 0, mBase.Width, mBase.Height)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=40894470; + //BA.debugLineNum = 40894470;BA.debugLine="mText = Lbl.Text"; +__ref._mtext /*String*/ = _lbl.getText(); +RDebugUtils.currentLine=40894471; + //BA.debugLineNum = 40894471;BA.debugLine="Dim l As B4XView = Lbl"; +_l = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_l = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=40894472; + //BA.debugLineNum = 40894472;BA.debugLine="fnt = l.Font"; +__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _l.getFont(); +RDebugUtils.currentLine=40894473; + //BA.debugLineNum = 40894473;BA.debugLine="mTextColor = l.TextColor"; +__ref._mtextcolor /*int*/ = _l.getTextColor(); +RDebugUtils.currentLine=40894474; + //BA.debugLineNum = 40894474;BA.debugLine="If mTextColor = xui.Color_Transparent Then mTextC"; +if (__ref._mtextcolor /*int*/ ==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent) { +__ref._mtextcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black;}; +RDebugUtils.currentLine=40894475; + //BA.debugLineNum = 40894475;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=40894476; + //BA.debugLineNum = 40894476;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=40894477; + //BA.debugLineNum = 40894477;BA.debugLine="cvs.Initialize(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_p); +RDebugUtils.currentLine=40894478; + //BA.debugLineNum = 40894478;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=40894479; + //BA.debugLineNum = 40894479;BA.debugLine="End Sub"; +return ""; +} +public String _gettext(gunav2.keymon.com.mx.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((String) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=41091072; + //BA.debugLineNum = 41091072;BA.debugLine="Public Sub getText As String"; +RDebugUtils.currentLine=41091073; + //BA.debugLineNum = 41091073;BA.debugLine="Return mText"; +if (true) return __ref._mtext /*String*/ ; +RDebugUtils.currentLine=41091074; + //BA.debugLineNum = 41091074;BA.debugLine="End Sub"; +return ""; +} +public int _gettextcolor(gunav2.keymon.com.mx.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "gettextcolor", true)) + {return ((Integer) Debug.delegate(ba, "gettextcolor", null));} +RDebugUtils.currentLine=41418752; + //BA.debugLineNum = 41418752;BA.debugLine="Public Sub getTextColor As Int"; +RDebugUtils.currentLine=41418753; + //BA.debugLineNum = 41418753;BA.debugLine="Return mTextColor"; +if (true) return __ref._mtextcolor /*int*/ ; +RDebugUtils.currentLine=41418754; + //BA.debugLineNum = 41418754;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(gunav2.keymon.com.mx.scrollinglabel __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=40828928; + //BA.debugLineNum = 40828928;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=40828929; + //BA.debugLineNum = 40828929;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=40828930; + //BA.debugLineNum = 40828930;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=40828931; + //BA.debugLineNum = 40828931;BA.debugLine="End Sub"; +return ""; +} +public float _measuretextwidth(gunav2.keymon.com.mx.scrollinglabel __ref,String _s,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "measuretextwidth", true)) + {return ((Float) Debug.delegate(ba, "measuretextwidth", new Object[] {_s,_font1}));} +RDebugUtils.currentLine=41287680; + //BA.debugLineNum = 41287680;BA.debugLine="Private Sub MeasureTextWidth(s As String, font1 As"; +RDebugUtils.currentLine=41287681; + //BA.debugLineNum = 41287681;BA.debugLine="Return cvs.MeasureText(s, font1).Width"; +if (true) return __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(_s,_font1).getWidth(); +RDebugUtils.currentLine=41287682; + //BA.debugLineNum = 41287682;BA.debugLine="End Sub"; +return 0f; +} +public String _stopscrolling(gunav2.keymon.com.mx.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "stopscrolling", true)) + {return ((String) Debug.delegate(ba, "stopscrolling", null));} +RDebugUtils.currentLine=41156608; + //BA.debugLineNum = 41156608;BA.debugLine="Private Sub StopScrolling"; +RDebugUtils.currentLine=41156609; + //BA.debugLineNum = 41156609;BA.debugLine="taskIndex = taskIndex + 1"; +__ref._taskindex /*int*/ = (int) (__ref._taskindex /*int*/ +1); +RDebugUtils.currentLine=41156610; + //BA.debugLineNum = 41156610;BA.debugLine="End Sub"; +return ""; +} +public void _startscrolling(gunav2.keymon.com.mx.scrollinglabel __ref,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) throws Exception{ +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "startscrolling", true)) + {Debug.delegate(ba, "startscrolling", new Object[] {_p,_originalwidth}); return;} +ResumableSub_StartScrolling rsub = new ResumableSub_StartScrolling(this,__ref,_p,_originalwidth); rsub.resume(ba, null); } public static class ResumableSub_StartScrolling extends BA.ResumableSub { -public ResumableSub_StartScrolling(gunav2.keymon.com.mx.scrollinglabel parent,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) { +public ResumableSub_StartScrolling(gunav2.keymon.com.mx.scrollinglabel parent,gunav2.keymon.com.mx.scrollinglabel __ref,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) { this.parent = parent; +this.__ref = __ref; this._p = _p; this._originalwidth = _originalwidth; +this.__ref = parent; } +gunav2.keymon.com.mx.scrollinglabel __ref; gunav2.keymon.com.mx.scrollinglabel parent; anywheresoftware.b4a.objects.B4XViewWrapper _p; float _originalwidth; @@ -277,6 +409,7 @@ int _duration = 0; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="scrollinglabel"; while (true) { switch (state) { @@ -286,27 +419,32 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 102;BA.debugLine="taskIndex = taskIndex + 1"; -parent._taskindex = (int) (parent._taskindex+1); - //BA.debugLineNum = 103;BA.debugLine="Dim myIndex As Int = taskIndex"; -_myindex = parent._taskindex; - //BA.debugLineNum = 104;BA.debugLine="Dim duration As Int = p.Width / WidthPerSecond *"; -_duration = (int) (_p.getWidth()/(double)parent._widthpersecond*1000); - //BA.debugLineNum = 105;BA.debugLine="Sleep(StartPositionDelay)"; -parent.__c.Sleep(ba,this,parent._startpositiondelay); +RDebugUtils.currentLine=41222145; + //BA.debugLineNum = 41222145;BA.debugLine="taskIndex = taskIndex + 1"; +__ref._taskindex /*int*/ = (int) (__ref._taskindex /*int*/ +1); +RDebugUtils.currentLine=41222146; + //BA.debugLineNum = 41222146;BA.debugLine="Dim myIndex As Int = taskIndex"; +_myindex = __ref._taskindex /*int*/ ; +RDebugUtils.currentLine=41222147; + //BA.debugLineNum = 41222147;BA.debugLine="Dim duration As Int = p.Width / WidthPerSecond *"; +_duration = (int) (_p.getWidth()/(double)__ref._widthpersecond /*int*/ *1000); +RDebugUtils.currentLine=41222148; + //BA.debugLineNum = 41222148;BA.debugLine="Sleep(StartPositionDelay)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "scrollinglabel", "startscrolling"),__ref._startpositiondelay /*int*/ ); this.state = 23; return; case 23: //C this.state = 1; ; - //BA.debugLineNum = 106;BA.debugLine="If myIndex <> taskIndex Then Return"; +RDebugUtils.currentLine=41222149; + //BA.debugLineNum = 41222149;BA.debugLine="If myIndex <> taskIndex Then Return"; if (true) break; case 1: //if this.state = 6; -if (_myindex!=parent._taskindex) { +if (_myindex!=__ref._taskindex /*int*/ ) { this.state = 3; ;}if (true) break; @@ -320,7 +458,8 @@ case 6: //C this.state = 7; ; - //BA.debugLineNum = 107;BA.debugLine="Do While True"; +RDebugUtils.currentLine=41222150; + //BA.debugLineNum = 41222150;BA.debugLine="Do While True"; if (true) break; case 7: @@ -335,23 +474,26 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 108;BA.debugLine="p.SetLayoutAnimated(duration, -(p.Width - Origin"; +RDebugUtils.currentLine=41222151; + //BA.debugLineNum = 41222151;BA.debugLine="p.SetLayoutAnimated(duration, -(p.Width - Origin"; _p.SetLayoutAnimated(_duration,(int) (-(_p.getWidth()-_originalwidth)),_p.getTop(),_p.getWidth(),_p.getHeight()); - //BA.debugLineNum = 109;BA.debugLine="Sleep(duration)"; -parent.__c.Sleep(ba,this,_duration); +RDebugUtils.currentLine=41222152; + //BA.debugLineNum = 41222152;BA.debugLine="Sleep(duration)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "scrollinglabel", "startscrolling"),_duration); this.state = 24; return; case 24: //C this.state = 10; ; - //BA.debugLineNum = 110;BA.debugLine="If myIndex <> taskIndex Then Return"; +RDebugUtils.currentLine=41222153; + //BA.debugLineNum = 41222153;BA.debugLine="If myIndex <> taskIndex Then Return"; if (true) break; case 10: //if this.state = 15; -if (_myindex!=parent._taskindex) { +if (_myindex!=__ref._taskindex /*int*/ ) { this.state = 12; ;}if (true) break; @@ -365,21 +507,23 @@ case 15: //C this.state = 16; ; - //BA.debugLineNum = 111;BA.debugLine="Sleep(StartPositionDelay)"; -parent.__c.Sleep(ba,this,parent._startpositiondelay); +RDebugUtils.currentLine=41222154; + //BA.debugLineNum = 41222154;BA.debugLine="Sleep(StartPositionDelay)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "scrollinglabel", "startscrolling"),__ref._startpositiondelay /*int*/ ); this.state = 25; return; case 25: //C this.state = 16; ; - //BA.debugLineNum = 112;BA.debugLine="If myIndex <> taskIndex Then Return"; +RDebugUtils.currentLine=41222155; + //BA.debugLineNum = 41222155;BA.debugLine="If myIndex <> taskIndex Then Return"; if (true) break; case 16: //if this.state = 21; -if (_myindex!=parent._taskindex) { +if (_myindex!=__ref._taskindex /*int*/ ) { this.state = 18; ;}if (true) break; @@ -393,7 +537,8 @@ case 21: //C this.state = 7; ; - //BA.debugLineNum = 113;BA.debugLine="p.SetLayoutAnimated(0, 0, p.Top, p.Width, p.Heig"; +RDebugUtils.currentLine=41222156; + //BA.debugLineNum = 41222156;BA.debugLine="p.SetLayoutAnimated(0, 0, p.Top, p.Width, p.Heig"; _p.SetLayoutAnimated((int) (0),(int) (0),_p.getTop(),_p.getWidth(),_p.getHeight()); if (true) break; @@ -401,22 +546,29 @@ case 22: //C this.state = -1; ; - //BA.debugLineNum = 115;BA.debugLine="End Sub"; +RDebugUtils.currentLine=41222158; + //BA.debugLineNum = 41222158;BA.debugLine="End Sub"; if (true) break; } } } } -public String _stopscrolling() throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Private Sub StopScrolling"; - //BA.debugLineNum = 98;BA.debugLine="taskIndex = taskIndex + 1"; -_taskindex = (int) (_taskindex+1); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +public String _settextcolor(gunav2.keymon.com.mx.scrollinglabel __ref,int _c) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "settextcolor", true)) + {return ((String) Debug.delegate(ba, "settextcolor", new Object[] {_c}));} +RDebugUtils.currentLine=41353216; + //BA.debugLineNum = 41353216;BA.debugLine="Public Sub setTextColor(c As Int)"; +RDebugUtils.currentLine=41353217; + //BA.debugLineNum = 41353217;BA.debugLine="mTextColor = c"; +__ref._mtextcolor /*int*/ = _c; +RDebugUtils.currentLine=41353218; + //BA.debugLineNum = 41353218;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=41353219; + //BA.debugLineNum = 41353219;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/starter.java b/B4A/Objects/src/gunav2/keymon/com/mx/starter.java index 7c08c31..d9eaa55 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/starter.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/starter.java @@ -14,7 +14,7 @@ public class starter extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, starter.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, true, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, true, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class starter extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.starter"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.starter"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,7 +127,8 @@ public class starter extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; + } +public anywheresoftware.b4a.keywords.Common __c = null; public static anywheresoftware.b4a.gps.GPS _gps = null; public static anywheresoftware.b4a.phone.Phone _ph = null; public static anywheresoftware.b4a.sql.SQL _skmt = null; @@ -159,290 +160,351 @@ public b4a.example.dateutils _dateutils = null; public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; public static boolean _application_error(anywheresoftware.b4a.objects.B4AException _error,String _stacktrace) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "application_error", false)) + {return ((Boolean) Debug.delegate(processBA, "application_error", new Object[] {_error,_stacktrace}));} anywheresoftware.b4j.object.JavaObject _jo = null; long _l = 0L; - //BA.debugLineNum = 149;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; - //BA.debugLineNum = 151;BA.debugLine="Dim jo As JavaObject"; +RDebugUtils.currentLine=983040; + //BA.debugLineNum = 983040;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; +RDebugUtils.currentLine=983042; + //BA.debugLineNum = 983042;BA.debugLine="Dim jo As JavaObject"; _jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 152;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; +RDebugUtils.currentLine=983043; + //BA.debugLineNum = 983043;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; _l = (long) (500); - //BA.debugLineNum = 152;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; +RDebugUtils.currentLine=983043; + //BA.debugLineNum = 983043;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; _jo.InitializeStatic("java.lang.Thread").RunMethod("sleep",new Object[]{(Object)(_l)}); - //BA.debugLineNum = 153;BA.debugLine="logcat.LogCatStop"; +RDebugUtils.currentLine=983044; + //BA.debugLineNum = 983044;BA.debugLine="logcat.LogCatStop"; _logcat.LogCatStop(); - //BA.debugLineNum = 154;BA.debugLine="logs.Append(StackTrace)"; +RDebugUtils.currentLine=983045; + //BA.debugLineNum = 983045;BA.debugLine="logs.Append(StackTrace)"; _logs.Append(_stacktrace); - //BA.debugLineNum = 155;BA.debugLine="Subs.revisaBD"; +RDebugUtils.currentLine=983046; + //BA.debugLineNum = 983046;BA.debugLine="Subs.revisaBD"; mostCurrent._subs._revisabd /*String*/ (processBA); - //BA.debugLineNum = 156;BA.debugLine="Subs.errorLog.ExecNonQuery2(\"INSERT INTO errores("; +RDebugUtils.currentLine=983047; + //BA.debugLineNum = 983047;BA.debugLine="Subs.errorLog.ExecNonQuery2(\"INSERT INTO errores("; mostCurrent._subs._errorlog /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_logs.getObject())})); - //BA.debugLineNum = 157;BA.debugLine="Return True"; +RDebugUtils.currentLine=983048; + //BA.debugLineNum = 983048;BA.debugLine="Return True"; if (true) return anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 158;BA.debugLine="End Sub"; +RDebugUtils.currentLine=983049; + //BA.debugLineNum = 983049;BA.debugLine="End Sub"; return false; } public static String _btadmin_statechanged(int _newstate,int _oldstate) throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Private Sub BTAdmin_StateChanged (NewState As Int,"; - //BA.debugLineNum = 64;BA.debugLine="If logger Then Log(\"BT state changed: \" & NewStat"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "btadmin_statechanged", false)) + {return ((String) Debug.delegate(processBA, "btadmin_statechanged", new Object[] {_newstate,_oldstate}));} +RDebugUtils.currentLine=458752; + //BA.debugLineNum = 458752;BA.debugLine="Private Sub BTAdmin_StateChanged (NewState As Int,"; +RDebugUtils.currentLine=458753; + //BA.debugLineNum = 458753;BA.debugLine="If logger Then Log(\"BT state changed: \" & NewStat"; if (_logger) { -anywheresoftware.b4a.keywords.Common.LogImpl("437027841","BT state changed: "+BA.NumberToString(_newstate),0);}; - //BA.debugLineNum = 65;BA.debugLine="BluetoothState = NewState = BTAdmin.STATE_ON"; +anywheresoftware.b4a.keywords.Common.LogImpl("0458753","BT state changed: "+BA.NumberToString(_newstate),0);}; +RDebugUtils.currentLine=458754; + //BA.debugLineNum = 458754;BA.debugLine="BluetoothState = NewState = BTAdmin.STATE_ON"; _bluetoothstate = _newstate==_btadmin.STATE_ON; - //BA.debugLineNum = 67;BA.debugLine="End Sub"; +RDebugUtils.currentLine=458756; + //BA.debugLineNum = 458756;BA.debugLine="End Sub"; return ""; } public static String _envia_ultima_gps() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "envia_ultima_gps", false)) + {return ((String) Debug.delegate(processBA, "envia_ultima_gps", null));} gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _s7 = null; int _totalstick = 0; int _sfsdf = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _s8 = null; int _totalpaquete = 0; - //BA.debugLineNum = 101;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; - //BA.debugLineNum = 102;BA.debugLine="LogColor(\"Iniciamos ENVIA_ULTIMA_GPS\", Colors.Mag"; -anywheresoftware.b4a.keywords.Common.LogImpl("437421057","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 103;BA.debugLine="Dim skmt As SQL"; +RDebugUtils.currentLine=851968; + //BA.debugLineNum = 851968;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; +RDebugUtils.currentLine=851969; + //BA.debugLineNum = 851969;BA.debugLine="LogColor(\"Iniciamos ENVIA_ULTIMA_GPS\", Colors.Mag"; +anywheresoftware.b4a.keywords.Common.LogImpl("0851969","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=851970; + //BA.debugLineNum = 851970;BA.debugLine="Dim skmt As SQL"; _skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 104;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=851971; + //BA.debugLineNum = 851971;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 105;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +RDebugUtils.currentLine=851972; + //BA.debugLineNum = 851972;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 109;BA.debugLine="Dim cmd As DBCommand"; +RDebugUtils.currentLine=851976; + //BA.debugLineNum = 851976;BA.debugLine="Dim cmd As DBCommand"; _cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 110;BA.debugLine="cmd.Initialize"; +RDebugUtils.currentLine=851977; + //BA.debugLineNum = 851977;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 111;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS2\""; +RDebugUtils.currentLine=851978; + //BA.debugLineNum = 851978;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS2\""; _cmd.Name /*String*/ = "UPDATE_GUNA_ACTUAL2_GPS2"; - //BA.debugLineNum = 112;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=851979; + //BA.debugLineNum = 851979;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe"; _s7 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s7 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_CANT) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO') GROUP BY PE_PROID"))); - //BA.debugLineNum = 113;BA.debugLine="If s7.RowCount > 0 Then"; +RDebugUtils.currentLine=851980; + //BA.debugLineNum = 851980;BA.debugLine="If s7.RowCount > 0 Then"; if (_s7.getRowCount()>0) { - //BA.debugLineNum = 114;BA.debugLine="Dim totalstick As Int = 0"; +RDebugUtils.currentLine=851981; + //BA.debugLineNum = 851981;BA.debugLine="Dim totalstick As Int = 0"; _totalstick = (int) (0); - //BA.debugLineNum = 115;BA.debugLine="For sfsdf = 0 To s7.RowCount -1"; +RDebugUtils.currentLine=851982; + //BA.debugLineNum = 851982;BA.debugLine="For sfsdf = 0 To s7.RowCount -1"; { final int step11 = 1; final int limit11 = (int) (_s7.getRowCount()-1); _sfsdf = (int) (0) ; for (;_sfsdf <= limit11 ;_sfsdf = _sfsdf + step11 ) { - //BA.debugLineNum = 116;BA.debugLine="s7.Position= sfsdf"; +RDebugUtils.currentLine=851983; + //BA.debugLineNum = 851983;BA.debugLine="s7.Position= sfsdf"; _s7.setPosition(_sfsdf); - //BA.debugLineNum = 117;BA.debugLine="Log(\"ENTRE AQUI\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("437421072","ENTRE AQUI",0); - //BA.debugLineNum = 118;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ"; +RDebugUtils.currentLine=851984; + //BA.debugLineNum = 851984;BA.debugLine="Log(\"ENTRE AQUI\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("0851984","ENTRE AQUI",0); +RDebugUtils.currentLine=851985; + //BA.debugLineNum = 851985;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ"; _s8 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s8 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT ifnull(CAT_GP_CONVERSION3,0) as CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_s7.GetString("PE_PROID")))+"'")))); - //BA.debugLineNum = 119;BA.debugLine="s8.Position = 0"; +RDebugUtils.currentLine=851986; + //BA.debugLineNum = 851986;BA.debugLine="s8.Position = 0"; _s8.setPosition((int) (0)); - //BA.debugLineNum = 120;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN"; +RDebugUtils.currentLine=851987; + //BA.debugLineNum = 851987;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN"; _totalstick = (int) (_totalstick+((double)(Double.parseDouble(_s7.GetString("PE_CANT")))*(double)(Double.parseDouble(_s8.GetString("CAT_GP_CONVERSION3"))))); - //BA.debugLineNum = 121;BA.debugLine="Dim totalpaquete As Int = 0"; +RDebugUtils.currentLine=851988; + //BA.debugLineNum = 851988;BA.debugLine="Dim totalpaquete As Int = 0"; _totalpaquete = (int) (0); - //BA.debugLineNum = 123;BA.debugLine="totalpaquete = totalpaquete +(totalstick/200)"; +RDebugUtils.currentLine=851990; + //BA.debugLineNum = 851990;BA.debugLine="totalpaquete = totalpaquete +(totalstick/200)"; _totalpaquete = (int) (_totalpaquete+(_totalstick/(double)200)); - //BA.debugLineNum = 124;BA.debugLine="Log(totalpaquete)"; -anywheresoftware.b4a.keywords.Common.LogImpl("437421079",BA.NumberToString(_totalpaquete),0); +RDebugUtils.currentLine=851991; + //BA.debugLineNum = 851991;BA.debugLine="Log(totalpaquete)"; +anywheresoftware.b4a.keywords.Common.LogImpl("0851991",BA.NumberToString(_totalpaquete),0); } }; }; - //BA.debugLineNum = 130;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2(B4"; +RDebugUtils.currentLine=851997; + //BA.debugLineNum = 851997;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2(B4"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ )),(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False)),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(0),(Object)(_totalpaquete),(Object)(_totalstick),(Object)(_encuesta),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )}; - //BA.debugLineNum = 132;BA.debugLine="reqManager.ExecuteCommand(cmd, \"actualizaUltimaGP"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("actualizaUltimaGPS")); - //BA.debugLineNum = 133;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT_"; +RDebugUtils.currentLine=851999; + //BA.debugLineNum = 851999;BA.debugLine="reqManager.ExecuteCommand(cmd, \"actualizaUltimaGP"; +_reqmanager._executecommand /*String*/ (null,_cmd,(Object)("actualizaUltimaGPS")); +RDebugUtils.currentLine=852000; + //BA.debugLineNum = 852000;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT_"; _skmt.ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),"HoraIngreso"})); - //BA.debugLineNum = 135;BA.debugLine="Timer1.Enabled = False"; +RDebugUtils.currentLine=852002; + //BA.debugLineNum = 852002;BA.debugLine="Timer1.Enabled = False"; _timer1.setEnabled(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 136;BA.debugLine="Timer1.Interval = Interval * 1000"; +RDebugUtils.currentLine=852003; + //BA.debugLineNum = 852003;BA.debugLine="Timer1.Interval = Interval * 1000"; _timer1.setInterval((long) (_interval*1000)); - //BA.debugLineNum = 137;BA.debugLine="Timer1.Enabled = True"; +RDebugUtils.currentLine=852004; + //BA.debugLineNum = 852004;BA.debugLine="Timer1.Enabled = True"; _timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 138;BA.debugLine="End Sub"; +RDebugUtils.currentLine=852005; + //BA.debugLineNum = 852005;BA.debugLine="End Sub"; return ""; } public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "gps_locationchanged", false)) + {return ((String) Debug.delegate(processBA, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=655360; + //BA.debugLineNum = 655360;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=655362; + //BA.debugLineNum = 655362;BA.debugLine="End Sub"; return ""; } public static String _jobdone(gunav2.keymon.com.mx.httpjob _job) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "jobdone", false)) + {return ((String) Debug.delegate(processBA, "jobdone", new Object[] {_job}));} gunav2.keymon.com.mx.dbrequestmanager._dbresult _result = null; - //BA.debugLineNum = 160;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 161;BA.debugLine="Log(\"JOBDONE STARTER\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("437617665","JOBDONE STARTER",0); - //BA.debugLineNum = 163;BA.debugLine="If Job.Success = False Then ' Si hay unerror en e"; +RDebugUtils.currentLine=1048576; + //BA.debugLineNum = 1048576;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=1048577; + //BA.debugLineNum = 1048577;BA.debugLine="Log(\"JOBDONE STARTER\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("01048577","JOBDONE STARTER",0); +RDebugUtils.currentLine=1048579; + //BA.debugLineNum = 1048579;BA.debugLine="If Job.Success = False Then ' Si hay unerror en e"; if (_job._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 165;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re"; -anywheresoftware.b4a.keywords.Common.LogImpl("437617669","Error: "+_job._errormessage /*String*/ ,anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=1048581; + //BA.debugLineNum = 1048581;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re"; +anywheresoftware.b4a.keywords.Common.LogImpl("01048581","Error: "+_job._errormessage /*String*/ ,anywheresoftware.b4a.keywords.Common.Colors.Red); }else { - //BA.debugLineNum = 167;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +RDebugUtils.currentLine=1048583; + //BA.debugLineNum = 1048583;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 168;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; -_result = mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 169;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success"; -anywheresoftware.b4a.keywords.Common.LogImpl("437617673",("Tag: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=1048584; + //BA.debugLineNum = 1048584;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM"; +_result = mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1048585; + //BA.debugLineNum = 1048585;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success"; +anywheresoftware.b4a.keywords.Common.LogImpl("01048585",("Tag: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0); }; }; - //BA.debugLineNum = 173;BA.debugLine="End Sub"; +RDebugUtils.currentLine=1048589; + //BA.debugLineNum = 1048589;BA.debugLine="End Sub"; return ""; } public static String _logcat_logcatdata(byte[] _buffer,int _length) throws Exception{ - //BA.debugLineNum = 141;BA.debugLine="Private Sub logcat_LogCatData (Buffer() As Byte, L"; - //BA.debugLineNum = 142;BA.debugLine="logs.Append(BytesToString(Buffer, 0, Length, \"utf"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "logcat_logcatdata", false)) + {return ((String) Debug.delegate(processBA, "logcat_logcatdata", new Object[] {_buffer,_length}));} +RDebugUtils.currentLine=917504; + //BA.debugLineNum = 917504;BA.debugLine="Private Sub logcat_LogCatData (Buffer() As Byte, L"; +RDebugUtils.currentLine=917505; + //BA.debugLineNum = 917505;BA.debugLine="logs.Append(BytesToString(Buffer, 0, Length, \"utf"; _logs.Append(anywheresoftware.b4a.keywords.Common.BytesToString(_buffer,(int) (0),_length,"utf8")); - //BA.debugLineNum = 143;BA.debugLine="If logs.Length > 4000 Then"; +RDebugUtils.currentLine=917506; + //BA.debugLineNum = 917506;BA.debugLine="If logs.Length > 4000 Then"; if (_logs.getLength()>4000) { - //BA.debugLineNum = 144;BA.debugLine="logs.Remove(0, logs.Length - 2000) 'Obtenemos lo"; +RDebugUtils.currentLine=917507; + //BA.debugLineNum = 917507;BA.debugLine="logs.Remove(0, logs.Length - 2000) 'Obtenemos lo"; _logs.Remove((int) (0),(int) (_logs.getLength()-2000)); }; - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 9;BA.debugLine="Public gps As GPS"; -_gps = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 10;BA.debugLine="Dim ph As Phone"; -_ph = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 11;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="Public rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 13;BA.debugLine="Public FLP As FusedLocationProvider"; -_flp = new uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new gunav2.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 16;BA.debugLine="Dim server As String = \"http://keymon.net:1782\""; -_server = "http://keymon.net:1782"; - //BA.debugLineNum = 18;BA.debugLine="Dim Timer1 As Timer"; -_timer1 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 19;BA.debugLine="Dim Interval As Int = 300"; -_interval = (int) (300); - //BA.debugLineNum = 20;BA.debugLine="Dim ruta As String = File.DirInternal"; -_ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - //BA.debugLineNum = 22;BA.debugLine="Private logs As StringBuilder"; -_logs = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private logcat As LogCat"; -_logcat = new anywheresoftware.b4a.phone.Phone.LogCat(); - //BA.debugLineNum = 24;BA.debugLine="Dim logger As Boolean = False"; -_logger = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 25;BA.debugLine="Dim marcaCel As String = ph.manufacturer"; -_marcacel = _ph.getManufacturer(); - //BA.debugLineNum = 26;BA.debugLine="Private BTAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 27;BA.debugLine="Dim MAC_IMPRESORA As String"; -_mac_impresora = ""; - //BA.debugLineNum = 28;BA.debugLine="Public BluetoothState As Boolean"; -_bluetoothstate = false; - //BA.debugLineNum = 29;BA.debugLine="Dim ubicacionActual As Location"; -_ubicacionactual = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim enVenta As Boolean = False"; -_enventa = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 31;BA.debugLine="Dim muestraProgreso = 0 'Parte de la funcionalida"; -_muestraprogreso = BA.NumberToString(0); - //BA.debugLineNum = 32;BA.debugLine="Public newApp As mNewVersion 'Parte de la funcion"; -_newapp = new gunav2.keymon.com.mx.appupdater._mnewversion(); - //BA.debugLineNum = 33;BA.debugLine="Dim nuevoLink As String"; -_nuevolink = ""; - //BA.debugLineNum = 34;BA.debugLine="Dim idCliente As String = \"\""; -_idcliente = ""; - //BA.debugLineNum = 35;BA.debugLine="Dim encuesta As String = 0"; -_encuesta = BA.NumberToString(0); - //BA.debugLineNum = 36;BA.debugLine="Public fFileProvider As FileProvider"; -_ffileprovider = new gunav2.keymon.com.mx.fileprovider(); - //BA.debugLineNum = 37;BA.debugLine="Dim tabla As String"; -_tabla = ""; - //BA.debugLineNum = 38;BA.debugLine="Dim enCliente As Boolean = False"; -_encliente = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; +RDebugUtils.currentLine=917509; + //BA.debugLineNum = 917509;BA.debugLine="End Sub"; return ""; } public static String _service_create() throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 44;BA.debugLine="gps.Initialize(\"GPS\")"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=393216; + //BA.debugLineNum = 393216;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=393219; + //BA.debugLineNum = 393219;BA.debugLine="gps.Initialize(\"GPS\")"; _gps.Initialize("GPS"); - //BA.debugLineNum = 45;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; +RDebugUtils.currentLine=393220; + //BA.debugLineNum = 393220;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._firebasemessaging.getObject()),"SubscribeToTopics"); - //BA.debugLineNum = 46;BA.debugLine="BTAdmin.Initialize(\"admin\")"; +RDebugUtils.currentLine=393221; + //BA.debugLineNum = 393221;BA.debugLine="BTAdmin.Initialize(\"admin\")"; _btadmin.Initialize(processBA,"admin"); - //BA.debugLineNum = 47;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; +RDebugUtils.currentLine=393222; + //BA.debugLineNum = 393222;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; _timer1.Initialize(processBA,"Timer1",(long) (_interval*1000)); - //BA.debugLineNum = 48;BA.debugLine="Timer1.Enabled = True"; +RDebugUtils.currentLine=393223; + //BA.debugLineNum = 393223;BA.debugLine="Timer1.Enabled = True"; _timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 51;BA.debugLine="logcat.LogCatStart(Array As String(\"-v\",\"raw\",\"*:"; -_logcat.LogCatStart(processBA,new String[]{"-v","raw","*:F","B4A:v"},"logcat"); - //BA.debugLineNum = 53;BA.debugLine="logs.Initialize"; +RDebugUtils.currentLine=393228; + //BA.debugLineNum = 393228;BA.debugLine="logs.Initialize"; _logs.Initialize(); - //BA.debugLineNum = 54;BA.debugLine="fFileProvider.Initialize"; -_ffileprovider._initialize /*String*/ (processBA); - //BA.debugLineNum = 55;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; +RDebugUtils.currentLine=393229; + //BA.debugLineNum = 393229;BA.debugLine="fFileProvider.Initialize"; +_ffileprovider._initialize /*String*/ (null,processBA); +RDebugUtils.currentLine=393230; + //BA.debugLineNum = 393230;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop"; anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._firebasemessaging.getObject()),"SubscribeToTopics"); - //BA.debugLineNum = 56;BA.debugLine="ubicacionActual.Initialize"; +RDebugUtils.currentLine=393231; + //BA.debugLineNum = 393231;BA.debugLine="ubicacionActual.Initialize"; _ubicacionactual.Initialize(); - //BA.debugLineNum = 57;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; +RDebugUtils.currentLine=393232; + //BA.debugLineNum = 393232;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; if (anywheresoftware.b4a.keywords.Common.File.Exists(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db")==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 58;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", File.DirInte"; +RDebugUtils.currentLine=393233; + //BA.debugLineNum = 393233;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", File.DirInte"; anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db"); }; - //BA.debugLineNum = 60;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", True)"; +RDebugUtils.currentLine=393235; + //BA.debugLineNum = 393235;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", True)"; _skmt.Initialize(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 61;BA.debugLine="End Sub"; +RDebugUtils.currentLine=393236; + //BA.debugLineNum = 393236;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 99;BA.debugLine="End Sub"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=786432; + //BA.debugLineNum = 786432;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=786434; + //BA.debugLineNum = 786434;BA.debugLine="End Sub"; return ""; } public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; - //BA.debugLineNum = 69;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 70;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; +RDebugUtils.currentLine=524288; + //BA.debugLineNum = 524288;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=524289; + //BA.debugLineNum = 524289;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 71;BA.debugLine="Subs.revisaBD"; +RDebugUtils.currentLine=524290; + //BA.debugLineNum = 524290;BA.debugLine="Subs.revisaBD"; mostCurrent._subs._revisabd /*String*/ (processBA); - //BA.debugLineNum = 72;BA.debugLine="Log(marcaCel)"; -anywheresoftware.b4a.keywords.Common.LogImpl("437093379",_marcacel,0); - //BA.debugLineNum = 73;BA.debugLine="Private s As Cursor = skmt.ExecQuery(\"select * fr"; +RDebugUtils.currentLine=524291; + //BA.debugLineNum = 524291;BA.debugLine="Log(marcaCel)"; +anywheresoftware.b4a.keywords.Common.LogImpl("0524291",_marcacel,0); +RDebugUtils.currentLine=524292; + //BA.debugLineNum = 524292;BA.debugLine="Private s As Cursor = skmt.ExecQuery(\"select * fr"; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select * from cat_variables where cat_va_descripcion = 'DBReqServer'"))); - //BA.debugLineNum = 74;BA.debugLine="If s.RowCount > 0 Then 'Si tenemso valor en BD lo"; +RDebugUtils.currentLine=524293; + //BA.debugLineNum = 524293;BA.debugLine="If s.RowCount > 0 Then 'Si tenemso valor en BD lo"; if (_s.getRowCount()>0) { - //BA.debugLineNum = 75;BA.debugLine="s.Position = 0"; +RDebugUtils.currentLine=524294; + //BA.debugLineNum = 524294;BA.debugLine="s.Position = 0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 76;BA.debugLine="server = s.GetString(\"CAT_VA_VALOR\")"; +RDebugUtils.currentLine=524295; + //BA.debugLineNum = 524295;BA.debugLine="server = s.GetString(\"CAT_VA_VALOR\")"; _server = _s.GetString("CAT_VA_VALOR"); }else { - //BA.debugLineNum = 78;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES wh"; +RDebugUtils.currentLine=524297; + //BA.debugLineNum = 524297;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES wh"; _skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer")})); - //BA.debugLineNum = 79;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CA"; +RDebugUtils.currentLine=524298; + //BA.debugLineNum = 524298;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CA"; _skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer"),(Object)(_server)})); }; - //BA.debugLineNum = 81;BA.debugLine="reqManager.Initialize(Me, server)"; -_reqmanager._initialize /*String*/ (processBA,starter.getObject(),_server); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; +RDebugUtils.currentLine=524300; + //BA.debugLineNum = 524300;BA.debugLine="reqManager.Initialize(Me, server)"; +_reqmanager._initialize /*String*/ (null,processBA,starter.getObject(),_server); +RDebugUtils.currentLine=524301; + //BA.debugLineNum = 524301;BA.debugLine="End Sub"; return ""; } public static String _service_taskremoved() throws Exception{ - //BA.debugLineNum = 93;BA.debugLine="Sub Service_TaskRemoved"; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_taskremoved", false)) + {return ((String) Debug.delegate(processBA, "service_taskremoved", null));} +RDebugUtils.currentLine=720896; + //BA.debugLineNum = 720896;BA.debugLine="Sub Service_TaskRemoved"; +RDebugUtils.currentLine=720898; + //BA.debugLineNum = 720898;BA.debugLine="End Sub"; return ""; } public static String _timer1_tick() throws Exception{ - //BA.debugLineNum = 84;BA.debugLine="Private Sub Timer1_Tick"; - //BA.debugLineNum = 86;BA.debugLine="ENVIA_ULTIMA_GPS"; +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "timer1_tick", false)) + {return ((String) Debug.delegate(processBA, "timer1_tick", null));} +RDebugUtils.currentLine=589824; + //BA.debugLineNum = 589824;BA.debugLine="Private Sub Timer1_Tick"; +RDebugUtils.currentLine=589826; + //BA.debugLineNum = 589826;BA.debugLine="ENVIA_ULTIMA_GPS"; _envia_ultima_gps(); - //BA.debugLineNum = 87;BA.debugLine="End Sub"; +RDebugUtils.currentLine=589827; + //BA.debugLineNum = 589827;BA.debugLine="End Sub"; return ""; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/subs.java b/B4A/Objects/src/gunav2/keymon/com/mx/subs.java index ad8d504..c67ba9a 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/subs.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/subs.java @@ -10,7 +10,8 @@ private static subs mostCurrent = new subs(); public static Object getObject() { throw new RuntimeException("Code module does not support this method."); } - public anywheresoftware.b4a.keywords.Common __c = null; + +public anywheresoftware.b4a.keywords.Common __c = null; public static de.donmanfred.GZipStringswrapper _gzip = null; public static anywheresoftware.b4a.objects.StringUtils _su = null; public static anywheresoftware.b4a.phone.Phone _phn = null; @@ -28,169 +29,1626 @@ public b4a.example.dateutils _dateutils = null; public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static String _revisabd(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisabd", false)) + {return ((String) Debug.delegate(null, "revisabd", new Object[] {_ba}));} +RDebugUtils.currentLine=44040192; + //BA.debugLineNum = 44040192;BA.debugLine="Sub revisaBD 'ignore"; +RDebugUtils.currentLine=44040194; + //BA.debugLineNum = 44040194;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(mostCurrent._starter._ruta /*String*/ ,"kmt.db"))) { +anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db");}; +RDebugUtils.currentLine=44040195; + //BA.debugLineNum = 44040195;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; +RDebugUtils.currentLine=44040196; + //BA.debugLineNum = 44040196;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); +RDebugUtils.currentLine=44040198; + //BA.debugLineNum = 44040198;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); +RDebugUtils.currentLine=44040200; + //BA.debugLineNum = 44040200;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_errorlog.Initialize(mostCurrent._starter._ruta /*String*/ ,"errorLog.db",anywheresoftware.b4a.keywords.Common.True);}; +RDebugUtils.currentLine=44040201; + //BA.debugLineNum = 44040201;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; +_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"); +RDebugUtils.currentLine=44040202; + //BA.debugLineNum = 44040202;BA.debugLine="End Sub"; +return ""; +} +public static String _fechakmt(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "fechakmt", false)) + {return ((String) Debug.delegate(null, "fechakmt", new Object[] {_ba,_fecha}));} +String _origformat = ""; +String _nuevafecha = ""; +RDebugUtils.currentLine=43450368; + //BA.debugLineNum = 43450368;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +RDebugUtils.currentLine=43450370; + //BA.debugLineNum = 43450370;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=43450371; + //BA.debugLineNum = 43450371;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); +RDebugUtils.currentLine=43450372; + //BA.debugLineNum = 43450372;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); +RDebugUtils.currentLine=43450373; + //BA.debugLineNum = 43450373;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=43450375; + //BA.debugLineNum = 43450375;BA.debugLine="Return nuevaFecha"; +if (true) return _nuevafecha; +RDebugUtils.currentLine=43450376; + //BA.debugLineNum = 43450376;BA.debugLine="End Sub"; +return ""; +} +public static boolean _traeusarintentbdwa(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeusarintentbdwa", false)) + {return ((Boolean) Debug.delegate(null, "traeusarintentbdwa", new Object[] {_ba}));} +boolean _bdwa = false; +anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; +RDebugUtils.currentLine=48627712; + //BA.debugLineNum = 48627712;BA.debugLine="Sub traeUsarIntentBDWA As Boolean 'ignore"; +RDebugUtils.currentLine=48627713; + //BA.debugLineNum = 48627713;BA.debugLine="Private BDWA As Boolean = False"; +_bdwa = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=48627714; + //BA.debugLineNum = 48627714;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery($\"se"; +_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'IMPORTAR_BD_WA'")))); +RDebugUtils.currentLine=48627715; + //BA.debugLineNum = 48627715;BA.debugLine="If x.RowCount > 0 Then"; +if (_x.getRowCount()>0) { +RDebugUtils.currentLine=48627716; + //BA.debugLineNum = 48627716;BA.debugLine="x.Position = 0"; +_x.setPosition((int) (0)); +RDebugUtils.currentLine=48627717; + //BA.debugLineNum = 48627717;BA.debugLine="If x.GetString(\"CAT_VA_VALOR\") = \"true\" Then BDW"; +if ((_x.GetString("CAT_VA_VALOR")).equals("true")) { +_bdwa = anywheresoftware.b4a.keywords.Common.True;}; + }; +RDebugUtils.currentLine=48627720; + //BA.debugLineNum = 48627720;BA.debugLine="Return BDWA"; +if (true) return _bdwa; +RDebugUtils.currentLine=48627721; + //BA.debugLineNum = 48627721;BA.debugLine="End Sub"; +return false; +} +public static String _guardaappinfo(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaappinfo", false)) + {return ((String) Debug.delegate(null, "guardaappinfo", new Object[] {_ba}));} +RDebugUtils.currentLine=47579136; + //BA.debugLineNum = 47579136;BA.debugLine="Sub guardaAppInfo 'ignore"; +RDebugUtils.currentLine=47579137; + //BA.debugLineNum = 47579137;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"); +RDebugUtils.currentLine=47579138; + //BA.debugLineNum = 47579138;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getLabelName()))+"')")); +RDebugUtils.currentLine=47579139; + //BA.debugLineNum = 47579139;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+"')")); +RDebugUtils.currentLine=47579140; + //BA.debugLineNum = 47579140;BA.debugLine="End Sub"; +return ""; +} +public static String _agregacolumna(anywheresoftware.b4a.BA _ba,String _tabla,String _columna,String _tipo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "agregacolumna", false)) + {return ((String) Debug.delegate(null, "agregacolumna", new Object[] {_ba,_tabla,_columna,_tipo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=47513600; + //BA.debugLineNum = 47513600;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=47513601; + //BA.debugLineNum = 47513601;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=47513602; + //BA.debugLineNum = 47513602;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=47513603; + //BA.debugLineNum = 47513603;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=47513604; + //BA.debugLineNum = 47513604;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=47513605; + //BA.debugLineNum = 47513605;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=47513606; + //BA.debugLineNum = 47513606;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +anywheresoftware.b4a.keywords.Common.LogImpl("047513606",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); + }; + } + catch (Exception e9) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e9);RDebugUtils.currentLine=47513610; + //BA.debugLineNum = 47513610;BA.debugLine="Try"; +try {RDebugUtils.currentLine=47513611; + //BA.debugLineNum = 47513611;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=47513612; + //BA.debugLineNum = 47513612;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +anywheresoftware.b4a.keywords.Common.LogImpl("047513612",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); + } + catch (Exception e13) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13);RDebugUtils.currentLine=47513614; + //BA.debugLineNum = 47513614;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("047513614",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; +RDebugUtils.currentLine=47513616; + //BA.debugLineNum = 47513616;BA.debugLine="Log(2)"; +anywheresoftware.b4a.keywords.Common.LogImpl("047513616",BA.NumberToString(2),0); + }; +RDebugUtils.currentLine=47513618; + //BA.debugLineNum = 47513618;BA.debugLine="End Sub"; +return ""; +} +public static String _importabddesdewhatsapp(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "importabddesdewhatsapp", false)) + {return ((String) Debug.delegate(null, "importabddesdewhatsapp", new Object[] {_ba}));} +String _xmldata = ""; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outstr = null; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _instr = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null; +RDebugUtils.currentLine=48562176; + //BA.debugLineNum = 48562176;BA.debugLine="Sub importaBDDesdeWhatsApp"; +RDebugUtils.currentLine=48562178; + //BA.debugLineNum = 48562178;BA.debugLine="Log(\"Revisamos intent de importar desde whatsapp\""; +anywheresoftware.b4a.keywords.Common.LogImpl("048562178","Revisamos intent de importar desde whatsapp",0); +RDebugUtils.currentLine=48562179; + //BA.debugLineNum = 48562179;BA.debugLine="Log(B4XPages.MainPage.intentUsado)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048562179",BA.ObjectToString(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ ),0); +RDebugUtils.currentLine=48562180; + //BA.debugLineNum = 48562180;BA.debugLine="Log(in)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048562180",BA.ObjectToString(_in),0); +RDebugUtils.currentLine=48562181; + //BA.debugLineNum = 48562181;BA.debugLine="If Not(in.IsInitialized) Then in = B4XPages.GetNa"; +if (anywheresoftware.b4a.keywords.Common.Not(_in.IsInitialized())) { +_in = mostCurrent._b4xpages._getnativeparent /*anywheresoftware.b4a.objects.ActivityWrapper*/ (_ba,(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba))).GetStartingIntent();}; +RDebugUtils.currentLine=48562182; + //BA.debugLineNum = 48562182;BA.debugLine="If Not(B4XPages.MainPage.intentUsado) And in <> N"; +if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ ) && _in!= null) { +RDebugUtils.currentLine=48562184; + //BA.debugLineNum = 48562184;BA.debugLine="LogColor(\"Importamos base de datos desde Whatsap"; +anywheresoftware.b4a.keywords.Common.LogImpl("048562184","Importamos base de datos desde Whatsapp.",anywheresoftware.b4a.keywords.Common.Colors.Blue); +RDebugUtils.currentLine=48562185; + //BA.debugLineNum = 48562185;BA.debugLine="B4XPages.MainPage.intentUsado = True"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=48562187; + //BA.debugLineNum = 48562187;BA.debugLine="If in.GetData <> Null Then"; +if (_in.GetData()!= null) { +RDebugUtils.currentLine=48562188; + //BA.debugLineNum = 48562188;BA.debugLine="Dim XmlData As String"; +_xmldata = ""; +RDebugUtils.currentLine=48562189; + //BA.debugLineNum = 48562189;BA.debugLine="XmlData = in.GetData"; +_xmldata = _in.GetData(); +RDebugUtils.currentLine=48562190; + //BA.debugLineNum = 48562190;BA.debugLine="Try"; +try {RDebugUtils.currentLine=48562191; + //BA.debugLineNum = 48562191;BA.debugLine="Dim OutStr As OutputStream = File.OpenOutput(F"; +_outstr = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_outstr = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=48562192; + //BA.debugLineNum = 48562192;BA.debugLine="Dim InStr As InputStream = File.OpenInput(\"Con"; +_instr = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +_instr = anywheresoftware.b4a.keywords.Common.File.OpenInput("ContentDir",_xmldata); +RDebugUtils.currentLine=48562193; + //BA.debugLineNum = 48562193;BA.debugLine="File.Copy2(InStr,OutStr)"; +anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_instr.getObject()),(java.io.OutputStream)(_outstr.getObject())); +RDebugUtils.currentLine=48562194; + //BA.debugLineNum = 48562194;BA.debugLine="LogColor(\"BD copiada a interna.\", Colors.Blue)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048562194","BD copiada a interna.",anywheresoftware.b4a.keywords.Common.Colors.Blue); +RDebugUtils.currentLine=48562195; + //BA.debugLineNum = 48562195;BA.debugLine="OutStr.Close"; +_outstr.Close(); +RDebugUtils.currentLine=48562196; + //BA.debugLineNum = 48562196;BA.debugLine="If in.As(String).Contains(\"whatsapp\") Then Toa"; +if ((BA.ObjectToString(_in)).contains("whatsapp")) { +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD cargada desde Whatsapp"),anywheresoftware.b4a.keywords.Common.False);}; + } + catch (Exception e19) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19);RDebugUtils.currentLine=48562198; + //BA.debugLineNum = 48562198;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048562198",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; +RDebugUtils.currentLine=48562203; + //BA.debugLineNum = 48562203;BA.debugLine="Private a As Cursor = Starter.skmt.ExecQuery($\""; +_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'APP_NAME'")))); +RDebugUtils.currentLine=48562204; + //BA.debugLineNum = 48562204;BA.debugLine="If a.RowCount > 0 Then"; +if (_a.getRowCount()>0) { +RDebugUtils.currentLine=48562205; + //BA.debugLineNum = 48562205;BA.debugLine="a.Position = 0"; +_a.setPosition((int) (0)); +RDebugUtils.currentLine=48562206; + //BA.debugLineNum = 48562206;BA.debugLine="ToastMessageShow($\"BD de \"${a.GetString(\"CAT_V"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(("BD de \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_a.GetString("CAT_VA_VALOR")))+"\" cargada.")),anywheresoftware.b4a.keywords.Common.True); + }; +RDebugUtils.currentLine=48562208; + //BA.debugLineNum = 48562208;BA.debugLine="a = Starter.skmt.ExecQuery($\"select * from usua"; +_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from usuarioa")))); +RDebugUtils.currentLine=48562209; + //BA.debugLineNum = 48562209;BA.debugLine="If a.RowCount > 0 Then"; +if (_a.getRowCount()>0) { +RDebugUtils.currentLine=48562210; + //BA.debugLineNum = 48562210;BA.debugLine="a.Position = 0"; +_a.setPosition((int) (0)); +RDebugUtils.currentLine=48562211; + //BA.debugLineNum = 48562211;BA.debugLine="B4XPages.MainPage.user.Text = a.GetString(\"USU"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_a.GetString("USUARIO"))); +RDebugUtils.currentLine=48562212; + //BA.debugLineNum = 48562212;BA.debugLine="B4XPages.MainPage.pass.Text = a.GetString(\"PAS"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_a.GetString("PASS"))); + }; + }; + }; +RDebugUtils.currentLine=48562216; + //BA.debugLineNum = 48562216;BA.debugLine="End Sub"; +return ""; +} +public static String _panelvisible(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _panel,int _top,int _left) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "panelvisible", false)) + {return ((String) Debug.delegate(null, "panelvisible", new Object[] {_ba,_panel,_top,_left}));} +RDebugUtils.currentLine=45285376; + //BA.debugLineNum = 45285376;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +RDebugUtils.currentLine=45285377; + //BA.debugLineNum = 45285377;BA.debugLine="panel.BringToFront"; +_panel.BringToFront(); +RDebugUtils.currentLine=45285378; + //BA.debugLineNum = 45285378;BA.debugLine="panel.Visible = True"; +_panel.setVisible(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=45285379; + //BA.debugLineNum = 45285379;BA.debugLine="panel.Top = top"; +_panel.setTop(_top); +RDebugUtils.currentLine=45285380; + //BA.debugLineNum = 45285380;BA.debugLine="panel.Left = left"; +_panel.setLeft(_left); +RDebugUtils.currentLine=45285381; + //BA.debugLineNum = 45285381;BA.debugLine="End Sub"; +return ""; +} +public static String _traetipoventadebd(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetipoventadebd", false)) + {return ((String) Debug.delegate(null, "traetipoventadebd", new Object[] {_ba}));} +String _tipoventa = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null; +RDebugUtils.currentLine=48955392; + //BA.debugLineNum = 48955392;BA.debugLine="Sub traeTipoVentaDeBD As String"; +RDebugUtils.currentLine=48955393; + //BA.debugLineNum = 48955393;BA.debugLine="Private tipoVenta As String = \"PREVENTA\""; +_tipoventa = "PREVENTA"; +RDebugUtils.currentLine=48955394; + //BA.debugLineNum = 48955394;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery(\""; +_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'TIPO_VENTA' "))); +RDebugUtils.currentLine=48955395; + //BA.debugLineNum = 48955395;BA.debugLine="Do While r.NextRow"; +while (_r.NextRow()) { +RDebugUtils.currentLine=48955396; + //BA.debugLineNum = 48955396;BA.debugLine="tipoVenta = r.GetString(\"CAT_VA_VALOR\").As(Strin"; +_tipoventa = (_r.GetString("CAT_VA_VALOR")).toUpperCase(); + } +; +RDebugUtils.currentLine=48955398; + //BA.debugLineNum = 48955398;BA.debugLine="If Starter.idCliente = \"0\" Then"; +if ((mostCurrent._starter._idcliente /*String*/ ).equals("0")) { +RDebugUtils.currentLine=48955399; + //BA.debugLineNum = 48955399;BA.debugLine="tipoVenta = \"ABORDO\""; +_tipoventa = "ABORDO"; + }; +RDebugUtils.currentLine=48955402; + //BA.debugLineNum = 48955402;BA.debugLine="Return tipoVenta"; +if (true) return _tipoventa; +RDebugUtils.currentLine=48955403; + //BA.debugLineNum = 48955403;BA.debugLine="End Sub"; +return ""; +} +public static String _traealmacen(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traealmacen", false)) + {return ((String) Debug.delegate(null, "traealmacen", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _a = ""; +RDebugUtils.currentLine=45940736; + //BA.debugLineNum = 45940736;BA.debugLine="Sub traeAlmacen As String 'ignore"; +RDebugUtils.currentLine=45940737; + //BA.debugLineNum = 45940737;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=45940738; + //BA.debugLineNum = 45940738;BA.debugLine="Private a As String = \"NA\""; +_a = "NA"; +RDebugUtils.currentLine=45940739; + //BA.debugLineNum = 45940739;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=45940740; + //BA.debugLineNum = 45940740;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=45940741; + //BA.debugLineNum = 45940741;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=45940742; + //BA.debugLineNum = 45940742;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; +_a = _c.GetString("ID_ALMACEN"); + }; +RDebugUtils.currentLine=45940744; + //BA.debugLineNum = 45940744;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=45940745; + //BA.debugLineNum = 45940745;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=45940746; + //BA.debugLineNum = 45940746;BA.debugLine="End Sub"; +return ""; +} +public static String _parsehttperror(anywheresoftware.b4a.BA _ba,String _error) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "parsehttperror", false)) + {return ((String) Debug.delegate(null, "parsehttperror", new Object[] {_ba,_error}));} +String _nuevoerror = ""; +int _inicio = 0; +int _final = 0; +RDebugUtils.currentLine=48496640; + //BA.debugLineNum = 48496640;BA.debugLine="Sub parseHTTPError(error As String) As String"; +RDebugUtils.currentLine=48496641; + //BA.debugLineNum = 48496641;BA.debugLine="Private nuevoError As String = error"; +_nuevoerror = _error; +RDebugUtils.currentLine=48496642; + //BA.debugLineNum = 48496642;BA.debugLine="Private inicio As Int = error.IndexOf(\"\")"; +_inicio = _error.indexOf("<title>"); +RDebugUtils.currentLine=48496643; + //BA.debugLineNum = 48496643;BA.debugLine="Private final As Int = error.IndexOf(\"\")"; +_final = _error.indexOf(""); +RDebugUtils.currentLine=48496644; + //BA.debugLineNum = 48496644;BA.debugLine="Log(\"|\" & inicio & \"|\" & final & \"|\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("048496644","|"+BA.NumberToString(_inicio)+"|"+BA.NumberToString(_final)+"|",0); +RDebugUtils.currentLine=48496645; + //BA.debugLineNum = 48496645;BA.debugLine="If inicio > 0 And final > 0 Then"; +if (_inicio>0 && _final>0) { +RDebugUtils.currentLine=48496646; + //BA.debugLineNum = 48496646;BA.debugLine="nuevoError = error.SubString2(inicio + 17, final"; +_nuevoerror = _error.substring((int) (_inicio+17),_final); + }; +RDebugUtils.currentLine=48496649; + //BA.debugLineNum = 48496649;BA.debugLine="Return nuevoError"; +if (true) return _nuevoerror; +RDebugUtils.currentLine=48496650; + //BA.debugLineNum = 48496650;BA.debugLine="End Sub"; +return ""; +} +public static String _traeruta(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeruta", false)) + {return ((String) Debug.delegate(null, "traeruta", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +String _idcliente = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _elcc = null; +RDebugUtils.currentLine=46071808; + //BA.debugLineNum = 46071808;BA.debugLine="Sub traeRuta As String 'ignore"; +RDebugUtils.currentLine=46071809; + //BA.debugLineNum = 46071809;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46071810; + //BA.debugLineNum = 46071810;BA.debugLine="Private r As String = \"0\""; +_r = "0"; +RDebugUtils.currentLine=46071811; + //BA.debugLineNum = 46071811;BA.debugLine="Private idCliente As String = \"\""; +_idcliente = ""; +RDebugUtils.currentLine=46071812; + //BA.debugLineNum = 46071812;BA.debugLine="Try"; +try {RDebugUtils.currentLine=46071813; + //BA.debugLineNum = 46071813;BA.debugLine="Private elCc As Cursor = Starter.skmt.ExecQuery("; +_elcc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_elcc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CUENTA from CUENTAA")))); +RDebugUtils.currentLine=46071814; + //BA.debugLineNum = 46071814;BA.debugLine="If elCc.RowCount > 0 Then"; +if (_elcc.getRowCount()>0) { +RDebugUtils.currentLine=46071815; + //BA.debugLineNum = 46071815;BA.debugLine="elCc.Position = 0"; +_elcc.setPosition((int) (0)); +RDebugUtils.currentLine=46071816; + //BA.debugLineNum = 46071816;BA.debugLine="idCliente = elCc.GetString(\"CUENTA\")"; +_idcliente = _elcc.GetString("CUENTA"); +RDebugUtils.currentLine=46071817; + //BA.debugLineNum = 46071817;BA.debugLine="Log(\"|\"&elCc.GetString(\"CUENTA\")&\"|\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("046071817","|"+_elcc.GetString("CUENTA")+"|",0); + }; +RDebugUtils.currentLine=46071820; + //BA.debugLineNum = 46071820;BA.debugLine="If idCliente <> \"\" Then"; +if ((_idcliente).equals("") == false) { +RDebugUtils.currentLine=46071822; + //BA.debugLineNum = 46071822;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select d"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'")))); + }else { +RDebugUtils.currentLine=46071825; + //BA.debugLineNum = 46071825;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select di"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); + }; +RDebugUtils.currentLine=46071828; + //BA.debugLineNum = 46071828;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=46071830; + //BA.debugLineNum = 46071830;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=46071831; + //BA.debugLineNum = 46071831;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +_r = _c.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=46071833; + //BA.debugLineNum = 46071833;BA.debugLine="c.Close"; +_c.Close(); + } + catch (Exception e22) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e22);RDebugUtils.currentLine=46071835; + //BA.debugLineNum = 46071835;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("046071835",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; +RDebugUtils.currentLine=46071838; + //BA.debugLineNum = 46071838;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=46071839; + //BA.debugLineNum = 46071839;BA.debugLine="End Sub"; +return ""; +} +public static String _traetablaprods(anywheresoftware.b4a.BA _ba,String _tipoventa) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetablaprods", false)) + {return ((String) Debug.delegate(null, "traetablaprods", new Object[] {_ba,_tipoventa}));} +String _tablaprods = ""; +RDebugUtils.currentLine=48824320; + //BA.debugLineNum = 48824320;BA.debugLine="Sub traeTablaProds(tipoventa As String) As String"; +RDebugUtils.currentLine=48824321; + //BA.debugLineNum = 48824321;BA.debugLine="Log(tipoventa)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048824321",_tipoventa,0); +RDebugUtils.currentLine=48824322; + //BA.debugLineNum = 48824322;BA.debugLine="Private tablaProds As String = \"cat_gunaprod2\""; +_tablaprods = "cat_gunaprod2"; +RDebugUtils.currentLine=48824323; + //BA.debugLineNum = 48824323;BA.debugLine="If tipoventa = \"ABORDO\" Or tipoventa = \"PREVENTA\""; +if ((_tipoventa).equals("ABORDO") || (_tipoventa).equals("PREVENTA") || (_tipoventa).equals("PREVENTA_FUTURA") || (_tipoventa).equals("MAYOREO")) { +_tablaprods = "cat_gunaprod";}; +RDebugUtils.currentLine=48824325; + //BA.debugLineNum = 48824325;BA.debugLine="Return tablaProds"; +if (true) return _tablaprods; +RDebugUtils.currentLine=48824326; + //BA.debugLineNum = 48824326;BA.debugLine="End Sub"; +return ""; +} +public static String _fechanormal(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "fechanormal", false)) + {return ((String) Debug.delegate(null, "fechanormal", new Object[] {_ba,_fecha}));} +String _origformat = ""; +String _nuevafecha = ""; +RDebugUtils.currentLine=44105728; + //BA.debugLineNum = 44105728;BA.debugLine="Sub fechanormal(fecha As String) As String 'ignore"; +RDebugUtils.currentLine=44105730; + //BA.debugLineNum = 44105730;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=44105731; + //BA.debugLineNum = 44105731;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss"); +RDebugUtils.currentLine=44105732; + //BA.debugLineNum = 44105732;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); +RDebugUtils.currentLine=44105733; + //BA.debugLineNum = 44105733;BA.debugLine="DateTime.DateFormat = OrigFormat 'return to orig"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=44105735; + //BA.debugLineNum = 44105735;BA.debugLine="Return nuevaFecha"; +if (true) return _nuevafecha; +RDebugUtils.currentLine=44105736; + //BA.debugLineNum = 44105736;BA.debugLine="End Sub"; +return ""; +} +public static String _validapromoprocterpro3009(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "validapromoprocterpro3009", false)) + {return ((String) Debug.delegate(null, "validapromoprocterpro3009", new Object[] {_ba}));} +String _idregalo = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null; +String _monto = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r2 = null; +RDebugUtils.currentLine=48168960; + //BA.debugLineNum = 48168960;BA.debugLine="Sub validaPromoProcterPRO3009"; +RDebugUtils.currentLine=48168961; + //BA.debugLineNum = 48168961;BA.debugLine="Private idRegalo As String = \"PYG1016\""; +_idregalo = "PYG1016"; +RDebugUtils.currentLine=48168962; + //BA.debugLineNum = 48168962;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; +_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select pe_cliente from pedido where pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cedis = 'PRO3009'")))); +RDebugUtils.currentLine=48168964; + //BA.debugLineNum = 48168964;BA.debugLine="Do While r.NextRow"; +while (_r.NextRow()) { +RDebugUtils.currentLine=48168965; + //BA.debugLineNum = 48168965;BA.debugLine="Private monto As String = 0"; +_monto = BA.NumberToString(0); +RDebugUtils.currentLine=48168966; + //BA.debugLineNum = 48168966;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery"; +_r2 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_r2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select ifnull(sum(pe_costo_tot),0) as monto from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"' and PE_PROID in (\"PYG1014\", \"PYG1025\")")))); +RDebugUtils.currentLine=48168967; + //BA.debugLineNum = 48168967;BA.debugLine="Do While r2.NextRow"; +while (_r2.NextRow()) { +RDebugUtils.currentLine=48168968; + //BA.debugLineNum = 48168968;BA.debugLine="Log($\"Cliente: ${r.GetString(\"PE_CLIENTE\")}, mo"; +anywheresoftware.b4a.keywords.Common.LogImpl("048168968",("Cliente: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+", monto: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r2.GetString("monto")))+""),0); +RDebugUtils.currentLine=48168971; + //BA.debugLineNum = 48168971;BA.debugLine="If r2.GetString(\"monto\") < 150 Then"; +if ((double)(Double.parseDouble(_r2.GetString("monto")))<150) { +RDebugUtils.currentLine=48168972; + //BA.debugLineNum = 48168972;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = 'PRO3009' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"' and pe_cant = 1 ")); +RDebugUtils.currentLine=48168974; + //BA.debugLineNum = 48168974;BA.debugLine="Msgbox($\"Regalo de la promoción PRO3009 borrad"; +anywheresoftware.b4a.keywords.Common.Msgbox(BA.ObjectToCharSequence(("Regalo de la promoción PRO3009 borrado por no cumplir con los requisitos mínimos.")),BA.ObjectToCharSequence("Regalo Borrado"),_ba); + }; + } +; +RDebugUtils.currentLine=48168978; + //BA.debugLineNum = 48168978;BA.debugLine="r2 = Starter.skmt.ExecQuery($\"select count(pe_pr"; +_r2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(pe_proid) as cuantos from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'")))); +RDebugUtils.currentLine=48168979; + //BA.debugLineNum = 48168979;BA.debugLine="Do While r2.NextRow"; +while (_r2.NextRow()) { +RDebugUtils.currentLine=48168981; + //BA.debugLineNum = 48168981;BA.debugLine="If r2.GetString(\"cuantos\") = 0 Then"; +if ((_r2.GetString("cuantos")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=48168982; + //BA.debugLineNum = 48168982;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where pc_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'")); +RDebugUtils.currentLine=48168983; + //BA.debugLineNum = 48168983;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info3 s"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info3 set gestion = 0 where cat_cl_codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'")); + }; + } +; + } +; +RDebugUtils.currentLine=48168987; + //BA.debugLineNum = 48168987;BA.debugLine="End Sub"; +return ""; +} +public static String _calculatotalconpromoxrango(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "calculatotalconpromoxrango", false)) + {return ((String) Debug.delegate(null, "calculatotalconpromoxrango", new Object[] {_ba,_idcliente}));} +String _totalparcial = ""; +String _total = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; +int _i = 0; +RDebugUtils.currentLine=49741824; + //BA.debugLineNum = 49741824;BA.debugLine="Sub calculaTotalConPromoXRango(idCliente As String"; +RDebugUtils.currentLine=49741832; + //BA.debugLineNum = 49741832;BA.debugLine="Private totalParcial As String = 0"; +_totalparcial = BA.NumberToString(0); +RDebugUtils.currentLine=49741833; + //BA.debugLineNum = 49741833;BA.debugLine="Private total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=49741834; + //BA.debugLineNum = 49741834;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'")))); +RDebugUtils.currentLine=49741835; + //BA.debugLineNum = 49741835;BA.debugLine="If cx.RowCount > 0 Then"; +if (_cx.getRowCount()>0) { +RDebugUtils.currentLine=49741836; + //BA.debugLineNum = 49741836;BA.debugLine="For i = 0 To cx.RowCount - 1"; +{ +final int step5 = 1; +final int limit5 = (int) (_cx.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=49741838; + //BA.debugLineNum = 49741838;BA.debugLine="cx.Position = i"; +_cx.setPosition(_i); +RDebugUtils.currentLine=49741839; + //BA.debugLineNum = 49741839;BA.debugLine="Log(\"***************************************\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("049741839","***************************************",0); +RDebugUtils.currentLine=49741840; + //BA.debugLineNum = 49741840;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +if ((_cx.GetString("RECANT")).equals("N")) { +RDebugUtils.currentLine=49741841; + //BA.debugLineNum = 49741841;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +_totalparcial = _cx.GetString("PE_COSTO_TOT"); + }else +{RDebugUtils.currentLine=49741842; + //BA.debugLineNum = 49741842;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +if ((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { +RDebugUtils.currentLine=49741843; + //BA.debugLineNum = 49741843;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +_totalparcial = _cx.GetString("PE_RECALCULOTOT"); + }else { +RDebugUtils.currentLine=49741845; + //BA.debugLineNum = 49741845;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); +RDebugUtils.currentLine=49741846; + //BA.debugLineNum = 49741846;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +anywheresoftware.b4a.keywords.Common.LogImpl("049741846",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); + }} +; +RDebugUtils.currentLine=49741848; + //BA.debugLineNum = 49741848;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; +anywheresoftware.b4a.keywords.Common.LogImpl("049741848",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0); +RDebugUtils.currentLine=49741849; + //BA.debugLineNum = 49741849;BA.debugLine="total = total + totalParcial"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); + } +}; + }; +RDebugUtils.currentLine=49741852; + //BA.debugLineNum = 49741852;BA.debugLine="cx.Close"; +_cx.Close(); +RDebugUtils.currentLine=49741853; + //BA.debugLineNum = 49741853;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=49741854; + //BA.debugLineNum = 49741854;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("049741854",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0); +RDebugUtils.currentLine=49741855; + //BA.debugLineNum = 49741855;BA.debugLine="Return total"; +if (true) return _total; +RDebugUtils.currentLine=49741856; + //BA.debugLineNum = 49741856;BA.debugLine="End Sub"; +return ""; +} +public static String _centrapanel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centrapanel", false)) + {return ((String) Debug.delegate(null, "centrapanel", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=45416448; + //BA.debugLineNum = 45416448;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +RDebugUtils.currentLine=45416449; + //BA.debugLineNum = 45416449;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); +RDebugUtils.currentLine=45416450; + //BA.debugLineNum = 45416450;BA.debugLine="End Sub"; +return ""; +} +public static String _centrapanelv(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _altoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centrapanelv", false)) + {return ((String) Debug.delegate(null, "centrapanelv", new Object[] {_ba,_elemento,_altoelementosuperior}));} +RDebugUtils.currentLine=45481984; + //BA.debugLineNum = 45481984;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; +RDebugUtils.currentLine=45481985; + //BA.debugLineNum = 45481985;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; +_elemento.setTop((int) (anywheresoftware.b4a.keywords.Common.Round(_altoelementosuperior/(double)2)-(_elemento.getHeight()/(double)2))); +RDebugUtils.currentLine=45481986; + //BA.debugLineNum = 45481986;BA.debugLine="End Sub"; +return ""; +} +public static String _guardavariable(anywheresoftware.b4a.BA _ba,String _nombre,String _valor) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardavariable", false)) + {return ((String) Debug.delegate(null, "guardavariable", new Object[] {_ba,_nombre,_valor}));} +RDebugUtils.currentLine=49020928; + //BA.debugLineNum = 49020928;BA.debugLine="Sub guardaVariable(nombre As String, valor As Stri"; +RDebugUtils.currentLine=49020929; + //BA.debugLineNum = 49020929;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+"'")); +RDebugUtils.currentLine=49020930; + //BA.debugLineNum = 49020930;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+"', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_valor))+"')")); +RDebugUtils.currentLine=49020931; + //BA.debugLineNum = 49020931;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.collections.Map _revisaforzaractualizacion(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisaforzaractualizacion", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "revisaforzaractualizacion", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _ra = null; +String _nuevaversion = ""; +int _forzaractualizacion = 0; +anywheresoftware.b4a.objects.collections.Map _m = null; +RDebugUtils.currentLine=48431104; + //BA.debugLineNum = 48431104;BA.debugLine="Sub revisaForzarActualizacion As Map"; +RDebugUtils.currentLine=48431105; + //BA.debugLineNum = 48431105;BA.debugLine="Private ra As ResultSet = Starter.skmt.ExecQuery("; +_ra = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_ra = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'VERSION_NUEVA' or CAT_VA_DESCRIPCION = 'FORZAR_ACTUALIZACION'")))); +RDebugUtils.currentLine=48431106; + //BA.debugLineNum = 48431106;BA.debugLine="Private nuevaVersion As String = \"\""; +_nuevaversion = ""; +RDebugUtils.currentLine=48431107; + //BA.debugLineNum = 48431107;BA.debugLine="Private forzarActualizacion As Int = 2"; +_forzaractualizacion = (int) (2); +RDebugUtils.currentLine=48431108; + //BA.debugLineNum = 48431108;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=48431109; + //BA.debugLineNum = 48431109;BA.debugLine="m.Initialize"; +_m.Initialize(); +RDebugUtils.currentLine=48431110; + //BA.debugLineNum = 48431110;BA.debugLine="Do While ra.NextRow"; +while (_ra.NextRow()) { +RDebugUtils.currentLine=48431111; + //BA.debugLineNum = 48431111;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"VERSION"; +if ((_ra.GetString("CAT_VA_DESCRIPCION")).equals("VERSION_NUEVA")) { +_nuevaversion = _ra.GetString("CAT_VA_VALOR");}; +RDebugUtils.currentLine=48431112; + //BA.debugLineNum = 48431112;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"FORZAR_"; +if ((_ra.GetString("CAT_VA_DESCRIPCION")).equals("FORZAR_ACTUALIZACION")) { +_forzaractualizacion = _ra.GetInt("CAT_VA_VALOR");}; + } +; +RDebugUtils.currentLine=48431116; + //BA.debugLineNum = 48431116;BA.debugLine="If nuevaVersion <> Application.VersionName And fo"; +if ((_nuevaversion).equals(anywheresoftware.b4a.keywords.Common.Application.getVersionName()) == false && _forzaractualizacion==1) { +RDebugUtils.currentLine=48431117; + //BA.debugLineNum = 48431117;BA.debugLine="m.Put(\"forzar\", 1)"; +_m.Put((Object)("forzar"),(Object)(1)); +RDebugUtils.currentLine=48431118; + //BA.debugLineNum = 48431118;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)"; +_m.Put((Object)("nuevaVersion"),(Object)(_nuevaversion)); + }else +{RDebugUtils.currentLine=48431119; + //BA.debugLineNum = 48431119;BA.debugLine="else if forzarActualizacion = 2 Then 'Si no exist"; +if (_forzaractualizacion==2) { +RDebugUtils.currentLine=48431120; + //BA.debugLineNum = 48431120;BA.debugLine="m.Put(\"forzar\", 2)"; +_m.Put((Object)("forzar"),(Object)(2)); +RDebugUtils.currentLine=48431121; + //BA.debugLineNum = 48431121;BA.debugLine="m.Put(\"nuevaVersion\", \"Recargar\")"; +_m.Put((Object)("nuevaVersion"),(Object)("Recargar")); + }else { +RDebugUtils.currentLine=48431123; + //BA.debugLineNum = 48431123;BA.debugLine="m.Put(\"forzar\", 0)"; +_m.Put((Object)("forzar"),(Object)(0)); +RDebugUtils.currentLine=48431124; + //BA.debugLineNum = 48431124;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)"; +_m.Put((Object)("nuevaVersion"),(Object)(_nuevaversion)); + }} +; +RDebugUtils.currentLine=48431126; + //BA.debugLineNum = 48431126;BA.debugLine="If nuevaVersion = \"\" Or nuevaVersion = Null Or nu"; +if ((_nuevaversion).equals("") || _nuevaversion== null || (_nuevaversion).equals("null")) { +RDebugUtils.currentLine=48431127; + //BA.debugLineNum = 48431127;BA.debugLine="m.Put(\"forzar\", 0)"; +_m.Put((Object)("forzar"),(Object)(0)); +RDebugUtils.currentLine=48431128; + //BA.debugLineNum = 48431128;BA.debugLine="m.Put(\"nuevaVersion\", \"\")"; +_m.Put((Object)("nuevaVersion"),(Object)("")); + }; +RDebugUtils.currentLine=48431130; + //BA.debugLineNum = 48431130;BA.debugLine="Return m"; +if (true) return _m; +RDebugUtils.currentLine=48431131; + //BA.debugLineNum = 48431131;BA.debugLine="End Sub"; +return null; +} +public static String _logjobdoneresultados(anywheresoftware.b4a.BA _ba,gunav2.keymon.com.mx.dbrequestmanager._dbresult _resultado) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "logjobdoneresultados", false)) + {return ((String) Debug.delegate(null, "logjobdoneresultados", new Object[] {_ba,_resultado}));} +Object[] _records = null; +String _k = ""; +RDebugUtils.currentLine=50200576; + //BA.debugLineNum = 50200576;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult)"; +RDebugUtils.currentLine=50200577; + //BA.debugLineNum = 50200577;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_records = (Object[])(group1.Get(index1)); +RDebugUtils.currentLine=50200578; + //BA.debugLineNum = 50200578;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; +anywheresoftware.b4a.keywords.Common.LogImpl("050200578",("====== "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0))); +RDebugUtils.currentLine=50200579; + //BA.debugLineNum = 50200579;BA.debugLine="For Each k As String In resultado.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen3 = group3.getSize() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_k = BA.ObjectToString(group3.Get(index3)); +RDebugUtils.currentLine=50200580; + //BA.debugLineNum = 50200580;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; +anywheresoftware.b4a.keywords.Common.LogImpl("050200580",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0))); + } +}; + } +}; +RDebugUtils.currentLine=50200583; + //BA.debugLineNum = 50200583;BA.debugLine="End Sub"; +return ""; +} +public static int _traetipocliente(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetipocliente", false)) + {return ((Integer) Debug.delegate(null, "traetipocliente", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; +int _tc = 0; +RDebugUtils.currentLine=49348608; + //BA.debugLineNum = 49348608;BA.debugLine="Sub traeTipoCliente As Int"; +RDebugUtils.currentLine=49348609; + //BA.debugLineNum = 49348609;BA.debugLine="Private x As Cursor"; +_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=49348610; + //BA.debugLineNum = 49348610;BA.debugLine="Private tc As Int = 3"; +_tc = (int) (3); +RDebugUtils.currentLine=49348611; + //BA.debugLineNum = 49348611;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(cat_cl"; +_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(cat_cl_tipocliente,3) AS CAT_CL_TIPOCLIENTE from kmt_info3 where cat_cl_codigo in (select cuenta from cuentaa)")))); +RDebugUtils.currentLine=49348612; + //BA.debugLineNum = 49348612;BA.debugLine="If x.RowCount > 0 Then"; +if (_x.getRowCount()>0) { +RDebugUtils.currentLine=49348613; + //BA.debugLineNum = 49348613;BA.debugLine="x.Position = 0"; +_x.setPosition((int) (0)); +RDebugUtils.currentLine=49348615; + //BA.debugLineNum = 49348615;BA.debugLine="tc = x.GetInt(\"CAT_CL_TIPOCLIENTE\")"; +_tc = _x.GetInt("CAT_CL_TIPOCLIENTE"); + }; +RDebugUtils.currentLine=49348618; + //BA.debugLineNum = 49348618;BA.debugLine="Return tc"; +if (true) return _tc; +RDebugUtils.currentLine=49348619; + //BA.debugLineNum = 49348619;BA.debugLine="End Sub"; +return 0; +} +public static String _calculatotalconpromoxrango1(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "calculatotalconpromoxrango1", false)) + {return ((String) Debug.delegate(null, "calculatotalconpromoxrango1", new Object[] {_ba,_idcliente}));} +String _totalparcial = ""; +String _total = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; +int _i = 0; +RDebugUtils.currentLine=49807360; + //BA.debugLineNum = 49807360;BA.debugLine="Sub calculaTotalConPromoXRango1(idCliente As Strin"; +RDebugUtils.currentLine=49807368; + //BA.debugLineNum = 49807368;BA.debugLine="Private totalParcial As String = 0"; +_totalparcial = BA.NumberToString(0); +RDebugUtils.currentLine=49807369; + //BA.debugLineNum = 49807369;BA.debugLine="Private total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=49807370; + //BA.debugLineNum = 49807370;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '1' ")))); +RDebugUtils.currentLine=49807371; + //BA.debugLineNum = 49807371;BA.debugLine="If cx.RowCount > 0 Then"; +if (_cx.getRowCount()>0) { +RDebugUtils.currentLine=49807372; + //BA.debugLineNum = 49807372;BA.debugLine="For i = 0 To cx.RowCount - 1"; +{ +final int step5 = 1; +final int limit5 = (int) (_cx.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=49807374; + //BA.debugLineNum = 49807374;BA.debugLine="cx.Position = i"; +_cx.setPosition(_i); +RDebugUtils.currentLine=49807376; + //BA.debugLineNum = 49807376;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +if ((_cx.GetString("RECANT")).equals("N")) { +RDebugUtils.currentLine=49807377; + //BA.debugLineNum = 49807377;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +_totalparcial = _cx.GetString("PE_COSTO_TOT"); + }else +{RDebugUtils.currentLine=49807378; + //BA.debugLineNum = 49807378;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +if ((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { +RDebugUtils.currentLine=49807379; + //BA.debugLineNum = 49807379;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +_totalparcial = _cx.GetString("PE_RECALCULOTOT"); + }else { +RDebugUtils.currentLine=49807381; + //BA.debugLineNum = 49807381;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); +RDebugUtils.currentLine=49807382; + //BA.debugLineNum = 49807382;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +anywheresoftware.b4a.keywords.Common.LogImpl("049807382",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); + }} +; +RDebugUtils.currentLine=49807385; + //BA.debugLineNum = 49807385;BA.debugLine="total = total + totalParcial"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); + } +}; + }; +RDebugUtils.currentLine=49807388; + //BA.debugLineNum = 49807388;BA.debugLine="cx.Close"; +_cx.Close(); +RDebugUtils.currentLine=49807389; + //BA.debugLineNum = 49807389;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=49807391; + //BA.debugLineNum = 49807391;BA.debugLine="Return total"; +if (true) return _total; +RDebugUtils.currentLine=49807392; + //BA.debugLineNum = 49807392;BA.debugLine="End Sub"; +return ""; +} +public static String _calculatotalconpromoxrango2(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "calculatotalconpromoxrango2", false)) + {return ((String) Debug.delegate(null, "calculatotalconpromoxrango2", new Object[] {_ba,_idcliente}));} +String _totalparcial = ""; +String _total = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; +int _i = 0; +RDebugUtils.currentLine=49872896; + //BA.debugLineNum = 49872896;BA.debugLine="Sub calculaTotalConPromoXRango2(idCliente As Strin"; +RDebugUtils.currentLine=49872904; + //BA.debugLineNum = 49872904;BA.debugLine="Private totalParcial As String = 0"; +_totalparcial = BA.NumberToString(0); +RDebugUtils.currentLine=49872905; + //BA.debugLineNum = 49872905;BA.debugLine="Private total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=49872906; + //BA.debugLineNum = 49872906;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '0' ")))); +RDebugUtils.currentLine=49872907; + //BA.debugLineNum = 49872907;BA.debugLine="If cx.RowCount > 0 Then"; +if (_cx.getRowCount()>0) { +RDebugUtils.currentLine=49872908; + //BA.debugLineNum = 49872908;BA.debugLine="For i = 0 To cx.RowCount - 1"; +{ +final int step5 = 1; +final int limit5 = (int) (_cx.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=49872910; + //BA.debugLineNum = 49872910;BA.debugLine="cx.Position = i"; +_cx.setPosition(_i); +RDebugUtils.currentLine=49872911; + //BA.debugLineNum = 49872911;BA.debugLine="Log(\"***************************************\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("049872911","***************************************",0); +RDebugUtils.currentLine=49872912; + //BA.debugLineNum = 49872912;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +if ((_cx.GetString("RECANT")).equals("N")) { +RDebugUtils.currentLine=49872913; + //BA.debugLineNum = 49872913;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +_totalparcial = _cx.GetString("PE_COSTO_TOT"); + }else +{RDebugUtils.currentLine=49872914; + //BA.debugLineNum = 49872914;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +if ((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { +RDebugUtils.currentLine=49872915; + //BA.debugLineNum = 49872915;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +_totalparcial = _cx.GetString("PE_RECALCULOTOT"); + }else { +RDebugUtils.currentLine=49872917; + //BA.debugLineNum = 49872917;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); +RDebugUtils.currentLine=49872918; + //BA.debugLineNum = 49872918;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +anywheresoftware.b4a.keywords.Common.LogImpl("049872918",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); + }} +; +RDebugUtils.currentLine=49872920; + //BA.debugLineNum = 49872920;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; +anywheresoftware.b4a.keywords.Common.LogImpl("049872920",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0); +RDebugUtils.currentLine=49872921; + //BA.debugLineNum = 49872921;BA.debugLine="total = total + totalParcial"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); + } +}; + }; +RDebugUtils.currentLine=49872924; + //BA.debugLineNum = 49872924;BA.debugLine="cx.Close"; +_cx.Close(); +RDebugUtils.currentLine=49872925; + //BA.debugLineNum = 49872925;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=49872926; + //BA.debugLineNum = 49872926;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("049872926",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0); +RDebugUtils.currentLine=49872927; + //BA.debugLineNum = 49872927;BA.debugLine="Return total"; +if (true) return _total; +RDebugUtils.currentLine=49872928; + //BA.debugLineNum = 49872928;BA.debugLine="End Sub"; +return ""; +} +public static String _traecliente(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecliente", false)) + {return ((String) Debug.delegate(null, "traecliente", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _cl = ""; +RDebugUtils.currentLine=46530560; + //BA.debugLineNum = 46530560;BA.debugLine="Sub traeCliente As String 'ignore"; +RDebugUtils.currentLine=46530561; + //BA.debugLineNum = 46530561;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46530562; + //BA.debugLineNum = 46530562;BA.debugLine="Private cl As String"; +_cl = ""; +RDebugUtils.currentLine=46530563; + //BA.debugLineNum = 46530563;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=46530564; + //BA.debugLineNum = 46530564;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=46530565; + //BA.debugLineNum = 46530565;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=46530566; + //BA.debugLineNum = 46530566;BA.debugLine="cl = c.GetString(\"CUENTA\")"; +_cl = _c.GetString("CUENTA"); + }; +RDebugUtils.currentLine=46530568; + //BA.debugLineNum = 46530568;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=46530570; + //BA.debugLineNum = 46530570;BA.debugLine="Return cl"; +if (true) return _cl; +RDebugUtils.currentLine=46530571; + //BA.debugLineNum = 46530571;BA.debugLine="End Sub"; +return ""; +} +public static String _calculatotalconpromoxrango5(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "calculatotalconpromoxrango5", false)) + {return ((String) Debug.delegate(null, "calculatotalconpromoxrango5", new Object[] {_ba,_idcliente}));} +String _totalparcial = ""; +String _total = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; +int _i = 0; +RDebugUtils.currentLine=50069504; + //BA.debugLineNum = 50069504;BA.debugLine="Sub calculaTotalConPromoXRango5(idCliente As Strin"; +RDebugUtils.currentLine=50069512; + //BA.debugLineNum = 50069512;BA.debugLine="Private totalParcial As String = 0"; +_totalparcial = BA.NumberToString(0); +RDebugUtils.currentLine=50069513; + //BA.debugLineNum = 50069513;BA.debugLine="Private total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=50069514; + //BA.debugLineNum = 50069514;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')")))); +RDebugUtils.currentLine=50069515; + //BA.debugLineNum = 50069515;BA.debugLine="If cx.RowCount > 0 Then"; +if (_cx.getRowCount()>0) { +RDebugUtils.currentLine=50069516; + //BA.debugLineNum = 50069516;BA.debugLine="For i = 0 To cx.RowCount - 1"; +{ +final int step5 = 1; +final int limit5 = (int) (_cx.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=50069518; + //BA.debugLineNum = 50069518;BA.debugLine="cx.Position = i"; +_cx.setPosition(_i); +RDebugUtils.currentLine=50069520; + //BA.debugLineNum = 50069520;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +if ((_cx.GetString("RECANT")).equals("N")) { +RDebugUtils.currentLine=50069521; + //BA.debugLineNum = 50069521;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +_totalparcial = _cx.GetString("PE_COSTO_TOT"); + }else +{RDebugUtils.currentLine=50069522; + //BA.debugLineNum = 50069522;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +if ((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { +RDebugUtils.currentLine=50069523; + //BA.debugLineNum = 50069523;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +_totalparcial = _cx.GetString("PE_RECALCULOTOT"); + }else { +RDebugUtils.currentLine=50069525; + //BA.debugLineNum = 50069525;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); +RDebugUtils.currentLine=50069526; + //BA.debugLineNum = 50069526;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +anywheresoftware.b4a.keywords.Common.LogImpl("050069526",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); + }} +; +RDebugUtils.currentLine=50069529; + //BA.debugLineNum = 50069529;BA.debugLine="total = total + totalParcial"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); + } +}; + }; +RDebugUtils.currentLine=50069532; + //BA.debugLineNum = 50069532;BA.debugLine="cx.Close"; +_cx.Close(); +RDebugUtils.currentLine=50069533; + //BA.debugLineNum = 50069533;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=50069535; + //BA.debugLineNum = 50069535;BA.debugLine="Return total"; +if (true) return _total; +RDebugUtils.currentLine=50069536; + //BA.debugLineNum = 50069536;BA.debugLine="End Sub"; +return ""; +} +public static String _calculatotalconpromoxrango6(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "calculatotalconpromoxrango6", false)) + {return ((String) Debug.delegate(null, "calculatotalconpromoxrango6", new Object[] {_ba,_idcliente}));} +String _totalparcial = ""; +String _total = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; +int _i = 0; +RDebugUtils.currentLine=50135040; + //BA.debugLineNum = 50135040;BA.debugLine="Sub calculaTotalConPromoXRango6(idCliente As Strin"; +RDebugUtils.currentLine=50135048; + //BA.debugLineNum = 50135048;BA.debugLine="Private totalParcial As String = 0"; +_totalparcial = BA.NumberToString(0); +RDebugUtils.currentLine=50135049; + //BA.debugLineNum = 50135049;BA.debugLine="Private total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=50135050; + //BA.debugLineNum = 50135050;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' AND PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP') ")))); +RDebugUtils.currentLine=50135051; + //BA.debugLineNum = 50135051;BA.debugLine="If cx.RowCount > 0 Then"; +if (_cx.getRowCount()>0) { +RDebugUtils.currentLine=50135052; + //BA.debugLineNum = 50135052;BA.debugLine="For i = 0 To cx.RowCount - 1"; +{ +final int step5 = 1; +final int limit5 = (int) (_cx.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=50135054; + //BA.debugLineNum = 50135054;BA.debugLine="cx.Position = i"; +_cx.setPosition(_i); +RDebugUtils.currentLine=50135055; + //BA.debugLineNum = 50135055;BA.debugLine="Log(\"***************************************\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("050135055","***************************************",0); +RDebugUtils.currentLine=50135056; + //BA.debugLineNum = 50135056;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; +if ((_cx.GetString("RECANT")).equals("N")) { +RDebugUtils.currentLine=50135057; + //BA.debugLineNum = 50135057;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; +_totalparcial = _cx.GetString("PE_COSTO_TOT"); + }else +{RDebugUtils.currentLine=50135058; + //BA.debugLineNum = 50135058;BA.debugLine="else if cx.getstring(\"RECANT\") = cx.getstring(\""; +if ((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { +RDebugUtils.currentLine=50135059; + //BA.debugLineNum = 50135059;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; +_totalparcial = _cx.GetString("PE_RECALCULOTOT"); + }else { +RDebugUtils.currentLine=50135061; + //BA.debugLineNum = 50135061;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; +_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); +RDebugUtils.currentLine=50135062; + //BA.debugLineNum = 50135062;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; +anywheresoftware.b4a.keywords.Common.LogImpl("050135062",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); + }} +; +RDebugUtils.currentLine=50135064; + //BA.debugLineNum = 50135064;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; +anywheresoftware.b4a.keywords.Common.LogImpl("050135064",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0); +RDebugUtils.currentLine=50135065; + //BA.debugLineNum = 50135065;BA.debugLine="total = total + totalParcial"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); + } +}; + }; +RDebugUtils.currentLine=50135068; + //BA.debugLineNum = 50135068;BA.debugLine="cx.Close"; +_cx.Close(); +RDebugUtils.currentLine=50135069; + //BA.debugLineNum = 50135069;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=50135070; + //BA.debugLineNum = 50135070;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("050135070",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0); +RDebugUtils.currentLine=50135071; + //BA.debugLineNum = 50135071;BA.debugLine="Return total"; +if (true) return _total; +RDebugUtils.currentLine=50135072; + //BA.debugLineNum = 50135072;BA.debugLine="End Sub"; +return ""; +} +public static String _traeruta2(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeruta2", false)) + {return ((String) Debug.delegate(null, "traeruta2", new Object[] {_ba,_cliente}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +RDebugUtils.currentLine=46333952; + //BA.debugLineNum = 46333952;BA.debugLine="Sub traeRuta2 (cliente As String) As String 'ignor"; +RDebugUtils.currentLine=46333953; + //BA.debugLineNum = 46333953;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46333954; + //BA.debugLineNum = 46333954;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=46333955; + //BA.debugLineNum = 46333955;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); +RDebugUtils.currentLine=46333956; + //BA.debugLineNum = 46333956;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=46333957; + //BA.debugLineNum = 46333957;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=46333958; + //BA.debugLineNum = 46333958;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=46333959; + //BA.debugLineNum = 46333959;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +_r = _c.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=46333961; + //BA.debugLineNum = 46333961;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=46333962; + //BA.debugLineNum = 46333962;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=46333963; + //BA.debugLineNum = 46333963;BA.debugLine="End Sub"; +return ""; +} +public static String _traenombrecliente(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traenombrecliente", false)) + {return ((String) Debug.delegate(null, "traenombrecliente", new Object[] {_ba,_id}));} +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _c = null; +String _n = ""; +RDebugUtils.currentLine=47972352; + //BA.debugLineNum = 47972352;BA.debugLine="Sub traeNombreCliente(id As String) As String"; +RDebugUtils.currentLine=47972353; + //BA.debugLineNum = 47972353;BA.debugLine="Private c As ResultSet = B4XPages.MainPage.skmt.E"; +_c = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=47972354; + //BA.debugLineNum = 47972354;BA.debugLine="Private n As String = \"N/A\""; +_n = "N/A"; +RDebugUtils.currentLine=47972355; + //BA.debugLineNum = 47972355;BA.debugLine="Do While c.NextRow"; +while (_c.NextRow()) { +RDebugUtils.currentLine=47972356; + //BA.debugLineNum = 47972356;BA.debugLine="n = c.GetString(\"CAT_CL_NOMBRE\")"; +_n = _c.GetString("CAT_CL_NOMBRE"); + } +; +RDebugUtils.currentLine=47972358; + //BA.debugLineNum = 47972358;BA.debugLine="Return n"; +if (true) return _n; +RDebugUtils.currentLine=47972359; + //BA.debugLineNum = 47972359;BA.debugLine="End Sub"; +return ""; +} +public static String _traerutassup(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traerutassup", false)) + {return ((String) Debug.delegate(null, "traerutassup", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _rutas = ""; +int _i = 0; +RDebugUtils.currentLine=46465024; + //BA.debugLineNum = 46465024;BA.debugLine="Sub traeRutasSup As String"; +RDebugUtils.currentLine=46465025; + //BA.debugLineNum = 46465025;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46465026; + //BA.debugLineNum = 46465026;BA.debugLine="Dim rutas As String"; +_rutas = ""; +RDebugUtils.currentLine=46465027; + //BA.debugLineNum = 46465027;BA.debugLine="rutas = \"\""; +_rutas = ""; +RDebugUtils.currentLine=46465029; + //BA.debugLineNum = 46465029;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info3"))); +RDebugUtils.currentLine=46465031; + //BA.debugLineNum = 46465031;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=46465032; + //BA.debugLineNum = 46465032;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step6 = 1; +final int limit6 = (int) (_c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=46465033; + //BA.debugLineNum = 46465033;BA.debugLine="c.Position = i"; +_c.setPosition(_i); +RDebugUtils.currentLine=46465034; + //BA.debugLineNum = 46465034;BA.debugLine="rutas = rutas & c.GetString(\"CAT_CL_RUTA\") & \","; +_rutas = _rutas+_c.GetString("CAT_CL_RUTA")+", "; + } +}; +RDebugUtils.currentLine=46465036; + //BA.debugLineNum = 46465036;BA.debugLine="If rutas.Length > 0 Then rutas = rutas.SubString"; +if (_rutas.length()>0) { +_rutas = _rutas.substring((int) (0),(int) (_rutas.length()-2));}; + }; +RDebugUtils.currentLine=46465039; + //BA.debugLineNum = 46465039;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=46465040; + //BA.debugLineNum = 46465040;BA.debugLine="Return rutas"; +if (true) return _rutas; +RDebugUtils.currentLine=46465041; + //BA.debugLineNum = 46465041;BA.debugLine="End Sub"; +return ""; +} +public static String _deletefolder(anywheresoftware.b4a.BA _ba,String _folder) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "deletefolder", false)) + {return ((String) Debug.delegate(null, "deletefolder", new Object[] {_ba,_folder}));} +String _f = ""; +RDebugUtils.currentLine=49217536; + //BA.debugLineNum = 49217536;BA.debugLine="Sub deleteFolder(folder As String)"; +RDebugUtils.currentLine=49217537; + //BA.debugLineNum = 49217537;BA.debugLine="Log(\"Borrando \" & folder)"; +anywheresoftware.b4a.keywords.Common.LogImpl("049217537","Borrando "+_folder,0); +RDebugUtils.currentLine=49217538; + //BA.debugLineNum = 49217538;BA.debugLine="For Each f As String In File.ListFiles(folder)"; +{ +final anywheresoftware.b4a.BA.IterableList group2 = anywheresoftware.b4a.keywords.Common.File.ListFiles(_folder); +final int groupLen2 = group2.getSize() +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_f = BA.ObjectToString(group2.Get(index2)); +RDebugUtils.currentLine=49217539; + //BA.debugLineNum = 49217539;BA.debugLine="Log(f)"; +anywheresoftware.b4a.keywords.Common.LogImpl("049217539",_f,0); +RDebugUtils.currentLine=49217540; + //BA.debugLineNum = 49217540;BA.debugLine="If File.IsDirectory(folder, f) Then"; +if (anywheresoftware.b4a.keywords.Common.File.IsDirectory(_folder,_f)) { +RDebugUtils.currentLine=49217541; + //BA.debugLineNum = 49217541;BA.debugLine="deleteFolder(File.Combine(folder, f))"; +_deletefolder(_ba,anywheresoftware.b4a.keywords.Common.File.Combine(_folder,_f)); +RDebugUtils.currentLine=49217542; + //BA.debugLineNum = 49217542;BA.debugLine="Log($\"Borramos ${File.Combine(folder, f)}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("049217542",("Borramos "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.File.Combine(_folder,_f)))+""),0); + }; +RDebugUtils.currentLine=49217544; + //BA.debugLineNum = 49217544;BA.debugLine="File.Delete(folder, f)"; +anywheresoftware.b4a.keywords.Common.File.Delete(_folder,_f); + } +}; +RDebugUtils.currentLine=49217546; + //BA.debugLineNum = 49217546;BA.debugLine="End Sub"; +return ""; +} public static String _actualizaproducto(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _dev,String _futuro) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "actualizaproducto", false)) + {return ((String) Debug.delegate(null, "actualizaproducto", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_dev,_futuro}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; int _antcant = 0; int _difcant = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null; - //BA.debugLineNum = 1762;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S"; - //BA.debugLineNum = 1763;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(actu"; +RDebugUtils.currentLine=48693248; + //BA.debugLineNum = 48693248;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S"; +RDebugUtils.currentLine=48693249; + //BA.debugLineNum = 48693249;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(actu"; if (_nombre.length()<6) { anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("(actualizaProducto) El nombre del producto no es valido "+_nombre),anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 1764;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal"; +RDebugUtils.currentLine=48693250; + //BA.debugLineNum = 48693250;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal"; _preciosin = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_preciosin)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 1765;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)"; +RDebugUtils.currentLine=48693251; + //BA.debugLineNum = 48693251;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)"; _costou = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_costou)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 1766;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; -anywheresoftware.b4a.keywords.Common.LogImpl("448627716",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 1769;BA.debugLine="If dev = 0 Then"; +RDebugUtils.currentLine=48693252; + //BA.debugLineNum = 48693252;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; +anywheresoftware.b4a.keywords.Common.LogImpl("048693252",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=48693255; + //BA.debugLineNum = 48693255;BA.debugLine="If dev = 0 Then"; if ((_dev).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1770;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel"; +RDebugUtils.currentLine=48693256; + //BA.debugLineNum = 48693256;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS <> 'DUR' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"'")))); - //BA.debugLineNum = 1771;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=48693257; + //BA.debugLineNum = 48693257;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1773;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=48693259; + //BA.debugLineNum = 48693259;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1774;BA.debugLine="Private antCant As Int = 0"; +RDebugUtils.currentLine=48693260; + //BA.debugLineNum = 48693260;BA.debugLine="Private antCant As Int = 0"; _antcant = (int) (0); - //BA.debugLineNum = 1775;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c"; +RDebugUtils.currentLine=48693261; + //BA.debugLineNum = 48693261;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c"; if (anywheresoftware.b4a.keywords.Common.IsNumber(BA.NumberToString(_c.GetInt("PE_CANT")))) { _antcant = _c.GetInt("PE_CANT");}; - //BA.debugLineNum = 1776;BA.debugLine="Private difCant As Int = cant - antCant"; +RDebugUtils.currentLine=48693262; + //BA.debugLineNum = 48693262;BA.debugLine="Private difCant As Int = cant - antCant"; _difcant = (int) ((double)(Double.parseDouble(_cant))-_antcant); - //BA.debugLineNum = 1777;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p"; +RDebugUtils.currentLine=48693263; + //BA.debugLineNum = 48693263;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update pedido set pe_cant = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", pe_costo_tot = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.NumberFormat2(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU")))),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False)))+", pe_folio = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+"' where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' ")); - //BA.debugLineNum = 1778;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer"; +RDebugUtils.currentLine=48693264; + //BA.debugLineNum = 48693264;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer"; if ((_cedis).equals("DUR") == false) { mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_tipoventa)))+" set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' "));}; - //BA.debugLineNum = 1779;BA.debugLine="If cant = 0 Then"; +RDebugUtils.currentLine=48693265; + //BA.debugLineNum = 48693265;BA.debugLine="If cant = 0 Then"; if ((_cant).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1780;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co"; -anywheresoftware.b4a.keywords.Common.LogImpl("448627730",("BORRAMOS PRODUCTO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 1781;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; +RDebugUtils.currentLine=48693266; + //BA.debugLineNum = 48693266;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co"; +anywheresoftware.b4a.keywords.Common.LogImpl("048693266",("BORRAMOS PRODUCTO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=48693267; + //BA.debugLineNum = 48693267;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' ")); - //BA.debugLineNum = 1782;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi"; -anywheresoftware.b4a.keywords.Common.LogImpl("448627732",("Borramos pe_cedis='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"'"),0); - //BA.debugLineNum = 1783;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=48693268; + //BA.debugLineNum = 48693268;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi"; +anywheresoftware.b4a.keywords.Common.LogImpl("048693268",("Borramos pe_cedis='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"'"),0); +RDebugUtils.currentLine=48693269; + //BA.debugLineNum = 48693269;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery("; _pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))); - //BA.debugLineNum = 1784;BA.debugLine="pe.Position=0"; +RDebugUtils.currentLine=48693270; + //BA.debugLineNum = 48693270;BA.debugLine="pe.Position=0"; _pe.setPosition((int) (0)); - //BA.debugLineNum = 1785;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; +RDebugUtils.currentLine=48693271; + //BA.debugLineNum = 48693271;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1786;BA.debugLine="Log(\"###### delete from pedido_cliente - \""; -anywheresoftware.b4a.keywords.Common.LogImpl("448627736","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_clienteid,0); - //BA.debugLineNum = 1787;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI"; -anywheresoftware.b4a.keywords.Common.LogImpl("448627737",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0); - //BA.debugLineNum = 1788;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; +RDebugUtils.currentLine=48693272; + //BA.debugLineNum = 48693272;BA.debugLine="Log(\"###### delete from pedido_cliente - \""; +anywheresoftware.b4a.keywords.Common.LogImpl("048693272","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_clienteid,0); +RDebugUtils.currentLine=48693273; + //BA.debugLineNum = 48693273;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI"; +anywheresoftware.b4a.keywords.Common.LogImpl("048693273",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0); +RDebugUtils.currentLine=48693274; + //BA.debugLineNum = 48693274;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")); }; }; }else { - //BA.debugLineNum = 1794;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis"; +RDebugUtils.currentLine=48693280; + //BA.debugLineNum = 48693280;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis"; if ((double)(Double.parseDouble(_cant))>0) { _guardaproductosingestion(_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_futuro);}; }; - //BA.debugLineNum = 1796;BA.debugLine="c.Close"; +RDebugUtils.currentLine=48693282; + //BA.debugLineNum = 48693282;BA.debugLine="c.Close"; _c.Close(); - }else if((_dev).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1798;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel"; + }else +{RDebugUtils.currentLine=48693283; + //BA.debugLineNum = 48693283;BA.debugLine="Else If dev = 1 Then"; +if ((_dev).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=48693284; + //BA.debugLineNum = 48693284;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS = 'DUR' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' ")))); - //BA.debugLineNum = 1799;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=48693285; + //BA.debugLineNum = 48693285;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1801;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=48693287; + //BA.debugLineNum = 48693287;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1802;BA.debugLine="Private antCant As Int = 0"; +RDebugUtils.currentLine=48693288; + //BA.debugLineNum = 48693288;BA.debugLine="Private antCant As Int = 0"; _antcant = (int) (0); - //BA.debugLineNum = 1803;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c"; +RDebugUtils.currentLine=48693289; + //BA.debugLineNum = 48693289;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c"; if (anywheresoftware.b4a.keywords.Common.IsNumber(BA.NumberToString(_c.GetInt("PE_CANT")))) { _antcant = _c.GetInt("PE_CANT");}; - //BA.debugLineNum = 1804;BA.debugLine="Private difCant As Int = cant - antCant"; +RDebugUtils.currentLine=48693290; + //BA.debugLineNum = 48693290;BA.debugLine="Private difCant As Int = cant - antCant"; _difcant = (int) ((double)(Double.parseDouble(_cant))-_antcant); - //BA.debugLineNum = 1805;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p"; +RDebugUtils.currentLine=48693291; + //BA.debugLineNum = 48693291;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update pedido set pe_cant = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", pe_costo_tot = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.NumberFormat2(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU")))),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False)))+", pe_folio = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+"' where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' ")); - //BA.debugLineNum = 1806;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer"; +RDebugUtils.currentLine=48693292; + //BA.debugLineNum = 48693292;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer"; if ((_cedis).equals("DUR") == false) { mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_tipoventa)))+" set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' "));}; - //BA.debugLineNum = 1807;BA.debugLine="If cant = 0 Then"; +RDebugUtils.currentLine=48693293; + //BA.debugLineNum = 48693293;BA.debugLine="If cant = 0 Then"; if ((_cant).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1808;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co"; -anywheresoftware.b4a.keywords.Common.LogImpl("448627758",("BORRAMOS PRODUCTO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 1809;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; +RDebugUtils.currentLine=48693294; + //BA.debugLineNum = 48693294;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co"; +anywheresoftware.b4a.keywords.Common.LogImpl("048693294",("BORRAMOS PRODUCTO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=48693295; + //BA.debugLineNum = 48693295;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' ")); - //BA.debugLineNum = 1810;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi"; -anywheresoftware.b4a.keywords.Common.LogImpl("448627760",("Borramos pe_cedis='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"'"),0); - //BA.debugLineNum = 1811;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=48693296; + //BA.debugLineNum = 48693296;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi"; +anywheresoftware.b4a.keywords.Common.LogImpl("048693296",("Borramos pe_cedis='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"'"),0); +RDebugUtils.currentLine=48693297; + //BA.debugLineNum = 48693297;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery("; _pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))); - //BA.debugLineNum = 1812;BA.debugLine="pe.Position=0"; +RDebugUtils.currentLine=48693298; + //BA.debugLineNum = 48693298;BA.debugLine="pe.Position=0"; _pe.setPosition((int) (0)); - //BA.debugLineNum = 1813;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; +RDebugUtils.currentLine=48693299; + //BA.debugLineNum = 48693299;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1814;BA.debugLine="Log(\"###### delete from pedido_cliente - \""; -anywheresoftware.b4a.keywords.Common.LogImpl("448627764","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_clienteid,0); - //BA.debugLineNum = 1815;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI"; -anywheresoftware.b4a.keywords.Common.LogImpl("448627765",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0); - //BA.debugLineNum = 1816;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; +RDebugUtils.currentLine=48693300; + //BA.debugLineNum = 48693300;BA.debugLine="Log(\"###### delete from pedido_cliente - \""; +anywheresoftware.b4a.keywords.Common.LogImpl("048693300","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_clienteid,0); +RDebugUtils.currentLine=48693301; + //BA.debugLineNum = 48693301;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI"; +anywheresoftware.b4a.keywords.Common.LogImpl("048693301",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0); +RDebugUtils.currentLine=48693302; + //BA.debugLineNum = 48693302;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")); }; }; }else { - //BA.debugLineNum = 1822;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis"; +RDebugUtils.currentLine=48693308; + //BA.debugLineNum = 48693308;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis"; if ((double)(Double.parseDouble(_cant))>0) { _guardaproductosingestion(_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_futuro);}; }; - //BA.debugLineNum = 1824;BA.debugLine="c.Close"; +RDebugUtils.currentLine=48693310; + //BA.debugLineNum = 48693310;BA.debugLine="c.Close"; _c.Close(); - }; - //BA.debugLineNum = 1827;BA.debugLine="End Sub"; + }} +; +RDebugUtils.currentLine=48693313; + //BA.debugLineNum = 48693313;BA.debugLine="End Sub"; return ""; } -public static String _agregacolumna(anywheresoftware.b4a.BA _ba,String _tabla,String _columna,String _tipo) throws Exception{ +public static String _guardaproductosingestion(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _futuro) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaproductosingestion", false)) + {return ((String) Debug.delegate(null, "guardaproductosingestion", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_futuro}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 1293;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 1294;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 1295;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +RDebugUtils.currentLine=48758784; + //BA.debugLineNum = 48758784;BA.debugLine="Sub guardaProductoSinGestion(cedis As String, cost"; +RDebugUtils.currentLine=48758785; + //BA.debugLineNum = 48758785;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(guar"; +if (_nombre.length()<6) { +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("(guardaProductoSinGestion) El nombre del producto no es valido "+_nombre),anywheresoftware.b4a.keywords.Common.True);}; +RDebugUtils.currentLine=48758786; + //BA.debugLineNum = 48758786;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal"; +_preciosin = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_preciosin)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=48758787; + //BA.debugLineNum = 48758787;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)"; +_costou = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_costou)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=48758789; + //BA.debugLineNum = 48758789;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 1296;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=48758792; + //BA.debugLineNum = 48758792;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (P"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_RUTA, PE_COSTO_SIN, PE_FOLIO,PE_FUTURO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa),(Object)(_futuro)})); +RDebugUtils.currentLine=48758794; + //BA.debugLineNum = 48758794;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuery2"; +if ((_cedis).equals("DUR") == false) { +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_tipoventa)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)}));}; +RDebugUtils.currentLine=48758795; + //BA.debugLineNum = 48758795;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=48758796; + //BA.debugLineNum = 48758796;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1297;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1298;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 1299;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("447448070",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e9); //BA.debugLineNum = 1303;BA.debugLine="Try"; -try { //BA.debugLineNum = 1304;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 1305;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("447448076",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); - } - catch (Exception e13) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13); //BA.debugLineNum = 1307;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("447448078",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - //BA.debugLineNum = 1309;BA.debugLine="Log(2)"; -anywheresoftware.b4a.keywords.Common.LogImpl("447448080",BA.NumberToString(2),0); - }; - //BA.debugLineNum = 1311;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48758799; + //BA.debugLineNum = 48758799;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido_cl"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")); +RDebugUtils.currentLine=48758800; + //BA.debugLineNum = 48758800;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into pedido_cl"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_rutav),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=48758801; + //BA.debugLineNum = 48758801;BA.debugLine="End Sub"; return ""; } public static boolean _alcanzanlosvariablesparapromo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _promomap,anywheresoftware.b4a.objects.collections.Map _inventariosinfijos) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "alcanzanlosvariablesparapromo", false)) + {return ((Boolean) Debug.delegate(null, "alcanzanlosvariablesparapromo", new Object[] {_ba,_promomap,_inventariosinfijos}));} boolean _thislog = false; int _totalprodsvariables = 0; int _totalprodsvariables2 = 0; @@ -202,719 +1660,652 @@ String _p2 = ""; boolean _res = false; boolean _res1 = false; boolean _res2 = false; - //BA.debugLineNum = 2178;BA.debugLine="Sub alcanzanLosVariablesParaPromo(promoMap As Map,"; - //BA.debugLineNum = 2179;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; +RDebugUtils.currentLine=49676288; + //BA.debugLineNum = 49676288;BA.debugLine="Sub alcanzanLosVariablesParaPromo(promoMap As Map,"; +RDebugUtils.currentLine=49676289; + //BA.debugLineNum = 49676289;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; _thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 2180;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i"; +RDebugUtils.currentLine=49676290; + //BA.debugLineNum = 49676290;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449610754","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);}; - //BA.debugLineNum = 2181;BA.debugLine="Private totalProdsVariables As Int = 0"; +anywheresoftware.b4a.keywords.Common.LogImpl("049676290","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);}; +RDebugUtils.currentLine=49676291; + //BA.debugLineNum = 49676291;BA.debugLine="Private totalProdsVariables As Int = 0"; _totalprodsvariables = (int) (0); - //BA.debugLineNum = 2182;BA.debugLine="Private totalProdsVariables2 As Int = 0"; +RDebugUtils.currentLine=49676292; + //BA.debugLineNum = 49676292;BA.debugLine="Private totalProdsVariables2 As Int = 0"; _totalprodsvariables2 = (int) (0); - //BA.debugLineNum = 2184;BA.debugLine="Private prodsVariables As List = promoMap.get(\"pr"; +RDebugUtils.currentLine=49676294; + //BA.debugLineNum = 49676294;BA.debugLine="Private prodsVariables As List = promoMap.get(\"pr"; _prodsvariables = new anywheresoftware.b4a.objects.collections.List(); _prodsvariables = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsVariables")))); - //BA.debugLineNum = 2185;BA.debugLine="Private prodsVariables2 As List = promoMap.get(\"p"; +RDebugUtils.currentLine=49676295; + //BA.debugLineNum = 49676295;BA.debugLine="Private prodsVariables2 As List = promoMap.get(\"p"; _prodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); _prodsvariables2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsVariables2")))); - //BA.debugLineNum = 2186;BA.debugLine="For p = 0 To prodsVariables.Size - 1"; +RDebugUtils.currentLine=49676296; + //BA.debugLineNum = 49676296;BA.debugLine="For p = 0 To prodsVariables.Size - 1"; { final int step7 = 1; final int limit7 = (int) (_prodsvariables.getSize()-1); _p = (int) (0) ; for (;_p <= limit7 ;_p = _p + step7 ) { - //BA.debugLineNum = 2187;BA.debugLine="Private t As String = prodsVariables.Get(p) 'Obt"; +RDebugUtils.currentLine=49676297; + //BA.debugLineNum = 49676297;BA.debugLine="Private t As String = prodsVariables.Get(p) 'Obt"; _t = BA.ObjectToString(_prodsvariables.Get(_p)); - //BA.debugLineNum = 2189;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; +RDebugUtils.currentLine=49676299; + //BA.debugLineNum = 49676299;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; if (_inventariosinfijos.ContainsKey((Object)(_t))) { - //BA.debugLineNum = 2190;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; +RDebugUtils.currentLine=49676300; + //BA.debugLineNum = 49676300;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; _p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t))); - //BA.debugLineNum = 2192;BA.debugLine="totalProdsVariables = totalProdsVariables + p2"; +RDebugUtils.currentLine=49676302; + //BA.debugLineNum = 49676302;BA.debugLine="totalProdsVariables = totalProdsVariables + p2"; _totalprodsvariables = (int) (_totalprodsvariables+(double)(Double.parseDouble(_p2))); - //BA.debugLineNum = 2194;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; +RDebugUtils.currentLine=49676304; + //BA.debugLineNum = 49676304;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449610768",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("049676304",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);}; }; } }; - //BA.debugLineNum = 2197;BA.debugLine="For p = 0 To prodsVariables2.Size - 1"; +RDebugUtils.currentLine=49676307; + //BA.debugLineNum = 49676307;BA.debugLine="For p = 0 To prodsVariables2.Size - 1"; { final int step15 = 1; final int limit15 = (int) (_prodsvariables2.getSize()-1); _p = (int) (0) ; for (;_p <= limit15 ;_p = _p + step15 ) { - //BA.debugLineNum = 2198;BA.debugLine="Private t As String = prodsVariables2.Get(p) 'Ob"; +RDebugUtils.currentLine=49676308; + //BA.debugLineNum = 49676308;BA.debugLine="Private t As String = prodsVariables2.Get(p) 'Ob"; _t = BA.ObjectToString(_prodsvariables2.Get(_p)); - //BA.debugLineNum = 2199;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; +RDebugUtils.currentLine=49676309; + //BA.debugLineNum = 49676309;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; if (_inventariosinfijos.ContainsKey((Object)(_t))) { - //BA.debugLineNum = 2200;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; +RDebugUtils.currentLine=49676310; + //BA.debugLineNum = 49676310;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; _p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t))); - //BA.debugLineNum = 2201;BA.debugLine="totalProdsVariables2 = totalProdsVariables2 + p"; +RDebugUtils.currentLine=49676311; + //BA.debugLineNum = 49676311;BA.debugLine="totalProdsVariables2 = totalProdsVariables2 + p"; _totalprodsvariables2 = (int) (_totalprodsvariables2+(double)(Double.parseDouble(_p2))); - //BA.debugLineNum = 2202;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; +RDebugUtils.currentLine=49676312; + //BA.debugLineNum = 49676312;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449610776",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("049676312",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);}; }; } }; - //BA.debugLineNum = 2205;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to"; +RDebugUtils.currentLine=49676315; + //BA.debugLineNum = 49676315;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449610779","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);}; - //BA.debugLineNum = 2206;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t"; +anywheresoftware.b4a.keywords.Common.LogImpl("049676315","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);}; +RDebugUtils.currentLine=49676316; + //BA.debugLineNum = 49676316;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449610780","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);}; - //BA.debugLineNum = 2207;BA.debugLine="Private res As Boolean = False"; +anywheresoftware.b4a.keywords.Common.LogImpl("049676316","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);}; +RDebugUtils.currentLine=49676317; + //BA.debugLineNum = 49676317;BA.debugLine="Private res As Boolean = False"; _res = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 2208;BA.debugLine="Private res1 As Boolean = False"; +RDebugUtils.currentLine=49676318; + //BA.debugLineNum = 49676318;BA.debugLine="Private res1 As Boolean = False"; _res1 = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 2209;BA.debugLine="Private res2 As Boolean = False"; +RDebugUtils.currentLine=49676319; + //BA.debugLineNum = 49676319;BA.debugLine="Private res2 As Boolean = False"; _res2 = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 2214;BA.debugLine="If totalProdsVariables > 0 And totalProdsVariable"; +RDebugUtils.currentLine=49676324; + //BA.debugLineNum = 49676324;BA.debugLine="If totalProdsVariables > 0 And totalProdsVariable"; if (_totalprodsvariables>0 && _totalprodsvariables>=(double)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariablesRequeridos"))))) { - //BA.debugLineNum = 2215;BA.debugLine="res1 = True 'Si el total de inventario de produc"; +RDebugUtils.currentLine=49676325; + //BA.debugLineNum = 49676325;BA.debugLine="res1 = True 'Si el total de inventario de produc"; _res1 = anywheresoftware.b4a.keywords.Common.True; }; - //BA.debugLineNum = 2217;BA.debugLine="If promoMap.Get(\"prodsVariablesRequeridos\").As (I"; +RDebugUtils.currentLine=49676327; + //BA.debugLineNum = 49676327;BA.debugLine="If promoMap.Get(\"prodsVariablesRequeridos\").As (I"; if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariablesRequeridos")))))==0) { _res1 = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 2218;BA.debugLine="If totalProdsVariables2 > 0 And totalProdsVariabl"; +RDebugUtils.currentLine=49676328; + //BA.debugLineNum = 49676328;BA.debugLine="If totalProdsVariables2 > 0 And totalProdsVariabl"; if (_totalprodsvariables2>0 && _totalprodsvariables2>=(double)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos"))))) { - //BA.debugLineNum = 2219;BA.debugLine="res2 = True 'Si el total de inventario de produc"; +RDebugUtils.currentLine=49676329; + //BA.debugLineNum = 49676329;BA.debugLine="res2 = True 'Si el total de inventario de produc"; _res2 = anywheresoftware.b4a.keywords.Common.True; }; - //BA.debugLineNum = 2221;BA.debugLine="If promoMap.Get(\"prodsVariables2Requeridos\").As(I"; +RDebugUtils.currentLine=49676331; + //BA.debugLineNum = 49676331;BA.debugLine="If promoMap.Get(\"prodsVariables2Requeridos\").As(I"; if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos")))))==0) { _res2 = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 2222;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los"; +RDebugUtils.currentLine=49676332; + //BA.debugLineNum = 49676332;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los"; if (_res1 && _res2) { - //BA.debugLineNum = 2223;BA.debugLine="res = True"; +RDebugUtils.currentLine=49676333; + //BA.debugLineNum = 49676333;BA.debugLine="res = True"; _res = anywheresoftware.b4a.keywords.Common.True; }else { - //BA.debugLineNum = 2225;BA.debugLine="res = False"; +RDebugUtils.currentLine=49676335; + //BA.debugLineNum = 49676335;BA.debugLine="res = False"; _res = anywheresoftware.b4a.keywords.Common.False; }; - //BA.debugLineNum = 2228;BA.debugLine="Return res"; +RDebugUtils.currentLine=49676338; + //BA.debugLineNum = 49676338;BA.debugLine="Return res"; if (true) return _res; - //BA.debugLineNum = 2229;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49676339; + //BA.debugLineNum = 49676339;BA.debugLine="End Sub"; return false; } public static String _bitacora(anywheresoftware.b4a.BA _ba,String _fechab,String _usuariob,String _almacenb,String _rutab,String _eventob,String _clienteb,String _iniciob,String _finb,String _latitudb,String _longitudb,String _precision,String _motivonoventa,String _motivonovisita,String _ban_geob) throws Exception{ - //BA.debugLineNum = 1415;BA.debugLine="Sub bitacora(fechab As String, usuariob As String,"; - //BA.debugLineNum = 1457;BA.debugLine="End Sub"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "bitacora", false)) + {return ((String) Debug.delegate(null, "bitacora", new Object[] {_ba,_fechab,_usuariob,_almacenb,_rutab,_eventob,_clienteb,_iniciob,_finb,_latitudb,_longitudb,_precision,_motivonoventa,_motivonovisita,_ban_geob}));} +RDebugUtils.currentLine=47906816; + //BA.debugLineNum = 47906816;BA.debugLine="Sub bitacora(fechab As String, usuariob As String,"; +RDebugUtils.currentLine=47906858; + //BA.debugLineNum = 47906858;BA.debugLine="End Sub"; return ""; } public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 434;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; - //BA.debugLineNum = 435;BA.debugLine="revisaBD"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borraarribade100errores", false)) + {return ((String) Debug.delegate(null, "borraarribade100errores", new Object[] {_ba}));} +RDebugUtils.currentLine=44826624; + //BA.debugLineNum = 44826624;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; +RDebugUtils.currentLine=44826625; + //BA.debugLineNum = 44826625;BA.debugLine="revisaBD"; _revisabd(_ba); - //BA.debugLineNum = 436;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("444761090","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 437;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE"; +RDebugUtils.currentLine=44826626; + //BA.debugLineNum = 44826626;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("044826626","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=44826627; + //BA.debugLineNum = 44826627;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE"; _errorlog.ExecNonQuery("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )"); - //BA.debugLineNum = 438;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +RDebugUtils.currentLine=44826628; + //BA.debugLineNum = 44826628;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; _errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 439;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("444761093","Borramos mas de 100 de errorLog",0); - //BA.debugLineNum = 440;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44826629; + //BA.debugLineNum = 44826629;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("044826629","Borramos mas de 100 de errorLog",0); +RDebugUtils.currentLine=44826630; + //BA.debugLineNum = 44826630;BA.debugLine="End Sub"; return ""; } public static String _borraarribade600renglonesbitacora(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borraarribade600renglonesbitacora", false)) + {return ((String) Debug.delegate(null, "borraarribade600renglonesbitacora", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 443;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; - //BA.debugLineNum = 444;BA.debugLine="revisaBD"; +RDebugUtils.currentLine=44892160; + //BA.debugLineNum = 44892160;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; +RDebugUtils.currentLine=44892161; + //BA.debugLineNum = 44892161;BA.debugLine="revisaBD"; _revisabd(_ba); - //BA.debugLineNum = 445;BA.debugLine="If Starter.logger Then LogColor(\"Recortamos la ta"; +RDebugUtils.currentLine=44892162; + //BA.debugLineNum = 44892162;BA.debugLine="If Starter.logger Then LogColor(\"Recortamos la ta"; if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("444826626","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; - //BA.debugLineNum = 446;BA.debugLine="Private c As Cursor"; +anywheresoftware.b4a.keywords.Common.LogImpl("044892162","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; +RDebugUtils.currentLine=44892163; + //BA.debugLineNum = 44892163;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 447;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select fech"; +RDebugUtils.currentLine=44892164; + //BA.debugLineNum = 44892164;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select fech"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select fecha from bitacora"))); - //BA.debugLineNum = 448;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=44892165; + //BA.debugLineNum = 44892165;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 449;BA.debugLine="If c.RowCount > 650 Then"; +RDebugUtils.currentLine=44892166; + //BA.debugLineNum = 44892166;BA.debugLine="If c.RowCount > 650 Then"; if (_c.getRowCount()>650) { - //BA.debugLineNum = 450;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +RDebugUtils.currentLine=44892167; + //BA.debugLineNum = 44892167;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"); - //BA.debugLineNum = 451;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"vacuum;\")"; +RDebugUtils.currentLine=44892168; + //BA.debugLineNum = 44892168;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"vacuum;\")"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("vacuum;"); }; - //BA.debugLineNum = 454;BA.debugLine="c.Close"; +RDebugUtils.currentLine=44892171; + //BA.debugLineNum = 44892171;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 455;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44892172; + //BA.debugLineNum = 44892172;BA.debugLine="End Sub"; return ""; } public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 318;BA.debugLine="Sub borraLogDB 'ignore"; - //BA.debugLineNum = 319;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("444564481","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 320;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borralogdb", false)) + {return ((String) Debug.delegate(null, "borralogdb", new Object[] {_ba}));} +RDebugUtils.currentLine=44630016; + //BA.debugLineNum = 44630016;BA.debugLine="Sub borraLogDB 'ignore"; +RDebugUtils.currentLine=44630017; + //BA.debugLineNum = 44630017;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("044630017","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=44630018; + //BA.debugLineNum = 44630018;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; _kmt.ExecNonQuery("delete from bitacora"); - //BA.debugLineNum = 321;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +RDebugUtils.currentLine=44630019; + //BA.debugLineNum = 44630019;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; _kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 322;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44630020; + //BA.debugLineNum = 44630020;BA.debugLine="End Sub"; return ""; } public static String _borramosarchivogps(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borramosarchivogps", false)) + {return ((String) Debug.delegate(null, "borramosarchivogps", new Object[] {_ba}));} anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; String _s = ""; byte[] _t = null; - //BA.debugLineNum = 193;BA.debugLine="Sub borramosArchivoGPS 'ignore"; - //BA.debugLineNum = 194;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +RDebugUtils.currentLine=43974656; + //BA.debugLineNum = 43974656;BA.debugLine="Sub borramosArchivoGPS 'ignore"; +RDebugUtils.currentLine=43974657; + //BA.debugLineNum = 43974657;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 195;BA.debugLine="Dim s As String = \"\""; +RDebugUtils.currentLine=43974658; + //BA.debugLineNum = 43974658;BA.debugLine="Dim s As String = \"\""; _s = ""; - //BA.debugLineNum = 196;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +RDebugUtils.currentLine=43974659; + //BA.debugLineNum = 43974659;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; _t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 197;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +RDebugUtils.currentLine=43974660; + //BA.debugLineNum = 43974660;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; _out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 198;BA.debugLine="out.Close"; +RDebugUtils.currentLine=43974661; + //BA.debugLineNum = 43974661;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 199;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43974662; + //BA.debugLineNum = 43974662;BA.debugLine="End Sub"; return ""; } public static String _borrapedidoclienteactual(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borrapedidoclienteactual", false)) + {return ((String) Debug.delegate(null, "borrapedidoclienteactual", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _thisc = null; int _i = 0; - //BA.debugLineNum = 722;BA.debugLine="Sub borraPedidoClienteActual As String"; - //BA.debugLineNum = 736;BA.debugLine="Private thisC As Cursor"; +RDebugUtils.currentLine=46202880; + //BA.debugLineNum = 46202880;BA.debugLine="Sub borraPedidoClienteActual As String"; +RDebugUtils.currentLine=46202894; + //BA.debugLineNum = 46202894;BA.debugLine="Private thisC As Cursor"; _thisc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 738;BA.debugLine="thisC=Starter.skmt.ExecQuery(\"select PE_PROID, PE"; +RDebugUtils.currentLine=46202896; + //BA.debugLineNum = 46202896;BA.debugLine="thisC=Starter.skmt.ExecQuery(\"select PE_PROID, PE"; _thisc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID, PE_CANT, PE_FOLIO FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'"))); - //BA.debugLineNum = 739;BA.debugLine="If thisC.RowCount>0 Then"; +RDebugUtils.currentLine=46202897; + //BA.debugLineNum = 46202897;BA.debugLine="If thisC.RowCount>0 Then"; if (_thisc.getRowCount()>0) { - //BA.debugLineNum = 740;BA.debugLine="For i=0 To thisC.RowCount -1"; +RDebugUtils.currentLine=46202898; + //BA.debugLineNum = 46202898;BA.debugLine="For i=0 To thisC.RowCount -1"; { final int step4 = 1; final int limit4 = (int) (_thisc.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 741;BA.debugLine="thisC.Position = i"; +RDebugUtils.currentLine=46202899; + //BA.debugLineNum = 46202899;BA.debugLine="thisC.Position = i"; _thisc.setPosition(_i); - //BA.debugLineNum = 743;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${traeTablaP"; +RDebugUtils.currentLine=46202901; + //BA.debugLineNum = 46202901;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${traeTablaP"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 744;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr"; -anywheresoftware.b4a.keywords.Common.LogImpl("446137366",("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=46202902; + //BA.debugLineNum = 46202902;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr"; +anywheresoftware.b4a.keywords.Common.LogImpl("046202902",("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"),anywheresoftware.b4a.keywords.Common.Colors.Red); } }; }; - //BA.debugLineNum = 748;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_cli"; +RDebugUtils.currentLine=46202906; + //BA.debugLineNum = 46202906;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_cli"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 749;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido whe"; +RDebugUtils.currentLine=46202907; + //BA.debugLineNum = 46202907;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido whe"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 750;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE kmt_info set ge"; +RDebugUtils.currentLine=46202908; + //BA.debugLineNum = 46202908;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE kmt_info set ge"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 751;BA.debugLine="Return 1"; +RDebugUtils.currentLine=46202909; + //BA.debugLineNum = 46202909;BA.debugLine="Return 1"; if (true) return BA.NumberToString(1); - //BA.debugLineNum = 752;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46202910; + //BA.debugLineNum = 46202910;BA.debugLine="End Sub"; return ""; } public static String _buscadbusuario(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "buscadbusuario", false)) + {return ((String) Debug.delegate(null, "buscadbusuario", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _usuario = ""; - //BA.debugLineNum = 596;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; - //BA.debugLineNum = 597;BA.debugLine="Private c As Cursor"; +RDebugUtils.currentLine=45678592; + //BA.debugLineNum = 45678592;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; +RDebugUtils.currentLine=45678593; + //BA.debugLineNum = 45678593;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 598;BA.debugLine="Private usuario As String = \"SinUsuario\""; +RDebugUtils.currentLine=45678594; + //BA.debugLineNum = 45678594;BA.debugLine="Private usuario As String = \"SinUsuario\""; _usuario = "SinUsuario"; - //BA.debugLineNum = 599;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +RDebugUtils.currentLine=45678595; + //BA.debugLineNum = 45678595;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 600;BA.debugLine="c.Position=0"; +RDebugUtils.currentLine=45678596; + //BA.debugLineNum = 45678596;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 601;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; +RDebugUtils.currentLine=45678597; + //BA.debugLineNum = 45678597;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; if (_c.getRowCount()>0) { _usuario = _c.GetString("USUARIO");}; - //BA.debugLineNum = 602;BA.debugLine="Return usuario"; +RDebugUtils.currentLine=45678598; + //BA.debugLineNum = 45678598;BA.debugLine="Return usuario"; if (true) return _usuario; - //BA.debugLineNum = 603;BA.debugLine="End Sub"; -return ""; -} -public static String _calculatotalconpromoxrango(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ -String _totalparcial = ""; -String _total = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; -int _i = 0; - //BA.debugLineNum = 2232;BA.debugLine="Sub calculaTotalConPromoXRango(idCliente As String"; - //BA.debugLineNum = 2240;BA.debugLine="Private totalParcial As String = 0"; -_totalparcial = BA.NumberToString(0); - //BA.debugLineNum = 2241;BA.debugLine="Private total As String = 0"; -_total = BA.NumberToString(0); - //BA.debugLineNum = 2242;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; -_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'")))); - //BA.debugLineNum = 2243;BA.debugLine="If cx.RowCount > 0 Then"; -if (_cx.getRowCount()>0) { - //BA.debugLineNum = 2244;BA.debugLine="For i = 0 To cx.RowCount - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_cx.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 2246;BA.debugLine="cx.Position = i"; -_cx.setPosition(_i); - //BA.debugLineNum = 2247;BA.debugLine="Log(\"***************************************\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("449676303","***************************************",0); - //BA.debugLineNum = 2248;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; -if ((_cx.GetString("RECANT")).equals("N")) { - //BA.debugLineNum = 2249;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; -_totalparcial = _cx.GetString("PE_COSTO_TOT"); - }else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { - //BA.debugLineNum = 2251;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; -_totalparcial = _cx.GetString("PE_RECALCULOTOT"); - }else { - //BA.debugLineNum = 2253;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; -_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); - //BA.debugLineNum = 2254;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; -anywheresoftware.b4a.keywords.Common.LogImpl("449676310",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); - }; - //BA.debugLineNum = 2256;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; -anywheresoftware.b4a.keywords.Common.LogImpl("449676312",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0); - //BA.debugLineNum = 2257;BA.debugLine="total = total + totalParcial"; -_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); - } -}; - }; - //BA.debugLineNum = 2260;BA.debugLine="cx.Close"; -_cx.Close(); - //BA.debugLineNum = 2261;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; -_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 2262;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("449676318",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0); - //BA.debugLineNum = 2263;BA.debugLine="Return total"; -if (true) return _total; - //BA.debugLineNum = 2264;BA.debugLine="End Sub"; -return ""; -} -public static String _calculatotalconpromoxrango1(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ -String _totalparcial = ""; -String _total = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; -int _i = 0; - //BA.debugLineNum = 2267;BA.debugLine="Sub calculaTotalConPromoXRango1(idCliente As Strin"; - //BA.debugLineNum = 2275;BA.debugLine="Private totalParcial As String = 0"; -_totalparcial = BA.NumberToString(0); - //BA.debugLineNum = 2276;BA.debugLine="Private total As String = 0"; -_total = BA.NumberToString(0); - //BA.debugLineNum = 2277;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; -_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '1' ")))); - //BA.debugLineNum = 2278;BA.debugLine="If cx.RowCount > 0 Then"; -if (_cx.getRowCount()>0) { - //BA.debugLineNum = 2279;BA.debugLine="For i = 0 To cx.RowCount - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_cx.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 2281;BA.debugLine="cx.Position = i"; -_cx.setPosition(_i); - //BA.debugLineNum = 2283;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; -if ((_cx.GetString("RECANT")).equals("N")) { - //BA.debugLineNum = 2284;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; -_totalparcial = _cx.GetString("PE_COSTO_TOT"); - }else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { - //BA.debugLineNum = 2286;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; -_totalparcial = _cx.GetString("PE_RECALCULOTOT"); - }else { - //BA.debugLineNum = 2288;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; -_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); - //BA.debugLineNum = 2289;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; -anywheresoftware.b4a.keywords.Common.LogImpl("449741846",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); - }; - //BA.debugLineNum = 2292;BA.debugLine="total = total + totalParcial"; -_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); - } -}; - }; - //BA.debugLineNum = 2295;BA.debugLine="cx.Close"; -_cx.Close(); - //BA.debugLineNum = 2296;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; -_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 2298;BA.debugLine="Return total"; -if (true) return _total; - //BA.debugLineNum = 2299;BA.debugLine="End Sub"; -return ""; -} -public static String _calculatotalconpromoxrango2(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ -String _totalparcial = ""; -String _total = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; -int _i = 0; - //BA.debugLineNum = 2303;BA.debugLine="Sub calculaTotalConPromoXRango2(idCliente As Strin"; - //BA.debugLineNum = 2311;BA.debugLine="Private totalParcial As String = 0"; -_totalparcial = BA.NumberToString(0); - //BA.debugLineNum = 2312;BA.debugLine="Private total As String = 0"; -_total = BA.NumberToString(0); - //BA.debugLineNum = 2313;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; -_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '0' ")))); - //BA.debugLineNum = 2314;BA.debugLine="If cx.RowCount > 0 Then"; -if (_cx.getRowCount()>0) { - //BA.debugLineNum = 2315;BA.debugLine="For i = 0 To cx.RowCount - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_cx.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 2317;BA.debugLine="cx.Position = i"; -_cx.setPosition(_i); - //BA.debugLineNum = 2318;BA.debugLine="Log(\"***************************************\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("449807375","***************************************",0); - //BA.debugLineNum = 2319;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; -if ((_cx.GetString("RECANT")).equals("N")) { - //BA.debugLineNum = 2320;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; -_totalparcial = _cx.GetString("PE_COSTO_TOT"); - }else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { - //BA.debugLineNum = 2322;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; -_totalparcial = _cx.GetString("PE_RECALCULOTOT"); - }else { - //BA.debugLineNum = 2324;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; -_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); - //BA.debugLineNum = 2325;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; -anywheresoftware.b4a.keywords.Common.LogImpl("449807382",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); - }; - //BA.debugLineNum = 2327;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; -anywheresoftware.b4a.keywords.Common.LogImpl("449807384",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0); - //BA.debugLineNum = 2328;BA.debugLine="total = total + totalParcial"; -_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); - } -}; - }; - //BA.debugLineNum = 2331;BA.debugLine="cx.Close"; -_cx.Close(); - //BA.debugLineNum = 2332;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; -_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 2333;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("449807390",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0); - //BA.debugLineNum = 2334;BA.debugLine="Return total"; -if (true) return _total; - //BA.debugLineNum = 2335;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45678599; + //BA.debugLineNum = 45678599;BA.debugLine="End Sub"; return ""; } public static String _calculatotalconpromoxrango3(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "calculatotalconpromoxrango3", false)) + {return ((String) Debug.delegate(null, "calculatotalconpromoxrango3", new Object[] {_ba,_idcliente}));} String _total = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; int _i = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null; - //BA.debugLineNum = 2338;BA.debugLine="Sub calculaTotalConPromoXRango3(idCliente As Strin"; - //BA.debugLineNum = 2347;BA.debugLine="Private total As String = 0"; +RDebugUtils.currentLine=49938432; + //BA.debugLineNum = 49938432;BA.debugLine="Sub calculaTotalConPromoXRango3(idCliente As Strin"; +RDebugUtils.currentLine=49938441; + //BA.debugLineNum = 49938441;BA.debugLine="Private total As String = 0"; _total = BA.NumberToString(0); - //BA.debugLineNum = 2348;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=49938442; + //BA.debugLineNum = 49938442;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; _cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '0' AND PE_PROID <> PE_CEDIS ")))); - //BA.debugLineNum = 2349;BA.debugLine="If cx.RowCount > 0 Then"; +RDebugUtils.currentLine=49938443; + //BA.debugLineNum = 49938443;BA.debugLine="If cx.RowCount > 0 Then"; if (_cx.getRowCount()>0) { - //BA.debugLineNum = 2350;BA.debugLine="For i = 0 To cx.RowCount - 1"; +RDebugUtils.currentLine=49938444; + //BA.debugLineNum = 49938444;BA.debugLine="For i = 0 To cx.RowCount - 1"; { final int step4 = 1; final int limit4 = (int) (_cx.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 2352;BA.debugLine="cx.Position = i"; +RDebugUtils.currentLine=49938446; + //BA.debugLineNum = 49938446;BA.debugLine="cx.Position = i"; _cx.setPosition(_i); - //BA.debugLineNum = 2353;BA.debugLine="Log(\"***************************************\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("449872911","***************************************",0); - //BA.debugLineNum = 2355;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue"; +RDebugUtils.currentLine=49938447; + //BA.debugLineNum = 49938447;BA.debugLine="Log(\"***************************************\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("049938447","***************************************",0); +RDebugUtils.currentLine=49938449; + //BA.debugLineNum = 49938449;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue"; _precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cx.GetString("PE_PRONOMBRE")))+"' ")))); - //BA.debugLineNum = 2356;BA.debugLine="If precioprom.RowCount > 0 Then"; +RDebugUtils.currentLine=49938450; + //BA.debugLineNum = 49938450;BA.debugLine="If precioprom.RowCount > 0 Then"; if (_precioprom.getRowCount()>0) { - //BA.debugLineNum = 2357;BA.debugLine="precioprom.Position = 0"; +RDebugUtils.currentLine=49938451; + //BA.debugLineNum = 49938451;BA.debugLine="precioprom.Position = 0"; _precioprom.setPosition((int) (0)); - //BA.debugLineNum = 2358;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; -anywheresoftware.b4a.keywords.Common.LogImpl("449872916",_precioprom.GetString("CAT_GP_PRECIO"),0); - //BA.debugLineNum = 2359;BA.debugLine="Log (cx.GETSTRING(\"PE_CANT\"))"; -anywheresoftware.b4a.keywords.Common.LogImpl("449872917",_cx.GetString("PE_CANT"),0); - //BA.debugLineNum = 2360;BA.debugLine="Log (cx.GETSTRING(\"PE_PRONOMBRE\"))"; -anywheresoftware.b4a.keywords.Common.LogImpl("449872918",_cx.GetString("PE_PRONOMBRE"),0); - //BA.debugLineNum = 2362;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec"; +RDebugUtils.currentLine=49938452; + //BA.debugLineNum = 49938452;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))"; +anywheresoftware.b4a.keywords.Common.LogImpl("049938452",_precioprom.GetString("CAT_GP_PRECIO"),0); +RDebugUtils.currentLine=49938453; + //BA.debugLineNum = 49938453;BA.debugLine="Log (cx.GETSTRING(\"PE_CANT\"))"; +anywheresoftware.b4a.keywords.Common.LogImpl("049938453",_cx.GetString("PE_CANT"),0); +RDebugUtils.currentLine=49938454; + //BA.debugLineNum = 49938454;BA.debugLine="Log (cx.GETSTRING(\"PE_PRONOMBRE\"))"; +anywheresoftware.b4a.keywords.Common.LogImpl("049938454",_cx.GetString("PE_PRONOMBRE"),0); +RDebugUtils.currentLine=49938456; + //BA.debugLineNum = 49938456;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec"; _total = BA.NumberToString((double)(Double.parseDouble(_total))+(((double)(Double.parseDouble(_cx.GetString("PE_CANT")))*(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))))); }; - //BA.debugLineNum = 2366;BA.debugLine="Log($\"Total:${total} \"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("449872924",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" "),0); +RDebugUtils.currentLine=49938460; + //BA.debugLineNum = 49938460;BA.debugLine="Log($\"Total:${total} \"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("049938460",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" "),0); } }; }; - //BA.debugLineNum = 2370;BA.debugLine="cx.Close"; +RDebugUtils.currentLine=49938464; + //BA.debugLineNum = 49938464;BA.debugLine="cx.Close"; _cx.Close(); - //BA.debugLineNum = 2371;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +RDebugUtils.currentLine=49938465; + //BA.debugLineNum = 49938465;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; _total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 2372;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("449872930",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0); - //BA.debugLineNum = 2373;BA.debugLine="Return total"; +RDebugUtils.currentLine=49938466; + //BA.debugLineNum = 49938466;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("049938466",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0); +RDebugUtils.currentLine=49938467; + //BA.debugLineNum = 49938467;BA.debugLine="Return total"; if (true) return _total; - //BA.debugLineNum = 2374;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49938468; + //BA.debugLineNum = 49938468;BA.debugLine="End Sub"; return ""; } public static String _calculatotalconpromoxrango4(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "calculatotalconpromoxrango4", false)) + {return ((String) Debug.delegate(null, "calculatotalconpromoxrango4", new Object[] {_ba,_idcliente}));} String _total = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; int _i = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null; - //BA.debugLineNum = 2377;BA.debugLine="Sub calculaTotalConPromoXRango4(idCliente As Strin"; - //BA.debugLineNum = 2386;BA.debugLine="Private total As String = 0"; +RDebugUtils.currentLine=50003968; + //BA.debugLineNum = 50003968;BA.debugLine="Sub calculaTotalConPromoXRango4(idCliente As Strin"; +RDebugUtils.currentLine=50003977; + //BA.debugLineNum = 50003977;BA.debugLine="Private total As String = 0"; _total = BA.NumberToString(0); - //BA.debugLineNum = 2387;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=50003978; + //BA.debugLineNum = 50003978;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; _cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '1' AND PE_PROID <> PE_CEDIS ")))); - //BA.debugLineNum = 2388;BA.debugLine="If cx.RowCount > 0 Then"; +RDebugUtils.currentLine=50003979; + //BA.debugLineNum = 50003979;BA.debugLine="If cx.RowCount > 0 Then"; if (_cx.getRowCount()>0) { - //BA.debugLineNum = 2389;BA.debugLine="For i = 0 To cx.RowCount - 1"; +RDebugUtils.currentLine=50003980; + //BA.debugLineNum = 50003980;BA.debugLine="For i = 0 To cx.RowCount - 1"; { final int step4 = 1; final int limit4 = (int) (_cx.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 2391;BA.debugLine="cx.Position = i"; +RDebugUtils.currentLine=50003982; + //BA.debugLineNum = 50003982;BA.debugLine="cx.Position = i"; _cx.setPosition(_i); - //BA.debugLineNum = 2394;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue"; +RDebugUtils.currentLine=50003985; + //BA.debugLineNum = 50003985;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue"; _precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cx.GetString("PE_PRONOMBRE")))+"' ")))); - //BA.debugLineNum = 2395;BA.debugLine="If precioprom.RowCount > 0 Then"; +RDebugUtils.currentLine=50003986; + //BA.debugLineNum = 50003986;BA.debugLine="If precioprom.RowCount > 0 Then"; if (_precioprom.getRowCount()>0) { - //BA.debugLineNum = 2396;BA.debugLine="precioprom.Position = 0"; +RDebugUtils.currentLine=50003987; + //BA.debugLineNum = 50003987;BA.debugLine="precioprom.Position = 0"; _precioprom.setPosition((int) (0)); - //BA.debugLineNum = 2402;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec"; +RDebugUtils.currentLine=50003993; + //BA.debugLineNum = 50003993;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec"; _total = BA.NumberToString((double)(Double.parseDouble(_total))+(((double)(Double.parseDouble(_cx.GetString("PE_CANT")))*(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))))); }; } }; }; - //BA.debugLineNum = 2410;BA.debugLine="cx.Close"; +RDebugUtils.currentLine=50004001; + //BA.debugLineNum = 50004001;BA.debugLine="cx.Close"; _cx.Close(); - //BA.debugLineNum = 2411;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; +RDebugUtils.currentLine=50004002; + //BA.debugLineNum = 50004002;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; _total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 2413;BA.debugLine="Return total"; +RDebugUtils.currentLine=50004004; + //BA.debugLineNum = 50004004;BA.debugLine="Return total"; if (true) return _total; - //BA.debugLineNum = 2414;BA.debugLine="End Sub"; -return ""; -} -public static String _calculatotalconpromoxrango5(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ -String _totalparcial = ""; -String _total = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; -int _i = 0; - //BA.debugLineNum = 2417;BA.debugLine="Sub calculaTotalConPromoXRango5(idCliente As Strin"; - //BA.debugLineNum = 2425;BA.debugLine="Private totalParcial As String = 0"; -_totalparcial = BA.NumberToString(0); - //BA.debugLineNum = 2426;BA.debugLine="Private total As String = 0"; -_total = BA.NumberToString(0); - //BA.debugLineNum = 2427;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; -_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')")))); - //BA.debugLineNum = 2428;BA.debugLine="If cx.RowCount > 0 Then"; -if (_cx.getRowCount()>0) { - //BA.debugLineNum = 2429;BA.debugLine="For i = 0 To cx.RowCount - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_cx.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 2431;BA.debugLine="cx.Position = i"; -_cx.setPosition(_i); - //BA.debugLineNum = 2433;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; -if ((_cx.GetString("RECANT")).equals("N")) { - //BA.debugLineNum = 2434;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; -_totalparcial = _cx.GetString("PE_COSTO_TOT"); - }else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { - //BA.debugLineNum = 2436;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; -_totalparcial = _cx.GetString("PE_RECALCULOTOT"); - }else { - //BA.debugLineNum = 2438;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; -_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); - //BA.debugLineNum = 2439;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; -anywheresoftware.b4a.keywords.Common.LogImpl("450003990",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); - }; - //BA.debugLineNum = 2442;BA.debugLine="total = total + totalParcial"; -_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); - } -}; - }; - //BA.debugLineNum = 2445;BA.debugLine="cx.Close"; -_cx.Close(); - //BA.debugLineNum = 2446;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; -_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 2448;BA.debugLine="Return total"; -if (true) return _total; - //BA.debugLineNum = 2449;BA.debugLine="End Sub"; -return ""; -} -public static String _calculatotalconpromoxrango6(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ -String _totalparcial = ""; -String _total = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null; -int _i = 0; - //BA.debugLineNum = 2453;BA.debugLine="Sub calculaTotalConPromoXRango6(idCliente As Strin"; - //BA.debugLineNum = 2461;BA.debugLine="Private totalParcial As String = 0"; -_totalparcial = BA.NumberToString(0); - //BA.debugLineNum = 2462;BA.debugLine="Private total As String = 0"; -_total = BA.NumberToString(0); - //BA.debugLineNum = 2463;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s"; -_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' AND PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP') ")))); - //BA.debugLineNum = 2464;BA.debugLine="If cx.RowCount > 0 Then"; -if (_cx.getRowCount()>0) { - //BA.debugLineNum = 2465;BA.debugLine="For i = 0 To cx.RowCount - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_cx.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 2467;BA.debugLine="cx.Position = i"; -_cx.setPosition(_i); - //BA.debugLineNum = 2468;BA.debugLine="Log(\"***************************************\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("450069519","***************************************",0); - //BA.debugLineNum = 2469;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod"; -if ((_cx.GetString("RECANT")).equals("N")) { - //BA.debugLineNum = 2470;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")"; -_totalparcial = _cx.GetString("PE_COSTO_TOT"); - }else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) { - //BA.debugLineNum = 2472;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")"; -_totalparcial = _cx.GetString("PE_RECALCULOTOT"); - }else { - //BA.debugLineNum = 2474;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx."; -_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))); - //BA.debugLineNum = 2475;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri"; -anywheresoftware.b4a.keywords.Common.LogImpl("450069526",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0); - }; - //BA.debugLineNum = 2477;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa"; -anywheresoftware.b4a.keywords.Common.LogImpl("450069528",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0); - //BA.debugLineNum = 2478;BA.debugLine="total = total + totalParcial"; -_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial))); - } -}; - }; - //BA.debugLineNum = 2481;BA.debugLine="cx.Close"; -_cx.Close(); - //BA.debugLineNum = 2482;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)"; -_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 2483;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("450069534",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0); - //BA.debugLineNum = 2484;BA.debugLine="Return total"; -if (true) return _total; - //BA.debugLineNum = 2485;BA.debugLine="End Sub"; +RDebugUtils.currentLine=50004005; + //BA.debugLineNum = 50004005;BA.debugLine="End Sub"; return ""; } public static String _centraedittext(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.EditTextWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 591;BA.debugLine="Sub centraEditText(elemento As EditText, anchoElem"; - //BA.debugLineNum = 592;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centraedittext", false)) + {return ((String) Debug.delegate(null, "centraedittext", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=45613056; + //BA.debugLineNum = 45613056;BA.debugLine="Sub centraEditText(elemento As EditText, anchoElem"; +RDebugUtils.currentLine=45613057; + //BA.debugLineNum = 45613057;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; _elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 593;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45613058; + //BA.debugLineNum = 45613058;BA.debugLine="End Sub"; return ""; } public static String _centraetiqueta(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 572;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; - //BA.debugLineNum = 573;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centraetiqueta", false)) + {return ((String) Debug.delegate(null, "centraetiqueta", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=45350912; + //BA.debugLineNum = 45350912;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +RDebugUtils.currentLine=45350913; + //BA.debugLineNum = 45350913;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; _elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 574;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45350914; + //BA.debugLineNum = 45350914;BA.debugLine="End Sub"; return ""; } public static String _centralistview(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem"; - //BA.debugLineNum = 53;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centralistview", false)) + {return ((String) Debug.delegate(null, "centralistview", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=43253760; + //BA.debugLineNum = 43253760;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem"; +RDebugUtils.currentLine=43253761; + //BA.debugLineNum = 43253761;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; _elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public static String _centrapanel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 577;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; - //BA.debugLineNum = 578;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 579;BA.debugLine="End Sub"; -return ""; -} -public static String _centrapanelv(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _altoelementosuperior) throws Exception{ - //BA.debugLineNum = 582;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; - //BA.debugLineNum = 583;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; -_elemento.setTop((int) (anywheresoftware.b4a.keywords.Common.Round(_altoelementosuperior/(double)2)-(_elemento.getHeight()/(double)2))); - //BA.debugLineNum = 584;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43253762; + //BA.debugLineNum = 43253762;BA.debugLine="End Sub"; return ""; } public static String _centraprogressbar(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ProgressBarWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 587;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; - //BA.debugLineNum = 588;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centraprogressbar", false)) + {return ((String) Debug.delegate(null, "centraprogressbar", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=45547520; + //BA.debugLineNum = 45547520;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; +RDebugUtils.currentLine=45547521; + //BA.debugLineNum = 45547521;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; _elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 589;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45547522; + //BA.debugLineNum = 45547522;BA.debugLine="End Sub"; return ""; } public static String _compress(anywheresoftware.b4a.BA _ba,String _str) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "compress", false)) + {return ((String) Debug.delegate(null, "compress", new Object[] {_ba,_str}));} byte[] _compressed = null; String _base64 = ""; - //BA.debugLineNum = 58;BA.debugLine="Sub compress(str As String) As String 'ignore"; - //BA.debugLineNum = 60;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +RDebugUtils.currentLine=43319296; + //BA.debugLineNum = 43319296;BA.debugLine="Sub compress(str As String) As String 'ignore"; +RDebugUtils.currentLine=43319298; + //BA.debugLineNum = 43319298;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; _compressed = _gzip.compress(_str); - //BA.debugLineNum = 63;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +RDebugUtils.currentLine=43319301; + //BA.debugLineNum = 43319301;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; _base64 = _su.EncodeBase64(_compressed); - //BA.debugLineNum = 64;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("443253766",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); - //BA.debugLineNum = 66;BA.debugLine="Return base64"; +RDebugUtils.currentLine=43319302; + //BA.debugLineNum = 43319302;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("043319302",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); +RDebugUtils.currentLine=43319304; + //BA.debugLineNum = 43319304;BA.debugLine="Return base64"; if (true) return _base64; - //BA.debugLineNum = 67;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43319305; + //BA.debugLineNum = 43319305;BA.debugLine="End Sub"; return ""; } public static String _copiadb(anywheresoftware.b4a.BA _ba,boolean _result) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "copiadb", false)) + {return ((String) Debug.delegate(null, "copiadb", new Object[] {_ba,_result}));} String _p = ""; String _thedir = ""; - //BA.debugLineNum = 530;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; - //BA.debugLineNum = 531;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; +RDebugUtils.currentLine=45219840; + //BA.debugLineNum = 45219840;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +RDebugUtils.currentLine=45219841; + //BA.debugLineNum = 45219841;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("copiaDB"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 532;BA.debugLine="If result Then"; +RDebugUtils.currentLine=45219842; + //BA.debugLineNum = 45219842;BA.debugLine="If result Then"; if (_result) { - //BA.debugLineNum = 533;BA.debugLine="Dim p As String"; +RDebugUtils.currentLine=45219843; + //BA.debugLineNum = 45219843;BA.debugLine="Dim p As String"; _p = ""; - //BA.debugLineNum = 534;BA.debugLine="If File.ExternalWritable Then"; +RDebugUtils.currentLine=45219844; + //BA.debugLineNum = 45219844;BA.debugLine="If File.ExternalWritable Then"; if (anywheresoftware.b4a.keywords.Common.File.getExternalWritable()) { - //BA.debugLineNum = 535;BA.debugLine="p = File.DirRootExternal"; +RDebugUtils.currentLine=45219845; + //BA.debugLineNum = 45219845;BA.debugLine="p = File.DirRootExternal"; _p = anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(); }else { - //BA.debugLineNum = 538;BA.debugLine="p = File.DirInternal"; +RDebugUtils.currentLine=45219848; + //BA.debugLineNum = 45219848;BA.debugLine="p = File.DirInternal"; _p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); }; - //BA.debugLineNum = 541;BA.debugLine="Dim theDir As String"; +RDebugUtils.currentLine=45219851; + //BA.debugLineNum = 45219851;BA.debugLine="Dim theDir As String"; _thedir = ""; - //BA.debugLineNum = 542;BA.debugLine="Try"; -try { //BA.debugLineNum = 543;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")"; +RDebugUtils.currentLine=45219852; + //BA.debugLineNum = 45219852;BA.debugLine="Try"; +try {RDebugUtils.currentLine=45219853; + //BA.debugLineNum = 45219853;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")"; anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),"kmts"); - //BA.debugLineNum = 544;BA.debugLine="theDir = \"/kmts\""; +RDebugUtils.currentLine=45219854; + //BA.debugLineNum = 45219854;BA.debugLine="theDir = \"/kmts\""; _thedir = "/kmts"; } catch (Exception e14) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e14); //BA.debugLineNum = 546;BA.debugLine="theDir = \"\""; + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e14);RDebugUtils.currentLine=45219856; + //BA.debugLineNum = 45219856;BA.debugLine="theDir = \"\""; _thedir = ""; }; - //BA.debugLineNum = 548;BA.debugLine="Try"; -try { //BA.debugLineNum = 549;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo"; +RDebugUtils.currentLine=45219858; + //BA.debugLineNum = 45219858;BA.debugLine="Try"; +try {RDebugUtils.currentLine=45219859; + //BA.debugLineNum = 45219859;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo"; anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.File.getDirRootExternal()+_thedir,"cedex_kmt.db"); - //BA.debugLineNum = 550;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; +RDebugUtils.currentLine=45219860; + //BA.debugLineNum = 45219860;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"errorLog.db",anywheresoftware.b4a.keywords.Common.File.getDirRootExternal()+_thedir,"cedex_errorLog.db"); - //BA.debugLineNum = 551;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; +RDebugUtils.currentLine=45219861; + //BA.debugLineNum = 45219861;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),anywheresoftware.b4a.keywords.Common.False); } catch (Exception e21) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 553;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21);RDebugUtils.currentLine=45219863; + //BA.debugLineNum = 45219863;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))),anywheresoftware.b4a.keywords.Common.True); }; - //BA.debugLineNum = 555;BA.debugLine="Log(\"rootExternal=\"&p)"; -anywheresoftware.b4a.keywords.Common.LogImpl("445154329","rootExternal="+_p,0); - //BA.debugLineNum = 556;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("445154330","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); - //BA.debugLineNum = 557;BA.debugLine="Log(\"File.DirRootExternal=\"&File.DirRootExternal"; -anywheresoftware.b4a.keywords.Common.LogImpl("445154331","File.DirRootExternal="+anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),0); +RDebugUtils.currentLine=45219865; + //BA.debugLineNum = 45219865;BA.debugLine="Log(\"rootExternal=\"&p)"; +anywheresoftware.b4a.keywords.Common.LogImpl("045219865","rootExternal="+_p,0); +RDebugUtils.currentLine=45219866; + //BA.debugLineNum = 45219866;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +anywheresoftware.b4a.keywords.Common.LogImpl("045219866","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); +RDebugUtils.currentLine=45219867; + //BA.debugLineNum = 45219867;BA.debugLine="Log(\"File.DirRootExternal=\"&File.DirRootExternal"; +anywheresoftware.b4a.keywords.Common.LogImpl("045219867","File.DirRootExternal="+anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),0); }else { - //BA.debugLineNum = 559;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +RDebugUtils.currentLine=45219869; + //BA.debugLineNum = 45219869;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); }; - //BA.debugLineNum = 561;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45219871; + //BA.debugLineNum = 45219871;BA.debugLine="End Sub"; return ""; } public static String _cuantosvariablestengobd(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{ - //BA.debugLineNum = 1244;BA.debugLine="Sub cuantosVariablesTengoBD(promo As String) As St"; - //BA.debugLineNum = 1255;BA.debugLine="End Sub"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "cuantosvariablestengobd", false)) + {return ((String) Debug.delegate(null, "cuantosvariablestengobd", new Object[] {_ba,_promo}));} +RDebugUtils.currentLine=47316992; + //BA.debugLineNum = 47316992;BA.debugLine="Sub cuantosVariablesTengoBD(promo As String) As St"; +RDebugUtils.currentLine=47317003; + //BA.debugLineNum = 47317003;BA.debugLine="End Sub"; return ""; } public static String _dameerroresjson(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.sql.SQL _sql,int _maxerrores,boolean _comprimido) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "dameerroresjson", false)) + {return ((String) Debug.delegate(null, "dameerroresjson", new Object[] {_ba,_sql,_maxerrores,_comprimido}));} anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _j = null; String _lim = ""; anywheresoftware.b4a.sql.SQL.ResultSetWrapper _cur = null; @@ -922,994 +2313,1489 @@ anywheresoftware.b4a.objects.collections.List _l = null; int _i = 0; anywheresoftware.b4a.objects.collections.Map _m = null; anywheresoftware.b4a.objects.collections.Map _m2 = null; - //BA.debugLineNum = 468;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; - //BA.debugLineNum = 469;BA.debugLine="Log(\"dameErroresJSON\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("444957697","dameErroresJSON",0); - //BA.debugLineNum = 470;BA.debugLine="Private j As JSONGenerator"; +RDebugUtils.currentLine=45023232; + //BA.debugLineNum = 45023232;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; +RDebugUtils.currentLine=45023233; + //BA.debugLineNum = 45023233;BA.debugLine="Log(\"dameErroresJSON\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("045023233","dameErroresJSON",0); +RDebugUtils.currentLine=45023234; + //BA.debugLineNum = 45023234;BA.debugLine="Private j As JSONGenerator"; _j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 471;BA.debugLine="Private lim As String"; +RDebugUtils.currentLine=45023235; + //BA.debugLineNum = 45023235;BA.debugLine="Private lim As String"; _lim = ""; - //BA.debugLineNum = 472;BA.debugLine="Private cur As ResultSet"; +RDebugUtils.currentLine=45023236; + //BA.debugLineNum = 45023236;BA.debugLine="Private cur As ResultSet"; _cur = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); - //BA.debugLineNum = 473;BA.debugLine="Private l As List"; +RDebugUtils.currentLine=45023237; + //BA.debugLineNum = 45023237;BA.debugLine="Private l As List"; _l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 474;BA.debugLine="Private i As Int = 0"; +RDebugUtils.currentLine=45023238; + //BA.debugLineNum = 45023238;BA.debugLine="Private i As Int = 0"; _i = (int) (0); - //BA.debugLineNum = 475;BA.debugLine="l.Initialize"; +RDebugUtils.currentLine=45023239; + //BA.debugLineNum = 45023239;BA.debugLine="l.Initialize"; _l.Initialize(); - //BA.debugLineNum = 476;BA.debugLine="Dim m, m2 As Map"; +RDebugUtils.currentLine=45023240; + //BA.debugLineNum = 45023240;BA.debugLine="Dim m, m2 As Map"; _m = new anywheresoftware.b4a.objects.collections.Map(); _m2 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 477;BA.debugLine="m2.Initialize"; +RDebugUtils.currentLine=45023241; + //BA.debugLineNum = 45023241;BA.debugLine="m2.Initialize"; _m2.Initialize(); - //BA.debugLineNum = 478;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; +RDebugUtils.currentLine=45023242; + //BA.debugLineNum = 45023242;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; if (_maxerrores==0) { _lim = "";} else { _lim = "limit "+BA.NumberToString(_maxerrores);}; - //BA.debugLineNum = 479;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order"; +RDebugUtils.currentLine=45023243; + //BA.debugLineNum = 45023243;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order"; _cur = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_sql.ExecQuery("select * from errores order by fecha desc "+_lim))); - //BA.debugLineNum = 480;BA.debugLine="Do While cur.NextRow"; +RDebugUtils.currentLine=45023244; + //BA.debugLineNum = 45023244;BA.debugLine="Do While cur.NextRow"; while (_cur.NextRow()) { - //BA.debugLineNum = 481;BA.debugLine="m.Initialize"; +RDebugUtils.currentLine=45023245; + //BA.debugLineNum = 45023245;BA.debugLine="m.Initialize"; _m.Initialize(); - //BA.debugLineNum = 482;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; +RDebugUtils.currentLine=45023246; + //BA.debugLineNum = 45023246;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; _m.Put((Object)("fecha"),(Object)(_cur.GetString("fecha"))); - //BA.debugLineNum = 483;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; +RDebugUtils.currentLine=45023247; + //BA.debugLineNum = 45023247;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; _m.Put((Object)("error"),(Object)(_cur.GetString("error"))); - //BA.debugLineNum = 484;BA.debugLine="m2.Put(i,m)"; +RDebugUtils.currentLine=45023248; + //BA.debugLineNum = 45023248;BA.debugLine="m2.Put(i,m)"; _m2.Put((Object)(_i),(Object)(_m.getObject())); - //BA.debugLineNum = 485;BA.debugLine="i = i + 1"; +RDebugUtils.currentLine=45023249; + //BA.debugLineNum = 45023249;BA.debugLine="i = i + 1"; _i = (int) (_i+1); } ; - //BA.debugLineNum = 487;BA.debugLine="cur.Close"; +RDebugUtils.currentLine=45023251; + //BA.debugLineNum = 45023251;BA.debugLine="cur.Close"; _cur.Close(); - //BA.debugLineNum = 488;BA.debugLine="j.Initialize(m2)"; +RDebugUtils.currentLine=45023252; + //BA.debugLineNum = 45023252;BA.debugLine="j.Initialize(m2)"; _j.Initialize(_m2); - //BA.debugLineNum = 489;BA.debugLine="Log(j.ToString)"; -anywheresoftware.b4a.keywords.Common.LogImpl("444957717",_j.ToString(),0); - //BA.debugLineNum = 490;BA.debugLine="If comprimido Then"; +RDebugUtils.currentLine=45023253; + //BA.debugLineNum = 45023253;BA.debugLine="Log(j.ToString)"; +anywheresoftware.b4a.keywords.Common.LogImpl("045023253",_j.ToString(),0); +RDebugUtils.currentLine=45023254; + //BA.debugLineNum = 45023254;BA.debugLine="If comprimido Then"; if (_comprimido) { - //BA.debugLineNum = 491;BA.debugLine="Return compress(j.ToString)"; +RDebugUtils.currentLine=45023255; + //BA.debugLineNum = 45023255;BA.debugLine="Return compress(j.ToString)"; if (true) return _compress(_ba,_j.ToString()); }else { - //BA.debugLineNum = 493;BA.debugLine="Return j.ToString"; +RDebugUtils.currentLine=45023257; + //BA.debugLineNum = 45023257;BA.debugLine="Return j.ToString"; if (true) return _j.ToString(); }; - //BA.debugLineNum = 495;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45023259; + //BA.debugLineNum = 45023259;BA.debugLine="End Sub"; return ""; } public static String _dameruta(anywheresoftware.b4a.BA _ba,String _inicioruta,String _origenruta) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "dameruta", false)) + {return ((String) Debug.delegate(null, "dameruta", new Object[] {_ba,_inicioruta,_origenruta}));} String _fechainicio = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _ruta2 = ""; int _i = 0; - //BA.debugLineNum = 149;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; - //BA.debugLineNum = 151;BA.debugLine="Dim fechaInicio As String"; +RDebugUtils.currentLine=43778048; + //BA.debugLineNum = 43778048;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; +RDebugUtils.currentLine=43778050; + //BA.debugLineNum = 43778050;BA.debugLine="Dim fechaInicio As String"; _fechainicio = ""; - //BA.debugLineNum = 152;BA.debugLine="Try 'incioRuta es numero"; -try { //BA.debugLineNum = 153;BA.debugLine="inicioRuta = inicioRuta * 1"; +RDebugUtils.currentLine=43778051; + //BA.debugLineNum = 43778051;BA.debugLine="Try 'incioRuta es numero"; +try {RDebugUtils.currentLine=43778052; + //BA.debugLineNum = 43778052;BA.debugLine="inicioRuta = inicioRuta * 1"; _inicioruta = BA.NumberToString((double)(Double.parseDouble(_inicioruta))*1); - //BA.debugLineNum = 155;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime."; +RDebugUtils.currentLine=43778054; + //BA.debugLineNum = 43778054;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime."; _fechainicio = _fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(anywheresoftware.b4a.keywords.Common.DateTime.TicksPerHour*(double)(Double.parseDouble(_inicioruta))))); } catch (Exception e6) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 157;BA.debugLine="fechaInicio = fechaInicioHoy"; + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6);RDebugUtils.currentLine=43778056; + //BA.debugLineNum = 43778056;BA.debugLine="fechaInicio = fechaInicioHoy"; _fechainicio = _fechainiciohoy(_ba); }; - //BA.debugLineNum = 160;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&"; +RDebugUtils.currentLine=43778059; + //BA.debugLineNum = 43778059;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&"; if (_subslogs) { -anywheresoftware.b4a.keywords.Common.LogImpl("443712523","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; - //BA.debugLineNum = 161;BA.debugLine="Dim c As Cursor"; +anywheresoftware.b4a.keywords.Common.LogImpl("043778059","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; +RDebugUtils.currentLine=43778060; + //BA.debugLineNum = 43778060;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 162;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize("; +RDebugUtils.currentLine=43778061; + //BA.debugLineNum = 43778061;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize("; if (_kmt.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { _kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 163;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from"; +RDebugUtils.currentLine=43778062; + //BA.debugLineNum = 43778062;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from"; if (_subslogs) { -anywheresoftware.b4a.keywords.Common.LogImpl("443712526","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; - //BA.debugLineNum = 164;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&"; +anywheresoftware.b4a.keywords.Common.LogImpl("043778062","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; +RDebugUtils.currentLine=43778063; + //BA.debugLineNum = 43778063;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints)))); - //BA.debugLineNum = 165;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=43778064; + //BA.debugLineNum = 43778064;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 166;BA.debugLine="Dim ruta2 As String = \"\""; +RDebugUtils.currentLine=43778065; + //BA.debugLineNum = 43778065;BA.debugLine="Dim ruta2 As String = \"\""; _ruta2 = ""; - //BA.debugLineNum = 167;BA.debugLine="If c.RowCount>0 Then"; +RDebugUtils.currentLine=43778066; + //BA.debugLineNum = 43778066;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 168;BA.debugLine="For i=0 To c.RowCount -1"; +RDebugUtils.currentLine=43778067; + //BA.debugLineNum = 43778067;BA.debugLine="For i=0 To c.RowCount -1"; { final int step16 = 1; final int limit16 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 169;BA.debugLine="c.Position=i"; +RDebugUtils.currentLine=43778068; + //BA.debugLineNum = 43778068;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 170;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; +RDebugUtils.currentLine=43778069; + //BA.debugLineNum = 43778069;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; _ruta2 = _ruta2+anywheresoftware.b4a.keywords.Common.CRLF+_c.GetString("LAT")+","+_c.GetString("LON")+","+_c.GetString("FECHA"); - //BA.debugLineNum = 171;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; +RDebugUtils.currentLine=43778070; + //BA.debugLineNum = 43778070;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._fecharuta /*String*/ = _c.GetString("FECHA"); } }; }; - //BA.debugLineNum = 174;BA.debugLine="c.Close"; +RDebugUtils.currentLine=43778073; + //BA.debugLineNum = 43778073;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 175;BA.debugLine="Return compress(ruta2)"; +RDebugUtils.currentLine=43778074; + //BA.debugLineNum = 43778074;BA.debugLine="Return compress(ruta2)"; if (true) return _compress(_ba,_ruta2); - //BA.debugLineNum = 176;BA.debugLine="End Sub"; -return ""; -} -public static String _dameusuariodedb(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _u = ""; - //BA.debugLineNum = 606;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; - //BA.debugLineNum = 607;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 608;BA.debugLine="Private u As String = \"SinUsuario\""; -_u = "SinUsuario"; - //BA.debugLineNum = 609;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 610;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 611;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 612;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; -if (_c.getRowCount()>0) { -_u = _c.GetString("USUARIO");}; - //BA.debugLineNum = 613;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 614;BA.debugLine="Return u"; -if (true) return _u; - //BA.debugLineNum = 615;BA.debugLine="End Sub"; -return ""; -} -public static String _decompress(anywheresoftware.b4a.BA _ba,String _base64) throws Exception{ -byte[] _decompressedbytes = null; -anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; -String _uncompressed = ""; - //BA.debugLineNum = 70;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; - //BA.debugLineNum = 71;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; -_decompressedbytes = _su.DecodeBase64(_base64); - //BA.debugLineNum = 73;BA.debugLine="Dim bc As ByteConverter"; -_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); - //BA.debugLineNum = 74;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; -_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); - //BA.debugLineNum = 75;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("443319301",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); - //BA.debugLineNum = 77;BA.debugLine="Return uncompressed"; -if (true) return _uncompressed; - //BA.debugLineNum = 78;BA.debugLine="End Sub"; -return ""; -} -public static String _deleteerrorlog_db(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 186;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; - //BA.debugLineNum = 187;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; -_errorlog.ExecNonQuery("delete from errores"); - //BA.debugLineNum = 188;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; -_errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 189;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD Errores Borrada"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 190;BA.debugLine="End Sub"; -return ""; -} -public static String _deletefolder(anywheresoftware.b4a.BA _ba,String _folder) throws Exception{ -String _f = ""; - //BA.debugLineNum = 1913;BA.debugLine="Sub deleteFolder(folder As String)"; - //BA.debugLineNum = 1914;BA.debugLine="Log(\"Borrando \" & folder)"; -anywheresoftware.b4a.keywords.Common.LogImpl("449152001","Borrando "+_folder,0); - //BA.debugLineNum = 1915;BA.debugLine="For Each f As String In File.ListFiles(folder)"; -{ -final anywheresoftware.b4a.BA.IterableList group2 = anywheresoftware.b4a.keywords.Common.File.ListFiles(_folder); -final int groupLen2 = group2.getSize() -;int index2 = 0; -; -for (; index2 < groupLen2;index2++){ -_f = BA.ObjectToString(group2.Get(index2)); - //BA.debugLineNum = 1916;BA.debugLine="Log(f)"; -anywheresoftware.b4a.keywords.Common.LogImpl("449152003",_f,0); - //BA.debugLineNum = 1917;BA.debugLine="If File.IsDirectory(folder, f) Then"; -if (anywheresoftware.b4a.keywords.Common.File.IsDirectory(_folder,_f)) { - //BA.debugLineNum = 1918;BA.debugLine="deleteFolder(File.Combine(folder, f))"; -_deletefolder(_ba,anywheresoftware.b4a.keywords.Common.File.Combine(_folder,_f)); - //BA.debugLineNum = 1919;BA.debugLine="Log($\"Borramos ${File.Combine(folder, f)}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("449152006",("Borramos "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.File.Combine(_folder,_f)))+""),0); - }; - //BA.debugLineNum = 1921;BA.debugLine="File.Delete(folder, f)"; -anywheresoftware.b4a.keywords.Common.File.Delete(_folder,_f); - } -}; - //BA.debugLineNum = 1923;BA.debugLine="End Sub"; -return ""; -} -public static String _deletegps_db(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 179;BA.debugLine="Sub deleteGPS_DB 'ignore"; - //BA.debugLineNum = 180;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; -_kmt.ExecNonQuery("delete from RUTA_GPS"); - //BA.debugLineNum = 181;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 182;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borramos BD Coords GPS"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 183;BA.debugLine="End Sub"; -return ""; -} -public static String _enviawhatsappmsg(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 1925;BA.debugLine="Sub enviaWhatsappMsg()"; - //BA.debugLineNum = 1960;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43778075; + //BA.debugLineNum = 43778075;BA.debugLine="End Sub"; return ""; } public static String _fechainiciohoy(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "fechainiciohoy", false)) + {return ((String) Debug.delegate(null, "fechainiciohoy", new Object[] {_ba}));} String _origformat = ""; String _h = ""; - //BA.debugLineNum = 277;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; - //BA.debugLineNum = 278;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; +RDebugUtils.currentLine=44367872; + //BA.debugLineNum = 44367872;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +RDebugUtils.currentLine=44367873; + //BA.debugLineNum = 44367873;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; _origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 279;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +RDebugUtils.currentLine=44367874; + //BA.debugLineNum = 44367874;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); - //BA.debugLineNum = 280;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; +RDebugUtils.currentLine=44367875; + //BA.debugLineNum = 44367875;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; _h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow())+"000000"; - //BA.debugLineNum = 281;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +RDebugUtils.currentLine=44367876; + //BA.debugLineNum = 44367876;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 282;BA.debugLine="Log(\"Hoy=\"&h)"; -anywheresoftware.b4a.keywords.Common.LogImpl("444302341","Hoy="+_h,0); - //BA.debugLineNum = 283;BA.debugLine="Return h"; +RDebugUtils.currentLine=44367877; + //BA.debugLineNum = 44367877;BA.debugLine="Log(\"Hoy=\"&h)"; +anywheresoftware.b4a.keywords.Common.LogImpl("044367877","Hoy="+_h,0); +RDebugUtils.currentLine=44367878; + //BA.debugLineNum = 44367878;BA.debugLine="Return h"; if (true) return _h; - //BA.debugLineNum = 284;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44367879; + //BA.debugLineNum = 44367879;BA.debugLine="End Sub"; return ""; } -public static String _fechakmt(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{ -String _origformat = ""; -String _nuevafecha = ""; - //BA.debugLineNum = 81;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; - //BA.debugLineNum = 83;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 84;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 85;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; -_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 86;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 88;BA.debugLine="Return nuevaFecha"; -if (true) return _nuevafecha; - //BA.debugLineNum = 89;BA.debugLine="End Sub"; +public static String _dameusuariodedb(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "dameusuariodedb", false)) + {return ((String) Debug.delegate(null, "dameusuariodedb", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _u = ""; +RDebugUtils.currentLine=45744128; + //BA.debugLineNum = 45744128;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; +RDebugUtils.currentLine=45744129; + //BA.debugLineNum = 45744129;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=45744130; + //BA.debugLineNum = 45744130;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=45744131; + //BA.debugLineNum = 45744131;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=45744132; + //BA.debugLineNum = 45744132;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=45744133; + //BA.debugLineNum = 45744133;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=45744134; + //BA.debugLineNum = 45744134;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +if (_c.getRowCount()>0) { +_u = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=45744135; + //BA.debugLineNum = 45744135;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=45744136; + //BA.debugLineNum = 45744136;BA.debugLine="Return u"; +if (true) return _u; +RDebugUtils.currentLine=45744137; + //BA.debugLineNum = 45744137;BA.debugLine="End Sub"; +return ""; +} +public static String _decompress(anywheresoftware.b4a.BA _ba,String _base64) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "decompress", false)) + {return ((String) Debug.delegate(null, "decompress", new Object[] {_ba,_base64}));} +byte[] _decompressedbytes = null; +anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; +String _uncompressed = ""; +RDebugUtils.currentLine=43384832; + //BA.debugLineNum = 43384832;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +RDebugUtils.currentLine=43384833; + //BA.debugLineNum = 43384833;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +_decompressedbytes = _su.DecodeBase64(_base64); +RDebugUtils.currentLine=43384835; + //BA.debugLineNum = 43384835;BA.debugLine="Dim bc As ByteConverter"; +_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); +RDebugUtils.currentLine=43384836; + //BA.debugLineNum = 43384836;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); +RDebugUtils.currentLine=43384837; + //BA.debugLineNum = 43384837;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("043384837",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); +RDebugUtils.currentLine=43384839; + //BA.debugLineNum = 43384839;BA.debugLine="Return uncompressed"; +if (true) return _uncompressed; +RDebugUtils.currentLine=43384840; + //BA.debugLineNum = 43384840;BA.debugLine="End Sub"; +return ""; +} +public static String _deleteerrorlog_db(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "deleteerrorlog_db", false)) + {return ((String) Debug.delegate(null, "deleteerrorlog_db", new Object[] {_ba}));} +RDebugUtils.currentLine=43909120; + //BA.debugLineNum = 43909120;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +RDebugUtils.currentLine=43909121; + //BA.debugLineNum = 43909121;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +_errorlog.ExecNonQuery("delete from errores"); +RDebugUtils.currentLine=43909122; + //BA.debugLineNum = 43909122;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +_errorlog.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=43909123; + //BA.debugLineNum = 43909123;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD Errores Borrada"),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=43909124; + //BA.debugLineNum = 43909124;BA.debugLine="End Sub"; +return ""; +} +public static String _deletegps_db(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "deletegps_db", false)) + {return ((String) Debug.delegate(null, "deletegps_db", new Object[] {_ba}));} +RDebugUtils.currentLine=43843584; + //BA.debugLineNum = 43843584;BA.debugLine="Sub deleteGPS_DB 'ignore"; +RDebugUtils.currentLine=43843585; + //BA.debugLineNum = 43843585;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +_kmt.ExecNonQuery("delete from RUTA_GPS"); +RDebugUtils.currentLine=43843586; + //BA.debugLineNum = 43843586;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=43843587; + //BA.debugLineNum = 43843587;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borramos BD Coords GPS"),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=43843588; + //BA.debugLineNum = 43843588;BA.debugLine="End Sub"; +return ""; +} +public static String _enviawhatsappmsg(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "enviawhatsappmsg", false)) + {return ((String) Debug.delegate(null, "enviawhatsappmsg", new Object[] {_ba}));} +RDebugUtils.currentLine=49283072; + //BA.debugLineNum = 49283072;BA.debugLine="Sub enviaWhatsappMsg()"; +RDebugUtils.currentLine=49283107; + //BA.debugLineNum = 49283107;BA.debugLine="End Sub"; return ""; } public static long _fechakmt2ticks(anywheresoftware.b4a.BA _ba,String _fkmt) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "fechakmt2ticks", false)) + {return ((Long) Debug.delegate(null, "fechakmt2ticks", new Object[] {_ba,_fkmt}));} String _partefecha = ""; String _partehora = ""; String _origformat = ""; long _ticks = 0L; - //BA.debugLineNum = 498;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; - //BA.debugLineNum = 499;BA.debugLine="Try"; -try { //BA.debugLineNum = 500;BA.debugLine="If fKMT.Length = 12 Then"; +RDebugUtils.currentLine=45088768; + //BA.debugLineNum = 45088768;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +RDebugUtils.currentLine=45088769; + //BA.debugLineNum = 45088769;BA.debugLine="Try"; +try {RDebugUtils.currentLine=45088770; + //BA.debugLineNum = 45088770;BA.debugLine="If fKMT.Length = 12 Then"; if (_fkmt.length()==12) { - //BA.debugLineNum = 501;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +RDebugUtils.currentLine=45088771; + //BA.debugLineNum = 45088771;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; _partefecha = _fkmt.substring((int) (0),(int) (6)); - //BA.debugLineNum = 502;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +RDebugUtils.currentLine=45088772; + //BA.debugLineNum = 45088772;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; _partehora = _fkmt.substring((int) (6)); - //BA.debugLineNum = 503;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +RDebugUtils.currentLine=45088773; + //BA.debugLineNum = 45088773;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; _origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 504;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; +RDebugUtils.currentLine=45088774; + //BA.debugLineNum = 45088774;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yymmdd"); - //BA.debugLineNum = 505;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +RDebugUtils.currentLine=45088775; + //BA.debugLineNum = 45088775;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 506;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +RDebugUtils.currentLine=45088776; + //BA.debugLineNum = 45088776;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; _ticks = anywheresoftware.b4a.keywords.Common.DateTime.DateTimeParse(_partefecha,_partehora); - //BA.debugLineNum = 507;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +RDebugUtils.currentLine=45088777; + //BA.debugLineNum = 45088777;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 508;BA.debugLine="Return ticks"; +RDebugUtils.currentLine=45088778; + //BA.debugLineNum = 45088778;BA.debugLine="Return ticks"; if (true) return _ticks; }else { - //BA.debugLineNum = 510;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; -anywheresoftware.b4a.keywords.Common.LogImpl("445023244","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); - //BA.debugLineNum = 511;BA.debugLine="Return 0"; +RDebugUtils.currentLine=45088780; + //BA.debugLineNum = 45088780;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +anywheresoftware.b4a.keywords.Common.LogImpl("045088780","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); +RDebugUtils.currentLine=45088781; + //BA.debugLineNum = 45088781;BA.debugLine="Return 0"; if (true) return (long) (0); }; } catch (Exception e16) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 514;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("445023248",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - //BA.debugLineNum = 515;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; -anywheresoftware.b4a.keywords.Common.LogImpl("445023249",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 516;BA.debugLine="Return 0"; + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16);RDebugUtils.currentLine=45088784; + //BA.debugLineNum = 45088784;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("045088784",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +RDebugUtils.currentLine=45088785; + //BA.debugLineNum = 45088785;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +anywheresoftware.b4a.keywords.Common.LogImpl("045088785",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=45088786; + //BA.debugLineNum = 45088786;BA.debugLine="Return 0"; if (true) return (long) (0); }; - //BA.debugLineNum = 518;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45088788; + //BA.debugLineNum = 45088788;BA.debugLine="End Sub"; return 0L; } -public static String _fechanormal(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{ -String _origformat = ""; -String _nuevafecha = ""; - //BA.debugLineNum = 214;BA.debugLine="Sub fechanormal(fecha As String) As String 'ignore"; - //BA.debugLineNum = 216;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 217;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss"); - //BA.debugLineNum = 218;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; -_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 219;BA.debugLine="DateTime.DateFormat = OrigFormat 'return to orig"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 221;BA.debugLine="Return nuevaFecha"; -if (true) return _nuevafecha; - //BA.debugLineNum = 222;BA.debugLine="End Sub"; -return ""; -} public static String _getphnid(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "getphnid", false)) + {return ((String) Debug.delegate(null, "getphnid", new Object[] {_ba}));} String _t = ""; String _s = ""; - //BA.debugLineNum = 23;BA.debugLine="Sub getPhnId As String 'ignore"; - //BA.debugLineNum = 25;BA.debugLine="devModel = phn.Model"; +RDebugUtils.currentLine=43122688; + //BA.debugLineNum = 43122688;BA.debugLine="Sub getPhnId As String 'ignore"; +RDebugUtils.currentLine=43122690; + //BA.debugLineNum = 43122690;BA.debugLine="devModel = phn.Model"; _devmodel = _phn.getModel(); - //BA.debugLineNum = 26;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +RDebugUtils.currentLine=43122691; + //BA.debugLineNum = 43122691;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; if (_devmodel.length()<=3) { - //BA.debugLineNum = 27;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +RDebugUtils.currentLine=43122692; + //BA.debugLineNum = 43122692;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; _t = _phn.GetSettings("android_id"); - //BA.debugLineNum = 28;BA.debugLine="devModel = t"; +RDebugUtils.currentLine=43122693; + //BA.debugLineNum = 43122693;BA.debugLine="devModel = t"; _devmodel = _t; }; - //BA.debugLineNum = 30;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +RDebugUtils.currentLine=43122695; + //BA.debugLineNum = 43122695;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; if (_devmodel.length()>=3) { - //BA.debugLineNum = 31;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; +RDebugUtils.currentLine=43122696; + //BA.debugLineNum = 43122696;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; anywheresoftware.b4a.keywords.Common.File.WriteString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt",_devmodel); - }else if(_devmodel.length()<3) { - //BA.debugLineNum = 34;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; + }else +{RDebugUtils.currentLine=43122698; + //BA.debugLineNum = 43122698;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +if (_devmodel.length()<3) { +RDebugUtils.currentLine=43122699; + //BA.debugLineNum = 43122699;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; _s = anywheresoftware.b4a.keywords.Common.File.ReadString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt"); - //BA.debugLineNum = 35;BA.debugLine="devModel = s"; +RDebugUtils.currentLine=43122700; + //BA.debugLineNum = 43122700;BA.debugLine="devModel = s"; _devmodel = _s; - }; - //BA.debugLineNum = 39;BA.debugLine="Return devModel"; + }} +; +RDebugUtils.currentLine=43122704; + //BA.debugLineNum = 43122704;BA.debugLine="Return devModel"; if (true) return _devmodel; - //BA.debugLineNum = 40;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43122705; + //BA.debugLineNum = 43122705;BA.debugLine="End Sub"; return ""; } public static String _getssid(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 225;BA.debugLine="Sub getSSID 'ignore"; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; -return ""; -} -public static String _guardaappinfo(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 1314;BA.debugLine="Sub guardaAppInfo 'ignore"; - //BA.debugLineNum = 1315;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"); - //BA.debugLineNum = 1316;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getLabelName()))+"')")); - //BA.debugLineNum = 1317;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+"')")); - //BA.debugLineNum = 1318;BA.debugLine="End Sub"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "getssid", false)) + {return ((String) Debug.delegate(null, "getssid", new Object[] {_ba}));} +RDebugUtils.currentLine=44171264; + //BA.debugLineNum = 44171264;BA.debugLine="Sub getSSID 'ignore"; +RDebugUtils.currentLine=44171269; + //BA.debugLineNum = 44171269;BA.debugLine="End Sub"; return ""; } public static String _guardainfoenarchivo(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardainfoenarchivo", false)) + {return ((String) Debug.delegate(null, "guardainfoenarchivo", new Object[] {_ba,_coords}));} String _origformat = ""; String _lastupdate = ""; String _ubic = ""; anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; String _s = ""; byte[] _t = null; - //BA.debugLineNum = 120;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; - //BA.debugLineNum = 122;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +RDebugUtils.currentLine=43646976; + //BA.debugLineNum = 43646976;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +RDebugUtils.currentLine=43646978; + //BA.debugLineNum = 43646978;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; _origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 123;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +RDebugUtils.currentLine=43646979; + //BA.debugLineNum = 43646979;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MMM-dd HH:mm:ss"); - //BA.debugLineNum = 124;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; +RDebugUtils.currentLine=43646980; + //BA.debugLineNum = 43646980;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; _lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 125;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +RDebugUtils.currentLine=43646981; + //BA.debugLineNum = 43646981;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 127;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; +RDebugUtils.currentLine=43646983; + //BA.debugLineNum = 43646983;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; _ubic = _coords+","+_lastupdate; - //BA.debugLineNum = 128;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +RDebugUtils.currentLine=43646984; + //BA.debugLineNum = 43646984;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); _out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 129;BA.debugLine="Dim s As String = ubic & CRLF"; +RDebugUtils.currentLine=43646985; + //BA.debugLineNum = 43646985;BA.debugLine="Dim s As String = ubic & CRLF"; _s = _ubic+anywheresoftware.b4a.keywords.Common.CRLF; - //BA.debugLineNum = 130;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +RDebugUtils.currentLine=43646986; + //BA.debugLineNum = 43646986;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; _t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 131;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +RDebugUtils.currentLine=43646987; + //BA.debugLineNum = 43646987;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; _out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 132;BA.debugLine="out.Close"; +RDebugUtils.currentLine=43646988; + //BA.debugLineNum = 43646988;BA.debugLine="out.Close"; _out.Close(); - //BA.debugLineNum = 133;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43646989; + //BA.debugLineNum = 43646989;BA.debugLine="End Sub"; return ""; } public static String _guardainfoenbd(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardainfoenbd", false)) + {return ((String) Debug.delegate(null, "guardainfoenbd", new Object[] {_ba,_coords}));} String[] _latlon = null; - //BA.debugLineNum = 136;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; - //BA.debugLineNum = 137;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; -anywheresoftware.b4a.keywords.Common.LogImpl("443646977","Guardamos ubicacion en BD - "+_coords,0); - //BA.debugLineNum = 138;BA.debugLine="Try"; -try { //BA.debugLineNum = 139;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +RDebugUtils.currentLine=43712512; + //BA.debugLineNum = 43712512;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +RDebugUtils.currentLine=43712513; + //BA.debugLineNum = 43712513;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; +anywheresoftware.b4a.keywords.Common.LogImpl("043712513","Guardamos ubicacion en BD - "+_coords,0); +RDebugUtils.currentLine=43712514; + //BA.debugLineNum = 43712514;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43712515; + //BA.debugLineNum = 43712515;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; _latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords); - //BA.debugLineNum = 140;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +RDebugUtils.currentLine=43712516; + //BA.debugLineNum = 43712516;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; if (_latlon.length<2) { _latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);}; - //BA.debugLineNum = 141;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; +RDebugUtils.currentLine=43712517; + //BA.debugLineNum = 43712517;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; if (_subslogs) { -anywheresoftware.b4a.keywords.Common.LogImpl("443646981","LatLon="+BA.ObjectToString(_latlon),0);}; - //BA.debugLineNum = 142;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L"; +anywheresoftware.b4a.keywords.Common.LogImpl("043712517","LatLon="+BA.ObjectToString(_latlon),0);}; +RDebugUtils.currentLine=43712518; + //BA.debugLineNum = 43712518;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L"; _kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])})); } catch (Exception e8) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 144;BA.debugLine="LogColor(LastException, Colors.red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("443646984",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8);RDebugUtils.currentLine=43712520; + //BA.debugLineNum = 43712520;BA.debugLine="LogColor(LastException, Colors.red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("043712520",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; - //BA.debugLineNum = 146;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43712522; + //BA.debugLineNum = 43712522;BA.debugLine="End Sub"; return ""; } public static String _guardaproducto(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaproducto", false)) + {return ((String) Debug.delegate(null, "guardaproducto", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 861;BA.debugLine="Sub guardaProducto(cedis As String, costoU As Stri"; - //BA.debugLineNum = 862;BA.debugLine="LogColor(\"guardaProducto: \"&prodId&\", cant=\"&cant"; -anywheresoftware.b4a.keywords.Common.LogImpl("446727169","guardaProducto: "+_prodid+", cant="+_cant+" - TV:"+_tipoventa,anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 863;BA.debugLine="Private c As Cursor"; +RDebugUtils.currentLine=46792704; + //BA.debugLineNum = 46792704;BA.debugLine="Sub guardaProducto(cedis As String, costoU As Stri"; +RDebugUtils.currentLine=46792705; + //BA.debugLineNum = 46792705;BA.debugLine="LogColor(\"guardaProducto: \"&prodId&\", cant=\"&cant"; +anywheresoftware.b4a.keywords.Common.LogImpl("046792705","guardaProducto: "+_prodid+", cant="+_cant+" - TV:"+_tipoventa,anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=46792706; + //BA.debugLineNum = 46792706;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 864;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +RDebugUtils.currentLine=46792707; + //BA.debugLineNum = 46792707;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_traerutabitacora(_ba)),(Object)(_preciosin),(Object)(_tipoventa)})); - //BA.debugLineNum = 865;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${t"; +RDebugUtils.currentLine=46792708; + //BA.debugLineNum = 46792708;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${t"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); - //BA.debugLineNum = 866;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +RDebugUtils.currentLine=46792709; + //BA.debugLineNum = 46792709;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 867;BA.debugLine="c.Position=0"; +RDebugUtils.currentLine=46792710; + //BA.debugLineNum = 46792710;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 868;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +RDebugUtils.currentLine=46792711; + //BA.debugLineNum = 46792711;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 869;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +RDebugUtils.currentLine=46792712; + //BA.debugLineNum = 46792712;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 870;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; +RDebugUtils.currentLine=46792713; + //BA.debugLineNum = 46792713;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 871;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46792714; + //BA.debugLineNum = 46792714;BA.debugLine="End Sub"; +return ""; +} +public static String _traerutabitacora(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traerutabitacora", false)) + {return ((String) Debug.delegate(null, "traerutabitacora", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +RDebugUtils.currentLine=46399488; + //BA.debugLineNum = 46399488;BA.debugLine="Sub traeRutaBitacora As String 'ignore"; +RDebugUtils.currentLine=46399489; + //BA.debugLineNum = 46399489;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46399490; + //BA.debugLineNum = 46399490;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=46399491; + //BA.debugLineNum = 46399491;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=46399492; + //BA.debugLineNum = 46399492;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=46399493; + //BA.debugLineNum = 46399493;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=46399494; + //BA.debugLineNum = 46399494;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=46399495; + //BA.debugLineNum = 46399495;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +_r = _c.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=46399497; + //BA.debugLineNum = 46399497;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=46399498; + //BA.debugLineNum = 46399498;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=46399499; + //BA.debugLineNum = 46399499;BA.debugLine="End Sub"; return ""; } public static String _guardaproductosin(anywheresoftware.b4a.BA _ba,String _cedis,String _costotot,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipov,String _precio2,String _query) throws Exception{ - //BA.debugLineNum = 626;BA.debugLine="Sub guardaProductoSin(cedis As String, costoTot As"; - //BA.debugLineNum = 639;BA.debugLine="ToastMessageShow(\"guardaProdSin\", False)"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaproductosin", false)) + {return ((String) Debug.delegate(null, "guardaproductosin", new Object[] {_ba,_cedis,_costotot,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipov,_precio2,_query}));} +RDebugUtils.currentLine=45875200; + //BA.debugLineNum = 45875200;BA.debugLine="Sub guardaProductoSin(cedis As String, costoTot As"; +RDebugUtils.currentLine=45875213; + //BA.debugLineNum = 45875213;BA.debugLine="ToastMessageShow(\"guardaProdSin\", False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("guardaProdSin"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 640;BA.debugLine="End Sub"; -return ""; -} -public static String _guardaproductosingestion(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _futuro) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 1833;BA.debugLine="Sub guardaProductoSinGestion(cedis As String, cost"; - //BA.debugLineNum = 1834;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(guar"; -if (_nombre.length()<6) { -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("(guardaProductoSinGestion) El nombre del producto no es valido "+_nombre),anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 1835;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal"; -_preciosin = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_preciosin)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 1836;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)"; -_costou = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_costou)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 1838;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1841;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (P"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_RUTA, PE_COSTO_SIN, PE_FOLIO,PE_FUTURO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa),(Object)(_futuro)})); - //BA.debugLineNum = 1843;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuery2"; -if ((_cedis).equals("DUR") == false) { -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_tipoventa)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)}));}; - //BA.debugLineNum = 1844;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1845;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1848;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido_cl"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")); - //BA.debugLineNum = 1849;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into pedido_cl"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_rutav),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 1850;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45875214; + //BA.debugLineNum = 45875214;BA.debugLine="End Sub"; return ""; } public static String _guardaproductox(anywheresoftware.b4a.BA _ba,String _cedis,String _costotot,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _tipov,String _precio2,String _query) throws Exception{ - //BA.debugLineNum = 618;BA.debugLine="Sub guardaProductoX(cedis As String, costoTot As S"; - //BA.debugLineNum = 624;BA.debugLine="End Sub"; -return ""; -} -public static String _guardavariable(anywheresoftware.b4a.BA _ba,String _nombre,String _valor) throws Exception{ - //BA.debugLineNum = 1890;BA.debugLine="Sub guardaVariable(nombre As String, valor As Stri"; - //BA.debugLineNum = 1891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+"'")); - //BA.debugLineNum = 1892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+"', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_valor))+"')")); - //BA.debugLineNum = 1893;BA.debugLine="End Sub"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaproductox", false)) + {return ((String) Debug.delegate(null, "guardaproductox", new Object[] {_ba,_cedis,_costotot,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_tipov,_precio2,_query}));} +RDebugUtils.currentLine=45809664; + //BA.debugLineNum = 45809664;BA.debugLine="Sub guardaProductoX(cedis As String, costoTot As S"; +RDebugUtils.currentLine=45809670; + //BA.debugLineNum = 45809670;BA.debugLine="End Sub"; return ""; } public static boolean _haypedido(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "haypedido", false)) + {return ((Boolean) Debug.delegate(null, "haypedido", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _thisc = null; boolean _hay = false; - //BA.debugLineNum = 852;BA.debugLine="Sub hayPedido As Boolean"; - //BA.debugLineNum = 853;BA.debugLine="Private thisC As Cursor=B4XPages.MainPage.skmt.Ex"; +RDebugUtils.currentLine=46727168; + //BA.debugLineNum = 46727168;BA.debugLine="Sub hayPedido As Boolean"; +RDebugUtils.currentLine=46727169; + //BA.debugLineNum = 46727169;BA.debugLine="Private thisC As Cursor=B4XPages.MainPage.skmt.Ex"; _thisc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _thisc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(PE_CLIENTE) as hayPedido from PEDIDO where PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")))); - //BA.debugLineNum = 854;BA.debugLine="thisC.Position=0"; +RDebugUtils.currentLine=46727170; + //BA.debugLineNum = 46727170;BA.debugLine="thisC.Position=0"; _thisc.setPosition((int) (0)); - //BA.debugLineNum = 855;BA.debugLine="Private hay As Boolean = False"; +RDebugUtils.currentLine=46727171; + //BA.debugLineNum = 46727171;BA.debugLine="Private hay As Boolean = False"; _hay = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 856;BA.debugLine="If thisC.GetInt(\"hayPedido\") > 0 Then hay = True"; +RDebugUtils.currentLine=46727172; + //BA.debugLineNum = 46727172;BA.debugLine="If thisC.GetInt(\"hayPedido\") > 0 Then hay = True"; if (_thisc.GetInt("hayPedido")>0) { _hay = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 858;BA.debugLine="Return hay"; +RDebugUtils.currentLine=46727174; + //BA.debugLineNum = 46727174;BA.debugLine="Return hay"; if (true) return _hay; - //BA.debugLineNum = 859;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46727175; + //BA.debugLineNum = 46727175;BA.debugLine="End Sub"; return false; } -public static String _importabddesdewhatsapp(anywheresoftware.b4a.BA _ba) throws Exception{ -String _xmldata = ""; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outstr = null; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _instr = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null; - //BA.debugLineNum = 1708;BA.debugLine="Sub importaBDDesdeWhatsApp"; - //BA.debugLineNum = 1710;BA.debugLine="Log(\"Revisamos intent de importar desde whatsapp\""; -anywheresoftware.b4a.keywords.Common.LogImpl("448496642","Revisamos intent de importar desde whatsapp",0); - //BA.debugLineNum = 1711;BA.debugLine="Log(B4XPages.MainPage.intentUsado)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448496643",BA.ObjectToString(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ ),0); - //BA.debugLineNum = 1712;BA.debugLine="Log(in)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448496644",BA.ObjectToString(_in),0); - //BA.debugLineNum = 1713;BA.debugLine="If Not(in.IsInitialized) Then in = B4XPages.GetNa"; -if (anywheresoftware.b4a.keywords.Common.Not(_in.IsInitialized())) { -_in = mostCurrent._b4xpages._getnativeparent /*anywheresoftware.b4a.objects.ActivityWrapper*/ (_ba,(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba))).GetStartingIntent();}; - //BA.debugLineNum = 1714;BA.debugLine="If Not(B4XPages.MainPage.intentUsado) And in <> N"; -if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ ) && _in!= null) { - //BA.debugLineNum = 1716;BA.debugLine="LogColor(\"Importamos base de datos desde Whatsap"; -anywheresoftware.b4a.keywords.Common.LogImpl("448496648","Importamos base de datos desde Whatsapp.",anywheresoftware.b4a.keywords.Common.Colors.Blue); - //BA.debugLineNum = 1717;BA.debugLine="B4XPages.MainPage.intentUsado = True"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 1719;BA.debugLine="If in.GetData <> Null Then"; -if (_in.GetData()!= null) { - //BA.debugLineNum = 1720;BA.debugLine="Dim XmlData As String"; -_xmldata = ""; - //BA.debugLineNum = 1721;BA.debugLine="XmlData = in.GetData"; -_xmldata = _in.GetData(); - //BA.debugLineNum = 1722;BA.debugLine="Try"; -try { //BA.debugLineNum = 1723;BA.debugLine="Dim OutStr As OutputStream = File.OpenOutput(F"; -_outstr = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_outstr = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 1724;BA.debugLine="Dim InStr As InputStream = File.OpenInput(\"Con"; -_instr = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); -_instr = anywheresoftware.b4a.keywords.Common.File.OpenInput("ContentDir",_xmldata); - //BA.debugLineNum = 1725;BA.debugLine="File.Copy2(InStr,OutStr)"; -anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_instr.getObject()),(java.io.OutputStream)(_outstr.getObject())); - //BA.debugLineNum = 1726;BA.debugLine="LogColor(\"BD copiada a interna.\", Colors.Blue)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448496658","BD copiada a interna.",anywheresoftware.b4a.keywords.Common.Colors.Blue); - //BA.debugLineNum = 1727;BA.debugLine="OutStr.Close"; -_outstr.Close(); - //BA.debugLineNum = 1728;BA.debugLine="If in.As(String).Contains(\"whatsapp\") Then Toa"; -if ((BA.ObjectToString(_in)).contains("whatsapp")) { -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD cargada desde Whatsapp"),anywheresoftware.b4a.keywords.Common.False);}; - } - catch (Exception e19) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19); //BA.debugLineNum = 1730;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448496662",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - //BA.debugLineNum = 1735;BA.debugLine="Private a As Cursor = Starter.skmt.ExecQuery($\""; -_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'APP_NAME'")))); - //BA.debugLineNum = 1736;BA.debugLine="If a.RowCount > 0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 1737;BA.debugLine="a.Position = 0"; -_a.setPosition((int) (0)); - //BA.debugLineNum = 1738;BA.debugLine="ToastMessageShow($\"BD de \"${a.GetString(\"CAT_V"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(("BD de \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_a.GetString("CAT_VA_VALOR")))+"\" cargada.")),anywheresoftware.b4a.keywords.Common.True); - }; - //BA.debugLineNum = 1740;BA.debugLine="a = Starter.skmt.ExecQuery($\"select * from usua"; -_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from usuarioa")))); - //BA.debugLineNum = 1741;BA.debugLine="If a.RowCount > 0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 1742;BA.debugLine="a.Position = 0"; -_a.setPosition((int) (0)); - //BA.debugLineNum = 1743;BA.debugLine="B4XPages.MainPage.user.Text = a.GetString(\"USU"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_a.GetString("USUARIO"))); - //BA.debugLineNum = 1744;BA.debugLine="B4XPages.MainPage.pass.Text = a.GetString(\"PAS"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_a.GetString("PASS"))); - }; - }; - }; - //BA.debugLineNum = 1748;BA.debugLine="End Sub"; -return ""; -} public static String _iniciaactividad(anywheresoftware.b4a.BA _ba,String _ia) throws Exception{ - //BA.debugLineNum = 1516;BA.debugLine="Sub iniciaActividad(ia As String)"; - //BA.debugLineNum = 1517;BA.debugLine="If ia <> \"\" And ia <> Null Then"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "iniciaactividad", false)) + {return ((String) Debug.delegate(null, "iniciaactividad", new Object[] {_ba,_ia}));} +RDebugUtils.currentLine=48037888; + //BA.debugLineNum = 48037888;BA.debugLine="Sub iniciaActividad(ia As String)"; +RDebugUtils.currentLine=48037889; + //BA.debugLineNum = 48037889;BA.debugLine="If ia <> \"\" And ia <> Null Then"; if ((_ia).equals("") == false && _ia!= null) { - //BA.debugLineNum = 1519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro"; +RDebugUtils.currentLine=48037891; + //BA.debugLineNum = 48037891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ULTIMOMODULO")})); - //BA.debugLineNum = 1520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +RDebugUtils.currentLine=48037892; + //BA.debugLineNum = 48037892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ULTIMOMODULO"),(Object)(_ia)})); - //BA.debugLineNum = 1521;BA.debugLine="B4XPages.ShowPage(ia)"; +RDebugUtils.currentLine=48037893; + //BA.debugLineNum = 48037893;BA.debugLine="B4XPages.ShowPage(ia)"; mostCurrent._b4xpages._showpage /*String*/ (_ba,_ia); }; - //BA.debugLineNum = 1524;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48037896; + //BA.debugLineNum = 48037896;BA.debugLine="End Sub"; return ""; } public static String _insertarenglonespruebaenerrorlog(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "insertarenglonespruebaenerrorlog", false)) + {return ((String) Debug.delegate(null, "insertarenglonespruebaenerrorlog", new Object[] {_ba}));} int _x = 0; - //BA.debugLineNum = 458;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; - //BA.debugLineNum = 459;BA.debugLine="revisaBD"; +RDebugUtils.currentLine=44957696; + //BA.debugLineNum = 44957696;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; +RDebugUtils.currentLine=44957697; + //BA.debugLineNum = 44957697;BA.debugLine="revisaBD"; _revisabd(_ba); - //BA.debugLineNum = 460;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("444892162","insertamos 50 renglones a errorLog",0); - //BA.debugLineNum = 461;BA.debugLine="For x = 1 To 50"; +RDebugUtils.currentLine=44957698; + //BA.debugLineNum = 44957698;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("044957698","insertamos 50 renglones a errorLog",0); +RDebugUtils.currentLine=44957699; + //BA.debugLineNum = 44957699;BA.debugLine="For x = 1 To 50"; { final int step3 = 1; final int limit3 = (int) (50); _x = (int) (1) ; for (;_x <= limit3 ;_x = _x + step3 ) { - //BA.debugLineNum = 462;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech"; +RDebugUtils.currentLine=44957700; + //BA.debugLineNum = 44957700;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech"; _errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)("abc")})); - //BA.debugLineNum = 463;BA.debugLine="Log(x)"; -anywheresoftware.b4a.keywords.Common.LogImpl("444892165",BA.NumberToString(_x),0); +RDebugUtils.currentLine=44957701; + //BA.debugLineNum = 44957701;BA.debugLine="Log(x)"; +anywheresoftware.b4a.keywords.Common.LogImpl("044957701",BA.NumberToString(_x),0); } }; - //BA.debugLineNum = 465;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44957703; + //BA.debugLineNum = 44957703;BA.debugLine="End Sub"; return ""; } public static String _installapk(anywheresoftware.b4a.BA _ba,String _dir,String _apk) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "installapk", false)) + {return ((String) Debug.delegate(null, "installapk", new Object[] {_ba,_dir,_apk}));} anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 520;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; - //BA.debugLineNum = 521;BA.debugLine="If File.Exists(dir, apk) Then"; +RDebugUtils.currentLine=45154304; + //BA.debugLineNum = 45154304;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +RDebugUtils.currentLine=45154305; + //BA.debugLineNum = 45154305;BA.debugLine="If File.Exists(dir, apk) Then"; if (anywheresoftware.b4a.keywords.Common.File.Exists(_dir,_apk)) { - //BA.debugLineNum = 522;BA.debugLine="Dim i As Intent"; +RDebugUtils.currentLine=45154306; + //BA.debugLineNum = 45154306;BA.debugLine="Dim i As Intent"; _i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 523;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +RDebugUtils.currentLine=45154307; + //BA.debugLineNum = 45154307;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; _i.Initialize(_i.ACTION_VIEW,"file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_dir,_apk)); - //BA.debugLineNum = 524;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +RDebugUtils.currentLine=45154308; + //BA.debugLineNum = 45154308;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; _i.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 525;BA.debugLine="StartActivity(i)"; +RDebugUtils.currentLine=45154309; + //BA.debugLineNum = 45154309;BA.debugLine="StartActivity(i)"; anywheresoftware.b4a.keywords.Common.StartActivity((_ba.processBA == null ? _ba : _ba.processBA),(Object)(_i.getObject())); }; - //BA.debugLineNum = 527;BA.debugLine="End Sub"; +RDebugUtils.currentLine=45154311; + //BA.debugLineNum = 45154311;BA.debugLine="End Sub"; return ""; } public static boolean _invsuficientepromoesp(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "invsuficientepromoesp", false)) + {return ((Boolean) Debug.delegate(null, "invsuficientepromoesp", new Object[] {_ba}));} boolean _y = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; int _i = 0; - //BA.debugLineNum = 1374;BA.debugLine="Sub InvSuficientePromoEsp As Boolean"; - //BA.debugLineNum = 1375;BA.debugLine="Private y As Boolean = False"; +RDebugUtils.currentLine=47775744; + //BA.debugLineNum = 47775744;BA.debugLine="Sub InvSuficientePromoEsp As Boolean"; +RDebugUtils.currentLine=47775745; + //BA.debugLineNum = 47775745;BA.debugLine="Private y As Boolean = False"; _y = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1376;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=47775746; + //BA.debugLineNum = 47775746;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_DP_IDPROD, CAT_DP_PZAS, ifnull(CAT_GP_ALMACEN, 0) As CAT_GP_ALMACEN from CAT_DETALLES_PAQ left JOIN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" ON CAT_DP_IDPROD = CAT_GP_ID WHERE CAT_DP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)")))); - //BA.debugLineNum = 1377;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=47775747; + //BA.debugLineNum = 47775747;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1378;BA.debugLine="For i = 0 To c.RowCount - 1"; +RDebugUtils.currentLine=47775748; + //BA.debugLineNum = 47775748;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step4 = 1; final int limit4 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 1379;BA.debugLine="c.Position = i"; +RDebugUtils.currentLine=47775749; + //BA.debugLineNum = 47775749;BA.debugLine="c.Position = i"; _c.setPosition(_i); - //BA.debugLineNum = 1380;BA.debugLine="If c.GetString(\"CAT_GP_ALMACEN\") >= c.GetString"; +RDebugUtils.currentLine=47775750; + //BA.debugLineNum = 47775750;BA.debugLine="If c.GetString(\"CAT_GP_ALMACEN\") >= c.GetString"; if ((double)(Double.parseDouble(_c.GetString("CAT_GP_ALMACEN")))>=(double)(Double.parseDouble(_c.GetString("CAT_DP_PZAS")))) { - //BA.debugLineNum = 1381;BA.debugLine="y = True"; +RDebugUtils.currentLine=47775751; + //BA.debugLineNum = 47775751;BA.debugLine="y = True"; _y = anywheresoftware.b4a.keywords.Common.True; }else { - //BA.debugLineNum = 1385;BA.debugLine="y = False"; +RDebugUtils.currentLine=47775755; + //BA.debugLineNum = 47775755;BA.debugLine="y = False"; _y = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1388;BA.debugLine="Exit"; +RDebugUtils.currentLine=47775758; + //BA.debugLineNum = 47775758;BA.debugLine="Exit"; if (true) break; }; } }; }; - //BA.debugLineNum = 1392;BA.debugLine="c.Close"; +RDebugUtils.currentLine=47775762; + //BA.debugLineNum = 47775762;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1393;BA.debugLine="Return y"; +RDebugUtils.currentLine=47775763; + //BA.debugLineNum = 47775763;BA.debugLine="Return y"; if (true) return _y; - //BA.debugLineNum = 1394;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47775764; + //BA.debugLineNum = 47775764;BA.debugLine="End Sub"; return false; } public static anywheresoftware.b4a.objects.collections.Map _json2map(anywheresoftware.b4a.BA _ba,String _thejson) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "json2map", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "json2map", new Object[] {_ba,_thejson}));} anywheresoftware.b4a.objects.collections.JSONParser _json = null; anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 233;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; - //BA.debugLineNum = 235;BA.debugLine="Try"; -try { //BA.debugLineNum = 236;BA.debugLine="Private json As JSONParser"; +RDebugUtils.currentLine=44236800; + //BA.debugLineNum = 44236800;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; +RDebugUtils.currentLine=44236802; + //BA.debugLineNum = 44236802;BA.debugLine="Try"; +try {RDebugUtils.currentLine=44236803; + //BA.debugLineNum = 44236803;BA.debugLine="Private json As JSONParser"; _json = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 237;BA.debugLine="json.Initialize(theJson)"; +RDebugUtils.currentLine=44236804; + //BA.debugLineNum = 44236804;BA.debugLine="json.Initialize(theJson)"; _json.Initialize(_thejson); - //BA.debugLineNum = 238;BA.debugLine="Return json.NextObject"; +RDebugUtils.currentLine=44236805; + //BA.debugLineNum = 44236805;BA.debugLine="Return json.NextObject"; if (true) return _json.NextObject(); } catch (Exception e6) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 240;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("444171271",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - //BA.debugLineNum = 241;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6);RDebugUtils.currentLine=44236807; + //BA.debugLineNum = 44236807;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("044236807",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +RDebugUtils.currentLine=44236808; + //BA.debugLineNum = 44236808;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; _log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); - //BA.debugLineNum = 242;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; +RDebugUtils.currentLine=44236809; + //BA.debugLineNum = 44236809;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; _m = new anywheresoftware.b4a.objects.collections.Map(); _m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("title"),(Object)("Error generating JSON"),(Object)("t"),(Object)("Error"),(Object)("Message"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject()),(Object)("text"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject())}); - //BA.debugLineNum = 243;BA.debugLine="Return m"; +RDebugUtils.currentLine=44236810; + //BA.debugLineNum = 44236810;BA.debugLine="Return m"; if (true) return _m; }; - //BA.debugLineNum = 245;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44236812; + //BA.debugLineNum = 44236812;BA.debugLine="End Sub"; return null; } public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{ - //BA.debugLineNum = 287;BA.debugLine="Sub log2DB(texto As String) 'ignore"; - //BA.debugLineNum = 288;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; -anywheresoftware.b4a.keywords.Common.LogImpl("444367873",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray); - //BA.debugLineNum = 289;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "log2db", false)) + {return ((String) Debug.delegate(null, "log2db", new Object[] {_ba,_texto}));} +RDebugUtils.currentLine=44433408; + //BA.debugLineNum = 44433408;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +RDebugUtils.currentLine=44433409; + //BA.debugLineNum = 44433409;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +anywheresoftware.b4a.keywords.Common.LogImpl("044433409",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray); +RDebugUtils.currentLine=44433410; + //BA.debugLineNum = 44433410;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; _kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_texto)})); - //BA.debugLineNum = 290;BA.debugLine="End Sub"; -return ""; -} -public static String _logjobdoneresultados(anywheresoftware.b4a.BA _ba,gunav2.keymon.com.mx.dbrequestmanager._dbresult _resultado) throws Exception{ -Object[] _records = null; -String _k = ""; - //BA.debugLineNum = 2488;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult)"; - //BA.debugLineNum = 2489;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group1 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_records = (Object[])(group1.Get(index1)); - //BA.debugLineNum = 2490;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; -anywheresoftware.b4a.keywords.Common.LogImpl("450135042",("====== "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0))); - //BA.debugLineNum = 2491;BA.debugLine="For Each k As String In resultado.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen3 = group3.getSize() -;int index3 = 0; -; -for (; index3 < groupLen3;index3++){ -_k = BA.ObjectToString(group3.Get(index3)); - //BA.debugLineNum = 2492;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; -anywheresoftware.b4a.keywords.Common.LogImpl("450135044",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0))); - } -}; - } -}; - //BA.debugLineNum = 2495;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44433411; + //BA.debugLineNum = 44433411;BA.debugLine="End Sub"; return ""; } public static String _map2json(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "map2json", false)) + {return ((String) Debug.delegate(null, "map2json", new Object[] {_ba,_m}));} anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _jg = null; String _t = ""; - //BA.debugLineNum = 248;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; - //BA.debugLineNum = 251;BA.debugLine="Dim jg As JSONGenerator"; +RDebugUtils.currentLine=44302336; + //BA.debugLineNum = 44302336;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; +RDebugUtils.currentLine=44302339; + //BA.debugLineNum = 44302339;BA.debugLine="Dim jg As JSONGenerator"; _jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 252;BA.debugLine="jg.Initialize(m)"; +RDebugUtils.currentLine=44302340; + //BA.debugLineNum = 44302340;BA.debugLine="jg.Initialize(m)"; _jg.Initialize(_m); - //BA.debugLineNum = 253;BA.debugLine="Dim t As String = jg.ToString"; +RDebugUtils.currentLine=44302341; + //BA.debugLineNum = 44302341;BA.debugLine="Dim t As String = jg.ToString"; _t = _jg.ToString(); - //BA.debugLineNum = 254;BA.debugLine="Return t"; +RDebugUtils.currentLine=44302342; + //BA.debugLineNum = 44302342;BA.debugLine="Return t"; if (true) return _t; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44302343; + //BA.debugLineNum = 44302343;BA.debugLine="End Sub"; return ""; } public static boolean _masdexxmins(anywheresoftware.b4a.BA _ba,int _hora,int _mins) throws Exception{ - //BA.debugLineNum = 293;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; - //BA.debugLineNum = 294;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "masdexxmins", false)) + {return ((Boolean) Debug.delegate(null, "masdexxmins", new Object[] {_ba,_hora,_mins}));} +RDebugUtils.currentLine=44498944; + //BA.debugLineNum = 44498944;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +RDebugUtils.currentLine=44498945; + //BA.debugLineNum = 44498945;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; if ((_hora+_mins*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute)\")"; -_inicio = _error.indexOf(""); - //BA.debugLineNum = 1698;BA.debugLine="Private final As Int = error.IndexOf(\"\")"; -_final = _error.indexOf(""); - //BA.debugLineNum = 1699;BA.debugLine="Log(\"|\" & inicio & \"|\" & final & \"|\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("448431108","|"+BA.NumberToString(_inicio)+"|"+BA.NumberToString(_final)+"|",0); - //BA.debugLineNum = 1700;BA.debugLine="If inicio > 0 And final > 0 Then"; -if (_inicio>0 && _final>0) { - //BA.debugLineNum = 1701;BA.debugLine="nuevoError = error.SubString2(inicio + 17, final"; -_nuevoerror = _error.substring((int) (_inicio+17),_final); - }; - //BA.debugLineNum = 1704;BA.debugLine="Return nuevoError"; -if (true) return _nuevoerror; - //BA.debugLineNum = 1705;BA.debugLine="End Sub"; -return ""; -} public static boolean _pedidoguardado(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "pedidoguardado", false)) + {return ((Boolean) Debug.delegate(null, "pedidoguardado", new Object[] {_ba}));} boolean _guardado = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null; - //BA.debugLineNum = 708;BA.debugLine="Sub pedidoGuardado As Boolean"; - //BA.debugLineNum = 709;BA.debugLine="Private guardado As Boolean = False"; +RDebugUtils.currentLine=46137344; + //BA.debugLineNum = 46137344;BA.debugLine="Sub pedidoGuardado As Boolean"; +RDebugUtils.currentLine=46137345; + //BA.debugLineNum = 46137345;BA.debugLine="Private guardado As Boolean = False"; _guardado = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 710;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=46137346; + //BA.debugLineNum = 46137346;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec"; _g = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _g = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select gestion from kmt_info3 where CAT_CL_CODIGO in (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 711;BA.debugLine="If g.RowCount > 0 Then"; +RDebugUtils.currentLine=46137347; + //BA.debugLineNum = 46137347;BA.debugLine="If g.RowCount > 0 Then"; if (_g.getRowCount()>0) { - //BA.debugLineNum = 712;BA.debugLine="g.Position=0"; +RDebugUtils.currentLine=46137348; + //BA.debugLineNum = 46137348;BA.debugLine="g.Position=0"; _g.setPosition((int) (0)); - //BA.debugLineNum = 713;BA.debugLine="If g.GetString(\"gestion\") = \"2\" Or g.GetString(\""; +RDebugUtils.currentLine=46137349; + //BA.debugLineNum = 46137349;BA.debugLine="If g.GetString(\"gestion\") = \"2\" Or g.GetString(\""; if ((_g.GetString("gestion")).equals("2") || (_g.GetString("gestion")).equals("3")) { _guardado = anywheresoftware.b4a.keywords.Common.True;}; }; - //BA.debugLineNum = 716;BA.debugLine="Return guardado"; +RDebugUtils.currentLine=46137352; + //BA.debugLineNum = 46137352;BA.debugLine="Return guardado"; if (true) return _guardado; - //BA.debugLineNum = 717;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46137353; + //BA.debugLineNum = 46137353;BA.debugLine="End Sub"; return false; } public static anywheresoftware.b4a.objects.collections.Map _procesapromocion(anywheresoftware.b4a.BA _ba,String _idpromo,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "procesapromocion", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "procesapromocion", new Object[] {_ba,_idpromo,_cliente}));} boolean _thislog = false; String _iniciocontador = ""; anywheresoftware.b4a.objects.collections.Map _pm = null; anywheresoftware.b4a.objects.collections.Map _inventariosinfijos = null; boolean _pv = false; - //BA.debugLineNum = 1074;BA.debugLine="Sub procesaPromocion(idPromo As String, cliente As"; - //BA.debugLineNum = 1075;BA.debugLine="Private thisLog As Boolean = True 'Si es verdade"; +RDebugUtils.currentLine=47120384; + //BA.debugLineNum = 47120384;BA.debugLine="Sub procesaPromocion(idPromo As String, cliente As"; +RDebugUtils.currentLine=47120385; + //BA.debugLineNum = 47120385;BA.debugLine="Private thisLog As Boolean = True 'Si es verdade"; _thislog = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 1076;BA.debugLine="Private inicioContador As String = DateTime.Now"; +RDebugUtils.currentLine=47120386; + //BA.debugLineNum = 47120386;BA.debugLine="Private inicioContador As String = DateTime.Now"; _iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 1077;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re"; +RDebugUtils.currentLine=47120387; + //BA.debugLineNum = 47120387;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447054851",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; - //BA.debugLineNum = 1079;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)"; +anywheresoftware.b4a.keywords.Common.LogImpl("047120387",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; +RDebugUtils.currentLine=47120389; + //BA.debugLineNum = 47120389;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)"; _pm = new anywheresoftware.b4a.objects.collections.Map(); _pm = _traepromo(_ba,_idpromo,_cliente); - //BA.debugLineNum = 1080;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)"; +RDebugUtils.currentLine=47120390; + //BA.debugLineNum = 47120390;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447054854",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1081;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo"; +anywheresoftware.b4a.keywords.Common.LogImpl("047120390",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=47120391; + //BA.debugLineNum = 47120391;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo"; if ((_pm.Get((Object)("resultado"))).equals((Object)("ok"))) { - //BA.debugLineNum = 1083;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida"; +RDebugUtils.currentLine=47120393; + //BA.debugLineNum = 47120393;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447054857",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1084;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr"; +anywheresoftware.b4a.keywords.Common.LogImpl("047120393",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=47120394; + //BA.debugLineNum = 47120394;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447054858","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);}; - //BA.debugLineNum = 1085;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM"; +anywheresoftware.b4a.keywords.Common.LogImpl("047120394","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);}; +RDebugUtils.currentLine=47120395; + //BA.debugLineNum = 47120395;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM"; if (_traepromosvendidas(_ba,_idpromo,_cliente)>=_traemaxpromos(_ba,_pm)) { - //BA.debugLineNum = 1086;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p"; +RDebugUtils.currentLine=47120396; + //BA.debugLineNum = 47120396;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447054860","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 1087;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; +anywheresoftware.b4a.keywords.Common.LogImpl("047120396","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=47120397; + //BA.debugLineNum = 47120397;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())}); }; - //BA.debugLineNum = 1090;BA.debugLine="Private inventarioSinFijos As Map = restaFijosPr"; +RDebugUtils.currentLine=47120400; + //BA.debugLineNum = 47120400;BA.debugLine="Private inventarioSinFijos As Map = restaFijosPr"; _inventariosinfijos = new anywheresoftware.b4a.objects.collections.Map(); _inventariosinfijos = _restafijospromo(_ba,_pm); - //BA.debugLineNum = 1091;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv"; +RDebugUtils.currentLine=47120401; + //BA.debugLineNum = 47120401;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447054865","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);}; - //BA.debugLineNum = 1093;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th"; +anywheresoftware.b4a.keywords.Common.LogImpl("047120401","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);}; +RDebugUtils.currentLine=47120403; + //BA.debugLineNum = 47120403;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th"; if ((_inventariosinfijos.Get((Object)("resultado"))).equals((Object)("ok"))) { - //BA.debugLineNum = 1095;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa"; +RDebugUtils.currentLine=47120405; + //BA.debugLineNum = 47120405;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa"; _pv = _alcanzanlosvariablesparapromo(_ba,_pm,_inventariosinfijos); - //BA.debugLineNum = 1096;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --"; +RDebugUtils.currentLine=47120406; + //BA.debugLineNum = 47120406;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447054870","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);}; - //BA.debugLineNum = 1097;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\""; +anywheresoftware.b4a.keywords.Common.LogImpl("047120406","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);}; +RDebugUtils.currentLine=47120407; + //BA.debugLineNum = 47120407;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\""; if (_pv) { if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ok"),(Object)("mp"),(Object)(_pm.getObject())});} else { if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())});}; }else { - //BA.debugLineNum = 1099;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF"; +RDebugUtils.currentLine=47120409; + //BA.debugLineNum = 47120409;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447054873","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 1100;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; +anywheresoftware.b4a.keywords.Common.LogImpl("047120409","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=47120410; + //BA.debugLineNum = 47120410;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())}); }; }; - //BA.debugLineNum = 1106;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat"; -anywheresoftware.b4a.keywords.Common.LogImpl("447054880","TIEMPO DE PROCESO ESTA PROMO: "+BA.NumberToString(((anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 1107;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47120416; + //BA.debugLineNum = 47120416;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat"; +anywheresoftware.b4a.keywords.Common.LogImpl("047120416","TIEMPO DE PROCESO ESTA PROMO: "+BA.NumberToString(((anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=47120417; + //BA.debugLineNum = 47120417;BA.debugLine="End Sub"; return null; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 3;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Public GZip As GZipStrings 'Usa la libreria Com"; -_gzip = new de.donmanfred.GZipStringswrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private su As StringUtils 'Usa la libreria Stri"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 8;BA.debugLine="Dim phn As Phone"; -_phn = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 9;BA.debugLine="Dim devModel As String"; -_devmodel = ""; - //BA.debugLineNum = 10;BA.debugLine="Dim kmt, errorLog As SQL 'Requiere la libreria \"S"; -_kmt = new anywheresoftware.b4a.sql.SQL(); -_errorlog = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="Dim ssid As String 'ignore"; -_ssid = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim rutaMaxPoints As Int = 3000"; -_rutamaxpoints = (int) (3000); - //BA.debugLineNum = 14;BA.debugLine="Dim rutaHrsAtras As Int = 48"; -_rutahrsatras = (int) (48); - //BA.debugLineNum = 16;BA.debugLine="Private subsLogs As Boolean = False"; -_subslogs = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 17;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 18;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim intentUsado As Boolean = False"; -_intentusado = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 20;BA.debugLine="End Sub"; -return ""; +public static anywheresoftware.b4a.objects.collections.Map _traepromo(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traepromo", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traepromo", new Object[] {_ba,_promo,_cliente}));} +String _iniciocontador = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _sihistorico = ""; +anywheresoftware.b4a.objects.collections.Map _promomap = null; +anywheresoftware.b4a.objects.collections.List _prodsfijos = null; +anywheresoftware.b4a.objects.collections.List _prodsfijosprecios = null; +anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; +anywheresoftware.b4a.objects.collections.List _prodsvariables = null; +anywheresoftware.b4a.objects.collections.List _prodsvariables2 = null; +anywheresoftware.b4a.objects.collections.List _prodsvariablesprecios = null; +anywheresoftware.b4a.objects.collections.List _prodsvariablesprecios2 = null; +anywheresoftware.b4a.objects.collections.Map _prods = null; +anywheresoftware.b4a.objects.collections.Map _tipos = null; +int _i = 0; +String _pvr = ""; +String _pvr2 = ""; +RDebugUtils.currentLine=49545216; + //BA.debugLineNum = 49545216;BA.debugLine="Sub traePromo(promo As String, cliente As String)"; +RDebugUtils.currentLine=49545217; + //BA.debugLineNum = 49545217;BA.debugLine="Private inicioContador As String = DateTime.Now"; +_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=49545218; + //BA.debugLineNum = 49545218;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from promos_comp where cat_pa_id = '"+_promo+"'"))); +RDebugUtils.currentLine=49545219; + //BA.debugLineNum = 49545219;BA.debugLine="Private siHistorico As String = 0"; +_sihistorico = BA.NumberToString(0); +RDebugUtils.currentLine=49545220; + //BA.debugLineNum = 49545220;BA.debugLine="Private promoMap As Map"; +_promomap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=49545221; + //BA.debugLineNum = 49545221;BA.debugLine="Private prodsFijos, prodsFijosPrecios, prodsFijos"; +_prodsfijos = new anywheresoftware.b4a.objects.collections.List(); +_prodsfijosprecios = new anywheresoftware.b4a.objects.collections.List(); +_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariables = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariablesprecios = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariablesprecios2 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=49545222; + //BA.debugLineNum = 49545222;BA.debugLine="promoMap.Initialize"; +_promomap.Initialize(); +RDebugUtils.currentLine=49545223; + //BA.debugLineNum = 49545223;BA.debugLine="prodsFijos.Initialize"; +_prodsfijos.Initialize(); +RDebugUtils.currentLine=49545224; + //BA.debugLineNum = 49545224;BA.debugLine="prodsFijosPrecios.Initialize"; +_prodsfijosprecios.Initialize(); +RDebugUtils.currentLine=49545225; + //BA.debugLineNum = 49545225;BA.debugLine="prodsFijosPiezas.Initialize"; +_prodsfijospiezas.Initialize(); +RDebugUtils.currentLine=49545226; + //BA.debugLineNum = 49545226;BA.debugLine="prodsVariables.Initialize"; +_prodsvariables.Initialize(); +RDebugUtils.currentLine=49545227; + //BA.debugLineNum = 49545227;BA.debugLine="prodsVariables2.Initialize"; +_prodsvariables2.Initialize(); +RDebugUtils.currentLine=49545228; + //BA.debugLineNum = 49545228;BA.debugLine="prodsVariablesPrecios.Initialize"; +_prodsvariablesprecios.Initialize(); +RDebugUtils.currentLine=49545229; + //BA.debugLineNum = 49545229;BA.debugLine="prodsVariablesPrecios2.Initialize"; +_prodsvariablesprecios2.Initialize(); +RDebugUtils.currentLine=49545230; + //BA.debugLineNum = 49545230;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=49545231; + //BA.debugLineNum = 49545231;BA.debugLine="If c.RowCount > 0 Then promoMap = CreateMap(\"id\":"; +if (_c.getRowCount()>0) { +_promomap = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_promo),(Object)("maxXcliente"),(Object)(_c.GetString("CAT_PA_MAXPROMCLIE")),(Object)("maxRecurrente"),(Object)(_c.GetString("CAT_PA_MAXPROMREC")),(Object)("maxPromos"),(Object)(_c.GetString("CAT_PA_MAXPROM"))});}; +RDebugUtils.currentLine=49545232; + //BA.debugLineNum = 49545232;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as hist from HIST_PROMOS where HP_CLIENTE = '"+_cliente+"' and HP_CODIGO_PROMOCION = '"+_promo+"'"))); +RDebugUtils.currentLine=49545233; + //BA.debugLineNum = 49545233;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=49545234; + //BA.debugLineNum = 49545234;BA.debugLine="If c.GetString(\"hist\") > 0 Then siHistorico = 1"; +if ((double)(Double.parseDouble(_c.GetString("hist")))>0) { +_sihistorico = BA.NumberToString(1);}; +RDebugUtils.currentLine=49545235; + //BA.debugLineNum = 49545235;BA.debugLine="promoMap.Put(\"historico\", siHistorico)"; +_promomap.Put((Object)("historico"),(Object)(_sihistorico)); +RDebugUtils.currentLine=49545236; + //BA.debugLineNum = 49545236;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select * fr"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CAT_DETALLES_PAQ where CAT_DP_ID = '"+_promo+"'"))); +RDebugUtils.currentLine=49545237; + //BA.debugLineNum = 49545237;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=49545238; + //BA.debugLineNum = 49545238;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=49545239; + //BA.debugLineNum = 49545239;BA.debugLine="Private prods, tipos As Map"; +_prods = new anywheresoftware.b4a.objects.collections.Map(); +_tipos = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=49545240; + //BA.debugLineNum = 49545240;BA.debugLine="prods.Initialize"; +_prods.Initialize(); +RDebugUtils.currentLine=49545241; + //BA.debugLineNum = 49545241;BA.debugLine="tipos.Initialize"; +_tipos.Initialize(); +RDebugUtils.currentLine=49545242; + //BA.debugLineNum = 49545242;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step26 = 1; +final int limit26 = (int) (_c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit26 ;_i = _i + step26 ) { +RDebugUtils.currentLine=49545243; + //BA.debugLineNum = 49545243;BA.debugLine="c.Position=i"; +_c.setPosition(_i); +RDebugUtils.currentLine=49545244; + //BA.debugLineNum = 49545244;BA.debugLine="prods.Put(c.GetString(\"CAT_DP_IDPROD\"), CreateM"; +_prods.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("idProducto"),(Object)(_c.GetString("CAT_DP_IDPROD")),(Object)("precioSimptos"),(Object)(_c.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)("precio"),(Object)(_c.GetString("CAT_DP_PRECIO")),(Object)("almacen"),(Object)(_c.GetString("CAT_DP_ALMACEN")),(Object)("tipo"),(Object)(_c.GetString("CAT_DP_TIPO")),(Object)("piezas"),(Object)(_c.GetString("CAT_DP_PZAS")),(Object)("usuario"),(Object)(_c.GetString("CAT_DP_USUARIO")),(Object)("regalo"),(Object)(_c.GetString("CAT_DP_REGALO")),(Object)("clasif"),(Object)(_c.GetString("CAT_DP_CLASIF"))}).getObject())); +RDebugUtils.currentLine=49545245; + //BA.debugLineNum = 49545245;BA.debugLine="tipos.Put(c.GetString(\"CAT_DP_IDPROD\"), c.GetSt"; +_tipos.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(_c.GetString("CAT_DP_TIPO"))); +RDebugUtils.currentLine=49545246; + //BA.debugLineNum = 49545246;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"0\" Then"; +if ((_c.GetString("CAT_DP_TIPO")).equals("0")) { +RDebugUtils.currentLine=49545247; + //BA.debugLineNum = 49545247;BA.debugLine="prodsFijos.Add(c.GetString(\"CAT_DP_IDPROD\"))"; +_prodsfijos.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); +RDebugUtils.currentLine=49545248; + //BA.debugLineNum = 49545248;BA.debugLine="prodsFijosPrecios.Add(c.GetString(\"CAT_DP_PREC"; +_prodsfijosprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); +RDebugUtils.currentLine=49545249; + //BA.debugLineNum = 49545249;BA.debugLine="prodsFijosPiezas.Add(c.GetString(\"CAT_DP_PZAS\""; +_prodsfijospiezas.Add((Object)(_c.GetString("CAT_DP_PZAS"))); + }; +RDebugUtils.currentLine=49545251; + //BA.debugLineNum = 49545251;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"1\" Then"; +if ((_c.GetString("CAT_DP_TIPO")).equals("1")) { +RDebugUtils.currentLine=49545252; + //BA.debugLineNum = 49545252;BA.debugLine="prodsVariables.Add(c.GetString(\"CAT_DP_IDPROD\""; +_prodsvariables.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); +RDebugUtils.currentLine=49545253; + //BA.debugLineNum = 49545253;BA.debugLine="prodsVariablesPrecios.Add(c.GetString(\"CAT_DP_"; +_prodsvariablesprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); + }; +RDebugUtils.currentLine=49545255; + //BA.debugLineNum = 49545255;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"2\" Then"; +if ((_c.GetString("CAT_DP_TIPO")).equals("2")) { +RDebugUtils.currentLine=49545257; + //BA.debugLineNum = 49545257;BA.debugLine="prodsVariables2.Add(c.GetString(\"CAT_DP_IDPROD"; +_prodsvariables2.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); +RDebugUtils.currentLine=49545258; + //BA.debugLineNum = 49545258;BA.debugLine="prodsVariablesPrecios2.Add(c.GetString(\"CAT_DP"; +_prodsvariablesprecios2.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); + }; + } +}; +RDebugUtils.currentLine=49545263; + //BA.debugLineNum = 49545263;BA.debugLine="promoMap.Put(\"productos\", prods) 'Mapa con los p"; +_promomap.Put((Object)("productos"),(Object)(_prods.getObject())); +RDebugUtils.currentLine=49545264; + //BA.debugLineNum = 49545264;BA.debugLine="promoMap.Put(\"tipos\", tipos) 'Mapa con los produ"; +_promomap.Put((Object)("tipos"),(Object)(_tipos.getObject())); +RDebugUtils.currentLine=49545265; + //BA.debugLineNum = 49545265;BA.debugLine="promoMap.Put(\"prodsFijos\", prodsFijos) 'Lista de"; +_promomap.Put((Object)("prodsFijos"),(Object)(_prodsfijos.getObject())); +RDebugUtils.currentLine=49545266; + //BA.debugLineNum = 49545266;BA.debugLine="promoMap.Put(\"prodsVariables\", prodsVariables) '"; +_promomap.Put((Object)("prodsVariables"),(Object)(_prodsvariables.getObject())); +RDebugUtils.currentLine=49545267; + //BA.debugLineNum = 49545267;BA.debugLine="promoMap.Put(\"prodsVariables2\", prodsVariables2)"; +_promomap.Put((Object)("prodsVariables2"),(Object)(_prodsvariables2.getObject())); +RDebugUtils.currentLine=49545268; + //BA.debugLineNum = 49545268;BA.debugLine="promoMap.Put(\"prodsFijosCant\", prodsFijos.Size)"; +_promomap.Put((Object)("prodsFijosCant"),(Object)(_prodsfijos.getSize())); +RDebugUtils.currentLine=49545269; + //BA.debugLineNum = 49545269;BA.debugLine="promoMap.Put(\"prodsFijosPrecios\", prodsFijosPrec"; +_promomap.Put((Object)("prodsFijosPrecios"),(Object)(_prodsfijosprecios.getObject())); +RDebugUtils.currentLine=49545270; + //BA.debugLineNum = 49545270;BA.debugLine="promoMap.Put(\"prodsFijosPiezas\", prodsFijosPieza"; +_promomap.Put((Object)("prodsFijosPiezas"),(Object)(_prodsfijospiezas.getObject())); +RDebugUtils.currentLine=49545271; + //BA.debugLineNum = 49545271;BA.debugLine="promoMap.Put(\"prodsVariablesCant\", prodsVariable"; +_promomap.Put((Object)("prodsVariablesCant"),(Object)(_prodsvariables.getSize())); +RDebugUtils.currentLine=49545272; + //BA.debugLineNum = 49545272;BA.debugLine="promoMap.Put(\"prodsVariables2Cant\", prodsVariabl"; +_promomap.Put((Object)("prodsVariables2Cant"),(Object)(_prodsvariables2.getSize())); +RDebugUtils.currentLine=49545273; + //BA.debugLineNum = 49545273;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios\", prodsVaria"; +_promomap.Put((Object)("prodsVariablesPrecios"),(Object)(_prodsvariablesprecios.getObject())); +RDebugUtils.currentLine=49545274; + //BA.debugLineNum = 49545274;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios2\", prodsVari"; +_promomap.Put((Object)("prodsVariablesPrecios2"),(Object)(_prodsvariablesprecios2.getObject())); +RDebugUtils.currentLine=49545275; + //BA.debugLineNum = 49545275;BA.debugLine="promoMap.Put(\"resultado\", \"ok\")"; +_promomap.Put((Object)("resultado"),(Object)("ok")); + }else { +RDebugUtils.currentLine=49545277; + //BA.debugLineNum = 49545277;BA.debugLine="promoMap.Put(\"resultado\", \"No hay datos de la pr"; +_promomap.Put((Object)("resultado"),(Object)("No hay datos de la promoción.")); + }; +RDebugUtils.currentLine=49545279; + //BA.debugLineNum = 49545279;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"Select CA"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select CAT_GP_STS, CAT_GP_IMP1, CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = ?"),new String[]{_promo}))); +RDebugUtils.currentLine=49545280; + //BA.debugLineNum = 49545280;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=49545281; + //BA.debugLineNum = 49545281;BA.debugLine="Private pvr As String = 0"; +_pvr = BA.NumberToString(0); +RDebugUtils.currentLine=49545282; + //BA.debugLineNum = 49545282;BA.debugLine="Private pvr2 As String = 0"; +_pvr2 = BA.NumberToString(0); +RDebugUtils.currentLine=49545283; + //BA.debugLineNum = 49545283;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=49545284; + //BA.debugLineNum = 49545284;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=49545285; + //BA.debugLineNum = 49545285;BA.debugLine="pvr = c.GetString(\"CAT_GP_STS\")"; +_pvr = _c.GetString("CAT_GP_STS"); +RDebugUtils.currentLine=49545286; + //BA.debugLineNum = 49545286;BA.debugLine="pvr2 = c.GetString(\"CAT_GP_IMP1\")"; +_pvr2 = _c.GetString("CAT_GP_IMP1"); +RDebugUtils.currentLine=49545287; + //BA.debugLineNum = 49545287;BA.debugLine="If pvr = Null Or pvr = \"null\" Then pvr = 0"; +if (_pvr== null || (_pvr).equals("null")) { +_pvr = BA.NumberToString(0);}; +RDebugUtils.currentLine=49545288; + //BA.debugLineNum = 49545288;BA.debugLine="If pvr2 = Null Or pvr2 = \"null\" Then pvr2 = 0"; +if (_pvr2== null || (_pvr2).equals("null")) { +_pvr2 = BA.NumberToString(0);}; +RDebugUtils.currentLine=49545289; + //BA.debugLineNum = 49545289;BA.debugLine="promoMap.Put(\"prodsVariablesRequeridos\", pvr) 'C"; +_promomap.Put((Object)("prodsVariablesRequeridos"),(Object)(_pvr)); +RDebugUtils.currentLine=49545290; + //BA.debugLineNum = 49545290;BA.debugLine="promoMap.Put(\"prodsVariables2Requeridos\", pvr2)"; +_promomap.Put((Object)("prodsVariables2Requeridos"),(Object)(_pvr2)); +RDebugUtils.currentLine=49545291; + //BA.debugLineNum = 49545291;BA.debugLine="promoMap.put(\"descripcion\", c.GetString(\"CAT_GP_"; +_promomap.Put((Object)("descripcion"),(Object)(_c.GetString("CAT_GP_NOMBRE"))); + }; +RDebugUtils.currentLine=49545293; + //BA.debugLineNum = 49545293;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=49545298; + //BA.debugLineNum = 49545298;BA.debugLine="Return promoMap"; +if (true) return _promomap; +RDebugUtils.currentLine=49545299; + //BA.debugLineNum = 49545299;BA.debugLine="End Sub"; +return null; +} +public static int _traemaxpromos(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemaxpromos", false)) + {return ((Integer) Debug.delegate(null, "traemaxpromos", new Object[] {_ba,_pm}));} +boolean _thislog = false; +anywheresoftware.b4a.objects.collections.List _maxpromos = null; +int _vendidas = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=46989312; + //BA.debugLineNum = 46989312;BA.debugLine="Sub traeMaxPromos(pm As Map) As Int"; +RDebugUtils.currentLine=46989313; + //BA.debugLineNum = 46989313;BA.debugLine="Private thisLog As Boolean = True 'Si es verdader"; +_thislog = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=46989314; + //BA.debugLineNum = 46989314;BA.debugLine="Private maxPromos As List"; +_maxpromos = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=46989315; + //BA.debugLineNum = 46989315;BA.debugLine="Private vendidas As Int = 0"; +_vendidas = (int) (0); +RDebugUtils.currentLine=46989316; + //BA.debugLineNum = 46989316;BA.debugLine="maxPromos.Initialize"; +_maxpromos.Initialize(); +RDebugUtils.currentLine=46989318; + //BA.debugLineNum = 46989318;BA.debugLine="If thisLog Then Log(pm)"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("046989318",BA.ObjectToString(_pm),0);}; +RDebugUtils.currentLine=46989319; + //BA.debugLineNum = 46989319;BA.debugLine="If pm.Get(\"historico\") = \"1\" Then maxPromos.Add(p"; +if ((_pm.Get((Object)("historico"))).equals((Object)("1"))) { +_maxpromos.Add(_pm.Get((Object)("maxRecurrente")));}; +RDebugUtils.currentLine=46989320; + //BA.debugLineNum = 46989320;BA.debugLine="maxPromos.Add(pm.Get(\"maxPromos\")) 'Agregamos max"; +_maxpromos.Add(_pm.Get((Object)("maxPromos"))); +RDebugUtils.currentLine=46989321; + //BA.debugLineNum = 46989321;BA.debugLine="maxPromos.Add(pm.Get(\"maxXcliente\")) 'Agregamos m"; +_maxpromos.Add(_pm.Get((Object)("maxXcliente"))); +RDebugUtils.currentLine=46989322; + //BA.debugLineNum = 46989322;BA.debugLine="If thisLog Then Log(maxPromos)"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("046989322",BA.ObjectToString(_maxpromos),0);}; +RDebugUtils.currentLine=46989323; + //BA.debugLineNum = 46989323;BA.debugLine="maxPromos.Sort(True)"; +_maxpromos.Sort(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=46989325; + //BA.debugLineNum = 46989325;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; +if ((mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { +RDebugUtils.currentLine=46989326; + //BA.debugLineNum = 46989326;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? AND PE_FUTURO = '1' ",new String[]{(BA.ObjectToString(_pm.Get((Object)("id")))).trim(),_traecliente(_ba).trim()}))); + }else { +RDebugUtils.currentLine=46989328; + //BA.debugLineNum = 46989328;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? AND PE_FUTURO = '0' ",new String[]{(BA.ObjectToString(_pm.Get((Object)("id")))).trim(),_traecliente(_ba).trim()}))); + }; +RDebugUtils.currentLine=46989330; + //BA.debugLineNum = 46989330;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=46989331; + //BA.debugLineNum = 46989331;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=46989332; + //BA.debugLineNum = 46989332;BA.debugLine="vendidas = c.GetInt(\"vendidas\")"; +_vendidas = _c.GetInt("vendidas"); + }; +RDebugUtils.currentLine=46989338; + //BA.debugLineNum = 46989338;BA.debugLine="Return maxPromos.Get(0) - vendidas 'Regresamos el"; +if (true) return (int) ((double)(BA.ObjectToNumber(_maxpromos.Get((int) (0))))-_vendidas); +RDebugUtils.currentLine=46989339; + //BA.debugLineNum = 46989339;BA.debugLine="End Sub"; +return 0; +} +public static int _traepromosvendidas(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traepromosvendidas", false)) + {return ((Integer) Debug.delegate(null, "traepromosvendidas", new Object[] {_ba,_promo,_cliente}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +int _pv = 0; +RDebugUtils.currentLine=47054848; + //BA.debugLineNum = 47054848;BA.debugLine="Sub traePromosVendidas(promo As String, cliente As"; +RDebugUtils.currentLine=47054849; + //BA.debugLineNum = 47054849;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=47054850; + //BA.debugLineNum = 47054850;BA.debugLine="Private pv As Int = 0"; +_pv = (int) (0); +RDebugUtils.currentLine=47054851; + //BA.debugLineNum = 47054851;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; +if ((mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { +RDebugUtils.currentLine=47054852; + //BA.debugLineNum = 47054852;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CANT from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_promo))+"' and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' AND PE_FUTURO = '1' ")))); + }else { +RDebugUtils.currentLine=47054854; + //BA.debugLineNum = 47054854;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CANT from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_promo))+"' and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' AND PE_FUTURO = '0' ")))); + }; +RDebugUtils.currentLine=47054856; + //BA.debugLineNum = 47054856;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=47054857; + //BA.debugLineNum = 47054857;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=47054858; + //BA.debugLineNum = 47054858;BA.debugLine="pv = c.GetInt(\"PE_CANT\")"; +_pv = _c.GetInt("PE_CANT"); + }; +RDebugUtils.currentLine=47054860; + //BA.debugLineNum = 47054860;BA.debugLine="Return pv"; +if (true) return _pv; +RDebugUtils.currentLine=47054861; + //BA.debugLineNum = 47054861;BA.debugLine="End Sub"; +return 0; } public static anywheresoftware.b4a.objects.collections.Map _restafijospromo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _promomap) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "restafijospromo", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "restafijospromo", new Object[] {_ba,_promomap}));} boolean _thislog = false; anywheresoftware.b4a.objects.collections.Map _inventariosdisponiblesparaestapromo = null; int _i = 0; @@ -1918,243 +3804,283 @@ anywheresoftware.b4a.objects.collections.List _prodsfijos = null; int _p = 0; String _t = ""; anywheresoftware.b4a.objects.collections.Map _p2 = null; - //BA.debugLineNum = 973;BA.debugLine="Sub restaFijosPromo(promoMap As Map) As Map 'ignor"; - //BA.debugLineNum = 974;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; +RDebugUtils.currentLine=46923776; + //BA.debugLineNum = 46923776;BA.debugLine="Sub restaFijosPromo(promoMap As Map) As Map 'ignor"; +RDebugUtils.currentLine=46923777; + //BA.debugLineNum = 46923777;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; _thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 975;BA.debugLine="Private inventariosDisponiblesParaEstaPromo As Ma"; +RDebugUtils.currentLine=46923778; + //BA.debugLineNum = 46923778;BA.debugLine="Private inventariosDisponiblesParaEstaPromo As Ma"; _inventariosdisponiblesparaestapromo = new anywheresoftware.b4a.objects.collections.Map(); _inventariosdisponiblesparaestapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_promomap.Get((Object)("id")))); - //BA.debugLineNum = 976;BA.debugLine="If thisLog Then LogColor(inventariosDisponiblesPa"; +RDebugUtils.currentLine=46923779; + //BA.debugLineNum = 46923779;BA.debugLine="If thisLog Then LogColor(inventariosDisponiblesPa"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("446858243",BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 977;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante"; +anywheresoftware.b4a.keywords.Common.LogImpl("046923779",BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=46923780; + //BA.debugLineNum = 46923780;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("446858244","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);}; - //BA.debugLineNum = 978;BA.debugLine="Private i As Int"; +anywheresoftware.b4a.keywords.Common.LogImpl("046923780","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);}; +RDebugUtils.currentLine=46923781; + //BA.debugLineNum = 46923781;BA.debugLine="Private i As Int"; _i = 0; - //BA.debugLineNum = 979;BA.debugLine="Private prodsmap As Map = promoMap.Get(\"productos"; +RDebugUtils.currentLine=46923782; + //BA.debugLineNum = 46923782;BA.debugLine="Private prodsmap As Map = promoMap.Get(\"productos"; _prodsmap = new anywheresoftware.b4a.objects.collections.Map(); _prodsmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_promomap.Get((Object)("productos")))); - //BA.debugLineNum = 980;BA.debugLine="Private prodsFijos As List = promoMap.get(\"prodsF"; +RDebugUtils.currentLine=46923783; + //BA.debugLineNum = 46923783;BA.debugLine="Private prodsFijos As List = promoMap.get(\"prodsF"; _prodsfijos = new anywheresoftware.b4a.objects.collections.List(); _prodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 981;BA.debugLine="For p = 0 To prodsFijos.Size - 1"; +RDebugUtils.currentLine=46923784; + //BA.debugLineNum = 46923784;BA.debugLine="For p = 0 To prodsFijos.Size - 1"; { final int step8 = 1; final int limit8 = (int) (_prodsfijos.getSize()-1); _p = (int) (0) ; for (;_p <= limit8 ;_p = _p + step8 ) { - //BA.debugLineNum = 982;BA.debugLine="Private t As String = prodsFijos.Get(p) 'Obtenem"; +RDebugUtils.currentLine=46923785; + //BA.debugLineNum = 46923785;BA.debugLine="Private t As String = prodsFijos.Get(p) 'Obtenem"; _t = BA.ObjectToString(_prodsfijos.Get(_p)); - //BA.debugLineNum = 983;BA.debugLine="Private p2 As Map = prodsmap.Get(t) 'Obtenemos u"; +RDebugUtils.currentLine=46923786; + //BA.debugLineNum = 46923786;BA.debugLine="Private p2 As Map = prodsmap.Get(t) 'Obtenemos u"; _p2 = new anywheresoftware.b4a.objects.collections.Map(); _p2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_t)))); - //BA.debugLineNum = 984;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id"; +RDebugUtils.currentLine=46923787; + //BA.debugLineNum = 46923787;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("446858251",("T: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("idProducto")))+", piezas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("piezas")))+""),0);}; - //BA.debugLineNum = 985;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE"; +anywheresoftware.b4a.keywords.Common.LogImpl("046923787",("T: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("idProducto")))+", piezas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("piezas")))+""),0);}; +RDebugUtils.currentLine=46923788; + //BA.debugLineNum = 46923788;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("446858252","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);}; - //BA.debugLineNum = 986;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK"; +anywheresoftware.b4a.keywords.Common.LogImpl("046923788","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);}; +RDebugUtils.currentLine=46923789; + //BA.debugLineNum = 46923789;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK"; if (_inventariosdisponiblesparaestapromo.ContainsKey((Object)(_t))) { - //BA.debugLineNum = 987;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)"; +RDebugUtils.currentLine=46923790; + //BA.debugLineNum = 46923790;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)"; _i = (int)(BA.ObjectToNumber(_inventariosdisponiblesparaestapromo.Get((Object)(_t)))); - //BA.debugLineNum = 988;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:"; +RDebugUtils.currentLine=46923791; + //BA.debugLineNum = 46923791;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("446858255",("Nuevo inventario de "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+": "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("1.0",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""),0);}; - //BA.debugLineNum = 989;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${"; +anywheresoftware.b4a.keywords.Common.LogImpl("046923791",("Nuevo inventario de "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+": "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("1.0",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""),0);}; +RDebugUtils.currentLine=46923792; + //BA.debugLineNum = 46923792;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${"; _inventariosdisponiblesparaestapromo.Put((Object)(_t),(Object)((""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""))); - //BA.debugLineNum = 990;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +RDebugUtils.currentLine=46923793; + //BA.debugLineNum = 46923793;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; _inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok")); }else { - //BA.debugLineNum = 992;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +RDebugUtils.currentLine=46923795; + //BA.debugLineNum = 46923795;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; _inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion.")); - //BA.debugLineNum = 993;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t"; -anywheresoftware.b4a.keywords.Common.LogImpl("446858260","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue); - //BA.debugLineNum = 994;BA.debugLine="Exit"; +RDebugUtils.currentLine=46923796; + //BA.debugLineNum = 46923796;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t"; +anywheresoftware.b4a.keywords.Common.LogImpl("046923796","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue); +RDebugUtils.currentLine=46923797; + //BA.debugLineNum = 46923797;BA.debugLine="Exit"; if (true) break; }; - //BA.debugLineNum = 996;BA.debugLine="If i - p2.Get(\"piezas\") < 0 Then"; +RDebugUtils.currentLine=46923799; + //BA.debugLineNum = 46923799;BA.debugLine="If i - p2.Get(\"piezas\") < 0 Then"; if (_i-(double)(BA.ObjectToNumber(_p2.Get((Object)("piezas"))))<0) { - //BA.debugLineNum = 997;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +RDebugUtils.currentLine=46923800; + //BA.debugLineNum = 46923800;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; _inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion.")); - //BA.debugLineNum = 998;BA.debugLine="Exit"; +RDebugUtils.currentLine=46923801; + //BA.debugLineNum = 46923801;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 1001;BA.debugLine="If prodsFijos.Size = 0 Then inventariosDisponible"; +RDebugUtils.currentLine=46923804; + //BA.debugLineNum = 46923804;BA.debugLine="If prodsFijos.Size = 0 Then inventariosDisponible"; if (_prodsfijos.getSize()==0) { _inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok"));}; - //BA.debugLineNum = 1002;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues"; +RDebugUtils.currentLine=46923805; + //BA.debugLineNum = 46923805;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("446858269","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1003;BA.debugLine="Return inventariosDisponiblesParaEstaPromo"; +anywheresoftware.b4a.keywords.Common.LogImpl("046923805","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=46923806; + //BA.debugLineNum = 46923806;BA.debugLine="Return inventariosDisponiblesParaEstaPromo"; if (true) return _inventariosdisponiblesparaestapromo; - //BA.debugLineNum = 1004;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46923807; + //BA.debugLineNum = 46923807;BA.debugLine="End Sub"; return null; } -public static String _revisabd(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 202;BA.debugLine="Sub revisaBD 'ignore"; - //BA.debugLineNum = 204;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(mostCurrent._starter._ruta /*String*/ ,"kmt.db"))) { -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db");}; - //BA.debugLineNum = 205;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 206;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); - //BA.debugLineNum = 208;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); - //BA.debugLineNum = 210;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_errorlog.Initialize(mostCurrent._starter._ruta /*String*/ ,"errorLog.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 211;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; -_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"); - //BA.debugLineNum = 212;BA.debugLine="End Sub"; -return ""; +public static anywheresoftware.b4a.objects.collections.Map _traemosinventariodisponibleparapromo(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemosinventariodisponibleparapromo", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traemosinventariodisponibleparapromo", new Object[] {_ba,_promo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +anywheresoftware.b4a.objects.collections.Map _prods = null; +int _i = 0; +RDebugUtils.currentLine=46858240; + //BA.debugLineNum = 46858240;BA.debugLine="Sub traemosInventarioDisponibleParaPromo(promo As"; +RDebugUtils.currentLine=46858241; + //BA.debugLineNum = 46858241;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46858242; + //BA.debugLineNum = 46858242;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)"),new String[]{_promo}))); +RDebugUtils.currentLine=46858245; + //BA.debugLineNum = 46858245;BA.debugLine="Private prods As Map"; +_prods = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=46858246; + //BA.debugLineNum = 46858246;BA.debugLine="prods.Initialize"; +_prods.Initialize(); +RDebugUtils.currentLine=46858247; + //BA.debugLineNum = 46858247;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=46858248; + //BA.debugLineNum = 46858248;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step6 = 1; +final int limit6 = (int) (_c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=46858249; + //BA.debugLineNum = 46858249;BA.debugLine="c.Position=i"; +_c.setPosition(_i); +RDebugUtils.currentLine=46858250; + //BA.debugLineNum = 46858250;BA.debugLine="prods.Put(c.GetString(\"CAT_GP_ID\"), c.GetString"; +_prods.Put((Object)(_c.GetString("CAT_GP_ID")),(Object)(_c.GetString("CAT_GP_ALMACEN"))); + } +}; + }; +RDebugUtils.currentLine=46858255; + //BA.debugLineNum = 46858255;BA.debugLine="Return prods"; +if (true) return _prods; +RDebugUtils.currentLine=46858256; + //BA.debugLineNum = 46858256;BA.debugLine="End Sub"; +return null; } public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisaflp", false)) + {return ((String) Debug.delegate(null, "revisaflp", new Object[] {_ba}));} boolean _todobienflp = false; - //BA.debugLineNum = 365;BA.debugLine="Sub revisaFLP 'ignore"; - //BA.debugLineNum = 366;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; -anywheresoftware.b4a.keywords.Common.LogImpl("444695553","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); - //BA.debugLineNum = 367;BA.debugLine="Private todoBienFLP As Boolean = True"; +RDebugUtils.currentLine=44761088; + //BA.debugLineNum = 44761088;BA.debugLine="Sub revisaFLP 'ignore"; +RDebugUtils.currentLine=44761089; + //BA.debugLineNum = 44761089;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; +anywheresoftware.b4a.keywords.Common.LogImpl("044761089","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); +RDebugUtils.currentLine=44761090; + //BA.debugLineNum = 44761090;BA.debugLine="Private todoBienFLP As Boolean = True"; _todobienflp = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 368;BA.debugLine="Try"; -try { //BA.debugLineNum = 369;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; +RDebugUtils.currentLine=44761091; + //BA.debugLineNum = 44761091;BA.debugLine="Try"; +try {RDebugUtils.currentLine=44761092; + //BA.debugLineNum = 44761092;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized())) { - //BA.debugLineNum = 370;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Re"; +RDebugUtils.currentLine=44761093; + //BA.debugLineNum = 44761093;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Re"; _log2db(_ba,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); - //BA.debugLineNum = 371;BA.debugLine="Tracker.FLP.Initialize(\"flp\")"; +RDebugUtils.currentLine=44761094; + //BA.debugLineNum = 44761094;BA.debugLine="Tracker.FLP.Initialize(\"flp\")"; mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .Initialize((_ba.processBA == null ? _ba : _ba.processBA),"flp"); - //BA.debugLineNum = 372;BA.debugLine="todoBienFLP = False"; +RDebugUtils.currentLine=44761095; + //BA.debugLineNum = 44761095;BA.debugLine="todoBienFLP = False"; _todobienflp = anywheresoftware.b4a.keywords.Common.False; }; } catch (Exception e10) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e10); //BA.debugLineNum = 375;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---"; -anywheresoftware.b4a.keywords.Common.LogImpl("444695562","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e10);RDebugUtils.currentLine=44761098; + //BA.debugLineNum = 44761098;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---"; +anywheresoftware.b4a.keywords.Common.LogImpl("044761098","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; - //BA.debugLineNum = 377;BA.debugLine="Try"; -try { //BA.debugLineNum = 378;BA.debugLine="If Tracker.FLP.IsInitialized Then"; +RDebugUtils.currentLine=44761100; + //BA.debugLineNum = 44761100;BA.debugLine="Try"; +try {RDebugUtils.currentLine=44761101; + //BA.debugLineNum = 44761101;BA.debugLine="If Tracker.FLP.IsInitialized Then"; if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 379;BA.debugLine="Try"; -try { //BA.debugLineNum = 380;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then"; +RDebugUtils.currentLine=44761102; + //BA.debugLineNum = 44761102;BA.debugLine="Try"; +try {RDebugUtils.currentLine=44761103; + //BA.debugLineNum = 44761103;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then"; if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected())) { - //BA.debugLineNum = 381;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Rec"; +RDebugUtils.currentLine=44761104; + //BA.debugLineNum = 44761104;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Rec"; _log2db(_ba,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); - //BA.debugLineNum = 383;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; +RDebugUtils.currentLine=44761106; + //BA.debugLineNum = 44761106;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; anywheresoftware.b4a.keywords.Common.CallSubDelayed((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject()),"StartFLP"); - //BA.debugLineNum = 384;BA.debugLine="todoBienFLP = False"; +RDebugUtils.currentLine=44761107; + //BA.debugLineNum = 44761107;BA.debugLine="todoBienFLP = False"; _todobienflp = anywheresoftware.b4a.keywords.Common.False; }; } catch (Exception e21) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 387;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; -anywheresoftware.b4a.keywords.Common.LogImpl("444695574","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21);RDebugUtils.currentLine=44761110; + //BA.debugLineNum = 44761110;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; +anywheresoftware.b4a.keywords.Common.LogImpl("044761110","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; - //BA.debugLineNum = 389;BA.debugLine="Try"; -try { //BA.debugLineNum = 390;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker."; +RDebugUtils.currentLine=44761112; + //BA.debugLineNum = 44761112;BA.debugLine="Try"; +try {RDebugUtils.currentLine=44761113; + //BA.debugLineNum = 44761113;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker."; if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().DistanceTo((android.location.Location)(mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getObject()))>500) { - //BA.debugLineNum = 393;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando,"; +RDebugUtils.currentLine=44761116; + //BA.debugLineNum = 44761116;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando,"; _log2db(_ba,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); - //BA.debugLineNum = 394;BA.debugLine="StartService(Tracker)"; +RDebugUtils.currentLine=44761117; + //BA.debugLineNum = 44761117;BA.debugLine="StartService(Tracker)"; anywheresoftware.b4a.keywords.Common.StartService((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject())); - //BA.debugLineNum = 395;BA.debugLine="todoBienFLP = False"; +RDebugUtils.currentLine=44761118; + //BA.debugLineNum = 44761118;BA.debugLine="todoBienFLP = False"; _todobienflp = anywheresoftware.b4a.keywords.Common.False; }; } catch (Exception e30) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e30); //BA.debugLineNum = 398;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; -anywheresoftware.b4a.keywords.Common.LogImpl("444695585","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e30);RDebugUtils.currentLine=44761121; + //BA.debugLineNum = 44761121;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; +anywheresoftware.b4a.keywords.Common.LogImpl("044761121","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; }; - //BA.debugLineNum = 401;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; +RDebugUtils.currentLine=44761124; + //BA.debugLineNum = 44761124;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; if (_todobienflp) { -anywheresoftware.b4a.keywords.Common.LogImpl("444695588"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; +anywheresoftware.b4a.keywords.Common.LogImpl("044761124"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; } catch (Exception e35) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e35); //BA.debugLineNum = 403;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; -anywheresoftware.b4a.keywords.Common.LogImpl("444695590","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e35);RDebugUtils.currentLine=44761126; + //BA.debugLineNum = 44761126;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; +anywheresoftware.b4a.keywords.Common.LogImpl("044761126","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; - //BA.debugLineNum = 406;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44761129; + //BA.debugLineNum = 44761129;BA.debugLine="End Sub"; return ""; } -public static anywheresoftware.b4a.objects.collections.Map _revisaforzaractualizacion(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _ra = null; -String _nuevaversion = ""; -int _forzaractualizacion = 0; -anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 1666;BA.debugLine="Sub revisaForzarActualizacion As Map"; - //BA.debugLineNum = 1667;BA.debugLine="Private ra As ResultSet = Starter.skmt.ExecQuery("; -_ra = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_ra = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'VERSION_NUEVA' or CAT_VA_DESCRIPCION = 'FORZAR_ACTUALIZACION'")))); - //BA.debugLineNum = 1668;BA.debugLine="Private nuevaVersion As String = \"\""; -_nuevaversion = ""; - //BA.debugLineNum = 1669;BA.debugLine="Private forzarActualizacion As Int = 2"; -_forzaractualizacion = (int) (2); - //BA.debugLineNum = 1670;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1671;BA.debugLine="m.Initialize"; -_m.Initialize(); - //BA.debugLineNum = 1672;BA.debugLine="Do While ra.NextRow"; -while (_ra.NextRow()) { - //BA.debugLineNum = 1673;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"VERSION"; -if ((_ra.GetString("CAT_VA_DESCRIPCION")).equals("VERSION_NUEVA")) { -_nuevaversion = _ra.GetString("CAT_VA_VALOR");}; - //BA.debugLineNum = 1674;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"FORZAR_"; -if ((_ra.GetString("CAT_VA_DESCRIPCION")).equals("FORZAR_ACTUALIZACION")) { -_forzaractualizacion = _ra.GetInt("CAT_VA_VALOR");}; - } -; - //BA.debugLineNum = 1678;BA.debugLine="If nuevaVersion <> Application.VersionName And fo"; -if ((_nuevaversion).equals(anywheresoftware.b4a.keywords.Common.Application.getVersionName()) == false && _forzaractualizacion==1) { - //BA.debugLineNum = 1679;BA.debugLine="m.Put(\"forzar\", 1)"; -_m.Put((Object)("forzar"),(Object)(1)); - //BA.debugLineNum = 1680;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)"; -_m.Put((Object)("nuevaVersion"),(Object)(_nuevaversion)); - }else if(_forzaractualizacion==2) { - //BA.debugLineNum = 1682;BA.debugLine="m.Put(\"forzar\", 2)"; -_m.Put((Object)("forzar"),(Object)(2)); - //BA.debugLineNum = 1683;BA.debugLine="m.Put(\"nuevaVersion\", \"Recargar\")"; -_m.Put((Object)("nuevaVersion"),(Object)("Recargar")); - }else { - //BA.debugLineNum = 1685;BA.debugLine="m.Put(\"forzar\", 0)"; -_m.Put((Object)("forzar"),(Object)(0)); - //BA.debugLineNum = 1686;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)"; -_m.Put((Object)("nuevaVersion"),(Object)(_nuevaversion)); - }; - //BA.debugLineNum = 1688;BA.debugLine="If nuevaVersion = \"\" Or nuevaVersion = Null Or nu"; -if ((_nuevaversion).equals("") || _nuevaversion== null || (_nuevaversion).equals("null")) { - //BA.debugLineNum = 1689;BA.debugLine="m.Put(\"forzar\", 0)"; -_m.Put((Object)("forzar"),(Object)(0)); - //BA.debugLineNum = 1690;BA.debugLine="m.Put(\"nuevaVersion\", \"\")"; -_m.Put((Object)("nuevaVersion"),(Object)("")); - }; - //BA.debugLineNum = 1692;BA.debugLine="Return m"; -if (true) return _m; - //BA.debugLineNum = 1693;BA.debugLine="End Sub"; -return null; -} public static boolean _revisaimpreso(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisaimpreso", false)) + {return ((Boolean) Debug.delegate(null, "revisaimpreso", new Object[] {_ba}));} boolean _impreso = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 1906;BA.debugLine="Sub revisaImpreso As Boolean 'ignore"; - //BA.debugLineNum = 1907;BA.debugLine="Private impreso As Boolean = False"; +RDebugUtils.currentLine=49152000; + //BA.debugLineNum = 49152000;BA.debugLine="Sub revisaImpreso As Boolean 'ignore"; +RDebugUtils.currentLine=49152001; + //BA.debugLineNum = 49152001;BA.debugLine="Private impreso As Boolean = False"; _impreso = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1908;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +RDebugUtils.currentLine=49152002; + //BA.debugLineNum = 49152002;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select idCliente from ticket_impreso where idCliente in (select cuenta from cuentaa)"))); - //BA.debugLineNum = 1909;BA.debugLine="If c.RowCount > 0 Then impreso = True"; +RDebugUtils.currentLine=49152003; + //BA.debugLineNum = 49152003;BA.debugLine="If c.RowCount > 0 Then impreso = True"; if (_c.getRowCount()>0) { _impreso = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 1910;BA.debugLine="Return impreso"; +RDebugUtils.currentLine=49152004; + //BA.debugLineNum = 49152004;BA.debugLine="Return impreso"; if (true) return _impreso; - //BA.debugLineNum = 1911;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49152005; + //BA.debugLineNum = 49152005;BA.debugLine="End Sub"; return false; } public static int _revisamaxpromosprodsfijosporinventario(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisamaxpromosprodsfijosporinventario", false)) + {return ((Integer) Debug.delegate(null, "revisamaxpromosprodsfijosporinventario", new Object[] {_ba,_pm}));} boolean _thislog = false; anywheresoftware.b4a.objects.collections.Map _invfijoxpromo = null; anywheresoftware.b4a.objects.collections.List _t = null; @@ -2163,74 +4089,102 @@ anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; anywheresoftware.b4a.objects.collections.List _idprodsfijos = null; int _p = 0; String[] _x = null; - //BA.debugLineNum = 1153;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario(pm As M"; - //BA.debugLineNum = 1154;BA.debugLine="Private thisLog As Boolean = False"; +RDebugUtils.currentLine=47251456; + //BA.debugLineNum = 47251456;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario(pm As M"; +RDebugUtils.currentLine=47251457; + //BA.debugLineNum = 47251457;BA.debugLine="Private thisLog As Boolean = False"; _thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1155;BA.debugLine="Private invFijoXpromo As Map"; +RDebugUtils.currentLine=47251458; + //BA.debugLineNum = 47251458;BA.debugLine="Private invFijoXpromo As Map"; _invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1156;BA.debugLine="Private t As List"; +RDebugUtils.currentLine=47251459; + //BA.debugLineNum = 47251459;BA.debugLine="Private t As List"; _t = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1157;BA.debugLine="t.Initialize"; +RDebugUtils.currentLine=47251460; + //BA.debugLineNum = 47251460;BA.debugLine="t.Initialize"; _t.Initialize(); - //BA.debugLineNum = 1158;BA.debugLine="t.Add(traeMaxPromos(pm)) ' Agregamos a la lista l"; +RDebugUtils.currentLine=47251461; + //BA.debugLineNum = 47251461;BA.debugLine="t.Add(traeMaxPromos(pm)) ' Agregamos a la lista l"; _t.Add((Object)(_traemaxpromos(_ba,_pm))); - //BA.debugLineNum = 1159;BA.debugLine="invFijoXpromo.Initialize"; +RDebugUtils.currentLine=47251462; + //BA.debugLineNum = 47251462;BA.debugLine="invFijoXpromo.Initialize"; _invfijoxpromo.Initialize(); - //BA.debugLineNum = 1160;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; +RDebugUtils.currentLine=47251463; + //BA.debugLineNum = 47251463;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447185927",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1161;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251463",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=47251464; + //BA.debugLineNum = 47251464;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; _invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); _invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); - //BA.debugLineNum = 1162;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +RDebugUtils.currentLine=47251465; + //BA.debugLineNum = 47251465;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447185929",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; - //BA.debugLineNum = 1163;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251465",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; +RDebugUtils.currentLine=47251466; + //BA.debugLineNum = 47251466;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; _prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); _prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); - //BA.debugLineNum = 1164;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; +RDebugUtils.currentLine=47251467; + //BA.debugLineNum = 47251467;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; _idprodsfijos = new anywheresoftware.b4a.objects.collections.List(); _idprodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 1165;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos una"; +RDebugUtils.currentLine=47251468; + //BA.debugLineNum = 47251468;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos una"; { final int step12 = 1; final int limit12 = (int) (_idprodsfijos.getSize()-1); _p = (int) (0) ; for (;_p <= limit12 ;_p = _p + step12 ) { - //BA.debugLineNum = 1166;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},"; +RDebugUtils.currentLine=47251469; + //BA.debugLineNum = 47251469;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447185933",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_p))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_p)))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_prodsfijospiezas.Get(_p))+""),0);}; - //BA.debugLineNum = 1167;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251469",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_p))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_p)))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_prodsfijospiezas.Get(_p))+""),0);}; +RDebugUtils.currentLine=47251470; + //BA.debugLineNum = 47251470;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447185934",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""),0);}; - //BA.debugLineNum = 1168;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251470",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""),0);}; +RDebugUtils.currentLine=47251471; + //BA.debugLineNum = 47251471;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i"; _x = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+"")); - //BA.debugLineNum = 1169;BA.debugLine="If thisLog Then Log(x(0))"; +RDebugUtils.currentLine=47251472; + //BA.debugLineNum = 47251472;BA.debugLine="If thisLog Then Log(x(0))"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447185936",_x[(int) (0)],0);}; - //BA.debugLineNum = 1170;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251472",_x[(int) (0)],0);}; +RDebugUtils.currentLine=47251473; + //BA.debugLineNum = 47251473;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del"; _t.Add((Object)(((int)(Double.parseDouble(_x[(int) (0)]))))); } }; - //BA.debugLineNum = 1172;BA.debugLine="t.Sort(True) 'Ordenamos la lista para que en el l"; +RDebugUtils.currentLine=47251475; + //BA.debugLineNum = 47251475;BA.debugLine="t.Sort(True) 'Ordenamos la lista para que en el l"; _t.Sort(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 1173;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; +RDebugUtils.currentLine=47251476; + //BA.debugLineNum = 47251476;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447185940",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1174;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251476",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=47251477; + //BA.debugLineNum = 47251477;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447185941",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1175;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251477",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=47251478; + //BA.debugLineNum = 47251478;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447185942",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1176;BA.debugLine="LogColor(\"Max promos de prodsFijos POR inventario"; -anywheresoftware.b4a.keywords.Common.LogImpl("447185943","Max promos de prodsFijos POR inventario = "+BA.ObjectToString(_t.Get((int) (0))),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 1177;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251478",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=47251479; + //BA.debugLineNum = 47251479;BA.debugLine="LogColor(\"Max promos de prodsFijos POR inventario"; +anywheresoftware.b4a.keywords.Common.LogImpl("047251479","Max promos de prodsFijos POR inventario = "+BA.ObjectToString(_t.Get((int) (0))),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=47251480; + //BA.debugLineNum = 47251480;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ"; if (true) return (int)(BA.ObjectToNumber(_t.Get((int) (0)))); - //BA.debugLineNum = 1178;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47251481; + //BA.debugLineNum = 47251481;BA.debugLine="End Sub"; return 0; } public static int _revisamaxpromosprodsfijosporinventario2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisamaxpromosprodsfijosporinventario2", false)) + {return ((Integer) Debug.delegate(null, "revisamaxpromosprodsfijosporinventario2", new Object[] {_ba,_pm}));} boolean _thislog = false; anywheresoftware.b4a.objects.collections.Map _invdispparapromo = null; String _maxpromos = ""; @@ -2245,110 +4199,148 @@ int _p = 0; int _i = 0; int _q = 0; String _q2 = ""; - //BA.debugLineNum = 1110;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario2(pm As"; - //BA.debugLineNum = 1111;BA.debugLine="Private thisLog As Boolean = False"; +RDebugUtils.currentLine=47185920; + //BA.debugLineNum = 47185920;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario2(pm As"; +RDebugUtils.currentLine=47185921; + //BA.debugLineNum = 47185921;BA.debugLine="Private thisLog As Boolean = False"; _thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1112;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)"; +RDebugUtils.currentLine=47185922; + //BA.debugLineNum = 47185922;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120386",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);}; - //BA.debugLineNum = 1114;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185922",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);}; +RDebugUtils.currentLine=47185924; + //BA.debugLineNum = 47185924;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; _invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); _invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); - //BA.debugLineNum = 1115;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +RDebugUtils.currentLine=47185925; + //BA.debugLineNum = 47185925;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120389",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; - //BA.debugLineNum = 1116;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185925",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; +RDebugUtils.currentLine=47185926; + //BA.debugLineNum = 47185926;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; _maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm)); - //BA.debugLineNum = 1117;BA.debugLine="Private maxPromosFijosXinv As Int = 1"; +RDebugUtils.currentLine=47185927; + //BA.debugLineNum = 47185927;BA.debugLine="Private maxPromosFijosXinv As Int = 1"; _maxpromosfijosxinv = (int) (1); - //BA.debugLineNum = 1118;BA.debugLine="Private fpf2, pdp2 As Int"; +RDebugUtils.currentLine=47185928; + //BA.debugLineNum = 47185928;BA.debugLine="Private fpf2, pdp2 As Int"; _fpf2 = 0; _pdp2 = 0; - //BA.debugLineNum = 1119;BA.debugLine="Private salir As Boolean = False"; +RDebugUtils.currentLine=47185929; + //BA.debugLineNum = 47185929;BA.debugLine="Private salir As Boolean = False"; _salir = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1120;BA.debugLine="Private pf As List = pm.Get(\"prodsFijos\")"; +RDebugUtils.currentLine=47185930; + //BA.debugLineNum = 47185930;BA.debugLine="Private pf As List = pm.Get(\"prodsFijos\")"; _pf = new anywheresoftware.b4a.objects.collections.List(); _pf = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 1121;BA.debugLine="Private pfp As List = pm.Get(\"prodsFijosPiezas\")"; +RDebugUtils.currentLine=47185931; + //BA.debugLineNum = 47185931;BA.debugLine="Private pfp As List = pm.Get(\"prodsFijosPiezas\")"; _pfp = new anywheresoftware.b4a.objects.collections.List(); _pfp = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); - //BA.debugLineNum = 1122;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro"; +RDebugUtils.currentLine=47185932; + //BA.debugLineNum = 47185932;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120396",("maxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pf.getObject()))+", piezas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pfp.getObject()))+""),0);}; - //BA.debugLineNum = 1123;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185932",("maxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pf.getObject()))+", piezas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pfp.getObject()))+""),0);}; +RDebugUtils.currentLine=47185933; + //BA.debugLineNum = 47185933;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120397",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1124;BA.debugLine="Private invFijoXpromo As Map"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185933",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=47185934; + //BA.debugLineNum = 47185934;BA.debugLine="Private invFijoXpromo As Map"; _invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1125;BA.debugLine="invFijoXpromo.Initialize"; +RDebugUtils.currentLine=47185935; + //BA.debugLineNum = 47185935;BA.debugLine="invFijoXpromo.Initialize"; _invfijoxpromo.Initialize(); - //BA.debugLineNum = 1126;BA.debugLine="For p = 0 To pf.Size -1 'Generamos mapa con los p"; +RDebugUtils.currentLine=47185936; + //BA.debugLineNum = 47185936;BA.debugLine="For p = 0 To pf.Size -1 'Generamos mapa con los p"; { final int step15 = 1; final int limit15 = (int) (_pf.getSize()-1); _p = (int) (0) ; for (;_p <= limit15 ;_p = _p + step15 ) { - //BA.debugLineNum = 1127;BA.debugLine="invFijoXpromo.Put(pf.Get(p), pfp.Get(p))"; +RDebugUtils.currentLine=47185937; + //BA.debugLineNum = 47185937;BA.debugLine="invFijoXpromo.Put(pf.Get(p), pfp.Get(p))"; _invfijoxpromo.Put(_pf.Get(_p),_pfp.Get(_p)); } }; - //BA.debugLineNum = 1129;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos"; +RDebugUtils.currentLine=47185939; + //BA.debugLineNum = 47185939;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120403","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);}; - //BA.debugLineNum = 1130;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185939","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);}; +RDebugUtils.currentLine=47185940; + //BA.debugLineNum = 47185940;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci"; { final int step19 = 1; final int limit19 = (int)(Double.parseDouble(_maxpromos)); _i = (int) (1) ; for (;_i <= limit19 ;_i = _i + step19 ) { - //BA.debugLineNum = 1131;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & ("; +RDebugUtils.currentLine=47185941; + //BA.debugLineNum = 47185941;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & ("; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120405","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; - //BA.debugLineNum = 1132;BA.debugLine="For q = 0 To pf.Size - 1"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185941","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; +RDebugUtils.currentLine=47185942; + //BA.debugLineNum = 47185942;BA.debugLine="For q = 0 To pf.Size - 1"; { final int step21 = 1; final int limit21 = (int) (_pf.getSize()-1); _q = (int) (0) ; for (;_q <= limit21 ;_q = _q + step21 ) { - //BA.debugLineNum = 1133;BA.debugLine="Private q2 As String = pf.Get(q)"; +RDebugUtils.currentLine=47185943; + //BA.debugLineNum = 47185943;BA.debugLine="Private q2 As String = pf.Get(q)"; _q2 = BA.ObjectToString(_pf.Get(_q)); - //BA.debugLineNum = 1134;BA.debugLine="If thisLog Then Log(\"q=\"&q2)"; +RDebugUtils.currentLine=47185944; + //BA.debugLineNum = 47185944;BA.debugLine="If thisLog Then Log(\"q=\"&q2)"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120408","q="+_q2,0);}; - //BA.debugLineNum = 1136;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185944","q="+_q2,0);}; +RDebugUtils.currentLine=47185946; + //BA.debugLineNum = 47185946;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas"; _fpf2 = (int) ((double)(BA.ObjectToNumber(_pfp.Get(_q)))*_i); - //BA.debugLineNum = 1137;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)"; +RDebugUtils.currentLine=47185947; + //BA.debugLineNum = 47185947;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)"; _pdp2 = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_q2)))); - //BA.debugLineNum = 1138;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},"; +RDebugUtils.currentLine=47185948; + //BA.debugLineNum = 47185948;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120412",("pf="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_q2))+", Actual="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_i)))+", max promos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fpf2))+"="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2-_fpf2))+""),0);}; - //BA.debugLineNum = 1139;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185948",("pf="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_q2))+", Actual="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_i)))+", max promos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fpf2))+"="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2-_fpf2))+""),0);}; +RDebugUtils.currentLine=47185949; + //BA.debugLineNum = 47185949;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne"; if (_pdp2-_fpf2<0) { - //BA.debugLineNum = 1140;BA.debugLine="salir=True"; +RDebugUtils.currentLine=47185950; + //BA.debugLineNum = 47185950;BA.debugLine="salir=True"; _salir = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 1141;BA.debugLine="Exit"; +RDebugUtils.currentLine=47185951; + //BA.debugLineNum = 47185951;BA.debugLine="Exit"; if (true) break; }; } }; - //BA.debugLineNum = 1144;BA.debugLine="If salir Then Exit"; +RDebugUtils.currentLine=47185954; + //BA.debugLineNum = 47185954;BA.debugLine="If salir Then Exit"; if (_salir) { if (true) break;}; - //BA.debugLineNum = 1145;BA.debugLine="maxPromosFijosXinv = i"; +RDebugUtils.currentLine=47185955; + //BA.debugLineNum = 47185955;BA.debugLine="maxPromosFijosXinv = i"; _maxpromosfijosxinv = _i; } }; - //BA.debugLineNum = 1147;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro"; +RDebugUtils.currentLine=47185957; + //BA.debugLineNum = 47185957;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("447120421","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1148;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR"; -anywheresoftware.b4a.keywords.Common.LogImpl("447120422","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 1149;BA.debugLine="Return maxPromosFijosXinv"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185957","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=47185958; + //BA.debugLineNum = 47185958;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR"; +anywheresoftware.b4a.keywords.Common.LogImpl("047185958","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=47185959; + //BA.debugLineNum = 47185959;BA.debugLine="Return maxPromosFijosXinv"; if (true) return _maxpromosfijosxinv; - //BA.debugLineNum = 1150;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47185960; + //BA.debugLineNum = 47185960;BA.debugLine="End Sub"; return 0; } public static int _revisamaxpromosprodsvariablesporinventario(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisamaxpromosprodsvariablesporinventario", false)) + {return ((Integer) Debug.delegate(null, "revisamaxpromosprodsvariablesporinventario", new Object[] {_ba,_pm}));} boolean _thislog = false; anywheresoftware.b4a.objects.collections.Map _invfijoxpromo = null; int _totalprodsvariablesdisponibles = 0; @@ -2370,280 +4362,390 @@ int _maxpromosxvariables = 0; int _maxpromosxvariables2 = 0; int _x = 0; int _i = 0; - //BA.debugLineNum = 2103;BA.debugLine="Sub revisaMaxPromosProdsVariablesPorInventario(pm"; - //BA.debugLineNum = 2104;BA.debugLine="Private thisLog As Boolean = False"; +RDebugUtils.currentLine=49610752; + //BA.debugLineNum = 49610752;BA.debugLine="Sub revisaMaxPromosProdsVariablesPorInventario(pm"; +RDebugUtils.currentLine=49610753; + //BA.debugLineNum = 49610753;BA.debugLine="Private thisLog As Boolean = False"; _thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 2105;BA.debugLine="If thisLog Then Log(\"============================"; +RDebugUtils.currentLine=49610754; + //BA.debugLineNum = 49610754;BA.debugLine="If thisLog Then Log(\"============================"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545218","======================================================",0);}; - //BA.debugLineNum = 2106;BA.debugLine="If thisLog Then Log(\"============================"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610754","======================================================",0);}; +RDebugUtils.currentLine=49610755; + //BA.debugLineNum = 49610755;BA.debugLine="If thisLog Then Log(\"============================"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545219","======================================================",0);}; - //BA.debugLineNum = 2107;BA.debugLine="Private invFijoXpromo As Map"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610755","======================================================",0);}; +RDebugUtils.currentLine=49610756; + //BA.debugLineNum = 49610756;BA.debugLine="Private invFijoXpromo As Map"; _invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 2108;BA.debugLine="invFijoXpromo.Initialize"; +RDebugUtils.currentLine=49610757; + //BA.debugLineNum = 49610757;BA.debugLine="invFijoXpromo.Initialize"; _invfijoxpromo.Initialize(); - //BA.debugLineNum = 2109;BA.debugLine="Private totalProdsVariablesDisponibles As Int = 0"; +RDebugUtils.currentLine=49610758; + //BA.debugLineNum = 49610758;BA.debugLine="Private totalProdsVariablesDisponibles As Int = 0"; _totalprodsvariablesdisponibles = (int) (0); - //BA.debugLineNum = 2110;BA.debugLine="Private totalProdsVariables2Disponibles As Int ="; +RDebugUtils.currentLine=49610759; + //BA.debugLineNum = 49610759;BA.debugLine="Private totalProdsVariables2Disponibles As Int ="; _totalprodsvariables2disponibles = (int) (0); - //BA.debugLineNum = 2111;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; +RDebugUtils.currentLine=49610760; + //BA.debugLineNum = 49610760;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545224",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 2112;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610760",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=49610761; + //BA.debugLineNum = 49610761;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; _invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); _invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); - //BA.debugLineNum = 2113;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +RDebugUtils.currentLine=49610762; + //BA.debugLineNum = 49610762;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545226",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; - //BA.debugLineNum = 2114;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610762",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; +RDebugUtils.currentLine=49610763; + //BA.debugLineNum = 49610763;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; _maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm)); - //BA.debugLineNum = 2115;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP"; +RDebugUtils.currentLine=49610764; + //BA.debugLineNum = 49610764;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP"; _maxpromosxfijos = _revisamaxpromosprodsfijosporinventario(_ba,_pm); - //BA.debugLineNum = 2116;BA.debugLine="Private idProdsVariables As List = pm.Get(\"prodsV"; +RDebugUtils.currentLine=49610765; + //BA.debugLineNum = 49610765;BA.debugLine="Private idProdsVariables As List = pm.Get(\"prodsV"; _idprodsvariables = new anywheresoftware.b4a.objects.collections.List(); _idprodsvariables = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsVariables")))); - //BA.debugLineNum = 2117;BA.debugLine="Private idProdsVariables2 As List = pm.Get(\"prods"; +RDebugUtils.currentLine=49610766; + //BA.debugLineNum = 49610766;BA.debugLine="Private idProdsVariables2 As List = pm.Get(\"prods"; _idprodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); _idprodsvariables2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsVariables2")))); - //BA.debugLineNum = 2118;BA.debugLine="Private prodsVariablesRequeridos As Int = pm.Get("; +RDebugUtils.currentLine=49610767; + //BA.debugLineNum = 49610767;BA.debugLine="Private prodsVariablesRequeridos As Int = pm.Get("; _prodsvariablesrequeridos = (int)(BA.ObjectToNumber(_pm.Get((Object)("prodsVariablesRequeridos")))); - //BA.debugLineNum = 2119;BA.debugLine="Private prodsVariables2Requeridos As Int = pm.Get"; +RDebugUtils.currentLine=49610768; + //BA.debugLineNum = 49610768;BA.debugLine="Private prodsVariables2Requeridos As Int = pm.Get"; _prodsvariables2requeridos = (int)(BA.ObjectToNumber(_pm.Get((Object)("prodsVariables2Requeridos")))); - //BA.debugLineNum = 2120;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; +RDebugUtils.currentLine=49610769; + //BA.debugLineNum = 49610769;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; _prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); _prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); - //BA.debugLineNum = 2121;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; +RDebugUtils.currentLine=49610770; + //BA.debugLineNum = 49610770;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; _idprodsfijos = new anywheresoftware.b4a.objects.collections.List(); _idprodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 2122;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos mapa"; +RDebugUtils.currentLine=49610771; + //BA.debugLineNum = 49610771;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos mapa"; { final int step19 = 1; final int limit19 = (int) (_idprodsfijos.getSize()-1); _p = (int) (0) ; for (;_p <= limit19 ;_p = _p + step19 ) { - //BA.debugLineNum = 2123;BA.debugLine="invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijo"; +RDebugUtils.currentLine=49610772; + //BA.debugLineNum = 49610772;BA.debugLine="invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijo"; _invfijoxpromo.Put(_idprodsfijos.Get(_p),_prodsfijospiezas.Get(_p)); - //BA.debugLineNum = 2124;BA.debugLine="Private idEsteProd As String = idProdsFijos.Get("; +RDebugUtils.currentLine=49610773; + //BA.debugLineNum = 49610773;BA.debugLine="Private idEsteProd As String = idProdsFijos.Get("; _idesteprod = BA.ObjectToString(_idprodsfijos.Get(_p)); - //BA.debugLineNum = 2125;BA.debugLine="Private invEsteProd As Int = invDispParaPromo.Ge"; +RDebugUtils.currentLine=49610774; + //BA.debugLineNum = 49610774;BA.debugLine="Private invEsteProd As Int = invDispParaPromo.Ge"; _investeprod = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_idesteprod)))); - //BA.debugLineNum = 2126;BA.debugLine="Private pzasReqEsteProd As Int = prodsFijosPieza"; +RDebugUtils.currentLine=49610775; + //BA.debugLineNum = 49610775;BA.debugLine="Private pzasReqEsteProd As Int = prodsFijosPieza"; _pzasreqesteprod = (int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))); - //BA.debugLineNum = 2127;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in"; +RDebugUtils.currentLine=49610776; + //BA.debugLineNum = 49610776;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545240",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idesteprod))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_investeprod))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pzasreqesteprod))+""),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("049610776",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idesteprod))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_investeprod))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pzasreqesteprod))+""),0);}; } }; - //BA.debugLineNum = 2130;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}"; +RDebugUtils.currentLine=49610779; + //BA.debugLineNum = 49610779;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545243",("MaxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", promosXFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromosxfijos))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 2131;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610779",("MaxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", promosXFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromosxfijos))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=49610780; + //BA.debugLineNum = 49610780;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545244",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 2132;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610780",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=49610781; + //BA.debugLineNum = 49610781;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545245",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 2133;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610781",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=49610782; + //BA.debugLineNum = 49610782;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545246",("prodsVariables="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 2134;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610782",("prodsVariables="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=49610783; + //BA.debugLineNum = 49610783;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545247",("prodsVariables2="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables2.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables2 Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariables2requeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 2135;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610783",("prodsVariables2="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables2.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables2 Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariables2requeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=49610784; + //BA.debugLineNum = 49610784;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545248",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 2136;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610784",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=49610785; + //BA.debugLineNum = 49610785;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545249",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);}; - //BA.debugLineNum = 2137;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610785",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);}; +RDebugUtils.currentLine=49610786; + //BA.debugLineNum = 49610786;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545250",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);}; - //BA.debugLineNum = 2138;BA.debugLine="Private maxPromosXVariables As Int = 0"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610786",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);}; +RDebugUtils.currentLine=49610787; + //BA.debugLineNum = 49610787;BA.debugLine="Private maxPromosXVariables As Int = 0"; _maxpromosxvariables = (int) (0); - //BA.debugLineNum = 2139;BA.debugLine="Private maxPromosXVariables2 As Int = 0"; +RDebugUtils.currentLine=49610788; + //BA.debugLineNum = 49610788;BA.debugLine="Private maxPromosXVariables2 As Int = 0"; _maxpromosxvariables2 = (int) (0); - //BA.debugLineNum = 2140;BA.debugLine="For x = 1 To maxPromosXFijos"; +RDebugUtils.currentLine=49610789; + //BA.debugLineNum = 49610789;BA.debugLine="For x = 1 To maxPromosXFijos"; { final int step36 = 1; final int limit36 = _maxpromosxfijos; _x = (int) (1) ; for (;_x <= limit36 ;_x = _x + step36 ) { - //BA.debugLineNum = 2141;BA.debugLine="If thisLog Then Log(\"==========================="; +RDebugUtils.currentLine=49610790; + //BA.debugLineNum = 49610790;BA.debugLine="If thisLog Then Log(\"==========================="; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545254","=====================================================",0);}; - //BA.debugLineNum = 2142;BA.debugLine="If thisLog Then Log(\"==========================="; +anywheresoftware.b4a.keywords.Common.LogImpl("049610790","=====================================================",0);}; +RDebugUtils.currentLine=49610791; + //BA.debugLineNum = 49610791;BA.debugLine="If thisLog Then Log(\"==========================="; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545255","=====================================================",0);}; - //BA.debugLineNum = 2143;BA.debugLine="For i = 0 To idProdsFijos.Size - 1"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610791","=====================================================",0);}; +RDebugUtils.currentLine=49610792; + //BA.debugLineNum = 49610792;BA.debugLine="For i = 0 To idProdsFijos.Size - 1"; { final int step39 = 1; final int limit39 = (int) (_idprodsfijos.getSize()-1); _i = (int) (0) ; for (;_i <= limit39 ;_i = _i + step39 ) { - //BA.debugLineNum = 2144;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get"; +RDebugUtils.currentLine=49610793; + //BA.debugLineNum = 49610793;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545257",("FIJO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_i))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_i)))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)))+""),0);}; - //BA.debugLineNum = 2145;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610793",("FIJO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_i))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_i)))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)))+""),0);}; +RDebugUtils.currentLine=49610794; + //BA.debugLineNum = 49610794;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi"; _invdispparapromo.Put(_idprodsfijos.Get(_i),(Object)(((int)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_i)))))-((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1))); } }; - //BA.debugLineNum = 2147;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues"; +RDebugUtils.currentLine=49610796; + //BA.debugLineNum = 49610796;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545260","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 2149;BA.debugLine="totalProdsVariablesDisponibles = 0"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610796","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=49610798; + //BA.debugLineNum = 49610798;BA.debugLine="totalProdsVariablesDisponibles = 0"; _totalprodsvariablesdisponibles = (int) (0); - //BA.debugLineNum = 2150;BA.debugLine="totalProdsVariables2Disponibles = 0"; +RDebugUtils.currentLine=49610799; + //BA.debugLineNum = 49610799;BA.debugLine="totalProdsVariables2Disponibles = 0"; _totalprodsvariables2disponibles = (int) (0); - //BA.debugLineNum = 2151;BA.debugLine="For i = 0 To idProdsVariables.Size - 1 'Obtenemo"; +RDebugUtils.currentLine=49610800; + //BA.debugLineNum = 49610800;BA.debugLine="For i = 0 To idProdsVariables.Size - 1 'Obtenemo"; { final int step46 = 1; final int limit46 = (int) (_idprodsvariables.getSize()-1); _i = (int) (0) ; for (;_i <= limit46 ;_i = _i + step46 ) { - //BA.debugLineNum = 2152;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; +RDebugUtils.currentLine=49610801; + //BA.debugLineNum = 49610801;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; if (_invdispparapromo.ContainsKey(_idprodsvariables.Get(_i))) { - //BA.debugLineNum = 2153;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVar"; +RDebugUtils.currentLine=49610802; + //BA.debugLineNum = 49610802;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVar"; _totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles+(double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsvariables.Get(_i))))); }; } }; - //BA.debugLineNum = 2156;BA.debugLine="For i = 0 To idProdsVariables2.Size - 1 'Obtenem"; +RDebugUtils.currentLine=49610805; + //BA.debugLineNum = 49610805;BA.debugLine="For i = 0 To idProdsVariables2.Size - 1 'Obtenem"; { final int step51 = 1; final int limit51 = (int) (_idprodsvariables2.getSize()-1); _i = (int) (0) ; for (;_i <= limit51 ;_i = _i + step51 ) { - //BA.debugLineNum = 2157;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; +RDebugUtils.currentLine=49610806; + //BA.debugLineNum = 49610806;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; if (_invdispparapromo.ContainsKey(_idprodsvariables2.Get(_i))) { - //BA.debugLineNum = 2158;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVa"; +RDebugUtils.currentLine=49610807; + //BA.debugLineNum = 49610807;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVa"; _totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles+(double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsvariables2.Get(_i))))); }; } }; - //BA.debugLineNum = 2162;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req"; +RDebugUtils.currentLine=49610811; + //BA.debugLineNum = 49610811;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545275",("Var disponibles - var requeridos : "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos*_x))+""),0);}; - //BA.debugLineNum = 2163;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610811",("Var disponibles - var requeridos : "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos*_x))+""),0);}; +RDebugUtils.currentLine=49610812; + //BA.debugLineNum = 49610812;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria"; _totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles-(_prodsvariablesrequeridos*_x)); - //BA.debugLineNum = 2164;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari"; +RDebugUtils.currentLine=49610813; + //BA.debugLineNum = 49610813;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari"; _totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles-(_prodsvariables2requeridos*_x)); - //BA.debugLineNum = 2165;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles"; +RDebugUtils.currentLine=49610814; + //BA.debugLineNum = 49610814;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545278","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);}; - //BA.debugLineNum = 2166;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610814","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);}; +RDebugUtils.currentLine=49610815; + //BA.debugLineNum = 49610815;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545279","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);}; - //BA.debugLineNum = 2167;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610815","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);}; +RDebugUtils.currentLine=49610816; + //BA.debugLineNum = 49610816;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit"; if (_totalprodsvariablesdisponibles<0) { if (true) break;}; - //BA.debugLineNum = 2168;BA.debugLine="If totalProdsVariables2Disponibles < 0 Then Exit"; +RDebugUtils.currentLine=49610817; + //BA.debugLineNum = 49610817;BA.debugLine="If totalProdsVariables2Disponibles < 0 Then Exit"; if (_totalprodsvariables2disponibles<0) { if (true) break;}; - //BA.debugLineNum = 2169;BA.debugLine="maxPromosXVariables = x"; +RDebugUtils.currentLine=49610818; + //BA.debugLineNum = 49610818;BA.debugLine="maxPromosXVariables = x"; _maxpromosxvariables = _x; } }; - //BA.debugLineNum = 2172;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari"; +RDebugUtils.currentLine=49610821; + //BA.debugLineNum = 49610821;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari"; if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("449545285","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 2173;BA.debugLine="Return maxPromosXVariables"; +anywheresoftware.b4a.keywords.Common.LogImpl("049610821","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=49610822; + //BA.debugLineNum = 49610822;BA.debugLine="Return maxPromosXVariables"; if (true) return _maxpromosxvariables; - //BA.debugLineNum = 2174;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49610823; + //BA.debugLineNum = 49610823;BA.debugLine="End Sub"; return 0; } public static boolean _revisapro2265(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisapro2265", false)) + {return ((Boolean) Debug.delegate(null, "revisapro2265", new Object[] {_ba,_idcliente}));} anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null; boolean _x = false; - //BA.debugLineNum = 1632;BA.debugLine="Sub revisaPRO2265(idCliente As String) As Boolean"; - //BA.debugLineNum = 1633;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=48234496; + //BA.debugLineNum = 48234496;BA.debugLine="Sub revisaPRO2265(idCliente As String) As Boolean"; +RDebugUtils.currentLine=48234497; + //BA.debugLineNum = 48234497;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; _r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); _r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from HIST_PRO2265 where H_IDCLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'")))); - //BA.debugLineNum = 1634;BA.debugLine="Private x As Boolean = False"; +RDebugUtils.currentLine=48234498; + //BA.debugLineNum = 48234498;BA.debugLine="Private x As Boolean = False"; _x = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1635;BA.debugLine="Do While r.NextRow"; +RDebugUtils.currentLine=48234499; + //BA.debugLineNum = 48234499;BA.debugLine="Do While r.NextRow"; while (_r.NextRow()) { - //BA.debugLineNum = 1636;BA.debugLine="x = True"; +RDebugUtils.currentLine=48234500; + //BA.debugLineNum = 48234500;BA.debugLine="x = True"; _x = anywheresoftware.b4a.keywords.Common.True; } ; - //BA.debugLineNum = 1638;BA.debugLine="Log($\">>>> revisaPRO2265 ${idCliente} = ${x}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448168966",(">>>> revisaPRO2265 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0); - //BA.debugLineNum = 1639;BA.debugLine="Return x"; +RDebugUtils.currentLine=48234502; + //BA.debugLineNum = 48234502;BA.debugLine="Log($\">>>> revisaPRO2265 ${idCliente} = ${x}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048234502",(">>>> revisaPRO2265 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0); +RDebugUtils.currentLine=48234503; + //BA.debugLineNum = 48234503;BA.debugLine="Return x"; if (true) return _x; - //BA.debugLineNum = 1640;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48234504; + //BA.debugLineNum = 48234504;BA.debugLine="End Sub"; return false; } public static boolean _revisapro3054(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisapro3054", false)) + {return ((Boolean) Debug.delegate(null, "revisapro3054", new Object[] {_ba,_idcliente}));} anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null; boolean _x = false; - //BA.debugLineNum = 1643;BA.debugLine="Sub revisaPRO3054(idCliente As String) As Boolean"; - //BA.debugLineNum = 1644;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=48300032; + //BA.debugLineNum = 48300032;BA.debugLine="Sub revisaPRO3054(idCliente As String) As Boolean"; +RDebugUtils.currentLine=48300033; + //BA.debugLineNum = 48300033;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; _r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); _r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from HIST_PRO3054 where H_IDCLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'")))); - //BA.debugLineNum = 1645;BA.debugLine="Private x As Boolean = False"; +RDebugUtils.currentLine=48300034; + //BA.debugLineNum = 48300034;BA.debugLine="Private x As Boolean = False"; _x = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1646;BA.debugLine="Do While r.NextRow"; +RDebugUtils.currentLine=48300035; + //BA.debugLineNum = 48300035;BA.debugLine="Do While r.NextRow"; while (_r.NextRow()) { - //BA.debugLineNum = 1647;BA.debugLine="x = True"; +RDebugUtils.currentLine=48300036; + //BA.debugLineNum = 48300036;BA.debugLine="x = True"; _x = anywheresoftware.b4a.keywords.Common.True; } ; - //BA.debugLineNum = 1649;BA.debugLine="Log($\">>>> revisaPRO3054 ${idCliente} = ${x}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448234502",(">>>> revisaPRO3054 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0); - //BA.debugLineNum = 1650;BA.debugLine="Return x"; +RDebugUtils.currentLine=48300038; + //BA.debugLineNum = 48300038;BA.debugLine="Log($\">>>> revisaPRO3054 ${idCliente} = ${x}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048300038",(">>>> revisaPRO3054 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0); +RDebugUtils.currentLine=48300039; + //BA.debugLineNum = 48300039;BA.debugLine="Return x"; if (true) return _x; - //BA.debugLineNum = 1651;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48300040; + //BA.debugLineNum = 48300040;BA.debugLine="End Sub"; return false; } public static boolean _revisapro3055(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisapro3055", false)) + {return ((Boolean) Debug.delegate(null, "revisapro3055", new Object[] {_ba,_idcliente}));} anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null; boolean _x = false; - //BA.debugLineNum = 1654;BA.debugLine="Sub revisaPRO3055(idCliente As String) As Boolean"; - //BA.debugLineNum = 1655;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=48365568; + //BA.debugLineNum = 48365568;BA.debugLine="Sub revisaPRO3055(idCliente As String) As Boolean"; +RDebugUtils.currentLine=48365569; + //BA.debugLineNum = 48365569;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; _r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); _r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from HIST_PRO3055 where H_IDCLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'")))); - //BA.debugLineNum = 1656;BA.debugLine="Private x As Boolean = False"; +RDebugUtils.currentLine=48365570; + //BA.debugLineNum = 48365570;BA.debugLine="Private x As Boolean = False"; _x = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1657;BA.debugLine="Do While r.NextRow"; +RDebugUtils.currentLine=48365571; + //BA.debugLineNum = 48365571;BA.debugLine="Do While r.NextRow"; while (_r.NextRow()) { - //BA.debugLineNum = 1658;BA.debugLine="x = True"; +RDebugUtils.currentLine=48365572; + //BA.debugLineNum = 48365572;BA.debugLine="x = True"; _x = anywheresoftware.b4a.keywords.Common.True; } ; - //BA.debugLineNum = 1660;BA.debugLine="Log($\">>>> revisaPRO3055 ${idCliente} = ${x}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448300038",(">>>> revisaPRO3055 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0); - //BA.debugLineNum = 1661;BA.debugLine="Return x"; +RDebugUtils.currentLine=48365574; + //BA.debugLineNum = 48365574;BA.debugLine="Log($\">>>> revisaPRO3055 ${idCliente} = ${x}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048365574",(">>>> revisaPRO3055 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0); +RDebugUtils.currentLine=48365575; + //BA.debugLineNum = 48365575;BA.debugLine="Return x"; if (true) return _x; - //BA.debugLineNum = 1662;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48365576; + //BA.debugLineNum = 48365576;BA.debugLine="End Sub"; return false; } public static boolean _revisaprodfueradepromo(anywheresoftware.b4a.BA _ba,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisaprodfueradepromo", false)) + {return ((Boolean) Debug.delegate(null, "revisaprodfueradepromo", new Object[] {_ba,_prodid}));} boolean _fueradepromo = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _p = null; - //BA.debugLineNum = 1863;BA.debugLine="Sub revisaProdFueraDePromo(prodId As String) As Bo"; - //BA.debugLineNum = 1864;BA.debugLine="Private fueraDePromo As Boolean = False"; +RDebugUtils.currentLine=48889856; + //BA.debugLineNum = 48889856;BA.debugLine="Sub revisaProdFueraDePromo(prodId As String) As Bo"; +RDebugUtils.currentLine=48889857; + //BA.debugLineNum = 48889857;BA.debugLine="Private fueraDePromo As Boolean = False"; _fueradepromo = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1865;BA.debugLine="Private p As Cursor = Starter.skmt.ExecQuery($\"se"; +RDebugUtils.currentLine=48889858; + //BA.debugLineNum = 48889858;BA.debugLine="Private p As Cursor = Starter.skmt.ExecQuery($\"se"; _p = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _p = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CEDIS from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and PE_CEDIS in (select id_almacen from CAT_ALMACEN) and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+"'")))); - //BA.debugLineNum = 1866;BA.debugLine="Log(\"rowcount: \" & p.RowCount)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448824323","rowcount: "+BA.NumberToString(_p.getRowCount()),0); - //BA.debugLineNum = 1867;BA.debugLine="If p.RowCount > 0 Then"; +RDebugUtils.currentLine=48889859; + //BA.debugLineNum = 48889859;BA.debugLine="Log(\"rowcount: \" & p.RowCount)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048889859","rowcount: "+BA.NumberToString(_p.getRowCount()),0); +RDebugUtils.currentLine=48889860; + //BA.debugLineNum = 48889860;BA.debugLine="If p.RowCount > 0 Then"; if (_p.getRowCount()>0) { - //BA.debugLineNum = 1868;BA.debugLine="p.Position = 0"; +RDebugUtils.currentLine=48889861; + //BA.debugLineNum = 48889861;BA.debugLine="p.Position = 0"; _p.setPosition((int) (0)); - //BA.debugLineNum = 1869;BA.debugLine="Log($\"|${p.GetString(\"PE_CEDIS\")}|${prodId}|\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448824326",("|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p.GetString("PE_CEDIS")))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"|"),0); - //BA.debugLineNum = 1870;BA.debugLine="fueraDePromo = True"; +RDebugUtils.currentLine=48889862; + //BA.debugLineNum = 48889862;BA.debugLine="Log($\"|${p.GetString(\"PE_CEDIS\")}|${prodId}|\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048889862",("|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p.GetString("PE_CEDIS")))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"|"),0); +RDebugUtils.currentLine=48889863; + //BA.debugLineNum = 48889863;BA.debugLine="fueraDePromo = True"; _fueradepromo = anywheresoftware.b4a.keywords.Common.True; }; - //BA.debugLineNum = 1872;BA.debugLine="Return fueraDePromo"; +RDebugUtils.currentLine=48889865; + //BA.debugLineNum = 48889865;BA.debugLine="Return fueraDePromo"; if (true) return _fueradepromo; - //BA.debugLineNum = 1873;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48889866; + //BA.debugLineNum = 48889866;BA.debugLine="End Sub"; return false; } public static String _revisapromoprocterpro3009(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _prodsmap1) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisapromoprocterpro3009", false)) + {return ((String) Debug.delegate(null, "revisapromoprocterpro3009", new Object[] {_ba,_prodsmap1}));} anywheresoftware.b4a.objects.collections.List _almacenes = null; String _idregalo = ""; anywheresoftware.b4a.objects.collections.Map _newprodsmap = null; @@ -2656,1147 +4758,754 @@ anywheresoftware.b4a.objects.collections.Map _m2 = null; anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r2 = null; anywheresoftware.b4a.objects.CSBuilder _cs = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null; - //BA.debugLineNum = 1527;BA.debugLine="Sub revisaPromoProcterPRO3009(prodsMap1 As Map)"; - //BA.debugLineNum = 1528;BA.debugLine="Log(\"entramos a promo Procter\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037889","entramos a promo Procter",0); - //BA.debugLineNum = 1529;BA.debugLine="Dim almacenes As List"; +RDebugUtils.currentLine=48103424; + //BA.debugLineNum = 48103424;BA.debugLine="Sub revisaPromoProcterPRO3009(prodsMap1 As Map)"; +RDebugUtils.currentLine=48103425; + //BA.debugLineNum = 48103425;BA.debugLine="Log(\"entramos a promo Procter\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103425","entramos a promo Procter",0); +RDebugUtils.currentLine=48103426; + //BA.debugLineNum = 48103426;BA.debugLine="Dim almacenes As List"; _almacenes = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1530;BA.debugLine="almacenes.Initialize2(Array As String(\"3\", \"17\","; +RDebugUtils.currentLine=48103427; + //BA.debugLineNum = 48103427;BA.debugLine="almacenes.Initialize2(Array As String(\"3\", \"17\","; _almacenes.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"3","17","37","31","68","71","33","80"})); - //BA.debugLineNum = 1531;BA.debugLine="Log(\"Posicion de almacen: \" & almacenes.IndexOf(t"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037892","Posicion de almacen: "+BA.NumberToString(_almacenes.IndexOf((Object)(_traealmacen(_ba)))),0); - //BA.debugLineNum = 1533;BA.debugLine="If almacenes.IndexOf(traeAlmacen) >= 0 Then ' Si"; +RDebugUtils.currentLine=48103428; + //BA.debugLineNum = 48103428;BA.debugLine="Log(\"Posicion de almacen: \" & almacenes.IndexOf(t"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103428","Posicion de almacen: "+BA.NumberToString(_almacenes.IndexOf((Object)(_traealmacen(_ba)))),0); +RDebugUtils.currentLine=48103430; + //BA.debugLineNum = 48103430;BA.debugLine="If almacenes.IndexOf(traeAlmacen) >= 0 Then ' Si"; if (_almacenes.IndexOf((Object)(_traealmacen(_ba)))>=0) { - //BA.debugLineNum = 1534;BA.debugLine="Private idRegalo As String = \"PYG1016\""; +RDebugUtils.currentLine=48103431; + //BA.debugLineNum = 48103431;BA.debugLine="Private idRegalo As String = \"PYG1016\""; _idregalo = "PYG1016"; - //BA.debugLineNum = 1535;BA.debugLine="Private newProdsMap As Map = prodsMap1"; +RDebugUtils.currentLine=48103432; + //BA.debugLineNum = 48103432;BA.debugLine="Private newProdsMap As Map = prodsMap1"; _newprodsmap = new anywheresoftware.b4a.objects.collections.Map(); _newprodsmap = _prodsmap1; - //BA.debugLineNum = 1536;BA.debugLine="Private monto As String = 0"; +RDebugUtils.currentLine=48103433; + //BA.debugLineNum = 48103433;BA.debugLine="Private monto As String = 0"; _monto = BA.NumberToString(0); - //BA.debugLineNum = 1537;BA.debugLine="Private invRegalo As Int = 0"; +RDebugUtils.currentLine=48103434; + //BA.debugLineNum = 48103434;BA.debugLine="Private invRegalo As Int = 0"; _invregalo = (int) (0); - //BA.debugLineNum = 1538;BA.debugLine="Private totalRegalos As Int = 0"; +RDebugUtils.currentLine=48103435; + //BA.debugLineNum = 48103435;BA.debugLine="Private totalRegalos As Int = 0"; _totalregalos = (int) (0); - //BA.debugLineNum = 1539;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery("; +RDebugUtils.currentLine=48103436; + //BA.debugLineNum = 48103436;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery("; _r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); _r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select ifnull(cat_gp_almacen, 0) as CAT_GP_ALMACEN from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"'")))); - //BA.debugLineNum = 1540;BA.debugLine="Do While r.NextRow"; +RDebugUtils.currentLine=48103437; + //BA.debugLineNum = 48103437;BA.debugLine="Do While r.NextRow"; while (_r.NextRow()) { - //BA.debugLineNum = 1541;BA.debugLine="Log(r.GetString(\"CAT_GP_ALMACEN\"))"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037902",_r.GetString("CAT_GP_ALMACEN"),0); - //BA.debugLineNum = 1542;BA.debugLine="If r.GetString(\"CAT_GP_ALMACEN\") > 0 Then invRe"; +RDebugUtils.currentLine=48103438; + //BA.debugLineNum = 48103438;BA.debugLine="Log(r.GetString(\"CAT_GP_ALMACEN\"))"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103438",_r.GetString("CAT_GP_ALMACEN"),0); +RDebugUtils.currentLine=48103439; + //BA.debugLineNum = 48103439;BA.debugLine="If r.GetString(\"CAT_GP_ALMACEN\") > 0 Then invRe"; if ((double)(Double.parseDouble(_r.GetString("CAT_GP_ALMACEN")))>0) { _invregalo = (int)(Double.parseDouble(_r.GetString("CAT_GP_ALMACEN")));}; } ; - //BA.debugLineNum = 1544;BA.debugLine="Log(\"INV REGALO: \" & invRegalo)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037905","INV REGALO: "+BA.NumberToString(_invregalo),0); - //BA.debugLineNum = 1545;BA.debugLine="r = Starter.skmt.ExecQuery($\"select pe_proid fro"; +RDebugUtils.currentLine=48103441; + //BA.debugLineNum = 48103441;BA.debugLine="Log(\"INV REGALO: \" & invRegalo)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103441","INV REGALO: "+BA.NumberToString(_invregalo),0); +RDebugUtils.currentLine=48103442; + //BA.debugLineNum = 48103442;BA.debugLine="r = Starter.skmt.ExecQuery($\"select pe_proid fro"; _r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select pe_proid from pedido where pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cedis = 'PRO3009' and pe_cant = 1 and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"' ")))); - //BA.debugLineNum = 1546;BA.debugLine="If r.RowCount > 0 Then totalRegalos = r.RowCount"; +RDebugUtils.currentLine=48103443; + //BA.debugLineNum = 48103443;BA.debugLine="If r.RowCount > 0 Then totalRegalos = r.RowCount"; if (_r.getRowCount()>0) { _totalregalos = _r.getRowCount();}; - //BA.debugLineNum = 1547;BA.debugLine="Log($\"TOTAL REGALOS: ${totalRegalos}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037908",("TOTAL REGALOS: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalregalos))+""),0); - //BA.debugLineNum = 1548;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1014\") Then ' Calcu"; +RDebugUtils.currentLine=48103444; + //BA.debugLineNum = 48103444;BA.debugLine="Log($\"TOTAL REGALOS: ${totalRegalos}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103444",("TOTAL REGALOS: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalregalos))+""),0); +RDebugUtils.currentLine=48103445; + //BA.debugLineNum = 48103445;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1014\") Then ' Calcu"; if (_prodsmap1.ContainsKey((Object)("PYG1014"))) { - //BA.debugLineNum = 1549;BA.debugLine="Private m1 As Map = prodsMap1.Get(\"PYG1014\")"; +RDebugUtils.currentLine=48103446; + //BA.debugLineNum = 48103446;BA.debugLine="Private m1 As Map = prodsMap1.Get(\"PYG1014\")"; _m1 = new anywheresoftware.b4a.objects.collections.Map(); _m1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap1.Get((Object)("PYG1014")))); - //BA.debugLineNum = 1550;BA.debugLine="monto = monto + m1.Get(\"cant\") * m1.Get(\"precio"; +RDebugUtils.currentLine=48103447; + //BA.debugLineNum = 48103447;BA.debugLine="monto = monto + m1.Get(\"cant\") * m1.Get(\"precio"; _monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(BA.ObjectToNumber(_m1.Get((Object)("cant"))))*(double)(BA.ObjectToNumber(_m1.Get((Object)("precio"))))); }; - //BA.debugLineNum = 1552;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1025\") Then ' Calc"; +RDebugUtils.currentLine=48103449; + //BA.debugLineNum = 48103449;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1025\") Then ' Calc"; if (_prodsmap1.ContainsKey((Object)("PYG1025"))) { - //BA.debugLineNum = 1553;BA.debugLine="Private m2 As Map = prodsMap1.Get(\"PYG1025\")"; +RDebugUtils.currentLine=48103450; + //BA.debugLineNum = 48103450;BA.debugLine="Private m2 As Map = prodsMap1.Get(\"PYG1025\")"; _m2 = new anywheresoftware.b4a.objects.collections.Map(); _m2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap1.Get((Object)("PYG1025")))); - //BA.debugLineNum = 1554;BA.debugLine="monto = monto + m2.Get(\"cant\") * m2.Get(\"precio"; +RDebugUtils.currentLine=48103451; + //BA.debugLineNum = 48103451;BA.debugLine="monto = monto + m2.Get(\"cant\") * m2.Get(\"precio"; _monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(BA.ObjectToNumber(_m2.Get((Object)("cant"))))*(double)(BA.ObjectToNumber(_m2.Get((Object)("precio"))))); }; - //BA.debugLineNum = 1556;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=48103453; + //BA.debugLineNum = 48103453;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery"; _r2 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); _r2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select ifnull(sum(pe_costo_tot),0) as monto from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"' and PE_PROID in (\"PYG1014\", \"PYG1025\")")))); - //BA.debugLineNum = 1557;BA.debugLine="Do While r2.NextRow"; +RDebugUtils.currentLine=48103454; + //BA.debugLineNum = 48103454;BA.debugLine="Do While r2.NextRow"; while (_r2.NextRow()) { - //BA.debugLineNum = 1558;BA.debugLine="monto = monto + r2.GetString(\"monto\")"; +RDebugUtils.currentLine=48103455; + //BA.debugLineNum = 48103455;BA.debugLine="monto = monto + r2.GetString(\"monto\")"; _monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_r2.GetString("monto")))); } ; - //BA.debugLineNum = 1560;BA.debugLine="Log($\"Monto: ${monto}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037921",("Monto: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); - //BA.debugLineNum = 1562;BA.debugLine="Log(\"prodsMap.Size: \" & prodsMap1.Size)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037923","prodsMap.Size: "+BA.NumberToString(_prodsmap1.getSize()),0); - //BA.debugLineNum = 1563;BA.debugLine="If prodsMap1.Size > 0 Then"; +RDebugUtils.currentLine=48103457; + //BA.debugLineNum = 48103457;BA.debugLine="Log($\"Monto: ${monto}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103457",("Monto: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); +RDebugUtils.currentLine=48103459; + //BA.debugLineNum = 48103459;BA.debugLine="Log(\"prodsMap.Size: \" & prodsMap1.Size)"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103459","prodsMap.Size: "+BA.NumberToString(_prodsmap1.getSize()),0); +RDebugUtils.currentLine=48103460; + //BA.debugLineNum = 48103460;BA.debugLine="If prodsMap1.Size > 0 Then"; if (_prodsmap1.getSize()>0) { - //BA.debugLineNum = 1564;BA.debugLine="If monto > 149 Then"; +RDebugUtils.currentLine=48103461; + //BA.debugLineNum = 48103461;BA.debugLine="If monto > 149 Then"; if ((double)(Double.parseDouble(_monto))>149) { - //BA.debugLineNum = 1565;BA.debugLine="Log(\"Mas de 149\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037926","Mas de 149",0); - //BA.debugLineNum = 1566;BA.debugLine="If invRegalo > 0 Then"; +RDebugUtils.currentLine=48103462; + //BA.debugLineNum = 48103462;BA.debugLine="Log(\"Mas de 149\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103462","Mas de 149",0); +RDebugUtils.currentLine=48103463; + //BA.debugLineNum = 48103463;BA.debugLine="If invRegalo > 0 Then"; if (_invregalo>0) { - //BA.debugLineNum = 1567;BA.debugLine="Log(\"Hay inventario para regalo\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037928","Hay inventario para regalo",0); - //BA.debugLineNum = 1568;BA.debugLine="If totalRegalos = 0 Then"; +RDebugUtils.currentLine=48103464; + //BA.debugLineNum = 48103464;BA.debugLine="Log(\"Hay inventario para regalo\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103464","Hay inventario para regalo",0); +RDebugUtils.currentLine=48103465; + //BA.debugLineNum = 48103465;BA.debugLine="If totalRegalos = 0 Then"; if (_totalregalos==0) { - //BA.debugLineNum = 1569;BA.debugLine="guardaProducto(\"PRO3009\", 1, 1, traeProdNomb"; +RDebugUtils.currentLine=48103466; + //BA.debugLineNum = 48103466;BA.debugLine="guardaProducto(\"PRO3009\", 1, 1, traeProdNomb"; _guardaproducto(_ba,"PRO3009",BA.NumberToString(1),BA.NumberToString(1),_traeprodnombre(_ba,_idregalo),_idregalo,_traecliente(_ba),_traefecha(_ba),_traeusuariodebd(_ba),_traeruta(_ba),BA.NumberToString(0),mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ); - //BA.debugLineNum = 1571;BA.debugLine="Private cs As CSBuilder"; +RDebugUtils.currentLine=48103468; + //BA.debugLineNum = 48103468;BA.debugLine="Private cs As CSBuilder"; _cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1572;BA.debugLine="cs.Initialize"; +RDebugUtils.currentLine=48103469; + //BA.debugLineNum = 48103469;BA.debugLine="cs.Initialize"; _cs.Initialize(); - //BA.debugLineNum = 1573;BA.debugLine="Msgbox(cs.Color(Colors.red).append(\"PRO3009:"; +RDebugUtils.currentLine=48103470; + //BA.debugLineNum = 48103470;BA.debugLine="Msgbox(cs.Color(Colors.red).append(\"PRO3009:"; anywheresoftware.b4a.keywords.Common.Msgbox(BA.ObjectToCharSequence(_cs.Color(anywheresoftware.b4a.keywords.Common.Colors.Red).Append(BA.ObjectToCharSequence("PRO3009:")).Pop().Append(BA.ObjectToCharSequence(" En la compra de $150 de la linea Oral B Procter & Gamble se agrega 1 Salvo Multiusuos 500 ml.")).Color(anywheresoftware.b4a.keywords.Common.Colors.Red).Append(BA.ObjectToCharSequence(" con precio de $1.00")).PopAll().getObject()),BA.ObjectToCharSequence("Producto de regalo agregado"),_ba); }; }else { - //BA.debugLineNum = 1576;BA.debugLine="LogColor(\"NO hay inventario para regalo PRO30"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037937","NO hay inventario para regalo PRO3009 Procter & Gamble.",anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=48103473; + //BA.debugLineNum = 48103473;BA.debugLine="LogColor(\"NO hay inventario para regalo PRO30"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103473","NO hay inventario para regalo PRO3009 Procter & Gamble.",anywheresoftware.b4a.keywords.Common.Colors.Red); }; }else { - //BA.debugLineNum = 1579;BA.debugLine="Log(\"Menos de 149\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037940","Menos de 149",0); - //BA.debugLineNum = 1580;BA.debugLine="If totalRegalos > 0 Then"; +RDebugUtils.currentLine=48103476; + //BA.debugLineNum = 48103476;BA.debugLine="Log(\"Menos de 149\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103476","Menos de 149",0); +RDebugUtils.currentLine=48103477; + //BA.debugLineNum = 48103477;BA.debugLine="If totalRegalos > 0 Then"; if (_totalregalos>0) { - //BA.debugLineNum = 1581;BA.debugLine="Log(\"Quitamos regalo\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037942","Quitamos regalo",0); - //BA.debugLineNum = 1582;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; +RDebugUtils.currentLine=48103478; + //BA.debugLineNum = 48103478;BA.debugLine="Log(\"Quitamos regalo\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103478","Quitamos regalo",0); +RDebugUtils.currentLine=48103479; + //BA.debugLineNum = 48103479;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = 'PRO3009' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"' and pe_cant = 1 ")); - //BA.debugLineNum = 1583;BA.debugLine="Log($\"Borramos pe_cedis='PRO3009' and pe_proi"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037944",("Borramos pe_cedis='PRO3009' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0); - //BA.debugLineNum = 1584;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery"; +RDebugUtils.currentLine=48103480; + //BA.debugLineNum = 48103480;BA.debugLine="Log($\"Borramos pe_cedis='PRO3009' and pe_proi"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103480",("Borramos pe_cedis='PRO3009' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0); +RDebugUtils.currentLine=48103481; + //BA.debugLineNum = 48103481;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery"; _pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))); - //BA.debugLineNum = 1585;BA.debugLine="pe.Position=0"; +RDebugUtils.currentLine=48103482; + //BA.debugLineNum = 48103482;BA.debugLine="pe.Position=0"; _pe.setPosition((int) (0)); - //BA.debugLineNum = 1586;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; +RDebugUtils.currentLine=48103483; + //BA.debugLineNum = 48103483;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then"; if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1587;BA.debugLine="Log(\"###### delete from pedido_cliente -"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037948","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_traecliente(_ba),0); - //BA.debugLineNum = 1588;BA.debugLine="Log($\"delete from pedido_cliente where PC_CL"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037949",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0); - //BA.debugLineNum = 1589;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedi"; +RDebugUtils.currentLine=48103484; + //BA.debugLineNum = 48103484;BA.debugLine="Log(\"###### delete from pedido_cliente -"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103484","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_traecliente(_ba),0); +RDebugUtils.currentLine=48103485; + //BA.debugLineNum = 48103485;BA.debugLine="Log($\"delete from pedido_cliente where PC_CL"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103485",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0); +RDebugUtils.currentLine=48103486; + //BA.debugLineNum = 48103486;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedi"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")); }; - //BA.debugLineNum = 1591;BA.debugLine="ToastMessageShow(\"Quitamos regalo PRO3009\", F"; +RDebugUtils.currentLine=48103488; + //BA.debugLineNum = 48103488;BA.debugLine="ToastMessageShow(\"Quitamos regalo PRO3009\", F"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Quitamos regalo PRO3009"),anywheresoftware.b4a.keywords.Common.False); }; }; }; }else { - //BA.debugLineNum = 1596;BA.debugLine="LogColor(\"El almacen actual NO esta en la lista"; -anywheresoftware.b4a.keywords.Common.LogImpl("448037957","El almacen actual NO esta en la lista para la promo de Procter & Gamble.",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=48103493; + //BA.debugLineNum = 48103493;BA.debugLine="LogColor(\"El almacen actual NO esta en la lista"; +anywheresoftware.b4a.keywords.Common.LogImpl("048103493","El almacen actual NO esta en la lista para la promo de Procter & Gamble.",anywheresoftware.b4a.keywords.Common.Colors.Magenta); }; - //BA.debugLineNum = 1599;BA.debugLine="End Sub"; +RDebugUtils.currentLine=48103496; + //BA.debugLineNum = 48103496;BA.debugLine="End Sub"; +return ""; +} +public static String _traeprodnombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprodnombre", false)) + {return ((String) Debug.delegate(null, "traeprodnombre", new Object[] {_ba,_id}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; +String _n = ""; +RDebugUtils.currentLine=46006272; + //BA.debugLineNum = 46006272;BA.debugLine="Sub traeProdNombre(id As String) As String"; +RDebugUtils.currentLine=46006273; + //BA.debugLineNum = 46006273;BA.debugLine="Private h As Cursor"; +_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46006274; + //BA.debugLineNum = 46006274;BA.debugLine="Private n As String"; +_n = ""; +RDebugUtils.currentLine=46006275; + //BA.debugLineNum = 46006275;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT_"; +_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where CAT_GP_ID = ? "),new String[]{_id.trim()}))); +RDebugUtils.currentLine=46006276; + //BA.debugLineNum = 46006276;BA.debugLine="If h.RowCount > 0 Then"; +if (_h.getRowCount()>0) { +RDebugUtils.currentLine=46006277; + //BA.debugLineNum = 46006277;BA.debugLine="h.Position = 0"; +_h.setPosition((int) (0)); +RDebugUtils.currentLine=46006278; + //BA.debugLineNum = 46006278;BA.debugLine="n = h.GetString(\"CAT_GP_NOMBRE\")"; +_n = _h.GetString("CAT_GP_NOMBRE"); + }; +RDebugUtils.currentLine=46006281; + //BA.debugLineNum = 46006281;BA.debugLine="h.Close"; +_h.Close(); +RDebugUtils.currentLine=46006282; + //BA.debugLineNum = 46006282;BA.debugLine="If n = Null Or n=\"\" Then n = \"N/A\""; +if (_n== null || (_n).equals("")) { +_n = "N/A";}; +RDebugUtils.currentLine=46006284; + //BA.debugLineNum = 46006284;BA.debugLine="Return n"; +if (true) return _n; +RDebugUtils.currentLine=46006285; + //BA.debugLineNum = 46006285;BA.debugLine="End Sub"; +return ""; +} +public static String _traefecha(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traefecha", false)) + {return ((String) Debug.delegate(null, "traefecha", new Object[] {_ba}));} +String _sdate = ""; +String _stime = ""; +RDebugUtils.currentLine=46596096; + //BA.debugLineNum = 46596096;BA.debugLine="Sub traeFecha As String 'ignore"; +RDebugUtils.currentLine=46596097; + //BA.debugLineNum = 46596097;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=46596098; + //BA.debugLineNum = 46596098;BA.debugLine="Private sDate As String =DateTime.Date(DateTime.N"; +_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=46596099; + //BA.debugLineNum = 46596099;BA.debugLine="Private sTime As String =DateTime.Time(DateTime.N"; +_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=46596100; + //BA.debugLineNum = 46596100;BA.debugLine="Return sDate & sTime"; +if (true) return _sdate+_stime; +RDebugUtils.currentLine=46596101; + //BA.debugLineNum = 46596101;BA.debugLine="End Sub"; +return ""; +} +public static String _traeusuariodebd(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeusuariodebd", false)) + {return ((String) Debug.delegate(null, "traeusuariodebd", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _u = ""; +RDebugUtils.currentLine=46661632; + //BA.debugLineNum = 46661632;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; +RDebugUtils.currentLine=46661633; + //BA.debugLineNum = 46661633;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=46661634; + //BA.debugLineNum = 46661634;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=46661635; + //BA.debugLineNum = 46661635;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=46661636; + //BA.debugLineNum = 46661636;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=46661637; + //BA.debugLineNum = 46661637;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=46661638; + //BA.debugLineNum = 46661638;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +if (_c.getRowCount()>0) { +_u = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=46661639; + //BA.debugLineNum = 46661639;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=46661640; + //BA.debugLineNum = 46661640;BA.debugLine="Return u"; +if (true) return _u; +RDebugUtils.currentLine=46661641; + //BA.debugLineNum = 46661641;BA.debugLine="End Sub"; return ""; } public static String _revisauug(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisauug", false)) + {return ((String) Debug.delegate(null, "revisauug", new Object[] {_ba}));} int _daa = 0; - //BA.debugLineNum = 347;BA.debugLine="Sub revisaUUG 'ignore"; - //BA.debugLineNum = 348;BA.debugLine="Try"; -try { //BA.debugLineNum = 350;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; +RDebugUtils.currentLine=44695552; + //BA.debugLineNum = 44695552;BA.debugLine="Sub revisaUUG 'ignore"; +RDebugUtils.currentLine=44695553; + //BA.debugLineNum = 44695553;BA.debugLine="Try"; +try {RDebugUtils.currentLine=44695555; + //BA.debugLineNum = 44695555;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 351;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(T"; +RDebugUtils.currentLine=44695556; + //BA.debugLineNum = 44695556;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(T"; _daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject()))); - //BA.debugLineNum = 352;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f"; +RDebugUtils.currentLine=44695557; + //BA.debugLineNum = 44695557;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f"; if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("444630021",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; - //BA.debugLineNum = 353;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio"; +anywheresoftware.b4a.keywords.Common.LogImpl("044695557",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; +RDebugUtils.currentLine=44695558; + //BA.debugLineNum = 44695558;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio"; if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) { - //BA.debugLineNum = 354;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,"; +RDebugUtils.currentLine=44695559; + //BA.debugLineNum = 44695559;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,"; _kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude())})); - //BA.debugLineNum = 355;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a"; +RDebugUtils.currentLine=44695560; + //BA.debugLineNum = 44695560;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a"; if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("444630024","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("044695560","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; }; - //BA.debugLineNum = 357;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc"; +RDebugUtils.currentLine=44695562; + //BA.debugLineNum = 44695562;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc"; mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); }; } catch (Exception e12) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e12); //BA.debugLineNum = 360;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is"; -anywheresoftware.b4a.keywords.Common.LogImpl("444630029","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e12);RDebugUtils.currentLine=44695565; + //BA.debugLineNum = 44695565;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is"; +anywheresoftware.b4a.keywords.Common.LogImpl("044695565","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; - //BA.debugLineNum = 362;BA.debugLine="End Sub"; +RDebugUtils.currentLine=44695567; + //BA.debugLineNum = 44695567;BA.debugLine="End Sub"; return ""; } public static String _setdivider(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _lv,int _color,int _height) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "setdivider", false)) + {return ((String) Debug.delegate(null, "setdivider", new Object[] {_ba,_lv,_color,_height}));} anywheresoftware.b4a.agraham.reflection.Reflection _r = null; anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; - //BA.debugLineNum = 42;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh"; - //BA.debugLineNum = 43;BA.debugLine="Dim r As Reflector"; +RDebugUtils.currentLine=43188224; + //BA.debugLineNum = 43188224;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh"; +RDebugUtils.currentLine=43188225; + //BA.debugLineNum = 43188225;BA.debugLine="Dim r As Reflector"; _r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 44;BA.debugLine="r.Target = lv"; +RDebugUtils.currentLine=43188226; + //BA.debugLineNum = 43188226;BA.debugLine="r.Target = lv"; _r.Target = (Object)(_lv.getObject()); - //BA.debugLineNum = 45;BA.debugLine="Dim CD As ColorDrawable"; +RDebugUtils.currentLine=43188227; + //BA.debugLineNum = 43188227;BA.debugLine="Dim CD As ColorDrawable"; _cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); - //BA.debugLineNum = 46;BA.debugLine="CD.Initialize(Color, 0)"; +RDebugUtils.currentLine=43188228; + //BA.debugLineNum = 43188228;BA.debugLine="CD.Initialize(Color, 0)"; _cd.Initialize(_color,(int) (0)); - //BA.debugLineNum = 47;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A"; +RDebugUtils.currentLine=43188229; + //BA.debugLineNum = 43188229;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A"; _r.RunMethod4("setDivider",new Object[]{(Object)(_cd.getObject())},new String[]{"android.graphics.drawable.Drawable"}); - //BA.debugLineNum = 48;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la"; +RDebugUtils.currentLine=43188230; + //BA.debugLineNum = 43188230;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la"; _r.RunMethod2("setDividerHeight",BA.NumberToString(_height),"java.lang.int"); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; +RDebugUtils.currentLine=43188231; + //BA.debugLineNum = 43188231;BA.debugLine="End Sub"; return ""; } public static String _totalpedido(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "totalpedido", false)) + {return ((String) Debug.delegate(null, "totalpedido", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _ct = null; String _ptotal = ""; String _tempt = ""; - //BA.debugLineNum = 755;BA.debugLine="Sub totalPedido As String"; - //BA.debugLineNum = 756;BA.debugLine="Private cT As Cursor = Starter.skmt.ExecQuery($\"s"; +RDebugUtils.currentLine=46268416; + //BA.debugLineNum = 46268416;BA.debugLine="Sub totalPedido As String"; +RDebugUtils.currentLine=46268417; + //BA.debugLineNum = 46268417;BA.debugLine="Private cT As Cursor = Starter.skmt.ExecQuery($\"s"; _ct = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ct = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total from PEDIDO where PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"' AND PE_CEDIS <> 'DUR'")))); - //BA.debugLineNum = 757;BA.debugLine="Private pTotal As String = \"0\""; +RDebugUtils.currentLine=46268418; + //BA.debugLineNum = 46268418;BA.debugLine="Private pTotal As String = \"0\""; _ptotal = "0"; - //BA.debugLineNum = 758;BA.debugLine="If cT.RowCount > 0 Then"; +RDebugUtils.currentLine=46268419; + //BA.debugLineNum = 46268419;BA.debugLine="If cT.RowCount > 0 Then"; if (_ct.getRowCount()>0) { - //BA.debugLineNum = 759;BA.debugLine="cT.Position = 0"; +RDebugUtils.currentLine=46268420; + //BA.debugLineNum = 46268420;BA.debugLine="cT.Position = 0"; _ct.setPosition((int) (0)); - //BA.debugLineNum = 761;BA.debugLine="Private tempT As String = cT.GetLong(\"total\")"; +RDebugUtils.currentLine=46268422; + //BA.debugLineNum = 46268422;BA.debugLine="Private tempT As String = cT.GetLong(\"total\")"; _tempt = BA.NumberToString(_ct.GetLong("total")); - //BA.debugLineNum = 762;BA.debugLine="If tempT <> \"null\" And tempT <> Null Then"; +RDebugUtils.currentLine=46268423; + //BA.debugLineNum = 46268423;BA.debugLine="If tempT <> \"null\" And tempT <> Null Then"; if ((_tempt).equals("null") == false && _tempt!= null) { - //BA.debugLineNum = 764;BA.debugLine="pTotal = tempT"; +RDebugUtils.currentLine=46268425; + //BA.debugLineNum = 46268425;BA.debugLine="pTotal = tempT"; _ptotal = _tempt; }; }; - //BA.debugLineNum = 768;BA.debugLine="cT.Close"; +RDebugUtils.currentLine=46268429; + //BA.debugLineNum = 46268429;BA.debugLine="cT.Close"; _ct.Close(); - //BA.debugLineNum = 769;BA.debugLine="Return pTotal"; +RDebugUtils.currentLine=46268430; + //BA.debugLineNum = 46268430;BA.debugLine="Return pTotal"; if (true) return _ptotal; - //BA.debugLineNum = 770;BA.debugLine="End Sub"; -return ""; -} -public static String _traealmacen(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _a = ""; - //BA.debugLineNum = 643;BA.debugLine="Sub traeAlmacen As String 'ignore"; - //BA.debugLineNum = 644;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 645;BA.debugLine="Private a As String = \"NA\""; -_a = "NA"; - //BA.debugLineNum = 646;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 647;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 648;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 649;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; -_a = _c.GetString("ID_ALMACEN"); - }; - //BA.debugLineNum = 651;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 652;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 653;BA.debugLine="End Sub"; -return ""; -} -public static String _traecliente(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _cl = ""; - //BA.debugLineNum = 819;BA.debugLine="Sub traeCliente As String 'ignore"; - //BA.debugLineNum = 820;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 821;BA.debugLine="Private cl As String"; -_cl = ""; - //BA.debugLineNum = 822;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 823;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 824;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 825;BA.debugLine="cl = c.GetString(\"CUENTA\")"; -_cl = _c.GetString("CUENTA"); - }; - //BA.debugLineNum = 827;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 829;BA.debugLine="Return cl"; -if (true) return _cl; - //BA.debugLineNum = 830;BA.debugLine="End Sub"; -return ""; -} -public static String _traefecha(anywheresoftware.b4a.BA _ba) throws Exception{ -String _sdate = ""; -String _stime = ""; - //BA.debugLineNum = 832;BA.debugLine="Sub traeFecha As String 'ignore"; - //BA.debugLineNum = 833;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 834;BA.debugLine="Private sDate As String =DateTime.Date(DateTime.N"; -_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 835;BA.debugLine="Private sTime As String =DateTime.Time(DateTime.N"; -_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 836;BA.debugLine="Return sDate & sTime"; -if (true) return _sdate+_stime; - //BA.debugLineNum = 837;BA.debugLine="End Sub"; +RDebugUtils.currentLine=46268431; + //BA.debugLineNum = 46268431;BA.debugLine="End Sub"; return ""; } public static String _traeinventario(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeinventario", false)) + {return ((String) Debug.delegate(null, "traeinventario", new Object[] {_ba,_id}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _inventario = ""; - //BA.debugLineNum = 1980;BA.debugLine="Sub traeinventario(id As String) As String"; - //BA.debugLineNum = 1981;BA.debugLine="Dim c As Cursor"; +RDebugUtils.currentLine=49414144; + //BA.debugLineNum = 49414144;BA.debugLine="Sub traeinventario(id As String) As String"; +RDebugUtils.currentLine=49414145; + //BA.debugLineNum = 49414145;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1982;BA.debugLine="Dim inventario As String = \"0\""; +RDebugUtils.currentLine=49414146; + //BA.debugLineNum = 49414146;BA.debugLine="Dim inventario As String = \"0\""; _inventario = "0"; - //BA.debugLineNum = 1983;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +RDebugUtils.currentLine=49414147; + //BA.debugLineNum = 49414147;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ )))+" where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 1985;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=49414149; + //BA.debugLineNum = 49414149;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1986;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=49414150; + //BA.debugLineNum = 49414150;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1987;BA.debugLine="inventario = c.GetString(\"CAT_GP_ALMACEN\")"; +RDebugUtils.currentLine=49414151; + //BA.debugLineNum = 49414151;BA.debugLine="inventario = c.GetString(\"CAT_GP_ALMACEN\")"; _inventario = _c.GetString("CAT_GP_ALMACEN"); }; - //BA.debugLineNum = 1989;BA.debugLine="c.Close"; +RDebugUtils.currentLine=49414153; + //BA.debugLineNum = 49414153;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1990;BA.debugLine="Return inventario"; +RDebugUtils.currentLine=49414154; + //BA.debugLineNum = 49414154;BA.debugLine="Return inventario"; if (true) return _inventario; - //BA.debugLineNum = 1991;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49414155; + //BA.debugLineNum = 49414155;BA.debugLine="End Sub"; return ""; } -public static int _traemaxpromos(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ -boolean _thislog = false; -anywheresoftware.b4a.objects.collections.List _maxpromos = null; -int _vendidas = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 1029;BA.debugLine="Sub traeMaxPromos(pm As Map) As Int"; - //BA.debugLineNum = 1030;BA.debugLine="Private thisLog As Boolean = True 'Si es verdader"; -_thislog = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 1031;BA.debugLine="Private maxPromos As List"; -_maxpromos = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1032;BA.debugLine="Private vendidas As Int = 0"; -_vendidas = (int) (0); - //BA.debugLineNum = 1033;BA.debugLine="maxPromos.Initialize"; -_maxpromos.Initialize(); - //BA.debugLineNum = 1035;BA.debugLine="If thisLog Then Log(pm)"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("446923782",BA.ObjectToString(_pm),0);}; - //BA.debugLineNum = 1036;BA.debugLine="If pm.Get(\"historico\") = \"1\" Then maxPromos.Add(p"; -if ((_pm.Get((Object)("historico"))).equals((Object)("1"))) { -_maxpromos.Add(_pm.Get((Object)("maxRecurrente")));}; - //BA.debugLineNum = 1037;BA.debugLine="maxPromos.Add(pm.Get(\"maxPromos\")) 'Agregamos max"; -_maxpromos.Add(_pm.Get((Object)("maxPromos"))); - //BA.debugLineNum = 1038;BA.debugLine="maxPromos.Add(pm.Get(\"maxXcliente\")) 'Agregamos m"; -_maxpromos.Add(_pm.Get((Object)("maxXcliente"))); - //BA.debugLineNum = 1039;BA.debugLine="If thisLog Then Log(maxPromos)"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("446923786",BA.ObjectToString(_maxpromos),0);}; - //BA.debugLineNum = 1040;BA.debugLine="maxPromos.Sort(True)"; -_maxpromos.Sort(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 1042;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; -if ((mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 1043;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? AND PE_FUTURO = '1' ",new String[]{(BA.ObjectToString(_pm.Get((Object)("id")))).trim(),_traecliente(_ba).trim()}))); - }else { - //BA.debugLineNum = 1045;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? AND PE_FUTURO = '0' ",new String[]{(BA.ObjectToString(_pm.Get((Object)("id")))).trim(),_traecliente(_ba).trim()}))); - }; - //BA.debugLineNum = 1047;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1048;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1049;BA.debugLine="vendidas = c.GetInt(\"vendidas\")"; -_vendidas = _c.GetInt("vendidas"); - }; - //BA.debugLineNum = 1055;BA.debugLine="Return maxPromos.Get(0) - vendidas 'Regresamos el"; -if (true) return (int) ((double)(BA.ObjectToNumber(_maxpromos.Get((int) (0))))-_vendidas); - //BA.debugLineNum = 1056;BA.debugLine="End Sub"; -return 0; -} public static boolean _traemontoprod(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemontoprod", false)) + {return ((Boolean) Debug.delegate(null, "traemontoprod", new Object[] {_ba}));} boolean _x = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; - //BA.debugLineNum = 1321;BA.debugLine="Sub TraeMontoProd As Boolean"; - //BA.debugLineNum = 1322;BA.debugLine="Private x As Boolean = False"; +RDebugUtils.currentLine=47644672; + //BA.debugLineNum = 47644672;BA.debugLine="Sub TraeMontoProd As Boolean"; +RDebugUtils.currentLine=47644673; + //BA.debugLineNum = 47644673;BA.debugLine="Private x As Boolean = False"; _x = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1323;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=47644674; + //BA.debugLineNum = 47644674;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1324;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=47644675; + //BA.debugLineNum = 47644675;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1325;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=47644676; + //BA.debugLineNum = 47644676;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1326;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex"; +RDebugUtils.currentLine=47644677; + //BA.debugLineNum = 47644677;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))); - //BA.debugLineNum = 1327;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=47644678; + //BA.debugLineNum = 47644678;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 1328;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=47644679; + //BA.debugLineNum = 47644679;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 1329;BA.debugLine="If c.GetString(\"suma\") >= c2.GetString(\"CAT_PE"; +RDebugUtils.currentLine=47644680; + //BA.debugLineNum = 47644680;BA.debugLine="If c.GetString(\"suma\") >= c2.GetString(\"CAT_PE"; if ((double)(Double.parseDouble(_c.GetString("suma")))>=(double)(Double.parseDouble(_c2.GetString("CAT_PE_MONTO")))) { - //BA.debugLineNum = 1330;BA.debugLine="x = True"; +RDebugUtils.currentLine=47644681; + //BA.debugLineNum = 47644681;BA.debugLine="x = True"; _x = anywheresoftware.b4a.keywords.Common.True; }else { - //BA.debugLineNum = 1333;BA.debugLine="x = False"; +RDebugUtils.currentLine=47644684; + //BA.debugLineNum = 47644684;BA.debugLine="x = False"; _x = anywheresoftware.b4a.keywords.Common.False; }; }; }; - //BA.debugLineNum = 1338;BA.debugLine="Return x"; +RDebugUtils.currentLine=47644689; + //BA.debugLineNum = 47644689;BA.debugLine="Return x"; if (true) return _x; - //BA.debugLineNum = 1339;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47644690; + //BA.debugLineNum = 47644690;BA.debugLine="End Sub"; return false; } public static boolean _traemontoprod2(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemontoprod2", false)) + {return ((Boolean) Debug.delegate(null, "traemontoprod2", new Object[] {_ba}));} boolean _x = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; - //BA.debugLineNum = 1343;BA.debugLine="Sub TraeMontoProd2 As Boolean"; - //BA.debugLineNum = 1345;BA.debugLine="Private x As Boolean = False"; +RDebugUtils.currentLine=47710208; + //BA.debugLineNum = 47710208;BA.debugLine="Sub TraeMontoProd2 As Boolean"; +RDebugUtils.currentLine=47710210; + //BA.debugLineNum = 47710210;BA.debugLine="Private x As Boolean = False"; _x = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1347;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=47710212; + //BA.debugLineNum = 47710212;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1349;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=47710214; + //BA.debugLineNum = 47710214;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1351;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=47710216; + //BA.debugLineNum = 47710216;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1353;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex"; +RDebugUtils.currentLine=47710218; + //BA.debugLineNum = 47710218;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP"))); - //BA.debugLineNum = 1355;BA.debugLine="If c2.RowCount > 0 Then"; +RDebugUtils.currentLine=47710220; + //BA.debugLineNum = 47710220;BA.debugLine="If c2.RowCount > 0 Then"; if (_c2.getRowCount()>0) { - //BA.debugLineNum = 1357;BA.debugLine="c2.Position = 0"; +RDebugUtils.currentLine=47710222; + //BA.debugLineNum = 47710222;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 1359;BA.debugLine="If c.GetString(\"suma\") >= 350 And c.GetString(\""; +RDebugUtils.currentLine=47710224; + //BA.debugLineNum = 47710224;BA.debugLine="If c.GetString(\"suma\") >= 350 And c.GetString(\""; if ((double)(Double.parseDouble(_c.GetString("suma")))>=350 && (double)(Double.parseDouble(_c.GetString("suma")))<=499.99) { - //BA.debugLineNum = 1361;BA.debugLine="x = True"; +RDebugUtils.currentLine=47710226; + //BA.debugLineNum = 47710226;BA.debugLine="x = True"; _x = anywheresoftware.b4a.keywords.Common.True; }else { - //BA.debugLineNum = 1364;BA.debugLine="x = False"; +RDebugUtils.currentLine=47710229; + //BA.debugLineNum = 47710229;BA.debugLine="x = False"; _x = anywheresoftware.b4a.keywords.Common.False; }; }; }; - //BA.debugLineNum = 1370;BA.debugLine="Return x"; +RDebugUtils.currentLine=47710235; + //BA.debugLineNum = 47710235;BA.debugLine="Return x"; if (true) return _x; - //BA.debugLineNum = 1372;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47710237; + //BA.debugLineNum = 47710237;BA.debugLine="End Sub"; return false; } -public static anywheresoftware.b4a.objects.collections.Map _traemosinventariodisponibleparapromo(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -anywheresoftware.b4a.objects.collections.Map _prods = null; -int _i = 0; - //BA.debugLineNum = 952;BA.debugLine="Sub traemosInventarioDisponibleParaPromo(promo As"; - //BA.debugLineNum = 953;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 954;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)"),new String[]{_promo}))); - //BA.debugLineNum = 957;BA.debugLine="Private prods As Map"; -_prods = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 958;BA.debugLine="prods.Initialize"; -_prods.Initialize(); - //BA.debugLineNum = 959;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 960;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step6 = 1; -final int limit6 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 961;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 962;BA.debugLine="prods.Put(c.GetString(\"CAT_GP_ID\"), c.GetString"; -_prods.Put((Object)(_c.GetString("CAT_GP_ID")),(Object)(_c.GetString("CAT_GP_ALMACEN"))); - } -}; - }; - //BA.debugLineNum = 967;BA.debugLine="Return prods"; -if (true) return _prods; - //BA.debugLineNum = 968;BA.debugLine="End Sub"; -return null; -} -public static String _traenombrecliente(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _c = null; -String _n = ""; - //BA.debugLineNum = 1506;BA.debugLine="Sub traeNombreCliente(id As String) As String"; - //BA.debugLineNum = 1507;BA.debugLine="Private c As ResultSet = B4XPages.MainPage.skmt.E"; -_c = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 1508;BA.debugLine="Private n As String = \"N/A\""; -_n = "N/A"; - //BA.debugLineNum = 1509;BA.debugLine="Do While c.NextRow"; -while (_c.NextRow()) { - //BA.debugLineNum = 1510;BA.debugLine="n = c.GetString(\"CAT_CL_NOMBRE\")"; -_n = _c.GetString("CAT_CL_NOMBRE"); - } -; - //BA.debugLineNum = 1512;BA.debugLine="Return n"; -if (true) return _n; - //BA.debugLineNum = 1513;BA.debugLine="End Sub"; -return ""; -} public static anywheresoftware.b4a.objects.collections.Map _traeprodiddebd(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprodiddebd", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traeprodiddebd", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 1259;BA.debugLine="Sub traeProdIdDeBD As Map 'ignore"; - //BA.debugLineNum = 1260;BA.debugLine="Private c As Cursor"; +RDebugUtils.currentLine=47382528; + //BA.debugLineNum = 47382528;BA.debugLine="Sub traeProdIdDeBD As Map 'ignore"; +RDebugUtils.currentLine=47382529; + //BA.debugLineNum = 47382529;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1261;BA.debugLine="Private m As Map"; +RDebugUtils.currentLine=47382530; + //BA.debugLineNum = 47382530;BA.debugLine="Private m As Map"; _m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1262;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +RDebugUtils.currentLine=47382531; + //BA.debugLineNum = 47382531;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_TIPO, CAT_GP_SUBTIPO from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where CAT_GP_NOMBRE In (Select PDESC from PROID)")))); - //BA.debugLineNum = 1263;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=47382532; + //BA.debugLineNum = 47382532;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1264;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=47382533; + //BA.debugLineNum = 47382533;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1265;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; +RDebugUtils.currentLine=47382534; + //BA.debugLineNum = 47382534;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; _m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_c.GetString("CAT_GP_ID")),(Object)("nombre"),(Object)(_c.GetString("CAT_GP_NOMBRE")),(Object)("tipo"),(Object)(_c.GetString("CAT_GP_TIPO")),(Object)("subtipo"),(Object)(_c.GetString("CAT_GP_SUBTIPO"))}); }else { - //BA.debugLineNum = 1267;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; +RDebugUtils.currentLine=47382536; + //BA.debugLineNum = 47382536;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; _m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)("N/A"),(Object)("nombre"),(Object)("N/A"),(Object)("tipo"),(Object)("N/A"),(Object)("subtipo"),(Object)("N/A")}); }; - //BA.debugLineNum = 1269;BA.debugLine="c.Close"; +RDebugUtils.currentLine=47382538; + //BA.debugLineNum = 47382538;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1270;BA.debugLine="Return m"; +RDebugUtils.currentLine=47382539; + //BA.debugLineNum = 47382539;BA.debugLine="Return m"; if (true) return _m; - //BA.debugLineNum = 1271;BA.debugLine="End Sub"; -return null; -} -public static String _traeprodnombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; -String _n = ""; - //BA.debugLineNum = 656;BA.debugLine="Sub traeProdNombre(id As String) As String"; - //BA.debugLineNum = 657;BA.debugLine="Private h As Cursor"; -_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 658;BA.debugLine="Private n As String"; -_n = ""; - //BA.debugLineNum = 659;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT_"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where CAT_GP_ID = ? "),new String[]{_id.trim()}))); - //BA.debugLineNum = 660;BA.debugLine="If h.RowCount > 0 Then"; -if (_h.getRowCount()>0) { - //BA.debugLineNum = 661;BA.debugLine="h.Position = 0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 662;BA.debugLine="n = h.GetString(\"CAT_GP_NOMBRE\")"; -_n = _h.GetString("CAT_GP_NOMBRE"); - }; - //BA.debugLineNum = 665;BA.debugLine="h.Close"; -_h.Close(); - //BA.debugLineNum = 666;BA.debugLine="If n = Null Or n=\"\" Then n = \"N/A\""; -if (_n== null || (_n).equals("")) { -_n = "N/A";}; - //BA.debugLineNum = 668;BA.debugLine="Return n"; -if (true) return _n; - //BA.debugLineNum = 669;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _traepromo(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{ -String _iniciocontador = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _sihistorico = ""; -anywheresoftware.b4a.objects.collections.Map _promomap = null; -anywheresoftware.b4a.objects.collections.List _prodsfijos = null; -anywheresoftware.b4a.objects.collections.List _prodsfijosprecios = null; -anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; -anywheresoftware.b4a.objects.collections.List _prodsvariables = null; -anywheresoftware.b4a.objects.collections.List _prodsvariables2 = null; -anywheresoftware.b4a.objects.collections.List _prodsvariablesprecios = null; -anywheresoftware.b4a.objects.collections.List _prodsvariablesprecios2 = null; -anywheresoftware.b4a.objects.collections.Map _prods = null; -anywheresoftware.b4a.objects.collections.Map _tipos = null; -int _i = 0; -String _pvr = ""; -String _pvr2 = ""; - //BA.debugLineNum = 2013;BA.debugLine="Sub traePromo(promo As String, cliente As String)"; - //BA.debugLineNum = 2014;BA.debugLine="Private inicioContador As String = DateTime.Now"; -_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 2015;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from promos_comp where cat_pa_id = '"+_promo+"'"))); - //BA.debugLineNum = 2016;BA.debugLine="Private siHistorico As String = 0"; -_sihistorico = BA.NumberToString(0); - //BA.debugLineNum = 2017;BA.debugLine="Private promoMap As Map"; -_promomap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 2018;BA.debugLine="Private prodsFijos, prodsFijosPrecios, prodsFijos"; -_prodsfijos = new anywheresoftware.b4a.objects.collections.List(); -_prodsfijosprecios = new anywheresoftware.b4a.objects.collections.List(); -_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariables = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariablesprecios = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariablesprecios2 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2019;BA.debugLine="promoMap.Initialize"; -_promomap.Initialize(); - //BA.debugLineNum = 2020;BA.debugLine="prodsFijos.Initialize"; -_prodsfijos.Initialize(); - //BA.debugLineNum = 2021;BA.debugLine="prodsFijosPrecios.Initialize"; -_prodsfijosprecios.Initialize(); - //BA.debugLineNum = 2022;BA.debugLine="prodsFijosPiezas.Initialize"; -_prodsfijospiezas.Initialize(); - //BA.debugLineNum = 2023;BA.debugLine="prodsVariables.Initialize"; -_prodsvariables.Initialize(); - //BA.debugLineNum = 2024;BA.debugLine="prodsVariables2.Initialize"; -_prodsvariables2.Initialize(); - //BA.debugLineNum = 2025;BA.debugLine="prodsVariablesPrecios.Initialize"; -_prodsvariablesprecios.Initialize(); - //BA.debugLineNum = 2026;BA.debugLine="prodsVariablesPrecios2.Initialize"; -_prodsvariablesprecios2.Initialize(); - //BA.debugLineNum = 2027;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2028;BA.debugLine="If c.RowCount > 0 Then promoMap = CreateMap(\"id\":"; -if (_c.getRowCount()>0) { -_promomap = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_promo),(Object)("maxXcliente"),(Object)(_c.GetString("CAT_PA_MAXPROMCLIE")),(Object)("maxRecurrente"),(Object)(_c.GetString("CAT_PA_MAXPROMREC")),(Object)("maxPromos"),(Object)(_c.GetString("CAT_PA_MAXPROM"))});}; - //BA.debugLineNum = 2029;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as hist from HIST_PROMOS where HP_CLIENTE = '"+_cliente+"' and HP_CODIGO_PROMOCION = '"+_promo+"'"))); - //BA.debugLineNum = 2030;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2031;BA.debugLine="If c.GetString(\"hist\") > 0 Then siHistorico = 1"; -if ((double)(Double.parseDouble(_c.GetString("hist")))>0) { -_sihistorico = BA.NumberToString(1);}; - //BA.debugLineNum = 2032;BA.debugLine="promoMap.Put(\"historico\", siHistorico)"; -_promomap.Put((Object)("historico"),(Object)(_sihistorico)); - //BA.debugLineNum = 2033;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select * fr"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CAT_DETALLES_PAQ where CAT_DP_ID = '"+_promo+"'"))); - //BA.debugLineNum = 2034;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2035;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2036;BA.debugLine="Private prods, tipos As Map"; -_prods = new anywheresoftware.b4a.objects.collections.Map(); -_tipos = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 2037;BA.debugLine="prods.Initialize"; -_prods.Initialize(); - //BA.debugLineNum = 2038;BA.debugLine="tipos.Initialize"; -_tipos.Initialize(); - //BA.debugLineNum = 2039;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step26 = 1; -final int limit26 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit26 ;_i = _i + step26 ) { - //BA.debugLineNum = 2040;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 2041;BA.debugLine="prods.Put(c.GetString(\"CAT_DP_IDPROD\"), CreateM"; -_prods.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("idProducto"),(Object)(_c.GetString("CAT_DP_IDPROD")),(Object)("precioSimptos"),(Object)(_c.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)("precio"),(Object)(_c.GetString("CAT_DP_PRECIO")),(Object)("almacen"),(Object)(_c.GetString("CAT_DP_ALMACEN")),(Object)("tipo"),(Object)(_c.GetString("CAT_DP_TIPO")),(Object)("piezas"),(Object)(_c.GetString("CAT_DP_PZAS")),(Object)("usuario"),(Object)(_c.GetString("CAT_DP_USUARIO")),(Object)("regalo"),(Object)(_c.GetString("CAT_DP_REGALO")),(Object)("clasif"),(Object)(_c.GetString("CAT_DP_CLASIF"))}).getObject())); - //BA.debugLineNum = 2042;BA.debugLine="tipos.Put(c.GetString(\"CAT_DP_IDPROD\"), c.GetSt"; -_tipos.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(_c.GetString("CAT_DP_TIPO"))); - //BA.debugLineNum = 2043;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"0\" Then"; -if ((_c.GetString("CAT_DP_TIPO")).equals("0")) { - //BA.debugLineNum = 2044;BA.debugLine="prodsFijos.Add(c.GetString(\"CAT_DP_IDPROD\"))"; -_prodsfijos.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); - //BA.debugLineNum = 2045;BA.debugLine="prodsFijosPrecios.Add(c.GetString(\"CAT_DP_PREC"; -_prodsfijosprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); - //BA.debugLineNum = 2046;BA.debugLine="prodsFijosPiezas.Add(c.GetString(\"CAT_DP_PZAS\""; -_prodsfijospiezas.Add((Object)(_c.GetString("CAT_DP_PZAS"))); - }; - //BA.debugLineNum = 2048;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"1\" Then"; -if ((_c.GetString("CAT_DP_TIPO")).equals("1")) { - //BA.debugLineNum = 2049;BA.debugLine="prodsVariables.Add(c.GetString(\"CAT_DP_IDPROD\""; -_prodsvariables.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); - //BA.debugLineNum = 2050;BA.debugLine="prodsVariablesPrecios.Add(c.GetString(\"CAT_DP_"; -_prodsvariablesprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); - }; - //BA.debugLineNum = 2052;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"2\" Then"; -if ((_c.GetString("CAT_DP_TIPO")).equals("2")) { - //BA.debugLineNum = 2054;BA.debugLine="prodsVariables2.Add(c.GetString(\"CAT_DP_IDPROD"; -_prodsvariables2.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); - //BA.debugLineNum = 2055;BA.debugLine="prodsVariablesPrecios2.Add(c.GetString(\"CAT_DP"; -_prodsvariablesprecios2.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); - }; - } -}; - //BA.debugLineNum = 2060;BA.debugLine="promoMap.Put(\"productos\", prods) 'Mapa con los p"; -_promomap.Put((Object)("productos"),(Object)(_prods.getObject())); - //BA.debugLineNum = 2061;BA.debugLine="promoMap.Put(\"tipos\", tipos) 'Mapa con los produ"; -_promomap.Put((Object)("tipos"),(Object)(_tipos.getObject())); - //BA.debugLineNum = 2062;BA.debugLine="promoMap.Put(\"prodsFijos\", prodsFijos) 'Lista de"; -_promomap.Put((Object)("prodsFijos"),(Object)(_prodsfijos.getObject())); - //BA.debugLineNum = 2063;BA.debugLine="promoMap.Put(\"prodsVariables\", prodsVariables) '"; -_promomap.Put((Object)("prodsVariables"),(Object)(_prodsvariables.getObject())); - //BA.debugLineNum = 2064;BA.debugLine="promoMap.Put(\"prodsVariables2\", prodsVariables2)"; -_promomap.Put((Object)("prodsVariables2"),(Object)(_prodsvariables2.getObject())); - //BA.debugLineNum = 2065;BA.debugLine="promoMap.Put(\"prodsFijosCant\", prodsFijos.Size)"; -_promomap.Put((Object)("prodsFijosCant"),(Object)(_prodsfijos.getSize())); - //BA.debugLineNum = 2066;BA.debugLine="promoMap.Put(\"prodsFijosPrecios\", prodsFijosPrec"; -_promomap.Put((Object)("prodsFijosPrecios"),(Object)(_prodsfijosprecios.getObject())); - //BA.debugLineNum = 2067;BA.debugLine="promoMap.Put(\"prodsFijosPiezas\", prodsFijosPieza"; -_promomap.Put((Object)("prodsFijosPiezas"),(Object)(_prodsfijospiezas.getObject())); - //BA.debugLineNum = 2068;BA.debugLine="promoMap.Put(\"prodsVariablesCant\", prodsVariable"; -_promomap.Put((Object)("prodsVariablesCant"),(Object)(_prodsvariables.getSize())); - //BA.debugLineNum = 2069;BA.debugLine="promoMap.Put(\"prodsVariables2Cant\", prodsVariabl"; -_promomap.Put((Object)("prodsVariables2Cant"),(Object)(_prodsvariables2.getSize())); - //BA.debugLineNum = 2070;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios\", prodsVaria"; -_promomap.Put((Object)("prodsVariablesPrecios"),(Object)(_prodsvariablesprecios.getObject())); - //BA.debugLineNum = 2071;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios2\", prodsVari"; -_promomap.Put((Object)("prodsVariablesPrecios2"),(Object)(_prodsvariablesprecios2.getObject())); - //BA.debugLineNum = 2072;BA.debugLine="promoMap.Put(\"resultado\", \"ok\")"; -_promomap.Put((Object)("resultado"),(Object)("ok")); - }else { - //BA.debugLineNum = 2074;BA.debugLine="promoMap.Put(\"resultado\", \"No hay datos de la pr"; -_promomap.Put((Object)("resultado"),(Object)("No hay datos de la promoción.")); - }; - //BA.debugLineNum = 2076;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"Select CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select CAT_GP_STS, CAT_GP_IMP1, CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = ?"),new String[]{_promo}))); - //BA.debugLineNum = 2077;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2078;BA.debugLine="Private pvr As String = 0"; -_pvr = BA.NumberToString(0); - //BA.debugLineNum = 2079;BA.debugLine="Private pvr2 As String = 0"; -_pvr2 = BA.NumberToString(0); - //BA.debugLineNum = 2080;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2081;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2082;BA.debugLine="pvr = c.GetString(\"CAT_GP_STS\")"; -_pvr = _c.GetString("CAT_GP_STS"); - //BA.debugLineNum = 2083;BA.debugLine="pvr2 = c.GetString(\"CAT_GP_IMP1\")"; -_pvr2 = _c.GetString("CAT_GP_IMP1"); - //BA.debugLineNum = 2084;BA.debugLine="If pvr = Null Or pvr = \"null\" Then pvr = 0"; -if (_pvr== null || (_pvr).equals("null")) { -_pvr = BA.NumberToString(0);}; - //BA.debugLineNum = 2085;BA.debugLine="If pvr2 = Null Or pvr2 = \"null\" Then pvr2 = 0"; -if (_pvr2== null || (_pvr2).equals("null")) { -_pvr2 = BA.NumberToString(0);}; - //BA.debugLineNum = 2086;BA.debugLine="promoMap.Put(\"prodsVariablesRequeridos\", pvr) 'C"; -_promomap.Put((Object)("prodsVariablesRequeridos"),(Object)(_pvr)); - //BA.debugLineNum = 2087;BA.debugLine="promoMap.Put(\"prodsVariables2Requeridos\", pvr2)"; -_promomap.Put((Object)("prodsVariables2Requeridos"),(Object)(_pvr2)); - //BA.debugLineNum = 2088;BA.debugLine="promoMap.put(\"descripcion\", c.GetString(\"CAT_GP_"; -_promomap.Put((Object)("descripcion"),(Object)(_c.GetString("CAT_GP_NOMBRE"))); - }; - //BA.debugLineNum = 2090;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2095;BA.debugLine="Return promoMap"; -if (true) return _promomap; - //BA.debugLineNum = 2096;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47382540; + //BA.debugLineNum = 47382540;BA.debugLine="End Sub"; return null; } public static anywheresoftware.b4a.objects.collections.Map _traepromoiddebd(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traepromoiddebd", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traepromoiddebd", new Object[] {_ba}));} anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 1276;BA.debugLine="Sub traePromoIdDeBD As Map 'ignore"; - //BA.debugLineNum = 1277;BA.debugLine="Private c As Cursor"; +RDebugUtils.currentLine=47448064; + //BA.debugLineNum = 47448064;BA.debugLine="Sub traePromoIdDeBD As Map 'ignore"; +RDebugUtils.currentLine=47448065; + //BA.debugLineNum = 47448065;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1278;BA.debugLine="Private m As Map"; +RDebugUtils.currentLine=47448066; + //BA.debugLineNum = 47448066;BA.debugLine="Private m As Map"; _m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1280;BA.debugLine="Log(\"ENTRE\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("447382532","ENTRE",0); - //BA.debugLineNum = 1281;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +RDebugUtils.currentLine=47448068; + //BA.debugLineNum = 47448068;BA.debugLine="Log(\"ENTRE\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("047448068","ENTRE",0); +RDebugUtils.currentLine=47448069; + //BA.debugLineNum = 47448069;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_TIPO, CAT_GP_SUBTIPO from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where CAT_GP_NOMBRE In (Select PDESC from PROID) and CAT_GP_TIPO = 'PROMOS'")))); - //BA.debugLineNum = 1282;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=47448070; + //BA.debugLineNum = 47448070;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1283;BA.debugLine="c.Position = 0"; +RDebugUtils.currentLine=47448071; + //BA.debugLineNum = 47448071;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1284;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; +RDebugUtils.currentLine=47448072; + //BA.debugLineNum = 47448072;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; _m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_c.GetString("CAT_GP_ID")),(Object)("nombre"),(Object)(_c.GetString("CAT_GP_NOMBRE")),(Object)("tipo"),(Object)(_c.GetString("CAT_GP_TIPO")),(Object)("subtipo"),(Object)(_c.GetString("CAT_GP_SUBTIPO"))}); }else { - //BA.debugLineNum = 1286;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; +RDebugUtils.currentLine=47448074; + //BA.debugLineNum = 47448074;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; _m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)("N/A"),(Object)("nombre"),(Object)("N/A"),(Object)("tipo"),(Object)("N/A"),(Object)("subtipo"),(Object)("N/A")}); }; - //BA.debugLineNum = 1288;BA.debugLine="c.Close"; +RDebugUtils.currentLine=47448076; + //BA.debugLineNum = 47448076;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1290;BA.debugLine="Return m"; +RDebugUtils.currentLine=47448078; + //BA.debugLineNum = 47448078;BA.debugLine="Return m"; if (true) return _m; - //BA.debugLineNum = 1291;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47448079; + //BA.debugLineNum = 47448079;BA.debugLine="End Sub"; return null; } -public static int _traepromosvendidas(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -int _pv = 0; - //BA.debugLineNum = 1059;BA.debugLine="Sub traePromosVendidas(promo As String, cliente As"; - //BA.debugLineNum = 1060;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1061;BA.debugLine="Private pv As Int = 0"; -_pv = (int) (0); - //BA.debugLineNum = 1062;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR"; -if ((mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) { - //BA.debugLineNum = 1063;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CANT from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_promo))+"' and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' AND PE_FUTURO = '1' ")))); - }else { - //BA.debugLineNum = 1065;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CANT from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_promo))+"' and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' AND PE_FUTURO = '0' ")))); - }; - //BA.debugLineNum = 1067;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1068;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1069;BA.debugLine="pv = c.GetInt(\"PE_CANT\")"; -_pv = _c.GetInt("PE_CANT"); - }; - //BA.debugLineNum = 1071;BA.debugLine="Return pv"; -if (true) return _pv; - //BA.debugLineNum = 1072;BA.debugLine="End Sub"; -return 0; -} -public static String _traeruta(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; -String _idcliente = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _elcc = null; - //BA.debugLineNum = 673;BA.debugLine="Sub traeRuta As String 'ignore"; - //BA.debugLineNum = 674;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 675;BA.debugLine="Private r As String = \"0\""; -_r = "0"; - //BA.debugLineNum = 676;BA.debugLine="Private idCliente As String = \"\""; -_idcliente = ""; - //BA.debugLineNum = 677;BA.debugLine="Try"; -try { //BA.debugLineNum = 678;BA.debugLine="Private elCc As Cursor = Starter.skmt.ExecQuery("; -_elcc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_elcc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CUENTA from CUENTAA")))); - //BA.debugLineNum = 679;BA.debugLine="If elCc.RowCount > 0 Then"; -if (_elcc.getRowCount()>0) { - //BA.debugLineNum = 680;BA.debugLine="elCc.Position = 0"; -_elcc.setPosition((int) (0)); - //BA.debugLineNum = 681;BA.debugLine="idCliente = elCc.GetString(\"CUENTA\")"; -_idcliente = _elcc.GetString("CUENTA"); - //BA.debugLineNum = 682;BA.debugLine="Log(\"|\"&elCc.GetString(\"CUENTA\")&\"|\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("446006281","|"+_elcc.GetString("CUENTA")+"|",0); - }; - //BA.debugLineNum = 685;BA.debugLine="If idCliente <> \"\" Then"; -if ((_idcliente).equals("") == false) { - //BA.debugLineNum = 687;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select d"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'")))); - }else { - //BA.debugLineNum = 690;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select di"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))); - }; - //BA.debugLineNum = 693;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 695;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 696;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; -_r = _c.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 698;BA.debugLine="c.Close"; -_c.Close(); - } - catch (Exception e22) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e22); //BA.debugLineNum = 700;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("446006299",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - //BA.debugLineNum = 703;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 704;BA.debugLine="End Sub"; -return ""; -} -public static String _traeruta2(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; - //BA.debugLineNum = 773;BA.debugLine="Sub traeRuta2 (cliente As String) As String 'ignor"; - //BA.debugLineNum = 774;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 775;BA.debugLine="Private r As String"; -_r = ""; - //BA.debugLineNum = 776;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); - //BA.debugLineNum = 777;BA.debugLine="r = \"0\""; -_r = "0"; - //BA.debugLineNum = 778;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 779;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 780;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; -_r = _c.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 782;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 783;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 784;BA.debugLine="End Sub"; -return ""; -} -public static String _traerutabitacora(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; - //BA.debugLineNum = 786;BA.debugLine="Sub traeRutaBitacora As String 'ignore"; - //BA.debugLineNum = 787;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 788;BA.debugLine="Private r As String"; -_r = ""; - //BA.debugLineNum = 789;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 790;BA.debugLine="r = \"0\""; -_r = "0"; - //BA.debugLineNum = 791;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 792;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 793;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; -_r = _c.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 795;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 796;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 797;BA.debugLine="End Sub"; -return ""; -} -public static String _traerutassup(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _rutas = ""; -int _i = 0; - //BA.debugLineNum = 800;BA.debugLine="Sub traeRutasSup As String"; - //BA.debugLineNum = 801;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 802;BA.debugLine="Dim rutas As String"; -_rutas = ""; - //BA.debugLineNum = 803;BA.debugLine="rutas = \"\""; -_rutas = ""; - //BA.debugLineNum = 805;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info3"))); - //BA.debugLineNum = 807;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 808;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step6 = 1; -final int limit6 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 809;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 810;BA.debugLine="rutas = rutas & c.GetString(\"CAT_CL_RUTA\") & \","; -_rutas = _rutas+_c.GetString("CAT_CL_RUTA")+", "; - } -}; - //BA.debugLineNum = 812;BA.debugLine="If rutas.Length > 0 Then rutas = rutas.SubString"; -if (_rutas.length()>0) { -_rutas = _rutas.substring((int) (0),(int) (_rutas.length()-2));}; - }; - //BA.debugLineNum = 815;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 816;BA.debugLine="Return rutas"; -if (true) return _rutas; - //BA.debugLineNum = 817;BA.debugLine="End Sub"; -return ""; -} -public static String _traetablaprods(anywheresoftware.b4a.BA _ba,String _tipoventa) throws Exception{ -String _tablaprods = ""; - //BA.debugLineNum = 1853;BA.debugLine="Sub traeTablaProds(tipoventa As String) As String"; - //BA.debugLineNum = 1854;BA.debugLine="Log(tipoventa)"; -anywheresoftware.b4a.keywords.Common.LogImpl("448758785",_tipoventa,0); - //BA.debugLineNum = 1855;BA.debugLine="Private tablaProds As String = \"cat_gunaprod2\""; -_tablaprods = "cat_gunaprod2"; - //BA.debugLineNum = 1856;BA.debugLine="If tipoventa = \"ABORDO\" Or tipoventa = \"PREVENTA\""; -if ((_tipoventa).equals("ABORDO") || (_tipoventa).equals("PREVENTA") || (_tipoventa).equals("PREVENTA_FUTURA") || (_tipoventa).equals("MAYOREO")) { -_tablaprods = "cat_gunaprod";}; - //BA.debugLineNum = 1858;BA.debugLine="Return tablaProds"; -if (true) return _tablaprods; - //BA.debugLineNum = 1859;BA.debugLine="End Sub"; -return ""; -} -public static int _traetipocliente(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; -int _tc = 0; - //BA.debugLineNum = 1967;BA.debugLine="Sub traeTipoCliente As Int"; - //BA.debugLineNum = 1968;BA.debugLine="Private x As Cursor"; -_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1969;BA.debugLine="Private tc As Int = 3"; -_tc = (int) (3); - //BA.debugLineNum = 1970;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(cat_cl"; -_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(cat_cl_tipocliente,3) AS CAT_CL_TIPOCLIENTE from kmt_info3 where cat_cl_codigo in (select cuenta from cuentaa)")))); - //BA.debugLineNum = 1971;BA.debugLine="If x.RowCount > 0 Then"; -if (_x.getRowCount()>0) { - //BA.debugLineNum = 1972;BA.debugLine="x.Position = 0"; -_x.setPosition((int) (0)); - //BA.debugLineNum = 1974;BA.debugLine="tc = x.GetInt(\"CAT_CL_TIPOCLIENTE\")"; -_tc = _x.GetInt("CAT_CL_TIPOCLIENTE"); - }; - //BA.debugLineNum = 1977;BA.debugLine="Return tc"; -if (true) return _tc; - //BA.debugLineNum = 1978;BA.debugLine="End Sub"; -return 0; -} -public static String _traetipoventadebd(anywheresoftware.b4a.BA _ba) throws Exception{ -String _tipoventa = ""; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null; - //BA.debugLineNum = 1876;BA.debugLine="Sub traeTipoVentaDeBD As String"; - //BA.debugLineNum = 1877;BA.debugLine="Private tipoVenta As String = \"PREVENTA\""; -_tipoventa = "PREVENTA"; - //BA.debugLineNum = 1878;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery(\""; -_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'TIPO_VENTA' "))); - //BA.debugLineNum = 1879;BA.debugLine="Do While r.NextRow"; -while (_r.NextRow()) { - //BA.debugLineNum = 1880;BA.debugLine="tipoVenta = r.GetString(\"CAT_VA_VALOR\").As(Strin"; -_tipoventa = (_r.GetString("CAT_VA_VALOR")).toUpperCase(); - } -; - //BA.debugLineNum = 1882;BA.debugLine="If Starter.idCliente = \"0\" Then"; -if ((mostCurrent._starter._idcliente /*String*/ ).equals("0")) { - //BA.debugLineNum = 1883;BA.debugLine="tipoVenta = \"ABORDO\""; -_tipoventa = "ABORDO"; - }; - //BA.debugLineNum = 1886;BA.debugLine="Return tipoVenta"; -if (true) return _tipoventa; - //BA.debugLineNum = 1887;BA.debugLine="End Sub"; -return ""; -} public static anywheresoftware.b4a.objects.collections.Map _traetotalesclienteactual(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetotalesclienteactual", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traetotalesclienteactual", new Object[] {_ba}));} anywheresoftware.b4a.objects.collections.Map _m = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _c_prodsx = null; - //BA.debugLineNum = 1994;BA.debugLine="Sub traeTotalesClienteActual As Map"; - //BA.debugLineNum = 1995;BA.debugLine="Private m As Map"; +RDebugUtils.currentLine=49479680; + //BA.debugLineNum = 49479680;BA.debugLine="Sub traeTotalesClienteActual As Map"; +RDebugUtils.currentLine=49479681; + //BA.debugLineNum = 49479681;BA.debugLine="Private m As Map"; _m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1996;BA.debugLine="m.Initialize"; +RDebugUtils.currentLine=49479682; + //BA.debugLineNum = 49479682;BA.debugLine="m.Initialize"; _m.Initialize(); - //BA.debugLineNum = 1997;BA.debugLine="Private c_prodsX As Cursor=B4XPages.MainPage.skmt"; +RDebugUtils.currentLine=49479683; + //BA.debugLineNum = 49479683;BA.debugLine="Private c_prodsX As Cursor=B4XPages.MainPage.skmt"; _c_prodsx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c_prodsx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ifnull(sum(PE_CANT), 0) as cantProds, ifnull(sum(PE_COSTO_TOT), 0) as costoTotal FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PRONOMBRE asc"))); - //BA.debugLineNum = 1998;BA.debugLine="c_prodsX.Position=0"; +RDebugUtils.currentLine=49479684; + //BA.debugLineNum = 49479684;BA.debugLine="c_prodsX.Position=0"; _c_prodsx.setPosition((int) (0)); - //BA.debugLineNum = 2000;BA.debugLine="m = CreateMap(\"productos\": c_prodsX.GetString(\"ca"; +RDebugUtils.currentLine=49479686; + //BA.debugLineNum = 49479686;BA.debugLine="m = CreateMap(\"productos\": c_prodsX.GetString(\"ca"; _m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("productos"),(Object)(_c_prodsx.GetString("cantProds")),(Object)("monto"),(Object)(_c_prodsx.GetString("costoTotal"))}); - //BA.debugLineNum = 2001;BA.debugLine="Return m"; +RDebugUtils.currentLine=49479687; + //BA.debugLineNum = 49479687;BA.debugLine="Return m"; if (true) return _m; - //BA.debugLineNum = 2002;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49479688; + //BA.debugLineNum = 49479688;BA.debugLine="End Sub"; return null; } -public static boolean _traeusarintentbdwa(anywheresoftware.b4a.BA _ba) throws Exception{ -boolean _bdwa = false; -anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; - //BA.debugLineNum = 1751;BA.debugLine="Sub traeUsarIntentBDWA As Boolean 'ignore"; - //BA.debugLineNum = 1752;BA.debugLine="Private BDWA As Boolean = False"; -_bdwa = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1753;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery($\"se"; -_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'IMPORTAR_BD_WA'")))); - //BA.debugLineNum = 1754;BA.debugLine="If x.RowCount > 0 Then"; -if (_x.getRowCount()>0) { - //BA.debugLineNum = 1755;BA.debugLine="x.Position = 0"; -_x.setPosition((int) (0)); - //BA.debugLineNum = 1756;BA.debugLine="If x.GetString(\"CAT_VA_VALOR\") = \"true\" Then BDW"; -if ((_x.GetString("CAT_VA_VALOR")).equals("true")) { -_bdwa = anywheresoftware.b4a.keywords.Common.True;}; - }; - //BA.debugLineNum = 1759;BA.debugLine="Return BDWA"; -if (true) return _bdwa; - //BA.debugLineNum = 1760;BA.debugLine="End Sub"; -return false; -} -public static String _traeusuariodebd(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _u = ""; - //BA.debugLineNum = 840;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; - //BA.debugLineNum = 841;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 842;BA.debugLine="Private u As String = \"SinUsuario\""; -_u = "SinUsuario"; - //BA.debugLineNum = 843;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 844;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 845;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 846;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; -if (_c.getRowCount()>0) { -_u = _c.GetString("USUARIO");}; - //BA.debugLineNum = 847;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 848;BA.debugLine="Return u"; -if (true) return _u; - //BA.debugLineNum = 849;BA.debugLine="End Sub"; -return ""; -} public static String _traevariable(anywheresoftware.b4a.BA _ba,String _nombre) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traevariable", false)) + {return ((String) Debug.delegate(null, "traevariable", new Object[] {_ba,_nombre}));} String _valor = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _lavc = null; - //BA.debugLineNum = 1896;BA.debugLine="Sub traeVariable(nombre As String) As String"; - //BA.debugLineNum = 1897;BA.debugLine="Private valor As String = \"\""; +RDebugUtils.currentLine=49086464; + //BA.debugLineNum = 49086464;BA.debugLine="Sub traeVariable(nombre As String) As String"; +RDebugUtils.currentLine=49086465; + //BA.debugLineNum = 49086465;BA.debugLine="Private valor As String = \"\""; _valor = ""; - //BA.debugLineNum = 1898;BA.debugLine="Private laVc As Cursor = Starter.skmt.ExecQuery($"; +RDebugUtils.currentLine=49086466; + //BA.debugLineNum = 49086466;BA.debugLine="Private laVc As Cursor = Starter.skmt.ExecQuery($"; _lavc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _lavc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+"'")))); - //BA.debugLineNum = 1899;BA.debugLine="If laVc.RowCount > 0 Then"; +RDebugUtils.currentLine=49086467; + //BA.debugLineNum = 49086467;BA.debugLine="If laVc.RowCount > 0 Then"; if (_lavc.getRowCount()>0) { - //BA.debugLineNum = 1900;BA.debugLine="laVc.Position = 0"; +RDebugUtils.currentLine=49086468; + //BA.debugLineNum = 49086468;BA.debugLine="laVc.Position = 0"; _lavc.setPosition((int) (0)); - //BA.debugLineNum = 1901;BA.debugLine="valor = laVc.GetString(\"CAT_VA_VALOR\")"; +RDebugUtils.currentLine=49086469; + //BA.debugLineNum = 49086469;BA.debugLine="valor = laVc.GetString(\"CAT_VA_VALOR\")"; _valor = _lavc.GetString("CAT_VA_VALOR"); }; - //BA.debugLineNum = 1903;BA.debugLine="Return valor"; +RDebugUtils.currentLine=49086471; + //BA.debugLineNum = 49086471;BA.debugLine="Return valor"; if (true) return _valor; - //BA.debugLineNum = 1904;BA.debugLine="End Sub"; -return ""; -} -public static String _validapromoprocterpro3009(anywheresoftware.b4a.BA _ba) throws Exception{ -String _idregalo = ""; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null; -String _monto = ""; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r2 = null; - //BA.debugLineNum = 1602;BA.debugLine="Sub validaPromoProcterPRO3009"; - //BA.debugLineNum = 1603;BA.debugLine="Private idRegalo As String = \"PYG1016\""; -_idregalo = "PYG1016"; - //BA.debugLineNum = 1604;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($"; -_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select pe_cliente from pedido where pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cedis = 'PRO3009'")))); - //BA.debugLineNum = 1606;BA.debugLine="Do While r.NextRow"; -while (_r.NextRow()) { - //BA.debugLineNum = 1607;BA.debugLine="Private monto As String = 0"; -_monto = BA.NumberToString(0); - //BA.debugLineNum = 1608;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery"; -_r2 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_r2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select ifnull(sum(pe_costo_tot),0) as monto from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"' and PE_PROID in (\"PYG1014\", \"PYG1025\")")))); - //BA.debugLineNum = 1609;BA.debugLine="Do While r2.NextRow"; -while (_r2.NextRow()) { - //BA.debugLineNum = 1610;BA.debugLine="Log($\"Cliente: ${r.GetString(\"PE_CLIENTE\")}, mo"; -anywheresoftware.b4a.keywords.Common.LogImpl("448103432",("Cliente: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+", monto: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r2.GetString("monto")))+""),0); - //BA.debugLineNum = 1613;BA.debugLine="If r2.GetString(\"monto\") < 150 Then"; -if ((double)(Double.parseDouble(_r2.GetString("monto")))<150) { - //BA.debugLineNum = 1614;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = 'PRO3009' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"' and pe_cant = 1 ")); - //BA.debugLineNum = 1616;BA.debugLine="Msgbox($\"Regalo de la promoción PRO3009 borrad"; -anywheresoftware.b4a.keywords.Common.Msgbox(BA.ObjectToCharSequence(("Regalo de la promoción PRO3009 borrado por no cumplir con los requisitos mínimos.")),BA.ObjectToCharSequence("Regalo Borrado"),_ba); - }; - } -; - //BA.debugLineNum = 1620;BA.debugLine="r2 = Starter.skmt.ExecQuery($\"select count(pe_pr"; -_r2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(pe_proid) as cuantos from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'")))); - //BA.debugLineNum = 1621;BA.debugLine="Do While r2.NextRow"; -while (_r2.NextRow()) { - //BA.debugLineNum = 1623;BA.debugLine="If r2.GetString(\"cuantos\") = 0 Then"; -if ((_r2.GetString("cuantos")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1624;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where pc_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'")); - //BA.debugLineNum = 1625;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info3 s"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info3 set gestion = 0 where cat_cl_codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'")); - }; - } -; - } -; - //BA.debugLineNum = 1629;BA.debugLine="End Sub"; +RDebugUtils.currentLine=49086472; + //BA.debugLineNum = 49086472;BA.debugLine="End Sub"; return ""; } public static boolean _vendidopromoesp(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "vendidopromoesp", false)) + {return ((Boolean) Debug.delegate(null, "vendidopromoesp", new Object[] {_ba}));} boolean _w = false; anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 1396;BA.debugLine="Sub vendidoPromoEsp As Boolean"; - //BA.debugLineNum = 1397;BA.debugLine="Private w As Boolean = False"; +RDebugUtils.currentLine=47841280; + //BA.debugLineNum = 47841280;BA.debugLine="Sub vendidoPromoEsp As Boolean"; +RDebugUtils.currentLine=47841281; + //BA.debugLineNum = 47841281;BA.debugLine="Private w As Boolean = False"; _w = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1398;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=47841282; + //BA.debugLineNum = 47841282;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HP_CLIENTE, HP_CODIGO_PROMOCION from HIST_PROMOS WHERE HP_CODIGO_PROMOCION IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP) AND HP_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1399;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=47841283; + //BA.debugLineNum = 47841283;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1400;BA.debugLine="w = True"; +RDebugUtils.currentLine=47841284; + //BA.debugLineNum = 47841284;BA.debugLine="w = True"; _w = anywheresoftware.b4a.keywords.Common.True; }; - //BA.debugLineNum = 1402;BA.debugLine="Log(w)"; -anywheresoftware.b4a.keywords.Common.LogImpl("447775750",BA.ObjectToString(_w),0); - //BA.debugLineNum = 1403;BA.debugLine="c.Close"; +RDebugUtils.currentLine=47841286; + //BA.debugLineNum = 47841286;BA.debugLine="Log(w)"; +anywheresoftware.b4a.keywords.Common.LogImpl("047841286",BA.ObjectToString(_w),0); +RDebugUtils.currentLine=47841287; + //BA.debugLineNum = 47841287;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1404;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +RDebugUtils.currentLine=47841288; + //BA.debugLineNum = 47841288;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID from PEDIDO WHERE PE_PROID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1405;BA.debugLine="If c.RowCount > 0 Then"; +RDebugUtils.currentLine=47841289; + //BA.debugLineNum = 47841289;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1406;BA.debugLine="w = True"; +RDebugUtils.currentLine=47841290; + //BA.debugLineNum = 47841290;BA.debugLine="w = True"; _w = anywheresoftware.b4a.keywords.Common.True; }; - //BA.debugLineNum = 1408;BA.debugLine="c.Close"; +RDebugUtils.currentLine=47841292; + //BA.debugLineNum = 47841292;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1409;BA.debugLine="Log(w)"; -anywheresoftware.b4a.keywords.Common.LogImpl("447775757",BA.ObjectToString(_w),0); - //BA.debugLineNum = 1410;BA.debugLine="Return w"; +RDebugUtils.currentLine=47841293; + //BA.debugLineNum = 47841293;BA.debugLine="Log(w)"; +anywheresoftware.b4a.keywords.Common.LogImpl("047841293",BA.ObjectToString(_w),0); +RDebugUtils.currentLine=47841294; + //BA.debugLineNum = 47841294;BA.debugLine="Return w"; if (true) return _w; - //BA.debugLineNum = 1411;BA.debugLine="End Sub"; +RDebugUtils.currentLine=47841295; + //BA.debugLineNum = 47841295;BA.debugLine="End Sub"; return false; } -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/swiftbutton.java b/B4A/Objects/src/gunav2/keymon/com/mx/swiftbutton.java index 87908e1..bbb6585 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/swiftbutton.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/swiftbutton.java @@ -10,7 +10,7 @@ public class swiftbutton extends B4AClass.ImplB4AClass implements BA.SubDelegato private static java.util.HashMap htSubs; private void innerInitialize(BA _ba) throws Exception { if (ba == null) { - ba = new BA(_ba, this, htSubs, "gunav2.keymon.com.mx.swiftbutton"); + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.swiftbutton"); if (htSubs == null) { ba.loadHtSubs(this.getClass()); htSubs = ba.htSubs; @@ -23,7 +23,14 @@ public class swiftbutton extends B4AClass.ImplB4AClass implements BA.SubDelegato ba.raiseEvent2(null, true, "class_globals", false); } - public anywheresoftware.b4a.keywords.Common __c = null; + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; public String _meventname = ""; public Object _mcallback = null; public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; @@ -44,276 +51,418 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ +public String _base_resize(gunav2.keymon.com.mx.swiftbutton __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} anywheresoftware.b4a.objects.B4XViewWrapper _v = null; - //BA.debugLineNum = 54;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 55;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 56;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; +RDebugUtils.currentLine=41680896; + //BA.debugLineNum = 41680896;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=41680897; + //BA.debugLineNum = 41680897;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=41680898; + //BA.debugLineNum = 41680898;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; _v = new anywheresoftware.b4a.objects.B4XViewWrapper(); { -final anywheresoftware.b4a.BA.IterableList group2 = _mbase.GetAllViewsRecursive(); +final anywheresoftware.b4a.BA.IterableList group2 = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); final int groupLen2 = group2.getSize() ;int index2 = 0; ; for (; index2 < groupLen2;index2++){ _v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group2.Get(index2))); - //BA.debugLineNum = 57;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +RDebugUtils.currentLine=41680899; + //BA.debugLineNum = 41680899;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; _v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); } }; - //BA.debugLineNum = 59;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; +RDebugUtils.currentLine=41680901; + //BA.debugLineNum = 41680901;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=41680902; + //BA.debugLineNum = 41680902;BA.debugLine="End Sub"; return ""; } -public String _class_globals() throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 13;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 14;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 15;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 18;BA.debugLine="Public xLBL As B4XView"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Public clr1, clr2, disabledColor As Int"; -_clr1 = 0; -_clr2 = 0; -_disabledcolor = 0; - //BA.debugLineNum = 20;BA.debugLine="Private pressed As Boolean"; -_pressed = false; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private mDisabled As Boolean"; -_mdisabled = false; - //BA.debugLineNum = 23;BA.debugLine="Public CornersRadius, SideHeight As Int"; -_cornersradius = 0; -_sideheight = 0; - //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"p\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,"p"); - //BA.debugLineNum = 36;BA.debugLine="p.Color = xui.Color_Transparent"; -_p.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 37;BA.debugLine="clr1 = xui.PaintOrColorToColor(Props.Get(\"Primary"; -_clr1 = _xui.PaintOrColorToColor(_props.Get((Object)("PrimaryColor"))); - //BA.debugLineNum = 38;BA.debugLine="clr2 = xui.PaintOrColorToColor(Props.Get(\"Seconda"; -_clr2 = _xui.PaintOrColorToColor(_props.Get((Object)("SecondaryColor"))); - //BA.debugLineNum = 39;BA.debugLine="disabledColor = xui.PaintOrColorToColor(Props.Get"; -_disabledcolor = _xui.PaintOrColorToColor(_props.GetDefault((Object)("DisabledColor"),(Object)(((int)0xff999999)))); - //BA.debugLineNum = 40;BA.debugLine="CornersRadius = DipToCurrent(Props.GetDefault(\"Co"; -_cornersradius = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(15))))); - //BA.debugLineNum = 41;BA.debugLine="SideHeight = DipToCurrent(Props.GetDefault(\"SideH"; -_sideheight = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("SideHeight"),(Object)(5))))); - //BA.debugLineNum = 42;BA.debugLine="mDisabled = Not(Props.GetDefault(\"ButtonEnabled\","; -_mdisabled = __c.Not(BA.ObjectToBoolean(_props.GetDefault((Object)("ButtonEnabled"),(Object)(__c.True)))); - //BA.debugLineNum = 43;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 44;BA.debugLine="pressed = mDisabled"; -_pressed = _mdisabled; - //BA.debugLineNum = 45;BA.debugLine="xLBL = Lbl"; -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 46;BA.debugLine="xLBL.Visible = True"; -_xlbl.setVisible(__c.True); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(xLBL, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="mBase.AddView(p, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 49;BA.debugLine="xLBL.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 50;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ +public String _draw(gunav2.keymon.com.mx.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; int _c = 0; - //BA.debugLineNum = 121;BA.debugLine="Private Sub Draw"; - //BA.debugLineNum = 122;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 123;BA.debugLine="Dim r As B4XRect"; +RDebugUtils.currentLine=42139648; + //BA.debugLineNum = 42139648;BA.debugLine="Private Sub Draw"; +RDebugUtils.currentLine=42139649; + //BA.debugLineNum = 42139649;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=42139650; + //BA.debugLineNum = 42139650;BA.debugLine="Dim r As B4XRect"; _r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 124;BA.debugLine="Dim p As B4XPath"; +RDebugUtils.currentLine=42139651; + //BA.debugLineNum = 42139651;BA.debugLine="Dim p As B4XPath"; _p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 125;BA.debugLine="r.Initialize(0, SideHeight, mBase.Width, mBase.He"; -_r.Initialize((float) (0),(float) (_sideheight),(float) (_mbase.getWidth()),(float) (_mbase.getHeight())); - //BA.debugLineNum = 126;BA.debugLine="If pressed = False Then"; -if (_pressed==__c.False) { - //BA.debugLineNum = 127;BA.debugLine="xLBL.Top = 0"; -_xlbl.setTop((int) (0)); - //BA.debugLineNum = 128;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 129;BA.debugLine="cvs.DrawPath(p, clr2, True, 0)"; -_cvs.DrawPath(_p,_clr2,__c.True,(float) (0)); - //BA.debugLineNum = 130;BA.debugLine="r.Initialize(0, 0, mBase.Width, mBase.Height - S"; -_r.Initialize((float) (0),(float) (0),(float) (_mbase.getWidth()),(float) (_mbase.getHeight()-_sideheight)); - //BA.debugLineNum = 131;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 132;BA.debugLine="cvs.DrawPath(p, clr1, True, 0)"; -_cvs.DrawPath(_p,_clr1,__c.True,(float) (0)); +RDebugUtils.currentLine=42139652; + //BA.debugLineNum = 42139652;BA.debugLine="r.Initialize(0, SideHeight, mBase.Width, mBase.He"; +_r.Initialize((float) (0),(float) (__ref._sideheight /*int*/ ),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=42139653; + //BA.debugLineNum = 42139653;BA.debugLine="If pressed = False Then"; +if (__ref._pressed /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=42139654; + //BA.debugLineNum = 42139654;BA.debugLine="xLBL.Top = 0"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=42139655; + //BA.debugLineNum = 42139655;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=42139656; + //BA.debugLineNum = 42139656;BA.debugLine="cvs.DrawPath(p, clr2, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,__ref._clr2 /*int*/ ,__c.True,(float) (0)); +RDebugUtils.currentLine=42139657; + //BA.debugLineNum = 42139657;BA.debugLine="r.Initialize(0, 0, mBase.Width, mBase.Height - S"; +_r.Initialize((float) (0),(float) (0),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._sideheight /*int*/ )); +RDebugUtils.currentLine=42139658; + //BA.debugLineNum = 42139658;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=42139659; + //BA.debugLineNum = 42139659;BA.debugLine="cvs.DrawPath(p, clr1, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,__ref._clr1 /*int*/ ,__c.True,(float) (0)); }else { - //BA.debugLineNum = 134;BA.debugLine="xLBL.Top = SideHeight"; -_xlbl.setTop(_sideheight); - //BA.debugLineNum = 135;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 136;BA.debugLine="Dim c As Int"; +RDebugUtils.currentLine=42139661; + //BA.debugLineNum = 42139661;BA.debugLine="xLBL.Top = SideHeight"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTop(__ref._sideheight /*int*/ ); +RDebugUtils.currentLine=42139662; + //BA.debugLineNum = 42139662;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=42139663; + //BA.debugLineNum = 42139663;BA.debugLine="Dim c As Int"; _c = 0; - //BA.debugLineNum = 137;BA.debugLine="If mDisabled Then c = disabledColor Else c = clr"; -if (_mdisabled) { -_c = _disabledcolor;} +RDebugUtils.currentLine=42139664; + //BA.debugLineNum = 42139664;BA.debugLine="If mDisabled Then c = disabledColor Else c = clr"; +if (__ref._mdisabled /*boolean*/ ) { +_c = __ref._disabledcolor /*int*/ ;} else { -_c = _clr1;}; - //BA.debugLineNum = 138;BA.debugLine="cvs.DrawPath(p, c, True, 0)"; -_cvs.DrawPath(_p,_c,__c.True,(float) (0)); +_c = __ref._clr1 /*int*/ ;}; +RDebugUtils.currentLine=42139665; + //BA.debugLineNum = 42139665;BA.debugLine="cvs.DrawPath(p, c, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_c,__c.True,(float) (0)); }; - //BA.debugLineNum = 141;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 142;BA.debugLine="End Sub"; +RDebugUtils.currentLine=42139668; + //BA.debugLineNum = 42139668;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=42139669; + //BA.debugLineNum = 42139669;BA.debugLine="End Sub"; return ""; } -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 63;BA.debugLine="Return Not(mDisabled)"; -if (true) return __c.Not(_mdisabled); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; +public String _class_globals(gunav2.keymon.com.mx.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +RDebugUtils.currentLine=41484288; + //BA.debugLineNum = 41484288;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=41484289; + //BA.debugLineNum = 41484289;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=41484290; + //BA.debugLineNum = 41484290;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=41484291; + //BA.debugLineNum = 41484291;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=41484292; + //BA.debugLineNum = 41484292;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=41484293; + //BA.debugLineNum = 41484293;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=41484294; + //BA.debugLineNum = 41484294;BA.debugLine="Public xLBL As B4XView"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=41484295; + //BA.debugLineNum = 41484295;BA.debugLine="Public clr1, clr2, disabledColor As Int"; +_clr1 = 0; +_clr2 = 0; +_disabledcolor = 0; +RDebugUtils.currentLine=41484296; + //BA.debugLineNum = 41484296;BA.debugLine="Private pressed As Boolean"; +_pressed = false; +RDebugUtils.currentLine=41484297; + //BA.debugLineNum = 41484297;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=41484298; + //BA.debugLineNum = 41484298;BA.debugLine="Private mDisabled As Boolean"; +_mdisabled = false; +RDebugUtils.currentLine=41484299; + //BA.debugLineNum = 41484299;BA.debugLine="Public CornersRadius, SideHeight As Int"; +_cornersradius = 0; +_sideheight = 0; +RDebugUtils.currentLine=41484300; + //BA.debugLineNum = 41484300;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=41484301; + //BA.debugLineNum = 41484301;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(gunav2.keymon.com.mx.swiftbutton __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=41615360; + //BA.debugLineNum = 41615360;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=41615361; + //BA.debugLineNum = 41615361;BA.debugLine="mBase = Base"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); +RDebugUtils.currentLine=41615362; + //BA.debugLineNum = 41615362;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=41615362; + //BA.debugLineNum = 41615362;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=41615363; + //BA.debugLineNum = 41615363;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"p\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"p"); +RDebugUtils.currentLine=41615364; + //BA.debugLineNum = 41615364;BA.debugLine="p.Color = xui.Color_Transparent"; +_p.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=41615365; + //BA.debugLineNum = 41615365;BA.debugLine="clr1 = xui.PaintOrColorToColor(Props.Get(\"Primary"; +__ref._clr1 /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("PrimaryColor"))); +RDebugUtils.currentLine=41615366; + //BA.debugLineNum = 41615366;BA.debugLine="clr2 = xui.PaintOrColorToColor(Props.Get(\"Seconda"; +__ref._clr2 /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("SecondaryColor"))); +RDebugUtils.currentLine=41615367; + //BA.debugLineNum = 41615367;BA.debugLine="disabledColor = xui.PaintOrColorToColor(Props.Get"; +__ref._disabledcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.GetDefault((Object)("DisabledColor"),(Object)(((int)0xff999999)))); +RDebugUtils.currentLine=41615368; + //BA.debugLineNum = 41615368;BA.debugLine="CornersRadius = DipToCurrent(Props.GetDefault(\"Co"; +__ref._cornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(15))))); +RDebugUtils.currentLine=41615369; + //BA.debugLineNum = 41615369;BA.debugLine="SideHeight = DipToCurrent(Props.GetDefault(\"SideH"; +__ref._sideheight /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("SideHeight"),(Object)(5))))); +RDebugUtils.currentLine=41615370; + //BA.debugLineNum = 41615370;BA.debugLine="mDisabled = Not(Props.GetDefault(\"ButtonEnabled\","; +__ref._mdisabled /*boolean*/ = __c.Not(BA.ObjectToBoolean(_props.GetDefault((Object)("ButtonEnabled"),(Object)(__c.True)))); +RDebugUtils.currentLine=41615371; + //BA.debugLineNum = 41615371;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=41615372; + //BA.debugLineNum = 41615372;BA.debugLine="pressed = mDisabled"; +__ref._pressed /*boolean*/ = __ref._mdisabled /*boolean*/ ; +RDebugUtils.currentLine=41615373; + //BA.debugLineNum = 41615373;BA.debugLine="xLBL = Lbl"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=41615374; + //BA.debugLineNum = 41615374;BA.debugLine="xLBL.Visible = True"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=41615375; + //BA.debugLineNum = 41615375;BA.debugLine="mBase.AddView(xLBL, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=41615376; + //BA.debugLineNum = 41615376;BA.debugLine="mBase.AddView(p, 0, 0, 0, 0)"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); +RDebugUtils.currentLine=41615377; + //BA.debugLineNum = 41615377;BA.debugLine="xLBL.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=41615378; + //BA.debugLineNum = 41615378;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=41615379; + //BA.debugLineNum = 41615379;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=41615380; + //BA.debugLineNum = 41615380;BA.debugLine="End Sub"; +return ""; +} +public boolean _getenabled(gunav2.keymon.com.mx.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=41746432; + //BA.debugLineNum = 41746432;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=41746433; + //BA.debugLineNum = 41746433;BA.debugLine="Return Not(mDisabled)"; +if (true) return __c.Not(__ref._mdisabled /*boolean*/ ); +RDebugUtils.currentLine=41746434; + //BA.debugLineNum = 41746434;BA.debugLine="End Sub"; return false; } -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +public String _initialize(gunav2.keymon.com.mx.swiftbutton __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=41549824; + //BA.debugLineNum = 41549824;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=41549825; + //BA.debugLineNum = 41549825;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=41549826; + //BA.debugLineNum = 41549826;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=41549827; + //BA.debugLineNum = 41549827;BA.debugLine="End Sub"; return ""; } -public String _p_touch(int _action,float _x,float _y) throws Exception{ +public String _p_touch(gunav2.keymon.com.mx.swiftbutton __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "p_touch", true)) + {return ((String) Debug.delegate(ba, "p_touch", new Object[] {_action,_x,_y}));} boolean _inside = false; - //BA.debugLineNum = 72;BA.debugLine="Private Sub p_Touch (Action As Int, X As Float, Y"; - //BA.debugLineNum = 73;BA.debugLine="If mDisabled Then Return"; -if (_mdisabled) { +RDebugUtils.currentLine=41877504; + //BA.debugLineNum = 41877504;BA.debugLine="Private Sub p_Touch (Action As Int, X As Float, Y"; +RDebugUtils.currentLine=41877505; + //BA.debugLineNum = 41877505;BA.debugLine="If mDisabled Then Return"; +if (__ref._mdisabled /*boolean*/ ) { if (true) return "";}; - //BA.debugLineNum = 74;BA.debugLine="Dim Inside As Boolean = x > 0 And x < mBase.Width"; -_inside = _x>0 && _x<_mbase.getWidth() && _y>0 && _y<_mbase.getHeight(); - //BA.debugLineNum = 75;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_mbase.TOUCH_ACTION_DOWN,_mbase.TOUCH_ACTION_MOVE,_mbase.TOUCH_ACTION_UP,(int) (3))) { +RDebugUtils.currentLine=41877506; + //BA.debugLineNum = 41877506;BA.debugLine="Dim Inside As Boolean = x > 0 And x < mBase.Width"; +_inside = _x>0 && _x<__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth() && _y>0 && _y<__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(); +RDebugUtils.currentLine=41877507; + //BA.debugLineNum = 41877507;BA.debugLine="Select Action"; +switch (BA.switchObjectToInt(_action,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_UP,(int) (3))) { case 0: { - //BA.debugLineNum = 77;BA.debugLine="SetPressedState(True)"; -_setpressedstate(__c.True); - //BA.debugLineNum = 78;BA.debugLine="Draw"; -_draw(); +RDebugUtils.currentLine=41877509; + //BA.debugLineNum = 41877509;BA.debugLine="SetPressedState(True)"; +__ref._setpressedstate /*String*/ (null,__c.True); +RDebugUtils.currentLine=41877510; + //BA.debugLineNum = 41877510;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); break; } case 1: { - //BA.debugLineNum = 80;BA.debugLine="If pressed <> Inside Then"; -if (_pressed!=_inside) { - //BA.debugLineNum = 81;BA.debugLine="SetPressedState(Inside)"; -_setpressedstate(_inside); - //BA.debugLineNum = 82;BA.debugLine="Draw"; -_draw(); +RDebugUtils.currentLine=41877512; + //BA.debugLineNum = 41877512;BA.debugLine="If pressed <> Inside Then"; +if (__ref._pressed /*boolean*/ !=_inside) { +RDebugUtils.currentLine=41877513; + //BA.debugLineNum = 41877513;BA.debugLine="SetPressedState(Inside)"; +__ref._setpressedstate /*String*/ (null,_inside); +RDebugUtils.currentLine=41877514; + //BA.debugLineNum = 41877514;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); }; break; } case 2: case 3: { - //BA.debugLineNum = 85;BA.debugLine="SetPressedState(False)"; -_setpressedstate(__c.False); - //BA.debugLineNum = 86;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 87;BA.debugLine="If Inside Then"; +RDebugUtils.currentLine=41877517; + //BA.debugLineNum = 41877517;BA.debugLine="SetPressedState(False)"; +__ref._setpressedstate /*String*/ (null,__c.False); +RDebugUtils.currentLine=41877518; + //BA.debugLineNum = 41877518;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=41877519; + //BA.debugLineNum = 41877519;BA.debugLine="If Inside Then"; if (_inside) { - //BA.debugLineNum = 88;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 89;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_Click"); +RDebugUtils.currentLine=41877520; + //BA.debugLineNum = 41877520;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=41877521; + //BA.debugLineNum = 41877521;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Click"); }; break; } } ; - //BA.debugLineNum = 92;BA.debugLine="End Sub"; +RDebugUtils.currentLine=41877524; + //BA.debugLineNum = 41877524;BA.debugLine="End Sub"; return ""; } -public String _setcolors(int _primary,int _secondary) throws Exception{ - //BA.debugLineNum = 111;BA.debugLine="Public Sub SetColors(Primary As Int, Secondary As"; - //BA.debugLineNum = 112;BA.debugLine="clr1 = Primary"; -_clr1 = _primary; - //BA.debugLineNum = 113;BA.debugLine="clr2 = Secondary"; -_clr2 = _secondary; - //BA.debugLineNum = 114;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Public Sub setEnabled(b As Boolean)"; - //BA.debugLineNum = 67;BA.debugLine="mDisabled = Not(b)"; -_mdisabled = __c.Not(_b); - //BA.debugLineNum = 68;BA.debugLine="pressed = mDisabled"; -_pressed = _mdisabled; - //BA.debugLineNum = 69;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public String _setpressedstate(boolean _newstate) throws Exception{ - //BA.debugLineNum = 94;BA.debugLine="Private Sub SetPressedState(NewState As Boolean)"; - //BA.debugLineNum = 95;BA.debugLine="If pressed = NewState Then Return"; -if (_pressed==_newstate) { +public String _setpressedstate(gunav2.keymon.com.mx.swiftbutton __ref,boolean _newstate) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setpressedstate", true)) + {return ((String) Debug.delegate(ba, "setpressedstate", new Object[] {_newstate}));} +RDebugUtils.currentLine=41943040; + //BA.debugLineNum = 41943040;BA.debugLine="Private Sub SetPressedState(NewState As Boolean)"; +RDebugUtils.currentLine=41943041; + //BA.debugLineNum = 41943041;BA.debugLine="If pressed = NewState Then Return"; +if (__ref._pressed /*boolean*/ ==_newstate) { if (true) return "";}; - //BA.debugLineNum = 96;BA.debugLine="If NewState And xui.SubExists(mCallBack, mEventNa"; -if (_newstate && _xui.SubExists(ba,_mcallback,_meventname+"_ButtonDown",(int) (0))) { - //BA.debugLineNum = 97;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonD"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_ButtonDown"); +RDebugUtils.currentLine=41943042; + //BA.debugLineNum = 41943042;BA.debugLine="If NewState And xui.SubExists(mCallBack, mEventNa"; +if (_newstate && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonDown",(int) (0))) { +RDebugUtils.currentLine=41943043; + //BA.debugLineNum = 41943043;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonD"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonDown"); }; - //BA.debugLineNum = 99;BA.debugLine="If NewState = False And xui.SubExists(mCallBack,"; -if (_newstate==__c.False && _xui.SubExists(ba,_mcallback,_meventname+"_ButtonUp",(int) (0))) { - //BA.debugLineNum = 100;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonU"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_ButtonUp"); +RDebugUtils.currentLine=41943045; + //BA.debugLineNum = 41943045;BA.debugLine="If NewState = False And xui.SubExists(mCallBack,"; +if (_newstate==__c.False && __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonUp",(int) (0))) { +RDebugUtils.currentLine=41943046; + //BA.debugLineNum = 41943046;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonU"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonUp"); }; - //BA.debugLineNum = 102;BA.debugLine="pressed= NewState"; -_pressed = _newstate; - //BA.debugLineNum = 103;BA.debugLine="End Sub"; +RDebugUtils.currentLine=41943048; + //BA.debugLineNum = 41943048;BA.debugLine="pressed= NewState"; +__ref._pressed /*boolean*/ = _newstate; +RDebugUtils.currentLine=41943049; + //BA.debugLineNum = 41943049;BA.debugLine="End Sub"; return ""; } -public String _update() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 118;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; +public String _setcolors(gunav2.keymon.com.mx.swiftbutton __ref,int _primary,int _secondary) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setcolors", true)) + {return ((String) Debug.delegate(ba, "setcolors", new Object[] {_primary,_secondary}));} +RDebugUtils.currentLine=42008576; + //BA.debugLineNum = 42008576;BA.debugLine="Public Sub SetColors(Primary As Int, Secondary As"; +RDebugUtils.currentLine=42008577; + //BA.debugLineNum = 42008577;BA.debugLine="clr1 = Primary"; +__ref._clr1 /*int*/ = _primary; +RDebugUtils.currentLine=42008578; + //BA.debugLineNum = 42008578;BA.debugLine="clr2 = Secondary"; +__ref._clr2 /*int*/ = _secondary; +RDebugUtils.currentLine=42008579; + //BA.debugLineNum = 42008579;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=42008580; + //BA.debugLineNum = 42008580;BA.debugLine="End Sub"; return ""; } -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; +public String _setenabled(gunav2.keymon.com.mx.swiftbutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=41811968; + //BA.debugLineNum = 41811968;BA.debugLine="Public Sub setEnabled(b As Boolean)"; +RDebugUtils.currentLine=41811969; + //BA.debugLineNum = 41811969;BA.debugLine="mDisabled = Not(b)"; +__ref._mdisabled /*boolean*/ = __c.Not(_b); +RDebugUtils.currentLine=41811970; + //BA.debugLineNum = 41811970;BA.debugLine="pressed = mDisabled"; +__ref._pressed /*boolean*/ = __ref._mdisabled /*boolean*/ ; +RDebugUtils.currentLine=41811971; + //BA.debugLineNum = 41811971;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=41811972; + //BA.debugLineNum = 41811972;BA.debugLine="End Sub"; +return ""; } +public String _update(gunav2.keymon.com.mx.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +RDebugUtils.currentLine=42074112; + //BA.debugLineNum = 42074112;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=42074113; + //BA.debugLineNum = 42074113;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=42074114; + //BA.debugLineNum = 42074114;BA.debugLine="End Sub"; +return ""; } +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/tracker.java b/B4A/Objects/src/gunav2/keymon/com/mx/tracker.java index 500b73a..d84dee7 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/tracker.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/tracker.java @@ -14,7 +14,7 @@ public class tracker extends android.app.Service{ android.content.Intent in = new android.content.Intent(context, tracker.class); if (intent != null) in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, anywheresoftware.b4a.ShellBA.class); } } @@ -29,7 +29,7 @@ public class tracker extends android.app.Service{ super.onCreate(); mostCurrent = this; if (processBA == null) { - processBA = new BA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.tracker"); + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "gunav2.keymon.com.mx", "gunav2.keymon.com.mx.tracker"); if (BA.isShellModeRuntimeCheck(processBA)) { processBA.raiseEvent2(null, true, "SHELL", false); } @@ -127,7 +127,8 @@ public class tracker extends android.app.Service{ @Override public android.os.IBinder onBind(android.content.Intent intent) { return null; - }public anywheresoftware.b4a.keywords.Common __c = null; + } +public anywheresoftware.b4a.keywords.Common __c = null; public static int _nid = 0; public static boolean _tracking = false; public static anywheresoftware.b4a.phone.Phone.PhoneWakeState _lock = null; @@ -148,374 +149,408 @@ public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createlocationrequest", false)) + {return ((uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest) Debug.delegate(processBA, "createlocationrequest", null));} uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 430;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; - //BA.debugLineNum = 431;BA.debugLine="Log(\"CreateLocationRequest\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("492340225","CreateLocationRequest",0); - //BA.debugLineNum = 432;BA.debugLine="Dim lr As LocationRequest"; +RDebugUtils.currentLine=72351744; + //BA.debugLineNum = 72351744;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; +RDebugUtils.currentLine=72351745; + //BA.debugLineNum = 72351745;BA.debugLine="Log(\"CreateLocationRequest\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("072351745","CreateLocationRequest",0); +RDebugUtils.currentLine=72351746; + //BA.debugLineNum = 72351746;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 433;BA.debugLine="lr.Initialize"; +RDebugUtils.currentLine=72351747; + //BA.debugLineNum = 72351747;BA.debugLine="lr.Initialize"; _lr.Initialize(); - //BA.debugLineNum = 434;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +RDebugUtils.currentLine=72351748; + //BA.debugLineNum = 72351748;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; _lr.SetInterval((long) (2000)); - //BA.debugLineNum = 435;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +RDebugUtils.currentLine=72351749; + //BA.debugLineNum = 72351749;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; _lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 436;BA.debugLine="lr.SetSmallestDisplacement(15) 'Solo registra cam"; +RDebugUtils.currentLine=72351750; + //BA.debugLineNum = 72351750;BA.debugLine="lr.SetSmallestDisplacement(15) 'Solo registra cam"; _lr.SetSmallestDisplacement((float) (15)); - //BA.debugLineNum = 437;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +RDebugUtils.currentLine=72351751; + //BA.debugLineNum = 72351751;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; _lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 438;BA.debugLine="actualLR=lr"; +RDebugUtils.currentLine=72351752; + //BA.debugLineNum = 72351752;BA.debugLine="actualLR=lr"; _actuallr = _lr; - //BA.debugLineNum = 439;BA.debugLine="Return lr"; +RDebugUtils.currentLine=72351753; + //BA.debugLineNum = 72351753;BA.debugLine="Return lr"; if (true) return _lr; - //BA.debugLineNum = 440;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72351754; + //BA.debugLineNum = 72351754;BA.debugLine="End Sub"; return null; } public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest2() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createlocationrequest2", false)) + {return ((uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest) Debug.delegate(processBA, "createlocationrequest2", null));} boolean _logger = false; uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 455;BA.debugLine="Private Sub CreateLocationRequest2 As LocationRequ"; - //BA.debugLineNum = 456;BA.debugLine="Private logger As Boolean = True"; +RDebugUtils.currentLine=72482816; + //BA.debugLineNum = 72482816;BA.debugLine="Private Sub CreateLocationRequest2 As LocationRequ"; +RDebugUtils.currentLine=72482817; + //BA.debugLineNum = 72482817;BA.debugLine="Private logger As Boolean = True"; _logger = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 457;BA.debugLine="If logger Then Log(\"Iniciamos CreateLocationReque"; +RDebugUtils.currentLine=72482818; + //BA.debugLineNum = 72482818;BA.debugLine="If logger Then Log(\"Iniciamos CreateLocationReque"; if (_logger) { -anywheresoftware.b4a.keywords.Common.LogImpl("492471298","Iniciamos CreateLocationRequest2",0);}; - //BA.debugLineNum = 458;BA.debugLine="Dim lr As LocationRequest"; +anywheresoftware.b4a.keywords.Common.LogImpl("072482818","Iniciamos CreateLocationRequest2",0);}; +RDebugUtils.currentLine=72482819; + //BA.debugLineNum = 72482819;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 459;BA.debugLine="lr.Initialize"; +RDebugUtils.currentLine=72482820; + //BA.debugLineNum = 72482820;BA.debugLine="lr.Initialize"; _lr.Initialize(); - //BA.debugLineNum = 460;BA.debugLine="lr.SetInterval(1000) 'Intervalo deseado para actu"; +RDebugUtils.currentLine=72482821; + //BA.debugLineNum = 72482821;BA.debugLine="lr.SetInterval(1000) 'Intervalo deseado para actu"; _lr.SetInterval((long) (1000)); - //BA.debugLineNum = 461;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +RDebugUtils.currentLine=72482822; + //BA.debugLineNum = 72482822;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; _lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 462;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo x actualiza"; +RDebugUtils.currentLine=72482823; + //BA.debugLineNum = 72482823;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo x actualiza"; _lr.SetNumUpdates((int) (2)); - //BA.debugLineNum = 463;BA.debugLine="lr.SetSmallestDisplacement(1) 'Solo registra camb"; +RDebugUtils.currentLine=72482824; + //BA.debugLineNum = 72482824;BA.debugLine="lr.SetSmallestDisplacement(1) 'Solo registra camb"; _lr.SetSmallestDisplacement((float) (1)); - //BA.debugLineNum = 464;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +RDebugUtils.currentLine=72482825; + //BA.debugLineNum = 72482825;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; _lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 465;BA.debugLine="actualLR=lr"; +RDebugUtils.currentLine=72482826; + //BA.debugLineNum = 72482826;BA.debugLine="actualLR=lr"; _actuallr = _lr; - //BA.debugLineNum = 466;BA.debugLine="Return lr"; +RDebugUtils.currentLine=72482827; + //BA.debugLineNum = 72482827;BA.debugLine="Return lr"; if (true) return _lr; - //BA.debugLineNum = 467;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72482828; + //BA.debugLineNum = 72482828;BA.debugLine="End Sub"; return null; } public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequestsmalld() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createlocationrequestsmalld", false)) + {return ((uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest) Debug.delegate(processBA, "createlocationrequestsmalld", null));} uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 442;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio"; - //BA.debugLineNum = 443;BA.debugLine="Log(\"Iniciamos CreateLocationRequestSmallD\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("492405761","Iniciamos CreateLocationRequestSmallD",0); - //BA.debugLineNum = 444;BA.debugLine="Dim lr As LocationRequest"; +RDebugUtils.currentLine=72417280; + //BA.debugLineNum = 72417280;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio"; +RDebugUtils.currentLine=72417281; + //BA.debugLineNum = 72417281;BA.debugLine="Log(\"Iniciamos CreateLocationRequestSmallD\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("072417281","Iniciamos CreateLocationRequestSmallD",0); +RDebugUtils.currentLine=72417282; + //BA.debugLineNum = 72417282;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 445;BA.debugLine="lr.Initialize"; +RDebugUtils.currentLine=72417283; + //BA.debugLineNum = 72417283;BA.debugLine="lr.Initialize"; _lr.Initialize(); - //BA.debugLineNum = 446;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +RDebugUtils.currentLine=72417284; + //BA.debugLineNum = 72417284;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; _lr.SetInterval((long) (2000)); - //BA.debugLineNum = 447;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +RDebugUtils.currentLine=72417285; + //BA.debugLineNum = 72417285;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; _lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 448;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo x actualiza"; +RDebugUtils.currentLine=72417286; + //BA.debugLineNum = 72417286;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo x actualiza"; _lr.SetNumUpdates((int) (2)); - //BA.debugLineNum = 449;BA.debugLine="lr.SetSmallestDisplacement(3) 'Solo registra camb"; +RDebugUtils.currentLine=72417287; + //BA.debugLineNum = 72417287;BA.debugLine="lr.SetSmallestDisplacement(3) 'Solo registra camb"; _lr.SetSmallestDisplacement((float) (3)); - //BA.debugLineNum = 450;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +RDebugUtils.currentLine=72417288; + //BA.debugLineNum = 72417288;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; _lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 451;BA.debugLine="actualLR=lr"; +RDebugUtils.currentLine=72417289; + //BA.debugLineNum = 72417289;BA.debugLine="actualLR=lr"; _actuallr = _lr; - //BA.debugLineNum = 452;BA.debugLine="Return lr"; +RDebugUtils.currentLine=72417290; + //BA.debugLineNum = 72417290;BA.debugLine="Return lr"; if (true) return _lr; - //BA.debugLineNum = 453;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72417291; + //BA.debugLineNum = 72417291;BA.debugLine="End Sub"; return null; } public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _body) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createnotification", false)) + {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(processBA, "createnotification", new Object[] {_body}));} anywheresoftware.b4a.objects.NotificationWrapper _notification = null; - //BA.debugLineNum = 534;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; - //BA.debugLineNum = 535;BA.debugLine="Dim notification As Notification"; +RDebugUtils.currentLine=72744960; + //BA.debugLineNum = 72744960;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +RDebugUtils.currentLine=72744961; + //BA.debugLineNum = 72744961;BA.debugLine="Dim notification As Notification"; _notification = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 536;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +RDebugUtils.currentLine=72744962; + //BA.debugLineNum = 72744962;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; _notification.Initialize2(_notification.IMPORTANCE_LOW); - //BA.debugLineNum = 537;BA.debugLine="notification.Icon = \"icon\""; +RDebugUtils.currentLine=72744963; + //BA.debugLineNum = 72744963;BA.debugLine="notification.Icon = \"icon\""; _notification.setIcon("icon"); - //BA.debugLineNum = 538;BA.debugLine="notification.SetInfo(\"GUNA\", Body, Main)"; +RDebugUtils.currentLine=72744964; + //BA.debugLineNum = 72744964;BA.debugLine="notification.SetInfo(\"GUNA\", Body, Main)"; _notification.SetInfoNew(processBA,BA.ObjectToCharSequence("GUNA"),BA.ObjectToCharSequence(_body),(Object)(mostCurrent._main.getObject())); - //BA.debugLineNum = 539;BA.debugLine="Return notification"; +RDebugUtils.currentLine=72744965; + //BA.debugLineNum = 72744965;BA.debugLine="Return notification"; if (true) return _notification; - //BA.debugLineNum = 540;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72744966; + //BA.debugLineNum = 72744966;BA.debugLine="End Sub"; return null; } public static String _dameultimaubicacionconocida() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "dameultimaubicacionconocida", false)) + {return ((String) Debug.delegate(processBA, "dameultimaubicacionconocida", null));} String _coords = ""; - //BA.debugLineNum = 469;BA.debugLine="Sub dameUltimaUbicacionConocida"; - //BA.debugLineNum = 470;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; +RDebugUtils.currentLine=72548352; + //BA.debugLineNum = 72548352;BA.debugLine="Sub dameUltimaUbicacionConocida"; +RDebugUtils.currentLine=72548353; + //BA.debugLineNum = 72548353;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; if (_flp.GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 472;BA.debugLine="If Starter.Logger Then LogColor($\"Mandamos UUC \""; +RDebugUtils.currentLine=72548355; + //BA.debugLineNum = 72548355;BA.debugLine="If Starter.Logger Then LogColor($\"Mandamos UUC \""; if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("492536835",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; - //BA.debugLineNum = 473;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation."; +anywheresoftware.b4a.keywords.Common.LogImpl("072548355",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; +RDebugUtils.currentLine=72548356; + //BA.debugLineNum = 72548356;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation."; _coords = BA.NumberToString(_flp.GetLastKnownLocation().getLatitude())+","+BA.NumberToString(_flp.GetLastKnownLocation().getLongitude())+","+_formatofecha(BA.NumberToString(_flp.GetLastKnownLocation().getTime())); }; - //BA.debugLineNum = 477;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionfailed(int _connectionresult1) throws Exception{ - //BA.debugLineNum = 360;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; - //BA.debugLineNum = 361;BA.debugLine="Log(\"Failed to connect to location provider\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("491947009","Failed to connect to location provider",0); - //BA.debugLineNum = 362;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionsuccess() throws Exception{ - //BA.debugLineNum = 355;BA.debugLine="Sub flp_ConnectionSuccess"; - //BA.debugLineNum = 358;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ -String _sdate = ""; -String _stime = ""; -String _coords = ""; - //BA.debugLineNum = 487;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 488;BA.debugLine="Log($\"Loc changed:${Location1.Longitude},${Locati"; -anywheresoftware.b4a.keywords.Common.LogImpl("492667905",("Loc changed:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_location1.getLongitude()))+","+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_location1.getLatitude()))+""),0); - //BA.debugLineNum = 490;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); - //BA.debugLineNum = 491;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); - //BA.debugLineNum = 492;BA.debugLine="UUGCoords = Location1"; -_uugcoords = _location1; - //BA.debugLineNum = 500;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 501;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 502;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 503;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 504;BA.debugLine="If Not(B4XPages.MainPage.skmt.IsInitialized) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .IsInitialized())) { -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 505;BA.debugLine="Try"; -try { //BA.debugLineNum = 506;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); - //BA.debugLineNum = 507;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - } - catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 509;BA.debugLine="LogColor(LastException, Colors.Red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("492667926",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 512;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; -_coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime())); - //BA.debugLineNum = 517;BA.debugLine="If Location1.Accuracy < 100 Then"; -if (_location1.getAccuracy()<100) { - }; - //BA.debugLineNum = 521;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; -anywheresoftware.b4a.keywords.Common.CallSubNew2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); - //BA.debugLineNum = 525;BA.debugLine="If B4XPages.MainPage.cliente.IsInitialized And St"; -if (mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._cliente /*gunav2.keymon.com.mx.c_cliente*/ .IsInitialized /*boolean*/ () && mostCurrent._starter._encliente /*boolean*/ ) { - //BA.debugLineNum = 526;BA.debugLine="CallSub2(B4XPages.GetPage(\"Cliente\"), \"GPS_Locat"; -anywheresoftware.b4a.keywords.Common.CallSubNew2(processBA,mostCurrent._b4xpages._getpage /*Object*/ (processBA,"Cliente"),"GPS_LocationChanged",(Object)(_location1)); - }; - //BA.debugLineNum = 528;BA.debugLine="If B4XPages.MainPage.nuevoCliente.IsInitialized T"; -if (mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._nuevocliente /*gunav2.keymon.com.mx.c_nuevocliente*/ .IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 529;BA.debugLine="CallSub2(B4XPages.GetPage(\"nuevocliente\"), \"GPS_"; -anywheresoftware.b4a.keywords.Common.CallSubNew2(processBA,mostCurrent._b4xpages._getpage /*Object*/ (processBA,"nuevocliente"),"GPS_LocationChanged",(Object)(_location1)); - }; - //BA.debugLineNum = 532;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72548360; + //BA.debugLineNum = 72548360;BA.debugLine="End Sub"; return ""; } public static String _formatofecha(String _fecha) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "formatofecha", false)) + {return ((String) Debug.delegate(processBA, "formatofecha", new Object[] {_fecha}));} String _origformat = ""; String _lastupdate = ""; - //BA.debugLineNum = 550;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; - //BA.debugLineNum = 552;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +RDebugUtils.currentLine=72876032; + //BA.debugLineNum = 72876032;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; +RDebugUtils.currentLine=72876034; + //BA.debugLineNum = 72876034;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; _origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 553;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +RDebugUtils.currentLine=72876035; + //BA.debugLineNum = 72876035;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 554;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; +RDebugUtils.currentLine=72876036; + //BA.debugLineNum = 72876036;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; _lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 555;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +RDebugUtils.currentLine=72876037; + //BA.debugLineNum = 72876037;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 557;BA.debugLine="Return lastUpdate"; +RDebugUtils.currentLine=72876039; + //BA.debugLineNum = 72876039;BA.debugLine="Return lastUpdate"; if (true) return _lastupdate; - //BA.debugLineNum = 558;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72876040; + //BA.debugLineNum = 72876040;BA.debugLine="End Sub"; return ""; } -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 334;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 335;BA.debugLine="Private nid As Int = 51042"; -_nid = (int) (51042); - //BA.debugLineNum = 336;BA.debugLine="Private Tracking As Boolean"; -_tracking = false; - //BA.debugLineNum = 337;BA.debugLine="Private lock As PhoneWakeState"; -_lock = new anywheresoftware.b4a.phone.Phone.PhoneWakeState(); - //BA.debugLineNum = 339;BA.debugLine="Public FLP As FusedLocationProvider"; -_flp = new uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper(); - //BA.debugLineNum = 340;BA.debugLine="Dim actualLR As LocationRequest"; -_actuallr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 341;BA.debugLine="Private flpStarted As Boolean"; -_flpstarted = false; - //BA.debugLineNum = 343;BA.debugLine="Dim UUGCoords As Location 'Ultima Ubicacion Guard"; -_uugcoords = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 344;BA.debugLine="End Sub"; +public static String _flp_connectionfailed(int _connectionresult1) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_connectionfailed", false)) + {return ((String) Debug.delegate(processBA, "flp_connectionfailed", new Object[] {_connectionresult1}));} +RDebugUtils.currentLine=71958528; + //BA.debugLineNum = 71958528;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; +RDebugUtils.currentLine=71958529; + //BA.debugLineNum = 71958529;BA.debugLine="Log(\"Failed to connect to location provider\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("071958529","Failed to connect to location provider",0); +RDebugUtils.currentLine=71958530; + //BA.debugLineNum = 71958530;BA.debugLine="End Sub"; +return ""; +} +public static String _flp_connectionsuccess() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_connectionsuccess", false)) + {return ((String) Debug.delegate(processBA, "flp_connectionsuccess", null));} +RDebugUtils.currentLine=71892992; + //BA.debugLineNum = 71892992;BA.debugLine="Sub flp_ConnectionSuccess"; +RDebugUtils.currentLine=71892995; + //BA.debugLineNum = 71892995;BA.debugLine="End Sub"; +return ""; +} +public static String _flp_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_locationchanged", false)) + {return ((String) Debug.delegate(processBA, "flp_locationchanged", new Object[] {_location1}));} +String _sdate = ""; +String _stime = ""; +String _coords = ""; +RDebugUtils.currentLine=72679424; + //BA.debugLineNum = 72679424;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=72679425; + //BA.debugLineNum = 72679425;BA.debugLine="Log($\"Loc changed:${Location1.Longitude},${Locati"; +anywheresoftware.b4a.keywords.Common.LogImpl("072679425",("Loc changed:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_location1.getLongitude()))+","+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_location1.getLatitude()))+""),0); +RDebugUtils.currentLine=72679427; + //BA.debugLineNum = 72679427;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); +RDebugUtils.currentLine=72679428; + //BA.debugLineNum = 72679428;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); +RDebugUtils.currentLine=72679429; + //BA.debugLineNum = 72679429;BA.debugLine="UUGCoords = Location1"; +_uugcoords = _location1; +RDebugUtils.currentLine=72679437; + //BA.debugLineNum = 72679437;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=72679438; + //BA.debugLineNum = 72679438;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=72679439; + //BA.debugLineNum = 72679439;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=72679440; + //BA.debugLineNum = 72679440;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=72679441; + //BA.debugLineNum = 72679441;BA.debugLine="If Not(B4XPages.MainPage.skmt.IsInitialized) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .IsInitialized())) { +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; +RDebugUtils.currentLine=72679442; + //BA.debugLineNum = 72679442;BA.debugLine="Try"; +try {RDebugUtils.currentLine=72679443; + //BA.debugLineNum = 72679443;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=72679444; + //BA.debugLineNum = 72679444;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); + } + catch (Exception e14) { + processBA.setLastException(e14);RDebugUtils.currentLine=72679446; + //BA.debugLineNum = 72679446;BA.debugLine="LogColor(LastException, Colors.Red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("072679446",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=72679449; + //BA.debugLineNum = 72679449;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; +_coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime())); +RDebugUtils.currentLine=72679454; + //BA.debugLineNum = 72679454;BA.debugLine="If Location1.Accuracy < 100 Then"; +if (_location1.getAccuracy()<100) { + }; +RDebugUtils.currentLine=72679458; + //BA.debugLineNum = 72679458;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; +anywheresoftware.b4a.keywords.Common.CallSubDebug2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); +RDebugUtils.currentLine=72679462; + //BA.debugLineNum = 72679462;BA.debugLine="If B4XPages.MainPage.cliente.IsInitialized And St"; +if (mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._cliente /*gunav2.keymon.com.mx.c_cliente*/ .IsInitialized /*boolean*/ () && mostCurrent._starter._encliente /*boolean*/ ) { +RDebugUtils.currentLine=72679463; + //BA.debugLineNum = 72679463;BA.debugLine="CallSub2(B4XPages.GetPage(\"Cliente\"), \"GPS_Locat"; +anywheresoftware.b4a.keywords.Common.CallSubDebug2(processBA,mostCurrent._b4xpages._getpage /*Object*/ (processBA,"Cliente"),"GPS_LocationChanged",(Object)(_location1)); + }; +RDebugUtils.currentLine=72679465; + //BA.debugLineNum = 72679465;BA.debugLine="If B4XPages.MainPage.nuevoCliente.IsInitialized T"; +if (mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._nuevocliente /*gunav2.keymon.com.mx.c_nuevocliente*/ .IsInitialized /*boolean*/ ()) { +RDebugUtils.currentLine=72679466; + //BA.debugLineNum = 72679466;BA.debugLine="CallSub2(B4XPages.GetPage(\"nuevocliente\"), \"GPS_"; +anywheresoftware.b4a.keywords.Common.CallSubDebug2(processBA,mostCurrent._b4xpages._getpage /*Object*/ (processBA,"nuevocliente"),"GPS_LocationChanged",(Object)(_location1)); + }; +RDebugUtils.currentLine=72679469; + //BA.debugLineNum = 72679469;BA.debugLine="End Sub"; return ""; } public static String _revisaflp() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "revisaflp", false)) + {return ((String) Debug.delegate(processBA, "revisaflp", null));} boolean _todobienflp = false; - //BA.debugLineNum = 561;BA.debugLine="Sub revisaFLP 'ignore"; - //BA.debugLineNum = 562;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; -anywheresoftware.b4a.keywords.Common.LogImpl("492930049","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); - //BA.debugLineNum = 563;BA.debugLine="Private todoBienFLP As Boolean = True"; +RDebugUtils.currentLine=72941568; + //BA.debugLineNum = 72941568;BA.debugLine="Sub revisaFLP 'ignore"; +RDebugUtils.currentLine=72941569; + //BA.debugLineNum = 72941569;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; +anywheresoftware.b4a.keywords.Common.LogImpl("072941569","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); +RDebugUtils.currentLine=72941570; + //BA.debugLineNum = 72941570;BA.debugLine="Private todoBienFLP As Boolean = True"; _todobienflp = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 564;BA.debugLine="Try"; -try { //BA.debugLineNum = 565;BA.debugLine="If Not(FLP.IsInitialized) Then"; +RDebugUtils.currentLine=72941571; + //BA.debugLineNum = 72941571;BA.debugLine="Try"; +try {RDebugUtils.currentLine=72941572; + //BA.debugLineNum = 72941572;BA.debugLine="If Not(FLP.IsInitialized) Then"; if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsInitialized())) { - //BA.debugLineNum = 566;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta inicializado .."; +RDebugUtils.currentLine=72941573; + //BA.debugLineNum = 72941573;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta inicializado .."; mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); - //BA.debugLineNum = 567;BA.debugLine="FLP.Initialize(\"flp\")"; +RDebugUtils.currentLine=72941574; + //BA.debugLineNum = 72941574;BA.debugLine="FLP.Initialize(\"flp\")"; _flp.Initialize(processBA,"flp"); - //BA.debugLineNum = 568;BA.debugLine="todoBienFLP = False"; +RDebugUtils.currentLine=72941575; + //BA.debugLineNum = 72941575;BA.debugLine="todoBienFLP = False"; _todobienflp = anywheresoftware.b4a.keywords.Common.False; }; } catch (Exception e10) { - processBA.setLastException(e10); //BA.debugLineNum = 571;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) -->"; -anywheresoftware.b4a.keywords.Common.LogImpl("492930058","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + processBA.setLastException(e10);RDebugUtils.currentLine=72941578; + //BA.debugLineNum = 72941578;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) -->"; +anywheresoftware.b4a.keywords.Common.LogImpl("072941578","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; - //BA.debugLineNum = 573;BA.debugLine="Try"; -try { //BA.debugLineNum = 574;BA.debugLine="If FLP.IsInitialized Then"; +RDebugUtils.currentLine=72941580; + //BA.debugLineNum = 72941580;BA.debugLine="Try"; +try {RDebugUtils.currentLine=72941581; + //BA.debugLineNum = 72941581;BA.debugLine="If FLP.IsInitialized Then"; if (_flp.IsInitialized()) { - //BA.debugLineNum = 575;BA.debugLine="Try"; -try { //BA.debugLineNum = 576;BA.debugLine="If Not(FLP.IsConnected) Then"; +RDebugUtils.currentLine=72941582; + //BA.debugLineNum = 72941582;BA.debugLine="Try"; +try {RDebugUtils.currentLine=72941583; + //BA.debugLineNum = 72941583;BA.debugLine="If Not(FLP.IsConnected) Then"; if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsConnected())) { - //BA.debugLineNum = 577;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta conectado ..."; +RDebugUtils.currentLine=72941584; + //BA.debugLineNum = 72941584;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta conectado ..."; mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); - //BA.debugLineNum = 579;BA.debugLine="StartFLP"; +RDebugUtils.currentLine=72941586; + //BA.debugLineNum = 72941586;BA.debugLine="StartFLP"; _startflp(); - //BA.debugLineNum = 580;BA.debugLine="todoBienFLP = False"; +RDebugUtils.currentLine=72941587; + //BA.debugLineNum = 72941587;BA.debugLine="todoBienFLP = False"; _todobienflp = anywheresoftware.b4a.keywords.Common.False; }; } catch (Exception e21) { - processBA.setLastException(e21); //BA.debugLineNum = 583;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; -anywheresoftware.b4a.keywords.Common.LogImpl("492930070","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + processBA.setLastException(e21);RDebugUtils.currentLine=72941590; + //BA.debugLineNum = 72941590;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; +anywheresoftware.b4a.keywords.Common.LogImpl("072941590","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; - //BA.debugLineNum = 585;BA.debugLine="Try"; -try { //BA.debugLineNum = 586;BA.debugLine="If FLP.IsConnected And _ FLP.GetLastKnown"; +RDebugUtils.currentLine=72941592; + //BA.debugLineNum = 72941592;BA.debugLine="Try"; +try {RDebugUtils.currentLine=72941593; + //BA.debugLineNum = 72941593;BA.debugLine="If FLP.IsConnected And _ FLP.GetLastKnown"; if (_flp.IsConnected() && _flp.GetLastKnownLocation().IsInitialized() && _flp.GetLastKnownLocation().DistanceTo((android.location.Location)(_uugcoords.getObject()))>500) { - //BA.debugLineNum = 589;BA.debugLine="Subs.log2DB(\"revisaFLP: 'No se esta actualiza"; +RDebugUtils.currentLine=72941596; + //BA.debugLineNum = 72941596;BA.debugLine="Subs.log2DB(\"revisaFLP: 'No se esta actualiza"; mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); - //BA.debugLineNum = 590;BA.debugLine="StartService(Me)"; +RDebugUtils.currentLine=72941597; + //BA.debugLineNum = 72941597;BA.debugLine="StartService(Me)"; anywheresoftware.b4a.keywords.Common.StartService(processBA,tracker.getObject()); - //BA.debugLineNum = 591;BA.debugLine="todoBienFLP = False"; +RDebugUtils.currentLine=72941598; + //BA.debugLineNum = 72941598;BA.debugLine="todoBienFLP = False"; _todobienflp = anywheresoftware.b4a.keywords.Common.False; }; } catch (Exception e30) { - processBA.setLastException(e30); //BA.debugLineNum = 594;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; -anywheresoftware.b4a.keywords.Common.LogImpl("492930081","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + processBA.setLastException(e30);RDebugUtils.currentLine=72941601; + //BA.debugLineNum = 72941601;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; +anywheresoftware.b4a.keywords.Common.LogImpl("072941601","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; }; - //BA.debugLineNum = 597;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; +RDebugUtils.currentLine=72941604; + //BA.debugLineNum = 72941604;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; if (_todobienflp) { -anywheresoftware.b4a.keywords.Common.LogImpl("492930084"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; +anywheresoftware.b4a.keywords.Common.LogImpl("072941604"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; } catch (Exception e35) { - processBA.setLastException(e35); //BA.debugLineNum = 599;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; -anywheresoftware.b4a.keywords.Common.LogImpl("492930086","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + processBA.setLastException(e35);RDebugUtils.currentLine=72941606; + //BA.debugLineNum = 72941606;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; +anywheresoftware.b4a.keywords.Common.LogImpl("072941606","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); }; - //BA.debugLineNum = 602;BA.debugLine="End Sub"; -return ""; -} -public static String _revisauug() throws Exception{ -int _daa = 0; - //BA.debugLineNum = 606;BA.debugLine="Sub revisaUUG 'ignore"; - //BA.debugLineNum = 607;BA.debugLine="Try"; -try { //BA.debugLineNum = 609;BA.debugLine="If FLP.IsInitialized And FLP.IsConnected Then"; -if (_flp.IsInitialized() && _flp.IsConnected()) { - //BA.debugLineNum = 610;BA.debugLine="Try"; -try { //BA.debugLineNum = 611;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then"; -if (_flp.GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 613;BA.debugLine="Dim daa As Int = UUGCoords.DistanceTo(FLP.Get"; -_daa = (int) (_uugcoords.DistanceTo((android.location.Location)(_flp.GetLastKnownLocation().getObject()))); - //BA.debugLineNum = 614;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"$"; -if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("492995592",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; - //BA.debugLineNum = 615;BA.debugLine="If daa > 40 And FLP.GetLastKnownLocation.Accu"; -if (_daa>40 && _flp.GetLastKnownLocation().getAccuracy()<35) { - //BA.debugLineNum = 616;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))),(Object)(_flp.GetLastKnownLocation().getLatitude()),(Object)(_flp.GetLastKnownLocation().getLongitude())})); - //BA.debugLineNum = 617;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a"; -if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("492995595","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);}; - }; - //BA.debugLineNum = 619;BA.debugLine="UUGCoords = FLP.GetLastKnownLocation"; -_uugcoords = _flp.GetLastKnownLocation(); - }; - } - catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 622;BA.debugLine="LogColor(\"FLP.GetLastKnownLocation.IsInitializ"; -anywheresoftware.b4a.keywords.Common.LogImpl("492995600","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - }else { - //BA.debugLineNum = 625;BA.debugLine="Log(\"StartFLP\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("492995603","StartFLP",0); - //BA.debugLineNum = 626;BA.debugLine="StartFLP"; -_startflp(); - }; - } - catch (Exception e21) { - processBA.setLastException(e21); //BA.debugLineNum = 629;BA.debugLine="LogColor(\"If FLP.IsInitialized --> \"&LastExcepti"; -anywheresoftware.b4a.keywords.Common.LogImpl("492995607","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 631;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 346;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 347;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; -mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 349;BA.debugLine="FLP.Initialize(\"flp\")"; -_flp.Initialize(processBA,"flp"); - //BA.debugLineNum = 350;BA.debugLine="FLP.Connect"; -_flp.Connect(); - //BA.debugLineNum = 351;BA.debugLine="lock.PartialLock"; -_lock.PartialLock(processBA); - //BA.debugLineNum = 352;BA.debugLine="StartFLP"; -_startflp(); - //BA.debugLineNum = 353;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 542;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 543;BA.debugLine="If Tracking Then"; -if (_tracking) { - //BA.debugLineNum = 544;BA.debugLine="StopFLP"; -_stopflp(); - }; - //BA.debugLineNum = 546;BA.debugLine="Tracking = False"; -_tracking = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 547;BA.debugLine="lock.ReleasePartialLock"; -_lock.ReleasePartialLock(); - //BA.debugLineNum = 548;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 364;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 366;BA.debugLine="Service.StopAutomaticForeground"; -mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 367;BA.debugLine="Service.StartForeground(nid, CreateNotification(\""; -mostCurrent._service.StartForeground(_nid,(android.app.Notification)(_createnotification("...").getObject())); - //BA.debugLineNum = 368;BA.debugLine="Track"; -_track(); - //BA.debugLineNum = 369;BA.debugLine="StartServiceAt(Me, DateTime.Now + 5 * DateTime.Ti"; -anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+5*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 370;BA.debugLine="FLP.GetLastKnownLocation.Initialize"; -_flp.GetLastKnownLocation().Initialize(); - //BA.debugLineNum = 371;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72941609; + //BA.debugLineNum = 72941609;BA.debugLine="End Sub"; return ""; } public static void _startflp() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "startflp", false)) + {Debug.delegate(processBA, "startflp", null); return;} ResumableSub_StartFLP rsub = new ResumableSub_StartFLP(null); rsub.resume(processBA, null); } @@ -527,6 +562,7 @@ gunav2.keymon.com.mx.tracker parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="tracker"; while (true) { switch (state) { @@ -536,9 +572,11 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 390;BA.debugLine="Log(\"StartFLP - flpStarted=\"&flpStarted)"; -anywheresoftware.b4a.keywords.Common.LogImpl("492143617","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); - //BA.debugLineNum = 391;BA.debugLine="Do While FLP.IsConnected = False"; +RDebugUtils.currentLine=72155137; + //BA.debugLineNum = 72155137;BA.debugLine="Log(\"StartFLP - flpStarted=\"&flpStarted)"; +anywheresoftware.b4a.keywords.Common.LogImpl("072155137","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); +RDebugUtils.currentLine=72155138; + //BA.debugLineNum = 72155138;BA.debugLine="Do While FLP.IsConnected = False"; if (true) break; case 1: @@ -553,8 +591,9 @@ if (true) break; case 3: //C this.state = 1; - //BA.debugLineNum = 392;BA.debugLine="Sleep(500)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); +RDebugUtils.currentLine=72155139; + //BA.debugLineNum = 72155139;BA.debugLine="Sleep(500)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "tracker", "startflp"),(int) (500)); this.state = 5; return; case 5: @@ -567,18 +606,227 @@ case 4: //C this.state = -1; ; - //BA.debugLineNum = 397;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest)"; +RDebugUtils.currentLine=72155144; + //BA.debugLineNum = 72155144;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest)"; parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest().getObject())); - //BA.debugLineNum = 400;BA.debugLine="flpStarted = True"; +RDebugUtils.currentLine=72155147; + //BA.debugLineNum = 72155147;BA.debugLine="flpStarted = True"; parent._flpstarted = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 402;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72155149; + //BA.debugLineNum = 72155149;BA.debugLine="End Sub"; if (true) break; } } } } +public static String _revisauug() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "revisauug", false)) + {return ((String) Debug.delegate(processBA, "revisauug", null));} +int _daa = 0; +RDebugUtils.currentLine=73007104; + //BA.debugLineNum = 73007104;BA.debugLine="Sub revisaUUG 'ignore"; +RDebugUtils.currentLine=73007105; + //BA.debugLineNum = 73007105;BA.debugLine="Try"; +try {RDebugUtils.currentLine=73007107; + //BA.debugLineNum = 73007107;BA.debugLine="If FLP.IsInitialized And FLP.IsConnected Then"; +if (_flp.IsInitialized() && _flp.IsConnected()) { +RDebugUtils.currentLine=73007108; + //BA.debugLineNum = 73007108;BA.debugLine="Try"; +try {RDebugUtils.currentLine=73007109; + //BA.debugLineNum = 73007109;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then"; +if (_flp.GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=73007111; + //BA.debugLineNum = 73007111;BA.debugLine="Dim daa As Int = UUGCoords.DistanceTo(FLP.Get"; +_daa = (int) (_uugcoords.DistanceTo((android.location.Location)(_flp.GetLastKnownLocation().getObject()))); +RDebugUtils.currentLine=73007112; + //BA.debugLineNum = 73007112;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"$"; +if (mostCurrent._starter._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("073007112",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; +RDebugUtils.currentLine=73007113; + //BA.debugLineNum = 73007113;BA.debugLine="If daa > 40 And FLP.GetLastKnownLocation.Accu"; +if (_daa>40 && _flp.GetLastKnownLocation().getAccuracy()<35) { +RDebugUtils.currentLine=73007114; + //BA.debugLineNum = 73007114;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))),(Object)(_flp.GetLastKnownLocation().getLatitude()),(Object)(_flp.GetLastKnownLocation().getLongitude())})); +RDebugUtils.currentLine=73007115; + //BA.debugLineNum = 73007115;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a"; +if (mostCurrent._starter._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("073007115","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);}; + }; +RDebugUtils.currentLine=73007117; + //BA.debugLineNum = 73007117;BA.debugLine="UUGCoords = FLP.GetLastKnownLocation"; +_uugcoords = _flp.GetLastKnownLocation(); + }; + } + catch (Exception e14) { + processBA.setLastException(e14);RDebugUtils.currentLine=73007120; + //BA.debugLineNum = 73007120;BA.debugLine="LogColor(\"FLP.GetLastKnownLocation.IsInitializ"; +anywheresoftware.b4a.keywords.Common.LogImpl("073007120","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; + }else { +RDebugUtils.currentLine=73007123; + //BA.debugLineNum = 73007123;BA.debugLine="Log(\"StartFLP\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("073007123","StartFLP",0); +RDebugUtils.currentLine=73007124; + //BA.debugLineNum = 73007124;BA.debugLine="StartFLP"; +_startflp(); + }; + } + catch (Exception e21) { + processBA.setLastException(e21);RDebugUtils.currentLine=73007127; + //BA.debugLineNum = 73007127;BA.debugLine="LogColor(\"If FLP.IsInitialized --> \"&LastExcepti"; +anywheresoftware.b4a.keywords.Common.LogImpl("073007127","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=73007129; + //BA.debugLineNum = 73007129;BA.debugLine="End Sub"; +return ""; +} +public static String _service_create() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=71827456; + //BA.debugLineNum = 71827456;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=71827457; + //BA.debugLineNum = 71827457;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; +RDebugUtils.currentLine=71827459; + //BA.debugLineNum = 71827459;BA.debugLine="FLP.Initialize(\"flp\")"; +_flp.Initialize(processBA,"flp"); +RDebugUtils.currentLine=71827460; + //BA.debugLineNum = 71827460;BA.debugLine="FLP.Connect"; +_flp.Connect(); +RDebugUtils.currentLine=71827461; + //BA.debugLineNum = 71827461;BA.debugLine="lock.PartialLock"; +_lock.PartialLock(processBA); +RDebugUtils.currentLine=71827462; + //BA.debugLineNum = 71827462;BA.debugLine="StartFLP"; +_startflp(); +RDebugUtils.currentLine=71827463; + //BA.debugLineNum = 71827463;BA.debugLine="End Sub"; +return ""; +} +public static String _service_destroy() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=72810496; + //BA.debugLineNum = 72810496;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=72810497; + //BA.debugLineNum = 72810497;BA.debugLine="If Tracking Then"; +if (_tracking) { +RDebugUtils.currentLine=72810498; + //BA.debugLineNum = 72810498;BA.debugLine="StopFLP"; +_stopflp(); + }; +RDebugUtils.currentLine=72810500; + //BA.debugLineNum = 72810500;BA.debugLine="Tracking = False"; +_tracking = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=72810501; + //BA.debugLineNum = 72810501;BA.debugLine="lock.ReleasePartialLock"; +_lock.ReleasePartialLock(); +RDebugUtils.currentLine=72810502; + //BA.debugLineNum = 72810502;BA.debugLine="End Sub"; +return ""; +} +public static String _stopflp() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "stopflp", false)) + {return ((String) Debug.delegate(processBA, "stopflp", null));} +RDebugUtils.currentLine=72613888; + //BA.debugLineNum = 72613888;BA.debugLine="Public Sub StopFLP"; +RDebugUtils.currentLine=72613889; + //BA.debugLineNum = 72613889;BA.debugLine="Log(\"StopFLP\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("072613889","StopFLP",0); +RDebugUtils.currentLine=72613890; + //BA.debugLineNum = 72613890;BA.debugLine="If flpStarted Then"; +if (_flpstarted) { +RDebugUtils.currentLine=72613891; + //BA.debugLineNum = 72613891;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; +_flp.RemoveLocationUpdates(); +RDebugUtils.currentLine=72613892; + //BA.debugLineNum = 72613892;BA.debugLine="flpStarted = False"; +_flpstarted = anywheresoftware.b4a.keywords.Common.False; + }; +RDebugUtils.currentLine=72613894; + //BA.debugLineNum = 72613894;BA.debugLine="End Sub"; +return ""; +} +public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=72024064; + //BA.debugLineNum = 72024064;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=72024066; + //BA.debugLineNum = 72024066;BA.debugLine="Service.StopAutomaticForeground"; +mostCurrent._service.StopAutomaticForeground(); +RDebugUtils.currentLine=72024067; + //BA.debugLineNum = 72024067;BA.debugLine="Service.StartForeground(nid, CreateNotification(\""; +mostCurrent._service.StartForeground(_nid,(android.app.Notification)(_createnotification("...").getObject())); +RDebugUtils.currentLine=72024068; + //BA.debugLineNum = 72024068;BA.debugLine="Track"; +_track(); +RDebugUtils.currentLine=72024069; + //BA.debugLineNum = 72024069;BA.debugLine="StartServiceAt(Me, DateTime.Now + 5 * DateTime.Ti"; +anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+5*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=72024070; + //BA.debugLineNum = 72024070;BA.debugLine="FLP.GetLastKnownLocation.Initialize"; +_flp.GetLastKnownLocation().Initialize(); +RDebugUtils.currentLine=72024071; + //BA.debugLineNum = 72024071;BA.debugLine="End Sub"; +return ""; +} +public static String _track() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "track", false)) + {return ((String) Debug.delegate(processBA, "track", null));} +RDebugUtils.currentLine=72089600; + //BA.debugLineNum = 72089600;BA.debugLine="Public Sub Track"; +RDebugUtils.currentLine=72089601; + //BA.debugLineNum = 72089601;BA.debugLine="Log(\"Inicia Track - Tracking : \"&Tracking)"; +anywheresoftware.b4a.keywords.Common.LogImpl("072089601","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0); +RDebugUtils.currentLine=72089602; + //BA.debugLineNum = 72089602;BA.debugLine="If Not(FLP.IsInitialized) Then FLP.Initialize(\"fl"; +if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsInitialized())) { +_flp.Initialize(processBA,"flp");}; +RDebugUtils.currentLine=72089603; + //BA.debugLineNum = 72089603;BA.debugLine="If Not(FLP.IsConnected) Then FLP.Connect"; +if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsConnected())) { +_flp.Connect();}; +RDebugUtils.currentLine=72089604; + //BA.debugLineNum = 72089604;BA.debugLine="If Tracking And actualLR.IsInitialized Then"; +if (_tracking && _actuallr.IsInitialized()) { +RDebugUtils.currentLine=72089606; + //BA.debugLineNum = 72089606;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; +if (true) return ""; + }; +RDebugUtils.currentLine=72089608; + //BA.debugLineNum = 72089608;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; +if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=72089609; + //BA.debugLineNum = 72089609;BA.debugLine="Log(\"No permission\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("072089609","No permission",0); +RDebugUtils.currentLine=72089610; + //BA.debugLineNum = 72089610;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=72089612; + //BA.debugLineNum = 72089612;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; +_startflp(); +RDebugUtils.currentLine=72089613; + //BA.debugLineNum = 72089613;BA.debugLine="Tracking = True"; +_tracking = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=72089614; + //BA.debugLineNum = 72089614;BA.debugLine="End Sub"; +return ""; +} public static void _startflp2() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "startflp2", false)) + {Debug.delegate(processBA, "startflp2", null); return;} ResumableSub_StartFLP2 rsub = new ResumableSub_StartFLP2(null); rsub.resume(processBA, null); } @@ -591,6 +839,7 @@ boolean _logger = false; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="tracker"; while (true) { switch (state) { @@ -600,11 +849,14 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 405;BA.debugLine="Log(\"StartFLP2\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("492209153","StartFLP2",0); - //BA.debugLineNum = 406;BA.debugLine="Private logger As Boolean = True"; +RDebugUtils.currentLine=72220673; + //BA.debugLineNum = 72220673;BA.debugLine="Log(\"StartFLP2\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("072220673","StartFLP2",0); +RDebugUtils.currentLine=72220674; + //BA.debugLineNum = 72220674;BA.debugLine="Private logger As Boolean = True"; _logger = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 407;BA.debugLine="If logger Then Log(\"StartFLP2 - flpStarted=\"&flpS"; +RDebugUtils.currentLine=72220675; + //BA.debugLineNum = 72220675;BA.debugLine="If logger Then Log(\"StartFLP2 - flpStarted=\"&flpS"; if (true) break; case 1: @@ -617,14 +869,15 @@ this.state = 3; case 3: //C this.state = 6; -anywheresoftware.b4a.keywords.Common.LogImpl("492209155","StartFLP2 - flpStarted="+BA.ObjectToString(parent._flpstarted),0); +anywheresoftware.b4a.keywords.Common.LogImpl("072220675","StartFLP2 - flpStarted="+BA.ObjectToString(parent._flpstarted),0); if (true) break; case 6: //C this.state = 7; ; - //BA.debugLineNum = 408;BA.debugLine="Do While FLP.IsConnected = False"; +RDebugUtils.currentLine=72220676; + //BA.debugLineNum = 72220676;BA.debugLine="Do While FLP.IsConnected = False"; if (true) break; case 7: @@ -639,15 +892,17 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 409;BA.debugLine="Sleep(500)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); +RDebugUtils.currentLine=72220677; + //BA.debugLineNum = 72220677;BA.debugLine="Sleep(500)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "tracker", "startflp2"),(int) (500)); this.state = 23; return; case 23: //C this.state = 10; ; - //BA.debugLineNum = 410;BA.debugLine="If logger Then Log(\"kll - sleeping\")"; +RDebugUtils.currentLine=72220678; + //BA.debugLineNum = 72220678;BA.debugLine="If logger Then Log(\"kll - sleeping\")"; if (true) break; case 10: @@ -660,7 +915,7 @@ this.state = 12; case 12: //C this.state = 15; -anywheresoftware.b4a.keywords.Common.LogImpl("492209158","kll - sleeping",0); +anywheresoftware.b4a.keywords.Common.LogImpl("072220678","kll - sleeping",0); if (true) break; case 15: @@ -673,11 +928,14 @@ case 16: //C this.state = 17; ; - //BA.debugLineNum = 412;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +RDebugUtils.currentLine=72220680; + //BA.debugLineNum = 72220680;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; _dameultimaubicacionconocida(); - //BA.debugLineNum = 413;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; +RDebugUtils.currentLine=72220681; + //BA.debugLineNum = 72220681;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest2().getObject())); - //BA.debugLineNum = 414;BA.debugLine="If logger Then LogColor(\"Buscamos ubicacion (movi"; +RDebugUtils.currentLine=72220682; + //BA.debugLineNum = 72220682;BA.debugLine="If logger Then LogColor(\"Buscamos ubicacion (movi"; if (true) break; case 17: @@ -690,14 +948,15 @@ this.state = 19; case 19: //C this.state = 22; -anywheresoftware.b4a.keywords.Common.LogImpl("492209162","Buscamos ubicacion (movimientoMinimo = "+BA.NumberToString(parent._actuallr.GetSmallestDisplacement())+")",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("072220682","Buscamos ubicacion (movimientoMinimo = "+BA.NumberToString(parent._actuallr.GetSmallestDisplacement())+")",anywheresoftware.b4a.keywords.Common.Colors.Magenta); if (true) break; case 22: //C this.state = -1; ; - //BA.debugLineNum = 416;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72220684; + //BA.debugLineNum = 72220684;BA.debugLine="End Sub"; if (true) break; } @@ -705,6 +964,9 @@ if (true) break; } } public static void _startflpsmall() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "startflpsmall", false)) + {Debug.delegate(processBA, "startflpsmall", null); return;} ResumableSub_StartFLPSmall rsub = new ResumableSub_StartFLPSmall(null); rsub.resume(processBA, null); } @@ -716,6 +978,7 @@ gunav2.keymon.com.mx.tracker parent; @Override public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="tracker"; while (true) { switch (state) { @@ -725,9 +988,11 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 419;BA.debugLine="Log(\"StartFLPSmall - flpStarted=\"&flpStarted)"; -anywheresoftware.b4a.keywords.Common.LogImpl("492274689","StartFLPSmall - flpStarted="+BA.ObjectToString(parent._flpstarted),0); - //BA.debugLineNum = 420;BA.debugLine="Do While FLP.IsConnected = False"; +RDebugUtils.currentLine=72286209; + //BA.debugLineNum = 72286209;BA.debugLine="Log(\"StartFLPSmall - flpStarted=\"&flpStarted)"; +anywheresoftware.b4a.keywords.Common.LogImpl("072286209","StartFLPSmall - flpStarted="+BA.ObjectToString(parent._flpstarted),0); +RDebugUtils.currentLine=72286210; + //BA.debugLineNum = 72286210;BA.debugLine="Do While FLP.IsConnected = False"; if (true) break; case 1: @@ -742,74 +1007,36 @@ if (true) break; case 3: //C this.state = 1; - //BA.debugLineNum = 421;BA.debugLine="Sleep(500)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); +RDebugUtils.currentLine=72286211; + //BA.debugLineNum = 72286211;BA.debugLine="Sleep(500)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "tracker", "startflpsmall"),(int) (500)); this.state = 5; return; case 5: //C this.state = 1; ; - //BA.debugLineNum = 422;BA.debugLine="Log(\"sleeping\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("492274692","sleeping",0); +RDebugUtils.currentLine=72286212; + //BA.debugLineNum = 72286212;BA.debugLine="Log(\"sleeping\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("072286212","sleeping",0); if (true) break; case 4: //C this.state = -1; ; - //BA.debugLineNum = 424;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +RDebugUtils.currentLine=72286214; + //BA.debugLineNum = 72286214;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; _dameultimaubicacionconocida(); - //BA.debugLineNum = 425;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequestS"; +RDebugUtils.currentLine=72286215; + //BA.debugLineNum = 72286215;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequestS"; parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequestsmalld().getObject())); - //BA.debugLineNum = 428;BA.debugLine="End Sub"; +RDebugUtils.currentLine=72286218; + //BA.debugLineNum = 72286218;BA.debugLine="End Sub"; if (true) break; } } } } -public static String _stopflp() throws Exception{ - //BA.debugLineNum = 479;BA.debugLine="Public Sub StopFLP"; - //BA.debugLineNum = 480;BA.debugLine="Log(\"StopFLP\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("492602369","StopFLP",0); - //BA.debugLineNum = 481;BA.debugLine="If flpStarted Then"; -if (_flpstarted) { - //BA.debugLineNum = 482;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; -_flp.RemoveLocationUpdates(); - //BA.debugLineNum = 483;BA.debugLine="flpStarted = False"; -_flpstarted = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 485;BA.debugLine="End Sub"; -return ""; -} -public static String _track() throws Exception{ - //BA.debugLineNum = 373;BA.debugLine="Public Sub Track"; - //BA.debugLineNum = 374;BA.debugLine="Log(\"Inicia Track - Tracking : \"&Tracking)"; -anywheresoftware.b4a.keywords.Common.LogImpl("492078081","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0); - //BA.debugLineNum = 375;BA.debugLine="If Not(FLP.IsInitialized) Then FLP.Initialize(\"fl"; -if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsInitialized())) { -_flp.Initialize(processBA,"flp");}; - //BA.debugLineNum = 376;BA.debugLine="If Not(FLP.IsConnected) Then FLP.Connect"; -if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsConnected())) { -_flp.Connect();}; - //BA.debugLineNum = 377;BA.debugLine="If Tracking And actualLR.IsInitialized Then"; -if (_tracking && _actuallr.IsInitialized()) { - //BA.debugLineNum = 379;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; -if (true) return ""; - }; - //BA.debugLineNum = 381;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; -if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 382;BA.debugLine="Log(\"No permission\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("492078089","No permission",0); - //BA.debugLineNum = 383;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 385;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; -_startflp(); - //BA.debugLineNum = 386;BA.debugLine="Tracking = True"; -_tracking = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 387;BA.debugLine="End Sub"; -return ""; -} -} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/v_tclientes.java b/B4A/Objects/src/gunav2/keymon/com/mx/v_tclientes.java new file mode 100644 index 0000000..80dc7d1 --- /dev/null +++ b/B4A/Objects/src/gunav2/keymon/com/mx/v_tclientes.java @@ -0,0 +1,181 @@ +package gunav2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class v_tclientes extends B4AClass.ImplB4AClass implements BA.SubDelegator{ + private static java.util.HashMap htSubs; + private void innerInitialize(BA _ba) throws Exception { + if (ba == null) { + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "gunav2.keymon.com.mx.v_tclientes"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", gunav2.keymon.com.mx.v_tclientes.class).invoke(this, new Object[] {null}); + else + ba.raiseEvent2(null, true, "class_globals", false); + } + + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_cuenta = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_nombre = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_calle = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_col = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_entre1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_entre2 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_atiende = null; +public anywheresoftware.b4a.objects.LabelWrapper _label19 = null; +public b4a.example.dateutils _dateutils = null; +public gunav2.keymon.com.mx.main _main = null; +public gunav2.keymon.com.mx.starter _starter = null; +public gunav2.keymon.com.mx.subs _subs = null; +public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; +public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; +public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public gunav2.keymon.com.mx.newinst2 _newinst2 = null; +public gunav2.keymon.com.mx.b4xpages _b4xpages = null; +public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; +public gunav2.keymon.com.mx.httputils2service _httputils2service = null; +public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(gunav2.keymon.com.mx.v_tclientes __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="v_tclientes"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=73138176; + //BA.debugLineNum = 73138176;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=73138177; + //BA.debugLineNum = 73138177;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=73138178; + //BA.debugLineNum = 73138178;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_appear(gunav2.keymon.com.mx.v_tclientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="v_tclientes"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=73269248; + //BA.debugLineNum = 73269248;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=73269249; + //BA.debugLineNum = 73269249;BA.debugLine="Log(\"Entramos\")"; +__c.LogImpl("073269249","Entramos",0); +RDebugUtils.currentLine=73269250; + //BA.debugLineNum = 73269250;BA.debugLine="Dim c As Cursor = Starter.skmt.ExecQuery ($\"selec"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=73269251; + //BA.debugLineNum = 73269251;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=73269252; + //BA.debugLineNum = 73269252;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=73269253; + //BA.debugLineNum = 73269253;BA.debugLine="Log(c.GetString(\"CAT_CL_NOMBRE\"))"; +__c.LogImpl("073269253",_c.GetString("CAT_CL_NOMBRE"),0); +RDebugUtils.currentLine=73269254; + //BA.debugLineNum = 73269254;BA.debugLine="la_cuenta.Text=c.GetString(\"CAT_CL_CODIGO\")"; +__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); +RDebugUtils.currentLine=73269255; + //BA.debugLineNum = 73269255;BA.debugLine="La_nombre.Text=c.GetString(\"CAT_CL_NOMBRE\")"; +__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); +RDebugUtils.currentLine=73269256; + //BA.debugLineNum = 73269256;BA.debugLine="la_Calle.Text=c.GetString(\"CAT_CL_CALLE\")"; +__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE"))); +RDebugUtils.currentLine=73269257; + //BA.debugLineNum = 73269257;BA.debugLine="la_col.Text=c.GetString(\"CAT_CL_COLONIA\")"; +__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); +RDebugUtils.currentLine=73269258; + //BA.debugLineNum = 73269258;BA.debugLine="l_entre1.Text=c.GetString(\"CAT_CL_CALLE1\")"; +__ref._l_entre1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); +RDebugUtils.currentLine=73269259; + //BA.debugLineNum = 73269259;BA.debugLine="l_entre2.Text=c.GetString(\"CAT_CL_CALLE2\")"; +__ref._l_entre2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); +RDebugUtils.currentLine=73269260; + //BA.debugLineNum = 73269260;BA.debugLine="l_atiende.Text=c.GetString(\"CAT_CL_ATIENDE1\")"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); +RDebugUtils.currentLine=73269261; + //BA.debugLineNum = 73269261;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +__ref._label19 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO"))); + }; +RDebugUtils.currentLine=73269263; + //BA.debugLineNum = 73269263;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(gunav2.keymon.com.mx.v_tclientes __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="v_tclientes"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=73203712; + //BA.debugLineNum = 73203712;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=73203713; + //BA.debugLineNum = 73203713;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=73203715; + //BA.debugLineNum = 73203715;BA.debugLine="Root.LoadLayout(\"Vista_todoslosclientes\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("Vista_todoslosclientes",ba); +RDebugUtils.currentLine=73203716; + //BA.debugLineNum = 73203716;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(gunav2.keymon.com.mx.v_tclientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="v_tclientes"; +RDebugUtils.currentLine=73072640; + //BA.debugLineNum = 73072640;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=73072641; + //BA.debugLineNum = 73072641;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=73072642; + //BA.debugLineNum = 73072642;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=73072644; + //BA.debugLineNum = 73072644;BA.debugLine="Private la_cuenta As Label"; +_la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73072645; + //BA.debugLineNum = 73072645;BA.debugLine="Private La_nombre As Label"; +_la_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73072646; + //BA.debugLineNum = 73072646;BA.debugLine="Private la_Calle As Label"; +_la_calle = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73072647; + //BA.debugLineNum = 73072647;BA.debugLine="Private la_col As Label"; +_la_col = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73072648; + //BA.debugLineNum = 73072648;BA.debugLine="Private l_entre1 As Label"; +_l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73072649; + //BA.debugLineNum = 73072649;BA.debugLine="Private l_entre2 As Label"; +_l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73072650; + //BA.debugLineNum = 73072650;BA.debugLine="Private l_atiende As Label"; +_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73072651; + //BA.debugLineNum = 73072651;BA.debugLine="Private Label19 As Label"; +_label19 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=73072652; + //BA.debugLineNum = 73072652;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/xuiviewsutils.java b/B4A/Objects/src/gunav2/keymon/com/mx/xuiviewsutils.java index ceeb9a3..ef152ae 100644 --- a/B4A/Objects/src/gunav2/keymon/com/mx/xuiviewsutils.java +++ b/B4A/Objects/src/gunav2/keymon/com/mx/xuiviewsutils.java @@ -10,7 +10,8 @@ private static xuiviewsutils mostCurrent = new xuiviewsutils(); public static Object getObject() { throw new RuntimeException("Code module does not support this method."); } - public anywheresoftware.b4a.keywords.Common __c = null; + +public anywheresoftware.b4a.keywords.Common __c = null; public static boolean _utilsinitialized = false; public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; @@ -18,141 +19,203 @@ public gunav2.keymon.com.mx.main _main = null; public gunav2.keymon.com.mx.starter _starter = null; public gunav2.keymon.com.mx.subs _subs = null; public gunav2.keymon.com.mx.appupdater _appupdater = null; +public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null; public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public gunav2.keymon.com.mx.tracker _tracker = null; public gunav2.keymon.com.mx.newinst2 _newinst2 = null; public gunav2.keymon.com.mx.b4xpages _b4xpages = null; public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null; public gunav2.keymon.com.mx.httputils2service _httputils2service = null; -public static String _addstubtoclvifneeded(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _customlistview1,int _color) throws Exception{ -b4a.example3.customlistview._clvitem _lastitem = null; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -int _height = 0; - //BA.debugLineNum = 34;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; - //BA.debugLineNum = 35;BA.debugLine="If CustomListView1.Size = 0 Then Return"; -if (_customlistview1._getsize()==0) { -if (true) return "";}; - //BA.debugLineNum = 36;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; -_lastitem = _customlistview1._getrawlistitem((int) (_customlistview1._getsize()-1)); - //BA.debugLineNum = 37;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; -if (_lastitem.Offset+_lastitem.Panel.getHeight()<_customlistview1._asview().getHeight()) { - //BA.debugLineNum = 39;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),"stub"); - //BA.debugLineNum = 40;BA.debugLine="p.Color = Color"; -_p.setColor(_color); - //BA.debugLineNum = 41;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh"; -_height = (int) (_customlistview1._asview().getHeight()-_lastitem.Offset-_lastitem.Panel.getHeight()-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (3))); - //BA.debugLineNum = 42;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; -if (_xui.getIsB4J()) { -_height = (int) (_height+5);}; - //BA.debugLineNum = 43;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_customlistview1._asview().getWidth(),_height); - //BA.debugLineNum = 44;BA.debugLine="CustomListView1.Add(p, \"\")"; -_customlistview1._add(_p,(Object)("")); - //BA.debugLineNum = 45;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; -_customlistview1._sv.setScrollViewContentHeight((int) (_customlistview1._sv.getScrollViewContentHeight()-_customlistview1._getdividersize())); - }; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return ""; -} -public static gunav2.keymon.com.mx.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{ -gunav2.keymon.com.mx.b4ximageview _iv = null; -anywheresoftware.b4a.objects.B4XViewWrapper _base = null; - //BA.debugLineNum = 85;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; - //BA.debugLineNum = 86;BA.debugLine="Dim iv As B4XImageView"; -_iv = new gunav2.keymon.com.mx.b4ximageview(); - //BA.debugLineNum = 87;BA.debugLine="iv.Initialize(Null, \"\")"; -_iv._initialize /*String*/ (_ba,anywheresoftware.b4a.keywords.Common.Null,""); - //BA.debugLineNum = 88;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; -_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_base = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),""); - //BA.debugLineNum = 89;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)"; -_base.SetLayoutAnimated((int) (0),(int) (0),(int) (0),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100))); - //BA.debugLineNum = 90;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun"; -_iv._designercreateview /*String*/ ((Object)(_base.getObject()),(anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Null)),anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("Round"),(Object)(anywheresoftware.b4a.keywords.Common.False),(Object)("ResizeMode"),(Object)("FIT"),(Object)("BackgroundColor"),(Object)(((int)0xffaaaaaa)),(Object)("CornersRadius"),(Object)(0)})); - //BA.debugLineNum = 91;BA.debugLine="Return iv"; -if (true) return _iv; - //BA.debugLineNum = 92;BA.debugLine="End Sub"; -return null; -} -public static anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; - //BA.debugLineNum = 78;BA.debugLine="Public Sub CreateLabel As B4XView"; - //BA.debugLineNum = 79;BA.debugLine="Dim lbl As Label"; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 80;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(_ba,""); - //BA.debugLineNum = 81;BA.debugLine="Return lbl"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; -return null; -} -public static String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 10;BA.debugLine="Private Sub Initialize"; - //BA.debugLineNum = 11;BA.debugLine="If UtilsInitialized Then Return"; -if (_utilsinitialized) { -if (true) return "";}; - //BA.debugLineNum = 12;BA.debugLine="UtilsInitialized = True"; -_utilsinitialized = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 19;BA.debugLine="End Sub"; -return ""; -} public static String _performhapticfeedback(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "performhapticfeedback", true)) + {return ((String) Debug.delegate(null, "performhapticfeedback", new Object[] {_ba,_view}));} anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 21;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; - //BA.debugLineNum = 22;BA.debugLine="Initialize"; +RDebugUtils.currentLine=42336256; + //BA.debugLineNum = 42336256;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; +RDebugUtils.currentLine=42336257; + //BA.debugLineNum = 42336257;BA.debugLine="Initialize"; _initialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Dim jo As JavaObject = View"; +RDebugUtils.currentLine=42336259; + //BA.debugLineNum = 42336259;BA.debugLine="Dim jo As JavaObject = View"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject())); - //BA.debugLineNum = 25;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; +RDebugUtils.currentLine=42336260; + //BA.debugLineNum = 42336260;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; _jo.RunMethod("performHapticFeedback",new Object[]{(Object)(1)}); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private UtilsInitialized As Boolean"; -_utilsinitialized = false; - //BA.debugLineNum = 7;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public static String _setalpha(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view,float _level) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -float _alpha = 0f; - //BA.debugLineNum = 95;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; - //BA.debugLineNum = 97;BA.debugLine="Dim jo As JavaObject = View"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject())); - //BA.debugLineNum = 98;BA.debugLine="Dim alpha As Float = Level"; -_alpha = _level; - //BA.debugLineNum = 99;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; -_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)}); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public static String _setbitmapandfill(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _imageview,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 65;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; - //BA.debugLineNum = 66;BA.debugLine="ImageView.SetBitmap(Bmp)"; -_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); - //BA.debugLineNum = 67;BA.debugLine="Dim iiv As ImageView = ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); -_iiv = (anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_imageview.getObject())); - //BA.debugLineNum = 69;BA.debugLine="iiv.Gravity = Gravity.FILL"; -_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; +RDebugUtils.currentLine=42336266; + //BA.debugLineNum = 42336266;BA.debugLine="End Sub"; return ""; } public static String _settextorcsbuildertolabel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; - //BA.debugLineNum = 52;BA.debugLine="xlbl.Text = Text"; +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "settextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(null, "settextorcsbuildertolabel", new Object[] {_ba,_xlbl,_text}));} +RDebugUtils.currentLine=42467328; + //BA.debugLineNum = 42467328;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; +RDebugUtils.currentLine=42467330; + //BA.debugLineNum = 42467330;BA.debugLine="xlbl.Text = Text"; _xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 62;BA.debugLine="End Sub"; +RDebugUtils.currentLine=42467340; + //BA.debugLineNum = 42467340;BA.debugLine="End Sub"; return ""; } +public static String _addstubtoclvifneeded(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _customlistview1,int _color) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "addstubtoclvifneeded", true)) + {return ((String) Debug.delegate(null, "addstubtoclvifneeded", new Object[] {_ba,_customlistview1,_color}));} +b4a.example3.customlistview._clvitem _lastitem = null; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +int _height = 0; +RDebugUtils.currentLine=42401792; + //BA.debugLineNum = 42401792;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; +RDebugUtils.currentLine=42401793; + //BA.debugLineNum = 42401793;BA.debugLine="If CustomListView1.Size = 0 Then Return"; +if (_customlistview1._getsize()==0) { +if (true) return "";}; +RDebugUtils.currentLine=42401794; + //BA.debugLineNum = 42401794;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; +_lastitem = _customlistview1._getrawlistitem((int) (_customlistview1._getsize()-1)); +RDebugUtils.currentLine=42401795; + //BA.debugLineNum = 42401795;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; +if (_lastitem.Offset+_lastitem.Panel.getHeight()<_customlistview1._asview().getHeight()) { +RDebugUtils.currentLine=42401797; + //BA.debugLineNum = 42401797;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),"stub"); +RDebugUtils.currentLine=42401798; + //BA.debugLineNum = 42401798;BA.debugLine="p.Color = Color"; +_p.setColor(_color); +RDebugUtils.currentLine=42401799; + //BA.debugLineNum = 42401799;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh"; +_height = (int) (_customlistview1._asview().getHeight()-_lastitem.Offset-_lastitem.Panel.getHeight()-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (3))); +RDebugUtils.currentLine=42401800; + //BA.debugLineNum = 42401800;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; +if (_xui.getIsB4J()) { +_height = (int) (_height+5);}; +RDebugUtils.currentLine=42401801; + //BA.debugLineNum = 42401801;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_customlistview1._asview().getWidth(),_height); +RDebugUtils.currentLine=42401802; + //BA.debugLineNum = 42401802;BA.debugLine="CustomListView1.Add(p, \"\")"; +_customlistview1._add(_p,(Object)("")); +RDebugUtils.currentLine=42401803; + //BA.debugLineNum = 42401803;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; +_customlistview1._sv.setScrollViewContentHeight((int) (_customlistview1._sv.getScrollViewContentHeight()-_customlistview1._getdividersize())); + }; +RDebugUtils.currentLine=42401805; + //BA.debugLineNum = 42401805;BA.debugLine="End Sub"; +return ""; } +public static String _setbitmapandfill(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _imageview,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "setbitmapandfill", true)) + {return ((String) Debug.delegate(null, "setbitmapandfill", new Object[] {_ba,_imageview,_bmp}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; +RDebugUtils.currentLine=42532864; + //BA.debugLineNum = 42532864;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; +RDebugUtils.currentLine=42532865; + //BA.debugLineNum = 42532865;BA.debugLine="ImageView.SetBitmap(Bmp)"; +_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); +RDebugUtils.currentLine=42532866; + //BA.debugLineNum = 42532866;BA.debugLine="Dim iiv As ImageView = ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +_iiv = (anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_imageview.getObject())); +RDebugUtils.currentLine=42532868; + //BA.debugLineNum = 42532868;BA.debugLine="iiv.Gravity = Gravity.FILL"; +_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL); +RDebugUtils.currentLine=42532874; + //BA.debugLineNum = 42532874;BA.debugLine="End Sub"; +return ""; +} +public static String _setalpha(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view,float _level) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "setalpha", true)) + {return ((String) Debug.delegate(null, "setalpha", new Object[] {_ba,_view,_level}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +float _alpha = 0f; +RDebugUtils.currentLine=42729472; + //BA.debugLineNum = 42729472;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; +RDebugUtils.currentLine=42729474; + //BA.debugLineNum = 42729474;BA.debugLine="Dim jo As JavaObject = View"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject())); +RDebugUtils.currentLine=42729475; + //BA.debugLineNum = 42729475;BA.debugLine="Dim alpha As Float = Level"; +_alpha = _level; +RDebugUtils.currentLine=42729476; + //BA.debugLineNum = 42729476;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; +_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)}); +RDebugUtils.currentLine=42729484; + //BA.debugLineNum = 42729484;BA.debugLine="End Sub"; +return ""; +} +public static gunav2.keymon.com.mx.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "createb4ximageview", true)) + {return ((gunav2.keymon.com.mx.b4ximageview) Debug.delegate(null, "createb4ximageview", new Object[] {_ba}));} +gunav2.keymon.com.mx.b4ximageview _iv = null; +anywheresoftware.b4a.objects.B4XViewWrapper _base = null; +RDebugUtils.currentLine=42663936; + //BA.debugLineNum = 42663936;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; +RDebugUtils.currentLine=42663937; + //BA.debugLineNum = 42663937;BA.debugLine="Dim iv As B4XImageView"; +_iv = new gunav2.keymon.com.mx.b4ximageview(); +RDebugUtils.currentLine=42663938; + //BA.debugLineNum = 42663938;BA.debugLine="iv.Initialize(Null, \"\")"; +_iv._initialize /*String*/ (null,_ba,anywheresoftware.b4a.keywords.Common.Null,""); +RDebugUtils.currentLine=42663939; + //BA.debugLineNum = 42663939;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; +_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_base = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),""); +RDebugUtils.currentLine=42663940; + //BA.debugLineNum = 42663940;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)"; +_base.SetLayoutAnimated((int) (0),(int) (0),(int) (0),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100))); +RDebugUtils.currentLine=42663941; + //BA.debugLineNum = 42663941;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun"; +_iv._designercreateview /*String*/ (null,(Object)(_base.getObject()),(anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Null)),anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("Round"),(Object)(anywheresoftware.b4a.keywords.Common.False),(Object)("ResizeMode"),(Object)("FIT"),(Object)("BackgroundColor"),(Object)(((int)0xffaaaaaa)),(Object)("CornersRadius"),(Object)(0)})); +RDebugUtils.currentLine=42663942; + //BA.debugLineNum = 42663942;BA.debugLine="Return iv"; +if (true) return _iv; +RDebugUtils.currentLine=42663943; + //BA.debugLineNum = 42663943;BA.debugLine="End Sub"; +return null; +} +public static anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "createlabel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(null, "createlabel", new Object[] {_ba}));} +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +RDebugUtils.currentLine=42598400; + //BA.debugLineNum = 42598400;BA.debugLine="Public Sub CreateLabel As B4XView"; +RDebugUtils.currentLine=42598401; + //BA.debugLineNum = 42598401;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=42598402; + //BA.debugLineNum = 42598402;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(_ba,""); +RDebugUtils.currentLine=42598403; + //BA.debugLineNum = 42598403;BA.debugLine="Return lbl"; +if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); +RDebugUtils.currentLine=42598404; + //BA.debugLineNum = 42598404;BA.debugLine="End Sub"; +return null; +} +public static String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "initialize", true)) + {return ((String) Debug.delegate(null, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=42270720; + //BA.debugLineNum = 42270720;BA.debugLine="Private Sub Initialize"; +RDebugUtils.currentLine=42270721; + //BA.debugLineNum = 42270721;BA.debugLine="If UtilsInitialized Then Return"; +if (_utilsinitialized) { +if (true) return "";}; +RDebugUtils.currentLine=42270722; + //BA.debugLineNum = 42270722;BA.debugLine="UtilsInitialized = True"; +_utilsinitialized = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=42270729; + //BA.debugLineNum = 42270729;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/V_Tclientes.bas b/B4A/V_Tclientes.bas new file mode 100644 index 0000000..06135dc --- /dev/null +++ b/B4A/V_Tclientes.bas @@ -0,0 +1,51 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.8 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + + Private la_cuenta As Label + Private La_nombre As Label + Private la_Calle As Label + Private la_col As Label + Private l_entre1 As Label + Private l_entre2 As Label + Private l_atiende As Label + Private Label19 As Label +End Sub + +'You can add more parameters here. +Public Sub Initialize As Object + Return Me +End Sub + +'This event will be called once, before the page becomes visible. +Private Sub B4XPage_Created (Root1 As B4XView) + Root = Root1 + 'load the layout to Root + Root.LoadLayout("Vista_todoslosclientes") +End Sub + +Sub B4XPage_Appear + Log("Entramos") + Dim c As Cursor = Starter.skmt.ExecQuery ($"select * from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO in (Select CUENTA from cuentaa)"$) + If c.RowCount > 0 Then + c.Position=0 + Log(c.GetString("CAT_CL_NOMBRE")) + la_cuenta.Text=c.GetString("CAT_CL_CODIGO") + La_nombre.Text=c.GetString("CAT_CL_NOMBRE") + la_Calle.Text=c.GetString("CAT_CL_CALLE") + la_col.Text=c.GetString("CAT_CL_COLONIA") + l_entre1.Text=c.GetString("CAT_CL_CALLE1") + l_entre2.Text=c.GetString("CAT_CL_CALLE2") + l_atiende.Text=c.GetString("CAT_CL_ATIENDE1") + Label19.Text = c.GetString("CAT_CL_TELEFONO") + End If +End Sub + + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. \ No newline at end of file